Summary of the invention
The invention provides a kind of air conditioning control method and device, solve the not easy-operating problem of existing air conditioning control method.
A kind of air conditioning control method, comprising:
Collect phonetic control command;
According to preset transformation rule, convert described phonetic control command to airconditioning control data signal;
Described airconditioning control data signal is sent to air-conditioning, described air-conditioning is controlled;
Described according to preset transformation rule, convert described phonetic control command to airconditioning control data signal, comprising:
Airconditioning control data signal is converted to discernible user interface in advance, phonetic control command is converted to text;
Utilize described user interface and described text, convert described phonetic control command to airconditioning control data signal.
Preferably, before the step of described collection phonetic control command, also comprise:
Arrange described transformation rule, described transformation rule is specially multiple phonetic control command and airconditioning control data signal corresponding to each phonetic control command.
Preferably, describedly described airconditioning control data signal be sent to air-conditioning be specially:
Described airconditioning control data signal is converted to infrared signal, described infrared signal is sent to air-conditioning.
Preferably, describedly described airconditioning control data signal be sent to air-conditioning be specially:
Described airconditioning control data signal is directly sent to the processor of described air-conditioning by digital signal line.
Present invention also offers a kind of air conditioning control device, comprising:
Voice collection module, for collecting phonetic control command;
Signal conversion module, for according to preset transformation rule, converts described phonetic control command to airconditioning control data signal;
Signal transmitting module, for described airconditioning control data signal is sent to air-conditioning, controls described air-conditioning;
Described according to preset transformation rule, convert described phonetic control command to airconditioning control data signal, comprising:
Airconditioning control data signal is converted to discernible user interface in advance, phonetic control command is converted to text;
Utilize described user interface and described text, convert described phonetic control command to airconditioning control data signal.
Preferably, above-mentioned air conditioning control device also comprises:
Rules administration module, for arranging described transformation rule, described transformation rule is specially multiple phonetic control command and airconditioning control data signal corresponding to each phonetic control command.
Preferably, described signal transmitting module comprises:
Infrared transmitting element, for described airconditioning control data signal is converted to infrared signal, is sent to air-conditioning by described infrared signal.
Preferably, described signal transmitting module also comprises:
Data signal transmitting element, for being directly sent to the processor of described air-conditioning by digital signal line by described airconditioning control data signal.
The invention provides a kind of air conditioning control method and device, collect phonetic control command, again according to preset transformation rule, convert described phonetic control command to airconditioning control data signal, finally described airconditioning control data signal is sent to air-conditioning, described air-conditioning is controlled, eliminate the remote controller equal controller of entity, achieve simple and easy to do air-conditioning control mode, solve the not easy-operating problem of existing air conditioning control method.
Detailed description of the invention
In order to solve the not easy-operating problem of existing air conditioning control method, The embodiment provides a kind of air conditioning control method and device.Hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can be combined mutually.
First by reference to the accompanying drawings, embodiments of the invention one are described.
The embodiment of the present invention one provides a kind of air-conditioner control system, and the structure of this system as shown in Figure 1, comprising:
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 preset phonetic control command, described phonetic control command is transferred to described data signal generating apparatus 102;
Described data signal generating apparatus 102 is according to the corresponding relation of preset phonetic control command and data signal, the phonetic control command obtained from described voice acquisition device 101 is converted to corresponding data signal, described data signal is 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, sends after described data signal is converted to infrared signal to air-conditioning.Wireless remote control node 103 has two functions, infrared learning and communication transfers.For general domestic air conditioning, remote pilot is infrared control entirely, wireless remote control node is with the function of infrared learning, for the button in each remote control, all can realize infrared learning (in the embodiment of the present invention, realize infrared learning by " copy waveform ", the advantage of copy waveform to copy all waveforms; Infrared for remote controller mouth is aimed at the infrared mouth without red remote control node, presses the button of remote controller at every turn, record can be realized on wireless remote control node, thus realize " infrared learning "), and provide data signal to the conversion of infrared signal.
Preferably, described voice acquisition device 101 is specially microphone, and described data signal generating apparatus 102 realizes by the computer that signal switching software is housed.
Below, be described for user computer as data signal generating apparatus 102.Software program phonetic control command being converted to data signal user computer is equipped with, be connected with router by WIFI, data signal is converted to discernible user interface on user computer, and can be text by speech conversion by the speech recognition library of increasing income.After connecting microphone, user can be configured on user computer, phonetic control command and data signal are bound, such as, being tied to by the phonetic control command of " opening " opens in the data signal of air-conditioning, by 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 present invention two provides a kind of air conditioning control method, the air-conditioner control system shown in composition graphs 1, uses the method to complete the flow process of Voice command air-conditioning as shown in Figure 2, comprising:
Step 201, collection phonetic control command;
In this step, first the voice in environment being gathered, when recognizing the external voice matched with preset phonetic control command, namely gathering this external voice as phonetic control command.
Step 202, according to preset transformation rule, convert described phonetic control command to airconditioning control data signal;
In the embodiment of the present invention, first arrange transformation rule, described transformation rule is specially multiple phonetic control command and airconditioning control data 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 airconditioning control data signal is sent to air-conditioning, described air-conditioning is controlled;
In this step, described airconditioning control data signal can be converted to infrared signal, described infrared signal is sent to air-conditioning, also described airconditioning control data signal directly can be sent to the processor of described air-conditioning by digital signal line.
Below in conjunction with accompanying drawing, embodiments of the invention three are described.
Embodiments provide a kind of air conditioning control device, its structure as shown in Figure 3, comprising:
Voice collection module 301, for collecting phonetic control command;
Signal conversion module 302, for according to preset transformation rule, converts described phonetic control command to airconditioning control data signal;
Signal transmitting module 303, for described airconditioning control data signal is sent to air-conditioning, controls described air-conditioning.
Preferably, this device also comprises:
Rules administration module 304, for arranging described transformation rule, described transformation rule is specially multiple phonetic control command and airconditioning control data signal corresponding to each phonetic control command.
Preferably, described signal transmitting module 303 as shown in Figure 4, comprising:
Infrared transmitting element 3031, for described airconditioning control data signal is converted to infrared signal, is sent to air-conditioning by described infrared signal.
Preferably, described signal transmitting module 303 also comprises:
Data signal transmitting element 3032, for being directly sent to the processor of described air-conditioning by digital signal line by described airconditioning control data signal.
Embodiments provide a kind of air conditioning control method, device and system, collect phonetic control command, again according to preset transformation rule, convert described phonetic control command to airconditioning control data signal, finally described airconditioning control data signal is sent to air-conditioning, described air-conditioning is controlled, eliminate the remote controller equal controller of entity, achieve simple and easy to do air-conditioning control mode, solve the not easy-operating problem of existing air conditioning control method.Be applicable to the airconditioning control in Internet of Things, also can be applied to the household electrical appliances of other infrared control, as TV, sound equipment etc.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can use computer program flow process to realize, described computer program can be stored in a computer-readable recording medium, described computer program (as system, unit, device etc.) on corresponding hardware platform performs, when performing, step comprising embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment also can use integrated circuit to realize, and these steps can be made into integrated circuit modules one by one respectively, or the multiple module in them or step are made into single integrated circuit module to realize.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, and they can concentrate on single calculation element, also can be distributed on network that multiple calculation element forms.
Each device/functional module/functional unit in above-described embodiment using the form of software function module realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.The above-mentioned computer read/write memory medium mentioned 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, change can be expected easily or replace, 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 protection domain described in claim.