Voice information processing method, device and system and storage medium

By judging and comparing the voiceprint characteristics of the wake-up word in the voice interaction device, the problem of misrecognition in a multi-user environment is solved, and the accuracy and effect of voice interaction are improved.

CN118737159AActive Publication Date: 2024-10-01BEIJING CO WHEELS TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310341108.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

In a multi-user environment, voice interaction devices can easily misidentify other users' conversational voices as instructions, resulting in poor voice interaction effects.

Method used

By determining whether the voice information and the wake-up word received when changing to the wake-up state are uttered by the same person in the wake-up state, and executing corresponding instructions based on the recognition results, extracting and comparing the voiceprint features of the voice information to determine its source and eliminate interference signal to improve recognition accuracy.

Benefits of technology

It reduces the occurrence of misrecognition, improves the accuracy and effect of voice interaction, and ensures that only instructions issued by users with wake-up words are executed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737159A_ABST
    Figure CN118737159A_ABST
Patent Text Reader

Abstract

The invention discloses a voice information processing method, device and system and a storage medium, which are used for improving a voice interaction effect. The method comprises the following steps: when voice information is received in a wake-up state, judging whether the voice information and a wake-up word received when the voice information is changed into the wake-up state are sent by the same person or not; when the voice information and the wake-up word received when the voice information is changed into the wake-up state are sent by the same person, identifying the voice information; and executing an instruction corresponding to the voice information according to the recognition result of the voice information. By adopting the scheme provided by the invention, the probability of occurrence of a misrecognition condition is reduced, and the voice interaction effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of voice information processing technology, and in particular to a voice information processing method, device, system and storage medium. Background Art

[0002] In many cases, during voice interaction, there may be multiple users in the current environment. In this case, if a user wants to perform voice interaction, after waking up the voice interaction device with the wake-up word, the voice interaction device may mistakenly recognize the voices of other users as commands. For example, in a car voice interaction scenario, if there are multiple people in the car, it is very easy to misrecognize when multiple people are communicating in the car, and the voice interaction effect is poor. Summary of the invention

[0003] The present application provides a voice information processing method, device, system and storage medium to improve the voice interaction effect.

[0004] The present application provides a method for processing speech information, comprising:

[0005] When receiving a voice message in the wake-up state, determining whether the voice message and the wake-up word received when changing to the wake-up state are sent by the same person;

[0006] When the voice information and the wake-up word received when changing to the wake-up state are issued by the same person, identifying the voice information;

[0007] An instruction corresponding to the voice information is executed according to the recognition result of the voice information.

[0008] The beneficial effect of the present application is that when a voice message is received, it is determined whether the voice message and the wake-up word received when changing to the wake-up state are issued by the same person, and then the voice message will be recognized, and the instructions corresponding to the voice message will be executed according to the recognition result. That is to say, in the wake-up state, only the voice instructions issued by the user who issued the wake-up word are executed, and the voice instructions issued by other users are not executed, which reduces the probability of misrecognition and improves the voice interaction effect.

[0009] In one embodiment, the method further comprises:

[0010] When receiving voice information in a non-wake-up state, determining whether the voice information is a wake-up word;

[0011] When the voice information is a wake-up word, changing the current state to a wake-up state and storing the wake-up word;

[0012] The determining whether the voice information and the wake-up word received when the voice information is changed to the wake-up state are issued by the same person includes:

[0013] Determine whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person.

[0014] In one embodiment, determining whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person includes:

[0015] Purifying the voice information;

[0016] Comparing the first voiceprint information of the purified voice information with the second voiceprint information of the wake-up word stored when the current state is changed to the wake-up state to determine the similarity between the first voiceprint information and the second voiceprint information;

[0017] 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 current state is changed to the wake-up state are issued by the same person.

[0018] In one embodiment, the purifying the voice information includes:

[0019] Extracting an audio frame corresponding to the voice information;

[0020] determining a ratio of a signal power to an interference power for each audio frame;

[0021] The audio frames whose ratio of signal power to interference power is less than a preset ratio are eliminated, wherein the voice information constituted by the remaining audio frames after eliminating the audio frames whose ratio of power to interference power is less than the preset ratio is the purified voice information.

[0022] In one embodiment, determining the ratio of the signal power to the interference power of each audio frame includes:

[0023] 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 interference signals;

[0024] 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;

[0025] A ratio of signal power to interference power is determined for each audio frame.

[0026] In one embodiment, the step of removing audio frames whose ratio of signal power to interference power of each audio frame is less than a preset ratio includes:

[0027] Determining whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;

[0028] When the frame length of each audio frame is 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;

[0029] determining a second ratio between an original index value of a voice activity detection model and the first ratio;

[0030] Determine a plurality of integers obtained by rounding down the second ratio as new index values;

[0031] Replacing 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;

[0032] 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;

[0033] A purified audio frame output by the voice activity detection model after the index value is replaced is obtained.

[0034] In one embodiment, the method further comprises:

[0035] 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.

[0036] The present application also provides a voice information processing device, comprising:

[0037] A first judgment module is used to, when receiving voice information in the wake-up state, determine whether the voice information and the wake-up word received when changing to the wake-up state are issued by the same person;

[0038] A recognition module, configured to recognize the voice information when the voice information and the wake-up word received when changing to the wake-up state are issued by the same person;

[0039] The execution module is used to execute the instruction corresponding to the voice information according to the recognition result of the voice information.

[0040] In one embodiment, the apparatus further comprises:

[0041] A second judgment module is used to judge whether the voice information is a wake-up word when receiving the voice information in the non-wake-up state;

[0042] A storage module, used for changing the current state to a wake-up state and storing the wake-up word when the voice information is a wake-up word;

[0043] The first judgment module includes:

[0044] The judgment submodule is used to judge whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person.

[0045] In one embodiment, the judgment submodule is used to:

[0046] Purifying the voice information;

[0047] Comparing the first voiceprint information of the purified voice information with the second voiceprint information of the wake-up word stored when the current state is changed to the wake-up state to determine the similarity between the first voiceprint information and the second voiceprint information;

[0048] 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 current state is changed to the wake-up state are issued by the same person.

[0049] In one embodiment, the purifying the voice information includes:

[0050] Extracting an audio frame corresponding to the voice information;

[0051] determining a ratio of a signal power to an interference power for each audio frame;

[0052] The audio frames whose ratio of signal power to interference power is less than a preset ratio are eliminated, wherein the voice information constituted by the remaining audio frames after eliminating the audio frames whose ratio of power to interference power is less than the preset ratio is the purified voice information.

[0053] In one embodiment, determining the ratio of the signal power to the interference power of each audio frame includes:

[0054] 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 interference signals;

[0055] 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;

[0056] A ratio of signal power to interference power is determined for each audio frame.

[0057] In one embodiment, the step of removing audio frames whose ratio of signal power to interference power of each audio frame is less than a preset ratio includes:

[0058] Determining whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;

[0059] When the frame length of each audio frame is 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;

[0060] determining a second ratio between an original index value of a voice activity detection model and the first ratio;

[0061] Determine a plurality of integers obtained by rounding down the second ratio as new index values;

[0062] Replacing 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;

[0063] 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;

[0064] A purified audio frame output by the voice activity detection model after the index value is replaced is obtained.

[0065] In one embodiment, the execution module is further configured to:

[0066] 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.

[0067] The present application also provides a voice information processing system, comprising:

[0068] at least one processor; and,

[0069] a memory communicatively connected to the at least one processor; wherein,

[0070] 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 recorded in any one of the above embodiments.

[0071] The present application 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 recorded in any one of the above embodiments.

[0072] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings.

[0073] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:

[0075] Figure 1 This is a flow chart of a method for processing voice information in one embodiment of the present application;

[0076] Figure 2 This is a block diagram of a voice information processing device in one embodiment of the present application;

[0077] Figure 3 This is a hardware structure diagram of a voice information processing system in one embodiment of the present application. DETAILED DESCRIPTION

[0078] The preferred embodiments of the present application 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 application and are not used to limit the present application.

[0079] Figure 1 Flow chart of a voice information processing method in one embodiment of the present application. Figure 1 As shown, the method can be implemented as the following steps S101-S103:

[0080] In step S101, when a voice message is received in the wake-up state, it is determined whether the voice message and the wake-up word received when the wake-up state is changed are issued by the same person;

[0081] In step S102, when the voice information and the wake-up word received when changing to the wake-up state are issued by the same person, the voice information is recognized;

[0082] In step S103, the instruction corresponding to the voice information is executed according to the recognition result of the voice information.

[0083] In the present application, when voice information is received in the wake-up state, it is determined whether the voice information and the wake-up word received when the state is changed to the wake-up state are issued by the same person; specifically, in the present application, when voice information is received in the non-wake-up state, it is determined whether the voice information is a wake-up word; when the voice information is a wake-up word, the current state is changed to the wake-up state, and the wake-up word is stored. Since the wake-up word is stored, when voice information is received in the wake-up state, the stored wake-up word can be extracted and then compared with the voice information to determine whether the voice information and the wake-up word received when the state is changed to the wake-up state are issued by the same person. When determining whether the voice information and the wake-up word received when the state is changed to the wake-up state are issued by the same person, the voice information is first purified, and then the first voiceprint information of the purified voice information and the second voiceprint information of the wake-up word received when the state is changed to the wake-up state 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 stored wake-up word when the state is changed to the wake-up state are issued by the same person. It should be noted that when voice information is received in a non-wake-up state, the voice information can also be purified. After purification, it can be identified whether the voice information is a wake-up word to improve the recognition effect. When the current state is changed to the wake-up state and the wake-up word is stored, the purified wake-up word can also be stored.

[0084] When purifying voice information, the audio frames corresponding to the voice information can be extracted; 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 the effective signal, and the remaining audio signals are interference signals; 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 the interference power of each audio frame; the ratio of the signal power to the interference power of each audio frame is determined. Each audio frame and the ratio of the signal power to the interference power of each audio frame are input into a voice activity detection model, 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 a preset ratio is the purified voice information, and the voice activity detection model is used to remove the audio frames whose ratio of signal power to interference power is less than a preset ratio. The voice activity detection model may be a VAD (Voice Activity Detection) model. In fact, the voice activity detection model may also be implemented by converting audio frames whose ratio of signal power to interference power is less than a preset ratio into 0 vectors, converting audio frames whose ratio of signal power to interference power is greater than a preset ratio into 1 vectors, and then eliminating the 0 vectors.

[0085] It should be noted that when the voice activity detection model is a 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. During alignment, the corresponding alignment rule can be injected into the VAD model, thereby achieving frame alignment by injecting the rule.

[0086] When the voice information and the wake-up word received when changing to the wake-up state are issued by the same person, the voice information is recognized; and the instruction corresponding to the voice information is executed according to the recognition result of the voice information.

[0087] Specifically, 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 this embodiment, when the recognition result is used to characterize that the voice information is a voice command and the current state is a wake-up state, it is determined whether the voice command and the wake-up word received when the voice command 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 voice command 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 voice command 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 to say, after the voice interaction device is awakened, only the voice command issued by the user who issued the wake-up word is executed, which reduces the impact of other users' voices on the voice interaction and improves the voice interaction effect.

[0088] The beneficial effect of the present application is that when a voice message is received, it is determined whether the voice message and the wake-up word received when changing to the wake-up state are issued by the same person, and then the voice message will be recognized, and the instructions corresponding to the voice message will be executed according to the recognition result. That is to say, in the wake-up state, only the voice instructions issued by the user who issued the wake-up word are executed, and the voice instructions issued by other users are not executed, which reduces the probability of misrecognition and improves the voice interaction effect.

[0089] In one embodiment, the method can also be implemented as the following steps A1-A2:

[0090] In step A1, when voice information is received in a non-wake-up state, it is determined whether the voice information is a wake-up word;

[0091] In step A2, when the voice information is a wake-up word, the current state is changed to a wake-up state, and the wake-up word is stored;

[0092] In the above step S101, determining whether the voice information and the wake-up word received when changing to the wake-up state are issued by the same person can be implemented as the following step A3:

[0093] In step A3, it is determined whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are uttered by the same person.

[0094] In one embodiment, the above step S101 may be implemented as the following steps B1-B3:

[0095] In step B1, the voice information is purified;

[0096] In step B2, the first voiceprint information of the purified voice information is compared with the second voiceprint information of the wake-up word received when the state is changed to the wake-up state to determine the similarity between the first voiceprint information and the second voiceprint information;

[0097] In step B3, 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 command and the wake-up word stored when the voice command is changed to the wake-up state are issued by the same person.

[0098] In one embodiment, the above step B1 can be implemented as the following steps C1-C3:

[0099] In step C1, extracting the audio frame corresponding to the voice information;

[0100] In step C2, the ratio of the signal power to the interference power of each audio frame is determined;

[0101] In step C3, the audio frames whose signal power to interference power ratio is less than a preset ratio are eliminated, wherein the voice information constituted by the remaining audio frames after eliminating the audio frames whose power to interference power ratio is less than the preset ratio is the purified voice information.

[0102] In the vehicle-mounted scenario, the voice information may be the sound received by the microphone in the vehicle. After the microphone in the vehicle receives the sound, the front end will reduce the noise of the sound through some existing noise reduction methods before passing it to the execution subject of this application, that is, the voice information received by the execution subject of this application is already the voice information after the noise reduction of the front end. The front end sends the voice information in the form of audio frames, so the audio frames corresponding to the voice information can be extracted. Under normal circumstances, the frame shift of the front end is usually 16ms, so the frame length of the audio frame sent by the front end is usually 16ms, that is, the voice information of 1 second is about 60 audio frames. Determine the ratio of the signal power to the interference power of each audio frame; remove the audio frames whose ratio of the signal power to the interference power is less than the preset ratio in each audio frame, wherein the voice information composed of the remaining audio frames after removing the audio frames whose ratio of the power to the interference power is less than the preset ratio is the purified voice information.

[0103] In one embodiment, the above step C1 can be implemented as the following steps:

[0104] In step D1, 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 interference signals;

[0105] In step D2, 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;

[0106] In step D3, the ratio of the signal power to the interference power of each audio frame is determined.

[0107] Specifically, if it is detected that there are multiple audio signals in the 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 interference signals; the power of the valid signal is determined to be the signal power of each audio frame, and the power of the interference signal is the interference power of each audio frame; the ratio of the signal power to the interference power of each audio frame is determined. For example, the ratio of the signal power to the interference power of each audio frame can be determined by the following formula:

[0108]

[0109] Among them, P s is the signal power, P I is the interference power, P s and P I It can be estimated through a classic signal processing algorithm. The specific principle is to determine that the audio signal with the largest power among multiple audio signals is a valid signal; SIR is the ratio of signal power to interference power.

[0110] In one embodiment, the above step C3 may be implemented as the following steps E1-E7:

[0111] In step E1, it is determined whether the frame length of each audio frame is the same as the speech frame length specified by the speech activity detection model;

[0112] In step E2, when the frame length of each audio frame is 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;

[0113] In step E3, a second ratio between the original index value of the voice activity detection model and the first ratio is determined;

[0114] In step E4, a plurality of integers obtained by rounding down the second ratio is determined as new index values;

[0115] In step E5, an original index value of the voice activity detection model is replaced 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;

[0116] In step E6, 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, and 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;

[0117] In step E7, a purified audio frame output by the voice activity detection model after the replacement index value is obtained.

[0118] In this embodiment, when performing purification, each audio frame and the ratio of the signal power to the interference power of each audio frame may also be input into a voice activity detection model to achieve purification of the voice information, and the voice activity detection model is used to remove audio frames whose ratio of signal power to interference power is less than a preset ratio. The voice activity detection model may be a VAD (Voice Activity Detection) model, and the voice activity detection model may purify the voice information by converting audio frames whose ratio of signal power to interference power is less than a preset ratio into a 0 vector, converting audio frames whose ratio of signal power to interference power is greater than a preset ratio into a 1 vector, and then removing the 0 vector.

[0119] It should be noted that there may be a difference between the frame length of the audio frame corresponding to the voice activity detection model and the voice information received from the front end. Therefore, before the audio frame 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, 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; 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; a plurality of integers obtained after 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, wherein after replacing the index value, 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.

[0120] 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, the corresponding alignment rule 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, and 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.

[0121] After alignment, each audio frame and the ratio of signal power to interference power of each audio frame are input into the voice activity detection model after the index value is replaced, and 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 obtain the purified audio frames output by the voice activity detection model after the index value is replaced.

[0122] In one embodiment, the method can also be implemented as the following steps:

[0123] 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.

[0124] In this embodiment, when the voice command and the wake-up word stored when changing to the wake-up state are not issued by the same person, the voice command is rejected. That is to say, after the voice interaction device is awakened, only the voice command issued by the user who issued the wake-up word is executed, which reduces the impact of other users' voices on the voice interaction and improves the voice interaction effect.

[0125] Figure 2 A block diagram of a speech information processing device, such as Figure 2 As shown, the device may include the following modules:

[0126] The first judgment module 201 is used to determine whether the voice information and the wake-up word received when changing to the wake-up state are sent by the same person when receiving the voice information in the wake-up state;

[0127] The recognition module 202 is used to recognize the voice information when the voice information and the wake-up word received when changing to the wake-up state are issued by the same person;

[0128] The execution module 203 is used to execute the instruction corresponding to the voice information according to the recognition result of the voice information.

[0129] In one embodiment, the apparatus further comprises:

[0130] A second judgment module is used to judge whether the voice information is a wake-up word when receiving the voice information in the non-wake-up state;

[0131] A storage module, used for changing the current state to a wake-up state and storing the wake-up word when the voice information is a wake-up word;

[0132] The first judgment module includes:

[0133] The judgment submodule is used to judge whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person.

[0134] In one embodiment, the judgment submodule is used to:

[0135] Purifying the voice information;

[0136] Comparing the first voiceprint information of the purified voice information with the second voiceprint information of the wake-up word stored when the current state is changed to the wake-up state to determine the similarity between the first voiceprint information and the second voiceprint information;

[0137] 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 current state is changed to the wake-up state are issued by the same person.

[0138] In one embodiment, the purifying the voice information includes:

[0139] Extracting an audio frame corresponding to the voice information;

[0140] determining a ratio of a signal power to an interference power for each audio frame;

[0141] The audio frames whose ratio of signal power to interference power is less than a preset ratio are eliminated, wherein the voice information constituted by the remaining audio frames after eliminating the audio frames whose ratio of power to interference power is less than the preset ratio is the purified voice information.

[0142] In one embodiment, determining the ratio of the signal power to the interference power of each audio frame includes:

[0143] 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 interference signals;

[0144] 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;

[0145] A ratio of signal power to interference power is determined for each audio frame.

[0146] In one embodiment, the step of removing audio frames whose ratio of signal power to interference power of each audio frame is less than a preset ratio includes:

[0147] Determining whether the frame length of each audio frame is the same as the voice frame length specified by the voice activity detection model;

[0148] When the frame length of each audio frame is 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;

[0149] determining a second ratio between an original index value of a voice activity detection model and the first ratio;

[0150] Determine a plurality of integers obtained by rounding down the second ratio as new index values;

[0151] Replacing 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;

[0152] 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;

[0153] A purified audio frame output by the voice activity detection model after the index value is replaced is obtained.

[0154] In one embodiment, the execution module is further configured to:

[0155] 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.

[0156] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of a voice information processing system in one embodiment of the present application. Figure 3 As shown, the voice information processing system comprises:

[0157] at least one processor 320; and,

[0158] A memory 304 in communication with the at least one processor 320; wherein,

[0159] The memory 304 stores instructions that can be executed by the at least one processor 320, and the instructions are executed by the at least one processor 320 to implement the voice information processing method recorded in any of the above embodiments.

[0160] Reference Figure 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.

[0161] 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 complete all or part of the steps of the above method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0162] 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, pictures, 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.

[0163] The power supply component 306 provides power to 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.

[0164] 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 touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the 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 may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0165] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the voice information processing system 300 is in an operation mode, such as an alarm mode, a recording mode, a voice recognition mode, and a voice output mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0166] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0167] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the voice information processing system 300. For example, the sensor assembly 314 may include a sound sensor. In addition, the sensor assembly 314 may detect the on / off state of the voice information processing system 300, the relative positioning of the components, such as the display and keypad of the voice information processing system 300, and the sensor assembly 314 may also detect the operating state of the voice information processing system 300 or a component of the voice information processing system 300, such as the operating state of the air distribution plate, the structural state, the operating state of the discharge scraper, etc., the voice information processing system 300 position or acceleration / deceleration and the temperature change 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 acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a material stacking thickness sensor or a temperature sensor.

[0168] 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.

[0169] 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.

[0170] The present application 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 recorded in any one of the above embodiments.

[0171] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0172] The present application 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 application. 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 generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0173] These computer program instructions may also be stored in a computer-readable memory capable of directing 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 an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0174] 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, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0175] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for processing speech information, characterized in that: include: When receiving a voice message in the wake-up state, determining whether the voice message and the wake-up word received when changing to the wake-up state are sent by the same person; When the voice information and the wake-up word received when changing to the wake-up state are issued by the same person, identifying the voice information; An instruction corresponding to the voice information is executed according to the recognition result of the voice information.

2. The method according to claim 1, characterized in that The method further comprises: When receiving voice information in a non-wake-up state, determining whether the voice information is a wake-up word; When the voice information is a wake-up word, changing the current state to a wake-up state and storing the wake-up word; The determining whether the voice information and the wake-up word received when the voice information is changed to the wake-up state are issued by the same person includes: Determine whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person.

3. The method according to claim 1, characterized in that The determining whether the voice information and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person includes: Purifying the voice information; Comparing the first voiceprint information of the purified voice information with the second voiceprint information of the wake-up word stored when the current state is changed to the wake-up state 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 a preset similarity, it is determined that the voice instruction and the wake-up word stored when the current state is changed to the wake-up state are issued by the same person.

4. The method according to claim 3, characterized in that The purifying of the voice information comprises: Extracting an audio frame corresponding to the 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 eliminated, wherein the voice information constituted by the remaining audio frames after eliminating the audio frames whose ratio of power to interference power is less than the preset ratio is the purified voice information.

5. The method according to claim 4, characterized in that Determining the ratio of the signal power to the interference power of each audio frame includes: 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 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.

6. The method according to claim 4, characterized in that The step of removing the audio frames whose ratio of signal power to interference power is less than a preset ratio 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; When the frame length of each audio frame is 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 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; 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.

7. The method according to claim 1, characterized in that The method further comprises: 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.

8. A voice information processing device, characterized in that: include: A first judgment module is used to, when receiving voice information in the wake-up state, determine whether the voice information and the wake-up word received when changing to the wake-up state are issued by the same person; A recognition module, configured to recognize the voice information when the voice information and the wake-up word received when changing to the wake-up state are issued by the same person; The execution module is used to execute the instruction corresponding to the voice information according to the recognition result of the voice information.

9. A voice information processing system, characterized in that: include: 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-7.

10. A computer-readable storage medium, characterized in that: 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 one of claims 1 to 7.

Citation Information

Patent Citations

  • Voice control method and device based on offline voiceprint recognition and voice recognition

    CN108766441A

  • Voice awakening method, voice awakening device, voice awakening equipment, computer storage medium and vehicle

    CN110827820A

  • 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

  • Voice interaction method, device and equipment and storage medium

    CN111768769A