CN115037670B - Network convergence method and device, electronic equipment and storage medium - Google Patents
Network convergence method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115037670B CN115037670B CN202210581308.4A CN202210581308A CN115037670B CN 115037670 B CN115037670 B CN 115037670B CN 202210581308 A CN202210581308 A CN 202210581308A CN 115037670 B CN115037670 B CN 115037670B
- Authority
- CN
- China
- Prior art keywords
- mac
- network node
- interface
- forwarding
- table item
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/18—Loop-free operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/122—Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
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 network convergence method, a network convergence device, electronic equipment and a storage medium. In the embodiment of the application, STP is not used in the two-layer network to avoid loops, but the network nodes in the two-layer network which are in a neighbor relation interact respective MAC addresses and MAC diffusion messages carrying related MAC table items which are newly added in a set period respectively, so that the deployment of the two-layer forwarding tables at each network node side is rapidly completed, the rapid convergence of the two-layer network is realized, and the network experience of the whole network is further improved; in addition, the two-layer network of the architecture has no limit on the number of network nodes, and improves the network applicability.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network convergence method, a device, an electronic device, and a storage medium.
Background
Existing two-layer networks typically circumvent loops by spanning tree Protocol (SPANNING TREE Protocol, STP). The network nodes running the STP protocol find loops in the two-layer network through mutual information, selectively block certain ports, and finally trim the loop network structure into a tree network structure without loops, thereby preventing the message from continuously growing and infinitely circulating in the loop network and avoiding the problem of reduced message processing capacity caused by repeated reception of the same message by the network nodes.
However, the convergence time of the network topology of the two-layer network with the architecture is generally long, generally in the second level, so that the network experience of the whole network is affected; also, such two-layer networks of architecture typically limit the number of network nodes, which in turn results in poor network applicability.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a network convergence method, a device, electronic equipment and a storage medium.
According to a first aspect of an embodiment of the present application, there is provided a network convergence method, the method being applied to any network node in a two-layer network, the method comprising:
For each interface on the self, when a first MAC address of a neighbor network node, which is broadcasted after power-on, of the neighbor network node connected with the interface is received through the interface, a first MAC table item comprising the interface, the first MAC address and a first hop count from the network node to the neighbor network node calculated by the self is generated, and the first MAC table item is added into a local two-layer forwarding table;
When a first MAC diffusion message which is sent by the neighbor network node and used for notifying the neighbor network node to newly add second MAC table items of other interfaces except the interface connected with the interface on the neighbor network node in a set period is received through the interface, judging whether a third MAC table item comprising a second MAC address in the second MAC table item exists in the two-layer forwarding table according to each second MAC table item carried in the first MAC diffusion message;
if the judgment result is negative, generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node, and adding the third MAC table item into the two-layer forwarding table, wherein the second forwarding hop count is obtained by adding 1 to the third forwarding hop count in the second MAC table item by the network node, and the third forwarding hop count is the forwarding hop count from the neighbor network node to the other network nodes calculated by the neighbor network node;
if yes, further judging whether the total number of all the third MAC table items reaches the set number;
If not, executing a step of generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node;
if the result is yes, if the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count in the forwarding hop counts included in all third MAC table items, no operation is performed;
If the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count of the second forwarding hop counts included in all the third MAC entries, executing the step of generating a third MAC entry including the interface, the second MAC address and the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node, and deleting the third MAC entry including the maximum forwarding hop count from the two-layer forwarding table;
When the first MAC diffusion message sent by each neighbor network node directly connected with the first MAC diffusion message is not received by the first MAC diffusion message in a first set duration, aiming at the MAC table items with the same MAC address in the two-layer forwarding table, setting the state of one MAC table item with the minimum forwarding hop number in the MAC table items as an activated state, and setting the states of other MAC table items except the MAC table item with the minimum forwarding hop number in the MAC table items as an inactivated state;
When a data message with a destination MAC address which is not the MAC address of the network node is received through the interface, forwarding the data message according to an MAC table item which is in an activated state in a current two-layer forwarding table and is matched with the destination MAC address of the data message.
According to a second aspect of embodiments of the present application, there is provided a network convergence device, the device being applied to any network node in a two-layer network, the device comprising:
The first processing module is used for generating a first MAC table item comprising the interface, the first MAC address and the first hop count calculated by the first processing module from the network node to the neighbor network node when receiving the first MAC address of the neighbor network node, which is broadcasted after the neighbor network node connected with the interface is electrified, through the interface, aiming at each interface on the self, and adding the first MAC table item into a local two-layer forwarding table;
the second processing module is configured to, when receiving, through the interface, a first MAC flooding packet sent by the neighboring network node and used for notifying the neighboring network node that the first MAC flooding packet includes second MAC entries of other interfaces on the neighboring network node except for an interface connected to the interface, and determining, for each second MAC entry carried in the first MAC flooding packet, whether a third MAC entry including a second MAC address in the second MAC entry exists in the two-layer forwarding table; if the judgment result is negative, generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node, and adding the third MAC table item into the two-layer forwarding table, wherein the second forwarding hop count is obtained by adding 1 to the third forwarding hop count in the second MAC table item by the network node, and the third forwarding hop count is the forwarding hop count from the neighbor network node to the other network nodes calculated by the neighbor network node; if yes, further judging whether the total number of all the third MAC table items reaches the set number; if not, executing a step of generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node; if the result is yes, if the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count in the forwarding hop counts included in all third MAC table items, no operation is performed; if the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count of the second forwarding hop counts included in all the third MAC entries, executing the step of generating a third MAC entry including the interface, the second MAC address and the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node, and deleting the third MAC entry including the maximum forwarding hop count from the two-layer forwarding table;
the setting module is used for setting the state of one MAC table item with the minimum forwarding hop number in the MAC table items to be an activated state and setting the states of other MAC table items except the MAC table item with the minimum forwarding hop number in the MAC table items to be a non-activated state aiming at the MAC table item with the same MAC address in the two-layer forwarding table when the first MAC diffusion message sent by each neighbor network node directly connected with the first MAC diffusion message is not received by the first MAC diffusion message in the first set time period;
and the forwarding module is used for forwarding the data message according to the MAC table item which is in an activated state and is matched with the destination MAC address of the data message in the current two-layer forwarding table when the data message of which the destination MAC address is not the MAC address of the network node is received through the interface.
According to a third aspect of embodiments of the present application, there is provided an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps for realizing the network convergence method are realized.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the method steps of the above-described network convergence method.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
in the embodiment of the application, STP is not used in the two-layer network to avoid loops, but the network nodes in the two-layer network which are in a neighbor relation interact respective MAC addresses and MAC diffusion messages carrying related MAC table items which are newly added in a set period respectively, so that the deployment of the two-layer forwarding tables at each network node side is rapidly completed, the rapid convergence of the two-layer network is realized, and the network experience of the whole network is further improved; in addition, the two-layer network of the architecture has no limit on the number of network nodes, and improves the network applicability.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flow chart of a network convergence method according to an embodiment of the present application;
FIG. 2A is a schematic diagram of a two-layer network according to an embodiment of the present application;
Fig. 2B is a schematic diagram of a message format of a first MAC diffusion message according to an embodiment of the present application;
FIG. 2C is a second schematic diagram of a two-layer network according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a network convergence device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the application. The word "if" or "if" as used herein may be interpreted as "at … …" or "when … …", depending on the context.
The embodiments of the present application will be described in detail.
The embodiment of the application provides a network convergence method, which is applied to any network node in a two-layer network, as shown in fig. 1, and can comprise the following steps:
S11, for each interface on the self, when a first MAC address of a neighbor network node, which is broadcasted after the neighbor network node connected with the interface is powered on, is received through the interface, a first MAC table item comprising the interface, the first MAC address and the first hop count of the network node to the neighbor network node calculated by the self is generated, and the first MAC table item is added into a local two-layer forwarding table.
In this step, the MAC entry in the local two-layer forwarding table may further include information such as a virtual local area network (Virtual Local Area Network, VLAN).
For example, as shown in fig. 2A, where the number of a part of network nodes in the two-layer network is shown, assuming that the interface on the network node with the number 22 (denoted as network node 22) connected to the network node with the number 32 (denoted as network node 32) is the interface 221, and assuming that the MAC address of the network node 32 is the MAC32, when the network node 32 receives the MAC32 broadcast after power-up through the interface 221, the network node 22 generates a MAC entry including the hop count (i.e., 1) of the network node 22 to the network node 32 calculated by the interface 221, the MAC32, and the network node 22, and adds the MAC entry to the local two-layer forwarding table.
Here, initially, the two-layer forwarding table on the network node 22 side may be empty.
S12, when a first MAC diffusion message which is sent by the neighbor network node and used for notifying the neighbor network node to newly add second MAC table items of other interfaces except the interface connected with the interface on the neighbor network node in a set period is received through the interface, judging whether a third MAC table item which comprises a second MAC address in the second MAC table item exists in a two-layer forwarding table according to each second MAC table item carried in the first MAC diffusion message; if not, executing step S13; when the determination result is yes, step S14 is performed.
In this step, the header of the first MAC flooding message carries a command field, and the content in the command field is used to characterize that the first MAC flooding message is a second MAC entry that is newly added in the set period and includes other interfaces on the source network node except for the interface connected to the peer neighbor network node, for example, the content in the command field may be 1.
In addition, in the embodiment of the present application, in order to improve network security of the two-layer network, when the network node receives, through the interface, the first MAC flooding packet sent by the neighboring network node, the network node may perform cyclic redundancy check code (Cyclic Redundancy, CRC) check on the first MAC flooding packet, and when the check passes, execute a step of determining, for each second MAC entry carried in the first MAC flooding packet, whether a third MAC entry including a second MAC address in the second MAC entry exists in the two-layer forwarding table.
The network node may use various existing CRC check methods when performing CRC check on the first MAC flooding packet, which will not be described in detail herein.
S13, generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count calculated by the network node to other network nodes corresponding to the second MAC address, and adding the third MAC table item to a two-layer forwarding table.
In this step, the second forwarding hop count is obtained by adding 1 to the third forwarding hop count in the second MAC entry by the network node, and the third forwarding hop count is calculated by the neighbor network node itself and is obtained by adding 1 to the forwarding hop count from the neighbor network node to other network nodes.
S14, further judging whether the total number of all the third MAC table items reaches the set number; if not, executing step S13; when the determination result is yes, step S15 is performed.
In this step, the set number may be set according to the actual network condition of the two-layer network, so as to satisfy the switching of the forwarding paths when the interfaces in the two-layer network fail.
S15, continuously judging whether the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count in the forwarding hop counts included in all third MAC table items; when the judgment result is yes, executing a step S16; if the determination result is negative, step S13, step S17, step S18, and step S19 are sequentially executed.
Here, step S17 may be performed first and then step S13 may be performed for the network node. The application is not limited to the order of the two steps.
S16, no operation is performed.
S17, deleting a third MAC table item comprising the maximum forwarding hop number from the two-layer forwarding table.
For example, still taking network node 22 in fig. 2A as an example, assume that network node 32 sent a first MAC flooding message to network node 22 at some point in time. The source MAC address of the first MAC flooding message is the MAC address of the network node 32 (i.e., MAC 32), the destination MAC address is the MAC address of the network node 22 (e.g., MAC 22), the content in the command field in the header of the first MAC flooding message is 1, and the first MAC flooding message carries 3 MAC entries, namely, MAC entry 1, MAC entry 2 and MAC entry 3. Here, the specific format of the first MAC diffusion packet may be as shown in fig. 2B.
It is assumed that the MAC entry 1 includes an interface (e.g., interface 321) on the network node 32 connected to the network node 31, a MAC address (e.g., MAC 31) of the network node 31, and a hop count (i.e., 1) calculated by the network node 32 from the network node 32 to the network node 31.
Included in MAC entry 2 are interface 321, the MAC address of network node 41 (e.g., MAC 41), and the number of hops (i.e., 2) network node 32 has calculated from network node 41 to network node 31.
Included in MAC entry 3 are an interface (e.g., interface 421) on network node 32 that is connected to network node 42, a MAC address of network node 42 (e.g., MAC 42), and a number of hops (i.e., 2) network node 42 has calculated from network node 32 to network node 31.
When the subsequent network node 22 receives the first MAC flooding message sent by the network node 32, the network node 22 determines, for the MAC entry 1, whether there is a MAC entry including the MAC address (i.e., MAC 31) in the MAC entry 1 in the local two-layer forwarding table; assuming that no MAC entry including MAC31 exists in the local two-layer forwarding table, the determination result is no, at this time, network node 22 generates a MAC entry including interface 221, MAC31, and the self-calculated number of hops per se to network node 31 (i.e., 2 (the number of hops per se to network node 31 calculated by network node 32 plus 1)) and adds it to the two-layer forwarding table.
For MAC entry 2, network node 22 also determines whether there is a MAC entry in the local two-layer forwarding table that includes the MAC address in MAC entry 2 (i.e., MAC 41); assuming that the MAC entries including MAC41 already exist in the local two-layer forwarding table, the network node 22 further determines whether the total number of all the MAC entries including MAC41 in the two-layer forwarding table reaches the set number (e.g., 4).
Assuming that the total number of all MAC entries including MAC41 is 3, the determination result is no, and at this time, network node 22 generates a MAC entry including interface 221, MAC41, and the self-calculated number of hops per se to network node 41 (i.e., 3 (the number of hops per se to network node 41 calculated by network node 32 plus 1)) and adds it to the two-layer forwarding table.
For MAC entry 3, network node 22 also determines whether there is a MAC entry in the local two-layer forwarding table that includes the MAC address in MAC entry 3 (i.e., MAC 42); assuming that the MAC entries including MAC42 already exist in the local two-layer forwarding table, the network node 22 will also further determine whether the total number of all the MAC entries including MAC42 in the two-layer forwarding table reaches the set number (e.g., 4) at this time.
Assuming that the total number of all MAC entries including MAC42 is 4, the determination result is yes, and at this time, network node 22 calculates whether the number of forwarding hops from network node 22 to the corresponding network node of MAC42 (i.e., network node 42) is not less than the maximum number of forwarding hops in all MAC entries including MAC 42.
Assuming that the determination is no, at this time, the network node 22 generates a MAC entry including the interface 221, the MAC42, and the self-to-network node 42 calculated forwarding hop count (i.e., 3 (the network node 32-to-network node 42 calculated forwarding hop count plus 1)) and adds the MAC entry to the two-layer forwarding table.
S18, when the first MAC diffusion message sent by each neighbor network node directly connected with the first MAC diffusion message is not received in the first set time, aiming at the MAC table items with the same MAC address in the two-layer forwarding table, setting the state of one MAC table item with the minimum forwarding hop count in the MAC table items as an activated state, and setting the states of other MAC table items except the MAC table item with the minimum forwarding hop count in the MAC table items as an inactivated state.
In this step, the first set duration may be set according to an actual network condition of the two-layer network.
It should be noted that, once the network node monitors that the network node itself does not receive the first MAC flooding packet sent by each neighboring network node directly connected to the network node itself within the first set duration, it means that network convergence of the entire two-layer network is completed, at this time, the two-layer forwarding table at the network node side includes MAC entries of MAC addresses of other network nodes except the network node in the two-layer network, and, for the same MAC address, all the set number of MAC entries are corresponding.
And S19, when the data message with the destination MAC address not being the MAC address of the network node is received through the interface, forwarding the data message according to the MAC table item which is in an activated state and is matched with the destination MAC address of the data message in the two-layer forwarding table.
It should be noted that, in the embodiment of the present application, the number of network nodes in the two-layer network is not limited, and after any network node in the two-layer network is powered on, each interface on the network node broadcasts its own third MAC address to its connected neighbor network node, so that the corresponding neighbor network node locally generates a MAC entry including the interface connected to the network node, the third MAC address and the hop count forwarded from the corresponding neighbor network node to the network node calculated by the corresponding neighbor network node. Here, the number of forwarding hops in this MAC entry is 1.
For each interface on the network node, when at least one MAC entry including other interfaces on the network node except the interface is newly added in a set period, the network node sends a first MAC flooding message carrying all newly added MAC entries to the neighbor network node connected thereto through the interface, and after the corresponding neighbor network node receives the first MAC flooding message, the related operation performed by the corresponding neighbor network node is similar to the related operation performed by the network node after the network node receives the first MAC flooding message, which will not be described in detail herein.
Here, the setting period may be set according to actual requirements of the two-layer network.
In addition, if the network node detects that the network node does not have a new MAC entry in the set period, the network node will not send the first MAC flooding message to all the neighboring network nodes in this case.
Further, in the embodiment of the present application, the network node may further perform the following operations:
When the interface is monitored to be faulty or the interface is recovered to be normal from the fault, changing the state of the MAC table item which is in the active state and comprises the interface in the two-layer forwarding table into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the MAC address in the MAC table item which is in the inactive state and comprises the interface and the next smallest forwarding hop number in the two-layer forwarding table into an active state for each MAC table item which is changed into the inactive state; and
And sending a second MAC diffusion message for notifying the local MAC table item with changed state to a neighbor network node connected with other interfaces through other interfaces except the interfaces, wherein the MAC table item with changed state is changed into the MAC table item with inactive state.
After receiving a second MAC flooding message sent by the network node, the subsequent corresponding neighboring network node determines, for each MAC entry carried in the second MAC flooding message, whether a local two-layer forwarding table includes an interface for receiving the second MAC flooding message and a MAC entry of a MAC address in the second MAC entry; if the judgment result is negative, no operation is performed; when the judging result is yes, for each MAC table item carried in the second MAC diffusion message, changing the state of the MAC table item which is in an activated state and comprises the interface receiving the second MAC diffusion message and the MAC address in the MAC table item in the local two-layer forwarding table to an inactivated state, and changing the state of the MAC table item which is in the inactivated state and comprises the MAC address in the MAC table item, the interface receiving the second MAC diffusion message and the MAC table item with the next smallest forwarding hop number in the local two-layer forwarding table to an activated state; and sending the second MAC diffusion message for notifying the local MAC table item with changed state to the neighbor network node connected with other interfaces through other interfaces except the interface for receiving the second MAC diffusion message, wherein the MAC table item with changed state is changed into the MAC table item with inactive state.
In this way, the relevant network nodes in the whole two-layer network can change the state of the relevant MAC table item in time quickly so as to ensure the normal forwarding of the subsequent relevant data message.
It should be noted that, unlike the message format of the second MAC diffusion message that is similar to the message format of the first MAC diffusion message, the content in the command field carried in the header of the second MAC diffusion message is used to characterize the MAC entry of the source network node of the second MAC diffusion message that changes its own state, for example, the content in the command field may be 2.
For example, as shown in fig. 2C, assuming that the network node denoted as network node 43 monitors that the interface (e.g., interface 431) on itself is failed, the network node 43 changes the state of the MAC entry in the local two-layer forwarding table that is in the active state and includes the interface 431 to the inactive state, and changes the state of the MAC address in the local two-layer forwarding table that is in the inactive state and includes the MAC address in the MAC entry that is changed to the inactive state, the interface 431, and the MAC entry with the next smallest forwarding hop number to the active state for each MAC entry that is changed to the inactive state; and transmitting a second MAC flooding message for notifying the local state-changed MAC entry to the neighbor network node connected to the other interface through the other interface except the interface 431 on the self body, wherein the state-changed MAC entry is changed to the inactive state.
The network node (denoted as network node 33) with the subsequent hypothesis number 33 receives the second MAC flooding message sent by the network node 43, and determines, for each MAC table carried in the second MAC flooding message, whether a local two-layer forwarding table includes an interface (e.g., interface 331) for receiving the second MAC flooding message and a MAC table of a MAC address in the second MAC table; if the judgment result is negative, no operation is performed; when the judging result is yes, for each MAC table item carried in the second MAC diffusion message, changing the state of the MAC table item which is in an activated state and comprises the interface 331 and the MAC address in the second MAC table item into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the MAC address in the second MAC table item, the interface 331 and the next smallest forwarding hop number in the second MAC diffusion message into an active state; and transmitting a second MAC flooding message for notifying the local MAC table item with changed state to the neighbor network node connected with other interfaces through other interfaces except the interface 331, wherein the MAC table item with changed state is changed into the MAC table item with inactive state.
Still further, in an embodiment of the present application, the network node may further perform the following operations:
When a second MAC diffusion message which is sent by the neighbor network node and used for notifying the MAC table items with changed states on the neighbor network node is received through the interface, judging whether a fifth MAC table item comprising the interface and a fourth MAC address in the fourth MAC table item exists in a two-layer forwarding table according to each fourth MAC table item carried in the second MAC diffusion message;
If the judgment result is negative, no operation is performed;
When the judgment result is yes, for each fourth MAC table item, changing the state of the MAC table item which is in an activated state and comprises the interface and the fourth MAC address in the fourth MAC table item into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the fourth MAC address in the fourth MAC table item, the interface and the next smallest forwarding hop number in the second forwarding table into an activated state; and sending a second MAC diffusion message for notifying the local MAC table item with changed state to the neighbor network node connected with other interfaces through other interfaces except the interfaces on the self body, so that other relevant network nodes can change the state of the relevant MAC table item in time, and the normal forwarding of the subsequent relevant data message is ensured. Here, the MAC entry whose state is changed is a MAC entry changed to an inactive state.
In addition, in the present application, the network node may further perform the following operations:
When the network node is a designated network node, if a third MAC diffusion message which is sent by a controller in the two-layer network and is used for indicating the network node to delete the MAC table entry is received, deleting the MAC table entry in the two-layer forwarding table, sending the third MAC diffusion message to all the neighbor network nodes, and executing the step of broadcasting the third MAC address of the network node to the neighbor network nodes connected with the network node through each interface of the network node when the second set time length is reached;
if a third MAC diffusion message sent by a neighbor network node of the device is received, no operation is performed; or alternatively
When the network node is not the designated network node, if a third MAC flooding message sent by a neighboring network node (possibly the designated network node or not) of the network node is received, judging whether a two-layer forwarding table is empty, if yes, the third MAC flooding message sent by other neighboring network nodes is received before, the related MAC entries are deleted, at this time, no operation is performed, if no, the MAC entries in the two-layer forwarding table are deleted, the third MAC flooding message is sent to all neighboring network nodes, and when a second set duration is reached, the step of broadcasting the own third MAC address to the neighboring network nodes connected to the two-layer forwarding table through each interface is executed.
Through this operational flow, network nodes in the two-layer network can re-perform network convergence.
Here, the message format of the third MAC diffusion message may be similar to the message format of the first MAC diffusion message, unlike the foregoing, where the content in the command field carried in the header of the third MAC diffusion message is used to instruct the network node to delete the local MAC entry, for example, the content in the command field may be 3 or the like.
The second set duration may be set according to an actual network condition of the two-layer network. Once the second set period of time is reached, it means that each network node in the two-layer network has deleted the relevant MAC entry, and network convergence can be restarted.
According to the technical scheme, in the embodiment of the application, STP is not used in the two-layer network to avoid loops, but the network nodes in the two-layer network which are in a neighbor relation interact respective MAC addresses and MAC diffusion messages carrying related MAC table items which are newly added in a set period respectively, so that the deployment of the two-layer forwarding tables at each network node side is rapidly completed, the rapid convergence of the two-layer network is realized, and the network experience of the whole network is further improved; in addition, the two-layer network of the architecture has no limit on the number of network nodes, and improves the network applicability.
Based on the same inventive concept, the application also provides a network convergence device, which is applied to any network node in the two-layer network, and the structure schematic diagram of the device is shown in fig. 3, and specifically includes:
the first processing module 31 is configured to, for each interface on the self, generate, when receiving, through the interface, a first MAC address of a neighboring network node that is broadcast by the neighboring network node connected to the interface after power-on, a first MAC entry including the interface, the first MAC address, and a first hop count calculated from the network node to the neighboring network node by the self, and add the first MAC entry to a local two-layer forwarding table;
A second processing module 32, configured to, when receiving, through the interface, a first MAC flooding packet sent by the neighboring network node and used for notifying the neighboring network node that the first MAC flooding packet includes second MAC entries of other interfaces on the neighboring network node except for an interface connected to the interface, determine, for each second MAC entry carried in the first MAC flooding packet, whether a third MAC entry including a second MAC address in the second MAC entry exists in the two-layer forwarding table; if the judgment result is negative, generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node, and adding the third MAC table item into the two-layer forwarding table, wherein the second forwarding hop count is obtained by adding 1 to the third forwarding hop count in the second MAC table item by the network node, and the third forwarding hop count is the forwarding hop count from the neighbor network node to the other network nodes calculated by the neighbor network node; if yes, further judging whether the total number of all the third MAC table items reaches the set number; if not, executing a step of generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node; if the result is yes, if the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count in the forwarding hop counts included in all third MAC table items, no operation is performed; if the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count of the second forwarding hop counts included in all the third MAC entries, executing the step of generating a third MAC entry including the interface, the second MAC address and the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node, and deleting the third MAC entry including the maximum forwarding hop count from the two-layer forwarding table;
A setting module 33, configured to, when it is monitored that the first MAC flooding packet sent by each neighboring network node directly connected to the first MAC flooding packet is not received by the first MAC flooding packet within a first set period, set, for a MAC entry including the same MAC address in the two-layer forwarding table, a state of one MAC entry including the minimum number of forwarding hops in the MAC entries to an active state, and set a state of other MAC entries, except for the MAC entry including the minimum number of forwarding hops, in the MAC entries to an inactive state;
And the forwarding module 34 is configured to forward, when receiving a data packet with a destination MAC address that is not the MAC address of the network node through the interface, the data packet according to a MAC entry in the current two-layer forwarding table that is in an active state and matches with the destination MAC address of the data packet.
Preferably, the apparatus further comprises:
a broadcast transmitting module (not shown in fig. 3) for broadcasting, after power-up, own third MAC address to its connected neighbor network nodes through each interface on itself, respectively; and for each interface on the network node, when at least one MAC table item comprising other interfaces except the interface on the network node is newly added in the set period, sending a first MAC diffusion message carrying all newly added MAC table items to the neighbor network node connected with the network node through the interface.
Preferably, the apparatus further comprises:
A third processing module (not shown in fig. 3), configured to change the state of the MAC entry in the two-layer forwarding table that is in the active state and includes the interface to the inactive state, and change the state of the MAC entry in the two-layer forwarding table that is in the inactive state and includes the MAC address in the MAC entry in the two-layer forwarding table that is changed to the inactive state and the interface and the MAC entry with the next smallest forwarding hop number to the active state, for each MAC entry that is changed to the inactive state, when it is monitored that the interface fails or the interface is recovered from the failure to normal; and sending a second MAC diffusion message for notifying the local MAC table entry with the changed state to the neighbor network node connected with the other interfaces through the other interfaces except the interface, wherein the MAC table entry with the changed state is changed into the MAC table entry with the inactive state.
Preferably, the apparatus further comprises:
A fourth processing module (not shown in fig. 3), configured to, when receiving, through the interface, a second MAC flooding packet sent by the neighboring network node and used to notify that a state on the neighboring network node changes, determine, for each fourth MAC entry carried in the second MAC flooding packet, whether a fifth MAC entry including the interface and a fourth MAC address in the fourth MAC entry exists in the two-layer forwarding table; if the judgment result is negative, no operation is performed; when the judgment result is yes, for each fourth MAC table item, changing the state of the MAC table item which is in an activated state and comprises the interface and the fourth MAC address in the fourth MAC table item into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the fourth MAC address in the fourth MAC table item, the interface and the next smallest forwarding hop number in the second forwarding table into an activated state; and sending a second MAC diffusion message for notifying the local MAC table entry with the changed state to the neighbor network node connected with the other interfaces through the other interfaces except the interface, wherein the MAC table entry with the changed state is changed into the MAC table entry with the inactive state.
Preferably, the apparatus further comprises:
A fifth processing module, configured to, when the network node is a designated network node, delete a MAC entry in the two-layer forwarding table if a third MAC flooding packet sent by the controller in the two-layer network for instructing the network node to delete the MAC entry is received, send the third MAC flooding packet to all neighboring network nodes, and when a second set duration is reached, perform a step of broadcasting a third MAC address of the neighboring network node connected to the third MAC flooding packet through each interface of the third processing module;
If the third MAC diffusion message sent by the own neighbor network node is received, no operation is performed; or alternatively
When the network node is not a designated network node, if the third MAC flooding message sent by the own neighbor network node is received, judging whether the two-layer forwarding table is empty, if yes, not performing any operation, if no, deleting the MAC entry in the two-layer forwarding table, sending the third MAC flooding message to all the neighbor network nodes, and when the second set duration is reached, executing the step of broadcasting the own third MAC address to the neighbor network nodes connected with the network node through each interface on the network node.
According to the technical scheme, in the embodiment of the application, STP is not used in the two-layer network to avoid loops, but the network nodes in the two-layer network which are in a neighbor relation interact respective MAC addresses and MAC diffusion messages carrying related MAC table items which are newly added in a set period respectively, so that the deployment of the two-layer forwarding tables at each network node side is rapidly completed, the rapid convergence of the two-layer network is realized, and the network experience of the whole network is further improved; in addition, the two-layer network of the architecture has no limit on the number of network nodes, and improves the network applicability.
An embodiment of the present application also provides an electronic device, as shown in fig. 4, including a processor 41 and a machine-readable storage medium 42, the machine-readable storage medium 42 storing machine-executable instructions executable by the processor 41, the processor 41 being caused by the machine-executable instructions to: and the step of realizing the network convergence method.
The machine-readable storage medium may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. In the alternative, the machine-readable storage medium may also be at least one memory device located remotely from the foregoing processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of the above-described network convergence method.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the application.
Claims (12)
1. A method of network convergence, the method being applied to any network node in a two-layer network, the method comprising:
For each interface on the self, when a first MAC address of a neighbor network node, which is broadcasted after power-on, of the neighbor network node connected with the interface is received through the interface, a first MAC table item comprising the interface, the first MAC address and a first hop count from the network node to the neighbor network node calculated by the self is generated, and the first MAC table item is added into a local two-layer forwarding table;
When a first MAC diffusion message which is sent by the neighbor network node and used for notifying the neighbor network node to newly add second MAC table items of other interfaces except the interface connected with the interface on the neighbor network node in a set period is received through the interface, judging whether a third MAC table item comprising a second MAC address in the second MAC table item exists in the two-layer forwarding table according to each second MAC table item carried in the first MAC diffusion message;
if the judgment result is negative, generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node, and adding the third MAC table item into the two-layer forwarding table, wherein the second forwarding hop count is obtained by adding 1 to the third forwarding hop count in the second MAC table item by the network node, and the third forwarding hop count is the forwarding hop count from the neighbor network node to the other network nodes calculated by the neighbor network node;
if yes, further judging whether the total number of all the third MAC table items reaches the set number;
If not, executing a step of generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node;
if the result is yes, if the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count in the forwarding hop counts included in all third MAC table items, no operation is performed;
If the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count of the second forwarding hop counts included in all the third MAC entries, executing the step of generating a third MAC entry including the interface, the second MAC address and the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node, and deleting the third MAC entry including the maximum forwarding hop count from the two-layer forwarding table;
When the first MAC diffusion message sent by each neighbor network node directly connected with the first MAC diffusion message is not received by the first MAC diffusion message in a first set duration, aiming at the MAC table items with the same MAC address in the two-layer forwarding table, setting the state of one MAC table item with the minimum forwarding hop number in the MAC table items as an activated state, and setting the states of other MAC table items except the MAC table item with the minimum forwarding hop number in the MAC table items as an inactivated state;
When a data message with a destination MAC address which is not the MAC address of the network node is received through the interface, forwarding the data message according to an MAC table item which is in an activated state in a current two-layer forwarding table and is matched with the destination MAC address of the data message.
2. The method according to claim 1, wherein the method further comprises:
After power-on, broadcasting own third MAC address to the neighbor network nodes connected with the network nodes through each interface on the network node; and
And for each interface on the network node, when at least one MAC table item comprising other interfaces except the interface on the network node is newly added in the set period, sending a first MAC diffusion message carrying all newly added MAC table items to the neighbor network node connected with the network node through the interface.
3. The method according to claim 1, wherein the method further comprises:
When the interface is monitored to be faulty or the interface is recovered to be normal from the fault, changing the state of the MAC table item which is in the active state and comprises the interface in the two-layer forwarding table into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the MAC address in the MAC table item which is in the inactive state and comprises the interface and the next smallest forwarding hop number in the two-layer forwarding table into an active state for each MAC table item which is changed into the inactive state; and
And sending a second MAC diffusion message for notifying the local MAC table item with changed state to a neighbor network node connected with other interfaces through other interfaces except the interfaces, wherein the MAC table item with changed state is changed into an inactive state.
4. The method according to claim 1, wherein the method further comprises:
When a second MAC diffusion message which is sent by the neighbor network node and used for notifying the MAC table items with changed states on the neighbor network node is received through the interface, judging whether a fifth MAC table item comprising the interface and a fourth MAC address in the fourth MAC table items exists in the two-layer forwarding table according to each fourth MAC table item carried in the second MAC diffusion message;
If the judgment result is negative, no operation is performed;
when the judgment result is yes, for each fourth MAC table item, changing the state of the MAC table item which is in an activated state and comprises the interface and the fourth MAC address in the fourth MAC table item into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the fourth MAC address in the fourth MAC table item, the interface and the next smallest forwarding hop number in the second forwarding table into an activated state; and
And sending a second MAC diffusion message for notifying the local MAC table item with changed state to a neighbor network node connected with other interfaces through other interfaces except the interfaces, wherein the MAC table item with changed state is changed into an inactive state.
5. The method according to claim 2, wherein the method further comprises:
when the network node is a designated network node, if a third MAC diffusion message which is sent by a controller in the two-layer network and is used for indicating the network node to delete a local MAC table entry is received, deleting the MAC table entry in the two-layer forwarding table, sending the third MAC diffusion message to all neighbor network nodes, and executing the step of broadcasting the third MAC address of the network node to which the network node is connected through each interface of the network node when a second set duration is reached;
If the third MAC diffusion message sent by the own neighbor network node is received, no operation is performed; or alternatively
When the network node is not a designated network node, if the third MAC flooding message sent by the own neighbor network node is received, judging whether the two-layer forwarding table is empty, if yes, not performing any operation, if no, deleting the MAC entry in the two-layer forwarding table, sending the third MAC flooding message to all the neighbor network nodes, and when the second set duration is reached, executing the step of broadcasting the own third MAC address to the neighbor network nodes connected with the network node through each interface on the network node.
6. A network convergence device, the device being applied to any network node in a two-layer network, the device comprising:
The first processing module is used for generating a first MAC table item comprising the interface, the first MAC address and the first hop count calculated by the first processing module from the network node to the neighbor network node when receiving the first MAC address of the neighbor network node, which is broadcasted after the neighbor network node connected with the interface is electrified, through the interface, aiming at each interface on the self, and adding the first MAC table item into a local two-layer forwarding table;
the second processing module is configured to, when receiving, through the interface, a first MAC flooding packet sent by the neighboring network node and used for notifying the neighboring network node that the first MAC flooding packet includes second MAC entries of other interfaces on the neighboring network node except for an interface connected to the interface, and determining, for each second MAC entry carried in the first MAC flooding packet, whether a third MAC entry including a second MAC address in the second MAC entry exists in the two-layer forwarding table; if the judgment result is negative, generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node, and adding the third MAC table item into the two-layer forwarding table, wherein the second forwarding hop count is obtained by adding 1 to the third forwarding hop count in the second MAC table item by the network node, and the third forwarding hop count is the forwarding hop count from the neighbor network node to the other network nodes calculated by the neighbor network node; if yes, further judging whether the total number of all the third MAC table items reaches the set number; if not, executing a step of generating a third MAC table item comprising the interface, the second MAC address and the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node; if the result is yes, if the second forwarding hop count from the network node to other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count in the forwarding hop counts included in all third MAC table items, no operation is performed; if the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node is not less than the maximum forwarding hop count of the second forwarding hop counts included in all the third MAC entries, executing the step of generating a third MAC entry including the interface, the second MAC address and the second forwarding hop count from the network node to the other network nodes corresponding to the second MAC address calculated by the network node, and deleting the third MAC entry including the maximum forwarding hop count from the two-layer forwarding table;
the setting module is used for setting the state of one MAC table item with the minimum forwarding hop number in the MAC table items to be an activated state and setting the states of other MAC table items except the MAC table item with the minimum forwarding hop number in the MAC table items to be a non-activated state aiming at the MAC table item with the same MAC address in the two-layer forwarding table when the first MAC diffusion message sent by each neighbor network node directly connected with the first MAC diffusion message is not received by the first MAC diffusion message in the first set time period;
and the forwarding module is used for forwarding the data message according to the MAC table item which is in an activated state and is matched with the destination MAC address of the data message in the current two-layer forwarding table when the data message of which the destination MAC address is not the MAC address of the network node is received through the interface.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the broadcast transmitting module is used for broadcasting the third MAC address of the broadcast transmitting module to the neighbor network node connected with the broadcast transmitting module through each interface of the broadcast transmitting module after the broadcast transmitting module is electrified; and for each interface on the network node, when at least one MAC table item comprising other interfaces except the interface on the network node is newly added in the set period, sending a first MAC diffusion message carrying all newly added MAC table items to the neighbor network node connected with the network node through the interface.
8. The apparatus of claim 6, wherein the apparatus further comprises:
The third processing module is used for changing the state of the MAC table item which is in the active state and comprises the interface in the two-layer forwarding table into the inactive state when the interface is monitored to be faulty or the interface is recovered to be normal from the fault, and changing the state of the MAC table item which is in the inactive state and comprises the MAC address in the MAC table item which is in the inactive state and comprises the interface and the next smallest forwarding hop number in the two-layer forwarding table into the active state for each MAC table item which is changed into the inactive state; and sending a second MAC diffusion message for notifying the local MAC table entry with the changed state to the neighbor network node connected with the other interfaces through the other interfaces except the interface, wherein the MAC table entry with the changed state is changed into the MAC table entry with the inactive state.
9. The apparatus of claim 6, wherein the apparatus further comprises:
A fourth processing module, configured to, when receiving, through the interface, a second MAC flooding packet sent by the neighboring network node and used to advertise a MAC entry with a changed state on the neighboring network node, determine, for each fourth MAC entry carried in the second MAC flooding packet, whether a fifth MAC entry including the interface and a fourth MAC address in the fourth MAC entry exists in the two-layer forwarding table; if the judgment result is negative, no operation is performed; when the judgment result is yes, for each fourth MAC table item, changing the state of the MAC table item which is in an activated state and comprises the interface and the fourth MAC address in the fourth MAC table item into an inactive state, and changing the state of the MAC table item which is in the inactive state and comprises the fourth MAC address in the fourth MAC table item, the interface and the next smallest forwarding hop number in the second forwarding table into an activated state; and sending a second MAC diffusion message for notifying the local MAC table entry with the changed state to the neighbor network node connected with the other interfaces through the other interfaces except the interface, wherein the MAC table entry with the changed state is changed into the MAC table entry with the inactive state.
10. The apparatus of claim 7, wherein the apparatus further comprises:
A fifth processing module, configured to, when the network node is a designated network node, delete a MAC entry in the two-layer forwarding table if a third MAC flooding packet sent by the controller in the two-layer network for instructing the network node to delete the MAC entry is received, send the third MAC flooding packet to all neighboring network nodes, and when a second set duration is reached, perform a step of broadcasting a third MAC address of the neighboring network node connected to the third MAC flooding packet through each interface of the third processing module;
If the third MAC diffusion message sent by the own neighbor network node is received, no operation is performed; or alternatively
When the network node is not a designated network node, if the third MAC flooding message sent by the own neighbor network node is received, judging whether the two-layer forwarding table is empty, if yes, not performing any operation, if no, deleting the MAC entry in the two-layer forwarding table, sending the third MAC flooding message to all the neighbor network nodes, and when the second set duration is reached, executing the step of broadcasting the own third MAC address to the neighbor network nodes connected with the network node through each interface on the network node.
11. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps of any one of claims 1-5 are implemented.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210581308.4A CN115037670B (en) | 2022-05-26 | 2022-05-26 | Network convergence method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210581308.4A CN115037670B (en) | 2022-05-26 | 2022-05-26 | Network convergence method and device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115037670A CN115037670A (en) | 2022-09-09 |
| CN115037670B true CN115037670B (en) | 2024-06-11 |
Family
ID=83120402
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210581308.4A Active CN115037670B (en) | 2022-05-26 | 2022-05-26 | Network convergence method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115037670B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117201388B (en) * | 2023-11-06 | 2024-02-02 | 浙江大华技术股份有限公司 | Network node control method, electronic device, and computer-readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104378296A (en) * | 2013-08-15 | 2015-02-25 | 杭州华三通信技术有限公司 | Message forwarding method and device |
| CN113472655A (en) * | 2021-06-18 | 2021-10-01 | 新华三信息安全技术有限公司 | Method and device for managing two-layer forwarding table items |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9900250B2 (en) * | 2015-03-26 | 2018-02-20 | Cisco Technology, Inc. | Scalable handling of BGP route information in VXLAN with EVPN control plane |
-
2022
- 2022-05-26 CN CN202210581308.4A patent/CN115037670B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104378296A (en) * | 2013-08-15 | 2015-02-25 | 杭州华三通信技术有限公司 | Message forwarding method and device |
| CN113472655A (en) * | 2021-06-18 | 2021-10-01 | 新华三信息安全技术有限公司 | Method and device for managing two-layer forwarding table items |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115037670A (en) | 2022-09-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6801506B1 (en) | Method and apparatus for providing fast spanning tree re-starts | |
| US12598130B2 (en) | Failure protection method and apparatus, storage medium, and electronic device | |
| US9276898B2 (en) | Method and device for link fault detecting and recovering based on ARP interaction | |
| EP2571209A1 (en) | Multicast packet transmission method, related device and system | |
| CN107547367B (en) | Multicast switching method, device and machine readable storage medium | |
| KR20140019377A (en) | Technique for operating a network node | |
| EP3767898B1 (en) | Packet forwarding method and apparatus | |
| WO2003088007A2 (en) | Methods for providing rendezvous point router redundancy in sparse mode multicast networks | |
| CN101610221B (en) | IP unicast smoothly switching method during STP switch and device thereof | |
| US11909546B2 (en) | Method and network node for sending and obtaining assert packet | |
| US20210184897A1 (en) | Packet processing method and gateway device | |
| CN111901133A (en) | Multicast switching method, device, network equipment and storage medium | |
| EP3322141B1 (en) | Backup designated router election and designated router failure processing method and equipment | |
| CN102437960B (en) | Detection processing method and system of cluster mode, and network equipment | |
| CN110913410B (en) | Network node network access method, device, equipment and storage medium | |
| CN115037670B (en) | Network convergence method and device, electronic equipment and storage medium | |
| EP2429137B1 (en) | Method, system and network device for node configuration and path detection | |
| CN113852547B (en) | Message forwarding method and device, line card and storage medium | |
| US8218433B2 (en) | Monitoring connectivity in ring networks | |
| US20230269186A1 (en) | Packet Sending Method, Device, and System | |
| US7869350B1 (en) | Method and apparatus for determining a data communication network repair strategy | |
| US12273800B2 (en) | Designated forwarder election method and device | |
| CN113037565B (en) | Message processing method and device | |
| CN113163344B (en) | Control method, device, medium and electronic equipment for wired and wireless hybrid networking | |
| CN113824754B (en) | Communication method of network device, network device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |