Optical path scheduling method and device, electronic equipment and storage medium

CN122802815APending Publication Date: 2026-09-22INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610568306.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-27
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0004]然而,现有的资源管理系统往往只记录逻辑连接关系,缺乏与物理空间(如机房、机架、光交箱)及地理信息的精确关联,无法自动生成最优且可用的光路调度方案

Benefits of technology

[0017]本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述光路调度方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802815A_ABST
    Figure CN122802815A_ABST
Patent Text Reader

Abstract

The application provides an optical path scheduling method and device, electronic equipment and storage medium, and relates to the technical field of optical fiber communication, comprising: constructing a digital space topology resource model of an optical network, the digital space topology resource model containing associated space elements, device elements, connection elements and port elements; in response to an optical path scheduling request containing a starting device port identifier and a target device port identifier, calculating an optical path route from the starting device port identifier to the target device port identifier based on the digital space topology resource model; and generating an optical path scheduling scheme containing an optical path physical path according to the optical path route. The application solves the problem of low efficiency and errors caused by reliance on manual operation in traditional optical path scheduling by constructing a digital space topology resource model containing multi-dimensional elements and automatically calculating the route, realizes full-process automation from a service request to scheme output, and greatly improves service opening efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical fiber communication technology, and in particular to an optical path scheduling method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the rapid development of all-optical networks and fifth-generation fixed networks, the scale of fiber optic networks has expanded dramatically. In traditional fiber distribution networks, optical path scheduling mainly relies on maintenance personnel manually consulting paper diagrams or discrete spreadsheets to design optical path routes from the origin and destination ports. This manual scheduling method is not only time-consuming and inefficient, but also highly susceptible to errors in route calculation due to untimely information updates or human negligence, leading to network failures.

[0003] To improve the efficiency of optical path management, existing resource management systems or traditional network management systems are being introduced into network operations and maintenance. These systems typically use databases to record the logical connection relationships between network devices, allowing maintenance personnel to perform online queries of fiber optic ports and splitter ports, thus assisting in the commissioning and scheduling of fiber optic lines to some extent.

[0004] However, existing resource management systems often only record logical connections, lacking precise association with physical spaces (such as computer rooms, racks, and optical distribution boxes) and geographical information, and thus cannot automatically generate optimal and usable optical path scheduling schemes. Therefore, how to automatically generate optical path scheduling schemes has become an urgent problem to be solved in this field. Summary of the Invention

[0005] This invention provides an optical path scheduling method, apparatus, electronic device, and storage medium to solve the technical problem of how to automatically generate optical path scheduling schemes.

[0006] This invention provides an optical path scheduling method, comprising: Construct a digital spatial topology resource model for an optical network, wherein the digital spatial topology resource model includes associated spatial elements, device elements, connection elements, and port elements; In response to an optical path scheduling request containing a starting device port identifier and a destination device port identifier, an optical path route from the starting device port identifier to the destination device port identifier is calculated based on the digital spatial topology resource model. An optical path scheduling scheme containing the physical path of the optical path is generated based on the optical path route.

[0007] According to an optical path scheduling method provided by the present invention, the construction of a digital spatial topology resource model for an optical network includes: The physical location information of the central computer room and the optical cable junction box is obtained as the spatial element; The rack location information of the optical line terminal, the first-stage optical splitter, and the second-stage optical splitter is obtained as the equipment element; The starting and ending points of the trunk optical cable, distribution optical cable, and drop optical cable, as well as the connectivity of the fiber cores, are obtained as the connection elements. The status of the passive optical network port of the optical line terminal, the input port and the output port of the first-level optical splitter and the second-level optical splitter are obtained as the port elements; The relationships between the spatial elements, the equipment elements, the connection elements, and the port elements are established to obtain the digital spatial topology resource model.

[0008] According to an optical path scheduling method provided by the present invention, the step of calculating the optical path route from the starting device port identifier to the target device port identifier based on the digital spatial topology resource model includes: Extract the optical cable branch points in the port elements and connection elements as nodes in the topology graph; The fiber optic connections in the connection elements are extracted as edges of the topology graph; Assign weights to each edge to construct a weighted directed topology graph; The optical path route is obtained by searching the directed topology graph for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier.

[0009] According to an optical path scheduling method provided by the present invention, the step of setting a weight for each edge includes: Obtain the physical distance, optical loss, and hop count of the optical fiber connection corresponding to each edge; The physical distance, the optical attenuation loss, and the hop count are multiplied by their respective scaling factors and summed to obtain the corresponding weighted sum. The weighted sum is used as the weight of each edge.

[0010] According to an optical path scheduling method provided by the present invention, the optical path scheduling request further includes path constraint conditions; The step of searching the directed topology graph for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier to obtain the optical path route includes: Analyze the path constraints to determine the specified nodes that must be passed or the restricted edges that must be avoided; In the directed topology graph, the weight priority of the specified node is increased, and the restricted edges are removed to obtain the updated directed topology graph; In the updated directed topology graph, the optical path route is obtained by searching for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier.

[0011] According to an optical path scheduling method provided by the present invention, the step of searching the directed topology graph for the connected path with the minimum total weight from the node corresponding to the starting device port identifier to the node corresponding to the target device port identifier, to obtain the optical path route, includes: Calculate multiple connected paths with the minimum and equal total weight in the directed topology graph; Obtain a preset priority rule, wherein the priority rule is the minimum optical attenuation priority rule or the minimum hop count priority rule; According to the priority rule, a connected path with the smallest total weight is selected from multiple connected paths as the optical path route.

[0012] According to the present invention, an optical path scheduling method generates the optical path physical path based on the optical path routing, comprising: The optical line terminals, trunk optical cables, first-stage optical splitter input ports, first-stage optical splitter output ports, distribution optical cables, and second-stage optical splitter input ports that pass through the optical path route are extracted sequentially. According to the transmission order of the optical signal, the optical line terminal, the trunk optical cable, the input port of the first-stage optical splitter, the output port of the first-stage optical splitter, the distribution optical cable, and the input port of the second-stage optical splitter are arranged into a complete link sequence; The link sequence is used as the physical path of the optical path.

[0013] According to the optical path scheduling method provided by the present invention, the optical path scheduling scheme further includes an estimated optical attenuation report; The estimated optical attenuation report is generated based on the optical path routing, including: Extract the length attenuation value of the optical cable along the optical path and the insertion loss value of the device; The length attenuation value and the insertion loss value are summed to calculate the estimated total optical attenuation of the entire optical path; Generate a predicted light decay report that includes the estimated total light decay.

[0014] According to an optical path scheduling method provided by the present invention, the optical path scheduling scheme further includes a resource occupancy list; The resource occupancy list is generated based on the optical path routing, including: Extract the optical fiber cores from the port elements and connection elements through which the optical path passes; Generate a resource occupancy list that includes the extracted port elements and the optical fiber cores; After generating the optical path scheduling scheme containing the physical optical path based on the optical path route, the method further includes: In response to the confirmation command for the optical path scheduling scheme, the status of the port elements and the optical fiber cores included in the resource occupancy list in the digital spatial topology resource model is updated to an occupancy status.

[0015] The present invention also provides an optical path scheduling device, comprising: The modeling module is used to construct a digital spatial topology resource model of the optical network, which includes related spatial elements, equipment elements, connection elements and port elements. The calculation module is used to respond to an optical path scheduling request containing a starting device port identifier and a target device port identifier, and calculate the optical path route from the starting device port identifier to the target device port identifier based on the digital spatial topology resource model. The generation module is used to generate an optical path scheduling scheme containing the physical path of the optical path based on the optical path route.

[0016] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the optical path scheduling method described above.

[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the optical path scheduling method as described above.

[0018] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the optical path scheduling method as described above.

[0019] The optical path scheduling method, device, electronic device, and storage medium provided by this invention solve the problems of low efficiency and error-proneness caused by the reliance on manual operation in traditional optical path scheduling by constructing a digital spatial topology resource model containing multi-dimensional elements and automatically calculating routes. It realizes full-process automation from service request to solution output, and greatly improves the efficiency of service activation. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0021] Figure 1 This is a flowchart illustrating the optical path scheduling method provided by the present invention.

[0022] Figure 2 This is a schematic diagram illustrating the principle of the optical path scheduling method provided by the present invention.

[0023] Figure 3 This is a schematic diagram of the optical path scheduling method device provided by the present invention.

[0024] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0026] The following is combined with Figures 1 to 4 The optical path scheduling method, apparatus, electronic device, and storage medium of the present invention are described.

[0027] Figure 1 This is a flowchart illustrating the optical path scheduling method provided by the present invention, as follows: Figure 1 As shown, the method includes, but is not limited to, steps S1, S2 and S3.

[0028] Step S1: Construct a digital spatial topology resource model of the optical network. The digital spatial topology resource model includes related spatial elements, equipment elements, connection elements, and port elements.

[0029] Optical networks can be specifically defined as the Optical Distribution Network (ODN) within the 5th Generation Fixed Network (F5G).

[0030] A digital spatial topology resource model is a structured data model that performs a digital twin mapping of a real physical optical network. Spatial elements, equipment elements, connection elements, and port elements are classification sets of entity attributes of different dimensions in the network, which can specifically include physical facilities, communication equipment, cables, and communication interfaces on the equipment.

[0031] Step S1 can provide a digital foundation that accurately links physical space and logical state for subsequent optical path planning.

[0032] Step S2: In response to the optical path scheduling request containing the originating device port identifier and the destination device port identifier, calculate the optical path route from the originating device port identifier to the destination device port identifier based on the digital spatial topology resource model.

[0033] Optical path scheduling requests can be initiated by users through a visual interface or issued by upper-layer management systems via interfaces. The starting device port identifier and the destination device port identifier are strings or codes used to uniquely identify the starting and ending interfaces of services within the network.

[0034] Optical routing is the theoretical path for data signals to propagate between nodes within a model. Optical routes can be calculated by executing routing code or by invoking a path planning engine.

[0035] Step S2 uses intelligent algorithms to replace manual map searching, which can quickly find connectable paths.

[0036] Step S3: Generate an optical path scheduling scheme containing the physical path of the optical path based on the optical path route.

[0037] Optical path scheduling schemes can be obtained by converting optical path routes into documents or interface views in a preset template format. The physical optical path is a continuous sequence of routes on cables and devices in the real physical world. The optical path scheduling scheme is a comprehensive execution document used to guide on-site construction or automated commissioning.

[0038] Step S3 can transform the abstract routing calculation results into a visual, executable guidance scheme.

[0039] As can be seen from the above, this invention solves the problem of low efficiency and error-proneness caused by the reliance on manual operation in traditional optical path scheduling by constructing a digital spatial topology resource model containing multi-dimensional elements and automatically calculating routes. It realizes full-process automation from business request to solution output, which greatly improves the efficiency of business activation.

[0040] In one embodiment, step S1 may further include: Obtain the physical location information of the central computer room and the optical cable junction box as spatial elements; The rack location information of the optical line terminal, the first-stage optical splitter, and the second-stage optical splitter is obtained as equipment elements; Obtain the starting and ending points of the trunk optical cable, distribution optical cable and drop optical cable, and the connectivity of the fiber cores as connection elements; The status of the passive optical network ports, the input ports and output ports of the primary optical splitter and the secondary optical splitter of the optical line terminal are obtained as port elements; Establish the relationships between spatial elements, equipment elements, connection elements, and port elements to obtain a digital spatial topology resource model.

[0041] The central equipment room and fiber optic junction boxes represent the infrastructure used to house equipment in an optical network. Physical location information can include latitude and longitude, elevation, or detailed address. The physical location information of the central equipment room and fiber optic junction boxes can be obtained by reading GPS coordinate data or Geographic Information System (GIS) data. Acquiring spatial features establishes the network's geographic baseline.

[0042] The rack location information of the Optical Line Terminal (OLT), primary optical splitter, and secondary optical splitter is obtained as equipment elements. This rack location information can include rack row number, chassis number, or slot number. Obtaining these equipment elements allows us to locate the core transceiver equipment and splitting equipment in specific spaces.

[0043] Backbone optical cables, distribution optical cables, and drop cables are physical cables that connect devices at different levels. The connectivity of the fiber cores refers to the specific splicing of the optical fibers inside the cable. Obtaining these connectivity elements allows us to construct the optical signal transmission backbone of the network.

[0044] The status of the passive optical network (PON) ports, input ports of the primary optical splitter, and input ports of the secondary optical splitter of the optical line terminal is obtained as port elements. The status can include idle, occupied, or damaged. Obtaining port elements clarifies the availability of endpoint resources.

[0045] The relationships between spatial elements, device elements, connection elements, and port elements can be established by configuring foreign key mappings in database tables or setting pointer references in memory objects, thereby integrating discrete information into a mutually supportive multidimensional topological whole.

[0046] This invention precisely associates physical space facilities with logical connections, realizing WYSIWYG fine-grained management of optical network resources, and laying a solid data foundation for providing accurate routing calculations in the future.

[0047] In one embodiment, step S2, calculating the optical path route from the originating device port identifier to the destination device port identifier based on the digital spatial topology resource model, may further include: Extract the optical cable branch points from the port elements and connection elements as nodes in the topology graph; Extract the fiber optic connections from the connection elements as edges in the topology graph; Assign weights to each edge to construct a weighted directed topology graph; The optical path route is obtained by searching for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier in the directed topology graph.

[0048] A fiber optic cable branching point refers to the physical location where an optical cable branches or splices. A topology graph is a mathematical data structure composed of nodes and edges. An optical fiber connection refers to the optical signal medium that directly connects nodes. A directed topology graph is a graphical model where edges have a defined signal transmission direction.

[0049] This can be achieved by running graph theory algorithms (such as Dijkstra's shortest path algorithm or A*). An algorithm is used to search for the connected path with the minimum total weight. A connected path is an efficient sequence that is joined end-to-end.

[0050] like Figure 2 As shown, the weight on each path can represent distance (km) or loss (dB), and the algorithm aims to minimize the total weight. Figure 2 The red path in the middle, OLT-Port-1-ODF rack-A-optical distribution box-J1-first-stage splitter-SF1-target second-stage splitter, is the optimal solution calculated by the algorithm (e.g., minimum total loss: 0.5+2.5+0.3+2.0=5.3dB). Other paths (such as the path via optical distribution box-J2) exist, but are not the optimal choice due to their larger overall weight.

[0051] This invention utilizes graph theory algorithms to perform mathematical optimization in weighted directed topology graphs, completely avoiding oversights and errors caused by human calculations, and ensuring the accuracy and optimality of optical path routing.

[0052] In one embodiment, the invention assigns a weight to each edge, which may further include: Obtain the physical distance, optical loss, and hop count of the fiber optic connection corresponding to each edge; The physical distance, optical attenuation loss, and hop count are multiplied by their respective scaling factors and summed to obtain the corresponding weighted sum. The weighted sum is used as the weight of each edge.

[0053] Physical distance refers to the actual length of the optical fiber, optical attenuation loss refers to the power attenuation of the signal as it passes through the medium, and hop count refers to the number of device nodes traversed.

[0054] The proportionality coefficient is a parameter that reflects the importance of various indicators in route selection decisions. It can be used to normalize indicators across different dimensions.

[0055] This invention comprehensively considers and performs weighted calculations on multiple factors such as physical distance, optical attenuation loss, and hop count, so that the calculated optimal optical path not only satisfies the shortest path requirement, but also takes into account signal quality and equipment utilization, thereby improving the engineering practicality of the routing scheme.

[0056] In one embodiment, the optical path scheduling request of the present invention may further include path constraints. The optical path route is obtained by searching the directed topology graph for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier. This route can be further included as follows: Analyze path constraints to determine the specific nodes that must be passed or the restricted edges that must be avoided; In a directed topology graph, the weight priority of a specified node is increased and restricted edges are removed to obtain an updated directed topology graph. In the updated directed topology graph, search for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier to obtain the optical path route.

[0057] Path constraints are mandatory routing rule parameters attached to the optical path scheduling request. These include specified nodes, such as a specific primary optical distribution box; and restrictive edges, such as faulty or disabled optical cable segments.

[0058] The weight priority of a specified node can be increased by modifying the weight values ​​of the edges surrounding the node (e.g., setting them to a minimum value), and restricted edges can be removed by deleting the corresponding edge objects from the graph memory structure.

[0059] This invention supports flexible path constraints (such as avoiding a certain section of optical cable or having to pass through a certain node), enabling the optical path scheduling algorithm to adapt to complex existing network service activation requirements and fault switching scenarios, greatly enhancing network resilience.

[0060] In one embodiment, the present invention searches for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier in the directed topology graph to obtain the optical path route, which may further include: Calculate multiple connected paths with the minimum and equal total weight in a directed topology graph; Obtain the preset priority rules, which are either the minimum optical attenuation priority rule or the minimum hop count priority rule; Based on priority rules, one connected path is selected from multiple connected paths with the lowest total weight as the optical path route.

[0061] The depth-first or breadth-first properties of graph theory pathfinding algorithms can be used to find all connected paths with the minimum and equal total weight, thus obtaining a set of candidate optimal paths.

[0062] Priority rules are secondary judgment criteria that play a decisive role when the overall weights are the same. They are used to introduce a decision-making basis to break the tie and ensure the uniqueness and stability of the routing results.

[0063] When multiple connected paths with the same total weight appear, this invention uses priority rules for intelligent filtering, which can ensure that the system always outputs a single best route that conforms to a specific network quality tendency (such as optimal optical attenuation or minimum hop count), thereby improving the system's decision-making intelligence level.

[0064] In one embodiment, the generation of the optical physical path based on the optical path routing may further include: The optical line terminals, trunk optical cables, first-stage optical splitter input ports, first-stage optical splitter output ports, distribution optical cables, and second-stage optical splitter input ports that pass through the optical path are extracted sequentially. According to the transmission order of optical signals, the optical line terminal, trunk optical cable, first-stage optical splitter input port, first-stage optical splitter output port, distribution optical cable and second-stage optical splitter input port are arranged into a complete link sequence; The link sequence is used as the physical path of the optical path.

[0065] This invention directly transforms the logical optical path routing into a clear physical path that includes the sequence of optical cables and splitter ports at each level, making the physical direction of the entire optical path highly visible. This greatly reduces the difficulty for construction personnel in reading diagrams and improves the accuracy of on-site fiber patching and construction.

[0066] In one embodiment, the optical path scheduling scheme of the present invention may further include an estimated optical attenuation report; Based on the optical path routing, a predicted optical attenuation report can be generated, which may further include: Extract the length attenuation value of the optical cable along the optical path and the insertion loss value of the device; The length attenuation value and the insertion loss value are summed to calculate the estimated total optical attenuation of the entire optical path; Generate a predicted light decay report that includes the estimated total light decay.

[0067] The estimated optical attenuation report is a pre-calculated document reflecting the expected optical power loss of the line. Method length attenuation is calculated as the inherent loss per kilometer of fiber multiplied by its length, while insertion loss is the power loss caused by passive components such as splitters. The estimated total optical attenuation represents the reduction in theoretical signal strength at the receiver compared to the transmitter.

[0068] Generate an estimated optical attenuation report that includes the estimated total optical attenuation, which can provide maintenance personnel with data support for judging the feasibility of the route service (such as whether it exceeds the optical module's receiving sensitivity).

[0069] This invention automatically calculates the estimated total optical attenuation based on the specific loss parameters of optical cables and devices along the path and generates a report, effectively assisting maintenance personnel in judging the optical quality feasibility of the route before service activation, and reducing the failure rate of service interruption due to substandard optical attenuation from the source.

[0070] In one embodiment, the optical path scheduling scheme of the present invention may further include a resource occupancy list; Based on the resource usage list generated from the optical path routing, it can further include: Extract the fiber optic cores from the port elements and connection elements traversed by the optical path; Method Generate a resource usage list containing the extracted port elements and optical fiber cores; After step S3, it may also include: In response to the confirmation command for the optical path scheduling scheme, the status of the port elements and optical fiber cores included in the resource occupancy list in the digital spatial topology resource model is updated to the occupancy status.

[0071] The resource occupancy list can be a table or view of the basic network resources to be consumed in this planning process. Generating a resource occupancy list that includes extracted port elements and optical fiber cores can form a detailed resource list that can be verified during construction.

[0072] Confirmation instructions typically originate from construction workers clicking on a work order on a mobile device or within the system to complete the operation. An occupied status indicates that the resource is exclusively used by the current service and cannot be allocated to other services.

[0073] This invention can generate a detailed resource occupancy list to guide on-site operations and automatically update the resource status after construction confirmation, realizing closed-loop synchronization of scheduling and resource data, avoiding the problem of delayed resource status updates, and ensuring the continuous accuracy of subsequent optical path scheduling calculation models.

[0074] The optical path scheduling method and apparatus provided by the present invention are described below. The optical path scheduling method and apparatus described below can be referred to in correspondence with the optical path scheduling method described above.

[0075] like Figure 3 As shown, the optical path scheduling device provided by the present invention includes: The modeling module is used to construct a digital spatial topology resource model of the optical network. The digital spatial topology resource model includes related spatial elements, equipment elements, connection elements, and port elements. The calculation module is used to respond to an optical path scheduling request containing the originating device port identifier and the destination device port identifier, and calculate the optical path route from the originating device port identifier to the destination device port identifier based on the digital spatial topology resource model. The generation module is used to generate an optical path scheduling scheme containing the physical path of the optical path based on the optical path route.

[0076] Figure 4 A schematic diagram of the physical structure of an electronic device is provided. This electronic device may include a processor, a communications interface, memory, and a communication bus, wherein the processor, communications interface, and memory communicate with each other via the communication bus. The processor can invoke logical instructions from the memory to execute an optical path scheduling method.

[0077] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0078] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the optical path scheduling methods provided by the above methods.

[0079] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the optical path scheduling methods provided by the above methods.

[0080] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0081] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An optical path scheduling method, characterized in that, include: Construct a digital spatial topology resource model for an optical network, wherein the digital spatial topology resource model includes associated spatial elements, device elements, connection elements, and port elements; In response to an optical path scheduling request containing a starting device port identifier and a destination device port identifier, an optical path route from the starting device port identifier to the destination device port identifier is calculated based on the digital spatial topology resource model. An optical path scheduling scheme containing the physical path of the optical path is generated based on the optical path route.

2. The optical path scheduling method according to claim 1, characterized in that, The digital spatial topology resource model for constructing optical networks includes: The physical location information of the central computer room and the optical cable junction box is obtained as the spatial element; The rack location information of the optical line terminal, the first-stage optical splitter, and the second-stage optical splitter is obtained as the equipment element; The starting and ending points of the trunk optical cable, distribution optical cable, and drop optical cable, as well as the connectivity of the fiber cores, are obtained as the connection elements. The status of the passive optical network port of the optical line terminal, the input port and the output port of the first-level optical splitter and the second-level optical splitter are obtained as the port elements; The relationships between the spatial elements, the equipment elements, the connection elements, and the port elements are established to obtain the digital spatial topology resource model.

3. The optical path scheduling method according to claim 1, characterized in that, The calculation of the optical path route from the starting device port identifier to the target device port identifier based on the digital spatial topology resource model includes: Extract the optical cable branch points in the port elements and connection elements as nodes in the topology graph; The fiber optic connections in the connection elements are extracted as edges of the topology graph; Assign weights to each edge to construct a weighted directed topology graph; The optical path route is obtained by searching the directed topology graph for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier.

4. The optical path scheduling method according to claim 3, characterized in that, The process of assigning weights to each edge includes: Obtain the physical distance, optical loss, and hop count of the optical fiber connection corresponding to each edge; The physical distance, the optical attenuation loss, and the hop count are multiplied by their respective scaling factors and summed to obtain the corresponding weighted sum. The weighted sum is used as the weight of each edge.

5. The optical path scheduling method according to claim 3, characterized in that, The optical path scheduling request also includes path constraints; The step of searching the directed topology graph for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier to obtain the optical path route includes: Analyze the path constraints to determine the specified nodes that must be passed or the restricted edges that must be avoided; In the directed topology graph, the weight priority of the specified node is increased, and the restricted edges are removed to obtain the updated directed topology graph; In the updated directed topology graph, the optical path route is obtained by searching for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier.

6. The optical path scheduling method according to claim 3, characterized in that, The step of searching the directed topology graph for the connected path with the minimum total weight between the node corresponding to the starting device port identifier and the node corresponding to the target device port identifier to obtain the optical path route includes: Calculate multiple connected paths with the minimum and equal total weight in the directed topology graph; Obtain a preset priority rule, wherein the priority rule is either the minimum optical attenuation priority rule or the minimum hop count priority rule; According to the priority rule, a connected path with the smallest total weight is selected from multiple connected paths as the optical path route.

7. The optical path scheduling method according to claim 1, characterized in that, Generating the optical physical path based on the optical path routing includes: The optical line terminals, trunk optical cables, first-stage optical splitter input ports, first-stage optical splitter output ports, distribution optical cables, and second-stage optical splitter input ports that pass through the optical path route are extracted sequentially. According to the transmission order of the optical signal, the optical line terminal, the trunk optical cable, the input port of the first-stage optical splitter, the output port of the first-stage optical splitter, the distribution optical cable, and the input port of the second-stage optical splitter are arranged into a complete link sequence; The link sequence is used as the physical path of the optical path.

8. The optical path scheduling method according to claim 1, characterized in that, The optical path scheduling scheme also includes an estimated optical attenuation report; The estimated optical attenuation report is generated based on the optical path routing, including: Extract the length attenuation value of the optical cable and the insertion loss value of the device along the optical path; The length attenuation value and the insertion loss value are summed to calculate the estimated total optical attenuation of the entire optical path; Generate a predicted light decay report that includes the estimated total light decay.

9. The optical path scheduling method according to claim 1, characterized in that, The optical path scheduling scheme also includes a resource occupancy list; The resource occupancy list is generated based on the optical path routing, including: Extract the optical fiber cores from the port elements and connection elements through which the optical path passes; Generate a resource occupancy list that includes the extracted port elements and the optical fiber cores; After generating the optical path scheduling scheme containing the physical optical path based on the optical path route, the method further includes: In response to the confirmation command for the optical path scheduling scheme, the status of the port elements and the optical fiber cores included in the resource occupancy list in the digital spatial topology resource model is updated to an occupancy status.

10. An optical path scheduling device, characterized in that, include: The modeling module is used to construct a digital spatial topology resource model of the optical network, which includes related spatial elements, equipment elements, connection elements and port elements. The calculation module is used to respond to an optical path scheduling request containing a starting device port identifier and a target device port identifier, and calculate the optical path route from the starting device port identifier to the target device port identifier based on the digital spatial topology resource model. The generation module is used to generate an optical path scheduling scheme containing the physical path of the optical path based on the optical path route.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the optical path scheduling method as described in any one of claims 1 to 9.

12. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the optical path scheduling method as described in any one of claims 1 to 9.

13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the optical path scheduling method as described in any one of claims 1 to 9.