Speech recognition method, device and computer readable storage medium

By determining the accuracy of speech recognition results and recording acoustic feature information in smart voice devices, the problem of recognition errors between different regions and people is solved, and speech recognition accuracy and user experience are improved.

CN111816174BActive Publication Date: 2024-09-03BEIJING XIAOMI PINECONE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010591270.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-24
Publication Date
2024-09-03
Estimated Expiration
2040-06-24

AI Technical Summary

Technical Problem

The voice recognition misrecognition rate of smart voice devices is high among different regions and people, causing users to repeatedly enter commands multiple times, which wastes energy and causes inaccurate device recognition, affecting user experience.

Method used

By receiving voice operation instructions, the accuracy of the recognition results is determined. If it is accurate, the acoustic feature information is recorded and the corresponding operation is performed. If it is inaccurate, the user feedback or the second input instruction recognition result is used for similarity comparison to determine the user's identity. And record feature information to improve recognition accuracy.

Benefits of technology

It improves the speech recognition accuracy of smart voice devices, reduces the number of repeated inputs by users, and enhances the intelligence and user experience of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111816174B
    Figure CN111816174B
Patent Text Reader

Abstract

The present disclosure relates to a speech recognition method, device and computer-readable storage medium. The method includes: in response to receiving a first voice operation instruction, recognizing the first voice operation instruction to obtain a first voice recognition result; determining whether the first voice recognition result is accurate; if the first voice recognition result is determined to be accurate, recording the acoustic-related feature information of the first voice operation instruction; and if the first voice recognition result is determined to be accurate, performing a target operation, wherein the target operation is an operation to be performed when the first voice operation instruction is recognized. In this way, the intelligent voice device can better meet user needs. In addition, when it is determined that the first voice recognition result is accurate, the acoustic-related feature information of the first voice operation instruction can be stored, so that the intelligent voice device provides users with a service with a high voice recognition rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence, and in particular to a speech recognition method, device, and computer-readable storage medium. Background Art

[0002] In recent years, smart speakers and other intelligent voice devices have attracted widespread attention as effective human-computer interaction portals in home scenarios. These intelligent voice devices receive user voice commands during use and process the voice commands through a number of complex technologies to achieve human-computer interaction. Automatic speech recognition (ASR) is a technology that recognizes voice commands and converts voice information into text information, which plays an important role in processing voice commands.

[0003] However, due to the vast territory of China, the pronunciation of the same word is slightly different in different regions and by different people. There are some cases of misrecognition and error in AI recognition of speech. In this case, the usual practice is for the user to say it again or more times. This has some disadvantages: 1. It gives people the impression that AI is "stupid" and not smart enough, and they cannot better experience the science and technology brought by AI; 2. Calling AI multiple times wastes people's energy and patience; 3. The next time the same user calls, it still cannot be recognized. Summary of the invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a speech recognition method, device and computer-readable storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a speech recognition method, comprising:

[0006] In response to receiving a first voice operation instruction, recognizing the first voice operation instruction to obtain a first voice recognition result;

[0007] Determining whether the first speech recognition result is accurate;

[0008] If it is determined that the first voice recognition result is accurate, recording acoustic-related feature information of the first voice operation instruction; and

[0009] When it is determined that the first voice recognition result is accurate, a target operation is performed, wherein the target operation is an operation that should be performed when the first voice operation instruction is recognized.

[0010] Optionally, determining whether the first speech recognition result is accurate includes:

[0011] Outputting the first speech recognition result;

[0012] receiving feedback information from a user regarding the first speech recognition result, wherein the feedback information is used to indicate whether the first speech recognition result is accurate;

[0013] In a case where the feedback result is used to indicate that the first speech recognition result is accurate, it is determined that the first speech recognition result is accurate.

[0014] Optionally, determining whether the first speech recognition result is accurate includes:

[0015] Determining whether a second voice operation instruction is received within a preset time period after receiving the first voice operation instruction;

[0016] When the second voice operation instruction is received, recognizing the second voice operation instruction to obtain a second voice recognition result; and

[0017] When the second voice operation instruction is received, determining whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user;

[0018] In the case where it is determined that the two voice recognition results belong to the same user, determining the similarity between the first voice recognition result and the second voice recognition result;

[0019] When the similarity is greater than a preset threshold, it is determined that the first speech recognition result is inaccurate.

[0020] Optionally, when the second voice operation instruction is received, determining whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user includes:

[0021] When the second voice operation instruction is received, determine whether the users who input the first voice operation instruction and the second voice operation instruction are the same user based on the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction, or based on the biological features of the user who inputs the first voice operation instruction and the biological features of the user who inputs the second voice operation instruction.

[0022] Optionally, the voice recognition result is text corresponding to the voice operation instruction; the method further includes:

[0023] In the case where it is determined that the first speech recognition result is inaccurate, determining the same text in the first speech recognition result and the second speech recognition result;

[0024] Record the acoustic-related feature information of the speech corresponding to each identical text.

[0025] Optionally, the acoustic-related feature information includes a voiceprint.

[0026] According to a second aspect of an embodiment of the present disclosure, there is provided a speech recognition device, including:

[0027] a recognition module, configured to recognize the first voice operation instruction in response to receiving the first voice operation instruction, so as to obtain a first voice recognition result;

[0028] A first determination module is configured to determine whether the first speech recognition result is accurate;

[0029] A first recording module is configured to record acoustic-related feature information of the first voice operation instruction when it is determined that the first voice recognition result is accurate; and

[0030] The execution module is configured to execute a target operation when it is determined that the first voice recognition result is accurate, wherein the target operation is an operation that should be executed when the first voice operation instruction is recognized.

[0031] Optionally, the first determining module includes:

[0032] An output submodule, configured to output the first speech recognition result;

[0033] a receiving submodule, configured to receive feedback information from a user regarding the first speech recognition result, wherein the feedback information is used to indicate whether the first speech recognition result is accurate;

[0034] The first determination submodule is configured to determine that the first speech recognition result is accurate if the feedback result is used to indicate that the first speech recognition result is accurate.

[0035] Optionally, the first determining module includes:

[0036] A second determination submodule is configured to determine whether a second voice operation instruction is received within a preset time period after the first voice operation instruction is received;

[0037] a recognition submodule, configured to recognize the second voice operation instruction upon receiving the second voice operation instruction, so as to obtain a second voice recognition result; and

[0038] A third determination submodule is configured to determine whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user when the second voice operation instruction is received;

[0039] a fourth determination submodule, configured to determine the similarity between the first speech recognition result and the second speech recognition result when it is determined that the two speech recognition results belong to the same user;

[0040] The fifth determination submodule is configured to determine that the first speech recognition result is inaccurate when the similarity is greater than a preset threshold.

[0041] Optionally, the third determination submodule is configured to determine whether the users who input the first voice operation instruction and the second voice operation instruction are the same user based on the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction, or based on the biological features of the user who inputs the first voice operation instruction and the biological features of the user who inputs the second voice operation instruction, when the second voice operation instruction is received.

[0042] Optionally, the voice recognition result is text corresponding to the voice operation instruction; the device further includes:

[0043] A second determination module is configured to determine the same text in the first voice recognition result and the second voice recognition result when it is determined that the first voice recognition result is inaccurate;

[0044] The second recording module is configured to record the acoustic-related feature information of the speech corresponding to each identical text.

[0045] According to a third aspect of an embodiment of the present disclosure, there is provided a speech recognition device, including:

[0046] processor;

[0047] a memory for storing processor-executable instructions;

[0048] Wherein, the processor is configured to:

[0049] In response to receiving a first voice operation instruction, recognizing the first voice operation instruction to obtain a first voice recognition result;

[0050] Determining whether the first speech recognition result is accurate;

[0051] If it is determined that the first voice recognition result is accurate, recording acoustic-related feature information of the first voice operation instruction; and

[0052] When it is determined that the first voice recognition result is accurate, a target operation is performed, wherein the target operation is an operation that should be performed when the first voice operation instruction is recognized.

[0053] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the method provided in the first aspect of the present disclosure are implemented.

[0054] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0055] By adopting the above technical solution, it is determined whether the first voice recognition result is accurate, and when it is determined that the first voice recognition result is accurate, the target operation is performed, so that the intelligent voice device can better meet the needs of users. In addition, when it is determined that the first voice recognition result is accurate, the acoustic-related feature information of the first voice operation instruction can be stored, so that the intelligent voice device can provide users with a service with a high voice recognition rate.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0058] Figure 1 The figure is a flow chart of a speech recognition method according to an exemplary embodiment.

[0059] Figure 2 The present invention is a flowchart of a method for determining whether a first speech recognition result is accurate according to an exemplary embodiment.

[0060] Figure 3 The figure is a flowchart of another method for determining whether a first speech recognition result is accurate according to an exemplary embodiment.

[0061] Figure 4 The figure is a flow chart of another speech recognition method according to an exemplary embodiment.

[0062] Figure 5 The invention is a block diagram of a speech recognition device according to an exemplary embodiment.

[0063] Figure 6 The invention is a block diagram of a speech recognition device according to an exemplary embodiment.

[0064] Figure 7 The invention is a block diagram of a speech recognition device according to an exemplary embodiment. DETAILED DESCRIPTION

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0066] As described in the background technology, users sometimes need to repeat multiple times when waking up artificial intelligence, and sometimes there are voice recognition errors. The usual method now is to establish a vertical domain model. When the vertical domain model is recognized, the recognition rate can be greatly improved. However, this also has some disadvantages: a large number of vertical domains need to be established, which consumes a lot of manpower and material resources; there may be overlaps between vertical domains, resulting in recognition errors. Based on this, the present disclosure provides the following embodiments to solve the above problems.

[0067] Figure 1 1 is a flow chart of a speech recognition method according to an exemplary embodiment. The method can be applied to a server or an intelligent speech device. The following is an example of applying the method to an intelligent speech device. Figure 1 As shown, the method may include the following steps.

[0068] In step 11, in response to receiving the first voice operation instruction, the first voice operation instruction is recognized to obtain a first voice recognition result.

[0069] In the present disclosure, the first voice operation instruction may be a voice input by a user to control an intelligent voice device to perform an operation. For example, the first voice operation instruction may be a voice input by a user to control an intelligent speaker to play music A. It is worth noting that the first voice operation instruction may be recognized by using a voice recognition technology in the related art to obtain a first voice recognition result.

[0070] In step 12, it is determined whether the first speech recognition result is accurate.

[0071] In order to enable the intelligent voice device to perform the operation desired by the user, in the present disclosure, the intelligent voice device first determines whether its recognition of the first voice operation instruction is accurate before performing the corresponding operation. That is, it determines whether the first voice recognition result is accurate. The implementation method of determining whether the first voice recognition result is accurate will be described in detail below, which will not be described in detail here.

[0072] In step 13, when it is determined that the first voice recognition result is accurate, the acoustic-related feature information of the first voice operation instruction is recorded, wherein the acoustic-related feature information may include voiceprint, timbre, pitch, and the like.

[0073] In step 14, if it is determined that the first voice recognition result is accurate, the target operation is performed, wherein the target operation is the operation to be performed when the first voice operation instruction is recognized. For example, if the first voice recognition result is "play music A", the intelligent voice device can play music A.

[0074] It is worth noting that the present disclosure does not limit the execution order of step 13 and step 14. For example, step 13 may be executed first and then step 14, or step 14 may be executed first and then step 13, or steps 13 and 14 may be executed simultaneously. Figure 1 It is indicated that step 13 is performed first and then step 14 is performed.

[0075] By adopting the above technical solution, it is determined whether the first voice recognition result is accurate, and when it is determined that the first voice recognition result is accurate, the target operation is performed, so that the intelligent voice device can better meet the needs of users. In addition, when it is determined that the first voice recognition result is accurate, the acoustic-related feature information of the first voice operation instruction can be stored, so that the intelligent voice device can provide users with a service with a high voice recognition rate.

[0076] The specific implementation of step 12 of determining whether the first speech recognition result is accurate is described below.

[0077] In one embodiment, whether the first speech recognition result is accurate can be determined through user feedback information. Figure 2 As shown, the method for determining whether the first speech recognition result is accurate may include the following steps.

[0078] In step 121, a first speech recognition result is output.

[0079] In the first embodiment, a prompt page may be popped up in the display interface of the intelligent voice device, and the prompt page displays the first voice recognition result, as well as a confirmation button and a cancel button for the user to select. In the second embodiment, the intelligent voice device may also output the first voice recognition result by voice broadcast.

[0080] In step 122, feedback information from the user regarding the first speech recognition result is received, where the feedback information is used to indicate whether the first speech recognition result is accurate.

[0081] In step 123, when the feedback result is used to indicate that the first speech recognition result is accurate, it is determined that the first speech recognition result is accurate.

[0082] In the first embodiment described above, when a prompt page pops up in the display interface of the intelligent voice device, the user can choose to click the confirmation button or the cancel button. For example, when the user clicks the confirmation button, it indicates that the first voice recognition result is accurate, and when the user clicks the cancel button, it indicates that the first voice recognition result is wrong. In the second embodiment described above, when the intelligent voice device outputs the first voice recognition result by voice broadcast, the user can also input the corresponding voice to indicate whether the first voice recognition result is accurate. For example, when a user input voice (for example, OK, Got it, Thank you) is received after the first voice operation instruction to indicate approval or thanks, it indicates that the first voice recognition result is accurate, or when a user input voice (for example, OK, Got it, Thank you) is received after the first voice operation instruction to indicate "wrong" or "error", it indicates that the first voice recognition result is wrong.

[0083] In another embodiment, whether the first speech recognition result is accurate can be determined by the next speech input by the user. Figure 3 As shown, the method for determining whether the first speech recognition result is accurate may include the following steps.

[0084] In step 124, it is determined whether a second voice operation instruction is received within a preset time period after the first voice operation instruction is received.

[0085] In actual applications, when the intelligent voice device fails to accurately identify the user's needs due to the unclear first voice operation instruction input by the user, the intelligent voice device cannot perform the target operation in time. At this time, the user will input the voice operation instruction again (hereinafter referred to as the second voice operation instruction) to control the intelligent voice device to perform the target operation. Therefore, in this embodiment, it is necessary to determine whether the second voice operation instruction is received within the preset time after the first voice operation instruction is received. Among them, the preset time can be set by the user, and this disclosure does not specifically limit this.

[0086] In step 125, when the second voice operation instruction is received, the second voice operation instruction is recognized to obtain a second voice recognition result. The method of obtaining the second voice recognition result is the same as that of Figure 1 The method for obtaining the first speech recognition result is the same as that in the above method, which will not be repeated here.

[0087] In step 126, when the second voice operation instruction is received, it is determined whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user.

[0088] In one embodiment, considering that different people have different voiceprints and timbres, it is possible to determine whether the users corresponding to any two voices are the same user based on the acoustic-related feature information of the voices input by the users. For example, the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction are obtained respectively, and then the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction are compared to determine whether the users who input the first voice operation instruction and the second operation voice instruction are the same user. For example, when the similarity between the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction is greater than a preset value, it is determined that the users who input the first voice operation instruction and the second operation voice instruction are the same user.

[0089] In yet another embodiment, it is also possible to determine whether the user who inputs the first voice operation instruction and the user who inputs the second voice operation instruction are the same user based on the user's biological characteristics. By way of example, the biological characteristics of the user who inputs the first voice operation instruction and the biological characteristics of the user who inputs the second voice operation instruction are obtained respectively, and then the biological characteristics of the user who inputs the first voice operation instruction and the biological characteristics of the user who inputs the second voice operation instruction are compared to determine whether the users who input the first voice operation instruction and the second voice operation instruction are the same user. For example, when the similarity of the biological characteristics of the two is greater than a preset value, it is determined that the users who input the first voice operation instruction and the second voice operation instruction are the same user. Among them, the biological characteristics can be the user's fingerprint, iris, facial-related features, etc., which are not specifically limited in the present disclosure.

[0090] It should be noted that the present disclosure does not limit the execution order of step 125 and step 126. For example, step 125 may be executed first and then step 126, or step 126 may be executed first and then step 125, or steps 125 and 126 may be executed simultaneously. Figure 1 It is indicated that step 125 is executed first and then step 126 is executed.

[0091] In step 127, when it is determined that the two voice recognition results belong to the same user, the similarity between the first voice recognition result and the second voice recognition result is determined.

[0092] In step 128, when the similarity is greater than a preset threshold, it is determined that the first speech recognition result is inaccurate.

[0093] As described in the background technology, if the first voice operation instruction input by the user is not recognized by the intelligent voice device, or the intelligent voice device recognizes it incorrectly, the user will usually input the second voice operation instruction again, and the content of the second voice operation instruction is theoretically the same as the content of the first voice operation instruction. Therefore, in the present disclosure, it is possible to determine whether the intelligent voice device accurately recognizes the first voice operation instruction based on the second voice operation instruction input by the same user within a preset time. For example, by comparing the first voice recognition result of the intelligent voice device for the first voice operation instruction and the second voice recognition result for the second language operation instruction, it can be determined whether the contents of the first voice operation instruction and the second voice operation instruction input by the user are the same. If they are the same, it indicates that the intelligent voice device is inaccurate in recognizing the first voice operation instruction.

[0094] For example, the similarity between the first voice recognition result and the second voice recognition result is determined. If the similarity is greater than a preset threshold, it is confirmed that the contents of the first voice operation instruction and the second voice operation instruction are the same, that is, it can be determined that the first voice recognition result is inaccurate. For example, assuming that the first voice recognition result is "Open music" and the second voice recognition result is "Open music A", then their similarity is 80%, and the preset threshold is 60%, then it can be determined that the first voice recognition result is inaccurate.

[0095] By adopting the above technical solution, the intelligent voice device can determine whether the voice recognition result is accurate based on the voice operation instructions input by the user twice, thereby improving the accuracy of voice recognition. In addition, the user does not need to detect the voice operation instructions and the voice recognition results, thereby improving the efficiency of detecting whether the voice recognition is accurate.

[0096] In addition, in another embodiment, the voice recognition result is the text corresponding to the voice operation instruction. Figure 4 As shown, the method may further include step 15 and step 16.

[0097] In step 15, when it is determined that the first voice recognition result is inaccurate, the same text in the first voice recognition result and the second voice recognition result is determined. Continuing with the above example, if the first voice recognition result is "Open Music" and the second voice recognition result is "Open Music A", the same text is "Open Music".

[0098] In step 16, the acoustic-related feature information of the speech corresponding to each identical character is recorded.

[0099] For example, the intelligent voice device can decompose the voiceprint of the entire sentence of the first voice operation instruction to obtain the voiceprint of the voice corresponding to a single word or a phrase. For example, the voiceprint of the first voice operation instruction is decomposed to obtain the voiceprints of the voices corresponding to the four words "turn on the music", and the voiceprint of the second voice operation instruction is decomposed to obtain the voiceprints of the voices corresponding to the four words "turn on the music", and the voiceprints of the voices corresponding to the four words "turn on the music" in the first voice operation instruction and the voiceprints of the voices corresponding to the four words "turn on the music" in the second voice operation instruction are recorded.

[0100] By adopting the above technical solution, when the first speech recognition result is inaccurate, the acoustic feature information of the speech corresponding to the same text in the first speech recognition result and the second speech recognition result is recorded to improve the accuracy of subsequent speech recognition.

[0101] Based on the same inventive concept, the present disclosure also provides a speech recognition device. Figure 5 FIG. 1 is a block diagram of a speech recognition device according to an exemplary embodiment. Figure 5 As shown, the speech recognition device may include:

[0102] The recognition module 51 is configured to recognize the first voice operation instruction in response to receiving the first voice operation instruction to obtain a first voice recognition result;

[0103] A first determination module 52 is configured to determine whether the first speech recognition result is accurate;

[0104] A first recording module 53 is configured to record acoustic-related feature information of the first voice operation instruction when it is determined that the first voice recognition result is accurate; and

[0105] The execution module 54 is configured to execute a target operation when it is determined that the first voice recognition result is accurate, wherein the target operation is an operation that should be executed when the first voice operation instruction is recognized.

[0106] Optionally, the first determining module 52 includes:

[0107] An output submodule, configured to output the first speech recognition result;

[0108] a receiving submodule, configured to receive feedback information from a user regarding the first speech recognition result, wherein the feedback information is used to indicate whether the first speech recognition result is accurate;

[0109] The first determination submodule is configured to determine that the first speech recognition result is accurate if the feedback result is used to indicate that the first speech recognition result is accurate.

[0110] Optionally, the first determining module 52 includes:

[0111] A second determination submodule is configured to determine whether a second voice operation instruction is received within a preset time period after the first voice operation instruction is received;

[0112] a recognition submodule, configured to recognize the second voice operation instruction upon receiving the second voice operation instruction, so as to obtain a second voice recognition result; and

[0113] A third determination submodule is configured to determine whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user when the second voice operation instruction is received;

[0114] a fourth determination submodule, configured to determine the similarity between the first speech recognition result and the second speech recognition result when it is determined that the two speech recognition results belong to the same user;

[0115] The fifth determination submodule is configured to determine that the first speech recognition result is inaccurate when the similarity is greater than a preset threshold.

[0116] Optionally, the third determination submodule is configured to determine whether the users who input the first voice operation instruction and the second voice operation instruction are the same user based on the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction, or based on the biological features of the user who inputs the first voice operation instruction and the biological features of the user who inputs the second voice operation instruction, when the second voice operation instruction is received.

[0117] Optionally, the voice recognition result is text corresponding to the voice operation instruction; the device further includes:

[0118] A second determination module is configured to determine the same text in the first voice recognition result and the second voice recognition result when it is determined that the first voice recognition result is inaccurate;

[0119] The second recording module is configured to record the acoustic-related feature information of the speech corresponding to each identical text.

[0120] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0121] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the speech recognition method provided by the present disclosure when the program instructions are executed by a processor.

[0122] Figure 6 800 is a block diagram of a speech recognition device according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0123] Reference Figure 6 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0124] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned speech recognition method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0125] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 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.

[0126] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0127] The multimedia component 808 includes a screen that provides an output interface between the device 800 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 808 includes a front camera and / or a rear camera. When the device 800 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 rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0128] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

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

[0130] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0131] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 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 816 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 816 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.

[0132] In an exemplary embodiment, the device 800 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 perform the above-mentioned speech recognition method.

[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above-mentioned speech recognition method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0134] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned speech recognition method when executed by the programmable device.

[0135] Figure 7 1 is a block diagram of a speech recognition device according to an exemplary embodiment. For example, the device 1900 may be provided as a server. Figure 7 , the device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above-mentioned speech recognition method.

[0136] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output (I / O) interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM , Linux TM , FreeBSD TM or similar.

[0137] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0138] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A speech recognition method, characterized in that: include: In response to receiving a first voice operation instruction, recognizing the first voice operation instruction to obtain a first voice recognition result; Determining whether the first speech recognition result is accurate; When it is determined that the first voice recognition result is accurate, recording acoustic-related feature information of the first voice operation instruction; as well as If it is determined that the first voice recognition result is accurate, executing a target operation, wherein the target operation is an operation that should be executed when the first voice operation instruction is recognized; The determining whether the first speech recognition result is accurate includes: Determining whether a second voice operation instruction is received within a preset time period after receiving the first voice operation instruction; When the second voice operation instruction is received, recognizing the second voice operation instruction to obtain a second voice recognition result; and When the second voice operation instruction is received, determining whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user; In the case where it is determined that the two voice recognition results belong to the same user, determining the similarity between the first voice recognition result and the second voice recognition result; When the similarity is greater than a preset threshold, determining that the first speech recognition result is inaccurate; The voice recognition result is the text corresponding to the voice operation instruction; the method further includes: In the case where it is determined that the first speech recognition result is inaccurate, determining the same text in the first speech recognition result and the second speech recognition result; Record the acoustic-related feature information of the speech corresponding to each identical text.

2. The method according to claim 1, characterized in that: The determining whether the first speech recognition result is accurate includes: Outputting the first speech recognition result; receiving feedback information from a user regarding the first speech recognition result, wherein the feedback information is used to indicate whether the first speech recognition result is accurate; In a case where the feedback information is used to indicate that the first speech recognition result is accurate, it is determined that the first speech recognition result is accurate.

3. The method according to claim 1, characterized in that: The step of determining, when receiving the second voice operation instruction, whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user includes: When the second voice operation instruction is received, determine whether the users who input the first voice operation instruction and the second voice operation instruction are the same user based on the acoustic-related feature information of the first voice operation instruction and the acoustic-related feature information of the second voice operation instruction, or based on the biological features of the user who inputs the first voice operation instruction and the biological features of the user who inputs the second voice operation instruction.

4. The method according to any one of claims 1 to 3, characterized in that The acoustic-related feature information includes voiceprint.

5. A speech recognition device, characterized in that: include: a recognition module, configured to recognize the first voice operation instruction in response to receiving the first voice operation instruction, so as to obtain a first voice recognition result; A first determination module is configured to determine whether the first speech recognition result is accurate; A first recording module is configured to record acoustic-related feature information of the first voice operation instruction when determining that the first voice recognition result is accurate; as well as an execution module, configured to execute a target operation when determining that the first voice recognition result is accurate, wherein the target operation is an operation to be executed when the first voice operation instruction is recognized; The first determining module comprises: A second determination submodule is configured to determine whether a second voice operation instruction is received within a preset time period after the first voice operation instruction is received; a recognition submodule, configured to recognize the second voice operation instruction upon receiving the second voice operation instruction, so as to obtain a second voice recognition result; and A third determination submodule is configured to determine whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user when the second voice operation instruction is received; a fourth determination submodule, configured to determine the similarity between the first speech recognition result and the second speech recognition result when it is determined that the two speech recognition results belong to the same user; A fifth determination submodule is configured to determine that the first speech recognition result is inaccurate when the similarity is greater than a preset threshold; The voice recognition result is the text corresponding to the voice operation instruction; the device also includes: A second determination module is configured to determine the same text in the first voice recognition result and the second voice recognition result when it is determined that the first voice recognition result is inaccurate; The second recording module is configured to record the acoustic-related feature information of the speech corresponding to each identical text.

6. The device according to claim 5, characterized in that The first determining module comprises: An output submodule, configured to output the first speech recognition result; a receiving submodule, configured to receive feedback information from a user regarding the first speech recognition result, wherein the feedback information is used to indicate whether the first speech recognition result is accurate; The determination submodule is configured to determine that the first speech recognition result is accurate when the feedback information is used to indicate that the first speech recognition result is accurate.

7. A speech recognition device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: In response to receiving a first voice operation instruction, recognizing the first voice operation instruction to obtain a first voice recognition result; Determining whether the first speech recognition result is accurate; If it is determined that the first voice recognition result is accurate, recording acoustic-related feature information of the first voice operation instruction; and If it is determined that the first voice recognition result is accurate, executing a target operation, wherein the target operation is an operation that should be executed when the first voice operation instruction is recognized; The determining whether the first speech recognition result is accurate includes: Determining whether a second voice operation instruction is received within a preset time period after receiving the first voice operation instruction; When the second voice operation instruction is received, recognizing the second voice operation instruction to obtain a second voice recognition result; and When the second voice operation instruction is received, determining whether the user who inputs the first voice operation instruction and the second voice operation instruction is the same user; In the case where it is determined that the two voice recognition results belong to the same user, determining the similarity between the first voice recognition result and the second voice recognition result; When the similarity is greater than a preset threshold, determining that the first speech recognition result is inaccurate; The voice recognition result is text corresponding to the voice operation instruction, and when it is determined that the first voice recognition result is inaccurate, determining the same text in the first voice recognition result and the second voice recognition result; Record the acoustic-related feature information of the speech corresponding to each identical text.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented.