Conference recording method, device, equipment and storage medium based on speech recognition
Through multi-channel human voice separation and semantic text recognition based on speech recognition, the problems of low accuracy and low efficiency in traditional meeting recording methods are solved, and automated, real-time and efficient meeting recording output is achieved.
Patent Information
- Application Number
- CN202111130557.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-09-26
AI Technical Summary
Traditional meeting recording methods have problems such as low accuracy, long time consumption, and low efficiency. Especially in multi-person meeting scenarios, meeting record takers need to manually enter and distinguish the speaker's identity, which is prone to misidentification or entry errors.
Using a method based on speech recognition, through multi-channel human voice separation and speech recognition, combined with the above semantic text recognition, the speaker information is automatically recognized and meeting records are generated, achieving real-time, accurate and efficient meeting record output.
It realizes real-time meeting records without manual recording, improves the accuracy, timeliness and efficiency of meeting records, and reduces the manual error rate.
Smart Images

Figure CN113870892B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of speech signal processing, and in particular to a conference recording method, device, equipment and storage medium based on speech recognition. Background Art
[0002] In the traditional conference model, meeting minutes and other related information need to be manually entered by the meeting recorder. The meeting minutes cannot be viewed in real time and can only be viewed after the meeting. In addition, in the scenario of a multi-person meeting, the meeting recorder also needs to distinguish the identity information of multiple speakers to add identity tags during the manual entry process. Due to the frequency of conversations among speakers in the meeting, the meeting recorder often misidentifies the identity or enters the wrong identity tag. Therefore, the existing meeting recording solutions have the shortcomings of low accuracy, long time consumption and low efficiency. Summary of the invention
[0003] The present invention provides a conference record method, device, computer equipment and storage medium based on speech recognition, which realizes automatic identification of speaker information through multi-channel human voice separation and speech recognition, and recognizes text results through text recognition based on the above semantics, thereby automatically outputting conference records, thereby realizing convenient, effective and accurate output of conference records.
[0004] A conference recording method based on speech recognition, comprising:
[0005] Acquire audio data to be recognized in real time;
[0006] Performing multi-channel segmentation processing on the audio data to be identified, extracting human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and performing human voice separation according to the extracted human voice frequency features to obtain human voice data;
[0007] Using a SincNet filter, performing high-pass and low-pass filtering on the human voice data through a speaker recognition model, and performing speech recognition on the human voice data after the high-pass and low-pass filtering to obtain speaker information;
[0008] Acquire the historical record text associated with the speaker information, and perform text recognition based on the above semantics on the human voice data according to the acquired historical record text to obtain a text result;
[0009] The conference record content corresponding to the audio data to be recognized is determined according to the speaker information and the text result.
[0010] A conference recording device based on speech recognition, comprising:
[0011] An acquisition module is used to acquire the audio data to be recognized in real time;
[0012] A separation module, used to perform multi-channel segmentation processing on the audio data to be identified, extract human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and perform human voice separation according to the extracted human voice frequency features to obtain human voice data;
[0013] A speech recognition module, used to use a SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and to perform speech recognition on the human voice data after high-pass and low-pass filtering to obtain speaker information;
[0014] A text recognition module, used to obtain the historical record text associated with the speaker information, and perform text recognition based on the above semantics on the human voice data according to the obtained historical record text to obtain a text result;
[0015] A determination module is used to determine the conference record content corresponding to the audio data to be identified based on the speaker information and the text result.
[0016] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned conference recording method based on speech recognition when executing the computer program.
[0017] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned conference recording method based on speech recognition.
[0018] The present invention provides a conference record method, device, computer equipment and storage medium based on speech recognition. The method obtains audio data to be recognized in real time; performs multi-channel segmentation processing on the audio data to be recognized, extracts human voice frequency features from the audio data to be recognized after the multi-channel segmentation processing, and performs human voice separation according to the extracted human voice frequency features to obtain human voice data; uses a SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and performs speech recognition on the human voice data after high-pass and low-pass filtering to obtain speaker information; obtains historical record text associated with the speaker information, and performs text recognition based on the above semantics on the human voice data according to the acquired historical record text to obtain a text result; determines the conference record content corresponding to the audio data to be recognized according to the speaker information and the text result, so that the speaker information is automatically recognized through multi-channel human voice separation and speech recognition, and the text result is recognized through text recognition based on the above semantics, thereby achieving the effect of automatically outputting the conference record, which can be viewed in real time without manual recording, thereby improving the accuracy, timeliness and efficiency of the conference record output. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0020] Figure 1 is a schematic diagram of an application environment of a conference recording method based on speech recognition in one embodiment of the present invention;
[0021] Figure 2 is a flow chart of a conference recording method based on speech recognition in one embodiment of the present invention;
[0022] Figure 3 is a flowchart of step S20 of a conference recording method based on speech recognition in one embodiment of the present invention;
[0023] Figure 4 is a flowchart of step S30 of a conference recording method based on speech recognition in one embodiment of the present invention;
[0024] Figure 5 is a flowchart of step S40 of a conference recording method based on speech recognition in one embodiment of the present invention;
[0025] Figure 6 is a principle block diagram of a conference recording device based on speech recognition in one embodiment of the present invention;
[0026] Figure 7 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments 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.
[0028] The conference recording method based on speech recognition provided by the present invention can be applied in Figure 1 In an application environment, a client (computer device or terminal) communicates with a server via a network. The client (computer device or terminal) includes but is not limited to various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be implemented as an independent server or a server cluster consisting of multiple servers.
[0029] In one embodiment, if Figure 2 As shown, a conference recording method based on speech recognition is provided, and its technical solution mainly includes the following steps S10-S50:
[0030] S10, obtaining audio data to be recognized in real time.
[0031] It can be understood that in the actual scenario of a multi-person meeting, the audio signals during the multi-person meeting are recorded in real time through a microphone or a recording device, and real-time data extraction is performed on the real-time collected audio signals at a preset time interval to obtain the audio data to be identified, wherein the preset time interval can be set according to demand, such as 200ms, 500ms, etc., or in the scenario of a multi-person video conference, the real-time collected video data of the multi-person video conference is received, the audio signal and the time-series image signal are separated from the video data, and the separated audio signal is subjected to data extraction at a preset time interval to obtain the audio data to be identified, and the audio data to be identified is the audio data that needs to be identified.
[0032] S20, performing multi-channel segmentation processing on the audio data to be identified, extracting human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and performing human voice separation according to the extracted human voice frequency features to obtain human voice data.
[0033] It can be understood that the multi-channel segmentation processing of the audio data to be identified can be realized by a multi-scale multi-band audio source separation model, and the human voice frequency feature extraction of the audio data to be identified after the multi-channel segmentation processing, and the human voice separation is performed according to the extracted human voice frequency feature to obtain the function of the human voice data. The multi-scale multi-band audio source separation model can be based on MMDenseNet (Multiscale Multiband The multi-scale multi-band audio source separation model is a frequency domain audio source separation model based on a dense convolutional network (DenseNet) that has been trained. The multi-channel segmentation processing process is to perform short-time Fourier transform processing on the input audio content or audio file to obtain a full-band spectrum diagram, and divide the full-band spectrum diagram into sub-band spectrum diagrams of different frequency bands. The full-band feature extraction model is used to extract the full-band feature, and the sub-band feature extraction models of different frequency bands are used to extract the audio features of different frequency bands, and finally the decomposition process of the full-band feature data and the sub-band feature data is obtained. The human voice frequency feature is extracted from the audio data to be identified after the multi-channel segmentation processing, wherein the human voice frequency feature is the feature of the range of the sound frequency emitted by a person, and the human voice separation is the operation process of separating the human voice part from the audio data to be identified according to the extracted human voice frequency feature, and the human voice data is the audio content of only the human voice part.
[0034] In one embodiment, if Figure 3 As shown, in step S20, that is, performing multi-channel vocal separation on the audio data to be recognized to obtain vocal data, includes:
[0035] S201, performing multi-channel segmentation processing on the audio data to be identified to obtain a plurality of full-band feature data and a plurality of sub-band feature data; wherein one full-band feature data corresponds to a plurality of sub-band feature data.
[0036] It can be understood that the multi-channel segmentation processing of the audio data to be identified is implemented by a multi-scale multi-band audio source separation model to obtain multiple full-band feature data and multiple sub-band feature data. The multi-scale multi-band audio source separation model can be a model based on MMDenseNet (Multiscale Multiband DenseNet), that is, the multi-scale multi-band audio source separation model is a trained frequency domain audio source separation model based on a dense convolutional network (DenseNet). The dense convolutional network is a network model that contains shorter connections between layers close to the input and close to the output, and makes the connection between each layer and the adjacent layer more dense and tight, so that the learned features are more accurate and effective. The multi-scale multi-band audio source separation model is a model for separating feature vectors by extracting corresponding audio features of multiple channels (i.e., multiple scales) and multiple sub-bands. The multi-scale multi-band audio source separation model includes one full-band feature extraction model and several sub-band feature extraction models. The separation model can realize the functions of the full-frequency feature extraction model and all the sub-band feature extraction models. The full-frequency feature extraction model is a model for extracting full-frequency features of the frequencies in the full frequency band range of the input audio data to be identified. The full-frequency features are audio features or characteristics between the time domain and the frequency in the entire frequency band range. The number of sub-band feature extraction models can be set according to demand. For example, if the number of sub-band feature extraction models is four, then the full-frequency audio range is divided into four equal parts, and the number of divided sub-bands is four. Each equally divided sub-band corresponds to one sub-band feature extraction model, and the sub-band feature extraction model extracts the audio features between the time domain and the frequencies within the corresponding equally divided sub-band range.
[0037] Among them, the processing process of the multi-channel segmentation processing is to perform short-time Fourier transform processing on the input audio content or audio file to obtain a full-band spectrum diagram, and divide the full-band spectrum diagram into sub-band spectrum diagrams of different frequency bands, and perform full-band feature extraction through a full-band feature extraction model, and extract audio features of different frequency bands through sub-band feature extraction models of different frequency bands, and finally obtain a decomposition process of full-band feature data and sub-band feature data, wherein one full-band feature data corresponds to multiple sub-band feature data, the full-band feature data is a feature vector for the full-band spectrum diagram, and the sub-band feature data is a feature vector for the sub-band spectrum diagram.
[0038] In one embodiment, the step S201, i.e., performing multi-channel segmentation processing on the audio data to be identified to obtain a plurality of full-band feature data and a plurality of sub-band feature data, includes:
[0039] S2011, performing short-time Fourier transform processing on the audio data to be identified to obtain a plurality of full-band frequency spectrograms.
[0040] It can be understood that the audio data to be identified can be regarded as audio data mixed with multiple frequency points in the time dimension, that is, each time point includes a mixed signal of multiple frequency points. The multi-scale multi-band audio source separation model, that is, the CWS (Channel-wise Subband) model, performs the short-time Fourier transform processing through the multi-scale multi-band audio source separation model. The process of the short-time Fourier transform processing is as follows: first, the audio data to be identified is framed and windowed, that is, the audio signal in the voice data of the window of the preset window size is divided according to the frame shift. The time difference between the starting frames of two adjacent windows is called the frame shift, and the starting frame is the starting time frame of the window. For example, the preset window size is 32 milliseconds and the frame shift is 8 milliseconds; then, the audio signal of each window after framed and windowed is subjected to a fast Fourier transform (FFT). The function of the fast Fourier transform is to convert the time domain signal into a frequency domain signal, that is, to convert the time domain audio signal of each window into a frequency domain signal, that is, a full-band spectrum diagram, and one window corresponds to one of the full-band spectrum diagrams.
[0041] S2012, performing multi-channel sub-band decomposition on each of the full-band spectrum graphs to obtain a sub-band spectrum graph corresponding to each of the full-band spectrum graphs; one of the full-band spectrum graphs corresponds to a sub-band spectrum graph of a preset number of sub-bands, and each of the sub-band spectrum graphs corresponds to one sub-band.
[0042] It can be understood that the sub-band is a frequency band range divided within the full-frequency audio range. Each of the full-band spectrograms is decomposed by the multi-scale multi-band audio source separation model. The frequency band decomposition process is a process of dividing the full-band spectrogram into equal parts by a preset number of sub-bands. The spectrum obtained after the frequency band decomposition is recorded as the sub-band spectrum. For example, if the preset number of sub-bands is four, then the frequency band decomposition process is to divide the full-band spectrum into four equal parts, and the range of each band is one-fourth of the frequency range of the full-band spectrum. One full-band spectrum corresponds to four sub-band spectrums. In this way, the full-band spectrum can be divided into multiple sub-band spectrums, thereby increasing the granularity of the audio signal and providing a data basis for subsequent audio feature learning.
[0043] The frequency band is a frequency range, for example, a frequency band is a frequency range from 100 Hz to 800 Hz.
[0044] S2013, inputting each of the full-band spectrum graphs into a full-band feature extraction model, extracting full-band features in the full-band spectrum graph through the full-band feature extraction model, and obtaining Figure 1 A corresponding full-band feature data.
[0045] It can be understood that the full-frequency feature extraction model is a trained model for extracting full-frequency features of the full-frequency range of frequencies of the input speech data. The full-frequency features are audio features or characteristics between the time domain and the frequency of the entire frequency band. The full-frequency features extracted by the full-frequency feature extraction model can be converted into corresponding feature vectors to obtain the full-band feature data. One full-band spectrum diagram corresponds to one full-band feature data.
[0046] S2014, inputting each of the sub-band spectrum graphs into a sub-band feature extraction model corresponding to the sub-band, extracting the audio features corresponding to the sub-band in each of the sub-band spectrum graphs, and obtaining the audio features corresponding to the sub-band in each of the sub-band spectrum graphs. Figure 1 A corresponding sub-frequency band feature data; wherein, a sub-frequency band feature extraction model corresponds to a sub-frequency band.
[0047] It can be understood that the sub-band feature extraction model is a trained model for extracting components or characteristics of audio in dimensions of different frequency ranges. The sub-band feature extraction model can help to extract more fine-grained performance of audio signals, and extract more effectively. Because the frequency range of analysis and extraction is small, no higher calculation model is required, so the analysis process is faster and more efficient, and different frequency bands have different audio features accordingly. The sub-band feature extraction model can be a deep learning model based on MMDenseNet. The network structure of MMDenseNet introduces a direct series connection between any two layers with the same feature map size, because the network structure of MMDenseNet does not learn representation capabilities from extremely deep or extremely wide architectures, but through features. Reuse to develop the network potential of multiple scales (time domain or channel) and multiple frequency bands (frequency bands), thereby producing a compact and condensed model that is easy to train and has high parameter efficiency. Since the model does not need to relearn redundant feature maps, it only needs fewer parameters to learn the corresponding audio features compared to traditional convolutional networks. For example: the frequency band includes a low-frequency band, a medium-frequency band and a high-frequency band, and each of the sub-band spectrograms corresponds to a sub-band. The sub-band spectrogram is input into the sub-band feature extraction model corresponding to the sub-band corresponding to the sub-band spectrogram. The sub-band feature extraction model extracts the audio features corresponding to the sub-band from the sub-band spectrogram and converts it into a feature vector having the audio features corresponding to the sub-band, and the converted feature vector is recorded as the sub-band data corresponding to the sub-band spectrogram.
[0048] The execution order of step S2013 and step S2014 may be serial or parallel, which is not limited here.
[0049] The present invention realizes that a plurality of full-band spectrograms are obtained by performing short-time Fourier transform processing on the audio data to be identified; a multi-channel sub-band decomposition is performed on each of the full-band spectrograms to obtain a sub-band spectrogram corresponding to each of the full-band spectrograms; each of the full-band spectrograms is input into a full-frequency feature extraction model, and a full-frequency feature in the full-band spectrogram is extracted by the full-frequency feature extraction model to obtain a sub-band spectrogram corresponding to each of the full-band spectrograms. Figure 1 The full-band feature data corresponding to each sub-band spectrum graph is input into the sub-band feature extraction model corresponding to its sub-band, and the audio features corresponding to its sub-band in each sub-band spectrum graph are extracted to obtain the audio features corresponding to each sub-band spectrum. Figure 1 A corresponding sub-band feature data; in this way, the input speech data to be separated can be automatically decomposed to decompose the full-band spectrum diagram and the spectrum diagrams of different frequency bands, and the full-band features and the audio features corresponding to different sub-bands can be extracted, and the full-band feature data and sub-band data can be obtained by conversion, so as to realize high-grained learning of different frequency bands, extract the audio features of different sub-bands more deeply, and obtain the feature vector of the full frequency and the feature vector of higher granularity of different frequency bands, thereby improving the separation accuracy and reliability for the subsequent human voice separation.
[0050] S202, extracting human voice frequency features from each of the full-band feature data and all of the sub-band feature data corresponding to each of the full-band feature data, identifying human voice frequency points based on the extracted human voice frequency features, and obtaining a human voice recognition matrix corresponding one-to-one to each of the full-band feature data.
[0051] It can be understood that the frequency band human voice recognition model can be used to complete the human voice frequency feature extraction of each of the full-band feature data and all the sub-band feature data corresponding to each of the full-band feature data, and the human voice frequency point identification is performed according to the extracted human voice frequency feature to obtain a human voice recognition matrix corresponding to each of the full-band feature data. The frequency band human voice recognition model is a trained model for combining the full-band feature vector and the feature vectors of different frequency bands to extract human voice frequency features and identify the corresponding human voice recognition matrix. The human voice frequency feature is the feature of the range of sound frequencies emitted by humans. The human voice frequency feature extraction process is to convolve the human voice frequency feature of the feature vector matrix of each of the full-band feature data, and to convolve the human voice frequency feature of the feature vector matrix of each of the sub-band data, wherein the convolution process is to perform convolution in a downsampling manner, and the downsampling level is 5 layers. Finally, each full-band feature data or sub-band data will be extracted to obtain a one-dimensional array corresponding to it, that is, the final one-dimensional array is extracted. The human voice frequency feature is obtained, and the process of identifying the human voice frequency point according to the extracted human voice frequency feature is a process of upsampling the extracted one-dimensional array, wherein the upsampling process is to perform scale fusion of the same number of channels on the feature vector output of the corresponding level of feature extraction each time the upsampling is performed, and the feature vector of the same number of channels obtained by downsampling the full-band feature data is fused, and the up-sampled feature vector of the sub-band data with the same number of channels, the down-sampled feature vector of the sub-band data and the down-sampled feature vector of the full-band feature data are fused, so that each frequency point (equivalent to each pixel point in an image matrix) in each full-band feature data (matrix of time-frequency dimension) can be more accurately identified as the proportion or probability of human voice. After the extraction and identification of the frequency band human voice recognition model, the human voice recognition matrix corresponding to each full-band feature data can be obtained, and the human voice recognition matrix is a set matrix of whether each frequency point in the full-band feature data is the proportion or probability of human voice.
[0052] S203, performing voice separation on the audio data to be recognized according to all voice recognition matrices to obtain voice data corresponding to the audio data to be recognized.
[0053] It can be understood that the human voice separation is to splice all the human voice recognition matrices obtained by identifying the human voice frequency points according to the extracted human voice frequency features according to the time sequence of the audio data to be identified, and take the average of the overlapping parts in the splicing process to obtain a matrix with the same time axis as the audio data to be identified, and each frequency point in the matrix has a proportion value of the separated human voice, and then perform dot multiplication processing on the matrix and the audio data to be identified, so as to obtain the part of the audio data to be identified that only has the human voice, and record the part of the human voice as the human voice data, and the human voice data is the audio file or audio signal of the human voice later.
[0054] The present invention realizes that a plurality of full-band feature data and a plurality of sub-band feature data are obtained by performing multi-channel segmentation processing on the audio data to be identified; human voice frequency feature extraction is performed on each of the full-band feature data and all the sub-band feature data corresponding to each of the full-band feature data, and human voice frequency point recognition is performed according to the extracted human voice frequency feature to obtain a human voice recognition matrix corresponding to each of the full-band feature data one by one; human voice separation is performed on the audio data to be identified according to all the human voice recognition matrices to obtain human voice data corresponding to the audio data to be identified, thus realizing automatic separation of the human voice part in the audio data to be identified through multi-channel segmentation processing and human voice frequency feature extraction, greatly reducing the threshold and cost of human voice separation, improving separation accuracy and quality, greatly improving separation efficiency, providing a noise-free or noise-free audio file or audio signal for subsequent speech recognition, and improving the accuracy of subsequent speech recognition.
[0055] S30, using a SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and performing speech recognition on the human voice data after the high-pass and low-pass filtering to obtain speaker information.
[0056] It can be understood that the speaker recognition model is a trained model based on the architecture of the Sinc function (also known as the Sinc function) and the convolutional neural network (CNN). The speaker recognition model can identify the model of the speaker-related information in the input human voice data. The speaker recognition model includes a SincNet filter based on the Sinc function. The SincNet filter learns the low-pass and high-pass frequency responses through the Sinc function. The content of a specific frequency range, that is, the content of the frequency range between the low-pass cutoff frequency and the high-pass cutoff frequency, is learned through the SincNet filter. Through the symmetry of the low-pass and high-pass, the high-pass frequency response can be symmetrically obtained as long as the low-pass frequency response is learned. Therefore, as long as half is learned, the other half can be copied, which increases the learning speed by 50%. The processing process of the speaker recognition model is to first filter through the SincNet filter, then extract the speaker's voice features through the convolutional neural network (CNN), and finally perform voice recognition according to the extracted speaker's voice features, thereby identifying the speaker and obtaining the speaker information of the identified speaker.
[0057] In one embodiment, if Figure 4 As shown, in step S30, that is, performing speech recognition on the human voice data by using a speaker recognition model to obtain speaker information includes:
[0058] S301, using a SincNet filter to perform high-pass and low-pass filtering on the human voice data to obtain a filtered audio signal.
[0059] Understandably, the vocal data is divided into N vocal segments, for example, divided according to a duration of 200ms, and the remaining vocal segments less than 200ms are automatically filled with audio content without vocals to obtain the last vocal segment, and each vocal segment is subjected to high- and low-pass filtering using H SincNet filters with different frequency band lengths of L=n=251 to obtain sampling vectors of W sampling points, thereby obtaining a three-dimensional filtered audio signal of N×H×W.
[0060] Among them, the filtering function of the SincNet filter is:
[0061] G[f,f1f2]=rect(f / 2f2)-rect(f / 2f1)
[0062] Among them, f1 is the low-pass cutoff frequency of different frequency bands; f2 is the high-pass cutoff frequency of different frequency bands; the parameters of the filter in the frequency domain are obtained by inverse Fourier transform, and then the filter function converted into the time domain is:
[0063] g[n,f1,f2]=2f2sinc(2πf2n)-2f1sinc(2πf1n)
[0064] Where n = 251 is the filter length; sinc(x) = sin(x) / x; the initialization of the low-pass and high-pass frequency responses uses [0,f s / 2] interval, where f s is the preset frequency value, f s Between [f1, f2], and ensuring f2>f1, a Hamming window is added to perform Hamming window processing to maintain the continuity of the filter result, and finally the filtered audio signal is obtained.
[0065] In one embodiment, the step S301, i.e., using the SincNet filter to perform high-pass and low-pass filtering on the human voice data to obtain a filtered audio signal, includes:
[0066] The human voice data is processed into blocks to obtain a plurality of voice block data.
[0067] It can be understood that the block processing is to divide the vocal data into N vocal segments, for example, dividing them according to a duration of 200ms, and automatically filling the remaining vocal segments less than 200ms with audio content without vocals to obtain the last vocal segment, and recording the divided vocal segments as the voice block data.
[0068] Perform Sinc-based bandpass filtering on each of the voice block data to obtain time domain block data corresponding to each of the voice block data.
[0069] It can be understood that the Sinc-based bandpass filtering process is a process in which the low-pass and high-pass frequency responses are learned through the Sinc function, and the digital signal of a specific frequency band (continuous frequency range) between the low-pass and high-pass frequencies is allowed to pass through, thereby filtering the voice block data, and obtaining the time domain block data after filtering. The time domain block data is the data reflected after filtering the corresponding voice block data in the time domain.
[0070] Performing Hamming window processing on each of the time domain block data to obtain the filtered audio signal.
[0071] It can be understood that the Hamming window processing is to perform Hamming windowing on the time domain block data after the bandpass filtering process to alleviate the ripple in the passband and the limited attenuation in the stopband, that is, to multiply the filter function g[n, f1, f2] and the Hamming window function w[n], that is,
[0072] gw[n,f1,f2]=g[n,f1,f2]·w[n]
[0073] Wherein, the Hamming window function is:
[0074] w[n]=0.54-0.46×cos(2πn / L)
[0075] Wherein, L is the width of the time window, which can be the same as n.
[0076] The present invention realizes that a plurality of speech block data are obtained by performing block processing on the human voice data; a Sinc-based bandpass filtering process is performed on each of the speech block data to obtain time domain block data corresponding to each of the speech block data; a Hamming window process is performed on each of the time domain block data to obtain the filtered audio signal. In this way, the SincNet filter is used to accelerate the extraction of effective content of the original audio signal by speech recognition, and effective content is provided for subsequent speech recognition, thereby improving the accuracy of subsequent speech recognition.
[0077] S302, performing pooling and regularization processing on the filtered audio signal to obtain an intermediate feature vector.
[0078] It can be understood that the filtered audio signal is sequentially subjected to pooling processing, regularization processing and nonlinear activation processing to obtain the intermediate feature vector, and the intermediate feature vector is a feature vector processed for performing aggregate statistics on the filtered audio signal and preventing overfitting.
[0079] In one embodiment, the step S302, i.e., performing pooling and regularization processing on the filtered audio signal to obtain an intermediate feature vector, includes:
[0080] Performing pooling processing on the filtered audio signal to obtain a pooling result.
[0081] It can be understood that the pooling process is a pooling process, that is, a dimensionality reduction process is performed on the filtered audio signal, and features at different positions in the filtered audio signal are aggregated and statistically analyzed to obtain the pooling result.
[0082] Regularization is performed on the pooling result to obtain a regularized result.
[0083] It can be understood that the regularization process is to perform normalization and increase the norm to prevent overfitting, thereby obtaining the regularized result.
[0084] Nonlinear activation processing is performed on the regularized result to obtain the intermediate feature vector.
[0085] It can be understood that the nonlinear activation processing is a processing process using the Leaky-ReLU activation function for activation. The Leaky-ReLU activation function assigns a non-zero slope to all negative values based on the ReLU activation function, thereby recording the regularized result after the nonlinear activation processing as the intermediate feature vector.
[0086] The present invention realizes the steps of performing pooling processing on the filtered audio signal to obtain a pooling result; performing regularization processing on the pooling result to obtain a regularized result; and performing nonlinear activation processing on the regularized result to obtain the intermediate feature vector. In this way, the filtered audio signal can be enhanced in terms of effective content, and overfitting can be prevented, thereby improving the accuracy and reliability of subsequent speech recognition.
[0087] S303, extracting speaker voice features from the intermediate feature vector, performing speech recognition according to the extracted speaker voice features, and obtaining the speaker information.
[0088] It can be understood that the speaker voice features are features related to the voices of the participants of the meeting or all members that are trained to learn by all members participating in the meeting. All members participating in the meeting have learned the speaker voice features before starting voice recognition. The learning process can be that all members participating in the meeting record a "hello" or self-introduction speech of each member participating in the meeting before entering the meeting to learn the voice features and the low-pass frequency and high-pass frequency responses in the SincNet filter. The parameter setting of the SincNet filter and the learning of the voice features can be completed in a short time, thereby improving the accuracy of voice recognition.
[0089] Among them, the speaker speech feature extraction is to convolve the intermediate feature vector, extract the speaker speech features in the intermediate feature vector, and perform speech recognition on the extracted speaker speech features. The speech recognition process is a softmax processing process, that is, a processing process of classifying and identifying the labels of each speaker to find out the probability of falling into the label, so that the speaker can be identified and the speaker information of the identified speaker can be obtained. The speaker information is information related to the speaker, such as the speaker's ID number or position, etc.
[0090] The present invention realizes high-pass and low-pass filtering of the human voice data by using a SincNet filter to obtain a filtered audio signal; pooling and regularization processing are performed on the filtered audio signal to obtain an intermediate feature vector; speaker voice feature extraction is performed on the intermediate feature vector, and speech recognition is performed according to the extracted speaker voice feature to obtain the speaker information. In this way, the SincNet filter can be used to speed up the speaker voice recognition and improve the accuracy and reliability of speech recognition.
[0091] S40, obtaining a historical record text associated with the speaker information, and performing text recognition based on the above semantics on the human voice data according to the obtained historical record text to obtain a text result.
[0092] It can be understood that the process of obtaining the historical record text associated with the speaker information is to obtain the number of the current meeting record in the cache, obtain the meeting record being recorded associated with the number through the number of the meeting record, and obtain the historical record text associated with the speaker information from the meeting record. The historical record text is the text content of the record associated with the speaker corresponding to the speaker information during the recording of the meeting record, that is, the text content of the previous record with the same speaker as the speaker corresponding to the speaker information or the text content of the currently recorded speaker. The historical record text is adjacent to the audio data to be recognized on the timeline of the record. The process of text recognition based on the above semantics is to extract the historical audio segment associated with the historical record text, splice the historical audio segment with the human voice data, perform speech semantic recognition on the spliced data, and predict the recognition process of the text result corresponding to the human voice data.
[0093] Among them, the speech semantic recognition is the recognition process of using the BERT model to predict the current semantic text based on the semantics of the above text, and the text result is the recognized text content said by the speaker in the audio data to be recognized.
[0094] In one embodiment, if Figure 5 As shown, in step S40, that is, according to the acquired historical record text, text recognition based on the above semantics is performed on the human voice data to obtain a text result, including:
[0095] S401, extracting historical audio segments associated with the historical record text according to the historical record text.
[0096] Understandably, the cache stores the historical record texts of all speakers speaking at the conference, and each historical record text is associated with a historical audio segment, which is the extracted audio data of the speaker speaking the historical record text associated therewith.
[0097] S402, splicing the historical audio clips with the vocal data to obtain audio data to be processed.
[0098] Understandably, the historical audio clips and the vocal data are spliced into a piece of audio content, thereby obtaining the audio data to be processed.
[0099] S403: Perform speech semantic recognition on the audio data to be processed, and predict the text result corresponding to the human voice data.
[0100] It can be understood that the speech semantic recognition is performed on the audio data to be processed through the trained BERT model, and the BERT model is a model based on the network structure architecture of the BERT (Bidirectional Encoder Representation from Transformers) language model. The contents of multiple texts are obtained by performing speech recognition on the audio data to be processed, and vector conversion is performed on the contents of the multiple texts. The contents of the converted multiple texts are semantically predicted, and the content of the text with the highest probability is predicted. The content of the text is verified with the historical record text, and the content corresponding to the human voice data is extracted from the content of the text, and the content is recorded as the text result.
[0101] The present invention achieves the following steps: extracting historical audio segments associated with the historical record text according to the historical record text; splicing the historical audio segments with the human voice data to obtain the audio data to be processed; performing speech semantic recognition on the audio data to be processed to predict the text results corresponding to the human voice data. In this way, through speech semantic recognition, the text results corresponding to the human voice data can be accurately identified, thereby improving the accuracy of the identified text and improving the accuracy and correctness of the conference record output.
[0102] S50: Determine the conference record content corresponding to the audio data to be recognized according to the speaker information and the text result.
[0103] It can be understood that the speaker information and the text result are associated and used as the meeting record content corresponding to the audio data to be identified, so that the meeting record content is added to the meeting record of the current meeting record number corresponding to the audio data to be identified. The meeting record can be sent to the terminal of each meeting record participant in real time so that each participating member can view the meeting record.
[0104] The present invention achieves the following steps: obtaining audio data to be recognized in real time; performing multi-channel segmentation processing on the audio data to be recognized, extracting human voice frequency features from the audio data to be recognized after the multi-channel segmentation processing, and performing human voice separation according to the extracted human voice frequency features to obtain human voice data; using a SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and performing speech recognition on the human voice data after the high-pass and low-pass filtering to obtain speaker information; obtaining historical record text associated with the speaker information, and performing text recognition based on the above semantics on the human voice data according to the acquired historical record text to obtain a text result; determining the content of the meeting record corresponding to the audio data to be recognized according to the speaker information and the text result, thereby achieving automatic recognition of speaker information through multi-channel human voice separation and speech recognition, and recognizing text results through text recognition based on the above semantics, thereby achieving the effect of automatically outputting meeting records, which can be viewed in real time without manual recording, thereby improving the accuracy, timeliness and efficiency of the output of meeting records.
[0105] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0106] In one embodiment, a conference recording device based on speech recognition is provided, and the conference recording device based on speech recognition corresponds one-to-one to the conference recording method based on speech recognition in the above embodiment. Figure 6 As shown, the conference recording device based on speech recognition includes an acquisition module 11, a separation module 12, a speech recognition module 13, a text recognition module 14 and a determination module 15. The detailed description of each functional module is as follows:
[0107] An acquisition module 11 is used to acquire the audio data to be recognized in real time;
[0108] The separation module 12 is used to perform multi-channel segmentation processing on the audio data to be identified, extract human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and perform human voice separation according to the extracted human voice frequency features to obtain human voice data;
[0109] The speech recognition module 13 is used to use a SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and to perform speech recognition on the human voice data after high-pass and low-pass filtering to obtain speaker information;
[0110] A text recognition module 14 is used to obtain the historical record text associated with the speaker information, and perform text recognition based on the above semantics on the human voice data according to the obtained historical record text to obtain a text result;
[0111] The determination module 15 is used to determine the conference record content corresponding to the audio data to be recognized according to the speaker information and the text result.
[0112] For the specific limitations of the conference recording device based on voice recognition, please refer to the limitations of the conference recording method based on voice recognition above, which will not be repeated here. The various modules in the above-mentioned conference recording device based on voice recognition can be implemented in whole or in part through software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0113] In one embodiment, a computer device is provided. The computer device may be a client or a server. The internal structure diagram thereof may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the readable storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a meeting recording method based on speech recognition is implemented.
[0114] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the conference recording method based on speech recognition in the above embodiment is implemented.
[0115] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the conference recording method based on speech recognition in the above embodiment is implemented.
[0116] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0117] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0118] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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, and should all be included in the protection scope of the present invention.
Claims
1. A conference recording method based on speech recognition, characterized in that: include: Acquire the audio data to be recognized in real time; Performing multi-channel segmentation processing on the audio data to be identified, extracting human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and performing human voice separation according to the extracted human voice frequency features to obtain human voice data; Using a SincNet filter, performing high-pass and low-pass filtering on the human voice data through a speaker recognition model, and performing speech recognition on the human voice data after the high-pass and low-pass filtering to obtain speaker information; Acquire the historical record text associated with the speaker information, and perform text recognition based on the above semantics on the human voice data according to the acquired historical record text to obtain a text result; Determining the conference record content corresponding to the audio data to be recognized according to the speaker information and the text result; The step of performing multi-channel segmentation processing on the audio data to be identified, extracting human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and performing human voice separation according to the extracted human voice frequency features to obtain human voice data includes: Performing multi-channel segmentation processing on the audio data to be identified to obtain a plurality of full-band feature data and a plurality of sub-band feature data; wherein one full-band feature data corresponds to a plurality of sub-band feature data; Extracting human voice frequency features from each of the full-band feature data and all of the sub-band feature data corresponding to each of the full-band feature data, and identifying human voice frequency points according to the extracted human voice frequency features to obtain a human voice recognition matrix corresponding to each of the full-band feature data; According to all voice recognition matrices, voice separation is performed on the audio data to be recognized to obtain voice data corresponding to the audio data to be recognized; The multi-channel segmentation process is performed on the audio data to be identified to obtain a plurality of full-band feature data and a plurality of sub-band feature data, including: Performing short-time Fourier transform processing on the audio data to be identified to obtain a plurality of full-band frequency spectrograms; Performing multi-channel sub-band decomposition on each of the full-band spectrum graphs to obtain a sub-band spectrum graph corresponding to each of the full-band spectrum graphs; one of the full-band spectrum graphs corresponds to the sub-band spectrum graphs of a preset number of sub-bands, and each of the sub-band spectrum graphs corresponds to one sub-band; Inputting each of the full-band spectrum graphs into a full-band feature extraction model, extracting full-band features in the full-band spectrum graph through the full-band feature extraction model, and obtaining the full-band feature data corresponding to each of the full-band spectrum graphs one by one; Each of the sub-band spectrum graphs is input into a sub-band feature extraction model corresponding to its sub-band, and the audio features corresponding to its sub-band in each of the sub-band spectrum graphs are extracted to obtain the sub-band feature data corresponding one-to-one to each of the sub-band spectrum graphs; wherein one sub-band feature extraction model corresponds to one sub-band.
2. The conference recording method based on speech recognition as claimed in claim 1, characterized in that: The use of the SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and performing speech recognition on the human voice data after the high-pass and low-pass filtering to obtain speaker information includes: Using a SincNet filter, high-pass and low-pass filtering is performed on the human voice data to obtain a filtered audio signal; Pooling and regularization are performed on the filtered audio signal to obtain an intermediate feature vector; Speaker voice features are extracted from the intermediate feature vector, and speech recognition is performed according to the extracted speaker voice features to obtain the speaker information.
3. The method for recording a meeting based on speech recognition as claimed in claim 2, characterized in that: The method of using the SincNet filter to perform high-pass and low-pass filtering on the human voice data to obtain a filtered audio signal includes: Processing the human voice data in blocks to obtain a plurality of voice block data; Performing Sinc-based bandpass filtering on each of the speech block data to obtain time domain block data corresponding to each of the speech block data; Performing Hamming window processing on each of the time domain block data to obtain the filtered audio signal.
4. The conference recording method based on speech recognition as claimed in claim 2, characterized in that: The filtering audio signal is pooled and regularized to obtain an intermediate feature vector, including: Performing pooling processing on the filtered audio signal to obtain a pooling result; Regularizing the pooling result to obtain a regularized result; Nonlinear activation processing is performed on the regularized result to obtain the intermediate feature vector.
5. The conference recording method based on speech recognition as claimed in claim 1, characterized in that: The step of performing text recognition based on the above semantics on the human voice data according to the acquired historical record text to obtain a text result includes: According to the historical record text, extracting the historical audio segment associated with the historical record text; Splicing the historical audio clip with the vocal data to obtain audio data to be processed; Perform speech semantic recognition on the audio data to be processed, and predict the text result corresponding to the human voice data.
6. A conference recording device based on speech recognition, characterized in that: include: An acquisition module is used to acquire the audio data to be recognized in real time; A separation module, used to perform multi-channel segmentation processing on the audio data to be identified, extract human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and perform human voice separation according to the extracted human voice frequency features to obtain human voice data; A speech recognition module, used to use a SincNet filter to perform high-pass and low-pass filtering on the human voice data through a speaker recognition model, and to perform speech recognition on the human voice data after high-pass and low-pass filtering to obtain speaker information; A text recognition module, used to obtain the historical record text associated with the speaker information, and perform text recognition based on the above semantics on the human voice data according to the obtained historical record text to obtain a text result; A determination module, configured to determine the conference record content corresponding to the audio data to be recognized according to the speaker information and the text result; The step of performing multi-channel segmentation processing on the audio data to be identified, extracting human voice frequency features from the audio data to be identified after the multi-channel segmentation processing, and performing human voice separation according to the extracted human voice frequency features to obtain human voice data includes: Performing multi-channel segmentation processing on the audio data to be identified to obtain a plurality of full-band feature data and a plurality of sub-band feature data; wherein one full-band feature data corresponds to a plurality of sub-band feature data; Extracting human voice frequency features from each of the full-band feature data and all of the sub-band feature data corresponding to each of the full-band feature data, and identifying human voice frequency points according to the extracted human voice frequency features to obtain a human voice recognition matrix corresponding to each of the full-band feature data; According to all voice recognition matrices, voice separation is performed on the audio data to be recognized to obtain voice data corresponding to the audio data to be recognized; The multi-channel segmentation process is performed on the audio data to be identified to obtain a plurality of full-band feature data and a plurality of sub-band feature data, including: Performing short-time Fourier transform processing on the audio data to be identified to obtain a plurality of full-band frequency spectrograms; Performing multi-channel sub-band decomposition on each of the full-band spectrum graphs to obtain a sub-band spectrum graph corresponding to each of the full-band spectrum graphs; one of the full-band spectrum graphs corresponds to the sub-band spectrum graphs of a preset number of sub-bands, and each of the sub-band spectrum graphs corresponds to one sub-band; Inputting each of the full-band spectrum graphs into a full-band feature extraction model, extracting full-band features in the full-band spectrum graph through the full-band feature extraction model, and obtaining the full-band feature data corresponding to each of the full-band spectrum graphs one by one; Each of the sub-band spectrum graphs is input into a sub-band feature extraction model corresponding to its sub-band, and the audio features corresponding to its sub-band in each of the sub-band spectrum graphs are extracted to obtain the sub-band feature data corresponding one-to-one to each of the sub-band spectrum graphs; wherein one sub-band feature extraction model corresponds to one sub-band.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the conference recording method based on speech recognition as described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the conference recording method based on speech recognition as described in any one of claims 1 to 5 is implemented.
