Control mechanism and device for speech recognition device as well as electronic device and storage medium

DE602022034384T2Active Publication Date: 2026-04-08GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2026-04-08

AI Technical Summary

Technical Problem

Existing speech recognition devices require a keyword to awaken, increasing use complexity and degrading user experience.

Method used

A method and apparatus that awaken a speech recognition device based on the interval between the user staring at the device and making a speech, eliminating the need for a wakeup word.

Benefits of technology

Simplifies the awakening process, improving user experience and accuracy by allowing direct speech control without requiring a keyword, enhancing convenience and practicality.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a technical field of artificial intelligence, and particularly relates to a method and apparatus for controlling a speech recognition device, an electronic device, and a storage medium.Background

[0002] With development of the Internet of Things technology and emergence of various speech devices, personal life experience has been greatly broadened. However, a speech-enabled service device can only start after awakened through a keyword, and then transmit a corresponding instruction to fulfill user requirements. In this way, use complexity is increased, and user experience of using a speech recognition device is degraded.

[0003] US 2020 / 0349966 A1 relates a hot-word free adaptation of one or more function(s) of an automated assistant. Sensor data, from one or more sensor components of an assistant device that provides an auto-mated assistant interface (graphical and / or audible), is processed to determine occurrence and / or confidence metric(s) of various attributes of a user that is proximal to the assistant device. Whether to adapt each of one or more of the function(s) of the automated assistant is based on the occurrence and / or the confidence of one or more of the various attributes. For example, certain processing of at least some of the sensor data can be initiated, such as initiating previously dormant local processing of at least some of the sensor data and / or initiating transmission of at least some of the audio data to remote automated assistant component(s).Summary

[0004] The invention provides a method and apparatus for controlling a speech recognition device, an electronic device, and a storage medium, so as to solve a problem of a complicated awakening mode of a speech device in the related art.

[0005] According to a first aspect, some embodiments of the invention provide a method for controlling a speech recognition device. The method includes: recording, when the speech recognition device is in a dormant state, current time as first time in response to detecting that a target object stares at the speech recognition device; recording the current time as second time in response to detecting that the target object makes a speech; and awakening the speech recognition device in response to determining that an interval between the first time and the second time satisfies a preset condition, such that the speech recognition device enters a speech control mode.

[0006] According to a second aspect, the invention provides an apparatus for controlling a speech recognition device. The apparatus includes: a first recording module configured to record, when the speech recognition device is in a dormant state, current time as first time in response to detecting that a target object stares at the speech recognition device; a second recording module configured to record the current time as second time in response to detecting that the target object makes a speech; and a first awakening module configured to awaken the speech recognition device in response to determining that an interval between the first time and the second time satisfies a preset condition, such that the speech recognition device enters a speech control mode.

[0007] According to a third aspect, the invention provides an electronic device. The electronic device includes a processor, a communication interface, a memory, and a communication bus. The processor, the communication interface and the memory are in communication with one another through the communication bus.

[0008] The memory is configured to store a computer program.

[0009] The processor is configured to execute the computer program stored in the memory, so as to implement steps of the method for controlling a speech recognition device according to the first aspect.

[0010] According to a fourth aspect, the invention provides a computer-readable storage medium, which stores a computer program. The computer program implements steps of the method for controlling a speech recognition device according to the first aspect when being executed by a processor.

[0011] Compared with the related art, the technical solution according to the example of the invention has the following advantages: According to the method of the examples of the invention, firstly, when the speech recognition device is in the dormant state, the current time is recorded as the first time in response to detecting that the target object stares at the speech recognition device; then, the current time is recorded as the second time in response to detecting that the target object makes the speech; and finally, the speech recognition device is awakened in response to determining that the interval between the first time and the second time satisfies the preset condition, such that the speech recognition device enters the speech control mode. According to the method, the speech recognition device is awakened according to an interval between time when the target object stares at the speech recognition device and time when the speech is made, and the target object does not need to firstly say a wakeup word to awaken the speech recognition device. In this way, complexity of awakening a speech device is reduced, user experience is improved, and further a problem of a complicated awakening mode of the speech device in the related art is solved.Brief Description of the Drawings

[0012] Accompanying drawings herein are incorporated in the description as a constituent part of the description, illustrate examples conforming to the invention, and serve to describe principles of the invention together with the description.

[0013] To more clearly describe technical solutions in examples of the invention or in the related art, the accompanying drawings required for description of the examples or the related art will be briefly introduced below. Obviously, those of ordinary skill in the art also derive other accompanying drawings from these accompanying drawings without making inventive efforts. Fig. 1 illustrates a schematic flow diagram of a method for controlling a speech recognition device according to an example of the invention; Fig. 2 illustrates a schematic flow diagram of a method for controlling a speech recognition device according to an example of the invention; Fig. 3 illustrates a schematic structural diagram of an apparatus for controlling a speech recognition device according to an example of the invention; and Fig. 4 illustrates a schematic structural diagram of an electronic device according to an example of the invention. Detailed Description of the Embodiments

[0014] For making objectives, technical solutions and advantages of examples of the invention more obvious, the technical solutions in the examples of the invention will be clearly and completely described below in conjunction with the accompanying drawings in the examples of the invention. Obviously, the described examples are some examples rather than all examples of the invention. On the basis of the examples of the invention, all other examples obtained by those of ordinary skill in the art without making creative efforts fall within the protection scope of the invention.

[0015] An aspect of an example of the invention provides a method for controlling a speech recognition device. In some embodiments, the method for controlling a speech recognition device is applied to a hardware environment consisting of a terminal and a server. The server is connected with the terminal through a network, and is configured to provide services for the terminal or a client configured on the terminal. A database is configured on the server or independently of the server, and is configured to provide a data storage service for the server.

[0016] The network includes, but is not limited to, at least one of the following: a wired network and a wireless network. The wired network include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The wireless network includes, but is not limited to, at least one of the following: wireless fidelity (WIFI) and Bluetooth. The terminal is limited to a personal computer (PC), a mobile phone, a tablet computer, etc.

[0017] The method for controlling a speech recognition device according to the example of the invention is executed by the server, or by the terminal, or jointly by the server and the terminal. The method for controlling a speech recognition device according to the example of the invention is executed by the terminal or the client configured on the terminal.

[0018] For instance, in a case that the method for controlling a speech recognition device according to the example is executed by the server, Fig. 1 is a schematic flow diagram of a method for controlling a speech recognition device according to an example of the invention. As shown in Fig. 1, the method includes the following steps: S201, when the speech recognition device is in a dormant state, current time is recorded as first time in response to detecting that a target object stares at the speech recognition device.

[0019] In the example, the speech recognition device is a smart speaker, a television or another household appliance. Operation states of the speech recognition device include the dormant state and a working state. When the speech recognition device is in the dormant state, the speech recognition device is in the working state only after the speech recognition device is awakened. When the speech recognition device is in the working state, the speech recognition device does not need to be awakened, and directly receive a speech of a user and execute a corresponding control instruction according to the speech of the user.

[0020] According to communication habits between people, they often stare at each other when communicating with others. Accordingly, people generally keep the habit when communicating with a speech device. When a user transmits an instruction to an intelligent speech recognition device, the user also stares at the device, so the current time when the user stares at the speech recognition device needs to be recorded.

[0021] S202, the current time is recorded as second time in response to detecting that the target object makes a speech.

[0022] In the example, whether the target object makes the speech is detected by a speech detection module in the speech recognition device. Even if the speech recognition device is in the dormant state, whether the target object makes the speech is detected all the time by the speech detection module in the speech recognition device.

[0023] S203, the speech recognition device is awakened in response to determining that an interval between the first time and the second time satisfies a preset condition, such that the speech recognition device enters a speech control mode.

[0024] In the example, the speech control mode is the working state of the speech recognition device. In response to determining that the interval between the first time and the second time does not satisfy the preset condition, the speech recognition device awakens the speech recognition device according to whether a wakeup word exists in the speech made by the target object. In this way, assistance is provided for a determination method with an interval between staring time and time when the speech is made, occurrence of missed determination is avoided, and further accuracy of awakening the speech recognition device is improved.

[0025] In an example, after the speech recognition device is awakened, the method further includes the following steps: whether a preset target keyword exists in the speech is detected; and the speech recognition device is controlled to execute an operation corresponding to the preset target keyword in response to detecting that the preset target keyword exists in the speech, and the speech recognition device is controlled to be switched to the dormant state in response to detecting that the preset target keyword does not exist in the speech.

[0026] In the example, after the speech recognition device is awakened, the target keyword in the speech is detected by the speech detection module. If the target keyword exists in the speech, intelligent speech recognition is controlled according to a control instruction corresponding to the target keyword, such that the speech recognition device is accurately controlled. Control of the speech recognition device of the example is based on the awakening mode of the invention. A user does not need to firstly say the wakeup word to awaken the speech recognition device and then control the speech recognition device, and control the speech recognition device while staring at the speech recognition device. In this way, it is more convenient for the user to use the intelligent speech recognition device, and user experience is greatly improved.

[0027] In practical application, a keyword of the speech made by the target object is retrieved through any speech keyword retrieval technology. For instance, the keyword of the speech made by the target object is retrieved through a deep neural network. After the target keyword is retrieved, whether the speech is made to the speech recognition device needs to be determined according to a meaning of the speech made by the user. In this way, false recognition of the speech recognition device is avoided, accuracy of user control is improved, and further user experience is improved.

[0028] In an example, the step that the speech recognition device is awakened in response to determining that the interval between the first time and the second time satisfies the preset condition includes the following step: in response to determining that the interval is shorter than or equal to a first predetermined value, it is determined that the target object has an intention to control the speech recognition device, and the speech recognition device is awakened.

[0029] On the basis of a user habit in use of the speech recognition device, when a user has an intention to use the speech recognition device, the user generally makes a speech soon after staring at the speech recognition device. Therefore, in the example, in response to determining that the interval is shorter than or equal to the first predetermined value, it is considered that the user has an intention to control the speech recognition device, and the speech recognition device is awakened.

[0030] The first predetermined value is determined by collecting big data and experiments to determine duration from time the user starts to stare at the device to time the user no longer has an intention to say a word to communicate with the device when the user uses the speech recognition device. In this way, control accuracy is further improved.

[0031] Clearly, in practical application, whether the user has the intention to control the speech recognition device is determined according to the interval between start time when the user stares at the speech recognition device and the time when the speech is made, or other duration, such that determination accuracy is further improved. In an example, the step that the speech recognition device is awakened in response to determining that the interval between the first time and the second time satisfies the preset condition includes the following step: in response to detecting that speech duration corresponding to the speech is shorter than or equal to a third predetermined value, it is determined that the target object has an intention to control the speech recognition device in response to determining that the interval is shorter than or equal to a second predetermined value, and the speech recognition device is awakened.

[0032] The user is chatting with other people in a space while staring at the speech recognition device, which cause false wakeup. Therefore, in the example, when the interval is shorter than or equal to the second predetermined value, duration of the speech made by the target object needs to be measured. If the speech duration of the user is longer than the third predetermined value, it is considered that the user is chatting with other people and has no intention to control the speech recognition device. If the speech duration of the user is shorter than or equal to the third predetermined value, it is considered that the user has the intention to control the speech recognition device.

[0033] A method for determining the second predetermined value and the third predetermined value is consistent with a method for determining the first predetermined value. Big data and experiments are collected to determine duration from time the user starts to stare at the device to time the user no longer has the intention to say a word to communicate with the device when the user uses the speech recognition device and a length of a sentence after staring.

[0034] In a specific example, whether the user has the intention to control the speech recognition device is determined according to duration of staring at the speech recognition device by the user.

[0035] In an example, the method further includes the following steps: a monitoring function of the speech recognition device is enabled in response to detecting that the target object does not stare at the speech recognition device; whether a preset wakeup word exists in the speech is monitored in response to monitoring that the target object makes the speech; the speech recognition device is awakened in response to determining that the preset wakeup word exists in the speech; an audio clip in the speech except an audio clip corresponding to the preset wakeup word is used as a target speech; semantic analysis is conducted on the target speech, and whether a preset target keyword exists in the target speech is determined; and the speech recognition device is controlled to operate according to a control instruction corresponding to the target keyword in response to determining that the target keyword exists in the target speech, and the speech recognition device is controlled to be switched to the dormant state in response to determining that the target keyword does not exist in the target speech.

[0036] In the example, in response to detecting that the target object does not stare at the speech recognition device, a monitoring function of an intelligent speech device is enabled to monitor whether the wakeup word exists in the speech made by the user. If the wakeup word exists, the speech recognition device is awakened. In the example, no matter where the wakeup word is located in the speech (for instance, "turn on the air conditioner, Xiaoming" or "Xiaoming, turn on the air conditioner"), the speech recognition device is awakened. Then, speech analysis is conducted according to parts other than the wakeup word. The speech recognition device is controlled if the target keyword exists, such that convenience and practicability of the speech recognition device is improved.

[0037] In practical application, the monitoring function is not only available when the user does not stare at the speech recognition device, and enabled all the time during use of the speech recognition device. As long as a wakeup word exists in the speech made by the user, the speech recognition device is awakened regardless of whether an interval between staring time and speech making time satisfies a condition. For instance, according to the first time and the second time of the user, in response to analyzing that the user has no intention to control the speech recognition device, whether the wakeup word exists in the speech made by the user is monitored, such that the device is awakened. Alternatively, according to the first time and the second time of the user, in response to analyzing that the user has the intention to control the speech recognition device and monitoring that the wakeup word exists in the speech made by the user, such that the device is awakened.

[0038] In an example, the steps that semantic analysis is conducted on the target speech, and whether the preset target keyword exists in the target speech is determined include the following steps: the target speech is decoded through a speech recognition model, and a candidate word sequence is obtained, where the speech recognition model is configured to convert the target speech into text data; a word grid is generated according to the candidate word sequence, a backtracking path corresponding to the candidate word sequence, and a matched score corresponding to the candidate word sequence; a word spelling in the word grid is retrieved according to a spelling of the preset target keyword, and a retrieval result is obtained; and it is determined that the preset target keyword exists in the target speech in response to determining that the word spelling of the preset target keyword exists in the retrieval result.

[0039] In the example, the target speech is analyzed through decoding, and whether a keyword exists in the target speech is determined, such that a more accurate control result is obtained. Clearly, in practical application, semantic analysis is conducted on the target speech in other ways, such as a neural network mentioned in the above content. Those skilled in the art select a proper way according to an actual situation.

[0040] In an example, the speech recognition device is provided with an eyeball tracking device. The step that the current time is recorded as the first time in response to detecting that the target object stares at the speech recognition device includes the following steps: a fall point of light reflected by an eyeball of the target object on the eyeball tracking device is obtained in response to determining that the eyeball tracking device emits light; a line-of-sight center of the target object is determined according to the fall point, eyeball shape information of the target object and a distance from the target object to the eyeball tracking device; and in response to determining that the line-of-sight center of the target object is located in a spatial zone where the speech recognition device is located, it is determined that the target object stares at the speech recognition device, and the current time is recorded as the first time.

[0041] In response to determining that two speech recognition devices exists in the space and the two speech recognition devices are close to each other, eyeball tracking devices of the two devices both detect eyeballs of the user. If the user is considered to stare at the device only by detecting the eyeball of the user, the device that the user has no intention to control is awakened. Therefore, in the example, the line-of-sight center of the user needs to be determined firstly. If the line-of-sight center of the user is on the speech recognition device, it is determined that the user stares at the speech recognition device. In this way, accuracy of awakening the speech device is improved.

[0042] The eyeball tracking device is an infrared device or an image collection device, such as a camera. The eyeball shape information is collected when the user uses the speech recognition device for the first time.

[0043] The technical solution of the invention will be further described in detail below in conjunction with specific embodiments.

[0044] Fig. 2 is a schematic flow diagram of a method for controlling a speech recognition device according to an example of the invention. As shown in Fig. 2, the method includes the following steps: Step 1, eyeball recognition and tracking is started: an eyeball of a user is tracked through an eyeball tracking device on the speech recognition device. Step 2, whether the user stares at the speech recognition device is observed, if the user stares at the speech recognition device, current time is recorded as the first time, whether the user has an intention to communicate with the speech recognition device is analyzed, and if the user does not stare at the speech recognition device, a monitoring function is enabled. Step 3, whether the user has a communication intention is determined according to an interval between the first time and the second time when the user makes a speech, if the interval is shorter than or equal to the first predetermined value, it is considered that the user has the communication intention, and if the interval is longer than the first predetermined value, the monitoring function is enabled.

[0045] When the user has the communication intention, the following steps are executed: Step 4, when the user has the communication intention, a speech device is awakened, and a speech of a user is received. Step 5, a meaning of the speech of the user is analyzed, and the speech recognition device is controlled to execute a corresponding instruction in response to determining that the target keyword exists in the speech of the user.

[0046] When the user has no communication intention or the user does not stare at the speech recognition device, the following steps are executed: Step 6, when the monitoring function is enabled, whether a wakeup word appears in the speech of the user is monitored. Step 7, a meaning of the speech except the wakeup word is analyzed, and the speech recognition device is controlled to execute a corresponding instruction in response to determining that a target keyword exists in the speech of the user.

[0047] According to the method for controlling a speech recognition device in all the examples, on the basis of the same inventive concept, the example further provides an apparatus for controlling a speech recognition device. The apparatus is configured to implement the examples and preferred embodiments, which will not be repeated herein. The term "module", as used below, achieves a combination of software and / or hardware having predetermined functions. While the apparatus described in the following examples is achieved in software, achievement of hardware, or a combination of software and hardware, is also possible and conceivable.

[0048] Fig. 3 is a schematic structural diagram of an apparatus for controlling a speech recognition device according to an example of the invention. As shown in Fig. 3, the apparatus includes: a first recording module 10 configured to record, when the speech recognition device is in a dormant state, current time as first time in response to detecting that a target object stares at the speech recognition device; a second recording module 20 configured to record the current time as second time in response to detecting that the target object makes a speech; and a first awakening module 30 configured to awaken the speech recognition device in response to determining that an interval between the first time and the second time satisfies a preset condition, such that the speech recognition device enters a speech control mode.

[0049] In an example, the apparatus further includes a speech detection module and a first control module. The speech detection module is configured to detect, after awakening the speech recognition device, whether a preset target keyword exists in the speech through the speech detection module. The first control module is configured to control the speech recognition device to execute an operation corresponding to the target keyword in response to detecting that the target keyword exists in the speech, and control the speech recognition device to be switched to the dormant state in response to detecting that the target keyword does not exist in the speech.

[0050] In an example, the first awakening module 30 includes a first awakening sub-module. The first awakening sub-module is configured to determine, in response to determining that the interval is shorter than or equal to the first predetermined value, that the target object has an intention to control the speech recognition device, and awaken the speech recognition device.

[0051] In an example, the first awakening module 30 includes a second awakening sub-module. The second awakening sub-module is configured to determine, in response to detecting that speech duration corresponding to the speech is shorter than or equal to the third predetermined value, that the target object has an intention to control the speech recognition device in response to determining that the interval is shorter than or equal to a second predetermined value, and awaken the speech recognition device.

[0052] It should be noted that all the modules is implemented by software or hardware, implementation by hardware is implemented as follows, but are not limited thereto: the modules are located in a same processor; or the modules are separately located in different processors in any combination form.

[0053] As shown in Fig. 4, an example of the invention provides an electronic device. The electronic device includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114. The processor 111, the communication interface 112 and the memory 113 are in communication with one another through the communication bus 114.

[0054] The memory 113 is configured to store a computer program.

[0055] In an example of the invention, the processor 111 is configured to execute the computer program stored in the memory 113, so as to implement the method for controlling a speech recognition device according to any method example.

[0056] An example of the invention further provides a computer-readable storage medium, which stores a computer program. The computer program implements steps of the method for controlling a speech recognition device according to any method example when being executed by a processor.

[0057] It should be noted that relational terms herein such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relation or order between such entities or operations. In addition, terms "include", "comprise", "involve", or any other variations thereof are intended to cover non-exclusive inclusions, such that a process, a method, an article, or a device including a series of elements not only includes those elements, but also includes other elements that are not explicitly listed, or also includes inherent elements of the process, the method, the article, or the device. Without more restrictions, the elements defined by the phrase "including a ..." or "comprising a ..." do not exclude the existence of other identical elements in the process, method, article, or device including the elements.

[0058] What are described above are only specific embodiments of the invention, such that those skilled in the art can understand or implement the invention. Various modifications to the examples are readily obvious to those skilled in the art. Therefore, the invention is not limited to the examples shown herein.

Claims

1. A method for controlling a speech recognition device, comprising: recording, when the speech recognition device is in a dormant state, current time as first time in response to detecting that a target object stares at the speech recognition device; recording the current time as second time in response to detecting that the target object makes a speech; and awakening the speech recognition device in response to determining that an interval between the first time and the second time satisfies a preset condition, such that the speech recognition device enters a speech control mode; characterized in that: the awakening the speech recognition device in response to determining that an interval between the first time and the second time satisfies the preset condition comprises: determining, in response to detecting that speech duration corresponding to the speech is shorter than or equal to a third predetermined value, that the target object has an intention to control the speech recognition device in response to determining that the interval is shorter than or equal to a second predetermined value, and awakening the speech recognition device.

2. The method as claimed in claim 1, wherein after the awakening the speech recognition device, the method further comprises: detecting whether a preset target keyword exists in the speech; and controlling the speech recognition device to execute an operation corresponding to the preset target keyword in response to detecting that the preset target keyword exists in the speech, and controlling the speech recognition device to be switched to the dormant state in response to detecting that the preset target keyword does not exist in the speech.

3. The method as claimed in claim 1, wherein the awakening the speech recognition device in response to determining that an interval between the first time and the second time satisfies a preset condition comprises: determining, in response to determining that the interval is shorter than or equal to a first predetermined value, that the target object has an intention to control the speech recognition device, and awakening the speech recognition device.

4. The method as claimed in claim 1, further comprising: enabling a monitoring function of the speech recognition device in response to detecting that the target object does not stare at the speech recognition device; detecting whether a preset wakeup word exists in the speech in response to monitoring that the target object makes the speech; awakening the speech recognition device in response to determining that the preset wakeup word exists in the speech; using an audio clip in the speech except an audio clip corresponding to the preset wakeup word as a target speech, conducting semantic analysis on the target speech, and determining whether a preset target keyword exists in the target speech; and controlling the speech recognition device to operate according to a control instruction corresponding to the target keyword in response to determining that the preset target keyword exists in the target speech, and controlling the speech recognition device to be switched to the dormant state in response to determining that the preset target keyword does not exist in the target speech.

5. The method as claimed in claim 4, wherein the conducting semantic analysis on the target speech, and determining whether the preset target keyword exists in the target speech comprise: decoding the target speech through a speech recognition model, and obtaining a candidate word sequence, wherein the speech recognition model is configured to convert the target speech into text data; generating a word grid according to the candidate word sequence, a backtracking path corresponding to the candidate word sequence, and a matched score corresponding to the candidate word sequence; retrieving a word spelling in the word grid according to a spelling of the preset target keyword, and obtaining a retrieval result; and determining that the preset target keyword exists in the target speech in response to determining that the word spelling of the preset target keyword exists in the retrieval result.

6. The method as claimed in claim 1, wherein the speech recognition device is provided with an eyeball tracking device, and the recording current time as the first time in response to detecting that the target object stares at the speech recognition device comprises: obtaining a fall point of light reflected by an eyeball of the target object on the eyeball tracking device in response to determining that the eyeball tracking device emits light; determining a line-of-sight center of the target object according to the fall point, eyeball shape information of the target object and a distance from the target object to the eyeball tracking device; and determining, in response to determining that the line-of-sight center of the target object is located in a spatial zone where the speech recognition device is located, that the target object stares at the speech recognition device, and recording the current time as the first time.

7. An apparatus for controlling a speech recognition device, comprising: a first recording module configured to record, when the speech recognition device is in a dormant state, current time as first time in response to detecting that a target object stares at the speech recognition device; a second recording module configured to record the current time as second time in response to detecting that the target object makes a speech; and a first awakening module configured to awaken the speech recognition device in response to determining that an interval between the first time and the second time satisfies a preset condition, such that the speech recognition device enters a speech control mode; wherein the first awakening module comprises a second awakening sub-module, the second awakening sub-module is configured to determine, in response to detecting that speech duration corresponding to the speech is shorter than or equal to a third predetermined value, that the target object has an intention to control the speech recognition device in response to determining that the interval is shorter than or equal to a second predetermined value, and awaken the speech recognition device.

8. An electronic device, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface and the memory are in communication with one another through the communication bus; the memory is configured to store a computer program; and the processor is configured to execute the computer program stored in the memory, so as to implement the method for controlling a speech recognition device as claimed in any one of claims 1-6.

9. A computer-readable storage medium, storing a computer program, wherein the computer program implements the method for controlling a speech recognition device as claimed in any one of claims 1-7 when being executed by a processor.

10. The apparatus for controlling a speech recognition device as claimed in claim 7, wherein the apparatus for controlling a speech recognition device comprises: a speech detection module, configured to detect after awakening the speech recognition device, whether a preset target keyword exists in the speech; a first control module, configured to control the speech recognition device to execute an operation corresponding to a target keyword in response to detecting that the target keyword exists in the speech, and control the speech recognition device to be switched to the dormant state in response to detecting that the target keyword does not exist in the speech.

11. The apparatus for controlling a speech recognition device as claimed in claim 7, wherein the first awakening module comprises a first awakening sub-module, the first awakening sub-module is configured to determine, in response to determining that the interval is shorter than or equal to a first predetermined value, that the target object has an intention to control the speech recognition device, and awaken the speech recognition device.