WO2022105325A1 - Rerouting method, communication apparatus and storage medium - Google Patents

Rerouting method, communication apparatus and storage medium Download PDF

Info

Publication number
WO2022105325A1
WO2022105325A1 PCT/CN2021/112831 CN2021112831W WO2022105325A1 WO 2022105325 A1 WO2022105325 A1 WO 2022105325A1 CN 2021112831 W CN2021112831 W CN 2021112831W WO 2022105325 A1 WO2022105325 A1 WO 2022105325A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
rerouting
nodes
path
paths
Prior art date
Application number
PCT/CN2021/112831
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 WO2022105325A1 publication Critical patent/WO2022105325A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Definitions

  • the first path list is preconfigured, so that in the case of a link failure between two nodes, the first node can quickly determine the recovery path according to the faulty node and the first path list, and then locate the N Therefore, N second nodes can be instructed to perform service rerouting in parallel, thereby reducing the rerouting duration.
  • the configuration method is relatively simple and flexible.
  • the rerouting message includes two faulty nodes, and the rerouting message is used to instruct each second node to determine M recovery paths according to the two faulty nodes, and establish M recovery paths that pass through each The recovery path of the second node.
  • the second node determining M recovery paths according to the two faulty nodes includes: the second node determining M recovery paths according to the two faulty nodes and the first path list, wherein the first path The list includes the corresponding relationship between the faulty node and the recovery path, and the first path list is preconfigured into the second node.
  • the second node determines M restoration paths according to the M services and the second path list, including: the second node determines each of the M services according to the M services and the second path list at least one recovery path corresponding to the service; the second node determines, according to the first preset rule, a first service path corresponding to each service from at least one recovery path corresponding to each service, and obtains M recovery paths.
  • the rerouting message includes M restoration paths
  • the second node performs rerouting according to the rerouting message, including: the second node establishing a restoration path passing through the second node among the M restoration paths.
  • the rerouting message includes M restoration paths, so that the second node can directly establish a restoration path passing through the second node according to the M restoration paths, without the need to determine the M restoration paths, reducing the need for The calculation pressure of the second node is reduced, and the rerouting performance is improved.
  • the communication device includes: a processing module for acquiring a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, where M is an integer greater than or equal to 1; and according to the fault The message determines M restoration paths, wherein the M services are in one-to-one correspondence with the M restoration paths, the M restoration paths pass through N second nodes, and N is an integer greater than 1; Each second node in the nodes sends a rerouting message, and the rerouting message is used to instruct each second node to perform rerouting.
  • the communication device includes: a transceiver module for receiving a rerouting message from a first node, the second node is any second node among N second nodes, and the N second nodes are M
  • the processing module is configured to perform rerouting according to the rerouting message.
  • an embodiment of the present application provides a communication device, where the communication device may be the first node in the foregoing method embodiments, or a chip provided in the first node.
  • the communication device includes a communication interface, a processor, and optionally, a memory.
  • the memory is used to store computer programs or instructions, and the processor is coupled to the memory and the communication interface, and when the processor executes the computer program or instructions, the communication device executes the method executed by the first node in the above method embodiments.
  • a computer program product comprising: computer program code, which, when the computer program code is executed, causes the method performed by the first node in the above aspects to be performed.
  • the present application provides a chip system, where the chip system includes a processor for implementing the function of the first node in the methods of the above aspects.
  • the system-on-a-chip further includes a memory for storing program instructions and/or data.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method executed by the second node in the above aspects is implemented.
  • the present application provides a rerouting system, including the communication device of the fifth aspect and the communication device of the sixth aspect.
  • FIG. 1 is a schematic diagram of a service rerouting method provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a rerouting system provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the architecture of another rerouting system provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
  • ASON Automatic Switched Optical Network
  • OTN Optical Transport Network
  • AON Active Optical Network
  • ASON is used as an example for description, and other types of optical networks are similar to ASON scenarios and will not be described again.
  • the faulty node needs to advertise the recovery path to the first node.
  • the advertisement time is longer;
  • multiple services need to be rerouted in batches, resulting in a long rerouting time and poor rerouting performance.
  • Scheme 2 As shown in Figure 2, first manually configure the rerouting trigger node of each node. After the fiber is disconnected between the two nodes, one of the faulty nodes, such as node C, can determine the recovery path of the affected service S1 , and send the restoration path to the rerouting trigger node corresponding to node C, namely node B; then, after receiving the restoration path, node B establishes the restoration path hop-by-hop from this node.
  • one of the faulty nodes such as node C
  • node B can determine the recovery path of the affected service S1 , and send the restoration path to the rerouting trigger node corresponding to node C, namely node B; then, after receiving the restoration path, node B establishes the restoration path hop-by-hop from this node.
  • the rerouting trigger node needs to be manually configured first, and the labor cost is high; in addition, if the rerouting trigger node is the first node of the restoration path, the rerouting time is longer; moreover, this hop-by-hop rerouting When there are many services, multiple services need to be rerouted in batches, resulting in a long rerouting time and poor rerouting performance.
  • the existing rerouting method takes a long time and has poor rerouting performance.
  • FIG. 3 provides a rerouting system according to an embodiment of the present application.
  • the rerouting system includes a first node 301 and N second nodes 302 .
  • node C is the first node
  • node E, node F, node G, node H, node I, and node J are all second nodes
  • node C and node D have two faults.
  • the fiber is disconnected between node C and node D.
  • the first node 301 obtains a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, wherein the first node 301 is one of the two faulty nodes of the first link;
  • the first node 301 determines M recovery paths according to the fault message, wherein the M recovery paths are in one-to-one correspondence with M services, and the M recovery paths pass through the N second nodes, where M is an integer greater than or equal to 1 , N is an integer greater than 1;
  • the first node 301 sends a rerouting message to each of the N second nodes 302; each second node 302 performs rerouting according to the rerouting message, that is, according to the The rerouting message establishes a restoration path passing through the second node among the M restoration paths, thereby completing the rerouting of the M services.
  • FIG. 4 provides another rerouting system according to an embodiment of the present application.
  • the rerouting system includes a first node 401 and N second nodes 402 .
  • node C is the first node
  • node E, node F, node G, node H, node I, and node J are all second nodes
  • node C and node D have two faults.
  • the fiber is disconnected between node C and node D.
  • the first node 401 receives a fault message from the faulty node, where the fault message is used to indicate that the first link carrying M services is faulty, wherein the first node 401 is a centralized control unit of the optical network, and the faulty node is the faulty node.
  • the first node 401 determines M recovery paths according to the fault message, wherein the M recovery paths are in one-to-one correspondence with the M services, and the M recovery paths pass through
  • M is an integer greater than or equal to 1
  • N is an integer greater than 1
  • the first node 401 sends a rerouting message to each of the N second nodes 402; each The second node 402 performs rerouting according to the rerouting message, that is, establishes a recovery path passing through the second node among the M recovery paths according to the rerouting message, thereby completing the rerouting of the M services.
  • N second nodes can perform the rerouting process in parallel, without the need for the first node or the rerouting trigger point to perform service rerouting hop-by-hop, thereby reducing the rerouting time and improving the rerouting performance.
  • the duration of the rerouting is determined by the duration of each second node establishing the recovery path. The duration of the route is no longer affected by the size of the auto-switched optical network.
  • the rerouting systems shown in FIG. 3 and FIG. 4 also include other nodes, such as node K, node L, node M, node N, node A, and node B, and so on. Since these nodes do not participate in this rerouting process, the functions of these nodes are no longer described.
  • FIG. 5 is a schematic flowchart of a rerouting method provided by an embodiment of the present application. The method includes the following steps:
  • the first node acquires a fault message, where the fault message is used to indicate that a first link carrying M services is faulty, where M is an integer greater than or equal to 1.
  • the first node may be any one of the two faulty nodes of the first link, or may be a node that satisfies the second preset rule among the two faulty nodes, or may be a centralized control unit of ASON.
  • the second preset rule may be the faulty node with the largest number of connected nodes among the two faulty nodes.
  • the fiber is disconnected between node C and node D, that is, the first link between C and D is broken. If the road fails, then node C and node D are two faulty nodes, and the nodes connected to node C include node B, node H, node G, node F, and node D, and the nodes connected to node D include node C, node Node F and Node E, so Node C is used as the first node.
  • the second preset rule may also have other forms.
  • the second preset rule may be the faulty node with the least number of services passing through the two faulty nodes, and the present application does not limit the second preset rule.
  • the first node is a faulty node
  • acquiring the fault message by the first node is actually the process for the faulty node to determine the fiber disconnection, that is, to determine which two nodes are the two faulty nodes connected to the first link;
  • the fault message can be received from a faulty node, and the faulty node can be any one of the two faulty nodes connected to the first link.
  • the first node determines M recovery paths according to the fault message, wherein the M recovery paths pass through N second nodes.
  • the first node determines M recovery paths according to two faulty nodes and a first path list, wherein the first path list includes the correspondence between the faulty node and the recovery path, and the first path list is pre-configured into the first node. It should be understood that since it is not possible to predict which nodes will fail in advance, each node in the ASON network is preconfigured with the first path list.
  • M recovery paths can be determined only according to the corresponding relationship between the faulty node and the recovery path, without paying attention to the service corresponding to the recovery path, so that M recovery paths can be quickly obtained. , which can reduce the rerouting time.
  • Table 1 shows the correspondence between the faulty node and the recovery path:
  • Table 1 also shows the correspondence between services, recovery paths and faulty nodes, so that after subsequent recovery paths are established, the head node of each recovery path knows which service is the recovery path that passes through the head node. path, so as to restore the transmission of the service on the restoration path.
  • the first node determines, according to the faulty node, the M services that pass through the two faulty nodes, that is, the M services that pass through the first link. M services of the two faulty nodes; then, according to the M services and a second path list, determine M first service paths, wherein the second path list includes the correspondence between services and recovery paths, and the first path list
  • the two-path list is preconfigured into the first node.
  • the second path list needs to be configured to each node in the ASON network.
  • Table 2 shows the correspondence between services and recovery paths:
  • the first node may also select a recovery path for each service from at least one recovery path corresponding to each of the M services, as the optimal recovery path for each service , and then M recovery paths corresponding to the M services are obtained.
  • At least one restoration path of each service may be numbered, and the smaller the number is, the higher the priority of the restoration path corresponding to the number is. Therefore, the first node may select the restoration path with the smallest number among the at least one restoration path corresponding to each service from the second path list as the optimal restoration path.
  • the first node may determine an optimal restoration path for each service from at least one restoration path corresponding to each service according to the first preset rule, and obtain M restoration paths.
  • the first preset rule may be to cross-combine at least one recovery path corresponding to each service to obtain multiple combination results, and use the combination result with the least number of second nodes among the multiple combination results as M number of combination results.
  • M recovery paths for services For example, if the restoration paths corresponding to service S1 are R1 and R2, and the restoration paths corresponding to service S2 are L1 and L2, the combination result is: R1 and L1, R1 and L2, R2 and L1, R2 and L2, and the R2 and L2 are determined. L2 has the least number of second nodes in this combined result. Therefore, R2 is used as the restoration path of S1, and L2 is used as the restoration path of S2.
  • the number of second nodes can be minimized, so that the first node can notify fault messages to a smaller number of second nodes, reducing the pressure of the first node's notification messages.
  • the above-mentioned second preset rule is only for illustration, and not for limitation. In practical applications, other preset rules can also be used to select a recovery path for each service. For example, a recovery path with the smallest number of nodes is selected from at least one recovery path corresponding to each service as the optimal recovery path for the service. path.
  • the first node sends a rerouting message to each of the N second nodes, respectively.
  • the first node deduplicates all nodes on the M first restoration paths to obtain the N second nodes.
  • the restoration path R1 and the restoration path R2 are determined, wherein the restoration path R1 is: node A ⁇ node I ⁇ node H ⁇ node G ⁇ node F ⁇ node D, and the restoration path R2 is: node K ⁇ Node I ⁇ Node H ⁇ Node G ⁇ Node F ⁇ Node D. Therefore, all nodes on the restoration path R1 and the restoration path R2 are unioned and deduplicated to obtain the following second nodes: node A, node K, node I, node H, node G, node F, and node D.
  • the first node sends a rerouting message to each of the N second nodes, respectively.
  • node C sends a rerouting message to node A. Since node C and node A are not directly connected, node C can send the rerouting message to a transit node, such as node B, and then node B sends the rerouting message forwarded to node A.
  • the first path list and the second path list also include cross information of each node on the restoration path, wherein the cross information of each node refers to the connection direction between each node, that is, the first path
  • the list and the second path list also contain the connection directions between the nodes on each restoration path.
  • the methods provided by the embodiments of the present application are respectively introduced from the perspectives of the first node, the second node, and the interaction between the first node and the second node.
  • the first node and the second node may include hardware structures and/or software modules, and implement the above-mentioned functions in the form of hardware structures, software modules, or hardware structures plus software modules. each function. Whether one of the above functions is performed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
  • the communication apparatus 800 includes a transceiver module 801 and a processing module 802 .
  • the communication apparatus 800 may be used to implement the function of the first node or the second node in the above-mentioned embodiment corresponding to FIG. 5 .
  • the processing module 802 is configured to determine M recovery paths according to the fault message, wherein the M services are in one-to-one correspondence with the M recovery paths, the M recovery paths pass through N second nodes, and N is an integer greater than 1;
  • the transceiver module 801 is configured to send a rerouting message to each of the N second nodes respectively, where the rerouting message is used to instruct each second node to perform rerouting.
  • the transceiver module 801 is configured to receive a rerouting message from a first node, where the second node is any second node among N second nodes, and the N second nodes are nodes through which M recovery paths corresponding to M services pass through , M services are in one-to-one correspondence with M restoration paths, the M restoration paths are determined by the first service node according to the acquired fault message, and the fault message indicates that the first link carrying the M services is faulty, and M is greater than Or an integer equal to 1, N is an integer greater than 1;
  • the processing module 802 is configured to perform rerouting according to the rerouting message.
  • transceiver module 801 For a more detailed description of the foregoing transceiver module 801 and the processing module 802, reference may be made to the relevant descriptions in the foregoing method embodiments, which are not described herein again.
  • the communication apparatus 900 includes a processor 901 and an interface circuit 902 .
  • the processor 901 and the interface circuit 902 are coupled to each other.
  • the interface circuit 902 can be a transceiver or an input-output interface.
  • the communication apparatus 900 may further include a memory 903 for storing instructions executed by the processor 901 or input data required by the processor 901 to run the instructions or data generated after the processor 901 runs the instructions.
  • the processor 901 is used to execute the functions of the foregoing processing module 802
  • the interface circuit 902 is used to execute the functions of the foregoing transceiver module 801 .
  • the chip in the first node implements the function of the first node in the above method embodiment.
  • the chip in the first node receives information from other modules (such as a radio frequency module or an antenna) in the first node, and the information is sent by the second node to the first node; or, the chip in the first node sends information to the first node.
  • Other modules in the node such as radio frequency modules or antennas
  • send information which is sent by the first node to the second node.
  • the chip in the second node implements the function of the second node in the above method embodiment.
  • the chip in the second node receives information from other modules (such as a radio frequency module or an antenna) in the second node, and the information is sent by the first node to the second node; or, the chip in the second node sends information to the second node
  • Other modules in the node such as radio frequency modules or antennas
  • An embodiment of the present application further provides a rerouting system, including the above communication device for implementing the function of the first node and the above communication device for implementing the function of the second node.
  • Embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, can implement the process related to the first node in the rerouting method provided by the above method embodiments.
  • Embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, can implement the process related to the second node in the rerouting method provided by the above method embodiments.
  • Embodiments of the present application also provide a computer program product, which, when running on a computer or a processor, causes the computer or processor to execute one or more steps in any of the foregoing rerouting methods. If each component module of the above-mentioned device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processors
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable ROM) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium may reside in an ASIC. Additionally, the ASIC may be located in the first node or the second node.
  • the processor and storage medium may also exist in the first node or the second node as discrete components.
  • “at least one” means one or more, and “plurality” means two or more.
  • “And/or”, which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural.

Abstract

Disclosed are a rerouting method, a communication apparatus and a storage medium. The method comprises: a first node acquiring a fault message, wherein the fault message is used for indicating that a first link carrying M services has a fault, and M is an integer greater than or equal to 1; the first node determining M recovery paths according to the fault message, wherein the M services correspond to the M recovery paths on a one-to-one basis, the M recovery paths pass through N second nodes, and N is an integer greater than 1; and the first node respectively sending a rerouting message to each of the N second nodes, wherein the rerouting message is used for instructing each second node to perform rerouting. The embodiments of the present application are conducive to reducing a rerouting duration.

Description

重路由方法、通信装置及存储介质Rerouting method, communication device and storage medium
本申请要求于2020年11月23日提交中国国家知识产权局、申请号为202011326715.8、申请名称为“重路由方法、通信装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011326715.8 and the application title "Rerouting Method, Communication Device and Storage Medium" filed with the State Intellectual Property Office of China on November 23, 2020, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及通信技术领域,具体涉及一种重路由方法、通信装置及存储介质。The present application relates to the field of communication technologies, and in particular, to a rerouting method, a communication device, and a storage medium.
背景技术Background technique
在光网络中,两个节点之间会出现断纤现象,断纤之后经过这两个节点的业务将会受影响,无法正常传输。为了保证业务传输的稳定性,在节点故障之后,故障节点会为受影响的业务进行重路由,以保证受影响业务的正常传输,其重路由就是故障节点为受影响的业务规划出一条恢复路径,并通过信令建立该恢复路径,通过该恢复路径来传输该受影响的业务。In an optical network, a fiber break occurs between two nodes. After the fiber is cut, services passing through the two nodes will be affected and cannot be transmitted normally. In order to ensure the stability of service transmission, after a node failure, the faulty node will reroute the affected service to ensure the normal transmission of the affected service. The rerouting means that the faulty node plans a recovery path for the affected service. , and establish the restoration path through signaling, and transmit the affected service through the restoration path.
然而,目前是通过逐跳的方式进行恢复路径的建立,重路由时间较长,性能差。However, currently, the restoration path is established in a hop-by-hop manner, and the rerouting time is long and the performance is poor.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种重路由方法、通信装置及存储介质,通过多个第二节点并行进行业务重路由,缩短重路由时间,提高重路由性能。The present application provides a rerouting method, a communication device, and a storage medium, which can perform service rerouting through multiple second nodes in parallel, shorten the rerouting time, and improve the rerouting performance.
第一方面,本申请实施例提供一种该方法的执行主体可以是第一节点,也可以是应用于第一节点中的芯片。下面以执行主体是第一节点为例进行描述。该方法包括:In a first aspect, an embodiment of the present application provides an execution body of the method, which may be the first node, or may be a chip applied in the first node. The following description takes the execution subject as the first node as an example. The method includes:
第一节点获取故障消息,故障消息用于指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数;第一节点根据故障消息确定M条恢复路径,其中,M个业务与M条恢复路径一一对应,M条恢复路径经过N个第二节点,N为大于1的整数;第一节点分别向N个第二节点中的每个第二节点发送重路由消息,重路由消息用于指示每个第二节点进行重路由。The first node obtains a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, and M is an integer greater than or equal to 1; the first node determines M recovery paths according to the fault message, where M services One-to-one correspondence with the M restoration paths, where the M restoration paths pass through N second nodes, where N is an integer greater than 1; the first node sends a rerouting message to each of the N second nodes, and the The routing message is used to instruct each second node to reroute.
可以看出,在本申请实施例中,第一节点可确定出经过出现故障的第一链路的M个业务,以及该M个业务对应的M条恢复路径,并向该M条恢复路径经过的N个第二节点中的每个第二节点发送重路由消息;然后,每个第二节点接收到重路由消息之后,并行进行业务重路由,建立该M条恢复路径,无需首节点或者重路由触发点逐跳执行业务的重路由,进而降低了重路由的时长,提高了重路由性能。It can be seen that, in this embodiment of the present application, the first node can determine M services that pass through the first link that has failed, and M recovery paths corresponding to the M services, and send the M services to the M recovery paths. Each second node in the N second nodes sends a rerouting message; then, after each second node receives the rerouting message, it performs service rerouting in parallel to establish the M recovery paths without the need for the first node or rerouting The routing trigger point performs service rerouting hop by hop, thereby reducing the rerouting time and improving the rerouting performance.
在一些可能的实施方式中,故障消息包括连接第一链路的两个故障节点,第一节点根据故障消息确定M条恢复路径,包括:第一节点根据两个故障节点以及第一路径列表,确定M条恢复路径,第一路径列表包括故障节点与恢复路径之间的对应关系,第一路径列表是预先配置到第一节点中的。In some possible implementations, the fault message includes two faulty nodes connected to the first link, and the first node determines M recovery paths according to the fault message, including: the first node according to the two faulty nodes and the first path list, M recovery paths are determined, the first path list includes the correspondence between the faulty node and the recovery path, and the first path list is pre-configured in the first node.
可以看出,预先配置第一路径列表,这样在两个节点之间的链路故障的情况下,第一节点就可以根据故障节点和第一路径列表快速确定出恢复路径,然后,定位出N个第二节点,从而可以指示N个第二节点并行执行业务重路由,降低重路由时长。而且,只需配置恢复路径和故障节点之间的对应关系,配置方式比较简单、灵活。It can be seen that the first path list is preconfigured, so that in the case of a link failure between two nodes, the first node can quickly determine the recovery path according to the faulty node and the first path list, and then locate the N Therefore, N second nodes can be instructed to perform service rerouting in parallel, thereby reducing the rerouting duration. Moreover, only the corresponding relationship between the recovery path and the faulty node needs to be configured, and the configuration method is relatively simple and flexible.
在一些可能的实施方式中,故障消息包括连接第一链路的两个故障节点,第一节点根据故障消息确定M条恢复路径,包括:第一节点根据两个故障节点,确定经过两个故障节点的M个业务;第一节点根据M个业务和第二路径列表,确定M条恢复路径,第二路径列表包括 业务与恢复路径之间的对应关系,第二路径列表是预先配置到第一节点中的。In some possible implementations, the fault message includes two faulty nodes connected to the first link, and the first node determines M recovery paths according to the fault message, including: the first node determines, according to the two faulty nodes, that after two faults have passed M services of the node; the first node determines M recovery paths according to the M services and the second path list, the second path list includes the correspondence between the services and the recovery paths, and the second path list is preconfigured to the first path list. in the node.
可以看出,预先配置第二路径列表,这样在两个节点之间的链路故障的情况下,第一节点就可以根据故障节点和第一路径列表快速确定出恢复路径,然后,定位出N个第二节点,从而可以指示N个第二节点并行执行业务重路由,降低重路由时长。而且,只需配置业务和恢复路径之间的对应关系,配置方式比较简单、灵活。It can be seen that the second path list is preconfigured, so that in the event of a link failure between two nodes, the first node can quickly determine the recovery path according to the faulty node and the first path list, and then locate N Therefore, N second nodes can be instructed to perform service rerouting in parallel, thereby reducing the rerouting duration. Moreover, only the corresponding relationship between the service and the recovery path needs to be configured, and the configuration method is relatively simple and flexible.
在一些可能的实施方式中,第一节点根据M个业务和第二路径列表,确定M条恢复路径,包括:第一节点根据M个业务和第二路径列表,确定M个业务中的每个业务对应的至少一条恢复路径;第一节点根据第一预设规则,从每个业务对应的至少一条恢复路径确定出每个业务对应的一条恢复路径,得到M条恢复路径。In some possible implementations, the first node determines M restoration paths according to the M services and the second path list, including: the first node determines each of the M services according to the M services and the second path list at least one restoration path corresponding to the service; the first node determines, according to the first preset rule, one restoration path corresponding to each service from the at least one restoration path corresponding to each service, and obtains M restoration paths.
可以看出,第一节点可以根据第一预设规则,从每个业务对应的至少一条恢复路径中确定出每个业务对应的一条恢复路径,得到M条恢复路径。应理解,这样确定出的M条恢复路径,为这M个业务对应的所有恢复路径组合中最优的一种组合,比如,第二节点最少的恢复路径,这样就可以通过最优的恢复路径进行重路由,提高重路由性能。It can be seen that, according to the first preset rule, the first node can determine one restoration path corresponding to each service from at least one restoration path corresponding to each service, and obtain M restoration paths. It should be understood that the M recovery paths determined in this way are the optimal combination among all the recovery path combinations corresponding to the M services, for example, the recovery path with the fewest second nodes, so that the optimal recovery path can be used. Perform rerouting to improve rerouting performance.
在一些可能的实施方式中,第一节点分别向N个第二节点中的每个第二节点发送故障消息之前,该方法还包括:第一节点对M条恢复路径上的所有节点进行去重,得到N个第二节点。In some possible implementations, before the first node sends the fault message to each of the N second nodes respectively, the method further includes: the first node deduplicates all nodes on the M recovery paths , get N second nodes.
可以看出,在本实施方式中,第一节点先对M条恢复路径上的节点进行去重,这样就可以避免第一节点重复向某些第二节点发送重路由消息,降低第一节点发送重路由消息的压力。It can be seen that in this implementation manner, the first node first deduplicates the nodes on the M restoration paths, so that the first node can be prevented from repeatedly sending rerouting messages to some second nodes, and the first node sending Pressure to reroute messages.
在一些可能的实施方式中,第一节点为两个故障节点中的任意一个故障节点;或者,第一节点为两个故障节点中满足第二预设规则的故障节点;或者,第一节点为集中控制单元。In some possible implementations, the first node is any one of the two faulty nodes; or, the first node is a faulty node that satisfies the second preset rule among the two faulty nodes; or, the first node is Centralized control unit.
可以看出,在本实施方式中,可以通过多种方式确定出第一节点,保证第一节点的灵活性,进而保证了重路由方式的灵活性。It can be seen that, in this embodiment, the first node can be determined in various ways to ensure the flexibility of the first node, thereby ensuring the flexibility of the rerouting method.
在一些可能的实施方式中,重路由消息包括两个故障节点,重路由消息用于指示每个第二节点根据两个故障节点,确定M条恢复路径,并建立M条恢复路径上经过每个第二节点的恢复路径。In some possible implementations, the rerouting message includes two faulty nodes, and the rerouting message is used to instruct each second node to determine M recovery paths according to the two faulty nodes, and establish M recovery paths that pass through each The recovery path of the second node.
可以看出,在本实施方式中,可以在重路由消息中携带两个故障节点,可以降低重路由消息的开销,降低第一节点通告重路由消息的压力。It can be seen that, in this embodiment, two faulty nodes can be carried in the rerouting message, which can reduce the overhead of the rerouting message and reduce the pressure on the first node to announce the rerouting message.
在一些可能的实施方式中,重路由消息包括M条恢复路径,重路由消息用于指示每个第二节点建立M条恢复路径上经过每个第二节点的恢复路径。In some possible implementations, the rerouting message includes M restoration paths, and the rerouting message is used to instruct each second node to establish a restoration path passing through each second node on the M restoration paths.
可以看出,在本实施方式中,可以在重路由消息中携带M条恢复路径,这样第二节点就可以直接根据M条恢复路径进行重路由,无需去确定M条恢复路径,减少第二节点的计算压力,提高了重路由性能。It can be seen that, in this implementation manner, M recovery paths can be carried in the rerouting message, so that the second node can directly perform rerouting according to the M recovery paths, without the need to determine the M recovery paths, reducing the number of second nodes This increases the computational pressure and improves the rerouting performance.
第二方面,本申请实施例提供一种该方法的执行主体可以是第二节点,也可以是应用于第二节点中的芯片。下面以执行主体是第二节点为例进行描述。该方法包括:第二节点从第一节点接收重路由消息,第二节点为N个第二节点中的任意一个第二节点,N个第二节点为M个业务对应的M条恢复路径经过的节点,M个业务与M条恢复路径一一对应,M条恢复路径是第一业务节点根据获取到的故障消息确定的,且故障消息指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数,N为大于1的整数;第二节点根据重路由消息进行重路由。In a second aspect, an embodiment of the present application provides an execution body of the method, which may be the second node, or may be a chip applied in the second node. The following description takes the execution subject as the second node as an example. The method includes: a second node receives a rerouting message from a first node, the second node is any second node among N second nodes, and the N second nodes are M recovery paths corresponding to M services. Node, M services are in one-to-one correspondence with M recovery paths, the M recovery paths are determined by the first service node according to the acquired fault message, and the fault message indicates that the first link carrying the M services is faulty, and M is is an integer greater than or equal to 1, and N is an integer greater than 1; the second node performs rerouting according to the rerouting message.
可以看出,在本申请实施例中,每个第二节点都会接收到重路由消息,并根据该重路由消息进行重路由。由于N个第二节点并行进行重路由,降低了重路由时长,提高重路由性能。It can be seen that, in this embodiment of the present application, each second node will receive a rerouting message, and perform rerouting according to the rerouting message. Since the N second nodes perform rerouting in parallel, the rerouting duration is reduced and the rerouting performance is improved.
在一些可能的实施方式中,重路由消息包括连接第一链路的两个故障节点,第二节点根 据重路由消息进行重路由,包括:第二节点根据两个故障节点,确定M条恢复路径;第二节点建立M条恢复路径中经过第二节点的恢复路径。In some possible implementations, the rerouting message includes two faulty nodes connected to the first link, and the second node performs rerouting according to the rerouting message, including: the second node determines M recovery paths according to the two faulty nodes ; The second node establishes a recovery path passing through the second node among the M recovery paths.
可以看出,在本实施方式中,由于重路消息包括两个故障节点,则重路由消息的开销较小。而且,第二节点只根据该两个故障节点,即可完成重路由,提升了重路由的灵活性。It can be seen that, in this embodiment, since the rerouting message includes two faulty nodes, the overhead of the rerouting message is relatively small. Moreover, the second node can complete the rerouting only according to the two faulty nodes, which improves the flexibility of the rerouting.
在一些可能的实施方式中,第二节点根据两个故障节点,确定M条恢复路径,包括:第二节点根据两个故障节点以及第一路径列表,确定M条恢复路径,其中,第一路径列表包括故障节点与恢复路径之间的对应的关系,第一路径列表是预先配置到第二节点中的。In some possible implementations, the second node determining M recovery paths according to the two faulty nodes includes: the second node determining M recovery paths according to the two faulty nodes and the first path list, wherein the first path The list includes the corresponding relationship between the faulty node and the recovery path, and the first path list is preconfigured into the second node.
可以看出,在本实施方式中,预先配置第一路径列表,在接收到重路由消息的情况下,第二节点可根据两个故障节点以及第一路径列表,快速确定出M条恢复路径,从而可以建立经过该第二节点的恢复路径,并行执行业务重路由过程,降低重路由时长。此外,只需配置故障节点和恢复路径之间的对应关系,配置方式比较简单、灵活。It can be seen that in this implementation manner, the first path list is preconfigured, and in the case of receiving the rerouting message, the second node can quickly determine M recovery paths according to the two faulty nodes and the first path list, Therefore, a restoration path passing through the second node can be established, the service rerouting process can be performed in parallel, and the rerouting duration can be reduced. In addition, only the corresponding relationship between the faulty node and the recovery path needs to be configured, and the configuration method is relatively simple and flexible.
在一些可能的实施方式中,第二节点根据两个故障节点,确定M条恢复路径,包括:第二节点根据两个故障节点,确定经过两个故障节点的M个业务;第二节点根据M个业务和第二路径列表,确定M条恢复路径,第二路径列表包括业务与恢复路径之间的对应关系,第二预设列表是预先配置到第二节点中的。In some possible implementations, the second node determines M recovery paths according to the two faulty nodes, including: the second node determines M services passing through the two faulty nodes according to the two faulty nodes; the second node determines M services passing through the two faulty nodes according to the M A list of services and a second path is determined, M restoration paths are determined, the second path list includes the correspondence between services and restoration paths, and the second preset list is pre-configured in the second node.
可以看出,在本实施方式中,预先配置第二路径列表,在接收到重路由消息的情况下,第二节点可根据两个故障节点以及第一路径列表,快速确定出M条恢复路径,从而可以建立经过该第二节点的恢复路径,并行执行业务重路由过程,降低重路由时长。此外,只需配置业务和恢复路径之间的对应关系,配置方式比较简单、灵活。It can be seen that in this implementation manner, the second path list is preconfigured, and in the case of receiving the rerouting message, the second node can quickly determine M recovery paths according to the two faulty nodes and the first path list, Therefore, a restoration path passing through the second node can be established, the service rerouting process can be performed in parallel, and the rerouting duration can be reduced. In addition, only the corresponding relationship between services and recovery paths needs to be configured, and the configuration method is relatively simple and flexible.
在一些可能的实施方式中,第二节点根据M个业务和第二路径列表,确定M条恢复路径,包括:第二节点根据M个业务和第二路径列表,确定M个业务中的每个业务对应的至少一条恢复路径;第二节点根据第一预设规则,从每个业务对应的至少一条恢复路径确定出每个业务对应的第一业务路径,得到M条恢复路径。In some possible implementations, the second node determines M restoration paths according to the M services and the second path list, including: the second node determines each of the M services according to the M services and the second path list at least one recovery path corresponding to the service; the second node determines, according to the first preset rule, a first service path corresponding to each service from at least one recovery path corresponding to each service, and obtains M recovery paths.
可以看出,在本实施方式中,第二节点可以根据第一预设规则,从每个业务对应的至少一条恢复路径中确定出每个业务对应的一条恢复路径,得到M条恢复路径。应理解,这样确定出的M条恢复路径,为这M个业务对应的所有恢复路径组合中最优的一种组合,这样就可以通过最优的恢复路径进行重路由,提高重路由性能。It can be seen that, in this embodiment, the second node can determine one restoration path corresponding to each service from at least one restoration path corresponding to each service according to the first preset rule, and obtain M restoration paths. It should be understood that the M recovery paths determined in this way are an optimal combination among all the recovery path combinations corresponding to the M services, so that rerouting can be performed through the optimal recovery path and the rerouting performance can be improved.
在一些可能的实施方式中,重路由消息包括M条恢复路径,第二节点根据重路由消息进行重路由,包括:第二节点建立M条恢复路径中经过第二节点的恢复路径。In some possible implementations, the rerouting message includes M restoration paths, and the second node performs rerouting according to the rerouting message, including: the second node establishing a restoration path passing through the second node among the M restoration paths.
可以看出,在本实施方式中,重路由消息包括M条恢复路径,这样第二节点可以直接根据M条恢复路径建立经过该第二节点的恢复路径,无需去确定该M条恢复路径,降低了该第二节点的计算压力,提高重路由性能。It can be seen that, in this embodiment, the rerouting message includes M restoration paths, so that the second node can directly establish a restoration path passing through the second node according to the M restoration paths, without the need to determine the M restoration paths, reducing the need for The calculation pressure of the second node is reduced, and the rerouting performance is improved.
第三方面,本申请实施例提供一种通信装置,有益效果可以参见第一方面的描述此处不再赘述。通信装置具有实现上述第一方面的方法实例中行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,该通信装置包括:处理模块,用于获取故障消息,故障消息用于指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数;以及根据故障消息确定M条恢复路径,其中,M个业务与M条恢复路径一一对应,M条恢复路径经过N个第二节点,N为大于1的整数;收发模块,用于分别向N个第二节点中的每个第二节点发送重路由消息,重路由消息用于指示每个第二节点进行重路由。In a third aspect, an embodiment of the present application provides a communication device, and the beneficial effects can be referred to the description of the first aspect and will not be repeated here. The communication device has a function to implement the behavior in the method example of the first aspect above. The functions can be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions. In a possible design, the communication device includes: a processing module for acquiring a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, where M is an integer greater than or equal to 1; and according to the fault The message determines M restoration paths, wherein the M services are in one-to-one correspondence with the M restoration paths, the M restoration paths pass through N second nodes, and N is an integer greater than 1; Each second node in the nodes sends a rerouting message, and the rerouting message is used to instruct each second node to perform rerouting.
第四方面,本申请实施例提供一种通信装置,有益效果可以参见第二方面的描述此处不 再赘述。通信装置具有实现上述第二方面的方法实例中行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。在一个可能的设计中,该通信装置包括:收发模块,用于从第一节点接收重路由消息,第二节点为N个第二节点中的任意一个第二节点,N个第二节点为M个业务对应的M条恢复路径经过的节点,M个业务与M条恢复路径一一对应,M条恢复路径是第一业务节点根据获取到的故障消息确定的,且故障消息指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数,N为大于1的整数;处理模块,用于根据重路由消息进行重路由。In the fourth aspect, an embodiment of the present application provides a communication device, and the beneficial effects can be referred to the description of the second aspect, and will not be repeated here. The communication device has a function to implement the behavior in the method example of the second aspect above. The functions can be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions. In a possible design, the communication device includes: a transceiver module for receiving a rerouting message from a first node, the second node is any second node among N second nodes, and the N second nodes are M The nodes that M recovery paths corresponding to the services pass through, the M services are in one-to-one correspondence with the M recovery paths, and the M recovery paths are determined by the first service node according to the acquired fault message, and the fault message indicates that the M services are carried The first link of the fault occurs, M is an integer greater than or equal to 1, and N is an integer greater than 1; the processing module is configured to perform rerouting according to the rerouting message.
第五方面,本申请实施例提供一种通信装置,该通信装置可以为上述方法实施例中的第一节点,或者为设置在第一节点中的芯片。该通信装置包括通信接口以及处理器,可选的,还包括存储器。其中,该存储器用于存储计算机程序或指令,处理器与存储器、通信接口耦合,当处理器执行计算机程序或指令时,使通信装置执行上述方法实施例中由第一节点所执行的方法。In a fifth aspect, an embodiment of the present application provides a communication device, where the communication device may be the first node in the foregoing method embodiments, or a chip provided in the first node. The communication device includes a communication interface, a processor, and optionally, a memory. The memory is used to store computer programs or instructions, and the processor is coupled to the memory and the communication interface, and when the processor executes the computer program or instructions, the communication device executes the method executed by the first node in the above method embodiments.
第六方面,本申请实施例提供一种通信装置,该通信装置可以为上述方法实施例中的第二节点,或者为设置在第二节点中的芯片。该通信装置包括通信接口以及处理器,可选的,还包括存储器。其中,该存储器用于存储计算机程序或指令,处理器与存储器、通信接口耦合,当处理器执行计算机程序或指令时,使通信装置执行上述方法实施例中由第二节点所执行的方法。In a sixth aspect, an embodiment of the present application provides a communication device, where the communication device may be the second node in the foregoing method embodiments, or a chip provided in the second node. The communication device includes a communication interface, a processor, and optionally, a memory. The memory is used to store computer programs or instructions, and the processor is coupled with the memory and the communication interface, and when the processor executes the computer program or instructions, the communication device executes the method executed by the second node in the above method embodiments.
第七方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当计算机程序代码并运行时,使得上述各方面中由第一节点执行的方法被执行。In a seventh aspect, a computer program product is provided, the computer program product comprising: computer program code, which, when the computer program code is executed, causes the method performed by the first node in the above aspects to be performed.
第八方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当计算机程序代码并运行时,使得上述各方面中由第二节点执行的方法被执行。In an eighth aspect, a computer program product is provided, the computer program product comprising: computer program code, which when the computer program code is executed, causes the method performed by the second node in the above aspects to be performed.
第九方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于实现上述各方面的方法中第一节点的功能。在一种可能的设计中,该芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a ninth aspect, the present application provides a chip system, where the chip system includes a processor for implementing the function of the first node in the methods of the above aspects. In one possible design, the system-on-a-chip further includes a memory for storing program instructions and/or data. The chip system may be composed of chips, or may include chips and other discrete devices.
第十方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于实现上述各方面的方法中第二节点的功能。在一种可能的设计中,该芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a tenth aspect, the present application provides a chip system, where the chip system includes a processor for implementing the functions of the second node in the methods of the above aspects. In one possible design, the system-on-a-chip further includes a memory for storing program instructions and/or data. The chip system may be composed of chips, or may include chips and other discrete devices.
第十一方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述各方面中由第一节点执行的方法。In an eleventh aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method executed by the first node in the above aspects is implemented.
第十二方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,当该计算机程序被运行时,实现上述各方面中由第二节点执行的方法。In a twelfth aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method executed by the second node in the above aspects is implemented.
第十三方面,本申请提供了一种重路由系统,包括第五方面的通信装置以及第六方面的通信装置。In a thirteenth aspect, the present application provides a rerouting system, including the communication device of the fifth aspect and the communication device of the sixth aspect.
可以看出,在本申请实施例中,第一节点可以获取故障消息,该故障消息指示了承载M个业务的第一链路出现故障,因此,第一节点可以根据该故障消息确定出M条恢复路径,该M条恢复路径经过N个第二节点;然后,第一节点分别向N个第二节点中的每个第二节点发送重路由消息,这样每个第二节点接收到重路由消息之后,根据该重路由消息进行重路由,则实现N个第二节点并行建立该M条恢复路径,降低了重路由时长,提高了重路由性能。It can be seen that, in this embodiment of the present application, the first node can obtain a fault message, and the fault message indicates that the first link carrying M services is faulty. Therefore, the first node can determine M links according to the fault message. Restoring paths, the M restoration paths pass through N second nodes; then, the first node sends a rerouting message to each of the N second nodes respectively, so that each second node receives the rerouting message After that, rerouting is performed according to the rerouting message, so that N second nodes can establish the M recovery paths in parallel, which reduces the rerouting time and improves the rerouting performance.
附图说明Description of drawings
图1为本申请实施例提供的一种业务重路由方法的示意图;FIG. 1 is a schematic diagram of a service rerouting method provided by an embodiment of the present application;
图2为本申请实施例提供的另一种业务重路由方法的示意图;2 is a schematic diagram of another service rerouting method provided by an embodiment of the present application;
图3为本申请实施例提供的一种重路由系统的架构示意图;3 is a schematic structural diagram of a rerouting system provided by an embodiment of the present application;
图4为本申请实施例提供的另一种重路由系统的架构示意图;FIG. 4 is a schematic diagram of the architecture of another rerouting system provided by an embodiment of the present application;
图5为本申请实施例提供的一种重路由方法的流程示意图;5 is a schematic flowchart of a rerouting method provided by an embodiment of the present application;
图6为本申请实施例提供的一种重路由的示意图;6 is a schematic diagram of a rerouting provided by an embodiment of the present application;
图7为本申请实施例提供的另一种重路由的示意图;FIG. 7 is a schematic diagram of another rerouting provided by an embodiment of the present application;
图8为本申请实施例提供的一种通信装置的结构示意图;FIG. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图9为本申请实施例提供的另一种通信装置的结构示意图。FIG. 9 is a schematic structural diagram of another communication apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例中的技术方案,可应用于各种光网络。比如,自动交换光网络(AutoMatically Switched Optical Network,ASON)、光传送网络(optical Transport Network,OTN)、有源光网络(Active Optical Network,AON),等等。并且本申请中以ASON为例进行说明,其他类型的光网络与ASON场景类似,不再叙述。The technical solutions in the embodiments of the present application can be applied to various optical networks. For example, Automatic Switched Optical Network (ASON), Optical Transport Network (OTN), Active Optical Network (AON), and so on. In this application, ASON is used as an example for description, and other types of optical networks are similar to ASON scenarios and will not be described again.
应理解,在将本申请的技术方案应用于ASON的情况下,本申请实施例中的第一节点和第二节点可以为ASON设备,比如,ASON设备可以为光线路终端(Optical Line TerMinal,OLT)或者光缆终端设备(Optical Line TerMinal),等等。It should be understood that when the technical solution of the present application is applied to ASON, the first node and the second node in the embodiment of the present application may be ASON equipment, for example, the ASON equipment may be an optical line terminal (Optical Line Terminal, OLT). ) or optical cable terminal equipment (Optical Line TerMinal), etc.
为了便于理解本申请,首先在此介绍本申请实施例涉及的相关技术知识。In order to facilitate the understanding of the present application, the related technical knowledge involved in the embodiments of the present application is first introduced here.
在ASON中,两个节点之间会出现断纤现象,断纤之后经过这两个节点的业务将会受影响,无法正常传输。为了保证业务传输的稳定性,在节点故障之后,故障节点会为受影响的业务进行重路由,以保证受影响业务的正常传输,其重路由就是故障节点为受影响的业务规划出一条恢复路径,并通过信令建立该恢复路径,通过该恢复路径来传输该受影响的业务。In ASON, a fiber break occurs between two nodes. After the fiber is cut, services passing through the two nodes will be affected and cannot be transmitted normally. In order to ensure the stability of service transmission, after a node failure, the faulty node will reroute the affected service to ensure the normal transmission of the affected service. The rerouting means that the faulty node plans a recovery path for the affected service. , and establish the restoration path through signaling, and transmit the affected service through the restoration path.
下面结合附图介绍一下两种重路由方案。Two rerouting schemes are described below with reference to the accompanying drawings.
方案1:如图1所示,在节点C和节点D之间断纤之后,故障节点C确定经过两个故障节点的业务有业务S1,节点C为业务S1规划出一条恢复路径(即图1中虚线示出的路径);然后,节点C将恢复路径通告给这条恢复路径上的首节点,即节点A;最后,从节点A开始通过信令逐跳建立这条恢复路径,在恢复路径建立完成之后,将业务S1的传输路径从原路径(即图1中实线示出的路径)切换到恢复路径上传输业务S1。Scheme 1: As shown in Figure 1, after the fiber is disconnected between node C and node D, the faulty node C determines that the service passing through the two faulty nodes has service S1, and node C plans a recovery path for the service S1 (that is, in Figure 1). The path shown by the dotted line); then, node C advertises the restoration path to the first node on this restoration path, namely node A; finally, the restoration path is established hop by hop through signaling from node A, and the restoration path is established After completion, the transmission path of the service S1 is switched from the original path (ie, the path shown by the solid line in FIG. 1 ) to the restoration path for transmitting the service S1.
可以看出,故障节点需要将恢复路径通告首节点,当首节点与故障节点之间的传输距离较远时,通告的时间较长;而且,这种逐跳重路由的方式,当受影响的业务较多的时候,需要分批重路由多个业务,导致整个重路由的时间较长,重路由性能差。It can be seen that the faulty node needs to advertise the recovery path to the first node. When the transmission distance between the first node and the faulty node is long, the advertisement time is longer; When there are many services, multiple services need to be rerouted in batches, resulting in a long rerouting time and poor rerouting performance.
方案2:如图2所示,首先人工配置每个节点的重路由触发节点,在两个节点之间断纤之后,其中的一个故障节点,比如节点C可以确定出受影响的业务S1的恢复路径,并把恢复路径发送给与节点C对应的重路由触发节点,即节点B;然后,节点B接收到恢复路径之后,从本节点开始逐跳建立该条恢复路径。Scheme 2: As shown in Figure 2, first manually configure the rerouting trigger node of each node. After the fiber is disconnected between the two nodes, one of the faulty nodes, such as node C, can determine the recovery path of the affected service S1 , and send the restoration path to the rerouting trigger node corresponding to node C, namely node B; then, after receiving the restoration path, node B establishes the restoration path hop-by-hop from this node.
可以看出,首先需要人工配置重路由触发节点,人工成本较高;另外,若重路由触发节点为恢复路径的首节点的情况下,重路由的时间较长;而且,这种逐跳重路由的方式,当业务较多的时候,需要分批重路由多个业务,导致整个重路由时间比较长,重路由性能差。It can be seen that the rerouting trigger node needs to be manually configured first, and the labor cost is high; in addition, if the rerouting trigger node is the first node of the restoration path, the rerouting time is longer; moreover, this hop-by-hop rerouting When there are many services, multiple services need to be rerouted in batches, resulting in a long rerouting time and poor rerouting performance.
因此,现有的重路由方式耗时久,重路由性能差。Therefore, the existing rerouting method takes a long time and has poor rerouting performance.
参阅图3,图3为本申请实施例提供的一种重路由系统。重路由系统包括第一节点301 和N个第二节点302。示例性的,如图3所示,节点C为第一节点,节点E、节点F、节点G、节点H、节点I以及节点J均为第二节点,且节点C和节点D为两个故障节点,即节点C和节点D之间断纤。Referring to FIG. 3 , FIG. 3 provides a rerouting system according to an embodiment of the present application. The rerouting system includes a first node 301 and N second nodes 302 . Exemplarily, as shown in FIG. 3 , node C is the first node, node E, node F, node G, node H, node I, and node J are all second nodes, and node C and node D have two faults. The fiber is disconnected between node C and node D.
示例性的,第一节点301获取故障消息,故障消息用于指示承载M个业务的第一链路出现故障,其中,第一节点301为第一链路的两个故障节点中的一个节点;第一节点301根据故障消息确定出M条恢复路径,其中,M条恢复路径与M个业务一一对应,且该M条恢复路径经过该N个第二节点,M为大于或者等于1的整数,N为大于1的整数;最后,第一节点301向N个第二节点中的每个第二节点302发送重路由消息;每个第二节点302根据重路由消息进行重路由,即根据该重路由消息建立M条恢复路径中经过该第二节点的恢复路径,从而完成对该M个业务的重路由。Exemplarily, the first node 301 obtains a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, wherein the first node 301 is one of the two faulty nodes of the first link; The first node 301 determines M recovery paths according to the fault message, wherein the M recovery paths are in one-to-one correspondence with M services, and the M recovery paths pass through the N second nodes, where M is an integer greater than or equal to 1 , N is an integer greater than 1; finally, the first node 301 sends a rerouting message to each of the N second nodes 302; each second node 302 performs rerouting according to the rerouting message, that is, according to the The rerouting message establishes a restoration path passing through the second node among the M restoration paths, thereby completing the rerouting of the M services.
参阅图4,图4为本申请实施例提供的另一种重路由系统。重路由系统包括第一节点401和N个第二节点402。示例性的,如图4所示,节点C为第一节点,节点E、节点F、节点G、节点H、节点I以及节点J均为第二节点,且节点C和节点D为两个故障节点,即节点C和节点D之间断纤。Referring to FIG. 4, FIG. 4 provides another rerouting system according to an embodiment of the present application. The rerouting system includes a first node 401 and N second nodes 402 . Exemplarily, as shown in FIG. 4 , node C is the first node, node E, node F, node G, node H, node I, and node J are all second nodes, and node C and node D have two faults. The fiber is disconnected between node C and node D.
示例性的,第一节点401从故障节点接收故障消息,故障消息用于指示承载M个业务的第一链路出现故障,其中,第一节点401为光网络的集中控制单元,故障节点为该第一链路连接的两个故障节点中的任意一个;第一节点401根据故障消息确定出M条恢复路径,其中,M条恢复路径与M个业务一一对应,且该M条恢复路径经过该N个第二节点,M为大于或者等于1的整数,N为大于1的整数;最后,第一节点401向N个第二节点中的每个第二节点402发送重路由消息;每个第二节点402根据重路由消息进行重路由,即根据该重路由消息建立M条恢复路径中经过该第二节点的恢复路径,从而完成对该M个业务的重路由。Exemplarily, the first node 401 receives a fault message from the faulty node, where the fault message is used to indicate that the first link carrying M services is faulty, wherein the first node 401 is a centralized control unit of the optical network, and the faulty node is the faulty node. Any one of the two faulty nodes connected by the first link; the first node 401 determines M recovery paths according to the fault message, wherein the M recovery paths are in one-to-one correspondence with the M services, and the M recovery paths pass through For the N second nodes, M is an integer greater than or equal to 1, and N is an integer greater than 1; finally, the first node 401 sends a rerouting message to each of the N second nodes 402; each The second node 402 performs rerouting according to the rerouting message, that is, establishes a recovery path passing through the second node among the M recovery paths according to the rerouting message, thereby completing the rerouting of the M services.
可以看出,在图3和图4示出的重路由系统中,第一节点可确定出经过出现故障的第一链路的M个业务,以及该M个业务对应的M条恢复路径,并向该M条恢复路径经过的N个第二节点中的每个第二节点发送重路由消息;然后,每个第二节点接收到重路由消息之后,去建立经过该节点的恢复路径,完成对M条恢复路径的建立,进而完成对M个业务的重路由。相当于,N个第二节点可以并行执行重路由过程,无需首节点或者重路由触发点逐跳执行业务的重路由,进而降低了重路由的时长,提高了重路由性能。而且,由于N个第二节点可以并行执行重路由的过程,所以,无论自动交换光网络的规模有多大,重路由的时长由每个第二节点建立恢复路径的时长决定,也就是说,重路由的时长不会再受自动交换光网络的规模的影响。It can be seen that, in the rerouting systems shown in FIG. 3 and FIG. 4 , the first node can determine M services that pass through the faulty first link, and M recovery paths corresponding to the M services, and Send a rerouting message to each of the N second nodes that the M recovery paths pass through; then, after each second node receives the rerouting message, it establishes a recovery path passing through the node, and completes the pairing process. M restoration paths are established, thereby completing the rerouting of M services. Equivalently, N second nodes can perform the rerouting process in parallel, without the need for the first node or the rerouting trigger point to perform service rerouting hop-by-hop, thereby reducing the rerouting time and improving the rerouting performance. Moreover, since N second nodes can perform the process of rerouting in parallel, no matter how large the automatic switched optical network is, the duration of the rerouting is determined by the duration of each second node establishing the recovery path. The duration of the route is no longer affected by the size of the auto-switched optical network.
应理解,图3和图4示出的重路由系统还包括其他节点,比如,节点K、节点L、节点M、节点N、节点A以及节点B,等等。由于这些节点不参与本次的重路由过程,不再叙述这些节点的功能。It should be understood that the rerouting systems shown in FIG. 3 and FIG. 4 also include other nodes, such as node K, node L, node M, node N, node A, and node B, and so on. Since these nodes do not participate in this rerouting process, the functions of these nodes are no longer described.
参阅图5,图5为本申请实施例提供的一种重路由方法的流程示意图。该方法包括以下步骤:Referring to FIG. 5, FIG. 5 is a schematic flowchart of a rerouting method provided by an embodiment of the present application. The method includes the following steps:
501:第一节点获取故障消息,其中,故障消息用于指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数。501: The first node acquires a fault message, where the fault message is used to indicate that a first link carrying M services is faulty, where M is an integer greater than or equal to 1.
示例性的,第一节点可以为第一链路的两个故障节点中的任意一个节点,也可以是该两个故障节点中满足第二预设规则的节点,还可是ASON的集中控制单元。Exemplarily, the first node may be any one of the two faulty nodes of the first link, or may be a node that satisfies the second preset rule among the two faulty nodes, or may be a centralized control unit of ASON.
举例来说,第二预设规则可以为两个故障节点中连接节点数量最多的故障节点,如图6所示,节点C和节点D之间断纤,也就是C和D之间的第一链路出现故障,则节点C和节点D为两个故障节点,而与节点C连接的节点有节点B、节点H、节点G、节点F以及节点D,而与节点D连接的节点有节点C、节点F以及节点E,故将节点C作为该第一节点。For example, the second preset rule may be the faulty node with the largest number of connected nodes among the two faulty nodes. As shown in FIG. 6 , the fiber is disconnected between node C and node D, that is, the first link between C and D is broken. If the road fails, then node C and node D are two faulty nodes, and the nodes connected to node C include node B, node H, node G, node F, and node D, and the nodes connected to node D include node C, node Node F and Node E, so Node C is used as the first node.
应理解,第二预设规则还可以有其他的形式,比如,第二预设规则可以为两个故障节点中经过的业务数量最少的故障节点,本申请不对第二预设规则进行限定。It should be understood that the second preset rule may also have other forms. For example, the second preset rule may be the faulty node with the least number of services passing through the two faulty nodes, and the present application does not limit the second preset rule.
此外,在第一节点为故障节点的情况下,第一节点获取故障消息其实就是故障节点确定断纤的过程,也就是确定与第一链路连接的两个故障节点是哪两个节点;在第一节点为集中控制单元的情况下,则可以从故障节点接收该故障消息,该故障节点可以是与第一链路连接的两个故障节点中的任意一个。In addition, in the case where the first node is a faulty node, acquiring the fault message by the first node is actually the process for the faulty node to determine the fiber disconnection, that is, to determine which two nodes are the two faulty nodes connected to the first link; When the first node is a centralized control unit, the fault message can be received from a faulty node, and the faulty node can be any one of the two faulty nodes connected to the first link.
502:第一节点根据故障消息确定M条恢复路径,其中,M条恢复路径经过N个第二节点。502: The first node determines M recovery paths according to the fault message, wherein the M recovery paths pass through N second nodes.
示例性的,第一节点根据两个故障节点以及第一路径列表,确定M条恢复路径,其中,该第一路径列表包括故障节点与恢复路径之间的对应关系,且该第一路径列表是预先配置到该第一节点中的。应理解,由于并不能提前预知哪些节点会发生故障,所以,预先向该ASON网络中的每个节点配置该第一路径列表。Exemplarily, the first node determines M recovery paths according to two faulty nodes and a first path list, wherein the first path list includes the correspondence between the faulty node and the recovery path, and the first path list is pre-configured into the first node. It should be understood that since it is not possible to predict which nodes will fail in advance, each node in the ASON network is preconfigured with the first path list.
可以看出,在确定恢复路径的过程中,仅根据故障节点和恢复路径的对应关系即可确定出M条恢复路径,而不用去关注恢复路径对应的业务,从而可以快速的得到M条恢复路径,可以降低重路由的时长。It can be seen that in the process of determining the recovery path, M recovery paths can be determined only according to the corresponding relationship between the faulty node and the recovery path, without paying attention to the service corresponding to the recovery path, so that M recovery paths can be quickly obtained. , which can reduce the rerouting time.
结合图6示出的节点,表1示出了故障节点与恢复路径之间的对应关系:In conjunction with the nodes shown in Figure 6, Table 1 shows the correspondence between the faulty node and the recovery path:
表1:Table 1:
Figure PCTCN2021112831-appb-000001
Figure PCTCN2021112831-appb-000001
应理解,表1中还示出了业务与恢复路径以及故障节点的对应关系,这样是便于后续恢复路径建立之后,每条恢复路径的首节点知道经过该首节点的恢复路径是哪个业务的恢复路径,以便于在该恢复路径上恢复该业务的传输。It should be understood that Table 1 also shows the correspondence between services, recovery paths and faulty nodes, so that after subsequent recovery paths are established, the head node of each recovery path knows which service is the recovery path that passes through the head node. path, so as to restore the transmission of the service on the restoration path.
示例性的,第一节点根据故障节点确定经过该两个故障节点的M个业务,即经过第一链路的M个业务,比如,第一节点可以根据本地存储的业务三元组信息确定经过该两个故障节点的M个业务;然后,根据M个业务和第二路径列表,确定M条第一业务路径,其中,该第二路径列表包括业务与恢复路径之间的对应关系,该第二路径列表是预先配置到第一节点中的。同样,需要将第二路径列表配置到ASON网络中的各个节点。Exemplarily, the first node determines, according to the faulty node, the M services that pass through the two faulty nodes, that is, the M services that pass through the first link. M services of the two faulty nodes; then, according to the M services and a second path list, determine M first service paths, wherein the second path list includes the correspondence between services and recovery paths, and the first path list The two-path list is preconfigured into the first node. Likewise, the second path list needs to be configured to each node in the ASON network.
可以看出,仅配置业务与恢复路径之间的对应关系,这样可以减少第二路径列表的存储空间,从而节省了第二路径列表在每个节点中所占用的存储空间。It can be seen that only configuring the corresponding relationship between the service and the recovery path can reduce the storage space of the second path list, thereby saving the storage space occupied by the second path list in each node.
结合图6示出的节点,表2示出了业务与恢复路径之间的对应关系:In conjunction with the nodes shown in Figure 6, Table 2 shows the correspondence between services and recovery paths:
表2:Table 2:
Figure PCTCN2021112831-appb-000002
Figure PCTCN2021112831-appb-000002
应理解,可以为每个业务配置至少一条恢复路径。因此,第一节点在确定出M个业务之后,还可以从M个业务中的每个业务对应的至少一条恢复路径中为每个业务选出一恢复路径,作为每个业务的最优恢复路径,进而得到M个业务对应的M条恢复路径。It should be understood that at least one recovery path may be configured for each service. Therefore, after determining the M services, the first node may also select a recovery path for each service from at least one recovery path corresponding to each of the M services, as the optimal recovery path for each service , and then M recovery paths corresponding to the M services are obtained.
示例性的,在配置每个业务的恢复路径时,可对每条业务的至少一条恢复路径进行编号,编号越小表示与该编号对应的恢复路径的优先级越高。因此,第一节点可从该第二路径列表中选出每个业务对应的至少一条恢复路径中编号最小的恢复路径为最优恢复路径。Exemplarily, when configuring the restoration path of each service, at least one restoration path of each service may be numbered, and the smaller the number is, the higher the priority of the restoration path corresponding to the number is. Therefore, the first node may select the restoration path with the smallest number among the at least one restoration path corresponding to each service from the second path list as the optimal restoration path.
此外,在配置每个业务对应的至少一条恢复路径时,也可以不为每条恢复路径进行编号,即不去配置恢复路径的优先级,而是为每个节点插入第一预设规则,则第一节点可以根据第一预设规则,从每个业务对应的至少一条恢复路径中确定出每个业务的最优恢复路径,得到M条恢复路径。In addition, when configuring at least one recovery path corresponding to each service, it is also possible not to number each recovery path, that is, not to configure the priority of the recovery path, but to insert the first preset rule for each node, then The first node may determine an optimal restoration path for each service from at least one restoration path corresponding to each service according to the first preset rule, and obtain M restoration paths.
示例性的,该第一预设规则可以为将每个业务对应的至少一条恢复路径进行交叉组合,得到多个组合结果,将多个组合结果中第二节点数量最少的组合结果,作为M个业务的M条恢复路径。比如,业务S1对应的恢复路径有R1和R2,业务S2对应的恢复路径有L1和L2,则组合结果有:R1和L1,R1和L2,R2和L1,R2和L2,并且确定出R2和L2这个组合结果中第二节点的数量最少,因此,将R2作为S1的恢复路径,将L2作为S2的恢复路径。Exemplarily, the first preset rule may be to cross-combine at least one recovery path corresponding to each service to obtain multiple combination results, and use the combination result with the least number of second nodes among the multiple combination results as M number of combination results. M recovery paths for services. For example, if the restoration paths corresponding to service S1 are R1 and R2, and the restoration paths corresponding to service S2 are L1 and L2, the combination result is: R1 and L1, R1 and L2, R2 and L1, R2 and L2, and the R2 and L2 are determined. L2 has the least number of second nodes in this combined result. Therefore, R2 is used as the restoration path of S1, and L2 is used as the restoration path of S2.
可以看出,通过设置第一预设规则,可以使第二节点的数量最少,这样第一节点就可以向数量较少的第二节点通告故障消息,减少了第一节点的通告消息的压力。It can be seen that by setting the first preset rule, the number of second nodes can be minimized, so that the first node can notify fault messages to a smaller number of second nodes, reducing the pressure of the first node's notification messages.
应理解,上述的第二预设规则仅为举例说明,并不进行限定。在实际应用中,还可以采用其他的预设规则为每个业务选择一条恢复路径,比如,从每个业务对应的至少一条恢复路径中选择节点数量最少的恢复路径,作为该业务的最优恢复路径。It should be understood that the above-mentioned second preset rule is only for illustration, and not for limitation. In practical applications, other preset rules can also be used to select a recovery path for each service. For example, a recovery path with the smallest number of nodes is selected from at least one recovery path corresponding to each service as the optimal recovery path for the service. path.
503:第一节点分别向N个第二节点中的每个第二节点发送重路由消息。503: The first node sends a rerouting message to each of the N second nodes, respectively.
示例性的,在向N个第二节点中的每个第二节点发送重路由消息之前,第一节点对M条第一恢复路径上的所有节点进行去重,得到该N个第二节点。Exemplarily, before sending a rerouting message to each of the N second nodes, the first node deduplicates all nodes on the M first restoration paths to obtain the N second nodes.
例如,如图6所示,确定出恢复路径R1和恢复路径R2,其中,恢复路径R1为:节点A→节点I→节点H→节点G→节点F→节点D,恢复路径R2为:节点K→节点I→节点H→节点G→节点F→节点D。因此,对恢复路径R1和恢复路径R2上的所有节点取并集并去重,得到以下第二节点:节点A、节点K、节点I、节点H、节点G、节点F以及节点D。For example, as shown in FIG. 6 , the restoration path R1 and the restoration path R2 are determined, wherein the restoration path R1 is: node A→node I→node H→node G→node F→node D, and the restoration path R2 is: node K → Node I → Node H → Node G → Node F → Node D. Therefore, all nodes on the restoration path R1 and the restoration path R2 are unioned and deduplicated to obtain the following second nodes: node A, node K, node I, node H, node G, node F, and node D.
然后,第一节点分别向N个第二节点中的每个第二节点发送重路由消息。Then, the first node sends a rerouting message to each of the N second nodes, respectively.
应理解,第一节点向第二节点发送重路由消息的过程中,如果一个第二节点没有和第一节点直接连接,则第一节点通过中转的方式将重路由消息发送给该第二节点。如图6示,节点C向节点A发送重路由消息,由于节点C和节点A没有直接连接,节点C可以将重路由消 息发送给中转节点,比如,节点B,再由节点B将重路由消息转发给节点A。后续涉第一节点向一个第二节点发送重路由消息的过程中,如果该第二节点没有与该第一节点直接连接,则第一节点可以中转的方式将重路由消息发送给该第二节点,不再叙述。同样,对于图中示出的第一节点直接将重路由消息发送给了第二节点,只是用来表示第一节点可以将重路由消息发送给第二节点,而并不是真正的直接将重路由消息发送给第二节点。It should be understood that in the process of sending the rerouting message from the first node to the second node, if a second node is not directly connected to the first node, the first node sends the rerouting message to the second node through a relay. As shown in Figure 6, node C sends a rerouting message to node A. Since node C and node A are not directly connected, node C can send the rerouting message to a transit node, such as node B, and then node B sends the rerouting message forwarded to node A. In the subsequent process involving the first node sending a rerouting message to a second node, if the second node is not directly connected to the first node, the first node may send the rerouting message to the second node in a transit way , no longer narrated. Similarly, for the first node shown in the figure to directly send the rerouting message to the second node, it is only used to indicate that the first node can send the rerouting message to the second node, but does not really directly send the rerouting message to the second node. The message is sent to the second node.
504:第二节点根据重路由消息进行重路由。504: The second node performs rerouting according to the rerouting message.
在本申请的一个实施方式中,该重路由消息包括两个故障节点,则第二节点根据两个故障节点,确定出M条恢复路径;然后,第二节点建立M条恢复路径中经过该第二节点的恢复路径,从而实现对M个业务的重路由。应理解,第二节点确定M条恢复路径的方式,与第一节点确定M条恢复路径的方式类似,不再叙述。In an embodiment of the present application, if the rerouting message includes two faulty nodes, the second node determines M recovery paths according to the two faulty nodes; then, the second node establishes M recovery paths through the first The recovery path of the two nodes, so as to realize the rerouting of M services. It should be understood that the manner in which the second node determines the M restoration paths is similar to the manner in which the first node determines the M restoration paths, and will not be described again.
示例性的,第一路径列表和第二路径列表中还包含恢复路径上的各个节点的交叉信息,其中,各个节点的交叉信息是指各个节点之间的连接方向,也就是说,第一路径列表和第二路径列表中除了包含恢复路径之外,还包含每条恢复路径上的各个节点之间的连接方向。这样,第二节点确定M条恢复路径中经过该第二节点的恢复路径之后,可以确定出经过该第二节点的恢复路径上与该第二节点连接的上一个节点和下一个节点;然后,该第二节点可以建立到上一个节点的链路,以及到下一个节点的链路,重路由经过该第二节点的恢复路径。Exemplarily, the first path list and the second path list also include cross information of each node on the restoration path, wherein the cross information of each node refers to the connection direction between each node, that is, the first path In addition to the restoration paths, the list and the second path list also contain the connection directions between the nodes on each restoration path. In this way, after the second node determines the restoration path passing through the second node among the M restoration paths, it can determine the previous node and the next node connected to the second node on the restoration path passing through the second node; then, The second node may establish a link to the previous node, as well as a link to the next node, rerouting the recovery path through the second node.
应理解,若第二节点为两条恢复路径上的交叉节点,则与该第二节点连接的上一个节点的数量可能为多个,以及与该第二节点连接的下一个节点的数量也可能为多个。并且在上一个节点的数量为多个的情况下,第二节点可以同时建立与多个上一个节点对应的链路,以及在下一个节点的数量为多个的情况下,第二节点也可以同时建立与多个下一节点对应的链路。It should be understood that if the second node is a cross node on two recovery paths, the number of previous nodes connected to the second node may be multiple, and the number of next nodes connected to the second node may also be multiple. for multiple. And when the number of previous nodes is multiple, the second node can establish links corresponding to multiple previous nodes at the same time, and when the number of next nodes is multiple, the second node can also simultaneously establish links. Links corresponding to multiple next nodes are established.
例如,如图6所示,节点I为恢复路径R1和恢复路径R2的交叉节点,与节点I连接的上一个节点有节点A和节点K。因此,节点I可以同时建立与节点A和节点K之间的链路。For example, as shown in FIG. 6 , the node I is the intersection node of the restoration path R1 and the restoration path R2, and the last nodes connected to the node I are the node A and the node K. Therefore, node I can establish a link with node A and node K at the same time.
应理解,在该N个第二节点中的每个第二节点均完成与上一个节点以及下一个节点的链路的配置之后,则建立出该M条恢复路径;然后,每个第二节点向自已所在的恢复路径上的首节点反馈建立成功的响应消息;然后,首节点会在该恢复路径上进行端到端刷新信令消息,以及端到端的业务接管和维护,并传输该M个业务中与该恢复路径对应的业务。It should be understood that after each of the N second nodes completes the configuration of the link with the previous node and the next node, the M recovery paths are established; then, each second node Feedback a successful establishment response message to the head node on the restoration path where it is located; then, the head node will perform end-to-end refresh signaling messages on the restoration path, as well as end-to-end service takeover and maintenance, and transmit the M The service corresponding to the recovery path in the service.
在本申请的另一个实施方式中,该重路由消息包括M条恢复路径。因此,第二节点可以直接确定该M条恢复路径中经过该第二节点的恢复路径;然后,N个第二节点可以并行建立经过该第二节点的恢复路径,完成对M条恢复路径的建立,实现对M个业务的重路由。In another embodiment of the present application, the rerouting message includes M restoration paths. Therefore, the second node can directly determine the restoration paths passing through the second node among the M restoration paths; then, N second nodes can establish restoration paths passing through the second node in parallel to complete the establishment of the M restoration paths , to implement rerouting of M services.
在本申请的一个实施方式中,如图7所示,第一节点还可以通过洪泛模式向ASON网络中的各个节点发送重路由消息,其中,该重路由消息包括与第一链路连接的两个故障节点。这样,各个节点可以根据两个故障节点确定出经过第一链路的M个业务,以及M条恢复路径,对于属于该M条恢复路径上的节点(即第二节点),比如,节点A、节点I、节点H,等等,自主建立与本节点连接的上一个节点以及下一个节点之间的链路,完成该M条恢复路径的建立,实现对该M个业务的重路由。In an embodiment of the present application, as shown in FIG. 7 , the first node may also send a rerouting message to each node in the ASON network in a flooding mode, where the rerouting message includes a rerouting message connected to the first link. Two failed nodes. In this way, each node can determine M services passing through the first link and M recovery paths according to the two faulty nodes. For the nodes (ie the second nodes) belonging to the M recovery paths, for example, node A, Node I, node H, etc., independently establish a link between the previous node connected to the node and the next node, complete the establishment of the M recovery paths, and realize the rerouting of the M services.
可以看出,在本申请实施例中,第一节点无需确定M条恢复路径,以及N个第二节点,而是将故障节点直接下发给所有的节点,增加了重路由的灵活性,以及把计算任务分发到各个节点,减轻了第一节点的处理压力。It can be seen that, in this embodiment of the present application, the first node does not need to determine M recovery paths and N second nodes, but directly delivers the faulty node to all nodes, which increases the flexibility of rerouting, and Distributing computing tasks to each node reduces the processing pressure of the first node.
上述本申请提供用于实现重路由的实施例中,分别从第一节点、第二节点、以及第一节点与第二节点之间交互的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请 实施例提供的方法中的各功能,第一节点、第二节点可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。In the above-mentioned embodiments for implementing rerouting provided by the present application, the methods provided by the embodiments of the present application are respectively introduced from the perspectives of the first node, the second node, and the interaction between the first node and the second node. In order to implement the functions in the methods provided by the above embodiments of the present application, the first node and the second node may include hardware structures and/or software modules, and implement the above-mentioned functions in the form of hardware structures, software modules, or hardware structures plus software modules. each function. Whether one of the above functions is performed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
图8和图9为本申请的实施例提供一种通信装置的结构示意图。这些通信装置可以实现上述方法实施例中第一节点或第二节点的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请实施例中,该通信装置可以是如图5对应的实施例中所示的第一节点,也可以是第二节点,还可以是应用于第一节点或第二节点的模块(如芯片)。FIG. 8 and FIG. 9 provide schematic structural diagrams of a communication apparatus according to an embodiment of the present application. These communication apparatuses can implement the functions of the first node or the second node in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments. In this embodiment of the present application, the communication device may be the first node as shown in the embodiment corresponding to FIG. 5 , or may be the second node, or may be a module applied to the first node or the second node (such as chip).
如图8所示,通信装置800包括收发模块801和处理模块802。通信装置800可用于实现上述图5对应的实施例中第一节点或第二节点的功能。As shown in FIG. 8 , the communication apparatus 800 includes a transceiver module 801 and a processing module 802 . The communication apparatus 800 may be used to implement the function of the first node or the second node in the above-mentioned embodiment corresponding to FIG. 5 .
当通信装置800用于实现图5方法实施例中的第一节点的功能时:When the communication apparatus 800 is used to implement the function of the first node in the method embodiment of FIG. 5:
处理模块802,用于获取故障消息,故障消息用于指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数;A processing module 802, configured to acquire a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, where M is an integer greater than or equal to 1;
处理模块802,用于根据故障消息确定M条恢复路径,其中,M个业务与M条恢复路径一一对应,M条恢复路径经过N个第二节点,N为大于1的整数;The processing module 802 is configured to determine M recovery paths according to the fault message, wherein the M services are in one-to-one correspondence with the M recovery paths, the M recovery paths pass through N second nodes, and N is an integer greater than 1;
收发模块801,用于分别向N个第二节点中的每个第二节点发送重路由消息,重路由消息用于指示每个第二节点进行重路由。The transceiver module 801 is configured to send a rerouting message to each of the N second nodes respectively, where the rerouting message is used to instruct each second node to perform rerouting.
当通信装置800用于实现图5方法实施例中的第二节点的功能时:When the communication apparatus 800 is used to implement the function of the second node in the method embodiment of FIG. 5:
收发模块801,用于从第一节点接收重路由消息,第二节点为N个第二节点中的任意一个第二节点,N个第二节点为M个业务对应的M条恢复路径经过的节点,M个业务与M条恢复路径一一对应,M条恢复路径是第一业务节点根据获取到的故障消息确定的,且故障消息指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数,N为大于1的整数;The transceiver module 801 is configured to receive a rerouting message from a first node, where the second node is any second node among N second nodes, and the N second nodes are nodes through which M recovery paths corresponding to M services pass through , M services are in one-to-one correspondence with M restoration paths, the M restoration paths are determined by the first service node according to the acquired fault message, and the fault message indicates that the first link carrying the M services is faulty, and M is greater than Or an integer equal to 1, N is an integer greater than 1;
处理模块802,用于根据重路由消息进行重路由。The processing module 802 is configured to perform rerouting according to the rerouting message.
关于上述收发模块801和处理模块802更详细的描述,可参考上述方法实施例中的相关描述,在此不再说明。For a more detailed description of the foregoing transceiver module 801 and the processing module 802, reference may be made to the relevant descriptions in the foregoing method embodiments, which are not described herein again.
如图9所示,通信装置900包括处理器901和接口电路902。处理器901和接口电路902之间相互耦合。可以理解的是,接口电路902可以为收发器或输入输出接口。可选的,通信装置900还可以包括存储器903,用于存储处理器901执行的指令或存储处理器901运行指令所需要的输入数据或存储处理器901运行指令后产生的数据。As shown in FIG. 9 , the communication apparatus 900 includes a processor 901 and an interface circuit 902 . The processor 901 and the interface circuit 902 are coupled to each other. It can be understood that the interface circuit 902 can be a transceiver or an input-output interface. Optionally, the communication apparatus 900 may further include a memory 903 for storing instructions executed by the processor 901 or input data required by the processor 901 to run the instructions or data generated after the processor 901 runs the instructions.
当通信装置900用于实现上述方法实施例中的方法时,处理器901用于执行上述处理模块802的功能,接口电路902用于执行上述收发模块801的功能。When the communication apparatus 900 is used to implement the methods in the foregoing method embodiments, the processor 901 is used to execute the functions of the foregoing processing module 802 , and the interface circuit 902 is used to execute the functions of the foregoing transceiver module 801 .
当上述通信装置为应用于第一节点中的芯片时,该第一节点中的芯片实现上述方法实施例中第一节点的功能。该第一节点中的芯片从第一节点中的其它模块(如射频模块或天线)接收信息,该信息是第二节点发送给第一节点的;或者,该第一节点中的芯片向第一节点中的其它模块(如射频模块或天线)发送信息,该信息是第一节点发送给第二节点的。When the above communication device is a chip applied in the first node, the chip in the first node implements the function of the first node in the above method embodiment. The chip in the first node receives information from other modules (such as a radio frequency module or an antenna) in the first node, and the information is sent by the second node to the first node; or, the chip in the first node sends information to the first node. Other modules in the node (such as radio frequency modules or antennas) send information, which is sent by the first node to the second node.
当上述通信装置为应用于第二节点中的芯片时,该第二节点中的芯片实现上述方法实施例中第二节点的功能。该第二节点中的芯片从第二节点中的其它模块(如射频模块或天线)接收信息,该信息是第一节点发送给第二节点的;或者,该第二节点中的芯片向第二节点中的其它模块(如射频模块或天线)发送信息,该信息是第二节点发送给第一节点的。When the above communication device is a chip applied in the second node, the chip in the second node implements the function of the second node in the above method embodiment. The chip in the second node receives information from other modules (such as a radio frequency module or an antenna) in the second node, and the information is sent by the first node to the second node; or, the chip in the second node sends information to the second node Other modules in the node (such as radio frequency modules or antennas) send information, which is sent by the second node to the first node.
本申请实施例还提供了一种重路由系统,包括上述实现第一节点功能的通信装置以及上述实现第二节点功能的通信装置。An embodiment of the present application further provides a rerouting system, including the above communication device for implementing the function of the first node and the above communication device for implementing the function of the second node.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时可以实现上述方法实施例提供的重路由方法中与第一节点相关的流程。Embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, can implement the process related to the first node in the rerouting method provided by the above method embodiments.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时可以实现上述方法实施例提供的重路由方法中与第二节点相关的流程。Embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, can implement the process related to the second node in the rerouting method provided by the above method embodiments.
本申请实施例还提供了一种计算机程序产品,当其在计算机或处理器上运行时,使得计算机或处理器执行上述任一个重路由方法中的一个或多个步骤。上述所涉及的设备的各组成模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在计算机可读取存储介质中。Embodiments of the present application also provide a computer program product, which, when running on a computer or a processor, causes the computer or processor to execute one or more steps in any of the foregoing rerouting methods. If each component module of the above-mentioned device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(Read-Only Memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于第一节点或第二节点中。当然,处理器和存储介质也可以作为分立组件存在于第一节点或第二节点中。The method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable ROM) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium may reside in an ASIC. Additionally, the ASIC may be located in the first node or the second node. Of course, the processor and storage medium may also exist in the first node or the second node as discrete components.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行计算机程序或指令时,全部或部分地执行本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其它可编程装置。计算机程序或指令可以存储在计算机可读存储介质中,或者通过计算机可读存储介质进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器等数据存储设备。可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,DVD;还可以是半导体介质,例如,固态硬盘(solid state disk,SSD)。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the process or function of the embodiments of the present application is executed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer program or instructions may be stored in or transmitted over a computer-readable storage medium. A computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server that integrates one or more of the available media. Useful media may be magnetic media such as floppy disks, hard disks, magnetic tapes; optical media such as DVDs; and semiconductor media such as solid state disks (SSDs).
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In the various embodiments of the present application, if there is no special description or logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。In this application, "at least one" means one or more, and "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that, the various numbers and numbers involved in the embodiments of the present application are only for the convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the sequence numbers of the above processes does not imply the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic.

Claims (17)

  1. 一种重路由方法,其特征在于,包括:A rerouting method, comprising:
    第一节点获取故障消息,所述故障消息用于指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数;The first node acquires a fault message, where the fault message is used to indicate that the first link carrying M services is faulty, where M is an integer greater than or equal to 1;
    所述第一节点根据所述故障消息确定M条恢复路径,其中,所述M个业务与所述M条恢复路径一一对应,所述M条恢复路径经过N个第二节点,N为大于1的整数;The first node determines M recovery paths according to the fault message, wherein the M services are in one-to-one correspondence with the M recovery paths, and the M recovery paths pass through N second nodes, where N is greater than an integer of 1;
    所述第一节点分别向所述N个第二节点中的每个第二节点发送重路由消息,所述重路由消息用于指示所述每个第二节点进行重路由。The first node sends a rerouting message to each of the N second nodes respectively, where the rerouting message is used to instruct each of the second nodes to perform rerouting.
  2. 根据权利要求1所述的方法,其特征在于,所述故障消息包括连接所述第一链路的两个故障节点,所述第一节点根据所述故障消息确定M条恢复路径,包括:The method according to claim 1, wherein the fault message includes two faulty nodes connected to the first link, and the first node determines M recovery paths according to the fault message, comprising:
    所述第一节点根据所述两个故障节点以及第一路径列表,确定所述M条恢复路径,所述第一路径列表包括故障节点与恢复路径之间的对应关系,所述第一路径列表是预先配置到所述第一节点中的。The first node determines the M recovery paths according to the two faulty nodes and a first path list, where the first path list includes the correspondence between the faulty nodes and the recovery paths, and the first path list is pre-configured into the first node.
  3. 根据权利要求1所述的方法,其特征在于,所述故障消息包括连接所述第一链路的两个故障节点,所述第一节点根据所述故障消息确定M条恢复路径,包括:The method according to claim 1, wherein the fault message includes two faulty nodes connected to the first link, and the first node determines M recovery paths according to the fault message, comprising:
    所述第一节点根据所述两个故障节点,确定经过所述两个故障节点的M个业务;The first node determines, according to the two faulty nodes, M services passing through the two faulty nodes;
    所述第一节点根据所述M个业务和第二路径列表,确定所述M条恢复路径,所述第二路径列表包括业务与恢复路径之间的对应关系,所述第二路径列表是预先配置到所述第一节点中的。The first node determines the M restoration paths according to the M services and the second path list, the second path list includes the correspondence between the service and the restoration path, and the second path list is a preset list. configured into the first node.
  4. 根据权利要求3所述的方法,其特征在于,所述第一节点根据所述M个业务和第二路径列表,确定所述M条恢复路径,包括:The method according to claim 3, wherein the first node determines the M restoration paths according to the M services and the second path list, comprising:
    所述第一节点根据所述M个业务和所述第二路径列表,确定所述M个业务中的每个业务对应的至少一条恢复路径;The first node determines, according to the M services and the second path list, at least one recovery path corresponding to each of the M services;
    所述第一节点根据第一预设规则,从所述每个业务对应的至少一条恢复路径确定出所述每个业务对应的一条恢复路径,得到所述M条恢复路径。The first node determines one restoration path corresponding to each service from at least one restoration path corresponding to each service according to a first preset rule, and obtains the M restoration paths.
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述第一节点分别向所述N个第二节点中的每个第二节点发送所述故障消息之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein before the first node sends the fault message to each of the N second nodes respectively, the method further comprises: :
    所述第一节点对所述M条恢复路径上的所有节点进行去重,得到所述N个第二节点。The first node deduplicates all nodes on the M restoration paths to obtain the N second nodes.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,The method according to any one of claims 1-5, wherein,
    所述第一节点为所述两个故障节点中的任意一个故障节点;the first node is any one of the two faulty nodes;
    或者,所述第一节点为所述两个故障节点中满足第二预设规则的故障节点;Alternatively, the first node is a faulty node that satisfies the second preset rule among the two faulty nodes;
    或者,所述第一节点为集中控制单元。Alternatively, the first node is a centralized control unit.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,The method according to any one of claims 1-6, wherein,
    所述重路由消息包括所述两个故障节点,所述重路由消息用于指示所述每个第二节点根据所述两个故障节点,确定所述M条恢复路径,并建立所述M条恢复路径上经过所述每个第二节点的恢复路径。The rerouting message includes the two faulty nodes, and the rerouting message is used to instruct each second node to determine the M recovery paths according to the two faulty nodes, and establish the M recovery paths A recovery path passing through each of the second nodes on the recovery path.
  8. 根据权利要求1-6中任一项所述的方法,其特征在于,The method according to any one of claims 1-6, wherein,
    所述重路由消息包括所述M条恢复路径,所述重路由消息用于指示所述每个第二节点建立所述M条恢复路径上经过所述每个第二节点的恢复路径。The rerouting message includes the M restoration paths, and the rerouting message is used to instruct each second node to establish a restoration path passing through each second node on the M restoration paths.
  9. 一种重路由方法,其特征在于,包括:A rerouting method, comprising:
    第二节点从第一节点接收重路由消息,所述第二节点为N个第二节点中的任意一个第二节点,所述N个第二节点为M个业务对应的M条恢复路径经过的节点,所述M个业务与所述M条恢复路径一一对应,所述M条恢复路径是所述第一业务节点根据获取到的故障消息确定的,且所述故障消息指示承载M个业务的第一链路出现故障,M为大于或者等于1的整数,N为大于1的整数;The second node receives the rerouting message from the first node, the second node is any one of the N second nodes, and the N second nodes are the M recovery paths corresponding to the M services. node, the M services are in one-to-one correspondence with the M recovery paths, and the M recovery paths are determined by the first service node according to the acquired fault message, and the fault message indicates that the M services are carried The first link is faulty, M is an integer greater than or equal to 1, and N is an integer greater than 1;
    所述第二节点根据所述重路由消息进行重路由。The second node performs rerouting according to the rerouting message.
  10. 根据权利要求9所述的方法,其特征在于,所述重路由消息包括连接所述第一链路的两个故障节点,所述第二节点根据所述重路由消息进行重路由,包括:The method according to claim 9, wherein the rerouting message comprises two faulty nodes connected to the first link, and the second node performs rerouting according to the rerouting message, comprising:
    所述第二节点根据所述两个故障节点,确定所述M条恢复路径;The second node determines the M recovery paths according to the two faulty nodes;
    所述第二节点建立所述M条恢复路径中经过所述第二节点的恢复路径。The second node establishes a restoration path passing through the second node among the M restoration paths.
  11. 根据权利要求10所述的方法,其特征在于,所述第二节点根据所述两个故障节点,确定所述M条恢复路径,包括:The method according to claim 10, wherein the second node determines the M recovery paths according to the two faulty nodes, comprising:
    所述第二节点根据所述两个故障节点以及第一路径列表,确定所述M条恢复路径,其中,所述第一路径列表包括故障节点与恢复路径之间的对应的关系,所述第一路径列表是预先配置到所述第二节点中的。The second node determines the M recovery paths according to the two faulty nodes and a first path list, wherein the first path list includes the corresponding relationship between the faulty node and the recovery path, and the first path list includes the corresponding relationship between the faulty node and the recovery path. A list of paths is preconfigured into the second node.
  12. 根据权利要求10所述的方法,其特征在于,所述第二节点根据所述两个故障节点,确定所述M条恢复路径,包括:The method according to claim 10, wherein the second node determines the M recovery paths according to the two faulty nodes, comprising:
    所述第二节点根据所述两个故障节点,确定经过所述两个故障节点的M个业务;The second node determines, according to the two faulty nodes, M services passing through the two faulty nodes;
    所述第二节点根据所述M个业务和第二路径列表,确定所述M条恢复路径,所述第二路径列表包括业务与恢复路径之间的对应关系,所述第二预设列表是预先配置到所述第二节点中的。The second node determines the M restoration paths according to the M services and a second path list, the second path list includes the correspondence between services and restoration paths, and the second preset list is: pre-configured into the second node.
  13. 根据权利要求12所述的方法,其特征在于,所述第二节点根据所述M个业务和第二路径列表,确定所述M条恢复路径,包括:The method according to claim 12, wherein the second node determines the M restoration paths according to the M services and the second path list, comprising:
    所述第二节点根据所述M个业务和所述第二路径列表,确定所述M个业务中的每个业务对应的至少一条恢复路径;The second node determines, according to the M services and the second path list, at least one recovery path corresponding to each of the M services;
    所述第二节点根据第一预设规则,从所述每个业务对应的至少一条恢复路径确定出所述每个业务对应的第一业务路径,得到所述M条恢复路径。The second node determines a first service path corresponding to each service from at least one restoration path corresponding to each service according to a first preset rule, and obtains the M restoration paths.
  14. 根据权利要求9所述的方法,其特征在于,所述重路由消息包括连接所述M条恢复路径,所述第二节点根据所述重路由消息进行重路由,包括:The method according to claim 9, wherein the rerouting message comprises connecting the M restoration paths, and the second node performs rerouting according to the rerouting message, comprising:
    所述第二节点建立所述M条恢复路径中经过所述第二节点的恢复路径。The second node establishes a restoration path passing through the second node among the M restoration paths.
  15. 一种通信装置,其特征在于,包括用于执行如权利要求1-8或权利要求9-14中任一项所述方法的模块。A communication device, characterized by comprising a module for performing the method according to any one of claims 1-8 or claims 9-14.
  16. 一种通信装置,其特征在于,包括处理器和通信接口,所述通信接口用于接收来自所述通信装置之外的其它通信装置的信号并传输至所述处理器或将来自所述处理器的信号发送给所述通信装置之外的其它通信装置,所述处理器通过逻辑电路或执行代码指令用于实现如权利要求1-8或权利要求9-14中任一项所述的方法。A communication device, characterized by comprising a processor and a communication interface, wherein the communication interface is used to receive signals from other communication devices other than the communication device and transmit to the processor or transfer signals from the processor The signal is sent to other communication devices other than the communication device, and the processor is used to implement the method according to any one of claims 1-8 or claims 9-14 through logic circuits or executing code instructions.
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被运行时,实现如权利要求1-8或权利要求9-14中任一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed, any one of claims 1-8 or claims 9-14 is implemented the method described.
PCT/CN2021/112831 2020-11-23 2021-08-16 Rerouting method, communication apparatus and storage medium WO2022105325A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011326715.8 2020-11-23
CN202011326715.8A CN114615190B (en) 2020-11-23 2020-11-23 Rerouting method, communication device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022105325A1 true WO2022105325A1 (en) 2022-05-27

Family

ID=81707926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112831 WO2022105325A1 (en) 2020-11-23 2021-08-16 Rerouting method, communication apparatus and storage medium

Country Status (2)

Country Link
CN (1) CN114615190B (en)
WO (1) WO2022105325A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277547A (en) * 2022-07-29 2022-11-01 济南浪潮数据技术有限公司 Path adjusting method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140269250A1 (en) * 2013-03-12 2014-09-18 Dell Products L.P. Systems and methods for tunnel-free fast rerouting in internet protocol networks
WO2017143958A1 (en) * 2016-02-27 2017-08-31 Huawei Technologies Co., Ltd. System, method and apparatus for implementing fast reroute (frr)
WO2017156966A1 (en) * 2016-03-18 2017-09-21 中兴通讯股份有限公司 Fast reroute processing method, device and system
CN109391543A (en) * 2017-08-02 2019-02-26 中国电信股份有限公司 Method and system, business recovery auxiliary system for multi-service fault recovery
CN110048944A (en) * 2018-01-17 2019-07-23 中兴通讯股份有限公司 The method and device of end-to-end heavy-route

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286892B (en) * 2007-04-12 2012-09-05 华为技术有限公司 Device and method for service recovery
CN101651625B (en) * 2009-09-03 2011-09-21 中兴通讯股份有限公司 Route selecting device and route selecting method of multi-service restoration
CN102136865B (en) * 2010-08-09 2014-04-16 华为技术有限公司 Service recovering method, system and node device
WO2015042840A1 (en) * 2013-09-26 2015-04-02 华为技术有限公司 Fault recovery method, node and path computation unit
CN106464524B (en) * 2015-03-23 2020-02-14 华为技术有限公司 Route calculation method and device of ASON

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140269250A1 (en) * 2013-03-12 2014-09-18 Dell Products L.P. Systems and methods for tunnel-free fast rerouting in internet protocol networks
WO2017143958A1 (en) * 2016-02-27 2017-08-31 Huawei Technologies Co., Ltd. System, method and apparatus for implementing fast reroute (frr)
WO2017156966A1 (en) * 2016-03-18 2017-09-21 中兴通讯股份有限公司 Fast reroute processing method, device and system
CN109391543A (en) * 2017-08-02 2019-02-26 中国电信股份有限公司 Method and system, business recovery auxiliary system for multi-service fault recovery
CN110048944A (en) * 2018-01-17 2019-07-23 中兴通讯股份有限公司 The method and device of end-to-end heavy-route

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277547A (en) * 2022-07-29 2022-11-01 济南浪潮数据技术有限公司 Path adjusting method, device, equipment and medium

Also Published As

Publication number Publication date
CN114615190A (en) 2022-06-10
CN114615190B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US20230017665A1 (en) Interior Gateway Protocol Flood Minimization
US10164782B2 (en) Method and system for constructing a loop free multicast tree in a data-center fabric
US11411853B2 (en) Link-state advertisement LSA sending method, apparatus, and system
CN114257540A (en) Deadlock free rerouting using detour paths to resolve local link failures
CN113872868B (en) Notification message transmission method, device and system and storage medium
WO2022105325A1 (en) Rerouting method, communication apparatus and storage medium
CN112787939B (en) Method and device for updating path forwarding table
KR101297498B1 (en) Method and apparatus for fault-resilient multicast and unicast in transport networks
CN112803995B (en) Resource sharing method, network node and related equipment
JP2019205153A (en) Multi-node apparatus and spare communication method thereof
US11552882B2 (en) Efficient propagation of fault routing notifications
CN114465942A (en) Forwarding method and system for simultaneously supporting two-layer multicast traffic and three-layer multicast traffic
JP2018502518A (en) Point-to-multipoint service transmission method and apparatus
CN113691446B (en) Method and device for sending message
CN111901181A (en) Processing method for error rate detection and related equipment
CN114430387B (en) Node configuration method, controller and node
WO2021259097A1 (en) Communication method, communication device, and storage medium
US11490178B2 (en) Method for establishing service path, network device, and system
CN113595939B (en) Method and system for discovering unidirectional link of software defined network
CN111917637B (en) Data message sending method and device
Morimoto et al. Design and implementation of SDN-enhanced MPI broadcast targeting a fat-tree interconnect
CN115701031A (en) Service processing method and related device
CN117768382A (en) Backup link switching method, device, medium and equipment for realizing redundant DRP (data packet processing) ring
CN112468391A (en) Network fault delivery method and related product
CN110719186A (en) Data transmission with high availability

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893477

Country of ref document: EP

Kind code of ref document: A1