Link optical module matching test method and device, and readable storage medium
By using top-tuning technology in optical communication systems to encode optical module parameters into optical signals, the automatic matching ability inspection of optical modules is realized, and the communication interruption problem caused by optical module mismatch is solved, and technical and labor costs are reduced.
Patent Information
- Application Number
- CN202311594900.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2025-05-27
AI Technical Summary
In existing optical communication systems, the mismatch of optical modules leads to the inability to establish a network communication. The current inspection methods rely on manual experience, are prone to errors, and require additional paired information of optical modules, which has a high technical cost.
The first optical module uses top-tuning technology to encode its parameters and generates an optical signal and sends it to the second optical module. The second optical module obtains the parameters of the first optical module through demodulation, and performs matching analysis in combination with its own parameters to realize automated matching verification of the optical module.
It realizes automatic matching analysis of optical modules when links are not connected. The results are accurate and do not require relying on manual experience and additional paired information of optical modules, reducing labor costs and technical costs.
Smart Images

Figure CN120049957A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical fiber communication, and particularly to a method, device and readable storage medium for checking the matching of link optical modules. Background Art
[0002] Because optical communication has characteristics such as high frequency, wide bandwidth, large communication capacity, good confidentiality performance, small loss, long relay distance, and strong anti-interference ability, optical communication networks have become the basic platform of modern communication networks. With the development of optical communication technology, the application of optical modules has become more and more extensive. Optical modules are commonly used in optical communication systems to convert electrical signals into optical signals or convert optical signals into electrical signals. In the scenario of optical module application, the matching of optical modules is very important. When there are differences in the performance of optical modules at both ends of the link and they cannot be matched, optical signals cannot be normally transmitted in the optical fiber, thus affecting the stability and reliability of the network.
[0003] In actual network operations, the situation where the optical modules at both ends do not match often occurs. The non-matching of optical modules results in the inability of the optical modules to establish a connection for communication, and many protocols cannot be enabled. Therefore, many matching check methods are unavailable. The currently commonly used method for checking whether the parameters match is to manually query the relevant parameters of the corresponding optical module on the link device where the optical module is located, compare the parameters, and conduct troubleshooting. The above-mentioned check method relies on manual experience, is error-prone, and requires additional input of the corresponding information of the optical module, with a relatively high technical cost. Summary of the Invention
[0004] This application provides a method, device and readable storage medium for checking the matching of link optical modules. By using the tone modulation technology, the first optical module modulates the first module parameters by itself, sends the generated optical signal to the second optical module, and the second optical module demodulates the optical signal to obtain the first module parameters, and combines its own second module parameters to analyze the matching of the optical modules. It can automatically check the matching of the optical modules when the optical modules do not match and cannot establish a connection for communication, and can obtain relatively accurate results, and does not need to rely on manual experience and additional paired information of the optical modules, reducing the labor cost and technical cost.
[0005] In a first aspect, the present application provides a method for verifying the matching of link optical modules. This method is applied to an optical fiber communication system, which includes a first communication device and a second communication device. The first communication device includes a first optical module, and the second communication device includes a second optical module. The first optical module and the second optical module are connected by an optical fiber. The method includes: The first optical module generates a first optical signal through tone mapping technology with the first module parameters to be matched during the matching verification process, and sends it to the second optical module. The second optical module receives the first optical signal, obtains the first module parameters of the first optical module from the first optical signal, and performs optical module matching verification in combination with its corresponding second module parameters.
[0006] In summary, in addition to the electro-optical conversion and opto-electronic conversion functions, the optical modules in the optical fiber communication system provided by the present application also have the functions of encoding, tone mapping, and decoding. Therefore, the second optical module can obtain the first module parameters of the first optical module in the first optical signal by receiving and decoding the first optical signal generated by the first optical module through encoding and tone mapping technology. Then, by combining its own second module parameters, it can determine whether the optical module parameter information of the same type is the same or meets the conditions within a certain range, thereby realizing the matching analysis of the optical modules. In the above process, the optical modules can realize the automatic matching analysis of the optical modules when the link is not established. The result is accurate, does not rely on manual experience, and does not require additional input to determine the paired information of the optical modules, thereby reducing the labor cost and technical cost. When the first optical module is used as the receiving-end optical module, the function of the second optical module can also be realized. Similarly, the second optical module can also realize the function of the first optical module, which will not be elaborated here in detail.
[0007] In a possible implementation manner, the first module parameters include first optical module parameter information, where the first optical module parameter information includes a first wavelength, a first rate, a first distance, a first operating condition, and a first protocol type. There may also be other optical module parameter information not listed here. The above first optical module parameter information is used to compare with the same type of parameters of the opposite-end optical module during the matching verification process.
[0008] In a possible implementation manner, the specific process of the second optical module obtaining the first module parameters based on the first optical signal and performing optical module matching verification in combination with the second module parameters corresponding to the second optical module is as follows: After receiving the first optical signal, the second optical module first demodulates the first optical signal to obtain the first module parameters included therein. Then, it obtains the second module parameters corresponding to itself. Similar to the first module parameters, the second module parameters include second optical module parameter information, such as the second wavelength, second rate, second distance, second operating condition, and second protocol type, etc. Then, the second optical module performs optical module matching verification by respectively matching multiple pieces of first optical module parameter information in the first module parameters with the second optical module parameter information of the corresponding type. In the above process, by demodulating the first optical signal generated by the first optical module using the tone-on-tone technology, the second optical module can obtain the first module parameters and the first optical module parameter information. The second optical module performs optical module matching verification based on the first module parameters and its own second module parameters, without the need for additional information to determine paired optical modules, and can achieve automated matching verification, without relying on manual experience, reducing labor costs and technical costs.
[0009] In a possible implementation manner, the above optical fiber communication system further includes a network management device. The network management device runs a network management system and is connected to the second optical module. After the second optical module obtains the first module parameters based on the first optical signal, the method further includes: After obtaining the first module parameters and the second module parameters, the second optical module sends the module parameters to the network management device, so that the network management device, by running the network management system, performs optical module matching verification on the first module parameters and the second module parameters. In the above process, the network management device first determines that the first optical module and the second optical module are paired according to the optical module location information included in the first module parameters and the second module parameters respectively. Among them, the optical module location information includes network element identifier, slot number, board number, port number, etc. Then, the network management device performs matching verification of parameters of the same type according to the first optical module parameter information and the second optical module location information. Compared with the current method in which the network management device first obtains the parameters of one end optical module, and then obtains the parameters of the other end optical module according to additional optical module pairing information for optical module matching verification, in the above process, the network management device can determine paired optical modules according to the obtained module parameters and automatically perform optical module matching verification, without the need for additional information input to determine the information of the transceiver paired optical modules, which is more convenient, and does not rely on manual experience, reducing labor costs and technical costs.
[0010] In a possible implementation, after the second optical module obtains the first module parameters based on the first optical signal and performs an optical module matching check with the second module parameters corresponding to the second optical module, the method further includes: the second optical module sends the result of the optical module matching check to the network management device, so that the network management device sends the result of the optical module matching check to the display device, and issues an alarm message when it is determined that the optical modules do not match. The network management device can send the inspection situation to the user device when receiving the result of the optical module matching check sent by the second optical module, or when obtaining the result through the above-mentioned self-conducted optical module matching check, to realize the visualization of the optical module matching check, and issue an alarm message when they do not match, so as to maintain the link in time and ensure the normal transmission of data.
[0011] In a second aspect, the present application provides another method for checking the matching of link optical modules, which is applied to an optical fiber communication system. The system includes a first communication device, a second communication device, and a network management device. The first communication device includes a first optical module, the second communication device includes a second optical module, the first optical module and the second optical module are connected by an optical fiber, and the network management device runs a network management system. The method includes: the network management device receives the first module parameters and the second module parameters sent by the second optical module, where the first module parameters are obtained by the second optical module demodulating the first optical signal sent by the first optical module, and the first optical signal is generated by the first optical module encoding the first module parameters and then using the tone modulation technology. The first module parameters and the second module parameters respectively include multiple pieces of optical module parameter information of the same type; the network management device performs an optical module matching check according to the first module parameters, the second module parameters, and the network management system.
[0012] In a possible implementation, the method further includes: after the network management device performs the optical module matching check, or when receiving the result of the optical module matching check sent by the second optical module, the network management device sends the result of the optical module matching check to the display device, and issues an alarm message when the optical modules do not match.
[0013] In summary, through the encoding, tone modulation, and decoding functions of the optical module, the network management device can analyze the optical module parameters that need to be checked for matching sent by the optical module when the optical module fails to establish a connection for communication by running the network management system, realizing an automated optical module matching check, and can determine the transceiver-paired optical modules according to the optical module position information in the received module information, without the need to obtain additional optical module pairing information, which is more convenient and efficient, reducing the labor cost and technical cost.
[0014] In a third aspect, the present application provides a device for verifying the matching of link optical modules, which is applied to a network management device in the optical fiber communication system mentioned in the first and second aspects. The device includes: a receiving module and a processing module. Among them, the receiving module is configured to receive a first module parameter and a second module parameter sent by a second optical module, where the first module parameter is obtained by the second optical module according to the received first optical signal, and the first optical signal is generated by the first optical module according to the first module parameter through the tone-on technique. The first module parameter and the second module parameter are parameters for matching verification; the processing module is configured to perform optical module matching verification according to the first module parameter and the second module parameter.
[0015] In a possible implementation manner, the device further includes a sending module, which is configured to send the result of the optical module matching verification to a display device after the processing module performs the optical module matching verification according to the first module parameter and the second module parameter, or when the receiving module receives the result of the optical module matching verification sent by the second optical module, and issue an alarm message when the optical modules do not match.
[0016] In a fourth aspect, the present application provides a network management device, which is applied to the method for verifying the matching of link optical modules provided in the second aspect. The network management device includes a processor and a memory. The processor is configured to execute instructions stored in the memory of the network management device so that the network management device executes the method described in the second aspect.
[0017] In a fifth aspect, the present application provides a computer program product containing instructions, which, when run on a network management device, enables the network management device to execute the method provided in the second aspect.
[0018] In a sixth aspect, the present application provides a computer-readable storage medium, which includes computer program instructions. When the computer program instructions are executed by a network management device, the network management device executes the method provided in the second aspect.
[0019] Based on the implementation manners provided in the above aspects of the present application, further combinations can be made to provide more implementation manners. Description of the Drawings
[0020] To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below.
[0021] Figure 1 It is a schematic structural diagram of an optical fiber communication system provided by an embodiment of the present application;
[0022] Figure 2 It is a flowchart of a method for verifying the matching of optical module parameters provided by an embodiment of the present application;
[0023] Figure 3 It is a schematic diagram of a top - tuning technology provided by an embodiment of the present application;
[0024] Figure 4 It is a flowchart of a specific method for verifying the matching of optical modules provided by an embodiment of the present application;
[0025] Figure 5 It is a flowchart of another method for verifying the matching of optical modules provided by an embodiment of the present application;
[0026] Figure 6 It is a schematic structural diagram of a device for verifying the parameter matching of optical modules provided by an embodiment of the present application;
[0027] Figure 7 It is a schematic structural diagram of a network management device provided by an embodiment of the present application. Detailed implementation manners
[0028] Next, the technical solutions in the embodiments of the present invention will be described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0029] First, the application scenarios involved in the present application will be described.
[0030] As Figure 1 shown, Figure 1 It is a schematic structural diagram of an optical fiber communication system provided by an embodiment of the present application. The system includes a first communication device 110, a second communication device 120, and a network management device 130. Among them, the first communication device 110 includes a first optical module 111, the second communication device 120 includes a second optical module 121, the first optical module and the second optical module are connected through an optical fiber 140, and the network management device is communicatively connected to the first optical module and the second optical module through a network protocol.
[0031] In specific implementation, the first communication device and the second communication device can be switches, routers, and optical transmission devices, or other communication devices that support optical fiber communication. The present application does not make specific limitations on this. The first communication device and the second communication device include one or more slots to support one or more optical fiber interfaces. The optical fiber is connected to the device through an optical module. It can be determined that in addition to the first optical module and the second optical module, the first communication device and the second communication device can also have a greater number of optical modules. The present application does not make specific limitations on this. The multiple optical modules in the communication device can support multi - channel data transmission, provide a higher total bandwidth, or meet the requirements of redundancy and flexibility.
[0032] In a specific implementation, the optical module includes a transmitter, a receiver, an optical-electric converter, and an optical interface. Among them, the transmitter is used to generate an optical signal and send it into the optical fiber. The receiver is used to receive the optical signal transmitted from the optical fiber and convert it into an electrical signal. The optical interface is used to connect the optical module to the optical fiber and other network devices for the reception and transmission of optical signals, realizing the functions of optical-electric conversion and electro-optical conversion in optical fiber communication. In this application, in addition to the above-mentioned optical-electric and electro-optical conversion functions, the optical module also has the functions of encoding, line topping, and decoding.
[0033] In a specific implementation, the network management device can be a bare metal server (BMS), a virtual machine, or a container. Among them, BMS refers to a general physical server. For example, an ARM server or an X86 server; a virtual machine refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment implemented by network function virtualization (NFV) technology. A container refers to a group of processes that are resource-limited and isolated from each other. This application does not make specific limitations on this. The network management system 131 runs on the network management device 130. By running the network management system, the functions of network operation, management, and maintenance are realized, so as to realize the monitoring and management of the entire optical fiber communication network and ensure the high availability and performance of the network.
[0034] Currently, the above-mentioned optical fiber communication system is widely used. In scenarios such as optical fiber communication, in order to establish a normal connection and communication between optical modules, it is very important to ensure the matching of optical modules at both ends of the link. Optical module matching means that the transmitting-end optical module and the receiving-end optical module have the same or similar transmission distances, the same wavelengths, rates, etc., that is, the module parameters corresponding to each pair of optical modules match. In practical applications, due to work mistakes, the situation where the optical module parameters at both ends of the link do not match often occurs. The non-matching of optical module parameters causes the optical signal to be unable to be transmitted normally in the optical fiber, resulting in various problems such as affecting the stability and reliability of the network. In the case of non-matching optical modules, the optical modules cannot establish a connection and communicate, and many protocols cannot be enabled. Therefore, many matching inspection methods are unavailable. Currently, the commonly used optical module matching inspection method mainly relies on manual experience. The network management system running on the network management device queries the relevant parameters of the corresponding optical modules on the link from the devices where the optical modules are located, conducts parameter comparison and troubleshooting, and additional information input is also required to determine the parameters of the paired optical modules. The above-mentioned optical module matching inspection method relies on manual experience, is prone to errors, and requires additional information input to determine the corresponding information of the optical modules, resulting in problems such as high labor costs and technical costs.
[0035] Therefore, the present application provides a method for verifying the matching of link optical modules. In this method, in addition to being used for optoelectronic and electro-optical signal conversion, the optical module also has functions such as encoding, scrambling, and decoding. The first optical module uses the scrambling technology to transmit the encoded information of the optical module parameters at the local end to the second optical module, so that the second optical module can obtain the first module parameters by demodulating the optical signal, and perform matching analysis in combination with its corresponding second module parameters, thereby determining the matching of the optical modules at both ends of the link. The automatic verification of the matching of optical modules can be realized, with a relatively high accuracy rate, without relying on manual experience, and the pairing information of the optical modules can be determined without obtaining additional information, which is more convenient and efficient.
[0036] In the embodiment of the present application, the case where the first optical module is a transmitting-end optical module and the second optical module is a receiving-end optical module is taken as an example for illustration. The first optical module converts the electrical signal into an optical signal and transmits it to the second optical module through an optical fiber. The second optical module converts the optical signal into an electrical signal and analyzes the information therein. As Figure 2 shown, Figure 2 FIG. is a flowchart of a method for verifying the matching of optical module parameters provided by an embodiment of the present application. This method is applied to Figure 1 the optical fiber communication system shown in FIG., and this method includes the following multiple steps.
[0037] Step S210: The second optical module receives the first optical signal sent by the first optical module.
[0038] The first optical module obtains the first module parameters, uses the scrambling technology to generate a first optical signal including the first module parameters, and transmits the first optical signal to the second optical module through an optical fiber. After that, the second optical module receives the first optical signal sent by the first optical module. Among them, the first module parameters include the first optical module parameter information and the first optical module position information. The first optical module parameter information includes the first wavelength, the first rate, the first distance, the first working condition, and the first protocol type. The first optical module position information includes the first network element identifier, the first slot number, the first single-board number, and the first port number. In a possible implementation manner, the above first module parameters may further include more types of first optical module parameter information and first optical module position information, and the present application does not make specific limitations on this.
[0039] As Figure 3 shown, Figure 3It is a schematic diagram of a topping technology provided by an embodiment of the present application. In a possible implementation, the left-side stripes with different thicknesses and the same height represent the service information encoding of the first optical module. The topping signal in the middle can be a low-frequency sine signal or a low-frequency cosine signal, and the present application does not make specific limitations thereto. After encoding the first module parameters, the first optical module modulates them to the top of the service information encoding of the first optical module through the topping signal, generating a modulation amplitude at the top of the service information encoding of the first optical module, achieving the superposition of the first module parameter encoding information, and generating Figure 3 the first optical signal shown on the right side in
[0040] which can be transmitted through an optical fiber. In a possible implementation, the topping technology encodes module information into an optical signal of a specific frequency. After different module parameters are encoded and modulated, different signal patterns will be generated. Therefore, by detecting whether there is a signal of a fixed frequency in the optical fiber with an optical fiber identifier, it can be determined whether there is an optical signal generated according to the module information in the optical fiber, and it can also be checked whether the signal of the fixed frequency has a fixed pattern.
[0041] In the above process, the first optical module uses the topping technology to generate a first optical signal including the encoded information of the first module parameters and sends it to the second optical module at the opposite end of the optical fiber through the optical fiber, which can enable the second optical module to obtain the module information of the first optical module at the opposite end of the link when the link has not been established yet, thus providing a basis for the optical module matching test, and the transmission quality and reliability can be improved by transmitting the first optical signal including the first module parameters through the optical fiber.
[0042] Step S220: The second optical module obtains the first module parameters according to the first optical signal and performs an optical module matching test in combination with the second module parameters corresponding to the second optical module.
[0043] After receiving the first optical signal, the second optical module demodulates the first optical signal to obtain the first module parameters. Then, the second optical module obtains its own corresponding second module parameters. Among them, the second module parameters include second optical module parameter information, and the second optical module parameter information includes a second wavelength, a second rate, a second distance, a second working condition, and a second protocol type. In a possible implementation, the second optical module parameter information may also include more types of information, and the present application does not make specific limitations thereto. The second optical module performs an optical module matching test according to the first optical module parameter information and the second optical module parameter information. Specifically, the second optical module compares multiple parameters of the same type in the first optical module parameter information and the second optical module parameter information respectively. For example, it compares the first wavelength with the second wavelength, the first working condition with the second working condition, and the first protocol type with the second protocol type to determine whether the parameters are the same or meet certain matching conditions.
[0044] In the above process, the second optical module can obtain the first module parameters through demodulation, and can perform optical module matching inspection by combining its own module parameters, realizing automatic optical module matching inspection without manual participation and reducing labor costs.
[0045] Step S230: The second optical module sends the result of the optical module matching inspection to the network management device.
[0046] The second optical module sends the result of the optical module matching inspection to the network management device, so that the network management device sends the result of the optical module matching inspection to the display device, and issues an alarm message when it is determined that the optical modules do not match, thereby realizing the visualization of the optical module matching inspection.
[0047] In a possible implementation manner, the first optical module can also execute the steps that the second optical module can execute in the above steps S210 - S230 as the receiving-end optical module, and the second optical module can also execute the steps executed by the first optical module as the sending-end optical module. This application does not make specific limitations on this.
[0048] In summary, in the method for inspecting the matching of optical modules in the test link provided by the embodiments of this application, an optical module with encoding, dithering, and decoding functions is adopted. The second optical module can receive and decode the first optical signal generated by the first optical module through encoding and dithering techniques to obtain the first module parameters of the first optical module. Then, the optical module matching inspection can be performed by combining its own second module parameters. In the above process, the optical module can transmit the optical module parameters through the optical fiber to perform automatic matching analysis of the optical modules when the link is not established. The result is accurate, and the above process does not rely on manual experience and does not require additional input to determine the paired information of the optical modules, which can reduce labor costs and technical costs.
[0049] In a specific implementation manner, as Figure 4 shown, Figure 4 is a flowchart of a specific method for inspecting the matching of optical modules provided by the embodiments of this application. This method is also applied to Figure 1 the optical fiber communication system shown, and includes the following multiple steps.
[0050] Step S410: The first optical module generates a first optical signal according to the first module parameters and dithering technique, and sends the first optical signal to the second optical module.
[0051] The first optical module obtains the first module parameters including the first optical module parameter information and the first optical module position information, where the first optical module parameter information includes the first transmission distance l 1 km and the first wavelength λ 1, the first rate v 1 gbps and the first working mode x 1 etc. The first optical module position information includes the first network element identifier of the first optical module and the first port numbers a / b / c 1 etc. The first module parameters also include more types and quantities of information, which are not listed one by one here.
[0052] After encoding the above first module parameters, the first optical module modulates the first module parameters into the service coding information of the first optical module through the tone-top technology to generate a first optical signal. Since the first optical module and the second optical module are connected by an optical fiber, the first optical module sends the first optical signal to the second optical module through the optical fiber.
[0053] Step S420: The second optical module obtains the first module parameters according to the received first optical signal, and combines its own second module parameters to perform an optical module matching test.
[0054] The second optical module demodulates the first optical signal to obtain the first module parameters: the first transmission distance l 1 km, the first wavelength λ 1 , the first rate v 1 gbps, the first working mode x 1 , the first network element identifier of the first optical module and the first port numbers a / b / c 1 . The second optical module obtains its own corresponding second module parameters to get the second transmission distance l 2 km, the second wavelength λ 2 , the second rate v 2 gbps, the second working mode x 2 , the second network element identifier of the second optical module and the second port numbers a / b / c 2 .
[0055] The second optical module performs an optical module matching test according to the first module parameters and the second module parameters. Specifically, compare whether the first transmission distance l 1 km and the second transmission distance l 2 km are the same or similar, whether the first wavelength λ 1 and the second wavelength λ 2 are the same, whether the first rate v 1 gbps and the second rate v 2 gbps are the same, and whether the first working mode x 1 and the second working mode x 2Whether they are the same. When there are module parameters of the same type that are different or not close, it is determined that the first optical module and the second optical module do not match, or when all types of module parameters are the same or meet the conditions within a certain range, it is determined that the first optical module and the second optical module match, and the second optical module can obtain the result of the optical module matching test.
[0056] Step S430: The second optical module sends the result of the optical module matching test to the network management device.
[0057] The second optical module sends the result of the optical module matching test to the network management device, so that the network management device sends the received result of the optical module matching test to the display device for result display, and issues an alarm message when the result of the optical module matching test indicates that the first optical module and the second optical module do not match.
[0058] In a possible implementation manner, the method for testing the matching of optical modules provided in the embodiments of the present application can also be used for automatic discovery of cross-domain fiber connection relationships. Among them, the fiber connection relationship is used to record or describe different devices or components connected by optical fibers, so as to establish a correct connection in the network or system. The optical module uses the top-tuning technology to transmit information such as the network element, slot, single board, and port where it is located in the form of an optical signal through the optical fiber to the optical module at the opposite end, and can realize the automatic discovery of the fiber connection relationship in the cross-domain case, enabling the system to automatically understand the physical connection situation between different devices without manual recording or configuration of information, which can reduce labor costs and help improve the maintainability and efficiency of the network.
[0059] In a possible implementation manner, the method for testing the matching of optical modules provided in the embodiments of the present application can apply the top-tuning technology to a non-Wavelength Division Multiplexing (WDM) system, without the need to be bound to a wavelength. When there is only one optical path in the link, the top-tuning technology binds optical signals of different wavelengths together. For example, in the above process, the first module parameter is modulated onto the service information encoding of the first optical module to generate a first optical signal. When the top-tuning technology is applied to the scenario of binding with wavelengths in the colored light field, when there are multiple optical paths distinguished by wavelengths in the link, the service information encoding of the first optical module and the first module parameter are respectively transmitted by selecting specific wavelengths. Therefore, applying the top-tuning technology to the gray light field in the embodiments of the present application can enable optical signals to effectively share optical fibers and solve the problems in the gray light field.
[0060] In a possible implementation manner, the second optical module may also, when obtaining the first module parameters and the second module parameters corresponding to itself, send the first module parameters and the second module parameters to the network management device, so that the network management device performs an optical module matching test between the first optical module and the second optical module according to the first module parameters and the second module parameters. As Figure 5 shown, Figure 5 is a flowchart of another method for testing the matching of optical modules provided by an embodiment of the present application. This method is also applied to Figure 1 the optical fiber communication system shown, and this method includes the following steps.
[0061] Step S510: The network management device receives the second module parameters and the first module parameters sent by the second optical module.
[0062] The network management device receives the first module parameters and the second module parameters sent by the second optical module. Among them, the first module parameters are obtained by the second optical module demodulating the first optical signal sent by the first optical module, and the first optical signal is generated by the first optical module encoding the first module parameters through the top modulation technology. The first module parameters include first optical module parameter information, the second module parameters include second optical module parameter information, and the types of the first optical module parameter information and the second optical module parameter information correspond one by one.
[0063] Step S520: The network management device performs an optical module matching test between the first optical module and the second optical module according to the first module parameters and the second module parameters.
[0064] In addition to the optical module parameter information corresponding to each other, the first module parameters and the second module parameters also include optical module position information, and the optical module position information includes the network element ID, slot number, single board number, and port number. After receiving the first module parameters and the second module parameters, the network management device determines that the first optical module and the second optical module are paired optical modules according to the first optical module position information and the second optical module position information. Then, the network management device compares whether the information of the same type in the first optical module parameter information and the second optical module parameter information is the same or meets the matching conditions within a certain range, performs an optical module matching test, and obtains the optical module matching test result.
[0065] In the above process, the network management device can directly obtain the first module parameters and the second module parameters, and determine the paired optical modules according to the optical module position information included in the module parameters, without additional information input, which is more convenient. And the optical module matching test can be performed automatically according to the optical module parameter information included in the module parameters, without relying on manual inspection, which can save labor costs.
[0066] Step S530: The network management device displays the result of the optical module matching test.
[0067] After the network management device performs the optical module matching test, or when it receives the result of the optical module matching test sent by the second optical module, it sends the result of the optical module matching test to the display device, and issues an alarm message when the optical modules do not match. Among them, the display device is connected to the network management device through the network and can be a device with data receiving and displaying functions, such as a mobile phone, a tablet computer, a desktop computer, a monitor, etc., and this application does not make specific limitations on this.
[0068] In the above process, the network management device performs the optical module matching test according to the first module parameter and the second module parameter sent by the second optical module. Compared with the method in which current technicians obtain module parameters from different optical modules respectively according to additional optical module pairing information through the network management device for the matching test, it can realize the automatic test of optical module matching, does not rely on manual experience, and does not require querying to determine the pairing information of the optical modules. The process is simpler and more efficient, reducing labor costs and technical costs.
[0069] As Figure 6 shown, Figure 6 is a schematic structural diagram of a device for testing the matching of optical module parameters provided by an embodiment of the present application. This device is applied to Figure 1 the network management device in the optical fiber communication system shown. The device 600 for testing the matching of optical module parameters includes: a receiving module 610 and a processing module 620. Among them, the receiving module is used to receive the first module parameter and the second module parameter sent by the second optical module. The first module parameter is obtained by the second optical module according to the received first optical signal, and the first optical signal is generated by the first optical module according to the first module parameter through the tone-on technique. The first module parameter and the second module parameter are parameters for the matching test; the processing module is used to perform the optical module matching test according to the first module parameter and the second module parameter.
[0070] In a possible implementation manner, the device further includes a sending module 630. The sending module is used to send the result of the optical module matching test to the display device after the processing module performs the optical module matching test according to the first module parameter and the second module parameter, or when the receiving module receives the result of the optical module matching test sent by the second optical module, and issues an alarm message when the optical modules do not match.
[0071] Specifically, the receiving module 610 executes Figure 5 the step S510 shown, the processing module 620 executes Figure 5 the step S520 shown, and the sending module 630 executes Figure 5 the step S530 shown.
[0072] As shown Figure 7 in Figure 7 Figure , a network management device provided by an embodiment of the present invention can be applied to Figure 1 the optical fiber communication system shown in Figure . The network management device 130 includes: a processor 710, a memory 720, a communication interface 730, and a bus 740. Among them, the processor, the memory, and the communication interface can be interconnected through an internal bus or communicate through other means such as wireless transmission.
[0073] The processor 710 can be composed of at least one general-purpose processor, such as a central processing unit (CPU), or a combination of a CPU and a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The processor 710 is used to execute various types of digital storage instructions.
[0074] The memory 720 can be a volatile memory, such as a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a synchronous dynamic random access memory (SDRAM), a double data rate RAM (DDR), a cache, etc. The memory can also include a combination of the above types. The memory 720 includes program code, and the processor 710 can execute all the steps included in Figure 5 by executing the program code, and implement the functions included in Figure 6 .
[0075] The communication interface 730 can receive the module parameters sent by the optical module, and send alarm information and the optical module matching test results to the user equipment.
[0076] It should be noted that the specific figure number in "" and "" is not clearly given in the original text, so it is retained as "" and "" in the translation. You can replace it with the actual figure number according to the specific situation.The bus 740 may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 7 only one line is used in Figure 7 , but it does not mean that there is only one bus or one type of bus.
[0077] It should be noted that Figure 7 this is only a possible implementation manner of the embodiments of the present application. In practical applications, the computing device may further include more or fewer components, which are not limited herein.
[0078] The embodiments of the present application further provide a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions run on a processor, Figure 5 the method flow shown is realized.
[0079] The embodiments of the present application further provide a computer program product. When the computer program product runs on a processor, Figure 5 the method flow shown is realized.
[0080] When loading or executing computer program instructions on a computer, the process or function according to the embodiments of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0081] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, a computer, a server, or a data center to another website, a computer, a server, or a data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage node such as a server or a data center that includes at least one set of available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a high-density digital video disc (DVD)), or a semiconductor medium.
[0082] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A link optical module matching test method, It is characterized in that The method is applied to an optical fiber communication system, the system comprising a first communication device and a second communication device, the first communication device comprising a first optical module, the second communication device comprising a second optical module, the first optical module and the second optical module being connected via an optical fiber, the method comprising: The second optical module receives a first optical signal sent by the first optical module, where the first optical signal is generated by the first optical module through a top adjustment technology according to a first module parameter, wherein the first module parameter is used for matching verification; The second optical module obtains the first module parameter according to the first optical signal, and performs an optical module matching check in combination with the second module parameter corresponding to the second optical module.
2. The method according to claim 1, It is characterized in that The first module parameters include first optical module parameter information, wherein the first optical module parameter information includes a first wavelength, a first rate, a first distance, a first working condition, and a first protocol type.
3. The method according to claim 1 or 2, It is characterized in that The second optical module obtains the first module parameter according to the first optical signal, and performs an optical module matching test in combination with the second module parameter corresponding to the second optical module, including: The second optical module demodulates the first optical signal to obtain the first module parameter; The second optical module acquires corresponding second module parameters, where the second module parameters include second optical module parameter information, wherein the second optical module parameter information includes a second wavelength, a second rate, a second distance, a second working condition, and a second protocol type; The second optical module performs a matching check on the optical module according to the first optical module parameter information and the second optical module parameter information, wherein the first optical module parameter information and the second optical module parameter information correspond one to one.
4. The method according to any one of claims 1 to 3, It is characterized in that The optical fiber communication system further includes a network management device, and the network management device runs a network management system. After the second optical module obtains the first module parameter according to the first optical signal, the method further includes: The second optical module sends the first module parameters and the second module parameters to the network management device so that the network management device performs an optical module matching check through the network management system, wherein the first module parameters also include first optical module position information, and the second module parameters also include second optical module position information, and the first optical module position information and the second optical module position information are used to enable the network management device to determine the two optical modules for matching check.
5. The method according to any one of claims 1 to 3, It is characterized in that After the second optical module obtains the first module parameter according to the first optical signal and performs an optical module matching test in combination with the second module parameter corresponding to the second optical module, the method further includes: The second optical module sends the result of the optical module matching check to the network management device, so that the network management device sends the result of the optical module matching check to the display device and issues an alarm message when determining that the optical module does not match.
6. A link optical module matching test method, It is characterized in that Applied to an optical fiber communication system, the system includes a first communication device, a second communication device and a network management device, the first communication device includes a first optical module, the second communication device includes a second optical module, the first optical module and the second optical module are connected via an optical fiber, the network management device runs a network management system, and the method includes: The network management device receives a first module parameter and a second module parameter sent by the second optical module, wherein the first module parameter is obtained by the second optical module according to the received first optical signal, the first optical signal is generated by the first optical module according to the first module parameter through the top adjustment technology, and the second module parameter is a parameter corresponding to the second optical module; The network management device performs an optical module matching check according to the first module parameters, the second module parameters and the network management system.
7. The method according to claim 6, It is characterized in that The method further comprises: After performing the optical module matching check, or upon receiving the result of the optical module matching check sent by the second optical module, the network management device sends the result of the optical module matching check to the display device, and issues an alarm message if the optical module does not match.
8. A network management device, It is characterized in that The network management device includes a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the network management device executes the method according to claims 6 to 7.
9. A computer program product comprising instructions, It is characterized in that When the instruction is executed by a network management device, the network management device executes the method according to claims 6 to 7.
10. A computer-readable storage medium, It is characterized in that The method comprises computer program instructions, and when the computer program instructions are executed by a network management device, the network management device performs the method according to claims 6 to 7.