Detection method, detection device, optical module and network device

By sending target optical signals containing service and link information in the optical communication link, and using detection equipment to perform top adjustment and macrobend detection, the problem of complex and difficult to identify optical fiber connection relationships in the optical fiber network is solved, and fast and accurate optical fiber connection recognition and update are achieved.

CN120301504APending Publication Date: 2025-07-11HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410046565.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-11
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In fiber optic network communication systems, passive devices such as optical fiber, flanges and ODF lack active monitoring methods, resulting in complex fiber connection relationships in optical communication links and difficult to quickly identify and update, which can easily lead to network accidents.

Method used

By sending a target optical signal containing service information and link information in the optical communication link, the detection device obtains link information without affecting service transmission, and the specific connection status of the optical communication link is obtained using top-tuning technology and macrobend detection method.

Benefits of technology

It realizes the rapid and accurate identification and update of optical fiber connection relationships without interrupting the optical communication link connection, and avoids network accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120301504A_ABST
    Figure CN120301504A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a detection method, detection equipment, an optical module and network equipment. The method comprises the following steps: a first network device sends a target optical signal to a second network device through an optical communication link; wherein the target optical signal comprises a service optical signal and a detection optical signal containing link information. The detection device is in contact with the outside of the optical communication link, can obtain the target optical signal from the optical communication link, and obtains link information based on the detection optical signal in the target optical signal. According to the invention, the detection device is arranged outside the optical communication link, so that the detection device can obtain the link information from the optical communication link under the condition that the service transmission between the network devices is not influenced, and the detection of the optical communication link is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of optical communication, and in particular, to a detection method, a detection device, an optical module, and a network device. Background Art

[0002] In a fiber optic network communication system, the optical communication link between network devices mainly includes optical fibers, flanges, and ODFs (Optical Distribution Frames). In the entire network topology, since optical fibers, flanges, and ODFs are all passive devices without active monitoring means, they are generally referred to as dumb resources in the industry.

[0003] With the expansion and rectification of optical communication networks, the fiber connection relationships corresponding to the optical communication links between network devices are becoming increasingly complex. During the system setup process, it is difficult to enter the source or destination ends (i.e., the transmitting and receiving ends) of the optical fibers and the passing route information. In the system rectification scenario, the recorded fiber link connection relationships will also change due to network maintenance or cutover. When performing fiber optic network construction, service provisioning, and subsequent maintenance, a fast and effective means is required to identify fiber connection relationships to avoid the situation where primary and backup services share the same optical cable and incorrect connection relationship records, which may lead to subsequent network accidents.

[0004] Currently, when network operators solve the above problems, they mainly use the method of manually attaching labels. For example, during system setup, operators record each fiber jump point passed by the optical fiber into the asset management system according to the docking relationship of the optical communication link. At the same time, operators print source and destination end information labels at each fiber joint and bind them to the optical fiber. In actual system usage scenarios or system maintenance scenarios, operators can identify the corresponding relationships of numerous optical cables and optical fibers based on the information recorded in the asset management system and the label information at each joint. Moreover, operators can complete the update and tracking of fiber optic links in the system rectification scenario by manually changing the records and labels. Summary of the Invention

[0005] The present application provides a detection method, a detection device, an optical module, and a network device. In this method, without affecting service transmission, the detection device can obtain link information that can identify the optical communication link.

[0006] In a first aspect, the present application provides a detection method. The method includes: a first network device sends a target optical signal to a second network device through an optical communication link between the first network device and the second network device. The target optical signal includes: a service optical signal containing service information and a detection optical signal containing link information. The link information includes at least one of the device information of the first network device, the device information of the second network device, and the route information of the optical communication link. A detection device acquires the target optical signal transmitted by the optical communication link. The detection device is in contact with the outside of the optical communication link. The detection device acquires the link information based on the detection optical signal in the target optical signal. The second network device receives the target optical signal. In this way, the network device in the present application can send a target optical signal including link information and service information to transmit link information that can identify the topology of the optical communication link in the communication link while transmitting service data. The detection device is placed outside the optical communication link that is transmitting the target optical signal. The detection device can acquire the target optical signal transmitted in the optical communication link and acquire the link information corresponding to the optical communication link based on the detection optical signal in the target optical signal. Thus, the detection of the optical communication link can be realized without affecting the transmission of service data between network devices, or it can be understood as not destroying the communication connection of the optical communication link. Moreover, by the link information carried by the detection optical signal, the detection device can acquire the specific connection situation of the optical communication link.

[0007] Exemplarily, during the process that the network device continuously sends a target optical signal including a service optical signal and a detection optical signal, an operator can place the detection device at any position of the optical communication link to be detected to detect the optical communication link. Exemplarily, in a scenario where there are multiple optical communication links, the network device connected to the optical communication link to be detected sends a target optical signal including a detection signal, or each network device on multiple communication links can send a target optical signal including a detection signal. The operator can place the detection device at any position on any optical communication link to detect the optical communication link. The operator only needs to move the detection device to realize the detection of any position on any optical communication link, thereby providing a convenient and fast detection method without destroying the original connection mode of the optical communication link, that is, the detection of the optical communication link can be realized without affecting the transmission of service data.

[0008] Exemplarily, the detection optical signal is optionally a tone-on-carrier optical signal, and the network device can obtain the target optical signal through tone-on-carrier technology.

[0009] In a possible implementation, the detection device acquires a target optical signal transmitted by an optical communication link, including: the detection device acquires the target optical signal transmitted through the optical communication link. In this way, the detection device in the present application is arranged outside the optical communication link and can acquire the target optical signal transmitted through the optical communication link without damaging the connection state of the optical communication link. When the network device maintains a communication connection, that is, maintains service interaction, the detection device can acquire the optical signal transmitted in the communication link and further acquire link information to implement the detection of the optical communication link.

[0010] In a possible implementation, the contact part between the optical communication link and the detection device is curved. In this way, the detection device in the present application can acquire the transmitted optical signal from the optical communication link through the macro-bending detection method. It will neither damage the physical connection of the optical communication link nor affect the transmission of service signals.

[0011] In a possible implementation, the signal frequency of the detection optical signal is lower than the signal frequency of the service optical signal. In this way, through two different types, that is, optical signals with different frequencies, the receiving end (such as the detection device and / or the second network device) can separate the service optical signal from the detection optical signal. The detection signal in the present application can acquire the low-frequency detection optical signal from the target optical signal without affecting the high-frequency service signal.

[0012] In a possible implementation, the device information of the first network device includes at least one of the following: the identification information of the first network device, the identification information of the connection port corresponding to the first network device in the optical communication link, and extended information. In this way, by detecting the link information carrying the device information of the first network device in the signal, the present application can enable the detection device to acquire the connection situation between the optical communication link and the transmitting end (i.e., the first network device), so that the operator can make a judgment on the label and connection situation of the optical communication link based on this link information.

[0013] In a possible implementation, the device information of the second network device includes at least one of the following: the identification information of the second network device, the identification information of the connection port corresponding to the second network device in the optical communication link, and extended information. In this way, by detecting the link information carrying the device information of the second network device in the signal, the present application can enable the detection device to acquire the connection situation between the optical communication link and the receiving end (i.e., the second network device), so that the operator can make a judgment on the label and connection situation of the optical communication link based on this link information.

[0014] In a possible implementation, the optical communication link passes through at least one intermediate device, and the route information includes at least one of the following: the identification information of the intermediate device, and the identification information of the connection port corresponding to the optical communication link in the intermediate device. In this way, by detecting the link information carrying the device information including the intermediate device in the signal, the detection device can obtain the connection situation between the optical communication link and the intermediate device, so that the operator can make a judgment on the label and connection situation of the optical communication link based on the link information.

[0015] Exemplarily, the optical communication link may include an intermediate device or may not include an intermediate device.

[0016] Exemplarily, the detection device can be placed on the optical communication link in front of any intermediate device to detect whether the port connection between the optical communication link and the intermediate device is consistent with the identification in the link information.

[0017] Exemplarily, the intermediate device can be an active device or a passive device.

[0018] In a possible implementation, the extended information includes at least one of the following: the module information of the optical module corresponding to the connection port, the transmission distance information of the target optical signal, the code pattern information of the target optical signal, the wavelength information of the target optical signal, the optical power information of the target optical signal, and the alarm information. In this way, through the other information carried by the link information, the detection device can obtain more and more detailed status of the optical communication link.

[0019] In a possible implementation, the detection optical signal includes a frame header field and a data field; the link information is carried in the data field, and the preamble is included in the frame header field. In this way, the receiving end and the detection end (i.e., the detection device) can accurately identify the detection signal based on the preamble, and then further process the detection signal.

[0020] In a possible implementation, the data field includes at least one of the following: a first field carrying the device information of the first network device, a second field carrying the device information of the second network device, and a third field carrying the route information; the first field includes a first annotation for indicating that the first field is used to carry the device information of the first network device; the second field includes a second annotation for indicating that the second field is used to carry the device information of the second network device; the third field includes a third annotation for indicating that the third field is used to carry the route information. In this way, different information can be effectively distinguished through different annotation information, and each information in the link information is displayed at intervals.

[0021] In a possible implementation, the detection device obtains link information based on the detection optical signal in the target optical signal, including: the detection device performs optoelectronic conversion on the target optical signal to obtain a detection signal. In this way, based on the different frequencies of the detection optical signal and the service optical signal, the detection device can separate the detection signal and filter out the service signal, thereby ensuring the security of service data.

[0022] In a possible implementation, the detection device obtains link information based on the detection optical signal in the target optical signal, including: the detection device decodes the detection signal according to a preset coding method to obtain link information. In this way, through the agreed coding method, both the detection device and the receiving end can decode the detection signal according to the specified coding method to obtain link information.

[0023] In a possible implementation, the first network device sends a target optical signal to the second network device through an optical communication link between the first network device and the second network device, including: the first network device obtains link information; the first network device encodes the link information according to a preset coding method to obtain the encoded link information; the first network device obtains the target optical signal based on the encoded link information. In this way, the transmitting end encodes the link information according to the agreed coding method, so that the detection device with the same encoding and decoding ability can decode the detection optical signal to obtain the link information. Moreover, the first network device (i.e., the transmitting end) can enable the detection device and the receiving end to obtain the link information by sending the target optical signal including the link information, thereby determining the connection topology of the optical communication link.

[0024] In a possible implementation, the first network device obtains the target optical signal based on the encoded link information, including: the first network device processes the encoded link information to obtain a detection signal; the first network device obtains a target electrical signal based on the detection signal and the service signal including service information; the first network device performs optoelectronic conversion on the target electrical signal to obtain the target optical signal. In this way, the first network device superimposes the detection signal and the service signal to obtain the target electrical signal, and then obtains the target optical signal, so that it can transmit the detection optical signal including the link information without affecting the service signal.

[0025] In a possible implementation, the first network device obtains a target optical signal based on the encoded link information, including: the first network device processes the encoded link information to obtain a detection signal; the first network device performs optoelectronic conversion on a service signal containing service information to obtain a service optical signal; the first network device modulates the service optical signal based on the detection signal to obtain the target optical signal. The present application also provides a modulation method for the detection signal and the service signal, that is, the optical signal can be modulated based on the detection signal to obtain the optical signal. Thus, by providing different modulation methods, they can be applied to different types of optical modules.

[0026] In a possible implementation, after the second network device receives the target optical signal, it further includes: the second network device obtains link information based on the detection optical signal in the target optical signal; the second network device obtains service information based on the service optical signal in the target optical signal. In this way,

[0027] In a second aspect, the present application provides a detection method. This method is applied to a detection device. The detection device is in external contact with the optical communication link between the first network device and the second network device. The first network device conducts data interaction with the second network device through the optical communication link. The method includes: obtaining the target optical signal transmitted in the optical communication link, where the target optical signal includes: a service optical signal containing service information and a detection optical signal containing link information, and the link information includes at least one of the device information of the first network device, the device information of the second network device, and the route information of the optical communication link. Obtaining the link information based on the detection optical signal in the target optical signal.

[0028] In a possible implementation, the detection device obtains the target optical signal transmitted by the optical communication link, including: the detection device obtains the target optical signal transmitted through the optical communication link.

[0029] In a possible implementation, the contact part between the optical communication link and the detection device is curved.

[0030] In a possible implementation, the signal frequency of the detection optical signal is lower than the signal frequency of the service optical signal.

[0031] In a possible implementation, obtaining the link information based on the detection optical signal in the target optical signal includes: performing optoelectronic conversion on the target optical signal to obtain a detection signal; decoding the detection signal according to a preset coding method to obtain the link information.

[0032] The second aspect and any implementation manner of the second aspect respectively correspond to the first aspect and any implementation manner of the first aspect. For the technical effects corresponding to the second aspect and any implementation manner of the second aspect, reference may be made to the technical effects corresponding to the first aspect and any implementation manner of the first aspect above, which will not be elaborated here.

[0033] In a third aspect, the present application provides a detection method. The method is applied to a first network device, and the method includes: obtaining link information, where the link information includes at least one of device information of the first network device, device information of the second network device, and route information of the optical communication link between the first network device and the second network device; obtaining a target optical signal based on the link information; the target optical signal includes: a service optical signal containing service information and a detection optical signal containing link information; and sending the target optical signal to the second network device.

[0034] In a possible implementation manner, the device information of the first network device includes at least one of the following: identification information of the first network device, identification information of the connection port corresponding to the optical communication link in the first network device, and extended information.

[0035] In a possible implementation manner, the device information of the second network device includes at least one of the following: identification information of the second network device, identification information of the connection port corresponding to the optical communication link in the second network device, and extended information.

[0036] In a possible implementation manner, the optical communication link passes through at least one intermediate device, and the route information includes at least one of the following: identification information of the intermediate device, identification information of the connection port corresponding to the optical communication link in the intermediate device.

[0037] In a possible implementation manner, the extended information includes at least one of the following: module information of the optical module corresponding to the connection port, transmission distance information of the target optical signal, code pattern information of the target optical signal, wavelength information of the target optical signal, optical power information of the target optical signal, and alarm information.

[0038] In a possible implementation manner, the detection optical signal includes a frame header field and a data field; the link information is carried in the data field, and a preamble is included in the frame header field.

[0039] In a possible implementation, the data field includes at least one of the following: a first field carrying device information of a first network device, a second field carrying device information of a second network device, and a third field carrying route information of a passing-through route; the first field includes a first annotation, and the first annotation is used to indicate that the first field is used to carry device information of the first network device; the second field includes a second annotation, and the second annotation is used to indicate that the second field is used to carry device information of the second network device; the third field includes a third annotation, and the third annotation is used to indicate that the third field is used to carry route information of a passing-through route.

[0040] In a possible implementation, obtaining a target optical signal based on link information includes: encoding the link information according to a preset encoding method to obtain encoded link information; and obtaining a target optical signal based on the encoded link information.

[0041] In a possible implementation, obtaining a target optical signal based on the encoded link information includes: processing the encoded link information to obtain a detection signal; obtaining a target electrical signal based on the detection signal and a service signal including service information; and performing optoelectronic conversion on the target electrical signal to obtain a target optical signal.

[0042] In a possible implementation, obtaining a target optical signal based on the encoded link information includes: processing the encoded link information to obtain a detection signal; performing optoelectronic conversion on a service signal including service information to obtain a service optical signal; and modulating the service optical signal based on the detection signal to obtain a target optical signal.

[0043] The third aspect and any implementation of the third aspect respectively correspond to the first aspect and any implementation of the first aspect. For the technical effects corresponding to the third aspect and any implementation of the third aspect, reference may be made to the technical effects corresponding to the first aspect and any implementation of the first aspect above, which will not be elaborated here.

[0044] In a fourth aspect, the present application provides an optical module. The optical module includes: a module central processing module, a signal processing module, and a sending port; the module central processing module is configured to obtain link information, where the link information includes at least one of device information of a first network device, device information of a second network device, and route information of an optical communication link between the first network device and the second network device; the signal processing module is configured to obtain a target optical signal based on the link information; the target optical signal includes: a service optical signal including service information and a detection optical signal including link information; the sending port is configured to send the target optical signal to the second network device.

[0045] In a possible implementation, the device information of the first network device includes at least one of the following: the identification information of the first network device, the identification information of the connection port corresponding to the first network device in the optical communication link, and the extended information.

[0046] In a possible implementation, the device information of the second network device includes at least one of the following: the identification information of the second network device, the identification information of the connection port corresponding to the second network device in the optical communication link, and the extended information.

[0047] In a possible implementation, the optical communication link passes through at least one intermediate device, and the path routing information includes at least one of the following: the identification information of the intermediate device, and the identification information of the connection port corresponding to the intermediate device in the optical communication link.

[0048] In a possible implementation, the signal processing module includes a detection signal processing unit; the module central processing module is specifically configured to: encode the link information according to a preset encoding method to obtain the encoded link information; the detection signal processing unit is configured to: obtain a target optical signal based on the encoded link information.

[0049] In a possible implementation, the detection signal processing unit is specifically configured to: process the encoded link information to obtain a detection signal; obtain a target electrical signal based on the detection signal and a service signal including service information; perform optoelectronic conversion on the target electrical signal to obtain a target optical signal.

[0050] In a possible implementation, the signal processing module further includes an optoelectronic conversion unit; the optoelectronic conversion unit is configured to perform optoelectronic conversion on a service signal including service information to obtain a service optical signal; the detection signal processing unit is specifically configured to: process the encoded link information to obtain a detection signal; modulate the service optical signal based on the detection signal to obtain a target optical signal.

[0051] The fourth aspect and any implementation manner of the fourth aspect respectively correspond to the first aspect and any implementation manner of the first aspect. For the technical effects corresponding to the fourth aspect and any implementation manner of the fourth aspect, reference can be made to the technical effects corresponding to the first aspect and any implementation manner of the first aspect above, which will not be elaborated here.

[0052] In a fifth aspect, the present application provides a network device, including one or more processors; a memory; and one or more computer programs, where the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the network device is caused to execute the method executed by the first network device in the first aspect and any possible implementation manner of the first aspect.

[0053] Exemplarily, the network device may be an optical transmission device, an optical access device, an optical switching device, an optical amplification device, a router, a switch, a wireless base station, a wireless remote access device, a wireless baseband signal processing device, etc.

[0054] Exemplarily, the network device is connected to the network management device through a network communication interface, and the network device can implement information interaction with the network management device through the network communication interface.

[0055] Exemplarily, the network device may be a device integrated with an optical module, or may be an optical module, or may also be a single board.

[0056] In a sixth aspect, the present application provides a detection device, including one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the network device is caused to execute the method executed by the detection device in the first aspect and any possible implementation manner of the first aspect.

[0057] Exemplarily, the detection device may include a display screen for displaying link information.

[0058] Exemplarily, the detection device may be connected to external devices such as a printer and a terminal for sending link information to the external devices.

[0059] In a seventh aspect, the present application provides a detection system. The communication system includes any one of the above network devices, a detection device, and a power supply line. Among them, the power supply line is used to supply power to the network device.

[0060] In a possible implementation manner, the system further includes a network management device. The network management device is used for unified management and control of the communication system where it is located.

[0061] Exemplarily, the network device is connected to the network management device through a network communication interface, and the network device can implement information interaction with the network management device through the network communication interface.

[0062] Exemplarily, the detection device, the first network device, and / or the second network device may send the obtained link information to the network management device. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 One of the schematic structural diagrams of the communication system shown exemplarily;

[0064] Figure 2 One of the schematic structural diagrams of the communication system shown exemplarily;

[0065] Figure 3 One of the schematic structural diagrams of the communication system shown exemplarily;

[0066] Figure 4 One of the schematic structural diagrams of an exemplary communication system;

[0067] Figure 5A One of the schematic structural diagrams of an exemplary network device;

[0068] Figure 5B One of the schematic structural diagrams of an exemplary network device;

[0069] Figure 6 The schematic architecture diagram of an exemplary detection system;

[0070] Figure 7 The working flowchart of an exemplary detection system;

[0071] Figure 8 The schematic processing flow diagram on the side of the first network device;

[0072] Figure 9 The schematic diagram of an exemplary application scenario;

[0073] Figure 10A One of the schematic structural diagrams of an exemplary optoelectronic conversion module;

[0074] Figure 10B One of the schematic structural diagrams of an exemplary optoelectronic conversion module;

[0075] Figure 10C The schematic structural diagram of an exemplary optical signal processing module;

[0076] Figure 11 The schematic signal processing flow diagram;

[0077] Figure 12 One of the schematic diagrams of the data frame format of the exemplary overhead information;

[0078] Figure 13 One of the schematic diagrams of the data frame format of the exemplary overhead information;

[0079] Figure 14 The schematic diagram of the exemplary overhead technology;

[0080] Figure 15 The schematic signal processing flow diagram;

[0081] Figure 16 One of the schematic structural diagrams of an exemplary detection instrument;

[0082] Figure 17 One of the schematic structural diagrams of an exemplary detection instrument;

[0083] Figure 18 Schematic diagram of the processing flow on the detection instrument side shown by way of example;

[0084] Figure 19 One of the schematic diagrams of the structure of the photoelectric conversion module shown by way of example;

[0085] Figure 20A One of the schematic diagrams of the structure of the photoelectric conversion module shown by way of example;

[0086] Figure 20B One of the schematic diagrams of the structure of the photoelectric conversion module shown by way of example;

[0087] Figure 20C Schematic diagram of the structure of the signal processing module shown by way of example;

[0088] Figure 21 Schematic diagram of the structure of the device shown by way of example. Detailed implementation manners

[0089] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.

[0090] In this article, the term "and / or" is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.

[0091] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first target object and the second target object are used to distinguish different target objects, rather than to describe a specific order of the target objects.

[0092] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0093] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" refers to two or more. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.

[0094] Figure 1 Schematic diagram of the structure of the communication system shown by way of example. Please refer toFigure 1 In the communication system in the embodiments of the present application, it includes but is not limited to: an electronic device (referred to as a network device in the embodiments of the present application) and a power supply line. The network device can be an optical transmission device, an optical access device, an optical switching device, an optical amplification device, a router, a switch, a wireless base station, a wireless remote access device, or a wireless baseband signal processing device, etc.

[0095] As Figure 1 shown, in this system, the network device includes but is not limited to: a first network device 110 and a second network device 120. Among them, the first network device 110 includes but is not limited to a first optical module 111. The second network device 120 includes but is not limited to a second optical module 121. The power supply line includes but is not limited to: a first power supply line 112 and a second power supply line 122. Data interaction is carried out between the first network device 110 and the second network device 120 through optical jumpers (for example, including optical jumper 113 and optical jumper 123) and a communication optical cable 130, which can also be understood as interacting optical signals.

[0096] Exemplarily, Figure 1 The optical signal transmission path in the shown communication system can be: the first optical module 111 in the first network device 110 outputs an optical signal, and the optical signal is input into the communication optical cable 130 through the first optical jumper 113. The optical signal output by the communication optical cable 130 is input into the second optical module 121 of the second network device 120 of the second network device 120 through the second optical jumper 123, thereby realizing the optical signal transmission between the first optical module 111 and the second optical module 121.

[0097] Exemplarily, the first power supply line 112 is connected to the first network device 110, and the first power supply line 112 is used to supply power to the first network device 110. The second power supply line 122 is connected to the second network device 120, and the second power supply line 122 is used to supply power to the second network device 120.

[0098] Figure 2 It is a schematic structural diagram of another communication system shown exemplarily. Please refer to Figure 2 Compared with Figure 1 the communication system shown in Figure 2 the communication system shown in

[0099] also includes but is not limited to: a network management device 140, a first optical distribution frame (ODF) 114 and a second optical distribution frame 124, and a bidirectional optical jumper.

[0100] Exemplarily, the first optical distribution frame 114 is located between the first optical module 111 and the communication optical cable 130. The second optical distribution frame 124 is located between the second optical module 121 and the communication optical cable 130.

[0101] In this communication system, the optical jumper between the first network device 110 and the second network device 120 is a bidirectional optical jumper, which can realize the bidirectional transmission of optical signals between the first network device 110 and the second network device 120. That is, the first network device 110 can send optical signals to the second network device 120, and the second network device 120 can also send optical signals to the first network device 110.

[0102] Still referring to Figure 2 , in one example, the optical signal transmission path in this communication system can be: the optical signal output by the first optical module 111 is input into the communication optical cable 130 through the optical jumper 1131, the first optical distribution frame 114, and the optical jumper 1132. The optical signal output by the communication optical cable 130 is input into the second optical module 121 through the optical jumper 1231, the second optical distribution frame 124, and the optical jumper 1232.

[0103] In another example, the optical signal transmission path in this communication system can be: the optical signal output by the second optical module 121 is input into the communication optical cable 130 through the optical jumper 1234, the second optical distribution frame 124, and the optical jumper 1233. The optical signal output by the communication optical cable 130 is input into the first optical module 111 through the optical jumper 1134, the first optical distribution frame 114, and the optical jumper 1133, thereby realizing the bidirectional transmission of optical signals between the first optical module 121 and the second optical module 122.

[0104] Figure 3 It is a schematic structural diagram of another communication system shown exemplarily. Please refer to Figure 3 , Figure 3 The communication system shown in

[0105] includes but is not limited to: the first network device 110, the second network device 120, the network management device 140, the communication optical cable 130, etc. Among them, the first network device 110 includes but is not limited to the first optical module 111 and the third optical module 114. The second network device 120 includes but is not limited to the second optical module 121 and the fourth optical module 124. The power supply lines include but are not limited to: the first power supply line 112 and the second power supply line 122.

[0106] Figure 3 The optical signal transmission path in the communication system shown can be as follows: The first optical module 111 in the first network device 110 outputs an optical signal, and the optical signal is input into the communication optical cable 130 through the first optical jumper 113-1. The optical signal output from the communication optical cable 130 is input into the second optical module 121 of the second network device 120 through the second optical jumper 123-1, thereby realizing the optical signal transmission between the first optical module 111 and the second optical module 121.

[0107] The third optical module 114 in the first network device 110 outputs an optical signal, and the optical signal is input into the communication optical cable 130 through the first optical jumper 113-2. The optical signal output from the communication optical cable 130 is input into the fourth optical module 124 of the second network device 120 through the second optical jumper 123-2, thereby realizing the optical signal transmission between the third optical module 114 and the fourth optical module 124.

[0108] Figure 4 It is a schematic structural diagram of another communication system shown for illustration. Please refer to Figure 4 , Figure 4 The communication system shown in includes but is not limited to: the first network device 110, the second network device 120, and the third network device 150, as well as the network management device 140, the communication optical cable 130, and the optical splitter 115 (including the optical splitters 115-1, 115-2, and 115-3). Among them, the first network device 110 includes but is not limited to the first optical module 111. The second network device 120 includes but is not limited to the second optical module 121 and the fourth optical module 124. The third network device includes but is not limited to the fifth optical module 151 and the sixth optical module 152. The system also includes a power supply line (not shown in the figure). The optical splitter can split one optical signal into multiple optical signals. The first network device can send optical signals to two or more network devices and modules through one-level or multi-level optical splitters, that is, in a P2MP (point-to-multipoint) scenario.

[0109] Specifically, data interaction between the first network device 110 and the second network device 120 is carried out through the optical splitter, optical jumpers, and the communication optical cable 130.

[0110] Figure 4The optical signal transmission path in the communication system shown can be as follows: The first optical module 111 in the first network device 110 outputs an optical signal, and the optical signal is input into the communication optical cable 130 through the optical jumper 113-1. The optical signal output by the communication optical cable 130 is input into the optical splitter 115-1 through the optical jumper 113-1. The optical splitter 115-1 divides one optical signal into two optical signals. One of them is input into the communication optical cable 130 through the optical jumper 113-2. The optical signal output by the communication optical cable 130 passes through 113-3 and is input into the optical splitter 115-2. The optical splitter 115-2 divides the optical signal into two optical signals again. One optical signal is input into the second optical module 121 through the jumper 113-4. The other optical signal is input into the fourth optical module 124 through the jumper 113-5.

[0111] Still referring to Figure 4 , the other optical signal output by the optical splitter 115-1 is input into the communication optical cable 130 through the optical jumper 113-6. The optical signal output by the communication optical cable 130 passes through 113-7 and is input into the optical splitter 115-3. The optical splitter 115-3 divides the optical signal into two optical signals again. One optical signal is input into the fifth optical module 151 through the jumper 113-8. The other optical signal is input into the fifth optical module 152 through the jumper 113-9.

[0112] The network device in the embodiment of the present application can be an integrated device or a pluggable single board. One or more optical modules may be included on a network device or a single board of a network device. These optical modules are usually plugged into the panel of the network device or the single board as a pluggable independent module, or may also be inside the network device or the single board.

[0113] Figure 5A For the structural schematic diagram of the network device in the embodiment of the present application, please refer to Figure 5A , in some embodiments of the present application, the network device may include at least one optical module. For example, the network device may include: optical module 1, optical module 2,... and optical module n.

[0114] In one example, the network device can be an integrated device, and the optical module can be directly plugged into the network device as a pluggable independent module. For example, as Figure 5A shown, optical module 1, optical module 2,... and optical module n can be pluggably inserted into the corresponding ports of the network device.

[0115] Optionally, the optical module can also be set (or integrated) inside the network device.

[0116] The central processing unit of the network device (which can also be called the central processing module, not limited in the present application) can perform data interaction with the module central processing unit (which can also be called the module central processing module, not limited in the present application) in the optical module through the communication bus.

[0117] Figure 5B This is another structural schematic diagram of the network device in the embodiment of the present application. Please refer to Figure 5B , in some other embodiments of the present application, the network device may include, but is not limited to: at least one single board. For example, the network device may include: independent single boards 1, 2,..., and n.

[0118] Exemplarily, the single board is a pluggable single board. Each single board can be inserted into the network device, or the single board can also be set (or integrated) inside the network device. The central processing unit of the network device performs data interaction with the central processing unit of the single board through a communication bus.

[0119] Such as Figure 5B shown, taking single board 1 as an example, at least one optical module can be set in the single board. The optical module can be pluggably inserted into the single board, or the optical module can also be set (integrated) inside the single board. For example Figure 5B in, optical modules 1, 2,..., and n can be pluggably inserted into the corresponding ports on the single board. The central processing unit of the single board performs data interaction with the central processing unit of the optical module through a communication bus.

[0120] The optical module in the embodiment of the present application may include, but is not limited to: an optoelectronic conversion module, an optical signal processing module, an optical amplification module, an optical switching module, etc., which are not limited in the present application.

[0121] In an optical communication scenario (such as Figures 1 - 3In any of the scenarios shown, the operator needs to maintain the connection relationship of the optical fiber link. In the prior art embodiments, a method for maintaining the optical fiber connection relationship is provided. Specifically, the optical line terminal on the network device OLT (Optical Line Terminal) obtains the identification information of the optical fiber to be identified connected to the optical line terminal, and the optical line terminal generates a data frame including the identification information of the optical fiber to be identified. The optical line terminal emits the optical signals generated from these data frames onto the optical fiber to be identified. The optical fiber identifier is connected to the corresponding optical fiber, parses and identifies the data frame signal, and completes the identification and calibration of the optical fiber to be identified at the opposite end of the optical fiber. During construction or maintenance, the operator carries the optical fiber identifier. During the construction, service provisioning, and related maintenance of the optical network, the OLT can collect and obtain the identification information of each optical fiber to be identified through the network element management system or by means of periodic startup, encode the identification information of each optical fiber to be identified, convert it into an optical signal, and emit it onto the optical fiber to be identified connected to the OLT port. The remote detection operator receives the optical signals on each optical fiber at the remote end (such as the user side) through the optical fiber identifier, and determines whether the information carried by the optical signal of each optical fiber is the identification information of the optical fiber to be identified, so as to identify and calibrate a certain optical fiber as the optical fiber to be identified from multiple optical fibers at the remote end, so as to perform subsequent work such as detecting and evaluating the link quality and connection quality of this optical fiber.

[0122] In this method, the operator needs to connect the optical fiber identifier to each optical fiber to be identified at the remote end to complete signal parsing and restore the identification information of the optical fiber to be identified. For the scenario where the source and destination ends are already connected to devices, it is necessary to unplug the pigtail at one end and connect it to the optical fiber identifier to perform optical fiber identification, that is, to disconnect the original connection state of the optical fiber to be identified during the test. For the optical fiber link that is currently carrying out communication services, optical fiber identification can only be performed on the premise of interrupting the service, and it cannot meet the scenario where the service cannot be interrupted in actual operation and maintenance. In addition, for the splitter scenario of the OLT network, this solution can only be used for the identification of the endmost link. If measured at the front-end port of the splitter, it is necessary to unplug the corresponding patch cord and interrupt all subsequent line communications of this stage of the splitter.

[0123] The embodiment of the present application provides a detection system, which includes but is not limited to: an optical communication network (which can also be called an optical communication system) and a detection instrument (which can also be called an identification instrument or a link identification instrument, which is not limited in this application). Optionally, the optical communication network can be Figures 1 - 4Any of the system architectures described above. In other embodiments, it may also be other optical communication architectures, which are not limited in this application. In the detection system provided in the embodiments of this application, a first network device in the optical communication network (as an optical signal transmitter, which may be a network device or an optical module in a network device, hereinafter referred to as the transmitter) sends an optical signal. The optical signal includes a service optical signal and a tone-on-tone optical signal (which may also be referred to as a detection optical signal, not limited in this application). The tone-on-tone optical signal includes link information, which is used to describe the topology of the optical communication network and / or the communication state of the optical communication network. For example, it includes but is not limited to network device information and / or route information passed through. The detection instrument is placed on the optical communication link (i.e., a single optical fiber), and the optical signal transmitted in the optical fiber to be detected is obtained on the optical communication link by detecting the light leakage caused by the macro-bending of the optical fiber. The detection instrument can process the optical signal to obtain the link information carried in the tone-on-tone optical signal. In this way, in the detection system of the embodiments of this application, by the transmitter sending an optical signal including link information, the detection instrument can obtain the optical signal transmitted in the optical fiber to be detected and parse out the link information without disconnecting the optical communication link, that is, the topology information and / or status information of the optical communication network can be obtained while the service is being normally transmitted. The operator can improve the topology of the optical communication network based on the link information and can also obtain the communication state of the optical communication network to analyze the health state of the optical communication network.

[0124] Figure 6 FIG. is a schematic diagram of the architecture of the detection system shown for illustrative purposes. The system includes but is not limited to an optical communication network and a detection instrument. Among them, Figure 6 The optical communication network shown in is only a schematic example and may be any optical communication network architecture, which is not limited in this application. Please refer to Figure 6 FIG., the optical communication network includes but is not limited to: a first network device, a second network device, a network management device, and an optical communication link. Among them, a first optical module is inserted into the first port of the first network device, and a second optical module is inserted into the second port of the second network device. Data interaction is carried out between the first optical module and the second optical module through optical fiber 1 and optical fiber 2. The detection instrument is placed on the optical fiber to be detected, that is, the detection instrument is in contact with the outside of the optical fiber to be detected without destroying the working state of the optical communication link. In this example, the optical fiber to be detected is taken as optical fiber 1. During the operation of the network device, that is, during the process of business data interaction between the first network device and the second network device, the detection and identification instrument can be clamped on the optical fiber to be detected, so that the contact part between the optical fiber and the detection and identification instrument is bent, and the detection and identification instrument can obtain the optical signal transmitted through the optical fiber to be detected through macro-bending detection. Figure 6The structure of the detection and recognition instrument shown is only for illustrative purposes and is not limited in this application. In addition, in the embodiments of this application, only the example where the detection and recognition instrument clamps the optical fiber to obtain the optical signal transmitted through the optical fiber is described. In other embodiments, the detection and recognition instrument can also be placed on the optical fiber in other ways to obtain the optical signal transmitted in the optical fiber. Further, in the embodiments of this application, only the macro-bending detection method is used as an example, that is, the detection and recognition instrument obtains the optical signal transmitted through the optical fiber through the bent part of the optical fiber. In other embodiments, the optical signal transmitted in the optical fiber can also be obtained through other methods that do not damage the optical signal transmission, and this application is not limited.

[0125] Combined with Figure 6 , Figure 7 For an exemplary working flowchart of the detection system, please refer to Figure 7 The first optical module outputs an optical signal. Among them, the optical signal includes a service optical signal and a tone-on-top optical signal. Among them, the service optical signal includes service information. The tone-on-top optical signal includes link information (which can also be called tone-on-top information), and the link information is used to describe the topology of the optical communication network and / or the communication status of the optical communication network. Specifically, the first optical module can obtain the link information sent from the network device side. The link information includes, but is not limited to, any one or several combinations of the subrack numbers of the two ends of the device, port numbers, optical module models, transmission distances, code patterns, wavelength information, transmitted optical power, transmitting end alarm information, and passing route information. The first optical module encodes the link information to obtain the encoded link information, which can also be called tone-on-top information. The encoded link information is a data frame with a specific format, and the specific format will be described below. The first optical module uses the tone-on-top technology to tone-on-top the tone-on-top optical signal containing the tone-on-top information to the service data optical signal to generate an optical signal (which can also be called the target optical signal). The tone-on-top optical signal has a specified tone-on-top depth (which can also be called the modulation depth, and this application is not limited) and a specified tone-on-top frequency (which can also be called the modulation frequency, and this application is not limited).

[0126] Exemplarily, the detection instrument clamps the optical fiber and obtains the optical signal transmitted in the optical fiber through macro-bending detection. The detection instrument analyzes the optical signal (which can also be called demodulation or restoration, and this application is not limited) to obtain the link information. Optionally, the detection instrument can be connected to a display screen to display the obtained link information on the screen in real time. Optionally, the detection instrument transmits the link information to other terminals through a transmission interface (generally WiFi, USB, Bluetooth, Ethernet, etc., and this application is not limited).

[0127] Exemplarily, the second optical module receives the optical signal, analyzes the optical signal (which can also be called demodulation or restoration, and this application is not limited), and obtains the service information and the link information.

[0128] The technical solutions on the side of the first network device, the detection instrument, and the second network device will be described in detail below.

[0129] I. On the side of the first network device:

[0130] Figure 8 For the schematic diagram of the processing flow on the side of the first network device shown exemplarily, please refer to Figure 8 , which specifically includes but is not limited to the following steps:

[0131] S801, the network device central processing module obtains link information.

[0132] Exemplarily, an operator can configure link information in the network management device, and the link information includes but is not limited to at least one of the following: device information of the first network device, device information of the second network device, route information of the path, and other extended information.

[0133] The device information of the first network device includes but is not limited to: identification information of the first network device, port identification information, and extended information, etc.

[0134] The device information of the second network device includes but is not limited to: identification information of the second network device, port identification information, and extended information, etc.

[0135] The route information of the path includes but is not limited to: identification information of the intermediate device passed by the optical communication link.

[0136] Exemplarily, the identification information of the first network device includes but is not limited to at least one of the following: data transmission direction, site name, network device identification (which can also be understood as subrack identification).

[0137] The port identification information includes but is not limited to: single-board identification information (optional) and port ID.

[0138] The device information and port identification information of the second network device are the same as those of the first network device, and will not be elaborated here.

[0139] Exemplarily, the extended information includes but is not limited to at least one of the following: optical module model, transmission distance, code type, wavelength information, transmitted optical power, alarm information, etc.

[0140] Illustrative example: Take the device information of the first network device as an example. The first network device is located in Guangzhou, and the second network device is located in Beijing. Correspondingly, the identification information of the first network device includes but is not limited to at least one of the following:

[0141] Guangzhou - Beijing (data transmission direction), Qinghe District, Guangzhou (site), 1507 - 0 sub - rack (network device ID, i.e., sub - rack identifier), 19 - U3SN402 (board identifier), 1 (port ID). Optionally, the "sub - rack" in the embodiments of the present application can also be referred to as a bracket or others, and the present application does not make a limitation.

[0142] The above - mentioned identification information is used to indicate that the transmission direction of the optical signal is from Guangzhou to Beijing, and it is the 1 port (which can also be called port 1 or the first port) in the 19 - U3SN402 board of the network device in the 1507 - 0 sub - rack at the Qinghe District, Guangzhou site.

[0143] In the embodiments of the present application, the intermediate device through which the optical communication link passes can be an active device or a passive device. For example, it can be a passive device such as an optical fiber distribution frame or an optical fiber distribution box, or it may be an active device such as an optical switching device or an optical amplification device, and the present application does not make a limitation.

[0144] Exemplarily, the identification information of the intermediate device includes but is not limited to: site name, intermediate device identifier (which can be a board identifier), and port identifier.

[0145] For example, Figure 9 For an exemplary schematic diagram of an application scenario, please refer to Figure 9, the system includes, but is not limited to: an optical communication network and a detection instrument. In this example, the optical communication network includes, but is not limited to, a first network device, a second network device, an optical communication link, and a network management device, etc. Among them, the optical communication link includes a first optical communication link for the first optical module to transmit signals to the second optical module, and a second optical communication link for the second optical module to transmit signals to the first optical module. In this scenario, the first optical communication link is taken as an example of the optical fiber to be detected for illustration. The first optical communication link includes: a first optical module, ODF1, a communication optical cable, ODF2, ODF3, a second optical module, and optical fibers connecting each device or apparatus. The detection instrument is clamped on the optical fiber between ODF2 and ODF3, and the position where the detection instrument is clamped can be called a detection point (which can also be called a test point, a monitoring point, an identification point, etc., and this application does not make a limitation). The position of this detection point is only a schematic example, and this application does not make a limitation. In this example, the route information of the first optical communication link may include, but is not limited to: the ODF1 site name, the ODF1 identifier (for example, it can be the ODF1 subrack identifier), the ODF1 port identifier (that is, the identifier of the port where the first optical communication link connects to ODF1), the ODF2 site name, the ODF2 identifier (for example, it can be the ODF2 subrack identifier), the ODF2 port identifier (that is, the identifier of the port where the first optical communication link connects to ODF2), the ODF3 site name, the ODF3 identifier (for example, it can be the ODF3 subrack identifier), the ODF3 port identifier (that is, the identifier of the port where the first optical communication link connects to ODF3), the ODF4 site name, the ODF4 identifier (for example, it can be the ODF4 subrack identifier), the ODF4 port identifier (that is, the identifier of the port where the first optical communication link connects to ODF4). In the embodiments of this application, only Figure 9 the route information of the first optical communication link is taken as an example for illustration. In other embodiments, the route information of different optical communication links can be configured according to actual needs, and this application does not make a limitation.

[0146] Exemplarily, the network device obtains the link information configured by the network management device. In one example, the network device can periodically obtain the link information of its own end from the network management device. The link information of its own end is optionally the link information corresponding to the communication links connected to each port in the device of its own end. In another example, after each network device goes online, the network management device can send the link information corresponding to this network device to the network device. And after detecting that the link information of this network device is updated, send the updated link information to the network device. The specific obtaining method can be set according to actual needs, and this application does not make a limitation.

[0147] S802, the optical module starts the tone control function.

[0148] Exemplarily, the optical module may be provided with a tone-on-tip function switch, and an operator can start the tone-on-tip function of the optical module by controlling this tone-on-tip function switch. In one example, after the tone-on-tip function is enabled, the optical module will execute the subsequent monitoring process, that is, send an optical signal including a tone-on-tip optical signal. In another example, after the tone-on-tip function is turned off, the optical module stops sending the optical signal including the tone-on-tip optical signal. During the test process, the tone-on-tip functions of each optical module can be kept enabled, that is, each module acting as a transmitting end generates and sends an optical signal including link information. Correspondingly, each optical communication link will transmit the optical signal including link information. The operator can detect the corresponding optical fiber by adjusting the position of the detection instrument. For example, during the process that the first optical module continuously sends the optical signal including the tone-on-tip optical signal, the operator can clamp the detection and identification instrument at Figure 9 the position shown in, so as to obtain link information, and the operator can identify the optical fiber based on the link information. For another example, during the process that the first optical module continuously sends the optical signal including the tone-on-tip optical signal, the operator can move the detection and identification instrument, for example, move the instrument from Figure 9 the position in to any position between OFD1 and the communication optical cable, clamp the detection and identification instrument on the optical fiber, so as to obtain the optical signal transmitted on the clamped optical ray (i.e., the optical fiber to be measured), and further obtain link information. That is to say, in the embodiment of the present application, during the process that the optical module continuously sends the optical signal including the tone-on-tip optical signal, it can also be understood that when the optical signal including the tone-on-tip optical signal continuously transmits in the optical fiber, the operator can place the detection and identification instrument at any position of the optical fiber to obtain the optical signal and further obtain link information. For example, assume that the first optical module is connected to optical fiber 1, and optical fiber 1 is connected to the second optical module. The first optical module sends the optical signal including the tone-on-tip optical signal. In order to detect whether the connection port of the second optical module is correct, the operator can clamp the detection and identification instrument on the optical fiber connected to the second optical module. The detection and identification instrument can obtain the optical signal and parse out the link information. The operator can judge whether the optical fiber is correctly connected based on the link information, and can also judge whether the label on the optical fiber is correct. Figure 9 The structure shown in is only schematic. In the actual application scenario, there are more optical fibers in the optical communication system. The operator can clamp the detection and identification instrument on the specified optical ray, so as to obtain link information, and judge the optical fiber connection and the label of the optical fiber based on the link information.

[0149] Optionally, during the test process, the operator can also enable the tone-on-tip functions of the modules connected to the optical communication links to be detected one by one, so as to avoid occupying too much network resources.

[0150] Exemplarily, the tone-on-tip function of the optical module can be started or turned off at any time, which can be set according to actual requirements, and the present application does not make any limitations.

[0151] It should be noted that S802 andFigure 8 Other steps in are not limited in time and can be executed at any time, which is not limited in this application.

[0152] S803, the central processing module of the network device queries whether the optical module supports the overhead modulation function.

[0153] Exemplarily, after the network device obtains the link information, it can detect whether each optical module supports the overhead modulation function. In the embodiments of this application, supporting the overhead modulation function does not equal to enabling the overhead modulation function. Supporting the overhead modulation function means that the optical module has the ability to generate and output an optical signal including the link information, and can also be understood as having the ability to perform overhead modulation on the service signal using the overhead modulation technology. Optionally, after the optical module supporting the overhead modulation function turns off the overhead modulation function, it can still obtain the link information corresponding to the optical module.

[0154] S804, the central processing module of the network device outputs the link information to the optical module.

[0155] Exemplarily, the network device sends the link information corresponding to the optical module to the optical module supporting the overhead modulation function. Optionally, the network device obtains the link information of the module as the sending end. For example, in Figure 6 The first network device obtains the link information of the first optical module, and this link information is used to indicate the link information of the optical communication link (such as optical fiber 1) for the first optical module to transmit the optical signal to the second optical module. The second network device obtains the link information of the second optical module, and this link information is used to indicate the link information of the optical communication link (such as optical fiber 2) for the second optical module to transmit the optical signal to the first optical module.

[0156] In the embodiments of this application, the network device may include multiple ports, and each port corresponds to an optical module. The network device can obtain the link information corresponding to each optical module, and can also be understood as the link information corresponding to each port. The network device can send the link information corresponding to the port to the module corresponding to the port based on the obtained link information.

[0157] S805, the optical module outputs an optical signal based on the link information.

[0158] Exemplarily, after the optical module obtains the link information and detects that the overhead modulation function is enabled, it can generate a target optical signal including the service optical signal and the overhead optical signal based on the link information. Specifically, the optical module encodes the link information to obtain the encoded link information, which can also be called the overhead information.

[0159] Based on the peak-clipping information, the optical module can generate a target optical signal. In one example, the optical module can generate a peak-clipping signal based on the peak-clipping information. The optical module generates a target electrical signal based on the peak-clipping signal and the service signal. Then, through electro-optic conversion of the target electrical signal, the target optical signal is obtained. That is to say, in this example, the optical module processes the service electrical signal so that the target electrical signal carries the service information and the peak-clipping information, and then converts it into an optical signal. In another example, the optical module can generate a peak-clipping signal based on the peak-clipping information. The optical module can process the service optical signal based on the peak-clipping signal to obtain the target optical signal. That is to say, in this example, the optical module processes the service optical signal so that the target optical signal carries the service information and the peak-clipping information.

[0160] Exemplarily, the optical module outputs an optical signal through an optical communication link. For example, in Figure 9 , the first optical module sends the optical signal to the second optical module through the optical communication link.

[0161] The following details the processing flow of the optical module for generating the optical signal.

[0162] Figure 10A For the structural schematic diagram of the optoelectronic conversion module shown exemplarily, please refer to Figure 10A , the optoelectronic conversion module includes but is not limited to: a peak-clipping signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a peak-clipping signal processing unit, etc.

[0163] The module central processing unit is used to obtain the link information and encode the link information to obtain the peak-clipping information.

[0164] The peak-clipping signal processing unit is used to generate a peak-clipping signal based on the peak-clipping information.

[0165] The peak-clipping signal synthesis unit is used to generate a target electrical signal based on the peak-clipping signal and the service signal. Specifically, the peak-clipping signal synthesis unit superimposes the peak-clipping signal on the service signal and outputs the target electrical signal containing the service signal and the peak-clipping signal.

[0166] The optoelectronic conversion unit is used to perform electro-optic conversion on the target electrical signal and output the target optical signal.

[0167] It should be noted that in the embodiments of the present application, the service signal (which can also be called the service electrical signal), the peak-clipping signal (which can also be called the peak-clipping electrical signal), and the target electrical signal all belong to electrical signals, and the service optical signal, the peak-clipping optical signal, and the target optical signal all belong to optical signals, which will not be repeated hereinafter.

[0168] Furthermore, it should be noted that Figure 10A the names of the modules in

[0169] Further, it should be noted that the optical module may further include more modules, such as a signal processing module and other modules for shaping and amplifying service signals, etc. This application does not make any limitations.

[0170] Combined with Figure 10A , Figure 11 For the schematic diagram of the signal processing flow shown exemplarily, please refer to Figure 11 , which specifically includes but is not limited to the following steps:

[0171] S1101, Encode the link information to obtain the overhead information.

[0172] Exemplarily, the module central processor obtains the link information corresponding to this port input by the network device central processing module through the communication bus. Optionally, the module central processor can configure registers to save the link information (which can be the link information issued by the network management device or the link information parsed by this end) and other parameters (such as the modulation frequency, modulation depth, etc. described below).

[0173] The module central processing unit encodes the overhead signal to obtain the encoded link information. In the embodiments of this application, the encoded link information is called the overhead information and will not be repeated hereinafter. Specifically, the module central processing unit encodes the overhead signal according to a preset encoding method to obtain the overhead information. In the embodiments of this application, the preset encoding method can be understood as the encoding method agreed upon by each module in the system. That is to say, the transmitting end (such as the first optical module) encodes based on the preset encoding method, and the receiving end (such as the detection instrument or the second optical module) can decode based on the preset encoding method to obtain the correct transmitted data.

[0174] Optionally, the preset encoding method can be any encoding method that avoids long 0s or long 1s. Its encoding method can be the same as or different from the encoding method of the service information. This application does not make any limitations. For example, in the embodiments of this application, the preset encoding method can be Manchester encoding. The encoding method is only for illustrative purposes and this application does not make any limitations.

[0175] Optionally, the module central processing unit translates the overhead information into the corresponding hexadecimal information through ASCII (American Standard Code for Information Interchange).

[0176] Figure 12 For the schematic diagram of the data frame format of the overhead information shown exemplarily, please refer to Figure 12 , and the data frame includes but is not limited to: a frame header field and a data field. Among them, the frame header field carries the preamble, and the data field carries the link information and other information.

[0177] Exemplarily, the preamble is a specific preamble, which can also be understood as a pre-agreed preamble. That is to say, the source end (i.e., the optical signal sending end, such as the first optical module) and the sink end (i.e., the optical signal receiving end, such as the second optical module) are pre-set (or agreed). After the source end encodes the link information, a data frame is generated, and the data frame includes the agreed preamble. In this way, after the receiving end obtains the data frame, it can identify the preamble to obtain the link information carried by the data frame. The specific obtaining method will be described below.

[0178] Optionally, in the embodiments of the present application, the preamble can be 0x55 of one byte or 0x55 + 0xd5 of two bytes, which can be set according to actual needs, and the present application does not make a limitation.

[0179] Exemplarily, the data field is used to carry link information and other information. Optionally, the data field includes but is not limited to at least one of the following: information type field, source end information field, sink end information field, route information field, extended information field, and custom information field, etc.

[0180] Among them, the information type field is used to carry the information type. The length of the information type field is optionally 1 byte, and different bit positions are used to indicate whether there is corresponding information in the data field. For example:

[0181] Table 1

[0182]

[0183]

[0184] Please refer to Table 1. Bit 0 is used to indicate whether the source end information is included in the data field. Bit 1 is used to indicate whether the sink end information is included in the data field. Bit 2 is used to indicate whether the route information is included in the data field. Bit 3 is used to indicate whether the extended information is included in the data field. Bit 4 is used to indicate whether the custom information is included in the data field. Bits 5-7 are reserved bits.

[0185] In the embodiments of the present application, the order of each field in the data field is described by taking the information type field, source end information field, sink end information field, route information field, extended information field, and custom information field as examples. In other embodiments, the order of each field in the data field can also be set according to actual needs. Correspondingly, the information indicated by each bit position in the information type is also set accordingly.

[0186] Still referring to Figure 12, the source - end information field is used to carry source - end information (such as the device information of the first network device), the destination - end information field is used to carry destination - end information (such as the device information of the second network device), the route - through routing information field is used to carry route - through routing information, the extended information field is used to carry extended information, and the custom information field is used to carry custom information.

[0187] In the embodiments of this application, each field may include annotation information for annotating the type of information carried by the field. The annotation information in the embodiments of this application includes: From, To, Via, Ex, CM, etc. Among them, From is used to annotate that the information carried by the field is source - end information, To is used to annotate that the information carried by the field is destination - end information, Via is used to annotate that the information carried by the field is route - through routing information, Ex is used to annotate that the information carried by the field is extended information, and CM is used to annotate that the information carried by the field is custom information. The annotation method is only a schematic example and can be set according to actual needs, and this application does not make any limitations.

[0188] For example, please refer to Figure 13 , the source - end information field carries source - end information, such as the device information of the first network device, including but not limited to: From - data transmission direction - site name - network device identifier - board identifier - port identifier.

[0189] The destination - end information field carries destination - end information, such as the device information of the second network device, including but not limited to: TO - data transmission direction - site name - network device identifier - board identifier - port identifier.

[0190] The route - through routing information field carries route - through routing information, including but not limited to: Via - intermediate device 1 identifier - port identifier of intermediate device 1 - intermediate device 2 identifier - port identifier of intermediate device 2…. Optionally, if there are no intermediate devices in the optical communication link, the data frame may not include this field, or the content of this field is empty.

[0191] The "-" therein represents an interval for separating different information, and it can also be other interval methods, which are not limited in this application. The specific meaning of each identifier can be referred to above and will not be elaborated here.

[0192] For example, taking Figure 9Take the optical communication link to be detected as an example. The source - end information field includes: FROM - Guangzhou - Beijing (data transmission direction), Qinghe District, Guangzhou (site), 1507 - 0 sub - rack (network device ID, i.e., sub - rack identifier), 19 - U3SN402 (board identifier), 1 (port ID). The destination - end information field includes: TO - Guangzhou - Beijing (data transmission direction) - Beijing Santai (site) - 1350 - 0 sub - rack (network device ID, i.e., sub - rack identifier) - 52 - U3SN402 (board identifier) - 1 (port ID). The route - passing information field includes: Via - Shaoguan (ODF1 site name) - ODF1 (ODF1 identifier) - 15 (port identifier) - Chenzhou (ODF2 site name) - ODF2 (ODF2 identifier) - 1 (port identifier) - Changsha East Area (ODF3 site name) - ODF3 (ODF3 identifier) - 3 (port identifier) - Zhengzhou High - tech Zone (ODF4 site name) - ODF4 (ODF4 identifier) - 4 (port identifier).

[0193] Exemplarily, the extended information carried in the extended information field is optionally the extended information corresponding to the source end (i.e., the optical signal transmitting end, such as the first optical module). For example, it may include but is not limited to: optical module model, transmission distance, code type, wavelength information, transmitted optical power, alarms, etc.

[0194] For example, the extended information in the extended information field can be: EX - OM7560 (optical module model) - DQPSK (optical signal code type) - 1500km (transmission distance) - 2dBm (transmitted optical power).

[0195] Optionally, the extended information in the embodiments of the present application may also include source - end extended information and destination - end extended information, and the extended information of each end may also be included in the corresponding device information field. For example, the source - end extended information may be included in the source - end information field, and the destination - end extended information may be included in the destination - end information field. The present application does not make any limitations.

[0196] Exemplarily, the custom information carried in the custom information field can be set by the user at the sending end and can be used for the transmission of maintenance information. For example, route - passing information change or operation information feedback, etc. For example: the custom information is: CM - ODF1 route change - new port - port16, which is used to indicate that the interface between ODF1 and the optical communication link to be detected changes from the original port (such as port 15) to port 16. The specific information can be set according to actual needs, and the present application does not make any limitations.

[0197] Optionally, the data frame further includes a packet length field and a check field. The packet length field is used to carry packet length information, and the packet length information is used to indicate the length of the data frame. The receiving end (such as the second optical module or the detection instrument) can detect whether the received data frame is complete based on the packet length information. The check field is used to carry check information, and the check information is the cumulative checksum of the link information and the packet length information, which is used to detect whether the data frame is correctly received. Optionally, the check information can adopt the CRC (Cyclic Redundancy Check) algorithm, which is not limited in this application.

[0198] The module central processing unit outputs the peak clipping information to the peak clipping signal processing unit, which is used to instruct the peak clipping signal processing unit to generate the corresponding peak clipping signal.

[0199] S1102, generate a peak clipping signal based on the peak clipping information.

[0200] Exemplarily, as Figure 10A shown, the peak clipping signal processing unit obtains the peak clipping information and processes the peak clipping information to obtain the peak clipping signal. Specifically, the peak clipping signal processing unit modulates the peak clipping information to obtain a peak clipping signal with a preset modulation frequency (which can also be called the target modulation frequency). Optionally, the peak clipping frequency can also be instructed by the module central processing unit to the peak clipping signal processing unit, which is not limited in this application.

[0201] In the embodiments of this application, the peak clipping frequency can include but is not limited to: 200Hz, 1kHz, 2kHz, etc., and different gears can be set according to actual needs, which is not limited in this application. For example, the modulation frequency in the embodiments of this application is 1KHz, and this value is only for illustrative purposes and is not limited in this application.

[0202] S1103, generate a target electrical signal based on the peak clipping signal and the service signal.

[0203] Exemplarily, as Figure 10A shown, the peak clipping signal processing unit outputs the peak clipping signal to the peak clipping signal synthesis unit. The peak clipping signal synthesis unit generates a target signal, which can also be called a target electrical signal, based on the peak clipping signal and the service signal. Specifically, the peak clipping signal synthesis unit superimposes the low-frequency peak clipping signal on the high-frequency service signal based on a preset peak clipping depth and outputs the target signal. As Figure 14 For the schematic diagram of the peak clipping technology shown exemplarily, please refer to Figure 14, based on the peak-clipping signal, the peak-clipping signal synthesis unit superimposes a low-frequency signal on the high-frequency service signal by modulating the amplitude of the service signal. For example, taking the NRZ (Non-return-to-zero Code) code pattern modulation as an example, before the service electrical signal is loaded, the optoelectronic conversion unit will output a DC bias voltage (which can be called the DC bias point), and at this time the optical signal is a constant value. When the service electrical signal is generated, the optoelectronic conversion unit uses level 1 to represent digital 1 and level 0 to represent digital 0, so that the changing digital signal generates a changing voltage signal. After the optoelectronic conversion unit loads this changing voltage signal onto the DC bias voltage, it will output a changing modulation voltage, and the optoelectronic conversion unit generates an optical signal that changes in the same frequency as the service electrical signal on the constant optical signal. Similarly, the peak-clipping signal loading method is similar because the modulation signal has a lower frequency and a larger difference from the service electrical signal. Therefore, in the reference system of the modulation signal, the service electrical signal can be considered as the DC bias point of the peak-clipping signal. Similarly, the peak-clipping signal (such as 101010...) is loaded onto the DC bias point to achieve the superposition of the peak-clipping electrical signal and the service electrical signal, and finally a low-frequency optical power change is generated on the output optical signal.

[0204] Optionally, the peak-clipping depth can also be preset by the central processing unit of the module, and the central processing unit of the module can indicate the peak-clipping depth to the peak-clipping signal synthesis unit.

[0205] The peak-clipping depth can also be referred to as the modulation depth or modulation amplitude. The modulation depth represents the ratio of the amplitude of the low-frequency component modulated on the DC power of the original service signal (i.e., the service electrical signal) to the DC component. The modulation depth is further divided into the electrical modulation depth M_rf and the optical modulation depth M_op.

[0206] Electrical modulation depth M_rf:

[0207]

[0208] In the above formula:

[0209] M_rf: Electrical modulation depth.

[0210] RF WT_Vp: Peak-to-peak value of the electrical modulation swing.

[0211] RF Vp: Mean value of the electrical modulation signal.

[0212] Optical modulation depth M_op:

[0213]

[0214] In the above formula:

[0215] M_op: Optical modulation depth.

[0216] P_wt: Peak-to-peak amplitude of optical power modulation.

[0217] P_avg: Average value of optical power.

[0218] In the embodiments of the present application, the modulation depth is preset by the operator. For example, it can be any depth value between 0.1% and 10%. Exemplarily, the magnitude of the modulation depth affects the transmission distance and the recognition sensitivity. The larger the setting, the farther the transmission distance, but the greater the impact on the existing service signals. Correspondingly, the operator can set the corresponding modulation depth according to the transmission distance of the tone-on signal, the magnitude of the output optical power, and the link budget, which is not limited in the present application. For example, in the embodiments of the present application, the modulation depth can be set to 8%, and this value is only for illustrative purposes and is not limited in the present application.

[0219] Optionally, in actual settings, a smaller modulation depth can be used first on the module, and a test system can be built using an optical power meter, an eye diagram monitor, and a service instrument, and the modulation depth can be gradually increased for testing. A suitable modulation depth is characterized by neither affecting the eye diagram quality under the transmission specification and ensuring service stability, while at the same time being able to restore the link-related information from any fiber point within the transmission specification range through a link identifier.

[0220] S1104, perform optoelectronic conversion on the target electrical signal to obtain a target optical signal.

[0221] Still referring to Figure 10A , exemplarily, the tone-on signal synthesis unit outputs the target signal to the optoelectronic conversion unit. The optoelectronic conversion unit performs electro-optical conversion on the target signal, that is, converts the input electrical signal into an optical signal to obtain a target optical signal. Correspondingly, the target optical signal includes a service optical signal and a tone-on optical signal.

[0222] Figure 10B For the structural schematic diagram of the optoelectronic conversion module shown exemplarily, please refer to Figure 10B , the optoelectronic conversion module includes but is not limited to: a tone-on signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a tone-on signal processing unit, etc.

[0223] The module central processing unit is used to obtain link information and encode the link information to obtain tone-on information.

[0224] The tone-on signal processing unit is used to generate a tone-on signal based on the tone-on information.

[0225] The optoelectronic conversion unit is used to convert a service signal (i.e., a service electrical signal) into a service optical signal.

[0226] The peak-clipping signal synthesis unit is used to generate a target optical signal based on the peak-clipping signal and the service optical signal. Specifically, the peak-clipping signal synthesis unit modulates the service optical signal based on the peak-clipping signal to obtain the target optical signal.

[0227] Combined with Figure 10A , Figure 15 For the schematic diagram of the signal processing flow shown exemplarily, please refer to Figure 15 , which specifically includes but is not limited to the following steps:

[0228] S1501, Encode the link information to obtain the peak-clipping information.

[0229] For the specific description, please refer to S1101, which will not be elaborated here.

[0230] S1502, Generate a peak-clipping signal based on the peak-clipping information.

[0231] For the specific description, please refer to S1102, which will not be elaborated here.

[0232] S1503, Modulate the service optical signal based on the peak-clipping signal to generate the target optical signal.

[0233] Specifically, as Figure 10B shown, the peak-clipping signal synthesis unit obtains the service optical signal input by the optoelectronic conversion unit. The service information is carried in the service optical signal. The peak-clipping signal synthesis unit obtains the peak-clipping signal input by the peak-clipping signal processing unit. The peak-clipping signal synthesis unit modulates the service optical signal based on the peak-clipping signal and outputs the target optical signal. Specifically, the peak-clipping signal synthesis unit modulates the service optical signal based on the peak-clipping electrical signal and the preset modulation depth so that the peak-clipping optical signal is loaded in the service optical signal.

[0234] Figure 10C For the schematic diagram of the structure of the optical signal processing module shown exemplarily, please refer to Figure 10C , the optical signal processing module includes but is not limited to: the peak-clipping signal synthesis unit, the signal processing unit, the module central processing unit, the peak-clipping signal processing unit, etc.

[0235] The module central processing unit is used to obtain the link information and encode the link information to obtain the peak-clipping information.

[0236] The peak-clipping signal processing unit is used to generate a peak-clipping signal based on the peak-clipping information.

[0237] The signal processing unit is used to process the service optical signal (such as amplification, shaping, direction scheduling, etc., which are not limited in this application) and output the processed service optical signal.

[0238] The top modulation signal synthesis unit is used to generate a target optical signal based on the top modulation signal and the service optical signal. Specifically, the top modulation signal synthesis unit modulates the service optical signal based on the top modulation signal to obtain the target optical signal. The specific implementation method can refer to Figure 10B the module description, which will not be repeated here.

[0239] II. On the detection instrument side:

[0240] Figure 16 For the structural schematic diagram of the detection instrument shown exemplarily, please refer to Figure 16 , the instrument includes but is not limited to: a photoelectric conversion unit, a top modulation signal processing unit, and a central processing unit.

[0241] Among them, the photoelectric conversion unit is used to perform photoelectric conversion on the input optical signal, that is, convert the optical signal into an electrical signal.

[0242] The top modulation signal processing unit is used to extract, restore, and shape the top modulation signal (i.e., the top modulation electrical signal).

[0243] The central processing unit is used to obtain link information.

[0244] Combined with Figure 16 , Figure 18 For the schematic diagram of the processing flow on the detection instrument side shown exemplarily, please refer to Figure 18 , which specifically includes but is not limited to the following steps:

[0245] S1801, obtain the optical signal transmitted in the optical communication link through macro-bending detection.

[0246] Exemplarily, as Figure 9 shown, the operator can clamp the detection instrument at any position of the optical communication link to be detected, and this position can be called the point to be detected. Exemplarily, an optical signal is transmitted in the optical communication link, and the detection instrument can obtain a part of the optical signal transmitted in the optical communication link through the macro-bending detection method.

[0247] Optionally, exemplarily, the size of the optical signal transmitted through the macro-bending of the fiber to be measured is related to the bending degree during clamping and the cladding material of the fiber to be measured. To reduce the measurement error, corresponding fixture sizes can be selected for fibers of different diameters, and a locking device can be set during clamping, so that the bending angle can be fixed. In the embodiments of the present application, the operator can set buckles with different bending radii according to different models of fibers on the market. The buckle can be split or made into an integrated type, and different gears can be adjusted to adapt to different models of fibers. Using a standard buckle can ensure better acquisition of the optical signal transmitted through macro-bending without damaging the fiber, and reduce the test error to a certain extent.

[0248] S1802, perform optoelectronic conversion on the optical signal to obtain a peak-clipping signal.

[0249] Exemplarily, as Figure 16 shown, the optoelectronic conversion unit performs optoelectronic conversion on the input optical signal, that is, converts the optical signal into an electrical signal. In the embodiments of the present application, if the received optical signal includes a service optical signal and a peak-clipping optical signal, after the optoelectronic conversion unit converts the optical signal, a service signal and a peak-clipping signal are obtained. The optoelectronic conversion unit may include a low-pass filter, which can filter the converted electrical signal to filter out high-frequency signals. As described above, the frequency of the service signal is much higher than that of the peak-clipping signal. Correspondingly, during the process of the optoelectronic conversion unit performing optoelectronic conversion on the optical signal, the service signal can be filtered out by the low-pass filter, and the low-frequency electrical signal output by the optoelectronic conversion unit to the peak-clipping signal processing unit is the peak-clipping signal.

[0250] Of course, the optical signal obtained by the detection instrument may not include a peak-clipping signal either. In some embodiments, it may also include other low-frequency signals. Therefore, the low-frequency signal output by the optoelectronic conversion module to the peak-clipping signal processing unit may also be other signals, which are not limited in this application.

[0251] S1803, decode the peak-clipping signal to obtain link information.

[0252] Still referring to Figure 16 , exemplarily, the central processing unit instructs the peak-clipping signal processing unit to a first modulation frequency. The peak-clipping signal processing unit demodulates the obtained electrical signal (which may be a low-frequency electrical signal containing a peak-clipping signal or a low-frequency electrical signal not containing a peak-clipping signal) based on the first modulation frequency. Specifically, the peak-clipping signal processing unit can demodulate the electrical signal based on the first modulation frequency to obtain the demodulated information (which can also be called a data frame).

[0253] The peak-clipping signal processing unit outputs the demodulated information to the central processing unit. As described above, in the encoding stage, the peak-clipping signal includes a preamble. Correspondingly, the central processing unit identifies whether the demodulated information (i.e., the data frame) includes a specified preamble, such as 0x55 or 0x55 + 0xd5.

[0254] In one example, if the specified preamble is included, it indicates that the electrical signal output by the optoelectronic conversion module is the peak-clipping signal. Correspondingly, the information output by the peak-clipping signal processing unit is the peak-clipping information. The central processor can decode the peak-clipping information based on a preset encoding method to obtain the corresponding link information, and then obtain Figure 12The link information in the data field shown in the figure. Optionally, the central processing unit can detect the length of the data frame based on the packet length information in the packet length field to detect whether the data frame is completely received. Optionally, the central processing unit can check the data frame based on the check information in the check field to determine whether the data frame is correctly received.

[0255] In another example, if the specified preamble is not included, it may be due to the mismatch of the demodulation frequency of the line code signal processing unit. Accordingly, the central processing unit can indicate the second modulation frequency to the line code signal processing unit. The line code signal processing unit demodulates the next received electrical signal based on the second modulation frequency (as described above, after the line code function at the sending end is turned on, an optical signal containing line code information will be continuously sent), obtains the demodulated information, and outputs it to the central processing unit. The central processing unit parses the preamble to determine whether the specified preamble is included, that is, repeats the above steps. That is to say, the modulation frequencies at the sending end and the receiving end may be the same or different. Both the receiving end and the sending end can set multiple modulation frequency levels. The sending end can select one of the modulation frequency levels for modulation, and the receiving end can select one of the modulation frequency levels for demodulation. If the demodulation is incorrect, other modulation frequencies can be switched to repeat the above process.

[0256] In a possible implementation, if all the optionally modulation frequencies fail to restore (i.e., demodulate and parse) the correct preamble, the central processing unit can generate parsing failure indication information. The central processing unit can transmit the parsing failure indication information to the user equipment through the transmission port of the detection instrument. Alternatively, the central processing unit can also display the parsing failure indication information on the display screen.

[0257] In the embodiments of the present application, the central processing unit can send the link information to the user equipment (such as electronic devices such as printers, tablets, and computers) through the transmission interface of the detection instrument (not shown in the figure). The user equipment can print or display the link information.

[0258] Optionally, the central processing unit can also send the link information to the network management device through the transmission interface. The network management device can improve the optical communication network topology based on the link information.

[0259] For example, take Figure 9For example, assume that the user clamps the detection instrument at ODF1. The detection instrument can obtain the optical signal in the optical fiber connected to ODF1 and parse the link information, including but not limited to: source end information, sink end information, and routing information. The detection instrument displays the obtained link information on the display screen. The operator can then determine whether the jumper port at ODF1 (i.e., the port connected to the optical fiber to be detected) is correct based on the routing information in the link information. Moreover, the operator can determine whether the ports of other intermediate devices are correct based on the routing information. For example, after the operator reads the various intermediate devices and their corresponding connection ports indicated in the routing information, the operator can clamp the detection instrument at the corresponding ports respectively and determine whether it is consistent with the routing information indicated by ODF1 through the displayed routing information.

[0260] Optionally, the detection method in this application can also be applied to scenarios of system construction or topology update. For example, when the topology of the communication link is imperfect, the operator can clamp the detection instrument at each port of the ODF. In this example, since the topology information is incomplete, the link information obtained by the detection instrument may not include the routing information, or only includes a part of the routing information. Of course, the routing information may be correct or incorrect. The operator can determine the topology of the optical communication link through the link information obtained by operating the detection instrument on-site. The operator can update the network topology on the network device side based on the link information. After the network device updates the topology, it can send the updated link information to the network device.

[0261] In a possible implementation manner, as described above, the extended information may include the transmitted optical power information. Optionally, the extended information may further include the peak clipping depth information, which is used to indicate the peak clipping depth when the optical signal transmitting end generates the optical signal. For example, the transmitted optical power information indicates that the optical power is 0 dBm, and the peak clipping depth information is used to indicate that the peak clipping depth is 8%. After the detection instrument obtains the link information, it can obtain the transmitted optical power information and the peak clipping depth information.

[0262] Exemplarily, the detection instrument can obtain the amplitude size of the peak clipping signal based on the obtained optical signal and the demodulated peak clipping signal to obtain the intensity information of the optical signal of the current electrical signal to be tested.

[0263] Figure 17 Another structural schematic diagram of the detection instrument is shown for illustration. Please refer to Figure 17 , the detection instrument may further include: a signal processing unit and a transmission interface. Among them, the optoelectronic conversion unit outputs a path of peak clipping signal to the peak clipping signal processing unit for peak clipping signal restoration to obtain link information. The specific implementation can refer to Figure 16, which will not be described here. Another top-modulated signal is output to the signal processing unit. The signal processing unit is used to perform shaping, amplification and analog-to-digital conversion on the electrical signal (i.e., the top-modulated signal). Generally, a low-pass filter, an operational amplifier and an analog-to-digital conversion device can be selected, and this application does not limit it. The processed top-modulated signal is input to the central processing unit, and the central processing unit can calculate the intensity of the input optical signal based on the top-modulated signal. Specifically, the electrical signal after shaping and amplification is output to the central processing unit after analog-to-digital conversion. The central processing unit can perform digital signal processing on the signal to obtain the intensity of the input optical signal. For example: the detection instrument can obtain the amplitude of the top-modulated signal based on the acquired top-modulated signal, which is the peak-to-peak value P_wt of the optical power modulation swing mentioned above. In addition, the detection instrument can obtain the optical power average value P_avg based on the top-modulated depth information and the peak-to-peak value P_wt of the optical power modulation swing. In general, the average optical power can be used to characterize the optical power size (i.e., the optical signal intensity) of the input optical signal. Accordingly, the operator can calculate the approximate distance between the current test point and the transmitting end based on the optical power obtained from the actual detection and the transmitted optical power information in the link information, combined with the optical fiber type and the networking type. For example, the detection instrument obtains the transmitting end as 0dBm, and the G.652 optical fiber 1550nm wavelength transmission scenario without a splitter. If the optical power of the test point is -2dBm, the transmission distance can be roughly calculated to be 10km. Based on the above distance, if a weak light fault occurs on the optical communication link to be tested, the detection instrument can also be used to perform segmented testing on the optical communication link to obtain the optical power at different positions on the optical fiber to be tested, and the specific location of the weak light fault can be determined by the link attenuation.

[0264] Still refer to Figure 17 Optionally, the transmission interface may be a communication interface, such as WiFi, Bluetooth, or an Ethernet port interface, and may send link information to other devices, such as a mobile phone, a network management device, etc., based on different communication protocols. Optionally, the transmission interface may also be connected to other external devices, such as a printer, a screen, etc., via a data cable. Optionally, the detection instrument may also include input and output devices such as a display screen, a touch screen, and a keyboard. The user may set parameters via the touch screen or the keyboard.

[0265] 3. Second network device side:

[0266] Figure 19 For an exemplary structural diagram of the photoelectric conversion module on the second network device side, please refer to Figure 19 , specifically including but not limited to: a photoelectric conversion unit, a modulation signal processing unit, a signal demodulation unit, a central processing unit, etc.

[0267] The optoelectronic conversion unit is used to perform optoelectronic conversion on optical signals and output electrical signals. Optionally, the optoelectronic conversion unit outputs low-frequency signals (such as topping signals) to the topping signal processing unit and high-frequency signals (such as service signals) to the signal demodulation unit.

[0268] The signal demodulation unit is used to demodulate service electrical signals and output service information.

[0269] The topping signal processing unit is used to extract, restore, and shape the topping signal (i.e., the topping electrical signal).

[0270] The central processing unit is used to obtain link information.

[0271] Among them, the specific implementation manners of the topping signal processing unit and the central processing unit can refer to the detection instrument end and will not be elaborated here.

[0272] Optionally, the optical module at the receiving end can determine whether the port to which the optical fiber on this side is connected is correct based on the obtained source device information and sink device information. Optionally, the receiving end can report the obtained link information to the network management device, so that the network management device side can identify the network topology based on the link information.

[0273] In a possible implementation manner, the optical module can be used as a signal sending end or a signal receiving end. Correspondingly, the optical module can have an optical signal generation function and an analysis function. To distinguish different units, the unit used to generate the topping signal is hereinafter referred to as the topping signal generation unit, and the unit used to restore the topping signal is hereinafter referred to as the topping signal restoration unit. Figure 20A For a schematic structural diagram of an optoelectronic conversion module shown by way of example, please refer to Figure 20A , the module includes but is not limited to: a topping signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a topping signal generation unit, a topping signal restoration unit, a signal demodulation unit, etc. The module central processing unit can be used to obtain link information and can also be used to report link information. The descriptions of other modules can refer to Figure 10A and Figure 19 the relevant content, which will not be elaborated here.

[0274] Figure 20B For a schematic structural diagram of an optoelectronic conversion module shown by way of example, please refer to Figure 20B , the module includes but is not limited to: a topping signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a topping signal generation unit, a topping signal restoration unit, a signal demodulation unit, etc. The module central processing unit can be used to obtain link information and can also be used to report link information. The descriptions of other modules can refer to Figure 10B and Figure 19 the relevant content, which will not be elaborated here.

[0275] Figure 20C For an exemplary structural schematic diagram of a signal processing module, please refer to Figure 20C , the module includes but is not limited to: a topping signal synthesis unit, an optical-electric conversion unit, a module central processing unit, a topping signal generation unit, a topping signal restoration unit, a signal processing unit, etc. Exemplarily, in a scenario where an optical signal containing a modulation signal needs to be generated (as shown by the solid arrow process), the signal processing unit outputs the received optical signal (i.e., the service optical signal) to the topping signal synthesis unit, and the topping signal synthesis unit can generate a target optical signal. The specific implementation method can refer to Figure 10C , which will not be elaborated here. Exemplarily, in a scenario where link information needs to be obtained (as shown by the dashed arrow process), the signal processing unit outputs the received optical signal (i.e., the target optical signal containing the topping signal) to the optical-electric conversion unit to execute the topping signal parsing process. The specific process can refer to Figure 16 , which will not be elaborated here. Moreover, after the signal processing unit performs signal processing (such as amplification, etc.) on the target optical signal, it outputs the processed target optical signal. Optionally, the topping signal parsing process can also be performed based on the target optical signal output by the signal processing unit. Correspondingly, the optical-electric conversion unit can be arranged after the signal processing unit to receive the target signal output by the signal processing unit. It can be understood that the signal processing unit outputs two paths of target optical signals. One path of the signal is output to the optical fiber through the interface, and the other path of the signal is output to the optical-electric conversion unit for executing the topping signal parsing process.

[0276] In a possible implementation manner, in the scenario where the optical signal processing module generates a target optical signal, the received optical signal is an optical signal without a topping signal, that is, a service optical signal. If there is a module upstream of the optical signal processing module that can generate an optical signal containing a topping signal, such as an optical-electric conversion module, correspondingly, the operator controls the optical-electric conversion module to stop generating the optical signal containing the topping signal, and the optical-electric conversion module will output a service optical signal. The downstream optical signal processing module can then process the service optical signal to obtain a target optical signal containing a topping signal.

[0277] Figure 17 Fig. shows a schematic block diagram of a device 2100 according to an embodiment of the present application. The device 2100 may include: a processor 2101 and a transceiver / transceiver pin 2102. Optionally, it further includes a memory 2103. The processor 2101 can be used to execute the steps performed by the optical module in the foregoing embodiments of the various methods, and control the receiving pin to receive signals and control the sending pin to send signals.

[0278] The various components of the device 2100 are coupled together via a bus 2104, where the bus system 2104 includes, in addition to a data bus, a power bus, a control bus, and a status signal bus. However, for clarity of illustration, all the various buses are labeled as the bus system 2104 in the figure.

[0279] Optionally, the memory 2103 can be used to store instructions in the foregoing method embodiments.

[0280] It should be understood that the device 2100 according to the embodiments of the present application can correspond to the optical module, detection device, or network device in each of the foregoing method embodiments, and the above and other management operations and / or functions of each element in the device 2100 respectively implement the corresponding steps of the foregoing various methods. For the sake of brevity, they will not be described in detail here.

[0281] Based on the same technical concept, the embodiments of the present application also provide a computer-readable storage medium that stores a computer program. The computer program includes at least one segment of code, and the at least one segment of code can be executed by the device to control the device to implement the foregoing method embodiments.

[0282] Based on the same technical concept, the embodiments of the present application also provide a computer program that, when executed by the device, is used to implement the foregoing method embodiments.

[0283] The program can be stored in whole or in part on a storage medium packaged together with the processor, or can be stored in whole or in part on a memory not packaged together with the processor.

[0284] Based on the same technical concept, the embodiments of the present application also provide a processor that is used to implement the foregoing method embodiments. The foregoing processor can be a chip.

[0285] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the spirit of the present application and the scope protected by the claims, can also make many forms, all of which fall within the protection scope of the present application.

Claims

1. A detection method, characterized in that, Including: A first network device sends a target optical signal to the second network device through an optical communication link between the first network device and the second network device. The target optical signal includes: a service optical signal containing service information and a detection optical signal containing link information. The link information includes at least one of the device information of the first network device, the device information of the second network device, and the route information of the optical communication link. A detection device acquires the target optical signal transmitted by the optical communication link. The detection device is in contact with the outside of the optical communication link. The detection device acquires the link information based on the detection optical signal in the target optical signal. The second network device receives the target optical signal.

2. The method according to claim 1, wherein The detection device acquiring the target optical signal transmitted by the optical communication link includes: The detection device acquires the target optical signal transmitted out of the optical communication link.

3. The method according to claim 1, wherein The contact part of the optical communication link with the detection device is curved.

4. The method according to claim 1, wherein The signal frequency of the detection optical signal is lower than the signal frequency of the service optical signal.

5. The method according to claim 1, wherein The device information of the first network device includes at least one of the following: The identification information of the first network device, the identification information of the connection port corresponding to the first network device in the optical communication link, and extended information.

6. The method according to claim 1, wherein The device information of the second network device includes at least one of the following: The identification information of the second network device, the identification information of the connection port corresponding to the second network device in the optical communication link, and extended information.

7. The method according to claim 1, characterized in that, The optical communication link passes through at least one intermediate device. The route information includes at least one of the following: The identification information of the intermediate device, the identification information of the connection port corresponding to the intermediate device in the optical communication link.

8. The method according to claim 5 or 6, characterized in that, The extended information includes at least one of the following: The module information of the optical module corresponding to the connection port, the transmission distance information of the target optical signal, the code pattern information of the target optical signal, the wavelength information of the target optical signal, the optical power information of the target optical signal, and alarm information.

9. The method according to any one of claims 1 to 8, characterized in that, The detection optical signal includes a frame header field and a data field; The link information is carried in the data field, and a preamble is included in the frame header field.

10. The method according to claim 6, wherein The data field includes at least one of the following: A first field carrying the device information of the first network device, a second field carrying the device information of the second network device, and a third field carrying the route information; The first field includes a first annotation, and the first annotation is used to indicate that the first field is used to carry the device information of the first network device; The second field includes a second annotation, and the second annotation is used to indicate that the second field is used to carry the device information of the second network device; The third field includes a third annotation, and the third annotation is used to indicate that the third field is used to carry the route information.

11. The method according to claim 1, characterized in that, The detection device acquiring the link information based on the detection optical signal in the target optical signal includes: The detection device performs optoelectronic conversion on the target optical signal to obtain a detection signal.

12. The method according to claim 11, wherein The detection device obtains the link information based on the detection optical signal in the target optical signal, including: The detection device decodes the detection signal according to a preset coding method to obtain the link information.

13. The method according to any one of claims 1 to 12, characterized in that, The first network device sends a target optical signal to the second network device through an optical communication link with the second network device, including: The first network device obtains the link information; The first network device encodes the link information according to a preset coding method to obtain the encoded link information; The first network device obtains the target optical signal based on the encoded link information.

14. The method according to claim 13, wherein The first network device obtains the target optical signal based on the encoded link information, including: The first network device processes the encoded link information to obtain a detection signal; The first network device obtains a target electrical signal based on the detection signal and a service signal including the service information; The first network device performs optoelectronic conversion on the target electrical signal to obtain the target optical signal.

15. The method according to claim 13, characterized in that The first network device obtains the target optical signal based on the encoded link information, including: The first network device processes the encoded link information to obtain a detection signal; The first network device performs optoelectronic conversion on a service signal including the service information to obtain a service optical signal; The first network device modulates the service optical signal based on the detection signal to obtain the target optical signal.

16. The method according to claim 1, characterized in that, After the second network device receives the target optical signal, it further includes: The second network device obtains the link information based on the detection optical signal in the target optical signal; The second network device obtains the service information based on the service optical signal in the target optical signal.

17. A detection method, characterized in that, Applied to a detection device, the detection device is in contact with the outside of the optical communication link between the first network device and the second network device, and the first network device performs data interaction with the second network device through the optical communication link. The method includes: Obtain a target optical signal transmitted in the optical communication link, where the target optical signal includes: a service optical signal including service information and a detection optical signal including link information, and the link information includes at least one of the device information of the first network device, the device information of the second network device, and the route information of the optical communication link; Obtain the link information based on the detection optical signal in the target optical signal.

18. The method according to claim 17, wherein The obtaining of the target optical signal transmitted by the optical communication link includes: Obtain the target optical signal transmitted out of the optical communication link.

19. The method according to claim 17, wherein The contact part of the optical communication link with the detection device is curved.

20. The method according to claim 17, characterized in that The signal frequency of the detection optical signal is lower than the signal frequency of the service optical signal.

21. The method according to claim 17, wherein The obtaining of the link information based on the detection optical signal in the target optical signal includes: Perform optoelectronic conversion on the target optical signal to obtain a detection signal; Decode the detection signal according to a preset coding method to obtain the link information.

22. An optical module, characterized in that, Includes: Module, including a central processing module, a signal processing module, and a sending port; The central processing module of the module is configured to obtain link information, where the link information includes at least one of device information of the first network device, device information of the second network device, and route information of the optical communication link between the first network device and the second network device; The signal processing module is configured to obtain a target optical signal based on the link information; the target optical signal includes: a service optical signal containing service information and a detection optical signal containing the link information; The sending port is configured to send the target optical signal to the second network device.

23. A network device, characterized in that, Comprising: One or more processors; A memory; And one or more computer programs, where the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the network device is caused to execute the method performed by the first network device in any one of claims 1 to 16.

24. A detection device, characterized in that, Comprising: One or more processors; A memory; And one or more computer programs, where the one or more computer programs are stored on the memory, and when the computer programs are executed by the one or more processors, the detection device is caused to execute the method performed by the detection device in any one of claims 1 to 16.

25. A detection system, characterized in that, Comprising the first network device, the second network device, and the detection device according to any one of claims 1 to 16.

Citation Information

Cited By

  • Fiber searching device and method and storage medium

    CN121441396A

  • Detection method, detection device, optical module, and network device

    WO2025148480A1