Microphone array detection method and device, electronic equipment and storage medium

By extracting the audio data of each channel of the microphone array and performing gain processing, combined with the gain audio feature change information in multiple time windows, the time-consuming and labor-intensive problem of microphone array detection in the existing technology is solved, and fast and accurate abnormal microphone positioning is achieved. , improving detection efficiency and accuracy.

CN118632159APending Publication Date: 2024-09-10ZHEJIANG TIDAL POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411032347.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, the detection and positioning of abnormal microphones in microphone arrays relies on manual detection one by one, which is time-consuming and labor-intensive. It is especially difficult to quickly and accurately identify abnormal microphones in large-scale microphone arrays, especially in rapid detection on production lines and real-time maintenance in complex environments. Seems powerless.

Method used

By acquiring the audio data of each channel of the microphone array, extracting the original audio features in the same time window, performing gain based on the microphone position, the gain audio features are obtained, and the gain audio feature change information in multiple time windows is reflected dynamically and in real time. Microphone operation status, combined with channel consistency information, to quickly and accurately locate abnormal microphones.

Benefits of technology

It greatly improves the efficiency and accuracy of microphone array detection, eliminates audio collection differences caused by position differences, and achieves dynamic and real-time abnormal microphone positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632159A
    Figure CN118632159A
Patent Text Reader

Abstract

The invention provides a microphone array detection method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining first audio data collected by each channel in a microphone array; extracting original audio features of the first audio data of each channel under the same time window; based on the position of each channel in the microphone array, performing gain on the original audio feature of each channel to obtain a gain audio feature of each channel; and determining a detection result of the microphone array based on the change information of the gain audio characteristics of the first audio data of each channel under the plurality of time windows. According to the method, the device, the electronic equipment and the storage medium provided by the invention, the audio acquisition difference caused by the position difference of the microphones corresponding to the channels in the microphone array is eliminated, and the abnormal microphone is quickly and accurately positioned according to the channel consistency of the microphone array, so that the accuracy of the abnormal microphone is improved. Therefore, the implementation efficiency and accuracy of microphone array detection are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of audio processing technology, and in particular to a microphone array detection method, device, electronic equipment and storage medium. Background Art

[0002] A microphone array consists of multiple microphones arranged in a preset geometric layout (such as linear, circular or rectangular, etc.), thereby capturing sound signals from different directions, thereby achieving functions such as sound source localization, background noise suppression and sound signal enhancement.

[0003] Currently, the detection and location of abnormal microphones in microphone arrays mainly rely on manual detection, and usually the microphones in the microphone array are detected one by one. However, as the scale of microphone arrays increases, the number of microphones in the microphone array may reach 64 or even more than 128, which makes it time-consuming and laborious to locate the abnormal microphone from the microphone array. Summary of the invention

[0004] The present invention provides a microphone array detection method, device, electronic device and storage medium, which are used to solve the defects of microphone array detection in related technologies that are time-consuming and labor-intensive.

[0005] The present invention provides a microphone array detection method, comprising: Acquire first audio data collected by each channel in the microphone array; Extracting original audio features of the first audio data of each channel in the same time window; Based on the position of each channel in the microphone array, gaining the original audio features of each channel to obtain the gained audio features of each channel; The detection result of the microphone array is determined based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows.

[0006] According to a microphone array detection method provided by the present invention, the detection result of the microphone array is determined based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows, including: Determine audio feature distribution information based on gain audio features of the first audio data of each channel in the same time window; Based on the audio feature distribution information and the change information of the gain audio features of the first audio data of each channel in multiple time windows, the channel consistency detection result of the microphone array is determined.

[0007] A microphone array detection method provided by the present invention further includes: When the channel consistency detection result is consistent, channel sequence detection is performed on the microphone array.

[0008] According to a microphone array detection method provided by the present invention, the channel sequence detection of the microphone array includes: In the case where there is a blocked microphone in the microphone array, obtaining second audio data collected by each channel in the microphone array; Determine a blocked channel from the channels based on the second audio data of the channels; A channel sequence detection result of the microphone array is determined based on the blocked microphone and the microphone corresponding to the blocked channel.

[0009] According to a microphone array detection method provided by the present invention, the method of determining a blocked channel from the channels based on the second audio data of the channels includes: Based on the change information of the gain audio characteristics of the second audio data of the channels in multiple time windows, a blocked channel is determined from the channels.

[0010] According to a microphone array detection method provided by the present invention, extracting original audio features of the first audio data of each channel in the same time window includes: The signal strength of the first audio data of each channel in the same time window is detected as the original audio feature.

[0011] The present invention also provides a microphone array detection device, comprising: An acquisition unit, used to acquire first audio data collected by each channel in the microphone array; A feature extraction unit, used to extract original audio features of the first audio data of each channel in the same time window; A feature gain unit, configured to gain the original audio features of each channel based on the position of each channel in the microphone array to obtain the gained audio features of each channel; The detection unit is used to determine the detection result of the microphone array based on the change information of the audio characteristics of the gain of the first audio data of each channel in multiple time windows.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the microphone array detection methods described above is implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the microphone array detection method as described above is implemented.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the microphone array detection method described above is implemented.

[0015] The microphone array detection method, device, electronic device and storage medium provided by the present invention gain the original audio features of each channel based on the position of each channel in the microphone array to obtain the gain audio features of each channel, thereby eliminating the audio collection differences caused by the position differences of the microphones corresponding to each channel in the microphone array. The microphone array detection is performed through the change information of the gain audio features of the first audio data of each channel in the microphone array under multiple time windows. In this process, the change information of the gain audio features under multiple time windows is applied, which can dynamically and real-time reflect the operation of the microphone through the change of audio, and combined with the change information under each channel, it can quickly and accurately locate the abnormal microphone according to the channel consistency of the microphone array, thereby greatly improving the implementation efficiency and accuracy of the microphone array detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 This is one of the flow charts of the microphone array detection method provided by the present invention.

[0018] Figure 2 It is one of the distribution histograms of the audio features provided by the present invention.

[0019] Figure 3 This is the second distribution histogram of the audio features provided by the present invention.

[0020] Figure 4 This is the second flow chart of the microphone array detection method provided by the present invention.

[0021] Figure 5 It is a structural schematic diagram of the microphone array detection device provided by the present invention.

[0022] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] Currently, the detection and positioning of abnormal microphones in a microphone array mainly relies on manual testing of the microphones in the microphone array one by one.

[0025] These methods are not only time-consuming and labor-intensive, but also inefficient. In the face of large-scale microphone arrays, it is often difficult to quickly and accurately identify specific abnormal microphones. In particular, in the case of rapid detection requirements on production lines or real-time maintenance scenarios in complex environments, traditional methods are particularly inadequate.

[0026] In view of the above problems, an embodiment of the present invention provides a microphone array detection method. Figure 1 is one of the flow charts of the microphone array detection method provided by the present invention, such as Figure 1 As shown, the method includes: Step 110: Acquire first audio data collected by each channel in the microphone array.

[0027] Here, the microphone array is the microphone array to be detected, and the embodiment of the present invention does not limit the layout of the microphone array and the number of microphones included in the microphone array.

[0028] To achieve microphone array detection, the microphone array can be controlled to be turned on so that each microphone in the microphone array can collect sound. In this way, the audio data collected by each microphone in the microphone array can be obtained. Here, when controlling the microphone array to collect sound, a speaker can be set around the microphone array to play audio for the microphone array to collect, or, a speaker may not be set separately, and the microphone array can collect environmental sound. The embodiment of the present invention does not specifically limit this.

[0029] In the embodiment of the present invention, each microphone of the microphone array corresponds to a channel, that is, the microphones in the microphone array correspond to the channels one by one, thereby, the audio data collected by each channel in the microphone array can be obtained, which is recorded as the first audio data. It can be understood that the first audio data is audio data collected in real time.

[0030] Step 120: extracting original audio features of the first audio data of each channel in the same time window.

[0031] Specifically, after the first audio data of each channel in the microphone array is acquired, audio features may be extracted for the first audio data of each channel.

[0032] Considering that the first audio data is collected in real time, when extracting audio features from the first audio data, the audio features of the audio data in the window can be extracted in the form of a sliding window. For example, the window size can be set to 10ms, and audio data with a duration of 10ms can be sampled from the first audio data every 100ms to extract audio features. In addition, in order to be able to compare the audio features of the first audio data in different channels at the same time, when extracting audio features, the audio features in the same time window can be extracted for the first audio data in different channels.

[0033] Here, the audio features extracted from the first audio data under any channel are recorded as original audio features. The original audio features are used to reflect the features presented by the audio data of the first audio data under the time window, for example, signal strength, amplitude, frequency, etc., which are not specifically limited in the embodiments of the present invention.

[0034] Step 130: Based on the position of each channel in the microphone array, the original audio features of each channel are gained to obtain the gained audio features of each channel.

[0035] Specifically, when the size of the microphone array is large and the distances between the microphones in the microphone array are far, the first audio data collected by the microphones at different positions in the microphone array when collecting sound from the same sound source may be different. In order to prevent the difference in audio features of the first audio data caused by the setting positions of the microphones in the microphone array from affecting the reliability of the channel consistency detection of the microphone array, the original audio features of each channel can be amplified before the channel consistency detection is performed, thereby compensating for the audio collection differences caused by the setting positions.

[0036] In the specific implementation, after detecting the original audio features of the first audio data of each channel in the same time window, the gain coefficient of each channel can be determined based on the position of the microphone corresponding to each channel in the microphone array, and then based on the gain coefficient of each channel, the original audio features detected by each channel are gained, and the original audio features after gain are used as the final audio features, that is, the gained audio features are obtained.

[0037] It can be understood that the purpose of gaining the original audio features of each channel here is to make the gained audio features of each channel ignore the influence of the position difference of the microphones corresponding to each channel on the microphone array when the microphone array operates normally.

[0038] Here, the relationship between the channel and the gain coefficient is one-to-one, that is, each channel has its own corresponding gain coefficient, and the gain coefficient is used to compensate for the audio collection difference caused by the different positions of the microphone corresponding to the channel in the microphone array and other microphones. Step 140, based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows, determine the detection result of the microphone array.

[0039] Specifically, for the first audio data collected in real time, the gain audio features of the first audio data in multiple time windows can be collected, thereby analyzing the change information of the gain audio features of the first audio data in multiple time windows. For example, when the gain audio feature is signal strength, the change information of the signal strength of the first audio data in multiple time windows is analyzed, which can reflect the change in the strength of the audio collected by the microphone corresponding to the channel in the microphone array.

[0040] Thus, based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows, the change of the audio collected by the microphone corresponding to each channel in the microphone array can be understood dynamically and in real time. It can be understood that since each microphone in the microphone array collects sound from the same sound source, when each microphone is in a normal state, the change of the audio collected by each microphone should be consistent.

[0041] Therefore, by comparing whether the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows is consistent, it can be determined whether there is first audio data with abnormal change information, and then it can be determined whether there is an abnormal microphone in the microphone array, and the abnormal microphone can be quickly located in the microphone array.

[0042] In the method provided by the embodiment of the present invention, the original audio features of each channel are gained based on the position of each channel in the microphone array to obtain the gained audio features of each channel, thereby eliminating the audio collection differences caused by the position differences of the microphones corresponding to each channel in the microphone array. Microphone array detection is performed through the change information of the gain audio features of the first audio data of each channel in the microphone array under multiple time windows. In this process, the change information of the gain audio features under multiple time windows is applied to dynamically and in real time reflect the operation of the microphone through the change of audio, and combined with the change information under each channel, the abnormal microphone can be quickly and accurately located according to the channel consistency of the microphone array, thereby greatly improving the implementation efficiency and accuracy of microphone array detection.

[0043] Based on the above embodiment, in step 140, determining the detection result of the microphone array based on the change information of the gain audio feature of the first audio data of each channel in multiple time windows includes: Determine audio feature distribution information based on gain audio features of the first audio data of each channel in the same time window; Based on the audio feature distribution information and the change information of the gain audio features of the first audio data of each channel in multiple time windows, the channel consistency detection result of the microphone array is determined.

[0044] Specifically, in order to realize the detection of the microphone array, in addition to applying the change information of the gain audio characteristics of the first audio data of each channel in the microphone array in multiple time windows to determine whether there are abnormal microphones in the microphone array and then locate the abnormal microphone, the audio feature distribution information of the first audio data of each channel in the same time window can also be applied. By using the discrete degree of the gain audio feature distribution of each channel reflected by the audio feature distribution information, it is determined whether there is a microphone with a large difference in audio data collected by other microphones in the same time window, thereby determining whether there are abnormal microphones in the microphone array and then locating the abnormal microphone.

[0045] Here, after extracting the gain audio features of the first audio data of each channel in the same time window, the distribution information of the gain audio features of each channel in the same time window, that is, the audio feature distribution information, can be determined. It can be understood that the audio feature distribution information is used to reflect the distribution of the gain audio features of the first audio data of each channel in the same time window, and can be specifically used to describe the discrete degree, central tendency, etc. of the gain audio features of each channel.

[0046] In some embodiments, the audio feature distribution information may be a distribution of gain audio features of each channel displayed intuitively in the form of a histogram or a frequency distribution table. Figure 2 It is one of the distribution histograms of the audio features provided by the present invention. Figure 3 This is the second distribution histogram of the audio features provided by the present invention. Figure 2 and Figure 3 In , the horizontal axis represents the channels of the microphone array, and the vertical axis represents the value of the gain audio feature, for example, the audio feature is dBFS (decibels Full Scale). Figure 2 In the example, the dBFS of a few channels is significantly different from the dBFS of most channels, which indicates that there are abnormal microphones in the microphone array. Figure 3 In the example, the dBFS of all channels tend to be consistent, which indicates that there is no abnormal microphone in the microphone array.

[0047] In other embodiments, the audio feature distribution information may be the degree of discreteness of the gain audio features of each channel expressed in numerical values ​​such as variance and standard deviation. For example, when the gain audio feature is dBFS, the variance of dBFS of all channels in the same time window may be calculated, and by comparing the calculated variance with a pre-set variance threshold, it is determined whether there are abnormal microphones in the microphone array. It is understandable that within the same time window, the sound pressures to which the microphones in the microphone array are subjected are close under normal conditions, and the better the consistency of the microphones, the smaller the calculated variance. Thus, when the variance is less than the variance threshold, it can be determined that there are no abnormal microphones in the microphone array, and when the variance is greater than the variance threshold, it can be determined that there are abnormal microphones in the microphone array.

[0048] Thus, after obtaining the audio feature distribution information, the audio feature distribution information and the change information of the gain audio features of the first audio data of each channel in multiple time windows can be used to measure the channel consistency of the microphone array. It can be understood that the channel consistency of the microphone array in the same time window can be measured by the audio feature distribution information, and the channel consistency of the microphone array in the passage of time in multiple time windows can be measured by the change information of the gain audio features of each channel. By combining these two, a detection result for channel consistency can be obtained, that is, a channel consistency detection result. The channel consistency detection result can be consistent or inconsistent. It can be understood that when the channel consistency detection result is consistent, each microphone in the microphone array is in normal operation. When the channel consistency detection result is inconsistent, there is an abnormal microphone in the microphone array.

[0049] Based on any of the above embodiments, the method further includes: When the channel consistency detection result is consistent, channel sequence detection is performed on the microphone array.

[0050] Specifically, when the channel consistency test is performed on the microphone array and the channel consistency test result is determined to be consistent, it can be determined that each microphone in the microphone array is in normal operation. In this case, the microphone array can be further tested for channel sequence to determine whether the correspondence between each microphone in the microphone array and the channel is correct, that is, to determine whether the relationship between the microphone and the channel does not conform to the pre-set correspondence due to reasons such as wrong installation position or wrong signal line connection during the installation and use of the microphone array.

[0051] Here, channel sequence detection is performed on the microphone array, specifically, sequence detection of the channels corresponding to the microphones in the microphone array is performed, thereby determining whether the correspondence between the microphones and the channels is as expected, thereby correcting the problem that the correspondence between the microphones and the channels is inconsistent with the preset correspondence.

[0052] Based on any of the foregoing embodiments, the performing channel sequence detection on the microphone array includes: In the case where there is a blocked microphone in the microphone array, obtaining second audio data collected by each channel in the microphone array; Determine a blocked channel from the channels based on the second audio data of the channels; A channel sequence detection result of the microphone array is determined based on the blocked microphone and the microphone corresponding to the blocked channel.

[0053] Specifically, during the process of performing channel sequence detection on the microphone array, the sound pickup hole of any microphone in the microphone array may be blocked, thereby interfering with the sound collection of the microphone. In the embodiment of the present invention, the microphone with the blocked sound pickup hole is recorded as a blocked microphone.

[0054] In the case of a blocked microphone, the microphone array can be controlled to be turned on so that each microphone in the microphone array is in a sound collection state, thereby obtaining audio data collected by each channel in the microphone array. In order to distinguish the audio data collected by each channel in the microphone array in the case of no blocked microphone in the above embodiment, in the embodiment of the present invention, the audio data collected in the case of a blocked microphone is recorded as the second audio data.

[0055] It is understandable that, in the case of a blocked microphone, the second audio data collected by the blocked microphone and the second audio data collected by the unblocked microphone may have different audio features in the same time window, and the changes in the audio features of the second audio data collected by the blocked microphone in multiple time windows may be very weak, while the audio features of the second audio data collected by the unblocked microphone in multiple time windows may change with the change of the sound source. Therefore, based on the second audio data of each channel, the blocked channel can be determined from each channel, and the blocked channel here is the channel actually corresponding to the blocked microphone.

[0056] After the blocked channel is determined, the channel predetermined for the blocked microphone and the blocked channel obtained by detection can be compared to see whether they are the same channel, thereby realizing the channel order detection for the microphone array. It can be understood that if the channel predetermined for the blocked microphone in the microphone array is different from the blocked channel, it can be said that the correspondence between the microphone and the channel does not meet expectations, that is, the channel order detection result is out of order; if the channels of all the blocked microphones in the microphone array are the same as the blocked channel, it can be said that the correspondence between the microphone and the channel meets expectations, that is, the channel order detection result is in order.

[0057] Based on any of the above embodiments, the determining a blocked channel from the channels based on the second audio data of the channels includes: Based on the change information of the gain audio characteristics of the second audio data of the channels in multiple time windows, a blocked channel is determined from the channels.

[0058] Specifically, for the second audio data of each channel obtained, the original audio features of each second audio data can be extracted in the form of a sliding window, and based on the position of each channel in the microphone array, the original audio features of each channel are gained to obtain the gained audio features of the second audio data of each channel. Thus, for the second audio data collected in real time, the gained audio features of the second audio data in multiple time windows can be collected, thereby analyzing the change information of the gained audio features of the second audio data in multiple time windows.

[0059] Based on the change information of the gain audio characteristics of the second audio data of each channel in multiple time windows, the change of the audio collected by the microphone corresponding to each channel in the microphone array can be understood dynamically and in real time. It is understandable that since each microphone in the microphone array collects sound from the same sound source, in the microphone array, when each unblocked microphone is in a normal state, the change of the audio collected by each unblocked microphone should be consistent. However, the blocked microphone in the microphone array cannot normally collect sound from the sound source because the pickup hole is blocked. Therefore, compared with each unblocked microphone, there is a difference in the change information of the gain audio characteristics of the second audio data of the channel corresponding to the blocked microphone in multiple time windows.

[0060] Therefore, by comparing whether the change information of the gain audio features of the second audio data of each channel in multiple time windows is consistent, the channel with abnormal change information can be determined from each channel as a blocked channel.

[0061] Based on any of the above embodiments, in step 120, extracting original audio features of the first audio data of each channel in the same time window includes: The signal strength of the first audio data of each channel in the same time window is detected as the original audio feature.

[0062] Specifically, during the detection process for the microphone array, the signal strength of the first audio data collected in the time window can be used as the original audio feature of the first audio data. The signal strength here is dBFS, which is an audio level measurement unit used to measure the signal strength in digital audio. It can be calculated by the following formula:

[0063] In the formula, is the mean value of the sampling values ​​of the first audio data in a time window, is the maximum sampling value of the audio type corresponding to the first audio data, for example, in a 16-bit audio system, The value can be 65335.

[0064] After detecting the original audio features of the first audio data of each channel in the same time window, the original audio features of each channel may be gained based on the position of each channel in the microphone array to obtain the gained audio features of each channel.

[0065] Subsequently, the variance of the gain audio feature can be calculated as the audio feature distribution information. Here, the variance reflects the degree of dispersion between the signal strength of each signal strength and its mean in the signal strength of the first audio data of each channel. Specifically, the variance is a statistic that measures the volatility of data distribution. The larger the variance, the larger the sum of squares of the deviations between the signal strength of each channel and its mean, that is, the more dispersed the signal strength distribution of each channel, the worse the channel consistency; the smaller the variance, the more concentrated the signal strength distribution of each channel, the smaller the fluctuation, and the better the channel consistency. Therefore, the channel consistency of the microphone array can be judged by measuring the size of the variance.

[0066] Based on any of the above embodiments, Figure 4 FIG. 2 is a flow chart of the microphone array detection method provided by the present invention. Figure 4 As shown, the method includes: First, any sound source is played around the microphone array, and the microphone array is controlled to collect sound, thereby obtaining first audio data of each channel in the microphone array, and the first audio data is cached in real time in the form of a sliding window.

[0067] Secondly, the first audio data of each channel cached in the current time window is obtained.

[0068] Next, the signal strength of the first audio data of each channel cached in the current time window is calculated, and the signal strength of each channel is gained based on the gain coefficient corresponding to each channel, and the variance is calculated based on the gained signal strength of each channel.

[0069] The signal strength after gain is then displayed in the form of a bar graph for each channel. In addition, the variance value can also be displayed.

[0070] Next, after waiting for a preset period of time, return to obtain the first audio data of each channel cached in the current time window, thereby updating the signal strength of each channel after gain displayed in the bar chart, so that the user can intuitively view the change information of the signal strength of each channel and the variance of the signal strength in the same time window, thereby determining whether there is an abnormal microphone in the microphone array and locating the abnormal microphone.

[0071] Here, the preset time length may be 50 ms, or may be other preset time lengths, such as 100 ms, 75 ms, etc.

[0072] It should be noted that in the production scenario of the microphone array, the microphone array can be connected to a computer or other electronic device with signal processing capabilities to achieve microphone array detection. In the use scenario of the microphone array, the above detection method can be used to detect whether there is any microphone damage in the microphone array, that is, to achieve microphone array self-test. Specifically, the detection can be performed through an internal sound source or an external sound source when the microphone array is turned on, so as to achieve automatic identification of damaged channels.

[0073] The microphone array detection device provided by the present invention is described below. The microphone array detection device described below and the microphone array detection method described above can be referenced to each other.

[0074] Figure 5 is a schematic diagram of the structure of the microphone array detection device provided by the present invention, such as Figure 5 As shown, the device comprises: An acquisition unit 510 is used to acquire first audio data collected by each channel in the microphone array; A feature extraction unit 520, configured to extract original audio features of the first audio data of each channel in the same time window; A feature gain unit 530, configured to gain the original audio features of each channel based on the position of each channel in the microphone array to obtain the gained audio features of each channel; The detection unit 540 is configured to determine a detection result of the microphone array based on change information of audio features of gains of the first audio data of each channel in multiple time windows.

[0075] In the device provided by the embodiment of the present invention, the original audio features of each channel are gained based on the position of each channel in the microphone array to obtain the gained audio features of each channel, thereby eliminating the audio collection differences caused by the position differences of the microphones corresponding to each channel in the microphone array. Microphone array detection is performed through the change information of the gain audio features of the first audio data of each channel in the microphone array under multiple time windows. In this process, the change information of the gain audio features under multiple time windows is applied to dynamically and in real time reflect the operation of the microphone through the change of audio, and combined with the change information under each channel, the abnormal microphone can be quickly and accurately located according to the channel consistency of the microphone array, thereby greatly improving the implementation efficiency and accuracy of microphone array detection.

[0076] Based on any of the above embodiments, the detection unit is specifically used for: Determine audio feature distribution information based on gain audio features of the first audio data of each channel in the same time window; Based on the audio feature distribution information and the change information of the gain audio features of the first audio data of each channel in multiple time windows, the channel consistency detection result of the microphone array is determined.

[0077] Based on any of the above embodiments, the detection unit is further used for: When the channel consistency detection result is consistent, channel sequence detection is performed on the microphone array.

[0078] Based on any of the above embodiments, the detection unit is specifically used for: In the case where there is a blocked microphone in the microphone array, obtaining second audio data collected by each channel in the microphone array; Determine a blocked channel from the channels based on the second audio data of the channels; A channel sequence detection result of the microphone array is determined based on the blocked microphone and the microphone corresponding to the blocked channel.

[0079] Based on any of the above embodiments, the detection unit is specifically used for: Based on the change information of the gain audio characteristics of the second audio data of the channels in multiple time windows, a blocked channel is determined from the channels.

[0080] Based on any of the above embodiments, the feature extraction unit is specifically used for: The signal strength of the first audio data of each channel in the same time window is detected as the original audio feature.

[0081] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the microphone array detection method, which includes: Acquire first audio data collected by each channel in the microphone array; Extracting original audio features of the first audio data of each channel in the same time window; Based on the position of each channel in the microphone array, gaining the original audio features of each channel to obtain the gained audio features of each channel; The detection result of the microphone array is determined based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows.

[0082] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0083] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the microphone array detection method provided by the above methods, the method includes: Acquire first audio data collected by each channel in the microphone array; Extracting original audio features of the first audio data of each channel in the same time window; Based on the position of each channel in the microphone array, gaining the original audio features of each channel to obtain the gained audio features of each channel; The detection result of the microphone array is determined based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows.

[0084] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the microphone array detection method provided by the above methods, the method comprising: Acquire first audio data collected by each channel in the microphone array; Extracting original audio features of the first audio data of each channel in the same time window; Based on the position of each channel in the microphone array, gaining the original audio features of each channel to obtain the gained audio features of each channel; The detection result of the microphone array is determined based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows.

[0085] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A microphone array detection method, characterized in that: include: Acquire first audio data collected by each channel in the microphone array; Extracting original audio features of the first audio data of each channel in the same time window; Based on the position of each channel in the microphone array, gaining the original audio features of each channel to obtain the gained audio features of each channel; The detection result of the microphone array is determined based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows.

2. The microphone array detection method according to claim 1, characterized in that: The determining the detection result of the microphone array based on the change information of the gain audio feature of the first audio data of each channel in multiple time windows includes: Determine audio feature distribution information based on gain audio features of the first audio data of each channel in the same time window; Based on the audio feature distribution information and the change information of the gain audio features of the first audio data of each channel in multiple time windows, the channel consistency detection result of the microphone array is determined.

3. The microphone array detection method according to claim 2, characterized in that: Also includes: When the channel consistency detection result is consistent, channel sequence detection is performed on the microphone array.

4. The microphone array detection method according to claim 3, characterized in that: The performing channel sequence detection on the microphone array comprises: In the case where there is a blocked microphone in the microphone array, obtaining second audio data collected by each channel in the microphone array; Determine a blocked channel from the channels based on the second audio data of the channels; A channel sequence detection result of the microphone array is determined based on the blocked microphone and the microphone corresponding to the blocked channel.

5. The microphone array detection method according to claim 4, characterized in that: The determining a blocked channel from the channels based on the second audio data of the channels comprises: Based on the change information of the gain audio characteristics of the second audio data of the channels in multiple time windows, a blocked channel is determined from the channels.

6. The microphone array detection method according to any one of claims 1 to 5, characterized in that: The extracting original audio features of the first audio data of each channel in the same time window includes: The signal strength of the first audio data of each channel in the same time window is detected as the original audio feature.

7. A microphone array detection device, characterized in that: include: An acquisition unit, used to acquire first audio data collected by each channel in the microphone array; A feature extraction unit, used to extract original audio features of the first audio data of each channel in the same time window; A feature gain unit, configured to gain the original audio features of each channel based on the position of each channel in the microphone array to obtain the gained audio features of each channel; The detection unit is used to determine the detection result of the microphone array based on the change information of the gain audio characteristics of the first audio data of each channel in multiple time windows.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the microphone array detection method according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the microphone array detection method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the microphone array detection method according to any one of claims 1 to 6 is implemented.