Method and device for determining sound pickup quality

Acquiring voice signals through a microphone or microphone array and evaluating its energy solves the problem of inefficient acquisition of microphone sound quality in the existing technology, realizes automatic evaluation and real-time adjustment, and improves call quality and processing efficiency.

CN112071332BActive Publication Date: 2024-10-15ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910502316.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-11
Publication Date
2024-10-15
Estimated Expiration
2039-06-11

AI Technical Summary

Technical Problem

The method of obtaining microphone sound pickup quality in the existing technology is inefficient, time-consuming and labor-intensive, and it is impossible to adjust the equipment in time to improve call quality.

Method used

Acquire the voice signal through a microphone or microphone array, and determine the energy of the voice signal within a set frequency range to automatically evaluate the sound pickup quality of the microphone or microphone array.

Benefits of technology

It realizes the automatic acquisition of the sound pickup quality of the microphone device, improves the processing efficiency, enhances the use function of the microphone device, and can accurately evaluate the sound pickup quality in real-time scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112071332B_ABST
    Figure CN112071332B_ABST
Patent Text Reader

Abstract

The present application is about a method and device for determining the sound pickup quality. The method includes: acquiring a speech signal using a microphone or a microphone array; determining the energy of the speech signal acquired by the microphone or the microphone array within a set frequency range; and determining the sound pickup quality of the microphone or the microphone array at least based on the energy. Through the method for determining the sound pickup quality provided by each embodiment of the present application, it is possible to automatically acquire the sound pickup quality of the microphone device, and realize the transition from manual acquisition to machine acquisition. In addition, by determining the sound pickup quality of the microphone device based on the energy of the speech signal, a more accurate determination result can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of speech processing technology, and in particular to a method and device for determining sound pickup quality. Background Art

[0002] Microphone pickup quality is crucial in user conversations, especially remote conference calls. Voice clarity and noise interference, among other factors, impact call quality and user experience. Therefore, understanding microphone pickup quality is crucial in scenarios like these. Only after understanding microphone pickup quality can relevant personnel make adjustments based on this quality, such as adjusting or replacing the microphone device, or performing acoustic treatment to address room reverberation.

[0003] Currently, microphone pickup quality is often measured using the human ear. If users experience poor call quality during use, they can provide feedback to the staff. Upon arrival, the staff listens to the call or recording and then adjusts the equipment based on their experience. This demonstrates that the current method of measuring microphone pickup quality is inefficient and time-consuming.

[0004] Therefore, there is an urgent need in the prior art for an efficient and convenient method for determining the quality of sound pickup. Summary of the Invention

[0005] To overcome the problems existing in the related art, the present application provides a method and apparatus for determining sound pickup quality.

[0006] The method and device for determining sound pickup quality provided in the embodiments of the present application are specifically implemented as follows:

[0007] A method for determining sound pickup quality, the method comprising:

[0008] Acquiring speech signals using a microphone or microphone array;

[0009] Determining the energy of the speech signal acquired by the microphone or microphone array within a set frequency range;

[0010] A sound pickup quality of the microphone or microphone array is determined based on at least the energy.

[0011] A device for determining sound pickup quality includes a processor and a memory for storing processor-executable instructions, wherein when the processor executes the instructions, the following steps are implemented:

[0012] Acquiring speech signals using a microphone or microphone array;

[0013] Determining the energy of the speech signal acquired by the microphone or microphone array within a set frequency range;

[0014] A sound pickup quality of the microphone or microphone array is determined based on at least the energy.

[0015] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enables the processor to perform the method for determining the sound pickup quality.

[0016] The method and device for determining the sound pickup quality provided in the present application can use a microphone or a microphone array to obtain a voice signal and determine the energy of the voice signal within a set frequency range. Then, the sound pickup quality of the microphone or microphone array can also be determined based on the energy. Through the method for determining the sound pickup quality provided by each embodiment of the present application, it is possible to automatically obtain the sound pickup quality of the microphone device, and realize the transition from manual acquisition to machine acquisition. In addition, by determining the sound pickup quality of the microphone device based on the energy of the voice signal, a more accurate determination result can be obtained. For scenarios where microphone devices are used, such as typical conference scenarios, the sound pickup quality of the microphone device can be obtained in real time, enhancing the use function of the microphone device.

[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 The figure is a flow chart of a method for determining sound pickup quality according to an exemplary embodiment.

[0020] Figure 2 The figure is a schematic diagram of an application scenario according to an exemplary embodiment.

[0021] Figure 3 The figure is a schematic diagram of an application scenario according to an exemplary embodiment.

[0022] Figure 4 The figure is a schematic diagram of an application scenario according to an exemplary embodiment.

[0023] Figure 5 The present invention is a block diagram showing a device for determining sound pickup quality according to an exemplary embodiment. DETAILED DESCRIPTION

[0024] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0025] In order to facilitate those skilled in the art to understand the technical solution provided by the embodiments of the present application, the application environment in which the technical solution is implemented is first described below.

[0026] In a conference room at a company in Hangzhou, employee A was conducting a conference call with client B in Beijing using the room's microphone. The quality of the microphone is crucial for the quality of the conference call. While using the room's microphone, employee A noticed excessive reverberation, causing client B's voice to echo. Employee A sought help from the staff responsible for handling the conference room equipment. However, the company has too many conference rooms, and the staff couldn't reach the room in time to quickly adjust the microphone. Furthermore, upon arrival, the staff needed to listen to a portion of the conversation before making a response based on their experience. This approach was inefficient, significantly impacting the user experience and, for the company, even hindering the progress of important internal events.

[0027] Based on technical requirements similar to those described above, the method for determining pickup quality provided in this application can utilize a microphone device to capture voice signals in a conference room or other location, and determine the pickup quality of the microphone device based on the energy of the voice signal within a set frequency range. This allows for automatic acquisition of the pickup quality of the microphone device, eliminating the need for on-site listening by staff and improving processing efficiency.

[0028] The method for determining the sound pickup quality described in this application is described in detail below with reference to the accompanying drawings. Figure 1 The present invention provides a method flow chart of an embodiment of the method for determining the sound pickup quality provided by the present application. Although the present application provides the method operation steps shown in the following embodiments or figures, the method may include more or fewer operation steps based on routine or no creative work. In steps that are not logically necessary for causality, the execution order of these steps is not limited to the execution order provided in the embodiments of the present application. When the method is actually performed in the process of determining the sound pickup quality or when the device is executed, it can be executed in the order of the methods shown in the embodiments or figures or in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0029] Specifically, an embodiment of the method for determining the pickup quality provided by the present application is as follows: Figure 1 As shown, the method may include:

[0030] S101: Acquire a voice signal using a microphone or a microphone array.

[0031] In an embodiment of the present application, a microphone or a microphone array can be used to obtain a voice signal. The microphone may include a directional microphone, which is more sensitive to sounds in one direction and weaker in sound response to sounds in the opposite direction or other directions. The directional microphone may include a cardioid microphone, a subcardioid microphone, a supercardioid microphone, a hypercardioid microphone, a dipole microphone, etc. In an embodiment of the present application, a plurality of directional microphones can be set to point in different directions, so that voice signals can be obtained more comprehensively from multiple directions. Of course, a microphone array composed of a plurality of directional microphones can also be used to obtain a voice signal, such as a common "octopus" structure microphone array.

[0032] In one embodiment of the present application, at least one microphone array can simultaneously acquire voice signals, and the microphone array is composed of a plurality of directional microphones arranged close to each other. By setting the distance between the plurality of directional microphones as small as possible, the time difference between the voice signals reaching different microphones can be reduced as much as possible. In addition, in terms of use, this arrangement of two close proximity can make it physically possible to "simultaneously" combine the audio signals of multiple microphones. In one embodiment, the number of the plurality of directional microphones is three.

[0033] Figure 2 This application exemplarily provides a schematic diagram of the module structure of a microphone array. Figure 2 The figure shows three directional microphones 31, 32, and 33, which form a triply symmetrical arrangement. The axes 311, 321, and 331 of the three directional microphones (i.e., lines perpendicular to the center of their pickup planes) lie in the same plane, and each of them forms an angle of (2π) / 3. Furthermore, the distance D between the ends of the directional microphones 31, 32, and 33 (as shown between 31 and 32 in the figure) ranges from 0 to 5 mm. Preferably, D = 2 mm.

[0034] Figure 3This application exemplarily provides a schematic diagram of the module structure of another microphone array. Figure 3 Three directional microphones 41, 42 and 43 are shown, Figure 3 The "top-down" view is shown, with the three directional microphones 41, 42 and 43 in order from top to bottom. The axes of the directional microphones 41, 42 and 43 (the lines perpendicular to the centers of their pickup planes) are parallel to Figure 3 If the directional microphones 41, 42, 43 are projected onto Figure 3 In the plane of the three directional microphones, they also form a three-fold symmetrical arrangement, with the axes 411, 421 and 431 of the three directional microphones being in the same plane. Figure 3 In the projection plane, each of them forms an angle of (2π) / 3.

[0035] Figure 4 This application exemplarily provides a schematic diagram of the module structure of another microphone array. Figure 4 Three directional microphones 51, 52, and 53 are shown. These three directional microphones form a three-fold symmetrical arrangement. The axes 511, 521, and 531 (a line perpendicular to the center of their pickup planes) of the three directional microphones are parallel to each other, and the three projections of the axes 511, 521, and 531 in a plane perpendicular to them form an equilateral triangle T. Furthermore, the distance D between the ends of the directional microphones 51, 52, and 53 (as shown between 51 and 52 in the figure) is 0-5 mm. Preferably, D = 2 mm.

[0036] In the embodiment of the present application, for a microphone array consisting of three directional microphones, a "virtual microphone" can be formed by linearly combining the signals of the three directional microphones. The coefficients of the linear combination are represented by the vector μ:

[0037] μ=inv(A)*b,

[0038]

[0039] Where b = [0 0 1] T ,θ m represents the beam angle (that is, the direction of the audio signal you want to obtain), and θ n Indicates the null angle (that is, the direction of the audio signal that is not desired).

[0040] In one example, if one wishes to linearly combine the signals of three microphones to form a virtual hypercardioid directional microphone, one selects θ m and θ n The relationship is:

[0041] θn =θ m +110*π / 180

[0042] In another example, if you want to linearly combine the signals of three microphones to form a virtual cardioid directional microphone, you can choose θ m and θ n The relationship is:

[0043] θ n =θ m +π

[0044] Through the above algorithm and choosing the appropriate θ m and θ n The embodiments of the present application can realize any type of virtual first-order differential microphone, including a cardioid microphone, a subcardioid microphone, a supercardioid microphone, a hypercardioid microphone, a dipole microphone, etc.

[0045] Based on this, in one embodiment of the present application, the microphone array further includes at least one virtual microphone, each corresponding to a combination of a beam angle and a null angle. In one example, a virtual microphone can be placed between two directional microphones. In this way, the microphone array can effectively have six directional microphones in different directions, not only enabling sound pickup from multiple directions but also allowing for relatively accurate evaluation of the pickup quality of the microphone array.

[0046] It should be noted that in the embodiment of the present application, the device used to obtain the voice signal can be at least one microphone or at least one microphone array. Of course, it can also be a combination of at least one microphone and at least one microphone array. This application does not impose any restrictions on this.

[0047] In one embodiment of the present application, the voice signal can be obtained from an audio signal. Typically, a microphone or microphone array obtains an audio signal, which may include a voice signal or non-voice signals such as noise signals. In actual application scenarios, when a user uses a microphone or microphone array to make a call in a conference setting, the speaker function is often turned on by default. In this way, the audio signal obtained by the microphone or microphone array includes a near-end signal and a far-end signal. The near-end signal is the signal emitted by the user on site in the conference room, and the far-end signal is the signal emitted by the other party in the call. In one example, when user A in a conference room in Hangzhou and user B in Beijing are conducting a conference call, for the microphone in the Hangzhou conference room, the audio signal emitted in the Hangzhou conference room is the near-end signal, and the audio signal emitted in the Beijing conference room is the far-end signal. Conversely, for the microphone in the Beijing conference room, the audio signal emitted in the Hangzhou conference room is the far-end signal, and the audio signal emitted in the Beijing conference room is the near-end signal. Since the far-end signal is a signal transmitted from the far end through a channel, it is prone to distortion and other problems, which are not indicators for considering the sound pickup quality of a microphone or a microphone array. Therefore, it is more accurate to use a near-end signal to determine the sound pickup quality of a microphone or a microphone array. Based on this, in one embodiment of the present application, after obtaining an audio signal recorded by a microphone or a microphone array, it is possible to determine whether the audio signal is a near-end signal. In the case where it is determined that the audio signal is a near-end signal, it is determined whether the audio signal is a voice signal. In the case where it is determined that the audio signal is a voice signal, the sound pickup quality of the microphone or microphone array is determined.

[0048] It should be noted that in the above embodiment, it is also possible to first determine whether the audio signal is a voice signal, and then determine whether the voice signal is a near-end signal. This application does not limit the execution order of these two determination steps.

[0049] In actual application scenarios, the voice signal acquired by a microphone or microphone array may include a single-person voice signal or a multi-person voice signal, with the single-person voice signal being the primary voice signal. Based on this, in an embodiment of the present application, it is possible to determine whether the voice signal is a single-person voice signal under the condition that the audio signal is determined to be a voice signal. If it is determined that the voice signal is a single-person voice signal, the sound pickup quality of the microphone or microphone array is determined.

[0050] S103: Determine the energy of the speech signal acquired by the microphone or microphone array within a set frequency range.

[0051] In one embodiment of the present application, after acquiring the voice signal, the energy of the voice signal acquired by the microphone or microphone array within a set frequency range can be determined. In the process of determining the energy, the voice signal can be converted from the time domain to the frequency domain, for example, using Fourier transform, short-time Fourier transform, etc. In the process of calculating the energy, Parseval's theorem is followed, that is, the energy of the voice signal in the time domain is equal to the energy in the frequency domain. After converting the voice signal from the time domain to the frequency domain, each frequency point in the frequency domain can correspond to an energy value. The set frequency range in the embodiment of the present application may include a frequency range to which the human ear is more sensitive, such as 3kHz to 6kHz. The set frequency range may also include a frequency range of all sounds that the human ear can hear, 20Hz to 20kHz. The present application does not impose any restrictions on the setting of the set frequency range.

[0052] In one embodiment of the present application, the set frequency range can also be sampled, and the energy value at each sampling frequency point can be obtained. Specifically, multiple frequency points can be selected within the set frequency range, and the energy values ​​of the voice signals acquired by the microphone or microphone array at the multiple frequency points can be calculated. In one example, sampling can be performed every 50 Hz within the frequency range of 3 kHz to 6 kHz, and the energy values ​​at a total of 60 sampling frequency points can be calculated. Of course, in other embodiments, the selection of the frequency points is not limited to the above method, and irregular sampling can also be performed, which is not limited in the present application.

[0053] S105: Determine the sound pickup quality of the microphone or microphone array at least according to the energy.

[0054] In one embodiment of the present application, since each frequency point corresponds to an energy value, the energy sum of the voice signal in the set frequency range can be calculated. In the process of calculating the energy sum, if the energy of the voice signal changes continuously with the frequency, the energy sum can be calculated by integration; if the energy of the voice signal changes discretely with the frequency, the energy sum can be calculated by summation. After the energy sum of the voice signal is calculated, the sound pickup quality of the microphone or microphone array can be determined based on the energy sum. In one embodiment, multiple set energy ranges can be set, and each set energy range can correspond to a set sound pickup quality level. In one example, the sound pickup quality level corresponding to the energy range (40, 60) is excellent, the sound pickup quality level corresponding to the energy range (30, 40) is good, and the sound pickup quality level corresponding to the energy range less than 30 is poor. In the above manner, the sound pickup quality of the microphone or microphone array can be determined more accurately.

[0055] In one embodiment of the present application, for the above-mentioned microphone array capable of setting a virtual microphone, the sound pickup quality of the microphone array can be determined by voting. Specifically, a plurality of frequency points can be selected within a set frequency range, and the energy values ​​of the voice signals acquired by the plurality of directional microphones and the at least one virtual microphone at the plurality of frequency points can be calculated respectively. In the process of determining the sound pickup quality of the microphone array, the directional microphone or virtual microphone with the largest energy value at the plurality of frequency points can be determined, and the directional microphone or virtual microphone can be voted. Then, the highest number of votes and the lowest number of votes obtained from the plurality of directional microphones and the at least one virtual microphone can be counted, and the difference between the highest number of votes and the lowest number of votes can be used as the sound pickup quality of the microphone array.

[0056] In one example, for a microphone array 1 composed of three directional microphones mic0, mic1, and mic2, three virtual microphones mic3, mic4, and mic5 are included. Since the directions of these six microphones are different, the energy of the received voice signals is also different. Based on this, in an embodiment of the present application, the directional microphone or virtual microphone with the highest voice signal energy value can be determined at each frequency point (a frequency point is selected every 50Hz in the range of 3kHz to 6kHz, for a total of 60 frequency points), and the directional microphone or virtual microphone is voted. For example, in the process of determining the pickup quality of a voice signal, the voting results are statistically obtained as follows: mic0: (0), mic1: (0), mic2: (60), mic3: (0), mic4: (0), mic5: (0), that is, the directional microphone mic2 obtains all the votes. That is to say, the highest number of votes is 60, the lowest number of votes is 0, and the difference between the two is 60, that is, the pickup quality of the microphone array 1 is 60. In addition, in the same room, there are microphone arrays 2 and 3 with the same structure as microphone array 1, and the voting results of the two are as follows:

[0057] Microphone array 2: mic0: (3), mic1: (36), mic2: (17), mic3: (3), mic4: (1), mic5: (0);

[0058] Microphone array 3: mic0: (4), mic1: (32), mic2: (18), mic3: (4), mic4: (2), mic5: (0);

[0059] The calculation shows that the sound pickup quality of microphone array 2 is 36, and the sound pickup quality of microphone array 3 is 32. By comparison, in the same room, microphone array 1 has the best sound pickup quality, and microphone array 3 has the worst. Of course, you can set a wider range of indicators later, such as sound pickup quality above 50 for very good, 40-50 for high, 30-40 for average, 20-30 for slightly poor, and below 20 for poor.

[0060] It should be noted that the above method of calculating the pickup quality is not limited to microphone arrays, but can also be for multiple independent microphones, and the difference between the highest and lowest votes is used as the pickup quality of the microphone set in the entire room. This application does not impose any restrictions here.

[0061] In actual application scenarios, voice signals are generated in real time. Therefore, in the embodiments of the present application, the pickup quality of the microphone or microphone array can be determined at a set time interval. In some examples, the time interval can be set to 5 minutes, that is, the pickup quality is determined every 5 minutes during the user's call. The time interval can also be set according to the frequency of calls, and the present application does not impose any restrictions on this. Of course, each time the pickup quality is determined, a voice signal can be obtained before that moment, such as a five-minute voice signal, a one-minute voice signal, and so on.

[0062] In order to further improve the accuracy of determining the sound pickup quality, a speech signal can be divided into multiple speech frames, which can be 20ms, 40ms, 50ms, etc., and then the energy of each speech frame within the set frequency range can be calculated. Based on this, in the process of determining the sound pickup quality of the microphone or microphone array, the sound pickup quality of the microphone or microphone array can be determined based on the energy of each of the multiple speech frames. Then, the average of the sound pickup qualities corresponding to the multiple speech frames can be calculated, and the average value can be used as the final sound pickup quality of the microphone or microphone array. In one example, the sound pickup quality of the microphone array can be tested every 5 minutes, and 30 seconds of audio signal can be obtained each time. Assuming that the entire 30 seconds is speech signal, the 30 seconds of speech signal can be divided into 1500 speech frames. Then, the sound pickup quality of each of the 1500 speech frames can be calculated. Finally, the average of the 1500 sound pickup qualities can be used as the sound pickup quality of the microphone or microphone array.

[0063] In one embodiment of the present application, if it is determined that the sound pickup quality does not meet the set requirements, a notification message is sent. For example, if the sound pickup quality is slightly poor or poor, a notification message can be sent to relevant staff, who can then go to the site to make adjustments.

[0064] The method for determining the pickup quality provided in the present application can utilize a microphone or a microphone array to obtain a voice signal, and determine the energy of the voice signal within a set frequency range. Then, the pickup quality of the microphone or microphone array can also be determined based on the energy. Through the methods for determining the pickup quality provided in the various embodiments of the present application, it is possible to automatically obtain the pickup quality of the microphone device, and realize the transition from manual acquisition to machine acquisition. In addition, by determining the pickup quality of the microphone device based on the energy of the voice signal, a more accurate determination result can be obtained. For scenarios where microphone devices are used, such as typical conference scenarios, the pickup quality of the microphone device can be obtained in real time, enhancing the usability of the microphone device.

[0065] Corresponding to the above method of determining the pickup quality, Figure 5 As shown, the present application also provides a device for determining sound pickup quality, including a processor and a memory for storing processor-executable instructions, wherein when the processor executes the instructions, the following can be achieved:

[0066] Acquiring speech signals using a microphone or microphone array;

[0067] Determining the energy of the speech signal acquired by the microphone or microphone array within a set frequency range;

[0068] A sound pickup quality of the microphone or microphone array is determined based on at least the energy.

[0069] Optionally, in one embodiment of the present application, when the processor implements the step of acquiring a voice signal using a microphone or a microphone array, the processor includes:

[0070] At least one microphone array is used to simultaneously acquire voice signals, wherein the microphone array is composed of a plurality of directional microphones arranged close to each other.

[0071] Optionally, in one embodiment of the present application, the number of the multiple directional microphones is three.

[0072] Optionally, in one embodiment of the present application, the microphone array further includes at least one virtual microphone, and the at least one virtual microphone corresponds to a combination of a beam angle and a null angle.

[0073] Optionally, in one embodiment of the present application, the processor, when implementing the step of determining the sound pickup quality of the microphone or microphone array at least according to the energy, includes:

[0074] determining a sum of the energy of the energy within a set frequency range;

[0075] Determining the energy and the target energy range from a plurality of set energy ranges;

[0076] A set sound pickup quality level corresponding to the target energy range is determined, and the set sound pickup quality level is used as the sound pickup quality of the microphone or microphone array.

[0077] Optionally, in one embodiment of the present application, when the processor implements the step of determining the energy of the speech signal acquired by the microphone or microphone array within a set frequency range, the processor includes:

[0078] Select multiple frequency points within the set frequency range;

[0079] Calculate the energy values ​​of the speech signal acquired by the microphone or microphone array at the multiple frequency points respectively.

[0080] Optionally, in one embodiment of the present application, when the processor implements the step of determining the energy of the speech signal acquired by the microphone or microphone array within a set frequency range, the processor includes:

[0081] Select multiple frequency points within the set frequency range;

[0082] Energy values ​​of the speech signals acquired by the multiple directional microphones and the at least one virtual microphone at the multiple frequency points are calculated respectively.

[0083] Optionally, in one embodiment of the present application, the processor, when implementing the step of determining the sound pickup quality of the microphone or microphone array at least according to the energy, includes:

[0084] Determine a directional microphone or a virtual microphone having the largest energy value at each of the plurality of frequency points, and vote for the directional microphone or the virtual microphone;

[0085] Counting the highest number of votes and the lowest number of votes obtained from the multiple directional microphones and the at least one virtual microphone;

[0086] The difference between the highest number of votes and the lowest number of votes is used as the sound pickup quality of the microphone array.

[0087] Optionally, in one embodiment of the present application, when the processor implements the step of acquiring a voice signal using a microphone or a microphone array, the processor includes:

[0088] Get the audio signal recorded by a microphone or microphone array;

[0089] Determining whether the audio signal is a near-end signal;

[0090] In the case where it is determined that the audio signal is a near-end signal, determining whether the audio signal is a speech signal;

[0091] When it is determined that the audio signal is a speech signal, the sound pickup quality of the microphone or microphone array is determined.

[0092] Optionally, in one embodiment of the present application, when the processor determines that the audio signal is a speech signal, determining the sound pickup quality of the microphone or microphone array includes:

[0093] When it is determined that the audio signal is a speech signal, determining whether the speech signal is a single-person speech signal;

[0094] When it is determined that the voice signal is a single-person voice signal, the sound pickup quality of the microphone or microphone array is determined.

[0095] Optionally, in one embodiment of the present application, when the processor implements the step of determining the energy of the speech signal acquired by the microphone or microphone array within a set frequency range, the processor includes:

[0096] Dividing the speech signal acquired by the microphone or microphone array into a plurality of speech frames;

[0097] The energy of the multiple speech frames within the set frequency range is calculated respectively.

[0098] Optionally, in one embodiment of the present application, the processor, when implementing the step of determining the sound pickup quality of the microphone or microphone array at least according to the energy, includes:

[0099] Determining the sound pickup quality of the microphone or microphone array according to the energy of the multiple speech frames respectively;

[0100] An average of the sound pickup qualities corresponding to the multiple speech frames is calculated, and the average is used as the final sound pickup quality of the microphone or microphone array.

[0101] Optionally, in one embodiment of the present application, after the processor implements the step of determining the sound pickup quality of the microphone or microphone array at least according to the energy, further includes:

[0102] If it is determined that the sound pickup quality does not meet the set requirements, a notification message is sent.

[0103] On the other hand, the present application further provides a computer-readable storage medium having computer instructions stored thereon, which implement the steps of the method described in any of the above embodiments when the instructions are executed.

[0104] The computer-readable storage medium may include a physical device for storing information, typically digitizing the information and then storing it in a medium utilizing electrical, magnetic, or optical means. The computer-readable storage medium described in this embodiment may include: devices that store information using electrical energy, such as various types of memory, such as RAM and ROM; devices that store information using magnetic energy, such as hard disks, floppy disks, magnetic tapes, magnetic core memories, bubble memories, and USB flash drives; and devices that store information optically, such as CDs or DVDs. Of course, there are other types of computer-readable storage media, such as quantum memories, graphene memories, and so on.

[0105] In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD through their own programming, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages ​​and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.

[0106] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules that implement the method and structures within the hardware component.

[0107] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0108] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0109] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0110] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0111] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0112] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0113] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0114] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0115] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0117] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0118] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0119] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A method for determining sound pickup quality, characterized in that: The method comprises: Acquiring a voice signal using a microphone or a microphone array, wherein the voice signal is generated during a call; Determining energy values ​​of the speech signal acquired by the microphone or microphone array at different frequency points within a set frequency range; Determine the sound pickup quality of the microphone or microphone array according to the sum of the energy values ​​at the different frequency points, Alternatively, the sound pickup quality of the microphone array is determined according to the number of votes of different microphones in the microphone array, and the microphone with the largest energy value at multiple frequency points within the set frequency range is voted; The sound pickup quality reflects the call quality.

2. The method according to claim 1, characterized in that The method of acquiring a voice signal by using a microphone or a microphone array includes: At least one microphone array is used to simultaneously acquire voice signals, wherein the microphone array is composed of a plurality of directional microphones arranged in pairs.

3. The method according to claim 2, characterized in that The number of the plurality of directional microphones is three.

4. The method according to claim 2, characterized in that: The microphone array further includes at least one virtual microphone, and the at least one virtual microphone corresponds to a combination of a beam angle and a null angle.

5. The method according to claim 1, characterized in that The step of determining the sound pickup quality of the microphone or microphone array according to the sum of the energy values ​​at the different frequency points comprises: Determine a target energy range in which the sum of the energy values ​​lies from a plurality of set energy ranges; A set sound pickup quality level corresponding to the target energy range is determined, and the set sound pickup quality level is used as the sound pickup quality of the microphone or the microphone array.

6. The method according to claim 1, characterized in that The step of determining the energy value of the speech signal acquired by the microphone or the microphone array at different frequency points within a set frequency range includes: Select multiple frequency points within the set frequency range; Calculate the energy values ​​of the speech signal acquired by the microphone or the microphone array at the multiple frequency points respectively.

7. The method according to claim 4, characterized in that The step of determining the energy value of the speech signal acquired by the microphone or the microphone array at different frequency points within a set frequency range includes: Select multiple frequency points within the set frequency range; The energy values ​​of the speech signals acquired by the multiple directional microphones and the at least one virtual microphone at the multiple frequency points are calculated respectively.

8. The method according to claim 7, characterized in that The step of determining the sound pickup quality of the microphone array according to the number of votes of different microphones in the microphone array comprises: Determine a directional microphone or a virtual microphone having the largest energy value at the plurality of frequency points, and vote for the directional microphone or the virtual microphone; Counting the highest number of votes and the lowest number of votes obtained from the multiple directional microphones and the at least one virtual microphone; The difference between the highest vote number and the lowest vote number is used as the sound pickup quality of the microphone array.

9. The method according to claim 1, characterized in that: The method of acquiring a voice signal by using a microphone or a microphone array includes: Get the audio signal recorded by a microphone or microphone array Determining whether the audio signal is a near-end signal; In the case where it is determined that the audio signal is a near-end signal, determining whether the audio signal is a speech signal; When it is determined that the audio signal is a speech signal, the sound pickup quality of the microphone or the microphone array is determined.

10. The method according to claim 9, characterized in that The step of determining the sound pickup quality of the microphone or the microphone array when the audio signal is determined to be a speech signal includes: In the case where it is determined that the audio signal is a speech signal, determining whether the speech signal is a single person speech signal; When it is determined that the speech signal is a single-person speech signal, the sound pickup quality of the microphone or the microphone array is determined.

11. The method according to claim 1, characterized in that: The step of determining the energy value of the speech signal acquired by the microphone or the microphone array at different frequency points within a set frequency range includes: Dividing the speech signal acquired by the microphone or the microphone array into a plurality of speech frames; The energy values ​​of the multiple speech frames at different frequency points within the set frequency range are calculated respectively.

12. The method according to claim 11, characterized in that The method further comprises: Determining the sound pickup quality of the microphone or microphone array according to the energy values ​​of the multiple speech frames at different frequency points respectively; The average value of the sound pickup qualities corresponding to the multiple speech frames in the speech signal is calculated, and the average value is used as the final sound pickup quality of the microphone or the microphone array.

13. The method according to claim 1, characterized in that After determining the sound pickup quality of the microphone or the microphone array, the method further includes: When it is determined that the sound pickup quality does not meet the set requirement, a notification message is sent.

14. A device for determining the quality of sound pickup, characterized in that The invention comprises a processor and a memory for storing processor-executable instructions, wherein when the processor executes the instructions, the following are achieved: Acquiring a voice signal using a microphone or a microphone array, wherein the voice signal is generated during a call; Determine the energy value of the voice signal acquired by the microphone or microphone array at each frequency point within a set frequency range; determine the sound pickup quality of the microphone or microphone array according to the sum of the energy values ​​at each frequency point, Alternatively, the sound pickup quality of the microphone array is determined according to the number of votes of different microphones in the microphone array, and the microphone with the largest energy value at multiple frequency points within the set frequency range is voted; The sound pickup quality reflects the call quality.

15. The device according to claim 14, characterized in that The processor includes the following steps when implementing the step of acquiring a voice signal using a microphone or a microphone array: At least one microphone array is used to simultaneously acquire voice signals, wherein the microphone array is composed of a plurality of directional microphones arranged in pairs.

16. The device according to claim 15, characterized in that The number of the plurality of directional microphones is three.

17. The device according to claim 15, characterized in that The microphone array further includes at least one virtual microphone, and the at least one virtual microphone corresponds to a combination of a beam angle and a null angle.

18. The device according to claim 14, characterized in that The processor, when implementing the step of determining the sound pickup quality of the microphone or microphone array according to the sum of the energy values ​​at the different frequency points, includes: Determine a target energy range in which the sum of the energy values ​​lies from a plurality of set energy ranges; A set sound pickup quality level corresponding to the target energy range is determined, and the set sound pickup quality level is used as the sound pickup quality of the microphone or the microphone array.

19. The device according to claim 14, characterized in that The processor includes, when implementing the step of determining the energy value of the voice signal acquired by the microphone or the microphone array at different frequency points within the set frequency range: Select multiple frequency points within the set frequency range; Calculate the energy values ​​of the speech signal acquired by the microphone or the microphone array at the multiple frequency points respectively.

20. The device according to claim 17, characterized in that The processor includes, when implementing the step of determining the energy value of the voice signal acquired by the microphone or the microphone array at different frequency points within the set frequency range: Select multiple frequency points within the set frequency range; The energy values ​​of the speech signals acquired by the multiple directional microphones and the at least one virtual microphone at the multiple frequency points are calculated respectively.

21. The device according to claim 20, characterized in that The processor determines the sound pickup quality of the microphone array according to the number of votes of different microphones in the microphone array when implementing the step: Determine a directional microphone or a virtual microphone having the largest energy value at the plurality of frequency points, and vote for the directional microphone or the virtual microphone; Counting the highest number of votes and the lowest number of votes obtained from the multiple directional microphones and the at least one virtual microphone; The difference between the highest vote number and the lowest vote number is used as the sound pickup quality of the microphone array.

22. The device according to claim 14, characterized in that The processor includes the following steps when implementing the step of acquiring a voice signal using a microphone or a microphone array: Get the audio signal recorded by a microphone or microphone array; Determining whether the audio signal is a near-end signal; In the case where it is determined that the audio signal is a near-end signal, determining whether the audio signal is a speech signal; When it is determined that the audio signal is a speech signal, the sound pickup quality of the microphone or the microphone array is determined.

23. The device according to claim 22, characterized in that The processor, when determining that the audio signal is a speech signal, determines the sound pickup quality of the microphone or the microphone array, includes: In the case where it is determined that the audio signal is a speech signal, determining whether the speech signal is a single person speech signal; When it is determined that the speech signal is a single-person speech signal, the sound pickup quality of the microphone or the microphone array is determined.

24. The device according to claim 14, characterized in that The processor includes, when implementing the step of determining the energy value of the voice signal acquired by the microphone or the microphone array at different frequency points within the set frequency range: Dividing the speech signal acquired by the microphone or the microphone array into a plurality of speech frames; The energy values ​​of the multiple speech frames at different frequency points within the set frequency range are calculated respectively.

25. The device according to claim 24, characterized in that The processor, when implementing the step of determining the sound pickup quality of the microphone or the microphone array, includes: Determining the sound pickup quality of the microphone or microphone array according to the energy values ​​of the multiple speech frames at different frequency points respectively; An average of the sound pickup qualities corresponding to the multiple speech frames is calculated, and the average is used as the final sound pickup quality of the microphone or the microphone array.

26. The device according to claim 14, characterized in that After the processor implements the step of determining the sound pickup quality of the microphone or the microphone array, the processor further includes: When it is determined that the sound pickup quality does not meet the set requirement, a notification message is sent.

27. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the method for determining the sound pickup quality as described in any one of claims 1 to 13.