Summary of the invention
In view of above content, be necessary to provide a kind of electric appliance remote control system and method, can control intuitively various electrical equipment long-range for the user.
The invention provides a kind of electric appliance remote control system, comprise the FTP client FTP that is applied to handheld apparatus.This handheld apparatus is connected with main frame by network, and this main frame is connected with a plurality of electrical equipment by controller.This FTP client FTP comprises: download module, for the 3D simulated scenario of downloading the monitoring scene that comprises described a plurality of electrical equipment by network from described main frame; Display module is used for showing at the display of handheld apparatus the tabulation of the 3D simulated scenario of downloading, 3D simulated scenario of user selection, and the current state of each electrical equipment that comprises in the 3D simulated scenario of demonstration user selection and this scene; Receiver module is used for receiving the user to the 3D simulated scenario selection of electric apparatus operation that shows and the control command that this electrical equipment is assigned; And sending module, being used for by network described control command being sent to main frame, main frame is determined the electrical equipment that is associated with this control command according to the related information of storage, and controls electrical equipment execution corresponding operating that this is associated by controller.
The present invention also provides a kind of appliance remote control method, and the method is applied to handheld apparatus.This handheld apparatus is connected with main frame by network, and this main frame is connected with a plurality of electrical equipment by controller.The method comprising the steps of: the 3D simulated scenario of downloading the monitoring scene that comprises described a plurality of electrical equipment by network from described main frame; Show the tabulation of the 3D simulated scenario of downloading at the display of handheld apparatus, 3D simulated scenario of user selection, and show the current state of each electrical equipment that comprises in the 3D simulated scenario of user selection and this scene; Receive the user selection of electric apparatus operation in the 3D simulated scenario that shows is reached the control command that this electrical equipment is assigned; And by network described control command being sent to main frame, main frame is determined the electrical equipment be associated with this control command according to the related information of storage, and controls electrical equipment execution corresponding operating that this is associated by controller.
Compared to prior art, electric appliance remote control system provided by the present invention and method can be controlled various electrical equipment by handheld apparatus long-range intuitively for the user.
Embodiment
Consulting shown in Figure 1ly, is the hardware structure figure of electric appliance remote control system preferred embodiments of the present invention.This electric appliance remote control system comprises the FTP client FTP 11 that is applied to handheld apparatus 1 and the back-end system 21 that is applied to main frame 2.This handheld apparatus 1 can be the electronic installations such as mobile phone, personal digital assistant (Personal Digital Assistant, PDA).In the present embodiment, this handheld apparatus 1 also comprisesmemory 12,processor 13 anddisplay 14.
This handheld apparatus 1 is connected with main frame 2 by network.Main frame 2 is connected with controller 3.Controller 3 comprises a plurality of Ports, and for example the Port A~E shown in Fig. 1 connects respectively a plurality of electrical equipment, for example the standard lamp shown in Fig. 14,fan 5, audio amplifier 6, automatically-controlleddoor 7 and air-conditioning 8.Thiscontroller 3 can be programmable automation controller (Programmable Automation Controller, PAC) or programmable logic controller (Programmable Logic Controller, PLC).
Main frame 2 also comprises memory 22,processor 23 and display 24.Memory 22 stores the illustrated incidence relation of various electrical equipment in the 3D simulated scenario of different monitoring scene and the various control commands that set in advance and the 3D simulated scenario.A 3D simulated scenario system draws according to the practical layout of each electrical equipment of controlleddevice 3 controls in the monitoring scene and forms.Described incidence relation refer to when the user to the 3D simulated scenario in certain electrical equipment diagram when operating, the control command that is associated with this electrical equipment icon is activated,processor 23 is carried out these control commands and is carried out corresponding operating by the corresponding electrical equipment ofcontroller 3 controls.
Consulting shown in Figure 2ly, is the FTP client FTP 11 of electric appliance remote control system of the present invention and the functional block diagram of back-end system 21 preferred embodiments.This back-end system 21 comprises thefirst display module 211,module 212 is set, thefirst sending module 213, thefirst receiver module 214 and analysis module 215.This FTP client FTP 11 comprisesdownload module 111, thesecond display module 112, thesecond receiver module 113 and thesecond sending module 114.
The describedmodule 211~215th of present embodiment, a kind of can be by theprocessor 23 of main frame 2 performed and can finish the computer program code segments of fixed function, it be stored in the memory 22 of main frame 2.
Thefirst display module 211 shows that 3D simulated scenario and the control command of drawing according to the layout of each electrical equipment in the monitoring scene arrange the interface.Consult shown in Figure 3ly, this control command arranges the interface and comprises 3 regional R1, R2 and R3.The R1 zone shows described 3D simulated scenario.The R2 zone shows the control command collection, and Fig. 3 illustrates 7 instructions: instruction 1 control apparatus A ON/OFF; Instruction 2 control apparatus A brightness;Instruction 3 control apparatus B ON/OFF; Instruction 4 control apparatus B rotating speeds;Instruction 5 control apparatus C ON/OFF; Instruction 6 control apparatus C volumes;Instruction 7 control apparatus D ON/OFF.Described electrical equipment A~D system identifies by the Port ofcontroller 3, and the electrical equipment that for example is connected with Port D is identified as electrical equipment D.R3 zone shows project is set, and the television set that for example arranges in the 3D simulated scenario ofinstruction 7 and the demonstration of R1 zone is associated.
Module 212 is set is used for the storage user arranges each electrical equipment in control command that the interface arranges and the 3D simulated scenario by described control command related information.The user can directly select theinstruction 7 that R2 zone shows and the television set icon place that is drawn in the 3D simulated scenario namely to finish this related setting, and the R3 zone can show the result was set this moment, and the user clicks store button and finishes this setting.The user also can not carry out the instruction drag operation, directly arranges in the R3 zone.User described here is the system maintenance personnel.
Thefirst sending module 213 is used for answering the request of handheld apparatus 1 to send described 3D simulated scenario to handheld apparatus 1 (shown in Fig. 4 (III)) by network, supplies the user of handheld apparatus 1 to select the electrical equipment of wish control and this electrical equipment is assigned control command (as shown in Figure 5) from this 3D simulated scenario.
Thefirst receiver module 214 is used for receiving the control command that handheld apparatus 1 sends by network.
Analysis module 215 is used for according to the definite electrical equipment that is associated with this control command of the related information of storage, carries out corresponding operating by this electrical equipment that is associated ofcontroller 3 controls.
The describedmodule 111~114th of present embodiment, a kind of can be by theprocessor 13 of handheld apparatus 1 performed and can finish the computer program code segments of fixed function, it be stored in thememory 12 of handheld apparatus 1.
Download module 111 is used for downloading the 3D simulated scenario by network from main frame 2 after the user of handheld apparatus 1 opens this electric appliance remote control system (shown in Fig. 4 (I)).
Thesecond display module 112 is used for showing at thedisplay 14 of handheld apparatus 1 tabulation of the 3D simulated scenario of downloading, (shown in Fig. 4 (II), select Home for 3D simulated scenario of user selection, Room_01), and the current state (shown in Fig. 4 (III), standard lamp is current to be the off state) of each electrical equipment that comprises in the 3D simulated scenario of demonstration user selection and this scene.
Thesecond receiver module 113 is used for receiving the user to the 3D simulated scenario selection of electric apparatus operation (selecting standard lamp shown in Fig. 4 (III)) that shows and the control command that this electrical equipment is assigned (standard lamp is set as shown in Figure 5 be the on state and regulate lamplight brightness).
Thesecond sending module 114 is used for by network described control command being sent to main frame 2.Main frame 2 is carried out corresponding operating according to the definite electrical equipment that is associated with this control command of the related information of storage by this electrical equipment that is associated ofcontroller 3 controls.For example, standard lamp being set among Fig. 5 is that instruction 1 and the instruction 2 in the corresponding diagram 3 distinguished on state and the operation of regulatinglamplight brightness.Controller 3 is opened standard lamp 4 according to instruction 1, according to the brightness of instruction 2 corresponding adjusting standard lamps 4.
Consulting shown in Figure 6ly, is the flow chart of appliance remote control method preferred embodiments of the present invention.
Step S21, thefirst display module 211 of back-end system 21 shows that 3D simulated scenario and the control command of drawing according to the layout of each electrical equipment in the scene arrange interface (as shown in Figure 3).
Step S22, themodule 212 storage users that arrange of back-end system 21 arrange the related information of each electrical equipment in control command that the interface arranges and the 3D simulated scenario to memory 22 by described control command.Described setting operation sees also above about thefirst display module 211 and the introduction ofmodule 212 is set.
Step S23, thedownload module 111 of FTP client FTP 11 is downloaded described 3D simulated scenario to handheld apparatus 1 by network from main frame 2.
Step S24, thesecond display module 112 shows the tabulation of the 3D simulated scenario of downloading at thedisplay 14 of handheld apparatus 1, (shown in Fig. 4 (II), select Home for 3D simulated scenario of user selection, Room_01), and the current state (shown in Fig. 4 (III), standard lamp is current to be the off state) of each electrical equipment that comprises in the 3D simulated scenario of demonstration user selection and this scene.
Step S25, thesecond receiver module 113 receive users to selection of electric apparatus operation (selecting standard lamp shown in Fig. 4 (III)) in the 3D simulated scenario that shows and control command that this electrical equipment is assigned (standard lamp is set as shown in Figure 5 be the on state and regulate lamplight brightness).
Step S26, thesecond sending module 114 is used for by network described control command being sent to main frame 2.Thefirst receiver module 214 of back-end system 21 receives this control command, andanalysis module 215 is carried out corresponding operating according to the definite electrical equipment that is associated with this control command of the related information of storage by this electrical equipment that is associated ofcontroller 3 controls.For example, standard lamp being set among Fig. 5 is that instruction 1 and the instruction 2 in the corresponding diagram 3 distinguished on state and the operation of regulatinglamplight brightness.Controller 3 is opened standard lamp 4 according to instruction 1, according to the brightness of instruction 2 corresponding adjusting standard lamps 4.
It should be noted that at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.