WO2013010423A1 - 基于共享路径的环网隧道配置方法、业务切换方法及系统 - Google Patents

基于共享路径的环网隧道配置方法、业务切换方法及系统 Download PDF

Info

Publication number
WO2013010423A1
WO2013010423A1 PCT/CN2012/077242 CN2012077242W WO2013010423A1 WO 2013010423 A1 WO2013010423 A1 WO 2013010423A1 CN 2012077242 W CN2012077242 W CN 2012077242W WO 2013010423 A1 WO2013010423 A1 WO 2013010423A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
ring
service
tunnel
link
Prior art date
Application number
PCT/CN2012/077242
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 WO2013010423A1 publication Critical patent/WO2013010423A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Definitions

  • Ring network tunnel configuration method based on shared path, service switching method and system
  • the present invention relates to the field of ring network protection technologies, and in particular, to a ring network tunnel configuration method, a service switching method, and a system based on a shared path.
  • the technical problem to be solved by the embodiments of the present invention is to provide a ring network tunnel configuration method, a service switching method and a system based on a shared path, to optimize the ring network configuration, and realize the transmission and protection of the ring network service.
  • a method for configuring a ring network tunnel based on a shared path where the lower ring node of the ring service is used as a destination node, and mutual protection based on the shared path is configured.
  • the working tunnel and the protection tunnel include: configuring a working tunnel from a neighboring node of the node to the local node in a clockwise or counterclockwise direction, and configuring another neighboring node from the node in the opposite direction of the working tunnel The protection tunnel to this node.
  • the shared path carries traffic from one or more nodes on the ring to a same destination node.
  • the physical path carrying the shared path carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • the lower ring node of the ring service is used as the destination node, and the working tunnel and the protection tunnel based on the shared path are configured.
  • Each node on the ring detects the link state between the neighboring nodes, and sends a status advertisement message to other nodes on the ring when the link state change is detected.
  • a node that detects the link state change or receives the state change notification message determines whether the transmission path of the service that is in the ring on the local node is affected by the link state change, and if so, receives the The fault affecting service switches between the working tunnel and the protection tunnel.
  • the method further includes:
  • the link state change includes: a link or node failure, or a link or node failure disappears;
  • the method further includes: when the node detects, or according to the received status change notification message, that the link status changes to a link or node failure, the affected service is switched from the current working tunnel to the Transfer on the protection tunnel;
  • the method further includes:
  • the upper ring node affected by the fault changes the state of the local node to a switch state
  • the upper ring node affected by the fault changes the state of the node from the switch state to the idle state (Idle) state.
  • the method further includes:
  • the PUSH ring network tunnel label stack is used, that is, Pressing (PUSH) the tunnel label of the shared path according to the running direction of the lower ring node and the working tunnel, and forwarding the tunnel label along the ring network, and the lower ring node pops up (POP) the tunnel label for service ring.
  • PUSH Pressing
  • POP pops up
  • the step of configuring the mutual protection working tunnel and the protection tunnel based on the shared path includes:
  • the shared path carries services from one or more nodes on the ring to the same destination node, and the physical ring network carrying the shared path carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • the services carried by the shared path include:
  • VPN Virtual private network
  • LSP Label Switched Path
  • Ether unlabeled IP or Ethernet
  • both the working tunnel and the protection tunnel support a penultimate hop pop (PHP).
  • PGP penultimate hop pop
  • a ring network tunnel configuration system based on a shared path includes: a path configuration module, where the path configuration module is located on a node on the ring, where:
  • the path configuration module is configured to: use a lower ring node of the ring service as a destination node, and configure a mutual protection working tunnel and a protection tunnel based on the shared path according to the following manner: configuring the node from the node in a clockwise or counterclockwise direction The neighboring node goes to the working tunnel of the node, and configures the protection tunnel from another neighboring node of the node to the node in the opposite direction of the working tunnel.
  • a ring network service switching system based on a shared path includes: a path configuration module, a state detection module, a status notification module, and a service switching module, where:
  • the path configuration module is configured to: use a lower ring node of the ring service as a destination node, and configure a working tunnel and a protection tunnel based on the shared path to protect each other;
  • the state detecting module is configured to: detect a link state between a node where the node is located and an adjacent node; the state notification module is configured to: when the state detecting module detects a link state change, send a state change notification report The text is given to other nodes on the ring;
  • the service switching module is configured to: when detecting a link state change or receiving the state change advertisement message, determining whether a transmission path of the service that is in the ring on the node where the node is located is affected by the link state change, if If yes, the service affected by the fault is switched between the working tunnel and the protection tunnel.
  • the service switching module is further configured to:
  • the link state change includes: a link or node failure, or a link or node failure disappears;
  • the service switching module is further configured to: when detecting, or according to the received status change notification message, that the link status changes to a link or node failure, the affected service is from the current working tunnel. Switching to the protection tunnel to transmit; when detecting, or according to the received status change notification message, the link state is changed to a link or the node failure disappears, then the protection tunnel is switched to The transmitted service is restored to the working tunnel.
  • the service switching module is further configured to:
  • the path configuration module is configured to configure a working tunnel and a protection tunnel based on the shared path as the destination node by using the lower ring node of the ring service as the destination node in the following manner:
  • the shared path carries services from one or more nodes on the ring to the same destination node, and the physical ring network carrying the shared path carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • a node, the ring on which the node is located is configured with a shared path and a protection tunnel based on the shared path configured by the lower ring node of the ring service, and the node includes: a state detection module, a state Notification module and service switching module, wherein:
  • the state detecting module is configured to: detect a link state between the node and a neighboring node; the state notification module is configured to: when the state detecting module detects a link state change, send a state change notification message Give other nodes on the ring;
  • the service switching module is configured to: determine, when the link state change is received, or when the state change notification message is received, determine whether a transmission path of the service that enters the ring on the node is affected by the link state change, if If yes, the service affected by the fault is switched between the working tunnel and the protection tunnel.
  • the service switching module is further configured to:
  • the link state change includes: a link or node failure, or a link or node failure disappears;
  • the service switching module is further configured to: when detecting, or according to the received status change notification message, that the link status changes to a link or node failure, the affected service is from the current working tunnel. Switching to the protection tunnel to transmit; when detecting, or according to the received status change notification message, the link state is changed to a link or the node failure disappears, then the protection tunnel is switched to The transmitted service is restored to the working tunnel.
  • the service switching module is further configured to:
  • the link state changes to a link or node failure, if it is determined that the node is on the ring
  • the transmission path of the service is affected by the change of the link state, and the state of the node is changed to a switching state; when the link state changes to a link or the node failure disappears, the node is The state changes from the Switch state to the idle (Idle) state.
  • the shared path-based mutual protection working tunnel and the protection tunnel configured by using the lower ring node of the ring service as the destination node are:
  • the working tunnel from the neighboring node of the node or other node to the node or other node configured in a clockwise or counterclockwise direction, and the node or other configured along the opposite direction of the working tunnel The protection tunnel of another neighboring node of the node to the node or other nodes; wherein the shared path carries traffic from one or more nodes on the ring to the same destination node, and carries the shared path
  • the physical ring network carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • the multi-point-to-point (MP2P) shared path established on the ring is used to carry the services of multiple nodes on the ring to the same node to exit the ring; the technology is compared with related technologies.
  • MP2P multi-point-to-point
  • FIG. 1 is a schematic diagram of a topology of a ring network according to the related art
  • FIG. 2 is a schematic diagram of component modules of a ring network protection system according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of service switching in a fault state according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of service switching with a failure disappearing according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a ring network service switching according to an embodiment of the present invention. Preferred embodiment of the invention
  • Step 1 Configure a clockwise and counterclockwise working tunnel based on the shared path with the lower ring node of the ring service as the destination node, and the two tunnels are mutually protected;
  • each lower ring node For each lower ring node, first move the clock from the adjacent node of the node to the working tunnel of the node along the clockwise or counterclockwise direction of the ring (equivalent to the path), and at the same time, establish a direction along the opposite direction of the working tunnel. a protection tunnel from another adjacent node of the node to the node;
  • the working tunnel and the protection tunnel are mutually protected, that is, a part of resources in one tunnel acts as a working tunnel in one direction; another part of the resource acts as a protective tunnel in another opposite direction;
  • a system consisting of N nodes requires a total of 2N tunnels.
  • Step 2 Each link on the ring initiates fault detection (such as CC&CV, BFD, etc.).
  • fault detection such as CC&CV, BFD, etc.
  • a node on the ring detects the link state or the state of the peer node changes, it immediately moves away from the ring.
  • the direction sends a status change notification message to other nodes (such as R-APS, etc.);
  • Step 3 After receiving the state change notification message or the local node detects the state change, the other node on the ring determines whether the service of the ring on the node has an impact, and if there is an impact, performs the switching of the transmission path. Otherwise, it is still transmitted according to the original transmission path;
  • the node on the ring detects a fault or receives a status change notification message of a fault that is sent to the local node by the other node on the ring, the node determines which services from the local node are affected, and is affected by the fault.
  • the service will be switched from the original working tunnel to the corresponding protection tunnel for transmission; the unaffected incoming service will still be transmitted on the working tunnel; when the faulty neighboring node detects or is notified that the ring fault disappears, The original switch is switched to the protection tunnel to transmit the traffic, and then restored to the working tunnel for transmission.
  • step 3 when the ring node detects a fault or receives a state change notification message sent by the other node on the ring to the local node, if it is determined that the link state changes to If the link or node is faulty, and the transmission path of the traffic entering the ring on the local node is affected by the change of the link state, the state of the node is switched from the Idle state to the Switch state; and in the link or node When the fault disappears, the state of the node is changed from the Switch state to the Idle state.
  • the ring network service switching system mainly includes the following four modules: a path configuration module 201, a state detection module 202, a status advertisement module 203, and a service switching module 204, where:
  • the path configuration module 201 is configured to: configure, for each node on the ring, a working tunnel from the adjacent node along the clockwise or counterclockwise direction of the ring to the node, and configure a direction opposite to the working tunnel from the node
  • the adjacent tunnel is protected by the protection tunnel of the node to the local node.
  • the working tunnel and the protection tunnel have a mutual protection relationship, that is, a part of resources in each tunnel is used for the working tunnel, and another part of the resources is used to protect another working tunnel in the opposite direction;
  • the state detecting module 202 is configured to: detect the state of the link by detecting fault detection packets of the link layer between two directly adjacent nodes on the ring network.
  • the link state is detected by detecting a continuity check and a continuity check (CC&CV, Continuity Check and Connectivity Verification) BFD (Bidirectional Forwarding Detection) message.
  • CC&CV Continuity Check and Connectivity Verification
  • BFD Bidirectional Forwarding Detection
  • the status notification module 203 is configured to: when the status detection module 202 detects that the link status changes, generate a status change notification message, and send it to the ring node along the ring away from the fault until the faulty downstream node ;
  • the status change notification message can be used, such as: Ring-Automatic Protection Switching (R-APS, Ring-Automatic Protection Switching).
  • R-APS Ring-Automatic Protection Switching
  • the service switching module 204 is configured to: according to the change of the detected link state or the status change notification message sent by another node (such as R-APS, etc.), determine whether the link is based on the link or node where the state changes. The traffic entering the ring on the node has an impact. If there is an impact, the working tunnel and the protection tunnel are switched. Otherwise, the traffic is still transmitted on the original tunnel.
  • another node such as R-APS, etc.
  • the state detection module 202 is configured to detect the following changes in the link state: a link or Node failure, link or node failure disappears;
  • the service switching module 204 is further configured to: when detecting, or according to the received status change notification message, that the link status changes to a link or node failure, the affected service is switched from the current working tunnel to the protection tunnel. Sending; when detecting, or according to the received status change notification message, that the link status changes to a link or the node failure disappears, the service switched to the protection tunnel is restored to the working tunnel.
  • the service switching mode: 204 is further configured to: when the link state changes to a link or a node failure, if it is determined that the transmission path of the ring-entry service on the node is affected by the link state change, The state of the node changes to the switch state. When the link state changes to link or the node fault disappears, the state of the node is changed from the switch state to the idle state (Idle) state.
  • the embodiment of the present invention further provides a ring network tunnel configuration system based on a shared path, including a path configuration module, where:
  • the path configuration module is configured to: use the lower ring node of the ring service as the destination node, configure the mutual protection working tunnel and the protection tunnel based on the shared path as follows: Configure the phase from the node in a clockwise or counterclockwise direction A working tunnel from the neighboring node to the local node, and a protection tunnel from another neighboring node of the node to the local node in the opposite direction of the working tunnel.
  • the shared path carries services from one or more nodes on the ring to the same destination node, and the physical ring network carrying the shared path carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • the embodiment of the present invention further provides a ring network tunnel configuration system based on a shared path, including: a path configuration module, where the path configuration module is located on a node on the ring, where:
  • the path configuration module is configured to: use a lower ring node of the ring service as a destination node, and configure a mutual protection working tunnel and a protection tunnel based on the shared path according to the following manner: configuring the node from the node in a clockwise or counterclockwise direction The neighboring node goes to the working tunnel of the node, and configures the protection tunnel from another neighboring node of the node to the node in the opposite direction of the working tunnel.
  • the embodiment of the present invention further provides a ring network service switching system based on a shared path, where the system includes: a path configuration module, a state detection module, a status notification module, and a service switching module, where:
  • the path configuration module is configured to: use a lower ring node of the ring service as a destination node, and configure a mutually protected working tunnel and a protection tunnel based on the shared path;
  • the state detecting module is configured to: detect a link state between a node where the node is located and an adjacent node; the state notification module is configured to: when the state detecting module detects a link state change, send a state change notification report The text is given to other nodes on the ring;
  • the service switching module is configured to: when detecting a link state change or receiving the state change advertisement message, determining whether a transmission path of the service that is in the ring on the node where the node is located is affected by the link state change, if If yes, the service affected by the fault is switched between the working tunnel and the protection tunnel.
  • the service switching module is further configured to:
  • the link state change includes: a link or node failure, or a link or node failure disappears;
  • the service switching module is further configured to: when detecting, or according to the received status change notification message, that the link status changes to a link or node failure, the affected service is from the current working tunnel. Switching to the protection tunnel to transmit; when detecting, or according to the received status change notification message, the link state is changed to a link or the node failure disappears, then the protection tunnel is switched to The transmitted service is restored to the working tunnel.
  • the service switching module is further configured to:
  • the path configuration module is configured to configure a working tunnel and a protection tunnel based on the shared path as the destination node by using the lower ring node of the ring service as the destination node in the following manner:
  • the shared path carries services from one or more nodes on the ring to the same destination node, and the physical ring network carrying the shared path carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • the embodiment of the present invention further provides a node, where the ring on which the node is located is configured with a shared path-protected working tunnel and a protection tunnel configured by using a lower ring node of the ring service as a destination node, and the node is configured.
  • the method includes: a status detection module, a status notification module, and a service switching module, wherein: the status detection module is configured to: detect a link status between the node and an adjacent node; and the status notification module is configured to: in the status When detecting that the link status changes, the detecting module sends a status change notification message to other nodes on the ring;
  • the service switching module is configured to: determine, when the link state change is received, or when the state change notification message is received, determine whether a transmission path of the service that enters the ring on the node is affected by the link state change, if If yes, the service affected by the fault is switched between the working tunnel and the protection tunnel.
  • the service switching module is further configured to:
  • the link state change includes: a link or node failure, or a link or node failure disappears;
  • the service switching module is further configured to: when detecting, or according to the received status change notification message, that the link status changes to a link or a node failure, the affected service is The current working tunnel is switched to the protection tunnel; when it is detected, or according to the received status change notification message, the link status changes to a link or the node failure disappears, then the switch is switched to the The service transmitted on the protection tunnel is restored to the working tunnel.
  • the service switching module is further configured to:
  • switch State when the link state changes to a link or a node failure disappears, the state of the node is changed from a Switch state to an Idle state.
  • the shared path-based mutual protection working tunnel and the protection tunnel configured by using the lower ring node of the ring service as the destination node are:
  • the working tunnel from the neighboring node of the node or other node to the node or other node configured in a clockwise or counterclockwise direction, and the node or other configured along the opposite direction of the working tunnel The protection tunnel of another neighboring node of the node to the node or other nodes; wherein the shared path carries traffic from one or more nodes on the ring to the same destination node, and carries the shared path
  • the physical ring network carries multiple multi-point to point (MP2P) shared paths.
  • MP2P multi-point to point
  • the specific implementation process of the ring network service switching of the present invention will be described in detail below by taking the processing of the network shown in FIG. 3 and FIG. 4 as an example.
  • the service carried on the ring network may be a virtual private network (VPN) service of a single-layer label, or an LSP service of a multi-layer label, or even an unlabeled IP or Ethernet (Eth) service, etc. .
  • VPN virtual private network
  • LSP LSP service of a multi-layer label
  • Ether unlabeled IP or Ethernet
  • point D such as its working tunnel is configured in its clockwise direction (C-B-A-F-E-D), and its corresponding protection tunnel is counterclockwise E-F-A-B-C-D.
  • the working tunnel can be configured in a counterclockwise direction (E-F-A-B-C-D), and the corresponding protection tunnel is C-B-A-F-E-D.
  • Tunnel Label indicates the outer forwarding path label
  • LSP Label Indicates that the service is an LSP service. After the LSP label is swapped, the LSP label is swapped into the outer tunnel and then uploaded to the outer tunnel.
  • IP Header indicates that when the incoming link is an IP service, the IP service is directly pushed into the outer tunnel Tunnel Label and transmitted in the outer tunnel.
  • PW Label indicates that the access to the pseudowire emulation service (such as ATM, ETH, TDM, etc.) on the ingress ring node, after the local service processing (NSP) is performed on the ingress ring node, the corresponding PW is applied. Label, then press into the outer tunnel Tunnel Label and transmit it on the outer tunnel;
  • NSP local service processing
  • PDU refers to the content of the specific packaged service.
  • the node on the ring only performs the swap operation of the outer tunnel label, and after the outer label 300 is popped up at the outbound link D, the service 1 and service 2 services are directly processed.
  • the outer tunnel label is popped up (POP), and then the LSP Label Exchange (Swap) is used to exit the ring.
  • POP the pop-up
  • the loop processing is performed.
  • the outer tunnel label is popped up (POP)
  • the PW Label is popped up
  • the emulation service is encapsulated according to the PW Label. , and then go out of the ring operation.
  • a status change notification message (eg, R-APS, etc.) is generated.
  • R-APS protection tunnel
  • the service 1 and the service 2 (the LSP service in the figure are taken as an example) enter the ring from the nodes A and B, which is affected by the EF link failure. Then, after service 1 and service 2 exchange service tags from nodes A and B respectively, such as: service 1: 20->30, service 2: 50->60, directly push into the corresponding protection tunnel EFABCD transmission; After reaching the ring-out node D, the outer protection tunnel label 401 is popped up, and the service 1 and service 2 services are processed directly;
  • Service 1 and Service 2 For Service 1 and Service 2, it is again pushed into the working tunnel CBAFED from points A and B respectively, and after being transmitted to its outgoing node D, the outer working tunnel label 300 is ejected, and then according to The different service types of Service 1 and Service 2 are processed accordingly.
  • the outer tunnel label may be popped up (PHP), and the The transmitted service is sent to the outgoing node of the service and continues to be transmitted.
  • FIG. 5 is a flowchart showing a processing procedure of a ring network service switching method according to an embodiment of the present invention. As shown in FIG. 5, the process includes:
  • Step 101 Configure a working tunnel and a protection tunnel for each egress node on the ring.
  • Step 102 A fault detection packet is periodically sent on each link.
  • Step 103 Determine whether a link state change is detected. If yes, go to step 104. Otherwise, go to step 105.
  • Step 104 Immediately generate a state change notification message and send it to other nodes on the ring.
  • Step 105 Periodically send a status advertisement.
  • Step 106 The node on the ring detects or receives another status change notification message.
  • step 107 it is judged whether it is changed from the normal state to the fault state. If yes, step 108 is performed; otherwise, step 109 is performed.
  • Step 108 Each node switches the affected service to the protection tunnel, and performs step 110.
  • Step 109 The ring-entry service on each node is restored to the working tunnel.
  • Step 110 The outgoing node receives the service from the working tunnel or the protection tunnel.
  • the above work tunnel and protection tunnel can support PHP.
  • 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 particular combination of hardware and software.
  • the multi-point-to-point (MP2P) shared path established on the ring is used to carry the services of multiple nodes on the ring to the same node to exit the ring; the technology is compared with related technologies.
  • MP2P multi-point-to-point

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

一种基于共享路径的环网隧道配置方法、业务切换方法及系统,以环上业务的下环节点为目的节点,配置基于共享路径的互为保护的工作隧道和保护隧道,包括:沿顺时针或逆时针方向配置从本节点的相邻节点到本节点的工作隧道,并沿工作隧道的相反方向配置从本节点的另一个相邻节点到本节点的保护隧道。上述技术方案利用在环上建立的多点到点MP2P的共享路径,来承载环上多个节点入环到同一节点出环的业务,与相关技术相比,避免配置的复杂性,优化配置,利用到达环上某节点的保护隧道来实现对环网业务的传送和保护。

Description

基于共享路径的环网隧道配置方法、 业务切换方法及系统
技术领域
本发明涉及环网保护技术领域, 尤其涉及一种基于共享路径的环网隧道 配置方法、 业务切换方法及系统。
背景技术
当前在环网中, 对于 G.8132标准上环回( Wrapping )保护方案, 由于该 保护方案是每个被保护的标签交换路径(LSP, Label Switching Path )对应一 个封闭保护环, 其配置工作量太大, 倒换动作比较多, 倒换处理时间也比较 长。
发明内容
本发明实施例要解决的技术问题是提供一种基于共享路径的环网隧道配 置方法、 业务切换方法及系统, 以优化环网配置, 实现对环网业务的传送和 保护。
为解决上述技术问题, 本发明实施例釆用如下技术方案: 一种基于共享路径的环网隧道配置方法, 其中, 以环上业务的下环节点 为目的节点, 配置基于共享路径的互为保护的工作隧道和保护隧道, 包括: 沿顺时针或逆时针方向配置从本节点的相邻节点到本节点的工作隧道, 并沿所述工作隧道的相反方向配置从本节点的另一个相邻节点到本节点的保 护隧道。
可选地, 所述共享路径承载从所述环上一个或多个节点到同一个目的节 点的业务。 可选地,承载所述共享路径物理环网承载多个多点到点(MP2P )的共享 路径。 一种基于共享路径的环网业务切换方法, 所述方法包括:
以环上业务的下环节点为目的节点, 配置基于共享路径的互为保护的工 作隧道和保护隧道;
环上各节点检测与相邻节点间的链路状态, 在检测到链路状态改变时, 发送状态通告报文给环上其他节点;
检测到所述链路状态改变或者接收到所述状态改变通告报文的节点, 判 断本节点上入环的业务的传送路径是否受所述链路状态改变的影响 ,如果是, 则将受所述故障影响业务在所述工作隧道和所述保护隧道之间进行切换。
可选地, 所述方法还包括:
检测到所述链路状态改变或者接收到所述状态改变通告报文的节点, 如 果判断本节点上入环的业务的传送路径不受所述链路状态改变的影响, 则继 续按照所述业务的传送路径进行传送。
可选地, 所述链路状态改变包括: 链路或节点故障、 或链路或节点故障 消失;
该方法还包括: 当节点检测到、 或者根据接收到的所述状态改变通告报 文得知所述链路状态改变为链路或节点故障时, 将受影响的业务从当前工作 隧道切换到所述保护隧道上传送;
当节点检测到、 或者根据接收到的所述状态改变通告报文得知所述链路 状态改变为链路或节点故障消失时, 则将切换到所述保护隧道上传送的业务 重新恢复到所述工作隧道上。
可选地, 该方法还包括:
当所述链路状态改变为链路或节点故障时, 受所述故障影响业务的上环 节点将本节点的状态改变为倒换(Switch ) 态;
当所述链路状态改变为链路或节点故障消失时, 受所述故障影响业务的 上环节点将本节点的状态由 Switch态改变为空闲 (Idle ) 态。
可选地, 该方法还包括:
业务 文在上环转发时釆用压入( PUSH )环网隧道标签堆栈方式, 即, 根据所述下环节点和所述工作隧道的运行方向压入(PUSH ) 所述共享路径 的隧道标签, 沿着环网进行转发, 所述下环节点弹出 (POP )所述隧道标签 进行业务下环。
可选地, 所述配置基于共享路径的互为保护的工作隧道和保护隧道的步 骤包括:
沿顺时针或逆时针方向配置从本节点的相邻节点到本节点的所述工作隧 道, 并沿所述工作隧道的相反方向配置从本节点的另一个相邻节点到本节点 的所述保护隧道;
其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
可选地, 所述共享路径承载的业务包括:
单层标签的虚拟专用网络( VPN )业务、多层标签的标签交换路径( LSP ) 业务、 无标签的 IP或以太网 (Eth ) 业务。
可选地,所述工作隧道和所述保护隧道均支持倒数第二跳弹出( PHP )。
一种基于共享路径的环网隧道配置系统, 包括: 路径配置模块, 所述路 径配置模块位于环上的一节点上, 其中:
所述路径配置模块设置成: 以环上业务的下环节点为目的节点, 按照以 下方式配置基于共享路径的互为保护的工作隧道和保护隧道: 沿顺时针或逆 时针方向配置从所述节点的相邻节点到所述节点的所述工作隧道, 并沿所述 工作隧道的相反方向配置从所述节点的另一个相邻节点到所述节点的所述保 护隧道。
一种基于共享路径的环网业务切换系统,所述系统包括:路径配置模块、 状态检测模块、 状态通告模块及业务切换模块, 其中:
所述路径配置模块设置成: 以环上业务的下环节点为目的节点, 配置基 于共享路径的互为保护的工作隧道和保护隧道; 所述状态检测模块设置成:检测其所在的节点与相邻节点间的链路状态; 所述状态通告模块设置成:在所述状态检测模块检测到链路状态改变时, 发送状态改变通告报文给环上其他节点;
所述业务切换模块设置成: 检测到链路状态改变或者接收到所述状态改 变通告报文时, 判断其所在节点上入环的业务的传送路径是否受所述链路状 态改变的影响, 如果是, 则将受所述故障影响业务在所述工作隧道和所述保 护隧道之间进行切换。
可选地, 所述业务切换模块还设置成:
检测到状态改变或者接收到所述状态改变通告报文时, 如果判断其所在 节点上入环的业务的传送路径不受所述链路状态改变的影响, 则继续按照所 述业务的传送路径进行传送。
可选地, 所述链路状态改变包括: 链路或节点故障、 或链路或节点故障 消失;
所述业务切换模块还设置成: 当检测到、 或者根据接收到的所述状态改 变通告报文得知所述链路状态改变为链路或节点故障时, 将受影响的业务从 当前工作隧道切换到所述保护隧道上传送; 当检测到、 或者根据接收到的所 述状态改变通告报文得知所述链路状态改变为链路或节点故障消失时, 则将 切换到所述保护隧道上传送的业务重新恢复到所述工作隧道上。
可选地, 所述业务切换模块还设置成:
当所述链路状态改变为链路或节点故障时, 如果判断其所在的节点上入 环的业务的传送路径受所述链路状态改变的影响, 则将其所在的节点的状态 改变为倒换(Switch ) 态; 当所述链路状态改变为链路或节点故障消失时, 将其所在的节点的状态由 Switch态改变为空闲 (Idle ) 态。
可选地, 所述路径配置模块设置成按照以下方式以环上业务的下环节点 为目的节点, 配置基于共享路径的互为保护的工作隧道和保护隧道:
沿顺时针或逆时针方向配置从所述路径配置模块所在节点的相邻节点到 所述路径配置模块所在节点的所述工作隧道, 并沿所述工作隧道的相反方向 配置从所述路径配置模块所在节点的另一个相邻节点到所述路径配置模块所 在节点的所述保护隧道;
其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
一种节点, 所述节点所在的环上配置有以环上业务的下环节点为目的节 点配置的基于共享路径的互为保护的工作隧道和保护隧道, 所述节点包括: 状态检测模块、 状态通告模块及业务切换模块, 其中:
所述状态检测模块设置成: 检测所述节点与相邻节点间的链路状态; 所述状态通告模块设置成:在所述状态检测模块检测到链路状态改变时, 发送状态改变通告报文给环上其他节点;
所述业务切换模块设置成: 检测到链路状态改变或者接收到所述状态改 变通告报文时, 判断所述节点上入环的业务的传送路径是否受所述链路状态 改变的影响, 如果是, 则将受所述故障影响业务在所述工作隧道和所述保护 隧道之间进行切换。
可选地, 所述业务切换模块还设置成:
检测到状态改变或者接收到所述状态改变通告报文时, 如果判断所述节 点上入环的业务的传送路径不受所述链路状态改变的影响, 则继续按照所述 业务的传送路径进行传送。
可选地, 所述链路状态改变包括: 链路或节点故障、 或链路或节点故障 消失;
所述业务切换模块还设置成: 当检测到、 或者根据接收到的所述状态改 变通告报文得知所述链路状态改变为链路或节点故障时 , 将受影响的业务从 当前工作隧道切换到所述保护隧道上传送; 当检测到、 或者根据接收到的所 述状态改变通告报文得知所述链路状态改变为链路或节点故障消失时, 则将 切换到所述保护隧道上传送的业务重新恢复到所述工作隧道上。
可选地, 所述业务切换模块还设置成:
当所述链路状态改变为链路或节点故障时, 如果判断所述节点上入环的 业务的传送路径受所述链路状态改变的影响, 则将所述节点的状态改变为倒 换(Switch ) 态; 当所述链路状态改变为链路或节点故障消失时, 将所述节 点的状态由 Switch态改变为空闲 (Idle ) 态。
可选地, 以环上业务的下环节点为目的节点配置的基于共享路径的互为 保护的工作隧道和保护隧道为:
沿顺时针或逆时针方向配置的从所述节点或其他节点的相邻节点到所述 节点或其他节点的所述工作隧道, 和沿所述工作隧道的相反方向配置的从所 述节点或其他节点的另一个相邻节点到所述节点或其他节点的所述保护隧道; 其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
釆用本发明上述技术方案, 即利用在环上建立的多点到点(MP2P )的共 享路径, 来承载环上多个节点入环到同一节点出环的业务; 该技术与相关技 术相比, 避免配置的复杂性, 优化配置, 利用到达环上某节点的保护隧道来 实现对环网业务的传送和保护。
附图概述
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:
图 1为根据相关技术的环网拓朴结构示意图;
图 2为本发明实施例的环网保护系统的组成模块示意图;
图 3为本发明实施例的故障状态的业务切换示意图;
图 4为本发明实施例的故障消失的业务切换示意图;
图 5为本发明实施例的环网业务切换的流程示意图。 本发明的较佳实施方式
本实施方式提供的环网业务切换方法, 主要包括以下步骤:
步骤一, 以环上业务的下环节点为目的节点配置基于共享路径的顺时针 和逆时针的工作隧道, 这两个隧道互为保护;
其中, 对于每个下环节点, 首先沿着环的顺时针或逆时针方向从本节点 的相邻节点到本节点的工作隧道(等同于路径) , 同时, 沿着工作隧道的相 反方向建立一条从本节点另一个相邻节点到本节点的保护隧道;
其中, 所述的工作隧道和保护隧道之间是相互保护关系, 也就是说, 一 个隧道中一部分资源作为一个方向的工作隧道; 另一部分资源作为另一个相 反方向的保护隧道作用; 假定环上是由 N个节点组成的, 则至多共需要 2N 隧道。
步骤二, 环上每段链路都启动故障检测 (如: CC&CV, BFD 等) , 当 环上某一节点检测到链路状态或对端节点的状态发生变化, 则立即沿着环的 远离故障的方向向其他节点发送状态改变通告报文 (如: R-APS等) ;
步骤三, 当环上其他节点接收到该状态改变通告报文或本节点自身检测 到状态发生变化后, 判断对本节点所上环的业务是否产生影响, 若有影响, 则进行传送路径的切换; 否则, 仍然按照原来的传送路径传送;
其中, 当环上节点检测到故障或接收到环上其他节点发送给本节点的故 障发生的状态改变通告报文时, 则该节点将判断从本节点入环的哪些业务受 到影响, 受到故障影响的业务, 将从原有工作隧道切换到对应保护隧道进行 传送; 不受影响的入环业务, 则仍然在工作隧道上传送; 当故障相邻节点检 测到或被通告环上故障消失时, 则将原来切换到保护隧道上传送业务, 又重 新恢复到工作隧道上传送。
此外, 在上述步骤三的同时, 还包括以下处理步骤: 当环上节点检测到 故障或接收到环上其他节点发送给本节点的状态改变通告报文时, 如果判断 所述链路状态改变为链路或节点故障, 且本节点上入环的业务的传送路径受 所述链路状态改变的影响,则将本节点的状态从 Idle态切换成 Switch (倒换) 态;并在链路或节点故障消失时,将本节点的状态由 Switch态变成 Idle状态。 为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。
如图 2所示,本实施例提供的环网业务切换系统主要包括以下四个模块: 路径配置模块 201、 状态检测模块 202、 状态通告模块 203和业务切换模块 204, 其中:
路径配置模块 201设置成: 为环上每个节点配置一条从相邻节点沿着环 的顺时针或逆时针方向到本节点上的工作隧道, 另外, 为该工作隧道配置一 个方向相反从本节点相邻的另一个节点到本节点的保护隧道, 对该工作隧道 进行保护。 且这工作隧道和保护隧道之间相互保护关系, 也就是说, 每一个 隧道上一部分资源用于工作隧道, 另一部分资源用于对另一个方向相反的工 作隧道进行保护;
状态检测模块 202设置成: 通过环网上两个直接相邻连接的节点之间链 路层的故障检测报文, 检测该段链路的状态。
例如,通过检测连续性检测和连通性确认( CC&CV, Continuity Check and Connectivity Verification ) 双向转发检则 ( BFD , Bidirectional Forwarding Detection )报文等, 来检测链路状态。
状态通告模块 203设置成: 当状态检测模块 202检测到链路状态发生改 变时, 则产生一个状态改变通告报文, 沿着环上远离故障的方向发送给环上 节点, 直至到故障的下游节点;
其中, 状态改变通告报文可釆用如: 环网自动保护切换 (R-APS , Ring-Automatic Protection Switching )才艮文等。
业务切换模块 204设置成: 根据检测到链路状态发生变化或者接收到其 他节点发送过来的状态改变通告报文(如: R-APS等)后, 根据发生状态变 化的链路或节点判断是否对本节点上入环的业务产生影响, 若有影响, 则进 行工作隧道和保护隧道之间进行切换; 否则, 则仍然在原有隧道上传送。
可选地, 状态检测模块 202设置成, 检测链路状态的如下改变: 链路或 节点故障、 链路或节点故障消失;
业务切换模块 204还设置成: 当检测到、 或者根据接收到的状态改变通 告报文得知链路状态改变为链路或节点故障时, 将受影响的业务从当前工作 隧道切换到保护隧道上传送; 当检测到、 或者根据接收到的状态改变通告报 文得知链路状态改变为链路或节点故障消失时, 则将切换到保护隧道上传送 的业务重新恢复到工作隧道上。
可选地, 业务切换模: 204还设置成, 当链路状态改变为链路或节点故障 时, 如果判断本节点上入环的业务的传送路径受所述链路状态改变的影响, 则将本节点的状态改变为倒换(Switch ) 态; 当链路状态改变为链路或节点 故障消失时, 将本节点的状态由 Switch态改变为空闲 (Idle ) 态。
此外,本发明实施例中还提供了一种基于共享路径的环网隧道配置系统, 包括路径配置模块, 其中:
该路径配置模块设置成: 以环上业务的下环节点为目的节点, 按照以下 方式配置基于共享路径的互为保护的工作隧道和保护隧道: 沿顺时针或逆时 针方向配置从本节点的相邻节点到本节点的工作隧道, 并沿所述工作隧道的 相反方向配置从本节点的另一个相邻节点到本节点的保护隧道。
其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
本发明实施例还提供了一种基于共享路径的环网隧道配置系统, 包括: 路径配置模块, 所述路径配置模块位于环上的一节点上, 其中:
所述路径配置模块设置成: 以环上业务的下环节点为目的节点, 按照以 下方式配置基于共享路径的互为保护的工作隧道和保护隧道: 沿顺时针或逆 时针方向配置从所述节点的相邻节点到所述节点的所述工作隧道, 并沿所述 工作隧道的相反方向配置从所述节点的另一个相邻节点到所述节点的所述保 护隧道。 本发明实施例还提供了一种基于共享路径的环网业务切换系统, 所述系 统包括: 路径配置模块、 状态检测模块、 状态通告模块及业务切换模块, 其 中:
所述路径配置模块设置成: 以环上业务的下环节点为目的节点, 配置基 于共享路径的互为保护的工作隧道和保护隧道;
所述状态检测模块设置成:检测其所在的节点与相邻节点间的链路状态; 所述状态通告模块设置成:在所述状态检测模块检测到链路状态改变时, 发送状态改变通告报文给环上其他节点;
所述业务切换模块设置成: 检测到链路状态改变或者接收到所述状态改 变通告报文时, 判断其所在节点上入环的业务的传送路径是否受所述链路状 态改变的影响, 如果是, 则将受所述故障影响业务在所述工作隧道和所述保 护隧道之间进行切换。
可选地, 所述业务切换模块还设置成:
检测到状态改变或者接收到所述状态改变通告报文时, 如果判断其所在 节点上入环的业务的传送路径不受所述链路状态改变的影响, 则继续按照所 述业务的传送路径进行传送。
可选地, 所述链路状态改变包括: 链路或节点故障、 或链路或节点故障 消失;
所述业务切换模块还设置成: 当检测到、 或者根据接收到的所述状态改 变通告报文得知所述链路状态改变为链路或节点故障时 , 将受影响的业务从 当前工作隧道切换到所述保护隧道上传送; 当检测到、 或者根据接收到的所 述状态改变通告报文得知所述链路状态改变为链路或节点故障消失时, 则将 切换到所述保护隧道上传送的业务重新恢复到所述工作隧道上。
可选地, 所述业务切换模块还设置成:
当所述链路状态改变为链路或节点故障时, 如果判断其所在的节点上入 环的业务的传送路径受所述链路状态改变的影响, 则将其所在的节点的状态 改变为倒换(Switch ) 态; 当所述链路状态改变为链路或节点故障消失时, 将其所在的节点的状态由 Switch态改变为空闲 (Idle ) 态。 可选地, 所述路径配置模块设置成按照以下方式以环上业务的下环节点 为目的节点, 配置基于共享路径的互为保护的工作隧道和保护隧道:
沿顺时针或逆时针方向配置从所述路径配置模块所在节点的相邻节点到 所述路径配置模块所在节点的所述工作隧道, 并沿所述工作隧道的相反方向 配置从所述路径配置模块所在节点的另一个相邻节点到所述路径配置模块所 在节点的所述保护隧道;
其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
本发明实施例还提供了一种节点, 所述节点所在的环上配置有以环上业 务的下环节点为目的节点配置的基于共享路径的互为保护的工作隧道和保护 隧道,所述节点包括: 状态检测模块、状态通告模块及业务切换模块,其中: 所述状态检测模块设置成: 检测所述节点与相邻节点间的链路状态; 所述状态通告模块设置成:在所述状态检测模块检测到链路状态改变时, 发送状态改变通告报文给环上其他节点;
所述业务切换模块设置成: 检测到链路状态改变或者接收到所述状态改 变通告报文时, 判断所述节点上入环的业务的传送路径是否受所述链路状态 改变的影响, 如果是, 则将受所述故障影响业务在所述工作隧道和所述保护 隧道之间进行切换。
可选地, 所述业务切换模块还设置成:
检测到状态改变或者接收到所述状态改变通告报文时, 如果判断所述节 点上入环的业务的传送路径不受所述链路状态改变的影响, 则继续按照所述 业务的传送路径进行传送。
可选地, 所述链路状态改变包括: 链路或节点故障、 或链路或节点故障 消失;
所述业务切换模块还设置成: 当检测到、 或者根据接收到的所述状态改 变通告报文得知所述链路状态改变为链路或节点故障时, 将受影响的业务从 当前工作隧道切换到所述保护隧道上传送; 当检测到、 或者根据接收到的所 述状态改变通告报文得知所述链路状态改变为链路或节点故障消失时, 则将 切换到所述保护隧道上传送的业务重新恢复到所述工作隧道上。
可选地, 所述业务切换模块还设置成:
当所述链路状态改变为链路或节点故障时, 如果判断所述节点上入环的 业务的传送路径受所述链路状态改变的影响, 则将所述节点的状态改变为倒 换(Switch ) 态; 当所述链路状态改变为链路或节点故障消失时, 将所述节 点的状态由 Switch态改变为空闲 (Idle ) 态。
可选地, 以环上业务的下环节点为目的节点配置的基于共享路径的互为 保护的工作隧道和保护隧道为:
沿顺时针或逆时针方向配置的从所述节点或其他节点的相邻节点到所述 节点或其他节点的所述工作隧道, 和沿所述工作隧道的相反方向配置的从所 述节点或其他节点的另一个相邻节点到所述节点或其他节点的所述保护隧道; 其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
以下将以图 3和图 4所示网络的处理为例, 对本发明的环网业务切换的 具体实施过程进行详细说明。 其中, 环网上承载的业务可以是单层标签的虚 拟专用网络( VPN , Virtual Private Network )业务, 也可以是多层标签的 LSP 业务, 甚至是无标签的 IP或以太网 (Eth ) 业务, 等。
针对环网业务来说, 其实现环网业务切换的主要过程描述如下:
1 )首先以图 3中所示的网络中 D点来说, 4叚如其工作隧道配置成其顺 时针方向( C-B-A-F-E-D ),其所对应的保护隧道为逆时针方向 E-F-A-B-C-D。
或者, 也可以将工作隧道配置成逆时针方向 ( E-F-A-B-C-D ) , 其对应 的保护隧道为 C-B-A-F-E-D。
2 ) 4艮如由业务 1 ( LSP业务或 IP业务或 PW业务 )和业务 2(LSP,IP,PW) 业务分别从环上节点 A和 B进入环, 则在环上无故障情况下, 则业务 1和业 务 2分别在 A和 B点进行标签交换后, 如: 业务 1 : 20- > 30, 业务 2: 50- > 60后, 再压入到同一工作隧道上 C-B-A-F-E-D传送, 其封装后报文的结构图 如下表 1所示。
表 1 报文封装格式
Tunnel Label (路径)
(业务标签) LSP Label(IP Header,PW Label)
PDU 其中, Tunnel Label: 表示外层转发路径标签;
LSP Label: 表示在进入环上, 该业务是 LSP业务, 则在入环节点上, 进 行 LSP标签交换( swap )后, 再压入外层隧道 Tunnel Label,在外层隧道上传 送;
IP Header: 表示当在入环节点上, 直接接入进来是 IP业务, 则直接将 IP 业务压入外层隧道 Tunnel Label,在外层隧道中传送;
PW Label:表示在入环节点上,所接入是伪线仿真的业务(如: ATM, ETH, TDM等等) , 则在本入环节点进行本地业务处理(NSP )后, 打上相 应的 PW Label后, 再压入外层隧道 Tunnel Label, 在外层隧道上传送;
PDU: 是指里面具体所封装的业务的内容。
其在环上节点只进行外层隧道标签的交换(swap )操作, 并在其出环节 点 D上弹出外层标签 300后,直接对里面的业务 1和业务 2业务进行相对应 处理。
例如, 对于 LSP业务来说, 则先弹出 (POP )外层 Tunnel label, 再进行 里面 LSP Label交换(Swap )后出环; 若是 IP业务来说, 弹出 (POP )夕卜层 Tunnel Label后, 直接根据里面 IP Header包头上信息, 进行出环处理; 若是 PW业务来说,则先弹出( POP )外层 Tunnel Label后,再弹出( POP )PW Label 后, 根据 PW Label进行仿真业务的封装等处理, 再出环操作。
3 )如图 3中所示, 当环上节点 E或 F检测到链路或节点故障时, 检测 到故障的节点 E或 F, 则将生成状态改变通告报文(如: R-APS等) 沿着环 的方向发送给环上其他节点, 且将对本节点上入环的受故障影响的业务切换 到保护隧道( E-F-A-B-C-D )上传送;
4 )当环上其他节点接收到故障发生的状态改变通告报文时,业务 1和业 务 2 (图中以 LSP业务为例)从节点 A和 B进入环上, 由于受到 E-F链路故 障的影响, 则业务 1和业务 2分别从 A和 B节点进行业务标签交换后, 如: 业务 1: 20-〉30 ,业务 2: 50-〉60后,直接压入到其对应的保护隧道 E-F-A-B-C-D 传送; 直至到达其环出节点 D, 弹出外层保护隧道标签 401后, 直接对里面 的业务 1和业务 2业务等进行处理;
5 )当环上故障消失时, 如图 4所示, F和 E之间链路故障消失时, 则节 点 F或 E检测到故障消失时, 则将本节点上原来从保护隧道上 E-F-A-B-C-D 上传送的业务又重新恢复到工作隧道上 C-B-A-F-E-D传送; 同时, 检测到状 态改变的节点 E或 F, 生成一个故障消失的状态改变通告报文, 沿着环的方 向, 发送给环上其他节点。
6 )环上其他节点接收到该故障消失的状态改变通告报文时,则将各自节 点上原来从保护隧道上传送的入环业务重新切换工作隧道上传送。
7 ) 而对于业务 1和业务 2来说, 又重新分别从 A和 B点上压入其工作 隧道 C-B-A-F-E-D上去, 直至传送到其出环节点 D后, 弹出外层工作隧道标 签 300后, 再根据里面的业务 1和业务 2的不同业务类型进行相应的处理。
其中, 当入环的业务在工作隧道(或保护隧道)上传送时, 当在业务传 送到工作隧道 /保护隧道上倒数第二跳时,可以将外层隧道标签弹出( PHP ), 直接将被传送的业务发送到业务的出环节点, 继续传送。
图 5示出了本发明实施例的环网业务切换方法的处理流程,如图 5所示, 该流程包括:
步骤 101 , 环上每个出节点配置工作隧道和保护隧道。
步骤 102, 每段链路上定期发送故障检测报文。
步骤 103 , 判断是否检测到链路状态改变, 如果是, 则执行步骤 104, 否 则, 执行步骤 105。 步骤 104, 立即生成状态改变通告报文, 发送给环上其他节点。
步骤 105 , 周期性发送状态通告。
步骤 106, 环上节点检测到或接收到其他状态改变通告报文。
步骤 107 ,判断是否由正常状态变为故障状态,如果是,则执行步骤 108, 否则, 执行步骤 109。
步骤 108, 各节点将受影响业务切换到保护隧道发送, 并执行步骤 110。 步骤 109, 各节点上入环业务恢复到工作隧道。
步骤 110, 出环节点从工作隧道或保护隧道接收业务。
其中, 上述的工作隧道和保护隧道均可支持 PHP。
以上仅为本发明的优选实施案例而已, 并不用于限制本发明, 本发明还 可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域 的技术人员可根据本发明做出各种相应的改变和变形, 但这些相应的改变和 变形都应属于本发明所附的权利要求的保护范围。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。
工业实用性
釆用本发明上述技术方案, 即利用在环上建立的多点到点(MP2P )的共 享路径, 来承载环上多个节点入环到同一节点出环的业务; 该技术与相关技 术相比, 避免配置的复杂性, 优化配置, 利用到达环上某节点的保护隧道来 实现对环网业务的传送和保护。 因此本发明具有很强的工业实用性。

Claims

权 利 要 求 书
1、一种基于共享路径的环网隧道配置方法, 其中, 以环上业务的下环节 点为目的节点,配置基于共享路径的互为保护的工作隧道和保护隧道,包括: 沿顺时针或逆时针方向配置从本节点的相邻节点到本节点的工作隧道, 并沿所述工作隧道的相反方向配置从本节点的另一个相邻节点到本节点的保 护隧道。
2、 如权利要求 1所述的环网隧道配置方法, 其中,
所述共享路径承载从所述环上一个或多个节点到同一个目的节点的业务。
3、 如权利要求 1或 2所述的环网隧道配置方法, 其中,
承载所述共享路径的物理环网承载多个多点到点 (MP2P ) 的共享路径。
4、 一种基于共享路径的环网业务切换方法, 该方法包括:
以环上业务的下环节点为目的节点, 配置基于共享路径的互为保护的工 作隧道和保护隧道;
环上各节点检测与相邻节点间的链路状态, 在检测到链路状态改变时, 发送状态通告报文给环上其他节点;
检测到所述链路状态改变或者接收到所述状态改变通告报文的节点, 判 断本节点上入环的业务的传送路径是否受所述链路状态改变的影响 ,如果是, 则将受所述故障影响业务在所述工作隧道和所述保护隧道之间进行切换。
5、 如权利要求 4所述的环网业务切换方法, 该方法还包括:
检测到所述链路状态改变或者接收到所述状态改变通告报文的节点, 如 果判断本节点上入环的业务的传送路径不受所述链路状态改变的影响, 则继 续按照所述业务的传送路径进行传送。
6、 如权利要求 4所述的环网业务切换方法, 其中,
所述链路状态改变包括: 链路或节点故障、 或链路或节点故障消失; 该方法还包括: 当节点检测到、 或者根据接收到的所述状态改变通告报 文得知所述链路状态改变为链路或节点故障时, 将受影响的业务从当前工作 隧道切换到所述保护隧道上传送; 当节点检测到、 或者根据接收到的所述状态改变通告报文得知所述链路 状态改变为链路或节点故障消失时, 则将切换到所述保护隧道上传送的业务 重新恢复到所述工作隧道上。
7、 如权利要求 6所述的环网业务切换方法, 该方法还包括:
当所述链路状态改变为链路或节点故障时, 受所述故障影响业务的上环 节点将本节点的状态改变为倒换(Switch ) 态;
当所述链路状态改变为链路或节点故障消失时, 受所述故障影响业务的 上环节点将本节点的状态由 Switch态改变为空闲 (Idle ) 态。
8、 如权利要求 4或 5所述的环网业务切换方法, 该方法还包括: 业务 文在上环转发时釆用压入(PUSH )环网隧道标签堆栈方式, 即, 根据所述下环节点和所述工作隧道的运行方向压入(PUSH ) 所述共享路径 的隧道标签, 沿着环网进行转发, 所述下环节点弹出 (POP )所述隧道标签 进行业务下环。
9、 如权利要求 4、 5、 6或 7所述的环网业务切换方法, 其中, 所述配置 基于共享路径的互为保护的工作隧道和保护隧道的步骤包括:
沿顺时针或逆时针方向配置从本节点的相邻节点到本节点的所述工作隧 道, 并沿所述工作隧道的相反方向配置从本节点的另一个相邻节点到本节点 的所述保护隧道;
其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
10、 如权利要求 9所述的环网业务切换方法, 其中, 所述共享路径承载 的业务包括:
单层标签的虚拟专用网络( VPN )业务、多层标签的标签交换路径( LSP ) 业务、 无标签的 IP或以太网 (Eth ) 业务。
11、 如权利要求 9所述的环网业务切换方法, 其中,
所述工作隧道和所述保护隧道均支持倒数第二跳弹出 (PHP ) 。
12、 一种基于共享路径的环网隧道配置系统, 包括: 路径配置模块, 所 述路径配置模块位于环上的一节点上, 其中:
所述路径配置模块设置成: 以环上业务的下环节点为目的节点, 按照以 下方式配置基于共享路径的互为保护的工作隧道和保护隧道: 沿顺时针或逆 时针方向配置从所述节点的相邻节点到所述节点的所述工作隧道, 并沿所述 工作隧道的相反方向配置从所述节点的另一个相邻节点到所述节点的所述保 护隧道。
13、 一种基于共享路径的环网业务切换系统, 所述系统包括: 路径配置 模块、 状态检测模块、 状态通告模块及业务切换模块, 其中:
所述路径配置模块设置成: 以环上业务的下环节点为目的节点, 配置基 于共享路径的互为保护的工作隧道和保护隧道;
所述状态检测模块设置成:检测其所在的节点与相邻节点间的链路状态; 所述状态通告模块设置成:在所述状态检测模块检测到链路状态改变时, 发送状态改变通告报文给环上其他节点;
所述业务切换模块设置成: 检测到链路状态改变或者接收到所述状态改 变通告报文时 , 判断其所在节点上入环的业务的传送路径是否受所述链路状 态改变的影响, 如果是, 则将受所述故障影响业务在所述工作隧道和所述保 护隧道之间进行切换。
14、如权利要求 13所述的环网业务切换系统, 其中, 所述业务切换模块 还设置成:
检测到状态改变或者接收到所述状态改变通告报文时, 如果判断其所在 节点上入环的业务的传送路径不受所述链路状态改变的影响, 则继续按照所 述业务的传送路径进行传送。
15、 如权利要求 13所述的环网业务切换系统, 其中,
所述链路状态改变包括: 链路或节点故障、 或链路或节点故障消失; 所述业务切换模块还设置成: 当检测到、 或者根据接收到的所述状态改 变通告报文得知所述链路状态改变为链路或节点故障时 , 将受影响的业务从 当前工作隧道切换到所述保护隧道上传送; 当检测到、 或者根据接收到的所 述状态改变通告报文得知所述链路状态改变为链路或节点故障消失时, 则将 切换到所述保护隧道上传送的业务重新恢复到所述工作隧道上。
16、如权利要求 15所述的环网业务切换系统, 其中, 所述业务切换模块 还设置成:
当所述链路状态改变为链路或节点故障时, 如果判断其所在的节点上入 环的业务的传送路径受所述链路状态改变的影响, 则将其所在的节点的状态 改变为倒换(Switch ) 态; 当所述链路状态改变为链路或节点故障消失时, 将其所在的节点的状态由 Switch态改变为空闲 (Idle ) 态。
17、如权利要求 13所述的环网业务切换系统, 其中, 所述路径配置模块 设置成按照以下方式以环上业务的下环节点为目的节点, 配置基于共享路径 的互为保护的工作隧道和保护隧道:
沿顺时针或逆时针方向配置从所述路径配置模块所在节点的相邻节点到 所述路径配置模块所在节点的所述工作隧道, 并沿所述工作隧道的相反方向 配置从所述路径配置模块所在节点的另一个相邻节点到所述路径配置模块所 在节点的所述保护隧道;
其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
18、 一种节点, 所述节点所在的环上配置有以环上业务的下环节点为目 的节点配置的基于共享路径的互为保护的工作隧道和保护隧道, 所述节点包 括: 状态检测模块、 状态通告模块及业务切换模块, 其中:
所述状态检测模块设置成: 检测所述节点与相邻节点间的链路状态; 所述状态通告模块设置成:在所述状态检测模块检测到链路状态改变时, 发送状态改变通告报文给环上其他节点;
所述业务切换模块设置成: 检测到链路状态改变或者接收到所述状态改 变通告报文时, 判断所述节点上入环的业务的传送路径是否受所述链路状态 改变的影响, 如果是, 则将受所述故障影响业务在所述工作隧道和所述保护 隧道之间进行切换。
19、 如权利要求 18所述的节点, 其中, 所述业务切换模块还设置成: 检测到状态改变或者接收到所述状态改变通告报文时, 如果判断所述节 点上入环的业务的传送路径不受所述链路状态改变的影响, 则继续按照所述 业务的传送路径进行传送。
20、 如权利要求 18所述的节点, 其中,
所述链路状态改变包括: 链路或节点故障、 或链路或节点故障消失; 所述业务切换模块还设置成: 当检测到、 或者根据接收到的所述状态改 变通告报文得知所述链路状态改变为链路或节点故障时 , 将受影响的业务从 当前工作隧道切换到所述保护隧道上传送; 当检测到、 或者根据接收到的所 述状态改变通告报文得知所述链路状态改变为链路或节点故障消失时, 则将 切换到所述保护隧道上传送的业务重新恢复到所述工作隧道上。
21、 如权利要求 20所述的节点, 其中, 所述业务切换模块还设置成: 当所述链路状态改变为链路或节点故障时 , 如果判断所述节点上入环的 业务的传送路径受所述链路状态改变的影响, 则将所述节点的状态改变为倒 换(Switch ) 态; 当所述链路状态改变为链路或节点故障消失时, 将所述节 点的状态由 Switch态改变为空闲 (Idle ) 态。
22、 如权利要求 18-21 中任一项所述的节点, 其中, 以环上业务的下环 节点为目的节点配置的基于共享路径的互为保护的工作隧道和保护隧道为: 沿顺时针或逆时针方向配置的从所述节点或其他节点的相邻节点到所述 节点或其他节点的所述工作隧道, 和沿所述工作隧道的相反方向配置的从所 述节点或其他节点的另一个相邻节点到所述节点或其他节点的所述保护隧道; 其中, 所述共享路径承载从所述环上一个或多个节点到同一个目的节点 的业务,承载所述共享路径的物理环网承载多个多点到点(MP2P )的共享路 径。
PCT/CN2012/077242 2011-07-20 2012-06-20 基于共享路径的环网隧道配置方法、业务切换方法及系统 WO2013010423A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110204020.7 2011-07-20
CN201110204020.7A CN102891787B (zh) 2011-07-20 2011-07-20 基于共享路径的环网隧道配置方法、业务切换方法及系统

Publications (1)

Publication Number Publication Date
WO2013010423A1 true WO2013010423A1 (zh) 2013-01-24

Family

ID=47535162

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077242 WO2013010423A1 (zh) 2011-07-20 2012-06-20 基于共享路径的环网隧道配置方法、业务切换方法及系统

Country Status (2)

Country Link
CN (1) CN102891787B (zh)
WO (1) WO2013010423A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099748A (zh) * 2014-05-23 2015-11-25 中兴通讯股份有限公司 一种业务隧道迁移方法及系统
CN105591898A (zh) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 基于共享隧道的隧道保护方法及装置
CN106304202B (zh) * 2015-05-18 2019-04-30 中兴通讯股份有限公司 基于隧道共享的带宽控制方法及装置
EP3323227B1 (en) * 2015-07-16 2020-06-03 Telefonaktiebolaget LM Ericsson (PUBL) Restoring an mpls ring network
CN107528759B (zh) * 2016-06-22 2021-10-08 中兴通讯股份有限公司 业务处理方法、业务出环节点及环网
CN107592251A (zh) * 2016-07-08 2018-01-16 中兴通讯股份有限公司 共享环跨环组网结构及跨环业务流转发的方法
CN110440391B (zh) * 2019-08-07 2020-10-27 珠海格力电器股份有限公司 环路网络保护方法、空调系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431459A (zh) * 2008-12-17 2009-05-13 烽火通信科技股份有限公司 一种传送多协议标签交换网络的环网保护方法
CN101483491A (zh) * 2008-01-11 2009-07-15 华为技术有限公司 共享保护环及其组播源路由保护方法和节点
CN101977141A (zh) * 2010-09-27 2011-02-16 南京邮电大学 一种基于mpls-tp的多播保护方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401712C (zh) * 2005-10-14 2008-07-09 杭州华三通信技术有限公司 以太网自动保护系统相切环的故障处理方法
JP2008131395A (ja) * 2006-11-21 2008-06-05 Nec Corp Rprネットワークシステム、rprノード装置、その冗長化方法、プログラム、記録媒体
CN101227370B (zh) * 2008-02-05 2011-01-19 中兴通讯股份有限公司 传送多协议标签交换共享保护环故障的处理方法
CN101594191B (zh) * 2008-05-27 2013-01-23 华为技术有限公司 共享链路互联环网保护方法、系统及互联节点

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483491A (zh) * 2008-01-11 2009-07-15 华为技术有限公司 共享保护环及其组播源路由保护方法和节点
CN101431459A (zh) * 2008-12-17 2009-05-13 烽火通信科技股份有限公司 一种传送多协议标签交换网络的环网保护方法
CN101977141A (zh) * 2010-09-27 2011-02-16 南京邮电大学 一种基于mpls-tp的多播保护方法

Also Published As

Publication number Publication date
CN102891787A (zh) 2013-01-23
CN102891787B (zh) 2017-10-10

Similar Documents

Publication Publication Date Title
JP7039707B2 (ja) ネットワークにおけるパケット伝送のための方法及びノード
Sharma et al. OpenFlow: Meeting carrier-grade recovery requirements
WO2013010423A1 (zh) 基于共享路径的环网隧道配置方法、业务切换方法及系统
US9722916B2 (en) Data-plane driven fast protection mechanism for MPLS pseudowire services
ES2363410T3 (es) Método, dispositivo y sistema para la conmutación de tráfico en ingeniería de tráfico de conmutación multiprotocolo por etiqueta.
WO2013010422A1 (zh) 基于共享路径的环网隧道配置方法、环网保护方法及系统
EP3151485A1 (en) Egress node protection in evpn all-active topology
EP2761829B1 (en) Point-to-point based multicast label distribution protocol local protection solution
EP2498454A1 (en) Method, device and system for processing service traffic based on pseudo wires
WO2008148296A1 (fr) Procédé de détection des anomalies, système de communication et routeur de commutation d'étiquettes
WO2013071801A1 (zh) 多协议标签交换环网的检测方法、装置及系统
CN109617803B (zh) 一种转发表项生成方法、装置及设备
CN102201985B (zh) 多协议标签交换传送技术环保护倒换方法及节点
WO2010045832A1 (zh) 用于以太环网的链路聚合组的保护方法及装置
WO2015120720A1 (zh) 信号劣化故障的处理方法及系统
WO2014206207A1 (zh) 一种路由撤销方法和网络设备
WO2015154603A1 (zh) 基于共享隧道的隧道保护方法及装置
WO2013040940A1 (zh) 环网的保护方法及装置
US9515923B2 (en) Method and device for processing interconnected ring in multi-protocol label switching
CN104702498B (zh) 一种通过协调保护减少设备间光连接数量的方法及装置
WO2011020257A1 (zh) 故障lsp信息通告的方法和装置
US20120269056A1 (en) Method, device, and system for protecting semi-ring network
CN102315972B (zh) 用于实现lsp倒换的方法和装置
CN102812750B (zh) 分组传送网络中故障处理方法、分组传送网络及节点
WO2013000384A1 (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: 12814431

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

Country of ref document: EP

Kind code of ref document: A1