Headphone noise reduction method, device, electronic device and readable storage medium

By acquiring noise signals and gas flow pressure to detect wind noise signals and generate adaptive cancellation signals, the problem of poor noise reduction effect of headphones in outdoor or sports scenes is solved, and better noise reduction effect is achieved.

CN115914925BActive Publication Date: 2025-09-19GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211493536.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-25
Publication Date
2025-09-19
Estimated Expiration
2042-11-25

AI Technical Summary

Technical Problem

Existing headphones cannot generate sound signals to offset the wind noise in time in outdoor or sports scenes due to the large randomness of the amplitude and phase of wind noise, resulting in poor noise reduction effect.

Method used

By acquiring the noise signal and gas flow pressure collected by the feedforward acquisition device, it is detected whether there is a wind noise signal in the noise signal, and a corresponding feedforward inverse noise signal is generated according to the gas flow pressure to perform headphone noise reduction, including wind noise ratio assessment and noise level assessment, so as to flexibly generate a cancellation signal.

Benefits of technology

It improves the noise reduction effect of headphones in outdoor or sports scenes, avoids the superposition of wind noise, and enhances the noise reduction ability of headphones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914925B_ABST
    Figure CN115914925B_ABST
Patent Text Reader

Abstract

This application discloses a headphone noise reduction method, device, electronic device, and readable storage medium, which are applied to the field of noise reduction technology. The headphone noise reduction method includes: obtaining a noise signal and gas flow pressure collected by a feedforward acquisition device; detecting whether a wind noise signal is present in the noise signal based on the gas flow pressure; and if a wind noise signal is present in the noise signal, performing headphone noise reduction based on the gas flow pressure and the noise signal. This application solves the technical problem of poor noise reduction performance in headphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of noise reduction technology, and in particular to a headphone noise reduction method, device, electronic device, and readable storage medium. Background Art

[0002] With the rapid development of science and technology, headphone noise reduction technology has become more and more mature. At present, the active noise reduction of headphones basically includes feedforward noise reduction. The principle of feedforward noise reduction is to output a sound signal with the same amplitude but opposite phase as the ambient noise through the headphones to offset the ambient noise, thereby achieving noise reduction.

[0003] In real-world scenarios, especially outdoor or sports scenarios, most ambient noise is wind noise, which has high randomness in amplitude and phase. It is usually impossible to generate a sound signal in time to offset the wind noise, causing wind noise to be superimposed on the headphones, resulting in poor noise reduction effect of the headphones. Summary of the Invention

[0004] The main purpose of this application is to provide a headphone noise reduction method, device, electronic device and readable storage medium, aiming to solve the technical problem of poor headphone noise reduction effect in the prior art.

[0005] To achieve the above objectives, the present application provides a headphone noise reduction method, which is applied to a headphone noise reduction device. The headphone noise reduction method includes:

[0006] Acquiring a noise signal and a gas flow pressure collected by a feedforward collection device;

[0007] detecting whether there is a wind noise signal in the noise signal according to the gas flow pressure;

[0008] If the wind noise signal exists in the noise signal, headphone noise reduction is performed according to the gas flow pressure and the noise signal.

[0009] Optionally, the step of performing headphone noise reduction according to the gas flow pressure and the noise signal includes:

[0010] Determine a proportion of wind noise in the wind noise signal;

[0011] If the wind noise ratio is greater than a preset first ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure;

[0012] If the wind noise ratio is less than a preset second ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold;

[0013] Headphone noise reduction is performed according to the feedforward anti-phase noise signal.

[0014] Optionally, the step of generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure includes:

[0015] Evaluate the wind noise level of the area where the earphone is located according to the gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located;

[0016] A feedforward inverted noise signal corresponding to the noise signal is generated according to the wind noise level.

[0017] Optionally, the step of evaluating the noise level of wind noise in the area where the earphone is located based on the gas flow pressure to obtain the wind noise level corresponding to the area where the earphone is located includes:

[0018] Obtaining a static gas flow pressure, wherein the static gas flow pressure is a gas flow pressure corresponding to a static atmospheric environment in an area where the earphone is located;

[0019] A noise level evaluation is performed on the wind noise in the area where the earphone is located according to the gas flow pressure and the static gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located.

[0020] Optionally, the step of obtaining the static gas flow pressure includes:

[0021] Collecting the humidity, temperature, and geographic location of the area where the headset is located;

[0022] According to the humidity, the temperature, and the geographical location, a gas flow pressure corresponding to when the area where the earphone is located is in a static atmospheric environment is generated to obtain the static gas flow pressure.

[0023] Optionally, the step of generating a feedforward inverted noise signal corresponding to the noise signal according to the wind noise level includes:

[0024] Selecting a feedforward control function that matches the wind noise level;

[0025] A feedforward anti-phase noise signal corresponding to the noise signal is generated according to the feedforward control function.

[0026] Optionally, the headphone noise reduction method further includes:

[0027] If the wind noise ratio is less than or equal to the preset first ratio threshold and greater than or equal to the preset second ratio threshold, filtering the noise signal to obtain a wind noise signal and a steady-state noise signal;

[0028] generating a feedforward inverse wind noise signal corresponding to the wind noise signal and a feedforward inverse steady-state signal corresponding to the steady-state noise signal according to the gas flow pressure;

[0029] Headphone noise reduction is performed according to the feedforward inverse wind noise signal and the feedforward inverse steady-state signal.

[0030] To achieve the above-mentioned purpose, the present application further provides an earphone noise reduction device, which is applied to an earphone noise reduction device, and comprises:

[0031] An acquisition module, configured to acquire the noise signal and gas flow pressure acquired by the feedforward acquisition device;

[0032] a detection module, configured to detect whether a wind noise signal exists in the noise signal according to the gas flow pressure;

[0033] The noise reduction module is configured to perform headphone noise reduction according to the gas flow pressure and the noise signal if the wind noise signal exists in the noise signal.

[0034] Optionally, the noise reduction module is further configured to:

[0035] Determine a proportion of wind noise in the wind noise signal;

[0036] If the wind noise ratio is greater than a preset first ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure;

[0037] If the wind noise ratio is less than a preset second ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold;

[0038] Headphone noise reduction is performed according to the feedforward anti-phase noise signal.

[0039] Optionally, the noise reduction module is further configured to:

[0040] Evaluate the wind noise level of the area where the earphone is located according to the gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located;

[0041] A feedforward inverted noise signal corresponding to the noise signal is generated according to the wind noise level.

[0042] Optionally, the noise reduction module is further configured to:

[0043] Obtaining a static gas flow pressure, wherein the static gas flow pressure is a gas flow pressure corresponding to a static atmospheric environment in an area where the earphone is located;

[0044] A noise level evaluation is performed on the wind noise in the area where the earphone is located according to the gas flow pressure and the static gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located.

[0045] Optionally, the noise reduction module is further configured to:

[0046] Collecting the humidity, temperature, and geographic location of the area where the headset is located;

[0047] According to the humidity, the temperature, and the geographical location, a corresponding gas flow pressure when the area where the earphone is located is in a static atmospheric environment is generated to obtain the static gas flow pressure.

[0048] Optionally, the noise reduction module is further configured to:

[0049] Selecting a feedforward control function that matches the wind noise level;

[0050] A feedforward anti-phase noise signal corresponding to the noise signal is generated according to the feedforward control function.

[0051] Optionally, the headphone noise reduction device is further used to:

[0052] If the wind noise ratio is less than or equal to the preset first ratio threshold and greater than or equal to the preset second ratio threshold, filtering the noise signal to obtain a wind noise signal and a steady-state noise signal;

[0053] generating a feedforward inverse wind noise signal corresponding to the wind noise signal and a feedforward inverse steady-state signal corresponding to the steady-state noise signal according to the gas flow pressure;

[0054] Headphone noise reduction is performed according to the feedforward inverse wind noise signal and the feedforward inverse steady-state signal.

[0055] The present application also provides an electronic device, comprising: a memory, a processor, and a program of the headphone noise reduction method stored in the memory and executable on the processor. When the program of the headphone noise reduction method is executed by the processor, the steps of the headphone noise reduction method described above can be implemented.

[0056] The present application also provides a computer-readable storage medium, on which a program for implementing the headphone noise reduction method is stored. When the program for the headphone noise reduction method is executed by a processor, the steps of the headphone noise reduction method as described above are implemented.

[0057] The present application also provides a computer program product, including a computer program, which implements the steps of the headphone noise reduction method as described above when the computer program is executed by a processor.

[0058] The present application provides a headphone noise reduction method, device, electronic device and readable storage medium. Compared with the method of outputting a sound signal with the same amplitude but opposite phase as the ambient noise through the headphone to offset the ambient noise, the present application obtains the noise signal and gas flow pressure collected by the feedforward acquisition device, and monitors the wind noise by collecting the gas flow pressure, so as to detect whether there is a wind noise signal in the noise signal based on the gas flow pressure. If the wind noise signal exists in the noise signal, it means that there is wind noise that cannot be processed in time. If the wind noise is not preprocessed, due to the large randomness of the amplitude and phase of the wind noise, a sound signal that offsets the wind noise cannot be generated in time, resulting in the superposition of wind noise in the headphone, resulting in poor headphone noise reduction effect. Therefore, headphone noise reduction is performed based on the gas flow pressure and the noise signal, so that the wind noise is processed in time, the superposition of wind noise in the headphone is avoided, and the noise reduction effect of the headphone is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0060] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0061] Figure 1 This is a flow chart of the first embodiment of the headphone noise reduction method of the present application;

[0062] Figure 2 This is a flow chart of the second embodiment of the headphone noise reduction method of the present application;

[0063] Figure 3 This is a flow chart of a scenario involved in the headphone noise reduction method of this application;

[0064] Figure 4 Schematic diagram of the device structure involved in the headphone noise reduction method in an embodiment of the present application;

[0065] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the headphone noise reduction method in the embodiment of the present application.

[0066] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0067] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.

[0068] Example 1

[0069] The present application provides a method for reducing noise on headphones. In the first embodiment of the method for reducing noise on headphones, refer to Figure 1 , the headphone noise reduction method includes:

[0070] Step S10, acquiring the noise signal and gas flow pressure collected by the feedforward collection device;

[0071] Step S20, detecting whether there is a wind noise signal in the noise signal according to the gas flow pressure;

[0072] Step S30: If the wind noise signal exists in the noise signal, perform headphone noise reduction according to the gas flow pressure and the noise signal.

[0073] In this embodiment, it should be noted that the feedforward acquisition device is a device disposed at a predetermined location on the earphone for collecting noise signals and gas flow pressure. The predetermined location may be the top of the earphone cavity or other external location on the earphone, such as the top of the earphone stem. The feedforward acquisition device includes a feedforward pickup path and a gas pressure sensor. The feedforward pickup path may be a feedforward microphone. The gas pressure sensor may be integrated into the feedforward pickup path or externally located at the corresponding listening location of the feedforward pickup path.

[0074] It is understandable that currently, a sound signal with the same amplitude but opposite phase is generated for the noise signal to offset the noise signal. However, when there is a wind noise signal in the noise signal, since the wind noise signal may have multiple sources and the amplitude and phase are highly random, it is impossible to generate a sound signal in time to offset all the wind noise signals separately, resulting in poor noise reduction effect of the headphones.

[0075] In order to avoid the above-mentioned defects, since wind noise signals of opposite phases can be partially offset, only the integrated wind noise signal acting on the earphones needs to be processed. Therefore, the gas pressure sensor is set to monitor the gas flow pressure of the integrated wind noise signal on the earphones. The gas pressure sensor is equipped with a sensor element, which can be a diaphragm that is sensitive to the strength of the gas flow pressure. Wind noise from multiple sources in the external environment acts on the sensor element. Since wind noise signals in different directions will cause displacements in different directions on the sensor element, the displacement change of the sensor element can represent the effect of the integrated wind noise signal on the sensor element. By converting the displacement of the sensor element into the gas flow pressure corresponding to the integrated wind noise signal, the effect of the integrated wind noise signal on the earphones can be quantified, thereby improving the noise reduction effect of the earphones.

[0076] Exemplarily, steps S10 to S30 include: continuously collecting noise signals and gas flow pressure through a feedforward acquisition device to obtain the noise signal and the gas flow pressure; detecting whether a wind noise signal exists in the noise signal based on the gas flow pressure; if the wind noise signal exists in the noise signal, performing headphone noise reduction based on the gas flow pressure and the noise signal; if the wind noise signal does not exist in the noise signal, returning to the execution step of continuously collecting noise signals and gas flow pressure through the feedforward acquisition device until a wind noise signal exists in the noise signal.

[0077] As an example, the step of continuously collecting noise signals and gas flow pressure through the feedforward acquisition device includes: obtaining a preset interval time, collecting the noise signal and gas flow pressure once through the feedforward acquisition device for each preset interval time, wherein the preset interval time is the preset interval time for the feedforward acquisition device to collect the noise signal and gas flow pressure, and the preset interval time can be 1s, 2s, 3s, or any other time length.

[0078] As an example, the step of detecting whether a wind noise signal exists in the noise signal according to the gas flow pressure includes: detecting whether a wind noise signal exists in the noise signal according to the pressure of the gas flow pressure.

[0079] As an example, the step of detecting whether there is a wind noise signal in the noise signal based on the gas flow pressure also includes: obtaining the historical gas flow pressure collected in the previous time step, calculating the pressure difference between the gas flow pressure and the historical gas flow pressure, and detecting whether there is a wind noise signal in the noise signal based on the pressure difference.

[0080] Optionally, the step of detecting whether a wind noise signal exists in the noise signal according to the gas flow pressure includes:

[0081] Detect whether the gas flow pressure is greater than a preset gas flow pressure threshold; if greater than, determine that a wind noise signal exists in the noise signal; if not greater than, determine that no wind noise signal exists in the noise signal.

[0082] In this embodiment, it should be noted that the preset gas flow pressure threshold is a preset critical value of the gas flow pressure for determining whether the wind noise signal has a greater impact on the noise signal.

[0083] Exemplarily, it includes: detecting whether the gas flow pressure is greater than a preset gas flow pressure threshold; if the gas flow pressure is greater than the preset gas flow pressure threshold, determining that a wind noise signal exists in the noise signal; if the gas flow pressure is less than or equal to the preset gas flow pressure threshold, determining that no wind noise signal exists in the noise signal.

[0084] As an example, it includes: obtaining the historical gas flow pressure collected in the previous time step, calculating the pressure difference between the gas flow pressure and the historical gas flow pressure, and detecting whether the pressure difference is greater than a preset pressure difference threshold, wherein the preset pressure difference threshold is a preset critical value of the pressure difference between the gas flow pressure and the historical gas flow pressure for determining that the wind noise signal in the noise signal has a greater impact; if the pressure difference is greater than the preset pressure difference threshold, it is determined that there is a wind noise signal in the noise signal; if the pressure difference is less than or equal to the preset pressure difference threshold, it is determined that there is no wind noise signal in the noise signal.

[0085] Wherein, in step S30, the step of performing headphone noise reduction according to the gas flow pressure and the noise signal includes:

[0086] Step S31, determining the proportion of wind noise in the noise signal;

[0087] Step S32: if the wind noise ratio is greater than a preset first ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure;

[0088] Step S33: if the wind noise ratio is less than a preset second ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold;

[0089] Step S34: performing headphone noise reduction according to the feedforward inverted noise signal.

[0090] It is understood that noise signals include wind noise signals and / or steady-state noise signals, wherein the steady-state noise signal is noise with relatively stable amplitude and phase. Currently, most methods employ a fixed method for generating a feedforward inverted noise signal. However, in real-world scenarios, the noise signal may comprise a majority of wind noise signals and a minority of steady-state noise signals, or vice versa. Using only a fixed method for generating a feedforward inverted noise signal can easily result in significant noise remaining after processing.

[0091] In this embodiment, it should be noted that the preset first ratio threshold is a critical value of the wind noise ratio of the wind noise signal with a larger proportion in the noise signal. The preset second ratio threshold is a critical value of the wind noise ratio of the wind noise signal with a smaller proportion in the noise signal.

[0092] To overcome the above-mentioned defects, illustratively, steps S31 to S34 include: filtering the noise signal to obtain a wind noise signal and / or a steady-state noise signal, obtaining a wind noise amplitude corresponding to the wind noise signal and obtaining a steady-state noise amplitude corresponding to the steady-state noise signal, and determining the wind noise proportion of the wind noise signal in the noise signal according to the wind noise amplitude and the steady-state noise amplitude; if the wind noise proportion is greater than a preset first proportion threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure; if the wind noise proportion is less than a preset second proportion threshold, generating the A feedforward inverted noise signal corresponding to a noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold; if the wind noise proportion is less than the preset second ratio threshold, a feedforward inverted noise signal corresponding to the noise signal is generated, wherein the preset second ratio threshold is less than the preset first ratio threshold; headphone noise reduction is performed according to the feedforward inverted noise signal, and a method for generating the feedforward inverted noise signal is flexibly selected according to the proportion of wind noise in the noise signal, so that the generated feedforward inverted noise signal can always reduce noise signals of various proportions, thereby improving the noise reduction effect of the headphone.

[0093] Wherein, in step S32, the step of generating a feedforward inverse noise signal corresponding to the noise signal according to the gas flow pressure includes:

[0094] Step A10: evaluating the wind noise level of the area where the earphone is located based on the gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located;

[0095] Step A20: generating a feedforward inverted noise signal corresponding to the noise signal according to the wind noise level.

[0096] In this embodiment, it should be noted that the wind noise level is an evaluation level of the wind noise intensity in the area where the earphone is located.

[0097] Exemplarily, steps A10 to A20 include: performing a noise level evaluation on the wind noise in the area where the earphone is located based on a first correlation between the gas flow pressure and the wind noise level and the gas flow pressure, wherein the first correlation includes a corresponding relationship and / or a mapping relationship, to obtain a wind noise level corresponding to the area where the earphone is located; and generating a feedforward inverted noise signal corresponding to the noise signal based on the wind noise level.

[0098] As an example, step A10 includes: obtaining a preset first configuration file, wherein the preset configuration file includes a correspondence between gas flow pressure and wind noise level, querying the preset first configuration file according to the gas flow pressure, and obtaining the wind noise level corresponding to the wind noise in the area where the headset is located, for example, wind noise level level 1 (11-20), wind noise level 2 (21-30), wind noise level 3 (31-40)...

[0099] In step A10, the step of evaluating the noise level of wind noise in the area where the earphone is located based on the gas flow pressure to obtain the wind noise level corresponding to the area where the earphone is located includes:

[0100] Step A11, obtaining a static gas flow pressure, wherein the static gas flow pressure is a gas flow pressure corresponding to a static atmospheric environment in the area where the earphone is located;

[0101] Step A12: Evaluate the noise level of wind noise in the area where the earphone is located according to the gas flow pressure and the static gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located.

[0102] Exemplarily, steps A11 to A12 include: obtaining the static gas flow pressure; calculating the pressure difference between the gas flow pressure and the static gas flow pressure, and performing a noise level evaluation on the wind noise in the area where the earphone is located based on the pressure difference, to obtain the wind noise level corresponding to the area where the earphone is located.

[0103] As an example, the step of evaluating the noise level of the wind noise in the area where the earphone is located based on the pressure difference value, and obtaining the wind noise level corresponding to the area where the earphone is located includes: obtaining a second correlation between the pressure difference value and the wind noise level, wherein the second correlation relationship includes a mapping relationship and / or a corresponding relationship, and querying the second correlation relationship based on the pressure difference value to obtain the wind noise level corresponding to the area where the earphone is located.

[0104] Wherein, in step A11, the step of obtaining the static gas flow pressure includes:

[0105] Step B10, collecting the humidity, temperature, and geographic location of the area where the headset is located;

[0106] Step B20: Generate a gas flow pressure corresponding to a static atmospheric environment in the area where the earphone is located according to the humidity, the temperature, and the geographical location, to obtain the static gas flow pressure.

[0107] Exemplarily, steps B10 to B20 include: collecting the humidity of the area where the headset is located through a humidity sensor, collecting the temperature of the area where the headset is located through a temperature sensor, locating the geographical location of the area where the headset is located through a satellite positioning device, or locating the geographical location of the area where the headset is located through a GPS (Global Positioning System) in the headset; generating a gas flow pressure corresponding to when the area where the headset is located is in a static atmospheric environment based on the humidity, the temperature and the geographical location, and obtaining the static gas flow pressure.

[0108] As an example, step B20 includes: obtaining a preset second configuration file, wherein the preset second configuration file includes the correspondence between humidity, temperature, and geographic location and the static gas flow pressure, and querying the preset second configuration file based on the temperature, humidity, and geographic location to obtain the static gas flow pressure.

[0109] As an example, step B20 includes: constructing the regional characteristics of the area where the earphone is located based on the temperature, the temperature and the geographical location, and predicting the corresponding gas flow pressure when the area where the earphone is located is in a static atmospheric environment based on the regional characteristics and a preset static air pressure prediction model to obtain the static gas flow pressure.

[0110] It is understandable that since the static gas flow pressure is affected by geographical location, humidity and temperature, if a fixed static gas flow pressure is used, the assessed wind noise level may be too high or too low, which may make the effect of headphone feedforward noise reduction preprocessing based on the wind noise level poor, resulting in poor noise reduction effect of the headphone.

[0111] To overcome the above-mentioned defects, if it is detected that the geographical location of the area where the headset is located has changed, and / or if it is detected that the meteorological information of the area where the headset is located has changed, return to the execution step: collect the humidity, temperature and geographical location of the area where the headset is located to update the static gas flow pressure. By updating the static gas flow pressure in time when the factors affecting the static gas flow pressure change, it is avoided that when a fixed static gas flow pressure is used, the static gas flow pressure is affected by the geographical location, humidity and temperature, and the evaluated wind noise level is easily too high or too low, which may lead to the technical defect of poor effect of headset feedforward noise reduction preprocessing based on the wind noise level, thereby improving the noise reduction effect of the headset.

[0112] An embodiment of the present application provides a headphone noise reduction method. Compared with the method of outputting a sound signal with the same amplitude but opposite phase as the ambient noise through the headphone to offset the ambient noise and thus achieve noise reduction, the embodiment of the present application obtains the noise signal and gas flow pressure collected by the feedforward acquisition device, and monitors the wind noise by collecting the gas flow pressure, so as to detect whether there is a wind noise signal in the noise signal based on the gas flow pressure. If the wind noise signal exists in the noise signal, it means that there is wind noise that cannot be processed in time. If the wind noise is not preprocessed, due to the large randomness of the amplitude and phase of the wind noise, a sound signal that offsets the wind noise cannot be generated in time, resulting in the superposition of wind noise in the headphone, resulting in poor noise reduction effect of the headphone. Therefore, headphone noise reduction is performed based on the gas flow pressure and the noise signal, so that the wind noise is processed in time, the superposition of wind noise in the headphone is avoided, and the noise reduction effect of the headphone is improved.

[0113] Example 2

[0114] Further, based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 2 , wherein, in step A20, the step of generating a feedforward inverted noise signal corresponding to the noise signal according to the wind noise level includes:

[0115] Step A21, selecting a feedforward control function that matches the wind noise level;

[0116] Step A22: generating a feedforward inverse noise signal corresponding to the noise signal according to the feedforward control function.

[0117] In this embodiment, it should be noted that the feedforward control function includes a mapping relationship between the noise signal and the feedforward inverse noise signal.

[0118] Exemplarily, step A21 to step A22 include: selecting a matched feedforward control function according to the wind noise level, and mapping the noise signal into a feedforward inverse noise signal corresponding to the earphone through the feedforward control function.

[0119] As an example, steps A21 to A22 include: obtaining a preset third configuration file, wherein the preset third configuration file includes a correspondence between the wind noise level and the noise signal and the feedforward inverted noise signal; and querying the preset third configuration file based on the wind noise level and the noise signal to obtain the feedforward inverted noise signal corresponding to the headset.

[0120] As an example, steps A21 to A22 include: constructing a wind noise signal characteristic corresponding to the earphone based on the wind noise level and the noise signal, and determining a feedforward inverse noise signal corresponding to the earphone based on a preset feedforward gain determination model and the wind noise signal characteristic.

[0121] The headphone noise reduction method further includes:

[0122] Step C10: If the wind noise ratio is less than or equal to the preset first ratio threshold and greater than or equal to the preset second ratio threshold, filtering the noise signal to obtain a wind noise signal and a steady-state noise signal;

[0123] Step C20, generating a feedforward inverted wind noise signal corresponding to the wind noise signal and a feedforward inverted steady-state signal corresponding to the steady-state noise signal according to the gas flow pressure;

[0124] Step C30 , performing headphone noise reduction according to the feedforward inverse wind noise signal and the feedforward inverse steady-state signal.

[0125] It can be understood that when the proportions of wind noise signals and steady-state noise signals in the noise signal are both large, that is, when the wind noise proportion is less than or equal to the preset first proportion threshold and greater than or equal to the preset second proportion threshold, it is necessary to perform noise reduction processing on the wind noise signal and the steady-state noise signal respectively. Therefore, two filters are preset in the feedforward noise reduction component corresponding to the earphone to process the wind noise signal and the steady-state noise signal respectively, and by generating feedforward anti-phase noise signals corresponding to the wind noise signal and the steady-state noise signal respectively, to offset the wind noise signal and the steady-state noise signal respectively, thereby improving the noise reduction effect of the earphone.

[0126] As an example, see Figure 3 , Figure 3 This is an example of a scenario for the headphone noise reduction method. Figure 3It includes: a feedforward microphone (the feedforward MIC (microphone) shown in the figure), a gas pressure sensor, a noise signal (the feedforward environmental signal shown in the figure), a gas flow pressure (the monitoring pressure value shown in the figure), and a feedforward control function (the feedforward system preprocessing control function shown in the figure). The noise signal is collected by the feedforward microphone, and the gas flow pressure is collected by the gas pressure sensor. The wind noise level corresponding to the area where the earphone is located is evaluated according to the gas flow pressure to obtain the wind noise level. The matching feedforward control function is selected according to the wind noise level. The target feedforward control gain is determined according to the noise signal and the feedforward control function. According to the target feedforward control gain, the feedforward control gain of the earphone is adjusted to obtain a processed noise signal. The processed noise signal can then be processed through the noise reduction mode or the transparency mode to obtain a processed signal, and then the processed signal is played through the speaker of the earphone.

[0127] An embodiment of the present application provides a headphone noise reduction method. Compared with the method of outputting a sound signal with the same amplitude but opposite phase as the ambient noise through the headphone to offset the ambient noise and thus achieve noise reduction, the embodiment of the present application obtains the noise signal and gas flow pressure collected by the feedforward acquisition device, and monitors the wind noise by collecting the gas flow pressure, so as to detect whether there is a wind noise signal in the noise signal based on the gas flow pressure. If the wind noise signal exists in the noise signal, it means that there is wind noise that cannot be processed in time. If the wind noise is not preprocessed, due to the large randomness of the amplitude and phase of the wind noise, a sound signal that offsets the wind noise cannot be generated in time, resulting in the superposition of wind noise in the headphone, resulting in poor noise reduction effect of the headphone. Therefore, headphone noise reduction is performed based on the gas flow pressure and the noise signal, so that the wind noise is processed in time, the superposition of wind noise in the headphone is avoided, and the noise reduction effect of the headphone is improved.

[0128] Example 3

[0129] The embodiment of the present application also provides an earphone noise reduction device, which is applied to an earphone noise reduction device, referring to Figure 4 , the headphone noise reduction device comprises:

[0130] An acquisition module, configured to acquire the noise signal and gas flow pressure acquired by the feedforward acquisition device;

[0131] a detection module, configured to detect whether a wind noise signal exists in the noise signal according to the gas flow pressure;

[0132] The noise reduction module is configured to perform headphone noise reduction according to the gas flow pressure and the noise signal if the wind noise signal exists in the noise signal.

[0133] Optionally, the noise reduction module is further configured to:

[0134] Determine a proportion of wind noise in the wind noise signal;

[0135] If the wind noise ratio is greater than a preset first ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure;

[0136] If the wind noise ratio is less than a preset second ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold;

[0137] Headphone noise reduction is performed according to the feedforward anti-phase noise signal.

[0138] Optionally, the noise reduction module is further configured to:

[0139] Evaluate the wind noise level of the area where the earphone is located according to the gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located;

[0140] A feedforward inverted noise signal corresponding to the noise signal is generated according to the wind noise level.

[0141] Optionally, the noise reduction module is further configured to:

[0142] Obtaining a static gas flow pressure, wherein the static gas flow pressure is a gas flow pressure corresponding to a static atmospheric environment in an area where the earphone is located;

[0143] A noise level evaluation is performed on the wind noise in the area where the earphone is located according to the gas flow pressure and the static gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located.

[0144] Optionally, the noise reduction module is further configured to:

[0145] Collecting the humidity, temperature, and geographic location of the area where the headset is located;

[0146] According to the humidity, the temperature, and the geographical location, a corresponding gas flow pressure when the area where the earphone is located is in a static atmospheric environment is generated to obtain the static gas flow pressure.

[0147] Optionally, the noise reduction module is further configured to:

[0148] Selecting a feedforward control function that matches the wind noise level;

[0149] A feedforward anti-phase noise signal corresponding to the noise signal is generated according to the feedforward control function.

[0150] Optionally, the headphone noise reduction device is further used to:

[0151] If the wind noise ratio is less than or equal to the preset first ratio threshold and greater than or equal to the preset second ratio threshold, filtering the noise signal to obtain a wind noise signal and a steady-state noise signal;

[0152] generating a feedforward inverse wind noise signal corresponding to the wind noise signal and a feedforward inverse steady-state signal corresponding to the steady-state noise signal according to the gas flow pressure;

[0153] Headphone noise reduction is performed according to the feedforward inverse wind noise signal and the feedforward inverse steady-state signal.

[0154] The headphone noise reduction device provided in this application utilizes the headphone noise reduction method of the aforementioned embodiment to address the technical issue of poor headphone noise reduction. Compared to the prior art, the beneficial effects of the headphone noise reduction device provided in this embodiment are the same as those of the headphone noise reduction method provided in the aforementioned embodiment. Other technical features of this headphone noise reduction device are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.

[0155] Example 4

[0156] An embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the headphone noise reduction method of the above embodiment.

[0157] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0158] like Figure 5As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0159] Typically, the following systems can be connected to the I / O interface: input devices such as a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices such as a magnetic tape, hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figures show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.

[0160] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0161] The electronic device provided in this application utilizes the headphone noise reduction method of the above-described embodiment to solve the technical problem of poor headphone noise reduction. Compared with the prior art, the beneficial effects of the electronic device provided in the embodiment of this application are the same as those of the headphone noise reduction method provided in the above-described embodiment, and the other technical features of the electronic device are the same as those disclosed in the above-described embodiment and are not further described here.

[0162] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in an appropriate manner.

[0163] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0164] Example 5

[0165] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the headphone noise reduction method in the above embodiment.

[0166] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. A more specific example of a computer-readable storage medium can include, but is not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by an instruction execution system, a system or a device or used in combination therewith. The program code contained in the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: an electric wire, an optical cable, RF (radio frequency), etc., or any suitable combination thereof.

[0167] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0168] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: obtains the noise signal and gas flow pressure collected by the feedforward acquisition device; detects whether there is a wind noise signal in the noise signal based on the gas flow pressure; if the wind noise signal exists in the noise signal, performs headphone noise reduction based on the gas flow pressure and the noise signal.

[0169] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0170] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0171] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0172] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the aforementioned headphone noise reduction method, thereby resolving the technical issue of poor headphone noise reduction. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment of the application are similar to those of the headphone noise reduction method provided in the aforementioned embodiment, and are not further elaborated here.

[0173] Example 6

[0174] The present application also provides a computer program product, including a computer program, which implements the steps of the headphone noise reduction method as described above when the computer program is executed by a processor.

[0175] The computer program product provided in this application solves the technical problem of poor noise reduction in headphones. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the headphone noise reduction method provided in the above embodiments, and will not be repeated here.

[0176] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for reducing noise in headphones, characterized in that: The headphone noise reduction method comprises: Acquiring a noise signal and a gas flow pressure collected by a feedforward collection device; detecting whether there is a wind noise signal in the noise signal according to the gas flow pressure; If the wind noise signal exists in the noise signal, determining a proportion of the wind noise signal in the noise signal; If the wind noise ratio is greater than a preset first ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure; If the wind noise ratio is less than a preset second ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold; Headphone noise reduction is performed according to the feedforward anti-phase noise signal.

2. The headphone noise reduction method according to claim 1, wherein: The step of generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure includes: Evaluate the wind noise level of the area where the earphone is located according to the gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located; A feedforward inverted noise signal corresponding to the noise signal is generated according to the wind noise level.

3. The headphone noise reduction method according to claim 2, wherein: The step of evaluating the noise level of wind noise in the area where the earphone is located based on the gas flow pressure to obtain the wind noise level corresponding to the area where the earphone is located comprises: Obtaining a static gas flow pressure, wherein the static gas flow pressure is a gas flow pressure corresponding to a static atmospheric environment in an area where the earphone is located; A noise level evaluation is performed on the wind noise in the area where the earphone is located according to the gas flow pressure and the static gas flow pressure to obtain a wind noise level corresponding to the area where the earphone is located.

4. The headphone noise reduction method according to claim 3, wherein: The step of obtaining the static gas flow pressure comprises: Collecting the humidity, temperature, and geographic location of the area where the headset is located; According to the humidity, the temperature, and the geographical location, a gas flow pressure corresponding to when the area where the earphone is located is in a static atmospheric environment is generated to obtain the static gas flow pressure.

5. The headphone noise reduction method according to claim 2, wherein: The step of generating a feedforward inverted noise signal corresponding to the noise signal according to the wind noise level includes: Selecting a feedforward control function that matches the wind noise level; A feedforward anti-phase noise signal corresponding to the noise signal is generated according to the feedforward control function.

6. The headphone noise reduction method according to claim 1, wherein: The headphone noise reduction method further includes: If the wind noise ratio is less than or equal to the preset first ratio threshold and greater than or equal to the preset second ratio threshold, filtering the noise signal to obtain a wind noise signal and a steady-state noise signal; generating a feedforward inverse wind noise signal corresponding to the wind noise signal and a feedforward inverse steady-state signal corresponding to the steady-state noise signal according to the gas flow pressure; Headphone noise reduction is performed according to the feedforward inverse wind noise signal and the feedforward inverse steady-state signal.

7. A headphone noise reduction device, characterized in that: The headphone noise reduction device comprises: An acquisition module, configured to acquire the noise signal and gas flow pressure acquired by the feedforward acquisition device; a detection module, configured to detect whether a wind noise signal exists in the noise signal according to the gas flow pressure; a noise reduction module, configured to determine a proportion of the wind noise signal in the noise signal if the wind noise signal exists in the noise signal; If the wind noise ratio is greater than a preset first ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal according to the gas flow pressure; If the wind noise ratio is less than a preset second ratio threshold, generating a feedforward inverted noise signal corresponding to the noise signal, wherein the preset second ratio threshold is less than the preset first ratio threshold; Headphone noise reduction is performed according to the feedforward anti-phase noise signal.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the headphone noise reduction method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for implementing the headphone noise reduction method, and the program for implementing the headphone noise reduction method is executed by a processor to implement the steps of the headphone noise reduction method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Wind noise detection method and device, electronic equipment and storage medium

    CN114040309A

  • Wind suppression / replacement component for use with electronic systems

    CN203242334U