CN103700249B - Infrared household appliance control method and control system based on intelligent equipment - Google Patents

Infrared household appliance control method and control system based on intelligent equipment Download PDF

Info

Publication number
CN103700249B
CN103700249B CN201310754545.7A CN201310754545A CN103700249B CN 103700249 B CN103700249 B CN 103700249B CN 201310754545 A CN201310754545 A CN 201310754545A CN 103700249 B CN103700249 B CN 103700249B
Authority
CN
China
Prior art keywords
infrared
transponder
smart machine
remote control
controlled plant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310754545.7A
Other languages
Chinese (zh)
Other versions
CN103700249A (en
Inventor
李仁东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian TCL Software Development Co Ltd
Original Assignee
Xian TCL Software Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xian TCL Software Development Co Ltd filed Critical Xian TCL Software Development Co Ltd
Priority to CN201310754545.7A priority Critical patent/CN103700249B/en
Publication of CN103700249A publication Critical patent/CN103700249A/en
Application granted granted Critical
Publication of CN103700249B publication Critical patent/CN103700249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an infrared household appliance control method and a control system based on intelligent equipment. The intelligent equipment receives equipment information sent by at least two infrared repeaters established with wifi (Wireless Fidelity) connection, and stores the received equipment information in an equipment list; a remote controller is established; a learning command is input; the infrared repeater in a corresponding position is selected according to position information of to-be-learnt infrared controlled equipment; a remote control code of the infrared controlled equipment is learnt by the selected infrared repeater; the learnt remote control code corresponds to an MAC (Media Access Control) address of the selected infrared repeater and is added to the equipment list; and when a command requiring remotely controlling some learnt infrared controlled equipment is received, the infrared repeater associated with the infrared controlled equipment is searched, and the infrared controlled equipment is controlled by the infrared repeater. The control method and the control system have the benefits that the infrared repeaters can be associated simultaneously, and the infrared controlled equipment can be controlled based on the associated infrared repeater.

Description

Infrared household electric appliance control method and control system based on smart machine
Technical field
The present invention relates to infrared control technology, more particularly to a kind of infrared household electric appliance control method based on smart machine and it is System.
Background technology
At present, smart machine can be realized by infrared transponder(Such as mobile phone)Control most infrared controlled plant (Such as household electrical appliance such as television set);Such as, by the wifi of mobile phone(Wireless Fidelity, wireless network)Module is with red Outer transponder sets up the coding of the wireless infrared controlled plant for connecting, commonly using by the application program study of mobile phone terminal, is saved in In data base.When user needs to control certain equipment, only corresponding infrared controlled plant, and profit need to be searched at smart machine end With the coding for having learnt of storage, infrared controlled plant is controlled based on smart machine.
But when a smart machine and multiple infrared transponders connect, will appear from finding the controlled plant and be associated Infrared transponder situation or occur controlling chaotic situation because simultaneously finding multiple associated infrared transponders, from And cause failure of the smart machine to controlled plant control function.
The content of the invention
In consideration of it, be necessary to provide a kind of infrared household electric appliance control method and system based on smart machine, to solve intelligence When equipment connects multiple infrared transponder equipment, smart machine cannot find the corresponding infrared transponder of controlled plant so as to cannot The problem is controlled by controlled plant.
The embodiment of the invention discloses a kind of infrared household electric appliance control method based on smart machine, comprises the following steps:
S11, smart machine receive the facility information for having set up that at least two infrared transponders of wifi connections send, and will Receive the facility information store into list of devices, the facility information include the infrared transponder positional information, MAC Address and IP address;
S12, on smart machine a newly-built remote control, and be input into study instruction, what is learnt as needed is infrared controlled The positional information of equipment selects the infrared transponder of correspondence position, learns infrared controlled plant by selected infrared transponder Remote control coding, and the MAC Address of the selected infrared transponder of remote control coding correspondence that study is obtained adds to extremely In the list of devices;
S13, smart machine are received when needing the instruction of remote control certain infrared controlled plant for having learnt, search with it is described The associated infrared transponder of infrared controlled plant, controls the infrared controlled plant by the infrared transponder.
Preferably, in step S13, search the IP of the infrared transponder being associated with the infrared controlled plant Address, by IP address and corresponding infrared transponder set up wifi connection, afterwards using wifi connect infrared transponder come Control the infrared controlled plant.
Preferably, also include after step S13:
Step S14, when the position of infrared transponder changes, its new facility information is issued intelligence by infrared transponder Can equipment;Smart machine updates the infrared forwarding for having been stored in list of devices according to the MAC Address of the infrared transponder The IP address and positional information of device, while the key letter for above-mentioned MAC Address origin-location information being corresponded to originally in list of devices Value is updated to the corresponding coding key assignments of new location information.
Preferably, in step S12, the remote control for learning infrared controlled plant by selected infrared transponder is compiled Code includes:The infrared transponder receives the infrared waveform that the traditional remote controller of infrared controlled plant sends, and by this infrared waves Shape is changed into discrete binary signal, sends to smart machine after being encoded;In step S13, by described red Outer transponder includes controlling the infrared controlled plant:The infrared transponder receives the remote control coding of smart machine transmission and enters Go and decode, and decoded discrete binary signal is converted to into infrared waveform and send to infrared controlled plant, realize intelligence Control of the equipment to infrared controlled plant, replaces control of traditional remote control to infrared controlled plant with this.
Preferably, in step S12, further the title correspondence remote control coding of newly-built remote control is added to institute State in list of devices.
Preferably, also include after step S13:
Step S14, when the position of infrared transponder changes, its new facility information is issued intelligence by infrared transponder Can equipment;Smart machine updates the infrared forwarding for having been stored in list of devices according to the MAC Address of the infrared transponder The IP address and positional information of device, while the newly-built distant of above-mentioned MAC Address origin-location information will be corresponded to originally in list of devices Control device title, coding key assignments are updated to the corresponding newly-built remote control title of new location information, coding key assignments.
Preferably, the smart machine is smart mobile phone, panel computer or intelligent television.
The embodiment of the present invention is also disclosed a kind of infrared appliance control system based on smart machine, including infrared transponder and Smart machine;The smart machine includes wireless communication connection module, memory module, study module and control module, described to deposit Storage module, for receiving the facility information for having set up that at least two infrared transponders of wifi connections send, and the institute that will be received State facility information to store into list of devices, the facility information include the positional information of the infrared transponder, MAC Address and IP address;The study module, for a newly-built remote control on smart machine, and is input into study instruction, learns as needed The positional information of the infrared controlled plant practised selects the infrared transponder of correspondence position, is learnt by selected infrared transponder The remote control coding of infrared controlled plant, and the MAC of the selected infrared transponder of the remote control coding correspondence that study is obtained Add to into the list of devices address;The control module, needs remote control certain infrared receiving of having learnt for receiving During the instruction of control equipment, search the infrared transponder that is associated with the infrared controlled plant, by the infrared transponder come Control the infrared controlled plant.
Preferably, the control module is used for the infrared transponder that lookup is associated with the infrared controlled plant IP address, sets up wifi connections, the infrared transponder for connecting using wifi afterwards by IP address and corresponding infrared transponder To control the infrared controlled plant.
Preferably, the infrared transponder is additionally operable to when position changes, and its new facility information is issued intelligence Equipment;The smart machine also includes update module, and which is used to update list of devices according to the MAC Address of the infrared transponder In the IP address of the infrared transponder that stored and positional information, while above-mentioned MAC ground will be corresponded in list of devices originally The coding key assignments of location origin-location information is updated to the corresponding coding key assignments of new location information.
Compared to prior art, at least two infrared turns of wifi connections have been set up in the reception of embodiment of the present invention smart machine The facility information that device sends is sent out, and the facility information for receiving is stored into list of devices, the facility information includes institute State positional information, MAC Address and the IP address of infrared transponder;A newly-built remote control on smart machine, and it is input into study Instruction, the positional information of the infrared controlled plant for learning as needed select the infrared transponder of correspondence position, by selected Infrared transponder learn the remote control coding of infrared controlled plant, and the remote control coding correspondence that study is obtained is selected The MAC Address of infrared transponder adds to into the list of devices;Smart machine receives and needs remote control certain has learnt During the instruction of infrared controlled plant, the infrared transponder being associated with the infrared controlled plant is searched, by described infrared turn Send out device to control the infrared controlled plant.Each infrared transponder of the embodiment of the present invention can be infrared controlled with each respectively The remote control coding of equipment is associated and binds, it is to avoid because cannot find the associated infrared transponder of the controlled plant or Find multiple associated infrared transponders simultaneously and occur controlling chaotic situation.
Description of the drawings
Fig. 1 is that infrared household electric appliance control method Run-time scenario one embodiment system architecture of the present invention based on smart machine is illustrated Figure;
Fig. 2 is infrared household electric appliance control method first embodiment schematic flow sheet of the present invention based on smart machine;
Fig. 3 is infrared household electric appliance control method second embodiment high-level schematic functional block diagram of the present invention based on smart machine;
Fig. 4 is infrared appliance control system one embodiment high-level schematic functional block diagram of the present invention based on smart machine;
Fig. 5 is that the present invention is shown based on one embodiment functional module of smart machine in the infrared appliance control system of smart machine It is intended to.
The realization of embodiment of the present invention purpose, functional characteristics and advantage will be done furtherly in conjunction with the embodiments referring to the drawings It is bright.
Specific embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The described specific embodiment in place is not intended to limit the present invention only to explain the present invention.
Fig. 1 is that infrared household electric appliance control method Run-time scenario one embodiment system architecture of the present invention based on smart machine is illustrated Figure;Infrared transponder shown in Fig. 1 has wifi functions, and smart machine utilizes wifi by wireless router with infrared transponder Set up wireless communication connection;After setting up connection, smart machine controls infrared controlled plant than as shown in Figure 1 by infrared transponder Television set.
Based on the running environment described in Fig. 1, Fig. 2 is refer to, Fig. 2 is infrared home wiring control of the present invention based on smart machine Method first embodiment schematic flow sheet;As shown in figure 1, the present invention based on the infrared household electric appliance control method of smart machine include with Lower step:
S11, smart machine receive the facility information for having set up that at least two infrared transponders of wifi connections send, and will The facility information for receiving is stored into list of devices;
The smart machine of the present invention can be smart mobile phone, panel computer, intelligent television etc., smart machine and infrared forwarding Wireless communication connection is set up using wifi between device, infrared transponder sends the facility information of itself to smart machine;Intelligence sets It is standby to receive the facility information that infrared transponder sends, and the facility information correspondence of the infrared transponder for receiving is stored to setting In standby list, infrared controlled plant is controlled by infrared transponder for follow-up smart machine.It is in the embodiment of the present invention, described infrared The facility information of transponder is included but is not limited to:The current location information of infrared transponder, the MAC Address of infrared transponder And IP address.So that smart machine and two infrared transponders set up communication connection as an example, the above-mentioned two that smart machine is preserved is red The list of devices of the facility information of outer transponder is as shown in table 1 below;Table 1 below illustrate only the facility information institute of infrared transponder Including MAC Address, IP address and the current location information of each infrared transponder.
MAC Address IP address Positional information
MAC Address 1 IP address 1 Parlor
MAC Address 2 IP address 2 Room 1
…… …… ……
Table 1
In the embodiment of the present invention, in study, the infrared transponder receives infrared controlled plant to the smart machine The infrared waveform that traditional remote controller sends, and this infrared waveform is changed into into discrete binary signal, send after being encoded To smart machine;In remote control, infrared transponder receives the remote control coding of smart machine transmission and is decoded the smart machine, And decoded discrete binary signal is converted to into infrared waveform sends to infrared controlled plant, realize smart machine to red The control of outer controlled plant, replaces control of traditional remote control to infrared controlled plant with this.
S12, on smart machine a newly-built remote control, and be input into study instruction, what is learnt as needed is infrared controlled The positional information of equipment selects the infrared transponder of correspondence position, learns infrared controlled plant by selected infrared transponder Remote control coding, and the MAC Address of the selected infrared transponder of remote control coding correspondence that study is obtained adds to institute State in list of devices.
In step s 12, it is preferred that further add the title of newly-built remote control correspondence described remote control coding to described In list of devices.
Specifically, a newly-built remote control on smart machine, the title of remote control can be defined according to the hobby of oneself (such as living-room TV remote control, parlor remote control 1, remote control 1 etc.), is then input into a study instruction, learns as needed Infrared controlled plant positional information select correspondence position infrared transponder.If included in the title of newly-built remote control Positional information, such as parlor, room 1, room 2, then smart machine can be believed according to the position in list of devices in step S11 Breath automatically selects the infrared transponder of correspondence position;If the title in newly-built remote control does not include positional information, such as electricity Depending on remote control, remote control 1 etc., then user is needed to select correspondence position according to the positional information in list of devices in step S11 Infrared transponder.
When carrying out encoding the study of key assignments, user opens the traditional infrared remote control of the infrared controlled plant for needing study, Infrared waveform is sent to selected infrared transponder by traditional IR remote controller, and the infrared transponder is by this infrared waveform It is changed into discrete binary signal, sends to smart machine after being encoded;Smart machine receives what infrared transponder sent Remote control coding, and the remote control coding selected infrared transponder corresponding with the title of the remote control that study is obtained is added Add in the list of devices, i.e. smart machine is by the remote control of the title of newly-built remote control and the infrared controlled plant for being learnt The MAC Address of the selected infrared transponder of coding correspondence is added in the list of devices.
Illustrate, such as a newly-built living-room TV remote control on smart machine, being then input into one needs study The instruction of the remote control coding of living-room TV, selects the infrared transponder in parlor.When carrying out encoding the study of key assignments, user opens to be needed Want the traditional infrared remote control of living-room TV, traditional IR remote controller that infrared waveform is sent to selected infrared forwarding This infrared waveform is changed into discrete binary signal by device, the infrared transponder, is sent to smart machine after being encoded; Smart machine receives the remote control coding that infrared transponder sends, and by living-room TV remote control and the remote control coding of living-room TV The MAC Address of the infrared transponder in correspondence parlor is added in the list of devices.
In the embodiment of the present invention, the infrared transponder of same room with them is possible to the multiple infrared controlled plants of correspondence, such as Air-conditioning, refrigerator, television set etc., in this case, smart machine is in parlor air-conditioning, parlor refrigerator, the repetition of living-room TV machine State learning process, obtain the distinguished corresponding remote control coding of each infrared controlled plant in parlor.
The MAC Address of selected infrared transponder, IP address, positional information, the title of newly-built remote control and learned The incidence relation of the remote control coding of the infrared controlled plant practised is as shown in the table;Where it is assumed that infrared turn when smart machine learns It is that, in parlor, the position at that time of infrared transponder 2 is in room 1 to send out the position at that time of device 1;MAC Address 1 and IP address 1 are represented Be infrared transponder 1 MAC Address and IP address;What MAC Address 2 and IP address 2 were represented is the MAC ground of infrared transponder 2 Location and IP address.
Table 2
In the embodiment of the present invention, smart machine can by the said equipment list be saved in smart machine local data base or In person Flash or SD card;In order to other smart machines can also use the said equipment list, in the embodiment of the present invention is excellent In selecting embodiment, the said equipment list can be preserved into cloud database.
S13, smart machine are received when needing the instruction of remote control certain infrared controlled plant for having learnt, search with it is described The associated infrared transponder of infrared controlled plant, controls the infrared controlled plant by the infrared transponder.
In due to step S12, as long as the learning process of smart machine is once, and in step S13 smart machine it is distant Control is that many minor ticks are used, during use, smart machine may with the already off connection of infrared transponder, it is advantageous to, step In rapid S13, search the IP address of the infrared transponder being associated with the infrared controlled plant, by IP address with it is corresponding Infrared transponder set up wifi connections, afterwards using the corresponding infrared transponder of IP address controlling described infrared controlled set It is standby.
In the newly-built remote control of smart machine, user selects the remote control for needing control, and smart machine is searched red with this The associated infrared transponder of outer controlled plant, sets up wifi with the infrared transponder and is connected, and smart machine sends distant afterwards To infrared transponder, the remote control coding for receiving is decoded into discrete binary signal to control-register code by infrared transponder, and will be from Scattered binary signal is converted to and is sent to infrared controlled plant for infrared waveform, so as to realize that smart machine passes through infrared forwarding Control of the device to infrared controlled plant.
Compared to prior art, at least two infrared turns of wifi connections have been set up in the reception of embodiment of the present invention smart machine The facility information that device sends is sent out, and the facility information for receiving is stored into list of devices;Newly-built one on smart machine Individual remote control, and study instruction is input into, the positional information of the infrared controlled plant for learning as needed selects the red of correspondence position Outer transponder, learns the remote control coding of infrared controlled plant by selected infrared transponder, and will be described in study obtains The MAC Address of the selected infrared transponder of remote control coding correspondence adds to into the list of devices;Smart machine is received When needing the instruction of remote control certain infrared controlled plant for having learnt, be associated with the infrared controlled plant infrared turn of lookup Device is sent out, the infrared controlled plant is controlled by the infrared transponder;Each infrared transponder of the embodiment of the present invention can Being associated and bind with the remote control coding of each infrared controlled plant respectively, it is to avoid because the controlled plant phase cannot be found The infrared transponder of association while finds multiple associated infrared transponders and occurs controlling chaotic situation.
Fig. 3 is infrared household electric appliance control method second embodiment schematic flow sheet of the present invention based on smart machine;The present invention Embodiment is that the present invention is also included based on the infrared household electric appliance control method of smart machine with the difference of embodiment described in Fig. 1:
S14, when the position of infrared transponder changes, infrared transponder is by its MAC Address, new IP address, new position Confidence breath issues smart machine;Smart machine updates what is stored in list of devices according to the MAC Address of the infrared transponder The IP address and positional information of infrared transponder, while above-mentioned MAC Address origin-location information will be corresponded to originally in list of devices Coding key assignments be updated to the corresponding coding key assignments of new location information.
If in step s 12, the title of newly-built remote control has corresponded to the remote control coding and has added to the list of devices In, then in step S14, need further the newly-built distant of above-mentioned MAC Address origin-location information will to be corresponded to originally in list of devices Control device title is updated to the corresponding newly-built remote control title of new location information.
Assume parlor infrared transponder have been moved in room 1, the infrared transponder in room 1 still in room 1, then Table 3 can be obtained after being updated to the corresponding information of above-mentioned table 2:
Table 3
Assume that the infrared transponder in parlor is had been moved in room 1, the infrared transponder in room 1 is had been moved in parlor, then Table 4 can be obtained after being updated to the corresponding information of above-mentioned table 2:
Table 4
When the position of infrared transponder of the present invention changes, in time by MAC Address, new IP address, new position letter Breath issues smart machine, smart machine according to MAC Address update the infrared transponder for having been stored in list of devices IP address and Positional information, will correspond to originally the newly-built remote control title of the old position of above-mentioned MAC Address, coding key assignments and updates in list of devices For the newly-built remote control title of new position, coding key assignments.Thus, when the position of infrared transponder changes, intelligence of the present invention Energy equipment remains to be remotely controlled infrared controlled plant.
Fig. 4 is infrared appliance control system first embodiment high-level schematic functional block diagram of the present invention based on smart machine;Such as Shown in Fig. 4, the present invention is included based on the infrared appliance control system of smart machine:Smart machine 100, with the red of wifi functions Outer transponder 200.Smart machine 100 includes memory module 01, study module 02, control module 03 and wireless communication connection module 04.The wireless communication connection module 04 is for setting up wireless communication connection by wifi with least two infrared transponders 200. The memory module 01 is used to receive the facility information for having set up that at least two infrared transponder 200 of wifi connections sends, and The facility information for receiving is stored into list of devices.
The smart machine 100 of the present invention can be smart mobile phone, panel computer, intelligent television etc., the infrared transponder 200 facility information includes:200 current location information of infrared transponder, the MAC Address of infrared transponder 200 and IP Address.So that smart machine 100 and two infrared transponders 200 set up communication connection as an example, above-mentioned the two of the preservation of memory module 01 The list of devices of the facility information of individual infrared transponder 200 is as shown in table 1 below;Table 1 below illustrate only infrared transponder 200 MAC Address, IP address and 200 current location information of each infrared transponder included by facility information.
MAC Address IP address Positional information
MAC Address 1 IP address 1 Parlor
MAC Address 2 IP address 2 Room 1
…… …… ……
Table 1
In the embodiment of the present invention, the infrared transponder 200 can receive the traditional distant of infrared controlled plant in study The infrared waveform that control device sends, and this infrared waveform is changed into into discrete binary signal, send to intelligence after being encoded Equipment 100;In remote control, infrared transponder 200 receives the remote control coding of the transmission of smart machine 100 and is decoded, and will decoding Discrete binary signal afterwards is converted to infrared waveform and sends to infrared controlled plant, realizes that smart machine 100 is received to infrared The control of control equipment, replaces control of traditional remote control to infrared controlled plant with this.
The study module 02 is for a newly-built remote control on smart machine 100, and is input into study instruction, according to need The positional information of infrared controlled plant to be learnt selects the infrared transponder 200 of correspondence position, by selected infrared turn Send out the remote control coding that device 200 learns infrared controlled plant.The remote control that study is obtained further is compiled by the memory module 01 Code corresponds to the MAC Address of selected infrared transponder 200 to be added into the list of devices.
In the preferred embodiment of the present invention, memory module 01 further will be the title correspondence of newly-built remote control described distant Control-register code adds into the list of devices.
Specifically, using study module 02 on smart machine 100 a newly-built remote control, the title of remote control can be with root (such as living-room TV remote control, parlor remote control 1, remote control 1 etc.) is defined according to the hobby of oneself, being then input into one needs to learn Practise the instruction of the remote control coding of infrared controlled plant, the positional information of the infrared controlled plant that study module 02 learns as needed Select the infrared transponder 200 of correspondence position.If positional information, such as parlor, room are included in the title of newly-built remote control Between 1, room 2, then study module 02 can be selected according to the positional information in the list of devices of the storage of memory module 01 automatically Select the infrared transponder 200 of correspondence position;If the title in the newly-built remote control of study module 02 does not include positional information, example Such as TV remote controller, remote control 1 etc., then need the positional information in the list of devices that user stored according to memory module 01 to select The infrared transponder 200 of correspondence position.
When study module 02 carries out encoding the study of key assignments, user opens the conventional red of the infrared controlled plant for needing study Infrared waveform is sent to selected infrared transponder 200, the infrared transponder by outer remote control, traditional IR remote controller This infrared waveform is changed into discrete binary signal by 200, is sent to smart machine 100 after being encoded;Study module 02 Receive the remote control coding that infrared transponder 200 sends, and by the title of the remote control coding that obtains of study and the remote control The selected infrared transponder of correspondence 200 adds into the list of devices, i.e. study module 02 is by the title of newly-built remote control And the MAC Address of the selected infrared transponder of remote control coding correspondence 200 of the infrared controlled plant for being learnt is added to institute State in list of devices.
Illustrate, then such as newly-built living-room TV remote control on smart machine 100 of study module 02 is input into The instruction of one remote control coding for needing to learn living-room TV, selects the infrared transponder 200 in parlor.Study module 02 is compiled During the study of code key value, user opens needs the traditional infrared remote control of living-room TV, and traditional IR remote controller is by infrared waves Shape is sent to selected infrared transponder 200, and this infrared waveform is changed into discrete binary system by the infrared transponder 200 Signal, sends after being encoded to smart machine 100;Study module 02 receives the remote control coding that infrared transponder 200 sends, and The MAC Address of the infrared transponder 200 in the remote control coding correspondence parlor of living-room TV remote control and living-room TV is added to In the list of devices.
In the embodiment of the present invention, the infrared transponder 200 of same room with them is possible to the multiple infrared controlled plants of correspondence, than Such as air-conditioning, refrigerator, television set etc., in this case, study module 02 needs to learn respectively, be such as respectively directed to parlor air-conditioning, Parlor refrigerator, living-room TV machine repeat above-mentioned learning process, obtain the distinguished corresponding remote control volume of each infrared controlled plant in parlor Code.
The MAC Address of selected infrared transponder 200, IP address, positional information, the title of newly-built remote control and The incidence relation for practising the remote control coding of the infrared controlled plant learnt by module 02 is as shown in table 2 below;Where it is assumed that study module During 02 study, the position at that time of infrared transponder 1 is that, in parlor, the position at that time of infrared transponder 2 is in room 1;MAC Address 1 With IP address 1 represent be infrared transponder 1 MAC Address and IP address;What MAC Address 2 and IP address 2 were represented is infrared turn Send out the MAC Address and IP address of device 2.
Table 2
In the embodiment of the present invention, the said equipment list can be saved in memory module 01 the local number of smart machine 100 According in storehouse or Flash or SD card;In order to other smart machines 100 can also use the said equipment list, of the invention real Apply in a preferred embodiment of example, memory module 01 can preserve the said equipment list into cloud database.
When the control module 03 is used to receive the instruction for needing remote control certain infrared controlled plant for having learnt, search The infrared transponder 200 being associated with the infrared controlled plant, controls described infrared receive by the infrared transponder 200 Control equipment.
As long as due to smart machine learning module 02 learning process once, and the remote control of control module 03 is many What minor tick was used, during use, smart machine may with the already off connection of infrared transponder, it is advantageous to, the control Module 03 is additionally operable to search the IP address of the infrared transponder be associated with the infrared controlled plant, by IP address and Corresponding infrared transponder 200 sets up wifi connections, described infrared to control using the corresponding infrared transponder of IP address afterwards Controlled plant.
In the newly-built remote control of study module 02, user select need control remote control, control module 03 search with The associated infrared transponder 200 of the infrared controlled plant, sets up wifi with the infrared transponder 200 and is connected, control afterwards Module 03 sends remote control coding to infrared transponder 200, and the remote control coding for receiving is decoded into discrete by infrared transponder 200 Binary signal, and discrete binary signal is converted to sends to infrared controlled plant for infrared waveform, so as to realize intelligence Energy equipment 100 passes through control of the infrared transponder 200 to infrared controlled plant.
Compared to prior art, at least two infrared turns of wifi connections have been set up in the reception of embodiment of the present invention smart machine The facility information that device sends is sent out, and the facility information for receiving is stored into list of devices;Newly-built one on smart machine Individual remote control, and study instruction is input into, the positional information of the infrared controlled plant for learning as needed selects the red of correspondence position Outer transponder, learns the remote control coding of infrared controlled plant by selected infrared transponder, and will be described in study obtains The MAC Address of the selected infrared transponder of remote control coding correspondence adds to into the list of devices;Smart machine is received When needing the instruction of remote control certain infrared controlled plant for having learnt, be associated with the infrared controlled plant infrared turn of lookup Device is sent out, the infrared controlled plant is controlled by the infrared transponder.Each infrared transponder of the embodiment of the present invention can Being associated and bind with the remote control coding of each infrared controlled plant respectively, it is to avoid because the controlled plant phase cannot be found The infrared transponder node of association while finds multiple associated infrared transponders and occurs controlling chaotic situation..
Fig. 5 is the present invention based on 100 1 embodiment function mould of smart machine in the infrared appliance control system of smart machine Block schematic diagram;The embodiment of the present invention with the difference of embodiment described in Fig. 4 is, infrared home wiring control of the present invention based on smart machine In system, the smart machine 200 also includes update module 05.When the position of infrared transponder 200 changes, infrared turn Send out device 200 and its MAC Address, new IP address, new positional information are issued into smart machine 100;The update module 05 is used for After MAC Address, new IP address and the new location information for receiving the transmission of infrared transponder 200, according to MAC Address more new equipment The IP address and positional information of the infrared transponder 200 for having been stored in list, at the same update module 05 by list of devices originally The coding key assignments of correspondence above-mentioned MAC Address origin-location information is updated to the corresponding coding key assignments of new location information.
If memory module 01 is added the title correspondence remote control coding of newly-built remote control to the list of devices In, then update module 05 further will correspond to the newly-built remote control of above-mentioned MAC Address origin-location information originally in list of devices Title is updated to the corresponding newly-built remote control title of new location information.
Assume that the infrared transponder 200 in parlor is had been moved in room 1, the infrared transponder 200 in room 1 is still in room In 1, then table 3 can be obtained after being updated to the corresponding information of above-mentioned table 2:
Table 3
Assume that the infrared transponder 200 in parlor is had been moved in room 1, the infrared transponder 200 in room 1 has been moved to parlor In, then table 4 can be obtained after being updated to the corresponding information of above-mentioned table 2:
Table 4
Compared to prior art, when the position of infrared transponder of the present invention changes, in time by MAC Address, new IP Smart machine is issued in address, new positional information, and smart machine updates infrared turn for having been stored in list of devices according to MAC Address The IP address and positional information of device are sent out, the newly-built remote control name of the old position of above-mentioned MAC Address will be corresponded to originally in list of devices Claim, coding key assignments is updated to the newly-built remote control title of new position, coding key assignments.Thus, occurring in the position of infrared transponder During change, smart machine of the present invention remains to be remotely controlled infrared controlled plant.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or system including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium (Such as ROM/RAM, magnetic disc, CD)In, use so that a station terminal equipment including some instructions(Can be mobile phone, computer, clothes Business device, or the network equipment etc.)Perform the method described in each embodiment of the invention.
The preferred embodiments of the present invention are the foregoing is only, its scope of the claims is not thereby limited, it is every using the present invention Equivalent structure or equivalent flow conversion that description and accompanying drawing content are made, are directly or indirectly used in other related technology necks Domain, is included within the scope of the present invention.

Claims (10)

1. a kind of infrared household electric appliance control method based on smart machine, it is characterised in that comprise the following steps:
S11, smart machine receive the facility information for having set up that at least two infrared transponders of wifi connections send, and will receive The facility information store into list of devices, the facility information include the positional information of the infrared transponder, MAC ground Location and IP address;
S12, on smart machine a newly-built remote control, and be input into study instruction, the infrared controlled plant for learning as needed Positional information select the infrared transponder of correspondence position, the distant of infrared controlled plant is learnt by selected infrared transponder Control-register code, and the MAC Address of the selected infrared transponder of remote control coding correspondence that study is obtained adds to described In list of devices;
S13, smart machine are received when needing the instruction of remote control certain infrared controlled plant for having learnt, are searched infrared with described The associated infrared transponder of controlled plant, controls the infrared controlled plant by the infrared transponder.
2. the method for claim 1, it is characterised in that in step S13, searches and the infrared controlled plant phase The IP address of the infrared transponder of association, sets up wifi connections, Zhi Houli by IP address and corresponding infrared transponder The infrared controlled plant is controlled with the infrared transponder of wifi connections.
3. method as claimed in claim 2, it is characterised in that also include after step S13:
Step S14, when the position of infrared transponder changes, infrared transponder is by its MAC Address, new IP address, new position Confidence breath issues smart machine;Smart machine updates what is stored in list of devices according to the MAC Address of the infrared transponder The IP address and positional information of the infrared transponder, while above-mentioned MAC Address origin-location will be corresponded to originally in list of devices The coding key assignments of information is updated to the corresponding coding key assignments of new location information.
4. method as claimed in claim 2, it is characterised in that in step S12, by selected infrared transponder The remote control coding for learning infrared controlled plant includes:The infrared transponder receives the traditional remote controller of infrared controlled plant and sends Infrared waveform, and this infrared waveform is changed into into discrete binary signal, is sent to smart machine after being encoded;Institute State in step S13, the infrared controlled plant is controlled by the infrared transponder to be included:The infrared transponder receives intelligence Can equipment send remote control coding decoded, and by decoded discrete binary signal be converted to infrared waveform send to Infrared controlled plant, realizes control of the smart machine to infrared controlled plant, replaces traditional remote control to receive to infrared with this The control of control equipment.
5. method as claimed in claim 2, it is characterised in that in step S12, further by the title of newly-built remote control The correspondence remote control coding is added into the list of devices.
6. method as claimed in claim 5, it is characterised in that also include after step S13:
Step S14, when the position of infrared transponder changes, infrared transponder is by its MAC Address, new IP address, new position Confidence breath issues smart machine;Smart machine updates what is stored in list of devices according to the MAC Address of the infrared transponder The IP address and positional information of the infrared transponder, while above-mentioned MAC Address origin-location will be corresponded to originally in list of devices The title of the newly-built remote control of information, coding key assignments are updated to the title of the corresponding newly-built remote control of new location information, key letter Value.
7. method as claimed in claim 2, it is characterised in that the smart machine is smart mobile phone, panel computer or intelligence Can TV.
8. a kind of infrared appliance control system based on smart machine, including infrared transponder and smart machine;Characterized in that, The smart machine includes wireless communication connection module, memory module, study module and control module, and the memory module is used for The facility information that at least two infrared transponders of wifi connections send has been set up in reception, and the facility information for receiving is deposited Store up into list of devices, the facility information includes positional information, MAC Address and the IP address of the infrared transponder;It is described Study module is for a newly-built remote control on smart machine, and is input into study instruction, and what is learnt as needed is infrared controlled The positional information of equipment selects the infrared transponder of correspondence position, learns infrared controlled plant by selected infrared transponder Remote control coding, and the MAC Address of the selected infrared transponder of remote control coding correspondence that study is obtained adds to extremely In the list of devices;The control module is used to receive the instruction for needing certain infrared controlled plant for having learnt of remote control When, the infrared transponder being associated with the infrared controlled plant is searched, is controlled by the infrared transponder described infrared Controlled plant.
9. control system as claimed in claim 8, it is characterised in that the control module is used to searching infrared controlled with described The IP address of the associated infrared transponder of equipment, sets up wifi connections by IP address and corresponding infrared transponder, The infrared transponder for being connected using wifi afterwards is controlling the infrared controlled plant.
10. control system as claimed in claim 8 or 9, it is characterised in that the infrared transponder is additionally operable to:Send out in position During changing, its new facility information is issued into smart machine;The smart machine also update module, which is used for according to described red The IP address and positional information of the infrared transponder that the MAC Address of outer transponder has been stored in updating list of devices, while Originally the coding key assignments that above-mentioned MAC Address origin-location information is corresponded in list of devices is updated to into the corresponding volume of new location information Code key value.
CN201310754545.7A 2013-12-31 2013-12-31 Infrared household appliance control method and control system based on intelligent equipment Active CN103700249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310754545.7A CN103700249B (en) 2013-12-31 2013-12-31 Infrared household appliance control method and control system based on intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310754545.7A CN103700249B (en) 2013-12-31 2013-12-31 Infrared household appliance control method and control system based on intelligent equipment

Publications (2)

Publication Number Publication Date
CN103700249A CN103700249A (en) 2014-04-02
CN103700249B true CN103700249B (en) 2017-04-12

Family

ID=50361764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310754545.7A Active CN103700249B (en) 2013-12-31 2013-12-31 Infrared household appliance control method and control system based on intelligent equipment

Country Status (1)

Country Link
CN (1) CN103700249B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719447A (en) * 2014-12-04 2016-06-29 江苏慧明智能科技有限公司 Wireless remote controller of household equipment
CN106292301B (en) * 2015-05-20 2020-01-07 中兴通讯股份有限公司 Method, device and system architecture for realizing smart home
CN106530670A (en) * 2016-12-28 2017-03-22 杭州联络互动信息科技股份有限公司 Infrared control mediation device, and method and apparatus for intelligent device to implement infrared control
CN108510722A (en) * 2018-04-19 2018-09-07 中南大学 A kind of electrode open and-shut mode control device and method
CN109147298A (en) * 2018-09-06 2019-01-04 东莞市华业新科电子科技有限公司 Radio frequency control learning method, device, equipment and medium
CN112698576B (en) * 2019-10-22 2024-03-19 广东美的制冷设备有限公司 Control method, device, system and equipment for household appliances
CN114120618A (en) * 2021-12-01 2022-03-01 四川虹美智能科技有限公司 One-key infrared configuration method, infrared device, mobile terminal and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300420A (en) * 2001-03-29 2002-10-11 Sanyo Electric Co Ltd Television receiver
CN101145276A (en) * 2007-09-21 2008-03-19 广州市聚晖电子科技有限公司 Bidirectional infrared receiver-transmitter area-control method
CN101430820B (en) * 2008-11-26 2010-06-02 谭晖 Electronic equipment and signal translator
CN102663883A (en) * 2012-05-17 2012-09-12 温州大学 Distributed intelligent remote controller for household appliances
CN102737496A (en) * 2012-06-08 2012-10-17 深圳市亿思达显示科技有限公司 Remote control system
CN102855744B (en) * 2012-08-31 2016-03-30 林述颖 Based on infrared home appliance management system and the method for smart mobile phone

Also Published As

Publication number Publication date
CN103700249A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103700249B (en) Infrared household appliance control method and control system based on intelligent equipment
CN103237058B (en) The learning method of infrared control
CN205003465U (en) Possesses smart home systems who cascades gateway
CN102801816B (en) Cloud air conditioning system based on cloud computation
CN105871671A (en) Method and device for controlling and obtaining intelligent-home-device uploading data
CN103716214A (en) Smart home remote control system and method
CN104244054A (en) Remote control method for multiple terminal devices, related devices and system
CN103618670A (en) Intelligent gateway and intelligent home system
CN108040264A (en) A kind of speaker sound control method and equipment for TV programme channel selection
CN105093942A (en) Intelligent household system and group control method based on the intelligent household system
CN105353625A (en) Method, device and system for binding intelligent equipment
CN106094547A (en) Intelligent home equipment control method and system
CN104503378A (en) Robot and household electrical appliance control method based on robot
CN102945597A (en) Updatable infrared repeater system and update method thereof
CN105577721A (en) Remote terminal control method and system thereof
CN206117700U (en) A intelligent router for speech control of family center
CN105871670A (en) Control method, device and system of terminal equipment
CN106408913A (en) Device control method and mobile control device
CN107798852A (en) A kind of control method of Universal infrared remote controller system
CN104571033A (en) Method and device for controlling household appliance through short message
CN102055641A (en) Distribution method for virtual local area network and related device
CN105068841A (en) Access control card based management system and method
CN110519738A (en) A kind of method and device of the multi-functional determination of ZigBee terminal device
CN104967544A (en) Network access equipment linkage method and network access equipment linkage apparatus
CN102298590B (en) Home interconnected information display system and method, and display terminals and server for the same

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