Optical signal scheduling method and device, nonvolatile storage medium and electronic equipment

By receiving the telemetry interface performance data of wavelength division equipment and applying the shortest path priority algorithm, the optical signal is automatically scheduled, which solves the problem of high manual dependence of optical signal scheduling and improves network operation and maintenance efficiency and resource utilization.

CN118714481APending Publication Date: 2024-09-27CHINA TELECOM INTELLIGENT NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410938955.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The optical signal scheduling process relies heavily on manual labor, resulting in low network operation and maintenance efficiency.

Method used

By receiving performance data based on telemetry interfaces sent by wavelength division equipment, target alarm information is generated, and the optical signal scheduling path in the target network topology is determined based on the shortest path first algorithm, and optical signals are automatically scheduled to reduce manual dependence.

Benefits of technology

It realizes automated optical signal scheduling, improves network operation and maintenance efficiency, reduces manual intervention, and improves network resource utilization and signal transmission reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714481A
    Figure CN118714481A
Patent Text Reader

Abstract

The invention discloses an optical signal scheduling method and device, a nonvolatile storage medium and electronic equipment. The method comprises the following steps: receiving performance data based on a telemetering interface sent by wavelength division equipment, the performance data at least comprising the power of an optical signal; under the condition that it is determined that the target wavelength division equipment triggers an alarm according to the power of the optical signal, target alarm information is generated, and the target alarm information at least comprises identification information of the target wavelength division equipment; determining a target network topology structure associated with the target wavelength division equipment according to the identification information; and scheduling the optical signal input into the target network topology structure according to a shortest path first algorithm. The technical problem that the network operation and maintenance efficiency is low due to the fact that the optical signal scheduling process is highly dependent on manpower is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of transmission and bearer network-wavelength division multiplexing, and specifically, to an optical signal scheduling method and device, a non-volatile storage medium, and an electronic device. Background Art

[0002] With the continuous development of communication technology, the demand for all-optical networks and data center interconnect (DCI) is increasing. As a key technology, wavelength automatic scheduling aims to optimize the utilization of optical network resources, improve network efficiency, and ensure high-speed, low-latency data transmission. Wavelength automatic scheduling is a technology for dynamically managing wavelength resources. It allows the wavelengths in the network to be automatically configured and managed according to real-time needs to meet the transmission needs of different services.

[0003] In related technologies, the wavelength scheduling process is highly dependent on manual labor, resulting in low network operation and maintenance efficiency.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide an optical signal scheduling method and device, a non-volatile storage medium, and an electronic device to at least solve the technical problem of low network operation and maintenance efficiency caused by the high degree of manual dependence of the optical signal scheduling process.

[0006] According to one aspect of an embodiment of the present application, there is provided an optical signal scheduling method, comprising: receiving performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data includes at least: the power of the optical signal; in a case where it is determined that a target wavelength division device triggers an alarm based on the power of the optical signal, generating target alarm information, wherein the target alarm information includes at least: identification information of the target wavelength division device; determining a target network topology structure associated with the target wavelength division device based on the identification information; and scheduling the optical signal of the input target network topology structure based on a shortest path first algorithm.

[0007] Optionally, scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm, including: determining the shortest scheduling path of the optical signal of the input target network topology structure according to the shortest path first algorithm; and scheduling the optical signal of the input target network topology structure based on the shortest scheduling path.

[0008] Optionally, the target network topology structure includes n nodes, wherein each node is connected through a primary and backup path, and each node includes a plurality of wavelength division devices connected through the primary and backup paths; according to the shortest path first algorithm, the optical signal input into the target network topology structure is scheduled, including: when the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm message is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm message is generated, and according to the shortest path first algorithm, a first scheduling path of the first optical signal is determined, wherein the j-th node is a node adjacent to the i-th node. , the u-th node is a node adjacent to the j-th node, the first alarm information is used to indicate that a main channel between the ith node and the j-th node fails, and the second alarm information is used to indicate that a backup channel between the j-th node and the u-th node fails; if the first scheduling path includes the j-th node and the u-th node, the first optical signal is transmitted to the v-th node through the backup channel between the ith node and the j-th node, the backup channel in the j-th node, the main channel between the j-th node and the u-th node, the main channel in the u-th node, and the main channel between the u-th node and the v-th node in sequence, wherein the v-th node is the output node of the first optical signal.

[0009] Optionally, after transmitting the first optical signal to the vth node, the method further includes: receiving performance data based on a telemetry interface sent by a wavelength division device; if it is determined based on the performance data that the fault in the backup channel between the jth node and the uth node has been eliminated, the first optical signal is transmitted to the vth node in sequence through the backup channel between the ith node and the jth node, the backup channel in the jth node, the backup channel between the jth node and the uth node, the backup channel in the uth node, and the backup channel between the uth node and the vth node.

[0010] Optionally, scheduling the optical signal of the input target network topology structure also includes: when the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm information is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm information is generated, and according to the shortest path first algorithm, a first scheduling path for the first optical signal is determined; when the j-th node and the u-th node are included in the first scheduling path, if the j-th node receives the second optical signal, the first optical signal is transmitted through the backup channel between the i-th node and the j-th node and the backup channel in the j-th node in sequence; and the target optical signal is transmitted to the v-th node through the main channel between the j-th node and the u-th node, through the main channel in the u-th node, and through the main channel between the u-th node and the v-th node in sequence, wherein the target optical signal includes: the first optical signal and the second optical signal.

[0011] Optionally, receiving performance data based on a telemetry interface sent by a wavelength division device includes: receiving performance data based on a telemetry interface sent by the wavelength division device according to a first preset time interval; generating alarm information when determining that the wavelength division device triggers an alarm according to the power of an optical signal, including: determining whether the power of an optical signal received by the wavelength division device is within a first preset interval, and if the power of an optical signal received by the wavelength division device is within the first preset interval, determining that the wavelength division device triggers a first alarm, and generating first target alarm information, wherein the first target alarm information at least includes: identification information of a first wavelength division device that triggers the first alarm; recording the identification information of the first wavelength division device, and receiving performance data based on a telemetry interface sent by the first wavelength division device according to a second preset time interval, wherein the second preset time interval is less than the first preset time interval; determining whether the power of an optical signal received by the wavelength division device is within a second preset interval, and if the power of an optical signal received by the wavelength division device is within the second preset interval, determining that the wavelength division device triggers an alarm, and generating target alarm information, wherein the absolute value of the minimum endpoint in the second preset interval is greater than the absolute value of the minimum endpoint in the first preset interval.

[0012] Optionally, the target alarm information also includes: board information of the wavelength division device; scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm, including: when the board of the wavelength division device indicated in the board information is a wavelength selection switch board, scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm.

[0013] According to another aspect of the embodiment of the present application, there is also provided an optical signal scheduling device, including: a receiving module, used to receive performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data includes at least: the power of the optical signal; a generating module, used to generate target alarm information when it is determined that the target wavelength division device triggers an alarm based on the power of the optical signal, wherein the target alarm information includes at least: identification information of the target wavelength division device; a determining module, used to determine, based on the identification information, a target network topology structure associated with the target wavelength division device; and a scheduling module, used to schedule the optical signal of the input target network topology structure based on a shortest path first algorithm.

[0014] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above optical signal scheduling method.

[0015] According to another aspect of the embodiments of the present application, there is further provided an electronic device, including: a memory and a processor, wherein the processor is configured to run a program stored in the memory, wherein the above optical signal scheduling method is executed when the program is run.

[0016] According to yet another aspect of the embodiments of the present application, a computer program is further provided, wherein when the computer program is executed by a processor, the above optical signal scheduling method is implemented.

[0017] According to another aspect of the embodiments of the present application, a computer program product is provided, which includes a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above optical signal scheduling method is implemented.

[0018] In an embodiment of the present application, performance data based on a telemetry interface sent by a wavelength division device is received, wherein the performance data includes at least: the power of an optical signal; when it is determined that a target wavelength division device triggers an alarm based on the power of the optical signal, target alarm information is generated, wherein the target alarm information includes at least: identification information of the target wavelength division device; based on the identification information, a target network topology structure associated with the target wavelength division device is determined; and according to the shortest path first algorithm, an optical signal of the input target network topology structure is scheduled, thereby achieving the purpose of reducing the degree of manual dependence of the optical signal scheduling process, thereby achieving the technical effect of improving the network operation and maintenance efficiency, and further solving the technical problem of low network operation and maintenance efficiency caused by the strong degree of manual dependence of the optical signal scheduling process. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 is a flow chart of an optical signal scheduling method according to an embodiment of the present application;

[0021] Figure 2 is a schematic diagram of a network topology structure according to an embodiment of the present application;

[0022] Figure 3 is a schematic diagram of another network topology structure according to an embodiment of the present application;

[0023] Figure 4 is a schematic diagram of an optical signal scheduling method according to an embodiment of the present application;

[0024] Figure 5 is a flow chart of optical signal processing according to an embodiment of the present application;

[0025] Figure 6 is a flow chart of another optical signal scheduling method according to an embodiment of the present application;

[0026] Figure 7 is a structural diagram of an optical signal scheduling device according to an embodiment of the present application;

[0027] Figure 8 It is a hardware structure block diagram of a computer terminal of an optical signal scheduling method according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] According to an embodiment of the present application, a method embodiment of an optical signal scheduling method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0031] Figure 1 is a flow chart of an optical signal scheduling method according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0032] Step S102: receiving performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data at least includes: power of an optical signal.

[0033] Step S102 can be specifically implemented by the following method:

[0034] Step S1021: Subscription information for instructing the wavelength division device to report performance data collected based on the Telemetry interface is sent to the wavelength division device.

[0035] Specifically, firstly, the candidate monitoring points of the time domain reflectometer reported by the wavelength division device are obtained. When there are multiple candidate monitoring points, the system can autonomously determine the target monitoring point from the candidate monitoring points, such as taking all the candidate monitoring points of the wavelength division device as the target monitoring point. Then, the Telemetry information of the target monitoring point of the time domain reflectometer OTDR is sent to the wavelength division device.

[0036] It should be noted that Telemetry is a remote monitoring technology that is mainly used to collect device performance data in real time. Performance data collection based on the Telemetry interface can provide real-time and efficient data collection and analysis.

[0037] Step S1022: receiving the performance data in Proto format reported by the wavelength division device in response to the subscription information, and pushing the performance data in Proto format to the Kafka cluster.

[0038] Step S1023, since the data collected comes from different performance monitoring points of different cassette-type wavelength division equipment, the data cycle collected by TELELMETRY can be accurate to the second level. Before the data is stored in the ES database, the fault judgment needs to be performed, and the data needs to be compressed, including the following steps:

[0039] Step S1, read the data in different topics of Kafka (topic1,...,topicn), and process the data in the topic.

[0040] Step S2, storing the collected performance data after consumption in a cache, wherein the cache stores three pieces of performance data of a certain type for a performance monitoring point of a device.

[0041] Step S3, determine whether the performance data at the same time is missing. If the data is missing, use the data with the closest time in the cache to complete it.

[0042] Step S4: The same type of performance data collected at the same time and location is judged. If two pieces of performance data are the same, they are merged into one and the data timestamp is updated. If they are inconsistent, the different data are recorded separately. After the data is recorded, the cache and ES database are updated at the same time.

[0043] Wavelength Division Multiplexing (WDM) equipment is a device used to achieve simultaneous transmission of optical signals of different wavelengths in the same optical fiber. The performance data sent by the WDM equipment can include the following aspects: 1. Power of optical signal: The optical power at the transmitting end is an important indicator to measure the transmission performance of the equipment. Too high or too low optical power may lead to signal quality degradation or equipment damage, usually expressed in decibels (dBm). The optical signal power in the performance data of the WDM equipment usually refers to the optical power of the input or output port, which is used to measure the intensity of the optical signal. The size of the optical signal power directly affects the performance and working effect of the equipment, so in the specification table of the WDM equipment, the optical signal power is usually listed in detail. 2. Wavelength: WDM technology allows multiple optical signals of different wavelengths to be transmitted in the same optical fiber. Wavelength accuracy and stability are crucial to the performance of the equipment. 3. Channel spacing: Channel spacing refers to the distance between adjacent wavelengths. Smaller channel spacing can improve the utilization of optical fiber, but it also increases the impact of crosstalk and dispersion. 4. Bit error rate: Bit error rate is an important indicator to measure signal quality, indicating the probability of errors in signal transmission. A low bit error rate means a high signal quality. 5. Signal-to-noise ratio: The signal-to-noise ratio is another important indicator to measure signal quality, which indicates the ratio between signal strength and background noise. A high signal-to-noise ratio means a good signal quality. 6. Dispersion: Dispersion refers to the phenomenon that when light signals of different wavelengths are transmitted in optical fibers, the speeds of light signals are different, resulting in distortion of the signal waveform. Dispersion has a great impact on signal quality. 7. Crosstalk: Crosstalk refers to the mutual interference between adjacent wavelengths in a multi-wavelength transmission system. Crosstalk affects signal quality, especially when the channel spacing is small. 8. System capacity: System capacity refers to the maximum number of channels that a wavelength division device can support in a specific optical fiber. The higher the system capacity, the stronger the transmission capability of the device. 9. Modulation format: Modulation format refers to the encoding method of the optical signal. Different modulation formats have different transmission characteristics and signal quality.

[0044] Preferably, the wavelength division device is a box-type wavelength division device, wherein the box-type wavelength division device is a device for transmitting and receiving radio signals, and is generally used in wireless communication systems. It can separate signals of different frequencies to avoid interference and improve communication quality. The box-type wavelength division device is generally composed of components such as antennas, filters, amplifiers and demodulators, and can be customized and adjusted according to different needs and applications.

[0045] Step S104: when it is determined according to the power of the optical signal that the target wavelength division device triggers an alarm, target alarm information is generated, wherein the target alarm information at least includes identification information of the target wavelength division device.

[0046] The collected optical signal power data needs to be analyzed. You can set a threshold, such as below the lower limit of the normal operating range or above the upper limit, to determine whether to trigger an alarm. Set the alarm condition according to the technical specifications of the equipment and the actual application requirements. For example, if the optical signal power is lower than -40dBm (assuming this is the lower limit of the normal operating range), an alarm needs to be triggered.

[0047] Step S106: determining the target network topology structure associated with the target wavelength division device according to the identification information.

[0048] The identification information is, for example, unique identification information of a wavelength division device, such as device model, serial number, MAC address, etc. For example, the target network topology structure where the target wavelength division device is located can be determined according to the MAC address of the target wavelength division device.

[0049] Step S108, scheduling the optical signal input into the target network topology structure according to the shortest path first algorithm.

[0050] The Shortest Path First (SPF) algorithm is an algorithm for finding the shortest path between two vertices in a weighted graph. Examples of the shortest path first algorithm include the Dijkstra algorithm and the Bellman-Ford algorithm.

[0051] Among them, Dijkstra's algorithm is applicable to graphs where all edge weights are non-negative. The algorithm starts from the starting point and gradually determines the shortest path from one vertex to all other vertices. It uses a priority queue (usually a minimum heap) to prioritize vertices with the smallest distance. Specifically, the steps of Dijkstra's algorithm are as follows:

[0052] 1. Initialize the shortest path estimates for all vertices to infinity, except for the starting vertex, whose path estimate is 0.

[0053] 2. Create an empty set S to store the vertices for which the shortest path has been found.

[0054] 3. Create a priority queue Q and add all vertices to the queue according to their shortest path estimate (from small to large).

[0055] 4. When Q is not empty, perform the following steps: a. Take the vertex u from Q that has the smallest shortest path estimate. b. Add vertex u to S. c. Traverse all adjacent vertices v of vertex u: If v is not in S, calculate the new path length to reach v through u (that is, the current shortest path length of u plus the weight of edge (u,v)). If the new path length is less than the current shortest path length of v, update the shortest path estimate of v and add it to Q.

[0056] 5. The algorithm ends when Q is empty or all vertices are added to S. At this point, the shortest path estimate for all vertices is the shortest path length from the starting vertex to that vertex.

[0057] According to the above steps, by adopting the performance data based on the telemetry interface sent by the receiving wavelength division device, wherein the performance data at least includes: the power of the optical signal; in the case where it is determined according to the power of the optical signal that the target wavelength division device triggers an alarm, generating target alarm information, wherein the target alarm information at least includes: the identification information of the target wavelength division device; according to the identification information, determining the target network topology structure associated with the target wavelength division device; according to the shortest path first algorithm, scheduling the optical signal of the input target network topology structure, the purpose of reducing the degree of dependence of the optical signal scheduling process on manual work is achieved, thereby realizing the technical effect of improving the efficiency of network operation and maintenance.

[0058] According to some optional embodiments of the present application, scheduling of optical signals input to a target network topology structure according to a shortest path first algorithm can be achieved by the following method: determining the shortest scheduling path of the optical signals input to the target network topology structure according to the shortest path first algorithm; and scheduling the optical signals input to the target network topology structure based on the shortest scheduling path.

[0059] According to some other optional embodiments of the present application, the target network topology structure includes n nodes, wherein each node is connected through a primary and backup path, and each node includes a plurality of wavelength division devices connected through the primary and backup paths.

[0060] It is understandable that the above nodes are also called sites. A site in the network topology refers to a specific device or node in the network, usually a host, router, switch, server, etc. A site can be a transit node connecting other sites or a terminal device. The types and functions of sites vary depending on the scale and topology of the network. Sites communicate and transmit data through network connections, forming the basis of the entire network.

[0061] For example, the target network topology includes 6 nodes: A, B, C, D, E, and F. Each node includes two wavelength division devices, node A includes two wavelength division devices, namely, A East and A West, node B includes two wavelength division devices, namely, B East and B West, node C includes two wavelength division devices, namely, C East and C West, node D includes two wavelength division devices, namely, D East and D West, node E includes two wavelength division devices, namely, E East and E West, and node F includes two wavelength division devices, namely, F East and F West.

[0062] Figure 2 is a schematic diagram of a network topology structure according to an embodiment of the present application, Figure 2The network topology structure in which all WDM devices are operating normally, there are two main paths between two nodes, where λ 1 , 2 Two channels (optical signals) go up from A in the west, pass through multiple stations, and go down from F in the east. 3 , 4 Two channels go up from B West, pass through multiple sites, and then go down from F East, and so on. There are multiple through-paths between B East and B West, between C East and C West, and so on. It should be noted that the primary and backup channels between the wavelength division devices in the node do not interfere with each other.

[0063] Figure 3 is a schematic diagram of another network topology structure according to an embodiment of the present application, such as Figure 3 As shown in the figure, when the main road from A West to B East fails, λ 1 , 2 The two channels can be automatically adjusted to the backup channels, and the channel scheduling method provided in step S108 is not involved in this case.

[0064] Furthermore, scheduling of optical signals input into the target network topology structure according to the shortest path first algorithm can also be achieved by the following method.

[0065] Step S1041, when the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm message is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm message is generated, and according to the shortest path first algorithm, a first scheduling path of the first optical signal is determined, wherein the j-th node is a node adjacent to the i-th node, the u-th node is a node adjacent to the j-th node, the first alarm message is used to indicate that a main channel between the i-th node and the j-th node has a fault, and the second alarm message is used to indicate that a backup channel between the j-th node and the u-th node has a fault.

[0066] Step S1042: If the first scheduling path includes the jth node and the uth node, the first optical signal is transmitted to the vth node through the backup channel between the ith node and the jth node, the backup channel in the jth node, the main channel between the jth node and the uth node, the main channel in the uth node, and the main channel between the uth node and the vth node, wherein the vth node is the output node of the first optical signal.

[0067] Figure 4 is a schematic diagram of an optical signal scheduling method according to an embodiment of the present application, such as Figure 4 As shown, when node A receives λ 1 , 2In the case of a (first optical signal), if the B East device (first target wavelength division device) in the B node triggers an alarm, generates a first alarm message, and the C East device (second target wavelength division device) in the C node triggers an alarm, generates a second alarm message, then according to the shortest path first algorithm, the first scheduling path of the first optical signal is determined. It can be understood that the first alarm message is used to indicate that the main channel between the A node and the B node is faulty, and the second alarm message is used to indicate that the backup channel between the B node and the C node is faulty.

[0068] Further, if the first scheduling path includes node B and node C, the first optical signal is transmitted to node F through the backup channel between node A and node B, the backup channel in node B, the main channel between node B and node C, the main channel in node C, and the main channel between node C and node F in sequence, wherein node F is the output node of the first optical signal.

[0069] It can be understood that the main channel between the C node and the F node includes: the main channel between the C node and the D node, the main channel between the D node and the E node, and the main channel between the E node and the F node.

[0070] Preferably, after the first optical signal is transmitted to the vth node, the following steps may be performed: receiving performance data based on a telemetry interface sent by a wavelength division device; if it is determined based on the performance data that the fault in the backup channel between the jth node and the uth node has been eliminated, the first optical signal is transmitted to the vth node in sequence through the backup channel between the ith node and the jth node, the backup channel in the jth node, the backup channel between the jth node and the uth node, the backup channel in the uth node, and the backup channel between the uth node and the vth node.

[0071] In short, when the backup line from B West equipment to C East equipment fails, 1 , 2 The channel is scheduled from the backup-to-backup route to the backup-to-primary route. When the fault from B West to C East disappears, 1 , 2 The channel is rescheduled to the backup route to restore the initial state. In addition, if the failure from device A West to device B East is restored, the channel will not be scheduled.

[0072] On the other hand, the optical signal input into the target network topology structure may also be scheduled by the following method.

[0073] When the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm message is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm message is generated, and the first scheduling path of the first optical signal is determined according to the shortest path first algorithm.

[0074] In the case where the first scheduling path includes the j-th node and the u-th node, if the j-th node receives the second optical signal.

[0075] The first optical signal is transmitted sequentially through the backup channel between the i-th node and the j-th node and the backup channel in the j-th node.

[0076] The target optical signal is transmitted to the vth node through the main channel between the jth node and the uth node, through the main channel in the uth node, and through the main channel between the uth node and the vth node in sequence, wherein the target optical signal includes: a first optical signal and a second optical signal.

[0077] Combine the following Figure 4 , explain the above scheduling process in detail.

[0078] Received at node A 1 , 2 In this case, if the first target wavelength division device in node B triggers an alarm, a first alarm message is generated, and the second target wavelength division device in node C triggers an alarm, a second alarm message is generated, and the first scheduling path of the first optical signal is determined according to the shortest path first algorithm.

[0079] Furthermore, in the case where the first scheduling path includes the B node and the C node, if the B node receives λ 3 , 4 , transmits λ through the backup channel between node A and node B, and the backup channel in node B. 1 , 2 .

[0080] Through the main channel between node B and node C, through the main channel in node C, and through the main channel between node C and node F, λ 1 , 2 , 3 , 4 Transmit to node F.

[0081] In some optional embodiments of the present application, receiving performance data based on a telemetry interface sent by a wavelength division device includes the following steps: receiving performance data based on a telemetry interface sent by the wavelength division device according to a first preset time interval.

[0082] For example, performance data based on a telemetry interface sent by a wavelength division device is received every 5 minutes.

[0083] In the case of determining that a wavelength division device triggers an alarm according to the power of an optical signal, generating alarm information includes the following steps: determining whether the power of an optical signal received by the wavelength division device is in a first preset interval, if the power of an optical signal received by the wavelength division device is in the first preset interval, determining that the wavelength division device triggers a first alarm, and generating first target alarm information, wherein the first target alarm information at least includes: identification information of the first wavelength division device that triggers the first alarm. It can be understood that the power of the optical signal being in the first preset interval means that the power of the optical signal fluctuates, but the fluctuation does not affect business continuity.

[0084] Furthermore, the identification information of the first wavelength division device is recorded, and the performance data based on the telemetry interface sent by the first wavelength division device is received according to a second preset time interval, wherein the second preset time interval is smaller than the first preset time interval.

[0085] For example, when it is determined that the power of the optical signal fluctuates, in order to timely monitor whether the wavelength division device operates normally, it can be set to receive performance data based on the telemetry interface sent by the wavelength division device every 2 minutes.

[0086] Determine whether the power of the optical signal received by the wavelength division device is in a second preset interval. If the power of the optical signal received by the wavelength division device is in the second preset interval, determine that the wavelength division device triggers an alarm and generate target alarm information, wherein the absolute value of the minimum endpoint in the second preset interval is greater than the absolute value of the minimum endpoint in the first preset interval.

[0087] It can be understood that the power of the optical signal is in the second preset range, which means that the power of the optical signal fluctuates and the fluctuation will affect the continuity of the service. Therefore, it can be determined that the wavelength division device triggers an alarm, and then the target alarm information is generated.

[0088] As some optional embodiments of the present application, the target alarm information also includes: board information of the wavelength division device.

[0089] Furthermore, scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm can also be achieved by the following method: when the board of the wavelength division device indicated in the board information is a wavelength selection switch board, scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm.

[0090] It should be noted that the wavelength selection switch card can select wavelengths and schedule optical signals according to the real-time network conditions, so as to optimize the use of network resources and improve network performance and overall operation efficiency. Moreover, the wavelength selection switch card can be flexibly scheduled according to different network requirements and signal transmission conditions, and can quickly respond to network changes and faults, thus improving the flexibility and manageability of the network.

[0091] Figure 5 is a flow chart of an optical signal processing according to an embodiment of the present application, such as Figure 5 As shown, the method includes the following steps.

[0092] Step S501: Subscription information for instructing the wavelength division device to report performance data collected based on the Telemetry interface is sent to the wavelength division device.

[0093] Specifically, firstly, the candidate monitoring points of the time domain reflectometer reported by the wavelength division device are obtained. When there are multiple candidate monitoring points, the system can autonomously determine the target monitoring point from the candidate monitoring points, such as taking all the candidate monitoring points of the wavelength division device as the target monitoring point. Then, the Telemetry information of the target monitoring point of the time domain reflectometer OTDR is sent to the wavelength division device.

[0094] It should be noted that Telemetry is a remote monitoring technology that is mainly used to collect device performance data in real time. Performance data collection based on the Telemetry interface can provide real-time and efficient data collection and analysis.

[0095] Step S502: receiving the performance data in Proto format reported by the wavelength division device in response to the subscription information, and pushing the performance data in Proto format to the Kafka cluster.

[0096] Step S503: the device pushes key performance indicator data.

[0097] Step S504: Since the data collected comes from different performance monitoring points of different cassette-type wavelength division equipment, the data cycle collected by TELELMETRY can be accurate to the second level. Before the data is stored in the ES database, fault determination is performed and the data needs to be compressed.

[0098] Specifically, first read the data in different topics of Kafka (topic1,...,topicn), and then process the data in the topic.

[0099] Secondly, the collected performance data is stored in a cache after consumption, and the cache stores three pieces of performance data of a certain type for one performance monitoring point of one device.

[0100] Then, determine whether the performance data at the same time is missing. If the data is missing, use the data with the closest time in the cache to complete it.

[0101] Next, the same type of performance data collected at the same location at the same time is judged. If two pieces of performance data are the same, they are merged into one and the data timestamp is updated. If they are inconsistent, the different data are recorded separately. After the data is recorded, the cache and ES database are updated at the same time.

[0102] Finally, it is determined whether the collected data triggers an alarm. If an alarm is triggered, the process proceeds to step S505 for another determination.

[0103] Step S505, use the alarm information to query the network topology associated with the current alarm. Analyze the topology to determine whether channel scheduling is required. If the alarm does not affect business continuity, no channel scheduling measures will be taken. If the alarm affects the business process, the channel scheduling program will be started.

[0104] Step S506: Perform a global route search on the current alarm to determine whether there is an available backup route. If there are multiple backup routes, use the Shortest Path First (SPF) algorithm to select one of them for channel scheduling.

[0105] Specifically, Figure 6 A flowchart of another optical signal scheduling method is provided, such as Figure 6 As shown, when an alarm is triggered, the target network topology structure associated with the target wavelength division device is determined according to the identification information of the target wavelength division device triggered by the alarm.

[0106] Further, it is determined whether channel scheduling is currently triggered, and if channel scheduling is currently triggered, it is determined whether there is currently an available route. If there is currently an available route, the channel is scheduled to the available route according to the shortest path first algorithm.

[0107] Further, it is determined whether the alarm has ended. If the alarm has ended, the channel is scheduled to the original route. In other words, the alarm status is continuously monitored to determine whether it has been restored. If the alarm status has been restored, the channel configuration is restored to the original state. If the alarm persists, the current channel scheduling state is maintained and monitoring continues.

[0108] According to the above steps, the method of collecting performance data in real time through Telemetry can realize automatic scheduling of wavelengths in complex networking environments. A flexible channel scheduling and allocation scheme can be used to protect the working route. The advantage of this method is that it can collect data with higher accuracy, thereby reflecting the network status more comprehensively. On this basis, it provides an overall solution and technical support for refined network operation and maintenance and automatic wavelength scheduling.

[0109] In addition, Telemetry technology is creatively used in channel scheduling analysis to push status data and achieve second-level status monitoring. Telemetry technology allows devices to actively push data at high speed in push mode, avoiding the inefficiency of traditional pull methods. Without manual channel scheduling, relying on the second-level reporting of performance data, the performance of box-type wavelength division equipment can be analyzed in real time, and on this basis, channel scheduling can be performed and reports can be provided for use by operation and maintenance personnel.

[0110] Figure 7 is a structural diagram of an optical signal scheduling device according to an embodiment of the present application, such as Figure 7 As shown, the device comprises:

[0111] The receiving module 70 is used to receive the performance data based on the telemetry interface sent by the wavelength division device, wherein the performance data at least includes: the power of the optical signal.

[0112] The generating module 72 is configured to generate target alarm information when it is determined according to the power of the optical signal that the target wavelength division device triggers an alarm, wherein the target alarm information at least includes identification information of the target wavelength division device.

[0113] The determination module 74 is used to determine the target network topology structure associated with the target wavelength division device according to the identification information.

[0114] The scheduling module 76 is used to schedule the optical signals input into the target network topology structure according to the shortest path first algorithm.

[0115] Optionally, scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm includes the following steps: determining the shortest scheduling path of the optical signal of the input target network topology structure according to the shortest path first algorithm; and scheduling the optical signal of the input target network topology structure based on the shortest scheduling path.

[0116] Optionally, the target network topology structure includes n nodes, wherein each node is connected through a primary and backup path, and each node includes a plurality of wavelength division devices connected through the primary and backup paths; according to the shortest path first algorithm, the optical signal input into the target network topology structure is scheduled, comprising the following steps: when the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm message is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm message is generated, and according to the shortest path first algorithm, a first scheduling path of the first optical signal is determined, wherein the j-th node is adjacent to the i-th node. A node, the u-th node is a node adjacent to the j-th node, the first alarm information is used to indicate that a main channel between the ith node and the j-th node fails, and the second alarm information is used to indicate that a backup channel between the j-th node and the u-th node fails; if the first scheduling path includes the j-th node and the u-th node, the first optical signal is transmitted to the v-th node through the backup channel between the ith node and the j-th node, the backup channel in the j-th node, the main channel between the j-th node and the u-th node, the main channel in the u-th node, and the main channel between the u-th node and the v-th node in sequence, wherein the v-th node is an output node of the first optical signal.

[0117] Optionally, after the first optical signal is transmitted to the vth node, the following steps are further performed: receiving performance data based on a telemetry interface sent by a wavelength division device; if it is determined based on the performance data that the fault in the backup channel between the jth node and the uth node has been eliminated, the first optical signal is transmitted to the vth node through the backup channel between the ith node and the jth node, the backup channel in the jth node, the backup channel between the jth node and the uth node, the backup channel in the uth node, and the backup channel between the uth node and the vth node, in sequence.

[0118] Optionally, scheduling the optical signal input into the target network topology structure comprises the following steps: when the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm message is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm message is generated, and a first scheduling path of the first optical signal is determined according to a shortest path first algorithm; when the j-th node and the u-th node are included in the first scheduling path, if the j-th node receives the second optical signal, the first optical signal is transmitted through a backup channel between the i-th node and the j-th node and a backup channel in the j-th node in sequence; and the target optical signal is transmitted to the v-th node through a main channel between the j-th node and the u-th node, through a main channel in the u-th node, and through a main channel between the u-th node and the v-th node in sequence, wherein the target optical signal comprises: a first optical signal and a second optical signal.

[0119] Optionally, receiving performance data based on a telemetry interface sent by a wavelength division device comprises the following steps: receiving performance data based on a telemetry interface sent by the wavelength division device according to a first preset time interval; generating alarm information when it is determined that the wavelength division device triggers an alarm according to the power of an optical signal, comprising the following steps: determining whether the power of an optical signal received by the wavelength division device is within a first preset interval, and if the power of an optical signal received by the wavelength division device is within the first preset interval, determining that the wavelength division device triggers a first alarm, and generating first target alarm information, wherein the first target alarm information at least comprises: identification information of a first wavelength division device that triggers the first alarm; recording the identification information of the first wavelength division device, and receiving performance data based on a telemetry interface sent by the first wavelength division device according to a second preset time interval, wherein the second preset time interval is less than the first preset time interval; determining whether the power of an optical signal received by the wavelength division device is within a second preset interval, and if the power of an optical signal received by the wavelength division device is within the second preset interval, determining that the wavelength division device triggers an alarm, and generating target alarm information, wherein the absolute value of the minimum endpoint in the second preset interval is greater than the absolute value of the minimum endpoint in the first preset interval.

[0120] Optionally, the target alarm information also includes: board information of the wavelength division device; scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm, including the following steps: when the board of the wavelength division device indicated in the board information is a wavelength selection switch board, scheduling the optical signal of the input target network topology structure according to the shortest path first algorithm.

[0121] It should be noted that the above Figure 7 The modules in the embodiment may be program modules (e.g., a set of program instructions for implementing a specific function) or hardware modules. For the latter, they may be expressed in the following forms, but are not limited thereto: the expression form of the above modules is a processor, or the functions of the above modules are implemented by a processor.

[0122] It should be noted that Figure 7 The preferred implementation of the illustrated embodiment can be found in Figure 1 The relevant description of the illustrated embodiment will not be repeated here.

[0123] Figure 8 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing an optical signal scheduling method. Figure 8As shown, the computer terminal 80 may include one or more (802a, 802b, ..., 802n are used to illustrate) processors 802 (the processor 802 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 804 for storing data, and a transmission module 806 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 8 The structure shown is for illustration only and does not limit the structure of the above electronic device. Figure 8 More or fewer components as shown, or with Figure 8 Different configurations shown.

[0124] It should be noted that the one or more processors 802 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 80. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0125] The memory 804 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the optical signal scheduling method in the embodiment of the present application. The processor 802 executes various functional applications and data processing by running the software programs and modules stored in the memory 804, that is, the above-mentioned optical signal scheduling method is realized. The memory 804 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 804 may further include a memory remotely arranged relative to the processor 802, and these remote memories may be connected to the computer terminal 80 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0126] The transmission module 806 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 80. In one example, the transmission module 806 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 806 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0127] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 80 .

[0128] It should be noted that, in some optional embodiments, the above Figure 8 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 8 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.

[0129] It should be noted that Figure 8 The computer terminal shown is used to execute Figure 1 The optical signal scheduling method shown in the figure, therefore the relevant explanations in the execution method of the above command are also applicable to the electronic device and will not be repeated here.

[0130] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above optical signal scheduling method.

[0131] A program for executing the following functions on a non-volatile storage medium: receiving performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data includes at least: the power of an optical signal; generating target alarm information when it is determined that a target wavelength division device triggers an alarm based on the power of the optical signal, wherein the target alarm information includes at least: identification information of the target wavelength division device; determining a target network topology structure associated with the target wavelength division device based on the identification information; and scheduling the optical signal of the input target network topology structure based on a shortest path first algorithm.

[0132] An embodiment of the present application further provides an electronic device, including: a memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the above optical signal scheduling method is executed when the program is run.

[0133] The processor is used to run a program that performs the following functions: receiving performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data at least includes: the power of an optical signal; generating target alarm information when it is determined that a target wavelength division device triggers an alarm based on the power of the optical signal, wherein the target alarm information at least includes: identification information of the target wavelength division device; determining a target network topology structure associated with the target wavelength division device based on the identification information; and scheduling an optical signal input into the target network topology structure based on a shortest path first algorithm.

[0134] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0135] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0136] In the above-mentioned embodiments of the present application, the collected information is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary protection measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0137] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0140] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0141] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. An optical signal scheduling method, characterized in that: include: Receiving performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data at least includes: power of an optical signal; In the case where it is determined that the target wavelength division device triggers an alarm according to the power of the optical signal, generating target alarm information, wherein the target alarm information at least includes: identification information of the target wavelength division device; Determining a target network topology structure associated with the target wavelength division device according to the identification information; According to the shortest path first algorithm, the optical signal input into the target network topology is scheduled.

2. The method according to claim 1, characterized in that Scheduling the optical signal input into the target network topology structure according to the shortest path first algorithm includes: Determining the shortest scheduling path of the optical signal input into the target network topology structure according to the shortest path first algorithm; Based on the shortest scheduling path, the optical signal input into the target network topology is scheduled.

3. The method according to claim 1, characterized in that include: The target network topology structure includes n nodes, wherein each node is connected via a primary and backup path, and each node includes a plurality of wavelength division devices connected via the primary and backup paths; Scheduling the optical signal input into the target network topology structure according to the shortest path first algorithm includes: In the case where the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, a first alarm message is generated, and the second target wavelength division device in the u-th node triggers an alarm, a second alarm message is generated, and according to the shortest path first algorithm, a first scheduling path of the first optical signal is determined, wherein the j-th node is a node adjacent to the i-th node, the u-th node is a node adjacent to the j-th node, the first alarm message is used to indicate that a main channel between the i-th node and the j-th node fails, and the second alarm message is used to indicate that a backup channel between the j-th node and the u-th node fails; If the first scheduling path includes the jth node and the uth node, the first optical signal is transmitted to the vth node through the backup channel between the ith node and the jth node, the backup channel in the jth node, the main channel between the jth node and the uth node, the main channel in the uth node, and the main channel between the uth node and the vth node in sequence, wherein the vth node is an output node of the first optical signal.

4. The method according to claim 3, characterized in that After transmitting the first optical signal to the vth node, the method further includes: Receive the performance data based on the telemetry interface sent by the wavelength division device, and if it is determined according to the performance data that the fault in the backup channel between the j-th node and the u-th node has been eliminated, transmit the first optical signal to the v-th node through the backup channel between the i-th node and the j-th node, the backup channel in the j-th node, the backup channel between the j-th node and the u-th node, the backup channel in the u-th node, and the backup channel between the u-th node and the v-th node in sequence.

5. The method according to claim 3, characterized in that: Scheduling the optical signal input into the target network topology structure also includes: In the case where the i-th node receives the first optical signal, if the first target wavelength division device in the j-th node triggers an alarm, the first alarm information is generated, and the second target wavelength division device in the u-th node triggers an alarm, the second alarm information is generated, and the first scheduling path of the first optical signal is determined according to the shortest path first algorithm; In the case where the first scheduling path includes the j-th node and the u-th node, if the j-th node receives the second optical signal transmitting the first optical signal sequentially through a backup channel between the i-th node and the j-th node and a backup channel in the j-th node; The target optical signal is transmitted to the vth node sequentially through a main channel between the jth node and the uth node, through a main channel in the uth node, and through a main channel between the uth node and the vth node, wherein the target optical signal includes: the first optical signal and the second optical signal.

6. The method according to claim 1, characterized in that Receiving performance data based on a telemetry interface sent by a wavelength division device, comprising: receiving the performance data based on the telemetry interface sent by the wavelength division device according to a first preset time interval; In the case where it is determined according to the power of the optical signal that the wavelength division device triggers an alarm, generating alarm information includes: Determine whether the power of the optical signal received by the wavelength division device is within a first preset interval; if the power of the optical signal received by the wavelength division device is within the first preset interval, determine that the wavelength division device triggers a first alarm, and generate first target alarm information, wherein the first target alarm information at least includes: identification information of the first wavelength division device that triggers the first alarm; Recording the identification information of the first wavelength division device, and receiving the performance data based on the telemetry interface sent by the first wavelength division device according to a second preset time interval, wherein the second preset time interval is less than the first preset time interval; Determine whether the power of the optical signal received by the wavelength division device is within a second preset interval. If the power of the optical signal received by the wavelength division device is within the second preset interval, determine that the wavelength division device triggers an alarm and generate the target alarm information, wherein the absolute value of the minimum endpoint in the second preset interval is greater than the absolute value of the minimum endpoint in the first preset interval.

7. The method according to claim 1, characterized in that The target alarm information also includes: board information of the wavelength division device; Scheduling the optical signal input into the target network topology structure according to the shortest path first algorithm includes: In a case where the board of the wavelength division device indicated in the board information is a wavelength selective switch board, the optical signal input into the target network topology structure is scheduled according to a shortest path first algorithm.

8. An optical signal scheduling device, characterized in that: include: A receiving module, used to receive performance data based on a telemetry interface sent by a wavelength division device, wherein the performance data at least includes: power of an optical signal; A generating module, configured to generate target alarm information when it is determined that the target wavelength division device triggers an alarm according to the power of the optical signal, wherein the target alarm information at least includes: identification information of the target wavelength division device; A determination module, configured to determine a target network topology structure associated with the target wavelength division device according to the identification information; The scheduling module is used to schedule the optical signal input into the target network topology structure according to the shortest path first algorithm.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the optical signal scheduling method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the optical signal scheduling method according to any one of claims 1 to 7 when running.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the optical signal scheduling method according to any one of claims 1 to 7 is implemented.