WO2012171368A1 - Tunnel reestablishment method and network element - Google Patents

Tunnel reestablishment method and network element Download PDF

Info

Publication number
WO2012171368A1
WO2012171368A1 PCT/CN2012/072361 CN2012072361W WO2012171368A1 WO 2012171368 A1 WO2012171368 A1 WO 2012171368A1 CN 2012072361 W CN2012072361 W CN 2012072361W WO 2012171368 A1 WO2012171368 A1 WO 2012171368A1
Authority
WO
WIPO (PCT)
Prior art keywords
lsp
plane
resource
control block
state control
Prior art date
Application number
PCT/CN2012/072361
Other languages
French (fr)
Chinese (zh)
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 WO2012171368A1 publication Critical patent/WO2012171368A1/en

Links

Classifications

    • 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/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Definitions

  • the resource field of the current LSP needs to replace the resource plane of the associated LSP in the same tunnel.
  • the method also includes:
  • Step 104 After the tunnel first node receives the Resv message containing the S bit, the entire node may be considered
  • Step 200 Create a new LSP, and separate the signaling plane of the old LSP from the resource plane.
  • the step may include Step 201 - Step 205, as shown in FIG. 5:

Landscapes

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

Abstract

A tunnel reestablishment method and a network element. The method includes: a node in a tunnel label switching path (LSP) receiving a first path message, and if a path state control block of an old LSP within the same tunnel is found when establishing a path state control block for a new LSP, then a resource plane of the new LSP is applied, the old LSP having the ability to support the separation of the signalling plane and the resource plane. The above technical solution can improve the restoration and reestablishment efficiency of the tunnel, can determine the application of resources, and will not cause data flow loss if it is not possible to first establish and then dismantle the MBB.

Description

一种隧道重建的方法及网元  Method and network element for tunnel reconstruction
技术领域 Technical field
本发明涉及通讯领域, 尤其涉及多协议标签交换-流量工程(MPLS-TE, Multi-Protocol Label Switching-Traffic Engineering ) 隧道†灰复重建的方法及网 元。  The present invention relates to the field of communications, and in particular, to a method and a network element for multi-protocol label switching-traffic engineering (MPLS-TE, Multi-Protocol Label Switching-Traffic Engineering) tunnel † grey reconstruction.
背景技术 Background technique
流量工程( TE, Traffic Engineering )标签交换路径 (LSP, Label Switching Path)的创建釆用基于流量工程的资源预留协议 ( RS VP-TE , Resource Reservation Protocol-TE )信令协议进行交互, 同时通过提取信令中的对象参 数创建 TE隧道的资源控制平面。  The traffic engineering (TE, Traffic Engineering) label switching path (LSP) is created by using the RS VP-TE (Resource Reservation Protocol-TE) signaling protocol. The object parameters in the signaling are extracted to create a resource control plane of the TE tunnel.
如图 1所示, TE LSP中信令平面用路径状态控制块(PSB, Path State Block )来表示 LSP, PSB的拆除会导致 LSP资源控制平面的标签、 带宽等 资源的释放。  As shown in Figure 1, the signaling plane in the TE LSP uses the Path State Block (PSB) to indicate the LSP. The removal of the PSB will result in the release of resources such as labels and bandwidth on the LSP resource control plane.
在 RFC3209中描述了一种 TE隧道的优化重路由方式, 称之为先建后拆 ( MBB, Make-Before-Break )。 但是当隧道进行恢复重建的时候, 往往需要 首先拆除并释放旧的资源后再尝试进行新的路径资源的建立与预留。 如图 2 所示, 传统的隧道恢复重建方式会先通过路径拆除 (pathtear ) 消息将旧 LSP(tunnell :lspl)拆除, 然后再创建新 LSP (tunnel l :lsp2)。  An optimized rerouting method for TE tunnels is described in RFC 3209, which is called Make-Before-Break. However, when the tunnel is restored and rebuilt, it is often necessary to first dismantle and release the old resources before attempting to establish and reserve new path resources. As shown in Figure 2, the traditional tunnel recovery and reconstruction method first removes the old LSP (tunnell:lspl) through the pathtear message and then creates a new LSP (tunnel l:lsp2).
由于网络流量的复杂性和不可确定性, 当旧 LSP的资源控制平面将带宽 资源释放之后, tunnel (隧道) 所占有的资源也不复存在, 这时当新 LSP经 过与旧 LSP相重合的节点及物理接口时,再次申请资源的时候存在不确定性, 有可能存在物理接口带宽资源被其他 tunnel申请。  Due to the complexity and uncertainty of the network traffic, when the resource control plane of the old LSP releases the bandwidth resources, the resources occupied by the tunnel (the tunnel) do not exist anymore. When the new LSP passes through the node that coincides with the old LSP. When the physical interface is used, there is uncertainty when applying for resources again. It is possible that physical interface bandwidth resources are applied by other tunnels.
同时由于网络健壮性的要求, 希望一条 tunnel能够尽可能快速地进行隧 道恢复重建。 在无法做到 MBB的情况下, 先拆除旧 LSP的资源控制平面无 疑会造成一部分数据流丟失。 发明内容 At the same time, due to the requirements of network robustness, it is hoped that a tunnel can perform tunnel recovery and reconstruction as quickly as possible. If the MBB cannot be implemented, first removing the resource control plane of the old LSP will undoubtedly cause some data streams to be lost. Summary of the invention
本发明要解决的技术问题是提供一种隧道重建的方法及网元, 可以提高 隧道恢复重建的效率。  The technical problem to be solved by the present invention is to provide a tunnel reconstruction method and a network element, which can improve the efficiency of tunnel restoration and reconstruction.
为了解决上述技术问题, 本发明釆用如下技术方案:  In order to solve the above technical problems, the present invention uses the following technical solutions:
一种隧道重建的方法, 包括:  A method of tunnel reconstruction includes:
隧道标签交换路径 (LSP ) 中的节点接收到第一路径消息后, 在创建新 LSP的路径状态控制块的过程中, 若查找到同一隧道内的旧 LSP的路径状态 控制块, 则申请新 LSP的资源平面,所述旧 LSP具有支持信令平面与资源平 面分离的能力。  After the node in the tunnel label switching path (LSP) receives the first path message, in the process of creating the path state control block of the new LSP, if the path state control block of the old LSP in the same tunnel is found, the new LSP is applied. The resource plane, the old LSP has the ability to support the separation of the signaling plane from the resource plane.
其中: 所述第一路径消息携带的管理状态对象的预留字段中设置有一比 特位,表示当前 LSP的资源平面需要替换同一个隧道内相关联的 LSP的资源 平面。  The resource field of the current LSP needs to replace the resource plane of the associated LSP in the same tunnel.
其中: 所述第一路径消息还携带记录旧 LSP标识的关联对象, 所述节点 是根据所述旧 LSP标识来查找旧 LSP的路径状态控制块的。  The first path message also carries an association object that records the old LSP identifier, and the node searches for the path state control block of the old LSP according to the old LSP identifier.
其中: 所述节点申请新 LSP的资源平面的步骤包括:  The step of the node requesting the resource plane of the new LSP includes:
所述节点从所述旧 LSP已经申请的资源平面中预留新 LSP所需的资源平 面, 若预留后旧 LSP已经申请的资源平面有剩余, 则释放剩余的资源平面。  The node reserves the resource plane required for the new LSP from the resource plane that has been applied for by the old LSP. If the resource plane that has been applied for by the old LSP remains, the remaining resource plane is released.
该方法还包括:  The method also includes:
预留新 LSP所需的资源平面之后,对旧 LSP的路径状态控制块设置表示 信令平面已经与资源平面分离的标识。  After the resource plane required for the new LSP is reserved, the path state control block of the old LSP is set to indicate that the signaling plane has been separated from the resource plane.
该方法还包括:  The method also includes:
所述节点接收到第二路径消息后, 根据所述第二路径消息的指示对对应 的 LSP的路径状态控制块进行标记,表示该路径状态控制块具有支持信令平 面与资源平面分离的能力, 其中, 所述第二路径消息携带的管理状态对象的 预留字段中设置有一比特位, 表示当前 LSP具备资源平面分离控制的能力。  After receiving the second path message, the node marks the path state control block of the corresponding LSP according to the indication of the second path message, indicating that the path state control block has the capability of supporting the separation of the signaling plane from the resource plane. The reserved field of the management state object carried by the second path message is set with a bit, indicating that the current LSP has the capability of resource plane separation control.
该方法还包括:  The method also includes:
所述节点接收到路径拆除消息后, 若检查到对应的路径状态控制块设置 了表示信令平面已经与资源平面分离的标识, 则仅拆除该路径状态控制块对 应的信令平面; 若检查到对应的路径状态控制块未设置表示信令平面已经与 资源平面分离的标识, 则拆除该路径状态控制块对应的信令平面, 同时释放 该路径状态控制块对应的资源平面。 After receiving the path removal message, the node checks the corresponding path state control block setting. If the identifier indicating that the signaling plane has been separated from the resource plane is removed, the signaling plane corresponding to the path state control block is removed. If the corresponding path state control block is not set, the identifier indicating that the signaling plane is separated from the resource plane is not set. Then, the signaling plane corresponding to the path state control block is removed, and the resource plane corresponding to the path state control block is released.
一种网元, 作为隧道标签交换路径 (LSP ) 中的节点, 包括创建模块和 资源处理模块, 其中:  A network element, as a node in a tunnel label switching path (LSP), includes a creating module and a resource processing module, where:
所述创建模块设置成: 接收到第一路径消息后, 创建新 LSP的路径状态 控制块;  The creating module is configured to: after receiving the first path message, create a path state control block of the new LSP;
所述资源处理模块设置成: 在所述创建模块创建新 LSP的路径状态控制 块的过程中, 若查找到同一隧道内的旧 LSP 的路径状态控制块, 则申请新 LSP的资源平面, 所述旧 LSP具有支持信令平面与资源平面分离的能力。  The resource processing module is configured to: apply for a resource plane of a new LSP, if the path state control block of the old LSP in the same tunnel is found in the process of creating the path state control block of the new LSP, The old LSP has the ability to support the separation of the signaling plane from the resource plane.
其中, 所述资源处理模块设置成按照以下方式申请新 LSP的资源平面: 从所述旧 LSP已经申请的资源平面中预留新 LSP所需的资源平面,若预 留后旧 LSP已经申请的资源平面有剩余, 则释放剩余的资源平面。  The resource processing module is configured to apply for the resource plane of the new LSP according to the following manner: Reserve the resource plane required for the new LSP from the resource plane that has been applied for by the old LSP, and if the reserved resource of the old LSP has been reserved If there is a remaining plane, the remaining resource planes are released.
其中, 所述资源处理模块还设置成:  The resource processing module is further configured to:
预留新 LSP所需的资源平面之后,对旧 LSP的路径状态控制块设置表示 信令平面已经与资源平面分离的标识。  After the resource plane required for the new LSP is reserved, the path state control block of the old LSP is set to indicate that the signaling plane has been separated from the resource plane.
该网元还包括标记模块, 其中:  The network element further includes a marking module, wherein:
所述标记模块设置成: 接收到第二路径消息后, 根据所述第二路径消息 的指示对对应的 LSP的路径状态控制块进行标记,表示该路径状态控制块支 持信令平面与资源平面分离的能力, 其中, 所述第二路径消息携带的管理状 态对象的预留字段中设置有一比特位,表示当前 LSP具备资源平面分离控制 的能力。  The marking module is configured to: after receiving the second path message, mark the path state control block of the corresponding LSP according to the indication of the second path message, indicating that the path state control block supports the separation of the signaling plane from the resource plane The capability, where the reserved field of the management state object carried by the second path message is set with a bit, indicating that the current LSP has the capability of resource plane separation control.
其中: 所述资源处理模块还设置成: 接收到路径拆除消息后, 若检查到 对应的路径状态控制块设置了表示信令平面已经与资源平面分离的标识, 则 仅拆除该路径状态控制块对应的信令平面; 若检查到对应的路径状态控制块 未设置表示信令平面已经与资源平面分离的标识, 则拆除该路径状态控制块 对应的信令平面, 同时释放该路径状态控制块对应的资源平面。 综上, 本发明提供一种隧道重建的方法及网元, 可以提高隧道恢复重建 的效率, 能够确定申请到资源, 在无法做到 MBB的情况下, 不会造成数据 流丟失。 附图概述 The resource processing module is further configured to: after receiving the path removal message, if the corresponding path state control block is set to indicate that the signaling plane is separated from the resource plane, only the path state control block is removed. If the corresponding path state control block is not set to indicate that the signaling plane has been separated from the resource plane, the signaling plane corresponding to the path state control block is removed, and the corresponding path state control block is released. Resource plane. In summary, the present invention provides a tunnel reconstruction method and a network element, which can improve the efficiency of tunnel restoration and reconstruction, and can determine the application to the resource. If the MBB cannot be implemented, the data stream will not be lost. BRIEF abstract
图 1为信令平面与资源平面的关系示意图;  1 is a schematic diagram of a relationship between a signaling plane and a resource plane;
图 2为传统的隧道恢复重建方式的示意图;  2 is a schematic diagram of a conventional tunnel recovery and reconstruction mode;
图 3为本发明实施例的网元的示意图;  3 is a schematic diagram of a network element according to an embodiment of the present invention;
图 4为本发明实施例的隧道重建的方法的流程图;  4 is a flowchart of a method for tunnel reconstruction according to an embodiment of the present invention;
图 5为本发明应用实例的隧道重建的方法的流程图。  FIG. 5 is a flowchart of a method for tunnel reconstruction according to an application example of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。 这些组合均在本发明的 保护范围内。  In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other. These combinations are all within the scope of the invention.
图 3为本发明实施例的网元的示意图, 如图 3所示, 当本实施例的网元 作为隧道 LSP中的节点时, 包括创建模块和资源处理模块, 其中:  FIG. 3 is a schematic diagram of a network element according to an embodiment of the present invention. As shown in FIG. 3, when the network element in this embodiment is used as a node in a tunnel LSP, the method includes a creation module and a resource processing module, where:
所述创建模块设置成: 接收到第一路径消息后, 创建新 LSP的路径状态 控制块;  The creating module is configured to: after receiving the first path message, create a path state control block of the new LSP;
所述资源处理模块设置成: 在所述创建模块创建新 LSP的路径状态控制 块的过程中, 若查找到同一隧道内的旧 LSP 的路径状态控制块, 则申请新 LSP的资源平面, 所述旧 LSP支持信令平面与资源平面分离的能力。  The resource processing module is configured to: apply for a resource plane of a new LSP, if the path state control block of the old LSP in the same tunnel is found in the process of creating the path state control block of the new LSP, The old LSP supports the ability of the signaling plane to be separated from the resource plane.
其中, 所述资源处理模块设置成按照以下方式申请新 LSP的资源平面: 从所述旧 LSP已经申请的资源平面中预留新 LSP所需的资源平面,若预留后 旧 LSP已经申请的资源平面有剩余, 则释放剩余的资源平面。 其中, 所述资源处理模块还设置成: 预留新 LSP所需的资源平面之后, 对旧 LSP的路径状态控制块设置表示信令平面已经与资源平面分离的标识。 The resource processing module is configured to apply for the resource plane of the new LSP according to the following manner: Reserve the resource plane required for the new LSP from the resource plane that has been applied for by the old LSP, and if the reserved resource of the old LSP has been reserved If there is a remaining plane, the remaining resource planes are released. The resource processing module is further configured to: after the resource plane required for the new LSP is reserved, set the identifier indicating that the signaling plane is separated from the resource plane to the path state control block of the old LSP.
其中, 所述资源处理模块还可以设置成: 接收到路径拆除消息后, 若检 查到对应的路径状态控制块设置了表示信令平面已经与资源平面分离的标识 , 则仅拆除该路径状态控制块对应的信令平面; 若检查到对应的路径状态控制 块未设置表示信令平面已经与资源平面分离的标识, 则拆除该路径状态控制 块对应的信令平面, 同时释放该路径状态控制块对应的资源平面。  The resource processing module may be further configured to: after receiving the path removal message, if the corresponding path state control block is set to indicate that the signaling plane has been separated from the resource plane, only the path state control block is removed. Corresponding signaling plane; if it is detected that the corresponding path state control block is not set to indicate that the signaling plane has been separated from the resource plane, the signaling plane corresponding to the path state control block is removed, and the path state control block is released Resource plane.
本实施例的网元还可以包括标记模块, 其中:  The network element of this embodiment may further include a marking module, where:
所述标记模块设置成: 接收到第二路径消息后, 根据第二路径消息的指 示对对应的 LSP的路径状态控制块进行标记,表示该路径状态控制块具备支 持信令平面与资源平面分离的能力, 其中, 第二路径消息携带的管理状态对 象的预留字段中定义一比特位,表示当前 LSP具备资源平面分离控制的能力。  The marking module is configured to: after receiving the second path message, mark the path state control block of the corresponding LSP according to the indication of the second path message, indicating that the path state control block has a separation of the supporting signaling plane and the resource plane. The capability, where the reserved field of the management state object carried by the second path message defines a bit, indicating that the current LSP has the capability of resource plane separation control.
图 4为本发明实施例的隧道重建的方法的流程图, 如图 4所示, 本实施 例的方法包括下面步骤:  FIG. 4 is a flowchart of a method for tunnel reconstruction according to an embodiment of the present invention. As shown in FIG. 4, the method in this embodiment includes the following steps:
S10、 隧道 LSP中的节点接收到第一路径消息后, 创建新 LSP的路径状 态控制块;  S10. After receiving the first path message, the node in the tunnel LSP creates a path state control block of the new LSP.
S20, 在创建新 LSP的路径状态控制块的过程中, 若查找到同一隧道内 的旧 LSP的路径状态控制块, 则申请新 LSP的资源平面, 所述旧 LSP支持 信令平面与资源平面分离的能力。 本发明实施例提出的隧道重建的方法, 通过扩展 RSVP 信令 S20: In the process of creating a path state control block of the new LSP, if the path state control block of the old LSP in the same tunnel is found, the resource plane of the new LSP is applied, and the old LSP supports the signaling plane and the resource plane. Ability. The method for tunnel reconstruction proposed by the embodiment of the present invention, by extending RSVP signaling
Admin— Status (管理状态)对象中的字段, 进行资源控制平面的独立控制。 The field in the Admin—Status object controls the resource control plane independently.
本实施例在现有 IETF标准中扩展了 RSVP信令中的 Admin— Statue对象 的 Reserved (预留) 字段, 定义了 3个新的 Bit位。  In this embodiment, the Reserved field of the Admin_Statue object in RSVP signaling is extended in the existing IETF standard, and three new Bit bits are defined.
扩展的 bit位称为:  The extended bit bits are called:
S位, 第 23 bit, 用于表示当前 LSP具备资源平面分离控制的能力; S bit, bit 23, used to indicate that the current LSP has the capability of resource plane separation control;
W位, 第 22bit, 用于表示当前 LSP的资源平面与信令平面已经分离;W bit, 22nd bit, used to indicate that the resource plane of the current LSP is separated from the signaling plane;
0位,第 21bit,用于表示当前 LSP的资源平面需要替换同一个隧道内相 关联的 LSP的资源平面。 同时需要使用 Association (关联)对象用于在新 LSP的 Path消息中记录 旧 LSP的标识 ( lspld ) 。 The 0 bit, the 21st bit, is used to indicate that the resource plane of the current LSP needs to replace the resource plane of the associated LSP in the same tunnel. You also need to use the Association object to record the identity of the old LSP ( lspld ) in the Path message of the new LSP.
本实施例包括下面步骤:  This embodiment includes the following steps:
步骤 100、 通告 LSP支持信令平面与资源控制平面分离的能力, 该步骤 可以包括步骤 101-104:  Step 100: The advertised LSP supports the capability of separating the signaling plane from the resource control plane. The step may include steps 101-104:
步骤 101、 隧道的首节点在发送的 Path 消息中携带了设置 S 位的 Admin— Status对象, 向下游通告 LSP的首节点具备了信令平面与资源控制平 面分离的能力;  Step 101: The first node of the tunnel carries the Admin_Status object with the S bit set in the sent Path message, and the downstream node of the LSP is notified that the signaling plane is separated from the resource control plane.
步骤 102、 LSP中的每一个节点在收到设置了 S位的 Path消息之后, 都 会在 PSB中记录该标记,表示本地的 LSP节点支持信令平面与资源控制平面 的分离控制;  Step 102: After receiving the Path message with the S bit set, each node in the LSP records the flag in the PSB, indicating that the local LSP node supports the separation control between the signaling plane and the resource control plane.
步骤 103、 LSP的 Resv (预留) 消息中同样需要携带有设置了 S位的 Admin— Status对象, 如果 Resv消息中包含 S位, 但是本地 PSB不含 S位标 记, 则丟弃 Resv消息, 并发送 PathErr (路径错误) 消息到隧道首节点;  Step 103: The Resv message of the LSP also needs to carry the Admin_Status object with the S bit set. If the Resv message includes the S bit, but the local PSB does not contain the S bit flag, the Resv message is discarded, and Send a PathErr (path error) message to the first node of the tunnel;
步骤 104、 当隧道首节点收到含有 S位的 Resv消息之后, 可以认为整个 Step 104: After the tunnel first node receives the Resv message containing the S bit, the entire node may be considered
LSP具备了信令平面与资源平面分离控制的能力。 The LSP has the ability to separate the signaling plane from the resource plane.
步骤 200、 创建新 LSP, 并将旧 LSP的信令平面与资源平面分离, 该步 骤可以包括步骤 201-步骤 205 , 如图 5所示:  Step 200: Create a new LSP, and separate the signaling plane of the old LSP from the resource plane. The step may include Step 201 - Step 205, as shown in FIG. 5:
步骤 201、当隧道的首节点在不使用 MBB的情况下恢复重建一条隧道的 时候, 首节点首先会发送一个新的 Path 消息, 该消息中除了携带 0位的 Admin— Status对象, 同时还携带了记录旧 LSP的 lspld的 Association对象; 步骤 202、 LSP路径中的节点在接收到含有 0位的 Path消息后, 在创建 新 PSB的同时,还需要根据 Association对象中的 lspld查找需要替换的旧 PSB; 如果无法找到旧 PSB,则表示新 LSP经过了旧 LSP不曾经过的节点,那 么新 PSB自行申请自己的资源平面;  Step 201: When the first node of the tunnel resumes rebuilding a tunnel without using MBB, the first node first sends a new Path message, which carries the Admin-Status object of 0 bits and carries Recording the association object of the lspld of the old LSP; Step 202: After receiving the Path message containing 0 bits, the node in the LSP path needs to find the old PSB to be replaced according to the lspld in the Association object while creating a new PSB; If the old PSB cannot be found, it indicates that the new LSP has passed the node that the old LSP has not passed, and the new PSB applies for its own resource plane.
如果找到的旧 PSB中间设置的 S位标记, 则表示旧 PSB的资源平面允 许与信令平面分离, 在这种情况下, 当前节点可以在预留新 LSP的资源平面 的同时, 可以释放旧 LSP的资源平面, 同时将新 LSP的转发设置为有效, 用 户可以自行定制资源替换的策略; If the S-bit flag set in the middle of the old PSB is found, it indicates that the resource plane of the old PSB is allowed to be separated from the signaling plane. In this case, the current node can release the old LSP while reserving the resource plane of the new LSP. Resource plane, and set the forwarding of the new LSP to be valid. Users can customize the strategy of resource replacement;
例如, 策略 1 : 新 LSP 自己申请资源平面, 不从旧 LSP的资源平面里面 预留。  For example, policy 1: The new LSP applies for the resource plane itself, and is not reserved from the resource plane of the old LSP.
策略 2: 新 LSP的资源平面必须从旧 LSP的资源平面中预留,如果旧 LSP 的资源平面不够, 则认为新 LSP创建失败, 失败原因是无法预留到需要的资 源, 等。  Policy 2: The resource plane of the new LSP must be reserved from the resource plane of the old LSP. If the resource plane of the old LSP is insufficient, the new LSP is considered to be failed. The reason for the failure is that the required resources cannot be reserved.
如果找到旧 PSB,但未设置的 S位标记, 新 PSB也自行申请自己的资源 平面。 If the old PSB is found but the S bit is not set, the new PSB also applies for its own resource plane.
确认旧 LSP的资源平面已经释放之后, 将旧 LSP对应的 PSB的 S位复 位, 同时设置 W位, 表示信令平面已经与资源平面分离。  After confirming that the resource plane of the old LSP has been released, the S bit of the PSB corresponding to the old LSP is reset, and the W bit is set, indicating that the signaling plane is separated from the resource plane.
步骤 203、 新 LSP的 Resv消息携带 S和 0位, 沿途将各个节点 PSB中 的 0位复位, 并重新设置 S位;  Step 203: The Resv message of the new LSP carries the S and 0 bits, resets the 0 bits in each node PSB along the way, and resets the S bit.
步骤 204、 隧道的首节点在收到含有 0位的 Resv消息之后, 就认为新 LSP已经完成了资源建立, 同时旧 LSP的资源平面已经释放, 这时首节点可 以发送 Pathtear消息拆除旧 LSP的信令平面;  Step 204: After receiving the Resv message containing 0 bits, the first node of the tunnel considers that the new LSP has completed the resource establishment, and the resource plane of the old LSP has been released. At this time, the first node may send a Pathtear message to tear down the old LSP. Plane
步骤 205、 LSP中的各个节点在收到 PathTear消息之后,查找对应的 PSB , 检查对应的 PSB是否设置了 W位, 若是, 则仅仅拆除信令平面, 不再释放 资源平面的资源;如果对应的 PSB没有设置 W位,则表示旧 LSP存在新 LSP 没有经过的节点, 旧 LSP的资源平面依然存在, 这时在拆除信令平面的同时 还需要释放资源平面。  Step 205: After receiving the PathTear message, each node in the LSP searches for the corresponding PSB, and checks whether the corresponding PSB has the W bit set. If yes, only the signaling plane is removed, and the resources of the resource plane are not released; If the WB is not set to the WB, the old LSP has a node where the new LSP does not pass. The resource plane of the old LSP still exists. At this time, the signaling plane needs to be released and the resource plane needs to be released.
在一优选实施例中,新 LSP的资源平面可以优先从旧 LSP的资源平面中 请,然后释放旧 LSP剩余部分资源,同时将旧 PSB的 S位复位,设置 W位, 表示旧 PSB仅仅保留信令状态。  In a preferred embodiment, the resource plane of the new LSP may be preferentially requested from the resource plane of the old LSP, and then the remaining resources of the old LSP are released, and the S bits of the old PSB are reset, and the W bit is set, indicating that the old PSB only retains the letter. Order status.
与现有技术相比较, 本发明用于在 TE隧道中增加信令平面与资源平面 的控制分离技术,资源平面的资源释放不再完全依靠信令平面状态块的拆除, 可以独立释放。 具体的优势体现在: 1、 不用担心传统隧道恢复重建中旧 LSP拆除后,接口回收 tunnel的带宽 资源, 当新 LSP创建时是否能够申请到的不确定性。 当每个节点可以设定不 同的资源替换策略,甚至可以直接将旧 LSP的资源交给新 LSP资源平面抢占 而不释放, 即新 LSP可以获得与旧 LSP相同的带宽、 标签等; Compared with the prior art, the present invention is used to add a control separation technology between a signaling plane and a resource plane in a TE tunnel. The resource release of the resource plane is no longer completely dependent on the removal of the signaling plane status block, and can be independently released. The specific advantages are reflected in: 1. Don't worry about the bandwidth of the tunnel after the old LSP is removed from the traditional tunnel. The interface can recover the uncertainty when the new LSP is created. When each node can set a different resource replacement policy, the resources of the old LSP can be directly preempted and released by the new LSP, that is, the new LSP can obtain the same bandwidth, label, and the like as the old LSP.
2、 提高了隧道恢复重建的时间, 传统隧道恢复重建需要等待旧 LSP将 资源平面完全拆除干净之后才能开始新 LSP的创建,本发明提供的方法可以 先创建新 LSP并直接替换旧 LSP资源平面, 并设置数据转发平面有效, 新 LSP创建成功即可认为隧道已经恢复, 旧 LSP信令平面的拆除已经不会影响 整个隧道恢复重建的时间。  2. The time for the restoration and reconstruction of the tunnel is improved. The reconstruction of the traditional tunnel needs to wait for the old LSP to completely remove the resource plane before the new LSP is created. The method provided by the present invention can create a new LSP and directly replace the old LSP resource plane. The data forwarding plane is valid. If the new LSP is created successfully, the tunnel is restored. The removal of the old LSP signaling plane does not affect the recovery time of the entire tunnel.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。 The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
综上, 本发明提供一种隧道重建的方法及网元, 可以提高隧道恢复重建 的效率, 能够确定申请到资源, 在无法做到 MBB的情况下, 不会造成数据 流丟失。 因此本发明具有很强的工业实用性。  In summary, the present invention provides a tunnel reconstruction method and a network element, which can improve the efficiency of tunnel restoration and reconstruction, and can determine the application to the resource. If the MBB cannot be achieved, the data stream will not be lost. Therefore, the present invention has strong industrial applicability.

Claims

权 利 要 求 书 Claim
1、 一种隧道重建的方法, 包括:  1. A method of tunnel reconstruction, comprising:
隧道标签交换路径 (LSP ) 中的节点接收到第一路径消息后, 在创建新 LSP的路径状态控制块的过程中, 若查找到同一隧道内的旧 LSP的路径状态 控制块, 则申请新 LSP的资源平面,所述旧 LSP具有支持信令平面与资源平 面分离的能力。  After the node in the tunnel label switching path (LSP) receives the first path message, in the process of creating the path state control block of the new LSP, if the path state control block of the old LSP in the same tunnel is found, the new LSP is applied. The resource plane, the old LSP has the ability to support the separation of the signaling plane from the resource plane.
2、 如权利要求 1所述的方法, 其中:  2. The method of claim 1 wherein:
所述第一路径消息携带的管理状态对象的预留字段中设置有一比特位, 表示当前 LSP的资源平面需要替换同一个隧道内相关联的 LSP的资源平面。  A reserved bit is set in the reserved field of the management state object carried in the first path message, indicating that the resource plane of the current LSP needs to replace the resource plane of the associated LSP in the same tunnel.
3、 如权利要求 2所述的方法, 其中:  3. The method of claim 2, wherein:
所述第一路径消息还携带记录旧 LSP标识的关联对象,所述节点是根据 所述旧 LSP标识来查找旧 LSP的路径状态控制块的。  The first path message also carries an association object that records an old LSP identifier, and the node searches for a path state control block of the old LSP according to the old LSP identifier.
4、 如权利要求 1所述的方法, 其中: 所述节点申请新 LSP的资源平面 的步骤包括:  4. The method of claim 1, wherein: the step of the node requesting a resource plane of a new LSP comprises:
所述节点从所述旧 LSP已经申请的资源平面中预留新 LSP所需的资源平 面, 若预留后旧 LSP已经申请的资源平面有剩余, 则释放剩余的资源平面。  The node reserves the resource plane required for the new LSP from the resource plane that has been applied for by the old LSP. If the resource plane that has been applied for by the old LSP remains, the remaining resource plane is released.
5、 如权利要求 4所述的方法, 该方法还包括:  5. The method of claim 4, further comprising:
预留新 LSP所需的资源平面之后,对旧 LSP的路径状态控制块设置表示 信令平面已经与资源平面分离的标识。  After the resource plane required for the new LSP is reserved, the path state control block of the old LSP is set to indicate that the signaling plane has been separated from the resource plane.
6、 如权利要求 1-5任一项所述的方法, 该方法还包括:  6. The method of any of claims 1-5, further comprising:
所述节点接收到第二路径消息后, 根据所述第二路径消息的指示对对应 的 LSP的路径状态控制块进行标记,表示该路径状态控制块具有支持信令平 面与资源平面分离的能力, 其中, 所述第二路径消息携带的管理状态对象的 预留字段中设置有一比特位, 表示当前 LSP具备资源平面分离控制的能力。  After receiving the second path message, the node marks the path state control block of the corresponding LSP according to the indication of the second path message, indicating that the path state control block has the capability of supporting the separation of the signaling plane from the resource plane. The reserved field of the management state object carried by the second path message is set with a bit, indicating that the current LSP has the capability of resource plane separation control.
7、 如权利要求 1-5任一项所述的方法, 该方法还包括:  7. The method of any of claims 1-5, further comprising:
所述节点接收到路径拆除消息后, 若检查到对应的路径状态控制块设置 了表示信令平面已经与资源平面分离的标识, 则仅拆除该路径状态控制块对 应的信令平面; 若检查到对应的路径状态控制块未设置表示信令平面已经与 资源平面分离的标识, 则拆除该路径状态控制块对应的信令平面, 同时释放 该路径状态控制块对应的资源平面。 After receiving the path removal message, if the node detects that the corresponding path state control block is set to indicate that the signaling plane has been separated from the resource plane, the node only removes the path state control block pair. If the corresponding path state control block is not set to indicate that the signaling plane has been separated from the resource plane, the signaling plane corresponding to the path state control block is removed, and the path state control block is released. Resource plane.
8、 一种网元, 作为隧道标签交换路径(LSP ) 中的节点, 包括创建模块 和资源处理模块, 其中:  8. A network element, as a node in a tunnel label switching path (LSP), includes a creating module and a resource processing module, where:
所述创建模块设置成: 接收到第一路径消息后, 创建新 LSP的路径状态 控制块;  The creating module is configured to: after receiving the first path message, create a path state control block of the new LSP;
所述资源处理模块设置成: 在所述创建模块创建新 LSP的路径状态控制 块的过程中, 若查找到同一隧道内的旧 LSP 的路径状态控制块, 则申请新 LSP的资源平面, 所述旧 LSP具有支持信令平面与资源平面分离的能力。  The resource processing module is configured to: apply for a resource plane of a new LSP, if the path state control block of the old LSP in the same tunnel is found in the process of creating the path state control block of the new LSP, The old LSP has the ability to support the separation of the signaling plane from the resource plane.
9、如权利要求 8所述的网元, 其中, 所述资源处理模块设置成按照以下 方式申请新 LSP的资源平面:  The network element according to claim 8, wherein the resource processing module is configured to apply for a resource plane of a new LSP according to the following manner:
从所述旧 LSP已经申请的资源平面中预留新 LSP所需的资源平面,若预 留后旧 LSP已经申请的资源平面有剩余, 则释放剩余的资源平面。  The resource plane required for the new LSP is reserved from the resource plane that has been applied for by the old LSP. If the resource plane that has been applied for by the old LSP remains, the remaining resource plane is released.
10、 如权利要求 9所述的网元, 其中, 所述资源处理模块还设置成: 预留新 LSP所需的资源平面之后,对旧 LSP的路径状态控制块设置表示 信令平面已经与资源平面分离的标识。  The network element according to claim 9, wherein the resource processing module is further configured to: after the resource plane required for the new LSP is reserved, setting the path state control block of the old LSP to indicate that the signaling plane has been associated with the resource The logo of the plane separation.
11、如权利要求 8-10任一项所述的网元,该网元还包括标记模块,其中: 所述标记模块设置成: 接收到第二路径消息后, 根据所述第二路径消息 的指示对对应的 LSP的路径状态控制块进行标记,表示该路径状态控制块支 持信令平面与资源平面分离的能力, 其中, 所述第二路径消息携带的管理状 态对象的预留字段中设置有一比特位,表示当前 LSP具备资源平面分离控制 的能力。  The network element according to any one of claims 8 to 10, further comprising a marking module, wherein: the marking module is configured to: after receiving the second path message, according to the second path message And indicating that the path state control block of the corresponding LSP is marked, indicating that the path state control block supports the capability of separating the signaling plane from the resource plane, where the reserved field of the management state object carried by the second path message is set The bit indicates that the current LSP has the capability of resource plane separation control.
12、 如权利要求 8-10任一项所述的网元, 其中:  12. The network element of any of claims 8-10, wherein:
所述资源处理模块还设置成: 接收到路径拆除消息后, 若检查到对应的 路径状态控制块设置了表示信令平面已经与资源平面分离的标识, 则仅拆除 该路径状态控制块对应的信令平面; 若检查到对应的路径状态控制块未设置 表示信令平面已经与资源平面分离的标识, 则拆除该路径状态控制块对应的 信令平面, 同时释放该路径状态控制块对应的资源平面。 The resource processing module is further configured to: after receiving the path removal message, if the corresponding path state control block is set to indicate that the signaling plane has been separated from the resource plane, only the letter corresponding to the path state control block is removed. If the corresponding path state control block is not set to indicate that the signaling plane has been separated from the resource plane, the corresponding path state control block is removed. The signaling plane releases the resource plane corresponding to the path state control block at the same time.
PCT/CN2012/072361 2011-06-17 2012-03-15 Tunnel reestablishment method and network element WO2012171368A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110163861.8A CN102223280B (en) 2011-06-17 2011-06-17 Method and network element for rebuilding tunnel
CN201110163861.8 2011-06-17

Publications (1)

Publication Number Publication Date
WO2012171368A1 true WO2012171368A1 (en) 2012-12-20

Family

ID=44779713

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072361 WO2012171368A1 (en) 2011-06-17 2012-03-15 Tunnel reestablishment method and network element

Country Status (2)

Country Link
CN (1) CN102223280B (en)
WO (1) WO2012171368A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223280B (en) * 2011-06-17 2017-04-12 中兴通讯股份有限公司 Method and network element for rebuilding tunnel
CN102710505B (en) * 2012-05-16 2015-03-25 中兴通讯股份有限公司 Method and system for deploying tunnel services
CN109428852B (en) * 2017-07-18 2023-09-15 中兴通讯股份有限公司 Communication tunnel endpoint address separation method, terminal, ePDG and storage medium
CN108768858B (en) * 2018-05-08 2021-08-03 烽火通信科技股份有限公司 MBB path calculation method and system based on bandwidth
CN110392318B (en) * 2019-07-29 2021-10-19 烽火通信科技股份有限公司 Method and system for checking control plane layer LSP (Label switched Path) in ASON (automatic switched optical network)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453411A (en) * 2007-11-28 2009-06-10 华为技术有限公司 Method, system and equipment for label switch path establishment
WO2010101504A1 (en) * 2009-03-05 2010-09-10 Telefonaktiebolaget L M Ericsson (Publ) Robust data transmission
CN102223280A (en) * 2011-06-17 2011-10-19 中兴通讯股份有限公司 Method and network element for rebuilding tunnel

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102132525B (en) * 2008-08-26 2013-10-23 阿尔卡特朗讯 Methods for establishing traffic connection and associated monitoring connection
CN101800700B (en) * 2010-02-10 2012-01-25 华为技术有限公司 LSP pre-deleting method based on MPLS and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453411A (en) * 2007-11-28 2009-06-10 华为技术有限公司 Method, system and equipment for label switch path establishment
WO2010101504A1 (en) * 2009-03-05 2010-09-10 Telefonaktiebolaget L M Ericsson (Publ) Robust data transmission
CN102223280A (en) * 2011-06-17 2011-10-19 中兴通讯股份有限公司 Method and network element for rebuilding tunnel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VASSEUR ET AL.: "Node Behavior upon Originating and Receiving Resource Reservation Protocol (RSVP) Path Error Messages", RFC5711, 31 January 2010 (2010-01-31), Retrieved from the Internet <URL:www.ietf.org> *

Also Published As

Publication number Publication date
CN102223280B (en) 2017-04-12
CN102223280A (en) 2011-10-19

Similar Documents

Publication Publication Date Title
WO2019141118A1 (en) Method, device and storage medium for creation of bi-directional segment routing tunnel
EP3363167B1 (en) Make-before-break mechanism for label switched paths
US7289429B2 (en) System and method to perform non-service effecting bandwidth reservation using a reservation signaling protocol
US8850014B2 (en) Handling failure of request message during set up of label switched path
WO2012171368A1 (en) Tunnel reestablishment method and network element
CN101640637B (en) Resource reservation protocol tunnel management method based on flow rate engineering and system thereof
WO2008037161A1 (en) A service restoring method and device
EP1786158A1 (en) A method for informing and negotiating the monitor ability of the label switching capability
US8238229B2 (en) Method and device for loop withdrawal in a MPLS network
EP2555469B1 (en) Fault protection method and device
US8676948B2 (en) Method for tunnel mapping
US9774492B2 (en) Message passing to assure deletion of label switched path
WO2009146652A1 (en) Connection transfer method and system in an automatically switched optical network
US20140198635A1 (en) Method of recovering fault in multilayer network and apparatus thereof
WO2012167843A1 (en) Method of and apparatus for configuring quality of service
WO2009076815A1 (en) Router and method of processing path message
US9369379B2 (en) System and method providing secured contexts in MPLS LFIB
WO2012075914A1 (en) Method and system for implementing point-to-multipoint label switched path protection
US7680028B1 (en) Method and apparatus for restarting RSVP processes in multiple network devices
WO2013135046A1 (en) Method and device for establishing multicast path
US20070201374A1 (en) Method and node equipment for guaranteeing service reliability in an end-to-end quality of service framework
WO2016134582A1 (en) Method and apparatus for realizing rsvp-te protocol message processing
WO2013033997A1 (en) Method and system for implementing cross reversal of control plane
CN112154628B (en) Tearing down label switched paths through a communication network
Bardalai et al. Network Working Group D. Li Request for Comments: 5495 J. Gao Category: Informational Huawei A. Satyanarayana Cisco

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

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

Country of ref document: EP

Kind code of ref document: A1