CN111541601B - STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture - Google Patents

STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture Download PDF

Info

Publication number
CN111541601B
CN111541601B CN202010182283.1A CN202010182283A CN111541601B CN 111541601 B CN111541601 B CN 111541601B CN 202010182283 A CN202010182283 A CN 202010182283A CN 111541601 B CN111541601 B CN 111541601B
Authority
CN
China
Prior art keywords
protocol
bridge
port
stp
root
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
Application number
CN202010182283.1A
Other languages
Chinese (zh)
Other versions
CN111541601A (en
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.)
Information Engineering University of PLA Strategic Support Force
Original Assignee
Information Engineering University of PLA Strategic Support Force
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 Information Engineering University of PLA Strategic Support Force filed Critical Information Engineering University of PLA Strategic Support Force
Priority to CN202010182283.1A priority Critical patent/CN111541601B/en
Publication of CN111541601A publication Critical patent/CN111541601A/en
Application granted granted Critical
Publication of CN111541601B publication Critical patent/CN111541601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols

Landscapes

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

Abstract

The invention belongs to the technical field of protocol synchronization in switching equipment using a dynamic heterogeneous redundant architecture, and particularly relates to a method and a device for synchronizing STP (spanning Tree protocol) protocol in switching equipment using the dynamic heterogeneous redundant architecture, wherein the method comprises the steps of using a scheduler in the dynamic heterogeneous redundant architecture as an STP proxy; the scheduler simulates BPDU messages from different ports, sends the BPDU messages to a restarting/newly added heterogeneous execution body, trains the STP protocol on the heterogeneous execution body and enables the state of the STP protocol to be consistent with the states of the STP protocols on other heterogeneous execution bodies. The invention does not affect the service of the exchange equipment and the realization of the protocol, and ensures that the protocol states between the heterogeneous executors are consistent on the premise of not needing to greatly modify the protocol realization codes.

Description

STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture
Technical Field
The invention belongs to the technical field of protocol synchronization in switching equipment using a dynamic heterogeneous redundant architecture, and particularly relates to a method and a device for synchronizing STP (spanning Tree protocol) in switching equipment of the dynamic heterogeneous redundant architecture.
Background
The dynamic heterogeneous redundancy architecture is a basic architecture of a mimicry defense technology and has dynamics, heterogeneity and redundancy. The three characteristics are combined together, and the reliability and the safety of the information system can be greatly improved.
In the switching device, for some applications with higher security and reliability requirements, the switching device may be designed by using a DHR architecture (dynamic heterogeneous redundancy architecture). With the DHR architecture, various problems with the DHR architecture need to be solved. This includes the problem of synchronization of the various heterogeneous executives. In the DHR architecture adopted for the switching equipment, a plurality of heterogeneous executors exist, each of the plurality of heterogeneous executors runs a set of separate protocol stack, and a uniform scheduler is used for completing the protocol behavior synchronization among the heterogeneous executors. Normally, the scheduler only needs to maintain the synchronization state. However, when a certain execution body is restarted due to a fault or a new execution body is added, the protocol operation on the restarted/newly added execution body is out of synchronization with the protocol operation on other execution bodies. Some method needs to be taken to solve this problem.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method and a device for synchronizing STP protocol in switching equipment of a dynamic heterogeneous redundant architecture, which do not affect the service of the switching equipment and the realization of the protocol, and make the protocol states between heterogeneous executors consistent on the premise of not needing to greatly modify protocol realization codes.
In order to solve the technical problems, the invention adopts the following technical scheme:
the invention provides a STP protocol synchronization method in switching equipment of a dynamic heterogeneous redundant architecture, which comprises the following steps:
using a scheduler in a dynamic heterogeneous redundant architecture as an STP proxy;
the scheduler simulates BPDU messages from different ports, sends the BPDU messages to a restarting/newly added heterogeneous execution body, trains the STP protocol on the heterogeneous execution body and enables the state of the STP protocol to be consistent with the states of the STP protocols on other heterogeneous execution bodies.
Furthermore, the scheduler as an STP agent has the capability of mastering basic information of the switching device, where the basic information includes basic information of the root bridge, basic information of the home bridge, role information of the home bridge port, and state information of the home bridge port.
Further, the basic information of the switching device is obtained by the scheduler sending a protocol state query to the heterogeneous executors in the service set, or obtained by the scheduler using BPDU messages actually received by the switching device.
Further, the content of the scheduler for training the STP protocol on the heterogeneous executors includes:
training the protocol to elect a root bridge;
a training protocol elects a root port and establishes association with a root bridge;
training protocol elects appointed bridge and appointed port;
receiving and processing a TCN message sent by a protocol due to the change of the port state;
the inter-protocol timer is synchronized.
Further, the training protocol election root bridge comprises:
the election basis of the root bridge is the priority of the bridge ID, and the smaller the bridge ID is, the higher the priority is;
if the switching equipment is the root bridge, at this stage, the scheduler sends BPDU messages from different ports to the restarting/newly added STP protocol simulation, and the priority of the root bridge provided by the messages is lower than that of the local bridge;
if the bridge is not the root bridge, the root bridge is elected, the scheduler needs to send the BPDU message from the root port to the restarting/newly added STP protocol simulation, and the content of the message is consistent with the content of the root bridge BPDU actually received by the bridge.
Further, the training protocol election root port comprises:
under the condition that the network bridge is a non-root network bridge, a root port needs to be elected, the basis of electing the root port is according to priority, and the following steps are carried out in sequence: the priority of the connected root bridge, the path cost of reaching the root bridge, the ID of the bridge at the opposite end connected with the port, the ID of the port at the opposite end connected with the port and the ID of the port;
the scheduler simulates and sends a BPDU message from a root port to a restarting/newly added STP protocol, and the content of the message is consistent with the content of a root bridge BPDU actually received by the network bridge;
the scheduler sends a BPDU message from a blocked port to the restarting/newly added STP protocol in a simulation way, the root bridge information of the BPDU message is consistent with the actual information, but the path cost is larger than the cost from the root port, or under the condition of consistent cost, the ID of the opposite end bridge is smaller, and other judgment conditions are analogized in turn;
the restarting/newly added STP protocol compares BPDU messages sent by different ports, and sets the corresponding port as a root port after calculation.
Further, the training protocol election designating the port comprises:
if the restarting/newly added STP protocol is a non-root bridge, the information of the root bridge and the root port is determined, BPDU messages from the root bridge are forwarded to other ports, one part of the ports are designated ports, the basis of electing the designated bridge and the designated ports is as follows according to the priority sequence: path cost to root bridge, ID of connected bridge, ID of port connected to LAN;
the scheduler sends BPDU messages from the appointed port to the restarting/newly added STP protocol in a simulation way, the cost of the BPDU messages to the root bridge is larger than that of the BPDU messages sent out from the appointed port by the protocol to the root bridge, and other judgment conditions are analogized in sequence;
the scheduler sends BPDU messages from the blocked ports to the restarting/newly added STP protocol in a simulation mode, the root bridge path cost carried in the BPDU messages is smaller than the root bridge path cost in the BPDU message sent from the port, but larger than the root bridge path cost in the BPDU message received by the root port, and other judgment conditions are analogized in sequence.
Further, the receiving and processing the TCN packet sent by the protocol due to the port state change includes:
the dispatcher receives a TCN message sent by a protocol layer because the port state is converted into a forwarding state, and simulates and sends a response message TCA of the TCN, wherein other information of the message is consistent with the content of the root bridge BPDU actually received by the network bridge;
the scheduler simulates a root bridge BPDU message with the transmission belt TC;
the scheduler simulates sending a root bridge BPDU message without TC.
Further, the inter-protocol timer synchronization includes:
the timers of all STP protocols on heterogeneous executors in the service set are synchronously refreshed.
The invention also provides a device for synchronizing STP protocol in the switching equipment of dynamic heterogeneous redundant architecture, which comprises:
a plurality of heterogeneous executors, on each of which an STP protocol is run;
and the scheduler is used as an STP agent, simulates BPDU messages from each port, sends the BPDU messages to a restarting/newly added heterogeneous execution body, trains STP protocols on the heterogeneous execution body and enables the states of the STP protocols to be consistent with STP protocol states on other heterogeneous execution bodies.
Compared with the prior art, the invention has the following advantages:
in the switching device using the dynamic heterogeneous redundant architecture, under normal conditions, the STP protocols are simultaneously operated on a plurality of executors providing services to the outside, and the STP protocols on the executors are consistent in state and synchronous in behavior. When a certain heterogeneous execution body needs to be added into a set of execution bodies providing services to the outside due to scheduling, the STP of the execution body is in a just-started state and is inconsistent with the STP protocol states of other execution bodies in the set, and the STP protocol of the execution body needs to be adjusted to be consistent with the protocol states of other execution bodies. The STP protocol synchronization method of the invention uses a scheduler in a dynamic heterogeneous redundant architecture as an STP proxy, and interacts with a newly added/restarted execution body by simulating BPDU messages of different ports, so that the STP protocol state on the newly added/restarted execution body finally reaches the same state as the STP protocol states on other execution bodies in a service set. The method solves the STP protocol synchronization problem in the switching equipment using the dynamic heterogeneous redundancy architecture under the condition of not influencing the service of the switching equipment, and has important significance for the equipment to always keep high-security level work.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for synchronizing STP protocols in a switching device of a dynamic heterogeneous redundant architecture according to an embodiment of the present invention;
fig. 2 is a block diagram of an apparatus for synchronizing STP protocols in a switching device of a dynamic heterogeneous redundant architecture according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
The method for synchronizing STP protocols in a switching device of a dynamic heterogeneous redundant architecture of this embodiment is used for solving the problem of protocol behavior synchronization between heterogeneous executors in the switching device using the dynamic heterogeneous redundant architecture, and particularly when a certain executor is restarted due to a failure or a new executor is added, the protocol operation on the restarted/newly added executor is not synchronized with the protocols on other executors. As shown in fig. 1, the method includes:
step S101, using a scheduler in a dynamic heterogeneous redundancy architecture as an STP proxy;
step S102, the dispatcher simulates BPDU messages from different ports, sends the BPDU messages to a restarting/newly added heterogeneous executive body, trains the STP protocol on the heterogeneous executive body and leads the state to be consistent with the STP protocol state on other heterogeneous executive bodies;
step S103, synchronously refreshing the timers of the STP protocols on all the heterogeneous executors to ensure that all the protocols run to achieve time synchronization.
The scheduler, as an STP agent, needs to have the capability of grasping basic information of the switching device, where the basic information includes basic information of the root bridge, basic information of the home bridge, role information of the home bridge port, and state information of the home bridge port.
The basic information of the switching equipment can be acquired by the scheduler sending a protocol state query to the heterogeneous executors in the service set, or by the scheduler computing using the BPDU messages actually received by the switching equipment.
The method for the scheduler to train the STP protocol on the heterogeneous executive body is consistent with the method for the switching equipment to calculate in the spanning tree calculation, and the training content comprises the following steps: training the protocol to elect a root bridge; a training protocol elects a root port and establishes association with a root bridge; training protocol elects appointed bridge and appointed port; receiving and processing a TCN message sent by a protocol due to the change of the port state; the inter-protocol timer is synchronized.
When the training protocol elects the root bridge:
the election basis of the root bridge is the priority of the bridge ID, and the smaller the bridge ID is, the higher the priority is;
if the switching equipment is the root bridge, at this stage, the scheduler sends BPDU messages from different ports to the restarting/newly added STP protocol simulation, and the priority of the root bridge provided by the messages is lower than that of the local bridge;
if the bridge is not the root bridge, the root bridge is elected, the scheduler needs to send the BPDU message from the root port to the restarting/newly added STP protocol simulation, and the content of the message is consistent with the content of the root bridge BPDU actually received by the bridge.
When the training protocol elects a root port:
only when the bridge is a non-root bridge, the root port is elected according to the priority: the priority of the connected root bridge, the path cost of reaching the root bridge, the ID of the bridge at the opposite end connected with the port, the ID of the port at the opposite end connected with the port and the ID of the port;
the scheduler simulates and sends a BPDU message from a root port to a restarting/newly added STP protocol, and the content of the message is consistent with the content of a root bridge BPDU actually received by the network bridge;
the scheduler sends BPDU messages from the blocked ports to the restarting/newly added STP protocol in a simulation way, the root bridge information of the BPDU messages is consistent with the actual information, but the path cost is larger than the cost from the root ports, or under the condition of consistent cost, the ID of the opposite end bridge is smaller, and other judgment conditions are analogized in turn;
in this way, the restart/newly-added STP protocol compares BPDU messages sent from different ports, and sets the corresponding port as the root port after calculation, where the corresponding port refers to a port set as the root port in other working protocols.
When the training protocol elects a designated port:
after the above two training steps, the restart/newly added STP protocol (if it is a non-root bridge) has already determined the root bridge and root port information, and will forward the BPDU message from the root bridge to other ports, some of these ports are designated ports, the basis for selecting the designated bridge and designated ports by the spanning tree algorithm is, in order of priority: path cost to root bridge, ID of connected bridge, ID of port connected to LAN;
the scheduler sends BPDU messages from the appointed port to the restarting/newly added STP protocol in a simulation way, the cost of the BPDU messages to the root bridge is larger than that of the BPDU messages sent out from the appointed port by the protocol to the root bridge, and other judgment conditions are analogized in sequence;
the scheduler sends BPDU messages from the blocked ports to the restarting/newly added STP protocol in a simulation mode, the root bridge path cost carried in the BPDU messages is smaller than the root bridge path cost in the BPDU message sent from the port, but larger than the root bridge path cost in the BPDU message received by the root port, and other judgment conditions are analogized in sequence.
When receiving and processing a TCN message sent by a protocol due to the change of the port state:
the dispatcher receives a TCN message sent by a protocol layer because the port state is converted into a forwarding state, and simulates and sends a response message TCA of the TCN, and other information of the message is consistent with the content of the root bridge BPDU actually received by the network bridge and is only at the TC and the response position 1.
The scheduler simulates a root bridge BPDU message with the transmission belt TC;
the scheduler simulates sending a root bridge BPDU message without TC.
Inter-protocol timer synchronization time:
the synchronous timer can adopt a method of refreshing all STP protocol timers on heterogeneous executors in a service set at the same time, namely, a scheduler sends a timer reset message to all the executors at the same time, the STP protocol on the executors sets own identification variables after receiving the message, and the absolute waiting time used in the timeout judgment of the timers is determined according to the identification variables.
As shown in fig. 2, the present invention further provides an apparatus for synchronizing STP protocols in a switching device of a dynamic heterogeneous redundant architecture, which includes a plurality of heterogeneous executors 21 and a scheduler 22;
a plurality of heterogeneous executors 21 on each of which an STP protocol is run;
the scheduler 22, as an STP agent, simulates the BPDU packets from each port, sends the BPDU packets to the restarted/newly added heterogeneous executer, and trains the STP protocol on the heterogeneous executer to make the state of the STP protocol consistent with that of the STP protocols on other heterogeneous executers.
The STP protocol synchronization method and device in the switching equipment of the dynamic heterogeneous redundant architecture are a scheme which does not affect the protocol implementation, do not need to modify the protocol implementation code, can well solve the protocol synchronization problem and have higher use value.
Meanwhile, the invention can also be applied to the cleaning and recovering process of other two-layer protocols consistent with the STP principle, such as RSTP and MSTP protocols, after being modified properly, and the scheme obtained without creative labor still belongs to the protection scope of the invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (7)

1. A method for synchronizing STP protocol in a switching device of dynamic heterogeneous redundant architecture is characterized by comprising the following steps:
using a scheduler in a dynamic heterogeneous redundant architecture as an STP proxy;
the scheduler simulates BPDU messages from different ports, sends the BPDU messages to a restarting/newly added heterogeneous execution body, trains STP protocols on the heterogeneous execution body and enables the states of the STP protocols to be consistent with the states of STP protocols on other heterogeneous execution bodies;
the content of the scheduler for training the STP protocol on the heterogeneous executors comprises the following contents:
training the protocol to elect a root bridge;
a training protocol elects a root port and establishes association with a root bridge;
training protocol elects appointed bridge and appointed port;
receiving and processing a TCN message sent by a protocol due to the change of the port state;
synchronizing the inter-protocol timers;
the receiving and processing of the TCN message sent by the protocol due to the change of the port state specifically includes:
the dispatcher receives a TCN message sent by a protocol layer because the port state is converted into a forwarding state, and simulates and sends a response message TCA of the TCN, wherein other information of the message is consistent with the content of the root bridge BPDU actually received by the network bridge;
the scheduler simulates a root bridge BPDU message with the transmission belt TC;
the scheduler simulates and sends a root bridge BPDU message without TC;
the inter-protocol timer synchronization comprises:
the timers of all STP protocols on heterogeneous executors in the service set are synchronously refreshed.
2. The method of STP protocol synchronization in a switch of dynamic heterogeneous redundant architecture as claimed in claim 1, wherein said scheduler is capable of mastering basic information of the switch as STP agent, the basic information comprising root bridge basic information, home bridge port role information and home bridge port state information.
3. The method according to claim 2, wherein the basic information of the switching device is obtained by the scheduler sending a protocol status query to the heterogeneous executors in the service set, or by the scheduler computing using BPDU messages actually received by the switching device.
4. The method of STP protocol synchronization in a switching device of a dynamic heterogeneous redundant architecture of claim 1, wherein the training protocol election of the root bridge comprises:
the election basis of the root bridge is the priority of the bridge ID, and the smaller the bridge ID is, the higher the priority is;
if the switching equipment is the root bridge, at this stage, the scheduler sends BPDU messages from different ports to the restarting/newly added STP protocol simulation, and the priority of the root bridge provided by the messages is lower than that of the local bridge;
if the bridge is not the root bridge, the root bridge is elected, the scheduler needs to send the BPDU message from the root port to the restarting/newly added STP protocol simulation, and the content of the message is consistent with the content of the root bridge BPDU actually received by the bridge.
5. The method of STP protocol synchronization in a switching device of a dynamic heterogeneous redundant architecture of claim 1, wherein the training protocol election root port comprises:
under the condition that the network bridge is a non-root network bridge, a root port needs to be elected, the basis of electing the root port is according to priority, and the following steps are carried out in sequence: the priority of the connected root bridge, the path cost of reaching the root bridge, the ID of the bridge at the opposite end connected with the port, the ID of the port at the opposite end connected with the port and the ID of the port;
the scheduler simulates and sends a BPDU message from a root port to a restarting/newly added STP protocol, and the content of the message is consistent with the content of a root bridge BPDU actually received by the network bridge;
the scheduler sends a BPDU message from a blocked port to the restarting/newly added STP protocol in a simulation way, the root bridge information of the BPDU message is consistent with the actual information, but the path cost is larger than the cost from the root port, or under the condition of consistent cost, the ID of the opposite end bridge is smaller, and other judgment conditions are analogized in turn;
the restarting/newly added STP protocol compares BPDU messages sent by different ports, and sets the corresponding port as a root port after calculation.
6. The method of STP protocol synchronization in a switching device of a dynamic heterogeneous redundant architecture of claim 1, wherein the training protocol electing a designated port comprises:
if the restarting/newly added STP protocol is a non-root bridge, the information of the root bridge and the root port is determined, BPDU messages from the root bridge are forwarded to other ports, one part of the ports are designated ports, the basis of electing the designated bridge and the designated ports is as follows according to the priority sequence: path cost to root bridge, ID of connected bridge, ID of port connected to LAN;
the scheduler sends BPDU messages from the appointed port to the restarting/newly added STP protocol in a simulation way, the cost of the BPDU messages to the root bridge is larger than that of the BPDU messages sent out from the appointed port by the protocol to the root bridge, and other judgment conditions are analogized in sequence;
the scheduler sends BPDU messages from the blocked ports to the restarting/newly added STP protocol in a simulation mode, the root bridge path cost carried in the BPDU messages is smaller than the root bridge path cost in the BPDU message sent from the port, but larger than the root bridge path cost in the BPDU message received by the root port, and other judgment conditions are analogized in sequence.
7. An apparatus for synchronizing STP protocols in a switching device of a dynamic heterogeneous redundant architecture, comprising:
a plurality of heterogeneous executors, on each of which an STP protocol is run;
and the scheduler, as STP agent, the scheduler simulates BPDU message from each port, and sends the BPDU message to the restarting/newly added heterogeneous executive, trains the STP protocol on the heterogeneous executive, and makes the state of the STP protocol consistent with the STP protocol state on other heterogeneous executors;
the content of the scheduler for training the STP protocol on the heterogeneous executors comprises the following contents:
training the protocol to elect a root bridge;
a training protocol elects a root port and establishes association with a root bridge;
training protocol elects appointed bridge and appointed port;
receiving and processing a TCN message sent by a protocol due to the change of the port state;
synchronizing the inter-protocol timers;
the receiving and processing of the TCN message sent by the protocol due to the change of the port state specifically includes:
the dispatcher receives a TCN message sent by a protocol layer because the port state is converted into a forwarding state, and simulates and sends a response message TCA of the TCN, wherein other information of the message is consistent with the content of the root bridge BPDU actually received by the network bridge;
the scheduler simulates a root bridge BPDU message with the transmission belt TC;
the scheduler simulates and sends a root bridge BPDU message without TC;
the inter-protocol timer synchronization comprises:
the timers of all STP protocols on heterogeneous executors in the service set are synchronously refreshed.
CN202010182283.1A 2020-03-16 2020-03-16 STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture Active CN111541601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010182283.1A CN111541601B (en) 2020-03-16 2020-03-16 STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010182283.1A CN111541601B (en) 2020-03-16 2020-03-16 STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture

Publications (2)

Publication Number Publication Date
CN111541601A CN111541601A (en) 2020-08-14
CN111541601B true CN111541601B (en) 2021-08-17

Family

ID=71978502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010182283.1A Active CN111541601B (en) 2020-03-16 2020-03-16 STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture

Country Status (1)

Country Link
CN (1) CN111541601B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118064B (en) * 2020-08-18 2022-10-21 河南信大网御科技有限公司 Time synchronization method for mimicry heterogeneous equipment
CN112422540B (en) * 2020-11-09 2021-09-03 浙江大学 Dynamic transformation method for executive body in mimicry WAF
CN112637238B (en) * 2020-12-31 2022-08-16 河南信大网御科技有限公司 Telnet proxy method, architecture and medium for protocol stack detachment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645445A (en) * 2017-09-15 2018-01-30 安徽大学 A kind of SDN cross-domain communication method based on dummy node technology
CN110380961A (en) * 2019-07-05 2019-10-25 中国人民解放军战略支援部队信息工程大学 A kind of device and method of conventional router mimicryization transformation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9100285B1 (en) * 2012-12-18 2015-08-04 Juniper Networks, Inc. Dynamic control channel establishment for software-defined networks having centralized control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645445A (en) * 2017-09-15 2018-01-30 安徽大学 A kind of SDN cross-domain communication method based on dummy node technology
CN110380961A (en) * 2019-07-05 2019-10-25 中国人民解放军战略支援部队信息工程大学 A kind of device and method of conventional router mimicryization transformation

Also Published As

Publication number Publication date
CN111541601A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111541601B (en) STP protocol synchronization method and device in switching equipment of dynamic heterogeneous redundant architecture
CN100555948C (en) A kind of switching equipment of in the stack exchanger system, being coupled of being used for
US9838215B2 (en) Ethernet ring protection node with node-level redundancy
CN101702681B (en) Switching method and device of main/standby router in virtual route redundancy protocol
EP2911341B1 (en) Method and device for dynamically switching gateway of distributed resilient network interconnect
CN105335251B (en) A kind of fault recovery method and system
EP2472795B1 (en) Method and system for re-building single ring network topology
CN110022228B (en) Server switching method, device and system and readable storage medium
CN102821050A (en) Processing method for applying rapid spanning tree protocol to monocyclic network topology
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN109104349A (en) Train network data transmission method, system and its apparatus based on CANopen agreement
JP2011526086A (en) Network recovery system and method from multilink failure
US20070242614A1 (en) Data transfer method and automation system used in said data transfer method
US20140185429A1 (en) Communication system, path switching method and communication device
CN101652963A (en) Method for reconfiguring a communications network
CN101699799A (en) Method and network equipment for preventing network loop and spanning tree protocol network system
CN100512220C (en) Method for realizing service protection on elastic group ring
JPWO2013061604A1 (en) Node device in ring network and route switching control method thereof
CN101764706A (en) Link redundant control method based on EPA network bridge
CN103747026A (en) Alarm method and alarm device of openflow flow table
CN111835555A (en) Data recovery method and device and readable storage medium
JP5491623B2 (en) Address refresh method and system
CN104518995B (en) Interchanger virtualization system based on distributed structure/architecture
KR20110046897A (en) Method to elect master nodes from nodes of a subnet
CN110120885A (en) A kind for the treatment of method and apparatus of device status information

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