Information processing method and apparatus, system, and storage medium
By extracting the signal power and interference power ratio of the audio frame in the vehicle-mounted voice interaction device, and eliminating the frames whose ratio is less than the preset value, the voice information is purified again, solving the noise interference problem in speech recognition in the vehicle scenario, and improving the recognition Accuracy and interaction effects.
Patent Information
- Application Number
- PCT/CN2024/084785
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
In the vehicle scenario, since the microphones in different seats will collect the voices in their respective seats and the noise from other seats, noise interference will inevitably occur during the voice interaction process, affecting the speech recognition results. The noise reduction processing effect of the existing technology is not ideal. , resulting in a higher probability of misrecognition of speech information.
By extracting the audio frames of the received voice information, the ratio of the signal power to the interference power is determined, and the audio frames whose ratio is less than the preset value are eliminated to purify the voice information again, improve the purification effect, and reduce the probability of misrecognition. The specific method includes converting the ratio of signal power to interference power into a vector, eliminating audio frames with a ratio smaller than a preset value, and using the adjusted voice activity detection model index value to obtain purified audio frames.
It effectively improves the purification effect of voice information, reduces the probability of misrecognition of voice information, and improves the recognition accuracy of voice interaction equipment. Especially in multi-user conversation environments, it reduces the impact of other users' voices on voice interaction.
Smart Images

Figure CN2024084785_03102024_PF_FP_ABST
Abstract
Description
Information processing method, device, system and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on and claims the priority of Chinese patent application with application number 202310341103.3 and application date March 31, 2023. The entire content of the Chinese patent application is hereby incorporated into this disclosure by reference. Technical Field
[0003] The present disclosure relates to the field of speech recognition technology, and in particular to a speech information processing method, device, system and storage medium. Background Art
[0004] In a car, since microphones are installed at different seats, they not only pick up the voices from their own seats, but also from other seats. Therefore, the voices received during in-car voice interaction inevitably contain noise and interference, which can affect speech recognition results.
[0005] In existing technologies, the front-end performs noise reduction processing on the voice information before it enters the voice activity detection model. This means that the voice received by the in-vehicle voice interaction device has already been purified. Although the voice received by the in-vehicle voice interaction device has been purified by the front-end, the purification effect after front-end processing is not ideal. When the voice interaction device recognizes the voice information, there is still a high possibility of misrecognition.
[0006] Summary of the Invention
[0007] The present disclosure provides a voice information processing method, device, system and storage medium for improving the voice purification effect and reducing the probability of misrecognition of voice information.
[0008] In a first aspect, the present disclosure provides a method for processing speech information, comprising:
[0009] Extracting the audio frame corresponding to the received voice information;
[0010] determining a ratio of signal power to interference power for each audio frame;
[0011] Eliminating audio frames whose ratio of signal power to interference power is less than a preset ratio from among the audio frames, wherein the voice information constituted by the remaining audio frames after eliminating the audio frames whose ratio of signal power to interference power is less than the preset ratio is the purified voice information;
[0012] Recognize the purified voice information;
[0013] An instruction corresponding to the voice information is executed according to a recognition result of the voice information.
[0014] The voice information processing method provided by the present disclosure can extract the audio frames corresponding to the received voice information, determine the ratio of the signal power to the interference power of the audio frames, and then eliminate the audio frames whose ratio of the signal power to the interference power is less than the preset ratio in each audio frame. The voice information constituted by the remaining audio frames after eliminating the audio frames whose ratio of the power to the interference power is less than the preset ratio is the purified voice information, so that the voice information purified by the front end can be purified again, thereby improving the purification effect of the voice information and reducing the probability of misrecognition of the voice information.
[0015] In one embodiment, determining the ratio of the signal power to the interference power of each audio frame includes:
[0016] In response to detecting multiple audio signals present in each audio frame, determining an audio signal with the largest power among the multiple audio signals as a valid signal and the remaining audio signals as interference signals;
[0017] Determine that the power of the effective signal is the signal power of each audio frame, and the power of the interference signal is the interference power of each audio frame;
[0018] A ratio of signal power to interference power is determined for each audio frame.
[0019] In one embodiment, removing audio frames whose signal power to interference power ratio of each audio frame is less than a preset ratio includes:
[0020] Each audio frame is converted into a vector according to the ratio of the signal power to the interference power of each audio frame, wherein the audio frame with a signal power to interference power ratio less than a preset ratio is converted into a 0 vector, and the audio frame with a signal power to interference power ratio greater than the preset ratio is converted into a 1 vector.
[0021] Remove the 0 vector from the vector converted from each audio frame.
[0022] In one embodiment, removing audio frames whose signal power to interference power ratio of each audio frame is less than a preset ratio includes:
[0023] Determining the frame length of each audio frame;
[0024] Analyze the relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model, and adjust the original index value of the voice activity detection model to a new index value corresponding to the frame length in combination with the alignment rule, and obtain the purified audio frame output by the voice acquisition detection model with the index value being the new index value.
[0025] In one embodiment, analyzing the relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model, adjusting the original index value of the voice activity detection model to a new index value corresponding to the frame length in combination with an alignment rule, and obtaining a purified audio frame output by the voice activity detection model with an index value of the new index value includes:
[0026] Determining whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;
[0027] In response to a frame length of each audio frame being different from a speech frame length specified by a voice activity detection model, determining a first ratio between the frame length of the audio frame and the speech frame length specified by the voice activity detection model;
[0028] determining a second ratio between an original index value of a voice activity detection model and the first ratio;
[0029] Determine a plurality of integers obtained by rounding down the second ratio as new index values;
[0030] replacing an original index value of the voice activity detection model according to the new index value, wherein after the index value is replaced, the voice activity detection model reads an audio frame according to the new index value, and the new index value corresponds to a position of the audio frame;
[0031] Inputting each audio frame and the signal power to interference power ratio of each audio frame into a voice activity detection model after replacing the index value, wherein the voice activity detection model is configured to purify the audio frames by removing audio frames having a signal power to interference power ratio less than a preset ratio;
[0032] Obtain a purified audio frame output by the voice activity detection model after the index value is replaced.
[0033] In one embodiment, executing an instruction corresponding to the voice information according to the recognition result of the voice information includes:
[0034] In response to the recognition result being used to characterize the voice information as a wake-up word, the current state is changed to a wake-up state, and the purified voice information is saved.
[0035] In one embodiment, executing an instruction corresponding to the voice information according to the recognition result of the voice information includes:
[0036] In response to the recognition result indicating that the voice information is a voice command and the current state is a wake-up state, determining whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person;
[0037] In response to the voice command and the wake-up word stored when the state is changed to the wake-up state being issued by the same person, executing the voice command;
[0038] In response to the voice command and the wake-up word stored when the state is changed to the wake-up state not being issued by the same person, the voice command is refused to be executed.
[0039] In one embodiment, determining whether the voice command and the wake-up word stored when the state is changed to the wake-up state are issued by the same person includes:
[0040] Extracting first voiceprint information of the voice command and second voiceprint information of the wake-up word received when changing to the wake-up state;
[0041] comparing the first voiceprint information and the second voiceprint information to determine the similarity between the first voiceprint information and the second voiceprint information;
[0042] In response to the similarity between the first voiceprint information and the second voiceprint information being greater than a preset similarity, it is determined that the voice instruction and the wake-up word stored when the wake-up state is changed are issued by the same person.
[0043] In a second aspect, the present disclosure further provides a voice information processing device, comprising:
[0044] An extraction module, used to extract the audio frame corresponding to the received voice information;
[0045] a determination module, configured to determine a ratio of signal power to interference power of each audio frame;
[0046] a removal module, configured to remove audio frames whose signal power to interference power ratio is less than a preset ratio from among the audio frames, wherein the voice information constituted by the remaining audio frames after removing the audio frames whose power to interference power ratio is less than the preset ratio is the purified voice information;
[0047] Recognition module, used to recognize the purified voice information;
[0048] The execution module is used to execute the instruction corresponding to the voice information according to the recognition result of the voice information.
[0049] In one embodiment, the determining module includes:
[0050] a first determining submodule, configured to, in response to detecting multiple audio signals present in each audio frame, determine an audio signal with the largest power among the multiple audio signals as a valid signal and the remaining audio signals as interference signals;
[0051] a second determining submodule, configured to determine that the power of the valid signal is the signal power of each audio frame, and the power of the interference signal is the interference power of each audio frame;
[0052] The third determining submodule is configured to determine a ratio of the signal power to the interference power of each audio frame.
[0053] In one embodiment, the rejection module includes:
[0054] A conversion submodule is configured to convert each audio frame into a vector according to the ratio of the signal power to the interference power of each audio frame, wherein the audio frame whose signal power to interference power ratio is less than a preset ratio is converted into a 0 vector, and the audio frame whose signal power to interference power ratio is greater than the preset ratio is converted into a 1 vector.
[0055] The elimination submodule is used to eliminate the 0 vector from the vector converted from each audio frame.
[0056] In one embodiment, the rejection module includes:
[0057] A frame length determination submodule, configured to determine the frame length of each audio frame;
[0058] The analysis submodule is used to analyze the relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model, adjust the original index value of the voice activity detection model to a new index value corresponding to the frame length in combination with the alignment rule, and obtain the purified audio frame output by the voice acquisition detection model with the index value being the new index value.
[0059] In one embodiment, the rejection module includes:
[0060] A first judgment submodule is used to judge whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;
[0061] a fourth determining submodule, configured to, in response to a frame length of each audio frame being different from a speech frame length specified by the voice activity detection model, determine a first ratio between the frame length of the audio frame and the speech frame length specified by the voice activity detection model;
[0062] a fifth determining submodule, configured to determine a second ratio between an original index value of a voice activity detection model and the first ratio;
[0063] a sixth determining submodule, configured to determine a plurality of integers obtained by rounding down the second ratio as new index values;
[0064] a replacement submodule, configured to replace an original index value of the voice activity detection model according to the new index value, wherein after the index value is replaced, the voice activity detection model reads an audio frame according to the new index value, and the new index value corresponds to a position of the audio frame;
[0065] an input submodule, configured to input each audio frame and the signal power to interference power ratio of each audio frame into a voice activity detection model after replacing the index value, wherein the voice activity detection model is configured to purify the audio frames by removing audio frames having a signal power to interference power ratio less than a preset ratio;
[0066] The acquisition submodule is used to obtain the purified audio frame output by the voice activity detection model after the index value is replaced.
[0067] In one embodiment, the execution module includes:
[0068] The changing submodule is used to change the current state to the awakening state in response to the recognition result characterizing the voice information as a wake-up word, and save the purified voice information.
[0069] In one embodiment, the execution module includes:
[0070] a judgment submodule for, in response to the recognition result indicating that the voice information is a voice command and the current state is a wake-up state, judging whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person;
[0071] an execution submodule, configured to execute the voice instruction in response to the voice instruction and the wake-up word stored when the state is changed to the wake-up state being issued by the same person;
[0072] The execution submodule is further configured to refuse to execute the voice instruction in response to the voice instruction and the wake-up word stored when the wake-up state is changed to a different state from that issued by the same person.
[0073] In one embodiment, the judgment submodule is used to:
[0074] Extracting first voiceprint information of the voice command and second voiceprint information of the wake-up word received when changing to the wake-up state;
[0075] comparing the first voiceprint information and the second voiceprint information to determine the similarity between the first voiceprint information and the second voiceprint information;
[0076] In response to the similarity between the first voiceprint information and the second voiceprint information being greater than a preset similarity, it is determined that the voice instruction and the wake-up word stored when the wake-up state is changed are issued by the same person.
[0077] In a third aspect, the present disclosure further provides a voice information processing system, comprising:
[0078] at least one processor; and,
[0079] a memory communicatively connected to the at least one processor; wherein,
[0080] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the voice information processing method described in any of the above embodiments.
[0081] In a fourth aspect, the present disclosure further provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the speech information processing system, the speech information processing system can implement the speech information processing method as described in any of the above embodiments.
[0082] In a fifth aspect, the present disclosure further provides a computer program product, including a computer program, wherein the computer program is contained in a computer-readable storage medium, and when the computer program is executed, the speech information processing method as described in any of the above embodiments is implemented.
[0083] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0084] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0086] FIG1 is a flow chart of a method for processing voice information according to an embodiment of the present disclosure;
[0087] FIG2 is a block diagram of a voice information processing device according to an embodiment of the present disclosure;
[0088] FIG3 is a hardware structure diagram of a voice information processing system according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0089] The preferred embodiments of the present disclosure are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present disclosure, and are not used to limit the present disclosure.
[0090] FIG1 is a flow chart of a method for processing voice information according to an embodiment of the present disclosure. As shown in FIG1 , the method can be implemented as follows: S101 to S105:
[0091] In step S101, the audio frame corresponding to the received voice information is extracted;
[0092] In step S102, the ratio of the signal power to the interference power of each audio frame is determined;
[0093] In step S103, audio frames whose signal power to interference power ratio is less than a preset ratio are removed from the audio frames, wherein the voice information formed by the remaining audio frames after removing the audio frames whose signal power to interference power ratio is less than the preset ratio is the purified voice information;
[0094] In step S104, the purified voice information is recognized;
[0095] In step S105 , the command corresponding to the voice information is executed according to the recognition result of the voice information.
[0096] The implementation subject of the present disclosure may be a voice interaction device that can help users solve problems through intelligent interaction such as intelligent dialogue and instant question-and-answer. Specifically, it may be a home voice interaction device, an in-vehicle voice interaction device, a voice interaction device built into a large screen in a public place, a mobile phone with a built-in voice assistant, etc. The voice interaction device can recognize and process received voice information, thereby enabling voice interaction with the user based on the processed voice information. The audio frames corresponding to the received voice information are extracted. Taking an in-vehicle voice interaction device as an example, in an in-vehicle scenario, the voice information may be sound received by an in-vehicle microphone. After the in-vehicle microphone receives the sound, the front end will reduce the sound using existing noise reduction methods before transmitting it to the implementation subject of the present disclosure. That is, the voice information received by the implementation subject of the present disclosure is the voice information after noise reduction by the front end. The front end sends the voice information in the form of audio frames. Therefore, the audio frames corresponding to the voice information can be extracted. Typically, the frame shift of the front end is usually 16ms. Therefore, the frame length of the audio frame sent by the front end is usually 16ms. In other words, a voice information of 1 second in length is approximately 60 audio frames.
[0097] Determining the ratio of the signal power to the interference power of each audio frame includes: if multiple audio signals are detected in the audio frame, determining the audio signal with the highest power among the multiple audio signals as the valid signal and the remaining audio signals as the interference signals; determining the power of the valid signal as the signal power of each audio frame and the power of the interference signal as the interference power of each audio frame; and determining the ratio of the signal power to the interference power of each audio frame. For example, the ratio of the signal power to the interference power of each audio frame can be determined using the following formula:
[0098] Among them, P s is the signal power, P I is the interference power, P s and P IThe estimation can be performed using a classic signal processing algorithm. The specific principle is to determine that the audio signal with the largest power among multiple audio signals is the valid signal; the SIR is the ratio of signal power to interference power.
[0099] The audio frames in which the ratio of signal power to interference power in each audio frame is less than a preset ratio are eliminated to achieve purification of voice information, including: when performing purification, each audio frame can be converted into a vector according to the ratio of signal power to interference power of each audio frame, wherein the audio frame in which the ratio of signal power to interference power is less than the preset ratio is converted into a 0 vector, and the audio frame in which the ratio of signal power to interference power is greater than the preset ratio is converted into a 1 vector, and the 0 vector is eliminated from the vector converted from each audio frame.
[0100] In addition, during the purification process, each audio frame and the ratio of the signal power to the interference power of each audio frame may be input into a voice activity detection model to purify the voice information. The voice activity detection model is configured to remove audio frames whose signal power to interference power ratio is less than a preset ratio. The voice activity detection model may be a VAD (Voice Activity Detection) model. In practice, the voice activity detection model may be implemented by converting audio frames whose signal power to interference power ratio is less than a preset ratio into 0 vectors, converting audio frames whose signal power to interference power ratio is greater than a preset ratio into 1 vectors, and then removing the 0 vectors.
[0101] It should be noted that when the voice activity detection model is the VAD model, since the frame shift of the VAD model is 10ms, assuming that the current frame length of the received voice information is 16ms, an alignment operation is required. The specific alignment operation will be described in detail in subsequent embodiments.
[0102] The purified voice information is recognized; and instructions corresponding to the voice information are executed according to the recognition result of the voice information.
[0103] For example, when the recognition result is used to characterize the voice information as a wake-up word, the current state is changed to the wake-up state, and the purified voice information is saved.
[0104] In a voice interaction scenario, if there are multiple users talking around, when a user wants to perform voice interaction, the voice interaction device is awakened by a wake-up word. After that, the voice interaction device may mistakenly recognize the voices of other users talking as commands, thereby affecting the voice interaction effect. In view of this, in an embodiment of the present disclosure, when the recognition result is used to characterize that the voice information is a voice command and the current state is the wake-up state, it is determined whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person; when the voice command and the wake-up word stored when the state is changed to the wake-up state are issued by the same person, the voice command is executed; when the voice command and the wake-up word stored when the state is changed to the wake-up state are not issued by the same person, the voice command is refused to be executed. In this way, when a voice command is received, it can be determined whether the voice command is issued by the user who issued the wake-up word. If it is issued by the user who issued the wake-up word, the voice command is executed. If it is not issued by the user who issued the wake-up word, it is refused to be executed. That is, after the voice interaction device is awakened, only the voice command issued by the user who issued the wake-up word is executed, reducing the impact of other users' voices on the voice interaction and improving the voice interaction effect.
[0105] When determining whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person, the first voiceprint information of the voice command and the second voiceprint information of the wake-up word received when the state is changed to the wake-up state can be extracted; the first voiceprint information and the second voiceprint information are compared to determine the similarity between the first voiceprint information and the second voiceprint information; when the similarity between the first voiceprint information and the second voiceprint information is greater than the preset similarity, it is determined that the voice command and the wake-up word stored when the state is changed to the wake-up state are issued by the same person.
[0106] In the embodiment of the present disclosure, after receiving the voice information, the ratio of the signal power to the interference power of the audio frame will be determined, and then the audio frames in which the ratio of the signal power to the interference power is less than the preset ratio will be eliminated to achieve the purification of the voice information, so that the voice information after front-end purification can be purified again, thereby improving the purification effect of the voice information and reducing the probability of misrecognition of the voice information.
[0107] In one embodiment, the above step S102 may be implemented as the following steps A1-A3:
[0108] In step A1, when multiple audio signals are detected in each audio frame, the audio signal with the largest power among the multiple audio signals is determined to be a valid signal, and the remaining audio signals are determined to be interference signals;
[0109] In step A2, the power of the effective signal is determined to be the signal power of each audio frame, and the power of the interference signal is determined to be the interference power of each audio frame;
[0110] In step A3, the ratio of the signal power to the interference power of each audio frame is determined.
[0111] In the embodiment of the present disclosure, the ratio of the signal power to the interference power of each audio frame can be determined by the following formula:
[0112] Among them, P s is the signal power, P I is the interference power, P s and P I The estimation can be performed using a classic signal processing algorithm. The specific principle is to determine that the audio signal with the largest power among multiple audio signals is the valid signal; the SIR is the ratio of signal power to interference power.
[0113] In one embodiment, the above step S103 may be implemented as the following steps B1-B2:
[0114] In step B1, each audio frame is converted into a vector according to the ratio of the signal power to the interference power of each audio frame, wherein the audio frame whose signal power to interference power ratio is less than a preset ratio is converted into a 0 vector, and the audio frame whose signal power to interference power ratio is greater than the preset ratio is converted into a 1 vector.
[0115] In step B2, the zero vector is removed from the vector converted from each audio frame.
[0116] In one embodiment, the above step S103 may be implemented as the following steps S1031-S1037:
[0117] In step S1031, it is determined whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;
[0118] In step S1032, when the frame length of each audio frame is different from the voice frame length specified by the voice activity detection model, determining a first ratio between the frame length of the audio frame and the voice frame length specified by the voice activity detection model;
[0119] In step S1033, determining a second ratio between the original index value of the voice activity detection model and the first ratio;
[0120] In step S1034, multiple integers obtained by rounding down the second ratio are determined as new index values;
[0121] In step S1035, an original index value of the voice activity detection model is replaced according to the new index value, wherein after the index value is replaced, the voice activity detection model reads the audio frame according to the new index value, and the new index value corresponds to the position of the audio frame;
[0122] In step S1036, each audio frame and its signal power to interference power ratio are input into a voice activity detection model after the index value is replaced. The voice activity detection model is configured to purify the audio frames by removing audio frames having a signal power to interference power ratio less than a preset ratio.
[0123] In step S1037, the purified audio frame output by the voice activity detection model after the index value is replaced is obtained.
[0124] In an embodiment of the present disclosure, during purification, each audio frame and the ratio of the signal power to the interference power of each audio frame may be input into a voice activity detection model to achieve purification of the voice information. The voice activity detection model is configured to remove audio frames whose signal power to interference power ratio is less than a preset ratio. The voice activity detection model may be a VAD (Voice Activity Detection) model. In practice, the voice activity detection model may also be implemented by converting audio frames whose signal power to interference power ratio is less than a preset ratio into a 0 vector, converting audio frames whose signal power to interference power ratio is greater than a preset ratio into a 1 vector, and then removing the 0 vector.
[0125] It should be noted that the frame lengths of the audio frames corresponding to the voice activity detection model and the voice information received from the front end may differ. Therefore, before the audio frames and the ratio of the audio frame signal power to the interference power are input into the voice activity detection model, alignment is required. Specifically, whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model is determined; when the frame length of each audio frame is different from the voice frame length specified by the voice activity detection model, a first ratio between the frame length of the audio frame and the voice frame length specified by the voice activity detection model is determined; a second ratio between the original index value of the voice activity detection model and the first ratio is determined; multiple integers obtained by rounding down the second ratio are determined as new index values; and the original index value of the voice activity detection model is replaced according to the new index value. After the index value is replaced, the voice activity detection model reads the audio frame according to the new index value, and the new index value corresponds to the position of the audio frame.
[0126] For example, when the voice activity detection model is a VAD model, since the frame shift of the VAD model is 10ms (that is, the voice frame length specified by the voice activity detection model is 10ms, and the voice activity detection model reads audio frames in steps of 10ms), assuming that the current frame length of the received voice information is 16ms, an alignment operation is required. During alignment, corresponding alignment rules can be injected into the VAD model. The alignment rule can be that the index value i in the VAD model is divided by 1.6 and rounded down. The index value is used to guide the VAD model to read the i-th audio frame. Under this alignment rule, when the index value is 1, the index becomes 0 after being divided by 1.6 and rounded down. When the index value is 2, the index becomes 1 after being divided by 1.6 and rounded down. When the index value is 3, the index becomes 1 after being divided by 1.6 and rounded down. When the index value is 4, the index becomes 2 after being divided by 1.6 and rounded down. And so on. It can be seen from this alignment rule that when the original index value is 1, no audio is read, while when the original index values are 2 and 3, the first audio frame will be read, when the original index is 4, the second audio frame will be read, and when the original index is 96-100, the 60th audio frame will be read.
[0127] In other words, when the VAD model is used as the speech activity detection model, assume that the frame length of the speech information extracted by the VAD model is 25ms each time, i.e., 0-25ms, 10-35ms, 20-45ms, etc. Because the VAD model continuously extracts speech information using a sliding window, the frame lengths of the speech information extracted by the VAD model will overlap. In the long run, the VAD model actually specifies that the frame length of speech information it can process is 10ms, that is, the frame shift of the VAD model is 10ms. The VAD model processes speech information with a frame length of 10ms, thereby obtaining a probability vector for each audio frame with a frame length of 10ms, indicating that it is normal speech and a probability vector for invalid speech.
[0128] Assume that the front-end processes the received voice information according to the unit of 16ms frame length, that is, 0-16ms, 16-32ms, 32-48ms, etc. The front-end will obtain the signal-to-interference ratio (SIR) (the ratio of signal power to interference power) corresponding to each audio frame with a frame length of 16ms. This SIR can indicate whether the currently received audio frame with a frame length of 16ms is invalid or valid.
[0129] Since the unit frame length of the voice information that can be processed in the VAD model is different from the unit frame length of the voice information received by the front-end processing, the VAD model can be introduced with an alignment rule to adjust the index value i of the VAD model. Specifically, this can be achieved by calculating the ratio between the frame length of each audio frame of the voice information received by the front-end processing and the frame length of each audio frame of the voice information processed by the VAD model, that is, the first ratio: 16ms / 10ms=1.6. To determine the i-th audio frame in the VAD model should be aligned with the i-th audio frame processed by the front-end The audio frames are aligned so that the VAD model can align the probability vector of its i-th audio frame with the probability vector of the i-th audio frame processed by the front end. The signal-to-interference ratio of the audio frame is combined.
[0130] When the original index value in the VAD model is 1, the result of 1 divided by 1.6 and rounded down is 0. This means that the first audio frame corresponding to the original index value of 1 in the VAD model should be aligned with the zeroth audio frame processed by the front-end. The VAD model can combine the probability vector of its first audio frame with the signal-to-interference ratio of the zeroth audio frame processed by the front-end.
[0131] When the original index value in the VAD model is 2 or 3, the result of dividing 2 or 3 by 1.6 and rounding down is 1. Therefore, when the original index value of the VAD model is 2 or 3, the corresponding second or third audio frame should be aligned with the first audio frame processed by the front-end. The VAD model can take the probability vector of the latter audio frame, that is, the probability vector of the third audio frame, and combine it with the signal-to-interference ratio of the first audio frame processed by the front-end.
[0132] When the original index value in the VAD model is 4, the result of dividing 4 by 1.6 and rounding down is 2. Therefore, the fourth audio frame corresponding to the original index value of the VAD model is 4 and should be aligned with the second audio frame processed by the front end. The VAD model can combine the probability vector of the fourth audio frame with the signal-to-interference ratio of the second audio frame processed by the front end.
[0133] This process continues until all index values have been processed.
[0134] After alignment, each audio frame and the ratio of the signal power to the interference power of each audio frame are input into the voice activity detection model after the index value is replaced. The voice activity detection model is used to purify the audio frames by eliminating audio frames whose ratio of signal power to interference power is less than a preset ratio; and the purified audio frames output by the voice activity detection model after the index value is replaced are obtained.
[0135] In one embodiment, the above step S105 may be implemented as the following steps:
[0136] When the recognition result is used to characterize the voice information as a wake-up word, the current state is changed to the wake-up state, and the purified voice information is saved.
[0137] In one embodiment, the above step S105 may be implemented as the following steps C1-C3:
[0138] In step C1, when the recognition result is used to indicate that the voice information is a voice command and the current state is the wake-up state, it is determined whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person;
[0139] In step C2, when the voice command and the wake-up word stored when the state is changed to the wake-up state are issued by the same person, the voice command is executed;
[0140] In step C3, when the voice instruction and the wake-up word stored when the state is changed to the wake-up state are not issued by the same person, the voice instruction is refused to be executed.
[0141] In a voice interaction scenario, if there are multiple users talking around, when a user wants to perform voice interaction, the voice interaction device is awakened by a wake-up word. After that, the voice interaction device may mistakenly recognize the voices of other users talking as commands, thereby affecting the voice interaction effect. In view of this, in an embodiment of the present disclosure, when the recognition result is used to characterize that the voice information is a voice command and the current state is the wake-up state, it is determined whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person; when the voice command and the wake-up word stored when the state is changed to the wake-up state are issued by the same person, the voice command is executed; when the voice command and the wake-up word stored when the state is changed to the wake-up state are not issued by the same person, the voice command is refused to be executed. In this way, when a voice command is received, it can be determined whether the voice command is issued by the user who issued the wake-up word. If it is issued by the user who issued the wake-up word, the voice command is executed. If it is not issued by the user who issued the wake-up word, it is refused to be executed. That is, after the voice interaction device is awakened, only the voice command issued by the user who issued the wake-up word is executed, reducing the impact of other users' voices on the voice interaction and improving the voice interaction effect.
[0142] In one embodiment, the above step C1 may be implemented as the following steps D1-D3:
[0143] In step D1, extracting the first voiceprint information of the voice command and the second voiceprint information of the wake-up word received when changing to the wake-up state;
[0144] In step D2, the first voiceprint information and the second voiceprint information are compared to determine the similarity between the first voiceprint information and the second voiceprint information;
[0145] In step D3, when the similarity between the first voiceprint information and the second voiceprint information is greater than a preset similarity, it is determined that the voice instruction and the wake-up word stored when the state is changed to the wake-up state are issued by the same person.
[0146] FIG2 is a block diagram of a voice information processing device. As shown in FIG2 , the device may include the following modules:
[0147] Extraction module 201, used to extract the audio frame corresponding to the received voice information;
[0148] a determination module 202 for determining a ratio of signal power to interference power of each audio frame;
[0149] a removal module 203 configured to remove audio frames having a signal power to interference power ratio less than a preset ratio from among the audio frames, wherein the voice information formed by the remaining audio frames after removing the audio frames having a signal power to interference power ratio less than the preset ratio is the purified voice information;
[0150] Recognition module 204, used to recognize the purified voice information;
[0151] The execution module 205 is configured to execute instructions corresponding to the voice information according to the recognition result of the voice information.
[0152] In one embodiment, the determining module includes:
[0153] a first determining submodule, configured to, when detecting multiple audio signals present in each audio frame, determine the audio signal with the largest power among the multiple audio signals as a valid signal and the remaining audio signals as interference signals;
[0154] a second determining submodule, configured to determine that the power of the valid signal is the signal power of each audio frame, and the power of the interference signal is the interference power of each audio frame;
[0155] The third determining submodule is configured to determine a ratio of the signal power to the interference power of each audio frame.
[0156] In one embodiment, the rejection module includes:
[0157] A conversion submodule is configured to convert each audio frame into a vector according to the ratio of the signal power to the interference power of each audio frame, wherein the audio frame whose signal power to interference power ratio is less than a preset ratio is converted into a 0 vector, and the audio frame whose signal power to interference power ratio is greater than the preset ratio is converted into a 1 vector.
[0158] The elimination submodule is used to eliminate the 0 vector from the vector converted from each audio frame.
[0159] In one embodiment, the rejection module includes:
[0160] A frame length determination submodule, configured to determine the frame length of each audio frame;
[0161] The analysis submodule is used to analyze the relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model, adjust the original index value of the voice activity detection model to a new index value corresponding to the frame length in combination with the alignment rule, and obtain the purified audio frame output by the voice acquisition detection model with the index value being the new index value.
[0162] In one embodiment, the rejection module includes:
[0163] A first judgment submodule is used to judge whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;
[0164] a fourth determining submodule, configured to determine a first ratio between the frame length of each audio frame and the voice frame length specified by the voice activity detection model when the frame length of each audio frame is different from the voice frame length specified by the voice activity detection model;
[0165] a fifth determining submodule, configured to determine a second ratio between an original index value of a voice activity detection model and the first ratio;
[0166] a sixth determining submodule, configured to determine a plurality of integers obtained by rounding down the second ratio as new index values;
[0167] a replacement submodule, configured to replace an original index value of the voice activity detection model according to a new index value, wherein after the index value is replaced, the voice activity detection model reads an audio frame according to the new index value, and the new index value corresponds to a position of the audio frame;
[0168] an input submodule, configured to input each audio frame and the signal power to interference power ratio of each audio frame into a voice activity detection model after replacing the index value, wherein the voice activity detection model is configured to purify the audio frames by removing audio frames having a signal power to interference power ratio less than a preset ratio;
[0169] The acquisition submodule is used to obtain the purified audio frame output by the voice activity detection model after the index value is replaced.
[0170] In one embodiment, the execution module includes:
[0171] The changing submodule is used to change the current state to the wake-up state and save the purified voice information when the recognition result is used to characterize the voice information as a wake-up word.
[0172] In one embodiment, the execution module includes:
[0173] a judgment submodule, configured to, when the recognition result indicates that the voice information is a voice command and the current state is an awake state, determine whether the voice command and the wake-up word received when the state is changed to the awake state are issued by the same person;
[0174] an execution submodule, configured to execute the voice instruction when the voice instruction and the wake-up word stored when the state is changed to the wake-up state are issued by the same person;
[0175] The execution submodule is further configured to refuse to execute the voice instruction when the voice instruction and the wake-up word stored when the state is changed to the wake-up state are not issued by the same person.
[0176] In one embodiment, the judgment submodule is used to:
[0177] Extracting first voiceprint information of the voice command and second voiceprint information of the wake-up word received when changing to the wake-up state;
[0178] comparing the first voiceprint information and the second voiceprint information to determine the similarity between the first voiceprint information and the second voiceprint information;
[0179] When the similarity between the first voiceprint information and the second voiceprint information is greater than a preset similarity, it is determined that the voice instruction and the wake-up word stored when the state is changed to the wake-up state are issued by the same person.
[0180] FIG3 is a hardware structure diagram of a voice information processing system disclosed in the present invention, as shown in FIG3 , including:
[0181] at least one processor 320; and,
[0182] A memory 304 in communication with the at least one processor 320; wherein,
[0183] The memory 304 stores instructions that can be executed by the at least one processor 320. The instructions are executed by the at least one processor 320 to implement the voice information processing method described in any one of the above embodiments.
[0184] 3 , the speech information processing system 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .
[0185] The processing component 302 generally controls the overall operation of the speech information processing system 300. The processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 302 may include one or more modules to facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
[0186] The memory 304 is configured to store various types of data to support the operation of the speech information processing system 300. Examples of such data include instructions for any application or method operating on the speech information processing system 300, such as text, images, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0187] The power supply component 306 provides power to the various components of the speech information processing system 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the vehicle control system 300.
[0188] The multimedia component 308 includes a screen that provides an output interface between the voice information processing system 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 may also include a front camera and / or a rear camera. When the voice information processing system 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0189] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), which is configured to receive external audio signals when the voice information processing system 300 is in an operating mode, such as an alarm mode, a recording mode, a voice recognition mode, and a voice output mode. The received audio signal can be further stored in the memory 304 or transmitted via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
[0190] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0191] The sensor assembly 314 includes one or more sensors for providing various status assessments of the voice information processing system 300. For example, the sensor assembly 314 may include an acoustic sensor. Additionally, the sensor assembly 314 may detect the on / off status of the voice information processing system 300, the relative positioning of components, such as the display and keypad of the voice information processing system 300, the operating status of the voice information processing system 300 or a component thereof, the orientation or acceleration / deceleration of the voice information processing system 300, and temperature changes of the voice information processing system 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, a material stack thickness sensor, or a temperature sensor.
[0192] The communication component 316 is configured to enable the voice information processing system 300 to provide the ability to communicate with other devices and cloud platforms in a wired or wireless manner. The voice information processing system 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0193] In an exemplary embodiment, the speech information processing system 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the speech information processing method described in any of the above embodiments.
[0194] The present disclosure also provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor corresponding to the speech information processing system, the speech information processing system can implement the speech information processing method as described in any of the above embodiments.
[0195] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) containing computer-usable program code.
[0196] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0197] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0198] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0199] Obviously, those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include these modifications and variations.
Claims
1. A method for processing speech information, comprising: Extracting the audio frame corresponding to the received voice information; determining a ratio of a signal power to an interference power for each audio frame; The audio frames whose ratio of signal power to interference power is less than a preset ratio are removed from the audio frames, wherein the voice information formed by the remaining audio frames after removing the audio frames whose ratio of signal power to interference power is less than the preset ratio is the purified voice information; Recognize the purified voice information; An instruction corresponding to the voice information is executed according to the recognition result of the voice information.
2. The method of claim 1, wherein determining the ratio of the signal power to the interference power of each audio frame comprises: In response to detecting multiple audio signals present in each audio frame, determining an audio signal with the largest power among the multiple audio signals as a valid signal and the remaining audio signals as interference signals; Determine that the power of the effective signal is the signal power of each audio frame, and the power of the interference signal is the interference power of each audio frame; A ratio of signal power to interference power is determined for each audio frame.
3. The method according to claim 1 or 2, wherein the step of removing audio frames whose ratio of signal power to interference power of each audio frame is less than a preset ratio comprises: Each audio frame is converted into a vector according to the ratio of the signal power to the interference power of each audio frame, wherein the audio frame whose ratio of the signal power to the interference power is less than the preset ratio is converted into a 0 vector, and the audio frame whose ratio of the signal power to the interference power is greater than the preset ratio is converted into a 1 vector, Remove the 0 vector from the vector converted from each audio frame.
4. The method according to any one of claims 1 to 3, wherein the step of removing audio frames whose ratio of signal power to interference power of each audio frame is less than a preset ratio comprises: Determining the frame length of each audio frame; The relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model is analyzed, and in combination with the alignment rule, the original index value of the voice activity detection model is adjusted to a new index value corresponding to the frame length, and the purified audio frame output by the voice acquisition detection model with the index value being the new index value is obtained.
5. The method according to claim 4, wherein the analyzing the relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model, adjusting the original index value of the voice activity detection model to a new index value corresponding to the frame length in combination with an alignment rule, and obtaining the purified audio frame output by the voice acquisition detection model having an index value of the new index value, comprises: Determining whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model; In response to the frame length of each audio frame being different from the speech frame length specified by the voice activity detection model, determining a first ratio between the frame length of the audio frame and the speech frame length specified by the voice activity detection model; determining a second ratio between an original index value of a voice activity detection model and the first ratio; Determine a plurality of integers obtained by rounding down the second ratio as new index values; Replacing an original index value of the voice activity detection model according to the new index value, wherein after replacing the index value, the voice activity detection model reads an audio frame according to the new index value, and the new index value corresponds to a position of the audio frame; Inputting each audio frame and the ratio of the signal power to the interference power of each audio frame into the voice activity detection model after replacing the index value, wherein the voice activity detection model is used to purify the audio frames by removing the audio frames whose ratio of the signal power to the interference power is less than a preset ratio; A purified audio frame output by the voice activity detection model after the index value is replaced is obtained.
6. The method according to any one of claims 1 to 5, wherein the step of executing the instruction corresponding to the voice information according to the recognition result of the voice information comprises: In response to the recognition result being used to characterize the voice information as a wake-up word, the current state is changed to a wake-up state, and the purified voice information is saved.
7. The method according to any one of claims 1 to 5, wherein the step of executing the instruction corresponding to the voice information according to the recognition result of the voice information comprises: In response to the recognition result being used to characterize that the voice information is a voice command and the current state is a wake-up state, determining whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person; In response to the voice instruction and the wake-up word stored when the state is changed to the wake-up state being issued by the same person, executing the voice instruction; In response to the voice command and the wake-up word stored when changing to the wake-up state not being issued by the same person, the voice command is refused to be executed.
8. The method of claim 7, wherein determining whether the voice command and the wake-up word stored when changing to the wake-up state are issued by the same person comprises: Extracting first voiceprint information of the voice command and second voiceprint information of the wake-up word received when changing to the wake-up state; In response to comparing the first voiceprint information with the second voiceprint information to determine the similarity between the first voiceprint information and the second voiceprint information; In response to the similarity between the first voiceprint information and the second voiceprint information being greater than a preset similarity, it is determined that the voice instruction and the wake-up word stored when the voice instruction is changed to the wake-up state are issued by the same person.
9. A speech information processing device, comprising: An extraction module, used to extract the audio frame corresponding to the received voice information; A determination module, used to determine the ratio of the signal power to the interference power of each audio frame; A removal module is used to remove the audio frames whose ratio of signal power to interference power is less than a preset ratio in each audio frame, wherein the voice information composed of the remaining audio frames after removing the audio frames whose ratio of power to interference power is less than the preset ratio is the purified voice information; A recognition module, used to recognize the purified voice information; The execution module is used to execute the instruction corresponding to the voice information according to the recognition result of the voice information.
10. The device according to claim 9, wherein the determining module comprises: The first determination submodule is configured to, in response to detecting multiple audio signals present in each audio frame, determine that the audio signal with the largest power among the multiple audio signals is a valid signal, and the remaining audio signals are interference signals; The second determination submodule is used to determine that the power of the effective signal is the signal power of each audio frame, and the power of the interference signal is the interference power of each audio frame; The third determination submodule is used to determine the ratio of the signal power to the interference power of each audio frame.
11. The device according to claim 9 or 10, wherein the rejection module comprises: a conversion submodule, for converting each audio frame into a vector according to the ratio of the signal power to the interference power of each audio frame, wherein the audio frame whose ratio of the signal power to the interference power is less than the preset ratio is converted into a 0 vector, and the audio frame whose ratio of the signal power to the interference power is greater than the preset ratio is converted into a 1 vector, The elimination submodule is used to eliminate the 0 vector from the vector converted from each audio frame.
12. The device according to any one of claims 9 to 11, wherein the rejection module comprises: A frame length determination submodule, used to determine the frame length of each audio frame; The analysis submodule is used to analyze the relationship between the frame length of each audio frame and the voice frame length specified by the voice activity detection model, and adjust the original index value of the voice activity detection model to a new index value corresponding to the frame length in combination with the alignment rule, and obtain the purified audio frame output by the voice acquisition detection model with the index value being the new index value.
13. The device according to claim 12, wherein the rejection module comprises: A first determination submodule, used to determine whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model; a fourth determination submodule, configured to determine a first ratio between the frame length of each audio frame and the speech frame length specified by the voice activity detection model in response to the frame length of each audio frame being different from the speech frame length specified by the voice activity detection model; a fifth determination submodule, configured to determine a second ratio between an original index value of a voice activity detection model and the first ratio; a sixth determining submodule, configured to determine a plurality of integers obtained by rounding down the second ratio as new index values; a replacement submodule, configured to replace an original index value of the voice activity detection model according to the new index value, wherein after the index value is replaced, the voice activity detection model reads an audio frame according to the new index value, and the new index value corresponds to a position of the audio frame; An input submodule, configured to input each audio frame and the ratio of the signal power to the interference power of each audio frame into a voice activity detection model after replacing the index value, wherein the voice activity detection model is configured to purify the audio frames by removing the audio frames whose ratio of the signal power to the interference power is less than a preset ratio; The acquisition submodule is used to obtain the purified audio frame output by the voice activity detection model after the replacement index value.
14. The apparatus according to any one of claims 9 to 13, wherein the execution module comprises: The change submodule is used to change the current state to the wake-up word in response to the recognition result used to characterize the voice information as a wake-up word. Change to awake state and save the purified voice information.
15. The apparatus according to any one of claims 9 to 13, wherein the execution module comprises: A judgment submodule, for judging, in response to the recognition result indicating that the voice information is a voice command and the current state is a wake-up state, whether the voice command and the wake-up word received when the state is changed to the wake-up state are issued by the same person; an execution submodule, for executing the voice instruction in response to the voice instruction and the wake-up word stored when the state is changed to the wake-up state being issued by the same person; The execution submodule is further configured to refuse to execute the voice instruction in response to the voice instruction and the wake-up word stored when the voice instruction is changed to the wake-up state not being issued by the same person.
16. The device according to claim 15, wherein the determination submodule is configured to: Extracting first voiceprint information of the voice command and second voiceprint information of the wake-up word received when changing to the wake-up state; Comparing the first voiceprint information with the second voiceprint information to determine the similarity between the first voiceprint information and the second voiceprint information; In response to the similarity between the first voiceprint information and the second voiceprint information being greater than a preset similarity, it is determined that the voice instruction and the wake-up word stored when the voice instruction is changed to the wake-up state are issued by the same person.
17. A voice information processing system, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the voice information processing method according to any one of claims 1 to 8.
18. A computer-readable storage medium, when the instructions in the storage medium are executed by a processor corresponding to a speech information processing system, the speech information processing system can implement the speech information processing method as described in any one of claims 1 to 8.
19. A computer program product, comprising a computer program, wherein the computer program is contained in a computer-readable storage medium, and when the computer program is executed, the speech information processing method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Sound processing method, device and equipment
CN108922556A
Call audio mixing processing method and device, storage medium and computer equipment
CN111048119A
Voice recognition noise reduction method and system, mobile terminal and storage medium
CN111128192A
Method of processing audio signal
CN114333874A
Noise suppressing voice analysis device, noise suppressing voice synthesizer and voice transmission system
JP1995248793A
