WO2012139452A1 - 一种以太网保护倒换的实现方法和*** - Google Patents

一种以太网保护倒换的实现方法和*** Download PDF

Info

Publication number
WO2012139452A1
WO2012139452A1 PCT/CN2012/072624 CN2012072624W WO2012139452A1 WO 2012139452 A1 WO2012139452 A1 WO 2012139452A1 CN 2012072624 W CN2012072624 W CN 2012072624W WO 2012139452 A1 WO2012139452 A1 WO 2012139452A1
Authority
WO
WIPO (PCT)
Prior art keywords
data unit
board
link
service
cross
Prior art date
Application number
PCT/CN2012/072624
Other languages
English (en)
French (fr)
Inventor
董红云
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012139452A1 publication Critical patent/WO2012139452A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Definitions

  • the present invention relates to the field of network communication technologies, and more particularly to a method and system for implementing protection switching of an Ethernet service.
  • Ethernet technology has been widely and importantly applied. Due to the inheritance and development of communication technology applications, Ethernet networks are also moving towards Multi-Service Transport Platform (MSTP). development of. In the actual application of Ethernet, some services have higher and higher requirements for the reliability and real-time performance of the network. Therefore, there is a need in the network for a method of supporting high reliability and real-time Ethernet Protection Switching (EPS).
  • MSTP Multi-Service Transport Platform
  • FIG. 1 a schematic diagram of the Ethernet dual-homing connection is described.
  • the following is an item-by-item description: Two board ports connected to the client, one is a working board port, and the other is a protected board port.
  • the board ports are mutually active and standby.
  • the two boards are connected to one port of the client (according to the MEF (Metro Ethernet Forum), which is the user-network interface (UNI, User-to-Network interface) or user port).
  • MEF Micro Ethernet Forum
  • the board and the transport network also have the same number of ports connected (in accordance with MEF, which is the Network-to-Network Interface (NI) or system port).
  • MEF Network-to-Network Interface
  • the system ports of the two boards have the same service configuration.
  • Each board includes one or more system ports.
  • One of the user ports and their system port groups is configured as the working service channel of the EPS protection group, and the other user port and its system port group are configured as the protection service channels of the EPS protection group.
  • All the time slots included in each pair of system port groups that are the working service channel and the protection service channel need to be configured in the same time slot of the same optical board according to the configuration method of SNCP (Sub-Network Connection Protection).
  • the SNCP protection of the partial time slots of one optical port is formed by two system port groups. After the cross board, it is connected to the same time slot of the light board. According to the principle of concurrent and superior reception, the cross-connect board selects one-side time slot channel for the system port group that has no alarm and is the working service channel.
  • the system port group that protects the service channel can receive the service from the remote end, but The traffic sent to the remote end cannot be sent to the optical board.
  • the technical problem to be solved by the present invention is to provide an Ethernet protection switching method and system, which solves the problem of service interruption when a channel of an existing Ethernet dual-homing connection fails.
  • the present invention uses the following technical solutions:
  • An implementation method for Ethernet protection switching includes:
  • the implementation method further includes:
  • the data unit that has not performed the service transmission knows the link abnormality of the data unit that is performing the service transmission, the data unit that is not currently performing the service transmission clears the alarm in the time slot of the corresponding system port.
  • the implementation method further includes:
  • the data unit When the data unit inserts an alarm in the slot of its corresponding system port, it also blocks its corresponding system port.
  • the implementation method further includes:
  • the data unit that has not performed the service transmission knows the link abnormality of the data unit that is performing the service transmission, the data unit that has not currently performed the service transmission also opens its corresponding system port.
  • the implementation method further includes:
  • Two of the data units determine whether the link is abnormal by link detection, and send link state information to the cross board, and the cross board sends link state information of each data unit to the Another data unit of the two data units.
  • the implementation method further includes:
  • the cross-board When the cross-board does not receive the link state information of one of the two data units at a specified time, it is determined that the data unit link state is abnormal and another data unit is notified.
  • An implementation system for Ethernet protection switching comprising: a primary data unit, a spare data unit, and a cross board, wherein the primary data unit is connected to the cross board through a system port; the standby data unit and the cross board Connected through the system port, where: the primary data unit or the standby data unit is configured to: insert, in the time slot of its corresponding system port, if the data unit is aware of its own link abnormality while the data unit is performing service transmission Report
  • the cross board is configured to: perform service transmission according to a time slot of a system port that selects a data unit without an alarm according to a subnet connection protection.
  • the primary data unit or the standby data unit is further configured to:
  • the data unit When the data unit is not currently transmitting traffic and knows that the link of another data unit that is transmitting the service is abnormal, the data unit that has not performed the service clears the alarm in the time slot of its corresponding system port.
  • the primary data unit or the standby data unit is further configured to:
  • the primary data unit or the standby data unit is further configured to:
  • the data unit that has not performed the service transmission also opens its corresponding system port.
  • the primary data unit or the standby data unit is further configured to: determine, by the link detection, whether the link is abnormal, and send the link state information to the cross-board;
  • the cross board is further configured to: receive the primary data unit or the backup data unit feedback The link state information, the link state information of the primary data unit is sent to the standby data unit, and the link state information of the standby data unit is sent to the primary data unit.
  • the cross board is further configured to:
  • the above technical solution effectively solves the problem that the service cannot continue to be transmitted normally when one channel fails in the dual-homing connection, and the protection switching speed reaches the requirement of the carrier-class Ethernet; and also prevents the broadcast storm of the Ethernet connection network. And data transfer disruption and other issues.
  • the above technical solution does not require special cooperation of the client device, that is, no message is required between the client and the site to exchange information.
  • the above technical solutions can be applied to various networking. BRIEF abstract
  • FIG. 1 is a schematic diagram of an Ethernet dual-homing connection
  • Figure 2 is a schematic diagram showing the state transition of the active and standby boards in the EPS group. Preferred embodiment of the invention
  • the embodiment of the invention provides a method for implementing Ethernet protection switching.
  • the fast protection switching of the active and standby channels is implemented by detecting the connection state of the active and standby links and controlling the transmission channel without using the protocol packet transmission and reception.
  • the protection channel inserts an alarm, forcing the SNCP to select the working channel for service transmission, and, in addition, blocking the system port of the protection channel, so that the protection channel does not receive and transmit services. Thereby avoiding the disruption of the client service transmission;
  • the embodiment of the invention provides a method for implementing Ethernet protection switching, which includes:
  • the method further includes: when the data unit that does not perform service transmission knows that the link of the data unit that is performing the service transmission is abnormal, the data unit that is not currently performing service transmission clears the time slot of the corresponding system port. Alarm.
  • the data unit also blocks its corresponding system port when an alarm is inserted in the time slot of its corresponding system port.
  • the data unit that has not performed the service transmission knows that the link of the data unit that is transmitting the service is abnormal, the data unit that has not currently performed the service transmission also opens its corresponding system port. By blocking the system port of the data unit of the untransferred service, the disruption of the client's service transmission is avoided.
  • the method further includes: determining, by the link detection, whether the link is abnormal, and sending the link state information to the cross board, where the cross board sends the link state information of each data unit Give the other data unit of the two data units.
  • the cross-board does not receive the link state information of one of the two data units at a specified time, it is determined that the data unit link state is abnormal and another data unit is notified.
  • Each data unit corresponds to one board.
  • the board is selected as the working board (the user port of the board is the working board port), and the board of the other channel is selected as the protection board.
  • the user port is the protected single board port).
  • the protection board When both link links are normal, that is, when the normal transmission service capability is available, the protection board inserts an alarm into the time slot in its system port for a period of time or continuously, forcing the subnet connection protection option.
  • the time slot of the port of the board is used as the channel of the receiving system.
  • the system port of the protection board is blocked from receiving the data sent by the cross board to prevent the data from being forwarded to the client, causing the data transmission of the client to be disturbed. .
  • the two boards pass the state of the board through the inter-board communication mode and the cross board. Through the status information transmission of the cross-board, the two boards are in proper operation in a coordinated manner.
  • the protection board If the link is faulty on the interface of the protection board, the protection board detects the link fault through the link detection on the 802.3 MAC port of the user port. The protection board reports the information of the protection board abnormality to the cross-board. The board then forwards this information to the work board. The work board still maintains the business delivery.
  • the channel of the protection board When the channel of the protection board is normal, the channel of the working board changes from normal to link fault, and the working board's channel does not have the capability of transmitting services normally, the working board passes the user port.
  • the link detection of the 802.3 MAC port is used to detect the link fault.
  • the working board reports the information of the service board abnormality to the cross-connect board and inserts it into the time slot of the system port of the card for a period of time or continuously.
  • the alarm is used to force the subnet connection protection to select the time slot of the system port that protects the board as the receiving channel. After the protection board obtains the information of the service board abnormality through the cross-connect board, the system port of the board is cleared.
  • the alarm in the time slot (if the protection board inserts an alarm into the time slot in a period of time, there may be no alarm in the time slot, so there is no need to clear the alarm in the time slot), and the board is not blocked at the same time. System port.
  • the channel that protects the board is ready for service transmission.
  • the subnet connection protection of the cross-board also switches the service to the time slot of the system port that protects the board, so the service switches to the protection list. Continue to transmit on the channel of the board.
  • the channel that protects the board is in normal service and the channel of the working board is normal.
  • the protection switching process is the same as above.
  • the protocol of the present invention can be described by state; If the board is in the initial state of the board, or the alarm is cleared, the current board is the working board. The working board and the service board are normal.
  • the board is in the initial state of the standby board, or the alarm is added to the time slot.
  • the request board is currently the protection board.
  • the working board is closed.
  • the board is in the working board and the working board is the working board.
  • the protection board clears the time slot alarm, and the operation is turned on.
  • the automatic reverse service is abnormal.
  • the automatic protection starts the system port and transmits the service.
  • the board is in the protection board to protect the board.
  • the working board inserts an alarm and protects the time slot.
  • the automatic reverse service is abnormal.
  • the automatic protection starts. Close the system port.
  • the board is in the working state.
  • the board is currently working on the board.
  • the service is currently on the board.
  • the board is protected.
  • the board is currently protected by the board.
  • the service is not on the board. Transfer on.
  • the board is in the working mode.
  • the board is in the protection mode.
  • the board is in the working automatic switching.
  • the board is in the protection automatic switching.
  • the board status is determined by the service status of the board and the board status of the EPS group.
  • the board periodically transmits the service status to the cross board through the inter-board communication mode (for example, the Highway line).
  • the board is forwarded to another board in the same EPS group.
  • the service status of the board is determined by the link of the 802.3 MAC port of the user port selected by the board in the EPS group, or the cross-board is determined according to the delay of the service status of the board in the EPS group.
  • the service is normal: The board detects that the link status of the 802.3 MAC port of the user port of the EPS group is normal, and sends the status value to the cross-connect board periodically. If the cross-board receives the packet, the status of the board is normal. At the same time, the cross-board will periodically forward this state to another board in the same EPS group.
  • the period may be 10 ms, which is not limited in the present invention.
  • the service is abnormal. There are two cases.
  • the board detects that the link status of the 802.3 MAC port of the EPS port is disconnected, and periodically sends the status value to the cross-connect board.
  • the status of the board is abnormal.
  • the second is that the status of the board is abnormal.
  • the board does not receive the status of the board.
  • the board determines that the status of the board is abnormal.
  • the reason why the board does not send the service status of the board is that the board is powered off or the software is faulty.
  • the cross-board periodically forwards this state to another board in the same EPS group.
  • the board is working, no request status: The initial status of the active board, or the current board is the working board, and the service status of the board (currently working board) and the protection board are service. If the board is normal, the board is triggered to migrate to this state or maintain this state. The board in this state assumes service transmission, and needs to keep the system port open and clear the alarm insertion of the corresponding time slot. When the service status of the board (that is, the working board) and the protection board are normal, the board status will be migrated according to the state machine.
  • the service status of the board is in the normal state, the service status of the board is the same as that of the board.
  • the service status of the board is the same as that of the board. Triggers the board to migrate to this state or maintain this state. The board in this state does not bear the service transmission. You need to keep the system port closed and keep the alarm inserted into the corresponding time slot.
  • the board status will be migrated according to the state machine.
  • the board is working. Automatic switching: The active board or the standby board can be migrated to this state. If the original board is a working board and the service board is abnormal, the board will be migrated to this state. If the board is originally protected, the service is normal and the service board is abnormal. This state is maintained when the board is in this state (working, automatic switching), and the service is abnormal when the board (that is, the working board) is abnormal. The board in this state needs to bear the service transmission. The system port needs to be kept open and the alarm insertion of the corresponding time slot is cleared.
  • the board is protected and automatically switched.
  • the active board or the standby board can be migrated to this state. If the board is originally protected, the board will be migrated to this state. If the board is the working board and the service is abnormal, the board is normal. Move to this state; When the board is in this state (protected, automatically switched), and the board is queried. (that is, the protection board) When the service is abnormal, this state will remain unchanged. The board in this state does not bear the service transmission.
  • the system port needs to be kept off and the alarm is inserted into the corresponding time slot.
  • An embodiment of the present invention further provides an Ethernet protection switching implementation system, including: an active data unit, a standby data unit, and a cross board, where the primary data unit and the cross board are connected through a system port; the standby data unit and the cross The boards are connected through system ports, where:
  • the primary data unit or the standby data unit is configured to: insert an alarm in a time slot of its corresponding system port if the data unit is in the process of performing service transmission; the cross board is set to: According to the subnet connection protection, the time slot of the system port of the data unit without alarm is selected for service transmission.
  • the primary data unit or the standby data unit is further configured to: when the data unit does not currently perform service transmission, and learns that another link of the data unit that is performing service transmission is abnormal, the service is not performed.
  • the data unit clears the alarm in the slot of its corresponding system port.
  • the primary data unit or the standby data unit is further configured to: block an associated system port when an alarm is inserted in a time slot of the corresponding system port.
  • the primary data unit or the standby data unit is further configured to: when the data unit does not currently perform service transmission, and learns that another link of the data unit that is performing service transmission is abnormal, the service is not performed.
  • the data unit also opens its corresponding system port.
  • the primary data unit or the standby data unit is further configured to: determine, by using link detection, whether the link is abnormal, and send the link state information to the cross-board;
  • the cross board is further configured to: receive link state information fed back by the primary data unit or the standby data unit, send link state information of the primary data unit to the standby data unit, and send link state information of the standby data unit Give the primary data unit.
  • the cross-board is further configured to: when the link state information of the active data unit or the standby data unit is not received at a specified time, determine that the data unit link state is abnormal and notify another data unit.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be executed by a computing device The program code is implemented so that they can be stored in the storage device by the computing device, or they can be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps can be made into a single integrated circuit module. .
  • the invention is not limited to any specific combination of hardware and software.
  • the above technical solution effectively solves the problem that the service cannot continue to be transmitted normally when one channel fails in the dual-homing connection, and the protection switching speed reaches the requirement of the carrier-class Ethernet; and also prevents the broadcast storm and data transmission disturbance of the Ethernet connection network, etc. problem.
  • the above technical solution does not require special cooperation of the client device, that is, no message is required between the client and the site to exchange information.
  • the above technical solutions can be applied to a variety of networking. Therefore, the present invention has industrial utility.

Landscapes

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

Abstract

一种以太网保护倒换实现方法,包括:以太网双归连接的两个数据单元中,正在进行业务传送的数据单元获知自身链路异常时,在其对应的***端口的时隙中***告警,交叉板根据子网连接保护选择无告警的数据单元的***端口的时隙进行业务传送。还提供一种以太网保护倒换实现***。上述技术方案有效地解决双归连接中一条通道故障时业务无法正常继续传送的问题。

Description

一种以太网保护倒换的实现方法和***
技术领域
本发明涉及网络通信技术领域, 更具体的涉及一种以太网业务的保护倒 换实现方法和***。
背景技术
伴随着互联网的发展, 数据业务的迅猛增长, 以太网技术得到了广泛而 重要的应用; 而由于通讯技术应用的继承与发展, 以太网络也向着多业务承 载( MSTP , Multi-Service Transport Platform )方向发展。 在以太网的实际应 用中, 一些业务对网络的可靠性、 实时性要求越来越高。 因此, 网络中需要 支持高可靠性和实时性的以太网保护倒换( EPS , Ethernet Protection Switching ) 的方法。
如图 1所示, 描述了以太网双归连接的示意图, 下面进行逐项说明: 和客户端连接的两个单板端口, 一个为工作单板端口, 另一个为保护单 板端口, 两单板端口互为主备。
两单板与客户端各有一端口相连接 (按照域域以太网论坛( MEF, Metro Ethernet Forum ) , 即为用户和网络接口 ( UNI, User-to-Network interface ) 或用户端口 ) , 同时两单板与传输网也有相同数量的端口相连(按照 MEF, 即为网络和网络接口 ( N I , Network-to-Network Interface )或***端口 ) 。 两单板的***端口具有完全相同的业务配置。 每个单板包括一个或多个*** 端口。
其中一个用户端口及其***端口组配置为 EPS保护组的工作业务通道, 另一个用户端口及其***端口组配置为 EPS保护组的保护业务通道。
互为工作业务通道和保护业务通道的每对***端口组所包含的所有时隙, 都需要按子网连接保护( SNCP, Sub-Network Connection Protection ) 的配置 方法, 配到同一光板的同一时隙上, 构成两个***端口组对一个光口的部分 时隙的 SNCP保护。 经交叉板之后与光板同一时隙相连。 交叉板根据并发优收的原则, 选择无告警且为工作业务通道的***端口 组的一侧时隙通道收发业务; 作为保护业务通道的***端口组, 其能收到来 自远端的业务, 但其发送给远端的业务无法发到光板上。
在该网络中, 工作业务通道正常时业务能正常传送, 如果工作业务通道 出现链路异常时, 那么客户端的业务就会无法正常传送而发生中断。 发明内容
本发明要解决的技术问题是提供一种以太网保护倒换方法和***, 解决 现有以太网双归连接的一条通道故障时业务中断的问题。
为了解决上述问题, 本发明釆用如下技术方案:
一种以太网保护倒换的实现方法, 包括:
以太网双归连接的两个数据单元中, 正在进行业务传送的数据单元获知 自身链路异常时, 在其对应的***端口的时隙中***告警, 交叉板根据子网 连接保护选择无告警的数据单元的***端口的时隙进行业务传送。
所述实现方法还包括:
当前未进行业务传送的数据单元获知正在进行业务传送的数据单元的链 路异常时, 所述当前未进行业务传送的数据单元清除其对应***端口的时隙 中的告警。
所述实现方法还包括:
所述数据单元在其对应的***端口的时隙中***告警时, 还阻塞其对应 的***端口。
其中, 所述实现方法还包括:
当前未进行业务传送的数据单元获知正在进行业务传送的数据单元的链 路异常时, 所述当前未进行业务传送的数据单元还打开其对应的***端口。
所述实现方法还包括:
两个所述数据单元通过链路检测判断链路是否异常, 并将链路状态信息 发送给所述交叉板, 所述交叉板将每个数据单元的链路状态信息发送给所述 两个数据单元中的另一数据单元。
所述实现方法还包括:
所述交叉板指定时间未收到所述两个数据单元中的一个数据单元的链路 状态信息时, 判断该数据单元链路状态异常并告知另一数据单元。
一种以太网保护倒换的实现***, 包括: 主用数据单元、 备用数据单元 和交叉板, 所述主用数据单元与所述交叉板通过***端口相连; 所述备用数 据单元和所述交叉板通过***端口相连, 其中: 所述主用数据单元或所述备用数据单元设置成: 当该数据单元正在进行 业务传送时, 如果获知自身链路异常, 在其对应的***端口的时隙中***告
所述交叉板设置成: 根据子网连接保护选择无告警的数据单元的***端 口的时隙进行业务传送。
其中, 所述主用数据单元或备用数据单元还设置成:
当该数据单元当前未进行业务传送, 且获知另一正在进行业务传送的数 据单元的链路异常时, 所述未进行业务传送的数据单元清除其对应***端口 的时隙中的告警。
其中, 所述主用数据单元或备用数据单元还设置成:
在其对应的***端口的时隙中***告警时, 还阻塞其对应的***端口。 其中, 所述主用数据单元或备用数据单元还设置成:
当该数据单元当前未进行业务传送, 且获知另一正在进行业务传送的数 据单元的链路异常时, 所述未进行业务传送的数据单元还打开其对应的*** 端口。
其中:
所述主用数据单元或备用数据单元还设置成: 通过链路检测判断链路是 否异常, 并将链路状态信息发送给交叉板;
所述交叉板还设置成: 接收所述主用数据单元或所述备用数据单元反馈 的链路状态信息, 将所述主用数据单元的链路状态信息发送给所述备用数据 单元, 将所述备用数据单元的链路状态信息发送给所述主用数据单元。
其中, 所述交叉板还设置成:
在指定时间未收到所述主用数据单元或所述备用数据单元的链路状态信 息时, 判断该数据单元链路状态异常并告知另一数据单元。
综上所述, 上述技术方案有效地解决了双归连接中一条通道故障时业务 无法正常继续传送的问题, 保护倒换速度达到电信级以太网的需求; 同时也 防止了以太网连接网络的广播风暴和数据传送扰乱等问题。 上述技术方案无 需客户端设备的特殊配合, 即无需客户端与站点之间传送报文来交互信息。 上述技术方案可以应用于多种组网中。 附图概述
图 1是一个以太网双归连接的示意图;
图 2是 EPS组中主用和备用单板的状态迁移示意图。 本发明的较佳实施方式
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。 应当理解, 此处描述的 优选实施例仅用于说明和解释本发明, 并不用于限定本发明。
本发明实施例提供一种以太网保护倒换的实现方法, 不借助于协议报文 的收发, 通过对主备链路连接状态的检测和传输通道的控制, 来实现主备通 道的快速保护倒换。 包括:
1 )在以太网双归连接的两条通道都正常的情况下, 保护通道***告警, 迫使 SNCP选择工作通道进行业务传送, 另外, 阻塞保护通道的***端口, 使保护通道不接收和发送业务, 从而避免了对客户端业务传送的扰乱;
2 )在以太网双归连接的两条通道中一条正在承担业务传送的通道发生链 路故障时, 单板通过用户端口的 802.3MAC端口的链路检测来感知到, 正在 承担业务传送的通道***告警, 迫使 SNCP选择另一通道进行业务传送, 另 夕卜, 打开原被阻塞的通道的***端口, 使其可以承担业务传送。 这样就完成 了通道故障时的业务保护, 避免了业务的中断和丟失。 本发明实施例提供一种以太网保护倒换实现方法, 包括:
以太网双归连接的两个数据单元中, 正在进行业务传送的数据单元获知 自身链路异常时, 在其对应的***端口的时隙中***告警, 交叉板根据子网 连接保护选择无告警的数据单元的***端口的时隙进行业务传送。
其中, 所述方法还包括: 当前未进行业务传送的数据单元获知正在进行 业务传送的数据单元的链路异常时, 所述当前未进行业务传送的数据单元清 除其对应***端口的时隙中的告警。
其中, 所述数据单元在其对应的***端口的时隙中***告警时, 还阻塞 其对应的***端口。 当前未进行业务传送的数据单元获知正在进行业务传送 的数据单元的链路异常时, 所述当前未进行业务传送的数据单元还打开其对 应的***端口。 通过阻塞未传输业务的数据单元的***端口, 从而避免了对 客户端业务传送的扰乱。
其中, 所述方法还包括: 所述两个数据单元通过链路检测判断链路是否 异常, 并将链路状态信息发送给交叉板, 所述交叉板将每个数据单元的链路 状态信息发送给所述两个数据单元中的另一数据单元。 另外, 所述交叉板指 定时间未收到所述两个数据单元中的一个数据单元的链路状态信息时, 判断 该数据单元链路状态异常并告知另一数据单元。
其中, 每个数据单元对应一个单板。
本发明的具体技术方案如下:
初始时, 通过配置, 对双归连接的一条通道的单板选为工作单板(该单 板的用户端口为工作单板端口) , 另一条通道的单板选为保护单板 (该单板 的用户端口为保护单板端口) 。
当两条通道链路都正常时, 即都具有正常传送业务能力时, 保护单板向 其***端口中的时隙一段时间或持续地***告警, 迫使子网连接保护选择工 作单板***端口的时隙作为优收的通道; 同时阻塞保护单板的***端口, 使 其不接收交叉板发送过来的数据, 以避免这些数据转发到客户端, 引起客户 端的数据传送的扰乱。 与此同时以及从始至终整个过程中, 两单板分别通过 板间通讯方式与交叉板传递单板的状态。 通过交叉板的状态信息传递, 使两 单板均协调地处于正确的运行状态。
当保护单板的通道出现链路故障, 保护单板通过用户端口的 802.3MAC 端口的链路检测来感知到链路故障, 保护单板向交叉板报告 "保护单板业务 异常" 的信息, 交叉板再将此信息转告给工作单板。 工作单板仍保持承担业 务传送。
当保护单板的通道正常, 工作单板的通道由正常变为链路故障, 工作单 板的通道不具备正常传送业务的能力时, 工作单板通过用户端口的
802.3MAC端口的链路检测来感知到链路故障, 工作单板将 "工作单板业务 异常" 的信息报告给交叉板, 同时向本单板的***端口的时隙中一段时间或 持续地***告警, 迫使子网连接保护选择保护单板的***端口的时隙作为优 收的通道; 保护单板通过交叉板得到 "工作单板业务异常" 的信息后, 会清 除本单板的***端口的时隙中的告警 (如果初始时保护单板在一段时间内向 时隙中***告警, 则此时时隙中可能没有告警, 从而不需要清除时隙中的告 警) , 同时不再阻塞本单板的***端口。 进行以上操作后, 保护单板的通道 做好了承担业务传送的准备, 同时交叉板的子网连接保护也将业务切换到保 护单板的***端口的时隙中,于是业务就切换到保护单板的通道上继续传送。
保护单板的通道正在正常承担业务传送且工作单板的通道正常, 当保护 单板的通道出现链路故障时, 其保护倒换过程同上。
在工作单板的通道正在正常承担业务传送且保护单板的通道异常, 或保 护单板的通道正在正常承担业务传送且工作单板的通道异常的情况下, 如果 正常传送业务的链路出现故障, 将不进行保护倒换的过程, 而仅仅向交叉板 传送各自的状态。
为了使说明更加清晰明白, 本发明的协议可以通过状态来描述;
Figure imgf000008_0001
1 单板处于工 主用单板的初始状态,或本单 清除时隙告警,打开 作, 无请求 板当前为工作单板,工作单板 ***端口,传送业务 和保护单板业务均正常
2 单板处于保 备用单板的初始状态,或本单 对时隙***告警并 护, 无请求 板当前为保护单板,工作单板 关闭***端口
和保护单板业务均正常
3 单板处于工 本单板为工作单板,保护单板 清除时隙告警,打开 作, 自动倒 业务异常, 自动保护启动 ***端口,传送业务 换
4 单板处于保 本单板为保护单板,工作单板 在时隙***告警并 护, 自动倒 业务异常, 自动保护启动 关闭***端口
上述表中, 单板处于工作, 是指该单板当前为工作单板, 业务当前在该 单板^ ^输, 单板处于保护是指该单板当前为保护单板, 业务不在该单板上传 输。
1 )单板所处的状态有四种, 分别为单板处于工作无请求, 单板处于保护 无请求, 单板处于工作自动倒换, 单板处于保护自动倒换。
单板状态的迁移是由单板自身的业务状态和同 EPS组的单板业务状态来 共同决定的, 单板将业务状态通过板间通讯方式(例如 Highway线 )周期性 传送给交叉板, 交叉板再转发给同 EPS组的另一单板。 而单板的业务状态则 是由单板选入 EPS组中的用户端口的 802.3MAC端口的链路检测,或交叉板 根据对 EPS组中单板对业务状态传送时延的情况来决定。 以下参考图 2对各 状态作——说明。
业务正常: 单板检测 EPS组用户端口的 802.3MAC端口的链路状态为正 常, 并周期性将此状态值发送给交叉板, 交叉板接收到则判断此单板状态为 业务正常。 同时交叉板会将此状态周期性转发给同 EPS组的另一单板。 所述 周期可为 10ms, 本发明对此不作限定。
业务异常: 分两种情况, 一是单板检测 EPS组用户端口的 802.3MAC端 口的链路状态为断开, 并周期性将此状态值发送给交叉板, 交叉板接收到则 判断此单板状态为业务异常; 二是交叉板一定时延内(建议 30ms, 可根据需 要而设定)没有收到单板发送状态值,则交叉板判断此单板状态为业务异常。 导致单板一定时延不发送本单板业务状态的原因可为单板掉电、软件故障等。 交叉板会将此状态周期性转发给同 EPS组的另一单板。
结合图 2,对单板状态进行说明,图 2中主用单板和备用单板是固定的, 特指某一单板,工作单板和保护单板是变化的,如果单板当前正在传送业务, 则为工作单板, 否则为保护单板。 下面说明各状态及其迁移。
单板处于工作, 无请求状态: 主用单板的初始状态, 或本单板当前为工 作单板, 并且查询到本单板(当前为工作单板)和保护单板的业务状态均为 业务正常, 则触发本单板迁移到此状态或保持此状态。 在此状态的单板承担 业务传送, 需将***端口保持打开和清除对应时隙的告警***。 当不满足本 单板(即工作单板)和保护单板的业务状态均为业务正常的条件时, 单板状 态将根据状态机迁移。
单板处于保护, 无请求状态: 备用单板初始状态, 或本单板当前为保护 单板, 并且查询到本单板(即保护单板)和工作单板的业务状态均为业务正 常, 则触发单板迁移到此状态或保持此状态。 在此状态的单板不承担业务传 送,需将***端口保持关闭和保持对对应时隙***告警。当不满足本单板(即 保护单板)和工作单板的业务状态均为业务正常的条件时, 单板状态将根据 状态机迁移。
单板处于工作, 自动倒换: 主用单板或备用单板都可以迁移到此状态。 当单板原为工作单板, 且查询到保护单板为业务异常时, 将迁移到此状态; 当单板原为保护单板, 查询到其业务正常, 且工作单板业务异常时, 将迁移 到此状态; 当单板原处于此状态 (处于工作, 自动倒换) , 且查询到本单板 (即工作单板) 业务异常时, 将保持此状态不变。 处于此状态的单板需承担 业务传送, 需将***端口保持打开和保持清除对应时隙的告警***。
单板处于保护, 自动倒换: 主用单板或备用单板都可以迁移到此状态。 当单板原为保护单板, 且查询到保护单板为业务异常时, 将迁移到此状态; 当单板原为工作单板, 查询到其业务异常, 且保护单板业务正常时, 将迁移 到此状态; 当单板原处于此状态 (处于保护, 自动倒换) , 且查询到本单板 (即保护单板) 业务异常时, 将保持此状态不变。 处于此状态的单板不承担 业务传送, 需将***端口保持关闭和保持对对应时隙***告警。 本发明实施例还提供一种以太网保护倒换实现***, 包括: 主用数据单 元、备用数据单元和交叉板,所述主用数据单元与交叉板通过***端口相连; 所述备用数据单元和交叉板通过***端口相连, 其中:
所述主用数据单元或备用数据单元设置成: 当该数据单元正在进行业务 传送时, 如果获知自身链路异常, 在其对应的***端口的时隙中***告警; 所述交叉板设置成: 根据子网连接保护选择无告警的数据单元的***端 口的时隙进行业务传送。
其中, 所述主用数据单元或备用数据单元还设置成: 当该数据单元当前 未进行业务传送, 且获知另一正在进行业务传送的数据单元的链路异常时, 所述未进行业务传送的数据单元清除其对应***端口的时隙中的告警。
其中, 所述主用数据单元或备用数据单元还设置成: 在其对应的***端 口的时隙中***告警时, 还阻塞其对应的***端口。
其中, 所述主用数据单元或备用数据单元还设置成: 当该数据单元当前 未进行业务传送, 且获知另一正在进行业务传送的数据单元的链路异常时, 所述未进行业务传送的数据单元还打开其对应的***端口。
其中, 所述主用数据单元或备用数据单元还设置成: 通过链路检测判断 链路是否异常, 并将链路状态信息发送给交叉板;
所述交叉板还设置成: 接收主用数据单元或备用数据单元反馈的链路状 态信息, 将主用数据单元的链路状态信息发送给备用数据单元, 将备用数据 单元的链路状态信息发送给主用数据单元。
其中, 所述交叉板还设置成: 在指定时间未收到所述主用数据单元或备 用数据单元的链路状态信息时, 判断该数据单元链路状态异常并告知另一数 据单元。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。
工业实用性
上述技术方案有效地解决了双归连接中一条通道故障时业务无法正常继 续传送的问题, 保护倒换速度达到电信级以太网的需求; 同时也防止了以太 网连接网络的广播风暴和数据传送扰乱等问题。 上述技术方案无需客户端设 备的特殊配合, 即无需客户端与站点之间传送报文来交互信息。 上述技术方 案可以应用于多种组网中。 因此本发明具有^ 虽的工业实用性。

Claims

权 利 要 求 书
1、 一种以太网保护倒换的实现方法, 包括:
以太网双归连接的两个数据单元中, 正在进行业务传送的数据单元获知 自身链路异常时, 在其对应的***端口的时隙中***告警, 交叉板根据子网 连接保护选择无告警的数据单元的***端口的时隙进行业务传送。
2、 如权利要求 1所述的实现方法, 所述实现方法还包括:
当前未进行业务传送的数据单元获知正在进行业务传送的数据单元的链 路异常时, 所述当前未进行业务传送的数据单元清除其对应***端口的时隙 中的告警。
3、 如权利要求 1所述的实现方法, 所述实现方法还包括:
所述数据单元在其对应的***端口的时隙中***告警时, 还阻塞其对应 的***端口。
4、 如权利要求 3所述的实现方法, 其中, 所述实现方法还包括: 当前未进行业务传送的数据单元获知正在进行业务传送的数据单元的链 路异常时, 所述当前未进行业务传送的数据单元还打开其对应的***端口。
5、 如权利要求 2或 4所述的实现方法, 所述实现方法还包括: 两个所述数据单元通过链路检测判断链路是否异常, 并将链路状态信息 发送给所述交叉板, 所述交叉板将每个数据单元的链路状态信息发送给所述 两个数据单元中的另一数据单元。
6、 如权利要求 5所述的实现方法, 所述实现方法还包括:
所述交叉板指定时间未收到所述两个数据单元中的一个数据单元的链路 状态信息时, 判断该数据单元链路状态异常并告知另一数据单元。
7、 一种以太网保护倒换的实现***, 包括: 主用数据单元、备用数据单 元和交叉板, 所述主用数据单元与所述交叉板通过***端口相连; 所述备用 数据单元和所述交叉板通过***端口相连, 其中:
所述主用数据单元或所述备用数据单元设置成: 当该数据单元正在进行 业务传送时, 如果获知自身链路异常, 在其对应的***端口的时隙中***告 所述交叉板设置成: 根据子网连接保护选择无告警的数据单元的***端 口的时隙进行业务传送。
8、如权利要求 7所述的实现***, 其中, 所述主用数据单元或备用数据 单元还设置成:
当该数据单元当前未进行业务传送, 且获知另一正在进行业务传送的数 据单元的链路异常时, 所述未进行业务传送的数据单元清除其对应***端口 的时隙中的告警。
9、如权利要求 7所述的实现***, 其中, 所述主用数据单元或备用数据 单元还设置成:
在其对应的***端口的时隙中***告警时, 还阻塞其对应的***端口。
10、 如权利要求 9所述的实现***, 其中, 所述主用数据单元或备用数 据单元还设置成:
当该数据单元当前未进行业务传送, 且获知另一正在进行业务传送的数 据单元的链路异常时, 所述未进行业务传送的数据单元还打开其对应的*** 端口。
11、 如权利要求 8或 10所述的实现***, 其中:
所述主用数据单元或备用数据单元还设置成: 通过链路检测判断链路是 否异常, 并将链路状态信息发送给交叉板;
所述交叉板还设置成: 接收所述主用数据单元或所述备用数据单元反馈 的链路状态信息, 将所述主用数据单元的链路状态信息发送给所述备用数据 单元, 将所述备用数据单元的链路状态信息发送给所述主用数据单元。
12、 如权利要求 11所述的实现***, 其中, 所述交叉板还设置成: 在指定时间未收到所述主用数据单元或所述备用数据单元的链路状态信 息时, 判断该数据单元链路状态异常并告知另一数据单元。
PCT/CN2012/072624 2011-04-15 2012-03-20 一种以太网保护倒换的实现方法和*** WO2012139452A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110095468.X 2011-04-15
CN201110095468.XA CN102739430B (zh) 2011-04-15 2011-04-15 一种以太网保护倒换的实现方法和***

Publications (1)

Publication Number Publication Date
WO2012139452A1 true WO2012139452A1 (zh) 2012-10-18

Family

ID=46994266

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072624 WO2012139452A1 (zh) 2011-04-15 2012-03-20 一种以太网保护倒换的实现方法和***

Country Status (2)

Country Link
CN (1) CN102739430B (zh)
WO (1) WO2012139452A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656652A (zh) * 2014-11-14 2016-06-08 中兴通讯股份有限公司 业务数据流传输方法及装置
CN107395425A (zh) * 2017-07-31 2017-11-24 烽火通信科技股份有限公司 一种灵活以太网1+1保护倒换实现方法
CN113890787B (zh) * 2020-07-03 2024-07-19 南京中兴新软件有限责任公司 灵活以太网环网保护方法、装置、计算机设备和介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612531A (zh) * 2003-10-31 2005-05-04 华为技术有限公司 实现复用段共享保护环错连压制的方法及其***
CN101159504A (zh) * 2007-10-23 2008-04-09 中兴通讯股份有限公司 基于同步数字体系的以太网保护方法
CN101674240A (zh) * 2009-09-24 2010-03-17 中兴通讯股份有限公司 用于分布式***的单节点双归的实现方法和装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622516A (zh) * 2003-11-27 2005-06-01 上海贝尔阿尔卡特股份有限公司 一种实现sdh业务保护倒换和自动恢复的交叉连接***
CN101321029B (zh) * 2008-06-24 2012-06-13 中兴通讯股份有限公司 一种对未配置时隙***告警的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612531A (zh) * 2003-10-31 2005-05-04 华为技术有限公司 实现复用段共享保护环错连压制的方法及其***
CN101159504A (zh) * 2007-10-23 2008-04-09 中兴通讯股份有限公司 基于同步数字体系的以太网保护方法
CN101674240A (zh) * 2009-09-24 2010-03-17 中兴通讯股份有限公司 用于分布式***的单节点双归的实现方法和装置

Also Published As

Publication number Publication date
CN102739430A (zh) 2012-10-17
CN102739430B (zh) 2017-04-12

Similar Documents

Publication Publication Date Title
US8300523B2 (en) Multi-chasis ethernet link aggregation
CN105763359B (zh) 用于交织结构交换机集群的分布式双向转发检测协议(d-bfd)
CN100558111C (zh) 城域以太网提供多业务组网下的可靠性处理方法及***
US8588060B2 (en) E-spring (G.8032) interworking to provide access protection
EP2618521B1 (en) Method, apparatus and system for link aggregation failure protection
US9246793B2 (en) Network, network fault recovery method, and node device
US9385944B2 (en) Communication system, path switching method and communication device
CN101340380B (zh) 一种实现主备倒换中双向转发检测包无中断转发的方法和装置
CN100586096C (zh) 一种基于l2vpn的拓扑通知方法、***及其装置
AU2009295116B2 (en) Control method for protecting failure recovery of Ethernet ring and Ethernet ring nodes
JP5521663B2 (ja) 通信装置、通信システムおよび通信方法
WO2007086157A1 (ja) ネットワークシステム
WO2009023996A1 (fr) Procédé de mise en œuvre d'une interconnexion de réseau par l'intermédiaire d'une agrégation de liaisons
JP2008078893A (ja) ネットワークの冗長方法及び中位スイッチ装置
CN109672619A (zh) 一种处理报文的方法、设备及***
CN101841450B (zh) 多个环形拓扑构建相交环实现稳定通信的方法及***
CN104025511A (zh) 一种无源光网络中的业务保护方法、光线路终端及***
US20080316919A1 (en) Trunk interface in resilient packet ring, method and apparatus for realizing the trunk interface
WO2012139452A1 (zh) 一种以太网保护倒换的实现方法和***
EP2047628B1 (en) System and method for maintaining state synchronization in redundant ima group protection switching
CN112995002A (zh) 一种交换机环网的设计方法、交换机及存储介质
WO2008040194A1 (fr) Procédé et système pour la protection d'un arbre de multidiffusion
EP2394390B1 (en) Method for using a computer network
CN102857423A (zh) 一种分布式链路聚合***中业务流转发方法及节点
CN101848128A (zh) 在多个环形拓扑间实现稳定通信的方法、***及拓扑结构

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12771983

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12771983

Country of ref document: EP

Kind code of ref document: A1