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

By sending target optical signals containing services and detection optical signals in the optical communication link, and using detection equipment to obtain link information, the network accident problem caused by the complex optical fiber connection relationship in the optical fiber network communication system is solved, and fast and accurate optical fiber connection identification and update are achieved.

WO2025148480A1PCT designated stage expired Publication Date: 2025-07-17HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/127825
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-11
Filing Date
2024-10-28
Publication Date
2025-07-17

AI Technical Summary

Technical Problem

In optical fiber network communication systems, the optical fiber connection relationship of the optical communication link is complex, and it is difficult for the prior art to quickly and effectively identify and update the optical fiber connection relationship, resulting in network accidents.

Method used

By sending a target optical signal including service optical signals and detection optical signals in the optical communication link, the detection device obtains link information without affecting service transmission, the detection device contacts external to the optical communication link, acquires link information, and analyzes the topology and status of the optical communication link.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024127825_17072025_PF_FP_ABST
    Figure CN2024127825_17072025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a detection method, a detection device, an optical module, and a network device. The method comprises: a first network device sending a target optical signal to a second network device via an optical communication link, wherein the target optical signal comprises a service optical signal and a detection optical signal comprising link information. The detection device is in contact with the outside of the optical communication link, and can obtain the target optical signal from the optical communication link, and obtain the link information on the basis of the detection optical signal in the target optical signal. According to the present application, by arranging the detection device outside of the optical communication link, the detection device can obtain the link information from the optical communication link without affecting service transmission between the network devices, so as to perform detection on the optical communication link.
Need to check novelty before this filing date? Find Prior Art

Description

Detection method, detection equipment, optical module and network equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on January 11, 2024, with application number 202410046565.7 and application name “Detection method, detection equipment, optical module and network equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of optical communications, and in particular to a detection method, a detection device, an optical module, and a network device. Background Art

[0003] In a fiber-optic network communication system, the optical communication links between network devices primarily consist of optical fibers, flanges, and optical distribution frames (ODFs). In the entire network topology, these components are passive and lack active monitoring methods, so they are generally referred to as "dumb resources" in the industry.

[0004] With the expansion and improvement of optical communication networks, the fiber connection relationships corresponding to the optical communication links between network devices are becoming more and more complex. During the system construction process, it is difficult to enter the source or destination end (i.e., the sending end and the receiving end) of the optical fiber and the routing information along the way. In the system improvement scenario, the recorded fiber connection relationship of the optical link will also change due to network maintenance or cutover. During the construction of the optical fiber network, service provisioning and subsequent maintenance, a quick and effective means is needed to identify the fiber connection relationship to avoid the sharing of optical cables for primary and backup services and incorrect fiber connection relationship records, which may lead to subsequent network accidents.

[0005] Currently, network operators primarily address this issue through manual labeling. For example, during system construction, operators record each fiber jump point in the asset management system based on the interconnection relationship of the optical communication link. At the same time, operators print source and destination information labels at each fiber connector and attach them to the fiber. In actual system usage or maintenance scenarios, operators can identify the corresponding relationships between numerous optical cables and fibers based on the information recorded in the asset management system and the label information at each connector. Furthermore, operators can manually modify records and labels to update and track fiber links during system rectification.

[0006] Summary of the Invention

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

[0008] 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 including: a service optical signal including service information and a detection optical signal including link information, the link information including at least one of device information of the first network device, device information of the second network device, and path routing information of the optical communication link. The detection device obtains the target optical signal transmitted by the optical communication link, and the detection device is in contact with the outside of the optical communication link. The detection device obtains 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, so as 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, and the detection device can obtain the target optical signal transmitted in the optical communication link, and obtain the link information corresponding to the optical communication link based on the detection optical signal in the target optical signal. This allows for optical communication link detection without affecting the transmission of service data between network devices, or in other words, without disrupting the optical communication link connection. Furthermore, by detecting link information carried by the optical signal, the detection device can obtain the specific connection status of the optical communication link.

[0009] Exemplarily, in the process of the network device continuously sending the target optical signal including the business optical signal and the detection optical signal, the 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 the 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 detection at any position on any optical communication link, thereby providing a convenient and fast detection method without destroying the original connection method of the optical communication link, that is, the detection of the optical communication link can be realized without affecting the transmission of business data.

[0010] Exemplarily, the detection optical signal may be a top-modulated optical signal, and the network device may obtain the target optical signal through the top-modulation technology.

[0011] In one 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 from the optical communication link. Thus, the detection device in this application is disposed outside the optical communication link and can acquire the target optical signal transmitted from the optical communication link without disrupting the connection state of the optical communication link. While the network devices maintain a communication connection, i.e., maintain service interaction, the detection device can acquire the optical signal transmitted in the communication link and further acquire link information to implement detection of the optical communication link.

[0012] In one possible implementation, the contact portion between the optical communication link and the detection device is curved. This allows the detection device in this application to acquire the transmitted optical signal from the optical communication link through macrobend detection. This does not disrupt the physical connection of the optical communication link nor affect the transmission of service signals.

[0013] In one possible implementation, the detection optical signal has a lower frequency than the service optical signal. Thus, by using two different types of optical signals, namely, optical signals of different frequencies, the receiving end (e.g., the detection device and / or the second network device) can separate the service optical signal from the detection optical signal. The detection signal in this application can be obtained from the target optical signal to obtain a low-frequency detection optical signal without affecting the high-frequency service signal.

[0014] In one possible implementation, 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 optical communication link corresponding to the connection port in the first network device, and extended information. Thus, by carrying link information containing the device information of the first network device in the detection signal, the present application enables the detection device to obtain the connection status of the optical communication link with the originating end (i.e., the first network device), thereby enabling an operator to determine the label and connection status of the optical communication link based on the link information.

[0015] In one possible implementation, 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 optical communication link corresponding to the connection port in the second network device, and extended information. Thus, by carrying link information containing the device information of the second network device in the detection signal, the present application enables the detection device to obtain the connection status of the optical communication link and the receiving end (i.e., the second network device), thereby allowing an operator to determine the label and connection status of the optical communication link based on this link information.

[0016] In one possible implementation, an optical communication link passes through at least one intermediate device, and the routing information includes at least one of the following: identification information of the intermediate device and identification information of the optical communication link corresponding to a connection port in the intermediate device. Thus, by carrying link information containing device information of the intermediate device in the detection signal, the present application enables the detection device to obtain the connection status of the optical communication link and the intermediate device, thereby allowing an operator to determine the label and connection status of the optical communication link based on this link information.

[0017] Illustratively, the optical communication link may or may not include an intermediate device.

[0018] Exemplarily, the detection device may be placed on an optical communication link before any intermediate device to detect whether the connection between the optical communication link and the port of the intermediate device is consistent with that identified in the link information.

[0019] Exemplarily, the intermediate device may be an active device or a passive device.

[0020] In one possible implementation, 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 type information of the target optical signal, wavelength information of the target optical signal, optical power information of the target optical signal, and alarm information. This allows the detection device to obtain more detailed information about the optical communication link status by using the additional information carried in the link information.

[0021] In one possible implementation, the detection optical signal includes a header field and a data field; the data field carries link information, and the header field includes a preamble. This allows the receiving end and the detection end (i.e., the detection device) to accurately identify the detection signal based on the preamble and further process the detection signal.

[0022] In one 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 path routing information; the first field includes a first annotation, the first annotation being 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, the second annotation being used to indicate that the second field is used to carry device information of the second network device; and the third field includes a third annotation, the third annotation being used to indicate that the third field is used to carry path routing information. In this way, different information can be effectively distinguished by different annotation information, and each piece of information in the link information can be displayed at intervals.

[0023] In one possible implementation, the detection device obtains link information based on a detection optical signal within the target optical signal. This includes performing optoelectronic conversion on the target optical signal to generate the detection signal. 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.

[0024] In one possible implementation, the detection device obtains link information based on the detection optical signal within the target optical signal, including decoding the detection signal using a predetermined encoding scheme to obtain the link information. Thus, using the agreed encoding scheme, both the detection device and the receiving end can decode the detection signal using the specified encoding scheme to obtain the link information.

[0025] In one possible implementation, a first network device sends a target optical signal to a second network device via 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 encoding 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 encoding method, so that a detection device that also has the encoding and decoding capability can decode the detection optical signal to obtain the link information. In addition, by sending the target optical signal including the link information, the first network device (i.e., the transmitting end) can enable the detection device and the receiving end to obtain the link information, thereby determining the connection topology of the optical communication link.

[0026] In one possible implementation, the first network device obtains a target optical signal based on the encoded link information, including: processing the encoded link information by the first network device to obtain a detection signal; obtaining a target electrical signal based on the detection signal and a service signal containing service information; and performing optoelectronic conversion on the target electrical signal by the first network device 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, thereby enabling the transmission of the detection optical signal containing the link information without affecting the service signal.

[0027] In one 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; and the first network device modulates the service optical signal based on the detection signal to obtain a 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. Therefore, by providing different modulation methods, it can be applied to different types of optical modules.

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

[0029] In a second aspect, the present application provides a detection method. The method is applied to a detection device, the detection device being in contact with the exterior of an optical communication link between a first network device and a second network device, wherein the first network device exchanges data with the second network device via the optical communication link. The method comprises: obtaining a target optical signal transmitted in the optical communication link, the target optical signal comprising: a service optical signal containing service information and a detection optical signal containing link information, wherein the link information comprises 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. The link information is obtained based on the detection optical signal in the target optical signal.

[0030] In a possible implementation, the detecting device acquires the target optical signal transmitted by the optical communication link, including: the detecting device acquires the target optical signal transmitted from the optical communication link.

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

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

[0033] In a possible implementation, link information is obtained based on a detection optical signal in a target optical signal, including: performing photoelectric conversion on the target optical signal to obtain a detection signal; and decoding the detection signal according to a preset coding method to obtain link information.

[0034] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.

[0035] In a third aspect, the present application provides a detection method. The method is applied to a first network device and includes: obtaining link information, the link information including at least one of device information of the first network device, device information of a second network device, and routing information of an 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 including a service optical signal containing service information and a detection optical signal containing link information; and transmitting the target optical signal to the second network device.

[0036] In a possible implementation, 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 optical communication link corresponding to the connection port in the first network device, and extended information.

[0037] In a possible implementation, 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 optical communication link corresponding to the connection port in the second network device, and extended information.

[0038] 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: identification information of the intermediate device, and identification information of a connection port in the intermediate device corresponding to the optical communication link.

[0039] In one possible implementation, 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 type information of the target optical signal, wavelength information of the target optical signal, optical power information of the target optical signal, and alarm information.

[0040] In a possible implementation, the detection optical signal includes a frame header field and a data field; the data field carries link information, and the frame header field includes a preamble.

[0041] In one 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 path routing information; 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 path routing information.

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

[0043] In one 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 containing service information; and performing optoelectronic conversion on the target electrical signal to obtain a target optical signal.

[0044] In one 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 containing 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.

[0045] The third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation of the third aspect can be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.

[0046] 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 transmission port; the module central processing module is configured to obtain link information, wherein the link information includes at least one of device information of a first network device, device information of a second network device, and routing 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 containing service information and a detection optical signal containing link information; and the transmission port is configured to transmit the target optical signal to the second network device.

[0047] In a possible implementation, 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 optical communication link corresponding to the connection port in the first network device, and extended information.

[0048] In a possible implementation, 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 optical communication link corresponding to the connection port in the second network device, and extended information.

[0049] 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: identification information of the intermediate device, and identification information of a connection port in the intermediate device corresponding to the optical communication link.

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

[0051] In one possible implementation, the detection signal processing unit is specifically used 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 containing service information; and perform photoelectric conversion on the target electrical signal to obtain a target optical signal.

[0052] In one possible implementation, the signal processing module also includes an optoelectronic conversion unit; the optoelectronic conversion unit is used to perform optoelectronic conversion on a service signal containing service information to obtain a service optical signal; and the detection signal processing unit is specifically used to: process the encoded link information to obtain a detection signal; and modulate the service optical signal based on the detection signal to obtain a target optical signal.

[0053] The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.

[0054] In a fifth aspect, the present application provides a network device comprising 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 executes the method executed by the first network device in the first aspect and any possible implementation of the first aspect.

[0055] 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, or a wireless baseband signal processing device.

[0056] Exemplarily, the network device is connected to the network management device via a network communication interface, and the network device can implement information exchange with the network management device via the network communication interface.

[0057] Illustratively, the network device may be a device integrating an optical module, an optical module, or a single board.

[0058] In a sixth aspect, the present application provides a detection device comprising 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 executes the method executed by the detection device in the first aspect and any possible implementation of the first aspect.

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

[0060] Exemplarily, the detection device may be connected to an external device such as a printer or a terminal to send link information to the external device.

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

[0062] In a possible implementation, the system further includes a network management device, which is used to uniformly manage and control the communication system.

[0063] Exemplarily, the network device is connected to the network management device via a network communication interface, and the network device can implement information exchange with the network management device via the network communication interface.

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

[0065] FIG1 is a schematic diagram showing a structure of a communication system;

[0066] FIG2 is a schematic diagram showing one of the structures of a communication system;

[0067] FIG3 is a schematic diagram showing one of the structures of a communication system;

[0068] FIG4 is a schematic diagram showing one of the structures of a communication system;

[0069] FIG5A is a schematic diagram showing one of the structures of a network device;

[0070] FIG5B is a schematic diagram showing one of the structures of a network device;

[0071] FIG6 is a schematic diagram illustrating an exemplary architecture of a detection system;

[0072] FIG7 is a flowchart showing an exemplary detection system;

[0073] FIG8 is a schematic diagram showing an exemplary processing flow on the first network device side;

[0074] FIG9 is a schematic diagram illustrating an exemplary application scenario;

[0075] FIG10A is a schematic diagram showing one of the structures of a photoelectric conversion module;

[0076] FIG10B is a schematic diagram showing one of the structures of a photoelectric conversion module;

[0077] FIG10C is a schematic structural diagram of an exemplary optical signal processing module;

[0078] FIG11 is a schematic diagram illustrating an exemplary signal processing flow;

[0079] FIG12 is a schematic diagram showing one of the data frame formats of exemplary top-tuning information;

[0080] FIG13 is a schematic diagram showing one of the data frame formats of exemplary top-tuning information;

[0081] FIG14 is a schematic diagram illustrating an exemplary top adjustment technique;

[0082] FIG15 is a schematic diagram illustrating an exemplary signal processing flow;

[0083] FIG16 is a schematic diagram showing one of the structures of a detection instrument;

[0084] FIG17 is a schematic diagram showing one of the structures of a detection instrument;

[0085] FIG18 is a schematic diagram illustrating an exemplary processing flow on the detection instrument side;

[0086] FIG19 is a schematic diagram showing one of the structures of a photoelectric conversion module;

[0087] FIG20A is a schematic diagram showing one of the structures of a photoelectric conversion module;

[0088] FIG20B is a schematic diagram showing one of the structures of a photoelectric conversion module;

[0089] FIG20C is a schematic structural diagram of an exemplary signal processing module;

[0090] FIG21 is a schematic structural diagram of an exemplary device. DETAILED DESCRIPTION

[0091] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0092] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

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

[0094] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0095] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.

[0096] Figure 1 is a schematic diagram illustrating the structure of an exemplary communication system. Referring to Figure 1 , the communication system in the embodiments of this application includes, but is not limited to, electronic equipment (referred to as network equipment in this embodiment) and power supply lines. The network equipment may include optical transmission equipment, optical access equipment, optical switching equipment, optical amplification equipment, routers, switches, wireless base stations, wireless remote access equipment, or wireless baseband signal processing equipment.

[0097] As shown in Figure 1, in this system, network devices include, but are not limited to, a first network device 110 and a second network device 120. First network device 110 includes, but is not limited to, a first optical module 111. Second network device 120 includes, but is not limited to, a second optical module 121. Power supply lines include, but are not limited to, a first power supply line 112 and a second power supply line 122. Data exchange between first network device 110 and second network device 120 occurs via optical jumpers (e.g., optical jumpers 113 and 123) and communication optical cables 130, which can also be understood as exchanging optical signals.

[0098] Exemplarily, the optical signal transmission path in the communication system shown in FIG1 may be as follows: first optical module 111 in first network device 110 outputs an optical signal, which is then input into communication optical cable 130 via first optical jumper 113. The optical signal output from communication optical cable 130 is input into second optical module 121 in second network device 120 via second optical jumper 123, thereby enabling optical signal transmission between first optical module 111 and second optical module 121.

[0099] Illustratively, the first power supply line 112 is connected to the first network device 110 and 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 is used to supply power to the second network device 120.

[0100] FIG2 is a schematic diagram illustrating the structure of another exemplary communication system. Referring to FIG2 , compared to the communication system shown in FIG1 , the communication system shown in FIG2 further includes, but is not limited to, a network management device 140, a first optical distribution frame (ODF) 114, a second optical distribution frame 124, and bidirectional optical patch cables.

[0101] Illustratively, the network management device 140 is used to provide management services for the communication system.

[0102] 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 .

[0103] 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 bidirectional transmission of optical signals between the first network device 110 and the second network device 120. In other words, 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.

[0104] Still referring to FIG. 2 , in one example, the optical signal transmission path in the communication system may be as follows: the optical signal output by the first optical module 111 is input to the communication optical cable 130 via 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 to the second optical module 121 via the optical jumper 1231, the second optical distribution frame 124, and the optical jumper 1232.

[0105] In another example, the optical signal transmission path in the communication system may be as follows: the optical signal output by the second optical module 121 is input to the communication optical cable 130 via 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 to the first optical module 111 via the optical jumper 1134, the first optical distribution frame 114, and the optical jumper 1133, thereby achieving bidirectional transmission of optical signals between the first optical module 121 and the second optical module 122.

[0106] Figure 3 is a schematic diagram illustrating the structure of another exemplary communication system. Referring to Figure 3, the communication system shown in Figure 3 includes, but is not limited to, a first network device 110, a second network device 120, a network management device 140, and a communication optical cable 130. First network device 110 includes, but is not limited to, a first optical module 111 and a third optical module 114. Second network device 120 includes, but is not limited to, a second optical module 121 and a fourth optical module 124. Power supply lines include, but are not limited to, a first power supply line 112 and a second power supply line 122.

[0107] Data is exchanged between the first network device 110 and the second network device 120 via optical jumpers and a communication optical cable 130. The optical communication link between the first optical module 111 and the second optical module 121 includes optical jumpers 113-1 and 123-1. Furthermore, the optical communication link between the third optical module 114 and the fourth optical module 124 includes optical jumpers 113-2 and 123-2.

[0108] The optical signal transmission path in the communication system shown in FIG3 may be as follows: first optical module 111 in first network device 110 outputs an optical signal, which is then input into communication optical cable 130 via first optical jumper 113-1. The optical signal output from communication optical cable 130 is then input into second optical module 121 of second network device 120 via second optical jumper 123-1, thereby enabling optical signal transmission between first optical module 111 and second optical module 121.

[0109] Third optical module 114 in first network device 110 outputs an optical signal, which is then input into communication optical cable 130 via first optical jumper 113-2. The optical signal output from communication optical cable 130 is then input into fourth optical module 124 in second network device 120 via second optical jumper 123-2, thereby enabling optical signal transmission between third optical module 114 and fourth optical module 124.

[0110] Figure 4 is a schematic structural diagram of another communication system shown as an example. Please refer to Figure 4. The communication system shown in Figure 4 includes but is not limited to: a first network device 110, a second network device 120 and a third network device 150, as well as a network management device 140, a communication optical cable 130 and a splitter 115 (including splitters 115-1, 115-2 and 115-3). 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 and a fourth optical module 124. The third network device includes but is not limited to a fifth optical module 151 and a sixth optical module 152. The system also includes a power supply line (not shown in the figure). The splitter can divide 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 or more levels of splitters, that is, a P2MP (point-to-multipoint) scenario.

[0111] Specifically, data is exchanged between the first network device 110 and the second network device 120 via an optical splitter, an optical jumper, and a communication optical cable 130 .

[0112] The optical signal transmission path in the communication system shown in Figure 4 can be as follows: the first optical module 111 in the first network device 110 outputs an optical signal, which is then input into the communication optical cable 130 via optical jumper 113-1. The optical signal output from the communication optical cable 130 is input into the optical splitter 115-1 via optical jumper 113-1. Optical splitter 115-1 splits one optical signal into two optical signals. One optical signal is input into the communication optical cable 130 via optical jumper 113-2. The optical signal output from the communication optical cable 130 is input into the optical splitter 115-2 via 113-3. Optical splitter 115-2 further splits the optical signal into two optical signals. One optical signal is input into the second optical module 121 via jumper 113-4. The other optical signal is input into the fourth optical module 124 via jumper 113-5.

[0113] Referring again to Figure 4 , the other optical signal output by optical splitter 115-1 is input to communication optical cable 130 via optical jumper 113-6. The optical signal output by communication optical cable 130 is then input to optical splitter 115-3 via 113-7. Optical splitter 115-3 further splits the optical signal into two optical signals. One optical signal is input to fifth optical module 151 via jumper 113-8. The other optical signal is input to fifth optical module 152 via jumper 113-9.

[0114] The network device in the embodiments of the present application may be an integrated device or a pluggable single board. A network device or a single board of the network device may include one or more optical modules. These optical modules are usually plugged into the panel of the network device or single board as a pluggable independent module, or they may be inside the network device or single board.

[0115] Figure 5A is a structural diagram of a network device in an 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.

[0116] 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 shown in FIG5A , optical module 1, optical module 2, ..., and optical module n can be pluggable into corresponding ports of the network device.

[0117] Optionally, the optical module may also be arranged (or integrated) inside the network device.

[0118] The central processing unit (also referred to as the central processing module, not limited in this application) of the network device can exchange data with the module central processing unit (also referred to as the module central processing module, not limited in this application) in the optical module through the communication bus.

[0119] FIG5B is another schematic diagram of the structure of the network device in an embodiment of the present application. Referring to FIG5B , in other embodiments of the present application, the network device may include but is not limited to: at least one board, for example, the network device may include: independent boards 1, 2, ..., and n.

[0120] Exemplarily, the single board is a pluggable single board. Each single board can be plugged into a network device, or the single board can also be set (or integrated) inside the network device. The central processing unit of the network device exchanges data with the single board central processing unit in the single board via a communication bus.

[0121] As shown in FIG5B , taking board 1 as an example, at least one optical module can be provided in the board. The optical module can be pluggable on the board, or the optical module can be provided (integrated) within the board. For example, in FIG5B , optical module 1, optical module 2, ..., and optical module n can be pluggable on corresponding ports on the board. The board's central processing unit exchanges data with the module central processing unit in the optical module via a communication bus.

[0122] The optical modules in the embodiments of the present application may include but are not limited to: an optoelectronic conversion module, an optical signal processing module, an optical amplification module, an optical switching module, etc., and are not limited in the present application.

[0123] In an optical communication scenario (for example, any scenario shown in Figures 1 to 3), operators need to maintain the connection relationship of the optical fiber link. A method for maintaining the connection relationship of the optical fiber is provided in an existing technical embodiment. Specifically, the optical line terminal on the network device OLT (Optical Line Terminal) obtains the identification information of the optical fiber to be identified that is 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 transmits the optical signal generated by these data frames to the optical fiber to be identified, and the optical fiber identifier is connected to the corresponding optical fiber, parses the identification data frame signal, and completes the identification and calibration of the optical fiber to be identified at the other end of the optical fiber. Construction or maintenance personnel carry a fiber identifier, and during the construction, service issuance 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 regular startup, and encode the identification information of each optical fiber to be identified and convert it into an optical signal, which is transmitted to the optical fiber to be identified connected to the OLT port. The remote detection operator receives the optical signal on each optical fiber at the remote end (such as the user side) through the optical fiber identification instrument, 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, thereby identifying and marking a certain optical fiber as the optical fiber to be identified from the multiple optical fibers at the remote end, so as to subsequently perform link quality, connection quality detection and evaluation on this optical fiber.

[0124] In this method, construction or maintenance personnel need to connect the fiber optic identifier to each optical fiber to be identified at the remote end, complete the signal analysis and restore the identification information of the optical fiber to be identified. For scenarios where both the source and the destination are already connected to the equipment, the pigtail at one end needs to be unplugged and connected to the fiber optic identifier before fiber identification can be performed, that is, the original docking state of the optical fiber to be identified must be disconnected during the test. For optical fiber links that are currently in communication services, fiber identification can only be performed under the premise of interrupting the service, which cannot meet the scenarios where the service cannot be interrupted in actual operation and maintenance. In addition, for the optical splitter scenario of the OLT network, this solution can only be used for the identification of the very end link. If measuring at the front-end port of the splitter, the corresponding jumper needs to be unplugged to interrupt all subsequent line communications of this level of splitter.

[0125] An embodiment of the present application provides a detection system, which includes but is not limited to: an optical communication network (also referred to as an optical communication system) and a detection instrument (also referred to as an identification instrument or a link identification instrument, which is not limited in this application). Optionally, the optical communication network can be any of the system architectures in Figures 1 to 4. In other embodiments, it can also be other optical communication architectures, which are not limited in this application. In the detection system provided in the embodiment of the present application, the first network device in the optical communication network (as an optical signal sending end, which can be a network device or an optical module in the network device, referred to as the sending end) sends an optical signal. The optical signal includes a service optical signal and a top-modulated optical signal (also referred to as a detection optical signal, which is not limited in this application). The top-modulated optical signal includes link information, which is used to describe the topology of the optical communication network and / or the communication status of the optical communication network, for example, including but not limited to network device information and / or path routing information. The detection instrument is placed on the optical communication link (i.e., a single optical fiber), and obtains the optical signal transmitted in the optical fiber to be tested on the optical communication link by detecting optical fiber macrobend leakage. The detection instrument can process the optical signal to obtain the link information carried in the top-modulated optical signal. Thus, in the detection system of the embodiment of the present application, by transmitting an optical signal including link information at the transmitting end, the detection instrument can obtain the optical signal transmitted in the optical fiber to be tested and parse the link information. This allows the topology and / or status information of the optical communication network to be obtained without disconnecting the optical communication link, that is, while maintaining normal service transmission. Operators can improve the topology of the optical communication network based on the link information and can also obtain the communication status of the optical communication network to analyze the health of the optical communication network.

[0126] Figure 6 is a schematic diagram of the architecture of an exemplary detection system, which includes but is not limited to an optical communication network and a detection instrument. The optical communication network shown in Figure 6 is only a schematic example and can be any optical communication network architecture, and this application does not limit it. Referring to Figure 6, 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. The first port in the first network device is plugged into a first optical module, and the second port in the second network device is plugged into a second optical module. Data is exchanged between the first optical module and the second optical module via optical fiber 1 and optical fiber 2. The detection instrument is placed on the optical fiber to be detected, that is, the detection instrument contacts the outside of the optical fiber to be detected without disrupting the working state of the optical communication link. In this example, the optical fiber to be detected is optical fiber 1. During the operation of the network device, that is, during the process of business data exchange between the first network device and the second network device, the detection identifier can be clamped on the optical fiber to be detected, so that the contact portion of the optical fiber and the detection identifier is bent. The detection identifier can obtain the optical signal transmitted from the optical fiber to be detected through macrobend detection. The structure of the detection identifier shown in Figure 6 is only a schematic illustration and this application does not limit it. Furthermore, the embodiments of this application illustrate only the example of a detection and identification instrument clamped on an optical fiber to capture the optical signal transmitted through the optical fiber. In other embodiments, the detection and identification instrument can be placed on the optical fiber in other configurations to capture the optical signal transmitted through the optical fiber. Furthermore, the embodiments of this application illustrate only the example of macrobend detection, where the detection and identification instrument captures the optical signal transmitted through the optical fiber through a bend in the optical fiber. In other embodiments, optical signals transmitted through the optical fiber can also be captured using other methods that do not disrupt the transmission of the optical signal, and this application does not limit this.

[0127] In conjunction with Figure 6, Figure 7 is an exemplary workflow diagram of the detection system. Referring to Figure 7, the first optical module outputs an optical signal. The optical signal includes a service optical signal and a top-modulated optical signal. The service optical signal includes service information. The top-modulated optical signal includes link information (also referred to as top-modulated information), which is used to describe the topology and / or communication status of the optical communication network. Specifically, the first optical module can obtain the link information sent down by the network device side. The link information includes, but is not limited to: any one or a combination of the subrack number of the equipment at both ends, the port number, the optical module model, the transmission distance, the code type, the wavelength information, the transmitted optical power, the transmitting end alarm information, and the routing information. The first optical module encodes the link information to obtain the encoded link information, which can also be referred to as top-modulated information. The encoded link information is a data frame with a specific format, the specific format of which will be described below. The first optical module uses the top-modulated technology to top-modulate the top-modulated optical signal containing the top-modulated information onto the service data optical signal to generate an optical signal (also referred to as the target optical signal). The top-modulated optical signal has a specified top-modulated depth (also called modulation depth, not limited in this application) and a specified top-modulated frequency (also called modulation frequency, not limited in this application).

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

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

[0130] The technical solutions for the first network device, the detection instrument, and the second network device are described in detail below.

[0131] 1. First network device side:

[0132] FIG8 is a schematic diagram of an exemplary processing flow on the first network device side. Referring to FIG8 , the processing flow specifically includes but is not limited to the following steps:

[0133] S801: The central processing module of the network device obtains link information.

[0134] Exemplarily, an operator may configure link information in a network management device. 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, path routing information, and other extended information.

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

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

[0137] The path routing information includes but is not limited to: identification information of intermediate devices along the path of the optical communication link.

[0138] 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, and network device identification (which can also be understood as a subrack identification).

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

[0140] The device information and port identification information of the second network device are the same as those of the first network device, and are not described again here.

[0141] 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, transmit optical power, alarm information, etc.

[0142] For 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. Accordingly, the identification information of the first network device includes but is not limited to at least one of the following:

[0143] Guangzhou-Beijing (data transmission direction), Guangzhou Qinghe District (site), 1507-0 subrack (network device ID, i.e., subrack identifier), 19-U3SN402 (board identifier), 1 (port ID). Optionally, the "subrack" in the embodiments of this application can also be called a rack or other term, which is not limited in this application.

[0144] The above identification information is used to indicate that the transmission direction of the optical signal is from Guangzhou to Beijing, and port 1 (also referred to as port 1 or first port) in the 19-U3SN402 board in the network device in the 1507-0 subrack in the Qinghe District site in Guangzhou.

[0145] In the embodiments of the present application, the intermediate devices in the optical communication link path can be active devices or passive devices. For example, they can be passive devices such as optical fiber distribution frames and optical fiber distribution boxes, or active devices such as optical switching devices and optical amplifiers, which are not limited in this application.

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

[0147] For example, Figure 9 is a schematic diagram of an exemplary 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. Among them, the optical communication link includes a first optical communication link in which a first optical module transmits a signal to a second optical module, and a second optical communication link in which a second optical module transmits a signal to a first optical module. In this scenario, the first optical communication link is used as an example to illustrate the optical fiber to be detected. 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 various devices or apparatuses. The detection instrument is clamped on the optical fiber between ODF2 and ODF3. The position where the detection instrument is clamped can be called a detection point (it can also be called a test point, a monitoring point, or an identification point, etc., which is not limited in this application). The position of the detection point is only an illustrative example and is not limited in this application. In this example, the path routing information of the first optical communication link may include, but is not limited to: ODF1 site name, ODF1 identifier (for example, it may be an ODF1 subrack identifier), ODF1 port identifier (i.e., the identifier of the port of the first optical communication link connected to ODF1), ODF2 site name, ODF2 identifier (for example, it may be an ODF2 subrack identifier), ODF2 port identifier (i.e., the identifier of the port of the first optical communication link connected to ODF2), ODF3 site name, ODF3 identifier (for example, it may be an ODF3 subrack identifier), ODF3 port identifier (i.e., the identifier of the port of the first optical communication link connected to ODF3), ODF4 site name, ODF4 identifier (for example, it may be an ODF4 subrack identifier), ODF4 port identifier (i.e., the identifier of the port of the first optical communication link connected to ODF4). In the embodiment of the present application, only the path routing information of the first optical communication link in Figure 9 is used as an example for explanation. In other embodiments, the path routing information of different optical communication links can be configured according to actual needs, and this application does not limit it.

[0148] Exemplarily, a network device obtains link information configured by a network management device. In one example, the network device may periodically obtain local link information from the network management device. The local link information may optionally be link information corresponding to the communication links connected to each port on the local device. In another example, the network management device may send link information corresponding to each network device to the network device after the network device comes online. Upon detecting an update to the link information of the network device, the network management device may send the updated link information to the network device. The specific acquisition method may be configured based on actual needs and is not limited by this application.

[0149] S802: The optical module starts the top adjustment function.

[0150] Exemplarily, the optical module may be provided with a top adjustment function switch, and the operator can start the top adjustment function of the optical module by controlling the top adjustment function switch. In one example, after the top adjustment function is turned on, the optical module will execute the subsequent monitoring process, that is, send an optical signal including a top adjustment optical signal. In another example, after the top adjustment function is turned off, the optical module stops sending an optical signal including a top adjustment optical signal. During the test process, the top adjustment function of each optical module may remain on, that is, each module as the transmitting end generates and sends an optical signal including link information. Accordingly, each optical communication link will transmit an optical signal including link information. The operator can detect the corresponding optical fiber by adjusting the position of the detection instrument. For example, in the process of the first optical module continuously sending an optical signal including a top adjustment optical signal, the operator can clamp the detection identification instrument at the position shown in Figure 9 to obtain link information, and the operator can identify the optical fiber based on the link information. For another example, during the process in which the first optical module continuously transmits an optical signal including a top-modulated optical signal, the operator can move the detection and identification instrument, for example, move the instrument from the position in FIG9 to any position between OFD1 and the communication optical cable, and clamp the detection and identification instrument on the optical fiber to obtain the optical signal transmitted on the clamped light (i.e., the optical fiber to be tested), and further obtain link information. That is to say, in an embodiment of the present application, during the process in which the optical module continuously transmits an optical signal including a top-modulated optical signal, which can also be understood as when the optical fiber continuously transmits an optical signal including a top-modulated optical signal, the operator can place the detection and identification instrument at any position on 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 transmits an optical signal including a top-modulated 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. Based on the link information, the operator can determine whether the optical fiber is correctly connected and whether the label on the optical fiber is correct. The structure shown in Figure 9 is only schematic. In actual application scenarios, there are a large number of optical fibers in the optical communication system. The operator can obtain link information by clamping the detection identifier on the specified light, and judge the optical fiber connection and optical fiber label based on the link information.

[0151] Optionally, during the test, the operator can also enable the top adjustment function of the modules connected to the optical communication link to be tested one by one to avoid occupying too many network resources.

[0152] For example, the top adjustment function of the optical module can be enabled or disabled at any time and can be set according to actual needs, which is not limited in this application.

[0153] It should be noted that S802 and other steps in FIG8 have no time limit and can be executed at any time, and this application does not impose any limitation.

[0154] S803: The central processing module of the network device queries whether the optical module supports the top adjustment function.

[0155] For example, after obtaining link information, the network device can detect whether each optical module supports the top modulation function. In the embodiments of the present application, supporting the top modulation function does not mean enabling the top modulation function. Supporting the top modulation function means that the optical module has the ability to generate and output optical signals including link information. It can also be understood as having the ability to use top modulation technology to modulate service signals. Optionally, after disabling the top modulation function, an optical module that supports the top modulation function can still obtain the link information corresponding to the optical module.

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

[0157] Exemplarily, the network device sends link information corresponding to the optical module to the optical module that supports the top adjustment function. Optionally, the network device obtains link information of the module serving as the transmitting end. For example, in Figure 6, the first network device obtains link information of the first optical module, and the link information is used to indicate the link information of the optical communication link (e.g., optical fiber 1) through which the first optical module transmits an optical signal to the second optical module. The second network device obtains link information of the second optical module, and the link information is used to indicate the link information of the optical communication link (e.g., optical fiber 2) through which the second optical module transmits an optical signal to the first optical module.

[0158] In an embodiment of the present application, a network device may include multiple ports, each corresponding to an optical module. The network device may obtain link information corresponding to each optical module, which can also be understood as link information corresponding to each port. Based on the obtained link information, the network device may send the link information corresponding to the port to the module corresponding to the port.

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

[0160] For example, after the optical module obtains link information and detects that the top modulation function is enabled, it can generate a target optical signal containing a service optical signal and a top modulation 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 top modulation information.

[0161] The optical module can generate a target optical signal based on the top-modulation information. In one example, the optical module can generate a top-modulation signal based on the top-modulation information. The optical module generates a target electrical signal based on the top-modulation signal and the service signal. The target optical signal is then obtained by performing electrical-to-optical conversion on the target electrical signal. That is, in this example, the optical module processes the service electrical signal so that the target electrical signal carries the service information and the top-modulation information, and then converts it into an optical signal. In another example, the optical module can generate a top-modulation signal based on the top-modulation information. The optical module can process the service optical signal based on the top-modulation signal to obtain the target optical signal. That is, in this example, the optical module processes the service optical signal so that the target optical signal carries the service information and the top-modulation information.

[0162] Exemplarily, the optical module outputs the optical signal via the optical communication link. For example, in FIG9 , the first optical module sends the optical signal to the second optical module via the optical communication link.

[0163] The following describes in detail the process of generating optical signals by an optical module.

[0164] FIG10A is a schematic structural diagram of an exemplary photoelectric conversion module. Referring to FIG10A , the photoelectric conversion module includes but is not limited to: a top modulation signal synthesis unit, a photoelectric conversion unit, a module central processing unit, and a top modulation signal processing unit.

[0165] The module central processing unit is used to obtain link information and encode the link information to obtain top adjustment information.

[0166] The top tone signal processing unit is configured to generate a top tone signal based on the top tone information.

[0167] The top-modulation signal synthesis unit is configured to generate a target electrical signal based on the top-modulation signal and the service signal. Specifically, the top-modulation signal synthesis unit superimposes the top-modulation signal on the service signal and outputs the target electrical signal including the service signal and the top-modulation signal.

[0168] The photoelectric conversion unit is used to perform electrical-to-optical conversion on the target electrical signal and output the target optical signal.

[0169] It should be noted that the service signal (also referred to as the service electrical signal), the top modulation signal (also referred to as the top modulation electrical signal), and the target electrical signal described in the embodiments of the present application are all electrical signals, and the service optical signal, the top modulation optical signal, and the target optical signal are all optical signals, which will not be repeated below.

[0170] It should be further explained that the names of the modules in FIG10A are merely illustrative examples and are not limited in this application.

[0171] It should be further explained that the optical module may also include more modules, such as a signal processing module and other modules for shaping, amplifying, and other processing of service signals, which is not limited in this application.

[0172] In conjunction with FIG10A , FIG11 is a schematic diagram of an exemplary signal processing flow chart. Referring to FIG11 , the signal processing flow chart specifically includes but is not limited to the following steps:

[0173] S1101: Encode link information to obtain top adjustment information.

[0174] Exemplarily, the module's central processing unit obtains link information corresponding to the local port from the network device's central processing module via a communication bus. Optionally, the module's central processing unit may configure registers to store link information (which may be link information sent by the network management device or link information parsed by the local end) and other parameters (e.g., modulation frequency and modulation depth, as described below).

[0175] The module central processing unit encodes the top modulation signal to obtain encoded link information. In the embodiment of the present application, the encoded link information is referred to as the top modulation information and will not be repeated below. Specifically, the module central processing unit encodes the top modulation signal according to a preset encoding method to obtain the top modulation information. In the embodiment of the present application, the preset encoding method can be understood as the encoding method agreed upon by each module in the system. That is, the transmitting end (e.g., the first optical module) encodes based on the preset encoding method, and the receiving end (e.g., the detection instrument or the second optical module) can decode based on the preset encoding method to obtain the correct transmission data.

[0176] Optionally, the preset encoding method can be any encoding method that avoids long 0s or long 1s. The encoding method can be the same as the encoding method of the service information, or it can be different, and this application does not limit it. For example, in the embodiment of the present application, the preset encoding method can be Manchester encoding. The encoding method is only an illustrative example and is not limited by this application.

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

[0178] FIG12 is a schematic diagram showing an exemplary data frame format of the top adjustment information. Referring to FIG12 , the data frame includes but is not limited to: a frame header field and a data field. The frame header field carries a preamble, and the data field carries link information and other information.

[0179] Exemplarily, the preamble is a specific preamble, which can also be understood as a preamble that is pre-agreed upon. That is, the source end (i.e., the optical signal transmitting end, such as the first optical module) and the destination end (i.e., the optical signal receiving end, such as the second optical module) pre-set (or agreed upon), and after the source end encodes the link information, it generates a data frame, which includes the agreed preamble. In this way, after the receiving end obtains the data frame, it can obtain the link information carried by the data frame by identifying the preamble. The specific acquisition method will be described below.

[0180] Optionally, in an embodiment of the present application, the leading code can use one-byte 0x55 or two-byte 0x55+0xd5, which can be set according to actual needs and is not limited in this application.

[0181] 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 information field, destination information field, path routing information field, extended information field, and custom information field.

[0182] The information type field is used to carry the information type. The length of the information type field can be 1 byte, and different bits are used to indicate whether the corresponding information exists in the data field. For example:

[0183] Table 1

[0184] As shown in Table 1, bit 0 indicates whether the data field includes source information. Bit 1 indicates whether the data field includes destination information. Bit 2 indicates whether the data field includes routing information. Bit 3 indicates whether the data field includes extended information. Bit 4 indicates whether the data field includes custom information. Bits 5 to 7 are reserved.

[0185] In an embodiment of the present application, the order of the fields in the data field is illustrated using the information type field, source information field, destination information field, path routing information field, extended information field, and custom information field as examples. In other embodiments, the order of the fields in the data field can also be set according to actual needs, and accordingly, the information indicated by each bit in the information type is also set accordingly.

[0186] Still referring to Figure 12, the source information field is used to carry source information (for example, device information of the first network device), the destination information field is used to carry destination information (for example, device information of the second network device), the path routing information field is used to carry path 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 an embodiment of the present application, each field may include annotation information for marking the type of information carried by the field. The annotation information in the embodiment of the present application includes: From, To, Via, Ex, CM, etc. Among them, From is used to mark the information carried by the field as source information, To is used to mark the information carried by the field as destination information, and Via is used to mark the information carried by the field as routing information. Ex is used to mark the information carried by the field as extended information. CM is used to mark the information carried by the field as custom information. The annotation method is only an illustrative example and can be set according to actual needs. This application does not limit it.

[0188] For example, please refer to Figure 13. The source information field carries source information, such as 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 sink information field carries sink information, such as 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 via routing information field carries routing information, including but not limited to: Via - intermediate device 1 identifier - intermediate device 1 port identifier - intermediate device 2 identifier - intermediate device 2 port identifier, etc. Optionally, if the optical communication link does not pass through any intermediate device, this field may not be included in the data frame, or the content of this field may be empty.

[0191] The "-" represents a gap, which is used to separate different information. Other gap methods can also be used, which are not limited in this application. The specific meaning of each identifier can be referred to above and will not be repeated here.

[0192] For example, consider the optical communication link to be tested in Figure 9. The source information field includes: FROM-Guangzhou-Beijing (data transmission direction), Guangzhou Qinghe District (site), 1507-0 subrack (network device ID, i.e., subrack identifier), 19-U3SN402 (board identifier), and 1 (port ID). The sink information field includes: TO-Guangzhou-Beijing (data transmission direction)-Beijing Santai (site)-1350-0 subrack (network device ID, i.e., subrack identifier)-52-U3SN402 (board identifier)-1 (port ID). The routing 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 District (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 may optionally be the extended information corresponding to the source end (i.e., the optical signal sending end, such as the first optical module), which may include but is not limited to: optical module model, transmission distance, code type, wavelength information, transmitted optical power, alarm, etc.

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

[0195] Optionally, the extended information in the embodiments of the present application may also include source-side extended information and sink-side extended information, and the extended information of each end may also be included in the corresponding device information field. For example, the extended information of the source end may be included in the source-side information field, and the extended information of the sink end may be included in the sink-side information field, which is not limited in this application.

[0196] For example, the custom information carried in the custom information field can be user-configured on the sending end and can be used to maintain information delivery. This can include routing information changes or operational feedback. For example, the custom information field might be: CM-ODF1 Route Change - New Port - Port 16, indicating that the interface between ODF1 and the communication link to be tested has changed from the original port (e.g., port 15) to port 16. The specific information can be configured based on actual needs and is not limited by this application.

[0197] Optionally, the data frame also includes a packet length field and a checksum 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 (e.g., a second optical module or a detection instrument) can detect whether the received data frame is complete based on the packet length information. The checksum field is used to carry checksum information, which is a cumulative checksum of link information and packet length information, and is used to detect whether the data frame is correctly received. Optionally, the checksum information can use a CRC (Cyclic Redundancy Check) algorithm, which is not limited in this application.

[0198] The module central processing unit outputs the top-modulation information to the top-modulation signal processing unit, so as to instruct the top-modulation signal processing unit to generate a corresponding top-modulation signal.

[0199] S1102: Generate a top-tone signal based on the top-tone information.

[0200] For example, as shown in FIG10A , the top-tune signal processing unit obtains top-tune information and processes the top-tune information to generate a top-tune signal. Specifically, the top-tune signal processing unit modulates the top-tune information to generate a top-tune signal having a preset modulation frequency (also referred to as a target modulation frequency). Alternatively, the top-tune frequency may be indicated to the top-tune signal processing unit by the module central processing unit, which is not limited in this application.

[0201] In the embodiments of the present application, the modulation frequency may include, but is not limited to, 200 Hz, 1 kHz, 2 kHz, etc., and may be set to different levels according to actual needs, which is not limited in this application. For example, the modulation frequency in the embodiments of the present application is 1 kHz, which is only an illustrative example and is not limited in this application.

[0202] S1103: Generate a target electrical signal based on the top modulation signal and the service signal.

[0203] Exemplarily, as shown in FIG10A , the top-modulated signal processing unit outputs the top-modulated signal to the top-modulated signal synthesis unit. The top-modulated signal synthesis unit generates a target signal, also referred to as a target electrical signal, based on the top-modulated signal and the service signal. Specifically, the top-modulated signal synthesis unit superimposes the low-frequency top-modulated signal on the high-frequency service signal based on a preset top-modulated depth, thereby outputting the target signal. FIG14 is a schematic diagram illustrating an exemplary top-modulated technology. Referring to FIG14 , the top-modulated signal synthesis unit modulates the amplitude of the service signal based on the top-modulated signal to superimpose a low-frequency signal on the high-frequency service signal. For example, using NRZ (Non-return-to-zero Code) modulation, before a service electrical signal is applied, the optoelectronic conversion unit outputs a DC bias voltage (also referred to as a DC bias point). At this point, the optical signal maintains a constant value. Once a service electrical signal is generated, the optoelectronic conversion unit uses a level of 1 to represent a digital 1 and a level of 0 to represent a digital 0. This changing digital signal generates a changing voltage signal. When the optoelectronic conversion unit applies this varying voltage signal to the DC bias voltage, it outputs a varying modulation voltage. This generates an optical signal on a constant optical signal that varies at the same frequency as the service electrical signal. Similarly, the top-modulation signal is applied in a similar manner, as the modulation signal has a lower frequency than the service electrical signal, and the difference is significant. Therefore, within the modulation signal's reference frame, the service electrical signal can be considered the DC bias point of the top-modulation signal. Similarly, the top-modulation signal (e.g., 101010...) is applied to the DC bias point to superimpose the top-modulation signal and the service electrical signal, ultimately producing a low-frequency optical power variation in the output optical signal.

[0204] Optionally, the top modulation depth may also be preset by the module central processing unit, and the module central processing unit may indicate the top modulation depth to the top modulation signal synthesis unit.

[0205] Modulation depth, also known as modulation depth or modulation amplitude, 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. Modulation depth is further divided into electrical modulation depth M_rf and optical modulation depth M_op.

[0206] Electrical modulation depth M_rf:

[0207] In the above formula:

[0208] M_rf: electrical modulation depth.

[0209] RFWT_Vp: peak-to-peak value of electrical modulation swing.

[0210] RFVp: Mean value of the electrical modulation signal.

[0211] Optical modulation depth M_op:

[0212] In the above formula:

[0213] M_op: Light modulation depth.

[0214] P_wt: peak-to-peak value of optical power modulation swing.

[0215] P_avg: average optical power.

[0216] In the embodiment of the present application, the modulation depth is pre-set by the operator, for example, it can be any depth value between 0.1% and 10%. For example, the size of the modulation depth affects the transmission distance and recognition sensitivity. The larger the setting, the longer the transmission distance, but the greater the impact on the existing service signal. Accordingly, the operator can set the corresponding top modulation depth according to the transmission distance, output optical power and link budget of the top modulation signal, which is not limited in this application. For example, in the embodiment of the present application, the top modulation depth can be set to 8%, which is only an illustrative example and is not limited in this application.

[0217] Alternatively, in a real-world setup, you can initially use a low modulation depth on the module, build a test system using an optical power meter, eye diagram analyzer, and service instrumentation, and gradually increase the modulation depth for testing. An appropriate modulation depth is one that does not affect the eye diagram quality within the transmission specifications, ensures service stability, and allows a link identifier to recover link-related information from any fiber point within the transmission specifications.

[0218] S1104, performing photoelectric conversion on the target electrical signal to obtain a target optical signal.

[0219] Still referring to FIG10A , the top-modulated signal synthesis unit illustratively outputs the target signal to the optoelectronic conversion unit. The optoelectronic conversion unit performs electrical-to-optical conversion on the target signal, converting the input electrical signal into an optical signal to obtain a target optical signal. Accordingly, the target optical signal includes the service optical signal and the top-modulated optical signal.

[0220] FIG10B is a schematic structural diagram of an exemplary optoelectronic conversion module. Referring to FIG10B , the optoelectronic conversion module includes but is not limited to: a top modulation signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, and a top modulation signal processing unit.

[0221] The module central processing unit is used to obtain link information and encode the link information to obtain top adjustment information.

[0222] The top tone signal processing unit is configured to generate a top tone signal based on the top tone information.

[0223] The optoelectronic conversion unit is used to convert the service signal (ie, the service electrical signal) into a service optical signal.

[0224] The top modulation signal synthesis unit is configured 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.

[0225] In conjunction with FIG10A , FIG15 is a schematic diagram of an exemplary signal processing flow chart. Referring to FIG15 , the signal processing flow chart specifically includes but is not limited to the following steps:

[0226] S1501: Encode link information to obtain top adjustment information.

[0227] For detailed description, please refer to S1101 and will not be repeated here.

[0228] S1502: Generate a top-tone signal based on the top-tone information.

[0229] For detailed description, please refer to S1102 and will not be repeated here.

[0230] S1503: Modulate the service optical signal based on the top modulation signal to generate a target optical signal.

[0231] Specifically, as shown in Figure 10B , the top-modulated signal synthesis unit receives a service optical signal input from the optoelectronic conversion unit. The service optical signal carries service information. The top-modulated signal synthesis unit receives a top-modulated signal input from the top-modulated signal processing unit. The top-modulated signal synthesis unit modulates the service optical signal based on the top-modulated signal and outputs a target optical signal. Specifically, the top-modulated signal synthesis unit modulates the service optical signal based on the top-modulated electrical signal and a preset modulation depth, thereby imbuing the service optical signal with the top-modulated optical signal.

[0232] FIG10C is a schematic diagram of the structure of an exemplary optical signal processing module. Referring to FIG10C , the optical signal processing module includes but is not limited to: a top modulation signal synthesis unit, a signal processing unit, a module central processing unit, and a top modulation signal processing unit.

[0233] The module central processing unit is used to obtain link information and encode the link information to obtain top adjustment information.

[0234] The top tone signal processing unit is configured to generate a top tone signal based on the top tone information.

[0235] 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.

[0236] The top-modulation signal synthesis unit is configured 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 be found in the module description of FIG10B and will not be repeated here.

[0237] 2. Testing instrument side:

[0238] FIG16 is a schematic diagram of the structure of an exemplary detection instrument. Referring to FIG16 , the instrument includes but is not limited to: a photoelectric conversion unit, a modulation signal processing unit, and a central processing unit.

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

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

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

[0242] In conjunction with FIG16 , FIG18 is a schematic diagram of an exemplary processing flow on the detection instrument side. Referring to FIG18 , the processing flow includes but is not limited to the following steps:

[0243] S1801: Obtain an optical signal transmitted in an optical communication link through macrobend detection.

[0244] For example, as shown in Figure 9, an operator can clamp the detection instrument at any location on the optical communication link to be tested, which can be referred to as the detection point. For example, an optical signal is transmitted in the optical communication link, and the detection instrument can obtain a portion of the optical signal transmitted in the optical communication link through macrobend detection.

[0245] Optionally, illustratively, the size of the light signal transmitted by the macrobend of the optical fiber to be tested is related to the degree of bending during clamping and the packaging material of the optical fiber to be tested. In order to reduce the measurement error, corresponding clamp sizes can be selected for optical fibers of different diameters, and a locking device can be set during clamping to fix the bending angle. In an embodiment of the present application, the operator can set buckles with different bending radii according to different types of optical fibers on the market. The buckle can be split or integrated, and can be adapted to different types of optical fibers by adjusting different gears. Using a standard buckle can ensure that the light signal transmitted by the macrobend is better obtained without causing damage to the optical fiber, and reduce the test error to a certain extent.

[0246] S1802: Perform photoelectric conversion on the optical signal to obtain a top modulation signal.

[0247] Exemplarily, as shown in FIG16 , the optoelectronic conversion unit performs optoelectronic conversion on the input optical signal, i.e., converting the optical signal into an electrical signal. In this embodiment of the present application, if the received optical signal includes a service optical signal and a top-modulated optical signal, the optoelectronic conversion unit converts the optical signal to obtain the service signal and the top-modulated signal. The optoelectronic conversion unit may include a low-pass filter to filter the converted electrical signal to remove high-frequency signals. As described above, the frequency of the service signal is much greater than the frequency of the top-modulated signal. Accordingly, during the optoelectronic conversion process of the optical signal, the service signal can be filtered out by the low-pass filter. The low-frequency electrical signal output by the optoelectronic conversion unit to the top-modulated signal processing unit is the top-modulated signal.

[0248] Of course, the optical signal acquired by the detection instrument may not include the TF signal, and in some embodiments, may include other low-frequency signals. Therefore, the low-frequency signal output by the photoelectric conversion module to the TF signal processing unit may also be other signals, which is not limited in this application.

[0249] S1803: Decode the top modulation signal to obtain link information.

[0250] Still referring to FIG. 16 , illustratively, the central processing unit indicates a first modulation frequency to the top-modulation signal processing unit. The top-modulation signal processing unit demodulates the acquired electrical signal (which may be a low-frequency electrical signal containing a top-modulation signal or a low-frequency electrical signal not containing a top-modulation signal) based on the first modulation frequency. Specifically, the top-modulation signal processing unit may demodulate the electrical signal based on the first modulation frequency to obtain demodulated information (also referred to as a data frame).

[0251] The ATA signal processing unit outputs the demodulated information to the central processing unit. As mentioned above, during the encoding phase, the ATA signal includes a preamble. Accordingly, the central processing unit identifies whether the demodulated information (i.e., the data frame) includes a designated preamble, such as 0x55 or 0x55+0xd5.

[0252] In one example, if a designated preamble is included, the electrical signal output by the optoelectronic conversion module is a top-modulation signal. Accordingly, the information output by the top-modulation signal processing unit is top-modulation information. The central processing unit can decode the top-modulation information based on a preset encoding scheme and obtain the corresponding link information, thereby obtaining the link information in the data field shown in Figure 12. 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 determine whether the data frame has been completely received. Optionally, the central processing unit can verify the data frame based on the checksum information in the checksum field to determine whether the data frame has been correctly received.

[0253] In another example, if the designated preamble is not included, this may be due to a demodulation frequency mismatch in the top modulation signal processing unit. Accordingly, the central processing unit can indicate a second modulation frequency to the top modulation signal processing unit. The top modulation signal processing unit demodulates the next received electrical signal based on the second modulation frequency (as described above, after the top modulation function is enabled on the transmitter, it will continuously transmit an optical signal containing top modulation information), obtains the demodulated information, and outputs it to the central processing unit. The central processing unit parses the preamble to determine whether the designated preamble is included, repeating the above steps. In other words, the modulation frequencies of the transmitter and receiver may be the same or different. Both the transmitter and receiver can set multiple modulation frequency levels. The transmitter can select one of the modulation frequencies from the modulation frequency levels for modulation, and the receiver can select one of the modulation frequencies from the modulation frequency levels for demodulation. If a demodulation error occurs, the above process can be repeated by switching to another modulation frequency.

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

[0255] In the embodiment of the present application, the central processing unit can send the link information to the user device (such as a printer, tablet, computer, or other electronic device) through the transmission interface of the detection instrument (not shown in the figure). The user device can print or display the link information.

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

[0257] For example, taking Figure 9 as an example, it is assumed 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 out the link information, including but not limited to: source end information, destination end information and path routing information. The detection instrument displays the obtained link information on the display screen. The operator can determine whether the jumper port at ODF1 (i.e., the port connected to the optical fiber to be tested) is correct based on the path routing information in the link information. In addition, the operator can determine whether the ports of other intermediate devices are correct based on the path routing information. For example, after the operator reads the intermediate devices indicated in the path routing information and their corresponding connection ports, the operator can clamp the detection instrument at the corresponding ports respectively and determine whether the displayed path routing information is consistent with the path routing information indicated at ODF1.

[0258] Optionally, the detection method in the present application can also be applied to scenarios where the system is set up or the topology is updated. For example, when the topology of the communication link is incomplete, the operator can clamp the detection instrument to each port of the ODF. In this example, due to incomplete topology information, the link information obtained by the detection instrument may not contain path routing information, or may only contain part of the path routing information. Of course, the path routing information may be correct or wrong. The operator can determine the topology of the optical communication link by using 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.

[0259] In one possible implementation, as described above, the extended information may include transmit optical power information. Optionally, the extended information may also include top-modulation depth information, indicating the top-modulation depth used by the transmitter of the optical signal when generating the optical signal. For example, the transmit optical power information indicates an optical power of 0 dBm, and the top-modulation depth information indicates a top-modulation depth of 8%. After obtaining the link information, the detection instrument can obtain the transmit optical power information and the top-modulation depth information.

[0260] For example, the detection instrument may obtain the amplitude of the top-modulated signal based on the acquired optical signal and the demodulated top-modulated signal to obtain the intensity information of the optical signal to be tested.

[0261] Figure 17 is a schematic diagram of the structure of another exemplary detection instrument. Referring to Figure 17 , the detection instrument may further include: a signal processing unit and a transmission interface. The optoelectronic conversion unit outputs one top-modulated signal to the top-modulated signal processing unit for top-modulated signal recovery to obtain link information. The specific implementation is described in Figure 16 and will not be further 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, low-pass filters, operational amplifiers, and analog-to-digital converters can be selected, but this application does not limit this. The processed top-modulated signal is input to the central processing unit, which calculates the intensity of the input optical signal based on the top-modulated signal. Specifically, the shaped and amplified electrical signal undergoes analog-to-digital conversion and is then output to the central processing unit. The central processing unit performs digital signal processing on the signal to obtain the intensity of the input optical signal. For example, based on the obtained top-modulated signal, the detection instrument can obtain the amplitude of the top-modulated signal, which is the peak-to-peak value of the optical power modulation swing P_wt described above. In addition, the detection instrument can obtain the average optical power P_avg based on the top modulation depth information and the peak-to-peak value of the optical power modulation swing P_wt. Generally, the average optical power can be used to characterize the optical power of the input optical signal (i.e., the optical signal intensity). Accordingly, the operator can calculate the approximate distance between the current test point and the transmitting end based on the optical power obtained by actual detection and the transmitted optical power information in the link information, and in combination with the optical fiber type and networking type. For example, if the detection instrument obtains a transmitting end of 0dBm and a 1550nm wavelength transmission scenario of G.652 optical fiber 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 optical 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 optical fault can be determined by the link attenuation.

[0262] Still referring to FIG. 17 , the transmission interface may optionally be a communication interface, such as WiFi, Bluetooth, or an Ethernet port, and may transmit link information to other devices, such as a mobile phone or network management device, based on different communication protocols. Alternatively, the transmission interface may also be connected to other external devices, such as a printer or a monitor, via a data cable. Alternatively, the detection instrument may also include input and output devices, such as a display screen, a touch screen, and a keyboard. Users may set parameters via the touch screen or keyboard.

[0263] 3. Second network device side:

[0264] FIG19 is a schematic structural diagram of an optoelectronic conversion module on the second network device side. Please refer to FIG19 , which specifically includes but is not limited to: an optoelectronic conversion unit, a modulation signal processing unit, a signal demodulation unit, a central processing unit, etc.

[0265] The photoelectric conversion unit is used to perform photoelectric conversion on the optical signal and output an electrical signal. Optionally, the photoelectric conversion unit outputs a low-frequency signal (such as a top-modulated signal) to the top-modulated signal processing unit and outputs a high-frequency signal (such as a service signal) to the signal demodulation unit.

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

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

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

[0269] The specific implementation of the top adjustment signal processing unit and the central processing unit can refer to the detection instrument end, which will not be repeated here.

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

[0271] In one possible implementation, the optical module can serve as a signal transmitting end or a signal receiving end. Accordingly, the optical module can have an optical signal generating function and an analyzing function. To distinguish different units, the unit for generating a top modulation signal is referred to as a top modulation signal generating unit, and the unit for restoring a top modulation signal is referred to as a top modulation signal restoring unit. FIG20A is a schematic structural diagram of an exemplary optoelectronic conversion module. Please refer to FIG20A. The modules include but are not limited to: a top modulation signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a top modulation signal generating unit, a top modulation signal restoring 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. For the description of other modules, please refer to the relevant contents of FIG10A and FIG19, which will not be repeated here.

[0272] Figure 20B is a schematic diagram illustrating the structure of an exemplary optoelectronic conversion module. Referring to Figure 20B , the modules include, but are not limited to, a top-modulation signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a top-modulation signal generation unit, a top-modulation signal restoration unit, and a signal demodulation unit. The module central processing unit can be used to obtain and report link information. For descriptions of other modules, please refer to the relevant contents of Figures 10B and 19 and are not repeated here.

[0273] FIG20C is a schematic diagram illustrating the structure of a signal processing module. Referring to FIG20C , the module includes, but is not limited to, a top-modulated signal synthesis unit, an optoelectronic conversion unit, a module central processing unit, a top-modulated signal generation unit, a top-modulated signal restoration unit, and a signal processing unit. For example, in a scenario where an optical signal containing a modulated signal needs to be generated (as indicated by the solid arrow), the signal processing unit outputs the received optical signal (i.e., the service optical signal) to the top-modulated signal synthesis unit, which can generate a target optical signal. The specific implementation method is shown in FIG10C and will not be described in detail here. For example, in a scenario where link information needs to be obtained (as indicated by the dashed arrow), the signal processing unit outputs the received optical signal (i.e., the target optical signal containing the top-modulated signal) to the optoelectronic conversion unit for top-modulated signal analysis. The specific process is shown in FIG16 and will not be described in detail here. Furthermore, the signal processing unit performs signal processing (e.g., amplification) on the target optical signal and then outputs the processed target optical signal. Optionally, the ATM signal analysis process can also be performed based on the target optical signal output by the signal processing unit. Accordingly, the optoelectronic conversion unit can be provided after the signal processing unit to receive the target signal output by the signal processing unit. This can be understood as the signal processing unit outputting two target optical signals: one signal is output to the optical fiber via an interface, and the other signal is output to the optoelectronic conversion unit for executing the ATM signal analysis process.

[0274] In one possible implementation, when the optical signal processing module generates a target optical signal, the optical signal it receives is an optical signal that does not contain a top-modulation signal, namely, a service optical signal. If a module that can generate an optical signal containing a top-modulation signal exists upstream of the optical signal processing module, such as an optoelectronic conversion module, the operator can control the optoelectronic conversion module to stop generating the optical signal containing the top-modulation signal, and the optoelectronic conversion module will output the service optical signal. The downstream optical signal processing module can then process the service optical signal to generate the target optical signal containing the top-modulation signal.

[0275] Figure 17 shows a schematic block diagram of an apparatus 2100 according to an embodiment of the present application. Apparatus 2100 may include a processor 2101 and a transceiver / transceiver pin 2102, and optionally, a memory 2103. Processor 2101 may be configured to execute the steps performed by the optical module in the methods of the aforementioned embodiments, control the receive pin to receive signals, and control the transmit pin to send signals.

[0276] The various components of the device 2100 are coupled together via a bus 2104. The bus system 2104 includes not only a data bus but also a power bus, a control bus, and a status signal bus. However, for clarity, the various buses are labeled as the bus system 2104 in the figure.

[0277] Optionally, the memory 2103 may be used to store instructions in the aforementioned method embodiment.

[0278] It should be understood that the device 2100 according to the embodiment of the present application may correspond to the optical module, detection equipment or network equipment in the various methods of the aforementioned embodiments, and the above-mentioned and other management operations and / or functions of each element in the device 2100 are respectively for implementing the corresponding steps of the aforementioned methods. For the sake of brevity, they will not be repeated here.

[0279] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program includes at least one section of code, and the at least one section of code can be executed by a device to control the device to implement the above method embodiment.

[0280] Based on the same technical concept, an embodiment of the present application also provides a computer program, which, when executed by a device, is used to implement the above method embodiment.

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

[0282] Based on the same technical concept, the embodiment of the present application further provides a processor, which is used to implement the above method embodiment. The above processor can be a chip.

[0283] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this 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, characterized in that, The detection device acquiring the target optical signal transmitted by the optical communication link includes: The detection device acquires the target optical signal that penetrates out of the optical communication link.

3. The method according to claim 1, characterized in that The contact portion 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, wherein 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, characterized in that 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.

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 between the first network device and 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, 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 obtains a target electrical signal based on the detection signal and the 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, 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 performs optoelectronic conversion on the 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 exchanges data with the second network device through the optical communication link. The method includes: Obtain a target optical signal transmitted in the optical communication link. The target optical signal includes: a service optical signal including service information and a detection optical signal including 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; 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, characterized in that, The contact part of the optical communication link and the detection device is curved.

20. The method according to claim 17, wherein 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, central processing module, signal processing module, transmission port; The central processing module of the module is used to obtain link information, where 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 between the first network device and the second network device; The signal processing module is used 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 transmission port is used 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 executes the method executed 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 executes the method executed by the detection device in any one of claims 17 to 21.

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

Patent Citations

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

    CN120301504A

  • System and method for recognizing ports and method for positioning fault

    CN101964680A

  • Method and device for detecting use state of optical fiber and electronic equipment

    CN114614889A

  • Method and device for monitoring wavelength channel of wavelength division multiplexing system

    CN114726436A

  • Method, apparatus and system for minimally intrusive fiber identification

    CN1864354A