CN100499522C - Fault testing system of communication equipment and fault testing method of communication equipment - Google Patents

Fault testing system of communication equipment and fault testing method of communication equipment Download PDF

Info

Publication number
CN100499522C
CN100499522C CNB2006100904340A CN200610090434A CN100499522C CN 100499522 C CN100499522 C CN 100499522C CN B2006100904340 A CNB2006100904340 A CN B2006100904340A CN 200610090434 A CN200610090434 A CN 200610090434A CN 100499522 C CN100499522 C CN 100499522C
Authority
CN
China
Prior art keywords
perceptive object
execution
perceptive
state
type
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.)
Expired - Fee Related
Application number
CNB2006100904340A
Other languages
Chinese (zh)
Other versions
CN101047573A (en
Inventor
金雪锋
宋志新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CNB2006100904340A priority Critical patent/CN100499522C/en
Publication of CN101047573A publication Critical patent/CN101047573A/en
Application granted granted Critical
Publication of CN100499522C publication Critical patent/CN100499522C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for detecting fault of communication device includes calling on prestored attribute information of sensing object, confirming type of sensing object, confirming fault situation of sensing object and generating a corresponding fault event. The system used for realizing said method is also disclosed.

Description

Communication equipment fault detection system and communication equipment fault detection method
Technical field
The invention belongs to the plant maintenance field, particularly a kind of communication equipment fault detection system and a kind of communication equipment fault detection method.
Background technology
Because the machine of delaying of communication equipment will cause the paralysis of local or even whole network in the network, therefore, to the availability requirement of communication equipment generally all than higher; Especially for the communication equipment of core in the network, requiring usually provides (99.999%) availability of 59, allows the time of the machine of delaying can not be above 5 minutes in promptly 1 year.
Guarantee so high availability, its prerequisite is to make up perfect fault detection system and fault detection method, if promptly equipment has fault, must be able to detect as early as possible; After detecting fault, must accomplish fault location as early as possible; After navigating to fault, must realization repair fault as early as possible.Only in this way, just might satisfy requirement to the communication equipment availability.
Existing communication equipment fault detection system mainly is made up of perceptive object, awareness tool and fault detection module three parts, as shown in Figure 1, comprise perceptive object 1,2 and 3, the awareness tool 1,2 and 3 that is attached thereto respectively, and parts 1,2 and 3 fault detection module separately.Perceptive object mainly refers to the target that needs are detected, as: temperature, voltage, fan etc.; The effect of awareness tool mainly is a state of gathering these perceptive objects; Fault detection module is mainly coordinated the work of each several part, and the information of comprise the value that reads awareness tool, awareness tool being obtained is carried out necessary processing, control awareness tool etc.Shown in Figure 2, be the fault detection system schematic diagram of a reality.
The flow process of existing communication equipment fault detection method is as follows: fault detection module regularly goes to obtain the value of perceptive object (timing can be decided according to concrete perceptive object) by awareness tool, judge whether fault of perceptive object by the value of the perceptive object that obtains then, if fault just sends alarm event.Wherein, mainly adopt one-level thresholding determining method to judge whether fault of perceptive object, concrete steps are: the value of obtaining perceptive object by awareness tool; The value of the perceptive object that obtains compared with the threshold value that sets in advance (this threshold value can be revised later, thresholding can be divided into Upper threshold and Lower Threshold in addition), if the value of perceptive object, is then thought the status fault of perceptive object greater than Upper threshold or less than Lower Threshold; The person does not just think that the state of perceptive object is normal; Judge the state that detected last time whether with the state consistency of current detection, if inconsistent then thereby the generation state changes incident changes current state, otherwise, do not change current state.
Generally speaking, existing communication equipment fault detection system and fault detection method have following defective:
1,, use different fault detection module to detect at different perceptive objects; Its defective is:
Fault detection capability is scattered on each fault detection module, so need write corresponding fault detection program at different perceptive objects, causes much repeated work, and the cost of developing a whole set of testing software is high;
Write fault detection program at each perceptive object, it is unified that the external interface that each program provided is difficult to, and hindered the transplanting of distinct program and share;
Because the realization of fault detection program is different, has caused the increase of the maintenance cost of later stage software; The compatibility issue that has system simultaneously is unfavorable for the stable of fault detection system;
2, detect the attribute description that needs to solidify perceptive object in the communication equipment in the software; Its defective is:
Owing to detect software at design of communication equipments, therefore in detecting software, solidified the attribute of perceptive object simultaneously, caused the limitation of fault detection system extremely strong, only can the perceptive object of communication equipment at the beginning of the design have been detected, between different communication equipments, can not reuse;
3, adopt one-level thresholding determining method, its defective is:
One-level thresholding determining method can only judge that the state of perceptive object is in fault case or normal state, and can't distinguish in fact the order of severity of fault case (such as fatal/serious/slight etc.), more can't carry out corresponding troubleshooting according to the different orders of severity;
One-level thresholding determining method is a state of judging perceptive object according to the numerical value that obtains immediately, but reason owing to perceptive object, state such as some circuits, just need a measurement period, in a measurement period, meet the requirements if detect the number of times of fault, just think the status fault of circuit; Therefore, traditional one-level thresholding determining method brings erroneous judgement probably.
In sum, existing communication equipment fault detection system and communication equipment detection method are difficult to satisfy the requirement of portability, stability and accuracy, also exist exploitation, maintenance cost height simultaneously, the precision defect of insufficient.
Summary of the invention
The objective of the invention is for overcoming above-mentioned defective of the prior art, a kind of communication equipment fault detection system and a kind of communication equipment fault detection method are provided, by different perceptive objects is used unified failure detector, thereby avoid overlapping development, reduce development and maintenance cost, improve the stability of a system.
For achieving the above object, the invention provides a kind of communication equipment fault detection system, comprise at least one perceptive object and at least one awareness tool that is connected with described perceptive object respectively, also comprise the unified failure detector that is connected with described at least one awareness tool; Described failure detector comprises:
The object information processing module is used to obtain the perceptive object attribute information;
The object fault processing module is connected with described awareness tool, is used for obtaining by described awareness tool the state of perceptive object; Be connected with described object information processing module, be used to call the perceptive object attribute information and determine the affiliated type of perceptive object, type is divided according to the state of perceptive object under the described perceptive object; Thereby according to type and state information under the described perceptive object, determine the failure condition of described perceptive object, produce event of failure.
The preferred technique scheme is: also be provided with profile module in the described object information processing module, be used for storing in advance the configuration file of each perceptive object attribute information.
Described configuration file is used to describe the pattern information and the parameter information of described perceptive object, comprises at least: perceptive object title, perceptive object type, perceptive object type identification, perceptive object sign ID, the threshold value of perceptive object, the enable flag of perceptive object, the physical location of perceptive object and the data type of perceptive object.
Described at least one perceptive object is cycle statistics type perceptive object, one of statistics type perceptive object, multistage threshold type perceptive object, discrete type perceptive object, watermark type perceptive object and counting type perceptive object or combination in any continuously.
The present invention also provides a kind of communication equipment fault detection method, may further comprise the steps:
Step 1, call in advance the attribute information of the perceptive object of storage, and determine type under the described perceptive object according to described attribute information, type is divided according to the state of perceptive object under the described perceptive object;
Step 2, according to the affiliated type of the state information of perceptive object and the perceptive object that calls, determine the failure condition of described perceptive object, and, produce corresponding event of failure according to described failure condition.
Wherein, also comprise before the step 1: the attribute information of described perceptive object is kept in the configuration file.
Further, the attribute information of described perceptive object is that form according to XML is kept in the configuration file.
When determining in the described step 1 that the perceptive object type is cycle during statistics type perceptive object, described step 2 is specially:
Steps A 1, when sense cycle arrives, obtain the current state of described perceptive object, and the statistical counter counting of adding up;
Steps A 2, judge the statistic behavior of described perceptive object, if fault case, execution in step A3 then, otherwise execution in step A8;
Steps A 3, judging the current state of described perceptive object, is fault case, execution in step A4 then, otherwise execution in step A5;
Steps A 4, judging whether to reach the measurement period of described perceptive object, is execution in step A7 then, otherwise execution in step A14;
Steps A 5, accumulation state rolling counters forward;
Steps A 6, judging whether to reach the measurement period of described perceptive object, is execution in step A7 then, otherwise execution in step A14;
Steps A 7, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce the fault recovery incident, the statistic behavior that described perceptive object is set is a normal state, and execution in step A13, otherwise direct execution in step A13;
Steps A 8, judging the current state of described perceptive object, is normal state, execution in step A9 then, otherwise execution in step A10;
Steps A 9, judging whether to reach the measurement period of described perceptive object, is execution in step A12 then, otherwise execution in step A14;
Steps A 10, accumulation state rolling counters forward;
Steps A 11, judging whether to reach the measurement period of described perceptive object, is execution in step A12 then, otherwise execution in step A14;
Steps A 12, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce event of failure, the statistic behavior that described perceptive object is set is a fault case, and execution in step A13, otherwise direct execution in step A13;
Steps A 13, with state counter and statistical counter zero clearing;
Steps A 14, finish this detection.
When determining in the described step 1 that the perceptive object type is continuous statistics type perceptive object, described step 2 is specially:
Step B1, when sense cycle arrives, obtain the current state of described perceptive object;
Step B2, judge the statistic behavior of described perceptive object, if fault case, execution in step B3 then, otherwise execution in step B6;
Step B3, judging the current state of described perceptive object, is fault case, execution in step B9 then, otherwise execution in step B4;
Step B4, accumulation state rolling counters forward;
Step B5, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce the fault recovery incident, the statistic behavior that described perceptive object is set is a normal state, and execution in step B9, otherwise direct execution in step B10;
Step B6, judging the current state of described perceptive object, is normal state, execution in step B9 then, otherwise execution in step B7;
Step B7, accumulation state rolling counters forward;
Step B8, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce event of failure, the statistic behavior that described perceptive object is set is a fault case, and execution in step B9; Otherwise direct execution in step B10;
Step B9, with the state counter zero clearing;
Step B10, finish this detection.
When determining in the described step 1 that the perceptive object type is multistage threshold type perceptive object, described step 2 is specially:
Step C1, when sense cycle arrives, obtain the current state and the perception numerical value of described perceptive object;
Step C2, with threshold values at different levels default in the attribute information of described perception numerical value and described perceptive object relatively obtains the perceptive object state of this detection;
If the perceptive object state of this detection of step C3 is consistent with current state, then direct execution in step C5; Otherwise execution in step C4;
The state of step C4, described perceptive object is set to corresponding level;
Step C5, finish this detection.
When determining perceptive object class behavior discrete type perceptive object in the described step 1, described step 2 is specially:
Step D1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
Step D2, with numeric ratio default in the attribute information of described perception numerical value and described perceptive object, if consistent, execution in step D4 then; Otherwise execution in step D3;
Step D3, described perception numerical value are set to the current numerical value of described perceptive object, and produce state transition incident, execution in step D4;
Step D4, finish this detection.
When the analysis perceptive object was watermark type perceptive object in the described step 1, described step 2 was specially:
Step e 1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
If step e 2, with numeric ratio default in the attribute information of described perception numerical value and described perceptive object is greater than default maximum, then execution in step E3; If less than default minimum value, then execution in step E4; Otherwise execution in step E5;
Step e 3, log, and described default maximum is set to the numerical value of described perceptive object, execution in step E5;
Step e 4, log, and described default minimum value is set to the numerical value of described perceptive object, execution in step E5;
Step e 5, finish this detection.
When determining the perceptive object type for counting type perceptive object in the described step 1, described step 2 is specially:
Step F 1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
Step F 2, described perception numerical value is added to the last perception numerical value that detects and preserves;
Step F 3, finish this detection.
As shown from the above technical solution, the present invention by to perceptive object unification set up attribute information, adopt unified failure detector that different perceptive objects are detected, have following beneficial effect:
1, avoids at the different corresponding failure detectors of perceptive object overlapping development the cost that has reduced exploitation and safeguarded;
2, adopt unified failure detector, help improving the stability of system;
3, realized that failure detector reuses in the transplanting of different communication equipment.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the schematic diagram of communication equipment fault detection system in the prior art;
Fig. 2 is the schematic diagram of the fault detection system of a reality in the prior art;
Fig. 3 is the block diagram of the embodiment 1 of communication equipment fault detection system provided by the present invention;
Fig. 4 is the block diagram of the embodiment 2 of communication equipment fault detection system provided by the present invention;
Fig. 5 is the flow chart of communication equipment fault detection method provided by the present invention;
Fig. 6 is the flow chart of the embodiment 1 of method shown in Figure 5;
Fig. 7 is the flow chart of the embodiment 2 of method shown in Figure 5;
Fig. 8 is the flow chart of the embodiment 3 of method shown in Figure 5;
Fig. 9 is the flow chart of the embodiment 4 of method shown in Figure 5;
Figure 10 is the flow chart of the embodiment 5 of method shown in Figure 5;
Figure 11 is the flow chart of the embodiment 6 of method shown in Figure 5.
Embodiment
Communication equipment fault detection system provided by the present invention, by to perceptive object unification set up attribute information, type under dividing realizes using unified failure detector that communication equipment is carried out fault detect and handles.
Among the present invention, carry out the perceptive object that attribute information is set up, can be the perceptive object of dividing according to fan, temperature, voltage etc., need the concrete hardware of clear and definite communication equipment to constitute but divide like this, set up even finish attribute information, also be unfavorable for transplanting between the system of fault detection system; Therefore, the perceptive object that is adopted among the present invention, be to monitor as required and the state of the perceptive object that detects is divided, be divided into cycle statistics type perceptive object, statistics type perceptive object, multistage threshold type perceptive object, discrete type perceptive object, watermark type perceptive object and counting type perceptive object continuously.
Wherein, cycle statistics type perceptive object is meant in certain measurement period, and the number of times that the state of perceptive object changes surpasses the number of times of setting, and thinks that then the state of perceptive object really changes.The state of perceptive object changes and comprises two kinds of situations, and a kind of is that the state of perceptive object becomes fault case from normal state, and another kind is to return to normal state from fault case.Give an example: a kind of light signal is arranged, and its measurement period is 1s (second), and sensed light signal is 10 times in measurement period, if in detecting for 10 times, finding has 7 light signals undesired, can think that then light signal breaks down; In like manner, be under the situation of fault case at light signal, if in detecting for 10 times, find to have 6 subnormal, can think that then light signal returns to normal state from fault case.
Continuous statistics type perceptive object, the state that is meant perceptive object are in testing process, and the number of times that recurs change surpasses the number of times of setting, and thinks that then the state of perceptive object changes.For example, a kind of clock phase locked state, if in testing process, it is unusual to be consecutively detected 5 next states, just can think that clock is phase-locked unusual; In like manner, if it is normal to be consecutively detected 6 next states, can think that then the phase-locked recovering state of clock arrives normal state.
Multistage threshold type perceptive object, it is multistage to be meant that thresholding with perceptive object is divided into, and comprises high fatal, high serious, high slight, normal, low fatal, low serious, low slightly state in totally 7.The temperature of veneer for example, its high fatal thresholding are 90 degree, and high serious thresholding is 70 degree, and high slight thresholding is 60 degree, and low slight thresholding is 20 degree, and low serious thresholding is 0 degree, and low fatal thresholding is 0 time 5 degree, normally is between 60~20.
The discrete type perceptive object is meant that the state of perceptive object can be represented with set of number, and the state transition of object is known in the transition representative of perception state.For example the active and standby hardware state of veneer comprises major state and is equipped with state, and the led status of veneer comprises red, green, blue and yellow etc.Although substantially, this state transition is not failure condition, as the reference information of failure condition, often need detect when fault detect yet.
Watermark type perceptive object is meant the perceptive object that needs record maximum and minimum value, for example the CPU occupation rate of veneer.
Counting type perceptive object is meant the perceptive object that needs record accumulative total numerical value and state, for example the transmitting-receiving bag number of the network port.
Obviously, carry out attribute information according to above-mentioned classification unification and set up, then the corresponding type information of each classification can be set up in advance, and does not rely on the hardware formation of concrete communication equipment; After type information is set up and finished, write down the concrete parameter of each awareness tool again.After attribute information is set up, only need the related of in configuration file record actual perceived parts and a certain attribute information, just can in the actual detected process, call this attribute information, handled according to the concrete parameter in the configuration file.
For example, when needs detect CPU, can detect cpu temperature, also can add up the pattern formula and detect the CPU congestion situation according to the cycle according to continuous statistics pattern formula.Wherein, adding up pattern formula, cycle statistics pattern formula continuously is type information, and cpu temperature, CPU be congested then to have other parameter of branch.
Enumerated the said sensed object though it will be appreciated by those skilled in the art that the present invention, only be explanation the present invention's usefulness, promptly the modeling kind of perceptive object is not limited only to above-mentioned six kinds, and can set according to the needs in the actual detected.
Embodiment 1:
As shown in Figure 3, comprise perceptive object 1, the awareness tool 2 that is connected with perceptive object 1 respectively, the unified failure detector 3 that is connected with awareness tool 2.
This failure detector 3 is used for replacing fault detection module of the prior art, comprising:
Object information processing module 31 has the classification processing capacity to perceptive object 1 information, and concrete, this object information processing module 31 can be extracted the attribute information of perceptive object 1.
This object information processing module 31 can be when the failure detector initialization getattr information, also can be in the fault detection system testing process getattr information.
In the present embodiment, be provided with a profile module (not shown) in this object information processing module 31, be used for storing in advance the configuration file of each perceptive object attribute information.In the present embodiment promptly, the attribute information of perceptive object 1, comprise type information and parameter setting, be set in advance respectively in configuration file, and be kept in the object information processing module 31, when failure detector 3 initialization or fault detection system operation, object information processing module 31 just extracts the information that is associated from configuration file.For example, CPU voltage and veneer voltage all can be associated with cycle statistics type perceptive object and be handled.
Concrete, the attribute information of configuration file stores comprises in the present embodiment: type information such as perceptive object title, perceptive object type, perceptive object type identification; Parameter setting comprises perceptive object sign ID, the threshold value of perceptive object, the enable flag of perceptive object, the physical location of perceptive object and the data type of perceptive object.The form of configuration file can use XML to be described, or with the form of text.The communication equipment detection earlier will whole to be measured information settings in configuration file, just can unify processing according to different patterns.
Object fault processing module 32 is connected with awareness tool 2, is used for obtaining by awareness tool 2 state information of perceptive object 1; Be connected with object information processing module 31, determine the affiliated type of perceptive object thereby be used to call the perceptive object attribute information; Also be used for determining perceptive object 1 failure condition according to type under the perceptive object and state information, promptly whether its state changes, and comprises the switching between fault case and the normal state, the switching of discrete state etc.If the state of perceptive object 1 changes, just produce event of failure, for example, when perceptive object 1 when fault case switches to normal state, produce the fault recovery incident.
Because object fault processing module 32 is responsible for the generation of event of failure, therefore wherein be provided with this areas such as counter, timer at the module (not shown) that carries out using always when equipment fault detects.
Simultaneously, perceptive object 1 is cycle statistics type perceptive object, one of statistics type perceptive object, multistage threshold type perceptive object, discrete type perceptive object, watermark type perceptive object and counting type perceptive object or combination in any continuously.For example, can be divided into cpu temperature, CPU voltage, veneer voltage, fan etc. in the present embodiment.Awareness tool 2 and perceptive object 1 corresponding connection are used for the variation of perception cpu temperature, the perhaps variation of perception CPU voltage, and the perhaps variation of perception fan, or the like.
As can be seen,, need not to edit the exploitation failure detector repeatedly, reduced development and maintenance cost at different parts by the system of present embodiment; Simultaneously, do not have too much to detect the existence operation of software, help improving the stability of system yet.
Embodiment 2:
Referring to Fig. 4, comprise perceptive object 1, the awareness tool 2 that is connected with perceptive object 1, the unified failure detector 3 that is connected with awareness tool 2, the profile module 4 that is connected with failure detector 3.
Wherein, failure detector 3 comprises object information processing module 31 and object fault processing module 32, profile module 4 is connected with Obj State message processing module 31, be used for storing in advance the configuration file of perceptive object attribute information, described configuration file is used to describe perceptive object type information and parameter setting, comprises the threshold value of perceptive object title, perceptive object type, perceptive object type identification, perceptive object ID, perceptive object, the enable flag of perceptive object, the physical location of perceptive object and the data type of perceptive object.The form of configuration file can use XML to be described.
Wherein, profile module 4 can be upgraded at any time, and the elder generation that needs only the communication equipment that detects in change just can unify whole to be measured information updatings to handle according to different patterns.
This profile module 4 can be arranged in the network configuration server, also can be arranged in the Devices to test, is not subjected to the restriction of concrete physical address, as long as can communicate to connect with object information processing module 31.
As seen, adopt the system that present embodiment provided, can realize that failure detector reuses in the transplanting of different communication equipment.
The present invention also provides a kind of communication equipment fault detection method, and its flow chart may further comprise the steps as shown in Figure 5:
Step 1, call in advance the attribute information of the perceptive object of storage, and determine type under the described perceptive object according to described attribute information;
The affiliated type and the state information of the perceptive object that step 3, basis are called are determined the failure condition of described perceptive object, and according to described failure condition, are produced corresponding event of failure.
Wherein, also comprise before the step 1: preserve the attribute information of perceptive object, and the attribute information of described perceptive object is kept in the configuration file.
Further, the attribute information of the described perceptive object form according to XML can be kept in the configuration file.
Embodiment 1:
Setting up the perceptive object attribute information, and after being kept in the configuration file, in process fault detection, calling configuration file and obtain the perceptive object attribute information, and, determine that the type under this perceptive object is a cycle statistics type perceptive object according to the attribute information of perceptive object.
As cycle statistics type perceptive object, have the foundation of following technical parameter as failure judgement attitude or normal state:
Sense cycle: the time interval that tested perceptive object current state is obtained;
Measurement period: in the time interval that tested perceptive object statistic behavior is judged, measurement period is the multiple of sense cycle, equals 10 sense cycle such as a measurement period.
Statistical counter: show current what sense cycle of having finished.
State counter: show in the sense cycle of carrying out, obtain the counting of the state different with the perceptive object statistic behavior.
Produce thresholding: in a measurement period, be equal to, or greater than this value, just think that the statistic behavior of perceptive object is a fault if detect the number of times of perceptive object fault.
Recover thresholding: in a measurement period, be equal to, or greater than this value if detect the normal number of times of perceptive object, the statistic behavior that perceptive object just is set is for normal.
Current state: the state of the perceptive object that sense cycle is obtained.
Statistic behavior: the state of the perceptive object that obtains according to thresholding and state counter in the measurement period.
After determining that then perceptive object is cycle statistics type perceptive object, handling process as shown in Figure 6:
Steps A 1, when sense cycle arrives, obtain the current state of described perceptive object, and the statistical counter counting of adding up;
Steps A 2, judge the statistic behavior of described perceptive object, if fault case, execution in step A3 then, otherwise execution in step A8;
Steps A 3, judging the current state of described perceptive object, is fault case, execution in step A4 then, otherwise execution in step A5;
Steps A 4, judging whether to reach the measurement period of described perceptive object, is execution in step A7 then, otherwise execution in step A14;
Steps A 5, accumulation state rolling counters forward;
Steps A 6, judging whether to reach the measurement period of described perceptive object, is execution in step A7 then, otherwise execution in step A14;
Steps A 7, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce the fault recovery incident, the statistic behavior that described perceptive object is set is a normal state, and execution in step A13, otherwise direct execution in step A13;
Steps A 8, judging the current state of described perceptive object, is normal state, execution in step A9 then, otherwise execution in step A10;
Steps A 9, judging whether to reach the measurement period of described perceptive object, is execution in step A12 then, otherwise execution in step A14;
Steps A 10, accumulation state rolling counters forward;
Steps A 11, judging whether to reach the measurement period of described perceptive object, is execution in step A12 then, otherwise execution in step A14;
Steps A 12, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce event of failure, the statistic behavior that described perceptive object is set is a fault case, and execution in step A13, otherwise direct execution in step A13;
Steps A 13, with state counter and statistical counter zero clearing;
Steps A 14, finish this detection.
In the present embodiment, attribute information also can not be kept in the specific configuration file, but is stored association with information such as databases.But the pattern of configuration file helps transplanting and safeguarding more.
Embodiment 2:
Setting up the perceptive object attribute information, and after being kept in the configuration file, in process fault detection, calling configuration file and obtain the perceptive object attribute information, and, determine that the type under this perceptive object is continuous statistics type perceptive object according to the attribute information of perceptive object.
As continuous statistics type perceptive object, have the foundation of following technical parameter as failure judgement attitude or normal state:
State counter: show in the sense cycle of carrying out, obtain the counting of the state different with the perceptive object statistic behavior.
Produce thresholding: being equal to, or greater than this value if be consecutively detected the number of times of perceptive object fault, is fault with regard to the statistic behavior that perceptive object is set.
Recover thresholding: be equal to, or greater than this value if be consecutively detected the normal number of times of perceptive object, the statistic behavior that perceptive object just is set is for normal.
After determining that then perceptive object is continuous statistics type perceptive object, handling process as shown in Figure 7:
Step B1, when sense cycle arrives, obtain the current state of described perceptive object;
Step B2, judge the statistic behavior of described perceptive object, if fault case, execution in step B3 then, otherwise execution in step B6;
Step B3, judging the current state of described perceptive object, is fault case, execution in step B9 then, otherwise execution in step B4;
Step B4, accumulation state rolling counters forward;
Step B5, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce the fault recovery incident, the statistic behavior that described perceptive object is set is a normal state, and execution in step B9, otherwise direct execution in step B10;
Step B6, judging the current state of described perceptive object, is normal state, execution in step B9 then, otherwise execution in step B7;
Step B7, accumulation state rolling counters forward;
Step B8, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce event of failure, the statistic behavior that described perceptive object is set is a fault case, and execution in step B9; Otherwise direct execution in step B10;
Step B9, with the state counter zero clearing;
Step B10, finish this detection.
Embodiment 3:
Setting up the perceptive object attribute information, and after being kept in the configuration file, in process fault detection, calling configuration file and obtain the perceptive object attribute information, and, determine that the type under this perceptive object is multistage threshold type perceptive object according to the attribute information of perceptive object.
For multistage threshold type perceptive object, present embodiment is divided into the state of perceptive object: high critical failure attitude, high serious attitude, high slight attitude, normal state, low minor failure attitude, low catastrophe failure attitude, and low critical failure attitude.
After determining that then perceptive object is multistage threshold type perceptive object, handling process as shown in Figure 8:
Step C1, when sense cycle arrives, obtain the current state and the perception numerical value of described perceptive object; With current state is that high critical failure attitude is an example;
Step C2, with threshold values at different levels default in the attribute information of described perception numerical value and described perceptive object relatively obtains the perceptive object state of this detection;
If the perceptive object state of this detection of step C3 is consistent with current state, promptly the value of perceptive object still is higher than or equals high fatal generation thresholding, then direct execution in step C5; Otherwise execution in step C4;
The state of step C4, described perceptive object is set to corresponding level, be specially: if the value of perceptive object is lower than or equals high fatal recovery thresholding, and be higher than or equal high serious generation thresholding, then the state of perceptive object is set to high serious fault case, and produces high critical failure recovery incident and high catastrophe failure generation incident; If the value of perceptive object is lower than and high serious produces thresholding, and be higher than or equal the high slight thresholding that produces, then the state of perceptive object is set to high slight fault case, and produces that high critical failure recovers incident and high minor failure produces incident; If the value of perceptive object is lower than and high slight produces thresholding, and be higher than or equal the low slight thresholding that produces, then the state with perceptive object is provided with normal state, and produces high critical failure and recover incident; If the value of perceptive object is higher than and low serious produces thresholding, and be lower than or equal the low slight thresholding that produces, then the state of perceptive object is set to low slight fault case, and produces that high critical failure recovers incident and low minor failure produces incident; If the value of perceptive object is higher than low fatal generation thresholding, and is lower than or equals the low serious thresholding that produces, then the state of perceptive object is set to low serious fault case, and produces that high critical failure recovers incident and low catastrophe failure produces incident; If the value of perceptive object is lower than or equals low fatal generation thresholding, then the state of perceptive object is set to low fatal fault case, and produces high critical failure recovery incident and low critical failure generation incident;
Step C5, finish this detection.
In the present embodiment, though be that example describes with high critical failure attitude, obviously, high serious attitude, high slight attitude, normal state, low minor failure attitude, low catastrophe failure attitude, and the processing procedure of low critical failure attitude is identical.
Embodiment 4:
Setting up the perceptive object attribute information, and after being kept in the configuration file, in process fault detection, calling configuration file and obtain the perceptive object attribute information, and, determine that the type under this perceptive object is the discrete type perceptive object according to the attribute information of perceptive object.
Thereafter handling process is as shown in Figure 9:
Step D1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
Step D2, with numeric ratio default in the attribute information of described perception numerical value and described perceptive object, if consistent, execution in step D4 then; Otherwise execution in step D3;
Step D3, described perception numerical value are set to the current numerical value of described perceptive object, and produce state transition incident, execution in step D4;
Step D4, finish this detection.
Embodiment 5:
Setting up the perceptive object attribute information, and after being kept in the configuration file, in process fault detection, calling configuration file and obtain the perceptive object attribute information, and, determine that the type under this perceptive object is a watermark type perceptive object according to the attribute information of perceptive object.
Watermark type perceptive object has two important attributes: maximum and minimum value.
Then determine after the watermark type perceptive object, handling process as shown in figure 10:
Step e 1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
If step e 2, with numeric ratio default in the attribute information of described perception numerical value and described perceptive object is greater than default maximum, then execution in step E3; If less than default minimum value, then execution in step E4; Otherwise execution in step E5;
Step e 3, log, and described default maximum is set to the numerical value of described perceptive object, execution in step E5;
Step e 4, log, and described default minimum value is set to the numerical value of described perceptive object, execution in step E5;
Step e 5, finish this detection.
Embodiment 6:
Setting up the perceptive object attribute information, and after being kept in the configuration file, in process fault detection, calling configuration file and obtain the perceptive object attribute information, and, determine that the type under this perceptive object is counting type perceptive object according to the attribute information of perceptive object.
Thereafter handling process is as shown in figure 11:
Step F 1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
Step F 2, described perception numerical value is added to the last perception numerical value that detects and preserves;
Step F 3, finish this detection.
Above-mentioned 6 embodiment, respectively from the angle of different perceptive object types, the perceptive object testing process is illustrated, enriched the method for fault detect, solved the limitation of traditional fault detection method, optimized the detection method of traditional one-level thresholding such as multistage threshold type perceptive object detection method, cycle statistics type and continuously statistics type perceptive object detection method solved the situation of perceptive object state labile.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (13)

1, a kind of communication equipment fault detection system comprises at least one perceptive object and at least one awareness tool that is connected with described perceptive object respectively, it is characterized in that, also comprises the unified failure detector that is connected with described at least one awareness tool; Described failure detector comprises:
The object information processing module is used to obtain the perceptive object attribute information;
The object fault processing module is connected with described awareness tool, is used for obtaining by described awareness tool the state information of perceptive object; Be connected with described object information processing module, be used to call the perceptive object attribute information and determine the affiliated type of perceptive object, type is divided according to the state of perceptive object under the described perceptive object; Thereby according to type and state information under the described perceptive object, determine the failure condition of described perceptive object, produce event of failure.
2, system according to claim 1 is characterized in that also being provided with profile module in the described object information processing module, is used for storing in advance the configuration file of each perceptive object attribute information.
3, system according to claim 2, it is characterized in that described configuration file is used to describe the attribute information of described perceptive object, the attribute information of described perceptive object comprises at least: perceptive object title, perceptive object type, perceptive object type identification, perceptive object sign ID, the threshold value of perceptive object, the enable flag of perceptive object, the physical location of perceptive object and the data type of perceptive object.
4,, it is characterized in that described at least one perceptive object is cycle statistics type perceptive object, one of statistics type perceptive object, multistage threshold type perceptive object, discrete type perceptive object, watermark type perceptive object and counting type perceptive object or combination in any continuously according to each described system in the claim 1 to 3.
5, a kind of communication equipment fault detection method is characterized in that may further comprise the steps:
Step 1, call in advance the attribute information of the perceptive object of storage, and determine type under the described perceptive object according to described attribute information, type is divided according to the state of perceptive object under the described perceptive object;
Step 2, according to the affiliated type of the state information of perceptive object and the perceptive object that calls, determine the failure condition of described perceptive object, and, produce corresponding event of failure according to described failure condition.
6, method according to claim 5, it is characterized in that also comprising before the described step 1: the attribute information of described perceptive object is kept in the configuration file.
7, method according to claim 6, the attribute information that it is characterized in that described perceptive object are that the form according to XML is kept in the configuration file.
8,, it is characterized in that described step 2 is specially when determining in the described step 1 that the perceptive object type is cycle during statistics type perceptive object according to each described method in the claim 5 to 7:
Steps A 1, when sense cycle arrives, obtain the current state of described perceptive object, and the statistical counter counting of adding up;
Steps A 2, judge the statistic behavior of described perceptive object, if fault case, execution in step A3 then, otherwise execution in step A8;
Steps A 3, judging the current state of described perceptive object, is fault case, execution in step A4 then, otherwise execution in step A5;
Steps A 4, judging whether to reach the measurement period of described perceptive object, is execution in step A7 then, otherwise execution in step A14;
Steps A 5, accumulation state rolling counters forward;
Steps A 6, judging whether to reach the measurement period of described perceptive object, is execution in step A7 then, otherwise execution in step A14;
Steps A 7, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce the fault recovery incident, the statistic behavior that described perceptive object is set is a normal state, and execution in step A13, otherwise direct execution in step A13;
Steps A 8, judging the current state of described perceptive object, is normal state, execution in step A9 then, otherwise execution in step A10;
Steps A 9, judging whether to reach the measurement period of described perceptive object, is execution in step A12 then, otherwise execution in step A14;
Steps A 10, accumulation state rolling counters forward;
Steps A 11, judging whether to reach the measurement period of described perceptive object, is execution in step A12 then, otherwise execution in step A14;
Steps A 12, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce event of failure, the statistic behavior that described perceptive object is set is a fault case, and execution in step A13, otherwise direct execution in step A13;
Steps A 13, with state counter and statistical counter zero clearing;
Steps A 14, finish this detection.
9,, it is characterized in that described step 2 is specially when determining in the described step 1 that the perceptive object type is continuous statistics type perceptive object according to each described method in the claim 5 to 7:
Step B1, when sense cycle arrives, obtain the current state of described perceptive object;
Step B2, judge the statistic behavior of described perceptive object, if fault case, execution in step B3 then, otherwise execution in step B6;
Step B3, judging the current state of described perceptive object, is fault case, execution in step B9 then, otherwise execution in step B4;
Step B4, accumulation state rolling counters forward;
Step B5, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce the fault recovery incident, the statistic behavior that described perceptive object is set is a normal state, and execution in step B9, otherwise direct execution in step B10;
Step B6, judging the current state of described perceptive object, is normal state, execution in step B9 then, otherwise execution in step B7;
Step B7, accumulation state rolling counters forward;
Step B8, judge described state counter counting whether more than or equal to the recovery threshold value of setting, be then to produce event of failure, the statistic behavior that described perceptive object is set is a fault case, and execution in step B9, otherwise direct execution in step B10;
Step B9, with the state counter zero clearing;
Step B10, finish this detection.
10,, it is characterized in that described step 2 is specially when determining in the described step 1 that the perceptive object type is multistage threshold type perceptive object according to each described method in the claim 5 to 7:
Step C1, when sense cycle arrives, obtain the current state and the perception numerical value of described perceptive object;
Step C2, with threshold values at different levels default in the attribute information of described perception numerical value and described perceptive object relatively obtains the perceptive object state of this detection;
If the perceptive object state of this detection of step C3 is consistent with current state, then direct execution in step C5; Otherwise execution in step C4;
The state of step C4, described perceptive object is set to corresponding level;
Step C5, finish this detection.
11,, it is characterized in that described step 2 is specially when determining that the perceptive object type is the discrete type perceptive object in the described step 1 according to each described method in the claim 5 to 7:
Step D1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
Step D2, with numeric ratio default in the attribute information of described perception numerical value and described perceptive object, if consistent, execution in step D4 then; Otherwise execution in step D3;
Step D3, described perception numerical value are set to the current numerical value of described perceptive object, and produce state transition incident, execution in step D4;
Step D4, finish this detection.
12,, it is characterized in that described step 2 is specially when determining that perceptive object is watermark type perceptive object in the described step 1 according to each described method in the claim 5 to 7:
Step e 1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
If step e 2, with numeric ratio default in the attribute information of described perception numerical value and described perceptive object is greater than default maximum, then execution in step E3; If less than default minimum value, then execution in step E4; Otherwise execution in step E5;
Step e 3, log, and described default maximum is set to the numerical value of described perceptive object, execution in step E5;
Step e 4, log, and described default minimum value is set to the numerical value of described perceptive object, execution in step E5;
Step e 5, finish this detection.
13,, it is characterized in that described step 2 is specially when determining perceptive object for counting type perceptive object in the described step 1 according to each described method in the claim 5 to 7:
Step F 1, when sense cycle arrives, obtain the perception numerical value of described perceptive object;
Step F 2, described perception numerical value is added to the last perception numerical value that detects and preserves;
Step F 3, finish this detection.
CNB2006100904340A 2006-06-27 2006-06-27 Fault testing system of communication equipment and fault testing method of communication equipment Expired - Fee Related CN100499522C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100904340A CN100499522C (en) 2006-06-27 2006-06-27 Fault testing system of communication equipment and fault testing method of communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100904340A CN100499522C (en) 2006-06-27 2006-06-27 Fault testing system of communication equipment and fault testing method of communication equipment

Publications (2)

Publication Number Publication Date
CN101047573A CN101047573A (en) 2007-10-03
CN100499522C true CN100499522C (en) 2009-06-10

Family

ID=38771819

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100904340A Expired - Fee Related CN100499522C (en) 2006-06-27 2006-06-27 Fault testing system of communication equipment and fault testing method of communication equipment

Country Status (1)

Country Link
CN (1) CN100499522C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488889B (en) * 2008-01-17 2011-04-20 中兴通讯股份有限公司 Detecting and recovering method for network management systematic engineering failure
CN101316139B (en) * 2008-07-14 2011-08-10 中兴通讯股份有限公司 State detection method and device for optical transmission equipment
CN104144072A (en) * 2013-05-10 2014-11-12 中兴通讯股份有限公司 Packet transport network fault diagnosing method and system
CN108226662B (en) * 2016-12-14 2020-04-07 中国航空工业集团公司西安航空计算技术研究所 Airborne computer fault prediction method
CN106604316B (en) * 2017-01-03 2021-04-02 张毅昆 Method, device and system for positioning fault of wireless access equipment

Also Published As

Publication number Publication date
CN101047573A (en) 2007-10-03

Similar Documents

Publication Publication Date Title
CN104218676B (en) The intelligent warning system of power dispatching automation main website and method
CN100499522C (en) Fault testing system of communication equipment and fault testing method of communication equipment
CN103544093B (en) Monitoring alarm control method and system thereof
CN108919935A (en) A kind of monitoring method, device and the equipment of the power supply being directed on server master board
CN101399883B (en) Exception monitoring management method and device
JP2009025851A (en) Work management apparatus and work management method
WO2012160637A1 (en) Message determination device and message determination program
CN110224874A (en) A kind of processing method and processing device of equipment fault
US20200401596A1 (en) Test data integration system and method thereof
CN107548087A (en) A kind of method and device of warning association analysis
CN101193001A (en) Method for judging the master/slave computer consistent via static data or dynamic data
CN101252477B (en) Determining method and analyzing apparatus of network fault root
CN101841838A (en) Method and device for processing logical link alarm
TWI712286B (en) Large screen link system detection method, device and equipment
US20220319299A1 (en) Systems and methods for analyzing alarms to characterize electrical system issues
CN100377105C (en) Automatic alarm testing method
CN112363893B (en) Method, equipment and device for detecting time sequence index abnormity
CN107682173A (en) Fault automatic location method and system based on Trading Model
CN114077532A (en) SQL statement execution efficiency detection method and device
CN113312197A (en) Method and apparatus for determining batch faults, computer storage medium and electronic device
CN110187997A (en) A kind of disk method for monitoring abnormality, device, equipment and medium
KR101738770B1 (en) Enterprise Business Service Level Integration Monitoring Method and System
CN110795414B (en) Alarm analysis method and device for semiconductor equipment
CN107678324B (en) Printer governor circuit status inquiry system
CN116401257A (en) Database intelligent expansion method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090610

Termination date: 20160627