A method and apparatus for configuring an optical module supporting multiple working modes
By storing general function configuration parameters and interface configuration parameters separately, and dividing the interface configuration parameters into multiple files, the problem that the optical module configuration method cannot support multiple optional modes is solved, thus realizing flexible configuration and cost reduction of optical modules.
Patent Information
- Application Number
- CN202310404180.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2043-04-14
AI Technical Summary
Existing optical module configuration methods cannot support configuration requirements under multiple optional modes, resulting in a large number of product models, a large workload for maintenance, and high costs.
General function configuration parameters and interface configuration parameters are stored separately, and the interface configuration parameters are divided into multiple configuration files. The target interface configuration parameters are selected from the corresponding configuration files according to the working mode requirements of the optical module, and a complete configuration file is generated and loaded into the DSP.
By storing parameters separately, storage space is saved, dependence on high-capacity MCUs is reduced, flexible configuration of multiple working modes of optical modules is achieved, and production costs are reduced.
Smart Images

Figure CN116582426B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of optical communication technology, in particular to a configuration method and device of an optical module supporting multiple working modes. BACKGROUND
[0002] With the maturity of the 10G PON (Passive Optical Network) industry, the standardization of the new generation of 50G PON optical access technology is steadily advancing. The industry chain partners including operators, equipment manufacturers and device manufacturers have successively developed 50G PON related equipment prototypes and optical module samples based on the ITU-T G.9804.3 international standard. The uplink and downlink optical signals use NRZ modulation format, and the signal modulation format of the electrical interface is not mandatory defined. The market of the new generation of higher speed 25G / 50G PON is expected to start in 2024, and small-scale commercial use will start in 2025.
[0003] In the development process of PON technology, the new generation of PON must be backward compatible with the original fiber network and must support coexistence with the old low-speed PON. Therefore, PON equipment manufacturers generally require that the port density on the new 50G PON single board be the same as the old PON to achieve smooth upgrade of PON equipment. For example, if the original 10G PON OLT (Optical Line Terminal) single board supports 16-port 10G OLT optical modules, then the 50G PON OLT single board must also support 16-port 50G OLT optical modules. In this way, in the process of upgrading from 10G PON to 50G PON, the number of fiber tails does not change, and the original fiber tails can be directly pulled out from the 10G OLT port and reinserted one by one into the 50G OLT optical module, which can minimize the impact on fiber wiring. Otherwise, if the 50G OLT single board has only 8 ports, in the upgrading process of replacing the 16-port 10G OLT single board with an 8-port 50G OLT single board, there will be 8 remaining fiber tails, which must be rewired to other places, and the services and customers on the 8 fiber tails must also be switched to other places, greatly increasing the complexity and cost of the entire upgrading process. Therefore, the new generation of 50G PON optical modules must adopt a small form factor to reduce the number of signal interfaces, so as to achieve the same port density as the 10G PON.
[0004] For the electrical interface of the 50G PON optical module, if the 50G NRZ (Non-return-to-zero) optical interface is first converted into an electrical signal and then converted into two 25G NRZ electrical signals, the wiring data on the PCB will be at least doubled compared to the old PON optical module, thereby causing difficulties in PCB wiring and increasing the cost. Especially on the OLT single board, the difficulty of high-speed design caused by the doubling of the number of PCB wiring is greater.
[0005] In order to reduce the number of signal lines of the 50G PON optical module electrical interface, 50G NRZ to PAM (Pulse Amplitude Modulation) high-order modulation format conversion or 50G NRZ to 50G NRZ conversion can be used. For PAM high-order modulation format, multiple information contents can be carried in each bit time, so that the same information content can be transmitted at a lower bit rate. For example, PAM4 can carry 2 information contents in each bit time, so that the original 50G NRZ information content can be carried by 25GB PAM4 or 16.5888GB PAM8. Through PAM or other types of high-order modulation format, the information content carried by 50G NRZ can be carried by the same 1-way differential line as the old PON, thereby further reducing the number, difficulty and cost of wiring on the OLT single board.
[0006] In order to meet the different needs of different equipment manufacturers for the electrical interface of the 50G PON optical module, reduce the cost of the optical module, DSP (Digital Signal Processor) technology will be used in the 50G PON optical module. For optical modules using DSP, not only can they support NRZ to PAM high-order modulation format conversion, but also need to meet the requirements of the new generation of PON, i.e. direct transmission using PAM4 format or implementation of other types of data modulation format conversion. Therefore, the optical module needs to support multiple optional operating modes. However, in the conventional DSP optical module, the non-volatile memory of the MCU (Microcontroller Unit) usually only stores one complete DSP configuration file, which contains all the functions of DSP transmission and reception. When the optical module is powered on, the MCU loads this configuration file into the DSP chip through the DSP configuration interface, and then completes the initialization and function configuration of the DSP. After that, the DSP chip can work normally. This method obviously cannot support the configuration requirements of multiple optional modes.
[0007] Therefore, overcoming the defects of the prior art is a problem that urgently needs to be solved in the technical field. SUMMARY
[0008] The technical problem solved by the present application is that the configuration mode in the prior art cannot support the configuration requirements in multiple optional modes.
[0009] The present application adopts the following technical solutions:
[0010] In a first aspect, the present application provides a method for configuring an optical module supporting multiple working modes, comprising:
[0011] storing the general function configuration parameters and the interface configuration parameters separately, and dividing the interface configuration parameters into multiple configuration files for storage; wherein, the interface configuration parameters of the same category under the same interface are stored as one configuration file;
[0012] when configuring the optical module, selecting corresponding target interface configuration parameters from the corresponding configuration files according to the working mode requirements of the optical module;
[0013] combining all the selected target interface configuration parameters with the general function configuration parameters to generate a complete configuration file, and loading the complete configuration file to a DSP, thereby realizing the configuration of the optical module.
[0014] Preferably, the step of selecting corresponding target interface configuration parameters from the corresponding configuration files according to the working mode requirements of the optical module specifically comprises:
[0015] finding the corresponding index number according to each configuration requirement item in the working mode requirements;
[0016] obtaining the corresponding interface configuration parameters according to the index number;
[0017] selecting the target interface configuration parameters in each configuration file that match the configuration requirements according to the requirement values of each configuration item.
[0018] Preferably, the step of dividing the interface configuration parameters into multiple configuration files for storage specifically comprises:
[0019] storing the line rate configuration parameters of the RX optical interface in a first RX optical side configuration file;
[0020] storing the modulation format configuration parameters of the RX optical interface in a second RX optical side configuration file;
[0021] storing the line rate configuration parameters of the TX optical interface in a first TX optical side configuration file;
[0022] storing the modulation format configuration parameters of the TX optical interface in a second TX optical side configuration file;
[0023] The line rate configuration parameters of the RX electrical interface are stored in a first RX electrical side configuration file.
[0024] The modulation format configuration parameters of the RX electrical interface are stored in a second RX electrical side configuration file.
[0025] The line rate configuration parameters of the TX electrical interface are stored in a first TX electrical side configuration file.
[0026] The modulation format configuration parameters of the TX electrical interface are stored in a second TX electrical side configuration file.
[0027] Preferably, the line rate configuration parameters include at least one of configuration parameters at 10 Gbps, 25 Gbps, and 50 Gbps.
[0028] Preferably, the modulation format configuration parameters include at least one of configuration parameters at NRZ format, PAM4 format, and PAM8 format.
[0029] Preferably, the interface configuration parameters are divided into multiple configuration files for storage, and the method further includes:
[0030] The equalization method configuration parameters of the RX optical interface are stored in a third RX optical side configuration file.
[0031] The equalization mode configuration parameters of the RX optical interface are stored in a fourth RX optical side configuration file.
[0032] The equalization method configuration parameters of the TX optical interface are stored in a third TX optical side configuration file.
[0033] The equalization mode configuration parameters of the TX optical interface are stored in a fourth TX optical side configuration file.
[0034] The equalization method configuration parameters of the RX electrical interface are stored in a third RX electrical side configuration file.
[0035] The equalization mode configuration parameters of the RX electrical interface are stored in a fourth RX electrical side configuration file.
[0036] The equalization method configuration parameters of the TX electrical interface are stored in a third TX electrical side configuration file.
[0037] The equalization mode configuration parameters of the TX electrical interface are stored in a fourth TX electrical side configuration file.
[0038] Preferably, the equalization method configuration parameters include at least one of configuration parameters at FIR equalization, CTLE equalization, DFE equalization, and FFE equalization.
[0039] Preferably, the balancing mode configuration parameters include configuration parameters for automatic mode and configuration parameters for manual mode.
[0040] Secondly, the present invention also provides a method for configuring an optical module that supports multiple operating modes, including:
[0041] Check whether the optical module supports multiple working modes through the management interface;
[0042] If the optical module supports multiple working modes, a working mode requirement is sent to the optical module so that the optical module can select the corresponding target interface configuration parameters from the corresponding configuration file according to the working mode requirement, combine all the selected target interface configuration parameters with the general function configuration parameters to generate a complete configuration file, and load the complete configuration file into the DSP to realize the configuration of the optical module.
[0043] If the optical module does not support multiple operating modes, a default mode message is sent to the optical module so that the optical module can load the default product software in the memory according to the default mode message.
[0044] Thirdly, the present invention also provides an optical module configuration device supporting multiple operating modes, for implementing the optical module configuration method supporting multiple operating modes described in the first or second aspect, wherein the optical module includes:
[0045] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the processor for performing the optical module configuration method supporting multiple operating modes as described in the first or second aspect.
[0046] Thirdly, the present invention also provides a non-volatile computer storage medium storing computer-executable instructions that are executed by one or more processors to perform the optical module configuration method supporting multiple operating modes described in the first or second aspect.
[0047] This invention separates the general function configuration parameters from the interface configuration parameters, stores different types of interface configuration parameters under different interfaces, and finally generates a complete configuration file by combining the target interface configuration parameters with the general function configuration parameters. This avoids the repeated storage of the same type of parameters, thereby greatly saving storage space. As a result, it eliminates the need for a high-cost, large-capacity MCU, and enables flexible configuration of multiple working modes of optical modules on demand. Attached Figure Description
[0048] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0049] Figure 1 This is a flowchart illustrating a method for configuring an optical module that supports multiple working modes, as provided in an embodiment of the present invention.
[0050] Figure 2 This is a schematic diagram illustrating a working mode corresponding to a DSP configuration file storage method provided in an embodiment of the present invention;
[0051] Figure 3 This is a flowchart illustrating another optical module configuration method supporting multiple working modes provided by an embodiment of the present invention;
[0052] Figure 4 This is a flowchart illustrating another optical module configuration method supporting multiple working modes provided by an embodiment of the present invention;
[0053] Figure 5 This is a schematic diagram illustrating the multiple operating mode requirements of an optical module in an optical module configuration method supporting multiple operating modes provided by an embodiment of the present invention;
[0054] Figure 6 This is a schematic diagram illustrating the separate storage of configuration parameters for each interface in an optical module configuration method supporting multiple working modes provided by an embodiment of the present invention.
[0055] Figure 7 This is a schematic diagram illustrating the working mode requirements of an optical module in an optical module configuration method supporting multiple working modes provided by an embodiment of the present invention;
[0056] Figure 8 This is a schematic diagram of the index numbers corresponding to the working mode requirements in a method for configuring an optical module that supports multiple working modes, provided by an embodiment of the present invention.
[0057] Figure 9 This is an interactive schematic diagram of an optical module configuration method supporting multiple working modes provided by an embodiment of the present invention;
[0058] Figure 10 This is a schematic diagram of the optical module architecture provided in an embodiment of the present invention;
[0059] Figure 11 This is an interactive schematic diagram of another optical module configuration method supporting multiple working modes provided by an embodiment of the present invention;
[0060] Figure 12This is a schematic diagram of the architecture of an optical module configuration device that supports multiple working modes, provided by an embodiment of the present invention. Detailed Implementation
[0061] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0062] To make the technical solution of the present invention clearer, the application scenarios of the present invention are also described here. The present invention is for optical modules that are already able to support multiple working modes in terms of hardware, that is, they already have the hardware support required for different working modes. The present invention uses the method described in the present invention to provide the software support required for different working modes in the optical module.
[0063] Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0064] Example 1:
[0065] In existing technologies, conventional optical modules store only one configuration file. This approach obviously cannot support configuration requirements for multiple selectable modes, and different DSP functions need to be distinguished by different product models. This results in a large number of product models, a heavy maintenance workload, and fails to fully utilize the software reconfigurability flexibility of the DSP. While existing technologies can store multiple configuration files to meet configuration requirements for multiple selectable modes, using a complete configuration file for each operating mode would require a large storage space for the DSP's configuration files, necessitating the use of an MCU with large-capacity memory, which significantly increases production costs. To address this issue, Embodiment 1 of this invention provides an optical module configuration method that supports multiple operating modes, such as... Figure 1 As shown, it includes:
[0066] In step 201, the general function configuration parameters and interface configuration parameters are stored separately, and the interface configuration parameters are divided into multiple configuration files for storage; among them, the interface configuration parameters of the same category under the same interface are stored as one configuration file.
[0067] It should be noted that the execution subject of the method described in this embodiment is the optical module. The separate storage is merely a way of expressing the independence between them when reading files. In actual use, interface configuration parameters of different types under different interfaces can be stored in the same file, or they can be stored in different files. However, it must be ensured that interface configuration parameters of different types under different interfaces can be read separately when reading. Any storage method that enables interface configuration parameters of different types under different interfaces and general function configuration parameters to be read separately should be included within the protection scope of this invention.
[0068] The general function configuration parameters refer to parameters used for global DSP configuration, including one or more of the following: configuration clock configuration parameters, management interface configuration parameters, and general-purpose register configuration parameters. The interface configuration parameters refer to parameters used for configuring each interface, including one or more of the following: line rate configuration parameters, modulation format configuration parameters, equalization method configuration parameters, and equalization mode configuration parameters. One optional implementation method for dividing and storing the interface configuration parameters into multiple configuration files is as follows: classify them according to line rate and modulation format, and store the line rate configuration parameters and modulation format configuration parameters of each interface separately.
[0069] The interface includes at least one of an RX optical interface, a TX optical interface, an RX electrical interface, and a TX electrical interface; the line rate configuration parameters include at least one of line rate configuration parameters for 10Gbps, 25Gbps (in actual use, 25Gbps is an approximation, such as 24.88Gbps can also be considered as 25Gbps), and 50Gbps (in actual use, 50Gbps is an approximation, such as 49.766Gbps can also be considered as 50Gbps); the modulation format configuration parameters include at least one of the configuration parameters for NRZ format, PAM4 format, and PAM8 format or other higher-order modulation formats.
[0070] Multiple sets of configuration parameters for the same type of interface can be stored in the same configuration file, or different configuration files can be stored for different parameter values. For example, the line rate configuration parameters for the RX optical interface at 25Gbps and the line rate configuration parameters at 50Gbps can be stored in one configuration file. When reading, the line rate configuration parameter corresponding to one of the parameter values can be read.
[0071] In step 202, when configuring the optical module, the corresponding target interface configuration parameters are selected from the corresponding configuration file according to the working mode requirements of the optical module.
[0072] In step 203, all selected target interface configuration parameters are combined with the general function configuration parameters to generate a complete configuration file, which is then loaded into the DSP to configure the optical module.
[0073] An optional implementation of combining all selected target interface configuration parameters with the general function configuration parameters to generate a complete configuration file is as follows: sort the configuration subfiles containing all target interface configuration parameters according to their index numbers and then concatenate their contents to obtain a complete configuration file.
[0074] If a conventional operating mode corresponds to one DSP configuration file storage method, since the optical and electrical interfaces of the DSP have different rates and modulation formats, each combination of optical and electrical interfaces requires a corresponding DSP configuration file stored in the MCU's memory. For the current 50G PON optical module's combination of optical and electrical interface rates and modulation formats, such as... Figure 2 As shown, even in the simplest case, there are at least 6 configuration files. With any combination, this can exceed 12, and within each configuration file, some identical content repeatedly occupies memory space. For example, in configurations 1 and 4, the optical side interface contains downlink 50G NRZ and TX electrical side 25G NRZ parameter data. This part of the parameter is stored twice in memory, thus repeatedly occupying storage space.
[0075] Currently, each DSP profile has a capacity of approximately 120KB. Therefore, 6 profiles would require 720KB of storage space, and 12 profiles would require 1440KB of storage space, far exceeding the storage capacity of a conventional MCU (the conventional maximum is 512KB). More expensive MCU chips must be selected, or dedicated external memory chips must be used, which would occupy more PCB space and increase costs and development difficulty.
[0076] Compared with existing technologies, this embodiment stores general function configuration parameters and interface configuration parameters separately, and stores different types of interface configuration parameters under different interfaces. Finally, it generates a complete configuration file by combining the target interface configuration parameters with the general function configuration parameters, thereby avoiding the repeated storage of the same type of parameters, thus greatly saving storage space. As a result, it can realize the configuration of multiple working modes of optical modules without the need for high-cost, large-capacity MCUs.
[0077] In practical use, due to the separate storage of different types of interface configuration parameters, there are numerous configuration files. To facilitate management, this embodiment combines index numbers with the above embodiments, thereby providing the following preferred implementation method: based on the working mode requirements of the optical module, various corresponding configuration parameters are selected from the relevant configuration files, such as...Figure 3 As shown, it specifically includes:
[0078] In step 401, the corresponding index number is found according to each configuration requirement item in the working mode requirements.
[0079] In step 402, the corresponding interface configuration parameters are obtained according to the index number; wherein, a unique index number corresponds to the interface configuration parameters of a category of an interface, which is established by those skilled in the art when storing the configuration parameters.
[0080] In step 403, based on the configuration requirements of each configuration item, target interface configuration parameters matching the configuration requirements are selected from each configuration file. Specifically, based on the parameter value requirements for a certain category of interface configuration parameters, the target interface configuration parameters in the corresponding configuration file are selected. For example, the line rate configuration parameters for the RX optical interface at 25Gbps and the line rate configuration parameters for the RX optical interface at 50Gbps are stored as interface configuration parameters of the same category under the same interface, each corresponding to a unique index number. After obtaining the interface configuration parameters of this category through the index number, the corresponding interface configuration parameters for 25Gbps or 50Gbps rates are selected from them according to the parameter value requirements; these are the target interface configuration parameters.
[0081] In practical applications, the interface configuration parameters include line rate configuration parameters and modulation format configuration parameters. An optional implementation method is provided here, whereby the interface configuration parameters are divided into multiple configuration files for storage, specifically including:
[0082] The line rate configuration parameters of the RX optical interface are stored in the first RX optical side configuration file; the modulation format configuration parameters of the RX optical interface are stored in the second RX optical side configuration file; the line rate configuration parameters of the TX optical interface are stored in the first TX optical side configuration file; and the modulation format configuration parameters of the TX optical interface are stored in the second TX optical side configuration file.
[0083] The line rate configuration parameters of the RX electrical interface are stored in the first RX electrical side configuration file; the modulation format configuration parameters of the RX electrical interface are stored in the second RX electrical side configuration file; the line rate configuration parameters of the TX electrical interface are stored in the first TX electrical side configuration file; and the modulation format configuration parameters of the TX electrical interface are stored in the second TX electrical side configuration file.
[0084] The interface configuration parameters may also include equalization method configuration parameters and equalization mode configuration parameters. The equalization method configuration parameters include at least one of the following: configuration parameters for FIR (Finite Impulse Response) equalization, configuration parameters for CTLE (Continuous Time Linear Equalizer) equalization, configuration parameters for DFE (Decision Feedback Equalization) equalization, and configuration parameters for FFE (FeedForward Equalization) equalization. The equalization mode configuration parameters include configuration parameters for automatic and manual operation.
[0085] In this case, dividing the interface configuration parameters into multiple configuration files for storage also includes:
[0086] The equalization method configuration parameters of the RX optical interface are stored in the third RX optical side configuration file; the equalization mode configuration parameters of the RX optical interface are stored in the fourth RX optical side configuration file; the equalization method configuration parameters of the TX optical interface are stored in the third TX optical side configuration file; and the equalization mode configuration parameters of the TX optical interface are stored in the fourth TX optical side configuration file.
[0087] The equalization method configuration parameters of the RX electrical interface are stored in the third RX electrical side configuration file; the equalization mode configuration parameters of the RX electrical interface are stored in the fourth RX electrical side configuration file; the equalization method configuration parameters of the TX electrical interface are stored in the third TX electrical side configuration file; and the equalization mode configuration parameters of the TX electrical interface are stored in the fourth TX electrical side configuration file.
[0088] Example 2:
[0089] Based on the method described in Embodiment 1, this invention also provides a method for configuring optical modules that supports multiple working modes, in order to provide a relevant explanation from the perspective of communication equipment and to further analyze its design principles in depth.
[0090] This embodiment provides a method for configuring an optical module that supports multiple operating modes, such as... Figure 4 As shown, it includes:
[0091] In step 501, the management interface is used to query whether the optical module supports multiple operating modes. In this embodiment, the execution subject of the method is a communication device.
[0092] In step 502, if the optical module supports multiple working modes, a working mode requirement is sent to the optical module so that the optical module can select the corresponding target interface configuration parameters from the corresponding configuration file according to the working mode requirement, combine all the selected target interface configuration parameters with the general function configuration parameters to generate a complete configuration file, and load the complete configuration file into the DSP to realize the configuration of the optical module.
[0093] Specifically, the main CPU (Central Processing Unit) of the communication equipment board queries the PON optical module through the management interface to see if it supports multiple working modes. If multiple working modes are supported, the main CPU of the board sends the working mode requirements to the microprocessor (MCU) of the optical module. The MCU of the optical module selects the corresponding configuration parameters according to the working mode requirements. In actual use, the management interface can be an I2C (Inter Integrated Circuit) or MDIO (Management Data Input / Output) interface.
[0094] In step 503, if the optical module does not support multiple operating modes, a default mode message is sent to the optical module so that the optical module can load the default product software in the memory according to the default mode message. The default product software is pre-generated by those skilled in the art and stored in the memory of the optical module.
[0095] In some scenarios, it is also necessary to check whether the stored configuration file supports the working mode requirements of the optical module. Based on the above implementation methods, this embodiment also provides a preferred implementation method, specifically including:
[0096] Different parameters of the same category are stored in the same configuration file. For example, the line rate configuration parameters of the RX optical interface at 25Gbps and the line rate configuration parameters of the RX optical interface at 50Gbps are stored in the same configuration file as interface configuration parameters of the same category under the same interface.
[0097] When the main CPU of the single board issues a working mode requirement to the microprocessor (MCU) of the optical module, the MCU of the optical module obtains the corresponding limited support items and the requirement value of the limited support items from the working mode requirement. The limited support items can be understood as the configuration items necessary for the working mode requirement.
[0098] In the configuration file that matches the category of the defined support item, the range of the defined support item supported by the configuration file is found. This range is determined by the minimum and maximum values of the defined support item supported by the configuration file. In a preferred embodiment, the configuration values of the corresponding parameters can be stored in the configuration file in ascending order, so that the corresponding maximum and minimum values can be quickly found when accessing the configuration file.
[0099] The system determines whether the required value of the specified support item is within the specified range. If it is, the existing configuration file can support the working mode requirements of the optical module, thereby generating a complete configuration file for configuring the optical module. If it is not supported, the current configuration file does not support the working mode requirements, and the optical module configuration fails. Because this embodiment stores configuration files of different categories separately, the search range for the specified support item can be narrowed.
[0100] To make the advantages of this embodiment clearer, this embodiment will be compared with the prior art below. In the prior art, because multiple categories of configuration parameters are mixed and stored in the same configuration file, and a category of configuration parameters only stores one corresponding parameter value in a configuration file, for example, in the prior art, the line rate configuration parameters of the RX optical interface at 25Gbps and the line rate configuration parameters of the RX optical interface at 50Gbps are stored in two separate configuration files. If it is necessary to obtain whether all the stored configuration files support the required value of a certain limited support item, it is necessary to search and compare them sequentially in all the stored files before it can be finally determined whether the required value of the limited support item can be supported.
[0101] In this implementation, since different parameters of the same category are stored in the same configuration file, it is possible to determine whether the required value of the limited support item can be supported by a single configuration file that matches the limited support item category, thereby reducing the time required to determine whether the working mode is supported and improving configuration efficiency.
[0102] Example 3:
[0103] Based on the methods described in Embodiments 1 and 2, this invention combines specific application scenarios and uses technical descriptions in relevant scenarios to illustrate the implementation process of the features of this invention in those scenarios.
[0104] In the application scenario of this embodiment, an optical module supports multiple operating modes in its hardware configuration. For example, the DSP's RX and TX electrical interfaces can support two different data rates: 24.88Gbps and 49.766Gbps. Both the RX and TX electrical interfaces support NRZ and PAM4 modulation formats. On the DSP's RX electrical interface side, two equalization methods, CTLE and FFE, can be selected, and the equalization mode can be automatically or manually adjusted. On the DSP's TX electrical interface side, the FIR equalization method can be configured.
[0105] Meanwhile, the DSP's TX optical interface supports a data rate of 49.766Gbps, while the RX optical interface supports two different data rates: 24.88Gbps and 49.766Gbps. Both the RX and TX optical interfaces support NRZ and PAM4 modulation formats. The DSP's RX optical interface supports both DFE and FFE equalization methods. The DSP's TX optical interface can be configured with FIR equalization.
[0106] Based on the aforementioned requirements, the following was formed: Figure 5 The list of DSP operating mode requirements is shown, where Y represents the existence of the requirement and / represents the non-existence of the requirement. To flexibly support combinations of various DSP operating modes, multiple different configuration sub-files are created in the software (this can be understood as in Example 1, where general function configuration parameters and interface configuration parameters for different types of interfaces are stored in corresponding configuration sub-files, each with a unique index number). Figure 6 As shown, based on the functional combination of each configuration sub-file, the optical module can flexibly support various working modes, and the working mode can be updated as needed, effectively reducing the storage space occupied by the MCU.
[0107] Figure 6Each configuration sub-file is stored in the memory of the MCU inside the optical module, and the same type of interface configuration parameters corresponding to different parameter values are stored in the same configuration sub-file. Among them, the DSP general function configuration sub-file 18 corresponding to index #S can be understood as the general function configuration parameter in Embodiment 1, and the DSP RX optical side rate configuration sub-file 1 corresponding to index #A to the DSP TX electrical side equalization mode configuration sub-file 17 corresponding to index #R correspond to the interface configuration parameters of each type under each interface. Each configuration parameter can be stored in the configuration sub-file in various forms such as XML and TXT formats. This invention does not limit this. In actual use, a single file can also be used to store different types of interface configuration parameters in the same configuration file by format limitation, but the interface configuration parameters with corresponding parameter values can be extracted separately. For example, the interface, category, and parameter value can be distinguished by interface tag, category tag, and tag value, so that the interface configuration parameters of different types are stored under different tags in the same XML. When reading, the interface configuration parameters of the corresponding interface, category, and parameter value can be read by tag.
[0108] For example, when the main control CPU of a communication equipment board needs to configure the optical module as follows: Figure 7 In the operating mode shown, after the MCU in the optical module receives the new functional requirements (i.e., the operating mode requirements in Embodiments 1 and 2) sent by the main control CPU of the single board via I2C, it parses the functions in the table above and finds the corresponding configuration file index number for each function, such as... Figure 8 As shown, the microprocessor in the optical module combines the #S universal configuration file with #J, #K, #A, #B, #C, #N, #P, #E, #F, #G, #D, and #H in a certain way to generate a complete configuration file new.bin. Then, the MCU loads new.bin into the DSP through the management and configuration interface (such as I2C, MDIO, etc.) and re-initializes the DSP software. In this way, the new working mode of the DSP can take effect.
[0109] Example 4:
[0110] Following the provision of optical module configuration methods supporting multiple operating modes as described in Embodiments 1, 2, and 3, this invention further provides an optical module configuration device supporting multiple operating modes. This is to elaborate on the implementation methods of the corresponding structures and functions in Embodiment 1 and to further analyze its design principles in detail. It should be noted that the methods in Embodiments 1, 2, and 3 are all applicable in this embodiment, and their methods will not be described again in this embodiment.
[0111] This embodiment provides an optical module configuration device supporting multiple working modes, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the processor to perform the optical module configuration method supporting multiple working modes described in Embodiment 1, Embodiment 2, or Embodiment 3.
[0112] In this embodiment, when the optical module configuration device with multiple operating modes executes the method described in Example 1, the device is an optical module; when the optical module configuration device with multiple operating modes executes the method described in Example 2, the device is a communication device. The optical module is inserted into the communication device to cooperate in completing the configuration of the optical module, such as... Figure 9 As shown.
[0113] like Figure 10 As shown, the optical module includes a PON optical component, a DSP chip, and a microprocessor (MCU), wherein the MCU contains a memory. The memory is used to store general function configuration parameters and interface configuration parameters separately, and the interface configuration parameters are divided into multiple configuration files for storage; wherein, interface configuration parameters of the same category under the same interface are stored as one configuration file.
[0114] The MCU is used to select the corresponding target interface configuration parameters from the corresponding configuration file according to the working mode requirements of the optical module when configuring the optical module; and to combine all the selected target interface configuration parameters with the general function configuration parameters to generate a complete configuration file, and load the complete configuration file into the DSP, thereby realizing the configuration of the optical module.
[0115] The method described in Example 2 is mainly executed by the main CPU of a single disk in the communication device, and the overall interaction process is as follows: Figure 11 As shown.
[0116] like Figure 12 The diagram shown is a schematic representation of an optical module configuration device with multiple operating modes according to an embodiment of the present invention. This optical module configuration device with multiple operating modes includes one or more processors 21 and a memory 22. Figure 12 Take a processor 21 as an example.
[0117] Processor 21 and memory 22 can be connected via a bus or other means. Figure 12 Taking the example of a connection between China and Israel via a bus.
[0118] The memory 22, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the optical module configuration method supporting multiple operating modes in Embodiment 1. The processor 21 executes the optical module configuration method supporting multiple operating modes by running the non-volatile software programs and instructions stored in the memory 22.
[0119] Memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 22 may optionally include memory remotely located relative to processor 21, which can be connected to processor 21 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0120] The program instructions / modules are stored in the memory 22. When executed by one or more processors 21, they execute the optical module configuration method supporting multiple working modes described in Embodiment 1.
[0121] It is worth noting that the information interaction and execution process between the modules and units in the above-mentioned device and system are based on the same concept as the processing method embodiment of the present invention. For details, please refer to the description in the method embodiment of the present invention, and will not be repeated here.
[0122] Those skilled in the art will understand that all or part of the steps in the various methods of the embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0123] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for configuring an optical module that supports multiple operating modes, characterized in that, include: General function configuration parameters and interface configuration parameters are stored separately, and interface configuration parameters are divided into multiple configuration files for storage; among them, interface configuration parameters of the same category under the same interface are stored as one configuration file; When configuring an optical module, select the corresponding target interface configuration parameters from the relevant configuration file according to the working mode requirements of the optical module. The selected target interface configuration parameters are combined with the general function configuration parameters to generate a complete configuration file, which is then loaded into the DSP to configure the optical module. The step of selecting the corresponding target interface configuration parameters from the relevant configuration files according to the working mode requirements of the optical module specifically includes: finding the corresponding index number according to each configuration requirement item in the working mode requirements; obtaining the corresponding interface configuration parameters according to the index number; and selecting the target interface configuration parameters that match the configuration requirements in each configuration file according to the requirement value of each configuration item.
2. The optical module configuration method supporting multiple working modes according to claim 1, characterized in that, The step of dividing the interface configuration parameters into multiple configuration files for storage specifically includes: The line rate configuration parameters of the RX optical interface are stored in the first RX optical side configuration file; The modulation format configuration parameters of the RX optical interface are stored in the second RX optical side configuration file; The line rate configuration parameters of the TX optical interface are stored in the first TX optical side configuration file; The modulation format configuration parameters of the TX optical interface are stored in the second TX optical side configuration file; Store the line rate configuration parameters of the RX electrical interface in the first RX electrical side configuration file; The modulation format configuration parameters of the RX electrical interface are stored in the second RX electrical side configuration file; Store the line rate configuration parameters of the TX electrical interface in the first TX electrical side configuration file; The modulation format configuration parameters of the TX electrical interface are stored in the second TX electrical side configuration file.
3. The optical module configuration method supporting multiple working modes according to claim 2, characterized in that, The line rate configuration parameters include at least one of the following: configuration parameters for 10Gbps, 25Gbps, and 50Gbps.
4. The optical module configuration method supporting multiple working modes according to claim 2, characterized in that, The modulation format configuration parameters include at least one of the following: configuration parameters for NRZ format, configuration parameters for PAM4 format, and configuration parameters for PAM8 format.
5. The optical module configuration method supporting multiple working modes according to claim 2, characterized in that, The method of dividing the interface configuration parameters into multiple configuration files for storage also includes: The equalization method configuration parameters of the RX optical interface are stored in the third RX optical side configuration file; The equalization mode configuration parameters of the RX optical interface are stored in the fourth RX optical side configuration file; The equalization method configuration parameters of the TX optical interface are stored in the third TX optical side configuration file; The equalization mode configuration parameters of the TX optical interface are stored in the fourth TX optical side configuration file; The equalization method configuration parameters of the RX electrical interface are stored in the third RX electrical side configuration file; The equalization mode configuration parameters of the RX electrical interface are stored in the fourth RX electrical side configuration file; The equalization method configuration parameters of the TX electrical interface are stored in the third TX electrical side configuration file; The equalization mode configuration parameters of the TX electrical interface are stored in the fourth TX electrical side configuration file.
6. The optical module configuration method supporting multiple working modes according to claim 5, characterized in that, The equalization method configuration parameters include at least one of the following: configuration parameters for FIR equalization, configuration parameters for CTLE equalization, configuration parameters for DFE equalization, and configuration parameters for FFE equalization.
7. The optical module configuration method supporting multiple working modes according to claim 5, characterized in that, The equalization mode configuration parameters include configuration parameters for automatic mode and configuration parameters for manual mode.
8. A method for configuring an optical module that supports multiple operating modes, characterized in that, include: Check whether the optical module supports multiple working modes through the management interface; If the optical module supports multiple working modes, a working mode requirement is sent to the optical module so that the optical module can select the corresponding target interface configuration parameters from the corresponding configuration file according to the working mode requirement, combine all the selected target interface configuration parameters with the general function configuration parameters to generate a complete configuration file, and load the complete configuration file into the DSP to realize the configuration of the optical module. If the optical module does not support multiple working modes, a default mode message is sent to the optical module so that the optical module can load the default product software in the memory according to the default mode message; Specifically, the optical module selects the corresponding target interface configuration parameters from the corresponding configuration file according to the working mode requirements. This includes: finding the corresponding index number according to each configuration requirement item in the working mode requirements; obtaining the corresponding interface configuration parameters according to the index number; and selecting the target interface configuration parameters that match the configuration requirements in each configuration file according to the requirement value of each configuration item.
9. An optical module configuration device supporting multiple operating modes, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the processor for performing the optical module configuration method supporting multiple operating modes according to any one of claims 1-7 or the optical module configuration method supporting multiple operating modes according to claim 8.
Citation Information
Patent Citations
DSP firmware loading circuit and method and optical module
CN111240725A
Simulation tool configuration file automatic generation method and device for signal system testing
CN113253708A