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

By adopting non-carrier three-state two-bus technology in network node management, the automatic network access management of child nodes is realized, which solves the problems of complicated network access steps and high network access timing requirements, and improves network access efficiency.

CN119835104AActive Publication Date: 2025-04-15ULTIMATE IOT (HENAN) TECHNOLOGY LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311328345.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-15
Estimated Expiration
2043-10-13

AI Technical Summary

Technical Problem

The steps for accessing the network in the existing network node management process are cumbersome, and the high requirements for accessing the network timing lead to low access efficiency.

Method used

The network node management method based on the non-carrier three-state two bus is adopted. Through the non-carrier three-state two bus connection between the main node and the child node, the main node sends the network name after switching the bus state, and the child node reports and receives the network address and name for saving, realizing automatic network access management of the child nodes.

Benefits of technology

It realizes plug-and-play without manual configuration, and independently completes attribute reporting, reducing the timing requirements for network access and greatly improving network access efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835104A_ABST
    Figure CN119835104A_ABST
Patent Text Reader

Abstract

The invention 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. According to the method, a main node and sub nodes are connected through a non-carrier three-state two-bus, and the main node sends the name of a network where the main node is located to the bus after switching the bus from a power supply state to a communication state; when the network names received by the child nodes are different from the network names of the child nodes, reporting application is carried out through the bus when the bus is in an idle state; the main node switches a bus from an idle state to a communication state according to the report application, and distributes network addresses for the child nodes through the bus; and the child node stores the received network address so as to realize the management of joining the child node into the network. According to the invention, by means of the non-carrier three-state two-bus, through communication between the main node and the sub-node, attribute reporting can be completed autonomously, manual configuration is not needed, plug-and-play node management is realized, no requirement for network access opportunities is required, and the network access efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a network node management method and system based on a non-carrier three-state two-bus, belonging to the technical field of network communication. Background Art

[0002] There are more and more categories of smart home products, and more and more smart products are needed. Some users of large apartments or villas use up to hundreds of smart homes. These devices are often managed through wireless networks such as WIFI or Ethernet wired networks, making management increasingly difficult.

[0003] For example, any product of the current IoT smart home needs to be connected to the network one by one. As the number of installations increases, the construction time increases, affecting delivery. The steps for product network access are cumbersome, and the conventional network access steps are as follows: Step 1: Click to add a device on the mobile phone APP; Step 2: Select the product category that needs to be connected to the network; Step 3: Click to connect to the network; Step 4: Click / long press the network access switch on the product. After the communication is completed, the node device is successfully connected to the network. Therefore, the current network nodes have high requirements for the timing of network access. After the mobile phone APP adds the network, if the networked product fails to connect to the network in time, it needs to be re-operated, which affects the network access efficiency of the node. Summary of the invention

[0004] The purpose of the present invention is to provide a network node management method based on a non-carrier three-state two-bus to solve the problems of low network access efficiency caused by complicated network access steps and high requirements for network access timing in the current network node management process.

[0005] In order to solve the above technical problems, the present invention provides a network node management method based on a non-carrier three-state two-bus, the method comprising the following steps:

[0006] 1) Connect the master node and the sub-node via a non-carrier three-state two-bus;

[0007] The non-carrier three-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 supply power to all sub-nodes. When it is in the communication state, it is responsible for communication between the master node and the sub-nodes. When it is in the idle state, it is responsible for reporting data applications by the sub-nodes.

[0008] 2) The master node is used to switch the bus from the power supply state to the communication state at a set interval, and send the network name to the bus after the switch;

[0009] 3) Each sub-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 reports the request through the bus when the bus is in an idle state;

[0010] 4) After receiving the report application, the master node switches the bus from the idle state to the communication state, and instructs the sub-node that reports the application to send its category and attributes to the master node through the bus. After receiving the category and attribute information sent by the sub-node, the master node allocates a network address and network name for it, and sends the allocated network address and network name bus to the sub-node;

[0011] 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.

[0012] The present invention connects the main node and the sub-node through a non-carrier three-state two-bus. The main node sends the network name of the bus to the bus after switching the bus from the power supply state to the communication state; when the network name received by the sub-node is different from its own network name, the bus is reported through the bus when the bus is in the idle state; the main node switches the bus from the idle state to the communication state according to the reporting application, and allocates a network address to the sub-node through the bus; the sub-node saves the received network address to achieve the management of the sub-node joining the network, so that the sub-node inherits the attribute of the main node-the network name, and completes it automatically, which is convenient for efficient management. For example, if the main node product belongs to the kitchen product, then all the products of the sub-node belong to the kitchen, and there is no need to define the attributes of the kitchen for each sub-node. Therefore, the present invention can use the non-carrier three-state two-bus to complete the attribute reporting autonomously through the communication between the main node and the sub-node, without manual configuration, to achieve plug-and-play node management, without requirements for the timing of network access, and greatly improve the network access efficiency.

[0013] Furthermore, the master node switches the bus from the power supply state to the idle state according to the set frequency, so that the child node can submit a report application.

[0014] The master node switches the bus from the power supply state to the idle state at a set frequency to facilitate the reporting application of the child node.

[0015] Furthermore, when the master node needs to issue a control command to a child node joining the network, the master node switches the bus from the power supply state to the communication state, and sends the control command to the corresponding child node according to the set protocol. The set protocol includes the child node network address, write flag, register address corresponding to the control instruction, and control value.

[0016] The present invention utilizes the switching of the states between the non-carrier three-state two buses to quickly implement the sending of control commands.

[0017] Furthermore, when the master node needs to send a query command to the child node joining the network, the master node switches the bus from the power supply state to the communication state, 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] The present invention utilizes the switching of the states between the non-carrier three-state two buses to quickly implement the sending of the query command.

[0019] Furthermore, the method also includes exit management of child nodes. The master node polls the child nodes in the network according to a certain period when the bus is in a 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] The present invention utilizes the switching of the states between the non-carrier three-state two buses to quickly implement the management of the sub-node leaving the network.

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

[0022] The present invention realizes the division of different bus states by setting different voltage ranges, and can accurately realize the switching of different states.

[0023] Furthermore, a power management module is provided in the main node and each sub-node. The power management module is connected to the bus. When the bus is in a power supply state, the power supply of each sub-node is obtained from the bus.

[0024] The present invention arranges a power supply module at each node, so that when the bus is switched to a non-powered state, each node can still work with power.

[0025] Furthermore, a sub-node conflict counting module is provided in the main node, and the sub-node conflict counting module includes a sampling resistor and a voltage sampling circuit, which is used to count the sub-nodes that apply for interruption when the bus is in a communication state; a constant current circuit is provided in the sub-node, which is used to connect the constant current circuit with the bus when the sub-node applies for interruption, so that a constant current flows through the sampling resistor of the main node to form a unit voltage, and the main node determines whether there is a sub-node applying for interruption and the number of sub-nodes applying 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 three-state two-bus, including a master node and multiple sub-nodes. The master node and the sub-nodes adopt the above-mentioned network node management method based on a non-carrier three-state two-bus. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0028] Figure 2 It is a three-state division diagram of the non-carrier three-state two-bus of the present invention;

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

[0030] Figure 4 It is a flow chart of the network node management method based on non-carrier three-state two-bus of the present invention;

[0031] Figure 5 It is a schematic diagram of the principle of conflict counting adopted by the non-carrier three-state two-bus of the present invention. DETAILED DESCRIPTION

[0032] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings.

[0033] The present invention connects the master node and the sub-node through a non-carrier three-state two-bus, the master node switches the bus from the power supply state to the communication state according to the set interval, and sends the network name of the bus to the bus after the switch; each sub-node receives the network name from the bus, and when the received network name is different from its own network name, the bus is reported through the bus when the bus is in an idle state; after the master node receives the report application, the bus is switched from the idle state to the communication state, the master node assigns a network address to the sub-node, and sends the assigned network address to the sub-node through the bus; the sub-node receives the network address through the bus and saves the network address and the network name, thereby realizing the management of the sub-node joining the network. The present invention can autonomously complete the attribute reporting through the communication between the master node and the sub-node by means of the non-carrier three-state two-bus, without manual configuration, and realize plug-and-play node management, without requirements for the timing of network access, and greatly improves the network access efficiency.

[0034] Network node management system implementation based on non-carrier three-state two-bus

[0035] The network node management system of the present invention includes a main node device and multiple sub-node devices connected by two power lines to form a network. The main node (also called the central node) and the sub-nodes can be connected in a tree or star shape, where the bus is two power lines without polarity, which can provide power and communicate.

[0036] The voltage platform is adjusted by multiple switches to express three logical states, forming power supply state, communication state, and idle state. The power supply state is responsible for supplying power to all sub-nodes, the communication state is responsible for communication between the master node and the nodes, and the idle state is used for the sub-node to report data application. The three-state conversion logic of the system is as follows Figure 1As shown, the three-state switching is controlled by the main node master station, starting from the power supply state; the central node switches the bus from the power supply state to the idle state according to a certain period. When the bus is in the idle state, if the child node has data to report to the central station, it responds by changing the level in the idle state in the idle state and applies for interruption. The central node switches the idle state to the communication state and commands the child node to report data. After the reporting is completed, the bus state switches to the power supply state. If there is no child node response in the idle state, it directly switches to the power supply state; when the central node needs to control or query the child node, the bus directly switches from the power supply state to the communication state, and then switches to the power supply state after the communication is completed.

[0037] The three-state level division is as follows Figure 2 As shown: three voltage amplitudes and two isolation areas are divided on the bus. The top voltage amplitude is the power supply state, the bottom voltage amplitude is the idle state, the middle voltage amplitude is the communication state, and there is a safety isolation area between the three voltage amplitudes.

[0038] The three-state division performed in this embodiment is as follows Figure 3 As shown in the figure, when the bus level amplitude is in the 0.7*VDD~1*VDD area, all nodes do not transmit information, but only supply power; when the bus level amplitude is in the 0.3*VDD~0.6*VDD area, the bus is cut off from the power supply, and data communication is performed at this time, 0.6*VDD represents a high level, and 0.3VDD represents a low level; when the bus level amplitude is in the 0*VDD~0.2*VDD area, the bus is cut off from the power supply, and the central node determines whether there is a sub-node requesting an interrupt through the internal sub-node conflict counting module. When there are 0 sub-nodes requesting an interrupt, it will switch to the power supply state, and when there are ≥1 sub-nodes requesting an interrupt, it will switch to the communication state. The master node and each sub-node are provided with a power supply module, which is connected to the bus. When the bus is in the power supply state, it supplies power to each power supply module. When the bus is in the non-power supply state, the master node and the sub-node are powered by their own power supply modules. The switching between the three states of the bus is completed by the control of the master node.

[0039] like Figure 5As shown, the sub-node conflict counting module includes a sampling resistor R1 and a voltage sampling circuit. A constant current circuit is provided in the sub-node. When the sub-node requests an interrupt, the sub-node connects the constant current circuit to the bus. A constant current flows through the sampling resistor of the main node to form a unit voltage. The main node determines whether there is a sub-node requesting an interrupt and the number of sub-nodes requesting an interrupt based on the voltage drop measured by the voltage sampling circuit. For example, in an idle state, if a sub-node requests an interrupt, the controllable switch is controlled so that the constant current circuit of the sub-node is connected to the bus through the corresponding rectifier circuit. Then, a voltage difference of R1*I is generated on the sampling resistor of the main node on the bus. If n nodes request an interrupt, a voltage difference of n*R1*I is generated. The main node determines whether there is a sub-node requesting an interrupt and how many sub-nodes have requested an interrupt by the voltage difference on the resistor.

[0040] In this embodiment, the network node management system can realize the joining management, control management, query management and exit management of sub-nodes. The joining management process is as follows: Figure 4 As shown, the implementation process of each management is described below.

[0041] 1) Join management

[0042] Since the default state of the non-carrier three-state two-bus adopted in the present invention is the power supply state, the master node first switches the bus from the power supply state to the communication state at a set interval, and sends the name of its network to the bus after the switch; each child node connected to the bus can receive the network name sent by the master node from the bus, and compare it with the network name cached by itself (the network name of the child node that has never been connected to 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 the network or has never been connected to the network, and is a non-member node of the network. , at this time, it is necessary to rejoin the network. The child node is ready to report to the network, monitor the bus status, and report the application through the bus when the bus is in the idle state; after the master node receives the report application, it switches the bus from the idle state to the communication state, and commands the child node that reports the application to send its category and attributes to the master node through the bus. After receiving the category and attribute information sent by 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 through the bus, while also synchronizing cloud platforms, mobile phone APPs and other devices; the child node receives the network address through the bus and saves the network address and network name, so as to realize the management of the child node joining the network.

[0043] The following is an example of the network where the smart home is located. The master node in this example refers to the central controller in the smart home, and each sub-node is the home appliance to be controlled, such as lights, air conditioners and other equipment. The home appliance and the central controller are connected through a non-carrier three-state two-bus communication. When a new device in the smart home needs to be connected to the network, the new device is now connected to the non-carrier three-state two-bus, and the central controller sends the network name through the bus at a set interval, such as 10 minutes. When sending, the central controller needs to control the bus to switch from the power supply state to the communication state. After the bus is in the communication state, the central controller sends its network name through the bus. The new device can 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 the application through the bus and send the category and attributes to the central controller. After receiving the category and attribute information sent by the device, the central controller will add it to the network node list, assign it a network address, and send the assigned network address to the device through the bus. At the same time, it also synchronizes cloud platforms, mobile phone APPs and other devices to facilitate the subsequent devices of the smart home device to achieve network access management of the smart home device.

[0044] 2) Control and management

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

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

[0047] 3) Query management

[0048] When the master node needs to send a query command to the child node that joins the network, the master node switches the bus from the power supply state to the communication state, and sends the control command to the corresponding child node according to the set protocol mode. The set protocol mode includes the child node network address, read flag, attribute and attribute value. For example: read the light status, corresponding to the brightness attribute of the LED light, the value is 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 the air conditioner in the smart home, the central controller now switches the bus to the communication state, and then sends a status query instruction to the air conditioner through the bus, which can be sent in the form of the air conditioner network address, read flag, and register address corresponding to the status query instruction.

[0050] 4) Exit management

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

[0052] It can be seen that the management system of the present invention can be directly applied to the network node management of smart homes, and realizes the joining management, control management, query management and exit management of smart home devices. There is no need for manual configuration and no requirements for the timing of network access. The main node and the sub-node can communicate through the non-carrier three-state two-bus, and the sub-node attribute reporting can be completed autonomously, thus realizing plug-and-play management of smart home devices and greatly improving the construction efficiency of smart homes.

[0053] Network node management method embodiment based on non-carrier three-state two-bus

[0054] The present invention connects the master node and the sub-node through a non-carrier three-state two-bus. The master node sends the network name to the bus after switching the bus from the power supply state to the communication state; when the network name received by the sub-node is different from its own network name, the bus is reported through the bus when the bus is in the idle state; the master node switches the bus from the idle state to the communication state according to the report application, and allocates a network address to the sub-node through the bus; the sub-node saves the received network address, thereby realizing the management of the sub-node joining the network. The specific implementation process of the method has been described in detail in the system embodiment, and will not be repeated here.

Claims

1. A network node management method based on a non-carrier three-state two-bus, characterized in that: The method comprises the following steps: 1) Connect the master node and the sub-node via a non-carrier three-state two-bus; The non-carrier three-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 supply power to all sub-nodes. When it is in the communication state, it is responsible for communication between the master node and the sub-nodes. When it is in the idle state, it is responsible for reporting data applications by the sub-nodes. 2) The master node is used to switch the bus from the power supply state to the communication state at a set interval, and send the network name to the bus after the switch; 3) Each sub-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 reports the request through the bus when the bus is in an idle state; 4) After receiving the report application, the master node switches the bus from the idle state to the communication state, and instructs the sub-node that reports the application to send its category and attributes to the master node through the bus. After receiving the category and attribute information sent by the sub-node, the master node allocates a network address and network name for it, and sends the allocated network address and network name to the sub-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 non-carrier three-state two-bus according to claim 1, characterized in that: The master node switches the bus from the power supply state to the idle state according to the set frequency, so that the child node can submit a report application.

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

4. The network node management method based on non-carrier three-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 the power supply state to the communication state, 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 non-carrier three-state two-bus according to claim 1, characterized in that: The method also includes the exit management of the child nodes. The master node polls the child nodes in the network according to a certain period when the bus is in the communication state. If a child node has no response and no response 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 non-carrier three-state two-bus according to any one of claims 1 to 5, characterized in that: 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 achieves this by controlling the voltage range of the power supply to which it is connected.

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

8. The network node management method based on non-carrier three-state two-bus according to claim 6, characterized in that: The master node is provided with a sub-node conflict counting module, which includes a sampling resistor and a voltage sampling circuit, and is used to count the sub-nodes that have applied for interruption when the bus is in a communication state; the sub-node is provided with a constant current circuit, and is used to connect the constant current circuit with the bus when the sub-node applies for interruption, so that a constant current flows through the sampling resistor of the master node to form a unit voltage, and the master node determines whether there is a sub-node applying for interruption and the number of sub-nodes applying based on the voltage drop measured by the voltage sampling circuit.

9. A network node management system based on a non-carrier three-state two-bus, comprising a master node and a plurality of sub-nodes, characterized in that: The master node and the sub-node adopt the network node management method based on the non-carrier three-state two-bus according to 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

  • Two-bus emergency communication device, protocol and method for simultaneous power supply and communication

    CN110022253A

  • Direct-current carrier communication circuit with bus conflict detection function and communication method

    CN114785380A

  • Modulation and demodulation method for power supply communication two-bus

    CN114900394A