End-to-end electric power communication optical path determination method and device
By obtaining optical cable and optical path information of the power communication network, and using the path search algorithm to determine the optimal communication optical path in the event of a failure, the reliability and load balancing problems of traditional routing reconstruction algorithms during failure are solved, and fast recovery and accurate transmission are achieved.
Patent Information
- Application Number
- CN202510681636.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-01-08
- Filing Date
- 2025-05-26
- Publication Date
- 2025-08-15
AI Technical Summary
Traditional routing reconstruction algorithms rely on link status information during power communication network failure, resulting in unoptimal routing decisions and difficulty in ensuring the reliability of the communication optical path and the balance of network load at the same time.
By obtaining optical cable information and communication optical path information at the sending and receiving ends, the path search algorithm is used to find all linked communication optical paths, and when a fault is detected, it matches the total length and distance range of optical cables, finds the shortest path, the least jump and the least loss communication optical path, and determines the new current communication optical path.
It realizes rapid recovery of communication optical paths in the event of power communication network failure, ensuring service continuity and data transmission accuracy.
Smart Images

Figure CN120498522A_ABST
Abstract
Description
[0001] This invention claims priority to a Chinese patent application filed with the Patent Office of China on January 8, 2025, with application number 202510027922.X and invention name “A method and device for determining an end-to-end power communication optical path”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of optical fiber communication technology, and in particular to a method and device for determining an end-to-end power communication optical path. Background Art
[0003] With the rapid development of smart grids, power communication networks, as key infrastructure supporting grid monitoring, control, and data transmission, are crucial for their safe operation. Optimizing and recovering from end-to-end communication optical paths are crucial to ensuring network stability and reliability.
[0004] Traditional routing reconstruction algorithms often rely on link state information, but during a failure, this information may be incomplete or outdated, resulting in suboptimal routing decisions and making it difficult to simultaneously ensure the reliability of the communication optical path and balance the network load.
[0005] Therefore, how to quickly restore the stable operation of the power grid and accurate data transmission when the power communication network fails is an urgent problem that needs to be solved. Summary of the Invention
[0006] In view of this, an embodiment of the present invention provides an end-to-end power communication optical path determination method and apparatus, so as to achieve the purpose of quickly restoring the stable operation of the power grid and accurately transmitting data when a power communication network fails.
[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0008] A first aspect of the present invention discloses a method for determining an end-to-end power communication optical path, the method comprising:
[0009] Obtain the corresponding optical cable information and communication optical path information of the sending end and the receiving end;
[0010] Searching for all linkable communication optical paths from the sending end to the receiving end according to the optical cable information, the communication optical path information and a path search algorithm;
[0011] When a fault is detected in the current communication optical path used from the transmitting end to the receiving end, the total length of the optical cable of each linkable communication optical path is matched with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path;
[0012] Find the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path from all linkable communication optical paths;
[0013] A new current communication optical path used from the sending end to the receiving end is determined according to the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path.
[0014] Preferably, when a fault is detected in the current communication optical path used from the transmitting end to the receiving end, before matching the total length of the optical cable of each linkable communication optical path with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path, the method further includes:
[0015] Determining whether the physical connection of the current communication optical path used by the transmitting end to the receiving end is correct, and determining whether the signal transmission of the current communication optical path meets preset requirements;
[0016] When the physical connection of the current communication optical path is incorrect, and / or the signal transmission of the current communication optical path does not meet the preset requirements, determining that the current communication optical path has a fault;
[0017] When the physical connection of the current communication optical path is correct and the signal transmission of the current communication optical path meets the preset requirements, it is determined that the current communication optical path is normal.
[0018] Preferably, the step of searching for the shortest communication optical path, the least hop communication optical path, and the least loss communication optical path from all linkable communication optical paths includes:
[0019] Extract the total length of optical cables of all linkable communication optical paths;
[0020] Determine the linkable communication optical path corresponding to the shortest length of the total length of the optical cables of all linkable communication optical paths as the shortest path communication optical path;
[0021] Calculating the total number of optical cable segments of each of the linkable communication optical paths;
[0022] Determining the linkable communication optical path corresponding to the minimum number of the total optical cable segments as the least-hop communication optical path;
[0023] The communication optical path with the least loss is determined according to the total number of optical cable segments and the number of connection points of each of the linkable communication optical paths.
[0024] Preferably, determining the communication optical path with the least loss according to the total number of optical cable segments and the number of connection points of each linkable communication optical path comprises:
[0025] For each of the linkable communication optical paths among all the linkable communication optical paths, calculating the number of connection points of each of the linkable communication optical paths;
[0026] Acquire an optical cable loss value from the optical cable information, and acquire an access port loss value from the communication optical path information;
[0027] Calculating a total loss value of each of the linkable communication optical paths according to the total number of optical cable segments, the number of connection points, the optical cable loss value, and the access point loss value;
[0028] The linkable communication optical path corresponding to the minimum total loss value among all the total loss values is determined as the minimum loss communication optical path.
[0029] Preferably, determining the new current communication optical path used by the transmitting end to the receiving end based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each of the linkable communication optical paths includes:
[0030] Obtaining a transmission requirement corresponding to each of the distance ranges from the communication optical path information, wherein the transmission requirement includes a plurality of transmission factors and their corresponding weights;
[0031] Calculating, based on the plurality of transmission factors and their corresponding weights, a comprehensive score of the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the other linkable communication optical paths, wherein the other linkable communication optical paths are all linkable communication optical paths except the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path among all linkable communication optical paths;
[0032] The linkable communication optical path corresponding to the maximum comprehensive score among all comprehensive scores is determined as a new current communication optical path used by the sending end to the receiving end.
[0033] A second aspect of the present invention discloses an end-to-end power communication optical path determination device, the device comprising:
[0034] An acquisition unit, used to acquire the corresponding optical cable information and communication optical path information of the transmitting end and the receiving end;
[0035] A first searching unit is configured to search for all linkable communication optical paths from the sending end to the receiving end according to the optical cable information, the communication optical path information and a path searching algorithm;
[0036] a matching unit configured to, when detecting that a fault occurs in a current communication optical path used from the transmitting end to the receiving end, match the total length of the optical cable of each linkable communication optical path with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path;
[0037] The second search unit is used to search for the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path from all linkable communication optical paths;
[0038] A determination unit is used to determine a new current communication optical path used from the sending end to the receiving end based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path and the distance range corresponding to each linkable communication optical path.
[0039] Preferably, the device further comprises:
[0040] a judging unit, configured to judge whether the physical connection of the current communication optical path used by the transmitting end to the receiving end is correct, and whether the signal transmission of the current communication optical path meets preset requirements;
[0041] a fault determining unit, configured to determine that a fault occurs in the current communication optical path when the physical connection of the current communication optical path is incorrect and / or signal transmission of the current communication optical path does not meet preset requirements;
[0042] The normal determination unit is used to determine that the current communication optical path is normal when the physical connection of the current communication optical path is correct and the signal transmission of the current communication optical path meets the preset requirements.
[0043] Preferably, the second search unit includes:
[0044] An extraction module, used to extract the total length of optical cables of all linkable communication optical paths;
[0045] A first determining module is used to determine the linkable communication optical path corresponding to the shortest length among the total lengths of the optical cables of all linkable communication optical paths as the shortest path communication optical path;
[0046] A calculation module, configured to calculate the total number of optical cable segments of each of the linkable communication optical paths;
[0047] A second determining module is configured to determine the linkable communication optical path corresponding to the minimum number of the total optical cable segments as the least-hop communication optical path;
[0048] The third determining module is configured to determine the least-loss communication optical path according to the total number of optical cable segments and the number of connection points of each linkable communication optical path.
[0049] Preferably, the third determining module includes:
[0050] A first calculation submodule is configured to calculate the number of connection points of each linkable communication optical path among all linkable communication optical paths;
[0051] an acquisition submodule, configured to acquire an optical cable loss value from the optical cable information and an access port loss value from the communication optical path information;
[0052] A second calculation submodule, configured to calculate a total loss value of each of the linkable communication optical paths according to the total number of optical cable segments, the number of connection points, the optical cable loss value, and the access port loss value;
[0053] The determination submodule is configured to determine the linkable communication optical path corresponding to the minimum total loss value among all the total loss values as the minimum loss communication optical path.
[0054] Preferably, the determining unit includes:
[0055] an acquisition module, configured to acquire a transmission requirement corresponding to each of the distance ranges from the communication optical path information, wherein the transmission requirement includes a plurality of transmission factors and their corresponding weights;
[0056] a comprehensive score calculation module, configured to calculate, based on the plurality of transmission factors and their corresponding weights, a comprehensive score of the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the other linkable communication optical paths, wherein the other linkable communication optical paths are all linkable communication optical paths except the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path among all linkable communication optical paths;
[0057] The fourth determining module is configured to determine the linkable communication optical path corresponding to the maximum comprehensive score among all comprehensive scores as a new current communication optical path used by the transmitting end to the receiving end.
[0058] Based on the above-mentioned embodiments of the present invention, an end-to-end power communication optical path determination method and device are provided. The method obtains the corresponding optical cable information and communication optical path information of the transmitting end and the receiving end; searches all linkable communication optical paths based on the optical cable information, communication optical path information, and a path search algorithm; if a fault is detected in the current communication optical path, matches the total optical cable length of each linkable communication optical path with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path; searches for the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path among all linkable communication optical paths; and determines a new current communication optical path based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path. The optical cable information and communication optical path information are used to determine the new current communication optical path, thereby rapidly restoring the communication optical path and ensuring service continuity and data transmission accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0060] Figure 1 A flowchart of a method for determining an end-to-end power communication optical path provided by an embodiment of the present invention;
[0061] Figure 2 A flowchart for finding the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path provided by an embodiment of the present invention;
[0062] Figure 3 A flowchart for determining a communication optical path with minimum loss provided by an embodiment of the present invention;
[0063] Figure 4 A flowchart for determining a new current communication optical path provided by an embodiment of the present invention;
[0064] Figure 5 This is a structural block diagram of an end-to-end power communication optical path determination device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0066] In this application, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0067] As can be seen from the background technology, traditional routing reconstruction algorithms often rely on link status information. However, during a failure, this information may be incomplete or outdated, resulting in suboptimal routing decisions and making it difficult to simultaneously ensure the reliability of the communication optical path and the balance of the network load.
[0068] Therefore, embodiments of the present invention provide an end-to-end power communication optical path determination method and device. These methods obtain the corresponding optical cable information and communication optical path information of the transmitting and receiving ends; search all linkable communication optical paths based on the optical cable information, communication optical path information, and a path search algorithm; if a fault is detected in the current communication optical path, match the total optical cable length of each linkable communication optical path with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path; search for the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path among all linkable communication optical paths; and determine a new current communication optical path based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path. The new current communication optical path is determined using the optical cable information and communication optical path information to quickly restore the communication optical path, ensuring service continuity and data transmission accuracy.
[0069] See also Figure 1 , shows a flowchart of an end-to-end power communication optical path determination method provided by an embodiment of the present invention.
[0070] It is understandable that the end-to-end power communication optical path can be regarded as the communication optical path between two power plants. The method for determining the end-to-end power communication optical path can be regarded as the method for determining the communication optical path between two power plants. The method includes:
[0071] Step S101: Obtain the corresponding optical cable information and communication optical path information of the transmitting end and the receiving end.
[0072] It should be noted that in the power grid system, the sending end and the receiving end usually refer to plants and stations, such as data centers, communication base stations, power plants or substations, which are connected through optical communication equipment and optical cables to achieve data and signal transmission.
[0073] In the specific implementation of step S101, the existing optical cables and existing communication optical paths at the transmitting and receiving ends are digitized to obtain the corresponding optical cable information and communication optical path information of the transmitting and receiving ends. The digitized optical cable information includes, but is not limited to, the optical cable name, optical cable number, transmitting end (e.g., station A), receiving end (e.g., station Z), optical cable type, optical cable length, fiber core number used, panel (cabinet) number corresponding to each fiber core number, optical distribution unit (frame) number, unit reel (reel) number, and port number. The digitized communication optical path information includes, but is not limited to, information such as station A, station Z, optical fiber equipment at station A, optical fiber equipment at station Z, platform, multiplexing length, number of fiber jumpers, and optical cable segment.
[0074] It's understood that a cable segment refers to the collection of all optical cables that a communication optical path passes through from its starting point to its end point in a communication network. A platform refers to a technology platform. Two stations on the same platform typically refer to two communication nodes, using the same communication protocol, equipment, or technology platform for data transmission and communication.
[0075] Step S102: searching for all linkable communication optical paths from the sending end to the receiving end according to the optical cable information, the communication optical path information and the path search algorithm.
[0076] In the specific implementation of step S102, the optical cable information and the communication optical path information are converted into a network model, in which nodes represent ends and edges represent optical cables connecting these ends. A path finding algorithm is used to find all communication optical paths from the sending end to the receiving end, and then all linkable communication optical paths from the sending end to the receiving end are filtered out from all communication optical paths based on the optical cable information and the communication optical path information.
[0077] It is understood that the path finding algorithm includes but is not limited to breadth-first search (BFS) and depth-first search (DFS).
[0078] In some embodiments, after all linkable communication optical paths from the transmitter to the receiver are found, it is necessary to determine whether a fault has occurred in the current communication optical path used by the transmitter to the receiver. The specific determination process is as follows (process A1 to process A3):
[0079] Process A1: Determine whether the physical connection of the current communication optical path used by the transmitting end to the receiving end is correct, and determine whether the signal transmission of the current communication optical path meets the preset requirements.
[0080] In the specific implementation of process A1, methods for determining whether the physical connection of the current communication optical path is correct include, but are not limited to, checking whether the connection of the current communication optical path is correct and stable; using a fiber optic tester to detect fiber connection quality and faults; and using an optical power meter or optical time domain reflectometer to perform quantitative measurements on the optical fiber. Methods for determining whether the signal transmission of the current communication optical path meets preset requirements include, but are not limited to, using an optical power meter (OPM) and an optical detector to measure the optical power level in the communication optical path; using an optical time domain reflectometer (OTDR) to measure the loss and length of the optical fiber, as well as the location and nature of events in the optical fiber (such as breaks, connectors, and splices); and using bandwidth testing to determine whether the communication optical path can support the predetermined data transmission rate.
[0081] Process A2: If the physical connection of the current communication optical path is incorrect, and / or the signal transmission of the current communication optical path does not meet the preset requirements, it is determined that the current communication optical path has a fault.
[0082] During the specific implementation process A2, if it is determined that the physical connection of the current communication optical path is incorrect according to any method for determining whether the physical connection of the current communication optical path is correct, and / or if it is determined that the signal transmission of the current communication optical path does not meet the preset requirements according to any method for determining whether the signal transmission of the current communication optical path meets the preset requirements, then it is determined that the current communication optical path has a fault.
[0083] Process A3: If the physical connection of the current communication optical path is correct and the signal transmission of the current communication optical path meets the preset requirements, it is determined that the current communication optical path is normal.
[0084] When specifically implementing process A3, if all methods for determining whether the physical connection of the current communication optical path is correct determine that the physical connection of the current communication optical path is correct, and all methods for determining whether the signal transmission of the current communication optical path meets the preset requirements determine that the signal transmission of the current communication optical path meets the preset requirements, then it is determined that the current communication optical path is normal.
[0085] Step S103: When a fault is detected in the current communication optical path used from the transmitter to the receiver, the total length of the optical cable of each linkable communication optical path is matched with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path.
[0086] It can be understood that the optical communication equipment between the two ends of the same platform has four length distance ranges, namely 0-20Km, 20-40Km, 40-80Km, and above 80Km.
[0087] In the specific implementation of step S103, when a fault is detected in the current communication optical path used between the transmitter and receiver, the total length of the optical cable of each linkable communication optical path is matched against the four-range length ranges to obtain the distance range corresponding to each linkable communication optical path. Specifically, for each communication optical path, the closest distance range to which it belongs is found (i.e., a length that falls within the range or is slightly longer than the maximum distance value but not exceeding the minimum distance value of the next range).
[0088] Step S104: searching for the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path from all linkable communication optical paths.
[0089] In the specific implementation of step S104, the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path are screened out from all linkable communication optical paths. For the specific screening process, see the following embodiment of the present invention. Figure 2 The content shown.
[0090] It's understandable that a shortest-path communication optical path can minimize data transmission time; a minimal-hop communication optical path can reduce the number of hops, minimize processing time in intermediate devices, and reduce failures or delays; and a minimal-loss communication optical path can ensure signal quality. However, in practical applications, when multiple factors (such as bandwidth, latency, loss, and cost) are comprehensively considered, it's necessary to find the optimal communication optical path and use it as the new current communication optical path from the transmitter to the receiver. For this purpose, see step S105.
[0091] Step S105: determining a new current communication optical path used from the transmitting end to the receiving end according to the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path and the distance range corresponding to each linkable communication optical path.
[0092] In the specific implementation of step S105, the optimal communication optical path is determined based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path, and the optimal communication optical path is used as the new current communication optical path used from the sending end to the receiving end. For the specific determination process, see the following embodiment of the present invention. Figure 4 The content in.
[0093] In an embodiment of the present invention, optical cable information and communication optical path information corresponding to the transmitting and receiving ends are obtained; all linkable communication optical paths are searched based on the optical cable information, communication optical path information, and a path search algorithm; if a fault is detected in the current communication optical path, the total optical cable length of each linkable communication optical path is matched with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path; the shortest path communication optical path, the communication optical path with the fewest hops, and the communication optical path with the least loss are searched from all linkable communication optical paths; and a new current communication optical path is determined based on the shortest path communication optical path, the communication optical path with the fewest hops, the communication optical path with the least loss, and the distance ranges corresponding to each linkable communication optical path. The new current communication optical path is determined using the optical cable information and communication optical path information, enabling rapid restoration of the communication optical path and ensuring service continuity and data transmission accuracy.
[0094] The above embodiments of the present invention Figure 1 For the specific implementation of screening the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path involved in Figure 2 , shows a flow chart of searching for the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path provided by an embodiment of the present invention, including:
[0095] Step S201: extracting the total length of optical cables of all linkable communication optical paths.
[0096] In the specific process of implementing step S201, for each linkable communication optical path among all linkable communication optical paths, the total length of the optical cables thereof is calculated to obtain the total length of the optical cables of all linkable communication optical paths.
[0097] It is understandable that for each linkable communication optical path, the length of each optical cable in the linkable communication optical path is calculated based on the optical cable information, and all optical cable lengths are summed to obtain the total optical cable length of the linkable communication optical path.
[0098] Step S202: determining the linkable communication optical path corresponding to the shortest length among the total lengths of the optical cables of all linkable communication optical paths as the shortest path communication optical path.
[0099] In the specific implementation of step S202 , the linkable communication optical path with the shortest total optical cable length is searched from the total optical cable lengths of all linkable communication optical paths, and is determined as the shortest path communication optical path.
[0100] In some embodiments, in order to improve the transmission efficiency of a certain service segment, the shortest path communication optical path is given priority.
[0101] Step S203: Calculate the total number of optical cable segments of each linkable communication optical path.
[0102] In the specific implementation of step S203 , for each linkable communication optical path among all linkable communication optical paths, the total number of optical cable segments is calculated.
[0103] It is understood that for each linkable communication optical path, each independent optical cable segment of the linkable communication optical path is identified based on the optical cable information, including the optical cable from the starting point to the first connection point, the optical cable from the first connection point to the second connection point, and so on, to the end point. The number of optical cable segments is calculated, which generally includes directly connected optical cable segments and optical cable segments connected via optical fiber connectors or fusion splices, to obtain the total number of optical cable segments for the linkable communication optical path.
[0104] It should be noted that during the calculation process, if the optical cable path includes intermediate equipment, such as optical distribution frames (ODFs), optical distribution frames (ODFs) or optical splice closures, the connection between each device is also considered an independent optical cable segment.
[0105] Step S204: Determine the linkable communication optical path corresponding to the minimum total number of optical cable segments as the communication optical path with the least hops.
[0106] In the specific implementation of step S204, the minimum total number of optical cable segments is extracted from the total number of optical cable segments of all linkable communication optical paths, and the linkable communication optical path corresponding to the minimum total number of optical cable segments is found and determined as the communication optical path with the least jumps.
[0107] Step S205: Determine the communication optical path with the least loss according to the total number of optical cable segments and the number of connection points of each linkable communication optical path.
[0108] In the process of specifically implementing step S205, the total number of optical cable segments and the number of connection points of each linkable communication optical path are determined based on the optical cable information and the communication optical path information, and the loss of each linkable communication optical path is calculated based on the total number of optical cable segments and the number of connection points. Based on this, the communication optical path with the least loss is determined.
[0109] It should be noted that the specific implementation method of determining the least loss communication optical path is detailed in the following embodiments of the present invention. Figure 3 The content in.
[0110] In some embodiments, to quickly restore services and ensure business continuity, priority is given to communication optical paths with the fewest hops or the least loss, minimizing the impact of failures on services. Alternatively, if excessive loss is detected on a particular optical path, an algorithm is triggered to find the optical path with the least loss, optimizing network performance and reducing maintenance costs.
[0111] In an embodiment of the present invention, the shortest path communication optical path, the communication optical path with the least jumps, and the communication optical path with the least loss among all linkable communication optical paths are determined based on the total length of the optical cables, the total number of optical cable sections, and the number of connection points of all linkable communication optical paths, thereby laying a foundation for the subsequent determination of new communication optical paths and improving reliability.
[0112] The above embodiments of the present invention Figure 2 For the specific implementation method of determining the communication optical path with the least loss, see Figure 3 , shows a flow chart of determining a minimum loss communication optical path provided by an embodiment of the present invention, including:
[0113] Step S301: for each linkable communication optical path among all linkable communication optical paths, calculate the number of connection points of each linkable communication optical path.
[0114] In the process of specifically implementing step S301, for each linkable communication optical path among all linkable communication optical paths, the number of intermediate devices, the number of optical fiber connectors, and the number of optical splitters or couplers contained in the current linkable communication optical path is determined according to the optical cable information, and the number of connection points is calculated based on this information and the total number of optical cable segments of the current linkable communication optical path.
[0115] Step S302: Obtain the optical cable loss value from the optical cable information, and obtain the access port loss value from the communication optical path information.
[0116] In the specific implementation of step S302 , the optical cable loss value is obtained from the optical cable information, and the access port loss value is extracted from the communication optical path information.
[0117] It should be noted that in the calculation of optical signal loss, the normal range of optical cable loss per kilometer is between 0.3-0.5 dB, and the insertion loss of each patch cord access port is generally between 0.3-0.5 dB.
[0118] For example, in the optical cable information, the optical cable loss value is set to 0.4dB per kilometer; in the communication optical path information, the access port loss value is set to 0.4dB insertion loss per access port.
[0119] Step S303: Calculate the total loss value of each linkable communication optical path according to the total number of optical cable segments, the number of connection points, the optical cable loss value and the access port loss value.
[0120] In the specific implementation process of step S303, for each linkable communication optical path, the product of the total number of optical cable segments and the optical cable loss value is calculated, as well as the product of the number of connection points and the access port loss value is calculated. The two products are summed to obtain the total loss value of the current linkable communication optical path.
[0121] For example, the total number of fiber optic cable segments in linkable communication path A is 7, and the cable loss is 0.4 dB per kilometer. Since two fiber optic cable segments require two access points to connect, resulting in two insertion losses, the number of connection points is 12. With an insertion loss of 0.4 dB per access point, the total loss of linkable communication path A = 7 * 0.4 + 12 * 0.4 = 7.6.
[0122] Step S304: Determine the linkable communication optical path corresponding to the minimum total loss value among all total loss values as the minimum loss communication optical path.
[0123] In the specific implementation of step S304, the minimum total loss value is extracted from the total loss values of all linkable communication optical paths, and the linkable communication optical path corresponding to the minimum total loss value is found and determined as the communication optical path with the least loss.
[0124] In an embodiment of the present invention, the communication optical path with the least loss of all linkable communication optical paths is determined based on the total number of optical cable segments, the number of connection points, the optical cable loss value, and the access port loss value, which lays the foundation for the subsequent determination of new communication optical paths and improves reliability.
[0125] The above embodiments of the present invention Figure 1 For the specific implementation method of determining the new current communication optical path involved in Figure 4 , shows a flowchart of determining a new current communication optical path provided by an embodiment of the present invention, including:
[0126] Step S401: Acquire the corresponding transmission requirements for each distance range from the communication optical path information, where the transmission requirements include multiple transmission factors and their corresponding weights.
[0127] It can be understood that the optical communication equipment between the two ends of the same platform has four length distance ranges, namely 0-20Km, 20-40Km, 40-80Km, and above 80Km, and each distance range has corresponding transmission requirements.
[0128] In the specific implementation of step S401 , multiple transmission factors and their corresponding weights included in the transmission requirements corresponding to each distance range are obtained from the communication optical path information.
[0129] It should be noted that transmission factors include but are not limited to path length, that is, the total length of the communication optical path; the number of jumper points in the optical path; the loss value of the optical cable; the loss value of the access point in the communication optical path; and other factors: such as the type of optical cable, bandwidth, stability, etc.
[0130] For example: path length weight: 0.3; jumper number weight: 0.2; optical cable loss weight: 0.2; access point loss weight: 0.2; other factor weight: 0.1.
[0131] Step S402: Calculate the comprehensive scores of the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and other linkable communication optical paths based on multiple transmission factors and their corresponding weights.
[0132] It can be understood that the other linkable communication optical paths are all linkable communication optical paths except the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path among all linkable communication optical paths.
[0133] For example, there are three light paths, and their scores are calculated as follows:
[0134] Minimum loss communication optical path A: path length score = 0.8; number of jumpers score = 0.7; optical cable loss score = 0.6; access point loss score = 0.6; other factor scores = 0.5.
[0135] The comprehensive score = (0.8×0.3)+(0.7×0.2)+(0.6×0.2)+(0.6×0.2)+(0.5×0.1)=0.67.
[0136] Communication optical path B with the least number of jumps: path length score = 0.9; number of jumps score = 0.6; optical cable loss score = 0.7; access point loss score = 0.8; other factors score = 0.6.
[0137] The comprehensive score = (0.9×0.3)+(0.6×0.2)+(0.7×0.2)+(0.8×0.2)+(0.6×0.1)=0.75.
[0138] Shortest path communication optical path C: path length score = 0.7; number of jumpers score = 0.8; optical cable loss score = 0.8; access point loss score = 0.7; other factor score = 0.7.
[0139] The comprehensive score = (0.7×0.3)+(0.8×0.2)+(0.8×0.2)+(0.7×0.2)+(0.7×0.1)=0.74.
[0140] Step S403: Determine the linkable communication optical path corresponding to the maximum comprehensive score among all comprehensive scores as the new current communication optical path used from the transmitting end to the receiving end.
[0141] In the specific implementation of step S403 , for example, in the example shown in step S402 , the communication optical path B with the least hops is determined as the new current communication optical path used from the transmitting end to the receiving end.
[0142] In this embodiment, the impact of actual end-to-end transmission factors on services is considered from multiple perspectives. Each transmission factor is combined to determine the total score of each linkable communication optical path. The linkable communication optical path with the highest overall score is then determined as the new current communication optical path used between the sender and receiver. This improves the reliability of communication optical path determination and further ensures the accuracy of data transmission.
[0143] Corresponding to the end-to-end power communication optical path determination method provided by the above embodiment of the present invention, see Figure 5 , shows a structural block diagram of an end-to-end power communication optical path determination device provided by an embodiment of the present invention.
[0144] The determining device includes: an acquiring unit 501 , a first searching unit 502 , a matching unit 503 , a second searching unit 504 and a determining unit 505 .
[0145] The acquisition unit 501 is used to acquire the optical cable information and communication optical path information corresponding to the transmitting end and the receiving end.
[0146] The first searching unit 502 is configured to search for all linkable communication optical paths from the sending end to the receiving end according to the optical cable information, the communication optical path information and the path searching algorithm.
[0147] The matching unit 503 is used to match the total length of the optical cable of each linkable communication optical path with all distance ranges in the communication optical path information when a fault is detected in the current communication optical path used from the sending end to the receiving end, so as to obtain the distance range corresponding to each linkable communication optical path.
[0148] The second searching unit 504 is configured to search for the shortest communication optical path, the communication optical path with the least hops, and the communication optical path with the least loss from all linkable communication optical paths.
[0149] The determining unit 505 is configured to determine a new current communication optical path used from the transmitting end to the receiving end according to the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path.
[0150] In an embodiment of the present invention, optical cable information and communication optical path information corresponding to the transmitting and receiving ends are obtained; all linkable communication optical paths are searched based on the optical cable information, communication optical path information, and a path search algorithm; if a fault is detected in the current communication optical path, the total optical cable length of each linkable communication optical path is matched with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path; the shortest path communication optical path, the communication optical path with the fewest hops, and the communication optical path with the least loss are searched from all linkable communication optical paths; and a new current communication optical path is determined based on the shortest path communication optical path, the communication optical path with the fewest hops, the communication optical path with the least loss, and the distance ranges corresponding to each linkable communication optical path. The new current communication optical path is determined using the optical cable information and communication optical path information, enabling rapid restoration of the communication optical path and ensuring service continuity and data transmission accuracy.
[0151] Combine Figure 5 The content shown in the figure, the determining device also includes: a judgment unit, a fault determination unit and a normal determination unit.
[0152] The judging unit is used to judge whether the physical connection of the current communication optical path used by the transmitting end to the receiving end is correct, and whether the signal transmission of the current communication optical path meets the preset requirements.
[0153] The fault determination unit is used to determine that a fault occurs in the current communication optical path when the physical connection of the current communication optical path is incorrect and / or the signal transmission of the current communication optical path does not meet preset requirements.
[0154] The normal determination unit is used to determine that the current communication optical path is normal when the physical connection of the current communication optical path is correct and the signal transmission of the current communication optical path meets the preset requirements.
[0155] Combine Figure 5 As shown in the content, the second search unit 504 includes: an extraction module, a first determination module, a calculation module, a second determination module and a third determination module.
[0156] The extraction module is used to extract the total length of the optical cables of all linkable communication optical paths.
[0157] The first determining module is configured to determine the linkable communication optical path corresponding to the shortest length among the total lengths of the optical cables of all linkable communication optical paths as the shortest path communication optical path.
[0158] The calculation module is used to calculate the total number of optical cable sections of each linkable communication optical path.
[0159] The second determining module is configured to determine the linkable communication optical path corresponding to the minimum total number of optical cable segments as the minimum hop communication optical path.
[0160] The third determining module is used to determine the least-loss communication optical path according to the total number of optical cable segments and the number of connection points of each linkable communication optical path.
[0161] Combine Figure 5 The content shown is that the third determination module includes: a first calculation submodule, an acquisition submodule, a second calculation submodule and a determination submodule.
[0162] The first calculation submodule is configured to calculate the number of connection points of each linkable communication optical path among all linkable communication optical paths.
[0163] The acquisition submodule is used to obtain the optical cable loss value from the optical cable information and the access port loss value from the communication optical path information.
[0164] The second calculation submodule is used to calculate the total loss value of each linkable communication optical path according to the total number of optical cable sections, the number of connection points, the optical cable loss value and the access port loss value.
[0165] The determination submodule is used to determine the linkable communication optical path corresponding to the minimum total loss value among all the total loss values as the minimum loss communication optical path.
[0166] Combine Figure 5 The content shown, the determination unit 505 includes: an acquisition module, a comprehensive score calculation module and a fourth determination module.
[0167] The acquisition module is used to obtain the corresponding transmission requirements of each distance range from the communication optical path information. The transmission requirements include multiple transmission factors and their corresponding weights.
[0168] A comprehensive score calculation module is used to calculate the comprehensive scores of the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path and other linkable communication optical paths based on multiple transmission factors and their corresponding weights, where the other linkable communication optical paths are all linkable communication optical paths except the shortest path communication optical path, the least hop communication optical path and the least loss communication optical path.
[0169] The fourth determining module is configured to determine the linkable communication optical path corresponding to the maximum comprehensive score among all comprehensive scores as a new current communication optical path used from the transmitting end to the receiving end.
[0170] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0171] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0172] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for determining an end-to-end power communication optical path, characterized in that: The method comprises: Obtain the corresponding optical cable information and communication optical path information of the sending end and the receiving end; Searching for all linkable communication optical paths from the sending end to the receiving end according to the optical cable information, the communication optical path information and a path search algorithm; When a fault is detected in the current communication optical path used from the transmitting end to the receiving end, the total length of the optical cable of each linkable communication optical path is matched with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path; Find the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path from all linkable communication optical paths; A new current communication optical path used from the sending end to the receiving end is determined according to the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path.
2. The method according to claim 1, characterized in that When a fault is detected in the current communication optical path used from the transmitting end to the receiving end, the method further includes matching the total length of the optical cable of each linkable communication optical path with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path: Determining whether the physical connection of the current communication optical path used by the transmitting end to the receiving end is correct, and determining whether the signal transmission of the current communication optical path meets preset requirements; When the physical connection of the current communication optical path is incorrect, and / or the signal transmission of the current communication optical path does not meet the preset requirements, determining that the current communication optical path has a fault; When the physical connection of the current communication optical path is correct and the signal transmission of the current communication optical path meets the preset requirements, it is determined that the current communication optical path is normal.
3. The method according to claim 1, characterized in that The step of searching for the shortest communication optical path, the least jump communication optical path, and the least loss communication optical path from all linkable communication optical paths includes: Extract the total length of optical cables of all linkable communication optical paths; Determine the linkable communication optical path corresponding to the shortest length of the total length of the optical cables of all linkable communication optical paths as the shortest path communication optical path; Calculating the total number of optical cable segments of each of the linkable communication optical paths; Determining the linkable communication optical path corresponding to the minimum number of the total optical cable segments as the least-hop communication optical path; The communication optical path with the least loss is determined according to the total number of optical cable segments and the number of connection points of each of the linkable communication optical paths.
4. The method according to claim 3, characterized in that Determining the minimum loss communication optical path according to the total number of optical cable segments and the number of connection points of each linkable communication optical path comprises: For each of the linkable communication optical paths among all the linkable communication optical paths, calculating the number of connection points of each of the linkable communication optical paths; Acquire an optical cable loss value from the optical cable information, and acquire an access port loss value from the communication optical path information; Calculating a total loss value of each of the linkable communication optical paths according to the total number of optical cable segments, the number of connection points, the optical cable loss value, and the access point loss value; The linkable communication optical path corresponding to the minimum total loss value among all the total loss values is determined as the minimum loss communication optical path.
5. The method according to claim 1, wherein The determining, based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the distance range corresponding to each linkable communication optical path, a new current communication optical path used by the transmitting end to the receiving end includes: Obtaining a transmission requirement corresponding to each of the distance ranges from the communication optical path information, wherein the transmission requirement includes a plurality of transmission factors and their corresponding weights; Calculating, based on the plurality of transmission factors and their corresponding weights, a comprehensive score of the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the other linkable communication optical paths, wherein the other linkable communication optical paths are all linkable communication optical paths except the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path among all linkable communication optical paths; The linkable communication optical path corresponding to the maximum comprehensive score among all comprehensive scores is determined as a new current communication optical path used by the sending end to the receiving end.
6. An end-to-end power communication optical path determination device, characterized in that: The device comprises: An acquisition unit, used to acquire the corresponding optical cable information and communication optical path information of the transmitting end and the receiving end; A first searching unit, configured to search for all linkable communication optical paths from the sending end to the receiving end according to the optical cable information, the communication optical path information and a path searching algorithm; a matching unit configured to, when detecting that a fault occurs in a current communication optical path used from the transmitting end to the receiving end, match the total length of the optical cable of each linkable communication optical path with all distance ranges in the communication optical path information to obtain the distance range corresponding to each linkable communication optical path; The second search unit is used to search for the shortest path communication optical path, the least jump communication optical path and the least loss communication optical path from all linkable communication optical paths; A determination unit is used to determine a new current communication optical path used from the sending end to the receiving end based on the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path and the distance range corresponding to each linkable communication optical path.
7. The device according to claim 6, characterized in that The device further comprises: a judging unit, configured to judge whether the physical connection of the current communication optical path used by the transmitting end to the receiving end is correct, and whether the signal transmission of the current communication optical path meets preset requirements; a fault determining unit, configured to determine that a fault occurs in the current communication optical path when the physical connection of the current communication optical path is incorrect and / or signal transmission of the current communication optical path does not meet preset requirements; The normal determination unit is used to determine that the current communication optical path is normal when the physical connection of the current communication optical path is correct and the signal transmission of the current communication optical path meets the preset requirements.
8. The device according to claim 6, characterized in that The second searching unit includes: An extraction module, used to extract the total length of optical cables of all linkable communication optical paths; A first determining module is used to determine the linkable communication optical path corresponding to the shortest length among the total lengths of the optical cables of all linkable communication optical paths as the shortest path communication optical path; A calculation module, configured to calculate the total number of optical cable segments of each of the linkable communication optical paths; A second determining module is configured to determine the linkable communication optical path corresponding to the minimum number of the total optical cable segments as the least-hop communication optical path; The third determining module is configured to determine the least-loss communication optical path according to the total number of optical cable segments and the number of connection points of each linkable communication optical path.
9. The device according to claim 8, characterized in that The third determining module includes: A first calculation submodule is configured to calculate the number of connection points of each linkable communication optical path among all linkable communication optical paths; an acquisition submodule, configured to acquire an optical cable loss value from the optical cable information and an access port loss value from the communication optical path information; A second calculation submodule, configured to calculate a total loss value of each of the linkable communication optical paths according to the total number of optical cable segments, the number of connection points, the optical cable loss value, and the access port loss value; The determination submodule is configured to determine the linkable communication optical path corresponding to the minimum total loss value among all the total loss values as the minimum loss communication optical path.
10. The device according to claim 6, characterized in that The determining unit includes: an acquisition module, configured to acquire a transmission requirement corresponding to each of the distance ranges from the communication optical path information, wherein the transmission requirement includes a plurality of transmission factors and their corresponding weights; a comprehensive score calculation module, configured to calculate, based on the plurality of transmission factors and their corresponding weights, a comprehensive score of the shortest path communication optical path, the least hop communication optical path, the least loss communication optical path, and the other linkable communication optical paths, wherein the other linkable communication optical paths are all linkable communication optical paths except the shortest path communication optical path, the least hop communication optical path, and the least loss communication optical path among all linkable communication optical paths; The fourth determining module is configured to determine the linkable communication optical path corresponding to the maximum comprehensive score among all comprehensive scores as a new current communication optical path used by the transmitting end to the receiving end.