The method of home appliance control system and smart mobile phone control home appliance
Technical field
The present invention relates to the household remote technical field, be specifically related to the method for home appliance control system and smart mobile phone control home appliance.
Background technology
At present, use remote controller to operate home appliances such as the set-top box of control, intelligent television, player, air-conditioning and should improve people's quality of life greatly in Modern Family more and more.Yet, can only control similar household electrical appliances with brand with the remote controller of brand, therefore, a plurality of intelligent appliance equipment in the Modern Family often need a plurality of remote controllers to control respectively, use inconvenience.
Along with popularizing and the develop rapidly of home network technologies of smart mobile phone, a lot of manufacturers have researched and developed the method for using smart mobile phone to replace traditional remote controller operation home appliance.Be example with the intelligent television, use the smart mobile phone operation, not only can substitute traditional remote controller fully, and can use five, phonetic, mode such as hand-written to carry out operations such as network address input, Chinese character input arbitrarily, more convenient to operate.
At present, use smart mobile phone remote control home appliance to mainly contain several technical schemes such as WiFi, Zigbee or bluetooth, adopt the WiFi technology, realize that ICP/IP protocol need increase the complexity that remote-control box is realized, adopt the Zigbee technology then need increase relevant hardware at the smart mobile phone end, increased cost.Adopt the basic principle of Bluetooth technology to be: a remote-control box that Bluetooth signal can be converted to infrared signal is provided, utilize the bluetooth network savvy of smart mobile phone then, send Bluetooth signal to remote-control box, after remote-control box is received Bluetooth signal, convert this signal to infrared signal, send mouth from infrared ray and send to home appliance, thereby realize the control to home appliance.This method does not need household electrical appliances itself are transformed, and therefore has very strong practicality, and still, there are following problems in this scheme:
(1) Bluetooth technology requires equipment ceaselessly to search for Bluetooth signal, so remote-control box needs often charging or change battery, and smart mobile phone also needs constantly to charge simultaneously, uses very inconvenient;
When (2) using the Bluetooth technology networking, require the networking both sides at first to match, this process is slow, generally needs tens seconds to tens seconds, can experience the user to affect;
(3) in blueteeth network, can only carry out man-to-man communication simultaneously, i.e. after A and the B pairing, A can only communicate by letter with B, if A need communicate by letter with C, then needs A and C to match again.Therefore when smart mobile phone need with a plurality of remote-control boxs (for example television manufacturer provides remote-control box respectively separately with air-conditioning manufacturer) when communicating by letter, need often carry out Bluetooth pairing, caused inconvenience to a plurality of home appliances of smart mobile phone remote control.
In sum, utilize the method for smart mobile phone remote control household electrical appliances can make smart mobile phone possess the function of domestic electrical equipment remote controller though have now, have the high problem of cost, and make troubles to user's operation to a certain extent.
Summary of the invention
In view of this, the invention provides the method for a kind of home appliance control system and smart mobile phone control home appliance, to overcome prior art cost height, unhandy problem.
For achieving the above object, the invention provides following technical scheme:
A kind of method of smart mobile phone control home appliance comprises:
Select corresponding remotely controlling functional at smart mobile phone, described smart mobile phone generates corresponding user's operation instruction to code according to described remotely controlling functional, and is modulated on the ultrasonic signal and sends;
Remote-control box receives described ultrasonic signal and demodulation obtains corresponding user's operation instruction to code, then described user's operation instruction to code is mapped to the operational order coding of respective electric home, sends by infrared signal;
Home appliance with function of infrared remote control receives described infrared signal, finishes corresponding function.
Preferably, in the respective electric home that the smart mobile phone selection need be carried out straighforward operation, described smart mobile phone generates the relative users operation instruction to code corresponding with respective electric home according to described remotely controlling functional.
Preferably, described user's operation instruction to code comprises home appliance information and corresponding remotely controlling functional information, described remote-control box receives described ultrasonic signal and demodulation obtains corresponding home appliance information and user's operation instruction to code, then described user's operation instruction to code is mapped to the operational order coding of respective electric home, sends by infrared signal.
Preferably, described user's operation instruction to code comprises corresponding remotely controlling functional information, and described smart mobile phone is modulated to described user's operation instruction to code on the different ultrasonic frequencies according to the respective electric home that the user selects.
Preferably, preset the one-to-one relationship of user's operation instruction to code and remotely controlling functional at described smart mobile phone;
At the operational order coding of the default respective electric home of described remote-control box and the corresponding relation database of user's operation instruction to code.
Preferably, on described smart mobile phone, manually arrange user's operation instruction to code and home appliance operational order coding corresponding relation and send to described remote-control box, described remote-control box is kept at described corresponding relation in the corresponding relation database of home appliance operational order coding and user's operation instruction to code.
Preferably, the infrared signal of the corresponding operating function that the remote controller of described remote-control box reception home appliance sends, the described infrared signal of demodulation obtains the operational order coding of respective electric home, and preserves the corresponding relation database that the described infrared signal of demodulation obtains the operational order coding of respective electric home and is kept at the operational order coding of user's operation instruction to code and respective electric home.
Preferably, described home appliance with function of infrared remote control is specially set-top box, intelligent television or air-conditioning.
A kind of home appliance control system, comprise smart mobile phone, have function of infrared remote control home appliance and with described home appliance remote-control box one to one,
Described smart mobile phone generates corresponding user's operation instruction to code according to the remotely controlling functional that the user selects, and is modulated to ultrasonic signal and sends through the audio frequency loudspeaker of described smart mobile phone;
Described remote-control box receives described ultrasonic signal and demodulation obtains corresponding user's operation instruction to code, then described user's operation instruction to code is mapped to the operational order coding of respective electric home, sends by infrared signal;
Described home appliance receives described infrared signal, finishes corresponding function.
Preferably, described smart mobile phone is provided with user's operation instruction to code module, ultrasonic signal generation module and ultrasonic signal transmitter module, described user's operation instruction to code module generates corresponding user's operation instruction to code according to the remotely controlling functional that the user selects, described user's operation instruction to code is modulated on the ultrasonic signal by described ultrasonic signal generation module, and described ultrasonic signal transmitter module sends the audio frequency loudspeaker of described ultrasonic signal through described smart mobile phone;
The described control box that shakes is provided with the ultrasonic signal receiver module, the ultrasonic signal demodulation module, instruction coding mapping block, infrared signal generation module and infrared signal transmitter module, described ultrasonic signal is received by described ultrasonic signal receiver module, and obtain corresponding user's operation instruction to code by the demodulation of described ultrasonic signal demodulation module, described user's operation instruction to code is mapped to the operational order coding of respective electric home by described instruction coding mapping block, the operational order coding of described home appliance is modulated on the infrared signal by described infrared signal generation module, and is sent by described infrared signal transmitter module.
Preferably, also be provided with home appliance on the described smart mobile phone and select module, described user's operation instruction to code module generates the relative users operation instruction to code corresponding with respective electric home according to described remotely controlling functional, described user's operation instruction to code comprises home appliance information and corresponding remotely controlling functional information, described remote-control box receives described ultrasonic signal and demodulation obtains corresponding home appliance information and user's operation instruction to code, then described user's operation instruction to code is mapped to the operational order coding of respective electric home, sends by infrared signal.
Preferably, also be provided with home appliance on the described smart mobile phone and select module, described user's operation instruction to code module generates the relative users operation instruction to code corresponding with respective electric home according to described remotely controlling functional, described user's operation instruction to code comprises corresponding remotely controlling functional information, described ultrasonic signal generation module is modulated to described user's operation instruction to code on the corresponding ultrasonic frequency according to the different home appliances that the user selects.
Preferably, the one-to-one relationship of default user's operation instruction to code and remotely controlling functional on the described smart mobile phone;
The corresponding relation database of the operational order of default respective electric home coding and user's operation instruction to code on the described remote-control box.
Preferably, described smart mobile phone is provided with user's operation instruction to code editor module, the one-to-one relationship that is used for the operational order coding of manual editing user's operation instruction to code and respective electric home, and with described corresponding relation and send to described remote-control box, described remote-control box is kept at described corresponding relation in the corresponding relation database of home appliance operational order coding and user's operation instruction to code.
Preferably, described remote-control box receives the infrared signal of the corresponding operating function that the remote controller of home appliance sends, and the described infrared signal of demodulation obtains the operational order coding of respective electric home and is kept in the corresponding relation database that the operational order of user's operation instruction to code and respective electric home encodes.
Via above-mentioned technical scheme as can be known, compared with prior art, the invention discloses the method for a kind of home appliance control system and smart mobile phone control home appliance, the remotely controlling functional that smart mobile phone is selected is modulated on the ultrasonic signal, utilize the remote-control box received ultrasonic signal and be converted to the infrared signal that is complementary with home appliance, thereby realize the control to home appliance, this scheme cost is low, easy to use.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to needed accompanying drawing in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is embodiments of the invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to the accompanying drawing that provides.
Fig. 1 is the method flow diagram of the disclosed a kind of smart mobile phone control home appliance of the embodiment of the invention;
Fig. 2 is the disclosed a kind of home appliance control system structural representation of the embodiment of the invention;
Fig. 3 is the structural representation of smart mobile phone in the embodiment of the invention;
Fig. 4 is the structural representation of remote-control box in the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work belongs to the scope of protection of the invention.
Utilize smart mobile phone remote control household electrical appliances at existing technology, have cost height, inconvenient operation for users problem.
The embodiment of the invention discloses the method for a kind of home appliance control system and smart mobile phone control home appliance, select the corresponding remotely controlling functional of home appliance at smart mobile phone, and generate corresponding user's operation instruction to code, then user's operation instruction to code is modulated on the ultrasonic signal and sends, remote-control box is converted to the infrared signal that is complementary with home appliance after receiving ultrasonic signal, thereby realize the control to home appliance, this scheme has reduced cost, and easy to use.Concrete scheme is described in detail as follows:
See also accompanying drawing 1, be the method flow diagram of the disclosed a kind of smart mobile phone control home appliance of the embodiment of the invention, this method mainly may further comprise the steps:
Step S101, select the respective electric home to carry out straighforward operation at smart mobile phone;
Step S102, select corresponding remotely controlling functional at smart mobile phone, smart mobile phone generates corresponding user's operation instruction to code according to above-mentioned remotely controlling functional, and be modulated on the ultrasonic signal and send, user's operation instruction to code comprises by the home appliance information of remote control and user's remotely controlling functional information;
Step S103, remote-control box received ultrasonic signal and demodulation obtain corresponding user's operation instruction to code, then user's operation instruction to code are mapped to the operational order coding of respective electric home, and send by infrared signal;
Step S104, have the function of infrared remote control home appliance and receive infrared signal, finish corresponding function.
By said method, utilize the conversion of remote-control box, smart mobile phone can realize the control of shaking of home appliance is controlled, and home appliance need not be carried out any transformation as traditional remote controller.
If only need to control regularly a home appliance, then such scheme can omit step S101, also only comprises user's remotely controlling functional information in user's operation instruction to code.
Based on said method, the embodiment of the invention also discloses a kind of home appliance control system, see also accompanying drawing 2, be the disclosed a kind of home appliance control system structural representation of the embodiment of the invention, comprise at least one home appliance 30, smart mobile phone 10 and with home appliance 30 remote-control box 20 one to one.Home appliance 30 can be television set, set-top box or the air-conditioning etc. with function of infrared remote control.
See also accompanying drawing 3, structural representation for smart mobile phone in the embodiment of the invention, smart mobile phone 10 is provided with user's operation instruction to code module 11, ultrasonic signal generation module 12, ultrasonic signal transmitter module 13 and home appliance are selected module 14, user's operation instruction to code module 11 generates corresponding user's operation instruction to code according to home appliance and the corresponding remotely controlling functional that the user selects, user's operation instruction to code is modulated on the ultrasonic signal by ultrasonic signal generation module 12, and is sent by the audio frequency loudspeaker of ultrasonic signal transmitter module 13 through smart mobile phone.
Because, present smart mobile phone generally can both send the audio frequency of 18K~23K Hz, therefore, in the embodiment of the invention, user's operation instruction to code module 11, ultrasonic signal generation module 12, ultrasonic signal transmitter module 13 and home appliance select module 14 to be the software module realization, that is to say, after existing smart mobile phone download and installation mobile phone remote are used (app), just can realize the function of above-mentioned each module, need not transform smart mobile phone.
See also accompanying drawing 4, structural representation for remote-control box in the embodiment of the invention, shake control box 20 and be provided with ultrasonic signal receiver module 21, ultrasonic signal demodulation module 22, instruction coding mapping block 23, infrared signal generation module 24 and infrared signal transmitter module 25, the ultrasonic signal that ultrasonic signal transmitter module 13 on the smart mobile phone 10 sends is received by ultrasonic signal receiver module 21, and obtain corresponding user's operation instruction to code by 22 demodulation of ultrasonic signal demodulation module, in database, search corresponding home appliance command code by instruction coding mapping block 23 according to the home appliance information in user's operation instruction to code and remotely controlling functional then, and user's operation instruction to code is mapped to the operational order coding of respective electric home, the operational order coding of home appliance is modulated on the infrared signal by infrared signal generation module 24, and is sent by infrared signal transmitter module 25.
Home appliance 30 receives the infrared signal that infrared signal transmitter module 25 sends as the infrared signal that receives traditional remote controller, and then finishes corresponding function.
In the present embodiment, home appliance on the smart mobile phone 10 selects module 14 to be used for a plurality of different home appliances 30 of control, the user selects module 14 to select different home appliances 30 by home appliance, and then the remotely controlling functional of next step selection is at this home appliance.
Realization can be adopted following dual mode to the straighforward operation of different home appliances:
Mode 1, at the different remotely controlling functionals of different home appliances user's operation instruction to code is set respectively, all remotely controlling functionals of all home appliances all have unique user's operation instruction to code in the family, and all each operational order of each home appliance of storing on user's operation instruction to code and the remote-control box is encoded corresponding one by one.For example: user's operation instruction to code of television startup is " 10021 ", and user's operation instruction to code of air-conditioning start is " 10022 ".
The different home appliances that mode 2, ultrasonic signal generation module 12 are selected according to the user, user's operation instruction to code is modulated on the different ultrasonic frequencies, different home appliances uses the infrared signal of different frequency, for example: user's operation instruction to code of television startup is " 10021 ", and the frequency of using is 20000HZ; User's operation instruction to code of air-conditioning start is " 10021 " also, but the frequency of using is 21000HZ.This mode can significantly reduce the quantity of user's operation instruction to code.
Realize that smart mobile phone is to the remote control of home appliance, must set up the operational order coding of home appliance and the one-to-one relationship database between user's operation instruction to code, the foundation of above-mentioned corresponding relation can adopt multiple mode to realize, a kind of mode is that remote-control box is when dispatching from the factory, the one-to-one relationship database of user's operation instruction to code on the operational order coding of default multiple well-known famous brand home appliance and the smart mobile phone, the one-to-one relationship of default user's operation instruction to code and remotely controlling functional among the app of smart mobile phone.Another kind of mode is, at smart mobile phone user's operation instruction to code editor module is set, the user can manual editing user's operation instruction to code and the one-to-one relationship database of the operational order coding of respective electric home and being kept on the remote-control box, similarly, the one-to-one relationship of default user's operation instruction to code and remotely controlling functional among the app of smart mobile phone.
In order to improve the practicality of this programme, remote-control box among the present invention also has learning functionality, that is to say, remote-control box can be learnt the operating function of different remote, specific implementation is: at remote-control box the infrared signal receiver module is set, the infrared signal of the corresponding operating function that the remote controller that utilizes the infrared signal receiver module to receive home appliance sends, demodulation infrared signal then obtains the operational order coding of respective electric home and preserves, and sets up the one-to-one relationship database of the operational order coding of user's operation instruction to code and respective electric home again by the mode of automatic or manual.
Be example with the RTV remote television, the course of work of the present invention is as follows:
Send remote manipulation instruction by smart mobile phone, for example volume increases;
The user instruction coding module of smart mobile phone increases instruction with volume and is compiled into corresponding user's operation instruction to code, and for example volume increase instruction is encoded into " 10011 ";
The ultrasonic signal generation module is modulated to user's operation instruction to code " 10011 " on the ultrasonic wave of corresponding band;
The ultrasonic signal transmitter module is launched ultrasonic signal by the audio frequency loudspeaker of smart mobile phone;
Ultrasonic wave receiver module on the remote-control box receives the ultrasonic signal that smart mobile phone is sent;
Utilize the ultrasonic wave demodulation module that this ultrasonic signal is carried out demodulation, obtain current user's operation instruction to code " 10011 ";
Instruction coding mapping block shines upon this user's operation instruction to code " 10011 " and the concrete operations command code of home appliance, for example the increase volume operational order coding of the corresponding television set of user's operation instruction to code " 10011 " that increases of volume " 10 ";
Utilize the infrared signal generation module, " 10 " are modulated on the infrared signal with the operational order coding;
By the infrared signal transmitter module infrared signal is launched;
The home appliance receiving infrared-ray signal is finished corresponding function.
Through above-mentioned detailed introduction as can be known, compare with prior art, technical scheme provided by the invention has following outstanding advantage:
(1) uses ultrasonic communication, just satisfied the one-way communication demand of operation household electrical appliances fully, with using comparatively complicated two-way interconnection technique such as bluetooth, WiFi and Zigbee to compare, reduced the realization cost.And the present invention can use existing smart mobile phone, as long as write corresponding smart mobile phone APP program and download to operation on the mobile phone, mobile phone end cost almost can be ignored; Also need not to increase corresponding module of software and hardware on the home appliance.And in the prior art, using the Zigbee technology to realize remote-control box, the smart mobile phone end just must increase hardware module so; Use the WiFi technology to realize remote-control box, because WiFi technology itself than ultrasonic wave demodulation techniques complexity, needs realization ICP/IP protocol stack and application program, so cost also can be than ultrasonic wave mode height.
(2) use ultrasonic communication, equipment need not keep searching for communication signal, makes the power consumption of remote-control box very little, and that remote-control box can be made is very light and handy, user-friendly.
(3) use smart mobile phone, by remote-control box control home appliance, only the infrared emission mouth of remote-control box need be aimed at home appliance, smart mobile phone can use with any direction, there is not the directivity requirement, do not need that mobile phone is painstakingly aimed at home appliance and operate, it is convenient comfortable to make the user operate.
(4) compare with the bluetooth implementation, scheme provided by the invention need not stop search signal, and has removed the Bluetooth pairing process from, directly just can send control command, and is low in energy consumption; And, there is not the pairing restriction of similar bluetooth, mobile phone can be simultaneously and a plurality of home appliances of a plurality of remote-control box Control on Communication, and is easy to use, improved the comfort level that the user experiences greatly.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments herein.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the wideest scope consistent with principle disclosed herein and novel features.