Optical network detection method, system, electronic device and computer readable medium

文档序号:651892 发布日期:2021-04-23 浏览:24次 中文

阅读说明:本技术 光网络检测方法、系统、电子设备及计算机可读介质 (Optical network detection method, system, electronic device and computer readable medium ) 是由 赵学芬 于 2019-10-23 设计创作,主要内容包括:本公开提供了一种网络检测方法,该方法用于对光缆中光纤进行检测;其中,所述光缆包括多条光纤,在所述多条光纤中的任一条的末端连接有反射器;所述方法包括:根据检测指令,控制SFP光模块向连接有反射器的光纤发送光持续检测信号;对所述反射器所反射回来的反射光信号进行分析,得到测试数据;将所述测试数据与预先存储的基准数据进行比对,生成比对结果;根据所述比对结果,控制对光缆中的光纤是否进行OTDR测试。本公开还提供了一种光网络检测装置、系统、电子设备及计算机可读介质。(The present disclosure provides a network detection method for detecting an optical fiber in an optical cable; wherein the optical cable comprises a plurality of optical fibers, and a reflector is connected to the tail end of any one of the optical fibers; the method comprises the following steps: controlling the SFP optical module to send an optical continuous detection signal to an optical fiber connected with a reflector according to the detection instruction; analyzing a reflected light signal reflected by the reflector to obtain test data; comparing the test data with pre-stored reference data to generate a comparison result; and controlling whether the OTDR test is carried out on the optical fiber in the optical cable or not according to the comparison result. The disclosure also provides an optical network detection device, a system, an electronic device and a computer readable medium.)

1. An optical network detection method is used for detecting optical fibers in an optical cable; wherein the optical cable comprises a plurality of optical fibers, and a reflector is connected to the tail end of any one of the optical fibers; the method comprises the following steps:

controlling the SFP optical module to send an optical continuous detection signal to an optical fiber connected with a reflector according to the detection instruction;

analyzing a reflected light signal reflected by the reflector to obtain test data;

comparing the test data with pre-stored reference data to generate a comparison result;

and controlling whether the OTDR test is carried out on the optical fiber in the optical cable or not according to the comparison result.

2. The method of claim 1, wherein the controlling whether the optical fiber in the optical cable performs the OTDR test according to the comparison result comprises:

and when the comparison result is that the test data is not matched with the prestored reference data, controlling an alarm module to generate an alarm signal and sending the alarm signal to the network management equipment so that the network management equipment controls the OTDR test module to carry out OTDR test according to the prestored corresponding relation among the OTDR test port, the optical fiber in the optical cable and the reflector in the network management equipment.

3. The method of claim 1, further comprising:

controlling the SFP optical module to send an optical initial detection signal to an optical fiber connected with a reflector according to an open-loop test instruction;

and analyzing the reflected light signal reflected by the reflector, and acquiring and storing reference data.

4. The method of claim 1, wherein the reference data comprises at least one of a reference reflected light power value reference fiber length.

5. An optical network detection device is used for detecting optical fibers in an optical cable; wherein the optical cable comprises a plurality of optical fibers comprising:

a reflector connected to an end of any one of the plurality of optical fibers for reflecting the optical detection signal;

the SFP optical module is used for sending an optical continuous detection signal to an optical fiber connected with a reflector according to a detection instruction;

the control module is used for analyzing a reflected light signal reflected by the reflector to obtain test data, comparing the test data with pre-stored reference data to generate a comparison result, and controlling whether to perform OTDR test on the optical fiber in the optical cable according to the comparison result;

and the OTDR test module is connected with the corresponding optical fiber at a port and is used for carrying out OTDR test under the control of the control module.

6. The apparatus of claim 5, further comprising:

and the alarm module is used for generating an alarm signal and sending the alarm signal to the network equipment when the comparison result is that the test data is not matched with the prestored reference data, so that the network management equipment controls the OTDR test module to perform the OTDR test through the control module according to the prestored corresponding relation among the OTDR test port, the optical fiber in the optical cable and the reflector in the network management equipment.

7. The apparatus of claim 5, wherein,

the SFP optical module is also used for controlling the SFP optical module to send an optical initial detection signal to an optical fiber connected with a reflector according to an open-loop test instruction;

and the control module is also used for analyzing the reflected light signals reflected by the reflector, and acquiring and storing reference data.

8. The apparatus of claim 5, wherein the control module comprises:

the data processing unit is used for analyzing reflected light signals reflected by the reflector to obtain test data and comparing the test data with pre-stored reference data to generate a comparison result;

and the control unit is used for controlling whether the OTDR test is carried out on the optical fiber in the optical cable or not according to the comparison result.

9. The apparatus of claim 5, wherein the OTDR test module comprises: an optical switch unit and an OTDR test unit; the OTDR test unit is connected with the optical switch unit; and each port of the OTDR test unit is connected with the corresponding optical fiber.

10. A detection system of an optical network, comprising the optical network detection device and the network management equipment according to any one of claims 5 to 9; the optical network detection device is in communication connection with the network management equipment and is used for detecting the optical network under the control of the network management equipment.

11. The system according to claim 10, wherein the optical network detection device includes an alarm module, and the network management equipment is further configured to receive and display an alarm signal sent by the alarm module.

12. An electronic device, comprising:

one or more processors;

storage means having one or more programs stored thereon which, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4.

13. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1-4.

Technical Field

The disclosed embodiments relate to the field of internet technologies, and in particular, to an optical network detection method, apparatus, system, electronic device, and computer-readable medium.

Background

In network communication, optical fiber communication is the fastest way of data transmission, various value-added services are increasing continuously, and the number of optical fibers used is developing rapidly. Whether the optical fiber line is normal or not is closely related to the production and life of human beings. Therefore, the rapid and continuous detection and diagnosis of the optical fiber condition are important.

Currently, methods for fiber optic diagnostics include: the first method comprises the following steps: an Optical Time Domain Reflectometer (OTDR) and an Optical switch unit are provided, and when a problem occurs in a certain Optical fiber line, the OTDR test and fault diagnosis are performed only when the Optical switch polls to an OTDR test port connected to the Optical fiber. This approach is inefficient to implement; one time of OTDR test is required to be 5-30 minutes to complete one test and analysis, and each optical switch can be provided to the next OTDR port for testing after the OTDR test of one port is required to be completed, so that the test of a plurality of OTDR monitoring lines is required to be completed for several hours. And the second method comprises the following steps: the optical power automatic alarm, the remote end of the mode needs to be configured with active light source equipment; in a span 1 × N scene, the first half cannot realize optical power detection; the online scheme requires service splitting and the splitter needs to be customized. And the third is that: the service alarm triggering needs to be in butt joint with a communication equipment alarm management system, interface customized development or cross-provider system development, needs to be mainly coordinated and developed by customers, has a long period, and brings certain difficulty to later maintenance.

Disclosure of Invention

The embodiment of the disclosure provides an optical network detection method, an optical network detection device, an optical network detection system, electronic equipment and a computer readable medium.

In a first aspect, an embodiment of the present invention provides an optical network detection method, configured to detect an optical fiber in an optical cable; wherein the optical cable comprises a plurality of optical fibers, and a reflector is connected to the tail end of any one of the optical fibers; the method comprises the following steps:

controlling the SFP optical module to send an optical continuous detection signal to an optical fiber connected with a reflector according to the detection instruction;

analyzing a reflected light signal reflected by the reflector to obtain test data;

comparing the test data with pre-stored reference data to generate a comparison result;

and controlling whether the OTDR test is carried out on the optical fiber in the optical cable or not according to the comparison result.

In some embodiments, the controlling whether the optical fiber in the optical cable performs the OTDR test according to the comparison result includes:

and when the comparison result is that the test data is not matched with the prestored reference data, controlling an alarm module to generate an alarm signal and sending the alarm signal to the network management equipment so that the network management equipment controls the OTDR test module to carry out OTDR test according to the prestored corresponding relation among the OTDR test port, the optical fiber in the optical cable and the reflector in the network management equipment.

In some embodiments, the optical network detection method further comprises:

controlling the SFP optical module to send an optical initial detection signal to an optical fiber connected with a reflector according to an open-loop test instruction;

and analyzing the reflected light signal reflected by the reflector, and acquiring and storing reference data.

In some embodiments, the reference data comprises at least a reference reflected light power value and/or a length of a reference optical fiber.

In a second aspect, an embodiment of the present invention provides an optical network detection apparatus, configured to detect an optical fiber in an optical cable; wherein the optical cable comprises a plurality of optical fibers comprising:

a reflector connected to an end of any one of the plurality of optical fibers for reflecting the optical detection signal;

the SFP optical module is used for sending an optical continuous detection signal to an optical fiber connected with a reflector according to a detection instruction;

the control module is used for analyzing a reflected light signal reflected by the reflector to obtain test data, comparing the test data with pre-stored reference data to generate a comparison result, and controlling whether to perform OTDR test on the optical fiber in the optical cable according to the comparison result;

and the OTDR test module is connected with the corresponding optical fiber at a port and is used for carrying out OTDR test under the control of the control module.

In some embodiments, the apparatus further comprises:

and the alarm module is used for generating an alarm signal and sending the alarm signal to the network equipment when the comparison result is that the test data is not matched with the prestored reference data, so that the network management equipment controls the OTDR test module to perform the OTDR test through the control module according to the prestored corresponding relation among the OTDR test port, the optical fiber in the optical cable and the reflector in the network management equipment.

In some embodiments, the SFP optical module is further configured to control the SFP optical module to send an optical initial detection signal to an optical fiber connected to the reflector according to an opening test instruction sent by the network management device;

and the control module is also used for analyzing the reflected light signals reflected by the reflector, and acquiring and storing reference data.

In some embodiments, the control module comprises:

the data processing unit is used for analyzing reflected light signals reflected by the reflector to obtain test data and comparing the test data with pre-stored reference data to generate a comparison result;

and the control unit is used for controlling whether the OTDR test is carried out on the optical fiber in the optical cable or not according to the comparison result.

In some embodiments, the OTDR test module comprises: an optical switch unit and an OTDR test unit; the OTDR test unit is connected with the optical switch unit; and each port of the OTDR test unit is connected with the corresponding optical fiber.

In a third aspect, an embodiment of the present invention provides a detection system for an optical network, including the above optical network detection apparatus and network management equipment; the optical network detection device is in communication connection with the network management equipment and is used for detecting the optical network under the control of the network management equipment.

In some embodiments, the optical network detection apparatus includes an alarm module, and the network management device is further configured to receive and display an alarm signal sent by the alarm module.

In a fourth aspect, an embodiment of the present invention provides an electronic device, including:

one or more processors;

a storage device having one or more programs stored thereon which, when executed by the one or more processors, cause the one or more processors to implement the method described above.

In a fifth aspect, the present invention provides a computer readable medium, on which a computer program is stored, and when the program is executed by a processor, the method is implemented.

The optical network detection method in the embodiment of the invention is applied to optical network detection, and adopts the reflection of a detection optical fiber end access reflector; a plurality of monitoring optical fibers are accessed to an SFP optical module port; the SFP port sends light with special frequency, the light is emitted to a plurality of monitoring optical fibers at the same time, the reflector returns a reflection peak with higher optical power, the control module only processes the reflection peaks with higher optical power of a small number of reflectors, and the efficiency is greatly improved; and only when a certain reflector is abnormally monitored, the OTDR test that the reflector binds the OTDR monitoring port is initiated. The invention can complete the monitoring of a plurality of lines within a few seconds, reduces the period from a few hours of the original traditional OTDR monitoring to a few seconds, and greatly improves the efficiency. In addition, the SFP optical module has low manufacturing cost and can be installed by plugging. The network management system stores the binding relationship between the continuous monitoring line and the service line; when the network management equipment receives the alarm, the OTDR test of the bound line is triggered, so that detailed diagnosis of the continuous fault is realized, and the diagnosis with a clear target improves the diagnosis efficiency of the hidden fault of the line. The line for continuous monitoring has the advantages of continuous monitoring, short time consumption, high efficiency and no influence on services. The binding relation stored by the network management equipment can be bound across network elements according to the actual networking condition, and the rapid and continuous detection of the line is flexibly realized.

Drawings

The accompanying drawings are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the principles of the disclosure and not to limit the disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments thereof with reference to the attached drawings, in which:

FIG. 1 is a schematic view of an optical network detection apparatus assembled with an optical fiber in an optical cable;

FIG. 2 is a schematic view of another optical network test apparatus according to an embodiment of the present invention assembled with an optical fiber in an optical cable;

FIG. 3 is a schematic view of an optical network detection system according to an embodiment of the present invention assembled with optical fibers in an optical cable;

FIG. 4 is a flowchart of a method for detecting an optical network according to an embodiment of the present invention;

fig. 5 is a flowchart of step S0 of the optical network detection method according to the embodiment of the present invention.

Detailed Description

In order to make those skilled in the art better understand the technical solution of the present invention, the following describes in detail an optical network detection method, an apparatus, a system, an electronic device, and a computer-readable medium provided by the present invention with reference to the accompanying drawings.

Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

Embodiments described herein may be described with reference to plan and/or cross-sectional views in light of idealized schematic illustrations of the disclosure. Accordingly, the example illustrations can be modified in accordance with manufacturing techniques and/or tolerances. Accordingly, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on a manufacturing process. Thus, the regions illustrated in the figures have schematic properties, and the shapes of the regions shown in the figures illustrate specific shapes of regions of elements, but are not intended to be limiting.

Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

The embodiment of the invention provides a detection method of an optical network, and an optical network detection device and system capable of realizing the detection method of the optical network. In order to clearly describe the optical network detection method according to the embodiment of the present invention, first, an optical network detection apparatus and an optical network detection system according to the embodiment of the present invention are described below.

Fig. 1 is a schematic view of an optical network detection apparatus assembled with an optical fiber in an optical cable. The number of the optical cables is n, and the optical cables are respectively marked as an optical cable 1, an optical cable 2 and an optical cable 3. And each of the cables includes a plurality of optical fibers therein.

Referring to fig. 1, an optical network detection apparatus 1 in the embodiment of the present invention may include: an SFP (Small Form-factor plug) optical module 11, a control module 12, an OTDR test module 13 and n reflectors. Wherein, reflectors (A1, A2, A3 … … An shown in figure 1) are arranged corresponding to the optical cables one by one, and each reflector is connected with the end of any optical fiber in the corresponding optical cable; the SFP optical module 11 is used for providing an optical detection signal for an optical fiber connected with a reflector; the control module 12 is configured to analyze the reflected light signal reflected by the reflector to obtain test data, compare the test data with reference data stored in advance, generate a comparison result, determine whether the optical fiber connected to the reflector has a fault, and control the OTDR test module 13 to perform an OTDR test when the optical fiber has the fault, to obtain specific fault information of the optical fiber, so that a maintenance worker can repair the optical fiber.

The functions of the SFP optical module 11, the control module 12, the OTDR test module 13, and the reflector will be specifically described below.

SFP optical module 11: can emit optical signals with specific frequency and specific wavelength.

Specifically, the SFP optical module 11 can send an optical initial detection signal to an optical fiber connected to a reflector according to a command sent by network management equipment (network management system) during an open-end test, so that the control module 12 obtains reference data according to a reflection signal of the reflector. Of course, when continuously detecting, the SFP optical module 11 sends an optical continuous detection signal to the optical fiber connected to the reflector according to an instruction sent by the network management device (network management system), so that the control module 12 obtains test data according to the reflected signal of the reflector.

Reflectors (a 1, a2, A3 … … An shown in fig. 1): only the test light wave sent by the SFP optical module 11 is reflected back, and a strong reflection is generated at the position of the reflector, so that the control module 12 can identify the length of the current optical fiber and the reflected light power value of the reflection point.

The control module 12: the SFP optical module 11 and the OTDR test module 13 are configured to receive a test signal (or a test instruction) sent by the network management device, and control the SFP optical module 11 and the OTDR test module 13 to execute corresponding test tasks.

Fig. 2 is a schematic view of an optical network detecting apparatus according to another embodiment of the present invention assembled with an optical fiber in an optical cable. In some embodiments of the present invention, referring to fig. 2, the control module 12 may specifically include a control unit 122 and a data processing unit 121.

The control unit 122 is configured to receive a test signal sent by the network management device to notify the data processing unit 121; and receiving data (signal) processed by the data processing unit 121 to notify the network management device, and feeding back the test status to the network management device.

The data processing unit 121 is configured to receive the signal sent by the control unit 122, and issue a test command to the SFP optical module 11 together with the test parameters stored in the network management device for testing. After the test is completed, the reflected light signal reflected by the reflector is analyzed to obtain test data, so that the control unit 122 is configured to compare the test data with reference data stored in advance to generate a comparison result, and control whether to perform an OTDR test on an optical fiber in the optical cable according to the comparison result.

OTDR test module 13: the ports of which are connected to corresponding optical fibers for performing OTDR testing under the control of the control module 12.

In some embodiments of the invention, referring to fig. 2, the OTDR test module 13 comprises: an optical switching unit 131 and an OTDR test unit 132; the OTDR test unit 132 is connected to the optical switch unit 131; each port of the OTDR test unit 132 is connected to its corresponding optical fiber. The optical switch unit 131 is used to provide an optical detection signal, and the OTDR test unit 132 provides the optical detection signal provided by the optical switch unit 131 to a corresponding optical fiber through a corresponding port thereof, so as to detect a specific fault of the optical fiber.

The corresponding relation between the reflector and the OTDR test fiber and the test port is fixed already at the time of deployment and stored in the network management device, as shown in table one.

Reflector OTDR monitoring optical fiber OTDR test port
A1 B 1
A2 C、D 2,3
A3 ……

Watch 1

In some embodiments of the present invention, referring to fig. 2, the optical network detection apparatus may further include an alarm module 14, where the alarm module 14 is configured to generate an alarm signal and send the alarm signal to the network management device when the comparison result is that the test data is not matched with the pre-stored reference data, so that the network management device controls the OTDR test module 13 to perform an OTDR test through the control module 12 according to a correspondence between the pre-stored OTDR test port in the network management device and an optical fiber in the optical cable.

Taking the control module 12 including the data processing unit 121 and the control unit 122 as an example, the open-end test stores the test result data as a reference; if the reference data exists, continuously testing, comparing with the reference data, and judging whether the abnormality exists; triggering an alarm under an abnormal condition; the transition from the abnormal state to the normal state also informs the alarm module 14. The control unit is informed of the test status. The alarm module 14 receives the data reported by the data processing module, and reports the data to the network management system in a Trap message (Trap) manner.

Fig. 3 is a schematic view illustrating an assembly of an optical network detection system and an optical fiber in an optical cable according to an embodiment of the present invention. Referring to fig. 3, an embodiment of the present invention further provides an optical network detection system, which includes the optical network detection apparatus 1 and a network management device 2 communicatively connected to the optical network detection apparatus 1. The following describes the network management device 2 in detail.

The network management equipment 2 is used for controlling the optical network detection device 1 to detect the optical fiber in the optical cable, and specifically, the network management equipment 2 can configure test parameters of open-circuit test and rapid test for configuring the SFP optical module 11 and generate a corresponding detection instruction; and storing a corresponding relation table between the test port of the OTDR detection module 12 and the reflector and the OTDR test optical fiber, and controlling the OTDR detection module 12 to perform a detailed test on the optical fiber in the cable. Of course, the network management device 2 may also present, eliminate, etc. the alarm signal of the alarm module 14.

The respective functions of the network management device 2 are explained below.

1. For the control optical network detection device 1 to detect the optical fiber in the optical cable: the detection comprises an opening test and a rapid test; during the opening test, the network management device 2 sends a detection instruction of the opening test to notify the SFP optical module 11 of the optical network detection apparatus 1 to perform the opening test, and after the detection is completed, a graph in which the test result includes optical power changing along with the curve and an event list can be checked, and the characteristic parameters of each event include: event type, location, reflection peak, etc., and stored in the control module. Wherein, the event in the embodiment of the present invention refers to a reflector; the open-loop test is mainly used for obtaining the reference data, namely the reference data is stored in the control module.

During the rapid test, the network management device 2 sends a rapid detection instruction to notify the SFP optical module 11 of the optical network detection apparatus 1 to perform the rapid test, and continuously present the detection state. After the detection is finished, a graph of which the test result comprises the change of the optical power along with the curve and an event list can be checked, and the characteristic parameters of each event comprise: event type, location, reflection peak, and comparison with reflection peak, location of open-run test, identify presence of anomalies.

2. The network management equipment 2 configures test parameters of the configuration opening test and the rapid test of the SFP optical module 11: the user can adjust the measured optical fiber length change threshold value of each reflector and the change threshold value of the reflection peak value within a certain range according to the actual situation through the network management equipment 2. And storing a corresponding relation table of the test port of the OTDR detection module 13, the reflector and the OTDR test optical fiber, and controlling the OTDR detection module to perform a detailed test on the optical fiber in the cable.

3. The network management equipment 2 processes the alarm signal: the network management equipment 2 receives the alarm signal reported by the alarm module 14 of the optical network detection device 1, presents the alarm content on the network management equipment, analyzes the alarm details, inquires the corresponding relation between the test port of the OTDR detection module 13 stored in the network management equipment and the reflector and OTDR test optical fiber according to the details, acquires the OTDR test port bound by the optical fiber, notifies the OTDR detection module, and initiates a detailed diagnostic line test on the ports.

4. The network management device 2 performs detailed diagnosis and management on the OTDR detection module 13: the user initiates a health database data test to the network management equipment, tracks the test state and tests the result. And obtaining a normal line state through a test result, and obtaining line length, device type and position information through analyzing event types, positions, insertion loss, attenuation, reflection peak values and the like. And initiating a test corresponding to the test module in detail according to the notification sent by the alarm module. And establishing a test task, initiating a test, and analyzing test data after the test is finished. And comparing the data with the data of the health database, and reporting an alarm if the abnormality occurs, such as optical fiber breakage, device abnormality and the like. The user initiates the detailed test, and the specific user can manually initiate the detailed test according to the requirement. Test process management, test curve, result presentation, etc. can also be performed.

FIG. 4 is a flowchart of a method for detecting an optical network according to an embodiment of the present invention; referring to fig. 4, an embodiment of the present invention further provides a method for detecting an optical network, where the method may be implemented by using the detection apparatus for an optical network. The method specifically comprises the following steps:

and S1, controlling the SFP optical module to send the optical continuous detection signal to the optical fiber connected with the reflector according to the detection command.

Specifically, in step S1, when receiving the detection instruction sent by the network management device, the control module in the optical network detection apparatus controls the SFP optical module to send the optical continuous detection signal to the optical fiber connected to the reflector. The detection instruction sent by the network management equipment includes a detection parameter configured for the rapid detection by the network management equipment, that is, the SFP optical module is controlled to transmit an optical continuous detection signal with a specific frequency and a specific wavelength. It should be noted that the detection instruction includes, but is not limited to, being sent by the network management device.

And S2, analyzing the reflected light signal reflected by the reflector to obtain test data.

Specifically, in step S2, the control module in the optical network detection apparatus analyzes the reflected light signal fed back by the reflector to obtain test data, where the test data mainly includes the length of the optical fiber and the power of the reflected light. If the control module comprises a control unit and a data processing unit, the data processing unit analyzes the reflected light signal fed back by the reflector to obtain test data.

S3, comparing the test data obtained in the step S2 with the pre-stored reference data to generate a comparison result, and judging whether to execute the step S4 according to the comparison result.

Specifically, in step S3, the data processing unit in the control module compares the test data in step S2 with the reference data to generate a comparison result. It will be appreciated that the reference data should be a reference parameter corresponding to the test data, i.e. the reference data comprises a reference fibre length and reflected light power. Wherein, the basis of comparison is as follows: length of optical fiber: whether the original event (reflector) position changes, such as the reflection event disappears, etc.; reflected light power: whether the measurement data exceeds a threshold. When the comparison result is that the position of the original event (reflector) is changed, and/or the reflected light power exceeds the threshold, i.e. it represents that there is a fault in the light, step S4 is executed. If the test data is matched with the pre-stored reference data in step S3, step S4 is not required.

And S4, carrying out OTDR test on the optical fiber in the optical cable.

Specifically, in step S4, the comparison result obtained in step S3 is sent to the network management device through the control unit of the control module, and the network management device controls the OTDR test module to perform the OTDR test according to the correspondence (for example, table one) between the reflector and the OTDR test fiber and the test port, which is pre-stored in the network management device.

The optical network detection method in the embodiment of the invention is applied to optical network detection, and adopts the reflection of a detection optical fiber end access reflector; a plurality of monitoring optical fibers are accessed to an SFP optical module port; the SFP port sends light with special frequency, the light is emitted to a plurality of monitoring optical fibers at the same time, the reflector returns a reflection peak with higher optical power, the control module only processes the reflection peaks with higher optical power of a small number of reflectors, and the efficiency is greatly improved; and only when a certain reflector is abnormally monitored, the OTDR test that the reflector binds the OTDR monitoring port is initiated. The invention can complete the monitoring of a plurality of lines within a few seconds, reduces the period from a few hours of the original traditional OTDR monitoring to a few seconds, and greatly improves the efficiency. In addition, the SFP optical module has low manufacturing cost and can be installed by plugging. The network management system stores the binding relationship between the continuous monitoring line and the service line; when the network management equipment receives the alarm, the OTDR test of the bound line is triggered, so that detailed diagnosis of the continuous fault is realized, and the diagnosis with a clear target improves the diagnosis efficiency of the hidden fault of the line. The line for continuous monitoring has the advantages of continuous monitoring, short time consumption, high efficiency and no influence on services. The binding relation stored by the network management equipment can be bound across network elements according to the actual networking condition, and the rapid and continuous detection of the line is flexibly realized.

Fig. 5 is a flowchart of step S0 of the optical network detection method according to the embodiment of the present invention; in some embodiments of the present invention, the optical network detection method not only includes the above steps S1-S4, but also includes, before step S1, the steps of S0, acquiring and storing the reference data. Wherein, referring to fig. 5, step S0 may include:

and S01, controlling the SFP optical module to send an optical initial detection signal to the optical fiber connected with the reflector according to the opening test instruction.

Specifically, in step S01, the SFP optical module in the optical network detection apparatus can transmit the optical initial detection signal to the optical fiber to which the reflector is connected according to the instruction transmitted by the network management device (network management system) during the open-end test. It should be noted that, the opening test instruction includes, but is not limited to, being sent by the network management device.

And S02, analyzing the reflected light signal reflected by the reflector, acquiring and storing reference data.

Specifically, in step S02, the control module in the optical network detection apparatus obtains the reference data according to the reflection signal of the reflector. Wherein the reference data comprises a reference reflected light power value and/or a length of a reference optical fiber.

Step S0 will be described by way of example. The SFP port optical module emits light, the frequency of transmitted light is not used in other services/scenes, for example, 10ns, all optical fibers connected with the SFP port receive the transmitted light at the same time, the light returns to a strong reflection peak after encountering a reflector, the data processing unit only processes reflector reflection peak data of special frequency light of the SFP optical module, the distance of each reflector reflection peak is calculated, and the reflector is identified according to the distance setting. Such as: a. the1The distance measurement corresponding to the event is 15km, the reflected light power is 200dB, A2The corresponding distance measurement of the event is 10km, the optical power is the reflection peak is 210dB, A3The range corresponding to the event is 8km and the reflected light power is 220 dB. The reflector data received by the control module of the optical network detection device is used as reference data. Wherein A is1、A2Respectively represent a reflector 1 and a reflector 2; ranging refers to the length of the optical fiber.

In some embodiments of the present invention, step S4 in the above embodiments may specifically include: and the control alarm module generates an alarm signal, and sends the alarm signal to the network management equipment so that the network management equipment controls the OTDR test module to perform OTDR test according to the corresponding relation of the OTDR test port, the optical fiber in the optical cable and the reflector which is pre-stored in the network management equipment.

Specifically, when receiving a comparison result when the test data is not matched with the pre-stored reference data, the alarm module in the optical network detection module sends an alarm signal to the network management equipment, for example, if the reflection peak of the reflector 2 disappears, the alarm signal carries the fault information of the reflector 2, and the alarm signal sends an alarm to the network management equipment. After receiving the alarm signal, the network management device analyzes the reflector information in the alarm signal, such as the reflector 2, and queries the OTDR test port bound to the reflector in the alarm signal according to the correspondence (table one above) of the OTDR test port, the optical fiber in the optical cable, and the reflector stored in the network management device in advance, such as the reflector 2 is bound to two OTDR test ports, 2 and 3, and the network management device triggers the OTDR test on the OTDR test port (each test takes ten minutes). After the OTDR test is finished, detailed test data are obtained, and more detailed analysis information is analyzed. If the detected data of the reflector is normal, checking whether the original detected data is normal, and if the original data of a certain reflector is abnormal, considering that the optical fiber where the reflector is located is normal; and if the alarm originally exists, eliminating the alarm presented by the network management system.

An embodiment of the present disclosure further provides an electronic device, which includes:

one or more processors;

a storage device, on which one or more programs are stored, which, when executed by one or more processors, cause the one or more processors to implement any of the above-described methods of optical network detection.

The disclosed embodiments provide a computer-readable medium, on which a computer program is stored, which when executed by a processor implements any of the above-mentioned optical network detection methods.

It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种光纤侧向散射信号的获取装置及探测方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!