CN101707541A - Fault diagnosing method and device - Google Patents

Fault diagnosing method and device Download PDF

Info

Publication number
CN101707541A
CN101707541A CN200910250296A CN200910250296A CN101707541A CN 101707541 A CN101707541 A CN 101707541A CN 200910250296 A CN200910250296 A CN 200910250296A CN 200910250296 A CN200910250296 A CN 200910250296A CN 101707541 A CN101707541 A CN 101707541A
Authority
CN
China
Prior art keywords
node
topological data
relay nodes
topological
terminal node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910250296A
Other languages
Chinese (zh)
Inventor
戴霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN200910250296A priority Critical patent/CN101707541A/en
Publication of CN101707541A publication Critical patent/CN101707541A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a fault diagnosing method which comprises the following steps: an initiating node sends a topological message to a terminal node through a corresponding path and acquires first topological data according to the sent topological message; the terminal node acquires second topological data according to the received topological message; the initiating node acquires the second topological data from the terminal node through the corresponding path; and the initiating node conducts fault diagnosis according to the acquisition result of the first topological data and the acquisition result of the second topological data. In the invention, automatic diagnosis course of communication fault between plates is realized, with full automation, and without manual intervention.

Description

A kind of fault Diagnosis Method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of fault Diagnosis Method and device.
Background technology
In current communication equipment, adopt the project organization of many veneers usually, carry out information exchange by communication channels among boards between each piece veneer.Wherein, on communication equipment, communication channels among boards is to be used for the path of exchange message between each veneer, is made up of with the link that is connected these nodes one group of node.
As shown in Figure 1, be many single board design pattern of a kind of corresponding master control borad and cable card board, wherein, can there be polylith in master control borad, and every master control borad can be connected with the polylith cable card board by communication channels among boards.
In the process that communication equipment moves on network,, will have influence on professional carrying out, thereby cause very serious consequence if the communication between plates fault takes place.
In order to reduce of the influence of communication between plates fault to business, when the communication between plates fault takes place, need fault location where to go out, solve the communication between plates fault then.But because communication between plates need relate to a plurality of nodes and link, where fault location goes out and is not easy.
In the prior art, for where fault location goes out, in the process of test, provide a series of order line, wherein, this order line is used for the loopback test of master control borad to other node.
When the communication between plates fault took place, the attendant can use this order line, and node carries out the loopback inspection one by one; When checking successfully, then corresponding node and the link of explanation do not break down; And when finding the inspection failure of which node, illustrate that then this node and/or this node link corresponding break down, determine fault then and where go out.
But when the localization of faults of utility command row, the attendant need pass through the order line that training could be grasped in the test process to be provided; Order line needs manual operation, and command result also needs artificial affirmation, for the simple fault of easy recovery, also needs manual intervention, can't realize automatic recovery.When if fault has caused communication equipment to be restarted, the environment of problem is destroyed, at this moment, and can't utility command row orientation problem place.
Summary of the invention
The invention provides a kind of fault Diagnosis Method and device, carry out automatic diagnosis, do not rely on manual operation with communication between plates fault to communication equipment.
In order to achieve the above object, the present invention proposes a kind of fault Diagnosis Method, be applied to comprise in the frame type equipment of initiating node and terminal node, described initiation node is connected by backboard in described frame type equipment with described terminal node, described initiation node and each terminal node constitute a paths on described backboard, said method comprising the steps of:
Described initiation node sends topological message by the path of correspondence to terminal node, and obtains first topological data according to the topological message that self sends;
Described terminal node obtains second topological data according to the topological message that receives;
Described initiation node obtains described second topological data by the path of described correspondence from described terminal node;
Described initiation node carries out failure diagnosis according to the result that obtains who obtains result and described second topological data of described first topological data.
Described initiation node carries out failure diagnosis and specifically comprises according to the result that obtains who obtains result and described second topological data of described first topological data:
If obtain described first topological data failure, described initiation node is determined self to break down;
If obtain described second topological data failure, perhaps, obtain described second topological data success and described second topological data less than described first topological data, described initiation node is determined the path fails of described terminal node and/or described terminal node correspondence;
If it is identical with described first topological data to obtain success of described second topological data and described second topological data, described initiation node determines that the path of described terminal node and described terminal node correspondence do not break down.
On described backboard, also comprise at least one relay nodes between described initiation node and the described terminal node, described relay nodes is positioned on the path of described terminal node correspondence, and described method also comprises:
Described initiation node obtains the topological data of each relay nodes on the described path successively; The topological data of described relay nodes is for receiving topological data and sending topological data;
If obtain the topological data failure of described relay nodes, perhaps, obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes less than forerunner's node of described relay nodes correspondence, described initiation node determine described relay nodes and/or described forerunner's node and described relay nodes between link occurs fault; Described link is arranged in described path;
If it is identical with the transmission topological data of described forerunner's node to obtain the reception topological data of the topological data success of described relay nodes and described relay nodes, described initiation node determine described forerunner's node and described relay nodes between link do not break down;
If obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes greater than described relay nodes, described initiation node determines that described relay nodes breaks down; If the reception topological data of described relay nodes is identical with the transmission topological data of described relay nodes, described initiation node determines that described relay nodes does not break down.
When comprising relay nodes between described initiation node and the described terminal node, described initiation node carries out failure diagnosis and also comprises according to the result that obtains who obtains result and described second topological data of described first topological data:
If obtain described second topological data failure, perhaps, obtain success of described second topological data and described second topological data transmission topological data less than forerunner's node of described terminal node correspondence, described initiation node determine described terminal node and/or described forerunner's node and described terminal node between link occurs fault;
If it is identical with the transmission topological data of described forerunner's node to obtain success of described second topological data and described second topological data, described initiation node determine described forerunner's node and described terminal node between link do not break down.
Described initiation node, also comprised before terminal node sends topological message by corresponding path:
Described initiation node generates the topological message that all nodes can both be discerned and add up in the described communication equipment, and adds up described topological message by the node in the communication equipment, generates topological data.
Described initiation node is the master control borad in the described frame type equipment, and described terminal node is the cable card board in the described frame type equipment; Perhaps, described initiation node is the cable card board in the described frame type equipment, and described terminal node is the master control borad in the described frame type equipment;
Relay nodes is inner exchanging net or the chip in the described frame type equipment.
A kind of described device of said method that is applied to, be applied to comprise in the frame type equipment of initiating node and terminal node, described initiation node is connected by backboard in described frame type equipment with described terminal node, described initiation node and each terminal node constitute a paths on described backboard, described device comprises:
Transceiver module is used for sending topological message by the path of correspondence to terminal node, and obtains second topological data by described terminal node according to the topological message that receives;
Acquisition module is connected with described transceiver module, is used for obtaining first topological data according to the topological message that self sends, and obtains described second topological data by the path of described correspondence from described terminal node;
Processing module is connected with described acquisition module, is used for carrying out failure diagnosis according to the result that obtains who obtains result and described second topological data of described first topological data.
Described processing module specifically is used for, if obtain described first topological data failure, determines self to break down;
If obtain described second topological data failure, perhaps, obtain described second topological data success and described second topological data less than described first topological data, determine the path fails of described terminal node and/or described terminal node correspondence;
If it is identical with described first topological data to obtain described second topological data success and described second topological data, determine not break down in the path of described terminal node and described terminal node correspondence.
On described backboard, also comprise at least one relay nodes between described initiation node and the described terminal node, described relay nodes is positioned on the path of described terminal node correspondence,
Described processing module also is used for, and obtains the topological data of each relay nodes on the described path successively; The topological data of described relay nodes is for receiving topological data and sending topological data;
If obtain the topological data failure of described relay nodes, perhaps, obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes less than forerunner's node of described relay nodes correspondence, determine described relay nodes and/or described forerunner's node and described relay nodes between link occurs fault; Described link is arranged in described path;
If it is identical with the transmission topological data of described forerunner's node to obtain the reception topological data of the topological data success of described relay nodes and described relay nodes, determine described forerunner's node and described relay nodes between link do not break down;
If obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes, determine that described relay nodes breaks down greater than described relay nodes; If the reception topological data of described relay nodes is identical with the transmission topological data of described relay nodes, determine that described relay nodes does not break down.
When comprising relay nodes between described initiation node and the described terminal node,
Described processing module also is used for, if obtain described second topological data failure, perhaps, obtain success of described second topological data and described second topological data transmission topological data less than forerunner's node of described terminal node correspondence, determine described terminal node and/or described forerunner's node and described terminal node between link occurs fault;
If it is identical with the transmission topological data of described forerunner's node to obtain success of described second topological data and described second topological data, determine described forerunner's node and described terminal node between link do not break down.
Described acquisition module also is used for, and generates the topological message that all nodes can both be discerned and add up in the described communication equipment, and adds up described topological message by the node in the communication equipment, generates topological data.
Described initiation node is the master control borad in the described frame type equipment, and described terminal node is the cable card board in the described frame type equipment; Perhaps, described initiation node is the cable card board in the described frame type equipment, and described terminal node is the master control borad in the described frame type equipment;
Relay nodes is inner exchanging net or the chip in the described frame type equipment.
Compared with prior art, the present invention has the following advantages: realized the automatic diagnosis process of communication between plates fault, full automation does not need manual intervention.
Description of drawings
Fig. 1 is many single board design pattern diagram of master control borad and cable card board in the prior art;
A kind of fault Diagnosis Method flow chart that Fig. 2 proposes for the present invention;
The fault Diagnosis Method flow chart that Fig. 3 proposes down for a kind of concrete application scenarios of the present invention;
Fig. 4 is the application scenarios schematic diagram of corresponding diagram 3;
The another kind of application scenarios schematic diagram that Fig. 5 proposes for the present invention;
The another kind of application scenarios schematic diagram that Fig. 6 proposes for the present invention;
A kind of Fault Diagnosis structure drawing of device that Fig. 7 proposes for the present invention.
Embodiment
Core concept of the present invention is by initiating node generation and each node transmission topological message in frame type equipment, generate topological data by each node in the frame type equipment according to this topological message, and collect the pairing topological data of each node by initiating node, thereby make that initiating node can carry out failure diagnosis according to the pairing topological data of each node, and diagnose out node and the link that breaks down.Thereby realized the automatic diagnosis process of communication between plates fault, do not needed manual intervention.
As shown in Figure 2, a kind of fault Diagnosis Method for the present invention's proposition, be applied to comprise in the frame type equipment of initiating node and terminal node, described initiation node is connected by backboard in described frame type equipment with described terminal node, described initiation node and each terminal node constitute a paths on described backboard, said method comprising the steps of:
Step 201, described initiation node sends topological message by the path of correspondence to terminal node, and obtains first topological data according to the topological message that self sends.
Step 202, described terminal node obtains second topological data according to the topological message that receives.
Step 203, described initiation node obtains described second topological data by the path of described correspondence from described terminal node.
Step 204, described initiation node carries out failure diagnosis according to the result that obtains who obtains result and described second topological data of described first topological data.
For fault Diagnosis Method provided by the present invention more clearly is described, the present invention is given unnecessary details in detail below in conjunction with a kind of concrete application scenarios.
As shown in Figure 3, this method may further comprise the steps:
Step 301 is initiated node and is set up the communication between plates topology.Wherein, in the frame communication equipment, each veneer is that the position of knowing all veneers in the frame communication equipment concerns, promptly initiates the position relation that node is known all veneers, and according to the position relation of all veneers, this initiation node can be set up the communication between plates topology.
Concrete, because being information, the process of communication between plates is delivered to the process of another node from a node, among the present invention,, at first be defined as follows notion for communication between plates Fault Diagnosis process more clearly is described:
(1) initiates node, the i.e. sender of information;
(2) terminal node, the i.e. recipient of information;
(3) relay nodes is promptly at the node of initiating to play between node and the terminal node transfer effect.
Certainly, in actual applications, be not limited to above-mentioned definition mode, this definition mode can be selected arbitrarily according to actual needs, for example, the initiation node can be defined as the recipient of information, terminal node is defined as the sender of information, and at this moment, the main body of setting up the communication between plates topology in the above-mentioned steps 301 will become terminal node, the process of definition mode is similar among processing procedure and the present invention, gives unnecessary details no longer in detail.
For many single board communications equipment shown in Figure 1, because information can be delivered to cable card board from master control borad, promptly among the present invention, master control borad can be chosen as the initiation node, cable card board is chosen as terminal node, is relay nodes with the choice of equipment between master control borad and the cable card board; Wherein, in communication equipment, the equipment between master control borad and cable card board is inner exchanging net or chip etc., and promptly the relay nodes among the present invention is above-mentioned inner exchanging net, perhaps equipment such as chip.
Because being the position of knowing equipment such as each cable card board and inner exchanging net, master control borad concerns, promptly this master control borad can directly be set up the communication between plates topology, the communication between plates topology of many single board communications equipment as shown in Figure 4, be communication between plates topology, can be expressed as one tree shape model corresponding to many single board communications equipment shown in Figure 1.
In Fig. 4, the tree root node is for initiating node (master control borad), and the subtree of this initiation node is constituted by initiating each paths of node towards each terminal node (cable card board).Among the present invention, need be numbered every paths, the mode of this numbering can be selected arbitrarily, for example, from left to right number consecutively be 1,2 ... etc.; Perhaps, from right to left number consecutively be 1,2 ... etc.As can be seen, the numbering of every paths and the numbering of subtree are corresponding, and promptly when number consecutively was 1,2,3 from right to left in the path, then subtree was followed successively by 1,2,3 from right to left according to numbering.
Further, in Fig. 4, the solid line of band arrow is the link of link node, and a side at arrow place is the end of link, and the other end then is the top of link.Wherein, at the node of both link ends,, at this moment, the top node of link can be called forerunner's node of end node with constituting forerunner and follow-up relation; Corresponding, also the end node of link can be called the successor node of top node.Need to prove, be positioned at relay nodes on the same paths and also can exist a plurality ofly, and also will constitute the relation of forerunner's node and successor node between a plurality of relay nodes.
In addition, between the node of same level, constitute brotherhood, i.e. sibling each other between the node of same level, for example, sibling each other between the relay nodes among Fig. 4, also sibling each other between the terminal node.
Need to prove, in the frame communication equipment, can have the polylith master control borad, every master control borad can be set up the communication between plates topology then as initiating node, promptly safeguards communication between plates topology shown in Figure 4.
Step 302 is initiated node and is generated topological message.Wherein, all veneers in the frame communication equipment all need to discern and to add up this topological message, and promptly all nodes in the communication between plates topology all need to discern and to add up this topological message.On all nodes can both base of recognition, the form of this topological message can be provided with arbitrarily according to actual needs, this topological message is not carried out any restriction among the present invention.
Step 303 is initiated node and is sent topological message according to preset period to terminal node.Wherein, this preset period can be selected arbitrarily according to actual needs.
Concrete, initiate node and can send topological message to all terminal nodes, for example, initiate node from left to right successively the terminal node on every paths send topological message; Perhaps, initiate node from right to left successively the terminal node on every paths send topological message; Certainly, the process of this transmission topological message is not limited to aforesaid way, can select different paths to send topological message arbitrarily, only need guarantee that the path of all terminal node correspondences in same preset period all is covered to, each terminal node also all is covered to and gets final product.Wherein, this initiation node can select a pairing path of terminal node to send at every turn, perhaps, selects the pairing path of a plurality of terminal nodes to send simultaneously, perhaps, selects the pairing path of all terminal nodes to send simultaneously.
Certainly, in actual applications, this initiates node can also send topological message to the part terminal node, for example, when path 2 and path 3 possibility of communication between plates faults takes place when very high, then initiating node can be only to path 2 pairing terminal node, and path 3 pairing terminal nodes send topological message, gives unnecessary details no longer in detail among the present invention.
Step 304, each node in the communication between plates topology is added up this topological message, and generates topological data.Wherein, because this topological message can both be discerned and add up to each node in the communication between plates topology, after receiving from the topological message of initiating node, each node can both be added up this topological message.
Concrete, all nodes in the communication between plates topology are called the topological data of this node at the statistics of this topological message, wherein, initiate the topological data that node has only transmission, terminal node has only the topological data of reception, and relay nodes has the topological data of transmission and the topological data of reception.
Illustrate that with a concrete example node adds up and generate the process of topological data to topological message below:
For the initiation node, topological message of every transmission, then the numerical value with topological data adds 1, and for example, when the initiation node sent topological message for the first time, then topological data was 1; When the initiation node had sent 10 topological message altogether, then topological data was 10.Certainly, in actual applications, initiate topological data in the node and be to need and concrete path one to one, for example, for path 1, when the initiation node had sent 10 topological message altogether, then the topological data in path 1 was 10; And for path 2, when the initiation node had sent 8 topological message altogether, then the topological data in path 2 was 8.
Same, for terminal node, topological message of every reception, then the numerical value with topological data adds 1, and for example, when terminal node had received 10 topological message altogether, then topological data was 10.
For relay nodes, topological message of every reception, the numerical value that then will receive pairing topological data adds 1, and topological message of every transmission, the numerical value that then will send pairing topological data adds 1.
Need to prove; should be not limited to aforesaid way by the mode of topological message generation topological data; can select arbitrarily in actual applications, all can be by adding up and generated topological data to topological message mode is all within protection range of the present invention.For example, can topological message be converted to topological data according to default function; Again for example, can topological message of every reception, then the numerical value of topological data is added 2 etc., give unnecessary details no longer in detail among the present invention.
Step 305 is initiated node and is collected topological data, and carries out failure diagnosis according to this topological data.Wherein, this initiates node can collect the pairing topological data of each node on the path self be concerned about or all paths according to the needs of self, for example, initiates node and regularly travels through the subtree of self, promptly travel through every paths, obtain the topological data of each node on the path; When traverse path, the topological data of the node of access modes collection successively will be taked from top to bottom.
The process of carrying out failure diagnosis according to topological data specifically comprises:
(1) send the topological message failure if initiate node, then explanation initiation node breaks down.
(2) if initiate the topological data failure that node obtains certain node (for example, node 1), fault has taken place in the link that forerunner's node that this node (node 1) or this node correspondence then be described leads to this node.
(3) after the initiation node obtains the topological data success of certain node, this initiation node will carry out the comparison of topological data.
If the reception topological data of this node, then illustrates the link that forerunner's node of this node or this node correspondence leads to this node less than the transmission topological data of forerunner's node of this node correspondence fault has taken place.If the transmission topological data of forerunner's node that the reception topological data of this node and this node are corresponding is identical, the link that forerunner's node that this node and this node correspondence then be described leads to this node does not break down.
For relay nodes, initiate node when carrying out the comparison of topological data, also need relatively pairing reception topological data of this relay nodes and transmission topological data,, illustrate that then the transmission fault has appearred in this relay nodes if receive topological data greater than sending topological data.
For said process more clearly is described, with communication between plates topological structure shown in Figure 4 is that example is elaborated, and the pairing topological data of each node is an example in the node collection path 1 (being the path of cable card board 1 correspondence) to initiate in this step, has only a relay nodes in the path 1, at this moment, this initiation node need be collected the topological data of self, the topological data of relay nodes (relay nodes of respective path 1), the topological data of terminal node (cable card board 1).
Concrete, with every transmission or receive topological message one time, the numerical value of topological data is added 1 be example among the present invention, illustrate that this carries out the process of failure diagnosis according to topological data, comprising:
(1) send the topological message failure if initiate node, the topological data of promptly initiating node self is 0 o'clock, and then explanation initiation node breaks down.
(2) send the topological message success if initiate node, but can't get access to the topological data of relay nodes, illustrate that then relay nodes and/or the link of initiating between node and the relay nodes break down.
(3), initiate topological data (data 1) and the corresponding topological data (data 2) of relay nodes reception that node will compare self if initiate the topological data that node gets access to relay nodes.When data 1 during, illustrate that then relay nodes and/or the link of initiating between node and the relay nodes break down greater than data 2; When data 1 and data 2 were identical, then the explanation link of initiating between node and the relay nodes did not break down.
In addition, this initiation node also needs the comparison relay nodes to receive corresponding topological data and relay nodes sends corresponding topological data (data 3).When data 2 during, illustrate that then relay nodes breaks down greater than data 3; When data 2 and data 3 are identical, illustrate that then relay nodes does not break down.
(4), initiate node and will compare topological data and the corresponding topological data (data 4) of terminal node reception that relay nodes sends correspondence if initiate the topological data that node gets access to terminal node.When data 3 during, illustrate that then the link between terminal node and/or relay nodes and the terminal node breaks down greater than data 4; When data 3 and data 4 are identical, illustrate that then the link between relay nodes and the terminal node does not break down.
Need to prove, above-mentioned process of carrying out failure diagnosis is the signal situation at diagnostic procedure on the path 1 in the communication between plates topological structure shown in Figure 4, in actual applications, relay nodes on one paths may have a plurality of, the processing procedure of the processing procedure of each relay nodes and relay nodes shown in Figure 4 is similar, gives unnecessary details no longer in detail at this.
Certainly, in the application of reality, initiate node and carry out failure diagnosis, and locate after the out of order place, can also comprise:
Step 306 takes the recovery means to attempt fixing a breakdown.
Wherein, the step among the present invention can also be adjusted according to the actual needs.
Below in conjunction with another kind of application scenarios method for diagnosing faults proposed by the invention is described, same at many single board communications equipment shown in Figure 1, under application scenarios shown in Figure 4, master control borad is a communication between plates topology of setting up tree shaped model; And should be with under the scene, the communication between plates topology of setting up Two Binomial Tree Model shown in Figure 5 with master control borad is an example.
Should be with under the scene, in this communication between plates topology, initiating node (master control borad) is the tree root node, the left subtree of each node is made of the successor node of oneself, and the right subtree of this node is made of oneself sibling.
Concrete, the left subtree of tree root node (initiation node), and be each subtree of root node with tree root node left side child's (relay nodes 1) sibling (relay nodes 2... via node n), constituted by initiating each paths of node towards each terminal node, the numbering in path is corresponding one by one with the numbering of above-mentioned subtree.Wherein, the left subtree of tree root node be relay nodes 1 to cable card board 1, tree root node left side child's sibling be the subtree of root node be respectively relay nodes 2 to cable card board 2... relay nodes n to cable card board n.
Should be with under the scene, after above-mentioned communication between plates topology is set up and is finished, this initiates node will send the topological message that self generates according to preset period and this communication between plates topology to terminal node, in the process of transmitting of this topological message, this topological message will be through each node in the subtree, for example, will be in the topological message of issuing cable card board 1 through relay nodes 1, and receiving track clamp 1; Will be in the topological message of issuing cable card board 2 through relay nodes 2, and receiving track clamp 2.
In the subsequent process, each node in the communication between plates topology will generate topological data according to this topological message, and by initiating the topological data that node is collected each node, carry out failure diagnosis then.Need to prove, communication between plates topology set up finish after, in the subsequent process with step 302-step 306 in processing procedure similar, should repeat no more with under the scene.
Below in conjunction with another kind of application scenarios method for diagnosing faults proposed by the invention is described again, same at many single board communications equipment shown in Figure 1, under application scenarios shown in Figure 4, be that the initiation node is that example describes with the master control borad; And should be with under the scene, be example with cable card board as initiating node, communication between plates topology as shown in Figure 6; As can be seen, at application scenarios shown in Figure 5, can repeat no more among the present invention by cable card board as initiating node too.
Should be with under the scene, generate topological message by cable card board (initiation node), and send topological message to master control borad according to preset period, as can be seen, each cable card board (cable card board 1, cable card board 2 etc.) all needs to send topological message to master control borad, then failure diagnosis is carried out in self pairing path, owing to should be to initiate node with this cable card board under the scene, master control borad is a terminal node, processing procedure in processing procedure and the step 302-step 306 is similar, should be with giving unnecessary details no longer in detail under the scene.
As shown in Figure 7, device for application said method proposed by the invention, be applied to comprise in the frame type equipment of initiating node and terminal node, described initiation node is connected by backboard in described frame type equipment with described terminal node, described initiation node and each terminal node constitute a paths on described backboard, described device comprises:
Transceiver module 71 is used for sending topological message by the path of correspondence to terminal node, and obtains second topological data by described terminal node according to the topological message that receives.
Acquisition module 72 is connected with described transceiver module 71, is used for obtaining first topological data according to the topological message that self sends, and obtains described second topological data by the path of described correspondence from described terminal node.
Concrete, described acquisition module 72 also is used for, and generates the topological message that all nodes can both be discerned and add up in the described communication equipment, and adds up described topological message by the node in the communication equipment, generates topological data.
Processing module 73 is connected with described acquisition module 72, is used for carrying out failure diagnosis according to the result that obtains who obtains result and described second topological data of described first topological data.
Wherein, described processing module 73 specifically is used for, if obtain described first topological data failure, determines self to break down; If obtain described second topological data failure, perhaps, obtain described second topological data success and described second topological data less than described first topological data, determine the path fails of described terminal node and/or described terminal node correspondence; If it is identical with described first topological data to obtain described second topological data success and described second topological data, determine not break down in the path of described terminal node and described terminal node correspondence.
On described backboard, also comprise at least one relay nodes between described initiation node and the described terminal node, described relay nodes is positioned on the path of described terminal node correspondence, in this case, described processing module 73 also is used for, and obtains the topological data of each relay nodes on the described path successively; The topological data of described relay nodes is for receiving topological data and sending topological data; If obtain the topological data failure of described relay nodes, perhaps, obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes less than forerunner's node of described relay nodes correspondence, determine described relay nodes and/or described forerunner's node and described relay nodes between link occurs fault; Described link is arranged in described path; If it is identical with the transmission topological data of described forerunner's node to obtain the reception topological data of the topological data success of described relay nodes and described relay nodes, determine described forerunner's node and described relay nodes between link do not break down; If obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes, determine that described relay nodes breaks down greater than described relay nodes; If the reception topological data of described relay nodes is identical with the transmission topological data of described relay nodes, determine that described relay nodes does not break down.
When comprising relay nodes between described initiation node and the described terminal node, described processing module 73 also is used for, if obtain described second topological data failure, perhaps, obtain success of described second topological data and described second topological data transmission topological data less than forerunner's node of described terminal node correspondence, determine described terminal node and/or described forerunner's node and described terminal node between link occurs fault; If it is identical with the transmission topological data of described forerunner's node to obtain success of described second topological data and described second topological data, determine described forerunner's node and described terminal node between link do not break down.
Need to prove that in the present invention, described initiation node is that master control borad, described terminal node are cable card board; Perhaps, described initiation node is that cable card board, described terminal node are master control borad.
Among the present invention, described initiation node is the master control borad in the described frame type equipment, and described terminal node is the cable card board in the described frame type equipment; Perhaps, described initiation node is the cable card board in the described frame type equipment, and described terminal node is the master control borad in the described frame type equipment; Relay nodes is inner exchanging net or the chip in the described frame type equipment.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be personal computer, server, perhaps network equipment etc.) is carried out method of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (12)

1. fault Diagnosis Method, it is characterized in that, be applied to comprise in the frame type equipment of initiating node and terminal node, described initiation node is connected by backboard in described frame type equipment with described terminal node, described initiation node and each terminal node constitute a paths on described backboard, said method comprising the steps of:
Described initiation node sends topological message by the path of correspondence to terminal node, and obtains first topological data according to the topological message that self sends;
Described terminal node obtains second topological data according to the topological message that receives;
Described initiation node obtains described second topological data by the path of described correspondence from described terminal node;
Described initiation node carries out failure diagnosis according to the result that obtains who obtains result and described second topological data of described first topological data.
2. the method for claim 1 is characterized in that, described initiation node carries out failure diagnosis and specifically comprises according to the result that obtains who obtains result and described second topological data of described first topological data:
If obtain described first topological data failure, described initiation node is determined self to break down;
If obtain described second topological data failure, perhaps, obtain described second topological data success and described second topological data less than described first topological data, described initiation node is determined the path fails of described terminal node and/or described terminal node correspondence;
If it is identical with described first topological data to obtain success of described second topological data and described second topological data, described initiation node determines that the path of described terminal node and described terminal node correspondence do not break down.
3. the method for claim 1 is characterized in that, on described backboard, also comprises at least one relay nodes between described initiation node and the described terminal node, and described relay nodes is positioned on the path of described terminal node correspondence, and described method also comprises:
Described initiation node obtains the topological data of each relay nodes on the described path successively; The topological data of described relay nodes is for receiving topological data and sending topological data;
If obtain the topological data failure of described relay nodes, perhaps, obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes less than forerunner's node of described relay nodes correspondence, described initiation node determine described relay nodes and/or described forerunner's node and described relay nodes between link occurs fault; Described link is arranged in described path;
If it is identical with the transmission topological data of described forerunner's node to obtain the reception topological data of the topological data success of described relay nodes and described relay nodes, described initiation node determine described forerunner's node and described relay nodes between link do not break down;
If obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes greater than described relay nodes, described initiation node determines that described relay nodes breaks down; If the reception topological data of described relay nodes is identical with the transmission topological data of described relay nodes, described initiation node determines that described relay nodes does not break down.
4. method as claimed in claim 3, it is characterized in that, when comprising relay nodes between described initiation node and the described terminal node, described initiation node carries out failure diagnosis and also comprises according to the result that obtains who obtains result and described second topological data of described first topological data:
If obtain described second topological data failure, perhaps, obtain success of described second topological data and described second topological data transmission topological data less than forerunner's node of described terminal node correspondence, described initiation node determine described terminal node and/or described forerunner's node and described terminal node between link occurs fault;
If it is identical with the transmission topological data of described forerunner's node to obtain success of described second topological data and described second topological data, described initiation node determine described forerunner's node and described terminal node between link do not break down.
5. as each described method of claim 1-4, it is characterized in that described initiation node, also comprised by corresponding path before terminal node sends topological message:
Described initiation node generates the topological message that all nodes can both be discerned and add up in the described communication equipment, and adds up described topological message by the node in the communication equipment, generates topological data.
6. as each described method of claim 1-4, it is characterized in that,
Described initiation node is the master control borad in the described frame type equipment, and described terminal node is the cable card board in the described frame type equipment; Perhaps, described initiation node is the cable card board in the described frame type equipment, and described terminal node is the master control borad in the described frame type equipment;
Relay nodes is inner exchanging net or the chip in the described frame type equipment.
7. one kind is applied to the described device of claim 1, it is characterized in that, be applied to comprise in the frame type equipment of initiating node and terminal node, described initiation node is connected by backboard in described frame type equipment with described terminal node, described initiation node and each terminal node constitute a paths on described backboard, described device comprises:
Transceiver module is used for sending topological message by the path of correspondence to terminal node, and obtains second topological data by described terminal node according to the topological message that receives;
Acquisition module is connected with described transceiver module, is used for obtaining first topological data according to the topological message that self sends, and obtains described second topological data by the path of described correspondence from described terminal node;
Processing module is connected with described acquisition module, is used for carrying out failure diagnosis according to the result that obtains who obtains result and described second topological data of described first topological data.
8. device as claimed in claim 7 is characterized in that,
Described processing module specifically is used for, if obtain described first topological data failure, determines self to break down;
If obtain described second topological data failure, perhaps, obtain described second topological data success and described second topological data less than described first topological data, determine the path fails of described terminal node and/or described terminal node correspondence;
If it is identical with described first topological data to obtain described second topological data success and described second topological data, determine not break down in the path of described terminal node and described terminal node correspondence.
9. device as claimed in claim 7 is characterized in that, on described backboard, also comprises at least one relay nodes between described initiation node and the described terminal node, and described relay nodes is positioned on the path of described terminal node correspondence,
Described processing module also is used for, and obtains the topological data of each relay nodes on the described path successively; The topological data of described relay nodes is for receiving topological data and sending topological data;
If obtain the topological data failure of described relay nodes, perhaps, obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes less than forerunner's node of described relay nodes correspondence, determine described relay nodes and/or described forerunner's node and described relay nodes between link occurs fault; Described link is arranged in described path;
If it is identical with the transmission topological data of described forerunner's node to obtain the reception topological data of the topological data success of described relay nodes and described relay nodes, determine described forerunner's node and described relay nodes between link do not break down;
If obtain the transmission topological data of the reception topological data of the topological data success of described relay nodes and described relay nodes, determine that described relay nodes breaks down greater than described relay nodes; If the reception topological data of described relay nodes is identical with the transmission topological data of described relay nodes, determine that described relay nodes does not break down.
10. device as claimed in claim 9 is characterized in that, when comprising relay nodes between described initiation node and the described terminal node,
Described processing module also is used for, if obtain described second topological data failure, perhaps, obtain success of described second topological data and described second topological data transmission topological data less than forerunner's node of described terminal node correspondence, determine described terminal node and/or described forerunner's node and described terminal node between link occurs fault;
If it is identical with the transmission topological data of described forerunner's node to obtain success of described second topological data and described second topological data, determine described forerunner's node and described terminal node between link do not break down.
11. as each described device of claim 7-10, it is characterized in that,
Described acquisition module also is used for, and generates the topological message that all nodes can both be discerned and add up in the described communication equipment, and adds up described topological message by the node in the communication equipment, generates topological data.
12. as each described device of claim 7-10, it is characterized in that,
Described initiation node is the master control borad in the described frame type equipment, and described terminal node is the cable card board in the described frame type equipment; Perhaps, described initiation node is the cable card board in the described frame type equipment, and described terminal node is the master control borad in the described frame type equipment;
Relay nodes is inner exchanging net or the chip in the described frame type equipment.
CN200910250296A 2009-12-14 2009-12-14 Fault diagnosing method and device Pending CN101707541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910250296A CN101707541A (en) 2009-12-14 2009-12-14 Fault diagnosing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910250296A CN101707541A (en) 2009-12-14 2009-12-14 Fault diagnosing method and device

Publications (1)

Publication Number Publication Date
CN101707541A true CN101707541A (en) 2010-05-12

Family

ID=42377737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910250296A Pending CN101707541A (en) 2009-12-14 2009-12-14 Fault diagnosing method and device

Country Status (1)

Country Link
CN (1) CN101707541A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102545971A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Failure positioning method for Bluetooth system
CN103023709A (en) * 2011-09-21 2013-04-03 中兴通讯股份有限公司 Method and device for obtaining diagnostic information of wire card of network element
CN103631252A (en) * 2012-08-27 2014-03-12 通用汽车环球科技运作有限责任公司 Method and system for actively locating bus faults
CN103885441A (en) * 2014-03-26 2014-06-25 南京邮电大学 Self-adaptive fault diagnosis method for controller local area network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023709A (en) * 2011-09-21 2013-04-03 中兴通讯股份有限公司 Method and device for obtaining diagnostic information of wire card of network element
CN102545971A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Failure positioning method for Bluetooth system
CN102545971B (en) * 2011-12-31 2015-03-18 曙光信息产业股份有限公司 Failure positioning method for Bluetooth system
CN103631252A (en) * 2012-08-27 2014-03-12 通用汽车环球科技运作有限责任公司 Method and system for actively locating bus faults
CN103885441A (en) * 2014-03-26 2014-06-25 南京邮电大学 Self-adaptive fault diagnosis method for controller local area network
CN103885441B (en) * 2014-03-26 2016-05-18 南京邮电大学 A kind of adaptive failure diagnostic method of controller local area network

Similar Documents

Publication Publication Date Title
CN103441861B (en) A kind of data record generation method and device
CN103401726A (en) Network path detecting method, device and system
CN105187255B (en) Failure analysis methods, fail analysis device and server
CN110830324B (en) Method and device for detecting network connectivity of data center and electronic equipment
CN102882704A (en) Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN101707541A (en) Fault diagnosing method and device
CN106685733A (en) FC-AE-1553 network rapid configuration and automatic testing method
CN112688309B (en) Branch topology construction method and device applied to power distribution network
CN110287151A (en) Distributed memory system, method for writing data, device and storage medium
CN107277886A (en) A kind of internet of things equipment ad hoc network method based on WIFI
US6915127B2 (en) Radio base station for monitoring faults of radio communication modems based on content of received frames that are received during call connections
CN106254150B (en) Network failure processing method and system
CN106131134A (en) A kind of message content merges De-weight method and system
CN111010706B (en) Abnormality recovery method and device
US10187365B2 (en) Method for exchanging numerical data frames and associated communication system
CN101990229B (en) RNC (Radio Network Control) aging test method, equipment, service board and interface board
CN114243916B (en) Verification method and system for network topology
CN115657646A (en) Test method and device of CAN controller
CN111682966B (en) Network communication device with fault active reporting function, system and method thereof
CN104618992A (en) AP selection method and equipment
CN113949622A (en) Network communication method, system, device and computer readable storage medium
CN107797764B (en) Method and device for determining path
CN114598566A (en) Communication system and method based on SPI bus
JP5292892B2 (en) Line accommodation apparatus and control method
CN106488489B (en) Method and device for recovering user service data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100512