Optical fiber sensor network multiple fault protection method and system

By obtaining the spatiotemporal information of the fault in the optical fiber sensing network, determining whether it is a multiple fault, and choosing the protection channel to recover the fault is preferred, the problem of difficult to judge and restore multiple faults in the existing technology is solved, and the stability of the network and the normal operation of the measurement function is achieved.

CN119727890BActive Publication Date: 2025-06-06ZHEJIANG HUNTER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510230767.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-06-06
Estimated Expiration
2045-02-28

AI Technical Summary

Technical Problem

The prior art is difficult to effectively determine whether the network failures in the optical fiber sensing network are multiple failures, and when the priority is the same, it is difficult to ensure the rapid recovery of all failures.

Method used

By determining network failure information, obtaining the spatiotemporal information of the current fault and the previous fault, and determining whether it constitutes multiple faults. Then, select a protection channel to recover the previous failure, and then select a protection channel to recover the current failure to ensure the testing function of the distributed sensing system.

Benefits of technology

It realizes effective judgment and recovery of multiple faults in optical fiber sensing networks, ensuring the stability of the network and the normal operation of measurement functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727890B_ABST
    Figure CN119727890B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication technology, and in particular to a method and system for multiple fault protection of an optical fiber sensor network, the method comprising: step one: determining network fault information, and obtaining time and space information of a current fault and a previous fault; step two: judging whether multiple faults occur in the current optical fiber network according to the obtained time and space information judgment result, if yes, proceeding to step three; otherwise, proceeding to step six; step three: identifying path information of a protection ring used to restore a previous fault; step four: identifying path information of a working channel of the current fault, and returning the overlap; step five: if the current fault affects the data transmission of the working path after the previous fault is restored, selecting a new protection ring to restore the working path of the previous fault; step six: after determining that the protection operation of the previous fault is completed, selecting a protection channel for the current fault to implement switching according to the protection rule or priority preset by the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and system for multiple fault protection of an optical fiber sensor network. Background Art

[0002] Fiber optic communication is widely used in various fields due to its high speed and efficiency, such as power communication systems, mobile phone communication systems, distributed fiber optic sensing systems, etc. Distributed fiber optic sensing system is a sensing technology that uses optical fiber as a sensing element and signal transmission medium, and realizes sensing based on the scattering, interference and other effects generated when light propagates in the optical fiber. When the environmental parameters of the optical fiber, such as temperature, strain, vibration, etc., change, it will cause changes in the phase, amplitude, frequency or polarization state of the light in the optical fiber. By detecting the changes in these optical characteristics, information about the physical quantity to be measured can be obtained.

[0003] Common methods for fault recovery in optical fiber communication networks include: Optical Line Protection (OLP): Protect the working fiber with protection fiber through dual transmission and selective reception (1+1) or selective transmission and selective reception (1:1). When the working fiber fails, the service can be quickly switched to the protection fiber. Optical Multiplex Section Protection (OMSP), located between the wavelength combiner and demultiplexer or OAD, implements protection by dividing the optical signal into two paths (working path and protection path) at the transmitting end and performing preferential reception at the receiving end. Optical Channel Protection (OCh): Focuses on the protection of a single wavelength channel. Through the concurrent selective reception function of the OLP board, the customer signal is sent to different OTUs (optical forwarding units) in parallel to achieve redundancy between services on different wavelength channels. ODUk SNCP protection: Use electrical layer cross-linking (cross-linking particles are ODUk) for dual transmission and selective reception, and trigger switching through alarms reported by the OTN overhead to protect the line board and subsequent units. Among them, the protection ring uses the idle links in the mesh network to generate a preset ring. Its recovery strategy is determined in advance, so it has a very fast recovery speed. The idle capacity consumed by the protection ring is roughly equivalent to the idle capacity consumed by the original span recovery. It combines the advantages of ring network and mesh network in recovery and has broad application prospects in the protection and recovery of mesh networks.

[0004] In reality, we are also faced with the following problems: how to determine whether the previous and subsequent network failures are multiple failures; how to ensure that the previous and subsequent failures can be effectively recovered when the priorities are the same; and what is the response strategy when the existing priority rules and recovery rules cannot guarantee the rapid recovery of the previous and subsequent failures. Summary of the invention

[0005] The present invention can determine whether the previous fault and the current fault in the optical fiber sensor network can constitute multiple network faults. If they can constitute multiple faults, a protection channel is preferentially selected to restore the previous fault; then, another protection channel is selected to restore the current fault, thereby ensuring the test function of the distributed sensor system.

[0006] The technical solution proposed by the present invention is: a method for multiple fault protection of an optical fiber sensor network, the method comprising:

[0007] Step 1: Determine network fault information and obtain the temporal and spatial information of the current fault and the previous fault; the previous fault is a network communication fault that has occurred before the current fault but has not been repaired;

[0008] Step 2: judging whether multiple faults occur in the current optical fiber network according to the obtained spatiotemporal information, if yes, proceed to step 3; otherwise, proceed to step 6;

[0009] Step 3: Obtain the protection operation record of the corresponding communication line after the previous fault occurs, and identify the path information of the protection ring used to restore the previous fault;

[0010] Step 4: Before the protection operation of the current fault is performed, identify the path information of the working channel of the current fault, determine whether the path of the working channel of the current fault is located in the protection ring of the previous fault, return the overlap degree, and determine whether the current fault affects the data transmission of the working path after the previous fault is restored;

[0011] Step 5: If the current fault affects the data transmission of the working path after the previous fault is restored, a new protection ring is selected to restore the working path of the previous fault;

[0012] Step 6: After the previous fault protection operation is completed, a protection channel is selected for the current fault to implement switching according to the protection rules or priorities preset by the network; specifically:

[0013] Determine whether the working path affected by the previous fault has been repaired. If so, select a protection channel for switching for the current fault according to the preset protection rules or priorities of the network; otherwise, obtain the working path information of the previous fault, adjust the preset protection rules, and select a new protection channel for switching for the current fault according to the new protection rules, thereby ensuring the measurement function of the optical fiber sensor network.

[0014] Preferably, the determining of network fault information and obtaining the temporal and spatial information of the current fault and the previous fault includes:

[0015] Collect the communication data of the optical fiber communication network according to the preset collection frequency to determine whether a communication failure occurs in the network;

[0016] If it is determined that a communication failure occurs in the network, the communication failure occurring in the current collection cycle is defined as the current failure; the communication failure occurring before the current collection cycle is defined as the previous failure;

[0017] Get the time when the current fault occurs and the coordinates of the location where the event occurred , get the occurrence time of the previous fault and the coordinates of the place where the incident occurred ;

[0018] The determining whether multiple faults occur in the current optical fiber network according to the acquired time-space information includes:

[0019] Determine coordinates and Whether the protection channels are in the same protection ring; if so, calculate the time interval between the current fault and the previous fault ;

[0020] if , then it is judged that the current fault and the previous fault constitute multiple network faults, and it is considered that multiple faults occur in the communication network; among them, is the maximum recovery time of the communication link of the optical fiber communication network;

[0021] if , then it is determined that the current fault and the previous fault do not constitute multiple network faults.

[0022] Preferably, the step of obtaining the protection operation record of the corresponding communication line after the occurrence of the prior fault and identifying the path information of the protection ring used to restore the prior fault includes:

[0023] Determining that a switchover was triggered after a prior failure of the optical fiber communication network;

[0024] Acquire the protection ring information selected by the communication network for recovering the previous fault; specifically: query from a preset protection ring database or use a preset dynamic routing algorithm;

[0025] Extract the number of nodes in the protection ring, the fiber data transmission method, and the data transmission time from the sending node to the receiving node from the protection ring information ;

[0026] Determine whether the data transmission time meets the network delay time requirements, and if satisfied, the currently selected protection ring is used;

[0027] Otherwise, reselect the protection ring and calculate the data transmission time from the sending node to the receiving node of the new protection ring. ;if , then, use the corresponding new protection ring.

[0028] Preferably, the reselecting a protection ring includes:

[0029] Read network topology, link delays and current protection ring configurations of a fiber optic communication network;

[0030] Calculate the total transmission delay of the current protection ring and check whether it meets the timeliness requirement, that is, whether the total transmission delay of the current protection ring is less than the network delay time;

[0031] Based on the network topology of the optical fiber communication network, candidate protection rings that meet the timeliness requirements are screened out, and a protection ring with the smallest total transmission time is selected from all candidate protection rings as a new protection ring;

[0032] Returns the new protection ring configuration and the corresponding total transmission delay.

[0033] Preferably, the path information of the working channel of the current fault is identified, and it is determined whether the path of the working channel of the current fault is located within the protection ring of the previous fault, and the overlap degree is returned;

[0034] Collect detailed status information 1 of the working path when the current fault occurs, including node information 1, link status 1, and traffic distribution 1;

[0035] Collecting detailed status information 2 of the protection ring selected for recovering the previous failure, including node information 2, link status 2 and traffic distribution 2;

[0036] Compare node information 1 and node information 2, traffic distribution 1 and traffic distribution 2, and calculate the overlap between detailed status information 1 and detailed status information 2; specifically:

[0037] Calculate the similarity between node information 1 and node information 2 , the similarity between traffic distribution 1 and traffic distribution 2 ;Coincidence ,in, are the weights of similarity one and similarity two respectively;

[0038] Determine whether the fault manifestation of the current fault is consistent with the fault manifestation of the previous fault, wherein the fault manifestation includes signal loss and increased bit error rate;

[0039] If yes, determine whether the network topology at the time of the current fault has changed relative to the network topology after the previous fault occurred;

[0040] If not, it is determined that the current fault affects data transmission on the working path after the previous fault is recovered.

[0041] Preferably, the current fault affects data transmission of a working path after recovery from a previous fault, and a new protection ring is selected to recover the working path from the previous fault, including:

[0042] Compare With the preset threshold ,if , it is judged that the overlap degree meets the preset threshold condition;

[0043] Obtain the network topology when the current fault occurs, extract the overlapping node information in the node information 1 and the node information 2, and identify the starting point and the end point of the protection ring used to restore the previous fault from the overlapping node information;

[0044] Based on the network topology information, a new protection ring is selected to recover from the previous failure; specifically:

[0045] The shortest distance from the starting point of the protection ring to each node in the protection ring for recovering the previous fault is stored in the dictionary one;

[0046] The predecessor node of each node in the protection ring is stored through dictionary 2 so as to reconstruct the path;

[0047] The nodes in the protection ring to be processed and the corresponding shortest distances form a priority sequence;

[0048] Sequentially take out the node with the shortest distance to the predecessor node from the priority sequence, traverse all the adjacent nodes of the taken out node, and calculate the distance D from the taken out node to the adjacent node; if D is less than the known shortest distance, use the adjacent node to replace the taken out node and store it in the priority sequence;

[0049] Tracing back from the end point of the protection ring until returning to the starting point of the protection ring, and constructing a new protection ring with the shortest data transmission distance;

[0050] The previous failure is recovered through the new protection ring.

[0051] Preferably, after the prior fault protection operation is completed, selecting a protection channel for the current fault to implement switching according to a protection rule or priority preset by the network includes:

[0052] Detect the communication data of the new protection ring to determine whether the impact of the previous fault has been eliminated;

[0053] Check whether the optical fiber line of the original working path of the previous failure is repaired;

[0054] If it has been repaired, a protection channel is selected for the current fault to implement switching according to the protection rules or priorities preset in the network.

[0055] Preferably, the obtaining of the working path information of the previous fault, adjusting the preset protection rule, and selecting a new protection path for the current fault to perform switching according to the new protection rule includes:

[0056] If it is determined that the faulty line of the previous fault has not been repaired, obtain the coordinates of the second location where the previous fault occurred , obtain all network node information in the adjacent area of ​​the previous fault location;

[0057] Update the network topology after the current fault occurs, specifically, obtain the network nodes in the adjacent area of ​​the second location where the previous fault occurs and the closest to the second location where the previous fault occurs, and arrange them in order of distance from low to high to form a special network node sequence;

[0058] Obtain the network traffic distribution information before the previous fault occurs, and extract the network traffic distribution characteristics at the location where the previous fault occurs, including the maximum traffic value, the minimum traffic value, and the target node to which the maximum traffic flows;

[0059] If the special network node sequence includes a target node to which the maximum flow flows, the corresponding target node is marked in the current network topology;

[0060] Adjust the preset protection rule, specifically, the selected new protection channel does not include the marked target node;

[0061] According to the new protection rule, a new protection channel is selected for the current fault to perform switching.

[0062] The present invention also provides a fiber optic sensor network multiple fault protection system, and the system is used to execute the fiber optic sensor network multiple fault protection method.

[0063] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the optical fiber sensor network multiple fault protection method.

[0064] Beneficial effects of the present invention:

[0065] 1. The present invention can determine whether the previous fault and the current fault in the communication network can constitute multiple network faults. If they can constitute multiple faults, a protection channel is preferentially selected to restore the previous fault; then, another protection channel is selected to restore the current fault.

[0066] 2. In the present invention, if the current fault occurs on a working path that was not selected for the previous fault, it is necessary to determine whether the current fault affects the data transmission of the working path. If it does not affect the data transmission, the existing working path (the protection ring used to restore the previous fault) is kept unchanged, and a new protection path is selected to restore the current fault. Otherwise, two protection paths are selected to restore the previous fault and the current fault respectively.

[0067] 3. When selecting a protection channel for a current fault and a previous fault, the present invention adjusts the network topology, the protection rules and priority rules preset by the network according to whether the previous fault line is repaired, and uses the new protection rules and priority rules to select a protection channel for the current fault and the previous fault, thereby ensuring the measurement function of the distributed optical fiber sensing system. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 The present invention is a flowchart of a method for protecting multiple faults in an optical fiber sensor network. DETAILED DESCRIPTION

[0069] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0070] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.

[0071] refer to Figure 1 The technical solution provided by the present invention is: a method for multiple fault protection of optical fiber sensor network, comprising the following steps:

[0072] Step 1: Determine the network fault information and obtain the time and space information of the current fault and the previous fault; the previous fault is the network communication fault that has occurred before the current fault but has not been repaired. Specifically, the following steps are included:

[0073] According to the preset collection frequency, the communication data of the optical fiber communication network is collected to determine whether a communication failure occurs in the network.

[0074] If it is determined that a communication failure occurs in the network, the communication failure occurring in the current collection cycle is defined as a current failure; the communication failure occurring before the current collection cycle is defined as a prior failure.

[0075] Get the time when the current fault occurs and the coordinates of the location where the event occurred , get the occurrence time of the previous fault and the coordinates of the place where the incident occurred .

[0076] Step 2: Determine whether multiple faults occur in the current optical fiber network based on the obtained spatiotemporal information, including:

[0077] Determine coordinates and Whether the protection channels are in the same protection ring; if so, calculate the time interval between the current fault and the previous fault ;

[0078] if , then it is judged that the current fault and the previous fault constitute multiple network faults, and it is considered that multiple faults occur in the communication network; among them, is the maximum recovery time of the communication link of the optical fiber communication network;

[0079] if , then it is determined that the current fault and the previous fault do not constitute multiple network faults.

[0080] If it is determined that multiple faults occur in the communication network, proceed to step three; otherwise, proceed to step six.

[0081] Step 3: Obtain the protection operation record of the corresponding communication line after the previous fault occurs, identify the path information of the protection ring used to restore the previous fault, and add identification mark 1 to the corresponding path information. Specifically, the following steps are included:

[0082] Determining that a switchover was triggered after a prior failure of the optical fiber communication network;

[0083] Obtaining the protection ring information selected by the communication network for recovering the previous fault; specifically, the information may be queried from a preset protection ring database or by using a preset dynamic routing algorithm;

[0084] Extract the number of nodes in the protection ring, the fiber data transmission method, and the data transmission time from the sending node to the receiving node from the protection ring information ;

[0085] Determine whether the data transmission time meets the network delay time requirements, and if satisfied, the currently selected protection ring is used;

[0086] Otherwise, reselect the protection ring, specifically:

[0087] Read the network topology, link delay and current protection ring configuration of the optical fiber communication network; calculate the total transmission delay of the current protection ring and check whether it meets the timeliness requirements, that is, whether the total transmission delay of the current protection ring is less than the network delay time; based on the network topology of the optical fiber communication network, screen out candidate protection rings that meet the timeliness requirements, and select the protection ring with the smallest total transmission time from all candidate protection rings as the new protection ring; return the new protection ring configuration and the corresponding total transmission delay.

[0088] In this embodiment, the data transmission time from the sending node to the receiving node of the new protection ring can be calculated. ;if , then use the corresponding new protection ring.

[0089] Step 4: Before the protection operation of the current fault is executed, identify the path information of the working channel of the current fault, and add identification mark 2 to the corresponding path information; determine whether the path of the working channel of the current fault is located in the protection ring of the previous fault, and whether the current fault affects the data transmission of the working path after the previous fault is restored, and return the overlap. It includes the following steps:

[0090] Collect detailed status information 1 of the working path when the current fault occurs, including node information 1, link status 1, and traffic distribution 1;

[0091] Collecting detailed status information 2 of the protection ring selected for recovering the previous failure, including node information 2, link status 2 and traffic distribution 2;

[0092] Compare node information 1 and node information 2, traffic distribution 1 and traffic distribution 2, and calculate the overlap between detailed status information 1 and detailed status information 2; specifically:

[0093] Calculate the similarity between node information 1 and node information 2 , the similarity between traffic distribution 1 and traffic distribution 2 ;Coincidence ,in, are the weights of similarity one and similarity two respectively; comparison With the preset threshold ,if , it is judged that the overlap degree meets the preset threshold condition; it is judged that the path of the working channel of the current fault is located in the protection ring of the previous fault.

[0094] In this embodiment, matching node information in node information one and node information two includes matching node names and the flow direction of node data, obtaining the number of nodes with the same data flow direction; calculating the ratio of nodes with the same data flow direction to the total nodes of the protection ring, and using this ratio as similarity one.

[0095] Matching traffic distribution 1 and traffic distribution 2 includes matching the receiving traffic of the node and the sending traffic of the node, and obtaining features such as the maximum receiving traffic, the minimum receiving traffic, the maximum traffic path, and the minimum traffic path;

[0096] The number of nodes with similar receiving traffic and sending traffic is obtained, the ratio of the corresponding number of nodes to the total number of nodes in the protection ring is calculated, and this ratio is used as the second similarity.

[0097] After obtaining the repeatability, it is necessary to further determine whether the fault manifestation of the current fault is consistent with the fault manifestation of the previous fault, which includes signal loss and increased bit error rate; if the types of the two faults are completely different, for example, one is a physical fault caused by a fiber break, and the other is a logical fault caused by a device configuration error, then their manifestations will naturally be significantly different. In this case, it cannot be determined that the current fault will affect the protection effect of the protection ring on the previous fault simply because the working path where the current fault is located is within the protection ring of the previous fault. Avoid performing the operation of selecting the protection channel again.

[0098] If the fault manifestations of the two faults are consistent, determine whether the network topology when the current fault occurs has changed relative to the network topology after the previous fault occurs; if not, determine whether the current fault affects the data transmission of the working path after the previous fault is recovered, where the working path is within the protection ring selected by the system to recover the previous fault.

[0099] If the fault manifestations of two faults are inconsistent, and the network topology changes after the first fault occurs.

[0100] We only select a protection channel for the current fault to recover, and do not adjust the working path after the previous fault is recovered. This reduces unnecessary recovery operations of the system.

[0101] Alternatively, the existing priority judgment rules are used to select a higher priority fault (current fault or previous fault) for recovery.

[0102] Step 5: If the current fault affects the data transmission of the working path after the previous fault is restored, a new protection ring is selected to restore the working path of the previous fault, which specifically includes the following steps:

[0103] Obtain the network topology when the current fault occurs, extract the overlapping node information in the node information 1 and the node information 2, and identify the starting point and the end point of the protection ring used to restore the previous fault from the overlapping node information;

[0104] Based on the network topology information, a new protection ring is selected to recover from the previous failure. Specifically:

[0105] The shortest distance from the starting point of the protection ring used to restore the previous fault to each node in the protection ring is stored in the dictionary one;

[0106] The predecessor node of each node in the protection ring is stored through dictionary 2 so as to reconstruct the path;

[0107] The nodes in the protection ring to be processed and the corresponding shortest distances form a priority sequence;

[0108] Take out the node with the shortest distance to the predecessor node from the priority sequence in turn, traverse all the adjacent nodes of the taken out node, and calculate the distance D from the taken out node to the adjacent node; if D is less than the shortest distance, use the adjacent node to replace the taken out node and store it in the priority sequence;

[0109] The protection ring is traced back from the end point until it returns to the starting point of the protection ring, thereby constructing a new protection ring with the shortest data transmission distance. The affected prior fault is preferentially restored through the new protection ring.

[0110] For example, the protection ring 1 of the previous failure is node A-node B-node C-node D, where nodes B and C are in the working path of the current failure and affect the data transmission (transmission speed and transmission delay) of protection ring 1. It is necessary to reselect the protection ring. Node E and node F are on the path from node A (starting point) to node D (end point), and node G is an adjacent node. Therefore, there are candidate paths 1: node A-node E-node F-node D, candidate path 2: node A-node E-node G-node D, and candidate path 3: node A-node F-node G-node D.

[0111] If the length of the path obtained by calculating the candidate path 2 through the above steps is the shortest, then the candidate path 2 is selected as the new protection ring.

[0112] Step 6: After the previous fault protection operation is completed, a protection channel is selected for the current fault to implement switching according to the protection rules or priorities preset by the network; specifically:

[0113] If it is determined that the faulty line of the previous fault has been repaired, a protection channel is selected for switching for the current fault according to the protection rules or priorities preset in the network.

[0114] If it is determined that the faulty line of the previous fault has not been repaired, then:

[0115] Get the coordinates of the second location where the previous fault occurred , obtain all network node information in the adjacent area of ​​the previous fault location;

[0116] Update the network topology after the current fault occurs, specifically, obtain the network nodes in the adjacent area of ​​the second location where the previous fault occurs and the closest to the second location where the previous fault occurs, and arrange them in order of distance from low to high to form a special network node sequence;

[0117] Obtain the network traffic distribution information before the prior fault occurs, extract the network traffic distribution characteristics at the location where the prior fault occurs, including the maximum traffic value, the minimum traffic value and the target node to which the maximum traffic flows; if the special network node sequence includes the target node to which the maximum traffic flows, mark the corresponding target node in the current network topology; adjust the preset protection rules, specifically, the selected new protection channel does not include the marked target node; select a new protection channel for switching for the current fault according to the new protection rules.

[0118] For example, in a distributed fiber optic sensing system, a laser emits a laser pulse signal into the sensing fiber as a detection signal. When the optical signal is transmitted in the optical fiber, it interacts with the fiber molecules and generates scattering. The backscattered light generated in the optical fiber, including Rayleigh scattered light, Raman scattered light, and Brillouin scattered light, will return to the measuring instrument along the optical fiber. The measuring instrument receives and detects this backscattered light through devices such as photodetectors.

[0119] When a distributed optical fiber sensing system fails, the updated network topology after the current failure is obtained, and the two nodes connected to the failed optical fiber are determined based on the network topology. The network topology diagram records the connection relationship and node information of all optical fibers. By querying the diagram, the start and end nodes of the failed optical fiber can be found.

[0120] By analyzing the network traffic distribution information before the previous failure, that is, the optical signal distribution information, the transmission path and distribution characteristics of the optical signal in different optical fibers are obtained. When an optical fiber fails, the optical signal it originally carried will disappear or change abnormally. By monitoring the changes in the optical signal, the location of the faulty optical fiber and the nodes connected at both ends can be further confirmed.

[0121] Find a spare fiber with sufficient bandwidth and free capacity in the fiber network to ensure that the newly selected fiber can meet the transmission needs of the faulty fiber. At the same time, the new fiber line covers the measurement point of the original faulty fiber. Use the optical path configuration device to establish a new optical path connection between the determined transmitting end and receiving end to restore the faulty line.

[0122] The present invention also provides a fiber optic sensor network multiple fault protection system, and the system is used to execute the fiber optic sensor network multiple fault protection method.

[0123] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the optical fiber sensor network multiple fault protection method.

[0124] In the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. The embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above functions defined in the method of the present application are executed. It should be noted that the computer-readable medium mentioned above in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, electrical wire, optical cable, RF, etc., or any suitable combination of the foregoing.

[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0126] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functions and structural principles of the present invention have been demonstrated and explained in the embodiments. Without departing from the principles, the implementation methods of the present invention may be subject to any changes or modifications.

Claims

1. A method for protecting a fiber optic sensor network from multiple faults, characterized in that: The method comprises: Step 1: Determine network fault information and obtain the temporal and spatial information of the current fault and the previous fault; the previous fault is a network communication fault that has occurred before the current fault but has not been repaired; Step 2: judging whether multiple faults occur in the current optical fiber network according to the obtained spatiotemporal information, if yes, proceed to step 3; otherwise, proceed to step 6; Step 3: Obtain the protection operation record of the corresponding communication line after the previous fault occurs, and identify the path information of the protection ring used to restore the previous fault; Step 4: Before the protection operation of the current fault is performed, identify the path information of the working channel of the current fault, determine whether the path of the working channel of the current fault is located in the protection ring of the previous fault, return the overlap degree, and determine whether the current fault affects the data transmission of the working path after the previous fault is restored; Step 5: If the current fault affects the data transmission of the working path after the previous fault is restored, a new protection ring is selected to restore the working path of the previous fault; Step 6: After the previous fault protection operation is completed, a protection channel is selected for the current fault to implement switching according to the protection rules or priorities preset by the network; specifically: Determine whether the working path affected by the previous fault has been repaired. If so, select a protection channel for switching for the current fault according to the preset protection rules or priorities of the network; otherwise, obtain the working path information of the previous fault, adjust the preset protection rules, and select a new protection channel for switching for the current fault according to the new protection rules, thereby ensuring the measurement function of the optical fiber sensor network.

2. A method for multiple fault protection of optical fiber sensor network according to claim 1, characterized in that: The determining of network fault information and obtaining the temporal and spatial information of the current fault and the previous fault includes: Collect communication data of the optical fiber communication network according to the preset collection frequency to determine whether a communication failure occurs in the network; If it is determined that a communication failure occurs in the network, the communication failure occurring in the current collection cycle is defined as the current failure; the communication failure occurring before the current collection cycle is defined as the previous failure; Get the time when the current fault occurs and the coordinates of the location where the event occurred , get the occurrence time of the previous fault and the coordinates of the place where the incident occurred ; The determining whether multiple faults occur in the current optical fiber network according to the acquired time-space information includes: Determine coordinates and Whether the protection channels are in the same protection ring; if so, calculate the time interval between the current fault and the previous fault ; if , then it is judged that the current fault and the previous fault constitute multiple network faults, and it is considered that multiple faults occur in the communication network; among them, is the maximum recovery time of the communication link of the optical fiber communication network; if , then it is determined that the current fault and the previous fault do not constitute multiple network faults.

3. A method for multiple fault protection of optical fiber sensor network according to claim 2, characterized in that: The step of obtaining the protection operation record of the corresponding communication line after the occurrence of the prior fault and identifying the path information of the protection ring used to restore the prior fault includes: Determining that a switchover was triggered after a prior failure of the optical fiber communication network; Acquire the protection ring information selected by the communication network for recovering the previous fault; specifically: query from a preset protection ring database or use a preset dynamic routing algorithm; Extract the number of nodes in the protection ring, the fiber data transmission method, and the data transmission time from the sending node to the receiving node from the protection ring information ; Determine whether the data transmission time meets the network delay time requirements, and if satisfied, the currently selected protection ring is used; Otherwise, reselect the protection ring and calculate the data transmission time from the sending node to the receiving node of the new protection ring. ;if , then, use the corresponding new protection ring.

4. A method for multiple fault protection of optical fiber sensor network according to claim 3, characterized in that: The reselecting of the protection ring comprises: Read network topology, link delays and current protection ring configurations of a fiber optic communication network; Calculate the total transmission delay of the current protection ring and check whether it meets the timeliness requirement, that is, whether the total transmission delay of the current protection ring is less than the network delay time; Based on the network topology of the optical fiber communication network, candidate protection rings that meet the timeliness requirements are screened out, and a protection ring with the smallest total transmission time is selected from all candidate protection rings as a new protection ring; Returns the new protection ring configuration and the corresponding total transmission delay.

5. A method for multiple fault protection of optical fiber sensor network according to claim 4, characterized in that: The path information of the working channel of the current fault is identified, and whether the path of the working channel of the current fault is located within the protection ring of the previous fault is determined, and the overlap degree is returned; Collect detailed status information 1 of the working path when the current fault occurs, including node information 1, link status 1, and traffic distribution 1; collecting detailed status information 2 of the protection ring selected for recovering the previous failure, including node information 2, link status 2 and traffic distribution 2; Compare node information 1 and node information 2, traffic distribution 1 and traffic distribution 2, and calculate the overlap between detailed status information 1 and detailed status information 2; specifically: Calculate the similarity between node information 1 and node information 2 , the similarity between traffic distribution 1 and traffic distribution 2 ;Coincidence ,in, are the weights of similarity one and similarity two respectively; Determine whether the fault manifestation of the current fault is consistent with the fault manifestation of the previous fault, wherein the fault manifestation includes signal loss and increased bit error rate; If yes, determine whether the network topology at the time of the current fault has changed relative to the network topology after the previous fault occurred; If not, it is determined that the current fault affects data transmission on the working path after the previous fault is recovered.

6. A method for multiple fault protection of optical fiber sensor network according to claim 5, characterized in that: The current fault affects data transmission of a working path after recovery from a previous fault, and a new protection ring is selected to recover the working path from the previous fault, including: Compare With the preset threshold ,if , it is judged that the overlap degree meets the preset threshold condition; Obtain the network topology when the current fault occurs, extract the overlapping node information in the node information 1 and the node information 2, and identify the starting point and the end point of the protection ring used to restore the previous fault from the overlapping node information; Based on the network topology information, a new protection ring is selected to recover from the previous failure; specifically: The shortest distance from the starting point of the protection ring to each node in the protection ring for recovering the previous fault is stored in the dictionary one; The predecessor node of each node in the protection ring is stored through dictionary 2 so as to reconstruct the path; The nodes in the protection ring to be processed and the corresponding shortest distances form a priority sequence; Sequentially take out the node with the shortest distance to the predecessor node from the priority sequence, traverse all the adjacent nodes of the taken out node, and calculate the distance D from the taken out node to the adjacent node; if D is less than the known shortest distance, use the adjacent node to replace the taken out node and store it in the priority sequence; Tracing back from the end point of the protection ring until returning to the starting point of the protection ring, and constructing a new protection ring with the shortest data transmission distance; The previous failure is recovered through the new protection ring.

7. A method for multiple fault protection of optical fiber sensor network according to claim 6, characterized in that: After the prior fault protection operation is completed, a protection channel is selected for the current fault to implement switching according to a protection rule or priority preset by the network, including: Detect the communication data of the new protection ring to determine whether the impact of the previous fault has been eliminated; Check whether the optical fiber line of the original working path of the previous failure is repaired; If it has been repaired, a protection channel is selected for the current fault to implement switching according to the protection rules or priorities preset in the network.

8. A method for multiple fault protection of optical fiber sensor network according to claim 7, characterized in that: The obtaining of the working path information of the previous fault, adjusting the preset protection rule, and selecting a new protection path for the current fault to perform switching according to the new protection rule, includes: If it is determined that the faulty line of the previous fault has not been repaired, obtain the coordinates of the second location where the previous fault occurred , obtain all network node information in the adjacent area of ​​the previous fault location; Update the network topology after the current fault occurs, specifically, obtain the network nodes in the adjacent area of ​​the second location where the previous fault occurs and the closest to the second location where the previous fault occurs, and arrange them in order of distance from low to high to form a special network node sequence; Obtain the network traffic distribution information before the previous fault occurs, and extract the network traffic distribution characteristics at the location where the previous fault occurs, including the maximum traffic value, the minimum traffic value, and the target node to which the maximum traffic flows; If the special network node sequence includes a target node to which the maximum flow flows, the corresponding target node is marked in the current network topology; Adjust the preset protection rule, specifically, the selected new protection channel does not include the marked target node; According to the new protection rule, a new protection channel is selected for the current fault to perform switching.

9. A fiber optic sensor network multiple fault protection system, characterized in that: The system is used to execute a multiple fault protection method for an optical fiber sensor network as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement a method for multiple fault protection of an optical fiber sensor network as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Methods and apparatuses for handling multiple failures in an optical network

    CN101755416A

  • Method for restoring fault, communication node and network

    JP2007049336A