The control of Human-to-Machine's equipment is completed by man machine interface, and modal man machine interface is exactly key panel, by the operation of button, passes to processor as electronic signals, and whether the signal of telecommunication characterizes has button to be operated this event. More more complicated than key panel it is referred to as control panel, comprise and more control component type, there may also be the basic elements such as switch, draw runner, knob, band switch, touch pad except button, button be distinctive in that with switch the former be press connect and unclamp after disconnect, the latter be then press namely be locked in on-state, again operation just return to off-state. Control panel, except controlling element, also has state indicator elment, such as LED, charactron etc. The application of touch screen, making entity control panel can be completely transferred on display screen becomes soft keyboard or soft control panel.
Control panel is connected with controlled plant by wired or wireless mode, and wired mode kind is more, including serial communication or the communication of many device bus of various point-to-points. Wireless mode is most commonly used for the IR remote controller of home wiring control. Along with the development of communication technology, the remote control equipment of the modes such as bluetooth, 2.4G number biography, WiFi is adopted also to occur in that. In the face of diversified controlled plant occurs in that corresponding diversified remote controller, and people are trying every possible means to realize an omnipotent remote controller always, go to control multiple equipment with same remote controller. The infrared remote controller of Logitech company realizes by storing the control code of a lot of equipment, and this method is also being adopted by other producer. Thing thing interconnected communication technology is just in fast development, equipment room can be interconnected, smart machine can get more and more, corresponding control method is also in continuous progress, the Wearable such as the handheld device such as mobile phone, panel computer or intelligent watch are also considered for remote controller, control intelligent electric lamp as by mobile phone A PP and carry out dimming, mixing colours. Application for a patent for invention CN201310738884.6 discloses the method currently playing content being controlled for audio frequency and video, and CN201310412576.4 discloses the method utilizing instant message instrument to carry out smart machine actively controlling by instant messaging.
Investigate some current control methods, the problem that all can not solve well to allow a control equipment go to control multiple different controll plants. This is because control equipment itself is not aware which all of controlled plant has be need to control and how to control.
Summary of the invention
The invention aims to solve a control equipment control the problem of multiple controlled plants and propose a kind of man-machine interaction control method, it has been also applied for line traffic control suitable in controlled in wireless, when control equipment and controlled plant are in communications status, automatically presenting a complete control panel in the display interface controlling equipment got the nod, controlled plant just can be controlled by operator by this control panel.
To achieve these goals, the method for the invention includes:
Controlled plant adopts the Control Cooling of all control items in control panel needed for standard format files record and controls parameter, deposits in its local nonvolatile storage;
When being in communications status, described control equipment sends control request to described controlled plant, and described standard format files, after recognizing controllable device, is sent to control equipment by controlled plant;
Described control equipment presents all described control items according to described Control Cooling and described control parameter in its display interface, constitutes a complete control panel.
Preferably, after described control equipment receives described standard format files, its local nonvolatile storage is recorded ID and the title of described controlled plant.
Further preferably, described control request refers to: ID and the title of the controlled plant that described control equipment passes through according to all certifications of its local nonvolatile storage storage list controlled plant inventory on its display interface, and described control equipment lists the equipment list that can receive signal on its display interface, operator chooses described controlled plant therein in any one inventory.
Preferably, described standard format files is the file of the file of XML format or JSON form.
Preferably, described Control Cooling is switch, or button, or draw runner, or knob, or band switch, or touch pad, or text prompt frame, or digital-scroll technique.
Preferably, described control parameter is title, or span, or currency.
Preferably, described accreditation refers to: when described control equipment and described controlled plant First Contact Connections, controlled plant issues control device password prompting frame information, require cipher authentication, confirm that described controlled plant after password is correctly records control device id that certification passes through in its local nonvolatile storage; When described control equipment is again coupled to described controlled plant is follow-up, the described control device id through certification that described controlled plant controls device id locally stored with oneself by comparison confirms to be consistent.
It is further preferred that described First Contact Connections refers to that described controlled plant can not find the described control device id through certification being consistent with described control equipment in it is locally stored.
Preferably, described control equipment has the corresponding graphic element of described Control Cooling in its memory.
It is further preferred that described graphic element concentrates arrangement by described Control Cooling in described display interface, described graphic element can manual setting position in display interface.
Preferably, described communication is radio communication or wire communication.
The present invention proposes a kind of man-machine interaction control method, pass through the method, the Control Cooling of all for controlled plant control items and control parameter file in a standard format are passed to control equipment, make control equipment can automatically identify control content and build control panel, thus there is wider adaptability.The method can be used for the control of intelligent electric appliance, it is possible to controls this electric appliances all of by the handheld device such as mobile phone, panel computer and the office equipment such as notebook computer, desktop computer, it is only necessary to a kind of application software. Thus achieve multiple control equipment and freely control multiple controlled plant.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with accompanying drawing and by embodiment, the present invention is described in further detail. Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention. All any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.
As an embodiment, the primary element contained in limited list control panel in Fig. 1, including switch, button, draw runner, knob, band switch, touch pad, text prompt frame, digital-scroll technique. Any one can be combined by these primary elements for ergonomic panel, and these primary elements are referred to as Control Cooling.
The more corresponding control parameters of each Control Cooling, have been presented in Fig. 2 an embodiment, and these control parameters and include title, span, currency, control parameter and are determined by controlled plant producer. The parameter that Control Cooling switch is corresponding is: title " ON/OFF ", value " 0 " or " 1 ", currency " 0 ". Switch value " 0 " represents and disconnects, and " 1 " represents and connects. Control Cooling button at the example that controlled plant is intelligent air condition is: title " wind is swept in left and right ", it does not have span and currency, because button is to upspring immediately after pressing, and only one of which event. Control Cooling draw runner at the example that controlled plant is intelligent electric lamp is: title " brightness ", span " 0,255 ", currency " 128 ". Brightness continuously adjustabe, from the darkest " 0 " to the brightest " 255 ", currency " 128 " represents that brightness is placed in the middle. Control Cooling knob at an example of controlled plant is: title " time ", span " 0,63 ", currency " 0 ". For needing the controlled plant of timing, stirring knob and select the time, " 0 " represents not actuated, and " 63 " represent the longest timing can be 63 minutes. Control Cooling band switch at an example of controlled plant is: title " model selection ", span " 0,4 ", currency " 0 ". " 0 " can be selected to arrive " 4 " totally 5 kinds of patterns, and " 0 " represents idle pulley. Control Cooling text prompt frame is password prompt frame at an example of controlled plant: title " please input password ", and span " 8 ", currency does not have. " 8 " represent password the longest is 8 characters. Control Cooling digital-scroll technique at the example that controlled plant is intelligent air condition is: do not have title, span " 2,3 ", currency " 24 ".Wherein " 2,3 " represent the 2nd and the 3rd Digital sum section for showing output, and " 24 " represent temperature is 24 degrees Celsius, and the 2nd Digital sum section shows " 2 ", and the 3rd Digital sum section shows " 4 ". Control Cooling touch pad at an example of controlled plant is: title " touch pad ", span " 1023,767 ", currency " 511,383 ". Wherein " 1023,767 " represent the maximum of touch pad X and Y coordinates is " 1023 " and " 767 " respectively, and zero is " 0,0 ", and currency " 511,383 " represents cursor and is in touch pad geometric center.
When control equipment gets the above-mentioned standard format files of controlled plant, just have full knowledge which controls content and how to go to control, thus controlled plant can have been controlled.
Specifically, when control equipment and controlled plant are in communications status by the mode of radio communication or wire communication, control equipment can list an inventory in its display interface, and this inventory includes controlled plant can receive the miscellaneous equipment of signal with other. Being the example of an inventory in handheld device in Fig. 3, intelligent air condition therein, intelligent television, intelligent electric lamp, Intelligent electric fan are all found by handheld device by wireless signal, and operator will choose intelligent electric lamp as control object. Control equipment chooses controlled plant, send one thereby through communication port to controlled plant and control request, the ID record that controlled plant is consistent in its locally stored middle searching and this control equipment after receiving, if existed, illustrate that this control equipment is the control equipment approved before, then above-mentioned standard format files is issued this control equipment. If controlled plant can not find, in locally stored, the ID record being consistent with this control equipment, then need it is authenticated, method is to send a password prompt frame information to this control equipment, this control equipment presents password prompt frame at its display interface after receiving, operator inputs after correct password by ACK button, and password is sent to controlled plant. The correctness of controlled plant inspection password, if it is correct, then above-mentioned standard format files is issued this control equipment, and the ID that this controls equipment records in local nonvolatile storage, if incorrect, it is possible to again require that Password Input and confirmation, after exceeding certain number of times, this control equipment is sent refusal information, and this ID controlling equipment be recorded blacklist, no longer connect the request of being controlled later.
After control equipment receives described standard format files, namely mean success and control controlled plant, in its local nonvolatile storage, then record ID and the title of corresponding controlled plant.
Control equipment can also list an inventory in its display interface, and this inventory includes the controlled plant once controlled. Fig. 4 and Fig. 5 is the example of two such inventory, handheld device demonstrates and once controlled automobile, intelligent door lock, intelligent air condition, intelligent television, operator will choose intelligent door lock as control object in the diagram, and operator will choose automobile as control object in Figure 5.Thus, control equipment chooses controlled plant in this inventory, and controlled plant is because also there being this to control the ID of equipment record and directly send above-mentioned standard format files.
After control equipment receives the above-mentioned standard format files that controlled plant sends, the Control Cooling and the control parameter that have according to each control item in file present all control items in display interface. Such as one controls name in parameter and is called the button of " wind is swept in left and right ", and control equipment recalls the corresponding graphic element that Control Cooling is button from locally stored, and is embedded in button figure by " wind is swept in left and right " text, is then presented in display interface. In like manner, it is possible to control items all in above-mentioned standard format files are all shown, and identical for Control Cooling returning is shown together, the person's of being operated by manual setting or without adjust, constitute a complete control panel.
Fig. 6 is three examples presenting control panel at the display interface of handheld device, the control content of automobile includes the on an off of the on an off of car door, the on an off of boot, fuel tank cap, the control content of intelligent electric lamp includes the on an off of lamp, the continuously adjusting of brightness, the continuously adjusting of tone, and the control content of intelligent air condition includes the on an off of air-conditioning, preset temperature shows, preset temperature add and subtract, model selection, wind speed selects, wind is swept in left and right and sweeps selecting crude drugs with winnower up and down selects. Control item in Fig. 6 comprises switch, button, draw runner, these several Control Cooling of digital-scroll technique.
It can be seen that after employing the method, can substitute the trivial key of conventional door and automobile key by any one handheld device, the control of any household electrical appliance can also control with any mobile phone or panel computer, as long as just can control through accreditation. Owing to thing thing interconnected communication is not limited to little scope, so long-range control can also thus method realize.
The content that this specification is not described in detail belongs to the known prior art of professional and technical personnel in the field.