CWDM semi-active loss test system, method, calibration method, equipment and medium
By designing an automated CWDM semi-active loss testing system, and using optical units to automatically detect and calibrate, the problem of low power loss testing efficiency and accuracy in the prior art is solved, and efficient and accurate loss detection and calibration is achieved.
Patent Information
- Application Number
- CN202310199341.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2043-03-03
AI Technical Summary
In the prior art, the power loss testing efficiency and accuracy of CWDM semi-active series products are low, and manual operation is required, and there are problems of calculation errors and inefficiency.
A loss testing system based on CWDM is designed, including a first test unit and a second test unit, and the channel is automatically calculated and switched through the optical emitting unit, the optical power detection unit, the optical multiplexing unit and the optical path selection unit. Power loss detection and calibration are performed in combination with linear regression algorithm.
Automatic power loss detection and calibration is realized, which avoids calculation errors in manual operations, improves detection and calibration efficiency, and improves the accuracy and efficiency of testing.
Smart Images

Figure CN116208243B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a loss test system, method, calibration method, equipment and medium based on CWDM semi-active. Background Art
[0002] 5G fronthaul bearer solutions are mainly divided into optical fiber direct drive solutions and wavelength division equipment bearer solutions.
[0003] It is understandable that if the 5G fronthaul bearer solution adopts the traditional fiber direct connection solution, in many cases, it will not only consume a large number of fiber cores, but also require the replacement of optical modules. In this way, the cost of the fiber direct connection fronthaul solution will be significantly higher than the passive wavelength division solution, and the fiber direct connection solution is often limited by the fiber core resources. Therefore, passive wavelength division has been more widely used in 5G fronthaul. However, if the passive wavelength division solution is adopted, there is no protection method when the link fails. In order to solve the management and protection problems of the fiber link, a semi-active wavelength division fronthaul solution has emerged.
[0004] Among them, the semi-active wavelength division fronthaul solution includes a semi-active wavelength division fronthaul solution based on CWDM, corresponding to the semi-active system based on CWDM. The semi-active system based on CWDM needs to be connected in series to the line, and mainly integrates the optical power detection function. Under this function, the semi-active system based on CWDM can specifically monitor the optical power changes in two directions. This function includes two key points: one is that there are strict requirements for the loss of semi-active equipment in the line; the other is that there are strict requirements for the monitoring performance of semi-active equipment in the line, and accurate monitoring is required. Therefore, the two indicators of loss and optical accuracy of the semi-active series products must be strictly controlled.
[0005] The inventors have at least discovered that: in the related art, the power loss test for CWDM semi-active series products is a manual operation, and the test efficiency and accuracy are low. Summary of the invention
[0006] One purpose of the present application is to provide a CWDM semi-active based loss test system, method, calibration method, equipment and medium, at least to solve the technical problem in the related art that the power loss test efficiency and accuracy of CWDM semi-active series products are low.
[0007] To achieve the above-mentioned object, some embodiments of the present application provide a loss test system based on CWDM semi-active, the system comprising a first test unit and / or a second test unit, the first test unit and the second test unit are used to perform loss test on the CWDM device under test respectively;
[0008] The first test unit includes a first optical transmission unit and a first optical power detection unit; the output end of the first optical transmission unit is connected to the input end of the CWDM device under test, and the output end of the CWDM device under test is connected to the input end of the first optical power detection unit;
[0009] The second test unit includes a second optical transmitting unit, an optical multiplexing unit, an optical routing unit and a second optical power detection unit; the output end of the second optical transmitting unit is connected to the input end of the optical multiplexing unit, the output end of the optical multiplexing unit is connected to the input end of the CWDM device under test, the output end of the CWDM device under test is connected to the input end of the optical routing unit, and the output end of the optical routing unit is connected to the input end of the second optical power detection unit.
[0010] Some embodiments of the present application further provide a CWDM semi-active loss test method, which is applied to any system as described above, and the method includes:
[0011] When the CWDM device under test is tested by the first test unit, the first optical transmission unit transmits an optical wave of a first transmission power corresponding to a target channel; obtains a first detection power measured by the first optical power detection unit; and determines a power loss of the CWDM device under test based on the target channel in a first direction according to the first transmission power and the first detection power;
[0012] When the CWDM device under test is tested by the second test unit, the second optical transmitting unit transmits an optical wave of a second transmitting power corresponding to the target channel, and after the optical multiplexing unit combines the received optical waves, the optical routing unit performs routing so that the channel corresponding to the target channel is connected to the second optical power detection unit; the second detection power measured by the second optical power detection unit, the first power loss of the optical multiplexing unit and the second power loss of the optical routing unit are obtained; and the power loss of the CWDM device under test based on the target channel in the second direction is determined according to the second transmitting power, the second detection power, the first power loss and the second power loss.
[0013] Some embodiments of the present application further provide a CWDM semi-active based loss calibration method, which is applied to any of the above systems, and the method includes:
[0014] When the CWDM device under test is tested by the first test unit, a first sampling value of the CWDM device under test in a target channel is obtained; a first optical power value of the first optical power detection unit is obtained; wherein the first optical power value is a value obtained after removing the influence of the power loss of the CWDM device under test; a first parameter value of the CWDM device under test is determined by combining a linear regression algorithm, the first sampling value and the first optical power value; and according to the first parameter value, the power loss of the CWDM device under test in a first direction based on the target channel is calibrated;
[0015] When the CWDM device under test is tested by the second test unit, a second sampling value of the CWDM device under test in the target channel is obtained; a second optical power value of the second optical power detection unit is obtained; wherein the second optical power value is a value obtained by removing the influence of the power loss of the optical routing unit; a second parameter value of the CWDM device under test is determined by combining the linear regression algorithm, the second sampling value and the second optical power value; and according to the second parameter value, the power loss of the CWDM device under test in the second direction based on the target channel is calibrated.
[0016] Some embodiments of the present application also provide an electronic device, comprising: one or more processors; and a memory storing computer program instructions, wherein the computer program instructions, when executed, cause the processor to perform any of the methods described above.
[0017] Some embodiments of the present application further provide a computer-readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement any of the methods described above.
[0018] Compared with the prior art, in the solution provided in the embodiment of the present application, the optical power loss test in two directions can be completed for the CWDM device under test through the first test unit and / or the second test unit respectively; since the power loss of the CWDM device under test in each channel can be automatically calculated through the relevant parameter values of the system hardware structure, and different channels are automatically switched until the loss detection of the required channel is completed, during the whole process, the relevant staff only need to start the program, and there is no need to manually perform the plug-in and unplug switching of the relevant ports and manual calculation operations, so that not only the calculation errors caused by human errors can be avoided, but also the detection efficiency of power loss can be improved. Furthermore, the system can also be combined with a linear regression algorithm to automatically calibrate the power of the CWDM device under test according to the first test unit and / or the second test unit. In this process, calculation errors caused by human errors can also be avoided, and the calibration efficiency of power loss can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 An exemplary structural diagram of a first test unit provided in an embodiment of the present application;
[0020] Figure 2 An exemplary structural diagram of a second test unit provided in an embodiment of the present application;
[0021] Figure 3 An exemplary structural diagram of another first test unit provided in an embodiment of the present application;
[0022] Figure 4 An exemplary structural diagram of another second test unit provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of a specific application example of the first test unit provided by an embodiment of the present application;
[0024] Figure 6 A schematic diagram of a specific application example of the second test unit provided by the embodiment of the present application;
[0025] Figure 7 An exemplary flow chart of testing the CWDM device under test in the first test unit provided in an embodiment of the present application;
[0026] Figure 8 An exemplary flow chart of testing the CWDM device under test in the second test unit provided in an embodiment of the present application;
[0027] Fig. 9 An exemplary flow chart of calibrating the CWDM device under test in the first test unit provided in an embodiment of the present application;
[0028] Fig.10 An exemplary flow chart of calibrating the CWDM device under test in the second test unit provided in an embodiment of the present application;
[0029] Fig.11 An exemplary schematic diagram of calibrating the CWDM device under test in the second test unit provided in an embodiment of the present application
[0030] Fig.12 An exemplary structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] The following terms are used in this article.
[0033] CWDM, short for Coarse Wavelength Division Multiplexer, is a low-cost WDM transmission technology for the access layer of metropolitan area networks. In principle, CWDM uses an optical multiplexer to multiplex optical signals of different wavelengths into a single optical fiber for transmission. At the receiving end of the link, an optical demultiplexer is used to decompose the mixed signal in the optical fiber into signals of different wavelengths and connect them to the corresponding receiving device.
[0034] SCU, system control unit, full name in English: System Control Unit.
[0035] OMU-C, optical multiplexing unit, the full English name is Optical Multiplex Unit, where C stands for CWDM.
[0036] OTU-C, optical transmitter unit, the English full name is Optical Transmitter Unit, where C stands for CWDM.
[0037] OSU, optical switching unit, the full name of which is Optical Switch Unit.
[0038] OPMU, optical power measurement unit, the full name of English is Optical Power Meter Unit.
[0039] PC, personal computer, the full English name is Personal Computer.
[0040] Embodiment 1
[0041] The embodiment of the present application provides a loss test system based on CWDM semi-active, the system comprising a first test unit and / or a second test unit, the first test unit and the second test unit are used to perform loss test on the CWDM device under test respectively;
[0042] See also Figure 1As shown, the first test unit includes a first optical transmission unit OTU-C and a first optical power detection unit OPMU; the output end of the first optical transmission unit OTU-C is connected to the input end of the CWDM device under test, and the output end of the CWDM device under test is connected to the input end of the first optical power detection unit OPMU.
[0043] See also Figure 2 As shown, the second test unit includes a second optical transmission unit OTU-C, an optical multiplexing unit OMU-C, an optical routing unit OSU and a second optical power detection unit OPMU; the output end of the second optical transmission unit OTU-C is connected to the input end of the optical multiplexing unit OMU-C, the output end of the optical multiplexing unit OMU-C is connected to the input end of the CWDM device under test, the output end of the CWDM device under test is connected to the input end of the optical routing unit OSU, and the output end of the optical routing unit OSU is connected to the input end of the second optical power detection unit OPMU.
[0044] The CWDM device under test may specifically be a CWDM board or device under test.
[0045] In some embodiments of the present application, the CWDM device under test is a CWDM device under test with a measured wavelength between 1271 and 1491 nm, and the wavelength interval may be 20 nm.
[0046] In some embodiments of the present application, the number of measured wavelengths of the measured CWDM device includes any one of the following: 6 wavelengths, 12 wavelengths, and 18 wavelengths.
[0047] In some embodiments of the present application, the first optical transmission unit OTU-C, the CWDM device under test and the first optical power detection unit OPMU are all connected by optical fiber, which is specifically manifested as follows: Figure 1 The second optical transmission unit OTU-C, the optical multiplexing unit OMU-C, the CWDM device under test, the optical routing unit OSU and the second optical power detection unit OPMU are all connected by optical fiber, which is specifically shown as follows: Figure 2 The solid line in .
[0048] Further, in Figure 1 and Figure 2 In the example shown, three solid lines represent multiple optical fiber connections, and the solid arrows indicate the direction of light wave transmission.
[0049] It should be noted that the first test unit and the second test unit belong to two parallel connection modes. For the CWDM device under test, the tests of the first test unit and the second test unit need to be completed separately. There is no restriction on the order of the tests of the first test unit and the second test unit. After the tests of the first test unit and the second test unit are passed, the test can be regarded as successful; if the loss abnormality is tested after the test of the first test unit, it is judged as abnormal and the test of the second test unit may not be performed; similarly, if the loss abnormality is tested after the test of the second test unit, it is judged as abnormal and the test of the first test unit may not be performed.
[0050] It can be understood that in the related art test process of the CWDM device under test, it is necessary to manually switch multiple test wavelengths and manually replace the fiber jumper, and the final test data is often wrong due to the wrong selection of the fiber jumper port. Specifically, in the related art test process, it is usually necessary to manually select one port at a time to test one wavelength. Therefore, if it is necessary to test optical signals of multiple wavelengths, it is necessary to manually plug and unplug the fiber jumper multiple times, and the cumulative test time for each port is relatively long. Due to the multiple plugging and unplugging of the fiber jumper and the long test time for each channel, the entire measurement process takes a long time, which affects the efficiency of the test; in addition, the writing of the test data obtained in the existing test process is also a manual operation, so the test efficiency and accuracy are low.
[0051] It is not difficult to find that, compared with the prior art, in the solution provided by the embodiment of the present application, the optical power loss test in two directions can be completed for the CWDM device under test through the first test unit and / or the second test unit respectively; since the power loss of the CWDM device under test in each channel can be automatically calculated through the relevant parameter values of the system hardware structure, and different channels are automatically switched until the loss detection of the required channel is completed, during the whole process, the relevant staff only need to start the program, without the need to manually perform the plug-in and unplug switching of the relevant ports and manual calculation operations, thus not only avoiding calculation errors caused by human errors, but also improving the detection efficiency of power loss. Furthermore, the system can also combine the linear regression algorithm to automatically perform power calibration on the CWDM device under test according to the first test unit and / or the second test unit, which can also avoid calculation errors caused by human errors and improve the calibration efficiency of power loss.
[0052] Embodiment 2
[0053] Embodiment 2 is an improvement made on the basis of embodiment 1.
[0054] like Figure 3As shown, the first test unit may also include a first system control unit SCU; the first system control unit SCU is respectively communicated with the first optical transmission unit OTU-C, the CWDM device under test and the first optical power detection unit OPMU.
[0055] like Figure 4 As shown, the second test unit may also include a second system control unit SCU; the second system control unit SCU is respectively communicated with the second optical transmission unit OTU-C, the optical multiplexing unit OMU-C, the CWDM device under test, the optical routing unit OSU and the second optical power detection unit OPMU.
[0056] Further, in Figure 3 and Figure 4 In the example shown, the communication connection is represented by Figure 3 and Figure 4 The dotted lines in the figure specifically represent Ethernet connections, and the dotted arrows represent management channels.
[0057] In some examples, the first system control unit SCU and the second system control unit SCU may be respectively connected to a PC for communication. The PC may be the same PC or two different PCs, which is not specifically limited here.
[0058] It is not difficult to find that in the solution provided in the embodiment of the present application, the automatic control of the first test unit and the second test unit is respectively implemented by the first system control unit SCU and the second system control unit SCU, providing a more flexible automatic control method.
[0059] Embodiment 3
[0060] For ease of understanding, the embodiments of the present application provide a specific application example of a loss test system based on CWDM semi-active according to Embodiment 1 and / or Embodiment 2.
[0061] For the first test unit, please refer to Figure 5As shown. In this example, the first optical transmission unit OTU-C includes 12 channels, and the wavelengths corresponding to the 12 channels are 1271nm, 1291nm, 1311nm, 1331nm, 1351nm, 1371nm, 1391nm, 1411nm, 1431nm, 1451nm, 1471nm, and 1491nm. The first optical transmission unit OTU-C can obtain and transmit light waves with transmission power of the wavelengths corresponding to the 12 channels, and after testing one of the channels of the CWDM device under test, it can automatically close the currently opened channel, stop the light wave with transmission power of the current wavelength, and automatically open another channel to transmit the light wave with transmission power of the wavelength corresponding to the other channel until the test of each channel is completed.
[0062] Each port of the first optical transmission unit OTU-C is connected to the port of the CWDM device under test corresponding to the wavelength, and the COM interface of the CWDM device under test is connected to the first optical power detection unit OPMU. The detection wavelength can be set through the first optical power detection unit OPMU, and the optical power of the current channel can also be obtained through the first optical power detection unit OPMU.
[0063] For the second test unit, please refer to Figure 6 As shown. In this example, the second optical transmission unit OTU-C includes 12 channels, and the wavelengths corresponding to the 12 channels are 1271nm, 1291nm, 1311nm, 1331nm, 1351nm, 1371nm, 1391nm, 1411nm, 1431nm, 1451nm, 1471nm, and 1491nm. The second optical transmission unit OTU-C can obtain and transmit light waves with transmission power of the wavelengths corresponding to the 12 channels, and after testing one of the channels of the CWDM device under test, it can automatically close the currently opened channel, stop the light wave with transmission power of the current wavelength, and automatically open another channel to transmit the light wave with transmission power of the wavelength corresponding to the other channel until the test of each channel is completed.
[0064] Furthermore, each port of the first optical transmission unit OTU-C is connected to a port of the optical multiplexing unit OMU-C corresponding to a wavelength, and the optical multiplexing unit OMU-C includes 12 channels, and the wavelengths corresponding to the 12 channels are 1271nm, 1291nm, 1311nm, 1331nm, 1351nm, 1371nm, 1391nm, 1411nm, 1431nm, 1451nm, 1471nm, and 1491nm. The function of the optical multiplexing unit OMU-C is to combine light waves of different wavelengths into a COM interface, which not only facilitates automated testing, but also reduces the cost of repeated replacement of optical fiber ribbons.
[0065] In some other examples, the first optical transmission unit OTU-L may include 6 channels.
[0066] It is understandable that the introduction of the optical multiplexing unit OMU-C will cause certain losses. Therefore, the loss of the optical multiplexing unit OMU-C may be tested in advance during the test process. For example, the loss value of the optical multiplexing unit OMU-C is Δa.
[0067] The optical multiplexing unit OMU-C is connected to the CWDM device under test via a COM interface, the CWDM device under test is connected to the optical routing unit OSU, and the optical routing unit OSU is connected to the first optical power detection unit OPMU via a COM interface.
[0068] The optical routing unit OSU includes at least 6 channels. When the optical routing unit OSU is working, only one channel is connected to the COM interface of the optical routing unit OSU.
[0069] The detection wavelength may be set through the second optical power detection unit OPMU, and the optical power of the current channel may also be acquired through the second optical power detection unit OPMU.
[0070] It can be understood that the introduction of the optical routing unit OSU will bring about certain losses. Therefore, the loss of the optical routing unit OSU may be tested in advance during the test process. For example, the loss value of the optical routing unit OSU is Δb.
[0071] Embodiment 4
[0072] In some embodiments of the present application, a loss test method based on CWDM semi-active is also provided, which is applied to the system described in any one or more of the above embodiments. The method may include two stages, namely the first stage and the second stage:
[0073] In the first stage, the CWDM device under test is tested in the first test unit, which may include the following steps: Figure 7 As shown:
[0074] Step S101: the first optical transmitting unit transmits an optical wave with a first transmitting power corresponding to a target channel.
[0075] Step S102: Acquire a first detection power measured by the first optical power detection unit.
[0076] Step S103: determining the power loss of the CWDM device under test based on the target channel in a first direction according to the first transmission power and the first detection power.
[0077] The application example provided in the third embodiment is used for illustration.
[0078] Combination Figure 5 As shown, taking the optical wave with the emission power corresponding to the wavelength of 1331nm emitted by the first optical transmitting unit OTU-C as an example, during the test, the first system control unit SCU can automatically close the ports corresponding to other channels to emit the optical waves with the corresponding emission power, and the first system control unit SCU can read the first emission power P1 on the port corresponding to 1331nm of the first optical transmitting unit OTU-C, and then read the optical power value on the first optical power detection unit OPMU, that is, the first detection power P, and take the absolute value of the difference between the first emission power P1 and the first detection power P, so as to determine the power loss of the CWDM device under test based on the target channel in the first direction. Specifically, the power loss value is Δ, Δ=|P-P1|.
[0079] Afterwards, the first system control unit SCU can automatically control the loss test of each channel in sequence or according to a preset order: control the first optical transmission unit OTU-C to turn off the optical wave transmission of the channel currently tested, and transmit the optical wave of the transmission power of the wavelength corresponding to another channel, and then automatically adjust the wavelength value of the first optical power detection unit OPMU accordingly, and read the optical power value of the first optical power detection unit OPMU, that is, the first detection power... and so on, the power loss of each channel can be obtained. Specifically, the power loss value is ΔX, ΔX = |P1-P X |, X represents the corresponding channel.
[0080] Furthermore, the first system control unit SCU may automatically record the power loss of each channel and send it to a display terminal such as a PC for display.
[0081] In some embodiments of the present application, the method may further include: comparing the power loss based on the target channel in the first direction with a preset threshold, and when the power loss of the target channel in the first direction is greater than the preset threshold, marking it and issuing an abnormal notification.
[0082] Further, if the test result of the CWDM device under test in the first test unit is abnormal, the second stage test may not be performed; otherwise, the second stage test needs to be performed.
[0083] In the second stage, when the CWDM device under test is tested by the second test unit, the following steps may be included: Figure 8 As shown:
[0084] Step S201, the second optical transmitting unit transmits an optical wave of a second transmitting power corresponding to the target channel, and after the optical multiplexing unit multiplexes the received optical waves, the optical routing unit performs routing so that the channel corresponding to the target channel is connected to the second optical power detection unit.
[0085] Step S202: Acquire a second detection power measured by the second optical power detection unit, a first power loss of the optical multiplexing unit, and a second power loss of the optical routing unit.
[0086] Step S203: determining the power loss of the CWDM device under test based on the target channel in the second direction according to the second transmission power, the second detection power, the first power loss and the second power loss.
[0087] Here, the application example provided in the third embodiment is still used for explanation.
[0088] Combination Figure 6 As shown, taking the optical wave with the emission power corresponding to the emission wavelength of 1271nm of the second optical transmitting unit OTU-C as an example, during the test, the second system control unit SCU test can automatically close the ports corresponding to other channels to transmit the optical waves with the corresponding emission power, and the second system control unit SCU can read the second emission power P1 on the port corresponding to 1271nm of the second optical transmitting unit OTU-C, and then read the optical power value on the second optical power detection unit OPMU, that is, the first detection power P; in addition, the loss value of the optical multiplexing unit can be measured in advance as Δa, and the loss value of the optical routing unit OSU can be measured as Δb, thereby, according to the formula: Δ=|P-P1|-Δa-Δb, the power loss of the CWDM device under test based on the target channel in the second direction can be determined.
[0089] Afterwards, the second system control unit SCU can automatically control the loss test of each channel in sequence or according to a preset order: control the second optical transmission unit OTU-C to turn off the optical wave transmission of the channel currently tested, transmit the optical wave of the transmission power of the wavelength corresponding to another channel, and then adjust the optical routing unit OSU to the corresponding channel, and then automatically adjust the wavelength value of the second optical power detection unit OPMU accordingly, and read the optical power value of the second optical power detection unit OPMU, that is, the second detection power... and so on, the power loss of each channel can be obtained. Specifically, the power loss value is ΔX, ΔX = |P1-P X |-Δa X -Δb X , X represents the corresponding channel.
[0090] It should be noted that, in some other examples, during testing, due to the different directions of light waves and the function of the optical routing unit OSU, the second system control unit SCU may not automatically shut down the ports corresponding to other channels that transmit light waves of corresponding transmission power. In other words, the ports corresponding to multiple channels can simultaneously transmit light waves of their respective corresponding transmission powers. It is only necessary to adjust the channel of the optical routing unit OSU, and it will not affect the test effect of the second test unit.
[0091] Furthermore, the second system control unit SCU may automatically record the power loss of each channel and send it to a display terminal such as a PC for display.
[0092] In some embodiments of the present application, the method may further include: comparing the power loss based on the target channel in the second direction with a preset threshold, and when the power loss of the target channel in the second direction is greater than the preset threshold, marking it and issuing an abnormal notification.
[0093] Further, if the test result of the CWDM device under test in the second test unit is abnormal, the first stage test may not be performed; otherwise, the first stage test needs to be performed.
[0094] It should be noted that there is no restriction on the order of the above two phases of testing.
[0095] Embodiment 4
[0096] In some embodiments of the present application, a loss calibration method based on CWDM semi-active is also provided, which is applied to the system described in any one or more of the above embodiments. The method may include two stages:
[0097] In the first stage, when the CWDM device under test is tested in the first test unit, the following steps may be included: Fig. 9 As shown:
[0098] Step S301, obtaining a first sampling value of the CWDM device under test on a target channel.
[0099] Step S302, obtaining a first optical power value of the first optical power detection unit; wherein the first optical power value is a value obtained by removing the influence of the power loss of the CWDM device under test.
[0100] Step S303: Determine a first parameter value of the CWDM device under test by combining a linear regression algorithm, the first sampling value and the first optical power value.
[0101] Step S304: Calibrate the power loss of the CWDM device under test based on the target channel in a first direction according to the first parameter value.
[0102] The application example provided in the third embodiment is used for illustration.
[0103] Combination Figure 5 As shown, taking the optical wave with the emission power corresponding to the wavelength of 1331nm emitted by the first optical transmitting unit OTU-C as an example, during the test, the first system control unit SCU can automatically close the ports corresponding to other channels to emit the optical wave with the corresponding emission power, and obtain the chip sampling value of the current channel on the CWDM device under test as the first sampling value, and detect the optical power value based on the wavelength of 1311nm on the first optical power detection unit OPMU as the first optical power value; adjust the first optical transmitting unit OTU-C to emit optical waves with emission powers corresponding to different wavelengths, and repeatedly record the first sampling value (first AD value) and the first optical power value, as shown in Table 1 below. A total of 8 groups of data are recorded in this example.
[0104] It is worth mentioning that in some other examples, more or fewer groups of data can be recorded, and the embodiments of the present application do not specifically limit this, and the relevant staff can determine the number of groups according to actual needs. However, those skilled in the art should know that the more groups there are, the higher the accuracy of the obtained parameters, and the corresponding time consumption is also longer.
[0105] Serial number First AD value The first optical power value 1 AD1 P1 2 AD2 P2 3 AD3 P3 4 AD4 P4 5 AD5 P5 6 AD6 P6 7 AD7 P7 8 AD8 P8
[0106] Table 1
[0107] It should be noted that the first optical power value is the value obtained after removing the influence of the power loss of the CWDM device under test, rather than the value directly read by the first optical power detection unit OPMU. X =P X+ΔX, ΔX is the power loss of the CWDM under test.
[0108] Furthermore, combined with the linear regression algorithm: a×AD X +b=P X , by substituting the first sampling value and the first optical power value obtained above into the formula, the values of parameter a and parameter b can be obtained, and the values of parameter a and parameter b are the first parameter values, and the values of parameter a and parameter b can be automatically written into the CWDM device under test.
[0109] Afterwards, automatic power calibration of the optical wave of the CWDM device under test in the first direction can be implemented according to the parameter a and the parameter b.
[0110] In the second stage, when the CWDM device under test is tested in the second test unit, the following steps may be included: Fig.10 As shown:
[0111] Step S401, obtaining a second sampling value of the CWDM device under test on the target channel.
[0112] Step S402, obtaining a second optical power value of the second optical power detection unit; wherein the second optical power value is a value obtained by removing the influence of the power loss of the optical routing unit.
[0113] Step S403: Determine a second parameter value of the CWDM device under test by combining the linear regression algorithm, the second sampling value and the second optical power value.
[0114] Step S404: Calibrate the power loss of the CWDM device under test based on the target channel in the second direction according to the second parameter value.
[0115] Here, the application example provided in the third embodiment is still used for explanation.
[0116] Combination Figure 6 and Fig.11 As shown, taking the optical wave with the emission power corresponding to the wavelength of 1271nm emitted by the second optical transmitting unit OTU-C as an example, during the test, the second system control unit SCU can automatically close the ports corresponding to other channels to emit the optical wave with the corresponding emission power, and obtain the chip sampling value of the current channel on the CWDM device under test as the second sampling value, and detect the optical power value based on the wavelength of 1271nm on the second optical power detection unit OPMU as the second optical power value; adjust the second optical transmitting unit OTU-C to emit optical waves with emission powers corresponding to different wavelengths, and repeatedly record the second sampling value (first AD value) and the second optical power value, as shown in Table 2 below. A total of 8 groups of data are recorded in this example.
[0117]
[0118]
[0119] Table 2
[0120] It is worth mentioning that in some other examples, more or fewer groups of data can be recorded, and the embodiments of the present application do not specifically limit this, and the relevant staff can determine the number of groups according to actual needs. However, those skilled in the art should know that the more groups there are, the higher the accuracy of the obtained parameters, and the corresponding time consumption is also longer.
[0121] It should be noted that the second optical power value is a value obtained by removing the influence of the power loss of the optical routing unit OSU, rather than a value directly read by the second optical power detection unit OPMU. X =P X +Δb, Δb is the power loss of the optical routing unit OSU in each channel.
[0122] Furthermore, combined with the linear regression algorithm: a×AD X +b=P X , by substituting the second sampling value and the second optical power value obtained above into the formula, the values of parameter a and parameter b can be obtained, and the values of parameter a and parameter b are the second parameter values, and the values of parameter a and parameter b can be automatically written into the CWDM device under test.
[0123] Afterwards, automatic power calibration of the optical wave of the CWDM device under test in the second direction can be implemented according to the parameter a and the parameter b.
[0124] It is not difficult to find that the CWDM semi-active loss calibration method provided in the embodiment of the present application can calibrate the detection accuracy of the optical power of the CWDM device under test by linear regression and improve the calibration accuracy.
[0125] In addition, an embodiment of the present application also provides an electronic device, the structure of which is as follows: Fig.12 As shown, the device includes a memory 11 for storing computer-readable instructions and a processor 12 for executing computer-readable instructions, wherein when the computer-readable instructions are executed by the processor, the processor is triggered to execute the virtual content distribution method.
[0126] The methods and / or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the processing unit, the above functions defined in the method of the present application are executed.
[0127] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0128] In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0129] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0130] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] As another aspect, the embodiments of the present application further provide a computer-readable medium, which may be included in the device described in the above embodiments; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more computer-readable instructions, which may be executed by a processor to implement the steps of the methods and / or technical solutions of the above multiple embodiments of the present application.
[0132] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.
[0133] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0134] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0135] In addition, an embodiment of the present application further provides a computer program, which is stored in a computer device, so that the computer device executes the method for controlling code execution.
[0136] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In certain embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0137] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A loss test system based on CWDM semi-active, It is characterized in that The system comprises a first test unit and a second test unit, wherein the first test unit and the second test unit are used to respectively perform loss tests on the CWDM device under test; The first test unit includes a first light emitting unit and a first light power detection unit; The output end of the first optical transmission unit is connected to the input end of the CWDM device under test, and the output end of the CWDM device under test is connected to the input end of the first optical power detection unit; The second test unit includes a second optical transmission unit, an optical multiplexing unit, an optical routing unit, and a second optical power detection unit; The output end of the second optical transmission unit is connected to the input end of the optical multiplexing unit, the output end of the optical multiplexing unit is connected to the input end of the CWDM device under test, the output end of the CWDM device under test is connected to the input end of the optical routing unit, and the output end of the optical routing unit is connected to the input end of the second optical power detection unit; The first test unit and the second test unit are two parallel connection modes. For the CWDM device under test, the tests of the first test unit and the second test unit need to be completed respectively; if the tests of the first test unit and the second test unit are both passed, the test is successful; if the loss is abnormal after the test of the first test unit, it is determined to be abnormal, and the test of the second test unit is not performed; if the loss is abnormal after the test of the second test unit, it is determined to be abnormal, and the test of the first test unit is not performed; The system is used to automatically calculate the power loss of the CWDM device under test in each channel, and automatically switch different channels until the loss detection of the required channel is completed.
2. The system according to claim 1, It is characterized in that The first optical transmission unit, the CWDM device under test and the first optical power detection unit are all connected by optical fibers; The second optical transmitting unit, the optical multiplexing unit, the CWDM device under test, the optical routing unit and the second optical power detection unit are all connected by optical fibers.
3. The system according to claim 1, It is characterized in that The first test unit also includes a first system control unit; The first system control unit is respectively connected to the first optical transmitting unit, the CWDM device under test and the first optical power detection unit for communication; The second test unit also includes a second system control unit; the second system control unit is respectively connected to the second optical transmission unit, the optical multiplexing unit, the CWDM device under test, the optical routing unit and the second optical power detection unit for communication.
4. A system according to any one of claims 1 to 3, It is characterized in that The CWDM device under test is a CWDM device under test with a measured wavelength between 1271 and 1491 nm.
5. The system according to any one of claims 1 to 3, It is characterized in that The number of measured wavelengths of the measured CWDM device includes any one of the following: 6 wavelengths, 12 wavelengths, and 18 wavelengths.
6. A CWDM semi-active loss test method, applied to the system as claimed in any one of claims 1 to 5, It is characterized in that The method comprises: When the CWDM device under test is tested by the first test unit, the first optical transmission unit transmits an optical wave with a first transmission power corresponding to a target channel; Acquire a first detection power measured by the first optical power detection unit; Determining, according to the first transmission power and the first detection power, a power loss of the CWDM device under test based on the target channel in a first direction; When the CWDM device under test is tested by the second test unit, the second optical transmitting unit transmits an optical wave with a second transmitting power corresponding to the target channel, and after the optical multiplexing unit multiplexes the received optical waves, the optical routing unit performs routing so that the channel corresponding to the target channel is connected to the second optical power detection unit; Acquire a second detection power measured by the second optical power detection unit, a first power loss of the optical multiplexing unit, and a second power loss of the optical routing unit; The power loss of the CWDM device under test based on the target channel in the second direction is determined according to the second transmission power, the second detection power, the first power loss and the second power loss.
7. The method according to claim 6, It is characterized in that The method further comprises: comparing the power loss based on the target channel in the first direction and / or the power loss based on the target channel in the second direction with a preset threshold; When at least one of the power loss of the target channel in the first direction and / or the power loss of the target channel in the second direction is greater than the preset threshold, an abnormal notification is issued.
8. A loss calibration method based on CWDM semi-active, applied to the system as claimed in any one of claims 1 to 5, It is characterized in that The method comprises: When the CWDM device under test is tested by the first test unit, a first sampling value of the CWDM device under test in a target channel is obtained; Obtaining a first optical power value of the first optical power detection unit; wherein the first optical power value is a value obtained by removing the influence of the power loss of the CWDM device under test; Determine a first parameter value of the CWDM device under test by combining a linear regression algorithm, the first sampling value and the first optical power value; Calibrate the power loss of the CWDM device under test based on the target channel in a first direction according to the first parameter value; When the CWDM device under test is tested by the second test unit, obtaining a second sampling value of the CWDM device under test on the target channel; Acquire a second optical power value of the second optical power detection unit; wherein the second optical power value is a value obtained by removing the influence of the power loss of the optical routing unit; Determine a second parameter value of the CWDM device under test by combining the linear regression algorithm, the second sampling value and the second optical power value; According to the second parameter value, the power loss of the CWDM device under test based on the target channel in the second direction is calibrated.
9. An electronic device, It is characterized in that The device comprises: one or more processors; and A memory storing computer program instructions which, when executed, cause the processor to perform the method as claimed in any one of claims 6 to 8.
10. A computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 6 to 8.
