Intelligent voice interaction method, system and medium
By analyzing the speech signal and interference between microphone array elements, calculating adaptive static weights and combining it with the beam forming algorithm, the interference problem in intelligent voice interaction is solved and the speech signal quality and recognition accuracy are improved.
Patent Information
- Application Number
- CN202410804657.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-21
AI Technical Summary
In intelligent voice interaction, the microphone array is easily interfered by background noise, reflected echo, and electronic device noise in a closed environment, resulting in poor suppression effect and affecting voice signal quality and recognition accuracy.
By analyzing the speech signal correlation and interference between each microphone array element, the adaptive static weight of each array element is calculated, combined with the beam forming algorithm to generate a synthetic speech signal, and dynamically adjust the interference suppression to improve the speech signal quality and recognition accuracy. .
It effectively improves the synthesis quality and recognition accuracy of speech signals, enhances the accuracy and fluency of intelligent voice interaction, and reduces the impact of noise interference.
Smart Images

Figure CN118398024B
Abstract
Description
Technical Field
[0001] The present application relates to the field of speech processing technology, and in particular to an intelligent speech interaction method, system, and medium. Background Art
[0002] Intelligent voice interaction is a technology that allows users to communicate and control computer systems, mobile devices, smart home devices or other machines through voice. This interaction method imitates natural conversations between people, making it easier for users to interact with devices. It is widely used in smart homes, mobile devices, medical health, smart wearable devices, automated office and assistive technology.
[0003] The voice interaction process is often in a closed and complex environment. Intelligent voice interaction devices use microphone arrays to receive target signals while being interfered with from other directions. This type of interference is called sidelobe interference. These sidelobe interferences are often caused by background noise, reflected echoes, coherent noise of electronic equipment, and aliasing interference noise in a closed environment. The generalized sidelobe canceller (GSC) beamforming algorithm is usually used to apply adaptive filters to array signal processing. In the main channel structure, equal static weights are added to each microphone array element. However, in actual application environments, each microphone array element is subject to different environmental interference. Therefore, equal static weights are likely to lead to poor interference suppression effects, affecting the quality of the synthesized voice signal, and thus affecting the accuracy of subsequent recognition of voice interaction. Summary of the invention
[0004] In view of the above, it is necessary to provide an intelligent voice interaction method, system, and medium to analyze the correlation and interference of voice signals between microphone array elements, add corresponding static weights to each microphone array element, improve the quality of voice signal synthesis, and thereby improve the recognition accuracy of voice interaction.
[0005] The first aspect of the present application provides an intelligent voice interaction method, the method comprising:
[0006] Acquire the speech signals of all elements in the microphone array;
[0007] Divide the speech signal of each array element into frames to obtain each audio frame; obtain the time domain interference evaluation value of each audio frame according to the signal characteristics of each audio frame in the time domain; obtain the frequency domain interference evaluation value of each audio frame according to the signal characteristics of each audio frame in the frequency domain; obtain the voicing interference coefficient of each audio frame in each array element based on the time domain interference evaluation value and the frequency domain interference evaluation value of each audio frame in each array element;
[0008] Based on the distance relationship between each array element and the other array elements, the similarity between the audio frames is compared to obtain the sound wave direction coefficient of each audio frame in each array element; based on the voice interference coefficient and the sound wave direction coefficient of each audio frame in each array element, the voiceprint credibility of each audio frame in each array element is obtained;
[0009] Based on the distribution of voiceprint credibility of audio frames at the same position of each array element, the adaptive static weight of each audio frame of each array element is obtained; based on the adaptive static weights of all audio frames of all array elements, combined with the beamforming algorithm, the synthetic speech signal for interaction is obtained.
[0010] In one embodiment, the time domain interference evaluation value of each audio frame is obtained according to the signal characteristics of each audio frame in the time domain, specifically:
[0011] For each audio frame in each array element, the speech signal corresponding to each audio frame is used as the speech sequence of each audio; the speech sequence of each audio frame is fitted to obtain each audio curve; the discrete degree of the difference between the speech sequence of each audio point and all the same position data of the corresponding audio curve is obtained; the determination coefficient of each audio curve is obtained; and the inverse fusion of the discrete degree of each audio and the determination coefficient is used as the time domain interference evaluation value of each audio frame.
[0012] In one embodiment, the frequency domain interference evaluation value of each audio frame is obtained according to the signal characteristics of each audio frame in the frequency domain, specifically:
[0013] The number of frequency components and the frequency component with the largest energy in the frequency domain response of each audio frame are obtained; the frequency component with the largest energy is called the fundamental frequency; the ratio of the envelope area corresponding to the fundamental frequency to the envelope area corresponding to the total frequency domain is taken as the fundamental frequency energy ratio; the inverse relationship between the number of frequency components and the fundamental frequency energy ratio is taken as the frequency domain interference evaluation value.
[0014] In one embodiment, the utterance interference coefficient of each audio frame is specifically the sum of the time domain interference evaluation value and the frequency domain interference evaluation value.
[0015] In one embodiment, the similarity between audio frames is compared based on the distance relationship between each array element and other array elements to obtain the sound wave direction coefficient of each audio frame in each array element, including:
[0016] For any audio frame in any array element, obtain the audio frames at the previous position and the next position of the corresponding position of any audio frame in the array element closest to the any array element, and record them as the close-distance previous audio frame and the close-distance after audio frame of the any audio frame, respectively; record the similarity between any audio frame in the any array element and the close-distance previous audio frame and the close-distance after audio frame as the first similarity coefficient and the second similarity coefficient of any audio frame in the any array element, respectively; and use the inverse relationship between the second similarity coefficient and the first similarity coefficient of any audio frame in the any array element as the sound wave direction coefficient of any audio frame in the any array element.
[0017] In one embodiment, the voiceprint credibility is specifically a ratio of the sound wave direction coefficient to the voice interference coefficient.
[0018] In one embodiment, the adaptive static weight of each audio frame of each array element is obtained based on the distribution of the voiceprint credibility of the audio frame at the same position of each array element, specifically:
[0019] Based on any audio frame, the sum of the voiceprint credibility of all array elements is obtained, and the ratio of the voiceprint credibility of any audio frame in each array element to the sum is used as the adaptive static weight of any audio frame in each array element.
[0020] In one embodiment, the adaptive static weights based on all audio frames of all array elements combined with a beamforming algorithm to obtain a synthetic speech signal for interaction include:
[0021] The speech signals of all array elements are used as the input of the beamforming algorithm, and the adaptive static weight of each array element in each audio frame is used as the adaptive static weight corresponding to each array element of the main channel under each audio frame in the GSC beamforming algorithm. The output of the GSC beamforming algorithm is a synthetic speech signal for interaction.
[0022] In a second aspect, an embodiment of the present application also provides an intelligent voice interaction system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned voice interaction methods when executing the computer program.
[0023] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the voice interaction method as described in the first aspect is implemented.
[0024] In the above scheme, the voice signals of all array elements in the microphone array are obtained to provide an analysis basis for the subsequent signal feature extraction; the voice signals of each array element are framed to facilitate the measurement of the characteristics of the voice signal in a short time; a time domain interference evaluation value is constructed to extract the characteristics of the waveform of the voice signal in a short time and measure the stable characteristics of the voice signal in a short time; a frequency domain interference evaluation value is constructed to extract the characteristics of the frequency energy of the voice signal in a short time and analyze the degree of noise interference to the voice signal in a short time; a voice interference coefficient is constructed to effectively evaluate the interference of the audio frame in the array element with the environmental noise according to the characteristics of the short-term stability of the user's voice and the random interference of noise; a sound wave direction coefficient is constructed to measure the microphone The delay characteristics of the directionality of a single array element from the sound source in the microphone array; constructing the voiceprint credibility to characterize the credibility of the speech signal of each microphone array element in space; obtaining the adaptive static weight, which is obtained by using the voiceprint credibility of each array element in the current audio frame, and is used for the tendency fusion of the audio frame data of each array element in the main channel; combining the GSC beamforming algorithm to obtain the synthetic speech signal for interaction, it can dynamically adjust the interference degree and transmission characteristics of the speech signal received by each array element based on the audio frame, improve the ability to extract the target audio, further improve the noise suppression ability, and then improve the accuracy of speech recognition, which is conducive to improving the accuracy and fluency of intelligent voice interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A flowchart of a method for intelligent voice interaction provided in accordance with an embodiment of the present application;
[0026] Figure 2 A schematic diagram of a process for obtaining an adaptive static weight provided by an embodiment of the present application;
[0027] Figure 3 A block diagram of a GSC beamforming algorithm provided for one embodiment of the present application. DETAILED DESCRIPTION
[0028] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0030] It should also be noted that the terms "first" and "second" in this application and the accompanying drawings are used to distinguish similar objects, rather than to describe a specific order or sequence. The method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the present application, the execution order of multiple steps can be interchangeable with each other, and some steps can also be deleted.
[0031] See also Figure 1 , which shows a flowchart of a method for intelligent voice interaction provided by an embodiment of the present application, the method comprising the following steps:
[0032] Step 1: Obtain the speech signals of all elements in the microphone array.
[0033] When a user uses an intelligent voice interaction system, the user is the initiator of the interaction. The user's voice signal is transmitted through the air medium to the receiving end of the intelligent voice device. The received voice signal is analyzed through voice analysis to achieve user-specified tasks or interact with the user.
[0034] In this way, the user's voice signal is obtained during the intelligent voice interaction process, and the user's voice command is collected through a microphone array. The number of array elements in the microphone array is N, and the sampling frequency of each array element is set to 8KHz.
[0035] In some embodiments of the present application, the value of N is 8.
[0036] Step 2: Divide the speech signal of each array element into frames to obtain each audio frame; obtain the time domain interference evaluation value of each audio frame according to the signal characteristics of each audio frame in the time domain; obtain the frequency domain interference evaluation value of each audio frame according to the signal characteristics of each audio frame in the frequency domain; based on the time domain interference evaluation value and the frequency domain interference evaluation value of each audio frame in each array element, obtain the voice interference coefficient of each audio frame in each array element.
[0037] The GSC beamforming algorithm is an adaptive noise cancellation method that improves the output signal-to-noise ratio by suppressing noise. In the GSC beamforming algorithm, it is divided into a main channel and an auxiliary channel. The main channel is a fixed beamformer with static weights. Its purpose is to receive the main part of the target signal, and the auxiliary channel further suppresses noise. The setting of static weights in the main channel will affect the acquisition of the target signal, but factors such as environmental changes and human voice movement can cause the static weight emphasis to change. Therefore, it is necessary to combine the real-time signal situation of each array element to achieve the effect of suppressing noise.
[0038] Normal speech signals are meaningful sounds produced by the human body's vocal organs through collision with air. Different sounds can be produced according to the different frequencies of vocal cord vibration. However, since muscle contraction and expansion is a cyclic and gradual process, the speech signal will not change much in a short period of time, so the speech signal has a relatively smooth waveform in the time domain. However, due to the randomness of environmental noise, and when other human voices or sharp equipment movement sounds appear in the background environment, more noise points may appear in the speech signal, making the speech signal more tortuous in the time domain waveform.
[0039] In order to measure the stability of the speech signal in a short time, the speech signal received by each array element is framed and processed to obtain each audio frame in each array element. The speech signal is intercepted by a window function during framing. The optional window functions include but are not limited to Hamming window, Kaiser window and Hanning window. The implementer can select the window function according to the actual situation, and this application does not limit this.
[0040] In some embodiments of the present application, the frame length is set to 30 ms during frame processing, and the overlap between adjacent frames is 50%; the window function selects the Hamming window.
[0041] A pure speech signal can be regarded as a short-term stationary signal in a short time, which has relative stability, and the waveform changes relatively smoothly in the time domain. In the frequency domain, the frequency components of the speech signal are relatively small, and the baseband signal occupies a large amount of speech energy. Based on this, the time domain interference evaluation value of each audio frame in each array element is obtained:
[0042] For each audio frame in each array element, the speech signal corresponding to each audio frame is used as the speech sequence of each audio; the speech sequence of each audio frame is fitted to obtain each audio curve; the discrete degree of the difference between the speech sequence of each audio point and all the same position data of the corresponding audio curve is obtained; the determination coefficient of each audio curve is obtained; and the inverse fusion of the discrete degree of each audio and the determination coefficient is used as the time domain interference evaluation value of each audio frame.
[0043] The acquisition of the coefficient of determination is a known technique and will not be described in detail in this application.
[0044] It should be noted that the difference represents the numerical difference between variables, specifically: difference, absolute value of difference, ratio, etc.; the degree of dispersion reflects the discrete characteristics of the overall data distribution, including: Gini impurity, information entropy, variance, standard deviation, etc.; this application does not impose any restrictions on this.
[0045] In some embodiments of the present application, the least square method is used to curve fit the speech sequence of each audio frame to obtain an audio curve, and a differential sequence is constructed using the difference between the corresponding positions of the speech sequence and the audio curve, and the ratio of the standard deviation of the differential sequence to the coefficient of determination of the audio curve is used as the time domain interference evaluation value. If the array element is less disturbed by noise in the current audio frame, the current audio signal is a stable signal, the change in the speech sequence is small, and the waveform of the speech sequence after fitting is smoother, the value of the coefficient of determination is larger, and the standard deviation of the differential sequence is smaller, so that the time domain interference evaluation value is smaller.
[0046] If the speech signal is greatly disturbed by the environment, the stability of the signal will be destroyed, the waveform changes in the time domain will be more tortuous, and the noise will introduce additional frequency components in the frequency domain, and the frequency components will share part of the energy of the fundamental frequency, so that the speech energy of the fundamental frequency is reduced. Based on this, the frequency domain interference evaluation value of each audio frame is obtained:
[0047] The number of frequency components and the frequency component with the largest energy in the frequency domain response of each audio frame are obtained; the frequency component with the largest energy is called the fundamental frequency; the ratio of the envelope area corresponding to the fundamental frequency to the envelope area corresponding to the total frequency domain is taken as the fundamental frequency energy ratio; the inverse relationship between the number of frequency components and the fundamental frequency energy ratio is taken as the frequency domain interference evaluation value.
[0048] It should be noted that subtraction and division are common inverse relationship calculation methods, and this application does not impose any restrictions on this.
[0049] In some embodiments of the present application, the audio frame is subjected to Fourier transform to obtain the frequency domain response, and the amplitude of each frequency component is extracted through the envelope; wherein Fourier transform and envelope are existing well-known technologies, and this application will not repeat them. The ratio of the number of frequency components to the energy proportion is used as the frequency domain interference evaluation value. If the array element is less interfered by noise in the current audio frame, the number of frequency components in the frequency domain is small, and the entire speech energy is mainly concentrated on the fundamental frequency. Therefore, the value of the fundamental frequency energy proportion is large, and the frequency domain interference evaluation value is finally obtained to be small.
[0050] Based on the time domain interference evaluation value and the frequency domain interference evaluation value of each audio frame in each array element, the sound interference coefficient of each audio frame in each array element is obtained; wherein the sound interference coefficient of each audio frame is in a linear increasing relationship with the time domain interference evaluation value and the frequency domain interference evaluation value.
[0051] It should be noted that an increasing (decreasing) relationship indicates a trend in which as one variable increases, another variable also increases (decreases). Common increasing (decreasing) relationships include: linear increasing (decreasing) relationship, exponential increasing (decreasing) relationship, logarithmic increasing (decreasing) relationship, power function increasing (decreasing) relationship, periodic increasing (decreasing) relationship, gradual increasing (decreasing) relationship, etc. This application does not impose any restrictions on this.
[0052] In some embodiments of the present application, the utterance interference coefficient of each audio frame in each array element is obtained by adding the time domain interference evaluation value and the frequency domain interference evaluation value. If the current audio frame of the array element is greatly interfered by the environmental noise, the stability of the voice signal in the audio frame will be destroyed, so that more noise points appear in the voice sequence, resulting in a more turbulent audio curve, making the time-frequency interference evaluation value larger. At the same time, in the frequency domain, due to the presence of environmental noise, additional frequency components will be introduced, so that the number of frequency components increases, the energy proportion of the fundamental frequency decreases, and the value of the utterance interference coefficient increases.
[0053] Step 3: Based on the distance relationship between each array element and the other array elements, the similarity between the audio frames is compared to obtain the sound wave direction coefficient of each audio frame in each array element; based on the voice interference coefficient and the sound wave direction coefficient of each audio frame in each array element, the voiceprint credibility of each audio frame in each array element is obtained.
[0054] In a closed environment, due to factors such as wall reflection and scene reverberation, multiple noise sources will be generated, resulting in noise in the audio signal received by the microphone. That is, the same voice information will reach different microphone array elements multiple times or with delay, resulting in poor direction selection of the microphone array, causing interference to the voice signal audio frame.
[0055] The sound waves from the user's sound source are propagated to the microphone array through the air. Sound waves are similar to spherical waves propagating in a closed environment, so the time it takes for the user's sound waves to reach each array element varies. Therefore, the array element closer to the user receives a stronger signal and has the strongest directionality, so the credibility of the array element audio frame in this direction is higher. The array element farther from the user receives the same audio signal with a certain delay, so the farther the array element is, the more susceptible it is to interference and the lower its credibility.
[0056] Based on this, the sound wave direction coefficient of each audio frame in each array element is obtained:
[0057] For any audio frame in any array element, obtain the audio frames at the previous position and the next position of the corresponding position of any audio frame in the array element closest to the any array element, and record them as the close-distance previous audio frame and the close-distance after audio frame of the any audio frame, respectively; record the similarity between any audio frame in the any array element and the close-distance previous audio frame and the close-distance after audio frame as the first similarity coefficient and the second similarity coefficient of any audio frame in the any array element, respectively; and use the inverse relationship between the second similarity coefficient and the first similarity coefficient of any audio frame in the any array element as the sound wave direction coefficient of any audio frame in the any array element.
[0058] It should be noted that similarity measures the degree of similarity between sequences, specifically including: Pearson correlation coefficient, cosine similarity, Jaccard similarity, negative correlation mapping value of DTW distance, etc.; this application does not impose any limitation on this.
[0059] In some embodiments of the present application, for the i-th audio frame in the current array element, the i-1th audio frame and the i+1th audio frame of the array element closest to the current array element are obtained, and recorded as the near-previous audio frame and the near-after audio frame of the i-th audio frame; the DTW distances between the i-th audio frame in the current array element and the near-previous audio frame and the near-after audio frame are recorded as the first similarity coefficient and the second similarity coefficient of the i-th audio frame in the current array element, respectively; the ratio of the second similarity coefficient of the i-th audio frame in the current array element to the first similarity coefficient is used as the sound wave direction coefficient of the i-th audio frame in the current array element. If the current array element is close to the user-side array element, the audio signal received by the array element reaches the next array element after a certain delay, so the i-th audio frame of the current array element should be closer to the i+1th audio frame of the next array element, and more different from the i-1th audio frame, and the value of the sound wave direction coefficient is larger at this time.
[0060] Based on the vocal interference coefficient and the sound wave direction coefficient of each audio frame in each array element, the voiceprint credibility of each audio frame in each array element is obtained; wherein the voiceprint credibility is in an increasing relationship with the sound wave direction coefficient and in a decreasing relationship with the vocal interference coefficient.
[0061] In some embodiments of the present application, the ratio of the sound wave direction coefficient of each audio frame in each array element to the sound interference coefficient is used as the voiceprint credibility of each audio frame in each array element. If the current array element is closer to the user side, the user's sound source signal reaches the array element faster, and it is less likely to be disturbed by the environmental background noise at this time, so the voiceprint credibility value of the current audio frame is finally obtained.
[0062] Step 4: Based on the distribution of voiceprint credibility of audio frames at the same position of each array element, the adaptive static weight of each audio frame of each array element is obtained; based on the adaptive static weights of all audio frames of all array elements, combined with the beamforming algorithm, a synthetic speech signal for interaction is obtained.
[0063] The voiceprint credibility can be used to measure the interference of noise on each array element in the current audio frame. If the delay of the current array element is smaller, it means that it is closer to the user side and less susceptible to environmental noise interference. At this time, a larger static weight should be given to the array element. Based on this, the adaptive static weight of each array element and each audio frame is obtained:
[0064] Based on any audio frame, the sum of the corresponding voiceprint credibility of all array elements is obtained, and the ratio of the voiceprint credibility of any audio frame in each array element to the sum is used as the adaptive static weight of any audio frame in each array element. In this way, the corresponding adaptive static weight can be obtained according to the interference of the audio signal of each array element and the directional delay information. The smaller the interference, the larger the static weight of the array element, and the larger the interference, the smaller the static weight of the array element. The schematic diagram of the adaptive static weight acquisition process is shown in FIG. Figure 2 shown.
[0065] The adaptive static weight of each array element in each audio frame is used as the adaptive static weight corresponding to each array element of the main channel in each audio frame in the GSC beamforming algorithm to obtain a synthetic speech signal for interaction and enhance the speech signal. The GSC beamforming algorithm is a well-known technology and will not be described in detail in this application.
[0066] In some embodiments of the present application, a block diagram of a GSC beamforming algorithm is shown in FIG. Figure 3 As shown in the figure, in the GSC beamforming algorithm, the one using static weights is called the main channel, and the one using adaptive weights is called the auxiliary channel; the auxiliary channel blocking matrix B and the normalized least mean square (NLMS) algorithm are used to determine the adaptive weights of the auxiliary channels.
[0067] For the enhanced voice signal, automatic speech recognition ASR technology is used to convert the voice into text, and the text voice command is extracted by NLP, and the corresponding reply is made according to the semantic information of the user's command, thereby realizing intelligent voice interaction with the user. At the same time, the user command and reply data are stored in the memory for subsequent query and error correction.
[0068] Based on the same inventive concept as the above method, an embodiment of the present application also provides an intelligent voice interaction system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above-mentioned intelligent voice interaction methods are implemented.
[0069] Based on the same concept as the method embodiment of the present application, a computer-readable storage medium is proposed, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the voice interaction method as described in the first aspect is implemented.
[0070] In summary, the embodiment of the present application obtains the voice signals of all array elements in the microphone array, providing an analysis basis for the subsequent signal feature extraction; the voice signals of each array element are divided into frames to facilitate the measurement of the characteristics of the voice signal in a short time; a time domain interference evaluation value is constructed to extract the characteristics of the waveform of the voice signal in a short time, and measure the stable characteristics of the voice signal in a short time; a frequency domain interference evaluation value is constructed to extract the characteristics of the frequency energy of the voice signal in a short time, and analyze the degree to which the voice signal is interfered with by noise in a short time; a voice interference coefficient is constructed to effectively evaluate the interference of the audio frame in the array element with the environmental noise according to the characteristics of the short-term stability of the user's voice and the random interference of noise; a sound wave direction coefficient is constructed to measure Measure the time delay characteristics of the directionality of a single array element in the microphone array from the sound source; construct the voiceprint credibility to characterize the credibility of the speech signal of each microphone array element in space; obtain the adaptive static weight, which is obtained by using the voiceprint credibility of each array element in the current audio frame, and is used for the tendency fusion of the audio frame data of each array element in the main channel; combine the GSC beamforming algorithm to obtain the synthetic speech signal for interaction, and can dynamically adjust the interference degree and transmission characteristics of the speech signal received by each array element based on the audio frame, thereby improving the ability to extract the target audio, further improving the noise suppression ability, and then improving the accuracy of speech recognition, which is conducive to improving the accuracy and fluency of intelligent voice interaction.
[0071] It should be noted that the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
[0072] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An intelligent voice interaction method, It is characterized in that The method comprises the following steps: Acquire the speech signals of all elements in the microphone array; Divide the speech signal of each array element into frames to obtain each audio frame; obtain the time domain interference evaluation value of each audio frame according to the signal characteristics of each audio frame in the time domain; obtain the frequency domain interference evaluation value of each audio frame according to the signal characteristics of each audio frame in the frequency domain; obtain the voicing interference coefficient of each audio frame in each array element based on the time domain interference evaluation value and the frequency domain interference evaluation value of each audio frame in each array element; Based on the distance relationship between each array element and the other array elements, the similarity between the audio frames is compared to obtain the sound wave direction coefficient of each audio frame in each array element; based on the voice interference coefficient and the sound wave direction coefficient of each audio frame in each array element, the voiceprint credibility of each audio frame in each array element is obtained; Based on the distribution of the voiceprint credibility of the audio frames at the same position of each array element, the adaptive static weight of each audio frame of each array element is obtained; based on the adaptive static weights of all audio frames of all array elements, combined with the beamforming algorithm, the synthetic speech signal for interaction is obtained; The time domain interference evaluation value of each audio frame is obtained according to the signal characteristics of each audio frame in the time domain, specifically: For each audio frame in each array element, the speech signal corresponding to each audio frame is used as the speech sequence of each audio; the speech sequence of each audio frame is fitted to obtain each audio curve; the discrete degree of the difference between the speech sequence of each audio point and all the data of the same position of the corresponding audio curve is obtained; the determination coefficient of each audio curve is obtained; the discrete degree of each audio and the determination coefficient are reversely fused as the time domain interference evaluation value of each audio frame; The frequency domain interference evaluation value of each audio frame is obtained according to the signal characteristics of each audio frame in the frequency domain, specifically: Obtain the number of frequency components and the frequency component with the largest energy in the frequency domain response of each audio frame; the frequency component with the largest energy is called the fundamental frequency; the ratio of the envelope area corresponding to the fundamental frequency to the envelope area corresponding to the total frequency domain is used as the fundamental frequency energy ratio; the inverse relationship between the number of frequency components and the fundamental frequency energy ratio is used as the frequency domain interference evaluation value; The voiceprint credibility is specifically the ratio of the sound wave direction coefficient to the voice interference coefficient; The method of obtaining a synthetic speech signal for interaction based on the adaptive static weights of all audio frames of all array elements in combination with a beamforming algorithm includes: The speech signals of all array elements are used as the input of the beamforming algorithm, and the adaptive static weight of each array element in each audio frame is used as the adaptive static weight corresponding to each array element of the main channel under each audio frame in the GSC beamforming algorithm. The output of the GSC beamforming algorithm is a synthetic speech signal for interaction.
2. An intelligent voice interaction method as claimed in claim 1, It is characterized in that The utterance interference coefficient of each audio frame is specifically the sum of the time domain interference evaluation value and the frequency domain interference evaluation value.
3. An intelligent voice interaction method as claimed in claim 1, It is characterized in that The comparing the similarity between the audio frames based on the distance relationship between each array element and the other array elements to obtain the sound wave direction coefficient of each audio frame in each array element includes: For any audio frame in any array element, obtain the audio frames at the previous position and the next position of the corresponding position of any audio frame in the array element closest to the any array element, and record them as the close-distance previous audio frame and the close-distance after audio frame of the any audio frame, respectively; record the similarity between any audio frame in the any array element and the close-distance previous audio frame and the close-distance after audio frame as the first similarity coefficient and the second similarity coefficient of any audio frame in the any array element, respectively; and use the inverse relationship between the second similarity coefficient and the first similarity coefficient of any audio frame in the any array element as the sound wave direction coefficient of any audio frame in the any array element.
4. An intelligent voice interaction method as claimed in claim 1, It is characterized in that The adaptive static weight of each audio frame of each array element is obtained based on the distribution of the voiceprint credibility of the audio frame at the same position of each array element, specifically: Based on any audio frame, the sum of the voiceprint credibility of all array elements is obtained, and the ratio of the voiceprint credibility of any audio frame in each array element to the sum is used as the adaptive static weight of any audio frame in each array element.
5. An intelligent voice interaction system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the voice interaction method according to any one of claims 1 to 4 is implemented.
