CN101511100B - Link detection method, device and system - Google Patents

Link detection method, device and system Download PDF

Info

Publication number
CN101511100B
CN101511100B CN200910077034XA CN200910077034A CN101511100B CN 101511100 B CN101511100 B CN 101511100B CN 200910077034X A CN200910077034X A CN 200910077034XA CN 200910077034 A CN200910077034 A CN 200910077034A CN 101511100 B CN101511100 B CN 101511100B
Authority
CN
China
Prior art keywords
cell
transmitting equipment
link
data transmitting
loopback
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.)
Active
Application number
CN200910077034XA
Other languages
Chinese (zh)
Other versions
CN101511100A (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 CN200910077034XA priority Critical patent/CN101511100B/en
Publication of CN101511100A publication Critical patent/CN101511100A/en
Application granted granted Critical
Publication of CN101511100B publication Critical patent/CN101511100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An embodiment of the invention discloses a link detection method, a device and a system which relate to the communication technique field. The method, the device and the system are invented for solving problem that the prior art can not determine link fault accurately. The method includes: detecting fault of the present link; sending a ring reply cell to a sending end; judging the fault position of the present link according with whether receiving the ring reply response cell returned by the sending end. The embodiment can find fault reason more accurately when the link occurs fault that creates condition for preparing fault timely and ensures reliable running of the network efficiently.

Description

A kind of link detection method, device and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of link detection method, device and system.
Background technology
Along with development of Communication Technique, the scale of communication network is also increasing, and this has increased difficulty with regard to the maintenance of giving communication network.Inquiring network failure place fast and get rid of, is the important prerequisite that guarantees the network reliability service.
Existing ATM (Asynchronous Transfer Mode; Asynchronous transfer mode) network is through CC (the Continuity Check in its maintenance mechanism; Continuous detecting) function comes link is carried out the continuity detection, if link is normal, then on this link, distributes corresponding service; In case pinpoint the problems, the reporting links abnormality alarming is repaired so that take measures at once.
The operation principle of CC function is as shown in Figure 1: transmitting terminal sends cc cell with the speed of 1 cell of per second to receiving terminal, if receiving terminal can not receive cc cell in 3.5 seconds, just thinks current link occurs fault, the reporting links abnormality alarming.
Yet; Above-mentioned testing mechanism can't be judged receiving terminal and not receive that cc cell is because the physical link between transmitting terminal and the receiving terminal breaks down; Still cause to send due to the cc cell owing to the sending ending equipment appearance is unusual; Therefore the inventor finds to use existing chain circuit detecting method and can accurately not detect the reason of link failure, thereby has influence on the timely reparation of link failure.
Summary of the invention
On the one hand, embodiments of the invention provide a kind of chain circuit detecting method, can solve the problem that prior art can accurately not detect the link failure reason.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of chain circuit detecting method comprises:
If data receiver is at the appointed time, do not receive the continuous monitoring cell that data transmitting equipment transmits, then assert current link occurs fault;
Said data receiver sends the loopback cell to said data transmitting equipment;
Said data receiver starts second timer, and judges whether to receive loopback response cell;
If in said second timer time-out time, said data receiver receives said loopback response cell, assert that then said data transmitting equipment breaks down;
If in said second timer time-out time, said data receiver does not receive said loopback response cell, assert that then the physical link between said data transmitting equipment and the said data receiver breaks down.
On the one hand, embodiments of the invention provide a kind of link detecting device, can solve the problem that prior art can accurately not detect the link failure reason.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of link detecting device comprises:
Whether detection module is used to detect current link and breaks down;
This detection module comprises:
Continuous monitoring cell receiving element is used to receive the continuous monitoring cell that data transmitting equipment transmits;
First timer is used to be provided with the time-out time section of continuous monitoring cell;
Detecting unit is used to detect in the time-out time section of continuous monitoring cell whether receive the continuous monitoring cell;
Loopback cell sending module is used for when detection module detects link occurs fault, sends the loopback cell to said data transmitting equipment;
The fault judgement module is used for after said loopback cell sending module sends the loopback cell, according to whether receiving the loopback response cell that said data transmitting equipment returns, judges the position that current link failure takes place;
Wherein, said fault judgement module comprises:
Second timer is used to be provided with the time-out time section that loopback responds cell;
Judging unit is used to judge in the time-out time section of said loopback response cell, whether to receive said loopback response cell; Wherein, If in the time-out time section of said loopback response cell, receive said loopback response cell; Assert that then said data transmitting equipment breaks down; If when in the time-out time section of said loopback response cell, not receiving said loopback response cell, assert that then the physical link between said data transmitting equipment and the data receiver breaks down.
On the other hand, embodiments of the invention provide a kind of link detecting system, can solve the problem that prior art can accurately not detect the link failure reason.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of link detecting system comprises: data transmitting equipment and data receiver, and the two is through atm link transmission data;
Said data receiver regularly detects the continuous detecting cell that said data transmitting equipment sends; If after first timer is overtime; Do not receive said continuous detecting cell, assert that then current link breaks down, said data receiver sends the loopback cell to data transmitting equipment; Start second timer simultaneously;
If in said second timer time-out time; Said data receiver is received loopback response cell; Then assert said data transmitting equipment fault; Physical link between said data transmitting equipment and the said data receiver is no problem, sends alarm indication signal on the one hand, indicates said data transmitting equipment to break down; On the other hand, send the said data transmitting equipment of message informing;
If in said second timer time-out time; Said data receiver is not received loopback response cell; Then assert the physical link fault between said data transmitting equipment and the said data receiver, send alarm indication signal, indication physics link failure.
The embodiment of the invention provides a kind of link detection method, device and system, through the CC function of atm network, finds that there is fault in the link between transmitting terminal or transmitting terminal and the receiving terminal; Start the LB function immediately, according to the responsive status of LB cell, the concrete reason that failure judgement takes place, and then take different measures.The link detection method that the embodiment of the invention provides, device and system can find out the failure cause place more accurately when link occurs fault, created condition in time repairing fault, have effectively ensured the reliability service of network.
Description of drawings
Fig. 1 is existing link detecting systematic schematic diagram;
The flow chart of the chain circuit detecting method that Fig. 2 provides for the embodiment of the invention;
The flow chart that detects current link occurs fault that Fig. 3 provides for the embodiment of the invention;
Whether the basis that Fig. 4 provides for the embodiment of the invention receives the loopback response cell that transmitting terminal returns, and judges the flow chart of the position that current link failure takes place;
The structure chart of the link detecting device that Fig. 5 provides for the embodiment of the invention;
The structure chart of the detection module that Fig. 6 provides for the embodiment of the invention;
The structure chart of the fault judgement module that Fig. 7 provides for the embodiment of the invention;
The link detecting system works schematic diagram that Fig. 8 provides for the embodiment of the invention.
Embodiment
In order to solve the problem that existing link detecting technology can't detect the link failure reason accurately.The invention provides a kind of link detection method, device and system.
Link detection method as shown in Figure 2, that the embodiment of the invention provides comprises:
201, detect current link occurs fault;
202, send the LB cell to transmitting terminal;
203, according to whether receiving the LB response cell that transmitting terminal returns, judge the position that current link failure takes place.
According to the regulation of atm network about the LB function, after transmitting terminal receives the LB cell, can make response to receiving terminal, send LB response cell; And the process of response LB cell is less demanding for transmitting terminal, as long as transmitting terminal is in starting state, just can accomplish response process, sends LB response cell.Therefore, the These characteristics of LB function capable of using is accomplished further confirming failure cause.
As shown in Figure 3, the step that detects current link occurs fault comprises:
301, receive the cc cell that transmitting terminal transmits;
302, start first timer;
303, first timer is overtime;
If 304 do not receive the cc cell that transmitting terminal transmits once more, then assert current link occurs fault.
Of Fig. 4, according to whether receiving the LB response cell that transmitting terminal returns, judge that the step of the position that current link failure takes place comprises:
401, start second timer;
402, second timer is overtime;
403, judge whether to receive LB response cell, if receive LB response cell, execution in step 404 is not if receive LB response cell, execution in step 405;
If 404 receive LB response cell, assert that then sending ending equipment breaks down;
If in the second timer time-out time, receive the LB response cell that transmitting terminal returns, prove that the physical link between transmitting terminal and the receiving terminal is no problem, so this kind situation be the sending ending equipment fault;
If 405 do not receive LB response cell, assert that then physical link breaks down.
If in the second timer time-out time, do not receive the LB response cell that returns; Because it is extremely low to the requirement of transmitting terminal to send LB response cell; Even if sending ending equipment breaks down,, just can send LB response cell as long as sending ending equipment is in starting state; Therefore, this kind situation can be judged as the physical link fault.
If be judged as the physical link fault between transmitting terminal and the receiving terminal, then receiving terminal sends alarm indication signal at once, the indication link failure;
If being judged as sending ending equipment breaks down, then send alarm indication signal on the one hand, the indication sending ending equipment breaks down; On the other hand, send message and give transmitting terminal,, search fault as early as possible, in time get rid of so that transmitting terminal starts the malfunction elimination program.
A kind of link detecting device as shown in Figure 5, that the embodiment of the invention provides comprises:
Whether detection module 501 is used to detect current link and breaks down;
Loopback cell sending module 502 is used for when detection module detects link occurs fault, sends the loopback cell to transmitting terminal;
Fault judgement module 503 is used for after loopback cell sending module sends the loopback cell, according to whether receiving the loopback response cell that transmitting terminal returns, judges the position that current link failure takes place.
The link detecting device that the embodiment of the invention provided also comprises:
Alarm module 504 is used for the diverse location according to current link failure generation, takes the measure of reporting to the police accordingly.
As shown in Figure 6, said detection module 501 comprises:
Continuous detecting cell receiving element 601 is used for the cc cell that receiving end/sending end transmits;
First timer 602 is used to be provided with the time-out time section of cc cell;
Receiving terminal judges whether the cc cell of receiving that transmitting terminal is sent in the time-out time section of cc cell, thereby carries out next step operation, therefore; On the one hand; It is excessive that the time-out time section of cc cell can not be provided with, and when preventing that network from breaking down, has influence on the timely discovery and the reparation of fault; On the other hand, it is too small that the time-out time section of cc cell can not be provided with, and prevents that network from not breaking down, but because cc cell time of in link, transmitting has surpassed the time-out time section of cc cell, and produce false alarm.In embodiments of the present invention, the time-out time section of cc cell can be set to 3.5 seconds.
Detecting unit 603 is used to detect in the time-out time section of cc cell whether receive cc cell.
As shown in Figure 7, said fault judgement module 503 comprises:
Second timer 701 is used to be provided with the time-out time section that LB responds cell;
Receiving terminal judges in the time-out time section of LB response cell whether receive the LB response cell that transmitting terminal is sent; Thereby carry out next step operation, therefore, on the one hand; It is excessive that the time-out time section of LB response cell can not be provided with, and prevents to have influence on the timely reparation of fault; On the other hand, it is too small that the time-out time section of LB response cell can not be provided with, and prevents that time that LB response cell transmits in link from having surpassed the time-out time section of LB response cell, has influence on abort situation is accurately judged.In embodiments of the present invention, LB response cell timing value can be set to 5 seconds.
Judging unit 702 is used to judge at the LB of LB response cell whether receive LB response cell in the time period.
A kind of link detecting system comprises: data transmitting equipment and data receiver, and the two is through atm link transmission data;
Current link breaks down, and data receiver sends the LB cell to data transmitting equipment; Start second timer simultaneously;
Second timer is overtime, if receive LB response cell, then assert the sending ending equipment fault, and the physical link between transmitting terminal and the receiving terminal is no problem, sends alarm indication signal on the one hand, and the indication sending ending equipment breaks down; On the other hand, send the message informing data transmitting equipment;
If do not receive LB response cell, then assert the physical link fault between data transmitting equipment and the data receiver, send alarm indication signal, indication physics link failure.
As shown in Figure 8, data transmitting equipment sends cc cell with the speed of 1 cell of per second to data receiver, and data receiver starts first timer and checks and accepts.If surpass the time-out time section of cc cell, and do not receive the cc cell that data transmitting equipment sends, then send the LB cell to data transmitting equipment by data receiver, start second timer simultaneously, begin to check and accept LB response cell.
If in the time-out time section of LB response cell, receive LB response cell; Then confirm as the data transmitting equipment equipment fault; Physical link between data transmitting equipment and the data receiver is no problem, sends alarm indication signal on the one hand, and designation data transmitting apparatus equipment breaks down; On the other hand, send message and give data transmitting equipment,, search fault as early as possible, in time get rid of so that data transmitting equipment starts the malfunction elimination program;
If in the time-out time section of LB response cell, do not receive LB response cell, then the physical link between judgment data transmitting apparatus and the data receiver breaks down, and sends alarm indication signal at once, and the indication link failure is so that investigation is repaired as early as possible.
In embodiments of the present invention, link detecting is a uni-directional mechanism, promptly sends cc cell by data transmitting equipment to data receiver, if data receiver is not received cc cell in the time-out time section of cc cell, then starts the LB function and detects; In practical application,, also can the embodiment of the invention be applied to two-way testing mechanism in order to obtain faster and testing result more accurately; Be that data transmitting equipment and data receiver send cc cell to the other side simultaneously; In the time-out time section of cc cell, which side does not receive cc cell, and then which side starts the LB function and carries out next step detection; Its concrete detection is consistent with uni-directional mechanism with the judgement principle, in this few repetition.
One of ordinary skill in the art will appreciate that: all or part of step in realization the foregoing description method can instruct relevant hardware to accomplish through program; Described program can be stored in the computer-readable recording medium, like ROM/RAM, magnetic disc or CD etc.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is 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 described protection range of claim.

Claims (6)

1. a chain circuit detecting method is characterized in that, comprising:
If data receiver is at the appointed time, do not receive the continuous monitoring cell that data transmitting equipment transmits, then assert current link occurs fault;
Said data receiver sends the loopback cell to said data transmitting equipment;
Said data receiver starts second timer, and judges whether to receive loopback response cell;
If in said second timer time-out time, said data receiver receives said loopback response cell, assert that then said data transmitting equipment breaks down;
If in said second timer time-out time, said data receiver does not receive said loopback response cell, assert that then the physical link between said data transmitting equipment and the said data receiver breaks down.
2. chain circuit detecting method according to claim 1 is characterized in that, also comprises:
If be judged as the physical link fault between said data transmitting equipment and the said data receiver, then said data receiver sends alarm indication signal at once, the indication link failure;
If being judged as said data transmitting equipment breaks down, then send alarm indication signal on the one hand, indicate said data transmitting equipment to break down; On the other hand, send message and inform said data transmitting equipment.
3. a link detecting device is characterized in that, comprising:
Whether detection module is used to detect current link and breaks down;
This detection module comprises:
Continuous monitoring cell receiving element is used to receive the continuous monitoring cell that data transmitting equipment transmits;
First timer is used to be provided with the time-out time section of continuous monitoring cell;
Detecting unit is used to detect in the time-out time section of continuous monitoring cell whether receive the continuous monitoring cell;
Loopback cell sending module is used for when detection module detects link occurs fault, sends the loopback cell to said data transmitting equipment;
The fault judgement module is used for after said loopback cell sending module sends the loopback cell, according to whether receiving the loopback response cell that said data transmitting equipment returns, judges the position that current link failure takes place;
Wherein, said fault judgement module comprises:
Second timer is used to be provided with the time-out time section that loopback responds cell;
Judging unit is used to judge in the time-out time section of said loopback response cell, whether to receive said loopback response cell; Wherein, If in the time-out time section of said loopback response cell, receive said loopback response cell; Assert that then said data transmitting equipment breaks down; If when in the time-out time section of said loopback response cell, not receiving said loopback response cell, assert that then the physical link between said data transmitting equipment and the data receiver breaks down.
4. link detecting device according to claim 3 is characterized in that, also comprises:
Alarm module is used for the diverse location according to current link failure generation, takes the measure of reporting to the police accordingly.
5. a link detecting system is characterized in that, comprising: data transmitting equipment and data receiver, and the two is through atm link transmission data;
Said data receiver regularly detects the continuous detecting cell that said data transmitting equipment sends; If after first timer is overtime; Do not receive said continuous detecting cell, assert that then current link breaks down, said data receiver sends the loopback cell to data transmitting equipment; Start second timer simultaneously;
If in said second timer time-out time; Said data receiver is received loopback response cell; Then assert said data transmitting equipment fault; Physical link between said data transmitting equipment and the said data receiver is no problem, sends alarm indication signal on the one hand, indicates said data transmitting equipment to break down; On the other hand, send the said data transmitting equipment of message informing;
If in said second timer time-out time; Said data receiver is not received loopback response cell; Then assert the physical link fault between said data transmitting equipment and the said data receiver, send alarm indication signal, indication physics link failure.
6. link detecting according to claim 5 system is characterized in that, said data receiver is radio network controller or is the base station.
CN200910077034XA 2009-01-16 2009-01-16 Link detection method, device and system Active CN101511100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910077034XA CN101511100B (en) 2009-01-16 2009-01-16 Link detection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910077034XA CN101511100B (en) 2009-01-16 2009-01-16 Link detection method, device and system

Publications (2)

Publication Number Publication Date
CN101511100A CN101511100A (en) 2009-08-19
CN101511100B true CN101511100B (en) 2012-07-04

Family

ID=41003326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910077034XA Active CN101511100B (en) 2009-01-16 2009-01-16 Link detection method, device and system

Country Status (1)

Country Link
CN (1) CN101511100B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674595B (en) * 2009-09-28 2012-10-10 中兴通讯股份有限公司 Physical link testing device and method thereof
CN102104531B (en) * 2009-12-17 2012-08-08 华为技术有限公司 Message processing device, method and system
CN101902369B (en) * 2010-07-23 2015-10-21 中兴通讯股份有限公司 The Fault Locating Method of backboard cross system and device
EP2634976A4 (en) * 2010-10-28 2016-11-30 Nec Corp Transmission device, transmission system, and fault notification method
CN105871569B (en) * 2015-01-19 2020-08-04 中兴通讯股份有限公司 Method and device for automatically detecting OTN network fault node

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202677A (en) * 2007-12-12 2008-06-18 华为技术有限公司 Method and device for detecting link

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202677A (en) * 2007-12-12 2008-06-18 华为技术有限公司 Method and device for detecting link

Also Published As

Publication number Publication date
CN101511100A (en) 2009-08-19

Similar Documents

Publication Publication Date Title
CN101511100B (en) Link detection method, device and system
US8755285B2 (en) Method, system and apparatus for diagnosing physical downlink failure
RU2012140486A (en) MALFUNCTION DETECTION IN RADIO COMMUNICATION LINE (RLF) FOR REPAIR
KR101287627B1 (en) detecting system for disconnection of distribution line
CN104678850B (en) A kind of method of vehicle mounted communication device intelligence self diagnosis
CN102891771B (en) Monitoring ring network fault detection and location warning device, system and method
JP2013105370A (en) Fire detector
CN103532738A (en) Port connection relationship determination method and device
CN102009886A (en) Method and device for automatically identifying abnormal shutdown failures of elevator
JP5004663B2 (en) Aircraft obstruction light status notification device
KR20130086496A (en) Apparatus and method for controlling fault of water quality sensor using sensor data
CN104135398A (en) Intelligent RS485 concentrator and bus deadlock detection method
CN201122115Y (en) Point type constant temperature-sensitive fire detector
JP2012086601A (en) Electronic control unit, in-vehicle system and node monitoring method
US20120159237A1 (en) System and Method of Emergency Operation of an Alarm System
CN101938365A (en) Fault handling method and device for Ethernet
CN106371387B (en) Full-automatic boiler remote intelligent monitoring and alarm reminding system
JP2015102969A (en) Remote testing device for fire alam facility
CN207924051U (en) A kind of line fault point detection device
CN111475386B (en) Fault early warning method and related device
CN102546215B (en) Method and device for protecting data link, and equipment with device
CN104867293B (en) Non-intelligent fire alarm detector fault detection method and system
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
JP2016213970A (en) Battery pack control device
JP4297334B2 (en) Railway transmission level monitoring device and CTC 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