[go: up one dir, main page]

CN102487329B - Service restoration method and device - Google Patents

Service restoration method and device Download PDF

Info

Publication number
CN102487329B
CN102487329B CN201010570373.4A CN201010570373A CN102487329B CN 102487329 B CN102487329 B CN 102487329B CN 201010570373 A CN201010570373 A CN 201010570373A CN 102487329 B CN102487329 B CN 102487329B
Authority
CN
China
Prior art keywords
service
node
services
available route
route
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.)
Active
Application number
CN201010570373.4A
Other languages
Chinese (zh)
Other versions
CN102487329A (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.)
Changshu Intellectual Property Operation Center Co ltd
Guangdong Gaohang Intellectual Property Operation Co ltd
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 CN201010570373.4A priority Critical patent/CN102487329B/en
Priority to PCT/CN2011/078822 priority patent/WO2012071909A1/en
Publication of CN102487329A publication Critical patent/CN102487329A/en
Application granted granted Critical
Publication of CN102487329B publication Critical patent/CN102487329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/091Measuring contribution of individual network components to actual service level

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种业务恢复方法及装置,其中,业务恢复方法包括:确定多个业务的承载链路发生故障,多个业务具有相同的首节点和尾节点;确定首节点和尾节点之间存在至少一条可用路由,该一条可用路由的资源满足多个业务的资源总和,或多个业务中的至少两个业务的资源总和;使用可用路由恢复发生故障的多个业务或至少两个业务。通过本发明,达到了减少业务恢复时间,提高业务恢复效率的效果。

The invention discloses a service recovery method and device, wherein the service recovery method includes: determining that the bearer link of multiple services fails, and multiple services have the same head node and tail node; determining the link between the head node and the tail node There is at least one available route, and the resource of the available route satisfies the resource summation of multiple services, or the resource summation of at least two services among the multiple services; the available route is used to restore multiple services or at least two services that have failed. Through the present invention, the effects of reducing service recovery time and improving service recovery efficiency are achieved.

Description

业务恢复方法及装置Service recovery method and device

技术领域 technical field

本发明涉及通信领域,具体而言,涉及一种业务恢复方法及装置。The present invention relates to the communication field, in particular, to a service recovery method and device.

背景技术 Background technique

随着光传输技术的发展,ASON(AutomaticSwitchedOpticalNetwork,自动交换光网络)已经成为光传输的下一个发展方向。与传统光传送网相比,ASON引入了分布式智能化的控制平面,使传输、交换和数据网络结合在一起,实现了真正意义的路由设置、端到端业务调度和网络自动恢复。With the development of optical transmission technology, ASON (Automatic Switched Optical Network, Automatically Switched Optical Network) has become the next development direction of optical transmission. Compared with the traditional optical transport network, ASON introduces a distributed intelligent control plane, which combines transmission, switching and data networks, and realizes real routing settings, end-to-end service scheduling and automatic network recovery.

ASON的出现,为流量工程和业务管理提供了自动化控制手段。ASON在传统SDH(SynchronousDigitalHierarchy,同步数字体系)网络原有的管理平面、传送平面的基础上,引入了独立的控制平面,从链路资源管理技术、路由技术、信令技术三大方面支撑起ASON控制平面的体系驾构,使得邻居的自动发现、全网拓扑的自动生成和业务路径的自动创建成为可能,大大减少了人工分配标签、建立交叉的繁琐,实现了网络带宽资源的合理化分配和利用。The emergence of ASON provides automatic control means for traffic engineering and business management. ASON introduces an independent control plane based on the original management plane and transmission plane of the traditional SDH (Synchronous Digital Hierarchy) network, and supports ASON from three aspects: link resource management technology, routing technology, and signaling technology. The system structure of the control plane enables the automatic discovery of neighbors, the automatic generation of the entire network topology, and the automatic creation of service paths, which greatly reduces the tediousness of manually assigning labels and establishing cross-connections, and realizes the rational allocation and utilization of network bandwidth resources. .

在网络的生存性方面,ASON网络采用传送平面的保护机制和控制平面的保护恢复机制相结合的方法,根据不同的网络保护特性和业务等级,对业务进行保护和恢复,体现出ASON网络在业务保护恢复方面的巨大优势。In terms of network survivability, the ASON network adopts the method of combining the protection mechanism of the transmission plane and the protection and restoration mechanism of the control plane, and protects and restores services according to different network protection characteristics and service levels, which reflects the ASON network in the business Huge advantage in conservation recovery.

对于ASON网络中普遍存在的无保护业务,一旦业务所经过的某条链路发生故障,业务需要进行恢复。通常方法是,需要进行恢复的业务首节点动态建立一条与原LSP(LabelSwitchedPath,标签交换路径)首尾节点相同的新LSP,然后把业务从发生故障的LSP倒换到新的LSP上。For unprotected services that are common in ASON networks, once a link that the service passes fails, the service needs to be restored. The usual method is that the head node of the service that needs to be restored dynamically establishes a new LSP identical to the head and tail nodes of the original LSP (LabelSwitchedPath, Label Switched Path), and then switches the service from the failed LSP to the new LSP.

在进行业务恢复时,业务首节点进行的操作如下:首先,根据业务的流量工程特性进行基于约束的路由计算,得到满足要求的一条路径,即一系列有序的节点和链路的组合;然后,利用信令协议如RSVP-TE(ResourceReservationProtocol-TrafficEngineering,基于流量工程扩展的资源预留协议)在查询所得路径上发起建立一条LSP,在每个节点都进行资源预留、标签分配并将交叉下发至传送平面,从而建立起一条恢复连接并将受故障影响的业务切换至此LSP上。When performing service recovery, the operation of the service head node is as follows: first, perform constraint-based routing calculation according to the traffic engineering characteristics of the service, and obtain a path that meets the requirements, that is, a series of ordered combinations of nodes and links; then , use a signaling protocol such as RSVP-TE (ResourceReservationProtocol-TrafficEngineering, a resource reservation protocol based on traffic engineering extensions) to initiate the establishment of an LSP on the path obtained from the query, and perform resource reservation and label allocation on each node. Send it to the transport plane, so as to establish a recovery connection and switch the services affected by the failure to this LSP.

如果在首节点有多个业务需要进行恢复,则需要为每一个业务按照上述流程建立一条恢复连接,这会导致以下问题:If there are multiple services that need to be restored at the first node, a recovery connection needs to be established for each service according to the above process, which will cause the following problems:

(1),受路由协议如OSPF-TE(OpenShortestPathFirst(Protocol)-TrafficEngineering,基于流量工程的开放式最短路径优先协议)信息洪泛和收敛速度的影响,导致各条恢复连接资源竞争的可能性较大。(1), affected by information flooding and convergence speed of routing protocols such as OSPF-TE (OpenShortestPathFirst(Protocol)-TrafficEngineering, an open shortest path first protocol based on traffic engineering), the possibility of resource competition for each recovery connection is relatively high Big.

(2),由于光网络中RSVP(ResourceReservationProtocol,资源预留协议)协议广泛使用了上游节点指定标签信息机制,导致上下游节点之间标签竞争的可能性较大。(2) Since the RSVP (Resource Reservation Protocol, Resource Reservation Protocol) protocol in the optical network widely uses the label information mechanism specified by the upstream node, the possibility of label competition between the upstream and downstream nodes is relatively high.

(3),相同的操作流程被执行多次,尤其是向传送平面下发交叉操作比较费时。(3) The same operation process is executed multiple times, especially it is time-consuming to send cross operations to the transmission plane.

而无论是资源竞争、标签竞争,还是下发交叉操作费时,最终都会导致全部业务恢复耗费时间过多。因此,如果发生故障的链路上承载了较多业务,则每条业务都要分别进行恢复,需要花费较多的时间,严重影响了ASON恢复效率,成为影响ASON性能的一个瓶颈。Whether it is resource competition, label competition, or the delivery of cross-operation fees, it will eventually lead to too much time-consuming recovery of all services. Therefore, if the faulty link carries many services, each service must be restored separately, which takes a long time, seriously affects the recovery efficiency of ASON, and becomes a bottleneck affecting ASON performance.

发明内容 Contents of the invention

本发明的主要目的在于提供一种业务恢复方法及装置,以至少解决上述的业务恢复花费时间长,恢复效率低的问题。The main purpose of the present invention is to provide a service recovery method and device, so as to at least solve the above-mentioned problems of long service recovery time and low recovery efficiency.

根据本发明的一个方面,提供了一种业务恢复方法,包括:确定多个业务的承载链路发生故障,该多个业务具有相同的首节点和尾节点;确定首节点和尾节点之间存在至少一条可用路由,该一条可用路由的资源满足多个业务的资源总和,或多个业务中的至少两个业务的资源总和;使用可用路由恢复发生故障的多个业务或至少两个业务。According to one aspect of the present invention, a service recovery method is provided, including: determining that the bearer link of multiple services has a failure, and the multiple services have the same head node and tail node; At least one available route, the resource of the available route satisfies the resource sum of multiple services, or the resource sum of at least two services among the multiple services; the available route is used to restore multiple services or at least two services that have failed.

根据本发明的另一方面,提供了一种业务恢复装置,包括:第一确定模块,用于确定多个业务的承载链路发生故障,该多个业务具有相同的首节点和尾节点;第二确定模块,用于确定首节点和尾节点之间存在至少一条可用路由,该一条可用路由的资源满足多个业务的资源总和,或多个业务中的至少两个业务的资源总和;恢复模块,用于使用可用路由恢复发生故障的多个业务或至少两个业务。According to another aspect of the present invention, a service recovery device is provided, including: a first determination module, configured to determine that a failure occurs on a bearer link of multiple services, and the multiple services have the same head node and tail node; Two determining modules, used to determine that there is at least one available route between the head node and the tail node, and the resource of the available route satisfies the resource sum of multiple services, or the resource sum of at least two services among multiple services; the recovery module , for recovering multiple services or at least two services that have failed using the available routes.

通过本发明,采用当具有相同首节点和尾节点的多个业务发生故障时,从该首节点和尾节点之间再选择一条资源满足发生故障的多个业务占用的资源的可用路由,或者从多条这样的路由中选择一条,同时恢复发生故障的多个业务,而不必每个业务分别进行恢复,从而减小了标签竞争和资源竞争的可能性,并且,多业务批量恢复情况下仅须向传送平面下发一次交叉连接,大大降低了业务恢复所须的时间,提高了恢复效率,解决了现有技术中多业务故障时,业务恢复花费时间长,恢复效率低的问题,进而达到了减少业务恢复时间,提高业务恢复效率的效果。Through the present invention, when multiple services with the same head node and tail node fail, select an available route from between the head node and the tail node that satisfies the resources occupied by the failed multiple services, or from Select one of these routes to restore multiple services that have failed at the same time, without having to restore each service separately, thereby reducing the possibility of label competition and resource competition. In addition, in the case of multi-service batch recovery, only Sending a cross-connection to the transport plane greatly reduces the time required for service recovery, improves recovery efficiency, and solves the problems of long service recovery time and low recovery efficiency in the prior art when multiple services fail, thereby achieving Reduce business recovery time and improve business recovery efficiency.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例一的一种业务恢复方法的步骤流程图;FIG. 1 is a flow chart of steps of a service recovery method according to Embodiment 1 of the present invention;

图2是根据本发明实施例二的一种业务恢复方法的步骤流程图;FIG. 2 is a flow chart of steps of a service recovery method according to Embodiment 2 of the present invention;

图3是根据本发明实施例三的一种业务恢复方法的步骤流程图;FIG. 3 is a flow chart of steps of a service recovery method according to Embodiment 3 of the present invention;

图4是根据本发明实施例四的一种业务恢复方法的步骤流程图;FIG. 4 is a flow chart of steps of a service recovery method according to Embodiment 4 of the present invention;

图5是根据本发明实施例五的一种业务恢复方法中的ASON网络拓扑示意图;5 is a schematic diagram of an ASON network topology in a service recovery method according to Embodiment 5 of the present invention;

图6是根据本发明实施例六的一种业务恢复装置的结构框图。Fig. 6 is a structural block diagram of a service recovery device according to Embodiment 6 of the present invention.

具体实施方式 detailed description

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

参照图1,示出了根据本发明实施例一的一种业务恢复方法的步骤流程图,包括以下步骤:Referring to FIG. 1 , it shows a flow chart of steps of a service recovery method according to Embodiment 1 of the present invention, including the following steps:

步骤S102:确定多个业务的承载链路发生故障;Step S102: determining that the bearer links of multiple services are faulty;

其中,多个业务具有相同的首节点和尾节点。Among them, multiple services have the same head node and tail node.

步骤S104:确定首节点和尾节点之间存在至少一条可用路由;Step S104: Determine that there is at least one available route between the head node and the tail node;

其中,所述一条可用路由的资源满足多个业务的资源总和,或多个业务中的至少两个业务的资源总和。Wherein, the resource of one available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services among the multiple services.

在多个业务的首节点和尾节点之间,可能仅存在一条资源满足多个业务的资源总和的可用路由,则可以使用这条路由恢复多个业务;也可能存在多条资源满足多个业务的资源总和的可用路由,这时,可以按照预定规则选择其中一条路由,进行多业务恢复。当然,若仅存在一条路由,而该路由的资源仅能满足多个业务中的部分业务,该部分业务包括至少两个业务,此时,可以使用该路由恢复多个业务中的部分业务;若首节点和尾节点之间存在多个可用路由,但没有一个路由可以同时满足多个业务的资源,此时,可以使用其中的一个路由恢复部分业务,再使用其它的可用路由恢复剩下的业务。Between the head node and the tail node of multiple services, there may be only one available route whose resources satisfy the sum of the resources of multiple services, then this route can be used to restore multiple services; there may also be multiple resources that satisfy multiple services At this time, one of the routes can be selected according to the predetermined rules to perform multi-service recovery. Of course, if there is only one route, and the resources of this route can only satisfy part of the multiple services, and this part of the service includes at least two services, at this time, this route can be used to restore some of the multiple services; if There are multiple available routes between the head node and the tail node, but none of the routes can satisfy multiple business resources at the same time. At this time, one of the routes can be used to restore part of the business, and then other available routes can be used to restore the remaining business .

步骤S106:使用可用路由恢复发生故障的多个业务或至少两个业务。Step S106: using available routes to recover multiple services or at least two services that have failed.

相关技术中,在多个业务发生故障时,需要针对每个业务分别进行恢复,因此,业务恢复时间长,恢复效率低。通过本实施例,当具有相同首节点和尾节点的多个业务发生故障时,从该首节点和尾节点之间选择一条资源满足发生故障的多个业务或部分业务占用的资源的可用路由,同时恢复发生故障的业务,而不必每个业务分别进行恢复,从而减小了标签竞争和资源竞争的可能性,并且,多业务批量恢复情况下仅须向传送平面下发一次交叉连接,大大降低了业务恢复所须的时间,提高了恢复效率,解决了现有技术中多业务故障时,业务恢复花费时间长,恢复效率低的问题,进而达到了减少业务恢复时间,提高业务恢复效率的效果。In the related art, when multiple services fail, each service needs to be recovered separately, so the service recovery time is long and the recovery efficiency is low. Through this embodiment, when multiple services with the same head node and tail node fail, select an available route between the head node and the tail node whose resources satisfy the resources occupied by the failed multiple services or part of the services, Simultaneously restore the failed services instead of restoring each service separately, thereby reducing the possibility of label competition and resource competition. In addition, in the case of batch restoration of multiple services, only one cross-connection needs to be issued to the transport plane, which greatly reduces the The time required for business recovery is shortened, the recovery efficiency is improved, and the problem of long service recovery time and low recovery efficiency is solved when multiple services fail in the prior art, thereby achieving the effect of reducing the service recovery time and improving the service recovery efficiency .

参照图2,示出了根据本发明实施例二的一种业务恢复方法的步骤流程图,本实施例针对无保护业务,包括以下步骤:Referring to FIG. 2 , it shows a flow chart of steps of a service recovery method according to Embodiment 2 of the present invention. This embodiment includes the following steps for unprotected services:

步骤S202:故障检测。Step S202: fault detection.

即,检测到多个业务的链路发生故障。当某个链路出现故障后,此链路上承载的所有业务的首节点检测到故障的发生,准备发起业务的恢复操作。当然,也有可能多个链路同时发生故障,这时,这多个链路上承载的所有业务均无法正常进行,该多个业务的首节点检测到故障的发生,进而准备进行业务恢复。That is, it is detected that a link of multiple services fails. When a link fails, the head node of all services carried on this link detects the occurrence of the failure and prepares to initiate a service recovery operation. Of course, multiple links may fail at the same time. At this time, all the services carried by the multiple links cannot be carried out normally. The first node of the multiple services detects the occurrence of the failure, and then prepares for service recovery.

步骤S204:策略判断。Step S204: Policy judgment.

即,判断链路发生故障的多个业务的首、尾节点是否相同。当上述首节点需要恢复的业务为L1,L2...Ln,并且这些业务的首末节点相同时,可以进行批量恢复。需要说明的是,若多个发生故障的业务中仅有部分业务的首、尾节点相同,那么,这部分首、尾节点相同的业务同样适用于本实施例的批量业务恢复。本实施例中,仅以发生故障的多个业务均具有相同的首、尾节点为例。That is, it is judged whether the head node and the tail node of multiple services where the link fails are the same. When the services to be recovered by the first node are L1, L2...Ln, and the first and last nodes of these services are the same, batch recovery can be performed. It should be noted that, if only some of the services with the same start and end nodes among multiple failed services are also applicable to the batch service recovery in this embodiment. In this embodiment, it is only taken as an example that multiple faulty services all have the same head node and tail node.

步骤S206:路由查询。Step S206: Routing query.

首节点以L1,L2...Ln的带宽总和及其它路由约束条件作为新的约束条件进行路由查询,查询出从首节点到末节点的一条可用路径,且该可用路径的资源满足L1,L2...Ln的资源总和(即该可用路径的带宽满足L1,L2...Ln的带宽总和),则最终批量恢复的连接数为m,此时m=n,进入下一步骤S208。本实施例以带宽资源为例,以带宽总和为主要约束条件,但本领域技术人员在实际应用中,可以根据需要以其它工程流量特性的资源和其它约束条件进行路由查询,本发明对此不作限制。The first node uses the sum of the bandwidth of L1, L2...Ln and other routing constraints as new constraints to perform routing queries, and finds an available path from the first node to the last node, and the resources of the available path satisfy L1, L2 ...Ln resource sum (that is, the bandwidth of the available path satisfies the bandwidth sum of L1, L2...Ln), then the final number of connections to be recovered in batches is m, and at this time m=n, enter the next step S208. In this embodiment, bandwidth resources are taken as an example, and the sum of bandwidth is the main constraint condition. However, in practical applications, those skilled in the art can perform routing queries with resources of other engineering traffic characteristics and other constraint conditions as required, and the present invention does not make any contribution to this limit.

若由于整个网络中资源限制而导致路由查询失败,则可以减少带宽约束,重新发起路由查询,这种情况下查询结果可能是m(1<m<n)条连接共用一条路径,此时m条连接仍然可以采用批量恢复策略进行恢复,进入下一步骤S208。If the routing query fails due to resource constraints in the entire network, the bandwidth constraint can be reduced and the routing query can be re-initiated. In this case, the query result may be that m (1<m<n) connections share one path, and m The connection can still be recovered by adopting a batch recovery strategy, and the next step S208 is entered.

在最坏情况下m=1,即任何两条连接都不能共用一条路径,此时批量恢复策略无法实施,每条连接只能进行独立恢复,进入步骤S214。In the worst case, m=1, that is, any two connections cannot share a path. At this time, the batch recovery strategy cannot be implemented, and each connection can only be recovered independently, and the process goes to step S214.

步骤S208:首节点处理。Step S208: processing by the first node.

首节点在可用路径上使用RSVP协议发起建立一条新连接P,在此连接的RSVPPATH信令中,流量工程对象SENDERTSPEC中包含步骤S206查询成功的总带宽参数,RSVPPATH信令的私有数据中携带以下信息:连接P的属性为批量恢复连接(即该路由为多业务恢复路由)、需恢复的连接为L1,L2...Lm、L1,L2...Lm在本节点占用的标签以及各自的业务出端口和在尾节点占用的标签信息等。The head node uses the RSVP protocol to initiate the establishment of a new connection P on the available path. In the RSVPPATH signaling of this connection, the traffic engineering object SENDERTSPEC contains the total bandwidth parameter successfully queried in step S206, and the private data of the RSVPPATH signaling carries the following information : The attribute of the connection P is to restore connections in batches (that is, the route is a multi-service restoration route), and the connections to be restored are the labels occupied by L1, L2...Lm, L1, L2...Lm on this node and their respective services The output port and the label information occupied by the tail node, etc.

步骤S210:非首节点处理。Step S210: non-head node processing.

在连接P经过的各个节点,连接控制模块根据RSVPPATH信令的私有数据中的相关信息进行资源预留,并针对每个需要恢复的业务在传送平面建立交叉连接。At each node that the connection P passes through, the connection control module reserves resources according to the relevant information in the private data of the RSVPPATH signaling, and establishes a cross-connection on the transmission plane for each service that needs to be restored.

步骤S212:业务切换。Step S212: service switching.

当连接P建立成功后,原L1,L2...Lm连接上承载的业务即可切换至此新连接P上,可以根据业务策略决定将原故障连接删除或保留,从而实现了批量业务的恢复。After the connection P is successfully established, the services carried by the original L1, L2...Lm connections can be switched to this new connection P, and the original faulty connection can be deleted or retained according to the business policy, thereby realizing the recovery of batch services.

步骤S214:流程结束。Step S214: the process ends.

本实施例针对无保护业务的批量业务同时进行恢复的场景,采用了多个业务共享一条路径的策略,即将多个较小的“管道”合并为一个较大的“管道”进行处理,从而大大减少了标签竞争的可能性。而且,与每条连接单独恢复需要多次向传送平面下发交叉连接相比,批量恢复情况下向传送平面下发交叉连接是一次完成的,从而大大降低了业务恢复所需的时间,提高了恢复效率。且本实施例的技术方案没有改变RSVP协议本身的处理流程,而是借用了协议中PATH信令提供的私有数据字段,在网元之间传递批量业务恢复所需要的信息,实现方法简单。Aiming at the scene where batch services of unprotected services are recovered simultaneously, this embodiment adopts the strategy of sharing one path for multiple services, that is, merging multiple smaller "pipes" into one larger "pipeline" for processing, thereby greatly Reduces the possibility of label competition. Moreover, compared with the need to deliver cross-connections to the transport plane multiple times for individual recovery of each connection, the delivery of cross-connections to the transport plane is completed once in the case of batch recovery, which greatly reduces the time required for service recovery and improves recovery efficiency. Moreover, the technical solution of this embodiment does not change the processing flow of the RSVP protocol itself, but borrows the private data field provided by the PATH signaling in the protocol to transfer the information required for batch service recovery between network elements, and the implementation method is simple.

参照图3,示出了根据本发明实施例三的一种业务恢复方法的步骤流程图。本实施例中,以M个业务发生故障为例,其中有N个业务具有相同的首、尾节点,M>N≥2。Referring to FIG. 3 , it shows a flow chart of steps of a service recovery method according to Embodiment 3 of the present invention. In this embodiment, taking the failure of M services as an example, where N services have the same head node and tail node, M>N≥2.

本实施例的业务恢复方法包括以下步骤:The business recovery method of this embodiment includes the following steps:

步骤S302:首节点接收到告警信息。Step S302: the head node receives the alarm information.

本实施例中,当M个业务发生故障时,因多个业务中仅有部分业务具有相同的首、尾节点,所以至少有两个首节点接收到告警信息。本实施例以其中一个首节点为例进行说明。In this embodiment, when M services fail, at least two of the first nodes receive the alarm information because only some of the multiple services have the same head node and tail node. In this embodiment, one of the head nodes is taken as an example for description.

步骤S304:首节点判断受故障影响的共尾节点连接数为N。Step S304: the head node judges that the number of co-tail node connections affected by the fault is N.

步骤S306:首节点判断N是否大于1,若是,则执行步骤S310;若否,则执行步骤S308。Step S306: the head node judges whether N is greater than 1, if yes, execute step S310; if not, execute step S308.

本实施例中,N≥2,所以执行步骤S310。In this embodiment, N≥2, so step S310 is executed.

步骤S308:采用单条连接恢复处理,流程结束。Step S308: Adopt a single connection recovery process, and the process ends.

步骤S310:用N条连接的带宽总和进行路由查询。Step S310: use the sum of the bandwidths of the N connections to perform routing query.

本领域技术人员也可以以其它基于流量工程特性的参数进行路由查询。Those skilled in the art can also perform routing query with other parameters based on traffic engineering characteristics.

步骤S312:判断路由查询是否成功,若是,则执行步骤S314;若否,则执行步骤S316。Step S312: Determine whether the route query is successful, if yes, execute step S314; if not, execute step S316.

步骤S314:在新路径上发送信令建立连接,流程结束。Step S314: Send signaling on the new path to establish a connection, and the process ends.

步骤S316:N=N-1。Step S316: N=N-1.

步骤S318:判断N是否等于0,若否,则返回步骤S310;若是,则流程结束。Step S318: Determine whether N is equal to 0, if not, return to step S310; if yes, the process ends.

参照图4,示出了根据本发明实施例四的一种业务恢复方法的步骤流程图,包括以下步骤:Referring to FIG. 4 , it shows a flow chart of steps of a service recovery method according to Embodiment 4 of the present invention, including the following steps:

步骤S402:确定多个业务的承载链路发生故障。Step S402: It is determined that the bearer links of multiple services are faulty.

本实施例中,多个业务具有相同的首节点和尾节点。In this embodiment, multiple services have the same head node and tail node.

步骤S404:确定首节点和尾节点之间存在多条可用路由。Step S404: Determine that there are multiple available routes between the head node and the tail node.

其中,多条可用路由中的每一条可用路由的资源都满足多个业务的资源总和。Wherein, the resource of each available route among the multiple available routes satisfies the sum of resources of multiple services.

步骤S406:确定多条可用路由中的一条恢复业务。Step S406: Determine one of the multiple available routes to restore the service.

在相同首、尾节点之间存在多条可用路由时,可以根据预先设定的规则选择其中的一条。该预先设定的规则可以为任意适当的规则(如随机选择等),本发明对此不作限制。本实施例中,随机从多条可用路由中确定一条可用路由。When there are multiple available routes between the same head node and tail node, one of them can be selected according to preset rules. The preset rule may be any appropriate rule (such as random selection, etc.), which is not limited in the present invention. In this embodiment, one available route is randomly determined from multiple available routes.

步骤S408:使用确定的可用路由恢复发生故障的多个业务。Step S408: Using the determined available route to recover multiple failed services.

需要说明的是,若相同首、尾节点之间存在多条可用路由,但没有一条可用路由满足多个业务的资源总和时,则可以使用其中一条恢复部分业务,使用其它的恢复另外的业务。以5个具有相同首、尾节点的业务发生故障为例,若该首、尾节点之间存在二条可用路由A和B,此时,若A的资源满足前三个业务的资源总和,则使用路由A恢复前三个业务;再判断B的资源是否满足剩下的二个业务的资源总和,若可以满足,则使用B恢复剩下的二个业务。此时,与现有单个业务分别恢复相比,仍然缩短了业务恢复时间,提高了业务恢复效率。It should be noted that if there are multiple available routes between the same head and tail nodes, but none of the available routes satisfies the resource sum of multiple services, one of them can be used to restore some services, and the other can be used to restore other services. Take the failure of 5 services with the same first and last nodes as an example, if there are two available routes A and B between the first and last nodes, at this time, if the resources of A meet the resource sum of the first three services, use Router A restores the first three services; then judges whether the resource of B satisfies the sum of resources of the remaining two services, and if so, uses B to restore the remaining two services. At this time, compared with the separate recovery of existing individual services, the service recovery time is still shortened and the service recovery efficiency is improved.

参照图5,示出了根据本发明实施例五的一种业务恢复方法中的ASON网络拓扑示意图。Referring to FIG. 5 , it shows a schematic diagram of an ASON network topology in a service recovery method according to Embodiment 5 of the present invention.

如图5所示,本实施例的ASON网络包含七个网元A、B、C、D、E、F和G,网元之间的连线表示链路。网络中存在四条LSP,分别为L1、L2、L3和L4,对应的连接ID分别为id_1、id_2、id_3和id_4。L1和L2所经过的路径为A-B-C-G-D,L3和L4所经过的路径为A-F-B-C-D,网元B、C之间只有一条数据链路,四条LSP共同经过此链路。四条LSP的带宽都为STM-1(其中,STM表示带宽等级),网元A、E之间和网元E、D之间分别存在一条链路,链路上空闲带宽都为STM-4。As shown in FIG. 5 , the ASON network in this embodiment includes seven network elements A, B, C, D, E, F and G, and the lines between the network elements represent links. There are four LSPs in the network, namely L1, L2, L3 and L4, and the corresponding connection IDs are id_1, id_2, id_3 and id_4 respectively. The path traversed by L1 and L2 is A-B-C-G-D, and the path traversed by L3 and L4 is A-F-B-C-D. There is only one data link between network elements B and C, and the four LSPs pass through this link together. The bandwidths of the four LSPs are all STM-1 (wherein, STM represents the bandwidth level), there is a link between network elements A and E and between network elements E and D, and the idle bandwidth on the links is STM-4.

在网元A,L1、L2、L3和L4的业务入端口分别为inport_1、inport_2、inport_3和inport_4,业务入标签分别为inlabel_1、inlabel_2、inlabel_3和inlabel_4,对应的业务出端口分别为Pa1、Pa2、Pa3和Pa4,业务出标签分别为La1、La2、La3和La4。In NE A, the service ingress ports of L1, L2, L3 and L4 are inport_1, inport_2, inport_3 and inport_4 respectively, the service ingress labels are inlabel_1, inlabel_2, inlabel_3 and inlabel_4 respectively, and the corresponding service outports are Pa1, Pa2, For Pa3 and Pa4, the service output labels are La1, La2, La3 and La4 respectively.

在网元A的标签转发表中,L1、L2、L3和L4对应的标签转发条目如下所示:In the label forwarding table of NE A, the label forwarding entries corresponding to L1, L2, L3, and L4 are as follows:

连接ID connection ID 入端口 ingress port 入标签 Into the label 出端口 out port 出标签 out label id_1 id_1 inport_1 import_1 inlabel_1 inlabel_1 Pa1 Pa1 La1 La1 id_2 id_2 inport_2 import_2 inlabel_2 inlabel_2 Pa2 Pa2 La2 La2 id_3 id_3 inport_3 import_3 inlabel_3 inlabel_3 Pa3 Pa3 La3 La3 id_4 id_4 inport_4 import_4 inlabel_4 inlabel_4 Pa4 Pa4 La4 La4

在网元D,L1、L2、L3和L4的业务入端口分别为Pd3、Pd4、Pd1和Pd2,业务入标签分别为Ld3、Ld4、Ld1和Ld2,对应的业务出端口分别为outport_1、outport_2、outport_3和outport_4,业务出标签分别为outlabel_1、outlabel_2、outlabel_3和outlabel_4。In network element D, the service ingress ports of L1, L2, L3 and L4 are Pd3, Pd4, Pd1 and Pd2 respectively, the service ingress labels are Ld3, Ld4, Ld1 and Ld2 respectively, and the corresponding service outports are outport_1, outport_2, For outport_3 and outport_4, the service output labels are outlabel_1, outlabel_2, outlabel_3 and outlabel_4 respectively.

在网元D的标签转发表中,L1、L2、L3和L4对应的标签转发条目如下所示:In the label forwarding table of NE D, the label forwarding entries corresponding to L1, L2, L3, and L4 are as follows:

连接ID connection ID 入端口 ingress port 入标签 Into the label 出端口 out port 出标签 out label id_1 id_1 Pd3 Pd3 Ld3 Ld3 outport_1 outport_1 outlabel_1 outlabel_1 id_2 id_2 Pd4 Pd4 Ld4 Ld4 outport-2 outport-2 outlabel_2 outlabel_2 id_3 id_3 Pd1 Pd1 Ld1 Ld1 outport_3 outport_3 outlabel_3 outlabel_3 id_4 id_4 Pd2 Pd2 Ld2 Ld2 outport_4 outport_4 outlabel_4 outlabel_4

当网元B、C之间的链路出现故障之后,四条LSP上承载的业务都受到影响。故障链路信息通过OAM(OperationAdministrationandMaintenance,操作管理和维护)机制或者RSVPNOTIFY消息传递至业务的首节点网元A,网元A接收到链路故障信息后,可以确定L1、L2、L3和L4四条LSP上承载的业务需要进行恢复。When the link between network elements B and C fails, services carried on the four LSPs are all affected. Faulty link information is transmitted to network element A, the first node of the service, through the OAM (OperationAdministrationandMaintenance, operation management and maintenance) mechanism or RSVPNOTIFY message. After network element A receives the link fault information, it can determine the four LSPs of L1, L2, L3 and L4 The services carried on the network need to be restored.

由于L1、L2、L3和L4具有相同的首尾节点,因此,四条LSP可以使用多业务批量恢复策略进行恢复操作,包括:Since L1, L2, L3, and L4 have the same head and tail nodes, the four LSPs can use a multi-service batch recovery strategy for recovery operations, including:

(1)以网元A为首节点、网元D为尾节点,以四条LSP的带宽总和作为带宽约束条件进行路由查询,每条LSP的带宽均为STM-1,因此以STM-4作为新的约束条件进行路由查询。(1) With network element A as the head node and network element D as the tail node, the sum of the bandwidths of the four LSPs is used as the bandwidth constraint condition for routing query. The bandwidth of each LSP is STM-1, so STM-4 is used as the new Constraints for routing queries.

(2)根据网络拓扑结构,网元A、E之间的链路和网元E、D之间的链路空闲带宽都为STM-4,因此路径A-E-D为满足路由约束条件的查询结果。(2) According to the network topology, the free bandwidth of the link between network elements A and E and the link between network elements E and D is STM-4, so the path A-E-D is the query result that satisfies the routing constraints.

(3)网元A在路径A-E-D上利用RSVP协议发起建立一条新LSP,表示为L5。(3) Network element A uses the RSVP protocol on the path A-E-D to initiate the establishment of a new LSP, denoted as L5.

(4)Pa5端口上包含4个空闲STM-1带宽,对应的标签分别为label-1、label-2、label-3和label-4,将label-1、label-2、label-3和label-4按照数值由小到大的顺序排序,假设label-1<label-2<label-3<label-4;将id_1、id_2、id_3和id_4按照数值由小到大的顺序排序,假设id_1<id_2<id_3<id_4。按照较小的连接ID对应较小的标签号的规则,将label-1、label-2、label-3和label-4分别分配给L1、L2、L3和L4。网元A发向网元E的PATH消息私有数据中,携带如下信息:(4) There are 4 idle STM-1 bandwidths on the Pa5 port, and the corresponding labels are label-1, label-2, label-3 and label-4 respectively, label-1, label-2, label-3 and label -4 Sort the values from small to large, assuming label-1<label-2<label-3<label-4; sort id_1, id_2, id_3 and id_4 in ascending order of values, assuming id_1< id_2<id_3<id_4. According to the rule that a smaller connection ID corresponds to a smaller label number, assign label-1, label-2, label-3, and label-4 to L1, L2, L3, and L4, respectively. The private data of the PATH message sent from NE A to NE E carries the following information:

A)连接L5的属性为多业务批量恢复连接;A) The attribute of the connection L5 is multi-service batch recovery connection;

B)L5包含四个子连接,分别为L1、L2、L3和L4,对应的连接ID分别为id_1、id_2、id_3和id_4,并且占用的标签分别为label-1、label-2、label-3和label-4;B) L5 contains four sub-connections, namely L1, L2, L3 and L4, the corresponding connection IDs are id_1, id_2, id_3 and id_4, and the occupied labels are label-1, label-2, label-3 and label-4;

C)L1、L2、L3和L4对应的业务出端口分别为outport_1、outport_2、outport_3和outport_4,对应的出标签分别为outlabel_1、outlabel_2、outlabel_3和outlabel_4。C) The service outports corresponding to L1, L2, L3 and L4 are outport_1, outport_2, outport_3 and outport_4 respectively, and the corresponding outlabels are outlabel_1, outlabel_2, outlabel_3 and outlabel_4 respectively.

(5)网元A在端口Pa5上预留大小为STM-4的资源,将RSVPPATH消息发向网元E,此时网元A形成了如下的标签转发表:(5) Network element A reserves resources with a size of STM-4 on port Pa5, and sends the RSVPPATH message to network element E. At this time, network element A forms the following label forwarding table:

连接ID connection ID 入端口 ingress port 入标签 Into the label 出端口 out port 出标签 out label id_1 id_1 inport_1 import_1 inlabel_1 inlabel_1 Pa5 Pa5 label-1 label-1 id_2 id_2 inport_2 import_2 inlabel_2 inlabel_2 Pa5 Pa5 label-2 label-2 id_3 id_3 inport_3 import_3 inlabel_3 inlabel_3 Pa5 Pa5 label-3 label-3 id_4 id_4 inport_4 import_4 inlabel_4 inlabel_4 Pa5 Pa5 label-4 label-4

(6)网元E接收到网元A发送的RSVPPATH消息后,根据私有数据中的内容判断出L5是多业务批量恢复连接,同时将入端口Pe1上的标签label-1、label-2、label-3和label-4分别分配给四条子连接L1、L2、L3和L4。(6) After network element E receives the RSVPPATH message sent by network element A, it judges that L5 is a multi-service batch recovery connection according to the content in the private data, and at the same time, labels label-1, label-2, and label on the ingress port Pe1 -3 and label-4 are assigned to four sub-connections L1, L2, L3 and L4 respectively.

(7)网元E根据RSVPPATH消息中的ERO对象,得到连接L5下一跳为网元D,出端口为Pe2,Pe2端口上包含4个空闲STM-1带宽,对应的标签分别为label-5、label-6、label-7和label-8,将label-5、label-6、label-7和label-8按照由小到大的顺序排序,假设label-5<label-6<label-7<label-8。按照较小的连接ID对应较小的标签号的规则,将label-5、label-6、label-7和label-8分别分配给L1、L2、L3和L4。PATH消息的私有数据携带如下信息:(7) According to the ERO object in the RSVPPATH message, network element E obtains that the next hop of the connection L5 is network element D, the outgoing port is Pe2, and the Pe2 port contains 4 idle STM-1 bandwidths, and the corresponding labels are label-5 , label-6, label-7 and label-8, sort label-5, label-6, label-7 and label-8 in ascending order, assuming label-5<label-6<label-7 <label-8. According to the rule that a smaller connection ID corresponds to a smaller label number, assign label-5, label-6, label-7, and label-8 to L1, L2, L3, and L4, respectively. The private data of the PATH message carries the following information:

A)连接L5的属性为多业务批量恢复连接;A) The attribute of the connection L5 is multi-service batch recovery connection;

B)L5包含四个子连接,分别为L1、L2、L3和L4,对应的连接ID分别为id_1、id_2、id_3和id_4,并且占用的标签分别为label-5、label-6、label-7和label-8;B) L5 contains four sub-connections, namely L1, L2, L3 and L4, the corresponding connection IDs are id_1, id_2, id_3 and id_4, and the occupied labels are label-5, label-6, label-7 and label-8;

C)L1、L2、L3和L4对应的业务出端口分别为outport_1、outport_2、outport_3和outport_4,对应的出标签分别为outlabel_1、outlabel_2、outlabel_3和outlabel_4。C) The service outports corresponding to L1, L2, L3 and L4 are outport_1, outport_2, outport_3 and outport_4 respectively, and the corresponding outlabels are outlabel_1, outlabel_2, outlabel_3 and outlabel_4 respectively.

(8)网元E在Pe2端口上预留资源,并将RSVPPATH消息发向网元D,此时网元E形成了如下的标签转发表:(8) Network element E reserves resources on the Pe2 port, and sends the RSVPPATH message to network element D. At this time, network element E forms the following label forwarding table:

连接ID connection ID 入端口 ingress port 入标签 Into the label 出端口 out port 出标签 out label id_1 id_1 Pe1 Pe1 label-1 label-1 Pe2 Pe2 label-5 label-5 id_2 id_2 Pe1 Pe1 label-2 label-2 Pe2 Pe2 label-6 label-6 id_3 id_3 Pe1 Pe1 label-3 label-3 Pe2 Pe2 label-7 label-7 id_4 id_4 Pe1 Pe1 label-4 label-4 Pe2 Pe2 label-8 label-8

(9)网元D接收到网元E发送的RSVPPATH消息后,根据私有数据中的内容判断出L5是批量恢复连接,同时将入端口Pd5上的标签label-5、label-6、label-7和label-8分别分配给四条子连接L1、L2、L3和L4。(9) After network element D receives the RSVPPATH message sent by network element E, it judges that L5 is a batch recovery connection according to the content in the private data, and at the same time, labels label-5, label-6, and label-7 on the ingress port Pd5 and label-8 are assigned to the four sub-connections L1, L2, L3 and L4 respectively.

(10)网元D是连接的尾节点,根据接收到的PATH消息私有数据中四条子连接的出端口和出标签信息,形成了如下的标签转发表:(10) Network element D is the tail node of the connection. According to the outgoing port and outgoing label information of the four sub-connections in the private data of the received PATH message, the following label forwarding table is formed:

连接ID connection ID 入端口 ingress port 入标签 Into the label 出端口 out port 出标签 out label id_1 id_1 Pd5 Pd5 label-5 label-5 outport_1 outport_1 outlabel_1 outlabel_1 id_2 id_2 Pd5 Pd5 label-6 label-6 outport_2 outport_2 outlabel_2 outlabel_2 id_3 id_3 Pd5 Pd5 label-7 label-7 outport_3 outport_3 outlabel_3 outlabel_3 id_4 id_4 Pd5 Pd5 label-8 label-8 outport_4 outport_4 outlabel_4 outlabel_4

(11)网元D向网元E发送RSVPRESV消息,消息中的LABEL字段填写为一个特殊值0XFFFF,消息中私有数据的内容和接收到的RSVPPATH消息中的私有数据相同。(11) Network element D sends an RSVPRESV message to network element E, the LABEL field in the message is filled with a special value 0XFFFF, and the content of the private data in the message is the same as the private data in the received RSVPPATH message.

(12)网元E根据RSVPRESV消息中的私有数据内容,校验端口Pe2上资源预留成功,然后向网元A发送RSVPRESV消息,消息中的LABEL对象内容填写为一个特殊值0XFFFF,消息中私有数据的内容和接收到的RSVPPATH消息中的私有数据相同。(12) According to the private data content in the RSVPRESV message, network element E verifies that the resources on port Pe2 have been reserved successfully, and then sends an RSVPRESV message to network element A. The content of the LABEL object in the message is filled with a special value 0XFFFF, and the private The content of the data is the same as the private data in the received RSVPPATH message.

(13)网元A根据RSVPRESV消息中的私有数据内容,校验端口Pa5上资源预留成功,至此L5连接建立成功,将L1、L2、L3和L4上的业务切换至L5上,同时将L1、L2、L3和L4删除,批量业务恢复成功,整个流程结束。(13) According to the private data content in the RSVPRESV message, network element A verifies that the resource reservation on port Pa5 is successful, so far the L5 connection is established successfully, and switches the services on L1, L2, L3 and L4 to L5, and at the same time transfers the L1 , L2, L3, and L4 are deleted, the batch business is successfully restored, and the entire process ends.

参照图6,示出了根据本发明实施例六的一种业务恢复装置的结构框图,包括:Referring to FIG. 6, it shows a structural block diagram of a service recovery device according to Embodiment 6 of the present invention, including:

第一确定模块602,用于确定多个业务的承载链路发生故障,其中,多个业务具有相同的首节点和尾节点;第二确定模块604,用于确定首节点和尾节点之间存在至少一条可用路由,该一条可用路由的资源满足多个业务的资源总和,或满足多个业务中的至少两个业务的资源总和;恢复模块606,用于使用可用路由恢复发生故障的多个业务或至少两个业务。The first determination module 602 is used to determine that the bearer link of multiple services has a failure, wherein the multiple services have the same head node and tail node; the second determination module 604 is used to determine that there is a fault between the head node and the tail node. At least one available route, the resource of the available route satisfies the sum of the resources of multiple services, or the sum of the resources of at least two services in the multiple services; the recovery module 606 is used to recover multiple services that have failed using the available route Or at least two businesses.

优选的,第二确定模块604包括:判断模块,用于判断首节点和尾节点之间是否存在至少一条可用路由,所述一条可用路由的资源满足多个业务的资源总和;第一肯定模块,用于若判断模块的判断结果为是,则确定该可用路由为满足多个业务的资源总和的可用路由;第一否定模块,用于若判断模块的判断结果为否,则根据预定规则从资源总和中减少部分资源,根据减少后的资源总和判断首节点和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由;第二肯定模块,用于若第一否定模块的判断结果为是,则确定该可用路由为满足多个业务中的至少两个业务的资源总和的可用路由;第二否定模块,用于若第一否定模块的判断结果为否,则返回第一否定模块。Preferably, the second determination module 604 includes: a judging module, configured to judge whether there is at least one available route between the head node and the tail node, and the resources of the one available route meet the resource sum of multiple services; the first affirmation module, If the judging result of the judging module is yes, then determine that the available route is an available route satisfying the resource summation of multiple services; the first negation module is used if the judging result of the judging module is no, then according to the predetermined rule from the resource Reduce part of the resources in the sum, and judge whether there is at least one available route between the head node and the tail node that satisfies the reduced resource sum according to the reduced resource sum; If yes, it is determined that the available route is an available route that satisfies the resource sum of at least two of the multiple services; the second negation module is used to return to the first negation module if the judgment result of the first negation module is no.

优选的,恢复模块606包括:发送模块,用于首节点经可用路由上的各节点依次发送信令至尾节点,信令中携带有:指示可用路由为多业务恢复路由的信息,和待恢复的业务中的每个业务在本节点的信息;资源模块,用于可用路由上的各节点根据信令为待恢复的业务预留资源,并为待恢复的业务中的每个业务建立交叉连接;切换模块,用于将待恢复的业务切换到可用路由上。Preferably, the recovery module 606 includes: a sending module, used for the first node to send signaling to the tail node in turn via each node on the available route, the signaling carries: information indicating that the available route is a multi-service recovery route, and the information to be recovered The information of each service in the service in this node; the resource module is used for each node on the available route to reserve resources for the service to be restored according to the signaling, and establish a cross-connection for each service in the service to be restored ; A switching module, used to switch the service to be restored to an available route.

优选的,信令为遵循RSVP的信令,遵循RSVP的信令的私有数据携带指示可用路由为多业务恢复路由的信息,和待恢复的业务中每个业务在本节点的信息。Preferably, the signaling is signaling compliant with RSVP, and the private data of the signaling compliant with RSVP carries information indicating that the available route is a multi-service recovery route, and information that each service in the service to be restored is at the local node.

优选的,待恢复的业务中每个业务在本节点的信息包括:待恢复的业务中每个业务的业务标识,待恢复的业务中每个业务在本节点占用的标签,待恢复的业务中每个业务在本节点的业务出端口,和待恢复的业务中每个业务在尾节点占用的标签。Preferably, the information of each service in the service to be restored at this node includes: the service identifier of each service in the service to be restored, the label occupied by each service in the service to be restored at this node, the The service egress port of each service on this node, and the label occupied by each service in the tail node of the service to be restored.

优选的,上述业务为ASON中的无保护业务。Preferably, the above services are unprotected services in ASON.

需要说明的是,以上多个实施例中均针对ASON中的无保护业务为例作以说明,但本领域技术人员应当理解,本发明同样适用于有保护的业务,以及适用于除ASON外的包交换网络中的业务。It should be noted that, in the above multiple embodiments, the unprotected service in ASON is taken as an example for illustration, but those skilled in the art should understand that the present invention is also applicable to protected services and services other than ASON Traffic in packet-switched networks.

以上的描述中,可以看出,本发明提供的用于光通信领域的,特别用于ASON领域的多业务批量恢复的方法和装置,解决了现有技术中中多业务恢复耗时较多、效率低,以及标签竞争和资源竞争等问题,极大地提高多业务恢复效率,缩短了多业务恢复时间。From the above description, it can be seen that the method and device provided by the present invention for the field of optical communication, especially for the multi-service batch recovery in the ASON field, solve the problem of time-consuming multi-service recovery in the prior art. Low efficiency, and problems such as label competition and resource competition greatly improve the efficiency of multi-service recovery and shorten the time for multi-service recovery.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases, in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种业务恢复方法,其特征在于,包括:1. A service recovery method, characterized in that, comprising: 确定多个业务的承载链路发生故障,所述多个业务具有相同的首节点和尾节点;Determining that the bearer link of multiple services has a fault, and the multiple services have the same head node and tail node; 确定所述首节点和尾节点之间存在至少一条可用路由,所述一条可用路由的资源满足所述多个业务的资源总和,或所述多个业务中的至少两个业务的资源总和;Determining that there is at least one available route between the head node and the tail node, and the resource of the one available route satisfies the resource sum of the multiple services, or the resource sum of at least two services in the multiple services; 使用所述可用路由恢复所述发生故障的多个业务或所述至少两个业务;recovering the failed plurality of services or the at least two services using the available routes; 其中,确定所述首节点和尾节点之间存在至少一条可用路由包括:判断所述首节点和尾节点之间是否存在至少一条可用路由,所述一条可用路由的资源满足所述多个业务的资源总和;若存在,则确定该可用路由为满足所述多个业务的资源总和的可用路由;若不存在,则根据预定规则从所述资源总和中减少部分资源,根据所述减少后的资源总和判断所述首节点和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由。Wherein, determining that there is at least one available route between the head node and the tail node includes: judging whether there is at least one available route between the head node and the tail node, and the resource of the one available route satisfies the requirements of the plurality of services. The sum of resources; if it exists, determine that the available route is an available route that satisfies the sum of resources of the multiple services; if it does not exist, reduce some resources from the sum of resources according to predetermined rules, and according to the reduced resources The sum determines whether there is at least one available route satisfying the reduced resource sum between the head node and the tail node. 2.根据权利要求1所述的方法,其特征在于,根据所述减少后的资源总和判断所述首节点和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由之后,还包括:2. The method according to claim 1, wherein after judging whether there is at least one available route satisfying the reduced resource sum between the head node and the tail node according to the reduced resource sum, further comprising: : 如果存在至少一条满足减少后的资源总和的可用路由,则确定该可用路由为满足所述多个业务中的至少两个业务的资源总和的可用路由;如果不存在至少一条满足减少后的资源总和的可用路由,则返回所述根据预定规则从所述资源总和中减少部分资源,根据所述减少后的资源总和判断所述首节点和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由的步骤。If there is at least one available route that satisfies the reduced resource sum, determine that the available route is an available route that satisfies the resource sum of at least two of the multiple services; if there is not at least one that satisfies the reduced resource sum If there are available routes, return the part of the resources that are reduced from the total resources according to the predetermined rule, and judge whether there is at least one route between the head node and the tail node that satisfies the total resources after the reduction according to the total resources after the reduction. Steps for available routes. 3.根据权利要求1所述的方法,其特征在于,使用所述可用路由恢复所述发生故障的多个业务或所述至少两个业务的步骤包括:3. The method according to claim 1, wherein the step of using the available route to restore the failed multiple services or the at least two services comprises: 所述首节点经所述可用路由上的各节点依次发送信令至所述尾节点,所述信令中携带有:指示所述可用路由为多业务恢复路由的信息,和待恢复的业务中的每个业务在本节点的信息;The head node sequentially sends signaling to the tail node via each node on the available route, and the signaling carries: information indicating that the available route is a multi-service restoration route, and information among the services to be restored The information of each business in this node; 所述可用路由上的各节点根据所述信令为所述待恢复的业务预留资源,并为所述待恢复的业务中的每个业务建立交叉连接;Each node on the available route reserves resources for the service to be restored according to the signaling, and establishes a cross-connection for each service in the service to be restored; 将所述待恢复的业务切换到所述可用路由上。Switch the service to be restored to the available route. 4.根据权利要求3所述的方法,其特征在于,所述信令为遵循资源预留协议RSVP的信令,使用所述遵循RSVP的信令的私有数据携带所述指示所述可用路由为多业务恢复路由的信息,和待恢复的业务中每个业务在本节点的信息。4. The method according to claim 3, wherein the signaling is a signaling that follows the resource reservation protocol RSVP, and the private data of the signaling that follows the RSVP is used to carry the indication that the available route is The information of the multi-service restoration route, and the information of each service in the service to be restored in the local node. 5.根据权利要求3所述的方法,其特征在于,所述待恢复的业务中每个业务在本节点的信息包括:所述待恢复的业务中每个业务的业务标识,所述待恢复的业务中每个业务在本节点占用的标签,所述待恢复的业务中每个业务在本节点的业务出端口,和所述待恢复的业务中每个业务在所述尾节点占用的标签。5. The method according to claim 3, characterized in that, the information of each service in the service to be restored at the local node includes: the service identifier of each service in the service to be restored, the service to be restored The label occupied by each service in the service in the local node, the service output port of each service in the service to be restored in the local node, and the label occupied by each service in the service to be restored in the tail node . 6.根据权利要求1至5任一项所述的方法,其特征在于,所述业务为自动交换光网络中的无保护业务。6. The method according to any one of claims 1 to 5, wherein the service is an unprotected service in an Automatic Switched Optical Network. 7.一种业务恢复装置,其特征在于,包括:7. A service recovery device, characterized in that it comprises: 第一确定模块,用于确定多个业务的承载链路发生故障,所述多个业务具有相同的首节点和尾节点;The first determination module is configured to determine that the bearer link of multiple services has a failure, and the multiple services have the same head node and tail node; 第二确定模块,用于确定所述首节点和尾节点之间存在至少一条可用路由,所述一条可用路由的资源满足所述多个业务的资源总和,或所述多个业务中的至少两个业务的资源总和;The second determination module is configured to determine that there is at least one available route between the head node and the tail node, and the resource of the one available route satisfies the resource sum of the multiple services, or at least two of the multiple services The sum of the resources of a business; 恢复模块,用于使用所述可用路由恢复所述发生故障的多个业务或所述至少两个业务;A recovery module, configured to recover the multiple failed services or the at least two services by using the available route; 其中,所述第二确定模块包括:判断模块,用于判断所述首节点和尾节点之间是否存在至少一条可用路由,所述一条可用路由的资源满足所述多个业务的资源总和;第一肯定模块,用于若所述判断模块的判断结果为是,则确定该可用路由为满足所述多个业务的资源总和的可用路由;第一否定模块,用于若所述判断模块的判断结果为否,则根据预定规则从所述资源总和中减少部分资源,根据所述减少后的资源总和判断所述首节点和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由。Wherein, the second determining module includes: a judging module, configured to judge whether there is at least one available route between the head node and the tail node, and the resource of the one available route satisfies the resource sum of the multiple services; An affirmation module, used to determine that the available route is an available route that satisfies the sum of resources of the plurality of services if the judgment result of the judgment module is yes; a first negative module, used to determine if the judgment module If the result is no, reduce some resources from the resource sum according to a predetermined rule, and judge whether there is at least one available route between the head node and the tail node that satisfies the reduced resource sum according to the reduced resource sum. 8.根据权利要求7所述的装置,其特征在于,所述第二确定模块还包括:8. The device according to claim 7, wherein the second determining module further comprises: 第二肯定模块,用于若所述第一否定模块的判断结果为是,则确定该可用路由为满足所述多个业务中的至少两个业务的资源总和的可用路由;A second affirmative module, configured to determine that the available route is an available route that satisfies the sum of resources of at least two services among the plurality of services if the judgment result of the first negative module is yes; 第二否定模块,用于若所述第一否定模块的判断结果为否,则返回所述第一否定模块。The second negative module is configured to return to the first negative module if the judgment result of the first negative module is negative. 9.根据权利要求7所述的装置,其特征在于,所述恢复模块包括:9. The device according to claim 7, wherein the restoration module comprises: 发送模块,用于所述首节点经所述可用路由上的各节点依次发送信令至所述尾节点,所述信令中携带有:指示所述可用路由为多业务恢复路由的信息,和待恢复的业务中的每个业务在本节点的信息;A sending module, configured for the head node to send signaling to the tail node sequentially via each node on the available route, where the signaling carries: information indicating that the available route is a multi-service restoration route, and The information of each service in the service to be restored in this node; 资源模块,用于所述可用路由上的各节点根据所述信令为所述待恢复的业务预留资源,并为所述待恢复的业务中的每个业务建立交叉连接;A resource module, configured for each node on the available route to reserve resources for the service to be restored according to the signaling, and to establish a cross-connection for each service in the service to be restored; 切换模块,用于将所述待恢复的业务切换到所述可用路由上。A switching module, configured to switch the service to be restored to the available route. 10.根据权利要求9所述的装置,其特征在于,所述信令为遵循资源预留协议RSVP的信令,所述遵循RSVP的信令的私有数据携带所述指示所述可用路由为多业务恢复路由的信息,和待恢复的业务中每个业务在本节点的信息。10. The device according to claim 9, wherein the signaling is a signaling conforming to a resource reservation protocol (RSVP), and the private data of the signaling conforming to RSVP carries the indication that the available route is multiple The information of the service restoration route, and the information of each service in the service to be restored at the local node.
CN201010570373.4A 2010-12-02 2010-12-02 Service restoration method and device Active CN102487329B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010570373.4A CN102487329B (en) 2010-12-02 2010-12-02 Service restoration method and device
PCT/CN2011/078822 WO2012071909A1 (en) 2010-12-02 2011-08-24 Method and device for service recovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010570373.4A CN102487329B (en) 2010-12-02 2010-12-02 Service restoration method and device

Publications (2)

Publication Number Publication Date
CN102487329A CN102487329A (en) 2012-06-06
CN102487329B true CN102487329B (en) 2016-03-30

Family

ID=46152785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010570373.4A Active CN102487329B (en) 2010-12-02 2010-12-02 Service restoration method and device

Country Status (2)

Country Link
CN (1) CN102487329B (en)
WO (1) WO2012071909A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549865A (en) * 2015-09-21 2017-03-29 中兴通讯股份有限公司 Method, device and software defined network SDN controllers that service dynamic is recovered
EP3823224A1 (en) * 2016-03-15 2021-05-19 Huawei Technologies Co., Ltd. Service path establishment method, node device, and system
CN108183810B (en) * 2016-12-08 2019-06-04 中兴通讯股份有限公司 Parallel recovery method, device and system for multi-service under SDN architecture
CN108881453A (en) * 2018-06-28 2018-11-23 郑州云海信息技术有限公司 Communication means and its network node under a kind of distributed file system
CN110858820A (en) * 2018-08-22 2020-03-03 中兴通讯股份有限公司 Service operation method and device, storage medium and electronic device
CN112994785A (en) * 2019-12-18 2021-06-18 中国电信股份有限公司 Service recovery method and device
CN112671640A (en) * 2020-12-14 2021-04-16 烽火通信科技股份有限公司 Route deployment method and system based on assembly line

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674527A (en) * 2005-04-15 2005-09-28 清华大学 Method for enhancing survivability of automatic exchange optical network
CN1710869A (en) * 2005-07-14 2005-12-21 广东省电信有限公司研究院 Method for realizing connected reinforced main-apparatus protection in automatic exchange optical network
CN1866856A (en) * 2005-09-20 2006-11-22 华为技术有限公司 Path protecting method in MESH network
CN101651625A (en) * 2009-09-03 2010-02-17 中兴通讯股份有限公司 Route selecting device and route selecting method of multi-service restoration
CN101030939B (en) * 2007-03-27 2010-11-10 华为技术有限公司 Method and apparatus for establishing and restoring label exchange path in automatic-exchange optical network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674527A (en) * 2005-04-15 2005-09-28 清华大学 Method for enhancing survivability of automatic exchange optical network
CN1710869A (en) * 2005-07-14 2005-12-21 广东省电信有限公司研究院 Method for realizing connected reinforced main-apparatus protection in automatic exchange optical network
CN1866856A (en) * 2005-09-20 2006-11-22 华为技术有限公司 Path protecting method in MESH network
CN101030939B (en) * 2007-03-27 2010-11-10 华为技术有限公司 Method and apparatus for establishing and restoring label exchange path in automatic-exchange optical network
CN101651625A (en) * 2009-09-03 2010-02-17 中兴通讯股份有限公司 Route selecting device and route selecting method of multi-service restoration

Also Published As

Publication number Publication date
CN102487329A (en) 2012-06-06
WO2012071909A1 (en) 2012-06-07

Similar Documents

Publication Publication Date Title
US8711863B2 (en) Virtual links in a routed ethernet mesh network
CN102487329B (en) Service restoration method and device
US6011780A (en) Transparant non-disruptable ATM network
US5687168A (en) Link state routing device in ATM communication system
EP2911348B1 (en) Control device discovery in networks having separate control and forwarding devices
CN102263697B (en) Method and device for sharing aggregated link traffic
EP1843544B1 (en) A data transmission method and system of label switching network
US7778204B2 (en) Automatic maintenance of a distributed source tree (DST) network
EP2495918B1 (en) Method, system and node device for establishing label switch path
EP1845656A1 (en) A method for implementing master and backup transmission path
US8619785B2 (en) Pre-computing alternate forwarding state in a routed ethernet mesh network
EP2750327A1 (en) Method and apparatus for computing alternate multicast/broadcast paths in a routed network
CN101656630B (en) A kind of service protecting method and system
CN102204190B (en) A path creation method and a device thereof
US20130259472A1 (en) Method and network node for configuring a network for optimized transport of packet traffic
CN102281193B (en) Method and fiber channel (FC) equipment for realizing message forwarding in fiber channel network
CN101420384A (en) Method for realizing self-curing protection in ECMP region
CN117856883A (en) Service protection method and network node
US20180159762A1 (en) Advertising Messages in Networks
CN101483491A (en) Shared guard ring, multicast source route protection method and node thereof
CN113794633B (en) A rerouting method and routing system with zero packet loss
CN102098594B (en) A kind of connection establishment signaling conflict avoiding based on information diffusion optical-fiber network
CN106464524A (en) Route calculation method and apparatus in ASON
Liu et al. Distributed route computation and provisioning in shared mesh optical networks
CN103117924A (en) Method and device for protection switching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200715

Address after: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee before: ZTE Corp.

Effective date of registration: 20200715

Address after: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

TR01 Transfer of patent right
CP02 Change in the address of a patent holder

Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.

CP02 Change in the address of a patent holder