[go: up one dir, main page]

CN102136936B - Method, node and system for preventing control plane faults from influencing operation of forward data plane - Google Patents

Method, node and system for preventing control plane faults from influencing operation of forward data plane Download PDF

Info

Publication number
CN102136936B
CN102136936B CN201010557460.6A CN201010557460A CN102136936B CN 102136936 B CN102136936 B CN 102136936B CN 201010557460 A CN201010557460 A CN 201010557460A CN 102136936 B CN102136936 B CN 102136936B
Authority
CN
China
Prior art keywords
node
lsp
interconnection
cross
response message
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201010557460.6A
Other languages
Chinese (zh)
Other versions
CN102136936A (en
Inventor
郭丰
徐流胜
饶国义
杨利勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010557460.6A priority Critical patent/CN102136936B/en
Publication of CN102136936A publication Critical patent/CN102136936A/en
Application granted granted Critical
Publication of CN102136936B publication Critical patent/CN102136936B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种避免控制平面故障影响转发平面运行的方法、节点及系统,所述方法包括:在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点;接收首节点返回的响应消息;如果所述响应消息指示所述LSP的交叉连接与首节点保存的所述LSP的交叉连接不一致,则删除本地的LSP的交叉连接;否则,保留本地的LSP的交叉连接。利用本发明,可以避免在网络节点之间控制平面信息不一致,或者节点内部控制平面和转发平面信息不一致时,错误地中断正常的业务。

The present invention discloses a method, a node and a system for avoiding the failure of the control plane from affecting the operation of the forwarding plane. Send the cross-connection information to the head node of the LSP; receive a response message returned by the head node; if the response message indicates that the cross-connection of the LSP is inconsistent with the cross-connection of the LSP saved by the head node, delete the local The cross-connection of the LSP; otherwise, the cross-connection of the local LSP is reserved. Utilizing the present invention can prevent the normal business from being wrongly interrupted when the control plane information is inconsistent between network nodes, or when the information of the control plane and the forwarding plane inside the nodes are inconsistent.

Description

避免控制平面故障影响转发平面运行的方法、节点及系统Method, node and system for preventing control plane failure from affecting forwarding plane operation

技术领域technical field

本发明涉及通信技术领域,具体涉及一种避免控制平面故障影响转发平面运行的方法、节点及系统。The invention relates to the field of communication technology, in particular to a method, a node and a system for preventing a control plane failure from affecting the operation of a forwarding plane.

背景技术Background technique

随着硬件技术的不断进步,数据通信领域的设备内部部件已经分化出专用的控制模块和报文转发模块。其中,控制模块负责各种路由、信令、管理协议的运行,为了扩展性一般采用软件实现;报文转发模块负责分组报文的转发,为了保证效率一般是硬件实现。而且,控制模块和报文转发模块之间已经可以完全做到独立更换。在这种情况下,一般要求控制模块的故障不能影响转发模块的正常运行。With the continuous advancement of hardware technology, the internal components of equipment in the field of data communication have differentiated into dedicated control modules and message forwarding modules. Among them, the control module is responsible for the operation of various routing, signaling, and management protocols, and is generally implemented by software for scalability; the message forwarding module is responsible for forwarding packet messages, and is generally implemented by hardware to ensure efficiency. Moreover, the control module and the message forwarding module can be completely replaced independently. In this case, it is generally required that the failure of the control module cannot affect the normal operation of the forwarding module.

目前,将资源预留协议(RSVP,Resource ReSer Vation Protocol)及其扩展协议应用到传送领域后,在网络模型上更是明确地分化出了独立的控制平面(Control Plane)和转发平面(Forward Data Plane),甚至允许分别部署。在这种情况下,控制、转发分离已经是一个必须满足的要求,运营商明确要求控制平面的故障不能影响转发平面的正常运行。At present, after the Resource Reservation Protocol (RSVP, Resource ReSer Vation Protocol) and its extended protocol are applied to the transmission field, the network model is clearly divided into independent control plane (Control Plane) and forwarding plane (Forward Data Plane), and even allow for separate deployments. In this case, the separation of control and forwarding is already a requirement that must be met, and the operator clearly requires that the failure of the control plane cannot affect the normal operation of the forwarding plane.

网络中各节点对整个网络的拓扑和业务分布信息的获取都是通过其控制平面的路由、信令协议交互实现,而协议的交互不可避免有时间延迟,这种延时造成了各节点上控制平面数据的不一致。更为严重的情况是,某些节点上的控制平面协议会出现故障,比如控制板卡复位。在现有技术中,故障节点的控制平面和邻居节点恢复通信后,会从邻居节点的控制平面获取信息来恢复自身的控制平面数据,不仅会造成节点内部的控制平面和转发平面的数据不一致。而且,在无法确保控制平面数据正确的情况下,用控制平面数据更新转发交叉,将会导致转发平面交叉连接的错误删除,将不该中断的业务中断。Each node in the network obtains the topology and service distribution information of the entire network through the interaction of routing and signaling protocols on the control plane, and the protocol interaction inevitably has a time delay. This delay causes control on each node. Inconsistencies in flat data. In a more serious situation, the control plane protocol on some nodes will fail, such as a control board reset. In the prior art, after the control plane of the faulty node resumes communication with the neighbor node, it will obtain information from the control plane of the neighbor node to restore its own control plane data, which will not only cause data inconsistency between the control plane and the forwarding plane inside the node. Moreover, if the control plane data cannot be guaranteed to be correct, updating the forwarding cross connection with the control plane data will result in wrong deletion of the forwarding plane cross connection and interrupt services that should not be interrupted.

发明内容Contents of the invention

本发明实施例提供一种避免控制平面故障影响转发平面运行的方法、节点及系统,以避免在网络节点之间控制平面信息不一致,或者节点内部控制平面和转发平面信息不一致时,错误地中断正常的业务。Embodiments of the present invention provide a method, node and system for preventing control plane failures from affecting the operation of the forwarding plane, so as to avoid inconsistencies in the control plane information between network nodes, or when the internal control plane and forwarding plane information of the nodes are inconsistent, and the normal operation is interrupted by mistake. Business.

为此,本发明实施例提供如下技术方案:For this reason, the embodiment of the present invention provides following technical scheme:

一种避免控制平面故障影响转发平面运行的方法,包括:A method for preventing a control plane failure from affecting forwarding plane operation, comprising:

在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点;After the control plane fails, when the node needs to delete the cross-connection of the LSP of the local forwarding plane, the information of the cross-connection is sent to the head node of the LSP;

接收首节点返回的响应消息;Receive the response message returned by the first node;

如果所述响应消息指示所述LSP的交叉连接与首节点保存的所述LSP的交叉连接不一致,则删除本地的LSP的交叉连接;If the response message indicates that the cross-connection of the LSP is inconsistent with the cross-connection of the LSP saved by the head node, then delete the cross-connection of the local LSP;

否则,保留本地的LSP的交叉连接。Otherwise, keep the cross-connection of the local LSP.

一种节点,包括:A node comprising:

信息发送单元,用于在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点;The information sending unit is used to send the information of the cross-connection to the head node of the LSP when the node needs to delete the cross-connection of the LSP of the local forwarding plane after the failure of the control plane;

响应消息接收单元,用于接收首节点返回的响应消息;a response message receiving unit, configured to receive a response message returned by the first node;

交叉信息维护单元,用于在所述响应消息指示所述LSP的交叉连接与首节点保存的所述LSP的交叉连接不一致时,删除本地的LSP的交叉连接;否则,保留本地的LSP的交叉连接。A cross-connection information maintenance unit, configured to delete the cross-connection of the local LSP when the response message indicates that the cross-connection of the LSP is inconsistent with the cross-connection of the LSP saved by the head node; otherwise, retain the cross-connection of the local LSP .

一种首节点,包括:A head node, including:

信息接收单元,用于接收其它节点发送的交叉连接的信息;an information receiving unit, configured to receive cross-connect information sent by other nodes;

判断单元,用于确定所述交叉连接对应的LSP,并判断接收到的交叉连接与自己保存的所述LSP的交叉连接是否一致;A judging unit, configured to determine the LSP corresponding to the cross-connection, and judge whether the received cross-connection is consistent with the cross-connection of the LSP saved by itself;

响应单元,用于向所述其它节点返回响应消息,并在所述响应消息中指示所述交叉连接与自己保存的所述LSP的交叉连接是否一致,以使得所述其他节点在所述响应消息指示所述LSP的交叉连接与所述首节点保存的所述LSP的交叉连接不一致时,删除本地的LSP的交叉连接;在所述响应消息指示所述LSP的交叉连接与所述首节点保存的所述LSP的交叉连接一致时,保留本地的LSP的交叉连接。a response unit, configured to return a response message to the other node, and indicate in the response message whether the cross-connection is consistent with the cross-connection of the LSP saved by itself, so that the other node When indicating that the cross-connection of the LSP is inconsistent with the cross-connection of the LSP saved by the head node, delete the cross-connection of the local LSP; When the cross-connections of the LSPs are consistent, the cross-connections of the local LSPs are reserved.

一种避免控制平面故障影响转发平面运行的系统,包括:通过LSP相连的首节点和其它节点;A system for preventing control plane failure from affecting forwarding plane operation, including: a head node and other nodes connected through LSP;

所述其它节点,用于在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点,并在所述首节点返回的响应消息指示所述LSP的交叉连接与首节点保存的所述LSP的交叉连接不一致时,删除本地的LSP的交叉连接;The other nodes are used to send the information of the cross-connection to the head node of the LSP when the node needs to delete the cross-connection of the LSP of the local forwarding plane after a fault occurs in the control plane, and the When the returned response message indicates that the cross-connection of the LSP is inconsistent with the cross-connection of the LSP saved by the head node, delete the cross-connection of the local LSP;

首节点,用于接收所述其它节点发送的交叉连接的信息,确定所述交叉连接对应的LSP,并判断所述交叉连接与自己保存的所述LSP的交叉连接是否一致,并向所述其它节点返回响应消息,在所述响应消息中指示所述交叉连接与自己保存的所述LSP的交叉连接是否一致。The head node is configured to receive the cross-connection information sent by the other nodes, determine the LSP corresponding to the cross-connection, and judge whether the cross-connection is consistent with the cross-connection of the LSP saved by itself, and report to the other nodes The node returns a response message, and the response message indicates whether the cross-connection is consistent with the cross-connection of the LSP saved by itself.

本发明实施例避免控制平面故障影响转发平面运行的方法、节点及系统,在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,不是直接删除,而是首先将所述交叉连接的信息发送给所述LSP的首节点,根据首节点对所述交叉连接确认的结果再决定是否删除所述LSP的交叉连接。由于用首节点的本地保存的LSP的交叉连接作为确认标准,比上、下游相邻节点的数据更可靠,因此不仅可以避免在网络节点之间控制平面信息不一致,而且可以避免节点内部控制平面和转发平面信息不一致时,错误地中断正常的业务。In the embodiment of the present invention, the method, node and system for avoiding the failure of the control plane to affect the operation of the forwarding plane, after the failure of the control plane, when the node needs to delete the cross-connection of the LSP of the local forwarding plane, it does not directly delete, but first deletes the The cross-connection information is sent to the head node of the LSP, and whether to delete the cross-connection of the LSP is determined according to the confirmation result of the cross-connection by the head node. Since the cross-connection of the locally stored LSP of the head node is used as the confirmation standard, it is more reliable than the data of the upstream and downstream adjacent nodes, so it can not only avoid the inconsistency of control plane information between network nodes, but also avoid the internal control plane of the node. When the forwarding plane information is inconsistent, normal services are interrupted by mistake.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings that are required in the embodiments. Obviously, the accompanying drawings in the following description are only described in the present invention For some embodiments of the present invention, those skilled in the art can also obtain other drawings according to these drawings.

图1是本发明实施例避免控制平面故障影响转发平面运行的方法的流程图;Fig. 1 is the flow chart of the method for avoiding the control plane failure from affecting the operation of the forwarding plane according to the embodiment of the present invention;

图2是本发明实施例提供的一种节点的结构示意图;Fig. 2 is a schematic structural diagram of a node provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种节点的结构示意图;Fig. 3 is a schematic structural diagram of another node provided by an embodiment of the present invention;

图4是本发明实施例避免控制平面故障影响转发平面运行的系统的组网示意图;FIG. 4 is a schematic diagram of a network of a system that prevents a control plane failure from affecting forwarding plane operation according to an embodiment of the present invention;

图5是本发明实施例中LSP的示意图。Fig. 5 is a schematic diagram of an LSP in an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明实施例的方案,下面结合附图和实施方式对本发明实施例作进一步的详细说明。In order to enable those skilled in the art to better understand the solutions of the embodiments of the present invention, the embodiments of the present invention will be further described in detail below in conjunction with the drawings and implementations.

在现有的RSVP协议及其扩展协议中,相邻的两个节点正常情况下,会持续发送Hello消息,以通告对方自己处于正常工作状态。当某个节点的控制平面发生故障,比如控制板卡复位,此时,其相邻节点都会检测到Hello消息缺失,从而判断与该故障节点的通信中断。In the existing RSVP protocol and its extended protocol, under normal conditions, two adjacent nodes will continue to send Hello messages to notify each other that they are in a normal working state. When the control plane of a certain node fails, for example, the control board is reset, at this time, its adjacent nodes will detect the absence of the Hello message, thereby judging that the communication with the failed node is interrupted.

在这种情况下,通常采用平滑启动(GR,Graceful Restart)机制,故障节点通过相邻节点之间的控制平面GR过程,从相邻节点获取控制平面信息,恢复本节点控制平面数据,然后按照本节点控制平面数据更新故障节点本地的标签交换路径(LSP,label switched paths)交叉信息。In this case, the Graceful Restart (GR, Graceful Restart) mechanism is usually used. The faulty node obtains the control plane information from the adjacent node through the control plane GR process between adjacent nodes, restores the control plane data of the node, and then follows the The control plane data of this node updates the local label switched path (LSP, label switched paths) cross information of the failed node.

GR是一种旨在使主要的路由协议以及多协议标签交换(MPLS,Multi-Protocol Label Switching)信令协议重启的影响最小化的机制,其目的是尽量减少路由器重启或计算需要重路由的服务导致的路由抖动,减少路由计算资源和网络带宽资源的浪费。GR is a mechanism designed to minimize the impact of restarting the main routing protocol and Multi-Protocol Label Switching (MPLS, Multi-Protocol Label Switching) signaling protocol. Its purpose is to minimize router restart or computing services that require rerouting The resulting routing jitter reduces the waste of routing computing resources and network bandwidth resources.

在上述情况下,相邻节点会进入GR状态,在一段时间(称之为GR时间)内等待故障节点恢复控制平面的通信。在现有技术中,后续会有两种情况:In the above cases, the adjacent nodes will enter the GR state and wait for the faulty node to resume the communication of the control plane within a period of time (called GR time). In the existing technology, there will be two situations in the follow-up:

(1)当GR时间结束后,相邻节点还没有完成和故障节点的控制平面的通信,则相邻节点会删除自己保留的LSP交叉连接。(1) When the GR time ends and the adjacent node has not completed the communication with the control plane of the faulty node, the adjacent node will delete the LSP cross-connection reserved by itself.

(2)当GR时间结束前,相邻节点和故障节点的控制平面恢复了通信。此时,故障节点与相邻节点交互信息,恢复其控制平面的LSP交叉连接。一般情况下,相邻节点上的数据可以保证故障节点恢复到其故障前的状态。但是也存在某些特殊情况,相邻节点上的数据已经发生变化,故障节点从相邻节点恢复的控制平面LSP交叉连接和本地转发表中的LSP交叉连接不一致;更特殊的情况是相邻节点也出现控制平面的故障,根本无法提供数据给故障节点用以恢复控制平面的LSP交叉连接。这时,故障节点会采用武断的方式,直接用其并不可靠的控制平面数据更新转发平面的LSP交叉连接。(2) Before the GR time ends, the control plane of the adjacent node and the faulty node resumes communication. At this time, the faulty node exchanges information with the adjacent node, and restores the LSP cross-connection of its control plane. In general, the data on adjacent nodes can ensure that the failed node recovers to its pre-failure state. But there are also some special cases, the data on the adjacent node has changed, and the control plane LSP cross-connection restored by the faulty node from the adjacent node is inconsistent with the LSP cross-connection in the local forwarding table; the more special case is that the adjacent node There is also a fault in the control plane, and data cannot be provided to the faulty node at all to restore the LSP cross-connection of the control plane. At this time, the faulty node will use an arbitrary method to directly update the LSP cross-connection of the forwarding plane with its unreliable control plane data.

由于在上述第(1)种情况下,相邻节点删除自己保留的LSP交叉连接所基于的前提是假设故障节点的控制平面通信没有恢复,其转发一定是故障的,或者不论其转发是否故障,都是可以不予保持的。但这种假设是有问题的,因为故障节点的转发平面可能是正常的,业务根本在正常使用,只是控制平面出现了故障。因此,在这种情况下,相邻节点可以不用删除自己保留的LSP交叉连接。In the case of (1) above, the premise for the adjacent node to delete the LSP cross-connection reserved by itself is to assume that the control plane communication of the faulty node has not been restored, and its forwarding must be faulty, or regardless of whether its forwarding is faulty, All can not be maintained. But this assumption is problematic, because the forwarding plane of the faulty node may be normal, and the business is basically in normal use, but the control plane is faulty. Therefore, in this case, the adjacent node does not need to delete the LSP cross-connection reserved by itself.

而在上述第(2)种情况下,故障节点恢复通信后,由于其得到的控制平面数据并非可靠,因此,在这种情况下,故障节点用不可靠的控制平面数据更新转发平面的LSP交叉连接时,可能会错误地删除某些LSP交叉连接。In the above case (2), after the faulty node resumes communication, the control plane data obtained by the faulty node is not reliable. Therefore, in this case, the faulty node uses the unreliable control plane data to update the LSP crossover of the forwarding plane. When connecting, some LSP cross-connects may be deleted by mistake.

本发明实施例避免控制平面故障影响转发平面运行的方法、节点及系统,针对上述这些情况,在控制平面出现异常,需要删除LSP交叉连接时,对需要删除的LSP交叉连接的信息发送给首节点进行一致性确认,以避免错误删除LSP交叉连接。In the embodiment of the present invention, the method, node and system for avoiding the failure of the control plane from affecting the operation of the forwarding plane, in view of the above situations, when the control plane is abnormal and the LSP cross-connection needs to be deleted, the information of the LSP cross-connection to be deleted is sent to the head node Consistency confirmation is performed to avoid mistaken deletion of LSP cross-connects.

需要说明的是,在本发明实施例中,所述节点是指网络中的一个具备MPLS交换能力的网元,该节点包括控制平面信息和转发平面信息。其中:It should be noted that, in the embodiment of the present invention, the node refers to a network element with MPLS switching capability in the network, and the node includes control plane information and forwarding plane information. in:

控制平面信息包括:路径状态控制块(PSB,Path Status Control Block)和预留状态控制块(RSB,ReSerVation Status Control Block)。在节点上,每一条LSP都会维护一个PSB和一个RSB,记录着一条LSP的网络层次信息,主要包括:Control plane information includes: Path Status Control Block (PSB, Path Status Control Block) and Reservation Status Control Block (RSB, ReSerVation Status Control Block). On the node, each LSP maintains a PSB and an RSB, recording the network level information of an LSP, mainly including:

A、LSP的源、宿节点标识,LSP在源节点上的索引号,实例号,这些信息可以在网络中唯一标识一条LSP。A. The source and sink node identifiers of the LSP, the index number of the LSP on the source node, and the instance number, these information can uniquely identify an LSP in the network.

B、LSP的抢占优先级,带宽,路由约束,路径记录,上下游标签值等参数,这些参数对报文的转发行为起着关键作用。B. Parameters such as LSP preemption priority, bandwidth, routing constraints, path records, upstream and downstream label values, etc., these parameters play a key role in the packet forwarding behavior.

转发平面信息包括交叉连接,每一个LSP都会有一个对应的交叉连接。交叉连接是报文转发的依据,其内容包括:入接口,入标签,出接口,出标签,优先级,带宽等参数。The forwarding plane information includes a cross-connect, and each LSP has a corresponding cross-connect. Cross-connection is the basis for message forwarding, and its content includes: incoming interface, incoming label, outgoing interface, outgoing label, priority, bandwidth and other parameters.

由此可见,控制平面信息是一个网络级的信息,描述了LSP的网络层面特性,转发平面的信息是一个节点级的信息,描述了LSP在本节点上的转发行为。It can be seen that the control plane information is network-level information, which describes the network-level characteristics of the LSP, and the forwarding plane information is node-level information, which describes the forwarding behavior of the LSP on the local node.

如图1所示,是本发明实施例避免控制平面故障影响转发平面运行的方法的流程图,包括以下步骤:As shown in Figure 1, it is a flow chart of the method for avoiding the control plane failure from affecting the operation of the forwarding plane according to the embodiment of the present invention, including the following steps:

步骤101,在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点。Step 101 , when the node needs to delete the cross-connection of the LSP of the local forwarding plane after the failure of the control plane, send the information of the cross-connection to the head node of the LSP.

所述交叉连接的信息主要包括网络层面的信息,比如:首节点,末节点,LSP索引,LSP实例等。对于一条给定的LSP,这些信息在其经过的所有节点上是相同的。The cross-connect information mainly includes information at the network level, such as: head node, end node, LSP index, LSP instance, and the like. For a given LSP, the information is the same on all the nodes it passes through.

步骤102,接收首节点返回的响应消息。Step 102, receiving a response message returned by the head node.

首节点接收到所述交叉连接的信息后,确定该交叉连接对应的LSP,然后判断所述交叉连接与首节点保存的所述LSP的交叉连接是否一致,并将判断结果通过响应消息返回给所述本节点。比如,可以在所述响应消息中携带用于指示所述交叉连接与首节点保存的所述LSP的交叉连接是否一致的指示信息。After receiving the cross-connection information, the head node determines the LSP corresponding to the cross-connection, then judges whether the cross-connection is consistent with the cross-connection of the LSP saved by the head node, and returns the judgment result to the Describe this node. For example, indication information for indicating whether the cross-connection is consistent with the cross-connection of the LSP saved by the head node may be carried in the response message.

需要说明的是,首节点在接收到所述交叉连接的信息后,如果首节点自身的状态不是正常状态,比如首节点正在复位后的重启过程中,则可以丢弃收到的信息,待自己状态恢复正常后,重新收到所述本节点重传的交叉连接的信息后再进行响应。It should be noted that after the first node receives the cross-connection information, if the first node's own state is not normal, for example, the first node is in the process of restarting after reset, it can discard the received information and wait for its own status. After returning to normal, the node responds after receiving the cross-connection information retransmitted by the local node again.

步骤103,判断所述响应消息是否指示所述交叉连接与首节点保存的所述LSP的交叉连接是否不一致;如果是,则执行步骤104;否则,执行步骤105。Step 103, judging whether the response message indicates that the cross-connection is inconsistent with the cross-connection of the LSP saved by the head node; if yes, go to step 104; otherwise, go to step 105.

步骤104,删除本地的LSP的交叉连接。Step 104, delete the cross-connection of the local LSP.

步骤105,保留本地的LSP的交叉连接。Step 105, reserve the cross-connection of the local LSP.

需要说明的是,所述控制平面出现故障可以是本节点控制平面出现故障,也可以是其它节点比如相邻节点控制平面出现故障,从而引起本节点需要删除本地转发平面的LSP的交叉连接的情况。It should be noted that the failure of the control plane may be the failure of the control plane of this node, or the failure of the control plane of other nodes such as adjacent nodes, which causes the situation that the node needs to delete the cross-connection of the LSP of the local forwarding plane .

上述过程可应用于网络中除首节点之外的任何节点,而且,确定需要删除本地的LSP的交叉连接的场景可以是前面提到的两种情况,当然,也可以是在其他场景需要删除本地的LSP的交叉连接的情况,对此本发明实施例不做限定。也就是说,具体何时需要删除本地的LSP的交叉连接、以及具体删除哪些LSP的交叉连接的确定等,都可以按照现有协议中的处理方式进行。The above process can be applied to any node in the network except the first node. Moreover, the scenario where it is determined that the cross-connection of the local LSP needs to be deleted can be the two cases mentioned above. Of course, it can also be that the local LSP needs to be deleted in other scenarios. The situation of the cross-connection of the LSP, which is not limited in this embodiment of the present invention. That is to say, when it is necessary to delete the cross-connection of the local LSP, and to determine which cross-connection of LSPs to delete, etc., can be performed according to the processing method in the existing protocol.

另外,所述本节点根据首节点的响应消息,删除本地的LSP的交叉连接后,还要向下游节点发送删除对应LSP的交叉连接的信令消息,具体过程与现有技术相同,在此不再赘述。In addition, after the local node deletes the cross-connection of the local LSP according to the response message from the head node, it also sends a signaling message to the downstream node to delete the cross-connection of the corresponding LSP. Let me repeat.

在上述步骤101中,将所述交叉连接的信息发送给首节点时,可以通过设定专用消息来发送。In the above step 101, when sending the cross-connection information to the head node, it may be sent by setting a dedicated message.

比如,可以向所述LSP的首节点发送交叉确认请求消息,在所述交叉确认请求消息中携带所述交叉连接的信息。For example, a cross-confirmation request message may be sent to the head node of the LSP, and the cross-connection information is carried in the cross-confirmation request message.

根据应用环境的不同,本节点需要删除的本地的LSP的交叉连接可能会有一个或多个,在需要删除的本地的LSP的交叉连接有多个的情况下,为了减轻发送交叉连接的信息对网络正常通信的压力,所述本节点可以将多个交叉连接的信息携带在一个交叉确认请求消息中发送,前提是这些交叉连接对应的LSP的首节点是同一个。Depending on the application environment, there may be one or more cross-connections of the local LSP that the node needs to delete. Due to the pressure of normal network communication, the local node can send the information of multiple cross-connections in one cross-confirmation request message, provided that the head nodes of the LSPs corresponding to these cross-connections are the same.

另外,为了保证消息发送的可靠性,在交叉确认请求消息发送时,可以采用重传确认机制,即如果本节点在预定时间内没有收到首节点返回的响应消息,则重新发送所述交叉确认请求消息。重传次数可根据需要确定,比如2次。所述重传确认机制的实现与现有技术中类似,在此不再详细描述。In addition, in order to ensure the reliability of message sending, when sending the cross-confirmation request message, a retransmission confirmation mechanism can be adopted, that is, if the local node does not receive the response message returned by the first node within a predetermined time, the cross-confirmation will be resent request message. The number of retransmissions may be determined as required, for example, 2 times. The implementation of the retransmission confirmation mechanism is similar to that in the prior art, and will not be described in detail here.

所述交叉确认请求消息可以有多种结构形式,比如,可以采用以下表1所示结构。The cross-confirmation request message may have various structures, for example, the structure shown in Table 1 below may be adopted.

表1:Table 1:

其中,各字段的含义如下:Among them, the meaning of each field is as follows:

Msg_Length,消息长度,单位为字节;Msg_Length, message length, in bytes;

Msg_Type=60;Msg_Type = 60;

Version=01;Version=01;

Msg_ID,消息标识,用来在重传和确认时使用;Msg_ID, message ID, used for retransmission and confirmation;

Lsp_XC_Object:LSP交叉信息。Lsp_XC_Object: LSP cross information.

相应地,在上述步骤102中,首节点返回的响应消息也可以有多种结构形式。比如,与上述表1所示交叉确认请求消息相对应,所述响应消息可以采用以下表2所示结构。Correspondingly, in the above step 102, the response message returned by the head node may also have various structural forms. For example, corresponding to the cross-confirmation request message shown in Table 1 above, the response message may adopt the structure shown in Table 2 below.

表2:Table 2:

其中,各字段的含义如下:Among them, the meaning of each field is as follows:

Msg_Length,消息长度,单位为字节。Msg_Length, message length, in bytes.

Msg_Type=61;Msg_Type = 61;

Version=01;Version=01;

Msg_ID:消息标识,用来在重传和确认时使用;Msg_ID: Message ID, used for retransmission and confirmation;

Lsp_XC_Type:0表示一致交叉,1表示不一致交叉。Lsp_XC_Type: 0 means consistent crossing, 1 means inconsistent crossing.

Len:一致交叉和不一致交叉各在消息中占用的长度。Len: The lengths of consistent crossover and inconsistent crossover in the message.

Lsp_XC_Object:交叉信息。Lsp_XC_Object: cross information.

需要说明的是,上述结构只是一种具体举例,本发明实施例并不限定所述交叉确认请求消息的具体结构。当然,也可以采用其他专用消息。It should be noted that the above structure is only a specific example, and this embodiment of the present invention does not limit the specific structure of the cross-confirmation request message. Of course, other dedicated messages may also be used.

本发明实施例避免控制平面故障影响转发平面运行的方法,在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,不是直接删除,而是首先将所述交叉连接的信息发送给所述LSP的首节点,根据首节点对所述交叉连接确认的结果再决定是否删除所述LSP的交叉连接。因为不论是用户侧呼叫发起建立的LSP的交叉连接,还是网管配置下发的LSP的交叉连接,首节点上总是保留着最可靠的LSP的交叉连接的数据。因此,用首节点的数据作为确认标准,比根据上、下游相邻节点的数据确认更可靠。The embodiment of the present invention prevents the control plane failure from affecting the operation of the forwarding plane. After the control plane fails, when the node needs to delete the cross-connection of the LSP of the local forwarding plane, it does not delete it directly, but first deletes the cross-connection information It is sent to the head node of the LSP, and then decides whether to delete the cross-connection of the LSP according to the confirmation result of the cross-connection by the head node. Because whether it is the cross-connection of the LSP established by the user-side call initiation or the cross-connection of the LSP issued by the network management configuration, the head node always retains the data of the most reliable cross-connection of the LSP. Therefore, using the data of the head node as the confirmation standard is more reliable than confirming based on the data of the upstream and downstream adjacent nodes.

在网络中,如果某节点仅仅是控制平面出现异常,而转发平面正常时,使用本发明实施例避免控制平面故障影响转发平面运行的方法,可以保证控制平面的故障不影响转发平面的正常使用,提升了转发平面的可靠性。不仅可以避免在网络节点之间控制平面信息不一致,而且在节点上出现控制平面和转发平面LSP的交叉连接不一致时,可以快速、准确地检测和清除不一致的LSP的交叉连接,保障网络上的资源可用,并可避免错误删除LSP的交叉连接,进而避免了中断正常业务。In the network, if a certain node is only abnormal in the control plane and the forwarding plane is normal, using the method of the embodiment of the present invention to prevent the failure of the control plane from affecting the operation of the forwarding plane can ensure that the failure of the control plane does not affect the normal use of the forwarding plane. Improve the reliability of the forwarding plane. Not only can avoid the inconsistency of control plane information between network nodes, but also can quickly and accurately detect and clear the inconsistent cross-connection of LSP when there is inconsistency in the cross-connection of control plane and forwarding plane LSP on the node, so as to ensure the resources on the network available, and can avoid mistakenly deleting the cross-connection of the LSP, thereby avoiding the interruption of normal services.

在MPLS网络包括其扩展协议GMPLS、MPLS-TP网络中,利用本发明实施例的方法,可以支持网络中多节点控制平面同时复位操作,提升了网络的升级、维护效率。In the MPLS network including its extension protocol GMPLS and MPLS-TP network, the method of the embodiment of the present invention can support the simultaneous reset operation of multi-node control planes in the network, and improve the upgrading and maintenance efficiency of the network.

比如:一个有2000个节点组成的网络要升级软件版本,如果利用传统的GR机制,要求相邻的节点不能同时复位,这就要求节点的复位必须是串行进行。而利用本发明实施例的方法,由于相邻节点控制平面同时复位,不会影响转发平面的运行,因此在各节点软件加载完成后,可以并行地复位所有节点,提高网络的升级效率。For example, if a network consisting of 2,000 nodes needs to upgrade the software version, if the traditional GR mechanism is used, it is required that adjacent nodes cannot be reset at the same time, which requires that the reset of nodes must be performed serially. With the method of the embodiment of the present invention, since the control planes of adjacent nodes are reset at the same time, the operation of the forwarding plane will not be affected. Therefore, after the software loading of each node is completed, all nodes can be reset in parallel to improve the network upgrade efficiency.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如:ROM/RAM、磁碟、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage Media, such as: ROM/RAM, disk, CD, etc.

相应地,本发明实施例还提供一种节点,如图2所示,是该节点的一种结构示意图。Correspondingly, an embodiment of the present invention also provides a node, as shown in FIG. 2 , which is a schematic structural diagram of the node.

在该实施例中,所述节点200包括:In this embodiment, the node 200 includes:

信息发送单元201,用于在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点;The information sending unit 201 is configured to send the information of the cross-connection to the head node of the LSP when the node needs to delete the cross-connection of the LSP of the local forwarding plane after a fault occurs in the control plane;

响应消息接收单元202,用于接收首节点返回的响应消息;A response message receiving unit 202, configured to receive a response message returned by the head node;

交叉信息维护单元203,用于在所述响应消息指示所述LSP的交叉连接与首节点保存的所述LSP的交叉连接不一致时,删除本地的LSP的交叉连接;否则,保留本地的LSP的交叉连接。The cross-connection information maintenance unit 203 is configured to delete the cross-connection of the local LSP when the response message indicates that the cross-connection of the LSP is inconsistent with the cross-connection of the LSP saved by the head node; otherwise, keep the cross-connection of the local LSP connect.

在具体应用中,所述信息发送单元201,可以向首节点发送交叉确认请求消息,将所述交叉连接的信息携带在所述确认请求消息中。而且,如果需要,可以在所述交叉确认请求消息中同时携带多个需要删除的交叉连接的信息,所述多个交叉连接对应的LSP的首节点相同。而且,所述确认请求消息可以采用重传确认机制发送,比如所述信息发送单元201在所述响应消息接收单元202在预定时间内没有收到首节点返回的响应消息时,重新发送所述交叉确认请求消息。In a specific application, the information sending unit 201 may send a cross-confirmation request message to the head node, and carry the information of the cross-connection in the confirmation request message. Moreover, if necessary, the cross-confirmation request message may carry information of multiple cross-connections to be deleted at the same time, and the head nodes of the LSPs corresponding to the multiple cross-connections are the same. Moreover, the confirmation request message may be sent using a retransmission confirmation mechanism. For example, the information sending unit 201 resends the crossover Confirm the request message.

当然,所述信息发送单元201也可以通过其他专用消息将所述交叉连接的信息发送给首节点。具体可参照前面本发明实施例避免控制平面故障影响转发平面运行的方法中的描述,在此不再详细说明。Certainly, the information sending unit 201 may also send the information of the cross-connection to the head node through other dedicated messages. For details, reference may be made to the description in the method for preventing a control plane failure from affecting the operation of the forwarding plane in the embodiment of the present invention, and no further details are given here.

本发明实施例的节点,在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,不是直接删除,而是首先将所述交叉连接的信息发送给所述LSP的首节点,根据首节点对所述交叉连接确认的结果再决定是否删除所述LSP的交叉连接,从而既避免了节点内部的控制平面和转发平面的数据不一致,又避免了错误删除LSP的交叉连接,中断正常业务。In the node of the embodiment of the present invention, after the control plane fails, when the node needs to delete the cross-connection of the LSP of the local forwarding plane, it does not delete it directly, but first sends the information of the cross-connection to the head node of the LSP , and then decide whether to delete the cross-connection of the LSP according to the confirmation result of the cross-connection by the head node, thereby avoiding the data inconsistency between the control plane and the forwarding plane inside the node, and avoiding the mistaken deletion of the cross-connection of the LSP, interrupting normal business.

相应地,本发明实施例还提供了另一种节点,如图3所示,是该节点的一种结构示意图。Correspondingly, the embodiment of the present invention also provides another node, as shown in FIG. 3 , which is a schematic structural diagram of the node.

在该实施例中,所述节点300包括:In this embodiment, the node 300 includes:

信息接收单元301,用于接收其它节点发送的交叉连接的信息;An information receiving unit 301, configured to receive cross-connect information sent by other nodes;

判断单元302,用于确定所述交叉连接对应的LSP,并判断接收到的交叉连接与自己保存的所述LSP的交叉连接是否一致;A judging unit 302, configured to determine the LSP corresponding to the cross-connection, and judge whether the received cross-connection is consistent with the cross-connection of the LSP saved by itself;

响应单元303,用于向所述其它节点返回响应消息,并在所述响应消息中指示所述交叉连接与自己保存的所述LSP的交叉连接是否一致。The response unit 303 is configured to return a response message to the other node, and indicate in the response message whether the cross-connection is consistent with the cross-connection of the LSP saved by itself.

所述响应消息可以根据需要,采用不同的结构形式,具体可参照前面的描述。The response message may adopt different structural forms as required, and for details, refer to the foregoing description.

相应地,本发明实施例还提供一种避免控制平面故障影响转发平面运行的系统,如图4所示,是该系统的一种结构示意图。Correspondingly, the embodiment of the present invention also provides a system for avoiding the failure of the control plane from affecting the operation of the forwarding plane, as shown in FIG. 4 , which is a schematic structural diagram of the system.

在图4中,所述系统包括:通过LSP相连的首节点400和其它节点401。In FIG. 4 , the system includes: a head node 400 and other nodes 401 connected through an LSP.

需要说明的是,所述其它节点可以有多个,可以是中间节点或末节点,也就是说,在一条LSP上,包括一个首节点和一个末节点,以及一个或多个中间节点。It should be noted that there may be multiple other nodes, which may be intermediate nodes or end nodes, that is, an LSP includes an initial node, an end node, and one or more intermediate nodes.

为了清楚起见,在图4中只示出了一个其它节点。其中:For clarity, only one other node is shown in FIG. 4 . in:

所述其它节点401,用于在控制平面出现故障后,本节点需要删除本地转发平面的LSP的交叉连接时,将所述交叉连接的信息发送给所述LSP的首节点400,并在所述首节点400返回的响应消息指示所述交叉连接与首节点保存的所述LSP的交叉连接不一致时,删除本地的LSP的交叉连接;The other node 401 is used to send the information of the cross-connection to the head node 400 of the LSP when the node needs to delete the cross-connection of the LSP of the local forwarding plane after the failure of the control plane, and When the response message returned by the head node 400 indicates that the cross-connection is inconsistent with the cross-connection of the LSP saved by the head node, delete the cross-connection of the local LSP;

首节点400,用于接收所述其它节点401发送的交叉连接的信息,确定所述交叉连接对应的LSP,并判断所述交叉连接与自己保存的所述LSP的交叉连接是否一致,并向所述其它节点401返回响应消息,在所述响应消息中指示所述交叉连接与自己保存的所述LSP交叉连接是否一致。The head node 400 is configured to receive the information of the cross-connection sent by the other node 401, determine the LSP corresponding to the cross-connection, and judge whether the cross-connection is consistent with the cross-connection of the LSP saved by itself, and report to the head node 400 The other node 401 returns a response message, and the response message indicates whether the cross-connection is consistent with the LSP cross-connection saved by itself.

利用本发明实施例避免控制平面故障影响转发平面运行的系统,在节点控制平面出现故障并恢复通信后,不仅可以避免在网络节点之间控制平面信息不一致,而且可以避免在节点内部的控制平面和转发平面的数据不一致时,错误删除LSP的交叉连接,中断正常业务,提升了转发平面的可靠性。Using the embodiment of the present invention to prevent the control plane failure from affecting the operation of the forwarding plane, after the node control plane fails and the communication is restored, not only the inconsistency of the control plane information between network nodes can be avoided, but also the control plane and the network inside the node can be avoided. When the data on the forwarding plane is inconsistent, the cross-connection of the LSP is mistakenly deleted, interrupting normal services and improving the reliability of the forwarding plane.

下面举例进一步详细说明本发明实施例避免控制平面故障影响转发平面运行的系统中各节点在需要删除转发平面的交叉连接时的处理过程与现有技术的区别。The following uses an example to further describe in detail the difference between the processing procedure of each node in the system in which the fault of the control plane does not affect the operation of the forwarding plane in the embodiment of the present invention when the cross-connection of the forwarding plane needs to be deleted and the prior art.

如图5所示,假设MPLS网络中有四个节点,分别为:A、B、C、D,其中已建立了一条LSP,路径是{A->B->D}。该条LSP在节点A、B、C上分别建立了控制平面和转发平面的相关组件。节点A上的PSB会周期性地发送刷新消息给节点B上的PSB,节点B上的PSB会周期性地发送刷新消息给节点D上的PSB,反向的RSB也会发送刷新消息。同时,节点A、B、C相邻节点之间会周期性地发送Hello消息,以确认彼此的连通关系。As shown in Figure 5, it is assumed that there are four nodes in the MPLS network, namely: A, B, C, and D, in which an LSP has been established, and the path is {A->B->D}. In this LSP, relevant components of the control plane and the forwarding plane are respectively established on nodes A, B, and C. The PSB on node A will periodically send refresh messages to the PSB on node B, the PSB on node B will periodically send refresh messages to the PSB on node D, and the reverse RSB will also send refresh messages. At the same time, the adjacent nodes of nodes A, B, and C will periodically send Hello messages to confirm the connection relationship with each other.

假设控制平面故障是由节点B的控制板复位引起的,并且假设GR时间为T1。Assume that the control plane failure is caused by the control board reset of Node B, and assume that the GR time is T1.

在现有技术中,节点A、B、D的处理过程如下:In the prior art, the processing procedures of nodes A, B, and D are as follows:

节点A:检测到不能继续收到节点B的Hello报文,并且也不能收到来自节点B的RSB的刷新消息。因此节点A认为节点B进入了复位过程。节点A启动一个等待定时器,时间为T1。后续动作有两个可能:Node A: detects that it cannot continue to receive the Hello message from Node B, and cannot receive the RSB refresh message from Node B either. So node A thinks that node B has entered the reset process. Node A starts a waiting timer with a time of T1. There are two possibilities for subsequent actions:

(1)T1时间结束时,节点B没有恢复和节点A的通信,这时节点A会删除自己维护的交叉连接、PSB、RSB。(1) At the end of T1, node B does not resume communication with node A, and node A will delete the cross-connection, PSB, and RSB maintained by itself at this time.

(2)T1时间结束时,节点B恢复了和节点A的通信,即节点A重新接收到了节点B的Hello消息。这时,节点A会将自己维护的PSB信息发送给节点B。(2) At the end of T1, node B resumes communication with node A, that is, node A receives the Hello message from node B again. At this time, node A will send the PSB information maintained by itself to node B.

节点D:和节点A的动作类似。不同的是,在上述第(2)种情况下,节点发送的是RSB信息。Node D: Similar to the action of node A. The difference is that in the above (2) case, the node sends RSB information.

节点B:处于复位重启过程,有两种可能:Node B: In the process of reset and restart, there are two possibilities:

(1)在T1时间内,节点B没有完成启动恢复,在超过T1时间之后,节点B才建立和节点A、节点D的Hello消息。这时节点B会等待节点A、节点D分别发送PSB、RSB信息给自己,但是因为节点A、节点D上的PSB、RSB都已经释放,所以节点B不会收到消息,在一定时间后(假设为T2),节点B会释放自己维护的交叉连接。此时,节点B上没有该LSP对应的PSB、RSB、交叉连接。(1) Within T1 time, node B did not complete the startup and recovery, and node B established Hello messages with nodes A and node D after T1 time. At this time, node B will wait for node A and node D to send PSB and RSB information to itself respectively, but because the PSB and RSB on node A and node D have been released, node B will not receive the message, after a certain period of time ( Suppose it is T2), node B will release the cross-connection maintained by itself. At this time, there is no PSB, RSB, or cross-connect corresponding to the LSP on Node B.

(2)在T1时间内,节点B完成了和节点A、节点D的通信建立,即和节点A、节点D重新开始收发Hello消息。这时,节点B会从节点A、节点D收到PSB、RSB的消息,节点B会用这些信息重建自己的控制平面的PSB、RSB,并且和自己的转发平面维护的交叉连接做比较,如果一致,则不修改,如果不一致,则会修改,或者删除多余的交叉连接,或者添加缺少的交叉连接。(2) Within T1 time, node B completes the establishment of communication with nodes A and D, that is, restarts sending and receiving Hello messages with nodes A and D. At this time, Node B will receive PSB and RSB messages from Node A and Node D, and Node B will use the information to rebuild the PSB and RSB of its own control plane, and compare it with the cross-connection maintained by its own forwarding plane. If If they are consistent, they will not be modified. If they are inconsistent, they will be modified, or redundant cross-connections will be deleted, or missing cross-connections will be added.

利用本发明实施例提供的方法及系统,节点A、B、D的处理过程如下:Utilizing the method and system provided by the embodiments of the present invention, the processing procedures of nodes A, B, and D are as follows:

节点A:检测到不能继续收到节点B的Hello报文,并且也不能收到来自节点B的RSB的刷新消息。因此节点A认为节点B进入了复位过程。节点A启动一个等待定时器,时间为T1。后续动作有两个可能:Node A: detects that it cannot continue to receive the Hello message from Node B, and cannot receive the RSB refresh message from Node B either. So node A thinks that node B has entered the reset process. Node A starts a waiting timer with a time of T1. There are two possibilities for subsequent actions:

(1)T1时间结束时,节点B没有恢复和节点A的通信,这时节点A由于是该LSP的首节点,因此不需要发送交叉确认消息给首节点,只需自己判断这条LSP是否需要删除,如果需要删除,则节点A会删除自己维护的交叉连接、PSB、RSB。(1) At the end of T1, node B does not resume communication with node A. At this time, node A is the first node of the LSP, so it does not need to send a cross-confirmation message to the first node, and only needs to judge whether this LSP needs Deletion, if deletion is required, node A will delete the cross-connection, PSB, and RSB maintained by itself.

(2)T1时间结束时,节点B完成和节点A的通信,即节点A重新接收到了节点B的Hello消息。这时,节点A会将自己维护的PSB信息发送给节点B。(2) At the end of T1, node B completes the communication with node A, that is, node A receives the Hello message from node B again. At this time, node A will send the PSB information maintained by itself to node B.

节点D:发送交叉确认请求消息给首节点,在该请求消息中携带该LSP的交叉连接的信息,如果首节点的响应消息指示该交叉连接与首节点保存的所述LSP的交叉连接不一致,则节点D会删除自己维护的对应该LSP的交叉连接、PSB、RSB。否则,会保留这些信息,一直等节点B恢复。Node D: Send a cross-confirmation request message to the head node, in which the request message carries the information of the cross-connection of the LSP, if the response message of the head node indicates that the cross-connection is inconsistent with the cross-connection of the LSP saved by the head node, then Node D deletes the cross-connection, PSB, and RSB maintained by itself corresponding to the LSP. Otherwise, the information will be kept until Node B recovers.

节点B:启动恢复后,和节点A、节点D重建通信,即和节点A、节点D重新开始收发Hello消息,节点B会从节点A、节点D收到PSB、RSB的消息,节点B将这些信息和自己的转发平面维护的交叉连接做比较,有两种可能:Node B: After recovery, re-establish communication with nodes A and D, that is, restart sending and receiving Hello messages with nodes A and D, node B will receive PSB and RSB messages from nodes A and D, and node B will send these The information is compared with the cross-connection maintained by its own forwarding plane. There are two possibilities:

(1)如果一致,则不修改。(1) If consistent, do not modify.

(2)如果不一致,则发送交叉确认请求消息给首节点A,并根据首节点A的响应消息中的指示,确定是否删除自己维护的对应该LSP的交叉连接、PSB、RSB。。(2) If inconsistent, send a cross-confirmation request message to the head node A, and determine whether to delete the cross-connection, PSB, and RSB maintained by itself corresponding to the LSP according to the indication in the response message of the head node A. .

以上对本发明实施例进行了详细介绍,本文中应用了具体实施方式对本发明进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及设备;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and the present invention has been described using specific implementation methods herein. The descriptions of the above embodiments are only used to help understand the method and equipment of the present invention; meanwhile, for those of ordinary skill in the art, According to the idea of the present invention, there will be changes in the specific implementation and scope of application. To sum up, the contents of this specification should not be construed as limiting the present invention.

Claims (11)

1. a method of avoiding the operation of control plane fault effects Forwarding plane, is characterized in that, comprising:
After control plane breaks down, when this node need to be deleted the interconnection of LSP of local Forwarding plane, described cross-coupled information is sent to the first node of described LSP;
Receive the response message that first node returns;
If described response message indicates the interconnection of the interconnection of described LSP and the described LSP of first node preservation inconsistent, the interconnection of deleting local LSP;
Otherwise, retain the interconnection of local LSP.
2. method according to claim 1, is characterized in that, describedly sends to the first node of described LSP to comprise described cross-coupled information:
By cross validation request message, described cross-coupled information is sent to the first node of described LSP.
3. method according to claim 2, is characterized in that, described method also comprises:
Multiple if the interconnection that needs to delete has, and the first node of LSP corresponding to described multiple interconnection is identical, in described cross validation request message, carries described multiple cross-coupled information.
4. according to the method in claim 2 or 3, it is characterized in that, described method also comprises:
If this node is not received the response message that first node returns in the given time, resend described cross validation request message.
5. method according to claim 1, is characterized in that, described method also comprises:
First node receives after described cross-coupled information, determines the LSP that described interconnection is corresponding;
Judge that whether described interconnection is consistent with the interconnection of the local described LSP preserving of first node;
Whether first node returns to response message to described node, and in described response message, indicate the interconnection of described LSP consistent with the interconnection of the described LSP of first node preservation.
6. a node, is characterized in that, comprising:
Information transmitting unit, after breaking down at control plane, when this node need to be deleted the interconnection of LSP of local Forwarding plane, sends to described cross-coupled information the first node of described LSP;
Response message receiving element, the response message returning for receiving first node;
Intersection information maintenance unit, when indicate the interconnection of the described LSP that the interconnection of described LSP and first node preserve inconsistent at described response message, the interconnection of deleting local LSP; Otherwise, retain the interconnection of local LSP.
7. node according to claim 6, is characterized in that,
Described information transmitting unit, specifically for sending to described cross-coupled information by cross validation request message the first node of described LSP.
8. node according to claim 7, is characterized in that,
In described cross validation request message, carry multiple cross-coupled information, the first node of LSP corresponding to described multiple interconnections is identical.
9. according to the node described in claim 7 or 8, it is characterized in that,
Described information transmitting unit, also when do not receive in the given time the response message that first node returns at described response message receiving element, resends described cross validation request message.
10. a first node, is characterized in that, comprising:
Information receiving unit, the cross-coupled information sending for receiving other node;
Judging unit, for determining LSP corresponding to described interconnection, and whether the interconnection that judgement receives is consistent with the interconnection of the described LSP oneself preserving;
Response unit, for returning to response message to described other node, and in described response message, indicate described interconnection whether consistent with the interconnection of the described LSP oneself preserving, to make described other node indicate the interconnection of described LSP and the interconnection of the described LSP of described first node preservation when inconsistent at described response message, the interconnection of deleting local LSP; Indicate the interconnection of described LSP and the interconnection of the described LSP that described first node is preserved when consistent at described response message, retain the interconnection of local LSP.
Avoid the system of control plane fault effects Forwarding plane operation for 11. 1 kinds, it is characterized in that, comprising: the first node being connected by LSP and other node;
Described other node, comprising:
Information transmitting unit, after breaking down at control plane, when this node need to be deleted the interconnection of LSP of local Forwarding plane, sends to described cross-coupled information the first node of described LSP;
Response message receiving element, the response message returning for receiving first node;
Intersection information maintenance unit, when indicate the interconnection of the described LSP that the interconnection of described LSP and first node preserve inconsistent at described response message, the interconnection of deleting local LSP; Otherwise, retain the interconnection of local LSP;
Described first node, comprising:
Information receiving unit, the cross-coupled information sending for receiving other node;
Judging unit, for determining LSP corresponding to described interconnection, and whether the interconnection that judgement receives is consistent with the interconnection of the described LSP oneself preserving;
Response unit, for returning to response message to described other node, and in described response message, indicate described interconnection whether consistent with the interconnection of the described LSP oneself preserving, to make described other node indicate the interconnection of described LSP and the interconnection of the described LSP of described first node preservation when inconsistent at described response message, the interconnection of deleting local LSP; Indicate the interconnection of described LSP and the interconnection of the described LSP that described first node is preserved when consistent at described response message, retain the interconnection of local LSP.
CN201010557460.6A 2010-11-24 2010-11-24 Method, node and system for preventing control plane faults from influencing operation of forward data plane Expired - Fee Related CN102136936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010557460.6A CN102136936B (en) 2010-11-24 2010-11-24 Method, node and system for preventing control plane faults from influencing operation of forward data plane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010557460.6A CN102136936B (en) 2010-11-24 2010-11-24 Method, node and system for preventing control plane faults from influencing operation of forward data plane

Publications (2)

Publication Number Publication Date
CN102136936A CN102136936A (en) 2011-07-27
CN102136936B true CN102136936B (en) 2014-07-09

Family

ID=44296597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010557460.6A Expired - Fee Related CN102136936B (en) 2010-11-24 2010-11-24 Method, node and system for preventing control plane faults from influencing operation of forward data plane

Country Status (1)

Country Link
CN (1) CN102136936B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152266B (en) 2011-12-07 2016-08-03 华为技术有限公司 The synchronous method of a kind of LA Management Room, the network equipment and system
CN103036724B (en) * 2012-12-14 2016-01-20 北京华为数字技术有限公司 State information transmission method, the network equipment and unit equipment
CN105763412A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Communication method in virtual switching cluster and apparatus thereof
WO2017063166A1 (en) * 2015-10-15 2017-04-20 华为技术有限公司 Method and device for establishing label-switched path circumventing disconnected link

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047641A (en) * 2006-06-27 2007-10-03 华为技术有限公司 Stationary restart method of CR-LSR
CN101310475A (en) * 2006-09-08 2008-11-19 华为技术有限公司 Method and device for recovering abnormal deletion of optical network LSP

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7746793B2 (en) * 2004-06-18 2010-06-29 Cisco Technology, Inc. Consistency between MPLS forwarding and control planes
JP4714081B2 (en) * 2006-06-01 2011-06-29 アラクサラネットワークス株式会社 Network connection device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047641A (en) * 2006-06-27 2007-10-03 华为技术有限公司 Stationary restart method of CR-LSR
CN101310475A (en) * 2006-09-08 2008-11-19 华为技术有限公司 Method and device for recovering abnormal deletion of optical network LSP

Also Published As

Publication number Publication date
CN102136936A (en) 2011-07-27

Similar Documents

Publication Publication Date Title
CN101702663B (en) Method and device for updating ring network topology information
EP2045965B1 (en) Resource state monitoring method, device and communication network
CN101150430B (en) A Method for Realizing Network Interface Board Switching Through Heartbeat Mechanism
US9007890B2 (en) Restoring aggregated circuits with circuit integrity checks in a hierarchical network
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN108270669A (en) Business recovery device, master controller, the system and method for SDN network
CN101094157A (en) Method for implementing network interconnection by using link aggregation
CN101459549A (en) Link failure processing method and data forwarding device
CN100558055C (en) Method and router for reducing duration of error graceful restart state
CN101340377B (en) Method, apparatus and system for data transmission in double layer network
CN104468168B (en) Network failure recovery method, control server and interchanger
CN102136936B (en) Method, node and system for preventing control plane faults from influencing operation of forward data plane
CN102857316A (en) Method and system for realizing source looped network protection
CN106453074A (en) Switching method and apparatus
WO2016165061A1 (en) Service protecting method and device
CN100438447C (en) Recovery method and apparatus for optical network LSP occuring abnormal delete
CN101192959B (en) Method for recovering multicast service connection of automatic switching optical network
CN101192956A (en) Method for calculating multicast tree of multicast service of automatic switched optical network
CN101192957A (en) Method for calculating multicast service route of automatic switching optical network
CN101179448A (en) Detection method and router for entering graceful restart state by mistake
CN104184661A (en) Service back-fitting control method and device
CN103051374A (en) Protection and restoration method and device
CN101325456B (en) Method for processing degrade of TE link in an optical network
CN103532843B (en) Method of work and device for virtual network unit
CN101908969A (en) Optimization method, maintenance node and network system of end-to-end recovery path

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140709

Termination date: 20181124

CF01 Termination of patent right due to non-payment of annual fee