CN114724558A - Method and device for voice control of air conditioner, air conditioner and storage medium - Google Patents

Method and device for voice control of air conditioner, air conditioner and storage medium Download PDF

Info

Publication number
CN114724558A
CN114724558A CN202210282865.6A CN202210282865A CN114724558A CN 114724558 A CN114724558 A CN 114724558A CN 202210282865 A CN202210282865 A CN 202210282865A CN 114724558 A CN114724558 A CN 114724558A
Authority
CN
China
Prior art keywords
voice
air conditioner
matching result
random access
access memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210282865.6A
Other languages
Chinese (zh)
Inventor
陈祖江
张桂芳
闫长娟
耿宝寒
纪国超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202210282865.6A priority Critical patent/CN114724558A/en
Publication of CN114724558A publication Critical patent/CN114724558A/en
Priority to PCT/CN2023/075099 priority patent/WO2023179226A1/en
Pending legal-status Critical Current

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/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
    • F24F11/64Electronic processing using pre-stored data
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • 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

Landscapes

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

Abstract

The application relates to the technical field of intelligent household appliances, and discloses a method for voice control of an air conditioner, which comprises the following steps: receiving a voice instruction of a user; determining the category of the voice instruction; determining whether a first matching result of the voice instruction exists in the random access memory under the condition that the type of the voice instruction is a dynamic instruction; and in the case that the first matching result exists in the random access memory, executing corresponding operation according to the first matching result. The air conditioner determines the category of the voice command. When the type of the voice command is a dynamic command, the interactive processing cannot be performed by the offline voice recognition system. And when the first matching result exists in the random access memory, executing corresponding operation according to the first matching result. The first matching result in the random access memory of the air conditioner is preferentially adopted, so that the response speed of the voice recognition of the air conditioner is improved. The application also discloses a device for the voice control of the air conditioner, the air conditioner and a storage medium.

Description

Method and device for voice control of air conditioner, air conditioner and storage medium
Technical Field
The application relates to the technical field of intelligent household appliances, for example, to a method and a device for voice control of an air conditioner, the air conditioner and a storage medium.
Background
At present, along with the gradual popularization of intelligent control, the number of air conditioners with voice control functions is increasing, and the focus of attention is on how to improve the voice recognition response speed of the air conditioner.
The voice recognition method in the related art includes: after the voice information is acquired, the off-line voice recognition system and the on-line voice recognition system start voice recognition work at the same time, and recognized voice content is converted into text. Comparing the voice text contents respectively obtained by the offline voice recognition system and the online voice recognition system with an offline voice text library in an offline voice recognition application software database, if matching occurs, starting human-computer interaction and corresponding instruction operation by the offline voice recognition system, keeping the online voice recognition system silent, and not carrying out any voice interaction processing; if not, the off-line voice recognition system keeps silent, no voice interaction processing is carried out, and the on-line voice recognition system starts a voice interaction process.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
the method improves the response speed of voice recognition by preferentially calling an off-line voice recognition system. However, when the voice information is a dynamic instruction, the dynamic instruction does not exist in the offline voice text library, and only the interactive processing can be performed through the online voice recognition system. Under the condition of poor network environment, the response speed of voice recognition is slow.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for voice control of an air conditioner, the air conditioner and a storage medium, so that the response speed of voice recognition of the air conditioner is improved under the environment with a poor network environment.
In some embodiments, the method comprises: receiving a voice instruction of a user; determining the category of the voice command; determining whether a first matching result of the voice instruction exists in the random access memory under the condition that the type of the voice instruction is a dynamic instruction; and in the case that the first matching result exists in the random access memory, executing corresponding operation according to the first matching result.
Optionally, executing a corresponding operation according to the first matching result, including: determining the type of the first matching result; under the condition that the first matching result is the control result, adjusting parameters corresponding to the first matching result, and playing the audio of the adjusted result; and playing the audio corresponding to the first matching result under the condition that the first matching result is the extension type result.
Optionally, determining the category of the voice instruction comprises: converting the voice command into a voice text; determining whether a voice text exists in the flash memory; determining that the voice command belongs to a static command under the condition that the voice text exists in the flash memory; in the absence of speech text in the flash memory, it is determined that the speech instruction belongs to a dynamic instruction.
Optionally, after determining whether the first matching result of the voice command exists in the random access memory, the method further includes: in the absence of the first match result in the random access memory, the online speech system is invoked.
Optionally, invoking the online voice system comprises: acquiring a second matching result corresponding to the voice text from the cloud; and executing corresponding operation according to the second matching result.
Optionally, after the corresponding operation is executed according to the second matching result, the method further includes: determining a current capacity of a random access memory; storing the voice text and the second matching result in the random access memory under the condition that the current capacity of the random access memory is larger than a capacity threshold; and updating the second matching result at regular time according to the content of the voice text, and taking the updated second matching result as the first matching result.
Optionally, after determining the category of the voice instruction, the method further includes: and in the case that the type of the voice command is a static command, calling the offline voice system.
In some embodiments, the apparatus includes a processor and a memory storing program instructions, the processor configured to, upon execution of the program instructions, perform the above-described method for voice control of an air conditioner.
In some embodiments, the air conditioner includes the above-described apparatus for voice control of the air conditioner.
In some embodiments, the storage medium stores program instructions that, when executed, perform the above-described method for voice control of an air conditioner.
The method and the device for voice control of the air conditioner, the air conditioner and the storage medium provided by the embodiment of the disclosure can realize the following technical effects:
the air conditioner receives a voice command of a user and determines the type of the voice command. When the type of the voice command is a dynamic command, the interactive processing cannot be performed by the offline voice recognition system. At this time, it is preferentially determined whether the first matching result of the voice command exists in the random access memory, rather than the interactive processing directly by the online voice recognition system. And when the first matching result exists in the random access memory, executing corresponding operation according to the first matching result. The first matching result in the random access memory of the air conditioner is preferentially adopted, so that the response speed of the voice recognition of the air conditioner is improved under the environment with poor network environment.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic diagram of a method for voice control of an air conditioner according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of another method for voice control of an air conditioner provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another method for voice control of an air conditioner provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another method for voice control of an air conditioner provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another method for voice control of an air conditioner provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of another method for voice control of an air conditioner provided by an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an apparatus for voice control of an air conditioner according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The term "correspond" may refer to an association or binding relationship, and a corresponds to B refers to an association or binding relationship between a and B.
In the embodiment of the disclosure, the intelligent household appliance is a household appliance formed by introducing a microprocessor, a sensor technology and a network communication technology into the household appliance, and has the characteristics of intelligent control, intelligent sensing and intelligent application, the operation process of the intelligent household appliance usually depends on the application and processing of modern technologies such as internet of things, internet and an electronic chip, for example, the intelligent household appliance can realize remote control and management of a user on the intelligent household appliance by connecting the intelligent household appliance with the electronic device.
At present, as a common intelligent household appliance, an air conditioner can be subjected to voice control through a built-in voice module. For common air conditioner operation, such as temperature adjustment, air deflector opening angle change, operation mode change and the like, the response speed of voice control is improved by calling the off-line voice system execution. And for the instructions of the query class, such as time checking, weather checking, music playing and the like, the instructions are executed by calling the online voice system. However, when the online voice system is called, there is a problem that the voice control response is slow or impossible depending on the quality of the network environment and the congestion of the server.
Referring to fig. 1, an embodiment of the present disclosure provides a method for voice control of an air conditioner, including:
and S230, the air conditioner receives a voice command of a user.
And S240, the air conditioner determines the type of the voice command.
And S260, in the case that the type of the voice command is the dynamic command, the air conditioner determines whether a first matching result of the voice command exists in the random access memory.
And S270, under the condition that the first matching result exists in the random access memory, the air conditioner executes corresponding operation according to the first matching result.
By adopting the method for controlling the air conditioner by voice, the air conditioner receives the voice command of the user and determines the type of the voice command. When the type of the voice command is a dynamic command, the interactive processing cannot be performed by the offline voice recognition system. At this time, it is preferentially determined whether the first matching result of the voice command exists in the random access memory, rather than the interactive processing directly by the online voice recognition system. And when the first matching result exists in the random access memory, executing corresponding operation according to the first matching result. The first matching result in the random access memory of the air conditioner is preferentially adopted, so that the response speed of the voice recognition of the air conditioner is improved under the environment with poor network environment.
Optionally, the air conditioner in step S270 performs corresponding operations according to the first matching result, including: the air conditioner determines a type of the first matching result. And under the condition that the first matching result is the control result, the air conditioner adjusts the parameter corresponding to the first matching result and plays the audio frequency of the adjustment result. And under the condition that the first matching result is the extension class result, the air conditioner plays the audio corresponding to the first matching result. Therefore, the air conditioner plays audio for the first matching results of different types so as to remind the user that the execution is currently carried out or the execution is finished.
For the control result, for example, the air conditioner adjusts its own parameters, performs a function of customizing a scene (linking other smart devices), and the like. For the extended class result, for example, the air conditioner plays the current weather, the current time, fixed music, and the like.
With reference to fig. 2, another method for voice control of an air conditioner according to an embodiment of the present disclosure includes:
and S230, the air conditioner receives a voice command of a user.
And S241, the air conditioner converts the voice command into a voice text.
S242, the air conditioner determines whether there is a voice text in the flash memory.
S243, in case that the voice text exists in the flash memory, the air conditioner determines that the voice command belongs to the static command.
S244, in case that the voice text does not exist in the flash memory, the air conditioner determines that the voice command belongs to the dynamic command.
And S260, in the case that the type of the voice command is a dynamic command, the air conditioner determines whether a first matching result of the voice command exists in the random access memory.
And S270, under the condition that the first matching result exists in the random access memory, the air conditioner executes corresponding operation according to the first matching result.
By adopting the method for controlling the voice of the air conditioner, the air conditioner converts the audio information of the voice command into the text information, and determines the type of the command according to whether the text information exists in the flash memory. The matching is carried out by comparing the text information with the information in the flash memory, so that the time for determining the type of the voice command is shortened, and the response speed of the voice recognition of the air conditioner is improved.
For the static instruction of the air conditioner, the air conditioning operation is performed for controlling the air conditioner, such as adjusting the temperature, changing the opening angle of the air deflector, changing the operation mode and the like. The static instruction is an instruction of fixed operation and can be executed without network interaction. The dynamic instruction is a variable operation instruction and can be executed only by network interaction, such as time checking, weather checking, music playing, linkage control, shopping and the like.
The first matching result of the voice instruction in step S260 is the first matching result corresponding to the voice text.
With reference to fig. 3, another method for voice control of an air conditioner is provided in an embodiment of the present disclosure, including:
and S230, the air conditioner receives a voice command of a user.
And S240, the air conditioner determines the type of the voice command.
And S250, under the condition that the type of the voice command is a static command, the air conditioner calls an offline voice system.
And S260, in the case that the type of the voice command is the dynamic command, the air conditioner determines whether a first matching result of the voice command exists in the random access memory.
And S270, under the condition that the first matching result exists in the random access memory, the air conditioner executes corresponding operation according to the first matching result.
S280, the air conditioner calls the online voice system if the first matching result does not exist in the random access memory.
By adopting the method for voice control of the air conditioner, the off-line voice system is directly called to operate the static instruction, and the time delay of data transmission is avoided so as to improve the response speed of voice recognition of the air conditioner. For the dynamic instruction, the air conditioner calls the online voice system to meet the requirement of the user because the first matching result does not exist in the random access memory.
With reference to fig. 4, another method for voice control of an air conditioner according to an embodiment of the present disclosure includes:
and S230, the air conditioner receives a voice command of a user.
And S240, the air conditioner determines the type of the voice command.
And S251, under the condition that the type of the voice command is the static command, the air conditioner acquires a third matching result corresponding to the voice text from the flash memory.
And S252, the air conditioner executes corresponding operation according to the third matching result.
And S260, in the case that the type of the voice command is a dynamic command, the air conditioner determines whether a first matching result of the voice command exists in the random access memory.
And S270, under the condition that the first matching result exists in the random access memory, the air conditioner executes corresponding operation according to the first matching result.
S281, in a case that the first matching result does not exist in the random access memory, the air conditioner obtains a second matching result corresponding to the voice text from the cloud.
And S282, the air conditioner executes corresponding operation according to the second matching result.
By adopting the method for controlling the air conditioner voice, provided by the embodiment of the disclosure, for the static instruction, the third matching result corresponding to the voice text is determined through the preset corresponding relation, and the time required by query is short so as to improve the response speed of the air conditioner voice recognition. For the dynamic instruction, the corresponding second matching result is obtained through the cloud end, and the accuracy of executing the voice instruction is high.
The range of the third matching result is higher than the range of the first matching result, and the range of the first matching result is higher than the range of the second matching result. For the second match result, only the control class result is included. And for the third matching result, the control class result and the extension class result are included, and the results of the two types can be adjusted online in real time.
Optionally, after the air conditioner in step S282 performs the corresponding operation according to the second matching result, the method further includes: the air conditioner determines whether the current dynamic instruction can be converted into a static instruction or not through the cloud. And under the condition that the current dynamic instruction can be converted into a static instruction, the air conditioner acquires the voice text of the instruction and the corresponding relation of the operation of the voice text from the cloud and stores the voice text in the flash memory. Therefore, the new static instruction which can be executed without network interaction is converted into the static instruction in an updating and storing mode, so that the response speed of the voice recognition of the air conditioner is improved.
Optionally, after the air conditioner in step S282 performs the corresponding operation according to the second matching result, the method further includes: the air conditioner determines a current capacity of the random access memory. And under the condition that the current capacity of the random access memory is greater than the capacity threshold value, the air conditioner stores the voice text and the second matching result in the random access memory. And the air conditioner updates the second matching result at regular time according to the content of the voice text, and takes the updated second matching result as the first matching result. Thus, for a part of the dynamic instructions which can be updated in a timing mode, the dynamic instructions are stored in the random access memory and are updated in a timing mode. When the air conditioner calls the command, the command can be executed directly according to the content in the random access memory, so that the networking query time is saved, and the response speed of the voice recognition of the air conditioner is improved. For example, for the instruction of inquiring the current weather, the air conditioner acquires the weather condition from the cloud once every 1 hour and updates in the random access memory under the condition of networking. For the instruction of inquiring the current time, the air conditioner acquires the time point from the cloud end every 1 minute under the condition of networking and updates the time point in the random access memory.
Optionally, after the air conditioner determines the current capacity of the random access memory, the method further includes: and in the case that the current capacity of the random access memory is less than or equal to the capacity threshold value, the air conditioner inquires the dynamic instruction with the lowest use frequency in the random access memory. The air conditioner deletes the dynamic instruction with the lowest frequency of use and returns to the step of determining the current capacity of the random access memory. In this way, when the random access memory capacity is low, the dynamic instructions which are not frequently used are preferentially deleted, and space is provided for the dynamic instructions which can be added subsequently so as to improve the response speed of the voice recognition of the air conditioner when the user uses the air conditioner again.
With reference to fig. 5, another method for voice control of an air conditioner according to an embodiment of the present disclosure includes:
and S200, the air conditioner collects current parameters.
And S210, the air conditioner adjusts the awakening threshold of the awakening instruction according to the current parameters.
And S220, the air conditioner receives a wake-up instruction of a user.
S221, the air conditioner judges whether the awakening instruction reaches an awakening threshold. If yes, go to step S222. If not, the process returns to step S200.
S222, the air conditioner performs a wake-up response.
And S230, the air conditioner receives a voice command of a user.
And S240, the air conditioner determines the type of the voice command.
And S260, in the case that the type of the voice command is the dynamic command, the air conditioner determines whether a first matching result of the voice command exists in the random access memory.
And S270, under the condition that the first matching result exists in the random access memory, the air conditioner executes corresponding operation according to the first matching result.
By adopting the method for voice control of the air conditioner, the awakening threshold of the awakening instruction is adjusted according to the current parameters, and the voice mistaken awakening caused by interference is reduced. And when the awakening instruction reaches the awakening threshold, the air conditioner awakens and responds to receive and execute the voice instruction of the user.
Optionally, the step S210 of adjusting the wake-up threshold of the voice command according to the current parameter by the air conditioner includes: the air conditioner collects current ambient noise. And under the condition that the current environmental noise is greater than the noise threshold value, the air conditioner triggers a secondary awakening mechanism. And when the current environmental noise is less than or equal to the noise threshold value, the air conditioner turns off the secondary awakening mechanism. Thus, when the current environment is noisy, the noise may cause the air conditioner to wake up by mistake. Through a secondary awakening mechanism, the awakening threshold is improved, and the interference of noise on voice awakening of the air conditioner is reduced.
And the secondary awakening mechanism is used for sending an inquiry whether to be awakened to the user on the basis of successful awakening of the air conditioner for the first time. And after receiving the secondary confirmation of the user, the air conditioner performs awakening response.
Optionally, the step S210 of adjusting the wake-up threshold of the voice command according to the current parameter by the air conditioner includes: the air conditioner detects a current time. And under the condition that the current time is in the non-use time period, the air conditioner adjusts the awakening threshold to be a first awakening threshold. And under the condition that the current time is in the using time period, the air conditioner adjusts the awakening threshold to be a second awakening threshold. Wherein the first wake-up threshold is higher than the second wake-up threshold. Therefore, in the using time period, the user can easily awaken the air conditioner, the probability of awakening failure is reduced, and the user cannot operate the air conditioner. During the non-use time period, slight noise in the environment can cause false wake-up of the air conditioner, and the wake-up threshold is increased to reduce the possibility of false wake-up.
Optionally, the step S210 of adjusting the wake-up threshold of the voice command according to the current parameter by the air conditioner includes: the air conditioner acquires parameters of the intelligent device or heartbeat of the user. And the air conditioner determines whether the user is in a sleep state according to the parameters of the intelligent equipment or the heartbeat of the user. And under the condition that the user is in the sleep state, the air conditioner adjusts the awakening threshold to be a third awakening threshold. And under the condition that the user is not in the sleep state, the air conditioner adjusts the awakening threshold to be a fourth awakening threshold. Wherein the third wake-up threshold is higher than the fourth wake-up threshold; the intelligent equipment is an intelligent pillow or an intelligent mattress. Thus, when the user is in a sleep state, the possibility of operating the air conditioner is low, and the awakening threshold is increased to reduce the possibility of mistaken awakening. When the user is not in the sleep state, the possibility of operating the air conditioner is high, and the awakening threshold is reduced to reduce the probability of awakening failure.
With reference to fig. 6, another method for voice control of an air conditioner according to an embodiment of the present disclosure includes:
and S220, the air conditioner receives a wake-up instruction of a user.
And S223, the air conditioner judges whether network connection exists currently. If yes, go to step S224. If not, go to step S226.
And S224, calling the cloud wake-up model by the air conditioner.
S225, if the cloud determines that the wake-up response is required, the air conditioner performs the wake-up response, and then executes step S230.
S226, the air conditioner calls the offline wake-up model.
S227, if it is locally confirmed that the wake-up response is required, the air conditioner performs the wake-up response.
And S230, the air conditioner receives a voice command of a user.
S240, the air conditioner determines the type of the voice command.
And S260, in the case that the type of the voice command is the dynamic command, the air conditioner determines whether a first matching result of the voice command exists in the random access memory.
And S270, under the condition that the first matching result exists in the random access memory, the air conditioner executes corresponding operation according to the first matching result.
By adopting the method for voice control of the air conditioner, when the air conditioner is networked, the cloud wake-up model is called to wake up, so that the accuracy of wake-up is improved. When the air conditioner is off-line, the off-line awakening model is called to awaken, so that the time required by awakening is reduced.
Optionally, after the air conditioner receives the wake-up instruction of the user in step S220, the method further includes: the air conditioner determines whether the audio of the wake-up command is on a blacklist. In case the audio of the wake-up command is in the blacklist, the air conditioner does not respond to the wake-up command. Therefore, the frequent mistaken awakening of the air conditioner caused by the malicious awakening instruction can be avoided, and the safety of the voice control of the air conditioner is improved.
As shown in fig. 7, an embodiment of the present disclosure provides an apparatus for voice control of an air conditioner, which includes a processor (processor)41 and a memory (memory) 42. Optionally, the apparatus may further include a Communication Interface (Communication Interface)43 and a bus 44. The processor 41, the communication interface 43, and the memory 42 may communicate with each other via a bus 44. The communication interface 43 may be used for information transfer. The processor 41 may call logic instructions in the memory 42 to perform the method for air conditioner voice control of the above-described embodiment.
Furthermore, the logic instructions in the memory 42 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 42 is a storage medium and can be used for storing software programs, computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 41 executes functional applications and data processing, i.e., implements the method for voice control of an air conditioner in the above-described embodiment, by executing program instructions/modules stored in the memory 42.
The memory 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 42 may include a high speed random access memory and may also include a non-volatile memory.
The embodiment of the disclosure provides an air conditioner, which comprises the device for the voice control of the air conditioner.
Embodiments of the present disclosure provide a storage medium storing computer-executable instructions configured to perform the above-described method for voice control of an air conditioner.
The storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of additional identical elements in the process, method or apparatus comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be only one type of logical functional division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for voice control of an air conditioner, comprising:
receiving a voice instruction of a user;
determining the category of the voice instruction;
determining whether a first matching result of the voice instruction exists in the random access memory under the condition that the type of the voice instruction is a dynamic instruction;
and in the case that the first matching result exists in the random access memory, executing corresponding operation according to the first matching result.
2. The method of claim 1, wherein performing the corresponding operation according to the first matching result comprises:
determining the type of the first matching result;
under the condition that the first matching result is the control result, adjusting parameters corresponding to the first matching result, and playing the audio of the adjusted result;
and playing the audio corresponding to the first matching result under the condition that the first matching result is the extension type result.
3. The method of claim 1, wherein determining the category of the voice command comprises:
converting the voice command into a voice text;
determining whether a voice text exists in the flash memory;
determining that the voice command belongs to a static command under the condition that the voice text exists in the flash memory;
in the absence of speech text in the flash memory, it is determined that the speech instruction belongs to a dynamic instruction.
4. The method of claim 3, further comprising, after determining whether the first match of the voice instruction is present in the random access memory:
in the absence of the first match result in the random access memory, the online speech system is invoked.
5. The method of claim 4, wherein invoking the online voice system comprises:
acquiring a second matching result corresponding to the voice text from the cloud;
and executing corresponding operation according to the second matching result.
6. The method of claim 5, further comprising, after performing the corresponding operation according to the second matching result:
determining a current capacity of a random access memory;
storing the voice text and the second matching result in the random access memory under the condition that the current capacity of the random access memory is larger than a capacity threshold;
and updating the second matching result at regular time according to the content of the voice text, and taking the updated second matching result as the first matching result.
7. The method of any of claims 1 to 6, further comprising, after determining the category of the voice instruction:
and in the case that the type of the voice command is a static command, calling the offline voice system.
8. An apparatus for voice control of an air conditioner comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for voice control of an air conditioner according to any one of claims 1 to 7 when executing the program instructions.
9. An air conditioner characterized by comprising the device for voice control of an air conditioner according to claim 8.
10. A storage medium storing program instructions, characterized in that the program instructions, when executed, perform a method for voice control of an air conditioner according to any one of claims 1 to 7.
CN202210282865.6A 2022-03-22 2022-03-22 Method and device for voice control of air conditioner, air conditioner and storage medium Pending CN114724558A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210282865.6A CN114724558A (en) 2022-03-22 2022-03-22 Method and device for voice control of air conditioner, air conditioner and storage medium
PCT/CN2023/075099 WO2023179226A1 (en) 2022-03-22 2023-02-09 Method and apparatus for voice control of air conditioner, and air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210282865.6A CN114724558A (en) 2022-03-22 2022-03-22 Method and device for voice control of air conditioner, air conditioner and storage medium

Publications (1)

Publication Number Publication Date
CN114724558A true CN114724558A (en) 2022-07-08

Family

ID=82240236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210282865.6A Pending CN114724558A (en) 2022-03-22 2022-03-22 Method and device for voice control of air conditioner, air conditioner and storage medium

Country Status (2)

Country Link
CN (1) CN114724558A (en)
WO (1) WO2023179226A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023179226A1 (en) * 2022-03-22 2023-09-28 青岛海尔空调器有限总公司 Method and apparatus for voice control of air conditioner, and air conditioner and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117555250A (en) * 2024-01-02 2024-02-13 珠海格力电器股份有限公司 Control method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147782A (en) * 2018-09-04 2019-01-04 深圳国美云智科技有限公司 Control method, device and the air-conditioning of air-conditioning
CN110030667A (en) * 2019-03-13 2019-07-19 青岛海尔空调器有限总公司 Air conditioner and its control method
CN110136704B (en) * 2019-04-03 2021-12-28 北京石头世纪科技股份有限公司 Robot voice control method and device, robot and medium
CN111883126A (en) * 2020-07-27 2020-11-03 珠海格力电器股份有限公司 Data processing mode selection method and device and electronic equipment
CN112382292A (en) * 2020-12-11 2021-02-19 北京百度网讯科技有限公司 Voice-based control method and device
CN112509585A (en) * 2020-12-22 2021-03-16 北京百度网讯科技有限公司 Voice processing method, device and equipment of vehicle-mounted equipment and storage medium
CN215495995U (en) * 2021-07-30 2022-01-11 深圳市瑞凡微电子科技有限公司 Intelligent air conditioner fan based on off-line voice recognition
CN114724558A (en) * 2022-03-22 2022-07-08 青岛海尔空调器有限总公司 Method and device for voice control of air conditioner, air conditioner and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023179226A1 (en) * 2022-03-22 2023-09-28 青岛海尔空调器有限总公司 Method and apparatus for voice control of air conditioner, and air conditioner and storage medium

Also Published As

Publication number Publication date
WO2023179226A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
CN114724558A (en) Method and device for voice control of air conditioner, air conditioner and storage medium
CN113341743B (en) Smart home equipment control method and device, electronic equipment and storage medium
CN110414582B (en) Model training method and device, computing equipment and storage medium
CN111965985B (en) Smart home equipment control method and device, electronic equipment and storage medium
CN110706696A (en) Voice control method and device
CN111128168A (en) Voice control method, device and storage medium
CN113111186A (en) Method for controlling household appliance, storage medium and electronic device
CN110246498B (en) Voice processing method and device and household appliance
CN113848747A (en) Intelligent household equipment control method and device
CN111954868A (en) Multi-voice assistant control method, device, system and computer readable storage medium
CN113436631B (en) Voice information processing method and system and device for voice information processing
CN113218058B (en) Method and device for controlling air conditioner and server
CN114253147A (en) Intelligent device control method and device, electronic device and storage medium
CN113836944A (en) Control method and system for intelligent equipment, device thereof and electronic equipment
CN113091245A (en) Control method and device for air conditioner and air conditioner
CN110529982B (en) Air conditioner control method and device, air conditioner partner and air conditioner
CN115479370A (en) Air conditioner control method, device and equipment and air conditioner
CN116224812A (en) Intelligent device control method and device and electronic device
CN110134361B (en) Volume adjusting method of device, computer device and computer-readable storage medium
CN115691494A (en) Voice control method, electronic device and computer readable storage medium
CN115793481A (en) Device control method, device, electronic device and storage medium
CN113848738A (en) Control method and device of intelligent equipment
CN114550719A (en) Method and device for recognizing voice control instruction and storage medium
CN112787899B (en) Equipment voice interaction method, computer readable storage medium and refrigerator
CN113703334A (en) Intelligent scene updating method and device

Legal Events

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