WO2016169214A1 - 一种隧道保护切换的方法和装置 - Google Patents

一种隧道保护切换的方法和装置 Download PDF

Info

Publication number
WO2016169214A1
WO2016169214A1 PCT/CN2015/090948 CN2015090948W WO2016169214A1 WO 2016169214 A1 WO2016169214 A1 WO 2016169214A1 CN 2015090948 W CN2015090948 W CN 2015090948W WO 2016169214 A1 WO2016169214 A1 WO 2016169214A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
path
layer
interface
notification message
Prior art date
Application number
PCT/CN2015/090948
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 WO2016169214A1 publication Critical patent/WO2016169214A1/zh

Links

Images

Definitions

  • This application relates to, but is not limited to, the field of communication technology.
  • MPLS Multi-Protocol Label Switching
  • IP packet forwarding technology into Layer 2 switching technology and improve the forwarding rate of data packets.
  • VPN Virtual Private Network
  • RSVP-TE Resource Reservation Protocol-Traffic Engineering
  • IP protocol IP protocol
  • the intermediate node uses the RSVP protocol to establish resource reservation and maintain the path on the data transmission path, and provides an outer forwarding path for the VPN network. Relevant protection mechanisms to achieve the corresponding quality of service.
  • the tunnel has a corresponding protection mechanism for the link down or the network element is broken. That is, under normal circumstances, the tunnel forwarding path is on the first main path (P1 ⁇ P4). If the first primary path is down, the primary and backup protection switches of the first path are switched to the first standby path (P1 ⁇ P2 ⁇ P4). If the first standby path is down, the new path is calculated. That is, the second main path (P1 ⁇ P2 ⁇ P3 ⁇ P4), if the calculation is successful, it switches to the second main path, and if the calculation is unsuccessful, it is still on the first standby path.
  • the tunnel is automatically switched back to the first primary path when the first secondary path is up. If the tunnel is on the second primary path, after the path is re-optimized, it can be returned. Cut to the first main path.
  • the link between the up and the down occurs, that is, the link is not disconnected, but the quality of the data transmission has a large problem, and there is a high bit error rate and loss.
  • the behavior of the packet is called the link in the SD (Signal Degrade) state.
  • the BFD (Bidirectional Forwarding Detection) detection cannot be detected. There is no way to switch protection for the abnormal state of the outgoing link and the deployed tunnel protection mechanism.
  • This document provides a method and apparatus for tunnel protection handover, which can implement protection and handover of a tunnel when traffic degradation occurs on the link.
  • a tunnel protection switching method is applied to a node on a tunnel, and the method includes:
  • the service degradation of the link is detected, and the service degradation alarm information of the Layer 3 interface corresponding to the link is generated, and the alarm information is encapsulated in a tunnel notification message and sent to a head node of the tunnel passing through the Layer 3 interface;
  • the tunnel After receiving the tunnel notification message carrying the alarm information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, the tunnel is protected and switched.
  • the method further includes the following features:
  • the method further includes:
  • the alarm recovery information of the service recovery of the Layer 3 interface corresponding to the link is detected, and the alarm recovery information is encapsulated in a tunnel notification message and sent to the head of the tunnel passing through the Layer 3 interface.
  • the tunnel After receiving the tunnel notification message carrying the alarm recovery information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, the tunnel is switched back.
  • the method further includes the following features:
  • Service degradation detected on the link including:
  • a service is detected on the port of the local device.
  • the method further includes the following features:
  • the status of the port in which the service is degraded is set to the service degraded state, and the link layer discovery protocol LLDP message is sent to the peer device directly connected to the port of the local device to send a notification message, where the notification message indicates the directness of the two parties. Service degradation occurs on the port.
  • the method further includes the following features:
  • the method further includes:
  • the tunnel notification message is forwarded to the head node of the tunnel.
  • the method further includes the following features:
  • the protection switching process is performed on the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched to the new path.
  • the method further includes the following features:
  • the protection switching process is performed on the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched. On the new path; or
  • the method further includes the following features:
  • the switch performs the following processing:
  • the tunnel is performed on the tunnel.
  • Path re-optimization if the re-optimization is successful, the tunnel is switched to the previous path.
  • the method further includes the following features:
  • the primary path of the tunnel is re-optimized. Switch the tunnel to the new primary path;
  • the primary path of the tunnel is re-optimized. If the re-optimization succeeds, the tunnel is switched to the new primary path.
  • the method further includes the following features:
  • the tunnel is The primary path is re-optimized. If the re-optimization is successful, the tunnel is switched to the new primary path; or
  • the primary path of the tunnel is re-optimized. If the optimization is successful, the tunnel is switched. On the new main path; or
  • the Layer 3 interface with the service degradation is in the current standby path of the tunnel, and the tunnel is located. In the process of waiting for the switchback, the process ends and the switchback is performed; or
  • the method further includes the following features:
  • the tunnel is backed up, including the following processing:
  • the tunnel is currently on the primary path, if the Layer 3 interface with the restored state is on the primary path before the tunnel is switched, the path is re-optimized. After the re-optimization succeeds, the tunnel is switched to the previous primary path.
  • the method further includes the following features:
  • the tunnel notification message is a resource reservation protocol RSVP-TE message based on traffic engineering extension.
  • a device for tunnel protection switching, applied to nodes on a tunnel including:
  • the service detection module is configured to: detect service degradation of the link, generate service degradation alarm information of the Layer 3 interface corresponding to the link, and encapsulate the alarm information in a tunnel notification message and send the message to the Layer 3 interface.
  • the head node of the tunnel ;
  • the alarm processing module is configured to: after receiving the tunnel notification message carrying the alarm information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, perform protection switching processing on the tunnel.
  • the device further includes the following features:
  • the device also includes an alarm recovery processing module:
  • the service detection module is further configured to: detect that the link service is restored to normal, generate alarm recovery information of the service recovery of the Layer 3 interface corresponding to the link, and encapsulate the alarm recovery information in the tunnel notification message and send it to the gateway.
  • the alarm recovery processing module is configured to: receive a tunnel notification message carrying the alarm recovery information After the information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, the tunnel is back-cut.
  • the device further includes the following features:
  • the service detection module is configured to: detect service degradation on the link, including:
  • a service is detected on the port of the local device.
  • the device further includes the following features:
  • the service detection module is further configured to: after detecting the service degradation of the link, set the state of the port where the service is degraded to the service degradation state, and the LLDP message of the link layer discovery protocol is directly connected to the port of the local device.
  • the connected peer device sends a notification message indicating that the directly connected port of the two parties has service degradation.
  • the device further includes the following features:
  • the alarm processing module is further configured to: after receiving the tunnel notification message carrying the alarm information, if it is determined that it is an intermediate node or a tail node of the tunnel indicated by the tunnel notification message, forwarding the tunnel notification message to the tunnel Head node.
  • the device further includes the following features:
  • the alarm recovery processing module is further configured to: after receiving the tunnel notification message carrying the alarm recovery information, if it is determined that it is an intermediate node or a tail node of the tunnel indicated by the tunnel notification message, forwarding the tunnel notification message to the The head node of the tunnel.
  • the device further includes the following features:
  • the alarm processing module is configured to perform protection switching processing on the tunnel when the primary and backup protections are not configured in the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched to the new path.
  • the device further includes the following features:
  • the alarm processing module is configured to: if the primary and backup protections are not configured in the tunnel, The tunnel performs protection switching processing, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched. On the new path; or
  • the device further includes the following features:
  • the alarm recovery processing module is configured to: perform the following processing on the tunnel when the primary and backup protections are not configured in the tunnel, including performing the following processing:
  • the path is re-optimized for the tunnel. If the re-optimization succeeds, the tunnel is switched to the previous path.
  • the device further includes the following features:
  • the alarm processing module is configured to perform protection switching processing on the tunnel when the primary and backup protections are configured in the tunnel, including performing the following processing:
  • the primary path of the tunnel is re-optimized. Switch the tunnel to the new primary path;
  • the primary path of the tunnel is re-optimized. If the re-optimization succeeds, the tunnel is switched to the new primary path.
  • the device further includes the following features:
  • the alarm processing module is configured to perform protection switching processing on the tunnel when the primary and backup protections are configured in the tunnel, including performing the following processing:
  • the tunnel is The primary path is re-optimized. If the re-optimization is successful, the tunnel is switched to the new primary path; or
  • the primary path of the tunnel is re-optimized. If the optimization is successful, the tunnel is switched. On the new main path; or
  • the device further includes the following features:
  • the alarm recovery processing module is configured to perform the following processing on the tunnel when the primary and backup protections are configured in the tunnel, including performing the following processing:
  • the tunnel is currently on the primary path, if the Layer 3 interface with the restored state is on the primary path before the tunnel is switched, the path is re-optimized. After the re-optimization succeeds, the tunnel is switched to the previous primary path.
  • the device further includes the following features:
  • the tunnel notification message is a resource reservation protocol RSVP-TE message based on traffic engineering extension.
  • a computer readable storage medium storing computer executable instructions, the computer being executable
  • the line instructions are used to perform the method of any of the above.
  • the method and device for tunnel protection switching provided by the embodiment of the present invention, after the node on the tunnel detects the service degradation of the link, the service degradation alarm information of the Layer 3 interface corresponding to the link is generated.
  • the alarm information is notified to the head node of the tunnel by using an RSVP-TE message, and the head node of the tunnel receives the alarm notification, performs the protection switching process, and after detecting the link service recovery, recovers the alarm by using the RSVP-TE message.
  • the information is notified to the head node of the tunnel, and the head node of the tunnel performs the switchback process in time.
  • the embodiment of the present invention can implement the protection and handover of the tunnel when the link is in service degradation and service recovery.
  • FIG. 1 is a schematic diagram of a primary and backup path of a tunnel in related art.
  • FIG. 2 is a flowchart of a method for tunnel protection switching according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an apparatus for tunnel protection switching according to an embodiment of the present invention.
  • an embodiment of the present invention provides a tunnel protection switching method, which is applied to a node on a tunnel, and the method includes:
  • the method may also include the following features:
  • the method further includes:
  • the alarm recovery information of the service recovery of the Layer 3 interface corresponding to the link is detected, and the alarm recovery information is encapsulated in a tunnel notification message and sent to the head of the tunnel passing through the Layer 3 interface.
  • the tunnel After receiving the tunnel notification message carrying the alarm recovery information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, the tunnel is back-cut;
  • the service degradation of the link is detected, including:
  • the service port of the local device is detected to be in service degradation
  • the service degradation of the port is detected, including: detecting that the error rate of the received data of the port exceeds a threshold, determining that the port has service degradation.
  • the method further includes:
  • the state of the port in which the service is degraded is set to the service-degraded SD state, and a notification message is sent to the peer device directly connected to the port of the local device by using a Link Layer Discovery Protocol (LLDP) message.
  • LLDP Link Layer Discovery Protocol
  • the method further includes:
  • the method further includes:
  • the protection switching process is performed on the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched to the new path.
  • the protection switching process is performed on the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched. On the new path; or
  • performing the following processing on the tunnel includes performing the following processing:
  • the path is re-optimized for the tunnel. If the re-optimization succeeds, the tunnel is switched to the previous path.
  • the protection switching process is performed on the tunnel, including performing the following processing:
  • the primary path of the tunnel is re-optimized. Switch the tunnel to the new primary path;
  • the primary path of the tunnel is re-optimized. If the re-optimization succeeds, the tunnel is switched to the new primary path.
  • the protection switching process is performed on the tunnel, including performing the following processing:
  • the tunnel is switched to the standby path.
  • the tunnel is The primary path is re-optimized. If the re-optimization is successful, the tunnel is switched to the new primary path; or
  • the primary path of the tunnel is re-optimized. If the optimization is successful, the tunnel is switched. On the new main path; or
  • performing the following processing on the tunnel includes performing the following processing:
  • the tunnel is currently on the primary path, if the Layer 3 interface with the restored state is on the primary path before the tunnel is switched, the path is re-optimized. After the re-optimization succeeds, the tunnel is switched to the previous primary path.
  • the tunnel notification message carrying the alarm information or the alarm recovery information is a resource reservation protocol RSVP-TE message based on the traffic engineering extension.
  • an embodiment of the present invention provides a device for switching a tunnel protection, which is applied to a node on a tunnel, and includes:
  • the service detecting module 31 is configured to: detect that the link has service degradation, and associate the link
  • the state of the Layer 3 interface is set to the service degradation state, and the alarm information is generated, and the alarm information is encapsulated in a tunnel notification message and sent to the head node of the tunnel passing through the Layer 3 interface.
  • the alarm processing module 32 is configured to: after receiving the tunnel notification message carrying the alarm information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, perform protection switching processing on the tunnel.
  • the device may also include the following features:
  • the device further includes an alarm recovery processing module:
  • the service detection module is further configured to: detect that the link service is restored to normal, generate alarm recovery information of the service recovery of the Layer 3 interface corresponding to the link, and encapsulate the alarm recovery information in the tunnel notification message and send it to the gateway.
  • the alarm recovery processing module is configured to: after receiving the tunnel notification message carrying the alarm recovery information, if it is determined that it is the head node of the tunnel indicated by the tunnel notification message, the tunnel is back-cut.
  • the service detection module is configured to: detect service degradation of the link, including:
  • a service is detected on the port of the local device.
  • the service detection module is further configured to: after detecting the service degradation of the link, set the state of the port where the service is degraded to the service degradation state, and use the link layer discovery protocol LLDP message to the local device.
  • the peer device directly connected to the port sends a notification message, where the notification message indicates that the directly connected port of the two parties has service degradation.
  • the alarm processing module is further configured to: after receiving the tunnel notification message carrying the alarm information, if it is determined that it is an intermediate node or a tail node of the tunnel indicated by the tunnel notification message, forwarding the tunnel notification message to the The head node of the tunnel.
  • the alarm recovery processing module is further configured to: after receiving the tunnel notification message carrying the alarm recovery information, if it is determined that it is an intermediate node or a tail node of the tunnel indicated by the tunnel notification message, forwarding the tunnel notification message To the head node of the tunnel.
  • the alarm processing module is configured to: if the primary and backup protections are not configured in the tunnel, Performing protection switching processing on the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched to the new path.
  • the alarm processing module is configured to: when the primary and backup protections are not configured in the tunnel, perform protection switching processing on the tunnel, including performing the following processing:
  • the path of the tunnel is re-optimized. If the re-optimization succeeds, the path of the tunnel is switched. On the new path; or
  • the alarm recovery processing module is configured to: perform back-cut processing on the tunnel when the tunnel is not configured with the active/standby protection, and perform the following processing:
  • the path is re-optimized for the tunnel. If the re-optimization succeeds, the tunnel is switched to the previous path.
  • the alarm processing module is configured to perform protection switching processing on the tunnel when the primary and backup protections are configured in the tunnel, including performing the following processing:
  • the primary path of the tunnel is re-optimized. Switch the tunnel to the new primary path;
  • the primary path of the tunnel is re-optimized. If the re-optimization succeeds, the tunnel is switched to the new primary path.
  • the alarm processing module is configured to perform protection switching processing on the tunnel when the primary and backup protections are configured in the tunnel, including performing the following processing:
  • the tunnel is The primary path is re-optimized. If the re-optimization is successful, the tunnel is switched to the new primary path; or
  • the primary path of the tunnel is re-optimized. If the optimization is successful, the tunnel is switched. On the new main path; or
  • the alarm recovery processing module is configured to perform the following processing on the tunnel when the primary and backup protections are configured in the tunnel, including performing the following processing:
  • the tunnel is currently on the primary path, if the Layer 3 interface with the restored state is on the primary path before the tunnel is switched, the path is re-optimized. After the re-optimization succeeds, the tunnel is switched to the previous primary path.
  • the tunnel notification message is a resource reservation protocol RSVP-TE message based on traffic engineering extension.
  • Method and device for tunnel protection switching provided by the foregoing embodiment, node detection on tunnel After the service degradation occurs on the link, the service degradation alarm information of the Layer 3 interface corresponding to the link is generated, and the alarm information is notified to the head node of the tunnel by using an RSVP-TE message, and the head node of the tunnel receives the alarm notification.
  • the protection switching process is performed, and after detecting the link service recovery, the alarm recovery information is notified to the head node of the tunnel through the RSVP-TE message, and the head node of the tunnel performs the switchback processing in time, and the embodiment of the present invention can appear on the link.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the method and device for tunnel protection switching provided by the embodiment of the present invention, after the node on the tunnel detects the service degradation of the link, the service degraded alarm information of the Layer 3 interface corresponding to the link is generated, and the alarm information is generated.
  • the tunnel node notification message is used to notify the head node of the tunnel. After receiving the alarm notification, the head node of the tunnel performs the protection switching process, and after detecting the link service recovery, passes the The tunnel notification message notifies the head node of the tunnel to the alarm recovery information, and the head node of the tunnel performs the switchback process in time to implement protection and switching of the tunnel when service degradation and service recovery occur on the link.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本文公布一种隧道保护切换的方法和装置,应用于隧道上的节点,该方法包括:检测到链路出现业务劣化,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理。

Description

一种隧道保护切换的方法和装置 技术领域
本申请涉及但不限于通信技术领域。
背景技术
MPLS(Multi-Protocol Label Switching,多协议标签交换)技术,可以将IP报文转发技术巧妙的转换成二层交换技术,提高了数据包的转发速率。随着网络技术的发展,为了满足用户的服务需求,基于MPLS技术,可以构建VPN(Virtual Private Network,虚拟专用网络)网络。
RSVP-TE(Resource Reservation Protocol-Traffic Engineering,基于流量工程扩展的资源预留协议)是基于IP协议的资源预留协议。用户通过RSVP协议向网络请求满足特殊服务质量要求的缓存和带宽,中间节点利用RSVP协议在数据传输通路上建立起资源预留并维护该通路,为VPN网络提供了外层的转发路径,通过隧道的相关保护机制以实现相应的服务质量。
目前,如图1所示,隧道的头节点为P1,隧道的尾节点为P4。现实的网络中,对链路down或者网元断链的情况,隧道都做了相应的保护机制,也即,正常情况下,隧道的转发路径在第一条主路径(P1→P4)上,如果第一条主路径down,会进行第一条路径的主备保护切换,切换到第一条备路径(P1→P2→P4)上,如果第一条备路径down,会计算新的路径,也即第二条主路径(P1→P2→P3→P4),如果计算成功,则切换到第二条主路径上,如果计算不成功,则仍然在第一条备路径上。此后,如果第一条主路径up,隧道在第一条备路径时,会自动回切到第一条主路径上,如果隧道是在第二条主路径上,经过路径重优化后,可以回切到第一条主路径上。
但是往往现网中会出现链路介于up和down之间的情况,即指链路没有断开,但是链路在数据传输的质量有较大的问题,存在较高的误码率以及丢包的行为,称为链路处于SD(Signal Degrade,业务劣化)状态,此时配置的BFD(Bidirectional Forwarding Detection,双向转发检测机制)检测无法检测 出链路的异常状态,部署的隧道保护机制也没有办法做切换保护。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供一种隧道保护切换的方法和装置,能够在链路出现业务劣化时实现隧道的保护和切换。
一种隧道保护切换的方法,应用于隧道上的节点,该方法包括:
检测到链路出现业务劣化,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理。
可选地,该方法还包括下述特点:
所述方法还包括:
检测到链路业务恢复正常,产生所述链路对应的三层接口的业务恢复的告警恢复信息,将所述告警恢复信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行回切处理。
可选地,该方法还包括下述特点:
检测到链路出现业务劣化,包括:
检测到本端设备的端口出现业务劣化;和/或
接收到与本端设备直连的对端设备通过链路层发现协议LLDP传递的通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
可选地,该方法还包括下述特点:
检测到链路出现业务劣化后,还包括:
将出现业务劣化的端口的状态设置为业务劣化状态,通过链路层发现协议LLDP消息向与本端设备的所述端口直连的对端设备发送通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
可选地,该方法还包括下述特点:
在接收到所述隧道通知消息后,还包括:
如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点。
可选地,该方法还包括下述特点:
在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上。
可选地,该方法还包括下述特点:
在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道不处于回切等待过程中,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
可选地,该方法还包括下述特点:
在本隧道未配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如状态恢复正常的三层接口在本隧道切换前的路径上,则对本隧道进行 路径重优化,如重优化成功,则将隧道切换到以前的路径上。
可选地,该方法还包括下述特点:
在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上。
可选地,该方法还包括下述特点:
在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道不处于回切等待过程中,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道处 于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的主路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
可选地,该方法还包括下述特点:
在本隧道配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如隧道当前在备路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则将隧道切换到以前的主路径上;或者
如隧道当前在主路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则对隧道进行路径重优化,重优化成功后,将隧道切换到以前的主路径上。
可选地,该方法还包括下述特点:
所述隧道通知消息为基于流量工程扩展的资源预留协议RSVP-TE消息。
一种隧道保护切换的装置,应用于隧道上的节点,包括:
业务检测模块,设置为:检测到链路出现业务劣化,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
告警处理模块,设置为:在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理。
可选地,该装置还包括下述特点:
所述装置还包括告警恢复处理模块:
业务检测模块,还设置为:检测到链路业务恢复正常,产生所述链路对应的三层接口的业务恢复的告警恢复信息,将所述告警恢复信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
告警恢复处理模块,设置为:在接收到携带告警恢复信息的隧道通知消 息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行回切处理。
可选地,该装置还包括下述特点:
业务检测模块,是设置为:检测到链路出现业务劣化,包括:
检测到本端设备的端口出现业务劣化;和/或
接收到与本端设备直连的对端设备通过链路层发现协议LLDP传递的通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
可选地,该装置还包括下述特点:
业务检测模块,还设置为:在检测到链路出现业务劣化后,将出现业务劣化的端口的状态设置为业务劣化状态,通过链路层发现协议LLDP消息向与本端设备的所述端口直连的对端设备发送通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
可选地,该装置还包括下述特点:
告警处理模块,还设置为:在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点。
可选地,该装置还包括下述特点:
告警恢复处理模块,还设置为:在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点。
可选地,该装置还包括下述特点:
告警处理模块,是设置为:在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上。
可选地,该装置还包括下述特点:
告警处理模块,是设置为:在本隧道未配置主备保护的情况下,对所述 隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道不处于回切等待过程中,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
可选地,该装置还包括下述特点:
告警恢复处理模块,是设置为:在本隧道未配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如状态恢复正常的三层接口在本隧道切换前的路径上,则对本隧道进行路径重优化,如重优化成功,则将隧道切换到以前的路径上。
可选地,该装置还包括下述特点:
告警处理模块,是设置为:在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上。
可选地,该装置还包括下述特点:
告警处理模块,是设置为:在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道不处于回切等待过程中,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的主路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
可选地,该装置还包括下述特点:
告警恢复处理模块,是设置为:在本隧道配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如隧道当前在备路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则将隧道切换到以前的主路径上;或者
如隧道当前在主路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则对隧道进行路径重优化,重优化成功后,将隧道切换到以前的主路径上。
可选地,该装置还包括下述特点:
所述隧道通知消息为基于流量工程扩展的资源预留协议RSVP-TE消息。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执 行指令用于执行上述任一项的方法。
与相关技术相比,本发明实施例提供的一种隧道保护切换的方法和装置,隧道上的节点检测到链路出现业务劣化后,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息通过RSVP-TE消息通知隧道的头节点,隧道的头节点接收到告警通知后进行保护切换处理,并且,在检测到链路业务恢复后,通过RSVP-TE消息将告警恢复信息通知给隧道的头节点,隧道的头节点及时进行回切处理,本发明实施例能够在链路出现业务劣化和业务恢复时实现隧道的保护和切换。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为相关技术中隧道的主备路径示意图。
图2为本发明实施例的一种隧道保护切换的方法的流程图。
图3为本发明实施例的一种隧道保护切换的装置的结构示意图。
本发明的实施方式
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
如图2所示,本发明实施例提供了一种隧道保护切换的方法,应用于隧道上的节点,该方法包括:
S10,检测到链路出现业务劣化,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
S20,在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理;
所述方法还可以包括下述特点:
其中,所述方法还包括:
检测到链路业务恢复正常,产生所述链路对应的三层接口的业务恢复的告警恢复信息,将所述告警恢复信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行回切处理;
其中,检测到链路出现业务劣化,包括:
检测到本端设备的端口出现业务劣化;和
接收到与本端设备直连的对端设备通过LLDP(Link Layer Discovery Protocol,链路层发现协议)传递的通知消息,所述通知消息中指示双方的直连端口出现业务劣化;
其中,检测到端口出现业务劣化,包括:检测到端口接收数据的误码率超过阈值,则判定端口出现业务劣化。
其中,检测到链路出现业务劣化后,还包括:
将出现业务劣化的端口的状态设置为业务劣化SD状态,通过LLDP(Link Layer Discovery Protocol,链路层发现协议)消息向与本端设备的所述端口直连的对端设备发送通知消息,所述通知消息中指示双方的直连端口出现业务劣化;
其中,检测到链路出现业务劣化后,还包括:
将所述链路对应的三层接口的路由链路消耗值设置为最大,收敛路由;
其中,在接收到携带告警信息或告警恢复信息的隧道通知消息后,还包括:
如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点;
其中,在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上;
其中,在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道不处于回切等待过程中,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切;
其中,在本隧道未配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如状态恢复正常的三层接口在本隧道切换前的路径上,则对本隧道进行路径重优化,如重优化成功,则将隧道切换到以前的路径上;
其中,在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;
其中,在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不 处于回切等待过程中,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道不处于回切等待过程中,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的主路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切;
其中,在本隧道配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如隧道当前在备路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则将隧道切换到以前的主路径上;或者
如隧道当前在主路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则对隧道进行路径重优化,重优化成功后,将隧道切换到以前的主路径上。
其中,所述携带告警信息或告警恢复信息的隧道通知消息为基于流量工程扩展的资源预留协议RSVP-TE消息。
如图3所示,本发明实施例提供了一种隧道保护切换的装置,应用于隧道上的节点,包括:
业务检测模块31,设置为:检测到链路出现业务劣化,将所述链路对应 的三层接口的状态设置为业务劣化状态,产生告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
告警处理模块32,设置为:在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理。
所述装置还可以包括下述特点:
其中,所述装置还包括告警恢复处理模块:
业务检测模块,还设置为:检测到链路业务恢复正常,产生所述链路对应的三层接口的业务恢复的告警恢复信息,将所述告警恢复信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
告警恢复处理模块,设置为:在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行回切处理。
其中,业务检测模块,是设置为:检测到链路出现业务劣化,包括:
检测到本端设备的端口出现业务劣化;和/或
接收到与本端设备直连的对端设备通过链路层发现协议LLDP传递的通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
其中,业务检测模块,还设置为:在检测到链路出现业务劣化后,将出现业务劣化的端口的状态设置为业务劣化状态,通过链路层发现协议LLDP消息向与本端设备的所述端口直连的对端设备发送通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
其中,告警处理模块,还设置为:在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点。
其中,告警恢复处理模块,还设置为:在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点。
其中,告警处理模块,是设置为:在本隧道未配置主备保护的情况下, 对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上。
其中,告警处理模块,是设置为:在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道不处于回切等待过程中,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
其中,告警恢复处理模块,是设置为:在本隧道未配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如状态恢复正常的三层接口在本隧道切换前的路径上,则对本隧道进行路径重优化,如重优化成功,则将隧道切换到以前的路径上。
其中,告警处理模块,是设置为:在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上。
其中,告警处理模块,是设置为:在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道不处于回切等待过程中,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
如所述出现业务劣化的三层接口在本隧道切换前的主路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
其中,告警恢复处理模块,是设置为:在本隧道配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
如隧道当前在备路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则将隧道切换到以前的主路径上;或者
如隧道当前在主路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则对隧道进行路径重优化,重优化成功后,将隧道切换到以前的主路径上。
其中,所述隧道通知消息为基于流量工程扩展的资源预留协议RSVP-TE消息。
上述实施例提供的一种隧道保护切换的方法和装置,隧道上的节点检测 到链路出现业务劣化后,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息通过RSVP-TE消息通知隧道的头节点,隧道的头节点接收到告警通知后进行保护切换处理,并且,在检测到链路业务恢复后,通过RSVP-TE消息将告警恢复信息通知给隧道的头节点,隧道的头节点及时进行回切处理,本发明实施例能够在链路出现业务劣化和业务恢复时实现隧道的保护和切换。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例提供的一种隧道保护切换的方法和装置,隧道上的节点检测到链路出现业务劣化后,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息通过隧道通知消息通知隧道的头节点,隧道的头节点接收到告警通知后进行保护切换处理,并且,在检测到链路业务恢复后,通过 隧道通知消息将告警恢复信息通知给隧道的头节点,隧道的头节点及时进行回切处理,能够在链路出现业务劣化和业务恢复时实现隧道的保护和切换。

Claims (15)

  1. 一种隧道保护切换的方法,应用于隧道上的节点,该方法包括:
    检测到链路出现业务劣化,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
    在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理。
  2. 如权利要求1所述的方法,还包括:
    检测到链路业务恢复正常,产生所述链路对应的三层接口的业务恢复的告警恢复信息,将所述告警恢复信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
    在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行回切处理。
  3. 如权利要求1或2所述的方法,其中:
    检测到链路出现业务劣化,包括:
    检测到本端设备的端口出现业务劣化;和/或
    接收到与本端设备直连的对端设备通过链路层发现协议LLDP传递的通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
  4. 如权利要求1或2所述的方法,其中:
    检测到链路出现业务劣化后,还包括:
    将出现业务劣化的端口的状态设置为业务劣化状态,通过链路层发现协议LLDP消息向与本端设备的所述端口直连的对端设备发送通知消息,所述通知消息中指示双方的直连端口出现业务劣化。
  5. 如权利要求1或2所述的方法,其中:
    在接收到所述隧道通知消息后,还包括:
    如判断自身是所述隧道通知消息指示的隧道的中间节点或尾节点,则转发所述隧道通知消息至所述隧道的头节点。
  6. 如权利要求1或2所述的方法,其中:
    在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
    如所述出现业务劣化的三层接口在本隧道当前的路径上,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上。
  7. 如权利要求1或2所述的方法,其中:
    在本隧道未配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
    如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道不处于回切等待过程中,则对本隧道的路径进行重优化,如重优化成功,则将本隧道的路径切换到新的路径上;或者
    如所述出现业务劣化的三层接口在本隧道当前的路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
    如所述出现业务劣化的三层接口在本隧道切换前的路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
  8. 如权利要求2所述的方法,其中:
    在本隧道未配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
    如状态恢复正常的三层接口在本隧道切换前的路径上,则对本隧道进行路径重优化,如重优化成功,则将隧道切换到以前的路径上。
  9. 如权利要求1或2所述的方法,其中:
    在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
    如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的 备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
    如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
    如所述出现业务劣化的三层接口在本隧道当前的备路径上,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上。
  10. 如权利要求1或2所述的方法,其中:
    在本隧道配置主备保护的情况下,对所述隧道进行保护切换处理,包括执行以下处理:
    如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上所有的三层接口的状态都正常,则将本隧道切换到所述备路径上;或者
    如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道不处于回切等待过程中,且本隧道的备路径上存在状态不正常的三层接口,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
    如所述出现业务劣化的三层接口在本隧道当前的主路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
    如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道不处于回切等待过程中,则对本隧道的主路径进行重优化,如重优化成功,则将本隧道切换到新的主路径上;或者
    如所述出现业务劣化的三层接口在本隧道当前的备路径上,且本隧道处于回切等待过程中,则结束等待,执行回切;或者
    如所述出现业务劣化的三层接口在本隧道切换前的主路径上,且本隧道处于回切等待过程中,则结束等待,不执行回切。
  11. 如权利要求2所述的方法,其中:
    在本隧道配置主备保护的情况下,对所述隧道进行回切处理,包括执行以下处理:
    如隧道当前在备路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则将隧道切换到以前的主路径上;或者
    如隧道当前在主路径上,如状态恢复正常的三层接口在本隧道切换前的主路径上,则对隧道进行路径重优化,重优化成功后,将隧道切换到以前的主路径上。
  12. 如权利要求1或2所述的方法,其中:
    所述隧道通知消息为基于流量工程扩展的资源预留协议RSVP-TE消息。
  13. 一种隧道保护切换的装置,应用于隧道上的节点,包括:
    业务检测模块,设置为:检测到链路出现业务劣化,产生所述链路对应的三层接口的业务劣化告警信息,将所述告警信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
    告警处理模块,设置为:在接收到携带告警信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行保护切换处理。
  14. 如权利要求13所述的装置,还包括告警恢复处理模块:
    业务检测模块,还设置为:检测到链路业务恢复正常,产生所述链路对应的三层接口的业务恢复的告警恢复信息,将所述告警恢复信息封装在隧道通知消息中发送至经过所述三层接口的隧道的头节点;
    告警恢复处理模块,设置为:在接收到携带告警恢复信息的隧道通知消息后,如判断自身是所述隧道通知消息指示的隧道的头节点,则对所述隧道进行回切处理。
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-12任一项的方法。
PCT/CN2015/090948 2015-04-21 2015-09-28 一种隧道保护切换的方法和装置 WO2016169214A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510191735.1A CN106161232B (zh) 2015-04-21 2015-04-21 一种隧道保护切换的方法和装置
CN201510191735.1 2015-04-21

Publications (1)

Publication Number Publication Date
WO2016169214A1 true WO2016169214A1 (zh) 2016-10-27

Family

ID=57143032

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090948 WO2016169214A1 (zh) 2015-04-21 2015-09-28 一种隧道保护切换的方法和装置

Country Status (2)

Country Link
CN (1) CN106161232B (zh)
WO (1) WO2016169214A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979988A (zh) * 2022-05-07 2022-08-30 中移互联网有限公司 一种短信下发的方法、装置、电子设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948000B (zh) * 2017-12-25 2021-11-19 瑞斯康达科技发展股份有限公司 一种主备通道的切换方法、装置及系统
CN110011819B (zh) * 2018-01-04 2022-04-19 中兴通讯股份有限公司 生成sd告警信息的方法、装置、设备及系统
CN112825501B (zh) * 2019-11-20 2024-08-16 中兴通讯股份有限公司 信号劣化处理方法、装置及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885632B1 (en) * 2000-12-21 2005-04-26 Nortel Networks Limited Method and system for signal degrade (SD) information passthrough in T-Mux systems
CN101719843A (zh) * 2009-12-18 2010-06-02 烽火通信科技股份有限公司 Ptn中lsp线性保护倒换方法
CN102215127A (zh) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 一种信号劣化处理方法、装置及节点设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505246B (zh) * 2009-03-02 2011-08-24 中兴通讯股份有限公司 网络隧道分段保护方式的故障检测方法和修复方法
CN101562536B (zh) * 2009-05-19 2012-03-07 迈普通信技术股份有限公司 一种局部路径保护的快速重路由方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885632B1 (en) * 2000-12-21 2005-04-26 Nortel Networks Limited Method and system for signal degrade (SD) information passthrough in T-Mux systems
CN101719843A (zh) * 2009-12-18 2010-06-02 烽火通信科技股份有限公司 Ptn中lsp线性保护倒换方法
CN102215127A (zh) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 一种信号劣化处理方法、装置及节点设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUANG, JIN ET AL.: "Business Backup Technology Research on Service Access and Control Layer of IP Metropolitan Area Network", TELECOMMUNICATIONS SCIENCE, 30 September 2013 (2013-09-30) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979988A (zh) * 2022-05-07 2022-08-30 中移互联网有限公司 一种短信下发的方法、装置、电子设备及存储介质
CN114979988B (zh) * 2022-05-07 2023-09-19 中移互联网有限公司 一种短信下发的方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN106161232A (zh) 2016-11-23
CN106161232B (zh) 2020-01-31

Similar Documents

Publication Publication Date Title
US10855574B2 (en) Method and network device for computing forwarding path
US9705735B2 (en) System and method using RSVP hello suppression for graceful restart capable neighbors
US10250459B2 (en) Bandwidth on-demand services in multiple layer networks
EP2360880B1 (en) Optimized fast re-route in MPLS-TP ring topologies
US9979632B2 (en) Avoiding data traffic loss in a ring multihomed, in an active-standby manner, to a transport network
EP1845656A1 (en) A method for implementing master and backup transmission path
KR101688682B1 (ko) 빠른 lsp 경보 메커니즘
WO2015192518A1 (zh) Potn的误码检测方法、装置及系统
WO2016169214A1 (zh) 一种隧道保护切换的方法和装置
WO2012065435A1 (zh) 一种传送网中的路径回切方法及装置
WO2012016458A1 (zh) 用于二层虚拟专用网络的数据传输方法和装置
KR101444684B1 (ko) 요청에 따라 공급자 네트워크를 통해 접속을 복구하는 방법 및 장치
WO2018090210A1 (zh) 业务报文传输方法及节点设备
WO2017152596A1 (zh) 一种p2mp主隧道节点保护的方法及装置
CN104702498B (zh) 一种通过协调保护减少设备间光连接数量的方法及装置
US10033573B2 (en) Protection switching method, network, and system
WO2014101125A1 (zh) 聚合组链路协商方法、装置和系统
WO2017202121A1 (zh) 一种故障确定方法及装置
Kim et al. Protection switching methods for point‐to‐multipoint connections in packet transport networks
WO2017152595A1 (zh) 一种响应网络拓扑变化的方法和装置
CN104081723A (zh) 用于网络保护的方法和装置
CN103795625A (zh) 多协议标签交换网络的快速重路由实现方法及装置
WO2016082377A1 (zh) 一种管理路径切换的方法、装置和系统
WO2017124722A1 (zh) 一种伪线业务转发方法及装置
CN111083033B (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: 15889700

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

Country of ref document: EP

Kind code of ref document: A1