[go: up one dir, main page]

CN102843618A - Method and device for SNCP (Sub-network Connection Protection) in butt joint of ASON (Automatically Switched Optical Network) and traditional network - Google Patents

Method and device for SNCP (Sub-network Connection Protection) in butt joint of ASON (Automatically Switched Optical Network) and traditional network Download PDF

Info

Publication number
CN102843618A
CN102843618A CN2011101660715A CN201110166071A CN102843618A CN 102843618 A CN102843618 A CN 102843618A CN 2011101660715 A CN2011101660715 A CN 2011101660715A CN 201110166071 A CN201110166071 A CN 201110166071A CN 102843618 A CN102843618 A CN 102843618A
Authority
CN
China
Prior art keywords
business
service
professional
ason
network
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
CN2011101660715A
Other languages
Chinese (zh)
Other versions
CN102843618B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110166071.5A priority Critical patent/CN102843618B/en
Publication of CN102843618A publication Critical patent/CN102843618A/en
Application granted granted Critical
Publication of CN102843618B publication Critical patent/CN102843618B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及一种ASON与传统网络对接时SNCP保护的方法及装置,包括:建立相互关联的第一业务与第二业务;第一业务与第二业务仅源节点或宿节点在ASON网络的域中,或者第一业务与第二业务的源节点及宿节点均不在ASON网络的域中;根据相互关联的第一业务与第二业务为ASON网络提供SNCP保护。本发明通过建立的相互关联的两条业务,使得ASON网络无论处于哪个域,都可以提供类似于1+1(路径)保护的功能。同时该两个业务可以单独的具有恢复属性,在路径故障发生在ASON域内时,可以在ASON域中实现控制平面的动态重路由,从而提高了ASON网络的安全性。

Figure 201110166071

The present invention relates to a method and device for SNCP protection when ASON is connected to a traditional network, including: establishing a first service and a second service related to each other; the first service and the second service only have source nodes or sink nodes in the domain of the ASON network , or neither the source node nor the sink node of the first service and the second service is in the domain of the ASON network; provide SNCP protection for the ASON network according to the first service and the second service related to each other. The present invention enables the ASON network to provide a function similar to 1+1 (path) protection no matter which domain it is in by establishing two interrelated services. At the same time, the two services can have recovery attributes independently, and when a path failure occurs in the ASON domain, dynamic rerouting of the control plane can be realized in the ASON domain, thereby improving the security of the ASON network.

Figure 201110166071

Description

ASON与传统网络对接时SNCP保护的方法及装置Method and device for SNCP protection when ASON is connected with traditional network

技术领域 technical field

本发明涉及智能光网络领域,尤其涉及在基于SDH(Synchronous DigitalHierarchy,同步数字体系)的一种ASON(Automatically Switched OpticalNetwork,自动交换光网络)与传统网络对接时SNCP(Subnetwork ConnectionProtection,子网连接保护)保护的方法及装置。The present invention relates to the field of intelligent optical networks, in particular to SNCP (Subnetwork Connection Protection, subnetwork connection protection) when a kind of ASON (Automatically Switched Optical Network, Automatically Switched Optical Network) based on SDH (Synchronous Digital Hierarchy, Synchronous Digital System) is docked with a traditional network Protection methods and devices.

背景技术 Background technique

通常,网络的生存性是指网络在发生故障时仍能继续正常运行的能力。为了增强传送网的可用性,以及维持现有呼叫的完整性,ASON网络需要采用一定的保护和恢复机制。In general, the survivability of a network refers to the ability of the network to continue to operate normally in the event of a failure. In order to enhance the availability of the transport network and maintain the integrity of existing calls, the ASON network needs to adopt certain protection and recovery mechanisms.

ASON网络的恢复是指通过使用网络的空闲容量重现选路来替代出现故障的连接。基于控制平面的恢复的方式主要是动态重路由,在故障发生后,利用信令实时的建立恢复路径。Restoration of an ASON network refers to the replacement of failed connections by rerouting using the idle capacity of the network. The recovery method based on the control plane is mainly dynamic rerouting, and after a fault occurs, a recovery path is established in real time by using signaling.

ASON网络支持的保护机制可分为两种类型:基于传送平面的保护和基于控制平面的保护。其中,基于控制平面的保护发生在控制平面保护域的源节点和宿节点之间,通过源节点和宿节点之间的协调来完成保护机制的操作。基于控制平面的保护中应用较普遍的是1+1端到端(路径)保护。The protection mechanisms supported by the ASON network can be divided into two types: protection based on the transmission plane and protection based on the control plane. Among them, the protection based on the control plane occurs between the source node and the sink node of the control plane protection domain, and the operation of the protection mechanism is completed through the coordination between the source node and the sink node. The 1+1 end-to-end (path) protection is widely used in the protection based on the control plane.

而在实际组网中,可能出现ASON网络与传统网络对接的情况,此时也需要提供1+1路径保护。如图1a所示,域A为ASON域,域B为传统SDH/MSTP网络,只有源节点在ASON域中;或者,如图1b所示,当域A和域C为传统SDH(Synchronous Digital Hierarchy,同步数字传输体制)/MSTP(Multi-Service Transfer Platform,多业务传送平台)网络、域B为ASON网络时,业务的源、宿节点均不在ASON网络(域B)中;当域B为传统SDH/MSTP网络且域A或域C为ASON网络时,只有源(或宿)节点在ASON域中。现有的解决方案无法同时实现上述两种场景下的ASON网络与传统对接时的1+1保护,从而降低了ASON网络的安全性。However, in actual networking, ASON networks may be interconnected with traditional networks, and 1+1 path protection also needs to be provided at this time. As shown in Figure 1a, domain A is an ASON domain, domain B is a traditional SDH/MSTP network, and only the source node is in the ASON domain; or, as shown in Figure 1b, when domain A and domain C are traditional SDH (Synchronous Digital Hierarchy , Synchronous Digital Transmission System)/MSTP (Multi-Service Transfer Platform) network, domain B is ASON network, the source and sink nodes of the business are not in ASON network (domain B); when domain B is traditional When SDH/MSTP network and domain A or domain C is ASON network, only the source (or sink) node is in the ASON domain. Existing solutions cannot realize the 1+1 protection when the ASON network is interconnected with the traditional ones in the above two scenarios at the same time, thus reducing the security of the ASON network.

发明内容 Contents of the invention

本发明的主要目的在于提供一种ASON与传统网络对接时SNCP保护的方法及装置,旨在提高ASON网络的安全性。The main purpose of the present invention is to provide a method and device for SNCP protection when ASON is connected with traditional network, aiming at improving the security of ASON network.

为了达到上述目的,本发明提出一种ASON与传统网络对接时SNCP保护的方法,包括:In order to achieve the above object, the present invention proposes a method for SNCP protection when an ASON is connected to a traditional network, including:

建立相互关联的第一业务与第二业务;所述第一业务与第二业务仅源节点或宿节点在ASON网络的域中,或者所述第一业务与第二业务的源节点及宿节点均不在ASON网络的域中;Establish a first service and a second service that are related to each other; only the source node or the sink node of the first service and the second service is in the domain of the ASON network, or the source node and the sink node of the first service and the second service None of them are in the domain of ASON network;

根据所述相互关联的第一业务与第二业务为ASON网络提供SNCP保护。SNCP protection is provided for the ASON network according to the interrelated first service and the second service.

优选地,当所述第一业务与第二业务仅源节点或宿节点在ASON网络的域中时,所述建立相互关联的第一业务与第二业务的步骤包括:Preferably, when only the source node or the sink node of the first service and the second service is in the domain of the ASON network, the step of establishing the first service and the second service associated with each other includes:

建立无保护的所述第一业务;establishing said first service unprotected;

选用与所述第一业务相同的上业务时隙,建立所述第二业务,并指定与所述第一业务关联。Selecting the same upper service time slot as the first service, establishing the second service, and assigning it to be associated with the first service.

优选地,所述建立第二业务,并指定与所述第一业务关联的步骤包括:Preferably, the step of establishing a second service and specifying the association with the first service includes:

建立第二业务的本地信息,并在第二业务的本地信息中保存该第二业务的关联业务标识为所述第一业务;以及获取所述第一业务的本地信息,并在所述第一业务的本地信息中保存该第一业务的关联业务标识为所述第二业务;establishing the local information of the second service, and storing the associated service identifier of the second service as the first service in the local information of the second service; and obtaining the local information of the first service, and The associated service identifier of the first service stored in the local information of the service is the second service;

从所述第一业务的本地信息中取出所述第一业务的路由信息,发起算路请求;fetching the routing information of the first service from the local information of the first service, and initiating a path calculation request;

当所述第一业务与第二业务遵循严格无关的路由策略时,根据所述算路请求完成第二业务的建立;否则,第二业务建立失败,取消所述第一、第二业务的本地消息中保存的关联关系。When the first service and the second service follow strictly unrelated routing policies, complete the establishment of the second service according to the path calculation request; otherwise, the establishment of the second service fails, and the local connection between the first and second services is cancelled. The association relationship saved in the message.

优选地,所述根据算路请求完成第二业务的建立包括:Preferably, said completing the establishment of the second service according to the path calculation request includes:

在所述源节点下发交叉请求时,在所述第一业务与第二业务之间形成并发优收关系。When the source node issues a cross request, a concurrent priority relationship is formed between the first service and the second service.

优选地,所述建立第二业务,并指定与所述第一业务关联的步骤进一步包括:当所述第一业务与第二业务不遵循严格无关的路由策略时,向用户提示告警信息。Preferably, the step of establishing the second service and specifying that it is associated with the first service further includes: prompting a warning message to the user when the first service and the second service do not follow strictly unrelated routing policies.

优选地,当所述第一业务与第二业务的源节点及宿节点均不在ASON网络的域中时,所述建立相互关联的第一业务与第二业务的步骤包括:Preferably, when neither the source node nor the sink node of the first service and the second service is in the domain of the ASON network, the step of establishing the interrelated first service and the second service includes:

建立两条业务,分别作为第一业务及第二业务;Establish two businesses, respectively as the first business and the second business;

将关联命令分别发送至第一、第二业务的源节点,由两条业务分别在各自的本地信息中保存对方业务标识为自身的关联业务标识;Send the associated commands to the source nodes of the first and second services respectively, and the two services respectively save the other party's service identifier as their own associated service identifier in their respective local information;

在所述第一、第二业务的源节点间创建信息交互通道,进行两条业务的关联;Create an information exchange channel between the source nodes of the first and second services to associate the two services;

当关联成功后,建立两条业务的关联保护关系,通过所述信息交互通道,在所述第一、第二业务之间互发两者的路由信息。After the association is successful, an association protection relationship between the two services is established, and the routing information of the first and second services is exchanged between the first and second services through the information exchange channel.

优选地,所述第一业务和第二业务的业务类型包括以下至少之一:1+1SNCP业务、MSP业务或无保护业务。Preferably, the service types of the first service and the second service include at least one of the following: 1+1 SNCP service, MSP service or unprotected service.

优选地,还包括:维护所述第一、第二业务的路由信息。Preferably, the method further includes: maintaining routing information of the first and second services.

本发明还提出一种ASON与传统网络对接时SNCP保护的装置,包括:The present invention also proposes a device for SNCP protection when ASON is connected to a traditional network, including:

关联建立模块,用于建立相互关联的第一业务与第二业务;所述第一业务与第二业务仅源节点或宿节点在ASON网络的域中,或者所述第一业务与第二业务的源节点及宿节点均不在ASON网络的域中;An association establishment module, configured to establish a first service and a second service that are associated with each other; only the source node or the sink node of the first service and the second service is in the domain of the ASON network, or the first service and the second service Neither the source node nor the sink node is in the domain of the ASON network;

保护模块,用于根据所述相互关联的第一业务与第二业务为ASON网络提供SNCP保护。A protection module, configured to provide SNCP protection for the ASON network according to the interrelated first service and second service.

优选地,所述关联建立模块包括:Preferably, the association establishment module includes:

第一建立单元,用于建立无保护的所述第一业务;a first establishing unit, configured to establish the unprotected first service;

第二建立单元,用于选用与所述第一业务相同的上业务时隙,建立所述第二业务,并指定与所述第一业务关联。The second establishing unit is configured to select the same upper service time slot as that of the first service, establish the second service, and assign it to be associated with the first service.

优选地,所述第二建立单元包括:Preferably, the second establishment unit includes:

业务标识子单元,用于建立第二业务的本地信息,并在第二业务的本地信息中保存该第二业务的关联业务标识为所述第一业务;以及获取所述第一业务的本地信息,并在所述第一业务的本地信息中保存该第一业务的关联业务标识为所述第二业务;A service identification subunit, configured to establish local information of the second service, and store the associated service identifier of the second service in the local information of the second service as the first service; and obtain the local information of the first service , and save the associated service identifier of the first service as the second service in the local information of the first service;

算路子单元,用于从所述第一业务的本地信息中取出所述第一业务的路由信息,发起算路请求;a path calculation subunit, configured to fetch the routing information of the first service from the local information of the first service, and initiate a path calculation request;

建立子单元,用于当所述第一业务与第二业务遵循严格无关的路由策略时,根据所述算路请求完成第二业务的建立;否则,第二业务建立失败,取消所述第一、第二业务的本地消息中保存的关联关系。The establishment subunit is used to complete the establishment of the second service according to the path calculation request when the first service and the second service follow a strictly unrelated routing strategy; otherwise, the establishment of the second service fails, and the first service is cancelled. , the association relationship stored in the local message of the second service.

优选地,所述建立子单元还用于在所述源节点下发交叉请求时,在所述第一业务与第二业务之间形成并发优收关系;以及当所述第一业务与第二业务不遵循严格无关的路由策略时,向用户提示告警信息。Preferably, the establishment subunit is further configured to form a concurrent priority relationship between the first service and the second service when the source node sends a cross request; and when the first service and the second service When the service does not follow the strictly irrelevant routing policy, the user will be prompted with an alarm message.

优选地,所述关联建立模块包括:Preferably, the association establishment module includes:

第三建立单元,用于建立两条业务,分别作为第一业务及第二业务;The third establishing unit is used to establish two services, respectively serving as the first service and the second service;

发送单元,用于将关联命令分别发送至第一、第二业务的源节点,由两条业务分别在各自的本地信息中保存对方业务标识为自身的关联业务标识;The sending unit is used to send the associated command to the source nodes of the first and second services respectively, and the two services respectively save the other party's service identifier as their own associated service identifier in their respective local information;

通道创建单元,用于在所述第一、第二业务的源节点间创建信息交互通道,进行两条业务的关联;A channel creation unit, configured to create an information exchange channel between the source nodes of the first and second services, and associate the two services;

第四建立单元,用于当关联成功后,建立两条业务的关联保护关系,通过所述信息交互通道,在所述第一、第二业务之间互发两者的路由信息。The fourth establishment unit is configured to establish an association protection relationship between the two services after the association is successful, and exchange routing information between the first and second services through the information exchange channel.

本发明提出的一种ASON与传统网络对接时SNCP保护的方法及装置,当仅有源(或宿)节点不在ASON域内时,可以在建立第二条业务的时候,同时指定关联第一条业务,让两条业务可以共有同一个上(或下)业务时隙,实现通道信号的并发优收;当源宿节点均不在ASON域内时,采取用户分别对两条业务的源节点下发设置关联请求的方法,不需要两个节点交互即可建立关联关系来提供SNCP保护,同时增加一个关联业务不遵循路由策略告警,提示用户什么时候需调整关联业务路由以提供完整的SNCP保护。因此,本发明通过建立的相互关联的两条业务,使得ASON网络无论处于哪个域,都可以提供类似于1+1(路径)保护的功能。当故障发生在ASON域外时,可以发生倒换,从工作路径倒换到保护路径。同时这两个业务可以单独的具有恢复属性,在路径故障发生在ASON域内时,可以在ASON域中实现控制平面的动态重路由,从而提高了ASON网络的安全性。A method and device for SNCP protection when ASON is connected to a traditional network proposed by the present invention, when only the source (or sink) node is not in the ASON domain, when the second service is established, the associated first service can be specified at the same time , so that the two services can share the same up (or down) service time slot to achieve concurrent and optimal reception of channel signals; when the source and sink nodes are not in the ASON domain, the user sets the association for the source nodes of the two services respectively The request method can establish an association relationship without interaction between two nodes to provide SNCP protection. At the same time, an associated service does not follow the routing policy alarm, prompting the user when to adjust the associated service route to provide complete SNCP protection. Therefore, the present invention enables the ASON network to provide a function similar to 1+1 (path) protection no matter which domain it is in by establishing two interrelated services. When a fault occurs outside the ASON domain, switching can occur from the working path to the protection path. At the same time, these two services can have recovery properties independently. When a path failure occurs in the ASON domain, dynamic rerouting of the control plane can be realized in the ASON domain, thereby improving the security of the ASON network.

附图说明 Description of drawings

图1a是本发明ASON与传统网络对接时的第一种场景示意图;Figure 1a is a schematic diagram of the first scenario when the ASON of the present invention is connected to a traditional network;

图1b是本发明ASON与传统网络对接时的第二种场景示意图;Figure 1b is a schematic diagram of the second scenario when the ASON of the present invention is connected to a traditional network;

图2是本发明ASON与传统网络对接时SNCP保护的方法一实施例流程示意图;Fig. 2 is a schematic flow chart of an embodiment of a method for SNCP protection when ASON of the present invention is docked with a traditional network;

图3是本发明ASON与传统网络对接时SNCP保护的方法一实施例中第一种场景下建立相互关联的第一业务与第二业务的流程示意图;Fig. 3 is a schematic flow chart of establishing interrelated first business and second business in the first scenario in the first embodiment of the method for SNCP protection when the ASON is connected to the traditional network;

图4是本发明ASON与传统网络对接时SNCP保护的方法一实施例中第一种场景下建立第二业务,并指定与第一业务关联的流程示意图;Fig. 4 is a schematic flow diagram of establishing a second service in the first scenario and specifying a process associated with the first service in the first embodiment of the method for SNCP protection when the ASON is connected to a traditional network;

图5是本发明ASON与传统网络对接时SNCP保护的方法一实施例中第二种场景下建立相互关联的第一业务与第二业务的流程示意图;Fig. 5 is a schematic flow diagram of establishing interrelated first services and second services in the second scenario of the first embodiment of the method for SNCP protection when the ASON is connected to the traditional network;

图6是本发明ASON与传统网络对接时SNCP保护的装置一实施例结构示意图;Fig. 6 is a schematic structural diagram of an embodiment of a device for SNCP protection when the ASON of the present invention is docked with a traditional network;

图7是本发明ASON与传统网络对接时SNCP保护的装置一实施例中第一种实施方式的关联建立模块结构示意图;FIG. 7 is a schematic structural diagram of an association establishment module in an embodiment of an SNCP protection device in an embodiment of the present invention when the ASON is connected to a traditional network;

图8是本发明ASON与传统网络对接时SNCP保护的装置一实施例中第一种实施方式的第二建立单元的结构示意图;Fig. 8 is a schematic structural diagram of the second establishment unit of the first implementation mode in an embodiment of the device for SNCP protection when the ASON of the present invention is connected to a traditional network;

图9是本发明ASON与传统网络对接时SNCP保护的装置一实施例中第二种实施方式的关联建立模块结构示意图。FIG. 9 is a schematic structural diagram of an association establishing module in a second embodiment of an embodiment of an SNCP protection device when an ASON is connected to a traditional network according to the present invention.

为了使本发明的技术方案更加清楚、明了,下面将结合附图作进一步详述。In order to make the technical solution of the present invention clearer and clearer, it will be further described below in conjunction with the accompanying drawings.

具体实施方式 Detailed ways

本发明实施例解决方案主要是:通过建立的相互关联的两条业务,使得ASON网络无论处于哪个域,都可以提供类似于1+1(路径)保护的功能。同时两个业务可以单独的具有恢复属性,在路径故障发生在ASON域内时,可以在ASON域中实现控制平面的动态重路由,提高ASON网络的安全性。The solution of the embodiment of the present invention is mainly: through the establishment of two interrelated services, the ASON network can provide a function similar to 1+1 (path) protection no matter which domain it is in. At the same time, the two services can have recovery attributes independently. When a path failure occurs in the ASON domain, dynamic rerouting of the control plane can be realized in the ASON domain, improving the security of the ASON network.

如图2所示,本发明一实施例提出一种ASON与传统网络对接时SNCP保护的方法,包括:As shown in Figure 2, an embodiment of the present invention proposes a method for SNCP protection when an ASON is connected to a traditional network, including:

步骤S101,建立相互关联的第一业务与第二业务;Step S101, establishing a first business and a second business related to each other;

其中,第一业务与第二业务仅源节点或宿节点在ASON网络的域中,或者第一业务与第二业务的源节点及宿节点均不在ASON网络的域中。Wherein, only the source node or the sink node of the first service and the second service is in the domain of the ASON network, or neither the source node nor the sink node of the first service and the second service is in the domain of the ASON network.

步骤S102,根据相互关联的第一业务与第二业务为ASON网络提供SNCP保护。Step S102, providing SNCP protection for the ASON network according to the interrelated first service and second service.

为了实现业务的源、宿节点均不在ASON网络的域中以及源、宿节点其中之一在ASON网络的域中两种场景下,ASON网络与传统网络对接时的SNCP保护,本实施例需要建立相互关联的第一业务与第二业务;根据相互关联的第一业务与第二业务为ASON网络提供SNCP保护。In order to realize the SNCP protection when the ASON network is interconnected with the traditional network in two scenarios where neither the source node nor the sink node of the service is in the domain of the ASON network and one of the source node or the sink node is in the domain of the ASON network, this embodiment needs to establish Interrelated first service and second service; providing SNCP protection for the ASON network according to the interrelated first service and second service.

首先建立第一条业务(即本实施例所称第一业务),当仅有源(或宿)节点不在ASON网络的域内时,在建立第二条业务(即本实施例所称第二业务)的时候,同时指定关联第一条业务,让两条业务可以共有同一个上(或下)业务时隙,实现通道信号的并发优收;当源宿节点均不在ASON网络的域内时,采取用户分别对两条业务的源节点下发设置关联请求的方法,不需要两个节点交互即可建立关联关系来提供SNCP保护。First set up the first business (namely the first business in this embodiment), when only the source (or sink) node is not in the domain of the ASON network, set up the second business (the second business in this embodiment) ), specify the associated first service at the same time, so that the two services can share the same upper (or lower) service time slot, and achieve concurrent and optimal reception of channel signals; when the source and sink nodes are not in the domain of the ASON network, adopt The method in which the user sends an association request to the source nodes of the two services separately, and the association relationship can be established without interaction between the two nodes to provide SNCP protection.

具体地,如图3所示,当第一业务与第二业务仅源节点或宿节点在ASON网络的域中时,上述步骤S101中,建立相互关联的第一业务与第二业务的步骤包括:Specifically, as shown in FIG. 3, when only the source node or the sink node of the first service and the second service is in the domain of the ASON network, in the above step S101, the step of establishing the first service and the second service that are mutually associated includes :

步骤S1011,建立无保护的第一业务;Step S1011, establishing an unprotected first service;

步骤S1012,选用与第一业务相同的上业务时隙,建立第二业务,并指定与第一业务关联。Step S1012, select the same upper service time slot as that of the first service, establish the second service, and assign it to be associated with the first service.

如图4所示,步骤S1012中建立第二业务,并指定与第一业务关联的步骤包括:As shown in Figure 4, the step of establishing the second service in step S1012 and specifying the steps associated with the first service includes:

步骤S10121,建立第二业务的本地信息,并在第二业务的本地信息中保存该第二业务的关联业务标识为第一业务;以及获取第一业务的本地信息,并在第一业务的本地信息中保存该第一业务的关联业务标识为第二业务;Step S10121, establish the local information of the second service, and store the associated service identifier of the second service as the first service in the local information of the second service; and obtain the local information of the first service, and store The associated business identifier of the first business stored in the information is the second business;

步骤S10122,从第一业务的本地信息中取出第一业务的路由信息,发起算路请求;Step S10122, fetch the routing information of the first service from the local information of the first service, and initiate a path calculation request;

步骤S10123,判断第一业务与第二业务是否遵循严格无关的路由策略,若是,则进入步骤S10124;否则,进入步骤S10125;Step S10123, judging whether the first service and the second service follow a strictly unrelated routing policy, if so, proceed to step S10124; otherwise, proceed to step S10125;

步骤S10124,根据算路请求完成第二业务的建立;Step S10124, complete the establishment of the second service according to the path calculation request;

步骤S10125,第二业务建立失败,取消第一、第二业务的本地消息中保存的关联关系,并向用户提示告警信息。Step S10125, if the establishment of the second service fails, the association relationship stored in the local messages of the first and second services is canceled, and a warning message is prompted to the user.

其中,根据算路请求完成第二业务的建立包括:Wherein, completing the establishment of the second service according to the path calculation request includes:

在所述源节点下发交叉请求时,在第一业务与第二业务之间形成并发优收关系。When the source node issues a cross request, a concurrent priority relationship is formed between the first service and the second service.

以仅有源节点不在ASON网络的域(以下简称ASON域)内的场景为例,两条业务建立关联关系的过程为:Taking the scenario where only the source node is not in the domain of the ASON network (hereinafter referred to as the ASON domain) as an example, the process of establishing an association relationship between two services is as follows:

首先,建立一条无保护业务作为第一业务,其路由为A-B,其建立过程同普通的ASON业务的建立;First, establish an unprotected service as the first service, and its route is A-B, and its establishment process is the same as that of ordinary ASON services;

然后,建立第二条业务,作为第二业务,选用第一业务的同一个上业务时隙以构成通道信号的并发优收关系,并指定第一业务为该第二业务的关联业务,完成第二业务与第一业务关联。Then, establish the second service, as the second service, select the same upper service time slot of the first service to form the concurrent and superior reception relationship of the channel signal, and designate the first service as the associated service of the second service, and complete the second service The second service is associated with the first service.

其中,建立第二条业务时,首先建立第二业务的本地信息,保存该第二业务的关联业务标识为第一业务,同时找到第一业务的本地信息,保存第一业务的关联业务标识为第二业务;然后取出第一业务的路由A-B,发起算路请求,要求第二业务的路由与第一业务的路由A-B遵循严格无关的路由策略(包括节点无关、链路无关、SRLG无关);因两业务源节点相同,第一业务的路由信息可以通过其关联业务标识直接获取。Wherein, when establishing the second service, first establish the local information of the second service, store the associated service identifier of the second service as the first service, find the local information of the first service at the same time, save the associated service identifier of the first service as The second service; then take out the route A-B of the first service, initiate a path calculation request, and require the route of the second service and the route A-B of the first service to follow strictly unrelated routing policies (including node-independent, link-independent, and SRLG-independent); Since the source nodes of the two services are the same, the routing information of the first service can be obtained directly through its associated service identifier.

然后,通过RSVP(资源保留协议)信令进行正常的业务建立过程,其中在源节点下发交叉时,要求第一业务与第二业务的交叉形成并发优收关系;若第二业务建立失败,则需要清除第一业务的关联业务标识,并告知用户关联失败;若第二业务建立成功,即关联成功。Then, the normal service establishment process is carried out through RSVP (Resource Reservation Protocol) signaling, wherein when the source node issues the crossover, the crossover between the first service and the second service is required to form a concurrent and preferential reception relationship; if the second service fails to be established, Then it is necessary to clear the associated service identifier of the first service, and inform the user that the association fails; if the second service is established successfully, the association is successful.

对于宿节点不在ASON域内的场景,其实现关联方案同上,只需将宿节点当成源节点,反向建立业务即可。For the scenario where the sink node is not in the ASON domain, the implementation of the association scheme is the same as above, only need to regard the sink node as the source node and reversely establish services.

如图5所示,当第一业务与第二业务的源节点及宿节点均不在ASON域中时,上述步骤S101中建立相互关联的第一业务与第二业务的步骤包括:As shown in Figure 5, when the source node and the sink node of the first service and the second service are not in the ASON domain, the step of establishing the interrelated first service and the second service in the above step S101 includes:

步骤S1013,建立两条业务,分别作为第一业务及第二业务;Step S1013, establishing two services as the first service and the second service respectively;

步骤S1014,将关联命令分别发送至第一、第二业务的源节点,由两条业务分别在各自的本地信息中保存对方业务标识为自身的关联业务标识;Step S1014, sending the associated commands to the source nodes of the first and second services respectively, and the two services store the other party's service identifier in their respective local information as their own associated service identifiers;

步骤S1015,在第一、第二业务的源节点间创建信息交互通道,进行两条业务的关联;Step S1015, creating an information exchange channel between the source nodes of the first and second services, and associating the two services;

步骤S1016,当关联成功后,建立两条业务的关联保护关系,通过信息交互通道,在第一、第二业务之间互发两者的路由信息。Step S1016, when the association is successful, establish an association protection relationship between the two services, and exchange routing information between the first and second services through the information exchange channel.

其中,第一业务和第二业务的业务类型可以为1+1SNCP业务、MSP业务或无保护业务。Wherein, the service types of the first service and the second service may be 1+1 SNCP service, MSP service or unprotected service.

针对源、宿节点均不在ASON域内的场景,首先建立两条业务,业务类型可以是1+1SNCP业务、MSP(Message Smart Platform,消息智能平台)业务或者无保护业务等,对业务类型没有限制。但需保证两条业务的级联、单双向、是否隧道等参数一致,以便一条业务能给另外一条业务提供保护。For the scenario where the source and sink nodes are not in the ASON domain, first establish two services. The service type can be 1+1SNCP service, MSP (Message Smart Platform, message intelligence platform) service or unprotected service, etc. There is no restriction on the service type. However, it is necessary to ensure that the parameters of the two services, such as cascading, unidirectional and bidirectional, and tunneling or not, are consistent so that one service can provide protection for the other.

然后,对两条业务进行关联。Then, associate the two businesses.

以下描述两条业务建立关联关系的过程:The following describes the process of establishing an association relationship between two businesses:

1、对两条业务下发关联命令,业务的关联命令需同时发送到两条业务的首节点(即源节点);1. Issue association commands for two services, and the business association commands must be sent to the first node (source node) of the two services at the same time;

2、两条业务收到关联命令后,分别保存对方业务标识为自己的关联业务标识。具体地,关联业务从关联命令中取出另一条被关联业务的标识,保存在该关联业务的本地信息中,并保存到数据库中,以便节点重启的时候能重新获得关联业务标识。此过程两条业务的动作一致,且分别进行。2. After the two services receive the association command, they respectively save the other party's service ID as their own associated service ID. Specifically, the associated service extracts the identifier of another associated service from the associated command, saves it in the local information of the associated service, and saves it in the database, so that the associated service identifier can be obtained again when the node is restarted. The actions of the two businesses in this process are consistent and performed separately.

3、检查两条业务间是否存在信息交互的通道,如果不存在,则创建信息交互通道。本实施例选用的是通过LMP(链路关联协议)创建的VIPCC(虚拟控制通道)充当信息交互的通道,使用VIPCC发送OEM(私有数据)来进行信息交互。具体创建VIPCC的过程可以采用现有的成熟技术方案,在此不作详述。需要说明是,且本发明所需的进行信息交互的通道并不限于使用VIPCC。3. Check whether there is an information exchange channel between the two services, and if not, create an information exchange channel. In this embodiment, the VIPCC (Virtual Control Channel) created through the LMP (Link Association Protocol) is selected as a channel for information exchange, and the VIPCC is used to send OEM (private data) for information exchange. The specific process of creating a VIPCC can use existing mature technical solutions, which will not be described in detail here. It should be noted that the information exchange channel required by the present invention is not limited to VIPCC.

4、关联成功后,两条业务建立关联保护关系,并互相发送自身的路由信息。两条相互关联的业务从本地信息中,取出自身的初始路由信息,对于初始路由信息,只包括无保护和MSP业务的工作连接、1+1SNCP业务的工作和保护连接。然后,按一定的格式组装成私有数据通过VIPCC发送到被关联业务的首节点。同时,关联业务也会收到被关联业务发送过来的数据,按定义好的格式解析成被关联业务的路由信息,保存在该关联业务的本地信息中。为了减少数据库的操作,路由信息可以不存库。如果遇上节点重启或掉电情况,只需在重启后再次发送路由信息即可。4. After the association is successful, the two services establish an association protection relationship and send their own routing information to each other. The two interrelated services extract their own initial routing information from the local information, and the initial routing information only includes the working connection of the unprotected and MSP service, and the working and protection connection of the 1+1SNCP service. Then, it is assembled into private data in a certain format and sent to the head node of the associated business through VIPCC. At the same time, the associated service will also receive the data sent by the associated service, parse it into the routing information of the associated service according to the defined format, and store it in the local information of the associated service. In order to reduce the operation of the database, the routing information may not be stored in the database. In case of node restart or power failure, just send routing information again after restart.

在本实施例中,还需要对关联业务的路由信息进行维护,因为业务的初始路由信息并不是一直不变的,且存在信息交互的通道失效的可能,所以在一定的场景下,关联业务需要通知被关联业务更新自己的路由信息。In this embodiment, it is also necessary to maintain the routing information of the related business, because the initial routing information of the business is not always the same, and there is a possibility that the information exchange channel may fail, so in certain scenarios, the related business needs to Notify the associated service to update its own routing information.

具体地,关联业务的初始路由信息因某种维护行为发生改变时,需向被关联业务的首节点发送自己的路由信息。维护行为包括但不限于业务优化、无回复属性的业务进行恢复、将恢复连接修改为初始连接等。Specifically, when the initial routing information of the associated service changes due to some maintenance behavior, it needs to send its own routing information to the head node of the associated service. Maintenance behaviors include, but are not limited to, business optimization, recovery of services with no reply attribute, modification of recovery connections to initial connections, etc.

当节点发生重启时,关联业务从数据库中恢复该业务的本地信息,若存在被关联业务,则向被关联业务的首节点发送自己的路由信息。When a node restarts, the associated service restores the local information of the service from the database, and if there is an associated service, it sends its own routing information to the head node of the associated service.

当检测到信息交互的通道的状态发生变化,从失效到有效的时候,因为在信息交互的通道失效的一段时间里,关联业务自身的路由信息可能发生了改变,所以此时也需要向被关联业务的首节点发送自己的路由信息。When it is detected that the status of the channel for information exchange changes from invalid to valid, because the routing information of the associated service itself may have changed during the period of time when the channel for information exchange is invalid, it is also necessary to report to the associated service at this time. The first node of the service sends its own routing information.

由于两条业务关联的目的是为了提供1+1SNCP保护,在路由策略方面,被关联的两条业务之间必须严格无关,此策略只针对业务的当前初始连接。也就是说,对于优化连接或者是一条不带回复属性的业务的恢复连接,需要与被关联业务的当前初始连接遵循严格无关的路由策略;如果是带回复属性的业务,其恢复连接可以选择与被关联业务的当前初始连接遵循严格无关或者尽力无关的路由策略。Since the purpose of associating two services is to provide 1+1 SNCP protection, in terms of routing strategy, the two associated services must be strictly irrelevant, and this strategy is only for the current initial connection of the service. That is to say, for an optimized connection or a recovery connection of a service without a reply attribute, it is necessary to follow a routing strategy that is strictly independent of the current initial connection of the associated service; if it is a service with a reply attribute, its recovery connection can choose to The current initial connection of the associated service follows the routing policy of strict don't care or best effort don't care.

在某些场景下,存在两条关联业务的初始连接不满足严格无关的路由策略的情况,控制平面可以在检测到两条关联业务的路由不满足严格无关的路由策略时,向用户上报一个不满足路由策略的告警。用户收到该告警后可以利用优化命令等手段调整关联业务的路由。在满足严格无关的路由策略后,控制平面将上报告警消失,具体实现方式为,关联业务自身初始路由信息发生变化时或者收到被关联业务更新的路由信息时,需检查此时两条关联业务是否满足严格无关的路由策略。In some scenarios, if the initial connection of two related services does not satisfy the strictly unrelated routing policy, the control plane can report an unrelated routing policy to the user when detecting that the routes of the two related services do not meet the strictly unrelated routing policy. Alerts that meet the routing policy. After receiving the alarm, the user can use optimization commands and other means to adjust the route of the associated service. After satisfying the strictly irrelevant routing policy, the control plane will report that the alarm disappears. The specific implementation method is that when the initial routing information of the associated service itself changes or when the routing information updated by the associated service is received, it is necessary to check the two associated services at this time. Whether the business satisfies the routing policy is strictly irrelevant.

其中,可能导致两条关联业务的初始连接不满足严格无关的路由策略的情况包括:Among them, the situations that may lead to the initial connection of two associated services not satisfying the strictly unrelated routing policy include:

1、初次关联的两条业务,不满足路由策略,或者对两条业务同时下优化命令,使它们优化到同一条路由等用户的某些误操作。1. The two services associated for the first time do not meet the routing policy, or an optimization command is issued for the two services at the same time, so that they are optimized to the same route and other user misoperations.

2、控制平面触发的恢复动作。当两条关联业务同时故障,由于不同首节点恢复避开的只是当前关联业务的初始连接,可能导致两条恢复连接(对于无回复的业务,恢复连接等同于工作连接)之间不满足路由策略。2. The recovery action triggered by the control plane. When two associated services fail at the same time, since the recovery of different head nodes avoids only the initial connection of the current associated service, the routing strategy may not be satisfied between the two restored connections (for services with no reply, the restored connection is equal to the working connection) .

由于在1+1SNCP保护机制下,要求工作路径与保护路径遵循严格无关的路由策略。所以,当建立关联关系后,一条关联业务在进行恢复等动作时,需与被关联业务遵循一定的路由策略,以提供SNCP保护。在上述第一种场景中,因源节点相同,第一业务的路由信息可以通过业务标识直接获取;在第二种场景中,关联业务路由信息是被关联业务在路由信息变化时通过信息交互通道发送过来的。在该第二种场景下,因两条业务的源节点不同,可能出现被关联路由信息没有及时更新,导致两条业务不遵循严格无关的路由策略,此时控制平面维护一个关联业务不遵循路由策略的告警状态。Under the 1+1SNCP protection mechanism, the working path and the protection path are required to follow strictly independent routing policies. Therefore, after an association relationship is established, when an associated service performs operations such as recovery, it needs to follow a certain routing policy with the associated service to provide SNCP protection. In the above-mentioned first scenario, since the source nodes are the same, the routing information of the first service can be obtained directly through the service identifier; in the second scenario, the routing information of the associated service is obtained through the information exchange channel when the routing information of the associated service changes sent over. In the second scenario, because the source nodes of the two services are different, the associated routing information may not be updated in time, resulting in the two services not following a strictly unrelated routing policy. At this time, the control plane maintains an associated service that does not follow the route The alert status of the policy.

综上所述,本实施例不管ASON网络处于哪个域,都可以提供类似于1+1(路径)保护的功能。当故障发生在ASON域外时,可以发生倒换,从工作路径倒换到保护路径。同时这两个业务可以单独的具有恢复属性,在路径故障发生在ASON域内时,可以在ASON域中实现控制平面的动态重路由。To sum up, this embodiment can provide a function similar to 1+1 (path) protection no matter which domain the ASON network is in. When a fault occurs outside the ASON domain, switching can occur from the working path to the protection path. At the same time, these two services can have recovery attributes independently, and when a path failure occurs in the ASON domain, dynamic rerouting of the control plane can be realized in the ASON domain.

如图6所示,本发明一实施例提出一种ASON与传统网络对接时SNCP保护的装置,包括:关联建立模块601及保护模块602;其中:As shown in FIG. 6, an embodiment of the present invention proposes a device for SNCP protection when ASON is connected to a traditional network, including: an association establishment module 601 and a protection module 602; wherein:

关联建立模块601,用于建立相互关联的第一业务与第二业务;第一业务与第二业务仅源节点或宿节点在ASON网络的域中,或者第一业务与第二业务的源节点及宿节点均不在ASON网络的域中。An association establishment module 601, configured to establish a first service and a second service that are associated with each other; only the source node or the sink node of the first service and the second service is in the domain of the ASON network, or the source node of the first service and the second service Neither the node nor the sink node is in the domain of the ASON network.

保护模块602,用于根据相互关联的第一业务与第二业务为ASON网络提供SNCP保护。The protection module 602 is configured to provide SNCP protection for the ASON network according to the interrelated first service and the second service.

为了实现业务的源、宿节点均不在ASON网络的域中以及源、宿节点其中之一在ASON网络的域中两种场景下,ASON网络与传统网络对接时的SNCP保护,本实施例需要建立相互关联的第一业务与第二业务;根据相互关联的第一业务与第二业务为ASON网络提供SNCP保护。In order to realize the SNCP protection when the ASON network is interconnected with the traditional network in two scenarios where neither the source node nor the sink node of the service is in the domain of the ASON network and one of the source node or the sink node is in the domain of the ASON network, this embodiment needs to establish Interrelated first service and second service; providing SNCP protection for the ASON network according to the interrelated first service and second service.

首先建立第一条业务(即本实施例所称第一业务),当仅有源(或宿)节点不在ASON网络的域内时,在建立第二条业务(即本实施例所称第二业务)的时候,同时指定关联第一条业务,让两条业务可以共有同一个上(或下)业务时隙,实现通道信号的并发优收;当源宿节点均不在ASON网络的域内时,采取用户分别对两条业务的源节点下发设置关联请求的方法,不需要两个节点交互即可建立关联关系来提供SNCP保护。First set up the first business (namely the first business in this embodiment), when only the source (or sink) node is not in the domain of the ASON network, set up the second business (the second business in this embodiment) ), specify the associated first service at the same time, so that the two services can share the same upper (or lower) service time slot, and achieve concurrent and optimal reception of channel signals; when the source and sink nodes are not in the domain of the ASON network, adopt The method in which the user sends an association request to the source nodes of the two services separately, and the association relationship can be established without interaction between the two nodes to provide SNCP protection.

具体地,如图7所示,作为第一种实施方式,当第一业务与第二业务仅源节点或宿节点在ASON网络的域中时,关联建立模块601包括:第一建立单元6011及第二建立单元6012,其中:Specifically, as shown in FIG. 7, as a first implementation manner, when only the source node or the sink node of the first service and the second service are in the domain of the ASON network, the association establishment module 601 includes: a first establishment unit 6011 and The second establishment unit 6012, wherein:

第一建立单元6011,用于建立无保护的第一业务;The first establishing unit 6011 is configured to establish an unprotected first service;

第二建立单元6012,用于选用与第一业务相同的上业务时隙,建立第二业务,并指定与第一业务关联。The second establishing unit 6012 is configured to select the same upper service time slot as that of the first service, establish the second service, and assign it to be associated with the first service.

如图8所示,第二建立单元6012包括:业务标识子单元60121、算路子单元60122及建立子单元60123,其中:As shown in Figure 8, the second establishment unit 6012 includes: a service identification subunit 60121, a path calculation subunit 60122, and an establishment subunit 60123, wherein:

业务标识子单元60121,用于建立第二业务的本地信息,并在第二业务的本地信息中保存该第二业务的关联业务标识为所述第一业务;以及获取所述第一业务的本地信息,并在所述第一业务的本地信息中保存该第一业务的关联业务标识为所述第二业务;The service identifier subunit 60121 is configured to establish the local information of the second service, and save the associated service identifier of the second service as the first service in the local information of the second service; and acquire the local information of the first service. information, and save the associated service identifier of the first service as the second service in the local information of the first service;

算路子单元60122,用于从第一业务的本地信息中取出第一业务的路由信息,发起算路请求;The path calculation subunit 60122 is used to extract the routing information of the first service from the local information of the first service, and initiate a path calculation request;

建立子单元60123,用于当第一业务与第二业务遵循严格无关的路由策略时,根据算路请求完成第二业务的建立;否则,第二业务建立失败,取消所述第一、第二业务的本地消息中保存的关联关系。The establishment subunit 60123 is used to complete the establishment of the second service according to the path calculation request when the first service and the second service follow a strictly unrelated routing policy; otherwise, the establishment of the second service fails, and cancel the first and second service The association relationship saved in the local message of the service.

进一步的,建立子单元60123还用于在源节点下发交叉请求时,在第一业务与第二业务之间形成并发优收关系;以及当第一业务与第二业务不遵循严格无关的路由策略时,向用户提示告警信息。Further, the establishment subunit 60123 is also used to form a concurrent and preferential reception relationship between the first service and the second service when the source node sends a cross request; and when the first service and the second service do not follow a strictly unrelated route When the policy is selected, a warning message is prompted to the user.

在本实施方式中,以仅有源节点不在ASON网络的域(以下简称ASON域)内的场景为例,两条业务建立关联关系的过程为:In this embodiment, taking the scenario where only the source node is not in the domain of the ASON network (hereinafter referred to as the ASON domain) as an example, the process of establishing an association relationship between two services is as follows:

首先,建立一条无保护业务作为第一业务,其路由为A-B,其建立过程同普通的ASON业务的建立;First, establish an unprotected service as the first service, and its route is A-B, and its establishment process is the same as that of ordinary ASON services;

然后,建立第二条业务,作为第二业务,选用第一业务的同一个上业务时隙以构成通道信号的并发优收关系,并指定第一业务为该第二业务的关联业务,完成第二业务与第一业务关联。Then, establish the second service, as the second service, select the same upper service time slot of the first service to form the concurrent and superior reception relationship of the channel signal, and designate the first service as the associated service of the second service, and complete the second service The second service is associated with the first service.

其中,建立第二条业务时,首先建立第二业务的本地信息,保存该第二业务的关联业务标识为第一业务,同时找到第一业务的本地信息,保存第一业务的关联业务标识为第二业务;然后取出第一业务的路由A-B,发起算路请求,要求第二业务的路由与第一业务的路由A-B遵循严格无关的路由策略(包括节点无关、链路无关、SRLG无关);因两业务源节点相同,第一业务的路由信息可以通过其关联业务标识直接获取。Wherein, when establishing the second service, first establish the local information of the second service, store the associated service identifier of the second service as the first service, find the local information of the first service at the same time, save the associated service identifier of the first service as The second service; then take out the route A-B of the first service, initiate a path calculation request, and require the route of the second service and the route A-B of the first service to follow strictly unrelated routing policies (including node-independent, link-independent, and SRLG-independent); Since the source nodes of the two services are the same, the routing information of the first service can be obtained directly through its associated service identifier.

然后,通过RSVP信令进行正常的业务建立过程,其中在源节点下发交叉时,要求第一业务与第二业务的交叉形成并发优收关系;若第二业务建立失败,则需要清除第一业务的关联业务标识,并告知用户关联失败;若第二业务建立成功,即关联成功。Then, the normal service establishment process is carried out through RSVP signaling. When the source node issues a crossover, the crossover between the first service and the second service is required to form a concurrent and preferential reception relationship; if the second service fails to be established, the first service needs to be cleared. The associated service identifier of the service, and inform the user that the association fails; if the second service is successfully established, the association is successful.

对于宿节点不在ASON域内的场景,其实现关联方案同上,只需将宿节点当成源节点,反向建立业务即可。For the scenario where the sink node is not in the ASON domain, the implementation of the association scheme is the same as above, only need to regard the sink node as the source node and reversely establish services.

如图9所示,作为第二种实施方式,当第一业务与第二业务的源节点及宿节点均不在ASON域中时,关联建立模块601包括:第三建立单元6013、发送单元6014、通道创建单元6015以及第四建立单元6016,其中:As shown in Figure 9, as a second implementation manner, when the source node and the sink node of the first service and the second service are not in the ASON domain, the association establishment module 601 includes: a third establishment unit 6013, a sending unit 6014, The channel creation unit 6015 and the fourth establishment unit 6016, wherein:

第三建立单元6013,用于建立两条业务,分别作为第一业务及第二业务;The third establishment unit 6013 is used to establish two services, respectively serving as the first service and the second service;

发送单元6014,用于将关联命令分别发送至第一、第二业务的首节点,由两条业务分别在各自的本地信息中保存对方业务标识为自身的关联业务标识;The sending unit 6014 is configured to send the associated command to the head nodes of the first and second services respectively, and the two services respectively save the other party's service identifier as their own associated service identifier in their respective local information;

通道创建单元6015,用于在第一、第二业务的首节点间创建信息交互通道,进行两条业务的关联;The channel creation unit 6015 is used to create an information exchange channel between the head nodes of the first and second services, and to associate the two services;

第四建立单元6016,用于当关联成功后,建立两条业务的关联保护关系,通过信息交互通道,在第一、第二业务之间互发两者的路由信息。The fourth establishment unit 6016 is configured to establish an association protection relationship between the two services after the association is successful, and exchange routing information between the first and second services through the information exchange channel.

针对源、宿节点均不在ASON域内的场景,首先建立两条业务,业务类型可以是1+1SNCP业务、MSP业务或者无保护业务等,对业务类型没有限制。但需保证两条业务的级联、单双向、是否隧道等参数一致,以便一条业务能给另外一条业务提供保护。For the scenario where neither the source node nor the sink node is in the ASON domain, first establish two services. The service type can be 1+1SNCP service, MSP service or unprotected service, etc. There is no restriction on the service type. However, it is necessary to ensure that the parameters of the two services, such as cascading, unidirectional and bidirectional, and tunneling or not, are consistent so that one service can provide protection for the other.

然后,对两条业务进行关联。Then, associate the two businesses.

以下描述两条业务建立关联关系的过程:The following describes the process of establishing an association relationship between two businesses:

1、对两条业务下发关联命令,业务的关联命令需同时发送到两条业务的首节点(即源节点);1. Issue association commands for two services, and the business association commands must be sent to the first node (source node) of the two services at the same time;

2、两条业务收到关联命令后,分别保存对方业务标识为自己的关联业务标识。具体地,关联业务从关联命令中取出另一条被关联业务的标识,保存在该关联业务的本地信息中,并保存到数据库中,以便节点重启的时候能重新获得关联业务标识。此过程两条业务的动作一致,且分别进行。2. After the two services receive the association command, they respectively save the other party's service ID as their own associated service ID. Specifically, the associated service extracts the identifier of another associated service from the associated command, saves it in the local information of the associated service, and saves it in the database, so that the associated service identifier can be obtained again when the node is restarted. The actions of the two businesses in this process are consistent and performed separately.

3、检查两条业务间是否存在信息交互的通道,如果不存在,则创建信息交互通道。本实施例选用的是通过LMP(链路关联协议)创建的VIPCC(虚拟控制通道)充当信息交互的通道,使用VIPCC发送OEM(私有数据)来进行信息交互。具体创建VIPCC的过程可以采用现有的成熟技术方案,在此不作详述。需要说明是,且本发明所需的进行信息交互的通道并不限于使用VIPCC。3. Check whether there is an information exchange channel between the two services, and if not, create an information exchange channel. In this embodiment, the VIPCC (Virtual Control Channel) created through the LMP (Link Association Protocol) is selected as a channel for information exchange, and the VIPCC is used to send OEM (private data) for information exchange. The specific process of creating a VIPCC can use existing mature technical solutions, which will not be described in detail here. It should be noted that the information exchange channel required by the present invention is not limited to VIPCC.

4、关联成功后,两条业务建立关联保护关系,并互相发送自身的路由信息。两条相互关联的业务从本地信息中,取出自身的初始路由信息,对于初始路由信息,只包括无保护和MSP业务的工作连接、1+1SNCP业务的工作和保护连接。然后,按一定的格式组装成私有数据通过VIPCC发送到被关联业务的首节点。同时,关联业务也会收到被关联业务发送过来的数据,按定义好的格式解析成被关联业务的路由信息,保存在该关联业务的本地信息中。为了减少数据库的操作,路由信息可以不存库。如果遇上节点重启或掉电情况,只需在重启后再次发送路由信息即可。4. After the association is successful, the two services establish an association protection relationship and send their own routing information to each other. The two interrelated services extract their own initial routing information from the local information, and the initial routing information only includes the working connection of the unprotected and MSP service, and the working and protection connection of the 1+1SNCP service. Then, it is assembled into private data in a certain format and sent to the head node of the associated business through VIPCC. At the same time, the associated service will also receive the data sent by the associated service, parse it into the routing information of the associated service according to the defined format, and store it in the local information of the associated service. In order to reduce the operation of the database, the routing information may not be stored in the database. In case of node restart or power failure, just send routing information again after restart.

在本实施例中,还需要对关联业务的路由信息进行维护,因为业务的初始路由信息并不是一直不变的,且存在信息交互的通道失效的可能,所以在一定的场景下,关联业务需要通知被关联业务更新自己的路由信息。In this embodiment, it is also necessary to maintain the routing information of the related business, because the initial routing information of the business is not always the same, and there is a possibility that the information exchange channel may fail, so in certain scenarios, the related business needs to Notify the associated service to update its own routing information.

具体地,关联业务的初始路由信息因某种维护行为发生改变时,需向被关联业务的首节点发送自己的路由信息。维护行为包括但不限于业务优化、无回复属性的业务进行恢复、将恢复连接修改为初始连接等。Specifically, when the initial routing information of the associated service changes due to some maintenance behavior, it needs to send its own routing information to the head node of the associated service. Maintenance behaviors include, but are not limited to, business optimization, recovery of services with no reply attribute, modification of recovery connections to initial connections, etc.

当节点发生重启时,关联业务从数据库中恢复该业务的本地信息,若存在被关联业务,则向被关联业务的首节点发送自己的路由信息。When a node restarts, the associated service restores the local information of the service from the database, and if there is an associated service, it sends its own routing information to the head node of the associated service.

当检测到信息交互的通道的状态发生变化,从失效到有效的时候,因为在信息交互的通道失效的一段时间里,关联业务自身的路由信息可能发生了改变,所以此时也需要向被关联业务的首节点发送自己的路由信息。When it is detected that the status of the channel for information exchange changes from invalid to valid, because the routing information of the associated service itself may have changed during the period of time when the channel for information exchange is invalid, it is also necessary to report to the associated service at this time. The first node of the service sends its own routing information.

由于两条业务关联的目的是为了提供1+1SNCP保护,在路由策略方面,被关联的两条业务之间必须严格无关,此策略只针对业务的当前初始连接。也就是说,对于优化连接或者是一条不带回复属性的业务的恢复连接,需要与被关联业务的当前初始连接遵循严格无关的路由策略;如果是带回复属性的业务,其恢复连接可以选择与被关联业务的当前初始连接遵循严格无关或者尽力无关的路由策略。Since the purpose of associating two services is to provide 1+1 SNCP protection, in terms of routing strategy, the two associated services must be strictly irrelevant, and this strategy is only for the current initial connection of the service. That is to say, for an optimized connection or a recovery connection of a service without a reply attribute, it is necessary to follow a routing strategy that is strictly independent of the current initial connection of the associated service; if it is a service with a reply attribute, its recovery connection can choose to The current initial connection of the associated service follows the routing policy of strict don't care or best effort don't care.

在某些场景下,存在两条关联业务的初始连接不满足严格无关的路由策略的情况,控制平面可以在检测到两条关联业务的路由不满足严格无关的路由策略时,向用户上报一个不满足路由策略的告警。用户收到该告警后可以利用优化命令等手段调整关联业务的路由。在满足严格无关的路由策略后,控制平面将上报告警消失,具体实现方式为,关联业务自身初始路由信息发生变化时或者收到被关联业务更新的路由信息时,需检查此时两条关联业务是否满足严格无关的路由策略。In some scenarios, if the initial connection of two related services does not satisfy the strictly unrelated routing policy, the control plane can report an unrelated routing policy to the user when detecting that the routes of the two related services do not meet the strictly unrelated routing policy. Alerts that meet the routing policy. After receiving the alarm, the user can use optimization commands and other means to adjust the route of the associated service. After satisfying the strictly irrelevant routing policy, the control plane will report that the alarm disappears. The specific implementation method is that when the initial routing information of the associated service itself changes or when the routing information updated by the associated service is received, it is necessary to check the two associated services at this time. Whether the business satisfies the routing policy is strictly irrelevant.

其中,可能导致两条关联业务的初始连接不满足严格无关的路由策略的情况包括:Among them, the situations that may lead to the initial connection of two associated services not satisfying the strictly unrelated routing policy include:

1、初次关联的两条业务,不满足路由策略,或者对两条业务同时下优化命令,使它们优化到同一条路由等用户的某些误操作。1. The two services associated for the first time do not meet the routing policy, or an optimization command is issued for the two services at the same time, so that they are optimized to the same route and other user misoperations.

2、控制平面触发的恢复动作。当两条关联业务同时故障,由于不同首节点恢复避开的只是当前关联业务的初始连接,可能导致两条恢复连接(对于无回复的业务,恢复连接等同于工作连接)之间不满足路由策略。2. The recovery action triggered by the control plane. When two associated services fail at the same time, because different head nodes restore and avoid only the initial connection of the current associated service, the routing policy may not be satisfied between the two restored connections (for services with no reply, the restored connection is equal to the working connection) .

由于在1+1SNCP保护机制下,要求工作路径与保护路径遵循严格无关的路由策略。所以,当建立关联关系后,一条关联业务在进行恢复等动作时,需与被关联业务遵循一定的路由策略,以提供SNCP保护。在上述第一种场景中,因源节点相同,第一业务的路由信息可以通过业务标识直接获取;在第二种场景中,关联业务路由信息是被关联业务在路由信息变化时通过信息交互通道发送过来的。在该第二种场景下,因两条业务的源节点不同,可能出现被关联路由信息没有及时更新,导致两条业务不遵循严格无关的路由策略,此时控制平面维护一个关联业务不遵循路由策略的告警状态。Under the 1+1SNCP protection mechanism, the working path and the protection path are required to follow strictly independent routing policies. Therefore, after an association relationship is established, when an associated service performs operations such as recovery, it needs to follow a certain routing policy with the associated service to provide SNCP protection. In the above-mentioned first scenario, since the source nodes are the same, the routing information of the first service can be obtained directly through the service identifier; in the second scenario, the routing information of the associated service is obtained through the information exchange channel when the routing information of the associated service changes sent over. In the second scenario, because the source nodes of the two services are different, the associated routing information may not be updated in time, resulting in the two services not following a strictly unrelated routing policy. At this time, the control plane maintains an associated service that does not follow the route The alert status of the policy.

本发明实施例ASON与传统网络对接时SNCP保护的方法及装置,当仅有源(或宿)节点不在ASON域内时,可以在建立第二条业务的时候,同时指定关联第一条业务,让两条业务可以共有同一个上(或下)业务时隙,实现通道信号的并发优收;当源宿节点均不在ASON域内时,采取用户分别对两条业务的源节点下发设置关联请求的方法,不需要两个节点交互即可建立关联关系来提供SNCP保护,同时增加一个关联业务不遵循路由策略告警,提示用户什么时候需调整关联业务路由以提供完整的SNCP保护。因此,本发明通过建立的相互关联的两条业务,使得ASON网络无论处于哪个域,都可以提供类似于1+1(路径)保护的功能。当故障发生在ASON域外时,可以发生倒换,从工作路径倒换到保护路径。同时这两个业务可以单独的具有恢复属性,在路径故障发生在ASON域内时,可以在ASON域中实现控制平面的动态重路由,从而提高了ASON网络的安全性。The method and device for SNCP protection in the embodiment of the present invention when ASON is docked with a traditional network, when only the source (or sink) node is not in the ASON domain, when the second service is established, the associated first service can be specified at the same time, so that The two services can share the same up (or down) service time slot to realize the concurrent and optimal reception of channel signals; when the source and sink nodes are not in the ASON domain, the user sends an association request to the source nodes of the two services respectively In this method, an association relationship can be established without interaction between two nodes to provide SNCP protection, and at the same time, an associated service does not follow the routing policy alarm, prompting the user when to adjust the associated service route to provide complete SNCP protection. Therefore, the present invention enables the ASON network to provide a function similar to 1+1 (path) protection no matter which domain it is in by establishing two interrelated services. When a fault occurs outside the ASON domain, switching can occur from the working path to the protection path. At the same time, these two services can have recovery properties independently. When a path failure occurs in the ASON domain, dynamic rerouting of the control plane can be realized in the ASON domain, thereby improving the security of the ASON network.

以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.

Claims (13)

1. the method for SNCP SNCP protection is characterized in that when an ASON ASON docked with legacy network, comprising:
Foundation first professional and second business that be mutually related; Only source node or destination node are in the territory of ASON network for said first professional and second business, and perhaps said first professional and the second professional source node and destination node be not all in the territory of ASON network;
For the ASON network SNCP is provided protection with second business according to said first business that is mutually related.
2. method according to claim 1 is characterized in that, when said first professional and second business when only source node or destination node are in the territory of ASON network, said foundation is mutually related and first professionally comprises with the second professional step:
Set up unshielded said first business;
Select for use and the said first professional identical last business time-slot, set up said second business, and appointment and said first business association.
3. method according to claim 2 is characterized in that, saidly sets up second business, and the step of appointment and said first business association comprises:
Set up the local information of second business, and this second professional associated services of preservation is designated said first business in the local information of second business; And the local information of obtaining said first business, and this first professional associated services of preservation is designated said second business in the local information of said first business;
From the local information of said first business, take out the routing iinformation of said first business, initiate to calculate the road request;
When said first professional and second business followed strict irrelevant routing policy, accomplish the second professional foundation according to the request of said calculation road; Otherwise second professional the foundation failed, and cancels the incidence relation of preserving in said first, second professional local message.
4. method according to claim 3 is characterized in that, said foundation according to calculation road request completion second business comprises:
When said source node issues the intersection request, between said first business and second business, form concurrent excellent receipts relation.
5. method according to claim 3; It is characterized in that; Saidly set up second business, and the step of appointment and said first business association comprises further: when said first professional and second business do not followed strict irrelevant routing policy, to the user prompt warning information.
6. method according to claim 1 is characterized in that, when said first professional and the second professional source node and destination node were all not in the territory of ASON network, said foundation was mutually related and first professionally comprises with the second professional step:
Set up two business, respectively professional and second business as first;
Associate Command is sent to first, second professional source node respectively, in local information separately, preserves the associated services sign that the other side's service identification is self respectively by two business;
Between said first, second professional source node, create information interaction passage, carry out the association of two business;
After the association success, set up the correlation protection relation of two business, through said information interaction passage, between said first, second business, send out both routing iinformations mutually.
7. method according to claim 6 is characterized in that, said first professional and the second professional type of service comprise following one of at least: 1+1SNCP is professional, information intelligent platform MSP business or unprotect business.
8. according to claim 6 or 7 described methods, it is characterized in that, also comprise: safeguard said first, second professional routing iinformation.
9. the device of SNCP protection is characterized in that when an ASON docked with legacy network, comprising:
Module is set up in association, is used for setting up first professional and second business that is mutually related; Only source node or destination node are in the territory of ASON network for said first professional and second business, and perhaps said first professional and the second professional source node and destination node be not all in the territory of ASON network;
Protection module is used for for the ASON network SNCP being provided protection with second business according to said first business that is mutually related.
10. device according to claim 9 is characterized in that, said association is set up module and comprised:
First sets up the unit, is used to set up unshielded said first business;
Second sets up the unit, is used to select for use and the said first professional identical last business time-slot, sets up said second business, and appointment and said first business association.
11. device according to claim 10 is characterized in that, said second sets up the unit comprises:
The service identification subelement is used to set up the second professional local information, and in the second professional local information, preserves this second professional associated services and be designated said first business; And the local information of obtaining said first business, and this first professional associated services of preservation is designated said second business in the local information of said first business;
Calculate the way unit, be used for taking out the routing iinformation of said first business, initiate to calculate the road request from the said first professional local information;
Set up subelement, be used for when said first professional and second business followed strict irrelevant routing policy, accomplish the second professional foundation according to the request of said calculation road; Otherwise second professional the foundation failed, and cancels the incidence relation of preserving in said first, second professional local message.
12., it is characterized in that the said subelement of setting up also is used for when said source node issues the intersection request, between said first business and second business, forms concurrent excellent receipts relation based on the described device of claim 11; And when said first professional and second business do not followed strict irrelevant routing policy, to the user prompt warning information.
13. device according to claim 9 is characterized in that, said association is set up module and is comprised:
The 3rd sets up the unit, is used to set up two business, respectively professional and second business as first;
Transmitting element is used for Associate Command is sent to first, second professional source node respectively, in local information separately, preserves the associated services sign that the other side's service identification is self respectively by two business;
Passage is created the unit, is used between said first, second professional source node, creating information interaction passage, carries out the association of two business;
The 4th sets up the unit, is used for after related success, sets up the correlation protection relation of two business, through said information interaction passage, between said first, second business, sends out both routing iinformations mutually.
CN201110166071.5A 2011-06-20 2011-06-20 The method and device that SNCP is protected when ASON is docked with legacy network Expired - Fee Related CN102843618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110166071.5A CN102843618B (en) 2011-06-20 2011-06-20 The method and device that SNCP is protected when ASON is docked with legacy network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110166071.5A CN102843618B (en) 2011-06-20 2011-06-20 The method and device that SNCP is protected when ASON is docked with legacy network

Publications (2)

Publication Number Publication Date
CN102843618A true CN102843618A (en) 2012-12-26
CN102843618B CN102843618B (en) 2017-09-29

Family

ID=47370629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110166071.5A Expired - Fee Related CN102843618B (en) 2011-06-20 2011-06-20 The method and device that SNCP is protected when ASON is docked with legacy network

Country Status (1)

Country Link
CN (1) CN102843618B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177354A1 (en) * 2017-03-29 2018-10-04 中兴通讯股份有限公司 Method and apparatus for generating shared risk link group

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1351452A1 (en) * 2002-04-02 2003-10-08 BRITISH TELECOMMUNICATIONS public limited company Network capacity management system
CN101170494A (en) * 2007-11-21 2008-04-30 中兴通讯股份有限公司 Soft rerouting method in automatic switched optical network
CN101394313A (en) * 2007-09-18 2009-03-25 华为技术有限公司 Peer-to-peer network node service status monitoring method
CN101547382A (en) * 2009-05-06 2009-09-30 烽火通信科技股份有限公司 Separation method for active-Standby service resource of different source and sink for grid network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1351452A1 (en) * 2002-04-02 2003-10-08 BRITISH TELECOMMUNICATIONS public limited company Network capacity management system
CN101394313A (en) * 2007-09-18 2009-03-25 华为技术有限公司 Peer-to-peer network node service status monitoring method
CN101170494A (en) * 2007-11-21 2008-04-30 中兴通讯股份有限公司 Soft rerouting method in automatic switched optical network
CN101547382A (en) * 2009-05-06 2009-09-30 烽火通信科技股份有限公司 Separation method for active-Standby service resource of different source and sink for grid network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177354A1 (en) * 2017-03-29 2018-10-04 中兴通讯股份有限公司 Method and apparatus for generating shared risk link group

Also Published As

Publication number Publication date
CN102843618B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN100527716C (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
CN102136994B (en) Label switched path creation method, system and node equipment
KR101605052B1 (en) Method for creating ring network label switched path, related device and, communication system
CN100568854C (en) A method and interface board for maintaining neighbor relationship
CN102136991B (en) Method and node for configuring tunnel on label switching path
CN1866806B (en) Method for realizing shared grid network recovery
CN102204190B (en) A path creation method and a device thereof
CN102546427B (en) OSPF (Open Shortest Path First) protocol-based graceful restart (GR) method and router
WO2009146652A1 (en) Connection transfer method and system in an automatically switched optical network
CN102158300B (en) Method for establishing path in WDM network, communication node and communication system
WO2016165061A1 (en) Service protecting method and device
CN101192959A (en) Method for recovering multicast service connection of automatic switching optical network
CN100502528C (en) Method for realizing association between optical connections in automatic switching optical network
WO2019134572A1 (en) Sdn-based optical transport network protection recovery method and device, and storage medium
CN102843618B (en) The method and device that SNCP is protected when ASON is docked with legacy network
CN102136936B (en) Method, node and system for preventing control plane faults from influencing operation of forward data plane
CN101515827A (en) Method for business wrong link resistance wrong in an automatic switched optical network and system thereof
CN103905338B (en) The method and device that a kind of IP backbone merges
CN101192957A (en) Method for calculating multicast service route of automatic switching optical network
CN102325045B (en) It is a kind of to realize that control plane intersects the method and system switched
CN101662422B (en) Multi-layer network connection establishment method, node equipment and multi-layer network system
CN102201970A (en) Method and system for performing routing optimization on associated bidirectional label switched path (LSP)
CN101908969B (en) Optimization method, maintenance node and network system of end-to-end recovery path
CN1744568B (en) Network nodes for exchanging data information via paths or detours
WO2021190256A1 (en) Restoration path configuration method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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: 20170929