CN107591155B - Voice recognition method and device, terminal and computer readable storage medium - Google Patents

Voice recognition method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107591155B
CN107591155B CN201710758076.4A CN201710758076A CN107591155B CN 107591155 B CN107591155 B CN 107591155B CN 201710758076 A CN201710758076 A CN 201710758076A CN 107591155 B CN107591155 B CN 107591155B
Authority
CN
China
Prior art keywords
voice recognition
terminal
module
voice
functional module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710758076.4A
Other languages
Chinese (zh)
Other versions
CN107591155A (en
Inventor
廖伟健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710758076.4A priority Critical patent/CN107591155B/en
Publication of CN107591155A publication Critical patent/CN107591155A/en
Application granted granted Critical
Publication of CN107591155B publication Critical patent/CN107591155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a voice recognition method and a voice recognition device, which are applied to a terminal. The voice recognition method comprises the following steps: acquiring voice information through a voice acquisition module of the terminal; recognizing the voice information to obtain a voice recognition result; if no instruction matched with the voice recognition result is inquired in a preset voice recognition library, extracting a keyword from the voice recognition result, and detecting the running state of a functional module of the terminal associated with the keyword; and generating a control instruction according to the detection result of the running state of the functional module, and adjusting the running state of the functional module according to the control instruction. By adopting the method and the device, the operation condition of the associated system function module can be detected through the keywords of the voice recognition result under the condition of incomplete voice recognition, and the corresponding control instruction is generated according to the detection result, so that the voice recognition function of the voice assistant is more intelligent and the interaction efficiency is higher.

Description

Voice recognition method and device, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of speech recognition technologies, and in particular, to a speech recognition method and apparatus, a terminal, and a computer-readable storage medium.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims and the detailed description. The description herein is not admitted to be prior art by inclusion in this section.
The current voice recognition technology is mature and widely applied in life, such as voice dialing, voice navigation, voice wake-up equipment, text input, etc. However, the current speech recognition technology can only mechanically recognize the existing information in the speech recognition library, and cannot accurately recognize some speech commands with inaccurate, fuzzy or incomplete accents, so that misoperation, misrecognition or non-recognition easily occurs, thereby limiting the wide application of the speech technology and having poor user experience effect.
Disclosure of Invention
In view of the above, it is desirable to provide a voice recognition method and apparatus, a terminal and a computer-readable storage medium, which can detect the operation status of the associated system function module by using the local keyword of the voice recognition result as a clue under the condition of incomplete voice recognition, and predict the user's intention and generate a corresponding control instruction according to the detection result, so that the voice recognition function of the voice assistant is more intelligent and has higher interaction efficiency.
An aspect of an embodiment of the present invention provides a voice recognition method, which is applied to a terminal. The voice recognition method comprises the following steps:
acquiring voice information through a voice acquisition module of the terminal;
recognizing the voice information to obtain a voice recognition result;
if no instruction matched with the voice recognition result is inquired in a preset voice recognition library, extracting a keyword from the voice recognition result, and detecting the running state of a functional module of the terminal associated with the keyword; and
and generating a control instruction according to the detection result of the running state of the functional module, and adjusting the running state of the functional module according to the control instruction.
Further, in the foregoing speech recognition method provided in an embodiment of the present invention, the generating a control instruction according to a detection result of an operating state of the functional module includes:
outputting corresponding prompt information according to the detection result of the running state of the functional module;
and receiving an operation input according to the prompt message, and generating a corresponding control instruction according to the operation.
Further, in the foregoing speech recognition method provided in an embodiment of the present invention, the detecting an operation state of a function module of the terminal associated with the keyword includes:
querying the running state of the functional module of the terminal associated with the keyword;
and judging whether the running state of the functional module associated with the keyword is abnormal or not according to the current system state of the terminal.
Further, in the foregoing speech recognition method provided in an embodiment of the present invention, the generating a control instruction according to a detection result of an operating state of the functional module includes:
if the running state of the functional module associated with the keyword is abnormal, determining a processing mode of the abnormal functional module according to the current system state of the terminal; and
and matching a corresponding control instruction according to the processing mode.
Further, the voice recognition method provided by the embodiment of the present invention further includes:
and correspondingly storing the collected voice information and the control instruction in the preset voice recognition library.
The embodiment of the invention also provides a voice recognition device which is applied to the terminal. The speech recognition apparatus includes:
the acquisition module is used for acquiring voice information through a sound acquisition module of the terminal;
the voice recognition module is used for recognizing the voice information to obtain a voice recognition result;
the instruction matching module is used for inquiring an instruction matched with the voice recognition result in a preset voice recognition library;
the analysis module is used for extracting key words from the voice recognition result when no instruction matched with the voice recognition result is inquired in the preset voice recognition library;
the detection module is used for detecting the running state of the functional module of the terminal associated with the keyword;
the instruction matching module is also used for generating a control instruction according to the detection result of the running state of the functional module;
and the control module is used for adjusting the running state of the functional module according to the control instruction.
Further, in the voice recognition apparatus provided in the embodiment of the present invention, the instruction matching module is specifically configured to output corresponding prompt information according to a detection result of an operation state of the function module, receive an operation input according to the prompt information, and generate a corresponding control instruction according to the operation.
Further, in the voice recognition apparatus provided in the embodiment of the present invention, the detection module is specifically configured to query an operating state of a function module of the terminal that is associated with the keyword;
the voice recognition device further comprises an analysis module, and the analysis module is used for judging whether the running state of the functional module related to the keyword is abnormal or not according to the current system state of the terminal.
Further, in the speech recognition apparatus provided in the embodiment of the present invention, the analysis module is further configured to determine, when it is determined that the operating state of the functional module associated with the keyword is abnormal, a processing manner of the abnormal functional module according to a current system state of the terminal;
the instruction matching module is also used for matching out a corresponding control instruction according to the processing mode.
Further, in the voice recognition apparatus provided in the embodiment of the present invention, the control module is further configured to correspondingly store the collected voice information and the control instruction in the preset voice recognition library.
In another aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a processor, and the processor is configured to implement the steps of any one of the foregoing speech recognition methods when executing a computer program stored in a memory.
Yet another aspect of the embodiments of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any of the above-mentioned speech recognition methods.
The voice recognition method provided by the invention can detect the operation condition of the associated system function module by taking the local keyword of the voice recognition result as a clue under the condition of incomplete voice recognition, pre-judges the intention of the user according to the detection result and generates a corresponding control instruction, thereby allowing the user to input less or more abstract voice information, and ensuring that the voice recognition function of the voice assistant is more intelligent and the interaction efficiency is higher.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a speech recognition method provided in one embodiment of the present invention;
fig. 2 is a schematic structural diagram of a speech recognition apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Description of the main elements
Terminal 1
Speech recognition device 10
Acquisition module 11
Speech recognition module 12
Instruction matching module 13
Analysis module 14
Detection module 15
Analysis module 16
Control module 17
Processor 20
Memory 30
Computer program 40
Sound collection module 50
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. In addition, the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 is a flowchart of a speech recognition method according to an embodiment of the present invention, where the speech recognition method is applied to a terminal. The terminal may be a computer device with a voice recognition function, such as a smartphone, a notebook computer, a desktop/tablet computer, a personal digital assistant, and the like. It should be noted that the speech recognition method according to the embodiment of the present invention is not limited to the steps and the sequence in the flowchart shown in fig. 1. Steps in the illustrated flowcharts may be added, removed, or changed in order according to various needs.
In one embodiment, if the voice assistant of the terminal is in the activated state, the voice information can be collected through the voice collecting module of the terminal.
As shown in fig. 1, the speech recognition method may include the steps of:
step 101, voice information is collected through a sound collection module of a terminal.
Step 102, recognizing the voice information to obtain a voice recognition result.
And 103, if no instruction matched with the voice recognition result is inquired in a preset voice recognition library, extracting a keyword from the voice recognition result, and detecting the running state of the functional module of the terminal associated with the keyword.
In this embodiment, the detecting the operation state of the functional module of the terminal associated with the keyword includes:
querying the running state of the functional module of the terminal associated with the keyword;
and judging whether the running state of the functional module associated with the keyword is abnormal or not according to the current system state of the terminal.
For example, when the user turns on the voice assistant and inputs the voice message of "hello, please help me to turn off the portable hotspot", due to the influence of factors such as external environment, the voice assistant may only recognize a local vocabulary, such as "you X, XXX portable XX" (X represents unrecognized content), and the voice recognition method may search the function module of the system for a local keyword, such as "you", "portable", and find the setting item of the "portable hotspot". When the switch of the portable hotspot is found to be in an open state (normally, the switch is in a closed state in the next time), the abnormal state of the switch of the portable hotspot is judged.
And 104, generating a control instruction according to the detection result of the running state of the functional module, and adjusting the running state of the functional module according to the control instruction.
In this embodiment, the generating a control command according to the detection result of the operating state of the functional module includes:
outputting corresponding prompt information according to the detection result of the running state of the functional module;
and receiving an operation input according to the prompt message, and generating a corresponding control instruction according to the operation.
The prompt message may be a message containing one or more adjustment modes for the operation status of the functional module, and the operation may be a response signal to the prompt message, for example, selecting or confirming an adjustment mode in the prompt message, where the response signal includes but is not limited to: voice input signals, touch input signals, key input signals.
For example, when the voice recognition method finds that the switch of the "portable hotspot" is in an on state, it can be determined that the user's intention is to turn off the "portable hotspot", and thus a prompt message "does ask for a question to turn off the portable hotspot? When the user inputs a 'yes' response signal, the voice recognition method obtains an accurate judgment and generates a corresponding control instruction according to the judgment.
Therefore, the intention of the user is guessed through detecting the operation condition of the system, the application of the voice assistant allows the user to input less or more abstract voice, and the keywords of the voice recognition result are matched through reversely checking the state of the system, so that the understanding of the intention of the user is improved.
In addition, the prompt information is output so that a user can select or confirm the adjustment mode of the running state of the functional module, and a corresponding control instruction is generated according to the selection or confirmation operation of the user, so that the accuracy of the generated control instruction can be further improved, and the misoperation caused by the inaccuracy of the generated control instruction can be effectively prevented.
In this embodiment, the generating a control command according to the detection result of the operating state of the functional module may further include:
if the running state of the functional module associated with the keyword is abnormal, determining a processing mode of the abnormal functional module according to the current system state of the terminal; and
and matching a corresponding control instruction according to the processing mode.
It is understood that the functional modules include software program modules and hardware modules, and the processing manner of the functional modules with exception includes but is not limited to: and starting the abnormal system module and closing the abnormal system module.
In this embodiment, the speech recognition method further includes:
and correspondingly storing the collected voice information and the control instruction in the preset voice recognition library.
For example, the voice information and the control instruction are stored in the preset voice recognition library after establishing a mapping relationship, so that corresponding instructions can be quickly matched according to the same or similar voice information in the following process, and the voice recognition efficiency is optimized.
It is understood that the speech recognition method may further include the steps of:
and if the instruction matched with the voice recognition result is inquired in a preset voice recognition library, controlling the terminal to execute the operation corresponding to the matched instruction.
The voice recognition method provided by the invention can detect the operation condition of the associated system function module by taking the local keyword of the voice recognition result as a clue under the condition of incomplete voice recognition, pre-judges the intention of the user according to the detection result and generates a corresponding control instruction, thereby allowing the user to input less or more abstract voice information, and ensuring that the voice recognition function of the voice assistant is more intelligent and the interaction efficiency is higher.
Fig. 2 is a schematic structural diagram of a speech recognition apparatus according to an embodiment of the present invention, where the speech recognition apparatus is applied to a terminal. The speech recognition apparatus may include one or more modules stored in a memory of the terminal and configured to be executed by one or more processors (one processor in this embodiment) to accomplish the present invention. For example, referring to fig. 2, the speech recognition apparatus 10 may include a collection module 11, a speech recognition module 12, an instruction matching module 13, a parsing module 14, a detection module 15, an analysis module 16, and a control module 17. The modules referred to in the embodiments of the present invention may be program segments that perform a specific function, and are more suitable than programs for describing the execution process of software in a processor.
It is understood that, corresponding to the above-mentioned embodiments of the voice recognition method, the voice recognition device 10 may include some or all of the functional modules shown in fig. 2, and the functions of the modules 11 to 17 will be described in detail below. It should be noted that the same noun related nouns and their specific explanations in the above embodiments of the speech recognition method can also be applied to the following functional descriptions of the modules 11 to 17. For brevity and to avoid repetition, further description is omitted.
In this embodiment, if the voice assistant of the terminal is in the activated state, the voice information may be collected through the voice collecting module of the terminal.
The acquisition module 11 is used for acquiring voice information through a sound acquisition module of the terminal.
The speech recognition module 12 is configured to recognize the speech information to obtain a speech recognition result.
The instruction matching module 13 is configured to query an instruction matched with the speech recognition result in a preset speech recognition library.
The parsing module 14 is configured to extract a keyword from the speech recognition result when no instruction matching the speech recognition result is queried in the preset speech recognition library.
The detection module 15 is configured to detect an operation state of a function module of the terminal associated with the keyword.
In this embodiment, the detection module 15 is specifically configured to query an operation state of a function module of the terminal associated with the keyword.
The analysis module 16 is configured to determine whether an operating state of the functional module associated with the keyword is abnormal according to a current system state of the terminal.
For example, when the user turns on the voice assistant and inputs the voice message of "hello please help me to turn off the portable hotspot", due to the influence of factors such as external environment, the voice assistant may only recognize a local vocabulary, such as "you X, XXX portable XX" (X represents unrecognized content), and the detection module 15 may search the function module of the system for a local keyword, such as "you", "portable", and find the setting item of the "portable hotspot". When the switch of the "portable hotspot" is found to be in an open state (normally, the switch is in a closed state in the next time), the analysis module 16 determines that the switch state of the "portable hotspot" is abnormal.
In this embodiment, the instruction matching module 13 is further configured to generate a control instruction according to a detection result of the operation state of the functional module.
In this embodiment, the instruction matching module 13 is specifically configured to output corresponding prompt information according to a detection result of the operation state of the function module, receive an operation input according to the prompt information, and generate a corresponding control instruction according to the operation.
The prompt message may be a message containing one or more adjustment modes for the operation status of the functional module, and the operation may be a response signal to the prompt message, for example, selecting or confirming an adjustment mode in the prompt message, where the response signal includes but is not limited to: voice input signals, touch input signals, key input signals.
For example, when the instruction matching module 13 finds that the switch of the "portable hotspot" is in the on state, it may be determined that the user intends to turn off the "portable hotspot", and thus may output a prompt message "do asking for a request to turn off the portable hotspot? When the user inputs a response signal of "yes", the instruction matching module 13 obtains an accurate judgment, and generates a corresponding control instruction according to the judgment.
Therefore, the intention of the user is guessed through detecting the operation condition of the system, the application of the voice assistant allows the user to input less or more abstract voice, and the keywords of the voice recognition result are matched through reversely checking the state of the system, so that the understanding of the intention of the user is improved.
In addition, the prompt information is output so that a user can select or confirm the adjustment mode of the running state of the functional module, and a corresponding control instruction is generated according to the selection or confirmation operation of the user, so that the accuracy of the generated control instruction can be further improved, and the misoperation caused by the inaccuracy of the generated control instruction can be effectively prevented.
In this embodiment, the analysis module 16 is further configured to determine, when it is determined that the operating state of the functional module associated with the keyword is abnormal, a processing manner of the abnormal functional module according to a current system state of the terminal.
The instruction matching module 13 is further specifically configured to match a corresponding control instruction according to the processing manner.
In this embodiment, the control module 17 is configured to adjust the operation state of the functional module according to the control instruction.
It is understood that the functional modules include software program modules and hardware modules, and the processing manner of the functional modules with exception includes but is not limited to: and starting the abnormal system module and closing the abnormal system module.
In this embodiment, the control module 17 is further configured to correspondingly store the collected voice information and the control instruction in the preset voice recognition library.
For example, the voice information and the control instruction are stored in the preset voice recognition library after establishing a mapping relationship, so that corresponding instructions can be quickly matched according to the same or similar voice information in the following process, and the voice recognition efficiency is optimized.
It can be understood that the control module 17 is further configured to control the terminal to execute an operation corresponding to the matched instruction when the instruction matched with the voice recognition result is queried in a preset voice recognition library.
The voice recognition device provided by the invention can detect the operation condition of the associated system function module by taking the local keyword of the voice recognition result as a clue under the condition of incomplete voice recognition, pre-judges the intention of the user according to the detection result and generates a corresponding control instruction, thereby allowing the user to input less or more abstract voice information, and ensuring that the voice recognition function of the voice assistant is more intelligent and the interaction efficiency is higher.
The embodiment of the present invention further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the voice recognition method in the foregoing embodiment are implemented.
Fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 3, the terminal 1 includes: a processor 20, a memory 30, a computer program 40 (e.g. a speech recognition program) stored in said memory 30 and operable on said processor 20, and a sound collection module 50. The processor 20, when executing the computer program 40, implements the steps of the above-mentioned speech recognition method embodiments, such as the steps 101 to 104 shown in fig. 1. The processor 20, when executing the computer program 40, implements the functions of the modules/units, such as the modules 11-17, in the above-described device embodiments.
Illustratively, the computer program 40 may be partitioned into one or more modules/units that are stored in the memory 30 and executed by the processor 20 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 40 in the terminal 1. For example, the computer program 40 may be divided into the acquisition module 11, the speech recognition module 12, the instruction matching module 13, the analysis module 14, the detection module 15, the analysis module 16, and the control module 17 in fig. 2, and the specific functions of each of the modules 11 to 17 are described in detail with reference to the foregoing description, so that the details are not repeated herein for the sake of brevity and repetition avoidance.
The sound collection module 50 may be a sound sensor, a microphone, a speaker, etc.
The terminal 1 may be a computer device with a voice recognition function, such as a smart phone, a notebook computer, a desktop/tablet computer, and a personal digital assistant. It will be appreciated by a person skilled in the art that the schematic diagram 3 is only an example of the terminal 1 and does not constitute a limitation of the terminal 1, and may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the terminal 1 may further comprise input and output devices, network access devices, buses, etc.
The Processor 20 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 20 may be any conventional processor or the like, the processor 20 being the control center of the speech recognition apparatus 10/the terminal 1, various interfaces and lines connecting the various parts of the whole speech recognition apparatus 10/terminal 1.
The memory 30 is used for storing the computer program 40 and/or the module/unit, and the processor 20 implements various functions of the speech recognition apparatus 10/terminal 1 by running or executing the computer program and/or the module/unit stored in the memory 30 and calling data stored in the memory 30. The memory 30 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the terminal 1 (such as audio data, a phonebook, data set, acquired by applying the above-described voice recognition method, and the like), and the like. In addition, the memory 30 may include a high speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the speech recognition method described in the foregoing embodiment.
The speech recognition device 10/terminal 1/computer device integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
In the several embodiments provided in the present invention, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described terminal implementation is only illustrative, and for example, the division of the modules is only one logical function division, and another division may be implemented in practice.
In addition, each functional module in each embodiment of the present invention may be integrated into the same processing module, or each module may exist alone physically, or two or more modules may be integrated into the same module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
It will be evident to those skilled in the art that the embodiments of the present invention are not limited to the details of the foregoing illustrative embodiments, and that the embodiments of the present invention are capable of being embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the embodiments being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units, modules or means recited in the system, apparatus or terminal claims may also be implemented by one and the same unit, module or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention and not for limiting, and although the embodiments of the present invention are described in detail with reference to the above preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the embodiments of the present invention without departing from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A voice recognition method is applied to a terminal, and is characterized in that the voice recognition method comprises the following steps:
acquiring voice information through a voice acquisition module of the terminal;
recognizing the voice information to obtain a voice recognition result;
if no instruction matched with the voice recognition result is inquired in a preset voice recognition library, extracting a keyword from the voice recognition result, and inquiring the running state of a functional module of the terminal associated with the keyword;
judging whether the running state of the functional module associated with the keyword is abnormal or not according to the current system state of the terminal; and
if the running state of the functional module associated with the keyword is abnormal, determining a processing mode of the abnormal functional module according to the current system state of the terminal, matching a corresponding control instruction according to the processing mode, and adjusting the running state of the abnormal functional module according to the control instruction.
2. The speech recognition method of claim 1, wherein the matching of the corresponding control instructions according to the processing mode comprises:
outputting corresponding prompt information according to the judgment result of the running state of the functional module;
and receiving an operation input according to the prompt message, and generating a corresponding control instruction according to the operation.
3. The speech recognition method of claim 1, wherein the speech recognition method further comprises:
and correspondingly storing the collected voice information and the control instruction in the preset voice recognition library.
4. A voice recognition device applied to a terminal is characterized by comprising:
the acquisition module is used for acquiring voice information through a sound acquisition module of the terminal;
the voice recognition module is used for recognizing the voice information to obtain a voice recognition result;
the instruction matching module is used for inquiring an instruction matched with the voice recognition result in a preset voice recognition library;
the analysis module is used for extracting key words from the voice recognition result when no instruction matched with the voice recognition result is inquired in the preset voice recognition library;
the detection module is used for inquiring the running state of the functional module of the terminal associated with the keyword;
the analysis module is used for judging whether the running state of the functional module related to the keyword is abnormal or not according to the current system state of the terminal;
the analysis module is further used for determining a processing mode of the abnormal functional module according to the current system state of the terminal when judging that the running state of the functional module associated with the keyword is abnormal;
the instruction matching module is also used for matching a corresponding control instruction according to the processing mode;
and the control module is used for adjusting the running state of the abnormal functional module according to the control instruction.
5. A terminal, characterized in that the terminal comprises a processor for implementing the steps of the speech recognition method according to any one of claims 1-3 when executing a computer program stored in a memory.
6. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizes the steps of the speech recognition method according to any one of claims 1-3 when executed by a processor.
CN201710758076.4A 2017-08-29 2017-08-29 Voice recognition method and device, terminal and computer readable storage medium Active CN107591155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758076.4A CN107591155B (en) 2017-08-29 2017-08-29 Voice recognition method and device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758076.4A CN107591155B (en) 2017-08-29 2017-08-29 Voice recognition method and device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107591155A CN107591155A (en) 2018-01-16
CN107591155B true CN107591155B (en) 2020-10-09

Family

ID=61051649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758076.4A Active CN107591155B (en) 2017-08-29 2017-08-29 Voice recognition method and device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107591155B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108534187A (en) * 2018-03-08 2018-09-14 新智数字科技有限公司 A kind of control method and device of gas-cooker, a kind of gas-cooker
CN108616646A (en) * 2018-03-13 2018-10-02 努比亚技术有限公司 A kind of sound control method, equipment and computer readable storage medium
CN108520747A (en) * 2018-03-29 2018-09-11 浙江吉利汽车研究院有限公司 A kind of on-vehicle control apparatus with speech identifying function
CN108595271A (en) * 2018-04-27 2018-09-28 宇龙计算机通信科技(深圳)有限公司 A kind of memory method for cleaning and device
CN109147777A (en) * 2018-07-17 2019-01-04 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the method, apparatus for realizing directive property voice assistant
CN109241020B (en) * 2018-09-03 2022-08-02 珠海格力智能装备有限公司 Data processing method and system, storage medium and processor
CN109308899A (en) * 2018-09-12 2019-02-05 连尚(新昌)网络科技有限公司 A kind of hotspot connection method, equipment and the storage medium of voice control
CN110910869B (en) * 2018-09-14 2022-02-18 成都启英泰伦科技有限公司 Voice recognition method and device
CN109920408B (en) * 2019-01-17 2024-05-28 平安科技(深圳)有限公司 Dictionary item setting method, device, equipment and storage medium based on voice recognition
CN109785123A (en) * 2019-01-21 2019-05-21 中国平安财产保险股份有限公司 A kind of business handling assisted method, device and terminal device
CN110058835A (en) * 2019-02-26 2019-07-26 百度国际科技(深圳)有限公司 Apparatus control method, device and equipment
CN110808045A (en) * 2019-11-07 2020-02-18 深圳创维-Rgb电子有限公司 Detection method, device and equipment based on artificial intelligence and readable storage medium
CN110808889B (en) * 2019-11-11 2022-01-21 宁波奥克斯电气股份有限公司 Voice recognition method and device, household appliance and computer readable storage medium
CN111627437A (en) * 2020-05-07 2020-09-04 深圳力维智联技术有限公司 Intelligent equipment management method and system based on voice interaction
CN112581957B (en) * 2020-12-04 2023-04-11 浪潮电子信息产业股份有限公司 Computer voice control method, system and related device
CN114023328A (en) * 2022-01-06 2022-02-08 南京速冠信息技术有限公司 Industrial Internet of things digital information transmission system with optimized production line

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868827A (en) * 2012-09-15 2013-01-09 潘天华 Method of using voice commands to control start of mobile phone applications
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN105206266A (en) * 2015-09-01 2015-12-30 重庆长安汽车股份有限公司 Vehicle-mounted voice control system and method based on user intention guess
CN106098063A (en) * 2016-07-01 2016-11-09 海信集团有限公司 A kind of sound control method, terminal unit and server
CN106782526A (en) * 2016-12-12 2017-05-31 深圳Tcl数字技术有限公司 Sound control method and device
CN107025046A (en) * 2016-01-29 2017-08-08 阿里巴巴集团控股有限公司 Terminal applies voice operating method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012211932A (en) * 2011-03-30 2012-11-01 Toshiba Corp Voice recognition device and voice recognition method
CN103838991A (en) * 2014-02-20 2014-06-04 联想(北京)有限公司 Information processing method and electronic device
CN105825848A (en) * 2015-01-08 2016-08-03 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for voice recognition
EP3067884B1 (en) * 2015-03-13 2019-05-08 Samsung Electronics Co., Ltd. Speech recognition system and speech recognition method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868827A (en) * 2012-09-15 2013-01-09 潘天华 Method of using voice commands to control start of mobile phone applications
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN105206266A (en) * 2015-09-01 2015-12-30 重庆长安汽车股份有限公司 Vehicle-mounted voice control system and method based on user intention guess
CN107025046A (en) * 2016-01-29 2017-08-08 阿里巴巴集团控股有限公司 Terminal applies voice operating method and system
CN106098063A (en) * 2016-07-01 2016-11-09 海信集团有限公司 A kind of sound control method, terminal unit and server
CN106782526A (en) * 2016-12-12 2017-05-31 深圳Tcl数字技术有限公司 Sound control method and device

Also Published As

Publication number Publication date
CN107591155A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN107591155B (en) Voice recognition method and device, terminal and computer readable storage medium
CN106658129B (en) Terminal control method and device based on emotion and terminal
US20170164049A1 (en) Recommending method and device thereof
CN105931644B (en) A kind of audio recognition method and mobile terminal
CN105719649B (en) Audio recognition method and device
US10811005B2 (en) Adapting voice input processing based on voice input characteristics
US20180277119A1 (en) Speech dialogue device and speech dialogue method
US10510342B2 (en) Voice recognition server and control method thereof
US20220366880A1 (en) Method and electronic device for recognizing song, and storage medium
CN107393534B (en) Voice interaction method and device, computer device and computer readable storage medium
US11341954B2 (en) Training keyword spotters
US11423880B2 (en) Method for updating a speech recognition model, electronic device and storage medium
CN103106061A (en) Voice input method and device
CN108595406B (en) User state reminding method and device, electronic equipment and storage medium
US10950221B2 (en) Keyword confirmation method and apparatus
CN109360551B (en) Voice recognition method and device
US20200125603A1 (en) Electronic device and system which provides service based on voice recognition
CN111508472B (en) Language switching method, device and storage medium
CN104992715A (en) Interface switching method and system of intelligent device
CN108600559B (en) Control method and device of mute mode, storage medium and electronic equipment
CN105260080A (en) Method and device for realizing voice control operation on display screen of mobile terminal
WO2019076120A1 (en) Image processing method, device, storage medium and electronic device
CN113515594A (en) Intention recognition method, intention recognition model training method, device and equipment
KR20200119531A (en) An electronic device for genrating a natural language response and method thereof
CN114242047A (en) Voice processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant