Method, device, equipment and storage medium for detecting noise reduction amount of uplink noise reduction

By weighting the reference audio data and noise reduction audio data, the problem of poor uplink noise reduction detection accuracy in the prior art is solved, and quantitative evaluation and accurate detection of the noise reduction amount of the detection equipment are realized.

CN114495978BActive Publication Date: 2025-02-07SHENZHEN HORN AUDIO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011166345.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2025-02-07
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

In the prior art, there is a problem of poor accuracy in the evaluation and detection of uplink noise reduction effects, which mainly rely on subjective call evaluation.

Method used

By obtaining reference audio data and noise reduction audio data, weighting process them, weighting sound levels are calculated, and the noise reduction amount of uplink noise reduction of the device to be detected is determined based on these sound levels.

Benefits of technology

The accuracy of detection of upstream noise reduction effect is improved, and the noise reduction amount of the equipment to be detected is quantitatively evaluated, which is more closely related to the judgment of the human ear.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114495978B_ABST
    Figure CN114495978B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of computer technology, and provides a method, device, equipment and storage medium for detecting the amount of noise reduction of uplink noise reduction, the method comprising: obtaining reference audio data, wherein the reference audio data is generated by a recording device recording human voice and noise without performing uplink noise reduction processing; obtaining noise reduction audio data, wherein the noise reduction audio data is generated by a device to be detected recording the human voice and the noise and performing uplink noise reduction processing; performing weighted processing on the reference audio data and the noise reduction audio data respectively to obtain the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data; determining the amount of noise reduction of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data. The method provided by the present application can realize the quantitative detection of the amount of noise reduction of the uplink noise reduction of the device to be detected, and the detection accuracy is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, device, equipment and storage medium for detecting a noise reduction amount of uplink noise reduction. Background Art

[0002] Uplink noise reduction refers to the process of processing noise during a voice call so that the other party can hear the person's voice clearly. The purpose of uplink noise reduction is to amplify the voice signal while reducing the noise signal. At present, uplink noise reduction technology is increasingly being used in various electronic devices, such as digital headphones, mobile phones, tablet computers, laptops, etc.

[0003] In conventional technology, the evaluation and detection of the noise reduction effect of uplink noise reduction is mainly performed by subjective call evaluation. However, subjective call evaluation varies from person to person, and the noise reduction amount detection of uplink noise reduction has the problem of poor accuracy. Summary of the invention

[0004] The present application provides a method, apparatus, device and storage medium for detecting a noise reduction amount of uplink noise reduction, which can improve the accuracy of detecting an uplink noise reduction effect.

[0005] In a first aspect, an embodiment of the present application provides a method for detecting a noise reduction amount of uplink noise reduction, the method comprising:

[0006] Acquire reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;

[0007] Acquire noise reduction audio data, wherein the noise reduction audio data is generated after the device to be detected records the human voice and the noise and performs uplink noise reduction processing;

[0008] Performing weighting processing on the reference audio data and the noise reduction audio data respectively to obtain a weighted sound level of the reference audio data and a weighted sound level of the noise reduction audio data;

[0009] The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.

[0010] In one embodiment, the reference audio data and the noise reduction audio data both include vocal data, noise data and mixed data, the vocal data is generated by recording the vocal, the noise data is generated by recording the noise, and the mixed data is generated by simultaneously recording the vocal and the noise;

[0011] The step of performing weighted processing on the reference audio data and the noise reduction audio data to obtain the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data comprises:

[0012] Performing weighting processing on the human voice data, noise data and mixed data in the reference audio data respectively to obtain at least one of a first human voice weighted sound level, a first noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data;

[0013] Performing weighting processing on at least one of the human voice data, noise data and mixed data in the noise reduction audio data respectively to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data;

[0014] The step of determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data comprises:

[0015] The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to at least one of the first voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and at least one of the second voice weighted sound level, the second noise weighted sound level and the second mixed weighted sound level.

[0016] In one embodiment, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level, comprises:

[0017] Determine a difference between the first human voice weighted sound level and the first noise weighted sound level to obtain a first difference;

[0018] determining a difference between the second human voice weighted sound level and the second noise weighted sound level to obtain a second difference;

[0019] The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to the first difference and the second difference.

[0020] In one implementation manner, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the first difference and the second difference includes:

[0021] The difference between the first difference and the second difference is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0022] In one embodiment, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level, comprises:

[0023] determining a difference between the first mixed weighted sound level and the first noise weighted sound level to obtain a third difference;

[0024] determining a difference between the second mixed weighted sound level and the second noise weighted sound level to obtain a fourth difference;

[0025] The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to the third difference and the fourth difference.

[0026] In one implementation manner, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the third difference and the fourth difference includes:

[0027] The difference between the third difference and the fourth difference is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0028] In one of the implementation modes, before determining the noise reduction amount of the uplink noise reduction of the device to be detected, the method further includes:

[0029] Adjusting the gain of the amplifier of the recording device so that the first human voice weighted sound level is equal to the second human voice weighted sound level; adjusting the gain of the amplifier of the recording device so that the first human voice weighted sound level is equal to the second human voice weighted sound level;

[0030] The step of determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level, comprises:

[0031] The difference between the first noise weighted sound level and the second noise weighted sound level is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0032] In a second aspect, an embodiment of the present application provides a device for detecting a noise reduction amount of uplink noise reduction, the device comprising:

[0033] A reference data acquisition module, used to acquire reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;

[0034] A noise reduction data acquisition module, used to acquire noise reduction audio data, wherein the noise reduction audio data is generated after the device to be detected records the human voice and the noise and performs uplink noise reduction processing;

[0035] A weighting module, used to perform weighting processing on the reference audio data and the noise reduction audio data respectively to obtain a weighted sound level of the reference audio data and a weighted sound level of the noise reduction audio data;

[0036] A determination module is used to determine the noise reduction amount of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.

[0037] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described above when executing the computer program.

[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method described above when executed by a processor.

[0039] The above-mentioned method, device, equipment and storage medium for detecting the amount of noise reduction of uplink noise reduction respectively weights the reference audio data and the noise reduction audio data to obtain the weighting of the reference audio data and the weighting of the noise reduction audio data, and further determines the amount of noise reduction of the uplink noise reduction of the device to be tested based on the weighted sound level of the reference data and the weighted sound level of the noise reduction audio data, and evaluates the noise reduction effect of the device to be tested. In the above-mentioned method, device, equipment and storage medium for detecting the amount of noise reduction of uplink noise reduction, the reference audio data is data generated by recording human voice and noise without uplink noise reduction processing. Therefore, the weighted sound level of the reference audio data is used as a reference for the weighted sound level of the noise reduction audio data, and the noise reduction amount of the device to be tested can be quantitatively determined. Compared with subjective call evaluation, quantitative detection of the noise reduction amount is achieved, thereby improving the accuracy of detection. In addition, weighted processing is the process of processing data to simulate the auditory characteristics of the human ear. The noise reduction amount determined by referring to the weighted sound level of the audio data and the weighted sound level of the noise reduction audio data can be closer to the noise reduction effect evaluation result judged by the human ear, further improving the accuracy of the noise reduction amount detection of the uplink noise reduction of the equipment to be detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 This is a schematic diagram of the structure of an electronic device in one embodiment of the present application;

[0042] Figure 2 This is a schematic diagram of the layout of the recording environment in one embodiment of the present application;

[0043] Figure 3 A schematic diagram of a flow chart of a method for detecting a noise reduction amount of uplink noise reduction in one embodiment of the present application;

[0044] Figure 4 A schematic diagram of a flow chart of a method for detecting a noise reduction amount of uplink noise reduction in one embodiment of the present application;

[0045] Figure 5 A schematic diagram of a time domain curve of mixed data in noise-reduced audio data in one embodiment of the present application;

[0046] Figure 6 A frequency domain curve diagram of mixed data in noise-reduced audio data in one embodiment of the present application;

[0047] Figure 7 A schematic flow chart of a method for detecting a noise reduction amount of uplink noise reduction in one embodiment of the present application;

[0048] Figure 8 A schematic diagram of a time domain curve of human voice, noise, noise reduction audio data and reference audio data in one embodiment of the present application;

[0049] Fig. 9 A schematic flow chart of a method for detecting a noise reduction amount of uplink noise reduction in one embodiment of the present application;

[0050] Fig.10 A schematic flow chart of a method for detecting a noise reduction amount of uplink noise reduction in another embodiment of the present application;

[0051] Fig.11 This is a structural block diagram of a device for detecting the amount of uplink noise reduction in one embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] It can be understood that the terms "first", "second", etc. used in the present application can be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.

[0054] Figure 1 FIG. 1 is a schematic diagram of the structure of an electronic device in an embodiment. The method for detecting the noise reduction amount of uplink noise reduction can be applied to Figure 1 The electronic device shown. The electronic device includes a processor, a memory, a network interface, a database, a display screen and an input device connected by a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store the reference audio data or noise reduction audio data in the following embodiments, and the specific description of the reference audio data and the noise reduction audio data is shown in the specific description in the following embodiments. The network interface of the electronic device can be used to communicate with other external devices through a network connection. Optionally, the electronic device can be a server, a desktop, a personal digital assistant, or other terminal devices, such as a tablet computer, a mobile phone, etc., or a cloud or remote server. The specific form of the electronic device is not limited in the embodiments of the present application. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc. Of course, the input device and the display screen may not be part of the electronic device, but may be external devices of the electronic device.

[0055] Those skilled in the art will understand that Figure 1 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0056] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0057] It should be noted that the execution subject of the following method embodiment may also be a device for detecting the noise reduction amount of uplink noise reduction, which may be implemented as part or all of the above electronic device by software, hardware, or a combination of software and hardware. The following method embodiment is described by taking the execution subject as an electronic device as an example.

[0058] The method for detecting the noise reduction amount of uplink noise reduction provided in the embodiment of the present application is used to detect the noise reduction amount of an electronic device (hereinafter referred to as the device to be detected) using the uplink noise reduction technology. The noise reduction amount is used to characterize the amount of noise reduction caused by the uplink noise reduction processing of the device to be detected, that is, the amount of noise reduction in a certain audio data by the device to be detected using the uplink noise reduction technology compared with the reference device not using the uplink noise reduction technology. The device to be detected includes but is not limited to digital headphones, laptops, mobile phones, tablet computers and other devices that have voice call functions and uplink noise reduction functions.

[0059] In one embodiment, the noise reduction amount of the uplink noise reduction of the device to be detected can be detected by playing human voice and noise in a recording test environment, recording through a recording device, recording through the device to be detected and performing uplink noise reduction processing, and inputting the data output by the recording device and the device to be detected into an electronic device for further processing. The recording device records the human voice and noise but does not perform noise reduction processing to generate reference audio data. The device to be detected records the human voice and noise and performs uplink noise reduction processing to generate noise reduction audio data.

[0060] Figure 2 A schematic diagram of a recording test environment provided for an embodiment. The first playback device 201 and the second playback device 202 are both set in the recording test environment. Among them, the first playback device 201 is used to play human voices, and the second playback device 202 is used to play noises. The first playback device 201 and the second playback device 202 can play human voices and noises in different scenes as needed. For example, the first playback device 201 can simulate the playback of male or female voices, and the second playback device 202 can simulate the playback of noises in scenes such as restaurants, trains, and airplanes, and can also simulate pink noise, etc. The first playback device 201 can be, but not limited to, a head and torso simulator (HATS) or an artificial mouth, etc. The second playback device 202 can be, but not limited to, a speaker or a loudspeaker, etc. Taking the first playback device 201 as a HATS as an example, the device to be tested 203 can be directly worn on the HATS according to the actual usage method, or worn on the HATS through a fixture for recording. The recording device (not shown in the figure) can be set at the same position as the device to be tested 203 for recording before or after the device to be tested 203 records, so as to ensure the consistency of the human voice and noise recorded by the recording device and the device to be tested 203, and improve the accuracy of the noise reduction amount detection of the subsequent uplink noise reduction. In another embodiment, the recording device and the device to be tested 203 can also be set at the same position of the HAT, so as to record at the same time, improve the consistency of the human voice and noise time between the recording device and the device to be tested 203, and improve the accuracy of the noise reduction amount detection of the subsequent uplink noise reduction.

[0061] In one embodiment, the number of the second playback devices 202 is multiple. The multiple second playback devices 202 can be evenly distributed around the recording device or the device to be tested 203. When the recording device and the device to be tested 203 are recording at the same time, the multiple second playback devices 202 can be evenly distributed around both the recording device and the device to be tested 203, so that the noise recorded by the second playback device 202, the recording device and the device to be tested 203 is more uniform, the simulation of the real scene is more realistic, and the accuracy of the noise reduction amount detection of the uplink noise reduction is improved. For example, the HATS can be set in the middle of a test space, the recording device and the device to be tested 203 are worn on the human ear of the HATS, and multiple speakers are evenly arranged in the room around the HATS 360°. It can be understood that when multiple second playback devices 202 are evenly distributed so that the positions of the second playback devices 202 relative to the first playback device 201 are symmetrical, the recording device and the device to be tested 203 can also be symmetrically set on the first playback device 201 and record at the same time to ensure the consistency of the sounds recorded by the two. For example, the recording device is worn on the left ear of the HATS, and the device to be tested 203 is worn on the right ear of the HATS. The recording device and the device to be tested 203 record at the same time, which can ensure the uniformity of the sounds recorded by the two and the consistency in time.

[0062] In one embodiment, the recording device may be an omnidirectional microphone, which can evenly record sounds from all directions to improve the recording effect.

[0063] Figure 3 FIG. 1 is a flow chart of a method for detecting the amount of noise reduction in uplink noise reduction in one embodiment. Figure 3 As shown, the method for detecting the noise reduction amount of uplink noise reduction may include:

[0064] S301. Obtain reference audio data, where the reference audio data is generated by a recording device recording human voice and noise without performing uplink noise reduction processing.

[0065] The reference audio data may be data generated by recording human voice and noise for a preset duration without performing uplink noise reduction processing. The reference audio data may be directly obtained from a recording device, or may be recorded by a recording device and stored in an electronic device, or may be recorded by a recording device and stored in an electronic device after performing preset processing by the recording device or other devices, wherein the preset processing includes but is not limited to spectrum analysis. The reference audio data may be time domain data or frequency domain data.

[0066] S302: Acquire noise reduction audio data, wherein the noise reduction audio data is generated after the device to be detected records human voice and noise and performs uplink noise reduction processing.

[0067] Similarly, the noise reduction audio data can be data generated by recording human voice and noise of a preset duration and performing uplink noise reduction processing. The noise reduction audio data can be directly obtained from the device to be detected, or it can be transmitted by the device to be detected and stored in an electronic device. It can also be recorded by the device to be detected and subjected to uplink noise reduction processing, and then stored in an electronic device after preset processing by the device to be detected or other devices, wherein the preset processing includes but is not limited to spectrum analysis. It should be noted that the noise reduction audio data and the reference audio data are two types of data obtained after processing the same human voice and noise. For example, the reference audio data is the data generated by recording human voice A and noise B, and the uplink noise reduction processing is not performed. Then, the noise reduction audio data is the data generated by recording human voice A and noise B and performing uplink noise reduction processing.

[0068] S303 , weighting the reference audio data and the noise reduction audio data respectively to obtain a weighted sound level of the reference audio data and a weighted sound level of the noise reduction audio data.

[0069] The electronic device performs weighted processing on the reference audio data and the noise reduction frequency data obtained, respectively, wherein the weighted processing can be time domain weighting or frequency domain weighting. The weighted processing can be processed by a weighted network, which can be an A weighted network, a B weighted network, a C weighted network or a D weighted network. The embodiment of the present application does not impose any limitation on this, and the selected weighted network can be determined according to the simulated scene and the size of the noise played. Correspondingly, the result obtained by the weighted processing can be an A weighted sound level, a B weighted sound level, a C weighted sound level or a D weighted sound level. The specific algorithm for weighted processing of the reference audio data and the noise reduction frequency data can be an energy average summation weighting, such as Average RMS power (average sine wave root mean square power) A weighting, and can also be an energy summation weighting, such as Total RMS power (total sine wave root mean square power) A weighting or Power Sum (power summation) A weighting, etc.

[0070] In some embodiments, the electronic device can implement weighted processing of the reference audio data and the noise reduction audio data by installing audio analysis software. In other embodiments, the reference audio data and the noise reduction audio data can also be partially or completely weighted by an audio analysis device connected to the electronic device, and the processing result can be transmitted to the electronic device.

[0071] S304: Determine the noise reduction amount of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.

[0072] As described above, the amount of noise reduction in a certain audio data by the device to be detected using the uplink noise reduction technology is compared with the reference device not using the uplink noise reduction technology. The weighted sound level of the reference audio data represents the size of the human voice and noise that have not been processed by the uplink noise reduction, and the weighted sound level of the noise-reduced audio data represents the size of the above-mentioned human voice and noise that have been processed by the uplink noise reduction. Therefore, by using the weighted sound level of the reference audio data as a reference, the amount of noise reduction by the device to be detected using the uplink noise reduction technology can be quantitatively determined compared with the recording data that does not use the uplink noise reduction technology, that is, the amount of noise reduction of the device to be detected can be quantitatively determined. Compared with subjective call evaluation, the method provided in this embodiment realizes quantitative detection of noise reduction amount, thereby improving the accuracy of detection. In addition, weighted processing is a process of processing data by simulating the auditory characteristics of the human ear. The amount of noise reduction determined by the weighted sound level of the reference audio data and the weighted sound level of the noise-reduced audio data can be closer to the noise reduction effect evaluation result judged by the human ear, thereby further improving the accuracy of noise reduction amount detection of the uplink noise reduction of the device to be detected.

[0073] It can be understood that the first playback device and the second playback device can play at the same time or separately. When the first playback device plays the human voice alone, the recording device and the device to be detected record the data of pure human voice, and obtain the human voice data; when the second playback device plays the noise alone, the recording device and the device to be detected record the data of pure noise, and obtain the noise data; when the first playback device and the second playback device play at the same time, the recording device and the device to be detected record the data of the mixed sound of the above human voice and the above noise, and obtain the mixed data. In other words, the reference audio data and the noise reduction audio data both include human voice data, noise data and mixed data. It should be noted that the human voice data, noise data and mixed data in the reference audio data have not undergone uplink noise reduction processing, and the human voice data, noise data and mixed data in the noise reduction audio data have undergone uplink noise reduction processing.

[0074] Figure 4 In one embodiment, the reference audio data and the noise reduction audio data are weighted to obtain the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data, and the noise reduction amount of the uplink noise reduction of the device to be detected is further determined according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data. Figure 4 As shown, S303 includes:

[0075] S401. Perform weighting processing on at least one of the human voice data, noise data and mixed data in the reference audio data to obtain at least one of a first human voice weighted sound level, a second noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data.

[0076] The electronic device performs weighted processing on the vocal data in the reference audio data to obtain the weighted sound level of the vocal data corresponding to the reference audio data, which is named the first vocal weighted sound level; the electronic device performs weighted processing on the noise data in the reference audio data to obtain the weighted sound level of the noise data corresponding to the reference audio data, which is named the first noise weighted sound level; the electronic device performs weighted processing on the mixed data in the reference audio data to obtain the weighted sound level of the mixed data corresponding to the reference audio data, which is named the first mixed weighted sound level. As needed, one of the vocal data, noise data and mixed data in the reference audio data can be weighted, or multiple of them can be weighted.

[0077] S402: Perform weighting processing on at least one of the human voice data, noise data and mixed data in the noise reduction audio data to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data.

[0078] The electronic device performs weighted processing on the human voice data in the noise reduction audio data to obtain the weighted sound level of the human voice data corresponding to the noise reduction audio data, which is named as the second human voice weighted sound level; the electronic device performs weighted processing on the noise data in the noise reduction audio data to obtain the weighted sound level of the noise data corresponding to the noise reduction audio data, which is named as the second noise weighted sound level; the electronic device performs weighted processing on the mixed data in the noise reduction audio data to obtain the weighted sound level of the mixed data corresponding to the noise reduction audio data, which is named as the second mixed weighted sound level. As needed, one of the human voice data, noise data and mixed data in the noise reduction audio data can be weighted, or multiple of them can be weighted.

[0079] like Figure 4 As shown, S304 includes:

[0080] S403: Determine the amount of uplink noise reduction of the device to be detected according to at least one of the first voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and at least one of the second voice weighted sound level, the second noise weighted sound level and the second mixed weighted sound level.

[0081] Specifically, the noise reduction amount of the uplink noise reduction of the device to be detected is directly or indirectly calculated according to one or more of the first human voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and one or more of the second human voice weighted sound level, the second noise weighted sound level and the second mixed weighted sound level. The first human voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level are the results obtained after processing the human voice and noise that have not been subjected to noise reduction processing. As a reference, the noise reduction amount of the uplink noise reduction of the device to be detected can be quantitatively determined.

[0082] In this embodiment, by weighting at least one of the human voice data, noise data and mixed data in the reference audio data, weighting is performed on at least one of the human voice data, noise data and mixed data in the noise reduction audio data, and based on the result of the above weighting, it is easier to determine the change in the noise amount before and after the uplink noise reduction, and then it is easier, more directly and quickly to determine the noise reduction amount of the uplink noise reduction of the device to be detected, thereby improving the detection efficiency.

[0083] In one embodiment, both the reference audio data and the noise reduction audio data are time domain data. Then, taking the determination of the second mixed weighted sound level as an example, the weighting process may be as follows:

[0084] See also Figure 5 , Figure 5 is a time domain curve diagram of the mixed data in the noise-reduced audio data. The mixed data in the noise-reduced audio data is subjected to Fourier transform to obtain the spectrum data corresponding to the mixed data in the noise-reduced audio data, which is named as mixed spectrum data, such as Figure 6 As shown. The mixed spectrum data characterizes the changing relationship between amplitude and frequency. The mixed spectrum data is weighted and calculated to obtain a weighted value of the mixed spectrum. Optionally, the weighted sound level of the mixed spectrum data can be calculated with a preset octave. When the mixed spectrum data contains an octave, a weighted sound level is calculated and the weighted sound level is used as the second mixed weighted sound level. When the mixed spectrum data contains multiple octaves, multiple weighted sound levels are calculated, and the multiple weighted sound levels can be summed or averaged to obtain a value that characterizes the size of the mixed data in the noise reduction frequency data, i.e., the second mixed weighted sound level. There is no limitation on the specific algorithm for summing and averaging, and it can be selected according to actual needs.

[0085] It is understandable that different recording devices may have different sensitivities and preamplifier gains, etc., which may result in different audio data obtained after recording the same sound, and different results after weighting processing. For example, two recording devices that do not include a noise reduction function record the same sound and perform weighting processing. The result of one recording device may be 100dB, while the result of the other recording device may be 80dB. Therefore, the above-mentioned recording device and the device to be tested process the same human voice and noise to obtain data, and the weighted sound levels obtained by further processing may be the same or different. The following is combined with the embodiments to further explain the specific method for determining the noise reduction amount of the uplink noise reduction of the device to be tested in full consideration of various situations.

[0086] In one embodiment, when the recording device and the device to be detected have the same sensitivity, amplifier gain, etc., that is, the first human voice weighted sound level is equal to the second human voice weighted sound level, S403 includes:

[0087] The difference between the first noise weighted sound level and the second noise weighted sound level is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0088] Specifically, the performance of the recording device and the device to be tested can be tested in advance. If the first human voice weighted sound level is equal to the second human voice weighted sound level, it means that the results obtained by the two for the same sound recording are the same. Therefore, the first noise weighted sound level and the second noise weighted sound level can be directly subtracted, and the result can represent the noise reduction amount of the uplink noise reduction of the device to be tested. Optionally, the result of subtracting the second noise weighted sound level from the first noise weighted sound level can be used to represent the noise reduction amount of the uplink noise reduction of the device to be tested, or the result of subtracting the first noise weighted sound level from the second noise weighted sound level can be used to represent the noise reduction amount of the uplink noise reduction of the device to be tested. The absolute value of the difference between the first noise weighted sound level and the second noise weighted sound level can also be used to represent the noise reduction amount of the uplink noise reduction of the device to be tested.

[0089] In this embodiment, the noise reduction amount of the uplink noise reduction of the device to be detected can be determined by directly calculating the difference between the first noise weighted sound level and the second noise weighted sound level. The calculation method is simple and the detection efficiency is improved.

[0090] See also Figure 7 In one embodiment, when the first human voice weighted sound level is not equal to the second human voice weighted sound level, S403 includes:

[0091] S701, adjusting the gain of an amplifier of a recording device so that the weighted sound level of the first human voice is equal to the weighted sound level of the second human voice;

[0092] S702, obtaining updated reference audio data, wherein the updated reference audio data is generated by recording a human voice and noise with a recording device after adjusting gain and without performing uplink noise reduction processing;

[0093] S703, performing weighting processing on the noise data in the updated reference audio data to obtain a third noise weighted sound level;

[0094] S704: Calculate the difference between the third noise weighted sound level and the second noise weighted sound level to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0095] Specifically, the gain of the preamplifier of the recording device can be adjusted multiple times, and after each adjustment, the weighted sound level of the first human voice and the weighted sound level of the second human voice are calculated to be equal. If they are not equal, the adjustment is continued. If they are equal, the audio data recorded this time is used as the updated reference audio data. The noise data in the updated reference audio data is weighted to obtain a third noise weighted sound level, and then the third noise weighted sound level is subtracted from the second noise weighted sound level to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0096] Please also see Figure 8 , Figure 8 The figure is a schematic diagram of the time domain curves of human voice, noise, noise reduction audio data and reference audio data, wherein the A1 segment, A2 segment and A3 segment are respectively schematic diagrams of the time domain curves of the mixed audio data, human voice data and noise data in the noise reduction audio data, and the B1 segment, B2 segment and B3 segment are respectively schematic diagrams of the time domain curves of the mixed audio data, human voice data and noise data in the reference audio data. The weighted sound level of the B1 segment data is the first mixed weighted sound level, the weighted sound level of the B2 segment data is the first human voice weighted sound level, the weighted sound level of the B3 segment data is the first noise weighted sound level, the weighted sound level of the A1 segment data is the second mixed weighted sound level, the weighted sound level of the A2 segment data is the second human voice weighted sound level, and the weighted sound level of the A3 segment data is the second noise weighted sound level. When the weighted sound level of the A2 segment is equal to the weighted sound level of the B2 segment, the difference between the weighted sound level of the A3 segment and the weighted sound level of the B3 segment is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected. When the weighted sound level of the A2 segment is not equal to the weighted sound level of the B2 segment, the gain of the amplifier of the recording device can be adjusted to make the weighted sound level of the A2 segment equal to the weighted sound level of the B2 segment, thereby calculating the difference between the weighted sound level of the B3 segment in this recording and the weighted sound level of the A3 segment to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0097] In this embodiment, by adjusting the gain of the amplifier of the recording device to make the first human voice weighted sound level equal to the second human voice weighted sound level, the performance difference between the recording device and the device to be detected is eliminated, so that the difference between the first noise weighted sound level and the second noise weighted sound level can be directly calculated to determine the amount of uplink noise reduction of the device to be detected, which greatly simplifies the calculation process of the noise reduction amount and further improves the detection efficiency.

[0098] See also Fig. 9 In one embodiment, if Fig. 9 As shown, S403 includes:

[0099] S901, determining a difference between a weighted sound level of first human voice data and a weighted sound level of first noise to obtain a first difference;

[0100] S902, determining a difference between a weighted sound level of the second human voice data and a second weighted sound level of noise to obtain a second difference;

[0101] S903: Determine an uplink noise reduction amount of the device to be detected according to the first difference and the second difference.

[0102] Continue with Figure 8For example, the difference between the weighted sound level of the B2 segment data and the weighted sound level of the B3 segment data is the first difference. The difference between the weighted sound level of the A2 segment data and the weighted sound level of the A3 segment data is the second difference. The first difference and the second difference are further calculated to obtain the noise reduction amount of the uplink noise reduction of the device to be detected. Optionally, the noise reduction amount of the uplink noise reduction of the device to be detected can be determined by calculating the difference between the first difference and the second difference. It can be understood that the difference and the difference calculation in the embodiment of the present application can be the first parameter minus the second parameter, the second parameter minus the first parameter, the absolute value of the difference between the first parameter and the second parameter, etc., as needed.

[0103] If the sensitivity, amplifier gain, etc. of the recording device and the device to be detected are different, the first noise weighted sound level and the second noise weighted sound level cannot be directly subtracted. In this embodiment, the first difference can characterize the relative value of the first noise weighted sound level and the first human voice weighted sound level, and the second difference can characterize the relative value of the second noise weighted sound level and the second human voice weighted sound level. Since the first human voice weighted sound level and the second human voice weighted sound level are both the results obtained after weighted processing of pure human voice-related data and do not contain noise, the difference between the first human voice weighted sound level and the second human voice weighted sound level can characterize the difference in weighted sound level between the recording device and the sound detected by the device to be detected. Therefore, by subtracting the first difference and the second difference, the difference in weighted sound level caused by performance differences between the recording device and the device to be detected can be eliminated, and the noise reduction amount of the uplink noise reduction of the device to be detected can be obtained.

[0104] Specifically, assuming that the first human voice weighting is b2, the first noise weighting is b3, the second human voice weighting is a2, and the second noise weighting is a3, then the difference in the weighted sound level of the sound detected between the recording device and the device to be detected due to differences in performance, etc. is δ, that is, δ = a2-b2. The noise reduction amount of the uplink noise reduction of the device to be detected = a3-δ-b3 = a3-(a2-b2)-b3 = (b2-b3)-(a2-a3), that is, the noise reduction amount of the uplink noise reduction of the device to be detected is equal to the difference between the first difference and the second difference.

[0105] In this embodiment, the noise reduction amount of the uplink noise reduction of the device to be detected is determined by calculating the first difference and the second difference, and calculating the difference between the first difference and the second difference. The method is simple and the amount of calculation is small. Moreover, by subtracting the first difference from the second difference, the difference in weighted sound level caused by performance differences between the recording device and the device to be detected is effectively eliminated, and the detection accuracy of the noise reduction amount of the uplink noise reduction of the device to be detected is high.

[0106] Fig.10 In another embodiment, a possible implementation method for determining the noise reduction amount of the uplink noise reduction of the device to be detected is shown in FIG. Figure 8 As shown, S403 includes:

[0107] S1001, determining a difference between a first mixed weighted sound level and a first noise weighted sound level to obtain a third difference;

[0108] S1002, determining a difference between the second mixed weighted sound level and the second noise weighted sound level to obtain a fourth difference;

[0109] S1003: Determine an uplink noise reduction amount of the device to be detected according to the third difference and the fourth difference.

[0110] Optionally, the noise reduction amount of the uplink noise reduction of the device to be detected can be determined by calculating the difference between the third difference and the fourth difference. The calculation process of the third difference is similar to the calculation process of the first difference, and the calculation process of the fourth difference is similar to the calculation process of the second difference, which will not be repeated here.

[0111] Since the weighted sound level of the human voice data is similar to the weighted sound level of the mixed data, the noise reduction amount of the uplink noise reduction of the device to be detected is determined to be approximately the same by replacing the first human voice weighted sound level with the first mixed weighted sound level and replacing the second human voice weighted sound level with the second mixed weighted sound level. At the same time, in actual application scenarios, even in a quiet environment, when people are making voice calls, some noise will be mixed in with the human voice, and the noise will affect the size of the human voice. Therefore, the noise reduction amount obtained by replacing the weighted sound level of the human voice data with the weighted sound level of the mixed data for calculation is closer to the actual application scenario and more accurate.

[0112] In one embodiment, according to actual use requirements, human voices and noise in multiple scenes can be simulated to obtain reference audio data and noise reduction audio data corresponding to different scenes. Repeat steps S301 to S304 in the above embodiment for the reference audio data and noise reduction audio data corresponding to each scene, obtain the noise reduction amount of the uplink noise reduction of the device to be detected in each scene, calculate the average value of the noise reduction amount of the uplink noise reduction of the device to be detected in each scene, and use the average value as the final noise reduction amount of the uplink noise reduction of the device to be detected. In this embodiment, the noise reduction amount of the uplink noise reduction of the device to be detected in each scene is fully considered, and the average value of the noise reduction amount of the uplink noise reduction of the device to be detected in multiple scenes is calculated, so that the noise reduction amount obtained by detection is more in line with actual use conditions and has higher accuracy.

[0113] It should be understood that, although each step in the flow chart in the above-described embodiment is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0114] In one embodiment, Fig.11 As shown, a device for detecting a noise reduction amount of uplink noise reduction is provided, comprising:

[0115] The reference data acquisition module 1101 is used to acquire reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;

[0116] The noise reduction data acquisition module 1102 is used to acquire noise reduction audio data, wherein the noise reduction audio data is generated after the device to be detected records the human voice and the noise and performs uplink noise reduction processing;

[0117] A weighting module 1103 is used to perform weighting processing on the reference audio data and the noise reduction audio data respectively to obtain a weighted sound level of the reference audio data and a weighted sound level of the noise reduction audio data;

[0118] The determination module 1104 is configured to determine the noise reduction amount of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.

[0119] In one embodiment, the reference audio data and the noise reduction audio data both include vocal data, noise data and mixed data, the vocal data is generated by recording the vocal, the noise data is generated by recording the noise, and the mixed data is generated by simultaneously recording the vocal and the noise; the weighting module 1103 is specifically used to perform weighting processing on at least one of the vocal data, noise data and mixed data in the reference audio data, and obtain a first vocal weighted sound level, a first noise weighted sound level and a first mixed sound level corresponding to the reference audio data. weighted sound level; weighting processing is performed on at least one of the human voice data, noise data and mixed data in the noise reduction audio data to obtain a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data; the determination module 1104 is specifically used to determine the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level and the second mixed weighted sound level.

[0120] In one embodiment, the determination module 1104 is specifically used to determine the difference between the first human voice weighted sound level and the first noise weighted sound level to obtain a first difference; determine the difference between the second human voice weighted sound level and the second noise weighted sound level to obtain a second difference; and determine the noise reduction amount of the uplink noise reduction of the device to be detected based on the first difference and the second difference.

[0121] In one embodiment, the determination module 1104 is specifically configured to calculate the difference between the first difference and the second difference, and determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0122] In one embodiment, the determination module 1104 is specifically used to determine the difference between the first mixed weighted sound level and the first noise weighted sound level to obtain a third difference; determine the difference between the second mixed weighted sound level and the second noise weighted sound level to obtain a fourth difference; and determine the noise reduction amount of the uplink noise reduction of the device to be detected based on the third difference and the fourth difference.

[0123] In one embodiment, the determination module 1104 is specifically configured to calculate the difference between the third difference and the fourth difference, and determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0124] In one embodiment, the determination module 1104 is specifically used to adjust the gain of the amplifier of the recording device so that the first human voice weighted sound level is equal to the second human voice weighted sound level; calculate the difference between the first noise weighted sound level and the second noise weighted sound level, and determine the noise reduction amount of the uplink noise reduction of the device to be detected.

[0125] For the specific definition of the detection device of the noise reduction amount of uplink noise reduction, please refer to the definition of the detection method of the noise reduction amount of uplink noise reduction in the above text, which will not be repeated here. Each module in the above-mentioned detection device of the noise reduction amount of uplink noise reduction can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0126] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method for detecting the amount of uplink noise reduction provided in the above method embodiment of the present application can be implemented.

[0127] It should be clear that the process of the processor executing the computer program in the embodiment of the present application is consistent with the execution process of each step in the above method, and the details can be found in the description above.

[0128] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for detecting the amount of uplink noise reduction provided in the above method embodiment of the present application can be implemented.

[0129] It should be clear that the process of the processor executing the computer program in the embodiment of the present application is consistent with the execution process of each step in the above method, and the details can be found in the description above.

[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0131] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0132] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for detecting the amount of uplink noise reduction, characterized in that: include: Acquire reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing; Acquire noise reduction audio data, wherein the noise reduction audio data is generated after the device to be detected records the human voice and the noise and performs uplink noise reduction processing; the reference audio data and the noise reduction audio data both include human voice data, noise data, and mixed data, the human voice data is generated by recording the human voice, the noise data is generated by recording the noise, and the mixed data is generated by simultaneously recording the human voice and the noise; Performing weighting processing on at least one of the human voice data, noise data and mixed data in the reference audio data respectively to obtain at least one of a first human voice weighted sound level, a first noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data; Performing weighting processing on at least one of the human voice data, noise data and mixed data in the noise reduction audio data respectively to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data; The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to at least one of the first voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and at least one of the second voice weighted sound level, the second noise weighted sound level and the second mixed weighted sound level.

2. The method according to claim 1, characterized in that The step of determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level, comprises: Determine a difference between the first human voice weighted sound level and the first noise weighted sound level to obtain a first difference; determining a difference between the second human voice weighted sound level and the second noise weighted sound level to obtain a second difference; The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to the first difference and the second difference.

3. The method according to claim 2, characterized in that The determining, according to the first difference and the second difference, an uplink noise reduction amount of the device to be detected includes: The difference between the first difference and the second difference is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

4. The method according to claim 1, characterized in that The step of determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level, comprises: determining a difference between the first mixed weighted sound level and the first noise weighted sound level to obtain a third difference; determining a difference between the second mixed weighted sound level and the second noise weighted sound level to obtain a fourth difference; The noise reduction amount of the uplink noise reduction of the device to be detected is determined according to the third difference and the fourth difference.

5. The method according to claim 4, characterized in that The determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the third difference and the fourth difference includes: The difference between the third difference and the fourth difference is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

6. The method according to claim 1, characterized in that Before determining the noise reduction amount of the uplink noise reduction of the device to be detected, the method further includes: adjusting the gain of the amplifier of the recording device so that the first human voice weighted sound level is equal to the second human voice weighted sound level; The step of determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level, comprises: The difference between the first noise weighted sound level and the second noise weighted sound level is calculated to determine the noise reduction amount of the uplink noise reduction of the device to be detected.

7. A device for detecting the amount of uplink noise reduction, characterized in that: include: A reference data acquisition module, used to acquire reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing; A noise reduction data acquisition module, used to acquire noise reduction audio data, wherein the noise reduction audio data is generated after the device to be detected records the human voice and the noise and performs uplink noise reduction processing; the reference audio data and the noise reduction audio data both include human voice data, noise data and mixed data, the human voice data is generated by recording the human voice, the noise data is generated by recording the noise, and the mixed data is generated by recording the human voice and the noise simultaneously; A weighting module, for performing weighting processing on at least one of the human voice data, noise data and mixed data in the reference audio data, respectively, to obtain at least one of a first human voice weighted sound level, a first noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data; and for performing weighting processing on at least one of the human voice data, noise data and mixed data in the noise reduction audio data, respectively, to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data; a determination module, configured to determine the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first human voice weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and at least one of the second human voice weighted sound level, the second noise weighted sound level and the second mixed weighted sound level.

8. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Dual-microphone-based speech enhancement device and method

    CN101976565A

  • Volume adjustment method, terminal equipment and computer readable storage medium

    CN108174031A