CN115882944A - Detection method, detection device, electronic equipment and storage medium - Google Patents

Detection method, detection device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115882944A
CN115882944A CN202211557884.1A CN202211557884A CN115882944A CN 115882944 A CN115882944 A CN 115882944A CN 202211557884 A CN202211557884 A CN 202211557884A CN 115882944 A CN115882944 A CN 115882944A
Authority
CN
China
Prior art keywords
jitter
output optical
degree
network element
amplitude
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.)
Pending
Application number
CN202211557884.1A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211557884.1A priority Critical patent/CN115882944A/en
Publication of CN115882944A publication Critical patent/CN115882944A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

The application provides a detection method, a detection device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a first historical output optical power and a first current output optical power of a transmitting end network element and a second historical output optical power and a second current output optical power of a receiving end network element in a link to be tested; determining the jitter degree according to the first current output optical power and the second current output optical power; if the jitter degree meets the requirement of the preset jitter degree, determining a second jitter amplitude according to a second current output optical power and a second historical output optical power; determining a first jitter amplitude and a transmitting-end jitter degree according to the first current output optical power and the first historical output optical power; and obtaining a detection result according to the jitter degree, the transmission end jitter degree, the first jitter amplitude and the second jitter amplitude. The method improves the efficiency of fast checking the root cause in the link to be tested.

Description

Detection method, detection device, electronic equipment and storage medium
Technical Field
The present application relates to communications technologies, and in particular, to a detection method, an apparatus, an electronic device, and a storage medium.
Background
Optical networks (Optical networks) generally refer to wide area networks, metropolitan area networks, or newly built large area local area networks that use Optical fibers as the primary transmission medium. The optical network has the characteristics of high transmission speed, long transmission distance and the like.
When the optical network transmits, the optical network comprises a plurality of links, and each link at least comprises a transmitting end network element, a receiving end network element and an optical fiber connected between the transmitting end network element and the receiving end network element.
However, as the optical network becomes larger and more complex in topology, there is a problem that troubleshooting of a failed link is difficult when a link of the existing optical network is subjected to failure detection.
Disclosure of Invention
The application provides a detection method, a detection device, electronic equipment and a storage medium, which are used for solving the problem that a fault link is difficult to check when a link of an optical network carries out fault detection.
In a first aspect, the present application provides a detection method applied to a detection system, the method including:
acquiring a first historical output optical power and a plurality of first current output optical powers of a transmitting end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving end network element in a link to be tested, wherein the first output optical powers correspond to the second output optical powers one to one;
determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which correspond to each other one by one;
if the jitter degree meets the requirement of the preset jitter degree, determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the plurality of second current output optical powers and the second historical output optical power;
determining a first jitter amplitude and a transmission end jitter degree of a transmission end network element during optical signal transmission according to the first current output optical powers and the first historical output optical powers;
and obtaining a detection result according to the jitter degree, the transmission end jitter degree, the first jitter amplitude and the second jitter amplitude.
In this embodiment of the present application, obtaining a first historical output optical power of a sending-end network element in a link to be tested includes:
determining first historical use time of a transmitting end network element;
acquiring a plurality of first initial output optical powers of the originating network element within a first historical service time at a preset first frequency;
and obtaining a first historical output optical power according to the plurality of first initial output optical powers.
In this embodiment of the present application, obtaining the second historical output optical power of the receiving end network element in the link to be tested includes:
determining a second historical use time of the receiving end network element;
acquiring a plurality of second initial output optical powers of the receiving end network element within a second historical service time at a preset second frequency;
and obtaining a second historical output optical power according to the plurality of second initial output optical powers.
In this embodiment of the present application, determining, according to a plurality of first current output optical powers and a plurality of second current output optical powers that correspond to one another, a jitter degree of a link to be tested during optical signal transmission includes:
obtaining an output light power difference according to the first current output light power and the second current output light power;
and determining the jitter degree of the link to be tested during optical signal transmission according to the output optical power difference.
In this embodiment of the present application, determining, according to the output optical power difference, a jitter degree of a link to be measured during optical signal transmission includes:
determining standard deviations of a plurality of first current output optical powers and a plurality of second current output optical powers according to the output optical power differences;
and determining the jitter degree of the link to be tested during optical signal transmission according to the standard deviation.
In this embodiment of the present application, determining a second jitter amplitude of the receiving network element during optical signal transmission according to a plurality of second current output optical powers and a second historical output optical power includes:
determining a second threshold range according to the second historical output optical power;
and determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the second current output optical powers and the second threshold range.
In this embodiment of the present application, determining a second jitter amplitude of the receiving network element during optical signal transmission according to a plurality of second current output optical powers and a second threshold range includes:
and determining a second target output optical power and a second amplitude and value according to the second threshold range, wherein the second target output optical power is the output optical power outside the second threshold range, and the second amplitude and value characterize a second jitter amplitude.
In an embodiment of the present application, the method further comprises:
when the jitter degree, the transmission end jitter degree, the first jitter amplitude and the second jitter amplitude are all not zero, obtaining a jitter degree ratio according to the jitter degree and the transmission end jitter degree, and obtaining a jitter amplitude ratio according to the first jitter amplitude and the second jitter amplitude;
obtaining a detection result according to the jitter degree ratio and the jitter amplitude ratio;
or when the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude are all zero, the detection result is that the link to be detected is normal.
In this embodiment of the present application, obtaining a detection result according to the jitter degree ratio and the jitter amplitude ratio includes:
when the jitter degree ratio is larger than the jitter amplitude ratio, comparing the jitter degree with the sending end jitter degree:
if the jitter degree is greater than the jitter degree of the transmitting end, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal, and the optical fiber is connected with the transmitting end network element and the receiving end network element;
if the jitter degree is less than or equal to the jitter degree of the sending end, the detection result is that the sending end network element is abnormal;
when the jitter degree ratio is smaller than or equal to the jitter amplitude ratio, comparing the first jitter amplitude with the second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
In the embodiment of the application, when the jitter degree and the originating jitter degree are zero, and the first jitter amplitude and the second jitter amplitude are not zero,
Or when the jitter degree or the originating jitter degree is zero, and the first jitter amplitude or the second jitter amplitude is zero,
Or when the jitter degree or the originating jitter degree is not zero and the first jitter amplitude or the second jitter amplitude is zero, comparing the first jitter amplitude with the second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
In the embodiment of the application, when the jitter degree and the originating jitter degree are not zero, and the first jitter amplitude and the second jitter amplitude are zero,
Or when the jitter degree or the originating jitter degree is zero and the first jitter amplitude and the second jitter amplitude are not zero, comparing the jitter degree with the originating jitter degree:
if the jitter degree is greater than the jitter degree of the transmitting end, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal, and the optical fiber is connected with the transmitting end network element and the receiving end network element;
and if the jitter degree is less than or equal to the jitter degree of the transmitting end, the detection result is that the transmitting end network element is abnormal.
In this embodiment of the present application, when there are more than two links to be tested, the method further includes:
determining the jitter degree of each link to be tested;
determining an initial target link in the link to be tested according to the jitter degree, wherein the initial target link is the link to be tested of which the jitter degree meets the requirement of the preset jitter degree;
acquiring a second jitter amplitude of the initial target link;
when more than two initial target links exist, determining a target link in the initial target links according to the second jitter amplitude;
acquiring a first jitter amplitude and a transmitting end jitter degree of a target link;
and obtaining a detection result of the target link according to the jitter degree of the target link, the jitter degree of the transmitting end, the first jitter amplitude and the second jitter amplitude.
In a second aspect, the present application provides a detection apparatus for use in a detection system, the apparatus comprising:
the acquisition module is used for acquiring a first historical output optical power and a plurality of first current output optical powers of a transmitting end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving end network element in a link to be tested, wherein the first output optical powers correspond to the second output optical powers one to one;
the first determining module is used for determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which correspond to each other one by one;
a second determining module, configured to determine, if the jitter degree meets a requirement of a preset jitter degree, a second jitter amplitude of the receiving-end network element during optical signal transmission according to a plurality of second current output optical powers and a second historical output optical power;
a third determining module, configured to determine, according to the multiple first current output optical powers and the first historical output optical powers, a first jitter amplitude and a sending-end jitter degree when the sending-end network element performs optical signal transmission;
and the obtaining module is used for obtaining a detection result according to the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the detection method in the above-described embodiments.
In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the detection method in the foregoing embodiments.
According to the detection method, the detection device, the electronic equipment and the storage medium, a first historical output optical power and a plurality of first current output optical powers of a sending-end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving-end network element in a link to be detected are obtained, wherein the first output optical powers correspond to the second output optical powers one to one; determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which correspond to each other one by one; if the jitter degree meets the requirement of the preset jitter degree, determining a second jitter amplitude of the receiving end network element during optical signal transmission according to a plurality of second current output optical powers and second historical output optical powers; determining a first jitter amplitude and a transmission end jitter degree of a transmission end network element during optical signal transmission according to a plurality of first current output optical powers and a plurality of first historical output optical powers; and determining the jitter degree and the jitter amplitude during optical network transmission through the output optical power of the sending end network element and the receiving end network element so as to obtain a detection result of the link to be detected and realize the efficiency of quickly checking the root in the link to be detected.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a detection method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another detection method provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a detection apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the prior art, when optical network fault location is performed, generally, experience judgment of operation and maintenance personnel is greatly relied on, which results in higher technical requirements on the operation and maintenance personnel, and the problems of low location efficiency, long time consumption, delay and even errors are also inevitably caused by the fact that optical network fault location needs to be associated through multiple layers of resources and the individual difference of the operation and maintenance personnel.
The method and the device can determine the jitter degree and the jitter amplitude of the sending-end network element and the receiving-end network element during optical network transmission by obtaining the first historical output optical power and the first current output optical power of the sending-end network element and the second historical output optical power and the second current output optical power of the receiving-end network element in the optical network, and determine whether the root cause is the sending-end network element or the receiving-end network element according to the jitter degree and the jitter amplitude.
The execution subject of the detection method provided by the embodiment of the application can be a server. The server can be a mobile phone, a tablet, a computer and other devices. The implementation manner of the executing main body is not particularly limited in this embodiment, as long as the executing main body can obtain a first historical output optical power and a plurality of first current output optical powers of the sending-end network element and a second historical output optical power and a plurality of second current output optical powers of the receiving-end network element in the link to be tested, where the first output optical powers correspond to the second output optical powers one to one; determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which correspond to each other one by one; if the jitter degree meets the requirement of the preset jitter degree, determining a second jitter amplitude of the receiving end network element during optical signal transmission according to a plurality of second current output optical powers and second historical output optical powers; determining a first jitter amplitude and a transmission end jitter degree of a transmission end network element during optical signal transmission according to the first current output optical powers and the first historical output optical powers; and obtaining a detection result according to the jitter degree, the sending end jitter degree, the first jitter amplitude and the second jitter amplitude.
Among them, an Optical Network (Optical Network) generally refers to a wide area Network, a metropolitan area Network, or a newly-built wide area local area Network using an Optical fiber as a main transmission medium. The optical network has the characteristics of high transmission speed, long transmission distance and the like.
Optical network transmission may be a technique of transmitting in the form of an optical signal between a sender and a receiver. The optical network transmission may include a sending-end network element, a receiving-end network element, and an optical fiber connected between the sending-end network element and the receiving-end network element.
A link may be a physical line, such as a cable or fiber, between two nodes when in wired communication.
Fig. 1 is a schematic flowchart of a detection method according to an embodiment of the present disclosure. The execution subject of the method may be a server or other servers, and this embodiment is not limited herein, and as shown in fig. 1, the method may include:
s101, obtaining a first historical output optical power and a plurality of first current output optical powers of a sending-end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving-end network element in a link to be tested, wherein the first output optical powers correspond to the second output optical powers one to one.
The link to be tested is a link in an optical network, and when optical network transmission is performed, the optical network may include a plurality of links, and each link may include a transmitting end network element, a receiving end network element, and an optical fiber. The transmitting end network element can be connected with the receiving end network element through the optical fiber, so that optical network transmission is carried out.
In the embodiment of the application, the detection system can detect a plurality of links one by one, and can also detect a plurality of links simultaneously, wherein when detecting a plurality of links one by one, the link detected each time can be used as a link to be detected, and when detecting a plurality of links simultaneously, the links detected simultaneously can be used as links to be detected.
The first current output optical power may be a work performed by the originating network element in unit time during optical network transmission, and the first output optical power may be obtained by power detection. In this embodiment, the current cycle may be characterized as a time when detection is performed, the unit time period may be an interval of performing detection, for example, the current cycle may be 1 day, the unit time period may be 15 minutes, and the number of first current output optical powers obtained in the current cycle is 96.
The second current output optical power may be a work performed by the receiving end network element in unit time when performing optical network transmission, and the second current output optical power is an optical power corresponding to the first output optical power, that is, the second current output optical power detected by the receiving end network element may be an output optical power obtained according to the first output optical power sent by the sending end network element.
The first historical output optical power is the output optical power of the sending-end network element in a normal working state before the optical network transmission fails. In some embodiments, the first historical output optical power may be determined according to a preset standard power, or may be obtained by detecting a historical use time of the originating network element before the optical network transmission fails.
In this embodiment of the present application, the method for obtaining the first historical output optical power of the originating network element in the link to be tested may include:
determining first historical use time of a transmitting end network element;
acquiring a plurality of first initial output optical powers of the originating network element within a first historical service time at a preset first frequency;
and obtaining a first historical output optical power according to the plurality of first initial output optical powers.
In the embodiment of the present application, in order to improve the accuracy of the obtained first historical output optical power, the first historical use time may be a week selected before the originating network element fails in optical network transmission.
The frequency may be characterized as the frequency of the output optical power obtained by detection within a certain time, and the frequency may be preset. The first frequency may be a frequency at which the first initial output optical power sent by the originating network element is obtained within the first historical usage time, and the larger the first frequency is, the more the first initial output optical power is obtained within the first historical usage time is. For example, in some embodiments, when the first historical usage time is 1 week and the frequency is once every 15 minutes, the number of the obtained first historical output optical powers may be 672.
The first historical output optical power may be obtained by a weighted average of the plurality of first initial output optical powers. In some embodiments, in order to further improve the accuracy of the first historical output optical power, before performing the weighted averaging, a cleaning process may be performed on the plurality of first initial output optical powers, so as to remove abnormal data in the plurality of first historical output optical powers. The cleaning treatment method can comprise the following steps: 1. removing the maximum value of 5% and the minimum value of 5% in the first initial output light power; 2. when the data of the first initial output optical power has an abnormal problem, deleting the abnormal data; 3. when the first initial output optical power has a null value and the duration of the null value is less than the preset duration, other time periods adjacent to the time period in which the null value exists can be determined, and the null value is supplemented according to the first initial output optical power of the other time periods adjacent to the time period.
The second historical output optical power is the output optical power of the receiving end network element in a normal working state. In some embodiments, the second historical output optical power may be obtained at the terminating network element in the same manner as the first historical output optical power is obtained.
In this embodiment of the present application, the method for obtaining the second historical output optical power of the receiving end network element in the link to be tested may include:
determining second historical use time of a receiving end network element;
acquiring a plurality of second initial output optical powers of the receiving end network element within a second historical service time at a preset second frequency;
and obtaining a second historical output optical power according to the plurality of second initial output optical powers.
The second historical service time may be a time selected by the receiving-end network element before the optical network transmission fails, and may be the same as or different from the first historical service time.
The second frequency may be a frequency at which a second initial output optical power sent by the receiving end network element is obtained within a second historical usage time, the plurality of second initial output optical powers may be obtained through the second historical usage time and the second frequency, and after the plurality of second initial output optical powers are obtained, the second historical output optical power may be obtained in a manner of weighting and averaging the plurality of second initial output optical powers.
S102, determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which correspond to each other one by one.
The jitter degree may be used to represent a difference degree between the first output optical power and the second output optical power, that is, a stability degree of the link to be measured when the optical signal transmission is performed. In the embodiment of the present application, the degree of jitter may be expressed numerically.
In this embodiment of the present application, the method for determining the jitter degree of the link to be tested during optical signal transmission according to the multiple first current output optical powers and the multiple second current output optical powers that correspond to each other one to one may include:
obtaining an output light power difference according to the first current output light power and the second current output light power;
and determining the jitter degree of the link to be tested during optical signal transmission according to the output optical power difference.
The output optical power difference may be a difference between the corresponding first current output optical power and the second current output optical power, and a plurality of output optical power differences may be obtained for a plurality of first current output optical powers and a plurality of second current output optical powers.
The jitter degree of the optical signal transmission can be represented by a plurality of output optical power differences.
In this embodiment of the present application, the method for determining a jitter degree of a link to be measured during optical signal transmission according to the output optical power difference may include:
determining standard deviations of a plurality of first current output optical powers and a plurality of second current output optical powers according to the output optical power differences;
and determining the jitter degree of the link to be tested during optical signal transmission according to the standard deviation.
The standard deviation may represent a degree of dispersion of data, and in this embodiment, the standard deviation may represent a degree of jitter of the link to be tested during optical signal transmission.
And S103, if the jitter degree meets the requirement of the preset jitter degree, determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the plurality of second current output optical powers and the second historical output optical powers.
The requirement of the preset jitter degree is used for representing the requirement of the stability degree of the receiving end network element and the sending end network element during optical transmission, and when the jitter degree of the link to be detected is represented to be stable, the link to be detected does not need to carry out fault detection, so that the requirement of the preset jitter degree is not met. In this embodiment, since the jitter degree may be represented by a standard deviation, a requirement of the preset jitter degree may be set as a preset standard deviation threshold, and the standard deviation is compared with the preset standard deviation threshold to determine whether the jitter degree meets the requirement of the preset jitter degree, for example, in some embodiments, the standard deviation threshold may be set to 0.3, and when the jitter degree represented by the standard deviation is greater than or equal to 0.3, the stability degree of the receiving-end network element and the originating-end network element during optical transmission is poor, which may cause a problem and may require maintenance by a maintenance person, so that a step of determining a second jitter amplitude of the receiving-end network element during optical signal transmission may be performed according to a second current output optical power and a second historical output optical power.
The second jitter amplitude may represent a severity of jitter of the receiving network element during optical signal transmission.
In this embodiment of the present application, the method for determining a second jitter amplitude of the receiving network element during optical signal transmission according to a plurality of second current output optical powers and a plurality of second historical output optical powers may include:
determining a second threshold range according to the second historical output optical power;
and determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the second current output optical powers and the second threshold range.
In this embodiment, the second threshold range may be obtained by adding or subtracting a certain power range according to the second historical output optical power, for example, the second historical output optical power is 3DB, and the power range is 2DB, and the second threshold range may be 1 to 5DB.
The second dither amplitude may be determined according to a second current output optical power exceeding a second threshold in the second current output optical power.
In this embodiment, the method for determining the second jitter amplitude of the receiving-end network element during optical signal transmission according to the multiple second current output optical powers and the second threshold range may include:
and determining a second target output optical power and a second amplitude and value according to the second threshold range, wherein the second target output optical power is the output optical power outside the second threshold range, and the second amplitude and value characterize a second jitter amplitude.
And the second target output optical power is a second current output optical power which is out of a second threshold range. The second amplitude sum value may be a sum of differences of a second target output optical power outside a second threshold range and the second threshold range. For example, in some embodiments, when the second threshold range is 1 to 3DB and the second output optical power is 4DB, the second output optical power is the second target output optical power, the second amplitude of the second target output optical power may be 1DB, and the second amplitude sum value may be a sum of the second amplitudes.
S104, determining a first jitter amplitude and a first originating jitter degree of the originating network element during optical signal transmission according to the plurality of first current output optical powers and the first historical output optical power.
The first jitter amplitude may represent the jitter intensity of the originating network element during optical transmission. The first jitter amplitude may be determined according to a first current output optical power exceeding a first threshold range in the first current output optical power, where the first threshold range may be a range of jitter degrees acceptable for the originating network element to perform optical signal transmission, the first jitter amplitude may be a sum of differences between a first target output optical power and the first threshold range, and the first target output optical power may be a first current output optical power outside the first threshold range.
The originating jitter degree may be obtained according to the first current output optical power, and in the embodiment of the present application, the originating jitter degree may be obtained by obtaining a standard deviation of the first current output optical power.
And S105, obtaining a detection result according to the jitter degree, the transmission end jitter degree, the first jitter amplitude and the second jitter amplitude.
The detection result may include that the link to be detected is normal, the originating network element is abnormal, the terminating network element is abnormal, and the optical fiber is abnormal.
In the embodiment of the application, when the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude are all not zero, obtaining a jitter degree ratio according to the jitter degree and the originating jitter degree, and obtaining a jitter amplitude ratio according to the first jitter amplitude and the second jitter amplitude;
obtaining a detection result according to the jitter degree ratio and the jitter amplitude ratio;
or when the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude are all zero, the detection result is that the link to be detected is normal.
In this embodiment, the method for obtaining the detection result according to the jitter degree ratio and the jitter amplitude ratio may include:
when the jitter degree ratio is larger than the jitter amplitude ratio, representing the jitter frequency of optical network transmission as a main problem, comparing the jitter degree with the jitter degree of a sending end:
if the jitter degree is greater than the jitter degree of the transmitting end, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal, and the optical fiber is connected with the transmitting end network element and the receiving end network element;
if the jitter degree is less than or equal to the jitter degree of the transmitting end, the detection result is that the network element of the transmitting end is abnormal;
when the jitter degree ratio is smaller than or equal to the jitter amplitude ratio, representing the jitter amplitude of optical network transmission as a main problem, comparing a first jitter amplitude with a second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
In this embodiment of the present application, when the jitter degree and the originating jitter degree are zero, and the first jitter amplitude and the second jitter amplitude are not zero, or when the jitter degree or the originating jitter degree are zero, and the first jitter amplitude or the second jitter amplitude is zero, or when the jitter degree or the originating jitter degree are not zero, and the first jitter amplitude or the second jitter amplitude is zero, the first jitter amplitude and the second jitter amplitude are compared:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
In the embodiment of the present application, when the jitter degree and the originating jitter degree are not zero, and the first jitter amplitude and the second jitter amplitude are zero, or when the jitter degree or the originating jitter degree are zero, and the first jitter amplitude and the second jitter amplitude are not zero, the jitter degree and the originating jitter degree are compared:
if the jitter degree is greater than the jitter degree of the transmitting end, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal, and the optical fiber is connected with the transmitting end network element and the receiving end network element;
if the jitter degree is less than or equal to the jitter degree of the transmitting end, the detection result is that the transmitting end network element is abnormal.
In this embodiment of the present application, when there are more than two links to be detected, the detection method further includes:
determining the jitter degree of each link to be tested;
determining an initial target link in the link to be tested according to the jitter degree, wherein the initial target link is the link to be tested of which the jitter degree meets the requirement of the preset jitter degree;
acquiring a second jitter amplitude of the initial target link;
when more than two initial target links exist, determining a target link in the initial target links according to the second jitter amplitude;
acquiring a first jitter amplitude and a transmitting end jitter degree of a target link;
and obtaining a detection result of the target link according to the jitter degree of the target link, the jitter degree of the transmitting end, the first jitter amplitude and the second jitter amplitude.
When a plurality of links to be tested exist, the jitter degree of each link to be tested can be obtained, so that the initial target link with the jitter degree exceeding the requirement of the preset jitter degree in the plurality of links to be tested can be determined. After the initial target links are determined, a second jitter amplitude of each initial target link can be determined, the target links in the initial target links are determined by combining the second jitter amplitude and the jitter degree, and finally, the detection result of the target links is obtained according to the jitter degree of the target links, the jitter degree of the originating, the first jitter amplitude and the second jitter amplitude.
The detection method provided by the embodiment of the application can obtain a first historical output optical power and a plurality of first current output optical powers of a transmitting end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving end network element in a link to be detected, wherein the first output optical powers correspond to the second output optical powers one to one; determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which correspond to each other one by one; if the jitter degree meets the requirement of the preset jitter degree, determining a second jitter amplitude of the receiving end network element during optical signal transmission according to a plurality of second current output optical powers and second historical output optical powers; determining a first jitter amplitude and a transmission end jitter degree of a transmission end network element during optical signal transmission according to a plurality of first current output optical powers and a plurality of first historical output optical powers; and determining the jitter degree and the jitter amplitude during optical network transmission through the output optical power of the sending end network element and the receiving end network element so as to obtain a detection result of the link to be detected and realize the efficiency of quickly checking the root in the link to be detected.
Fig. 2 is a schematic flow chart of another detection method provided in the embodiment of the present application, and as shown in fig. 2, the method includes:
s201, obtaining steady state power P of originating network element Stable hair for treating OA And steady state power P of receiving end network element Stability of OA
Wherein, the steady state power P of the originating network element Stable hair for treating OA The average value of the output power of the sending end network element and the steady-state power P of the receiving end network element in a period can be Stability of OA May be an average of the output power of the receiving network element over a period.
At the time of acquisition P Stable hair for treating OA And P Stability of OA Then, can be to P Stable hair for treating OA And P Stability of OA Cleaning is carried out to obtain effective P Stable hair for treating OA And P Stability of OA
S202, obtaining output power P of amplifier ends in a plurality of links OA hair And receive output power P OA harvesting device
Wherein, the output power P is obtained at the amplifier end OA hair And receiving end output power P OA harvesting device In the process, the output power of the amplifier and the output power of the receiver can be cleaned, so that effective P is obtained OA hair And P OA harvesting device
S203, according to the output power P of the amplifier terminal OA hair And receive output power P OA harvesting device Obtaining the standard deviation S of the power DOA
Wherein, according to P OA hair And P OA harvesting device Obtaining the output power difference value, and then obtaining the power standard deviation S according to the standard deviation of the output power difference value DOA
S204, outputting power P according to the receiving end OA harvesting device And steady state power P of receiving end network element Stability of OA Obtaining the threshold out-of-limit state value T of the receiving end network element OA harvesting device
In the embodiment of the present application, the receive end threshold = the steady-state power ± 2DB of the receive end network element. After the receiving end threshold is determined, determining the power value outside the receiving end threshold in the steady-state power of the receiving end network element, and according to a formula T OA harvesting device And (4) the power value and the receiving end threshold are subjected to difference summation to obtain a receiving end network element threshold out-of-limit state value of the single link.
S205, according to the standard deviation S of the power DOA Threshold out-of-limit state value T of receiving end network element OA harvesting device And determining the target link.
Wherein the standard deviation S of the power is determined DOA The initial target link greater than the preset power standard deviation threshold may be 0.3 in the embodiment of the present application. Upon determining T from the initial target link OA harvesting device The largest target link.
S206, according to the steady state power P of the originating network element Stable hair for treating OA And originating output power P OA hair Obtaining the standard deviation S of the power of the transmitting end of the target link DOA hair And originating network element threshold out-of-limit state value T OA hair
S207, according to the standard deviation S of the power DOA Standard deviation of power at transmitting end S DOA hair Receiving end network element threshold out-of-limit state value T OA harvesting device Threshold out-of-limit state value T of originating network element OA hair And obtaining a detection result.
Wherein when S DOA 、S DOA hair 、T OA harvesting device And T OA hair And if the link is zero, judging that the risk root factor is not found in the target link.
When S is DOA 、S DOA hair 、T OA harvesting device And T OA hair Are all no longer equal toWhen zero time is reached, judging that the target link does not find the risk root, and calculating S DOA And S DOA hair Is marked as D S And T OA harvesting device And T OA hair Is marked as D T Wherein S is DOA And S DOA hair The larger value of the sum as the denominator, T OA harvesting device And T OA hair The larger value in (a) is taken as the denominator.
At the time of obtaining D S And D T Then, compare D S And D T If D is S >D T And S DOA hair ≥S DOA If the network element is abnormal, the network element is abnormal; if D is S >D T And S DOA hair <S DOA If the network element is abnormal or the optical fiber is abnormal, the network element is abnormal; if D is S <D T And T OA harvesting device ≥T OA hair If the network element is abnormal, the network element is abnormal or the optical fiber is abnormal; if D is S <D T And T OA harvesting device <T OA hair The originating network element is abnormal.
When S is DOA And S DOA hair Are all zero, and T OA harvesting device And T OA hair All are not zero, or when S is DOA Or S DOA hair Is zero, and T OA harvesting device Or T OA hair Is zero, or when S DOA And S DOA hair Are all not zero, and T OA harvesting device Or T OA hair When it is zero, if T OA harvesting device ≥T OA hair If the network element is abnormal or the optical fiber is abnormal, the network element is abnormal at the receiving end, and if the network element is abnormal, the optical fiber is abnormal OA harvesting device <T OA hair And the network element is abnormal.
When S is DOA And S DOA hair Are all not zero, and T OA harvesting device And T OA hair Are all zero, or when S DOA Or S DOA hair Is zero, and T OA receiver And T OA hair If all are not zero, then S DOA hair ≥S DOA If the network element is abnormal, if S is the same as the original network element DOA hair <S DOA The network element is abnormal or optical fiber is abnormal.
Fig. 3 is a schematic structural diagram of a detection apparatus provided in an embodiment of the present application. As shown in fig. 3, the detection device 30 includes: an obtaining module 301, a first determining module 302, a second determining module 303, a third determining module 304, and an obtaining module 305. Wherein:
an obtaining module 301, configured to obtain a first historical output optical power and a plurality of first current output optical powers of a sending-end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving-end network element in a link to be tested, where the first output optical powers correspond to the second output optical powers one to one;
a first determining module 302, configured to determine, according to a plurality of first current output optical powers and a plurality of second current output optical powers that correspond to one another, a jitter degree of a link to be tested during optical signal transmission;
a second determining module 303, configured to determine, if the jitter degree meets a requirement of a preset jitter degree, a second jitter amplitude of the receiving-end network element during optical signal transmission according to a plurality of second current output optical powers and a second historical output optical power;
a third determining module 304, configured to determine, according to the multiple first current output optical powers and the first historical output optical powers, a first jitter amplitude and a sending-end jitter degree when the sending-end network element performs optical signal transmission;
a obtaining module 305, configured to obtain a detection result according to the jitter degree, the originating jitter degree, the first jitter amplitude, and the second jitter amplitude.
In this embodiment of the present application, the obtaining module 301 may further be configured to:
determining first historical use time of a transmitting end network element;
acquiring a plurality of first initial output optical powers of the originating network element within a first historical service time at a preset first frequency;
and obtaining a first historical output optical power according to the plurality of first initial output optical powers.
In this embodiment, the obtaining module 301 may be further configured to:
determining a second historical use time of the receiving end network element;
acquiring a plurality of second initial output optical powers of the receiving end network element within a second historical service time at a preset second frequency;
and obtaining a second historical output optical power according to the plurality of second initial output optical powers.
In this embodiment of the application, the first determining module 302 may be further configured to:
obtaining an output light power difference according to the first current output light power and the second current output light power;
and determining the jitter degree of the link to be tested during optical signal transmission according to the output optical power difference.
In this embodiment, the first determining module 302 may be further configured to:
determining standard deviations of a plurality of first current output optical powers and a plurality of second current output optical powers according to the output optical power differences;
and determining the jitter degree of the link to be tested during optical signal transmission according to the standard deviation.
In this embodiment of the application, the second determining module 303 may be further configured to:
determining a second threshold range according to the second historical output optical power;
and determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the plurality of second current output optical powers and the second threshold range.
In this embodiment, the second determining module 303 may be further configured to:
and determining a second target output optical power and a second amplitude and value according to the second threshold range, wherein the second target output optical power is the output optical power outside the second threshold range, and the second amplitude and value characterize a second jitter amplitude.
In this embodiment, the obtaining module 305 may further be configured to:
when the jitter degree, the transmission end jitter degree, the first jitter amplitude and the second jitter amplitude are all not zero, obtaining a jitter degree ratio according to the jitter degree and the transmission end jitter degree, and obtaining a jitter amplitude ratio according to the first jitter amplitude and the second jitter amplitude;
obtaining a detection result according to the jitter degree ratio and the jitter amplitude ratio;
or when the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude are all zero, the detection result is that the link to be detected is normal.
In this embodiment of the present application, the obtaining module 305 may further be configured to:
when the jitter degree ratio is larger than the jitter amplitude ratio, comparing the jitter degree with the sending end jitter degree:
if the jitter degree is greater than the jitter degree of the transmitting end, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal, and the optical fiber is connected with the transmitting end network element and the receiving end network element;
if the jitter degree is less than or equal to the jitter degree of the transmitting end, the detection result is that the network element of the transmitting end is abnormal;
when the jitter degree ratio is smaller than or equal to the jitter amplitude ratio, comparing the first jitter amplitude with the second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
In this embodiment, the obtaining module 405 may be further configured to:
when the jitter degree and the originating jitter degree are zero, and the first jitter amplitude and the second jitter amplitude are not zero,
Or when the jitter degree or the originating jitter degree is zero and the first jitter amplitude or the second jitter amplitude is zero,
Or when the jitter degree or the originating jitter degree is not zero and the first jitter amplitude or the second jitter amplitude is zero, comparing the first jitter amplitude with the second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
In this embodiment of the present application, the obtaining module 305 may further be configured to:
when the jitter degree and the originating jitter degree are not zero, and the first jitter amplitude and the second jitter amplitude are zero,
Or when the jitter degree or the originating jitter degree is zero and the first jitter amplitude and the second jitter amplitude are not zero, comparing the jitter degree with the originating jitter degree:
if the jitter degree is greater than the jitter degree of the transmitting end, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal, and the optical fiber is connected with the transmitting end network element and the receiving end network element;
and if the jitter degree is less than or equal to the jitter degree of the transmitting end, the detection result is that the transmitting end network element is abnormal.
In this embodiment of the present application, the obtaining module 305 may further be configured to:
determining the jitter degree of each link to be tested;
determining an initial target link in the link to be tested according to the jitter degree, wherein the initial target link is the link to be tested of which the jitter degree meets the requirement of the preset jitter degree;
acquiring a second jitter amplitude of the initial target link;
when more than two initial target links exist, determining a target link in the initial target links according to the second jitter amplitude;
acquiring a first jitter amplitude and a transmitting end jitter degree of a target link;
and obtaining a detection result of the target link according to the jitter degree of the target link, the jitter degree of the transmitting end, the first jitter amplitude and the second jitter amplitude.
As can be seen from the above, the detection apparatus of this embodiment includes an obtaining module 301, configured to obtain a first historical output optical power and a plurality of first current output optical powers of a sending-end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving-end network element in a link to be detected, where the first output optical powers correspond to the second output optical powers one to one; a first determining module 302, configured to determine a jitter degree of a link to be tested during optical signal transmission according to a plurality of first current output optical powers and a plurality of second current output optical powers that correspond to one another; the second determining module 303 is configured to determine, if the jitter degree meets a requirement of a preset jitter degree, a second jitter amplitude of the terminating network element during optical signal transmission according to a plurality of second current output optical powers and a second historical output optical power; the third determining module 304 is configured to determine, according to the multiple first current output optical powers and the first historical output optical powers, a first jitter amplitude and an originating jitter degree of the originating network element during optical signal transmission; the obtaining module 305 is configured to obtain the detection result according to the jitter degree, the originating jitter degree, the first jitter amplitude, and the second jitter amplitude. The jitter degree and the jitter amplitude during optical network transmission are determined through the output optical power of the sending end network element and the receiving end network element, so that the detection result of the link to be detected is obtained, and the efficiency of quickly checking the root cause in the link to be detected is realized.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic device 40 includes:
the electronic device 40 may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a communications component 403, and so forth. The processor 401, the memory 402, and the communication section 403 are connected by a bus 404.
In particular implementations, at least one processor 401 executes computer-executable instructions stored by memory 402 to cause at least one processor 401 to perform the detection methods described above.
For a specific implementation process of the processor 401, reference may be made to the above method embodiments, which implement principles and technical effects similar to each other, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 4, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The Memory may include a high-speed Memory (RAM) and may also include a Non-volatile Memory (NVM), such as at least one disk Memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
In some embodiments, a computer program product is also proposed, comprising a computer program or instructions which, when executed by a processor, implement the steps of any of the detection methods described above.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the detection methods provided in the present application.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium.
Since the instructions stored in the storage medium can execute the steps in any detection method provided in the embodiments of the present application, beneficial effects that can be achieved by any detection method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A detection method is applied to a detection system, and the method comprises the following steps:
acquiring a first historical output optical power and a plurality of first current output optical powers of a transmitting-end network element in a link to be tested, and a second historical output optical power and a plurality of second current output optical powers of a receiving-end network element, wherein the first output optical powers and the second output optical powers are in one-to-one correspondence;
determining the jitter degree of the link to be tested during optical signal transmission according to the first current output optical powers and the second current output optical powers which are in one-to-one correspondence;
if the jitter degree meets the requirement of a preset jitter degree, determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the plurality of second current output optical powers and the second historical output optical powers;
determining a first jitter amplitude and a transmitting end jitter degree of the transmitting end network element during optical signal transmission according to the plurality of first current output optical powers and the first historical output optical powers;
and obtaining a detection result according to the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude.
2. The method of claim 1, wherein the obtaining the first historical output optical power of the originating network element in the link under test comprises:
determining a first historical use time of the originating network element;
acquiring a plurality of first initial output optical powers of the originating network element within the first historical service time at a preset first frequency;
and obtaining the first historical output optical power according to the plurality of first initial output optical powers.
3. The method of claim 1, wherein the obtaining the second historical output optical power of the receiving-end network element in the link to be tested comprises:
determining a second historical use time of the receiving end network element;
acquiring a plurality of second initial output optical powers of the receiving end network element within the second historical service time at a preset second frequency;
and obtaining the second historical output optical power according to the plurality of second initial output optical powers.
4. The method according to claim 1, wherein said determining a jitter level of the link under test during optical signal transmission according to a plurality of the first current output optical powers and a plurality of the second current output optical powers that correspond one to one comprises:
obtaining an output light power difference according to the first current output light power and the second current output light power;
and determining the jitter degree of the link to be tested during optical signal transmission according to the output optical power difference.
5. The method according to claim 4, wherein said determining a jitter level of the link under test during optical signal transmission according to the output optical power difference comprises:
determining a plurality of standard deviations of the first current output optical power and the second current output optical power according to the output optical power difference;
and determining the jitter degree of the link to be tested during optical signal transmission according to the standard deviation.
6. The method of claim 1, wherein the determining a second jitter amplitude of the terminating network element during optical signal transmission according to the plurality of second current output optical powers and the second historical output optical power comprises:
determining a second threshold range according to the second historical output optical power;
and determining a second jitter amplitude of the receiving end network element during optical signal transmission according to the second current output optical powers and the second threshold range.
7. The method of claim 6, wherein said determining a second jitter amplitude of the terminating NE during optical signal transmission according to the plurality of second current output optical powers and the second threshold range comprises:
and determining a second target output optical power and a second amplitude and value according to the second threshold range, wherein the second target output optical power is output optical power outside the second threshold range, and the second amplitude and value characterize the second jitter amplitude.
8. The method of claim 1, further comprising:
when the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude are all not zero, obtaining a jitter degree ratio according to the jitter degree and the originating jitter degree, and obtaining a jitter amplitude ratio according to the first jitter amplitude and the second jitter amplitude;
obtaining a detection result according to the jitter degree ratio and the jitter amplitude ratio;
or, when the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude are all zero, the detection result is that the link to be detected is normal.
9. The method according to claim 8, wherein obtaining the detection result according to the jitter degree ratio and the jitter amplitude ratio comprises:
when the jitter degree ratio is larger than the jitter amplitude ratio, comparing the jitter degree with the originating jitter degree:
if the jitter degree is greater than the transmission end jitter degree, the detection result is that the receiving end network element is abnormal or an optical fiber is abnormal, and the optical fiber is connected with the transmission end network element and the receiving end network element;
if the jitter degree is less than or equal to the transmission end jitter degree, the detection result is that the transmission end network element is abnormal;
when the jitter degree ratio is smaller than or equal to the jitter amplitude ratio, comparing the first jitter amplitude with the second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
10. The method of claim 1, wherein the first jitter amplitude and the second jitter amplitude are different from zero when the jitter level and the originating jitter level are zero,
Or when the jitter degree or the originating jitter degree is zero, and the first jitter amplitude or the second jitter amplitude is zero,
Or when the jitter degree or the originating jitter degree is not zero and the first jitter amplitude or the second jitter amplitude is zero, comparing the first jitter amplitude with the second jitter amplitude:
if the first jitter amplitude is larger than the second jitter amplitude, the detection result is that the originating network element is abnormal;
and if the first jitter amplitude is smaller than or equal to the second jitter amplitude, the detection result is that the receiving end network element is abnormal or the optical fiber is abnormal.
11. The method of claim 1, wherein when the jitter level and the originating jitter level are not zero, the first jitter amplitude and the second jitter amplitude are zero,
Or when the jitter degree or the originating jitter degree is zero and the first jitter amplitude and the second jitter amplitude are not zero, comparing the jitter degree with the originating jitter degree:
if the jitter degree is greater than the sending end jitter degree, the detection result is that the receiving end network element is abnormal or an optical fiber is abnormal, and the optical fiber is connected with the sending end network element and the receiving end network element;
and if the jitter degree is less than or equal to the originating jitter degree, the detection result is that the originating network element is abnormal.
12. The method of claim 1, wherein when there are more than two of the links under test, the method further comprises:
determining the jitter degree of each link to be tested;
determining an initial target link in the links to be tested according to the jitter degree, wherein the initial target link is the link to be tested of which the jitter degree meets the requirement of a preset jitter degree;
acquiring a second jitter amplitude of the initial target link;
when more than two initial target links exist, determining a target link in the initial target links according to the second jitter amplitude;
acquiring a first jitter amplitude and a transmitting end jitter degree of the target link;
and obtaining a detection result of the target link according to the jitter degree of the target link, the jitter degree of the sending end, the first jitter amplitude and the second jitter amplitude.
13. A detection device, which is applied to a detection system, the device comprises:
an obtaining module, configured to obtain a first historical output optical power and a plurality of first current output optical powers of a sending-end network element and a second historical output optical power and a plurality of second current output optical powers of a receiving-end network element in a link to be tested, where the first output optical powers correspond to the second output optical powers one to one;
a first determining module, configured to determine, according to the multiple first current output optical powers and the multiple second current output optical powers that are in one-to-one correspondence, a jitter degree of the link to be tested when performing optical signal transmission;
a second determining module, configured to determine, if the jitter degree meets a requirement of a preset jitter degree, a second jitter amplitude of the terminating network element during optical signal transmission according to a plurality of second current output optical powers and the second historical output optical powers;
a third determining module, configured to determine, according to the multiple first current output optical powers and the first historical output optical power, a first jitter amplitude and a transmission-end jitter degree of the transmission-end network element during optical signal transmission;
and the obtaining module is used for obtaining a detection result according to the jitter degree, the originating jitter degree, the first jitter amplitude and the second jitter amplitude.
14. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to implement the detection method of any one of claims 1 to 12.
15. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the detection method of any one of claims 1 to 12.
CN202211557884.1A 2022-12-06 2022-12-06 Detection method, detection device, electronic equipment and storage medium Pending CN115882944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211557884.1A CN115882944A (en) 2022-12-06 2022-12-06 Detection method, detection device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211557884.1A CN115882944A (en) 2022-12-06 2022-12-06 Detection method, detection device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115882944A true CN115882944A (en) 2023-03-31

Family

ID=85766166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211557884.1A Pending CN115882944A (en) 2022-12-06 2022-12-06 Detection method, detection device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115882944A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601930A (en) * 2003-09-23 2005-03-30 华为技术有限公司 Dynamic gain balance system and method of realizing same
US20060262709A1 (en) * 2005-03-28 2006-11-23 Hiroya Kakimoto Optical information recording apparatus, optical information recording method, and signal processing circuit
CN108964976A (en) * 2018-05-31 2018-12-07 华为技术有限公司 A kind of alarm prompt method and warning instruction device based on optical module
CN111294112A (en) * 2018-12-06 2020-06-16 华为技术有限公司 Data acquisition method and related equipment
CN112152868A (en) * 2019-06-28 2020-12-29 北京金山云网络技术有限公司 Network fault detection method and device, electronic equipment and storage medium
CN114486124A (en) * 2021-12-30 2022-05-13 中国电信股份有限公司 Optical cable joint box detection system
CN115396028A (en) * 2022-08-25 2022-11-25 长春理工大学 Spatial laser communication coupling device based on optical power jitter distribution

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601930A (en) * 2003-09-23 2005-03-30 华为技术有限公司 Dynamic gain balance system and method of realizing same
US20060262709A1 (en) * 2005-03-28 2006-11-23 Hiroya Kakimoto Optical information recording apparatus, optical information recording method, and signal processing circuit
CN108964976A (en) * 2018-05-31 2018-12-07 华为技术有限公司 A kind of alarm prompt method and warning instruction device based on optical module
CN111294112A (en) * 2018-12-06 2020-06-16 华为技术有限公司 Data acquisition method and related equipment
CN112152868A (en) * 2019-06-28 2020-12-29 北京金山云网络技术有限公司 Network fault detection method and device, electronic equipment and storage medium
CN114486124A (en) * 2021-12-30 2022-05-13 中国电信股份有限公司 Optical cable joint box detection system
CN115396028A (en) * 2022-08-25 2022-11-25 长春理工大学 Spatial laser communication coupling device based on optical power jitter distribution

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何如龙;孙强;: "免缠绕型光回波损耗测试仪在双工光纤跳线测试中的应用", 科技与创新, no. 02, 25 January 2018 (2018-01-25) *
汪井源, 徐智勇: "自由空间光通信", 解放军理工大学学报(自然科学版), no. 05, 20 November 2002 (2002-11-20) *

Similar Documents

Publication Publication Date Title
EP3439241B1 (en) Using machine learning to monitor link quality and predict link faults
CN108809757B (en) System alarm method, storage medium and server
CN111786804B (en) Link fault monitoring method and device
CN109120338B (en) Network fault positioning method, device, equipment and medium
CN109085811B (en) Equipment point inspection method and device
CN108683561B (en) Site state detection method and device
CN109768826B (en) Data processing method, device and equipment and computer readable storage medium
CN115882944A (en) Detection method, detection device, electronic equipment and storage medium
CN107592666B (en) Method and device for increasing transmission power of terminal equipment
JP5955464B2 (en) Method and device for determining a parameter characterizing the number of spare positions to be used for canceling the crosstalk of lines contained in a digital subscriber line vectorization group
CN112532467B (en) Method, device and system for realizing fault detection
JP2007166446A (en) Pon system, its abnormality determining method, and station side device
CN108768515B (en) Burst received optical power calibration method and device
CN114710801B (en) Processing method and device of evaluation parameters of network performance, storage medium and equipment
CN110794210A (en) Method and device for judging voltage harmonic isolation effect, power supply system, computer equipment and storage medium
CN114172796B (en) Fault positioning method and related device for communication network
CN115174437A (en) Network connection stability detection method and system
CN109699041A (en) A kind of RRU channel failure diagnosis processing method and RRU device
CN110417461B (en) Optical cable positioning method and device for multiple fault points and terminal equipment
CN113472825B (en) NB-IoT terminal transaction processing method and device based on block chain
JP5937955B2 (en) Packet transfer delay measuring apparatus, method and program
CN113810105A (en) Optical fiber link detection method, network device and storage medium
CN113259201A (en) Link performance testing method and device, server and storage medium
WO2020220231A1 (en) Submarine cable failure determination method and apparatus
CN112994976A (en) Gateway testing method and device, electronic equipment and storage medium

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