Node control method, network system, device and storage medium
By using the main network node to generate and propagate domain initialization information in the industrial Ethernet, combined with the adjacency diffusion method, the problem of low efficiency of device configuration management in the network domain is solved, and a more efficient node management and initialization process is achieved.
Patent Information
- Application Number
- CN202111589686.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-12-23
AI Technical Summary
In industrial Ethernet, device configuration information within the network domain requires manual management, resulting in low node processing efficiency and the lack of efficient member node management methods.
The master network node generates and sends domain initialization information, and uses the adjacency diffusion method to initialize the slave network nodes. Administrators only need to perform configuration intervention on the master network node to achieve rapid configuration initialization of member nodes in the network domain.
It improves the management and control efficiency of member nodes in the network domain, simplifies the initialization process, and is more efficient and simpler than the traditional manual configuration method.
Smart Images

Figure CN114448789B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to but are not limited to the field of communication technology, and in particular, to a node management method, a network system, a device, and a storage medium. Background Art
[0002] In the field of communication technology, especially industrial Ethernet, multiple devices (such as robotic arms, industrial equipment) are often required to work together to complete a process flow, and the same factory building or workspace is often equipped with equipment that can complete multiple process flows. At this time, in order to facilitate the control of the equipment, multiple devices are often managed in network domains according to the content of the process flow control to ensure that the communication signals between devices in the same network domain are only forwarded in the corresponding network domain. However, although the network domain management of the devices is performed in the related technology, the configuration and other information of each device in the network domain still needs to be manually controlled, resulting in low node processing efficiency. Therefore, there is an urgent need for a method for efficiently managing member nodes in the network domain. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] The embodiments of the present application provide a node management method, a network system, a device, and a storage medium, which can improve the management efficiency of member nodes in a first network domain.
[0005] In a first aspect, an embodiment of the present application provides a node management and control method, which is applied to a first master network node, including:
[0006] Determine a plurality of first slave network nodes in a first network domain according to the first routing table, and generate first domain initialization information for initializing each of the first slave network nodes;
[0007] The first domain initialization information is sent to an adjacent first network node to initialize the first network node and enable the first network node to initialize uninitialized first slave network nodes by means of adjacent diffusion; wherein the plurality of first slave network nodes include the first network node.
[0008] In a second aspect, an embodiment of the present application further provides a node management and control method, which is applied to a first slave network node, including:
[0009] receiving first domain initialization information from a first master network node;
[0010] Initialize according to the first domain initialization information;
[0011] According to the preset second routing table, the uninitialized first slave network node is initialized by adjacency diffusion.
[0012] In the third aspect, an embodiment of the present application also provides a network system, comprising at least one first network domain, wherein one of the first network domains comprises a first master network node and several first slave network nodes, wherein the first master network node is used to execute the node management and control method as described in any one of the first aspect; and the first slave network node is used for the node management and control method as described in any one of the second aspect.
[0013] In the fourth aspect, an embodiment of the present application further provides a device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program according to the node control method described in any one of the first aspect and / or the node control method described in any one of the second aspect.
[0014] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the node control method described in any one of the first aspect and / or the node control method described in any one of the second aspect.
[0015] According to the above-mentioned embodiments of the present application, at least the following beneficial effects are achieved: after the initialization of the first master network node is completed, a domain initialization message is sent to the surrounding adjacent first slave network nodes, and the initialized first slave network node continues to be initialized by adjacent diffusion to the adjacent uninitialized second network nodes; at this time, the management personnel only needs to perform configuration intervention on the first master network node to quickly realize the configuration initialization of each member node in the first network domain, and the initialization efficiency is higher and simpler. Compared with the traditional method that requires manual configuration intervention on each member node, the embodiments of the present application can improve the management and control efficiency of member nodes in the first network domain.
[0016] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0018] Figure 1 It is a flowchart of a node control method applied to a master node according to an embodiment of the present application;
[0019] Figure 2This is a network topology diagram of an application node management and control method shown in one embodiment of the present application;
[0020] Figure 3 is a schematic diagram of a process for managing slave nodes in an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of the process of adding a new node to a network domain in an embodiment of the present application;
[0022] Figure 5 It is a flow chart of a control method applied to a slave node in a network domain of an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0024] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0025] In the field of communication technology, especially industrial Ethernet, multiple devices (such as robotic arms, industrial equipment) are often required to work together to complete a process flow, and the same factory building or workspace is often equipped with equipment that can complete multiple process flows. At this time, in order to facilitate the control of the equipment, multiple devices are often managed in network domains according to the content of the process flow control to ensure that the communication signals between devices in the same network domain are only forwarded in the corresponding network domain. However, although the network domain management of the equipment is performed in the related technology, the configuration and other information of each device in the network domain still need to be manually controlled, resulting in low node processing efficiency. Therefore, a method for efficiently managing member nodes in the network domain is urgently needed. To this end, the embodiments of the present application propose a node control method, system, device and storage medium, which can improve the efficiency of member node control in the first network domain.
[0026] First, refer to Figure 1 As shown, the present application provides a node management and control method, which is applied to a first master network node, comprising:
[0027] Step S100: Determine a plurality of first slave network nodes in a first network domain according to a first routing table, and generate first domain initialization information for initializing each first slave network node.
[0028] It should be noted that the first master network node is used to manage a plurality of first slave network domain nodes in the first network domain, and the first network domain is composed of a first network domain node and a plurality of first slave network nodes.
[0029] It should be noted that both the first master network node and the first slave network node have routing functions, and both store routing tables containing information about all member nodes in the first network domain. The first routing table is a routing table stored by the first master network node. After the first master network node is initialized, the first domain initialization information is generated. The first domain initialization information contains information about the first master network node and parameters that need to be set for initialization of each first slave network node, such as the node identification number assigned to the first slave network node, so that each first slave network node can extract corresponding information from the first domain initialization information for initialization.
[0030] It should be noted that, for the first master network node, the initialization parameters configured by the user may be encapsulated into a domain initialization message, and the first master network node may trigger each first slave network node to perform initialization.
[0031] Step S200: Send first domain initialization information to an adjacent first network node to initialize the first network node and enable the first network node to initialize uninitialized first slave network nodes by adjacent diffusion; wherein the plurality of first slave network nodes include the first network node.
[0032] It should be noted that the first routing table includes path information to each first slave network node, and the adjacent diffusion method means that the initialized first slave network node sends the first domain initialization information to the adjacent and uninitialized first slave network node, thereby realizing step-by-step initialization. At this time, each initialized member node in the first network domain only needs to pay attention to whether its adjacent member node has completed initialization, thereby improving initialization efficiency.
[0033] It should be noted that the first network node is a first slave network node adjacent to the first master network node, that is, there is no member node of the first network domain between the first master network node and the first network node.
[0034] Therefore, after the initialization of the first master network node is completed, a domain initialization message is sent to the surrounding adjacent first slave network nodes, and the initialized first slave network node continues to be initialized by adjacent diffusion to the adjacent uninitialized second network nodes; at this time, the management personnel only needs to perform configuration intervention on the first master network node to quickly realize the configuration initialization of each member node in the first network domain. The initialization efficiency is higher and simpler. Compared with the traditional method that requires manual configuration intervention on each member node, the embodiment of the present application can improve the management and control efficiency of member nodes in the first network domain.
[0035] For example, Figure 2 The network topology shown includes devices A, B, C, D, E, F, and G, where devices A, B, C, D, and E are nodes of the first network domain Q1, device F is a node of the second network domain, and device G is a node of the third network domain. For the first network domain Q1, device A is the first master network node, and B, C, D, and E are the first slave network nodes; where B, C, and D are all adjacent to A. At this time, B, C, and D receive the first domain initialization information from A as the first network node. Then D receives the first domain initialization information from B. At this time, A only needs to pay attention to B, C, and D adjacent to it. After sending the first domain initialization information, it can use B to initialize E. Compared with the method of manually initializing A, B, C, D, and E respectively, the initialization efficiency is higher. At this time, the first master network node A can achieve faster control of B, C, D, and E, thereby improving the control efficiency of member nodes in the first network domain.
[0036] It should be noted that all member nodes in the first network domain are used to cooperate with each other to implement a type of product process or processing flow.
[0037] Understandably, referring to Figure 3 In the embodiment shown, the method further comprises:
[0038] Step S310: receiving an offline request from a second network node among a plurality of first slave network nodes.
[0039] It should be noted that the offline request may be sent by the second network node, or may be sent by a first slave network node adjacent to the second network node.
[0040] It should be noted that the second network node may be any one of several first slave network nodes.
[0041] Step S320: Determine the second network node that has not reported an online request within the first time period as being in an offline state.
[0042] Step S330: after the first time period, send a routing table update instruction to a third network node among the plurality of first slave network nodes.
[0043] It should be noted that by updating the routing table instruction, some paths between online member nodes in the first network domain can still be connected. In practical applications, this method can ensure the completion of some basic process steps.
[0044] Understandably, referring to Figure 3 In the illustrated embodiment, step S320 also includes: step S340, after the first time period, setting the node identification number of the second network node in the preset node management table to an idle state, wherein the node identification number is allocated by the first master network node.
[0045] It should be noted that after the node identification number of the second network node is set to an idle state, the node identification number may be allocated to a newly added network node.
[0046] For example, refer to Figure 2 In the illustrated embodiment, if the network node G requests to join the first network domain Q1 after the first slave network node E goes offline, the node identification number of the first slave network node E may be allocated to the network node G.
[0047] Understandably, referring to Figure 3 As shown, after step S340, the process further includes: step S350, sending a domain removal request to the second network node.
[0048] It should be noted that in some embodiments, although the second network node sends an offline request, the initialization information belonging to the first network domain is still online. At this time, in order to avoid conflicts with the existing member nodes in the first network domain, after the first master network node receives the online request sent by the second network node, it will send a domain removal request to the second network node to restart and reset, so that it can re-enter the first network domain. In this way, when replacing components / nodes, human configuration intervention can be reduced, thereby improving node management efficiency.
[0049] Understandably, referring to Figure 4 As shown, the method also includes:
[0050] Step S410: receiving a domain entry request of a node to be added forwarded by a second network node among a plurality of first slave network nodes.
[0051] Step S420: Obtain an idle first node identification number from a preset node management table.
[0052] Step S430: Send second domain initialization information to the node to be added according to the validity of the first node identification number.
[0053] It should be noted that the node to be added will be initialized and fed back to the first main network node after receiving the first domain initialization information. The first main network node will update the first routing table, and the first main network will initiate routing table synchronization to other member nodes, thereby ensuring that the routing table entries of all member nodes in the network domain are consistent.
[0054] It should be noted that through steps S310 to S340 and steps S410 to S430, it is possible to simplify troubleshooting of faulty nodes, and after the faulty components restore physical connections, they can be automatically added to simplify replacement efficiency.
[0055] It should be noted that the first node identification number is valid if it is not allocated to any first slave network node. If it is allocated to the first slave network node, the validity of the first slave network node needs to be determined.
[0056] It can be understood that the second network node is a first slave network node that is closest to the node to be added.
[0057] Exemplarily, for a node to be added, there is a first network domain and a second network domain adjacent to it. At this time, the node to be added will send routing addressing information to the network node A adjacent to it in the first network domain (the slave network node A can be the first master network node or the first slave network node in the first network domain), and send routing addressing information to the network node J adjacent to it in the second network domain. If the path fed back by the network node A to the first master network node in the first network domain is the shortest (the number of forwarding times is the least), the network node A is the second network node, otherwise the network node J is the second network node.
[0058] It can be understood that step S430 includes: obtaining a second network node that matches the first node identifier from a number of first slave network nodes; sending an online query request to the second network node, and setting the first node identifier corresponding to the response data of the online query request that has not been received as valid; obtaining second domain initialization information based on the valid first node flag number, and sending the second domain initialization information to the node to be added.
[0059] It is understandable that the method further includes: periodically synchronizing the first routing table to the first slave network node.
[0060] It should be noted that by periodically synchronizing the first routing table in real time, it can be ensured that the routing table of the first slave network node in the first network domain is consistent with that of the first master network node.
[0061] It is understandable that the method further includes: arranging the routing table items of the first routing table according to a preset sorting rule.
[0062] In some embodiments, the first routing table includes a node identifier. In the transmitted message, the node identifier is used to replace the destination address and the source address. In this case, the sorting rule can be set to sort by the node identifier; and then the next hop address can be quickly determined by the binary search method. In other embodiments, the sorting rule is to sort the destination address. In this case, the destination address can be quickly determined by the binary search method, and the next hop address can be determined from the first routing table.
[0063] It should be noted that each routing table entry includes the destination address, next hop address, network port, and forwarding times. The destination address includes the destination MAC and destination node ID. The next hop address is the next node to which the message needs to be forwarded. The network port indicates which network port is needed to reach the next hop address. The forwarding times indicate how many times it is necessary to forward at least to reach the destination address, representing the forwarding times of the shortest path required to reach the destination address.
[0064] It is understandable that the method also includes: receiving a hot plug event; wherein the hot plug event is generated according to the physical connectivity status between the second network domain and the first network domain; and sending the first domain information to the second network domain so that the second network domain performs domain merging negotiation.
[0065] It should be noted that, in some embodiments, the second network domain is adjacent to the first master network node, and the first master network node detects whether there is a physical interface connected to it and connected to the second network domain, and then reports the hot plug event; in other embodiments, the second network domain is physically connected to one of the first slave network nodes of the first network domain. At this time, the first slave network node detects that the connection state of the physical interface has changed and is connected to the second network domain, and sends a hot plug event to the first master network node. Similarly, for the second network domain, the same method will be used to obtain the hot plug event and send the second domain message of the second network domain to the first network domain.
[0066] It is understandable that the method also includes: receiving second domain information sent by the master node of the second network domain; comparing the first domain information of the first network domain with the second domain information according to preset negotiation conditions, and determining whether the warning event is sent by the first network domain or the second network domain.
[0067] It should be noted that, in some embodiments, the second domain information includes the address information and identification information of the second main network node of the second network domain, and the first network domain identifies whether it is a network domain through the address information and identification information of the second main network node. In some embodiments, the negotiation can be carried out according to the size of the IP addresses of the main nodes in the two network domains. In other embodiments, the negotiation can be carried out according to the priority of the services configured in the two network domains, and the high-priority service sends an early warning event, which can then remind the user that there is a domain conflict and which network domain has a higher priority.
[0068] Exemplary, reference Figure 2 In the embodiment shown, it is assumed that devices F and G are the second network domain, devices A, B, C, D, and E are the first network domain Q1, device A is the first master network node of the first network domain Q1, and device F is the second master network node of the second network domain. After device A receives the second domain information from device F, it finds that the service priority of the second network domain is lower, and the first master network node sends an early warning event. Similarly, after device F receives the first domain information from the first master network node, it finds that the priority of the first network domain is higher, and no processing is performed. In some embodiments, the first master network node will receive a reset instruction from the user for device F and then reset and restore device F. In other embodiments, automatic domain merging is set for each master node, and the negotiated first network domain will reset the second network domain after a preset period of time, so that each member node in the second network domain is added to the first network domain Q1 as a node to be added.
[0069] It is understandable that the first network domain is obtained through the following steps: within a preset second time period, the first main network node broadcasts a routing addressing request in a preset network topology to update the first routing table; after the preset second time period, the routing addressing of the first main network node is stopped to obtain the first routing table; and the first network domain is determined based on the first routing table.
[0070] For example, refer to Figure 2 In the embodiment shown, when the first network domain is initialized, A, B, C, D, and E will be activated, and F and G will be deactivated, or F and G will be disconnected from A, B, C, D, and E. At this time, A, B, C, D, and E will perform routing addressing in the second time period and obtain routing table entries that are the same as those in the first routing table. Similarly, the same method is used for F and G. It should be noted that activation means powering on or setting an identification or physical disconnection. It should be noted that after the first network domain is formed, when F is connected to any member node in the first network domain, when F initiates a routing addressing broadcast, the member nodes in the first network domain will not respond to it.
[0071] Understandably, referring to Figure 5 As shown, the present application also provides a node management and control method, which is applied to a first slave network node, comprising:
[0072] Step S500: Receive first domain initialization information from a first master network node.
[0073] It should be noted that, for the first slave network node adjacent to the first master network node, S500 indicates directly receiving the first domain initialization information sent from the first master network node. For the first slave network node separated from the first master network node by several first slave network nodes, step S500 comes from the first domain initialization information forwarded by the adjacent initialized first slave network node.
[0074] For example, refer to Figure 2 In the illustrated embodiment, taking the first slave network node E as an example, step S500 represents receiving the first domain initialization information from the first master network node A forwarded by B. Taking the first slave network node B as an example, step S500 represents receiving the first domain initialization information from the first master network node A.
[0075] Step S600: Initialize according to the first domain initialization information.
[0076] Step S700: Initialize an uninitialized first slave network node by adjacency diffusion according to a preset second routing table.
[0077] Therefore, after the initialization of the first master network node is completed, a domain initialization message is sent to the surrounding adjacent first slave network nodes, and the initialized first slave network node continues to be initialized by adjacent diffusion to the adjacent uninitialized second network nodes; at this time, the management personnel only needs to perform configuration intervention on the first master network node to quickly realize the configuration initialization of each member node in the first network domain. The initialization efficiency is higher and simpler. Compared with the traditional method that requires manual configuration intervention on each member node, the embodiment of the present application can improve the management and control efficiency of member nodes in the first network domain.
[0078] It should be noted that the execution order of step S600 and step S700 is not mandatory.
[0079] It is understandable that the priority parameter of the first slave network node is obtained; and a bandwidth configuration request is sent to the first master network node according to the priority parameter, wherein the bandwidth configuration request is used to determine the bandwidth occupancy ratio corresponding to each priority in the priority parameter.
[0080] It should be noted that the bandwidth occupancy ratio indicates how many sub-cycles each priority occupies. At this time, each first master network node is uniformly allocated. It should be noted that the priority parameter also includes the duration of the sub-cycle of the first slave network node. At this time, the first master network node can perform statistical processing based on all the first slave network nodes in the first network domain during the unified allocation, and then adapt each first slave network node.
[0081] It can be understood that the present application also proposes a network system, comprising at least one first network domain, wherein one of the first network domains comprises a first master network node and several first slave network nodes, wherein the first master network node is used to execute a node control method such as applied to the first master network node; and the first slave network node is applied to a node control method of the first slave network node.
[0082] It can be understood that the present application also proposes a device, including: a memory, a processor, and a computer program stored in the memory and runnable on the processor, and when the processor executes the computer program, it implements a node control method for applying a first master network node or implements a node control method for applying a first slave network node.
[0083] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0084] It should be noted that the electronic device in this embodiment can be applied as follows Figure 1 The node control method of the embodiment shown in the figure, the device in this embodiment and Figure 1 The node management and control methods shown have the same inventive concept, so these embodiments have the same implementation principles and technical effects, which will not be described in detail here.
[0085] The non-transient software program and instructions required to implement the information processing method of the above embodiment are stored in the memory. When executed by the processor, the information processing method of the above embodiment is executed, for example, the above described Figure 1 The corresponding method steps.
[0086] It can be understood that the present application also provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are used to implement a node control method applying a first main network node and / or implement a node control method applying a second network node.
[0087] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0088] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A node management and control method, applied to a first master network node, characterized in that: The method comprises: Determine a plurality of first slave network nodes in a first network domain according to the first routing table, and generate first domain initialization information for initializing each of the first slave network nodes; Sending the first domain initialization information to an adjacent first network node to initialize the first network node and enable the first network node to initialize an uninitialized first slave network node by means of adjacent diffusion; wherein the plurality of first slave network nodes include the first network node, and the adjacent diffusion means that the initialized first slave network node sends the first domain initialization information to the adjacent and uninitialized first slave network node to achieve step-by-step initialization; The first network domain is obtained by the following steps: In a preset second time period, the first master network node broadcasts a routing addressing request in a preset network topology to update a first routing table; After a preset second time period, stopping the routing addressing of the first main network node to obtain a first routing table; determining a first network domain according to the first routing table; Wherein, the method further comprises: receiving an offline request from a second network node among the plurality of first slave network nodes; Determine the second network node that has not reported an online request within the first time period as being in an offline state; After the first time period, sending a routing table update instruction to a third network node among the plurality of first slave network nodes, so as to maintain partial path connectivity between online member nodes in the first network domain through the routing table update instruction; After the first time period, setting the node identification number of the second network node in the preset node management table to an idle state, wherein the node identification number is allocated by the first master network node; A domain removal request is sent to the second network node to restart and reset, so as to re-enter the first network domain.
2. The method according to claim 1, characterized in that The method further comprises: receiving a domain entry request of a node to be added forwarded by a second network node among a plurality of first slave network nodes; Querying a preset node management table to obtain an idle first node identification number; According to the validity of the first node identification number, second domain initialization information is sent to the node to be added.
3. The method according to claim 2, characterized in that The second network node is one of the first slave network nodes that is closest to the node to be added.
4. The method according to claim 2, characterized in that: The sending, according to the validity of the first node identification number, the second domain initialization information to the node to be added comprises: Obtaining a second network node matching the first node identification number from a plurality of the first slave network nodes; Sending an online query request to the second network node, and setting a first node identifier corresponding to response data not received to the online query request to be valid; Obtain second domain initialization information according to the valid first node identification number, and send the second domain initialization information to the node to be added.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The first routing table is periodically synchronized to the first slave network node.
6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Arrange the routing table items of the first routing table according to a preset sorting rule.
7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Receiving a hot plug event; wherein the hot plug event is generated according to a physical connectivity state between the second network domain and the first network domain; The first domain information is sent to the second network domain, so that the second network domain performs domain merging negotiation.
8. The method according to claim 7, characterized in that The method further comprises: Receiving second domain information sent by a master node of the second network domain; According to a preset negotiation condition, the first domain information of the first network domain is compared with the second domain information to determine whether the first network domain or the second network domain sends the warning event.
9. A node management and control method, applied to a first slave network node, characterized in that: The method comprises: Receiving first domain initialization information from a first master network node; the first master network node and the first slave network node are both located in a first network domain; Initialize according to the first domain initialization information; Initializing the uninitialized first slave network node by means of adjacency diffusion according to the preset second routing table, wherein the adjacency diffusion means that the initialized first slave network node sends the first domain initialization information to the adjacent and uninitialized first slave network node to achieve step-by-step initialization; The first network domain is obtained by the following steps: In a preset second time period, the first master network node broadcasts a routing addressing request in a preset network topology to update a first routing table; After a preset second time period, stopping the routing addressing of the first main network node to obtain a first routing table; determining a first network domain according to the first routing table; Wherein, the method further comprises: receiving an offline request from a second network node among the plurality of first slave network nodes; Determine the second network node that has not reported an online request within the first time period as being in an offline state; After the first time period, sending a routing table update instruction to a third network node among the plurality of first slave network nodes, so as to maintain partial path connectivity between online member nodes in the first network domain through the routing table update instruction; After the first time period, setting the node identification number of the second network node in the preset node management table to an idle state, wherein the node identification number is allocated by the first master network node; A domain removal request is sent to the second network node to restart and reset, so as to re-enter the first network domain.
10. The method according to claim 9, characterized in that Obtaining a priority parameter of the first slave network node; A bandwidth configuration request is sent to the first master network node according to the priority parameter, wherein the bandwidth configuration request is used to determine a bandwidth occupancy ratio corresponding to each priority in the priority parameter.
11. A network system, characterized in that: It includes at least one first network domain, wherein one of the first network domains includes a first master network node and several first slave network nodes, wherein the first master network node is used to execute the node management and control method described in any one of claims 1 to 8; and the first slave network node is used to execute the node management and control method described in claim 9 or 10.
12. A device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the node control method as described in any one of claims 1 to 8 and / or the node control method as described in claim 9 or 10 when executing the computer program.
13. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to implement the node control method described in any one of claims 1 to 8 and / or the node control method described in claim 9 or 10 when executed by a processor.
