CN107124481A - A kind of collocation method, system and the equipment of KNX group address - Google Patents

A kind of collocation method, system and the equipment of KNX group address Download PDF

Info

Publication number
CN107124481A
CN107124481A CN201710322850.7A CN201710322850A CN107124481A CN 107124481 A CN107124481 A CN 107124481A CN 201710322850 A CN201710322850 A CN 201710322850A CN 107124481 A CN107124481 A CN 107124481A
Authority
CN
China
Prior art keywords
knx
equipment
target function
knx equipment
host computer
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.)
Granted
Application number
CN201710322850.7A
Other languages
Chinese (zh)
Other versions
CN107124481B (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.)
Guang Zhouhai Is Full Of Electrical Technology Co Ltd
Original Assignee
Guang Zhouhai Is Full Of Electrical Technology 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 Guang Zhouhai Is Full Of Electrical Technology Co Ltd filed Critical Guang Zhouhai Is Full Of Electrical Technology Co Ltd
Priority to CN201710322850.7A priority Critical patent/CN107124481B/en
Publication of CN107124481A publication Critical patent/CN107124481A/en
Application granted granted Critical
Publication of CN107124481B publication Critical patent/CN107124481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present embodiments relate to KNX technical fields, a kind of collocation method, system and the equipment of KNX group address are disclosed, this method includes:KNX equipment receives No. ID of host computer distribution;According to the channel number of passage where target function objects on own channels, the function type of target function objects and described No. ID, generate group address and the preservation of target function objects, using by group address as target function objects identity, wherein, No. ID of group address including KNX equipment, the channel number of passage where target function objects and the function type of target function objects;Implement the embodiment of the present invention, the configuration and management of group address, the maintenance and management for being conducive to KNX systems follow-up during for simplifying KNX system deployments realize the seamless link between KNX systems, promote the development and popularization of KNX systems, and cost is than relatively low.

Description

A kind of collocation method, system and the equipment of KNX group address
Technical field
The present invention relates to KNX (Konnex) technical field, and in particular to a kind of collocation method of KNX group address, system and Equipment.
Background technology
KNX agreements are household and the unique open international standard of building control field, the KNX systems based on KNX agreements Including host computer, KNX equipment and KNX transmission mediums, wherein, KNX equipment is used to realize the control to building management device, all KNX equipment is connected to host computer by KNX transmission mediums, is provided with if can be set in KNX equipment on dry passage, every passage Some functional objects, the control to specific building management device is realized by functional object.KNX equipment includes actuator, sensing Device, light modulator, driver etc., KNX transmission mediums include twisted-pair feeder (Twist Pair, abbreviation TP), power line (Power Line), radio (Radio Frequency) or Ethernet (such as Internet Protocol, abbreviation IP) etc., building management Device include illumination, shading/shutter, safety-protection system, energy management, heating, ventilation, air-conditioning system, signal and monitoring system, Service interface and building control system, remote control, metering, video/audio control, white goods etc..
Host computer or KNX equipment go specifically to control building management device by functional object, that is, host computer or KNX equipment needs control function object, and the control to functional object is realized based on group address.In the market host computer is frequently with survey Trial work has the group address of ETS programmed configurations functional objects, then exports the ETS files for preserving group address, reloads KNX and set It is standby upper, to realize the control to functional object.But, technical professional is needed using ETS programmed configurations, does not have KNX skills The personnel of art are difficult to carry out the work, and spend higher in the configuration and management of group address, are unfavorable for penetration and promotion, further Ground, if ETS files are lost or original engineering staff does not leave ETS files, can only look for special KNX technical staff Programmed configurations, increase maintenance cost.
The content of the invention
The embodiment of the invention discloses a kind of collocation method, system and the equipment of KNX group address, for solving prior art The problem of middle group address configuration and difficult management, the configuration and management of group address when simplifying KNX system deployments promotes KNX systems Popularization.
First aspect present invention discloses a kind of collocation method of KNX group address, applied to KNX equipment, the KNX equipment Host computer is connected to by KNX buses, the KNX equipment includes being provided with some passages, each passage some Individual functional object, methods described includes:
The KNX equipment receives the identity (Identity, abbreviation ID) number of the host computer distribution;
The KNX equipment channel number of passage, target work(according to where the target function objects on own channels Can the function type of object and described No. ID, group address and the preservation of the target function objects are generated, by described group Location as the target function objects identity, wherein, the group address includes No. ID, the mesh of the KNX equipment The channel number and the function type of the target function objects of passage where marking functional object.
As an alternative embodiment, in first aspect present invention, the KNX equipment receives the host computer point Before the identity matched somebody with somebody ID, methods described also includes:
Media access control (Media Access Control, abbreviation MAC) is carried out by KNX buses in the host computer Address broadcast search is to search the KNX equipment and be set up with the KNX equipment after communication connection, and the KNX equipment is to described Host computer sends MAC message, and the MAC message carries the MAC Address of the KNX equipment, the equipment class of the KNX equipment The channel number and its function type of passage where each functional object in type, each passage of the KNX equipment.
As an alternative embodiment, in first aspect present invention, the KNX equipment receives the host computer point The identity matched somebody with somebody ID, including:
The KNX equipment receives the configuration information that the host computer is sent, the configuration information carry distribute to it is described No. ID of KNX equipment and the MAC Address of the KNX equipment.
As an alternative embodiment, in first aspect present invention, the KNX equipment is according on own channels The channel number of passage, the function type of the target function objects and described No. ID, generation institute where target function objects After the group address for stating target function objects, methods described also includes:
The KNX equipment receives the control information of the host computer multicast, the control information carry control instruction and The group address of the target function objects;
The KNX equipment determines the target function objects according to the group address of the target function objects, to the mesh Mark functional object and perform the control instruction.
As an alternative embodiment, in first aspect present invention, the KNX equipment is according on own channels The channel number of passage, the function type of the target function objects and described No. ID, generation institute where target function objects After the group address for stating target function objects, methods described also includes:
The KNX equipment obtains to be sent according to the group address of the target function objects from the target function objects Data, the packing of the group address of the data to be sent and the target function objects is obtained into packet and is sent to described Host computer.
Second aspect of the present invention discloses a kind of collocation method of KNX group address, and applied to host computer, several KNX are set Standby to be connected to the host computer by KNX buses, any one described KNX equipment includes some passages, each passage On be provided with several functional objects, methods described includes:
The host computer distributes identity ID to the KNX equipment, to cause the KNX equipment according to own channels On target function objects where the channel number of passage, the function type of the target function objects and described No. ID, it is raw Group address and preservation into the target function objects, using the group address as the target function objects identity mark Know, wherein, No. ID of the group address including the KNX equipment, the channel number of passage where the target function objects with And the function type of the target function objects.
As an alternative embodiment, in second aspect of the present invention, the host computer is distributed to the KNX equipment Before identity ID, methods described also includes:
The host computer carries out MAC address broadcast search by KNX buses, is set with searching the KNX It is standby, and set up communication connection with the KNX equipment;
The host computer receives the MAC message that the KNX equipment is sent, and the MAC message carries the KNX equipment MAC Address, the device type of the KNX equipment, passage where each functional object on each passage of the KNX equipment Channel number and its function type.
As an alternative embodiment, in second aspect of the present invention, the host computer is distributed to the KNX equipment Identity ID, including:
The host computer is to the KNX equipment send configuration information, and the configuration information, which is carried, to be distributed to the KNX and set No. ID standby and the MAC Address of the KNX equipment.
As an alternative embodiment, in second aspect of the present invention, the host computer is distributed to the KNX equipment After identity ID, methods described also includes:
The host computer obtains the control instruction of the target function objects, and according to the ID for distributing to the KNX equipment Number, the channel number of passage where the target function objects that carry of the MAC message and its function type, generate the mesh Mark the group address of functional object;
The host computer generates control information according to the group address of the control instruction and the target function objects;
The host computer is by control information described in KNX bus multicasts, so that the KNX equipment is it is determined that the control letter When the group address that breath is carried is the group address of the target function objects on own channels, the control information is received and to institute State target function objects and perform the control instruction.
As an alternative embodiment, in second aspect of the present invention, the host computer is distributed to the KNX equipment After identity ID, methods described also includes:
The host computer receives the packet that the KNX equipment is sent, and the packet carries the target function objects Data to be sent and the group address of the target function objects.
Third aspect present invention discloses a kind of KNX equipment, and the KNX equipment is connected to host computer by KNX buses, institute Stating KNX equipment includes being provided with several functional objects on some passages, each passage, and the KNX equipment includes:
Communication unit, the identity ID for receiving the host computer distribution;
Generation unit, for the channel number of passage, institute according to where the target function objects on the KNX device channels The function type of target function objects and described No. ID, the group address of the generation target function objects and preservation are stated, will The group address as the target function objects identity, wherein, the group address includes the ID of the KNX equipment Number, the channel number of passage where the target function objects and the function type of the target function objects.
As an alternative embodiment, in third aspect present invention, the communication unit is additionally operable on described Position machine carries out MAC address broadcast search to search the KNX equipment and set with the KNX by KNX buses It is standby to set up after communication connection, and before the identity ID of the reception host computer distribution, MAC is sent to the host computer Message, the MAC message carries the MAC Address of the KNX equipment, the total quantity of passage included by the KNX equipment, institute State the device type of KNX equipment, on each passage of the KNX equipment channel number of passage where each functional object and Its function type.
As an alternative embodiment, in third aspect present invention, the communication unit is used to receive described The mode of identity ID of position machine distribution is specially:
The communication unit is used to receive the configuration information that the host computer is sent, and the configuration information, which is carried, to be distributed to No. ID of the KNX equipment and the MAC Address of the KNX equipment.
As an alternative embodiment, in third aspect present invention, the KNX equipment also includes:
The passage that the communication unit is additionally operable to the passage according to where the target function objects on the KNX device channels is compiled Number, the function type of the target function objects and described No. ID, after the group address for generating the target function objects, connect The control information of the host computer multicast is received, the control information is with carrying the group of control instruction and the target function objects Location;
Control unit, for determining the target function objects according to the group address of the target function objects, to described Target function objects perform the control instruction.
As an alternative embodiment, in third aspect present invention, the KNX equipment also includes:
Packaged unit, for according to where the target function objects on the KNX device channels channel number of passage, After the function type of the target function objects and described No. ID, the group address for generating the target function objects, according to The group address of the target function objects, data to be sent is obtained from the target function objects, by the number to be sent Packet is obtained according to the group address packing with the target function objects;
The communication unit is additionally operable to the packet that packaged unit packing is obtained being sent to the host computer.
Fourth aspect present invention discloses a kind of KNX equipment, it may include:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs disclosed in first aspect The collocation method of KNX group address.
Fifth aspect present invention discloses a kind of computer-readable recording medium, and it is stored based on electronic data interchange Calculation machine program, wherein, the computer program causes computer to perform the collocation method of KNX group address disclosed in first aspect.
Sixth aspect present invention discloses a kind of host computer, and several KNX equipment are connected to described upper by KNX buses Machine, any one described KNX equipment includes being provided with several functional objects on some passages, each passage, described Host computer includes:
Communication unit, for distributing identity ID to the KNX equipment, to cause the KNX equipment according to itself Channel number, the function type of the target function objects and the ID of passage where target function objects on passage Number, generate group address and the preservation of the target function objects, using the group address as the target function objects body Part mark, wherein, the group address includes No. ID of the KNX equipment, the passage volume of target function objects place passage Number and the target function objects function type.
As an alternative embodiment, in sixth aspect present invention, the communication unit is additionally operable to described Before the distribution identity ID of KNX equipment, MAC address broadcast search is carried out by KNX buses, to search The KNX equipment, and set up communication connection with the KNX equipment;And, receive the MAC message that the KNX equipment is sent, institute State MAC message and carry the MAC Address of the KNX equipment, the total quantity of passage included by the KNX equipment, the KNX and set The channel number and its function of passage where each functional object in standby device type, each passage of the KNX equipment Type.
As an alternative embodiment, in sixth aspect present invention, the communication unit is used to set to the KNX Back-up is specially with the mode of identity ID:
The communication unit is used for the KNX equipment send configuration information, and the configuration information, which is carried, distributes to institute State No. ID of KNX equipment and the MAC Address of the KNX equipment.
As an alternative embodiment, in sixth aspect present invention, the host computer also includes:
Generation unit, for being distributed to the KNX equipment after identity ID, obtains the target function objects Control instruction, and according to distributing to No. ID of the KNX equipment, where the target function objects that carry of the MAC message The channel number and its function type of passage, generate the group address of the target function objects;
The generation unit is additionally operable to be generated according to the group address of the control instruction and the target function objects and controlled Information;
The communication unit is additionally operable to by control information described in KNX bus multicasts, so that the KNX equipment is it is determined that institute When the group address for stating control information carrying is the group address of the target function objects on own channels, the control letter is received Cease and the control instruction is performed to the target function objects.
As an alternative embodiment, in sixth aspect present invention, the communication unit is additionally operable to described After the distribution identity ID of KNX equipment, the packet that the KNX equipment is sent is received, the packet carries the mesh Mark the group address of functional object data to be sent and the target function objects.
Seventh aspect present invention discloses a kind of KNX equipment, it may include:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs disclosed in second aspect The collocation method of KNX group address.
Eighth aspect present invention discloses a kind of computer-readable recording medium, and it is stored based on electronic data interchange Calculation machine program, wherein, the computer program causes computer to perform the collocation method of KNX group address disclosed in second aspect.
Ninth aspect present invention discloses a kind of configuration system of KNX group address, including:
Host computer and several KNX equipment that the host computer is connected to by KNX buses, any one described KNX are set It is standby to include being provided with several functional objects on some passages, each passage, wherein, the host computer can be the Six aspects or the disclosed host computer of the 7th aspect, the KNX equipment can be KNX disclosed in the third aspect or fourth aspect Equipment.
Compared with prior art, the embodiment of the present invention has the advantages that:
In embodiments of the present invention, KNX equipment is connected to host computer by KNX buses, and each KNX equipment includes some Several functional objects are provided with bar passage, each passage, distributing one to KNX equipment from host computer identifies its identity No. ID, afterwards, the channel number and the mesh of KNX equipment passage according to where the target function objects on this No. ID, its passage Mark functional object function type, generate the group address of the target function objects, the group address as target function objects body Part mark.As can be seen that in embodiments of the present invention, KNX equipment is only it is to be understood that host computer distributes to itself No. ID, with regard to that can obtain The group address of the functional object on its passage is obtained, traditional KNX has been abandoned and the mode for obtaining group address is technically programmed based on ETS, Simplify the configuration and management of group address, the maintenance and management for being conducive to KNX systems follow-up is realized seamless between KNX systems Link, promotes the development and popularization of KNX systems, and cost is than relatively low.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the structural representation of KNX systems disclosed in the embodiment of the present invention;
Fig. 2 is the signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;
Fig. 3 is the schematic diagram of group address form disclosed in the embodiment of the present invention;
Fig. 4 is another signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;
Fig. 5 is another signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;
Fig. 6 is another signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of KNX equipment disclosed in the embodiment of the present invention;
Fig. 8 is another structural representation of KNX equipment disclosed in the embodiment of the present invention;
Fig. 9 is another structural representation of KNX equipment disclosed in the embodiment of the present invention;
Figure 10 is another structural representation of KNX equipment disclosed in the embodiment of the present invention;
Figure 11 is the structural representation of host computer disclosed in the embodiment of the present invention;
Figure 12 is another structural representation of host computer provided in an embodiment of the present invention;
Figure 13 is another structural representation of host computer disclosed in the embodiment of the present invention;
Figure 14 is the structural representation of the configuration system of KNX group address disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
It should be noted that the term " comprising " and " having " of the embodiment of the present invention and their any deformation, it is intended that Be to cover it is non-exclusive include, for example, containing process, method, system, product or the equipment of series of steps or unit not Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for these processes, side The intrinsic other steps of method, product or equipment or unit.
The embodiment of the invention discloses a kind of collocation method of KNX group address, group address during for simplifying KNX system deployments Configuration and management, promote KNX systems popularization, realize the seamless link between KNX systems.The embodiment of the present invention is also correspondingly Disclose a kind of configuration system of KNX group address, a kind of KNX equipment and a kind of host computer.
Before technical solution of the present invention is discussed in detail, first simply introduce involved by the implementation embodiment of the present invention KNX systems.Referring to Fig. 1, Fig. 1 is the structural representation of KNX systems disclosed in the embodiment of the present invention;In Fig. 1, the KNX systems System includes according to actual physics region division into multiple regions (in Fig. 1 with three regions can only making below host computer, host computer For example), each region is also regarded as on a branch line, each branch line and connects several KNX by a KNX bus Equipment (illustrates) only by taking 2 KNX equipment as an example, and the KNX equipment warp in gateway, KNX buses is additionally provided with each branch line Gateway is connected to host computer.Each KNX equipment is divided from function type can include some passages (Fig. 1 is not shown), Several functional objects are provided with each passage (Fig. 1 is not shown).Wherein, KNX equipment root provided in an embodiment of the present invention Divided according to device type, switch actuator, curtain actuator, light modulation executor, sensor, controller, input/defeated can be included Go out (input/output, abbreviation I/O) equipment etc., and functional object shows as storage region, size is between 1 to 14 bytes Between, functional object neglect its function greatly depending on, for example, switch actuator perform switching manipulation need two states (0 or 1), therefore 1 functional object can be used, One function object correspondence one is used for the group address for sending data, skill of the present invention Art scheme be used for realize how the group address of configuration feature object.
Below in conjunction with specific embodiment, technical solution of the present invention is described in detail.
Embodiment one
On the basis of the KNX systems shown in Fig. 1, referring to Fig. 2, Fig. 2 is KNX group address disclosed in the embodiment of the present invention Collocation method signaling diagram;As shown in Fig. 2 a kind of collocation method of KNX group address may include:
201st, host computer distributes No. ID to KNX equipment.
Wherein, host computer provided in an embodiment of the present invention refers to directly send the terminal of manipulation order, such as computer Deng in the KNX systems as shown in Fig. 1, KNX equipment is connected to KNX buses, and host computer is connected to through gateway.Disposing this After KNX systems, No. ID is distributed from each the KNX equipment of host computer into KNX systems, with each KNX equipment of Division identification. Typically, can be to the KNX equipment in each KNX bus of KNX systems because KNX equipment includes plurality of devices type Carry out No. ID distribution so that No. ID of KNX equipment in each KNX bus is unique.Due to KNX buses in KNX systems Wiring has been completed, and host computer can distribute No. ID directly to KNX equipment, it is not necessary to go programming by KNX technologies, it is not required that specially Industry KNX technical staff goes distribution.
Alternatively, host computer can be divided when distributing ID to KNX equipment previously according to the device type of KNX equipment Go out the corresponding ID number sections of each device type, such as the ID number sections of switch actuator are between 0-30, the ID number sections of sensor Between 31-60 etc., unallocated No. ID gone out is distributed to phase by host computer from ID number sections successively according to each ID number section Answer the KNX equipment of device type.
202nd, No. ID of KNX equipment reception host computer distribution.
203rd, channel number, the objective function pair of KNX equipment passage according to where the target function objects on own channels The function type of elephant and No. ID, generate the group address of target function objects, regard the group address as target function objects Identity, wherein, No. ID of the group address including KNX equipment, the channel number of passage where target function objects and mesh Mark the function type of functional object.
It should be noted that KNX equipment is being received after host computer distributes to oneself No. ID, it is necessary to its respective channel On all functional objects generate corresponding group address.Target function objects provided in an embodiment of the present invention refer to KNX equipment pair Any one functional object that should be on all passages.
The embodiments of the invention provide a kind of group address form, the group address form includes three partial contents:Functional object No. ID of the channel number of place passage, the function type of functional object and KNX equipment.Specifically referring to Fig. 3, shown in Fig. 3 In group address form, the first (the 1st bit) is " 0 ", and the channel number of functional object place passage is represented with M, work(is represented with m Can object function type, represent with S No. ID of KNX equipment.In certain embodiments, M span can be 0-15, most 16 passages can be represented more, and m span can be 0-7, can at most represent 8 kinds of function types, and S span is 0-255, can at most represent 256 KNX equipment.Each KNX equipment can have one uniquely No. ID in each bus, Therefore, 256 KNX equipment can be at most set in each bus.
In embodiments of the present invention, channel number, the objective function pair of KNX equipment passage according to where target function objects The function type of elephant and No. ID of KNX equipment, the group address form based on above-mentioned offer, with generating the group of target function objects Location.
As an alternative embodiment, KNX equipment passage according to where the target function objects on own channels After channel number, the function type of target function objects and No. ID, the group address for generating target function objects, one will be generated Address table is opened, and the group address of all functional objects is saved in address table.Refer to such as table 1 below, table 1 is some KNX The address table of equipment storage, in the address table, KNX equipment includes being provided with multiple functions on multiple passages, each passage Object, further group address is numbered in address table, such as, the correspondence group address 1/1/1 of address number 1, address number 2 Correspondence group address 1/1/2, the correspondence group address 1/1/3 of address number 3, the correspondence group address 1/1/4 of address number 4,5 pairs of address number Answer group address 1/1/5 etc..
Table 1
Address number Group address
1 1/1/1
2 1/1/2
3 1/1/3
4 1/1/4
5 1/1/5
--- ---
Further, the functional object on each passage is numbered in KNX equipment, One function object correspond to One object number, KNX equipment further sets up an association list, for the group address and object number of correlation function object, It can represent such as table 2:
Table 2
Address number Object number
1 2
2 3
3 0
4 1
5 4
--- ---
Further, because each functional object shows as storage region, its size, between 14 bytes, is entered between 1 And further can associate object number with the data type of functional object, an Object table is set up, can be such as the institute of table 3 Show:
Table 3
Object number Data type
1 1octet
2 2octets
3 2octets
4 1octet
5 4octets
--- ---
Wherein, 1octet=8bit.
Based on above-mentioned table 1 to table 3, KNX can then complete the control to functional object, specifically will be in subsequent embodiment in detail Describe in detail bright, will not be repeated here.
In embodiments of the present invention, KNX equipment is connected to host computer by KNX buses, and each KNX equipment includes some Several functional objects are provided with bar passage, each passage, distributing one to KNX equipment from host computer identifies its identity No. ID, afterwards, the channel number and the mesh of KNX equipment passage according to where the target function objects on this No. ID, its passage Mark functional object function type, generate the group address of the target function objects, the group address as target function objects body Part mark.As can be seen that in embodiments of the present invention, KNX equipment is only it is to be understood that host computer distributes to itself No. ID, with regard to that can obtain The group address of the functional object on its passage is obtained, traditional KNX has been abandoned and the mode for obtaining group address is technically programmed based on ETS, Simplify the configuration and management of group address, the maintenance and management for being conducive to KNX systems follow-up is realized seamless between KNX systems Link, promotes the development and popularization of KNX systems, and cost is than relatively low.
Embodiment two
Referring to Fig. 4, Fig. 4 is another signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;As schemed Shown in 4, a kind of collocation method of KNX group address may include:
401st, host computer carries out MAC Address broadcast search by KNX buses, to search KNX equipment.
It should be noted that KNX equipment provided in an embodiment of the present invention has oneself unique MAC Address, the present invention is real The host computer for applying the KNX systems of example offer supports MAC Address broadcast search function, after the completion of KNX system deployments, and host computer leads to MAC Address broadcast search is crossed, to search for MAC Address, so as to search the KNX equipment in KNX systems.
402nd, host computer and KNX equipment, which are set up, communicates to connect.
Host computer is set up with KNX equipment based on the MAC Address searched and communicated to connect, and can be set based on MAC Address and KNX Standby communication.
403rd, KNX equipment sends MAC message to host computer, and the MAC message carries the MAC Address of KNX equipment, KNX and set The channel number and its function type of passage where each functional object in standby device type, each passage of KNX equipment.
404th, host computer receives the MAC message that KNX equipment is sent.
405th, host computer distributes No. ID to KNX equipment.
Wherein, in step 403, after host computer and KNX equipment are based on MAC Address foundation communication connection, KNX equipment MAC message can be sent to host computer to distribute No. ID to host computer request.Except carrying the MAC of KNX equipment in MAC message Outside address, passage where also carrying the device type of KNX equipment, each functional object on KNX equipment each passage Channel number and its function type.And in step 405, the device type of KNX equipment of the host computer in MAC message is The KNX equipment distributes one No. ID.
In another embodiment, host computer passes through the KNX equipment in MAC Address broadcast search KNX systems, Ran Hougen According to the MAC Address of each KNX equipment, determine the device type of the KNX equipment (from the KNX facility information tables stored Search corresponding device type of the MAC Address etc.), so as to be the KNX equipment according to the device type of determination in step 405 Distribution one No. ID.
Meanwhile, each functional object institute that host computer will be also preserved on KNX equipment each passage that MAC message is carried In the channel number and its function type of passage, if desired the group address form for the functional object that is also stored with host computer is controlled When making some functional object, content of the host computer in group address form, and the MAC message of preservation generates some work( The group address of energy object, and KNX equipment is given with control instruction together multicast, KNX equipment passes through above three table according to group address Finally the data of control instruction are updated into functional object, the control instruction is realized.
406th, No. ID of KNX equipment reception host computer distribution.
As an alternative embodiment, host computer can be by KNX equipment send configuration information, by No. ID carrying KNX equipment is sent in configuration information, wherein, the configuration information is also to be sent with MAC type of messages, is removed in configuration information No. ID of KNX equipment is carried, the MAC Address of KNX equipment is also carried, KNX is distributed to according to MAC Address exactly by No. ID Equipment.
And then, KNX equipment receives the configuration information that host computer is sent, and No. ID is extracted from configuration information.
407th, channel number, the objective function pair of KNX equipment passage according to where the target function objects on own channels The function type of elephant and No. ID, generate the group address of target function objects, using group address as target function objects body Part mark.
In embodiments of the present invention, host computer is after the completion of KNX system deployments, by broadcast search MAC Address, so as to look into KNX equipment is looked for, is set up and communicated to connect based on MAC Address and KNX equipment.After host computer and KNX equipment set up communication connection, The device type of oneself can be sent to host computer by KNX equipment by MAC message, so that host computer setting according to KNX equipment Standby type is that KNX equipment distributes No. ID, and KNX equipment is according to the target in No. ID, channel number and the channel number respective channel The function type of functional object generates the group address of target function objects, the identity of target function objects is obtained, with rear Face as control targe functional object foundation.
Embodiment three
Referring to Fig. 5, Fig. 5 is another signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;As schemed Shown in 5, a kind of collocation method of KNX group address may include:
501st, host computer distributes No. ID to KNX equipment.
502nd, No. ID of KNX equipment reception host computer distribution.
503rd, channel number, the objective function pair of KNX equipment passage according to where the target function objects on own channels The function type of elephant and No. ID, generate the group address of target function objects.
504th, host computer is obtained to the control instructions of target function objects, according to distributing to No. ID of KNX equipment, and should The function type of the channel number of passage and the target function objects, obtains the target function objects where target function objects Group address, control information is obtained by the group address packing of the control instruction and the target function objects.
505th, host computer multicase control information.
Specifically, host computer multicase control information in KNX buses, specifically, host computer multicast in KNX systems are controlled Gateway on information, every straight line carries out filtering detection to control information, and gateway reads group address from control information, works as inspection When measuring the group address that the group address is not belonging in KNX buses where it, the control information will be abandoned, when detecting the group address When belonging to the group address in its place KNX bus, it is allowed to which control information passes through, and the multicase control information in KNX buses.
506th, KNX equipment receives the control information of host computer multicast.
Specifically, control information is in KNX buses during multicast, group of the KNX equipment in control information in KNX buses Address, if group address is the group address corresponding to own channels, receives control information, if group address is not own channels Corresponding group address, then abandon control information.
507th, KNX equipment determines target function objects according to the group address of target function objects, and target function objects are held The row control instruction.
KNX equipment extracts group address from control information, control information is searched from address table after control information is received The corresponding address number of middle group address, the object number of address number association is searched according to address number, most from association list The content of the functional object of object number association is searched from Object table afterwards, the content of functional object is updated, control instruction is performed.
Host computer is by multicase control information in the embodiment of the present invention, and KNX equipment updates objective function according to control information Contents of object, so as to perform the control instruction in control information.
Example IV
Referring to Fig. 6, Fig. 6 is another signaling diagram of the collocation method of KNX group address disclosed in the embodiment of the present invention;As schemed Shown in 6, a kind of collocation method of KNX group address may include:
601st, host computer distributes No. ID to KNX equipment.
602nd, No. ID of KNX equipment reception host computer distribution.
603rd, channel number, the objective function pair of KNX equipment passage according to where the target function objects on own channels The function type of elephant and No. ID, generate the group address of target function objects.
604th, KNX equipment obtains data to be sent from target function objects according to the group address of target function objects, will The group address packing of data and target function objects to be sent obtains packet.
605th, KNX equipment delivers a packet to the host computer.
In embodiments of the present invention, when KNX equipment needs to send the data to host computer, KNX equipment can search pending The functional object of data is sent, corresponding address number is then found inside association list according to object number, compiled further according to address Number corresponding group address is found from address table, group address and data to be sent packing are finally obtained into packet, will through KNX buses Packet is sent to host computer.
Embodiment five
Referring to Fig. 7, Fig. 7 is the structural representation of KNX equipment disclosed in the embodiment of the present invention;As shown in fig. 7, a kind of KNX equipment, the KNX equipment is connected to host computer by KNX buses, and the KNX equipment is included on some passages, each passage Several functional objects are provided with, the KNX equipment includes:
Communication unit 710, the identity ID for receiving host computer distribution;
Generation unit 720, for the channel number of passage, mesh according to where the target function objects on KNX device channels Mark functional object function type and No. ID, generate target function objects group address and preservation, regard group address as mesh Mark the identity of functional object, wherein, No. ID of the group address including KNX equipment, passage where target function objects it is logical The function type of road numbering and target function objects.
In embodiments of the present invention, communication unit 710 receive host computer distribution No. ID, generation unit 720 it is to be understood that No. ID of host computer distribution, the group address with regard to that can obtain the functional object on passage simplifies the configuration and management of group address, had Beneficial to the follow-up maintenance and management of KNX systems, the seamless link between KNX systems is realized, promote the development of KNX systems and general And, and cost is than relatively low.
It is pointed out that the KNX equipment shown in Fig. 7 can be used for performing the method shown in step 201~step 203.
As an alternative embodiment, the communication unit 710 is additionally operable to carry out media by KNX buses in host computer Access control MAC addresses search for search KNX equipment and set up after communication connection with KNX equipment, and receive host computer distribution Identity ID before, send MAC message to host computer, MAC message carries the MAC Address of KNX equipment, KNX equipment On each passage of total quantity, the device type of KNX equipment, KNX equipment of included passage where each functional object The channel number and its function type of passage.
As an alternative embodiment, the communication unit 710 is used for the identity ID for receiving host computer distribution Mode be specially:
The communication unit 710 is used for the configuration information for receiving host computer transmission, and configuration information, which is carried, distributes to KNX equipment No. ID and KNX equipment MAC Address.
Embodiment six
Referring to Fig. 8, Fig. 8 is another structural representation of KNX equipment disclosed in the embodiment of the present invention;KNX shown in Fig. 8 Equipment is to optimize what is obtained on the basis of the KNX equipment shown in Fig. 7, in the KNX equipment shown in Fig. 8, the KNX equipment Also include:
Communication unit 710 is additionally operable to the channel number of passage, mesh according to where the target function objects on KNX device channels Mark functional object function type and No. ID, generate target function objects group address after, receive host computer multicast control Information processed, control information carries the group address of control instruction and target function objects;
Control unit 810, determines target function objects, to objective function pair for the group address according to target function objects As performing control instruction.
It is pointed out that the KNX equipment shown in Fig. 8 can be used for performing the method shown in step 501~step 507.
Embodiment seven
Referring to Fig. 9, Fig. 9 is another structural representation of KNX equipment disclosed in the embodiment of the present invention;KNX shown in Fig. 9 Equipment is to optimize what is obtained on the basis of the KNX equipment shown in Fig. 7, in the KNX equipment shown in Fig. 9, the KNX equipment Also include:
Packaged unit 910, for according to where the target function objects on KNX device channels the channel number of passage, After the function type of target function objects and No. ID, the group address for generating target function objects, according to target function objects Group address, data to be sent are obtained from target function objects, by the group address of data and target function objects to be sent Packing obtains packet;
Above-mentioned communication unit 710 is additionally operable to the packet that packaged unit packing is obtained being sent to host computer.
It is pointed out that the KNX equipment shown in Fig. 9 can be used for performing the method shown in step 601~step 605.
Embodiment eight
Referring to Fig. 10, Figure 10 is another structural representation of KNX equipment disclosed in the embodiment of the present invention;In Fig. 10, The KNX equipment can include:At least one processor 1010, such as microcontroller (Micro Control Unit, referred to as MCU), memory 1020, indicate a communication bus 1030.Wherein, communication bus 1030 is used to realize between these components Communication connection.Memory 1020 can be that MCU itself a kind of non-volatile (Non-Volatile) internal memory or electricity can EPROM, for example, at least one EEPROM.It is remote that memory 1020 optionally can also be that at least one is located at From the storage device of aforementioned processor 1010.Wherein, the KNX equipment that processor can be with reference to described by Fig. 7 to Fig. 9, memory Batch processing code is stored in 1020, and processor 1010 calls the program code stored in memory 1020, for perform with Lower operation:
Receive the identity ID of the host computer distribution;
Channel number, the function of the target function objects of passage according to where the target function objects on own channels Type and described No. ID, the group address of the generation target function objects and preservation, regard the group address as the mesh The identity of functional object is marked, wherein, the group address includes No. ID, target function objects institute of the KNX equipment In the channel number and the function type of the target function objects of passage.
Alternatively, aforesaid operations also include:
Host computer by KNX buses carry out MAC address search with search the KNX equipment and with institute State KNX equipment to set up after communication connection, MAC message is sent to the host computer, the MAC message carries the KNX equipment MAC Address, the device type of the KNX equipment, passage where each functional object on each passage of the KNX equipment Channel number and its function type.
Alternatively, aforesaid operations also include:
The configuration information that the host computer is sent is received, the configuration information carries the ID for distributing to the KNX equipment Number and the KNX equipment MAC Address.
Alternatively, aforesaid operations also include:
In the channel number of passage, the target function objects according to where the target function objects on KNX device channels Function type and described No. ID, after the group address for generating the target function objects, receive the host computer multicast Control information, the control information carries the group address of control instruction and the target function objects;
The target function objects are determined according to the group address of the target function objects, the target function objects are held The row control instruction.
Alternatively, aforesaid operations also include:
According to the channel number of passage where target function objects on KNX device channels, the target function objects After function type and described No. ID, the group address for generating the target function objects, according to the target function objects Group address, data to be sent is obtained from the target function objects, by the data to be sent and the objective function pair The group address packing of elephant obtains packet and is sent to the host computer.
In embodiments of the present invention, only it is to be understood that host computer distribution No. ID, with regard to the function on KNX device channels can be obtained The group address of object, simplifies the configuration and management of group address, and the maintenance and management for being conducive to KNX systems follow-up realizes KNX systems Seamless link between system, promotes the development and popularization of KNX systems, and cost is than relatively low.
Embodiment nine
Figure 11 is referred to, Figure 11 is the structural representation of host computer disclosed in the embodiment of the present invention;As shown in figure 11 is upper In the machine of position, several KNX equipment are connected to host computer by KNX buses, and any one KNX equipment includes some passages, each Several functional objects are provided with bar passage, the host computer includes:
Communication unit 1110, for distributing identity ID to KNX equipment, to cause KNX equipment according to own channels On target function objects where the channel number of passage, the function type of target function objects and No. ID, generate target work( Can object group address and preservation, using group address as target function objects identity, wherein, group address include KNX No. ID of equipment, the channel number of passage where target function objects and the function type of target function objects.
Host computer shown in Figure 11 can be used for performing the method shown in step 201~step 203.
As an alternative embodiment, above-mentioned communication unit 1110 is additionally operable to distributing identity to KNX equipment Before No. ID, MAC address search is carried out by KNX buses, to search KNX equipment, and set up with KNX equipment Communication connection;And, the MAC message that KNX equipment is sent is received, MAC message carries the MAC Address of KNX equipment, KNX equipment On each passage of total quantity, the device type of KNX equipment, KNX equipment of included passage where each functional object The channel number and its function type of passage.
The host computer of the embodiment can be used for performing the method shown in step 401~step 407.
As an alternative embodiment, above-mentioned communication unit 1110 is used to distribute identity ID to KNX equipment Mode be specially:
Above-mentioned communication unit 1110 is used for KNX equipment send configuration information, and the configuration information, which is carried, to be distributed to KNX and set No. ID standby and the MAC Address of KNX equipment.
Embodiment ten
Figure 12 is referred to, Figure 12 is another structural representation of host computer provided in an embodiment of the present invention;Shown in Figure 12 Host computer is to optimize what is obtained on the basis of the host computer shown in Figure 11, and the host computer shown in Figure 11 also includes:
Generation unit 1210, for being distributed to KNX equipment after identity ID, obtains the control of target function objects Instruction, and according to distribute to No. ID of KNX equipment, the channel number of passage where the target function objects that carry of MAC message and Its function type, generates the group address of target function objects;
The generation unit 1210 is additionally operable to generate control information according to the group address of control instruction and target function objects;
Above-mentioned communication unit 1110 is additionally operable to by KNX bus multicase control informations, so that KNX equipment is it is determined that control letter When the group address that breath is carried is the group address of the target function objects on own channels, control information is received and to objective function pair As performing control instruction.
The host computer of the embodiment can be used for performing the method shown in step 501~step 507.
As an alternative embodiment, above-mentioned communication unit 1110 is additionally operable to distributing identity to KNX equipment After No. ID, the packet that KNX equipment is sent is received, packet carries target function objects data and objective function to be sent The group address of object.
The host computer of the embodiment can be used for performing the method shown in step 601~step 605.
Embodiment 11
Figure 13 is referred to, Figure 13 is another structural representation of host computer disclosed in the embodiment of the present invention;In fig. 13, should Host computer can include:At least one processor 1310, such as central processing unit (Central Processing Unit, referred to as CPU), memory 1320, indicate a communication bus 1330.Wherein, communication bus 1330 is used to realize between these components Communication connection.Memory 1320 can be high-speed RAM memory or non-labile memory (non-volatile Memory), for example, at least one magnetic disk storage.Memory 1320 optionally can also be that at least one is located remotely from foregoing place Manage the storage device of device 1310.Wherein, deposited in the host computer that processor can be with reference to described by Figure 11 to Figure 12, memory 1320 Batch processing code is stored up, and processor 1310 calls the program code stored in memory 1320, for performing following operation:
Identity ID is distributed to the KNX equipment, to cause the KNX equipment according to the target work(on own channels Can the channel number of passage, the function type of the target function objects and described No. ID, the generation target where object The group address of functional object and preservation, using the group address as the target function objects identity, wherein, it is described No. ID of group address including the KNX equipment, the channel number of passage where the target function objects and the target work( The function type of energy object.
Alternatively, aforesaid operations also include:
Before identity ID is distributed to the KNX equipment, by KNX buses with carrying out media access control MAC Location is searched for, and is communicated to connect with searching the KNX equipment, and being set up with the KNX equipment;
The MAC message that the KNX equipment is sent is received, the MAC message carries the MAC Address of the KNX equipment, institute State the device type of KNX equipment, on each passage of the KNX equipment channel number of passage where each functional object and Its function type.
Alternatively, aforesaid operations also include:
To the KNX equipment send configuration information, the configuration information carry distribute to No. ID of the KNX equipment and The MAC Address of the KNX equipment.
Alternatively, aforesaid operations also include:
To after KNX equipment distribution identity ID, the control instruction of the target function objects, and root are obtained According to distributing to No. ID of the KNX equipment, the channel number of passage where the target function objects that carry of the MAC message And its function type, generate the group address of the target function objects;
Control information is generated according to the group address of the control instruction and the target function objects;
By control information described in KNX bus multicasts, so that the KNX equipment is it is determined that the group that the control information is carried When address is the group address of the target function objects on own channels, the control information is received and to the objective function Object performs the control instruction.
Alternatively, aforesaid operations also include:
To after KNX equipment distribution identity ID, the packet that the KNX equipment is sent, the number are received The group address of target function objects data to be sent and the target function objects is carried according to bag.
In embodiments of the present invention, only it is to be understood that host computer distribution No. ID, with regard to the function on KNX device channels can be obtained The group address of object, simplifies the configuration and management of group address, and the maintenance and management for being conducive to KNX systems follow-up realizes KNX systems Seamless link between system, promotes the development and popularization of KNX systems, and cost is than relatively low.
Embodiment 12
Figure 14 is referred to, Figure 14 is the structural representation of the configuration system of KNX group address disclosed in the embodiment of the present invention;Such as Shown in Figure 14, the configuration system of the KNX group address may include:
Host computer shown in accompanying drawing 11 to accompanying drawing 13 and several KNX for being connected to the host computer by KNX buses are set Standby, any one KNX equipment includes being provided with several functional objects on some passages, each passage, and the KNX equipment is for example attached KNX equipment shown in Fig. 7 to any one of accompanying drawing 10.
By said system, KNX equipment is only it is to be understood that host computer distributes to itself No. ID, with regard to that can obtain on its passage The group address of functional object, has been abandoned traditional KNX and the mode for obtaining group address is technically programmed based on ETS, simplified group address Configuration and management, the maintenance and management for being conducive to KNX systems follow-up realizes the seamless link between KNX systems, promotes KNX The development and popularization of system, and cost is than relatively low.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
A kind of collocation method, system and the equipment of KNX group address disclosed in the embodiment of the present invention have been carried out in detail above Introduce, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example It is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for those of ordinary skill in the art, according to this The thought of invention, be will change in specific embodiments and applications, in summary, and this specification content should not It is interpreted as limitation of the present invention.

Claims (25)

1. a kind of collocation method of KNX group address, it is characterised in that applied to KNX equipment, the KNX equipment passes through KNX buses Host computer is connected to, the KNX equipment includes being provided with several functional objects on some passages, each passage, Methods described includes:
The KNX equipment receives the identity ID of the host computer distribution;
Channel number, the objective function pair of KNX equipment passage according to where the target function objects on own channels The function type of elephant and described No. ID, the group address of the generation target function objects and preservation, the group address is made For the identity of the target function objects, wherein, the group address includes No. ID, the target work(of the KNX equipment The channel number and the function type of the target function objects of passage where energy object.
2. collocation method according to claim 1, it is characterised in that the KNX equipment receives the host computer distribution Before identity ID, methods described also includes:
MAC address broadcast search is carried out to search the KNX equipment simultaneously by KNX buses in the host computer Set up with the KNX equipment after communication connection, the KNX equipment sends MAC message to the host computer, the MAC message is taken MAC Address with the KNX equipment, the device type of the KNX equipment, on each passage of the KNX equipment each The channel number and its function type of passage where functional object.
3. collocation method according to claim 1 or 2, it is characterised in that the KNX equipment receives the host computer distribution Identity ID, including:
The KNX equipment receives the configuration information that the host computer is sent, and the configuration information, which is carried, to be distributed to the KNX and set No. ID standby and the MAC Address of the KNX equipment.
4. collocation method according to claim 2, it is characterised in that the KNX equipment is according to the target on own channels The channel number of passage, the function type of the target function objects and described No. ID, the generation mesh where functional object After the group address for marking functional object, methods described also includes:
The KNX equipment receives the control information of the host computer multicast, and the control information carries control instruction and described The group address of target function objects;
The KNX equipment determines the target function objects according to the group address of the target function objects, to the target work( Can the object execution control instruction.
5. collocation method according to claim 1, it is characterised in that the KNX equipment is according to the target on own channels The channel number of passage, the function type of the target function objects and described No. ID, the generation mesh where functional object After the group address for marking functional object, methods described also includes:
The KNX equipment obtains number to be sent from the target function objects according to the group address of the target function objects According to the packing of the group address of the data to be sent and the target function objects is obtained into packet and is sent to described upper Machine.
6. a kind of collocation method of KNX group address, it is characterised in that applied to host computer, several KNX equipment are total by KNX Line is connected to the host computer, and any one described KNX equipment includes being provided with some passages, each passage some Individual functional object, methods described includes:
The host computer distributes identity ID to the KNX equipment, to cause the KNX equipment according on own channels The channel number of passage, the function type of the target function objects and described No. ID, generation institute where target function objects State group address and the preservation of target function objects, using the group address as the target function objects identity, its In, No. ID of the group address including the KNX equipment, the channel number of passage where the target function objects and described The function type of target function objects.
7. collocation method according to claim 6, it is characterised in that the host computer distributes identity to the KNX equipment Before mark ID, methods described also includes:
The host computer carries out MAC address broadcast search by KNX buses, to search the KNX equipment, and Set up and communicate to connect with the KNX equipment;
The host computer receives the MAC message that the KNX equipment is sent, and the MAC message carries the MAC of the KNX equipment Address, the device type of the KNX equipment, passage where each functional object is logical on each passage of the KNX equipment Number and its function type in road.
8. the collocation method according to claim 6 or 7, it is characterised in that the host computer distributes body to the KNX equipment Part mark ID, including:
The host computer is to the KNX equipment send configuration information, and the configuration information, which is carried, distributes to the KNX equipment No. ID and the MAC Address of the KNX equipment.
9. collocation method according to claim 7, it is characterised in that the host computer distributes identity to the KNX equipment After mark ID, methods described also includes:
The host computer obtains the control instruction of the target function objects, and according to No. ID, institute for distributing to the KNX equipment The channel number and its function type of passage where stating the target function objects of MAC message carrying, generate the target work( The group address of energy object;
The host computer generates control information according to the group address of the control instruction and the target function objects;
The host computer is by control information described in KNX bus multicasts, so that the KNX equipment is it is determined that the control information is taken When the group address of band is the group address of the target function objects on own channels, the control information is received and to the mesh Mark functional object and perform the control instruction.
10. collocation method according to claim 6, it is characterised in that the host computer distributes identity to the KNX equipment After mark ID, methods described also includes:
The host computer receives the packet that the KNX equipment is sent, and it is pending that the packet carries the target function objects The data and the group address of the target function objects sent.
11. a kind of KNX equipment, it is characterised in that the KNX equipment is connected to host computer, the KNX equipment by KNX buses Including some passages, several functional objects are provided with each passage, the KNX equipment includes:
Communication unit, the identity ID for receiving the host computer distribution;
Generation unit, for the channel number of passage, the mesh according to where the target function objects on the KNX device channels The function type of functional object and described No. ID, the group address of the generation target function objects and preservation are marked, will be described Group address as the target function objects identity, wherein, the group address includes No. ID, institute of the KNX equipment The channel number and the function type of the target function objects of passage where stating target function objects.
12. KNX equipment according to claim 11, it is characterised in that
The communication unit is additionally operable to carry out MAC address broadcast search by KNX buses in the host computer To search the KNX equipment and be set up with the KNX equipment after communication connection, and receive the identity mark of the host computer distribution Before knowing No. ID, MAC message is sent to the host computer, the MAC message carries the MAC Address, described of the KNX equipment It is the total quantity of passage included by KNX equipment, the device type of the KNX equipment, each on each passage of the KNX equipment The channel number and its function type of passage where individual functional object.
13. the KNX equipment according to claim 11 or 12, it is characterised in that the communication unit is used to receive described The mode of identity ID of position machine distribution is specially:
The communication unit is used to receiving the configuration information that the host computer is sent, the configuration information carry distribute to it is described No. ID of KNX equipment and the MAC Address of the KNX equipment.
14. KNX equipment according to claim 12, it is characterised in that the KNX equipment also includes:
The communication unit be additionally operable to channel number according to passage where target function objects on the KNX device channels, After the function type of the target function objects and described No. ID, the group address for generating the target function objects, receive The control information of the host computer multicast, the control information is with carrying the group of control instruction and the target function objects Location;
Control unit, for determining the target function objects according to the group address of the target function objects, to the target Functional object performs the control instruction.
15. KNX equipment according to claim 11, it is characterised in that the KNX equipment also includes:
Packaged unit, in the channel number of passage, described according to where the target function objects on the KNX device channels After the function type of target function objects and described No. ID, the group address for generating the target function objects, according to described The group address of target function objects, data to be sent are obtained from the target function objects, by the data to be sent and The group address packing of the target function objects obtains packet;
The communication unit is additionally operable to the packet that packaged unit packing is obtained being sent to the host computer.
16. a kind of KNX equipment, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the collocation method of the KNX group address described in 5 any one.
17. a kind of computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the KNX group address as described in claim 1 to any one of claim 5 Collocation method.
18. a kind of host computer, it is characterised in that several KNX equipment are connected to the host computer by KNX buses, any one The KNX equipment includes being provided with several functional objects, the host computer bag on some passages, each passage Include:
Communication unit, for distributing identity ID to the KNX equipment, to cause the KNX equipment according to own channels On target function objects where the channel number of passage, the function type of the target function objects and described No. ID, it is raw Group address and preservation into the target function objects, using the group address as the target function objects identity mark Know, wherein, No. ID of the group address including the KNX equipment, the channel number of passage where the target function objects with And the function type of the target function objects.
19. host computer according to claim 18, it is characterised in that
The communication unit is additionally operable to before identity ID is distributed to the KNX equipment, and media are carried out by KNX buses Access control MAC addresses broadcast search, is communicated to connect with searching the KNX equipment, and being set up with the KNX equipment;And, connect The MAC message that the KNX equipment is sent is received, the MAC message carries the MAC Address of the KNX equipment, the KNX equipment The total quantity of included passage, the device type of the KNX equipment, each function on each passage of the KNX equipment The channel number and its function type of passage where object.
20. the host computer according to claim 18 or 19, it is characterised in that the communication unit is used to set to the KNX Back-up is specially with the mode of identity ID:
The communication unit is used for the KNX equipment send configuration information, and the configuration information, which is carried, distributes to the KNX No. ID of equipment and the MAC Address of the KNX equipment.
21. host computer according to claim 18, it is characterised in that the host computer also includes:
Generation unit, for being distributed to the KNX equipment after identity ID, obtains the control of the target function objects Instruction, and according to distributing to No. ID of the KNX equipment, passage where the target function objects that carry of the MAC message Channel number and its function type, generate the group address of the target function objects;
The generation unit is additionally operable to generate control information according to the group address of the control instruction and the target function objects;
The communication unit is additionally operable to by control information described in KNX bus multicasts, so that the KNX equipment is it is determined that the control When the group address that information processed is carried is the group address of the target function objects on own channels, the control information is received simultaneously The control instruction is performed to the target function objects.
22. host computer according to claim 18, it is characterised in that
The communication unit is additionally operable to distribute after identity ID to the KNX equipment, receives the KNX equipment and sends Packet, the packet is with carrying the group of target function objects data to be sent and the target function objects Location.
23. a kind of KNX equipment, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 6 to right It is required that the collocation method of the KNX group address described in 10 any one.
24. a kind of computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the KNX group address as described in claim 6 to any one of claim 10 Collocation method.
25. a kind of configuration system of KNX group address, it is characterised in that including:
Host computer and several KNX equipment that the host computer is connected to by KNX buses, any one described KNX equipment bag Include and be provided with several functional objects on some passages, each passage, wherein, the host computer such as claim 18 Host computer described in~22 any one, KNX equipment of the KNX equipment as described in any one of claim 11~15.
CN201710322850.7A 2017-05-09 2017-05-09 A kind of configuration method, system and the equipment of KNX group address Active CN107124481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710322850.7A CN107124481B (en) 2017-05-09 2017-05-09 A kind of configuration method, system and the equipment of KNX group address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710322850.7A CN107124481B (en) 2017-05-09 2017-05-09 A kind of configuration method, system and the equipment of KNX group address

Publications (2)

Publication Number Publication Date
CN107124481A true CN107124481A (en) 2017-09-01
CN107124481B CN107124481B (en) 2019-10-18

Family

ID=59727484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710322850.7A Active CN107124481B (en) 2017-05-09 2017-05-09 A kind of configuration method, system and the equipment of KNX group address

Country Status (1)

Country Link
CN (1) CN107124481B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882268A (en) * 2018-05-08 2018-11-23 京信通信系统(中国)有限公司 A kind of method and apparatus of more new device configuration
CN110868343A (en) * 2019-11-12 2020-03-06 杭州深渡科技有限公司 KNX node automatic discovery method and KNX system
CN114172800A (en) * 2021-11-25 2022-03-11 浙江源创智控技术有限公司 KNX multi-gateway communication method, device, equipment and storage medium
CN117294536A (en) * 2023-11-24 2023-12-26 广州海盈电气技术有限公司 KNX-based building management security communication method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011077012A1 (en) * 2011-06-06 2012-12-06 S. Siedle & Söhne Telefon- und Telegrafenwerke OHG Apparatus and method for scripted data processing of data for a home communication or home automation system
DE102012222473A1 (en) * 2012-12-06 2014-06-12 Siemens Aktiengesellschaft Method for operating transmission bus apparatus over communication bus in receiver bus apparatus of e.g. building automation system, involves arranging parameter in data structure to each other so as to be stored in parameter memory
CN104181818A (en) * 2014-08-27 2014-12-03 湖南湖大华龙电气与信息技术有限公司 Smart home logic control method and system based on KNX bus protocol
CN104460784A (en) * 2013-09-22 2015-03-25 天津职业技术师范大学 Region greenhouse environment control device based on KNX bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011077012A1 (en) * 2011-06-06 2012-12-06 S. Siedle & Söhne Telefon- und Telegrafenwerke OHG Apparatus and method for scripted data processing of data for a home communication or home automation system
DE102012222473A1 (en) * 2012-12-06 2014-06-12 Siemens Aktiengesellschaft Method for operating transmission bus apparatus over communication bus in receiver bus apparatus of e.g. building automation system, involves arranging parameter in data structure to each other so as to be stored in parameter memory
CN104460784A (en) * 2013-09-22 2015-03-25 天津职业技术师范大学 Region greenhouse environment control device based on KNX bus
CN104181818A (en) * 2014-08-27 2014-12-03 湖南湖大华龙电气与信息技术有限公司 Smart home logic control method and system based on KNX bus protocol

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882268A (en) * 2018-05-08 2018-11-23 京信通信系统(中国)有限公司 A kind of method and apparatus of more new device configuration
CN108882268B (en) * 2018-05-08 2021-09-24 京信网络系统股份有限公司 Method and device for updating device configuration
CN110868343A (en) * 2019-11-12 2020-03-06 杭州深渡科技有限公司 KNX node automatic discovery method and KNX system
CN114172800A (en) * 2021-11-25 2022-03-11 浙江源创智控技术有限公司 KNX multi-gateway communication method, device, equipment and storage medium
CN114172800B (en) * 2021-11-25 2024-05-03 浙江源创智控技术有限公司 KNX multi-gateway communication method, KNX multi-gateway communication device, KNX multi-gateway communication equipment and storage medium
CN117294536A (en) * 2023-11-24 2023-12-26 广州海盈电气技术有限公司 KNX-based building management security communication method
CN117294536B (en) * 2023-11-24 2024-01-26 广州海盈电气技术有限公司 KNX-based building management security communication method

Also Published As

Publication number Publication date
CN107124481B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN107124481A (en) A kind of collocation method, system and the equipment of KNX group address
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
CN109728954A (en) Alliance's chain node management system and method
CN104144156B (en) Message processing method and device
CN103797774B (en) A kind of network address translation apparatus and method
CN103795636A (en) Multicast processing method, device and system
CN105577420A (en) Method and system for automatic generation of server network topology
CN106873553A (en) Field apparatus control management method and device based on industry internet operating system
CN102932498A (en) Virtual machine internet protocol (IP) resource management method of cloud computing platform
CN107959620B (en) Fully mechanized mining equipment identification method, device, system, gateway and storage medium
CN101951369A (en) Batch terminal upgrading method and system based on automatic discovery
CN103312836A (en) Large local network internet protocol (IP) address administration method
CN107342925A (en) A kind of message transmitting method and device
CN105376101A (en) Method and system for enabling physical device to be connected into virtual network
CN112235325B (en) Method and system for performing access control on functional module connected with intelligent terminal
CN108881503B (en) Central automatic distribution method for railway signal safety data network IP automatic configuration
CN102694883A (en) Address distribution method and equipment for intelligent household network
CN105807745A (en) Centralized control method and system for heat pump units and heat pump unit centralized control device
CN106612193A (en) Network deployment configuration method and device in virtualization technology
CN107426008A (en) Integrated wireless manages interchanger
CN107708142A (en) A kind of access device AP group technology, equipment and system
CN108092869A (en) Virtual interface collocation method and communication equipment
CN204442403U (en) A kind of LAN IP management devices
CN106452906A (en) Configuration data automatic issuing method and device
CN103281199B (en) Sensing layer equipment based on ID is in the unified recognition methods of Internet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant