CN101094190B - Transmission method of Ethernet ring network protection control message - Google Patents
Transmission method of Ethernet ring network protection control message Download PDFInfo
- Publication number
- CN101094190B CN101094190B CN2007101420467A CN200710142046A CN101094190B CN 101094190 B CN101094190 B CN 101094190B CN 2007101420467 A CN2007101420467 A CN 2007101420467A CN 200710142046 A CN200710142046 A CN 200710142046A CN 101094190 B CN101094190 B CN 101094190B
- Authority
- CN
- China
- Prior art keywords
- control message
- link
- ring network
- ethernet ring
- port
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种以太环网保护控制报文的传输方法,包括以下步骤:节点检测环上端口对应的链路状态;如果节点检测到环上相邻链路发生故障,则将故障链路对应端口设定为环网控制报文转发禁止态,以使故障链路对应端口不能转发以太环网保护控制报文,如果节点检测到环上相邻链路故障消失,则将故障消失链路对应端口设定为环网控制报文转发允许态,以通过故障消失链路对应端口转发以太环网保护控制报文。本发明可以防止环网保护切换错误,提高在实际组网中以太环网的抗故障能力。
The invention discloses a method for transmitting protection control messages of an Ethernet ring network, which comprises the following steps: a node detects the link state corresponding to a port on the ring; The corresponding port is set to the ring network control packet forwarding forbidden state, so that the corresponding port of the faulty link cannot forward the Ethernet ring network protection control packet. If the node detects that the adjacent link on the ring fails The corresponding port is set to the ring network control message forwarding allowable state, so as to forward the Ethernet ring network protection control message through the corresponding port of the fault disappearing link. The invention can prevent ring network protection switching errors and improve the anti-fault capability of the Ethernet ring network in actual networking.
Description
技术领域technical field
本发明涉及通信领域,更具体地涉及一种以太环网保护控制报文的传输方法。The invention relates to the communication field, and more specifically relates to a transmission method of an Ethernet ring network protection control message.
背景技术Background technique
RFC3619中的以太环网保护系统由多个节点相连构成环,环上可以定义多个域,即以太环网保护域。一个域中包括一个主节点和若干个传输节点,以及一组被保护的用于用户数据转发的业务虚拟局域网(Virtual Local Area Network,简称VLAN)。其中,主节点在环上的两个端口分别为主端口和从端口,被保护的业务VLAN为保护业务VLAN。当环上链路完好时,主节点阻塞从端口的保护业务VLAN转发功能,网络中无环路产生,防止了由于网络环路引起的“广播风暴”;当链路发生故障时,主节点放开从端口的保护业务VLAN转发功能,用户数据可以在主节点的从端口通过,从而保障了业务的连通。以太环网保护控制报文是域中节点之间的通信和控制报文,当节点阻塞端口时,以太环网控制报文不受影响仍然可以通过。The Ethernet ring network protection system in RFC3619 is composed of multiple nodes connected to form a ring, and multiple domains can be defined on the ring, that is, the Ethernet ring network protection domain. A domain includes a master node, several transfer nodes, and a group of protected business virtual local area networks (Virtual Local Area Network, referred to as VLAN) for user data forwarding. Wherein, the two ports of the master node on the ring are respectively the master port and the slave port, and the protected service VLAN is the protected service VLAN. When the link on the ring is intact, the master node blocks the protection service VLAN forwarding function of the slave port, and there is no loop in the network, which prevents the "broadcast storm" caused by the network loop; The protection service VLAN forwarding function of the slave port is enabled, and user data can pass through the slave port of the master node, thereby ensuring service connectivity. The Ethernet ring network protection control message is a communication and control message between nodes in the domain. When a node blocks a port, the Ethernet ring network control message can still pass without being affected.
图1是以太环网自动保护系统的拓扑图,由节点S1、S2、S3和S4组成,在这四个节点组成的环上配置了一个以太环网保护域,域中的主节点(MASTER)是S2,其余节点S1、S3、S4是传输节点(TRANSIT)。主节点S2的两个环上端口分别是主端口和从端口,其中端口2是主端口(P),端口1是从端口(S)。另外,域中还定义了保护业务VLAN,环上每个端口都配置在保护业务VLAN中。当环上链路完好时,主节点S2阻塞从端口1的保护业务VLAN数据转发功能,从而防止了网络中存在环路形成“网络风暴”;当环上链路出现故障时,主节点S2放开了从端口1的保护业务VLAN数据转发功能,使得业务VLAN中的数据重新连通。Figure 1 is a topology diagram of the automatic protection system of the Ethernet ring network, which is composed of nodes S1, S2, S3 and S4. An Ethernet ring network protection domain is configured on the ring composed of these four nodes. The master node (MASTER) in the domain It is S2, and the remaining nodes S1, S3, S4 are transmission nodes (TRANSIT). The two ring ports of the master node S2 are respectively a master port and a slave port, wherein
主节点周期地向主端口发送链路健康检测报文(HELLO),当环上链路完好时,HELLO报文依次经过各传输节点,到达主节点的从端口,HELLO报文可以通过主节点阻塞的从端口,被主节点收到。如果主节点在规定的时间内收不到HELLO报文,就认为环上链路发生故障。The master node periodically sends a link health detection message (HELLO) to the master port. When the link on the ring is intact, the HELLO message passes through each transmission node in turn and reaches the slave port of the master node. The HELLO message can be blocked by the master node. The slave port of is received by the master node. If the master node does not receive the HELLO message within the specified time, it considers the link on the ring to be faulty.
传输节点检测到相邻的链路发生故障时,发送链路故障告警报文(LINK-DOWN),LINK-DOWN报文经过环上链路的传输到达主节点,主节点从端口如果处于阻塞状态,LINK-DOWN报文也穿过主节点从端口,送给主节点。主节点在主端口或者从端口收到LINK-DOWN报文时,认为环上链路发生了故障。When the transit node detects that an adjacent link fails, it sends a link failure warning message (LINK-DOWN), and the LINK-DOWN message reaches the master node through the transmission of the link on the ring. If the slave port of the master node is blocked , the LINK-DOWN message also passes through the slave port of the master node and is sent to the master node. When the master node receives a LINK-DOWN packet on the master port or the slave port, it considers that the link on the ring is faulty.
当主节点检测到环上链路发生故障时,放开从端口的保护业务VLAN转发功能,更新环上端口的MAC地址表,并发送链路故障通知报文(FLUSH-DOWN)通知环上其他节点进行链路故障切换,传输节点收到FLUSH-DOWN后,更新环上端口MAC地址表,保护业务VLAN中的数据开始通过新的路径进行传输。When the master node detects that the link on the ring is faulty, it releases the protection service VLAN forwarding function of the slave port, updates the MAC address table of the port on the ring, and sends a link failure notification message (FLUSH-DOWN) to notify other nodes on the ring Perform link failover, after the transmission node receives FLUSH-DOWN, it updates the MAC address table of the port on the ring, and the data in the protection service VLAN starts to be transmitted through the new path.
在节点检测到相邻的链路发生故障时,阻塞对应端口的保护业务VLAN转发功能;当故障消失时,暂时不放开端口的保护业务VLAN转发功能。在链路故障期间,主节点仍然从主端口向外发送HELLO报文,如果链路故障消失,HELLO报文可以穿过阻塞的端口和故障消失的链路。当在从端口收到HELLO报文时,就认为环上链路恢复,重新阻塞从端口的保护业务VLAN转发功能,更新环上端口MAC地址表,向环上发送链路恢复通知报文(FLUSH-UP),通知环上其他节点进行链路恢复切换,传输节点收到FLUSH-UP后,更新环上端口MAC地址表,检测到链路故障消失的传输节点也放开对应端口的保护业务VLAN转发功能,保护业务VLAN中的数据开始通过新的路径进行传输。When the node detects that an adjacent link fails, it blocks the protection service VLAN forwarding function of the corresponding port; when the fault disappears, temporarily does not release the protection service VLAN forwarding function of the port. During the link failure, the master node still sends out the HELLO message from the main port. If the link failure disappears, the HELLO message can pass through the blocked port and the link where the failure disappears. When the slave port receives the HELLO message, it considers the link on the ring to be restored, blocks the protection service VLAN forwarding function of the slave port again, updates the MAC address table of the port on the ring, and sends a link recovery notification message (FLUSH) to the ring. -UP), notify other nodes on the ring to resume link switching, after the transmission node receives the FLUSH-UP, update the MAC address table of the port on the ring, and the transmission node that detects that the link failure disappears also releases the protection service VLAN of the corresponding port With the forwarding function, the data in the protection service VLAN starts to be transmitted through a new path.
环上端口的保护业务VLAN功能阻塞或者放开对于以太环网保护控制报文的传输没有影响,因此以太环网保护控制报文可以穿过阻塞端口达到目的节点,完成节点之间的控制通信。Blocking or unblocking the protection service VLAN function of ports on the ring has no effect on the transmission of Ethernet ring network protection control packets, so Ethernet ring network protection control packets can pass through the blocked port to reach the destination node, completing the control communication between nodes.
实际中的链路故障情况比较复杂,通常一段链路由收发两部分构成,当只有收部分或者发部分出现故障时,链路会出现单通。如图2所示,节点S3和S4之间发生链路单通故障,节点S3收不到节点S4的信息,但是节点S4可以收到节点S3的信息。节点S3检测到链路故障,阻塞故障链路对应端口2,发送LINK-DOWN报文给主节点,主节点收到LINK-DOWN报文后进行链路故障切换。在链路故障期间,主节点仍然从主端口向环上发送HELLO报文,HELLO报文可以穿过节点S3的端口2,经过节点S3和S4之间的链路,然后经过节点S4到达主节点的从端口。主节点在从端口收到HELLO报文,认为链路恢复,进行链路恢复倒换,重新阻塞从端口的保护业务VLAN转发功能,使得保护业务VLAN中的数据不能通过主节点从端口传输。然而节点S3和S4之间的链路为单通,保护业务VLAN中的数据通信会发生单向不通的故障,如节点S4的保护业务VLAN中的数据就不能传输到节点S1。The actual link failure situation is more complicated. Usually, a link is composed of two parts: the sending and receiving parts. When only the receiving part or the sending part fails, the link will appear unidirectional. As shown in FIG. 2 , a one-way link failure occurs between nodes S3 and S4, node S3 cannot receive information from node S4, but node S4 can receive information from node S3. Node S3 detects a link failure, blocks
对于一些链路故障检测方法,当某个环上节点的软件运行出现故障时,相邻节点也会认为链路发生故障。如图3所示,节点S3和节点S4之间通过对发探测报文来检测链路故障,当节点在规定的时间内收不到对端发送的探测报文时,认为链路发生故障。节点S3的硬件可以正常转发数据,但是软件发生故障时,无法在规定时间内发送探测报文给节点S4,节点S4就认为与S3之间的链路发生了故障。节点S4检测到链路故障后,阻塞故障链路对应端口,发送LINK-DOWN报文给主节点。主节点收到LINK-DOWN报文后,认为链路发生故障,进行链路故障切换。在链路故障期间,主节点仍然从主端口向环上发送HELLO报文,HELLO报文可以通过节点S3硬件转发到端口2,经过节点S3和S4之间的链路,然后经过节点S4到达主节点的从端口。主节点在从端口收到HELLO报文,认为链路恢复,进行链路恢复倒换,重新阻塞从端口的保护业务VLAN转发功能,使得保护业务VLAN中的数据不能通过主节点从端口传输。然而节点S4检测到的S3和S4之间的链路仍然为故障状态,主节点认为整个环网链路状态却为完好,产生了错误判断,后续的操作都可能产生故障。环网恢复倒换后,节点之间需要通过软件转发的数据无法正常通信,如节点S1和S4之间需要由节点S3软件转发的通信数据产生中断。另外,当节点S3和节点S4之间链路的通信全部中断时,由于节点S4已经记录了链路状态为故障状态,就不会再发送LINK-DOWN报文给主节点通知链路故障,主节点只能依靠HELLO报文超时来判断检测链路故障,延迟了链路故障倒换所需的时间,无法满足高实时性业务的需求。For some link fault detection methods, when the software operation of a node on a ring fails, the adjacent nodes will also consider the link to be faulty. As shown in Figure 3, node S3 and node S4 detect link failures by sending detection messages to each other. When the node fails to receive the detection message sent by the other end within a specified time, the link is considered to be faulty. The hardware of node S3 can forward data normally, but when the software fails, it cannot send the detection message to node S4 within the specified time, and node S4 thinks that the link with S3 has failed. After node S4 detects a link failure, it blocks the port corresponding to the failed link, and sends a LINK-DOWN message to the master node. After receiving the LINK-DOWN message, the master node considers the link to be faulty and performs link failover. During link failure, the master node still sends HELLO messages from the master port to the ring, and the HELLO messages can be forwarded to
其他以太环网保护方法,如专利EP1727313,也存在相似问题。Other Ethernet ring network protection methods, such as patent EP1727313, also have similar problems.
发明内容Contents of the invention
鉴于以上所述的一个或多个问题,本发明提供了一种新的以太环网保护控制报文的传输方法。In view of one or more problems described above, the present invention provides a new method for transmitting Ethernet ring network protection control messages.
根据本发明的以太环网保护控制报文的传输方法,包括以下步骤:节点检测环上端口对应的链路状态;如果节点检测到环上相邻链路发生故障,则将故障链路对应端口设定为环网控制报文转发禁止态,以使故障链路对应端口不能转发以太环网保护控制报文,如果节点检测到环上相邻链路故障消失,则将故障消失链路对应端口设定为环网控制报文转发允许态,以通过故障消失链路对应端口转发以太环网保护控制报文。According to the transmission method of the Ethernet ring network protection control message of the present invention, it comprises the following steps: the node detects the link state corresponding to the port on the ring; Set to the ring network control packet forwarding prohibition state, so that the port corresponding to the faulty link cannot forward the Ethernet ring network protection control packet. If the node detects that the adjacent link on the ring fails Set to the ring network control message forwarding allowable state, so as to forward the Ethernet ring network protection control message through the corresponding port of the failed link.
其中,如果节点检测到环上相邻链路发生故障,则还需要阻塞故障链路对应端口的保护业务虚拟局域网转发功能。节点不向处于环网控制报文转发禁止态的目的端口发送或转发以太环网保护控制报文。当处于环网控制报文转发禁止态的目的端口接收到以太环网保护控制报文时,将以太环网保护控制报文舍弃。Wherein, if the node detects that an adjacent link on the ring fails, it also needs to block the protection service virtual local area network forwarding function of the port corresponding to the failed link. The node does not send or forward the Ethernet ring network protection control message to the destination port in the ring network control message forwarding forbidden state. When the destination port in the ring network control message forwarding prohibited state receives the Ethernet ring network protection control message, the Ethernet ring network protection control message is discarded.
其中,节点只向处于环网控制报文转发允许态的目的端口发送或转发以太环网保护控制报文。当处于环网控制报文允许态的目的端口接收到以太环网保护控制报文时,对所述以太环网保护控制报文进行发送或转发。Wherein, the node only sends or forwards the Ethernet ring network protection control message to the destination port in the ring network control message forwarding allowed state. When receiving the Ethernet ring network protection control message, the destination port in the state of allowing the ring network control message sends or forwards the Ethernet ring network protection control message.
通过本发明,可以避免以太环网中控制报文能够传输通过检测到故障的链路,从而可以防止环网保护切换错误,提高在实际组网中以太环网的抗故障能力。Through the present invention, it is possible to prevent the control messages in the Ethernet ring network from being transmitted through the detected link, thereby preventing ring network protection switching errors and improving the fault resistance capability of the Ethernet ring network in actual networking.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是以太环网自动保护系统的拓扑图;Fig. 1 is the topological diagram of the automatic protection system of the Ethernet ring network;
图2是以太环网保护系统出现链路单通故障的拓扑图;Figure 2 is a topology diagram of a link single-pass failure in the Ethernet ring network protection system;
图3是以太环网保护系统出现节点软件故障的拓扑图;Fig. 3 is a topology diagram of a node software failure in the Ethernet ring network protection system;
图4是根据本发明实施例的以太环网节点设置端口环网控制报文转发态的流程图;Fig. 4 is the flow chart of the Ethernet ring network node setting port ring network control message forwarding state according to an embodiment of the present invention;
图5是根据本发明实施例的环网控制报文发送或者转发时的流程图;以及Fig. 5 is a flowchart according to an embodiment of the present invention when a ring network control message is sent or forwarded; and
图6是根据本发明实施例的环网控制报文接收时的流程图。Fig. 6 is a flow chart of receiving a ring network control message according to an embodiment of the present invention.
具体实施方式Detailed ways
在本发明中,将节点环上端口转发以太环网控制报文的功能定义为环网控制报文转发允许态和环网控制报文转发禁止态。当端口为环网控制报文转发允许态时,以太环网控制报文可以通过该端口,当端口为环网控制报文转发禁止态时,以太环网控制报文不能通过该端口。端口的以太环网控制报文转发状态只对以太环网控制报文有作用,对用户数据报文没有影响。当环上节点检测到链路发生故障时,将对应端口设置为环网控制报文转发禁止态,以防止以太环网控制报文通过该端口,当环上节点检测到链路恢复时,将对应端口设置为环网控制报文转发允许态,以使以太环网控制报文通过该端口。下面参考附图,详细说明本发明的具体实施方式。In the present invention, the function of the port on the node ring to forward the Ethernet ring network control message is defined as the ring network control message forwarding allowed state and the ring network control message forwarding forbidden state. When the port is in the ring network control message forwarding enabled state, the Ethernet ring network control message can pass through the port; when the ring network control message forwarding disabled state is in the port, the Ethernet ring network control message cannot pass through the port. The Ethernet ring network control packet forwarding status of the port only has an effect on the Ethernet ring network control packet, and has no effect on user data packets. When a node on the ring detects a link failure, it sets the corresponding port to the state of prohibiting the forwarding of ring network control packets to prevent Ethernet ring network control packets from passing through the port. When the node on the ring detects that the link is restored, it sets The corresponding port is set to the ring network control message forwarding allowable state, so that the Ethernet ring network control message passes through the port. The specific implementation manners of the present invention will be described in detail below with reference to the accompanying drawings.
参考图4,说明根据本发明实施例的以太环网节点设置端口环网控制报文转发态的流程。如图4所示,该以太环网节点设置端口环网控制报文转发态的过程包括以下步骤:S402,以太环网保护域中节点检测环上端口的链路状态;S404,节点检测到相邻链路发生故障时,进行环网保护处理(例如阻塞该故障链路对应端口的保护业务VLAN转发功能,通知主节点链路发生故障),并且将故障链路对应端口设定为环网控制报文转发禁止态;S406,节点检测到相邻链路故障消失时,将故障消失链路对应的端口设定为环网控制报文转发允许态。Referring to FIG. 4 , the process of setting the port ring network control message forwarding state of the Ethernet ring network node according to the embodiment of the present invention is described. As shown in Figure 4, the process of setting the port ring network control message forwarding state of the Ethernet ring network node includes the following steps: S402, the node in the Ethernet ring network protection domain detects the link state of the port on the ring; S404, the node detects the corresponding When an adjacent link fails, perform ring network protection processing (such as blocking the protection service VLAN forwarding function of the port corresponding to the faulty link, and notify the master node that the link is faulty), and set the port corresponding to the faulty link as ring network control Message forwarding prohibition state; S406, when the node detects that the fault of the adjacent link disappears, the port corresponding to the fault disappearing link is set to the ring network control message forwarding state.
参考图5,说明根据本发明实施例的环网控制报文发送或者转发时的流程。如图5所示,该环网控制报文发送或者转发时的过程包括以下步骤:S502,节点需要向环上端口发送环网控制报文;S504,如果目的端口为环网控制报文转发禁止态,则不使报文发出;S506,如果目的端口为环网控制报文转发允许态,则报文可以发出。Referring to FIG. 5 , the process of sending or forwarding the ring network control message according to the embodiment of the present invention is described. As shown in Figure 5, the process of sending or forwarding the ring network control message includes the following steps: S502, the node needs to send the ring network control message to the port on the ring; S504, if the destination port is prohibited from forwarding the ring network control message state, the message is not sent; S506, if the destination port is in the ring network control message forwarding allowed state, the message can be sent.
参考图6,说明根据本发明实施例的环网控制报文接收时的流程。如图6所示,该环网控制报文接收时的过程包括以下步骤:S602,以太环网控制报文到达节点端口;S604,如果该节点端口为环网控制报文转发禁止态,则将报文丢弃;S606,如果该节点端口为环网控制报文转发允许态,则报文可以通过该端口。Referring to FIG. 6 , the process of receiving the ring network control message according to the embodiment of the present invention is described. As shown in Figure 6, the process when the ring network control message is received includes the following steps: S602, the Ethernet ring network control message arrives at the node port; S604, if the node port is in the ring network control message forwarding prohibition state, the The message is discarded; S606, if the node port is in the ring network control message forwarding allowed state, the message can pass through the port.
由图4至图6的描述可以看出,根据本发明实施例的以太环网保护控制报文的传输方法包括以下步骤:节点检测环上端口对应的链路状态;如果节点检测到环上相邻链路发生故障,则将故障链路对应端口设定为环网控制报文转发禁止态,以使故障链路对应端口不能转发以太环网保护控制报文,如果节点检测到环上相邻链路故障消失,则将故障消失链路对应端口设定为环网控制报文转发允许态,以通过故障消失链路对应端口转发以太环网保护控制报文。在环网链路故障期间,主节点发送的链路健康检测报文不能通过检测到故障发生的链路,当故障消失后,主节点发送的链路健康检测报文可以通过检测到故障消失的链路,从而防止了由于检测到故障的链路仍然能够传输以太环网控制报文导致的主节点对环网状态的错误判断,提高了环网保护系统的抗故障能力。It can be seen from the descriptions in Fig. 4 to Fig. 6 that the transmission method of the Ethernet ring network protection control message according to the embodiment of the present invention includes the following steps: the node detects the link state corresponding to the port on the ring; If the adjacent link fails, set the corresponding port of the failed link to the state of prohibiting the forwarding of the ring network control message, so that the corresponding port of the failed link cannot forward the Ethernet ring network protection control message. If the node detects that the adjacent link on the ring When the link failure disappears, the corresponding port of the link with the failure disappearance is set to the ring network control message forwarding allowable state, so as to forward the Ethernet ring network protection control message through the corresponding port of the link with the failure disappearance. During the link failure of the ring network, the link health detection message sent by the master node cannot pass the link where the fault occurred. When the fault disappears, the link health detection message sent by the master node can pass the detected link link, thereby preventing the master node from erroneously judging the status of the ring network due to the fact that the detected link can still transmit the Ethernet ring network control message, and improving the anti-fault capability of the ring network protection system.
下面对应用了本发明的某以太环网保护系统中的以太环网保护控制报文的传输进行说明。The transmission of the Ethernet ring network protection control message in a certain Ethernet ring network protection system to which the present invention is applied is described below.
例如,假设环上的有5个传输节点和1个主节点,相邻节点之间的链路为收发两根光纤,断开某两个节点之间的单根光纤,使得链路为单通。在没有应用本发明的以太环网保护系统中,主节点检测到环网发生链路故障后,向主端口发送的HELLO报文仍然可以通过单通的链路在从端口收到,认为环网链路恢复,进行链路恢复切换阻塞从端口,导致保护业务VLAN的数据只能单通;在以太环网保护系统应用本发明后,链路单向故障时,检测到链路故障的节点将对应端口设定为环网控制报文转发禁止态,主节点发送的HELLO报文无法通过检测到链路故障的端口,也无法在从端口收到HELLO报文,所以不会对环网状态产生错误判断。For example, suppose there are 5 transmission nodes and 1 master node on the ring, and the links between adjacent nodes are two optical fibers for sending and receiving, and a single optical fiber between two nodes is disconnected to make the link one-way . In the Ethernet ring network protection system that does not apply the present invention, after the master node detects that a link failure occurs in the ring network, the HELLO message sent to the master port can still be received at the slave port through a single-pass link, and the ring network is considered Link recovery, carry out link recovery switch and block from the port, cause the data of protection service VLAN to only be one-way; The corresponding port is set to the ring network control message forwarding disabled state, the HELLO message sent by the master node cannot pass through the port where the link failure is detected, and the HELLO message cannot be received at the slave port, so it will not affect the ring network status. Misjudgment.
另外,假设在环上有5个传输节点和1个主节点,相邻节点之间采用对发探测报文的方式进行链路故障检测,当节点在规定的时间内收不到对端发送的探测报文时,就认为链路发生故障。将某个传输节点中央处理单元(Central Processing Unit,简称CPU)复位,在CPU复位开始时,硬件仍然可以转发数据,但是软件无法运行,在CPU复位一段时间后,硬件停止转发数据。该复位节点的对端节点在规定的时间内检测不到探测包,认为链路发生故障。在没有应用本发明的以太环网保护系统中,主节点检测到环网发生链路故障后,向主端口发送的HELLO报文仍然可以通过复位节点的硬件转发在从端口收到,认为环网链路恢复,进行链路恢复切换阻塞从端口,产生了对环网状态的错误判断,此时复位CPU的节点硬件停止转发数据,但是相邻节点已经记录了链路状态为故障态,不会再通知主节点链路故障,因此主节点检测不到环网链路发生故障,从端口仍然处于阻塞状态,导致保护业务VLAN内的用户数据不通。在以太环网保护系统应用本发明后,节点检测到链路故障时,将对应故障链路的端口设定为环网控制报文转发禁止态,主节点发送的HELLO报文无法通过检测到链路故障的端口,也无法在从端口收到HELLO报文,不会对环网状态产生错误判断。In addition, assuming that there are 5 transmission nodes and 1 master node on the ring, the link fault detection is performed between adjacent nodes by sending detection messages to each other. When a packet is detected, the link is considered to be faulty. Reset the Central Processing Unit (CPU) of a transmission node. When the CPU resets, the hardware can still forward data, but the software cannot run. After the CPU is reset for a period of time, the hardware stops forwarding data. The peer node of the reset node does not detect the detection packet within the specified time, and considers that the link is faulty. In the Ethernet ring network protection system that does not apply the present invention, after the master node detects that a link failure occurs in the ring network, the HELLO message sent to the master port can still be received at the slave port through the hardware forwarding of the reset node. The link is restored, the link is restored and the slave port is blocked, resulting in a wrong judgment on the state of the ring network. At this time, the hardware of the node that resets the CPU stops forwarding data, but the adjacent node has recorded that the link state is in the fault state, so it will not Then notify the master node of link failure, so the master node cannot detect the failure of the ring network link, and the slave port is still in the blocked state, resulting in the failure of user data in the protected service VLAN. After the Ethernet ring network protection system applies the present invention, when a node detects a link fault, the port corresponding to the faulty link is set to the ring network control message forwarding prohibition state, and the HELLO message sent by the master node cannot pass through the detected link. If the port fails, the slave port cannot receive the HELLO message, and the ring network status will not be misjudged.
综上所述,本发明通过对节点端口传输以太环网保护控制报文的方式进行分类,当检测到链路发生故障时,禁止以太环网保护控制报文通过故障链路对应端口,防止了复杂链路故障情况下的环网状态错误判断,提高了系统的可靠性和稳定性。另外,本发明可用于多种以太环网保护技术中。In summary, the present invention classifies the modes of transmitting Ethernet ring network protection control messages through node ports. When a link failure is detected, the Ethernet ring network protection control message is prohibited from passing through the corresponding port of the faulty link, preventing Misjudgment of the state of the ring network in the case of a complex link failure improves the reliability and stability of the system. In addition, the present invention can be used in various Ethernet ring network protection technologies.
以上所述仅为本发明的实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above description is only an embodiment of the present invention, and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2007101420467A CN101094190B (en) | 2007-08-20 | 2007-08-20 | Transmission method of Ethernet ring network protection control message |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2007101420467A CN101094190B (en) | 2007-08-20 | 2007-08-20 | Transmission method of Ethernet ring network protection control message |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101094190A CN101094190A (en) | 2007-12-26 |
| CN101094190B true CN101094190B (en) | 2010-12-08 |
Family
ID=38992224
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007101420467A Expired - Fee Related CN101094190B (en) | 2007-08-20 | 2007-08-20 | Transmission method of Ethernet ring network protection control message |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101094190B (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101330404A (en) * | 2008-06-20 | 2008-12-24 | 华为技术有限公司 | Method, system and device for managing network device port status |
| CN101662421B (en) * | 2008-08-28 | 2012-09-05 | 中兴通讯股份有限公司 | Method and device for transmitting control message based on ethernet multi-ring network |
| CN101465782B (en) * | 2009-01-12 | 2011-01-05 | 杭州华三通信技术有限公司 | Method for switching optimizing link of RRPP loop, system and network node |
| CN101815029B (en) * | 2009-02-19 | 2014-09-10 | 中兴通讯股份有限公司 | Address refreshing method of sub-loop virtual channel |
| CN102694710B (en) * | 2012-05-25 | 2014-12-31 | 浙江宇视科技有限公司 | Ring network service protection method and device |
| CN103166868B (en) * | 2013-03-04 | 2015-09-16 | 杭州华三通信技术有限公司 | For the method and apparatus that anti-neighbours are shaken |
| CN106559820B (en) * | 2015-09-24 | 2019-08-16 | 电信科学技术研究院 | A kind of link monitoring method and device |
| CN109617828A (en) * | 2019-01-22 | 2019-04-12 | 新华三技术有限公司 | A kind of data forwarding method and device |
| CN114500161A (en) * | 2022-02-27 | 2022-05-13 | 重庆长安汽车股份有限公司 | Redundant link switching method based on vehicle-mounted Ethernet ring network and readable storage medium |
| CN114844774B (en) * | 2022-04-24 | 2023-07-14 | 重庆长安汽车股份有限公司 | Redundant communication system, method and storage medium for vehicle-mounted Ethernet ring network |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6766482B1 (en) * | 2001-10-31 | 2004-07-20 | Extreme Networks | Ethernet automatic protection switching |
| CN1747439A (en) * | 2005-10-14 | 2006-03-15 | 杭州华为三康技术有限公司 | Fault treating method for phase switching loop of automatic protection system of Ethernet |
| CN1812300A (en) * | 2005-01-28 | 2006-08-02 | 武汉烽火网络有限责任公司 | Loop network connection control method, route exchanging equipment and loop network system |
| EP1727313A1 (en) * | 2005-05-25 | 2006-11-29 | Siemens Aktiengesellschaft | Ring network and method for automatic protection switching |
-
2007
- 2007-08-20 CN CN2007101420467A patent/CN101094190B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6766482B1 (en) * | 2001-10-31 | 2004-07-20 | Extreme Networks | Ethernet automatic protection switching |
| CN1812300A (en) * | 2005-01-28 | 2006-08-02 | 武汉烽火网络有限责任公司 | Loop network connection control method, route exchanging equipment and loop network system |
| EP1727313A1 (en) * | 2005-05-25 | 2006-11-29 | Siemens Aktiengesellschaft | Ring network and method for automatic protection switching |
| CN1747439A (en) * | 2005-10-14 | 2006-03-15 | 杭州华为三康技术有限公司 | Fault treating method for phase switching loop of automatic protection system of Ethernet |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101094190A (en) | 2007-12-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101094190B (en) | Transmission method of Ethernet ring network protection control message | |
| CN101001192B (en) | A ring network link protection method, system and equipment | |
| CN101999224B (en) | Redundant Ethernet automatic protection switching access to virtual private lan services | |
| US7911938B2 (en) | System and method for preventing loops in the presence of control plane failures | |
| US8208369B2 (en) | Ethernet ring system and a master node and an initialization method thereof | |
| JP4778712B2 (en) | Ethernet automatic protection switching | |
| CN101127674A (en) | Method for initialization of transmission nodes in Ethernet ring network system | |
| CN101399737A (en) | Protection method and apparatus used for link convergence group of loop Ethernet | |
| CN101686158B (en) | Control method for Ethernet loop guard fault recovery and Ethernet loop node | |
| CN100493006C (en) | A ring fault detection method, sub-ring master node and sub-ring | |
| CN101686167A (en) | Method for controlling recovery of faults of Ethernet | |
| CN101227371B (en) | Method and apparatus of backup switch among same level switch equipments | |
| CN101247306A (en) | Edge port blocking method in Ethernet ring network, Ethernet ring network system and equipment | |
| CN101127653B (en) | The Ethernet ring network device with backup and the realization method of its master device backup | |
| CN100479411C (en) | Processing method for node link switching of the distributed system and its device | |
| CN101141333A (en) | A Fault Handling Method for Master Node Slave Port of Ethernet Ring Network System | |
| CN101626335B (en) | Data protection method of dual-connection network | |
| JP2003258822A (en) | Packet ring network and inter-packet ring network connection method used in the same | |
| CN101753368B (en) | Method for protecting Ethernet | |
| CN101753465B (en) | Protection method taking Ethernet Ring protection system to control VLAN message and device thereof | |
| WO2007057884A2 (en) | Vpls remote failure indication | |
| CN103404091B (en) | Service protection method, device and system | |
| CN102025561A (en) | Method and system for refreshing MAC (Medium Access Controller) in Ethernet ring | |
| CN102857423A (en) | Service flow transferring method and node in distributed link polymerization system | |
| CN101631035A (en) | Method for protecting Ethernet double-return connection |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101208 Termination date: 20200820 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |