CN107388487B - The method and apparatus for controlling air-conditioning - Google Patents
The method and apparatus for controlling air-conditioning Download PDFInfo
- Publication number
- CN107388487B CN107388487B CN201710533851.6A CN201710533851A CN107388487B CN 107388487 B CN107388487 B CN 107388487B CN 201710533851 A CN201710533851 A CN 201710533851A CN 107388487 B CN107388487 B CN 107388487B
- Authority
- CN
- China
- Prior art keywords
- conditioning
- air
- word
- voice
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses a kind of method and apparatus for controlling air-conditioning.Wherein, this method comprises: obtaining the voice of user's input, in the case where voice wakes up word and default wake-up word matches, it controls air-conditioning and enters control model corresponding with default wake-up word, if air-conditioning enters control model, corresponding operation is executed according to the voice command words control air-conditioning of user's input.The technical issues of method that the present invention solves existing voice control air-conditioning easily causes air-conditioning maloperation.
Description
Technical field
The present invention relates to airconditioning control fields, in particular to a kind of method and apparatus for controlling air-conditioning.
Background technique
With being constantly progressive for science and technology, intelligent air condition is widely used in people's daily life.
Currently, being no longer confined to intelligent air condition be controlled by control panel or remote controler, can also pass through gesture, the side of voice
Formula controls air-conditioning.
In the prior art, air-conditioning freedom of entry control model and third party's service control can be made by the method for voice control
Molding formula (for example, chat, music, news are listened to).In user using the voice control function for waking up word wake-up air-conditioning
Later, user says " too cold ", at this point, the intention of user may be to control air-conditioning, it is also possible to be in chat mode.
If user is in chat mode, when user says " too cold ", air-conditioning may not needed and adjust temperature, and air-conditioning is receiving
After the voice command inputted to user, the output temperature of air-conditioning is adjusted, i.e., air-conditioning produces mistake to voice at this time
Identification, and produce maloperation.
Aiming at the problem that method of above-mentioned existing voice control air-conditioning easily causes air-conditioning maloperation, not yet propose at present
Effective solution scheme.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus for controlling air-conditioning, empty at least to solve existing voice control
The method of tune easily causes the technical issues of air-conditioning maloperation.
According to an aspect of an embodiment of the present invention, a kind of method for controlling air-conditioning is provided, comprising: obtain user's input
Voice wake up word;In the case where voice wakes up word and default wake-up word matches, control air-conditioning enters and default wake-up word
Corresponding control model;If air-conditioning enters control model, according to the voice command words control air-conditioning execution pair of user's input
The operation answered.
According to another aspect of an embodiment of the present invention, a kind of device for controlling air-conditioning is additionally provided, comprising: module is obtained,
The voice that judgement obtains user's input wakes up word;First control module matches for waking up word in voice with the default word that wakes up
In the case where, control air-conditioning enters control model corresponding with default wake-up word;Second control module, if for air-conditioning into
Enter control model, corresponding operation is executed according to the voice command words control air-conditioning of user's input.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, which includes storage
Program, wherein the method that program executes control air-conditioning.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, which is used to run program,
In, the method for control air-conditioning is executed when program is run.
According to another aspect of an embodiment of the present invention, a kind of air-conditioning is additionally provided, comprising: voice plate;Processor, processor
Run program, wherein the method that control air-conditioning is executed for the data exported from voice plate when program is run.
According to the another aspect of the embodiment of the present invention, a kind of air-conditioning is additionally provided, comprising: voice plate;Storage medium, for depositing
Store up program, wherein the method that program executes control air-conditioning for the data exported from voice plate at runtime.
In embodiments of the present invention, by the way of waking up word control air-conditioning, the voice by obtaining user's input is waken up
Word, in the case where voice wakes up word and default wake-up word matches, control air-conditioning enters control corresponding with default wake-up word
Molding formula executes corresponding operation according to the voice command words control air-conditioning of user's input, reaches if air-conditioning enters control model
To the purpose of the misrecognition of air-conditioning caused by voice control air-conditioning is effectively avoided passing through, to realize the experience for improving user
The technical effect of degree, and then the technical issues of the method for solving existing voice control air-conditioning easily causes air-conditioning maloperation.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of method flow diagram for controlling air-conditioning according to an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of optional control air-conditioning according to an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram of optional control air-conditioning according to an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram of optional control air-conditioning according to an embodiment of the present invention;
Fig. 5 is a kind of method flow diagram of optional control air-conditioning according to an embodiment of the present invention;
Fig. 6 is a kind of preferred control air-conditioning method flow chart according to an embodiment of the present invention;And
Fig. 7 is a kind of apparatus structure schematic diagram for controlling air-conditioning according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for controlling air-conditioning is provided, it should be noted that in attached drawing
The step of process illustrates can execute in a computer system such as a set of computer executable instructions, although also,
Logical order is shown in flow chart, but in some cases, it can be to be different from shown by sequence execution herein or retouch
The step of stating.
Fig. 1 is the method flow diagram of control air-conditioning according to an embodiment of the present invention, as shown in Figure 1, this method includes as follows
Step:
Step S102, the voice for obtaining user's input wake up word.
It should be noted that air-conditioning is equipped with voice capture device, for acquiring the voice of user's sending, for example, voice
Plate.Specifically, the microphone on voice plate can acquire voice, and processing is carried out to voice and gets voice wake-up word, then will
Voice wakes up word and is converted into can be used for controlling the control instruction of air-conditioning, and then air-conditioning wakes up that word is achievable to call out with voice according to voice
The awake corresponding operation of word.Wherein, it is to close for controlling the permission for the voice whether air-conditioning receives user's sending that voice, which wakes up word,
Keyword, for example, if it is " third party's service " that the voice that user issues, which wakes up word, at this point, air-conditioning enters third party's service mode,
If user issues the control voice of " increasing temperature " again, at this point, temperature will not be adjusted in air-conditioning.
In addition it is also necessary to illustrate, the voice by obtaining user's input wakes up word and enters accordingly to control air-conditioning
Control model, to effectively prevent air-conditioning to the misrecognition of voice.
Step S104, in the case where voice wakes up word and default wake-up word matches, control air-conditioning enters calls out with default
The awake corresponding control model of word.
It should be noted that pre-set wake-up word is stored in the control system of air-conditioning, i.e., it is default to wake up word, when
The voice of user's input wakes up word and default when waking up word and matching, and air-conditioning will enter and voice wakes up word or default wakes up word phase
Corresponding control model.
Specifically, the voice plate of air-conditioning issues user after the voice plate of air-conditioning collects the voice of user's sending
Voice be converted into the accessible control instruction of control system of air-conditioning, and by the control instruction and the wake-up word that has been stored in advance
Corresponding control instruction is matched, and match degree is greater than the preset threshold (for example, matching degree in above-mentioned two control instruction
In the case where 90%), determine that the two control instructions match, at this point, air-conditioning control system control air-conditioning into
Enter and default wakes up the corresponding control model of word with this.For example, it is " opening third party's service " that the voice of user's input, which wakes up word,
And the default wake-up word stored in the control system of air-conditioning is " third party's service ", the language that the control system of air-conditioning inputs user
Sound wakes up after word handled, and obtains voice and wake up word and the default matching degree for waking up word to be 95%, at this point, air-conditioning will enter the
Tripartite's service mode.
In an alternative embodiment, the default wake-up word stored in the control system of air-conditioning has multiclass, for example,
Control air-conditioning enters the default wake-up word of third party's service, control air-conditioning enters the default wake-up word of shaping modes.Every class wakes up
Word may include multiple wake-up words again, for example, the default wake-up word that control air-conditioning enters third party's service can be " third party's clothes
Business ", " voice-enabled chat ", " listening to music " etc., control air-conditioning enter shaping modes default wake-up word can for " shaping modes ",
" control model " etc..After user, which issues voice, wakes up word, the control system of air-conditioning voice can be waken up to word and every class wakes up
The default word that wakes up of each of word is matched, for example, it is " opening third party's service " that the voice of user's input, which wakes up word, this
When, the control system of air-conditioning detects that the voice wakes up word and presets the matching degree highest for waking up word " third party's service ", and " the
The default wake-up word of tripartite's service " is that control air-conditioning enters one of default wake-up word of third party's service, then, the control of air-conditioning
System control air-conditioning enters third party's service mode.
In addition it is also necessary to explanation, due to it is default wake up word can be it is multiple, user does not need to default pass
Keyword carries out special memory, presets as long as the voice wake-up word of user's input and any one default matching degree for waking up word meet
Condition, air-conditioning enter with this it is default wake up the corresponding control model of word, to improve the experience that user uses air-conditioning
Effect.
Step S106, if air-conditioning enters control model, according to the voice command words control air-conditioning execution pair of user's input
The operation answered.
It should be noted that above-mentioned voice command words are the interactive voice for being controlled air-conditioning, for example, " opening
Machine ", " shutdown ", " being transferred to 28 DEG C " etc..Enter in addition, only waking up word according to the voice that user inputs in the control system of air-conditioning
After corresponding control model, the voice command words of user's input can just come into force, and voice command words be with voice command
It comes into force under the corresponding control model of word.For example, user inputs after voice wake-up word " opening third party's service ", air-conditioning enters
The control model of third party's service, if user inputs order word " being transferred to 28 DEG C " again at this time, the output temperature of air-conditioning is not at this time
28 DEG C can be transferred to.
In addition it is also necessary to explanation, due to being to wake up word in the voice inputted according to user to enter corresponding control mould
Formula and then air-conditioning is controlled according to the voice command words under different control models, if voice command words and current
Control model mismatch, then operation is not carried out in air-conditioning, therefore, above-described embodiment of the application can be effectively avoided because
The problem of function scene of air-conditioning is different, and the voice that air-conditioning inputs user misidentifies and carries out maloperation, and then reach
Improve the purpose of user experience effect.
Based on scheme defined by above-mentioned steps S102 to step S106, the voice by obtaining user's input can be known
Word is waken up, in the case where voice wakes up word and default wake-up word matches, control air-conditioning enters corresponding with default wake-up word
Control model corresponding behaviour is executed according to the voice command words control air-conditioning of user's input if air-conditioning enters control model
Make.
It is easily noted that, inputs voice in user and wake up word, air-conditioning enters control corresponding with voice wake-up word
Mode controls air-conditioning according to the voice command words under the control model under different control models, if voice is ordered
Word and current control model is enabled to mismatch, then air-conditioning is done nothing.
Therefore, it can achieve by above-described embodiment of the application and effectively avoid passing through sky caused by voice control air-conditioning
The purpose of misrecognition is adjusted, to realize the technical effect for improving the Experience Degree of user, and then solves existing voice control
The method of air-conditioning easily causes the technical issues of air-conditioning maloperation.
It should be noted that above-mentioned voice wakes up word except can be used for controlling air-conditioning into after corresponding control model, also
It can be used for waking up voice plate, specifically, the method flow diagram of the optional control air-conditioning of one kind as shown in Figure 2, is executing step
Before S102, i.e., before the voice for obtaining user's input wakes up word, the method for controlling air-conditioning further includes following steps:
Step S202, judges whether the voice plate of air-conditioning is in standby;
Step S204, in the case where the voice plate of air-conditioning is in standby, the voice for obtaining user's input wakes up word;
Step S206 wakes up the voice plate that word wakes up air-conditioning according to voice.
Specifically, whether the voice plate that the control system of air-conditioning detects air-conditioning first is in standby, if voice plate
Be in standby, then the voice for getting user's input wakes up word, and judge voice that user inputted wake up word whether with
The default word that wakes up matches, if matched, the control system control of air-conditioning wakes up voice plate.
In an alternative embodiment, in the default word that wakes up there are multiclass, every class wake-up word there is a situation where multiple again
Under, as long as it is that default one waken up in word can wake up voice plate that the voice of user's input, which wakes up word,.
In an alternative embodiment, in default wake-up word, there are multiclass, but every class wakes up the feelings that word only has one
Under condition, the voice that the control system detection user of air-conditioning is inputted wakes up word and each default matching degree for waking up word, as long as
Voice wakes up word and any one default matching degree for waking up word is greater than or equal to a certain threshold value, then the control system of air-conditioning is just called out
Awake voice plate;If voice wakes up word and any one default matching degree for waking up word is respectively less than a certain threshold value, will not wake up
Voice plate.
Herein it should be noted that after the wake-up of voice plate, the voice that voice plate can acquire user's input wakes up word.
After the voice for obtaining user's input wakes up word, the method flow diagram of the optional control air-conditioning of one kind as shown in Figure 3, control
The method of air-conditioning further includes following steps:
Step S302 judges whether the network connection of air-conditioning is normal;
Step S304, in the case where the network of air-conditioning normally connects, control air-conditioning enters on-line mode;
Step S306, in the case where the network of air-conditioning is not connected, control air-conditioning enters off-line mode.
In an alternative embodiment, whether the network of the control system detection air-conditioning of air-conditioning is in connection status, such as
The network of fruit air-conditioning is in connection status, then air-conditioning will enter on-line mode;It is empty if the network of air-conditioning is in an off state
Tune will enter off-line mode.Specifically, can determine whether air-conditioning is in by judging whether air-conditioning receives network signal
Connection status.
In an alternative embodiment, the power of the network signal of the control system detection air-conditioning of air-conditioning, wherein such as
Fruit detects that network signal is poor, then the control system control air-conditioning of air-conditioning enters on-line mode;If detecting that network is believed
Number stronger, then the control system control air-conditioning of air-conditioning enters off-line mode.
It should be noted that just controlling air-conditioning in the stronger situation of network signal enters on-line mode, and in network
In the weaker situation of signal, air-conditioning enters off-line mode, thereby may be ensured that user the network signal of air-conditioning it is weaker or
Person does not have the purpose for remaining to carry out air-conditioning voice control in the case where network signal.In addition, only stronger in network signal
Or in the case that network signal is more stable, air-conditioning just can enter on-line mode, to ensure that user descends energy in on-line model
Enough easily control air-conditionings, without there is the case where network outage during controlling air-conditioning, and then improve use
Family uses the experience effect of air-conditioning.
Specifically, the control model of air-conditioning includes following two control model in the case where air-conditioning enters on-line mode,
That is shaping modes and third party's service mode.Wherein, word is waken up in voice to match with default the first wake-up word waken up in word
In the case where, control air-conditioning enters shaping modes;And word is waken up in voice and is matched with default the second wake-up word waken up in word
In the case where, control air-conditioning enters third party's service mode.
It should be noted that shaping modes are the mode that indoor environment is adjusted for controlling air-conditioning, for example, adjusting
Temperature, humidity of indoor environment etc., third party's service mode are other modes in addition to shaping modes, for example, chatting, music is broadcast
It puts, news is listened to.And above-mentioned first wake-up word is the wake-up word for controlling air-conditioning and entering shaping modes, and second wakes up word as control
Air-conditioning processed enters the wake-up word of third party's service mode.
In an alternative embodiment, when the control system of air-conditioning detects that the voice of user's input wakes up word and presets
The the first wake-up word (the first wake-up word can be multiple wake-up words) waken up in word matches, or match degree is greater than the preset threshold
When, air-conditioning enters third party's service mode.After entering third party's service mode, the control system of air-conditioning continues to judge user
The voice of input wakes up which of word and the first wake-up word wake-up word and matches, for example, the control system of air-conditioning detects use
It is " music " that the voice of family input, which wakes up word, and the keyword and first wake up the matching degree highest of " music " in word, then
The control system control air-conditioning of air-conditioning starts to play music.
In an alternative embodiment, when the control system of air-conditioning detects that the voice of user's input wakes up word and pre-
If the second wake-up word waken up in word matches, then air-conditioning enters shaping modes, at this point, air-conditioning is ordered according to the voice that user inputs
Word control air-conditioning is enabled to execute corresponding operation.Specifically, the method flow diagram of the optional control air-conditioning of one kind as shown in Figure 4,
Under shaping modes, the method for controlling air-conditioning specifically comprises the following steps:
Step S402, judges whether user inputs voice command words within a preset time;
Step S404 controls air-conditioning voice command recognition word if user inputs voice command words within a preset time;
Step S406 executes corresponding operation according to the result control air-conditioning after identification.
Specifically, whether the control system detection user of air-conditioning is defeated within a preset time in the case where air-conditioning enters shaping modes
Enter voice command words, if detecting that user has input voice command words within a preset time, air-conditioning is to the voice command words
Identifying processing is carried out, for example, judging whether the voice command words of user's input order with voice preset in the control system of air-conditioning
It enables word whether identical or whether matching degree is greater than a certain preset threshold, if the voice command words and preset language of user's input
Sound order word is identical or paired comparisons height, then the control system of air-conditioning will control air-conditioning and execute and preset voice command words
Corresponding operation.If user within a preset time without input voice command words, control air-conditioning voice plate be in
Machine state, i.e., air-conditioning will move out the mode of voice control air-conditioning at this time.
In an alternative embodiment, if voice command words and preset language that user inputs within a preset time
When sound order word is not identical or matching degree is relatively low, the control system control voice plate of air-conditioning issues the user with voice command words
Incorrect prompt information, user continue to input voice command words.If (specific number can be by user voluntarily for the continuous n times of user
Setting) voice command words that are inputted are undesirable, then and the control system of air-conditioning enters standby mode for voice plate is controlled,
I.e. air-conditioning will move out the mode of voice control air-conditioning at this time.
It should be noted that above-mentioned preset time may be configured as 15 seconds, wherein user can voluntarily set according to the actual situation
It is fixed.
There is also an alternative embodiment, the optional control air-conditioning of one kind in disconnection mode as shown in Figure 5
Method flow diagram corresponding operation is executed according to the voice command words control air-conditioning of user's input, is specifically included in Fig. 5
Following steps:
Step S502 judges that the voice of user's input wakes up whether word matches with default wake-up word;
Step S504, in the case where voice wakes up word and default wake-up word matches, control air-conditioning enters shaping modes;
Step S506 judges whether user inputs voice within a preset time in the case where air-conditioning enters shaping modes
Order word;
Step S508, if user inputs voice command words within a preset time, control air-conditioning executes and voice command words
Corresponding operation.
Specifically, the control system in air-conditioning detects that the network of air-conditioning compares in the state or network signal disconnected
In the case where difference, air-conditioning enters off-line mode.Since air-conditioning does not connect network or network signal less stable, at this point, empty
It adjusts and there was only shaping modes, third party's service mode may be not present.After air-conditioning enters off-line mode, the voice plate of air-conditioning continues
The voice for obtaining user's input wakes up word, and judges that the voice of user's input wakes up word and wakes up whether word matches with default, i.e.,
Whether matching degree is greater than preset threshold.If match degree is greater than the preset threshold, continue to judge user whether within a preset time
Input voice command words and the voice command words that input within a preset time of user and preset voice command words whether phase
Match.If user has input voice command words, and the voice command words and preset voice of user's input within a preset time
Order word matches, then the control system of air-conditioning will control air-conditioning and execute operation corresponding with preset voice command words.Its
In, above-mentioned preset time may be configured as 15 seconds, wherein user can sets itself according to the actual situation.
It should be noted that if the voice command words that input within a preset time of user and preset voice command words not
When identical or matching degree is relatively low, the control system of air-conditioning control voice plate issues the user with that voice command words are incorrect to be mentioned
Show information, user continues to input voice command words.If the continuous n times of user (specific number can be by user's sets itself) are inputted
Voice command words it is undesirable, then the control system of air-conditioning enters standby mode for voice plate is controlled, i.e. air-conditioning at this time
It will move out the mode of voice control air-conditioning.
In a kind of preferred embodiment, a kind of preferred control air-conditioning method flow chart as shown in FIG. 6.In voice plate
In the case where being in standby, the control system of air-conditioning obtains the wake-up word that user is inputted, to wake up voice plate.It
Afterwards, whether normal the control system of air-conditioning continues to test network connection, if network connection is normal, air-conditioning enters online mould
Formula;If network is in an off state, air-conditioning enters off-line mode.After air-conditioning enters on-line mode, if user is defeated
What is entered is to wake up word 1, then continues to test whether user has input order word in 15s, if user does not input order word,
Air-conditioning exits the mode of voice control air-conditioning;If user has input order word, the control system of air-conditioning to the order word into
Row identifying processing, and corresponding operation is executed according to the result control air-conditioning after identification.If under in on-line model, the control of air-conditioning
System detection processed to user input be wake up word 2, then air-conditioning enters third party's service mode, i.e., user can carry out the spare time at this time
Merely, music and news etc. are listened to.When network is in an off state, air-conditioning enters off-line mode.The control system of air-conditioning from
Operation when operation under ray mode is in connection status with network is similar, the difference is that the air-conditioning under off-line mode
Third party's service mode will not be entered, be only capable of the order word inputted according to user to execute corresponding operation, specific method with
Shaping modes under ray mode are identical, and details are not described herein.
Voice control air-conditioning is effectively avoided passing through it should be noted that can achieve by above-described embodiment of the application
The purpose of caused air-conditioning misrecognition, to realize the technical effect for improving the Experience Degree of user, and then solves existing
The method of voice control air-conditioning easily causes the technical issues of air-conditioning maloperation.
Embodiment 2
According to embodiments of the present invention, a kind of Installation practice for controlling air-conditioning is additionally provided.
Fig. 7 is the apparatus structure schematic diagram of control air-conditioning according to an embodiment of the present invention, as shown in fig. 7, the device includes:
Obtain module 701, the first control module 703 and the second control module 705.
Wherein, module 701 is obtained, judges that the voice for obtaining user's input wakes up word;First control module 703 is used for
In the case that voice wake-up word and default wake-up word match, air-conditioning is controlled into control mould corresponding with default wake-up word
Formula;Second control module 705 controls air-conditioning according to the voice command words of user's input if entering control model for air-conditioning
Execute corresponding operation.
From the foregoing, it will be observed that waking up word by the voice for obtaining user's input, word is waken up in voice and is matched with the default word that wakes up
In the case where, control air-conditioning enter control model corresponding with default wake-up word, if air-conditioning enters control model, according to
The voice command words control air-conditioning of family input executes corresponding operation.
It is easily noted that, inputs voice in user and wake up word, air-conditioning enters control corresponding with voice wake-up word
Mode controls air-conditioning according to the voice command words under the control model under different control models, if voice is ordered
Word and current control model is enabled to mismatch, then air-conditioning is done nothing.
Therefore, it can achieve by above-described embodiment of the application and effectively avoid passing through sky caused by voice control air-conditioning
The purpose of misrecognition is adjusted, to realize the technical effect for improving the Experience Degree of user, and then solves existing voice control
The method of air-conditioning easily causes the technical issues of air-conditioning maloperation.
It should be noted that above-mentioned acquisition module 701, the first control module 703 and the second control module 705 correspond to
Step S102 to step S106 in embodiment 1, three modules are identical as example and application scenarios that corresponding step is realized,
But it is not limited to the above embodiments 1 disclosure of that.
In an alternative embodiment, control the device of air-conditioning further include: first judgment module, third control module with
And the 4th control module.Wherein, whether first judgment module, the network connection for judging air-conditioning are normal;Third control module,
For in the case where the network of air-conditioning normally connects, control air-conditioning to enter on-line mode;4th control module, in air-conditioning
Network it is not connected in the case where, control air-conditioning enters off-line mode.
Implement it should be noted that above-mentioned first judgment module, third control module and the 4th control module correspond to
Step S302 to step S306 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.
In an alternative embodiment, in the case where air-conditioning enters on-line mode, the first control module includes: the 5th
Control module and the 6th control module.Wherein, the 5th control module, for waking up word and default the waken up in word in voice
In the case that one wake-up word matches, control air-conditioning enters shaping modes;6th control module, in voice wake-up word and in advance
If control air-conditioning enters third party's service mode in the case that the second wake-up word in wake-up word matches.
In an alternative embodiment, in the case where air-conditioning enters shaping modes, the second control module includes: second
Judgment module, the 7th control module and the 8th control module.Wherein, the second judgment module, for judging user when default
It is interior whether to input voice command words;7th control module, if inputting voice command words within a preset time for user, control
Air-conditioning voice command recognition word processed;8th control module, for executing corresponding operation according to the result control air-conditioning after identification.
Implement it should be noted that above-mentioned second judgment module, the 7th control module and the 8th control module correspond to
Step S402 to step S406 in example 1, three modules are identical as example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.
In an alternative embodiment, in the case where air-conditioning enters off-line mode, the second control module includes: third
Judgment module, the 9th control module, the 4th judgment module and the tenth control module.Wherein, third judgment module, for judging
The voice of user's input wakes up whether word matches with default wake-up word;9th control module, in voice wake-up word and in advance
If in the case that wake-up word matches, control air-conditioning enters shaping modes;4th judgment module, for entering adjusting mould in air-conditioning
In the case where formula, judge whether user inputs voice command words within a preset time;Tenth control module, if existed for user
Voice command words are inputted in preset time, control air-conditioning executes operation corresponding with voice command words.
It should be noted that above-mentioned third judgment module, the 9th control module, the 4th judgment module and the tenth control mould
Block corresponds to the step S502 to step S508 in embodiment 1, the example and application that four modules are realized with corresponding step
Scene is identical, but is not limited to the above embodiments 1 disclosure of that.
In an alternative embodiment, if user controls air-conditioning within a preset time without input voice command words
Voice plate be in standby.
In an alternative embodiment, control the device of air-conditioning further include: the 5th judgment module, acquisition submodule and
Wake-up module.Wherein, the 5th judgment module, for judging whether the voice plate of air-conditioning is in standby;Acquisition submodule is used
Word is waken up in the voice in the case where the voice plate of air-conditioning is in standby, obtaining user's input;Wake-up module is used for root
The voice plate that word wakes up air-conditioning is waken up according to voice.
It should be noted that above-mentioned 5th judgment module, acquisition submodule and wake-up module correspond in embodiment 1
Step S202 to step S206, three modules are identical as example and application scenarios that corresponding step is realized, but are not limited to
State 1 disclosure of that of embodiment.
In addition, according to another aspect of an embodiment of the present invention, additionally providing a kind of storage medium, which includes depositing
The program of storage, wherein the method that program executes the control air-conditioning described in embodiment 1.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, which is used to run program,
In, the method for the control air-conditioning described in embodiment 1 is executed when program is run.
According to another aspect of an embodiment of the present invention, a kind of air-conditioning is additionally provided, comprising: voice plate;Processor, processor
Run program, wherein following steps are executed for the data exported from voice plate when program is run: obtaining the voice of user's input
Wake up word;In the case where voice wakes up word and default wake-up word matches, control air-conditioning enters corresponding with default wake-up word
Control model;If air-conditioning enters control model, corresponding behaviour is executed according to the voice command words control air-conditioning of user's input
Make.
According to the another aspect of the embodiment of the present invention, a kind of air-conditioning is additionally provided, comprising: voice plate;Storage medium, for depositing
Store up program, wherein program executes following steps for the data exported from voice plate at runtime: obtaining the voice of user's input
Wake up word;In the case where voice wakes up word and default wake-up word matches, control air-conditioning enters corresponding with default wake-up word
Control model;If air-conditioning enters control model, corresponding behaviour is executed according to the voice command words control air-conditioning of user's input
Make.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method for controlling air-conditioning characterized by comprising
The voice for obtaining user's input wakes up word;
In the case where the voice wakes up word and default wake-up word matches, control air-conditioning enters and the default wake-up word phase
Corresponding control model;
If the air-conditioning enters the control model, the air-conditioning is controlled according to the voice command words of user input and is executed
Corresponding operation;
After the voice for obtaining user's input wakes up word, judge whether the network connection of the air-conditioning is normal;In the air-conditioning
Network normally connect in the case where, control the air-conditioning and enter on-line mode;In the not connected situation of the network of the air-conditioning
Under, it controls the air-conditioning and enters off-line mode;
The air-conditioning enter the on-line mode in the case where, control the air-conditioning enter it is corresponding with the default wake-up word
Control model, comprising: the voice wake up word and it is described it is default wake up word in first wake-up word match in the case where,
It controls the air-conditioning and enters shaping modes;Word is waken up in the voice to match with the default second wake-up word waken up in word
In the case where, it controls the air-conditioning and enters third party's service mode.
2. the method according to claim 1, wherein if the air-conditioning enter the shaping modes, according to
The voice command words of family input control the air-conditioning and execute corresponding operation, comprising:
Judge whether the user inputs the voice command words within a preset time;
If the user inputs the voice command words in the preset time, controls the air-conditioning and identify the voice life
Enable word;
The air-conditioning, which is controlled, according to the result after identification executes corresponding operation.
3. the method according to claim 1, wherein if the air-conditioning enter the off-line mode, according to
The voice command words of family input control the air-conditioning and execute corresponding operation, comprising:
Judge that the voice of user's input wakes up whether word matches with the default wake-up word;
In the case where the voice wakes up word and the default wake-up word matches, the air-conditioning is controlled into the adjusting mould
Formula;
In the case where the air-conditioning enters the shaping modes, judge whether the user inputs institute in the preset time
Speech commands word;
If the user inputs the voice command words in the preset time, controls the air-conditioning and execute and the voice
The corresponding operation of order word.
4. the method according to any one of Claims 2 or 3, which is characterized in that if the user is described default
Without inputting the voice command words in time, the voice plate for controlling the air-conditioning is in standby.
5. the method according to claim 1, wherein obtain user input voice wake up word before, it is described
Method further include:
Judge whether the voice plate of the air-conditioning is in standby;
In the case where the voice plate of the air-conditioning is in the standby mode, the voice for obtaining user's input wakes up word;
The voice plate that word wakes up the air-conditioning is waken up according to the voice.
6. a kind of device for controlling air-conditioning characterized by comprising
Module is obtained, judges that the voice for obtaining user's input wakes up word;
First control module, in the case where the voice wakes up word and default wake-up word matches, control air-conditioning to enter
Control model corresponding with the default wake-up word;
Second control module, if entering the control model for the air-conditioning, the voice command inputted according to the user
Word controls the air-conditioning and executes corresponding operation;
Whether first judgment module, the network connection for judging the air-conditioning are normal;Third control module, in the sky
In the case that the network of tune normally connects, controls the air-conditioning and enter on-line mode;4th control module, in the air-conditioning
Network it is not connected in the case where, control the air-conditioning and enter off-line mode;
In the case where the air-conditioning enters the on-line mode, the first control module includes: the 5th control module, in institute
In the case that the first wake-up word that predicate sound wakes up in word and the default wake-up word matches, controls the air-conditioning and enter adjusting
Mode;6th control module, what the second wake-up word for being waken up in word and the default wake-up word in the voice matched
In the case of, it controls the air-conditioning and enters third party's service mode.
7. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution
Benefit require any one of 1 to 5 described in control air-conditioning method.
8. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 5 described in control air-conditioning method.
9. a kind of air-conditioning characterized by comprising
Voice plate;
Processor, the processor run program, wherein described program holds the data exported from the voice plate when running
The method of air-conditioning is controlled described in any one of row claim 1 to 5.
10. a kind of air-conditioning characterized by comprising
Voice plate;
Storage medium, for storing program, wherein described program at runtime executes the data exported from the voice plate
The method of air-conditioning is controlled described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710533851.6A CN107388487B (en) | 2017-07-03 | 2017-07-03 | The method and apparatus for controlling air-conditioning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710533851.6A CN107388487B (en) | 2017-07-03 | 2017-07-03 | The method and apparatus for controlling air-conditioning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107388487A CN107388487A (en) | 2017-11-24 |
CN107388487B true CN107388487B (en) | 2019-07-09 |
Family
ID=60334194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710533851.6A Active CN107388487B (en) | 2017-07-03 | 2017-07-03 | The method and apparatus for controlling air-conditioning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107388487B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880961A (en) * | 2018-07-19 | 2018-11-23 | 广东美的厨房电器制造有限公司 | Appliances equipment control method and device, computer equipment and storage medium |
CN108520744B (en) * | 2018-03-15 | 2020-11-10 | 斑马网络技术有限公司 | Voice control method and device, electronic equipment and storage medium |
CN109326291A (en) * | 2018-12-24 | 2019-02-12 | 深圳创维-Rgb电子有限公司 | Television mode control method, TV and storage medium |
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 |
CN109974190A (en) * | 2019-03-13 | 2019-07-05 | 青岛海尔空调器有限总公司 | A kind of air conditioner and its control method |
CN109887506A (en) * | 2019-03-21 | 2019-06-14 | 广东美的制冷设备有限公司 | Control method, device, the apparatus of air conditioning and the server of the apparatus of air conditioning |
CN110848833A (en) * | 2019-10-26 | 2020-02-28 | 江苏亿立方智能科技有限公司 | Anion purifier interaction method and anion purifier |
CN111895580A (en) * | 2020-08-03 | 2020-11-06 | 宁波奥克斯电气股份有限公司 | Air conditioner anti-disturbance control method and device and air conditioner |
CN112927687A (en) * | 2021-01-25 | 2021-06-08 | 珠海格力电器股份有限公司 | Method, device and system for controlling functions of equipment and storage medium |
CN115132195B (en) * | 2022-05-12 | 2024-03-12 | 腾讯科技(深圳)有限公司 | Voice wakeup method, device, equipment, storage medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008228129A (en) * | 2007-03-15 | 2008-09-25 | Matsushita Electric Ind Co Ltd | Remote control device |
CN104538030A (en) * | 2014-12-11 | 2015-04-22 | 科大讯飞股份有限公司 | Control system and method for controlling household appliances through voice |
CN105448293A (en) * | 2014-08-27 | 2016-03-30 | 北京羽扇智信息科技有限公司 | Voice monitoring and processing method and voice monitoring and processing device |
CN105957527A (en) * | 2016-05-16 | 2016-09-21 | 珠海格力电器股份有限公司 | Electric appliance speech control method and device and speech control air-conditioner |
CN106297801A (en) * | 2016-08-16 | 2017-01-04 | 北京云知声信息技术有限公司 | Method of speech processing and device |
CN106448664A (en) * | 2016-10-28 | 2017-02-22 | 魏朝正 | System and method for controlling intelligent home equipment by voice |
-
2017
- 2017-07-03 CN CN201710533851.6A patent/CN107388487B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008228129A (en) * | 2007-03-15 | 2008-09-25 | Matsushita Electric Ind Co Ltd | Remote control device |
CN105448293A (en) * | 2014-08-27 | 2016-03-30 | 北京羽扇智信息科技有限公司 | Voice monitoring and processing method and voice monitoring and processing device |
CN104538030A (en) * | 2014-12-11 | 2015-04-22 | 科大讯飞股份有限公司 | Control system and method for controlling household appliances through voice |
CN105957527A (en) * | 2016-05-16 | 2016-09-21 | 珠海格力电器股份有限公司 | Electric appliance speech control method and device and speech control air-conditioner |
CN106297801A (en) * | 2016-08-16 | 2017-01-04 | 北京云知声信息技术有限公司 | Method of speech processing and device |
CN106448664A (en) * | 2016-10-28 | 2017-02-22 | 魏朝正 | System and method for controlling intelligent home equipment by voice |
Also Published As
Publication number | Publication date |
---|---|
CN107388487A (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107388487B (en) | The method and apparatus for controlling air-conditioning | |
CN109712624A (en) | A kind of more voice assistant coordination approach, device and system | |
CN106773742B (en) | Sound control method and speech control system | |
CN105847099B (en) | Internet of things implementation system and method based on artificial intelligence | |
CN110336723A (en) | Control method and device, the intelligent appliance equipment of intelligent appliance | |
US20060195323A1 (en) | Distributed speech recognition system | |
CN107276864A (en) | The method of intelligent sound equipment control household electrical appliances, apparatus and system | |
CN108899027A (en) | Speech analysis method and device | |
CN108447480A (en) | Method, intelligent sound terminal and the network equipment of smart home device control | |
WO2017206725A1 (en) | Smart refrigerator, server and language control system and method | |
US7689424B2 (en) | Distributed speech recognition method | |
CN104538030A (en) | Control system and method for controlling household appliances through voice | |
CN109192208A (en) | A kind of control method of electrical equipment, system, device, equipment and medium | |
CN112634897B (en) | Equipment awakening method and device, storage medium and electronic device | |
CN109473092A (en) | A kind of sound end detecting method and device | |
CN105280180A (en) | Terminal control method, device, voice control device and terminal | |
CN107544272A (en) | terminal control method, device and storage medium | |
CN108039174A (en) | Speech recognition system, method and apparatus | |
CN108766424A (en) | Smart home intelligent sound learning control method | |
CN109003609A (en) | Speech ciphering equipment, intelligent voice system, apparatus control method and device | |
CN101436404A (en) | Conversational biology-liked apparatus and conversational method thereof | |
CN109285546A (en) | Control system, method, storage medium and the electronic device of terminal | |
CN113921004A (en) | Intelligent device control method and device, storage medium and electronic device | |
CN113555018A (en) | Voice interaction method and device | |
CN108922522A (en) | Control method, device, storage medium and the electronic device of equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |