WO2018161473A1 - Voice control method and device, and air conditioner - Google Patents

Voice control method and device, and air conditioner Download PDF

Info

Publication number
WO2018161473A1
WO2018161473A1 PCT/CN2017/090586 CN2017090586W WO2018161473A1 WO 2018161473 A1 WO2018161473 A1 WO 2018161473A1 CN 2017090586 W CN2017090586 W CN 2017090586W WO 2018161473 A1 WO2018161473 A1 WO 2018161473A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice
voice command
recognized
air conditioner
counter
Prior art date
Application number
PCT/CN2017/090586
Other languages
French (fr)
Chinese (zh)
Inventor
何瑞澄
Original Assignee
广东美的制冷设备有限公司
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 广东美的制冷设备有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2018161473A1 publication Critical patent/WO2018161473A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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 OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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

Definitions

  • the present invention relates to the field of electrical appliances, and in particular, to a voice control method, apparatus, and air conditioner.
  • Devices such as home appliances and mobile terminals generally control devices such as home appliances by clicking a control button by a user.
  • voice mode to control the device, that is, the use of voice control.
  • the user when the user performs voice control, the user needs to first speak the wake-up word, so that the device enters the recognition state, and then the instruction word is spoken, so that the device executes the instruction to implement control on the device.
  • the user if the user needs the device to execute multiple instructions, it is necessary to say the wake-up word before each instruction word is spoken. That is to say, the user needs to repeatedly repeat the wake-up word, which is cumbersome to operate.
  • the object of the present invention is to solve at least one of the above technical problems to some extent.
  • the present invention needs to provide a voice control method, apparatus, and air conditioner to simplify the operation steps of voice control and increase the ease of use.
  • the first aspect of the present invention provides a voice control method, and the method includes:
  • the voice command recognition state is exited.
  • the method further includes:
  • the counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  • the counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number, including:
  • the method further includes:
  • the timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
  • the timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the preset time is recognized.
  • Voice commands including:
  • the timer is reset to the preset duration and the countdown is restarted
  • the voice instruction in the voice instruction recognition state, the voice instruction is identified and executed, including:
  • the device is controlled by the control command.
  • Another embodiment of the present invention further provides a voice control apparatus, the apparatus comprising:
  • the wake-up module is configured to enter a voice instruction recognition state when the preset wake-up word is recognized
  • control module configured to recognize and execute a voice instruction in a voice instruction recognition state
  • the hibernation module is configured to exit the voice command recognition state when the recognized voice command reaches a preset number, and/or when the voice command is not recognized within the preset time length.
  • the device further includes:
  • the counting module is configured to start a counter when entering the voice instruction recognition state, and use the counter to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  • the counting module is specifically configured to:
  • the initial value of the counter is set to the preset number; when a voice command is recognized, the value of the counter is decremented by one; when the value of the counter is At zero hour, it is determined that the recognized voice command reaches a preset number.
  • the device further includes:
  • a timing module configured to start a timer when entering a voice instruction recognition state; using the timer to The time at which the wake-up word or the voice command is recognized is timed from the current time to determine whether the voice command is recognized within the preset time period.
  • the timing module is specifically configured to:
  • control module includes:
  • a recognition unit configured to identify a voice input by the user, and obtain a voice instruction
  • a query unit configured to query a control instruction corresponding to the voice instruction
  • control unit configured to control the device by using the control instruction.
  • An embodiment of the second aspect of the present invention further provides an air conditioner, the air conditioner including an outdoor unit casing, the outdoor unit casing enclosing an air inlet and an air outlet, and a duct connecting the air inlet and the air outlet A fan and a heat exchanger are disposed in the air duct, and the air conditioner is configured to execute a voice control method, and the method includes:
  • the air conditioner enters a voice command recognition state
  • the air conditioner recognizes and executes a voice command
  • the air conditioner exits the voice command recognition state.
  • the air conditioner is further configured to:
  • the air conditioner starts a counter when entering a voice command recognition state
  • the air conditioner uses the counter to determine whether the recognized voice command reaches a preset number.
  • the air conditioner is further configured to:
  • the air conditioner starts a timer when entering a voice command recognition state
  • the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
  • the air conditioner identifies and executes the voice instruction, including:
  • the air conditioner identifies the voice input by the user, and obtains a voice command
  • the air conditioner queries a control instruction corresponding to the voice instruction
  • the air conditioner executes the control command.
  • the present invention provides a voice control method, apparatus, and air conditioner, wherein the air conditioner includes an outdoor unit casing, and the casing encloses an air inlet and an air outlet, and a duct connecting the air inlet and the air outlet, and is disposed in the air duct.
  • the sound control method includes the following steps: when the preset wake-up word is recognized, the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the recognized voice command reaches a preset number, And/or, when the voice command is not recognized within the preset duration, the voice command recognition state is exited.
  • the method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
  • a third aspect of the present invention provides a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, and when the processor executes the program, implementing the first aspect embodiment The voice control method described.
  • a fourth aspect of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the voice control method described in the first aspect.
  • FIG. 1 is a schematic diagram of voice interaction between a user and an air conditioner in the prior art
  • FIG. 2 is a schematic flowchart of a voice control method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention
  • FIG. 4 is a second schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention.
  • FIG. 5 is a third schematic diagram of voice interaction between a user and 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.
  • Figure 8 illustrates a block diagram of an exemplary computer device suitable for use in implementing the embodiments of the present application
  • the structure of the first feature described below "on" the second feature may include embodiments in which the first and second features are formed in direct contact, and may include additional features formed between the first and second features. Embodiments such that the first and second features may not be in direct contact.
  • FIG. 1 is a schematic diagram of voice interaction between a user and an air conditioner in the prior art.
  • the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the device to enter the recognition state and speaking to the user.
  • the voice command performs a "please command” voice or text response, and the user speaks the voice command "cooling mode", so that the device is set to the cooling mode, and after the setting is completed, the response is set to "cooling mode".
  • a second wakeup is also required.
  • the user still has to say the wake-up word "air conditioning air conditioner", so that the device enters the recognition state, and the voice command or the text response of the voice command spoken by the user is performed, and the user speaks the voice.
  • the command "26 degrees” causes the device to be set to 26 degrees, and after the setting is completed, the response "set to 26 degrees”.
  • a third wake-up is performed.
  • the user still has to say the wake-up word "air conditioning air conditioner”, so that the device enters the recognition state and performs a "please command” voice or text response to the voice command spoken by the user, and the user speaks the voice.
  • the command "maximum wind” causes the device to be set to the maximum air volume and responds to "set to maximum air volume” after the setting is completed.
  • FIG. 2 is a schematic flowchart of a voice control method according to an embodiment of the present invention.
  • the voice control method in the embodiment of the present invention includes the following steps:
  • step 101 when the preset wake-up word is recognized, the voice command recognition state is entered.
  • the counter can be started when entering the voice instruction recognition state.
  • the counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  • the timer is started upon entering the voice instruction recognition state.
  • the timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
  • the counter and the timer can be started upon entering the voice instruction recognition state.
  • the counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number. And using the timer to time the duration of the last time the wake-up word or the voice command is recognized from the current time to determine whether the voice command is recognized within the preset time period.
  • Step 102 Identify and execute a voice command in a voice command recognition state.
  • the voice input by the user is recognized, a voice instruction is obtained, and then the control instruction corresponding to the voice instruction is queried, and the device is controlled by using the control instruction.
  • Step 103 When the recognized voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the voice command recognition state is exited.
  • the initial value of the counter is set to be the preset number; when a voice instruction is recognized, the value of the counter is decremented by one; When the value of the counter is zero, it is determined that the recognized voice command reaches a preset number, and the voice command recognition state is exited.
  • the timer when the timer is started, setting an initial value of the timer to the preset duration and starting a countdown; each time a voice command is recognized, the timer is Reset to the preset duration and restart the countdown; when the timer takes a value of zero, it is determined that the voice command is not recognized within the preset duration, and the voice command recognition state is exited.
  • the initial value of the counter when the counter is started, the initial value of the counter is set to be the preset number; and when the timer is started, the initial value of the timer is set to the preset duration. And start counting down. Whenever a voice command is recognized, the value of the counter is decremented by one, and the timer is reset to the preset duration and the countdown is restarted; when the counter value is zero, or timed When the value of the device is zero, the voice command recognition state is exited.
  • the initial value of the counter when the counter is started, can be set to be the preset. The number is set; and when the timer is started, the initial value of the timer is set to the preset duration, and the countdown starts.
  • the value of the counter is decremented by one, and the timer is reset to the preset duration, and the countdown is restarted; when the value of the counter is zero, and the timer is counted
  • the voice command recognition state is exited.
  • the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the recognized voice command reaches a preset number, And/or, when the voice command is not recognized within the preset duration, the voice command recognition state is exited.
  • the method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
  • the present embodiment provides an air conditioner.
  • the voice control method in the foregoing embodiment may be applied to the air conditioner, where the air conditioner includes an outdoor unit casing.
  • the casing is surrounded by an air inlet and an air outlet, and a duct connecting the air inlet and the air outlet, and a fan and a heat exchanger are disposed in the air duct.
  • the air conditioner when the preset wake-up word is recognized, the air conditioner enters a voice command recognition state; in the voice command recognition state, the air conditioner recognizes and executes a voice command; when the recognized voice command reaches a preset number The number of hours, and/or, when the voice command is not recognized within the preset time period, the air conditioner exits the voice command recognition state.
  • the air conditioner is further configured to: when entering the voice instruction recognition state, the air conditioner starts a counter; using the counter, the air conditioner counts the recognized voice commands to determine the recognized voice command Whether the preset number is reached.
  • the air conditioner is further configured to: when entering a voice command recognition state, the air conditioner starts a timer; using the timer, the air conditioner selects an awakening word or a voice command from a time when the current time is The duration of the time is counted to determine whether the voice command is recognized within the preset time period.
  • the air conditioner recognizes and executes the voice command in the voice command recognition state, and specifically includes: the air conditioner identifies the voice input by the user, and obtains a voice command; the air conditioner queries the control command corresponding to the voice command; The air conditioner executes the control command.
  • the present embodiment also provides three specific implementation manners.
  • FIG. 3 is a schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention.
  • the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the air conditioner to enter the voice.
  • the command recognizes the status and performs a "please command" voice or text response to the voice command spoken by the user.
  • the air conditioner starts the counter, so that the counter is used, and the air conditioner counts the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  • the preset number here is 3, and when the air conditioner starts the counter, the initial value of the setting counter is 3.
  • the air conditioner is set to the cooling mode, and after the setting is completed, the response is set to the cooling mode, and the counter is decremented by one, so that the value of the counter is 2.
  • 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 counter value is 1 .
  • the air conditioner After the user speaks the third voice command “maximum wind”, the air conditioner is set to the maximum air volume, and after the setting is completed, the response “set to the maximum air volume” is responded, and the counter is decremented by one, so that the counter value is zero. .
  • the value of the counter is zero, it is determined that the recognized voice command reaches a preset number, and the voice command recognition state is exited.
  • FIG. 4 is a schematic diagram of a voice interaction between a user and an air conditioner according to an embodiment of the present invention.
  • the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the air conditioner to enter.
  • the voice command recognizes the state and performs a "please command" voice or text response to the voice command spoken by the user.
  • the air conditioner starts a timer, so that the timer is used, and the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized to the current time to determine whether the voice is recognized within the preset time period. instruction.
  • the preset duration is 15s.
  • the air conditioner is set to the cooling mode, and after the setting is completed, the response is "set to the cooling mode", the timer is reset to the preset duration of 15s, and Start counting down.
  • the air conditioner is set to 17 degrees, and after the setting is completed, the response is "set to 17 degrees", the timer is reset to the preset duration of 15s, and restarts. Countdown.
  • the air conditioner After the user speaks the third voice command “Maximum Wind”, the air conditioner is set to the maximum air volume, and after the setting is completed, the response is “set to the maximum air volume”, the timer is reset to the preset duration of 15s, and restarts. Countdown. When the value of the counter is zero, it is determined that the voice command has not been recognized within 15 seconds, and the voice command recognition state is exited.
  • FIG. 5 is a third schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention.
  • the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the air conditioner to enter.
  • the voice command recognizes the state and performs a "please command" voice or text response to the voice command spoken by the user.
  • the air conditioner starts the timer and the counter, so that the timer is used, and the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized from the current time to determine whether it is recognized within the preset time period.
  • the air conditioner counts the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  • the preset duration is 15s.
  • the preset number here is 5, in When the air conditioner starts the counter, the initial value of the setting counter is 5.
  • the air conditioner is set to the cooling mode, and after the setting is completed, in response to "set to the cooling mode", the timer is reset to the preset duration of 15s, and restarts. Countdown and will The counter is decremented by one so that the counter has a value of four.
  • the air conditioner is set to 17 degrees, and after the setting is completed, the response is "set to 17 degrees", the timer is reset to the preset time of 15 seconds, and the countdown is restarted. And decrement the counter by one, so that the counter has a value of 3.
  • the air conditioner is set to the maximum air volume, and after the setting is completed, the response is "set to the maximum air volume”, the timer is reset to the preset time period of 15s, and the countdown is restarted. And decrement the counter by one, so that the counter has a value of 2.
  • the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the recognized voice command reaches a preset number, And/or, when the voice command is not recognized within the preset duration, the voice command recognition state is exited.
  • the method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
  • the embodiment further provides a voice control device corresponding to the voice control method.
  • the voice control device may be disposed in an air conditioner.
  • the air conditioner includes an outdoor unit casing, and the outdoor unit casing encloses an air inlet and an air outlet, and an air passage that communicates the air inlet and the air outlet, and the air duct is provided with a fan and a heat exchanger.
  • voice control device can be applied to other devices, which is not limited in this embodiment.
  • 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, the method includes: a wake-up module 61, a control module 62, and a sleep module 63.
  • the wake-up module 61 is configured to enter a voice command recognition state when the preset wake-up word is recognized.
  • the control module 62 is configured to recognize and execute the voice instruction in the voice instruction recognition state.
  • the sleep module 63 is configured to exit the voice command recognition state when the recognized voice command reaches a preset number, and/or when the voice command is not recognized within the preset time length.
  • FIG. 7 is a schematic structural diagram of another voice control apparatus according to an embodiment of the present invention. As shown in FIG. 7, on the basis of FIG. 6, the voice control apparatus further includes: a counting module. 64 and timing module 65.
  • the counting module 64 is configured to start a counter when entering the voice instruction recognition state, and use the counter to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  • the counting module 64 is configured to: when the counter is started, set an initial value of the counter to the preset number; and each time a voice instruction is recognized, the value of the counter is used. Decrement by one; when the value of the counter is zero, it is determined that the recognized voice command reaches a preset number.
  • the timing module 65 is configured to start a timer when entering the voice command recognition state, and use the timer to time the time when the wake-up word or the voice command is last recognized from the current time to determine the preset duration Whether the voice command is recognized within.
  • the timing module 65 is configured to: when the timer is started, set an initial value of the timer to the preset duration, and start counting down; whenever a voice command is recognized, The timer is reset to the preset duration, and the countdown is restarted; when the timer takes a value of zero, it is determined that the voice command is not recognized within the preset duration.
  • control module 62 includes: an identification unit 621, a query unit 622, and a control unit 623.
  • the identifying unit 621 is configured to identify the voice input by the user, and obtain a voice command.
  • the query unit 622 is configured to query a control instruction corresponding to the voice instruction.
  • the control unit 623 is configured to control the device by using the control instruction.
  • the voice control method, device, and air conditioner provided by the embodiment of the present invention, wherein the air conditioner includes an outdoor unit casing, and the casing encloses an air inlet and an air outlet, and an air passage connecting the air inlet and the air outlet.
  • the fan and the heat exchanger are arranged in the air duct, and the voice control method comprises the following steps: when the preset wake-up word is recognized, the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the voice command is recognized. When the voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the voice command recognition state is exited.
  • the method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
  • the present invention further provides a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, and when the processor executes the program, implementing the voice control of the foregoing embodiment method.
  • the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by the processor, implements the voice control method of the foregoing embodiment.
  • FIG. 8 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application.
  • the computer device 12 shown in FIG. 8 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present application.
  • computer device 12 is embodied in the form of a general purpose computer device.
  • Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, an Industry Standard Architecture (hereinafter referred to as ISA) bus, a Micro Channel Architecture (MAC) bus, an enhanced ISA bus, and video electronics.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnection
  • Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including both volatile and nonvolatile media, removable and non-removable media.
  • Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32.
  • Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 8, commonly referred to as "hard disk drives").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile disk for example, a compact disk read-only memory (Compact)
  • each drive can be coupled to bus 18 via one or more data medium interfaces.
  • Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present application.
  • a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more applications, other program modules, and program data. An implementation of the network environment may be included in each or some of these examples.
  • Program module 42 typically performs the functions and/or methods of the embodiments described herein.
  • Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or with the computer Device 12 can communicate with any device (e.g., network card, modem, etc.) that is in communication with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22.
  • the computer device 12 can also pass through the network adapter 20 and one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet. ) Communication. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet.
  • the processing unit 16 executes various function applications and data processing by executing programs stored in the system memory 28, for example, implementing the access authority control methods mentioned in the foregoing embodiments.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

Provided are a voice control method and device, and an air conditioner. The air conditioner comprises an outdoor unit casing and an air channel. The outdoor unit casing encloses an air inlet and an air outlet. The air channel communicates with the air inlet and the air outlet. A fan and a heat exchanger are provided in the air channel. The voice control method comprises the following steps: upon recognizing a preset trigger term, entering a voice-command recognition state (101); in the voice-command recognition state, recognizing and executing a voice command (102); and if a quantity of recognized voice commands reaches a preset value, and/or no voice command has been recognized within a preset period, exiting the voice-command recognition state (103).

Description

语音控制方法、装置和空调器Voice control method, device and air conditioner
相关申请的交叉引用Cross-reference to related applications
本申请要求广东美的制冷设备有限公司于2017年3月9日提交的、发明名称为“语音控制方法、装置和空调器”的、中国专利申请号“201710138703.4”的优先权。The present application claims the priority of the Chinese patent application No. "201710138703.4" filed on March 9, 2017, which is filed on March 9, 2017, entitled "Voice Control Method, Apparatus, and Air Conditioner".
技术领域Technical field
本发明涉及电器技术领域,特别涉及一种语音控制方法、装置和空调器。The present invention relates to the field of electrical appliances, and in particular, to a voice control method, apparatus, and air conditioner.
背景技术Background technique
家用电器、移动终端等设备一般是通过用户点击控制按钮,从而对家用电器等设备进行操控。为了增加对设备运行控制的便捷性,随着技术的不断发展,开始出现采用语音方式对设备进行控制,也就是采用语音控制的方式。Devices such as home appliances and mobile terminals generally control devices such as home appliances by clicking a control button by a user. In order to increase the convenience of the operation control of the equipment, with the continuous development of technology, the use of voice mode to control the device, that is, the use of voice control.
在现有技术中,用户在进行语音控制时,需要首先说出唤醒词,使得设备进入识别状态,进而再说出指令词,使得设备执行该指令,实现对设备进行控制。但是如果用户需要设备执行多个指令,则需要在说出每一个指令词之前,均要说出唤醒词,也就是说,用户需要多次重复说出唤醒词,操作较为繁琐。In the prior art, when the user performs voice control, the user needs to first speak the wake-up word, so that the device enters the recognition state, and then the instruction word is spoken, so that the device executes the instruction to implement control on the device. However, if the user needs the device to execute multiple instructions, it is necessary to say the wake-up word before each instruction word is spoken. That is to say, the user needs to repeatedly repeat the wake-up word, which is cumbersome to operate.
发明内容Summary of the invention
本发明的目的旨在至少在一定程度上解决上述的技术问题之一。为此,本发明需要提出一种语音控制方法、装置和空调器,以简化语音控制的操作步骤,增加使用便捷性。The object of the present invention is to solve at least one of the above technical problems to some extent. To this end, the present invention needs to provide a voice control method, apparatus, and air conditioner to simplify the operation steps of voice control and increase the ease of use.
为解决上述问题,本发明的第一方面实施例提出语音控制方法,所述方法包括:In order to solve the above problems, the first aspect of the present invention provides a voice control method, and the method includes:
当识别出预设唤醒词时,进入语音指令识别状态;When the preset wake-up word is recognized, the voice command recognition state is entered;
在语音指令识别状态下,识别并执行语音指令;Identifying and executing a voice command in a voice command recognition state;
当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。When the recognized voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the voice command recognition state is exited.
可选地,在本发明的一个实施例中,所述方法,还包括:Optionally, in an embodiment of the present invention, the method further includes:
在进入语音指令识别状态时,启动计数器;When entering the voice command recognition state, the counter is started;
利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。The counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
可选地,在本发明的一个实施例中,所述利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数,包括: Optionally, in an embodiment of the present invention, the counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number, including:
在启动所述计数器时,设置所述计数器的初始取值为所述预设个数;When the counter is started, setting an initial value of the counter to the preset number;
每当识别出一条语音指令时,将所述计数器的取值减一;Whenever a voice command is recognized, the value of the counter is decremented by one;
当所述计数器的取值为零时,确定已识别出的语音指令达到预设个数。When the value of the counter is zero, it is determined that the recognized voice command reaches a preset number.
可选地,在本发明的一个实施例中,所述方法,还包括:Optionally, in an embodiment of the present invention, the method further includes:
在进入语音指令识别状态时,启动计时器;When the voice command recognition state is entered, the timer is started;
利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。The timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
可选地,在本发明的一个实施例中,所述利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令,包括:Optionally, in an embodiment of the present invention, the timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the preset time is recognized. Voice commands, including:
在启动所述计时器时,设置所述计时器的初始取值为所述预设时长,并开始倒计时;When the timer is started, setting an initial value of the timer to the preset duration, and starting a countdown;
每当识别出一条语音指令时,将所述计时器重置为所述预设时长,并重新开始倒计时;Whenever a voice command is recognized, the timer is reset to the preset duration and the countdown is restarted;
当所述计时器取值为零时,确定预设时长内未识别出语音指令。When the timer takes a value of zero, it is determined that the voice command is not recognized within the preset duration.
可选地,在本发明的一个实施例中,所述在语音指令识别状态下,识别并执行语音指令,包括:Optionally, in an embodiment of the present invention, in the voice instruction recognition state, the voice instruction is identified and executed, including:
对用户所输入的语音进行识别,得到语音指令;Identifying the voice input by the user and obtaining a voice command;
查询所述语音指令对应的控制指令;Querying a control instruction corresponding to the voice instruction;
采用所述控制指令对设备进行控制。The device is controlled by the control command.
本发明的另一方面实施例还提出一种语音控制装置,所述装置包括:Another embodiment of the present invention further provides a voice control apparatus, the apparatus comprising:
唤醒模块,用于当识别出预设唤醒词时,进入语音指令识别状态;The wake-up module is configured to enter a voice instruction recognition state when the preset wake-up word is recognized;
控制模块,用于在语音指令识别状态下,识别并执行语音指令;a control module, configured to recognize and execute a voice instruction in a voice instruction recognition state;
休眠模块,用于当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。The hibernation module is configured to exit the voice command recognition state when the recognized voice command reaches a preset number, and/or when the voice command is not recognized within the preset time length.
可选地,在本发明的一个实施例中,所述装置,还包括:Optionally, in an embodiment of the present invention, the device further includes:
计数模块,用于在进入语音指令识别状态时,启动计数器;利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。The counting module is configured to start a counter when entering the voice instruction recognition state, and use the counter to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
可选地,在本发明的一个实施例中,所述计数模块,具体用于:Optionally, in an embodiment of the present invention, the counting module is specifically configured to:
在启动所述计数器时,设置所述计数器的初始取值为所述预设个数;每当识别出一条语音指令时,将所述计数器的取值减一;当所述计数器的取值为零时,确定已识别出的语音指令达到预设个数。When the counter is started, the initial value of the counter is set to the preset number; when a voice command is recognized, the value of the counter is decremented by one; when the value of the counter is At zero hour, it is determined that the recognized voice command reaches a preset number.
可选地,在本发明的一个实施例中,所述装置,还包括:Optionally, in an embodiment of the present invention, the device further includes:
计时模块,用于在进入语音指令识别状态时,启动计时器;利用所述计时器,对最近一 次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。a timing module, configured to start a timer when entering a voice instruction recognition state; using the timer to The time at which the wake-up word or the voice command is recognized is timed from the current time to determine whether the voice command is recognized within the preset time period.
可选地,在本发明的一个实施例中,所述计时模块,具体用于:Optionally, in an embodiment of the present invention, the timing module is specifically configured to:
在启动所述计时器时,设置所述计时器的初始取值为所述预设时长,并开始倒计时;每当识别出一条语音指令时,将所述计时器重置为所述预设时长,并重新开始倒计时;当所述计时器取值为零时,确定预设时长内未识别出语音指令。When the timer is started, setting an initial value of the timer to the preset duration and starting a countdown; resetting the timer to the preset duration whenever a voice command is recognized And restarting the countdown; when the timer value is zero, it is determined that the voice command is not recognized within the preset duration.
可选地,在本发明的一个实施例中,所述控制模块,包括:Optionally, in an embodiment of the present invention, the control module includes:
识别单元,用于对用户所输入的语音进行识别,得到语音指令;a recognition unit, configured to identify a voice input by the user, and obtain a voice instruction;
查询单元,用于查询所述语音指令对应的控制指令;a query unit, configured to query a control instruction corresponding to the voice instruction;
控制单元,用于采用所述控制指令对设备进行控制。And a control unit, configured to control the device by using the control instruction.
本发明的第二方面实施例还提出一种空调器,所述空调器包括室外机壳体,所述室外机壳体围成有进风口和出风口,以及连通进风口和出风口的风道,在所述风道中设置有风机和换热器,所述空调器用于执行语音控制方法,所述方法包括:An embodiment of the second aspect of the present invention further provides an air conditioner, the air conditioner including an outdoor unit casing, the outdoor unit casing enclosing an air inlet and an air outlet, and a duct connecting the air inlet and the air outlet A fan and a heat exchanger are disposed in the air duct, and the air conditioner is configured to execute a voice control method, and the method includes:
当识别出预设唤醒词时,所述空调器进入语音指令识别状态;When the preset wake-up word is recognized, the air conditioner enters a voice command recognition state;
在语音指令识别状态下,所述空调器识别并执行语音指令;In the voice command recognition state, the air conditioner recognizes and executes a voice command;
当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,所述空调器退出语音指令识别状态。When the recognized voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the air conditioner exits the voice command recognition state.
可选地,在本发明的一个实施例中,所述空调器还用于:Optionally, in an embodiment of the present invention, the air conditioner is further configured to:
在进入语音指令识别状态时,所述空调器启动计数器;The air conditioner starts a counter when entering a voice command recognition state;
利用所述计数器,所述空调器对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。Using the counter, the air conditioner counts the recognized voice commands to determine whether the recognized voice command reaches a preset number.
可选地,在本发明的一个实施例中,所述空调器还用于:Optionally, in an embodiment of the present invention, the air conditioner is further configured to:
在进入语音指令识别状态时,所述空调器启动计时器;The air conditioner starts a timer when entering a voice command recognition state;
利用所述计时器,所述空调器对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。With the timer, the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
可选地,在本发明的一个实施例中,所述在语音指令识别状态下,所述空调器识别并执行语音指令,包括:Optionally, in an embodiment of the present invention, in the voice instruction recognition state, the air conditioner identifies and executes the voice instruction, including:
所述空调器对用户所输入的语音进行识别,得到语音指令;The air conditioner identifies the voice input by the user, and obtains a voice command;
所述空调器查询所述语音指令对应的控制指令;The air conditioner queries a control instruction corresponding to the voice instruction;
所述空调器执行所述控制指令。The air conditioner executes the control command.
本发明提出一种语音控制方法、装置和空调器,其中,空调器包括室外机壳体,壳体围成有进风口和出风口,以及连通进风口和出风口的风道,在风道中设置有风机和换热器,语 音控制方法包括以下步骤:当识别出预设唤醒词时,进入语音指令识别状态,进而在语音指令识别状态下,识别并执行语音指令,当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。本发明的方法,可以简化语音控制时的操作,避免用户多次重复说出唤醒词的情况出现,增加使用便捷性。The present invention provides a voice control method, apparatus, and air conditioner, wherein the air conditioner includes an outdoor unit casing, and the casing encloses an air inlet and an air outlet, and a duct connecting the air inlet and the air outlet, and is disposed in the air duct. Fans and heat exchangers, language The sound control method includes the following steps: when the preset wake-up word is recognized, the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the recognized voice command reaches a preset number, And/or, when the voice command is not recognized within the preset duration, the voice command recognition state is exited. The method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
本发明第三方面实施例提出一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现第一方面实施例所述的语音控制方法。A third aspect of the present invention provides a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, and when the processor executes the program, implementing the first aspect embodiment The voice control method described.
本发明第四方面实施例提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现第一方面实施例所述的语音控制方法。A fourth aspect of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the voice control method described in the first aspect.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1为现有技术中用户与空调器的语音交互示意图;1 is a schematic diagram of voice interaction between a user and an air conditioner in the prior art;
图2为本发明实施例所提供的一种语音控制方法的流程示意图;2 is a schematic flowchart of a voice control method according to an embodiment of the present invention;
图3为本发明实施例提供的用户与空调器的语音交互示意图之一;FIG. 3 is a schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的用户与空调器的语音交互示意图之二;4 is a second schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention;
图5为本发明实施例提供的用户与空调器的语音交互示意图之三;FIG. 5 is a third schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention;
图6为本发明实施例提供的一种语音控制装置的结构示意图;FIG. 6 is a schematic structural diagram of a voice control apparatus according to an embodiment of the present invention;
图7为本发明实施例提供的另一种语音控制装置的结构示意图;FIG. 7 is a schematic structural diagram of another voice control apparatus according to an embodiment of the present invention;
图8示出了适于用来实现本申请实施方式的示例性计算机设备的框图;Figure 8 illustrates a block diagram of an exemplary computer device suitable for use in implementing the embodiments of the present application;
附图标记Reference numeral
唤醒模块61、控制模块62、休眠模块63、计数模块64、计时模块65、识别单元621、查询单元622和控制单元623。The wake-up module 61, the control module 62, the hibernation module 63, the counting module 64, the timing module 65, the identification unit 621, the inquiry unit 622, and the control unit 623.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发 明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。此外,本发明提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的可应用于性和/或其他材料的使用。另外,以下描述的第一特征在第二特征之“上”的结构可以包括第一和第二特征形成为直接接触的实施例,也可以包括另外的特征形成在第一和第二特征之间的实施例,这样第一和第二特征可能不是直接接触。The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify this issue The disclosure of the disclosure, the components and settings of the specific examples are described below. Of course, they are merely examples and are not intended to limit the invention. Furthermore, the present invention may repeat reference numerals and/or letters in different examples. This repetition is for the purpose of simplicity and clarity, and is not in the nature of the description of the various embodiments and/or arrangements discussed. Moreover, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the applicability of other processes and/or the use of other materials. Additionally, the structure of the first feature described below "on" the second feature may include embodiments in which the first and second features are formed in direct contact, and may include additional features formed between the first and second features. Embodiments 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 the terms "installation", "connected", and "connected" are to be understood broadly, and may be, for example, mechanically or electrically connected, or two, unless otherwise specified and defined. The internal communication of the components may be directly connected or indirectly connected through an intermediate medium. For those skilled in the art, the specific meanings of the above terms may be understood according to specific circumstances.
参照下面的描述和附图,将清楚本发明的实施例的这些和其他方面。在这些描述和附图中,具体公开了本发明的实施例中的一些特定实施方式,来表示实施本发明的实施例的原理的一些方式,但是应当理解,本发明的实施例的范围不受此限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。These and other aspects of the embodiments of the present invention will be apparent from the description and appended claims. In the description and drawings, specific embodiments of the embodiments of the invention are disclosed This limit. Rather, the invention is to cover all modifications, modifications and equivalents within the spirit and scope of the appended claims.
下面参照附图描述本发明实施例的语音控制方法、装置和空调器。A voice control method, apparatus, and air conditioner according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
首先对本发明实施例的语音控制方法进行说明。在现有技术中,在用户和语音控制装置的交互过程中,需要多次说出唤醒词,为了清楚说明现有技术中的这一过程,下面以空调器这种设备为例进行说明,图1为现有技术中用户与空调器的语音交互示意图,如图1所示,在第一次唤醒时,用户说出唤醒词“空调空调”,从而使得设备进入识别状态,并对用户说出的语音指令进行“请吩咐”的语音或者文字响应,进而用户说出语音指令“制冷模式”,使得设备设置为制冷模式,并在设置完成后,响应“设置为制冷模式”。First, the voice control method of the embodiment of the present invention will be described. In the prior art, in the interaction process between the user and the voice control device, the wake-up words need to be spoken multiple times. In order to clearly illustrate the process in the prior art, the following describes an air conditioner as an example. 1 is a schematic diagram of voice interaction between a user and an air conditioner in the prior art. As shown in FIG. 1 , when the first wake-up, the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the device to enter the recognition state and speaking to the user. The voice command performs a "please command" voice or text response, and the user speaks the voice command "cooling mode", so that the device is set to the cooling mode, and after the setting is completed, the response is set to "cooling mode".
当用户需要继续对设备进行语音控制时,还需要执行第二次唤醒。在第二次唤醒时,用户依旧要说出唤醒词“空调空调”,从而使得设备进入识别状态,并对用户说出的语音指令进行“请吩咐”的语音或者文字响应,进而用户说出语音指令“26度”,使得设备设置为26度,并在设置完成后,响应“已设为26度”。When the user needs to continue to control the voice of the device, a second wakeup is also required. In the second wake-up, the user still has to say the wake-up word "air conditioning air conditioner", so that the device enters the recognition state, and the voice command or the text response of the voice command spoken by the user is performed, and the user speaks the voice. The command "26 degrees" causes the device to be set to 26 degrees, and after the setting is completed, the response "set to 26 degrees".
当用户还需要继续对设备进行语音控制时,就要执行第三次唤醒。在第三次唤醒时,用户依旧要说出唤醒词“空调空调”,从而使得设备进入识别状态,并对用户说出的语音指令进行“请吩咐”的语音或者文字响应,进而用户说出语音指令“最大风”,使得设备设置为最大风量,并在设置完成后,响应“已设为最大风量”。When the user still needs to continue to control the voice of the device, a third wake-up is performed. At the third wake-up, the user still has to say the wake-up word "air conditioning air conditioner", so that the device enters the recognition state and performs a "please command" voice or text response to the voice command spoken by the user, and the user speaks the voice. The command "maximum wind" causes the device to be set to the maximum air volume and responds to "set to maximum air volume" after the setting is completed.
可见,在执行三条语音指令的情况下,用户就需要重复三次唤醒词,若需要执行更多条语音指令,则用户需要重复更多次的唤醒词,操作较为繁琐,用户体验较差。 It can be seen that in the case of executing three voice commands, the user needs to repeat the wake-up words three times. If more voice commands need to be executed, the user needs to repeat the wake-up words more times, the operation is more complicated, and the user experience is poor.
为了解决这一问题,本发明实施例提供了一种语音控制方法,图2为本发明实施例所提供的一种语音控制方法的流程示意图。To solve this problem, an embodiment of the present invention provides a voice control method, and FIG. 2 is a schematic flowchart of a voice control method according to an embodiment of the present invention.
如图2所示,本发明实施例的语音控制方法包括以下步骤:As shown in FIG. 2, the voice control method in the embodiment of the present invention includes the following steps:
步骤101,当识别出预设唤醒词时,进入语音指令识别状态。In step 101, when the preset wake-up word is recognized, the voice command recognition state is entered.
具体地,作为一种可能的实现方式,可以在进入语音指令识别状态时,启动计数器。利用该计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。Specifically, as a possible implementation, the counter can be started when entering the voice instruction recognition state. The counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
作为另一种可能的实现方式,在进入语音指令识别状态时,启动计时器。利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。As another possible implementation, the timer is started upon entering the voice instruction recognition state. The timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
作为又一种可能的实现方式,可以在进入语音指令识别状态时,启动计数器和计时器。分别利用该计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。以及利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。As a further possible implementation, the counter and the timer can be started upon entering the voice instruction recognition state. The counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number. And using the timer to time the duration of the last time the wake-up word or the voice command is recognized from the current time to determine whether the voice command is recognized within the preset time period.
步骤102,在语音指令识别状态下,识别并执行语音指令。Step 102: Identify and execute a voice command in a voice command recognition state.
具体地,对用户所输入的语音进行识别,得到语音指令,进而查询语音指令对应的控制指令,并采用控制指令对设备进行控制。Specifically, the voice input by the user is recognized, a voice instruction is obtained, and then the control instruction corresponding to the voice instruction is queried, and the device is controlled by using the control instruction.
步骤103,当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。Step 103: When the recognized voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the voice command recognition state is exited.
作为第一种可能的实现方式,可以在启动计数器时,设置计数器的初始取值为所述预设个数;每当识别出一条语音指令时,将所述计数器的取值减一;当所述计数器的取值为零时,确定已识别出的语音指令达到预设个数,并退出语音指令识别状态。As a first possible implementation manner, when the counter is started, the initial value of the counter is set to be the preset number; when a voice instruction is recognized, the value of the counter is decremented by one; When the value of the counter is zero, it is determined that the recognized voice command reaches a preset number, and the voice command recognition state is exited.
作为第二种可能的实现方式,可以在启动所述计时器时,设置计时器的初始取值为所述预设时长,并开始倒计时;每当识别出一条语音指令时,将所述计时器重置为所述预设时长,并重新开始倒计时;当所述计时器取值为零时,确定预设时长内未识别出语音指令,并退出语音指令识别状态。As a second possible implementation manner, when the timer is started, setting an initial value of the timer to the preset duration and starting a countdown; each time a voice command is recognized, the timer is Reset to the preset duration and restart the countdown; when the timer takes a value of zero, it is determined that the voice command is not recognized within the preset duration, and the voice command recognition state is exited.
作为第三种可能的实现方式,可以在启动计数器时,设置计数器的初始取值为所述预设个数;以及启动所述计时器时,设置计时器的初始取值为所述预设时长,并开始倒计时。每当识别出一条语音指令时,将所述计数器的取值减一,并且将所述计时器重置为所述预设时长,并重新开始倒计时;当计数器的取值为零时,或者计时器取值为零时,退出语音指令识别状态。As a third possible implementation, when the counter is started, the initial value of the counter is set to be the preset number; and when the timer is started, the initial value of the timer is set to the preset duration. And start counting down. Whenever a voice command is recognized, the value of the counter is decremented by one, and the timer is reset to the preset duration and the countdown is restarted; when the counter value is zero, or timed When the value of the device is zero, the voice command recognition state is exited.
作为第四种可能的实现方式,可以在启动计数器时,设置计数器的初始取值为所述预设 个数;以及启动所述计时器时,设置计时器的初始取值为所述预设时长,并开始倒计时。每当识别出一条语音指令时,将所述计数器的取值减一,并且将所述计时器重置为所述预设时长,并重新开始倒计时;当计数器的取值为零时,并且计时器取值为零时,退出语音指令识别状态。As a fourth possible implementation, when the counter is started, the initial value of the counter can be set to be the preset. The number is set; and when the timer is started, the initial value of the timer is set to the preset duration, and the countdown starts. Whenever a voice command is recognized, the value of the counter is decremented by one, and the timer is reset to the preset duration, and the countdown is restarted; when the value of the counter is zero, and the timer is counted When the value of the device is zero, the voice command recognition state is exited.
可见本实施例中,通过当识别出预设唤醒词时,进入语音指令识别状态,进而在语音指令识别状态下,识别并执行语音指令,当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。本发明的方法,可以简化语音控制时的操作,避免用户多次重复说出唤醒词的情况出现,增加使用便捷性。It can be seen that, in the embodiment, when the preset wake-up word is recognized, the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the recognized voice command reaches a preset number, And/or, when the voice command is not recognized within the preset duration, the voice command recognition state is exited. The method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
为了清楚说明上一实施例,本实施例提供了一种空调器,作为一种可能的实现方式,前述实施例中的语音控制方法可以应用于该空调器,其中,空调器包括室外机壳体,壳体围成有进风口和出风口,以及连通进风口和出风口的风道,在风道中设置有风机和换热器。In order to clearly illustrate the previous embodiment, the present embodiment provides an air conditioner. As a possible implementation manner, the voice control method in the foregoing embodiment may be applied to the air conditioner, where the air conditioner includes an outdoor unit casing. The casing is surrounded by an air inlet and an air outlet, and a duct connecting the air inlet and the air outlet, and a fan and a heat exchanger are disposed in the air duct.
具体地,当识别出预设唤醒词时,所述空调器进入语音指令识别状态;在语音指令识别状态下,所述空调器识别并执行语音指令;当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,所述空调器退出语音指令识别状态。Specifically, when the preset wake-up word is recognized, the air conditioner enters a voice command recognition state; in the voice command recognition state, the air conditioner recognizes and executes a voice command; when the recognized voice command reaches a preset number The number of hours, and/or, when the voice command is not recognized within the preset time period, the air conditioner exits the voice command recognition state.
进一步,空调器还用于:在进入语音指令识别状态时,所述空调器启动计数器;利用所述计数器,所述空调器对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。Further, the air conditioner is further configured to: when entering the voice instruction recognition state, the air conditioner starts a counter; using the counter, the air conditioner counts the recognized voice commands to determine the recognized voice command Whether the preset number is reached.
和/或,空调器还用于:在进入语音指令识别状态时,所述空调器启动计时器;利用所述计时器,所述空调器对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。And/or, the air conditioner is further configured to: when entering a voice command recognition state, the air conditioner starts a timer; using the timer, the air conditioner selects an awakening word or a voice command from a time when the current time is The duration of the time is counted to determine whether the voice command is recognized within the preset time period.
其中,在语音指令识别状态下,空调器识别并执行语音指令,具体包括:空调器对用户所输入的语音进行识别,得到语音指令;所述空调器查询所述语音指令对应的控制指令;所述空调器执行所述控制指令。The air conditioner recognizes and executes the voice command in the voice command recognition state, and specifically includes: the air conditioner identifies the voice input by the user, and obtains a voice command; the air conditioner queries the control command corresponding to the voice command; The air conditioner executes the control command.
为了清楚说明本实施例中的空调器,本实施例还提供了三种具体的实现方式。In order to clearly illustrate the air conditioner in this embodiment, the present embodiment also provides three specific implementation manners.
作为一种可能的实现方式,图3为本发明实施例提供的用户与空调器的语音交互示意图之一,如图3所示,用户说出唤醒词“空调空调”,从而使得空调器进入语音指令识别状态,并对用户说出的语音指令进行“请吩咐”的语音或者文字响应。在进入识别状态时,空调器启动计数器,从而利用计数器,空调器对已识别出的语音指令进行计数,判断已识别出的语音指令是否达到预设个数。如图3所示,这里的预设个数取值为3,在空调启动计数器时,设置计数器的初始取值为3。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. As shown in FIG. 3, the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the air conditioner to enter the voice. The command recognizes the status and performs a "please command" voice or text response to the voice command spoken by the user. When entering the recognition state, the air conditioner starts the counter, so that the counter is used, and the air conditioner counts the recognized voice commands to determine whether the recognized voice command reaches a preset number. As shown in FIG. 3, the preset number here is 3, and when the air conditioner starts the counter, the initial value of the setting counter is 3.
进而,在用户说出第一条语音指令“制冷模式”之后,空调器设置为制冷模式,并在设置完成后,响应“设置为制冷模式”,并将计数器减一,从而计数器的取值为2。 Further, after the user speaks the first voice command "cooling mode", the air conditioner is set to the cooling mode, and after the setting is completed, the response is set to the cooling mode, and the counter is decremented by one, so that the value of the counter is 2.
在用户说出第二条语音指令“17度”之后,空调器设置为17度,并在设置完成后,响应“已设为17度”,并将计数器减一,从而计数器的取值为1。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 counter value is 1 .
在用户说出第三条语音指令“最大风”之后,空调器设置为最大风量,并在设置完成后,响应“已设为最大风量”,并将计数器减一,从而计数器的取值为零。当计数器的取值为零时,确定已识别出的语音指令达到预设个数,并退出语音指令识别状态。After the user speaks the third voice command “maximum wind”, the air conditioner is set to the maximum air volume, and after the setting is completed, the response “set to the maximum air volume” is responded, and the counter is decremented by one, so that the counter value is zero. . When the value of the counter is zero, it is determined that the recognized voice command reaches a preset number, and the voice command recognition state is exited.
下面参照附图描述另一种可能的实现方式。Another possible implementation is described below with reference to the drawings.
作为另一种可能的实现方式,图4为本发明实施例提供的用户与空调器的语音交互示意图之二,如图4所示,用户说出唤醒词“空调空调”,从而使得空调器进入语音指令识别状态,并对用户说出的语音指令进行“请吩咐”的语音或者文字响应。在进入识别状态时,空调器启动计时器,从而利用计时器,空调器对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。如图4所示,这里的预设时长取值为15s,在空调启动计时器时,设置计时器的初始取值为15s,并开始倒计时。As another possible implementation manner, FIG. 4 is a schematic diagram of a voice interaction between a user and an air conditioner according to an embodiment of the present invention. As shown in FIG. 4, the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the air conditioner to enter. The voice command recognizes the state and performs a "please command" voice or text response to the voice command spoken by the user. When entering the recognition state, the air conditioner starts a timer, so that the timer is used, and the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized to the current time to determine whether the voice is recognized within the preset time period. instruction. As shown in Figure 4, the preset duration is 15s. When the air conditioner starts the timer, set the initial value of the timer to 15s and start counting down.
进而,在用户说出第一条语音指令“制冷模式”之后,空调器设置为制冷模式,并在设置完成后,响应“设置为制冷模式”,计时器重置为预设时长15s,并重新开始倒计时。Further, after the user speaks the first voice command "cooling mode", the air conditioner is set to the cooling mode, and after the setting is completed, the response is "set to the cooling mode", the timer is reset to the preset duration of 15s, and Start counting down.
在用户说出第二条语音指令“17度”之后,空调器设置为17度,并在设置完成后,响应“已设为17度”,计时器重置为预设时长15s,并重新开始倒计时。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 is "set to 17 degrees", the timer is reset to the preset duration of 15s, and restarts. Countdown.
在用户说出第三条语音指令“最大风”之后,空调器设置为最大风量,并在设置完成后,响应“已设为最大风量”,计时器重置为预设时长15s,并重新开始倒计时。当计数器的取值为零时,确定已连续15s内未识别出语音指令,退出语音指令识别状态。After the user speaks the third voice command “Maximum Wind”, the air conditioner is set to the maximum air volume, and after the setting is completed, the response is “set to the maximum air volume”, the timer is reset to the preset duration of 15s, and restarts. Countdown. When the value of the counter is zero, it is determined that the voice command has not been recognized within 15 seconds, and the voice command recognition state is exited.
下面参照附图描述又一种可能的实现方式。Yet another possible implementation is described below with reference to the drawings.
作为又一种可能的实现方式,图5为本发明实施例提供的用户与空调器的语音交互示意图之三,如图5所示,用户说出唤醒词“空调空调”,从而使得空调器进入语音指令识别状态,并对用户说出的语音指令进行“请吩咐”的语音或者文字响应。在进入识别状态时,空调器启动计时器和计数器,从而利用计时器,空调器对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令,同时,利用计数器,空调器对已识别出的语音指令进行计数,判断已识别出的语音指令是否达到预设个数。如图5所示,这里的预设时长取值为15s,在空调启动计时器时,设置计时器的初始取值为15s,并开始倒计时,;同时,这里的预设个数为5,在空调启动计数器时,设置计数器的初始取值为5。As another possible implementation manner, FIG. 5 is a third schematic diagram of voice interaction between a user and an air conditioner according to an embodiment of the present invention. As shown in FIG. 5, the user speaks the wake-up word “air conditioning air conditioner”, thereby causing the air conditioner to enter. The voice command recognizes the state and performs a "please command" voice or text response to the voice command spoken by the user. When entering the recognition state, the air conditioner starts the timer and the counter, so that the timer is used, and the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized from the current time to determine whether it is recognized within the preset time period. At the same time, using the counter, the air conditioner counts the recognized voice commands to determine whether the recognized voice command reaches a preset number. As shown in Figure 5, the preset duration is 15s. When the air conditioner starts the timer, set the initial value of the timer to 15s and start counting down. At the same time, the preset number here is 5, in When the air conditioner starts the counter, the initial value of the setting counter is 5.
进而,在用户说出第一条语音指令“制冷模式”之后,空调器设置为制冷模式,并在设置完成后,响应“设置为制冷模式”,计时器重置为预设时长15s,重新开始倒计时,并将 计数器减一,从而计数器的取值为4。Further, after the user speaks the first voice command "cooling mode", the air conditioner is set to the cooling mode, and after the setting is completed, in response to "set to the cooling mode", the timer is reset to the preset duration of 15s, and restarts. Countdown and will The counter is decremented by one so that the counter has a value of four.
在用户说出第二条语音指令“17度”之后,空调器设置为17度,并在设置完成后,响应“已设为17度”,计时器重置为预设时长15s,重新开始倒计时,并将计数器减一,从而计数器的取值为3。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 is "set to 17 degrees", the timer is reset to the preset time of 15 seconds, and the countdown is restarted. And decrement the counter by one, so that the counter has a value of 3.
在用户说出第三条语音指令“最大风”之后,空调器设置为最大风量,并在设置完成后,响应“已设为最大风量”,计时器重置为预设时长15s,重新开始倒计时,并将计数器减一,从而计数器的取值为2。After the user speaks the third voice command "maximum wind", the air conditioner is set to the maximum air volume, and after the setting is completed, the response is "set to the maximum air volume", the timer is reset to the preset time period of 15s, and the countdown is restarted. And decrement the counter by one, so that the counter has a value of 2.
当计数器的取值为零时或者计数器的取值为零时,则退出语音指令识别状态。When the value of the counter is zero or the value of the counter is zero, the voice command recognition state is exited.
可见本实施例中,通过当识别出预设唤醒词时,进入语音指令识别状态,进而在语音指令识别状态下,识别并执行语音指令,当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。本发明的方法,可以简化语音控制时的操作,避免用户多次重复说出唤醒词的情况出现,增加使用便捷性。It can be seen that, in the embodiment, when the preset wake-up word is recognized, the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the recognized voice command reaches a preset number, And/or, when the voice command is not recognized within the preset duration, the voice command recognition state is exited. The method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
为了清楚说明前述实施例所提供的语音控制方法,本实施例还提供了与该语音控制方法相对应的语音控制装置,作为一种可能的应用场景,该语音控制装置可以设置于空调器中。空调器包括室外机壳体,所述室外机壳体围成有进风口和出风口,以及连通进风口和出风口的风道,在所述风道中设置有风机和换热器。In order to clearly illustrate the voice control method provided by the foregoing embodiment, the embodiment further provides a voice control device corresponding to the voice control method. As a possible application scenario, the voice control device may be disposed in an air conditioner. The air conditioner includes an outdoor unit casing, and the outdoor unit casing encloses an air inlet and an air outlet, and an air passage that communicates the air inlet and the air outlet, and the air duct is provided with a fan and a heat exchanger.
需要说明的是,本领域技术人员可以想到,还可以将语音控制装置应用于其他设备上,本实施例中对此不作限定。It should be noted that the voice control device can be applied to other devices, which is not limited in this embodiment.
图6为本发明实施例提供的一种语音控制装置的结构示意图,如图6所示,包括:唤醒模块61、控制模块62和休眠模块63。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, the method includes: a wake-up module 61, a control module 62, and a sleep module 63.
唤醒模块61,用于当识别出预设唤醒词时,进入语音指令识别状态。The wake-up module 61 is configured to enter a voice command recognition state when the preset wake-up word is recognized.
控制模块62,用于在语音指令识别状态下,识别并执行语音指令。The control module 62 is configured to recognize and execute the voice instruction in the voice instruction recognition state.
休眠模块63,用于当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。The sleep module 63 is configured to exit the voice command recognition state when the recognized voice command reaches a preset number, and/or when the voice command is not recognized within the preset time length.
进一步,作为一种可能的实现方式,图7为本发明实施例提供的另一种语音控制装置的结构示意图,如图7所示,在图6的基础上,语音控制装置还包括:计数模块64和计时模块65。Further, as a possible implementation manner, FIG. 7 is a schematic structural diagram of another voice control apparatus according to an embodiment of the present invention. As shown in FIG. 7, on the basis of FIG. 6, the voice control apparatus further includes: a counting module. 64 and timing module 65.
计数模块64,用于在进入语音指令识别状态时,启动计数器;利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。The counting module 64 is configured to start a counter when entering the voice instruction recognition state, and use the counter to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
具体地,计数模块64,具体用于:在启动所述计数器时,设置所述计数器的初始取值为所述预设个数;每当识别出一条语音指令时,将所述计数器的取值减一;当所述计数器的取值为零时,确定已识别出的语音指令达到预设个数。 Specifically, the counting module 64 is configured to: when the counter is started, set an initial value of the counter to the preset number; and each time a voice instruction is recognized, the value of the counter is used. Decrement by one; when the value of the counter is zero, it is determined that the recognized voice command reaches a preset number.
计时模块65,用于在进入语音指令识别状态时,启动计时器;利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。The timing module 65 is configured to start a timer when entering the voice command recognition state, and use the timer to time the time when the wake-up word or the voice command is last recognized from the current time to determine the preset duration Whether the voice command is recognized within.
具体地,计时模块65,具体用于:在启动所述计时器时,设置所述计时器的初始取值为所述预设时长,并开始倒计时;每当识别出一条语音指令时,将所述计时器重置为所述预设时长,并重新开始倒计时;当所述计时器取值为零时,确定预设时长内未识别出语音指令。Specifically, the timing module 65 is configured to: when the timer is started, set an initial value of the timer to the preset duration, and start counting down; whenever a voice command is recognized, The timer is reset to the preset duration, and the countdown is restarted; when the timer takes a value of zero, it is determined that the voice command is not recognized within the preset duration.
进一步,控制模块62,包括:识别单元621、查询单元622和控制单元623。Further, the control module 62 includes: an identification unit 621, a query unit 622, and a control unit 623.
识别单元621,用于对用户所输入的语音进行识别,得到语音指令。The identifying unit 621 is configured to identify the voice input by the user, and obtain a voice command.
查询单元622,用于查询所述语音指令对应的控制指令。The query unit 622 is configured to query a control instruction corresponding to the voice instruction.
控制单元623,用于采用所述控制指令对设备进行控制。The control unit 623 is configured to control the device by using the control instruction.
可见,本发明实施例所提供的语音控制方法、装置和空调器,其中,空调器包括室外机壳体,壳体围成有进风口和出风口,以及连通进风口和出风口的风道,在风道中设置有风机和换热器,语音控制方法包括以下步骤:当识别出预设唤醒词时,进入语音指令识别状态,进而在语音指令识别状态下,识别并执行语音指令,当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。本发明的方法,可以简化语音控制时的操作,避免用户多次重复说出唤醒词的情况出现,增加使用便捷性。The voice control method, device, and air conditioner provided by the embodiment of the present invention, wherein the air conditioner includes an outdoor unit casing, and the casing encloses an air inlet and an air outlet, and an air passage connecting the air inlet and the air outlet. The fan and the heat exchanger are arranged in the air duct, and the voice control method comprises the following steps: when the preset wake-up word is recognized, the voice command recognition state is entered, and then the voice command is recognized and executed in the voice command recognition state, when the voice command is recognized. When the voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the voice command recognition state is exited. The method of the invention can simplify the operation during the voice control, avoiding the situation that the user repeatedly repeats the wake-up words, and increases the convenience of use.
为了实现上述实施例,本发明还提出一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行该程序时,实现前述实施例的语音控制方法。In order to implement the above embodiments, the present invention further provides a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, and when the processor executes the program, implementing the voice control of the foregoing embodiment method.
为了实现上述实施例,本发明还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现前述实施例的语音控制方法。In order to implement the above embodiments, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by the processor, implements the voice control method of the foregoing embodiment.
图8示出了适于用来实现本申请实施方式的示例性计算机设备的框图。图8显示的计算机设备12仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。FIG. 8 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present application. The computer device 12 shown in FIG. 8 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present application.
如图8所示,计算机设备12以通用计算机设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in Figure 8, computer device 12 is embodied in the form of a general purpose computer device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture;以下简称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association;以下简称:VESA)局域总线以及外围组件互连(Peripheral Component Interconnection;以下简称:PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (hereinafter referred to as ISA) bus, a Micro Channel Architecture (MAC) bus, an enhanced ISA bus, and video electronics. Standard Electronics Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (hereinafter referred to as: PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including both volatile and nonvolatile media, removable and non-removable media.
存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图8未显示,通常称为“硬盘驱动器”)。尽管图8中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read Only Memory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read Only Memory;以下简称:DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。 Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 8, commonly referred to as "hard disk drives"). Although not shown in FIG. 8, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (for example, a compact disk read-only memory (Compact) may be provided. Disc Read Only Memory; hereinafter referred to as CD-ROM, Digital Video Disc Read Only Memory (DVD-ROM) or other optical media). In these cases, each drive can be coupled to bus 18 via one or more data medium interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more applications, other program modules, and program data. An implementation of the network environment may be included in each or some of these examples. Program module 42 typically performs the functions and/or methods of the embodiments described herein.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN),广域网(Wide Area Network;以下简称:WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。 Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or with the computer Device 12 can communicate with any device (e.g., network card, modem, etc.) that is in communication with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Moreover, the computer device 12 can also pass through the network adapter 20 and one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet. ) Communication. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be utilized in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives. And data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现前述实施例中提及的访问权限控制方法。The processing unit 16 executes various function applications and data processing by executing programs stored in the system memory 28, for example, implementing the access authority control methods mentioned in the foregoing embodiments.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所 属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. By the embodiment of the present invention It is understood by those skilled in the art.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或 多个实施例或示例中以合适的方式结合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be in any one or Combinations are made in a suitable manner in various embodiments or examples.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同限定。 While the embodiments of the present invention have been shown and described, it will be understood by those skilled in the art The scope of the invention is defined by the appended claims and their equivalents.

Claims (18)

  1. 一种语音控制方法,其特征在于,所述方法包括:A voice control method, characterized in that the method comprises:
    当识别出预设唤醒词时,进入语音指令识别状态;When the preset wake-up word is recognized, the voice command recognition state is entered;
    在语音指令识别状态下,识别并执行语音指令;Identifying and executing a voice command in a voice command recognition state;
    当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。When the recognized voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the voice command recognition state is exited.
  2. 根据权利要求1所述的语音控制方法,其特征在于,所述方法,还包括:The voice control method according to claim 1, wherein the method further comprises:
    在进入语音指令识别状态时,启动计数器;When entering the voice command recognition state, the counter is started;
    利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。The counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  3. 根据权利要求2所述的语音控制方法,其特征在于,所述利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数,包括:The voice control method according to claim 2, wherein the counter is used to count the recognized voice commands to determine whether the recognized voice command reaches a preset number, including:
    在启动所述计数器时,设置所述计数器的初始取值为所述预设个数;When the counter is started, setting an initial value of the counter to the preset number;
    每当识别出一条语音指令时,将所述计数器的取值减一;Whenever a voice command is recognized, the value of the counter is decremented by one;
    当所述计数器的取值为零时,确定已识别出的语音指令达到预设个数。When the value of the counter is zero, it is determined that the recognized voice command reaches a preset number.
  4. 根据权利要求1所述的语音控制方法,其特征在于,所述方法,还包括:The voice control method according to claim 1, wherein the method further comprises:
    在进入语音指令识别状态时,启动计时器;When the voice command recognition state is entered, the timer is started;
    利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。The timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
  5. 根据权利要求4所述的语音控制方法,其特征在于,所述利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令,包括:The voice control method according to claim 4, wherein the timer is used to time the time when the wake-up word or the voice command is last recognized from the current time to judge the preset time Whether to recognize the voice command, including:
    在启动所述计时器时,设置所述计时器的初始取值为所述预设时长,并开始倒计时;When the timer is started, setting an initial value of the timer to the preset duration, and starting a countdown;
    每当识别出一条语音指令时,将所述计时器重置为所述预设时长,并重新开始倒计时;Whenever a voice command is recognized, the timer is reset to the preset duration and the countdown is restarted;
    当所述计时器取值为零时,确定预设时长内未识别出语音指令。When the timer takes a value of zero, it is determined that the voice command is not recognized within the preset duration.
  6. 根据权利要求1-5任一项所述的语音控制方法,其特征在于,所述在语音指令识别状态下,识别并执行语音指令,包括:The voice control method according to any one of claims 1 to 5, wherein the voice command is recognized and executed in a voice command recognition state, including:
    对用户所输入的语音进行识别,得到语音指令;Identifying the voice input by the user and obtaining a voice command;
    查询所述语音指令对应的控制指令;Querying a control instruction corresponding to the voice instruction;
    采用所述控制指令对设备进行控制。The device is controlled by the control command.
  7. 一种语音控制装置,其特征在于,所述装置包括:A voice control device, characterized in that the device comprises:
    唤醒模块,用于当识别出预设唤醒词时,进入语音指令识别状态; The wake-up module is configured to enter a voice instruction recognition state when the preset wake-up word is recognized;
    控制模块,用于在语音指令识别状态下,识别并执行语音指令;a control module, configured to recognize and execute a voice instruction in a voice instruction recognition state;
    休眠模块,用于当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,退出语音指令识别状态。The hibernation module is configured to exit the voice command recognition state when the recognized voice command reaches a preset number, and/or when the voice command is not recognized within the preset time length.
  8. 根据权利要求7所述的语音控制装置,其特征在于,所述装置,还包括:The voice control device according to claim 7, wherein the device further comprises:
    计数模块,用于在进入语音指令识别状态时,启动计数器;利用所述计数器,对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。The counting module is configured to start a counter when entering the voice instruction recognition state, and use the counter to count the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  9. 根据权利要求8所述的语音控制装置,其特征在于,所述计数模块,具体用于:The voice control device according to claim 8, wherein the counting module is specifically configured to:
    在启动所述计数器时,设置所述计数器的初始取值为所述预设个数;每当识别出一条语音指令时,将所述计数器的取值减一;当所述计数器的取值为零时,确定已识别出的语音指令达到预设个数。When the counter is started, the initial value of the counter is set to the preset number; when a voice command is recognized, the value of the counter is decremented by one; when the value of the counter is At zero hour, it is determined that the recognized voice command reaches a preset number.
  10. 根据权利要求7所述的语音控制装置,其特征在于,所述装置,还包括:The voice control device according to claim 7, wherein the device further comprises:
    计时模块,用于在进入语音指令识别状态时,启动计时器;利用所述计时器,对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。a timing module, configured to start a timer when entering a voice command recognition state; use the timer to time the time when the wake-up word or the voice command is last recognized from the current time to determine the preset time Whether the voice command is recognized.
  11. 根据权利要求10所述的语音控制装置,其特征在于,所述计时模块,具体用于:The voice control device according to claim 10, wherein the timing module is specifically configured to:
    在启动所述计时器时,设置所述计时器的初始取值为所述预设时长,并开始倒计时;每当识别出一条语音指令时,将所述计时器重置为所述预设时长,并重新开始倒计时;当所述计时器取值为零时,确定预设时长内未识别出语音指令。When the timer is started, setting an initial value of the timer to the preset duration and starting a countdown; resetting the timer to the preset duration whenever a voice command is recognized And restarting the countdown; when the timer value is zero, it is determined that the voice command is not recognized within the preset duration.
  12. 根据权利要求7-11任一项所述的语音控制装置,其特征在于,所述控制模块,包括:The voice control device according to any one of claims 7 to 11, wherein the control module comprises:
    识别单元,用于对用户所输入的语音进行识别,得到语音指令;a recognition unit, configured to identify a voice input by the user, and obtain a voice instruction;
    查询单元,用于查询所述语音指令对应的控制指令;a query unit, configured to query a control instruction corresponding to the voice instruction;
    控制单元,用于采用所述控制指令对设备进行控制。And a control unit, configured to control the device by using the control instruction.
  13. 一种空调器,其特征在于,所述空调器包括室外机壳体,所述室外机壳体围成有进风口和出风口,以及连通进风口和出风口的风道,在所述风道中设置有风机和换热器,所述空调器用于执行语音控制方法,所述方法包括:An air conditioner, comprising: an outdoor unit casing, the outdoor unit casing enclosing an air inlet and an air outlet, and an air passage connecting the air inlet and the air outlet, in the air duct A fan and a heat exchanger are provided, the air conditioner being configured to perform a voice control method, the method comprising:
    当识别出预设唤醒词时,所述空调器进入语音指令识别状态;When the preset wake-up word is recognized, the air conditioner enters a voice command recognition state;
    在语音指令识别状态下,所述空调器识别并执行语音指令;In the voice command recognition state, the air conditioner recognizes and executes a voice command;
    当已识别出的语音指令达到预设个数时,和/或,在预设时长内未识别出语音指令时,所述空调器退出语音指令识别状态。When the recognized voice command reaches a preset number, and/or, when the voice command is not recognized within the preset time period, the air conditioner exits the voice command recognition state.
  14. 根据权利要求13所述的空调器,其特征在于,所述空调器还用于:The air conditioner according to claim 13, wherein the air conditioner is further configured to:
    在进入语音指令识别状态时,所述空调器启动计数器; The air conditioner starts a counter when entering a voice command recognition state;
    利用所述计数器,所述空调器对已识别出的语音指令进行计数,以判断已识别出的语音指令是否达到预设个数。Using the counter, the air conditioner counts the recognized voice commands to determine whether the recognized voice command reaches a preset number.
  15. 根据权利要求13所述的空调器,其特征在于,所述空调器还用于:The air conditioner according to claim 13, wherein the air conditioner is further configured to:
    在进入语音指令识别状态时,所述空调器启动计时器;The air conditioner starts a timer when entering a voice command recognition state;
    利用所述计时器,所述空调器对最近一次识别出唤醒词或者语音指令的时刻距离当前时刻的时长进行计时,以判断在预设时长内是否识别出语音指令。With the timer, the air conditioner counts the time from the moment when the wake-up word or the voice command is last recognized from the current time to determine whether the voice command is recognized within the preset time period.
  16. 根据权利要求13-15任一项所述的空调器,其特征在于,所述在语音指令识别状态下,所述空调器识别并执行语音指令,包括:The air conditioner according to any one of claims 13 to 15, wherein in the voice command recognition state, the air conditioner recognizes and executes a voice command, including:
    所述空调器对用户所输入的语音进行识别,得到语音指令;The air conditioner identifies the voice input by the user, and obtains a voice command;
    所述空调器查询所述语音指令对应的控制指令;The air conditioner queries a control instruction corresponding to the voice instruction;
    所述空调器执行所述控制指令。The air conditioner executes the control command.
  17. 一种计算机设备,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如权利要求1-6中任一所述的语音控制方法。A computer device, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein when the processor executes the program, implementing any one of claims 1-6 The voice control method described.
  18. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6中任一所述的语音控制方法。 A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the program is executed by a processor to implement the voice control method according to any one of claims 1-6.
PCT/CN2017/090586 2017-03-09 2017-06-28 Voice control method and device, and air conditioner WO2018161473A1 (en)

Applications Claiming Priority (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
CN201710138703.4 2017-03-09

Publications (1)

Publication Number Publication Date
WO2018161473A1 true WO2018161473A1 (en) 2018-09-13

Family

ID=59171492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/090586 WO2018161473A1 (en) 2017-03-09 2017-06-28 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
CN109945407A (en) * 2019-03-13 2019-06-28 青岛海尔空调器有限总公司 Air conditioner
CN109945406A (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 (5)

* 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
CN104110770A (en) * 2013-06-28 2014-10-22 广东美的制冷设备有限公司 Air conditioner, air conditioner voice-activated remote controller and voice control and prompt method of air conditioner voice-activated remote controller
KR20150092915A (en) * 2014-02-06 2015-08-17 엘지전자 주식회사 Voice recognition device of air conditioner system and operating method of the same
CN105679318A (en) * 2015-12-23 2016-06-15 珠海格力电器股份有限公司 Display method and device based on speech recognition, display system and air conditioner
CN106875945A (en) * 2017-03-09 2017-06-20 广东美的制冷设备有限公司 Sound control method, device and air-conditioner

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240702A (en) * 2014-07-10 2014-12-24 广东美的集团芜湖制冷设备有限公司 Voice control method and voice control system for air-conditioner
CN104834450B (en) * 2015-05-29 2018-05-25 魅族科技(中国)有限公司 A kind of function activating method and terminal
CN105957527A (en) * 2016-05-16 2016-09-21 珠海格力电器股份有限公司 Electric appliance speech control method and device and speech control air-conditioner
CN106021077B (en) * 2016-05-17 2019-05-21 北京小米移动软件有限公司 The alarming method for power 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
CN106439967B (en) * 2016-10-14 2019-01-04 广州视源电子科技股份有限公司 A kind of method and system improving kitchen ventilator phonetic recognization rate

Patent Citations (5)

* 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
CN104110770A (en) * 2013-06-28 2014-10-22 广东美的制冷设备有限公司 Air conditioner, air conditioner voice-activated remote controller and voice control and prompt method of air conditioner voice-activated remote controller
KR20150092915A (en) * 2014-02-06 2015-08-17 엘지전자 주식회사 Voice recognition device of air conditioner system and operating method of the same
CN105679318A (en) * 2015-12-23 2016-06-15 珠海格力电器股份有限公司 Display method and device based on speech recognition, display system and air conditioner
CN106875945A (en) * 2017-03-09 2017-06-20 广东美的制冷设备有限公司 Sound control method, device and air-conditioner

Also Published As

Publication number Publication date
CN106875945A (en) 2017-06-20
CN106875945B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
WO2018161473A1 (en) Voice control method and device, and air conditioner
CN108520743B (en) Voice control method of intelligent device, intelligent device and computer readable medium
CN108489031B (en) Control method of air conditioning unit, air conditioning unit and storage medium
US10074372B2 (en) Speech recognition using electronic device and server
CN110060685B (en) Voice wake-up method and device
KR102261552B1 (en) Providing Method For Voice Command and Electronic Device supporting the same
US9122501B1 (en) System and method for managing multiple bios default configurations
WO2016127538A1 (en) Information pushing method and apparatus
WO2020062669A1 (en) Control method, system, apparatus, device and medium for electrical appliance
US10101782B2 (en) System and method for thermal control of an information handling system
WO2015024438A1 (en) Voice control system for air conditioner and control method for air conditioning system
CN109976816B (en) Computer system configuration method and server
WO2018157542A1 (en) Smart home appliance control method and device
CN109210703B (en) Voice control method of air conditioner and voice-controlled air conditioner
US11580227B2 (en) Split chain of trust for secure device boot
CN110706696A (en) Voice control method and device
TWI665390B (en) Method of controlling a plurality of cooling fan modules, server system and non-transitory computer-readable storage medium
WO2021082131A1 (en) Air conditioning device, and temperature control method and apparatus
TW202004496A (en) The method for updating firmware via remote utility、computer system and non-transitory computer-readable medium
WO2019227370A1 (en) Method, apparatus and system for controlling multiple voice assistants, and computer-readable storage medium
CN110473542A (en) Awakening method, device and the electronic equipment of phonetic order execution function
TW201617777A (en) Electronic apparatus and wake-up method thereof
US20120260116A1 (en) External power-saving usb mass storage device and power-saving method thereof
CN107357400B (en) Method for automatically starting up hard disk with specified operating system type
CN112017651A (en) Voice control method and device of electronic equipment, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900105

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 13.01.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17900105

Country of ref document: EP

Kind code of ref document: A1