CN105741840A - Voice control method and device - Google Patents
Voice control method and device Download PDFInfo
- Publication number
- CN105741840A CN105741840A CN201610211626.6A CN201610211626A CN105741840A CN 105741840 A CN105741840 A CN 105741840A CN 201610211626 A CN201610211626 A CN 201610211626A CN 105741840 A CN105741840 A CN 105741840A
- Authority
- CN
- China
- Prior art keywords
- encoded radio
- control command
- byte
- check code
- information
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001816 cooling Methods 0.000 claims description 50
- 238000005194 fractionation Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000000694 effects Effects 0.000 abstract description 4
- 238000004378 air conditioning Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/002—Dynamic bit allocation
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/005—Correction of errors induced by the transmission channel, if related to the coding algorithm
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2130/00—Control inputs relating to environmental factors not covered by group F24F2110/00
- F24F2130/40—Noise
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Chemical & Material Sciences (AREA)
- Signal Processing (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Atmospheric Sciences (AREA)
- Mobile Radio Communication Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a voice control method and device, which are used for realizing the purpose of voice control of an intelligent air conditioner. The method comprises the following steps of: receives a control command sent by a voice device, the control command being obtained by coding voice information input by a user according to a preset command format by the voice device; decoding the control command according to the preset command format, and obtaining effective information carried in the control command; and executing an operation corresponding to the effective information. The technical scheme realizes the effect that the user controls the air conditioner through a voice input mode. Compared with the former scheme in which the air conditioner is controlled by using a remote control, the technical scheme makes the control of the air conditioner by the user more convenient and efficient, and funny.
Description
Technical field
The present invention relates to voice processing technology field, particularly relate to a kind of sound control method and device.
Background technology
Along with user is more and more higher to the demand of living environment, the mode of operation that home equipment provides gets more and more, in prior art, the operational mode of air-conditioning or temperature etc. are manually controlled by user by remote controller, this traditional mode controlling air-conditioning is cumbersome, a kind of method that can control air-conditioning conveniently and efficiently of user's urgent needs.The present invention is directed to this demand of user, it is proposed to a kind of voice controls the method for air-conditioning.
Summary of the invention
The embodiment of the present invention provides a kind of sound control method and device, for realizing the purpose of Voice command intelligent air condition.
A kind of sound control method, is applied to intelligent air condition, comprises the following steps:
Receiving the control command that speech ciphering equipment sends, described control command is that the encoding speech information according to pre-set commands form, user inputted by described speech ciphering equipment obtains;
According to described pre-set commands form, described control command is decoded, it is thus achieved that the effective information carried in described control command;
Perform the operation corresponding with described effective information.
Some beneficial effects of the embodiment of the present invention may include that
Technique scheme, by receiving the control command encoding speech information that user inputs obtained according to pre-set commands form that speech ciphering equipment sends, and according to pre-set commands form, control command is decoded, and then execution corresponding operating, achieve user and controlled the effect of air-conditioning by the mode of phonetic entry, compared with using remote controller to control the scheme of air-conditioning in the past, this technical scheme makes user that the control of air-conditioning is more convenient, and has enjoyment.
In one embodiment, described control command includes N number of byte, the corresponding encoded radio of each byte, described encoded radio includes the identity encoded radio of described intelligent air condition, Control Cooling encoded radio, controls parameter coding value or check code, and described N is the positive integer more than 1.
In this embodiment, by the N number of byte in control command is preset so that intelligent air condition is capable of identify that the control command that speech ciphering equipment sends, thus realizing the purpose of Voice command air-conditioning.
In one embodiment, when described encoded radio includes the identity encoded radio of described intelligent air condition, the operation that described execution is corresponding with described effective information, including:
According to described pre-set commands form, the primary importance information of identity encoded radio, obtains described identity from described effective information;
Judge whether described identity mates with described intelligent air condition;
When described identity is mated with described intelligent air condition, perform the operation corresponding with described effective information.
In this embodiment, it is possible to determine whether to perform corresponding operating according to the identity in effective information so that same speech ciphering equipment can control multiple intelligent air condition simultaneously, and by the checking of identity can be controlled any of which intelligent air condition like clockwork.
In one embodiment, when described encoded radio includes the Control Cooling encoded radio of described intelligent air condition and controls parameter coding value, the operation that described execution is corresponding with described effective information, including:
The second position information that Control Cooling encoded radio according to described pre-set commands form is corresponding, and the 3rd positional information that described control parameter coding value is corresponding, obtain described Control Cooling and described control parameter from described effective information;
Corresponding operation is performed according to described Control Cooling and described control parameter.
In this embodiment, can according to Control Cooling encoded radio in pre-set commands form and the positional information acquisition Control Cooling and the control parameter that control parameter coding value, and then perform corresponding operation according to Control Cooling and control parameter, make Control Cooling that intelligent air condition can accurately identify out in effective information and control parameter, thus realizing the purpose of Voice command air-conditioning.
In one embodiment, when described encoded radio includes described check code, described according to described pre-set commands form, described control command is decoded, including:
The 4th positional information that check code according to described pre-set commands form is corresponding, obtains described check code from described control command;
Described in described pre-set commands form, the verification rule of check code, verifies that whether described check code is correct;
When described check code is correct, according to described pre-set commands form, described control command is decoded;
When described check code mistake, send the information of physical transmission errors to described speech ciphering equipment.
In this embodiment, it is possible to obtain check code according to the positional information of check code in pre-set commands form, and this check code is verified, it is to avoid because of the situation of the information errors that physical transmission errors causes, thus improving user to use the accuracy of Voice command air-conditioning.
In one embodiment, described method also includes:
When described control command being decoded unsuccessfully according to described pre-set commands form, it is determined that presetting standby command form, at least some of byte in described default standby command form, correspondence n encoded radio of each byte, described n is the positive integer more than 1;
According to described default standby command form, described control command is decoded.
In this embodiment, can when control command being decoded failure according to institute's pre-set commands form, adopt default standby command form that control command is decoded, when making the data in the effective information that control command carries more, intelligent air condition remains to the data accurately identifying out in effective information, thus improving user to use the accuracy of Voice command air-conditioning.
In one embodiment, described according to described default standby command form, described control command is decoded, including:
Determine the 5th positional information of at least some of byte described in described default standby command form;
According to the rule that splits in described default standby command form, the byte that described 5th positional information is corresponding is split, it is thus achieved that the encoded radio after fractionation;
Encoded radio after described fractionation is decoded.
In this embodiment, according to the fractionation rule in default standby command form, byte can be split, thus the effective information parsed exactly in control command, avoid byte number in control command more time cause resolve mistake situation, improve user and use the accuracy of Voice command air-conditioning.
A kind of phonetic controller, is applied to intelligent air condition, including:
Receiver module, for receiving the control command that speech ciphering equipment sends, described control command is that the encoding speech information according to pre-set commands form, user inputted by described speech ciphering equipment obtains;
First decoder module, for being decoded described control command according to described pre-set commands form, it is thus achieved that the effective information carried in described control command;
Perform module, for performing the operation corresponding with described effective information.
In one embodiment, described control command includes N number of byte, the corresponding encoded radio of each byte, described encoded radio includes the identity encoded radio of described intelligent air condition, Control Cooling encoded radio, controls parameter coding value or check code, and described N is the positive integer more than 1.
In one embodiment, described execution module includes:
First obtains submodule, and for when described encoded radio includes the identity encoded radio of described intelligent air condition, according to described pre-set commands form, the primary importance information of identity encoded radio, obtains described identity from described effective information;
Judge submodule, be used for judging whether described identity mates with described intelligent air condition;
First implementation sub-module, for when described identity is mated with described intelligent air condition, performing the operation corresponding with described effective information.
In one embodiment, described execution module includes:
Second obtains submodule, during for including the Control Cooling encoded radio of described intelligent air condition when described encoded radio and controlling parameter coding value, the second position information that Control Cooling encoded radio according to described pre-set commands form is corresponding, and the 3rd positional information that described control parameter coding value is corresponding, from described effective information, obtain described Control Cooling and described control parameter;
Second implementation sub-module, for performing corresponding operation according to described Control Cooling and described control parameter.
In one embodiment, described first decoder module includes:
3rd obtains submodule, is used for when described encoded radio includes described check code, the 4th positional information that check code according to described pre-set commands form is corresponding, obtains described check code from described control command;
Checking submodule, for the verification rule of check code described in described pre-set commands form, verifies that whether described check code is correct;
First decoding sub-module, for when described check code is correct, being decoded described control command according to described pre-set commands form;
Send submodule, for when described check code mistake, sending the information of physical transmission errors to described speech ciphering equipment.
In one embodiment, described device also includes:
Determine module, for when described control command being decoded unsuccessfully according to described pre-set commands form, it is determined that preset standby command form, at least some of byte in described default standby command form, correspondence n encoded radio of each byte, described n is the positive integer more than 1;
Second decoder module, for being decoded described control command according to described default standby command form.
In one embodiment,
Described second decoder module includes:
Determine submodule, for determining the 5th positional information of at least some of byte described in described default standby command form;
Split submodule, for the byte that described 5th positional information is corresponding being split according to the rule that splits in described default standby command form, it is thus achieved that the encoded radio after fractionation;
Second decoding sub-module, for being decoded the encoded radio after described fractionation.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from description, or understand by implementing the present invention.The purpose of the present invention and other advantages can be realized by structure specifically noted in the description write, claims and accompanying drawing and be obtained.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, is used for together with embodiments of the present invention explaining the present invention, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of sound control method in the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of sound control method in the embodiment of the present invention;
Fig. 3 is the flow chart of step S13 in a kind of sound control method in the embodiment of the present invention;
Fig. 4 is the flow chart of step S13 in a kind of sound control method in the embodiment of the present invention;
Fig. 5 is the flow chart of step S12 in a kind of sound control method in the embodiment of the present invention;
Fig. 6 is the flow chart of a kind of sound control method in the embodiment of the present invention;
Fig. 7 is the flow chart of step S62 in a kind of sound control method in the embodiment of the present invention;
Fig. 8 is the block diagram of a kind of phonetic controller in the embodiment of the present invention;
Fig. 9 is the block diagram performing module in a kind of phonetic controller in the embodiment of the present invention;
Figure 10 is the block diagram performing module in a kind of phonetic controller in the embodiment of the present invention;
Figure 11 is the block diagram of the first decoder module in a kind of phonetic controller in the embodiment of the present invention;
Figure 12 is the block diagram of a kind of phonetic controller in the embodiment of the present invention;
Figure 13 is the block diagram of the second decoder module in a kind of phonetic controller in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred embodiment described herein is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of a kind of sound control method in the embodiment of the present invention.In the present embodiment, relating to speech ciphering equipment and intelligent air condition two ends, wherein, speech ciphering equipment and intelligent air condition can be connected by serial ports hardware, it is possible to connected by other wireless modes such as wifi.As it is shown in figure 1, the method is applied to intelligent air condition, comprise the following steps S11-S13:
Step S11, receives the control command that speech ciphering equipment sends, and control command is that the encoding speech information according to pre-set commands form, user inputted by speech ciphering equipment obtains.
Wherein, arbitrary equipment with speech identifying function such as speech ciphering equipment can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant.
Control command is sent to the step of intelligent air condition and includes the step S21-S23 shown in Fig. 2 by speech ciphering equipment:
Step S21, receives the voice messaging of user's input.
Step S22, is encoded according to the voice messaging that user is inputted by pre-set commands form, it is thus achieved that control command.
Before voice messaging is encoded by speech ciphering equipment, it is necessary to first identifying voice messaging, concrete recognition method is as follows: coupling can be scanned for according to the acoustic model of training in advance and language model, and be converted to the word content that voice messaging is corresponding.In this process, for improving the accuracy rate of speech recognition, can arranging and receive the voice messaging reaching certain decibel value, the voice messaging less for decibel value then directly filters.Speech ciphering equipment can carry out ONLINE RECOGNITION, it is also possible to carries out identified off-line.Such as, first voice messaging is carried out ONLINE RECOGNITION by speech ciphering equipment, namely utilizes the online data identifications such as the language database of network side, acoustic model, when not getting recognition result in certain time length (such as 5 seconds), then carries out identified off-line.Owing to concrete speech recognition process is prior art, therefore repeat no more.
Step S23, is sent to intelligent air condition by the control command after coding.
Step S12, is decoded control command according to pre-set commands form, it is thus achieved that the effective information carried in control command.
Step S13, performs the operation corresponding with effective information.
Adopt the technical scheme that the embodiment of the present invention provides, by receiving the control command encoding speech information that user inputs obtained according to pre-set commands form that speech ciphering equipment sends, and according to pre-set commands form, control command is decoded, and then execution corresponding operating, achieve user and controlled the effect of air-conditioning by the mode of phonetic entry, compared with using remote controller to control the scheme of air-conditioning in the past, this technical scheme makes user that the control of air-conditioning is more convenient, and has enjoyment.
In one embodiment, above-mentioned control command includes N number of byte, and the corresponding encoded radio of each byte, encoded radio includes the identity encoded radio of intelligent air condition, Control Cooling encoded radio, controls parameter coding value or check code, and N is the positive integer more than 1.
Table 1 is the synopsis of the implication of byte and encoded radio and each encoded radio in pre-set commands form in a specific embodiment, in this specific embodiment, and N=8.
In Table 1, byte 0 is fixed value, and implication is synchronous head, and this synchronous head is equivalent to the starting character of control command, and has the effect of reset.
Byte 1 records intelligent air condition ID, i.e. the identity of intelligent air condition, and each intelligent air condition has each unique identity, according to identity, and can related transmitting information exactly between speech ciphering equipment and intelligent air condition.Wherein, identity can represent by information such as the brand of intelligent air condition, product types.
Byte 2 records Control Cooling, and wherein, Control Cooling can include arranging temperature, heightens temperature, turns down temperature, arranges wind speed, arrange the types such as wind pendulum.The corresponding each unique encoded radio of each Control Cooling.Intelligent air condition, by identifying Control Cooling encoded radio, namely can determine that Control Cooling entrained in this control command.
Byte 3 record controls parameter 1, it may include concrete temperature value, concrete wind speed, concrete wind direction etc..In conjunction with the Control Cooling that byte 2 records, namely may recognize that effective information entrained in this control command.Such as, Control Cooling is for heightening temperature, and controlling parameter 1 is 3 degree, then efficient message is " heightening temperature 3 degree ".
Byte 4 record controls parameter 2, under normal circumstances, it is empty for controlling parameter 2, for recording special order, such as, only using the control parameter 2 of byte 4 correspondence when control instruction is wake instruction up, other control instructions then all use the control parameter 1 of byte 3 correspondence, adopting this rule, namely intelligent air condition may recognize that whether current control instruction is for waking instruction up.
Byte 5 and byte 6 are reserve bytes, and this reserve bytes is also used for record and controls parameter, when byte 3 and byte 4 record the control parameter in control instruction not, then utilizes byte 5 and byte 6 to carry out together record.Such as, control parameter and include air quantity, current temperature value, Indoor Temperature angle value, outdoor temp angle value, if being only suitable for byte 3 and byte 4, obviously it is only capable of record air quantity and current temperature value the two controls parameter, at this time, it may be necessary to come temperature value and outdoor temp angle value in recording room in conjunction with byte 5 and byte 6 the two reserve bytes.
Byte 7 records check code, and this check code can prevent the situation that physical transfer is wrong.In this specific embodiment, the verification rule of check code is :~sum (i.e. byte 1+ byte 2+ byte 3+ byte 4+ byte 5+ byte 6)+1.Certainly, this is full of a kind of exemplary verification rule of check code, is not limited to that, the verification rule of check code can arbitrarily be set by user as required.
Table 1
Byte | Encoded radio | Implication |
0 | 0xAA | Synchronous head |
1 | 0x08 | Intelligent air condition ID |
2 | 0xXX | Control Cooling |
3 | 0xXX | Control parameter 1 |
4 | 0xXX | Control parameter 2 |
5 | 0x00 | Retain 1 |
6 | 0x00 | Retain 2 |
7 | 0xXX | Check code |
In this embodiment, by the N number of byte in control command is preset so that intelligent air condition is capable of identify that the control command that speech ciphering equipment sends, thus realizing the purpose of Voice command air-conditioning.
The synopsis of the encoded radio of each byte of control command when table 2 is Voice command air-conditioning in a specific embodiment.As seen from Table 2, the encoded radio that different Control Cooling is corresponding different, different control parameters is corresponding different encoded radio also.Therefore, after control command is decoded by intelligent air condition, the corresponding relation according to encoded radio and Control Cooling, encoded radio and control parameter etc., can accurately determine the effective information carried in control command, and then perform the operation corresponding with effective information.
In one embodiment, as it is shown on figure 3, when encoded radio includes the identity encoded radio of intelligent air condition, step S13 can perform as following steps S31-S34:
Step S31, according to the primary importance information of identity encoded radio in pre-set commands form, obtains identity from effective information.
For above-mentioned table 1, the primary importance information of identity encoded radio is byte 1.
Step S32, it is judged that whether this identity mates with intelligent air condition;If identity is mated with intelligent air condition, then perform step S33;If identity is not mated with intelligent air condition, then perform step S34.
Step S33, performs the operation corresponding with effective information.
Step S34, to speech ciphering equipment feedback prompts information.This information is not mated with the intelligent air condition receiving control command for pointing out the identity carried in control command.
In this embodiment, it is possible to determine whether to perform corresponding operating according to the identity in effective information so that same speech ciphering equipment can control multiple intelligent air condition simultaneously, and by the checking of identity can be controlled any of which intelligent air condition like clockwork.
In one embodiment, as shown in Figure 4, when encoded radio includes the Control Cooling encoded radio of intelligent air condition and controls parameter coding value, step S13 can perform as following steps S41-S42:
Step S41, according to the second position information that Control Cooling encoded radio in pre-set commands form is corresponding, and controls the 3rd positional information that parameter coding value is corresponding, obtains Control Cooling and control parameter from effective information.
For above-mentioned table 1, the second position information that Control Cooling encoded radio is corresponding is byte 2, and the 3rd positional information controlling parameter coding value corresponding is byte 3 and byte 4.
Step S42, performs corresponding operation according to Control Cooling and control parameter.
In this embodiment, can according to Control Cooling encoded radio in pre-set commands form and the positional information acquisition Control Cooling and the control parameter that control parameter coding value, and then perform corresponding operation according to Control Cooling and control parameter, make Control Cooling that intelligent air condition can accurately identify out in effective information and control parameter, thus realizing the purpose of Voice command air-conditioning.
In one embodiment, as it is shown in figure 5, when encoded radio includes the Control Cooling encoded radio of intelligent air condition and controls parameter coding value, step S12 can perform as following steps S51-S54:
Step S51, according to the 4th positional information that check code in pre-set commands form is corresponding, obtains check code from control command.
For above-mentioned table 1, the 4th positional information that check code is corresponding is byte 7.
Step S52, according to the verification rule of check code in pre-set commands form, whether checking check code is correct;If check code is correct, then perform step S53;If check code mistake, then perform step S54.
Such as, in pre-set commands form, the verification rule of check code is :~sum (i.e. byte 1+ byte 2+ byte 3+ byte 4+ byte 5+ byte 6)+1.After intelligent air condition receives control command, obtain the encoded radio of byte 7 place record as check code, and according to verification rule, the encoded radio of byte 1~6 (byte 0 is synchronous head) is sued for peace and adds 1 again, the result tried to achieve and check code contrast, if contrast is consistent, then can determine that check code is correct, if contrasting inconsistent, it is determined that check code mistake.
Step S53, is decoded control command according to pre-set commands form.
Step S54, sends the information of physical transmission errors to speech ciphering equipment.
In this embodiment, it is possible to obtain check code according to the positional information of check code in pre-set commands form, and this check code is verified, it is to avoid because of the situation of the information errors that physical transmission errors causes, thus improving user to use the accuracy of Voice command air-conditioning.
In one embodiment, as shown in Figure 6, the further comprising the steps of S61-S62 of said method:
Step S61, when being decoded unsuccessfully control command according to pre-set commands form, it is determined that presets standby command form;In at least some of byte in default standby command form, correspondence n encoded radio of each byte, n is the positive integer more than 1.
Step S62, is decoded control command according to default standby command form.
In one embodiment, as it is shown in fig. 7, step S62 can perform as following steps S71-S73:
Step S71, it is determined that preset the 5th positional information of at least some of byte in standby command form.
Step S72, splits the byte that the 5th positional information is corresponding according to the rule that splits in default standby command form, it is thus achieved that the encoded radio after fractionation.
Wherein, rule is split for encoded radio corresponding for each byte at the 5th positional information place is split as n encoded radio respectively.
Step S73, is decoded the encoded radio after splitting.
As an example it is assumed that in default standby command form, n=2, byte 3 and byte 4 be corresponding 2 encoded radios all each.The rule that splits preset in standby command form is that the encoded radio of byte 3 and byte 4 correspondence is split as 2 encoded radios respectively.So, preset the 5th positional information of at least some of byte in standby command form and be byte 3 and byte 4, after intelligent air condition gets control instruction, it is first according to split rule and the encoded radio of byte 3 and byte 4 correspondence is split as 2 encoded radios respectively, it is thus achieved that the encoded radio after fractionation.
In this embodiment, can when control command being decoded failure according to institute's pre-set commands form, adopt default standby command form that control command is decoded, when making the data in the effective information that control command carries more, intelligent air condition remains to the data accurately identifying out in effective information, thus improving user to use the accuracy of Voice command air-conditioning.
Fig. 8 is the block diagram of a kind of phonetic controller in the embodiment of the present invention.As shown in Figure 8, this phonetic controller is applied in intelligent air condition, including:
Receiver module 81, for receiving the control command that speech ciphering equipment sends, control command is that the encoding speech information according to pre-set commands form, user inputted by speech ciphering equipment obtains;
First decoder module 82, for being decoded control command according to pre-set commands form, it is thus achieved that the effective information carried in control command;
Perform module 83, for performing the operation corresponding with effective information.
In one embodiment, control command includes N number of byte, and the corresponding encoded radio of each byte, encoded radio includes the identity encoded radio of intelligent air condition, Control Cooling encoded radio, controls parameter coding value or check code, and N is the positive integer more than 1.
In one embodiment, as it is shown in figure 9, perform module 83 and include:
First obtains submodule 831, for when encoded radio includes the identity encoded radio of intelligent air condition, according to the primary importance information of identity encoded radio in pre-set commands form, obtains identity from effective information;
Judge submodule 832, be used for judging whether identity mates with intelligent air condition;
First implementation sub-module 833, for when identity is mated with intelligent air condition, performing the operation corresponding with effective information.
In one embodiment, as shown in Figure 10, perform module 83 to include:
Second obtains submodule 834, during for including the Control Cooling encoded radio of intelligent air condition when encoded radio and controlling parameter coding value, according to the second position information that Control Cooling encoded radio in pre-set commands form is corresponding, and control the 3rd positional information that parameter coding value is corresponding, from effective information, obtain Control Cooling and control parameter;
Second implementation sub-module 835, for performing corresponding operation according to Control Cooling and control parameter.
In one embodiment, as shown in figure 11, the first decoder module 82 includes:
3rd obtains submodule 821, for when encoded radio includes check code, according to the 4th positional information that check code in pre-set commands form is corresponding, obtains check code from control command;
Checking submodule 822, for according to the verification rule of check code in pre-set commands form, whether checking check code is correct;
First decoding sub-module 823, for when check code is correct, being decoded control command according to pre-set commands form;
Send submodule 824, for when check code mistake, sending the information of physical transmission errors to speech ciphering equipment.
In one embodiment, as shown in figure 12, said apparatus also includes:
Determine module 84, for when control command being decoded unsuccessfully according to pre-set commands form, it is determined that presetting standby command form, at least some of byte in default standby command form, correspondence n encoded radio of each byte, n is the positive integer more than 1;
Second decoder module 85, for being decoded control command according to default standby command form.
In one embodiment, as shown in figure 13, the second decoder module 85 includes:
Determine submodule 851, for determining the 5th positional information of at least some of byte in default standby command form;
Split submodule 852, for the byte that the 5th positional information is corresponding being split according to the rule that splits in default standby command form, it is thus achieved that the encoded radio after fractionation;
Second decoding sub-module 853, for being decoded the encoded radio after splitting.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory and optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (14)
1. a sound control method, is applied to intelligent air condition, it is characterised in that including:
Receiving the control command that speech ciphering equipment sends, described control command is that the encoding speech information according to pre-set commands form, user inputted by described speech ciphering equipment obtains;
According to described pre-set commands form, described control command is decoded, it is thus achieved that the effective information carried in described control command;
Perform the operation corresponding with described effective information.
2. method according to claim 1, it is characterized in that, described control command includes N number of byte, the corresponding encoded radio of each byte, described encoded radio includes the identity encoded radio of described intelligent air condition, Control Cooling encoded radio, controls parameter coding value or check code, and described N is the positive integer more than 1.
3. method according to claim 2, it is characterised in that when described encoded radio includes the identity encoded radio of described intelligent air condition, the operation that described execution is corresponding with described effective information, including:
According to described pre-set commands form, the primary importance information of identity encoded radio, obtains described identity from described effective information;
Judge whether described identity mates with described intelligent air condition;
When described identity is mated with described intelligent air condition, perform the operation corresponding with described effective information.
4. method according to claim 2, it is characterised in that when described encoded radio includes the Control Cooling encoded radio of described intelligent air condition and controls parameter coding value, the operation that described execution is corresponding with described effective information, including:
The second position information that Control Cooling encoded radio according to described pre-set commands form is corresponding, and the 3rd positional information that described control parameter coding value is corresponding, obtain described Control Cooling and described control parameter from described effective information;
Corresponding operation is performed according to described Control Cooling and described control parameter.
5. method according to claim 2, it is characterised in that when described encoded radio includes described check code, described is decoded described control command according to described pre-set commands form, including:
The 4th positional information that check code according to described pre-set commands form is corresponding, obtains described check code from described control command;
Described in described pre-set commands form, the verification rule of check code, verifies that whether described check code is correct;
When described check code is correct, according to described pre-set commands form, described control command is decoded;
When described check code mistake, send the information of physical transmission errors to described speech ciphering equipment.
6. method according to claim 2, it is characterised in that described method also includes:
When described control command being decoded unsuccessfully according to described pre-set commands form, it is determined that presetting standby command form, at least some of byte in described default standby command form, correspondence n encoded radio of each byte, described n is the positive integer more than 1;
According to described default standby command form, described control command is decoded.
7. method according to claim 6, it is characterised in that described according to described default standby command form, described control command is decoded, including:
Determine the 5th positional information of at least some of byte described in described default standby command form;
According to the rule that splits in described default standby command form, the byte that described 5th positional information is corresponding is split, it is thus achieved that the encoded radio after fractionation;
Encoded radio after described fractionation is decoded.
8. a phonetic controller, is applied to intelligent air condition, it is characterised in that including:
Receiver module, for receiving the control command that speech ciphering equipment sends, described control command is that the encoding speech information according to pre-set commands form, user inputted by described speech ciphering equipment obtains;
First decoder module, for being decoded described control command according to described pre-set commands form, it is thus achieved that the effective information carried in described control command;
Perform module, for performing the operation corresponding with described effective information.
9. device according to claim 8, it is characterized in that, described control command includes N number of byte, the corresponding encoded radio of each byte, described encoded radio includes the identity encoded radio of described intelligent air condition, Control Cooling encoded radio, controls parameter coding value or check code, and described N is the positive integer more than 1.
10. device according to claim 9, it is characterised in that described execution module includes:
First obtains submodule, and for when described encoded radio includes the identity encoded radio of described intelligent air condition, according to described pre-set commands form, the primary importance information of identity encoded radio, obtains described identity from described effective information;
Judge submodule, be used for judging whether described identity mates with described intelligent air condition;
First implementation sub-module, for when described identity is mated with described intelligent air condition, performing the operation corresponding with described effective information.
11. device according to claim 9, it is characterised in that described execution module includes:
Second obtains submodule, during for including the Control Cooling encoded radio of described intelligent air condition when described encoded radio and controlling parameter coding value, the second position information that Control Cooling encoded radio according to described pre-set commands form is corresponding, and the 3rd positional information that described control parameter coding value is corresponding, from described effective information, obtain described Control Cooling and described control parameter;
Second implementation sub-module, for performing corresponding operation according to described Control Cooling and described control parameter.
12. device according to claim 9, it is characterised in that described first decoder module includes:
3rd obtains submodule, is used for when described encoded radio includes described check code, the 4th positional information that check code according to described pre-set commands form is corresponding, obtains described check code from described control command;
Checking submodule, for the verification rule of check code described in described pre-set commands form, verifies that whether described check code is correct;
First decoding sub-module, for when described check code is correct, being decoded described control command according to described pre-set commands form;
Send submodule, for when described check code mistake, sending the information of physical transmission errors to described speech ciphering equipment.
13. device according to claim 9, it is characterised in that described device also includes:
Determine module, for when described control command being decoded unsuccessfully according to described pre-set commands form, it is determined that preset standby command form, at least some of byte in described default standby command form, correspondence n encoded radio of each byte, described n is the positive integer more than 1;
Second decoder module, for being decoded described control command according to described default standby command form.
14. device according to claim 13, it is characterised in that described second decoder module includes:
Determine submodule, for determining the 5th positional information of at least some of byte described in described default standby command form;
Split submodule, for the byte that described 5th positional information is corresponding being split according to the rule that splits in described default standby command form, it is thus achieved that the encoded radio after fractionation;
Second decoding sub-module, for being decoded the encoded radio after described fractionation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610211626.6A CN105741840B (en) | 2016-04-06 | 2016-04-06 | Voice control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610211626.6A CN105741840B (en) | 2016-04-06 | 2016-04-06 | Voice control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105741840A true CN105741840A (en) | 2016-07-06 |
CN105741840B CN105741840B (en) | 2020-01-03 |
Family
ID=56253741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610211626.6A Active CN105741840B (en) | 2016-04-06 | 2016-04-06 | Voice control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105741840B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106228985A (en) * | 2016-07-18 | 2016-12-14 | 广东志高空调有限公司 | A kind of speech control system, controller and domestic electric appliance |
CN106357497A (en) * | 2016-11-10 | 2017-01-25 | 北京智能管家科技有限公司 | Control system of intelligent home network |
CN107871506A (en) * | 2017-11-15 | 2018-04-03 | 北京云知声信息技术有限公司 | The awakening method and device of speech identifying function |
CN107945792A (en) * | 2017-11-06 | 2018-04-20 | 百度在线网络技术(北京)有限公司 | Method of speech processing and device |
CN108105944A (en) * | 2017-12-21 | 2018-06-01 | 佛山市中格威电子有限公司 | A kind of voice interactive system controlled for air conditioner and there is voice feedback |
CN109792309A (en) * | 2016-08-10 | 2019-05-21 | 瑞典爱立信有限公司 | Checksum location in transmission block |
CN109995475A (en) * | 2019-04-04 | 2019-07-09 | 江苏紫米软件技术有限公司 | A kind of control method of intelligent terminal, device, storage medium and electronic equipment |
CN110081577A (en) * | 2019-04-30 | 2019-08-02 | 深圳创维空调科技有限公司 | Air conditioning control method, device, air-conditioning equipment and storage medium |
CN111555247A (en) * | 2020-04-24 | 2020-08-18 | 广东电网有限责任公司东莞供电局 | Switching operation control method, device, equipment and medium for power equipment |
CN112927687A (en) * | 2021-01-25 | 2021-06-08 | 珠海格力电器股份有限公司 | Method, device and system for controlling functions of equipment and storage medium |
CN115183414A (en) * | 2022-07-25 | 2022-10-14 | 广东万颗子智控科技有限公司 | Air conditioner control method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030004714A1 (en) * | 1999-10-28 | 2003-01-02 | Dimitri Kanevsky | System and method for resolving decoding ambiguity via dialog |
CN103026409A (en) * | 2012-09-17 | 2013-04-03 | 华为技术有限公司 | Speech frame decoding method and speech frame decoding device |
CN105357564A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Remote control mobile terminal, remote control system and remote control method |
-
2016
- 2016-04-06 CN CN201610211626.6A patent/CN105741840B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030004714A1 (en) * | 1999-10-28 | 2003-01-02 | Dimitri Kanevsky | System and method for resolving decoding ambiguity via dialog |
CN103026409A (en) * | 2012-09-17 | 2013-04-03 | 华为技术有限公司 | Speech frame decoding method and speech frame decoding device |
CN105357564A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Remote control mobile terminal, remote control system and remote control method |
Non-Patent Citations (3)
Title |
---|
刘均: "《计算机组成原理》", 28 February 2016, 北京邮电大学出版社 * |
唐瑞海: "《办公通信设备原理与维修》", 31 August 2002, 高等教育出版社 * |
杨帆 等: "《多媒体技术与信息处理》", 31 January 2012, 中国水利水电出版社 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106228985A (en) * | 2016-07-18 | 2016-12-14 | 广东志高空调有限公司 | A kind of speech control system, controller and domestic electric appliance |
US11063691B2 (en) | 2016-08-10 | 2021-07-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Check positions within a transport block |
CN109792309A (en) * | 2016-08-10 | 2019-05-21 | 瑞典爱立信有限公司 | Checksum location in transmission block |
CN109792309B (en) * | 2016-08-10 | 2021-12-31 | 瑞典爱立信有限公司 | Checking position in transport block |
CN106357497A (en) * | 2016-11-10 | 2017-01-25 | 北京智能管家科技有限公司 | Control system of intelligent home network |
CN107945792A (en) * | 2017-11-06 | 2018-04-20 | 百度在线网络技术(北京)有限公司 | Method of speech processing and device |
CN107871506A (en) * | 2017-11-15 | 2018-04-03 | 北京云知声信息技术有限公司 | The awakening method and device of speech identifying function |
CN108105944A (en) * | 2017-12-21 | 2018-06-01 | 佛山市中格威电子有限公司 | A kind of voice interactive system controlled for air conditioner and there is voice feedback |
CN109995475A (en) * | 2019-04-04 | 2019-07-09 | 江苏紫米软件技术有限公司 | A kind of control method of intelligent terminal, device, storage medium and electronic equipment |
CN109995475B (en) * | 2019-04-04 | 2023-05-30 | 江苏紫米软件技术有限公司 | Control method and device of intelligent terminal, storage medium and electronic equipment |
CN110081577A (en) * | 2019-04-30 | 2019-08-02 | 深圳创维空调科技有限公司 | Air conditioning control method, device, air-conditioning equipment and storage medium |
CN111555247A (en) * | 2020-04-24 | 2020-08-18 | 广东电网有限责任公司东莞供电局 | Switching operation control method, device, equipment and medium for power equipment |
CN112927687A (en) * | 2021-01-25 | 2021-06-08 | 珠海格力电器股份有限公司 | Method, device and system for controlling functions of equipment and storage medium |
CN112927687B (en) * | 2021-01-25 | 2024-08-27 | 珠海格力电器股份有限公司 | Function control method, device, system and storage medium of equipment |
CN115183414A (en) * | 2022-07-25 | 2022-10-14 | 广东万颗子智控科技有限公司 | Air conditioner control method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105741840B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105741840A (en) | Voice control method and device | |
US9966076B2 (en) | Voice control system and method | |
CN102842306B (en) | Sound control method and device, voice response method and device | |
CN105702253A (en) | Voice awakening method and device | |
KR102004872B1 (en) | Electronic device, server and control methods thereof | |
CN107276864A (en) | The method of intelligent sound equipment control household electrical appliances, apparatus and system | |
CN101281690A (en) | Teaching auxiliary device, system and teaching auxiliary means | |
CN104978959A (en) | Voice control method and system | |
CN105024997A (en) | Method and device for associating control terminal with controlled terminal | |
CN103944983B (en) | Phonetic control command error correction method and system | |
CN107479400A (en) | Control method, device, home appliance and the readable storage medium storing program for executing of home appliance | |
CN104980215A (en) | System and method for achieving WiFi configuration of intelligent equipment based on optical signal transmission | |
CN105375896A (en) | Method for automatically adjusting volume and electronic equipment | |
CN105100852A (en) | Voice-based remote control method, device and system for terminals | |
CN107248977B (en) | Binding authentication method, device, system and storage medium | |
CN104281106A (en) | Remote control method and remote control system of air conditioner | |
CN113034886A (en) | Remote control method and device | |
CN107742520B (en) | Voice control method, device and system | |
CN109831691A (en) | A kind of multi-screen interaction method | |
CN103941868B (en) | Voice command accuracy rate method of adjustment and system | |
CN106781388A (en) | Control system, remote controller, air conditioner remote controller and control method | |
CN104867295A (en) | Remote control system, remote control method, and household electrical appliance | |
CN106403176B (en) | Method and device for adjusting temperature | |
CN105654706A (en) | All-purpose household appliance control device, system and household appliances control method | |
CN102572364A (en) | Decoding method and device for video communication data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Room 101, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing 100096 Patentee after: Yunzhisheng Intelligent Technology Co.,Ltd. Address before: 100191 Beijing, Huayuan Road, Haidian District No. 2 peony technology building, five floor, A503 Patentee before: BEIJING UNISOUND INFORMATION TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |