Method for determining performance indicator, device and computer storage medium
A method for determining a performance indicator is performed by an electronic device. The method includes: obtaining a first test result by testing preset indicators of a repeated Open Cable system in a first test environment, and obtaining a second test result by testing the preset indicators of the repeated Open Cable system in a second test environment, in which the preset indicators include a quality factor Q value and a linear signal noise ratio (SNR); determining an external SNR value of the system based on the first test result and the second test result; and determining an intrinsic SNR value of the system based on the external SNR value, the linear SNR, a nonlinear SNR, and a guided acousto-optic wave Brillouin scattering (GAWBS) SNR.
1 . A method for determining a performance indicator, performed by an electronic device, the method comprising:
obtaining a first test result by testing preset indicators of a repeated Open Cable system in a first test environment, and obtaining a second test result by testing the preset indicators of the repeated Open Cable system in a second test environment, wherein the preset indicators comprise a quality factor Q value and a linear signal noise ratio (SNR);
determining an external SNR value of the system based on the first test result and the second test result; and
determining an intrinsic SNR value of the system based on the external SNR value, the linear SNR, a nonlinear SNR, and a guided acousto-optic wave Brillouin scattering (GAWBS) SNR.
2 . The method according to claim 1 , wherein determining the external SNR value of the system based on the first test result and the second test result comprises:
determining a first test curve based on the first test result, wherein the first test curve is configured to represent a corresponding relationship between Q values and linear SNRs of the system in the first test environment;
determining a second test curve based on the second test result, wherein the second test curve is configured to represent a corresponding relationship between Q values and linear SNRs of the system in the second test environment; and
determining the external SNR value of the system based on the first test curve and the second test curve.
3 . The method according to claim 2 , wherein determining the external SNR value of the system based on the first test curve and the second test curve comprises:
obtaining a target Q value meeting a performance requirement on the second test curve;
determining a target linear SNR value corresponding to the target Q value on the first test curve; and
determining the target linear SNR value as the external SNR value of the system.
4 . The method according to claim 1 , wherein determining the intrinsic SNR value of the system based on the external SNR value, the linear SNR, the nonlinear SNR, and the GAWBS SNR comprises:
determining a first corresponding relationship among a generalized signal noise ratio (GSNR) indicator, the linear SNR, the nonlinear SNR, and the GAWBS SNR;
determining a second corresponding relationship among the external SNR value, the GSNR indicator and the intrinsic SNR value of the system; and
determining the intrinsic SNR value of the system based on the first corresponding relationship and the second corresponding relationship.
5 . The method according to claim 4 , wherein determining the intrinsic SNR value of the system based on the first corresponding relationship and the second corresponding relationship comprises:
obtaining a target curve by performing curve fitting on the first corresponding relationship and the second corresponding relationship; and
determining the intrinsic SNR value of the system based on an intersection point between the target curve and a longitudinal coordinate axis.
6 . The method according to claim 5 , wherein obtaining the target curve by performing the curve fitting on the first corresponding relationship and the second corresponding relationship comprises:
obtaining a processed corresponding relationship by combining the first corresponding relationship and the second corresponding relationship; and
obtaining the target curve, by performing curve fitting on the processed corresponding relationship using a linear equation with one unknown.
7 . The method according to claim 4 , wherein after determining the intrinsic SNR value of the system, the method further comprises:
obtaining the GSNR indicator based on the intrinsic SNR value of the system and the second corresponding relationship.
8 . The method according to claim 1 , wherein the transmitting end and the receiving end transmit an optical signal via N optical channels, N being an integer greater than or equal to 2; and the method further comprises:
selecting and determining a test channel from the N optical channels;
wherein obtaining the first test result and the second test result comprises:
testing the preset indicators of the system in the first test environment by adjusting an optical channel power of the test channel for at least three times, to obtain at least three sets of indicator data in the first test environment, and testing the preset indicators of the system in the second test environment by adjusting the optical channel power of the test channel for at least three times, to obtain at least three sets of indicator data in the second test environment; wherein each set of indicator data comprises a Q value and a linear SNR value; and
determining the at least three sets of indicator data obtained in the first test environment as the first test result, and determining the at least three sets of indicator data obtained in the second test environment as the second test result.
9 . An electronic device, comprising:
a processor, and
a memory storing a computer program executable by the processor,
wherein the processor is configured to:
obtain a first test result by testing preset indicators of a repeated Open Cable system in a first test environment, and obtain a second test result by testing the preset indicators of the repeated Open Cable system in a second test environment, wherein the preset indicators comprise a quality factor Q value and a linear SNR;
determine an external SNR value of the system based on the first test result and the second test result; and
determine an intrinsic SNR value of the system based on the external SNR value, the linear SNR, a nonlinear SNR, and a guided acousto-optic wave Brillouin scattering (GAWBS) SNR.
10 . A non-transitory computer-readable storage medium with a instructions stored thereon, wherein when the instructions are executed by a processor, a method for determining a performance indicator is implemented, the method comprising:
obtaining a first test result by testing preset indicators of a repeated Open Cable system in a first test environment, and obtaining a second test result by testing the preset indicators of the repeated Open Cable system in a second test environment, wherein the preset indicators comprise a quality factor Q value and a linear SNR;
determining an external SNR value of the system based on the first test result and the second test result; and
determining an intrinsic SNR value of the system based on the external SNR value, the linear SNR, a nonlinear SNR, and a guided acousto-optic wave Brillouin scattering (GAWBS) SNR.
11 . The electronic device according to claim 9 , wherein the system comprises a transmitting end and a receiving end, the first test environment represents an environment where the transmitting end and the receiving end are connected via a tail fiber with a length less than a set value; and the second test environment represents an environment where the transmitting end and the receiving end are connected via an actual transmission line.
12 . The electronic device according to claim 11 , wherein the processor is further configured to:
determine a first test curve based on the first test result, wherein the first test curve is configured to represent a corresponding relationship between Q values and linear SNRs of the system in the first test environment;
determine a second test curve based on the second test result, wherein the second test curve is configured to represent a corresponding relationship between Q values and linear SNRs of the system in the second test environment; and
determine the external SNR value of the system based on the first test curve and the second test curve.
13 . The electronic device according to claim 12 , wherein the processor is further configured to:
obtain a target Q value meeting a performance requirement on the second test curve;
determine a target linear SNR value corresponding to the target Q value on the first test curve; and
determine the target linear SNR value as the external SNR value of the system.
14 . The electronic device according to claim 9 , wherein the processor is further configured to:
determine a first corresponding relationship among a generalized signal noise ratio (GSNR) indicator, the linear SNR, the nonlinear SNR, and the GAWBS SNR;
determine a second corresponding relationship among the external SNR value, the GSNR indicator and the intrinsic SNR value of the system; and
determine the intrinsic SNR value of the system based on the first corresponding relationship and the second corresponding relationship.
15 . The electronic device according to claim 14 , wherein the processor is further configured to:
obtain a target curve by performing curve fitting on the first corresponding relationship and the second corresponding relationship; and
determine the intrinsic SNR value of the system based on an intersection point between the target curve and a longitudinal coordinate axis.
16 . The electronic device according to claim 15 , wherein the processor is further configured to:
obtain a processed corresponding relationship by combining the first corresponding relationship and the second corresponding relationship; and
obtain the target curve, by performing curve fitting on the processed corresponding relationship using a linear equation with one unknown.
17 . The electronic device according to claim 12 , wherein after determining the intrinsic SNR value of the system, the processor is further configured to:
obtain the GSNR indicator based on the intrinsic SNR value of the system and the second corresponding relationship.
18 . The electronic device according to claim 9 , wherein the transmitting end and the receiving end transmit an optical signal via N optical channels, N being an integer greater than or equal to 3;
wherein the processor is further configured to:
select a test channel from the N optical channels;
test the preset indicators of the system in the first test environment by adjusting an optical channel power of the test channel for at least three times, to obtain at least three sets of indicator data in the first test environment, and test the preset indicators of the system in the second test environment by adjusting the optical channel power of the test channel for at least three times, to obtain at least three sets of indicator data in the second test environment; wherein each set of indicator data comprises a Q value and a linear SNR value; and
determine the at least three sets of indicator data obtained in the first test environment as the first test result, and determining the at least three sets of indicator data obtained in the second test environment as the second test result.