1 +1 type optical line protection switching method, device, equipment and medium

By calculating the received optical power difference of the main and backup optical fiber and selecting the target optical fiber with the best choice, the problem of the inability to switch between the optical fiber in the prior art is solved, and the transmission quality of the communication signal is improved.

CN120034251AInactive Publication Date: 2025-05-23BEIJING HUAHUAN ELECTRONICS

Patent Information

Application Number
CN202510520313.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-05-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing main and backup fiber switching mechanism cannot perform optimal switching when the fiber is deteriorated, resulting in the impact of the communication signal transmission quality.

Method used

By obtaining the received optical power values ​​of the main and backup optical fibers, the main and backup optical power difference is calculated. When the difference is greater than the set threshold value, the target optical fiber with good transmission quality is selected to switch.

Benefits of technology

In the case of deterioration of optical fiber, the working fiber is switched with the best choice, and the transmission quality of communication signals is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034251A_ABST
    Figure CN120034251A_ABST
Patent Text Reader

Abstract

The invention provides a 1 + 1 type optical line protection switching method and device, equipment and a medium, and relates to the technical field of optical line protection. The method is applied to the optical line protection equipment, and the optical line protection equipment comprises an optical power detection module and an optical splitter. The method comprises the following steps: acquiring receiving optical power values of a main optical fiber and a standby optical fiber; obtaining a main and standby optical power difference value according to the receiving optical power value of the main optical fiber and the receiving optical power value of the standby optical fiber; when the main and standby optical power difference value is greater than a first threshold value, a target optical fiber is preferentially selected from the main optical fiber and the standby optical fiber based on the received optical power value; and when the target optical fiber is inconsistent with the current working optical fiber, sending an optical fiber switching instruction. According to the method, whether the optical fiber has a degradation fault is identified according to the difference value of the optical power values received by the main and standby optical fibers, and the optimal working optical fiber is selected based on the degradation degree under the condition that the optical fiber is determined to be degraded, so that the transmission quality of communication signals is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical line protection technology, and in particular to a 1+1 type optical line protection switching method, device, equipment and medium. Background Art

[0002] In existing wavelength division multiplexing systems, in order to realize the automatic protection capability of the system when the optical fiber line is unsafe (such as optical fiber breakage), OLP (Optical Line Protection) equipment is usually used to automatically switch the working line to the backup line to ensure uninterrupted business and enhance system stability.

[0003] The 1+1 type OLP protection switching mode mainly adopts the dual-transmit selective reception protection mode, such as Figure 1 As shown in the figure, the transmit optical power of the Tx port is distributed to the T1 and T2 ports through the splitter (50:50 or other splitting ratio), and is transmitted to the other end along the primary and backup optical fibers at the same time. The receiving end detects the optical power of R1 and R2. The splitter ratio is used to achieve that the power of R1 and R2 at the receiving end are basically consistent, and the default operation starts in the primary optical fiber. According to the comparison between the power detection result and the set switching conditions, the working path connected to Rx is selected. The switching trigger does not require the transceiver to transmit the information of the APS (Automatic Protection Switching) automatic protection switching protocol to each other, so the switching time is fast and the stability is good.

[0004] The existing master-slave fiber switching mechanism is to switch to the backup fiber when the received optical power of the main fiber is lower than the LOS (Loss of Signal) threshold. However, there are some problems in the master-slave fiber switching process. For example, when the optical power LOS (Loss of Signal) threshold is set relatively low, switching will only occur when the line fiber is broken, and switching cannot be performed when the main fiber is degraded; when the optical power LOS threshold is set relatively high, although switching can occur when the main fiber is degraded, it is easy to cause frequent switching or wrong switching problems, such as triggering line switching due to some interference. That is, in response to the problem of fiber degradation, the existing master-slave fiber switching mechanism cannot switch preferentially, thereby affecting the transmission quality of communication signals. Summary of the invention

[0005] The present invention provides a 1+1 type optical line protection switching method, device, equipment and medium, which are used to solve the defect in the prior art that the primary and standby optical fibers cannot be preferentially switched according to the problem of optical fiber degradation, and ensure the transmission quality of communication signals.

[0006] The present invention provides a 1+1 type optical line protection switching method, which is applied to an optical line protection device. The optical line protection device includes an optical power detection module and an optical splitter. The optical splitter is used to distribute the signal from the sending end to the primary optical fiber and the standby optical fiber with the aim of equalizing the received optical power values of the primary optical fiber and the standby optical fiber. The method includes the following steps.

[0007] Obtain the received optical power values of the primary optical fiber and the standby optical fiber; According to the received optical power value of the primary optical fiber and the received optical power value of the standby optical fiber, obtain the difference in optical power between the primary and standby fibers; When the difference in optical power between the primary and standby fibers is greater than the first threshold value, preferentially select a target optical fiber from the primary optical fiber and the standby optical fiber based on the received optical power value; When the target optical fiber is inconsistent with the currently working optical fiber, send a fiber switching instruction.

[0008] According to the 1+1 type optical line protection switching method provided by the present invention, the value range of the first threshold value is 3dB - 8dB.

[0009] According to the 1+1 type optical line protection switching method provided by the present invention, it further includes: when the difference in optical power between the primary and standby fibers is greater than the first threshold value, generate an alarm for deteriorated primary optical fiber or an alarm for deteriorated standby optical fiber.

[0010] According to the 1+1 type optical line protection switching method provided by the present invention, if the difference in optical loss between the primary optical fiber and the standby optical fiber is less than or equal to the set threshold value, the splitting ratio of the optical splitter is 50:50.

[0011] According to the 1+1 type optical line protection switching method provided by the present invention, if the difference in optical loss between the primary optical fiber and the standby optical fiber is greater than the set threshold value, adjust the splitting ratio of the optical splitter to equalize the received optical power values of the primary optical fiber and the standby optical fiber.

[0012] According to the 1+1 type optical line protection switching method provided by the present invention, before obtaining the difference in optical power between the primary and standby fibers according to the received optical power value of the primary optical fiber and the received optical power value of the standby optical fiber, it further includes: If the currently working optical fiber is the primary optical fiber, determine whether the received optical power value of the primary optical fiber is lower than the second threshold value; If the received optical power value of the primary optical fiber is lower than the second threshold value, determine whether the received optical power value of the standby optical fiber is lower than the second threshold value; If the received optical power value of the standby optical fiber is not lower than the second threshold value, send a fiber switching instruction.

[0013] According to a 1+1 type optical line protection switching method provided by the present invention, before obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber, it also includes: Determine whether the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both not lower than a second threshold value; If the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both not lower than the second threshold value, the step of obtaining the main and backup optical power difference is performed according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber.

[0014] The present invention also provides a 1+1 type optical line protection switching device, comprising: A receiving optical power value acquisition module is used to obtain the receiving optical power values ​​of the main optical fiber and the backup optical fiber; A primary-backup optical power difference determination module, used to obtain a primary-backup optical power difference according to a received optical power value of the primary optical fiber and a received optical power value of the backup optical fiber; a target optical fiber determination module, configured to preferentially select a target optical fiber from the main optical fiber and the backup optical fiber based on a received optical power value when the difference between the main and backup optical powers is greater than a first threshold value; The switching instruction sending module is used to send an optical fiber switching instruction when the target optical fiber is inconsistent with the current working optical fiber.

[0015] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the 1+1 type optical line protection switching method as described above is implemented.

[0016] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the 1+1 type optical line protection switching method as described above is implemented.

[0017] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above-mentioned 1+1 type optical line protection switching methods.

[0018] The 1+1 type optical line protection switching method, device, equipment and medium provided by the present invention obtain the difference between the main and backup optical powers based on the received optical power value of the optical signal received by the main optical fiber and the received optical power value of the optical signal received by the backup optical fiber, and when the difference between the main and backup optical powers is greater than the first threshold value, the main optical fiber and the backup optical fiber select the target optical fiber with good transmission quality to switch to the working optical fiber. That is, the present invention identifies whether there is a degradation fault of the optical fiber through the difference in the received optical power of the main and backup optical fibers, and when it is determined that there is a degradation fault of the optical fiber, selects the optical fiber with a low degree of degradation as the working optical fiber for switching, thereby ensuring the transmission quality of the communication signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 It is a schematic diagram of the structure of a 1+1 type OLP optical line protection device provided in an embodiment of the present invention.

[0021] Figure 2 This is one of the flow charts of the 1+1 type optical line protection switching method provided in an embodiment of the present invention.

[0022] Figure 3 This is the second flow chart of the 1+1 type optical line protection switching method provided in an embodiment of the present invention.

[0023] Figure 4 This is the third flow chart of the 1+1 type optical line protection switching method provided in the embodiment of the present invention.

[0024] Figure 5 It is a structural schematic diagram of a 1+1 type optical line protection switching device provided in an embodiment of the present invention.

[0025] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] As described above, the OLP device (optical line protection device) is used to realize automatic switching of the working line, and the 1+1 type optical line protection switching method provided in the embodiment of the present invention is applied to the OLP device. The OLP device includes an optical power detection module, a splitter and an optical switch, wherein the splitter is used to distribute the sending end signal to the main optical fiber and the backup optical fiber.

[0028] Fiber degradation refers to the phenomenon that the signal quality decreases due to various factors during the fiber transmission process. The causes of degradation include fiber bending, poor joints, aging of optical cables, etc., which may lead to data transmission errors, packet loss, delays and other consequences. The existing optical line protection switching mechanism can only identify and switch the working fiber for fiber breakage faults. It cannot identify the situation where the fiber is not broken but is severely degraded, and thus cannot switch the working fiber based on the degradation situation, and cannot further ensure the transmission quality of the communication signal. The embodiment of the present invention designs an optical line protection switching scheme to address this problem, so that it can identify both fiber breakage faults and fiber degradation faults, and can switch the working fiber for both fiber breakage faults and fiber degradation faults.

[0029] Combine the following Figure 1-Figure 4 The 1+1 type optical line protection switching method of the present invention is described.

[0030] Figure 2 FIG. 1 is one of the flow charts of the 1+1 type optical line protection switching method provided by an embodiment of the present invention. Figure 2 As shown, the method includes the following: Step 101: Obtain received optical power values ​​of a main optical fiber and a backup optical fiber.

[0031] Step 102: Obtain a primary-backup optical power difference according to the received optical power value of the primary optical fiber and the received optical power value of the backup optical fiber.

[0032] Step 103: When the difference between the primary and backup optical powers is greater than a first threshold, a target optical fiber is preferentially selected from the primary optical fiber and the backup optical fiber based on the received optical power value.

[0033] Step 104: When the target optical fiber is inconsistent with the current working optical fiber, a fiber switching instruction is sent. After receiving the fiber switching instruction, the OLP device (optical line protection device) performs the fiber switching operation through the optical switch.

[0034] It is understandable that the main optical fiber is generally selected from optical fibers with excellent performance to ensure long-term communication quality and reliability, and the backup optical fiber can be selected from optical fibers with slightly inferior performance than the main optical fiber, as long as it can meet the emergency communication needs. Of course, both the main optical fiber and the backup optical fiber can also be optical fibers with excellent performance and can ensure long-term communication quality and reliability.

[0035] It should be noted that when the optical splitter sets the splitting ratio, the receiving optical power values ​​of the main optical fiber and the backup optical fiber are equal, and the transmitting end signal is distributed to the main optical fiber and the backup optical fiber. This is the initial setting. In the subsequent working process, the optical loss of the main optical fiber and the backup optical fiber will change, which will increase the difference in optical loss. The above method provided in this embodiment is a real-time monitoring method for the optical fiber in subsequent work.

[0036] Furthermore, if the difference in optical loss between the main optical fiber and the backup optical fiber is less than or equal to the set threshold value when the splitter sets the splitting ratio, that is, the difference in optical loss between the main optical fiber and the backup optical fiber is not large, then the splitting ratio of the splitter can be selected as 50:50. Generally applicable scenarios are that the main optical fiber and the backup optical fiber are not much different in terms of their own conditions and working environment, for example, the main optical fiber and the backup optical fiber are new optical fibers with the same material, length, and working environment. However, if a backup optical fiber is added to an optical fiber that has been working for a certain period of time (hereinafter referred to as the main optical fiber), then the difference in optical loss between the main optical fiber and the backup optical fiber is relatively large. Then, when switching from the main optical fiber to the backup optical fiber, in order to prevent the transmitted optical signal from fluctuating too much, the splitting ratio of the splitter is set to compensate for this situation. Specifically, for example, the splitting ratio of the main optical fiber and the backup optical fiber is adjusted to 60:40, so that the received optical power values ​​of the main optical fiber and the backup optical fiber are roughly the same. It should be noted that the 60:40 splitting ratio here is just a simple example, and the actual splitting ratio needs to be determined according to actual circumstances.

[0037] The embodiment of the present invention identifies whether there is a fiber degradation fault (i.e., the fiber is not broken but is severely degraded) through the difference in the received optical power values ​​of the primary and standby optical fibers, and selects the best working path when it is determined that there is a fiber degradation fault, thereby ensuring the transmission quality of the communication signal.

[0038] In this embodiment, if the difference between the main and standby optical powers is not greater than the first threshold value, the fiber switching instruction is not sent. That is to say, when the degradation conditions of the main optical fiber and the standby optical fiber are not much different, the working optical fiber is not switched. This is mainly because the fiber switching will inevitably cause a short-term (generally within 15ms, and no more than 25ms) interruption of the communication signal. Therefore, in order to avoid communication interruption, when the signal transmission quality of the main optical fiber and the standby optical fiber is not much different, the working optical fiber is not switched.

[0039] It should be noted that the preferred value range of the first threshold value is 3dB-8dB. When the first threshold value is within this range, the optical fiber degradation fault can be well identified.

[0040] In the above embodiment of the present invention, the splitting ratio of the optical splitter is 50:50, that is, the transmission optical power of the transmitting end (Tx end) is split into two optical signals with the same power through the optical splitter and enter the main optical fiber and the backup optical fiber respectively. On this basis, step 102 obtains the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber, specifically: performing a difference operation on the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber and taking the absolute value to obtain the main and backup optical power difference.

[0041] When the optical signal powers entering the main optical fiber and the backup optical fiber from the optical signal transmitting end are the same, the difference in the received optical power on the main optical fiber and the backup optical fiber can reflect the performance difference between the main optical fiber and the backup optical fiber. Based on this, in the embodiment of the present invention, when the performance difference between the main optical fiber and the backup optical fiber is too large, it is considered that one of the main optical fiber and the backup optical fiber has a degradation fault.

[0042] In some embodiments of the present invention, when the difference between the main and backup optical powers is greater than the first threshold, a main fiber degradation fault alarm or a backup fiber degradation fault alarm needs to be generated to indicate line degradation faults and remind relevant personnel to perform maintenance in a timely manner.

[0043] Specifically, when the above-mentioned main and backup optical power difference is greater than the first threshold value, the optical fiber with small received optical power is the optical fiber where the degradation fault occurs. Specifically, if the received optical power of the main optical fiber is small, a main optical fiber degradation fault alarm is sent, and the backup optical fiber is determined as the target optical fiber. If the received optical power of the backup optical fiber is small, a backup optical fiber degradation fault alarm is sent, and the main optical fiber is determined as the target optical fiber.

[0044] In some embodiments of the present invention, see Figure 3 , before obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber in step 102, it also includes: Step 201: If the current working optical fiber is the main optical fiber, determine whether the received optical power value of the main optical fiber is lower than a second threshold value.

[0045] Step 202: If the received optical power value of the main optical fiber is lower than the second threshold value, determine whether the received optical power value of the backup optical fiber is lower than the second threshold value.

[0046] Step 203: If the received optical power value of the standby optical fiber is not lower than the second threshold value, a fiber switching instruction is sent.

[0047] It should be noted that the second threshold value is the optical power LOS threshold value. If the received optical power value of the main optical fiber is lower than the above LOS threshold value, and the received optical power value of the backup optical fiber is not lower than the above LOS threshold value, the current working optical fiber is switched to the backup optical fiber, and a main optical fiber break fault warning is sent at the same time. If the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both lower than the above LOS threshold value, it means that both the main optical fiber and the backup optical fiber have a fiber break fault. At this time, both the main optical fiber break fault alarm and the backup optical fiber break fault alarm need to be sent. It can be understood that the second threshold value is used to identify whether the optical fiber is broken.

[0048] In some embodiments of the present invention, before obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber in step 102, it also includes: judging whether the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both not lower than the second threshold value; if the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both not lower than the second threshold value, executing step 102.

[0049] In this embodiment, the optical fiber degradation fault is identified only when the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are not lower than the optical power LOS threshold, that is, when there is no breakage fault in both the main optical fiber and the backup optical fiber. When the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are lower than the optical power LOS threshold, that is, there is a breakage fault in both the main optical fiber and the backup optical fiber, in this case, there is no need to identify the optical fiber degradation fault. In addition, when one of the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber is lower than the optical power LOS threshold, that is, there is a breakage fault in one of the main optical fiber and the backup optical fiber, at this time, there is no need to compare the optical fiber degradation performance, so there is no need to perform the subsequent calculation of the main and backup optical power difference and the identification of the optical fiber degradation fault.

[0050] The 1+1 type optical line protection switching method provided by the embodiment of the present invention is introduced below with reference to specific examples.

[0051] See also Figure 1 and Figure 4 The transmit optical power of the Tx port is distributed to the T1 and T2 ports through a splitter (splitting ratio 50:50). The splitter ratio of 50:50 is used to achieve that the R1 power and R2 power at the receiving end are basically consistent, and it starts to work on the primary optical fiber by default.

[0052] (1) The optical power detection module of the OLP device monitors the received optical power values ​​R1 and R2 of the primary and backup optical fibers in real time, and obtains the difference between the primary and backup optical powers; (2) Compare the optical power value R1 of the main optical fiber with the set main optical power LOS threshold. If the optical power value R1 of the main optical fiber is continuously lower than the set main optical power LOS threshold, it is determined that a fault has occurred in the main optical fiber and an alarm signal is generated. (3) After receiving the main optical fiber break fault alarm signal, the optical power value of the backup optical fiber is compared with the set backup optical power LOS threshold. If the optical power value of the backup optical fiber is higher than the set backup optical power LOS threshold, the working path is automatically switched to the backup optical fiber; (4) If the optical power value of the main optical fiber is higher than the set main optical power LOS threshold, and the optical power value of the backup optical fiber is higher than the set backup optical power LOS threshold, by comparing the difference between the main and backup optical powers with the main and backup difference threshold, if the difference between the main and backup optical powers is greater than the main and backup difference threshold, it is necessary to select the working optical fiber preferentially. When the power of the main optical fiber is larger, the main optical fiber is selected to work, and a backup optical fiber degradation fault alarm is generated; when the power of the backup optical fiber is larger, the backup optical fiber is selected to work, and a main optical fiber degradation fault alarm is generated.

[0053] (5) If the difference between the primary and backup optical powers is less than the primary-backup difference threshold, the primary optical fiber is selected to work.

[0054] In short, if the difference between the primary and backup fibers is large, the working fiber should be selected based on merit; if the difference between the primary and backup fibers is small, the primary fiber should be used by default.

[0055] The 1+1 type optical line protection switching method provided in the embodiment of the present invention realizes line switching for fiber break fault conditions based on the optical power LOS threshold; and realizes line switching for fiber degradation conditions by monitoring the difference between the primary and standby optical powers. It can realize switching for both fiber break conditions and fiber degradation conditions, select the optimal working path, and ensure the quality of communication signal transmission.

[0056] The following describes a 1+1 type optical line protection switching device provided by an embodiment of the present invention. The 1+1 type optical line protection switching device described below and the 1+1 type optical line protection switching method described above can be referred to each other.

[0057] See also Figure 5 The 1+1 type optical line protection switching device includes the following modules: The received optical power value acquisition module 501 is used to acquire the received optical power values ​​of the main optical fiber and the backup optical fiber.

[0058] The primary-backup optical power difference determination module 502 is used to obtain the primary-backup optical power difference according to the received optical power value of the primary optical fiber and the received optical power value of the backup optical fiber.

[0059] The target optical fiber determination module 503 is used to preferentially select a target optical fiber from the main optical fiber and the backup optical fiber based on the received optical power value when the difference between the main and backup optical powers is greater than a first threshold value.

[0060] The switching instruction sending module 504 is used to send a fiber switching instruction when the target fiber is inconsistent with the current working fiber.

[0061] It should be noted that the optical signals input into the main optical fiber and the backup optical fiber are input after the optical signal at the optical signal transmitting end is split according to a certain splitting ratio with the goal of equalizing the received optical power values ​​of the main optical fiber and the backup optical fiber.

[0062] In some embodiments of the present invention, the 1+1 type optical line protection switching device also includes: a degradation fault alarm module, which is used to generate a main optical fiber degradation fault alarm or a backup optical fiber degradation fault alarm when the main-backup optical power difference is greater than a first threshold value. Specifically, if the received optical power of the main optical fiber is small, a main optical fiber degradation fault alarm is sent; if the received optical power of the backup optical fiber is small, a backup optical fiber degradation fault alarm is sent.

[0063] The specific working of each module in the above device can be referred to the contents of the 1+1 type optical line protection switching method embodiment described above, and will not be described in detail here.

[0064] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the 1+1 type optical line protection switching method, which is applied to an optical line protection device, wherein the optical line protection device includes an optical power detection module and an optical splitter, and the optical splitter is used to distribute the transmitting end signal to the main optical fiber and the backup optical fiber. The method includes: obtaining the received optical power values ​​of the main optical fiber and the backup optical fiber; obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber; when the main and backup optical power difference is greater than the first threshold value, selecting the target optical fiber from the main optical fiber and the backup optical fiber based on the received optical power value; when the target optical fiber is inconsistent with the current working optical fiber, sending an optical fiber switching instruction.

[0065] As for a more specific method, reference may be made to the 1+1 type optical line protection switching method described above, which will not be described in detail here.

[0066] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0067] On the other hand, the present invention also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the 1+1 type optical line protection switching method provided by the above methods, the method is applied to an optical line protection device, the optical line protection device includes an optical power detection module and a splitter, the splitter is used to distribute the transmitting end signal to the main optical fiber and the backup optical fiber. The method includes: obtaining the received optical power values ​​of the main optical fiber and the backup optical fiber; obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber; when the main and backup optical power difference is greater than the first threshold value, selecting the target optical fiber from the main optical fiber and the backup optical fiber based on the received optical power value; when the target optical fiber is inconsistent with the current working optical fiber, sending an optical fiber switching instruction.

[0068] As for a more specific method, reference may be made to the 1+1 type optical line protection switching method described above, which will not be described in detail here.

[0069] On the other hand, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the 1+1 type optical line protection switching method provided by the above methods, and the method is applied to an optical line protection device, and the optical line protection device includes an optical power detection module and a splitter, and the splitter is used to distribute the transmitting end signal to the main optical fiber and the backup optical fiber. The method includes: obtaining the received optical power values ​​of the main optical fiber and the backup optical fiber; obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber; when the main and backup optical power difference is greater than the first threshold value, selecting the target optical fiber from the main optical fiber and the backup optical fiber based on the received optical power value; when the target optical fiber is inconsistent with the current working optical fiber, sending an optical fiber switching instruction.

[0070] As for a more specific method, reference may be made to the 1+1 type optical line protection switching method described above, which will not be described in detail here.

[0071] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0072] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A 1+1 type optical line protection switching method, characterized in that: The method is applied to an optical line protection device, the optical line protection device comprising an optical power detection module and an optical splitter, the optical splitter being used to distribute a transmitting end signal to a main optical fiber and a backup optical fiber with the goal of equalizing the received optical power values ​​of the main optical fiber and the backup optical fiber; the method comprising: Obtain the received optical power values ​​of the main optical fiber and the backup optical fiber; Obtaining a primary and backup optical power difference according to the received optical power value of the primary optical fiber and the received optical power value of the backup optical fiber; When the difference between the primary and backup optical powers is greater than a first threshold, preferentially selecting a target optical fiber from the primary optical fiber and the backup optical fiber based on the received optical power value; When the target optical fiber is inconsistent with the current working optical fiber, a fiber switching instruction is sent.

2. The 1+1 type optical line protection switching method according to claim 1, characterized in that: The first threshold value ranges from 3dB to 8dB.

3. The 1+1 type optical line protection switching method according to claim 1, characterized in that: Also includes: When the difference between the primary and backup optical powers is greater than a first threshold, a primary optical fiber degradation fault alarm or a backup optical fiber degradation fault alarm is generated.

4. The 1+1 type optical line protection switching method according to claim 1, characterized in that: If the optical loss difference between the main optical fiber and the backup optical fiber is less than or equal to a set threshold, the splitting ratio of the optical splitter is 50:

50.

5. The 1+1 type optical line protection switching method according to claim 1, characterized in that: If the optical loss difference between the main optical fiber and the backup optical fiber is greater than a set threshold, the splitting ratio of the optical splitter is adjusted to make the received optical power values ​​of the main optical fiber and the backup optical fiber equal.

6. The 1+1 type optical line protection switching method according to claim 1, characterized in that: Before obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber, the method further includes: If the current working optical fiber is the main optical fiber, determine whether the received optical power value of the main optical fiber is lower than the second threshold value; If the received optical power value of the main optical fiber is lower than the second threshold value, then determining whether the received optical power value of the backup optical fiber is lower than the second threshold value; If the received optical power value of the standby optical fiber is not lower than the second threshold value, a fiber switching instruction is sent.

7. The 1+1 type optical line protection switching method according to claim 1, characterized in that: Before obtaining the main and backup optical power difference according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber, the method further includes: Determine whether the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both not lower than a second threshold value; If the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber are both not lower than the second threshold value, the step of obtaining the main and backup optical power difference is performed according to the received optical power value of the main optical fiber and the received optical power value of the backup optical fiber.

8. A 1+1 type optical line protection switching device, characterized in that: include: A receiving optical power value acquisition module is used to obtain the receiving optical power values ​​of the main optical fiber and the backup optical fiber; A primary-backup optical power difference determination module, used to obtain a primary-backup optical power difference according to a received optical power value of the primary optical fiber and a received optical power value of the backup optical fiber; a target optical fiber determination module, configured to preferentially select a target optical fiber from the main optical fiber and the backup optical fiber based on a received optical power value when the difference between the main and backup optical powers is greater than a first threshold value; The switching instruction sending module is used to send an optical fiber switching instruction when the target optical fiber is inconsistent with the current working optical fiber.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the 1+1 type optical line protection switching method as claimed in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the 1+1 type optical line protection switching method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Optical path backup method and device

    CN110933533A

  • Optical fiber link switching method and device, network management equipment and storage medium

    CN115333615A

  • Highway optical cable digital monitoring and intelligent application system and method

    CN117768018A

  • Method for redundancy in an optical communication network with wavelength division multiplexing systems

    RU2779296C1

  • Optronic transceiver module with integrated protection

    US20220416885A1

Cited By

  • Optical line protection switching method and device, electronic equipment and storage medium

    CN120281375A

  • Optical line protection switching method and device, electronic equipment and storage medium

    CN120281375B