A network node management method and system based on non-carrier three-state two-bus

By connecting the master node and the child node through a non-carrier tri-state two-bus, plug-and-play management of smart home devices is achieved, solving the problems of cumbersome network access procedures and high requirements for network access timing, and improving network access efficiency.

CN119835104BActive Publication Date: 2026-05-01ULTIMATE IOT (HENAN) TECHNOLOGY LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ULTIMATE IOT (HENAN) TECHNOLOGY LTD
Filing Date
2023-10-13
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The current process for registering smart home devices to the network is cumbersome and has strict timing requirements, resulting in low efficiency.

Method used

The system uses a non-carrier tri-state two-wire bus to connect the master node and the child nodes. The network name is sent and the child nodes automatically report their network requests through state switching. The master node can independently allocate network addresses, enabling plug-and-play functionality.

Benefits of technology

No manual configuration is required, which improves network access efficiency, simplifies the network access process, and reduces the requirements for the timing of network access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835104B_ABST
    Figure CN119835104B_ABST
Patent Text Reader

Abstract

The application relates to a network node management method and system based on a non-carrier three-state two-bus, and belongs to the technical field of network communication. The application connects a master node and a slave node through a non-carrier three-state two-bus, and the master node sends a network name of the network where the master node is located to the bus after switching the bus from a power supply state to a communication state; when the network name received by the slave node is different from the network name of the slave node, the slave node reports and applies through the bus when the bus is in an idle state; the master node switches the bus from the idle state to the communication state according to the reporting and applying, and allocates a network address for the slave node through the bus; and the slave node saves the received network address, so that the management of the slave node joining the network is realized. The application can realize the node management of plug-and-play by means of the non-carrier three-state two-bus, through the communication between the master node and the slave node, and by means of the self-completion of attribute reporting without manual configuration, and has no requirement on the network entry time, so that the network entry efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

A network node management method and system based on a non-carrier tri-state two-bus Technical Field

[0001] This invention relates to a network node management method and system based on a non-carrier tri-state two-bus, belonging to the field of network communication technology. Background Technology

[0002] With the increasing variety of smart home products, the demand for smart products is also growing. Some homeowners in large apartments or villas use hundreds of smart home devices, which are often managed through wireless networks such as Wi-Fi or wired Ethernet networks, making management increasingly difficult.

[0003] For example, currently, every product in an IoT smart home needs to be registered to the network one by one. As the number of installations increases, the construction time lengthens, affecting delivery. The product registration process is cumbersome, with the following typical steps: First, click "Add Device" on the mobile app; second, select the product category to be registered; third, click "Register"; fourth, click / long-press the registration switch on the product. After communication is completed, the node device is successfully registered. Therefore, current network nodes have high requirements for timing of registration. If a product fails to register in time after being added to the network via the mobile app, the process needs to be repeated, thus affecting the node's registration efficiency. Summary of the Invention

[0004] The purpose of this invention is to provide a network node management method based on a non-carrier tri-state two-bus, so as to solve the problems of cumbersome network entry steps and high network entry timing requirements in the current network node management process, which result in low network entry efficiency.

[0005] To solve the above-mentioned technical problems, this invention provides a network node management method based on a non-carrier tri-state two-bus, the method comprising the following steps:

[0006] 1) Connect the master node and the child node via a non-carrier tri-state two-wire bus;

[0007] The non-carrier tri-state two-bus includes a power supply state, a communication state, and an idle state. When the bus is in the power supply state, it is used to power all child nodes. When it is in the communication state, it is used to handle communication between the master node and child nodes. When it is in the idle state, it is used to handle data requests reported by child nodes.

[0008] 2) The master node is used to switch the bus from power supply mode to communication mode at set intervals, and sends the network name it belongs to to the bus after the switch;

[0009] 3) Each child node connected to the bus receives the network name from the bus and compares it with its own network name. If the received network name is different from its own network name, it will report the request through the bus when the bus is in an idle state.

[0010] 4) After receiving the reporting request, the master node switches the bus from idle state to communication state and commands the child node that reported the request to send its category and attributes to the master node through the bus. After receiving the category and attribute information sent by the child node, the master node assigns a network address and network name to it and sends the assigned network address to the child node through the network name bus.

[0011] 5) The child node receives and saves the network address and network name through the bus, thereby realizing the management of the child node joining the network.

[0012] This invention connects master nodes and child nodes via a carrier-free tri-state two-wire bus. After switching the bus from power supply mode to communication mode, the master node sends its network name to the bus. When a child node receives a network name different from its own, it submits a request through the bus while the bus is idle. Based on the request, the master node switches the bus from idle to communication mode and assigns a network address to the child node. The child node saves the received network address, thus enabling network joining management. In this way, the child node inherits the master node's attribute—the network name—automatically, facilitating efficient management. For example, if the master node's product belongs to the kitchen category, then all products of the child node belong to that kitchen category, eliminating the need to define the kitchen attribute for each child node. Therefore, this invention, utilizing a carrier-free tri-state two-wire bus, autonomously completes attribute reporting through communication between the master and child nodes, eliminating the need for manual configuration and achieving plug-and-play node management. It also has no requirements regarding the timing of network entry, significantly improving network entry efficiency.

[0013] Furthermore, the master node switches the bus from the powered state to the idle state at a set frequency, allowing the child nodes to submit requests.

[0014] The master node switches the bus from powered state to idle state at a set frequency so that the child nodes can report requests.

[0015] Furthermore, when the master node needs to send control commands to the child nodes that have joined the network, the master node switches the bus from power supply mode to communication mode and sends the control commands to the corresponding child nodes according to the set protocol. The set protocol includes the child node network address, write flag, register address corresponding to the control command, and control value.

[0016] This invention utilizes the state switching between non-carrier tri-state two-bus to quickly issue control commands.

[0017] Furthermore, when the master node needs to send a query command to a child node that has joined the network, the master node switches the bus from power supply mode to communication mode and sends the control command to the corresponding child node according to the set protocol. The set protocol includes the child node network address, read flag, attributes, and attribute values.

[0018] This invention utilizes the state switching between non-carrier tri-state two-bus to quickly issue query commands.

[0019] Furthermore, the method also includes the exit management of child nodes. The master node polls the child nodes in the network at a certain period when the bus is in communication state. If a child node does not respond and did not respond in the previous round of polling, it means that the child node has exited the current network.

[0020] This invention utilizes the state switching between non-carrier tri-state two-bus to quickly manage the decommissioning of child nodes.

[0021] Furthermore, the power supply state, communication state, and idle state correspond to different voltage ranges. When the master node switches the state of the bus, it does so by controlling the voltage range of the power supply it is connected to.

[0022] This invention achieves the division of different bus states by setting different voltage ranges, and can accurately realize the switching between different states.

[0023] Furthermore, a power management module is provided in both the master node and each child node. The power management module is connected to the bus, and when the bus is in a powered state, the power of each child node is drawn from the bus.

[0024] This invention enables each node to remain powered even when the bus switches to a non-powered state by setting a power module at each node.

[0025] Furthermore, the master node is equipped with a child node conflict counting module, which includes a sampling resistor and a voltage sampling circuit. This module is used to count the child nodes that request interruption when the bus is in communication mode. The child node is equipped with a constant current circuit, which is used to connect the constant current circuit to the bus when the child node requests interruption. This causes a constant current to flow through the sampling resistor of the master node to form a unit voltage. The master node determines whether a child node has made an interruption request and the number of child nodes that have made the request based on the voltage drop measured by the voltage sampling circuit.

[0026] The present invention also provides a network node management system based on a non-carrier tri-state two-bus, including a master node and multiple child nodes, wherein the master node and child nodes adopt the above-described network node management method based on a non-carrier tri-state two-bus. Attached Figure Description

[0027] Figure 1 is a three-state conversion logic diagram of the non-carrier three-state two-bus of the present invention;

[0028] Figure 2 is a diagram showing the three-state partitioning of the non-carrier three-state two-bus according to the present invention;

[0029] Figure 3 is an example diagram of the three-state partitioning in an embodiment of the present invention;

[0030] Figure 4 is a flowchart of the network node management method based on a non-carrier tri-state two-bus according to the present invention;

[0031] Figure 5 is a schematic diagram of the collision counting principle used in the non-carrier tri-state two-bus of the present invention. Detailed Implementation

[0032] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0033] This invention connects master nodes and child nodes via a carrierless tri-state two-wire bus. The master node switches the bus from power supply mode to communication mode at set intervals and sends its network name to the bus after the switch. Each child node receives the network name from the bus. If the received network name differs from its own network name, it submits a report request through the bus while the bus is idle. After receiving the report request, the master node switches the bus from idle mode to communication mode, assigns a network address to the child node, and sends the assigned network address to the child node through the bus. The child node receives the network address through the bus and saves the network address and network name, thereby managing the child node's joining of the network. This invention, using a carrierless tri-state two-wire bus, enables autonomous attribute reporting through communication between the master and child nodes, eliminating the need for manual configuration, achieving plug-and-play node management, and having no requirements on the timing of network entry, greatly improving network entry efficiency.

[0034] Example of a network node management system based on a carrier-free tri-state two-bus

[0035] The network node management system of the present invention includes a master node device and multiple child node devices connected by two power lines to form a network. The master node (also called the central node) and the child nodes can be connected in a tree or star pattern. The bus consists of two power lines that are polarity-insensitive and can be used for both power supply and communication.

[0036] The voltage platform is adjusted via a multiplexer to represent three logical states: power supply state, communication state, and idle state. The power supply state supplies power to all child nodes, the communication state handles communication between the master node and other nodes, and the idle state is used for child nodes to report data requests. The three-state transition logic of this system is shown in Figure 1. The three-state switching is controlled by the master node, starting from the power supply state. The central node switches the bus from the power supply state to the idle state periodically. When the bus is in the idle state, if a child node needs to report data to the central station, it responds by changing its idle state voltage level to request an interrupt. The central node then switches the idle state to the communication state, instructing the child node to report data. After reporting, the bus state switches back to the power supply state. If no child node responds in the idle state, it directly switches back to the power supply state. When the central node needs to control or query a child node, it directly switches the bus from the power supply state to the communication state, and then switches back to the power supply state after communication is complete.

[0037] The three-state voltage levels are shown in Figure 2: the bus is divided into three voltage amplitudes and two isolation zones. The uppermost voltage amplitude is the power supply state, the lowermost voltage amplitude is the idle state, and the middle voltage amplitude is the communication state. There is a safety isolation zone between the three voltage amplitudes.

[0038] The three-state division in this embodiment is shown in Figure 3. When the bus voltage level is in the range of 0.7*VDD to 1*VDD, all nodes do not transmit information, only supply power. When the bus voltage level is in the range of 0.3*VDD to 0.6*VDD, the bus is disconnected from the power supply, and data communication is performed. 0.6*VDD represents a high level, and 0.3VDD represents a low level. When the bus voltage level is in the range of 0*VDD to 0.2*VDD, the bus is disconnected from the power supply. The central node uses an internal child node conflict counting module to determine whether any child node has requested an interrupt. When there are 0 child nodes requesting an interrupt, it switches to the power supply state. When there are ≥1 child node requesting an interrupt, it switches to the communication state. The master node and each child node are equipped with a power module connected to the bus. When the bus is in the power supply state, it supplies power to each power module. When the bus is in the non-power supply state, the master node and child nodes are powered by their own power modules. The switching between the three bus states is controlled by the master node.

[0039] As shown in Figure 5, the child node conflict counting module includes a sampling resistor R1 and a voltage sampling circuit. Each child node has a constant current circuit. When a child node requests an interrupt, it connects this constant current circuit to the bus. A constant current flows through the sampling resistor of the master node, forming a unit voltage. The master node determines whether a child node has requested an interrupt and the number of child nodes requesting interrupts based on the voltage drop measured by the voltage sampling circuit. For example, in an idle state, if a child node requests an interrupt, the controllable switch connects the constant current circuit of that child node to the bus through a corresponding rectifier circuit. A voltage difference of R1*I is generated across the sampling resistor of the master node on the bus. If n nodes request interrupts, a voltage difference of n*R1*I is generated. The master node determines whether a child node has requested an interrupt and how many child nodes have requested interrupts based on this voltage difference.

[0040] In this embodiment, the network node management system can realize the management of adding, controlling, querying and leaving child nodes. The process of adding is shown in Figure 4. The implementation process of each management is described below.

[0041] 1) Join Management

[0042] Since the default state of the non-carrier tri-state dual bus used in this invention is the power supply state, the master node first switches the bus from the power supply state to the communication state at set intervals, and sends its network name to the bus after the switch. Each child node connected to this bus can receive the network name sent by the master node from the bus and compare it with its own cached network name (the network name of a child node that has never joined the network is empty). When the network name received by the child node is the same as its own network name, it means that the child node has joined the network and the child node exits the joining process. When the network name received by the child node is different from its own network name, it means that the child node has changed networks or has never joined the network, and is a non-member node of the network. At this point, the child node needs to rejoin the network. It prepares to report its network entry, listens to the bus status, and submits a report request via the bus when it is idle. Upon receiving the report request, the master node switches the bus from idle to communication mode and commands the child node to send its category and attributes to the master node via the bus. After receiving the category and attribute information from the non-member child node, the master node adds the new node to the network node list, assigns it a network address, and sends the assigned network address to the child node via the bus. Simultaneously, it synchronizes with the cloud platform, mobile app, and other devices. The child node receives the network address via the bus and saves the network address and network name, thus managing the child node's network entry.

[0043] The following explanation uses the network of a smart home as an example. In this example, the master node refers to the central controller in the smart home, and the child nodes are the home devices to be controlled, such as lights and air conditioners. The home devices and the central controller are connected via a non-carrier tri-state two-wire bus. When a new device needs to be added to the smart home network, it is connected to the non-carrier tri-state two-wire bus. The central controller sends the network name through the bus at set intervals, such as every 10 minutes. Before sending, the central controller needs to switch the bus from power supply mode to communication mode. After the bus is in communication mode, the central controller sends its network name through the bus. The new device can then receive the network name sent by the central controller through the bus. Since the device is a new device and does not have its own network name, it will report an application through the bus, sending its category and attributes to the central controller. After receiving the category and attribute information sent by the device, the central controller adds it to the network node list, assigns it a network address, and sends the assigned network address to the device through the bus. At the same time, it also synchronizes with the cloud platform, mobile APP, and other devices to facilitate subsequent management of the smart home device's network access.

[0044] 2) Control and Management

[0045] When the master node needs to send control commands to the child nodes that have joined the network, the master node switches the bus from power supply mode to communication mode and sends the control commands to the corresponding child nodes according to the set protocol. The set protocol includes the child node network address, write flag, register address corresponding to the control command, and control value.

[0046] For example, when it is necessary to adjust the brightness of lamp #1 in a smart home, the central controller first switches the bus to communication mode, and then sends a brightness control command to lamp #1 through the bus. The command can be sent in the form of lamp #1's network address, write flag, the register address corresponding to the brightness control command, and the brightness value.

[0047] 3) Query Management

[0048] When the master node needs to send a query command to a child node in the network, the master node switches the bus from power supply mode to communication mode and sends the control command to the corresponding child node according to the set protocol. The set protocol includes the child node's network address, read flag, attributes, and attribute values. For example, reading the light status corresponds to the brightness attribute of the LED light, with a value of 10% to 100%. When the read value is 50%, it means that the brightness is half of the maximum brightness.

[0049] For example, when it is necessary to query the status of an air conditioner in a smart home, the central controller first switches the bus to communication mode, and then sends a status query command to the air conditioner through the bus. The command can be sent in the form of the air conditioner's network address, read flag, and the register address corresponding to the status query command.

[0050] 4) Exit Management

[0051] This method also includes child node exit management. The master node polls the child nodes in the network at a certain period (e.g., 10 minutes) when the bus is in communication mode. If a child node does not respond, and also did not respond in the previous round of polling, it means that the child node has exited the current network. If a child node does not respond, but responded in the previous round of polling, it will be re-evaluated in the next round. If there is no response in the next round, it means that the child node has exited the network; if there is a response, it means that the child node is still in the network. That is, if there is no response for two consecutive rounds, it means that the child node has exited the network. After a child node exits the network, the central node will also synchronize the exit information to the cloud platform, mobile APP, and other devices.

[0052] It is evident that the management system of this invention can be directly applied to the network node management of smart homes, enabling the addition, control, query, and exit management of smart home devices. No manual configuration is required, and there are no network access timing requirements. Communication between the master node and child nodes can be achieved through a non-carrier tri-state two-wire bus, and the child node can autonomously complete the reporting of child node attributes. This achieves plug-and-play management of smart home devices, greatly improving the efficiency of smart home construction.

[0053] Example of a network node management method based on a non-carrier tri-state two-bus

[0054] This invention connects master nodes and child nodes via a non-carrier tri-state two-wire bus. After switching the bus from power supply mode to communication mode, the master node sends its network name to the bus. When a child node receives a network name different from its own, it submits a request through the bus while the bus is in idle mode. Based on the request, the master node switches the bus from idle mode to communication mode and assigns a network address to the child node. The child node saves the received network address, thus managing the child node's joining of the network. The specific implementation process of this method has been described in detail in the system embodiments and will not be repeated here.

Claims

1. A network node management method based on a non-carrier tri-state two-bus, characterized in that, The method includes the following steps: 1) Connecting the master node and child nodes via a carrier-free tri-state two-wire bus; the carrier-free tri-state two-wire bus includes a power supply state, a communication state, and an idle state. In the power supply state, the bus supplies power to all child nodes; in the communication state, it handles communication between the master node and child nodes; and in the idle state, it handles data requests reported by child nodes. The power supply state, communication state, and idle state correspond to different voltage ranges. The master node switches the bus state by controlling the voltage range of its connected power supply; 2) The master node switches the bus from the power supply state to the communication state at set intervals and sends its network name to the bus after the switch; 3) Connecting to the bus... Each child node receives the network name from the bus and compares it with its own network name. If the received network name is different from its own network name, it submits a report request through the bus when the bus is in an idle state. 4) When the master node receives the report request, it switches the bus from the idle state to the communication state and commands the child node that submitted the report request to send its category and attributes to the master node through the bus. After receiving the category and attribute information sent by the child node, the master node assigns a network address and network name to it and sends the assigned network address and network name to the child node through the bus. 5) The child node receives the network address and network name through the bus and saves them, thereby realizing the management of the child node joining the network.

2. The network node management method based on a non-carrier tri-state two-bus according to claim 1, characterized in that, The master node switches the bus from powered state to idle state at a set frequency, allowing the child nodes to submit requests.

3. The network node management method based on a non-carrier tri-state two-bus according to claim 1, characterized in that, When the master node needs to send control commands to the child nodes that have joined the network, the master node switches the bus from power supply mode to communication mode and sends the control commands to the corresponding child nodes according to the set protocol. The set protocol includes the child node network address, write flag, register address corresponding to the control command, and control value.

4. The network node management method based on a non-carrier tri-state two-bus according to claim 1, characterized in that, When the master node needs to send a query command to a child node that has joined the network, the master node switches the bus from power supply mode to communication mode and sends the control command to the corresponding child node according to the set protocol. The set protocol includes the child node network address, read flag, attributes, and attribute values.

5. The network node management method based on a non-carrier tri-state two-bus according to claim 1, characterized in that, The method also includes the exit management of child nodes. The master node polls the child nodes in the network at a certain period when the bus is in communication state. If a child node does not respond and did not respond in the previous round of polling, it means that the child node has exited the current network.

6. The network node management method based on a non-carrier tri-state two-bus according to any one of claims 1-5, characterized in that, The master node and child nodes are connected via a non-carrier tri-state two-wire bus to form a tree or star structure.

7. The network node management method based on a non-carrier tri-state two-bus according to claim 6, characterized in that, Each sub-node is equipped with a power management module, which is connected to the bus. When the bus is in a powered state, the power of each sub-node is drawn from the bus.

8. The network node management method based on a non-carrier tri-state two-bus according to claim 6, characterized in that, The master node is equipped with a child node conflict counting module, which includes a sampling resistor and a voltage sampling circuit. This module is used to count the child nodes that request interruption when the bus is in communication mode. The child node is equipped with a constant current circuit. When a child node requests an interruption, the child node connects to the bus using the constant current circuit, so that a constant current flows through the sampling resistor of the master node to form a unit voltage. The master node determines whether a child node has made an interruption request and the number of child nodes that have made the request based on the voltage drop measured by the voltage sampling circuit.

9. A network node management system based on a non-carrier tri-state two-bus, comprising a master node and multiple child nodes, characterized in that, The master node and the child node adopt the network node management method based on the non-carrier tri-state two-bus as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Monitoring device utilizing power line carrier technology and monitoring method thereof

    CN106656268A

  • Coding method for fire-fighting two-bus priority communication

    CN108833056A