CN106875945B - Voice control method and device and air conditioner - Google Patents

Voice control method and device and air conditioner Download PDF

Info

Publication number
CN106875945B
CN106875945B CN201710138703.4A CN201710138703A CN106875945B CN 106875945 B CN106875945 B CN 106875945B CN 201710138703 A CN201710138703 A CN 201710138703A CN 106875945 B CN106875945 B CN 106875945B
Authority
CN
China
Prior art keywords
voice
counter
recognized
instruction
air conditioner
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
CN201710138703.4A
Other languages
Chinese (zh)
Other versions
CN106875945A (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.)
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment 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 GD Midea Air Conditioning Equipment Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN201710138703.4A priority Critical patent/CN106875945B/en
Publication of CN106875945A publication Critical patent/CN106875945A/en
Priority to PCT/CN2017/090586 priority patent/WO2018161473A1/en
Application granted granted Critical
Publication of CN106875945B publication Critical patent/CN106875945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing (AREA)
  • Acoustics & Sound (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides a voice control method, a voice control device and an air conditioner, wherein the air conditioner comprises an outdoor unit shell, the shell is enclosed to form an air inlet, an air outlet and an air duct communicated with the air inlet and the air outlet, a fan and a heat exchanger are arranged in the air duct, and the voice control method comprises the following steps: and when the preset awakening words are recognized, entering a voice instruction recognition state, recognizing and executing the voice instructions in the voice instruction recognition state, and exiting the voice instruction recognition state when the recognized voice instructions reach a preset number and/or the voice instructions are not recognized within a preset duration. The method of the invention can simplify the operation during voice control, avoid the situation that the user repeatedly speaks the awakening word for many times, and increase the use convenience.

Description

Voice control method and device and air conditioner
Technical Field
The invention relates to the technical field of electric appliances, in particular to a voice control method and device and an air conditioner.
Background
Devices such as household appliances and mobile terminals are generally operated by a user clicking a control button. In order to increase the convenience of controlling the operation of the equipment, along with the continuous development of the technology, the equipment is controlled by adopting a voice mode, namely, the voice control mode is adopted.
In the prior art, when performing voice control, a user needs to speak a wakeup word first to enable a device to enter a recognition state, and then speak an instruction word to enable the device to execute the instruction, thereby realizing control over the device. However, if the user needs the device to execute a plurality of instructions, the user needs to speak the wakeup word before each instruction word is spoken, that is, the user needs to speak the wakeup word repeatedly many times, which is tedious.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems. Therefore, the present invention needs to provide a voice control method, a voice control device and an air conditioner, so as to simplify the operation steps of voice control and increase the convenience of use.
To solve the above problem, an embodiment of a first aspect of the present invention provides a voice control method, where the method includes:
when the preset awakening word is recognized, entering a voice instruction recognition state;
under the voice instruction recognition state, recognizing and executing the voice instruction;
and when the recognized voice commands reach the preset number and/or the voice commands are not recognized within the preset duration, exiting the voice command recognition state.
Optionally, in an embodiment of the present invention, the method further includes:
starting a counter when entering a voice instruction recognition state;
and counting the recognized voice instructions by using the counter so as to judge whether the recognized voice instructions reach a preset number.
Optionally, in an embodiment of the present invention, the counting, by using the counter, the recognized voice commands to determine whether the recognized voice commands reach a preset number includes:
setting the initial value of the counter to be the preset number when the counter is started;
subtracting the value of the counter by one whenever a voice instruction is recognized;
and when the value of the counter is zero, determining that the recognized voice commands reach a preset number.
Optionally, in an embodiment of the present invention, the method further includes:
starting a timer when entering a voice instruction recognition state;
and timing the time between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time.
Optionally, in an embodiment of the present invention, the timing, by using the timer, a time period between a time at which the wakeup word or the voice instruction is last recognized and a current time to determine whether the voice instruction is recognized within a preset time period includes:
when the timer is started, setting the initial value of the timer as the preset duration, and starting to count down;
resetting the timer to the preset duration and restarting to count down when a voice instruction is recognized;
and when the value of the timer is zero, determining that the voice instruction is not recognized in the preset time length.
Optionally, in an embodiment of the present invention, recognizing and executing the voice command in the voice command recognition state includes:
recognizing voice input by a user to obtain a voice instruction;
inquiring a control instruction corresponding to the voice instruction;
and controlling the equipment by adopting the control instruction.
Another embodiment of the present invention further provides a voice control apparatus, including:
the awakening module is used for entering a voice instruction identification state when a preset awakening word is identified;
the control module is used for identifying and executing the voice command in the voice command identification state;
and the dormancy module is used for exiting from the voice instruction recognition state when the recognized voice instructions reach the preset number and/or the voice instructions are not recognized within the preset time length.
Optionally, in an embodiment of the present invention, the apparatus further includes:
the counting module is used for starting a counter when entering a voice instruction recognition state; and counting the recognized voice instructions by using the counter so as to judge whether the recognized voice instructions reach a preset number.
Optionally, in an embodiment of the present invention, the counting module is specifically configured to:
setting the initial value of the counter to be the preset number when the counter is started; subtracting the value of the counter by one whenever a voice instruction is recognized; and when the value of the counter is zero, determining that the recognized voice commands reach a preset number.
Optionally, in an embodiment of the present invention, the apparatus further includes:
the timing module is used for starting a timer when entering a voice instruction recognition state; and timing the time between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time.
Optionally, in an embodiment of the present invention, the timing module is specifically configured to:
when the timer is started, setting the initial value of the timer as the preset duration, and starting to count down; resetting the timer to the preset duration and restarting to count down when a voice instruction is recognized; and when the value of the timer is zero, determining that the voice instruction is not recognized in the preset time length.
Optionally, in an embodiment of the present invention, the control module includes:
the recognition unit is used for recognizing the voice input by the user to obtain a voice instruction;
the query unit is used for querying the control instruction corresponding to the voice instruction;
and the control unit is used for controlling the equipment by adopting the control instruction.
An embodiment of the second aspect of the present invention further provides an air conditioner, including an outdoor unit casing, the outdoor unit casing enclosing an air inlet and an air outlet, and an air duct communicating the air inlet and the air outlet, a fan and a heat exchanger being disposed in the air duct, the air conditioner being configured to perform a voice control method, the method including:
when the preset awakening words are recognized, the air conditioner enters a voice instruction recognition state;
in the voice instruction recognition state, the air conditioner recognizes and executes a voice instruction;
and when the recognized voice commands reach the preset number and/or the voice commands are not recognized within the preset time, the air conditioner exits the voice command recognition state.
Optionally, in an embodiment of the present invention, the air conditioner is further configured to:
when entering a voice instruction recognition state, the air conditioner starts a counter;
and counting the recognized voice instructions by the air conditioner by utilizing the counter so as to judge whether the recognized voice instructions reach a preset number.
Optionally, in an embodiment of the present invention, the air conditioner is further configured to:
when entering a voice instruction recognition state, the air conditioner starts a timer;
and timing the time length between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time length.
Optionally, in an embodiment of the present invention, in the voice instruction recognition state, the recognizing and executing the voice instruction by the air conditioner includes:
the air conditioner identifies voice input by a user to obtain a voice instruction;
the air conditioner inquires a control instruction corresponding to the voice instruction;
and the air conditioner executes the control instruction.
The invention provides a voice control method, a voice control device and an air conditioner, wherein the air conditioner comprises an outdoor unit shell, the shell is enclosed to form an air inlet, an air outlet and an air duct communicated with the air inlet and the air outlet, a fan and a heat exchanger are arranged in the air duct, and the voice control method comprises the following steps: and when the preset awakening words are recognized, entering a voice instruction recognition state, recognizing and executing the voice instructions in the voice instruction recognition state, and exiting the voice instruction recognition state when the recognized voice instructions reach a preset number and/or the voice instructions are not recognized within a preset duration. The method of the invention can simplify the operation during voice control, avoid the situation that the user repeatedly speaks the awakening word for many times, and increase the use convenience.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a diagram illustrating a user's voice interaction with an air conditioner in the prior art;
fig. 2 is a schematic flow chart illustrating a voice control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a user's voice interaction with an air conditioner according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram illustrating a user's voice interaction with an air conditioner according to an embodiment of the present invention;
FIG. 5 is a third schematic diagram illustrating a user's voice interaction with an air conditioner according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a voice control apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another voice control apparatus according to an embodiment of the present invention.
Reference numerals
A wake-up module 61, a control module 62, a sleep module 63, a counting module 64, a timing module 65, an identification unit 621, a query unit 622 and a control unit 623.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize the applicability of other processes and/or the use of other materials. In addition, the structure of a first feature described below as "on" a second feature may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features are formed between the first and second features, such that the first and second features may not be in direct contact.
In the description of the present invention, it should be noted that, unless otherwise specified and limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, mechanically or electrically connected, or interconnected between two elements, directly or indirectly through an intermediate medium, and the specific meanings of the terms as described above will be understood by those skilled in the art according to the specific situation.
These and other aspects of embodiments of the invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the invention have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the invention may be practiced, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
The voice control method, apparatus and air conditioner according to the embodiments of the present invention will be described with reference to the accompanying drawings.
First, a speech control method according to an embodiment of the present invention will be described. In the prior art, in the interaction process between a user and a voice control device, a wake-up word needs to be spoken many times, in order to clearly illustrate the process in the prior art, an air conditioner is taken as an example for explanation, fig. 1 is a schematic diagram of voice interaction between the user and the air conditioner in the prior art, as shown in fig. 1, when the user wakes up for the first time, the user speaks the wake-up word "air conditioner", so that the device enters a recognition state, and performs a voice or text response of "please indicate" on a voice command spoken by the user, and then the user speaks the voice command "refrigeration mode", so that the device is set to the refrigeration mode, and after the setting is completed, the response "set to the refrigeration mode".
When the user needs to continue voice control of the device, a second wake-up is also needed. When waking up for the second time, the user still wants to say the word "air conditioner" that awakens up to make the equipment enter the recognition state, and carry out the pronunciation or the characters response of "please instruct" to the voice command that the user said, and then the user says voice command "26 degrees", makes the equipment set for 26 degrees, and after the setting is accomplished, the response "has set for 26 degrees".
A third wake-up is performed when the user still needs to continue voice control of the device. When waking up for the third time, the user still wants to say the word "air conditioner", so that the device enters the recognition state, and performs the voice or character response of "please indicate" to the voice command spoken by the user, and then the user says the voice command "maximum wind", so that the device is set to the maximum wind volume, and after the setting is completed, the response "set to the maximum wind volume" is performed.
Therefore, under the condition of executing three voice instructions, the user needs to repeat the awakening words three times, and if more voice instructions need to be executed, the user needs to repeat the awakening words more times, so that the operation is complex, and the user experience is poor.
To solve the problem, an embodiment of the present invention provides a voice control method, and fig. 2 is a flowchart illustrating the voice control method according to the embodiment of the present invention.
As shown in fig. 2, the voice control method according to the embodiment of the present invention includes the following steps:
step 101, entering a voice instruction recognition state when a preset awakening word is recognized.
In particular, as a possible implementation, a counter may be started upon entering the speech instruction recognition state. And counting the recognized voice instructions by using the counter so as to judge whether the recognized voice instructions reach a preset number.
As another possible implementation, a timer is started upon entering the voice command recognition state. And timing the time between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time.
As yet another possible implementation, a counter and timer may be started upon entering the voice instruction recognition state. And respectively counting the recognized voice instructions by using the counters so as to judge whether the recognized voice instructions reach a preset number. And timing the time between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time.
And 102, recognizing and executing the voice command in the voice command recognition state.
Specifically, voice input by a user is recognized to obtain a voice instruction, a control instruction corresponding to the voice instruction is further inquired, and the equipment is controlled by adopting the control instruction.
And 103, when the recognized voice commands reach a preset number and/or the voice commands are not recognized within a preset time length, exiting the voice command recognition state.
As a first possible implementation manner, when the counter is started, setting the initial value of the counter to be the preset number; subtracting the value of the counter by one whenever a voice instruction is recognized; and when the value of the counter is zero, determining that the recognized voice commands reach a preset number, and exiting from the voice command recognition state.
As a second possible implementation manner, when the timer is started, setting an initial value of the timer to be the preset duration, and starting to count down; resetting the timer to the preset duration and restarting to count down when a voice instruction is recognized; and when the value of the timer is zero, determining that the voice instruction is not recognized in the preset time length, and exiting from the voice instruction recognition state.
As a third possible implementation manner, when the counter is started, the initial value of the counter may be set to the preset number; and when the timer is started, setting the initial value of the timer as the preset duration, and starting to count down. When a voice instruction is recognized, subtracting one from the value of the counter, resetting the timer to the preset duration, and restarting to count down again; and when the value of the counter is zero or the value of the timer is zero, the voice instruction recognition state is exited.
As a fourth possible implementation manner, when the counter is started, the initial value of the counter may be set to the preset number; and when the timer is started, setting the initial value of the timer as the preset duration, and starting to count down. When a voice instruction is recognized, subtracting one from the value of the counter, resetting the timer to the preset duration, and restarting to count down again; and when the value of the counter is zero and the value of the timer is zero, the voice instruction recognition state is exited.
In this embodiment, the voice command recognition state is entered when the preset wake-up word is recognized, and then the voice command is recognized and executed in the voice command recognition state, and the voice command recognition state is exited when the recognized voice commands reach the preset number and/or the voice commands are not recognized within the preset duration. The method of the invention can simplify the operation during voice control, avoid the situation that the user repeatedly speaks the awakening word for many times, and increase the use convenience.
In order to clearly illustrate the above embodiment, the present embodiment provides an air conditioner to which the voice control method in the foregoing embodiment can be applied as a possible implementation manner, wherein the air conditioner includes an outdoor unit casing, the casing encloses an air inlet and an air outlet, and an air duct communicating the air inlet and the air outlet, and a fan and a heat exchanger are disposed in the air duct.
Specifically, when a preset wake-up word is recognized, the air conditioner enters a voice instruction recognition state; in the voice instruction recognition state, the air conditioner recognizes and executes a voice instruction; and when the recognized voice commands reach the preset number and/or the voice commands are not recognized within the preset time, the air conditioner exits the voice command recognition state.
Further, the air conditioner is also configured to: when entering a voice instruction recognition state, the air conditioner starts a counter; and counting the recognized voice instructions by the air conditioner by utilizing the counter so as to judge whether the recognized voice instructions reach a preset number.
And/or, the air conditioner is further configured to: when entering a voice instruction recognition state, the air conditioner starts a timer; and timing the time length between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time length.
Wherein, under voice command discernment state, the air conditioner discerns and carries out voice command, specifically includes: the air conditioner identifies voice input by a user to obtain a voice instruction; the air conditioner inquires a control instruction corresponding to the voice instruction; and the air conditioner executes the control instruction.
In order to clearly illustrate the air conditioner in this embodiment, this embodiment also provides three specific implementations.
As a possible implementation manner, fig. 3 is a schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention, and as shown in fig. 3, the user speaks a wakeup word "air conditioner" to make the air conditioner enter a voice instruction recognition state, and perform a voice or text response of "please" on the voice instruction spoken by the user. And when the air conditioner enters the recognition state, the air conditioner starts a counter, so that the air conditioner counts the recognized voice instructions by using the counter and judges whether the recognized voice instructions reach the preset number. As shown in fig. 3, the preset number is 3, and when the air conditioner starts the counter, the initial value of the counter is set to be 3.
Furthermore, after the user speaks the first voice command "cooling mode", the air conditioner is set to cooling mode, and after the setting is completed, the response "setting to cooling mode" is made, and the counter is decremented by one, so that the value of the counter is 2.
After the user speaks the second voice command "17 degrees", the air conditioner is set to 17 degrees, and after the setting is completed, the response "has been set to 17 degrees", and the counter is decremented by one so that the value of the counter becomes 1.
After the user speaks the third voice command "max wind", the air conditioner is set to the maximum wind volume, and after the setting is completed, the response "set to the maximum wind volume" is made, and the counter is decremented by one, so that the value of the counter is zero. And when the value of the counter is zero, determining that the recognized voice commands reach the preset number, and exiting from the voice command recognition state.
As a possible implementation manner, fig. 3 is a schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention, and as shown in fig. 3, the user speaks a wakeup word "air conditioner" to make the air conditioner enter a voice instruction recognition state, and perform a voice or text response of "please" on the voice instruction spoken by the user. And when the air conditioner enters the recognition state, the air conditioner starts a counter, so that the air conditioner counts the recognized voice instructions by using the counter and judges whether the recognized voice instructions reach the preset number. As shown in fig. 3, the preset number is 3, and when the air conditioner starts the counter, the initial value of the counter is set to be 3.
Furthermore, after the user speaks the first voice command "cooling mode", the air conditioner is set to cooling mode, and after the setting is completed, the response "setting to cooling mode" is made, and the counter is decremented by one, so that the value of the counter is 2.
After the user speaks the second voice command "17 degrees", the air conditioner is set to 17 degrees, and after the setting is completed, the response "has been set to 17 degrees", and the counter is decremented by one so that the value of the counter becomes 1.
After the user speaks the third voice command "max wind", the air conditioner is set to the maximum wind volume, and after the setting is completed, the response "set to the maximum wind volume" is made, and the counter is decremented by one, so that the value of the counter is zero. And when the value of the counter is zero, determining that the recognized voice commands reach the preset number, and exiting from the voice command recognition state.
Another possible implementation is described below with reference to the figures.
As another possible implementation manner, fig. 4 is a second schematic diagram of voice interaction between a user and an air conditioner according to the embodiment of the present invention, as shown in fig. 4, the user speaks a wake word "air conditioner" to make the air conditioner enter a voice instruction recognition state, and perform a voice or text response of "please" on the voice instruction spoken by the user. When the air conditioner enters the recognition state, the air conditioner starts a timer, so that the air conditioner times the time between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer to judge whether the voice instruction is recognized within the preset time. As shown in fig. 4, the preset time period is 15s, and when the air conditioner starts the timer, the initial value of the timer is set to 15s, and the countdown is started.
Furthermore, after the user speaks the first voice command "cooling mode", the air conditioner is set to cooling mode, and after the setting is completed, in response to "set to cooling mode", the timer is reset to the preset duration of 15s, and the counting down is restarted.
After the user speaks the second voice command "17 degrees", the air conditioner is set to 17 degrees, and after the setting is complete, the timer is reset to the preset duration of 15s in response to "having been set to 17 degrees" and the countdown is restarted.
After the user speaks the third voice instruction "max wind", the air conditioner is set to the maximum wind volume, and after the setting is completed, the timer is reset to the preset duration of 15s in response to "the maximum wind volume is set", and counting down is started again. And when the value of the counter is zero, determining that the voice instruction is not recognized within 15s continuously, and exiting from the voice instruction recognition state.
Still another possible implementation is described below with reference to the figures.
As another possible implementation manner, fig. 5 is a third schematic diagram of voice interaction between a user and an air conditioner according to the embodiment of the present invention, and as shown in fig. 5, the user speaks a wakeup word "air conditioner" to make the air conditioner enter a voice instruction recognition state, and perform a voice or text response of "please" on the voice instruction spoken by the user. When the air conditioner enters the recognition state, the air conditioner starts a timer and a counter, so that the air conditioner times the time between the moment of recognizing the awakening word or the voice instruction for the last time and the current moment by using the timer to judge whether the voice instruction is recognized in the preset time, and meanwhile, the air conditioner counts the recognized voice instructions by using the counter to judge whether the recognized voice instructions reach the preset number. As shown in fig. 5, the preset time period is 15s, when the air conditioner starts the timer, the initial value of the timer is set to be 15s, and the countdown is started; meanwhile, the preset number is 5, and when the air conditioner starts the counter, the initial value of the counter is set to be 5.
Furthermore, after the user speaks the first voice instruction "cooling mode", the air conditioner is set to cooling mode, and after the setting is completed, the timer is reset to the preset duration 15s in response to the "setting to cooling mode", counting down is restarted, and the counter is decremented by one, so that the value of the counter is 4.
After the user speaks the second voice command of '17 degrees', the air conditioner is set to 17 degrees, and after the setting is completed, the timer is reset to the preset time length of 15s in response to 'the setting is already set to 17 degrees', the counting down is restarted, the counter is decreased by one, and therefore the value of the counter is 3.
After the user speaks the third voice instruction "maximum wind", the air conditioner is set to the maximum wind volume, and after the setting is completed, the timer is reset to the preset duration of 15s in response to the fact that the "maximum wind volume" is set, counting down is restarted, the counter is decremented by one, and therefore the value of the counter is 2.
And when the value of the counter is zero or the value of the counter is zero, the voice instruction recognition state is exited.
In this embodiment, the voice command recognition state is entered when the preset wake-up word is recognized, and then the voice command is recognized and executed in the voice command recognition state, and the voice command recognition state is exited when the recognized voice commands reach the preset number and/or the voice commands are not recognized within the preset duration. The method of the invention can simplify the operation during voice control, avoid the situation that the user repeatedly speaks the awakening word for many times, and increase the use convenience.
In order to clearly illustrate the voice control method provided in the foregoing embodiment, the present embodiment further provides a voice control device corresponding to the voice control method, and as a possible application scenario, the voice control device may be disposed in an air conditioner. The air conditioner comprises an outdoor unit shell, wherein the outdoor unit shell is enclosed to form an air inlet, an air outlet and an air channel communicated with the air inlet and the air outlet, and a fan and a heat exchanger are arranged in the air channel.
It should be noted that, as can be understood by those skilled in the art, the voice control device may also be applied to other devices, and this embodiment is not limited thereto.
Fig. 6 is a schematic structural diagram of a voice control apparatus according to an embodiment of the present invention, as shown in fig. 6, including: a wake-up module 61, a control module 62 and a sleep module 63.
And the awakening module 61 is used for entering a voice instruction identification state when the preset awakening word is identified.
And the control module 62 is used for recognizing and executing the voice command in the voice command recognition state.
And the dormancy module 63 is configured to exit from the voice instruction recognition state when the recognized voice instructions reach a preset number and/or when the voice instructions are not recognized within a preset time length.
Further, as a possible implementation manner, fig. 7 is a schematic structural diagram of another voice control apparatus provided in the embodiment of the present invention, as shown in fig. 7, based on fig. 6, the voice control apparatus further includes: a counting module 64 and a timing module 65.
A counting module 64, configured to start a counter when entering a voice instruction recognition state; and counting the recognized voice instructions by using the counter so as to judge whether the recognized voice instructions reach a preset number.
Specifically, the counting module 64 is specifically configured to: setting the initial value of the counter to be the preset number when the counter is started; subtracting the value of the counter by one whenever a voice instruction is recognized; and when the value of the counter is zero, determining that the recognized voice commands reach a preset number.
A timing module 65, configured to start a timer when entering a voice instruction recognition state; and timing the time between the moment of recognizing the awakening word or the voice instruction at the last time and the current moment by using the timer so as to judge whether the voice instruction is recognized within the preset time.
Specifically, the timing module 65 is specifically configured to: when the timer is started, setting the initial value of the timer as the preset duration, and starting to count down; resetting the timer to the preset duration and restarting to count down when a voice instruction is recognized; and when the value of the timer is zero, determining that the voice instruction is not recognized in the preset time length.
Further, the control module 62 includes: an identification unit 621, a query unit 622 and a control unit 623.
The recognition unit 621 is configured to recognize a voice input by a user to obtain a voice instruction.
The query unit 622 is configured to query the control instruction corresponding to the voice instruction.
And a control unit 623, configured to control the device by using the control instruction.
Therefore, the voice control method, the voice control device and the air conditioner provided by the embodiment of the invention comprise an outdoor unit shell, wherein the shell is enclosed to form an air inlet, an air outlet and an air duct communicated with the air inlet and the air outlet, a fan and a heat exchanger are arranged in the air duct, and the voice control method comprises the following steps: and when the preset awakening words are recognized, entering a voice instruction recognition state, recognizing and executing the voice instructions in the voice instruction recognition state, and exiting the voice instruction recognition state when the recognized voice instructions reach a preset number and/or the voice instructions are not recognized within a preset duration. The method of the invention can simplify the operation during voice control, avoid the situation that the user repeatedly speaks the awakening word for many times, and increase the use convenience.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. A method for voice control, the method comprising:
when the preset awakening word is recognized, entering a voice instruction recognition state;
under the voice instruction recognition state, recognizing and executing the voice instruction;
starting a counter and a timer when entering a voice instruction recognition state;
when the timer is started, setting the initial value of the timer as a preset duration, and starting to count down;
setting the initial value of the counter as a preset number when the counter is started;
resetting the timer to the preset duration when a voice instruction is recognized, restarting counting down, and subtracting one from the value of the counter;
and when the value of the counter is zero, determining that the recognized voice commands reach a preset number, determining that the voice commands are not recognized within the preset time length, and exiting from the voice command recognition state.
2. The voice control method according to claim 1, wherein recognizing and executing the voice command in the voice command recognition state comprises:
recognizing voice input by a user to obtain a voice instruction;
inquiring a control instruction corresponding to the voice instruction;
and controlling the equipment by adopting the control instruction.
3. A voice control apparatus, characterized in that the apparatus comprises:
the awakening module is used for entering a voice instruction identification state when a preset awakening word is identified;
the control module is used for identifying and executing the voice command in the voice command identification state;
the counting module is used for starting a counter and a timer when entering a voice instruction recognition state, setting the initial value of the timer as preset duration and starting countdown when the timer is started, setting the initial value of the counter as a preset number when the counter is started, resetting the timer as the preset duration and restarting the countdown when a voice instruction is recognized, and subtracting one from the value of the counter;
and the dormancy module is used for determining that the recognized voice commands reach the preset number when the value of the counter is zero, determining that the voice commands are not recognized in the preset time length, and exiting from the voice command recognition state.
4. The voice control apparatus of claim 3, wherein the control module comprises:
the recognition unit is used for recognizing the voice input by the user to obtain a voice instruction;
the query unit is used for querying the control instruction corresponding to the voice instruction;
and the control unit is used for controlling the equipment by adopting the control instruction.
5. An air conditioner, comprising an outdoor unit casing enclosing an air inlet and an air outlet, and an air duct communicating the air inlet and the air outlet, wherein a fan and a heat exchanger are disposed in the air duct, the air conditioner being configured to perform a voice control method, the method comprising:
when the preset awakening words are recognized, the air conditioner enters a voice instruction recognition state;
in the voice instruction recognition state, the air conditioner recognizes and executes a voice instruction;
starting a counter and a timer when entering a voice instruction recognition state;
when the timer is started, setting the initial value of the timer as a preset duration, and starting to count down;
setting the initial value of the counter as a preset number when the counter is started;
resetting the timer to the preset duration when a voice instruction is recognized, restarting counting down, and subtracting one from the value of the counter;
and when the value of the counter is zero, determining that the recognized voice commands reach a preset number, determining that the voice commands are not recognized within the preset time length, and exiting from the voice command recognition state.
6. The air conditioner of claim 5, wherein in the voice command recognition state, the air conditioner recognizes and executes a voice command, comprising:
the air conditioner identifies voice input by a user to obtain a voice instruction;
the air conditioner inquires a control instruction corresponding to the voice instruction;
and the air conditioner executes the control instruction.
CN201710138703.4A 2017-03-09 2017-03-09 Voice control method and device and air conditioner Active CN106875945B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710138703.4A CN106875945B (en) 2017-03-09 2017-03-09 Voice control method and device and air conditioner
PCT/CN2017/090586 WO2018161473A1 (en) 2017-03-09 2017-06-28 Voice control method and device, and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710138703.4A CN106875945B (en) 2017-03-09 2017-03-09 Voice control method and device and air conditioner

Publications (2)

Publication Number Publication Date
CN106875945A CN106875945A (en) 2017-06-20
CN106875945B true CN106875945B (en) 2020-06-26

Family

ID=59171492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710138703.4A Active CN106875945B (en) 2017-03-09 2017-03-09 Voice control method and device and air conditioner

Country Status (2)

Country Link
CN (1) CN106875945B (en)
WO (1) WO2018161473A1 (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875945B (en) * 2017-03-09 2020-06-26 广东美的制冷设备有限公司 Voice control method and device and air conditioner
CN107600075A (en) * 2017-08-23 2018-01-19 深圳市沃特沃德股份有限公司 The control method and device of onboard system
CN107590096B (en) * 2017-08-31 2021-06-15 联想(北京)有限公司 Method for processor in electronic equipment and processor
CN107919124B (en) * 2017-12-22 2021-07-13 北京小米移动软件有限公司 Equipment awakening method and device
CN108376543B (en) * 2018-02-11 2021-07-13 深圳创维-Rgb电子有限公司 Control method, device, equipment and storage medium for electrical equipment
KR102574593B1 (en) * 2018-03-29 2023-09-05 삼성전자주식회사 The divice and method for providing service by using a chatbot
CN108492827B (en) 2018-04-02 2019-07-30 百度在线网络技术(北京)有限公司 Wake-up processing method, device and the storage medium of application program
CN108417012A (en) * 2018-05-02 2018-08-17 四川长虹电器股份有限公司 A kind of remote control of smart home
CN108932942A (en) * 2018-06-26 2018-12-04 四川斐讯信息技术有限公司 A kind of interactive system and method for realization intelligent sound box
CN109545206B (en) * 2018-10-29 2024-01-30 百度在线网络技术(北京)有限公司 Voice interaction processing method and device of intelligent equipment and intelligent equipment
CN109637535B (en) * 2018-12-26 2021-05-25 珠海格力电器股份有限公司 Voice instruction processing method and device and intelligent terminal
CN111385595B (en) * 2018-12-29 2022-05-31 阿里巴巴集团控股有限公司 Network live broadcast method, live broadcast replenishment processing method and device, live broadcast server and terminal equipment
CN109869862A (en) * 2019-01-23 2019-06-11 四川虹美智能科技有限公司 The control method and a kind of air-conditioning system of a kind of air-conditioning, a kind of air-conditioning
CN109741746A (en) * 2019-01-31 2019-05-10 上海元趣信息技术有限公司 Robot personalizes interactive voice algorithm, emotion communication algorithm and robot
CN109945406A (en) * 2019-03-13 2019-06-28 青岛海尔空调器有限总公司 Air conditioner
CN109945407A (en) * 2019-03-13 2019-06-28 青岛海尔空调器有限总公司 Air conditioner
CN114010102B (en) * 2019-04-03 2023-01-03 北京石头创新科技有限公司 Cleaning robot
CN112017651A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Voice control method and device of electronic equipment, computer equipment and storage medium
CN110619873A (en) * 2019-08-16 2019-12-27 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN111123799A (en) * 2019-12-31 2020-05-08 蔚蓝计划(北京)科技有限公司 Voice garbage can and power-saving control method, device and system thereof
CN111583926B (en) * 2020-05-07 2022-07-29 珠海格力电器股份有限公司 Continuous voice interaction method and device based on cooking equipment and cooking equipment
CN113223530A (en) * 2021-05-19 2021-08-06 中山亿联智能科技有限公司 Method for controlling fan by voice command

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103151038A (en) * 2011-12-06 2013-06-12 张国鸿 Method of achieving voice recognition control in electronic products
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN104834450A (en) * 2015-05-29 2015-08-12 魅族科技(中国)有限公司 Function starting method and terminal
KR20150092915A (en) * 2014-02-06 2015-08-17 엘지전자 주식회사 Voice recognition device of air conditioner system and operating method of the same
CN105957527A (en) * 2016-05-16 2016-09-21 珠海格力电器股份有限公司 Electric appliance speech control method and device and speech control air-conditioner
CN106021077A (en) * 2016-05-17 2016-10-12 北京小米移动软件有限公司 Warning method and device of terminal
CN106403179A (en) * 2016-09-19 2017-02-15 广东美的制冷设备有限公司 Control method for preventing air conditioner from blowing air towards people and air conditioner
CN106439967A (en) * 2016-10-14 2017-02-22 广州视源电子科技股份有限公司 Method and system for increasing voice recognition rate of kitchen ventilator

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104110770B (en) * 2013-06-28 2016-12-28 广东美的制冷设备有限公司 Air-conditioning and Acoustic control remote controller thereof and the Voice command of Acoustic control remote controller and reminding method
CN105679318A (en) * 2015-12-23 2016-06-15 珠海格力电器股份有限公司 Display method and device based on speech recognition, display system and air conditioner
CN106875945B (en) * 2017-03-09 2020-06-26 广东美的制冷设备有限公司 Voice control method and device and air conditioner

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103151038A (en) * 2011-12-06 2013-06-12 张国鸿 Method of achieving voice recognition control in electronic products
KR20150092915A (en) * 2014-02-06 2015-08-17 엘지전자 주식회사 Voice recognition device of air conditioner system and operating method of the same
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN104834450A (en) * 2015-05-29 2015-08-12 魅族科技(中国)有限公司 Function starting method and terminal
CN105957527A (en) * 2016-05-16 2016-09-21 珠海格力电器股份有限公司 Electric appliance speech control method and device and speech control air-conditioner
CN106021077A (en) * 2016-05-17 2016-10-12 北京小米移动软件有限公司 Warning method and device of terminal
CN106403179A (en) * 2016-09-19 2017-02-15 广东美的制冷设备有限公司 Control method for preventing air conditioner from blowing air towards people and air conditioner
CN106439967A (en) * 2016-10-14 2017-02-22 广州视源电子科技股份有限公司 Method and system for increasing voice recognition rate of kitchen ventilator

Also Published As

Publication number Publication date
WO2018161473A1 (en) 2018-09-13
CN106875945A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106875945B (en) Voice control method and device and air conditioner
CN107564518B (en) Intelligent device control method and device and computer device
CN109671426B (en) Voice control method and device, storage medium and air conditioner
CN109360564B (en) Method and device for selecting language identification mode and household appliance
CN106155621B (en) Keyword voice awakening system and method capable of identifying sound source position and mobile terminal
CN105700372A (en) Intelligent device and control method thereof
CN111583926B (en) Continuous voice interaction method and device based on cooking equipment and cooking equipment
CN106131292B (en) Terminal wake-up setting method, wake-up method and corresponding system
CN109210703B (en) Voice control method of air conditioner and voice-controlled air conditioner
WO2021082131A1 (en) Air conditioning device, and temperature control method and apparatus
CN104596037B (en) Air conditioner, air-conditioner controller and its control method and device
WO2018157542A1 (en) Smart home appliance control method and device
CN110751948A (en) Voice recognition method, device, storage medium and voice equipment
CN110910878B (en) Voice wake-up control method and device, storage medium and household appliance
CN110515462A (en) It is a kind of intelligence wearable device in apply control method, device
CN108540664B (en) Starting method and electronic equipment
CN109150675A (en) A kind of exchange method and device of household electrical appliance
CN109686372B (en) Resource playing control method and device
CN107170211A (en) The position indicating method and electronic installation of electronic installation
CN110912222B (en) Multi-path power supply control method, device and system and readable medium
CN110556101A (en) Voice control method, device, computer equipment and storage medium
CN111083810A (en) Power control method, device and storage medium
CN112017651A (en) Voice control method and device of electronic equipment, computer equipment and storage medium
WO2020093680A1 (en) Switch control method, device, electronic apparatus, and computer readable storage medium
CN111445907B (en) Method and device for reducing false wake-up rate

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