Microphone array selection method, apparatus, device, and storage medium
By improving the microphone array selection method and using an array microphone prediction model to select the target array microphone for sound source localization, the problem of high power consumption in handheld microphone array devices is solved, thereby reducing power consumption and extending device usage time.
Patent Information
- Application Number
- CN202310945653.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-07-28
Smart Images

Figure CN116866786B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio signal processing technology, and in particular to a microphone array selection method, apparatus, device and storage medium. Background Technology
[0002] Currently, acoustic cameras are commonly used to locate sound sources. An acoustic camera is a microphone array, which consists of multiple microphones arranged in a certain pattern. The array signal processing algorithm generates the sound pressure level distribution on a plane and visualizes the sound using a color contour map. The sound distribution of the measured object is displayed through photos or videos to locate the sound source.
[0003] With the development of acoustic cameras, handheld array microphones are currently a research hotspot. For handheld devices, power consumption determines the usage cycle and traversal. Microphone arrays typically contain multiple microphones to achieve positioning functionality. In practical operation, handheld array microphones in related technologies require all microphones to operate simultaneously, resulting in high power consumption. Summary of the Invention
[0004] The main objective of this application is to provide a microphone array selection method, apparatus, device, and storage medium, aiming to solve the technical problem of high power consumption in existing devices.
[0005] To achieve the above objectives, this application provides a microphone array selection method, the microphone array selection method comprising:
[0006] Obtain the array microphone data of each microphone in the microphone array;
[0007] The array microphone data is input into a preset array microphone prediction model. Based on the array microphone prediction model, array selection processing is performed on the array microphone data to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data.
[0008] Based on the array microphone data corresponding to the target array microphone, the sound source localization information is determined.
[0009] Optionally, before the step of acquiring the array microphone data of each microphone in the microphone array, the method includes:
[0010] Obtain the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data from the network training set;
[0011] Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, the preset prediction model to be trained is iteratively trained to obtain an array microphone prediction model that meets the accuracy requirements.
[0012] Optionally, the step of obtaining the target array microphone sample data of the network training set includes:
[0013] Obtain the initial array sample data of the network training set;
[0014] Symmetric array swapping is performed on the initial array microphone sample data of each network training set to obtain the target array microphone sample data, thereby realizing the data expansion of the array microphone sample data.
[0015] Optionally, the step of iteratively training a preset prediction model to obtain a prediction model with satisfactory accuracy based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes:
[0016] The target array microphone sample data is input into the preset detection model to be trained to obtain the predicted array microphone selection information;
[0017] The difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data is calculated to obtain the first loss value;
[0018] Determine whether the first loss value meets the error standard indicated by the preset loss threshold range;
[0019] If the first loss value does not meet the error standard indicated by the preset loss threshold range, the process returns to the step of inputting the target array microphone sample data into the preset detection model to be trained to obtain the predicted array microphone selection information. Training stops when the first loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the required accuracy is obtained.
[0020] Optionally, the step of iteratively training a preset prediction model to obtain a prediction model with satisfactory accuracy based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes:
[0021] Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, the preset mask reconstruction model to be trained and the preset prediction model to be trained are jointly trained to obtain an array microphone prediction model that meets the accuracy requirements.
[0022] Optionally, the step of jointly training a preset mask reconstruction model and a preset prediction model to obtain an array microphone prediction model that meets the accuracy requirements based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes:
[0023] Feature extraction is performed on the target array sample data to obtain feature sample data;
[0024] The feature sample data is input into a preset mask reconstruction model to be trained to obtain predicted reconstruction array microphone data, and the difference between the predicted reconstruction array microphone data and the target array microphone sample data is calculated to obtain a second loss value.
[0025] The feature sample data is input into the preset detection model to be trained to obtain the predicted array microphone selection information, and the difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data is calculated to obtain the first loss value.
[0026] Calculate the sum of the first loss value and the second loss value to obtain the target loss value, and determine whether the target loss value meets the error standard indicated by the preset loss threshold range;
[0027] If the target loss value does not meet the error standard indicated by the preset loss threshold range, the process returns to inputting the feature sample data into the preset mask reconstruction model to be trained, and obtaining the predicted reconstruction array microphone data. Training stops when the target loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the required accuracy is obtained.
[0028] Optionally, the step of inputting the feature sample data into a preset mask reconstruction model to obtain the prediction reconstruction array data includes:
[0029] The feature sample data is input into a preset mask reconstruction model to be trained. Based on the mask reconstruction model to be trained, a random number of channel data is discarded from the feature sample data to obtain the remaining feature sample data.
[0030] The remaining feature sample data is spliced together according to the channel number of the remaining feature sample data to obtain the prediction reconstruction array data.
[0031] Optionally, the random number is no more than half the number of the feature sample data.
[0032] This application also provides a microphone array selection device, the microphone array selection device comprising:
[0033] The acquisition module is used to acquire the array microphone data of each microphone in the microphone array;
[0034] The selection module is used to input the array microphone data into a preset array microphone prediction model, and perform array selection processing on the array microphone data based on the array microphone prediction model to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data.
[0035] The positioning module is used to determine the sound source positioning information based on the array microphone data corresponding to the target array microphone;
[0036] And / or, the microphone array selection device further includes: a sample acquisition module, used to acquire target array microphone sample data and array microphone selection labels corresponding to the target array microphone sample data in the network training set; and a training module, used to iteratively train a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, to obtain an array microphone prediction model that meets the accuracy conditions.
[0037] And / or, the sample acquisition module includes: an initial sample data acquisition module, used to acquire initial array microphone sample data of the network training set; and a symmetric array exchange module, used to perform symmetric array exchange processing on the initial array microphone sample data of each network training set to obtain target array microphone sample data, so as to realize data expansion of array microphone sample data.
[0038] And / or, the training module includes: a prediction module, used to input the target array microphone sample data into the preset detection model to be trained to obtain predicted array microphone selection information; a first difference calculation module, used to perform difference calculation between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data to obtain a first loss value; a first judgment module, used to judge whether the first loss value meets the error standard indicated by the preset loss threshold range; and a first iterative training module, used to return to the step of inputting the target array microphone sample data into the preset detection model to be trained to obtain predicted array microphone selection information if the first loss value does not meet the error standard indicated by the preset loss threshold range, until the first loss value meets the error standard indicated by the preset loss threshold range and then stop training to obtain an array microphone prediction model that meets the accuracy conditions.
[0039] And / or, the training module further includes: a joint training module, used to jointly train a preset mask reconstruction model to be trained and a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, so as to obtain an array microphone prediction model that meets the accuracy conditions.
[0040] And / or, the joint training module includes: a feature extraction module, used to extract features from the target array microphone sample data to obtain feature sample data; a second difference calculation module, used to input the feature sample data into a preset mask reconstruction model to be trained to obtain predicted reconstructed array microphone data, and to perform difference calculation between the predicted reconstructed array microphone data and the target array microphone sample data to obtain a second loss value; and a first difference calculation module, used to input the feature sample data into the preset detection model to be trained to obtain predicted array microphone selection information, and to map the predicted array microphone selection information to the target array microphone sample data. The array microphone selects labels for difference calculation to obtain a first loss value; the second judgment module calculates the sum of the first loss value and the second loss value to obtain a target loss value, and judges whether the target loss value meets the error standard indicated by the preset loss threshold range; the second iterative training module, if the target loss value does not meet the error standard indicated by the preset loss threshold range, returns to the step of inputting the feature sample data into the preset mask reconstruction model to be trained, and obtaining the predicted reconstruction array microphone data, until the target loss value meets the error standard indicated by the preset loss threshold range and then stops training, and obtains an array microphone prediction model with the accuracy conditions.
[0041] This application also provides a microphone array selection device, which includes: a memory, a processor, and a program stored in the memory for implementing the microphone array selection method.
[0042] The memory is used to store the program that implements the microphone array selection method;
[0043] The processor is used to execute a program that implements the microphone array selection method, so as to implement the steps of the microphone array selection method.
[0044] This application also provides a storage medium storing a program for implementing a microphone array selection method, wherein the program for implementing the microphone array selection method is executed by a processor to implement the steps of the microphone array selection method.
[0045] This application provides a microphone array selection method, apparatus, device, and storage medium. Compared to related technologies where handheld array microphones require all microphones to operate simultaneously, resulting in high power consumption, this application acquires the array microphone data of each microphone in the microphone array; inputs the array microphone data into a preset array microphone prediction model; and performs array selection processing on the array microphone data based on the array microphone prediction model to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data. Based on the array microphone data corresponding to the target array microphone, sound source localization information is determined. In other words, this application, based on a pre-trained array microphone prediction model, performs array selection processing on the array microphone data of each microphone, selecting only a portion of the array microphones for subsequent sound source localization, thereby removing redundant array microphones and reducing device power consumption. Attached Figure Description
[0046] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0047] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application;
[0048] Figure 2 This is a flowchart illustrating the first embodiment of the microphone array selection method of this application;
[0049] Figure 3 This is a schematic diagram of the microphone array selection device of this application;
[0050] Figure 4 A schematic diagram of the microphone array of the 24-microphone device for the microphone array selection method of this application;
[0051] Figure 5 This is a schematic diagram of the training framework for the array microphone prediction model of the microphone array selection method in this application.
[0052] Figure 6 This is a schematic diagram of data splicing for the microphone array selection method of this application.
[0053] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0054] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0055] like Figure 1 As shown, Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of this application.
[0056] The terminal in this application embodiment can be a PC, or a smartphone, tablet computer, e-book reader, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV) player, portable computer, or other portable terminal devices with display functions.
[0057] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0058] Optionally, the terminal may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, and so on. Sensors may include light sensors, motion sensors, and other sensors. Specifically, light sensors may include ambient light sensors and proximity sensors. The ambient light sensor can adjust the display brightness according to the ambient light level, while the proximity sensor can turn off the display and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, a gravity accelerometer can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used for applications that identify the mobile terminal's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition functions (such as pedometers, taps), etc. Of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, which will not be elaborated here.
[0059] Those skilled in the art will understand that Figure 1 The terminal structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0060] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating device, a network communication module, a user interface module, and a microphone array selection program.
[0061] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate with the backend server; the user interface 1003 is mainly used to connect to the client (user terminal) and communicate with the client; and the processor 1001 can be used to call the microphone array selection program stored in the memory 1005.
[0062] Reference Figure 2 This application provides a microphone array selection method, which includes:
[0063] Step S100: Obtain the array microphone data of each microphone in the microphone array;
[0064] Step S200: Input the array microphone data into a preset array microphone prediction model. Based on the array microphone prediction model, perform array selection processing on the array microphone data to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data.
[0065] Step S300: Determine the sound source localization information based on the array microphone data corresponding to the target array microphone.
[0066] In this embodiment, the application scenario is:
[0067] As an example, the microphone array selection scenario can be a handheld array microphone used for sound source localization. In related technologies, handheld array microphones require all microphones to operate simultaneously, resulting in high power consumption. To address this scenario, the microphone array selection method in this embodiment is based on a pre-trained array microphone prediction model. It performs array selection processing on the array microphone data of each microphone, selecting only a subset of the array microphones for subsequent sound source localization, thereby removing redundant microphones and reducing power consumption.
[0068] As an example, the application scenarios for microphone array selection are not limited to the aforementioned handheld array microphone for sound source localization, but also include various other microphone array selection scenarios, without specific limitations here.
[0069] This embodiment aims to reduce device power consumption.
[0070] In this embodiment, the microphone array selection method is applied to the microphone array selection device.
[0071] The specific steps are as follows:
[0072] Step S100: Obtain the array microphone data of each microphone in the microphone array;
[0073] In this embodiment, the microphone array includes a certain number of microphones (or pickups). During the operation of the microphone array (such as sound source localization, abnormal sound and noise testing, etc.), each microphone in the microphone array outputs corresponding array microphone data as input for the operation of the microphone array. That is, the device obtains the array microphone data of each microphone in the microphone array by receiving the array microphone data output by each microphone in the microphone array. For example, refer to... Figure 4 The microphone array contains 24 microphones, and the device acquires array microphone data from each of the 1 to 24 microphones.
[0074] Step S200: Input the array microphone data into a preset array microphone prediction model. Based on the array microphone prediction model, perform array selection processing on the array microphone data to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data.
[0075] In this embodiment, the device inputs the array microphone data into a preset array microphone prediction model. Based on the array microphone prediction model, the array microphone data is processed to obtain the target array microphone, thereby removing redundant array microphones. The array microphone prediction model is obtained by iteratively training a preset prediction model based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data. Specifically, based on the number of array microphones corresponding to the array microphone data, the array microphone prediction model outputs a corresponding number of nodes and their corresponding labels. For example, if the input is the original data of 24 microphones (i.e., the number of array microphones corresponding to the array microphone data is 24), the array microphone prediction model outputs the same number of nodes as the number of array microphones, resulting in 24 output nodes. Each node is labeled [0, 1], where 0 represents that the current microphone is redundant and 1 represents that the current microphone is required. Therefore, the model output is a 1*24 vector composed of [0, 1]. The target array microphone is the microphone corresponding to the node with output 1, and the redundant array microphones are the microphones corresponding to the node with output 0. That is, the input is the original 24-channel data, and the output is a 24-dimensional vector representing whether each microphone is redundant. If it is redundant, it can be ignored in subsequent tasks, reducing the amount of input data at the front end when entering subsequent array signal processing. By using microphone array self-selection, power saving is achieved. This application is based on a pre-trained array microphone prediction model. It performs array selection processing on the array microphone data of each microphone, selecting only a portion of the array microphones from all the array microphones for subsequent sound source localization, thereby removing redundant array microphones and reducing device power consumption.
[0076] Step S300: Determine the sound source localization information based on the array microphone data corresponding to the target array microphone.
[0077] In this embodiment, the device determines the sound source localization information based on the array microphone data corresponding to the target array microphone. Specifically, based on the array microphone data corresponding to the target array microphone, the device uses array signal processing algorithms (such as beamforming) to generate the sound pressure level distribution on a plane, and visualizes the sound using a color contour map. The sound distribution of the tested object is displayed through photos or videos, thereby determining the sound source localization information. It should be noted that the device can also perform functions such as abnormal noise testing based on the array microphone data corresponding to the target array microphone, and is not limited to sound source localization.
[0078] This application provides a microphone array selection method. Compared to related technologies where handheld array microphones require all microphones to operate simultaneously, resulting in high power consumption, this application acquires the array microphone data of each microphone in the microphone array; inputs the array microphone data into a preset array microphone prediction model; and performs array selection processing on the array microphone data based on the array microphone prediction model to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data. Based on the array microphone data corresponding to the target array microphone, sound source localization information is determined. In other words, this application, based on a pre-trained array microphone prediction model, performs array selection processing on the array microphone data of each microphone, selecting only a portion of the array microphones for subsequent sound source localization, thereby removing redundant array microphones and reducing device power consumption.
[0079] Based on the first embodiment described above, this application also provides another embodiment, wherein the microphone array selection method includes:
[0080] Before step S100, which involves acquiring the array microphone data of each microphone in the microphone array, the method includes the following steps A100-A200:
[0081] Step A100: Obtain the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data from the network training set;
[0082] In this embodiment, the target array microphone sample data in the network training set is historical sample data used to train the array microphone prediction model. Each network training set corresponds to one or more microphone arrays. The array microphone selection labels corresponding to the target array microphone sample data are array microphone selection labels manually calibrated or assigned to each target array microphone sample data by other calibration methods. These array microphone selection labels are also the training targets. For example, network training set A is a microphone array with 24 microphones. The target array microphone sample data in network training set A includes target array microphone sample data X1-X24 at historical time X and target array microphone sample data Y1-Y24 at historical time Y. The array microphone selection labels corresponding to target array microphone sample data X1-X24 are X1-X15, and the array microphone selection labels corresponding to target array microphone sample data Y1-Y24 are Y1-Y10.
[0083] Specifically, step A100 includes the following steps A110-A120:
[0084] Step A110: Obtain the initial array sample data of the network training set;
[0085] In this embodiment, the device acquires the initial array microphone sample data of the network training set, wherein the target array microphone sample data is the sample data after the initial array microphone sample data is expanded, and the specific expansion method is as follows: step A120.
[0086] Step A120: Perform symmetric array swapping on the initial array microphone sample data of each network training set to obtain target array microphone sample data, thereby expanding the array microphone sample data.
[0087] In this embodiment, the device performs symmetrical array swapping on the initial array microphone sample data of each network training set to obtain target array microphone sample data, thereby expanding the array microphone sample data. Specifically, since the array microphone data is relatively sparse and deep learning networks have a large data requirement, a channel swapping scheme is adopted during training, that is, symmetrical array microphones are swapped. Without increasing the acquisition time, the training data can be expanded multiple times, specifically up to 4 times the original data volume.
[0088] Step A200: Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, iteratively train the preset prediction model to be trained to obtain an array microphone prediction model that meets the accuracy requirements.
[0089] In this embodiment, the device iteratively trains a preset prediction model based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data to obtain an array microphone prediction model that meets the accuracy requirements. After training the array microphone prediction model that meets the accuracy requirements, only the array microphone data of each microphone needs to be input during the inference stage. The array microphone prediction model will output a corresponding vector result. The vector result is used to characterize whether each microphone is a redundant microphone. If it is a redundant microphone, it can be ignored in subsequent tasks. This reduces the amount of input data at the front end when entering subsequent array signal processing. By using microphone array self-selection, the purpose of saving power is achieved.
[0090] Specifically, step A200 includes the following steps A210-A240:
[0091] Step A210: Input the target array microphone sample data into the preset detection model to be trained to obtain the predicted array microphone selection information;
[0092] In this embodiment, the device inputs the target array microphone sample data into the preset detection model to be trained to obtain the predicted array microphone selection information. The predicted array microphone selection information is obtained by the model in training to predict the security detection results. The detection model to be trained and the array microphone prediction model are only different in accuracy (the detection model to be trained has lower accuracy). Both have the function of processing array microphone sample data.
[0093] Step A220: Calculate the difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data to obtain a first loss value;
[0094] In this embodiment, the device calculates the difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data to obtain a first loss value. That is, it verifies whether the result obtained by the model during training is consistent with the known result and calculates the difference between the results to obtain the first loss value.
[0095] Step A230: Determine whether the first loss value meets the error standard indicated by the preset loss threshold range;
[0096] In this embodiment, the device determines whether the first loss value meets the error standard indicated by the preset loss threshold range. Specifically, since there is an error between the result predicted by the model during training and the actual result, the error result is allowed to be within the preset error threshold range, thereby further determining whether the first loss value meets the error standard indicated by the preset error threshold range.
[0097] Step A240: If the first loss value does not meet the error standard indicated by the preset loss threshold range, then return to the step of inputting the target array microphone sample data into the preset detection model to be trained to obtain the predicted array microphone selection information, until the first loss value meets the error standard indicated by the preset loss threshold range and then stop training to obtain an array microphone prediction model that meets the accuracy conditions.
[0098] In this embodiment, if the first loss value does not meet the error standard indicated by the preset loss threshold range, the device returns to the step of inputting the target array microphone sample data into the preset detection model to be trained to obtain the predicted array microphone selection information. Training stops when the first loss value meets the error standard indicated by the preset loss threshold range, resulting in an array microphone prediction model that meets the accuracy requirements. That is, the detection model to be trained is iteratively trained until the loss value of the trained model meets the error standard indicated by the preset error threshold range, resulting in an array microphone prediction model that meets the accuracy requirements, thereby improving the accuracy of the model prediction. In this application, based on the pre-trained array microphone prediction model, array selection processing is performed on the array microphone data of each microphone, selecting only a portion of the array microphones from all the array microphones for subsequent sound source localization, thereby removing redundant array microphones and reducing device power consumption.
[0099] Based on the first and second embodiments described above, this application also provides another embodiment, referring to... Figure 5 The microphone array selection method includes the following steps B100-B200:
[0100] Step B100: Obtain the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data from the network training set;
[0101] In this embodiment, the above steps A100 (including steps A110-A120) are referred to, and will not be repeated here.
[0102] Step B200: Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, jointly train the preset mask reconstruction model to be trained and the preset prediction model to be trained to obtain an array microphone prediction model that meets the accuracy requirements.
[0103] In this embodiment, the device performs joint training on a preset mask reconstruction model and a preset prediction model based on the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data, to obtain an array microphone prediction model that meets the accuracy requirements. Specifically, the network framework of the array microphone prediction model in this application is designed as a multi-task structure, divided into mask reconstruction and array microphone prediction tasks. The two tasks share the encoder. The reason for this design is to make the array microphone prediction network a very lightweight network, thereby achieving the goal of reducing power consumption.
[0104] Specifically, step B200 includes the following steps B210-B250:
[0105] Step B210: Extract features from the target array sample data to obtain feature sample data;
[0106] In this embodiment, the device extracts features from the target array microphone sample data to obtain feature sample data. The mask reconstruction task and the array microphone prediction task share the encoder part. That is, the obtained feature sample data is used to train the preset mask reconstruction model and the preset prediction model.
[0107] Step B220: Input the feature sample data into the preset mask reconstruction model to be trained to obtain the predicted reconstruction array microphone data, and calculate the difference between the predicted reconstruction array microphone data and the target array microphone sample data to obtain the second loss value.
[0108] In this embodiment, the device inputs the feature sample data into a preset mask reconstruction model to be trained to obtain predicted reconstructed array microphone data, and performs difference calculation between the predicted reconstructed array microphone data and the target array microphone sample data to obtain a second loss value. The difference calculation is to verify whether the result obtained by the model during training (predicted reconstructed array microphone data) is consistent with the known result (target array microphone sample data), and to calculate the difference between the results to obtain the second loss value. Specifically, the concept of the mask reconstruction task proposed in this application is to enable the array microphone prediction network to learn part of the array microphone reconstruction to obtain the full array microphone, thereby assisting the prediction of the array microphone prediction task and improving the accuracy of the array microphone prediction model.
[0109] Specifically, step B220 includes the following steps B221-B222:
[0110] Step B221: Input the feature sample data into the preset mask reconstruction model to be trained, and based on the mask reconstruction model to be trained, discard a random number of channel data from the feature sample data to obtain the remaining feature sample data.
[0111] In this embodiment, the device inputs the feature sample data into a preset mask reconstruction model to be trained. Based on the mask reconstruction model to be trained, a random number of channel data is discarded from the feature sample data to obtain the remaining feature sample data. The random number is no more than half the number of feature sample data. For example, if the feature sample data is 24-channel data, the mask reconstruction model to be trained randomly discards the 24 channels. The discarded channels are also randomly sampled values during the training phase, with a value range of [1, 12]. The discard ratio is required to be no more than 50% of the number of channels.
[0112] Step B222: According to the channel number of the remaining feature sample data, the remaining feature sample data is spliced together to obtain the prediction reconstruction array data.
[0113] In this embodiment, the device concatenates the remaining feature sample data according to the channel numbers of the remaining feature sample data to obtain the prediction reconstruction array microphone data. Specifically, the data after the mask is concatenated, at which point 12 channel data (1, 3, 5, 6, 9, 21, 22, 17, 19, 11, 14, 24) are randomly discarded. The remaining data is concatenated according to the channel numbers themselves, as described above. Figure 6 Input the above data into the mask reconstruction branch, and output the 24 full microphone data obtained from the reconstruction.
[0114] Step B230: Input the feature sample data into the preset detection model to be trained to obtain the predicted array microphone selection information, and calculate the difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data to obtain the first loss value.
[0115] In this embodiment, the steps A230 above are followed and will not be repeated here.
[0116] Step B240: Calculate the sum of the first loss value and the second loss value to obtain the target loss value, and determine whether the target loss value meets the error standard indicated by the preset loss threshold range;
[0117] In this embodiment, the device calculates the sum of the first loss value and the second loss value to obtain the target loss value, and determines whether the target loss value meets the error standard indicated by the preset loss threshold range. Specifically, the loss value in the joint training process is the sum of the first loss value and the second loss value, i.e., the target loss value. Since there is an error between the result predicted by the model during training and the actual result, the error result is allowed to be within the preset error threshold range, thereby further determining whether the target loss value meets the error standard indicated by the preset error threshold range.
[0118] Step B250: If the target loss value does not meet the error standard indicated by the preset loss threshold range, then return to the step of inputting the feature sample data into the preset mask reconstruction model to be trained to obtain the predicted reconstruction array microphone data. Training will stop when the target loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the accuracy condition will be obtained.
[0119] In this embodiment, if the target loss value does not meet the error standard indicated by the preset loss threshold range, the device returns to the step of inputting the feature sample data into the preset mask reconstruction model to be trained to obtain the predicted reconstructed array microphone data. Training stops when the target loss value meets the error standard indicated by the preset loss threshold range, resulting in an array microphone prediction model that meets the accuracy requirements. That is, the detection model to be trained is iteratively trained until the loss value of the trained model meets the error standard indicated by the preset error threshold range, resulting in an array microphone prediction model that meets the accuracy requirements, thereby improving the accuracy of model prediction. In this application, based on the pre-trained array microphone prediction model, array selection processing is performed on the array microphone data of each microphone, selecting only a portion of the array microphones from all the array microphones for subsequent sound source localization, thereby removing redundant array microphones, reducing device power consumption, and extending the device's service life.
[0120] This application also provides a microphone array selection device, see reference. Figure 3 The microphone array selection device includes:
[0121] The acquisition module 10 is used to acquire the array microphone data of each microphone in the microphone array;
[0122] Selection module 20 is used to input the array microphone data into a preset array microphone prediction model, and perform array selection processing on the array microphone data based on the array microphone prediction model to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data.
[0123] The positioning module 30 is used to determine the sound source positioning information based on the array microphone data corresponding to the target array microphone;
[0124] And / or, the microphone array selection device further includes: a sample acquisition module, used to acquire target array microphone sample data and array microphone selection labels corresponding to the target array microphone sample data in the network training set; and a training module, used to iteratively train a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, to obtain an array microphone prediction model that meets the accuracy conditions.
[0125] And / or, the sample acquisition module includes: an initial sample data acquisition module, used to acquire initial array microphone sample data of the network training set; and a symmetric array exchange module, used to perform symmetric array exchange processing on the initial array microphone sample data of each network training set to obtain target array microphone sample data, so as to realize data expansion of array microphone sample data.
[0126] And / or, the training module includes: a prediction module, used to input the target array microphone sample data into the preset detection model to be trained to obtain predicted array microphone selection information; a first difference calculation module, used to perform difference calculation between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data to obtain a first loss value; a first judgment module, used to judge whether the first loss value meets the error standard indicated by the preset loss threshold range; and a first iterative training module, used to return to the step of inputting the target array microphone sample data into the preset detection model to be trained to obtain predicted array microphone selection information if the first loss value does not meet the error standard indicated by the preset loss threshold range, until the first loss value meets the error standard indicated by the preset loss threshold range and then stop training to obtain an array microphone prediction model that meets the accuracy conditions.
[0127] And / or, the training module further includes: a joint training module, used to jointly train a preset mask reconstruction model to be trained and a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, so as to obtain an array microphone prediction model that meets the accuracy conditions.
[0128] And / or, the joint training module includes: a feature extraction module, used to extract features from the target array microphone sample data to obtain feature sample data; a second difference calculation module, used to input the feature sample data into a preset mask reconstruction model to be trained to obtain predicted reconstructed array microphone data, and to perform difference calculation between the predicted reconstructed array microphone data and the target array microphone sample data to obtain a second loss value; and a first difference calculation module, used to input the feature sample data into the preset detection model to be trained to obtain predicted array microphone selection information, and to map the predicted array microphone selection information to the target array microphone sample data. The array microphone selects labels for difference calculation to obtain a first loss value; the second judgment module calculates the sum of the first loss value and the second loss value to obtain a target loss value, and judges whether the target loss value meets the error standard indicated by the preset loss threshold range; the second iterative training module, if the target loss value does not meet the error standard indicated by the preset loss threshold range, returns to the step of inputting the feature sample data into the preset mask reconstruction model to be trained, and obtaining the predicted reconstruction array microphone data, until the target loss value meets the error standard indicated by the preset loss threshold range and then stops training, and obtains an array microphone prediction model with the accuracy conditions.
[0129] The specific implementation of the microphone array selection device in this application is basically the same as the embodiments of the microphone array selection method described above, and will not be repeated here.
[0130] Reference Figure 1 , Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of this application.
[0131] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0132] Optionally, the microphone array selection device may also include a rectangular user interface, a network interface, a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, etc. The rectangular user interface may include a display screen and an input submodule such as a keyboard; optionally, the rectangular user interface may also include standard wired or wireless interfaces. The network interface may optionally include standard wired or wireless interfaces (such as a Wi-Fi interface).
[0133] Those skilled in the art will understand that Figure 1 The microphone array selection device structure shown does not constitute a limitation on the microphone array selection device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0134] like Figure 1 As shown, the memory 1005, serving as a storage medium, may include an operating system, a network communication module, and a microphone array selection program. The operating system is a program that manages and controls the hardware and software resources of the microphone array selection device, supporting the operation of the microphone array selection program and other software and / or programs. The network communication module is used to enable communication between the various components within the memory 1005, as well as communication with other hardware and software in the microphone array selection system.
[0135] exist Figure 1In the microphone array selection device shown, the processor 1001 is used to execute the microphone array selection program stored in the memory 1005 to implement the steps of the microphone array selection method described in any of the above claims.
[0136] The specific implementation of the microphone array selection device in this application is basically the same as the embodiments of the microphone array selection method described above, and will not be repeated here.
[0137] This application also provides a storage medium storing a program implementing a microphone array selection method, wherein the program implementing the microphone array selection method is executed by a processor to implement the microphone array selection method as follows:
[0138] Obtain the array microphone data of each microphone in the microphone array;
[0139] The array microphone data is input into a preset array microphone prediction model. Based on the array microphone prediction model, array selection processing is performed on the array microphone data to obtain the target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection label corresponding to the target array microphone sample data.
[0140] Based on the array microphone data corresponding to the target array microphone, the sound source localization information is determined.
[0141] Optionally, before the step of acquiring the array microphone data of each microphone in the microphone array, the method includes:
[0142] Obtain the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data from the network training set;
[0143] Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, the preset prediction model to be trained is iteratively trained to obtain an array microphone prediction model that meets the accuracy requirements.
[0144] Optionally, the step of obtaining the target array microphone sample data of the network training set includes:
[0145] Obtain the initial array sample data of the network training set;
[0146] Symmetric array swapping is performed on the initial array microphone sample data of each network training set to obtain the target array microphone sample data, thereby realizing the data expansion of the array microphone sample data.
[0147] Optionally, the step of iteratively training a preset prediction model to obtain a prediction model with satisfactory accuracy based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes:
[0148] The target array microphone sample data is input into the preset detection model to be trained to obtain the predicted array microphone selection information;
[0149] The difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data is calculated to obtain the first loss value;
[0150] Determine whether the first loss value meets the error standard indicated by the preset loss threshold range;
[0151] If the first loss value does not meet the error standard indicated by the preset loss threshold range, the process returns to the step of inputting the target array microphone sample data into the preset detection model to be trained to obtain the predicted array microphone selection information. Training stops when the first loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the required accuracy is obtained.
[0152] Optionally, the step of iteratively training a preset prediction model to obtain a prediction model with satisfactory accuracy based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes:
[0153] Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, the preset mask reconstruction model to be trained and the preset prediction model to be trained are jointly trained to obtain an array microphone prediction model that meets the accuracy requirements.
[0154] Optionally, the step of jointly training a preset mask reconstruction model and a preset prediction model to obtain an array microphone prediction model that meets the accuracy requirements based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes:
[0155] Feature extraction is performed on the target array sample data to obtain feature sample data;
[0156] The feature sample data is input into a preset mask reconstruction model to be trained to obtain predicted reconstruction array microphone data, and the difference between the predicted reconstruction array microphone data and the target array microphone sample data is calculated to obtain a second loss value.
[0157] The feature sample data is input into the preset detection model to be trained to obtain the predicted array microphone selection information, and the difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data is calculated to obtain the first loss value.
[0158] Calculate the sum of the first loss value and the second loss value to obtain the target loss value, and determine whether the target loss value meets the error standard indicated by the preset loss threshold range;
[0159] If the target loss value does not meet the error standard indicated by the preset loss threshold range, the process returns to inputting the feature sample data into the preset mask reconstruction model to be trained, and obtaining the predicted reconstruction array microphone data. Training stops when the target loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the required accuracy is obtained.
[0160] Optionally, the step of inputting the feature sample data into a preset mask reconstruction model to obtain the prediction reconstruction array data includes:
[0161] The feature sample data is input into a preset mask reconstruction model to be trained. Based on the mask reconstruction model to be trained, a random number of channel data is discarded from the feature sample data to obtain the remaining feature sample data.
[0162] The remaining feature sample data is spliced together according to the channel number of the remaining feature sample data to obtain the prediction reconstruction array data.
[0163] Optionally, the random number is no more than half the number of the feature sample data.
[0164] The specific implementation of the storage medium in this application is basically the same as the embodiments of the microphone array selection method described above, and will not be repeated here.
[0165] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the microphone array selection method described above.
[0166] The specific implementation of the computer program product in this application is basically the same as the various embodiments of the microphone array selection method described above, and will not be repeated here.
[0167] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0168] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0169] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0170] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A microphone array selection method, characterized in that, The microphone array selection method includes: Obtain the array microphone data of each microphone in the microphone array; The array microphone data is input into a preset array microphone prediction model. Based on the array microphone prediction model, array selection processing is performed on the array microphone data to obtain a target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the corresponding array microphone selection labels. Specifically, feature extraction is performed on the target array microphone sample data to obtain feature sample data. The feature sample data is input into a mask reconstruction model to be trained to obtain predicted reconstructed array microphone data. A second loss value is calculated based on the difference between the predicted reconstructed array microphone data and the target array microphone sample data. The feature sample data is input into the prediction model to be trained to obtain predicted array microphone selection information. A first loss value is calculated based on the difference between the predicted array microphone selection information and the array microphone selection labels. The mask reconstruction model to be trained and the prediction model to be trained are jointly trained based on the sum of the first and second loss values to obtain an array microphone prediction model that meets the accuracy requirements. Based on the array microphone data corresponding to the target array microphone, the sound source localization information is determined.
2. The microphone array selection method as described in claim 1, characterized in that, Before the step of acquiring the array microphone data of each microphone in the microphone array, the method includes: Obtain the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data from the network training set; Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, the preset prediction model to be trained is iteratively trained to obtain an array microphone prediction model that meets the accuracy requirements.
3. The microphone array selection method as described in claim 2, characterized in that, The step of obtaining the target array sample data of the network training set includes: Obtain the initial array sample data of the network training set; Symmetric array swapping is performed on the initial array microphone sample data of each network training set to obtain the target array microphone sample data, thereby realizing the data expansion of the array microphone sample data.
4. The microphone array selection method as described in claim 2, characterized in that, The step of iteratively training a preset prediction model based on the target array microphone sample data and the corresponding array microphone selection labels to obtain an array microphone prediction model that meets the accuracy requirements includes: The target array microphone sample data is input into the preset prediction model to be trained to obtain the predicted array microphone selection information; The difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data is calculated to obtain the first loss value. Determine whether the first loss value meets the error standard indicated by the preset loss threshold range; If the first loss value does not meet the error standard indicated by the preset loss threshold range, the process returns to the step of inputting the target array microphone sample data into the preset prediction model to be trained to obtain the prediction array microphone selection information. Training stops when the first loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the required accuracy is obtained.
5. The microphone array selection method as described in claim 1, characterized in that, The step of iteratively training a preset prediction model based on the target array microphone sample data and the corresponding array microphone selection labels to obtain an array microphone prediction model that meets the accuracy requirements includes: Based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, the preset mask reconstruction model to be trained and the preset prediction model to be trained are jointly trained to obtain an array microphone prediction model that meets the accuracy requirements.
6. The microphone array selection method as described in claim 5, characterized in that, The step of jointly training a preset mask reconstruction model and a preset prediction model to obtain an array microphone prediction model that meets the accuracy requirements based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data includes: Feature extraction is performed on the target array sample data to obtain feature sample data; The feature sample data is input into a preset mask reconstruction model to be trained to obtain predicted reconstruction array microphone data, and the difference between the predicted reconstruction array microphone data and the target array microphone sample data is calculated to obtain a second loss value. The feature sample data is input into the preset prediction model to be trained to obtain the predicted array microphone selection information, and the difference between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data is calculated to obtain the first loss value. Calculate the sum of the first loss value and the second loss value to obtain the target loss value, and determine whether the target loss value meets the error standard indicated by the preset loss threshold range; If the target loss value does not meet the error standard indicated by the preset loss threshold range, the process returns to inputting the feature sample data into the preset mask reconstruction model to be trained, and obtaining the predicted reconstruction array microphone data. Training stops when the target loss value meets the error standard indicated by the preset loss threshold range, and an array microphone prediction model with the required accuracy is obtained.
7. The microphone array selection method as described in claim 6, characterized in that, The step of inputting the feature sample data into a preset mask reconstruction model to obtain the predicted reconstruction array data includes: The feature sample data is input into a preset mask reconstruction model to be trained. Based on the mask reconstruction model to be trained, a random number of channel data is discarded from the feature sample data to obtain the remaining feature sample data. The remaining feature sample data is spliced together according to the channel number of the remaining feature sample data to obtain the prediction reconstruction array data.
8. A microphone array selection device, characterized in that, The microphone array selection device includes: The acquisition module is used to acquire the array microphone data of each microphone in the microphone array; The selection module is used to input the array microphone data into a preset array microphone prediction model, and perform array selection processing on the array microphone data based on the array microphone prediction model to obtain a target array microphone. The array microphone prediction model is obtained by iteratively training a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data. Specifically, feature extraction is performed on the target array microphone sample data to obtain feature sample data; the feature sample data is input into a mask reconstruction model to be trained to obtain predicted reconstructed array microphone data; a second loss value is calculated based on the difference between the predicted reconstructed array microphone data and the target array microphone sample data; the feature sample data is input into the prediction model to be trained to obtain predicted array microphone selection information; a first loss value is calculated based on the difference between the predicted array microphone selection information and the array microphone selection labels; and the mask reconstruction model to be trained and the prediction model to be trained are jointly trained based on the sum of the first loss value and the second loss value to obtain an array microphone prediction model that meets the accuracy requirements. The positioning module is used to determine the sound source positioning information based on the array microphone data corresponding to the target array microphone.
9. The microphone array selection device as claimed in claim 8, characterized in that, The microphone array selection device further includes: The sample acquisition module is used to acquire target array microphone sample data and array microphone selection labels corresponding to the target array microphone sample data in the network training set; the training module is used to iteratively train the preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, so as to obtain an array microphone prediction model that meets the accuracy conditions. And / or, the sample acquisition module includes: an initial sample data acquisition module, used to acquire initial array microphone sample data of the network training set; and a symmetric array exchange module, used to perform symmetric array exchange processing on the initial array microphone sample data of each network training set to obtain target array microphone sample data, so as to realize data expansion of array microphone sample data. And / or, the training module includes: a prediction module, used to input the target array microphone sample data into the preset prediction model to be trained to obtain predicted array microphone selection information; a first difference calculation module, used to perform difference calculation between the predicted array microphone selection information and the array microphone selection label corresponding to the target array microphone sample data to obtain a first loss value; a first judgment module, used to judge whether the first loss value meets the error standard indicated by the preset loss threshold range; and a first iterative training module, used to return to the step of inputting the target array microphone sample data into the preset prediction model to be trained to obtain predicted array microphone selection information if the first loss value does not meet the error standard indicated by the preset loss threshold range, until the first loss value meets the error standard indicated by the preset loss threshold range and then stop training to obtain an array microphone prediction model that meets the accuracy conditions. And / or, the training module further includes: a joint training module, used to jointly train a preset mask reconstruction model to be trained and a preset prediction model to be trained based on the target array microphone sample data and the array microphone selection labels corresponding to the target array microphone sample data, so as to obtain an array microphone prediction model that meets the accuracy conditions. And / or, the joint training module includes: a feature extraction module, used to extract features from the target array microphone sample data to obtain feature sample data; a second difference calculation module, used to input the feature sample data into a preset mask reconstruction model to be trained to obtain predicted reconstructed array microphone data, and to perform difference calculation between the predicted reconstructed array microphone data and the target array microphone sample data to obtain a second loss value; and a first difference calculation module, used to input the feature sample data into the preset prediction model to be trained to obtain predicted array microphone selection information, and to match the predicted array microphone selection information with the target array microphone sample data. The array microphone selects labels for difference calculation to obtain a first loss value; the second judgment module calculates the sum of the first loss value and the second loss value to obtain a target loss value, and determines whether the target loss value meets the error standard indicated by the preset loss threshold range; the second iterative training module, if the target loss value does not meet the error standard indicated by the preset loss threshold range, returns to the step of inputting the feature sample data into the preset mask reconstruction model to be trained, and obtaining the predicted reconstruction array microphone data, until the target loss value meets the error standard indicated by the preset loss threshold range, and then stops training to obtain an array microphone prediction model that meets the accuracy conditions.
10. A microphone array selection device, characterized in that, The microphone array selection device includes: a memory, a processor, and a program stored in the memory for implementing the microphone array selection method. The memory is used to store the program that implements the microphone array selection method; The processor is configured to execute a program that implements the microphone array selection method to implement the steps of the microphone array selection method as described in any one of claims 1 to 7.
11. A storage medium, characterized in that, The storage medium stores a program for implementing a microphone array selection method, which is executed by a processor to implement the steps of the microphone array selection method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Microphone array control method and device, electronic equipment and computer storage medium
CN113497995A
