CN110868343A - KNX node automatic discovery method and KNX system - Google Patents

KNX node automatic discovery method and KNX system Download PDF

Info

Publication number
CN110868343A
CN110868343A CN201911099399.2A CN201911099399A CN110868343A CN 110868343 A CN110868343 A CN 110868343A CN 201911099399 A CN201911099399 A CN 201911099399A CN 110868343 A CN110868343 A CN 110868343A
Authority
CN
China
Prior art keywords
knx
node
address information
address
message
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
CN201911099399.2A
Other languages
Chinese (zh)
Other versions
CN110868343B (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.)
Hangzhou Deep Ferry Technology Co Ltd
Original Assignee
Hangzhou Deep Ferry 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 Hangzhou Deep Ferry Technology Co Ltd filed Critical Hangzhou Deep Ferry Technology Co Ltd
Priority to CN201911099399.2A priority Critical patent/CN110868343B/en
Publication of CN110868343A publication Critical patent/CN110868343A/en
Application granted granted Critical
Publication of CN110868343B publication Critical patent/CN110868343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2821Avoiding conflicts related to the use of home appliances

Abstract

The invention relates to a KNX node automatic discovery method and a KNX system. Wherein, the method comprises the following steps: the first KNX node is automatically configured or first address information is configured through a dial switch; the first KNX node receives a node searching message broadcasted on the KNX bus, wherein the node searching message carries second address information of a second KNX node; and the first KNX node reports the first address information to the second KNX node according to the second address information. According to the invention, the problem of low line-loading efficiency of the KNX equipment in the KNX system in the related technology is solved, and the line-loading efficiency of the KNX equipment is improved.

Description

KNX node automatic discovery method and KNX system
Technical Field
The invention relates to the field of smart home, in particular to a KNX node automatic discovery method and a KNX system.
Background
KNX is the only open international standard in the field of household and building control, and is developed by combining European three bus protocols EIB, BatiBus and EHS. The KNX standard is currently approved as the European standard (CENELECEN50090& CENEN13321-1), the International Standard (ISO/IEC14543-3), the American Standard (ANSI/ASHRAE135) and the Chinese instructional Standard (GB/Z20965), which have become the national Standard instructional documents for "HBES technical Specification-residential and building controls". The KNX protocol is based on EIB, gives consideration to the physical layer specifications of BatiBus and EHS, absorbs the advantages of configuration modes in BatiBus and EHS and the like, and provides a complete solution for home automation and building automation. KNX possesses a design and test tool (ETS) that can be independently designed and tested by the manufacturer; providing a plurality of communication media (TP, PL, RF and IP); a plurality of system configuration modes (A, E, S modes) are provided. The KNX bus is a system independent of the manufacturer and the field of application. The lighting, shading/shutter, security system, energy management, heating, ventilation, air conditioning system, signal and monitoring system, service interface and building control system, remote control, metering, video/audio control, large-scale household appliances and the like of the home and building are controlled through the KNX bus system. The intelligent home utilizes advanced computer technology, network communication technology and comprehensive wiring technology, integrates individual requirements according to the principle of human engineering, organically combines various subsystems related to home life such as security protection, light control, curtain control, gas valve control, information appliances, scene linkage, floor heating and the like, and realizes 'people-oriented' brand-new home life experience through networked comprehensive intelligent control and management.
The KNX equipment refers to a system module controlled by a KNX bus, such as a KNX light control module, a KNX curtain control module, a KNX air-conditioning gateway and the like. At present, professional KNX debugging engineers are required to use ETS tools to carry out setting debugging one by one on the on-line and setting of KNX equipment. The ETS is special KNX debugging tool software, needs to be purchased from a KNX association, runs in a Windows operating system of a computer, and is used for designing and configuring the KNX intelligent home and building control installation system. If the KNX equipment needs to be modified, a professional KNX debugging engineer is required to go to the site to modify the configuration. This solution is relatively demanding for commissioning personnel and requires the use of ETS tools. In addition, because the modification of KNX equipment in traditional KNX system needs KNX debugging engineer to carry out the on-the-spot configuration of revising, consequently, KNX equipment can only come on-line one by one, and the efficiency of going on-line of KNX equipment is low.
Disclosure of Invention
Based on this, it is necessary to provide a KNX node automatic discovery method and a KNX system for the problem of low line-up efficiency of the KNX devices in the KNX system in the related art.
According to an aspect of the embodiments of the present invention, there is provided a KNX node auto-discovery method, including: the first KNX node is automatically configured or first address information is configured through a dial switch; the first KNX node receives a node searching message broadcasted on the KNX bus, wherein the node searching message carries second address information of a second KNX node; and the first KNX node reports the first address information to the second KNX node according to the second address information.
In one embodiment, before the first KNX node receives the node search message broadcast on the KNX bus, the method further comprises: the second KNX node automatically configures or configures the second address information through a dial switch; and the second KNX node broadcasts the node searching message on the KNX bus, wherein the node searching message carries the second address information.
In one embodiment, after the first KNX node reports the first address information to the second KNX node according to the second address information, the method further includes: the second KNX node receives the first address information; and the second KNX node sends the first address information to an application program so that the application program can generate an icon of the first KNX node on an interface of the application program.
In one embodiment, after the first KNX node reports the first address information to the second KNX node according to the second address information, the method further includes: the second KNX node receives the first address information; the second KNX node judges whether address conflict exists according to the first address information; and under the condition that the address conflict exists, the second KNX node sends an address conflict message to the address indicated by the first address information.
In one embodiment, in a case where it is determined that there is an address conflict, after the second KNX node sends an address conflict message to the address indicated by the first address information, the method further includes: receiving, by a third KNX node, the address collision message, wherein the third KNX node comprises: the address information is configured as a KNX node of the first address information; the third KNX node judges whether the first address information can be reconfigured or not according to the address conflict message; under the condition that the address information can be reconfigured, the third KNX node reconfigures the first address information into third address information and sends the third address information to the second KNX node; and under the condition that the address information cannot be reconfigured, the third KNX node sends the first address information to the second KNX node.
In one embodiment, after the third KNX node sends the first address information and/or the third address information to the second KNX node, the method further comprises: the second KNX node receives the first address information and/or the third address information; the second KNX node judges whether address conflict still exists according to the first address information and/or the third address information; and under the condition that the address conflict still exists, the second KNX node sends an alarm message, wherein the alarm message carries the identification information of the KNX node with the address conflict.
According to another aspect of an embodiment of the present invention, there is provided a KNX system including: KNX bus, first KNX node and second KNX node, wherein, first KNX node and second KNX node all with the KNX bus connection, first KNX node is used for: automatically configuring or configuring first address information through a dial switch; receiving a node search message broadcasted on the KNX bus, wherein the node search message carries second address information of a second KNX node; and reporting the first address information to the second KNX node according to the second address information.
In one embodiment, the system further comprises: a user terminal and a KNX communication node, the KNX communication node is connected with the KNX bus, the user terminal is connected with the KNX bus through the KNX communication node, wherein,
the user terminal comprises an application program; the second KNX node is configured to: receiving the first address information; and sending the first address information to the application program so that the application program can generate an icon of the first KNX node on an interface of the application program.
In one embodiment, the second KNX node is configured to: receiving the first address information; judging whether address conflict exists according to the first address information; and sending an address conflict message to the address indicated by the first address information under the condition that the address conflict exists.
In one embodiment, the first KNX node is further configured to: receiving the address conflict message; judging whether the first address information can be reconfigured according to the address conflict message; under the condition that the address information can be reconfigured, reconfiguring the first address information into third address information, and sending the third address information to the second KNX node; and sending the first address information to the second KNX node under the condition that the address information cannot be reconfigured.
Compared with the prior art, the KNX node automatic discovery method and the KNX system provided by the embodiment of the invention adopt the first KNX node automatic configuration or configure the first address information through the dial switch; the first KNX node receives a node searching message broadcasted on the KNX bus, wherein the node searching message carries second address information of a second KNX node; the first KNX node reports the first address information to the second KNX node according to the second address information, so that the problem of low online efficiency of the KNX equipment in the KNX system in the related technology is solved, and the online efficiency of the KNX equipment is improved.
Drawings
Fig. 1 is a flowchart of a KNX node auto-discovery method according to an embodiment of the present invention;
fig. 2 is an interaction flow diagram of a KNX node auto-discovery method according to an embodiment of the present invention;
fig. 3 is a flow chart of a KNX node auto-discovery method according to a preferred embodiment of the present invention;
fig. 4 is a schematic structural diagram of a KNX system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the terms "first \ second \ third" related to the embodiments of the present invention only distinguish similar objects, and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may exchange a specific order or sequence when allowed. It should be understood that the terms first, second, and third, as used herein, are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or otherwise described herein.
In this embodiment, a KNX node auto-discovery method is provided, and fig. 1 is a flowchart of the KNX node auto-discovery method according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
and S101, automatically configuring the first KNX node or configuring first address information through a dial switch.
In the above embodiments, the KNX nodes include, but are not limited to: KNX hardware equipment and KNX software equipment. The KNX hardware devices differ from KNX software devices in that: the KNX hardware device refers to a physical hardware device, and the KNX software device refers to a logically divided KNX device, for example, in some cases, the hardware resources of the KNX hardware device may be allocated to be logically divided into a plurality of KNX software devices.
The automatic address information configuration of the KNX node refers to that a program capable of automatically configuring address information is preset in the KNX node, when the KNX node is powered on, the address information is generated according to a preset rule, and the address information is configured to be the address information of the KNX node.
The KNX node configures the address information through the dial switch, namely the dial switch of a multi-position switch is configured on the KNX node in advance, and a user only needs to dial each position switch of the dial switch to realize the configuration of the address information of the KNX node. There may be a maximum of 64 KNX nodes on the same KNX line, as defined by the relevant KNX standard, and therefore, in this case, the number of switching bits of the dial switch is preferably set to 6 bits.
The address information comprises but is not limited to addresses required by the KNX node online and related parameter information; the relevant parameter information can be configured in advance, and the address in the address information is automatically generated by the KNX node. Addresses in the address information include, but are not limited to: physical Address (PA) and Group Address (GA). The physical address is used for reflecting the topological position of the KNX node in the KNX network, and the physical address can be composed of a domain address, a line address and a device address, and the physical address in the same KNX system should be unique. The group address is a function-related address, which may not be unique in a KNX system, and the same KNX node may have one or more group addresses.
And S102, the first KNX node receives a node searching message broadcasted on the KNX bus, wherein the node searching message carries second address information of the second KNX node.
In this embodiment, in order to enable other KNX nodes in the KNX system to know the address information of the second KNX node and instruct the other KNX nodes in the KNX system to report the address information of the second KNX node, the second KNX node may broadcast a node search message to the KNX bus, where the node search message carries the second address information of the second KNX node. And after the first KNX node is electrified, the first KNX node continuously monitors the KNX bus, and when the KNX bus broadcasts the node search message, the node search message on the bus is received and analyzed to obtain second address information of a second KNX node serving as a host, wherein the second address information indicates the position of the information reported by the first KNX node.
It should be noted that the second KNX node in this embodiment may be any one of the KNX nodes in the KNX system, or may be a KNX node serving as a master node in the KNX system. The second KNX node is preferably any one KNX node in the KNX system, and the second KNX node serves as a temporary KNX host in the node online process of the KNX system, so that the node search message of the KNX node is conveniently initiated without specially using the master control node to initiate the node search message. Wherein, can dispose an automatic button of going on the line on the second KNX node, after the user pressed the automatic button of going on the line on the second KNX node, the second KNX node regarded oneself as the KNX host computer, broadcast node search message to the KNX bus.
In addition, the second address information of the second KNX node may also be configured by automatic configuration or by a dial switch.
And step S103, the first KNX node reports the first address information to the second KNX node according to the second address information.
In this embodiment, after acquiring the second address information of the second KNX node serving as the host, the first KNX node may send a message to the second KNX node through the KNX bus, where the message carries the first address information of the first KNX node.
In the above embodiment, all KNX nodes in the KNX system send messages in compliance with the KNX protocol specification. For example, the KNX node transmits information through a message, the KNX node receives a response after sending the message, and the sending device usually sends the message repeatedly three times if receiving a reception error (NAK) confirmation; if the KNX node receives the confirmation that the bus is occupied (BUSY), the KNX node sending the message will try to send the message again after waiting for a random short time slot; if the KNX node sending the message does not receive the ACK confirmation, the message is repeatedly sent at most three times, and then the sending request is stopped. The KNX system applies CSMA/CA (carrier sense multiple access/collision avoidance) and message priority to control medium access.
In the related art, the configuration of the KNX system has two configuration modes, one is a system Mode (S-Mode) and one is a simple Mode (E-Mode). Wherein, S-Mode means that the configuration Mode is to realize complex building control functions for a well-trained KNX installer. E-Mode means that the configuration Mode is for basic KNX trained installers. In any configuration mode in the related art, the ETS tool is required to be used, and a certain debugging tool using capability is provided.
Different from the related art, in this embodiment, after the first KNX node is configured automatically or the first address information is configured through the dial switch through the above steps, the second address information of the second KNX node is obtained from the node search message broadcast on the KNX bus, and then the first address information is reported to the second KNX node, so that the on-line of the first KNX node can be realized. According to the technical scheme, the address information of the first KNX node is not required to be configured through a debugging tool, and the address information can be automatically configured through the first KNX node or manually configured through a dial switch. When a large amount of KNX nodes need to be on line, the KNX nodes only need to be connected into the KNX bus, after the KNX nodes are powered on, the address information of the KNX nodes is automatically reported to the second KNX node according to the steps, the on-line of the KNX nodes is completed, the problem of low on-line efficiency of the KNX equipment in a KNX system in the related technology is solved, and the on-line efficiency of the KNX equipment is improved.
Fig. 2 is an interaction flowchart of a KNX node auto-discovery method according to an embodiment of the present invention, as shown in fig. 2, in one embodiment, after a first KNX node reports first address information to a second KNX node according to second address information, the second KNX node receives the first address information; the second KNX node sends the first address information to the application program so that the application program can generate an icon of the first KNX node on an interface of the application program.
The client of the application program is preferably arranged in a user terminal held by a user, and the server of the application program is preferably arranged on a wireless local area network or the Internet. Preferably, a communication node is configured on the KNX bus, the communication node communicates with the server of the application program through a wireless local area network or the internet, and the server of the application program communicates with the client of the application program through the wireless local area network or the internet, so that an icon of the KNX node on line in the KNX system is displayed in a user terminal held by a user.
The configuration files of the KNX nodes can be configured in advance in the application program, the description information is configured in advance for each configuration file, a user can select one KNX node through the icon of the KNX node displayed in the interface of the application program, the description information of the configuration files is referred, and the configuration files of the pre-configured KNX nodes are used for configuring the selected KNX node, so that the problems that the KNX node needs a special debugging tool to be configured and the user experience is poor in the configuration process are solved.
With reference to fig. 2, since the address information of the KNX nodes added to the KNX system is configured automatically by the respective KNX nodes or configured by the dial switches, there may be a case where two KNX nodes in the same KNX line have the same address, so that address collision cannot normally transmit and receive messages. In order to avoid the problem, after the first KNX node reports the first address information to the second KNX node according to the second address information, the second KNX node receives the first address information; the second KNX node judges whether address conflict exists according to the first address information; and under the condition that the address conflict exists, the second KNX node sends an address conflict message to the address indicated by the first address information. The address conflict message is used for indicating that the address information of the current KNX node with the first address information conflicts with other KNX nodes in the current KNX system, and an address conflict elimination program needs to be executed.
Thereafter, a third KNX node receives the address collision message, wherein the third KNX node comprises: the address information is configured as a KNX node of the first address information; the third KNX node judges whether the first address information can be reconfigured or not according to the address conflict message; under the condition that the address information can be reconfigured, the third KNX node reconfigures the first address information into third address information and sends the third address information to the second KNX node; and under the condition that the address information cannot be reconfigured, the third KNX node sends the first address information to the second KNX node.
In the above embodiment, the third KNX node attempts to resolve the address conflict by reconfiguring the address information, that is, when the address of the third KNX node is automatically configured by the third KNX node, a random address can be obtained by reconfiguring, so as to resolve the address conflict; when the address of the third KNX node is configured by the dial switch, the third KNX node directly resends the first address information to the second KNX node in this case, since the third KNX node cannot change the value of the dial switch by itself.
It should be noted that the number of the third KNX nodes is at least two, and the third KNX nodes may include the first KNX node that transmits the first address information, and may further include other KNX nodes.
In one embodiment, the address information received again by the second KNX node as the host, may be all the first address information (i.e., none of the address-conflicting KNX nodes reconfigure address information), may be all the third address information (i.e., none of the address-conflicting KNX nodes reconfigure address information), may be a portion of the first address information, may be a portion of the third address information (i.e., a portion of the address-conflicting KNX node reconfigure address information, a portion of the address-conflicting KNX nodes do not reconfigure address information), at which point, the second KNX node may again determine whether there is still an address conflict between the received address information and the address information of the KNX node that has come on line, if there is still an address conflict, an attempt may be made to send an address conflict message to the KNX node where the address conflict occurred again to perform the address conflict elimination procedure again. For the KNX node with the automatic configuration address information, the problem of address conflict can be finally solved by one or more address conflict elimination programs, but for the KNX node with the dial switch configuration address information, manual intervention is needed. Therefore, in the multiple address conflict elimination procedure, if it is determined that there are two or more address conflicts among several KNX nodes, the second KNX node may send an alarm message to the user, preferably to a client of an application installed on a user terminal held by the user, to notify human intervention to resolve the address conflict. The warning message carries identification information of the KNX node with the address conflict.
The invention will be described and illustrated with reference to preferred embodiments.
In the preferred embodiment, a KNX node auto-discovery method is provided, wherein the auto-discovery is to embed a program in each KNX node. The method comprises the steps that a search command is issued through an addressed KNX node (equivalent to a second KNX node, namely a KNX host), an APP (equivalent to an application program), the search command is forwarded through the KNX host, nodes on all buses receive a search command message and send equipment information to the host, and the VSON (the VSON is in an equipment information format, and each equipment can generate a VSON file) is analyzed by the host according to a received data packet and stored locally. The host can transmit local equipment information to the APP through the PHP interface, and at the moment, the APP interface can generate all KNX node icons. The user can carry out equipment configuration through the APP.
Fig. 3 is a flowchart of the KNX node auto-discovery method according to the preferred embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
and S301, after the KNX node is powered on, setting the address of the KNX node in a dialing or automatic address allocation mode.
Step S302, selecting one device from all KNX nodes on APP as an automatic discovery host, and broadcasting a search command message to the KNX bus by the host.
Step S303, after receiving the search command message, the device on the KNX bus reports device information to the address of the host, where the device information includes but is not limited to: device type, device address, etc.
And the process of reporting the equipment information by the KNX follows the rules of the KNX protocol, and message conflicts are processed.
Step S304, the host analyzes the equipment information of each KNX node from the received message;
when the KNX nodes conflict in address (the addresses are the same), the solution can be solved in the following two ways:
(1) if the addresses of the two address conflicting KNX nodes are generated by the KNX nodes themselves in an automatic address allocation manner, the host will simultaneously send an address modification message to the KNX nodes (with two KNX nodes) of the same address when receiving the addresses of the two KNX nodes, and after receiving the address modification message, the two KNX nodes: and one or two KNX nodes automatically allocate addresses for the KNX nodes again and report respective equipment information again.
(2) If the addresses of the two KNX nodes with the conflicting addresses are generated by dialing, the host sends an address modification message to the KNX node (with the two KNX nodes) of the address when receiving the addresses of the two same KNX nodes, and the two KNX nodes generating the addresses by dialing still report the equipment information according to the original addresses of the two KNX nodes; after the host receives the equipment information of the KNX nodes reported again, if the address is analyzed to be the same as the address reported last time, or the two KNX nodes are still the same, the two KNX nodes are not allowed to be on line, and the problem is solved by manual troubleshooting.
Step S305, the host sends the equipment information of the KNX node to the APP;
step S306, generating a KXN device icon by the APP interface. Enabling control of the KNX node over the APP.
In this embodiment, a KNX system is further provided, and fig. 4 is a schematic structural diagram of the KNX system according to the embodiment of the present invention, which is used for implementing the above embodiments and preferred embodiments, and the description of the system is omitted.
As shown in fig. 4, the system includes: KNX bus 40, first KNX node 41 and second KNX node 42, wherein, first KNX node 41 and second KNX node 42 all are connected with KNX bus 40, and first KNX node 41 is used for: automatically configuring or configuring first address information through a dial switch; receiving a node search message broadcasted on the KNX bus, wherein the node search message carries second address information of a second KNX node 42; and reporting the first address information to the second KNX node 42 according to the second address information.
In one embodiment, a second KNX node 42 for automatically configuring or configuring second address information via a dip switch; and broadcasting a node searching message on the KNX bus, wherein the node searching message carries second address information.
In one embodiment, the system further comprises a user terminal 43 and a KNX communication node 44, the KNX communication node 44 being connected to the KNX bus 40, the user terminal 43 being connected to the KNX bus 40 via the KNX communication node 44, wherein,
the user terminal 43 includes an application;
the second KNX node 42 is configured to: receiving first address information; the first address information is sent to the application program for the application program to generate an icon of the first KNX node 41 on its interface.
In one embodiment, the second KNX node 42 is configured to: receiving first address information; judging whether address conflict exists according to the first address information; and sending an address conflict message to the address indicated by the first address information when judging that the address conflict exists.
In one embodiment, the first KNX node 41 is further configured to: receiving an address conflict message; judging whether the first address information can be reconfigured or not according to the address conflict message; under the condition that the address information can be reconfigured, reconfiguring the first address information into third address information, and sending the third address information to the second KNX node 42; if it is determined that the address information cannot be reconfigured, the first address information is transmitted to the second KNX node 42.
In one embodiment, the second KNX node 42 is further configured to: receiving first address information and/or third address information; judging whether address conflict still exists according to the first address information and/or the third address information; and sending an alarm message under the condition that the address conflict still exists, wherein the alarm message carries the identification information of the KNX node with the address conflict.
In addition, in combination with the KNX node automatic discovery method in the foregoing embodiment, an embodiment of the present invention may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any one of the KNX node auto-discovery methods in the above embodiments.
In summary, the embodiment and the preferred embodiment provided by the invention solve the problem of complex debugging, save the resources of professional KNX debugging engineers, and enable users without professional KNX knowledge to operate. Compared with the prior art, the embodiment of the invention can automatically discover the KNX equipment on the KNX bus, thereby improving the on-line efficiency of the equipment; the method of automatically allocating addresses is adopted, and addresses do not need to be configured for each device one by one; address conflicts can be automatically resolved; the equipment and the equipment state controlled by each slave control module can be visually seen through the control terminal APP.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A KNX node automatic discovery method is characterized by comprising the following steps:
the first KNX node is automatically configured or first address information is configured through a dial switch;
the first KNX node receives a node searching message broadcasted on the KNX bus, wherein the node searching message carries second address information of a second KNX node;
and the first KNX node reports the first address information to the second KNX node according to the second address information.
2. The method of claim 1, wherein prior to the first KNX node receiving the node search message broadcast on the KNX bus, the method further comprises:
the second KNX node automatically configures or configures the second address information through a dial switch;
and the second KNX node broadcasts the node searching message on the KNX bus, wherein the node searching message carries the second address information.
3. The method of claim 1, wherein after the first KNX node reports the first address information to the second KNX node according to the second address information, the method further comprises:
the second KNX node receives the first address information;
and the second KNX node sends the first address information to an application program so that the application program can generate an icon of the first KNX node on an interface of the application program.
4. The method of claim 1, wherein after the first KNX node reports the first address information to the second KNX node according to the second address information, the method further comprises:
the second KNX node receives the first address information;
the second KNX node judges whether address conflict exists according to the first address information;
and under the condition that the address conflict exists, the second KNX node sends an address conflict message to the address indicated by the first address information.
5. The method according to claim 4, wherein after determining that there is an address conflict, the second KNX node sends an address conflict message to the address indicated by the first address information, the method further comprising:
receiving, by a third KNX node, the address collision message, wherein the third KNX node comprises: the address information is configured as a KNX node of the first address information;
the third KNX node judges whether the first address information can be reconfigured or not according to the address conflict message;
under the condition that the address information can be reconfigured, the third KNX node reconfigures the first address information into third address information and sends the third address information to the second KNX node;
and under the condition that the address information cannot be reconfigured, the third KNX node sends the first address information to the second KNX node.
6. The method according to claim 5, wherein after the third KNX node sends the first address information and/or the third address information to the second KNX node, the method further comprises:
the second KNX node receives the first address information and/or the third address information;
the second KNX node judges whether address conflict still exists according to the first address information and/or the third address information;
and under the condition that the address conflict still exists, the second KNX node sends an alarm message, wherein the alarm message carries the identification information of the KNX node with the address conflict.
7. A KNX system, comprising: a KNX bus, a first KNX node and a second KNX node, wherein the first and second KNX nodes are both connected with the KNX bus,
the first KNX node is configured to: automatically configuring or configuring first address information through a dial switch; receiving a node search message broadcasted on the KNX bus, wherein the node search message carries second address information of a second KNX node; and reporting the first address information to the second KNX node according to the second address information.
8. The system of claim 7, further comprising: a user terminal and a KNX communication node, the KNX communication node is connected with the KNX bus, the user terminal is connected with the KNX bus through the KNX communication node, wherein,
the user terminal comprises an application program;
the second KNX node is configured to: receiving the first address information; and sending the first address information to the application program so that the application program can generate an icon of the first KNX node on an interface of the application program.
9. The system of claim 7, wherein the second KNX node is configured to: receiving the first address information; judging whether address conflict exists according to the first address information; and sending an address conflict message to the address indicated by the first address information under the condition that the address conflict exists.
10. The system of claim 9, wherein the first KNX node is further configured to: receiving the address conflict message; judging whether the first address information can be reconfigured according to the address conflict message; under the condition that the address information can be reconfigured, reconfiguring the first address information into third address information, and sending the third address information to the second KNX node; and sending the first address information to the second KNX node under the condition that the address information cannot be reconfigured.
CN201911099399.2A 2019-11-12 2019-11-12 KNX node automatic discovery method and KNX system Active CN110868343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911099399.2A CN110868343B (en) 2019-11-12 2019-11-12 KNX node automatic discovery method and KNX system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911099399.2A CN110868343B (en) 2019-11-12 2019-11-12 KNX node automatic discovery method and KNX system

Publications (2)

Publication Number Publication Date
CN110868343A true CN110868343A (en) 2020-03-06
CN110868343B CN110868343B (en) 2022-02-22

Family

ID=69654756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911099399.2A Active CN110868343B (en) 2019-11-12 2019-11-12 KNX node automatic discovery method and KNX system

Country Status (1)

Country Link
CN (1) CN110868343B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489639A (en) * 2021-06-16 2021-10-08 杭州深渡科技有限公司 Gateway multi-interface data communication method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309306A (en) * 2008-07-16 2008-11-19 哈尔滨工业大学 Method for allocating addresses from node device in Modbus communication network
DE202012001947U1 (en) * 2012-02-24 2012-11-15 Petra Schmid Data alternating voltage for control in the two-wire lighting network
EP2798786A1 (en) * 2011-12-28 2014-11-05 Lutron Electronics Company, Inc. Load control system having a broadcast controller with a diverse wireless communication system
CN104603573A (en) * 2012-09-05 2015-05-06 赫克斯冈技术中心 Measuring machine communication with automatic address allocation
CN105323328A (en) * 2014-07-11 2016-02-10 北海市深蓝科技发展有限责任公司 Automatic address identification method by utilizing MODBUS communication protocol on RS-485
CN107124481A (en) * 2017-05-09 2017-09-01 广州海盈电气技术有限公司 A kind of collocation method, system and the equipment of KNX group address
CN107395787A (en) * 2017-09-01 2017-11-24 北京镁伽机器人科技有限公司 Address distribution method, system, gateway and the medium of CAN communication network
CN108255114A (en) * 2018-02-07 2018-07-06 珠海世讯科技有限公司 A kind of intelligence control system and its configuration method based on KNX bus protocols
CN108881505A (en) * 2018-05-30 2018-11-23 武汉高仕达电气有限公司 A kind of CAN bus node address distribution method and system
CN109218155A (en) * 2018-09-13 2019-01-15 深圳益邦物联科技有限公司 Address automatic distribution system and method based on Modbus rtu protocol

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309306A (en) * 2008-07-16 2008-11-19 哈尔滨工业大学 Method for allocating addresses from node device in Modbus communication network
EP2798786A1 (en) * 2011-12-28 2014-11-05 Lutron Electronics Company, Inc. Load control system having a broadcast controller with a diverse wireless communication system
DE202012001947U1 (en) * 2012-02-24 2012-11-15 Petra Schmid Data alternating voltage for control in the two-wire lighting network
CN104603573A (en) * 2012-09-05 2015-05-06 赫克斯冈技术中心 Measuring machine communication with automatic address allocation
CN105323328A (en) * 2014-07-11 2016-02-10 北海市深蓝科技发展有限责任公司 Automatic address identification method by utilizing MODBUS communication protocol on RS-485
CN107124481A (en) * 2017-05-09 2017-09-01 广州海盈电气技术有限公司 A kind of collocation method, system and the equipment of KNX group address
CN107395787A (en) * 2017-09-01 2017-11-24 北京镁伽机器人科技有限公司 Address distribution method, system, gateway and the medium of CAN communication network
CN108255114A (en) * 2018-02-07 2018-07-06 珠海世讯科技有限公司 A kind of intelligence control system and its configuration method based on KNX bus protocols
CN108881505A (en) * 2018-05-30 2018-11-23 武汉高仕达电气有限公司 A kind of CAN bus node address distribution method and system
CN109218155A (en) * 2018-09-13 2019-01-15 深圳益邦物联科技有限公司 Address automatic distribution system and method based on Modbus rtu protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈爽: "基于现场总线KNX的楼宇自动化技术研究及产品开发", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489639A (en) * 2021-06-16 2021-10-08 杭州深渡科技有限公司 Gateway multi-interface data communication method and system
CN113489639B (en) * 2021-06-16 2022-12-02 杭州深渡科技有限公司 Gateway multi-interface data communication method and system

Also Published As

Publication number Publication date
CN110868343B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
US8374104B2 (en) Simple installation of devices on a network
CN108432282B (en) Method and apparatus for managing electronic devices through wireless communication
US7701900B2 (en) Device discovery and channel selection in a wireless networking environment
JP5701922B2 (en) A program adapted to be implemented to design a communication network
JP5145352B2 (en) Method and system for selecting each device of a wireless network, in particular a network of wireless lighting devices
CN105308993B (en) Method for configuring a node and node configured thereby
EP2681877B1 (en) Method for operating and commissioning devices in a zigbee network
JP4765973B2 (en) Communication route construction method and communication terminal
CN105515853A (en) Wireless network node and state update method thereof
KR100505230B1 (en) Home Network System and Home Appliance Reducing Method for the Same
CN105392181A (en) Intelligent equipment networking method and device, and system
CN103248543A (en) Code verification method, code verification control equipment and code verification equipment
JP2004194264A (en) Multi-master apparatus connecting network system and method of operating the same
CN110868343B (en) KNX node automatic discovery method and KNX system
CN111277507A (en) Method for realizing information exchange between wireless terminals
JP5286514B2 (en) Power line carrier communication system
CN102025576A (en) Home automation system and control method thereof
CN112995043B (en) Information processing method and device in wireless mesh network and electronic equipment
KR101002411B1 (en) self-configuration method for PLC-based home network
CN113126510A (en) Household appliance control system and control method thereof
US20230050614A1 (en) A method of and a coordinator device for selectively commissioning a node device in network
JP2008147927A (en) Power line communication apparatus and apparatus registration method of same
CN116962109A (en) Distribution network control system and distribution network control method
CN116803059A (en) Apparatus, network, method and computer program for configuring a distributed intelligent network
CN115915305A (en) Network switching method, equipment, system and storage medium

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