Optical signal-to-noise ratio equalization model construction method, system and device, and storage medium
By constructing an optical signal-to-noise ratio equalization model and using machine learning to adjust WSS parameters, the problem of uneven signal quality in multi-band optical communication systems is solved, higher rate and longer distance data transmission is achieved, and the signal quality of the system is significantly improved. quality and capacity.
Patent Information
- Application Number
- CN202411031158.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-30
AI Technical Summary
In multi-band optical communication systems, due to the stimulated Raman scattering effect, the power of short-wavelength channels is transferred to long-wavelength channels, causing the system gain flatness to deteriorate, affecting channel capacity and signal quality. Traditional channel power adjustment is not enough to ensure all The signal quality of the channel reaches the expected level.
By building an optical signal-to-noise ratio equalization model, using machine learning pre-training models, freezing weight parameters for reverse training, determining the optimal WSS parameter set, and calculating the target average absolute error based on the real optical signal-to-noise ratio and expected optical signal-to-noise ratio, Generate an optical signal-to-noise ratio equalization model and adjust WSS parameters to achieve optical signal-to-noise ratio equalization.
It effectively improves the signal quality during the transmission process, ensures that the signal quality of all channels reaches the desired level, significantly increases the maximum capacity of the system, and reduces the time and cost of data transmission.
Smart Images

Figure CN118842518A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical communication technology, specifically to a method, system, device, and storage medium for constructing an optical signal-to-noise ratio equalization model. Background Art
[0002] In multi-band systems, due to stimulated Raman scattering (SRS), power from short-wavelength channels gradually shifts to long-wavelength channels, and this power shift accumulates continuously in the link. As this cumulative effect intensifies, the system's gain flatness deteriorates significantly, severely impacting overall system performance. Therefore, to meet the rapidly increasing demands of communication traffic, extending the band has become an effective way to improve channel capacity. To ensure signal quality during transmission, optical filters are typically used to reduce the impact of ASE (Amplified Spontaneous Emission) on the output power of EDFA (Erbium-Doped Fiber Amplifier), thereby improving system stability and performance. However, since optical filters are optimized for specific wavelength ranges, they may not match the EDFA output wavelength, resulting in poor filtering performance.
[0003] In related technologies, machine learning methods are used to learn and set the attenuation of the WSS (Wavelength Selective Switch) to adjust the output power of each channel, thereby avoiding power differences between wavelengths during transmission. However, relying solely on channel power adjustment is insufficient to ensure that the signal quality of all channels reaches the desired level. Therefore, effectively improving signal quality during transmission is a pressing issue that needs to be addressed. Summary of the Invention
[0004] This application provides a method, system, device, and storage medium for constructing an optical signal-to-noise ratio equalization model, which can effectively improve signal quality during transmission.
[0005] In a first aspect, embodiments of this application provide a method for constructing an optical signal-to-noise ratio equalization model, comprising the following steps:
[0006] The target machine learning model is pre-trained based on the initial training set to obtain the initial model. The initial training set includes the expected optical signal-to-noise ratio and its corresponding WSS parameter set.
[0007] The weight parameters in the initial model are frozen, and the frozen model is back-trained to determine the optimal WSS parameter set.
[0008] Configure the optimal WSS parameter set into the actual network transmission link to determine the true optical signal-to-noise ratio;
[0009] Calculating a target mean absolute error based on the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio;
[0010] When the target mean absolute error is less than or equal to a preset mean absolute error threshold, an optical signal-to-noise ratio equalization model is generated to output target WSS parameters that can achieve optical signal-to-noise ratio equalization through the optical signal-to-noise ratio equalization model.
[0011] In combination with the first aspect, in one embodiment, after the step of calculating the target mean absolute error based on the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio, the method further includes:
[0012] When the target mean absolute error is greater than the mean absolute error threshold, adding the mapping relationship between the true optical signal-to-noise ratio and the optimal WSS parameter set as training data to the initial training set to form a target training set;
[0013] The weight parameters in the frozen model are unfrozen, and the target training set is used as input for retraining to obtain a new model, and the step of freezing the weight parameters in the initial model is performed based on the new model.
[0014] In conjunction with the first aspect, in one embodiment, the expected optical signal-to-noise ratio includes a plurality of expected optical signal-to-noise ratios. After the step of generating an optical signal-to-noise ratio equalization model when the target mean absolute error is less than or equal to a preset error threshold, the method further includes:
[0015] The step of freezing the weight parameters in the initial model is performed based on the optical signal-to-noise ratio equalization model corresponding to the next expected optical signal-to-noise ratio and the previous expected optical signal-to-noise ratio until the training of all expected optical signal-to-noise ratios is completed to generate a final optical signal-to-noise ratio equalization model.
[0016] In conjunction with the first aspect, in one embodiment, the reverse training of the frozen model to determine the optimal WSS parameter set includes:
[0017] Re-initialize a target WSS parameter set corresponding to the expected optical signal-to-noise ratio randomly;
[0018] Performing reverse training on the frozen model based on the target WSS parameter set, and adjusting the target WSS parameter set based on the reverse training result;
[0019] The model is trained backward based on the adjusted WSS parameter set until the mean absolute error between the predicted optical signal-to-noise ratio (OSNR) output by the model and the expected OSNR is minimized.
[0020] The WSS parameter set corresponding to the minimum mean absolute error is taken as the optimal WSS parameter set.
[0021] Secondly, embodiments of this application provide a system for constructing an optical signal-to-noise ratio equalization model, including:
[0022] a pre-training module for pre-training a target machine learning model based on an initial training set to obtain an initial model, wherein the initial training set includes an expected optical signal-to-noise ratio and its corresponding WSS parameter set;
[0023] The retraining module is used to freeze the weight parameters in the initial model and perform reverse training on the frozen model to determine the optimal WSS parameter set.
[0024] The determination module is used to configure the optimal WSS parameter set into the actual network transmission link in order to determine the true optical signal-to-noise ratio;
[0025] The calculation module is used to calculate the target mean absolute error based on the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio;
[0026] The module is used to generate an optical signal-to-noise ratio (WSS) equalization model when the target mean absolute error is less than or equal to a preset mean absolute error threshold, so as to output the target WSS parameters that can achieve optical signal-to-noise ratio equalization through the optical signal-to-noise ratio equalization model.
[0027] In conjunction with the second aspect, in one implementation, the construction module is further configured to add the mapping relationship between the real optical signal-to-noise ratio and the optimal WSS parameter set as training data to the initial training set when the target mean absolute error is greater than the mean absolute error threshold, so as to form the target training set.
[0028] The retraining module is also used to unfreeze the weight parameters in the frozen model, and retrain the model using the target training set as input to obtain a new model, and perform the step of freezing the weight parameters in the initial model based on the new model.
[0029] In conjunction with the second aspect, in one implementation, the expected optical signal-to-noise ratio includes multiple components, and the retraining module is further configured to:
[0030] The step of freezing the weight parameters in the initial model is performed based on the optical signal-to-noise ratio equalization model corresponding to the next expected optical signal-to-noise ratio and the previous expected optical signal-to-noise ratio until the training of all expected optical signal-to-noise ratios is completed to generate a final optical signal-to-noise ratio equalization model.
[0031] In conjunction with the second aspect, in one implementation, the retraining module is specifically used for:
[0032] Re-initialize a target WSS parameter set corresponding to the expected optical signal-to-noise ratio randomly;
[0033] Performing reverse training on the frozen model based on the target WSS parameter set, and adjusting the target WSS parameter set based on the reverse training result;
[0034] The model is trained backward based on the adjusted WSS parameter set until the mean absolute error between the predicted optical signal-to-noise ratio (OSNR) output by the model and the expected OSNR is minimized.
[0035] The WSS parameter set corresponding to the minimum mean absolute error is taken as the optimal WSS parameter set.
[0036] In a third aspect, an embodiment of the present application provides an optical signal-to-noise ratio equalization model construction device, which includes a processor, a memory, and an optical signal-to-noise ratio equalization model construction program stored in the memory and executable by the processor, wherein when the optical signal-to-noise ratio equalization model construction program is executed by the processor, the steps of the optical signal-to-noise ratio equalization model construction method as described above are implemented.
[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which is stored a program for constructing an optical signal-to-noise ratio equalization model. When the program for constructing an optical signal-to-noise ratio equalization model is executed by a processor, the steps of the aforementioned method for constructing an optical signal-to-noise ratio equalization model are implemented.
[0038] The beneficial effects of the technical solutions provided in this application include:
[0039] A target machine learning model is pre-trained using an initial training set including an expected optical signal-to-noise ratio (OSN) and its corresponding WSS parameter set to obtain an initial model. The weight parameters in the initial model are then frozen and reversely trained to determine an optimal WSS parameter set. The optimal WSS parameter set is then deployed in an actual network transmission link to determine the actual OSN ratio, and a target mean absolute error (MAE) is calculated based on the actual OSN ratio and the expected OSN ratio. When the target MAE is less than or equal to a MAE threshold, an OSN equalization model is generated, and the OSN equalization model outputs target WSS parameters that can achieve OSN equalization. Specifically, when the target WSS parameters are applied to the actual network transmission link, OSN equalization is achieved in the link, ensuring that the signal quality of all channels reaches the desired level. This effectively improves the signal quality during transmission, allowing the system to transmit data at a higher rate and over a longer distance, thereby significantly increasing the maximum transmission capacity of the system. Furthermore, the present application uses OSN as a signal quality adjustment indicator, which is more reliable and authentic than traditional power indicators. Attached Figure Description
[0040] Figure 1This is a flowchart illustrating an embodiment of the optical signal-to-noise ratio equalization model construction method of this application;
[0041] Figure 2 This is a schematic diagram of the multi-stage amplification and equalization device involved in the embodiments of this application;
[0042] Figure 3 This is a schematic diagram of the structure of the machine learning model involved in the embodiments of this application;
[0043] Figure 4 A schematic diagram of the functional modules of an embodiment of the optical signal-to-noise ratio equalization model construction system of this application;
[0044] Figure 5 This is a schematic diagram of the hardware structure of the optical signal-to-noise ratio equalization model construction device involved in the embodiments of this application. Detailed Implementation
[0045] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0046] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0047] In a first aspect, embodiments of this application provide a method for constructing an optical signal-to-noise ratio equalization model.
[0048] In one embodiment, reference is made to Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the optical signal-to-noise ratio equalization model construction method of this application. Figure 1 As shown, the method for constructing the optical signal-to-noise ratio equalization model includes:
[0049] Step S10: Pre-train the target machine learning model based on the initial training set to obtain the initial model. The initial training set includes the expected optical signal-to-noise ratio and its corresponding WSS parameter set.
[0050] For example, in this embodiment, Figure 2The multi-stage amplification and equalization device shown achieves optical signal-to-noise ratio (OSNR) equalization control. This device includes a wavelength selective switch (WSS) corresponding to a specific wavelength band, multiple continuous optical fibers, multiple erbium-doped fiber amplifiers (EDFAs), and an optical spectrometer (OSA) for acquiring the optical power spectrum of the EDFA outputs. Essentially, the M EDFA amplifiers compensate for signal attenuation during fiber optic link transmission; the wavelength selective switch (WSS) controls the attenuation input of each channel to ensure that the OSNR of each channel remains at a similar level; and the first EDFA after the WSS controls the power input to the fiber.
[0051] It should be understood that this embodiment can roughly capture channel feature information by constructing an initial model (Initial_model), and then continuously adjust the model parameters through multiple online iterations to gradually improve the accuracy of the model until the model performance meets the preset OSNR target.
[0052] A small initial dataset can be used to pre-train the target machine learning model to roughly capture channel feature information, thereby generating an initial model. In other words, the pre-trained initial model can roughly capture channel feature information. It should be noted that the target machine learning model can be an Artificial Neural Network (ANN), a Deep Neural Network (DNN), or other neural networks and deep learning models. The specific model type can be determined according to actual needs and is not limited here. For example, in subsequent embodiments, the preferred model is... Figure 3 The ANN shown is used as the target machine learning model. The target machine learning model is a fully connected network composed of an input layer, a hidden layer and an output layer. The length of the input layer can be preferably set to N, the length of the hidden layer can be preferably set to L*N and the length of the output layer can be preferably set to N, where N represents the number of channels and is a positive integer, and L represents the number of hidden layers and is a positive integer.
[0053] In this embodiment, the initial dataset includes the expected OSNR and its corresponding WSS parameter set. The WSS parameter set includes multiple WSS parameters, and the number of WSS parameters is the same as the number of channels. For example, if the number of channels is 51, then the WSS parameter set includes 51 WSS parameters. The WSS parameters include, but are not limited to, attenuation values. In addition, each WSS parameter corresponds to one expected OSNR. However, in order to achieve OSNR equalization, this embodiment sets the expected OSNR corresponding to WSS parameters located in the same WSS parameter set to be the same. In other words, although 51 WSS parameters correspond to 51 expected OSNRs, these 51 expected OSNRs are all the same, that is, one WSS parameter set corresponds to one expected OSNR.
[0054] Therefore, see Figure 3 As shown, in this embodiment, the WSS parameters in the initial training set are input into the hidden layer through the input layer for training, and the OSNR is output through the output layer until the training is completed and the initial model is generated.
[0055] Step S20: Freeze the weight parameters in the initial model and perform reverse training on the frozen model to determine the optimal WSS parameter set.
[0056] For example, in this embodiment, the internal weight parameters in the initial model are frozen first, and then the frozen initial model is reversely trained to minimize the mean absolute error (MAE) between the ANN output and the expected OSNR, and the input WSS parameters are continuously updated to find the optimal input (i.e., the optimal WSS parameter set) based on the mean absolute error (MAE).
[0057] Further, in one embodiment, freezing the weight parameters in the initial model and performing reverse training on the frozen model to determine the optimal WSS parameter set includes:
[0058] Re-initialize a target WSS parameter set corresponding to the expected optical signal-to-noise ratio randomly;
[0059] Performing reverse training on the frozen model based on the target WSS parameter set, and adjusting the target WSS parameter set based on the reverse training result;
[0060] The model is trained backward based on the adjusted WSS parameter set until the mean absolute error between the predicted optical signal-to-noise ratio (OSNR) output by the model and the expected OSNR is minimized.
[0061] The WSS parameter set corresponding to the minimum mean absolute error is taken as the optimal WSS parameter set.
[0062] As an example, in this embodiment, before training the initial model, its internal weight parameters are frozen, and then a target WSS parameter set is randomly initialized as input to perform reverse training on the frozen model. Based on the reverse training results, the WSS parameters in the target WSS parameter set are continuously updated and adjusted, and the model is continuously iterated and trained in reverse according to the adjusted WSS parameter set until the mean absolute error (MAE) between the predicted OSNR and the expected OSNR is minimized. Finally, the WSS parameter set that minimizes the mean absolute error (MAE) is used as the optimal input.
[0063] Step S30: Configure the optimal WSS parameter set into the actual network transmission link to determine the true optical signal-to-noise ratio.
[0064] As an example, in this embodiment, after the optimal WSS parameter set is determined, the WSS parameters in the optimal WSS parameter set can be low-pass filtered respectively, and the low-pass filtered WSS parameters can be configured into the corresponding actual network transmission link to measure the real OSNR corresponding to the optimal WSS parameter set.
[0065] Step S40: Calculate the target mean absolute error based on the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio.
[0066] As an example, in this embodiment, after the true OSNR corresponding to the optimal WSS parameter set is measured, the target mean absolute error (MAE) will be calculated based on the true OSNR and the expected OSNR to further measure the prediction performance of the model.
[0067] Step S50: When the target mean absolute error is less than or equal to the preset mean absolute error threshold, generate an optical signal-to-noise ratio equalization model, so as to output the target WSS parameters that can achieve optical signal-to-noise ratio equalization through the optical signal-to-noise ratio equalization model.
[0068] For example, it should be noted that the specific value setting of the mean absolute error threshold can be determined according to actual needs and is not limited here. In this embodiment, if the target mean absolute error (MAE) is less than or equal to the mean absolute error threshold, it means that the prediction effect of the current model is good, so as to achieve the expected performance target, and the iteration can be stopped to complete the model training, thereby generating an optical signal-to-noise ratio equalization model; and the optical signal-to-noise ratio equalization model can output the target WSS parameter that can achieve optical signal-to-noise ratio equalization. That is, when the target WSS parameter is applied to a real network transmission link, optical signal-to-noise ratio equalization in the link can be achieved to ensure that the signal quality of all channels reaches the expected level, that is, effectively improve the signal quality during the transmission process, and then allow the system to transmit data at a higher rate and longer distance, thereby significantly improving the maximum capacity of the system transmission; in addition, the present application uses optical signal-to-noise ratio as a signal quality adjustment indicator, which is more reliable and authentic than the traditional power indicator.
[0069] Furthermore, in one embodiment, after the step of calculating the target mean absolute error based on the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio, the method further includes:
[0070] When the target mean absolute error is greater than the mean absolute error threshold, adding the mapping relationship between the true optical signal-to-noise ratio and the optimal WSS parameter set as training data to the initial training set to form a target training set;
[0071] The weight parameters in the frozen model are unfrozen, and the target training set is used as input for retraining to obtain a new model, and the step of freezing the weight parameters in the initial model is performed based on the new model.
[0072] Exemplarily, in this embodiment, if the target mean absolute error (MAE) exceeds the mean absolute error threshold, indicating that the prediction effect of the model has not yet reached the expected performance target, the mapping relationship between the measured OSNR and the optimal WSS parameter set is added to the initial training set as training data to form a target training set; the weight parameters inside the model are unfrozen and re-trained online through the target training set to generate a new model (Online_model), and the new model is used to continue optimization from step S20 until the target mean absolute error (MAE) drops below the mean absolute error threshold. At this time, the iteration is stopped to complete the online training of the model to generate an online iterative model.
[0073] In this embodiment, data acquisition and model training can be completed in a loop iteration, so the goal can be achieved in less than 50 iterations. In contrast, the generation of traditional offline models requires the collection of a large amount of input and output data to build a training dataset, and the model can only be trained after all training data has been collected. If it wants to achieve a similar effect to the online iterative model, it needs at least several hundred sets of data. As can be seen, the training dataset in this embodiment is reduced from several hundred sets to several dozen sets, which can significantly reduce the cost of dataset construction and training time.
[0074] In summary, this embodiment continuously adjusts model parameters during iterative training, adds more effective data to the model, and establishes dynamic feedback until the model meets the preset performance target. This setting not only balances the power drift generated during transmission but also reduces time and training costs.
[0075] Further, in one embodiment, the expected optical signal-to-noise ratio includes multiple factors, and after the step of generating an optical signal-to-noise ratio equalization model when the target mean absolute error is less than or equal to a preset error threshold, the method further includes:
[0076] The step of freezing the weight parameters in the initial model is performed based on the optical signal-to-noise ratio equalization model corresponding to the next expected optical signal-to-noise ratio and the previous expected optical signal-to-noise ratio until the training of all expected optical signal-to-noise ratios is completed to generate a final optical signal-to-noise ratio equalization model.
[0077] As an example, in this embodiment, the online training of the model will be achieved through a series of expected OSNR target values. After training for the previous expected OSNR target value is completed, the system can automatically switch to the newly set next expected OSNR target value to continue training.
[0078] Specifically, after achieving the initial expected OSNR target value through training, this embodiment will use the trained model to train a series of subsequent models with different expected OSNR target values. It can be understood that once the initial expected OSNR target value is successfully reached, the model will be reconstructed based on this, and the reconstructed model will be used to more effectively train other expected OSNR target values. That is, after completing the training for the previous expected OSNR target value, the trained model will be used as the training object for the next expected OSNR target value. In other words, the internal weight parameters of the trained model will be frozen first, and then the frozen model will be continuously optimized using the next expected OSNR target value.
[0079] As can be seen, after achieving the initial expected OSNR target, this embodiment uses this as a basis to reconstruct the model to train other expected OSNR targets, thereby significantly reducing the number of training rounds. It also shows that the optimized model can accelerate the convergence speed of the mean absolute error (MAE), effectively promoting the optimization of subsequent targets, and thus demonstrating the model's high efficiency and good transferability.
[0080] In summary, this embodiment utilizes online iterative training of a machine learning model to equalize the OSNR of multiple EDFA amplifiers and obtain the target OSNR curve, which accurately reflects signal quality. Therefore, using OSNR as a signal quality adjustment index directly reflects the power ratio between optical signal and noise, precisely ensuring signal quality and achieving better OSNR equalization of optical signals. This results in better signal quality, allowing the system to transmit data at higher rates and over longer distances, significantly increasing the system's maximum transmission capacity. Compared to traditional power indices, OSNR is more reliable and accurate, applicable to OSNR equalization control across multiple bands, and is an effective way to improve system transmission capacity. Furthermore, compared to traditional offline training which requires collecting large datasets, the online iterative training process provided in this embodiment significantly reduces the amount of training data and time, thus reducing dataset construction costs and training time costs. Moreover, it directly optimizes near the target, achieving the goal faster and effectively reducing complexity, resulting in lower cost control and good transferability.
[0081] Furthermore, this embodiment demonstrates that after training to achieve one objective, other objectives can be trained based on this, resulting in faster and better performance. This indicates that the model has good transferability and can adapt to complex and dynamic OSNR objectives, giving it broad potential in practical applications and making it promising for channel gain optimization across all bands.
[0082] Secondly, embodiments of this application also provide a system for constructing an optical signal-to-noise ratio equalization model.
[0083] In one embodiment, reference is made to Figure 4 , Figure 4 This is a schematic diagram of the functional modules of an embodiment of the optical signal-to-noise ratio equalization model construction system of this application. Figure 4 As shown, the optical signal-to-noise ratio equalization model construction system includes:
[0084] a pre-training module for pre-training a target machine learning model based on an initial training set to obtain an initial model, wherein the initial training set includes an expected optical signal-to-noise ratio and its corresponding WSS parameter set;
[0085] The retraining module is used to freeze the weight parameters in the initial model and perform reverse training on the frozen model to determine the optimal WSS parameter set.
[0086] The determination module is used to configure the optimal WSS parameter set into the actual network transmission link in order to determine the true optical signal-to-noise ratio;
[0087] The calculation module is used to calculate the target mean absolute error based on the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio;
[0088] The module is used to generate an optical signal-to-noise ratio (WSS) equalization model when the target mean absolute error is less than or equal to a preset mean absolute error threshold, so as to output the target WSS parameters that can achieve optical signal-to-noise ratio equalization through the optical signal-to-noise ratio equalization model.
[0089] Furthermore, in one embodiment, the construction module is further configured to add the mapping relationship between the true optical signal-to-noise ratio and the optimal WSS parameter set as training data to the initial training set when the target mean absolute error is greater than the mean absolute error threshold, so as to form a target training set; the retraining module is further configured to unfreeze the weight parameters in the frozen model, and retrain the model with the target training set as input to obtain a new model, and perform the step of freezing the weight parameters in the initial model based on the new model.
[0090] Furthermore, in one embodiment, the expected optical signal-to-noise ratio includes multiple optical signal-to-noise ratios, and the retraining module is further configured to: perform the step of freezing the weight parameters in the initial model based on the optical signal-to-noise ratio equalization model corresponding to the next expected optical signal-to-noise ratio and the previous expected optical signal-to-noise ratio, until the training of all expected optical signal-to-noise ratios is completed, thereby generating a final optical signal-to-noise ratio equalization model.
[0091] Furthermore, in one embodiment, the retraining module is specifically used for:
[0092] Re-initialize a target WSS parameter set that corresponds to the expected optical signal-to-noise ratio;
[0093] The frozen model is back-trained based on the target WSS parameter set, and the target WSS parameter set is adjusted based on the back-training results.
[0094] The model is then trained in reverse based on the adjusted WSS parameter set until the mean absolute error between the predicted optical signal-to-noise ratio and the expected optical signal-to-noise ratio is minimized.
[0095] The WSS parameter set that corresponds to the minimum mean absolute error is taken as the optimal WSS parameter set.
[0096] The functional implementation of each module in the above-mentioned optical signal-to-noise ratio equalization model construction system corresponds to each step in the above-mentioned optical signal-to-noise ratio equalization model construction method embodiment, and their functions and implementation processes are not further described here.
[0097] Thirdly, embodiments of this application provide an optical signal-to-noise ratio equalization model construction device, which can be a personal computer (PC), laptop computer, server, or other device with data processing capabilities.
[0098] Reference Figure 5 , Figure 5 This is a schematic diagram of the hardware structure of the optical signal-to-noise ratio equalization model construction device involved in the embodiments of this application. In the embodiments of this application, the optical signal-to-noise ratio equalization model construction device may include a processor, a memory, a communication interface, and a communication bus.
[0099] The communication bus may be of any type and is used to interconnect the processor, memory, and communication interface.
[0100] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces used for interconnecting devices within the optical signal-to-noise ratio (SNR) equalization model building device, as well as interfaces used for interconnecting the optical SNR equalization model building device with other devices (such as other computing devices or user equipment). Physical interfaces can be Ethernet interfaces, fiber optic interfaces, ATM interfaces, etc.; user equipment can be displays, keyboards, etc.
[0101] Memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0102] The processor can be a general-purpose processor, which can call the optical signal-to-noise ratio (SNR) equalization model construction program stored in memory and execute the optical SNR equalization model construction method provided in the embodiments of this application. For example, the general-purpose processor can be a central processing unit (CPU). The method executed when the optical SNR equalization model construction program is called can be referred to in the various embodiments of the optical SNR equalization model construction method of this application, and will not be repeated here.
[0103] Those skilled in the art will understand that Figure 5 The hardware structure shown does not constitute a limitation of this application and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0104] Fourthly, embodiments of this application also provide a computer-readable storage medium.
[0105] The present application stores an optical signal-to-noise ratio equalization model construction program on a readable storage medium, wherein when the optical signal-to-noise ratio equalization model construction program is executed by a processor, it implements the steps of the optical signal-to-noise ratio equalization model construction method as described above.
[0106] The method implemented when the optical signal-to-noise ratio equalization model construction program is executed can be referred to in various embodiments of the optical signal-to-noise ratio equalization model construction method of this application, and will not be repeated here.
[0107] It should be noted that the sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0108] The terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus. The terms "first," "second," and "third," etc., are used to distinguish different objects, etc., and do not indicate a sequence, nor do they limit "first," "second," and "third" to different types.
[0109] In the description of the embodiments of this application, terms such as "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a concrete manner.
[0110] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.
[0111] In some processes described in the embodiments of the present application, multiple operations or steps are included that appear in a specific order. However, it should be understood that these operations or steps may not be performed in the order in which they appear in the embodiments of the present application or may be performed in parallel. The sequence numbers of the operations are only used to distinguish between different operations, and the sequence numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations or steps may be performed in sequence or in parallel, and these operations or steps may be combined.
[0112] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device to execute the methods described in each embodiment of the present application.
[0113] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for constructing an optical signal-to-noise ratio equalization model, characterized in that: The following steps are involved: Pre-training a target machine learning model based on an initial training set to obtain an initial model, wherein the initial training set includes an expected optical signal-to-noise ratio and a corresponding WSS parameter set; Freeze the weight parameters in the initial model and perform reverse training on the frozen model to determine the optimal WSS parameter set; Configure the optimal WSS parameter set to the actual network transmission link to determine the real optical signal-to-noise ratio; Calculating a target mean absolute error according to the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio; When the target mean absolute error is less than or equal to a preset mean absolute error threshold, an optical signal to noise ratio equalization model is generated to output a target WSS parameter that can achieve optical signal to noise ratio equalization through the optical signal to noise ratio equalization model.
2. The method for constructing an optical signal-to-noise ratio equalization model according to claim 1, wherein: After the step of calculating the target mean absolute error according to the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio, the method further includes: When the target mean absolute error is greater than the mean absolute error threshold, adding the mapping relationship between the true optical signal-to-noise ratio and the optimal WSS parameter set as training data to the initial training set to form a target training set; The weight parameters in the frozen model are unfrozen, and the target training set is used as input for retraining to obtain a new model, and the step of freezing the weight parameters in the initial model is performed based on the new model.
3. The method for constructing an optical signal-to-noise ratio equalization model according to claim 1, wherein: The expected optical signal-to-noise ratio includes a plurality of steps, and after the step of generating an optical signal-to-noise ratio equalization model when the target mean absolute error is less than or equal to a preset error threshold, the step further includes: The step of freezing the weight parameters in the initial model is performed based on the optical signal-to-noise ratio equalization model corresponding to the next expected optical signal-to-noise ratio and the previous expected optical signal-to-noise ratio until the training of all expected optical signal-to-noise ratios is completed to generate a final optical signal-to-noise ratio equalization model.
4. The method for constructing an optical signal-to-noise ratio equalization model according to claim 1, wherein: The reverse training of the frozen model to determine the best WSS parameter set includes: Re-initialize a target WSS parameter set corresponding to the expected optical signal-to-noise ratio randomly; Performing reverse training on the frozen model based on the target WSS parameter set, and adjusting the target WSS parameter set based on the reverse training result; The model is continuously trained in reverse based on the adjusted WSS parameter set until the mean absolute error between the predicted optical signal-to-noise ratio output by the model and the expected optical signal-to-noise ratio is minimized; The WSS parameter set corresponding to the minimum mean absolute error is taken as the optimal WSS parameter set.
5. An optical signal-to-noise ratio equalization model construction system, characterized in that: include: A pre-training module, which is used to pre-train the target machine learning model based on an initial training set to obtain an initial model, wherein the initial training set includes an expected optical signal-to-noise ratio and a corresponding WSS parameter set; A retraining module is used to freeze the weight parameters in the initial model and perform reverse training on the frozen model to determine the optimal WSS parameter set; A determination module, which is used to configure the optimal WSS parameter set to the actual network transmission link to determine the real optical signal-to-noise ratio; A calculation module, configured to calculate a target mean absolute error according to the actual optical signal-to-noise ratio and the expected optical signal-to-noise ratio; A construction module is used to generate an optical signal-to-noise ratio equalization model when the target mean absolute error is less than or equal to a preset mean absolute error threshold, so as to output a target WSS parameter that can achieve optical signal-to-noise ratio equalization through the optical signal-to-noise ratio equalization model.
6. The optical signal-to-noise ratio equalization model construction system according to claim 5, characterized in that: The construction module is further used for adding the mapping relationship between the real optical signal-to-noise ratio and the optimal WSS parameter set as training data to the initial training set to form a target training set when the target mean absolute error is greater than the mean absolute error threshold; The retraining module is also used to unfreeze the weight parameters in the frozen model, and retrain with the target training set as input to obtain a new model, and perform the step of freezing the weight parameters in the initial model based on the new model.
7. The optical signal-to-noise ratio equalization model construction system according to claim 5, characterized in that: The expected optical signal-to-noise ratio includes a plurality of expected optical signal-to-noise ratios, and the retraining module is further used for: The step of freezing the weight parameters in the initial model is performed based on the optical signal-to-noise ratio equalization model corresponding to the next expected optical signal-to-noise ratio and the previous expected optical signal-to-noise ratio until the training of all expected optical signal-to-noise ratios is completed to generate a final optical signal-to-noise ratio equalization model.
8. The optical signal-to-noise ratio equalization model construction system according to claim 5, characterized in that: The retraining module is specifically used for: Re-initialize a target WSS parameter set corresponding to the expected optical signal-to-noise ratio randomly; Performing reverse training on the frozen model based on the target WSS parameter set, and adjusting the target WSS parameter set based on the reverse training result; The model is continuously trained in reverse based on the adjusted WSS parameter set until the mean absolute error between the predicted optical signal-to-noise ratio output by the model and the expected optical signal-to-noise ratio is minimized; The WSS parameter set corresponding to the minimum mean absolute error is taken as the optimal WSS parameter set.
9. An optical signal-to-noise ratio equalization model construction device, characterized in that: The optical signal-to-noise ratio equalization model construction device includes a processor, a memory, and an optical signal-to-noise ratio equalization model construction program stored in the memory and executable by the processor, wherein when the optical signal-to-noise ratio equalization model construction program is executed by the processor, the steps of the optical signal-to-noise ratio equalization model construction method according to any one of claims 1 to 4 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an optical signal-to-noise ratio equalization model construction program, wherein when the optical signal-to-noise ratio equalization model construction program is executed by a processor, the steps of the optical signal-to-noise ratio equalization model construction method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
In-band optical signal to noise ratio monitoring method and module based on ROADM network
CN110048770A
Monitoring method and device for optical signal-to-noise ratio in nonlinear region
CN113556173A
OSNR detection method and device
CN113708835A
Method and system for improving performance in an optical link
US20240106534A1
Cited By
Method for determining optical signal-to-noise ratio, method for determining OCH, electronic device, medium, and product
WO2026214297A1
