Parameter configuration method and device, computing equipment and storage medium
By identifying the type and application type of the optical module, determining the target configuration parameters of the device, and configuring it, the problem of different link requirements of traditional optical modules and LPO optical modules is solved, and the link transmission performance is improved.
Patent Information
- Application Number
- CN202310967168.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, traditional optical modules and linear direct drive optical modules (LPOs) have different link requirements for the equipment, resulting in the link configuration of traditional optical modules not suitable for LPOs, and vice versa, and the optimal performance cannot be obtained.
By obtaining the module information of the optical module, identifying its type and application type, determining the target configuration parameters of the device under the application type, and configuring the device according to the parameters to meet the link requirements of the optical module for the device.
It improves link transmission performance, meets the link requirements of different types of optical modules, and ensures the best performance of the equipment under different optical modules.
Smart Images

Figure CN119449783A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a parameter configuration method, apparatus, computing device, and storage medium. Background Art
[0002] With the development of 5G, big data, and cloud computing, the explosive growth of data traffic has increased the demand for network bandwidth. As one of the key parts of building a network, the device uses the optical module port to match the optical module and send the data to the destination in the form of data packet exchange. At present, traditional optical modules based on the clock recovery function (Clock and Data Recovery, CDR) / data processing (Digital Signal Processing, DSP) chip architecture dominate the optical module. However, the highly concentrated heat source of traditional optical modules will bring problems such as heat dissipation difficulties. In order to solve the above problems, the industry introduced linear direct-drive optical modules (Linear-drive Pluggable Optics, LPO). The device can be connected to both traditional optical modules and LPO optical modules.
[0003] However, since the link requirements of traditional optical modules and LPO optical modules for devices are different, the link configuration corresponding to the traditional optical module is not applicable to the LPO optical module. Similarly, the link configuration corresponding to the LPO optical module cannot achieve optimal performance when used on the traditional optical module.
[0004] In summary, there is an urgent need for a parameter configuration method to improve link transmission performance. Summary of the invention
[0005] The present application provides a parameter configuration method, apparatus, computing device and storage medium for improving link transmission performance.
[0006] In a first aspect, an embodiment of the present application provides a parameter configuration method, which is applied to a device that transmits signals through an optical module, the method comprising: obtaining module information of the optical module, and then determining whether the module type of the optical module is a linear direct drive based on the module type indication information in the module information; if the module type of the optical module is a linear direct drive, determining the target configuration parameters of the device under the application type based on the application type in the module information and configuring the device based on the parameters.
[0007] In the above scheme, when the module type of the optical module is determined to be linear direct drive, the target configuration parameters of the device under the application type can be determined by identifying the application type of the optical module. By configuring the device using this target configuration parameter, the link requirements of the optical module for the device can be met, thereby improving the link transmission performance.
[0008] Optionally, the device is connected to the optical module through a port; after configuring the device according to the configuration parameters of the device under the application type, it also includes: first obtaining the port calibration value of the port, and then judging whether the configuration parameters of the optical module support being set by the device according to the parameter adjustment information in the module information. If it supports being set by the device, then: according to the preset correspondence between the port calibration value and the configuration parameters of the optical module, determining the target configuration parameters of the optical module corresponding to the port calibration value of the port, and configuring the optical module with the parameters.
[0009] In the above solution, since different optical module ports in the device correspond to different link losses, and the LPO optical module is very sensitive to the link loss, different configuration parameters are set for the LPO optical modules of different ports to improve the link transmission performance.
[0010] Optionally, configuring the optical module according to the target configuration parameters of the optical module includes: writing the target configuration parameters of the optical module into a register of the optical module, and then issuing a parameter configuration effectiveness command to the optical module, wherein the optical module is used to configure the optical module through the target configuration parameters of the optical module stored in the register, or to configure the optical module through the target configuration parameters of the optical module stored in the register and associated configuration parameters of the target configuration parameters of the optical module.
[0011] The above solution enables the optical module to configure the target configuration parameters of the optical module, thereby optimizing the parameter configuration of the optical module and improving the link transmission performance. Furthermore, the optical module can also be configured according to the associated configuration parameters of the target configuration parameters of the optical module, thereby further improving the link transmission performance.
[0012] Optionally, the module information also includes the currently effective configuration parameters of the optical module and the maximum parameter adjustment range of the optical module; configuring the optical module according to the target configuration parameters of the optical module includes: determining that the target configuration parameters of the optical module are within the maximum parameter adjustment range of the optical module; determining whether the currently effective configuration parameters of the optical module are consistent with the target configuration parameters of the optical module; if not consistent, configuring the optical module according to the target configuration parameters of the optical module.
[0013] The above scheme reads the maximum parameter adjustment range of the optical module and determines that the target configuration parameters of the optical module are within the maximum parameter adjustment range of the optical module, so that the values of the target configuration parameters of the optical module configured by the optical module are reasonable values, thereby avoiding situations such as low link transmission performance and malfunction of the optical module caused by unreasonable configuration values.
[0014] Optionally, before acquiring the module information of the optical module, the method further includes: controlling the optical module to be in a low power consumption mode; and after configuring the device according to target configuration parameters of the device under the application type, the method further includes: controlling the optical module to be in a working mode.
[0015] Optionally, before acquiring the module information of the optical module, the method further includes: initializing a port connecting the device and the optical module according to preset initial configuration parameters of the device; and determining that a module in-position pin on the port is in-position.
[0016] Optionally, the application type includes media type information and media interface information; according to the application type in the module information, the target configuration parameters of the device under the application type are determined, including: according to the media type information and media interface information of the optical module, the application type of the optical module is determined; according to the application type of the optical module, the target configuration parameters of the device under the application type are determined.
[0017] In a second aspect, the present application provides a parameter configuration device, which is arranged in a device that performs signal transmission with an optical module, and the parameter configuration device includes: an acquisition unit, which acquires module information of the optical module; a processing unit, which is used to determine whether the optical module is a linear direct-drive LPO optical module based on module type indication information in the module information; if the optical module is an LPO optical module, determining the target configuration parameters of the device under the application type based on the application type in the module information; and configuring the device according to the target configuration parameters of the device under the application type.
[0018] In a third aspect, the present application provides a computing device comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes any parameter configuration method described in the first aspect.
[0019] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the storage medium stores a program, and when the program is run on a computer, the computer implements any parameter configuration method described in the first aspect above.
[0020] For the beneficial effects of the second to fourth aspects mentioned above, please refer to the technical effects that can be achieved by the corresponding design in the first aspect mentioned above, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0022] Figure 1 A schematic diagram of interaction between a conventional optical module and a device provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the interaction between an LPO optical module and a device provided in an embodiment of the present application;
[0024] Figure 3 A flow chart of a parameter configuration method provided in an embodiment of the present application;
[0025] Figure 4 A schematic flow chart of a method for determining target configuration parameters of a device under an application type provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the structure of a device provided in an embodiment of the present application;
[0027] Figure 6 A schematic flow chart of a method for configuring an optical module provided in an embodiment of the present application;
[0028] Figure 7 A schematic flow chart of a method for configuring an optical module according to target configuration parameters of the optical module provided in an embodiment of the present application;
[0029] Figure 8 A schematic diagram of the structure of a register provided in an embodiment of the present application;
[0030] Fig. 9 A schematic flow chart of a method for configuring an optical module according to target configuration parameters of the optical module provided in an embodiment of the present application;
[0031] Fig.10 A schematic diagram of a method flow for configuring a device provided in an embodiment of the present application;
[0032] Fig.11 A schematic flow chart of a method for configuring an optical module provided in an embodiment of the present application;
[0033] Fig.12 A schematic diagram of a method flow for configuring a device provided in an embodiment of the present application;
[0034] Fig.13 A schematic flow chart of a method for configuring an optical module provided in an embodiment of the present application;
[0035] Fig.14 A structural diagram of a parameter configuration device provided in an embodiment of the present application;
[0036] Fig.15 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0038] like Figure 1 As shown, it is a schematic diagram of the interaction between a traditional optical module and a device provided in an embodiment of the present application. Among them, the device includes a signal processing chip and a control chip. The signal processing chip is used to receive and transmit optical signals through a traditional optical module. Specifically, the processing flow of the signal processing chip in the device and the optical signal transmitted by the traditional optical module is: the signal processing chip transmits a transmission signal (also called a TX signal) to the traditional optical module, and the traditional optical module receives the transmitted TX signal through a gold finger. After that, the traditional optical module compensates for the TX signal through the equalization capability of its internal data processing chip (Digital Signal Processing, DSP), and recovers and shapes the TX signal through the clock recovery function of the DSP. After the signal processing by the DSP, the laser driver (Laser Driver) amplifies the signal and outputs the signal through a laser. The processing flow of receiving optical signals between the device and the traditional optical module is as follows: the receiving link of the traditional optical module converts the input optical signal into an electrical signal through a photodetector, amplifies the signal through a transimpedance amplifier (TIA) and then inputs it into the DSP. After signal equalization, signal recovery and signal shaping by the DSP, the output signal (also called RX signal) is transmitted to the signal processing chip in the device through the gold finger of the traditional optical module. For the traditional optical module, the number of electrical interfaces for the TX signal on the side interacting with the device is N, and the number of electrical interfaces for the RX signal is also N, where N is a positive integer; the number of optical interfaces for the TX signal on the side transmitting and receiving optical signals is M, and the number of electrical interfaces for the RX signal is also M, where M is a positive integer, and M can be equal to or different from N.
[0039] In addition, the control chip is used to communicate with the traditional optical module. Specifically, the control chip communicates with the microprocessor inside the traditional optical module through the I2C interface, thereby controlling the traditional optical module. Furthermore, the control chip of the device can also access the memory of the traditional optical module through the microprocessor inside the traditional optical module, perform write and read operations, and configure parameters and read the status of the traditional optical module.
[0040] However, the highly concentrated heat source of traditional optical modules can easily cause heat dissipation difficulties. In order to solve the above problems, the industry has introduced a linear direct drive solution. In this solution, the device uses a new ASIC chip as a signal processing chip. Since the serializer / deserializer capabilities of the new ASIC chip are enhanced and some DSP functions are integrated, the internal architecture of the optical module can be simplified.
[0041] like Figure 2 As shown, it is a schematic diagram of the interaction between an LPO optical module and a device provided in an embodiment of the present application. The device may refer to a switching device or a routing device, which is not specifically limited. The device includes a signal processing chip and a control chip. The control chip is used to communicate with the LPO optical module. Specifically, the control chip communicates with the microprocessor inside the LPO optical module through the I2C interface to control the LPO optical module. In addition, the control chip of the device can also access the memory of the LPO optical module through the microprocessor inside the LPO optical module, perform write and read operations, and configure parameters and read the status of the LPO optical module.
[0042] In a possible implementation, the communication and management between the LPO optical module and the device follows the Common Management Interface Specification (CMIS), which defines the module register architecture and the definition of each register partition.
[0043] Furthermore, the signal processing chip is a new type of ASIC chip, which is used to receive and transmit optical signals through the optical module. The processing flow of the optical signal transmitted by the device and the LPO optical module is as follows: the transmission link of the LPO optical module receives the transmission signal transmitted from the device through the gold finger, also known as the TX signal, and then the LPO optical module amplifies the signal through the laser driver and outputs the signal through the laser. It should be noted that the laser driver in the LPO optical module has the ability of continuous time linear equalizer (CTLE) equalization, which can compensate for the loss on the transmission link. The processing flow of the optical signal received by the device and the LPO optical module is as follows: the receiving link of the optical module converts the input optical signal into an electrical signal through a photodetector, amplifies the signal through a transimpedance amplifier, and transmits the output signal (also known as the RX signal) to the device through the gold finger of the optical module. For the LPO optical module, the number of electrical interfaces for TX signals on the side interacting with the device is N, and the number of electrical interfaces for RX signals is also N, where N is a positive integer; the number of optical interfaces for TX signals on the side transmitting and receiving optical signals is M, and the number of electrical interfaces for RX signals is also M, where M is a positive integer. Since there is no DSP chip in the LPO module for multi-channel integration, M and N are equal in the LPO optical module.
[0044] It should be noted that the transimpedance amplifier in the LPO optical module has the capabilities of automatic gain control (AGC) and pre-emphasis, which can compensate and optimize the received signal.
[0045] By comparing the above-mentioned traditional optical modules and LPO optical modules, it can be seen that the difference between traditional optical modules and LPO optical modules lies in whether there is a DSP inside the module, and whether the laser driver and transimpedance amplifier used have certain functions of linear direct drive, such as the laser driver needs to have the ability of CTLE equalization, and the transimpedance amplifier needs to have the ability of automatic gain control and pre-emphasis. Since there is no DSP inside the LPO optical module, its power consumption is relatively small, which alleviates the problem of concentrated heat dissipation. However, since the LPO optical module no longer uses DSP inside, it is impossible to better compensate and shape the signal, so the LPO optical module has much higher requirements for the transmission link than the traditional optical module. In other words, the link requirements of the device for the traditional optical module and the LPO optical module are different. Therefore, the link configuration corresponding to the traditional optical module is not applicable to the LPO optical module. Similarly, the link configuration corresponding to the LPO optical module cannot obtain the optimal performance when applied to the traditional optical module.
[0046] In order to improve the link transmission performance, such as Figure 3As shown, it is a flow chart of a parameter configuration method provided in an embodiment of the present application, which is applied to a device for signal transmission through an optical module and is applicable to the above Figure 2 The interaction diagram shown in FIG. 1 is a block diagram of a method for performing a multi-step process. The method comprises the following steps:
[0047] Step 301: The device obtains module information of the optical module.
[0048] Specifically, the device queries and obtains the module information of the optical module plugged into the port. The module information includes module type indication information and application type. The module type indication information is used to indicate the module type of the optical module. Optionally, the module type includes a traditional optical module or an LPO optical module. The application type refers to the application scenario supported by the optical module, including but not limited to short range (SR), data center reach (DR), and fiber reach (FR). Among them, SR refers to supporting a link length of 100m in a multimode optical fiber at 100Gbps / lane transmission, DR refers to a maximum transmission distance of 500m on a parallel single-mode optical fiber, and FR generally refers to a maximum transmission distance of 2km on a CWDM single mode.
[0049] Taking the communication and management between optical modules and devices in accordance with CMIS as an example, the module information of the optical module is included in the SFF-8024 protocol, but the SFF-8024 protocol does not distinguish between traditional optical modules and LPO optical modules. In order to distinguish between traditional optical modules and LPO optical modules, in a possible implementation method, the embodiment of the present application selects the Host Electrical Interface ID in the CMIS standard to distinguish between traditional optical modules and LPO optical modules. Regarding the Host Electrical Interface ID, since the protocol SFF-8024 only defines 400G and 800G traditional optical modules (such as hexadecimal, 4F and 50 represent 400G traditional optical modules, and 51 and 52 represent 800G traditional optical modules), in order to distinguish LPO optical modules, the manufacturer-defined part of the Host Electrical Interface ID (such as hexadecimal, C0 represents 400G LPO optical modules, and C1 represents 800G LPO optical modules) can be selected to distinguish between traditional optical modules and LPO optical modules. The device reads the information with register address Page0 and Byte 86 / 90 / 94 / 98 according to the Host Electrical Interface ID in the read module information, thereby distinguishing whether the optical module inserted into the port is a traditional optical module or an LPO optical module.
[0050] In a possible implementation, the port of the device connected to the optical module can be initialized according to the preset initial configuration parameters of the device, and after determining that the module in-position pin (Modprs) on the port is in the in-position state, the module information of the optical module is obtained. Optionally, the preset initial configuration parameters can be stored in a memory of the device.
[0051] In a possible implementation, the device may first control the optical module to be in low power consumption mode, and then obtain the module information of the optical module. The device may control the laser of the optical module to turn off the pin or set the pin to a low position to put the optical module in low power consumption mode.
[0052] Step 302: The device determines whether the optical module is an LPO optical module according to the module type indication information in the module information.
[0053] Taking the communication and management between the optical module and the device in accordance with CMIS as an example, the device determines whether the optical module inserted into the port is a traditional optical module or an LPO optical module based on the information of the register address Page0 and Byte 86 / 90 / 94 / 98. Assuming that the information read is C0, it means that the optical module inserted into the port is a 400G LPO optical module, which means that the optical module inserted into the port is an LPO optical module.
[0054] Step 303: If the optical module is an LPO optical module, the device determines target configuration parameters of the device under the application type according to the application type in the module information.
[0055] Combination Figure 4 , is a flow chart of a method for determining target configuration parameters of a device under an application type provided by an embodiment of the present application. The method comprises the following steps:
[0056] Step 401: The device determines the application type of the optical module according to the media type information and media interface information of the optical module.
[0057] Specifically, the application type includes media type information and media interface information. The device determines whether the application type of the inserted LPO optical module is SR, DR, or FR based on the read Media Type and Media Interface information, that is, whether the LPO optical module inserted into the port supports the SR application scenario, the DR application scenario, or the FR application scenario.
[0058] Step 402: The device determines target configuration parameters of the device under the application type according to the application type of the optical module.
[0059] Different application types correspond to different device configuration parameters, and the correspondence between the application type and the device configuration parameters can be stored in the device memory. After determining the application type of the optical module, the device determines the target configuration parameters of the device under the application type according to the correspondence between the device application type and the device configuration parameters and the application type of the optical module.
[0060] Through the above steps 401 to 402, the target configuration parameters of the device under the application type are obtained.
[0061] Step 304: The device is configured according to the target configuration parameters of the device under the application type.
[0062] In a possible implementation, after the device is configured according to target configuration parameters of the device under the application type, the device controls the optical module to be in the working mode.
[0063] Through the above steps 301 to 304, when it is determined that the module type of the optical module is a linear direct drive, the target configuration parameters of the device under the application type can be determined by identifying the application type of the optical module. By configuring the device using this target configuration parameter, the link requirements of the optical module for the device can be met, thereby improving the link transmission performance.
[0064] like Figure 5 FIG. 1 is a schematic diagram of a device provided in an embodiment of the present application. The device includes an application-specific integrated circuit (ASIC) chip, a signal line, and at least one port ( Figure 5 In the example, 10 ports are used. Specifically, the ASIC chip has low power consumption, small size and high performance, which can greatly improve the performance of the device. The device is connected to the optical module through the port. The signal line can be a high-speed signal line for connecting the ASIC chip and the port. Figure 1 As can be seen in the figure, due to the position difference between ports, the length of the signal line from the ASIC chip to the ports at different positions is different, resulting in different link losses for different ports. When the device is connected to the LPO optical module through the port, since the LPO optical module is very sensitive to link loss, if the LPO optical module uses the same set of configuration parameters, it may encounter transmission problems on different ports, resulting in poor link transmission performance.
[0065] In view of this, after configuring the device according to the configuration parameters of the device under the application type, the embodiment of the present application will specifically adjust the configuration parameters of the LPO optical module according to the port into which the LPO optical module is inserted.
[0066] like Figure 6FIG. 1 is a flow chart of a method for configuring an optical module provided in an embodiment of the present application. The method comprises the following steps:
[0067] Step 601, the device obtains the port calibration value of the port;
[0068] Specifically, during the design and development phase of the device, the port calibration value is usually determined based on the location of the port and written into the device's software. The device can obtain the port calibration value of the port by calling it. The port calibration value can be an insertion loss calibration value, or other values used to characterize port parameters, without limitation. Taking the port calibration value as an insertion loss calibration value as an example, the insertion loss calibration value of different ports may be 5dB, 6dB, 10dB, etc.
[0069] Step 602: The device determines whether the configuration parameters of the optical module can be set by the device according to the parameter adjustment information in the module information.
[0070] Optionally, the configuration parameters of the optical module may include any one or more of the following: transmit side equalization (TX EQ), receive side equalization (RX Pre-Cursor and Post-Cursor), and receive side output amplitude (RX AMP).
[0071] Taking the communication and management between the optical module and the device in accordance with CMIS as an example, the device confirms whether the LPO optical module supports the adjustment of the transmitter equalization by reading the information of the register address Page01, Byte 161 bit2 (0 represents not supported, 1 represents supported); by reading Page01, Byte 162 bits3~4 to confirm whether the LPO optical module supports the adjustment of the receiver equalization (00 represents not supported, 01 represents support for Pre-Cursor, 10 represents support for Post-Cursor, 11 represents support for Pre-Cursor and Post-Cursor); by reading Page01, Byte 162 bit2 to confirm whether the LPO optical module supports the adjustment of the receiver amplitude (0 represents not supported, 1 represents supported).
[0072] If the configuration parameters of the optical module support being set by the device, then the following step 603 is executed. If not, then the following step 605 is executed.
[0073] Step 603: The device determines the target configuration parameter of the optical module corresponding to the port calibration value of the port according to the preset correspondence between the port calibration value and the configuration parameter of the optical module.
[0074] Specifically, the preset correspondence between the port calibration value and the configuration parameters of the optical module can be presented in any form of a data table, a graph, a stack, a queue, etc. For example, taking a data table as an example, by establishing a preset correspondence between the port calibration value and the configuration parameters of the optical module in the form of a table, the configuration parameters of the optical module to be configured can be obtained by querying the port calibration value through a lookup table. Taking the configuration parameters of the optical module including the transmitting end equalization value, the receiving end equalization value and the receiving end output amplitude as an example, Table 1 exemplarily shows a possible preset correspondence between the port calibration value and the configuration parameters of the optical module.
[0075] Table 1 Preset correspondence between port calibration values and configuration parameters of optical modules
[0076]
[0077]
[0078] Step 604: The device configures the optical module according to the target configuration parameters of the optical module.
[0079] Optionally, Figure 7 A schematic flow chart of a method for configuring an optical module according to target configuration parameters of the optical module provided in an embodiment of the present application is exemplarily shown. The method comprises the following steps:
[0080] Step 701: The device writes target configuration parameters of the optical module into a register of the optical module.
[0081] See also Figure 8 , is a schematic diagram of the structure of a register provided in an embodiment of the present application. The register is divided into Bank and Page, and the corresponding Bank can be selected according to 7E, and the corresponding Page can be selected according to 7F. In the embodiment of the present application, the contents of the corresponding bytes in Page00, Page 01, Page 10 and Page 11 are mainly used, and the usage is described as follows:
[0082] Page 00: Mainly used to read the basic information of the optical module in the low-byte register.
[0083] Page 01: Mainly used to read the support capability of the configuration parameters of the corresponding LPO optical module in the high byte register.
[0084] Page 10: Mainly write the parameters that need to be adjusted into the corresponding LPO optical module Staged Control Set information in the high byte register, and read the written status information at the same time.
[0085] Page 11: Mainly used to read the corresponding LPO optical module Active ControlSet information in the high-byte register to obtain the configuration parameters of the optical module of the current module.
[0086] Step 702: The device sends a parameter configuration validation command to the optical module.
[0087] Taking the communication and management between the optical module and the device in accordance with CMIS as an example, after the device writes the target configuration parameters of all optical modules, it sends a parameter configuration effectiveness command to the LPO optical module. The register for the configuration effectiveness is ApplyDPInit&ApplyImmediate (Page10, 143~144), and 1 is written in the corresponding effectiveness bit.
[0088] The optical module is used to configure the optical module through the target configuration parameters of the optical module stored in the register, or to configure the optical module through the target configuration parameters of the optical module stored in the register and the associated configuration parameters of the target configuration parameters of the optical module. The associated configuration parameters refer to the configuration parameters of the optical module that cannot be written by the device, including the output amplitude gain value (VGain), etc. Since the associated configuration parameters are not defined in CMIS, the device cannot write the associated configuration parameters into the LPO optical module. Therefore, a set of lookup tables can be established in the optical module, namely, the configuration parameters of the optical module-associated configuration parameters. Through this lookup table, the associated configuration parameters that need to be configured can be queried according to the configuration parameters of the optical module.
[0089] In an example, the configuration parameters of the optical module include a transmitter equalization value, a receiver equalization value, and a receiver output amplitude, and the associated configuration parameters include an output amplitude gain. Table 2 exemplarily shows a possible preset correspondence between the configuration parameters of the optical module and the associated configuration parameters.
[0090] Table 2 Preset correspondence between configuration parameters of optical modules and associated configuration parameters
[0091]
[0092] Further optionally, Fig. 9 A schematic flow chart of a method for configuring an optical module according to target configuration parameters of the optical module provided in an embodiment of the present application is exemplarily shown. The method comprises the following steps:
[0093] Step 901: The device determines that a target configuration parameter of an optical module is within a maximum parameter adjustment range of the optical module.
[0094] The module information also includes the currently effective configuration parameters of the optical module and the maximum parameter adjustment range of the optical module. Taking the communication and management between the optical module and the device in accordance with CMIS as an example, the device confirms that the LPO optical module supports the maximum value of the transmitter equalization adjustment by reading the bits 0 to 3 of Byte 153 of Page01 (bit 0 to 3 can represent 1dB to 12dB); confirms that the LPO optical module supports the maximum value of the receiver equalization adjustment by reading the bits 0 to 7 of Byte 154 of Page01 (Pre-Cursor range 1 to 7dB, Post-Cursor range 0.5 to 3.5dB); confirms that the LPO optical module supports the maximum value of the receiver amplitude adjustment by reading the bits 4 to 7 of Byte 153 of Page01 (0 to 3 represent 100 to 400mV, 300 to 600mV, 400 to 800mV, 600 to 1200mV respectively); and is used to determine whether the configuration parameters of the optical module that need to be adjusted are within this adjustable range.
[0095] In step 902, the device determines whether the currently effective configuration parameters of the optical module are consistent with the target configuration parameters of the optical module; if they are inconsistent, the following step 903 is executed; if they are consistent, the following step 904 is executed.
[0096] Step 903: The device configures the optical module according to the target configuration parameters of the optical module.
[0097] Step 904: The device does not perform an operation.
[0098] Through the above steps 901 to 904, the optical module is configured according to the target configuration parameters of the optical module.
[0099] Step 605: The device interrupts the configuration process and reports an alarm.
[0100] In order to make the solutions of the embodiments of the present application clearer, specific implementation methods of the two optical systems provided in the embodiments of the present application are introduced below.
[0101] One embodiment is:
[0102] The device is a 51.2T linear direct drive device (with 128 400G ports, a single-channel rate of 100Gbps, and optical modules include 400G traditional optical modules (supporting transmission distances including but not limited to SR4, DR4, FR4, LR4, ER4-lite / ER4, etc.) and 400G LPO optical modules.
[0103] The main content of this embodiment is the interaction mode between the device and the optical module when the 51.2T linear direct drive device (128 400G ports) is adapted to 400G traditional optical modules (supporting transmission distances including but not limited to SR4, DR4, FR4, LR4, ER4-lite / ER4, etc.) and 400G LPO optical modules at the same time.
[0104] First, the interaction diagram of 400G traditional optical modules and devices is as mentioned above. Figure 1 As shown in the figure, the electrical interface of the 400G traditional optical module has 4 pairs of TX and RX electrical signals, and the optical interface also has 4 pairs of TX and RX optical signals, so Figure 1 The corresponding N and M are both 4.
[0105] Correspondingly, the interaction diagram of 400G LPO optical module and equipment is as mentioned above Figure 2 As shown in the figure, since the electrical interface of the 400G LPO optical module has 4 pairs of TX and RX electrical signals, and the optical interface also has 4 pairs of TX and RX optical signals, Figure 2 The corresponding N and M are both 4.
[0106] like Fig.10 FIG. 1 is a flow chart of a method for configuring a device provided in an embodiment of the present application, the method comprising the following steps:
[0107] Device step 5001: The device is powered on and initialized. According to the initial settings, the link of the device loads the preset initial configuration parameters (depending on the actual usage of the scene, it is determined whether to load the configuration of the traditional optical module or the configuration of the LPO optical module, including the configuration distinction between SR and DR application types, and the distinction between the configuration parameters of different link insertion loss calibration values). At the same time, the laser shutdown pins or low power mode (LP_MODE) pins of all optical module ports are controlled to be low, so that there is no optical signal output, to prevent the optical module from outputting optical signals during the link parameter configuration stage, resulting in reception errors at the other end.
[0108] Module step 6001: After the optical module is inserted into the port, it is affected by the device control and turns off the laser or enters a low power consumption mode. At this time, it can respond normally to the device communication (such as I2C communication).
[0109] Device step 5002: The device detects whether the module presence pin ModPresL (this pin is grounded inside the module) of the optical module port is in place. If so, it enters device step 5003; if not, it returns and re-detects, cyclically detecting whether this pin is in place, or detecting whether there is a module in place through an interrupt.
[0110] Device step 5003: Query optical module information.
[0111] Module step 6002: The optical module continues to be in a laser off or low power consumption state and can respond normally to device communications.
[0112] Device step 5004: The device determines whether to insert a 400G traditional optical module or a 400G LPO optical module according to the Host Electrical Interface ID information read in device step 5003. If it is a 400G traditional optical module, device step 5009 is executed; if it is an LPO optical module, device step 5005 is executed.
[0113] Device step 5005: query the Media Type and Media Interface information in the optical module information. This part is also defined in the CMIS standard, and the definition of the basic information of the module is described in SFF-8024. The device first reads the Media Type register (the corresponding register address is Page0, Byte 85). The hexadecimal 01h represents 850nm multimode fiber, and 02h represents single-mode fiber; and reads the Media Interface (the corresponding register address is Page0, Byte 87 / 97 / 95 / 99. Similarly, the 400G module only uses the first 4 Byte registers). 11h represents 400G-SR4, and 1Ch represents 400G-DR4, which is used to determine whether the LPO optical module supports the SR4 application type or the DR4 application type.
[0114] Module step 6003: The optical module continues to be in a laser off or low power consumption state and can respond normally to device communications.
[0115] Device step 5006: The device determines whether the inserted LPO optical module supports the SR application scenario or the DR application scenario according to the Media Type and Media Interface information read in device step 5005. If the read content Media Type is 01h and Media Interface is 11h, it means that it is an LPO optical module that supports the SR application type, then execute device step 5007; if the read content Media Type is 02h and Media Interface is 1Ch, it means that it is an LPO optical module that supports the DR application type, then execute device step 5008.
[0116] Device step 5007: The device determines that the inserted optical module is a 400G-SR4 LPO optical module through the read information, and then the device loads the link configuration applicable to the 400G-SR4 LPO optical module, and then executes device step 5010.
[0117] Device step 5008: The device determines that the inserted optical module is a 400G-DR4 LPO optical module through the read information, and then the device loads the link configuration applicable to the 400G-DR4 LPO optical module, and then executes device step 5011.
[0118] Device step 5009: the device determines that the inserted optical module is a traditional optical module through the information read in device step 5003, then the device loads the link configuration applicable to the traditional optical module, and then executes device step 5012.
[0119] Device step 5010: After the device completes the link configuration for the 400G-SR4 LPO optical module, the control sets the laser shutdown pin or low power mode pin of the optical module of the corresponding port to high, and restores the laser light emission or normal working mode. At this time, the optical module enters the normal working mode and can output optical signals normally. At this point, the device side configuration for the 400G-SR4LPO optical module is completed.
[0120] Device step 5011: After the device completes the link configuration for the 400G-DR4 LPO optical module, the control sets the laser shutdown pin or low power mode pin of the optical module of the corresponding port to high, and restores the laser light emission or normal working mode. At this time, the optical module enters the normal working mode and can output optical signals normally. At this point, the device side configuration for the 400G-DR4LPO optical module is completed.
[0121] Device step 5012: After the device completes the link configuration for the traditional optical module, the device controls the laser shutdown pin or the low power mode pin of the optical module of the corresponding port to be set high, and the laser light emission or normal working mode is restored. At this time, the optical module enters the normal working mode and can output optical signals normally. At this point, the device side configuration for the traditional optical module is completed.
[0122] Module step 6004: After receiving the laser shutdown cancellation and normal working mode instruction sent by the device, the optical module returns to the normal working mode. At this point, the configuration of the optical module side is completed.
[0123] After configuration, Fig.11 FIG. 1 is a flow chart of a method for configuring an optical module provided in an embodiment of the present application. The method comprises the following steps:
[0124] Device step 7001: After the module identification and link configuration as above, the port is initialized and the insertion loss calibration value of each port is loaded. This insertion loss calibration value is determined in the design and development stage, and is written into the device software during production. During use, this insertion loss calibration value is loaded according to actual application requirements. At the same time, a corresponding relationship is established between the insertion loss calibration value and the configuration parameters of the optical module, that is, a lookup table (the lookup table includes but is not limited to: insertion loss calibration value-transmitter equalization value, insertion loss calibration value-receiver equalization value, insertion loss calibration value-receiver output amplitude value, etc.).
[0125] Device step 7002: the device reads the information of the LPO optical module, and queries whether the LPO optical module supports the device to adjust the configuration parameters of the optical module. The configuration parameters of the optical module include transmitter equalization (TX EQ), receiver equalization (RX Pre-Cursor and Post-Cursor) and receiver output amplitude (RX AMP). By reading Page01, bit2 of Byte 161, it is confirmed whether the LPO optical module supports the adjustment of transmitter equalization (0 represents not supported, 1 represents supported); by reading Page01, bits 3 to 4 of Byte 162, it is confirmed whether the LPO optical module supports the adjustment of receiver equalization (00 represents not supported, 01 represents support for Pre-Cursor, 10 represents support for Post-Cursor, and 11 represents support for Pre-Cursor and Post-Cursor); by reading Page01, bit2 of Byte 162, it is confirmed whether the LPO optical module supports the adjustment of receiver amplitude (0 represents not supported, 1 represents supported).
[0126] Module step 8001: The LPO optical module is in normal working mode and responds to the access operation of the device.
[0127] Device step 7003: The device determines whether the optical module supports the device to adjust the configuration parameters of the optical module based on the LPO optical module information read in device step 7002. If the optical module configuration parameter adjustment is not supported, the SI configuration on the device side is interrupted and an alarm is reported on the device. If the optical module configuration parameter adjustment is supported, device step 7004 is executed.
[0128] Device step 7004: the device reads the information of the LPO optical module, queries the adjustment range of the configuration parameters of the optical module supported by the LPO optical module (the maximum value supported for adjustment), and confirms that the LPO optical module supports the maximum value of the transmitter equalization adjustment (bit0~3 can represent 1dB~12dB) by reading Page01, Byte 153 bits0~7; confirms that the LPO optical module supports the maximum value of the receiver equalization adjustment (Pre-Cursor range 1~7dB, Post-Cursor range 0.5~3.5dB) by reading Page01, Byte 153 bits4~7 to confirm that the LPO optical module supports the maximum value of the receiver amplitude adjustment (0~3 respectively represent 100~400mV, 300~600mV, 400~800mV, 600~1200mV), thereby determining whether the target configuration parameters of the optical module are within this adjustable range.
[0129] Module step 8002: The LPO optical module is in normal working mode and responds to the access operation of the device.
[0130] Device step 7005: The device confirms whether the configuration parameters of the optical module to be adjusted are within the adjustment range supported by the LPO optical module according to the LPO optical module information read in device step 7004 and the currently loaded insertion loss calibration value. If not within the adjustment range of the configuration parameters of the optical module, the SI configuration on the device side is interrupted and an alarm is reported on the device. If within the adjustment range of the configuration parameters of the optical module, device step 7006 is executed.
[0131] Device step 7006: The device reads the information of the LPO optical module, queries the configuration parameters of the current LPO optical module, reads ExplicitControl (Page11, bit0 of Byte 206-209) to confirm whether the configuration parameters of the optical module are defined by the module application or the device (0 indicates that it is determined by the module application, and 1 indicates that it is determined by the device). Read the configuration parameter information of the optical module in Active Control Set, as follows: read Page11, Byte 217-218 to confirm the currently written fixed equalization value of the transmitter; read Page11, Byte 223-224, 227-228 to confirm the currently written fixed equalization value of the receiver (Byte 223-224 is Pre-Cursor, Byte 227-228 is Post-Cursor); read Page11, Byte 231-232 to confirm the currently written output amplitude value of the receiver; used to determine whether the current configuration parameters of the LPO optical module meet the requirements of the port insertion loss value.
[0132] Module step 8003: The LPO optical module is in normal working mode and responds to the access operation of the device.
[0133] Device step 7007: The device confirms that the bit 0 of Page 11, Byte 206-209 is 1 according to the LPO optical module information read in device step 7006, that is, the device confirms the adjustment parameters; at the same time, confirms the read Page 11, Byte 217-218 to confirm whether the currently written transmitter fixed equalization value and the insertion loss value-transmitter equalization value in the lookup table are consistent, and determines whether the transmitter (TX) equalization value of the current LPO optical module needs to be adjusted. If it is determined that the transmitter equalization value of the current LPO optical module meets the port insertion loss value requirement, the device does not need to adjust it, and executes device step 7009; if it is determined that the transmitter equalization value of the current LPO optical module does not meet the port insertion loss value requirement, the device needs to adjust it, and executes device step 7008.
[0134] Device step 7008: The device determines the transmitter (TX) equalization value that needs to be adjusted based on the insertion loss value-transmitter equalization value in the lookup table, and writes it to the register related to Staged Control Set 0. The register is the transmitter equalization value target value (Page10, 156~157). The device writes the corresponding transmitter equalization value target value that needs to be adjusted into this register.
[0135] Module step 8004: The LPO optical module is in normal working mode and responds to the access operation of the device. For the transmitter equalization value written by the device, the optical module identifies the status bit of the transmitter equalization value written in the register and informs the device of the write status. It should be noted that the write status includes writing, writing completed, or writing failed, etc., which will not be repeated later.
[0136] Device step 7009: The device confirms the read Page 11, Byte 223-224, 227-228 based on the LPO optical module information read in device step 7006 to confirm whether the currently written fixed receiving end equalization value is consistent with the insertion loss value-receiving end equalization value in the lookup table, and determines whether the receiving end (RX) equalization value of the current LPO optical module needs to be adjusted (the receiving end equalization value includes Pre-Cursor and Post-Cursor). If it is determined that the receiving end equalization value of the current LPO optical module meets the port insertion loss value requirement, the device does not need to adjust it, and executes device step 7011; if it is determined that the receiving end equalization value of the current LPO optical module does not meet the port insertion loss value requirement, the device needs to adjust it, and executes device step 7010.
[0137] Device step 7010: The device determines the receiving end (RX) equalization value that needs to be adjusted (the receiving end equalization value includes Pre-Cursor and Post-Cursor) according to the insertion loss value-receiving end equalization value in the lookup table, and writes it into the register related to Staged ControlSet 0. The register is the receiving end equalization value target value (Page10, 162~163, 166~167). The device writes the corresponding receiving end equalization value target value that needs to be adjusted into this register.
[0138] Module step 8005: The LPO optical module is in normal working mode and responds to the access operation of the device. For the receiving end equalization value written by the device, the optical module identifies the state bit of the receiving end equalization value written in the register and informs the device of the written state.
[0139] Device step 7011: The device confirms the read Page 11, Byte 231-232 based on the LPO optical module information read in device step 7006 to confirm whether the currently written receiving end (RX) output amplitude value is consistent with the insertion loss value-receiving end output amplitude value in the lookup table, and determines whether the receiving end output amplitude value of the current LPO optical module needs to be adjusted. If it is determined that the receiving end output amplitude value of the current LPO optical module meets the port insertion loss value requirement, the device does not need to adjust it, and executes device step 7013; if it is determined that the receiving end output amplitude value of the current LPO optical module does not meet the port insertion loss value requirement, the device needs to adjust it, and executes device step 7012.
[0140] Device step 7012: The device determines the receiving end output amplitude value that needs to be adjusted based on the insertion loss value-receiving end output amplitude value in the lookup table, and writes it into the register related to Staged Control Set 0. The register is the receiving end output amplitude value target value (Page10, 170~171). The device writes the corresponding receiving end (RX) output amplitude value target value that needs to be adjusted into this register.
[0141] Module step 8006: The LPO optical module is in normal working mode and responds to the access operation of the device. For the receiving end output amplitude value written by the device, the optical module identifies the state bit of the receiving end output amplitude value written in the register and informs the device of the written state.
[0142] Device step 7013: After the device completes writing the configuration parameters of all optical modules that need to be adjusted, it sends the configuration parameter configuration effectiveness command of the optical module to the LPO optical module. The register for configuration effectiveness is ApplyDPInit&ApplyImmediate (Page10, 143-144), and writes 1 in the corresponding effectiveness bit. At this point, the configuration parameters of the optical module on the device side are configured.
[0143] Module step 8007: The LPO optical module executes the device's instructions and loads the configuration in Staged Control Set0 written by the device into Active Control Set (activated configuration), including the transmitter equalization value, the receiver equalization value, and the receiver output amplitude value target value.
[0144] Module step 8008: The LPO optical module writes the Active Control Set to the module hardware configuration and takes effect. This operation is implemented through the module software. At this point, the configuration parameters of the LPO optical module are configured.
[0145] In addition, during actual optimization, in addition to the configuration parameters of the optical module defined in the CMIS standard (transmitter equalization value, receiver equalization value, receiver output amplitude value), some configuration parameters of the LPO optical module may also need to be modified in accordance with the insertion loss of the link, including but not limited to VGain (output amplitude gain of the driver in the LPO optical module). Here, for this type of parameter that is not defined in the CMIS standard but needs to be configured according to the link loss during actual application, this type of method is explained.
[0146] As mentioned above, it has been determined that the device has added a lookup table of insertion loss calibration values and configuration parameters of the optical module in the configuration. The LPO optical module is informed of the current channel insertion loss value and the actual value of the configuration parameters of the optical module that needs to be configured by writing the corresponding value of the configuration parameters of the optical module in the lookup table. When the LPO optical module needs to be informed of the driver output amplitude gain value VGain that needs to be configured through the insertion loss value in actual use, another set of lookup tables can be established, namely, insertion loss value-driver output amplitude gain value VGain, but because VGain is not defined in CMIS, there is no way to directly write the target value into the LPO optical module, then only a set of lookup tables can be established in the module, namely, configuration parameter value of the optical module-driver output amplitude gain value VGain value, there are three types of configuration parameter values of the optical module, currently taking the transmitter equalization value as an example, the transmitter equalization value-driver output amplitude gain value VGain lookup table is used inside the LPO optical module, through this lookup table, the transmitter equalization value can be written through the device, and the driver output amplitude gain value VGain value that needs to be adjusted can be confirmed.
[0147] The adjustment methods for other configuration parameters of the LPO optical module are as follows:
[0148] Device step 7008: When the VGain value to be configured cannot be passed to the LPO optical module through the register defined by CMIS, it is necessary to borrow the existing transmitter equalization value register. The device writes the transmitter equalization value that needs to be adjusted according to the insertion loss setting of the channel corresponding to the port.
[0149] Module step 8009: Module step 8009 and module step 8004 are in the same software execution loop, and the two operation steps are executed synchronously, which is a parallel relationship. In module step 8009, the LPO optical module is in normal working mode and responds to the access operation of the device. For the transmitter equalization value written by the device, the optical module identifies the status bit of the transmitter equalization value written in the register and informs the device of the written status. The LPO optical module searches for the VGain value corresponding to the written transmitter equalization value according to the transmitter equalization value written by the device and the module's internal transmitter equalization value-driver output amplitude gain VGain value lookup table. The VGain value is adjusted to the target value by the software of the LPO optical module. (Note: When the LPO optical module is processed, the lookup table is written according to the actual debugging parameters. The device has already established the corresponding relationship between the insertion loss value and the configuration parameters of the optical module. When the LPO optical module is processed, the corresponding relationship between the insertion loss value, the configuration parameters of the optical module and the VGain value is established). At this point, the channel optimization configuration on the module side is completed.
[0150] After the device step 7008 is completed, the subsequent steps are judged and executed normally.
[0151] One embodiment is:
[0152] The device is a 51.2T linear direct drive device (with 64 800G ports and a single-channel rate of 100Gbps). The optical modules include 800G traditional optical modules (supporting transmission distances including but not limited to SR8, DR8, 2*FR4, 2*LR4, 2*ER4-lite / 2*ER4, etc.) and 800G LPO optical modules (supporting transmission distances including but not limited to SR8 and DR8).
[0153] The main content of this embodiment is the interaction method between the device and the optical module when the 51.2T linear direct drive device (64 800G ports) is simultaneously adapted to 800G traditional optical modules (supporting transmission distances including but not limited to SR8, DR8, 2*FR4, 2*LR4, 2*ER4-lite / 2*ER4, etc.) and 800GLPO optical modules.
[0154] First, the interaction diagram of the traditional optical modules and devices of 800G QSFP-DD800 and 800G OSFP is as shown above. Figure 1 As shown in the figure, since the 800G QSFP-DD800 and 800G OSFP electrical interfaces have 8 pairs of TX and RX electrical signals, and the optical interfaces also have 8 pairs of TX and RX optical signals, Figure 1 The corresponding N and M are both 8.
[0155] Correspondingly, the schematic diagram of the LPO optical module and device communication of 800G QSFP-DD800-SR8 / DR8 and 800G OSFP-SR8 / DR8 is as mentioned above. Figure 2 As shown in the figure, since the electrical interface of the LPO optical module of 800G QSFP-DD800-SR8 / DR8 and 800G OSFP-SR8 / DR8 has 8 pairs of TX and RX electrical signals, and the optical interface also has 8 pairs of TX and RX optical signals, Figure 8 The corresponding N and M are both 8.
[0156] like Fig.12 FIG. 1 is a flow chart of a method for configuring a device provided in an embodiment of the present application. The method comprises the following steps:
[0157] Device step 9001: The device is powered on and initialized. According to the initial settings, the link of the device loads the preset initial configuration parameters (depending on the actual usage of the scene, it is determined whether to load the configuration of the traditional optical module or the configuration of the LPO optical module, including the configuration distinction between SR and DR application types, and the distinction between the configuration parameters of different link insertion loss calibration values). At the same time, the laser shutdown pins or low power mode (LP_MODE) pins of all optical module ports are controlled to be low, so that there is no optical signal output, to prevent the output of optical signals during the link parameter configuration stage, resulting in reception errors at the other end.
[0158] Module step 10001: After the optical module is inserted into the port, it is affected by the device control and turns off the laser or enters a low power consumption mode. At this time, it can respond normally to the communication of the device (such as I2C communication).
[0159] Device step 9002: The device detects the module presence pin ModPresL of the optical module port (this pin is grounded inside the module). If it is in place, it enters device step 5003; if it is not in place, it returns and re-detects, cyclically detecting whether this pin is in place, or detecting whether there is a module in place through an interrupt.
[0160] Device step 9003: query the optical module information. The current communication and management between the optical module and the device follows the OIFCMIS protocol (Common Management Interface Specification), which defines the module register architecture and the definition of each register partition. The description of the optical module information is included in the SFF-8024 protocol, but the current SFF-8024 protocol does not distinguish between traditional optical modules and LPO optical modules. In order to distinguish between traditional optical modules and LPO optical modules, the Host Electrical Interface ID in the CMIS standard is selected in this patent document to distinguish. Regarding the Host Electrical Interface ID, the information defined in SFF-8024 is only for 400G and 800G traditional optical modules (such as hexadecimal, 4F and 50 represent 400G traditional optical modules, 51 and 52 represent 800G traditional optical modules). Therefore, in order to distinguish LPO optical modules, we selected the manufacturer-defined part of the Host Electrical Interface ID (such as hexadecimal, C0 represents 400G LPO optical modules, C1 represents 800G LPO optical module), the device reads the register address Page0, Byte86 / 90 / 94 / 98 / 102 / 106 / 110 / 114 (400G module only uses the registers corresponding to the first four channels of 86 / 90 / 94 / 98, while 800G module uses all registers of 86 / 90 / 94 / 98 / 102 / 106 / 110 / 114) according to the Host Electrical Interface ID in the module information, which is used to distinguish whether it is a traditional optical module or an LPO optical module.
[0161] Module step 10002: The optical module continues to be in a laser off or low power consumption state and can respond normally to device communications.
[0162] Device step 9004: The device determines whether to insert an 800G traditional optical module or an 800G LPO optical module according to the Host Electrical Interface ID information read in device step 9003. If it is an 800G traditional optical module, device step 9009 is executed; if it is an LPO optical module, device step 9005 is executed.
[0163] Device step 9005: Query the Media Type and Media Interface information in the optical module information. This part is also defined in the CMIS standard, and the definition of the basic information of the module is described in SFF-8024. The device first reads the Media Type register (the corresponding register address is Page0, Byte 85). The hexadecimal 01h represents 850nm multimode fiber, and 02h represents single-mode fiber; and reads the Media Interface (the corresponding register address is Page0, Byte87 / 97 / 95 / 99 / 103 / 107 / 111 / 115. Similarly, the 400G module only uses the first 4 Byte registers, and the 800G module uses all Byte registers). 12h represents 800G-SR4, and 56h represents 800G-DR4, which is used to determine whether the LPO optical module supports the SR8 application type or the DR8 application type.
[0164] Module step 10003: The optical module continues to be in a laser off or low power consumption state and can respond normally to device communications.
[0165] Device step 9006: The device determines whether the inserted LPO optical module supports the SR application scenario or the DR application scenario according to the Media Type and Media Interface information read in device step 9005. If the read content Media Type is 01h and Media Interface is 12h, it means that it is an LPO optical module that supports the SR application type, then execute device step 9007; if the read content Media Type is 02h and Media Interface is 56h, it means that it is an LPO optical module that supports the DR application type, then execute device step 9008.
[0166] Device step 9007: The device determines that the inserted optical module is a 400G-SR4 LPO optical module through the read information, and then the device loads the link configuration applicable to the 400G-SR4 LPO optical module, and then executes device step 9010.
[0167] Device step 9008: The device determines that the inserted optical module is a 400G-DR4 LPO optical module through the read information, and then the device loads the link configuration applicable to the 400G-DR4 LPO optical module, and then executes device step 9011.
[0168] Device step 9009: the device determines that the inserted optical module is a traditional optical module through the information read in device step 9003, then the device loads the link configuration applicable to the traditional optical module, and then executes device step 9012.
[0169] Device step 9010: After the device completes the link configuration for the 800G-SR8 LPO optical module, the control sets the laser shutdown pin or low power mode pin of the optical module of the corresponding port to high, restores the laser light emission or normal working mode, and the optical module enters the normal working mode and can output optical signals normally. At this point, the device side configuration for the 800G-SR8LPO optical module is completed.
[0170] Device step 9011: After the device completes the link configuration for the 800G-DR8 LPO optical module, the control sets the laser shutdown pin or low power mode pin of the optical module of the corresponding port to high, restores the laser light emission or normal working mode, and the optical module enters the normal working mode and can output optical signals normally. At this point, the device side configuration for the 800G-DR8LPO optical module is completed.
[0171] Device step 9012: After the device completes the link configuration for the traditional optical module, the device controls the laser shutdown pin or the low power mode pin of the optical module of the corresponding port to be set high, and the laser light emission or normal working mode is restored. At this time, the optical module enters the normal working mode and can output optical signals normally. At this point, the device side configuration for the traditional optical module is completed.
[0172] Module step 10004: After receiving the laser shutdown cancellation and normal working mode instruction sent by the device, the optical module returns to the normal working mode. At this point, the configuration of the optical module side is completed.
[0173] After configuration, Fig.13 FIG. 1 is a flow chart of a method for configuring an optical module provided in an embodiment of the present application. The method comprises the following steps:
[0174] Device step 11001: After the module identification and link configuration as above, the device loads the insertion loss calibration value of each port. This insertion loss calibration value is determined in the design and development stage, and is written into the device software during production. During use, this insertion loss calibration value is loaded according to actual application requirements. At the same time, a corresponding relationship is established between the insertion loss calibration value and the configuration parameters of the link optical module, that is, a lookup table. According to the port insertion loss calibration value, the configuration parameter value of the optical module that needs to be configured for the corresponding port can be queried. (The lookup table includes but is not limited to: insertion loss calibration value-transmitter equalization value, insertion loss calibration value-receiver equalization value, insertion loss calibration value-receiver output amplitude value, etc.).
[0175] Device step 11002: the device reads the information of the LPO optical module, and queries whether the LPO optical module supports the device to adjust the configuration parameters of the optical module. The configuration parameters of the optical module include transmitter equalization (TX EQ), receiver equalization (RX Pre-Cursor and Post-Cursor) and receiver output amplitude (RX AMP). By reading Page01, Byte 161 bit2, it is confirmed whether the LPO optical module supports the adjustment of transmitter equalization (0 represents not supported, 1 represents supported); by reading Page01, Byte162 bits3~4, it is confirmed whether the LPO optical module supports the adjustment of receiver equalization (00 represents not supported, 01 represents support for Pre-Cursor, 10 represents support for Post-Cursor, and 11 represents support for Pre-Cursor and Post-Cursor); by reading Page01, Byte 162 bit2, it is confirmed whether the LPO optical module supports the adjustment of receiver amplitude (0 represents not supported, 1 represents supported).
[0176] Module step 12001: The LPO optical module is in normal working mode and responds to the access operation of the device.
[0177] Device step 11003: The device determines whether the optical module supports the device to adjust the configuration parameters of the optical module based on the LPO optical module information read in device step 11002. If the optical module configuration parameter adjustment is not supported, the SI configuration on the device side is interrupted and an alarm is reported on the device. If the optical module configuration parameter adjustment is supported, device step 11004 is executed.
[0178] Device step 11004: the device reads the information of the LPO optical module, queries the adjustment range (maximum value supported for adjustment) of the configuration parameters of the optical module supported by the LPO optical module, and confirms that the LPO optical module supports the maximum value of the transmitter equalization adjustment (bit0~3 can represent 1dB~12dB) by reading Page01, Byte 153 bits0~7; confirms that the LPO optical module supports the maximum value of the receiver equalization adjustment (Pre-Cursor range 1~7dB, Post-Cursor range 0.5~3.5dB) by reading Page01, Byte 153 bits4~7 to confirm that the LPO optical module supports the maximum value of the receiver amplitude adjustment (0~3 respectively represent 100~400mV, 300~600mV, 400~800mV, 600~1200mV), thereby determining whether the target configuration parameters of the optical module that need to be adjusted are within this adjustable range.
[0179] Module step 12002: The LPO optical module is in normal working mode and responds to the access operation of the device.
[0180] Device step 11005: The device confirms whether the configuration parameters of the optical module to be adjusted are within the adjustment range supported by the LPO optical module according to the LPO optical module information read in device step 11004 and the currently loaded insertion loss calibration value. If not within the adjustment range of the configuration parameters of the optical module, the SI configuration on the device side is interrupted and an alarm is reported on the device. If within the adjustment range of the configuration parameters of the optical module, device step 11006 is executed.
[0181] Device step 11006: The device reads the information of the LPO optical module, queries the configuration parameters of the current LPO optical module, reads ExplicitControl (Page11, bit0 of Byte 206-213) to confirm whether the configuration parameters of the optical module are defined by the module application or the device (0 means determined by the module application, 1 means determined by the device); reads the configuration parameter information of the optical module in Active Control Set, specifically as follows: reads Page11, Byte 217-220 to confirm the currently written fixed equalization value of the transmitter; reads Page11, Byte 223-230 to confirm the currently written fixed equalization value of the receiver (Byte 223-226 is Pre-Cursor, Byte 227-230 is Post-Cursor); reads Page11, Byte 231-234 to confirm the currently written output amplitude value of the receiver; used to determine whether the current configuration parameters of the LPO optical module meet the requirements of the port insertion loss value.
[0182] Module step 12003: The LPO optical module is in normal working mode and responds to the access operation of the device.
[0183] Device step 11007: The device confirms that the bit 0 of Page 11, Byte 206-213 is 1 according to the LPO optical module information read in device step 11006, that is, the device confirms the adjustment parameters; at the same time, confirms the read Page 11, Byte 217-220 to confirm whether the currently written transmitter fixed equalization value and the insertion loss value-transmitter equalization value in the lookup table are consistent, and determines whether the transmitter (TX) equalization value of the current LPO optical module needs to be adjusted. If it is determined that the transmitter equalization value of the current LPO optical module meets the port insertion loss value requirement, the device does not need to adjust it, and executes device step 7009; if it is determined that the transmitter equalization value of the current LPO optical module does not meet the port insertion loss value requirement, the device needs to adjust it, and executes device step 11008.
[0184] Device step 11008: The device determines the transmitter equalization value that needs to be adjusted based on the insertion loss value-transmitter equalization value in the lookup table, and writes it to the register related to Staged Control Set 0. The register is the transmitter equalization value target value (Page10, 156~159). The device writes the corresponding transmitter (TX) equalization value target value that needs to be adjusted into this register.
[0185] Module step 12004: The LPO optical module is in normal working mode and responds to the access operation of the device. For the transmitter equalization value written by the device, the optical module identifies the status bit of the transmitter equalization value written in the register and informs the device of the write status. It should be noted that the write status includes writing, writing completed, or writing failed, etc., which will not be repeated later.
[0186] Device step 11009: The device confirms the read Page 11, Byte 223-230 to confirm whether the currently written fixed equalization value of the receiving end is consistent with the insertion loss value-receiving equalization value in the lookup table according to the LPO optical module information read in device step 11006, and determines whether the receiving end (RX) equalization value of the current LPO optical module needs to be adjusted (the receiving end equalization value includes Pre-Cursor and Post-Cursor). If it is determined that the receiving end equalization value of the current LPO optical module meets the requirements of the port insertion loss value, the device does not need to adjust it, and executes device step 11011; if it is determined that the receiving end equalization value of the current LPO optical module does not meet the requirements of the port insertion loss value, the device needs to adjust it, and executes device step 11010.
[0187] Device step 11010: The device determines the receiving end equalization value that needs to be adjusted (the receiving end equalization value includes Pre-Cursor and Post-Cursor) according to the insertion loss value-receiving end equalization value in the lookup table, and writes it into the register related to Staged Control Set0. The register is the receiving end equalization value target value (Page10, 162~169). The device writes the corresponding receiving end (RX) equalization value target value that needs to be adjusted into this register.
[0188] Module step 12005: The LPO optical module is in normal working mode and responds to the access operation of the device. For the receiving end equalization value written by the device, the optical module identifies the state bit of the receiving end equalization value written in the register and informs the device of the written state.
[0189] Device step 11011: The device confirms the read Page 11, Byte 231-234 to confirm whether the currently written receiving end output amplitude value and the insertion loss value-receiving end output amplitude value in the lookup table are consistent according to the LPO optical module information read in device step 11006, and determines whether the receiving end (RX) output amplitude value of the current LPO optical module needs to be adjusted. If it is determined that the receiving end output amplitude value of the current LPO optical module meets the port insertion loss value requirement, the device does not need to adjust it, and executes device step 11013; if it is determined that the receiving end output amplitude value of the current LPO optical module does not meet the port insertion loss value requirement, the device needs to adjust it, and executes device step 11012.
[0190] Device step 11012: The device determines the receiving end output amplitude value that needs to be adjusted based on the insertion loss value-receiving end output amplitude value in the lookup table, and writes it into the register related to Staged Control Set 0. The register is the receiving end output amplitude value target value (Page10, 170~173). The device writes the corresponding receiving end (RX) output amplitude value target value that needs to be adjusted into this register.
[0191] Module step 8006: The LPO optical module is in normal working mode and responds to the access operation of the device. For the receiving end output amplitude value written by the device, the optical module identifies the state bit of the receiving end output amplitude value written in the register and informs the device of the written state.
[0192] Device step 11013: After the device completes writing the configuration parameters of all optical modules that need to be adjusted, it sends the configuration parameter configuration effectiveness command of the optical module to the LPO optical module. The register for configuration effectiveness is ApplyDPInit&ApplyImmediate (Page10, 143-144), and writes 1 in the corresponding effectiveness bit. At this point, the configuration parameters of the optical module on the device side are configured.
[0193] Module step 12007: The LPO optical module executes the device's instructions and loads the configuration in Staged ControlSet 0 written by the device into the Active Control Set (activated configuration), including the transmitter equalization value, the receiver equalization value, and the receiver output amplitude value target value.
[0194] Module step 12008: The LPO optical module writes the Active Control Set to the module hardware configuration and takes effect. This operation is implemented through the module software. At this point, the configuration parameters of the LPO optical module are configured.
[0195] In addition, during actual optimization, in addition to the configuration parameters of the optical module defined in the CMIS standard (transmitter equalization value, receiver equalization value, receiver output amplitude value), some configuration parameters of the LPO optical module may also need to be modified in accordance with the insertion loss of the link, including but not limited to VGain (output amplitude gain of the driver in the LPO optical module). Here, for this type of parameter that is not defined in the CMIS standard but needs to be configured according to the link loss during actual application, this type of method is explained.
[0196] As mentioned above, it has been determined that the device has added a lookup table of port insertion loss calibration values and configuration parameters of the optical module in the configuration. The LPO optical module is informed of the current channel insertion loss value and the actual value of the configuration parameters of the optical module that needs to be configured by writing the corresponding value of the configuration parameters of the optical module in the lookup table. When the LPO optical module needs to be informed of the driver output amplitude gain value VGain that needs to be configured through the insertion loss value in actual use, another set of lookup tables can be established, namely, insertion loss value-driver output amplitude gain value VGain, but because VGain is not defined in CMIS, there is no way to directly write the target value into the LPO optical module, then only a set of lookup tables can be established in the module, namely, the configuration parameter value of the optical module-driver output amplitude gain value VGain value. There are three types of configuration parameter values of the optical module. Taking the configuration parameter of the optical module as the transmitter equalization value as an example, a lookup table of the transmitter equalization value-driver output amplitude gain value VGain is established inside the LPO optical module. Through this lookup table and the transmitter equalization value written by the device, the driver output amplitude gain value VGain value that needs to be adjusted can be confirmed.
[0197] The adjustment methods for other configuration parameters of the LPO optical module are as follows:
[0198] Device step 11008: When the VGain value to be configured cannot be passed to the LPO optical module through the register defined by CMIS, it is necessary to borrow the existing transmitter equalization value register. The device writes the transmitter equalization value that needs to be adjusted according to the insertion loss setting of the channel corresponding to the port.
[0199] Module step 12009: Module step 12009 and module step 12004 are in the same software execution loop, and the two operation steps are executed synchronously, which is a parallel relationship. In module step 12009, the LPO optical module is in normal working mode and responds to the access operation of the device. For the transmitter equalization value written by the device, the optical module identifies the status bit of the transmitter equalization value written in the register and informs the device of the written status. The LPO optical module searches for the VGain value corresponding to the written transmitter equalization value according to the transmitter equalization value written by the device and the module's internal transmitter equalization value-driver output amplitude gain VGain value lookup table. The VGain value is adjusted to the target value by the software of the LPO optical module. (Note: When the LPO optical module is processed, the lookup table is written according to the actual debugging parameters. The device has already established the corresponding relationship between the insertion loss value and the configuration parameters of the optical module. When the LPO optical module is processed, the corresponding relationship between the insertion loss value, the configuration parameters of the optical module and the VGain value is established). At this point, the channel optimization configuration on the module side is completed.
[0200] Based on the same application concept as above, this application also provides a parameter configuration device, which can execute the method in the above application embodiment. The structure of a parameter configuration device provided by this application can be found in Fig.14 The parameter configuration device 1400 includes an acquisition unit 1401 and a processing unit 1402. The acquisition unit 1401 is used to acquire module information of the optical module; the processing unit 1402 is used to determine whether the optical module is a linear direct drive LPO optical module according to the module type indication information in the module information; if the optical module is an LPO optical module, the target configuration parameters of the device under the application type are determined according to the application type in the module information; and the device is configured according to the target configuration parameters of the device under the application type.
[0201] Optionally, the device is connected to the optical module through a port; the processing unit is specifically used to obtain the port calibration value of the port; determine whether the configuration parameters of the optical module support being set by the device according to the parameter adjustment information in the module information; if it supports being set by the device, then: determine the target configuration parameters of the optical module corresponding to the port calibration value of the port according to the preset correspondence between the port calibration value and the configuration parameters of the optical module; configure the optical module according to the target configuration parameters of the optical module.
[0202] Optionally, the processing unit is specifically used to write the target configuration parameters of the optical module into the register of the optical module; send a parameter configuration effectiveness command to the optical module; the optical module is used to configure the optical module through the target configuration parameters of the optical module stored in the register, or configure the optical module through the target configuration parameters of the optical module stored in the register and associated configuration parameters of the target configuration parameters of the optical module.
[0203] Optionally, the module information also includes the currently effective configuration parameters of the optical module and the maximum parameter adjustment range of the optical module; the processing unit is specifically used to determine whether the target configuration parameters of the optical module are within the maximum parameter adjustment range of the optical module; determine whether the currently effective configuration parameters of the optical module are consistent with the target configuration parameters of the optical module; if not, configure the optical module according to the target configuration parameters of the optical module.
[0204] Optionally, the processing unit is specifically used to control the optical module to be in a low power consumption mode; after configuring the device according to the target configuration parameters of the device under the application type, it also includes: controlling the optical module to be in a working mode.
[0205] Optionally, the processing unit is specifically configured to initialize a port connecting the device and the optical module according to preset initial configuration parameters of the device; and determine that a module in-position pin on the port is in-position.
[0206] Optionally, the application type includes media type information and media interface information; the processing unit is specifically used to determine the application type of the optical module based on the media type information and media interface information of the optical module; and determine the target configuration parameters of the device under the application type based on the application type of the optical module.
[0207] For a more detailed description of the acquisition unit 1401 and the processing unit 1402, please refer to Figure 3 The relevant descriptions in the method embodiment shown are directly obtained and will not be repeated here.
[0208] Based on the same technical concept, the present application also provides a computing device, such as Fig.15 As shown, the computing device 1500 includes at least one processor 1501 and a memory 1502 connected to the at least one processor. The specific connection medium between the processor 1501 and the memory 1502 is not limited in the present application. Fig.15 For example, the processor 1501 and the memory 1502 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0209] In the present application, the memory 1502 stores instructions that can be executed by at least one processor 1501. The at least one processor 1501 can execute the steps included in the aforementioned parameter configuration method by executing the instructions stored in the memory 1502.
[0210] Among them, the processor 1501 is the control center of the computing device, and can use various interfaces and lines to connect various parts of the computing device, and realize parameter configuration by running or executing instructions stored in the memory 1502 and calling data stored in the memory 1502. Optionally, the processor 1501 may include one or more processing units, and the processor 1501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes the issuance of instructions. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1501. In some embodiments, the processor 1501 and the memory 1502 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.
[0211] Processor 1501 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps and logic block diagrams disclosed in this application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the parameter configuration method can be directly embodied as a hardware processor execution, or a combination of hardware and software modules in the processor.
[0212] The memory 1502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1502 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read only memory (PROM), read only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, disk, optical disk, etc. The memory 1502 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this. The memory 1502 in the present application can also be a circuit or any other device that can realize the storage function, used to store program instructions and / or data.
[0213] Based on the same technical concept, the present application also provides a computer-readable storage medium, which stores a computer program executable by a computing device. When the program runs on the computing device, the computing device executes the steps of the above-mentioned parameter configuration method.
[0214] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0215] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0216] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0217] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0218] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A parameter configuration method, characterized in that: Applicable to a device for signal transmission via an optical module, the method comprising: Acquiring module information of the optical module; Determine whether the optical module is a linear direct-drive LPO optical module according to the module type indication information in the module information; If the optical module is an LPO optical module, determining target configuration parameters of the device under the application type according to the application type in the module information; The device is configured according to target configuration parameters of the device under the application type.
2. The method according to claim 1, characterized in that The device is connected to the optical module via a port; After configuring the device according to the configuration parameters of the device under the application type, the method further includes: Obtaining a port calibration value of the port; Determine, according to the parameter adjustment information in the module information, whether the configuration parameters of the optical module can be set by a device; if the configuration parameters can be set by a device, then: Determining, according to a preset correspondence between the port calibration value and the configuration parameter of the optical module, a target configuration parameter of the optical module corresponding to the port calibration value of the port; The optical module is configured according to target configuration parameters of the optical module.
3. The method according to claim 2, characterized in that Configuring the optical module according to the target configuration parameters of the optical module includes: Writing target configuration parameters of the optical module into registers of the optical module; A parameter configuration effectiveness command is issued to the optical module; the optical module is used to configure the optical module through the target configuration parameters of the optical module stored in the register, or to configure the optical module through the target configuration parameters of the optical module stored in the register and the associated configuration parameters of the target configuration parameters of the optical module.
4. The method according to claim 2, characterized in that The module information also includes the currently effective configuration parameters of the optical module and the maximum parameter adjustment range of the optical module; Configuring the optical module according to the target configuration parameters of the optical module includes: Determining that a target configuration parameter of the optical module is within a maximum parameter adjustment range of the optical module; Determining whether the currently effective configuration parameters of the optical module are consistent with the target configuration parameters of the optical module; If they are inconsistent, the optical module is configured according to the target configuration parameters of the optical module.
5. The method according to any one of claims 1 to 4, characterized in that: Before obtaining the module information of the optical module, the method further includes: Controlling the optical module to be in a low power consumption mode; After configuring the device according to the target configuration parameters of the device under the application type, the method further includes: The optical module is controlled to be in working mode.
6. The method according to any one of claims 1 to 4, characterized in that: Before obtaining the module information of the optical module, the method further includes: Initializing the port of the device connected to the optical module according to preset initial configuration parameters of the device; It is determined that the module presence pin on the port is in the presence state.
7. The method according to any one of claims 1 to 4, characterized in that: The application type includes media type information and media interface information; The determining, according to the application type in the module information, target configuration parameters of the device under the application type includes: Determining the application type of the optical module according to the media type information and the media interface information of the optical module; According to the application type of the optical module, target configuration parameters of the device under the application type are determined.
8. A parameter configuration device, characterized in that: The parameter configuration device is arranged in a device for performing signal transmission with the optical module, and includes: An acquisition unit, used for acquiring module information of the optical module; A processing unit is used to determine whether the optical module is a linear direct-drive LPO optical module according to the module type indication information in the module information; if the optical module is an LPO optical module, determine the target configuration parameters of the device under the application type according to the application type in the module information; and configure the device according to the target configuration parameters of the device under the application type.
9. A computing device, characterized in that The method comprises at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a program, and when the program is run on a computer, the computer is enabled to implement the method according to any one of claims 1 to 7.