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

By controlling the gradual increase in noise reduction in active noise reduction equipment, the ear pressure sensor problem when the noise reduction function is turned on is solved, and a more comfortable user experience is achieved.

CN115731914BActive Publication Date: 2025-06-24GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211446553.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2025-06-24
Estimated Expiration
2042-11-18

AI Technical Summary

Technical Problem

When the active noise reduction device turns on, it will bring unwell ear pressure to the user.

Method used

By obtaining the noise reduction increment parameters, initial noise reduction amount and upper limit, after turning on the active noise reduction mode, the noise reduction amount is gradually increased from the initial value to the upper limit according to the noise reduction amount increment parameters to avoid sudden changes in ear pressure.

Benefits of technology

It effectively avoids ear pressure discomfort when turning on the active noise reduction function, providing a more comfortable user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115731914B_ABST
    Figure CN115731914B_ABST
Patent Text Reader

Abstract

The present invention discloses a noise reduction method, device, equipment and computer-readable storage medium. The method includes: obtaining a noise reduction amount increment parameter, an initial noise reduction amount and a noise reduction amount upper limit; after the active noise reduction mode is turned on, controlling the noise reduction amount of the active noise reduction to increase from the initial noise reduction amount to the noise reduction amount upper limit over time according to the noise reduction amount increment parameter. The present invention realizes avoiding the uncomfortable ear pressure feeling brought to the user instantaneously when the active noise reduction function is turned on.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio processing, and particularly to a noise reduction method, device, equipment and computer-readable storage medium. Background Art

[0002] With the continuous development of society, noise pollution has attracted more and more attention. The active noise reduction function is very popular. For example, active noise reduction headphones can effectively reduce external noises such as aircraft noise, subway noise, air conditioner noise and other environmental noises. The active noise reduction technology mainly utilizes the principle of sound wave interference, and generates a secondary noise equal in value and opposite in phase to the original noise signal through a control circuit to cancel the original noise signal. At present, when an active noise reduction device is turned on instantaneously, it will bring an uncomfortable ear pressure feeling to the user. Summary of the Invention

[0003] The main purpose of the present invention is to provide a noise reduction method, device, equipment and computer-readable storage medium, aiming to provide an active noise reduction solution to avoid bringing an uncomfortable ear pressure feeling to the user when the active noise reduction function is turned on instantaneously.

[0004] To achieve the above object, the present invention provides a noise reduction method, which includes the following steps:

[0005] Obtain a noise reduction amount increasing parameter, an initial noise reduction amount and a noise reduction amount upper limit;

[0006] After turning on the active noise reduction mode, control the noise reduction amount of the active noise reduction to increase from the initial noise reduction amount to the noise reduction amount upper limit over time according to the noise reduction amount increasing parameter.

[0007] Optionally, the noise reduction method further includes:

[0008] Obtain a noise reduction amount decreasing parameter;

[0009] After detecting a request to turn off the active noise reduction mode, control the noise reduction amount of the 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 turn off the active noise reduction mode after decreasing to the initial noise reduction amount.

[0010] Optionally, the step of obtaining the initial noise reduction amount includes:

[0011] After detecting a request to turn on the active noise reduction mode, obtain the ambient noise;

[0012] Determine the initial noise reduction amount according to the ambient noise, where the initial noise reduction amount is smaller when the ambient noise is larger.

[0013] Optionally, the noise reduction method further includes:

[0014] After detecting a parameter setting request, save the noise reduction increment parameter and the initial noise reduction amount in the parameter setting request to the parameter storage area;

[0015] The steps of obtaining the noise reduction increment parameter and the initial noise reduction amount include:

[0016] Obtain the noise reduction increment parameter and the initial noise reduction amount from the parameter storage area.

[0017] Optionally, before the step of saving the noise reduction 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 include:

[0018] After detecting entering the test mode, obtain a plurality of test groups, where one test group includes an increment parameter test value and a noise reduction amount test value;

[0019] Conduct a round of noise reduction effect tests for each of the test groups, and obtain the noise reduction effect feedback information of the user for each round of the noise reduction effect tests;

[0020] Select the test group with the best noise reduction effect from each of the test groups according to the noise reduction effect feedback information;

[0021] Trigger the parameter setting request, and correspondingly use the increment parameter test value and the noise reduction amount test value in the selected test group as the noise reduction increment parameter and the initial noise reduction amount and carry them in the parameter setting request.

[0022] Optionally, the step of conducting a round of noise reduction effect tests for one test group includes:

[0023] After turning on the active noise reduction mode, control the noise reduction amount of the active noise reduction to increase from the noise reduction amount test value in the test group to the noise reduction amount upper limit over time according to the increment parameter test value in the test group.

[0024] Optionally, the steps of obtaining the noise reduction increment parameter and the initial noise reduction amount include:

[0025] Perform user identification to obtain a user identifier;

[0026] Obtain the noise reduction increment parameter and the initial noise reduction amount set corresponding to the user identifier from a preset parameter library.

[0027] To achieve the above object, the present invention further provides a noise reduction device, and the noise reduction device includes:

[0028] An acquisition module, configured to acquire a noise reduction increment parameter, an initial noise reduction amount, and a noise reduction amount upper limit;

[0029] A noise reduction module, which is used to control the noise reduction amount of active noise reduction to increase from the initial noise reduction amount to the upper limit of the noise reduction amount over time according to the noise reduction amount increasing parameter after the active noise reduction mode is turned on.

[0030] To achieve the above object, the present invention also provides a noise reduction device, which includes: a memory, a processor, and a noise reduction program stored on the memory and executable on the processor. When the noise reduction program is executed by the processor, the steps of the above-mentioned noise reduction method are implemented.

[0031] In addition, to achieve the above object, the present invention also proposes a computer-readable storage medium, on which a noise reduction program is stored. When the noise reduction program is executed by a processor, the steps of the above-mentioned noise reduction method are implemented.

[0032] In the present invention, by obtaining the noise reduction amount increasing parameter, 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 of active noise reduction is controlled to increase from the initial noise reduction amount to the upper limit of the noise reduction amount over time, thereby avoiding the uncomfortable ear pressure feeling brought to the user instantaneously when the active noise reduction function is turned on. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic structural diagram of the hardware operating environment related to the solution of the embodiment of the present invention;

[0034] Figure 2 It is a schematic flowchart of the first embodiment of the noise reduction method of the present invention;

[0035] Figure 3 It is a schematic diagram of the change in the noise reduction amount of an active noise reduction mode related to the embodiment of the present invention;

[0036] Figure 4 It is a schematic diagram of the change in the noise reduction amount of an active noise reduction mode related to the embodiment of the present invention;

[0037] Figure 5 It is a schematic diagram of the functional modules of the preferred embodiment of the noise reduction device of the present invention.

[0038] The realization, functional features, and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0039] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0040] As Figure 1 shown, Figure 1 is a schematic diagram of the device structure of the hardware operating environment related to the solution of the embodiment of the present invention.

[0041] It should be noted that for the noise reduction device in the embodiments of the present invention, the noise reduction device may be a device with active noise reduction function, such as a headphone device, a smart helmet, etc., and no specific limitation is made here.

[0042] As Figure 1 shown, the noise reduction device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0043] Those skilled in the art can understand that Figure 1 the device structure shown in

[0044] As Figure 1 shown, in the memory 1005 as a computer storage medium, there may be included an operating system, a network communication module, a user interface module, and a noise reduction program. The operating system is a program for managing and controlling the hardware and software resources of the device, and supports the operation of the noise reduction program and other software or programs. In the Figure 1 device shown, the user interface 1003 is mainly used for data communication with the client; the network interface 1004 is mainly used for establishing a communication connection with the server; and the processor 1001 may be used to call the noise reduction program stored in the memory 1005 and perform the following operations:

[0045] Obtain a noise reduction amount increment parameter, an initial noise reduction amount, and a noise reduction amount upper limit;

[0046] After the active noise reduction mode is turned on, control the noise reduction amount of the active noise reduction to increase from the initial noise reduction amount to the noise reduction amount upper limit over time according to the noise reduction amount increment parameter.

[0047] Further, the processor 1001 may also be used to call the noise reduction program stored in the memory 1005 and perform the following operations:

[0048] Obtain a noise reduction amount decrement parameter;

[0049] After detecting a request to turn off the active noise cancellation mode, control the noise cancellation amount of the active noise cancellation to decrease from the current noise cancellation amount to the initial noise cancellation amount over time according to the noise cancellation amount decreasing parameter, and turn off the active noise cancellation mode after decreasing to the initial noise cancellation amount.

[0050] Further, the operation of obtaining the initial noise cancellation amount includes:

[0051] After detecting a request to turn on the active noise cancellation mode, obtain the ambient noise;

[0052] Determine the initial noise cancellation amount according to the ambient noise, wherein the larger the ambient noise, the smaller the initial noise cancellation amount.

[0053] Further, the processor 1001 can also be used to call the noise cancellation program stored in the memory 1005 and perform the following operations:

[0054] After detecting a parameter setting request, save the noise cancellation amount increasing parameter and the initial noise cancellation amount in the parameter setting request to the parameter storage area;

[0055] The operations of obtaining the noise cancellation amount increasing parameter and the initial noise cancellation amount include:

[0056] Obtain the noise cancellation amount increasing parameter and the initial noise cancellation amount from the parameter storage area.

[0057] Further, before the operation of saving the noise cancellation amount increasing parameter and the initial noise cancellation amount in the parameter setting request to the parameter storage area after detecting a parameter setting request, the processor 1001 can also be used to call the noise cancellation program stored in the memory 1005 and perform the following operations:

[0058] After detecting entering the test mode, obtain a plurality of test groups, wherein one of the test groups includes an increasing parameter test value and a noise cancellation amount test value;

[0059] Conduct a round of noise cancellation effect tests for each of the test groups respectively, and obtain the noise cancellation effect feedback information of the user for each round of the noise cancellation effect tests;

[0060] Select the test group with the best noise cancellation effect from each of the test groups according to the noise cancellation effect feedback information;

[0061] Trigger the parameter setting request, and carry the increasing parameter test value and the noise cancellation amount test value in the selected test group as the noise cancellation amount increasing parameter and the initial noise cancellation amount in the parameter setting request.

[0062] Further, the operation of conducting a round of noise cancellation effect tests for one of the test groups includes:

[0063] After the active noise reduction mode is turned on, control the noise reduction amount of active noise reduction according to the increasing parameter test values in the test group, and increase the noise reduction amount from the noise reduction amount test value in the test group to the upper limit of the noise reduction amount over time.

[0064] Further, the steps of obtaining the noise reduction amount increasing parameter and the initial noise reduction amount include:

[0065] Perform user identification to obtain a user identifier;

[0066] Obtain the noise reduction amount increasing parameter and the initial noise reduction amount set corresponding to the user identifier from a preset parameter library.

[0067] Based on the above structure, various embodiments of the noise reduction method are proposed.

[0068] Refer to Figure 2 , Figure 2 which is a schematic flowchart of the first embodiment of the noise reduction method of the present invention.

[0069] The embodiments of the present invention provide embodiments of the noise reduction method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order from here. The execution subject of the noise reduction method in the embodiments of the present invention may be a device with active noise reduction function, such as a headphone device. For the convenience of description below, the noise reduction device is taken as an example to elaborate on each embodiment. In this embodiment, the noise reduction method includes:

[0070] Step S10, obtain the noise reduction amount increasing parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount;

[0071] The noise reduction amount of active noise reduction refers to the degree of noise reduction that active noise reduction can achieve, and its unit can be but is not limited to decibels (dB). The noise reduction amount increasing parameter is a parameter used to control the increase of the noise reduction amount of active noise reduction. In this embodiment, no specific limitation is imposed on what kind of parameter the noise reduction amount increasing parameter is. For example, when increasing the noise reduction amount according to an increasing curve, the noise reduction amount increasing parameter can be the slope of the increasing curve. When increasing the noise reduction amount at regular intervals according to a certain step, the noise reduction amount increasing parameter can be the step and the time interval. The initial noise reduction amount is the noise reduction amount at 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 the active noise reduction function in the noise reduction device can reach, and the upper limit of the noise reduction amount of each noise reduction device may be different.

[0072] In the specific implementation manner, obtaining the noise reduction amount increasing parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount may specifically be obtaining these several pieces of data pre-set in the noise reduction device, or may also be obtained by calculation using a calculation formula, or may also be obtained from other devices. In this embodiment, no limitation is imposed on the obtaining manner of these several pieces of data.

[0073] In a specific embodiment, after detecting a request to turn on the active noise cancellation mode, the noise reduction amount increment parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount may be obtained. Among them, the request to turn on the active noise cancellation mode may be triggered by the user or by the noise cancellation device when it detects that the trigger condition is met, such as when it detects that the user wears the noise cancellation device.

[0074] Step S20: After turning on the active noise cancellation mode, control the noise reduction amount of the active noise cancellation to increase from the initial noise reduction amount to the upper limit of the noise reduction amount over time according to the noise reduction amount increment parameter.

[0075] The active noise cancellation mode may be feedforward active noise cancellation, feedback active noise cancellation, or hybrid active noise cancellation, which is not limited in this embodiment.

[0076] In a specific embodiment, after detecting a request to turn on the active noise cancellation mode, the noise cancellation device may obtain the noise reduction amount increment parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount. After obtaining these data, the active noise cancellation mode is turned on.

[0077] In a specific embodiment, in the active noise cancellation mode, the noise cancellation device performs active noise cancellation according to a given noise reduction amount. The greater the given noise reduction amount, the higher the degree of noise reduction. The smaller the given noise reduction amount, the lower the degree of noise reduction. The noise reduction amount at each moment after turning on the active noise cancellation mode is calculated by the noise cancellation device according to the noise reduction amount increment parameter and the initial noise reduction amount. Until the calculated noise reduction amount at a certain moment is equal to the upper limit of the noise reduction amount, the upper limit of the noise reduction amount is continuously maintained. The method of calculating the noise reduction amount at each moment according to the noise reduction amount increment parameter and the initial noise reduction amount is specifically related to the way of increasing the noise reduction amount, and the calculation process is not limited in this embodiment. For example, when increasing the noise reduction amount according to an increasing curve and the noise reduction amount increment parameter is the slope of the increasing curve, the moment, the initial noise reduction amount, and the noise reduction amount increment parameter can be substituted into the increasing curve formula to calculate the noise reduction amount corresponding to that moment. Another example is when increasing the noise reduction amount by a certain step every other period of time and the noise reduction amount increment parameter is the step and the time interval, it can be determined that after reaching the time interval of the increase, the noise reduction amount is increased by one step.

[0078] It can be understood that in this embodiment, after the noise cancellation device turns on the active noise cancellation mode, it does not directly reach the highest degree of noise reduction, but increases from a lower degree of noise reduction to the highest degree of noise reduction over time, so that the sound pressure does not drop sharply but drops gradually over time, thus avoiding the sudden ear pressure difference caused by the sharp drop in sound pressure and bringing discomfort to the user.

[0079] In a specific implementation, after the noise reduction amount increases to the upper limit of the noise reduction amount and the active noise reduction mode is still on, the noise reduction device can continuously maintain the upper limit of the noise reduction amount until the active noise reduction mode is turned off.

[0080] In this embodiment, by obtaining the noise reduction amount increment parameter, 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 of the active noise reduction is controlled to increase from the initial noise reduction amount to the upper limit of the noise reduction amount over time according to the noise reduction amount increment parameter, thereby avoiding the uncomfortable ear pressure feeling brought to the user instantaneously when the active noise reduction function is turned on.

[0081] Further, in a feasible implementation, the noise reduction method further includes:

[0082] Step S30, obtaining a noise reduction amount decrement parameter;

[0083] The noise reduction amount decrement parameter is a parameter used to control the decrement of the noise reduction amount of the active noise reduction. In this embodiment, there is no limitation on what specific parameter the noise reduction amount decrement parameter is. For example, when the noise reduction amount is decremented according to a decrement curve, the noise reduction amount decrement parameter can be the slope of the decrement curve. When the noise reduction amount is decreased at regular intervals according to a certain step, the noise reduction amount decrement parameter can be the step and the time interval.

[0084] In a specific implementation, obtaining the noise reduction amount decrement parameter can specifically be obtaining the noise reduction amount decrement parameter pre-set in the noise reduction device, or it can also be obtained by calculation using a calculation formula, or it can also be obtained from other devices. In this embodiment, there is no limitation on the acquisition method of the noise reduction amount decrement parameter.

[0085] In a specific implementation, it can be but is not limited to obtaining the noise reduction amount decrement parameter after detecting a request to turn off the active noise reduction mode. Among them, the request to turn off the active noise reduction mode can be triggered by the user, or can be triggered by the noise reduction device when it detects that the trigger condition is met.

[0086] Step S40, after detecting a request to turn off the active noise reduction mode, controlling the noise reduction amount of the 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 decrement parameter, and turning off the active noise reduction mode after decreasing to the initial noise reduction amount.

[0087] In a specific implementation, in the active noise reduction mode, the noise reduction device performs active noise reduction according to a given noise reduction amount. The larger the given noise reduction amount, the higher the noise reduction degree, and the smaller the given noise reduction amount, the lower the noise reduction degree. After detecting a request to turn off the active noise reduction mode, the noise reduction device obtains the current noise reduction amount, and then calculates the noise reduction amount at each subsequent moment according to the noise reduction amount decreasing parameter and the current noise reduction amount, until the noise reduction amount calculated at a certain moment is less than or equal to the initial noise reduction amount, and then turns off the active noise reduction mode. The manner of calculating the noise reduction amount at each moment according to the noise reduction amount decreasing parameter and the current noise reduction amount is specifically related to the manner 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 the slope of the decreasing curve, the time, the current noise reduction amount, and the noise reduction amount decreasing parameter can be substituted into the 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 certain period of time according to a certain step, and the noise reduction amount decreasing parameter is the step and time interval, it can be determined that after the decreasing time interval is reached, the noise reduction amount is reduced by one step.

[0088] It can be understood that in this embodiment, when the noise reduction device turns off the active noise reduction mode, it does not directly turn off, but decreases from a higher noise reduction level to a lower noise reduction level over time, so that the sound pressure does not increase sharply but gradually increases over time, thereby avoiding the sudden ear pressure difference caused by the sudden increase in sound pressure to bring uncomfortable ear pressure to the user.

[0089] It is understandable that after the active noise reduction mode is turned on, a request to turn off the active noise reduction mode is detected before the noise reduction amount increases to the upper limit of the noise reduction amount, 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 increases to the upper limit of the noise reduction amount, and a request to turn off the active noise reduction mode is detected after the upper limit of the noise reduction amount is maintained for a period of time, then the current noise reduction amount is the upper limit of the noise reduction amount.

[0090] Further, based on the above first embodiment, a second embodiment of the noise reduction method of the present invention is proposed. In this embodiment, the step of obtaining the initial noise reduction amount in step S10 includes:

[0091] Step S101, after detecting a request to turn on the active noise reduction mode, obtaining environmental noise;

[0092] In this embodiment, by determining the initial noise reduction amount according to the ambient noise, it is possible to improve the timeliness of the feedback of the active noise reduction effect while avoiding the user from feeling an uncomfortable ear pressure.

[0093] The environmental noise can be obtained through a microphone in the noise reduction device. For example, when the noise reduction device is a headphone device, the environmental noise can be obtained through a feedforward microphone in the headphone device.

[0094] Step S102: Determine an initial noise reduction amount according to the environmental noise, where the initial noise reduction amount is smaller when the environmental noise is larger.

[0095] In a specific implementation, the magnitude of the environmental noise can (but is not limited to) be reflected by the sound pressure level or sound pressure value of the environmental noise. The larger the sound pressure level or sound pressure value, the greater the environmental noise. That is, the noise reduction device can calculate the sound pressure level or sound pressure value of the environmental noise and determine the initial noise reduction amount according to the sound pressure level and sound pressure value. In this embodiment, the method for determining the initial noise reduction amount according to the environmental noise is not limited, as long as it meets the requirement that the initial noise reduction amount is smaller when the environmental noise is larger.

[0096] It should be noted that in the case of relatively large environmental noise (i.e., a noisy environment), starting from a small initial noise reduction amount and increasing gradually can prevent the user from suddenly entering an environment with a small sound pressure from an environment with a large sound pressure, thereby avoiding the uncomfortable ear pressure caused by a sudden sound pressure difference. In the case of relatively small environmental noise (i.e., a quiet environment), since the ambient sound pressure where the user is located is not large itself, starting from a large initial noise reduction amount and increasing gradually can enable the user to quickly feel the effect of active noise reduction being turned on. That is, it can improve the timeliness of feedback on the active noise reduction effect.

[0097] Conversely, before turning off the active noise reduction mode, in the case of relatively large environmental noise (i.e., a noisy environment), by gradually decreasing the current noise reduction amount to a small initial noise reduction amount before turning off the active noise reduction mode, it can prevent the user from suddenly entering an environment with a large sound pressure from an environment with a small sound pressure, thereby avoiding the uncomfortable ear pressure caused by a sudden sound pressure difference. In the case of relatively small environmental noise (i.e., a quiet environment), since the ambient sound pressure where the user is located is not large itself after turning off the active noise reduction mode, by gradually decreasing the current noise reduction amount to a small initial noise reduction amount, it can enable the user to quickly feel the effect of active noise reduction being turned off. That is, it can improve the timeliness of feedback on the active noise reduction effect.

[0098] In a feasible implementation, the initial noise reduction amount can be determined according to the following formula.

[0099]

[0100] Where ANC0 is the initial noise reduction amount, ANC maxis the upper limit of the noise reduction amount, noise is the sound pressure level of the ambient noise, k can be a preset default value, such as 1 / 2, or it can also be user-defined. The two thresholds of 60dB and 80dB can also be set according to specific situations.

[0101] As Figure 3 , it shows a schematic diagram of the change in the noise reduction amount of active noise reduction under three ambient noise conditions of noise≤60dB, noise>80sB, and 60dB<noise≤80dB after the active noise reduction mode is turned on. As Figure 4 , it shows a schematic diagram of the change in the noise reduction amount of active noise reduction under three ambient noise conditions of noise≤60dB, noise>80sB, and 60dB<noise≤80dB after a request to turn off the active noise reduction mode is detected.

[0102] Further, based on the above first and / or second embodiments, a third embodiment of the noise reduction method of the present invention is proposed. In this embodiment, the noise reduction method further includes:

[0103] Step S50, after detecting a parameter setting request, save the noise reduction amount increment parameter and the initial noise reduction amount in the parameter setting request to the parameter storage area;

[0104] The parameter setting request is used to request the noise reduction device to set the noise reduction amount increment parameter and the initial noise reduction amount. It can be sent by other devices to the noise reduction device, or triggered by the user in the noise reduction device. In this embodiment, the generation method of the parameter setting request is not limited. The parameter setting request carries the noise reduction amount increment parameter and the initial noise reduction amount, and the noise reduction device saves the noise reduction amount increment parameter and the initial noise reduction amount in the parameter storage area. The parameter storage area is the storage area in the noise reduction device for storing the noise reduction amount increment parameter and the initial noise reduction amount. In a specific implementation, when the parameter storage area already stores the noise reduction amount increment parameter and the initial noise reduction amount, the noise reduction device can use the noise reduction amount increment parameter and the initial noise reduction amount carried in the parameter setting request to overwrite the noise reduction amount increment parameter and the initial noise reduction amount stored in the parameter storage area.

[0105] In a feasible implementation, the parameter setting request can carry the noise reduction amount increment parameter, the noise reduction amount decrement parameter, and / or the initial noise reduction amount, and the noise reduction device saves the noise reduction amount increment parameter, the noise reduction amount decrement parameter, and / or the initial noise reduction amount carried in the parameter setting request to the parameter storage area.

[0106] The step S10 includes:

[0107] Step S103, obtain the noise reduction amount increment parameter and the initial noise reduction amount from the parameter storage area.

[0108] When the noise reduction device needs to obtain the noise reduction increment parameter and the initial noise reduction amount, it can obtain them from the parameter storage area. In a feasible implementation, when the noise reduction device needs to obtain the noise reduction decrement parameter, it can also obtain it from the parameter storage area.

[0109] Further, in a feasible implementation, before the step S50, the following steps are further included:

[0110] Step S60, after detecting the entry into the test mode, obtain multiple test groups, where one of the test groups includes a set of increment parameter test values and a noise reduction amount test value;

[0111] The test mode can be set in the noise reduction device, and it can enter the test mode in response to an instruction triggered by the user or an instruction sent by other devices. There may be multiple noise reduction increment parameters, so correspondingly, a set of increment parameter test values may include multiple increment parameter test values. For example, when the noise reduction increment parameters include an increment step and an increment time interval, a set of increment parameter test values includes an increment step and a time interval. The increment parameter test values in each test group are different, reflecting different increment trends, some may be steep and some may be gentle. The noise reduction amount test value corresponds to the initial noise reduction amount, and the noise reduction amount test values in each test group are different, reflecting different initial noise reduction amounts, some may be high and some may be low.

[0112] In this embodiment, there is no limitation on the acquisition method of each test group. For example, it can be pre-set in the noise reduction device.

[0113] Step S70, perform a round of noise reduction effect tests for each of the test groups respectively, and obtain the noise reduction effect feedback information of the user for each round of the noise reduction effect tests;

[0114] In the test mode, for each test group, the noise reduction device can perform a round of noise reduction effect tests respectively, that is, perform active noise reduction with the increment parameter test values and the noise reduction amount test values in the test group. There are many ways to obtain the noise reduction effect feedback information, which is not limited in this embodiment. For example, it can be obtained based on the user's operation of the physical buttons on the noise reduction device. The noise reduction effect feedback information can represent the user's experience of the active noise reduction effect during this round of noise reduction effect tests. For example, it can be information indicating that the noise reduction effect is good or bad. If the user feels ear pressure during this round of noise reduction effect tests, it can be feedback that the noise reduction effect is bad. If there is no discomfort, it can be feedback that the noise reduction effect is good.

[0115] Further, in a feasible implementation, the step of performing a round of noise reduction effect tests for one of the test groups in the step S70 includes:

[0116] Step S701, after enabling the active noise cancellation mode, control the noise cancellation amount of the active noise cancellation to increase from the noise cancellation amount test value in the test group to the noise cancellation amount upper limit over time according to the increasing parameter test value in the test group.

[0117] That is, the purpose of a round of noise cancellation effect test corresponding to the test group is to use the noise cancellation amount test value in the test group as the initial noise cancellation parameter, and increase the noise cancellation amount according to the increasing trend corresponding to the increasing parameter test value in the test group, to see whether the user can adapt to the active noise cancellation process and whether discomfort will occur, so as to judge whether the test value in the test group is suitable for the user.

[0118] Step S80, select the test group with the best noise cancellation effect from each of the test groups according to the noise cancellation effect feedback information;

[0119] Step S90, trigger the parameter setting request, and carry the increasing parameter test value and the noise cancellation amount test value in the selected test group as the noise cancellation amount increasing parameter and the initial noise cancellation amount in the parameter setting request.

[0120] It should be noted that if there are multiple test groups with the best noise cancellation effect, one can be randomly selected or the one with the steepest increasing trend can be selected, and carry the increasing parameter test value and the noise cancellation amount test value in this test group in the parameter setting request, so that the noise cancellation device will perform active noise cancellation according to the increasing parameter test value and the noise cancellation amount test value in this test group as the noise cancellation amount increasing parameter and the initial noise cancellation amount in the future, so that the active noise cancellation effect can better meet the personal needs of the user of this noise cancellation device.

[0121] Further, in a feasible implementation manner, the step S10 includes:

[0122] Step S104, perform user identification to obtain a user identifier;

[0123] The user refers to the user of the noise cancellation device. In a specific implementation manner, the noise cancellation device can identify the user's identity each time it is started, or can identify the user's identity information after detecting a request to enable the active noise cancellation mode. It can be understood that different users may use the noise cancellation device, and different users have different identifiers. Performing user identification can obtain the user identifier. In this implementation manner, the method of performing user identification on the user is not limited. For example, it can be fingerprint, voiceprint, password, etc. The noise cancellation device assigns different identifiers to different users. If the user is identified and determined to be a previously recorded user, the previously assigned identifier can be directly obtained. If it is a user who has not been recorded before, a new identifier can be assigned.

[0124] Step S105: Obtain the noise reduction increment parameter and the initial noise reduction amount set corresponding to the user identifier from the preset parameter library.

[0125] A parameter library, namely the preset parameter library, can be set in the noise reduction device. The parameter library may include the noise reduction increment parameter, the initial noise reduction amount, and the upper limit of the noise reduction amount corresponding to different user identifiers. The noise reduction increment 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 can be set by the user corresponding to the user identifier in the noise reduction device, or can be set by other means, which is not limited in this embodiment. For example, in a feasible embodiment, when triggering a parameter setting request in step S90, the user can be identified to obtain the user identifier, and the user identifier can also be carried in the parameter setting request. The noise reduction device associates and stores the user identifier, the noise reduction increment parameter, and the initial noise reduction amount in the parameter setting request in the parameter storage area.

[0126] In a feasible embodiment, if there is no noise reduction increment parameter and initial noise reduction amount corresponding to the user identifier in the preset parameter library, the default noise reduction increment parameter and initial noise reduction amount in the noise reduction device can be obtained.

[0127] In addition, an embodiment of the present invention further proposes a noise reduction device. Referring to Figure 5 , the noise reduction device includes:

[0128] An acquisition module 10, configured to obtain a noise reduction increment parameter, an initial noise reduction amount, and an upper limit of the noise reduction amount;

[0129] A noise reduction module 20, configured to, after the active noise reduction mode is turned on, control the noise reduction amount of the active noise reduction to increase from the initial noise reduction amount to the upper limit of the noise reduction amount over time according to the noise reduction increment parameter.

[0130] Further, the acquisition module 10 is further configured to obtain a noise reduction decrement parameter;

[0131] The noise reduction module 20 is further configured to, after detecting a request to turn off the active noise reduction mode, control the noise reduction amount of the active noise reduction to decrease from the current noise reduction amount to the initial noise reduction amount over time according to the noise reduction decrement parameter, and turn off the active noise reduction mode after decreasing to the initial noise reduction amount.

[0132] Further, the acquisition module 10 is further configured to:

[0133] After detecting a request to turn on the active noise reduction mode, obtain the ambient noise;

[0134] Determine the initial noise reduction amount according to the ambient noise, where the smaller the ambient noise, the smaller the initial noise reduction amount.

[0135] Further, the noise reduction device further includes:

[0136] A saving module, configured to save the noise reduction increment parameter and the initial noise reduction amount in the parameter setting request to a parameter storage area after detecting a parameter setting request;

[0137] The obtaining module 10 is further configured to obtain the noise reduction increment parameter and the initial noise reduction amount from the parameter storage area.

[0138] Further, the obtaining module 10 is further configured to:

[0139] After detecting entering the test mode, obtain a plurality of test groups, where one test group includes an increment parameter test value and a noise reduction amount test value;

[0140] The noise reduction device further includes:

[0141] A test module, configured to perform a round of noise reduction effect tests for each of the test groups respectively, and obtain the noise reduction effect feedback information of the user for each round of the noise reduction effect tests;

[0142] A selection module, configured to select the test group with the best noise reduction effect from each of the test groups according to the noise reduction effect feedback information;

[0143] A trigger module, configured to trigger the parameter setting request, and use the increment parameter test value and the noise reduction amount test value in the selected test group as the noise reduction increment parameter and the initial noise reduction amount respectively and carry them in the parameter setting request.

[0144] Further, the test module is further configured to:

[0145] After turning on the active noise reduction mode, control the noise reduction amount of the active noise reduction to increase from the noise reduction amount test value in the test group to the noise reduction amount upper limit over time according to the increment parameter test value in the test group.

[0146] Further, the obtaining module 10 is further configured to:

[0147] Perform user identification to obtain a user identifier;

[0148] Obtain the noise reduction increment parameter and the initial noise reduction amount set corresponding to the user identifier from a preset parameter library.

[0149] For each embodiment of the noise reduction device of the present invention, each embodiment of the noise reduction method of the present invention can be referred to, and details are not described herein again.

[0150] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a noise reduction program is stored, and when the noise reduction program is executed by a processor, the steps of the following-described noise reduction method are implemented.

[0151] For each embodiment of the noise reduction device and computer-readable storage medium of the present invention, reference may be made to each embodiment of the noise reduction method of the present invention, which will not be elaborated here.

[0152] It should be noted that in this document, the terms "including", "comprising" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including that element.

[0153] The serial numbers of the above embodiments of the present invention are only for description and do not represent the superiority or inferiority of the embodiments.

[0154] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0155] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present invention.

Claims

1. A noise reduction method, characterized in that, The noise reduction method includes: After detecting the entry into the test mode, obtain a plurality of test groups, where one of the test groups includes an increasing parameter test value and a noise reduction amount test value; Conduct a round of noise reduction effect tests for each of the test groups respectively, and obtain the noise reduction effect feedback information of the user for each round of the noise reduction effect tests; Select the test group with the best noise reduction effect from each of the test groups according to the noise reduction effect feedback information; Trigger a parameter setting request, and carry the increasing parameter test value and the noise reduction amount test value in the selected test group as the noise reduction amount increasing parameter and the initial noise reduction amount in the parameter setting request; After detecting the parameter setting request, save the noise reduction amount increasing parameter and the initial noise reduction amount in the parameter setting request to the parameter storage area; Obtain the noise reduction amount increasing parameter, the initial noise reduction amount, and the noise reduction amount upper limit; After enabling the active noise reduction mode, control the noise reduction amount of the active noise reduction to increase from the initial noise reduction amount to the noise reduction amount upper limit over time according to the noise reduction amount increasing parameter.

2. The noise reduction method according to claim 1, wherein The noise reduction method further includes: Obtain the noise reduction amount decreasing parameter; After detecting a request to turn off the active noise reduction mode, control the noise reduction amount of the 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 turn off the active noise reduction mode after decreasing to the initial noise reduction amount.

3. The noise reduction method according to claim 1, wherein The step of obtaining the initial noise reduction amount includes: After detecting a request to turn on the active noise reduction mode, obtain the environmental noise; Determine the initial noise reduction amount according to the environmental noise, where the larger the environmental noise, the smaller the initial noise reduction amount.

4. The noise reduction method according to claim 1, wherein The steps of obtaining the noise reduction amount increasing parameter and the initial noise reduction amount include: Obtain the noise reduction amount increasing parameter and the initial noise reduction amount from the parameter storage area.

5. The noise reduction method according to claim 1, characterized in that, The step of conducting a round of noise reduction effect tests for one of the test groups includes: After enabling the active noise reduction mode, control the noise reduction amount of the active noise reduction to increase from the noise reduction amount test value in the test group to the noise reduction amount upper limit over time according to the increasing parameter test value in the test group.

6. The noise reduction method according to any one of claims 1 to 5, characterized in that The steps of obtaining the noise reduction amount increasing parameter and the initial noise reduction amount include: Perform user identification to obtain a user identifier; Obtain the noise reduction amount increasing parameter and the initial noise reduction amount set corresponding to the user identifier from a preset parameter library.

7. A noise reduction device, characterized in that, The noise reduction device includes: An obtaining module, configured to obtain a plurality of test groups after detecting the entry into the test mode, where one of the test groups includes an increasing parameter test value and a noise reduction amount test value; A testing module, configured to conduct a round of noise reduction effect tests for each of the test groups respectively, and obtain the noise reduction effect feedback information of the user for each round of the noise reduction effect tests; A selecting module, configured to select the test group with the best noise reduction effect from each of the test groups according to the noise reduction effect feedback information; A triggering module, configured to trigger a parameter setting request, and carry the increasing parameter test value and the noise reduction amount test value in the selected test group as the noise reduction amount increasing parameter and the initial noise reduction amount in the parameter setting request; A saving module, configured to save the noise reduction increment parameter and the initial noise reduction amount in the parameter setting request to a parameter storage area after detecting the parameter setting request; The obtaining module is further configured to obtain a noise reduction increment parameter, an initial noise reduction amount, and a noise reduction upper limit; A noise reduction module, configured to, after the active noise reduction mode is turned on, control the noise reduction amount of the active noise reduction to increase from the initial noise reduction amount to the noise reduction upper limit over time according to the noise reduction increment parameter.

8. A noise reduction device, characterized in that, The noise reduction device includes: a memory, a processor, and a noise reduction program stored on the memory and executable on the processor. When the noise reduction program is executed by the processor, the steps of the noise reduction method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that, A noise reduction program is stored on the computer-readable storage medium. When the noise reduction program is executed by a processor, the steps of the noise reduction method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Hearing-protecting earphone and hearing-protecting method thereof, and compute program storage medium

    CN108989931A

  • Method and system for adjusting ANC depth of Bluetooth headset through mobile phone APP

    CN114844976A