CN114430391A - Method, network system, device and storage medium for creating network domain - Google Patents

Method, network system, device and storage medium for creating network domain Download PDF

Info

Publication number
CN114430391A
CN114430391A CN202111589811.6A CN202111589811A CN114430391A CN 114430391 A CN114430391 A CN 114430391A CN 202111589811 A CN202111589811 A CN 202111589811A CN 114430391 A CN114430391 A CN 114430391A
Authority
CN
China
Prior art keywords
node
network domain
domain
network
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111589811.6A
Other languages
Chinese (zh)
Inventor
战晓莉
石金博
沙琪
陈理辉
王红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QKM Technology Dongguan Co Ltd
Original Assignee
QKM Technology Dongguan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by QKM Technology Dongguan Co Ltd filed Critical QKM Technology Dongguan Co Ltd
Priority to CN202111589811.6A priority Critical patent/CN114430391A/en
Publication of CN114430391A publication Critical patent/CN114430391A/en
Priority to PCT/CN2022/140893 priority patent/WO2023116805A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method, a network system, equipment and a storage medium for creating a network domain, which relate to but are not limited to the technical field of communication, are applied to an activated first node, and the method comprises the following steps: initiating a routing request to each second node in the network topology; automatically updating a preset routing table according to the response data of the second node in a preset time period; creating a first network domain according to a plurality of activated second nodes and first nodes recorded by a routing table; and updating the routing table according to the online states of the plurality of activated second nodes. The states of a plurality of devices which cooperate together are set to be activated respectively, the routing tables with the same routing table entry are obtained by sending routing addressing requests to update each other in a preset time period, and then the first network domains can be created through respective negotiation, and the routing table updates only the routing information in the routing table entry in the same first network domain, so that the creation mode of the network domain in the embodiment of the application has universality and lower cost.

Description

Method, network system, device and storage medium for creating network domain
Technical Field
Embodiments of the present application relate to, but not limited to, the field of communications technologies, and in particular, to a method, a network system, a device, and a storage medium for creating a network domain.
Background
In the field of communication technology, especially in industrial ethernet, because a plurality of nodes (such as mechanical arms or industrial control devices) are often required to communicate with each other for cooperative operation due to the requirement of a process flow, in order to facilitate the management of the same type of workpiece flow, a network domain is usually configured with a plurality of nodes belonging to a process flow process, but in practical applications, the network domain is usually configured based on a workshop or a factory building, and at this time, other industrial devices are included in the network domain, so that a transmission path between a plurality of industrial devices for cooperative operation in the network domain is long, unnecessary efficiency waste is caused, although a small network domain can be formed by isolating communication devices such as a router and a switch, when a plurality of network domains are provided, the establishment cost of the network domain is relatively high, and when a network topology change is performed, often, physical networking isolation needs to be performed again, which increases the creation cost of the network domain, and thus a general network domain establishment mode is urgently needed.
Disclosure of Invention
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.
The embodiment of the application provides a method, a network system, equipment and a storage medium for establishing a network domain, wherein the establishing mode of the network domain has universality and the establishing cost is low.
In a first aspect, an embodiment of the present application provides a method for creating a network domain, where the method is applied to a first node, and a state of the first node is active, where the method includes:
initiating a routing request to each second node in the network topology; wherein the routing request is used for responding to the second node requesting activation;
automatically updating a preset routing table according to the response data of the second node in a preset time period;
creating a first network domain according to the first node and a plurality of activated second nodes recorded by the routing table;
and triggering the updating of the routing table according to the online states of the plurality of activated second nodes.
In a second aspect, an embodiment of the present application further provides a network system, which includes a plurality of first nodes, where each first node performs the method for creating a network domain according to any one of the first aspects.
In a third aspect, an embodiment of the present application further provides an apparatus, including: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the method of network domain creation as described in any of the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for implementing the method for creating a network domain according to any one of the first aspect.
According to the above embodiments of the present application, at least the following advantages are provided: and respectively initiating a routing addressing request to activated second nodes in the same network topology through each activated first node, so that after a preset time period, a plurality of activated second nodes and first nodes are recorded in a routing table of each first node, and at the moment, after each first node stops updating of the respective routing table, each activated node comprises the first node and the second nodes responding to the routing addressing request, thereby forming a first network domain. Because the routing table of each member node in the first network domain is not updated automatically any more, each member node in the first network domain is not communicated with a third node outside the first network domain, and compared with a traditional gateway mode, the network domain creation mode of the embodiment of the application has the advantages of no need of adding gateway equipment, high universality and low cost.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
Fig. 1 is a schematic structural diagram of a first node according to an embodiment of the present application;
fig. 2 is a schematic network topology diagram of a network system according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for creating a network domain according to an embodiment of the present application;
fig. 4 is a schematic network topology diagram of another network system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the field of communication technology, especially in industrial ethernet, because a plurality of nodes (such as mechanical arms or industrial control devices) are often required to communicate with each other for cooperative operation due to the requirement of a process flow, in order to facilitate the management of the same type of workpiece flow, a network domain is usually configured with a plurality of nodes belonging to a process flow process, but in practical applications, the network domain is usually configured based on a workshop or a factory building, and at this time, other industrial devices are included in the network domain, so that a transmission path between a plurality of industrial devices for cooperative operation in the network domain is long, unnecessary efficiency waste is caused, although a small network domain can be formed by isolating communication devices such as a router and a switch, when a plurality of network domains are provided, the establishment cost of the network domain is relatively high, and when a network topology change is performed, therefore, a general network domain establishment method is urgently needed, and a network domain establishment method, a network system, a device and a storage medium are provided based on the general network domain establishment method, the network system, the device and the storage medium, and the network domain establishment method has universality and is low in domain establishment cost.
Referring to the embodiment shown in fig. 1, the embodiment of the present application provides a network system, which includes a plurality of first nodes, each of which includes a route addressing module 100, a network domain creating module 200, and a route updating module 300.
It should be noted that the route addressing module 100, the network domain creation module 200, and the route update module 300 are part of a creation protocol of the network domain. Each first node loads the creation protocol of the network domain at node initialization.
When the first node is used as an active node, the routing module 100 of the first node is configured to initiate a routing request to each second node in the network topology; wherein the routing request is for the second node requesting activation to respond. The network domain creating module 200 is configured to automatically update a preset routing table according to response data of the second node within a preset time period; and creating a first network domain according to the plurality of activated second nodes and the first node recorded by the routing table. The routing update module 300 is configured to trigger an update of the routing table according to the presence status of the plurality of activated second nodes.
It should be noted that the second node is relative to the first node, and in the network topology, for the first node, other nodes in the network topology are the second nodes. For example, referring to fig. 2, taking the first node as a as an example, B, C, D, E, F, G are all the second nodes in the network topology shown in fig. 2.
It should be noted that, the active node indicates that the current device is available for the protocol created by the network domain, such as determining whether the current device is available according to the power-on state of the node, and for example, in some embodiments, setting an active identifier for the device, and determining whether the current device is available according to the active identifier. Preferably, in this embodiment of the present application, whether the node is available is determined according to a power-on state of the node.
It should be noted that the routing request indicates that each first node has a routing function, and taking the network topology shown in fig. 2 as an example, A, B, C, D, E is activated at the same time, at this time, A, B, C, D, E sends the routing request to the corresponding second node, and after a period of time elapses, the first node a may obtain the routing table entries of a to E, the first node D may also obtain the routing table entries of a to E, and the first node E may also obtain the routing table entries of a to E. At this point, for each first node A, B, C, D, E, it may establish a first network domain Q according to its respective routing table entry, at which point the member nodes of the first network domain Q have A, B, C, D, E. At this time, the first packet can only be transmitted in the first network domain Q under the constraint of the routing table, regardless of whether it originates from the first node a or from the second node B.
It should be noted that each routing table entry includes a destination address, a next hop address, a network port, and forwarding times; wherein, the destination address comprises a destination MAC and a destination node ID; the next hop address is the next node to which the message needs to be forwarded; the portal indicates through which portal the next hop address needs to be reached. The forwarding number represents at least how many times the destination address is reached, and represents the forwarding number of the shortest path required to reach the destination address.
It should be noted that, when the first network domain is successfully created, and other first nodes located in the same network topology are performing network domain creation, the nodes in the first network domain may be considered to be unavailable. For example, referring to the embodiment shown in fig. 2, after the first network domain Q is created successfully, when the first node F is used as an active node to initiate a routing request, although the first nodes B, A, C, D, E are all connected, since B, A, C, D, E is already in the first network domain Q, it does not respond to the routing request of the first node F, and therefore, the first node F can only form a second network domain including the first node F.
Therefore, each activated first node respectively initiates a routing request to activated second nodes in the same network topology, so that after a preset time period, a plurality of activated second nodes and first nodes are recorded in a routing table of each first node, and at this time, after each first node stops updating of the respective routing table, each activated node comprises the first node and the second nodes responding to the routing request, thereby forming a first network domain. Because the routing table of each member node in the first network domain is not updated automatically any more, each member node in the first network domain is not communicated with a third node outside the first network domain, and compared with a traditional gateway mode, the network domain creation mode of the embodiment of the application has the advantages of no need of adding gateway equipment, high universality and low cost.
Those skilled in the art will appreciate that the schematic structure of the first node in fig. 1 and the topology of the network system shown in fig. 2 are not limited to the embodiments of the present application, and may include more or less nodes than those shown, or different network topologies.
Various embodiments of the network domain creation method of the present application are presented below. The method of the embodiments of the present application is further described with reference to the accompanying drawings. Referring to the embodiment shown in fig. 3, a method of network domain creation is applied to each activated first node, the method including:
step S100, a routing addressing request is sent to each second node in the network topology; wherein the routing request is for the second node requesting activation to respond.
It should be noted that the second node is relative to the first node, and is used for distinguishing a plurality of nodes in the network topology.
It should be noted that each first node in the network topology has a routing function.
It should be noted that each first node is loaded with a protocol created by the network domain. An active node indicates that the current device is available for the protocol created by the network domain, such as determining whether the device is available based on the power-on status of the node, and for example, in some embodiments, setting an active identifier for the device, and determining whether the device is available based on the active identifier. Preferably, in this embodiment of the present application, whether the node is available is determined according to a power-on state of the node.
And step S200, automatically updating a preset routing table according to the response data of the second node in a preset time period.
For example, referring to the embodiment of fig. 2, the network topology includes a plurality of first nodes a to G, and the first nodes a to E are activated, at this time, taking the first node a as an example, the first node a sends a routing request to each of the second nodes B to E, and since the second nodes B to E are all connected to the first node a, they all respond to the first node a. Therefore, the routing table includes information of a to E for the first nodes a to E.
Illustratively, with reference to the embodiment shown in FIG. 4, the network topology includes first nodes A-I. The first nodes A-E are activated, the first nodes G-I are activated, at the moment, each activated first node A-E, G-I initiates a routing addressing request, at the moment, G and A-E are not communicated, therefore, G-I does not respond to the first nodes A-E, at the moment, a routing table in the first nodes A-E only contains A-E, and a routing table of each first node in the first nodes G-I only contains G-I. Therefore, in the practical application process, for a plurality of nodes which cannot be isolated, more efficient network domain creation can be realized by simultaneously activating.
It should be noted that, when the first network domain is successfully created, and other first nodes located in the same network topology are performing network domain creation, the nodes in the first network domain may be considered to be unavailable. For example, referring to the embodiment shown in fig. 2, after the first network domain Q is created successfully, when the first node F is used as an active node to initiate a routing request, although the first nodes B, A, C, D, E are all connected, since B, A, C, D, E is already in the first network domain Q, it does not respond to the routing request of the first node F, and therefore, the first node F can only form a second network domain including the first node F.
It should be noted that the preset time period may be set manually, for example, 10min, or may be set to be longer, so as to ensure that the mutually-connected activated first nodes can acquire the routing information of the other node.
It should be noted that after a preset time period, for example, 10min is set, after 10min, each first node does not update the corresponding routing table any more.
Step S300, a first network domain is created according to the plurality of activated second nodes and the first nodes recorded by the routing table.
It should be noted that, after the automatic routing addressing function is stopped, each first node in the first network domain shares the routing table with the same entry, and a first packet initiated by any one first node in the first network domain is forwarded to other first nodes in the same domain under the action of the routing table. For example, referring to the embodiment shown in fig. 2, for the already created first network domain Q1, the first packet sent by the first node a may pass through the first node B, the first node E, the first node D, and the first node C, but may not pass through the first node F and the first node G.
And step S400, according to the online states of the plurality of activated second nodes, updating the routing table is triggered.
It should be noted that the plurality of activated second nodes in step S400 represent nodes located in the same first network domain as the first node. When one node (such as some equipment or components) is abnormal, the abnormal equipment can be removed/disconnected online, so that the updating of the routing table is triggered, and the operation of other normal equipment is not influenced. For example, referring to the embodiment shown in fig. 2, after the first node a fails, the first nodes B to E all perform corresponding routing table updates.
Therefore, each activated first node respectively initiates a routing request to activated second nodes in the same network topology, so that after a preset time period, a plurality of activated second nodes and first nodes are recorded in a routing table of each first node, and at this time, after each first node stops updating of the respective routing table, each activated node comprises the first node and the second nodes responding to the routing request, thereby forming a first network domain. Because the routing table of each member node in the first network domain is not updated automatically any more, each member node in the first network domain is not communicated with a third node outside the first network domain, and compared with a traditional gateway mode, the network domain creation mode of the embodiment of the application has the advantages of no need of adding gateway equipment, high universality and low cost.
It will be appreciated that the method further comprises: receiving second domain information of adjacent and physically connected second network domains and sending a first domain message to the second network domains; and performing domain merging processing according to the second domain information and the first domain information.
It should be noted that, in the industrial ethernet, there is often a cooperative operation that combines a plurality of sub-process flows to achieve higher efficiency, and at this time, network networking of the devices that combine the process flows can be rapidly achieved through the combination of the domains, thereby improving the efficiency of creating the network domains.
It should be noted that, in the domain merging process, the first network domain or the second network domain may perform calculation of a preset rule according to the received first domain information and the second domain information, so as to determine who initiates the domain merging request. The domain merging request indicates that the first network domain and the second network domain are merged into a new network domain, and after merging is completed, each member node in the first network domain and the second network domain shares a routing table. For example, referring to the embodiment shown in FIG. 4, after the first network domain Q1 and the second network domain Q2 are merged, the first nodes A E, G I all share the same routing table.
It should be noted that, in other embodiments, the domain merging process is to initiate a domain merging request to a terminal (e.g., an upper computer of a robot) so that a user determines who the user merges according to the first network domain information and the second network domain information, and thus, while it is ensured that a member node of one network domain is not affected, a node of the other network domain may be merged.
It can be understood that, according to the second domain information and the first domain information, the domain merging process is performed, which includes: and sending early warning information according to the second domain information and the first domain information, wherein the early warning information is used for requesting a user to select to initiate a restart request to the first network domain or the second network domain.
It should be noted that the early warning information is used to remind the user whether the first network domain is connected to the second network domain or not to perform domain merging processing. In some embodiments, the user issues an instruction for agreeing to merge, and the first network domain and the second network domain negotiate to determine whether to merge. In other embodiments, the user directly specifies the network domain that initiates the merge as the first network domain or the second network domain.
It should be noted that the information of the first network domain may be broadcast to each member node of the second network domain, so that each member node of the second network domain can determine whether to merge the node information in the first network domain into the routing table by itself, thereby completing the domain merging.
It will be appreciated that the method further comprises: receiving a restart request, wherein the restart request is used for requesting initialization of each member node of a first network domain; the first node and the activated second node are member nodes; a domain join request is sent to a second network domain, wherein the second network domain is in physical communication with the first network domain.
It should be noted that after the information of each member node of the first network domain is initialized, it does not have the attribute information of the first network domain, so when requesting to join the second network domain, the second network domain can join it as a discrete node, thereby implementing the combination of the first network domain and the second network domain.
It will be appreciated that the method further comprises: receiving a domain split request from one of the active second nodes; and removing the node information of one of the activated second nodes and updating the routing table according to the domain splitting request.
It should be noted that the convenience of replacing parts online is increased by the domain splitting request; when some equipment or parts are abnormal, the abnormal equipment can be removed/disconnected on line through the domain splitting request, and the operation of other normal equipment is not influenced; when the abnormal node occurs, the abnormal node can be positioned through the domain splitting request. It should be noted that the initiation of the domain split request may be initiated by means of hot plug.
It will be appreciated that the method further comprises: and setting the bandwidth priority according to the preset priority parameter.
It should be noted that, for each network domain, when applied to the field of industrial control, there may be types of messages in the network domain, such as isoch (real time message), async (asynchronous communication message), PTP (clock synchronization message), and other types of messages, where the messages have different real-time requirements and urgency, for example, in some applications, the priority order is: isoch > async > other types of messages. At the moment, the transmission of the messages is reasonably distributed by setting the bandwidth priority, so that each message is guaranteed to be analyzed and processed as much as possible in the limited bandwidth, and the phenomenon that one message is delayed and cannot be processed due to multiple types of the transmitted messages and large data volume is reduced, and network congestion is caused.
It should be noted that the priority parameter may be determined by each member node in the first network domain through negotiation, or may be determined by the master node in the first network domain according to the packet type of the slave node.
It is understood that setting the bandwidth priority according to the priority parameter includes: acquiring unit transmission time length corresponding to a first message with the highest priority; dividing a preset polling period according to unit transmission time length to obtain a plurality of sub-periods; and distributing the plurality of sub-periods according to the bandwidth occupation proportion in the priority parameter.
It should be noted that the polling period is a multiple of the unit transmission time length, and if the unit transmission time length is 1s, the polling period may be set to 7s, 8s, 9s, and so on. For another example, if the unit transmission time length is 2s, the polling period may be set to 4s, 8s, 10 s.
It should be noted that the priority parameter indicates the bandwidth occupation ratio of the sub-period occupied by the packet of each priority. At this time, according to the time sequence, a preset number of self-cycles is firstly allocated to the message types with high priority in the priority parameters, and then the message types with low priority are allocated.
Illustratively, taking the prioritization of the message types as an example, the network domain Q supports real-time messages and non-real-time messages (such as TCP/IP messages), wherein the priority of the real-time messages is higher than that of the non-real-time messages, the polling period is set to 2s, the unit transmission duration of the real-time messages is 0.5s, and the unit transmission duration of the non-real-time messages is 0.3 s. When each device in the network domain Q is initialized after the domain is created, acquiring unit transmission time length of the real-time message, obtaining 4 sub-periods at this time, then setting the number of the sub-periods occupied by the real-time message in the priority parameter as 1, allocating the first sub-period of the initial polling period to the real-time message, and allocating the subsequent 3 sub-periods to the non-real-time message. And when the non-real-time message types are multiple and the priorities are not consistent, allocating a sub-period to each message type in the non-real-time message according to the allocation modes of the real-time message and the non-real-time message.
It should be noted that the implementation of the bandwidth priority is in an FPGA (Programmable Gate Array) layer of the device, and a buffer is provided in the FPGA for buffering messages with different priorities, and when a message 1 with one priority is processed and a message 2 with another priority is received, the message 2 is stored in the buffer to wait for processing. It should be noted that in some embodiments, the cache may be partitioned according to priority. In some embodiments, the FPGA may also detect the cache, and when the cache is full, may choose to discard redundant packets or send an instruction to the neighboring node so that the neighboring node stops sending the corresponding packet.
It is understood that the priority parameter is generated by a master node of the first network domain, wherein the master node of the first network domain is the first node or one of several activated second nodes.
It will be appreciated that the method further comprises: and acquiring and storing the node identification of each member node in the first network domain.
It should be noted that each member node in the first network domain is assigned with a node identifier, and the node identifier (i.e., the node ID) may be automatically assigned by the master node of the first network domain or may be configured manually. Illustratively, referring to the embodiment shown in fig. 2, a-E of the first network domain Q are configured with node identifications 1 through 5, respectively. At this time, each member node a to E in the first network domain Q stores the mapping relationship between the node identifiers 1 to 5 and the corresponding member nodes.
It is to be appreciated that maintaining the node identification of each member node in the first network domain includes: and adding corresponding node identifiers in the routing table entries corresponding to each member node in the routing table.
Note that by providing a master node and automatically allocating a node ID by the master node, convenience in node ID allocation can be improved.
It will be appreciated that the method further comprises: the routing is performed by means of the node identification.
It should be noted that, the source address and the destination address are replaced by the node identifier, so that the routing addressing can be performed by the node identifier, and further, the bytes occupied by the transmission packet transmitted in the network domain can be shortened.
It is to be understood that the node identities of the member nodes are assigned and broadcast by the master node of the first network domain.
It is understood that the method further comprises: and sorting the routing table entries in the routing table according to a preset sorting rule.
Illustratively, in some embodiments, the numerical values of the destination addresses are arranged from large to small, and after the destination addresses are determined, half of the destination addresses can be quickly eliminated by a binary search method, so that the table lookup efficiency is improved.
It should be noted that, in other embodiments, the node identifier is filled in the position corresponding to the destination address in the packet transmitted in the first network domain, the sorting rule may be set to sort the node identifiers, and then the position of the node identifier may be determined directly by a binary search method. It should be noted that, in other embodiments, the node identifiers are in one-to-one correspondence with each member node in the first network domain, and since the node identifiers are ordered numbers, the mapping relationship between the node identifiers and the physical addresses of the member nodes may be stored by separate arrays, and then the physical address information of the member nodes corresponding to the node identifiers is determined by the array subscript, at this time, the sorting rule is set to sort the destination addresses in the routing table entry.
It should be noted that, when the user displays the first network domain, each member node may be identified by the node identifier, thereby simplifying management.
It will be appreciated that the present application also proposes an apparatus comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the computer program implementing the method of network domain creation as described above.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It should be noted that the device in this embodiment may be applied as a node of the module structure diagram of the embodiment shown in fig. 1, and the device in this embodiment and the method for creating a network domain shown in fig. 3 have the same inventive concept, so these embodiments have the same implementation principle and technical effect, and are not described in detail here.
The non-transitory software programs and instructions required to implement the information processing method of the above-described embodiments are stored in the memory, and when executed by the processor, perform the information processing method of the above-described embodiments, for example, perform the method steps corresponding to fig. 3 described above.
It is understood that the present application also provides a computer-readable storage medium storing computer-executable instructions for implementing the above-mentioned network domain creation method.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, 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 includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described, the present invention is not limited to the above embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention, and such equivalent modifications or substitutions are to be included within the scope of the present invention defined by the claims.

Claims (16)

1. A method of network domain creation, applied to a first node, the state of which is active; the method comprises the following steps:
initiating a routing request to each second node in the network topology; wherein the routing request is used for responding to the second node requesting activation;
automatically updating a preset routing table according to the response data of the second node in a preset time period;
creating a first network domain according to the first node and a plurality of activated second nodes recorded by the routing table;
and triggering the updating of the routing table according to the online states of the plurality of activated second nodes.
2. The method of claim 1, further comprising:
receiving second domain information of an adjacent and physically connected second network domain and sending a first domain message to the second network domain;
and carrying out domain merging processing according to the second domain information and the first domain information.
3. The method according to claim 2, wherein the performing domain merging processing according to the second domain information and the first domain information comprises:
and sending early warning information according to the second domain information and the first domain information, wherein the early warning information is used for requesting a user to select to initiate a restart request to the first network domain or the second network domain.
4. The method of claim 3, further comprising:
receiving a restart request, wherein the restart request is used for requesting initialization of each member node of the first network domain; wherein the first node and the activated second node are both the member nodes;
sending a domain join request to a second network domain, wherein the second network domain is in physical communication with the first network domain.
5. The method of claim 1, further comprising:
receiving a domain split request from one of the active second nodes;
and removing the node information of the one activated second node and updating the routing table according to the domain splitting request.
6. The method of any of claims 1 to 5, further comprising:
and setting the bandwidth priority according to the preset priority parameter.
7. The method of claim 6,
the setting of the bandwidth priority according to the preset priority parameter includes:
acquiring unit transmission time length corresponding to a first message with the highest priority;
dividing a preset polling period according to the unit transmission duration to obtain a plurality of sub-periods;
and distributing the plurality of sub-periods according to the bandwidth occupation proportion in the priority parameter.
8. The method of claim 6,
the priority parameter is generated by a master node of the first network domain, wherein the master node of the first network domain is the first node or one of the activated second nodes.
9. The method of any of claims 1 to 5, further comprising:
and acquiring and storing the node identification of each member node in the first network domain.
10. The method of claim 9, wherein saving the node identification of each member node in the first network domain comprises:
and adding corresponding node identifiers in the routing table entries corresponding to each member node in the routing table.
11. The method of claim 9, wherein after saving the node ID, the method further comprises:
and carrying out routing addressing through the node identification.
12. The method of claim 9, wherein the node identification of the member node is assigned and broadcast by a master node of the first network domain.
13. The method of claim 1, further comprising:
and sorting the routing table entries in the routing table according to a preset sorting rule.
14. A network system comprising a plurality of first nodes, each of which performs the method of network domain creation as claimed in any one of claims 1 to 13 as an active node.
15. An apparatus, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of network domain creation according to any of claims 1 to 13 when executing the computer program.
16. A computer-readable storage medium having stored thereon computer-executable instructions for implementing at least the method of network domain creation of any one of claims 1 to 13.
CN202111589811.6A 2021-12-23 2021-12-23 Method, network system, device and storage medium for creating network domain Pending CN114430391A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111589811.6A CN114430391A (en) 2021-12-23 2021-12-23 Method, network system, device and storage medium for creating network domain
PCT/CN2022/140893 WO2023116805A1 (en) 2021-12-23 2022-12-22 Network domain control method and apparatus, network system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111589811.6A CN114430391A (en) 2021-12-23 2021-12-23 Method, network system, device and storage medium for creating network domain

Publications (1)

Publication Number Publication Date
CN114430391A true CN114430391A (en) 2022-05-03

Family

ID=81310847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111589811.6A Pending CN114430391A (en) 2021-12-23 2021-12-23 Method, network system, device and storage medium for creating network domain

Country Status (1)

Country Link
CN (1) CN114430391A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023116805A1 (en) * 2021-12-23 2023-06-29 东莞市李群自动化技术有限公司 Network domain control method and apparatus, network system, and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119281A (en) * 2007-08-24 2008-02-06 中国科学院计算技术研究所 Method for controlling network congestion of sensor
US20100014444A1 (en) * 2006-10-12 2010-01-21 Reza Ghanadan Adaptive message routing for mobile ad hoc networks
CN102195885A (en) * 2011-05-27 2011-09-21 成都市华为赛门铁克科技有限公司 Message processing method and device
CN102711209A (en) * 2012-06-01 2012-10-03 广州市香港科大霍英东研究院 Dynamic self-organizing hierarchical routing method applied to wireless sensor network
CN103415054A (en) * 2013-09-03 2013-11-27 中南大学 Hierarchical routing algorithm based on distributed type wireless aggregation network
CN103414638A (en) * 2013-07-26 2013-11-27 华为技术有限公司 Message processing server and method and system for distributed message processing
CN103546372A (en) * 2006-11-27 2014-01-29 艾利森电话股份有限公司 Method and system for providing a routing architecture for overlay networks
US8989046B1 (en) * 2012-11-12 2015-03-24 The Aerospace Corporation Inter-domain routing message distribution through wide area broadcast channel
CN106375214A (en) * 2016-11-10 2017-02-01 北京邮电大学 SDN-based tiered routing path determination method and device
US20200204489A1 (en) * 2018-12-21 2020-06-25 Juniper Networks, Inc. System and method for user customization and automation of operations on a software-defined network
US20200322867A1 (en) * 2017-12-29 2020-10-08 Huawei Technologies Co., Ltd. Data Routing Method and Terminal
CN112866077A (en) * 2021-02-26 2021-05-28 哈尔滨工业大学(威海) Large-scale automatic networking method, management system, equipment and storage medium for modality fusion

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100014444A1 (en) * 2006-10-12 2010-01-21 Reza Ghanadan Adaptive message routing for mobile ad hoc networks
CN103546372A (en) * 2006-11-27 2014-01-29 艾利森电话股份有限公司 Method and system for providing a routing architecture for overlay networks
CN101119281A (en) * 2007-08-24 2008-02-06 中国科学院计算技术研究所 Method for controlling network congestion of sensor
CN102195885A (en) * 2011-05-27 2011-09-21 成都市华为赛门铁克科技有限公司 Message processing method and device
CN102711209A (en) * 2012-06-01 2012-10-03 广州市香港科大霍英东研究院 Dynamic self-organizing hierarchical routing method applied to wireless sensor network
US8989046B1 (en) * 2012-11-12 2015-03-24 The Aerospace Corporation Inter-domain routing message distribution through wide area broadcast channel
CN103414638A (en) * 2013-07-26 2013-11-27 华为技术有限公司 Message processing server and method and system for distributed message processing
CN103415054A (en) * 2013-09-03 2013-11-27 中南大学 Hierarchical routing algorithm based on distributed type wireless aggregation network
CN106375214A (en) * 2016-11-10 2017-02-01 北京邮电大学 SDN-based tiered routing path determination method and device
US20200322867A1 (en) * 2017-12-29 2020-10-08 Huawei Technologies Co., Ltd. Data Routing Method and Terminal
US20200204489A1 (en) * 2018-12-21 2020-06-25 Juniper Networks, Inc. System and method for user customization and automation of operations on a software-defined network
CN112866077A (en) * 2021-02-26 2021-05-28 哈尔滨工业大学(威海) Large-scale automatic networking method, management system, equipment and storage medium for modality fusion

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JEESOOK EUN等: "The implementation of domain routing protocol in hierarchical domain network model", 《2015 17TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM (APNOMS)》, 28 September 2015 (2015-09-28) *
黄泽昱: "多域网络的联合控制与管理", ,中国优秀硕士学位论文全文数据库 信息科技辑》, 15 March 2016 (2016-03-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023116805A1 (en) * 2021-12-23 2023-06-29 东莞市李群自动化技术有限公司 Network domain control method and apparatus, network system, and storage medium

Similar Documents

Publication Publication Date Title
US9667524B2 (en) Method to check health of automatically discovered controllers in software defined networks (SDNs)
US10218600B2 (en) Path computation element hierarchical software defined network control
US10027574B2 (en) Redundant pathways for network elements
EP2975807B1 (en) Method and apparatus for discovering openflow protocol-based control plane device
US9225641B2 (en) Communication between hetrogenous networks
CN108429680B (en) Route configuration method, system, medium and equipment based on virtual private cloud
CN111615812B (en) Configuration method intended to be implemented in a network using dynamic routing protocols
WO2021143279A1 (en) Method and device for segment routing service processing, routing equipment, and storage medium
US10404544B2 (en) Network topology determining method and apparatus, and centralized network status information storage device
CN113285876A (en) Routing method, routing device and computer readable storage medium
CN114448866B (en) Network domain management and control method, network system, device and storage medium
CN114430391A (en) Method, network system, device and storage medium for creating network domain
CN103037361A (en) Internet protocol (IP) distribution system in wireless Mesh network based on Ad-hoc and IP distribution method in the wireless Mesh network based on the Ad-hoc
US10686752B2 (en) Methods for configuring and managing an IP network, corresponding devices and computer programs
CN114448801B (en) Method for creating real-time channel group, network topology, equipment and storage medium
WO2023116805A1 (en) Network domain control method and apparatus, network system, and storage medium
JP6493945B2 (en) Green Power for high-density, large-scale networks (proxy table scaling)
CN116489068A (en) Automatic discovery of route reflection peer endpoints
CN114448789A (en) Node control method, network system, device and storage medium
EP1655928A1 (en) Method and apparatus for allocating a unique identifier to a network node
CN105122776B (en) Address acquiring method and network virtualization edge device
CN114466081B (en) Method, system, equipment and storage medium for managing and controlling nodes of real-time channel group
CN109922442B (en) Address resolution method for heterogeneous network of wireless multi-hop network and full-connection network
US20170033977A1 (en) Method, device and system for processing failure of network service node
CN112737946B (en) Route advertising method, device, storage medium and system for IPv6 network

Legal Events

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