A method of fault localization for an optical network and related apparatus

By analyzing optical power variation trends and identifying fault types using network management equipment in optical networks, the problems of high complexity in fault location and interference with service signals in optical networks are solved, achieving efficient and accurate fault location.

CN116208241BActive Publication Date: 2026-03-31HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing fault location methods in optical networks require the integration of optical detectors, which increases network complexity and hardware costs, and may interfere with service optical signals.

Method used

By acquiring the sample set of optical network devices through network management equipment, analyzing the trend of optical power change, and determining the fault type, faults can be identified directly from changes in optical power without the need to transmit dedicated fault location signals.

Benefits of technology

It improves the accuracy and efficiency of fault location, reduces interference with service optical signals, and simplifies the fault location process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208241B_ABST
    Figure CN116208241B_ABST
Patent Text Reader

Abstract

This invention discloses a fault location method and related equipment for optical networks. It reduces the network complexity of fault location and improves the accuracy and efficiency of fault location in optical networks. The method shown in this invention includes: a network management device acquiring a first sampling set from a first optical network device, the first sampling set including multiple optical powers obtained by the first optical network device sequentially sampling a first optical signal multiple times during a first fault location time period, wherein at least one optical power included in the first sampling set is less than or equal to an optical power threshold; the network management device determining the fault type of the optical network based on the changing trend of the multiple optical powers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical fiber communication technology, and in particular to a fault location method and related equipment for optical networks. Background Technology

[0002] In an optical network, the optical path for transmitting optical signals includes source optical network equipment, destination optical network equipment, and the optical fiber connecting the source and destination optical network equipment. However, if a fault occurs in the transmission optical path during the transmission of the optical signal, it will cause the transmitted optical signal to be interrupted or degraded.

[0003] To detect faults in the transmission optical path, a photodetector can be integrated into the source optical network device. This photodetector can be an optical frequency domain reflectometer (OFDR) or an optical time domain reflectometer (OTDR). The photodetector transmits a detection signal to the transmission optical path. Reflection points in the transmission optical path, due to changes in refractive index, will return Rayleigh scattering and Fresnel reflection values ​​to the detector based on the detection signal. The detector determines the location of the reflection points in the optical path based on the reflection values. These reflection points can be locations such as fault points in the optical path.

[0004] However, integrating photodetectors into optical network equipment increases the network complexity and the hardware cost of locating fault points. Furthermore, the detectors need to send specific detection signals to the transmission optical path, which can easily interfere with the service light transmitted through that path. Summary of the Invention

[0005] This invention provides a fault location method and related equipment for optical networks, which reduces the network complexity of fault location and improves the accuracy and efficiency of fault location in optical networks.

[0006] A first aspect of this invention provides a method for fault location in an optical network. The method includes: a network management device acquiring a first sampling set from a first optical network device, the first sampling set including multiple optical powers obtained by the first optical network device sequentially sampling a first optical signal multiple times during a first fault location time period, wherein at least one optical power included in the first sampling set is less than or equal to an optical power threshold; and the network management device determining the fault type of the optical network based on the changing trends of the multiple optical powers. The method shown in this aspect enables the network management device to locate the fault type of the optical network based on first target data from the first optical network device. This improves the accuracy and efficiency of locating optical network fault types. Because there is no need to transmit a dedicated fault location signal in the optical network during the fault location process, interference with optical signals carrying services is avoided.

[0007] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network according to the changing trend of the plurality of optical powers, including: the network management device determining that the first sampling set satisfies a first condition, wherein the plurality of optical powers decrease sequentially within a first fault location time period, and the first fault location time period is less than or equal to a first time threshold; the network management device determining that the fault type of the optical network is a power supply module fault, wherein the power supply module is used to supply power to a second optical network device, and the second optical network device is used to send the first optical signal to the first optical network device. This implementation can accurately locate power supply module faults in the optical network, improving the efficiency of power supply module fault location.

[0008] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network according to the changing trend of the plurality of optical powers, including: the network management device determining that the first sampling set satisfies a second condition, wherein the second condition is that the changes in the plurality of optical powers during the first fault location time period show a decreasing trend, and the first fault location time period is greater than a first time threshold used to determine a power supply module fault; the network management device determining that the fault type of the optical network is a transmission optical path fault, wherein the transmission optical path is used to transmit the first optical signal sent by the second optical network device to the first optical network device. This implementation can accurately locate transmission optical path faults in the optical network, improving the efficiency of locating transmission optical path faults.

[0009] Based on the first aspect, in an optional implementation, before the network management device determines that the fault type of the optical network is a transmission optical path fault, the method further includes: the network management device acquiring a second sampling set, the second sampling set including: multiple optical powers obtained by sequentially sampling a second optical signal multiple times during a second fault location time period, wherein at least one optical power included in the second sampling set is less than or equal to the optical power threshold, and the second optical signal is an optical signal transmitted between a third optical network device and a fourth optical network device; the network management device determining that the second sampling set satisfies a third condition, the third condition being that the changes in the multiple optical powers included in the second sampling set during the second fault location time period show a decreasing trend, and the second fault location time period is greater than a first time threshold used to determine a power supply module fault; the network management device determining that the fault type of the optical network is a transmission optical path fault includes: the network management device determining that an optical cable has failed, the optical cable being used to transmit the first optical signal and the second optical signal. In this implementation, optical cable faults in the optical network can be accurately located, improving the efficiency of locating optical cable faults.

[0010] Based on the first aspect, in an optional implementation, before the network management device determines the fault type of the optical network based on the changing trends of the plurality of optical powers, the method further includes: the network management device acquiring a third sampling set from a second optical network device, the second optical network device being used to send the first optical signal to the first optical network device, the third sampling set including multiple optical powers obtained by the second optical network device sequentially sampling the third optical signal from the first optical network device multiple times during a third fault location time period; the network management device determining the fault type of the optical network based on the changing trends of the plurality of optical powers includes: the network management device determining, based on the first sampling set and the third sampling set, that the fault type of the optical network is a transmission optical path fault, the transmission optical path being used to transmit the first optical signal and the third optical signal. This implementation can accurately locate transmission optical path faults in the optical network, improving the efficiency of locating transmission optical path faults.

[0011] Based on the first aspect, in one optional implementation, the first fault location time period and the third fault location time period at least partially overlap, or the time interval between the first fault location time period and the third fault location time period is less than or equal to a second time threshold. In this implementation, by using the first fault location time period and the third fault location time period, it is possible to accurately determine that the optical network fault is caused by the optical cable. This improves the accuracy and efficiency of locating optical cable faults.

[0012] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network as a transmission optical path fault based on the first sampling set and the third sampling set, including: the network management device determining that the first sampling set and the third sampling set satisfy a fourth condition, wherein the changes in multiple optical powers included in the first sampling set during the first fault location time period are decreasing, the changes in multiple optical powers included in the third sampling set during the third fault location time period are decreasing, and both the first fault location time period and the third fault location time period are greater than a first time threshold used to determine a power supply module fault; the network management device determines that an optical cable fault has occurred, and the optical cable is connected between the first optical network device and the second optical network device. This implementation can accurately locate optical cable faults, improving the efficiency of locating optical cable faults.

[0013] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network as a transmission optical path fault based on the first sampling set and the third sampling set, including: the network management device determining that the first sampling set and the third sampling set satisfy a fifth condition, wherein the changes in the multiple optical powers included in the first sampling set during the first fault location time period show a downward trend, the changes in the multiple optical powers included in the third sampling set during the third fault location time period show fluctuations, and both the first fault location time period and the third fault location time period are greater than a first time threshold used to determine a power supply module fault; the network management device determines that an optical cable fault has occurred, and the optical cable is connected between the first optical network device and the second optical network device. This implementation can accurately locate optical cable faults, improving the efficiency of locating optical cable faults.

[0014] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network as a transmission optical path fault based on the first sampling set and the third sampling set, including: the network management device determining that the first sampling set and the third sampling set satisfy a sixth condition, wherein the sixth condition is that the changes in multiple optical powers included in the first sampling set during the first fault location time period show a fluctuating trend, the changes in multiple optical powers included in the third sampling set during the third fault location time period show a decreasing trend, and both the first fault location time period and the third fault location time period are greater than a first time threshold used to determine a power supply module fault; the network management device determines that an optical cable fault has occurred, and the optical cable is connected between the first optical network device and the second optical network device. This implementation can accurately locate optical cable faults, improving the efficiency of locating optical cable faults.

[0015] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network as a transmission optical path fault based on the first sampling set and the third sampling set, including: the network management device determining that the first sampling set and the third sampling set satisfy a seventh condition, wherein the seventh condition is that the changes in multiple optical powers included in the first sampling set during the first fault location time period show a downward trend, the first fault location time period is longer than a first time threshold used to determine a power supply module fault, and the difference between any two optical powers included in the third sampling set during the third fault location time period is less than or equal to a preset threshold; the network management device determining that at least one of the first branch optical path and the second branch optical path is faulty, and the second optical network device is used to send the first optical signal to the first optical network device sequentially via the second branch optical path, the optical cable, and the first branch optical path, wherein the second branch optical path is connected between the second optical network device and the optical cable, and the first branch optical path is connected between the first optical network device and the optical cable. This implementation can accurately locate branch optical path faults, improving the efficiency of locating branch optical path faults.

[0016] Based on the first aspect, in an optional implementation, the network management device determines the fault type of the optical network as a transmission optical path fault based on the first sampling set and the third sampling set, including: the network management device determining that the first sampling set and the third sampling set satisfy an eighth condition, wherein the difference between any two optical powers included in the first sampling set is less than or equal to a preset threshold, the change of the multiple optical powers included in the third sampling set during the third fault location time period shows a decreasing trend, and the third fault location time period is greater than a first time threshold used to determine a power supply module fault; the network management device determining that at least one of the third branch optical path and the fourth branch optical path has a fault, and the first optical network device is used to send the third optical signal to the second optical network device sequentially via the third branch optical path, the optical cable, and the fourth branch optical path, wherein the third branch optical path is connected between the first optical network device and the optical cable, and the fourth branch optical path is connected between the second optical network device and the optical cable. In this implementation, the fault location of the branch optical path can be accurately determined, improving the efficiency of locating branch optical path faults.

[0017] A second aspect of this invention provides a fault location method for an optical network. The method includes: a first optical network device receiving a first optical signal from a second optical network device; the first optical network device acquiring a first sampling set, the first sampling set including multiple optical powers obtained by the first optical network device sequentially sampling the first optical signal multiple times within a first fault location time period, wherein at least one optical power included in the first sampling set is less than or equal to an optical power threshold; and the first optical network device determining the fault type of the optical network based on the changing trend of the multiple optical powers. For an explanation of the beneficial effects of this aspect, please refer to the first aspect, which will not be elaborated further.

[0018] Based on the second aspect, in an optional implementation, the first optical network device determines the fault type of the optical network according to the changing trend of the plurality of optical powers, including: the first optical network device determines that the first sampling set satisfies a first condition, wherein the first condition is that the plurality of optical powers decrease sequentially within the first fault location time period, and the first fault location time period is less than or equal to a first time threshold; the first optical network device determines that the fault type of the optical network is a power supply module fault, wherein the power supply module is used to supply power to the second optical network device.

[0019] Based on the second aspect, in an optional implementation, the first optical network device determines the fault type of the optical network according to the changing trend of the plurality of optical powers, including: the first optical network device determines that the first sampling set satisfies a second condition, wherein the second condition is that the change of the plurality of optical powers during the first fault location time period shows a decreasing trend, and the first fault location time period is greater than a first time threshold used to determine a power supply module fault; the first optical network device determines that the fault type of the optical network is a fault in the transmission optical path, wherein the transmission optical path is used to transmit the first optical signal.

[0020] Based on the second aspect, in an optional implementation, before the first optical network device determines that the fault type of the optical network is a transmission optical path failure, the method further includes: the first optical network device receiving a second sampling set, the second sampling set including: multiple optical powers obtained by sequentially sampling the second optical signal multiple times during a second fault location time period, at least one optical power included in the second sampling set being less than or equal to the optical power threshold, the second optical signal being an optical signal transmitted between the third optical network device and the fourth optical network device; the first optical network device determining that the second sampling set satisfies a third condition, the third condition being that the changes in the multiple optical powers included in the second sampling set during the second fault location time period show a decreasing trend, and the second fault location time period is greater than a first time threshold used to determine a power supply module fault; the first optical network device determining that the fault type of the optical network is a transmission optical path failure includes: the first optical network device determining that an optical cable has failed, the optical cable being used to transmit the first optical signal and the second optical signal.

[0021] Based on the second aspect, in an optional implementation, before the first optical network device determines the fault type of the optical network based on the changing trends of the plurality of optical powers, the method further includes: the first optical network device receiving a third sampling set from the second optical network device, the third sampling set including a plurality of optical powers obtained by the second optical network device sequentially sampling the third optical signal from the first optical network device multiple times during a third fault location time period; the first optical network device determining the fault type of the optical network based on the changing trends of the plurality of optical powers includes: the first optical network device determining, based on the first sampling set and the third sampling set, that the fault type of the optical network is a transmission optical path failure, the transmission optical path being used to transmit the first optical signal and the third optical signal.

[0022] Based on the second aspect, in one optional implementation, the first fault location time period and the third fault location time period at least partially overlap, or the time interval between the first fault location time period and the third fault location time period is less than or equal to a second time threshold.

[0023] Based on the second aspect, in an optional implementation, the first optical network device determines that the fault type of the optical network is a transmission optical path fault based on the first sampling set and the third sampling set, including: the first optical network device determines that the first sampling set and the third sampling set satisfy a fourth condition, wherein the fourth condition is that the changes in multiple optical powers included in the first sampling set during the first fault location time period are decreasing, the changes in multiple optical powers included in the third sampling set during the third fault location time period are decreasing, and both the first fault location time period and the third fault location time period are greater than a first time threshold used to determine a power supply module fault; the first optical network device determines that an optical cable is faulty, wherein the optical cable is connected between the first optical network device and the second optical network device.

[0024] Based on the second aspect, in an optional implementation, the first optical network device determines the fault type of the optical network as a transmission optical path fault according to the first sampling set and the third sampling set, including: the first optical network device determining that the first sampling set and the third sampling set satisfy a seventh condition, wherein the seventh condition is that the changes of multiple optical powers included in the first sampling set during the first fault location time period show a downward trend, the first fault location time period is greater than a first time threshold for determining a power supply module fault, and the difference between any two optical powers included in the third sampling set during the third fault location time period is less than or equal to a preset threshold; the first optical network device determining that at least one of the first branch optical path and the second branch optical path is faulty, and the second optical network device is used to send the first optical signal to the first optical network device sequentially via the second branch optical path, the optical cable, and the first branch optical path, wherein the second branch optical path is connected between the second optical network device and the optical cable, and the first branch optical path is connected between the first optical network device and the optical cable.

[0025] A third aspect of this invention provides a network management device, comprising a processor and a memory, wherein the processor is interconnected with the memory via a line; the processor calls program code in the memory to: acquire a first sampling set from a first optical network device, the first sampling set including multiple optical powers acquired by the first optical network device through sequential sampling of a first optical signal during a first fault location time period, wherein at least one optical power included in the first sampling set is less than or equal to an optical power threshold; the processor is further configured to determine the fault type of the optical network based on the changing trend of the multiple optical powers. For a detailed explanation of the specific process and beneficial effects of this network management device performing optical network fault location, please refer to the first aspect, which will not be elaborated further here.

[0026] A fourth aspect of this invention provides an optical network device, comprising a processor, a memory, and a transceiver. The processor is interconnected with the memory and the transceiver via lines. The transceiver is configured to receive a first optical signal from a second optical network device. The processor is configured to acquire a first sampling set, which includes multiple optical powers obtained by the first optical network device sequentially sampling the first optical signal multiple times during a first fault location time period. At least one optical power included in the first sampling set is less than or equal to an optical power threshold. The processor is further configured to determine the fault type of the optical network based on the changing trends of the multiple optical powers. For a detailed explanation of the specific process and beneficial effects of this optical network device performing fault location, please refer to the first aspect; further details are omitted here.

[0027] A fifth aspect of this invention provides a computer-readable storage medium. The storage medium stores a computer program. The computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the method as described in either the first or second aspect above.

[0028] A sixth aspect of the present invention provides an optical network including a network management device, a first optical network device, and a second optical network device, wherein the network management device is used to perform the method described in any of the first aspects.

[0029] A seventh aspect of the present invention provides an optical network including a network management device, a first optical network device, and a second optical network device, wherein the first optical network device is used to perform the method described in any of the second aspects. Attached Figure Description

[0030] Figure 1 Example diagram of the first optical network structure provided in this application;

[0031] Figure 2 A flowchart illustrating the steps of a first method for fault location in an optical network provided in this application embodiment;

[0032] Figure 3 This is an example diagram illustrating the correspondence between the first type of first target data provided in the embodiments of this application;

[0033] Figure 4 A flowchart illustrating the steps of a second method for fault location in an optical network provided in an embodiment of this application;

[0034] Figure 5 A flowchart illustrating the steps of a third method for fault location in an optical network provided in this application embodiment;

[0035] Figure 6This is an example diagram illustrating the correspondence between the second type of first target data provided in the embodiments of this application;

[0036] Figure 7 A flowchart illustrating the steps of a fourth method for fault location in an optical network provided in this application embodiment;

[0037] Figure 8 Example diagram of the second type of optical network structure provided in this application;

[0038] Figure 9 A flowchart illustrating the steps of a fifth method for fault location in an optical network provided in this application embodiment;

[0039] Figure 10 A flowchart illustrating the steps of a sixth method for fault location in an optical network provided in this application embodiment;

[0040] Figure 11 A flowchart illustrating the steps of a seventh method for fault location in an optical network provided in this application embodiment;

[0041] Figure 12 This is a first example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application.

[0042] Figure 13 A flowchart illustrating the steps of the eighth method for fault location in an optical network provided in this application embodiment;

[0043] Figure 14 A flowchart illustrating the steps of a ninth method for fault location in an optical network provided in this application embodiment;

[0044] Figure 15 A second example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application;

[0045] Figure 16 A flowchart illustrating the steps of a tenth method for fault location in an optical network provided in this application embodiment;

[0046] Figure 17 A flowchart illustrating the steps of an eleventh method for fault location in an optical network provided in this application embodiment;

[0047] Figure 18 This is a third example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application.

[0048] Figure 19 A flowchart illustrating the steps of an eleventh method for fault location in an optical network provided in this application embodiment;

[0049] Figure 20 A flowchart illustrating the steps of the thirteenth method for fault location in an optical network provided in this application embodiment;

[0050] Figure 21 A fourth example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application;

[0051] Figure 22 A flowchart illustrating the steps of the fourteenth method for fault location in an optical network provided in this application embodiment;

[0052] Figure 23 A flowchart illustrating the steps of a method for fault location in an optical network according to an embodiment of this application;

[0053] Figure 24 A flowchart illustrating the steps of a sixteenth method for fault location in an optical network provided in this application embodiment;

[0054] Figure 25 This is a structural example diagram of an embodiment of the electronic device provided in this application. Detailed Implementation

[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0056] The fault location method for optical networks provided in this application is applicable to optical networks. Optical networks can be applied to data centers, metropolitan area networks, passive optical networks (PON), or long-distance transmission, etc., and are not specifically limited thereto. The following is combined with... Figure 1 The structure of the optical network shown is optionally illustrated, wherein, Figure 1 This is an example diagram of the first optical network structure provided in this application.

[0057] like Figure 1 As shown, the optical network includes a first optical network device 110 and a second optical network device 120. When services need to be exchanged between the first optical network device 110 and the second optical network device 120, the second optical network device 120 sends a first optical signal for carrying services to the first optical network device 110. The first optical network device 110 sends a third optical signal for carrying services to the second optical network device 120.

[0058] A first transmission optical path is connected between the second optical network device 120 and the first optical network device 110. This first transmission optical path is used to transmit a first optical signal. It can be seen that the first transmission optical path transmits the first optical signal from the second optical network device 120 to the first optical network device 110.

[0059] The structure of the first transmission optical path used to transmit the first optical signal is described below. The first transmission optical path, according to the transmission direction of the first optical signal, includes a second branch optical path, an optical cable 130, and the first branch optical path in sequence. The second branch optical path connects the second optical network device 120 and the optical cable 130. The first branch optical path connects the first optical network device 110 and the optical cable 130. Taking the structure of the first branch optical path as an example, it includes an optical distribution frame (ODF) 141. An optical fiber patch cord 142 for transmitting the first optical signal is connected between the ODF 141 and the first optical network device 110. The optical fiber patch cord 142 can also be called an optical fiber connector. The optical fiber patch cord 142 has connectors at both ends; one connector at one end connects to the optical port of the first optical network device 110, and the other connector at the other end connects to the ODF 141. An optical fiber pigtail 143 for transmitting the first optical signal is connected between the ODF 141 and the optical cable 130. One end of the fiber optic pigtail 143 is a connector, and the other end is a broken end of the optical fiber core. The connector of the fiber optic pigtail 143 is connected to the ODF 141. The broken end of the fiber optic pigtail 143 is connected to the fiber core of the optical cable 130 by mechanical splicing or fusion splicing. It is understood that the first optical signal emitted from the optical cable 130 is transmitted sequentially to the first optical network device 110 via the fiber optic pigtail 143, ODF 141, and fiber optic patch cord 142 included in the first branch optical path. Similarly, the second branch optical path includes an ODF 152, which is connected to the second optical network device 120 via a fiber optic patch cord 151 for transmitting the first optical signal. The ODF 152 is connected to the optical cable 130 via a fiber optic pigtail 153 for transmitting the first optical signal. It is understood that the first optical signal output from the second optical network device 120 is transmitted to the optical cable 130 sequentially via the fiber optic patch cord 151, ODF 152, and fiber optic pigtail 153. One end of the fiber core 131 included in the optical cable 130 is connected to the optical fiber pigtail 143, and the other end is connected to the optical fiber pigtail 153, so as to realize the purpose of connecting the first branch optical path and the second branch optical path through the optical cable.

[0060] The structure of the second transmission optical path used to transmit the third optical signal is described below. The second transmission optical path, according to the transmission direction of the third optical signal, sequentially includes a third branch optical path, an optical cable 130, and a fourth branch optical path. The third branch optical path connects the first optical network device 110 and the optical cable 130, and the fourth branch optical path connects the second optical network device 120 and the optical cable 130. Taking the structure of the third branch optical path as an example, the third branch optical path includes an ODF 141. An optical fiber patch cord 144 for transmitting the third optical signal is connected between the ODF 141 and the first optical network device 110. One end of the optical fiber patch cord 144 is connected to the optical port of the first optical network device 110, and the connector at the other end of the optical fiber patch cord 144 is connected to the ODF 141. An optical fiber pigtail 145 for transmitting the third optical signal is connected between the ODF 141 and the optical cable 130. It is known that the third optical signal emitted by the first optical network device 110 is transmitted sequentially to the optical cable 130 via the fiber optic patch cord 144, ODF 141, and fiber optic pigtail 145 included in the third branch optical path. Similarly, the fourth branch optical path includes an ODF 152, which is connected to the second optical network device 120 via the fiber optic patch cord 155 for transmitting the third optical signal. The ODF 152 is connected to the optical cable 130 via the fiber optic pigtail 154 for transmitting the third optical signal. It is known that the third optical signal output from the optical cable 130 is transmitted sequentially to the second optical network device 120 via the fiber optic pigtail 154, ODF 152, and fiber optic patch cord 155. One end of the fiber core 132 included in the optical cable 130 is connected to the fiber optic pigtail 145, and the other end is connected to the fiber optic pigtail 154, so as to realize the purpose of connecting the third branch optical path and the fourth branch optical path through the optical cable.

[0061] The optical network also includes a network management device 100 connected to the first optical network device 110 and the second optical network device 120, respectively. The network management device 100 is used to monitor faults in the connected optical network devices.

[0062] The optical cable 130 includes multiple fiber cores (such as...) Figure 1 The fiber cores 131 and 132 shown are shown, along with the cladding surrounding the outer periphery of the multiple fiber cores. Each fiber core has two ends for connecting to fiber pigtails on either side. The cladding protects the fiber cores from mechanical damage, thereby protecting the optical signals transmitted by the fiber cores.

[0063] The optical network also includes a power supply module 121 connected to the second optical network device 120. The power supply module 121 supplies power to the second optical network device 120. The power supply module 121 includes a mains power line and a power extraction module. The mains power line transmits industrial frequency AC power, and the power extraction module obtains power current from the mains power line to supply power to the second optical network device 120. This power current supplies power to the active devices within the second optical network device 120. The power extraction module can be a transformer, etc., and is not specifically limited. The optical network also includes a power supply module 111 connected to the first optical network device 110. The power supply module 111 supplies power to the first optical network device 110. For a description of the power supply module 111, please refer to the description of the power supply module 121; details will not be repeated here.

[0064] It should be noted that this example uses an optical network consisting of two interconnected optical network devices as an example for illustration. This example does not limit the number of optical network devices included in the optical network or the topology relationship formed by the connection between multiple optical network devices.

[0065] The fault location method provided in this application can locate faults in the power supply module included in an optical network, and can also locate faults in the transmission optical path, wherein the transmission optical path refers to the branch optical path and optical cable connected between the first optical network device and the second optical network device. The specific implementation of fault location is described below with reference to various embodiments.

[0066] Example 1

[0067] The fault location method for optical networks shown in this embodiment enables the network management device to detect whether the power supply module included in the optical network is faulty. If the network management device determines that the power supply module is faulty, it can notify maintenance personnel to repair the power supply module. For detailed execution procedures, please refer to [link to relevant documentation]. Figure 2 As shown, where, Figure 2 This is a flowchart illustrating the steps of a first method for fault location in an optical network provided in an embodiment of this application.

[0068] Step 201: The first optical network device receives the first optical signal from the second optical network device.

[0069] In this embodiment, the second optical network device transmits the first optical signal to the first optical network device sequentially via the second branch optical path, the optical cable, and the first branch optical path. For a description of the second branch optical path, the optical cable, and the first branch optical path, please refer to [link to documentation]. Figure 1 As shown, the specifics will not be elaborated further.

[0070] Step 202: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0071] The first optical network device shown in this embodiment has a preset sampling period, which refers to the time interval between two adjacent samples of the first optical signal taken by the first optical network device. In this embodiment, the sampling period is less than 1 second. It should be noted that the description of the sampling period size in this embodiment is an optional example and is not limiting.

[0072] For an explanation of the first target data, please refer to [link / reference needed]. Figure 3 As shown, where, Figure 3 This is an example diagram illustrating the correspondence between the first type of first target data provided in the embodiments of this application. The first target data includes the sampling time for sampling the first optical signal. For example... Figure 3 The horizontal axis represents sampling time t1, sampling time t2 to sampling time tM, where M in this embodiment can be any positive integer greater than 1. The first target data also includes the optical power obtained by sampling the first optical signal at each sampling time. Figure 3 In the coordinate system shown, the unit of the horizontal axis can be milliseconds (ms), and the unit of the vertical axis can be decibels and milliwatts (dBm).

[0073] Step 203: The first optical network device sends the first target data to the network management device.

[0074] In this embodiment, upon acquiring the first target data, the first optical network device sends the first target data to the network management device. Optionally, the first optical network device can compress the first target data to send the compressed first target data to the network management device. It is understood that by sending the compressed first target data to the network management device, the amount of data transmitted from the first optical network device to the network management device is reduced, thus improving the efficiency of optical network fault diagnosis.

[0075] Step 204: The network management device determines the first sampling set included in the first target data.

[0076] The network management device shown in this embodiment can monitor the changing trends of multiple optical powers included in the first target data to determine whether the first target data includes the first sampling set. Specifically, the first sampling set includes at least one optical power less than or equal to an optical power threshold during the first fault location time period. It can be understood that the first sampling set includes multiple optical powers obtained by the first optical network device sequentially sampling the first optical signal multiple times during the first fault location time period, and one or more optical powers are less than or equal to the optical power threshold.

[0077] The optical power threshold can be related to the sensitivity of the first optical network device in receiving optical signals. If the optical power of the first optical signal is less than or equal to the optical power threshold, the first optical network device cannot successfully receive it, resulting in the first optical signal with an optical power less than or equal to the optical power threshold failing to undergo photoelectric conversion. The optical power threshold shown in this embodiment can also be related to the packet loss rate of the first optical signal transmitted through the first transmission optical path. If the optical power of the first optical signal is less than or equal to the optical power threshold, the packet loss rate during the transmission of the first optical signal through the first transmission optical path is too high, indicating that the transmission degradation of the first optical signal is too great. This embodiment uses an optical power threshold of -60dBm as an example for illustrative purposes. It can be seen that if one or more optical powers received by the first optical network device are less than or equal to the optical power threshold, it indicates that the optical network has malfunctioned.

[0078] Specifically, the network management device monitors the pattern of multiple consecutive optical powers included in the first target data to determine whether the first target data includes the first sampling set. The first sampling set includes one or more optical powers less than or equal to the power threshold.

[0079] This embodiment uses the example of a network management device identifying the first sample set from the first target data for illustrative purposes. In other examples, the first optical network device may also identify the first sample set from the first target data and send the first sample set directly to the network management device.

[0080] Step 205: The network management device determines that the first sampling set satisfies the first condition.

[0081] The first condition is that the optical power of the multiple samples included in the first sampling set decreases sequentially during the first fault location time period until it decreases to less than or equal to the power threshold. Furthermore, the first fault location time period is less than or equal to the first time threshold. This embodiment uses any value between 3ms and 20ms for the first time threshold as an example for illustrative purposes. The duration of the first time threshold shown in this embodiment is relatively short, and the specific value is an optional example and not limited.

[0082] See also Figure 3 As shown, the network management device operates within time period 301, with the starting sampling time being t1 and the ending sampling time being t5. It is determined that the changing trends of multiple optical powers corresponding to time period 301 are gradual, and any optical power within time period 301 is greater than a power threshold. Therefore, the multiple optical powers corresponding to time period 301 do not satisfy the first condition. Here, a gradual changing trend of multiple optical powers means that any two optical powers are relatively close, resulting in the changes of multiple optical powers corresponding to time period 301 exhibiting a linear or small-radius fluctuation.

[0083] The network management device determines that the optical power trends corresponding to time period 302 fluctuate within the duration of time period 302. Therefore, there are one or more troughs in the optical power trends corresponding to time period 302. Furthermore, the optical power corresponding to any trough is greater than a certain optical power threshold. Therefore, the network management device determines that the optical power trends corresponding to time period 302 do not meet the first condition.

[0084] During the duration of the first fault location time period 303, the network management device determines that the changes in multiple optical powers corresponding to the first fault location time period 303 show a sequential decreasing trend, and that the multiple optical powers corresponding to the first fault location time period 303 begin to decrease at the beginning of the first fault location time period 303, and decrease to the optical power threshold. Figure 3 As shown, during the first fault location time period 303, multiple optical powers decrease to the optical power threshold (-60dBm) from the initial sampling time of the first fault location time period 303. Moreover, the first fault location time period is less than or equal to the first time threshold (e.g., 5ms). Therefore, the network management device determines that the multiple optical powers corresponding to the first fault location time period 303 satisfy the first condition, indicating that the multiple optical powers corresponding to the first fault location time period 303 are located within the first sampling set.

[0085] It should be clarified that the description of the changing trends of the multiple optical powers included in the first target data in this embodiment is an optional example and is not limited. For example, when the environment of the first transmission optical path is relatively good, since no external force acts on the transmission optical path, the change of the optical power transmitted by the first transmission optical path can remain in a relatively flat trend until a first sampling set that meets the first condition appears.

[0086] Step 206: The network management device determines that the fault type of the optical network is a power supply module fault used to power the second optical network device.

[0087] In this embodiment, when the network management device determines that the first target data includes a first sampling set that satisfies the first condition, the network management device determines, based on the stored topology information, that the first optical signal received by the first optical network device originates from the second optical network device. The network management device determines that a fault in the power supply module used to power the second optical network device causes the first optical network device to receive a first sampling set that satisfies the first condition from the second optical network device. For a description of the power supply module used to power the second optical network device, please refer to [link to documentation]. Figure 1 The corresponding explanations will not be elaborated upon here.

[0088] Using the method shown in this embodiment, the network management device can directly locate the fault in the power supply module that powers the second optical network device based on the first target data from the first optical network device. This improves the accuracy and efficiency of locating power supply module faults, as well as the timeliness of fault location. In the process of locating power supply module faults as shown in this embodiment, there is no need to add dedicated hardware for fault location in the optical network, reducing the network complexity and cost of locating optical network faults. Moreover, during the process of the second optical network device sending the first optical signal to the first optical network device, locating the power supply module fault does not require transmitting a dedicated fault location signal in the optical network, avoiding interference with the first optical signal carrying services.

[0089] Example 2

[0090] In Example 1, the network management device determines whether a power supply module failure has occurred in the optical network. In this example, the first optical network device determines whether a power supply module failure has occurred in the optical network. For a description of the execution process of this example, please refer to [link to example]. Figure 4 As shown, where, Figure 4 This is a flowchart illustrating the steps of a second method for fault location in an optical network provided in an embodiment of this application.

[0091] Step 401: The first optical network device receives the first optical signal from the second optical network device.

[0092] Step 402: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0093] For an explanation of the execution process of steps 401 to 402, please refer to steps 201 to 202 in Example 1, which will not be repeated here.

[0094] Step 403: The first optical network device determines the first sampling set included in the first target data.

[0095] For a description of the process by which the first optical network device determines the first sample set included in the first target data, please refer to the description of the process by which the network management device determines the first sample set included in the first target data, as shown in step 204 of Embodiment 1. Specific details will not be repeated here.

[0096] Step 404: The first optical network device determines that the first sampling set satisfies the first condition.

[0097] For an explanation of how the first optical network device in this embodiment determines that the first sampling set satisfies the first condition, please refer to the explanation of how the network management device in step 205 of Embodiment 1 determines that the first sampling set satisfies the first condition. Specific details will not be repeated here.

[0098] Step 405: The first optical network device determines that the fault type of the optical network is a power supply module fault used to power the second optical network device.

[0099] For an explanation of the process by which the first optical network device in this embodiment determines that the fault type of the optical network is a power supply module fault, please refer to the explanation of the network management device determining the power supply module fault in step 206 of Embodiment 1. Specific details will not be repeated here.

[0100] Step 406: The first optical network device sends a fault indication message to the network management device.

[0101] In this embodiment, if the first optical network device determines that the fault type of the optical network is a fault in the power supply module used to power the second optical network device, the first optical network device sends a fault indication message to the network management device. This fault indication message indicates that the power supply module has failed. The power supply module is used to supply power to the second optical network device.

[0102] Upon receiving the fault indication message, the network management device determines that the power supply module used to power the second optical network device has failed.

[0103] Using the method shown in this embodiment, the first optical network device locates a fault in the power supply module that powers the second optical network device based on the first target data obtained through sampling. The first optical network device then sends a fault indication message to the network management device, indicating that the power supply module for the second optical network device has failed. This effectively improves the accuracy and efficiency of locating power supply module faults, and also enhances the timeliness of fault location. Furthermore, locating the power supply module fault by the first optical network device reduces the computational load on the network management device.

[0104] Example 3

[0105] In Embodiments 1 and 2, faults in the power supply module could be located. The method shown in this embodiment can locate faults in the transmission optical path. For details of the execution process, please refer to [link to relevant documentation]. Figure 5 As shown, where, Figure 5 This is a flowchart illustrating the steps of a third method for fault location in an optical network provided in an embodiment of this application.

[0106] Step 501: The first optical network device receives the first optical signal from the second optical network device.

[0107] Step 502: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0108] Step 503: The first optical network device sends the first target data to the network management device.

[0109] Step 504: The network management device determines the first sampling set included in the first target data.

[0110] For an explanation of the execution process of steps 501 to 504 shown in this embodiment, please refer to steps 201 to 204 of Embodiment 1. Detailed explanations will not be repeated here.

[0111] Step 505: The network management device determines that the first sampling set satisfies the second condition.

[0112] The second condition is that the changes in the multiple optical powers included in the first sampling set during the first fault location time period show a downward trend, and the first fault location time period is greater than the first time threshold used to determine the power supply module fault. For a detailed explanation of the first time threshold used to determine the power supply module fault, please refer to Embodiment 1 or Embodiment 2, which will not be elaborated further.

[0113] Specifically, the decrease in the optical power of the multiple optical powers included in the first sampling set during the first fault location time period can be defined as follows: the decrease in the optical power of the multiple optical powers included in the first sampling set during the first fault location time period can also be defined as follows: there are one or more fluctuations in the trend of the change of the multiple optical powers included in the first sampling set, but the overall waveform formed by the multiple optical powers shows a decrease in trend.

[0114] See Figure 6 As shown, where, Figure 6 This is an example diagram illustrating the correspondence between the second type of first target data provided in the embodiments of this application. Figure 6 For an explanation of the coordinate system shown, please refer to [link / reference]. Figure 3 As shown, the specifics will not be elaborated further.

[0115] The network management device determines from the first target data that the changes in multiple optical powers corresponding to the first fault location time period 601 show a downward trend, and that the multiple optical powers included in the first fault location time period 601 begin to decrease at the beginning of the first fault location time period 601, and the optical power decreases to the optical power threshold. Figure 6 As shown, during the first fault location time period 601, multiple optical powers decrease to the optical power threshold (-60dBm) starting from the initial sampling time of the first fault location time period 601. Furthermore, the first fault location time period 601 is greater than the first time threshold used to determine a power supply module fault. Therefore, the network management device determines that the multiple optical powers corresponding to the first fault location time period 601 satisfy the second condition, indicating that the multiple optical powers corresponding to the first fault location time period 601 are located within the first sampling set.

[0116] Compared to Figure 3 The first sample set shown satisfies the first condition and Figure 6 As shown in the second sample set that satisfies the second condition, it can be seen that during the process of multiple optical powers decreasing to the optical power threshold, Figure 3 The corresponding first fault location time period is less than Figure 6 According to the corresponding first fault location time period, Figure 6 The multiple optical powers corresponding to the first fault location time period 601 shown are relative to Figure 3 The optical power corresponding to the first fault location time period 303 shown decreases relatively gradually to the optical power threshold.

[0117] Step 506: The network management device determines that the fault type of the optical network is a fault in the first transmission optical path.

[0118] In this embodiment, if the network management device determines that multiple optical powers drop to the power threshold within a time period greater than the first time threshold used to determine the power supply module failure in the first sampling set, it indicates that the first transmission optical path used to transmit the first optical signal has failed.

[0119] Combination Figure 1 As shown, the first transmission optical path for transmitting the first optical signal includes a second branch optical path, an optical cable, and the first branch optical path. For a detailed description of the second branch optical path, the optical cable, and the first branch optical path, please refer to [link to documentation]. Figure 1 As shown, the specifics will not be elaborated further.

[0120] It is known that if the network management device determines that the first sampling set meets the second condition, at least one of the fiber optic patch cord 151, ODF 152, fiber optic pigtail 153, optical cable 130, fiber optic pigtail 143, ODF 141 and fiber optic patch cord 142 included in the transmission optical path will fail.

[0121] Using the method shown in this embodiment, the network management device can directly locate a fault in the first transmission optical path based on the first target data from the first optical network device. This improves the accuracy and efficiency of locating faults in the first transmission optical path, as well as the timeliness of fault location. In the process of locating a fault in the first transmission optical path as shown in this embodiment, there is no need to add dedicated hardware for fault location within the optical network, reducing the network complexity and cost of locating optical network faults. Furthermore, locating a fault in the first transmission optical path during the transmission of the first optical signal from the second optical network device to the first optical network device eliminates the need to transmit a dedicated fault location signal within the optical network, thus avoiding interference with the first optical signal carrying services.

[0122] Example 4

[0123] In Embodiment 3, the network management device determines whether a first transmission optical path fault has occurred in the optical network. This embodiment shows that the first optical network device determines whether a first transmission optical path fault has occurred in the optical network. For a description of the execution process of this embodiment, please refer to [link to documentation]. Figure 7 As shown, where, Figure 7 This is a flowchart illustrating the steps of a fourth method for fault location in an optical network provided in an embodiment of this application.

[0124] Step 701: The first optical network device receives the first optical signal from the second optical network device.

[0125] Step 702: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0126] For a description of the execution process of steps 701 to 702 shown in this embodiment, please refer to the description of steps 501 to 502 in Embodiment 3. Specific details will not be repeated here.

[0127] Step 703: The first optical network device determines the first sampling set included in the first target data.

[0128] For a description of the process by which the first optical network device determines the first sample set included in the first target data as shown in this embodiment, please refer to the description of the process by which the network management device determines the first sample set included in the first target data as shown in step 504 of Embodiment 3. Specific details will not be repeated here.

[0129] Step 704: The first optical network device determines that the first sampling set satisfies the second condition.

[0130] For a description of the process by which the first optical network device in this embodiment determines that the first sample set satisfies the second condition, please refer to the description of the process by which the network management device in step 505 of Embodiment 3 determines that the first sample set satisfies the second condition. Detailed explanations will not be repeated here.

[0131] Step 705: The first optical network device determines that the fault type of the optical network is a fault in the first transmission optical path.

[0132] The explanation of how the first optical network device in this embodiment determines that the fault type of the optical network is a fault in the first transmission optical path is provided in step 506 of embodiment 3. Specific details will not be repeated here.

[0133] Step 706: The first optical network device sends a fault indication message to the network management device.

[0134] In this embodiment, when the first optical network device determines that the fault type of the optical network is a fault in the first transmission optical path, the first optical network device sends a fault indication message to the network management device. This fault indication message is used to indicate that a fault has occurred in the first transmission optical path.

[0135] Upon receiving the fault indication message, the network management device can determine that the first transmission optical path used to transmit the first optical signal has failed based on the fault indication message.

[0136] Using the method shown in this embodiment, the network management device directly determines that the first transmission optical path has failed based on the fault indication message from the first optical network device. This effectively improves the accuracy and efficiency of locating faults in the first transmission optical path, and also enhances the timeliness of fault location. Having the first optical network device locate the fault in the first transmission optical path reduces the computational load on the network management device.

[0137] Example 5

[0138] In Examples 3 and 4, it can be determined that a fault has occurred in the first transmission optical path. However, using the method shown in this embodiment, it is possible to determine whether the fault in the first transmission optical path is caused by an optical cable fault. The structure of the optical network used in the method provided in this embodiment can be found in [reference needed]. Figure 8 As shown, where, Figure 8 This is an example diagram of the second type of optical network structure provided in this application.

[0139] For a description of the network management device 100, the first optical network device 110, the second optical network device 120, and the transmission optical path connecting the first optical network device 110 and the second optical network device 120, please refer to [link to documentation]. Figure 1 The corresponding explanations are not detailed here. This optical network also includes a third optical network device 801 and a fourth optical network device 802. A branch optical path 803 connects the third optical network device 801 and the optical cable 130, and a branch optical path 804 connects the fourth optical network device 802 and the optical cable 130. For explanations of branch optical paths 803 and 804, please refer to [link to documentation]. Figure 1 The specific descriptions of the corresponding first and second branch optical paths are omitted. It can be seen that the optical cable 130 shown in this embodiment is used to transmit optical signals between the first optical network device 110 and the second optical network device 120. The optical cable 130 is also used to transmit optical signals between the third optical network device 801 and the fourth optical network device 802.

[0140] based on Figure 8 For a detailed explanation of the fault location method for the optical network shown in this embodiment, please refer to [link to documentation]. Figure 9 As shown. Among them, Figure 9This is a flowchart illustrating the steps of a fifth method for fault location in an optical network provided in an embodiment of this application.

[0141] Step 901: The first optical network device receives the first optical signal from the second optical network device.

[0142] Step 902: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0143] Step 903: The first optical network device sends the first target data to the network management device.

[0144] Step 904: The network management device determines the first sampling set included in the first target data.

[0145] Step 905: The network management device determines that the first sampling set satisfies the second condition.

[0146] For an explanation of the execution process of steps 901 to 905 shown in this embodiment, please refer to steps 501 to 504 in Embodiment 3. The specific execution process will not be described in detail.

[0147] Step 906: The third optical network device receives the second optical signal from the fourth optical network device.

[0148] In this embodiment, the fourth optical network device sequentially passes through... Figure 8 The branch optical path 804, optical cable 130, and branch optical path 803 shown transmit the second optical signal to the third optical network device. This embodiment does not limit the execution timing between steps 901 and 906.

[0149] Step 907: The third optical network device samples the second optical signal multiple times in sequence to obtain the second target data.

[0150] For a description of the process by which the third optical network device in this embodiment samples the second optical signal to obtain the second target data, please refer to the description of the process by which the first optical network device in step 202 of Embodiment 1 samples the first optical signal to obtain the second target data. Specific details will not be repeated here.

[0151] Step 908: The third optical network device sends the second target data to the network management device.

[0152] Step 909: The network management device determines the second sampling set included in the second target data.

[0153] The network management device shown in this embodiment can monitor the changing trends of multiple optical powers included in the second target data to determine whether the second target data includes the second sampling set. Specifically, the second sampling set includes at least one optical power less than or equal to an optical power threshold during the second fault location time period. It can be understood that the second sampling set includes multiple optical powers obtained by the third optical network device sequentially sampling the second optical signal multiple times during the second fault location time period. For an explanation of the optical power threshold, please refer to the explanation of step 204 in Embodiment 1, which will not be repeated here.

[0154] Step 910: The network management device determines that the second sampling set satisfies the third condition.

[0155] The third condition is that the changes in the multiple optical powers included in the second sampling set show a decreasing trend during the second fault location time period, and the second fault location time period is greater than the first time threshold used to determine the power supply module fault. For an explanation of the process by which the second sampling set satisfies the third condition, please refer to the explanation of the first sampling set satisfying the first condition shown in step 205 of Embodiment 1, which will not be repeated here.

[0156] Step 911: The network management equipment determines that the optical cable is faulty.

[0157] In this embodiment, if the network management device determines that the first sampling set corresponding to the first optical signal satisfies the first condition, and the second sampling set corresponding to the second optical signal satisfies the third condition, it indicates that both the transmission optical path used to transmit the first optical signal and the transmission optical path used to transmit the second optical signal have failed. Since the optical network through which the first and second optical signals pass includes optical cables, the network management device determines that the probability of optical cable 130 being faulty is relatively high. It is because of the optical cable failure that the first optical signal transmitted via the optical cable satisfies the first condition, and the second optical signal transmitted via the optical cable satisfies the third condition.

[0158] It can be seen that when optical cable 130 fails, all the sampling sets corresponding to the optical signals transmitted through optical cable 130 will satisfy the condition that the change of multiple optical powers during the fault location time period is decreasing, and the fault location time period is greater than the condition for determining the first time threshold for the power supply module fault.

[0159] The description of the number of second optical signals in this embodiment is an optional example. For example, in other examples, the fourth optical network device 802 may send multiple second optical signals to the third optical network device 801. If all multiple second optical signals meet the third condition described above, it indicates that the probability of the optical cable 130 failing is relatively high. It can be seen that the success rate of locating optical cable failures using the method shown in this embodiment is positively correlated with the number of optical signals transmitted by the optical cable that meet the first or third condition.

[0160] For example, this embodiment uses the example of the second optical signal being sent from the fourth optical network device 802 to the third optical network device 801 for illustrative purposes. In other examples, the second optical signal can also be sent from the third optical network device to the fourth optical network device.

[0161] Using the method shown in this embodiment, the network management device locates optical cable faults based on target data from multiple optical network devices. This improves the accuracy and efficiency of locating optical cable faults, as well as their timeliness. Furthermore, during fault location, there is no need to add dedicated hardware to the optical network, reducing network complexity and cost. Also, the process of locating optical cable faults avoids transmitting dedicated fault-finding signals within the optical network, preventing interference with optical signals already carrying services.

[0162] Example 6

[0163] In Embodiment 5, the example of a network management device determining a fiber optic cable fault is used for illustrative purposes. In this embodiment, the example of a first optical network device determining a fiber optic cable fault is used for illustrative purposes. The structure of the optical network to which the method shown in this embodiment is applied can be found in [reference needed]. Figure 8 As shown, the specific details are not elaborated upon in this embodiment. The execution process of the method shown in this embodiment can be found in [reference needed]. Figure 10 As shown. Among them, Figure 10 This is a flowchart illustrating the steps of a sixth method for fault location in an optical network provided in this application embodiment.

[0164] Step 1001: The first optical network device receives the first optical signal from the second optical network device.

[0165] Step 1002: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0166] For an explanation of the execution process of steps 1001 to 1002 shown in this embodiment, please refer to steps 901 to 902 in Embodiment 5. Detailed explanations will not be repeated here.

[0167] Step 1003: The first optical network device determines the first sampling set included in the first target data.

[0168] For a detailed description of the process by which the first optical network device determines the first sampling set included in the first target data, please refer to the description of the process by which the network management device determines the first sampling set included in the first target data, as shown in step 904 of Embodiment 5. Further details will not be elaborated here.

[0169] Step 1004: The first optical network device determines that the first sampling set satisfies the second condition.

[0170] For an explanation of the process by which the first optical network determines that the first sample set satisfies the second condition, please refer to the explanation of the process by which the network management device determines that the first sample set satisfies the second condition, as shown in step 905 of Embodiment 5. Specific details will not be repeated here.

[0171] Step 1005: The third optical network device receives the second optical signal from the fourth optical network device.

[0172] This embodiment does not limit the execution timing between steps 1005 and 1001.

[0173] Step 1006: The third optical network device samples the second optical signal multiple times in sequence to obtain the second target data.

[0174] For a description of the execution process of steps 1005 to 1006 shown in this embodiment, please refer to the description of the process of steps 906 to 907 in embodiment five. Detailed explanations will not be repeated here.

[0175] Step 1007: The third optical network device sends the second target data to the first optical network device.

[0176] The difference between this embodiment and embodiment five is that the first optical network device is responsible for fault location, and for this purpose, the third optical network device sends the second target data to the first optical network device.

[0177] Step 1008: The first optical network device determines the second sampling set included in the second target data.

[0178] For an explanation of the process by which the first optical network device in this embodiment determines the third sampling set included in the second target data, please refer to the explanation of the process by which the network management device in step 909 of Embodiment 5 determines the second sampling set included in the second surface data. Specific details will not be repeated here.

[0179] Optionally, this embodiment uses the example of a third optical network device sending second target data to a first optical network device for illustrative purposes. In other examples, the third optical network device may directly send the second target data to the first optical network device, and there is no specific limitation.

[0180] Step 1009: The first optical network device determines that the second sampling set satisfies the third condition.

[0181] For an explanation of the process by which the first optical network device in this embodiment determines that the second sampling set satisfies the third condition, please refer to the explanation of the process by which the network management device in step 910 of Embodiment 5 determines that the second sampling set satisfies the third condition. Specific details will not be repeated here.

[0182] Step 1010: The first optical network device determines that the optical cable is faulty.

[0183] In this embodiment, when the first optical network device determines that the first sampling set corresponding to the first optical signal satisfies the first condition, and the second sampling set corresponding to the second optical signal satisfies the third condition, the first optical network device determines that the optical cable has a fault. For details, please refer to step 911 in Embodiment 5, which will not be elaborated further.

[0184] Step 1011: The first optical network device sends a fault indication message to the network management device.

[0185] In this embodiment, when the first optical network device determines that the fault type of the optical network is a fault in the optical cable, the first optical network device sends the fault indication message to the network management device. The fault indication message is used to indicate that the optical cable has failed.

[0186] Using the method shown in this embodiment, the first optical network device can locate optical cable faults based on multiple different target data. This improves the accuracy and efficiency of locating optical cable faults, as well as their timeliness. Furthermore, during fault location, there is no need to add dedicated hardware devices for optical cable fault location within the optical network, reducing network complexity and cost. Also, during fault location, there is no need to transmit dedicated fault location signals within the optical network, avoiding interference with optical signals carrying services. Having the first optical network device handle fault location reduces the computational load on network management devices used for fault location.

[0187] Example 7

[0188] The network management device shown in this embodiment can locate whether a fault has occurred in the transmission optical path between the first optical network device and the second optical network device that are transmitting optical signals to each other, and determine the specific location of the fault in the transmission optical path. For detailed execution process, please refer to [link to specific implementation details]. Figure 11 As shown, where, Figure 11 This is a flowchart illustrating the steps of a seventh method for fault location in an optical network provided in this application embodiment.

[0189] Step 1101: The first optical network device receives the first optical signal from the second optical network device.

[0190] Step 1102: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0191] Step 1103: The first optical network device sends the first target data to the network management device.

[0192] Step 1104: The network management device determines the first sampling set included in the first target data.

[0193] For a description of the execution process of steps 1101 to 1104 shown in this embodiment, please refer to the description of the execution process of steps 201 to 204 in Embodiment 1. The specific execution process will not be described in detail.

[0194] Step 1105: The second optical network device receives the third optical signal from the first optical network device.

[0195] The first optical network device shown in this embodiment transmits the third optical signal to the second optical network device sequentially via the third branch optical path, the optical cable, and the fourth branch optical path. For a detailed description of the third branch optical path, the optical cable, and the fourth branch optical path, please refer to [link to documentation / reference]. Figure 1 As shown, the specifics will not be elaborated further.

[0196] This embodiment does not limit the execution sequence between steps 1101 and 1105.

[0197] Step 1106: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0198] The process by which the second optical network device in this embodiment sequentially samples the third optical signal to obtain the third target data is described in step 202 of embodiment one, which shows the process by which the first optical network device samples the first optical signal multiple times to obtain the first target data. The details will not be repeated here.

[0199] Step 1107: The second optical network device sends the third target data to the network management device.

[0200] Step 1108: The network management device determines the third sampling set included in the third target data.

[0201] The network management device shown in this embodiment can monitor the changing trends of multiple optical powers included in the third target data to determine whether the third target data includes the third sampling set. Specifically, the third sampling set includes at least one optical power less than or equal to an optical power threshold within the third fault location time period. It can be understood that the first sampling set includes multiple optical powers obtained by the second optical network device sequentially sampling the third optical signal multiple times within the third fault location time period. For an explanation of the optical power threshold, please refer to step 204 of Embodiment 1, which will not be elaborated further.

[0202] This embodiment uses the example of a second optical network device sending third target data to a network management device as an example for illustration. In other examples, the second optical network device may also directly send the third sample set to the network management device.

[0203] Step 1109: The network management device determines that the first sampling set and the third sampling set satisfy the fourth condition.

[0204] The fourth condition is that the changes in the multiple optical powers included in the first sampling set during the first fault location time period are decreasing, the changes in the multiple optical powers included in the third sampling set during the third fault location time period are decreasing, and both the first fault location time period and the third fault location time period are greater than the first time threshold used to determine the power supply module fault.

[0205] The specific descriptions of the decreasing trend of the multiple optical powers included in the first sampling set during the first fault location time period, and the specific descriptions of the decreasing trend of the multiple optical powers included in the third sampling set during the third fault location time period, can be found in step 505 of Embodiment 3, which describes the decreasing trend of the multiple optical powers during the first fault location time period. Further details will not be elaborated upon.

[0206] In this embodiment, the first fault location time period and the third fault location time period at least partially overlap, or the time interval between the first fault location time period and the third fault location time period is less than or equal to a second time threshold. This embodiment does not limit the duration of the second time threshold; as long as the time interval between the first fault location time period and the third fault location time period is less than or equal to the second time threshold, it indicates that the first fault location time period and the third fault location time period are relatively close. This embodiment uses the overlap of the first fault location time period and the third fault location time period as an example for illustrative explanation.

[0207] For example Figure 12As shown, where, Figure 12 This is a first example diagram illustrating the correspondence between the first target data and the third target data provided in this application embodiment. The network management device determines the first target data from the first optical network device as... Figure 12 The first target data shown is 1201. The network management device also identifies the third target data from the second optical network device as... Figure 12 The third target data 1202 is shown. Therefore, the fourth condition for the first and third sample sets to satisfy the fourth condition specifically means that the change in the first sample set included in the first target data 1201 during the first fault location time period shows a downward trend. The change in the third sample set included in the third target data 1202 during the third fault location time period also shows a downward trend. The first and third fault location time periods overlap. Figure 12 The time period shown is 1200. This time period of 1200 is greater than the first time threshold used to determine a power supply module fault. Figure 12 As shown, both the first and third sample sets exhibit a decreasing trend within the same time period.

[0208] Step 1120: The network management equipment determines that the optical cable is faulty.

[0209] In this embodiment, during the transmission of the first optical signal along the first transmission optical path and the transmission of the third optical signal along the second transmission optical path, the occurrence of the aforementioned fourth condition indicates that both the first and second transmission optical paths have malfunctioned. Furthermore, since the first and third fault location time periods overlap, it indicates that the first optical signal and the third optical signal, when transmitted along the first and second transmission optical paths respectively, malfunctioned at the same location, causing the first and third sampling sets to satisfy the fourth condition.

[0210] The branch optical paths included in the first transmission optical path and the branch optical paths included in the second transmission optical path are different. The common point between the first and second transmission optical paths is the optical cable through which the first and second transmission optical paths pass. If the first sampling set and the third sampling set satisfy the fourth condition, and the first fault location time period and the third fault location time period overlap, it indicates that the optical cable has a fault.

[0211] Using the method shown in this embodiment, the network management device directly locates optical cable faults based on first target data from the first optical network device and third target data from the second optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, the process of locating optical cable faults as shown in this embodiment eliminates the need for additional hardware devices specifically designed for optical cable fault location within the optical network, reducing the network complexity and cost of locating optical network faults.

[0212] Example 8

[0213] In Example 7, the network management device can locate optical cable faults based on the first and second optical network devices that transmit optical signals to each other. However, in this example, the first optical network device can be used to locate whether an optical cable is faulty. For a detailed execution process, please refer to [link to example 7]. Figure 13 As shown. Among them, Figure 13 This is a flowchart illustrating the steps of an eighth method for fault location in an optical network provided in this application embodiment.

[0214] Step 1301: The first optical network device receives the first optical signal from the second optical network device.

[0215] Step 1302: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0216] For an explanation of the execution process of steps 1301 to 1302 shown in this embodiment, please refer to steps 1101 to 1102 shown in Embodiment 7. The specific execution process will not be described in detail.

[0217] Step 1303: The first optical network device determines the first sampling set included in the first target data.

[0218] For a description of the process by which the first optical network device determines the first sample set included in the first target data as shown in this embodiment, please refer to the description of the process by which the network management device determines the first sample set included in the first target data as shown in step 1104 of Embodiment 7. Specific details will not be repeated here.

[0219] Step 1304: The second optical network device receives the third optical signal from the first optical network device.

[0220] Step 1305: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0221] For a description of the execution process of steps 1304 to 1305 shown in this embodiment, please refer to the description of the process of steps 1105 to 1106 in embodiment seven. The details will not be repeated here.

[0222] Step 1306: The first optical network device receives third target data sent from the second optical network device.

[0223] Step 1307: The first optical network device determines the third sampling set included in the third target data.

[0224] For a description of the process by which the first optical network device in this embodiment determines the third sample set included in the third target data, please refer to the description of the process by which the network management device determines the third sample set included in the third target data in step 1108 of Embodiment 7. Specific details will not be repeated here.

[0225] This embodiment uses the example of a second optical network device sending third target data to a first optical network device. In other examples, the second optical network device may also directly send the third sample set to the first optical network device.

[0226] Step 1308: The first optical network device determines that the first sampling set and the third sampling set satisfy the fourth condition.

[0227] In this embodiment, the first optical network device can determine whether the first sampling set and the third sampling set satisfy the fourth condition. For a detailed explanation of whether the first sampling set and the third sampling set satisfy the fourth condition, please refer to step 1109 in embodiment seven, which will not be elaborated here.

[0228] Step 1309: The first optical network device determines that the optical cable is faulty.

[0229] For a description of the process by which the first optical network device in this embodiment determines that the optical cable has failed, please refer to the description of the process by which the network management device determines that the optical cable has failed, as shown in step 1120 of Embodiment 7. Specific details will not be repeated here.

[0230] Step 1310: The first optical network device sends a fault indication message to the network management device.

[0231] In this embodiment, when the first optical network device determines that the fault type of the optical network is a fault in the optical cable, the first optical network device sends the fault indication message to the network management device. The fault indication message is used to indicate that the optical cable has failed.

[0232] Using the method shown in this embodiment, the network management device directly determines that the optical cable is faulty based on the fault indication message from the first optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, it reduces the computational load on the network management device during the fault location process.

[0233] Example 9

[0234] The network management device shown in this embodiment can locate whether an optical cable is faulty based on the first and second optical network devices that transmit optical signals to each other. The conditions for locating optical cable faults using the network management device shown in this embodiment are different from those used by the network management device in Embodiment 7. For details on the execution process, please refer to [link to embodiment]. Figure 14 As shown. Among them, Figure 14This is a flowchart illustrating the steps of a ninth method for fault location in an optical network provided in an embodiment of this application.

[0235] Step 1401: The first optical network device receives the first optical signal from the second optical network device.

[0236] Step 1402: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0237] Step 1403: The first optical network device sends the first target data to the network management device.

[0238] Step 1404: The network management device determines the first sampling set included in the first target data.

[0239] Step 1405: The second optical network device receives the third optical signal from the first optical network device.

[0240] Step 1406: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0241] Step 1407: The second optical network device sends the third target data to the network management device.

[0242] Step 1408: The network management device determines the third sampling set included in the third target data.

[0243] For a description of the execution process of steps 1401 to 1408 shown in this embodiment, please refer to the description of the process of steps 1101 to 1108 in Embodiment 7. The details will not be repeated here.

[0244] Step 1409: The network management device determines that the first sampling set and the third sampling set satisfy the fifth condition.

[0245] The fifth condition is that the changes in the multiple optical powers included in the first sampling set show a decreasing trend during the first fault location time period, the changes in the multiple optical powers included in the third sampling set fluctuate during the third fault location time period, and both the first fault location time period and the third fault location time period are greater than the first time threshold used to determine the power supply module fault. For an explanation of the first time threshold, please refer to step 205 of Embodiment 1; details will not be repeated here.

[0246] In this embodiment, the fluctuation in the trend of the third sampling set means that within the third fault location time period, there are one or more troughs in the third sampling set, and the optical power corresponding to each trough is greater than the optical power threshold. Therefore, it can be seen that during the transmission of the third optical signal, external forces or interference such as construction work in the second transmission optical path can cause fluctuations in the trend of the optical power of the third optical signal transmitted along the second transmission optical path. However, since the optical power of any one of the components in the third sampling set is greater than the optical power threshold, it indicates that the transmission of the third optical signal along the second transmission optical path is normal.

[0247] For a detailed explanation of the decreasing trend of the multiple optical powers included in the first sampling set during the first fault location time period, please refer to the explanation of the decreasing trend of the multiple optical powers during the first fault location time period shown in step 505 of Embodiment 3. Further details will not be elaborated here.

[0248] In this embodiment, the first fault location time period and the third fault location time period at least partially overlap, or the time interval between the first fault location time period and the third fault location time period is less than or equal to the second time threshold. For a detailed explanation, please refer to step 1109 in Embodiment Seven, which will not be elaborated upon here. This embodiment uses the overlap of the first fault location time period and the third fault location time period as an example for illustrative explanation.

[0249] For example Figure 15 As shown, where, Figure 15 This is a second example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application. The network management device determines that the first target data from the first optical network device is... Figure 15 The first target data shown is 1501. The network management device also identifies the third target data from the second optical network device as... Figure 15 The third target data 1502 is shown. Therefore, the fifth condition for the first and third sample sets to satisfy the condition specifically means that the first sample set included in the first target data 1501 shows a downward trend during the first fault location time period. The third sample set included in the third target data 1502 shows fluctuations in its trend during the third fault location time period. The first and third fault location time periods overlap, and both are... Figure 15 The time period shown is 1500. This time period of 1500 is greater than the first time threshold used to determine the power supply module fault. The optical power corresponding to any trough in the third fault location time period of the third sampling set is greater than the optical power threshold (e.g., 60 dBm). It can be seen that the time period when the waveform of the first sampling set shows a downward trend coincides with the time period when the waveform of the second sampling set fluctuates due to external force or interference.

[0250] Step 1410: The network management equipment determines that the optical cable is faulty.

[0251] In this embodiment, during the transmission of the first optical signal along the first transmission optical path and the transmission of the third optical signal along the second transmission optical path, the aforementioned fifth condition is met. This indicates that the time period when the first transmission optical path malfunctions coincides with the time period when the second transmission optical path experiences external force or interference; that is, the first fault location time period and the third fault location time period mentioned above overlap. Therefore, during the first fault location time period when the first transmission optical path malfunctions, the second transmission optical path experiences external force or interference, causing fluctuations in the optical power of the transmitted third optical signal. This indicates that the fiber core used for transmitting the first optical signal in the optical cable malfunctions, and the optical power of the third optical signal transmitted by the fiber core used for transmitting the third optical signal fluctuates during the third fault location time period due to external force or interference.

[0252] As can be seen, in this example, the network management device determines that the optical cable is faulty, and can also determine that the fiber core in the optical cable used to transmit the first optical signal is faulty.

[0253] Using the method shown in this embodiment, the network management device locates optical cable faults based on first target data from the first optical network device and third target data from the second optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, the process of locating optical cable faults as shown in this embodiment eliminates the need for additional hardware devices specifically designed for optical cable fault location within the optical network, reducing the network complexity and cost of locating optical network faults.

[0254] Example 10

[0255] In Example 9, the network management device determines whether the optical cable is faulty based on a first sampling set from the first optical network device and a third sampling set from the second optical network device. In this example, the first optical network device determines whether the optical cable is faulty; for details, please refer to [link to example]. Figure 16 As shown, where, Figure 16 This is a flowchart illustrating the steps of a tenth method for fault location in an optical network, as provided in an embodiment of this application.

[0256] Step 1601: The first optical network device receives the first optical signal from the second optical network device.

[0257] Step 1602: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0258] For an explanation of the execution process of steps 1601 to 1602 shown in this embodiment, please refer to steps 1401 to 1402 in Embodiment Nine. Detailed explanations will not be repeated here.

[0259] Step 1603: The first optical network device determines the first sampling set included in the first target data.

[0260] For a description of the process by which the first optical network device determines the first sample set included in the first target data as shown in this embodiment, please refer to the description of the process by which the network management device determines the first sample set included in the first target data as shown in step 1404 of Embodiment Nine. Specific details will not be repeated here.

[0261] Step 1604: The second optical network device receives the third optical signal from the first optical network device.

[0262] Step 1605: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0263] For a description of the execution process of steps 1604 to 1605 shown in this embodiment, please refer to the description of the process of steps 1405 to 1406 in Embodiment Nine, which will not be repeated here.

[0264] Step 1606: The second optical network device sends the third target data to the first optical network device.

[0265] Step 1607: The first optical network device determines the third sampling set included in the third target data.

[0266] For a description of the process by which the first optical network device in this embodiment determines the third sample set included in the third target data, please refer to the description of the process by which the network management device determines the third sample set included in the third target data in step 1408 of Embodiment Nine. Specific details will not be repeated here.

[0267] Step 1608: The first optical network device determines that the first sampling set and the third sampling set satisfy the fifth condition.

[0268] For an explanation of the process by which the first optical network device in this embodiment determines that the first sampling set and the third sampling set satisfy the fifth condition, please refer to the explanation of the process by which the network management device in step 1409 of Embodiment Nine determines that the first sampling set and the third sampling set satisfy the fifth condition. Specific details will not be repeated here.

[0269] Step 1609: The first optical network device determines that the optical cable is faulty.

[0270] Step 1610: The first optical network device sends a fault indication message to the network management device.

[0271] In this embodiment, when the first optical network device determines that the fault type of the optical network is a fault in the optical cable, the first optical network device sends the fault indication message to the network management device. The fault indication message is used to indicate that the optical cable has failed.

[0272] Using the method shown in this embodiment, the network management device directly determines that the optical cable is faulty based on the fault indication message from the first optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, it reduces the computational load on the network management device during the fault location process.

[0273] Example 11

[0274] The network management device shown in this embodiment can locate whether an optical cable is faulty based on the first and second optical network devices that transmit optical signals to each other. Furthermore, the conditions for locating optical cable faults using the network management device in this embodiment are different from those used by the network management device in Embodiment Nine. For details on the execution process, please refer to [link to embodiment]. Figure 17 As shown. Among them, Figure 17 This is a flowchart illustrating the steps of an eleventh method for fault location in an optical network, as provided in an embodiment of this application.

[0275] Step 1701: The first optical network device receives the first optical signal from the second optical network device.

[0276] Step 1702: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0277] Step 1703: The first optical network device sends the first target data to the network management device.

[0278] Step 1704: The network management device determines the first sampling set included in the first target data.

[0279] Step 1705: The second optical network device receives the third optical signal from the first optical network device.

[0280] Step 1706: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0281] Step 1707: The second optical network device sends the third target data to the network management device.

[0282] Step 1708: The network management device determines the third sampling set included in the third target data.

[0283] For a description of the execution process of steps 1701 to 1708 shown in this embodiment, please refer to the description of the process of steps 1101 to 1108 in Embodiment 7. The details will not be repeated here.

[0284] Step 1709: The network management device determines that the first sampling set and the third sampling set satisfy the sixth condition.

[0285] The sixth condition is that the multiple optical powers included in the first sampling set fluctuate in the trend of change within the first fault location time period, the multiple optical powers included in the third sampling set show a decreasing trend in change within the third fault location time period, and both the first fault location time period and the third fault location time period are greater than the first time threshold used to determine the power supply module fault.

[0286] In this embodiment, fluctuations in the trend of the first sampling set refer to the existence of one or more troughs within the first fault location time period, and the optical power corresponding to each trough being greater than the optical power threshold. Therefore, it can be seen that during the transmission of the first optical signal, external forces or interference such as construction work along the first transmission optical path can cause fluctuations in the trend of the optical power of the first optical signal transmitted along the first transmission optical path. However, since the optical power of any one of the components in the first sampling set is greater than the optical power threshold, it indicates that the transmission of the first optical signal along the first transmission optical path is normal.

[0287] For a detailed explanation of the decreasing trend of the multiple optical powers included in the third sampling set during the third fault location time period, please refer to the explanation of the decreasing trend of the multiple optical powers during the first fault location time period shown in step 505 of Embodiment 3. Further details will not be elaborated here.

[0288] For a detailed explanation of the first and third fault location time periods shown in this embodiment, please refer to step 1109 in Embodiment 7, which will not be repeated here. This embodiment uses the example of the first and third fault location time periods overlapping as an example for illustrative purposes.

[0289] For example Figure 18 As shown, where, Figure 18 This is a third example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application. The network management device determines that the first target data from the first optical network device is... Figure 18 The first target data shown is 1801. The network management device also identifies the third target data from the second optical network device as... Figure 18The third target data 1802 is shown. Therefore, the sixth condition for the first and third sample sets to satisfy the condition specifically means that the first sample set included in the first target data 1801 exhibits fluctuations in its trend within the first fault location time period. Furthermore, the optical power corresponding to any trough in the first fault location time period is greater than the optical power threshold (e.g., 60 dBm). The third sample set included in the third target data 1802 shows a decreasing trend within the third fault location time period, which is longer than the first time threshold used to determine the power supply module fault. The first and third fault location time periods overlap and are both... Figure 18 The time period shown is 1800. (By...) Figure 18 As shown, the time period during which the waveform of the third sampling set shows a downward trend coincides with the time period during which the waveform of the first sampling set fluctuates due to external forces or interference.

[0290] Step 1710: The network management equipment determines that the optical cable is faulty.

[0291] In this embodiment, during the transmission of the first optical signal along the first transmission optical path and the transmission of the third optical signal along the second transmission optical path, the sixth condition described above is met. This indicates that the time period during which the second transmission optical path experiences a fault coincides with the time period during which the first transmission optical path experiences external force or interference; that is, the first fault location time period and the third fault location time period mentioned above coincide. Therefore, it is explained that during the third fault location time period during which the second transmission optical path experiences a fault, the first transmission optical path experiences external force or interference, causing fluctuations in the optical power of the transmitted first optical signal. Thus, the fiber core used for transmitting the third optical signal in the optical cable experiences a fault, and the fiber core used for transmitting the first optical signal experiences fluctuations in the optical power of the first optical signal transmitted by that fiber core due to external force or interference during the first fault location time period.

[0292] As can be seen, in this example, the network management device determines that the optical cable is faulty, and can also determine that the fiber core in the optical cable used to transmit the third optical signal is faulty.

[0293] Using the method shown in this embodiment, the network management device directly locates optical cable faults based on first target data from the first optical network device and third target data from the second optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, the process of locating optical cable faults as shown in this embodiment eliminates the need for additional hardware devices specifically designed for optical cable fault location within the optical network, reducing the network complexity and cost of locating optical network faults.

[0294] Example 12

[0295] In Example 11, the network management device determines whether the optical cable is faulty based on a first sampling set from the first optical network device and a third sampling set from the second optical network device. In this example, the first optical network device determines whether the optical cable is faulty; for details of the execution process, please refer to [link to example]. Figure 19 As shown. Among them, Figure 19 This is a flowchart illustrating the steps of an eleventh method for fault location in an optical network, as provided in an embodiment of this application.

[0296] Step 1901: The first optical network device receives the first optical signal from the second optical network device.

[0297] Step 1902: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0298] For an explanation of the execution process of steps 1901 to 1902 shown in this embodiment, please refer to steps 1701 to 1702 in Embodiment Eleven. Detailed explanations will not be repeated here.

[0299] Step 1903: The first optical network device determines the first sampling set included in the first target data.

[0300] For a description of the process by which the first optical network device determines the first sample set included in the first target data as shown in this embodiment, please refer to the description of the process by which the network management device determines the first sample set included in the first target data as shown in step 1704 of Embodiment Eleven. Specific details will not be repeated here.

[0301] Step 1904: The second optical network device receives the third optical signal from the first optical network device.

[0302] Step 1905: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0303] For a description of the execution process of steps 1904 to 1905 shown in this embodiment, please refer to the description of the process of steps 1705 to 1706 in Embodiment Eleven. Specific details will not be repeated here.

[0304] Step 1906: The second optical network device sends the third target data to the first optical network device.

[0305] Step 1907: The first optical network device determines the third sampling set included in the third target data.

[0306] For a description of the process by which the first optical network device in this embodiment determines the third sample set included in the third target data, please refer to the description of the process by which the network management device determines the third sample set included in the third target data in step 1708 of Embodiment Eleven. Specific details will not be repeated here.

[0307] Step 1908: The first optical network device determines that the first sampling set and the third sampling set satisfy the sixth condition.

[0308] For a description of the process by which the first optical network device in this embodiment determines that the first sampling set and the third sampling set satisfy the sixth condition, please refer to the description of the network management device determining that the first sampling set and the third sampling set satisfy the sixth condition as shown in step 1709 of embodiment eleven. Specific details will not be repeated here.

[0309] Step 1909: The first optical network device determines that the optical cable is faulty.

[0310] Step 1910: The first optical network device sends a fault indication message to the network management device.

[0311] In this embodiment, when the first optical network device determines that the fault type of the optical network is a fault in the optical cable, the first optical network device sends the fault indication message to the network management device. The fault indication message is used to indicate that the optical cable has failed.

[0312] Using the method shown in this embodiment, the network management device directly determines that the optical cable is faulty based on the fault indication message from the first optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, it reduces the computational load on the network management device during the fault location process.

[0313] Example 13

[0314] The optical network management device shown in this embodiment can locate whether a branch optical path is faulty based on a first sampling set from a first optical network device and a third sampling set from a second optical network device. For details of the execution process, please refer to [link to documentation]. Figure 20 As shown. Among them, Figure 20 This is a flowchart illustrating the steps of a method for fault location in a thirteenth optical network provided in this application embodiment.

[0315] Step 2001: The first optical network device receives the first optical signal from the second optical network device.

[0316] Step 2002: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0317] Step 2003: The first optical network device sends the first target data to the network management device.

[0318] Step 2004: The network management device determines the first sampling set included in the first target data.

[0319] Step 2005: The second optical network device receives the third optical signal from the first optical network device.

[0320] Step 2006: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0321] Step 2007: The second optical network device sends the third target data to the network management device.

[0322] Step 2008: The network management device determines the third sampling set included in the third target data.

[0323] For a description of the execution process of steps 2001 to 2008 shown in this embodiment, please refer to the description of the process of steps 1101 to 1108 in Embodiment 7. The details will not be repeated here.

[0324] Step 2009: The network management device determines that the first sampling set and the third sampling set satisfy the seventh condition.

[0325] The seventh condition is that the changes in the multiple optical powers included in the first sampling set during the first fault location time period show a downward trend. The first fault location time period is longer than the first time threshold used to determine the power supply module fault. In the third sampling set, among the multiple optical powers included in the third fault location time period, the difference between any two optical powers is less than or equal to a preset threshold.

[0326] In this embodiment, the difference between any two optical powers in the third sampling set within the third fault location time period is less than or equal to a preset threshold. This means that the waveform of the third sampling set exhibits a smooth trend within the third fault location time period, resulting in the difference between any two optical powers being less than or equal to the preset threshold. This embodiment does not limit the magnitude of the preset threshold; it only requires that the waveform corresponding to the third sampling set exhibits a smooth trend. In this embodiment, any optical power in the third sampling set within the third fault location time period is greater than the optical power threshold. Therefore, it can be concluded that the third optical signal is transmitting normally along the second transmission optical path. Consequently, no fault has occurred in the second transmission optical path.

[0327] For a detailed explanation of the decreasing trend of the multiple optical powers included in the first sampling set during the first fault location time period, please refer to the explanation of the decreasing trend of the multiple optical powers during the first fault location time period shown in step 505 of Embodiment 3. Further details will not be elaborated here.

[0328] For a detailed explanation of the first and third fault location time periods shown in this embodiment, please refer to step 1109 in Embodiment 7, which will not be repeated here. This embodiment uses the example of the first and third fault location time periods overlapping as an example for illustrative purposes.

[0329] For example Figure 21 As shown, where, Figure 21 This is a fourth example diagram illustrating the correspondence between the first target data and the third target data provided in the embodiments of this application. The network management device determines that the first target data from the first optical network device is... Figure 21 The first target data shown is 2101. The network management device also identifies the third target data from the second optical network device as... Figure 21 The third target data 2102 is shown. Therefore, the seventh condition being met by the first and third sample sets specifically means that the change in the first sample set included in the first target data 2101 during the first fault location time period shows a decreasing trend, continuing to decrease until it reaches the optical power threshold (e.g., 60 dBm). The change in the third sample set included in the third target data 2102 during the third fault location time period shows a flat trend; that is, during the third fault location time period, the difference between any two optical powers included in the third sample set of the third target data 2102 is less than or equal to a preset threshold. Figure 21 Taking the example where any two optical powers in the third sampling set included in the third target data 2102 are equal. The first fault location time period and the third fault location time period shown in this example overlap, and both are... Figure 21 Taking time period 2100 as an example, and given that time period 2100 is greater than the first time threshold used to determine power supply module faults, it can be seen that this third sampling set... Figure 21 The third fault location time period shown exhibits a linear trend. (From...) Figure 21 As shown, the time period during which the waveform of the third sampling set shows a flat trend coincides with the time period during which the waveform of the first sampling set shows a downward trend.

[0330] Step 2010: The network management device determines that at least one of the first branch optical path and the second branch optical path has failed.

[0331] In this embodiment, during the transmission of the first optical signal along the first transmission optical path and the transmission of the third optical signal along the second transmission optical path, the aforementioned seventh condition is met. Since the waveform of the third sampling set corresponding to the third optical signal exhibits a smooth trend, it indicates that the third optical signal transmitted along the second transmission optical path is in a normal transmission state. However, if the changes in the multiple optical powers included in the first sampling set corresponding to the first optical signal transmitted along the first transmission optical path show a decreasing trend during the first fault location time period, and this decrease reaches the optical power threshold, it indicates that a fault has occurred in the first transmission optical path.

[0332] Both the first and second transmission optical paths include optical cables. The second transmission optical path is functioning normally, indicating that the optical cable itself is also functioning normally. This suggests that a fault has occurred in a branch optical path within the first transmission optical path. Figure 1 As shown, the branch optical paths included in the first transmission optical path specifically include a first branch optical path and a second branch optical path. For a detailed description of the first branch optical path and the second branch optical path, please refer to [link to documentation]. Figure 1 The corresponding explanations will not be elaborated upon here.

[0333] It can be seen that, given that the first sampling set and the third sampling set satisfy the seventh condition, the network management device shown in this embodiment can determine that at least one of the first branch optical path and the second branch optical path is faulty. Specifically, the network management device can determine... Figure 1 At least one of the fiber optic patch cord 151, ODF 152, fiber optic pigtail 153, fiber optic pigtail 143, ODF 141, and fiber optic patch cord 142 shown is faulty.

[0334] Using the method shown in this embodiment, the network management device directly locates a fault in the branch optical path used to transmit the first optical signal based on the first target data from the first optical network device and the third target data from the second optical network device. This improves the accuracy and efficiency of locating branch optical path faults, as well as the timeliness of fault location. Furthermore, the fault location process shown in this embodiment eliminates the need for additional hardware devices specifically designed for optical cable fault location within the optical network, reducing the network complexity and cost of locating optical network faults.

[0335] Example 14

[0336] The optical network management device shown in Embodiment 13 can locate whether a branch optical path is faulty based on a first sampling set from a first optical network device and a third sampling set from a second optical network device. The first optical network device shown in this embodiment can locate whether a branch optical path is faulty; for details of the execution process, please refer to [link to documentation]. Figure 22 As shown. Among them, Figure 22This is a flowchart illustrating the steps of a method for fault location in an optical network, as provided in an embodiment of this application.

[0337] Step 2201: The first optical network device receives the first optical signal from the second optical network device.

[0338] Step 2202: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0339] The execution process of steps 2201 to 2202 shown in this embodiment can be found in the description of steps 2001 to 2002 shown in Embodiment Thirteen, which will not be repeated here.

[0340] Step 2203: The first optical network device determines the first sampling set included in the first target data.

[0341] For a detailed explanation of how the first optical network device in this embodiment determines the first sampling set included in the first target data, please refer to step 2004 of embodiment 13, which shows the process by which the network management device determines the first sampling set included in the first target data. The details will not be repeated here.

[0342] Step 2204: The second optical network device receives the third optical signal from the first optical network device.

[0343] Step 2205: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0344] For a description of the execution process of steps 2204 to 2205 shown in this embodiment, please refer to the description of steps 2005 to 2006 shown in Embodiment Thirteen. Detailed explanations will not be repeated here.

[0345] Step 2206: The second optical network device sends the third target data to the first optical network device.

[0346] Step 2207: The first optical network device determines the third sampling set included in the third target data.

[0347] For a description of the process by which the second optical network device in this embodiment determines the third sampling set included in the third target data, please refer to the description of the network management device determining the third sampling set included in the third target data in step 2008 of embodiment thirteen. Specific details will not be repeated here.

[0348] It should be clarified that this embodiment uses the example of a second optical network device sending third target data to a first optical network device for illustrative purposes. In other examples, the second optical network device may also directly send the third sample set to the first optical network device.

[0349] Step 2208: The first optical network device determines that the first sampling set and the third sampling set satisfy the seventh condition.

[0350] For a detailed explanation of the process by which the first optical network device in this embodiment determines that the first sampling set and the third sampling set satisfy the seventh condition, please refer to the explanation of the process by which the network management device in step 2009 of embodiment thirteen determines that the first sampling set and the third sampling set satisfy the seventh condition. The specific details will not be repeated here.

[0351] Step 2209: The first optical network device determines that at least one of the first branch optical path and the second branch optical path has failed.

[0352] For a detailed explanation of the process by which the first optical network device in this embodiment determines that at least one of the first branch optical path and the second branch optical path has failed, please refer to the explanation of the network management device determining that at least one of the first branch optical path and the second branch optical path has failed, as shown in step 2010 of embodiment thirteen. Specific details will not be repeated here.

[0353] Step 2210: The first optical network device sends a fault indication message to the network management device.

[0354] In this embodiment, when the first optical network device determines that the fault type of the optical network is that at least one of the first branch optical path and the second branch optical path has failed, the first optical network device sends the fault indication message to the network management device. The fault indication message is used to indicate that at least one of the first branch optical path and the second branch optical path has failed.

[0355] Using the method shown in this embodiment, the network management device directly determines that the optical cable is faulty based on the fault indication message from the first optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, it reduces the computational load on the network management device during the fault location process.

[0356] Example 15

[0357] The optical network management device shown in this embodiment can locate whether a branch optical path is faulty based on a first sampling set from a first optical network device and a third sampling set from a second optical network device. For details of the execution process, please refer to [link to documentation]. Figure 23 As shown, where, Figure 23 This is a flowchart illustrating the steps of a fifteenth method for fault location in an optical network provided in an embodiment of this application.

[0358] Step 2301: The first optical network device receives the first optical signal from the second optical network device.

[0359] Step 2302: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0360] Step 2303: The first optical network device sends the first target data to the network management device.

[0361] Step 2304: The network management device determines the first sampling set included in the first target data.

[0362] Step 2305: The second optical network device receives the third optical signal from the first optical network device.

[0363] Step 2306: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0364] Step 2307: The second optical network device sends the third target data to the network management device.

[0365] Step 2308: The network management device determines the third sampling set included in the third target data.

[0366] For a description of the execution process of steps 2301 to 2308 shown in this embodiment, please refer to the description of the process of steps 1101 to 1108 in Embodiment 7. The details will not be repeated here.

[0367] Step 2309: The network management device determines that the first sampling set and the third sampling set satisfy the eighth condition.

[0368] The eighth condition is that the difference between any two optical powers included in the first sampling set is less than or equal to a preset threshold, the change of the multiple optical powers included in the third sampling set during the third fault location time period shows a downward trend, and the third fault location time period is greater than the first time threshold used to determine the power supply module fault.

[0369] In this embodiment, the difference between any two optical powers in the first sampling set during the first fault location time period is less than or equal to a preset threshold means that the waveform of the first sampling set during the first fault location time period shows a flat trend, which leads to the difference between any two optical powers being less than or equal to the preset threshold. For a detailed explanation of the preset threshold, please refer to Embodiment Thirteen, which will not be elaborated further.

[0370] It can be seen that the waveform corresponding to the first sampling set changes gradually, indicating that the first optical signal is transmitting normally along the first transmission optical path. That is, there is no fault in the first transmission optical path.

[0371] For a detailed explanation of the decreasing trend in the multiple optical powers included in the third sampling set during the third fault location time period, please refer to step 505 of Embodiment 3, which describes the decreasing trend in the multiple optical powers during the first fault location time period. Further details will not be repeated here. For a detailed explanation of the first and third fault location time periods shown in this embodiment, please refer to Embodiment 13. Further details will not be repeated here.

[0372] Step 2310: The network management device determines that at least one of the third branch optical path and the fourth branch optical path is faulty.

[0373] In this embodiment, during the transmission of the first optical signal along the first transmission optical path and the transmission of the third optical signal along the second transmission optical path, the eighth condition described above is met. Since the waveform of the first sampling set corresponding to the first optical signal exhibits a smooth trend, it indicates that the first optical signal transmitted along the first transmission optical path is in a normal transmission state. However, if the changes in the multiple optical powers included in the third sampling set corresponding to the third optical signal transmitted along the second transmission optical path during the third fault location time period show a decreasing trend, and the power drops to the optical power threshold, it indicates that a fault has occurred in the second transmission optical path.

[0374] Both the first and second transmission optical paths include optical cables. The first transmission optical path is functioning normally, indicating that the optical cable itself is in good condition. This suggests that a fault has occurred in a branch optical path within the second transmission optical path. Figure 1 As shown, the branch optical paths included in the second transmission optical path specifically include a third branch optical path and a fourth branch optical path. For a detailed description of the third branch optical path and the fourth branch optical path, please refer to [link to documentation]. Figure 1 The corresponding explanations will not be elaborated upon here.

[0375] It can be seen that, given that the first sampling set and the third sampling set satisfy the eighth condition, the network management device shown in this embodiment can determine that at least one of the third branch optical path and the fourth branch optical path is faulty. Specifically, the network management device can determine... Figure 1 At least one of the fiber optic patch cord 144, ODF 141, fiber optic pigtail 145, fiber optic pigtail 154, ODF 152, and fiber optic patch cord 155 shown is faulty.

[0376] Using the method shown in this embodiment, the network management device directly locates a fault in the branch optical path used to transmit the second optical signal based on the first target data from the first optical network device and the third target data from the second optical network device. This improves the accuracy and efficiency of locating branch optical path faults, as well as the timeliness of fault location. Furthermore, the fault location process shown in this embodiment eliminates the need for additional hardware devices specifically designed for optical cable fault location within the optical network, reducing the network complexity and cost of locating optical network faults.

[0377] Example 16

[0378] In Example 15, the network management device uses a first sampling set from the first optical network device and a third sampling set from the second optical network device to determine whether a branch optical path has a fault. The first optical network device shown in this example can determine whether a branch optical path has a fault; for details of the execution process, please refer to [link to example]. Figure 24 As shown. Among them, Figure 24 This is a flowchart illustrating the steps of a sixteenth method for fault location in an optical network provided in an embodiment of this application.

[0379] Step 2401: The first optical network device receives the first optical signal from the second optical network device.

[0380] Step 2402: The first optical network device samples the first optical signal multiple times in sequence to obtain the first target data.

[0381] For a description of the execution process of steps 2401 to 2402 shown in this embodiment, please refer to the description of the execution process of steps 2301 to 2302 in Embodiment Fifteen. Detailed explanations will not be repeated here.

[0382] Step 2403: The first optical network device determines the first sampling set included in the first target data.

[0383] For an explanation of the process by which the first optical network device determines the first sampling set included in the first target data, please refer to step 2304 of embodiment 15, which shows the process by which the network management device determines the first sampling set included in the first target data. The details will not be repeated here.

[0384] Step 2404: The second optical network device receives the third optical signal from the first optical network device.

[0385] Step 2405: The second optical network device samples the third optical signal sequentially to obtain the third target data.

[0386] For a description of the execution process of steps 2404 to 2405 shown in this embodiment, please refer to the description of the execution process of steps 2305 to 2306 in embodiment 15. Specific details will not be repeated here.

[0387] Step 2406: The second optical network device sends the third target data to the first optical network device.

[0388] Step 2407: The first optical network device determines the third sampling set included in the third target data.

[0389] For a description of the process by which the first optical network device in this embodiment determines the third sampling set included in the third target data, please refer to the description of the process by which the network management device determines the third sampling set included in the third target data in step 2308 of Embodiment Fifteen. Specific details will not be repeated here.

[0390] Step 2408: The first optical network device determines that the first sampling set and the third sampling set satisfy the eighth condition.

[0391] For an explanation of the process by which the first optical network device determines that the first sampling set and the third sampling set satisfy the eighth condition, please refer to step 2309 of embodiment 15, which shows the process by which the network management device determines that the first sampling set and the third sampling set satisfy the eighth condition. The details will not be repeated here.

[0392] Step 2409: The first optical network device determines that at least one of the third branch optical path and the fourth branch optical path has failed.

[0393] For a detailed description of step 2409 in this embodiment, please refer to the description of the process by which the network management device determines that at least one of the third branch optical path and the fourth branch optical path has failed, as shown in step 2310 of embodiment 15. The details will not be repeated here.

[0394] Step 2410: The first optical network device sends a fault indication message to the network management device.

[0395] In this embodiment, when the first optical network device determines that at least one of the third branch optical path and the fourth branch optical path has failed, the first optical network device sends a fault indication message to the network management device. The fault indication message is used to indicate that at least one of the third branch optical path and the fourth branch optical path has failed.

[0396] Using the method shown in this embodiment, the network management device directly determines that the optical cable is faulty based on the fault indication message from the first optical network device. This improves the accuracy and efficiency of locating optical cable faults, as well as the timeliness of fault location. Furthermore, it reduces the computational load on the network management device during the fault location process.

[0397] This application also provides an electronic device. The structure of this electronic device can be found in [reference needed]. Figure 25 As shown. Among them, Figure 25 This is a structural example diagram of an embodiment of the electronic device provided in this application. The electronic device includes a processor 2502, a memory 2503, and a transceiver 2501. The processor 2502 is interconnected with the memory 2503 and the transceiver 2501 via circuits.

[0398] The memory 2503 stores computer programs. The processor 2502 reads and executes the computer programs stored in the memory to perform corresponding processing. The functionality of the processor 2502 can be partially or entirely implemented in hardware. In this case, the processor 2502 can be one or more chips, or one or more integrated circuits. For example, the processor 2502 can be one or more field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), system-on-chips (SoCs), central processing units (CPUs), network processors (NPs), digital signal processors (DSPs), microcontroller units (MCUs), programmable logic devices (PLDs), or other integrated chips, or any combination of the above chips or processors.

[0399] If the electronic device shown in this embodiment is a network management device, then the processor 2502 shown in this embodiment is used to execute the processing-related steps performed by the network management device in any of embodiments one to sixteen. The transceiver 2501 is used to execute the transmission-reception-related steps performed by the network management device in any of embodiments one to sixteen.

[0400] If the electronic device shown in this embodiment is a first optical network device, then the processor 2502 shown in this embodiment is used to execute the processing-related steps performed by the first optical network device in any of embodiments one to sixteen. The transceiver 2501 is used to execute the transmission-reception-related steps performed by the first optical network device in any of embodiments one to sixteen.

[0401] If the electronic device shown in this embodiment is a third optical network device, then the processor 2502 shown in this embodiment is used to execute the processing-related steps performed by the third optical network device as shown in Embodiment 5 or Embodiment 6. The transceiver 2501 is used to execute the transmission-reception-related steps performed by the third optical network device as shown in Embodiment 5 or Embodiment 6.

[0402] If the electronic device shown in this embodiment is a fourth optical network device, then the processor 2502 shown in this embodiment is used to execute the processing-related steps performed by the fourth optical network device as shown in Embodiment 5 or Embodiment 6. The transceiver 2501 is used to execute the transmission-reception-related steps performed by the fourth optical network device as shown in Embodiment 5 or Embodiment 6.

[0403] This application also provides an optical network. The structure of the optical network shown in this embodiment can be found in [reference needed]. Figure 1 or Figure 8 As shown.

[0404] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method of fault location for an optical network, characterized in that, The method comprises: The network management device acquires a first sampling set from a first optical network device, the first sampling set comprising a plurality of optical powers obtained by the first optical network device successively sampling a first optical signal in a first fault locating time period, at least one optical power comprised in the first sampling set being less than or equal to an optical power threshold value; The network management device determines a fault type of the optical network according to a variation trend of the plurality of optical powers; Before the network management device determines the fault type of the optical network according to the variation trend of the plurality of optical powers, the method further comprises: The network management device acquires a third sampling set from a second optical network device, the second optical network device being configured to transmit the first optical signal to the first optical network device, the third sampling set comprising a plurality of optical powers obtained by the second optical network device successively sampling a third optical signal from the first optical network device in a third fault locating time period; The network management device determines the fault type of the optical network according to the variation trend of the plurality of optical powers comprises: In a case where the network management device determines that the first sampling set and the third sampling set satisfy a fourth condition, the network management device determines that a cable is faulty; the fourth condition being that the plurality of optical powers comprised in the first sampling set present a downward variation trend in the first fault locating time period, the plurality of optical powers comprised in the third sampling set present a downward variation trend in the third fault locating time period, and the first fault locating time period and the third fault locating time period are both greater than a first time threshold value for determining a power supply module fault; the cable being connected between the first optical network device and the second optical network device; In a case where the network management device determines that the first sampling set and the third sampling set satisfy a seventh condition, the network management device determines that at least one of a first branch optical path and a second branch optical path is faulty; the seventh condition being that the plurality of optical powers comprised in the first sampling set present a downward variation trend in the first fault locating time period, the first fault locating time period being greater than the first time threshold value for determining the power supply module fault, and a difference between any two optical powers comprised in the third sampling set in the third fault locating time period being less than or equal to a preset threshold value; the second optical network device being configured to transmit the first optical signal to the first optical network device successively via the second branch optical path, a cable and the first branch optical path, the second branch optical path being connected between the second optical network device and the cable, and the first branch optical path being connected between the first optical network device and the cable.

2. The method of claim 1, wherein, The network management device determines the fault type of the optical network according to the variation trend of the plurality of optical powers further comprises: In a case where the network management device determines that the first sample set satisfies a first condition, the network management device determines that the fault type of the optical network is a power supply module fault; the first condition is that the multiple optical powers sequentially decrease in the first fault positioning time period, and the first fault positioning time period is less than or equal to a first time threshold; the power supply module is configured to supply power for a second optical network device, and the second optical network device is configured to send the first optical signal to the first optical network device.

3. The method of claim 1, wherein, The network management device determines the fault type of the optical network according to the change trend of the multiple optical powers further includes: In a case where the network management device determines that the first sample set satisfies a second condition, the network management device determines that the fault type of the optical network is a transmission optical path fault; the second condition is that the change of the multiple optical powers in the first fault positioning time period presents a downward trend, and the first fault positioning time period is greater than the first time threshold used for determining the power supply module fault, and the transmission optical path is configured to transmit the first optical signal sent by a second optical network device to the first optical network device.

4. The method of claim 3, wherein, Before the network management device determines that the fault type of the optical network is the transmission optical path fault, the method further includes: The network management device obtains a second sample set, the second sample set including multiple optical powers obtained by sequentially sampling a second optical signal multiple times in a second fault positioning time period, at least one optical power included in the second sample set being less than or equal to the optical power threshold, and the second optical signal being an optical signal transmitted between a third optical network device and a fourth optical network device; The network management device determines that the second sample set satisfies a third condition, the third condition being that the multiple optical powers included in the second sample set present a downward trend in the second fault positioning time period, and the second fault positioning time period being greater than the first time threshold used for determining the power supply module fault; The network management device determines that the fault type of the optical network is the transmission optical path fault includes: The network management device determines that an optical cable appears a fault, and the optical cable is configured to transmit the first optical signal and the second optical signal.

5. The method of claim 1, wherein, The first fault positioning time period and the third fault positioning time period at least partially overlap, or a time interval between the first fault positioning time period and the third fault positioning time period is less than or equal to a second time threshold.

6. The method according to claim 1 or 5, characterized in that, The network management device determines the fault type of the optical network according to the change trend of the multiple optical powers further includes: In a case where the network management device determines that the first sampling set and the third sampling set satisfy a fifth condition, the network management device determines that an optical cable is faulty; the fifth condition is that the multiple optical powers included in the first sampling set have a downward trend in variation within the first fault locating time period, the multiple optical powers included in the third sampling set have fluctuation in variation trend within the third fault locating time period, and both the first fault locating time period and the third fault locating time period are greater than a first time threshold value for determining a power module fault; the optical cable is connected between the first optical network device and the second optical network device.

7. The method according to claim 1 or 5, characterized in that, The network management device determines the fault type of the optical network according to the variation trend of the multiple optical powers further includes: In a case where the network management device determines that the first sampling set and the third sampling set satisfy a sixth condition, the network management device determines that an optical cable is faulty; the sixth condition is that the multiple optical powers included in the first sampling set have a fluctuation trend in variation within the first fault locating time period, the multiple optical powers included in the third sampling set have a downward trend in variation within the third fault locating time period, and both the first fault locating time period and the third fault locating time period are greater than a first time threshold value for determining a power module fault; the optical cable is connected between the first optical network device and the second optical network device.

8. The method of claim 1 or 5, wherein, The network management device determines the fault type of the optical network according to the variation trend of the multiple optical powers further includes: In a case where the network management device determines that the first sampling set and the third sampling set satisfy an eighth condition, the network management device determines that at least one of a third branch optical path and a fourth branch optical path is faulty; the eighth condition is that, among the multiple optical powers included in the first sampling set, a difference between any two optical powers is less than or equal to a preset threshold value, the multiple optical powers included in the third sampling set have a downward trend in variation within the third fault locating time period, and the third fault locating time period is greater than a first time threshold value for determining a power module fault; the first optical network device is configured to sequentially transmit the third optical signal to the second optical network device via the third branch optical path, an optical cable, and the fourth branch optical path, the third branch optical path is connected between the first optical network device and the optical cable, and the fourth branch optical path is connected between the second optical network device and the optical cable.

9. A method of fault location in an optical network, characterized by, The method includes: The first optical network device receives a first optical signal from a second optical network device; The first optical network device acquires a first sampling set, the first sampling set including multiple optical powers obtained by the first optical network device sequentially sampling the first optical signal multiple times within a first fault locating time period, at least one optical power included in the first sampling set being less than or equal to an optical power threshold value; The first optical network device determines a fault type of an optical network according to a variation trend of the multiple optical powers; The first optical network device determines a fault type of an optical network according to a variation trend of the multiple optical powers; Before the first optical network device determines the fault type of the optical network according to the change trend of the plurality of optical powers, the method further comprises: The first optical network device receives a third sample set from a second optical network device, the third sample set comprising a plurality of optical powers obtained by the second optical network device successively sampling a third optical signal from the first optical network device in a third fault locating time period; The first optical network device determines the fault type of the optical network according to the change trend of the plurality of optical powers comprises: In a case where the first optical network device determines that the first sample set and the third sample set satisfy a fourth condition, the first optical network device determines that a cable is faulty; the fourth condition is that the plurality of optical powers comprised by the first sample set decreases in the first fault locating time period, the plurality of optical powers comprised by the third sample set decreases in the third fault locating time period, and the first fault locating time period and the third fault locating time period are both greater than a first time threshold value for determining a power supply module fault; the cable is connected between the first optical network device and the second optical network device; In a case where the first optical network device determines that the first sample set and the third sample set satisfy a seventh condition, the first optical network device determines that at least one of a first branch optical path and a second branch optical path is faulty; the seventh condition is that the plurality of optical powers comprised by the first sample set decreases in the first fault locating time period, the first fault locating time period is greater than the first time threshold value for determining the power supply module fault, and a difference between any two of the plurality of optical powers comprised by the third sample set in the third fault locating time period is less than or equal to a preset threshold value; the second optical network device is configured to transmit the first optical signal to the first optical network device successively via the second branch optical path, a cable, and the first branch optical path, the second branch optical path being connected between the second optical network device and the cable, and the first branch optical path being connected between the first optical network device and the cable.

10. The method of claim 9, wherein, The first optical network device determines the fault type of the optical network according to the change trend of the plurality of optical powers further comprises: In a case where the first optical network device determines that the first sample set satisfies a first condition, the first optical network device determines that the fault type of the optical network is a power supply module fault; the first condition is that the plurality of optical powers decreases successively in the first fault locating time period, and the first fault locating time period is less than or equal to a first time threshold value; the power supply module is configured to supply power to the second optical network device.

11. The method of claim 9, wherein, The first optical network device determines the fault type of the optical network according to the change trend of the plurality of optical powers further comprises: In a case where the first optical network device determines that the first sample set meets a second condition, the first optical network device determines that the fault type of the optical network is a fault of a transmission optical path; the second condition is that the plurality of optical powers have a downward trend in the first fault locating time period, and the first fault locating time period is greater than a first time threshold for determining a power supply module fault; the transmission optical path is used for transmitting the first optical signal.

12. The method of claim 11, wherein, Before the first optical network device determines that the fault type of the optical network is a fault of a transmission optical path, the method further comprises: The first optical network device receives a second sample set, the second sample set comprising a plurality of optical powers obtained by sequentially sampling a second optical signal a plurality of times in a second fault locating time period, at least one optical power included in the second sample set being less than or equal to the optical power threshold, the second optical signal being an optical signal transmitted between a third optical network device and a fourth optical network device; The first optical network device determines that the second sample set meets a third condition, the third condition being that the plurality of optical powers included in the second sample set have a downward trend in the second fault locating time period, and the second fault locating time period is greater than the first time threshold for determining a power supply module fault; The first optical network device determines that the fault type of the optical network is a fault of a transmission optical path comprises: The first optical network device determines that an optical cable is faulty, the optical cable being used for transmitting the first optical signal and the second optical signal.

13. The method of claim 9, wherein, The first fault locating time period and the third fault locating time period at least partially overlap, or the time interval between the first fault locating time period and the third fault locating time period is less than or equal to a second time threshold.

14. A network management device, characterized by comprising: The network management device comprises a processor and a memory, the processor being interconnected with the memory through a circuit; the processor invokes program codes in the memory for obtaining a first sample set from a first optical network device, the first sample set comprising a plurality of optical powers obtained by the first optical network device sequentially sampling a first optical signal a plurality of times in a first fault locating time period, at least one optical power included in the first sample set being less than or equal to an optical power threshold; The processor is further configured to obtain a third sample set from a second optical network device, the second optical network device being configured to transmit the first optical signal to the first optical network device, the third sample set comprising a plurality of optical powers obtained by the second optical network device sequentially sampling a third optical signal from the first optical network device a plurality of times in a third fault locating time period; The processor is further configured to determine that the optical cable is faulty when it is determined that the first sampling set and the third sampling set satisfy a fourth condition; the fourth condition is that the plurality of optical powers included in the first sampling set have a downward trend in variation within the first fault locating time period, the plurality of optical powers included in the third sampling set have a downward trend in variation within the third fault locating time period, and the first fault locating time period and the third fault locating time period are both greater than a first time threshold for determining a power supply module fault; and the optical cable is connected between the first optical network device and the second optical network device. At least one of the first branch optical path and the second branch optical path is determined to be faulty when it is determined that the first sampling set and the third sampling set satisfy a seventh condition. The seventh condition is that the plurality of optical powers included in the first sampling set have a downward trend in variation within the first fault locating time period, the first fault locating time period is greater than a first time threshold for determining a power supply module fault, and a difference between any two of the plurality of optical powers included in the third sampling set within the third fault locating time period is less than or equal to a preset threshold; and the second optical network device is configured to transmit the first optical signal to the first optical network device via the second branch optical path, the optical cable, and the first branch optical path in sequence, the second branch optical path is connected between the second optical network device and the optical cable, and the first branch optical path is connected between the first optical network device and the optical cable.

15. An optical network device, characterized by The optical network device includes a processor, a memory, and a transceiver, the processor is interconnected with the memory and the transceiver through a line respectively; The transceiver is configured to receive a first optical signal from another optical network device. The processor is configured to obtain a first sampling set, the first sampling set including a plurality of optical powers obtained by sampling the first optical signal in sequence a plurality of times within a first fault locating time period, at least one optical power included in the first sampling set being less than or equal to an optical power threshold; and the processor is further configured to determine a fault type of an optical network according to a variation trend of the plurality of optical powers. The processor is further configured to obtain a third sampling set from the other optical network device, the other optical network device being configured to transmit the first optical signal to the optical network device, the third sampling set including a plurality of optical powers obtained by sampling a third optical signal from the optical network device in sequence a plurality of times within a third fault locating time period. The processor is further configured to determine that the optical cable is faulty when it is determined that the first sampling set and the third sampling set satisfy a fourth condition; the fourth condition is that the plurality of optical powers included in the first sampling set have a downward trend in variation within the first fault locating time period, the plurality of optical powers included in the third sampling set have a downward trend in variation within the third fault locating time period, and the first fault locating time period and the third fault locating time period are both greater than a first time threshold for determining a power supply module fault; and the optical cable is connected between the optical network device and the another optical network device. At least one of the first branch optical path and the second branch optical path is determined to be faulty when it is determined that the first sampling set and the third sampling set satisfy a seventh condition. The seventh condition is that the plurality of optical powers included in the first sampling set have a downward trend in variation within the first fault locating time period, the first fault locating time period is greater than a first time threshold for determining a power supply module fault, and a difference between any two of the plurality of optical powers included in the third sampling set within the third fault locating time period is less than or equal to a preset threshold; and the another optical network device is configured to transmit the first optical signal to the optical network device via the second branch optical path, the optical cable, and the first branch optical path in sequence, the second branch optical path is connected between the another optical network device and the optical cable, and the first branch optical path is connected between the optical network device and the optical cable.

Citation Information

Patent Citations

  • Method, device and system for realizing optical link fault identification

    CN110838872A

  • Fault classification

    WO2021032292A1