Optical fiber network resource allocation method, device and system
By constructing a directed weighted graph and calculating the optimal path, the fiber network resource allocation is automatically solved, and the allocation efficiency and network stability are improved.
Patent Information
- Application Number
- CN202411417999.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-01-07
AI Technical Summary
The existing fiber network resource allocation technology relies on manual operation, resulting in unoptimized allocation paths, uneven bandwidth allocation, sensitive service delay, and complex operation, which can easily cause fiber breakage and insertion loss to increase, making it difficult to meet the actual application needs.
By obtaining the location information of the fiber nodes within the fiber network resource allocation range, a directed weighted graph is constructed, and the weight of the directed edge is determined based on the input optical power, received optical power, connected state and line loss value, and the optimal allocation path is calculated. Implement automated fiber network resource allocation.
It reduces the complexity of provisioning, improves the security and stability of the optical fiber network, realizes the optimal path determination and provisioning of automation, avoids human errors, and improves provisioning efficiency.
Smart Images

Figure CN119276365A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical fiber communication technology, and in particular to an optical fiber network resource allocation method, device and system. Background Art
[0002] With the rapid development of Internet services, the demand for fiber optic network resources is growing. As a high-speed, large-capacity transmission medium, fiber optic network has become a core component of modern communication networks. When a fiber optic terminal fails, the fiber needs to be deployed to ensure that the fiber optic network can be used normally.
[0003] Existing fiber optic network resource allocation technology mainly relies on manual fiber optic allocation. The allocation path adopted is often not the optimal path, which can easily lead to problems such as uneven bandwidth allocation and service delay sensitivity. In addition, manual fiber optic allocation is not easy to operate and is often prone to problems such as fiber optic patch cord breakage and increased insertion loss. Summary of the invention
[0004] The present application provides a method, device and system for allocating resources in an optical fiber network. A server of the optical fiber network resource allocation system acquires location information of optical fiber nodes within an allocation range to construct a directed weighted graph, and acquires input optical power, received optical power, connectivity status and line loss value of an optical fiber link to determine weights of multiple directed weighted edges in the directed weighted graph, and further determines an optimal allocation path for each terminal node according to the weight, transit complexity and input optical power, so that when an abnormality is detected in the optical fiber network, optical fiber network resources are allocated to the terminal nodes according to the optimal allocation path, thereby realizing automatic allocation of optical fiber network resources according to the optimal allocation path, reducing allocation complexity, and being conducive to ensuring the security and stability of the optical fiber network.
[0005] In a first aspect, an embodiment of the present application provides a method for allocating optical fiber network resources, which is applied to a server of an optical fiber network resource allocation system, wherein the optical fiber network resource allocation system further includes an optical scheduling device, wherein the optical scheduling device is used for communication connection between multiple optical fiber nodes, wherein the optical fiber nodes include optical fiber sites, optical fiber nodes, and optical fiber network elements, and the method includes the following steps:
[0006] Acquire a fiber optic network resource allocation scope, wherein the fiber optic network resource allocation scope includes a plurality of the fiber optic nodes;
[0007] Obtaining location information of a plurality of optical fiber nodes;
[0008] Constructing a directed weighted graph according to the location information of the optical fiber nodes, wherein the nodes of the directed weighted graph are the optical fiber nodes, and the directed edges in the directed weighted graph represent optical fiber links;
[0009] The following processing is performed for each of the optical fiber links to determine the weight of the directed edge: obtaining the input optical power at the input port of the optical fiber link; and obtaining the received optical power at the receiving port of the optical fiber link; determining the connectivity state of the optical fiber link according to the received optical power; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power; determining the weight of the directed edge corresponding to each of the optical fiber links according to the received optical power, the connectivity state and the line loss value;
[0010] Determining at least one terminal node for which optical fiber network resource allocation is required according to the connectivity status of the optical fiber link;
[0011] Determine the optimal deployment path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power, wherein the transit complexity refers to the number of the optical fiber nodes involved in the deployment;
[0012] When it is detected that the optical fiber network of the terminal node is in an abnormal state, the optical fiber network resources of the terminal node are allocated according to the optimal allocation path.
[0013] In a second aspect, an embodiment of the present application provides a fiber optic network resource allocation device, characterized in that it is applied to a server of a fiber optic network resource allocation system, wherein the fiber optic network resource allocation system further includes an optical scheduling device, and the optical scheduling device is used for communication connection between multiple fiber optic nodes, wherein the fiber optic nodes include fiber optic sites, fiber optic nodes, and fiber optic network elements; the device includes:
[0014] A first acquisition unit is used to acquire a fiber optic network resource allocation range, wherein the fiber optic network resource allocation range includes a plurality of the fiber optic nodes;
[0015] A second acquisition unit, used to acquire position information of a plurality of optical fiber nodes;
[0016] A construction unit, configured to construct a directed weighted graph according to the location information of the optical fiber nodes, wherein the nodes of the directed weighted graph are the optical fiber nodes, and the directed edges in the directed weighted graph represent optical fiber links;
[0017] A processing unit, configured to perform the following processing for each of the optical fiber links to determine the weight of the directed edge: obtaining the input optical power at the input port of the optical fiber link; and obtaining the received optical power at the receiving port of the optical fiber link; determining the connectivity state of the optical fiber link according to the received optical power; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power; determining the weight of the directed edge corresponding to each of the optical fiber links according to the received optical power, the connectivity state and the line loss value;
[0018] A first determining unit, configured to determine at least one terminal node for which optical fiber network resource allocation is required according to the connectivity status of the optical fiber link;
[0019] A second determining unit, configured to determine an optimal deployment path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power, wherein the transit complexity refers to the number of the optical fiber nodes involved in the deployment;
[0020] The allocation unit is used to allocate the optical fiber network resources to the terminal node according to the optimal allocation path when it is detected that the optical fiber network of the terminal node is in an abnormal state.
[0021] In a third aspect, an embodiment of the present application provides a fiber optic network resource allocation system, the system comprising a server and an optical scheduling device; wherein:
[0022] The server is used to execute the steps of the method described in the first aspect of the embodiment of the present application;
[0023] The optical scheduling device is used for communication connection between multiple optical fiber nodes, and the optical fiber nodes include optical fiber sites, optical fiber nodes and optical fiber network elements.
[0024] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instruction stored thereon, and the computer program / instruction is executed by a processor to implement the steps of the method described in the first aspect above.
[0025] It can be seen that in the embodiment of the present application, the server first obtains the scope of fiber optic network resource allocation, thereby obtaining the location information of multiple fiber optic nodes within the scope; further, a directed weighted graph is constructed based on the location information, and the nodes of the directed weighted graph are fiber optic nodes, and the directed edges represent fiber optic links; then, the input optical power and the received optical power of the fiber optic link are obtained; and, the connectivity status is determined based on the received optical power; and, the line loss value is determined based on the input and received optical powers; thereby, the weight of the directed edge corresponding to each fiber optic link is determined based on the received optical power, the connectivity status, and the line loss value; then, at least one terminal node that needs to be allocated is determined based on the connectivity status; secondly, the optimal allocation path to each terminal node is determined based on the weight of the directed edge, the transit complexity, and the input optical power; finally, when an abnormal state is detected in the fiber optic network of the terminal node, the fiber optic network resources of the terminal node are allocated based on the optimal allocation path. Since the present application determines the optimal allocation path to each terminal node based on the weight of the directed edge, the transit complexity and the input optical power, compared with the existing fiber optic network resource allocation scheme that mainly relies on manual determination of the allocation path, it can automatically determine the optimal allocation path and perform allocation, which is beneficial to improving the efficiency of allocation and ensuring the security, stability and reliability of the fiber optic network. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 It is a system architecture diagram of a fiber optic network resource allocation system provided in an embodiment of the present application;
[0028] Figure 2 It is a flowchart of the steps of a method for allocating optical fiber network resources provided by an embodiment of the present application;
[0029] Figure 3 This is an application example diagram of a method for allocating optical fiber network resources provided in an embodiment of the present application;
[0030] Figure 4 It is a schematic diagram of the principle of an optical scheduling device provided in an embodiment of the present application;
[0031] Figure 5 It is a block diagram of the functional units of a fiber optic network resource allocation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0034] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0035] Currently, the existing fiber optic network resource allocation scheme mainly relies on manual determination of the allocation path and manual allocation of optical fibers. It is unable to avoid problems such as uneven bandwidth allocation and service delay sensitivity to the greatest extent. In addition, the operation is highly complex and can easily cause optical fiber breakage or increased insertion loss, making it difficult to meet the allocation needs of fiber optic network resources in real application scenarios.
[0036] In view of the above problems, the embodiments of the present application provide a method, device and system for allocating resources in an optical fiber network. The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0037] See also Figure 1 , Figure 1 is a system architecture diagram of a fiber optic network resource allocation system provided in an embodiment of the present application, such as Figure 1 As shown, the optical fiber network resource allocation system includes a server 101 and an optical scheduling device 102. The optical scheduling device 102 includes an optical switch module 103, an optical power detection module 104, and an optical fiber network status detection module 105.
[0038] The optical scheduling device 102 is used for communication connection between multiple optical fiber nodes, and the optical fiber nodes include optical fiber sites, optical fiber nodes and optical fiber network elements.
[0039] The optical scheduling device 102 includes an optical switch module 103, an optical power detection module 104 and an optical fiber network status detection module 105, etc., which are used to control the switching of the optical path; and to obtain the optical power value; and to obtain the optical fiber network status information; and to send the optical power and the optical fiber network status information to the server 101.
[0040] The optical switch module 103 is used to control the switching of the optical path; the optical power detection module 104 obtains the optical power value; and the optical fiber network status detection module 105 is used to obtain the optical fiber network status information.
[0041] Server 101 is used to obtain the scope of optical fiber network resource allocation and the location information of optical fiber sites; and to receive optical fiber node optical power and optical fiber network status information; and to construct a directed weighted graph based on the location information, and determine the weights of the directed edges and the terminal nodes that need to be allocated optical fiber network resources, so as to determine the optimal allocation path to reach the terminal node, and when an optical fiber network anomaly is detected, the optical fiber network resources are allocated to the terminal node according to the optimal allocation path.
[0042] It can be seen that in this embodiment, the server 101 first obtains the fiber network resource allocation range and the location information of the fiber site; then, a directed weighted graph is constructed according to the location information; then, the input optical power and the received optical power of the fiber link from the optical scheduling device 102 are obtained, so as to determine the line loss value and the connectivity state of the fiber link, and thus the weight of the directed edge corresponding to each fiber link is determined according to the received optical power, the connectivity state and the line loss value; secondly, the terminal node that needs to be allocated is determined according to the connectivity state; thirdly, the optimal allocation path to reach the terminal node is determined according to the weight of the directed edge, the transit complexity and the input optical power; finally, when an abnormality is detected in the fiber network, the fiber network resource allocation is performed on the terminal node according to the optimal allocation path. Thus, the optimal allocation path is determined intelligently, which is conducive to reducing the complexity of fiber allocation, improving the efficiency of fiber allocation, and ensuring the stability and reliability of the fiber network.
[0043] See also Figure 2 , Figure 2 This is a flowchart of a method for allocating optical fiber network resources provided by an embodiment of the present application, which is applied to Figure 1 Server 101 in, such as Figure 2 As shown, the method comprises the following steps:
[0044] Step S210, obtaining a fiber optic network resource allocation scope, wherein the fiber optic network resource allocation scope includes a plurality of the fiber optic nodes.
[0045] The obtained optical fiber network resource allocation range is pre-stored in the server, and the optical fiber network resource allocation range is determined by the user according to specific requirements according to labels or custom configurations.
[0046] In a possible embodiment, determining the scope of optical fiber network resource allocation according to labels based on specific requirements includes:
[0047] Determine a label library of the optical fiber network, the label library including a plurality of labels, the labels including region, bandwidth capacity, terminal level, terminal classification, service type, importance, available time period and priority;
[0048] Marking the existing optical fiber network according to the label library, each optical fiber network contains at least one of the labels;
[0049] Obtain users' fiber optic network deployment requirements;
[0050] Determining a plurality of demand tags according to the optical fiber network deployment demand;
[0051] The range to which the multiple optical fiber networks including the multiple demand tags belong is determined as the optical fiber network resource allocation range.
[0052] The user can also customize new tags and store the new tags in the tag library.
[0053] Among them, determining multiple demand tags according to the optical fiber network deployment requirements may include obtaining specific content of each tag filled in by the user through an interactive page or displaying multiple options corresponding to each tag through an interactive page, and the user clicks to select.
[0054] Exemplarily, the server interaction page may prompt the user to "please fill in according to the following tags". The user fills in Garden Community, Nanshan District, Shenzhen in the area tag, and fills in 8:00-24:00 every day after the available time tag. The server then obtains the information filled in by the user, converts the information filled in by the user into a demand tag, and then detects that multiple fiber optic networks contain demand tags, then determines the coverage range of the multiple fiber optic networks as the fiber optic network resource allocation range.
[0055] Exemplarily, the server interaction page may prompt the user to "select the following tags", and then display the multiple tags one by one, each tag containing multiple options for the user to select. For example, multiple time periods appear under the available time period tag, such as Monday to Sunday, and multiple time periods from 00:00 to 24:00 are selected by the user by clicking. The server determines the required tag based on the user's selection, and then detects that multiple fiber optic networks contain the required tag, then determines the range covered by the multiple fiber optic networks as the fiber optic network resource allocation range.
[0056] It can be seen that in this embodiment, the server retrieves the label library to mark the existing optical fiber network, and each optical fiber network includes at least one label. Then the server interacts with the user end, and the user determines the optical fiber network resource allocation demand label according to the label or custom configuration according to specific needs. Then the server determines the coverage of multiple optical fiber networks containing the demand label as the optical fiber network resource allocation range, and stores it in the server. When the optical fiber network resource allocation is turned on, the server automatically retrieves the pre-stored optical fiber network resource allocation range. It realizes the reasonable and convenient determination of the allocation range, which is conducive to improving the allocation efficiency.
[0057] Step S220, obtaining location information of the plurality of optical fiber nodes.
[0058] Wherein, the obtaining of the location information of the plurality of optical fiber nodes comprises: determining the plurality of optical fiber nodes included in the optical fiber network resource allocation range; sending location requirement messages to the plurality of optical fiber nodes; and receiving location response messages from the plurality of optical fiber nodes, wherein the location response messages include the location information of the optical fiber sites.
[0059] The optical fiber node includes a GPS receiver for obtaining the geographic coordinate information of the node through satellite signals.
[0060] It can be seen that in this embodiment, after determining the scope of fiber optic network resource allocation, the server can further determine the multiple fiber optic nodes within the allocation scope, thereby obtaining the location information of the multiple fiber optic nodes, and then construct a directed weighted graph based on the location information of the fiber optic nodes, so as to determine the optimal allocation path according to the weights of the directed weighted edges, and perform allocation, which is conducive to improving the efficiency and security of fiber optic allocation and ensuring the stability of the fiber optic network.
[0061] Step S230: construct a directed weighted graph according to the location information of the optical fiber nodes, wherein the nodes of the directed weighted graph are the optical fiber nodes, and the directed edges in the directed weighted graph represent optical fiber links.
[0062] Among them, a directed weighted graph can be constructed according to the location information of the optical fiber nodes through the topology model.
[0063] In a possible embodiment, constructing a directed weighted graph according to the location information of the optical fiber nodes through the topology model includes:
[0064] According to the physical layout and logical connection of the optical fiber network, a unique node identifier is assigned to each of the optical fiber nodes;
[0065] According to the actual fiber link connection, draw edges between corresponding nodes and determine the direction of the edges;
[0066] Determine the weight of each directed edge;
[0067] The directed weighted graph is obtained according to the node identifiers, the edges and the weights.
[0068] It is understandable that in an actual fiber optic network, there may be multiple links connecting the same pair of nodes. In this case, these links can be merged into one edge, and the weight can be set to a certain combination of these links, such as the average, maximum, minimum, etc. In addition, as the fiber optic network expands and changes, the topology model needs to be updated regularly. This includes adding new nodes and edges, deleting old nodes and edges, updating edge weights, etc.
[0069] Step S240, performing the following processing for each of the optical fiber links to determine the weight of the directed edge: obtaining the input optical power at the input port of the optical fiber link; and, obtaining the received optical power at the receiving port of the optical fiber link; determining the connectivity status of the optical fiber link based on the received optical power; and, determining the line loss value of the optical fiber link based on the input optical power and the received optical power; determining the weight of the directed edge corresponding to each of the optical fiber links based on the received optical power, the connectivity status and the line loss value.
[0070] Each fiber node is connected to an optical dispatching device, which has an optical switch module and an optical power detection module built in. The optical switch module uses piezoelectric beam steering technology, has a 16×16 cross configuration capability, can adjust the direction of the light beam, and thus achieve fast and accurate switching of the optical path; the optical power detection module uses embedded software to obtain the optical power value.
[0071] Specifically, a 99:1 optical splitter is used and connected to an optical power detection module for accurate optical power detection. The optical power detection module detects the optical power at the 16 input ports of the optical switch module in each optical scheduling device to obtain the input optical power; and detects the optical power at the 16 receiving ports to obtain the received optical power.
[0072] In a possible embodiment, after the input optical power is acquired, it may be converted by A / D and calibrated to an accurate optical power input value.
[0073] In a possible embodiment, determining the connectivity status of the optical fiber link according to the received optical power includes:
[0074] Detecting whether the received optical power is less than a preset optical power threshold;
[0075] If yes, it is determined that the optical fiber link is in a disconnected state; and,
[0076] If not, it is determined that the optical fiber link is in a connected state.
[0077] Among them, the preset optical power threshold can be pre-set by the user through the network management software and stored in the server or a default threshold, such as -40dbm. When both the user preset threshold and the default threshold exist, the user preset threshold is preferentially called as the preset optical power threshold.
[0078] In a possible embodiment, the line loss value further includes an optical fiber connector attenuation value and an optical fiber fusion joint attenuation value; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power includes:
[0079] Determine the optical fiber attenuation value of the optical fiber link according to the input optical power and the received optical power;
[0080] Obtaining the number of optical fiber connectors of the optical fiber link;
[0081] Determining the attenuation value of the optical fiber connector according to the number of the optical fiber connectors and the loss value of the optical fiber connector;
[0082] Obtaining the number of optical fiber fusion joints of the optical fiber link;
[0083] Determine the attenuation value of the optical fiber fusion joint according to the number of the optical fiber fusion joints and the loss value of the optical fiber fusion joint;
[0084] The optical fiber attenuation value, the optical fiber connector attenuation value and the optical fiber fusion joint attenuation value are summed to obtain a line loss value of the optical fiber link.
[0085] The line loss value refers to the total amount of energy loss caused by various factors during the transmission of optical signals in the optical fiber link, including the optical fiber attenuation value, the optical fiber connector attenuation value and the optical fiber fusion joint attenuation value.
[0086] Among them, optical fiber attenuation is the loss caused by the optical fiber material itself, mainly including Rayleigh scattering, absorption loss and scattering caused by structural defects; optical fiber connectors are used to connect optical fibers to optical fibers or optical fibers to equipment, and each connector will introduce certain losses; optical fiber fusion splicing is a technology for connecting two sections of optical fiber, and each fusion splicing will introduce certain losses.
[0087] Exemplarily, the calculation formula for the line loss value includes: optical fiber attenuation value = input optical power - received optical power; optical fiber connector attenuation value = number of optical fiber connectors × loss value of optical fiber connector; optical fiber fusion joint attenuation value = number of optical fiber fusion joints × loss value of optical fiber fusion joint; line loss value = optical fiber attenuation value + optical fiber connector attenuation value + optical fiber fusion joint attenuation value.
[0088] The loss value of the optical fiber connector is determined by the model of the optical fiber connector, which is the standard loss corresponding to the model; and the loss value of the optical fiber fusion joint is determined in real time by the server and stored in the server.
[0089] In a possible embodiment, determining the weight of the directed edge corresponding to each optical fiber link according to the received optical power, the connectivity status, and the line loss value includes:
[0090] Detecting the connectivity status of each of the optical fiber links, wherein the connectivity status includes connectivity and disconnection;
[0091] Marking the optical fiber link whose connectivity state is the disconnected one as an invalid optical fiber link; and marking the optical fiber link whose connectivity state is the connected one as a valid optical fiber link;
[0092] For the effective optical fiber link, determine a first scoring interval corresponding to the received optical power in a preset optical power interval scoring table; and determine a second scoring interval corresponding to the line loss value in a preset line loss interval scoring table;
[0093] Determining a first score according to the first score interval; and determining a second score according to the second score interval;
[0094] The first score and the second score are weightedly summed to obtain the weight of the directed edge corresponding to the effective optical fiber link.
[0095] Among them, the first scoring interval in the optical power interval scoring table refers to the optical power interval, and the optical power value is negatively correlated with the score; and the second scoring interval in the line loss interval scoring table refers to the line loss interval, and the line loss value is positively correlated with the score.
[0096] It can be understood that the optical power interval scoring table contains multiple scoring intervals and the scoring values corresponding to each interval. The received optical power is compared with the multiple scoring intervals to determine the first scoring interval in which the received optical power is located, and the scoring value corresponding to the interval is used as the first score; then, the second score of the line loss value can be determined by the same method; finally, the weighted sum of the first score and the second score is taken to obtain the weight of the directed edge.
[0097] The weights of the first score and the second score may be preset and stored in the server.
[0098] It can be seen that in this embodiment, the server processes each optical fiber link to obtain the input optical power, received optical power, connectivity status and line loss value, so that the weight of the directed edge corresponding to each optical fiber link can be determined according to the received optical power, connectivity status and line loss value, thereby constructing a complete directed weighted graph, which is conducive to further determining the optimal allocation path according to the weight and transit complexity, and realizing more intelligent, efficient and reliable optical fiber network resource allocation.
[0099] Step S250: determining at least one terminal node requiring optical fiber network resource allocation according to the connectivity status of the optical fiber link.
[0100] The node where the receiving port whose connectivity state of the optical fiber link is disconnected is located can be determined as the terminal node.
[0101] In a possible embodiment, the method further includes: acquiring connectivity properties of the optical fiber link in real time, the connectivity properties including bandwidth utilization, delay and packet loss rate; and determining at least one terminal node requiring optical fiber network resource allocation based on the connectivity properties.
[0102] It is understood that by detecting the connectivity status and connectivity attribute data of the fiber links in real time, it is possible to identify which links have experienced failures or performance bottlenecks. For example, if a fiber link is disconnected or the bandwidth utilization is too high, it may cause network congestion or service interruption. Once a failure or bottleneck is identified, it is necessary to determine which fiber nodes are affected. This can be achieved by analyzing the network topology and link connection relationships. The affected nodes may be nodes directly connected to the failed link, or other nodes that rely on the link for data transmission.
[0103] It can be seen that in this embodiment, the server determines at least one terminal node that requires optical fiber network resource allocation based on the connectivity status of the optical fiber link, so that it can further determine the optimal allocation path to reach the terminal node and perform optical fiber network allocation, thereby realizing intelligent, efficient and more stable optical fiber network allocation.
[0104] Step S260, determining the optimal deployment path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power, wherein the transit complexity refers to the number of the optical fiber nodes involved in the deployment.
[0105] In a possible embodiment, determining the optimal allocation path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power includes:
[0106] Determine at least one deployment path to each of the terminal nodes, each of the deployment paths comprising at least one of the optical fiber links;
[0107] Determine the sum of the weights of each of the deployment paths according to the weights of the directed edges and the transit complexity;
[0108] Determine the shortest path to each of the terminal nodes according to the weights of the dispatched paths, wherein the weights of the shortest paths are the smallest;
[0109] An optimal allocation path to each of the terminal nodes is determined according to the shortest path and the input optical power.
[0110] Wherein, the determining of at least one deployment path to each of the terminal nodes includes: determining multiple deployment paths in a directed weighted graph; detecting the optical fiber node at the receiving port in the multiple deployment paths; if the optical fiber node at the receiving port is detected to be the terminal node, marking the deployment path as a deployment path to the terminal node.
[0111] In a possible embodiment, before determining the deployment path, the method further includes: recording the deployment paths that have been used, unused, and used to facilitate deployment adjustment of the entire network.
[0112] In a possible embodiment, determining the optimal allocation path to each of the terminal nodes according to the shortest path and the input optical power includes:
[0113] Detecting whether the input optical power in the shortest path satisfies a first preset condition, where the first preset condition refers to that the input optical power is within a preset optical power interval;
[0114] If yes, then taking the shortest path as the optimal allocation path; and,
[0115] If not, marking the shortest path as an unavailable path; and determining an alternative path other than the unavailable path, the alternative path meeting the first preset condition;
[0116] The alternative path is used as the optimal allocation path.
[0117] The alternative path is a path with the smallest sum of weights of directed edges except the unavailable path.
[0118] It is understandable that although the sum of the weights of the shortest path is the smallest and can be given priority as the optimal allocation path, the input optical power at the input port of the path has a great impact on the transmission of the optical fiber and the stability of the network, so it is necessary to further determine that the input optical power is in a moderate range, otherwise too high or too low will affect the transmission of the optical signal and the stability of the optical fiber network.
[0119] In a possible embodiment, determining the sum of the weights of each of the deployment paths according to the weights of the directed edges and the transit complexity includes:
[0120] Detecting whether each of the deployment paths contains the invalid optical fiber link;
[0121] If yes, marking the deployment path as an invalid deployment path; and,
[0122] If not, marking the deployment path as a valid deployment path;
[0123] For the effective deployment path, obtaining weights of multiple directed edges of the optical fiber link in the effective deployment path;
[0124] Determining the transit complexity according to the plurality of directed edges, wherein a numerical value of the transit complexity is positively correlated with a quantity of the directed weighted edges;
[0125] Determining a third scoring interval corresponding to the transfer complexity in a preset transfer complexity interval scoring table; and determining a third score according to the third scoring interval;
[0126] The weights of the plurality of directed edges and the third score are weightedly summed to obtain a weight sum of each of the valid deployment paths.
[0127] Exemplarily, there are three deployment paths to reach the terminal node, namely path a, path b and path c, which include 2, 3 and 1 directed edges respectively. By detecting the connectivity status, it can be found that there is a disconnected optical fiber link in path b, then path b is marked as a wireless deployment path, and path a and path b are marked as valid deployment paths. Further, the weights of the two directed edges in path a can be 3 and 5 respectively; the weight of one directed edge in path c can be 4, then the transit complexity of path a is 1, and the corresponding third score can be 1; the transit complexity of path c is 0, and the corresponding third score can be 0. Finally, the total weight of 8 in path a and the third score of 1 are weighted and summed according to the weight ratio of 8:2 to obtain a total weight of 6.6; and the total weight of 4 in path c and the third score of 0 are weighted and summed according to the weight ratio of 8:2 to obtain a total weight of 3.2.
[0128] In a possible embodiment, the user may pre-set the priorities of different optical fiber links and store them in the server, and add the priorities to the calculation of the weight sum of the deployment path.
[0129] It can be seen that in this embodiment, the server first determines the weight and the minimum shortest path according to the weights and transit complexity of multiple directed edges in the allocation path, and then determines whether to use the shortest path as the optimal allocation path according to whether the input optical power in the shortest path meets the preset conditions. This realizes the intelligent determination of the optimal allocation path according to the weight and input optical power, improves the efficiency and convenience of optical fiber allocation, and is conducive to maintaining network stability.
[0130] Step S270: when it is detected that the optical fiber network of the terminal node is in an abnormal state, the optical fiber network resources of the terminal node are allocated according to the optimal allocation path.
[0131] The abnormal state of the optical fiber network includes information such as disconnection, abnormality, and destruction.
[0132] Among them, the disconnected state refers to the inability of the optical fiber link to transmit optical signals, resulting in interruption of data transmission. The reasons for the disconnected state may include optical fiber breakage, incomplete connector engagement, equipment failure or improper operation; and, the abnormal state means that although the optical fiber network can partially transmit data, the performance is degraded and the optimal transmission effect cannot be achieved. In an abnormal state, slow data transmission, packet loss, high bit error rate and other phenomena may occur; and, the destroyed state means that the optical fiber network completely loses its transmission capacity and cannot be repaired or needs to be completely replaced. Destruction is usually caused by irreversible physical damage, such as severe external force damage, fire, flood, etc.
[0133] It can be seen that in this embodiment, after the optimal deployment path is determined, the terminal node cannot be deployed with optical fiber immediately. After the optical fiber link is disconnected, it does not necessarily and will not immediately cause the optical fiber network to fail. Therefore, the status of the optical fiber network must be continuously monitored. When the optical fiber network is in an abnormal state, the terminal node is deployed with optical fiber according to the optimal deployment path, thereby achieving efficient and reliable optical fiber network deployment and ensuring the stability and security of the optical fiber network.
[0134] See also Figure 3 , Figure 3 is an application example diagram of a method for allocating optical fiber network resources provided in an embodiment of the present application, such as Figure 3 As shown, this example diagram is an example diagram of fiber optic network deployment.
[0135] The optical fiber nodes include optical fiber sites A and B, optical fiber nodes A and B, and network elements A and B. Each optical fiber node is connected to an optical scheduling device, including optical scheduling devices 1 to 6 in total.
[0136] Among them, the optical fiber site A is connected to the optical fiber site B, the optical fiber node B and the network element B through a bidirectional optical fiber link, and six directed edges are formed, and each directed edge has a weight; and the optical fiber node A is connected to the optical fiber node B through a bidirectional optical fiber link, and two directed edges are formed, and each directed edge has a weight; and the network element A is connected to the optical fiber node B and the network element B through a bidirectional optical fiber link, and four directed edges are formed, and each directed edge has a weight.
[0137] Among them, the transit complexity between two adjacent optical fiber nodes is zero.
[0138] It is understandable that each optical dispatching device includes an optical switch module, an optical power detection module and an optical fiber network status detection module, which are respectively used to control the switching of the optical path, obtain the optical power value and obtain the optical fiber network status information. After obtaining the location information of the optical fiber nodes within the deployment range, the server can construct a directed weighted graph and determine the weight of each directed edge according to the optical power value, connectivity status and line loss value, so that the optimal deployment path can be determined according to the weight, transit complexity and input optical power, so that the optical fiber network deployment can be performed for the terminal nodes that need to be deployed according to the optimal deployment path, realizing intelligent, efficient and convenient optical fiber network deployment, which is conducive to ensuring the security and stability of the optical fiber network.
[0139] See also Figure 4 , Figure 4 is a schematic diagram of the principle of an optical scheduling device provided in an embodiment of the present application, such as Figure 4 As shown, the optical fiber network resource scheduling path is from optical fiber node A to optical fiber node B.
[0140] Among them, the optical signal transmission direction is from optical fiber node A to optical fiber node B. Optical fiber node A and optical fiber node B are respectively connected to optical scheduling device A and optical scheduling device B. Optical fiber node A and optical scheduling device A are connected through an optical fiber jumper, optical fiber node B and optical scheduling device B are connected through an optical fiber jumper, and optical scheduling device A and optical scheduling device B are connected through an optical fiber link. The optical signal is transmitted in the optical fiber jumper and the optical fiber link.
[0141] The optical scheduling device A includes a 16×16 optical switch, a 32:1 optical switch and a central processing unit CPU. The 32:1 optical switch is connected to an optical power detection module OPM for controlling the output of optical signals and detecting optical power. The 16×16 optical switch is a matrix switch with 16 input ports U1 to U16 and 16 output ports L1 to L16. The optical scheduling device B includes 16 input ports U'1 to U'16 and 16 output ports L'1 to L'16.
[0142] Among them, the optical scheduling device A and the optical scheduling device B are also connected through an optical fiber network management channel for data transmission and communication; and the optical scheduling device A and the optical scheduling device B are respectively connected to the server through a transmission interface for information exchange with the server.
[0143] It can be seen that the main function of the 16×16 optical switch is to establish dynamic connections between multiple input and output ports to achieve high-density, high-capacity optical cross-connection functions; the 32:1 optical switch is a 1×N configuration that connects one input port to one of the 32 output ports. Its main function is to dynamically monitor and route optical signals, and is suitable for network monitoring, dynamic configuration of add / drop multiplexers, and simple optical path switching applications. In a fiber node A, the dynamic configuration and optimization of each fiber link can be achieved through the 16×16 optical switch, and at the same time, the 32:1 optical switch can be used to monitor and control certain key links in detail.
[0144] It can be understood that the server obtains the input optical power at the optical scheduling device A and the received optical power at the optical scheduling device B through the optical power detection module OPM, and determines that the connectivity state is connected according to the received optical power, and obtains the line loss value of the optical fiber link, so as to obtain the weight of the directed edge of the optical fiber link between the optical fiber node A and the optical fiber node B, and determines that the path is the optimal deployment path according to the weight, transit complexity, and input optical power. When an optical fiber network anomaly is detected, the optical fiber network is deployed from the optical fiber node A to the optical fiber node B, thereby realizing efficient, convenient and reliable optical fiber network deployment.
[0145] See also Figure 5 , Figure 5 is a block diagram of the functional units of a fiber optic network resource allocation device 500 provided in an embodiment of the present application, such as Figure 5 As shown, the optical fiber network resource allocation device includes the following units:
[0146] A first acquisition unit 510 is used to acquire a fiber optic network resource allocation range, where the fiber optic network resource allocation range includes a plurality of the fiber optic nodes;
[0147] A second acquisition unit 520 is used to acquire location information of a plurality of optical fiber nodes;
[0148] A construction unit 530, configured to construct a directed weighted graph according to the location information of the optical fiber node, wherein the nodes of the directed weighted graph are the optical fiber nodes, and the directed edges in the directed weighted graph represent optical fiber links;
[0149] The processing unit 540 is configured to perform the following processing for each of the optical fiber links to determine the weight of the directed edge: obtaining the input optical power at the input port of the optical fiber link; and obtaining the received optical power at the receiving port of the optical fiber link; determining the connectivity state of the optical fiber link according to the received optical power; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power; determining the weight of the directed edge corresponding to each of the optical fiber links according to the received optical power, the connectivity state and the line loss value;
[0150] A first determining unit 550 is used to determine at least one terminal node that needs to be allocated optical fiber network resources according to the connectivity status of the optical fiber link;
[0151] A second determining unit 560, configured to determine an optimal deployment path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power, wherein the transit complexity refers to the number of the optical fiber nodes involved in the deployment;
[0152] The allocation unit 570 is used to allocate the optical fiber network resources to the terminal node according to the optimal allocation path when it is detected that the optical fiber network of the terminal node is in an abnormal state.
[0153] In one embodiment, determining the weight of the directed edge corresponding to each optical fiber link according to the received optical power, the connectivity status, and the line loss value includes:
[0154] Detecting the connectivity status of each of the optical fiber links, wherein the connectivity status includes connectivity and disconnection;
[0155] Marking the optical fiber link whose connectivity state is the disconnected one as an invalid optical fiber link; and marking the optical fiber link whose connectivity state is the connected one as a valid optical fiber link;
[0156] For the effective optical fiber link, determine a first scoring interval corresponding to the received optical power in a preset optical power interval scoring table; and determine a second scoring interval corresponding to the line loss value in a preset line loss interval scoring table;
[0157] Determining a first score according to the first score interval; and determining a second score according to the second score interval;
[0158] The first score and the second score are weightedly summed to obtain the weight of the directed edge corresponding to the effective optical fiber link.
[0159] In one embodiment, determining the optimal allocation path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power includes:
[0160] Determine at least one deployment path to each of the terminal nodes, each of the deployment paths comprising at least one of the optical fiber links;
[0161] Determine the sum of the weights of each of the deployment paths according to the weights of the directed edges and the transit complexity;
[0162] Determine the shortest path to each of the terminal nodes according to the weights of the dispatched paths, wherein the weights of the shortest paths are the smallest;
[0163] An optimal allocation path to each of the terminal nodes is determined according to the shortest path and the input optical power.
[0164] In one embodiment, determining the optimal allocation path to each of the terminal nodes according to the shortest path and the input optical power includes:
[0165] Detecting whether the input optical power in the shortest path satisfies a first preset condition, where the first preset condition refers to that the input optical power is within a preset optical power interval;
[0166] If yes, then taking the shortest path as the optimal allocation path; and,
[0167] If not, marking the shortest path as an unavailable path; and determining an alternative path other than the unavailable path, the alternative path meeting the first preset condition;
[0168] The alternative path is used as the optimal allocation path.
[0169] In one embodiment, determining the sum of the weights of each of the deployment paths according to the weights of the directed edges and the transit complexity includes:
[0170] Detecting whether each of the deployment paths contains the invalid optical fiber link;
[0171] If yes, marking the deployment path as an invalid deployment path; and,
[0172] If not, marking the deployment path as a valid deployment path;
[0173] For the effective deployment path, obtaining weights of multiple directed edges of the optical fiber link in the effective deployment path;
[0174] Determining the transit complexity according to the plurality of directed edges, wherein a numerical value of the transit complexity is positively correlated with a quantity of the directed weighted edges;
[0175] Determining a third scoring interval corresponding to the transfer complexity in a preset transfer complexity interval scoring table; and determining a third score according to the third scoring interval;
[0176] The weights of the plurality of directed edges and the third score are weightedly summed to obtain a weight sum of each of the valid deployment paths.
[0177] In one embodiment, the line loss value further includes an optical fiber connector attenuation value and an optical fiber fusion joint attenuation value; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power includes:
[0178] Determine the optical fiber attenuation value of the optical fiber link according to the input optical power and the received optical power;
[0179] Obtaining the number of optical fiber connectors of the optical fiber link;
[0180] Determining the attenuation value of the optical fiber connector according to the number of the optical fiber connectors and the loss value of the optical fiber connector;
[0181] Obtaining the number of optical fiber fusion joints of the optical fiber link;
[0182] Determine the attenuation value of the optical fiber fusion joint according to the number of the optical fiber fusion joints and the loss value of the optical fiber fusion joint;
[0183] The optical fiber attenuation value, the optical fiber connector attenuation value and the optical fiber fusion joint attenuation value are summed to obtain a line loss value of the optical fiber link.
[0184] In one embodiment, determining the connectivity status of the optical fiber link according to the received optical power includes:
[0185] Detecting whether the received optical power is less than a preset optical power threshold;
[0186] If yes, it is determined that the optical fiber link is in a disconnected state; and,
[0187] If not, it is determined that the optical fiber link is in a connected state.
[0188] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0189] It can be seen that the optical fiber network resource allocation device 500 first obtains the optical fiber network resource allocation range through the first acquisition unit 510; then, obtains the location information of multiple optical fiber nodes within the range through the second acquisition unit 520; then, constructs a directed weighted graph through the construction unit 530; then, the processing unit 540 performs the following processing for each optical fiber link to determine the weight of the directed edge: obtain the input optical power and the received optical power of the optical fiber link; determine the connectivity state according to the received optical power; and, determine the line loss value according to the input optical power and the received optical power; determine the weight of the directed edge according to the received optical power, the connectivity state and the line loss value; secondly, determine the terminal node that needs to be allocated according to the connectivity state through the first determination unit 550; thirdly, determine the optimal allocation path to each terminal node according to the weight of the directed edge, the transit complexity and the input optical power through the second determination unit 560; finally, when an abnormal state of the optical fiber network is detected, the allocation unit 570 allocates optical fiber network resources to the terminal node according to the optimal allocation path. It realizes the intelligent, efficient and convenient determination of the optimal deployment path, which is conducive to ensuring the stability and security of the fiber optic network.
[0190] In addition, an embodiment of the present application also provides a computer storage medium, which stores a computer program that can be loaded by a processor and executed as described above for the optical fiber network resource allocation method. The computer-readable storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0191] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0192] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0193] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0194] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0195] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (directrambus RAM, DR RAM) and other media that can store program code.
[0196] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0197] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0198] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present application, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present application.
Claims
1. A method for allocating optical fiber network resources, applied to a server of an optical fiber network resource allocation system, wherein the optical fiber network resource allocation system further comprises an optical scheduling device, wherein the optical scheduling device is used for communication connection between multiple optical fiber nodes, wherein the optical fiber nodes comprise optical fiber sites, optical fiber nodes and optical fiber network elements, wherein: include: Acquire a fiber optic network resource allocation scope, wherein the fiber optic network resource allocation scope includes a plurality of the fiber optic nodes; Obtaining location information of a plurality of optical fiber nodes; Constructing a directed weighted graph according to the location information of the optical fiber nodes, wherein the nodes of the directed weighted graph are the optical fiber nodes, and the directed edges in the directed weighted graph represent optical fiber links; The following processing is performed for each of the optical fiber links to determine the weight of the directed edge: obtaining the input optical power at the input port of the optical fiber link; And, obtaining the received optical power at the receiving port of the optical fiber link; Determining a connectivity state of the optical fiber link according to the received optical power; and, determining a line loss value of the optical fiber link according to the input optical power and the received optical power; Determine the weight of the directed edge corresponding to each of the optical fiber links according to the received optical power, the connectivity status and the line loss value; Determining at least one terminal node for which optical fiber network resource allocation is required according to the connectivity status of the optical fiber link; Determine the optimal deployment path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power, wherein the transit complexity refers to the number of the optical fiber nodes involved in the deployment; When it is detected that the optical fiber network of the terminal node is in an abnormal state, the optical fiber network resources of the terminal node are allocated according to the optimal allocation path.
2. The method according to claim 1, characterized in that The step of determining the weight of the directed edge corresponding to each optical fiber link according to the received optical power, the connectivity status, and the line loss value comprises: Detecting the connectivity status of each of the optical fiber links, wherein the connectivity status includes connectivity and disconnection; Marking the optical fiber link whose connectivity state is the disconnected one as an invalid optical fiber link; and marking the optical fiber link whose connectivity state is the connected one as a valid optical fiber link; For the effective optical fiber link, determine a first scoring interval corresponding to the received optical power in a preset optical power interval scoring table; and determine a second scoring interval corresponding to the line loss value in a preset line loss interval scoring table; Determining a first score according to the first score interval; and determining a second score according to the second score interval; The first score and the second score are weightedly summed to obtain the weight of the directed edge corresponding to the effective optical fiber link.
3. The method according to claim 2, characterized in that The step of determining the optimal allocation path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power comprises: Determine at least one deployment path to each of the terminal nodes, each of the deployment paths comprising at least one of the optical fiber links; Determine the sum of the weights of each of the deployment paths according to the weights of the directed edges and the transit complexity; Determine the shortest path to each of the terminal nodes according to the weights of the dispatched paths, wherein the weights of the shortest paths are the smallest; An optimal allocation path to each of the terminal nodes is determined according to the shortest path and the input optical power.
4. The method according to claim 3, characterized in that The step of determining the optimal allocation path to each of the terminal nodes according to the shortest path and the input optical power comprises: Detecting whether the input optical power in the shortest path satisfies a first preset condition, where the first preset condition refers to that the input optical power is within a preset optical power interval; If yes, then taking the shortest path as the optimal allocation path; and, If not, marking the shortest path as an unavailable path; and determining an alternative path other than the unavailable path, the alternative path meeting the first preset condition; The alternative path is used as the optimal allocation path.
5. The method according to claim 3, characterized in that: Determining the sum of the weights of each of the deployment paths according to the weights of the directed edges and the transit complexity includes: Detecting whether each of the deployment paths contains the invalid optical fiber link; If yes, marking the deployment path as an invalid deployment path; and, If not, marking the deployment path as a valid deployment path; For the effective deployment path, obtaining weights of multiple directed edges of the optical fiber link in the effective deployment path; Determining the transit complexity according to the plurality of directed edges, wherein a numerical value of the transit complexity is positively correlated with a quantity of the directed weighted edges; Determining a third scoring interval corresponding to the transfer complexity in a preset transfer complexity interval scoring table; and determining a third score according to the third scoring interval; The weights of the plurality of directed edges and the third score are weightedly summed to obtain a weight sum of each of the valid deployment paths.
6. The method according to claim 5, characterized in that The line loss value also includes an optical fiber connector attenuation value and an optical fiber fusion joint attenuation value; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power includes: Determine the optical fiber attenuation value of the optical fiber link according to the input optical power and the received optical power; Obtaining the number of optical fiber connectors of the optical fiber link; Determining the attenuation value of the optical fiber connector according to the number of the optical fiber connectors and the loss value of the optical fiber connector; Obtaining the number of optical fiber fusion joints of the optical fiber link; Determine the attenuation value of the optical fiber fusion joint according to the number of the optical fiber fusion joints and the loss value of the optical fiber fusion joint; The optical fiber attenuation value, the optical fiber connector attenuation value and the optical fiber fusion joint attenuation value are summed to obtain a line loss value of the optical fiber link.
7. The method according to claim 6, characterized in that The determining the connectivity status of the optical fiber link according to the received optical power includes: Detecting whether the received optical power is less than a preset optical power threshold; If yes, it is determined that the optical fiber link is in a disconnected state; and, If not, it is determined that the optical fiber link is in a connected state.
8. An optical fiber network resource allocation device, characterized in that: A server applied to an optical fiber network resource allocation system, wherein the optical fiber network resource allocation system further comprises an optical scheduling device, wherein the optical scheduling device is used for communication connection between a plurality of optical fiber nodes, wherein the optical fiber nodes comprise optical fiber sites, optical fiber nodes and optical fiber network elements; the device comprises: A first acquisition unit is used to acquire a fiber optic network resource allocation range, wherein the fiber optic network resource allocation range includes a plurality of the fiber optic nodes; A second acquisition unit, used to acquire position information of a plurality of optical fiber nodes; A first determining unit, configured to determine a connectivity state of the plurality of optical fiber channels according to the received optical power, wherein the connectivity state includes connectivity and disconnection; A construction unit, configured to construct a directed weighted graph according to the location information of the optical fiber nodes, wherein the nodes of the directed weighted graph are the optical fiber nodes, and the directed edges in the directed weighted graph represent optical fiber links; A processing unit, configured to perform the following processing for each of the optical fiber links to determine the weight of the directed edge: obtaining the input optical power at the input port of the optical fiber link; and obtaining the received optical power at the receiving port of the optical fiber link; determining the connectivity state of the optical fiber link according to the received optical power; and determining the line loss value of the optical fiber link according to the input optical power and the received optical power; determining the weight of the directed edge corresponding to each of the optical fiber links according to the received optical power, the connectivity state and the line loss value; A third determining unit, configured to determine at least one terminal node for which optical fiber network resource allocation is required according to the connectivity status of the optical fiber link; A fourth determining unit, configured to determine an optimal deployment path to each of the terminal nodes according to the weight of the directed edge, the transit complexity and the input optical power, wherein the transit complexity refers to the number of the optical fiber nodes involved in the deployment; The allocation unit is used to allocate the optical fiber network resources to the terminal node according to the optimal allocation path when it is detected that the optical fiber network of the terminal node is in an abnormal state.
9. A fiber optic network resource allocation system, characterized in that: It includes a server and an optical scheduling device; wherein, The server is used to execute the steps performed by the server in the method according to any one of claims 1 to 7; The optical scheduling device is used for communication connection between multiple optical fiber nodes, and the optical fiber nodes include optical fiber sites, optical fiber nodes and optical fiber network elements.
10. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: The computer program / instructions are executed by a processor to implement the steps of the method according to any one of claims 1 to 7.
Citation Information
Cited By
Optical fiber distribution method and device based on fiber moving complexity prediction
CN122533658A