A method, system, electronic device, and storage medium for comprehensive monitoring of optical cables.
By collecting fiber optic network data, extracting fiber optic features, constructing a service topology network, and configuring monitoring strategies, the problem of the lack of accurate identification capabilities in the global fiber optic network has been solved, and accurate monitoring of optical cables has been achieved.
Patent Information
- Application Number
- CN202511913325.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-18
- Publication Date
- 2026-03-31
- Estimated Expiration
- 2045-12-18
AI Technical Summary
Existing global fiber optic networks lack the ability to accurately identify different service types, making it impossible to achieve precise global monitoring.
By collecting fiber optic data from the fiber optic network, extracting fiber optic features, classifying them, constructing a service topology network, and configuring monitoring strategies, the system can achieve full-area monitoring of optical cables.
It enables precise monitoring of optical fiber networks, allowing for accurate monitoring and management of different service types, thus improving the accuracy and efficiency of monitoring.
Smart Images

Figure CN121356672B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical cable testing, and more specifically, to a method, system, electronic device, and storage medium for full-area monitoring of optical cables. Background Technology
[0002] With the widespread adoption of 5G, cloud computing, and the Internet of Things, fiber optic communication has become the core of modern information infrastructure. Fiber optic networks have evolved from early short-distance point-to-point connections to a network architecture covering the entire network area, undertaking the task of data transmission throughout the entire path from central nodes to end users. However, as the coverage of fiber optic networks expands, monitoring these network areas faces significant challenges. Current monitoring methods still rely on traditional approaches, resulting in a lack of accurate identification of different service types despite wider service coverage, thus hindering precise, end-to-end monitoring of the fiber optic network. Summary of the Invention
[0003] This invention provides a method, system, electronic device, and storage medium for comprehensive monitoring of optical cables, enabling effective and accurate comprehensive monitoring of optical cables.
[0004] According to a first aspect of this application, a method for monitoring the entire area of an optical cable is provided, the method comprising:
[0005] Collect fiber optic data from each fiber optic segment in the fiber optic network; the fiber optic segment is the connecting fiber between two fiber optic devices in the fiber optic network.
[0006] Feature extraction is performed on the optical fiber data to obtain the optical fiber features of each optical fiber segment of the optical fiber network;
[0007] Based on the optical fiber characteristics, all optical fiber segments of the optical fiber network are classified to obtain the category of each optical fiber segment;
[0008] Based on the categories of all fiber segments in the optical fiber network, construct several service topology networks for the optical fiber network;
[0009] Configure a monitoring strategy for the service topology network according to the category, and use the monitoring strategy to monitor the service topology network.
[0010] By extracting the corresponding fiber features from the fiber data of each fiber segment in the optical fiber network, and classifying the fiber segments based on the fiber features, a corresponding service topology network is obtained. This allows for the targeted configuration of monitoring strategies for the service characteristics of the service topology network, thereby enabling precise monitoring of all the service topology networks using the monitoring strategies, thus achieving full-area monitoring of the optical cable.
[0011] Optionally, the acquisition of fiber optic data from each fiber segment in the fiber optic network includes:
[0012] Construct the optical fiber topology network of the optical fiber network and determine the root node of the optical fiber topology network;
[0013] Based on the root node, obtain the lower-level connecting optical fibers of each optical fiber network node in the optical fiber topology network;
[0014] Fiber optic data of the corresponding downstream connecting fiber is collected in the fiber optic network node to obtain the fiber optic data of the corresponding fiber segment.
[0015] By constructing an optical fiber topology network for the optical fiber network, data from the optical fiber network can be collected more intuitively. At the same time, by determining the root node, the direction of optical fiber data collection can be determined based on the root node, so that the optical fiber data of each optical fiber segment has the same reference and ensures the accuracy of the optical fiber data.
[0016] Optionally, the fiber optic data includes fiber optic parameter data and OTDR data;
[0017] The step of extracting features from the optical fiber data to obtain the optical fiber features of each optical fiber segment of the optical fiber network includes:
[0018] The fiber parameter data is encoded by an embedded feature encoder to obtain parameter features;
[0019] The OTDR data is used to extract features using a pre-trained fiber optic feature extraction model to obtain OTDR features.
[0020] The optical fiber characteristics are obtained by fusing the parameter features with the OTDR features.
[0021] By extracting features from fiber parameter data reflecting the physical properties of the fiber and OTDR data reflecting the transmission properties of the fiber, and fusing the extracted parameter features and OTDR features as the fiber features, the classification of the fiber segment can be achieved more accurately using the fiber features.
[0022] Optionally, classifying all fiber segments of the optical fiber network according to the fiber characteristics to obtain the category of each fiber segment includes:
[0023] Map the fiber characteristics of all the fiber segments to a preset feature space;
[0024] Based on the distribution of the optical fiber features in the feature space, the optical fiber features are clustered to obtain several optical fiber feature clusters;
[0025] The fiber segments corresponding to the fiber features in the same fiber feature cluster are classified into the same category to obtain the category of the fiber segment.
[0026] By clustering the optical fiber features to classify the optical fiber segments, the potential feature relationships between the optical fiber segments can be obtained based on the feature dimension, thereby enabling more accurate classification of the optical fiber segments.
[0027] Optionally, constructing several service topology networks for the optical fiber network based on the categories of all optical fiber segments in the optical fiber network includes:
[0028] Obtain the fiber optic devices associated with all fiber segments in the category;
[0029] The associated fiber optic devices are used as service network nodes, and the connection relationships of the associated fiber optic devices in the fiber optic network are used as edges to construct the service topology network corresponding to the category.
[0030] Optionally, configuring a monitoring policy for the service topology network according to the category includes:
[0031] Based on the fiber characteristics of all fiber segments in the category, determine the service status of the corresponding service topology network;
[0032] Set the total polling time for the corresponding service topology network based on the service status;
[0033] Obtain all transmission optical paths in the service topology network; the transmission optical path includes two optical fiber devices as the start and end points, as well as the optical fiber devices and connecting optical fibers between the start and end points;
[0034] Based on the total polling time, an optical path polling time is allocated to each transmission optical path in the service topology network to obtain the monitoring strategy of the service topology network.
[0035] By determining the service status of the service topology network through the category, the service importance of the service topology network can be confirmed, and the corresponding total polling time can be allocated. This allows for greater attention to the important service topology networks when polling and monitoring the entire optical fiber network, which is beneficial for monitoring and maintaining the optical fiber network.
[0036] Optionally, configuring a monitoring strategy for the service topology network according to the category further includes:
[0037] The monitoring optical wavelength is set according to the service status and the corresponding service topology network, and the service topology network is monitored based on the monitoring optical wavelength.
[0038] By configuring a matching monitoring light wavelength for the service topology network based on its service status, the monitoring data of the corresponding service topology network can be distinguished based on the monitoring light wavelength, making management more convenient. On the other hand, by setting a matching monitoring light wavelength, the anti-interference capability of the corresponding monitoring light in the corresponding service topology network can be improved, thereby increasing the monitoring accuracy.
[0039] According to a second aspect of this application, a fiber optic cable end-to-end monitoring system is provided, the system comprising:
[0040] The data acquisition module is used to acquire fiber optic data from each fiber optic segment in the fiber optic network; the fiber optic segment is the connecting fiber between two fiber optic devices in the fiber optic network.
[0041] The feature extraction module is used to extract features from the optical fiber data to obtain the optical fiber features of each optical fiber segment of the optical fiber network.
[0042] The classification module is used to classify all fiber segments of the optical fiber network according to the characteristics of the optical fiber, and obtain the category of each fiber segment;
[0043] The topology network construction module is used to construct several service topology networks of the optical fiber network according to the categories of all optical fiber segments of the optical fiber network.
[0044] The policy configuration module is used to configure a monitoring policy for the service topology network according to the category, and to monitor the service topology network using the monitoring policy.
[0045] According to a third aspect of this application, an electronic device is provided, comprising:
[0046] Memory, used to store one or more computer programs;
[0047] A processor, when the one or more computer programs are executed by the processor, implements the optical cable global monitoring method described in the first aspect above.
[0048] According to a fourth aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the optical cable global monitoring method described in the first aspect above.
[0049] Based on any of the above aspects, the embodiments of this application provide a method, system, electronic device, and computer storage medium for full-area monitoring of optical cables. By extracting corresponding optical fiber features from the optical fiber data of each optical fiber segment in the optical fiber network, classifying the optical fiber segments based on the optical fiber features, and obtaining the corresponding classified service topology network, the monitoring strategy can be configured specifically for the service characteristics of the service topology network. In turn, the monitoring strategy can be used to accurately monitor the service topology network, thereby realizing full-area monitoring of optical cables. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a flowchart illustrating the steps of the optical cable full-area monitoring method provided in this embodiment.
[0052] Figure 2 This is a flowchart illustrating the steps involved in configuring the monitoring strategy provided in this embodiment.
[0053] Figure 3 This is a schematic diagram of the functional modules of the optical cable full-area monitoring system provided in this embodiment.
[0054] Figure 4 This is a schematic diagram of the device structure of the electronic device provided in this embodiment. Detailed Implementation
[0055] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the scope of this application. To better illustrate the following embodiments, some components in the drawings may be omitted, enlarged, or reduced, and do not represent the actual dimensions of the product; it is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0056] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0057] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0058] With the widespread adoption of 5G, cloud computing, and the Internet of Things, fiber optic communication has become the core of modern information infrastructure. Fiber optic networks have evolved from early short-distance point-to-point connections to a network architecture covering the entire network area, undertaking the task of data transmission throughout the entire path from central nodes to end users. However, as the coverage of fiber optic networks expands, monitoring these network areas faces significant challenges. Current monitoring methods still rely on traditional approaches, resulting in a lack of accurate identification of different service types despite wider service coverage, thus hindering precise, end-to-end monitoring of the fiber optic network.
[0059] This embodiment provides a technical solution that can solve the above problems. The specific implementation of this application will be described in detail below with reference to the accompanying drawings.
[0060] like Figure 1 As shown, this embodiment provides a method for monitoring the entire optical cable area, which may include the following steps:
[0061] S1: Collect fiber optic data from each fiber segment in the fiber optic network;
[0062] In this embodiment, the optical fiber segment can be understood as the connecting optical fiber between two optical fiber devices in the optical fiber network; the optical fiber device may include active devices such as optical switches, monitoring devices and optical network units, and may also include passive devices such as optical splitters and wavelength division multiplexers.
[0063] In one embodiment, the optical fiber network includes a plurality of optical switches. By adjusting the switching states of the optical switches in the optical fiber network, the connection relationships between optical fiber devices in the optical fiber network are adjusted, thereby forming a plurality of transmission optical paths in the optical fiber network.
[0064] In this embodiment, step S1 may include the following sub-steps:
[0065] Construct the optical fiber topology network of the optical fiber network and determine the root node of the optical fiber topology network; obtain the lower-level connecting optical fibers of each optical fiber network node in the optical fiber topology network based on the root node; collect the optical fiber data of the corresponding lower-level connecting optical fibers in the optical fiber network node to obtain the optical fiber data of the corresponding optical fiber segment.
[0066] Understandably, in this embodiment, the fiber optic devices in the fiber optic network can be used as fiber optic network nodes, and the connecting fibers between the fiber optic devices in the fiber optic network can be used as network connection edges between corresponding nodes to construct the fiber optic topology network. Fiber optic devices are selected from the fiber optic topology network as the root nodes of the fiber optic topology network, and the selected root nodes can serve as the reference of the fiber optic topology network. Preferably, the root nodes can be selected from fiber optic devices with splitting functions, such as optical switches, optical splitters, and wavelength division multiplexers, to facilitate better acquisition of fiber optic data.
[0067] With a root node selected, all fiber network nodes of the fiber topology network can be traversed starting from the root node. For each traversed fiber network node, the lower-level connecting fiber can be obtained. The lower-level connecting fiber can be understood as the connecting fiber between the fiber network node and its next-level fiber network node.
[0068] Finally, at each of the aforementioned fiber optic network nodes, fiber optic monitoring equipment is used to collect fiber optic data of the downstream connecting fibers of the fiber optic network node, thereby obtaining the fiber optic data of the fiber segment corresponding to the downstream connecting fiber optic.
[0069] By constructing the optical fiber topology network and determining the root node of the optical fiber topology network, the optical fiber data of all optical fiber segments in the optical fiber network can be collected based on the same transmission direction, so that the optical fiber data of all optical fiber segments have the same reference, so that the optical fiber segments can be more accurately classified based on the optical fiber characteristics of the optical fiber data.
[0070] S2: Extract features from the optical fiber data to obtain the optical fiber features of each optical fiber segment of the optical fiber network;
[0071] In this embodiment, the optical fiber data may include optical fiber parameter data and OTDR (Optical Time Domain Reflectometer) data. It is understood that the optical fiber parameter data may include physical parameter data of the connecting optical fiber, such as the material of the optical fiber, the serial number of the fiber core, the fiber core diameter and the length of the optical fiber, etc. In some embodiments, the optical fiber parameter data may also include environmental data of the connecting optical fiber, such as the burial location of the connecting optical fiber.
[0072] In this embodiment, step S2 may include the following sub-steps:
[0073] The fiber parameter data is encoded by an embedded feature encoder to obtain parameter features; the OTDR data is then extracted using a pre-trained fiber feature extraction model to obtain OTDR features; and the parameter features and OTDR features are then fused to obtain the fiber features.
[0074] Understandably, the embedded feature encoder encodes the fiber optic parameter data, transforming structured and unstructured fiber optic parameter data into recognizable vector-like parameter features. The embedded feature encoder is pre-configured to perform the encoding process on the fiber optic parameter data. The OTDR data can be obtained by collecting historical vibration data from the fiber segment, normalizing the historical vibration data, and calculating the mean value of the historical vibration data based on a preset time unit.
[0075] In one implementation, the pre-trained fiber optic feature extraction model can be based on a 1D convolutional neural network, utilizing the feature recognition capability of the convolutional neural network to extract features from the OTDR data. The OTDR features can be represented in the form of an OTDR feature map.
[0076] In one embodiment, feature fusion of the parameter features and the OTDR features can be achieved by sequentially splicing the parameter features and the OTDR features, and using the spliced features as the fiber features.
[0077] In this embodiment, the parameter features represent the physical properties of the connecting optical fiber, the OTDR features represent the environmental impact around the connecting optical fiber during actual operation, and the actual operating data of the connecting optical fiber. By fusing the parameter features and the OTDR features, the subsequent optical fiber segments can be accurately classified based on the physical and environmental properties of the connecting optical fiber.
[0078] S3: Classify all fiber segments of the optical fiber network according to the characteristics of the optical fiber to obtain the category of each fiber segment;
[0079] In this embodiment, step S3 may include the following sub-steps:
[0080] The fiber features of all fiber segments are mapped to a preset feature space; the fiber features are clustered according to their distribution in the feature space to obtain several fiber feature clusters; the fiber segments corresponding to the fiber features in the same fiber feature cluster are classified into the same category to obtain the category of the fiber segment.
[0081] In this embodiment, mapping the fiber features of all fiber segments to a preset feature space can be achieved by converting the fiber features into specific vectors using a preset encoding method. In the feature space, each fiber feature corresponds to a feature point. The optimal number of clusters in the feature space can be determined based on the distribution of the feature points. Then, based on the optimal number of clusters, the fiber features are clustered using unsupervised learning to obtain several fiber feature clusters related to the fiber features in the feature space. Each fiber feature cluster corresponds to a category of the fiber segment.
[0082] As described above, the fiber characteristics of the fiber segment reflect the physical and environmental properties of the fiber. Therefore, this embodiment can effectively extract the correlation between the fiber characteristics by clustering the fiber characteristics in the feature space, thereby enabling more accurate classification of the fiber segment.
[0083] S4: Based on the categories of all fiber segments in the optical fiber network, construct several service topology networks for the optical fiber network;
[0084] In this embodiment, step S4 may include the following sub-steps:
[0085] Based on each category, obtain the fiber optic devices associated with all fiber optic segments in the category, including the fiber optic devices corresponding to the start and end points of the fiber optic segments; wherein, the fiber optic devices associated with the fiber optic segments are used as service network nodes, and the connection relationships of the associated fiber optic devices in the fiber optic network are used as edges to construct the service topology network corresponding to the category.
[0086] It is understood that the connection relationship of the optical fiber device in the optical fiber network includes direct connection relationship and indirect connection relationship. The direct connection relationship can be understood as a direct connection between the optical fiber device and the other optical fiber device through only one connecting optical fiber. The indirect connection relationship can be understood as the optical fiber devices being connected to each other through several connecting optical fibers.
[0087] In one implementation, if two optical fiber devices of the same category are indirectly connected, and the indirect connection between the two optical fiber devices includes optical fiber devices and connecting optical fibers of different categories, then the optical fiber devices and connecting optical fibers of different categories are also included in the service topology network of that category.
[0088] S5: Configure a monitoring strategy for the service topology network according to the category, and use the monitoring strategy to monitor the service topology network.
[0089] In this embodiment, as Figure 2 As shown, step S5 may include the following sub-steps:
[0090] S51: Determine the service status of the corresponding service topology network based on the fiber characteristics of all fiber segments in the category;
[0091] In one implementation, the fiber optic features can be identified using a pre-trained fiber optic service identification model to obtain the service status of the fiber optic features. The service status can include the service type, service importance, and service risk of the fiber optic cable. The required services and their importance for the fiber optic segment can be determined based on the service status.
[0092] In one embodiment, the optical fiber service identification model may include an input layer, a shared feature identification network layer, and a multi-task output head. The input layer receives structured optical fiber features. The shared feature identification network layer, constructed based on a multilayer perceptron, identifies the optical fiber features to obtain shared learning features from multiple input tasks. The multi-task output head contains multiple output layers, each corresponding to an output service status. For example, one output layer may be set to output the service type, and another output layer may be set to output the service importance. The output layers in the multi-task output head can be configured based on the required output service status. Each output layer may contain a fully connected network, where the fully connected networks in each output layer are independent of each other, enabling each output layer to independently learn and output its corresponding task.
[0093] In one specific implementation, the training of the optical fiber service identification model may include: collecting several historical optical fiber features as training samples based on the above steps, wherein the service states of each of the historical optical fiber features are known, and adding corresponding labels to the historical optical fiber features according to the service states; performing supervised training using the historical optical fiber features with added labels; wherein the cross-entropy of the output results in each output layer of the multi-task output head with the corresponding service states in the labels is calculated as the loss; the loss of each output layer is weighted by the preset weights of each output layer to obtain the total loss of the optical fiber service identification model; and the optical fiber service identification model is updated using the total loss to finally obtain the trained optical fiber service identification model.
[0094] S52: Set the total polling time for the corresponding service topology network according to the service status;
[0095] Understandably, the total polling time of the service topology network is set according to the service status. If the service status is a specific service, such as the user served by the optical fiber segment is a hospital, or a factory that requires high automation, or the service in the service status is of high importance, then a longer total polling time can be set for the service topology network, thereby allowing more attention to the service topology network.
[0096] S53: Obtain all transmission optical paths in the service topology network;
[0097] In this embodiment, the transmission optical path includes two optical fiber devices as the starting point and the ending point, as well as the optical fiber devices and connecting optical fibers that pass between the starting point and the ending point.
[0098] Understandably, the acquisition of the transmission optical path can be based on each service network node in the service topology network, traversing downwards level by level to determine all transmission optical paths in the service topology network.
[0099] S54: Allocate optical path polling time to each transmission optical path in the service topology network according to the total polling time, and obtain the monitoring strategy of the service topology network.
[0100] In this embodiment, the optical path can be allocated a corresponding optical path polling time according to the optical fiber characteristics of each optical fiber segment included in the transmission optical path and the number of optical fiber segments included in the transmission optical path, and the sum of the optical path polling times of all the transmission optical paths does not exceed the total polling time.
[0101] In one implementation, an optical path state can be further set for the transmission optical path based on the fiber characteristics of the fiber segment. The optical path state can include the fiber importance of the fiber segment contained in the transmission optical path. Based on the optical path state and the number of fiber segments in the transmission optical path, the more important transmission optical paths in the service topology network can be identified, and longer optical path polling times can be set for the important transmission optical paths, thereby ensuring the stable operation of the important transmission optical paths.
[0102] In one embodiment, step S5 may further include setting a monitoring light wavelength for the corresponding service topology network according to the service status, and monitoring the service topology network based on the monitoring light wavelength. It is understood that different wavelengths of light have better anti-interference capabilities against specific noise. Therefore, by setting corresponding monitoring light wavelengths for specific services and using the monitoring light of the monitoring light wavelengths to monitor the service topology network, the monitoring accuracy of the service topology network can be effectively improved. In one embodiment, the monitoring device at the root node can emit multiple monitoring lights of different wavelengths, and by adjusting the state of the optical switches in the optical fiber network, the monitoring light of a specific wavelength can be emitted into the service topology network through the optical path formed by the corresponding optical switch state.
[0103] In this embodiment, fiber data of each fiber segment in the fiber network is extracted, and the fiber segments are classified using the fiber features corresponding to the fiber data. The potential correlation and importance between fiber segments are analyzed from the dimension of features, making the classification results of the fiber segments more accurate. Furthermore, a service topology network is constructed based on the classified categories. All fiber segments in the service topology network have higher correlation, which facilitates unified and accurate monitoring and management, and ultimately realizes full-area monitoring of the network formed by optical cables.
[0104] like Figure 3 As shown in the illustration, this application also provides a fiber optic cable comprehensive monitoring system. Optionally, the fiber optic cable comprehensive monitoring system may include:
[0105] The data acquisition module 11 is used to acquire fiber optic data from each fiber optic segment in the fiber optic network; the fiber optic segment is the connecting fiber between two fiber optic devices in the fiber optic network.
[0106] In this embodiment, the data acquisition module 11 can be used to perform... Figure 1 For a detailed description of the data acquisition module 11 shown in step S1, please refer to the description of step S1.
[0107] Feature extraction module 12 is used to extract features from the optical fiber data to obtain the optical fiber features of each optical fiber segment of the optical fiber network.
[0108] In this embodiment, the feature extraction module 12 can be used to perform... Figure 1 For a detailed description of the feature extraction module 12 shown in step S2, please refer to the description of step S2.
[0109] The classification module 13 is used to classify all optical fiber segments of the optical fiber network according to the characteristics of the optical fiber, and obtain the category of each optical fiber segment;
[0110] In this embodiment, the classification module 13 can be used to perform... Figure 1 For a detailed description of the classification module 13 shown in step S3, please refer to the description of step S3.
[0111] The topology network construction module 14 is used to construct several service topology networks of the optical fiber network according to the categories of all optical fiber segments of the optical fiber network.
[0112] In this embodiment, the topology network construction module 14 can be used to perform... Figure 1 For a detailed description of the topology network construction module 14 shown in step S4, please refer to the description of step S4.
[0113] The strategy configuration module 15 is used to configure a monitoring strategy for the service topology network according to the category, and to monitor the service topology network using the monitoring strategy;
[0114] In this embodiment, the policy configuration module 15 can be used to execute... Figure 1 For a detailed description of the policy configuration module 15 shown in step S5, please refer to the description of step S5.
[0115] This application provides an electronic device with the following structure: Figure 4 As shown.
[0116] The electronic device includes a memory 21, a processor 22, a communication module 23, and an input / output interface 24, etc. Optionally, the memory 21, the processor 22, the communication module 23, and the input / output interface 24 can be connected and communicate with each other through a bus 25.
[0117] The memory 21 is used to store one or more computer programs and to transfer the code of the computer programs to the processor 22; when the one or more computer programs are executed by the processor 22, a fiber optic cable full-area monitoring method is implemented in this embodiment of the application.
[0118] Optionally, the electronic device can be connected to a network via communication module 23 to communicate with other devices, such as terminals or servers, to achieve data interaction. The electronic device can be various forms of digital computers, exemplarily such as desktop computers, servers, workbenches, mainframes, or other types of computers. The electronic device can also be various forms of mobile terminals, exemplarily such as smartphones, tablets, wearable devices (such as helmets, glasses, watches, etc.), and other similar mobile terminals.
[0119] Optionally, the electronic device can connect to required input / output devices, such as a keyboard or display device, via the input / output interface 24. The electronic device itself may have a display device, and other display devices can also be connected externally via the input / output interface 24. Optionally, a storage device, such as a hard disk, can also be connected via the input / output interface 24 to store data from the electronic device, read data from the storage device, or store data from the storage device in the memory 21. It is understood that the input / output interface 24 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 24 can be a component of the electronic device or an external device connected to the electronic device when needed.
[0120] Optionally, the memory 21 may be a volatile memory and / or a non-volatile memory. The volatile memory may be a random access memory, etc., and the non-volatile memory may be a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, or a flash memory, etc.
[0121] Optionally, the computer program stored in the processor 22 can be divided into one or more modules, which are stored in the memory 21 and executed by the processor 22 to perform the method provided in this embodiment. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the electronic device.
[0122] Optionally, the processor 22 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 22 include, but are not limited to, a central processing unit, a graphics processing unit, a digital signal processor, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, and can also be any suitable controller, microcontroller, processor, etc. The processor 22 executes the various methods and processes of this embodiment, exemplarily, such as a fiber optic cable full-area monitoring method according to an embodiment of this application.
[0123] Optionally, the bus 25 may include a path for transmitting information. Depending on its function, the bus 25 may be divided into an address bus, a data bus, a control bus, etc.
[0124] In an optional implementation, this application embodiment also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the methods described in the above-described method embodiments. Part or all of the computer program can be loaded and / or installed on the memory 21 of an electronic device. When the computer program is executed by the processor 22, one or more steps of a fiber optic cable global monitoring method according to this application embodiment can be performed.
[0125] Optionally, the computer-readable storage medium may be a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc.
[0126] Obviously, the above embodiments of this application are merely examples for clearly illustrating the technical solution of this application, and are not intended to limit the specific implementation of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of this application should be included within the protection scope of the claims of this application.
Claims
1. An optical cable global monitoring method, characterized by, The method comprises: Collecting optical fiber data of each optical fiber section in an optical fiber network; the optical fiber section is a connecting optical fiber between two optical fiber devices in the optical fiber network; the optical fiber data comprises optical fiber parameter data and OTDR data; Encoding the optical fiber parameter data by embedding a feature encoder to obtain parameter features; Extracting features of the OTDR data by a pre-trained optical fiber feature extraction model to obtain OTDR features; Fusing the parameter features and the OTDR features to obtain optical fiber features; Mapping the optical fiber features of all the optical fiber sections to a preset feature space; Clustering the optical fiber features according to the distribution of the optical fiber features in the feature space to obtain a plurality of optical fiber feature clusters; Dividing the optical fiber sections corresponding to the optical fiber features in the same optical fiber feature cluster into the same category to obtain the categories of the optical fiber sections; Constructing a plurality of service topology networks of the optical fiber network according to the categories of all the optical fiber sections of the optical fiber network; Configuring a monitoring strategy for the service topology network according to the categories and monitoring the service topology network by using the monitoring strategy.
2. The method of claim 1, wherein, The collecting of the optical fiber data of each optical fiber section in the optical fiber network comprises: Constructing an optical fiber topology network of the optical fiber network and determining a root node of the optical fiber topology network; Obtaining subordinate connecting optical fibers of each optical fiber network node in the optical fiber topology network based on the root node; Collecting optical fiber data of the corresponding subordinate connecting optical fibers in the optical fiber network node to obtain optical fiber data corresponding to the optical fiber sections.
3. The method of claim 1, wherein, The construction of a plurality of service topology networks of the optical fiber network according to the categories of all the optical fiber sections of the optical fiber network comprises: Obtaining optical fiber devices associated with all the optical fiber sections in the categories; Taking the associated optical fiber devices as service network nodes and taking the connection relationship of the associated optical fiber devices in the optical fiber network as edges to construct a service topology network corresponding to the categories.
4. The method of claim 1, wherein, The configuration of a monitoring strategy for the service topology network according to the categories comprises: Determining service states of the corresponding service topology network according to the optical fiber features of all the optical fiber sections in the categories; Setting a total polling time for the corresponding service topology network according to the service states; Obtaining all transmission optical paths in the service topology network; the transmission optical path comprises two optical fiber devices as a starting point and a terminal point and optical fiber devices and connecting optical fibers passing between the starting point and the terminal point; Allocating optical path polling times for each transmission optical path in the service topology network according to the total polling time to obtain a monitoring strategy of the service topology network.
5. The method of claim 4, wherein, The configuration of a monitoring strategy for the service topology network according to the categories further comprises: Setting monitoring light wavelengths for the corresponding service topology network according to the service states and monitoring the service topology network based on the monitoring light wavelengths.
6. An optical cable global monitoring system characterized by comprising: The system comprises: A data collection module configured to collect optical fiber data of each optical fiber section in an optical fiber network; the optical fiber section is a connecting optical fiber between two optical fiber devices in the optical fiber network; the optical fiber data comprises optical fiber parameter data and OTDR data; The feature extraction module is configured to encode the optical fiber parameter data by using an embedded feature encoder to obtain parameter features; extract features of the OTDR data by using a pre-trained optical fiber feature extraction model to obtain OTDR features; and fuse the parameter features and the OTDR features to obtain the optical fiber features. The classification module is configured to map the optical fiber features of all the optical fiber sections to a preset feature space; cluster the optical fiber features according to the distribution of the optical fiber features in the feature space to obtain a plurality of optical fiber feature clusters; and divide the optical fiber sections corresponding to the optical fiber features in the same optical fiber feature cluster into the same category to obtain the categories of the optical fiber sections. The topology network construction module is configured to construct a plurality of service topology networks of the optical fiber network according to the categories of all the optical fiber sections of the optical fiber network. The strategy configuration module is configured to configure a monitoring strategy for the service topology networks according to the categories and monitor the service topology networks by using the monitoring strategy.
7. An optical cable global monitoring system according to claim 6, wherein, The construction of the plurality of service topology networks of the optical fiber network according to the categories of all the optical fiber sections of the optical fiber network includes: Obtaining optical fiber equipment associated with all the optical fiber sections in the categories; Taking the associated optical fiber equipment as service network nodes and taking the connection relationship of the associated optical fiber equipment in the optical fiber network as edges to construct the service topology network corresponding to the categories.
8. The optical cable global monitoring system of claim 6, wherein, The configuration of the monitoring strategy for the service topology networks according to the categories includes: Determining the service states of the corresponding service topology networks according to the optical fiber features of all the optical fiber sections in the categories; Setting a total polling time for the corresponding service topology networks according to the service states; Obtaining all transmission optical paths in the service topology networks; the transmission optical path includes two optical fiber equipment as a starting point and an ending point and optical fiber equipment and connection optical fibers passing between the starting point and the ending point; Allocating an optical path polling time for each transmission optical path in the service topology networks according to the total polling time to obtain the monitoring strategy of the service topology networks.
9. An electronic device, comprising: The computer readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to implement the optical cable global monitoring method according to any one of claims 1-5 when executed. The computer readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to implement the optical cable global monitoring method according to any one of claims 1-5 when executed. 10. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Multi-core optical cable fault on-line monitoring method based on optical fiber sensing technology
CN119814133A
Optical cable topology visual monitoring analysis system and method
CN120729734A