WO2023050936A1 - Communication method, apparatus and system - Google Patents

Communication method, apparatus and system Download PDF

Info

Publication number
WO2023050936A1
WO2023050936A1 PCT/CN2022/101866 CN2022101866W WO2023050936A1 WO 2023050936 A1 WO2023050936 A1 WO 2023050936A1 CN 2022101866 W CN2022101866 W CN 2022101866W WO 2023050936 A1 WO2023050936 A1 WO 2023050936A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing
information
calculators
otn
calculator
Prior art date
Application number
PCT/CN2022/101866
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 WO2023050936A1 publication Critical patent/WO2023050936A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • 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
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the embodiments of the present application relate to the field of optical communication technologies, and in particular, to a communication method, device, and system.
  • Optical transport network refers to a transport network that realizes the transmission, multiplexing, routing selection, and monitoring of service signals in the optical domain, and ensures its performance indicators and survivability.
  • the OTN pipeline includes at least a head node and a tail node, and is an optical fiber wavelength path from the head node to the tail node.
  • services are transmitted through OTN pipes.
  • the OTN pipeline will be interrupted, so that services cannot be normally transmitted through the OTN pipeline. Therefore, in the case of a fault in the OTN pipeline, how to quickly restore the OTN pipeline to enable normal service transmission is very important.
  • the embodiment of the present application discloses a communication method, device and system, which are used to improve the recovery efficiency of an OTN pipeline.
  • the first aspect discloses a communication method, which can be applied to a centralized controller, and can also be applied to modules (eg, chips) in the centralized controller.
  • the following uses the centralized controller as an example to describe.
  • This method of communication may include:
  • One fault instance includes the calculation tasks of restoring paths of N OTN pipelines, and the calculation tasks belonging to the same fault instance are assigned to the same routing calculator , N OTN pipes are all OTN pipes passing through the same faulty link, N is an integer greater than or equal to 1;
  • Corresponding fault instances are sent to multiple route calculators.
  • the centralized controller after the centralized controller receives the computing capability information from the managed routing calculator, it can assign a fault instance to the routing calculator according to the computing capability information of the routing calculator, so that the routing calculator can provide the assigned fault instance
  • the corresponding OTN pipeline calculates the recovery path, so that after a fault occurs, the routing executor can quickly restore the OTN pipeline according to the pre-calculated recovery path, and does not need to be calculated immediately after the fault occurs, thereby improving the recovery efficiency of the OTN pipeline.
  • the routing executor since the fault instances of different routing calculators are allocated according to their own computing capability information, the computing speed of different routing calculators can be guaranteed.
  • the fault instance is assigned to multiple routing calculators for calculation instead of the centralized controller, the calculation amount of the centralized controller and the power consumption of the centralized controller can be reduced. Further, since the recovery path of the OTN pipeline corresponding to the fault instance is calculated by multiple routing calculators, the calculation amount of each routing calculator can be reduced, thereby improving the calculation efficiency of the recovery path.
  • the computing capability information may include one or more of memory information, central processing unit (central processing unit, CPU) information, main frequency, number of CPU cores, and load.
  • the centralized controller assigning fault instances to the multiple routing calculators according to the computing capability information of the multiple routing calculators may include:
  • M is an integer greater than or equal to 1;
  • the memory information CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
  • the centralized controller sends corresponding fault instances to multiple route calculators including:
  • the routing calculators that satisfy the conditions can be selected from the managed routing calculators according to the computing capability information of the routing calculators, and then the fault instance can be assigned to the routing calculators that meet the conditions, which can avoid the problem of computing power
  • the low route calculator allocates failure instances, which can increase the calculation rate of recovery paths.
  • the fault instance carries topology resource information
  • the topology resource information may include information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
  • the centralized controller can allocate topology resource information to the fault instance, so that the route calculator can calculate the recovery path within the topology range corresponding to the topology resource information, which can reduce the calculation range of the route calculator, thereby improving the routing calculation.
  • the calculation rate of the device can allocate topology resource information to the fault instance, so that the route calculator can calculate the recovery path within the topology range corresponding to the topology resource information, which can reduce the calculation range of the route calculator, thereby improving the routing calculation.
  • the calculation rate of the device can allocate topology resource information to the fault instance, so that the route calculator can calculate the recovery path within the topology range corresponding to the topology resource information, which can reduce the calculation range of the route calculator, thereby improving the routing calculation.
  • the communication method may also include:
  • the centralized controller when the centralized controller needs the computing capability information of the routing calculator, it can request the computing capability information from the routing calculator, so that the routing calculator can report the computing capability information according to the request of the centralized controller, which can avoid In the case that the computing capability information used by the centralized controller is not the current computing capability information of the routing calculator, the validity of the computing capability information can be guaranteed.
  • the communication method may also include:
  • the centralized controller can store the recovery path returned by the routing calculator, and can back up the recovery path.
  • the stored data calculated by the routing calculator can be transferred to other routing calculators, and data loss can be avoided.
  • the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
  • the communication method may also include:
  • the first indication information is used to indicate that the first restoration path is established successfully, and the first restoration path is a restoration path in the K restoration paths;
  • the resource information corresponding to the first restoration path is sent to the routing calculators in the plurality of routing calculators except the first routing calculator, where the resource information may include information occupied by the first restoration path.
  • the centralized controller after the centralized controller receives the information that the restoration path is successfully established from the routing calculator, it can send information such as nodes, wavelengths, and ports occupied by the restoration path to other routing calculators, so that the routing calculator In the case of calculating the recovery path next time, the occupied information may not be used, and the problem that the calculated recovery path is invalid due to resource conflict can be avoided.
  • the communication method may also include:
  • the first recovery path is sent to the second route executor.
  • the unfailed node (i.e., the routing executor) in the OTN pipe corresponding to the fault can obtain the restoration path corresponding to the OTN pipe from the centralized controller without pre-storing the restoration path
  • the storage resources of the routing executor can be saved.
  • the communication method may also include:
  • the information of the second route calculator is sent to the second route executor.
  • the unfailed node (i.e., the route executor) in the OTN pipe corresponding to the fault can obtain the route calculator corresponding to the recovery path corresponding to the OTN pipe from the centralized controller, so as to obtain The route calculator obtains the recovery path without storing the recovery path in the routing executor in advance, which can save the storage resources of the routing executor.
  • the second aspect discloses a communication method, which can be applied to a routing calculator, and can also be applied to a module (for example, a chip) in the routing calculator.
  • a communication method which can be applied to a routing calculator, and can also be applied to a module (for example, a chip) in the routing calculator.
  • the following uses the route calculator as an example to describe.
  • This method of communication may include:
  • a fault instance includes the calculation task of restoring paths of N OTN pipes, N OTN pipes are all OTN pipes passing through the same faulty link, and N is an integer greater than or equal to 1;
  • the route calculator after the route calculator receives the fault instance from the centralized controller, it can calculate the recovery path for the OTN pipeline corresponding to the fault instance, so that the routing executor can quickly recover according to the pre-calculated recovery path after the fault occurs.
  • the OTN pipeline does not need to be calculated immediately after the fault occurs, which can improve the recovery efficiency of the OTN pipeline.
  • the centralized controller distributes fault instances to multiple route calculators for calculation instead of being calculated by the centralized controller, the calculation amount of the centralized controller and the power consumption of the centralized controller can be reduced.
  • the communication method may also include:
  • the routing calculator after the routing calculator calculates the recovery path for the OTN pipeline corresponding to the fault instance, it can send the calculated recovery path to the routing executor corresponding to the OTN pipeline, so that the routing executor can follow the prior
  • the delivered restoration path quickly restores the OTN pipe, and does not need to be calculated immediately after a fault occurs, thereby improving the recovery efficiency of the OTN pipe.
  • the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
  • the fault instance carries topology resource information
  • the topology resource information includes information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
  • the communication method may also include:
  • the routing calculator calculates the recovery path for the OTN pipeline corresponding to the fault instance, and the obtained K recovery paths can include:
  • the recovery paths are calculated for the OTN pipelines corresponding to the faulty instance, and K recovery paths are obtained.
  • the centralized controller can allocate topology resource information for the fault instance, and the routing calculator can calculate the recovery path within the topology range corresponding to the topology resource information, which can narrow the calculation range of the routing calculator, thereby improving the routing calculator. calculation rate.
  • the communication method may also include:
  • the computing capability information is sent to the centralized controller, where the computing capability information may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  • the routing calculator can report computing capability information to the centralized controller, so that the centralized controller can assign fault instances to the routing calculator according to the computing capability information of the routing calculator, and the computing rate of the routing calculator can be guaranteed.
  • the communication method may also include:
  • a first request is received from the centralized controller, where the first request is used to request the computing capability information.
  • the routing calculator can report computing capability information according to the request of the centralized controller, which can avoid the situation that the computing capability information used by the centralized controller is not the current computing capability information of the routing calculator, and can ensure the validity of the computing capability information .
  • the communication method may also include:
  • the routing calculator after the routing calculator calculates the recovery path, it can return the calculated recovery path to the centralized controller, so that the centralized controller can back up the recovery path. In the case of a routing calculator failure, it can Transferring the stored data calculated by the routing calculator to other routing calculators can avoid data loss.
  • the communication method may also include:
  • the second indication information is used to indicate that the first restoration path is established successfully, the first restoration path is one restoration path among the K restoration paths, and the second routing executor is the first Restoring a node in the OTN pipeline corresponding to the path;
  • the routing calculator after the routing calculator receives the information that the restoration path is successfully established from the routing executor, it can report the information that the restoration path is successfully established to the centralized controller, so that the centralized controller can use the wavelength occupied by the restoration path Send it to other routing calculators, and the routing calculator may not use the occupied wavelength when calculating the recovery path next time, which can avoid the problem that the calculated recovery path is invalid due to resource conflicts.
  • a node in the OTN pipeline corresponding to the first recovery path may be understood as a node in the OTN pipeline corresponding to the first recovery path that has not failed.
  • the communication method may also include:
  • the first recovery path is sent to the second route executor.
  • the unfailed node (i.e., the routing executor) in the OTN pipeline corresponding to the fault can obtain the recovery path corresponding to the OTN pipeline from the routing calculator, without pre-storing the recovery path
  • the storage resources of the routing executor can be saved.
  • the third aspect discloses a communication device.
  • the communication device may be a centralized controller or a module (for example, a chip) in the centralized controller.
  • the communication device may include:
  • a receiving unit configured to receive computing capability information from multiple routing calculators, where the multiple routing calculators are routing calculators managed by a centralized controller;
  • the allocation unit is used to allocate fault instances for multiple routing calculators according to the computing capability information of multiple routing calculators.
  • One fault instance includes calculation tasks for restoring paths of N OTN pipelines, and the calculation tasks belonging to the same fault instance are allocated to
  • N OTN pipes are all OTN pipes passing through the same faulty link, and N is an integer greater than or equal to 1;
  • a sending unit configured to send corresponding fault instances to multiple routing calculators.
  • the computing capability information may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  • the allocation unit is specifically used for:
  • M is an integer greater than or equal to 1;
  • the memory information CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
  • the sending unit is specifically configured to send corresponding fault instances to the M routing calculators.
  • the fault instance carries topology resource information
  • the topology resource information may include information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
  • the sending unit is further configured to send a first request to the first route calculator, the first request is used to request the computing capability information of the first route calculator, and the first route calculator is a plurality of route calculators Any routing calculator in Calculator.
  • the receiving unit is further configured to receive K recovery paths from the second route calculator, the second route calculator is any route calculator in the M route calculators, and the K recovery paths Be the recovery path of the K OTN pipes corresponding to the fault instance sent to the second routing calculator;
  • the communication device may also include:
  • the storage unit is used to store K restoration paths.
  • the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
  • the receiving unit is further configured to receive first indication information from the second routing calculator, the first indication information is used to indicate that the first restoration path is established successfully, and the first restoration paths are K restoration paths A recovery path in ;
  • the sending unit is further configured to send resource information corresponding to the first restoration path to the routing calculators in the plurality of routing calculators except the second routing calculator, where the resource information may include information occupied by the first restoration path.
  • the receiving unit is further configured to receive a second request from the second route executor, the second request is used to request the recovery path of the first OTN pipeline, and the first OTN pipeline corresponds to the first recovery path OTN pipeline;
  • the sending unit is further configured to send the first restoration path to the second route executor.
  • the receiving unit is further configured to receive a third request from the second routing executor, and the third request is used to request the routing calculator corresponding to the recovery path of the first OTN pipeline, where the first OTN pipeline is The OTN pipeline corresponding to the first recovery path;
  • the sending unit is further configured to send the information of the second routing calculator to the second routing executor.
  • the fourth aspect discloses a communication device, which may be a routing calculator, or a module (for example, a chip) in the routing calculator.
  • the communication device may include:
  • the receiving unit is used to receive the fault instance from the centralized controller.
  • a fault instance includes the calculation task of restoring paths of N OTN pipes, where N OTN pipes are all OTN pipes passing through the same faulty link, and N is greater than or equal to 1 an integer of
  • the calculation unit is used to calculate recovery paths for the OTN pipes corresponding to the fault instance to obtain K recovery paths, the wavelengths in the K recovery paths are all different, and K is an integer greater than or equal to 1.
  • the communication device may also include:
  • the first sending unit is configured to send the second recovery path to the first route executor, the second recovery path is any one of the K recovery paths, and the first route executor is in the OTN pipeline corresponding to the second recovery path of one or more nodes.
  • the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
  • the fault instance carries topology resource information
  • the topology resource information may include information on nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance
  • the communication device may also include:
  • a determining unit configured to determine the topology range according to the topology resource information
  • the calculation unit is specifically used to calculate recovery paths for the OTN pipelines corresponding to the fault instance according to the topology range, and obtain K recovery paths.
  • the communication device may also include:
  • the second sending unit is configured to send computing capability information to the centralized controller, where the computing capability information includes one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  • the receiving unit is further configured to receive a first request from the centralized controller, where the first request is used to request the computing capability information.
  • the communication device may also include:
  • the third sending unit is configured to send the K recovery paths to the centralized controller.
  • the receiving unit is further configured to receive second indication information from the second routing executor, the second indication information is used to indicate that the first restoration path is established successfully, and the first restoration paths are K restoration paths A recovery path in , the second route executor is a node node in the OTN pipeline corresponding to the first recovery path;
  • the communication device may also include:
  • the fourth sending unit is configured to send first indication information to the centralized controller, where the first indication information is used to indicate that the first restoration path is established successfully.
  • the receiving unit is further configured to receive a fourth request from the second routing executor, where the fourth request is used to request the recovery path of the first OTN pipeline, and the first OTN pipeline corresponds to the first recovery path OTN pipeline;
  • the communication device may also include:
  • the fifth sending unit is configured to send the first recovery path to the second route executor.
  • the fifth aspect discloses a communication device.
  • the communication device may include a processor, configured to enable the communication device to implement the first aspect or the communication method disclosed in any implementation manner of the first aspect.
  • the communication device may further include a memory, and/or a transceiver, and the transceiver is used to receive information from other communication devices other than the communication device, and to output information to other communication devices other than the communication device.
  • the processor executes the computer program stored in the memory, the processor is made to execute the communication method disclosed in the first aspect or any implementation manner of the first aspect.
  • the sixth aspect discloses a communication device.
  • the communication device may include a processor, configured to enable the communication device to implement the second aspect or the communication method disclosed in any implementation manner of the second aspect.
  • the communication device may further include a memory, and/or a transceiver, and the transceiver is used to receive information from other communication devices other than the communication device, and to output information to other communication devices other than the communication device.
  • the processor executes the computer program stored in the memory, the processor is made to execute the second aspect or the communication method disclosed in any implementation manner of the second aspect.
  • a seventh aspect discloses a communication system, which includes the communication device of the fifth aspect and the communication device of the sixth aspect.
  • the eighth aspect discloses a computer-readable storage medium, on which a computer program or computer instruction is stored, and when the computer program or computer instruction is run, the communication method as disclosed in the above aspects is implemented.
  • a ninth aspect discloses a chip, including a processor, configured to execute a program stored in a memory, and when the program is executed, the chip executes the above method.
  • the memory is located outside the chip.
  • the tenth aspect discloses a computer program product, the computer program product includes computer program code, and when the computer program code is executed, the above communication method is executed.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a communication method disclosed in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an OTN network disclosed in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another OTN network disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another communication device disclosed in the embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of another communication device disclosed in the embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • the embodiment of the present application discloses a communication method, device and system, which are used to improve the recovery efficiency of an OTN pipeline. Each will be described in detail below.
  • a network element is a network unit, including hardware devices and software running on them.
  • a network unit has at least one main control board, which is responsible for the management and monitoring of the entire network unit.
  • the software runs on the main control board.
  • An OTN pipeline which may be referred to as a pipeline, is an optical fiber wavelength path including at least a head node and a tail node, and the fiber wavelength path is from the head node to the tail node.
  • the fiber optic wavelength path may also include intermediate nodes.
  • Signal traffic such as Ethernet and video can be converted into optical signals through standard protocols, and then the optical signals are carried in the OTN pipeline for transmission.
  • the first node is the starting node of the OTN pipeline.
  • the first node of the OTN pipe from A to C is A.
  • the tail node is the termination node of the OTN pipeline.
  • the end node of the OTN pipeline from A to C is C.
  • Network failure refers to the interruption of the optical signal connection carried by the optical fiber due to the interruption of the optical fiber or the failure of the node (that is, the network element).
  • control plane can also be called the control system, which is a part of OTN and consists of a group of communication entities, responsible for completing call control and connection control functions, and restoring the connection when a network failure occurs.
  • Dynamic rerouting is a service recovery method.
  • the head node calculates an optimal path for pipeline recovery, and then establishes a new path pipeline through signaling.
  • the new path Pipes to carry business traffic.
  • OTN software (software) is a software code used to implement various functions of the OTN, and is deployed on a device so that the device has an OTN capability.
  • Fiber failure is the interruption of the fiber.
  • the interruption of the optical fiber will cause the failure of the pipeline passing through the optical fiber, resulting in the interruption of the service signal carried on it.
  • Each optical fiber has N wavelengths (wavelength), commonly 80 waves, 96 waves, and 120 waves. Each wavelength can only be used by one pipe path at a time.
  • a path includes a plurality of optical fibers that are pigtailed together.
  • the centralized controller has complete control plane capabilities.
  • the routing calculator (routing calculator) has routing calculation capabilities.
  • the routing executor is also called the control system execution module, which is used for pre-stored paths and has no path calculation capability. It is generally located at the first node of the OTN pipeline.
  • the sending end in the OTN network can first convert various service traffic received (such as video service and Ethernet service) into optical channel data unit (ODUK) signals, and then convert the ODUK signals into optical channel data unit (ODUK) signals through standard protocols
  • One or more optical signals can then be combined by a multiplexer (multiplexer), and coupled into the same optical fiber for transmission.
  • the optical signals of various wavelengths can be separated by a demultiplexer, and then the optical receiver can convert the optical signals into ODUK signals, and then pass The ODUK signal is restored to the original signal.
  • An OTN network may include multiple network elements and multiple optical fibers.
  • Each network element may include multiple ingress ports and egress ports, each optical fiber may include multiple wavelengths, and the like.
  • the method of multiplexing optical signals of different wavelengths into one optical fiber for transmission can be called wavelength division multiplexing. Therefore, each optical fiber in a wavelength division optical network has multiple wavelengths, such as: 80 waves, 96 waves, 120 waves, etc. . Each wavelength on each fiber can only be occupied by one path at a time.
  • the first connected path formed by the optical fiber links carrying the optical signal path of the same service is the path of an OTN pipe, and the pipe formed by the paths is called an OTN pipe.
  • WDM OTN has the ability to automatically discover topology and automatically calculate routes, and has strong resilience against network failures.
  • users deploy OTN they usually use dynamic rerouting to flexibly resist network failures.
  • dynamic rerouting can be used to restore the route of the interrupted OTN pipeline in a short time.
  • the subject of implementing dynamic rerouting is the OTN control plane (also referred to as a control system).
  • Dynamic rerouting is one of the core features of OTN. It is a protection method that takes into account protection capabilities and resource utilization. With it, it is possible to restore paths that have suffered multiple fiber cuts. Therefore, in the case of faults such as optical fibers and network elements (that is, nodes) in the OTN pipeline, how to quickly restore the OTN pipeline through dynamic rerouting to enable normal service transmission is very important.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application.
  • the network architecture may include a centralized controller, multiple routing calculators (one is shown in the figure) and multiple routing executors (one is shown in the figure).
  • the centralized controller is configured to assign fault instances to the routing calculator according to the computing capability information of the routing calculator.
  • the route calculator is used to calculate the restoration path for the OTN pipeline corresponding to the faulty instance.
  • the route executor is used to recover the OTN pipeline according to the recovery path calculated by the route calculator when a fault occurs.
  • the centralized controller has higher computing power and storage capacity than the routing calculator and the routing executor, and the routing calculator has higher computing power and storage capacity than the routing executor.
  • the centralized controller, routing calculator, and routing executor can be a main control board, a server, a personal computer (personal computer, PC) and the like.
  • the centralized controller, route calculator and route executor can be the same, but their computing power and storage capacity are different. Centralized controllers, route calculators and route executors can also be different.
  • network architecture shown in Figure 1 is not limited to include only the routing calculator and routing executor shown in the figure, and may also include other routing calculators and routing executors not shown in the figure. Applications are not listed here.
  • FIG. 2 is a schematic flowchart of a communication method disclosed in an embodiment of the present application. As shown in Fig. 2, the communication method may include the following steps.
  • Multiple routing calculators send computing capability information to the centralized controller.
  • the route calculator receives computing capability information from a plurality of route calculators.
  • the multiple route calculators are route calculators managed by the centralized controller.
  • Multiple routing calculators managed by the centralized controller may send respective computing capability information to the centralized controller, that is, each of the multiple routing calculators may report respective computing capability information to the centralized controller.
  • the routing calculator can actively report its own computing capability information to the centralized controller.
  • the routing calculator can actively report its computing capability information to the centralized controller when it is connected to the centralized controller for the first time.
  • the routing calculator may periodically report its own computing capability information to the centralized controller.
  • the routing calculator can also passively report its own computing capability information to the centralized controller.
  • the centralized controller can send a request for computing capability information to the routing calculator when it is just started or when no fault occurs. After the routing calculator receives the request from the centralized controller, it can send its own computing capability information to the centralized controller according to the request.
  • the centralized controller may send requests to multiple routing calculators in a broadcast or multicast manner. At this point, the centralized controller only needs to send a request. Multiple routing calculators can receive the request sent by the centralized controller, and can report computing capability information to the centralized controller according to the request. In another case, the centralized controller may separately send a request to each of the multiple route calculators.
  • the centralized controller may send a first request to the first routing calculator, where the first request is used to request computing capability information of the first routing calculator.
  • the first routing calculator may send computing capability information of the first routing calculator to the centralized controller according to the first request.
  • the first route calculator is any one of the above-mentioned multiple route calculators.
  • the computing capability information of the routing calculator may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load of the routing calculator. Under the condition that the routing calculator is determined, the main frequency and the number of CPU cores of the routing calculator are fixed, while the memory information, CPU information and load of the routing calculator will change with the usage of the routing calculator.
  • Memory information can be free memory, that is, the size of remaining memory, that is, the size of currently available memory; it can also be total memory, that is, the size of all memory; it can also be free memory and total memory, or it can be the ratio of free memory and total memory ratio.
  • the CPU information can be idle CPU, that is, the remaining CPU size, that is, the currently usable CPU size; it can also be the total CPU, that is, the size of all CPUs; it can also be the idle CPU and the total CPU; it can also be the CPU usage.
  • the CPU usage is the ratio of the used CPU to the total CPU.
  • the CPU usage rate may be a current CPU usage rate, an average CPU usage rate within a period of time, or a maximum CPU usage rate or a minimum CPU usage rate within a period of time.
  • the main frequency is the clock frequency of the CPU of the routing calculator, and the higher the main frequency, the stronger the processing capability of the routing calculator.
  • the centralized controller allocates fault instances to multiple routing calculators according to the computing capability information of the multiple routing calculators.
  • a centralized controller can first identify all fault instances that need to be handled.
  • a fault instance may include a calculation task of recovering paths of N OTN pipes, where N OTN pipes are all OTN pipes passing through the same faulty link, and N is an integer greater than or equal to 1. That is, a fault instance includes calculation tasks of restoration paths of all OTN pipes passing through the same faulty link. Therefore, the centralized controller can first determine all OTN pipes in the current network, and then determine all possible faulty links included in all OTN pipes, and then determine the faulty link passing through the faulty link for each faulty link in all possible faulty links. All OTN pipes of all OTN pipes, and then the calculation task of determining the recovery path of all OTN pipes including each faulty link is a fault instance, and all fault instances can be obtained.
  • the faulty link can be an optical fiber, a node, or an optical fiber+node.
  • FIG. 3 is a schematic diagram of an OTN network disclosed in an embodiment of the present application.
  • there are two OTN pipes in the current OTN network namely A-F-C and F-C.
  • the faulty link is an optical fiber
  • all the faulty links included in the two OTN pipes are the optical fiber between NE A and NE F, and the optical fiber between NE F and NE C.
  • the OTN pipe of the optical fiber between NE F and NE F is A-F-C
  • the OTN pipe of the optical fiber passing between NE F and NE C is A-F-C and F-C
  • the corresponding fault example of the optical fiber between NE A and NE F is Calculate the recovery path of the A-F-C pipeline
  • the fault instance corresponding to the optical fiber between the network element F and the network element C includes the calculation task of the recovery path of the A-F-C pipeline and the F-C pipeline.
  • all the faulty links included in the two OTN pipes are NE A, NE F, and NE C.
  • the OTN pipe passing through NE A is A-F-C
  • the OTN pipe passing through NE F is The pipes are A-F-C and F-C
  • the OTN pipes passing through NE C are A-F-C and F-C.
  • the OTN pipeline passing through NE A is A-F-C
  • the OTN pipeline passing through NE F is F-C
  • the OTN pipeline passing through NE C is A-F-C and F-C
  • the faulty link is fiber + node
  • all the faulty links included in the two OTN pipes are the optical fiber between NE A and NE F, the optical fiber between NE F and C, and the A.
  • Network element F and network element C determine the faults corresponding to the optical fiber between network element A and network element F, including the calculation task of the restoration path of the A-F-C pipeline, and the corresponding faults of the optical fiber between network element F and network element C
  • the instance includes the calculation task of the recovery path of the A-F-C and F-C pipelines
  • the fault instance corresponding to the network element F includes the calculation task of the recovery path of the A-F-C pipeline.
  • the centralized controller After the centralized controller receives the computing capability information from multiple routing calculators, it can assign fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators, that is, it can All possible failure instances identified above are distributed to multiple route calculators. Computing tasks belonging to the same fault instance are assigned to the same routing calculator, which can be understood as all computing tasks of a fault instance must be assigned to the same routing calculator. It should be understood that calculation tasks of different fault instances may be allocated to the same route calculator, or may be allocated to different route calculators.
  • the centralized controller does not need to allocate fault instances to each of the multiple route calculators, but only needs to allocate fault instances to route calculators that meet the conditions among the multiple route calculators.
  • the centralized controller can first select M routing calculators that meet the conditions from multiple routing calculators, and then assign fault instances to the M routing calculators respectively, that is, according to the computing capability information of the M routing calculators Distribute all fault instances identified above to M route calculators.
  • M is an integer greater than or equal to 1.
  • the centralized controller may select a route calculator whose memory information corresponds to a memory greater than or equal to the first threshold from multiple route calculators, and obtain M route calculators.
  • the first threshold may be determined according to memory, for example, in a case where the memory size is 2G, the first threshold may be 100M. It should be understood that the above examples of the first threshold are only exemplary descriptions, and do not limit the value of the first threshold.
  • the memory corresponding to the memory information here is free memory.
  • the centralized controller may also select a routing calculator whose CPU corresponding to the CPU information is less than or equal to the second threshold from a plurality of routing calculators, and M routing calculators may be obtained.
  • the second threshold can be determined according to the CPU. For example, in the case that the CPU corresponding to the CPU information is the CPU usage rate, the second threshold may be 70%, 80%, 90% and so on. It should be understood that, when the CPU information is idle CPU or total CPU, the centralized controller may also select a route calculator whose CPU corresponding to the CPU information is greater than or equal to the second threshold from a plurality of route calculators, and M route calculators may be obtained. calculator. It should be understood that the above examples of the second threshold are only exemplary descriptions, and do not limit the value of the second threshold.
  • the routing calculator may also select a routing calculator whose load is less than or equal to the third threshold from multiple routing calculators, and M routing calculators may be obtained.
  • the third threshold is 75%, 85%, 95% and so on. It should be understood that the above examples of the third threshold are only exemplary descriptions, and do not limit the value of the third threshold.
  • the centralized controller can also select routing calculators whose memory corresponding to the memory information is greater than or equal to the first threshold and whose CPU corresponding to the CPU information is less than or equal to the second threshold from multiple routing calculators to obtain M routing calculators.
  • the centralized controller can also select routing calculators whose memory corresponding to the memory information is greater than or equal to the first threshold and whose load is less than or equal to the third threshold from multiple routing calculators to obtain M routing calculators.
  • the centralized controller may also select a routing calculator whose CPU corresponding to the CPU information is less than or equal to the second threshold and whose load is less than or equal to the third threshold from multiple route calculators, and M route calculators may be obtained.
  • the centralized controller may also select a route calculator whose memory corresponding to the memory information is greater than or equal to the first threshold, whose CPU corresponding to the CPU information is less than or equal to the second threshold, and whose load is less than or equal to the third threshold, from a plurality of routing calculators, M routing calculators are available.
  • the value of the first threshold may be different, and the centralized controller may select the memory corresponding to the memory information to be greater than or equal to the first threshold, or select the memory corresponding to the memory information to be less than or equal to the first threshold , which can be determined according to the memory corresponding to the memory information.
  • the value of the second threshold can be different.
  • the centralized controller can select the CPU corresponding to the CPU information to be greater than or equal to the second threshold, or select the CPU corresponding to the CPU information to be less than or equal to the second threshold. , which can be specifically determined according to the CPU corresponding to the CPU information.
  • the centralized controller can assign fault instances (that is, all fault instances determined above) to M routing calculators according to one or more of the memory information, CPU information, main frequency, CPU core number, and load of the M routing calculators. calculator. For example, when the computing capability information only includes memory information, and the memory information is free memory, more fault instances can be allocated to routing calculators with large free memory, and calculations can also be allocated to routing calculators with large free memory. A large number of fault instances. For another example, when the computing capability information only includes CPU information, and the CPU information is the CPU usage rate, you can assign more fault instances to the route calculator with a small CPU usage rate, or calculate The controller allocates faulty instances with a large amount of computation.
  • the computing capability information when the computing capability information only includes the main frequency, more fault instances may be allocated to the routing calculator with a large main frequency, or fault instances with a large amount of calculation may be allocated to the routing calculator with a large main frequency.
  • the computing capability information when the computing capability information only includes the number of CPU cores, more fault instances can be assigned to routing calculators with a large number of CPU cores, and routing calculators with a large Failure instance.
  • the computing capability information only includes load more fault instances may be allocated to route calculators with light load, or fault instances with large calculation amount may be allocated to route calculators with light load.
  • the weight sum of these information can be calculated first, and then the weight sum and large route calculator can be calculated Allocate more failure instances, and can also allocate more computationally intensive failure instances for weight and large route calculators.
  • the higher the main frequency the greater the weight corresponding to the main frequency.
  • the smaller the load the greater the weight corresponding to the load.
  • the greater the number of CPU cores the greater the weight corresponding to the number of CPU cores.
  • the larger the free memory the greater the weight corresponding to the memory.
  • the computing capability information includes a main frequency and a load, and the weight corresponding to the main frequency is 0.2, and the weight corresponding to the load is 0.3, so the sum of the weights is 0.5.
  • the centralized controller may allocate all possible fault instances determined above to multiple routing calculators according to the computing capability information of the multiple routing calculators. That is, a failure instance is assigned to each of the above multiple route calculators.
  • allocation method refer to the above-mentioned method for allocating fault instances to M routing calculators.
  • the routing calculator can also determine the topology range for each fault instance, that is, determine the nodes (ie, network elements), optical fibers, wavelengths, ports, etc. that can be used by the computing tasks corresponding to each fault instance.
  • the topology ranges corresponding to different OTN pipes in a fault instance may be the same or different.
  • the OTN pipes passing through the fiber between NE F and C are A-F-C and F-C
  • the topology range corresponding to the fault instance corresponding to the fiber between NE F and C can be network Element E, the optical fiber between NE A and E, the optical fiber between E and C, and wavelength 2.
  • the topology range corresponding to a fault instance can be determined according to the head node and tail node of all OTN pipelines corresponding to the fault instance. For example, the head node and tail node of all OTN pipes corresponding to a fault instance may be centered, and the topology within a certain range of these head nodes and tail nodes may be determined as the topology range corresponding to the fault instance.
  • each of the routing calculators to which faulty instances are to be allocated is assigned a faulty instance.
  • the number of faulty instances is less than the number of routing calculators to which faulty instances are to be allocated, only some routing calculators to which faulty instances are to be allocated have faulty instances.
  • the routing calculators to be assigned fault instances can be the above-mentioned multiple routing calculators, or the above-mentioned M routing calculators.
  • the centralized controller sends corresponding fault instances to multiple routing calculators.
  • the route calculator receives fault instances from the centralized controller.
  • the centralized controller After the centralized controller assigns fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators, it can send corresponding fault instances to multiple routing calculators, that is, the fault instances that can be allocated to multiple routing calculators are sent to the corresponding routing calculators respectively.
  • the centralized controller can send information to the M routing calculators.
  • the route calculator sends the corresponding fault instances, that is, the fault instances assigned to the M route calculators may be sent to the corresponding route calculators respectively.
  • a fault instance may include fault information, pipeline information, and path information.
  • the fault information may be information about the faulty optical fiber.
  • the information of the faulty fiber may be an identification (identity document, ID) of the faulty fiber, or other information that can uniquely identify the faulty fiber.
  • the fault information may be information of the node.
  • the node information may be information that can uniquely identify the node, such as the name, serial number, and ID of the network element.
  • the pipeline information may include the ID of the pipeline, the information of the first node and the information of the tail node.
  • Path information may include node information and port information. Node information may include information for each node in the path.
  • the port information may include the information of the outgoing port of the head node, the information of the outgoing port and the incoming port of the intermediate node, and the information of the incoming port of the tail node.
  • the fault instance may carry or include topology resource information.
  • the topology resource information is the resource information of the topology range determined by the centralized controller in step 202, and may include information on nodes, optical fibers, wavelengths, ports, etc. used by computing tasks corresponding to the fault instance.
  • the routing calculator calculates restoration paths for the OTN pipes corresponding to the fault instance to obtain K restoration paths.
  • the route calculator After the route calculator receives the fault instance from the centralized controller, it can calculate the restoration path for the OTN pipeline corresponding to the received fault instance to obtain K restoration paths.
  • the fault instance received by the routing calculator may include one fault instance or multiple fault instances. In the case that the received fault instance includes a fault instance, all the OTN pipes corresponding to this fault instance can be determined, and then a restoration path is calculated for each of these OTN pipes according to the fault information, and K restoration paths can be obtained . In the case that the received fault instance includes multiple fault instances, all the OTN pipes corresponding to each fault instance can be determined, and then according to the fault information corresponding to each fault instance, each of all the OTN pipes corresponding to each fault instance The OTN pipeline calculates a recovery path respectively, and K recovery paths can be obtained. K is an integer greater than or equal to 1. It should be understood that the calculation of recovery paths corresponding to different fault instances may be performed in parallel or in series.
  • the routing calculator calculates the recovery path, it can perform calculation according to one or more of less hops, load balancing, short distance, and good optical parameters.
  • the received fault instance includes multiple fault instances, there may be a situation where two fault instances correspond to the same OTN pipe. Since their corresponding faulty links are different, they can be regarded as two OTN pipes , to calculate the two recovery paths respectively.
  • the routing calculator in step 204 is any routing calculator among the aforementioned plurality of routing calculators or the aforementioned M routing calculators.
  • the routing calculator may be a second routing calculator.
  • the routing calculator can first determine the topology range, and then calculate the recovery paths for the OTN pipelines corresponding to the received fault instance according to the topology range to obtain K recovery paths.
  • the topology range may be determined according to the topology resource information.
  • the received fault instance does not include or carry topology resource information, it can be determined that the topology range is the entire network.
  • the route calculator may send the second recovery path to the first routing executor after calculating recovery paths for the OTN pipeline corresponding to the fault instance and obtaining K recovery paths.
  • the first route executor receives the second restoration path from the route calculator.
  • the second recovery path is any one of the K recovery paths, and the first route executor is one or more nodes in the OTN pipeline corresponding to the second recovery path. That is, the K recovery paths can be delivered to the corresponding routing calculators respectively.
  • One or more nodes in the OTN pipeline corresponding to the second recovery path may be the first node in the OTN pipeline corresponding to the second recovery path, or may be the tail node in the OTN pipeline corresponding to the second recovery path, or may be The head node and tail node in the OTN pipeline corresponding to the second recovery path may also be one or more other nodes in the OTN pipeline corresponding to the second recovery path.
  • the second recovery path may include fault information, pipeline information, and a recovery path.
  • the restoration path may include path information of the restoration path, that is, may include node information, optical fiber information, information about the port corresponding to the node, and information about the wavelength corresponding to the optical fiber.
  • the corresponding port of the node is the outgoing port of the node.
  • the port corresponding to the node is the ingress port of the node.
  • the recovery path may also include the sequence numbers of the nodes on the recovery path, so that the direction of the recovery path can be determined.
  • the routing calculator can also send K recovery paths to the centralized controller.
  • the centralized controller can receive K restoration paths from the route calculator, and store the K restoration paths.
  • the K recovery paths may carry the information of the route calculator.
  • the centralized controller can detect whether the calculation result returned by the routing calculator is received within a certain period of time after sending the corresponding fault instance to the routing calculator. If the returned calculation result is detected, it will be stored. When the calculation result is returned, it indicates that the routing calculator is abnormal, and the fault instance sent to this routing calculator can be resent to other routing calculators for calculation. After detecting the calculation results returned by all routing calculators, all calculation results can be stored.
  • the centralized controller can make statistics on the returned recovery path to determine whether there is a problem in the OTN pipeline that causes calculation failure due to insufficient resources and other reasons. If so, it can output early warning information so as to prompt the user whether to increase resources, etc.
  • the resources here may be wavelengths or other resources, which are not limited here.
  • the first routing executor may store the second restoration path.
  • the second routing executor may establish the first restoration path.
  • the first restoration path is one of the K restoration paths
  • the second route executor is a node in the OTN pipeline corresponding to the first restoration path. This node is an unfailed node in the OTN pipeline corresponding to the first recovery path, and may be a head node, a tail node, or other nodes.
  • the second route executor may send second indication information to the second route calculator.
  • the second indication information is used to indicate that the first recovery path is established successfully.
  • the second routing calculator may send the first indication information to the centralized controller, where the first indication information is used to indicate that the first restoration path is established successfully.
  • the centralized controller receives the first indication information from the second routing calculator, and then can update the status of the resources occupied by the first recovery path to occupied, and can send routing information to the routing calculators other than the second routing calculator among the multiple routing calculators.
  • the calculator sends resource information corresponding to the first restoration path, and the resource information may include information occupied by the first restoration path, so that the routing calculator may not use occupied resources when calculating the restoration path next time.
  • the first route executor and the second route executor may be the same or different.
  • the information occupied by the first recovery path may include information on nodes occupied by the first recovery path, information on ports on nodes, information on optical fibers, information on wavelengths on optical fibers, and the like.
  • the second route executor may also send third indication information to the centralized controller, where the third indication information is used to indicate that the first restoration path is successfully established.
  • the centralized controller receives the third indication information from the second routing executor, and then can update the state of the resources occupied by the first recovery path to occupied, and can send routing information to the routing calculators other than the second routing calculator among the multiple routing calculators.
  • the calculator sends resource information corresponding to the first restoration path.
  • the third indication information may include the first restoration path.
  • FIG. 4 is a schematic diagram of another OTN network disclosed in an embodiment of the present application.
  • network element A stores the A-C OTN pipe.
  • network element F collects the FC interruption alarm, and network element F notifies each node of the fault information , after network element A receives the FC failure information, it can find the recovery path stored by itself ⁇ FC failure, A-C OTN pipeline, A-F-E-C>, network element A initiates the establishment of a rerouting path, starting from the first node A, along A-F-E-C to establish a new
  • the tail node of the A-C OTN pipeline that is, network element C
  • the first node A can send the information that the path is successfully established to the routing calculator, and the routing calculator will restore the information that the path is successfully established to the centralized controller.
  • the centralized controller After the centralized controller receives the information sent by the route calculator that the recovery path is successfully established, it can update the resource occupation status of the network according to the newly occupied path, including wavelength and other information, and can update the new network resource status change part to the All routing calculators.
  • the routing calculator updates and stores the received information synchronously.
  • the route calculator can return updated result information to the centralized controller.
  • the route calculator may send the K restoration paths to the centralized controller.
  • the centralized controller can receive K restoration paths from the route calculator, and store the K restoration paths.
  • the K recovery paths may carry the information of the route calculator.
  • the route calculator can also store K restoration paths.
  • the second route executor may send a second request to the centralized controller, and the second request is used to request the first A restoration path of the OTN pipe, where the first OTN pipe is an OTN pipe corresponding to the first restoration path.
  • the second request may carry or include fault information and pipeline information.
  • the centralized controller may receive the second request from the second route executor, and then determine the first recovery path according to the second request and the stored recovery path reported by the routing calculator, and may send the second request to the second route executor. a recovery path.
  • the second route executor receives the first restoration path from the centralized controller, after which the first restoration path can be established.
  • the second route executor may send indication information indicating that the first restoration path is successfully established to the centralized controller.
  • the routing calculator may store the K restoration paths and send the K restoration paths to the centralized controller.
  • the centralized controller can receive K restoration paths from the route calculator, and store the K restoration paths.
  • the K recovery paths may carry the information of the route calculator.
  • the second route executor may send a third request to the centralized controller, and the third request is used to request the first
  • the route calculator corresponding to the recovery path of the OTN pipeline, and the first OTN pipeline is the OTN pipeline corresponding to the first recovery path.
  • the third request may carry or include fault information and pipeline information.
  • the centralized controller may receive the third request from the second routing executor, and then determine the information of the second routing calculator according to the third request and the stored restoration path reported by the routing calculator, and may send the second routing execution The computer sends the information of the second routing computer.
  • the second route executor After the second route executor receives the information from the second route calculator of the centralized controller, it can send a fourth request to the second route calculator according to the information of the second route calculator, and the fourth request is used to request the first OTN pipeline recovery path, the first OTN pipeline is the OTN pipeline corresponding to the first recovery path.
  • the second route calculator may determine the first restoration path according to the fourth request and the stored K restoration paths, and may send the first restoration path to the second route executor. After receiving the first restoration path from the second routing calculator, the second routing executor may establish the first restoration path.
  • the second route executor may send indication information indicating that the first restoration path is successfully established to the centralized controller.
  • the functions performed by the centralized controller in the above communication method may also be performed by modules (for example, chips) in the centralized controller, and the functions performed by the routing calculator in the above communication method may also be performed by the routing calculator.
  • the functions performed by the routing executor in the communication method above may also be performed by modules (eg, chips) in the routing executor.
  • FIG. 5 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application.
  • the communication device may include:
  • the receiving unit 501 is configured to receive computing capability information from multiple routing calculators, where the multiple routing calculators are routing calculators managed by a centralized controller;
  • the allocation unit 502 is configured to allocate fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators.
  • One fault instance includes calculation tasks for restoring paths of N OTN pipelines, and the calculation tasks belonging to the same fault instance are allocated
  • N OTN pipelines are all OTN pipelines passing through the same faulty link, and N is an integer greater than or equal to 1;
  • a sending unit 503, configured to send corresponding fault instances to multiple routing calculators.
  • the computing capability information may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  • the allocation unit 502 is specifically used for:
  • M is an integer greater than or equal to 1;
  • the memory information CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
  • the sending unit 503 is specifically configured to send corresponding fault instances to the M routing calculators.
  • the fault instance carries topology resource information
  • the topology resource information may include information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
  • the sending unit 503 is further configured to send a first request to the first route calculator, the first request is used to request the computing capability information of the first route calculator, and the first route calculator calculates any route calculator in the router.
  • the receiving unit 501 is further configured to receive K recovery paths from the second route calculator, the second route calculator is any one of the M route calculators, and the K recovery paths are The recovery paths of the K OTN pipelines corresponding to the fault instance sent to the second routing calculator;
  • the communication device may also include:
  • the storage unit 504 is configured to store K restoration paths.
  • the recovery path may include node information, optical fiber information, port information corresponding to the node, and wavelength information corresponding to the optical fiber.
  • the receiving unit 501 is further configured to receive first indication information from the second routing calculator, the first indication information is used to indicate that the first restoration path is established successfully, and the first restoration path is one of the K restoration paths a recovery path for
  • the sending unit 503 is further configured to send resource information corresponding to the first restoration path to the routing calculators in the plurality of routing calculators except the second routing calculator, where the resource information may include information occupied by the first restoration path.
  • the receiving unit 501 is further configured to receive a second request from the second route executor, the second request is used to request the restoration path of the first OTN pipe, and the first OTN pipe is the corresponding path of the first restoration path.
  • the sending unit 503 is further configured to send the first recovery path to the second route executor.
  • the receiving unit 501 is further configured to receive a third request from the second route executor, the third request is used to request the route calculator corresponding to the recovery path of the first OTN pipeline, and the first OTN pipeline is the - the OTN pipe corresponding to the recovery path;
  • the sending unit 503 is further configured to send the information of the second routing calculator to the second routing executor.
  • receiving unit 501 distribution unit 502, sending unit 503 and storage unit 504 can be directly obtained by referring to the relevant description of the centralized controller in the method embodiment shown in FIG. 2 above, and will not be repeated here.
  • the receiving unit and the sending unit may be collectively referred to as a transceiver unit.
  • FIG. 6 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • the communication device may include a receiving unit 601 and a computing unit 602 .
  • the communication device may further include a sending unit 603 and a determining unit 604 . in:
  • the receiving unit 601 is used to receive a fault instance from the centralized controller.
  • a fault instance includes calculation tasks for recovering paths of N OTN pipes, where N OTN pipes are all OTN pipes passing through the same faulty link, and N is greater than or equal to an integer of 1;
  • the calculation unit 602 is configured to calculate recovery paths for the OTN pipes corresponding to the fault instance to obtain K recovery paths, where K is an integer greater than or equal to 1.
  • the sending unit 603 is configured to send the second recovery path to the first route executor, the second recovery path is any one of the K recovery paths, and the first route executor is the second recovery path One or more nodes in the corresponding OTN pipeline.
  • the recovery path may include node information, optical fiber information, port information corresponding to the node, and wavelength information corresponding to the optical fiber.
  • the fault instance carries topology resource information
  • the topology resource information may include information on nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance
  • the communication device may also include:
  • a determining unit 604 configured to determine the topology range according to the topology resource information
  • the calculation unit 602 is specifically configured to calculate recovery paths for the OTN pipes corresponding to the fault instance according to the topology range, and obtain K recovery paths.
  • the sending unit 603 is further configured to send computing capability information to the centralized controller, where the computing capability information includes one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  • the receiving unit 601 is further configured to receive a first request from the centralized controller, where the first request is used to request the above computing capability information.
  • the sending unit 603 is further configured to send the K restoration paths to the centralized controller.
  • the receiving unit 601 is further configured to receive second indication information from the second route executor, the second indication information is used to indicate that the first restoration path is established successfully, and the first restoration path is one of the K restoration paths A restoration path of , the second routing executor is the node corresponding to the first restoration path;
  • the sending unit 603 is further configured to send first indication information to the centralized controller, where the first indication information is used to indicate that the first recovery path is established successfully.
  • the receiving unit 601 is further configured to receive a fourth request from the second route executor, where the fourth request is used to request the restoration path of the first OTN pipeline, and the first OTN pipeline is the corresponding path of the first restoration path.
  • OTN pipeline OTN pipeline
  • the sending unit 603 is further configured to send the first recovery path to the second route executor.
  • receiving unit 601, calculating unit 602, sending unit 603, and determining unit 604 can be directly obtained by referring to the relevant description of the routing calculator in the method embodiment shown in FIG. 2 above, and will not be repeated here.
  • the receiving unit and the sending unit may be collectively referred to as a transceiver unit.
  • the communication device may include a processor 701 , a memory 702 , a transceiver 703 and a bus 704 .
  • the memory 702 may exist independently, and may be connected to the processor 701 through the bus 704 .
  • the memory 702 can also be integrated with the processor 701.
  • the bus 704 is used to realize the connection between these components.
  • the transceiver 703 may include a transmitter 7031 , a receiver 7032 and an antenna 7033 .
  • the transceiver 703 may include a transmitter (ie, an output interface) and a receiver (ie, an input interface).
  • a transmitter may include a transmitter and an antenna, and a receiver may include a receiver and an antenna.
  • the communication device may be a centralized controller, or a module in the centralized controller.
  • the processor 701 is used to control the receiving unit 501 and the sending unit 503 to perform the operations performed in the above embodiments, and the processor 701 is also used to execute the distribution unit 502 in the above embodiments and the operations performed by the storage unit 504, the transceiver 703 is configured to perform the operations performed by the receiving unit 501 and the sending unit 503 in the above embodiments.
  • the above-mentioned communication device can also be used to execute various methods executed by the centralized controller in the above-mentioned method embodiment in FIG. 2 , which will not be repeated here.
  • the communication device may be a routing calculator, or a module in the routing calculator.
  • the processor 701 is used to control the receiving unit 601 and the sending unit 603 to perform the operations performed in the above embodiments, and the processor 701 is also used to execute the calculation unit 602 in the above embodiments and the operations performed by the determining unit 604, the transceiver 703 is configured to perform the operations performed by the receiving unit 601 and the sending unit 603 in the foregoing embodiments.
  • the above-mentioned communication device may also be used to execute various methods executed by the routing calculator in the above-mentioned method embodiment in FIG. 2 , which will not be repeated here.
  • FIG. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
  • the communication device may include an input interface 801 , a logic circuit 802 and an output interface 803 .
  • the input interface 801 is connected to the output interface 803 through a logic circuit 802 .
  • the input interface 801 is used for receiving information from other communication devices, and the output interface 803 is used for outputting, scheduling or sending information to other communication devices.
  • the logic circuit 802 is configured to perform operations other than the operations of the input interface 801 and the output interface 803 , such as implementing the functions implemented by the processor 701 in the above embodiments.
  • the communication device may be a terminal device (or a module in the terminal device), or may be a network device (or a module in the network device).
  • the input interface 801, the logic circuit 802, and the output interface 803 can be directly obtained by referring to the relevant descriptions of the centralized controller or the routing calculator in the above method embodiments, and will not be repeated here.
  • the embodiment of the present application also discloses a computer-readable storage medium on which instructions are stored, and when the instructions are executed, the methods in the above method embodiments are executed.
  • the embodiment of the present application also discloses a computer program product including computer instructions, when the computer instructions are executed, the methods in the above method embodiments are executed.
  • the embodiment of the present application also discloses a communication system, which may include a centralized controller, a route calculator, and a route executor.
  • a communication system which may include a centralized controller, a route calculator, and a route executor.
  • a route calculator for a specific description, reference may be made to the communication method shown in FIG. 2 .

Abstract

Disclosed in embodiments of the present application are a communication method, apparatus and system. A routing computing device sends computing capability information to a centralized controller; the centralized controller allocates a fault instance to the routing computing device according to the computing capability information of the routing computing device; the routing computing device computes a recovery path for an OTN conduit corresponding to the allocated fault instance, so that after a fault occurs, a routing actuator can quickly recover the OTN conduit according to a pre-computed recovery path, thereby improving the recovery efficiency of the OTN conduit.

Description

一种通信方法、装置及系统A communication method, device and system
本申请要求于2021年9月28日提交中国国家知识产权局、申请号202111144455.7、申请名称为“一种通信方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the State Intellectual Property Office of China on September 28, 2021, application number 202111144455.7, and application title "A Communication Method, Device, and System", the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本申请实施例涉及光通信技术领域,尤其涉及一种通信方法、装置及系统。The embodiments of the present application relate to the field of optical communication technologies, and in particular, to a communication method, device, and system.
背景技术Background technique
光传送网(optical transport network,OTN)是指在光域内实现业务信号的传送、复用、路由选择、监控,并且保证其性能指标和生存性的传送网络。OTN管道至少包括首节点和尾节点,是一条由首节点到尾节点的光纤波长路径。在光网络中,业务通过OTN管道进行传输。在OTN管道中存在节点、光纤等故障的情况下,会使OTN管道中断,以致无法通过OTN管道正常传输业务。因此,在OTN管道中存在故障的情况下,如何快速地恢复OTN管道,使业务正常传输非常重要。Optical transport network (OTN) refers to a transport network that realizes the transmission, multiplexing, routing selection, and monitoring of service signals in the optical domain, and ensures its performance indicators and survivability. The OTN pipeline includes at least a head node and a tail node, and is an optical fiber wavelength path from the head node to the tail node. In an optical network, services are transmitted through OTN pipes. In the case of faults such as nodes and optical fibers in the OTN pipeline, the OTN pipeline will be interrupted, so that services cannot be normally transmitted through the OTN pipeline. Therefore, in the case of a fault in the OTN pipeline, how to quickly restore the OTN pipeline to enable normal service transmission is very important.
发明内容Contents of the invention
本申请实施例公开了一种通信方法、装置及系统,用于提高OTN管道的恢复效率。The embodiment of the present application discloses a communication method, device and system, which are used to improve the recovery efficiency of an OTN pipeline.
第一方面公开一种通信方法,该通信方法可以应用于集中控制器,也可以应用于集中控制器中的模块(例如,芯片)。下面以应用于集中控制器为例进行描述。该通信方法可以包括:The first aspect discloses a communication method, which can be applied to a centralized controller, and can also be applied to modules (eg, chips) in the centralized controller. The following uses the centralized controller as an example to describe. This method of communication may include:
接收来自多个路由计算器的计算能力信息,多个路由计算器为集中控制器管理的路由计算器;Receive computing capability information from multiple routing calculators, where the multiple routing calculators are routing calculators managed by a centralized controller;
根据多个路由计算器的计算能力信息为多个路由计算器分配故障实例,一个故障实例包括N条OTN管道的恢复路径的计算任务,属于同一故障实例的计算任务被分配给同一个路由计算器,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;Assign fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators. One fault instance includes the calculation tasks of restoring paths of N OTN pipelines, and the calculation tasks belonging to the same fault instance are assigned to the same routing calculator , N OTN pipes are all OTN pipes passing through the same faulty link, N is an integer greater than or equal to 1;
向多个路由计算器发送对应的故障实例。Corresponding fault instances are sent to multiple route calculators.
本申请实施例中,集中控制器接收到来自管理的路由计算器的计算能力信息之后,可以根据路由计算器的计算能力信息为路由计算器分配故障实例,以便路由计算器可以为分配的故障实例对应的OTN管道计算恢复路径,以便在故障发生后路由执行器可以根据事先计算的恢复路径快速地恢复OTN管道,不需要在故障发生后现算,从而可以提高OTN管道的恢复效率。此外,由于不同路由计算器的故障实例是根据自身的计算能力信息分配的,可以保证不同路由计算器的计算速度。进一步地,由于将故障实例分配给多个路由计算器进行计算,而不是由集中控制器进行计算,因此,可以减少集中控制器的计算量以及降低集中控制器的功 耗。进一步地,由于故障实例对应的OTN管道的恢复路径是由多个路由计算器进行计算的,可以减少每个路由计算器的计算量,从而可以提高恢复路径的计算效率。In the embodiment of the present application, after the centralized controller receives the computing capability information from the managed routing calculator, it can assign a fault instance to the routing calculator according to the computing capability information of the routing calculator, so that the routing calculator can provide the assigned fault instance The corresponding OTN pipeline calculates the recovery path, so that after a fault occurs, the routing executor can quickly restore the OTN pipeline according to the pre-calculated recovery path, and does not need to be calculated immediately after the fault occurs, thereby improving the recovery efficiency of the OTN pipeline. In addition, since the fault instances of different routing calculators are allocated according to their own computing capability information, the computing speed of different routing calculators can be guaranteed. Furthermore, since the fault instance is assigned to multiple routing calculators for calculation instead of the centralized controller, the calculation amount of the centralized controller and the power consumption of the centralized controller can be reduced. Further, since the recovery path of the OTN pipeline corresponding to the fault instance is calculated by multiple routing calculators, the calculation amount of each routing calculator can be reduced, thereby improving the calculation efficiency of the recovery path.
作为一种可能的实施方式,计算能力信息可以包括内存信息、中央处理器(central processing unit,CPU)信息、主频、CPU核数和负载中的一个或多个。As a possible implementation manner, the computing capability information may include one or more of memory information, central processing unit (central processing unit, CPU) information, main frequency, number of CPU cores, and load.
作为一种可能的实施方式,集中控制器根据多个路由计算器的计算能力信息为多个路由计算器分别分配故障实例可以包括:As a possible implementation manner, the centralized controller assigning fault instances to the multiple routing calculators according to the computing capability information of the multiple routing calculators may include:
从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值,和/或CPU信息对应的CPU小于或等于第二阈值,和/或负载小于或等于第三阈值的路由计算器,以获得M个路由计算器,M为大于或等于1的整数;Selecting from a plurality of routing calculators the memory corresponding to the memory information is greater than or equal to the first threshold, and/or the CPU corresponding to the CPU information is less than or equal to the second threshold, and/or the routing calculator whose load is less than or equal to the third threshold, To obtain M routing calculators, M is an integer greater than or equal to 1;
根据M个路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个,为M个路由计算器分配故障实例;According to one or more of the memory information, CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
集中控制器向多个路由计算器发送对应的故障实例包括:The centralized controller sends corresponding fault instances to multiple route calculators including:
向M个路由计算器发送对应的故障实例。Send corresponding failure instances to M routing calculators.
本申请实施例中,可以先根据路由计算器的计算能力信息从管理的路由计算器中选取满足条件的路由计算器,之后可以将故障实例分配给满足条件的路由计算器,可以避免向计算能力低的路由计算器分配故障实例,从而可以提高恢复路径的计算速率。In the embodiment of this application, the routing calculators that satisfy the conditions can be selected from the managed routing calculators according to the computing capability information of the routing calculators, and then the fault instance can be assigned to the routing calculators that meet the conditions, which can avoid the problem of computing power The low route calculator allocates failure instances, which can increase the calculation rate of recovery paths.
作为一种可能的实施方式,故障实例携带有拓扑资源信息,拓扑资源信息可以包括供故障实例对应的计算任务使用的节点、光纤和波长的信息。As a possible implementation manner, the fault instance carries topology resource information, and the topology resource information may include information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
本申请实施例中,集中控制器可以为故障实例分配拓扑资源信息,以便路由计算器可以在拓扑资源信息对应的拓扑范围内计算恢复路径,可以缩小路由计算器的计算范围,从而可以提高路由计算器的计算速率。In the embodiment of the present application, the centralized controller can allocate topology resource information to the fault instance, so that the route calculator can calculate the recovery path within the topology range corresponding to the topology resource information, which can reduce the calculation range of the route calculator, thereby improving the routing calculation. The calculation rate of the device.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
向第一路由计算器发送第一请求,第一请求用于请求第一路由计算器的计算能力信息,第一路由计算器为多个路由计算器中的任一路由计算器。Sending a first request to the first routing calculator, where the first request is used to request computing capability information of the first routing calculator, where the first routing calculator is any routing calculator among the multiple routing calculators.
本申请实施例中,在集中控制器需要路由计算器的计算能力信息的情况下,可以向路由计算器请求计算能力信息,以便路由计算器可以根据集中控制器的请求上报计算能力信息,可以避免集中控制器使用的计算能力信息不是路由计算器当前计算能力信息的情况,可以保证计算能力信息的有效性。In the embodiment of the present application, when the centralized controller needs the computing capability information of the routing calculator, it can request the computing capability information from the routing calculator, so that the routing calculator can report the computing capability information according to the request of the centralized controller, which can avoid In the case that the computing capability information used by the centralized controller is not the current computing capability information of the routing calculator, the validity of the computing capability information can be guaranteed.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自第二路由计算器的K条恢复路径,第二路由计算器为M个路由计算器中的任一路由计算器,K条恢复路径为发送给第二路由计算器的故障实例对应的K条OTN管道的恢复路径;Receive K recovery paths from the second route calculator, the second route calculator is any one of the M route calculators, and the K recovery paths are the K corresponding to the fault instance sent to the second route calculator The recovery path of the OTN pipeline;
存储K条恢复路径。Store K recovery paths.
本申请实施例中,集中控制器将故障实例分配给路由计算器之后,集中控制器可以存储路由计算器返回的恢复路径,可以对恢复路径进行备份,可以在某个路由计算器故障的情况下,可以将存储的该路由计算器计算的数据转到其他路由计算器上,可以避免数据的丢失。In the embodiment of the present application, after the centralized controller assigns the fault instance to the routing calculator, the centralized controller can store the recovery path returned by the routing calculator, and can back up the recovery path. In the case of a certain routing calculator failure , the stored data calculated by the routing calculator can be transferred to other routing calculators, and data loss can be avoided.
作为一种可能的实施方式,恢复路径可以包括节点的信息、光纤的信息、该节点对应端口的信息、该光纤对应波长的信息。As a possible implementation manner, the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自第二路由计算器的第一指示信息,第一指示信息用于指示第一恢复路径建立成 功,第一恢复路径为K条恢复路径中的一条恢复路径;Receive the first indication information from the second routing calculator, the first indication information is used to indicate that the first restoration path is established successfully, and the first restoration path is a restoration path in the K restoration paths;
向多个路由计算器中除第一路由计算器之外的路由计算器发送第一恢复路径对应的资源信息,该资源信息可以包括第一恢复路径占用的信息。The resource information corresponding to the first restoration path is sent to the routing calculators in the plurality of routing calculators except the first routing calculator, where the resource information may include information occupied by the first restoration path.
本申请实施例中,集中控制器接收到来自路由计算器的恢复路径建立成功的信息之后,可以将该恢复路径占用的节点、波长、端口等信息下发给其他路由计算器,以便路由计算器在下次计算恢复路径的情况下,可以不使用被占用的信息,可以避免计算的恢复路径由于资源冲突而无效的问题。In the embodiment of the present application, after the centralized controller receives the information that the restoration path is successfully established from the routing calculator, it can send information such as nodes, wavelengths, and ports occupied by the restoration path to other routing calculators, so that the routing calculator In the case of calculating the recovery path next time, the occupied information may not be used, and the problem that the calculated recovery path is invalid due to resource conflict can be avoided.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自第二路由执行器的第二请求,第二请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道;Receive a second request from the second routing executor, where the second request is used to request a recovery path of the first OTN pipeline, where the first OTN pipeline is an OTN pipeline corresponding to the first recovery path;
向第二路由执行器发送第一恢复路径。The first recovery path is sent to the second route executor.
本申请实施例中,在故障发生后,故障对应的OTN管道中未发生故障的节点(即路由执行器)可以从集中控制器获取该OTN管道对应的恢复路径,而不需要将恢复路径预先存储在路由执行器中,可以节约路由执行器的存储资源。In the embodiment of the present application, after a fault occurs, the unfailed node (i.e., the routing executor) in the OTN pipe corresponding to the fault can obtain the restoration path corresponding to the OTN pipe from the centralized controller without pre-storing the restoration path In the routing executor, the storage resources of the routing executor can be saved.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自第二路由执行器的第三请求,第三请求用于请求第一OTN管道的恢复路径对应的路由计算器,第一OTN管道为第一恢复路径对应的OTN管道;Receive a third request from the second routing executor, where the third request is used to request the routing calculator corresponding to the recovery path of the first OTN pipeline, where the first OTN pipeline is the OTN pipeline corresponding to the first recovery path;
向第二路由执行器发送第二路由计算器的信息。The information of the second route calculator is sent to the second route executor.
本申请实施例中,在故障发生后,故障对应的OTN管道中未发生故障的节点(即路由执行器)可以从集中控制器获取该OTN管道对应的恢复路径对应的路由计算器,以便从该路由计算器获取到恢复路径,而不需要将恢复路径预先存储在路由执行器,可以节约路由执行器的存储资源。In the embodiment of the present application, after a fault occurs, the unfailed node (i.e., the route executor) in the OTN pipe corresponding to the fault can obtain the route calculator corresponding to the recovery path corresponding to the OTN pipe from the centralized controller, so as to obtain The route calculator obtains the recovery path without storing the recovery path in the routing executor in advance, which can save the storage resources of the routing executor.
第二方面公开一种通信方法,该通信方法可以应用于路由计算器,也可以应用于路由计算器中的模块(例如,芯片)。下面以应用于路由计算器为例进行描述。该通信方法可以包括:The second aspect discloses a communication method, which can be applied to a routing calculator, and can also be applied to a module (for example, a chip) in the routing calculator. The following uses the route calculator as an example to describe. This method of communication may include:
接收来自集中控制器的故障实例,一个故障实例包括N条OTN管道的恢复路径的计算任务,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;Receive a fault instance from the centralized controller, a fault instance includes the calculation task of restoring paths of N OTN pipes, N OTN pipes are all OTN pipes passing through the same faulty link, and N is an integer greater than or equal to 1;
为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径,K为大于或等于1的整数。Calculate recovery paths for the OTN pipelines corresponding to the fault instance to obtain K recovery paths, where K is an integer greater than or equal to 1.
本申请实施例中,路由计算器接收到来自集中控制器的故障实例之后,可以为故障实例对应的OTN管道计算恢复路径,以便在故障发生后路由执行器可以根据事先计算的恢复路径快速地恢复OTN管道,不需要在故障发生后现算,从而可以提高OTN管道的恢复效率。此外,由于集中控制器将故障实例分配给多个路由计算器进行计算,而不是由集中控制器进行计算,因此,可以减少集中控制器的计算量以及降低集中控制器的功耗。In the embodiment of this application, after the route calculator receives the fault instance from the centralized controller, it can calculate the recovery path for the OTN pipeline corresponding to the fault instance, so that the routing executor can quickly recover according to the pre-calculated recovery path after the fault occurs. The OTN pipeline does not need to be calculated immediately after the fault occurs, which can improve the recovery efficiency of the OTN pipeline. In addition, since the centralized controller distributes fault instances to multiple route calculators for calculation instead of being calculated by the centralized controller, the calculation amount of the centralized controller and the power consumption of the centralized controller can be reduced.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
向第一路由执行器发送第二恢复路径,第二恢复路径为K条恢复路径中的任一恢复路径,第一路由执行器为第二恢复路径对应的OTN管道中的一个或多个节点。Sending the second recovery path to the first route executor, where the second recovery path is any one of the K recovery paths, and the first route executor is one or more nodes in the OTN pipeline corresponding to the second recovery path.
本申请实施例中,路由计算器为故障实例对应的OTN管道计算出恢复路径之后,可以将 计算的恢复路径下发给OTN管道对应的路由执行器,以便在故障发生后路由执行器可以根据事先下发的恢复路径快速地恢复OTN管道,不需要在故障发生后现算,从而可以提高OTN管道的恢复效率。In the embodiment of this application, after the routing calculator calculates the recovery path for the OTN pipeline corresponding to the fault instance, it can send the calculated recovery path to the routing executor corresponding to the OTN pipeline, so that the routing executor can follow the prior The delivered restoration path quickly restores the OTN pipe, and does not need to be calculated immediately after a fault occurs, thereby improving the recovery efficiency of the OTN pipe.
作为一种可能的实施方式,恢复路径可以包括节点的信息、光纤的信息、该节点对应端口的信息、该光纤对应波长的信息。As a possible implementation manner, the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
作为一种可能的实施方式,故障实例携带有拓扑资源信息,拓扑资源信息包括供故障实例对应的计算任务使用的节点、光纤和波长的信息,该通信方法还可以包括:As a possible implementation, the fault instance carries topology resource information, and the topology resource information includes information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance. The communication method may also include:
根据拓扑资源信息确定拓扑范围;Determine the topology range according to the topology resource information;
路由计算器为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径可以包括:The routing calculator calculates the recovery path for the OTN pipeline corresponding to the fault instance, and the obtained K recovery paths can include:
根据拓扑范围为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径。According to the topology range, the recovery paths are calculated for the OTN pipelines corresponding to the faulty instance, and K recovery paths are obtained.
本申请实施例中,集中控制器可以为故障实例分配拓扑资源信息,路由计算器可以在拓扑资源信息对应的拓扑范围内计算恢复路径,可以缩小路由计算器的计算范围,从而可以提高路由计算器的计算速率。In the embodiment of the present application, the centralized controller can allocate topology resource information for the fault instance, and the routing calculator can calculate the recovery path within the topology range corresponding to the topology resource information, which can narrow the calculation range of the routing calculator, thereby improving the routing calculator. calculation rate.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
向集中控制器发送计算能力信息,计算能力信息可以包括内存信息、CPU信息、主频、CPU核数和负载中的一个或多个。The computing capability information is sent to the centralized controller, where the computing capability information may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
本申请实施例中,路由计算器可以向集中控制器上报计算能力信息,以便集中控制器可以根据路由计算器的计算能力信息为路由计算器分配故障实例,可以保证路由计算器的计算速率。In the embodiment of the present application, the routing calculator can report computing capability information to the centralized controller, so that the centralized controller can assign fault instances to the routing calculator according to the computing capability information of the routing calculator, and the computing rate of the routing calculator can be guaranteed.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自集中控制器的第一请求,第一请求用于请求上述计算能力信息。A first request is received from the centralized controller, where the first request is used to request the computing capability information.
本申请实施例中,路由计算器可以根据集中控制器的请求上报计算能力信息,可以避免集中控制器使用的计算能力信息不是路由计算器当前计算能力信息的情况,可以保证计算能力信息的有效性。In the embodiment of this application, the routing calculator can report computing capability information according to the request of the centralized controller, which can avoid the situation that the computing capability information used by the centralized controller is not the current computing capability information of the routing calculator, and can ensure the validity of the computing capability information .
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
向集中控制器发送K条恢复路径。Send K recovery paths to the centralized controller.
本申请实施例中,路由计算器计算得到恢复路径之后,可以向集中控制器返回计算的恢复路径,以便集中控制器可以对恢复路径进行备份,可以在某个路由计算器故障的情况下,可以将存储的该路由计算器计算的数据转到其他路由计算器上,可以避免数据的丢失。In the embodiment of the present application, after the routing calculator calculates the recovery path, it can return the calculated recovery path to the centralized controller, so that the centralized controller can back up the recovery path. In the case of a routing calculator failure, it can Transferring the stored data calculated by the routing calculator to other routing calculators can avoid data loss.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自第二路由执行器的第二指示信息,第二指示信息用于指示第一恢复路径建立成功,第一恢复路径为K条恢复路径中的一条恢复路径,第二路由执行器为第一恢复路径对应的OTN管道中的一个节点;Receive second indication information from the second route executor, the second indication information is used to indicate that the first restoration path is established successfully, the first restoration path is one restoration path among the K restoration paths, and the second routing executor is the first Restoring a node in the OTN pipeline corresponding to the path;
向集中控制器发送第一指示信息,第一指示信息用于指示第一恢复路径建立成功。Sending first indication information to the centralized controller, where the first indication information is used to indicate that the first recovery path is established successfully.
本申请实施例中,路由计算器接收到来自路由执行器的恢复路径建立成功的信息之后,可以向集中控制器上报该恢复路径建立成功的信息,以便集中控制器可以将该恢复路径占用的波长下发给其他路由计算器,路由计算器在下次计算恢复路径的情况下,可以不使用被占用的波长,可以避免计算的恢复路径由于资源冲突而无效的问题。第一恢复路径对应的OTN管道中的一个节点,可以理解为第一恢复路径对应的OTN管道中未发生故障的一个节点。In the embodiment of the present application, after the routing calculator receives the information that the restoration path is successfully established from the routing executor, it can report the information that the restoration path is successfully established to the centralized controller, so that the centralized controller can use the wavelength occupied by the restoration path Send it to other routing calculators, and the routing calculator may not use the occupied wavelength when calculating the recovery path next time, which can avoid the problem that the calculated recovery path is invalid due to resource conflicts. A node in the OTN pipeline corresponding to the first recovery path may be understood as a node in the OTN pipeline corresponding to the first recovery path that has not failed.
作为一种可能的实施方式,该通信方法还可以包括:As a possible implementation manner, the communication method may also include:
接收来自第二路由执行器的第四请求,第四请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道;Receive a fourth request from the second routing executor, where the fourth request is used to request a recovery path of the first OTN pipeline, where the first OTN pipeline is an OTN pipeline corresponding to the first recovery path;
向第二路由执行器发送第一恢复路径。The first recovery path is sent to the second route executor.
本申请实施例中,在故障发生后,故障对应的OTN管道中未发生故障的节点(即路由执行器)可以从路由计算器获取该OTN管道对应的恢复路径,而不需要将恢复路径预先存储在路由执行器中,可以节约路由执行器的存储资源。In the embodiment of the present application, after a fault occurs, the unfailed node (i.e., the routing executor) in the OTN pipeline corresponding to the fault can obtain the recovery path corresponding to the OTN pipeline from the routing calculator, without pre-storing the recovery path In the routing executor, the storage resources of the routing executor can be saved.
第三方面公开一种通信装置,该通信装置可以为集中控制器,也可以为集中控制器中的模块(例如,芯片)。该通信装置可以包括:The third aspect discloses a communication device. The communication device may be a centralized controller or a module (for example, a chip) in the centralized controller. The communication device may include:
接收单元,用于接收来自多个路由计算器的计算能力信息,多个路由计算器为集中控制器管理的路由计算器;A receiving unit, configured to receive computing capability information from multiple routing calculators, where the multiple routing calculators are routing calculators managed by a centralized controller;
分配单元,用于根据多个路由计算器的计算能力信息为多个路由计算器分配故障实例,一个故障实例包括N条OTN管道的恢复路径的计算任务,属于同一故障实例的计算任务被分配给同一个路由计算器,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;The allocation unit is used to allocate fault instances for multiple routing calculators according to the computing capability information of multiple routing calculators. One fault instance includes calculation tasks for restoring paths of N OTN pipelines, and the calculation tasks belonging to the same fault instance are allocated to For the same routing calculator, N OTN pipes are all OTN pipes passing through the same faulty link, and N is an integer greater than or equal to 1;
发送单元,用于向多个路由计算器发送对应的故障实例。A sending unit, configured to send corresponding fault instances to multiple routing calculators.
作为一种可能的实施方式,计算能力信息可以包括内存信息、CPU信息、主频、CPU核数和负载中的一个或多个。As a possible implementation manner, the computing capability information may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
作为一种可能的实施方式,分配单元具体用于:As a possible implementation manner, the allocation unit is specifically used for:
从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值,和/或CPU信息对应的CPU小于或等于第二阈值,和/或负载小于或等于第三阈值的路由计算器,以获得M个路由计算器,M为大于或等于1的整数;Selecting from a plurality of routing calculators the memory corresponding to the memory information is greater than or equal to the first threshold, and/or the CPU corresponding to the CPU information is less than or equal to the second threshold, and/or the routing calculator whose load is less than or equal to the third threshold, To obtain M routing calculators, M is an integer greater than or equal to 1;
根据M个路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个,为M个路由计算器分配故障实例;According to one or more of the memory information, CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
发送单元,具体用于向M个路由计算器发送对应的故障实例。The sending unit is specifically configured to send corresponding fault instances to the M routing calculators.
作为一种可能的实施方式,故障实例携带有拓扑资源信息,拓扑资源信息可以包括供故障实例对应的计算任务使用的节点、光纤和波长的信息。As a possible implementation manner, the fault instance carries topology resource information, and the topology resource information may include information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
作为一种可能的实施方式,发送单元,还用于向第一路由计算器发送第一请求,第一请求用于请求第一路由计算器的计算能力信息,第一路由计算器为多个路由计算器中的任一路由计算器。As a possible implementation manner, the sending unit is further configured to send a first request to the first route calculator, the first request is used to request the computing capability information of the first route calculator, and the first route calculator is a plurality of route calculators Any routing calculator in Calculator.
作为一种可能的实施方式,接收单元,还用于接收来自第二路由计算器的K条恢复路径,第二路由计算器为M个路由计算器中的任一路由计算器,K条恢复路径为发送给第二路由计算器的故障实例对应的K条OTN管道的恢复路径;As a possible implementation manner, the receiving unit is further configured to receive K recovery paths from the second route calculator, the second route calculator is any route calculator in the M route calculators, and the K recovery paths Be the recovery path of the K OTN pipes corresponding to the fault instance sent to the second routing calculator;
该通信装置还可以包括:The communication device may also include:
存储单元,用于存储K条恢复路径。The storage unit is used to store K restoration paths.
作为一种可能的实施方式,恢复路径可以包括节点的信息、光纤的信息、该节点对应端口的信息、该光纤对应波长的信息。As a possible implementation manner, the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
作为一种可能的实施方式,接收单元,还用于接收来自第二路由计算器的第一指示信息, 第一指示信息用于指示第一恢复路径建立成功,第一恢复路径为K条恢复路径中的一条恢复路径;As a possible implementation manner, the receiving unit is further configured to receive first indication information from the second routing calculator, the first indication information is used to indicate that the first restoration path is established successfully, and the first restoration paths are K restoration paths A recovery path in ;
发送单元,还用于向多个路由计算器中除第二路由计算器之外的路由计算器发送第一恢复路径对应的资源信息,资源信息可以包括第一恢复路径占用的信息。The sending unit is further configured to send resource information corresponding to the first restoration path to the routing calculators in the plurality of routing calculators except the second routing calculator, where the resource information may include information occupied by the first restoration path.
作为一种可能的实施方式,接收单元,还用于接收来自第二路由执行器的第二请求,第二请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道;As a possible implementation manner, the receiving unit is further configured to receive a second request from the second route executor, the second request is used to request the recovery path of the first OTN pipeline, and the first OTN pipeline corresponds to the first recovery path OTN pipeline;
发送单元,还用于向第二路由执行器发送第一恢复路径。The sending unit is further configured to send the first restoration path to the second route executor.
作为一种可能的实施方式,接收单元,还用于接收来自第二路由执行器的第三请求,第三请求用于请求第一OTN管道的恢复路径对应的路由计算器,第一OTN管道为第一恢复路径对应的OTN管道;As a possible implementation manner, the receiving unit is further configured to receive a third request from the second routing executor, and the third request is used to request the routing calculator corresponding to the recovery path of the first OTN pipeline, where the first OTN pipeline is The OTN pipeline corresponding to the first recovery path;
发送单元,还用于向第二路由执行器发送第二路由计算器的信息。The sending unit is further configured to send the information of the second routing calculator to the second routing executor.
第四方面公开一种通信装置,该通信装置可以为路由计算器,也可以为路由计算器中的模块(例如,芯片)。该通信装置可以包括:The fourth aspect discloses a communication device, which may be a routing calculator, or a module (for example, a chip) in the routing calculator. The communication device may include:
接收单元,用于接收来自集中控制器的故障实例,一个故障实例包括N条OTN管道的恢复路径的计算任务,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;The receiving unit is used to receive the fault instance from the centralized controller. A fault instance includes the calculation task of restoring paths of N OTN pipes, where N OTN pipes are all OTN pipes passing through the same faulty link, and N is greater than or equal to 1 an integer of
计算单元,用于为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径,K条恢复路径中的波长均不同,K为大于或等于1的整数。The calculation unit is used to calculate recovery paths for the OTN pipes corresponding to the fault instance to obtain K recovery paths, the wavelengths in the K recovery paths are all different, and K is an integer greater than or equal to 1.
作为一种可能的实施方式,该通信装置还可以包括:As a possible implementation manner, the communication device may also include:
第一发送单元,用于向第一路由执行器发送第二恢复路径,第二恢复路径为K条恢复路径中的任一恢复路径,第一路由执行器为第二恢复路径对应的OTN管道中的一个或多个节点。The first sending unit is configured to send the second recovery path to the first route executor, the second recovery path is any one of the K recovery paths, and the first route executor is in the OTN pipeline corresponding to the second recovery path of one or more nodes.
作为一种可能的实施方式,恢复路径可以包括节点的信息、光纤的信息、该节点对应端口的信息、该光纤对应波长的信息。As a possible implementation manner, the restoration path may include information about a node, information about an optical fiber, information about a port corresponding to the node, and information about a wavelength corresponding to the optical fiber.
作为一种可能的实施方式,故障实例携带有拓扑资源信息,拓扑资源信息可以包括供故障实例对应的计算任务使用的节点、光纤和波长的信息,该通信装置还可以包括:As a possible implementation, the fault instance carries topology resource information, and the topology resource information may include information on nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance, and the communication device may also include:
确定单元,用于根据拓扑资源信息确定拓扑范围;a determining unit, configured to determine the topology range according to the topology resource information;
计算单元,具体用于根据拓扑范围为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径。The calculation unit is specifically used to calculate recovery paths for the OTN pipelines corresponding to the fault instance according to the topology range, and obtain K recovery paths.
作为一种可能的实施方式,该通信装置还可以包括:As a possible implementation manner, the communication device may also include:
第二发送单元,用于向集中控制器发送计算能力信息,计算能力信息包括内存信息、CPU信息、主频、CPU核数和负载中的一个或多个。The second sending unit is configured to send computing capability information to the centralized controller, where the computing capability information includes one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
作为一种可能的实施方式,接收单元,还用于接收来自集中控制器的第一请求,第一请求用于请求上述计算能力信息。As a possible implementation manner, the receiving unit is further configured to receive a first request from the centralized controller, where the first request is used to request the computing capability information.
作为一种可能的实施方式,该通信装置还可以包括:As a possible implementation manner, the communication device may also include:
第三发送单元,用于向集中控制器发送K条恢复路径。The third sending unit is configured to send the K recovery paths to the centralized controller.
作为一种可能的实施方式,接收单元,还用于接收来自第二路由执行器的第二指示信息,第二指示信息用于指示第一恢复路径建立成功,第一恢复路径为K条恢复路径中的一条恢复路径,第二路由执行器为第一恢复路径对应的OTN管道中的一个节点节点;As a possible implementation manner, the receiving unit is further configured to receive second indication information from the second routing executor, the second indication information is used to indicate that the first restoration path is established successfully, and the first restoration paths are K restoration paths A recovery path in , the second route executor is a node node in the OTN pipeline corresponding to the first recovery path;
该通信装置还可以包括:The communication device may also include:
第四发送单元,用于向集中控制器发送第一指示信息,第一指示信息用于指示第一恢复路径建立成功。The fourth sending unit is configured to send first indication information to the centralized controller, where the first indication information is used to indicate that the first restoration path is established successfully.
作为一种可能的实施方式,接收单元,还用于接收来自第二路由执行器的第四请求,第四请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道;As a possible implementation manner, the receiving unit is further configured to receive a fourth request from the second routing executor, where the fourth request is used to request the recovery path of the first OTN pipeline, and the first OTN pipeline corresponds to the first recovery path OTN pipeline;
该通信装置还可以包括:The communication device may also include:
第五发送单元,用于向第二路由执行器发送第一恢复路径。The fifth sending unit is configured to send the first recovery path to the second route executor.
第五方面公开一种通信装置。该通信装置可以包括处理器,用于使得该通信装置实现第一方面或第一方面的任一实施方式公开的通信方法。可选的,该通信装置还可以包括存储器、和/或收发器,收发器用于接收来自该通信装置之外的其它通信装置的信息,以及向该通信装置之外的其它通信装置输出信息,当处理器执行存储器存储的计算机程序时,使得处理器执行第一方面或第一方面的任一实施方式公开的通信方法。The fifth aspect discloses a communication device. The communication device may include a processor, configured to enable the communication device to implement the first aspect or the communication method disclosed in any implementation manner of the first aspect. Optionally, the communication device may further include a memory, and/or a transceiver, and the transceiver is used to receive information from other communication devices other than the communication device, and to output information to other communication devices other than the communication device. When the processor executes the computer program stored in the memory, the processor is made to execute the communication method disclosed in the first aspect or any implementation manner of the first aspect.
第六方面公开一种通信装置。该通信装置可以包括处理器,用于使得该通信装置实现第二方面或第二方面的任一实施方式公开的通信方法。可选的,该通信装置还可以包括存储器、和/或收发器,收发器用于接收来自该通信装置之外的其它通信装置的信息,以及向该通信装置之外的其它通信装置输出信息,当处理器执行存储器存储的计算机程序时,使得处理器执行第二方面或第二方面的任一实施方式公开的通信方法。The sixth aspect discloses a communication device. The communication device may include a processor, configured to enable the communication device to implement the second aspect or the communication method disclosed in any implementation manner of the second aspect. Optionally, the communication device may further include a memory, and/or a transceiver, and the transceiver is used to receive information from other communication devices other than the communication device, and to output information to other communication devices other than the communication device. When the processor executes the computer program stored in the memory, the processor is made to execute the second aspect or the communication method disclosed in any implementation manner of the second aspect.
第七方面公开一种通信系统,该通信系统包括第五方面的通信装置和第六方面的通信装置。A seventh aspect discloses a communication system, which includes the communication device of the fifth aspect and the communication device of the sixth aspect.
第八方面公开一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序或计算机指令,当该计算机程序或计算机指令运行时,实现如上述各方面公开的通信方法。The eighth aspect discloses a computer-readable storage medium, on which a computer program or computer instruction is stored, and when the computer program or computer instruction is run, the communication method as disclosed in the above aspects is implemented.
第九方面公开一种芯片,包括处理器,用于执行存储器中存储的程序,当程序被执行时,使得芯片执行上面的方法。A ninth aspect discloses a chip, including a processor, configured to execute a program stored in a memory, and when the program is executed, the chip executes the above method.
作为一种可能的实施方式,存储器位于芯片之外。As a possible implementation manner, the memory is located outside the chip.
第十方面公开一种计算机程序产品,该计算机程序产品包括计算机程序代码,当该计算机程序代码被运行时,使得上述通信方法被执行。The tenth aspect discloses a computer program product, the computer program product includes computer program code, and when the computer program code is executed, the above communication method is executed.
附图说明Description of drawings
图1是本申请实施例公开的一种网络架构示意图;FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application;
图2是本申请实施例公开的一种通信方法的流程示意图;FIG. 2 is a schematic flowchart of a communication method disclosed in an embodiment of the present application;
图3是本申请实施例公开的一种OTN网络的示意图;FIG. 3 is a schematic diagram of an OTN network disclosed in an embodiment of the present application;
图4是本申请实施例公开的另一种OTN网络的示意图;FIG. 4 is a schematic diagram of another OTN network disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种通信装置的结构示意图;FIG. 5 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application;
图6是本申请实施例公开的另一种通信装置的结构示意图;FIG. 6 is a schematic structural diagram of another communication device disclosed in the embodiment of the present application;
图7是本申请实施例公开的又一种通信装置的结构示意图;Fig. 7 is a schematic structural diagram of another communication device disclosed in the embodiment of the present application;
图8是本申请实施例公开的又一种通信装置的结构示意图。FIG. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例公开了一种通信方法、装置及系统,用于提高OTN管道的恢复效率。以下分别进行详细说明。The embodiment of the present application discloses a communication method, device and system, which are used to improve the recovery efficiency of an OTN pipeline. Each will be described in detail below.
为了更好地理解本申请实施例,下面先对本申请实施例使用的一些用语进行介绍。In order to better understand the embodiments of the present application, some terms used in the embodiments of the present application are firstly introduced below.
网元(network element)即网络单元,包含硬件设备及运行其上的软件。通常一个网络单元至少具有一块主控板,负责整个网络单元的管理和监控。软件运行在主控板上。A network element is a network unit, including hardware devices and software running on them. Usually, a network unit has at least one main control board, which is responsible for the management and monitoring of the entire network unit. The software runs on the main control board.
OTN管道(pipeline),可以简称管道,是一条至少包括首节点和尾节点的光纤波长路径,这条光纤波长路径由首节点到尾节点。在这条光纤波长路径包括三个或三个以上节点的情况下,这条光纤波长路径还可以包括中间节点。可以将以太、视频等信号流量通过标准协议转成光信号,之后将光信号承载在OTN管道中进行传输。An OTN pipeline (pipeline), which may be referred to as a pipeline, is an optical fiber wavelength path including at least a head node and a tail node, and the fiber wavelength path is from the head node to the tail node. Where the fiber optic wavelength path includes three or more nodes, the fiber optic wavelength path may also include intermediate nodes. Signal traffic such as Ethernet and video can be converted into optical signals through standard protocols, and then the optical signals are carried in the OTN pipeline for transmission.
首节点(first node)为OTN管道的起始节点。例如,A-C的OTN管道的首节点为A。The first node is the starting node of the OTN pipeline. For example, the first node of the OTN pipe from A to C is A.
尾节点为OTN管道的终止节点。例如,A-C的OTN管道的尾节点为C。The tail node is the termination node of the OTN pipeline. For example, the end node of the OTN pipeline from A to C is C.
网络故障(network failure)为光纤中断或者节点(即网元)故障导致承载在其上的光信号连接发生中断。Network failure refers to the interruption of the optical signal connection carried by the optical fiber due to the interruption of the optical fiber or the failure of the node (that is, the network element).
控制平面(control plane)也可以称作控制系统,是OTN的组成部分,由一组通信实体组成,负责完成呼叫控制和连接控制功能,并在发生网络故障时恢复连接。The control plane (control plane) can also be called the control system, which is a part of OTN and consists of a group of communication entities, responsible for completing call control and connection control functions, and restoring the connection when a network failure occurs.
动态重路由(rerouteing)是一种业务恢复方式,在OTN管道路径中断的情况下,首节点计算出一条管道恢复的最佳路径,然后通过信令建立起一条新的路径管道,由新的路径管道来承载业务流量。Dynamic rerouting (rerouteing) is a service recovery method. When the OTN pipeline path is interrupted, the head node calculates an optimal path for pipeline recovery, and then establishes a new path pipeline through signaling. The new path Pipes to carry business traffic.
OTN软件(software)为用于实现OTN各种功能的软件代码,部署在设备上,使设备具有OTN能力。OTN software (software) is a software code used to implement various functions of the OTN, and is deployed on a device so that the device has an OTN capability.
断纤(fiber failure)即光纤中断。光纤中断会导致管道路径经过这条光纤的管道发生故障,导致承载在上面的业务信号中断。Fiber failure is the interruption of the fiber. The interruption of the optical fiber will cause the failure of the pipeline passing through the optical fiber, resulting in the interruption of the service signal carried on it.
每条光纤有N个波长(wavelength),常见为80波,96波,120波。每个波长同一时间仅能被一条管道路径使用。Each optical fiber has N wavelengths (wavelength), commonly 80 waves, 96 waves, and 120 waves. Each wavelength can only be used by one pipe path at a time.
路径(path)包括多个收尾相连的光纤。A path includes a plurality of optical fibers that are pigtailed together.
集中控制器(centralized controller)具备完整的控制平面能力。The centralized controller has complete control plane capabilities.
路由计算器(routing calculator)具备路由计算能力。The routing calculator (routing calculator) has routing calculation capabilities.
路由执行器(routing executor)也叫控制系统执行模块,用于预先存储的路径,无路径计算能力。一般位于OTN管道的首节点。The routing executor is also called the control system execution module, which is used for pre-stored paths and has no path calculation capability. It is generally located at the first node of the OTN pipeline.
为了更好地理解本申请实施例,下面先对本申请实施例的相关技术进行描述。In order to better understand the embodiment of the present application, the related technologies of the embodiment of the present application are firstly described below.
OTN网络中的发送端可以将接收的各种业务流量(例如:视频业务、以太业务)先转换为光通路数据单元(optical channel data unit,ODUK)信号,之后可以通过标准协议将ODUK信号转换成一个或多个光信号,之后可以通过合波器(multiplexer)将这一个或多个光信号汇合在一起,并耦合到同一根光纤中进行传输。OTN网络中的接收端接收到这一个或多个光信号之后,可以经分波器(demultiplexer)将各种波长的光信号分离出来,之后光接收机可以将光信号转换为ODUK信号,再通过ODUK信号恢复出原信号。The sending end in the OTN network can first convert various service traffic received (such as video service and Ethernet service) into optical channel data unit (ODUK) signals, and then convert the ODUK signals into optical channel data unit (ODUK) signals through standard protocols One or more optical signals can then be combined by a multiplexer (multiplexer), and coupled into the same optical fiber for transmission. After the receiving end in the OTN network receives the one or more optical signals, the optical signals of various wavelengths can be separated by a demultiplexer, and then the optical receiver can convert the optical signals into ODUK signals, and then pass The ODUK signal is restored to the original signal.
OTN网络可以包括多个网元和多根光纤。每个网元可以包括多个入端口和出端口,每根光纤包括多个波长等。将不同波长的光信号复用到一根光纤中进行传送的方式可以称为波分复用,因此,波分光网络中每一条光纤具有多个波长,例如:80波、96波、120波等。每一根光纤上的每个波长同一时刻只能被一条路径占用。An OTN network may include multiple network elements and multiple optical fibers. Each network element may include multiple ingress ports and egress ports, each optical fiber may include multiple wavelengths, and the like. The method of multiplexing optical signals of different wavelengths into one optical fiber for transmission can be called wavelength division multiplexing. Therefore, each optical fiber in a wavelength division optical network has multiple wavelengths, such as: 80 waves, 96 waves, 120 waves, etc. . Each wavelength on each fiber can only be occupied by one path at a time.
其中,承载同一业务的光信号途径的光纤链路组成的首位相连的路径即是一条OTN管道的路径,路径构成的管道称为OTN管道。Wherein, the first connected path formed by the optical fiber links carrying the optical signal path of the same service is the path of an OTN pipe, and the pipe formed by the paths is called an OTN pipe.
波分OTN有拓扑自动发现,路由自动计算的能力,具有强大的抗网络故障恢复能力。用户部署OTN时通常采用动态重路由的方式灵活抗网络故障。WDM OTN has the ability to automatically discover topology and automatically calculate routes, and has strong resilience against network failures. When users deploy OTN, they usually use dynamic rerouting to flexibly resist network failures.
OTN网络出现故障后,可以采用动态重路由的方式能够使中断的OTN管道在短时间内完成路由恢复。动态重路由的实施主体是OTN控制平面(也称作控制系统)。After an OTN network fails, dynamic rerouting can be used to restore the route of the interrupted OTN pipeline in a short time. The subject of implementing dynamic rerouting is the OTN control plane (also referred to as a control system).
动态重路由是OTN的核心特性之一,是一种兼顾保护能力和资源利用率的保护方式,有了它,可以使多次断纤的路径恢复成为了可能。因此,在OTN管道中存在光纤、网元(即节点)等故障的情况下,如何通过动态重路由快速地恢复OTN管道,使业务正常传输非常重要。Dynamic rerouting is one of the core features of OTN. It is a protection method that takes into account protection capabilities and resource utilization. With it, it is possible to restore paths that have suffered multiple fiber cuts. Therefore, in the case of faults such as optical fibers and network elements (that is, nodes) in the OTN pipeline, how to quickly restore the OTN pipeline through dynamic rerouting to enable normal service transmission is very important.
为了更好地理解本申请实施例公开的一种通信方法、装置及系统,下面先对本申请实施例使用的网络架构进行描述。请参阅图1,图1是本申请实施例公开的一种网络架构示意图。如图1所示,该网络架构可以包括一个集中控制器、多个路由计算器(图中示意出了1个)和多个路由执行器(图中示意出了1个)。集中控制器,用于根据路由计算器的计算能力信息为路由计算器分配故障实例。路由计算器,用于为故障实例对应的OTN管道计算恢复路径。路由执行器,用于在故障发生时,根据路由计算器计算的恢复路径对OTN管道进行恢复。In order to better understand a communication method, device, and system disclosed in the embodiment of the present application, the network architecture used in the embodiment of the present application is first described below. Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application. As shown in FIG. 1 , the network architecture may include a centralized controller, multiple routing calculators (one is shown in the figure) and multiple routing executors (one is shown in the figure). The centralized controller is configured to assign fault instances to the routing calculator according to the computing capability information of the routing calculator. The route calculator is used to calculate the restoration path for the OTN pipeline corresponding to the faulty instance. The route executor is used to recover the OTN pipeline according to the recovery path calculated by the route calculator when a fault occurs.
集中控制器具有比路由计算器和路由执行器更高的计算能力和存储能力,路由计算器具有比路由执行器更高的计算能力和存储能力。集中控制器、路由计算器和路由执行器可以为主控板、服务器、个人计算机(personal computer,PC)等。集中控制器、路由计算器和路由执行器可以相同,但它们的计算能力和存储能力不同。集中控制器、路由计算器和路由执行器也可以不同。The centralized controller has higher computing power and storage capacity than the routing calculator and the routing executor, and the routing calculator has higher computing power and storage capacity than the routing executor. The centralized controller, routing calculator, and routing executor can be a main control board, a server, a personal computer (personal computer, PC) and the like. The centralized controller, route calculator and route executor can be the same, but their computing power and storage capacity are different. Centralized controllers, route calculators and route executors can also be different.
需要说明的是,图1所示的网络架构中不限于仅包括图中所示的路由计算器和路由执行器,还可以包括其它未在图中表示的路由计算器和路由执行器,具体本申请在此处不再一一列举。It should be noted that the network architecture shown in Figure 1 is not limited to include only the routing calculator and routing executor shown in the figure, and may also include other routing calculators and routing executors not shown in the figure. Applications are not listed here.
基于上述网络架构,请参阅图2,图2是本申请实施例公开的一种通信方法的流程示意图。如图2所示,该通信方法可以包括以下步骤。Based on the foregoing network architecture, please refer to FIG. 2 , which is a schematic flowchart of a communication method disclosed in an embodiment of the present application. As shown in Fig. 2, the communication method may include the following steps.
201.多个路由计算器向集中控制器发送计算能力信息。201. Multiple routing calculators send computing capability information to the centralized controller.
相应地,路由计算器接收来自多个路由计算器的计算能力信息。Accordingly, the route calculator receives computing capability information from a plurality of route calculators.
多个路由计算器为集中控制器管理的路由计算器。集中控制器管理的多个路由计算器可以向集中控制器发送各自的计算能力信息,即多个路由计算器中的每个路由计算器可以分别向集中控制器上报各自的计算能力信息。路由计算器可以主动向集中控制器上报自身的计算能力信息。例如,路由计算器可以在第一次接入集中控制器的时候向集中控制器主动上报自身的计算能力信息。再例如,路由计算器可以周期性地向集中控制器上报自身的计算能力信息。The multiple route calculators are route calculators managed by the centralized controller. Multiple routing calculators managed by the centralized controller may send respective computing capability information to the centralized controller, that is, each of the multiple routing calculators may report respective computing capability information to the centralized controller. The routing calculator can actively report its own computing capability information to the centralized controller. For example, the routing calculator can actively report its computing capability information to the centralized controller when it is connected to the centralized controller for the first time. For another example, the routing calculator may periodically report its own computing capability information to the centralized controller.
路由计算器也可以被动地向集中控制器上报自身的计算能力信息。集中控制器可以在刚启动的时候,也可以在没有故障发生的情况下,可以向路由计算器发送用于请求计算能力信息的请求。路由计算器接收到来自集中控制器的请求之后,可以根据该请求向集中控制器发送自身的计算能力信息。一种情况下,集中控制器可以通过广播方式或组播方式向多个路由计算器发送请求。此时,集中控制器只需要发送一个请求即可。多个路由计算器均可以接收到集中控制器发送的这个请求,可以根据这个请求向集中控制器上报计算能力信息。另一种情况下,集中控制器可以向多个路由计算器中的每个路由计算器分别发送一个请求。例如,集中控制器可以向第一路由计算器发送第一请求,第一请求用于请求第一路由计算器的计算能力信息。第一路由计算器接收来自集中控制器的第一请求,之后可以根据第一请求向集中控制器发送第一路由计算器的计算能力信息。第一路由计算器为上述多个路由计算器中的任一路由计算器。The routing calculator can also passively report its own computing capability information to the centralized controller. The centralized controller can send a request for computing capability information to the routing calculator when it is just started or when no fault occurs. After the routing calculator receives the request from the centralized controller, it can send its own computing capability information to the centralized controller according to the request. In one case, the centralized controller may send requests to multiple routing calculators in a broadcast or multicast manner. At this point, the centralized controller only needs to send a request. Multiple routing calculators can receive the request sent by the centralized controller, and can report computing capability information to the centralized controller according to the request. In another case, the centralized controller may separately send a request to each of the multiple route calculators. For example, the centralized controller may send a first request to the first routing calculator, where the first request is used to request computing capability information of the first routing calculator. After receiving the first request from the centralized controller, the first routing calculator may send computing capability information of the first routing calculator to the centralized controller according to the first request. The first route calculator is any one of the above-mentioned multiple route calculators.
路由计算器的计算能力信息可以包括路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个。在路由计算器确定的情况下,路由计算器的主频和CPU核数是固定不变的,而路由计算器的内存信息、CPU信息和负载会随着路由计算器的使用情况发生变化。内存信息可以为空闲内存,即剩余内存大小,也即当前可以使用的内存大小;也可以为总内存,即所有内存大小;还可以为空闲内存和总内存,还可以为空闲内存与总内存的比值。CPU信息可以为空闲CPU,即剩余CPU大小,也即当前可以使用的CPU大小;也可以为总CPU,即所有CPU大小;还可以为空闲CPU和总CPU;还可以为CPU占用率。CPU占用率为已使用CPU与总CPU的比值。CPU占用率可以为当前CPU的占用率,也可以为一段时间内CPU的平均占用率,还可以为一段时间时间内CPU的最大占用率或最小占用率。主频为路由计算器的CPU的时钟频率,主频越大,表明路由计算器的处理能力越强。The computing capability information of the routing calculator may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load of the routing calculator. Under the condition that the routing calculator is determined, the main frequency and the number of CPU cores of the routing calculator are fixed, while the memory information, CPU information and load of the routing calculator will change with the usage of the routing calculator. Memory information can be free memory, that is, the size of remaining memory, that is, the size of currently available memory; it can also be total memory, that is, the size of all memory; it can also be free memory and total memory, or it can be the ratio of free memory and total memory ratio. The CPU information can be idle CPU, that is, the remaining CPU size, that is, the currently usable CPU size; it can also be the total CPU, that is, the size of all CPUs; it can also be the idle CPU and the total CPU; it can also be the CPU usage. The CPU usage is the ratio of the used CPU to the total CPU. The CPU usage rate may be a current CPU usage rate, an average CPU usage rate within a period of time, or a maximum CPU usage rate or a minimum CPU usage rate within a period of time. The main frequency is the clock frequency of the CPU of the routing calculator, and the higher the main frequency, the stronger the processing capability of the routing calculator.
202.集中控制器根据多个路由计算器的计算能力信息为多个路由计算器分配故障实例。202. The centralized controller allocates fault instances to multiple routing calculators according to the computing capability information of the multiple routing calculators.
集中控制器可以先确定需要处理的所有故障实例。一个故障实例可以包括N条OTN管道的恢复路径的计算任务,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数。即一个故障实例包括通过同一故障链路的所有OTN管道的恢复路径的计算任务。因此,集中控制器可以先确定当前网络中所有OTN管道,之后可以确定所有OTN管道包括的所有可能的故障链路,然后针对所有可能的故障链路中每个故障链路确定经过该故障链路的所有OTN管道,之后确定包括每个故障链路的所有OTN管道的恢复路径的计算任务为一个故障实例,可以得到所有故障实例。故障链路可以为光纤,也可以为节点,还可以为光纤+节点。A centralized controller can first identify all fault instances that need to be handled. A fault instance may include a calculation task of recovering paths of N OTN pipes, where N OTN pipes are all OTN pipes passing through the same faulty link, and N is an integer greater than or equal to 1. That is, a fault instance includes calculation tasks of restoration paths of all OTN pipes passing through the same faulty link. Therefore, the centralized controller can first determine all OTN pipes in the current network, and then determine all possible faulty links included in all OTN pipes, and then determine the faulty link passing through the faulty link for each faulty link in all possible faulty links. All OTN pipes of all OTN pipes, and then the calculation task of determining the recovery path of all OTN pipes including each faulty link is a fault instance, and all fault instances can be obtained. The faulty link can be an optical fiber, a node, or an optical fiber+node.
举例说明,请参阅图3,图3是本申请实施例公开的一种OTN网络的示意图。如图3所示,当前OTN网络中有两条OTN管道,分别为A-F-C和F-C。在故障链路为光纤的情况下,这两条OTN管道包括的所有故障链路为网元A与网元F之间的光纤、网元F与网元C之间的光纤,经过网元A与网元F之间的光纤的OTN管道为A-F-C,经过网元F与网元C之间的光纤的OTN管道为A-F-C和F-C,网元A与网元F之间的光纤对应的故障实例为计算A-F-C管道的恢复路径,网元F与网元C之间的光纤对应的故障实例包括A-F-C管道和F-C管道的恢复路径的计算任务。For example, please refer to FIG. 3 . FIG. 3 is a schematic diagram of an OTN network disclosed in an embodiment of the present application. As shown in Figure 3, there are two OTN pipes in the current OTN network, namely A-F-C and F-C. If the faulty link is an optical fiber, all the faulty links included in the two OTN pipes are the optical fiber between NE A and NE F, and the optical fiber between NE F and NE C. The OTN pipe of the optical fiber between NE F and NE F is A-F-C, the OTN pipe of the optical fiber passing between NE F and NE C is A-F-C and F-C, and the corresponding fault example of the optical fiber between NE A and NE F is Calculate the recovery path of the A-F-C pipeline, and the fault instance corresponding to the optical fiber between the network element F and the network element C includes the calculation task of the recovery path of the A-F-C pipeline and the F-C pipeline.
在故障链路为节点的情况下,这两条OTN管道包括的所有故障链路为网元A、网元F和网元C,经过网元A的OTN管道为A-F-C,经过网元F的OTN管道为A-F-C和F-C,经过网元C的OTN管道为A-F-C和F-C。在经过网元A的OTN管道为A-F-C,经过网元F的OTN管道为F-C,经过网元C的OTN管道为A-F-C和F-C的情况下,由于这些OTN管道中出现故障的节点为OTN 管道的首节点或尾节点,它们的路径无法成功恢复,因此,只需要确定网元F对应的故障实例包括A-F-C管道的恢复路径的计算任务。If the faulty link is a node, all the faulty links included in the two OTN pipes are NE A, NE F, and NE C. The OTN pipe passing through NE A is A-F-C, and the OTN pipe passing through NE F is The pipes are A-F-C and F-C, and the OTN pipes passing through NE C are A-F-C and F-C. In the case that the OTN pipeline passing through NE A is A-F-C, the OTN pipeline passing through NE F is F-C, and the OTN pipeline passing through NE C is A-F-C and F-C, since the faulty node in these OTN pipelines is the first OTN pipeline Nodes or tail nodes, their paths cannot be restored successfully, therefore, it is only necessary to determine the fault instance corresponding to the network element F, including the calculation task of restoring the path of the A-F-C pipeline.
在故障链路为光纤+节点的情况下,这两条OTN管道包括的所有故障链路为网元A与网元F之间的光纤、网元F与网元C之间的光纤、网元A、网元F和网元C,确定网元A与网元F之间的光纤对应的故障实例包括A-F-C管道的恢复路径的计算任务、网元F与网元C之间的光纤对应的故障实例包括A-F-C和F-C管道的恢复路径的计算任务、网元F对应的故障实例包括A-F-C管道的恢复路径的计算任务。In the case that the faulty link is fiber + node, all the faulty links included in the two OTN pipes are the optical fiber between NE A and NE F, the optical fiber between NE F and C, and the A. Network element F and network element C, determine the faults corresponding to the optical fiber between network element A and network element F, including the calculation task of the restoration path of the A-F-C pipeline, and the corresponding faults of the optical fiber between network element F and network element C The instance includes the calculation task of the recovery path of the A-F-C and F-C pipelines, and the fault instance corresponding to the network element F includes the calculation task of the recovery path of the A-F-C pipeline.
集中控制器接收到来自多个路由计算器的计算能力信息之后,可以根据多个路由计算器的计算能力信息为多个路由计算器分配故障实例,即可以根据多个路由计算器的计算能力信息将上述确定的所有可能的故障实例分配给多个路由计算器。属于同一故障实例的计算任务被分配给同一个路由计算器,可以理解为一个故障实例的所有计算任务必须分配给同一个路由计算器。应理解,不同故障实例的计算任务可以分配给同一个路由计算器,也可以分配给不同的路由计算器。After the centralized controller receives the computing capability information from multiple routing calculators, it can assign fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators, that is, it can All possible failure instances identified above are distributed to multiple route calculators. Computing tasks belonging to the same fault instance are assigned to the same routing calculator, which can be understood as all computing tasks of a fault instance must be assigned to the same routing calculator. It should be understood that calculation tasks of different fault instances may be allocated to the same route calculator, or may be allocated to different route calculators.
一种情况下,集中控制器并不需要对多个路由计算器中的每个路由计算器分配故障实例,只需要对多个路由计算器中满足条件的路由计算器分配故障实例。此时,集中控制器可以先从多个路由计算器中选取满足条件的M个路由计算器,之后可以为这M个路由计算器分别分配故障实例,即根据M个路由计算器的计算能力信息将上述确定的所有故障实例分配给M个路由计算器。M为大于或等于1的整数。In one case, the centralized controller does not need to allocate fault instances to each of the multiple route calculators, but only needs to allocate fault instances to route calculators that meet the conditions among the multiple route calculators. At this time, the centralized controller can first select M routing calculators that meet the conditions from multiple routing calculators, and then assign fault instances to the M routing calculators respectively, that is, according to the computing capability information of the M routing calculators Distribute all fault instances identified above to M route calculators. M is an integer greater than or equal to 1.
集中控制器可以从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值的路由计算器,可以获得M个路由计算器。第一阈值可以根据内存确定,例如,在内存大小为2G的情况下,第一阈值可以为100M。应理解,上述对第一阈值的举例只是示例性的说明,并不对第一阈值的值构成限定。此处内存信息对应的内存为空闲内存。The centralized controller may select a route calculator whose memory information corresponds to a memory greater than or equal to the first threshold from multiple route calculators, and obtain M route calculators. The first threshold may be determined according to memory, for example, in a case where the memory size is 2G, the first threshold may be 100M. It should be understood that the above examples of the first threshold are only exemplary descriptions, and do not limit the value of the first threshold. The memory corresponding to the memory information here is free memory.
集中控制器也可以从多个路由计算器中选取CPU信息对应的CPU小于或等于第二阈值的路由计算器,可以获得M个路由计算器。第二阈值可以根据CPU确定。例如,在CPU信息对应的CPU为CPU占用率的情况下,第二阈值可以为70%、80%、90%等。应理解,在CPU信息为空闲CPU或总CPU的情况下,集中控制器也可以从多个路由计算器中选取CPU信息对应的CPU大于或等于第二阈值的路由计算器,可以获得M个路由计算器。应理解,上述对第二阈值的举例只是示例性的说明,并不对第二阈值的值构成限定。The centralized controller may also select a routing calculator whose CPU corresponding to the CPU information is less than or equal to the second threshold from a plurality of routing calculators, and M routing calculators may be obtained. The second threshold can be determined according to the CPU. For example, in the case that the CPU corresponding to the CPU information is the CPU usage rate, the second threshold may be 70%, 80%, 90% and so on. It should be understood that, when the CPU information is idle CPU or total CPU, the centralized controller may also select a route calculator whose CPU corresponding to the CPU information is greater than or equal to the second threshold from a plurality of route calculators, and M route calculators may be obtained. calculator. It should be understood that the above examples of the second threshold are only exemplary descriptions, and do not limit the value of the second threshold.
路由计算器还可以从多个路由计算器中选取负载小于或等于第三阈值的路由计算器,可以获得M个路由计算器。例如,第三阈值为75%、85%、95%等。应理解,上述对第三阈值的举例只是示例性的说明,并不对第三阈值的值构成限定。The routing calculator may also select a routing calculator whose load is less than or equal to the third threshold from multiple routing calculators, and M routing calculators may be obtained. For example, the third threshold is 75%, 85%, 95% and so on. It should be understood that the above examples of the third threshold are only exemplary descriptions, and do not limit the value of the third threshold.
集中控制器还可以从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值,以及CPU信息对应的CPU小于或等于第二阈值的路由计算器,可以获得M个路由计算器。集中控制器还可以从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值,以及负载小于或等于第三阈值的路由计算器,可以获得M个路由计算器。集中控制器还可以从多个路由计算器中选取CPU信息对应的CPU小于或等于第二阈值,以及负载小于或等于第三阈值的路由计算器,可以获得M个路由计算器。集中控制器还可以从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值,CPU信息对应的CPU小于或等于第二阈值,以及负载小于或等于第三阈值的路由计算器,可以获得M个路由计算器。The centralized controller can also select routing calculators whose memory corresponding to the memory information is greater than or equal to the first threshold and whose CPU corresponding to the CPU information is less than or equal to the second threshold from multiple routing calculators to obtain M routing calculators. The centralized controller can also select routing calculators whose memory corresponding to the memory information is greater than or equal to the first threshold and whose load is less than or equal to the third threshold from multiple routing calculators to obtain M routing calculators. The centralized controller may also select a routing calculator whose CPU corresponding to the CPU information is less than or equal to the second threshold and whose load is less than or equal to the third threshold from multiple route calculators, and M route calculators may be obtained. The centralized controller may also select a route calculator whose memory corresponding to the memory information is greater than or equal to the first threshold, whose CPU corresponding to the CPU information is less than or equal to the second threshold, and whose load is less than or equal to the third threshold, from a plurality of routing calculators, M routing calculators are available.
应理解,在内存信息不同的情况下,第一阈值的值可以不同,集中控制器可以选内存信息对应的内存大于或等于第一阈值,也可以选内存信息对应的内存小于或等于第一阈值,具体可以根据内存信息对应的内存确定。同理,在CPU信息不同的情况下,第二阈值的值可以不同,集中控制器可以选CPU信息对应的CPU大于或等于第二阈值,也可以选CPU信息对应的CPU小于或等于第二阈值,具体可以根据CPU信息对应的CPU确定。It should be understood that in the case of different memory information, the value of the first threshold may be different, and the centralized controller may select the memory corresponding to the memory information to be greater than or equal to the first threshold, or select the memory corresponding to the memory information to be less than or equal to the first threshold , which can be determined according to the memory corresponding to the memory information. Similarly, when the CPU information is different, the value of the second threshold can be different. The centralized controller can select the CPU corresponding to the CPU information to be greater than or equal to the second threshold, or select the CPU corresponding to the CPU information to be less than or equal to the second threshold. , which can be specifically determined according to the CPU corresponding to the CPU information.
之后集中控制器可以根据M个路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个,将故障实例(即上述确定的所有故障实例)分配给M个路由计算器。例如,在计算能力信息只包括内存信息,且内存信息为空闲内存的情况下,可以为空闲内存大的路由计算器分配较多的故障实例,也可以为空闲内存较大的路由计算器分配计算量较大的故障实例。再例如,在计算能力信息只包括CPU信息,且CPU信息为CPU占用率的情况下,可以为CPU占用率小的路由计算器分配较多的故障实例,也可以为CPU占用率小的路由计算器分配计算量较大的故障实例。再例如,在计算能力信息只包括主频的情况下,可以为主频大的路由计算器分配较多的故障实例,也可以为主频大的路由计算器分配计算量较大的故障实例。再例如,在计算能力信息只包括CPU核数的情况下,可以为CPU核数大的路由计算器分配较多的故障实例,也可以为CPU核数大的路由计算器分配计算量较大的故障实例。再例如,在计算能力信息只包括负载的情况下,可以为负载小的路由计算器分配较多的故障实例,也可以为负载小的路由计算器分配计算量较大的故障实例。Afterwards, the centralized controller can assign fault instances (that is, all fault instances determined above) to M routing calculators according to one or more of the memory information, CPU information, main frequency, CPU core number, and load of the M routing calculators. calculator. For example, when the computing capability information only includes memory information, and the memory information is free memory, more fault instances can be allocated to routing calculators with large free memory, and calculations can also be allocated to routing calculators with large free memory. A large number of fault instances. For another example, when the computing capability information only includes CPU information, and the CPU information is the CPU usage rate, you can assign more fault instances to the route calculator with a small CPU usage rate, or calculate The controller allocates faulty instances with a large amount of computation. For another example, when the computing capability information only includes the main frequency, more fault instances may be allocated to the routing calculator with a large main frequency, or fault instances with a large amount of calculation may be allocated to the routing calculator with a large main frequency. For another example, when the computing capability information only includes the number of CPU cores, more fault instances can be assigned to routing calculators with a large number of CPU cores, and routing calculators with a large Failure instance. For another example, when the computing capability information only includes load, more fault instances may be allocated to route calculators with light load, or fault instances with large calculation amount may be allocated to route calculators with light load.
在计算能力信息包括内存信息、CPU信息、主频、CPU核数和负载中的两个或两个以上的情况下,可以先计算这些信息的权重和,之后可以为权重和大的路由计算器分配较多的故障实例,也可以为权重和大的路由计算器分配计算量较大的故障实例。主频越大,主频对应的权重越大。负载越小,负载对应的权重越大。CPU核数越大,CPU核数对应的权重越大。空闲内存越大,内存对应的权重越大。CPU占用率越小或空闲CPU越大,CPU的权重越大。例如,计算能力信息包括主频和负载,主频对应的权重为0.2、负载对应的权重为0.3,那权重和为0.5。In the case that the computing capability information includes two or more of memory information, CPU information, main frequency, CPU core number, and load, the weight sum of these information can be calculated first, and then the weight sum and large route calculator can be calculated Allocate more failure instances, and can also allocate more computationally intensive failure instances for weight and large route calculators. The higher the main frequency, the greater the weight corresponding to the main frequency. The smaller the load, the greater the weight corresponding to the load. The greater the number of CPU cores, the greater the weight corresponding to the number of CPU cores. The larger the free memory, the greater the weight corresponding to the memory. The smaller the CPU usage or the larger the idle CPU, the greater the weight of the CPU. For example, the computing capability information includes a main frequency and a load, and the weight corresponding to the main frequency is 0.2, and the weight corresponding to the load is 0.3, so the sum of the weights is 0.5.
另一种情况下,集中控制器可以根据多个路由计算器的计算能力信息将上述确定的所有可能的故障实例分配给多个路由计算器。即为上述多个路由计算器中每个路由计算器均分配了故障实例。分配方式可以参考上述为M个路由计算器分配故障实例的方式。In another case, the centralized controller may allocate all possible fault instances determined above to multiple routing calculators according to the computing capability information of the multiple routing calculators. That is, a failure instance is assigned to each of the above multiple route calculators. For the allocation method, refer to the above-mentioned method for allocating fault instances to M routing calculators.
此外,路由计算器还可以为每个故障实例确定拓扑范围,即确定每个故障实例对应的计算任务能够使用的节点(即网元)、光纤、波长、端口等。应理解,一个故障实例中不同OTN管道对应的拓扑范围可以相同,也可以不同。例如,如图3所示,经过网元F与网元C之间的光纤的OTN管道为A-F-C和F-C,网元F与网元C之间的光纤对应的故障实例对应的拓扑范围可以为网元E、网元A与网元E之间的光纤、网元E与网元C之间的光纤、波长2。In addition, the routing calculator can also determine the topology range for each fault instance, that is, determine the nodes (ie, network elements), optical fibers, wavelengths, ports, etc. that can be used by the computing tasks corresponding to each fault instance. It should be understood that the topology ranges corresponding to different OTN pipes in a fault instance may be the same or different. For example, as shown in Figure 3, the OTN pipes passing through the fiber between NE F and C are A-F-C and F-C, and the topology range corresponding to the fault instance corresponding to the fiber between NE F and C can be network Element E, the optical fiber between NE A and E, the optical fiber between E and C, and wavelength 2.
一个故障实例对应的拓扑范围可以根据这个故障实例对应的所有OTN管道的首节点和尾节点确定。例如,可以以一个故障实例对应的所有OTN管道的首节点和尾节点分别为中心,将处于这些首节点和尾节点一定范围内的拓扑确定为这个故障实例对应的拓扑范围。The topology range corresponding to a fault instance can be determined according to the head node and tail node of all OTN pipelines corresponding to the fault instance. For example, the head node and tail node of all OTN pipes corresponding to a fault instance may be centered, and the topology within a certain range of these head nodes and tail nodes may be determined as the topology range corresponding to the fault instance.
应理解,在故障实例的数量大于或等于待分配故障实例的路由计算器的数量的情况下,待分配故障实例的路由计算器中每个路由计算器均分配有故障实例。在故障实例的数量小于待分配故障实例的路由计算器的数量的情况下,待分配故障实例的路由计算器只有部分路由计算器分配有故障实例。待分配故障实例的路由计算器可以为上述多个路由计算器,也可以 为上述M个路由计算器。It should be understood that, when the number of faulty instances is greater than or equal to the number of routing calculators to which faulty instances are to be allocated, each of the routing calculators to which faulty instances are to be allocated is assigned a faulty instance. When the number of faulty instances is less than the number of routing calculators to which faulty instances are to be allocated, only some routing calculators to which faulty instances are to be allocated have faulty instances. The routing calculators to be assigned fault instances can be the above-mentioned multiple routing calculators, or the above-mentioned M routing calculators.
203.集中控制器向多个路由计算器发送对应的故障实例。203. The centralized controller sends corresponding fault instances to multiple routing calculators.
相应地,路由计算器接收来自集中控制器的故障实例。Correspondingly, the route calculator receives fault instances from the centralized controller.
集中控制器根据多个路由计算器的计算能力信息为多个路由计算器分配故障实例之后,可以向多个路由计算器发送对应的故障实例,即可以将为多个路由计算器分配的故障实例分别发送给对应的路由计算器。After the centralized controller assigns fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators, it can send corresponding fault instances to multiple routing calculators, that is, the fault instances that can be allocated to multiple routing calculators are sent to the corresponding routing calculators respectively.
在根据M个路由计算器的CPU信息、主频、CPU核数、负载和内存信息中的一个或多个,将故障实例分配给M个路由计算器的情况下,集中控制器可以向M个路由计算器发送对应的故障实例,即可以将为M个路由计算器分配的故障实例分别发送给对应的路由计算器。In the case of assigning fault instances to M routing calculators according to one or more of the CPU information, main frequency, CPU core number, load and memory information of M routing calculators, the centralized controller can send information to the M routing calculators. The route calculator sends the corresponding fault instances, that is, the fault instances assigned to the M route calculators may be sent to the corresponding route calculators respectively.
故障实例可以包括故障信息、管道信息和路径信息。在故障链路为光纤的情况下,故障信息可以为故障光纤的信息。例如,故障光纤的信息可以为故障光纤的标识(identity document,ID),也可以为其他可以唯一标识故障光纤的信息。在故障链路为节点的情况下,故障信息可以为节点的信息。例如,节点的信息可以为网元的名称、编号、ID等可以唯一标识节点的信息。管道信息可以包括管道的ID、首节点的信息和尾节点的信息。路径信息可以包括节点信息和端口信息。节点信息可以包括路径中每个节点的信息。端口信息可以包括首节点的出端口的信息,中间节点的出端口和入端口的信息,以及尾节点的入端口的信息。A fault instance may include fault information, pipeline information, and path information. In the case that the faulty link is an optical fiber, the fault information may be information about the faulty optical fiber. For example, the information of the faulty fiber may be an identification (identity document, ID) of the faulty fiber, or other information that can uniquely identify the faulty fiber. In the case that the faulty link is a node, the fault information may be information of the node. For example, the node information may be information that can uniquely identify the node, such as the name, serial number, and ID of the network element. The pipeline information may include the ID of the pipeline, the information of the first node and the information of the tail node. Path information may include node information and port information. Node information may include information for each node in the path. The port information may include the information of the outgoing port of the head node, the information of the outgoing port and the incoming port of the intermediate node, and the information of the incoming port of the tail node.
此外,故障实例可以携带有或包括拓扑资源信息。拓扑资源信息为集中控制器在步骤202确定的拓扑范围的资源信息,可以包括供故障实例对应的计算任务使用的节点、光纤、波长、端口等的信息。In addition, the fault instance may carry or include topology resource information. The topology resource information is the resource information of the topology range determined by the centralized controller in step 202, and may include information on nodes, optical fibers, wavelengths, ports, etc. used by computing tasks corresponding to the fault instance.
204.路由计算器为故障实例对应的OTN管道分别计算恢复路径得到K条恢复路径。204. The routing calculator calculates restoration paths for the OTN pipes corresponding to the fault instance to obtain K restoration paths.
路由计算器接收到来自集中控制器的故障实例之后,可以为接收的故障实例对应的OTN管道分别计算恢复路径得到K条恢复路径。路由计算器接收到的故障实例可以包括一个故障实例,也可以包括多个故障实例。在接收的故障实例包括一个故障实例的情况下,可以确定这个障实例对应的所有OTN管道,之后根据故障信息为这些OTN管道中的每个OTN管道分别计算一条恢复路径,可以得到K条恢复路径。在接收的故障实例包括多个故障实例的情况下,可以确定每个障实例对应的所有OTN管道,之后根据每个故障实例对应的故障信息为每个故障实例对应的所有OTN管道中的每个OTN管道分别计算一条恢复路径,可以得到K条恢复路径。K为大于或等于1的整数。应理解,不同故障实例对应的恢复路径的计算可以是并行执行的,也可以是串行执行的。After the route calculator receives the fault instance from the centralized controller, it can calculate the restoration path for the OTN pipeline corresponding to the received fault instance to obtain K restoration paths. The fault instance received by the routing calculator may include one fault instance or multiple fault instances. In the case that the received fault instance includes a fault instance, all the OTN pipes corresponding to this fault instance can be determined, and then a restoration path is calculated for each of these OTN pipes according to the fault information, and K restoration paths can be obtained . In the case that the received fault instance includes multiple fault instances, all the OTN pipes corresponding to each fault instance can be determined, and then according to the fault information corresponding to each fault instance, each of all the OTN pipes corresponding to each fault instance The OTN pipeline calculates a recovery path respectively, and K recovery paths can be obtained. K is an integer greater than or equal to 1. It should be understood that the calculation of recovery paths corresponding to different fault instances may be performed in parallel or in series.
路由计算器计算恢复路径时,可以按照跳数较少、负载均衡、距离短、光参数好等中的一个或多个进行计算。When the routing calculator calculates the recovery path, it can perform calculation according to one or more of less hops, load balancing, short distance, and good optical parameters.
应理解,在接收到的故障实例包括多个故障实例的情况下,可能出现两个故障实例对应同一OTN管道的情况,由于它们对应的故障链路不同,因此可以将它们看作两个OTN管道,分别计算两条恢复路径。It should be understood that when the received fault instance includes multiple fault instances, there may be a situation where two fault instances correspond to the same OTN pipe. Since their corresponding faulty links are different, they can be regarded as two OTN pipes , to calculate the two recovery paths respectively.
应理解,步骤204中的路由计算器为上述多个路由计算器或上述M个路由计算器中的任意一个路由计算器。例如,该路由计算器可以为第二路由计算器。It should be understood that the routing calculator in step 204 is any routing calculator among the aforementioned plurality of routing calculators or the aforementioned M routing calculators. For example, the routing calculator may be a second routing calculator.
路由计算器可以先确定拓扑范围,之后可以根据拓扑范围为接收的故障实例对应的OTN管道分别计算恢复路径得到K条恢复路径。在接收的故障实例包括或携带有拓扑资源信息的情况下,可以根据拓扑资源信息确定拓扑范围。在接收的故障实例不包括或没有携带有拓扑 资源信息的情况下,可以确定拓扑范围为整个网络。The routing calculator can first determine the topology range, and then calculate the recovery paths for the OTN pipelines corresponding to the received fault instance according to the topology range to obtain K recovery paths. In the case that the received fault instance includes or carries topology resource information, the topology range may be determined according to the topology resource information. When the received fault instance does not include or carry topology resource information, it can be determined that the topology range is the entire network.
在一种情况下,路由计算器为故障实例对应的OTN管道分别计算恢复路径得到K条恢复路径之后,可以向第一路由执行器发送第二恢复路径。相应地,第一路由执行器接收来自路由计算器的第二恢复路径。第二恢复路径为K条恢复路径中的任一恢复路径,第一路由执行器为第二恢复路径对应的OTN管道中的一个或多个节点。即可以将K条恢复路径分别下发给对应的路由计算器。第二恢复路径对应的OTN管道中的一个或多个节点,可以为第二恢复路径对应的OTN管道中的首节点,也可以为第二恢复路径对应的OTN管道中的尾节点,还可以为第二恢复路径对应的OTN管道中的首节点和尾节点,还可以为第二恢复路径对应的OTN管道中的其他一个或多个节点。第二恢复路径可以包括故障信息、管道信息和恢复路径。恢复路径可以包括恢复路径的路径信息,即可以包括节点的信息、光纤的信息、该节点对应端口的信息、该光纤对应波长的信息。在节点为首节点的情况下,节点对应端口为节点的出端口。在节点为尾节点的情况下,节点对应端口为节点的入端口。此外,恢复路径还可以包括节点在恢复路径的序号,以便可以确定恢复路径的走向。In one case, the route calculator may send the second recovery path to the first routing executor after calculating recovery paths for the OTN pipeline corresponding to the fault instance and obtaining K recovery paths. Correspondingly, the first route executor receives the second restoration path from the route calculator. The second recovery path is any one of the K recovery paths, and the first route executor is one or more nodes in the OTN pipeline corresponding to the second recovery path. That is, the K recovery paths can be delivered to the corresponding routing calculators respectively. One or more nodes in the OTN pipeline corresponding to the second recovery path may be the first node in the OTN pipeline corresponding to the second recovery path, or may be the tail node in the OTN pipeline corresponding to the second recovery path, or may be The head node and tail node in the OTN pipeline corresponding to the second recovery path may also be one or more other nodes in the OTN pipeline corresponding to the second recovery path. The second recovery path may include fault information, pipeline information, and a recovery path. The restoration path may include path information of the restoration path, that is, may include node information, optical fiber information, information about the port corresponding to the node, and information about the wavelength corresponding to the optical fiber. In the case that the node is the head node, the corresponding port of the node is the outgoing port of the node. In the case that the node is a tail node, the port corresponding to the node is the ingress port of the node. In addition, the recovery path may also include the sequence numbers of the nodes on the recovery path, so that the direction of the recovery path can be determined.
此外,路由计算器还可以向集中控制器发送K条恢复路径。相应地,集中控制器可以接收来自路由计算器的K条恢复路径,存储K条恢复路径。K条恢复路径可以携带有路由计算器的信息。集中控制器在向路由计算器发送对应的故障实例之后的一定时间内,可以检测是否接收到路由计算器返回的计算结果,如果检测到返回的计算结果,则进行存储,如果超过一定时间未接收到返回计算结果,则表明该路由计算器出现异常,可以将发送给这个路由计算器的故障实例重新发送给其他路由计算器进行计算。检测到所有路由计算器返回的计算结果之后,可以存储所有的计算结果。集中控制器可以对返回的恢复路径进行统计,确定是否存在OTN管道中由于资源不足等原因导致计算失败的问题,若存在,可以输出预警信息,以便可以提示用户是否增加资源等。此处的资源可以为波长,也可以为其他,在此不加限定。In addition, the routing calculator can also send K recovery paths to the centralized controller. Correspondingly, the centralized controller can receive K restoration paths from the route calculator, and store the K restoration paths. The K recovery paths may carry the information of the route calculator. The centralized controller can detect whether the calculation result returned by the routing calculator is received within a certain period of time after sending the corresponding fault instance to the routing calculator. If the returned calculation result is detected, it will be stored. When the calculation result is returned, it indicates that the routing calculator is abnormal, and the fault instance sent to this routing calculator can be resent to other routing calculators for calculation. After detecting the calculation results returned by all routing calculators, all calculation results can be stored. The centralized controller can make statistics on the returned recovery path to determine whether there is a problem in the OTN pipeline that causes calculation failure due to insufficient resources and other reasons. If so, it can output early warning information so as to prompt the user whether to increase resources, etc. The resources here may be wavelengths or other resources, which are not limited here.
第一路由执行器接收到来自路由计算器的第二恢复路径之后,可以存储第二恢复路径。After receiving the second restoration path from the routing calculator, the first routing executor may store the second restoration path.
在后续检测到第一恢复路径对应管道信息对应的OTN管道发生其对应故障信息对应的故障的情况下,第二路由执行器可以建立第一恢复路径。第一恢复路径为K条恢复路径中的一条恢复路径,第二路由执行器为第一恢复路径对应的OTN管道中的一个节点。这个节点为第一恢复路径对应的OTN管道中未发生故障的节点,可以为首节点,也可以为尾节点,还可以为其他节点。In a case where a fault corresponding to the fault information corresponding to the OTN pipe corresponding to the pipe information corresponding to the first restoration path is subsequently detected, the second routing executor may establish the first restoration path. The first restoration path is one of the K restoration paths, and the second route executor is a node in the OTN pipeline corresponding to the first restoration path. This node is an unfailed node in the OTN pipeline corresponding to the first recovery path, and may be a head node, a tail node, or other nodes.
在第一恢复路径建立成功之后,第二路由执行器可以向第二路由计算器发送第二指示信息。第二指示信息用于指示第一恢复路径建立成功。第二路由计算器接收到第二指示信息之后,可以向集中控制器发送第一指示信息,第一指示信息用于指示第一恢复路径建立成功。集中控制器接收来自第二路由计算器的第一指示信息,之后可以将第一恢复路径占用的资源的状态更新为占用,可以向多个路由计算器中除第二路由计算器之外的路由计算器发送第一恢复路径对应的资源信息,资源信息可以包括第一恢复路径占用的信息,以便路由计算器在下次计算恢复路径的情况下,可以不使用被占用的资源。第一路由执行器与第二路由执行器可以相同,也可以不同。第一恢复路径占用的信息可以包括第一恢复路径占用的节点的信息、节点上端口的信息、光纤的信息和光纤上波长的信息等。After the first recovery path is successfully established, the second route executor may send second indication information to the second route calculator. The second indication information is used to indicate that the first recovery path is established successfully. After receiving the second indication information, the second routing calculator may send the first indication information to the centralized controller, where the first indication information is used to indicate that the first restoration path is established successfully. The centralized controller receives the first indication information from the second routing calculator, and then can update the status of the resources occupied by the first recovery path to occupied, and can send routing information to the routing calculators other than the second routing calculator among the multiple routing calculators. The calculator sends resource information corresponding to the first restoration path, and the resource information may include information occupied by the first restoration path, so that the routing calculator may not use occupied resources when calculating the restoration path next time. The first route executor and the second route executor may be the same or different. The information occupied by the first recovery path may include information on nodes occupied by the first recovery path, information on ports on nodes, information on optical fibers, information on wavelengths on optical fibers, and the like.
在第一恢复路径建立成功之后,第二路由执行器也可以向集中控制器发送第三指示信息,第三指示信息用于指示第一恢复路径建立成功。集中控制器接收来自第二路由执行器的第三 指示信息,之后可以将第一恢复路径占用的资源的状态更新为占用,可以向多个路由计算器中除第二路由计算器之外的路由计算器发送第一恢复路径对应的资源信息。在集中控制器中不存在第一恢复路径的情况下,第三指示信息可以包括第一恢复路径。其他详细描述可以参考上面的描述。After the first restoration path is successfully established, the second route executor may also send third indication information to the centralized controller, where the third indication information is used to indicate that the first restoration path is successfully established. The centralized controller receives the third indication information from the second routing executor, and then can update the state of the resources occupied by the first recovery path to occupied, and can send routing information to the routing calculators other than the second routing calculator among the multiple routing calculators. The calculator sends resource information corresponding to the first restoration path. In a case where the first restoration path does not exist in the centralized controller, the third indication information may include the first restoration path. For other detailed descriptions, refer to the above description.
请参阅图4,图4是本申请实施例公开的另一种OTN网络的示意图。如图4所示,网元A存储了A-C OTN管道在网元F与网元C之间的光纤发生故障的情况下,网元F收集到FC中断告警,网元F将故障信息通报各节点,网元A接收到FC故障信息之后,可以查找到自身存储的恢复路径<FC故障,A-C OTN管道,A-F-E-C>,网元A发起重路由路径建立,从首节点A开始,沿A-F-E-C建立新的恢复路径,A-C OTN管道的尾节点(即网元C)返回路径建立成功的信息给首节点A,首节点A可以向路由计算器发送建立成功的信息,路由计算器将恢复路径建立成功的信息传给集中控制器。集中控制器接收到路由计算器发送来的恢复路径建立成功的信息之后,可以根据新占用的路径更新网络的资源占用状态,包括波长等信息,以及可以将新的网络资源状态变化部分同步更新到所有的路由计算器。路由计算器将接收到的信息同步更新存储。此外,路由计算器可以将更新结果信息返回集中控制器。Please refer to FIG. 4 . FIG. 4 is a schematic diagram of another OTN network disclosed in an embodiment of the present application. As shown in Figure 4, network element A stores the A-C OTN pipe. When the optical fiber between network element F and network element C fails, network element F collects the FC interruption alarm, and network element F notifies each node of the fault information , after network element A receives the FC failure information, it can find the recovery path stored by itself <FC failure, A-C OTN pipeline, A-F-E-C>, network element A initiates the establishment of a rerouting path, starting from the first node A, along A-F-E-C to establish a new To restore the path, the tail node of the A-C OTN pipeline (that is, network element C) returns the information that the path is successfully established to the first node A, and the first node A can send the information that the path is successfully established to the routing calculator, and the routing calculator will restore the information that the path is successfully established to the centralized controller. After the centralized controller receives the information sent by the route calculator that the recovery path is successfully established, it can update the resource occupation status of the network according to the newly occupied path, including wavelength and other information, and can update the new network resource status change part to the All routing calculators. The routing calculator updates and stores the received information synchronously. In addition, the route calculator can return updated result information to the centralized controller.
在另一种情况下,路由计算器为故障实例对应的OTN管道分别计算恢复路径得到K条恢复路径之后,可以向集中控制器发送K条恢复路径。相应地,集中控制器可以接收来自路由计算器的K条恢复路径,存储K条恢复路径。K条恢复路径可以携带有路由计算器的信息。此外,路由计算器还可以存储K条恢复路径。In another case, after the route calculator calculates restoration paths for the OTN pipeline corresponding to the fault instance and obtains K restoration paths, it may send the K restoration paths to the centralized controller. Correspondingly, the centralized controller can receive K restoration paths from the route calculator, and store the K restoration paths. The K recovery paths may carry the information of the route calculator. In addition, the route calculator can also store K restoration paths.
在后续检测到第一恢复路径对应管道信息对应的OTN管道发生其对应故障信息对应的故障的情况下,第二路由执行器可以向集中控制器发送第二请求,第二请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道。第二请求可以携带或包括故障信息和管道信息。相应地,集中控制器可以接收来自第二路由执行器的第二请求,之后可以根据第二请求和存储的路由计算器上报的恢复路径确定第一恢复路径,可以向第二路由执行器发送第一恢复路径。第二路由执行器接收来自集中控制器的第一恢复路径,之后可以建立第一恢复路径。In the event that a fault corresponding to the fault information of the OTN pipe corresponding to the pipe information corresponding to the first recovery path is subsequently detected, the second route executor may send a second request to the centralized controller, and the second request is used to request the first A restoration path of the OTN pipe, where the first OTN pipe is an OTN pipe corresponding to the first restoration path. The second request may carry or include fault information and pipeline information. Correspondingly, the centralized controller may receive the second request from the second route executor, and then determine the first recovery path according to the second request and the stored recovery path reported by the routing calculator, and may send the second request to the second route executor. a recovery path. The second route executor receives the first restoration path from the centralized controller, after which the first restoration path can be established.
在第一恢复路径建立成功之后,第二路由执行器可以向集中控制器发送第一恢复路径建立成功的指示信息。其他详细描述可以参考上面的描述。After the first restoration path is successfully established, the second route executor may send indication information indicating that the first restoration path is successfully established to the centralized controller. For other detailed descriptions, refer to the above description.
在又一种情况下,路由计算器为故障实例对应的OTN管道分别计算恢复路径得到K条恢复路径之后,可以存储K条恢复路径,以及可以向集中控制器发送K条恢复路径。相应地,集中控制器可以接收来自路由计算器的K条恢复路径,存储K条恢复路径。K条恢复路径可以携带有路由计算器的信息。In yet another case, after the routing calculator calculates restoration paths for the OTN pipeline corresponding to the fault instance and obtains K restoration paths, it may store the K restoration paths and send the K restoration paths to the centralized controller. Correspondingly, the centralized controller can receive K restoration paths from the route calculator, and store the K restoration paths. The K recovery paths may carry the information of the route calculator.
在后续检测到第一恢复路径对应管道信息对应的OTN管道发生其对应故障信息对应的故障的情况下,第二路由执行器可以向集中控制器发送第三请求,第三请求用于请求第一OTN管道的恢复路径对应的路由计算器,第一OTN管道为第一恢复路径对应的OTN管道。第三请求可以携带或包括故障信息和管道信息。相应地,集中控制器可以接收来自第二路由执行器的第三请求,之后可以根据第三请求和存储的路由计算器上报的恢复路径确定第二路由计算器的信息,可以向第二路由执行器发送第二路由计算器的信息。第二路由执行器接收来自集中控制器的第二路由计算器的信息之后,可以根据第二路由计算器的信息向第二路由计算器发送第四请求,第四请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径 对应的OTN管道。第二路由计算器接收到第四请求之后,可以根据第四请求和存储的K条恢复路径确定第一恢复路径,以及可以向第二路由执行器发送第一恢复路径。第二路由执行器接收到来自第二路由计算器的第一恢复路径之后,可以建立第一恢复路径。In the event that a fault corresponding to the fault information of the OTN pipe corresponding to the pipe information corresponding to the first recovery path is subsequently detected, the second route executor may send a third request to the centralized controller, and the third request is used to request the first The route calculator corresponding to the recovery path of the OTN pipeline, and the first OTN pipeline is the OTN pipeline corresponding to the first recovery path. The third request may carry or include fault information and pipeline information. Correspondingly, the centralized controller may receive the third request from the second routing executor, and then determine the information of the second routing calculator according to the third request and the stored restoration path reported by the routing calculator, and may send the second routing execution The computer sends the information of the second routing computer. After the second route executor receives the information from the second route calculator of the centralized controller, it can send a fourth request to the second route calculator according to the information of the second route calculator, and the fourth request is used to request the first OTN pipeline recovery path, the first OTN pipeline is the OTN pipeline corresponding to the first recovery path. After receiving the fourth request, the second route calculator may determine the first restoration path according to the fourth request and the stored K restoration paths, and may send the first restoration path to the second route executor. After receiving the first restoration path from the second routing calculator, the second routing executor may establish the first restoration path.
在第一恢复路径建立成功之后,第二路由执行器可以向集中控制器发送第一恢复路径建立成功的指示信息。其他详细描述可以参考上面的描述。After the first restoration path is successfully established, the second route executor may send indication information indicating that the first restoration path is successfully established to the centralized controller. For other detailed descriptions, refer to the above description.
应理解,上述通信方法中由集中控制器执行的功能也可以由集中控制器中的模块(例如,芯片)来执行,上述通信方法中由路由计算器执行的功能也可以由路由计算器中的模块(例如,芯片)来执行,上述通信方法中由路由执行器执行的功能也可以由路由执行器中的模块(例如,芯片)来执行。It should be understood that the functions performed by the centralized controller in the above communication method may also be performed by modules (for example, chips) in the centralized controller, and the functions performed by the routing calculator in the above communication method may also be performed by the routing calculator. The functions performed by the routing executor in the communication method above may also be performed by modules (eg, chips) in the routing executor.
基于上述网络架构,请参阅图5,图5是本申请实施例公开的一种通信装置的结构示意图。如图5所示,该通信装置可以包括:Based on the foregoing network architecture, please refer to FIG. 5 , which is a schematic structural diagram of a communication device disclosed in an embodiment of the present application. As shown in Figure 5, the communication device may include:
接收单元501,用于接收来自多个路由计算器的计算能力信息,多个路由计算器为集中控制器管理的路由计算器;The receiving unit 501 is configured to receive computing capability information from multiple routing calculators, where the multiple routing calculators are routing calculators managed by a centralized controller;
分配单元502,用于根据多个路由计算器的计算能力信息为多个路由计算器分配故障实例,一个故障实例包括N条OTN管道的恢复路径的计算任务,属于同一故障实例的计算任务被分配给同一个路由计算器,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;The allocation unit 502 is configured to allocate fault instances to multiple routing calculators according to the computing capability information of multiple routing calculators. One fault instance includes calculation tasks for restoring paths of N OTN pipelines, and the calculation tasks belonging to the same fault instance are allocated For the same routing calculator, N OTN pipelines are all OTN pipelines passing through the same faulty link, and N is an integer greater than or equal to 1;
发送单元503,用于向多个路由计算器发送对应的故障实例。A sending unit 503, configured to send corresponding fault instances to multiple routing calculators.
在一个实施例中,计算能力信息可以包括内存信息、CPU信息、主频、CPU核数和负载中的一个或多个。In an embodiment, the computing capability information may include one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
在一个实施例中,分配单元502具体用于:In one embodiment, the allocation unit 502 is specifically used for:
从多个路由计算器中选取内存信息对应的内存大于或等于第一阈值,和/或CPU信息对应的CPU小于或等于第二阈值,和/或负载小于或等于第三阈值的路由计算器,以获得M个路由计算器,M为大于或等于1的整数;Selecting from a plurality of routing calculators the memory corresponding to the memory information is greater than or equal to the first threshold, and/or the CPU corresponding to the CPU information is less than or equal to the second threshold, and/or the routing calculator whose load is less than or equal to the third threshold, To obtain M routing calculators, M is an integer greater than or equal to 1;
根据M个路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个,为M个路由计算器分配故障实例;According to one or more of the memory information, CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
发送单元503,具体用于向M个路由计算器发送对应的故障实例。The sending unit 503 is specifically configured to send corresponding fault instances to the M routing calculators.
在一个实施例中,故障实例携带有拓扑资源信息,拓扑资源信息可以包括供故障实例对应的计算任务使用的节点、光纤和波长的信息。In an embodiment, the fault instance carries topology resource information, and the topology resource information may include information about nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance.
在一个实施例中,发送单元503,还用于向第一路由计算器发送第一请求,第一请求用于请求第一路由计算器的计算能力信息,第一路由计算器为多个路由计算器中的任一路由计算器。In one embodiment, the sending unit 503 is further configured to send a first request to the first route calculator, the first request is used to request the computing capability information of the first route calculator, and the first route calculator calculates any route calculator in the router.
在一个实施例中,接收单元501,还用于接收来自第二路由计算器的K条恢复路径,第二路由计算器为M个路由计算器中的任一路由计算器,K条恢复路径为发送给第二路由计算器的故障实例对应的K条OTN管道的恢复路径;In one embodiment, the receiving unit 501 is further configured to receive K recovery paths from the second route calculator, the second route calculator is any one of the M route calculators, and the K recovery paths are The recovery paths of the K OTN pipelines corresponding to the fault instance sent to the second routing calculator;
该通信装置还可以包括:The communication device may also include:
存储单元504,用于存储K条恢复路径。The storage unit 504 is configured to store K restoration paths.
在一个实施例中,恢复路径可以包括节点的信息、光纤的信息、该节点对应端口的信息、 该光纤对应波长的信息。In an embodiment, the recovery path may include node information, optical fiber information, port information corresponding to the node, and wavelength information corresponding to the optical fiber.
在一个实施例中,接收单元501,还用于接收来自第二路由计算器的第一指示信息,第一指示信息用于指示第一恢复路径建立成功,第一恢复路径为K条恢复路径中的一条恢复路径;In one embodiment, the receiving unit 501 is further configured to receive first indication information from the second routing calculator, the first indication information is used to indicate that the first restoration path is established successfully, and the first restoration path is one of the K restoration paths a recovery path for
发送单元503,还用于向多个路由计算器中除第二路由计算器之外的路由计算器发送第一恢复路径对应的资源信息,资源信息可以包括第一恢复路径占用的信息。The sending unit 503 is further configured to send resource information corresponding to the first restoration path to the routing calculators in the plurality of routing calculators except the second routing calculator, where the resource information may include information occupied by the first restoration path.
在一个实施例中,接收单元501,还用于接收来自第二路由执行器的第二请求,第二请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道;In one embodiment, the receiving unit 501 is further configured to receive a second request from the second route executor, the second request is used to request the restoration path of the first OTN pipe, and the first OTN pipe is the corresponding path of the first restoration path. OTN pipeline;
发送单元503,还用于向第二路由执行器发送第一恢复路径。The sending unit 503 is further configured to send the first recovery path to the second route executor.
在一个实施例中,接收单元501,还用于接收来自第二路由执行器的第三请求,第三请求用于请求第一OTN管道的恢复路径对应的路由计算器,第一OTN管道为第一恢复路径对应的OTN管道;In one embodiment, the receiving unit 501 is further configured to receive a third request from the second route executor, the third request is used to request the route calculator corresponding to the recovery path of the first OTN pipeline, and the first OTN pipeline is the - the OTN pipe corresponding to the recovery path;
发送单元503,还用于向第二路由执行器发送第二路由计算器的信息。The sending unit 503 is further configured to send the information of the second routing calculator to the second routing executor.
有关上述接收单元501、分配单元502、发送单元503和存储单元504更详细的描述可以直接参考上述图2所示的方法实施例中集中控制器的相关描述直接得到,这里不加赘述。More detailed descriptions about the above-mentioned receiving unit 501, distribution unit 502, sending unit 503 and storage unit 504 can be directly obtained by referring to the relevant description of the centralized controller in the method embodiment shown in FIG. 2 above, and will not be repeated here.
应理解,接收单元和发送单元可以统称为收发单元。It should be understood that the receiving unit and the sending unit may be collectively referred to as a transceiver unit.
基于上述网络架构,请参阅图6,图6是本申请实施例公开的另一种通信装置的结构示意图。如图6所示,该通信装置可以包括接收单元601和计算单元602。此外,该通信装置还可以包括发送单元603和确定单元604。其中:Based on the foregoing network architecture, please refer to FIG. 6 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 6 , the communication device may include a receiving unit 601 and a computing unit 602 . In addition, the communication device may further include a sending unit 603 and a determining unit 604 . in:
接收单元601,用于接收来自集中控制器的故障实例,一个故障实例包括N条OTN管道的恢复路径的计算任务,N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;The receiving unit 601 is used to receive a fault instance from the centralized controller. A fault instance includes calculation tasks for recovering paths of N OTN pipes, where N OTN pipes are all OTN pipes passing through the same faulty link, and N is greater than or equal to an integer of 1;
计算单元602,用于为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径,K为大于或等于1的整数。The calculation unit 602 is configured to calculate recovery paths for the OTN pipes corresponding to the fault instance to obtain K recovery paths, where K is an integer greater than or equal to 1.
在一个实施例中,发送单元603,用于向第一路由执行器发送第二恢复路径,第二恢复路径为K条恢复路径中的任一恢复路径,第一路由执行器为第二恢复路径对应的OTN管道中的一个或多个节点。In one embodiment, the sending unit 603 is configured to send the second recovery path to the first route executor, the second recovery path is any one of the K recovery paths, and the first route executor is the second recovery path One or more nodes in the corresponding OTN pipeline.
在一个实施例中,恢复路径可以包括节点的信息、光纤的信息、该节点对应端口的信息、该光纤对应波长的信息。In an embodiment, the recovery path may include node information, optical fiber information, port information corresponding to the node, and wavelength information corresponding to the optical fiber.
在一个实施例中,故障实例携带有拓扑资源信息,拓扑资源信息可以包括供故障实例对应的计算任务使用的节点、光纤和波长的信息,该通信装置还可以包括:In an embodiment, the fault instance carries topology resource information, and the topology resource information may include information on nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance, and the communication device may also include:
确定单元604,用于根据拓扑资源信息确定拓扑范围;A determining unit 604, configured to determine the topology range according to the topology resource information;
计算单元602,具体用于根据拓扑范围为故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径。The calculation unit 602 is specifically configured to calculate recovery paths for the OTN pipes corresponding to the fault instance according to the topology range, and obtain K recovery paths.
在一个实施例中,发送单元603,还用于向集中控制器发送计算能力信息,计算能力信息包括内存信息、CPU信息、主频、CPU核数和负载中的一个或多个。In one embodiment, the sending unit 603 is further configured to send computing capability information to the centralized controller, where the computing capability information includes one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
在一个实施例中,接收单元601,还用于接收来自集中控制器的第一请求,第一请求用于请求上述计算能力信息。In one embodiment, the receiving unit 601 is further configured to receive a first request from the centralized controller, where the first request is used to request the above computing capability information.
在一个实施例中,发送单元603,还用于向集中控制器发送K条恢复路径。In one embodiment, the sending unit 603 is further configured to send the K restoration paths to the centralized controller.
在一个实施例中,接收单元601,还用于接收来自第二路由执行器的第二指示信息,第二指示信息用于指示第一恢复路径建立成功,第一恢复路径为K条恢复路径中的一条恢复路径,第二路由执行器为第一恢复路径对应的节点;In one embodiment, the receiving unit 601 is further configured to receive second indication information from the second route executor, the second indication information is used to indicate that the first restoration path is established successfully, and the first restoration path is one of the K restoration paths A restoration path of , the second routing executor is the node corresponding to the first restoration path;
发送单元603,还用于向集中控制器发送第一指示信息,第一指示信息用于指示第一恢复路径建立成功。The sending unit 603 is further configured to send first indication information to the centralized controller, where the first indication information is used to indicate that the first recovery path is established successfully.
在一个实施例中,接收单元601,还用于接收来自第二路由执行器的第四请求,第四请求用于请求第一OTN管道的恢复路径,第一OTN管道为第一恢复路径对应的OTN管道;In one embodiment, the receiving unit 601 is further configured to receive a fourth request from the second route executor, where the fourth request is used to request the restoration path of the first OTN pipeline, and the first OTN pipeline is the corresponding path of the first restoration path. OTN pipeline;
发送单元603,还用于向第二路由执行器发送第一恢复路径。The sending unit 603 is further configured to send the first recovery path to the second route executor.
有关上述接收单元601、计算单元602、发送单元603和确定单元604更详细的描述可以直接参考上述图2所示的方法实施例中路由计算器的相关描述直接得到,这里不加赘述。More detailed descriptions of the receiving unit 601, calculating unit 602, sending unit 603, and determining unit 604 can be directly obtained by referring to the relevant description of the routing calculator in the method embodiment shown in FIG. 2 above, and will not be repeated here.
应理解,接收单元和发送单元可以统称为收发单元。It should be understood that the receiving unit and the sending unit may be collectively referred to as a transceiver unit.
基于上述网络架构,请参阅图7,图7是本申请实施例公开的又一种通信装置的结构示意图。如图7所示,该通信装置可以包括处理器701、存储器702、收发器703和总线704。存储器702可以是独立存在的,可以通过总线704与处理器701相连接。存储器702也可以和处理器701集成在一起。其中,总线704用于实现这些组件之间的连接。在一种情况下,如图7所示,收发器703可以包括发射机7031、接收机7032和天线7033。在另一种情况下,收发器703可以包括发射器(即输出接口)和接收器(即输入接口)。发射器可以包括发射机和天线,接收器可以包括接收机和天线。Based on the foregoing network architecture, please refer to FIG. 7 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 7 , the communication device may include a processor 701 , a memory 702 , a transceiver 703 and a bus 704 . The memory 702 may exist independently, and may be connected to the processor 701 through the bus 704 . The memory 702 can also be integrated with the processor 701. Among them, the bus 704 is used to realize the connection between these components. In one case, as shown in FIG. 7 , the transceiver 703 may include a transmitter 7031 , a receiver 7032 and an antenna 7033 . In another case, the transceiver 703 may include a transmitter (ie, an output interface) and a receiver (ie, an input interface). A transmitter may include a transmitter and an antenna, and a receiver may include a receiver and an antenna.
该通信装置可以为集中控制器,也可以为集中控制器中的模块。存储器702中存储的计算机程序指令被执行时,该处理器701用于控制接收单元501和发送单元503执行上述实施例中执行的操作,该处理器701还用于执行上述实施例中分配单元502和存储单元504执行的操作,收发器703用于执行上述实施例中接收单元501和发送单元503执行的操作。上述通信装置还可以用于执行上述图2方法实施例中集中控制器执行的各种方法,不再赘述。The communication device may be a centralized controller, or a module in the centralized controller. When the computer program instructions stored in the memory 702 are executed, the processor 701 is used to control the receiving unit 501 and the sending unit 503 to perform the operations performed in the above embodiments, and the processor 701 is also used to execute the distribution unit 502 in the above embodiments and the operations performed by the storage unit 504, the transceiver 703 is configured to perform the operations performed by the receiving unit 501 and the sending unit 503 in the above embodiments. The above-mentioned communication device can also be used to execute various methods executed by the centralized controller in the above-mentioned method embodiment in FIG. 2 , which will not be repeated here.
该通信装置可以为路由计算器,也可以为路由计算器中的模块。存储器702中存储的计算机程序指令被执行时,该处理器701用于控制接收单元601和发送单元603执行上述实施例中执行的操作,该处理器701还用于执行上述实施例中计算单元602和确定单元604执行的操作,收发器703用于执行上述实施例中接收单元601和发送单元603执行的操作。上述通信装置还可以用于执行上述图2方法实施例中路由计算器执行的各种方法,不再赘述。The communication device may be a routing calculator, or a module in the routing calculator. When the computer program instructions stored in the memory 702 are executed, the processor 701 is used to control the receiving unit 601 and the sending unit 603 to perform the operations performed in the above embodiments, and the processor 701 is also used to execute the calculation unit 602 in the above embodiments and the operations performed by the determining unit 604, the transceiver 703 is configured to perform the operations performed by the receiving unit 601 and the sending unit 603 in the foregoing embodiments. The above-mentioned communication device may also be used to execute various methods executed by the routing calculator in the above-mentioned method embodiment in FIG. 2 , which will not be repeated here.
基于上述网络架构,请参阅图8,图8是本申请实施例公开的又一种通信装置的结构示意图。如图8所示,该通信装置可以包括输入接口801、逻辑电路802和输出接口803。输入接口801与输出接口803通过逻辑电路802相连接。其中,输入接口801用于接收来自其它通信装置的信息,输出接口803用于向其它通信装置输出、调度或者发送信息。逻辑电路802用于执行除输入接口801与输出接口803的操作之外的操作,例如实现上述实施例中处理器701实现的功能。其中,该通信装置可以为终端设备(或终端设备内的模块),也可以为网络设备(或网络设备内的模块)。其中,有关输入接口801、逻辑电路802和输出接口803更详细的描述可以直接参考上述方法实施例中集中控制器或路由计算器的相关描述直接得到,这里不加赘述。Based on the foregoing network architecture, please refer to FIG. 8 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 8 , the communication device may include an input interface 801 , a logic circuit 802 and an output interface 803 . The input interface 801 is connected to the output interface 803 through a logic circuit 802 . Wherein, the input interface 801 is used for receiving information from other communication devices, and the output interface 803 is used for outputting, scheduling or sending information to other communication devices. The logic circuit 802 is configured to perform operations other than the operations of the input interface 801 and the output interface 803 , such as implementing the functions implemented by the processor 701 in the above embodiments. Wherein, the communication device may be a terminal device (or a module in the terminal device), or may be a network device (or a module in the network device). Wherein, more detailed descriptions about the input interface 801, the logic circuit 802, and the output interface 803 can be directly obtained by referring to the relevant descriptions of the centralized controller or the routing calculator in the above method embodiments, and will not be repeated here.
本申请实施例还公开一种计算机可读存储介质,其上存储有指令,该指令被执行时执行 上述方法实施例中的方法。The embodiment of the present application also discloses a computer-readable storage medium on which instructions are stored, and when the instructions are executed, the methods in the above method embodiments are executed.
本申请实施例还公开一种包括计算机指令的计算机程序产品,该计算机指令被执行时执行上述方法实施例中的方法。The embodiment of the present application also discloses a computer program product including computer instructions, when the computer instructions are executed, the methods in the above method embodiments are executed.
本申请实施例还公开一种通信系统,该通信系统可以包括集中控制器、路由计算器和路由执行器,具体描述可以参考图2所示的通信方法。The embodiment of the present application also discloses a communication system, which may include a centralized controller, a route calculator, and a route executor. For a specific description, reference may be made to the communication method shown in FIG. 2 .
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific implementation manners described above have further described the purpose, technical solutions and beneficial effects of the application in detail. It should be understood that the above descriptions are only specific implementation modes of the application and are not intended to limit the scope of the application. Scope of protection: All modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of this application shall be included within the scope of protection of this application.

Claims (33)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    接收来自多个路由计算器的计算能力信息,所述多个路由计算器为集中控制器管理的路由计算器;receiving computing capability information from multiple routing calculators, where the multiple routing calculators are routing calculators managed by a centralized controller;
    根据所述多个路由计算器的计算能力信息为所述多个路由计算器分配故障实例,一个故障实例包括N条光传送网OTN管道的恢复路径的计算任务,属于同一故障实例的计算任务被分配给同一个路由计算器,所述N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;Assign fault instances to the multiple routing calculators according to the computing capability information of the multiple routing calculators, one fault instance includes calculation tasks for restoring paths of N optical transport network OTN pipes, and the calculation tasks belonging to the same fault instance are assigned Assigned to the same routing calculator, the N OTN pipelines are all OTN pipelines passing through the same faulty link, and N is an integer greater than or equal to 1;
    向所述多个路由计算器发送对应的故障实例。Corresponding fault instances are sent to the plurality of route calculators.
  2. 根据权利要求1所述的方法,其特征在于,所述计算能力信息包括内存信息、中央处理器CPU信息、主频、CPU核数和负载中的一个或多个。The method according to claim 1, wherein the computing capability information includes one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述多个路由计算器的计算能力信息为所述多个路由计算器分别分配故障实例包括:The method according to claim 2, wherein the assigning fault instances to the multiple routing calculators according to the computing capability information of the multiple routing calculators includes:
    从所述多个路由计算器中选取内存大于或等于第一阈值,和/或CPU小于或等于第二阈值,和/或所述负载小于或等于第三阈值的路由计算器,以获得M个路由计算器,M为大于或等于1的整数;Select a route calculator whose memory is greater than or equal to the first threshold, and/or whose CPU is less than or equal to the second threshold, and/or whose load is less than or equal to the third threshold, from the plurality of route calculators to obtain M Routing calculator, M is an integer greater than or equal to 1;
    根据所述M个路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个,为所述M个路由计算器分配故障实例;According to one or more of the memory information, CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
    所述向所述多个路由计算器发送对应的故障实例包括:The sending corresponding fault instances to the multiple routing calculators includes:
    向所述M个路由计算器发送对应的故障实例。Send corresponding fault instances to the M routing calculators.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述故障实例携带有拓扑资源信息,所述拓扑资源信息包括供所述故障实例对应的计算任务使用的节点、光纤和波长的信息。The method according to any one of claims 1-3, wherein the fault instance carries topology resource information, and the topology resource information includes nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance Information.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    向第一路由计算器发送第一请求,所述第一请求用于请求所述第一路由计算器的计算能力信息,所述第一路由计算器为所述多个路由计算器中的任一路由计算器。Sending a first request to a first routing calculator, where the first request is used to request computing capability information of the first routing calculator, where the first routing calculator is any one of the plurality of routing calculators route calculator.
  6. 根据权利要求3-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3-5, wherein the method further comprises:
    接收来自第二路由计算器的K条恢复路径,所述第二路由计算器为所述M个路由计算器中的任一路由计算器,所述K条恢复路径为发送给所述第二路由计算器的故障实例对应的K条OTN管道的恢复路径;receiving K recovery paths from a second route calculator, where the second route calculator is any one of the M route calculators, and the K recovery paths are sent to the second route The recovery path of K OTN pipelines corresponding to the fault instance of the calculator;
    存储所述K条恢复路径。Store the K recovery paths.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, further comprising:
    接收来自所述第二路由计算器的第一指示信息,所述第一指示信息用于指示第一恢复路径建立成功,所述第一恢复路径为所述K条恢复路径中的一条恢复路径;receiving first indication information from the second routing calculator, where the first indication information is used to indicate that a first restoration path is established successfully, and the first restoration path is one restoration path among the K restoration paths;
    向所述多个路由计算器中除所述第二路由计算器之外的路由计算器发送所述第一恢复路径对应的资源信息,所述资源信息包括所述第一恢复路径占用的信息。sending resource information corresponding to the first restoration path to a routing calculator other than the second routing calculator among the plurality of routing calculators, where the resource information includes information occupied by the first restoration path.
  8. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    接收来自集中控制器的故障实例,一个故障实例包括N条光传送网OTN管道的恢复路径 的计算任务,所述N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;Receive a fault instance from the centralized controller, one fault instance includes the calculation task of restoring paths of N OTN pipes in the optical transport network, the N OTN pipes are all OTN pipes passing through the same faulty link, and N is greater than or equal to 1 an integer of
    为所述故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径,K为大于或等于1的整数。Calculating recovery paths for the OTN pipes corresponding to the fault instance to obtain K recovery paths, where K is an integer greater than or equal to 1.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, characterized in that the method further comprises:
    向第一路由执行器发送第二恢复路径,所述第二恢复路径为所述K条恢复路径中的任一恢复路径,所述第一路由执行器为所述第二恢复路径对应的OTN管道中的一个或多个节点。Sending a second recovery path to the first route executor, where the second recovery path is any one of the K recovery paths, and the first route executor is the OTN pipeline corresponding to the second recovery path One or more nodes in .
  10. 根据权利要求8或9所述的方法,其特征在于,所述故障实例携带有拓扑资源信息,所述拓扑资源信息包括供所述故障实例对应的计算任务使用的节点、光纤和波长的信息,所述方法还包括:The method according to claim 8 or 9, wherein the fault instance carries topology resource information, and the topology resource information includes information on nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance, The method also includes:
    根据所述拓扑资源信息确定拓扑范围;determining a topology range according to the topology resource information;
    所述为所述故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径包括:The described recovery path is calculated respectively for the OTN pipeline corresponding to the fault instance, and the K recovery paths obtained include:
    根据所述拓扑范围为所述故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径。According to the topology range, the recovery paths are calculated respectively for the OTN pipes corresponding to the fault instance, and K recovery paths are obtained.
  11. 根据权利要求8-10任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8-10, wherein the method further comprises:
    向所述集中控制器发送计算能力信息,所述计算能力信息包括内存信息、中央处理器CPU信息、主频、CPU核数和负载中的一个或多个。Send computing capability information to the centralized controller, where the computing capability information includes one or more of memory information, central processing unit CPU information, main frequency, CPU core number, and load.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, characterized in that the method further comprises:
    接收来自所述集中控制器的第一请求,所述第一请求用于请求所述计算能力信息。A first request is received from the centralized controller, the first request requesting the computing capability information.
  13. 根据权利要求8-12任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8-12, wherein the method further comprises:
    向所述集中控制器发送所述K条恢复路径。sending the K restoration paths to the centralized controller.
  14. 根据权利要求8-13任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 8-13, wherein the method further comprises:
    接收来自第二路由执行器的第二指示信息,所述第二指示信息用于指示第一恢复路径建立成功,所述第一恢复路径为所述K条恢复路径中的一条恢复路径,所述第二路由执行器为所述第一恢复路径对应的OTN管道中的一个节点;receiving second indication information from the second routing executor, where the second indication information is used to indicate that the first restoration path is established successfully, the first restoration path is one restoration path among the K restoration paths, and the The second routing executor is a node in the OTN pipeline corresponding to the first restoration path;
    向所述集中控制器发送第一指示信息,所述第一指示信息用于指示所述第一恢复路径建立成功。Sending first indication information to the centralized controller, where the first indication information is used to indicate that the first restoration path is established successfully.
  15. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    接收单元,用于接收来自多个路由计算器的计算能力信息,所述多个路由计算器为集中控制器管理的路由计算器;a receiving unit, configured to receive computing capability information from a plurality of routing calculators, the plurality of routing calculators being routing calculators managed by a centralized controller;
    分配单元,用于根据所述多个路由计算器的计算能力信息为所述多个路由计算器分配故障实例,一个故障实例包括N条光传送网OTN管道的恢复路径的计算任务,属于同一故障实例的计算任务被分配给同一个路由计算器,所述N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;An allocation unit, configured to allocate fault instances to the multiple routing calculators according to the computing capability information of the multiple routing calculators, one fault instance includes calculation tasks for recovery paths of N optical transport network OTN pipes, and belongs to the same fault The calculation tasks of the instance are assigned to the same routing calculator, the N OTN pipelines are all OTN pipelines passing through the same faulty link, and N is an integer greater than or equal to 1;
    发送单元,用于向所述多个路由计算器发送对应的故障实例。A sending unit, configured to send corresponding fault instances to the plurality of routing calculators.
  16. 根据权利要求15所述的装置,其特征在于,所述计算能力信息包括内存信息、中央处理器CPU信息、主频、CPU核数和负载中的一个或多个。The device according to claim 15, wherein the computing capability information includes one or more of memory information, CPU information, main frequency, number of CPU cores, and load.
  17. 根据权利要求16所述的装置,其特征在于,所述分配单元具体用于:The device according to claim 16, wherein the distribution unit is specifically used for:
    从所述多个路由计算器中选取所述内存信息对应的内存大于或等于第一阈值,和/或所述CPU信息对应的CPU小于或等于第二阈值,和/或所述负载小于或等于第三阈值的路由计算器,以获得M个路由计算器,M为大于或等于1的整数;Selecting from the plurality of routing calculators that the memory corresponding to the memory information is greater than or equal to a first threshold, and/or the CPU corresponding to the CPU information is less than or equal to a second threshold, and/or the load is less than or equal to A routing calculator with a third threshold, to obtain M routing calculators, where M is an integer greater than or equal to 1;
    根据所述M个路由计算器的内存信息、CPU信息、主频、CPU核数和负载中的一个或多个,为所述M个路由计算器分配故障实例;According to one or more of the memory information, CPU information, main frequency, CPU core number and load of the M routing calculators, assign fault instances to the M routing calculators;
    所述发送单元,具体用于向所述M个路由计算器发送对应的故障实例。The sending unit is specifically configured to send corresponding fault instances to the M routing calculators.
  18. 根据权利要求15-17任一项所述的装置,其特征在于,所述故障实例携带有拓扑资源信息,所述拓扑资源信息包括供所述故障实例对应的计算任务使用的节点、光纤和波长的信息。The device according to any one of claims 15-17, wherein the fault instance carries topology resource information, and the topology resource information includes nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance Information.
  19. 根据权利要求15-18任一项所述的装置,其特征在于,所述发送单元,还用于向第一路由计算器发送第一请求,所述第一请求用于请求所述第一路由计算器的计算能力信息,所述第一路由计算器为所述多个路由计算器中的任一路由计算器。The device according to any one of claims 15-18, wherein the sending unit is further configured to send a first request to the first route calculator, and the first request is used to request the first route Computing capability information of a calculator, the first routing calculator is any routing calculator among the plurality of routing calculators.
  20. 根据权利要求17-19任一项所述的装置,其特征在于,所述接收单元,还用于接收来自第二路由计算器的K条恢复路径,所述第二路由计算器为所述M个路由计算器中的任一路由计算器,所述K条恢复路径为发送给所述第二路由计算器的故障实例对应的K条OTN管道的恢复路径;The device according to any one of claims 17-19, wherein the receiving unit is further configured to receive K recovery paths from a second routing calculator, the second routing calculator being the M Any routing calculator in the routing calculators, the K recovery paths are recovery paths sent to the K OTN pipelines corresponding to the fault instance of the second routing calculator;
    所述装置还包括:The device also includes:
    存储单元,用于存储所述K条恢复路径。A storage unit, configured to store the K restoration paths.
  21. 根据权利要求20所述的装置,其特征在于,所述接收单元,还用于接收来自所述第二路由计算器的第一指示信息,所述第一指示信息用于指示所述第一恢复路径建立成功,所述第一恢复路径为所述K条恢复路径中的一条恢复路径;The device according to claim 20, wherein the receiving unit is further configured to receive first indication information from the second routing calculator, the first indication information is used to indicate the first restoration The path is successfully established, and the first restoration path is one of the K restoration paths;
    所述发送单元,还用于向所述多个路由计算器中除所述第二路由计算器之外的路由计算器发送所述第一恢复路径对应的资源信息,所述资源信息包括所述第一恢复路径占用的信息。The sending unit is further configured to send resource information corresponding to the first recovery path to a routing calculator other than the second routing calculator among the plurality of routing calculators, where the resource information includes the Information occupied by the first recovery path.
  22. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    接收单元,用于接收来自集中控制器的故障实例,一个故障实例包括N条光传送网OTN管道的恢复路径的计算任务,所述N条OTN管道为通过同一故障链路的所有OTN管道,N为大于或等于1的整数;The receiving unit is configured to receive a fault instance from the centralized controller, and a fault instance includes calculation tasks for restoring paths of N optical transport network OTN pipes, and the N OTN pipes are all OTN pipes passing through the same faulty link, N is an integer greater than or equal to 1;
    计算单元,用于为所述故障实例对应的OTN管道分别计算恢复路径,得到K条恢复路径,K为大于或等于1的整数。A calculation unit, configured to calculate recovery paths for the OTN pipes corresponding to the fault instance to obtain K recovery paths, where K is an integer greater than or equal to 1.
  23. 根据权利要求22所述的装置,其特征在于,所述装置还包括:The device according to claim 22, further comprising:
    第一发送单元,用于向第一路由执行器发送第二恢复路径,所述第二恢复路径为所述K条恢复路径中的任一恢复路径,所述第一路由执行器为所述第二恢复路径对应的OTN管道中的一个或多个节点。A first sending unit, configured to send a second restoration path to a first routing executor, where the second restoration path is any restoration path among the K restoration paths, and the first routing executor is the first routing executor. One or more nodes in the OTN pipeline corresponding to the second recovery path.
  24. 根据权利要求22或23所述的装置,其特征在于,所述故障实例携带有拓扑资源信息,所述拓扑资源信息包括供所述故障实例对应的计算任务使用的节点、光纤和波长的信息,所述装置还包括:The device according to claim 22 or 23, wherein the fault instance carries topology resource information, and the topology resource information includes information on nodes, optical fibers, and wavelengths used by computing tasks corresponding to the fault instance, The device also includes:
    确定单元,用于根据所述拓扑资源信息确定拓扑范围;a determining unit, configured to determine a topology range according to the topology resource information;
    所述计算单元,具体用于根据所述拓扑范围为所述故障实例对应的OTN管道分别计算恢 复路径,得到K条恢复路径。The calculation unit is specifically configured to calculate recovery paths for the OTN pipes corresponding to the fault instance according to the topology range, to obtain K recovery paths.
  25. 根据权利要求22-24任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 22-24, wherein the device further comprises:
    第二发送单元,用于向所述集中控制器发送计算能力信息,所述计算能力信息包括内存信息、中央处理器CPU信息、主频、CPU核数和负载中的一个或多个。The second sending unit is configured to send computing capability information to the centralized controller, where the computing capability information includes one or more of memory information, central processing unit CPU information, main frequency, number of CPU cores, and load.
  26. 根据权利要求25所述的装置,其特征在于,所述接收单元,还用于接收来自所述集中控制器的第一请求,所述第一请求用于请求所述计算能力信息。The device according to claim 25, wherein the receiving unit is further configured to receive a first request from the centralized controller, and the first request is used to request the computing capability information.
  27. 根据权利要求22-26任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 22-26, wherein the device further comprises:
    第三发送单元,用于向所述集中控制器发送所述K条恢复路径。A third sending unit, configured to send the K restoration paths to the centralized controller.
  28. 根据权利要求22-27任一项所述的装置,其特征在于,所述接收单元,还用于接收来自第二路由执行器的第二指示信息,所述第二指示信息用于指示第一恢复路径建立成功,所述第一恢复路径为所述K条恢复路径中的一条恢复路径,所述第二路由执行器为所述第一恢复路径对应OTN管道中的一个节点;The device according to any one of claims 22-27, wherein the receiving unit is further configured to receive second indication information from the second route executor, the second indication information is used to indicate the first The recovery path is successfully established, the first recovery path is one of the K recovery paths, and the second route executor is a node in the OTN pipeline corresponding to the first recovery path;
    所述装置还包括:The device also includes:
    第四发送单元,用于向所述集中控制器发送第一指示信息,所述第一指示信息用于指示所述第一恢复路径建立成功。A fourth sending unit, configured to send first indication information to the centralized controller, where the first indication information is used to indicate that the first restoration path is established successfully.
  29. 一种通信装置,其特征在于,包括处理器、存储器,所述处理器和存储器耦合,所述处理器调用所述存储器中存储的计算机程序实现如权利要求1-7任一项所述的方法。A communication device, characterized in that it includes a processor and a memory, the processor is coupled to the memory, and the processor invokes a computer program stored in the memory to implement the method according to any one of claims 1-7 .
  30. 一种通信装置,其特征在于,包括处理器、存储器,所述处理器和存储器耦合,所述处理器调用所述存储器中存储的计算机程序实现如权利要求8-14任一项所述的方法。A communication device, characterized in that it includes a processor and a memory, the processor is coupled to the memory, and the processor invokes a computer program stored in the memory to implement the method according to any one of claims 8-14 .
  31. 一种通信系统,其特征在于,包括如权利要求29所述的装置以及如权利要求30所述的装置。A communication system, characterized by comprising the device according to claim 29 and the device according to claim 30.
  32. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或计算机指令,当所述计算机程序或计算机指令被运行时,实现如权利要求1-14任一项所述的方法。A computer-readable storage medium, characterized in that, a computer program or computer instruction is stored in the computer-readable storage medium, and when the computer program or computer instruction is executed, any one of claims 1-14 is realized the method described.
  33. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码被运行时,实现如权利要求1-14任一项所述的方法。A computer program product, characterized in that the computer program product includes computer program code, and when the computer program code is executed, the method according to any one of claims 1-14 is realized.
PCT/CN2022/101866 2021-09-28 2022-06-28 Communication method, apparatus and system WO2023050936A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111144455.7A CN115884010A (en) 2021-09-28 2021-09-28 Communication method, device and system
CN202111144455.7 2021-09-28

Publications (1)

Publication Number Publication Date
WO2023050936A1 true WO2023050936A1 (en) 2023-04-06

Family

ID=85763603

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/101866 WO2023050936A1 (en) 2021-09-28 2022-06-28 Communication method, apparatus and system

Country Status (2)

Country Link
CN (1) CN115884010A (en)
WO (1) WO2023050936A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286892A (en) * 2007-04-12 2008-10-15 华为技术有限公司 Device and method for service recovery
CN101459535A (en) * 2007-04-12 2009-06-17 华为技术有限公司 Device and method for service recovery
US20140092722A1 (en) * 2012-09-28 2014-04-03 Pradeep Jain System and method providing standby bypass for double failure protection in mpls network
CN104301220A (en) * 2013-07-18 2015-01-21 中兴通讯股份有限公司 Path computation elements, path computation client-terminal and load sharing method and system
CN108337043A (en) * 2017-12-26 2018-07-27 广东电网有限责任公司电力调度控制中心 Fault recovery method with area fault tolerance in multilayer SDN optical-fiber networks
CN109391543A (en) * 2017-08-02 2019-02-26 中国电信股份有限公司 Method and system, business recovery auxiliary system for multi-service fault recovery

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286892A (en) * 2007-04-12 2008-10-15 华为技术有限公司 Device and method for service recovery
CN101459535A (en) * 2007-04-12 2009-06-17 华为技术有限公司 Device and method for service recovery
US20140092722A1 (en) * 2012-09-28 2014-04-03 Pradeep Jain System and method providing standby bypass for double failure protection in mpls network
CN104301220A (en) * 2013-07-18 2015-01-21 中兴通讯股份有限公司 Path computation elements, path computation client-terminal and load sharing method and system
CN109391543A (en) * 2017-08-02 2019-02-26 中国电信股份有限公司 Method and system, business recovery auxiliary system for multi-service fault recovery
CN108337043A (en) * 2017-12-26 2018-07-27 广东电网有限责任公司电力调度控制中心 Fault recovery method with area fault tolerance in multilayer SDN optical-fiber networks

Also Published As

Publication number Publication date
CN115884010A (en) 2023-03-31

Similar Documents

Publication Publication Date Title
JP7367795B2 (en) Optical network management device
US7200104B2 (en) Method for restoring a virtual path in an optical network using 1+1 protection
US9166724B2 (en) Optical network and optical path setup method
US8830825B2 (en) Method and system for priority based (1:1)n ethernet protection
US20100128611A1 (en) Transmitting apparatus, alarm control method, and computer product
US10805209B2 (en) Virtual network protection method and apparatus
CN103828389A (en) Apparatus and method for protection in a data center
CN106664214B (en) Fault recovery method and device for virtual network
US10491487B2 (en) Network service establishment method, orchestration control center, and network system
US9680564B2 (en) Protection in metro optical networks
US8650432B2 (en) Distributed resource managing system, distributed resource managing method, and distributed resource managing program
JP2002077212A (en) Optical multi-branch communication system
KR101883084B1 (en) Method, system, and node for implementing automatic protection switchover in optical burst switch ring
CN100531092C (en) Intelligent optical network business re-routing trigging method
US11664890B2 (en) Service processing method, control device, and storage medium
WO2023050936A1 (en) Communication method, apparatus and system
WO2016149897A1 (en) Route calculation method and apparatus in ason
KR101727782B1 (en) Method and apparatus for managing resource of transport network
US11800262B2 (en) Service path switching method and related device
CN115632702A (en) Multi-layer protection recovery and resource allocation method for optical network
US11882390B2 (en) Method and system for allocating dedicated protected spectrum based on crosstalk awareness
Kim et al. Rapid and efficient protection for all-optical WDM mesh networks
CN111585854B (en) Network system, protection method, device and storage medium for data network load scheduling
WO2017016464A1 (en) Processing method and apparatus for layer adjacency discovery
JP2012533948A (en) ASON service routing path separation method and apparatus

Legal Events

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

Ref document number: 22874333

Country of ref document: EP

Kind code of ref document: A1