CN115731914A - Noise reduction method, device, equipment and computer readable storage medium - Google Patents

Noise reduction method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115731914A
CN115731914A CN202211446553.0A CN202211446553A CN115731914A CN 115731914 A CN115731914 A CN 115731914A CN 202211446553 A CN202211446553 A CN 202211446553A CN 115731914 A CN115731914 A CN 115731914A
Authority
CN
China
Prior art keywords
noise reduction
parameter
reduction amount
amount
initial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211446553.0A
Other languages
Chinese (zh)
Inventor
李红梅
徐世超
徐敏龙
郭翠翠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211446553.0A priority Critical patent/CN115731914A/en
Publication of CN115731914A publication Critical patent/CN115731914A/en
Priority to PCT/CN2023/129941 priority patent/WO2024104212A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The invention discloses a noise reduction method, a noise reduction device, noise reduction equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring a noise reduction increment parameter, an initial noise reduction and an upper limit of the noise reduction; after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter. The invention avoids uncomfortable ear pressure feeling to the user at the moment of starting the active noise reduction function.

Description

Noise reduction method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of audio processing technologies, and in particular, to a noise reduction method, apparatus, device, and computer readable storage medium.
Background
With the continuous development of society, noise pollution draws more and more attention of people, and the active noise reduction function is very popular, for example, the active noise reduction earphone can effectively reduce external noise, such as environment noise of aircraft noise, subway noise, air conditioner noise and the like. The active noise reduction technology mainly utilizes the interference principle of sound waves, and a control circuit generates a secondary noise which is equivalent to and opposite in phase to an original noise signal to offset the original noise signal. At present, the active noise reduction equipment brings uncomfortable ear pressure to a user at the moment of starting noise reduction.
Disclosure of Invention
The invention mainly aims to provide a noise reduction method, a noise reduction device, noise reduction equipment and a computer readable storage medium, and aims to provide an active noise reduction scheme to avoid uncomfortable ear pressure feeling brought to a user instantly when an active noise reduction function is started.
In order to achieve the above object, the present invention provides a noise reduction method, comprising the steps of:
acquiring a noise reduction increment parameter, an initial noise reduction and an upper limit of the noise reduction;
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter.
Optionally, the noise reduction method further comprises:
acquiring a noise reduction amount decreasing parameter;
and after the request for closing the active noise reduction mode is detected, controlling the noise reduction amount of active noise reduction to be reduced from the current noise reduction amount to the initial noise reduction amount along with time according to the noise reduction amount reduction parameter, and closing the active noise reduction mode after the noise reduction amount is reduced to the initial noise reduction amount.
Optionally, the step of obtaining the initial noise reduction amount includes:
after detecting the request for starting the active noise reduction mode, acquiring environmental noise;
and determining an initial noise reduction amount according to the environment noise, wherein the initial noise reduction amount is smaller when the environment noise is larger.
Optionally, the noise reduction method further comprises:
after a parameter setting request is detected, storing a noise reduction amount incremental parameter and an initial noise reduction amount in the parameter setting request into a parameter storage area;
the step of obtaining the noise reduction increment parameter and the initial noise reduction comprises the following steps:
acquiring the noise reduction amount increment parameter and the initial noise reduction amount from the parameter storage area.
Optionally, before the step of storing the noise reduction amount incremental parameter and the initial noise reduction amount in the parameter setting request to the parameter storage area after the parameter setting request is detected, the method further includes:
after detecting that the test mode is entered, acquiring a plurality of test groups, wherein one test group comprises an incremental parameter test value and a noise reduction test value;
respectively carrying out a round of noise reduction effect test on each test group, and acquiring noise reduction effect feedback information of a user for each round of noise reduction effect test;
selecting a test group with the best noise reduction effect from the test groups according to the noise reduction effect feedback information;
triggering the parameter setting request, and correspondingly taking the incremental parameter test value and the noise reduction amount test value in the selected test group as a noise reduction amount incremental parameter and an initial noise reduction amount to be carried in the parameter setting request.
Optionally, the step of performing a round of noise reduction test for one of the test groups includes:
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the noise reduction amount test value in the test group to the upper limit of the noise reduction amount along with time according to the increasing parameter test value in the test group.
Optionally, the step of obtaining the noise reduction increment parameter and the initial noise reduction comprises:
carrying out identity recognition on a user to obtain a user identifier;
and acquiring a noise reduction increment parameter and an initial noise reduction corresponding to the user identification from a preset parameter library.
In order to achieve the above object, the present invention also provides a noise reduction device, including:
the acquisition module is used for acquiring the noise reduction increment parameter, the initial noise reduction and the upper limit of the noise reduction;
and the noise reduction module is used for controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter after the active noise reduction mode is started.
In order to achieve the above object, the present invention also provides a noise reduction apparatus, comprising: a memory, a processor and a noise reduction program stored on the memory and executable on the processor, the noise reduction program when executed by the processor implementing the steps of the noise reduction method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium, which stores a noise reduction program, and the noise reduction program implements the steps of the noise reduction method as described above when executed by a processor.
According to the method and the device, the noise reduction quantity increasing parameter, the initial noise reduction quantity and the upper limit of the noise reduction quantity are obtained, after the active noise reduction mode is started, the noise reduction quantity of active noise reduction is controlled to be increased from the initial noise reduction quantity to the upper limit of the noise reduction quantity along with time according to the noise reduction quantity increasing parameter, and uncomfortable ear pressure of a user is prevented from being brought to the user instantly when the active noise reduction function is started.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a noise reduction method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a noise reduction variation of an active noise reduction mode according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a noise reduction variation of an active noise reduction mode according to an embodiment of the present invention;
fig. 5 is a schematic diagram of functional modules of a noise reduction apparatus according to a preferred embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that, according to the noise reduction device in the embodiment of the present invention, the noise reduction device may be a device with an active noise reduction function, such as an earphone device, an intelligent helmet, and the like, which is not limited herein.
As shown in fig. 1, the noise reduction apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the device configuration shown in FIG. 1 does not constitute a limitation of noise reduction devices, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a noise reduction program. The operating system is a program that manages and controls the hardware and software resources of the device, supporting the execution of noise reduction programs, as well as other software or programs. In the device shown in fig. 1, the user interface 1003 is mainly used for data communication with a client; the network interface 1004 is mainly used for establishing communication connection with a server; and the processor 1001 may be configured to call the noise reduction program stored in the memory 1005 and perform the following operations:
acquiring a noise reduction increment parameter, an initial noise reduction and an upper limit of the noise reduction;
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter.
Further, the processor 1001 may be further configured to call a noise reduction program stored in the memory 1005, and perform the following operations:
acquiring a noise reduction amount decreasing parameter;
and after the request for closing the active noise reduction mode is detected, controlling the noise reduction amount of active noise reduction to be reduced from the current noise reduction amount to the initial noise reduction amount along with time according to the noise reduction amount reduction parameter, and closing the active noise reduction mode after the noise reduction amount is reduced to the initial noise reduction amount.
Further, the operation of obtaining the initial noise reduction amount includes:
acquiring environmental noise after detecting a request for starting the active noise reduction mode;
and determining an initial noise reduction amount according to the environmental noise, wherein the initial noise reduction amount is smaller when the environmental noise is larger.
Further, the processor 1001 may be further configured to call a noise reduction program stored in the memory 1005, and perform the following operations:
after a parameter setting request is detected, storing a noise reduction amount incremental parameter and an initial noise reduction amount in the parameter setting request into a parameter storage area;
the operation of acquiring the noise reduction amount increment parameter and the initial noise reduction amount comprises the following steps:
acquiring the noise reduction amount increment parameter and the initial noise reduction amount from the parameter storage area.
Further, before the operation of saving the noise reduction amount increment parameter and the initial noise reduction amount in the parameter setting request to the parameter storage area after detecting the parameter setting request, the processor 1001 may be further configured to call the noise reduction program stored in the memory 1005, and perform the following operations:
after detecting that the test mode is entered, acquiring a plurality of test groups, wherein one test group comprises an incremental parameter test value and a noise reduction test value;
respectively carrying out a round of noise reduction effect test on each test group, and acquiring noise reduction effect feedback information of a user for each round of noise reduction effect test;
selecting a test group with the best noise reduction effect from the test groups according to the noise reduction effect feedback information;
triggering the parameter setting request, and correspondingly taking the incremental parameter test value and the noise reduction amount test value in the selected test group as a noise reduction amount incremental parameter and an initial noise reduction amount to be carried in the parameter setting request.
Further, the operation of performing a round of noise reduction test for one of the test groups includes:
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the noise reduction amount test value in the test group to the upper limit of the noise reduction amount along with time according to the increasing parameter test value in the test group.
Further, the step of obtaining the noise reduction amount increment parameter and the initial noise reduction amount comprises:
carrying out identity recognition on a user to obtain a user identifier;
and acquiring a noise reduction increment parameter and an initial noise reduction which are set corresponding to the user identification from a preset parameter library.
Based on the above structure, various embodiments of a noise reduction method are proposed.
Referring to fig. 2, fig. 2 is a flowchart illustrating a noise reduction method according to a first embodiment of the present invention.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than presented herein. The main executing body of the noise reduction method in the embodiments of the present invention may be a device with an active noise reduction function, for example, an earphone device, and for convenience of description, the noise reduction device is taken as an example to describe each embodiment. In this embodiment, the noise reduction method includes:
step S10, acquiring a noise reduction increment parameter, an initial noise reduction and an upper limit of the noise reduction;
the noise reduction amount of active noise reduction refers to the degree of noise reduction that can be achieved by active noise reduction, and may be, but is not limited to, decibel (dB). The noise reduction amount increment parameter is a parameter for controlling the increment of the noise reduction amount in active noise reduction, and the specific parameter of the noise reduction amount increment parameter is not limited in this embodiment. For example, when the noise reduction amount is incremented by an increment curve, the noise reduction amount increment parameter may be a slope of the increment curve, and when the noise reduction amount is increased once per a time interval by a certain step, the noise reduction amount increment parameter may be a step and a time interval. The initial noise reduction amount is the amount of noise reduction from the beginning after the active noise reduction mode is turned on. The upper limit of the noise reduction amount is the maximum noise reduction amount that can be achieved by the active noise reduction function in the noise reduction device, and the upper limit of the noise reduction amount of each noise reduction device may be different.
In a specific embodiment, the obtaining of the noise reduction increment parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount may specifically be obtaining of several items of data preset in the noise reduction device, or may also be obtained by calculation through a calculation formula, or may also be obtained from other devices, and in this embodiment, the obtaining manner of the several items of data is not limited.
In a specific embodiment, the method may be, but is not limited to, acquiring the noise reduction amount increment parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount after detecting the request for turning on the active noise reduction mode. The request for starting the active noise reduction mode may be triggered by the user, or may be triggered by the noise reduction device when it is detected that the trigger condition is met, for example, after it is detected that the user wears the noise reduction device.
And step S20, after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter.
The active noise reduction mode may be a feedforward active noise reduction mode, a feedback active noise reduction mode, or a hybrid active noise reduction mode, which is not limited in this embodiment.
In a specific embodiment, the noise reduction device may obtain several items of data, namely, the noise reduction increment parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount, after detecting the request for starting the active noise reduction mode, and start the active noise reduction mode after obtaining the data.
In a specific embodiment, in the active noise reduction mode, the noise reduction device performs active noise reduction according to a given noise reduction amount, and the larger the given noise reduction amount is, the higher the noise reduction degree is, and the smaller the given noise reduction amount is, the lower the noise reduction degree is. And the noise reduction amount at each moment after the active noise reduction mode is started is calculated by the noise reduction equipment according to the noise reduction amount increment parameter and the initial noise reduction amount, and the upper limit of the noise reduction amount is continuously kept until the noise reduction amount calculated at a certain moment is equal to the upper limit of the noise reduction amount. The method for calculating the noise reduction amount at each time according to the noise reduction amount increment parameter and the initial noise reduction amount is specifically related to the method for incrementing the noise reduction amount, and the calculation process is not limited in this embodiment. For example, when the noise reduction amount is incremented according to an increment curve, and the noise reduction amount increment parameter is the slope of the increment curve, the time, the initial noise reduction amount, and the noise reduction amount increment parameter may be substituted into the increment curve formula to calculate the noise reduction amount corresponding to the time; for another example, when the noise reduction amount is increased once every certain time interval according to a certain step, and the noise reduction amount increasing parameter is the step and the time interval, it may be determined that the noise reduction amount is increased by one step after the increasing time interval is reached.
It can be understood that, in this embodiment, after the active noise reduction mode is turned on, the noise reduction device does not directly reach the highest noise reduction degree, but gradually increases from the lower noise reduction degree to the highest noise reduction degree over time, so that the sound pressure does not sharply decrease but gradually decreases over time, thereby avoiding uncomfortable ear pressure feeling brought to the user by sudden ear pressure difference caused by sharp decrease of the sound pressure.
In a specific embodiment, after the noise reduction amount is increased to the upper limit of the noise reduction amount, the noise reduction device may continuously maintain the upper limit of the noise reduction amount until the active noise reduction mode is turned off, while the active noise reduction mode is still turned on.
In the embodiment, after the active noise reduction mode is started, the noise reduction amount of the active noise reduction is controlled to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with the time according to the noise reduction amount increasing parameter by obtaining the noise reduction amount increasing parameter, the initial noise reduction amount and the upper limit of the noise reduction amount, so that uncomfortable ear pressure feeling is prevented from being brought to a user instantly when the active noise reduction function is started.
Further, in a possible embodiment, the noise reduction method further includes:
step S30, acquiring a noise reduction decrement parameter;
the noise reduction amount decreasing parameter is a parameter for controlling the decrease of the noise reduction amount of the active noise reduction, and in this embodiment, no limitation is imposed on what kind of the noise reduction amount decreasing parameter is. For example, the noise reduction amount decreasing parameter may be a slope of a decreasing curve when the noise reduction amount is decreased according to the decreasing curve, and may be a step and a time interval when the noise reduction amount is decreased every interval by a certain step.
In a specific embodiment, the obtaining of the noise reduction amount decreasing parameter may specifically be obtaining of a noise reduction amount decreasing parameter preset in the noise reduction device, or may also be obtained by calculation through a calculation formula, or may also be obtained from other devices, and in this embodiment, the obtaining manner of the noise reduction amount decreasing parameter is not limited.
In particular embodiments, the noise reduction amount decrement parameter may be, but is not limited to, obtained after a request to turn off the active noise reduction mode is detected. The request for turning off the active noise reduction mode may be triggered by a user, or may be triggered by the noise reduction device when it is detected that the trigger condition is satisfied.
And step S40, after the request for closing the active noise reduction mode is detected, controlling the noise reduction amount of active noise reduction to be reduced from the current noise reduction amount to the initial noise reduction amount along with time according to the noise reduction amount reduction parameter, and closing the active noise reduction mode after the noise reduction amount is reduced to the initial noise reduction amount.
In a specific embodiment, in the active noise reduction mode, the noise reduction device performs active noise reduction according to a given noise reduction amount, where the larger the given noise reduction amount is, the higher the noise reduction degree is, and the smaller the given noise reduction amount is, the lower the noise reduction degree is. After a request for closing the active noise reduction mode is detected, the noise reduction equipment acquires the current noise reduction amount, then the noise reduction amount at each subsequent moment is calculated according to the noise reduction amount decreasing parameter and the current noise reduction amount, and the active noise reduction mode is closed until the noise reduction amount calculated at a certain moment is less than or equal to the initial noise reduction amount. The way of calculating the noise reduction amount at each time according to the noise reduction amount decreasing parameter and the current noise reduction amount is specifically related to the way of decreasing the noise reduction amount, and the calculation process is not limited in this embodiment. For example, when the noise reduction amount is decreased according to a decreasing curve, and the noise reduction amount decreasing parameter is a slope of the decreasing curve, the time, the current noise reduction amount, and the noise reduction amount decreasing parameter may be substituted into a decreasing curve formula to calculate the noise reduction amount corresponding to the time; for another example, when the noise reduction amount is reduced once every interval according to a certain step, and the noise reduction amount decreasing parameter is the step and the time interval, it may be determined that the noise reduction amount is reduced by one step after the decreasing time interval is reached.
It can be understood that, in this embodiment, when the active noise reduction mode is turned off, the noise reduction device does not directly turn off, but decreases from a higher noise reduction degree to a lower noise reduction degree over time, so that the sound pressure is not sharply increased but gradually increased over time, thereby avoiding uncomfortable ear pressure feeling of the user caused by sudden ear pressure difference due to sharp increase of the sound pressure.
It is understood that after the active noise reduction mode is turned on, the request for turning off the active noise reduction mode is detected without increasing the noise reduction amount to the upper limit of the noise reduction amount, and then the current noise reduction amount may be between the initial noise reduction amount and the upper limit of the noise reduction amount; after the active noise reduction mode is turned on, the noise reduction amount is incremented to the upper limit of the noise reduction amount, and after the upper limit of the noise reduction amount is maintained for a certain period of time, a request for turning off the active noise reduction mode is detected, so that the current noise reduction amount is the upper limit of the noise reduction amount.
Further, based on the first embodiment, a second embodiment of the noise reduction method according to the present invention is provided, and in this embodiment, the step of obtaining the initial noise reduction amount in step S10 includes:
step S101, after detecting the request for starting the active noise reduction mode, acquiring environmental noise;
in the embodiment, the initial noise reduction amount is determined according to the environmental noise, so that the feedback timeliness of the active noise reduction effect is improved while the user is prevented from feeling uncomfortable ear pressure.
The manner in which the ambient noise is acquired may be by a microphone in the noise reduction device, for example, when the noise reduction device is a headphone device, the ambient noise may be acquired by a feed-forward microphone in the headphone device.
Step S102, determining an initial noise reduction amount according to the environment noise, wherein the initial noise reduction amount is smaller when the environment noise is larger.
In a specific embodiment, the magnitude of the ambient noise may be (but is not limited to) represented by a sound pressure level or a sound pressure value of the ambient noise, and the greater the sound pressure level or the sound pressure value is, the greater the ambient noise is, that is, the noise reduction device may calculate the sound pressure level or the sound pressure value of the ambient noise, and determine the initial noise reduction amount according to the sound pressure level and the sound pressure value. In this embodiment, the manner of determining the initial noise reduction amount according to the environmental noise is not limited, and the requirement that the initial noise reduction amount is smaller when the environmental noise is larger is met.
It should be noted that, in the case of a large environmental noise (that is, a noisy environment), by starting to increase from a small initial noise reduction amount, a user can be prevented from rapidly entering an environment with a small sound pressure from an environment with a large sound pressure, so that uncomfortable ear pressure of the user due to a sudden sound pressure difference is avoided; and under the condition that the environmental noise is small (namely the environment is quiet), because the environmental sound pressure of the user is not large, the user can feel the effect of active noise reduction starting as soon as possible by increasing the initial noise reduction amount from a larger value, namely, the feedback timeliness of the active noise reduction effect can be improved.
On the contrary, before the active noise reduction mode is closed, under the condition that the environmental noise is large (namely, the environmental noise is noisy), the active noise reduction mode is closed after the current noise reduction amount is reduced to the small initial noise reduction amount, so that the situation that a user rapidly enters the environment with large sound pressure from the environment with small sound pressure can be avoided, and uncomfortable ear pressure feeling is brought to the user by sudden sound pressure difference is avoided; and under the condition that the environmental noise is small (namely the environment is quiet), because the environmental sound pressure of the user is not large after the active noise reduction mode is closed, the user can feel the effect of closing the active noise reduction as soon as possible by decreasing the current noise reduction amount to the small initial noise reduction amount, namely, the feedback timeliness of the active noise reduction effect can be improved.
In a possible implementation, the initial amount of noise reduction may be determined according to the following formula.
Figure BDA0003949760210000091
Wherein, ANC 0 Is the initial noise reduction, ANC max Is the upper limit of the noise reduction amount, noise is the sound pressure level of the environmental noise, and k may be a preset default value, such as 1/2, or may be customized by the user. The two thresholds 60dB and 80dB can also be set on a case-by-case basis.
FIG. 3 shows a schematic diagram of the variation of the noise reduction amount of active noise reduction under three environmental noise conditions, namely noise less than or equal to 60dB, noise greater than 80sB, and 60dB < noise less than or equal to 80dB, after the active noise reduction mode is started. FIG. 4 is a schematic diagram showing the variation of the noise reduction amount of active noise reduction under three environmental noises, namely noise less than or equal to 60dB, noise greater than 80sB, and 60dB < noise less than or equal to 80dB, after a request for closing the active noise reduction mode is detected.
Further, based on the first and/or second embodiment, a third embodiment of the noise reduction method of the present invention is provided, and in this embodiment, the noise reduction method further includes:
step S50, after a parameter setting request is detected, storing the noise reduction increment parameter and the initial noise reduction in the parameter setting request into a parameter storage area;
the parameter setting request is used to request the noise reduction device to set the noise reduction amount incremental parameter and the initial noise reduction amount, and may be sent by other devices to the noise reduction device, or triggered by a user in the noise reduction device. The parameter setting request carries a noise reduction amount increasing parameter and an initial noise reduction amount, and the noise reduction equipment stores the noise reduction amount increasing parameter and the initial noise reduction amount in a parameter storage area. The parameter storage area is a storage area for storing the noise reduction amount increment parameter and the initial noise reduction amount in the noise reduction device. In a specific embodiment, when the parameter storage area already stores the noise reduction amount increment parameter and the initial noise reduction amount, the noise reduction device may use the noise reduction amount increment parameter carried in the parameter setting request and the noise reduction amount increment parameter and the initial noise reduction amount stored in the initial noise reduction amount override parameter storage area.
In a feasible implementation manner, the parameter setting request may carry a noise reduction amount increasing parameter, a noise reduction amount decreasing parameter, and/or an initial noise reduction amount, and the noise reduction device stores the noise reduction amount increasing parameter, the noise reduction amount decreasing parameter, and/or the initial noise reduction amount carried in the parameter setting request to the parameter storage area.
The step S10 includes:
step S103, obtaining the noise reduction amount increment parameter and the initial noise reduction amount from the parameter storage area.
When the noise reduction device needs to acquire the noise reduction increment parameter and the initial noise reduction, the noise reduction device can acquire the noise reduction increment parameter and the initial noise reduction from the parameter storage area. In a possible implementation, when the noise reduction device needs to acquire the noise reduction amount decreasing parameter, the noise reduction amount decreasing parameter may also be acquired from the parameter storage area.
Further, in a possible implementation manner, before the step S50, the method further includes:
step S60, after detecting that the test mode is entered, obtaining a plurality of test groups, wherein one test group comprises an incremental parameter test value and a noise reduction test value;
the noise reduction device may have a test mode set therein, and may enter the test mode in response to a user-triggered instruction or in response to an instruction sent by another device. There may be a plurality of noise reduction increment parameters, and accordingly, a single increment parameter test value may comprise a plurality of increment parameter test values. For example, when the noise reduction amount increasing parameter includes an increasing step and an increasing time interval, a set of increasing parameter test values includes an increasing step and a time interval. The incremental parameter test values in each test group are different, reflecting different incremental trends, some may be steep, and some may be gentle. The test value of the noise reduction amount is corresponding to the initial noise reduction amount, the test value of the noise reduction amount in each test group is different, and different initial noise reduction amounts are reflected, wherein some initial noise reduction amounts are possibly high, and some initial noise reduction amounts are possibly low.
In this embodiment, the obtaining manner of each test group is not limited, and may be preset in the noise reduction device, for example.
Step S70, respectively carrying out a round of noise reduction effect test on each test group, and acquiring noise reduction effect feedback information of a user for each round of noise reduction effect test;
in the test mode, for each test group, the noise reduction device can respectively perform a round of noise reduction effect test, that is, perform active noise reduction according to the incremental parameter test value and the noise reduction test value in the test group. There are many ways to obtain the noise reduction effect feedback information, which is not limited in this embodiment, and for example, the noise reduction effect feedback information may be obtained based on a user operating a physical key in the noise reduction device. The noise reduction effect feedback information may represent experience of the user on the active noise reduction effect during the round of noise reduction effect test, for example, may represent information that the noise reduction effect is good or not good. The user feels that there is ear pressure to the experience of initiative noise reduction effect when this round of noise reduction effect test, then can feed back noise reduction effect not good, if do not have the discomfort, then can feed back noise reduction effect good.
Further, in a possible implementation manner, the step of performing a round of noise reduction test on one test group in the step S70 includes:
and step S701, after the active noise reduction mode is started, controlling the noise reduction amount of active noise reduction to be increased from the noise reduction amount test value in the test group to the upper limit of the noise reduction amount along with time according to the increasing parameter test value in the test group.
That is, the purpose of a round of noise reduction effect test corresponding to the test group is to use the noise reduction amount test value in the test group as the initial noise reduction parameter, and increase the noise reduction amount by the increasing trend corresponding to the increasing parameter test value in the test group, so as to see whether the user can adapt to the active noise reduction process and whether discomfort is generated, thereby determining whether the test value in the test group is suitable for the user.
S80, selecting a test group with the best noise reduction effect from each test group according to the noise reduction effect feedback information;
and step S90, triggering the parameter setting request, and correspondingly taking the incremental parameter test value and the noise reduction test value in the selected test group as a noise reduction incremental parameter and an initial noise reduction to be carried in the parameter setting request.
It should be noted that, if there are a plurality of test groups with the best noise reduction effect, one of the test groups may be randomly selected or one of the test groups with the steepest increasing trend may be selected, and the increasing parameter test value and the noise reduction test value in the test group are carried in the parameter setting request, so that the noise reduction device performs active noise reduction subsequently according to the increasing parameter test value and the noise reduction test value in the test group as the noise reduction increasing parameter and the initial noise reduction, thereby making the active noise reduction effect more symbolic of the individual requirements of the user of the noise reduction device.
Further, in a possible implementation, the step S10 includes:
step S104, carrying out identity recognition on a user to obtain a user identifier;
the user refers to a user of the noise reduction device, and in a specific embodiment, the noise reduction device may identify the identity of the user each time the noise reduction device is started, or identify the identity information of the user after detecting a request for starting the active noise reduction mode. It is understood that different users may use the noise reduction device, and different users have different identifications, and the user identification may be obtained by performing identity recognition. In this embodiment, the manner of identifying the user is not limited, and for example, the manner may be a fingerprint, a voiceprint, a password, or the like, and the noise reduction device assigns different identifiers to different users, and if the user is identified and determined to be a user that has been recorded before, the identifier assigned before may be directly obtained, and if the user does not have been recorded before, a new identifier may be assigned.
And step S105, acquiring the noise reduction increment parameter and the initial noise reduction amount which are set corresponding to the user identification from a preset parameter library.
The noise reduction device may be provided with a parameter library, that is, a preset parameter library, where the parameter library may include noise reduction amount incremental parameters, initial noise reduction amounts, and noise reduction amount upper limits corresponding to different user identifiers. The noise reduction amount incremental parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount corresponding to the user identifier in the preset parameter library may be set in the noise reduction device by the user corresponding to the user identifier, or may be set in other manners, which is not limited in this embodiment. For example, in a possible implementation manner, when the parameter setting request is triggered in step S90, the user may be identified to obtain a user identifier, and the user identifier is also carried in the parameter setting request. The noise reduction device stores the user identification, the noise reduction amount increment parameter and the initial noise reduction amount in the parameter setting request in a parameter storage area in an associated manner.
In a possible implementation manner, if the default parameter library does not include the noise reduction amount incremental parameter and the initial noise reduction amount corresponding to the user identifier, the default noise reduction amount incremental parameter and the initial noise reduction amount in the noise reduction device may be obtained.
In addition, an embodiment of the present invention further provides a noise reduction apparatus, and referring to fig. 5, the noise reduction apparatus includes:
an obtaining module 10, configured to obtain a noise reduction amount incremental parameter, an initial noise reduction amount, and a noise reduction amount upper limit;
and the noise reduction module 20 is configured to, after the active noise reduction mode is started, control the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter.
Further, the obtaining module 10 is further configured to obtain a noise reduction decrement parameter;
the noise reduction module 20 is further configured to, after detecting the request for closing the active noise reduction mode, control the noise reduction amount of active noise reduction to decrease from the current noise reduction amount to the initial noise reduction amount over time according to the noise reduction amount decreasing parameter, and close the active noise reduction mode after decreasing to the initial noise reduction amount.
Further, the obtaining module 10 is further configured to:
after detecting the request for starting the active noise reduction mode, acquiring environmental noise;
and determining an initial noise reduction amount according to the environmental noise, wherein the initial noise reduction amount is smaller when the environmental noise is larger.
Further, the noise reduction apparatus further includes:
the storage module is used for storing the noise reduction amount incremental parameter and the initial noise reduction amount in the parameter setting request to a parameter storage area after the parameter setting request is detected;
the obtaining module 10 is further configured to obtain the noise reduction amount incremental parameter and the initial noise reduction amount from the parameter storage area.
Further, the obtaining module 10 is further configured to:
after detecting that the test mode is entered, acquiring a plurality of test groups, wherein one test group comprises an incremental parameter test value and a noise reduction test value;
the noise reduction device further includes:
the test module is used for respectively carrying out a round of noise reduction effect test on each test group and acquiring noise reduction effect feedback information of a user for each round of noise reduction effect test;
the selection module is used for selecting the test group with the best noise reduction effect from the test groups according to the noise reduction effect feedback information;
and the triggering module is used for triggering the parameter setting request and correspondingly taking the incremental parameter test value and the noise reduction test value in the selected test group as the noise reduction incremental parameter and the initial noise reduction to be carried in the parameter setting request.
Further, the test module is further configured to:
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the noise reduction amount test value in the test group to the upper limit of the noise reduction amount along with time according to the increasing parameter test value in the test group.
Further, the obtaining module 10 is further configured to:
carrying out identity recognition on a user to obtain a user identifier;
and acquiring a noise reduction increment parameter and an initial noise reduction which are set corresponding to the user identification from a preset parameter library.
For each embodiment of the noise reduction device of the present invention, reference may be made to each embodiment of the noise reduction method of the present invention, and details are not repeated here.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a noise reduction program is stored on the storage medium, and the noise reduction program, when executed by a processor, implements the steps of the noise reduction method as described below.
The embodiments of the noise reduction device and the computer-readable storage medium of the present invention can refer to the embodiments of the noise reduction method of the present invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of noise reduction, the method comprising:
acquiring a noise reduction increment parameter, an initial noise reduction and an upper limit of the noise reduction;
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter.
2. The noise reduction method of claim 1, further comprising:
acquiring a noise reduction amount decreasing parameter;
and after the request for closing the active noise reduction mode is detected, controlling the noise reduction amount of active noise reduction to be reduced from the current noise reduction amount to the initial noise reduction amount along with time according to the noise reduction amount reduction parameter, and closing the active noise reduction mode after the noise reduction amount is reduced to the initial noise reduction amount.
3. The noise reduction method according to claim 1, wherein the step of obtaining an initial noise reduction amount includes:
acquiring environmental noise after detecting a request for starting the active noise reduction mode;
and determining an initial noise reduction amount according to the environment noise, wherein the initial noise reduction amount is smaller when the environment noise is larger.
4. A method of noise reduction according to any of claims 1 to 3, further comprising:
after a parameter setting request is detected, storing a noise reduction amount incremental parameter and an initial noise reduction amount in the parameter setting request into a parameter storage area;
the step of obtaining the noise reduction increment parameter and the initial noise reduction comprises the following steps:
acquiring the noise reduction amount increment parameter and the initial noise reduction amount from the parameter storage area.
5. The noise reduction method according to claim 4, wherein before the step of saving the noise reduction amount increment parameter and the initial noise reduction amount in the parameter setting request to the parameter storage area after detecting the parameter setting request, further comprising:
after detecting that the test mode is entered, acquiring a plurality of test groups, wherein one test group comprises an incremental parameter test value and a noise reduction test value;
respectively carrying out a round of noise reduction effect test on each test group, and acquiring noise reduction effect feedback information of a user for each round of noise reduction effect test;
selecting a test group with the best noise reduction effect from the test groups according to the noise reduction effect feedback information;
and triggering the parameter setting request, and correspondingly taking the incremental parameter test value and the noise reduction amount test value in the selected test group as a noise reduction amount incremental parameter and an initial noise reduction amount to be carried in the parameter setting request.
6. The noise reduction method of claim 5, wherein the step of performing a round of noise reduction tests for one of the test groups comprises:
and after the active noise reduction mode is started, controlling the noise reduction amount of the active noise reduction to be increased from the noise reduction amount test value in the test group to the upper limit of the noise reduction amount along with time according to the increasing parameter test value in the test group.
7. The noise reduction method according to any one of claims 1 to 6, wherein the step of obtaining the noise reduction amount increment parameter and the initial noise reduction amount includes:
carrying out identity recognition on a user to obtain a user identifier;
and acquiring a noise reduction increment parameter and an initial noise reduction which are set corresponding to the user identification from a preset parameter library.
8. A noise reducing device, comprising:
the acquisition module is used for acquiring the noise reduction increment parameter, the initial noise reduction and the upper limit of the noise reduction;
and the noise reduction module is used for controlling the noise reduction amount of the active noise reduction to be increased from the initial noise reduction amount to the upper limit of the noise reduction amount along with time according to the noise reduction amount increasing parameter after the active noise reduction mode is started.
9. A noise reduction apparatus, characterized in that the noise reduction apparatus comprises: memory, a processor and a noise reduction program stored on the memory and executable on the processor, the noise reduction program when executed by the processor implementing the steps of the noise reduction method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a noise reduction program is stored on the computer-readable storage medium, which when executed by a processor implements the steps of the noise reduction method according to any one of claims 1 to 7.
CN202211446553.0A 2022-11-18 2022-11-18 Noise reduction method, device, equipment and computer readable storage medium Pending CN115731914A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211446553.0A CN115731914A (en) 2022-11-18 2022-11-18 Noise reduction method, device, equipment and computer readable storage medium
PCT/CN2023/129941 WO2024104212A1 (en) 2022-11-18 2023-11-06 Noise reduction method, apparatus and device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211446553.0A CN115731914A (en) 2022-11-18 2022-11-18 Noise reduction method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115731914A true CN115731914A (en) 2023-03-03

Family

ID=85296573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211446553.0A Pending CN115731914A (en) 2022-11-18 2022-11-18 Noise reduction method, device, equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN115731914A (en)
WO (1) WO2024104212A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024104212A1 (en) * 2022-11-18 2024-05-23 歌尔科技有限公司 Noise reduction method, apparatus and device, and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000039889A (en) * 1998-07-24 2000-02-08 Oki Electric Ind Co Ltd Noise reduction device
CN106412788B (en) * 2016-10-31 2019-08-02 歌尔科技有限公司 A kind of test method and test macro of the active noise reduction earphone that feedovers
CN108989931B (en) * 2018-06-19 2020-10-09 美特科技(苏州)有限公司 Hearing protection earphone, hearing protection method thereof and computer readable storage medium
CN208908482U (en) * 2018-06-19 2019-05-28 美特科技(苏州)有限公司 The earphone of adjustable noise reduction
CN113676803B (en) * 2020-05-14 2023-03-10 华为技术有限公司 Active noise reduction method and device
CN114786085A (en) * 2022-05-11 2022-07-22 北京小米移动软件有限公司 Noise reduction control method and device, noise reduction earphone and storage medium
CN115731914A (en) * 2022-11-18 2023-03-03 歌尔科技有限公司 Noise reduction method, device, equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024104212A1 (en) * 2022-11-18 2024-05-23 歌尔科技有限公司 Noise reduction method, apparatus and device, and computer readable storage medium

Also Published As

Publication number Publication date
WO2024104212A1 (en) 2024-05-23

Similar Documents

Publication Publication Date Title
CN106558310B (en) Virtual reality voice control method and device
CN110187753B (en) Application program control method, device, terminal and computer readable storage medium
CN110493678B (en) Earphone control method and device, earphone and storage medium
KR102423712B1 (en) Transfer of automation assistant routines between client devices during routine execution
US9515627B2 (en) Devices and methods for audio volume adjustment
US9854439B2 (en) Device and method for authenticating a user of a voice user interface and selectively managing incoming communications
CN110166631B (en) Motor vibration method, device and system and readable medium
US20180152163A1 (en) Noise control method and device
US20180285068A1 (en) Processing method of audio control and electronic device thereof
WO2024104212A1 (en) Noise reduction method, apparatus and device, and computer readable storage medium
CN112911441A (en) Noise reduction method, apparatus, audio device, and computer-readable storage medium
CN106161801A (en) Call volume adjusting method and device of mobile terminal
CN110972012A (en) Earphone control method and earphone
CN112015365A (en) Volume adjustment method and device and electronic equipment
CN113709629A (en) Frequency response parameter adjusting method, device, equipment and storage medium
CN111986670A (en) Voice control method, device, electronic equipment and computer readable storage medium
CN105472128B (en) A kind of call control method and device
CN111800700A (en) Method and device for prompting object in environment, earphone equipment and storage medium
CN109600470B (en) Mobile terminal and sound production control method thereof
CN108769799B (en) Information processing method and electronic equipment
CN110173864B (en) Control method of air conditioner, air conditioner and storage medium
CN111599360B (en) Wake-up control method and device, storage medium and electronic equipment
CN114095825A (en) Mode switching method and device, audio playing equipment and computer readable medium
CN112911062A (en) Voice processing method, control device, terminal device and storage medium
JP2019160151A (en) Voice output device, voice output control method and program

Legal Events

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