CN112887170A - OAM signal rate measuring and calculating method, device and system and computer readable storage medium - Google Patents

OAM signal rate measuring and calculating method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN112887170A
CN112887170A CN202110102423.4A CN202110102423A CN112887170A CN 112887170 A CN112887170 A CN 112887170A CN 202110102423 A CN202110102423 A CN 202110102423A CN 112887170 A CN112887170 A CN 112887170A
Authority
CN
China
Prior art keywords
signal
oam
rate
optical module
processing mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110102423.4A
Other languages
Chinese (zh)
Other versions
CN112887170B (en
Inventor
蒋昌明
蓝海涛
郑波
孙鼎
魏志坚
张伟
过开甲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Sont Communication Technology Co ltd
Shenzhen Xunte Communication Technology Co ltd
Original Assignee
Jiangxi Sont Communication Technology Co ltd
Shenzhen Xunte Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Sont Communication Technology Co ltd, Shenzhen Xunte Communication Technology Co ltd filed Critical Jiangxi Sont Communication Technology Co ltd
Priority to CN202110102423.4A priority Critical patent/CN112887170B/en
Publication of CN112887170A publication Critical patent/CN112887170A/en
Application granted granted Critical
Publication of CN112887170B publication Critical patent/CN112887170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The invention discloses a method for measuring and calculating OAM signal rate, which comprises the following steps: if receiving a starting instruction, starting an optical module with an OAM function so as to enable the optical module to send an OAM signal; detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type; inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal; and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform. The invention also discloses an OAM signal rate measuring and calculating device, a system and a computer readable storage medium. The invention can carry out standardized and systematized measurement and calculation on the OAM signal rate, so that the OAM signal rate has standardized measurement and calculation equipment and a standardized measurement and calculation scheme when the OAM signal rate is subjected to inter-factory communication test.

Description

OAM signal rate measuring and calculating method, device and system and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for measuring an OAM signal rate.
Background
With the development of 5G technology, in recent years, the construction of a 5G bearer network has attracted much attention, and a fronthaul network, which is a key path for connecting base stations in the bearer network, is one of the core technologies thereof. For 5G fronthaul, in order to save optical fiber resources, WDM (Wavelength Division multiplexing) is a mainstream scheme at present, and is specifically divided into passive, active, semi-active and other deployment modes, wherein the semi-active deployment scheme mainly solves the problem that who comes in management and how to manage and control a remote module or a network under the large-scale and high-density deployment condition of 5G fronthaul, and compared with passive WDM, the scheme has certain intelligence, is more humanized, does not need too many optical fiber resources, and has a total cost lower than that of active WDM, so that the semi-active deployment scheme is favored by the industry.
The optical module with operations Administration and Maintenance (Maintenance, abbreviated as OAM) functions is generally used as the most important device in a semi-active deployment scheme according to the actual needs of network Operation of an operator, and can not only transmit a main service signal but also transmit an OAM signal, wherein the OAM signal has functions of performing remote control management on a remote tower and the like.
The information carried by the OAM signal relates to the control and management of a remote tower or a base station device, so when an optical module with an OAM function leaves a factory, its rate needs to be measured to know whether the transmitted OAM signal is normal or not. However, the optical modules with OAM functions are provided by different manufacturers at present, and when inter-manufacturer intercommunication tests are performed, since there is no corresponding device or scheme to detect the OAM signal rate of the optical module of each provider, the accurate rate of the OAM signal sent by the module cannot be known.
Disclosure of Invention
The invention mainly aims to provide an OAM signal rate measuring and calculating method, a device, a system and a computer readable storage medium, aiming at solving the problem that optical modules with OAM functions do not have standardized test equipment and systems when being subjected to inter-factory intercommunication test.
In order to achieve the above object, the present invention provides an OAM signal rate measurement and calculation method, which includes the following steps:
if receiving a starting instruction, starting an optical module with an OAM function so as to enable the optical module to send an OAM signal;
detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type;
inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform.
Preferably, the step of starting the optical module with an OAM function to make the optical module send out an OAM signal includes:
starting the optical module and detecting whether the optical module works normally;
and if the optical module is detected to be incapable of working normally, inputting a preset signal into the optical module so as to enable the optical module to work normally and emit an OAM signal.
Preferably, the step of detecting the signal type of the OAM signal and determining the processing mode corresponding to the signal type includes:
detecting the signal type of the OAM signal, wherein the signal type comprises an optical signal and an electric signal;
if the OAM signal type is detected to be an optical signal, determining that the processing mode is a first processing mode;
and if the OAM signal type is detected to be an electric signal, determining that the processing mode is a second processing mode.
Preferably, based on the processing manner, the step of inputting the OAM signal into an oscilloscope to obtain a signal waveform corresponding to the OAM signal includes:
if the processing mode is a first processing mode, inputting the OAM signal into an optical-electrical signal conversion device, and converting the OAM signal into an OAM electrical signal based on the optical-electrical signal conversion device;
inputting the OAM electric signal into a filter device, and filtering clutter higher than a preset frequency in the OAM electric signal based on the filter device to obtain a target OAM electric signal;
inputting the target OAM electric signal into an oscilloscope to obtain a signal waveform of the target OAM electric signal;
and if the processing mode is the second processing mode, inputting the OAM signal into an oscilloscope to obtain the signal waveform of the OAM signal.
Preferably, the measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform includes:
calling the time measurement cursor of the oscilloscope, and marking out a time span value occupied by the number of preset code elements in the signal waveform based on the time measurement cursor;
and calculating the ratio of the number of the preset code elements to the time span value, and measuring and calculating the signal rate of the OAM signal based on the ratio.
Preferably, the step of measuring the signal rate of the OAM signal comprises:
calculating a difference value between the signal rate and a preset standard OAM rate, and comparing the difference value with a preset rate error range to determine a calibration result of the optical module;
and calibrating the signal rate of the optical module based on the calibration result.
Preferably, based on the calibration result, the calibrating the signal rate step comprises:
if the calibration result is not within the preset rate error range, adjusting the rate parameter of the optical module based on a preset adjustment parameter, and inputting the adjusted OAM signal of the optical module into an oscilloscope;
and circularly executing the step of determining the calibration result of the optical module until the calibration result is within a preset rate error range, and finishing the signal rate calibration of the optical module.
In addition, to achieve the above object, the present invention further provides an OAM signal rate measuring apparatus, including:
a starting module: if receiving a starting instruction, starting an optical module with an OAM function so as to enable the optical module to send an OAM signal;
a determination module: detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type;
an oscillography module: inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
the measuring and calculating module comprises: and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform.
Preferably, the determining module is further configured to:
detecting whether the optical module works normally;
if the optical module is detected to be incapable of working normally, inputting a preset signal into the optical module so as to enable the optical module to work normally and emit an OAM signal;
detecting the signal type of the OAM signal, wherein the signal type comprises an optical signal and an electric signal;
if the OAM signal type is detected to be an optical signal, determining that the processing mode is a first processing mode;
if the OAM signal type is detected to be an electric signal, determining that the processing mode is a second processing mode;
if the processing mode is a first processing mode, inputting the OAM signal into an optical-electrical signal conversion device, and converting the OAM signal into an OAM electrical signal based on the optical-electrical signal conversion device;
inputting the electrical signal into a filtering device, and filtering clutter higher than a preset frequency in the OAM electrical signal based on the filtering device to obtain a target OAM electrical signal;
and calibrating the signal rate of the optical module based on the calibration result.
Preferably, the oscillometric module is further configured to:
inputting the target OAM electric signal into an oscilloscope to obtain a signal waveform of the target OAM electric signal;
if the processing mode is a second processing mode, inputting the OAM signal into an oscilloscope to obtain the signal waveform of the target OAM electric signal;
and calling the time measurement cursor of the oscilloscope, and marking the time span value occupied by the number of preset code elements in the signal waveform based on the time measurement cursor.
Preferably, the gauging module is further configured to:
calculating the ratio of the number of the preset code elements to the time span value, and measuring and calculating the signal rate of the OAM signal based on the ratio;
if the calibration result is not within the preset rate error range, adjusting the rate parameter of the optical module based on a preset adjustment parameter, and inputting the adjusted OAM signal of the optical module into an oscilloscope;
and circularly executing the step of determining the calibration result of the optical module until the calibration result is within a preset rate error range, and finishing the signal rate calibration of the optical module.
In addition, to achieve the above object, the present invention further provides an OAM signal rate measuring and calculating system, including: the OAM signal rate estimation method comprises the steps of realizing the OAM signal rate estimation method when the OAM signal rate estimation program is executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores an OAM signal rate measurement program, and the OAM signal rate measurement program is executed by a processor to implement the steps of the OAM signal rate measurement method as described above.
According to the OAM signal rate measuring and calculating method provided by the invention, if a starting instruction is received, an optical module with an OAM function is started so as to enable the optical module to send an OAM signal; detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type; inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal; and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform. When the OAM signal rate is measured and calculated, the signal rate of the OAM signal is measured and calculated by respectively utilizing corresponding processing modes and signal waveforms displayed by an oscilloscope according to different signal types. The invention systematically measures and calculates the OAM signal rate, so that the optical module with the OAM function has standardized measuring and calculating equipment and system when the inter-factory communication test is carried out.
Drawings
FIG. 1 is a system diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of the OAM signal rate measurement method according to the present invention;
fig. 3 is a schematic diagram of a framework of an OAM signal rate measurement system constructed in accordance with the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a system structural diagram of a hardware operating environment according to an embodiment of the present invention.
The system of the embodiment of the invention comprises a terminal or a server device.
As shown in fig. 1, the system may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the system architecture shown in FIG. 1 is not intended to be limiting of the system, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an OAM signal rate measurement program.
The operation system is a program for managing and controlling the OAM signal rate measuring and calculating system and software resources, and supports the operation of a network communication module, a user interface module, the OAM signal rate measuring and calculating program and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the OAM signal rate measurement and calculation system shown in fig. 1, the OAM signal rate measurement and calculation system calls, through the processor 1001, an OAM signal rate measurement and calculation program stored in the memory 1005 and performs the operations in the various embodiments of the OAM signal rate measurement and calculation method described below.
Based on the hardware structure, the embodiment of the OAM signal rate measuring and calculating method is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of the OAM signal rate measurement method of the present invention, where the method includes:
step S10, if a start instruction is received, starting an optical module with an OAM function to enable the optical module to send an OAM signal;
step S20, detecting a signal type of the OAM signal, and determining a processing manner corresponding to the signal type;
step S30, inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
and step S40, measuring and calculating the signal rate of the OAM signal based on the time measuring cursor of the oscilloscope and the signal waveform.
The OAM signal rate measuring and calculating method of the embodiment is applied to an OAM signal rate measuring and calculating system of a communication technology related organization such as an optical module manufacturer with an OAM function or a testing organization, and the OAM signal rate measuring and calculating system may be a terminal or a PC device, and for convenience of description, the measuring and calculating system is taken as an example for description. For an optical module with an OAM function, a measuring and calculating system measures and calculates the rate of the optical module, and the specific measuring and calculating process comprises the following steps: firstly, sending a starting instruction to an optical module with an OAM function to enable the optical module to send an OAM signal; the measuring and calculating system detects the signal type of the sent OAM signal and determines different processing modes according to different signal types; the measurement and calculation system obtains an OAM signal which accords with measurement and calculation conditions through different processing modes, and then the OAM signal is input into the oscilloscope, so that a waveform corresponding to the OAM signal can be obtained; the measuring and calculating system calls a time measuring cursor of the oscilloscope to calibrate any section of the signal waveform to obtain a time span value, and then the signal rate of the corresponding OAM signal is measured and calculated through the time span value.
In the measurement and calculation system of the embodiment, when the OAM signal rate is measured and calculated, different processing modes are determined according to different signal types, then the signal waveform of the OAM signal conforming to the measurement and calculation standard is calibrated, and then the corresponding signal rate is measured and calculated, so that the optical module with the OAM function has a measurement and calculation system with strong compatibility when performing inter-factory communication testing.
The respective steps will be described in detail below:
step S10, if a start instruction is received, starting an optical module with an OAM function to enable the optical module to send an OAM signal;
in this embodiment, the measurement and calculation system sends a start instruction to the optical module with OAM function, where the start instruction may be directly input by a related operator or may be automatically generated by the measurement and calculation system, and the measurement and calculation system receives a signal that the optical module normally operates after sending the start instruction. And after receiving the starting instruction, the optical module starts to transmit an OAM signal. The optical module having the OAM function therein may transmit two types of signals of an optical signal and an electrical signal.
Step S20, detecting a signal type of the OAM signal, and determining a processing manner corresponding to the signal type;
in this embodiment, after an optical module with an OAM function transmits an OAM signal, an OAM signal rate measurement and calculation system detects a signal type of the OAM signal, where the signal type includes an optical signal and an electrical signal, and if it is detected that the signal type of the OAM signal is an optical signal, it determines that a processing mode is a first processing mode; if the signal type of the OAM signal is detected to be an electric signal, the processing mode is determined to be a second processing mode, and optical modules of different manufacturers can be subjected to standardized processing through different processing modes, so that the subsequent signal rate measurement and calculation are facilitated.
Specifically, detecting a signal type of the OAM signal, where the signal type includes an optical signal and an electrical signal;
if the signal type of the OAM signal is detected to be an optical signal, the optical module may emit an optical signal of the main service in addition to the OAM optical signal (the OAM optical signal is one of the OAM signals), and the two optical signals are mixed together, so in this case, the OAM signal is formed by the OAM optical signal and the main service optical signal together;
if the signal type of the OAM signal is detected to be an electrical signal, the optical module generally emits the OAM electrical signal (the OAM electrical signal is one of the OAM signals) alone in practical application, so the obtained OAM electrical signal has no other interference signals.
Specifically, if the OAM signal type is detected to be an optical signal, it is determined that the processing mode is a first processing mode;
and if the OAM signal type is detected to be an optical signal, using a first processing mode, wherein the first processing mode is a processing mode summarized by related technicians according to the generation mode and the signal characteristics of the OAM signal, and processing the OAM signal by using the photoelectric conversion equipment and the filtering equipment to finally obtain the OAM signal meeting the test standard.
Specifically, if it is detected that the OAM signal type is an electrical signal, it is determined that the processing manner is the second processing manner.
And if the OAM signal type is detected to be an electric signal, using a second processing mode, wherein the second processing mode is a processing mode summarized by related technical personnel according to the generation mode of the OAM signal and the common characteristics of an optical module generating the signal, and the OAM signal meeting the measurement condition can be obtained without a photoelectric conversion device and a filter device.
Step S30, inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
in this embodiment, after the measurement and calculation system determines the processing mode, if the processing mode is the first processing mode, the measurement and calculation system inputs the OAM signal into the optical-to-electrical conversion device, converts the OAM signal into an OAM electrical signal (the OAM electrical signal is converted from an OAM signal transmitted by an optical module with an OAM function, and the OAM signal transmitted by the optical module specifically includes an OAM optical signal and a main service optical signal, so the converted OAM electrical signal is a mixed signal), inputs the OAM electrical signal into the filtering device, filters out clutter higher than a preset frequency threshold according to a preset frequency threshold, obtains a target OAM electrical signal that meets a measurement condition, and inputs the target OAM electrical signal into the oscilloscope.
If the processing mode is the second processing mode, the target OAM electric signal which meets the measurement condition can be obtained without photoelectric conversion equipment and filter equipment; after the measurement and calculation system obtains the target OAM electric signal, the target OAM electric signal is directly input into the oscilloscope, and then the signal waveform of the corresponding OAM signal can be obtained.
Specifically, based on the processing manner, the step of inputting the OAM signal into an oscilloscope to obtain a signal waveform corresponding to the OAM signal includes:
step a, if the processing mode is a first processing mode, inputting the OAM signal into an optical-electrical signal conversion device, and converting the OAM signal into an OAM electrical signal based on the optical-electrical signal conversion device;
in this step, after the processing mode is determined to be the first processing mode, it may be determined that the signal type of the OAM signal is an optical signal, and since the optical signal cannot enter the filtering device, the measurement and calculation system needs to input the OAM signal into the photoelectric conversion device, and the OAM signal is converted into an OAM electrical signal by using the photoelectric conversion device, so as to perform the next operation of entering the filtering device.
B, inputting the OAM electric signal into a filtering device, and filtering clutter higher than a preset frequency in the OAM electric signal based on the filtering device to obtain a target OAM electric signal;
in this step, after the measurement and calculation system obtains the OAM electrical signal, since the OAM electrical signal includes the main service electrical signal converted from the main service optical signal and the OAM electrical conversion signal converted from the OAM optical signal, generally, the frequency of the main service electrical signal is much higher than the OAM electrical conversion signal, so the measurement and calculation system inputs the OAM electrical signal obtained by the photoelectric conversion device into the low pass filter, according to the preset frequency threshold, filters out the clutter higher than the frequency threshold, and obtains the target OAM electrical signal meeting the measurement condition; wherein the preset frequency threshold is set by the relevant operator according to the main operating frequency of the main service electrical signal.
Step c, inputting the target OAM electric signal into an oscilloscope to obtain a signal waveform of the target OAM electric signal;
in the step, the measurement and calculation system inputs the target OAM electrical signal into the oscilloscope, and directly obtains the signal waveform of the target OAM electrical signal, wherein the waveform of the target electrical signal is the waveform of the OAM signal.
And d, if the processing mode is the second processing mode, inputting the OAM signal into an oscilloscope to obtain the signal waveform of the OAM signal.
In this step, since the electrical signal transmitted by the optical module with the OAM function generally does not include the main service electrical signal, but only the OAM electrical signal, when processing, the electrical signal is directly input into the oscilloscope without using the photoelectric conversion device and the filtering device, and the signal waveform of the OAM signal can be obtained.
And step S40, measuring and calculating the signal rate of the OAM signal based on the time measuring cursor of the oscilloscope and the signal waveform.
In this embodiment, after the measurement and calculation system obtains the signal waveform of the OAM signal, the time span value occupied by the number of preset symbols in the signal waveform is marked by using the time measurement cursor of the oscilloscope, where the number of symbols may be input by a related operator or may be a default value of the measurement and calculation system; the measuring and calculating system calculates the ratio of the number of code elements to the time span value, and then multiplies the ratio by a preset value to obtain the signal rate of the OAM signal.
Specifically, the step of measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform includes:
step e, calling the time measurement cursor of the oscilloscope, and marking out a time span value occupied by the number of preset code elements in the signal waveform based on the time measurement cursor;
in the step, after the measurement and calculation system obtains the signal waveform of the OAM signal, the time span value occupied by the number of preset code elements in the signal waveform is marked by using a time measurement cursor of an oscilloscope, wherein the number of the code elements can be input by related operators or can be a default value of the measurement and calculation system; for convenience of calculation, in general, when applied, an oscilloscope marks a time span value based on a signal waveform of any segment of 10 symbols.
And f, calculating the ratio of the number of the preset code elements to the time span value, and measuring and calculating the signal rate of the OAM signal based on the ratio.
In the step, after the measuring and calculating system obtains a time span value of the number of preset code elements, the ratio of the number of the code elements to the time span value is calculated, and then the ratio is multiplied by the preset value to measure and calculate the signal rate of the OAM signal; wherein the preset value is determined according to the encoding used by the OAM signal; because the OAM signal generally adopts Manchester encoding, the preset value is set to 1000; if the number of 10 symbols is taken as an example, the calculation formula of the signal rate of the OAM signal is: signal rate 10/time span value 1000.
After detecting a start instruction, the embodiment starts an optical module with an OAM function to transmit an OAM signal, and obtains a target OAM electrical signal by using different processing modes according to different types of OAM signals; and then, marking the time span value of the number of preset code elements in the signal waveform by using the time measuring cursor of the oscilloscope, and then measuring and calculating the signal rate of the OAM signal according to the time span value and the number of the code elements. The invention can measure the rate of the OAM optical signal and the OAM electrical signal, and can adjust different processing modes according to the optical signal or the electrical signal to obtain an accurate target electrical signal; by systematically measuring and calculating two different OAM signal rates, the OAM signal rate measuring and calculating equipment and system with compatibility are obtained.
Further, based on the first embodiment of the OAM signal rate measurement method of the present invention, a second embodiment of the OAM signal rate measurement method of the present invention is proposed.
The second embodiment of the OAM signal rate measurement method differs from the first embodiment of the OAM signal rate measurement method in that step S10 includes:
step g, starting the optical module and detecting whether the optical module works normally;
and h, if the optical module is detected to be incapable of working normally, inputting a preset signal into the optical module so as to enable the optical module to work normally and emit an OAM signal.
In this embodiment, after the measurement and calculation system sends a start instruction, if it is detected that the optical module with the OAM function does not normally operate, a preset signal is input to the optical module to activate the optical module to operate, and after the optical module receives the preset signal, the optical module normally operates and transmits a corresponding OAM signal.
The respective steps will be described in detail below:
step g, starting the optical module and detecting whether the optical module works normally;
in the step, the measuring and calculating system sends a starting instruction to an optical module with an OAM function and detects whether the optical module works normally; and if the result is normal, the next step of the measuring and calculating process is carried out.
And h, if the optical module is detected to be incapable of working normally, inputting a preset signal into the optical module so as to enable the optical module to work normally and emit an OAM signal.
In this step, if it is detected that the optical module cannot normally operate, a preset signal is input to the optical module, where the preset signal may be generated by a signal generator or an error code detector, and the preset signal is a segment of signal with a certain symbol rate and is used to drive a signal emitting element in the optical module to emit an OAM signal after being processed by a driving chip of the optical module.
The embodiment detects whether the optical module normally works, and if the optical module cannot normally work, a signal with a certain code rate is input into the optical module, so that the optical module normally works and transmits an OAM signal. The embodiment detects whether the optical module normally works, and drives the optical module to normally work by using the preset signal when the optical module cannot normally work, so that the optical module with the OAM function has stable and strong-compatibility OAM signal rate measuring and calculating equipment and system when the optical module with the OAM function is subjected to inter-factory communication testing.
Further, based on the first and second embodiments of the OAM signal rate measurement method of the present invention, a third embodiment of the OAM signal rate measurement method of the present invention is proposed.
The third embodiment of the OAM signal rate measurement method differs from the first and second embodiments of the OAM signal rate measurement method in that step S40 is followed by:
step i, calculating a difference value between the signal rate and a preset standard OAM rate, and comparing the difference value with a preset rate error range to determine a calibration result of the optical module;
and j, calibrating the signal rate of the optical module based on the calibration result.
In this embodiment, after the measurement and calculation system measures and calculates the signal rate of the OAM signal, a difference between the signal rate and a preset standard OAM signal rate is calculated, and then a preset rate error range of the difference is compared, if the difference is greater than the preset rate error range, the calibration result of the optical module is that calibration is needed; if the difference value is smaller than the preset rate error range, the calibration result of the optical module is that calibration is not needed; the preset standard OAM signal rate and the preset rate error range are obtained by testing by related technicians in advance and cannot be changed randomly, and are important bases for judging whether the signal rate of the optical module with the OAM function is normal or not. And based on the calibration result needing to be calibrated, the measuring and calculating system calibrates the optical module.
The respective steps will be described in detail below:
step i, calculating a difference value between the signal rate and a preset standard OAM rate, and comparing the difference value with a preset rate error range to determine a calibration result of the optical module;
in the step, the measuring and calculating system subtracts a preset standard OAM rate from an OAM signal rate to obtain a difference value, compares the difference value with a preset rate error range, and determines a calibration result of the optical module based on a comparison result; if the measured and calculated signal rate is 2066bps, the preset standard OAM rate is 2048bps, the preset rate error range is-30 bps to +30bps, the difference value obtained by subtracting the preset standard OAM rate from the signal rate is 18bps, and the calculated difference value is within the preset rate error range, the calibration result of the optical module is determined to be not required to be calibrated; and if the preset rate error range is-10 bps to +10bps and the calculated difference value is out of the preset rate error range, determining the calibration result of the optical module as the calibration requirement.
In an embodiment, the calibration process of the preset standard OAM rate may be:
the OAM signal source rate of the color optical module is set to be 1024bps (binary coding), the time occupied for transmitting one bit (code element) information is calculated to be 1/2024-0.0009765625 s, namely 0.9765625ms, the time occupied for transmitting 10 bits is calculated to be 10-0.9765625 ms-9.765625 ms, then the time occupied for transmitting 10 Manchester code elements is calculated to be 9.765625 ms/2-4.8828125 ms, and finally the set OAM signal Manchester coding rate is calculated to be 1/((4.8828125/10)/1000) — 2048 bps.
The signal rate can be measured by using an oscilloscope time measuring cursor, and the time span value of 10 Manchester codes is calibrated, for example, 4.84ms, so that the rate of Manchester codes is calculated to be 1/((4.84/10)/1000) ═ 2066 bps.
In an embodiment, in the error evaluation process, the error may be expressed by a percentage, and specifically, the manchester encoding rate of the set OAM signal and the rate deviation actually measured by the oscilloscope are calculated as follows: 2066-: 18/2048 is 0.88%, and the preset rate error range is also expressed as a percentage, thereby judging whether 0.88% satisfies the condition.
Of course, those skilled in the art can know that, in the specific implementation, the preset standard OAM rate may also be another value, and may be specifically set according to the actual situation, but the process is similar to the above, and is not described herein again.
And j, calibrating the signal rate of the optical module based on the calibration result.
In the step, when the measuring and calculating system determines that the calibration result is required to be calibrated, the rate parameter in the optical module is adjusted, the optical module transmits an OAM signal based on the adjusted rate parameter, then the OAM signal is input into an oscilloscope for calibration, and the steps are repeated until the calibration result of the optical module is within the preset rate error range, and the calibration is completed.
Specifically, if the calibration result is not within a preset rate error range, adjusting a rate parameter of the optical module based on a preset adjustment parameter, and inputting the adjusted OAM signal of the optical module into an oscilloscope;
when the measuring and calculating system determines that the calibration result of the optical module is required to be calibrated, the rate parameter in the optical module is added with the preset adjustment parameter, the added rate parameter and the preset adjustment parameter are used for replacing the original rate parameter in the optical module, so that the optical module emits an OAM signal based on a new rate parameter, the OAM signal is processed in a first processing mode or a second processing mode to obtain a target electrical signal meeting the test standard, and the target electrical signal is input into the oscilloscope for calibration. The preset adjustment parameter is determined by related technicians according to the difference between the calculated signal rate and the standard signal rate and the preset rate error range, for example, the rate parameter of the optical module is 2066, the preset standard OAM rate is 2048bps, the difference between the calculated signal rate and the standard signal rate is 18bps, the preset rate error range is-10 bps to +10bps, the adjustment parameter can be set to-2, the rate parameter 2066 of the optical module and the setting adjustment parameter-2 are added to obtain 2064, the optical module uses the optical module as the rate parameter, transmits the OAM signal, processes the OAM signal through the first processing mode or the second processing mode, and inputs the target electrical signal into the oscilloscope for calibration.
Further, the step of determining the calibration result of the optical module is executed in a circulating manner until the calibration result is within a preset rate error range, and then the signal rate calibration of the optical module is completed.
Due to the difference of each optical module, some optical modules can complete calibration after being adjusted once, and some optical modules may complete calibration after being cycled for several times, so whether calibration is completed or not needs to be judged based on a calibration result, and the judgment cannot be made by adjusting the number of signal parameters.
In addition, in another embodiment, the signal rate of the OAM signal may be further fine-tuned, and the time span value of the measured OAM signal calibrated by the time measurement cursor on the oscilloscope is observed, as in the above example, gradually approaches 4.88ms from 4.84ms (the time span value of 10 manchester codes of the signal emitted by the color light module corresponding to the preset standard OAM rate), so that the OAM signal rate is very close to, or even equal to 2048bps, that is, 1024bps of binary coding.
It should be noted that, the calibration process can be completed by the measurement and calculation system, and can also be fed back to the corresponding manufacturer for self-calibration.
In this embodiment, whether the optical module needs to be calibrated is determined according to the calibration result of the optical module, if so, the rate parameter of the optical module is adjusted, and the adjusted OAM signal of the optical module is input into the oscilloscope for calibration, and the above steps are performed in a necessary cycle. In this embodiment, after the signal rate of the optical module is measured, the signal rate is calibrated, and then the signal rate is calibrated according to the calibration result, so that the integrity of the OAM signal rate measuring and calculating system is further improved, and the optical module with the OAM function has complete measuring and calculating equipment and system with strong compatibility when performing inter-factory communication tests.
Referring to fig. 3, in an embodiment, the framework of the OAM signal rate measurement system includes an error detector, a testboard with an optical module, an optical-to-electrical conversion device, a filter, and an oscilloscope. In specific implementation, the error code meter inputs a preset signal with a certain code rate into the test board, so that the optical module with the OAM function normally works, wherein the error code meter is a multi-channel error code meter, and the transmission rate of the preset signal can be improved; the test board is used as a carrier of optical module power supply and main service electric signal paths; the optical module with OAM function is inlaid on the test board, the optical module is a 25G color optical module with OAM function, and can send OAM optical signals and 25G main service optical signals; an OAM signal transmitted by the optical module passes through a photoelectric conversion device to obtain an OAM electric signal, and the electric signal passes through a low-pass filter to obtain a target OAM electric signal, wherein the low-pass filter is a self-grinding low-pass filter or an RC circuit board; the obtained target OAM electric signal is input into an oscilloscope, the oscilloscope is a digital real-time oscilloscope, and information such as the waveform of the signal can be clearly obtained in real time. In fig. 3, the RF Cable is a high-speed test Cable, and is indicated by a thick arrow in the figure, and is a channel for transmitting electrical signals, and the Optical patch cord is a test Optical fiber jumper, and is indicated by a thin arrow in the figure, and is a channel for transmitting Optical signals.
The invention also provides an OAM signal rate measuring and calculating device. The OAM signal rate measuring and calculating device of the invention comprises:
an optical module: if receiving a starting instruction, starting an optical module with an OAM function so as to enable the optical module to send an OAM signal;
a determination module: detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type;
an oscillography module: inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
the measuring and calculating module comprises: and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform.
Further, the determining module is further configured to:
detecting whether the optical module works normally;
if the optical module is detected to be incapable of working normally, inputting a preset signal into the optical module so as to enable the optical module to work normally and emit an OAM signal;
detecting the signal type of the OAM signal, wherein the signal type comprises an optical signal and an electric signal;
if the OAM signal type is detected to be an optical signal, determining that the processing mode is a first processing mode;
if the OAM signal type is detected to be an electric signal, determining that the processing mode is a second processing mode;
if the processing mode is a first processing mode, inputting the OAM signal into an optical-electrical signal conversion device, and converting the OAM signal into an OAM electrical signal based on the optical-electrical signal conversion device;
inputting the electrical signal into a filtering device, and filtering clutter higher than a preset frequency in the OAM electrical signal based on the filtering device to obtain a target OAM electrical signal;
and calibrating the signal rate of the optical module based on the calibration result.
Further, the oscillometric module is further configured to:
inputting the target OAM electric signal into an oscilloscope to obtain a signal waveform of the target OAM electric signal;
if the processing mode is a second processing mode, inputting the OAM signal into an oscilloscope to obtain the signal waveform of the target OAM electric signal;
and calling the time measurement cursor of the oscilloscope, and marking the time span value occupied by the number of preset code elements in the signal waveform based on the time measurement cursor.
Further, the reckoning module is further configured to:
calculating the ratio of the number of the preset code elements to the time span value, and measuring and calculating the signal rate of the OAM signal based on the ratio;
if the calibration result is not within the preset rate error range, adjusting the rate parameter of the optical module based on a preset adjustment parameter, and inputting the adjusted OAM signal of the optical module into an oscilloscope;
and circularly executing the step of determining the calibration result of the optical module until the calibration result is within a preset rate error range, and finishing the signal rate calibration of the optical module.
The invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores an OAM signal rate measurement and calculation program, which when executed by a processor, implements the steps of the OAM signal rate measurement and calculation method as described above.
The method implemented when the OAM signal rate measurement and calculation program running on the processor is executed may refer to each embodiment of the OAM signal rate measurement and calculation method of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An OAM signal rate measurement method, comprising:
if receiving a starting instruction, starting an optical module with an OAM function so as to enable the optical module to send an OAM signal;
detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type;
inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform.
2. The OAM signal rate measurement method of claim 1, wherein said step of activating an OAM enabled optical module to cause the optical module to send an OAM signal comprises:
starting the optical module and detecting whether the optical module works normally;
and if the optical module is detected to be incapable of working normally, inputting a preset signal into the optical module so as to enable the optical module to work normally and emit an OAM signal.
3. The OAM signal rate measurement method of claim 1, wherein the step of detecting a signal type of the OAM signal and determining a processing manner corresponding to the signal type includes:
detecting the signal type of the OAM signal, wherein the signal type comprises an optical signal and an electric signal;
if the OAM signal type is detected to be an optical signal, determining that the processing mode is a first processing mode;
and if the OAM signal type is detected to be an electric signal, determining that the processing mode is a second processing mode.
4. The OAM signal rate measurement method of claim 3, wherein said step of inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal comprises:
if the processing mode is a first processing mode, inputting the OAM signal into an optical-electrical signal conversion device, and converting the OAM signal into an OAM electrical signal based on the optical-electrical signal conversion device;
inputting the OAM electric signal into a filter device, and filtering clutter higher than a preset frequency in the OAM electric signal based on the filter device to obtain a target OAM electric signal;
inputting the target OAM electric signal into an oscilloscope to obtain a signal waveform of the target OAM electric signal;
and if the processing mode is the second processing mode, inputting the OAM signal into an oscilloscope to obtain the signal waveform of the OAM signal.
5. The OAM signal rate measuring method of claim 1, wherein the step of measuring a signal rate of the OAM signal based on a time measurement cursor of the oscilloscope and the signal waveform comprises:
calling the time measurement cursor of the oscilloscope, and marking out a time span value occupied by the number of preset code elements in the signal waveform based on the time measurement cursor;
and calculating the ratio of the number of the preset code elements to the time span value, and measuring and calculating the signal rate of the OAM signal based on the ratio.
6. The OAM signal rate estimation method of claim 5, wherein said step of estimating a signal rate of the OAM signal is followed by:
calculating a difference value between the signal rate and a preset standard OAM rate, and comparing the difference value with a preset rate error range to determine a calibration result of the optical module;
and calibrating the signal rate of the optical module based on the calibration result.
7. The OAM signal rate measurement method of claim 6, wherein the step of calibrating the signal rate of the optical module based on the calibration result comprises:
if the calibration result is not within the preset rate error range, adjusting the rate parameter of the optical module based on a preset adjustment parameter, and inputting the adjusted OAM signal of the optical module into an oscilloscope;
and circularly executing the step of determining the calibration result of the optical module until the calibration result is within a preset rate error range, and finishing the signal rate calibration of the optical module.
8. An OAM signal rate measurement device, the OAM signal rate measurement device comprising:
a starting module: if receiving a starting instruction, starting an optical module with an OAM function so as to enable the optical module to send an OAM signal;
a determination module: detecting the signal type of the OAM signal, and determining a processing mode corresponding to the signal type;
an oscillography module: inputting the OAM signal into an oscilloscope based on the processing mode to obtain a signal waveform corresponding to the OAM signal;
the measuring and calculating module comprises: and measuring and calculating the signal rate of the OAM signal based on the time measurement cursor of the oscilloscope and the signal waveform.
9. An OAM signal rate measurement and calculation system, the OAM signal rate measurement and calculation system comprising: a memory, a processor, and an OAM signal rate estimation procedure stored on the memory and executable on the processor, the OAM signal rate estimation procedure when executed by the processor implementing the steps of the OAM signal rate estimation method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon an OAM signal rate measurement program which, when executed by a processor, implements the steps of the OAM signal rate measurement method of any of claims 1-7.
CN202110102423.4A 2021-01-25 2021-01-25 OAM signal rate measuring and calculating method, device and system and computer readable storage medium Active CN112887170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110102423.4A CN112887170B (en) 2021-01-25 2021-01-25 OAM signal rate measuring and calculating method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110102423.4A CN112887170B (en) 2021-01-25 2021-01-25 OAM signal rate measuring and calculating method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112887170A true CN112887170A (en) 2021-06-01
CN112887170B CN112887170B (en) 2021-11-09

Family

ID=76053189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110102423.4A Active CN112887170B (en) 2021-01-25 2021-01-25 OAM signal rate measuring and calculating method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112887170B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110350991A (en) * 2019-07-10 2019-10-18 江苏亨通光网科技有限公司 A kind of optical module Auto-Test System, method, computer equipment and storage medium
CN110943779A (en) * 2019-12-24 2020-03-31 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Visible light communication equipment test system
CN112054868A (en) * 2019-06-06 2020-12-08 中国移动通信有限公司研究院 Optical module, management and control information processing method and communication system
CN112260794A (en) * 2020-10-29 2021-01-22 南京捷澳德信息科技有限公司 5G forward-transmission semi-active WDM service monitoring system and monitoring method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112054868A (en) * 2019-06-06 2020-12-08 中国移动通信有限公司研究院 Optical module, management and control information processing method and communication system
CN110350991A (en) * 2019-07-10 2019-10-18 江苏亨通光网科技有限公司 A kind of optical module Auto-Test System, method, computer equipment and storage medium
CN110943779A (en) * 2019-12-24 2020-03-31 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Visible light communication equipment test system
CN112260794A (en) * 2020-10-29 2021-01-22 南京捷澳德信息科技有限公司 5G forward-transmission semi-active WDM service monitoring system and monitoring method thereof

Also Published As

Publication number Publication date
CN112887170B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
US10589961B2 (en) Maintenance monitoring of passenger carrying system
AU2014227468B2 (en) Hands-free optical fiber testing using optical loss test instrument
CN101179331A (en) Automatic debugging method and system of optical module
CN113839712B (en) Optical module-based signal transmission monitoring method, equipment, storage medium and device
CN101383659A (en) Apparatus and method for automatically debugging parameter of communication system
US11910136B2 (en) Test instruments and methods for emulating optical network terminal (ONT) devices and testing optical networks based on the emulation
US9008588B2 (en) System and method for the calibration and verification of wireless networks with control network
CN204068986U (en) Error detection equipment and system
CN112887170B (en) OAM signal rate measuring and calculating method, device and system and computer readable storage medium
CN107592165B (en) Method and system for testing transmission power of router
EP2876920B1 (en) Wireless transmitter network analysis tool
CN102123422B (en) Method and equipment for detecting fault in communication channel
CN104243058A (en) Error code detection device, system and method and optimal sensitivity detection device and method
KR20150115817A (en) Method and device for setting otdr test parameter set
US11019513B2 (en) Measuring device and measuring method for low-attenuation measuring environments
CN110381567A (en) Configure progress control method, apparatus, computer equipment and storage medium
CN105978637A (en) Multi-DUT (Device under Test) testing system and testing method thereof
KR20060053006A (en) User perception of wireless improvement technology
CN108429580A (en) The measuring system and method for arbitrary point OSNR in a kind of optic communication links
CN109639346B (en) BOSA calibration method, test terminal and readable storage medium
Chaves et al. A Management Strategy for Centralized Wireless Sensor Networks Applied to Small and Medium Sized Manufacturing Enterprises
CN110769334B (en) Combination test method and system for passive optical fiber equipment
CN105373028A (en) Measurement equipment possessing interface communication function, interface communication system and method thereof
US11664892B2 (en) Identifying and segmenting performance issues over optical networks and in-premises interfaces with integrated workflows
KR101594153B1 (en) Method for operating of PON monitoring system without a subscriber reflection filter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant