WO2012071831A1 - 业务切换方法及装置 - Google Patents

业务切换方法及装置 Download PDF

Info

Publication number
WO2012071831A1
WO2012071831A1 PCT/CN2011/071876 CN2011071876W WO2012071831A1 WO 2012071831 A1 WO2012071831 A1 WO 2012071831A1 CN 2011071876 W CN2011071876 W CN 2011071876W WO 2012071831 A1 WO2012071831 A1 WO 2012071831A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
pseudowire
primary
service
protection
Prior art date
Application number
PCT/CN2011/071876
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 WO2012071831A1 publication Critical patent/WO2012071831A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3
    • 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

  • TMPLS Transmission Multi-Protocol Label Switching
  • MEG Management Entity Group
  • PW pseudowire
  • the MEG resources of the TMC need to be created for each pseudo-line service.
  • the MEG resources of the device are limited, which will limit the total number of pseudo-wire services supported by the device.
  • the detection of TMC MEG also needs to occupy bandwidth. When there is a large number of TMC MEG detection, the occupied bandwidth is more obvious.
  • OAM operation management and maintenance
  • AIS Alarm Indication Signal
  • the Maintenance Association End Point (MEP) node sends an alarm notification, and the Automatic Protect Switch (APS) protocol processes the alarm notification to generate a service layer signal failure (Server Signal Fail, SSF for short). ) Alarms, while suppressing alarms detected by the client layer.
  • the above technique can be used to switch the pseudowire.
  • the technology has the following drawbacks: First, the tunnel carrying the pseudowire may have a tunnel protection group, and according to the above technology, as long as the TMP of the primary tunnel detects a fault, it is triggered. The AIS alarm is advertised. At this time, there may be no alarm in the standby tunnel. If the tunnel protection group is switched to the standby tunnel, the pseudowire does not fail.
  • a primary object of the present invention is to provide a service switching scheme to solve at least the problem of unnecessary pseudowire switching caused by a pseudowire switching when a tunnel protection group is normal in the above related art.
  • a service switching method including: setting a primary tunnel and a protection tunnel between a head node device configuring a pseudowire dual-homing and a last node device not configuring a pseudowire dual-homing, and The TMP MEG is configured for the primary tunnel and the protection tunnel.
  • the service is transmitted on the primary tunnel.
  • the TMP MEG of the primary tunnel detects an alarm on the primary tunnel, the service is triggered to switch to the protection tunnel.
  • the method further includes: when the TMP MEG of the protection tunnel detects the alarm on the protection tunnel, triggering the service to switch to the primary pseudo of the pseudowire carried by the protection tunnel.
  • the triggering service is switched to the primary pseudowire or the pseudowire on the pseudowire carried by the protection tunnel, and the triggering service is switched to the pseudowire when the pseudowire carried by the protection tunnel is the primary pseudowire;
  • the trigger service is switched to the main pseudowire.
  • the method further includes: the TMP MEG of the primary tunnel or the protection tunnel of the primary pseudowire detects that the alarm disappears; the information of the upper 4 ⁇ disappears to the APS protocol module.
  • the APS protocol module triggers the service to switch to the main pseudowire.
  • the primary tunnel does not have a corresponding protection tunnel
  • the service on the primary tunnel is triggered to switch to the primary pseudowire or the pseudo-pseudo of the pseudowire carried in the primary tunnel 7. on-line.
  • the transmission multi-protocol label switching channel management entity group TMC MEG is provided on the pseudo line carried by the primary tunnel, the detection result of the TMC MEG is used for pseudo line switching.
  • a service switching apparatus including: a setting module, configured to set a primary tunnel between a head node device configuring a pseudowire dual-homing and a last node device not configured with a pseudo-line dual-homing
  • a tunnel is configured to be configured with a TMP MEG for the primary tunnel and the protection tunnel
  • a transmission module is configured to transmit the service on the primary tunnel.
  • the first triggering module is configured to trigger when the TMP MEG of the primary tunnel detects an alarm on the primary tunnel. The service is switched to the protection tunnel.
  • the service switching device further includes: a second triggering module, configured to: when the TMP MEG of the protection tunnel detects an alarm on the protection tunnel, trigger a service to switch to a primary pseudowire or a pseudo-pseudo of the pseudowire of the protection tunnel on-line.
  • a second triggering module configured to: when the pseudowire carried by the protection tunnel is the main pseudowire, the second triggering module is configured to trigger the service switching to the backup pseudowire; when the pseudowire carried by the protection tunnel is the pseudowire, the second triggering module is used. Trigger the service to switch to the main pseudowire.
  • the alarm state of the monitoring tunnel is used.
  • FIG. 1 is a flowchart of a service switching method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a TMPLS networking according to a third embodiment of the present invention
  • FIG. 3 is a third embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a service switching apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a method for implementing a transition between a TMP alarm switching and a pseudo-line dual-homing state.
  • the TMP MEG of the primary tunnel detects an alarm on the primary tunnel
  • the service is switched to the protection tunnel.
  • the monitoring of the alarm state of the tunnel, the primary tunnel and the protection tunnel (also referred to as the backup tunnel) form a tunnel protection group.
  • the protection tunnel is used to transmit the service. In this way, the related technology is avoided.
  • the middle tunnel protection group is normal, if the alarm is detected on the pseudo line, the problem of switching is also avoided, thereby avoiding unnecessary pseudowire switching.
  • the protection tunnel can make one or more tunnels on each tunnel; * ⁇ is set with TMP MEG.
  • the TMP MEG of the protection tunnel detects an alarm on the protection tunnel, it may be indicated that the pseudowire carried by the primary tunnel and the protection tunnel is unavailable.
  • the service can be triggered to switch to the main pseudowire or the pseudowire on the pseudowire of the protection tunnel.
  • the trigger service is switched to the backup pseudowire.
  • the trigger service is switched to the primary pseudowire.
  • the APS protocol module triggers the switching of the service to the backup pseudowire
  • the TMP MEG of the primary tunnel or the protection tunnel of the primary pseudowire detects that the alarm disappears
  • the alarm is cleared.
  • the information is sent to the APS protocol module, and then the APS protocol module will trigger the service to switch to the primary pseudowire.
  • the APS protocol module can wait for a period of time before the service is switched to the main pseudowire.
  • the primary tunnel does not have a corresponding protection tunnel
  • the TMP MEG detection of the primary tunnel detects an alarm on the primary tunnel
  • the pseudowire carried in the primary tunnel 7 is considered unavailable, and at this time, the primary tunnel is triggered.
  • the service is switched to the primary pseudowire or the pseudowire on the pseudowire carried by the primary tunnel.
  • the detection result of the TMC MEG is used for pseudo-line switching, that is, the detection result of the TMC MEG can be preferentially used for switching, and The detection result of the TMP MEG is not used as a condition for the pseudowire switching.
  • Embodiment 2 provides a method for fast switching of a pseudowire.
  • the method includes the following steps: Step A. Establish a TMPLS network, where the network includes at least three Provider Edge (PE) devices and 2,000 P devices ( Label switching device). Among them, one PE configures the pseudowire to be dual-homed, and the other two PEs use the pseudowire service as the end node of the pseudowire dual-homing, and the other P devices serve as the label switching device of the tunnel. A tunnel and a tunnel protection group are configured between the head node device configured with the dual-homing dual-homing and the dual-homing device.
  • the TMP MEG is configured for all the tunnels. The two TPN MEGs are not configured. There is no fault.
  • Step B On the device configured with the dual-homing of the pseudowire, the working tunnel TMP in the tunnel protection group carrying the primary pseudowire detects the fault and triggers the tunnel protection group to switch. If the protection tunnel TMP detects a fault in this state, it directly triggers the pseudowire dual-homing to quickly switch to the standby pseudowire. This switching mode can achieve 50ms switching performance, and the service is forwarded in the pseudowire.
  • the upper 4 ⁇ TMP breeding alarm is sent to the APS protocol module, and the APS protocol calculates the propagation alarm state and maintains the pseudowire double-homed state.
  • the breeding alarm refers to the propagation of the tunnel alarm to the pseudo line.
  • Step C On the basis of step B, the working tunnel TMP in the tunnel protection group carrying the pseudowires detects a fault and triggers the tunnel protection group to switch. In this state, if the protection tunnel TMP also detects a fault, the pseudowire double-homing is directly triggered to quickly switch back to the main pseudowire. After the pseudo-line double-homing switchover, the TMP propagation alarm is reported to the APS protocol module, and the APS protocol calculates the propagation alarm state and maintains the pseudo-line dual-homing state. At this time, since the active/standby pseudowire link has a fault, the service is Forwarding is not possible.
  • Step D On the basis of step C, any one of the tunnel protection groups carrying the pseudowires
  • the TMP detects that the fault disappears, and the upper 4 ⁇ TMP breeding alarm disappears to the APS protocol module.
  • the APS protocol calculates the breeding alarm status.
  • the APS protocol immediately returns the pseudowire to the backup pseudowire to ensure normal traffic forwarding.
  • the service is forwarded on the backup line.
  • Step E On the basis of step D, if any of the tunnels in the tunnel protection group carrying the primary pseudowire detects that the fault disappears, the upper 4 ⁇ TMP breeding alarm disappears to the APS protocol module, and the APS protocol calculates the propagation alarm state. And maintain the pseudo-line dual-homing state, the APS protocol is processed into the Waiting for Waiting (WTR) state, waiting for a period of time to return the pseudowire to the main pseudowire.
  • WTR Waiting for Waiting
  • Step F If the TMC MEG is configured on the pseudowire, the TMP propagation alarm disappears, by TMC.
  • FIG. 3 is a schematic diagram of a method for converting between a TMP alarm switching and a pseudo-line dual-homing state in the network shown in FIG. 2 according to Embodiment 3 of the present invention.
  • the method includes: Step S001, configuring a pseudo The line is dual-homed to the nested tunnel.
  • the four tunnels are configured with the TMP MEG.
  • the active and standby pseudowires are not configured with the TMC MEG.
  • Step S002 On the device configured with the dual-homed pseudo-homing, the working tunnel (PE1-PE2 link) in the tunnel protection group carrying the primary pseudowire detects the fault and triggers the tunnel protection group to switch.
  • the protection tunnel (PE1-P1-PE2 link) TMP also detects a fault, it directly triggers the pseudowire dual-homing to quickly switch to the standby pseudowire to achieve the 50ms handover performance, and the service is forwarded in the backup pseudowire.
  • the TMP propagation alarm is reported to the APS protocol module, and the APS protocol calculates the breeding alarm state, and maintains the pseudowire double return ⁇ !
  • Step S003 On the basis of step S002, the TMP of the working tunnel (PE1-PE3 link) in the tunnel protection group carrying the pseudowire is detected to be faulty, and the tunnel protection group is triggered to be switched. In this state, if the protection tunnel (PE1-P2-PE3 link) TMP also detects a fault, it directly triggers the pseudowire double-homing to quickly switch back to the primary pseudowire. After the pseudowire double-homing switch, the upper 4 ⁇ TMP breeding alarm is sent to the APS protocol module, and the APS protocol calculates the reproductive alarm state and maintains the pseudowire dual-homing state. At this time, the active/standby pseudowire link has a fault, so the service It is not possible to forward.
  • Step S004 On the basis of the step S4, if any of the tunnels in the tunnel protection group of the 7-passenger main line detects that the fault disappears, the reported TMP breeding alarm disappears to the APS protocol module, and the APS protocol calculates the breeding alarm. Status, and maintain pseudowire dual return status, current APS protocol The process is to enter the WTR state. After waiting for a period of time, the pseudowire is returned to the main pseudowire. At this time, there is no fault in the active and standby pseudowire links, and the service is forwarded on the main pseudowire, and the process returns to step S001. The initial state.
  • Step S005 If the TMC MEG is configured on the pseudowire, the TMP propagation alarm disappears, and the TMC MEG detects whether the link is faulty.
  • Step S006 If the tunnel carrying the pseudowire does not have a tunnel protection group, the TMP propagation alarm state depends on the TMP alarm state of the single tunnel, not the TMP alarm state of the two tunnels of the tunnel protection group.
  • Embodiment 4 The embodiment of the present invention further provides a service switching apparatus, which is used to implement the foregoing method.
  • 4 is a structural block diagram of a service switching apparatus according to an embodiment of the present invention.
  • the apparatus includes a setting module 42, a transmission module 44, and a first triggering module 46. As shown in FIG.
  • a setting module 42 is configured to set a primary tunnel and a protection tunnel between a head node device configured with a pseudowire dual-homing and a last node device with no pseudowire dual-homing, and respectively, a primary tunnel and a protection tunnel.
  • TMP MEG detects an alarm on the primary tunnel, it triggers the service to switch to the protection tunnel.
  • the foregoing apparatus may further include: a second triggering module, configured to: when the TMP MEG of the protection tunnel detects an alarm on the protection tunnel, trigger the service to switch to the pseudowire carried by the protection tunnel.
  • the second triggering module is configured to trigger the service to be switched to the backup pseudowire when the pseudowire carried by the protection tunnel is the primary pseudowire.
  • the second triggering module is used to trigger. The service switches to the main pseudowire.
  • the foregoing apparatus may further include: a first upper module, configured to report an alarm when the TMP MEG of the primary tunnel or the protection tunnel where the backup pseudowire is located detects that the alarm disappears. The disappeared information is switched to the automatic protection switching APS protocol module, so that the APS protocol module triggers the service switching to the backup pseudowire.
  • the apparatus may further include: a second upper module for reporting that the alarm disappears when the TMP MEG of the primary tunnel or the protection tunnel of the primary pseudowire detects that the alarm disappears. The information is sent to the APS protocol module, so that the APS protocol module triggers the service to switch to the primary pseudowire.
  • the primary tunnel does not have a corresponding protection tunnel
  • the service on the primary tunnel is triggered to switch to the primary pseudowire or the pseudowire of the pseudowire carried by the primary tunnel. on.
  • the transmission multi-protocol label switching channel management entity group TMC MEG is provided on the pseudo-line carried by the primary tunnel
  • the foregoing apparatus performs pseudo-line switching using the detection result of the TMC MEG.
  • the embodiment of the present invention uses the alarm state of the monitoring tunnel. When the primary tunnel generates an alarm, the method of using the protection tunnel to transmit the service achieves the effect of avoiding unnecessary pseudowire switching.
  • 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 implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Description

业务切换方法^置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种业务切换方法及装置。 背景技术 在计算机数据通讯中, 尤其是数据承载网中, 传输多协议标记交换
( Transmission Multi-Protocol Label Switching, 简称为 TMPLS )应用比较广 泛。 TMPLS的技术亮点主要是链路保护和节点保护, 其中一项重要的技术是 隧道保护, 隧道保护中有一种方式是线性端到端保护, 即, 保护隧道的整个 路径, 该场景需要配置 TMPLS的传输多协议标记交换隧道 (T-MPLS隧道, 即, TMP ) 管理实体组 (Management Entity Group, 简称为 MEG ), 即, 通 路层检测。 在此环境部署伪线 (PW )双归业务, 一般都需要配置 TMPLS的 传输多协议标记交换通道 (T-MPLS通道, 即, TMC ) MEG, 即, 通道层 检测。 当配置大量伪线双归业务时, 需要为每个伪线业务创建 TMC的 MEG 资源, 由于设备的 MEG资源很有限, 这将导致设备支持的伪线业务总数受 到限制。 另夕卜, TMC MEG的检测也需要占用带宽, 当存在大量 TMC MEG 检测时, 占用带宽更为明显。 目前, TMPLS操作管理维护 (Operation Administration and Maintenance , 简称为 O AM ) 标准中, 定义了告警指示信 号( Alarm Indication Signal , 简称为 AIS ) , 即, 当服务层检测到存在故障时, 向该客户层的维护端点 ( Maintenance association End Point, 简称为 MEP )节 点发送告警通告, 由自动保护切换 ( Automatic Protect Switch, 简称为 APS ) 协议处理该告警通告, 产生服务层信号失效(Server Signal Fail, 简称为 SSF ) 告警, 同时抑制客户层检测到的告警。 用上述技术可以实现伪线的切换, 但是, 该技术存在以下缺陷: 第一, 载伪线的隧道可能存在隧道保护组, 而才艮据上述技术, 只要主隧道的 TMP 检测到故障, 即触发 AIS告警通告, 此时, 备隧道可能不存在告警, 如果将 隧道保护组切换到备隧道, 则伪线并没有故障, 这样, 釆用上述技术, 伪线 响应了该 AIS告警通告, 从而发生了不必要的伪线切换。 第二, APS协议需 要计算 TMP的 AIS告警通告, 并产生 SSF告警, 然后再触发伪线切换, 这 样的处理逻辑复杂, 切换性能不高 (达不到 50ms ), 不满足电信业务要求。 发明内容 本发明的主要目的在于提供一种业务切换方案, 以至少解决上述的相关 技术中隧道保护组正常时也进行伪线切换而产生的不必要的伪线切换的问 题。 才艮据本发明的一个方面, 提供了一种业务切换方法, 包括: 在配置伪线 双归的头节点设备和没有配置伪线双归的末节点设备之间设置主隧道和保护 隧道, 并分别为主隧道和保护隧道配置 TMP MEG; 在主隧道上传输业务; 当主隧道的 TMP MEG在主隧道上检查到告警时, 触发业务切换到保护隧道 上。 优选地,在触发主隧道上的业务切换到保护隧道上之后,该方法还包括: 当保护隧道的 TMP MEG在保护隧道上检查到告警时, 触发业务切换到保护 隧道承载的伪线的主伪线或备伪线上。 优选地, 上述触发业务切换到保护隧道承载的伪线的主伪线或备伪线上 包括: 当保护隧道承载的伪线为主伪线时, 触发业务切换到备伪线上; 当保 护隧道承载的伪线为备伪线时, 触发业务切换到主伪线上。 优选地,在 APS协议模块触发将业务切换至备伪线之后,该方法还包括: 主伪线的主隧道或保护隧道的 TMP MEG检测到告警消失; 上 4艮告警消失的 信息到 APS协议模块; APS协议模块触发业务切换至主伪线。 优选地, 当主隧道没有对应的保护隧道时, 如果主隧道的 TMP MEG检 测在主隧道上检查到告警, 则触发主隧道上的业务切换到主隧道 7 载的伪线 的主伪线或备伪线上。 优选地, 当主隧道承载的伪线上设置有传输多协议标记交换通道管理实 体组 TMC MEG时, 使用 TMC MEG的检测结果进行伪线切换。 根据本发明的另一方面, 提供了一种业务切换装置, 包括: 设置模块, 用于在配置伪线双归的头节点设备和没有配置伪线双归的末节点设备之间设 置主隧道和保护隧道, 并分别为主隧道和保护隧道配置 TMP MEG; 传输模 块, 用于在主隧道上传输业务; 第一触发模块, 用于在主隧道的 TMP MEG 在主隧道上检查到告警时, 触发业务切换到保护隧道上。 优选地,该业务切换装置还包括:第二触发模块,用于当保护隧道的 TMP MEG在保护隧道上检查到告警时,触发业务切换到保护隧道^载的伪线的主 伪线或备伪线上。 优选地, 当保护隧道承载的伪线为主伪线时, 第二触发模块用于触发业 务切换到备伪线上; 当保护隧道承载的伪线为备伪线时, 第二触发模块用于 触发业务切换到主伪线上。 通过本发明, 釆用监控隧道的告警状态, 当主隧道产生告警时, 使用保 护隧道传输业务的方式, 解决了隧道保护组正常时也进行伪线切换而产生的 不必要的伪线切换的问题, 进而达到了避免不必要的伪线切换的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是 居本发明实施例的业务切换方法的流程图; 图 2是才艮据本发明实施例三的 TMPLS组网的示意图; 图 3是 居本发明实施例三的在图 2所示的网络实现 TMP告警切换和 伪线双归状态之间的转换的方法示意图; 图 4是 居本发明实施例的业务切换装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例一 本发明实施例提供了一种业务切换方法, 该切换方法可以用于伪线间业 务的切换, 还可以用于具有隧道保护组的伪线的隧道间的业务切换。 图 1是 才艮据本发明实施例的业务切换方法的流程图, 如图 1所示, 包括: 步 4聚 S 102,在配置伪线双归的头节点设备和没有配置伪线双归的末节点 设备之间设置主隧道和保护隧道, 并分别为该主隧道和该保护隧道配置 TMP MEG; 步 4聚 S 104, 在该主隧道上传输业务; 步 4聚 S 106, 当该主隧道的 TMP MEG在主隧道上检查到告警时, 触发业 务切换到保护隧道上。 本实施例中, 监控隧道的告警状态, 主隧道和保护隧道 (也可称为备隧 道) 组成隧道保护组, 当主隧道产生告警时, 使用保护隧道传输业务, 通过 这一方式, 避免了相关技术中隧道保护组正常时, 如果检测到伪线上存在告 警也进行切换的问题, 从而避免了不必要的伪线切换。 需要说明的是, 保护 隧道可以使一个或多个隧道, 每个隧道上; *卩设置有 TMP MEG。 在本发明实施例的一个优选实现方式中, 在步骤 S 106之后, 如果保护 隧道的 TMP MEG在保护隧道上检查到告警, 则可以说明主隧道和保护隧道 载的伪线不可用, 这时, 可以触发业务切换到保护隧道^载的伪线的主伪 线或备伪线上。 其中, 当保护隧道承载的伪线为主伪线时, 触发业务切换到 备伪线上; 当保护隧道承载的伪线为备伪线时, 触发业务切换到主伪线上。 在本发明实施例的另一个优选实现方式中 ,在 APS协议模块触发将业务 切换至备伪线之后, 如果主伪线的主隧道或保护隧道的 TMP MEG检测到告 警消失, 则上报告警消失的信息到 APS协议模块, 然后, APS协议模块将触 发业务切换至主伪线。 其中, APS协议模块在接收到告警消失的信息之后, 可以等一段时间再出发业务切换至主伪线。 优选地, 如果主隧道没有对应的保护隧道, 则在主隧道的 TMP MEG检 测在主隧道上检查到告警时, 即可认为主隧道 7 载的伪线不可用, 此时, 触 发主隧道上的业务切换到主隧道承载的伪线的主伪线或备伪线上。 优选地, 当主隧道承载的伪线上设置有传输多协议标记交换通道管理实 体组 TMC MEG时, 使用 TMC MEG的检测结果进行伪线切换, 即, 可以优 先使用 TMC MEG的检测结果进行切换, 而不使用 TMP MEG的检测结果作 为伪线切换的条件。 实施例二 本实施例提供了一种伪线快速切换的方法, 该方法包括: 步骤 A. 组建 TMPLS网络, 该网络包括至少三台运营商边缘( Provider Edge, 简称为 PE )设备和若千台 P设备(标签交换设备)。 其中, 一台 PE 配置伪线双归, 另两台 PE设备作为伪线双归的末节点配置非双归的伪线业 务, 其他 P设备作为隧道的标签交换设备。 配置伪线双归的头节点设备与没 有配置伪线双归的末节点设备之间分别配置隧道和隧道保护组, 所有隧道都 配置 TMP MEG, 两条伪线不配置 TMC MEG, 所有 TMP检测正常, 不存在 故障, 至此, 伪线双归环境搭建而成, 业务在主伪线上转发。 步骤 B. 配置伪线双归的设备上, 载主伪线的隧道保护组中的工作隧 道 TMP检测到故障,触发隧道保护组切换。如果在该状态下,保护隧道 TMP 也检测到故障, 则直接触发伪线双归快速切换到备伪线, 这种切换方式能够 达到 50ms切换性能, 业务在备伪线转发。 在伪线双归切换之后, 上 4艮 TMP 繁殖告警到 APS协议模块, 由 APS协议计算繁殖告警状态, 并维护伪线双 归状态。 其中, 繁殖告警指将隧道的告警繁殖到伪线上。 步骤 C.在步骤 B的基础上,承载备伪线的隧道保护组中的工作隧道 TMP 检测到故障, 触发隧道保护组切换。 在该状态下, 如果保护隧道 TMP也检 测到故障, 则直接触发伪线双归快速回切到主伪线。 在伪线双归切换后, 上 报 TMP繁殖告警到 APS协议模块, 由 APS协议计算繁殖告警状态, 并维护 伪线双归状态, 此时, 由于主备伪线链路都有故障, 所以业务是转发不通的。 步骤 D. 在步骤 C的基础上, 承载备伪线的隧道保护组中的任一条隧道
TMP检测到故障消失, 上 4艮 TMP繁殖告警消失到 APS协议模块, 由 APS 协议计算繁殖告警状态, APS协议的处理是立刻将伪线双归回切到备伪线, 确保流量正常转发, 此时业务在备伪线上转发。 步骤 E. 在步骤 D的基础上, 承载主伪线的隧道保护组中的任一条隧道 TMP检测到故障消失, 则上 4艮 TMP繁殖告警消失到 APS协议模块, 由 APS 协议计算繁殖告警状态, 并维护伪线双归状态, APS协议的处理是进入恢 复等待 (Wait To Restore, 简称为 WTR ) 状态, 等待一段时间后将伪线双归 回切到主伪线上, 此时, 主备伪线链路都不存在故障, 业务在主伪线上转发, 又回到了步骤 A描述的初始状态。 步骤 F. 如果在伪线上配置 TMC MEG, 则 TMP繁殖告警消失, 由 TMC
MEG检测链路是否存在故障。 步骤 G. 如果 载伪线的隧道不配置隧道保护组, 则 TMP繁殖告警状 态依赖于单条隧道的 TMP告警状态, 而不是隧道保护组两条隧道的 TMP告 警状态。 实施例三 图 2是根据本发明实施例三的 TMPLS网络的示意图, 如图 2所示, 是 伪线双归嵌套隧道保护的组网场景, 主备伪线都配置了隧道保护组。 主伪线 工作隧道路径为: PE1-PE2, 主伪线保护隧道路径为: PE1-P1-PE2; 备伪线 工作隧道路径为: PE1-PE3 , 备伪线保护隧道路径为: PE1-P2-PE3。 图 3是 居本发明实施例三的在图 2所示的网络实现 TMP告警切换和 伪线双归状态之间的转换的方法示意图, 如图 3所示, 该方法包括: 步骤 S001 , 配置伪线双归嵌套隧道保护, 四条隧道都配置 TMP MEG, 主备伪线不配置 TMC MEG, 初始状态下业务在主伪线上转发。 步骤 S002, 配置伪线双归的设备上, 承载主伪线的隧道保护组中的工作 隧道( PE1-PE2链路) TMP检测到故障, 触发隧道保护组切换。 在该状态下, 如果保护隧道 ( PE1-P1-PE2链路) TMP也检测到故障, 则直接触发伪线双 归快速切换到备伪线以达到 50ms切换性能, 业务在备伪线转发。 在伪线双 归切换后, 上报 TMP繁殖告警到 APS协议模块, 由 APS协议计算繁殖告警 态, 并维护伪线双归^! 态。 步骤 S003 , 在步骤 S002的基础上, 承载备伪线的隧道保护组中的工作 隧道(PE1-PE3链路) TMP检测到故障, 触发隧道保护组切换。 在该状态下, 如果保护隧道 ( PE1-P2-PE3链路) TMP也检测到故障, 则直接触发伪线双 归快速回切到主伪线。 在伪线双归切换后, 上 4艮 TMP繁殖告警到 APS协议 模块, 由 APS协议计算繁殖告警状态, 并维护伪线双归状态, 此时由于主备 伪线链路都有故障, 所以业务是转发不通的。 步骤 S004, 在步 4聚 S003的基础上, 如果 7 载主伪线的隧道保护组中的 任一条隧道 TMP检测到故障消失,则上报 TMP繁殖告警消失到 APS协议模 块, 由 APS协议计算繁殖告警状态, 并维护伪线双归状态, 目前 APS协议 的处理是进入 WTR状态, 等待一段时间后将伪线双归回切到主伪线上, 此 时主备伪线链路都不存在故障, 业务在主伪线上转发, 又回到了步骤 S001 描述的初始状态。 步骤 S005 , 如果在伪线上配置 TMC MEG, 那么 TMP繁殖告警消失, 由 TMC MEG检测链路是否存在故障。 步骤 S006 , 如果承载伪线的隧道不配置隧道保护组, 那么 TMP繁殖告 警状态依赖于单条隧道的 TMP 告警状态, 而不是隧道保护组两条隧道的 TMP告警状态。 实施例四 本发明实施例还提供了一种业务切换装置, 该装置用于实现上述方法。 图 4是 居本发明实施例的业务切换装置的结构框图, 该装置包括设置模块 42、 传输模块 44、 第一触发模块 46。 如图 4所示: 设置模块 42 , 用于在配置伪线双归的头节点设备和没有配置伪线双归的 末节点设备之间设置主隧道和保护隧道, 并分别为主隧道和保护隧道配置传 输多协议标记交换隧道管理实体组 TMP MEG; 传输模块 44 , 合至设置模 块 42 , 用于在主隧道上传输业务; 第一触发模块 46 , 耦合至传输模块 44 , 用于在主隧道的 TMP MEG在主隧道上检查到告警时, 触发业务切换到保护 隧道上。 在本发明实施例的一个优选实例中, 上述装置还可以包括: 第二触发模 块, 用于当保护隧道的 TMP MEG在保护隧道上检查到告警时, 触发业务切 换到保护隧道承载的伪线的主伪线或备伪线上。 其中, 当保护隧道承载的伪线为主伪线时, 第二触发模块用于触发业务切换到 备伪线上; 当保护隧道承载的伪线为备伪线时, 第二触发模块用于触发业务 切换到主伪线上。 在本发明实施例的另一个优选实例中, 上述装置还可以包括: 第一上 4艮 模块, 用于在备伪线所在的主隧道或保护隧道的 TMP MEG检测到告警消失 时, 上报告警消失的信息到自动保护切换 APS协议模块, 从而使得 APS协 议模块触发业务切换至备伪线。 在本发明实施例的又一个优选实例中, 上述装置还可以包括: 第二上 4艮 模块, 用于在主伪线的主隧道或保护隧道的 TMP MEG检测到告警消失时, 上报告警消失的信息到 APS协议模块, 从而使得 APS协议模块触发业务切 换至主伪线。 优选地, 当主隧道没有对应的保护隧道时, 如果主隧道的 TMP MEG检 测在主隧道上检查到告警, 则触发主隧道上的业务切换到主隧道承载的伪线 的主伪线或备伪线上。 优选地, 当主隧道承载的伪线上设置有传输多协议标记交换通道管理实 体组 TMC MEG时, 上述装置使用 TMC MEG的检测结果进行伪线切换。 综上所述, 本发明实施例釆用监控隧道的告警状态, 当主隧道产生告警 时, 使用保护隧道传输业务的方式, 达到了避免不必要的伪线切换的效果。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。

Claims

权 利 要 求 书
1. 一种业务切换方法, 包括:
在配置伪线双归的头节点设备和没有配置伪线双归的末节点设备 之间设置主隧道和保护隧道, 并分别为所述主隧道和所述保护隧道配 置传输多协议标记交换隧道管理实体组 TMP MEG;
在所述主隧道上传输业务;
当所述主隧道的 TMP MEG在所述主隧道上检查到告警时, 触发 所述业务切换到所述保护隧道上。
2. 根据权利要求 1所述的方法, 其中, 在触发所述主隧道上的业务切换 到所述保护隧道上之后, 所述方法还包括:
当所述保护隧道的 TMP MEG在所述保护隧道上检查到告警时, 触发所述业务切换到所述保护隧道承载的伪线的主伪线或备伪线上。
3. 根据权利要求 2所述的方法, 其中, 触发所述业务切换到所述保护隧 道承载的伪线的主伪线或备伪线上包括:
当所述保护隧道承载的伪线为主伪线时, 触发所述业务切换到所 述备伪线上;
当所述保护隧道承载的伪线为备伪线时, 触发所述业务切换到所 述主伪线上。
4. 根据权利要求 3所述的方法, 其中, 在自动保护切换 APS协议模块触 发将业务切换至所述备伪线之后, 所述方法还包括:
所述主伪线的主隧道或保护隧道的 TMP MEG检测到告警消失; 上报告警消失的信息到所述 APS协议模块;
所述 APS协议模块触发所述业务切换至所述主伪线。
5. 根据权利要求 1至 4中任一项所述的方法, 其中, 当所述主隧道没有 对应的保护隧道时, 如果所述主隧道的 TMP MEG检测在所述主隧道 上检查到告警, 则触发所述主隧道上的业务切换到所述主隧道承载的 伪线的主伪线或备伪线上。
6. 根据权利要求 1至 4中任一项所述的方法, 其中, 当所述主隧道承载 的伪线上设置有传输多协议标记交换通道管理实体组 TMC MEG时, 使用所述 TMC MEG的检测结果进行伪线切换。
7. —种业务切换装置, 包括:
设置模块, 用于在配置伪线双归的头节点设备和没有配置伪线双 归的末节点设备之间设置主隧道和保护隧道, 并分别为所述主隧道和 所述保护隧道配置传输多协议标记交换隧道管理实体组 TMP MEG; 传输模块, 用于在所述主隧道上传输业务; 第一触发模块, 用于在所述主隧道的 TMP MEG在所述主隧道上 检查到告警时, 触发所述业务切换到所述保护隧道上。
8. 根据权利要求 7所述的装置, 其中, 所述装置还包括:
第二触发模块, 用于当所述保护隧道的 TMP MEG在所述保护隧 道上检查到告警时, 触发所述业务切换到所述保护隧道承载的伪线的 主伪线或备伪线上。
9. 根据权利要求 8所述的装置, 其中,
当所述保护隧道承载的伪线为主伪线时, 所述第二触发模块用于 触发所述业务切换到所述备伪线上;
当所述保护隧道承载的伪线为备伪线时, 所述第二触发模块用于 触发所述业务切换到所述主伪线上。
PCT/CN2011/071876 2010-12-01 2011-03-16 业务切换方法及装置 WO2012071831A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010568960.X 2010-12-01
CN201010568960.XA CN102487327B (zh) 2010-12-01 2010-12-01 业务切换方法及装置

Publications (1)

Publication Number Publication Date
WO2012071831A1 true WO2012071831A1 (zh) 2012-06-07

Family

ID=46152783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071876 WO2012071831A1 (zh) 2010-12-01 2011-03-16 业务切换方法及装置

Country Status (2)

Country Link
CN (1) CN102487327B (zh)
WO (1) WO2012071831A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656776B (zh) * 2014-12-01 2020-03-27 中兴通讯股份有限公司 一种伪线双归保护切换系统、方法和装置
CN113726645A (zh) * 2021-08-06 2021-11-30 中盈优创资讯科技有限公司 一种stn网络补链业务倒换方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090154337A1 (en) * 2007-12-12 2009-06-18 Electronics And Telecommunications Research Institute Protection switching method based on change in link status in ethernet link aggregation sublayer
CN101883008A (zh) * 2010-06-28 2010-11-10 中兴通讯股份有限公司 一种传送多协议标签交换网络的子网保护方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100531047C (zh) * 2005-09-30 2009-08-19 华为技术有限公司 对包交换网络上的伪线进行保护倒换的方法
CN101141330B (zh) * 2007-10-23 2010-06-16 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
CN101447900A (zh) * 2008-12-15 2009-06-03 华为技术有限公司 一种建立双向转发检测的方法、系统及设备
CN101789879B (zh) * 2009-12-30 2013-01-16 中兴通讯股份有限公司 一种关联链路的动态维护方法及装置
CN101826983A (zh) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 双归保护倒换方法、装置和系统

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090154337A1 (en) * 2007-12-12 2009-06-18 Electronics And Telecommunications Research Institute Protection switching method based on change in link status in ethernet link aggregation sublayer
CN101883008A (zh) * 2010-06-28 2010-11-10 中兴通讯股份有限公司 一种传送多协议标签交换网络的子网保护方法及装置

Also Published As

Publication number Publication date
CN102487327B (zh) 2015-05-20
CN102487327A (zh) 2012-06-06

Similar Documents

Publication Publication Date Title
US10721139B2 (en) Protection switching systems and methods in a packet network based on signal degrade
US9722917B2 (en) Traffic recovery in openflow networks
EP2787684B1 (en) Method and device for protecting passive optical network (pon)
US9755957B2 (en) Pseudowire control channel for signaling events
US20160041888A1 (en) Link state relay for physical layer emulation
US7660236B2 (en) System and method of multi-nodal APS control protocol signaling
EP2852098B1 (en) Method, node and system for detecting performance of layer three virtual private network
CN104956628A (zh) 对计算机网络使用以太网环保护交换
WO2012167667A1 (zh) 一种信号劣化处理方法、装置及节点设备
WO2015192518A1 (zh) Potn的误码检测方法、装置及系统
US10250492B2 (en) Segment recovery in connection-oriented network
JP2009303092A (ja) ネットワーク装置および回線切替方法
CN103684953A (zh) 避免多连接到vpls传输网的以太网环路中流量损失方法、装置
WO2015196676A1 (zh) 组网保护方法、装置及组网中的汇聚主用网元
WO2013010422A1 (zh) 基于共享路径的环网隧道配置方法、环网保护方法及系统
WO2015184868A1 (zh) 一种服务层信号失效检测装置及方法
WO2013010423A1 (zh) 基于共享路径的环网隧道配置方法、业务切换方法及系统
KR20150002474A (ko) 통신 네트워크에서 장애 복구 방법
WO2012065409A1 (zh) 分组传送网的保护方法和装置
US20120287778A1 (en) Transmission apparatus and path switching method
WO2012100571A1 (zh) 一种多条相同路径隧道集中管理的方法和系统
US10033573B2 (en) Protection switching method, network, and system
JP5012485B2 (ja) 冗長方法及びスイッチ装置
WO2008095390A1 (fr) Équipement de détection d'incident de ligne en émulation de pseudo-fil et procédé correspondant
EP3139527B1 (en) Protection switching method, node and control device

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: 11845375

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: 11845375

Country of ref document: EP

Kind code of ref document: A1