Summary of the invention
The invention provides a kind of air conditioning control method and device, solved the not easy-operating problem of existing air conditioning control method.
A kind of air conditioning control method comprises:
Collect phonetic control command;
According to the transformation rule that presets, convert described phonetic control command to air-conditioning control figure signal;
Described air-conditioning control figure signal is sent to air-conditioning, described air-conditioning is controlled.
Preferably, before the step of described collection phonetic control command, also comprise:
Described transformation rule is set, and described transformation rule is specially a plurality of phonetic control commands and air-conditioning control figure signal corresponding to each phonetic control command.
Preferably, describedly described air-conditioning control figure signal be sent to air-conditioning be specially:
Described air-conditioning control figure signal is converted to infrared signal, described infrared signal is sent to air-conditioning.
Preferably, describedly described air-conditioning control figure signal be sent to air-conditioning be specially:
Described air-conditioning control figure signal directly is sent to the processor of described air-conditioning by the data signal circuit.
The present invention also provides a kind of air conditioning control device, comprising:
The voice collection module is used for collecting phonetic control command;
Signal conversion module is used for converting described phonetic control command to air-conditioning control figure signal according to the transformation rule that presets;
Signal transmitting module is used for described air-conditioning control figure signal is sent to air-conditioning, and described air-conditioning is controlled.
Preferably, above-mentioned air conditioning control device also comprises:
Rules administration module is used for arranging described transformation rule, and described transformation rule is specially a plurality of phonetic control commands and air-conditioning control figure signal corresponding to each phonetic control command.
Preferably, described signal transmitting module comprises:
Infrared transmitting element is used for described air-conditioning control figure signal is converted to infrared signal, and described infrared signal is sent to air-conditioning.
Preferably, described signal transmitting module also comprises:
The data signal transmitting element is for the processor that described air-conditioning control figure signal directly is sent to described air-conditioning by the data signal circuit.
The invention provides a kind of air conditioning control method and device, collect phonetic control command, again according to the transformation rule that presets, convert described phonetic control command to air-conditioning control figure signal, at last described air-conditioning control figure signal is sent to air-conditioning, described air-conditioning is controlled, saved the remote controller equal controller of entity, realize simple and easy to do air-conditioning control mode, solved the not easy-operating problem of existing air conditioning control method.
The specific embodiment
In order to solve the existing not easy-operating problem of air conditioning control method, embodiments of the invention provide a kind of air conditioning control method and device.Hereinafter in connection with accompanying drawing embodiments of the invention are elaborated.Need to prove that in the situation of not conflicting, the embodiment among the application and the feature among the embodiment be any combination mutually.
At first by reference to the accompanying drawings, embodiments of the invention one are described.
The embodiment of the invention one provides a kind of air-conditioner control system, and the structure of this system comprises as shown in Figure 1:
Voice acquisition device 101, data signal generating apparatus 102 and wireless remote control node 103, described data signal generating apparatus 102 is connected with described wireless remote control node 103 by Wireless Fidelity (WIFI) network.
Described voice acquisition device 101 gathers extraneous voice, and when identifying the phonetic control command that presets, described phonetic control command is transferred to described data signal generating apparatus 102;
Described data signal generating apparatus 102 is according to the phonetic control command that presets and the corresponding relation of data signal, to be converted to from the phonetic control command that described voice acquisition device 101 obtains corresponding data signal, described data signal will be sent to described wireless remote control node;
Described wireless remote control node 103 receives the data signal that described data signal generating apparatus 102 sends, and according to the result of infrared learning before, described data signal is converted to the backward air-conditioning of infrared signal sends.Wireless remote control node 103 has two functions, infrared learning and communication transfers.For general domestic air conditioning, remote control control is infrared control entirely, the wireless remote control node is with the function of infrared learning, for the button in each remote control, can realize that all infrared learning is (in the embodiment of the invention, can realize infrared learning by " copy waveform ", the advantage of copy waveform is to copy all waveforms; With the infrared mouth of infrared mouthful of aligning of remote controller without red remote control node, press the button of remote controller at every turn, can realize record at the wireless remote control node, thereby realize " infrared learning "), and the conversion of data signal to infrared signal is provided.
Preferably, described voice acquisition device 101 is specially microphone, and 102 of described data signal generating apparatus can be realized by the computer that the signal switching software is housed.
Below, describe as example as data signal generating apparatus 102 take user computer.The software program that phonetic control command is converted to data signal is housed on the user computer, link to each other with router by WIFI, data signal is converted to discernible user interface at user computer, and can be text with speech conversion by the speech recognition library of increasing income.After connecting microphone, the user can be configured at user computer, phonetic control command and data signal are bound, for example, the phonetic control command that to " open " is tied on the data signal of opening air-conditioning, by the wireless remote control node data signal is converted to infrared signal again, is sent to air-conditioning, realize the control to air-conditioning.
Below in conjunction with accompanying drawing, embodiments of the invention two are described.
The embodiment of the invention two provides a kind of air conditioning control method, in conjunction with air-conditioner control system shown in Figure 1, uses flow process that the method finishes voice control air-conditioning as shown in Figure 2, comprising:
Step 201, collection phonetic control command;
In this step, at first the voice in the environment are gathered, when recognizing the external voice that is complementary with the phonetic control command that presets, namely gather this external voice as phonetic control command.
The transformation rule that step 202, basis preset converts described phonetic control command to air-conditioning control figure signal;
In the embodiment of the invention, transformation rule is set at first, described transformation rule is specially a plurality of phonetic control commands and air-conditioning control figure signal corresponding to each phonetic control command.
In this step, according to this transformation rule, phonetic control command is converted to corresponding data signal.
Step 203, described air-conditioning control figure signal is sent to air-conditioning, described air-conditioning is controlled;
In this step, described air-conditioning control figure signal can be converted to infrared signal, described infrared signal is sent to air-conditioning, also described air-conditioning control figure signal directly can be sent to the processor of described air-conditioning by the data signal circuit.
Below in conjunction with accompanying drawing, embodiments of the invention three are described.
The embodiment of the invention provides a kind of air conditioning control device, and its structure comprises as shown in Figure 3:
Voice collection module 301 is used for collecting phonetic control command;
Signal conversion module 302 is used for converting described phonetic control command to air-conditioning control figure signal according to the transformation rule that presets;
Signal transmitting module 303 is used for described air-conditioning control figure signal is sent to air-conditioning, and described air-conditioning is controlled.
Preferably, this device also comprises:
Rules administration module 304 is used for arranging described transformation rule, and described transformation rule is specially a plurality of phonetic control commands and air-conditioning control figure signal corresponding to each phonetic control command.
Preferably, described signal transmitting module 303 comprises as shown in Figure 4:
Infrared transmitting element 3031 is used for described air-conditioning control figure signal is converted to infrared signal, and described infrared signal is sent to air-conditioning.
Preferably, described signal transmitting module 303 also comprises:
Data signal transmitting element 3032 is for the processor that described air-conditioning control figure signal directly is sent to described air-conditioning by the data signal circuit.
The embodiment of the invention provides a kind of air conditioning control method, device and system, collect phonetic control command, again according to the transformation rule that presets, convert described phonetic control command to air-conditioning control figure signal, at last described air-conditioning control figure signal is sent to air-conditioning, described air-conditioning is controlled, saved the remote controller equal controller of entity, realize simple and easy to do air-conditioning control mode, solved the not easy-operating problem of existing air conditioning control method.Be applicable to the air-conditioning control in the Internet of Things, also can be applied to the household electrical appliances of other infrared control, such as TV, sound equipment etc.
The all or part of step that one of ordinary skill in the art will appreciate that above-described embodiment can realize with the computer program flow process, described computer program can be stored in the computer-readable recording medium, described computer program (such as system, unit, device etc.) on corresponding hardware platform is carried out, when carrying out, comprise step of embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment can realize with integrated circuit that also these steps can be made into respectively one by one integrated circuit modules, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation elements form.
Each device/functional module/functional unit in above-described embodiment is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be read-only storage, disk or CD etc.
Anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection domain of claim.