CN102752159A - Link connectivity detection method and equipment - Google Patents

Link connectivity detection method and equipment Download PDF

Info

Publication number
CN102752159A
CN102752159A CN2011101003978A CN201110100397A CN102752159A CN 102752159 A CN102752159 A CN 102752159A CN 2011101003978 A CN2011101003978 A CN 2011101003978A CN 201110100397 A CN201110100397 A CN 201110100397A CN 102752159 A CN102752159 A CN 102752159A
Authority
CN
China
Prior art keywords
connectivity
message
link
end equipment
loc
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
CN2011101003978A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN2011101003978A priority Critical patent/CN102752159A/en
Publication of CN102752159A publication Critical patent/CN102752159A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a link connectivity detection method and equipment. The method comprises the following steps of: after a loss-of-continuity (LOC) alarm message is sent to source-end equipment, receiving a connectivity detection message sent by the source-end equipment; starting a counter; and when the connectivity detection message of a preset amount is continuously received, sending an LOC canceling alarm message to the source-end equipment. According to the link connectivity detection method and equipment disclosed by the invention, when the connectivity detection message of the preset amount is continuously received, the LOC canceling alarm message is sent, the problem that a network processor (NP) is occupied by LOC detection during link oscillation is solved, the NP is saved, the performance of receiving-end equipment is improved, and the user experience is improved.

Description

Connectivity of link detection method and equipment
Technical field
The present invention relates to the communication technology, particularly a kind of connectivity of link detection method and equipment.
Background technology
Actual needs according to the carrier network operation is divided into three major types with network management work usually: (Operation, Administration, Maintenance are called for short: OAM) Operations, Administration and Maintenance.OAM(Operation Administration Maintenance) is very important in the network of service quality that provides safeguard, can the supervising network performance, reduce network operation cost.Wherein, (Multi-Protocol Label Switching is called for short: MPLS) as the crucial bearing technology of next generation network, need possess OAM(Operation Administration Maintenance) in multiprotocol label switching.
MPLS OAM comprises that mainly performance statistics, detection of connectivity and protection function such as switch.Wherein, detection of connectivity, whether promptly detect link can the normal transmission message.Concrete detection mode is: source end equipment periodic property transmission detection of connectivity (Continuity Check Messages; Be called for short: CCM) message; If receiving device is not received the CCM message, and lose the message of some continuously, the link existing problems are described; Then receiving device will carry out connectedness loss (loss of continuity, abbreviation: LOC) alarm; Alarm and after having received the CCM message, then can cancel LOC.For example, in 802.1ag, end equipment periodic property ground in source sends the CCM message, and continuous 3 message droppings think that then the other side is unreachable.
There is following technological deficiency in above-mentioned prior art: when concussion takes place the link that is detected; And the concussion cycle is greater than sense cycle; Will occur continuous LOC alarm of receiving device and cancellation LOC alarm so, both take network processing unit (Network Processor, the abbreviation: NP) of receiving device; Influence the handling property of NP, user experience is relatively poor simultaneously.
Summary of the invention
The purpose of this invention is to provide a kind of connectivity of link detection method and equipment, make and when link shakes, save NP, improve user experience.
The present invention provides a kind of connectivity of link detection method, comprising:
After source end equipment sends the Loss of continuity warning message, receive the connectivity testing message that said source end equipment sends;
The enabling counting device when receiving the connectivity testing message of predetermined number continuously, sends cancellation Loss of continuity warning message to source end equipment.
The present invention provides a kind of connectivity of link checkout equipment, comprising:
Transceiver module is used for receiving the connectivity testing message that said source end equipment sends after source end equipment sends the Loss of continuity warning message;
Control module is used for the enabling counting device, and when receiving the connectivity testing message of predetermined number continuously, controls said transceiver module and send cancellation Loss of continuity warning message to source end equipment.
Connectivity of link detection method of the present invention and equipment; When being arranged on the connectivity testing message that receives predetermined number continuously; Redispatch and cancel the LOC warning message, LOC detects the problem that takies NP when having solved the link concussion, has realized saving NP; Improve the performance of receiving device, improved user experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the application system sketch map of connectivity of link detection method embodiment of the present invention;
Fig. 2 is the signalling diagram of connectivity of link detection method embodiment of the present invention;
Fig. 3 is the structural representation of connectivity of link checkout equipment embodiment of the present invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer; To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention carried out clear, intactly description, obviously; Described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope that the present invention protects.
For feasible clearer, the application system of a connectivity of link detection method of the present invention is provided at first to the explanation of connectivity of link detection method of the present invention.Fig. 1 is the application system sketch map of connectivity of link detection method embodiment of the present invention; As shown in Figure 1; MPLS OAM can be directed against wall scroll label switched path (Label Switching Path; Be called for short: LSP) 11 detection of connectivity, source end equipment 12 can send connectivity testing message, and receiving device 13 can carry out connectivity of link according to the accepting state of this connectivity testing message and detect.
Embodiment one
Fig. 2 is the signalling diagram of connectivity of link detection method embodiment of the present invention, and as shown in Figure 2, the connectivity of link detection method of present embodiment can may further comprise the steps:
Step 201, receiving device send Loss of continuity (LOC) warning message to source end equipment;
For example, be example with the MPLS network, source end equipment can (Label Switching Router, be called for short: LSR), receiving device can (Label Edge Router be called for short: LER) for tag edge router for LSR.
In the present embodiment; Source end LSR can periodically send connectivity testing message; This connectivity testing message can confirm that (Connectivity Verification, be called for short: CV) (Fast Failure Detection is called for short: FFD) message message with quick defects detection for connectedness.Receiving terminal LER can show that then LSP is communicated with if received above-mentioned connectivity testing message; Do not receive above-mentioned connectivity testing message if surpass the sense cycle of regulation; Explain that then LSP breaks down, receiving terminal LER can send the LOC warning message to source end LSR, perhaps; In the time of also can being set in the message of losing some continuously, send the LOC warning message to source end LSR.
When sending above-mentioned LOC warning message, receiving terminal LER can suspend the alarm timer, and the LOC warning message of promptly can not redispatching until receiving connectivity testing message once more, and sends after the cancellation LOC warning message, and resetting starts the alarm timer again.
Step 202, receiving device receive the connectivity testing message that said source end equipment sends;
For example, in step 201, send after the LOC warning message, receiving terminal LER has received the connectivity testing message that source end LSR sends again; At this moment, with respect to prior art, not to send cancellation LOC warning message at once, but continue execution in step 203.
At this moment, the receiving device alarm timer of can resetting when can not receive connectivity testing message once more, can send the LOC alarm once more.
Step 203, receiving device enabling counting device;
In the present embodiment, after this counter started, the quantity of the connectivity testing message that can receive receiving terminal LER was added up.For example, in the step 202, receiving terminal LER is after sending the LOC warning message, and when receiving for the first time the connectivity testing message of source end LSR transmission once more, the counting of then enabling counting device, and counter is set to 1.
Wherein, the predetermined number N of connectivity testing message can be provided with before the enabling counting device.For example, can require to be configured according to real network by the user; Can different N values be set to the link concussion of varying strength, when network requirement is higher, can the setting of N value is bigger, when network requirement is low, can the N value be provided with less.
When step 204, receiving device reach predetermined number when the connectivity testing message that receives, send cancellation Loss of continuity warning message to source end equipment.
For example, predetermined number can be 5.After receiving terminal LER is sending the LOC warning message; The quantity of the connectivity testing message that receives continuously reaches at 5 o'clock (being that continuous 5 sense cycle can both receive message always); Explain that then LSP recovers normal and is communicated with, receiving terminal LER sends cancellation LOC warning message to source end LSR.
When the said method of present embodiment is applied to shake the detection of connectivity of link, when being arranged on the connectivity testing message that receives predetermined number continuously, the cancellation LOC warning message of redispatching; Then can be equivalent to the link earthquake and think that promptly link breaks, during the link concussion, only report a LOC alarm; And can be as prior art; In link concussion process, constantly report LOC alarm and cancellation LOC alarm, thereby the disposal ability of having saved NP has been improved the performance of receiving device; NP can handle other business with the ability that saves; For example the routing convergence ability, switch ability etc. fast, avoided OAM to take NP and caused, and improved user experience other professional influences.
Further; After the enabling counting device, before the connectivity testing message of the continuous reception predetermined number in the step 204, the situation that the sense cycle of stipulating does not receive connectivity testing message might appear surpassing in receiving terminal LER once more in step 203; The situation of connectivity testing message has promptly appearred again losing; Then this moment, receiving terminal LER can reset to zero with counter, when receiving connectivity testing message once more, restarts counting.
The connectivity of link detection method of present embodiment; When receiving the connectivity testing message of predetermined number continuously; Redispatch and cancel the LOC warning message, LOC detects the problem that takies NP when having solved the link concussion, has realized saving NP; Improve the performance of receiving device, improved user experience.
Embodiment two
Fig. 3 is the structural representation of connectivity of link checkout equipment embodiment of the present invention, and the connectivity of link checkout equipment of present embodiment can be carried out the connectivity of link detection method of any embodiment of the present invention; For example, this connectivity of link checkout equipment can be LER.As shown in Figure 3, this checkout equipment can comprise transceiver module 31 and control module 32.
Wherein, transceiver module 31 can receive the connectivity testing message that said source end equipment sends after source end equipment sends the Loss of continuity warning message; Control module 32 can be after transceiver module 31 receives connectivity testing message, the enabling counting device; And when receiving the connectivity testing message of predetermined number continuously, control transceiver module 31 sends cancellation Loss of continuity warning message to said source end equipment.
Further, control module 32 also was used for before continuously receiving the connectivity testing message of predetermined number, when going out the said connectivity testing message of active again, counter was reset to zero.
Further, the connectivity of link checkout equipment of present embodiment can also comprise module 33 is set that this is provided with module 33 and can be used for before the enabling counting device, the predetermined number of connectivity testing message being set.
The connectivity of link checkout equipment of present embodiment; Through control module etc. is set, can be when receiving the connectivity testing message of predetermined number continuously, the cancellation LOC warning message of redispatching; LOC detects the problem that takies NP when having solved the link concussion; Realize saving NP, improved the performance of receiving device, improved user experience.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (6)

1. a connectivity of link detection method is characterized in that, comprising:
After source end equipment sends the Loss of continuity warning message, receive the connectivity testing message that said source end equipment sends;
The enabling counting device when receiving the connectivity testing message of predetermined number continuously, sends cancellation Loss of continuity warning message to source end equipment.
2. connectivity of link detection method according to claim 1 is characterized in that, after said enabling counting device, also comprises:
Before receiving the connectivity testing message of predetermined number continuously, go out the said connectivity testing message of active, then said counter is reset to zero.
3. connectivity of link detection method according to claim 1 is characterized in that, before said enabling counting device, also comprises:
The predetermined number of said connectivity testing message is set.
4. a connectivity of link checkout equipment is characterized in that, comprising:
Transceiver module is used for receiving the connectivity testing message that said source end equipment sends after source end equipment sends the Loss of continuity warning message;
Control module is used for the enabling counting device, and when receiving the connectivity testing message of predetermined number continuously, controls said transceiver module and send cancellation Loss of continuity warning message to said source end equipment.
5. connectivity of link checkout equipment according to claim 4 is characterized in that,
Said control module also was used for before the connectivity testing message that receives continuously reaches predetermined number, when going out the said connectivity testing message of active, said counter was reset to zero.
6. connectivity of link checkout equipment according to claim 4 is characterized in that, also comprises:
Module is set, is used for before the enabling counting device, the predetermined number of connectivity testing message being set.
CN2011101003978A 2011-04-20 2011-04-20 Link connectivity detection method and equipment Pending CN102752159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101003978A CN102752159A (en) 2011-04-20 2011-04-20 Link connectivity detection method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101003978A CN102752159A (en) 2011-04-20 2011-04-20 Link connectivity detection method and equipment

Publications (1)

Publication Number Publication Date
CN102752159A true CN102752159A (en) 2012-10-24

Family

ID=47032068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101003978A Pending CN102752159A (en) 2011-04-20 2011-04-20 Link connectivity detection method and equipment

Country Status (1)

Country Link
CN (1) CN102752159A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067227A (en) * 2013-01-15 2013-04-24 中兴通讯股份有限公司 Operation Administration and Maintenance (OMA) detection message processing device, system and method
CN104113449A (en) * 2014-07-15 2014-10-22 华为技术有限公司 Link detection method and apparatus
CN106982153A (en) * 2017-05-18 2017-07-25 烽火通信科技股份有限公司 A kind of multi-segment pseudo-wires network connectivty detection method
CN111294238A (en) * 2020-01-22 2020-06-16 中国人民解放军61623部队 Method and system for automatically judging total service resistance between exchanges

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050281192A1 (en) * 2004-06-18 2005-12-22 Cisco Technology, Inc. Consistency between MPLS forwarding and control planes
CN101075970A (en) * 2007-07-19 2007-11-21 杭州华三通信技术有限公司 Method and apparatus for selecting router
CN101414937A (en) * 2008-11-28 2009-04-22 中兴通讯股份有限公司 Method and apparatus for switching tunnel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050281192A1 (en) * 2004-06-18 2005-12-22 Cisco Technology, Inc. Consistency between MPLS forwarding and control planes
CN101075970A (en) * 2007-07-19 2007-11-21 杭州华三通信技术有限公司 Method and apparatus for selecting router
CN101414937A (en) * 2008-11-28 2009-04-22 中兴通讯股份有限公司 Method and apparatus for switching tunnel

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067227A (en) * 2013-01-15 2013-04-24 中兴通讯股份有限公司 Operation Administration and Maintenance (OMA) detection message processing device, system and method
CN104113449A (en) * 2014-07-15 2014-10-22 华为技术有限公司 Link detection method and apparatus
CN106982153A (en) * 2017-05-18 2017-07-25 烽火通信科技股份有限公司 A kind of multi-segment pseudo-wires network connectivty detection method
CN111294238A (en) * 2020-01-22 2020-06-16 中国人民解放军61623部队 Method and system for automatically judging total service resistance between exchanges
CN111294238B (en) * 2020-01-22 2022-04-22 中国人民解放军61623部队 Method and system for automatically judging total service resistance between exchanges

Similar Documents

Publication Publication Date Title
CN108512703B (en) Backup method, device and equipment for BRAS transfer control separation and machine readable storage medium
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN102025562A (en) Path detection method and device
CN102752093B (en) Based on the data processing method of distributed file system, equipment and system
CN103684835A (en) Link fault reporting method and processing method, and transmission node and primary node
CN104518914B (en) Link switch-over method and equipment
WO2018121160A1 (en) Controlling method for coexistence of dual modes, wi-fi chip, and communication device
WO2016095344A1 (en) Link switching method and device, and line card
CN102752159A (en) Link connectivity detection method and equipment
CN102148724A (en) Link detecting method and network access device
US20140050092A1 (en) Load sharing method and apparatus
CN100538647C (en) The processing method for service stream of polycaryon processor and polycaryon processor
CN109495345A (en) A kind of BFD processing method and the network equipment
CN108933818A (en) Communication means and device
CN102609327A (en) Method and device for improving reliability of multi-core processor
CA2715472A1 (en) Path protection by sharing continuity check messages
US9847886B2 (en) Sleeping link waking method and apparatus
CN102546304B (en) BFD detection method, equipment and system
CN103324554A (en) Standby system device, a control method, and a program thereof
CN102571458A (en) Switching method and device for tunnel protection sets
CN1984025B (en) Method for releasing invalid-occupied resource and storage converter
CN102244589A (en) Method and opposite terminal apparatus for processing link fault in virtual switch unit system
CN109787860A (en) Two-way conversion link detection method and device
CN102904816A (en) Service traffic protection method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121024