CN1863094A - Method and system for diagnosing link fault - Google Patents

Method and system for diagnosing link fault Download PDF

Info

Publication number
CN1863094A
CN1863094A CN 200610058790 CN200610058790A CN1863094A CN 1863094 A CN1863094 A CN 1863094A CN 200610058790 CN200610058790 CN 200610058790 CN 200610058790 A CN200610058790 A CN 200610058790A CN 1863094 A CN1863094 A CN 1863094A
Authority
CN
China
Prior art keywords
link
diagnosis
flow
value
link failure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610058790
Other languages
Chinese (zh)
Other versions
CN100442716C (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 CNB2006100587904A priority Critical patent/CN100442716C/en
Publication of CN1863094A publication Critical patent/CN1863094A/en
Application granted granted Critical
Publication of CN100442716C publication Critical patent/CN100442716C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to a link diagnosing method and system in communication technology field that includes the following steps: building up diagnose link based on flow determine link error; sending data to diagnose link and periodically gaining the flow statistics value and judging the component state according to the flow value. The invention could realize the usability testing to the link and determine the failure component. It sharply decreases the diagnose workload of all links.

Description

A kind of link failure diagnostic method and system
Technical field
The present invention relates to communication technique field, relate in particular to a kind of link failure diagnostic method and system.
Background technology
Need corresponding fault-detecting ability as a system, can in time find system problem and solve or evade problem, thereby improve serviceability, maintainability and the reliability of system by artificial or automatic mode.
The related object range of fault detect is very wide, for the detection of system bottom link, can be divided into physics and logic two classes.The physics class mainly refers to utilize device faults itself diagnostic function that it is realized diagnosis, and this mode can be found the known problem on the link hardware, detects as the basis of system to be absolutely necessary; Whether logic class mainly refers to detect link from the Business Stream angle normal, and method commonly used is to set up a kind of handshake mechanism at the two ends of link, can go wrong than the more direct diagnosis of physics class like this.
The described diagnostic means of utilizing physical device to provide is: such as the register that is used for fault and traffic statistics for diagnosis, thereby can diagnose out this register fault by the malfunction of manually or regularly inquiring about this register, if the register fault then the link on it also with unavailable.
This method is the diagnosis of carrying out at device, and the diagnosis that device provides is limited, and whether can not directly embody link available, and under the situation of reality, it is available device often occurring, but the disabled situation of link, so this method diagnosis link is unreliable.
Described is to set up a kind of handshake mechanism at the two ends of link from Business Stream angle detection link, confirms whether link is available, and whether this method can more available than the more direct diagnosis outgoing link of physical method.
But, this method can't learn that link goes wrong somewhere, at this moment need to link the device of process confirm one by one, queueing problem difficulty like this, simultaneously owing to the number of links in the system is very many, therefore reduce the efficient of system, increased the complexity of system simultaneously, also just can not adopt automatic workaround on this basis.
Summary of the invention
The object of the present invention is to provide a kind of device of breaking down can accurately determined, realize link failure the link failure diagnostic method and the system of location fast.
The objective of the invention is to be achieved through the following technical solutions:
A kind of link failure diagnostic system comprises:
Diagnosis link establishment module is used to create the diagnosis link of determining link failure based on flow;
Fault diagnosis module is used to obtain the flow value on each device of described diagnosis link, judges device state according to described flow value.
Described diagnosis link establishment module is arranged on veneer and/or the master control borad.
Described fault diagnosis module is arranged on the master control borad.
Described system also comprises the traffic statistics module, is used for the flow of each device on the statistical diagnosis link, judges that for fault diagnosis module device state uses.
Described traffic statistics module is arranged on each device of diagnosing on the link.
A kind of link failure diagnostic method comprises:
The diagnosis link of link failure is determined in A, establishment based on flow;
B, send data, periodically obtain the diagnosis link and pass through traffic statistics value on the device, according to described flow value judgement device state to the diagnosis link.
The method of creating the diagnosis link in the described steps A comprises:
On a series of adjacent devices, set up one or more separate diagnostic link; Or,
From the configuration of the user link of reality, select a diagnosis link finite aggregate, all the related devices of link that this finite aggregate can be covered set up.
Judge that according to flow value the method for device state comprises among the described step B: carry out failure diagnosis according to the discharge relation on adjacent or close two points, or carry out failure diagnosis according to single-point flow situation.
Describedly carry out method for diagnosing faults according to the discharge relation on adjacent or close two points and specifically comprise:
Obtain the traffic statistics value of adjacent or close two points on the diagnosis link, go up the output of flow and the ratio K of input, even K value and predefined maximum, minimum threshold M and L value are compared in K=output/input according to 2 of Business Stream direction calculating; If K<L then takes place can determine that by the property fault this point-to-point transmission device has taken place unusually; If K>M, then this point-to-point transmission device is working properly; If disconnected fault has then taken place to dodge L<=K<=M, show this point-to-point transmission device operation irregularity.
Described method of carrying out failure diagnosis according to single-point flow situation specifically comprises:
To directly compare with predefined threshold value S from the flow value that device obtains, less than threshold value S, then link failure shows that this device appearance is unusual as if described flow value.
Described flow value comprises: the total flow of certain device on the link flow or the diagnosis link of flowing through.
As seen from the above technical solution provided by the invention, the present invention is by creating the diagnosis link, the link flow statistical value that utilizes the diagnosis link to pass through on each device is judged link failure, can realize the availability of link is detected by this scheme, and can be definite know this diagnosis link which device fault of process, like this can quick positioning question, and can realize on this basis evading automatically.Simultaneously because the separate diagnostic link as the sampling of physical link, has significantly reduced the workload that all links are diagnosed like this.
Description of drawings
Fig. 1 is a kind of embodiment module diagram of system of the present invention;
Fig. 2 is a kind of embodiment operational flowchart of the method for the invention.
Embodiment
Core concept of the present invention provides a kind of link failure diagnostic method and system, on the device of business process, create the diagnosis link, periodically send data to the diagnosis link, the traffic statistics value of utilizing the diagnosis link to pass through on each device is diagnosed link failure, can accurately determine the device that breaks down, realize that link failure locatees fast.
The invention provides a kind of link failure diagnostic system, a kind of embodiment module diagram of described system as shown in Figure 1, this system comprises diagnosis link establishment module, traffic statistics module, fault diagnosis module;
Described diagnosis link establishment module can be arranged on the master control borad and/or on the veneer, is used for setting up on adjacent devices one or more separate diagnostic link, or selects a diagnosis link finite aggregate from the user link configuration of reality;
Described traffic statistics module is arranged on each device of diagnosing on the link, is used for the flow of each device on the statistical diagnosis link, judges that for fault diagnosis module device state uses;
Described fault diagnosis module is used for obtaining from described traffic statistics module the flow value of each device of described diagnosis link, judges the state of each device on the link according to described flow value.
The invention provides a kind of link failure diagnostic method, a kind of embodiment operating process of this method specifically comprises the steps: as shown in Figure 2
Step 1: diagnosis link establishment module creation diagnosis link;
Described establishment diagnosis link comprises: set up one or more separate diagnostic link on a series of adjacent devices, or from the user link configuration of reality, select one and diagnose the link finite aggregate, if will diagnose whole links, all the related devices of link that this finite aggregate can be covered set up;
Step 2: periodically send data to the diagnosis link, traffic statistics module statistical diagnosis link the flow value on each device of process;
Described flow value comprises link flow or the total flow of certain device of flowing through;
Step 3: fault diagnosis module is the traffic statistics value on the acquisition device periodically, judges whether fault of device according to described flow value;
Described determination methods comprises:
Carry out failure diagnosis according to adjacent or close discharge relation at 2: as after obtaining adjacent or close traffic statistics value at 2, determine output and input according to the Business Stream direction, make K=output/input, calculate 2 K value, and preestablish maximum, minimum threshold M, L relatively; If K<L takes place then can determine that by the property fault this point-to-point transmission device has taken place unusually that all links that then pass through this device are unusual or unreliable; If K>M, then this point-to-point transmission device is working properly; If disconnected fault has then taken place to dodge L<=K<=M, show this point-to-point transmission device operation irregularity;
Also can carry out failure diagnosis according to the flow situation of single-point, will directly compare with predefined threshold value from the flow value that device obtains, less than threshold value, then link failure shows that this device appearance is unusual as if described flow value; Otherwise show that this device is normal.
In sum, the present invention is by creating the diagnosis link, and the link flow statistical value that utilizes the diagnosis link to pass through on each device is judged link failure, can accurately determine the device that breaks down, has realized that link failure locatees fast.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (11)

1, a kind of link failure diagnostic system is characterized in that, comprising:
Diagnosis link establishment module is used to create the diagnosis link of determining link failure based on flow;
Fault diagnosis module is used to obtain the flow value on each device of described diagnosis link, judges device state according to described flow value.
2, a kind of link failure diagnostic system as claimed in claim 1 is characterized in that, described diagnosis link establishment module is arranged on veneer and/or the master control borad.
3, a kind of link failure diagnostic system as claimed in claim 1 is characterized in that described fault diagnosis module is arranged on the master control borad.
4, a kind of link failure diagnostic system as claimed in claim 1 is characterized in that described system also comprises the traffic statistics module, is used for the flow of each device on the statistical diagnosis link, judges that for fault diagnosis module device state uses.
5, a kind of link failure diagnostic system as claimed in claim 4 is characterized in that, described traffic statistics module is arranged on each device of diagnosing on the link.
6, a kind of link failure diagnostic method is characterized in that, comprising:
The diagnosis link of link failure is determined in A, establishment based on flow;
B, send data, periodically obtain the diagnosis link and pass through traffic statistics value on the device, according to described flow value judgement device state to the diagnosis link.
7, a kind of link failure diagnostic method as claimed in claim 6 is characterized in that, the method for creating the diagnosis link in the described steps A comprises:
On a series of adjacent devices, set up one or more separate diagnostic link; Or,
From the configuration of the user link of reality, select a diagnosis link finite aggregate, all the related devices of link that this finite aggregate can be covered set up.
8, a kind of link failure diagnostic method as claimed in claim 6, it is characterized in that, judge that according to flow value the method for device state comprises among the described step B: carry out failure diagnosis according to the discharge relation on adjacent or close two points, or carry out failure diagnosis according to single-point flow situation.
9, a kind of link failure diagnostic method as claimed in claim 8 is characterized in that, describedly carries out method for diagnosing faults according to the discharge relation on adjacent or close two points and specifically comprises:
Obtain the traffic statistics value of adjacent or close two points on the diagnosis link, go up the output of flow and the ratio K of input, even K value and predefined maximum, minimum threshold M and L value are compared in K=output/input according to 2 of Business Stream direction calculating; If K<L then takes place can determine that by the property fault this point-to-point transmission device has taken place unusually; If K>M, then this point-to-point transmission device is working properly; If disconnected fault has then taken place to dodge L<=K<=M, show this point-to-point transmission device operation irregularity.
10, a kind of link failure diagnostic method as claimed in claim 8 is characterized in that, described method of carrying out failure diagnosis according to single-point flow situation specifically comprises:
To directly compare with predefined threshold value S from the flow value that device obtains, less than threshold value S, then link failure shows that this device appearance is unusual as if described flow value.
11, as each described a kind of link failure diagnostic method in the claim 6 to 10, it is characterized in that described flow value comprises: the total flow of certain device on the link flow or the diagnosis link of flowing through.
CNB2006100587904A 2006-03-03 2006-03-03 Method and system for diagnosing link fault Active CN100442716C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100587904A CN100442716C (en) 2006-03-03 2006-03-03 Method and system for diagnosing link fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100587904A CN100442716C (en) 2006-03-03 2006-03-03 Method and system for diagnosing link fault

Publications (2)

Publication Number Publication Date
CN1863094A true CN1863094A (en) 2006-11-15
CN100442716C CN100442716C (en) 2008-12-10

Family

ID=37390427

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100587904A Active CN100442716C (en) 2006-03-03 2006-03-03 Method and system for diagnosing link fault

Country Status (1)

Country Link
CN (1) CN100442716C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148707A1 (en) * 2009-12-29 2010-12-29 中兴通讯股份有限公司 Ethernet traffic statistical analysis method and system
CN102123098A (en) * 2011-03-15 2011-07-13 中兴通讯股份有限公司 Method and system for protection switching of P2MP (Point-to-Multipoint) multicast channel
CN101594265B (en) * 2009-06-30 2011-11-16 北京星网锐捷网络技术有限公司 Method and device for diagnosing network fault and network device
CN102769539A (en) * 2012-07-04 2012-11-07 杭州华三通信技术有限公司 Method for diagnosing forwarding faults of distributed network equipment and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6308282B1 (en) * 1998-11-10 2001-10-23 Honeywell International Inc. Apparatus and methods for providing fault tolerance of networks and network interface cards
US6804712B1 (en) * 2000-06-30 2004-10-12 Cisco Technology, Inc. Identifying link failures in a network
CN1312587C (en) * 2003-09-05 2007-04-25 中兴通讯股份有限公司 An embedded real time operating system fault analysis positioning system and method
CN1309217C (en) * 2004-05-14 2007-04-04 中国联合通信有限公司 A fault positioning method and equipment for communication network
CN1728658A (en) * 2004-07-29 2006-02-01 华为技术有限公司 Method for testing connectivity between service node of gateway and charging gateway
CN100515111C (en) * 2004-08-27 2009-07-15 华为技术有限公司 UTRAN monitoring instrument, monitoring system and monitoring method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594265B (en) * 2009-06-30 2011-11-16 北京星网锐捷网络技术有限公司 Method and device for diagnosing network fault and network device
WO2010148707A1 (en) * 2009-12-29 2010-12-29 中兴通讯股份有限公司 Ethernet traffic statistical analysis method and system
CN102123098A (en) * 2011-03-15 2011-07-13 中兴通讯股份有限公司 Method and system for protection switching of P2MP (Point-to-Multipoint) multicast channel
WO2012122817A1 (en) * 2011-03-15 2012-09-20 中兴通讯股份有限公司 Method and system for switching p2mp multicast tunnel protection
CN102123098B (en) * 2011-03-15 2015-05-20 中兴通讯股份有限公司 Method and system for protection switching of P2MP (Point-to-Multipoint) multicast channel
CN102769539A (en) * 2012-07-04 2012-11-07 杭州华三通信技术有限公司 Method for diagnosing forwarding faults of distributed network equipment and equipment
CN102769539B (en) * 2012-07-04 2015-07-08 杭州华三通信技术有限公司 Method for diagnosing forwarding faults of distributed network equipment and equipment

Also Published As

Publication number Publication date
CN100442716C (en) 2008-12-10

Similar Documents

Publication Publication Date Title
KR102239986B1 (en) Vehicle having an ethernet bus system and method for operating such a bus system
US7203594B2 (en) Failure diagnostic method and apparatus for atmospheric pressure sensors
CN108833170B (en) Network-level self-adaptive CAN bus fault diagnosis method
CN1863094A (en) Method and system for diagnosing link fault
KR101558383B1 (en) Daignosing method for smart sensor or actuator of vehicle
US20050134284A1 (en) Control system health test system and method
CN101043383A (en) Method for detecting single-channel fault of ring-type network
CN1808406A (en) Method and apparatus for monitoring number of lanes between controller and PCI express device
CN1260930A (en) Redundant serial bus and method for operating thereof
CN111698105B (en) Daisy chain communication fault diagnosis method and device and battery management system
CN1493788A (en) Method of controlling several pumps and pump corresponding to said method
Daidone et al. Hidden Markov models as a support for diagnosis: Formalization of the problem and synthesis of the solution
US20120170925A1 (en) Protection device and protection method for optical network
CN1794198A (en) Fault tolerant duplex computer system and its control method
US20060120181A1 (en) Fault detection and isolation with analysis of built-in-test results
CN1945341A (en) Method for testing the serviceability of transducers
CN101060442A (en) A linkage status detection device and method
CN1436338A (en) Method for controlling machine and machine controlled and system for repariring machine
CN114396415B (en) Device and method for hydraulic fault self-diagnosis and hydraulic system
US20180113779A1 (en) Intelligent packet analyzer circuits, systems, and methods
CN109446002B (en) Jig plate, system and method for grabbing SATA hard disk by server
JPH10332759A (en) Electric circuit device and inspection method thereof
CN101661420A (en) External bus detector and method
JP4549926B2 (en) Programmable control device
JP2021005637A (en) Control 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