CN1479461A - Communication system fault diagnosis method and system - Google Patents
Communication system fault diagnosis method and system Download PDFInfo
- Publication number
- CN1479461A CN1479461A CNA021417385A CN02141738A CN1479461A CN 1479461 A CN1479461 A CN 1479461A CN A021417385 A CNA021417385 A CN A021417385A CN 02141738 A CN02141738 A CN 02141738A CN 1479461 A CN1479461 A CN 1479461A
- Authority
- CN
- China
- Prior art keywords
- node
- communication system
- tree
- fault diagnosis
- fault
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Fault diagnosis model described by interpretable script language is utilized in fault diagnosis positioning system of communication system. Diagnostic operation is carried out after fault is localized by interior judgment logic of fault diagnosis model. Based on system commands and data in network management database the diagnostic operations utilize general script language to define operation command. After diagnostic operation, the operated result is output to peripheral equipment or database. The Diagnosis method of communication system is realized by engine of script interpreter and fault positioning module. The invention possesses commonality, powerful positioning capability of fault diagnosis and high expansibility, widely suitable to communication system equipment.
Description
Technical field
The invention belongs to the communications field, relate in particular to a kind of communication system method for diagnosing faults and system.
Background technology
Along with the high speed development of the communication technology and improving constantly of customer requirements, the integrated level of communication system is also more and more higher, software and hardware system as a kind of complexity, if fault, normal, the stable operation of whole system will be influenced, so how quickly and accurately tracing trouble guarantees that the measurability and the maintainability of communication system failure just becomes urgent problem of industry.
In existing communication apparatus, major part does not have the failure diagnosis positioning function, when needs during to failure diagnosis, generally all use extra dedicated diagnostic device, but because these specialized apparatus structurally often have significant limitation, so fault location ability and spreading property are all relatively poor, and do not have versatility, cost is higher.As: the fault diagnosis system of Siemens, its diagnostic procedure just can only be finished by obtaining various warning messages, require system under test (SUT) that a large amount of standardized warning messages are provided, otherwise software can't be handled.Obviously, this fault diagnosis system only is confined to provide warning function, and fault location is limited in one's ability, and the standardization of warning message requires also to have limited its versatility.
Summary of the invention
The object of the invention is to provide a kind of communication system failure functional and highly versatile to diagnose localization method and system.
Wherein, communication system method for diagnosing faults of the present invention comprises the steps:
A. set up fault diagnosis model and inner decision logic thereof;
B. the internal judgment logic of fault diagnosis model is carried out diagnostic operation after fault location;
C. export diagnostic result to external equipment;
Fault diagnosis model in the steps A is a tree, is to utilize explainable script to set up, and wherein, described script has two kinds of statements: statement statement and assignment statement.The statement statement is used for declaring a parameter or node, and its parameter and node identifier are self-defining; Assignment statement is used for representing the association of node, and fault location of each script describing tree is made up of 3 sections, respectively with<PARAM 〉,<NODE 〉,<TREE〉start, wherein,
A.<and PARAM〉section is statement to action parameter;
B.<and NODE〉section is to each node, comprises the statement of action node and processing node;
C.<and TREE〉set membership of section between the defined node, form tree;
D. some action needs parameter, and this parameter can be obtained or is the return value of the action of executed from the user by user interface;
Diagnostic operation among the step B is the data of utilizing in system command and the network management data storehouse, adopts general script defining operation order to finish;
General script among the step B is a Tool Command Language;
Diagnostic result among the step C also may be output to database.
Communication system fault diagnosis system of the present invention, comprise the diagnostic result display device, it is characterized in that: also have a failure diagnosis engine, this failure diagnosis engine comprises a script interpreter and a corresponding fault location module at the fault diagnosis model description script, through the TCL interpreter, after adopting Tool Command Language TCL to carry out diagnostic operation, the fault location module is transported to diagnostic result display device and diagnostic result database of record with diagnostic result;
The fault diagnosis model of described communication system fault diagnosis system is a tree;
The tree of described communication system fault diagnosis system is a binary tree structure, and in this structure, each non-leaf node is an action, and wherein, leaf is the conclusion of diagnosis.
Since adopted above-mentioned technical scheme, so the present invention has the following advantages:
1, because fault location flow process and diagnostic operation are independent, each personal independently script is described, so expansion can not influence each other;
2, owing to adopt explainable script to describe fault diagnosis model, so need not compile, adapting to progressive fault diagnosis flow scheme derives process;
3, owing to utilizing the data in system command and the network management data storehouse to diagnose, so highly versatile can be widely used in different communication systems, and system command and network management data storehouse broad covered area to diagnosing, the fault location ability;
4, the method for diagnosing faults among the present invention is a process of progressively summing up and optimizing in the life cycle of product, adopts the failure diagnosis language of explanation type to be convenient to dynamically improve fault diagnosis flow scheme, and can not influence product itself.
Description of drawings
Fig. 1 is a communication system fault diagnosis system structural representation of the present invention;
Fig. 2 is the schematic flow sheet of communication system method for diagnosing faults of the present invention;
Fig. 3 is fault location tree schematic diagram.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
According to Fig. 1, Fig. 2 and Fig. 3, the present invention includes the diagnostic result display device, also has a failure diagnosis engine, this failure diagnosis engine comprises a script interpreter and a corresponding fault location module at the fault diagnosis model description script, through the TCL interpreter, after adopting Tool Command Language TCL to carry out diagnostic operation, the fault location module is transported to diagnostic result display device and diagnostic result database of record with diagnostic result; The fault diagnosis model of communication system fault diagnosis system is the fault location tree of tree; The fault location tree is a kind of general good fault location model, it realizes fault location by the deterministic process of a series of YES/NO, simulate the logic of artificial fault judgement, each deterministic process is called an action, after a series of action judgement, finally provide the conclusion of diagnosis, the structure of fault location tree is exactly a binary tree structure in fact, each non-leaf node is an action, and leaf is the conclusion of diagnosis.
As shown in Figure 2, the present invention adopts this explainable script to describe fault diagnosis model, the internal judgment logic of fault diagnosis model is after fault location, carry out diagnostic operation, this diagnostic operation utilizes the data in system command and the network management data storehouse, adopts general script, as Tool Command Language TCL, come the defining operation order, behind the diagnostic operation, operating result is transported to external equipment or database.
Be a fault location tree at certain product " PPE port traffic fault " as shown in Figure 3, diamond is called the decision frame among the figure, represents an action, just with the diagnostic operation that decides next step trend; Rectangle frame is represented a conclusion of diagnosis or is handled suggestion, is referred to as processing block, is exactly a final diagnostic result.
A fault location tree can be made up of a plurality of subtrees, each subtree all is a binary tree structure as shown in Figure 3, relation between each subtree walks abreast, that is to say and all will travel through each subtree in the Fault Diagnosis process, even the subtree of front has obtained a diagnostic result, so in use has stronger flexibility.
The failure diagnosis structure as shown in Figure 1, fault location tree structure described above is described with a kind of script of explainable failure diagnosis descriptive language; Each diagnostic operation determines that just the action in the frame is described with Tool Command Language TCL script.
Introduce the grammer of failure diagnosis descriptive language below:
Fault location of each script describing tree is made up of 3 sections, respectively with<PARAM 〉,<NODE 〉,<TREE〉start.<PARAM〉section is statement to action parameter;<NODE〉section is the statement to each action node Dec and processing node Proc;<TREE〉section then defined set membership between the node, forms tree.Some action also needs just can finish from outside input number order parameter the execution of order, therefore need parameter information in the script, obtaining of these parameter values may directly be obtained from the end user by user interface there, also may be the return value of the action carried out of front.
Be the script example of certain product RLOS alarm below:
<PARAM>
Opt_num (" opposite end tabula rasa number ");
Cros_num (" opposite end cross board number ");
Clk_num (" opposite end clock board number ");
<NODE>
TOP_FAULT (" RLOS alarm ");
Dec1 (" opposite end tabula rasa TF alarm ", " check warn tf %% ", opt_num);
Dec2 (" opposite end tabula rasa OPM_FAIL alarm ", " check warn opmfail%% ", opt_num);
Proc1 (" is ") normally;
Proc2 (" opposite end tabula rasa fault ");
Dec3 (" opposite end is luminous normal ", " check light %% ", opt_num);
Dec4 (" our station is unglazed ", " check receive ");
Dec5 (" the our station luminous power is too little ", " check recv-low ");
Proc3 (" optical fiber is disconnected ");
Proc4 (" our station optical module or fibre loss are big ");
Dec6 (" the opposite end cross board is not on the throne ", " check board%% ", cros_num);
Dec7 (" opposite end clock board BD_STATUS alarm ", " check warn bd_status%% ", clk_num);
Dec8 (" the local terminal loopback does not have the LOS alarm ", " check warn los locallp ");
Proc5 (" opposite end cross board or clock board fault ");
Proc6 (" the opposite end cross board is not on the throne ");
Proc7 (" the opposite end clock board is not on the throne ");
Proc8 (" other reasons ");
<TREE>
TOP_FAULT=Dec1+Dec3+Dec6;
Dec1=Dec2+Proc2;
Dec2=Proc1+Proc2;
Dec3=Proc2+Dec4;
Dec4=Dec5+Proc3;
Dec5=Proc1+Proc4;
Dec6=Dec7+Proc6;
Dec7=Dec8+Proc7;
Dec8=Proc5+Proc8;
Above-mentioned script has 2 kinds of statements: statement statement and assignment statement, the statement statement is used for declaring a parameter or tree node, parameter and tree node identifier are self-defining, as parameter opt_num and node Dec1, Dec2 etc., the naming rule of identifier is with beginning of letter, heel letter, numeral or underscore.
Concerning the parameter statement, adopt the character string that round parentheses bracket in the above-mentioned script that parameter is described, effect is just in order to tell the user as prompting the descriptor of this parameter when allowing the terminal use that parameter value is provided, can certainly parameter not done statement, thereby this parameter does not have information, and this way mainly is used in by action and returns rather than the user provides the situation of parameter value.
The statement statement of tree node is also similar, and in round parentheses at first is description character string to this node, and action node Dec back is also had action command character string and possible parameter, just has only node to describe character string to processing node Proc.Continuous 2 percentage signs " %% " in the command string are the format characters, represent that this position replaces with an input parameter; Equally, an action command can return several output parameters, as long as catch up with the output parameter sequence in the back of input parameter sequence, and will add " ﹠amp before the identifier of each output parameter; " number.As: DecisionA (" the Serdes loopback is given out a contract for a project test normally ", " test channel serdeslp%% ", port_num , ﹠amp; Packet_num) port_num is exactly an input parameter in, the actual value that when ordering the %% in the command string is replaced with port_num that sends, and this action is returned a parameter to packet_num, may use in the action afterwards of this parameter, so just not need warning terminal user that the value of packet_num parameter is provided." TOP_FAULT " in the node statement is the keyword of language, represents which phenomenon of the failure this fault location tree is used to locate.
<TREE〉assignment statement in the section represented the association of node, and the assignment statement of TOP_FAULT has been represented the root node of each subtree, and other assignment statement "=" number left side is a father node, and this father node can only be the action node, can not be processing node; "=",, number the right was NO node+YES node, therefore<TREE〉section illustrated the logic association of tree node.The assignment statement right side also can have only a child node in addition, no matter that is to say the judged result of father node is YES or NO, all go to this child node, this is just not judge in order to obtain other required parameters of action in order to adapt to some action, as obtain some states of system by an action, supply other action commands as input parameter, and do not need manually to obtain these states.
Script can be with note, and note begins to finish to one's own profession with # number.
After starting diagnosis, each action of diagnostic engine is exactly the TCL script of carrying out an action in fact, check at first whether this action needs parameter, if parameter had been composed value, then directly use this value, otherwise just point out the user to import, carry out corresponding operation then and receive return results, the result is judged output parameter is arranged then also will extract preservation if specify in the action; Through a series of action and logic determines, finally obtain diagnostic result.Relation between each subtree walks abreast, and that is to say that each subtree all will travel through in the diagnostic procedure, even the subtree of front has obtained a diagnostic result.
Claims (8)
1. communication system method for diagnosing faults is characterized in that:
A, set up fault diagnosis model and inner decision logic thereof;
The internal judgment logic of B, fault diagnosis model is carried out diagnostic operation after fault location;
C, export diagnostic result to external equipment.
2. communication system method for diagnosing faults according to claim 1, it is characterized in that: the fault diagnosis model in the steps A is a tree, be to utilize explainable script to set up, wherein, described script has two kinds of statements: statement statement and assignment statement; The statement statement is used for declaring a parameter or node, and its parameter and node identifier are self-defining, and assignment statement is represented the association of node, fault location of each script describing tree is made up of 3 sections, respectively with<PARAM 〉,<NODE 〉,<TREE〉start; Wherein,
A.<and PARAM〉section is statement to action parameter;
B.<and NODE〉section is to each node, comprises the statement of action node and processing node;
C.<and TREE〉set membership of section between the defined node, form tree;
D. some action needs parameter, and this parameter can be obtained or is the return value of the action of executed from the user by user interface.
3. communication system method for diagnosing faults according to claim 1 is characterized in that: the diagnostic operation among the step B is the data of utilizing in system command and the network management data storehouse, adopts general script defining operation order to finish.
4. communication system method for diagnosing faults according to claim 3 is characterized in that: the general script among the step B is a Tool Command Language.
5. communication system method for diagnosing faults according to claim 1 is characterized in that: the diagnostic result among the step C also may be output to database.
6. communication system fault diagnosis system that realizes the described method for diagnosing faults of claim 1, comprise the diagnostic result display device, it is characterized in that: also have a failure diagnosis engine, this failure diagnosis engine comprises a script interpreter and a corresponding fault location module at the fault diagnosis model description script, through the TCL interpreter, after adopting Tool Command Language TCL to carry out diagnostic operation, the fault location module is transported to diagnostic result display device and diagnostic result database of record with diagnostic result.
7. communication system method for diagnosing faults according to claim 6 is characterized in that: the fault diagnosis model of described communication system fault diagnosis system is a tree.
8. communication system method for diagnosing faults according to claim 7, it is characterized in that: the tree of described communication system fault diagnosis system is a binary tree structure, and in this structure, each non-leaf node is an action, wherein, leaf is the conclusion of diagnosis.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021417385A CN100459462C (en) | 2002-08-29 | 2002-08-29 | Communication system fault diagnosis method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021417385A CN100459462C (en) | 2002-08-29 | 2002-08-29 | Communication system fault diagnosis method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1479461A true CN1479461A (en) | 2004-03-03 |
CN100459462C CN100459462C (en) | 2009-02-04 |
Family
ID=34147848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021417385A Expired - Fee Related CN100459462C (en) | 2002-08-29 | 2002-08-29 | Communication system fault diagnosis method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100459462C (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007147327A1 (en) * | 2006-06-16 | 2007-12-27 | Huawei Technologies Co., Ltd. | Method, system and apparatus of fault location for communicaion apparatus |
CN100366115C (en) * | 2004-07-13 | 2008-01-30 | 华为技术有限公司 | Method for tracking the process of user equipment access |
CN100438443C (en) * | 2006-05-08 | 2008-11-26 | 国家数字交换系统工程技术研究中心 | Method and system for fault management |
CN100442719C (en) * | 2006-07-26 | 2008-12-10 | 华为技术有限公司 | Network maintenance method and apparatus |
CN101442758B (en) * | 2007-11-19 | 2010-12-08 | 华为技术有限公司 | Failure diagnosis method and apparatus |
CN101527011B (en) * | 2009-03-27 | 2011-08-31 | 西安交通大学 | Method and device for automatically guiding recovery processing flow in real-time |
CN101494573B (en) * | 2009-03-17 | 2011-08-31 | 杭州华三通信技术有限公司 | Method, system and equipment for diagnosing failure |
CN102457390A (en) * | 2010-10-15 | 2012-05-16 | 中兴通讯股份有限公司 | Fault location method and system based on quality of experience (QoE) |
CN103001812A (en) * | 2013-01-06 | 2013-03-27 | 山西省电力公司信息通信分公司 | Intelligent electric power communication fault diagnosis system |
CN103200027A (en) * | 2013-03-01 | 2013-07-10 | 中国工商银行股份有限公司 | Method, device and system for locating network failure |
CN105319480A (en) * | 2014-07-21 | 2016-02-10 | 中兴通讯股份有限公司 | Line diagnosis method and device |
WO2017016386A1 (en) * | 2015-07-28 | 2017-02-02 | 中兴通讯股份有限公司 | Method and device for implementing radio remote unit fault analysis |
CN109033449A (en) * | 2018-08-21 | 2018-12-18 | 科大国创软件股份有限公司 | A method of realizing that failure cause diagnoses automatically based on groovy dynamic script language |
CN111397848A (en) * | 2020-03-26 | 2020-07-10 | 吉林大学第一医院 | Medical optical fiber detection method for disinfection supply center |
CN112379926A (en) * | 2020-11-13 | 2021-02-19 | 上海商汤临港智能科技有限公司 | Business system diagnosis method, system and related product |
CN114513405A (en) * | 2022-02-16 | 2022-05-17 | 太仓市同维电子有限公司 | Method and system for realizing configuration tree of AP router TR181 of OpenWrt platform |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69113077T2 (en) * | 1990-02-15 | 1996-05-30 | Digital Equipment Corp | Model-based deductive system for network fault diagnosis. |
JP3271676B2 (en) * | 1993-05-13 | 2002-04-02 | 日本電信電話株式会社 | Communication protocol failure analysis method and apparatus |
SE502852C2 (en) * | 1994-04-08 | 1996-01-29 | Ellemtel Utvecklings Ab | Ways and systems for distributed hardware monitoring |
AU2000239591A1 (en) * | 2000-01-29 | 2001-08-07 | Abb Research Ltd | Method for automatic fault tree synthesis |
-
2002
- 2002-08-29 CN CNB021417385A patent/CN100459462C/en not_active Expired - Fee Related
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100366115C (en) * | 2004-07-13 | 2008-01-30 | 华为技术有限公司 | Method for tracking the process of user equipment access |
CN100438443C (en) * | 2006-05-08 | 2008-11-26 | 国家数字交换系统工程技术研究中心 | Method and system for fault management |
WO2007147327A1 (en) * | 2006-06-16 | 2007-12-27 | Huawei Technologies Co., Ltd. | Method, system and apparatus of fault location for communicaion apparatus |
CN100442719C (en) * | 2006-07-26 | 2008-12-10 | 华为技术有限公司 | Network maintenance method and apparatus |
CN101442758B (en) * | 2007-11-19 | 2010-12-08 | 华为技术有限公司 | Failure diagnosis method and apparatus |
CN101494573B (en) * | 2009-03-17 | 2011-08-31 | 杭州华三通信技术有限公司 | Method, system and equipment for diagnosing failure |
CN101527011B (en) * | 2009-03-27 | 2011-08-31 | 西安交通大学 | Method and device for automatically guiding recovery processing flow in real-time |
CN102457390A (en) * | 2010-10-15 | 2012-05-16 | 中兴通讯股份有限公司 | Fault location method and system based on quality of experience (QoE) |
CN102457390B (en) * | 2010-10-15 | 2016-02-24 | 中兴通讯股份有限公司 | A kind of Fault Locating Method based on QOE and system |
CN103001812B (en) * | 2013-01-06 | 2015-12-02 | 国网山西省电力公司信息通信分公司 | Intelligent electric power communication failure diagnostic system |
CN103001812A (en) * | 2013-01-06 | 2013-03-27 | 山西省电力公司信息通信分公司 | Intelligent electric power communication fault diagnosis system |
CN103200027A (en) * | 2013-03-01 | 2013-07-10 | 中国工商银行股份有限公司 | Method, device and system for locating network failure |
CN105319480A (en) * | 2014-07-21 | 2016-02-10 | 中兴通讯股份有限公司 | Line diagnosis method and device |
WO2017016386A1 (en) * | 2015-07-28 | 2017-02-02 | 中兴通讯股份有限公司 | Method and device for implementing radio remote unit fault analysis |
CN109033449A (en) * | 2018-08-21 | 2018-12-18 | 科大国创软件股份有限公司 | A method of realizing that failure cause diagnoses automatically based on groovy dynamic script language |
CN109033449B (en) * | 2018-08-21 | 2022-09-23 | 科大国创软件股份有限公司 | Method for realizing automatic diagnosis of fault reasons based on groovy dynamic scripting language |
CN111397848A (en) * | 2020-03-26 | 2020-07-10 | 吉林大学第一医院 | Medical optical fiber detection method for disinfection supply center |
CN112379926A (en) * | 2020-11-13 | 2021-02-19 | 上海商汤临港智能科技有限公司 | Business system diagnosis method, system and related product |
CN114513405A (en) * | 2022-02-16 | 2022-05-17 | 太仓市同维电子有限公司 | Method and system for realizing configuration tree of AP router TR181 of OpenWrt platform |
CN114513405B (en) * | 2022-02-16 | 2024-04-19 | 太仓市同维电子有限公司 | Method and system for realizing configuration tree of AP router TR181 of OpenWrt platform |
Also Published As
Publication number | Publication date |
---|---|
CN100459462C (en) | 2009-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1479461A (en) | Communication system fault diagnosis method and system | |
CN110704518B (en) | Business data processing method and device based on Flink engine | |
CN101051965A (en) | Device and method for forming topological map and detecting topological structure | |
CN1173257A (en) | Methods for verification of routing table information | |
CN1794123A (en) | Monitoring instrument of vehicle control system CAN/LIN network and its test method | |
CN101060370A (en) | A PON terminal management method and system | |
CN111427940B (en) | Self-adaptive database conversion method and device | |
CN1741460A (en) | Method and system for realizing telecommunication network universal performance management | |
CN1526104A (en) | Parsing structured data | |
CN110442527A (en) | Automation restorative procedure towards bug report | |
CN1492361A (en) | Processing method for embedded data bank searching | |
CN101075255A (en) | Method for removing SQL query statement constant condition | |
CN104050003A (en) | Method for starting Nutch collecting system with shell script | |
CN101051918A (en) | Method for realizing business requst and on-line instruction system | |
CN116521217A (en) | Method, system and storage medium for rapidly configuring BSW based on AUTOSAR tool | |
CN110806973A (en) | Automatic generation method and device of interface message | |
EP4242832A1 (en) | Method and apparatus for parsing programming language, and non-volatile storage medium | |
CN1299459C (en) | Channel sharing ring protection supported protection switching protocol implementing method | |
CN113468873B (en) | Syntax analysis method and device of PL/SQL language | |
CN1458532A (en) | Automatic detecting method and device fr signal quality and time sequence | |
CN1896954A (en) | Method for realizing structural dynamic compiler of complicated multi-service | |
CN1521989A (en) | A method for implementing configuration data organization and centralized management in network management system | |
CN1138382C (en) | Tree service distribution method for transmission products | |
CN100337440C (en) | Method and system for testing intercommunity between equipments | |
CN109492329A (en) | A kind of design method of back drill setting |
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: 20090204 Termination date: 20180829 |