Accurate recognition method and system for voice control

By establishing a voice control network model and preprocessing voice signals in real time to extract acoustic features, the problem of reduced voice control accuracy in extreme environments is solved, the accuracy and response speed of voice recognition are improved, and the user experience is improved.

CN118588074APending Publication Date: 2024-09-03李庆湧
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410713255.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In extremely noisy or poorly lit environments, the performance of the image sensing and recognition modules of existing voice control technology is affected, resulting in reduced accuracy of voice control, slow response speed, high failure rate and high cost.

Method used

By establishing a voice control network model, user voice signals are collected and preprocessed in real time, acoustic features are extracted, and based on the accuracy evaluation and adjustment mechanism, the accuracy and response speed of speech recognition are improved, and user learning costs and operational difficulty are reduced.

Benefits of technology

It improves the accuracy of speech recognition, reduces the misrecognition rate, improves user experience, and ensures the high accuracy and rapid response of the voice control system in long-term use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588074A
    Figure CN118588074A
Patent Text Reader

Abstract

The invention discloses a precise recognition method and system for voice control, and relates to the technical field of voice recognition and control. In order to solve the problem that in the prior art, in an extremely noisy or poor-light environment, the performance of an image induction and recognition module is affected, and then the accuracy of voice control is affected. The invention discloses a precise recognition method for voice control. The method comprises the following steps of S1, performing initialization setting; s2, voice accurate recognition; s3, evaluating the accuracy rate; s4, voice control feedback; by accurately recognizing the voice control instruction of the user, the accuracy of voice recognition is improved, the accuracy of voice recognition is monitored in real time, and the corresponding control instruction is matched based on the accurate keyword extraction result, so that the equipment is rapidly controlled to make a response, the accuracy and response speed of voice recognition are improved, and the user experience is improved. The learning cost and the operation difficulty when the user uses the voice control function are reduced, and the user experience is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of speech recognition and control technology, and in particular to an accurate recognition method and system for speech control. Background Art

[0002] With the rapid development of intelligent technology, voice control technology is increasingly widely used in the fields of smart home, autonomous driving, medical services, etc. Regarding voice control, a Chinese patent with publication number CN102945672B discloses a multimedia device voice control system, including: an image sensing module, which collects user action images; an image recognition module, which determines the type or state of control instructions based on the user action images; a voice recognition state management module, which activates or pauses voice recognition according to the current control instruction type; a sound pickup module, which collects voice data; a voice recognition module, which recognizes the collected voice data and forms a control instruction; a multimedia function module, which executes the control instruction and provides the user with corresponding multimedia functions. The present invention also proposes a multimedia device voice control method. The patent combines image recognition and voice recognition technology, and does not use a close-range pickup module to achieve free and convenient voice control, effectively avoiding the interference of the sound output by the multimedia device, the background sound of the environment, and the user's non-control instruction voice signal on the control instruction voice recognition, and accurately recognizes the control instructions issued by the user.

[0003] Although the above patent can effectively avoid the interference of environmental background sounds on voice recognition, the performance of the image sensing and recognition modules may be affected in extremely noisy or poorly lit environments, thereby affecting the accuracy of voice control. In addition, the combination of image sensing and recognition modules is prone to problems such as slow response speed, high failure rate and increased cost. Summary of the invention

[0004] The purpose of the present invention is to provide a precise recognition method and system for voice control, which improves the accuracy of voice recognition by accurately recognizing the user's voice control instructions, monitors the accuracy of voice recognition in real time, matches the corresponding control instructions based on accurate keyword extraction results, thereby quickly controlling the device to respond, improving the accuracy and response speed of voice recognition, reducing the user's learning cost and operation difficulty when using the voice control function, and further improving the user experience, so as to solve the problems raised in the above-mentioned background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A precise recognition method for voice control, comprising the following steps:

[0007] S1: Initialization settings: Establish a voice control network model according to the characteristics and requirements of voice control of each device, train the voice control network model with the collected user voice information, and set the voice control instruction set according to the actual application scenario, where each instruction in the voice control instruction set matches the corresponding control operation command;

[0008] S2: Accurate speech recognition: collect the user's speech signal in real time, pre-process the speech signal, extract acoustic features from the pre-processed speech signal, and identify the user's speech control instructions from the extracted acoustic features based on the speech control network model;

[0009] S3: Accuracy evaluation: Evaluate the accuracy of the voice control command based on the recognition result. When the accuracy is lower than a predetermined value or the user actively triggers it, enter the accuracy adjustment mode until the accuracy evaluation result reaches a preset accuracy threshold.

[0010] S4: Voice control feedback: Based on the accuracy evaluation results that meet the standards, the user's voice control data is extracted for keywords, and the corresponding control instructions are matched based on the keyword extraction results, the control device responds, and feedback is obtained.

[0011] In this embodiment, the real-time collection of the user's voice signal in S2 also includes:

[0012] Based on the real-time capture of environmental sound signals by sound collection equipment, the collected environmental sound signals are converted into frequency domain signals by using the fast Fourier transform algorithm, the energy of the converted frequency domain signals is calculated, and the energy spectrum of the frequency domain signals is obtained by integrating the energy in different frequency bands;

[0013] When the system is initialized and the user does not send a voice control signal, a background noise environment sound signal is collected, the background noise environment sound signal is converted into a background noise frequency domain signal, and an energy spectrum of the background noise is calculated;

[0014] Compare the energy spectrum of the frequency domain signal with the energy spectrum of the background noise to determine whether there is a user voice control signal input. When the energy spectrum of the frequency domain signal is significantly higher than the energy spectrum of the background noise, there is a user voice control signal input;

[0015] If there is a user voice control signal input, execute the following steps, otherwise, continue to monitor the ambient sound signal.

[0016] Furthermore, the speech signal is preprocessed in S2, specifically:

[0017] Anti-aliasing filtering: Assume the cutoff frequency of the low-pass filter is f c , f c With the frequency f s The relationship is:

[0018] F c =1 / 2.5*f s ;

[0019] Pre-emphasis: The speech signal is passed through a pre-emphasis filter to obtain a pre-emphasis filtered signal;

[0020] Windowing and framing: The collected speech signal is divided into short speech segments for analysis. The segment length is 10ms to 30ms. The speech signal is divided into several frames based on the sliding of the Hanning window on the speech signal.

[0021] Endpoint detection: Calculate the short-time zero-crossing rate and short-time average energy of each frame signal. Assume that the first m frames of the speech signal are silent segments, and calculate the average energy and average zero-crossing rate of the noise.

[0022] Thresholds and thresholds are set for the short-time average energy and the short-time zero-crossing rate respectively, the starting point and the ending point of the speech signal are determined based on the thresholds, and the speech signal is corrected according to the short-time zero-crossing rate.

[0023] Furthermore, the acoustic features are extracted from the preprocessed speech signal in S2, specifically including:

[0024] The speech signal is segmented to generate speech segments and non-speech segments. The segmented speech signal is transformed by FFT to obtain the spectrum based on the characteristics of the speech signal and analysis requirements. At the same time, the time resolution is increased based on the overlapping window technology to capture the dynamic change data of the speech signal.

[0025] The obtained spectrum is squared to obtain the energy spectrum. According to the specific application scenario and the characteristics of the speech signal, the number and bandwidth of the Mel filter are adjusted. The parameters of the filter are adjusted according to the dynamic change data of the speech signal. The corresponding logarithmic power spectrum is obtained based on the Mel filter bank.

[0026] The obtained logarithmic power spectrum is subjected to DCT inverse discrete cosine transform to obtain MFCC feature extraction coefficients, the MFCC feature extraction coefficients are subjected to first-order and second-order difference operations to obtain dynamic MFCC feature parameters, and the extracted features are processed to obtain an acoustic feature set.

[0027] Furthermore, the accuracy evaluation in S3 includes:

[0028] The recognition results of each voice control command are evaluated in real time. The evaluation indicators include: recognition accuracy, false recognition rate and response time;

[0029] Comparing the recognized voice control command with the user's actual intention to determine the accuracy value of the recognition result, wherein the user's actual intention is obtained based on user feedback and system logs;

[0030] The accuracy value is compared with a preset accuracy threshold. When the accuracy value is higher than the preset threshold, the accuracy meets the standard and the evaluation ends. At the same time, the acquired user's voice control command is subjected to a keyword extraction step;

[0031] When the accuracy value is lower than the preset threshold and the user actively adjusts it, the system enters the accuracy adjustment mode and prompts the user to perform the follow-up reading operation;

[0032] The voice control network model is trained based on the collected new voice data, the parameters and weights of the voice control network model are updated, and the accuracy of the voice control network model is verified based on the verification data set;

[0033] Repeat the above steps until the accuracy verification result reaches the preset threshold.

[0034] Furthermore, the verification data set includes the user's voice data and previously collected historical data, and also includes:

[0035] Input the verification data set into a pre-trained verification data recognition model for recognition, and calculate the recognition error rate of the verification data in the accuracy verification by the verification data recognition model;

[0036] The recognition error rate is compared with a preset error threshold, and when it is determined that the recognition error rate is less than the preset error threshold, the verification data output by the verification data recognition model is used as valid data.

[0037] Furthermore, keyword extraction is performed for the voice control feedback in S4, including:

[0038] Analyzing the user's voice control data, and dividing the voice control data into a multi-layer topic tree, each layer including a plurality of clusters;

[0039] Cluster the sub-data information corresponding to each layer to obtain several cluster sets, and assign each cluster set to the corresponding cluster;

[0040] Perform word segmentation operation on the type sentences included in the clustering set in each cluster to obtain several extracted words in the type sentences;

[0041] Determine the word feature of each extracted word and the sentence feature of each extracted word in the type of sentence;

[0042] Determining a first similarity between the extracted words based on the constructed synonym dictionary and the word features of each extracted word;

[0043] Determining a second similarity between the extracted words according to the first similarity and a sentence feature of each extracted word in the type of sentence;

[0044] De-duplication processing is performed on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set;

[0045] Performing maximum length splicing on the extracted words with consecutive positions in the target extracted word set by using the minimum text unit to obtain spliced ​​words;

[0046] Cleaning the concatenated words according to part-of-speech statistical features to obtain a keyword set, and converting the keywords in the keyword set into word vectors;

[0047] Calculate the distance between each word vector in any cluster and the standard word vector corresponding to the cluster, and select the keyword corresponding to the word vector with the smallest distance as the target keyword in any cluster;

[0048] The corresponding control instructions are matched according to the target keywords, the control device responds, and user feedback is provided.

[0049] The present invention provides another technical solution, a precise recognition system for voice control, comprising:

[0050] The voice acquisition module is used to collect the user's voice commands in real time and pre-process the collected voice signals;

[0051] The accurate recognition module is used to extract acoustic features from the preprocessed voice signal, identify the voice control instructions in the extracted acoustic features, and determine the user's voice control instructions;

[0052] The accuracy evaluation module is used to optimize and update the recognition model based on the accuracy adjustment mechanism according to user feedback and the accuracy adjustment mechanism of the system;

[0053] The control module is used to execute corresponding control operations according to the voice control instructions with the accuracy reaching the standard output by the recognition module, receive device feedback and display it to the user.

[0054] Preferably, the time resolution is increased based on overlapping window technology to capture the dynamic change data of the speech signal, including:

[0055] The voice signal is framed to obtain multiple frames of first voice data, and each frame of the first voice data is framed twice based on an overlapping window technology to increase the time resolution, so as to obtain multiple frames of second voice data;

[0056] Extracting phonemes of each frame of the second speech data and generating a phoneme vector sequence, and obtaining cepstrum features of the second speech data;

[0057] The phoneme vector sequence and cepstrum features are used as inputs of the deep neural network to obtain output results;

[0058] Determine the emotion change feature and the corresponding change node frame in the second voice data according to the output result;

[0059] Dividing the second voice data into multiple emotion voice data according to the change node frame, and obtaining divided frame voice data of each emotion voice data;

[0060] Obtaining a fixed signal frequency under each emotion, treating the target frame voice data that does not contain the fixed signal frequency in the divided frame voice data of each emotion voice data as invalid frame data and deleting it, and obtaining the processed divided frame voice data of each emotion voice data;

[0061] Convert each frame of the processed divided frame speech data of each layer of emotional speech data into a feature vector;

[0062] The feature vector is input into a preset speech recognition model and converted into a human voice feature symbol;

[0063] Compare the human voice feature symbols with the preset feature symbols extracted from the text. If the similarity is greater than or equal to the threshold, the match is successful. If the similarity is lower than the threshold, the match fails.

[0064] The successfully matched target feature vector is obtained, and the dynamic change data of the speech signal is determined according to the target feature vector.

[0065] Preferably, after collecting the user's voice signal in real time and before preprocessing the voice signal, the method further includes:

[0066] Processing the speech signal by a preset frequency to obtain a low-frequency component and a high-frequency component;

[0067] Determining the time shift index of each of the low frequency component and the high frequency component in the speech signal;

[0068] The wavelet transform coefficients of the speech signal are calculated according to the time shift index of the low-frequency component and the high-frequency component in the speech signal:

[0069]

[0070] Wherein, Q represents the wavelet transform coefficient of the speech signal, F represents the coherent filter gain coefficient of the speech signal, β1 represents the proportion of high-frequency components in the speech signal, S1 represents the time shift index of the high-frequency components in the speech signal, β2 represents the proportion of low-frequency components in the speech signal, S2 represents the time shift index of the low-frequency components in the speech signal, μ represents the signal quality of the speech signal, and θ represents the preset signal gain factor;

[0071] Confirm whether the wavelet transform coefficient of the speech signal is greater than or equal to the preset threshold. If so, confirm that the speech signal is qualified and meets the conditions for extracting acoustic features. If not, confirm that the speech signal is unqualified and does not meet the conditions for extracting acoustic features and issue a reminder to re-collect the speech signal.

[0072] Compared with the prior art, the present invention has the following beneficial effects:

[0073] By accurately identifying the user's voice control commands, the accuracy of voice recognition is improved, the misrecognition rate is reduced, and the user experience is improved; the accuracy of voice recognition is monitored in real time, and adjustments are made when the accuracy is lower than the preset value or when the user actively triggers it, ensuring that the voice recognition system always maintains a high accuracy rate during long-term use, and matching the corresponding control commands based on accurate keyword extraction results, so as to quickly control the device to respond, improve the accuracy and response speed of voice recognition, reduce the user's learning cost and operation difficulty when using the voice control function, and further improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 This is a step diagram of the accurate recognition method for voice control of the present invention;

[0075] Figure 2 This is a flow chart of the accurate recognition method for voice control of the present invention. DETAILED DESCRIPTION

[0076] 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 only 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.

[0077] In order to solve the technical problem that although the existing technology can effectively avoid the interference of environmental background sounds on voice recognition, the performance of image sensing and recognition modules may be affected in extremely noisy or poorly lit environments, thereby affecting the accuracy of voice control, please refer to Figure 1-2 , this embodiment provides the following technical solutions:

[0078] A precise recognition method for voice control, comprising the following steps:

[0079] S1: Initialization settings: Establish a voice control network model according to the characteristics and requirements of voice control of each device, such as a recurrent neural network or a long short-term memory network, train the voice control network model with the collected user voice information, so that the model can learn the mapping relationship from voice signals to control instructions, and set the voice control instruction set according to the actual application scenario, wherein each instruction in the voice control instruction set matches the corresponding control operation command;

[0080] S2: Accurate speech recognition: collect the user's speech signal in real time and pre-process the speech signal, including noise reduction and accent removal, to improve the signal quality, extract acoustic features from the pre-processed speech signal, and identify the user's voice control instructions from the extracted acoustic features based on the speech control network model;

[0081] S3: Accuracy evaluation: Evaluate the accuracy of the voice control command based on the recognition result. When the accuracy is lower than a predetermined value or the user actively triggers it, enter the accuracy adjustment mode until the accuracy evaluation result reaches a preset accuracy threshold.

[0082] S4: Voice control feedback: Based on the accuracy evaluation results that meet the standards, the user's voice control data is extracted for keywords, and the corresponding control instructions are matched based on the keyword extraction results, the control device responds, and feedback is obtained.

[0083] In this embodiment, through initialization settings, a corresponding voice control network model is established and trained according to the characteristics and requirements of voice control of each device to achieve highly personalized voice control. By preprocessing and extracting features of user voice signals, combined with the trained voice control network model, the user's voice control instructions are accurately identified, the accuracy of voice recognition is improved, and the misrecognition rate is reduced, thereby improving the user experience. The accuracy of voice recognition is monitored in real time, and adjustments are made when the accuracy is lower than a predetermined value or when the user actively triggers it, to ensure that the voice recognition system always maintains a high accuracy rate during long-term use, and the corresponding control instructions are matched based on accurate keyword extraction results, so as to quickly control the device to respond. At the same time, by obtaining user feedback, the keyword extraction and matching mechanism is further optimized to achieve more efficient and accurate voice control. By improving the accuracy and response speed of voice recognition, the learning cost and operation difficulty of users when using the voice control function are reduced. At the same time, by timely obtaining and processing user feedback, the user experience is further improved.

[0084] In this embodiment, the real-time collection of the user's voice signal in S2 also includes:

[0085] Based on the real-time capture of environmental sound signals by sound collection equipment, the collected environmental sound signals are converted into frequency domain signals by using the fast Fourier transform algorithm, the energy of the converted frequency domain signals is calculated, and the energy spectrum of the frequency domain signals is obtained by integrating the energy in different frequency bands;

[0086] When the system is initialized and the user does not send a voice control signal, a background noise environment sound signal is collected, the background noise environment sound signal is converted into a background noise frequency domain signal, and an energy spectrum of the background noise is calculated;

[0087] Compare the energy spectrum of the frequency domain signal with the energy spectrum of the background noise to determine whether there is a user voice control signal input. When the energy spectrum of the frequency domain signal is significantly higher than the energy spectrum of the background noise, there is a user voice control signal input;

[0088] If there is a user voice control signal input, execute the following steps, otherwise, continue to monitor the ambient sound signal.

[0089] In this embodiment, the speech signal is preprocessed in S2, specifically:

[0090] Anti-aliasing filtering: Assume the cutoff frequency of the low-pass filter is f c , f c With the frequency f s The relationship is:

[0091] F c =1 / 2.5*f s ;

[0092] Pre-emphasis: The speech signal is passed through the pre-emphasis filter to obtain a pre-emphasis filtered signal. The transfer function formula of the pre-emphasis filter is as follows:

[0093] H(z)=1-az -1

[0094] The relationship is expressed by a first-order difference equation as follows:

[0095]

[0096] In the formula, a represents the pre-emphasis coefficient, which is 0.95. is the speech signal before pre-emphasis, and T(n) is the signal obtained after passing through the pre-emphasis filter;

[0097] Windowing and framing: The collected speech signal is divided into short speech segments for analysis. The segment length is 10ms to 30ms. In order to suppress the Gibbs effect caused by framing, the speech signal is divided into several frames based on the sliding of the Hanning window on the speech signal.

[0098] Endpoint detection: Calculate the short-time zero-crossing rate and short-time average energy of each frame signal. Assume that the first m frames of the speech signal are silent segments, and calculate the average energy and average zero-crossing rate of the noise.

[0099] Thresholds and thresholds are set for the short-time average energy and the short-time zero-crossing rate respectively, the starting point and the ending point of the speech signal are determined based on the thresholds, and the speech signal is corrected according to the short-time zero-crossing rate.

[0100] In this embodiment, the extraction of acoustic features from the preprocessed speech signal in S2 specifically includes:

[0101] The speech signal is segmented to generate speech segments and non-speech segments. The segmented speech signal is transformed by FFT to obtain the spectrum based on the characteristics of the speech signal and analysis requirements. At the same time, the time resolution is increased based on the overlapping window technology to capture the dynamic change data of the speech signal.

[0102] The energy spectrum is obtained by squaring the obtained spectrum. According to the specific application scenario and the characteristics of the speech signal, the number and bandwidth of the Mel filter are adjusted to better simulate the auditory characteristics of the human ear. The parameters of the filter are adjusted according to the dynamic change data of the speech signal, and the corresponding logarithmic power spectrum is obtained based on the Mel filter group.

[0103] The obtained logarithmic power spectrum is subjected to DCT inverse discrete cosine transform to obtain MFCC feature extraction coefficients. The MFCC feature extraction coefficients are subjected to first-order and second-order difference operations to obtain dynamic MFCC feature parameters, which can reflect the temporal change information of the speech signal and help improve the recognition accuracy and stability. The extracted features are then processed to obtain an acoustic feature set.

[0104] In this embodiment, by preprocessing the speech signal, the processing can improve the spectral characteristics of the speech signal, improve the signal quality, provide a more favorable basis for subsequent feature extraction and recognition, divide the speech signal into appropriate segments, and determine the starting and ending points of the speech, which helps to reduce the interference of non-speech parts on the recognition results and improve the accuracy of recognition. Based on the application of segmented processing, FFT transformation and Mel filter group, it is possible to more accurately capture the dynamic change data of the speech signal and simulate the auditory characteristics of the human ear, thereby extracting more representative acoustic features.

[0105] In this embodiment, the accuracy evaluation in S3 specifically includes:

[0106] The recognition results of each voice control command are evaluated in real time. The evaluation indicators include: recognition accuracy, false recognition rate and response time;

[0107] Compare the recognized voice control instructions with the user's actual intention to determine the accuracy value of the recognition result, where the user's actual intention is obtained based on user feedback and system logs, so that the evaluation results are closer to the user's real needs and usage scenarios;

[0108] The accuracy value is compared with a preset accuracy threshold. When the accuracy value is higher than the preset threshold, the accuracy meets the standard and the evaluation ends. At the same time, the acquired user's voice control command is subjected to a keyword extraction step;

[0109] When the accuracy value is lower than the preset threshold and the user actively adjusts it, the system enters the accuracy adjustment mode and prompts the user to perform the follow-up reading operation;

[0110] The voice control network model is trained based on the collected new voice data, the parameters and weights of the voice control network model are updated, and the accuracy of the voice control network model is verified based on the verification data set; the above steps are repeated until the accuracy verification result reaches a preset threshold;

[0111] In this embodiment, the verification data set includes the voice data of the user reading along and the historical data collected previously, and also includes:

[0112] Input the verification data set into a pre-trained verification data recognition model for recognition, and calculate the recognition error rate of the verification data in the accuracy verification by the verification data recognition model;

[0113] The recognition error rate is compared with a preset error threshold, and when it is determined that the recognition error rate is less than the preset error threshold, the verification data output by the verification data recognition model is used as valid data.

[0114] In this embodiment, key indicators such as recognition accuracy, misrecognition rate and response time of voice control commands are instantly obtained through a real-time evaluation mechanism, and the user's voice control commands are dynamically monitored to ensure recognition accuracy. The recognition error rate of the verification data is calculated by the verification data recognition model, so that effective data can be screened out for model training, thereby further improving the performance of the model.

[0115] In this embodiment, keyword extraction is performed for the voice control feedback in S4, including:

[0116] Analyzing the user's voice control data, and dividing the voice control data into a multi-layer topic tree, each layer including a plurality of clusters;

[0117] Cluster the sub-data information corresponding to each layer to obtain several cluster sets, and assign each cluster set to the corresponding cluster;

[0118] Perform word segmentation operation on the type sentences included in the clustering set in each cluster to obtain several extracted words in the type sentences;

[0119] Determine the word feature of each extracted word and the sentence feature of each extracted word in the type of sentence;

[0120] Determining a first similarity between the extracted words based on the constructed synonym dictionary and the word features of each extracted word;

[0121] Determining a second similarity between the extracted words according to the first similarity and a sentence feature of each extracted word in the type of sentence;

[0122] De-duplication processing is performed on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set;

[0123] Performing maximum length splicing on the extracted words with consecutive positions in the target extracted word set by using the minimum text unit to obtain spliced ​​words;

[0124] Cleaning the concatenated words according to part-of-speech statistical features to obtain a keyword set, and converting the keywords in the keyword set into word vectors;

[0125] Calculate the distance between each word vector in any cluster and the standard word vector corresponding to the cluster, and select the keyword corresponding to the word vector with the smallest distance as the target keyword in any cluster;

[0126] According to the target keyword, the corresponding control instruction is matched, the control device responds, and user feedback is provided to further optimize the keyword extraction and matching mechanism.

[0127] In this embodiment, multi-level segmentation and clustering analysis is performed to help capture semantic information at different levels, thereby improving the accuracy of keyword extraction. At the same time, similarity calculations are performed using a synonym dictionary and word features to eliminate the redundancy of synonyms or near-synonyms, ensuring that the extracted keywords are more refined and accurate. The extracted keywords are converted into word vectors, and the distance between them and the standard word vectors is calculated. This can screen out keywords that best match the target control instructions, adapt to the voice habits and expressions of different users, help improve the matching success rate of control instructions, and enable the device to more accurately understand the user's intentions and respond accordingly, optimize control instruction matching, and enhance user experience.

[0128] In one embodiment, the time resolution is increased based on the overlapping window technology to capture the dynamic change data of the speech signal, including:

[0129] The voice signal is framed to obtain multiple frames of first voice data, and each frame of the first voice data is framed twice based on an overlapping window technology to increase the time resolution, so as to obtain multiple frames of second voice data;

[0130] Extracting phonemes of each frame of the second speech data and generating a phoneme vector sequence, and obtaining cepstrum features of the second speech data;

[0131] The phoneme vector sequence and cepstrum features are used as inputs of the deep neural network to obtain output results;

[0132] Determine the emotion change feature and the corresponding change node frame in the second voice data according to the output result;

[0133] Dividing the second voice data into multiple emotion voice data according to the change node frame, and obtaining divided frame voice data of each emotion voice data;

[0134] Obtaining a fixed signal frequency under each emotion, treating the target frame voice data that does not contain the fixed signal frequency in the divided frame voice data of each emotion voice data as invalid frame data and deleting it, and obtaining the processed divided frame voice data of each emotion voice data;

[0135] Convert each frame of the processed divided frame speech data of each layer of emotional speech data into a feature vector;

[0136] The feature vector is input into a preset speech recognition model and converted into a human voice feature symbol;

[0137] Compare the human voice feature symbols with the preset feature symbols extracted from the text. If the similarity is greater than or equal to the threshold, the match is successful. If the similarity is lower than the threshold, the match fails.

[0138] The successfully matched target feature vector is obtained, and the dynamic change data of the speech signal is determined according to the target feature vector.

[0139] The beneficial effect of the above technical solution is: by dividing the speech signal into multiple frame data according to the speech emotion and then determining the dynamic change data of the speech signal, the speech signal within the range frame can be dynamically identified, thereby ensuring the accuracy and integrity of the acquired data and improving the data quality.

[0140] In one embodiment, after collecting the user's voice signal in real time and before preprocessing the voice signal, the method further includes:

[0141] Processing the speech signal by a preset frequency to obtain a low-frequency component and a high-frequency component;

[0142] Determining the time shift index of each of the low frequency component and the high frequency component in the speech signal;

[0143] The wavelet transform coefficients of the speech signal are calculated according to the time shift index of the low-frequency component and the high-frequency component in the speech signal:

[0144]

[0145] Wherein, Q represents the wavelet transform coefficient of the speech signal, F represents the coherent filter gain coefficient of the speech signal, β1 represents the proportion of high-frequency components in the speech signal, S1 represents the time shift index of the high-frequency components in the speech signal, β2 represents the proportion of low-frequency components in the speech signal, S2 represents the time shift index of the low-frequency components in the speech signal, μ represents the signal quality of the speech signal, and θ represents the preset signal gain factor;

[0146] Confirm whether the wavelet transform coefficient of the speech signal is greater than or equal to the preset threshold. If so, confirm that the speech signal is qualified and meets the conditions for extracting acoustic features. If not, confirm that the speech signal is unqualified and does not meet the conditions for extracting acoustic features and issue a reminder to re-collect the speech signal.

[0147] The beneficial effects of the above technical solution are: by determining whether the voice signal is qualified, it can maximize the guarantee that the voice signal is a voice command issued by the user rather than a voice issued due to an operational error or an unintentional click, thereby ensuring the screening efficiency, and at the same time removing most of the invalid voice data for subsequent acoustic features, thereby improving practicality and work efficiency.

[0148] In order to better demonstrate the accurate recognition method for voice control, the present invention provides an accurate recognition system for voice control, including:

[0149] The voice acquisition module is used to collect the user's voice commands in real time and pre-process the collected voice signals;

[0150] The accurate recognition module is used to extract acoustic features from the preprocessed voice signal, identify the voice control instructions in the extracted acoustic features, and determine the user's voice control instructions;

[0151] The accuracy evaluation module is used to optimize and update the recognition model based on the accuracy adjustment mechanism according to user feedback and the accuracy adjustment mechanism of the system;

[0152] The control module is used to perform corresponding control operations according to the voice control instructions with the correct accuracy output by the recognition module, receive device feedback and display it to the user, such as controlling the switch of home appliances and adjusting the volume;

[0153] In this embodiment, the precise recognition module can accurately recognize the user's voice control commands by extracting acoustic features from the preprocessed voice signal. The accuracy evaluation module continuously optimizes and updates the recognition model based on user feedback and the system's accuracy adjustment mechanism. It has the ability to respond quickly and accurately, can respond to the user's voice commands in real time, and perform corresponding operations based on the specific content of the commands, thereby improving the system's accuracy and user experience.

[0154] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A precise recognition method for voice control, characterized in that: The following steps are involved: S1: Initialization settings: Establish a voice control network model according to the characteristics and requirements of voice control of each device, train the voice control network model with the collected user voice information, and set the voice control instruction set according to the actual application scenario, where each instruction in the voice control instruction set matches the corresponding control operation command; S2: Accurate speech recognition: collect the user's speech signal in real time, pre-process the speech signal, extract acoustic features from the pre-processed speech signal, and identify the user's speech control instructions from the extracted acoustic features based on the speech control network model; S3: Accuracy evaluation: Evaluate the accuracy of the voice control command based on the recognition result. When the accuracy is lower than a predetermined value or the user actively triggers it, enter the accuracy adjustment mode until the accuracy evaluation result reaches a preset accuracy threshold. S4: Voice control feedback: Based on the accuracy evaluation results that meet the standards, the user's voice control data is extracted for keywords, and the corresponding control instructions are matched based on the keyword extraction results, the control device responds, and feedback is obtained.

2. The accurate recognition method for voice control according to claim 1, characterized in that: For real-time collection of user voice signals in S2, it also includes: Based on the real-time capture of environmental sound signals by sound collection equipment, the collected environmental sound signals are converted into frequency domain signals by using the fast Fourier transform algorithm, the energy of the converted frequency domain signals is calculated, and the energy spectrum of the frequency domain signals is obtained by integrating the energy in different frequency bands; When the system is initialized and the user does not send a voice control signal, a background noise environment sound signal is collected, the background noise environment sound signal is converted into a background noise frequency domain signal, and an energy spectrum of the background noise is calculated; Compare the energy spectrum of the frequency domain signal with the energy spectrum of the background noise to determine whether there is a user voice control signal input. When the energy spectrum of the frequency domain signal is significantly higher than the energy spectrum of the background noise, there is a user voice control signal input; If there is a user voice control signal input, execute the following steps, otherwise, continue to monitor the ambient sound signal.

3. The accurate recognition method for voice control according to claim 2, characterized in that: The speech signal is preprocessed in S2, specifically: Anti-aliasing filtering: Assume the cutoff frequency of the low-pass filter is f c , f c With the frequency f s The relationship is: F c =1 / 2.5*f s ; Pre-emphasis: The speech signal is passed through a pre-emphasis filter to obtain a pre-emphasis filtered signal; Windowing and framing: The collected speech signal is divided into short speech segments for analysis. The segment length is 10ms to 30ms. The speech signal is divided into several frames based on the sliding of the Hanning window on the speech signal. Endpoint detection: Calculate the short-time zero-crossing rate and short-time average energy of each frame signal. Assume that the first m frames of the speech signal are silent segments, and calculate the average energy and average zero-crossing rate of the noise. Thresholds and thresholds are set for the short-time average energy and the short-time zero-crossing rate respectively, the starting point and the ending point of the speech signal are determined based on the thresholds, and the speech signal is corrected according to the short-time zero-crossing rate.

4. The accurate recognition method for voice control according to claim 3, characterized in that: The acoustic features extracted from the preprocessed speech signal in S2 include: The speech signal is segmented to generate speech segments and non-speech segments. The segmented speech signal is transformed by FFT to obtain the spectrum based on the characteristics of the speech signal and analysis requirements. At the same time, the time resolution is increased based on the overlapping window technology to capture the dynamic change data of the speech signal. The obtained spectrum is squared to obtain the energy spectrum. According to the specific application scenario and the characteristics of the speech signal, the number and bandwidth of the Mel filter are adjusted. The parameters of the filter are adjusted according to the dynamic change data of the speech signal. The corresponding logarithmic power spectrum is obtained based on the Mel filter group. The obtained logarithmic power spectrum is subjected to DCT inverse discrete cosine transform to obtain MFCC feature extraction coefficients, the MFCC feature extraction coefficients are subjected to first-order and second-order difference operations to obtain dynamic MFCC feature parameters, and the extracted features are processed to obtain an acoustic feature set.

5. The accurate recognition method for voice control according to claim 4, characterized in that: The accuracy evaluation in S3 includes: The recognition results of each voice control command are evaluated in real time. The evaluation indicators include: recognition accuracy, false recognition rate and response time; Comparing the recognized voice control command with the user's actual intention to determine the accuracy value of the recognition result, wherein the user's actual intention is obtained based on user feedback and system logs; The accuracy value is compared with a preset accuracy threshold. When the accuracy value is higher than the preset threshold, the accuracy meets the standard and the evaluation ends. At the same time, the acquired user's voice control command is subjected to a keyword extraction step; When the accuracy value is lower than the preset threshold and the user actively adjusts it, it enters the accuracy adjustment mode and prompts the user to perform the follow-up reading operation; The voice control network model is trained based on the collected new voice data, the parameters and weights of the voice control network model are updated, and the accuracy of the voice control network model is verified based on the verification data set; Repeat the above steps until the accuracy verification result reaches the preset threshold.

6. The accurate recognition method for voice control according to claim 5, characterized in that: The verification data set includes the user's voice data and previously collected historical data, and also includes: Input the verification data set into a pre-trained verification data recognition model for recognition, and calculate the recognition error rate of the verification data in the accuracy verification of the verification data recognition model; The recognition error rate is compared with a preset error threshold, and when it is determined that the recognition error rate is less than the preset error threshold, the verification data output by the verification data recognition model is used as valid data.

7. The accurate recognition method for voice control according to claim 6, characterized in that: Keyword extraction for voice control feedback in S4, including: Analyzing the user's voice control data, and dividing the voice control data into a multi-layer topic tree, each layer including a plurality of clusters; Cluster the sub-data information corresponding to each layer to obtain several cluster sets, and assign each cluster set to the corresponding cluster; Perform word segmentation operation on the type sentences included in the clustering set in each cluster to obtain several extracted words in the type sentences; Determine the word feature of each extracted word and the sentence feature of each extracted word in the type of sentence; Determining a first similarity between the extracted words based on the constructed synonym dictionary and the word features of each extracted word; Determining a second similarity between the extracted words according to the first similarity and a sentence feature of each extracted word in the type of sentence; De-duplication processing is performed on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set; Performing maximum length splicing on the extracted words with consecutive positions in the target extracted word set by using the minimum text unit to obtain spliced ​​words; Cleaning the concatenated words according to part-of-speech statistical features to obtain a keyword set, and converting the keywords in the keyword set into word vectors; Calculate the distance between each word vector in any cluster and the standard word vector corresponding to the cluster, and select the keyword corresponding to the word vector with the smallest distance as the target keyword in any cluster; The corresponding control instructions are matched according to the target keywords, the control device responds, and user feedback is provided.

8. The accurate recognition method for voice control according to claim 4, characterized in that: Based on overlapping window technology, the time resolution is increased to capture the dynamic changes of speech signals, including: The voice signal is processed by framing to obtain multiple frames of first voice data, and each frame of the first voice data is processed by secondary framing based on the overlapping window technology to increase the time resolution to obtain multiple frames of second voice data; Extracting phonemes of each frame of the second speech data and generating a phoneme vector sequence, and obtaining cepstrum features of the second speech data; The phoneme vector sequence and cepstrum features are used as inputs of the deep neural network to obtain output results; Determine the emotion change feature and the corresponding change node frame in the second voice data according to the output result; Dividing the second voice data into multiple emotion voice data according to the change node frame, and obtaining divided frame voice data of each emotion voice data; Obtaining a fixed signal frequency under each emotion, treating the target frame voice data that does not contain the fixed signal frequency in the divided frame voice data of each emotion voice data as invalid frame data and deleting it, and obtaining the processed divided frame voice data of each emotion voice data; Convert each frame of the processed divided frame speech data of each layer of emotional speech data into a feature vector; The feature vector is input into a preset speech recognition model and converted into a human voice feature symbol; Compare the human voice feature symbols with the preset feature symbols extracted from the text. If the similarity is greater than or equal to the threshold, the match is successful. If the similarity is lower than the threshold, the match fails. The successfully matched target feature vector is obtained, and the dynamic change data of the speech signal is determined according to the target feature vector.

9. The accurate recognition method for voice control according to claim 1, characterized in that: After collecting the user's voice signal in real time and before preprocessing the voice signal, it also includes: Processing the speech signal by a preset frequency to obtain a low-frequency component and a high-frequency component; Determining the time shift index of each of the low frequency component and the high frequency component in the speech signal; The wavelet transform coefficients of the speech signal are calculated according to the time shift index of the low-frequency component and the high-frequency component in the speech signal: Wherein, Q represents the wavelet transform coefficient of the speech signal, F represents the coherent filter gain coefficient of the speech signal, β1 represents the proportion of high-frequency components in the speech signal, S1 represents the time shift index of the high-frequency components in the speech signal, β2 represents the proportion of low-frequency components in the speech signal, S2 represents the time shift index of the low-frequency components in the speech signal, μ represents the signal quality of the speech signal, and θ represents the preset signal gain factor; Confirm whether the wavelet transform coefficient of the speech signal is greater than or equal to the preset threshold. If so, confirm that the speech signal is qualified and meets the conditions for extracting acoustic features. If not, confirm that the speech signal is unqualified and does not meet the conditions for extracting acoustic features and issue a reminder to re-collect the speech signal.

10. A precise recognition system for voice control, applied in the precise recognition method for voice control according to claim 7, characterized in that: include: The voice acquisition module is used to collect the user's voice commands in real time and pre-process the collected voice signals; The accurate recognition module is used to extract acoustic features from the preprocessed voice signal, identify the voice control instructions in the extracted acoustic features, and determine the user's voice control instructions; The accuracy evaluation module is used to optimize and update the recognition model based on the accuracy adjustment mechanism according to user feedback and the accuracy adjustment mechanism of the system; The control module is used to execute corresponding control operations according to the voice control instructions with the accuracy reaching the standard output by the recognition module, receive device feedback and display it to the user.

Citation Information

Cited By

  • Intelligent voice recognition control method and system for sound equipment, and storage medium

    CN120015033A