Invention content
Caused by for ETS project files are lacked in the prior art the defects of manpower, waste of time, the present invention provides one
Kind KNX gateways, control system and control method.
In a first aspect, the present invention provides a kind of KNX gateways, which includes:Human-computer interaction module, memory module, on
Position machine PORT COM and KNX PORT COMs;
Human-computer interaction module with the memory module, host computer PORT COM and KNX PORT COMs connect, is used for respectively
Realize that user interacts with the gateway;
Memory module, for storing ETS project files, the ETS project files are for host computer by gateway to KNX equipment
The corresponding project file of application program of transmission;;
Host computer PORT COM, for being interacted with the host computer;
KNX PORT COMs, for being interacted with the KNX equipment.
Preferably, the host computer PORT COM is procotol IP ports or general-purpose serial bus USB port.
Second aspect, the present invention provides a kind of control system, which includes:Host computer, one or more KNX are set
Standby and above-mentioned KNX gateways;
Host computer is connect with the KNX gateways, for being programmed using ETS softwares, is generated needed for multiple KNX equipment
Application program;
KNX equipment is connect with the KNX gateways, for receiving the application that the host computer is transmitted by the KNX gateways
Program, and the KNX equipment is run according to the application program.
Preferably, the KNX equipment includes:Lighting apparatus, shutter, security system, energy management equipment, heating are set
Standby, ventilation equipment, air-conditioning system, signal monitoring system, service interface and building control system, measuring equipment, regard remote control
It is one or more in frequency control device, voice-operated device and home appliance.
The third aspect, the present invention provides a kind of control method of KNX gateways, the method includes:
KNX gateways detect whether multiple KNX equipment transmission application programs of the host computer into bus terminate;
If multiple KNX equipment transmission application EPs (end of program) of the host computer into bus, KNX gateways prompt the user whether to deposit
Store up the corresponding ETS project files of the application program;
If user determines to store the ETS project files, the ETS project files are preserved in the KNX gateways.
Preferably, whether multiple KNX equipment transmission application programs of the KNX gateways detection host computer into bus terminate
The step of before, the method further includes:
Whether KNX gateways detection host computer starts to the multiple KNX equipment transmission application program;
If host computer starts to the multiple KNX equipment transmission application program, the KNX gateways record has received application
The physical address of the KNX equipment of program.
Preferably, if multiple KNX equipment transmission application EPs (end of program) of the host computer into bus, KNX gateways carry
After showing the step of whether user stores the application program corresponding ETS project files, the method further includes:
KNX gateways prompt the user with the multiple KNX equipment for having received application program.
Preferably, if the user determines to store the ETS project files, the ETS is preserved in the KNX gateways
Project file, including:
If user determines to preserve the ETS project files, ETS project files are exported from the ETS softwares of host computer, and
The ETS project files are preserved according to the path that user selects.
As shown from the above technical solution, the present invention provides a kind of KNX gateways, control system and control method, works as host computer
After multiple KNX equipment transmission application EPs (end of program) into bus, user is prompted to store the ETS project files, then works as system
In KNX equipment need replacing or when the function of the system needs modification, only the ETS project files of preservation need to be recalled and gone forward side by side
Row modification avoids manpower, waste of time caused by ETS project files lack.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, for the structure diagram of a kind of KNX gateways that one embodiment of the invention provides, which includes:People
Machine interactive module, memory module, host computer PORT COM and KNX PORT COMs.
Human-computer interaction module with the memory module, host computer PORT COM and KNX PORT COMs connect, is used for respectively
Realize that user interacts with the gateway.
Specifically, when host computer by the gateway to one or more of bus KNX equipment transmission application programs
After, host computer interactive module prompting user stores engineering tools software ETS project files.Human-computer interaction module can be
Web server module or the process in running background.
Memory module, for storing ETS project files, wherein, the ETS project files for host computer by gateway to
The corresponding project file of application program of KNX equipment transmission.
Host computer PORT COM, for being interacted with the host computer.
KNX PORT COMs, for being interacted with the KNX equipment.
Specifically, KNX gateways human-computer interaction module detection host computer whether by the KNX gateways into bus
Whether the process of multiple KNX equipment transmission application programs terminates, if terminating, prompts the user with and preserves ETS project files;If with
Family determines preservation ETS project files, then human-computer interaction module downloads ETS project files from host computer and protects ETS project files
It deposits to the memory module.
In the present embodiment, the host computer PORT COM can be procotol IP ports or general-purpose serial bus USB port.
A kind of KNX gateways are present embodiments provided, which includes memory module, then when host computer is into bus
After multiple KNX equipment transmission application EPs (end of program), user can be prompted to store the ETS project files.Then as the KNX in system
When equipment needs replacing or the function of the system needs modification, only the ETS project files of preservation need to be recalled and be modified,
Avoid manpower, waste of time caused by ETS project files lack.
As shown in Fig. 2, another embodiment of the present invention provides a kind of control system, which includes:Host computer, one or
Multiple KNX equipment and above-mentioned KNX gateways.
Specifically, host computer is connect with the KNX gateways, for being programmed using ETS softwares, is generated multiple KNX and is set
Standby required application program;
KNX equipment is connect with the KNX gateways, for receiving the application that the host computer is transmitted by the KNX gateways
Program, and the KNX equipment is run according to the application program.
KNX gateways then set for the application program that the host computer is sent to be forwarded to the corresponding KNX of the application program
It is standby.
For example, the KNX equipment can be:Lighting apparatus, shutter, security system, energy management equipment, heating are set
Standby, ventilation equipment, air-conditioning system, signal monitoring system, service interface and building control system, measuring equipment, regard remote control
It is one or more in frequency control device, voice-operated device and home appliance.
As shown in figure 3, for the flow diagram of the control method of a kind of KNX gateways that another embodiment of the present invention provides,
This method comprises the following steps:
S1:KNX gateways detect whether multiple KNX equipment transmission application programs of the host computer into bus terminate.
S2:If multiple KNX equipment transmission application EPs (end of program) of the host computer into bus, KNX gateways prompt the user to be
It is no to store the corresponding ETS project files of the application program.
It should be noted that if multiple KNX equipment transmission application programs of the host computer into bus do not terminate, then step is gone to
Rapid S1 continues to detect, until multiple KNX equipment transmission application EPs (end of program) of the host computer into bus.
S3:If user determines to store the ETS project files, the ETS engineerings text is preserved in the KNX gateways
Part.
In the present embodiment, before step S1, the method further includes following steps:
S00:Whether KNX gateways detection host computer starts to the multiple KNX equipment transmission application program;
S01:If host computer starts to the multiple KNX equipment transmission application program, the KNX gateways record has received
The physical address of the KNX equipment of application program.
In the present embodiment, after step S2, the method further includes:
KNX gateways prompt the user with the multiple KNX equipment for having received application program.
Specifically, KNX gateways prompt the user with the application program which KNX equipment has received host computer transmission.
In the present embodiment, step S3 is specifically included:
If user determines to preserve the ETS project files, ETS project files are exported from the ETS softwares of host computer, and
The ETS project files are preserved according to the path that user selects.
It should be noted that host computer by above-mentioned KNX gateways to KNX equipment transmission application programs when, communicated according to KNX
Agreement, the source address in communication command are the physical address of the KNX gateways, then start or terminate using the KNX gateways as source address
Communication command could be identified.
In order to illustrate more clearly of technical scheme of the present invention, as shown in figure 4, for another more specific implementation of the present invention
A kind of flow diagram of the control method for KNX gateways that example provides, this method comprises the following steps:
S1’:Whether detection host computer begins through KNX gateways to KNX equipment transmission application programs, if so, going to step
Rapid S2 ' otherwise goes to step S1 ';
S2’:Record has received the physical address of the KNX equipment of application program;
S3’:Judge whether host computer terminates to multiple KNX equipment transmission application programs, if so, step S4 ' is gone to, it is no
Then go to step S2 ';
S4’:Prompting user has received multiple KNX equipment of application program, and prompts the user whether storage ETS engineering texts
Part if so, going to step S5 ', otherwise goes to step S6 ';
S5’:ETS project files are preserved according to the path that user selects;
S6’:It abandons preserving ETS project files.
A kind of control method of KNX gateways is present embodiments provided, when multiple KNX equipment transmission of the host computer into bus
After application program, user is prompted to store the ETS project files.Then when the KNX equipment in system needs replacing or described
When the function of system needs modification, only the ETS project files of preservation need to be recalled and be modified, avoided because of ETS engineerings text
Manpower, waste of time caused by part lacks.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
The present invention is described in detail, it will be understood by those of ordinary skill in the art that;It still can be to aforementioned each implementation
Technical solution recorded in example modifies or carries out equivalent replacement to which part technical characteristic;And these modification or
It replaces, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.