CN108964976A - A kind of alarm prompt method and warning instruction device based on optical module - Google Patents

A kind of alarm prompt method and warning instruction device based on optical module Download PDF

Info

Publication number
CN108964976A
CN108964976A CN201810553553.8A CN201810553553A CN108964976A CN 108964976 A CN108964976 A CN 108964976A CN 201810553553 A CN201810553553 A CN 201810553553A CN 108964976 A CN108964976 A CN 108964976A
Authority
CN
China
Prior art keywords
optical module
power
module
preset condition
index
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
CN201810553553.8A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810553553.8A priority Critical patent/CN108964976A/en
Publication of CN108964976A publication Critical patent/CN108964976A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters

Abstract

The alarm prompt method based on optical module that this application discloses a kind of obtains the data to be tested of optical module first, wherein includes N parameters in the data to be tested, the N is the integer greater than 0;If the N parameter meets the first alarm conditions, Testing index is obtained, the Testing index includes at least one target detection index;If the target detection index meets corresponding preset condition, alarm prompt is triggered.It through the above way can be before failure causes actual loss, it is detected in advance by index of the different detection methods to optical module, wherein, it is detected using health status of a plurality of types of indexs to optical module, the accuracy for helping to improve optical module detection, to accurately carry out alarm prompt.

Description

A kind of alarm prompt method and warning instruction device based on optical module
Technical field
This application involves the communications field more particularly to a kind of alarm prompt method and alarm prompt dresses based on optical module It sets.
Background technique
Simple Network Management Protocol (Simple Network Management Protocol, SNMP) is that one kind is applied to The agreement of network management, it belongs to application layer protocol, since the snmp protocol is simple and reliable, receives the welcome of numerous manufacturers, Become presently the most extensive Network Management Protocol.
As shown in FIG. 1, FIG. 1 is the basic framework figure of SNMP, snmp protocol is mainly made of two large divisions: snmp management system System and SNMP agent.Snmp management system can be described as a data center, be responsible for collecting the information for safeguarding each SNMP element, And these information are handled and analyzed;And SNMP agent is run on each network equipment being managed, and is responsible for statistics The every terms of information of the node, and responsible and snmp management system interaction, receive and execute the order of management system, upload various The local network information.Different types of optical module has the normal work model of corresponding rated power, electric current in the network equipment It encloses, generally more than threshold value or optical module will pass through SNMP triggering alarm when section.
In some special cases, although power or electric current are without departing from threshold value, optical module is but abnormal, conversely, Sometimes power or controller still but are able to work normally for a long time, therefore threshold value can not accurately reflect optical module Health status.
Summary of the invention
The alarm prompt method based on optical module that this application provides a kind of, can support failure cause actual loss it Before, it is predicted in advance by different indexs of the different detection methods to optical module, helps to find the problem in advance, do not made At failure is quickly repaired before actual loss, the stability of communication link is substantially increased, ensure that the quality of communication.
Alarm prompt method in the embodiment of the present application can be applied on the smart machine with certain processing capacity, such as Server or analysis platform.
The first aspect of the application provides a kind of alarm prompt method based on optical module, the alarm prompt method packet It includes:
The data to be tested of optical module are obtained first, wherein the data to be tested may include N parameters, and the N is big In 0 integer, one of situation is that data to be tested may include the reception power of optical module, send power, send electric current, temperature Degree and voltage etc. adopt number.
If the N parameter meets the first alarm conditions, it is determined that Testing index, the Testing index include at least one Target detection index illustrates that the hidden danger of optical module or failure are unobvious if the N parameter meets the first alarm conditions, It cannot clearly determine whether optical module will appear exception within following a period of time, therefore can be further by specifically detecting Be accurately positioned failure cause, it is necessary first to determine Testing index, specifically, Testing index may include power index, electric current index, Temperature and voltage etc..
If the target detection index meets corresponding preset condition, alarm prompt is triggered.
It can be supported before failure causes actual loss in the embodiment of the present application, in advance by different detection methods to optical mode The index of block is predicted, wherein is detected, is helped to improve to light using health status of multiple indexs to optical module The accuracy of module detection, efficiently and accurately carries out alarm prompt.
In conjunction with the embodiment of the present application in a first aspect, the first implementation of the first aspect in the embodiment of the present application In:
If the N parameter is unsatisfactory for first alarm conditions, it is determined that the first parameter;
Predict the first parameter in the numerical value of predetermined time by time sequence analysis algorithm;
If the numerical value of the predetermined time is greater than or equal to preset threshold, it is abnormal to determine that the optical module occurs.
In the embodiment of the present application the detection mode for optical module can be flexibly determined by judging the development trend of parameter, if Development trend more obviously can then directly adopt simple and fast time sequence analysis algorithm and be predicted, help to improve detection The efficiency of optical module.
In conjunction with the first aspect of the embodiment of the present application or the first implementation of first aspect, in the embodiment of the present application In second of implementation of first aspect:
If the N parameter includes the reception power of the optical module, sends electric current, temperature, and the optical module receives The slope of power, the slope for sending electric current and temperature is all satisfied corresponding preset range, it is determined that the N parameter meets first Alarm conditions.
Preliminary condition criterion is carried out to the N item parameter in data to be tested first in the embodiment of the present application, passes through this The prediction technique of optical module can be divided into two classes by part, and one kind can examine optical module by multiple design parameters of optical module It surveys.Another kind of prediction mode is the numerical value directly by the following a certain moment a certain parameter of time sequence analysis algorithm prediction, If the numerical value is greater than preset threshold, the abnormal parameters of optical module are determined.It can flexible choice for the optical module of different situations Different detection methods helps quickly and efficiently to detect optical module.
In conjunction with the embodiment of the present application first aspect into second of implementation of first aspect any one realization Mode, in the third implementation of the first aspect of the embodiment of the present application:
The Testing index includes: power index, electric current index, temperature and voltage.
It is detected in the application by health status of various indexs to optical module, the detection mode of multiple indexs The case where can avoiding erroneous judgement to a certain extent, enhances the convincingness of data, help to improve the accuracy of detection.
In conjunction with the embodiment of the present application first aspect into the third implementation of first aspect any one realization Mode, in the 4th kind of implementation of the first aspect of the embodiment of the present application:
If the Testing index is power index, the target detection index includes sending power, receiving power, power Variance and power standard are poor;
If the Testing index is electric current index, the target detection index includes electric current, electric current variance and electric current mark It is quasi- poor.
It may include again multiple target detection indexs under Testing index in the application, specific multiple Testing index help In quick, accurate positionin failure cause, the efficiency of detection is improved.
In conjunction with the 4th kind of implementation of the embodiment of the present application first aspect, the of the first aspect of the embodiment of the present application In five kinds of implementations:
If the transmission power is unsatisfactory for corresponding preset condition, judge whether the reception power of the optical module meets Corresponding preset condition;
If the reception power of the optical module meets corresponding preset condition, alarm prompt is triggered;
If not satisfied, then judging whether the power variance of the optical module and power standard difference meet corresponding default item Part;
If the power variance or power standard difference of the optical module meet corresponding preset condition, alarm prompt is triggered;
If not satisfied, then closing alarm prompt.
The application detects multiple specific targets of optical module according to the detected rule of setting, and failure can be accurately positioned Reason helps quickly to repair failure, guarantees the quality of communication link.
In conjunction with the embodiment of the present application first aspect the 5th kind of implementation in any one implementation, in the application In 6th kind of implementation of the first aspect of embodiment:
Judge whether the optical module meets condition for validity, the condition for validity is that the optical module is that non-management state is closed Interface and there are historical traffics;
If the optical module meets the preset condition, alarm prompt is triggered.
There are in fact such a case: although detecting optical module exception, place link is invalid link, because This is repaired without resource is expended.The application can filter out a part of invalid abnormal conditions by the way that condition for validity is arranged, Save vast resources.
The application second aspect provides a kind of warning instruction device, and the warning instruction device includes:
Module is obtained, for obtaining the data to be tested of optical module, wherein it include N parameters in the data to be tested, The N is the integer greater than 0;
Determining module, for determining Testing index, the Testing index when the N parameter meets the first alarm conditions Including at least one target detection index;
Trigger module, for triggering alarm prompt when the target detection index meets corresponding preset condition.
It can be supported before failure causes actual loss in the embodiment of the present application, in advance by different detection methods to optical mode The index of block is predicted, wherein is detected, is helped to improve to light using health status of multiple indexs to optical module The accuracy of module detection, specifies the health status of optical module, is efficiently and accurately alerted.
In conjunction with the second aspect of the embodiment of the present application, in the first implementation of the second aspect of the embodiment of the present application In:
The determining module, for determining the first parameter when the N parameter is unsatisfactory for first alarm conditions;
Prediction module, for predicting first parameter in the numerical value of predetermined time by time sequence analysis algorithm;
Determination module, for when the numerical value of the predetermined time is greater than or equal to preset threshold, determining first ginseng Count existing exception.
In the embodiment of the present application the detection mode for optical module can be flexibly determined by judging the development trend of parameter, if Development trend more obviously can then directly adopt simple and fast time sequence analysis algorithm and be predicted, help to improve detection The efficiency of optical module.
In conjunction with the second aspect of the embodiment of the present application or the first implementation of second aspect, in the embodiment of the present application In second of implementation of second aspect:
The determining module, the slope for receiving power, the slope for sending electric current and temperature when the optical module are full Determine that the N parameter meets the first alarm conditions when the corresponding preset range of foot.
Preliminary condition criterion is carried out to the N item parameter in data to be tested first in the embodiment of the present application, passes through this The prediction technique of optical module can be divided into two classes by part, and one kind can examine optical module by multiple design parameters of optical module It surveys.Another kind of prediction mode is the numerical value directly by the following a certain moment a certain parameter of time sequence analysis algorithm prediction, If the numerical value is greater than preset threshold, the abnormal parameters of optical module are determined.It can flexible choice for the optical module of different situations Different detection methods helps quickly and efficiently to detect optical module.
In conjunction with the embodiment of the present application second aspect into second of implementation of second aspect any one realization Mode, in the third implementation of the second aspect of the embodiment of the present application:
Judgment module, for judging the reception of the optical module when the transmission power is unsatisfactory for corresponding preset condition Whether power meets corresponding preset condition;
Trigger module, for triggering alarm prompt when the reception power of the optical module meets corresponding preset condition;
The judgment module, for described in the judgement when the reception power of the optical module is unsatisfactory for corresponding preset condition Whether the electric current variance and current standard deviation of optical module meet corresponding preset condition;
The trigger module meets corresponding preset condition for the power variance or power standard difference when the optical module When trigger alarm prompt;
Closedown module, for the pass when the power variance of the optical module or power standard difference meet corresponding preset condition Close alarm prompt.
The application detects multiple specific targets of optical module according to the detected rule of setting, and failure can be accurately positioned Reason helps quickly to repair failure, guarantees the quality of communication link.
In conjunction with the third implementation of the embodiment of the present application second aspect, the of the second aspect of the embodiment of the present application In four kinds of implementations:
The judgment module, for judging whether the optical module meets condition for validity, the condition for validity is the light Module is non-management state down interface and there are historical traffics;
Trigger module, for triggering alarm prompt when the optical module meets the preset condition.
The application can filter out a part of invalid abnormal conditions by the way that condition for validity is arranged, and save vast resources.
As can be seen from the above technical solutions, the application has the following advantages:
This application provides a kind of optical module detection methods, can support before failure causes actual loss, pass through in advance Different detection methods detect the index of optical module, wherein are good for using a variety of different types of indexs to optical module Health state is detected, and the accuracy to optical module detection is helped to improve, to efficiently and accurately carry out alarm prompt.
Detailed description of the invention
Fig. 1 is the basic framework figure of SNMP;
Fig. 2 is the embodiment schematic diagram of alarm prompt method in the embodiment of the present application;
Fig. 3 is the overall flow schematic diagram of alarm prompt method in the embodiment of the present application;
Fig. 4 is the flow diagram that power index is detected in the alarm prompt method of the embodiment of the present application;
Fig. 5 is an embodiment schematic diagram of the warning instruction device of the embodiment of the present application;
Fig. 6 is another embodiment schematic diagram of the warning instruction device of the embodiment of the present application;
Fig. 7 is another embodiment schematic diagram of the warning instruction device of the embodiment of the present application.
Specific embodiment
The alarm prompt method based on optical module that this application provides a kind of, can be by multiple indexs to the state of optical module It is predicted, facilitates the state of Accurate Prediction optical module, so as to be repaired in time, persistently guarantee the matter of communication link Amount.
Snmp protocol can support Network Management System, to monitor whether the equipment being connected on network has any cause The case where paying close attention in management, managerial data is presented with variable in SNMP agent as shown in Figure 1:, and Network Management System can be by specific The instruction fetching information of format, agency can also actively transmit data.Network Management System can also be updated or be controlled with transmitting configuration The request of class, achievees the purpose that active management system of automotive.
It is particularly important for transmitting the communication quality of the optical link of various information, the principle of optical link communication is equipment In optical module serve as the effect of photoelectric conversion, transmitting terminal converts the electrical signal to optical signal by optical module, is passed by optical fiber It send, the optical module of receiving end converts optical signals into electric signal again, and the equipment with optical module can be optical transmitter and receiver, optical fiber transceiving Device and interchanger etc..
The optical module of different model has corresponding rated power and normal electric current section, below rated power or electric current Normal interval in optical module can work normally, more than the feelings that rated power or interval theory upper module will appear operation irregularity Condition, therefore manufacturer can set alarm conditions accordingly, once it is more than that alarm conditions will trigger alarm.But single rated power The health status that optical module can not completely, be accurately predicted with the normal interval of electric current, because often will appear rated power Or electric current reaches critical point, but optical module but can work normally, and belong to pseudo- alarm at this time, useless alarm can waste largely Resource, although rated power or electric current work under normal range sometimes, but there is exception in optical module, causes to accuse at this time Alert system does not play due forewarning function.
Therefore the embodiment of the present application provides a kind of alarm prompt method based on optical module, as shown in Fig. 2, Fig. 2 is this Shen Please in embodiment the alarm prompt method based on optical module flow diagram:
101, the data to be tested of optical module are obtained, wherein include N parameters in the data to be tested, the N is big In 0 integer;
In the embodiment of the present application data to be tested include reflect optical mode bulk state parameter such as optical module reception power, Send power, send electric current, temperature and voltage etc., the data to be tested can be used for judging the preliminary state of optical module, with this Determine the state which kind of method can predict optical module by accurate and quickly.
If 102, the N parameter meets the first alarm conditions, it is determined that Testing index, the Testing index include at least One target detection index;
Assuming that determining that N parameters are to receive power, send three parameters of electric current and temperature, a series of passes that can be will acquire It is depicted as curve in the data for receiving power, transmission electric current and temperature, and calculates slope.Alarm conditions so at this time can be with It is set as (RXPower.slope>-0.5) and (Bias.slope<0.2) and (temp.slop<0.1), RXPower is optical module Reception power, Bias is the transmission electric current of optical module, and temp is the temperature that generates when optical module works, and slope indicates slope.
Meeting the alarm conditions means that the slope for receiving power is greater than -0.5, and the slope for sending electric current is less than 0.2, and the slope of temperature is less than 0.1, three parameters will meet corresponding preset range, that is, illustrate in data to be tested N parameters meet the alarm conditions.
If the N parameter meets the first alarm conditions, illustrate that the hidden danger of optical module or failure are unobvious, Bu Nengming Whether true optical module will appear exception in future in for a period of time, therefore can further pass through specifically detection accurate positionin event Hinder reason, it is necessary first to determine that Testing index, Testing index can be the parameter of preset in advance detect, detection refers to Mark may include these parameters of power, electric current, temperature and voltage, and Testing index includes at least one target detection index, tool Body, such as power detection index may include receiving power, sending this several power, power variance or power standard difference ginsengs Number, and electric current may include sending electric current, the parameters such as electric current variance or current standard deviation.
It should be noted that the parameter object in alarm conditions and alarm conditions can be it is flexible and changeable, in addition to upper State alarm conditions be receive power, send three parameter combinations of electric current and temperature except in the case of, can also individually to receive power, Send electric current or temperature wherein any one carry out the judgement of slope, i.e., by one of three parameters as the object of alarm conditions or It is using three parameter combination of two as the object of alarm conditions, this is not limited here.
In addition, the method in addition to being determined in the embodiment of the present application with slope for foundation, can also sentence in other ways Fixed whether to meet alarm conditions, such as the modes such as threshold value or section, this is not limited here.
If 103, the target detection index meets corresponding preset condition, alarm prompt is triggered.
Alarm conditions, preset condition in the embodiment of the present application can flexibly be set, therefore alarm conditions or default item The index can be considered as different that is, when some index meets alarm conditions or preset condition by part for the standard of some Indexes Abnormality Often.Conversely, alarm conditions or preset condition can also be regarded as to the normal standard of some index, that is, index is considered as when meeting condition Normally, specifically alarm or preset condition are not construed as limiting.It is marked in the embodiment of the present application with alarm conditions or preset condition to be abnormal It is illustrated for standard.
Each specific target detection index has corresponding preset condition, such as sending the corresponding preset condition of power can It is less than -20db to be set as sending the value of power, pseudocode is (TXPower < -20).If sending function in the data to be tested obtained The SNMP return value of rate meets the preset condition, illustrates to send power exception, therefore can trigger alarm prompt.If it is pre- to be unsatisfactory for this If condition, illustrates to send power in normal working range, power continuation next can be for example received according to other indexs Determined, receiving the corresponding preset condition of power can be for less than -15db, pseudocode be (RXPower < -15).With such It pushes away, the decision condition in relation to power variance and power standard difference can be with are as follows:
(TXPower_Var>50)OR(TXPower_std>4.5)OR(RXPower_std>4.5)OR(RXPower_Var> 9.7) there is exception in the variance or standard deviation for, meeting the condition stub power, i.e. power swing amplitude is too big.
Optionally, on the basis of Fig. 2 corresponding embodiment, the alarm provided by the embodiments of the present application based on optical module is mentioned Show that the another embodiment of method is as shown in Figure 3:
201, the data to be tested of optical module are obtained, wherein include N parameters in the data to be tested, the N is big In 0 integer;
202, judge whether the N parameter meets the first alarm conditions;
Step 201,202 with the step 101,102 similar in last embodiment, it is specific that details are not described herein again.
If 203, the N parameter meets the first alarm conditions, it is determined that Testing index, the Testing index include at least One target detection index;
Alarm conditions in the embodiment of the present application can flexibly be set according to parameter, and the setting particularly with regard to alarm conditions is joined See the step 102 in above-described embodiment, specific details are not described herein again.
Testing index in the embodiment of the present application may include power index, electric current index, temperature and voltage etc., need It is bright, judgement detection successively can be carried out to each index in the order described above, can also put in order according to others into Row determines that this is not limited here.
It is understood that can also be determined from power index, electric current index, temperature and voltage any one or it is several It is detected as Testing index.In the embodiment of the present application using power index, electric current index, temperature and voltage as Testing index simultaneously Successively detected:
204, power index is detected;
If detecting to power index, need first to determine the target detection index for including in power index, such as false If Testing index is power index, then target detection index may include sending power, receiving power, power variance or and power The parameters such as standard deviation.
The flow chart specifically detected to power index is as shown in Figure 4:
301, the transmission power of optical module is obtained from data to be tested;
302, judge whether the transmission power meets corresponding preset condition;
Specifically, the value that the preset condition of transmission power exception be set as sending power can be less than for power is sent- 20db, pseudocode are (TXPower < -20), and TXPower indicates the transmission power of optical module.
If the transmission power in data to be tested meets the preset condition, illustrate that the transmission power of optical module is abnormal, therefore Enter step 305;Enter step 303 if being unsatisfactory for illustrating sending power normally, to next target detection index continue into Row detection enters step 303;
303, judge to receive whether power meets corresponding preset condition;
Specifically, the value that the preset condition for receiving power exception can be set as receiving power is less than -15db, pseudocode is (RXPower < -15), RXPower indicate the reception power of optical module.
If the reception power in data to be tested meets the preset condition, illustrate that the reception power of optical module is abnormal, therefore 305 can be entered step;304 are entered step if being unsatisfactory for illustrating to receive power normally, next parameter is continued to detect;
304, judge whether power variance and standard deviation meet corresponding preset condition;
Power variance and power standard difference are the amplitudes for measuring power swing, therefore according to the settable correspondence of the characteristic Preset condition, can specifically be set as:
(TXPower_Var>50)OR(TXPower_std>4.5)OR(RXPower_std>4.5)OR(RXPower_Var> 9.7);
Wherein, TXPower_Var is the variance between optical module transmission power multichannel value, and TXPower_std is optical mode Block sends the standard deviation between power multichannel value, and RXPower_std > 4.5 are the standard deviation received between power multichannel value, RXPower_Var > 9.7 are the variance received between power multichannel value, as long as OR indicates one of parameter in four parameters In corresponding range, that is, it is considered as preset condition establishment.
If power variance, standard deviation meet corresponding preset condition and illustrate that the variance of power or standard deviation are abnormal, At this moment it carries out non-management state down interface being judged whether it is, while verifying and whether there is historical traffic, if non-into step 305 It manages state down interface and there are historical traffic, then export the corresponding testing result in relation to power variance or standard deviation.
305, judge whether it is non-management state down interface, while verifying and whether there is historical traffic;
Non-management state down interface means that interface is not forced closed, illustrates this time to detect effective.There are historical traffics It can illustrate that this optical link is active link during use, therefore determine These parameters exception and confirming that optical module is non- It manages state down interface and there are when historical traffic, carries out step 306: corresponding testing result is exported to result set, it is corresponding Testing result by the foundation as alarm prompt.When if management state down interface or historical traffic is not present, illustrate this Link is invalid link, therefore enters step 307 and give up corresponding testing result.
306, corresponding testing result is exported to result set;
307, give up corresponding testing result.
After step 204:
205, electric current index is detected;
The process specifically detected to electric current index is as follows:
It first determines whether to send whether electric current meets preset condition, for electric current is sent, can will send the default of current anomaly Condition is set as: sending electric current equal to 0 or greater than 80 milliamperes, pseudocode is (Bias==0) OR (Bias > 80), wherein Bias table Show the transmission electric current of optical module.
If the transmission electric current in data to be tested meets the preset condition, illustrate the transmission current anomaly of optical module, then will Corresponding testing result is exported to defeated result set, if being unsatisfactory for illustrating that transmission electric current is normal, next judges electric current variance and electricity Whether flow standard difference meets corresponding preset condition;
Similarly, the preset condition of electric current variance and standard deviation can specifically be set as (Bias_Var > 80) OR (Bias_std > 12), wherein Bias_Var is the variance between optical module transmission current multichannel value, and Bias_std is that optical module sends electric current Standard deviation between multichannel value.When optical module send electric current variance or standard deviation meet the preset condition, then illustrate to send Current fluctuation amplitude is abnormal, needs to export the testing result of related transmission electric current, if not satisfied, then to next Testing index into Row detection.
206, temperature is detected;
Similarly, judge whether the temperature of optical module meets corresponding preset condition, if satisfied, then illustrating that optical module work is different Often, it therefore gets the testing result is sent to result set after the testing result in relation to temperature, if being unsatisfactory for illustrating temperature In normal range (NR), then 207 are entered step;
207, voltage is detected;
Likewise, judging whether voltage meets corresponding preset condition, related voltage detecting result is exported extremely if meeting Result set terminates to detect if being unsatisfactory for.
Preliminary condition criterion is carried out to the N item parameter in data to be tested first in the embodiment of the present application, passes through this The prediction technique of optical module can be divided into two classes by part, and one kind can examine optical module by multiple design parameters of optical module It surveys, the health status of optical module is determined with this, improve the accuracy for optical module prediction, and pass through above embodiment Can also specific positioning failure reason, facilitate quick solve the problems, such as.Another kind of prediction mode is directly by time series point The numerical value for analysing the following a certain moment a certain parameter of algorithm prediction determines the ginseng of optical module if the numerical value is greater than preset threshold Number is abnormal.
After step 202:
If 208, the N parameter is unsatisfactory for first alarm conditions, it is determined that the first parameter;
Continue to use above-mentioned first alarm conditions:
(RXPower.slope>-0.5)and(Bias.slope<0.2)and(temp.slop<0.1);
If receive power, send electric current, temperature it is therein any one or it is several be unsatisfactory for corresponding preset range, depending on To be unsatisfactory for the first alarm conditions, enter the failure predication without omen at this time, specific:
The first parameter is determined first and the first parameter is detected.
209, predict the first parameter in the numerical value of predetermined time by time sequence analysis algorithm;
If 210, the numerical value of the predetermined time is greater than or equal to first threshold, it is abnormal to predict that the optical module occurs.
Assuming that the embodiment that the variation that the preset range set is parameters tends towards stability, then when receiving power, hair Power transmission stream, temperature it is therein any one or several be unsatisfactory for illustrating that corresponding Parameters variation is more acute when corresponding preset range It is strong, it at this moment can be predicted by time sequence analysis algorithm, if a certain parameter index at a certain moment is greater than preset threshold When value, then it is abnormal to illustrate that the parameter occurs, by judging that the development trend of parameter flexibly determines the detection mode for optical module, Simple and fast time sequence analysis algorithm can be directlyed adopt if development trend variation is more obvious to be predicted, help to mention The efficiency of high detection optical module.
The embodiment of the present application also provides a kind of warning instruction devices, as shown in figure 5, the warning instruction device includes:
Module 501 is obtained, for obtaining the data to be tested of optical module, wherein include N ginsengs in the data to be tested Number, the N are the integer greater than 0;
Determining module 502, for determining Testing index, the detection when the N parameter meets the first alarm conditions Index includes at least one target detection index;
Trigger module 503, for triggering alarm prompt when the target detection index meets corresponding preset condition.
It can be supported before failure causes actual loss in the embodiment of the present application, in advance by different detection methods to optical mode The index of block is predicted, wherein is detected, is helped to improve to light using health status of multiple indexs to optical module The accuracy of module detection, specifies the health status of optical module, is efficiently and accurately alerted.
Based on the corresponding embodiment of above-mentioned Fig. 5, referring to Fig. 6, the warning instruction device 50 in the embodiment of the present invention also wraps It includes:
The determining module 502 is also used to determine the first ginseng when the N parameter is unsatisfactory for first alarm conditions Number;
Prediction module 504, for predicting first parameter in the numerical value of predetermined time by time sequence analysis algorithm;
Determination module 505, for determining the optical mode when the numerical value of the predetermined time is greater than or equal to preset threshold Block occurs abnormal.
In the embodiment of the present application the detection mode for optical module can be flexibly determined by judging the development trend of parameter, if Development trend more obviously can then directly adopt simple and fast time sequence analysis algorithm and be predicted, help to improve detection The efficiency of optical module.
On the basis of Fig. 5 corresponding embodiment, in another embodiment of the application:
The determining module 502, the slope for receiving power, the slope for sending electric current and temperature when the optical module are equal Determine that the N parameter meets the first alarm conditions when meeting corresponding preset range.
Preliminary condition criterion is carried out to the N item parameter in data to be tested first in the embodiment of the present application, passes through this The prediction technique of optical module can be divided into two classes by part, and one kind can examine optical module by multiple design parameters of optical module It surveys.Another kind of prediction mode is the numerical value directly by the following a certain moment a certain parameter of time sequence analysis algorithm prediction, If the numerical value is greater than preset threshold, the abnormal parameters of optical module are determined.It can flexible choice for the optical module of different situations Different detection methods helps quickly and efficiently to detect optical module.
Based on the corresponding embodiment of above-mentioned Fig. 5, referring to Fig. 7, the warning instruction device 50 in the embodiment of the present invention also wraps It includes:
Judgment module 506, for judging the optical module when the transmission power is unsatisfactory for corresponding preset condition Receive whether power meets corresponding preset condition;
The trigger module 503, is also used to the triggering when the reception power of the optical module meets corresponding preset condition Alarm prompt;
The judgment module 506 is also used to sentence when the reception power of the optical module is unsatisfactory for corresponding preset condition Whether the electric current variance of the optical module of breaking and current standard deviation meet corresponding preset condition;
The trigger module 503, the power variance or power standard difference for being also used to work as the optical module meet corresponding pre- If triggering alarm prompt when condition;
Closedown module 507 meets corresponding preset condition for the power variance or power standard difference when the optical module When close alarm prompt.
The application detects multiple specific targets of optical module according to the detected rule of setting, and failure can be accurately positioned Reason helps quickly to repair failure, guarantees the quality of communication link.
On the basis of Fig. 5 corresponding embodiment, in another embodiment of the application:
The judgment module 506, is also used to judge whether the optical module meets condition for validity, and the condition for validity is institute Optical module is stated as non-management state down interface and there are historical traffics;
Trigger module 503 is also used to trigger alarm prompt when the optical module meets the preset condition.
The application can filter out a part of invalid abnormal conditions by the way that condition for validity is arranged, to save a large amount of calculating moneys The efficiency of detection is improved in source.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, Microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable to deposit Storage media can be any usable medium that computer can store or include the integrated clothes of one or more usable mediums The data storage devices such as business device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (12)

1. a kind of alarm prompt method based on optical module characterized by comprising
Obtain the data to be tested of optical module, wherein include N parameters in the data to be tested, the N is whole greater than 0 Number;
If the N parameter meets the first alarm conditions, Testing index is obtained, the Testing index includes at least one target Testing index;
If the target detection index meets corresponding preset condition, alarm prompt is triggered.
2. the method according to claim 1, wherein the method also includes:
If the N parameter is unsatisfactory for first alarm conditions, it is determined that the first parameter;
Determine first parameter in the numerical value of predetermined time by time sequence analysis algorithm;
If the numerical value of the predetermined time is greater than or equal to preset threshold, it is abnormal to determine that first parameter occurs.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
If the N parameter include the optical module reception power, send electric current, temperature, and the optical module receive power, The slope of the slope and temperature that send electric current is all satisfied corresponding preset range, it is determined that the N parameter meets the first alarm Condition.
4. according to the method in any one of claims 1 to 3, which is characterized in that the Testing index includes: that power refers to Mark, electric current index, temperature and voltage.
5. according to the method in any one of claims 1 to 3, it is characterised in that be, the method also includes:
If the Testing index is power index, the target detection index includes sending power, receiving power, power variance It is poor with power standard;
If the Testing index is electric current index, the target detection index includes sending electric current, electric current variance and electric current mark It is quasi- poor.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If the transmission power is unsatisfactory for corresponding preset condition, judge whether the reception power of the optical module meets correspondence Preset condition;
If the reception power of the optical module meets corresponding preset condition, alarm prompt is triggered;
If the reception power of the optical module is unsatisfactory for corresponding preset condition, the power variance and function of the optical module are judged Whether rate standard deviation meets corresponding preset condition;
If the power variance and power standard difference of the optical module meet corresponding preset condition, alarm prompt is triggered;
If the power variance and power standard difference of the optical module meet corresponding preset condition, alarm prompt is closed.
7. according to the method described in claim 6, it is characterized in that, before the triggering alarm prompt, the method also includes:
Judge whether the optical module meets condition for validity, the condition for validity is in the closing of non-management state for the optical module and connects Mouthful and there are historical traffics;
If the optical module meets the condition for validity, the testing result of the optical module is saved.
8. a kind of warning instruction device, which is characterized in that the warning instruction device includes:
Module is obtained, for obtaining the data to be tested of optical module, wherein it include N parameters in the data to be tested, it is described N is the integer greater than 0;
Determining module is also used to determine Testing index, the Testing index packet when the N parameter meets the first alarm conditions Include at least one target detection index;
Trigger module, for triggering alarm prompt when the target detection index meets corresponding preset condition.
9. device according to claim 8, which is characterized in that described device further include:
The determining module, for determining the first parameter when the N parameter is unsatisfactory for first alarm conditions;
Prediction module, for predicting first parameter in the numerical value of predetermined time by time sequence analysis algorithm;
Determination module, for determining that the optical module occurs when the numerical value of the predetermined time is greater than or equal to preset threshold It is abnormal.
10. device according to claim 8 or claim 9, which is characterized in that described device further include:
The determining module, the slope for receiving power, the slope for sending electric current and temperature when the optical module are all satisfied pair Determine that the N parameter meets the first alarm conditions when the preset range answered.
11. device according to claim 10, which is characterized in that described device further include:
Judgment module, for judging the reception power of the optical module when the transmission power is unsatisfactory for corresponding preset condition Whether corresponding preset condition is met;
Trigger module, for triggering alarm prompt when the reception power of the optical module meets corresponding preset condition;
The judgment module, for judging the optical mode when the reception power of the optical module is unsatisfactory for corresponding preset condition Whether the power variance and power standard difference of block meet corresponding preset condition;
The trigger module, for the touching when the power variance of the optical module or power standard difference meet corresponding preset condition Send out alarm prompt;
Closedown module is accused for closing when the power variance of the optical module or power standard difference meet corresponding preset condition Alert prompt.
12. device according to claim 11, which is characterized in that before the triggering alarm prompt, described device is also wrapped It includes:
The judgment module, for judging whether the optical module meets condition for validity, the condition for validity is the optical module For non-management state down interface and there are historical traffics;
Trigger module, for triggering alarm prompt when the optical module meets the preset condition.
CN201810553553.8A 2018-05-31 2018-05-31 A kind of alarm prompt method and warning instruction device based on optical module Pending CN108964976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810553553.8A CN108964976A (en) 2018-05-31 2018-05-31 A kind of alarm prompt method and warning instruction device based on optical module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810553553.8A CN108964976A (en) 2018-05-31 2018-05-31 A kind of alarm prompt method and warning instruction device based on optical module

Publications (1)

Publication Number Publication Date
CN108964976A true CN108964976A (en) 2018-12-07

Family

ID=64493259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810553553.8A Pending CN108964976A (en) 2018-05-31 2018-05-31 A kind of alarm prompt method and warning instruction device based on optical module

Country Status (1)

Country Link
CN (1) CN108964976A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224750A (en) * 2019-06-04 2019-09-10 北京百度网讯科技有限公司 Determination method and device, equipment and the storage medium of optical module working condition
CN111722655A (en) * 2020-08-04 2020-09-29 国家电网有限公司信息通信分公司 Optical module debugging and testing system, optical module debugging and testing method and upper computer
CN112311454A (en) * 2020-11-04 2021-02-02 中国联合网络通信集团有限公司 Method, device and equipment for determining state of optical module
CN113033947A (en) * 2021-01-26 2021-06-25 武汉联特科技股份有限公司 Optical module data management system and method
WO2022033431A1 (en) * 2020-08-13 2022-02-17 中兴通讯股份有限公司 Optical module heath state detection method, detection device, and storage medium
CN114826881A (en) * 2022-04-15 2022-07-29 北京科杰科技有限公司 Intelligent operation and maintenance method based on correlation analysis and computer readable storage medium
CN115882944A (en) * 2022-12-06 2023-03-31 中国联合网络通信集团有限公司 Detection method, detection device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089351A1 (en) * 2009-06-19 2012-04-12 Zte Corporation Method and Device for Detecting Fault of Signal Processing Equipment and Optical Interface Board Online
CN103152101A (en) * 2012-01-11 2013-06-12 索尔思光电(成都)有限公司 Operational state information generation in an optical transceiver
CN105718715A (en) * 2015-12-23 2016-06-29 华为技术有限公司 Anomaly detection method and device
US20160233957A1 (en) * 2013-09-23 2016-08-11 Zte Corporation Optical power data processing method, device and computer storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089351A1 (en) * 2009-06-19 2012-04-12 Zte Corporation Method and Device for Detecting Fault of Signal Processing Equipment and Optical Interface Board Online
CN103152101A (en) * 2012-01-11 2013-06-12 索尔思光电(成都)有限公司 Operational state information generation in an optical transceiver
US20160233957A1 (en) * 2013-09-23 2016-08-11 Zte Corporation Optical power data processing method, device and computer storage medium
CN105718715A (en) * 2015-12-23 2016-06-29 华为技术有限公司 Anomaly detection method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224750A (en) * 2019-06-04 2019-09-10 北京百度网讯科技有限公司 Determination method and device, equipment and the storage medium of optical module working condition
CN111722655A (en) * 2020-08-04 2020-09-29 国家电网有限公司信息通信分公司 Optical module debugging and testing system, optical module debugging and testing method and upper computer
WO2022033431A1 (en) * 2020-08-13 2022-02-17 中兴通讯股份有限公司 Optical module heath state detection method, detection device, and storage medium
CN112311454A (en) * 2020-11-04 2021-02-02 中国联合网络通信集团有限公司 Method, device and equipment for determining state of optical module
CN113033947A (en) * 2021-01-26 2021-06-25 武汉联特科技股份有限公司 Optical module data management system and method
CN113033947B (en) * 2021-01-26 2023-09-05 武汉联特科技股份有限公司 Optical module data management system and method
CN114826881A (en) * 2022-04-15 2022-07-29 北京科杰科技有限公司 Intelligent operation and maintenance method based on correlation analysis and computer readable storage medium
CN115882944A (en) * 2022-12-06 2023-03-31 中国联合网络通信集团有限公司 Detection method, detection device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108964976A (en) A kind of alarm prompt method and warning instruction device based on optical module
CN105373117A (en) Equipment fault diagnosis method, device and system
CN103220173B (en) A kind of alarm monitoring method and supervisory control system
US20190327130A1 (en) Methods, control node, network element and system for handling network events in a telecomunications network
US20200021994A1 (en) Method and attack detection function for detection of a distributed attack in a wireless network
US9584218B2 (en) Method and arrangement for monitoring optical transmission lines
CN110954849B (en) Abnormity detection system and method for electrical equipment and monitoring terminal
CN106487612A (en) A kind of server node monitoring method, monitoring server and system
CN115038088B (en) Intelligent network security detection early warning system and method
US7933211B2 (en) Method and system for providing prioritized failure announcements
CN101022638A (en) Alarm reporting method and alarm device
CN102075368A (en) Method, device and system for diagnosing service failure
CN114095965A (en) Index detection model obtaining and fault positioning method, device, equipment and storage medium
CN114173370A (en) Fault positioning method, device, equipment and storage medium
CN109412902B (en) Intelligent monitoring method, storage device, terminal and system of power dispatching data network system
US10440597B2 (en) Local monitoring of cellular base stations
CN101345656B (en) global fault rate measuring method
US10397815B2 (en) Cellular base station monitoring
KR20200138565A (en) Method and apparatus for managing a plurality of remote radio heads in a communication network
CN108650134B (en) Network fault positioning method and device and electronic equipment
CN113810238A (en) Network monitoring method, electronic device and storage medium
CN109699041A (en) A kind of RRU channel failure diagnosis processing method and RRU device
CN105892387B (en) The automatic reporting device of computer room hidden danger and method based on cross-platform multi-point data acquisition MPCA model
CN115080360A (en) Method, device and equipment for detecting liquid cooling server and readable medium
CN113872687A (en) Optical attenuation detection method and device based on link layer discovery protocol

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207