CN100421387C - A business flow protection method - Google Patents
A business flow protection method Download PDFInfo
- Publication number
- CN100421387C CN100421387C CNB2005100983776A CN200510098377A CN100421387C CN 100421387 C CN100421387 C CN 100421387C CN B2005100983776 A CNB2005100983776 A CN B2005100983776A CN 200510098377 A CN200510098377 A CN 200510098377A CN 100421387 C CN100421387 C CN 100421387C
- Authority
- CN
- China
- Prior art keywords
- path
- message
- service flow
- reverse
- protection
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种业务流保护方法,传输业务流的两个节点之间的正向路径采用1∶1保护组,在所述传输业务流的两个节点之间设置反向路径保护组,该方法包括以下步骤:A、业务流出口端节点根据连通性检测结果判断正向路径是否存在缺陷,如果正向路径存在缺陷,则执行本节点的保护切换,业务流出口端节点生成BDI报文,并通过所设置的反向路径保护组发送BDI报文至业务流入口端节点;B、业务流入口端节点收到BDI报文后执行本节点的保护切换。本发明提出的业务流保护方法,达到了同时对业务流和BDI报文进行保护的目的。
The invention discloses a service flow protection method. The forward path between two nodes transmitting the service flow adopts a 1:1 protection group, and a reverse path protection group is set between the two nodes transmitting the service flow. The method comprises the following steps: A, the service flow outlet node judges whether the forward path has a defect according to the connectivity detection result, if there is a defect in the forward path, then executes the protection switching of the node, and the service flow outlet node generates a BDI message , and send the BDI message to the service flow ingress node through the set reverse path protection group; B. The service flow ingress node performs protection switching of the node after receiving the BDI message. The service flow protection method proposed by the invention achieves the purpose of simultaneously protecting the service flow and the BDI message.
Description
技术领域 technical field
本发明涉及业务流保护技术,尤其涉及多协议标签交换(MPLS,Multi-Protocol Label Switching)网络上的业务流和协议报文保护方法。The invention relates to a service flow protection technology, in particular to a service flow and protocol message protection method on a Multi-Protocol Label Switching (MPLS, Multi-Protocol Label Switching) network.
背景技术 Background technique
当前MPLS网络中的标签交换路径(LSP,Label Switching Path)上通常运行操作与维护(OAM,Operations and Maintenance)和保护切换(PS,ProtectionSwitching)协议进行LSP的连通性检测、故障传递及保护切换,以实现对业务流的保护。Currently, on the label switching path (LSP, Label Switching Path) in the MPLS network, the operation and maintenance (OAM, Operations and Maintenance) and protection switching (PS, Protection Switching) protocols are usually run to perform LSP connectivity detection, fault transmission and protection switching. In order to realize the protection of business flow.
图1为运行OAM和PS协议的MPLS网络设备结构图,运行OAM和PS协议的MPLS网络设备由管理平面101、控制平面102及数据平面103组成。其中,控制平面102主要完成呼叫控制、连接控制,以及支持这些连接所需的路由、信令等协议处理;管理平面101作为控制平面102的一个补充,完成整个系统的维护,负责所有平面间的协调和配合,能够进行配置和管理端到端连接。位于控制平面102的MPLS OAM模块111和MPLS PS模块112运行于MPLS层次之上,MPLS OAM模块111用于检测特定LSP的状态,当检测到缺陷时,会上报告警,并通知MPLS PS模块112进行保护切换。FIG. 1 is a structural diagram of an MPLS network device running OAM and PS protocols. The MPLS network device running OAM and PS protocols consists of a
在MPLS网络中,在采用1∶1保护组的正向路径上运行OAM和PS协议进行业务流保护的原理为:正向路径的入口端周期性的生成连通性报文并通过该正向路径将之传送到该正向路径的出口端;正向路径的出口端周期性的检测并读取连通性报文,根据协议规定的缺陷标准判断正向路径上是否发生缺陷,如果发现正向路径上有缺陷,则正向路径的出口端执行正向路径保护切换,并生成后向缺陷指示(BDI,Backward Defect Indication)报文,通过反向路径将此BDI报文传送到正向路径的入口端;正向路径的入口端检测并读取BDI报文后执行正向路径保护切换。本申请中所述正向为业务流的流向,所述反向为与业务流方向相反的流向,所述正向路径采用1∶1保护组,包括正向主用路径和正向备用路径。In an MPLS network, the principle of running OAM and PS protocols on the forward path using a 1:1 protection group for service flow protection is: the ingress of the forward path periodically generates connectivity packets and passes through the forward path Send it to the egress end of the forward path; the egress end of the forward path periodically detects and reads the connectivity message, and judges whether a defect occurs on the forward path according to the defect standard stipulated in the protocol. If there is a defect on the forward path, the exit end of the forward path performs forward path protection switching, and generates a backward defect indication (BDI, Backward Defect Indication) message, and transmits the BDI message to the entrance of the forward path through the reverse path port; the ingress port of the forward path detects and reads the BDI message and performs forward path protection switching. In this application, the forward direction refers to the flow direction of the service flow, and the reverse direction refers to the flow direction opposite to the direction of the service flow. The forward path adopts a 1:1 protection group, including the forward main path and the forward backup path.
图2是现有技术的业务流保护系统结构图。图2中正向业务流从作为入口端的业务节点A流向作为出口端的业务节点B,业务节点A和业务节点B之间连接有两条正向路径,这两条正向路径组成1∶1保护组,包括:作为正向工作路径的正向主用路径,图2中用粗实线表示;作为正向保护路径的正向备用路径,图2中用细实线表示,正常情况下,业务流从正向主用路径上传输。图2中反向的BDI报文从业务节点B流向业务节点A,业务节点A和业务节点B之间仅连接单条反向路径。Fig. 2 is a structural diagram of a service flow protection system in the prior art. In Figure 2, the forward service flow flows from service node A as the entry port to service node B as the exit port. There are two forward paths connected between service node A and service node B, and these two forward paths form a 1:1 protection group , including: the forward primary path as the forward working path, represented by a thick solid line in Figure 2; the forward backup path as a forward protection path, represented by a thin solid line in Figure 2, under normal circumstances, the business flow Transmitted from the forward primary path. In Fig. 2, the reverse BDI message flows from service node B to service node A, and only a single reverse path is connected between service node A and service node B.
现有技术的业务流保护系统包括:业务节点A保护系统201和业务节点B保护系统202。业务节点A保护系统201包括:OAM_A模块213和PS_A模块214,OAM_A模块213用于生成和发送连通性报文、检测和处理BDI报文以及通知PS_A模块214执行保护切换;PS_A模块214用于执行业务节点A处的正向路径保护切换、保存正向路径的工作状态信息。业务节点B保护系统202包括:OAM_B模块225和PS_B模块226,OAM_B模块225用于生成和发送BDI报文、检测和处理连通性报文以及通知PS_B模块226执行保护切换;PS_B模块226用于执行业务节点B处的正向路径保护切换、保存正向路径的工作状态信息。A service flow protection system in the prior art includes: a service node
图3是现有技术的业务流保护方法流程图,现有技术的业务流保护方法包括以下步骤:FIG. 3 is a flow chart of a service flow protection method in the prior art. The service flow protection method in the prior art includes the following steps:
步骤301~303:业务流从正向主用路径上传输;OAM_A模块213生成连通性报文并在正向主用路径上发送连通性报文;OAM_B模块225检测连通性报文,如检测到连通性报文,则执行步骤304,如未检测到连通性报文,则执行步骤305及其后续步骤;Steps 301-303: the service flow is transmitted from the forward primary path; the
步骤304:OAM_B模块225读取连通性报文并与缺陷标准相比较,判断正向主用路径是否存在缺陷,如果符合缺陷标准,说明正向主用路径存在缺陷,则执行步骤305及其后续步骤,否则结束本流程;Step 304: The
步骤305~307:OAM_B模块225通知PS_B模块226将业务流切换到正向备用路径上;OAM_B模块225生成BDI报文,在BDI报文前封装反向路径标签并在反向路径上发送;OAM_A模块213检测BDI报文,如检测到BDI报文,则执行步骤308及其后续步骤,如未检测到BDI报文,则结束本流程;Steps 305-307:
步骤308~311:OAM_A模块213读取该BDI报文前的路径标签;OAM_A模块213读取该BDI报文;OAM_A模块213通知PS_A模块214将业务流切换到正向备用路径上;业务流从正向备用路径上传输,结束本流程。Steps 308-311: OAM_A
实际应用中,采用现有技术的业务流保护方法,业务流保护系统中仅正向路径采用保护组,当正向工作路径出现故障时,业务流出口端进行正向路径保护切换将业务流切换到正向保护路径上,并通过单路径的反向路径传输BDI报文通知业务流入口端进行路径切换,但是由于反向路径未设置保护组,一旦反向路径出现故障,业务流入口端将检测不到BDI报文,也就无法进行正向路径保护切换将业务流切换至正向保护路径,则业务流在入口端和出口端状态不一致,导致业务流中断。In practical application, the service flow protection method of the prior art is adopted. In the service flow protection system, only the forward path adopts the protection group. When the forward working path fails, the service flow export port performs forward path protection switching to switch the service flow. to the forward protection path, and transmit BDI packets through the single-path reverse path to notify the service flow ingress to switch paths. However, since the reverse path has no protection group, once the reverse path fails, the service flow ingress will If the BDI message cannot be detected, the forward path protection switching cannot be performed to switch the service flow to the forward protection path, and the state of the service flow at the ingress port and the egress port are inconsistent, resulting in interruption of the service flow.
发明内容 Contents of the invention
有鉴于此,本发明的主要目在于提供一种业务流保护方法,能够同时对业务流和BDI报文进行保护。In view of this, the main purpose of the present invention is to provide a service flow protection method capable of simultaneously protecting service flows and BDI messages.
为达到上述目的,本发明提供了一种业务流保护方法,传输业务流的两个节点之间的正向路径采用1∶1保护组,在所述传输业务流的两个节点之间设置反向路径保护组,所述反向路径保护组为1+1保护组,包括反向工作路径和反向保护路径,该方法包括以下步骤:In order to achieve the above object, the present invention provides a service flow protection method. The forward path between two nodes transmitting service flows adopts a 1:1 protection group, and a reverse path is set between the two nodes transmitting service flows. To a path protection group, the reverse path protection group is a 1+1 protection group, including a reverse working path and a reverse protection path, the method includes the following steps:
A、业务流出口端节点根据连通性检测结果判断正向路径是否存在缺陷,如果正向路径存在缺陷,则执行本节点的保护切换,业务流出口端节点生成BDI报文,在BDI报文前封装反向工作路径标签并在反向工作路径上发送该BDI报文,在BDI报文前封装反向保护路径标签并在反向保护路径上发送该BDI报文;A. The service outflow egress node judges whether there is a defect in the forward path according to the connectivity detection result. If there is a defect in the forward path, it executes the protection switching of the node, and the service outflow egress node generates a BDI message, before the BDI message Encapsulating the reverse working path label and sending the BDI message on the reverse working path, encapsulating the reverse protection path label before the BDI message and sending the BDI message on the reverse protection path;
B、业务流入口端节点检测BDI报文,如果检测到BDI报文,则执行步骤C,如果未检测到BDI报文,则结束本流程;B. The service flow ingress node detects the BDI message. If a BDI message is detected, step C is performed. If no BDI message is detected, the process ends;
C、业务流入口端读取当前检测到的一份BDI报文的路径标签,获知该BDI报文的传偷路径,并查询反向路径保护组的工作状态,获知当前的反向工作路径;C. The service flow entrance reads the path label of a currently detected BDI message, learns the stolen path of the BDI message, and queries the working status of the reverse path protection group to learn the current reverse working path;
D、业务流入口端节点判断步骤C所述的BDI报文是否来自反向工作路径,如果是来自反向工作路径,则执行步骤F,如果不是来自反向工作路径,则执行步骤E;D. The service flow entry-end node judges whether the BDI message described in step C is from the reverse working path, if it is from the reverse working path, then execute step F, if not from the reverse working path, then execute step E;
E、业务流入口端节点抛弃步骤C所述的BDI报文;业务流入口端节点读取另一份BDI报文前的路径标签,并读取另一份BDI报文,执行步骤G;E. The service flow entry-end node discards the BDI message described in step C; the service flow entry-end node reads the path label before another BDI message, and reads another BDI message, and executes step G;
F、业务流入口端读取步骤C所述的BDI报文,执行步骤G;F. The service flow entrance reads the BDI message described in step C, and executes step G;
G、业务流入口端节点收到BDI报文后执行本节点的保护切换。G. After receiving the BDI message, the ingress and end nodes of the service flow perform protection switching of the node.
其中,步骤A中所述业务流出口端节点根据连通性检测结果判断正向路径是否存在缺陷具体包括:Wherein, the service flow outlet node described in step A judges whether there is a defect in the forward path according to the connectivity detection result, specifically includes:
A11、业务流入口端节点生成连通性报文并在正向工作路径上发送连通性报文;A11. The service flow ingress node generates a connectivity message and sends the connectivity message on the forward working path;
A12、业务流出口端节点检测连通性报文,如检测到连通性报文,则执行步骤A13,如未检测到连通性报文,则正向路径存在缺陷;A12. The service flow egress node detects the connectivity message. If the connectivity message is detected, step A13 is performed. If the connectivity message is not detected, the forward path has a defect;
A13、业务流出口端节点读取连通性报文并与缺陷标准进行比较,如果符合缺陷标准,则正向路径存在缺陷,否则正向路径不存在缺陷。A13. The service outflow egress node reads the connectivity message and compares it with the defect standard. If the defect standard is met, there is a defect in the forward path; otherwise, there is no defect in the forward path.
一种业务流保护方法,传偷业务流的两个节点之间的正向路径采用1∶1保护组,在所述传输业务流的两个节点之间设置反向路径保护组,所述反向路径保护组为1∶1保护组,包括反向工作路径和反向保护路径,该方法包括以下步骤:A service flow protection method, the forward path between two nodes transmitting and stealing a service flow adopts a 1:1 protection group, and a reverse path protection group is set between the two nodes transmitting the service flow, and the reverse path The path protection group is a 1:1 protection group, including a reverse working path and a reverse protection path, and the method includes the following steps:
A、业务流出口端节点根据连通性检测结果判断正向路径是否存在缺陷,如果正向路径存在缺陷,则执行本节点的保护切换,业务流出口端节点生成BDI报文,并查询反向路径保护组的工作状态,获知当前的反向工作路径,在BDI报文前封装反向工作路径标签并在反向工作路径上发送该BDI报文;A. The service flow egress node judges whether the forward path is defective according to the connectivity detection result. If there is a defect in the forward path, the protection switching of the node is executed, and the service flow exit node generates a BDI message and queries the reverse path. The working status of the protection group, knowing the current reverse working path, encapsulating the reverse working path label before the BDI message and sending the BDI message on the reverse working path;
B、业务流入口端节点检测BDI报文,如果检测到BDI报文,则执行步骤C;如果未检测到BDI报文,则结束本流程;B. The service flow entry-end node detects the BDI message, and if the BDI message is detected, step C is performed; if the BDI message is not detected, the process is ended;
C、业务流入口端节点读取所检测到的BDI报文的路径标签,并读取该BDI报文;C. The service flow entry-end node reads the path label of the detected BDI message, and reads the BDI message;
D、业务流入口端节点收到BDI报文后执行本节点的保护切换。D. After receiving the BDI message, the ingress node of the service flow performs protection switching of the node.
步骤A中所述业务流出口端节点根据连通性检测结果判断正向路径是否存在缺陷具体包括:The business outflow egress node in step A determines whether there is a defect in the forward path according to the connectivity detection result, specifically including:
A11、业务流入口端节点生成连通性报文并在正向工作路径上发送连通性报文;A11. The service flow ingress node generates a connectivity message and sends the connectivity message on the forward working path;
A12、业务流出口端节点检测连通性报文,如检测到连通性报文,则执行步骤A13,如未检测到连通性报文,则正向路径存在缺陷;A12. The service flow egress node detects the connectivity message. If the connectivity message is detected, step A13 is performed. If the connectivity message is not detected, the forward path has a defect;
A13、业务流出口端节点读取连通性报文并与缺陷标准进行比较,如果符合缺陷标准,则正向路径存在缺陷,否则,正向路径不存在缺陷。A13. The service outflow egress node reads the connectivity message and compares it with the defect standard. If the defect standard is met, there is a defect in the forward path; otherwise, there is no defect in the forward path.
本发明提出的业务流保护方法,业务流保护系统中正向路径和反向路径都采用了保护组,当正向工作路径出现故障时,业务流出口端进行正向路径保护切换将业务流切换到正向保护路径上,并通过反向路径传输BDI报文通知业务流入口端进行路径切换,由于反向路径设置了保护组,一旦反向工作路径出现故障,BDI报文还能够从反向保护路径上传输,业务流入口端仍能够检测和接收BDI报文,也就能够进行正向路径保护切换将业务流切换至正向保护路径,从而使得业务流的入口端与出口端状态一致,业务流从正向保护路径上传偷,达到了同时对业务流和BDI报文进行保护的目的。In the service flow protection method proposed by the present invention, both the forward path and the reverse path in the service flow protection system adopt protection groups. On the forward protection path, the BDI message is transmitted through the reverse path to notify the service flow ingress to switch paths. Since the protection group is set on the reverse path, once the reverse working path fails, the BDI message can still be protected from the reverse path. The ingress port of the service flow can still detect and receive BDI packets, and it can also perform forward path protection switching to switch the service flow to the forward protection path, so that the state of the ingress end of the service flow is consistent with that of the egress end, and the service The flow is uploaded through the forward protection path, achieving the purpose of simultaneously protecting the service flow and the BDI message.
附图说明 Description of drawings
图1为运行OAM和PS协议的MPLS网络设备结构图;Fig. 1 is the structure diagram of the MPLS network equipment of operation OAM and PS agreement;
图2为现有技术的业务流保护系统结构图;FIG. 2 is a structural diagram of a service flow protection system in the prior art;
图3为现有技术的业务流保护方法流程图;FIG. 3 is a flowchart of a service flow protection method in the prior art;
图4为本发明实施例一的业务流保护系统结构图;FIG. 4 is a structural diagram of a service flow protection system according to Embodiment 1 of the present invention;
图5为本发明实施例一的业务流保护方法流程图;FIG. 5 is a flowchart of a service flow protection method according to Embodiment 1 of the present invention;
图6为本发明实施例二的业务流保护系统结构图;FIG. 6 is a structural diagram of a service flow protection system according to Embodiment 2 of the present invention;
图7为本发明实施例二的业务流保护方法流程图。FIG. 7 is a flowchart of a service flow protection method according to Embodiment 2 of the present invention.
具体实施方式 Detailed ways
本发明的核心思想是:通过在业务流保护系统中为反向路径设置保护组,实现同时对正向业务流和反向BDI报文进行保护。这里,所述设置的保护组可以是1+1保护组或是1∶1保护组。The core idea of the present invention is: by setting a protection group for the reverse path in the service flow protection system, the forward service flow and the reverse BDI message are simultaneously protected. Here, the set protection group may be a 1+1 protection group or a 1:1 protection group.
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例,并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the following examples are given and the present invention is further described in detail with reference to the accompanying drawings.
实施例一:Embodiment one:
图4为本发明实施例一的业务流保护系统结构图,本实施例的业务节点A和业务节点B之间连接有两条反向路径,这两条反向路径组成了1+1保护组,包括:作为反向工作路径的反向主用路径,图4中用粗实线表示;作为反向保护路径的反向备用路径,图4中用细实线表示。正常情况下,BDI报文同时从反向主用路径和反向备用路径上传输。Figure 4 is a structural diagram of the service flow protection system in Embodiment 1 of the present invention. There are two reverse paths connected between service node A and service node B in this embodiment, and these two reverse paths form a 1+1 protection group , including: a reverse primary path as a reverse working path, represented by a thick solid line in FIG. 4 ; and a reverse backup path as a reverse protection path, represented by a thin solid line in FIG. 4 . Normally, BDI packets are transmitted over the reverse primary path and the reverse backup path at the same time.
本实施例的业务流保护系统包括:业务节点A保护系统201和业务节点B保护系统202,业务节点A为业务流入口端,业务节点B为业务流出口端。业务节点A保护系统包括:OAM_A模块213、PS_A模块214及PS_A_R模块414,PS_A_R模块414用于执行业务节点A处的反向路径保护切换、保存反向路径的工作状态信息;OAM_A模块213还用于向PS_A_R模块414查询反向路径的工作状态信息。业务节点B保护系统包括:OAM_B模块225和PS_B模块226。The service flow protection system in this embodiment includes: a service node
图5是本发明实施例一的业务流保护方法流程图,本实施例的业务流保护方法包括以下步骤:FIG. 5 is a flowchart of a service flow protection method in Embodiment 1 of the present invention. The service flow protection method in this embodiment includes the following steps:
步骤501~503:业务流从正向主用路径上传输;OAM_A模块213生成连通性报文并在正向主用路径上发送该连通性报文;OAM_B模块225检测连通性报文,如检测到连通性报文,则执行步骤504,如未检测到连通性报文,则执行步骤505及其后续步骤;Steps 501-503: the service flow is transmitted from the forward primary path; the
步骤504:OAM_B模块225读取连通性报文并与缺陷标准相比较,判断正向主用路径是否有缺陷,如正向主用路径有缺陷,则执行步骤505及其后续步骤,否则结束本流程;Step 504: The
步骤505~507:OAM_B模块225通知PS_B模块226将业务流切换到正向备用路径上;OAM_B模块225生成BDI报文,在BDI报文前封装反向主用路径标签并在反向主用路径上发送该BDI报文,在BDI报文前封装反向备用路径标签并在反向备用路径上发送该BDI报文;OAM_A模块213检测BDI报文,如检测到BDI报文,则执行步骤508及其后续步骤,如未检测到BDI报文,则结束本流程;Steps 505-507: the
步骤508~509:OAM_A模块213读取一份BDI报文的路径标签,获知其传输路径;OAM_A模块213向PS_A_R模块414查询反向路径工作状态,根据传输路径与工作状态的对应关系,判断该BDI报文是否来自反向工作路径,如该BDI报文来自反向工作路径,则执行步骤513,如该BDI报文不是来自反向工作路径,则执行步骤510及其后续步骤;Steps 508-509: the
步骤510~512:OAM_A模块213抛弃该BDI报文;OAM_A模块213读取另一份BDI报文前的路径标签,并读取另一份BDI报文,执行步骤514及其后续步骤;Steps 510-512: the
步骤513:OAM_A模块213读取该BDI报文,执行步骤514及其后续步骤;Step 513:
步骤514~515:OAM_A模块213通知PS_A模块214将业务流切换到正向备用路径上;业务流从正向备用路径上传输,结束本流程。Steps 514-515: the
由于反向路径采用1+1保护组,OAM_B模块225同时在反向工作路径和反向保护路径上发送BDI报文,则所述步骤507中,OAM_A模块213可能同时检测到两份分别来自反向工作路径和反向保护路径的BDI报文,则执行步骤508和509先读取其中一份BDI报文的路径标签,判断所读取的BDI报文是否来自反向工作路径,如该BDI报文来自反向工作路径,则执行步骤513读取该BDI报文;如该BDI报文不是来自反向工作路径,则执行步骤510~512抛弃该BDI报文并读取另一份BDI报文,此时读取的另一份BDI报文是来自反向工作路径的报文。Since the reverse path adopts a 1+1 protection group, the
所述步骤508中,OAM_A模块213在读取其中一份BDI报文的路径标签后,也可直接执行步骤513读取该BDI报文。In the
实施例二:Embodiment two:
图6为本发明实施例二的业务流保护系统结构图,本实施例的业务节点A和业务节点B之间连接有两条反向路径,这两条反向路径组成了1∶1保护组,包括:作为反向工作路径的反向主用路径,图6中用粗实线表示;作为反向保护路径的反向备用路径,图6中用细实线表示。正常情况下,BDI报文从反向主用路径上传输。Fig. 6 is the structural diagram of the service flow protection system of the second embodiment of the present invention. There are two reverse paths connected between the service node A and the service node B in this embodiment, and these two reverse paths form a 1:1 protection group , including: a reverse primary path as a reverse working path, represented by a thick solid line in FIG. 6 ; and a reverse backup path as a reverse protection path, represented by a thin solid line in FIG. 6 . Normally, BDI packets are transmitted on the reverse primary path.
本实施例的业务流保护系统包括:业务节点A保护系统201和业务节点B保护系统202,业务节点A为业务流入口端,业务节点B为业务流出口端。业务节点A保护系统包括:OAM_A模块213、PS_A模块214及PS_A_R模块414;业务节点B保护系统包括:OAM_B模块225、PS_B模块226及PS_B_R模块626,PS_B_R模块626用于执行业务节点B处的反向路径保护切换、保存反向路径的工作状态信息;OAM_B模块225还用于向PS_B_R模块626查询反向路径的工作状态信息。The service flow protection system in this embodiment includes: a service node
图7是本发明实施例二的业务流保护方法流程图,本实施例的业务流保护方法包括以下步骤:FIG. 7 is a flowchart of a service flow protection method in Embodiment 2 of the present invention. The service flow protection method in this embodiment includes the following steps:
步骤701~703:业务流从正向主用路径上传输;OAM_A模块213生成连通性报文并在正向主用路径上发送该连通性报文;OAM_B模块225检测连通性报文,如检测到连通性报文,则执行步骤704,如未检测到连通性报文,则执行步骤705及其后续步骤;Steps 701-703: the service flow is transmitted from the forward primary path; the
步骤704:OAM_B模块225读取连通性报文并与缺陷标准相比较,判断正向主用路径是否有缺陷,如正向主用路径有缺陷,则执行步骤705及其后续步骤,否则结束本流程;Step 704: The
步骤705~706:OAM_B模块225通知PS_B模块226将业务流切换到正向备用路径上;OAM_B模块225生成BDI报文,并向PS_B_R模块626查询反向路径工作状态,判断反向主用路径是否反向工作路径,如反向主用路径是反向工作路径,则执行步骤707;如反向主用路径不是反向工作路径,则执行步骤708;Steps 705-706: the
步骤707:OAM_B模块225在BDI报文前封装反向主用路径标签并在反向主用路径上发送该BDI报文,执行步骤709;Step 707: The
步骤708:OAM_B模块225在BDI报文前封装反向备用路径标签并在反向备用路径上发送该BDI报文,执行步骤709;Step 708: The
步骤709:OAM_A模块213检测BDI报文,如检测到BDI报文,则执行步骤710及其后续步骤,如未检测到BDI报文,则结束本流程;Step 709:
步骤710~713:OAM_A模块213读取该BDI报文前的路径标签;OAM_A模块213读取该BDI报文;OAM_A模块213通知PS_A模块214将业务流切换到正向备用路径上;业务流从正向备用路径上传输,结束本流程。Steps 710-713:
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100983776A CN100421387C (en) | 2005-09-08 | 2005-09-08 | A business flow protection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100983776A CN100421387C (en) | 2005-09-08 | 2005-09-08 | A business flow protection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1929390A CN1929390A (en) | 2007-03-14 |
CN100421387C true CN100421387C (en) | 2008-09-24 |
Family
ID=37859191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100983776A Expired - Fee Related CN100421387C (en) | 2005-09-08 | 2005-09-08 | A business flow protection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100421387C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399697B (en) * | 2007-09-30 | 2011-02-16 | 华为技术有限公司 | System and method for automatically protection switching |
CN101296153B (en) * | 2008-06-30 | 2012-04-04 | 华为技术有限公司 | Multicast protection method, system and equipment |
CN101783743B (en) * | 2009-01-19 | 2014-02-19 | 华为技术有限公司 | A service protection method and switching node |
CN101997713A (en) * | 2009-08-31 | 2011-03-30 | 中兴通讯股份有限公司 | Method for realizing Ethernet path protection switching |
CN101729201B (en) * | 2009-11-10 | 2014-06-11 | 中兴通讯股份有限公司 | Method for detecting signal degradation defect |
CN101777997A (en) * | 2010-01-21 | 2010-07-14 | 中兴通讯股份有限公司 | Method and system for switching flow of network link |
CN111385115B (en) * | 2018-12-28 | 2022-11-08 | 中兴通讯股份有限公司 | Reverse service path fault transmission processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1308801A (en) * | 1998-07-08 | 2001-08-15 | 艾利森电话股份有限公司 | Protection switching in a packet switched network |
CN1394053A (en) * | 2001-06-27 | 2003-01-29 | 华为技术有限公司 | Fast protecting switching method for multi-protocol label exchange |
US6882626B1 (en) * | 2000-06-01 | 2005-04-19 | Cisco Technology, Inc. | System and method for automated switching of data traffic in a packet network |
US6925054B1 (en) * | 1998-12-07 | 2005-08-02 | Nortel Networks Limited | Network path protection |
-
2005
- 2005-09-08 CN CNB2005100983776A patent/CN100421387C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1308801A (en) * | 1998-07-08 | 2001-08-15 | 艾利森电话股份有限公司 | Protection switching in a packet switched network |
US6925054B1 (en) * | 1998-12-07 | 2005-08-02 | Nortel Networks Limited | Network path protection |
US6882626B1 (en) * | 2000-06-01 | 2005-04-19 | Cisco Technology, Inc. | System and method for automated switching of data traffic in a packet network |
CN1394053A (en) * | 2001-06-27 | 2003-01-29 | 华为技术有限公司 | Fast protecting switching method for multi-protocol label exchange |
Also Published As
Publication number | Publication date |
---|---|
CN1929390A (en) | 2007-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1933506B1 (en) | A method and apparatus for realizing the interworking of oam function between the ethernet and the mpls network | |
US8804534B2 (en) | Interworking between MPLS/IP and Ethernet OAM mechanisms | |
US8295160B2 (en) | Data communication system, device and method of detecting a failure on an access line in a network | |
CN102377601B (en) | LSP (Local Switched Path) fault notification method and LSP fault notification device | |
CN101702658B (en) | Implement method of ring network protection and system thereof | |
WO2009036705A1 (en) | Method for detecting interface failure and network node equipment | |
US20030112749A1 (en) | Methods, systems, and computer program products for detecting and/or correcting faults in a multiprotocol label switching network by using redundant paths between nodes | |
US20100135162A1 (en) | Transmission apparatus and transmission system | |
CN100359860C (en) | Multiprotocol label switching network protection switching method | |
US20080002570A1 (en) | Network redundancy method, and middle apparatus and upper apparatus for the network redundancy method | |
WO2006108352A1 (en) | A failure management method and apparatus for interwoeking ethernet and multiple protocol label switch network | |
CN111490933B (en) | Bidirectional forwarding detection switching method and edge device | |
WO2007056929A1 (en) | A method and apparatus for implementing the groups protection in mpls network | |
CN101252461A (en) | Protection method, device, terminal and system for signaling transmission | |
KR20150007623A (en) | Method and appratus for protection switching in packet transport system | |
WO2011144088A2 (en) | Method for service protection and access device | |
WO2007036101A1 (en) | A system and method for protecting multicast service path | |
CN100421387C (en) | A business flow protection method | |
CN103916270B (en) | The system for realizing Link State Pass Through function based on PTN, method and device | |
WO2008106892A1 (en) | A multicast network system, node and a method for detecting a fault of a multicast network link | |
WO2011020257A1 (en) | Method and apparatus for notifying failure lsp information | |
WO2004047366A1 (en) | A method of achieving the network link status penetrate | |
CN106161232A (en) | A kind of method and apparatus of protecting tunnel switching | |
CN105703967A (en) | Method and apparatus for detecting label switching path connectivity | |
EP2573977A1 (en) | Subnet protection method and device for transport multi-protocol label switching (tmpls) network |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20171206 Address after: Tiefu iron rich street Pizhou city 221331 Jiangsu city of Xuzhou province (Cultural Center) Patentee after: Pan Rongqiong Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401 Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Effective date of registration: 20171206 Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401 Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
CB03 | Change of inventor or designer information |
Inventor after: Qian Xiaohua Inventor before: Zhang Yilong |
|
CB03 | Change of inventor or designer information | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180124 Address after: Qidong City, Jiangsu province 226200 Nantong lvsigang Lu Bei Cun Fisheries Group No. 54 Patentee after: Qian Xiaohua Address before: Tiefu iron rich street Pizhou city 221331 Jiangsu city of Xuzhou province (Cultural Center) Patentee before: Pan Rongqiong |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20181106 Address after: 221325 southern side of Baihe Road, Xuzhou, Pizhou, Jiangsu Patentee after: JIANGSU HENGYUAN METAL MATERIALS Co.,Ltd. Address before: 226200 No. 54 fishing group, Lubei village, Lusi Gang Town, Qidong, Nantong, Jiangsu Patentee before: Qian Xiaohua |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080924 Termination date: 20180908 |