CN1719825A - A method and network for realizing link protection switching - Google Patents
A method and network for realizing link protection switching Download PDFInfo
- Publication number
- CN1719825A CN1719825A CN200410062345.6A CN200410062345A CN1719825A CN 1719825 A CN1719825 A CN 1719825A CN 200410062345 A CN200410062345 A CN 200410062345A CN 1719825 A CN1719825 A CN 1719825A
- Authority
- CN
- China
- Prior art keywords
- link
- atm
- protection
- working
- data flow
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及传输保护技术,特别是涉及一种实现链路保护倒换的方法及网络。The invention relates to transmission protection technology, in particular to a method and network for realizing link protection switching.
背景技术Background technique
异步传输模式(ATM)保护倒换(APS)机制是一种ATM链路层保护机制,特别应用于无物理层保护机制的情况,也就是没有物理链路保护的情况。利用APS机制,网络可以在检测到一条路径故障之后自动将业务数据流倒换到另一条路径上。APS机制的具体实现可以采用1:1,1+1,或1:N保护模式。其中,1:1保护模式是为每条工作链路设置一条保护链路,具体就是:对于每条工作链路都有一条专用的保护链路;工作链路正常时,由工作链路承载业务;当工作链路发生故障时,由保护链路承载业务。1+1保护模式是指为每条工作链路设置一条保护链路,被保护业务数据流用工作链路和保护链路同时传送,如果其中任意一条链路被切断,则由另一条链路承载数据。1:N保护模式是指对N条工作链路设置一条保护链路,当其中一条工作链路发生故障时,业务数据倒换到保护链路上,但如果同时有多条工作链路发生故障,则只能保护其中优先级最高的一条工作链路。The Asynchronous Transfer Mode (ATM) Protection Switching (APS) mechanism is an ATM link layer protection mechanism, especially applied to the situation where there is no physical layer protection mechanism, that is, the situation where there is no physical link protection. Using the APS mechanism, the network can automatically switch service data flows to another path after detecting a path failure. The specific realization of the APS mechanism can adopt 1:1, 1+1, or 1:N protection mode. Among them, the 1:1 protection mode is to set a protection link for each working link, specifically: there is a dedicated protection link for each working link; when the working link is normal, the working link carries the service ; When the working link fails, the protection link carries the service. 1+1 protection mode refers to setting a protection link for each working link, and the protected service data flow is transmitted by the working link and the protection link at the same time. If any link is cut off, it will be carried by the other link data. 1:N protection mode refers to setting a protection link for N working links. When one of the working links fails, the service data is switched to the protection link. However, if multiple working links fail at the same time, Then only the working link with the highest priority can be protected.
下面说明现有技术实现1:1 APS保护模式的机制。通常,系统会一直监测工作链路和保护链路是否正常,在工作链路正常时,业务数据承载在工作链路上。当系统监测到工作链路发生故障且保护链路正常时,系统会自动进行APS倒换。一般地,链路故障是指传输故障,比如,图1所示的A-D或E-H之间的链路传输故障。The mechanism for realizing the 1:1 APS protection mode in the prior art is described below. Usually, the system will always monitor whether the working link and the protection link are normal. When the working link is normal, service data is carried on the working link. When the system detects that the working link is faulty and the protection link is normal, the system will automatically perform APS switching. Generally, a link failure refers to a transmission failure, for example, a link transmission failure between A-D or E-H shown in FIG. 1 .
图1为现有技术1:1 APS倒换前的链路结构示意图,图2为现有技术1:1 APS倒换后的链路结构示意图。其中,现有技术实现链路保护倒换的网络中,通讯链路由工作链路和保护链路构成,通讯链路一端具有工作链路数据流终结点A和保护链路数据流终结点E,通讯链路另一端具有工作链路数据流终结点D和保护链路数据流终结点H;工作链路数据流终结点A、D通过工作链路相连,保护链路数据流终结点E、H通过保护链路相连。数据流终结点是一种ATM逻辑实体,比如,可以是ATM分割和重组(SAR)逻辑实体。一般来说,数据流终结点A和E之间不存在连接关系,不进行信息交互,数据流终结点D和H之间不存在连接关系,不进行信息交互。经过工作链路数据流终结点A的ATM信元的虚通道标识符(VPI)和虚通路标识符(VCI)分别是VPI_W1和VCI_W1,经过工作链路数据流终结点D的ATM信元的VPI和VCI分别是VPI_W2和VCI_W2,经过保护链路数据流终结点E的ATM信元的VPI和VCI分别是VPI_P1和VCI_P1,经过保护链路数据流终结点H的ATM信元的VPI和VCI分别是VPI_P2和VCI_P2。这里,工作链路和保护链路都是双向的。上层应用是指ATM承裁的业务。Figure 1 is a schematic diagram of the link structure before 1:1 APS switching in the prior art, and Figure 2 is a schematic diagram of the link structure after the 1:1 APS switching in the prior art. Wherein, in the prior art network for implementing link protection switching, the communication link is composed of a working link and a protection link, and one end of the communication link has a working link data flow termination point A and a protection link data flow termination point E, The other end of the communication link has a working link data flow termination point D and a protection link data flow termination point H; the working link data flow termination points A and D are connected through the working link, and the protection link data flow termination points E and H connected by a protection link. A data stream termination point is an ATM logical entity, for example, may be an ATM Segmentation and Reassembly (SAR) logical entity. Generally speaking, there is no connection relationship between the data flow endpoints A and E, and no information exchange is performed, and there is no connection relationship between the data flow endpoints D and H, and no information interaction is performed. The virtual path identifier (VPI) and the virtual channel identifier (VCI) of the ATM cells passing through the working link data flow termination point A are VPI_W1 and VCI_W1 respectively, and the VPI of the ATM cells passing through the working link data flow termination point D and VCI are VPI_W2 and VCI_W2 respectively, the VPI and VCI of the ATM cells passing through the protection link data flow termination point E are respectively VPI_P1 and VCI_P1, and the VPI and VCI of the ATM cells passing through the protection link data flow termination point H are respectively VPI_P2 and VCI_P2. Here, both the working link and the protection link are bidirectional. The upper-layer application refers to the business undertaken by the ATM.
如图1所示,当工作链路正常时,上层应用的业务数据承载在工作链路A-D上。当工作链路发生故障时,如果保护链路正常,则进行APS倒换,即断开上层应用到工作链路A-D的逻辑连接关系,建立上层应用到保护链路E-H的逻辑连接关系,进而把业务数据流从工作链路A-D切换到保护链路E-H上。其中,APS倒换可以由一个链路监控进程来控制完成。链路监控进程实时监测工作链路和保护链路的状态,当工作链路发生故障且保护链路无故障时,由链路监控进程控制完成APS倒换。如图2所示,在完成APS倒换之后,上层应用的业务数据承载在保护链路E-H上。由于数据流终结点由A和D变为E和H,因此,承载上层应用业务数据的ATM链路的路由标识VPI和VCI由VPI_W、VCI_W变为VPI_P、VCI_P。As shown in FIG. 1 , when the working link is normal, the service data of the upper-layer application is carried on the working links A-D. When the working link fails, if the protection link is normal, APS switching is performed, that is, the logical connection relationship between the upper layer application and the working link A-D is disconnected, and the logical connection relationship between the upper layer application and the protection link E-H is established, and then the business The data flow is switched from the working link A-D to the protection link E-H. Wherein, the APS switching can be controlled and completed by a link monitoring process. The link monitoring process monitors the status of the working link and the protection link in real time. When the working link fails and the protection link is not faulty, the link monitoring process controls and completes the APS switching. As shown in FIG. 2, after the APS switching is completed, the service data of the upper-layer application is carried on the protection link E-H. Since the termination points of the data flow are changed from A and D to E and H, the routing identifiers VPI and VCI of the ATM link carrying the upper-layer application service data are changed from VPI_W and VCI_W to VPI_P and VCI_P.
由此可见,现有技术APS倒换对上层应用不是透明的,上层应用的业务数据需要显式的从工作链路切换到保护链路上,并且需要上层应用进行一定的适配和处理。也就是说,上层应用需要通过新的ATM链路接收和处理信元,把ATM信元流适配为业务数据流,因而增加了额外的开销。另外,由于上层应用需要进行适配处理,这就导致ATM层和上层应用的耦合性太强,即ATM层和上层应用关联太多,系统层次不清晰,不利于系统维护。It can be seen that the APS switching in the prior art is not transparent to the upper layer application, and the service data of the upper layer application needs to be explicitly switched from the working link to the protection link, and certain adaptation and processing are required by the upper layer application. That is to say, upper-layer applications need to receive and process cells through new ATM links, and adapt ATM cell flows to service data flows, thus increasing additional overhead. In addition, because the upper layer application needs to be adapted, this leads to too strong coupling between the ATM layer and the upper layer application, that is, the ATM layer and the upper layer application have too many associations, the system layer is not clear, and it is not conducive to system maintenance.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种实现链路保护倒换的方法,以使其能对上层应用屏蔽APS倒换细节,并使上层应用无需进行适配处理就能实现业务数据流的切换。In view of this, the main purpose of the present invention is to provide a method for realizing link protection switching, so that it can shield the details of APS switching from the upper-layer application, and enable the upper-layer application to realize the switching of the service data flow without performing adaptation processing .
本发明的另一目的在于提供一种实现链路保护倒换的网络,以使其能对上层应用屏蔽APS倒换细节,并使上层应用无需进行适配处理就能实现业务数据流的切换。Another object of the present invention is to provide a network for realizing link protection switching, so that it can shield the details of APS switching from the upper layer application, and enable the upper layer application to realize the switching of service data flow without adaptation processing.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
本发明公开了一种实现链路保护倒换的方法,在通讯链路两端各增设一个ATM交换单元,其中,每个ATM交换单元包含工作链路逻辑节点和保护链路逻辑节点,在通讯链路的每端分别建立工作链路数据流终结点与ATM交换单元的工作链路逻辑节点之间的ATM交叉连接,以及保护链路数据流终结点与ATM交换单元的保护链路逻辑节点之间的ATM交叉连接;The invention discloses a method for realizing link protection switching. An ATM switching unit is added at both ends of the communication link, wherein each ATM switching unit includes a working link logic node and a protection link logic node. Each end of the road respectively establishes the ATM cross-connection between the data flow termination point of the working link and the logical node of the working link of the ATM switching unit, and the data flow termination point of the protection link and the logical node of the protection link of the ATM switching unit ATM cross-connect;
判断工作链路是否正常,如果是,则不进行APS倒换,否则执行以下APS倒换步骤:Determine whether the working link is normal, if yes, do not perform APS switching, otherwise perform the following APS switching steps:
在通讯链路的每端分别删除故障工作链路数据流终结点与ATM交换单元的工作链路逻辑节点之间的ATM交叉连接,建立故障工作链路数据流终结点与ATM交换单元的保护链路逻辑节点之间的ATM交叉连接。Delete the ATM cross-connection between the data flow termination point of the faulty working link and the logical node of the working link of the ATM switching unit at each end of the communication link, and establish a protection chain between the data flow termination point of the faulty working link and the ATM switching unit ATM cross-connect between logical nodes.
所述执行APS倒换步骤还包括:在通讯链路的每一端删除保护链路数据流终结点与ATM交换单元的保护链路逻辑节点之间的ATM交叉连接,建立保护链路数据流终结点与ATM交换单元的故障工作链路逻辑节点之间的ATM交叉连接。The described step of performing APS switching also includes: deleting the ATM cross connection between the protection link logical node of the protection link data flow termination point and the ATM switching unit at each end of the communication link, setting up the protection link data flow termination point and An ATM cross-connection between logical nodes of a faulty working link of an ATM switching unit.
通讯链路中包含一条以上工作链路,每个ATM交换单元包含与工作链路条数相同的工作链路逻辑节点,则该方法进一步包括:在通讯链路的每端分别建立所有工作链路数据流终结点与工作链路逻辑节点之间一一对应的ATM交叉连接;The communication link includes more than one working link, and each ATM switching unit includes the same number of working link logic nodes as the number of working links, then the method further includes: establishing all working links at each end of the communication link One-to-one ATM cross-connection between data stream termination points and working link logical nodes;
如果一条以上工作链路同时出现故障,则通讯链路两端分别执行以下步骤:If more than one working link fails at the same time, perform the following steps at both ends of the communication link:
删除优先级最高的故障工作链路数据流终结点与ATM交换单元的工作链路逻辑节点之间的ATM交叉连接,建立优先级最高的故障工作链路数据流终结点与ATM交换单元的保护链路逻辑节点的ATM交叉连接。Delete the ATM cross-connection between the data flow termination point of the faulty working link with the highest priority and the logical node of the working link of the ATM switching unit, and establish the protection chain between the data flow termination point of the faulty working link with the highest priority and the ATM switching unit ATM cross-connection of road logical nodes.
对应的,所述执行APS倒换步骤还包括:在通讯链路的每一端删除保护链路数据流终结点与ATM交换单元的保护链路逻辑节点之间的ATM交叉连接,建立保护链路数据流终结点与优先级最高的故障工作链路数据流终结点对应的ATM交换单元的故障工作链路逻辑节点之间的ATM交叉连接。Correspondingly, the step of performing APS switching also includes: deleting the ATM cross-connection between the protection link data flow termination point and the protection link logic node of the ATM switching unit at each end of the communication link, and establishing the protection link data flow An ATM cross-connection between the termination point and the faulty working link logical node of the ATM switching unit corresponding to the highest priority faulty working link data flow termination point.
上述方案中,所述判断工作链路是否正常的方法可以为:通过工作链路数据流终结点的ATM OAM CC功能来检测工作链路是否正常。In the above scheme, the method for judging whether the working link is normal can be: whether the working link is detected by the ATM OAM CC function of the data flow termination point of the working link.
另外,在执行所述APS倒换步骤之前,该方法还包括:In addition, before performing the APS switching step, the method also includes:
判断保护链路是否正常,如果是,则一端保护链路数据流终结点通过保护链路向另一端保护链路数据流终结点发起APS倒换请求,另一端保护链路数据流终结点收到APS倒换请求后,再执行所述APS倒换步骤;否则上报告警,结束流程。Judging whether the protection link is normal, if yes, the data flow termination point of the protection link at one end initiates an APS switching request to the data flow termination point of the protection link at the other end through the protection link, and the data flow termination point of the protection link at the other end receives the APS After the switching request, execute the APS switching step; otherwise, report an alarm and end the process.
其中,所述判断保护链路是否正常的方法可以为:通过保护链路数据流终结点的ATM OAM CC功能来检测保护链路是否正常。Wherein, the method for judging whether the protection link is normal may be: detecting whether the protection link is normal by the ATM OAM CC function of the data flow termination point of the protection link.
本发明还公开了一种实现链路保护倒换的网络,包含由工作链路和保护链路构成的通讯链路,以及位于工作链路两端的工作链路数据流终结点和位于保护链路两端的保护链路数据流终结点;The invention also discloses a network for realizing link protection switching, which includes a communication link composed of a working link and a protection link, as well as a working link data flow termination point located at both ends of the working link and a communication link located at both ends of the protection link. protection link data flow termination point at the end;
该网络中的通讯链路两端分别包含一个ATM交换单元,每个ATM交换单元包含用于与工作链路数据流终结点和保护链路数据流终结点建立ATM交叉连接的工作链路逻辑节点和保护链路逻辑节点;Both ends of the communication link in the network contain an ATM switching unit, and each ATM switching unit contains a working link logical node for establishing an ATM cross-connection with the working link data flow termination point and the protection link data flow termination point and protection link logical nodes;
工作链路正常时,ATM交换单元的工作链路逻辑节点与该端的工作链路数据流终结点相连,ATM交换单元的保护链路逻辑节点与该端的保护链路数据流终结点相连;When the working link is normal, the working link logical node of the ATM switching unit is connected with the working link data flow termination point of this end, and the protection link logical node of the ATM switching unit is connected with the protection link data flow termination point of this end;
工作链路故障且保护链路正常时,ATM交换单元的保护链路逻辑节点与该端的工作链路数据流终结点相连,ATM交换单元的工作链路逻辑节点与该端的保护链路数据流终结点相连。When the working link is faulty and the protection link is normal, the logical node of the protection link of the ATM switching unit is connected to the data flow termination point of the working link at this end, and the logical node of the working link of the ATM switching unit is terminated with the data flow of the protection link of this end The dots are connected.
所述通讯链路中进一步包含一条以上工作链路,则每个ATM交换单元包含与工作链路条数相同的工作链路逻辑节点,且每个工作链路逻辑节点在工作链路正常时分别与一个工作链路数据流终结点相连;Further comprise more than one working link in the described communication link, then each ATM switching unit comprises the working link logical node identical with the working link number, and each working link logical node respectively when working link is normal connected to a working link data flow endpoint;
一条以上工作链路同时出现故障且保护链路正常时,ATM交换单元的保护链路逻辑节点与该端的优先级最高的故障工作链路数据流终结点相连,优先级最高的故障工作链路数据流终结点对应的ATM交换单元的工作链路逻辑节点与该端的保护链路数据流终结点相连。When more than one working link fails at the same time and the protection link is normal, the logical node of the protection link of the ATM switching unit is connected to the data flow termination point of the highest priority faulty working link at this end, and the data flow of the highest priority faulty working link The logical node of the working link of the ATM switching unit corresponding to the flow termination point is connected to the data flow termination point of the protection link at this end.
其中,所述ATM交换单元可以设置在工作链路的两端或保护链路的两端。Wherein, the ATM switching unit may be arranged at both ends of the working link or at both ends of the protection link.
由上述方案可以看出,本发明的关键在于:在网络的通讯链路两端分别新增加一个ATM交换单元,每个ATM交换单元包含用于建立ATM交叉连接的工作链路逻辑节点和保护链路逻辑节点。这样,当工作链路发生故障时,删除故障工作链路数据流终结点与每个ATM交换单元的工作链路逻辑节点之间的ATM交叉连接,建立故障工作链路数据流终结点与每个ATM交换单元的保护链路逻辑节点之间的ATM交叉连接,实现APS倒换。As can be seen from the above scheme, the key of the present invention is: add an ATM switching unit respectively at the two ends of the communication link of the network, and each ATM switching unit includes a working link logic node and a protection chain for setting up an ATM cross-connect road logic node. Like this, when working link breaks down, delete the ATM cross-connection between the working link logic node of failure working link data flow termination point and each ATM switching unit, set up failure working link data flow termination point and each The ATM cross-connection between the logical nodes of the protection link of the ATM switching unit realizes APS switching.
因此,本发明所提供的这种实现链路保护倒换的网络及方法,可以对上层应用屏蔽APS倒换细节,并使上层应用无需进行适配处理就能够实现业务数据流的切换,进而增加了网络层次的清晰度和可扩展性。Therefore, the network and method for realizing link protection switching provided by the present invention can shield the details of APS switching from the upper-layer application, and enable the upper-layer application to realize the switching of service data streams without performing adaptation processing, thereby increasing network Hierarchical clarity and scalability.
附图说明Description of drawings
图1为现有技术1:1 APS倒换前的链路结构示意图;FIG. 1 is a schematic diagram of a link structure before 1:1 APS switching in the prior art;
图2为现有技术1:1 APS倒换后的链路结构示意图;FIG. 2 is a schematic diagram of a link structure after 1:1 APS switching in the prior art;
图3为本发明1:1 APS倒换前的链路结构示意图;Fig. 3 is a schematic diagram of the link structure before the 1:1 APS switching of the present invention;
图4为本发明1:1 APS倒换后的链路结构示意图;Fig. 4 is the link structure schematic diagram after 1:1 APS switching of the present invention;
图5为本发明1:1 APS倒换方法的实现流程图。FIG. 5 is a flow chart of the implementation of the 1:1 APS switching method of the present invention.
具体实施方式Detailed ways
下面结合附图及具体实施例对本发明再作进一步详细的说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
本发明中,为了实现ATM链路的APS倒换,在网络的通讯链路两端分别新增加一个ATM交换单元(SWITCH),每个ATM交换单元包含用于与工作链路数据流终结点和保护链路数据流终结点建立ATM交叉连接的工作链路逻辑节点和保护链路逻辑节点。ATM交换单元可以设置在工作链路的两端,也可以设置在保护链路的两端,无论ATM交换单元设置在哪条链路上,工作链路和保护链路都共用这两个ATM交换单元。工作链路正常时,每端的ATM交换单元的工作链路逻辑节点与该端的工作链路数据流终结点相连;每端的ATM交换单元的保护链路逻辑节点与该端的保护链路数据流终结点相连;工作链路故障且保护链路正常时,每端的ATM交换单元的保护链路逻辑节点与该端的工作链路数据流终结点相连;每端的ATM交换单元的工作链路逻辑节点与该端的保护链路数据流终结点相连。In the present invention, in order to realize the APS switchover of ATM link, add an ATM switch unit (SWITCH) newly respectively at the two ends of the communication link of the network, each ATM switch unit includes and is used for link data stream termination point and protection Link data flow termination point establishes ATM cross-connected working link logical node and protection link logical node. The ATM switching unit can be set at both ends of the working link, or at both ends of the protection link. No matter which link the ATM switching unit is set on, the working link and the protection link share the two ATM switches. unit. When the working link is normal, the logical node of the working link of the ATM switching unit at each end is connected to the data flow termination point of the working link at this end; When the working link is faulty and the protection link is normal, the logical node of the protection link of the ATM switching unit at each end is connected with the data flow termination point of the working link at this end; the logical node of the working link of the ATM switching unit at each end is connected with the The protection link data flow endpoints are connected.
基于上述网络,当工作链路发生故障时,删除通讯链路一端故障工作链路数据流终结点与该端ATM交换单元的工作链路逻辑节点之间的ATM交叉连接,建立通讯链路一端故障工作链路数据流终结点与该端ATM交换单元的保护链路逻辑节点之间的ATM交叉连接,实现APS倒换。Based on the above-mentioned network, when the working link fails, delete the ATM cross-connection between the data flow termination point of the failed working link at one end of the communication link and the logical node of the working link of the ATM switching unit at this end, and establish a failure at one end of the communication link The ATM cross-connection between the end point of the data flow of the working link and the logic node of the protection link of the ATM switching unit at this end realizes APS switching.
ATM交换单元可以使用商用的ATM芯片实现。其根本就是通过改变ATM信元的路由标识VPI和VCI来实现ATM交换功能。也就是说,ATM交换单元用于建立ATM交叉连接,完成ATM信元头标识VPI和VCI的交换。比如,通过建立ATM交叉连接,将ATM信元头标识从VPI1、VCI1变为VPI2、VCI2。The ATM switching unit can be implemented using commercially available ATM chips. It is fundamentally to realize the ATM switching function by changing the routing identifier VPI and VCI of the ATM cell. That is to say, the ATM switching unit is used to establish an ATM cross-connection, and complete the exchange of ATM cell header identifiers VPI and VCI. For example, by establishing an ATM cross-connection, the ATM cell header identifiers are changed from VPI1, VCI1 to VPI2, VCI2.
图3为本发明1:1 APS倒换前的链路结构示意图,其中,ATM交换单元SWITCH1与工作链路和保护链路的一端相连,ATM交换单元SWITCH2与工作链路和保护链路的另一端相连。逻辑节点B、C、F和G是随着ATM交换单元的增加而自动增加的,用于与数据流终结点之间建立ATM交叉连接。如图3所示,工作链路正常时,ATM交换单元SWITCH1的工作链路逻辑节点B与工作链路数据流终结点A相连,ATM交换单元SWITCH2的工作链路逻辑节点C与工作链路数据流终结点D相连,ATM交换单元SWITCH1的保护链路逻辑节点F与保护链路数据流终结点E相连,ATM交换单元SWITCH2的保护链路逻辑节点G与保护链路数据流终结点H相连。Fig. 3 is the link structure schematic diagram before 1:1 APS switching of the present invention, wherein, ATM switching unit SWITCH1 is connected with one end of working link and protection link, ATM switching unit SWITCH2 is connected with the other end of working link and protection link connected. Logical nodes B, C, F, and G are automatically added with the increase of ATM switching units, and are used to establish ATM cross-connections with data flow termination points. As shown in Figure 3, when the working link is normal, the logical node B of the working link of the ATM switching unit SWITCH1 is connected to the termination point A of the data flow of the working link, and the logical node C of the working link of the ATM switching unit SWITCH2 is connected to the data stream of the working link The flow termination point D is connected, the protection link logic node F of the ATM switching unit SWITCH1 is connected to the protection link data flow termination point E, and the protection link logic node G of the ATM switching unit SWITCH2 is connected to the protection link data flow termination point H.
图4为本发明1:1 APS倒换后的链路结构示意图,显示了当工作链路故障而保护链路正常时,完成APS倒换后的链路结构。其中,ATM交换单元SWITCH1的保护链路逻辑节点F与工作链路数据流终结点A相连,ATM交换单元SWITCH2的保护链路逻辑节点G与工作链路数据流终结点D相连;ATM交换单元SWITCH1的工作链路逻辑节点B与保护链路数据流终结点E相连,ATM交换单元SWITCH2的工作链路逻辑节点C与保护链路数据流终结点H相连。上述逻辑节点与数据流终结点之间的连接是ATM交叉连接。4 is a schematic diagram of the link structure after 1:1 APS switching of the present invention, showing the link structure after the APS switching is completed when the working link fails and the protection link is normal. Among them, the logical node F of the protection link of the ATM switching unit SWITCH1 is connected to the data flow termination point A of the working link, and the logical node G of the protection link of the ATM switching unit SWITCH2 is connected to the data flow termination point D of the working link; the ATM switching unit SWITCH1 The logical node B of the working link of the ATM switching unit SWITCH2 is connected to the termination point E of the data flow of the protection link, and the logical node C of the working link of the ATM switching unit SWITCH2 is connected to the termination point H of the data flow of the protection link. The connection between the above-mentioned logical nodes and the termination points of the data flow is an ATM cross-connect.
如图3所示,当工作链路正常时,业务数据承载在工作链路A-B-C-D上。其中,A与B,C与D,E与F,G与H之间为ATM交叉连接。当系统检测到工作链路发生故障时,如果保护链路正常,则删除A与B,C与D,E与F,G与H之间的ATM交叉连接,建立A与F,G与D,E与B,C与H之间的ATM交叉连接。如图4所示,在完成APS倒换后,业务数据承载在保护链路A-F-G-D上。如果保护链路存在故障,即使工作链路不正常,也不触发APS倒换,只是上报告警。As shown in FIG. 3 , when the working link is normal, service data is carried on the working link A-B-C-D. Among them, ATM cross-connection is between A and B, C and D, E and F, G and H. When the system detects that the working link fails, if the protection link is normal, delete the ATM cross-connection between A and B, C and D, E and F, G and H, and establish A and F, G and D, ATM cross-connect between E and B, C and H. As shown in Figure 4, after the APS switching is completed, the service data is carried on the protection link A-F-G-D. If the protection link is faulty, even if the working link is not normal, APS switching will not be triggered, but an alarm will be reported.
基于上述网络,如图5所示,本发明实现链路保护倒换的方法包括以下步骤:Based on the above network, as shown in Figure 5, the method for realizing link protection switching in the present invention includes the following steps:
步骤501、预先建立A与B,C与D,E与F,G与H之间的ATM交叉连接。其中,ATM交叉连接的建立,只需设定ATM交换前后的ATM交换单元端口、VPI和VCI即可。
步骤502、业务数据承载在工作链路A-B-C-D上;保护链路为E-F-G-H。
步骤503、判断工作链路是否正常,如果是,则返回步骤502;否则执行步骤504~506。
其中,无论是工作链路还是保护链路,都可以通过数据流终结点的ATM操作和维护信元(OAM)连续检验(CC,continuous check)功能来检测链路是否正常。操作和维护信元(OAM)上承载的是链路运行和维护的信息,比如故障,告警等信息,OAM信元是ATM实体经常定时发送的48字节信息域,其内容是事先规定好的,收到这些信元的交换机,根据这些信元误码来判断线路质量,比如是否有故障告警等。本实施例中,可以通过工作链路数据流终结点A的ATM OAM CC来检测工作链路是否正常。Wherein, whether it is a working link or a protection link, it is possible to detect whether the link is normal through the ATM operation and maintenance cell (OAM) continuous check (CC, continuous check) function of the data stream termination point. The operation and maintenance cell (OAM) carries the information of link operation and maintenance, such as faults, alarms and other information. The OAM cell is a 48-byte information field that is often sent regularly by the ATM entity, and its content is specified in advance. , the switch that receives these cells judges the line quality according to the code errors of these cells, such as whether there is a fault alarm or not. In this embodiment, it is possible to detect whether the working link is normal through the ATM OAM CC of the data flow termination point A of the working link.
步骤504~506、判断保护链路是否正常,如果是,则保护链路数据流终结点E通过保护链路向保护链路数据流终结点H发起APS倒换请求,然后执行步骤507~509;否则上报告警,结束流程。Steps 504-506, judging whether the protection link is normal, if so, the protection link data flow termination point E initiates an APS switching request to the protection link data flow termination point H through the protection link, and then executes steps 507-509; otherwise Report the alarm and end the process.
类似的,可以通过保护链路数据流终结点E的ATM OAM CC功能来检测保护链路是否正常。Similarly, it is possible to detect whether the protection link is normal through the ATM OAM CC function of the protection link data stream termination point E.
其中,可以由链路监控进程通知保护链路数据流终结点E发起APS倒换请求。ATM交叉连接的删除,只需删除进行ATM交换的逻辑节点侧的ATM交换单元端口、VPI和VCI,保留进行ATM交换的数据流终结点侧的ATM交换单元端口、VPI和VCI即可。Wherein, the link monitoring process may notify the protection link data flow termination point E to initiate an APS switching request. To delete the ATM cross-connect, it is only necessary to delete the ATM switching unit port, VPI and VCI on the logical node side for ATM switching, and retain the ATM switching unit port, VPI and VCI on the data flow termination side for ATM switching.
步骤507~509、删除A与B,E与F之间的ATM交叉连接,建立A与F,E与B之间的ATM交叉连接;保护链路数据流终结点H收到APS倒换请求后,删除C与D,G与H之间的ATM交叉连接,建立C与H,G与D之间的ATM交叉连接;业务数据承载在保护链路A-F-G-D上。Steps 507-509, delete the ATM cross-connection between A and B, E and F, set up the ATM cross-connection between A and F, E and B; after the protection link data stream termination point H receives the APS switching request, Delete the ATM cross-connection between C and D, G and H, and establish the ATM cross-connection between C and H, G and D; service data is carried on the protection link A-F-G-D.
这时,虽然当前的链路E-B-C-H由于B和C之间的链路传输故障而不能正常工作,但是必须建立E与B和C与H之间的ATM交叉连接,因为如果清除了B和C之间的链路传输故障,链路E-B-C-H就可以正常工作了,而且还可以为下次APS倒换做准备。At this time, although the current link E-B-C-H cannot work normally due to the link transmission failure between B and C, the ATM cross-connection between E and B and C and H must be established, because if the link between B and C is cleared If the link transmission failure between them, the link E-B-C-H can work normally, and it can also prepare for the next APS switchover.
下面举一个具体的例子来说明本发明通过建立和删除ATM交叉连接来实现ATM链路保护倒换的方法。A specific example is given below to illustrate the method for realizing ATM link protection switching by establishing and deleting ATM cross-connections in the present invention.
表1表明节点A~H与ATM交换单元的端口对应关系,以及经过ATM交换单元前后的ATM信元头标识。如表1所示,ATM交换单元SWITCH1的端口分别为1、2、5和6,ATM交换单元SWITCH2的端口分别为3、4、7和8,数据流终结点A、D、E和H分别与端口1、4、5和8相连,逻辑节点B、C、F和G分别与端口2、3、6和7相连。
表1 Table 1
根据本发明的方法,工作链路正常时,预先建立A与B,C与D,E与F,G与H之间的ATM交叉连接,业务数据承载在工作链路A-B-C-D上。这样,从工作链路数据流终结点A送出的路由标识为VPI=5,VCI=36的ATM信元流从端口1进入ATM交换单元SWITCH1,ATM交换单元SWITCH1将其转发到端口2。当ATM信元从端口2离开ATM交换单元SWITCH1时,也就是ATM信元经过工作链路逻辑节点B时,ATM信元头标识变为VPI=6,VCI=38。ATM信元流通过工作链路到达工作链路逻辑节点C,经过工作链路逻辑节点C,路由标识为VPI=6,VCI=38的ATM信元流从端口3进入ATM交换单元SWITCH2,ATM交换单元SWITCH2将其转发到端口4。当ATM信元从端口4离开ATM交换单元SWITCH2到达工作链路数据流终结点D后,ATM信元头标识变为VPI=8,VCI=33。According to the method of the present invention, when the working link is normal, the ATM cross-connection between A and B, C and D, E and F, G and H is established in advance, and the service data is carried on the working link A-B-C-D. In this way, the ATM cell flow whose routing identifier is VPI=5 and VCI=36 sent from the end point A of the working link data flow enters the ATM switching unit SWITCH1 from port 1, and the ATM switching unit SWITCH1 forwards it to port 2. When the ATM cell leaves the ATM switching unit SWITCH1 from port 2, that is, when the ATM cell passes through the logical node B of the working link, the ATM cell header identifier becomes VPI=6, VCI=38. The ATM cell stream arrives at the logical node C of the working link through the working link. After passing through the logical node C of the working link, the routing identifier is VPI=6, and the ATM cell stream of VCI=38 enters the ATM switching unit SWITCH2 from port 3, and the ATM switching Unit SWITCH2 forwards it to port 4. When the ATM cell leaves the ATM switching unit SWITCH2 from port 4 and arrives at the end point D of the working link data flow, the ATM cell header identifier becomes VPI=8, VCI=33.
当工作链路出现故障时,需要进行APS倒换。这时,首先删除A与B,E与F,C与D,G与H之间的ATM交叉连接,然后建立A与F,E与B,C与H,G与D之间的ATM交叉连接,业务数据承载在保护链路A-F-G-D上。这样,从工作链路数据流终结点A送出的路由标识为VPI=5,VCI=36的ATM信元流从端口1进入ATM交换单元SWITCH1,ATM交换单元SWITCH1将其转发到端口6。当ATM信元从端口6离开ATM交换单元SWITCH1时,也就是ATM信元经过保护链路逻辑节点F时,ATM信元头标识变为VPI=9,VCI=39。ATM信元流通过保护链路到达保护链路逻辑节点G,经过保护链路逻辑节点G,路由标识为VPI=9,VCI=39的ATM信元流从端口7进入ATM交换单元SWITCH2,ATM交换单元SWITCH2将其转发到端口4。当ATM信元从端口4离开ATM交换单元SWITCH2到达工作链路数据终结点D后,ATM信元头标识变为VPI=8,VCI=33。When the working link fails, APS switching is required. At this time, first delete the ATM cross-connection between A and B, E and F, C and D, G and H, and then establish the ATM cross-connection between A and F, E and B, C and H, G and D , service data is carried on the protection link A-F-G-D. In this way, the ATM cell flow whose routing identifier is VPI=5 and VCI=36 sent from the end point A of the working link data flow enters the ATM switching unit SWITCH1 from port 1, and the ATM switching unit SWITCH1 forwards it to port 6. When the ATM cell leaves the ATM switching unit SWITCH1 from port 6, that is, when the ATM cell passes through the logical node F of the protection link, the ATM cell header identifier becomes VPI=9, VCI=39. The ATM cell flow reaches the protection link logic node G through the protection link, and through the protection link logic node G, the route identification is VPI=9, and the ATM cell flow of VCI=39 enters the ATM switching unit SWITCH2 from port 7, and the ATM switching Unit SWITCH2 forwards it to port 4. When the ATM cell leaves the ATM switching unit SWITCH2 from port 4 and arrives at the working link data termination point D, the ATM cell header identifier becomes VPI=8, VCI=33.
从上述方案可以看出,本发明方法的实现原理与双刀双掷开关的工作原理是类似的,首先断开两个旧的ATM交叉连接,再建立两个新的ATM交叉连接,实现工作链路与保护链路的倒换。在实现上,由位于ATM链路内部的逻辑节点为ATM信元分配新的唯一的路由标识VPI和VCI来建立新的ATM链路。这样,在ATM链路的APS倒换前后,上层应用仍然保持其与工作链路A-D的逻辑连接关系,因而承载上层应用业务数据的ATM链路的路由标识保持不变,上层应用无需进行适配和处理,保证了业务的平滑。而且,本发明方法屏蔽了底层实现细节,对上层应用完全透明。As can be seen from the foregoing scheme, the realization principle of the inventive method is similar to that of the double-pole double-throw switch, first disconnect two old ATM cross-connects, then set up two new ATM cross-connects to realize the working link Switching with the protection link. In terms of implementation, a new ATM link is established by assigning new unique routing identifiers VPI and VCI to the ATM cell by the logic node inside the ATM link. In this way, before and after the APS switching of the ATM link, the upper-layer application still maintains its logical connection relationship with the working link A-D, so the routing identifier of the ATM link carrying the upper-layer application service data remains unchanged, and the upper-layer application does not need to be adapted and processing to ensure the smoothness of the business. Moreover, the method of the invention shields the implementation details of the bottom layer and is completely transparent to the upper layer application.
本发明也可以用于1:N保护模式,其工作原理与1:1保护模式是类似的,区别在于1:N保护模式是对N条工作链路设置一条保护链路,实现链路保护倒换的网络中的每个ATM交换单元包含与工作链路条数相同的工作链路逻辑节点。当每个工作链路正常时,每端的ATM交换单元的工作链路逻辑节点与该端的工作链路数据流终结点对应相连;每端的ATM交换单元的保护链路逻辑节点与该端的保护链路数据流终结点对应相连;当其中一个工作链路故障且保护链路正常时,每端的ATM交换单元的故障工作链路逻辑节点与该端的保护链路数据流终结点相连;每端的ATM交换单元的保护链路逻辑节点与该端的故障工作链路数据流终结点相连;当多个工作链路故障且保护链路正常时,每端的优先级最高的故障工作链路数据流终结点对应的ATM交换单元的工作链路逻辑节点与该端的保护链路数据流终结点相连;每端的ATM交换单元的保护链路逻辑节点与该端的优先级最高的故障工作链路数据流终结点相连。其中,优先级最高的故障工作链路数据流终结点是指发生故障的工作链路中优先级最高的那条工作链路所对应的工作链路数据流终结点。这样,当只有一条工作链路发生故障时,业务数据倒换到保护链路上,当同时有多条工作链路发生故障时,则只有优先级最高的工作链路上的业务数据倒换到保护链路上。The present invention can also be used in 1:N protection mode, and its working principle is similar to that of 1:1 protection mode, the difference is that 1:N protection mode is to set a protection link for N working links to realize link protection switching Each ATM switching unit in the network contains the same number of working link logic nodes as the number of working links. When each working link is normal, the logical node of the working link of the ATM switching unit at each end is correspondingly connected with the data flow termination point of the working link at this end; the logical node of the protection link of the ATM switching unit at each end is connected with the protection link at this end The data flow termination points are connected correspondingly; when one of the working links fails and the protection link is normal, the logical node of the faulty working link of the ATM switching unit at each end is connected to the data flow termination point of the protection link at this end; the ATM switching unit at each end The logical node of the protection link is connected to the data flow termination point of the faulty working link at this end; when multiple working links fail and the protection link is normal, the ATM corresponding to the data flow termination point of the faulty working link with the highest priority at each end The logical node of the working link of the switching unit is connected to the data flow termination point of the protection link at this end; the logical node of the protection link of the ATM switching unit at each end is connected to the data flow termination point of the faulty working link with the highest priority at this end. Wherein, the data flow termination point of the faulty working link with the highest priority refers to the data flow termination point of the working link corresponding to the working link with the highest priority among the failed working links. In this way, when only one working link fails, the service data is switched to the protection link; when multiple working links fail at the same time, only the service data on the working link with the highest priority is switched to the protection link on the way.
总之,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。In a word, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in this within the scope of protection of the invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100623456A CN100499640C (en) | 2004-07-06 | 2004-07-06 | Method and network for implementing link protection change |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100623456A CN100499640C (en) | 2004-07-06 | 2004-07-06 | Method and network for implementing link protection change |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1719825A true CN1719825A (en) | 2006-01-11 |
CN100499640C CN100499640C (en) | 2009-06-10 |
Family
ID=35931549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100623456A Expired - Lifetime CN100499640C (en) | 2004-07-06 | 2004-07-06 | Method and network for implementing link protection change |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100499640C (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007140683A1 (en) * | 2006-06-05 | 2007-12-13 | Huawei Technologies Co., Ltd. | Service protecting method, system and device based on connectionless |
CN102123057A (en) * | 2010-12-09 | 2011-07-13 | 中国电力科学研究院 | Synchronous network route detection, optimization and network routing method and synchronous network system |
CN112532532A (en) * | 2020-11-16 | 2021-03-19 | 烽火通信科技股份有限公司 | Service returning method, device, equipment and readable storage medium |
-
2004
- 2004-07-06 CN CNB2004100623456A patent/CN100499640C/en not_active Expired - Lifetime
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007140683A1 (en) * | 2006-06-05 | 2007-12-13 | Huawei Technologies Co., Ltd. | Service protecting method, system and device based on connectionless |
US7848225B2 (en) | 2006-06-05 | 2010-12-07 | Huawei Technologies Co., Ltd. | Service protecting switching method, system and device in a connectionless network |
CN101051995B (en) * | 2006-06-05 | 2012-07-04 | 华为技术有限公司 | Protection switching method based on no connection network |
CN102123057A (en) * | 2010-12-09 | 2011-07-13 | 中国电力科学研究院 | Synchronous network route detection, optimization and network routing method and synchronous network system |
CN102123057B (en) * | 2010-12-09 | 2014-09-03 | 中国电力科学研究院 | Synchronous network route detection, optimization and network routing method and synchronous network system |
CN112532532A (en) * | 2020-11-16 | 2021-03-19 | 烽火通信科技股份有限公司 | Service returning method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100499640C (en) | 2009-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1427581A (en) | System and method for detecting failure and route reconnection in communication network | |
CN1072869C (en) | method and system for data protection in a digital telecommunications system | |
CN1805408A (en) | Quick route switching method and apparatus for network node devices | |
CN1277375C (en) | Switching method between permanent connection and exchage connection in optical network | |
EP1501246A2 (en) | Network data re-routing | |
CN1159267A (en) | Method for rerouting of packet-mode data connections | |
CN1780253A (en) | A method of fast rerouting | |
CN1801749A (en) | Method for protecting data service in metropolitan area transmission network | |
CN1756187A (en) | Handling of Faults Between Egress Label Switching Router and Its Connected Data Equipment | |
US6940810B1 (en) | Protection switching of virtual connections at the data link layer | |
CN1324848C (en) | Tandem connection activation/deactivation | |
EP1057361A1 (en) | Protection switching of virtual connections | |
CN1719825A (en) | A method and network for realizing link protection switching | |
CN1929435A (en) | Packet transmission device and method | |
CN101043433A (en) | Method for aging MAC address learning list of bridge mode resilient packet ring | |
CN1275436C (en) | Method for implementing quick optical fibre protective inversion in ring network and its equipment | |
CN1235346C (en) | Method for improving route repeat liability of access server | |
CN1949724A (en) | Ether port protection method | |
CN1812360A (en) | Intelligent optical network business re-routing trigging method | |
CN1299459C (en) | Channel sharing ring protection supported protection switching protocol implementing method | |
CN101051931A (en) | System and method for realizing business protection using LCAS protocol | |
CN100370702C (en) | Automatic protection switching system and method thereof | |
CN1866764A (en) | Multicast service path protecting method and system | |
CN1306769C (en) | A method of service backup in asynchronous transmission mode group network | |
Austin et al. | Fast, scalable, and distributed restoration in general mesh optical networks |
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 | ||
CX01 | Expiry of patent term |
Granted publication date: 20090610 |
|
CX01 | Expiry of patent term |