WO2012071909A1 - Method and device for service recovery - Google Patents

Method and device for service recovery Download PDF

Info

Publication number
WO2012071909A1
WO2012071909A1 PCT/CN2011/078822 CN2011078822W WO2012071909A1 WO 2012071909 A1 WO2012071909 A1 WO 2012071909A1 CN 2011078822 W CN2011078822 W CN 2011078822W WO 2012071909 A1 WO2012071909 A1 WO 2012071909A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
node
resources
services
available route
Prior art date
Application number
PCT/CN2011/078822
Other languages
French (fr)
Chinese (zh)
Inventor
王煊
张锐
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012071909A1 publication Critical patent/WO2012071909A1/en

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

Definitions

  • TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a service recovery method and apparatus.
  • Background Art With the development of optical transmission technology, ASON (Automatic Switched Optical Network) has become the next development direction of optical transmission. Compared with the traditional optical transport network, AS0N introduces a distributed intelligent control plane, which combines transmission, switching and data networks to achieve true routing setup, end-to-end service scheduling and network automatic recovery.
  • AS0N provides automated control for traffic engineering and business management.
  • AS0N introduces an independent control plane, which is supported by three aspects: link resource management technology, routing technology, and signaling technology.
  • link resource management technology e.g., Link resource management technology
  • routing technology e.g., routing technology
  • signaling technology e.g., signaling technology.
  • the system construction of the AS0N control plane enables the automatic discovery of neighbors, the automatic generation of the entire network topology, and the automatic creation of service paths. This greatly reduces the complexity of manually assigning labels and establishing crossovers, and rationalizes the allocation of network bandwidth resources. And use.
  • the ASON network adopts a combination of a transport plane protection mechanism and a control plane protection recovery mechanism to protect and recover services according to different network protection features and service levels, reflecting the ASON network in the service.
  • a transport plane protection mechanism and a control plane protection recovery mechanism to protect and recover services according to different network protection features and service levels, reflecting the ASON network in the service.
  • a common method is to dynamically establish a new LSP that is the same as the first and last nodes of the original LSP (Label Switched Path) and then switch the service from the failed LSP to the new LSP.
  • the operations performed by the first node of the service are as follows: First, the constraint-based route calculation is performed according to the traffic engineering characteristics of the service, and a path that satisfies the requirement is obtained, that is, a series of ordered nodes and a combination of links; A signaling protocol such as RSVP-TE (Resource Reservation Protocol-Traffic Engineering) is used to initiate an LSP on the path obtained by querying, and resource reservation and label allocation are performed at each node. The cross is delivered to the transport plane, thereby establishing a recovery connection and switching the service affected by the fault to the LSP. If there are multiple services on the head node that need to be restored, you need to establish a recovery connection for each service according to the above procedure, which will cause the following problems:
  • RSVP-TE Resource Reservation Protocol-Traffic Engineering
  • OSPF-TE Open Shortest Path First ( Protocol) - Traffic Engineering, Open Shortest Path First Protocol based on traffic engineering
  • RSVP Resource Reservation Protocol
  • a primary object of the present invention is to provide a service recovery method and apparatus, which at least solve the problem that the above-mentioned service recovery takes a long time and the recovery efficiency is low.
  • a service recovery method including: determining that a bearer link of multiple services is faulty, the multiple services have the same head node and tail node; determining that a relationship exists between the first node and the tail node At least one available route, the resource of the one available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services in multiple services; uses the available routes to recover multiple services or at least two services that fail.
  • the step of determining that there is at least one available route between the first node and the tail node comprises: determining whether there is at least one available route between the first node and the tail node, and the resource of the one available route satisfies the sum of resources of the plurality of services; If yes, the available route is determined to be an available route that satisfies the sum of the resources of the multiple services; if not, the part of the resource is reduced from the sum of the resources according to the predetermined rule, and whether the relationship between the first node and the tail node is determined according to the sum of the reduced resources There is at least one available route that satisfies the sum of the reduced resources; if yes, determining that the available route is an available route that satisfies the sum of resources of at least two of the plurality of services; if not, returning from the sum of the resources according to the predetermined rule Reducing part of the resources, and determining, according to the total of the reduced resources, whether there is at least one available route that sati
  • the step of recovering the failed multiple services or the at least two services by using the available routes includes: the first node sequentially sends signaling to the tail node via each node on the available route, where the signaling carries: indicating that the available route is Multi-service recovery routing information, and information of each service in the service to be recovered at the local node; each node on the available route reserves resources for the service to be recovered according to the signaling, and is each of the services to be recovered The services establish cross-connections; switch the services to be restored to available routes.
  • the signaling is signaling conforming to the resource reservation protocol RSVP, and the private data that uses the RSVP-compliant signaling carries information indicating that the available route is a multi-service recovery route, and each service in the service to be recovered is in the local node. information.
  • the information of each service in the service to be restored includes: a service identifier of each service in the service to be restored, a label occupied by the local node in the service to be restored, and a service to be restored.
  • the foregoing service is an unprotected service in an automatic switched optical network.
  • a service recovery apparatus including: a first determining module, configured to determine that a bearer link of multiple services is faulty, the multiple services having the same head node and tail node; a determining module, configured to determine that there is at least one available route between the first node and the tail node, the resource of the available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services in multiple services; , set to use the available routes to recover multiple services or at least two services that have failed.
  • the second determining module comprises: a determining module, configured to determine whether there is at least one available route between the first node and the tail node, the resource of the one available route satisfies the sum of resources of the plurality of services; the first affirmative module is set to If the judgment result of the judging module is yes, determining that the available route is an available route that satisfies the sum of resources of the plurality of services; the first negation module is configured to: if the judgment result of the judging module is no, the sum of resources from the sum according to the predetermined rule Reducing part of the resources, and determining, according to the total of the reduced resources, whether there is at least one available route that satisfies the sum of the reduced resources between the first node and the tail node; and the second affirmative module is set to be that if the first negative module determines that the result is yes, Then determining that the available route is an available route that satisfies the sum of resources of at least two services of the multiple services; and the
  • the recovery module includes: a sending module, configured to send, by the first node, the signaling to the tail node through the nodes on the available route, where the signaling carries: information indicating that the available route is a multi-service recovery route, and waiting
  • the information of each service in the restored service is in the information of the node
  • the resource module sets each node on the available route to reserve resources for the service to be restored according to the signaling, and establishes a cross for each service in the service to be restored. Connection
  • the switch module is set to switch the service to be recovered to an available route.
  • the signaling is signaling conforming to the resource reservation protocol RSVP
  • the private data following the signaling of the RSVP carries information indicating that the available route is a multi-service recovery route, and information of each service in the service to be recovered is in the node.
  • another resource is selected from the head node and the tail node to satisfy the available route of the resource occupied by the failed multiple services, or Select one of the multiple such routes, and recover multiple services that fail at the same time, without having to recover each service separately, thereby reducing the possibility of label competition and resource competition, and only need to recover multiple services in batches.
  • FIG. 1 is a flow chart showing the steps of a service recovery method according to a first embodiment of the present invention
  • FIG. 2 is a flow chart showing the steps of a service recovery method according to a second embodiment of the present invention
  • FIG. 4 is a flow chart of steps of a service recovery method according to Embodiment 4 of the present invention
  • FIG. 5 is a service recovery method according to Embodiment 5 of the present invention
  • FIG. 6 is a structural block diagram of a service recovery apparatus according to Embodiment 6 of the present invention
  • FIG. 7 is a structural block diagram of a service recovery apparatus according to Embodiment 7 of the present invention.
  • a flow chart of steps of a service recovery method includes the following steps: Step S102: Determine that a bearer link of multiple services fails; where multiple services have the same first node and tail node.
  • Step S104 It is determined that there is at least one available route between the first node and the tail node. The resource of the one available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services of multiple services. Between the first node and the tail node of multiple services, there may be only one available route that meets the sum of the resources of multiple services.
  • the available route of the sum of resources, at this time, one of the routes can be selected according to a predetermined rule for multi-service recovery.
  • the route can be used to recover some services in multiple services;
  • one of the routes can be used to recover some services, and then the other available routes can be used to recover the remaining services. .
  • Step S106 Restore the failed multiple services or at least two services by using the available routes.
  • each service needs to be restored separately. Therefore, the service recovery time is long and the recovery efficiency is low.
  • a resource is selected from the first node and the tail node to satisfy the available routes of the resources occupied by the failed multiple services or part of the services. At the same time, the faulty service is restored, and each service is not required to be restored separately, thereby reducing the possibility of label competition and resource competition.
  • Step S202 Fault detection. That is, the link detecting multiple services fails.
  • Step S204 Policy judgment. That is, it is determined whether the first and last nodes of the plurality of services whose links are faulty are the same. When the services to be restored 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.
  • Step S206 Routing query.
  • the first node performs routing query with the bandwidth sum of L1, L2...Ln and other routing constraints as a new constraint, and queries an available path from the first node to the last node, and the resources of the available path satisfy Ll, L2.
  • the bandwidth resource is taken as an example, and the sum of the bandwidths is the main constraint.
  • the technical personnel in the field can perform routing query with resources of other engineering traffic characteristics and other constraints as needed, and the present invention does not limit. If the route query fails due to resource limitations in the entire network, the bandwidth constraint can be reduced and the route query can be re-initiated.
  • the query result may be that m (Km ⁇ n) connections share a path, and m connections are still
  • the recovery can be performed by using the batch recovery policy, and the process proceeds to the next step S208.
  • the bulk recovery policy cannot be implemented, and each connection can only be independently restored, and the process proceeds to step S214.
  • the traffic engineering object SENDER TSPEC includes the total bandwidth parameter that is successfully queried in step S206.
  • the private data of the RSVP PATH signaling carries the following information:
  • the attribute of the connection P is a bulk recovery connection (that is, the route is a multi-service recovery route)
  • the connections to be restored are Ll, L2...Lm, LI, L2.. ⁇ m the labels occupied by the node and the respective service outgoing ports and tag information occupied at the tail nodes.
  • Step S210 Non-first node processing.
  • the connection control module performs resource reservation according to the relevant information in the private data of the RSVP PATH signaling, and establishes a cross-connection in the transmission plane for each service that needs to be recovered.
  • Step S212 Service switching. After the connection P is successfully established, the services carried on the original L1, L2, Lm connection can be switched to the new connection P. The original faulty connection can be deleted or retained according to the service policy, thereby realizing the recovery of the bulk service.
  • Step S214 The process ends. In this embodiment, a scenario in which a batch service of an unprotected service is simultaneously restored is adopted, and a strategy of sharing a path by multiple services is adopted, that is, a plurality of smaller "pipes" are merged into one large "pipe” for processing, thereby greatly Reduce the possibility of label competition.
  • the cross-connection is sent to the transport plane in the case of batch recovery, which is completed once, thereby greatly reducing the time required for service recovery and improving the time. Restore efficiency.
  • the technical solution of the 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, and transmits the information required for bulk service recovery between the network elements, and the implementation method is simple. Referring to FIG. 3, a flow chart of steps of a service recovery method according to Embodiment 3 of the present invention is shown. In this embodiment, taking M services as an example, where N services have the same first and last nodes, M>N ⁇ 2.
  • the service recovery method in this embodiment includes the following steps: Step S302: The first node receives the alarm information. In this embodiment, when M services fail, since only some of the multiple services have the same first and last nodes, at least two of the first nodes receive the alarm information. This embodiment is described by taking one of the head nodes as an example.
  • Step S306 The first node determines whether N is greater than 1, if yes, step S310 is performed; if no, step S308 is performed. In the present embodiment, N ⁇ 2, so step S310 is performed.
  • Step S308 The processing is resumed by using a single connection, and the process ends.
  • Step S310 Perform routing query by using the sum of bandwidths of the N connections. Those skilled in the art can also perform routing queries with other parameters based on traffic engineering characteristics.
  • Step S312 determining whether the route query is successful, if yes, executing step S314; if not, executing step S316.
  • Step S314 Send a signaling connection on the new path, and the process ends.
  • Step S316: N N-1.
  • Step S318 It is judged whether N is equal to 0, and if not, returns to step S310; if yes, the flow ends. Referring to FIG.
  • Step S402 Determine that a bearer link of multiple services fails.
  • multiple services have the same head node and tail node.
  • Step S404 It is determined that there are multiple available routes between the first node and the tail node. The resources of each of the plurality of available routes satisfy the sum of the resources of the multiple services.
  • Step S406 Determine one of the plurality of available routes to recover the service. When there are multiple available routes between the same first and last nodes, one of them can be selected according to a preset rule.
  • the pre-set rule may be any suitable rule (such as random selection, etc.), which is not limited by the present invention.
  • an available route is randomly determined from a plurality of available routes.
  • Step S408 Restore the failed multiple services by using the determined available routes. It should be noted that if there are multiple available routes between the same first and last nodes, but none of the available routes meets the sum of resources of multiple services, one of them can be used to recover part of the service, and the other is used to recover another service. For example, if five services with the same first and last nodes fail, if there are two available routes A and B between the first and last nodes, then if the resources of A satisfy the sum of the resources of the first three services, then use Route A recovers the first three services; and then determines whether the resources of B satisfy the sum of the resources of the remaining two services.
  • FIG. 5 a schematic diagram of an ASON network topology in a service recovery method according to Embodiment 5 of the present invention is shown.
  • the ASON network of this embodiment includes seven network elements A, B, C, D, E, F, and G, and the connection between the network elements represents a link.
  • the corresponding connection IDs are id_l, id_2, id_3, and id_4.
  • the path that LI and L2 pass is A—B—C—G—D
  • the path that L3 and L4 pass is A-F-B_C-D.
  • the four LSPs pass through this link.
  • the bandwidth of the four LSPs is STM-1 (where STM indicates the bandwidth level), and there is a link between the network element and E and between the network elements E and D.
  • the idle bandwidth on the link is STM-4.
  • the service ingress ports of the network elements A, L1, L2, L3, and P L4 are inport_l, inport_2, inport_3, and inport_4, respectively.
  • the service inbound labels are inlabel_l, inlabel_2, inlabel_3, and inlabel_4, respectively.
  • Pa2, Pa3 and P Pa4, the business labels are Lal, La2, La3 and P La4.
  • the label forwarding entries corresponding to L1, L2, L3, and L4 are as follows:
  • the service ingress ports of the network elements D, L1, L2, L3, and L4 are respectively Pd3, Pd4, Pdl, and P Pd2, and the service inbound labels are Ld3, Ld4, Ldl, and P Ld2, respectively, and the corresponding service out ports are outport_l, respectively.
  • Outport_2, outport_3, and P outport_4, the service out tags are outlabel_l, outlabel_2, outlabel_3, and outlabel 4.
  • the label forwarding entries corresponding to L1, L2, L3, and L4 are as follows:
  • the services carried on the four LSPs are affected.
  • the faulty link information is transmitted to the first-party NE A of the service through the OAM (Operation Administration and Maintenance) mechanism or the RSVP NOTIFY message.
  • NE A can determine L1, L2, and L3.
  • the services carried on the four LSPs of the L4 need to be restored. Since L1, L2, L3, and L4 have the same head-to-end node, the four LSPs can be restored using the multi-service bulk recovery policy, including: (1) With the network element A as the first node and the network element D as the tail node, the total bandwidth of the four LSPs is used as the bandwidth constraint for routing query.
  • the bandwidth of each LSP is STM-1, so STM-4 is used as the new one. Constraints for routing queries.
  • the link idle bandwidth between the link between the network elements A and E and the network elements E and D is STM-4, so the path A-E-D is a routing constraint. search result.
  • the network element A initiates the establishment of a new LSP by using the RSVP protocol on the path A-E-D, which is expressed as
  • the Pa5 port contains 4 free STM-1 bandwidths, and the corresponding labels are label-1, label-2, label-3, and label-4, and label-l, label-2, label-3, and label -4 is sorted in ascending numerical order, assuming label-l ⁇ label-2 ⁇ label-3 ⁇ label-4; id_l, id_2, id_3, and id_4 are sorted in ascending numerical order, assuming id_l ⁇ id_2 ⁇ id_3 ⁇ id_4. Label-l, label-2, label-3, and label-4 are assigned to LI, L2, L3, and P L4, respectively, according to the rule that the smaller connection ID corresponds to the smaller label number.
  • the network element A sends the following information to the private data of the PATH message of the network element E:
  • connection L5 is a multi-service batch recovery connection
  • L5 contains four sub-connections, namely L1, L2, L3, and P L4, and the corresponding connection IDs are id_l, id_2, id_3, and id_4, respectively, and the occupied labels are Label-l, label-2, label-3 and label-4;
  • the service outgoing ports corresponding to L1, L2, L3, and P L4 are outport_l, outport_2, outport_3, and outport_4, respectively, and the corresponding outgoing labels are outlabel_l, outlabel_2, outlabel_3, and P outlabel_4.
  • the network element A reserves the STM-4 resource on the port Pa5, and sends the RSVP PATH message to the network element E. At this time, the network element A forms the following label forwarding table:
  • the network element E After receiving the RSVP PATH message sent by the network element A, the network element E determines that the L5 is a multi-service batch recovery connection according to the content in the private data, and at the same time, the label label-l, label-2 on the ingress port Pel. Label-3 and label-4 are assigned to four sub-connections Ll, L2, L3, and L4, respectively.
  • the network element E obtains the next hop of the L5 as the network element D and the egress port is Pe2 according to the ERO object in the RSVP PATH message.
  • the Pe2 port contains four idle STM-1 bandwidths, and the corresponding labels are label- 5, label-6, label-7 and label-8, label-5, label-6, label-7 and label-8 are sorted in ascending order, assuming label-5 ⁇ label-6 ⁇ Label-7 ⁇ label-8.
  • Label-5, label-6, label-7, and label-8 are assigned to LI, L2, L3, and P L4, respectively, according to the rule that the smaller connection ID corresponds to the smaller label number.
  • the private data of the PATH message carries the following information: A)
  • the attribute of the connection L5 is a multi-service batch recovery connection;
  • L5 contains four sub-connections, namely Ll, L2, L3 and L4.
  • the corresponding connection IDs are id_l, id_2, id_3 and id_4, respectively, and the occupied labels are label-5, label-6, label-7 Port label-8;
  • the service outgoing ports corresponding to L1, L2, L3, and P L4 are outport_l, outport_2, outport_3, and outport_4, respectively, and the corresponding outgoing labels are outlabel_l, outlabel_2, outlabel_3, and P outlabel_4.
  • the network element E reserves resources on the Pe2 port and sends the RSVP PATH message to the network element D. At this time, the network element E forms the following label forwarding table:
  • the network element D After receiving the RSVP PATH message sent by the network element E, the network element D determines that the L5 is a batch recovery connection according to the content in the private data, and at the same time, the label label-5 label-6 label-7 on the port Pd5 and Label-8 is assigned to four sub-connections LI, L2, L3, and P L4, respectively.
  • the 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:
  • the network element D sends an RSVP RESV message to the network element E, and the LABEL field in the message is filled in 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 RSVP PATH message.
  • the network element E verifies that the resource reservation on the port Pe2 is successful according to the private data content in the RSVP RESV message, and then sends an RSVP RESV message to the network element A, and the content of the LABEL object in the message is filled in as a special value 0XFFFF, the message
  • the content of the private data is the same as the private data in the received RSVP PATH message.
  • the network element A checks the resource reservation on the port Pa5 according to the private data content in the RSVP RESV message, and the L5 connection is successfully established, and the services on L1, L2, L3, and L4 are switched to L5, and Ll, L2, L3, and L4 are deleted, the batch service is successfully restored, and the entire process ends. Referring to FIG.
  • a structural block diagram of a service recovery apparatus including: a first determining module 602, configured to determine that a bearer link of multiple services is faulty, where multiple services have The same first node and the tail node; the second determining module 604 is configured to determine that at least one available route exists between the first node and the tail node, and the resource of the one available route satisfies the sum of resources of multiple services, or meets multiple services. A sum of resources of at least two services; a recovery module 606, configured to recover a failed multiple services or at least two services using an available route.
  • FIG. 7 a structural block diagram of a service recovery apparatus according to Embodiment 7 of the present invention is shown.
  • the second determining module 604 includes: a determining module 6042, configured to determine whether there is at least one available route between the first node and the tail node, where the resources of the one available route satisfy the sum of resources of the multiple services; 6044, if the judgment result of the judging module is yes, determining that the available route is an available route that satisfies a sum of resources of the plurality of services; and the first negation module 6046 is configured to: if the judgment result of the judging module is no, according to the predetermined The rule reduces part of the resources from the sum of resources, and judges whether there is at least one available route between the first node and the tail node that satisfies the sum of the reduced resources according to the sum of the reduced resources; the second affirmation module 6048 is configured to use the first negative module.
  • the second negation module 60410 is configured to: if the result of the first negative module is negative, return The first negative module.
  • the recovery module 606 includes: a sending module 6062, configured to send, by the node on the available route, the signaling to the tail node in turn, where the signaling carries: information indicating that the available route is a multi-service recovery route, and waiting The information of each service in the restored service is in the information of the local node; the resource module 6064, each node on the available route reserves resources for the service to be recovered according to the signaling, and establishes for each service in the service to be restored.
  • a cross-connect a switching module 6066, configured to switch the service to be restored to an available route.
  • the signaling is RSVP-compliant signaling
  • the private data following the RSVP signaling carries information indicating that the available route is a multi-service recovery route, and information of each service in the service to be recovered is in the local node.
  • the information of each service in the service to be restored includes: a service identifier of each service in the service to be restored, a label occupied by the local node in the service to be restored, and a service to be restored.
  • the foregoing service is an unprotected service in the ASON.
  • the method implemented in this embodiment can refer to the related description of the foregoing multiple method embodiments, and has the beneficial effects of the foregoing embodiments, and details are not described herein again.
  • the unprotected service in the ASON is taken as an example, but those skilled in the art should understand that the present invention is equally applicable to the protected service and is applicable to the ASON-free. Packet switching services in the network.
  • the method and apparatus for multi-service batch recovery in the field of optical communication especially for the ASON field, solves the problem that the multi-service recovery in the prior art is time-consuming, Low efficiency, as well as label competition and resource competition, greatly improve multi-service recovery efficiency and shorten multi-service recovery time.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Abstract

Disclosed are a method and device for service recovery. The method for service recovery includes: determining that the bearer links of a plurality of services have faults, with a plurality of services having the same head node and tail node; determining that there is at least one available route between the head node and the tail node, with the resources of the available route meeting the sum of the resources of the plurality of services or the sum of the resources of at least two services in the plurality of services; and recovering the plurality of services or the at least two services which have faults using the available route. By way of the present invention, the effects of reducing service recovery time and improving service recovery efficiency can be achieved.

Description

业务恢复方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种业务恢复方法及装置。 背景技术 随着光传输技术的发展, ASON (Automatic Switched Optical Network, 自动交换 光网络) 已经成为光传输的下一个发展方向。 与传统光传送网相比, AS0N引入了分 布式智能化的控制平面, 使传输、 交换和数据网络结合在一起, 实现了真正意义上的 路由设置、 端到端业务调度和网络自动恢复。  TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a service recovery method and apparatus. Background Art With the development of optical transmission technology, ASON (Automatic Switched Optical Network) has become the next development direction of optical transmission. Compared with the traditional optical transport network, AS0N introduces a distributed intelligent control plane, which combines transmission, switching and data networks to achieve true routing setup, end-to-end service scheduling and network automatic recovery.
AS0N的出现,为流量工程和业务管理提供了自动化控制手段。 AS0N在传统 SDH ( Synchronous Digital Hierarchy, 同步数字体系)网络原有的管理平面、传送平面的基 础上, 引入了独立的控制平面, 从链路资源管理技术、 路由技术、 信令技术三大方面 支撑起 AS0N控制平面的体系驾构, 使得邻居的自动发现、 全网拓扑的自动生成和业 务路径的自动创建成为可能, 大大减少了人工分配标签、 建立交叉的繁琐, 实现了网 络带宽资源的合理化分配和利用。 在网络的生存性方面, ASON网络采用传送平面的保护机制和控制平面的保护恢 复机制相结合的方法,根据不同的网络保护特性和业务等级,对业务进行保护和恢复, 体现出 ASON网络在业务保护恢复方面的巨大优势。 对于 ASON网络中普遍存在的无保护业务,一旦业务所经过的某条链路发生故障, 业务需要进行恢复。 通常方法是, 需要进行恢复的业务首节点动态建立一条与原 LSP (Label Switched Path, 标签交换路径) 首尾节点相同的新 LSP, 然后把业务从发生故 障的 LSP倒换到新的 LSP上。 在进行业务恢复时, 业务首节点进行的操作如下: 首先, 根据业务的流量工程特 性进行基于约束的路由计算, 得到满足要求的一条路径, 即一系列有序的节点和链路 的组合; 然后, 利用信令协议如 RSVP-TE ( Resource Reservation Protocol-Traffic Engineering, 基于流量工程扩展的资源预留协议) 在查询所得路径上发起建立一条 LSP, 在每个节点都进行资源预留、 标签分配并将交叉下发至传送平面, 从而建立起 一条恢复连接并将受故障影响的业务切换至此 LSP上。 如果在首节点有多个业务需要进行恢复, 则需要为每一个业务按照上述流程建立 一条恢复连接, 这会导致以下问题: The emergence of AS0N provides automated control for traffic engineering and business management. On the basis of the original management plane and transmission plane of the traditional SDH (Synchronous Digital Hierarchy) network, AS0N introduces an independent control plane, which is supported by three aspects: link resource management technology, routing technology, and signaling technology. The system construction of the AS0N control plane enables the automatic discovery of neighbors, the automatic generation of the entire network topology, and the automatic creation of service paths. This greatly reduces the complexity of manually assigning labels and establishing crossovers, and rationalizes the allocation of network bandwidth resources. And use. In terms of network survivability, the ASON network adopts a combination of a transport plane protection mechanism and a control plane protection recovery mechanism to protect and recover services according to different network protection features and service levels, reflecting the ASON network in the service. Great advantage in protecting recovery. For a non-protected service that is ubiquitous in an ASON network, once a link that the service passes fails, the service needs to be restored. A common method is to dynamically establish a new LSP that is the same as the first and last nodes of the original LSP (Label Switched Path) and then switch the service from the failed LSP to the new LSP. When performing service recovery, the operations performed by the first node of the service are as follows: First, the constraint-based route calculation is performed according to the traffic engineering characteristics of the service, and a path that satisfies the requirement is obtained, that is, a series of ordered nodes and a combination of links; A signaling protocol such as RSVP-TE (Resource Reservation Protocol-Traffic Engineering) is used to initiate an LSP on the path obtained by querying, and resource reservation and label allocation are performed at each node. The cross is delivered to the transport plane, thereby establishing a recovery connection and switching the service affected by the fault to the LSP. If there are multiple services on the head node that need to be restored, you need to establish a recovery connection for each service according to the above procedure, which will cause the following problems:
( 1 ), 受路由协议如 OSPF-TE ( Open Shortest Path First ( Protocol ) -Traffic Engineering, 基于流量工程的开放式最短路径优先协议)信息洪泛和收敛速度的影响, 导致各条恢复连接资源竞争的可能性较大。 (1), affected by information flooding and convergence speed of routing protocols such as OSPF-TE (Open Shortest Path First ( Protocol) - Traffic Engineering, Open Shortest Path First Protocol based on traffic engineering), resulting in competition for restoration of connection resources The possibility is greater.
(2), 由于光网络中 RSVP (Resource Reservation Protocol, 资源预留协议) 协议 广泛使用了上游节点指定标签信息机制,导致上下游节点之间标签竞争的可能性较大。 (2) Because the RSVP (Resource Reservation Protocol) protocol in the optical network widely uses the label information mechanism of the upstream node, the possibility of label competition between upstream and downstream nodes is high.
(3 ), 相同的操作流程被执行多次, 尤其是向传送平面下发交叉操作比较费时。 而无论是资源竞争、 标签竞争, 还是下发交叉操作费时, 最终都会导致全部业务 恢复耗费时间过多。 因此, 如果发生故障的链路上承载了较多业务, 则每条业务都要 分别进行恢复, 需要花费较多的时间, 严重影响了 ASON恢复效率, 成为影响 ASON 性能的一个瓶颈。 发明内容 本发明的主要目的在于提供一种业务恢复方法及装置, 以至少解决上述的业务恢 复花费时间长, 恢复效率低的问题。 根据本发明的一个方面, 提供了一种业务恢复方法, 包括: 确定多个业务的承载 链路发生故障, 该多个业务具有相同的首节点和尾节点; 确定首节点和尾节点之间存 在至少一条可用路由, 该一条可用路由的资源满足多个业务的资源总和, 或多个业务 中的至少两个业务的资源总和; 使用可用路由恢复发生故障的多个业务或至少两个业 务。 优选地, 确定首节点和尾节点之间存在至少一条可用路由的步骤包括: 判断首节 点和尾节点之间是否存在至少一条可用路由, 该一条可用路由的资源满足多个业务的 资源总和; 若存在, 则确定该可用路由为满足多个业务的资源总和的可用路由; 若不 存在, 则根据预定规则从资源总和中减少部分资源, 根据减少后的资源总和判断首节 点和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由; 若是, 则确定 该可用路由为满足多个业务中的至少两个业务的资源总和的可用路由; 若否, 则返回 根据预定规则从资源总和中减少部分资源, 根据减少后的资源总和判断首节点和尾节 点之间是否存在至少一条满足减少后的资源总和的可用路由的步骤。 优选地, 使用可用路由恢复发生故障的多个业务或至少两个业务的步骤包括: 首 节点经可用路由上的各节点依次发送信令至尾节点, 该信令中携带有: 指示可用路由 为多业务恢复路由的信息, 和待恢复的业务中的每个业务在本节点的信息; 可用路由 上的各节点根据信令为待恢复的业务预留资源, 并为待恢复的业务中的每个业务建立 交叉连接; 将待恢复的业务切换到可用路由上。 优选地, 信令为遵循资源预留协议 RSVP的信令, 使用遵循 RSVP的信令的私有 数据携带指示可用路由为多业务恢复路由的信息, 和待恢复的业务中每个业务在本节 点的信息。 优选地, 待恢复的业务中每个业务在本节点的信息包括: 待恢复的业务中每个业 务的业务标识, 待恢复的业务中每个业务在本节点占用的标签, 待恢复的业务中每个 业务在本节点的业务出端口, 和待恢复的业务中每个业务在尾节点占用的标签。 优选地, 上述业务为自动交换光网络中的无保护业务。 根据本发明的另一方面, 提供了一种业务恢复装置, 包括: 第一确定模块, 设置 为确定多个业务的承载链路发生故障, 该多个业务具有相同的首节点和尾节点; 第二 确定模块, 设置为确定首节点和尾节点之间存在至少一条可用路由, 该一条可用路由 的资源满足多个业务的资源总和, 或多个业务中的至少两个业务的资源总和; 恢复模 块, 设置为使用可用路由恢复发生故障的多个业务或至少两个业务。 优选地, 第二确定模块包括: 判断模块, 设置为判断首节点和尾节点之间是否存 在至少一条可用路由, 该一条可用路由的资源满足多个业务的资源总和; 第一肯定模 块, 设置为若判断模块的判断结果为是, 则确定该可用路由为满足多个业务的资源总 和的可用路由; 第一否定模块, 设置为若判断模块的判断结果为否, 则根据预定规则 从资源总和中减少部分资源, 根据减少后的资源总和判断首节点和尾节点之间是否存 在至少一条满足减少后的资源总和的可用路由; 第二肯定模块, 设置为若第一否定模 块的判断结果为是, 则确定该可用路由为满足多个业务中的至少两个业务的资源总和 的可用路由; 第二否定模块, 设置为若第一否定模块的判断结果为否, 则返回第一否 定模块。 优选地, 恢复模块包括: 发送模块, 设置为首节点经所述可用路由上的各节点依 次发送信令至尾节点, 该信令中携带有: 指示可用路由为多业务恢复路由的信息, 和 待恢复的业务中的每个业务在本节点的信息; 资源模块, 设置为可用路由上的各节点 根据信令为待恢复的业务预留资源, 并为待恢复的业务中的每个业务建立交叉连接; 切换模块, 设置为将待恢复的业务切换到可用路由上。 优选地, 信令为遵循资源预留协议 RSVP的信令, 遵循 RSVP的信令的私有数据 携带指示可用路由为多业务恢复路由的信息, 和待恢复的业务中每个业务在本节点的 信息。 通过本发明, 采用当具有相同首节点和尾节点的多个业务发生故障时, 从该首节 点和尾节点之间再选择一条资源满足发生故障的多个业务占用的资源的可用路由, 或 者从多条这样的路由中选择一条, 同时恢复发生故障的多个业务, 而不必每个业务分 别进行恢复, 从而减小了标签竞争和资源竞争的可能性, 并且, 多业务批量恢复情况 下仅须向传送平面下发一次交叉连接, 大大降低了业务恢复所需的时间, 提高了恢复 效率, 解决了现有技术中多业务故障时, 业务恢复花费时间长, 恢复效率低的问题, 进而达到了减少业务恢复时间, 提高业务恢复效率的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例一的一种业务恢复方法的步骤流程图; 图 2是根据本发明实施例二的一种业务恢复方法的步骤流程图; 图 3是根据本发明实施例三的一种业务恢复方法的步骤流程图; 图 4是根据本发明实施例四的一种业务恢复方法的步骤流程图; 图 5是根据本发明实施例五的一种业务恢复方法中的 ASON网络拓扑示意图; 图 6是根据本发明实施例六的一种业务恢复装置的结构框图; 图 7是根据本发明实施例七的一种业务恢复装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 参照图 1, 示出了根据本发明实施例一的一种业务恢复方法的步骤流程图, 包括 以下步骤: 步骤 S102: 确定多个业务的承载链路发生故障; 其中, 多个业务具有相同的首节点和尾节点。 步骤 S104: 确定首节点和尾节点之间存在至少一条可用路由; 其中, 所述一条可用路由的资源满足多个业务的资源总和, 或多个业务中的至少 两个业务的资源总和。 在多个业务的首节点和尾节点之间, 可能仅存在一条资源满足多个业务的资源总 和的可用路由, 则可以使用这条路由恢复多个业务; 也可能存在多条资源满足多个业 务的资源总和的可用路由, 这时, 可以按照预定规则选择其中一条路由, 进行多业务 恢复。 当然, 若仅存在一条路由, 而该路由的资源仅能满足多个业务中的部分业务, 该部分业务包括至少两个业务, 此时, 可以使用该路由恢复多个业务中的部分业务; 若首节点和尾节点之间存在多个可用路由, 但没有一个路由可以同时满足多个业务的 资源, 此时, 可以使用其中的一个路由恢复部分业务, 再使用其它的可用路由恢复剩 下的业务。 步骤 S106: 使用可用路由恢复发生故障的多个业务或至少两个业务。 相关技术中, 在多个业务发生故障时, 需要针对每个业务分别进行恢复, 因此, 业务恢复时间长, 恢复效率低。 通过本实施例, 当具有相同首节点和尾节点的多个业 务发生故障时, 从该首节点和尾节点之间选择一条资源满足发生故障的多个业务或部 分业务占用的资源的可用路由, 同时恢复发生故障的业务, 而不必每个业务分别进行 恢复, 从而减小了标签竞争和资源竞争的可能性, 并且, 多业务批量恢复情况下仅须 向传送平面下发一次交叉连接, 大大降低了业务恢复所须的时间, 提高了恢复效率, 解决了现有技术中多业务故障时, 业务恢复花费时间长, 恢复效率低的问题, 进而达 到了减少业务恢复时间, 提高业务恢复效率的效果。 参照图 2, 示出了根据本发明实施例二的一种业务恢复方法的步骤流程图, 本实 施例针对无保护业务, 包括以下步骤: 步骤 S202: 故障检测。 即, 检测到多个业务的链路发生故障。 当某个链路出现故障后, 此链路上承载的 所有业务的首节点检测到故障的发生, 准备发起业务的恢复操作。 当然, 也有可能多 个链路同时发生故障, 这时, 这多个链路上承载的所有业务均无法正常进行, 该多个 业务的首节点检测到故障的发生, 进而准备进行业务恢复。 步骤 S204: 策略判断。 即, 判断链路发生故障的多个业务的首、 尾节点是否相同。 当上述首节点需要恢 复的业务为 Ll, L2...Ln, 并且这些业务的首末节点相同时, 可以进行批量恢复。 需要 说明的是, 若多个发生故障的业务中仅有部分业务的首、 尾节点相同, 那么, 这部分 首、 尾节点相同的业务同样适用于本实施例的批量业务恢复。 本实施例中, 仅以发生 故障的多个业务均具有相同的首、 尾节点为例。 步骤 S206: 路由查询。 首节点以 Ll, L2...Ln的带宽总和及其它路由约束条件作为新的约束条件进行路 由查询, 查询出从首节点到末节点的一条可用路径, 且该可用路径的资源满足 Ll, L2...Ln的资源总和 (即该可用路径的带宽满足 Ll, L2..丄 n的带宽总和), 则最终批 量恢复的连接数为 m, 此时 m = n, 进入下一步骤 S208。 本实施例以带宽资源为例, 以带宽总和为主要约束条件, 但本领域技术人员在实际应用中, 可以根据需要以其它 工程流量特性的资源和其它约束条件进行路由查询, 本发明对此不作限制。 若由于整个网络中资源限制而导致路由查询失败, 则可以减少带宽约束, 重新发 起路由查询, 这种情况下查询结果可能是 m ( Km<n) 条连接共用一条路径, 此时 m 条连接仍然可以采用批量恢复策略进行恢复, 进入下一步骤 S208。 在最坏情况下 m=l, 即任何两条连接都不能共用一条路径, 此时批量恢复策略无 法实施, 每条连接只能进行独立恢复, 进入步骤 S214。 步骤 S208: 首节点处理。 首节点在可用路径上使用 RSVP协议发起建立一条新连接 P, 在此连接的 RSVP(3), the same operational flow is performed multiple times, especially when the crossover operation is sent to the transmission plane. Whether it is resource competition, label competition, or the cost of cross-operation, it will eventually lead to excessive time-consuming recovery of all services. Therefore, if a faulty link carries more services, each service needs to be restored separately. It takes a lot of time, which seriously affects the ASON recovery efficiency and becomes a bottleneck affecting ASON performance. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a service recovery method and apparatus, which at least solve the problem that the above-mentioned service recovery takes a long time and the recovery efficiency is low. According to an aspect of the present invention, a service recovery method is provided, including: determining that a bearer link of multiple services is faulty, the multiple services have the same head node and tail node; determining that a relationship exists between the first node and the tail node At least one available route, the resource of the one available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services in multiple services; uses the available routes to recover multiple services or at least two services that fail. Preferably, the step of determining that there is at least one available route between the first node and the tail node comprises: determining whether there is at least one available route between the first node and the tail node, and the resource of the one available route satisfies the sum of resources of the plurality of services; If yes, the available route is determined to be an available route that satisfies the sum of the resources of the multiple services; if not, the part of the resource is reduced from the sum of the resources according to the predetermined rule, and whether the relationship between the first node and the tail node is determined according to the sum of the reduced resources There is at least one available route that satisfies the sum of the reduced resources; if yes, determining that the available route is an available route that satisfies the sum of resources of at least two of the plurality of services; if not, returning from the sum of the resources according to the predetermined rule Reducing part of the resources, and determining, according to the total of the reduced resources, whether there is at least one available route that satisfies the sum of the reduced resources between the first node and the tail node. Preferably, the step of recovering the failed multiple services or the at least two services by using the available routes includes: the first node sequentially sends signaling to the tail node via each node on the available route, where the signaling carries: indicating that the available route is Multi-service recovery routing information, and information of each service in the service to be recovered at the local node; each node on the available route reserves resources for the service to be recovered according to the signaling, and is each of the services to be recovered The services establish cross-connections; switch the services to be restored to available routes. Preferably, the signaling is signaling conforming to the resource reservation protocol RSVP, and the private data that uses the RSVP-compliant signaling carries information indicating that the available route is a multi-service recovery route, and each service in the service to be recovered is in the local node. information. Preferably, the information of each service in the service to be restored includes: a service identifier of each service in the service to be restored, a label occupied by the local node in the service to be restored, and a service to be restored. The service outgoing port of each service at the local node, and the label occupied by each service at the tail node in the service to be recovered. Preferably, the foregoing service is an unprotected service in an automatic switched optical network. According to another aspect of the present invention, a service recovery apparatus is provided, including: a first determining module, configured to determine that a bearer link of multiple services is faulty, the multiple services having the same head node and tail node; a determining module, configured to determine that there is at least one available route between the first node and the tail node, the resource of the available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services in multiple services; , set to use the available routes to recover multiple services or at least two services that have failed. Preferably, the second determining module comprises: a determining module, configured to determine whether there is at least one available route between the first node and the tail node, the resource of the one available route satisfies the sum of resources of the plurality of services; the first affirmative module is set to If the judgment result of the judging module is yes, determining that the available route is an available route that satisfies the sum of resources of the plurality of services; the first negation module is configured to: if the judgment result of the judging module is no, the sum of resources from the sum according to the predetermined rule Reducing part of the resources, and determining, according to the total of the reduced resources, whether there is at least one available route that satisfies the sum of the reduced resources between the first node and the tail node; and the second affirmative module is set to be that if the first negative module determines that the result is yes, Then determining that the available route is an available route that satisfies the sum of resources of at least two services of the multiple services; and the second negating module is configured to return to the first negative module if the determination result of the first negative module is negative. Preferably, the recovery module includes: a sending module, configured to send, by the first node, the signaling to the tail node through the nodes on the available route, where the signaling carries: information indicating that the available route is a multi-service recovery route, and waiting The information of each service in the restored service is in the information of the node; the resource module sets each node on the available route to reserve resources for the service to be restored according to the signaling, and establishes a cross for each service in the service to be restored. Connection; The switch module is set to switch the service to be recovered to an available route. Preferably, the signaling is signaling conforming to the resource reservation protocol RSVP, and the private data following the signaling of the RSVP carries information indicating that the available route is a multi-service recovery route, and information of each service in the service to be recovered is in the node. . According to the present invention, when multiple services having the same head node and tail node fail, another resource is selected from the head node and the tail node to satisfy the available route of the resource occupied by the failed multiple services, or Select one of the multiple such routes, and recover multiple services that fail at the same time, without having to recover each service separately, thereby reducing the possibility of label competition and resource competition, and only need to recover multiple services in batches. A cross-connection is sent to the transport plane, which greatly reduces the time required for service recovery, improves recovery efficiency, and solves the problem of long service recovery and low recovery efficiency when multiple services are faulty in the prior art. Reduce the time for business recovery and improve the efficiency of business recovery. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing the steps of a service recovery method according to a first embodiment of the present invention; FIG. 2 is a flow chart showing the steps of a service recovery method according to a second embodiment of the present invention; FIG. 4 is a flow chart of steps of a service recovery method according to Embodiment 4 of the present invention; FIG. 5 is a service recovery method according to Embodiment 5 of the present invention; FIG. 6 is a structural block diagram of a service recovery apparatus according to Embodiment 6 of the present invention; and FIG. 7 is a structural block diagram of a service recovery apparatus according to Embodiment 7 of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. Referring to FIG. 1, a flow chart of steps of a service recovery method according to Embodiment 1 of the present invention includes the following steps: Step S102: Determine that a bearer link of multiple services fails; where multiple services have the same first node and tail node. Step S104: It is determined that there is at least one available route between the first node and the tail node. The resource of the one available route satisfies the sum of resources of multiple services, or the sum of resources of at least two services of multiple services. Between the first node and the tail node of multiple services, there may be only one available route that meets the sum of the resources of multiple services. You can use this route to recover multiple services. There may also be multiple resources to satisfy multiple services. The available route of the sum of resources, at this time, one of the routes can be selected according to a predetermined rule for multi-service recovery. Of course, if there is only one route, and the resources of the route can only meet some of the services, the part of the service includes at least two services. In this case, the route can be used to recover some services in multiple services; There are multiple available routes between the first node and the tail node, but none of the routes can satisfy the resources of multiple services at the same time. In this case, one of the routes can be used to recover some services, and then the other available routes can be used to recover the remaining services. . Step S106: Restore the failed multiple services or at least two services by using the available routes. In the related art, when multiple services fail, each service needs to be restored separately. Therefore, the service recovery time is long and the recovery efficiency is low. With this embodiment, when multiple services having the same first node and the tail node fail, a resource is selected from the first node and the tail node to satisfy the available routes of the resources occupied by the failed multiple services or part of the services. At the same time, the faulty service is restored, and each service is not required to be restored separately, thereby reducing the possibility of label competition and resource competition. Moreover, in the case of multi-service batch recovery, only a cross-connection is required to be sent to the transport plane, which greatly reduces The time required for service recovery improves the recovery efficiency, and solves the problem of long service recovery time and low recovery efficiency when multiple services are faulty in the prior art, thereby achieving the effect of reducing service recovery time and improving service recovery efficiency. . Referring to FIG. 2, a flowchart of a step of a service recovery method according to Embodiment 2 of the present invention is shown. The present embodiment is directed to an unprotected service, and includes the following steps: Step S202: Fault detection. That is, the link detecting multiple services fails. When a link fails, the first node of all services carried on this link detects the occurrence of a fault and prepares to initiate a service recovery operation. Of course, it is also possible that multiple links fail at the same time. In this case, all services carried on the multiple links cannot be performed normally, and the first node of the multiple services detects the occurrence of the fault, and is ready to perform service recovery. Step S204: Policy judgment. That is, it is determined whether the first and last nodes of the plurality of services whose links are faulty are the same. When the services to be restored 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 the first and last nodes of the service are the same, the same service of the first and last nodes is also applicable to the bulk service recovery in this embodiment. In this embodiment, only a plurality of services that have failed have the same first and last nodes as an example. Step S206: Routing query. The first node performs routing query with the bandwidth sum of L1, L2...Ln and other routing constraints as a new constraint, and queries an available path from the first node to the last node, and the resources of the available path satisfy Ll, L2. The sum of the resources of Ln (that is, the bandwidth of the available path satisfies the sum of the bandwidths of L1, L2..丄n), then the number of connections for the final batch recovery is m, and m = n at this time, proceeds to the next step S208. In this embodiment, the bandwidth resource is taken as an example, and the sum of the bandwidths is the main constraint. However, in the actual application, the technical personnel in the field can perform routing query with resources of other engineering traffic characteristics and other constraints as needed, and the present invention does not limit. If the route query fails due to resource limitations in the entire network, the bandwidth constraint can be reduced and the route query can be re-initiated. In this case, the query result may be that m (Km<n) connections share a path, and m connections are still The recovery can be performed by using the batch recovery policy, and the process proceeds to the next step S208. In the worst case, m=l, that is, any two connections cannot share one path. In this case, the bulk recovery policy cannot be implemented, and each connection can only be independently restored, and the process proceeds to step S214. Step S208: The first node processes. The first node initiates a new connection P using the RSVP protocol on the available path, and the RSVP connected here.
PATH信令中, 流量工程对象 SENDER TSPEC中包含步骤 S206查询成功的总带宽参 数, RSVP PATH信令的私有数据中携带以下信息: 连接 P的属性为批量恢复连接(即 该路由为多业务恢复路由)、 需恢复的连接为 Ll, L2...Lm、 LI , L2..丄 m在本节点占 用的标签以及各自的业务出端口和在尾节点占用的标签信息等。 步骤 S210: 非首节点处理。 在连接 P经过的各个节点, 连接控制模块根据 RSVP PATH信令的私有数据中的 相关信息进行资源预留, 并针对每个需要恢复的业务在传送平面建立交叉连接。 步骤 S212: 业务切换。 当连接 P建立成功后, 原 Ll, L2...Lm连接上承载的业务即可切换至此新连接 P 上, 可以根据业务策略决定将原故障连接删除或保留, 从而实现了批量业务的恢复。 步骤 S214: 流程结束。 本实施例针对无保护业务的批量业务同时进行恢复的场景, 采用了多个业务共享 一条路径的策略, 即将多个较小的"管道"合并为一个较大的"管道"进行处理, 从而大 大减少了标签竞争的可能性。 而且, 与每条连接单独恢复需要多次向传送平面下发交 叉连接相比, 批量恢复情况下向传送平面下发交叉连接是一次完成的, 从而大大降低 了业务恢复所需的时间, 提高了恢复效率。 且本实施例的技术方案没有改变 RSVP协 议本身的处理流程, 而是借用了协议中 PATH信令提供的私有数据字段, 在网元之间 传递批量业务恢复所需要的信息, 实现方法简单。 参照图 3, 示出了根据本发明实施例三的一种业务恢复方法的步骤流程图。 本实 施例中,以 M个业务发生故障为例,其中有 N个业务具有相同的首、尾节点, M>N≥2。 本实施例的业务恢复方法包括以下步骤: 步骤 S302: 首节点接收到告警信息。 本实施例中,当 M个业务发生故障时,因多个业务中仅有部分业务具有相同的首、 尾节点, 所以至少有两个首节点接收到告警信息。 本实施例以其中一个首节点为例进 行说明。 步骤 S304: 首节点判断受故障影响的共尾节点连接数为 N。 步骤 S306: 首节点判断 N是否大于 1, 若是, 则执行步骤 S310; 若否, 则执行步 骤 S308。 本实施例中, N≥2, 所以执行步骤 S310。 步骤 S308: 采用单条连接恢复处理, 流程结束。 步骤 S310: 用 N条连接的带宽总和进行路由查询。 本领域技术人员也可以以其它基于流量工程特性的参数进行路由查询。 步骤 S312: 判断路由查询是否成功, 若是, 则执行步骤 S314; 若否, 则执行步 骤 S316。 步骤 S314: 在新路径上发送信令建立连接, 流程结束。 步骤 S316: N=N-1。 步骤 S318: 判断 N是否等于 0, 若否, 则返回步骤 S310; 若是, 则流程结束。 参照图 4, 示出了根据本发明实施例四的一种业务恢复方法的步骤流程图, 包括 以下步骤: 步骤 S402: 确定多个业务的承载链路发生故障。 本实施例中, 多个业务具有相同的首节点和尾节点。 步骤 S404: 确定首节点和尾节点之间存在多条可用路由。 其中, 多条可用路由中的每一条可用路由的资源都满足多个业务的资源总和。 步骤 S406: 确定多条可用路由中的一条恢复业务。 在相同首、 尾节点之间存在多条可用路由时, 可以根据预先设定的规则选择其中 的一条。该预先设定的规则可以为任意适当的规则(如随机选择等), 本发明对此不作 限制。 本实施例中, 随机从多条可用路由中确定一条可用路由。 步骤 S408: 使用确定的可用路由恢复发生故障的多个业务。 需要说明的是, 若相同首、 尾节点之间存在多条可用路由, 但没有一条可用路由 满足多个业务的资源总和时, 则可以使用其中一条恢复部分业务, 使用其它的恢复另 外的业务。 以 5个具有相同首、 尾节点的业务发生故障为例, 若该首、 尾节点之间存 在二条可用路由 A和 B, 此时, 若 A的资源满足前三个业务的资源总和, 则使用路由 A恢复前三个业务; 再判断 B的资源是否满足剩下的二个业务的资源总和, 若可以满 足, 则使用 B恢复剩下的二个业务。 此时, 与现有单个业务分别恢复相比, 仍然缩短 了业务恢复时间, 提高了业务恢复效率。 参照图 5, 示出了根据本发明实施例五的一种业务恢复方法中的 ASON网络拓扑 示意图。 如图 5所示, 本实施例的 ASON网络包含七个网元 A、 B、 C、 D、 E、 F和 G, 网元之间的连线表示链路。 网络中存在四条 LSP, 分别为 Ll、 L2、 L3禾 P L4, 对应的 连接 ID分别为 id_l、 id_2、 id_3和 id_4。 LI和 L2所经过的路径为 A— B— C一 G— D, L3和 L4所经过的路径为 A— F— B_C— D, 网元 B、 C之间只有一条数据链路, 四条 LSP共同经过此链路。 四条 LSP的带宽都为 STM-1 (其中, STM表示带宽等级), 网 元 、 E之间和网元 E、 D之间分别存在一条链路, 链路上空闲带宽都为 STM-4。 在网元 A, Ll、 L2、 L3禾 P L4的业务入端口分别为 inport_l、 inport_2、 inport_3 禾口 inport_4, 业务入标签分别为 inlabel_l、 inlabel_2、 inlabel_3和 inlabel_4, 对应的业 务出端口分别为 Pal、 Pa2、 Pa3禾 P Pa4, 业务出标签分别为 Lal、 La2、 La3禾 P La4。 在网元 A的标签转发表中, Ll、 L2、 L3和 L4对应的标签转发条目如下所示: In the PATH signaling, the traffic engineering object SENDER TSPEC includes the total bandwidth parameter that is successfully queried in step S206. The private data of the RSVP PATH signaling carries the following information: The attribute of the connection P is a bulk recovery connection (that is, the route is a multi-service recovery route) The connections to be restored are Ll, L2...Lm, LI, L2..丄m the labels occupied by the node and the respective service outgoing ports and tag information occupied at the tail nodes. Step S210: Non-first node processing. At each node through which the P is connected, the connection control module performs resource reservation according to the relevant information in the private data of the RSVP PATH signaling, and establishes a cross-connection in the transmission plane for each service that needs to be recovered. Step S212: Service switching. After the connection P is successfully established, the services carried on the original L1, L2, Lm connection can be switched to the new connection P. The original faulty connection can be deleted or retained according to the service policy, thereby realizing the recovery of the bulk service. Step S214: The process ends. In this embodiment, a scenario in which a batch service of an unprotected service is simultaneously restored is adopted, and a strategy of sharing a path by multiple services is adopted, that is, a plurality of smaller "pipes" are merged into one large "pipe" for processing, thereby greatly Reduce the possibility of label competition. Moreover, compared with the fact that each connection is separately restored and needs to be cross-connected to the transport plane multiple times, the cross-connection is sent to the transport plane in the case of batch recovery, which is completed once, thereby greatly reducing the time required for service recovery and improving the time. Restore efficiency. The technical solution of the 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, and transmits the information required for bulk service recovery between the network elements, and the implementation method is simple. Referring to FIG. 3, a flow chart of steps of a service recovery method according to Embodiment 3 of the present invention is shown. In this embodiment, taking M services as an example, where N services have the same first and last nodes, M>N≥2. The service recovery method in this embodiment includes the following steps: Step S302: The first node receives the alarm information. In this embodiment, when M services fail, since only some of the multiple services have the same first and last nodes, at least two of the first nodes receive the alarm information. This embodiment is described by taking one of the head nodes as an example. Step S304: The first node determines that the number of co-tail node connections affected by the fault is N. Step S306: The first node determines whether N is greater than 1, if yes, step S310 is performed; if no, step S308 is performed. In the present embodiment, N ≥ 2, so step S310 is performed. Step S308: The processing is resumed by using a single connection, and the process ends. Step S310: Perform routing query by using the sum of bandwidths of the N connections. Those skilled in the art can also perform routing queries with other parameters based on traffic engineering characteristics. Step S312: determining whether the route query is successful, if yes, executing step S314; if not, executing step S316. Step S314: Send a signaling connection on the new path, and the process ends. Step S316: N=N-1. Step S318: It is judged whether N is equal to 0, and if not, returns to step S310; if yes, the flow ends. Referring to FIG. 4, a flow chart of steps of a service recovery method according to Embodiment 4 of the present invention is shown, which includes the following steps: Step S402: Determine that a bearer link of multiple services fails. In this embodiment, multiple services have the same head node and tail node. Step S404: It is determined that there are multiple available routes between the first node and the tail node. The resources of each of the plurality of available routes satisfy the sum of the resources of the multiple services. Step S406: Determine one of the plurality of available routes to recover the service. When there are multiple available routes between the same first and last nodes, one of them can be selected according to a preset rule. The pre-set rule may be any suitable rule (such as random selection, etc.), which is not limited by the present invention. In this embodiment, an available route is randomly determined from a plurality of available routes. Step S408: Restore the failed multiple services by using the determined available routes. It should be noted that if there are multiple available routes between the same first and last nodes, but none of the available routes meets the sum of resources of multiple services, one of them can be used to recover part of the service, and the other is used to recover another service. For example, if five services with the same first and last nodes fail, if there are two available routes A and B between the first and last nodes, then if the resources of A satisfy the sum of the resources of the first three services, then use Route A recovers the first three services; and then determines whether the resources of B satisfy the sum of the resources of the remaining two services. If yes, use B to recover the remaining two services. At this time, compared with the recovery of the existing single service, the service recovery time is still shortened, and the service recovery efficiency is improved. Referring to FIG. 5, a schematic diagram of an ASON network topology in a service recovery method according to Embodiment 5 of the present invention is shown. As shown in FIG. 5, the ASON network of this embodiment includes seven network elements A, B, C, D, E, F, and G, and the connection between the network elements represents a link. There are four LSPs in the network, namely L1, L2, L3, and P L4. The corresponding connection IDs are id_l, id_2, id_3, and id_4. The path that LI and L2 pass is A—B—C—G—D, The path that L3 and L4 pass is A-F-B_C-D. There is only one data link between NEs B and C. The four LSPs pass through this link. The bandwidth of the four LSPs is STM-1 (where STM indicates the bandwidth level), and there is a link between the network element and E and between the network elements E and D. The idle bandwidth on the link is STM-4. The service ingress ports of the network elements A, L1, L2, L3, and P L4 are inport_l, inport_2, inport_3, and inport_4, respectively. The service inbound labels are inlabel_l, inlabel_2, inlabel_3, and inlabel_4, respectively. Pa2, Pa3 and P Pa4, the business labels are Lal, La2, La3 and P La4. In the label forwarding table of NE A, the label forwarding entries corresponding to L1, L2, L3, and L4 are as follows:
Figure imgf000010_0001
Figure imgf000010_0001
在网元 D, Ll、 L2、 L3和 L4的业务入端口分别为 Pd3、 Pd4、 Pdl禾 P Pd2, 业务 入标签分别为 Ld3、 Ld4、 Ldl禾 P Ld2, 对应的业务出端口分别为 outport_l、 outport_2、 outport_3 禾 P outport_4 , 业务出标签分别为 outlabel_l、 outlabel_2、 outlabel_3 和 outlabel 4。 在网元 D的标签转发表中, Ll、 L2、 L3和 L4对应的标签转发条目如下所示:  The service ingress ports of the network elements D, L1, L2, L3, and L4 are respectively Pd3, Pd4, Pdl, and P Pd2, and the service inbound labels are Ld3, Ld4, Ldl, and P Ld2, respectively, and the corresponding service out ports are outport_l, respectively. Outport_2, outport_3, and P outport_4, the service out tags are outlabel_l, outlabel_2, outlabel_3, and outlabel 4. In the label forwarding table of the network element D, the label forwarding entries corresponding to L1, L2, L3, and L4 are as follows:
Figure imgf000010_0002
Figure imgf000010_0002
当网元 B、 C之间的链路出现故障之后, 四条 LSP上承载的业务都受到影响。 故 障链路信息通过 OAM (Operation Administration and Maintenance, 操作管理和维护) 机制或者 RSVP NOTIFY消息传递至业务的首节点网元 A, 网元 A接收到链路故障信 息后, 可以确定 Ll、 L2、 L3和 L4四条 LSP上承载的业务需要进行恢复。 由于 Ll、 L2、 L3和 L4具有相同的首尾节点, 因此, 四条 LSP可以使用多业务 批量恢复策略进行恢复操作, 包括: ( 1 ) 以网元 A为首节点、 网元 D为尾节点, 以四条 LSP的带宽总和作为带宽约 束条件进行路由查询, 每条 LSP的带宽均为 STM-1 , 因此以 STM-4作为新的约束条 件进行路由查询。 After the link between the NEs B and C fails, the services carried on the four LSPs are affected. The faulty link information is transmitted to the first-party NE A of the service through the OAM (Operation Administration and Maintenance) mechanism or the RSVP NOTIFY message. After receiving the link fault information, NE A can determine L1, L2, and L3. The services carried on the four LSPs of the L4 need to be restored. Since L1, L2, L3, and L4 have the same head-to-end node, the four LSPs can be restored using the multi-service bulk recovery policy, including: (1) With the network element A as the first node and the network element D as the tail node, the total bandwidth of the four LSPs is used as the bandwidth constraint for routing query. The bandwidth of each LSP is STM-1, so STM-4 is used as the new one. Constraints for routing queries.
(2) 根据网络拓扑结构, 网元 A、 E之间的链路和网元 E、 D之间的链路空闲带 宽都为 STM-4, 因此路径 A— E— D为满足路由约束条件的查询结果。 (2) According to the network topology, the link idle bandwidth between the link between the network elements A and E and the network elements E and D is STM-4, so the path A-E-D is a routing constraint. search result.
(3 ) 网元 A在路径 A— E— D上利用 RSVP协议发起建立一条新 LSP, 表示为(3) The network element A initiates the establishment of a new LSP by using the RSVP protocol on the path A-E-D, which is expressed as
L5。 L5.
(4) Pa5端口上包含 4个空闲 STM-1带宽, 对应的标签分别为 label- 1、 label-2、 label-3和 label-4, 将 label-l、 label-2、 label-3和 label-4按照数值由小到大的顺序排序, 假设 label-l< label-2< label-3< label-4; 将 id_l、 id_2、 id_3禾口 id_4按照数值由小到大 的顺序排序, 假设 id_l< id_2< id_3< id_4。按照较小的连接 ID对应较小的标签号的规 则, 将 label-l、 label-2、 label-3禾口 label-4分别分配给 LI、 L2、 L3禾 P L4。 网元 A发向 网元 E的 PATH消息私有数据中, 携带如下信息: (4) The Pa5 port contains 4 free STM-1 bandwidths, and the corresponding labels are label-1, label-2, label-3, and label-4, and label-l, label-2, label-3, and label -4 is sorted in ascending numerical order, assuming label-l< label-2< label-3< label-4; id_l, id_2, id_3, and id_4 are sorted in ascending numerical order, assuming id_l < id_2< id_3< id_4. Label-l, label-2, label-3, and label-4 are assigned to LI, L2, L3, and P L4, respectively, according to the rule that the smaller connection ID corresponds to the smaller label number. The network element A sends the following information to the private data of the PATH message of the network element E:
A) 连接 L5的属性为多业务批量恢复连接; B) L5包含四个子连接, 分别为 Ll、 L2、 L3禾 P L4, 对应的连接 ID分别为 id_l、 id_2、 id_3和 id_4, 并且占用的标签分别为 label-l、 label-2、 label-3禾口 label-4; A) The attribute of the connection L5 is a multi-service batch recovery connection; B) L5 contains four sub-connections, namely L1, L2, L3, and P L4, and the corresponding connection IDs are id_l, id_2, id_3, and id_4, respectively, and the occupied labels are Label-l, label-2, label-3 and label-4;
C) Ll、 L2、 L3禾 P L4对应的业务出端口分别为 outport_l、 outport_2、 outport_3 和 outport_4, 对应的出标签分别为 outlabel_l、 outlabel_2、 outlabel_3禾 P outlabel_4。 C) The service outgoing ports corresponding to L1, L2, L3, and P L4 are outport_l, outport_2, outport_3, and outport_4, respectively, and the corresponding outgoing labels are outlabel_l, outlabel_2, outlabel_3, and P outlabel_4.
( 5 ) 网元 A在端口 Pa5上预留大小为 STM-4的资源, 将 RSVP PATH消息发向 网元 E, 此时网元 A形成了如下的标签转发表: (5) The network element A reserves the STM-4 resource on the port Pa5, and sends the RSVP PATH message to the network element E. At this time, the network element A forms the following label forwarding table:
Figure imgf000011_0001
(6)网元 E接收到网元 A发送的 RSVP PATH消息后, 根据私有数据中的内容判 断出 L5是多业务批量恢复连接, 同时将入端口 Pel上的标签 label-l、 label-2、 label-3 和 label-4分别分配给四条子连接 Ll、 L2、 L3和 L4。
Figure imgf000011_0001
(6) After receiving the RSVP PATH message sent by the network element A, the network element E determines that the L5 is a multi-service batch recovery connection according to the content in the private data, and at the same time, the label label-l, label-2 on the ingress port Pel. Label-3 and label-4 are assigned to four sub-connections Ll, L2, L3, and L4, respectively.
(7)网元 E根据 RSVP PATH消息中的 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分别分配给 LI、 L2、 L3禾 P L4。 PATH消息的私有 数据携带如下信息: A) 连接 L5的属性为多业务批量恢复连接; (7) The network element E obtains the next hop of the L5 as the network element D and the egress port is Pe2 according to the ERO object in the RSVP PATH message. The Pe2 port contains four idle STM-1 bandwidths, and the corresponding labels are label- 5, label-6, label-7 and label-8, label-5, label-6, label-7 and label-8 are sorted in ascending order, assuming label-5< label-6< Label-7< label-8. Label-5, label-6, label-7, and label-8 are assigned to LI, L2, L3, and P L4, respectively, according to the rule that the smaller connection ID corresponds to the smaller label number. The private data of the PATH message carries the following information: A) The attribute of the connection L5 is a multi-service batch recovery connection;
B) L5包含四个子连接, 分别为 Ll、 L2、 L3和 L4, 对应的连接 ID分别为 id_l、 id_2、 id_3和 id_4, 并且占用的标签分别为 label-5、 label-6、 label-7禾口 label-8; B) L5 contains four sub-connections, namely Ll, L2, L3 and L4. The corresponding connection IDs are id_l, id_2, id_3 and id_4, respectively, and the occupied labels are label-5, label-6, label-7 Port label-8;
C) Ll、 L2、 L3禾 P L4对应的业务出端口分别为 outport_l、 outport_2、 outport_3 和 outport_4, 对应的出标签分别为 outlabel_l、 outlabel_2、 outlabel_3禾 P outlabel_4。 ( 8) 网元 E在 Pe2端口上预留资源, 并将 RSVP PATH消息发向网元 D, 此时网 元 E形成了如下的标签转发表: C) The service outgoing ports corresponding to L1, L2, L3, and P L4 are outport_l, outport_2, outport_3, and outport_4, respectively, and the corresponding outgoing labels are outlabel_l, outlabel_2, outlabel_3, and P outlabel_4. (8) The network element E reserves resources on the Pe2 port and sends the RSVP PATH message to the network element D. At this time, the network element E forms the following label forwarding table:
Figure imgf000012_0001
Figure imgf000012_0001
(9) 网元 D 接收到网元 E发送的 RSVP PATH消息后, 根据私有数据中的内容 判断出 L5是批量恢复连接, 同时将入端口 Pd5上的标签 label-5 label-6 label-7和 label-8分别分配给四条子连接 LI、 L2、 L3禾 P L4。  (9) After receiving the RSVP PATH message sent by the network element E, the network element D determines that the L5 is a batch recovery connection according to the content in the private data, and at the same time, the label label-5 label-6 label-7 on the port Pd5 and Label-8 is assigned to four sub-connections LI, L2, L3, and P L4, respectively.
( 10) 网元 D是连接的尾节点, 根据接收到的 PATH消息私有数据中四条子连接 的出端口和出标签信息, 形成了如下的标签转发表: (10) The 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 In port In label Out port Out label
id_l Pd5 label-5 outport l outlabel l id_2 Pd5 label-6 outport_2 outlabel_2 id_3 Pd5 label-7 outport_3 outlabel_3 Id_l Pd5 label-5 outport l outlabel l id_2 Pd5 label-6 outport_2 outlabel_2 Id_3 Pd5 label-7 outport_3 outlabel_3
id_4 Pd5 label-8 outport_4 outlabel_4  Id_4 Pd5 label-8 outport_4 outlabel_4
( 11 ) 网元 D向网元 E发送 RSVP RESV消息, 消息中的 LABEL字段填写为一 个特殊值 0XFFFF,消息中私有数据的内容和接收到的 RSVP PATH消息中的私有数据 相同。 (11) The network element D sends an RSVP RESV message to the network element E, and the LABEL field in the message is filled in 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 RSVP PATH message.
( 12) 网元 E根据 RSVP RESV消息中的私有数据内容, 校验端口 Pe2上资源预 留成功, 然后向网元 A发送 RSVP RESV消息, 消息中的 LABEL对象内容填写为一 个特殊值 0XFFFF,消息中私有数据的内容和接收到的 RSVP PATH消息中的私有数据 相同。 (12) The network element E verifies that the resource reservation on the port Pe2 is successful according to the private data content in the RSVP RESV message, and then sends an RSVP RESV message to the network element A, and the content of the LABEL object in the message is filled in as a special value 0XFFFF, the message The content of the private data is the same as the private data in the received RSVP PATH message.
( 13 ) 网元 A根据 RSVP RESV消息中的私有数据内容, 校验端口 Pa5上资源预 留成功, 至此 L5连接建立成功, 将 Ll、 L2、 L3和 L4上的业务切换至 L5上, 同时 将 Ll、 L2、 L3和 L4删除, 批量业务恢复成功, 整个流程结束。 参照图 6, 示出了根据本发明实施例六的一种业务恢复装置的结构框图, 包括: 第一确定模块 602, 用于确定多个业务的承载链路发生故障, 其中, 多个业务具 有相同的首节点和尾节点; 第二确定模块 604, 用于确定首节点和尾节点之间存在至 少一条可用路由, 该一条可用路由的资源满足多个业务的资源总和, 或满足多个业务 中的至少两个业务的资源总和; 恢复模块 606, 用于使用可用路由恢复发生故障的多 个业务或至少两个业务。 优选地, 参照图 7, 示出了根据本发明实施例七的一种业务恢复装置的结构框图。 本实施例的业务恢复装置在图 6所示业务恢复装置的基础上, 采用以下优选结构。 优选地, 第二确定模块 604包括: 判断模块 6042, 用于判断首节点和尾节点之间 是否存在至少一条可用路由, 所述一条可用路由的资源满足多个业务的资源总和; 第 一肯定模块 6044, 用于若判断模块的判断结果为是, 则确定该可用路由为满足多个业 务的资源总和的可用路由; 第一否定模块 6046, 用于若判断模块的判断结果为否, 则 根据预定规则从资源总和中减少部分资源, 根据减少后的资源总和判断首节点和尾节 点之间是否存在至少一条满足减少后的资源总和的可用路由; 第二肯定模块 6048, 用 于若第一否定模块的判断结果为是, 则确定该可用路由为满足多个业务中的至少两个 业务的资源总和的可用路由; 第二否定模块 60410, 用于若第一否定模块的判断结果 为否, 则返回第一否定模块。 优选地, 恢复模块 606包括: 发送模块 6062, 用于首节点经可用路由上的各节点 依次发送信令至尾节点, 信令中携带有: 指示可用路由为多业务恢复路由的信息, 和 待恢复的业务中的每个业务在本节点的信息; 资源模块 6064, 用于可用路由上的各节 点根据信令为待恢复的业务预留资源,并为待恢复的业务中的每个业务建立交叉连接; 切换模块 6066, 用于将待恢复的业务切换到可用路由上。 优选地, 信令为遵循 RSVP的信令, 遵循 RSVP的信令的私有数据携带指示可用 路由为多业务恢复路由的信息, 和待恢复的业务中每个业务在本节点的信息。 优选地, 待恢复的业务中每个业务在本节点的信息包括: 待恢复的业务中每个业 务的业务标识, 待恢复的业务中每个业务在本节点占用的标签, 待恢复的业务中每个 业务在本节点的业务出端口, 和待恢复的业务中每个业务在尾节点占用的标签。 优选地, 上述业务为 ASON中的无保护业务。 本实施例实现的方法可以参照前述多个方法实施例的相关描述, 并具有上述实施 例的有益效果, 在此不再赘述。 需要说明的是, 以上多个实施例中均针对 ASON中的无保护业务为例作以说明, 但本领域技术人员应当理解, 本发明同样适用于有保护的业务, 以及适用于除 ASON 外的包交换网络中的业务。 以上的描述中, 可以看出, 本发明提供的用于光通信领域的, 特别用于 ASON领 域的多业务批量恢复的方法和装置, 解决了现有技术中中多业务恢复耗时较多、 效率 低, 以及标签竞争和资源竞争等问题, 极大地提高多业务恢复效率, 缩短了多业务恢 复时间。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 (13) The network element A checks the resource reservation on the port Pa5 according to the private data content in the RSVP RESV message, and the L5 connection is successfully established, and the services on L1, L2, L3, and L4 are switched to L5, and Ll, L2, L3, and L4 are deleted, the batch service is successfully restored, and the entire process ends. Referring to FIG. 6, a structural block diagram of a service recovery apparatus according to Embodiment 6 of the present invention is shown, including: a first determining module 602, configured to determine that a bearer link of multiple services is faulty, where multiple services have The same first node and the tail node; the second determining module 604 is configured to determine that at least one available route exists between the first node and the tail node, and the resource of the one available route satisfies the sum of resources of multiple services, or meets multiple services. A sum of resources of at least two services; a recovery module 606, configured to recover a failed multiple services or at least two services using an available route. Preferably, referring to FIG. 7, a structural block diagram of a service recovery apparatus according to Embodiment 7 of the present invention is shown. The service recovery apparatus of this embodiment adopts the following preferred structure based on the service recovery apparatus shown in FIG. 6. Preferably, the second determining module 604 includes: a determining module 6042, configured to determine whether there is at least one available route between the first node and the tail node, where the resources of the one available route satisfy the sum of resources of the multiple services; 6044, if the judgment result of the judging module is yes, determining that the available route is an available route that satisfies a sum of resources of the plurality of services; and the first negation module 6046 is configured to: if the judgment result of the judging module is no, according to the predetermined The rule reduces part of the resources from the sum of resources, and judges whether there is at least one available route between the first node and the tail node that satisfies the sum of the reduced resources according to the sum of the reduced resources; the second affirmation module 6048 is configured to use the first negative module. If the result of the determination is yes, the available route is determined to be an available route that satisfies the sum of the resources of the at least two services of the multiple services. The second negation module 60410 is configured to: if the result of the first negative module is negative, return The first negative module. Preferably, the recovery module 606 includes: a sending module 6062, configured to send, by the node on the available route, the signaling to the tail node in turn, where the signaling carries: information indicating that the available route is a multi-service recovery route, and waiting The information of each service in the restored service is in the information of the local node; the resource module 6064, each node on the available route reserves resources for the service to be recovered according to the signaling, and establishes for each service in the service to be restored. A cross-connect; a switching module 6066, configured to switch the service to be restored to an available route. Preferably, the signaling is RSVP-compliant signaling, and the private data following the RSVP signaling carries information indicating that the available route is a multi-service recovery route, and information of each service in the service to be recovered is in the local node. Preferably, the information of each service in the service to be restored includes: a service identifier of each service in the service to be restored, a label occupied by the local node in the service to be restored, and a service to be restored. The service outgoing port of each service at the local node, and the label occupied by each service at the tail node in the service to be recovered. Preferably, the foregoing service is an unprotected service in the ASON. The method implemented in this embodiment can refer to the related description of the foregoing multiple method embodiments, and has the beneficial effects of the foregoing embodiments, and details are not described herein again. It should be noted that, in the above multiple embodiments, the unprotected service in the ASON is taken as an example, but those skilled in the art should understand that the present invention is equally applicable to the protected service and is applicable to the ASON-free. Packet switching services in the network. In the above description, it can be seen that the method and apparatus for multi-service batch recovery in the field of optical communication, especially for the ASON field, solves the problem that the multi-service recovery in the prior art is time-consuming, Low efficiency, as well as label competition and resource competition, greatly improve multi-service recovery efficiency and shorten multi-service recovery time. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种业务恢复方法, 包括: 1. A method of business recovery, including:
确定多个业务的承载链路发生故障, 所述多个业务具有相同的首节点和尾 节点;  Determining that a bearer link of multiple services fails, the multiple services having the same head node and tail node;
确定所述首节点和尾节点之间存在至少一条可用路由, 所述一条可用路由 的资源满足所述多个业务的资源总和, 或所述多个业务中的至少两个业务的资 源总和;  Determining that there is at least one available route between the first node and the tail node, where the resources of the one available route satisfy the sum of resources of the multiple services, or the sum of resources of at least two services of the multiple services;
使用所述可用路由恢复所述发生故障的多个业务或所述至少两个业务。  Recovering the failed multiple services or the at least two services using the available routes.
2. 根据权利要求 1所述的方法, 其中, 确定所述首节点和尾节点之间存在至少一 条可用路由的步骤包括: 2. The method according to claim 1, wherein the determining that there is at least one available route between the head node and the tail node comprises:
判断所述首节点和尾节点之间是否存在至少一条可用路由, 所述一条可用 路由的资源满足所述多个业务的资源总和;  Determining whether there is at least one available route between the first node and the tail node, where the resources of the one available route satisfy the sum of resources of the multiple services;
若存在, 则确定该可用路由为满足所述多个业务的资源总和的可用路由; 若不存在, 则根据预定规则从所述资源总和中减少部分资源, 根据所述减 少后的资源总和判断所述首节点和尾节点之间是否存在至少一条满足减少后的 资源总和的可用路由;  If yes, determining that the available route is an available route that satisfies the sum of the resources of the multiple services; if not, reducing a part of the resources from the sum of the resources according to a predetermined rule, and determining, according to the sum of the reduced resources Whether there is at least one available route between the head node and the tail node that satisfies the sum of the reduced resources;
若是, 则确定该可用路由为满足所述多个业务中的至少两个业务的资源总 和的可用路由; 若否, 则返回所述根据预定规则从所述资源总和中减少部分资 源, 根据所述减少后的资源总和判断所述首节点和尾节点之间是否存在至少一 条满足减少后的资源总和的可用路由的步骤。  If yes, determining that the available route is an available route that satisfies a sum of resources of at least two services of the multiple services; if not, returning, according to a predetermined rule, reducing a part of resources from the sum of the resources, according to the The reduced sum of resources determines whether there is at least one available route between the head node and the tail node that satisfies the sum of the reduced resources.
3. 根据权利要求 1所述的方法, 其中, 使用所述可用路由恢复所述发生故障的多 个业务或所述至少两个业务的步骤包括: 3. The method according to claim 1, wherein the step of recovering the failed multiple services or the at least two services using the available route comprises:
所述首节点经所述可用路由上的各节点依次发送信令至所述尾节点, 所述 信令中携带有: 指示所述可用路由为多业务恢复路由的信息, 和待恢复的业务 中的每个业务在本节点的信息;  The first node sends signaling to the tail node in turn through the nodes on the available route, where the signaling carries: information indicating that the available route is a multi-service recovery route, and the service to be restored Information about 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;
将所述待恢复的业务切换到所述可用路由上。 Switching the to-be-recovered service to the available route.
4. 根据权利要求 3所述的方法, 其中, 所述信令为遵循资源预留协议 RSVP的信 令, 使用所述遵循 RSVP的信令的私有数据携带所述指示所述可用路由为多业 务恢复路由的信息, 和待恢复的业务中每个业务在本节点的信息。 The method according to claim 3, wherein the signaling is signaling complying with a resource reservation protocol RSVP, and the private data carrying the RSVP-compliant signaling carries the indication that the available route is a multi-service The information of the restored route, and the information of each service in the node to be recovered in the service.
5. 根据权利要求 3所述的方法, 其中, 所述待恢复的业务中每个业务在本节点的 信息包括: 所述待恢复的业务中每个业务的业务标识, 所述待恢复的业务中每 个业务在本节点占用的标签, 所述待恢复的业务中每个业务在本节点的业务出 端口, 和所述待恢复的业务中每个业务在所述尾节点占用的标签。 The method according to claim 3, wherein the information of each service in the service to be restored is: the service identifier of each service in the service to be restored, the service to be restored a label occupied by each of the services in the node, a service out port of each service in the service to be restored, and a label occupied by each of the services to be recovered in the tail node.
6. 根据权利要求 1至 5任一项所述的方法, 其中, 所述业务为自动交换光网络中 的无保护业务。 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 business recovery device, including:
第一确定模块, 设置为确定多个业务的承载链路发生故障, 所述多个业务 具有相同的首节点和尾节点;  a first determining module, configured to determine that a bearer link of multiple services is faulty, where the multiple services have the same first node and a tail node;
第二确定模块, 设置为确定所述首节点和尾节点之间存在至少一条可用路 由, 所述一条可用路由的资源满足所述多个业务的资源总和, 或所述多个业务 中的至少两个业务的资源总和; 恢复模块, 设置为使用所述可用路由恢复所述发生故障的多个业务或所述 至少两个业务。  a second determining module, configured to determine that at least one available route exists between the first node and the tail node, where the resource of the one available route satisfies a sum of resources of the multiple services, or at least two of the multiple services a sum of resources of the services; a recovery module configured to recover the failed plurality of services or the at least two services using the available routes.
8. 根据权利要求 7所述的装置, 其中, 所述第二确定模块包括: The device according to claim 7, wherein the second determining module comprises:
判断模块, 设置为判断所述首节点和尾节点之间是否存在至少一条可用路 由, 所述一条可用路由的资源满足所述多个业务的资源总和;  a judging module, configured to determine whether there is at least one available route between the first node and the tail node, where the resources of the one available route satisfy the sum of resources of the multiple services;
第一肯定模块, 设置为若所述判断模块的判断结果为是, 则确定该可用路 由为满足所述多个业务的资源总和的可用路由;  a first affirmative module, configured to determine, if the determination result of the determining module is yes, the available route as an available route that satisfies a sum of resources of the multiple services;
第一否定模块, 设置为若所述判断模块的判断结果为否, 则根据预定规则 从所述资源总和中减少部分资源, 根据所述减少后的资源总和判断所述首节点 和尾节点之间是否存在至少一条满足减少后的资源总和的可用路由;  a first negation module, configured to: if the judgment result of the judging module is no, reduce a part of resources from the sum of resources according to a predetermined rule, and determine, between the first node and the tail node, according to the sum of the reduced resources Whether there is at least one available route that satisfies the sum of the reduced resources;
第二肯定模块, 设置为若所述第一否定模块的判断结果为是, 则确定该可 用路由为满足所述多个业务中的至少两个业务的资源总和的可用路由;  a second affirmative module, configured to: if the determination result of the first negative module is yes, determining that the available route is an available route that satisfies a sum of resources of at least two services in the multiple services;
第二否定模块, 设置为若所述第一否定模块的判断结果为否, 则返回所述 第一否定模块。 根据权利要求 7所述的装置, 其中, 所述恢复模块包括: 发送模块, 设置为所述首节点经所述可用路由上的各节点依次发送信令至 所述尾节点,所述信令中携带有:指示所述可用路由为多业务恢复路由的信息, 和待恢复的业务中的每个业务在本节点的信息; The second negation module is configured to return to the first negation module if the determination result of the first negation module is no. The apparatus according to claim 7, wherein the recovery module comprises: a sending module, configured to: the first node sequentially sends signaling to the tail node via each node on the available route, where the signaling is in the signaling Carrying information indicating that the available route is a multi-service recovery route, and information of each service in the service to be restored at the local node;
资源模块, 设置为所述可用路由上的各节点根据所述信令为所述待恢复的 业务预留资源, 并为所述待恢复的业务中的每个业务建立交叉连接;  a resource module, configured to reserve resources for the service to be restored according to the signaling according to the signaling, and establish a cross connection for each service in the service to be restored;
切换模块, 设置为将所述待恢复的业务切换到所述可用路由上。 根据权利要求 9所述的装置, 其中, 所述信令为遵循资源预留协议 RSVP的信 令, 所述遵循 RSVP的信令的私有数据携带所述指示所述可用路由为多业务恢 复路由的信息, 和待恢复的业务中每个业务在本节点的信息。  And a switching module, configured to switch the service to be restored to the available route. The device according to claim 9, wherein the signaling is signaling complying with a resource reservation protocol RSVP, and the private data of the RSVP-compliant signaling carries the indication that the available route is a multi-service recovery route Information, and information about each service in the node to be recovered in the service.
PCT/CN2011/078822 2010-12-02 2011-08-24 Method and device for service recovery WO2012071909A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2012071909A1 true WO2012071909A1 (en) 2012-06-07

Family

ID=46152785

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078822 WO2012071909A1 (en) 2010-12-02 2011-08-24 Method and device for service recovery

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 中兴通讯股份有限公司 Multiple services parallel recovery method, apparatus and system under SDN framework
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 (4)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (4)

* 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

Also Published As

Publication number Publication date
CN102487329B (en) 2016-03-30
CN102487329A (en) 2012-06-06

Similar Documents

Publication Publication Date Title
US6011780A (en) Transparant non-disruptable ATM network
Huang et al. Building reliable MPLS networks using a path protection mechanism
EP0859491B1 (en) Method for rerouting in hierarchically structured networks
US7180866B1 (en) Rerouting in connection-oriented communication networks and communication systems
EP2425632B1 (en) Virtual links in a routed ethernet mesh network
EP1843544B1 (en) A data transmission method and system of label switching network
JP3762749B2 (en) Restoration protection method and apparatus
EP1201100B1 (en) Method and apparatus for fast reroute in a connection-oriented network
EP2495918B1 (en) Method, system and node device for establishing label switch path
WO2012071909A1 (en) Method and device for service recovery
EP1845656A1 (en) A method for implementing master and backup transmission path
WO2007079659A1 (en) A service failure restoration method and system
US20100020719A1 (en) Automatic maintenance of a distributed source tree (dst) network
WO2011157130A2 (en) Path establishment method and apparatus
WO2016119265A1 (en) Network service establishment method, cooperation control centre and network system
CN100352217C (en) ATM communication network and networking controller thereof
CN100531092C (en) Intelligent optical network business re-routing trigging method
CN100382534C (en) Method for detecting exchange failure of intelligent optical network dual-direction multi-plexing section loop network protection
WO2008148315A1 (en) A method and system for establishing service path, and a node device
CN101764732A (en) Method, network and node device for establishing Ethernet virtual connection
CN109644122A (en) Resource share method, network node and relevant device
Austin et al. Fast, scalable, and distributed restoration in general mesh optical networks
EP2466813B1 (en) Method and system for determining initiator and terminator in forwarding adjacency label switched path
CN1983908B (en) Method for automatically correcting label resource management
Liu et al. Distributed route computation and provisioning in shared mesh optical networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11845287

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11845287

Country of ref document: EP

Kind code of ref document: A1