CN1791096A - Method for distinguishing LP-S and SF-P request in multiplex section protection - Google Patents

Method for distinguishing LP-S and SF-P request in multiplex section protection Download PDF

Info

Publication number
CN1791096A
CN1791096A CN 200410098488 CN200410098488A CN1791096A CN 1791096 A CN1791096 A CN 1791096A CN 200410098488 CN200410098488 CN 200410098488 CN 200410098488 A CN200410098488 A CN 200410098488A CN 1791096 A CN1791096 A CN 1791096A
Authority
CN
China
Prior art keywords
network element
request
command
message
requests
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
Application number
CN 200410098488
Other languages
Chinese (zh)
Other versions
CN100542168C (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 CNB2004100984882A priority Critical patent/CN100542168C/en
Publication of CN1791096A publication Critical patent/CN1791096A/en
Application granted granted Critical
Publication of CN100542168C publication Critical patent/CN100542168C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及一种复用段保护中区分LP-S(区段保护锁定)和SF-P(信号失效保护)请求的方法。本发明的核心是通过非K1、K2开销字节的方式在两端网元间进行LP-S和SF-P请求识别信息的传递,以将向某一网元下发的LP-S命令信息传递给对端网元,从而使得两端网元可以获知LP-S命令的下发。因此,本发明的实现,保证了在复用段保护过程中,下发LP-S命令的两端网元均可以准确识别出LP-S请求,以有效区分相应的LP-S和SF-P请求,分别采用不同方式进行处理。同时,本发明也可以使得网元的倒换状态较易识别。

Figure 200410098488

The invention relates to a method for distinguishing LP-S (Sector Protection Lock) and SF-P (Signal Failure Protection) requests in multiplex section protection. The core of the present invention is to transfer the LP-S and SF-P request identification information between network elements at both ends by means of non-K1 and K2 overhead bytes, so as to transfer the LP-S command information issued to a certain network element Pass it to the peer network element, so that the network elements at both ends can know the delivery of the LP-S command. Therefore, the implementation of the present invention ensures that during the multiplex section protection process, the network elements at both ends that issue the LP-S command can accurately identify the LP-S request, so as to effectively distinguish the corresponding LP-S and SF-P Requests are processed in different ways. At the same time, the present invention can also make it easier to identify the switching state of the network element.

Figure 200410098488

Description

复用段保护中区分LP-S和SF-P请求的方法Method for Distinguishing LP-S and SF-P Requests in Multiplex Section Protection

技术领域technical field

本发明涉及网络通信保护技术领域,尤其涉及一种复用段保护中区分LP-S(区段保护锁定)和SF-P(信号失效保护)请求的方法。The invention relates to the technical field of network communication protection, in particular to a method for distinguishing LP-S (section protection locking) and SF-P (signal failure protection) requests in multiplex section protection.

背景技术Background technique

复用段保护是SDH/SONET设备中的一种主要保护手段,由于具有倒换响应时间短,支持完善的APS(自动保护倒换)协议及丰富的外部倒换命令,倒换可靠性高等优点,因此在光网络中得到广泛的使用。Multiplex section protection is a main protection method in SDH/SONET equipment. Due to its short switching response time, support for a complete APS (Automatic Protection Switching) protocol, rich external switching commands, and high switching reliability, it is used in optical widely used in the network.

复用段保护是通过SDH/SONET的复用段的K1和K2开销字节传递APS倒换协议的,这两个开销字节的定义如表1所示:Multiplex section protection transmits the APS switching protocol through the K1 and K2 overhead bytes of the SDH/SONET multiplex section. The definition of these two overhead bytes is shown in Table 1:

表1:                               K1                               K2   1   2   3   4   5   6   7   8   1   2   3   4   5   6   7   8 倒换请求 目的节点号 源节点号   长短径 倒换状态 Table 1: K1 K2 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 switch request destination node number source node number long and short diameter switch state

从表1可知,其中K1的低四位传递倒换请求,由于只有四位,所以只能区分16种不同的倒换请求,根据G.841标准规定,相应的各种倒换请求的取值分别如表2所示:It can be seen from Table 1 that the lower four bits of K1 transmit switching requests. Since there are only four bits, only 16 different switching requests can be distinguished. According to the G.841 standard, the values of the corresponding switching requests are shown in Table 1. 2 shows:

表2:   Bridge Request code(Bits D1-D4)   Bits   D1 D2 D3 D4   1  1  1  1   Signal Fail(Protection)SF-P/Lockout of Protection(Span)LP-S   1  1  1  0   Forced Switch(Span)FS-S   1  1  0  1   Forced Switch(Ring)FS-R   1  1  0  0   Signal Fail(Span)SF-S   1  0  1  1   Signal Fail(Ring)SF-R   1  0  1  0   Signal Degrade(Protection)SD-P   1  0  0  1   Signal Degrade(Span)SD-S   1  0  0  0   Signal Degrade(Ring)SD-R   0  1  1  1   Manual Switch(Span)MS-S   0  1  1  0   Manual Switch(Ring)MS-R   0  1  0  1   Wait-To-Restore WTR   0  1  0  0   Exerciser(Span)EXER-S   0  0  1  1   Exerciser(Ring)EXER-R   0  0  1  0   Reverse Request(Span)RR-S   0  0  0  1   Reverse Request(Ring)RR-R   0  0  0  0   No Request NR Table 2: Bridge Request code (Bits D1-D4) Bits D1 D2 D3 D4 1 1 1 1 Signal Fail(Protection)SF-P/Lockout of Protection(Span)LP-S 1 1 1 0 Forced Switch(Span)FS-S 1 1 0 1 Forced Switch(Ring)FS-R 1 1 0 0 Signal Fail(Span)SF-S 1 0 1 1 Signal Fail(Ring)SF-R 1 0 1 0 Signal Degrade(Protection)SD-P 1 0 0 1 Signal Degrade(Span)SD-S 1 0 0 0 Signal Degrade(Ring)SD-R 0 1 1 1 Manual Switch(Span)MS-S 0 1 1 0 Manual Switch(Ring)MS-R 0 1 0 1 Wait-To-Restore WTR 0 1 0 0 Exerciser(Span)EXER-S 0 0 1 1 Exerciser (Ring) EXER-R 0 0 1 0 Reverse Request (Span) RR-S 0 0 0 1 Reverse Request (Ring) RR-R 0 0 0 0 No Request NR

从表2可以看出,在k字节传递的信令中SF-P、LP-S使用相同的值来表示。因此,当发生倒换的时候,发生倒换的区段的对端网元无法根据收到的信令中的k1字节中的倒换请求字段值区分出倒换请求究竟是SF-P请求还是LP-S请求,即当收到的信令中的倒换请求字段为0xf值时节点无法区分是SF-P或LP-S。It can be seen from Table 2 that SF-P and LP-S are represented by the same value in the signaling transmitted by k bytes. Therefore, when switching occurs, the peer network element of the segment where switching occurs cannot distinguish whether the switching request is an SF-P request or an LP-S request based on the value of the switching request field in the k1 byte in the received signaling. request, that is, when the switching request field in the received signaling is 0xf, the node cannot distinguish whether it is SF-P or LP-S.

而在G.841标准中规定SF-P请求和LP-S请求的协议处理过程是不相同的,例如,在环形复用段保护的情况下,SF-P与同区段的环倒换请求可以共存,但是LP-S却不允许同区段存在任何的环倒换,因而,如果在网元上无法区分出SF-P、LP-S请求将影响到具体的协议处理。However, in the G.841 standard, it is stipulated that the protocol processing procedures of SF-P requests and LP-S requests are different. For example, in the case of ring multiplex section However, LP-S does not allow any ring switching in the same segment. Therefore, if the SF-P and LP-S requests cannot be distinguished on the network element, the specific protocol processing will be affected.

另外,在环形和线性复用段上,如果不能有效的区分SF-P、LP-S请求,还将导致在查询复用段状态的情况下,倒换区段的一端网元的复用段状态是SF-P,而另一端网元的复用段状态却是LP-S,从而产生复用段状态误解。In addition, on the ring and linear multiplex sections, if the SF-P and LP-S requests cannot be effectively distinguished, it will also cause the multiplex section status of the network element at one end of the section to be switched in the case of querying the multiplex section status It is SF-P, but the multiplex section status of the network element at the other end is LP-S, resulting in misunderstanding of the multiplex section status.

为此,需要有一种技术方案可以实现当网元收到倒换请求后,可以区分出倒换请求是SF-P或LP-S请求。For this reason, a technical solution is required to realize that when a network element receives a switching request, it can distinguish whether the switching request is an SF-P request or an LP-S request.

目前采用的一种方法为:利用开销字节中的k2字节的高三位传递的倒换状态字段中的RDI(远端缺陷指示)进行区分。当收到的倒换请求字段为0xf时,则判断倒换状态字段的值是否为0x6,如果是,则确定倒换请求是SF-P,如果倒换状态字段的值不是0x6,则倒换请求是LP-S。One method adopted at present is: use the RDI (Remote Defect Indication) in the switching status field transmitted by the upper three bits of the k2 byte in the overhead byte to distinguish. When the received switching request field is 0xf, then judge whether the value of the switching status field is 0x6, if yes, then determine that the switching request is SF-P, if the value of the switching status field is not 0x6, then the switching request is LP-S .

然而,该方法只能在特定情况下有效的区分LP-S和SF-P请求,而在有些情况下却无法实现有效地区分SF-P、LP-S请求。However, this method can only effectively distinguish LP-S and SF-P requests in certain cases, but cannot effectively distinguish SF-P and LP-S requests in some cases.

如图1所示,如果在网元A的东向下发LP-S命令,且假设AB之间的区段的保护光纤都是好的情况下,则B收到的k字节的倒换请求字段是0xf,倒换状态字段不是0x6,因此B可以判断收到的倒换请求是LP-S。As shown in Figure 1, if the LP-S command is sent to the east of network element A, and assuming that the protection fibers in the section between A and B are all good, then the k-byte switching request received by B The field is 0xf, and the switching status field is not 0x6, so B can determine that the received switching request is LP-S.

然而,当AB区段出现保护光纤断掉的情况时,则B无法收到短径方向的k字节(只有短径方向插入RDI),因此网元B根本无法知道网元A下发LP-S命令的情况;如果网元A的东向的保护收纤断掉,同时在网元A的东向下发LP-S命令,则可以收到k字节传递的信令,所述k字节的倒换请求字段是0xf,倒换状态字段是0x6,因此,判断收到的倒换请求是SF-P,但实际上应该是LP-S请求起作用。导致SF-P、LP-S请求误判。However, when the protective optical fiber is cut off in section AB, B cannot receive k bytes in the short path direction (only RDI is inserted in the short path direction), so NE B has no way of knowing that NE A issued LP- In the case of the S command; if the eastbound protection fiber of network element A is broken, and the LP-S command is sent to the eastbound of network element A at the same time, the signaling transmitted by k bytes can be received, and the k bytes The switching request field of the stanza is 0xf, and the switching status field is 0x6. Therefore, it is judged that the received switching request is SF-P, but in fact it should be the LP-S request that works. This leads to misjudgment of SF-P and LP-S requests.

目前采用的另一种技术方案是:美国专利US 2002/0039348 A1中提供一种使用k2中的倒换状态字段中在G.841规定中没有定义的两个值0x4、0x5区分SF-P、LP-S的方法。Another technical solution currently adopted is: U.S. Patent US 2002/0039348 A1 provides a method to distinguish SF-P and LP by using two values 0x4 and 0x5 that are not defined in the G.841 regulation in the switching state field in k2 -S method.

可以看出,在上述方法中,可以针对图1中的情况进行SF-P、LP-S请求的区分。即解决了A端东向下发LP-S(或者检测到SF-P,即A的东向保护收纤断),且B的西向本地有SF-R请求(即B的西向的工作和保护的收纤都断)地情况下,进行复用段倒换时SF-P、LP-S请求的区分问题。这是因为在AB区段SF-P和SF-R可以共存,而LP-S需要抢占SF-R,因此,必需通过倒换状态字段中的未定义的两个值对SF-P和LP-S加以区分,上述专利有效地解决了这一问题。It can be seen that in the above method, SF-P and LP-S requests can be distinguished for the situation in FIG. 1 . That is, it solves the problem that end A sends LP-S to the east (or detects SF-P, that is, A's east protection fiber receiving is broken), and B's west has a local SF-R request (that is, B's west work and protection In the case of all receiving fibers are broken), the problem of distinguishing SF-P and LP-S requests when performing multiplex section switching. This is because SF-P and SF-R can coexist in the AB section, and LP-S needs to preempt SF-R. Therefore, it is necessary to pair SF-P and LP-S by switching the two undefined values in the status field. To make a distinction, the above-mentioned patents effectively solve this problem.

但是,如果除AB之外的其他区段还存在倒换请求的情况下则这种方案将失效,因为A发出的长径的k字节将不能传递到B,网元B自然也就无法按照专利US 2002/0039348 A1提供的方法中从接收到的从A发出的k字节中相应的值判断A的请求是SF-P还是LP-S。因此,该方法仍有很大的局限性。However, if there are switching requests in other sections except AB, this scheme will fail, because the long-path k bytes sent by A will not be transmitted to B, and network element B will naturally not be able to follow the patent In the method provided by US 2002/0039348 A1, it is judged whether A's request is SF-P or LP-S from the corresponding value in the k bytes received from A. Therefore, this method still has great limitations.

发明内容Contents of the invention

鉴于上述现有技术所存在的问题,本发明的目的是提供一种复用段保护中区分LP-S和SF-P请求的方法,可以有效区分各种情况下的LP-S和SF-P请求,为倒换协议处理和倒换状态查询提供了方便。In view of the problems in the prior art above, the purpose of the present invention is to provide a method for distinguishing LP-S and SF-P requests in multiplex section protection, which can effectively distinguish LP-S and SF-P requests in various situations Request, which provides convenience for switching protocol processing and switching status query.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

本发明提供了一种复用段保护中区分LP-S和SF-P请求的方法,包括:The invention provides a method for distinguishing LP-S and SF-P requests in multiplex section protection, including:

A、网元接收区段保护锁定LP-S命令后,向对端网元发送LP-S请求通知报文;A. After the network element receives the section protection lock LP-S command, it sends an LP-S request notification message to the peer network element;

B、对端网元收到所述的通知报文后,记录该LP-S请求信息;B. After receiving the notification message, the peer network element records the LP-S request information;

C、当对端网元收到标识为LP-S或SF-P请求的倒换请求时,根据记录的信息确定收到的倒换请求是LP-S请求。C. When the peer network element receives a switching request identified as an LP-S or SF-P request, it determines that the received switching request is an LP-S request according to recorded information.

所述的步骤A包括:Described step A comprises:

将所述的LP-S请求通知报文通过数据通信通道DCC或专用控制通道发送给对端网元。Send the LP-S request notification message to the peer network element through the data communication channel DCC or the dedicated control channel.

所述的步骤B包括:Described step B comprises:

对端网元采用单独设置的请求属性标志记录另一端网元传递来的LP-S命令的信息。The opposite end network element records the information of the LP-S command transmitted from the other end network element using a separately set request attribute flag.

所述的步骤C包括:Described step C comprises:

对端网元收到K字节的倒换请求字段的倒换请求是0Xf,则查询是否记录了另一端网元下发LP-S请求的信息,如果是,则确定收到的倒换请求是LP-S请求,否则,确定所述的倒换请求是SF-P请求。If the peer network element receives the switching request in the K-byte switching request field and the switching request is 0Xf, check whether the information of the LP-S request issued by the other network element is recorded, and if so, determine that the received switching request is LP-S S request, otherwise, determine that the switching request is an SF-P request.

所述的步骤B还包括:Described step B also includes:

B1、对端网元向另一端网元返回LP-S请求通知报文的响应报文;B1. The peer network element returns a response message of the LP-S request notification message to the other network element;

B2、另一端网元判断在设定的时间内是否收到所述的响应报文,如果收到,则在本端网元记录LP-S命令已下发的信息,否则,本端网元向下发LP-S命令端返回命令下发无响应的信息。B2. The network element at the other end judges whether the response message has been received within the set time. If it is received, record the information that the LP-S command has been issued in the network element at the local end. Otherwise, the network element at the local end The terminal that sends the LP-S command returns the message that the command is sent without response.

所述的步骤B2还包括:Described step B2 also includes:

本端网元下发无响应的信息后,还向对端网元发送清除LP-S请求的报文,对端网元收到所述报文后,将其记录的请求属性标识设置为无请求。After the local network element sends the message of no response, it also sends a message to clear the LP-S request to the peer network element. After receiving the message, the peer network element sets the request attribute identifier recorded by it to None ask.

所述的复用段保护中区分LP-S和SF-P请求的方法还包括:The method for distinguishing LP-S and SF-P requests in the multiplex section protection also includes:

D、网元收到所述的清除LP-S命令时,查看本地网元是否记录有LP-S命令已下发的信息,如果有,则执行步骤E,否则,执行步骤F;D. When the network element receives the clear LP-S command, check whether the local network element records the information that the LP-S command has been sent, if so, execute step E, otherwise, execute step F;

E、生成清除LP-S请求的报文,并发送给对端网元,对端网元收到所述报文后,将其记录的请求属性标识设置为无请求;E. Generate a message for clearing the LP-S request, and send it to the peer network element. After the peer network element receives the message, set its recorded request attribute identifier to no request;

F、向下发清除LP-S命令端返回命令错误的信息。F. Send downward the message of clearing the command error returned by the LP-S command terminal.

所述的步骤E还包括:Described step E also comprises:

对端网元向本端网元返回响应报文;The peer network element returns a response message to the local network element;

本端网元判断在设定的时间内是否收到所述的响应报文,如果收到,则将记录的LP-S命令已下发信息修改为无请求,并据此进行协议处理。否则,向下发清除LP-S命令端返回命令下发无响应信息。The local network element judges whether the response message is received within the set time, and if so, modifies the recorded LP-S command issued information to no request, and performs protocol processing accordingly. Otherwise, send the clear LP-S command to the terminal and return the command to send no response information.

由上述本发明提供的技术方案可以看出,本发明是通过非K1、K2开销字节的方式在两端网元间进行LP-S和SF-P请求识别信息的传递,从而使得两端网元均可以知道LP-S命令的下发。因此,本发明的实现,保证了在复用段保护过程中,下发LP-S命令的两端网元均可以准确识别出LP-S请求,以有效区分相应的LP-S和SF-P请求,分别采用不同方式进行处理。同时,本发明也可以使得网元的倒换状态较易识别。It can be seen from the above-mentioned technical solution provided by the present invention that the present invention transmits LP-S and SF-P request identification information between network elements at both ends by means of non-K1 and K2 overhead bytes, so that both ends of the network Yuan Jun can know the issuance of the LP-S command. Therefore, the implementation of the present invention ensures that during the multiplex section protection process, the network elements at both ends of the issued LP-S command can accurately identify the LP-S request, so as to effectively distinguish the corresponding LP-S and SF-P Requests are handled in different ways. At the same time, the present invention can also make it easier to identify the switching state of the network element.

附图说明Description of drawings

图1为复用段保护环网结构示意图;Figure 1 is a schematic diagram of the multiplex section protection ring network structure;

图2为本发明所述的方法的流程图。Figure 2 is a flow chart of the method of the present invention.

具体实施方式Detailed ways

本发明的核心是采用非K1、K2字节开销的方式(如通过数据通信通道方式等)进行网元间的通讯,以将向网元下发的LP-S命令信息传递给对端网元,使对端网元可以不通过k字节的传递就能够知道本区段的LP-S命令的下发,进而方便了协议的处理和网元协议状态的查询。The core of the present invention is to use a non-K1, K2 byte overhead method (such as through a data communication channel, etc.) to communicate between network elements, so as to transfer the LP-S command information sent to the network element to the peer network element , so that the peer network element can know the delivery of the LP-S command in this section without transmitting k bytes, which facilitates the processing of the protocol and the query of the protocol state of the network element.

本发明所述的方法的主要处理过程包括:The main process of the method of the present invention comprises:

首先,当网管向本端网元下发LP-S命令时,则本端网元向对端网元发送LP-S请求通知报文;First, when the network management issues an LP-S command to the local network element, the local network element sends an LP-S request notification message to the peer network element;

对端网元根据收到的所述通知报文记录另一端网元下发LP-S命令的信息,并向本端网元返回响应信息,以便于本端网元确认LP-S命令已下发;The peer network element records the information of the LP-S command issued by the other network element according to the received notification message, and returns a response message to the local network element, so that the local network element can confirm that the LP-S command has been issued hair;

这样,当对端网元收到本端网元发送的倒换请求,或需要查询对端倒换状态时,则可以根据其中保存记录的信息确定是否为LP-S请求。In this way, when the peer network element receives the switching request sent by the local network element, or needs to query the switching status of the peer end, it can determine whether it is an LP-S request according to the information stored therein.

本发明所述的方法的具体实现方式如图2所示,具体包括以下步骤:The specific implementation of the method of the present invention is shown in Figure 2, specifically comprising the following steps:

步骤21:在复用段保护过程中,网管向某个网元A下发LP-S命令,如图1所示,假设网元A收到下发的LP-S命令,称其为本端网元,网元B是同区段的另一端的网元,称其为对端网元;Step 21: During the multiplex section protection process, the network management issues an LP-S command to a certain network element A, as shown in Figure 1, assuming that network element A receives the issued LP-S command, it is called the local end Network element, network element B is the network element at the other end of the same segment, and is called the peer network element;

步骤22:网元A接收到网管下发的LP-S命令后,则向对端网元,即网元B发送LP-S请求通知报文,用于通知网元B本区段发生LP-S请求;Step 22: After network element A receives the LP-S command issued by the network management system, it sends an LP-S request notification message to the peer network element, that is, network element B, to notify network element B of the occurrence of LP-S in this section. S request;

步骤23:对端网元B收到所述的LP-S请求通知报文之后,在本地利用设置的请求属性标志(可以称为属性1)记录下网元A下发的LP-S命令的信息,属性1的作用是标识对端的网元是否下发了LP-S命令;Step 23: After the peer network element B receives the LP-S request notification message, it uses the set request attribute flag (which can be called attribute 1) to record the LP-S command issued by the network element A locally. Information, the function of attribute 1 is to identify whether the peer network element has issued the LP-S command;

步骤24:网元B修改属性1信息的同时还需要向网元A发送所述LP-S请求通知报文的响应报文;Step 24: When network element B modifies attribute 1 information, it also needs to send a response message of the LP-S request notification message to network element A;

步骤25:网元A判断在设定的时间内是否收到所述的响应报文,如果收到,则执行步骤26,否则,执行步骤27;Step 25: Network element A judges whether the response message is received within the set time, if so, execute step 26, otherwise, execute step 27;

如果网元B没有收到网元A的LP-S请求通知报文,或者网元A没有收到网元B的响应报文,则网元A在设定的时间(如3秒)超时之后,将接收不到网元B的响应报文;If network element B has not received the LP-S request notification message from network element A, or network element A has not received the response message from network element B, then network element A will , the response message from network element B will not be received;

步骤26:网元A收到响应报文后,在网元A的外部倒换命令标志(可以称为属性2)中记录LP-S命令已下发中记录LP-S命令,并进行协议处理,同时,执行步骤29;Step 26: After network element A receives the response message, record the LP-S command in the external switching command flag (which may be called attribute 2) of network element A. Record the LP-S command in the issued, and perform protocol processing, At the same time, execute step 29;

步骤27:网元A返回网管命令下发得不到执行的返回信息,同时向网元B发送清除LP-S的报文;Step 27: Network element A returns the return information that the network management command cannot be executed, and at the same time sends a message to clear LP-S to network element B;

步骤28:网元B收到所述清除LP-S的报文后,则清除属性1中记录的信息,并设置为NR(无请求),同时,执行步骤29;Step 28: After network element B receives the message for clearing LP-S, it clears the information recorded in attribute 1 and sets it as NR (no request), and at the same time, executes step 29;

步骤29:网元B等待接收网元A发送来的倒换请求;Step 29: Network element B waits to receive the switching request sent by network element A;

步骤210:网元B在收到网元A发来的k字节的倒换请求,且倒换请求字段的倒换请求是0xf;Step 210: Network element B receives the k-byte switching request sent by network element A, and the switching request in the switching request field is 0xf;

步骤211:根据网元B保存的属性1确定所述的倒换请求是LP-S请求或者SF-P请求;Step 211: Determine whether the switching request is an LP-S request or an SF-P request according to attribute 1 saved by network element B;

网元B判断属性1是否记录网元A下发LP-S命令,如果是,则确定所述的倒换请求为LP-S请求,否则,确定所述的倒换请求为SF-P请求;Network element B judges whether attribute 1 records the LP-S command issued by network element A, if yes, then determines that the switching request is an LP-S request, otherwise, determines that the switching request is an SF-P request;

经过前面的处理过程,在该步骤中根据属性1记录的信息便可以知道收到的倒换请求是SF-P请求,还是LP-S请求,以便于对其进行相应的处理;After the previous processing, in this step, according to the information recorded in attribute 1, it can be known whether the received switching request is an SF-P request or an LP-S request, so as to handle it accordingly;

本发明中,当需要查询倒换状态的时候,如果本地记录的倒换请求是0xf,则同样需要根据本地的属性1中记录的信息,获知该倒换请求究竟是LP-S还是SF-P,这样,网管便可以正确的显示倒换状态。In the present invention, when the switching state needs to be queried, if the switching request recorded locally is 0xf, it is also necessary to know whether the switching request is LP-S or SF-P according to the information recorded in the local attribute 1. In this way, The network management system can correctly display the switching status.

本发明所述的方法还包括网管向某个网元下发清除LP-S命令时的处理过程。仍假设LP-S倒换命令是向网元A下发的,网元B是同区段的另一端的网元,具体的处理过程包括:The method of the present invention also includes the processing procedure when the network manager issues a clear LP-S command to a certain network element. It is still assumed that the LP-S switching command is issued to NE A, and NE B is the NE at the other end of the same segment. The specific processing process includes:

(1)如果向网元B下发清除LP-S命令,因为网元B本地属性2中的值不是0xf,即网管没有向网元B下发过LP-S倒换命令,此时,网元B向网管返回命令错误的信息。(1) If the clear LP-S command is issued to NE B, because the value in the local attribute 2 of NE B is not 0xf, that is, the network management has not issued the LP-S switching command to NE B, at this time, the NE B returns the command error information to the network management system.

(2)如果向网元A下发清除LP-S命令,网元B本地属性2中的值是0xf,则网元A向网元B发送清除LP-S的报文,以清除网元B的属性1的值;对端网元B收到清除LP-S的报文之后,将本地的属性1恢复为NR,同时向网元A发送响应报文。(2) If the clear LP-S command is issued to network element A, and the value of local attribute 2 of network element B is 0xf, then network element A sends a clear LP-S message to network element B to clear network element B The value of attribute 1 of the network element B; after receiving the message of clearing LP-S, the remote network element B restores the local attribute 1 to NR, and sends a response message to network element A at the same time.

如果网元B没有收到网元A的清除LP-S的报文,或者网元A没有收到网元B的响应报文,则网元A在3秒超时之后,将向网管返回命令下发得不到执行的返回信息,即向网管命令下发无响应信息,通知网管,其下发的命令无法得到执行。同时向网元B发送LP-S的请求通知报文,以防止网元B中的属性1已经被清除导致的两端不一致的情况。If NE B does not receive the message for clearing LP-S from NE A, or if NE A does not receive the response message from NE B, then NE A will return the command to the network management system after a timeout of 3 seconds. Send the return information that cannot be executed, that is, send a non-response message to the network management command, and notify the network management that the command it issued cannot be executed. At the same time, an LP-S request notification message is sent to network element B to prevent the inconsistency between the two ends caused by the fact that attribute 1 in network element B has been cleared.

如网元A收到针对清除LP-S的报文的响应报文,则将网元A的属性2中记录的信息恢复为NR,并进行协议处理。If network element A receives the response message for clearing the LP-S message, restore the information recorded in attribute 2 of network element A to NR, and perform protocol processing.

本发明中所述的LP-S请求通知报文,及清除LP-S命令的报文均可以通过DCC(数据通信通道)或专用通道在网元间传递,也可以采用其他可以保证网元间信息可靠传递的通道进行传输。The LP-S request notification message described in the present invention and the message of clearing the LP-S command can be transmitted between network elements through DCC (data communication channel) or dedicated channels, and can also be adopted to ensure that the LP-S between network elements Channels for reliable delivery of information.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (8)

1、一种复用段保护中区分LP-S和SF-P请求的方法,其特征在于,包括:1. A method for distinguishing LP-S and SF-P requests in multiplex section protection, characterized in that it comprises: A、网元接收区段保护锁定LP-S命令后,向对端网元发送LP-S请求通知报文;A. After the network element receives the section protection lock LP-S command, it sends an LP-S request notification message to the peer network element; B、对端网元收到所述的通知报文后,记录该LP-S请求信息;B. After receiving the notification message, the peer network element records the LP-S request information; C、当对端网元收到标识为LP-S或SF-P请求的倒换请求时,根据记录的信息确定收到的倒换请求是LP-S请求。C. When the peer network element receives a switching request identified as an LP-S or SF-P request, it determines that the received switching request is an LP-S request according to recorded information. 2、根据权利要求1所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,所述的步骤A包括:2. The method for distinguishing between LP-S and SF-P requests in multiplex section protection according to claim 1, wherein said step A comprises: 将所述的LP-S请求通知报文通过数据通信通道DCC或专用控制通道发送给对端网元。Send the LP-S request notification message to the peer network element through the data communication channel DCC or the dedicated control channel. 3、根据权利要求1所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,所述的步骤B包括:3. The method for distinguishing between LP-S and SF-P requests in multiplex section protection according to claim 1, wherein said step B comprises: 对端网元采用单独设置的请求属性标志记录另一端网元传递来的LP-S命令的信息。The opposite end network element records the information of the LP-S command transmitted from the other end network element using a separately set request attribute flag. 4、根据权利要求1、2或3所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,所述的步骤C包括:4. The method for distinguishing between LP-S and SF-P requests in multiplex section protection according to claim 1, 2 or 3, wherein said step C comprises: 对端网元收到K字节的倒换请求字段的倒换请求是OXf,则查询是否记录了另一端网元下发LP-S请求的信息,如果是,则确定收到的倒换请求是LP-S请求,否则,确定所述的倒换请求是SF-P请求。If the peer network element receives the switching request in the K-byte switching request field and the switching request is OXf, check whether the information of the LP-S request issued by the other network element is recorded, and if so, determine that the received switching request is LP-S S request, otherwise, determine that the switching request is an SF-P request. 5、根据权利要求1、2或3所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,所述的步骤B还包括:5. The method for distinguishing between LP-S and SF-P requests in multiplex section protection according to claim 1, 2 or 3, characterized in that said step B further comprises: B1、对端网元向另一端网元返回LP-S请求通知报文的响应报文;B1. The peer network element returns a response message of the LP-S request notification message to the other network element; B2、另一端网元判断在设定的时间内是否收到所述的响应报文,如果收到,则在本端网元记录LP-S命令已下发的信息,否则,本端网元向下发LP-S命令端返回命令下发无响应的信息。B2. The network element at the other end judges whether the response message has been received within the set time. If it is received, record the information that the LP-S command has been issued in the network element at the local end. Otherwise, the network element at the local end The terminal that sends the LP-S command returns the message that the command is sent without response. 6、根据权利要求5所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,所述的步骤B2还包括:6. The method for distinguishing between LP-S and SF-P requests in multiplex section protection according to claim 5, characterized in that said step B2 further comprises: 本端网元下发无响应的信息后,还向对端网元发送清除LP-S请求的报文,对端网元收到所述报文后,将其记录的请求属性标识设置为无请求。After the local network element sends the message of no response, it also sends a message to clear the LP-S request to the peer network element. After receiving the message, the peer network element sets the request attribute identifier recorded by it to None ask. 7、根据权利要求1、2或3所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,该方法还包括:7. The method for distinguishing LP-S and SF-P requests in multiplex section protection according to claim 1, 2 or 3, characterized in that the method further comprises: D、网元收到所述的清除LP-S命令时,查看本地网元是否记录有LP-S命令已下发的信息,如果有,则执行步骤E,否则,执行步骤F;D. When the network element receives the clear LP-S command, check whether the local network element records the information that the LP-S command has been sent, if so, execute step E, otherwise, execute step F; E、生成清除LP-S请求的报文,并发送给对端网元,对端网元收到所述报文后,将其记录的请求属性标识设置为无请求;E. Generate a message for clearing the LP-S request, and send it to the peer network element. After the peer network element receives the message, set its recorded request attribute identifier to no request; F、向下发清除LP-S命令端返回命令错误的信息。F. Send downward the message of clearing the command error returned by the LP-S command terminal. 8、根据权利要求7所述的复用段保护中区分LP-S和SF-P请求的方法,其特征在于,所述的步骤E还包括:8. The method for distinguishing LP-S and SF-P requests in multiplex section protection according to claim 7, characterized in that said step E further comprises: 对端网元向本端网元返回响应报文;The peer network element returns a response message to the local network element; 本端网元判断在设定的时间内是否收到所述的响应报文,如果收到,则将记录的LP-S命令已下发信息修改为无请求,并据此进行协议处理。否则,向下发清除LP-S命令端返回命令下发无响应信息。The local network element judges whether the response message is received within the set time, and if so, modifies the recorded LP-S command issued information to no request, and performs protocol processing accordingly. Otherwise, send the clear LP-S command to the terminal and return the command to send no response information.
CNB2004100984882A 2004-12-13 2004-12-13 Method for Distinguishing LP-S and SF-P Requests in Multiplex Section Protection Expired - Fee Related CN100542168C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100984882A CN100542168C (en) 2004-12-13 2004-12-13 Method for Distinguishing LP-S and SF-P Requests in Multiplex Section Protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100984882A CN100542168C (en) 2004-12-13 2004-12-13 Method for Distinguishing LP-S and SF-P Requests in Multiplex Section Protection

Publications (2)

Publication Number Publication Date
CN1791096A true CN1791096A (en) 2006-06-21
CN100542168C CN100542168C (en) 2009-09-16

Family

ID=36788592

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100984882A Expired - Fee Related CN100542168C (en) 2004-12-13 2004-12-13 Method for Distinguishing LP-S and SF-P Requests in Multiplex Section Protection

Country Status (1)

Country Link
CN (1) CN100542168C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192892B (en) * 2006-11-24 2011-11-30 中兴通讯股份有限公司 Method for preventing the multiplexing band switch cancellation for damaging the service
CN101394261B (en) * 2007-09-17 2012-02-15 华为技术有限公司 State transition method and network node device
CN102474429A (en) * 2009-08-17 2012-05-23 上海贝尔股份有限公司 Method and means for state transition of Ethernet linear protection switching
CN103607237A (en) * 2013-12-05 2014-02-26 烽火通信科技股份有限公司 One-to-one bidirectional optical circuit protection switching method based on control command bytes

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192892B (en) * 2006-11-24 2011-11-30 中兴通讯股份有限公司 Method for preventing the multiplexing band switch cancellation for damaging the service
CN101394261B (en) * 2007-09-17 2012-02-15 华为技术有限公司 State transition method and network node device
CN102474429A (en) * 2009-08-17 2012-05-23 上海贝尔股份有限公司 Method and means for state transition of Ethernet linear protection switching
CN102474429B (en) * 2009-08-17 2015-08-19 上海贝尔股份有限公司 For the method and apparatus of the state-transition that Ethernet cable protection is switched
US9369300B2 (en) 2009-08-17 2016-06-14 Alcatel Lucent Method and means for state transition of Ethernet linear protection switching
CN103607237A (en) * 2013-12-05 2014-02-26 烽火通信科技股份有限公司 One-to-one bidirectional optical circuit protection switching method based on control command bytes
CN103607237B (en) * 2013-12-05 2016-09-28 烽火通信科技股份有限公司 One to one two-way Optical Line Protection reverse method based on control command byte

Also Published As

Publication number Publication date
CN100542168C (en) 2009-09-16

Similar Documents

Publication Publication Date Title
JP5240455B2 (en) Forming method
EP1190520B1 (en) System and method for implementing hybrid automatic repeat request using parity check combining
CN101001123B (en) Inversion method and device for optical transmission
CN100352226C (en) Method for realizing M:N looped network protection switching operation
CN1717910A (en) Methods and devices for exchanging peer parameters between network devices
JP5364889B2 (en) Status report triggers in wireless communication systems
WO2006128368A1 (en) A method for protecting the ring network of optical transport network
US20070133397A1 (en) Smart mechanism for multi-client bidirectional optical channel protection scheme
CN1921456A (en) Label interchange pathway protection method and system
EP2219314B1 (en) Method and apparatus for packet transmission using CRC and equal length packets
BRPI0719757A2 (en) APPLIANCE METHOD FOR TRANSMITTING CONTROL INFORMATION ON UP LINK IN SHARED CHANNELS
CN1117488C (en) route finding in communications networks
CN1756187A (en) Handling of Faults Between Egress Label Switching Router and Its Connected Data Equipment
CN1791096A (en) Method for distinguishing LP-S and SF-P request in multiplex section protection
CN1738231A (en) Method for transmitting information between transmitting device and receiving device and related communication system
CN1753324A (en) Method for realizing M:N protection in communication network and its network node device
CN1738213A (en) Error-proof connection method
CN1968159A (en) Network failure detection interlock method and network operator edge device
ZA200110464B (en) System and method for implementing hybrid automatic repeat request using parity check combining.
CN1753342A (en) Realization method of protection switching in optical network
CN1398094A (en) Data communication method
CN1266894C (en) Data telecommunication method based on redundant network
CN1288860C (en) Method for checking multiplex section state
CN1787514A (en) Method for transmitting and receiving network managing information and controlling signalling information
CN100428728C (en) Implementation method of multiplex section protection protocol

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

Termination date: 20211213

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