A method, device and storage medium for testing optical signal-to-noise ratio of an optical system

By collecting the optical power spectrum of the optical multiplexing section in the optical link, calculating the noise-to-signal ratio and obtaining the optical signal-to-noise ratio, the problem of low efficiency and insufficient accuracy of optical signal-to-noise ratio testing in the existing technology is solved, and efficient and accurate optical signal-to-noise ratio testing is achieved.

CN121150806BActive Publication Date: 2026-07-03FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
Filing Date
2025-09-26
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing optical signal-to-noise ratio (SNR) testing methods are inefficient, time-consuming, and have low accuracy, making it difficult to accurately evaluate service performance in optical network systems.

Method used

By collecting the optical power spectra of the transmitting and receiving ends of each optical multiplexing segment in the optical link, calculating the noise-to-signal ratio, and calculating the optical signal-to-noise ratio based on the optical power spectrum, a non-dropout test is performed using a common spectrometer to accurately determine the noise optical power and improve test accuracy.

Benefits of technology

It enables efficient and accurate testing of optical signal-to-noise ratio, with simple hardware and low cost, solving the problems of low testing efficiency and insufficient accuracy in existing technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121150806B_ABST
    Figure CN121150806B_ABST
Patent Text Reader

Abstract

This invention relates to the field of optical fiber communication technology, and discloses a method, apparatus, device, and storage medium for testing the optical signal-to-noise ratio (SNR) of an optical system. The method includes: acquiring the optical power spectrum at the transmitting and receiving ends of each optical multiplexer segment in an optical link; calculating the noise-to-signal ratio (SNR) of each signal in each optical multiplexer segment based on the optical power spectrum; and obtaining the SNR of each signal based on the SNR of each signal in each optical multiplexer segment. This invention solves the technical problems of low efficiency, long testing time, and low accuracy in existing SNR testing methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical fiber communication technology, and in particular to a method, apparatus, device, and storage medium for testing the optical signal-to-noise ratio of an optical system. Background Technology

[0002] With the continuous development of video services and cloud technologies, communication traffic is experiencing explosive growth, placing demands on optical transport networks for high-speed, high-capacity transmission and low network construction costs. In the laboratory performance testing, deployment, and maintenance of optical networks, it is often necessary to test the optical signal-to-noise ratio (SNR) of each optical channel.

[0003] In existing technologies, there are two common laboratory methods for testing optical signal-to-noise ratio:

[0004] One method is the drop-wave test, which requires testing wave by wave. This is not only inefficient, but also introduces errors in scenarios with few waves due to the change in noise floor before and after the drop-wave test.

[0005] Another method is the scanning method to test the optical signal-to-noise ratio. This method requires sufficient frequency bandwidth on both sides of the optical signal to be tested for noise floor detection. However, in actual systems, this requirement is often impossible to meet in order to transmit as much signal as possible, and therefore cannot be accurate.

[0006] Therefore, there is an urgent need for a method to test the optical signal-to-noise ratio of each signal in an optical system with high accuracy in order to evaluate the service performance of an optical network system. Summary of the Invention

[0007] This invention provides a method, apparatus, device, and storage medium for testing the optical signal-to-noise ratio of an optical system, which can solve the technical problem of low accuracy in testing the optical signal-to-noise ratio of optical systems in the prior art.

[0008] To achieve the above objectives, the present invention provides the following technical solution:

[0009] A method for testing the optical signal-to-noise ratio of an optical system, the method comprising:

[0010] Acquire the optical power spectrum at the transmitting and receiving ends of each optical multiplexing segment in the optical link;

[0011] Based on the optical power spectrum, the noise-to-signal ratio of each signal in each optical multiplexing segment of the optical link is calculated;

[0012] The optical signal-to-noise ratio (SNR) of each signal is obtained based on the noise-to-signal ratio of each signal in each optical multiplexing segment.

[0013] Based on the same inventive concept, embodiments of the present invention also provide an optical signal-to-noise ratio testing device for an optical system, the device comprising:

[0014] The spectral acquisition module is configured to acquire the optical power spectrum at the transmitting and receiving ends of each optical multiplexing segment in the optical link;

[0015] The noise-to-signal ratio calculation module is configured to calculate the noise-to-signal ratio of each optical multiplex segment of the optical link based on the optical power spectrum.

[0016] The optical signal-to-noise ratio (SNR) calculation module is configured to obtain the SNR of each signal based on the noise-to-signal ratio of each optical multiplexing segment.

[0017] Based on the same inventive concept, embodiments of the present invention also provide an electronic device, including: a memory and a processor; the processor is used to read and execute a computer program stored in the memory to implement the steps of the aforementioned optical signal-to-noise ratio testing method for an optical system.

[0018] Based on the same inventive concept, embodiments of the present invention also provide a computer storage medium storing computer-executable instructions, which, when executed, implement the steps of the aforementioned optical signal-to-noise ratio testing method for an optical system.

[0019] The technical effects and advantages of this invention are as follows:

[0020] The optical signal-to-noise ratio (SNR) of each signal can be obtained simply by using a common spectrometer for non-dropout testing. The hardware is simple and readily available, offering significant advantages in application. Furthermore, compared to other methods, it solves the technical problems of low efficiency, long processing time, and low accuracy in existing optical SNR testing processes.

[0021] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 A flowchart of the method provided in the embodiments of the present invention;

[0024] Figure 2 This is a schematic diagram of the noise-to-signal ratio accumulation of each optical multiplexing segment according to an embodiment of the present invention;

[0025] Figure 3 This is a schematic diagram illustrating the principle of calculating the noise-to-signal ratio of the optical multiplexer at the transmitting end of the optical multiplexing section according to an embodiment of the present invention;

[0026] Figure 4 This is a functional module diagram of an embodiment of the optical signal-to-noise ratio testing device for the optical system of the present invention;

[0027] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] To address the shortcomings of existing technologies, this invention discloses a method for testing the optical signal-to-noise ratio of an optical system, the method comprising:

[0030] Step S10: Collect the optical power spectrum of the transmitting and receiving ends of each optical multiplexing segment in the optical link;

[0031] In this embodiment, an instrument with a resolution bandwidth of no more than 0.02nm is used to collect the optical power spectrum at the transmitting and receiving ends of each optical multiplexing section (OMS) in the optical link. A sufficiently small resolution bandwidth (res) can ensure that the proportion of signal optical power is as small as possible, reduce the introduced test error, and thus make the calculated noise optical power as accurate as possible, thereby improving the test accuracy.

[0032] Meanwhile, the optical power spectra of the transmit and receive ends of each OMS band tested in the experiment need to cover the entire band, and also need to extend outward by at least 100 GHz in both the long and short wave directions. This will clearly expose the noise outside the band for use in backend computing.

[0033] Step S20: Based on the optical power spectrum, calculate the noise-to-signal ratio of each signal in each optical multiplexing segment of the optical link;

[0034] In some specific embodiments, step S20 includes:

[0035] Step S201: Based on the optical power spectrum, calculate the first noise signal ratio, wherein the first noise signal ratio is the noise signal ratio of each signal introduced by the transmitting optical amplifier of each optical multiplexing segment;

[0036] In this embodiment, the noise spectrum of each signal within the band introduced by the transmitting optical amplifier is obtained by interpolation through the noise spectra at both ends of the band. This simplifies the noise floor testing process while maintaining good accuracy in noise power. Specifically, refer to... Figure 2 The ONSR (noise-to-signal ratio) of each signal receiving end can be decomposed into the ONSR of the signal corresponding to each OMS segment. That is, the total ONSR of the receiving end signal can be obtained by linearly accumulating the ONSR of each OMS segment in the link.

[0037] Reference Figure 3 When calculating the ONSR of the OMS transmitting optical amplifier, noise points at the edges of the transmission band are used. By performing frequency linear interpolation through the noise points at the left and right edges of the band, the noise at each frequency signal can be obtained, and then the optical noise-to-signal ratio of each signal can be calculated. Each noise point has its own frequency and noise optical power.

[0038] Specifically, for the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment, based on the optical power spectrum of the transmitting end of each optical multiplexing segment in the optical link, combined with the noise spectrum outside the spectral band, the transmitting optical amplifier of the i-th optical multiplexing segment is calculated within a first preset range at the left and right ends of the output band (for example, 50 GHz away from the edge of the band (assuming the frequencies are respectively)) using a first preset formula. , The noise optical power within the 0.1nm range is denoted as... and .

[0039] The first preset formula is as follows:

[0040]

[0041]

[0042] In the formula, This represents the noise optical power of the transmitted light in the i-th optical multiplexing segment within the first preset range at the right end of the output band. This indicates the frequency at the right end of the band. "Band" indicates a specific frequency range (e.g., 50 GHz). The noise optical power value at frequency f in the emitted spectrum is expressed in mW, smp represents the sampling interval of the spectrometer (e.g., 0.004 nm), and res represents the resolution of the spectrometer (e.g., 0.02 nm). This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the left end of the output band. The frequency at the left end of the band is indicated, and ΔF represents the frequency range of noise used when calculating the optical signal-to-noise ratio.

[0043] Based on the noise optical power within a preset range at both ends of the output band ( and and the center frequency of the j-th signal. By performing linear interpolation using the second preset formula, the noise optical power of the transmitted light in the i-th optical multiplexing segment within the second preset range (within 0.1nm) at the center frequency of the j-th signal can be calculated. ;

[0044] The second preset formula is as follows:

[0045] .

[0046] In the formula, This represents the noise optical power of the transmitted light from the i-th optical multiplexing segment placed within a second preset range at the center frequency of the j-th signal. This represents the noise optical power of the transmitted light in the i-th optical multiplexing segment within the first preset range at the right end of the output band. This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the left end of the output band. Indicates the frequency at the left end of the band. Indicate the frequency at the right end of the band. This represents the center frequency of the j-th signal.

[0047] The integrated optical power of the transmitting light from the i-th optical multiplexer segment within the j-th signal bandwidth. And the noise optical power of the transmitting light of the i-th optical multiplexing segment placed at the center frequency of the j-th signal within a second preset range. The noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing section is calculated using the third preset formula. ;

[0048] The third preset formula is as follows:

[0049]

[0050] In the formula, This represents the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment; ΔF represents the integrated optical power of the transmitting light in the i-th optical multiplexing segment within the bandwidth of the j-th signal; B represents the bandwidth of the signal in GHz; ΔF represents the frequency range of noise used when calculating the optical signal-to-noise ratio.

[0051] By analogy, the noise-to-signal ratio of each signal introduced by the optical amplifier at the transmitting end of each optical multiplexing section can be calculated.

[0052] Step S202: Based on the optical power spectrum, calculate the second noise signal ratio, wherein the second noise signal ratio is the noise signal ratio introduced by the optical amplifiers other than the transmitting optical amplifier in each optical multiplexing section;

[0053] In this embodiment, the equivalent noise signal ratio (ONSR) of each wavelength is calculated using the spectra of the transmitting and receiving optical amplifiers in the OMS segment, and the new ONSR introduced by other optical amplifiers in the OMS segment other than the transmitting optical amplifier is obtained based on the equivalent new ONSR.

[0054] Specifically, based on the optical power spectrum, the noise optical power of the transmitting and receiving optical units of the i-th optical multiplexing segment at preset positions to the left and right of the center frequency of the j-th signal is obtained. Then, the equivalent noise optical power of the transmitting and receiving optical units of the i-th optical multiplexing segment within the bandwidth range of the j-th signal is calculated using the fourth preset formula.

[0055] The fourth preset formula is as follows:

[0056]

[0057]

[0058] In the formula, This represents the equivalent noise optical power of the transmitted light from the i-th optical multiplexer segment within the bandwidth of the j-th signal. This represents the equivalent noise optical power of the receiving optical signal of the i-th optical multiplexer segment within the bandwidth of the j-th signal; This indicates that the transmitted light of the i-th optical multiplexer segment is placed to the left of the center frequency of the j-th signal. Noise optical power at that location This indicates that the transmitted light of the i-th optical multiplexer segment is placed to the right of the center frequency of the j-th signal. Noise optical power at the location; This indicates that the receiving light of the i-th optical multiplexer segment is placed to the left of the center frequency of the j-th signal. Noise optical power at that location This indicates that the receiving light of the i-th optical multiplexer segment is placed to the right of the center frequency of the j-th signal. The noise optical power at the location; res represents the resolution of the spectrometer, B represents the bandwidth of the signal, and ΔW represents the wavelength bandwidth of 0.1 nm.

[0059] Then, based on the integrated optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the equivalent noise optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, the equivalent noise signal ratio of the j-th signal introduced by the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment is calculated using the fifth preset formula.

[0060] The fifth preset formula is as follows:

[0061]

[0062]

[0063] In the formula, This represents the equivalent noise-to-signal ratio of the j-th signal introduced by the optical amplifier at the receiving end of the i-th optical multiplexing segment. This represents the equivalent noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment;

[0064]

[0065]

[0066] In the formula, Let represent the integrated optical power of the receiving optical signal in the i-th optical multiplexing segment within the j-th signal bandwidth. This represents the integrated optical power of the transmitted light in the i-th optical multiplex segment within the j-th signal bandwidth. The j-th signal has a center frequency; f represents the frequency at which the spectrometer acquires the spectrum; and B is the signal bandwidth. This represents the optical power spectrum of the transmitted signal. The spectrometer represents the power spectrum of the signal light; res represents the resolution of the spectrometer; and smp represents the sampling interval of the spectrometer.

[0067] Finally, the equivalent noise signal ratio of the j-th signal introduced by the receiving optical amplifier of the i-th optical multiplexing section is used. Subtracting the equivalent noise signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing section The difference obtained is used as the noise signal ratio introduced by the optical amplifiers other than the transmitting optical amplifier in the i-th optical multiplexing segment. .

[0068]

[0069] By analogy, the noise signal ratio introduced by other optical amplifiers (excluding the transmitting optical amplifier) ​​in each optical multiplexing section can be calculated.

[0070] Step S203: The first noise signal ratio is added to the second noise signal ratio, and the sum is used as the noise signal ratio of each signal in each optical multiplexing segment.

[0071] In this embodiment, when calculating the noise-to-signal ratio of each signal in each optical multiplexing segment, the noise-to-signal ratio introduced by the transmitting optical amplifier in the OMS segment and the noise-to-signal ratio introduced by other optical amplifiers in the OMS segment besides the transmitting optical amplifier are taken into account. The precise determination of these two parameters ensures the accurate calculation in the subsequent process.

[0072] Specifically, for the noise-to-signal ratio of the j-th signal in the i-th optical multiplexing segment, the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier in the i-th optical multiplexing segment is calculated. In addition, the noise signal newly introduced by the optical amplifiers other than the transmitting optical amplifier in the i-th optical multiplexing section is compared to The sum obtained is the noise-to-signal ratio of the j-th signal in the i-th optical multiplexing segment. .

[0073] .

[0074] Similarly, after obtaining the noise-to-signal ratio of each signal introduced by the transmitting optical amplifier in each optical multiplexing section, and the noise-to-signal ratio of other optical amplifiers introduced by each optical multiplexing section (excluding the transmitting optical amplifier), the noise-to-signal ratio of each signal in each optical multiplexing section can be calculated.

[0075] Step S30: Based on the noise-to-signal ratio of each signal in each optical multiplexing segment, obtain the optical signal-to-noise ratio of each signal.

[0076] In some specific embodiments, step S30 includes:

[0077] For the optical signal-to-noise ratio of the j-th signal, the noise-to-signal ratio of the j-th signal in each optical multiplexing segment is substituted into the sixth preset formula to calculate the optical signal-to-noise ratio of the j-th signal;

[0078] The sixth preset formula is as follows:

[0079]

[0080] In the formula, The optical signal-to-noise ratio of the j-th signal is represented by N, and N represents the number of optical multiplexing segments. This represents the signal-to-noise ratio of the j-th signal in the i-th optical multiplex segment;

[0081] By analogy, the optical signal-to-noise ratio of each signal can be obtained.

[0082] In this embodiment, given the noise-to-signal ratio (SNR) of each newly introduced signal in each OMS segment, the total SNR of all signals in the link is obtained by linearly summing the SNR of each newly introduced signal in each OMS segment. Then, based on the total SNR of all signals in the link, the optical signal-to-noise ratio (OSR) of each signal is calculated. The established link's OSR calculation process relies on the OSR data of each optical multiplexing segment (OMS segment) obtained through testing and calculation, ensuring sufficient accuracy.

[0083] Specifically, the optical signal-to-noise ratio of the j-th signal and the noise-to-signal ratio of the j-th signal in each optical multiplexing segment are substituted into the sixth preset formula to calculate the optical signal-to-noise ratio of the j-th signal.

[0084] The sixth preset formula is as follows:

[0085]

[0086] In the formula, The optical signal-to-noise ratio of the j-th signal is represented by N, and N represents the number of optical multiplexing segments. This represents the noise-to-signal ratio of the j-th signal in the i-th optical multiplex segment.

[0087] Similarly, after knowing the noise-to-signal ratio of each signal in each optical multiplexing segment, the optical signal-to-noise ratio of each signal can be obtained by analogy.

[0088] In this embodiment, the optical power spectra of the transmitting and receiving ends of each optical multiplexing segment in the optical link are collected; based on the optical power spectra, the noise-to-signal ratio (SNR) of each signal in each optical multiplexing segment of the optical link is calculated; based on the SNR of each signal in each optical multiplexing segment, the optical signal-to-noise ratio (OSR) of each signal is obtained. This embodiment allows for the acquisition of the OSR of each signal using only a common spectrometer, without requiring a large number of transmitted signals. It is not only simple in hardware, low in cost, and easy to obtain, offering significant advantages in application, but also does not significantly increase complexity compared to other methods and does not require signal drop. This solves the technical problems of low efficiency, long testing time, and low accuracy in existing OSR testing processes.

[0089] Based on the same inventive concept, embodiments of the present invention also provide an optical signal-to-noise ratio testing device for an optical system.

[0090] In one embodiment, reference is made to Figure 4 , Figure 4 This is a functional module diagram of an embodiment of the optical signal-to-noise ratio testing device for the optical system of the present invention. Figure 4 As shown, the optical signal-to-noise ratio testing device for an optical system includes:

[0091] The spectrum acquisition module 10 is configured to acquire the optical power spectrum of the transmitting and receiving ends of each optical multiplexing segment in the optical link;

[0092] The noise-to-signal ratio calculation module 20 is configured to calculate the noise-to-signal ratio of each optical multiplex segment of the optical link based on the optical power spectrum.

[0093] The optical signal-to-noise ratio calculation module 30 is configured to obtain the optical signal-to-noise ratio of each signal based on the noise signal ratio of each optical multiplexing segment.

[0094] Optionally, in one embodiment, the noise-to-signal ratio calculation module 20 is configured to:

[0095] Based on the optical power spectrum, a first noise signal ratio is calculated, wherein the first noise signal ratio is the noise signal ratio of each signal introduced by the transmitting optical amplifier of each optical multiplexing segment;

[0096] Based on the optical power spectrum, a second noise signal ratio is calculated, wherein the second noise signal ratio is the noise signal ratio introduced by the optical amplifiers other than the transmitting optical amplifier in each optical multiplexing section;

[0097] The sum of the first noise signal ratio and the second noise signal ratio is used as the noise signal ratio of each signal in each optical multiplexing segment.

[0098] Optionally, in one embodiment, the noise-to-signal ratio calculation module 20 is configured to:

[0099] For the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment, based on the optical power spectrum of the transmitting end of each optical multiplexing segment in the optical link, combined with the noise floor outside the spectral band, the noise optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within the first preset range at the left and right ends of the output band is calculated by the first preset formula.

[0100] Based on the noise optical power within a preset range at both ends of the output band and the center frequency of the j-th signal, the noise optical power within a preset range at the center frequency of the j-th signal of the transmitting light of the i-th optical multiplexing segment is calculated using the second preset formula.

[0101] Based on the integrated optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the noise optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within a second preset range at the center frequency of the j-th signal, the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment is calculated using a third preset formula.

[0102] By analogy, the noise-to-signal ratio of each signal introduced by the optical amplifier at the transmitting end of each optical multiplexing section can be calculated.

[0103] Optionally, in one embodiment, the first preset formula is as follows:

[0104]

[0105]

[0106] In the formula, This represents the noise optical power of the transmitted light in the i-th optical multiplexing segment within the first preset range at the right end of the output band. The band indicates the frequency at the right end of the band, and the band indicates the agreed frequency bandwidth. represents the noise optical power value at frequency f in the emitted spectrum, smp represents the sampling interval of the spectrometer, and res represents the resolution of the spectrometer; This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the left end of the output band. The frequency at the left end of the band is indicated, and ΔF represents the frequency range of noise used when calculating the optical signal-to-noise ratio.

[0107] The second preset formula is as follows:

[0108]

[0109] In the formula, This represents the noise optical power of the transmitted light from the i-th optical multiplexing segment placed within a second preset range at the center frequency of the j-th signal. This represents the noise optical power of the transmitted light in the i-th optical multiplexing segment within the first preset range at the right end of the output band. This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the left end of the output band. Indicates the frequency at the left end of the band. Indicate the frequency at the right end of the band. This represents the center frequency of the j-th signal;

[0110] The third preset formula is as follows:

[0111]

[0112] In the formula, This represents the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment. Let B represent the integrated optical power of the transmitting light of the i-th optical multiplexer segment within the bandwidth of the j-th signal, where B represents the bandwidth of the signal, and ΔF represents the frequency range of noise used when calculating the optical signal-to-noise ratio.

[0113] Optionally, in one embodiment, the noise-to-signal ratio calculation module 20 is configured to:

[0114] Based on the optical power spectrum, the noise optical power of the transmitting and receiving optical power of the i-th optical multiplexing segment at preset positions to the left and right of the center frequency of the j-th signal is obtained. The equivalent noise optical power of the transmitting and receiving optical power of the i-th optical multiplexing segment within the bandwidth range of the j-th signal is calculated using the fourth preset formula.

[0115] Based on the integrated optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the equivalent noise optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, the equivalent noise-to-signal ratio of the j-th signal introduced by the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment is calculated using the fifth preset formula.

[0116] The equivalent noise signal ratio of the j-th signal introduced by the receiving optical amplifier of the i-th optical multiplexing section is subtracted from the equivalent noise signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing section, and the difference is used as the noise signal ratio introduced by other optical amplifiers in the i-th optical multiplexing section except for the transmitting optical amplifier.

[0117] By analogy, the noise signal ratio introduced by other optical amplifiers (excluding the transmitting optical amplifier) ​​in each optical multiplexing section can be calculated.

[0118] Optionally, in one embodiment, the fourth preset formula is as follows:

[0119]

[0120]

[0121] In the formula, This represents the equivalent noise optical power of the transmitted light from the i-th optical multiplexer segment within the bandwidth of the j-th signal. This represents the equivalent noise optical power of the receiving optical signal of the i-th optical multiplexer segment within the bandwidth of the j-th signal; This indicates that the transmitted light of the i-th optical multiplexer segment is placed to the left of the center frequency of the j-th signal. Noise optical power at that location This indicates that the transmitted light of the i-th optical multiplexer segment is placed to the right of the center frequency of the j-th signal. Noise optical power at the location; This indicates that the receiving light of the i-th optical multiplexer segment is placed to the left of the center frequency of the j-th signal. Noise optical power at that location This indicates that the receiving light of the i-th optical multiplexer segment is placed to the right of the center frequency of the j-th signal. The noise optical power at the location; res represents the resolution of the spectrometer, B represents the bandwidth of the signal, and ΔW represents the bandwidth of 0.1 nm;

[0122] The fifth preset formula is as follows:

[0123]

[0124]

[0125] In the formula, This represents the equivalent noise-to-signal ratio of the j-th signal introduced by the optical amplifier at the receiving end of the i-th optical multiplexing segment. This represents the equivalent noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment;

[0126]

[0127]

[0128] In the formula, Let represent the integrated optical power of the receiving optical signal in the i-th optical multiplexing segment within the j-th signal bandwidth. This represents the integrated optical power of the transmitted light in the i-th optical multiplex segment within the j-th signal bandwidth. The j-th signal has a center frequency; f represents the frequency at which the spectrometer acquires the spectrum; and B is the signal bandwidth. This represents the optical power spectrum of the transmitted signal. The spectrometer represents the power spectrum of the signal light; res represents the resolution of the spectrometer; and smp represents the sampling interval of the spectrometer.

[0129] Optionally, in one embodiment, the optical signal-to-noise ratio calculation module 30 is configured to:

[0130] For the optical signal-to-noise ratio of the j-th signal, the noise-to-signal ratio of the j-th signal in each optical multiplexing segment is substituted into the sixth preset formula to calculate the optical signal-to-noise ratio of the j-th signal;

[0131] The sixth preset formula is as follows:

[0132]

[0133] In the formula, The optical signal-to-noise ratio of the j-th signal is represented by N, and N represents the number of optical multiplexing segments. This represents the signal-to-noise ratio of the j-th signal in the i-th optical multiplex segment;

[0134] By analogy, the optical signal-to-noise ratio of each signal can be obtained.

[0135] The functions of each module in the optical signal-to-noise ratio testing device of the above-mentioned optical system correspond to the steps in the embodiment of the optical signal-to-noise ratio testing method of the above-mentioned optical system, and their functions and implementation processes will not be described in detail here.

[0136] Based on the same inventive concept, embodiments of the present invention also provide an electronic device, the structure of which is as follows: Figure 5 As shown, it includes: a memory and a processor, wherein the processor is used to read and execute the computer program stored in the memory to implement the aforementioned optical signal-to-noise ratio testing method for an optical system.

[0137] Based on the same inventive concept, embodiments of the present invention also provide a computer storage medium storing computer-executable instructions, which, when executed, implement the aforementioned optical signal-to-noise ratio testing method for an optical system.

[0138] Finally, it should be noted that while some processes described in the embodiments of the present invention include multiple operations or steps that appear in a specific order, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of the present invention, or may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.

[0139] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., 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 of optical signal-to-noise ratio testing of an optical system, the method comprising: The method includes: Acquire the optical power spectrum at the transmitting and receiving ends of each optical multiplexing segment in the optical link; Based on the optical power spectrum, a first noise signal ratio is calculated, wherein the first noise signal ratio is the noise signal ratio of each signal introduced by the transmitting optical amplifier of each optical multiplexing segment; Based on the optical power spectrum, a second noise signal ratio is calculated, wherein the second noise signal ratio is the noise signal ratio introduced by the optical amplifiers other than the transmitting optical amplifier in each optical multiplexing section; The sum of the first noise signal ratio and the second noise signal ratio is used as the noise signal ratio of each signal in each optical multiplexing segment. The optical signal-to-noise ratio of each signal is obtained based on the noise-to-signal ratio of each signal in each optical multiplexing segment; The step of calculating the first noise-to-signal ratio based on the optical power spectrum includes: For the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment, based on the optical power spectrum of the transmitting end of each optical multiplexing segment in the optical link, combined with the noise floor outside the spectral band, the noise optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within the first preset range at the left and right ends of the output band is calculated by the first preset formula. Based on the noise optical power within a preset range at both ends of the output band and the center frequency of the j-th signal, the noise optical power within a preset range at the center frequency of the j-th signal of the transmitting light of the i-th optical multiplexing segment is calculated using the second preset formula. Based on the integrated optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the noise optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within a second preset range at the center frequency of the j-th signal, the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment is calculated using a third preset formula. Similarly, the noise-to-signal ratio of each signal introduced by the optical amplifier at the transmitting end of each optical multiplexing section is calculated. The step of calculating the second noise-to-signal ratio based on the optical power spectrum includes: Based on the optical power spectrum, the noise optical power of the transmitting and receiving optical power of the i-th optical multiplexing segment at preset positions to the left and right of the center frequency of the j-th signal is obtained. The equivalent noise optical power of the transmitting and receiving optical power of the i-th optical multiplexing segment within the bandwidth range of the j-th signal is calculated using the fourth preset formula. Based on the integrated optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the equivalent noise optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, the equivalent noise-to-signal ratio of the j-th signal introduced by the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment is calculated using the fifth preset formula. The equivalent noise signal ratio of the j-th signal introduced by the receiving optical amplifier of the i-th optical multiplexing section is subtracted from the equivalent noise signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing section, and the difference is used as the noise signal ratio introduced by other optical amplifiers in the i-th optical multiplexing section except for the transmitting optical amplifier. By analogy, the noise signal ratio introduced by other optical amplifiers (excluding the transmitting optical amplifier) ​​in each optical multiplexing section can be calculated.

2. The optical signal-to-noise ratio testing method for an optical system according to claim 1, characterized in that, The first preset formula is as follows: In the formula, This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the right end of the output band. The band indicates the frequency at the right end of the band, and the band indicates the agreed frequency bandwidth. represents the noise optical power value at frequency f in the emitted spectrum, smp represents the sampling interval of the spectrometer, and res represents the resolution of the spectrometer; This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the left end of the output band. The frequency at the left end of the band is indicated, and ΔF represents the frequency range of noise used when calculating the optical signal-to-noise ratio. The second preset formula is as follows: In the formula, This represents the noise optical power of the transmitted light from the i-th optical multiplexing segment placed within a second preset range at the center frequency of the j-th signal. This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the right end of the output band. This represents the noise optical power of the transmitted light in the i-th optical multiplexer segment within the first preset range at the left end of the output band. Indicates the frequency at the left end of the band. Indicate the frequency at the right end of the band. This represents the center frequency of the j-th signal; The third preset formula is as follows: In the formula, This represents the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment. Let B represent the integrated optical power of the transmitting light of the i-th optical multiplexer segment within the bandwidth of the j-th signal, where B represents the bandwidth of the signal, and ΔF represents the frequency range of noise used when calculating the optical signal-to-noise ratio.

3. The optical signal-to-noise ratio testing method for an optical system according to claim 1, characterized in that, The fourth preset formula is as follows: In the formula, This represents the equivalent noise optical power of the transmitted light from the i-th optical multiplexer segment within the bandwidth of the j-th signal. This represents the equivalent noise optical power of the receiving optical signal of the i-th optical multiplexer segment within the bandwidth of the j-th signal; This indicates that the transmitted light of the i-th optical multiplexer segment is placed to the left of the center frequency of the j-th signal. Noise optical power at the location, This indicates that the transmitted light of the i-th optical multiplexer segment is placed to the right of the center frequency of the j-th signal. Noise optical power at the location; This indicates that the receiving light of the i-th optical multiplexer segment is placed to the left of the center frequency of the j-th signal. Noise optical power at the location, This indicates that the receiving light of the i-th optical multiplexer segment is placed to the right of the center frequency of the j-th signal. The noise optical power at the location; res represents the resolution of the spectrometer, B represents the bandwidth of the signal, and ΔW represents the bandwidth of 0.1 nm; The fifth preset formula is as follows: In the formula, This represents the equivalent noise-to-signal ratio of the j-th signal introduced by the optical amplifier at the receiving end of the i-th optical multiplexing segment. This represents the equivalent noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment; In the formula, Let represent the integrated optical power of the receiving optical signal in the i-th optical multiplexing segment within the j-th signal bandwidth. This represents the integrated optical power of the transmitted light in the i-th optical multiplex segment within the j-th signal bandwidth. The j-th signal has a center frequency; f represents the frequency at which the spectrometer acquires the spectrum; and B is the signal bandwidth. This represents the optical power spectrum of the transmitted signal. The spectrometer represents the power spectrum of the signal light; res represents the resolution of the spectrometer; and smp represents the sampling interval of the spectrometer.

4. The optical signal-to-noise ratio testing method for an optical system according to claim 1, characterized in that, The step of obtaining the optical signal-to-noise ratio (SNR) of each signal based on the noise-to-signal ratio of each signal in each optical multiplexing segment includes: For the optical signal-to-noise ratio of the j-th signal, the noise-to-signal ratio of the j-th signal in each optical multiplexing segment is substituted into the sixth preset formula to calculate the optical signal-to-noise ratio of the j-th signal. The sixth preset formula is as follows: In the formula, The optical signal-to-noise ratio of the j-th signal is represented by N, and N represents the number of optical multiplexing segments. This represents the signal-to-noise ratio of the j-th signal in the i-th optical multiplex segment; By analogy, the optical signal-to-noise ratio of each signal can be obtained.

5. A device for testing the optical signal-to-noise ratio of an optical system, characterized in that, The device includes: The spectral acquisition module is configured to acquire the optical power spectrum at the transmitting and receiving ends of each optical multiplexing segment in the optical link; The noise signal ratio calculation module is configured to calculate a first noise signal ratio based on the optical power spectrum, wherein the first noise signal ratio is the noise signal ratio of each signal introduced by the transmitting optical amplifier of each optical multiplexing segment; calculate a second noise signal ratio based on the optical power spectrum, wherein the second noise signal ratio is the noise signal ratio introduced by optical amplifiers other than the transmitting optical amplifier of each optical multiplexing segment; and use the first noise signal ratio plus the second noise signal ratio to obtain the sum as the noise signal ratio of each signal of each optical multiplexing segment. The optical signal-to-noise ratio (SNR) calculation module is configured to obtain the SNR of each signal based on the noise-to-signal ratio of each optical multiplexing segment. The step of calculating the first noise-to-signal ratio based on the optical power spectrum includes: For the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment, based on the optical power spectrum of the transmitting end of each optical multiplexing segment in the optical link, combined with the noise floor outside the spectral band, the noise optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within the first preset range at the left and right ends of the output band is calculated by the first preset formula. Based on the noise optical power within a preset range at both ends of the output band and the center frequency of the j-th signal, the noise optical power within a preset range at the center frequency of the j-th signal of the transmitting light of the i-th optical multiplexing segment is calculated using the second preset formula. Based on the integrated optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the noise optical power of the transmitting optical amplifier of the i-th optical multiplexing segment within a second preset range at the center frequency of the j-th signal, the noise-to-signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing segment is calculated using a third preset formula. Similarly, the noise-to-signal ratio of each signal introduced by the optical amplifier at the transmitting end of each optical multiplexing section is calculated. The step of calculating the second noise-to-signal ratio based on the optical power spectrum includes: Based on the optical power spectrum, the noise optical power of the transmitting and receiving optical power of the i-th optical multiplexing segment at preset positions to the left and right of the center frequency of the j-th signal is obtained. The equivalent noise optical power of the transmitting and receiving optical power of the i-th optical multiplexing segment within the bandwidth range of the j-th signal is calculated using the fourth preset formula. Based on the integrated optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, and the equivalent noise optical power of the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment within the bandwidth of the j-th signal, the equivalent noise-to-signal ratio of the j-th signal introduced by the transmitting and receiving optical amplifiers of the i-th optical multiplexing segment is calculated using the fifth preset formula. The equivalent noise signal ratio of the j-th signal introduced by the receiving optical amplifier of the i-th optical multiplexing section is subtracted from the equivalent noise signal ratio of the j-th signal introduced by the transmitting optical amplifier of the i-th optical multiplexing section, and the difference is used as the noise signal ratio introduced by other optical amplifiers in the i-th optical multiplexing section except for the transmitting optical amplifier. By analogy, the noise signal ratio introduced by other optical amplifiers (excluding the transmitting optical amplifier) ​​in each optical multiplexing section can be calculated.

6. An electronic device, characterized in that, include: Memory, processor; The processor is configured to read and execute the computer program stored in the memory to implement the optical signal-to-noise ratio testing method for the optical system according to any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed, implement the optical signal-to-noise ratio testing method for the optical system according to any one of claims 1-4.