CN101247288A - Periodic line quality detecting method and device - Google Patents
Periodic line quality detecting method and device Download PDFInfo
- Publication number
- CN101247288A CN101247288A CNA2008100847099A CN200810084709A CN101247288A CN 101247288 A CN101247288 A CN 101247288A CN A2008100847099 A CNA2008100847099 A CN A2008100847099A CN 200810084709 A CN200810084709 A CN 200810084709A CN 101247288 A CN101247288 A CN 101247288A
- Authority
- CN
- China
- Prior art keywords
- link
- parameter value
- quality
- message
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to the technical field of communication and discloses the method for detecting link quality. The method comprises: detecting whether having link quality event or not according to the link quality information carried in the received two-way transfer detection BFD message, if yes, calculating the parameter value of link quality according to link quality event; reporting the decreasing information of link quality if the parameter value of link quality exceeds the prearranged threshold value of link quality. The invention further claims an embodiment of corresponding link quality detection equipment, which can realize the detection to the link quality.
Description
Technical field
The present invention relates to communication technical field, relate in particular to link-quality detection method and link-quality checkout equipment.
Background technology
Along with on IP network, carry next-generation communication network (NGN), 3G (Third Generation) Moblie technology (3G) etc. in real time, the continuous growth of delay sensitive business demand, the how defective on the fast detecting forward-path and become a current hot issue to reduce service impact by respective handling.In this case, two-way forwarding detection (Bidirectional Forwarding Detection is called for short BFD) is arisen at the historic moment as a kind of fast detection mechanism.
Whether available BFD be a kind of forward-path mechanism that is used for detecting between a pair of forwarding engine, it provides a kind of low expense, short sense cycle between two adjacent systems failure detection mechanism comprises the detection of interface, data link and forwarding engine self.
In the existing BFD testing mechanism, after the BFD session between two systems that needs detect is set up, both sides periodically send the BFD message to the other side, simultaneously also on the link that has enabled BFD, periodically detect the situation that the other side's message arrives, if in certain intervals, do not receive BFD message, think that then this link breaks down from the opposite end.From such scheme as can be seen, though can detect the connection situation of link in the above-mentioned BFD detection scheme,, then can't detect as packet loss, shake, time-delay etc. for the link-quality problem.
Summary of the invention
The technical problem that the embodiment of the invention will solve provides link-quality detection method and link-quality checkout equipment, can detect link-quality.
For solving the problems of the technologies described above, embodiments of the invention provide following technical scheme:
A kind of link-quality detection method comprises:
Detect the link quality information of carrying in the BFD message according to the two-way forwarding that is received and detect the link-quality incident that whether takes place,, then calculate the link quality parameter value according to the link-quality incident if the link-quality incident takes place;
If described link quality parameter value surpasses the link-quality threshold value that presets, then reporting links quality decline message.
A kind of link-quality checkout equipment comprises:
Link-quality event detection unit, the link quality information that is used for carrying according to the BFD message that is received detects the link-quality incident that whether takes place, and the output testing result;
Link quality parameter value acquiring unit is used for the link-quality incident that detected according to link-quality event detection unit, calculates the link quality parameter value;
Judging unit is used to judge whether described link quality parameter value surpasses preset threshold value, and the output judged result;
Report the unit, be used in described judged result when being reporting links quality decline message.
As can be seen from the above technical solutions, the embodiment of the invention is introduced the link quality parameter that is used to represent link-quality in the BFD testing mechanism, detect by value link parameter, when detecting this parameter value and surpass the link-quality threshold value preset, therefore reporting links quality falling event can realize the detection to link-quality.
Description of drawings
Fig. 1~Fig. 3 is the flow chart of link-quality detection method embodiment one~embodiment three of the present invention;
Fig. 4 is the application scenarios schematic diagram of link switch-over method embodiment of the present invention;
Fig. 5 is the flow chart of link switch-over method embodiment of the present invention;
Fig. 6 is the structure chart of link-quality checkout equipment embodiment one of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiment of link-quality detection method provided by the invention and link-quality checkout equipment is described in detail.
Link-quality detection method embodiment one of the present invention; Present embodiment provides the basic procedure of link-quality detection method of the present invention, and with reference to figure 1, the present embodiment method comprises:
A1, detect the link-quality incident that whether takes place,, then calculate the link quality parameter value according to the link-quality incident if the link-quality incident takes place according to the link quality information of carrying in the BFD message that is received.
Wherein, can be according to the link quality information of carrying in the BFD message that is received to packet loss anomalous event, out of order anomalous event, shake anomalous event, and/or link-quality problem such as time delay anomalous event detects, and obtains the link quality parameter value according to the link-quality incident.
A2, if described link quality parameter value surpasses the link-quality threshold value preset, then reporting links quality decline message.
The embodiment of the invention is introduced the link quality parameter that is used to represent link-quality in the BFD link-quality detects, detect by value link parameter, when detecting this parameter value and surpass the link-quality threshold value preset, reporting links quality decline message, thus can realize detection to link-quality.
Link-quality detection method embodiment two of the present invention; Present embodiment can detect the link-quality falling event that the packet loss anomalous event causes, with reference to figure 2, the present embodiment method comprises:
B1, between router-A and router B, set up the BFD session, and the parameter negotiation unanimity, and enable link quality testing function.
B2, router-A receive the BFD message from router B.
B3, router-A judge whether to receive within the predetermined time the BFD message according to the clocking value of BFD timer, if then the BFD timer is resetted, continue to carry out B4, if not, reporting links failure message then, and send the BFD protocol massages of link failure, process ends to router B.
B4, router-A detect the packet loss anomalous event according to the BFD message that is received.
In the present embodiment, can in the BFD message, increase sequence-number field, further, can detect the packet loss anomalous event by the following method: judge in two BFD messages that receive continuously, the back receives sequence number of message and whether receives the difference of sequence number of message earlier greater than 1, if then confirm to take place the packet loss anomalous event.
B5, router-A then obtain the packet loss parameter value if detect the packet loss anomalous event.
Wherein, described packet loss parameter value can be that described back receives sequence number of message and the difference that receives sequence number of message earlier.
B6, router-A are added to described packet loss parameter value in the link quality parameter value that has write down the link quality parameter value that obtains upgrading according to the packet loss parameter weighted value that presets.
B7, router-A detect the link quality parameter value, surpass the link-quality threshold value preset if detect described link quality parameter value, reporting links quality decline message then, and send to router B and to carry the BFD protocol massages of link-quality decline message.
In the present embodiment, described reporting links quality decline message can realize that the value of diagnosis (Diagnostic) field is that link-quality descends in the described BFD protocol massages by reporting the BFD protocol massages.
In the present embodiment, can the packet loss anomalous event be detected by two BFD sequence number of message that detect continuous reception, and when detecting the packet loss anomalous event, obtain the packet loss parameter value, and then obtain the link quality parameter value according to described packet loss parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value that presets, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that the packet loss anomalous event causes.
Link-quality detection method embodiment three of the present invention; Present embodiment can detect the link-quality falling event that the shake anomalous event causes, with reference to figure 3, the present embodiment method comprises:
C1, between router-A and router B, set up the BFD session, and the parameter negotiation unanimity, and enable link quality testing function.
C2, router-A receive the BFD message from router B.
C3, router-A judge whether to receive within the predetermined time the BFD message according to the clocking value of BFD timer, if then the BFD timer is resetted, continue to carry out C4, if not, reporting links failure message then, and send the BFD protocol massages of link failure, process ends to router B.
C4, router-A detect the shake anomalous event according to the BFD message that is received.
In the present embodiment, can in the BFD message, increase the timestamp that is used to represent the message transmitting time, further, can detect the shake anomalous event by the following method: judge whether the side-play amount of two BFD messages in the shared time interval of intermediate line link transmission that receives continuously surpasses the threshold value that presets, if then confirm to take place the shake anomalous event; Wherein, described side-play amount can calculate by following formula:
J=Abs(D(i,i-1)/RxInterval);
D(i,i-1)=(R
i-S
i)-(R
i-1-S
i-1);
Wherein, J represents that two BFD messages that receive continuously transmit the side-play amount in the shared time interval at intermediate line link;
R
iThe back receives the local terminal time of reception of message in two BFD messages that expression receives continuously;
S
iRepresent that described back receives the opposite end transmitting time of message, can obtain by the timestamp that the back receives in the BFD message;
R
I-1Receive the local terminal time of reception of message in two BFD messages that expression receives continuously earlier;
S
I-1Represent the described opposite end transmitting time that receives message earlier, can obtain by the timestamp that receives earlier in the BFD message;
Abs () expression takes absolute value;
The packet receiving that RxInterval represents two continuous BFD messages presetting at interval.
C5, router-A then obtain the jitter parameter value if detect the shake anomalous event.
Wherein, described jitter parameter value can be that two BFD messages of described continuous reception are at the side-play amount in the shared time interval of intermediate line link transmission and the ratio of the described threshold value that presets.
C6, router-A are added to described jitter parameter value in the link quality parameter value that has write down according to the jitter parameter weighted value that presets, the link quality parameter value that obtains upgrading.
C7, router-A detect the link quality parameter value, surpass the link-quality threshold value preset if detect described link quality parameter value, reporting links quality decline message then, and send the BFD protocol massages that link-quality descends to router B.
In the present embodiment, described reporting links quality decline message can realize that the value of diagnosis Diagnostic field is that link-quality descends in the described BFD protocol massages by reporting the BFD protocol massages.
In the present embodiment, can be according to the timestamp in two BFD messages of continuous reception, the shake anomalous event is detected, and when detecting the shake anomalous event, obtain the jitter parameter value, and then obtain the link quality parameter value according to described jitter parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value preset, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that the shake anomalous event causes.
Link-quality detection method embodiment four of the present invention; Present embodiment can detect the link-quality falling event that out of order anomalous event causes, the present embodiment method comprises:
S1, between router-A and router B, set up the BFD session, and the parameter negotiation unanimity, and enable link quality testing function.
S2, router-A receive the BFD message from router B.
S3, router-A judge whether to receive within the predetermined time the BFD message according to the clocking value of BFD timer, if then the BFD timer is resetted, continue to carry out S4, if not, reporting links failure message then, and send the BFD protocol massages of link failure, process ends to router B.
S4, router-A detect out of order anomalous event according to the BFD message that is received.
In the present embodiment, can in the BFD message, increase sequence-number field, further, can detect out of order anomalous event by the following method: judge in two BFD messages that receive continuously, the back receives sequence number of message and whether is less than or equal to 0 with the difference that receives sequence number of message earlier, if then confirm to take place out of order anomalous event.
S5, router-A then obtain the out-of-order parameter value if detect out of order anomalous event.
Wherein, described out-of-order parameter value can be that described back receives sequence number of message and the absolute value of the difference that receives sequence number of message earlier and the product of preset weight value, and the span of this weighted value is between-1 to 0.
S6, router-A are added to described out-of-order parameter value in the link quality parameter value that has write down according to the out-of-order parameter weighted value that presets.
S7, router-A detect the link quality parameter value, surpass the link-quality threshold value preset if detect described link quality parameter value, reporting links quality decline message then, and send the BFD protocol massages that link-quality descends to router B.
In the present embodiment, described reporting links quality decline message can realize that the value of diagnosis (Diagnostic) field is that link-quality descends in the described BFD protocol massages by reporting the BFD protocol massages.
In the present embodiment, can out of order anomalous event be detected by two BFD sequence number of message that detect continuous reception, and when detecting out of order anomalous event, obtain the out-of-order parameter value, and then obtain the link quality parameter value according to described out-of-order parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value that presets, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that out of order anomalous event causes.
Link-quality detection method embodiment five of the present invention; Present embodiment can detect the link-quality falling event that the time delay anomalous event causes, the present embodiment method comprises:
P1, between router-A and router B, set up the BFD session, and the parameter negotiation unanimity, and enable link quality testing function.
P2, router-A receive the BFD message from router B.
P3, router-A judge whether to receive within the predetermined time the BFD message according to the clocking value of BFD timer, if then the BFD timer is resetted, continue to carry out P4, if not, reporting links failure message then, and send the BFD protocol massages of link failure, process ends to router B.
P4, router-A detect the time delay anomalous event according to the BFD message that is received.
In the present embodiment, can in the BFD message, increase the timestamp that is used to represent the message transmitting time, further, can detect the time delay anomalous event by the following method: whether the local terminal time of reception of the BFD message that judgement is received and the difference of opposite end transmitting time be more than or equal to predetermined time delay threshold value, if then confirm to take place the time delay anomalous event; Wherein, the opposite end transmitting time of described BFD message can obtain by the timestamp in the BFD message.
P5, router-A then obtain the delay parameter value if detect the time delay anomalous event.
Wherein, described delay parameter value can be described BFD message local terminal time of reception and the difference of opposite end transmitting time and the ratio of described time delay threshold value.
P6, router-A are added to described delay parameter value in the link quality parameter value that has write down according to the delay parameter weighted value that presets.
P7, router-A detect the link quality parameter value, surpass the link-quality threshold value preset if detect described link quality parameter value, reporting links quality decline message then, and send the BFD protocol massages that link-quality descends to router B.
In the present embodiment, described reporting links quality decline message can realize that the value of diagnosis Diagnostic field is that link-quality descends in the described BFD protocol massages by reporting the BFD protocol massages.
In the present embodiment, can be according to the timestamp in the BFD message, the time delay anomalous event is detected, and when detecting the time delay anomalous event, obtain the delay parameter value, and then obtain the link quality parameter value according to described delay parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value preset, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that the time delay anomalous event causes.
Link-quality detection method embodiment six of the present invention; Present embodiment can detect the link-quality falling event that packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event cause, and the link quality parameter value has the time attenuation attributes, and the present embodiment method comprises:
D1, between router-A and router B, set up the BFD session, and the parameter negotiation unanimity, and enable link quality testing function.
D2, router-A receive the BFD message from router B.
D3, router-A judge whether to receive within the predetermined time the BFD message according to the clocking value of BFD timer, if then the BFD timer is resetted, continue to carry out D4, if not, reporting links failure message then, and send the BFD protocol massages of link failure, process ends to router B.
D4, router-A detect packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event according to the BFD message that is received.
In the present embodiment, the detection of packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event can not repeat them here with reference to the related content among the link-quality detection method embodiment two to five of the present invention.
D5, router-A then obtain packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value accordingly if detect packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event.
Wherein, the related content of the acquisition of above-mentioned parameter value in can parameter link-quality detection method of the present invention embodiment two to five do not repeat them here.
D6, router-A are added to described packet loss parameter value, out-of-order parameter value jitter parameter value or delay parameter value in the link quality parameter value that has write down according to the packet loss parameter weighted value that presets, out-of-order parameter weighted value jitter parameter weighted value or delay parameter weighted value.
D7, router-A obtain the link quality parameter value of elapsed time attenuation processing according to preset attenuation parameter weighted value, this parameter value are added in the resulting link quality parameter value of step D6 the link quality parameter value that obtains upgrading.
Wherein, described according to preset attenuation parameter weighted value, the link quality parameter value that obtains the elapsed time attenuation processing can be calculated acquisition by following formula:
Q
t=Q
0*0.5
t/σ;
Wherein, Q
tThe link quality parameter value that the time attenuation processing is obtained is carried out in expression;
Q
0The initial value of expression link quality parameter;
T represents the time interval of current time and initial time;
σ represents half-life of presetting.
D8, router-A detect the link quality parameter value after upgrading, and surpass the link-quality threshold value that presets if detect described link quality parameter value, reporting links quality decline message then, and send the BFD protocol massages that link-quality descends to router B.
Wherein, described reporting links quality falling event can realize that the value of diagnosis Diagnostic field is that link-quality descends in the described BFD protocol massages by reporting the BFD protocol massages.
In the present embodiment, can the link-quality falling event that packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event cause be detected; And the link quality parameter value also has the time attenuation attributes, can improve the accuracy that link-quality detects.
The present invention also provides link switch-over method embodiment; Fig. 4 provides an application scenarios of present embodiment method, and wherein, provider edge equipment PE1 and provider edge equipment PE2 set up primary and backup two pseudo-lines by nucleus equipment P1 and nucleus equipment P2 respectively, pseudo-line carrying L2VPN mode language business; The master sets up the BFD session respectively with pseudo-line and standby pseudo-line, and enable link quality testing function.Fig. 5 provides the flow process of present embodiment method, comprising:
F1, basis detect main link-quality with pseudo-line by the main BFD message that receives with pseudo-line.
Described basis detects specifically main link-quality with pseudo-line by the main BFD message that receives with pseudo-line and comprises: according to obtaining main link quality parameter value with pseudo-line by the main BFD message that receives with pseudo-line; Surpass the link-quality threshold value that presets, then reporting links quality decline message if detect described link quality parameter value.
F2, main with pseudo-line generation link-quality falling event as if detecting then will lead with pseudo-line and switch to standby pseudo-line.
Among the more embodiment of link switch-over method of the present invention, can adopt as link-quality detection method embodiment one to six arbitrary method of the present invention main link-quality with pseudo-line is detected.
In link switch-over method embodiment of the present invention, main during when detecting with pseudo-line generation link-quality falling event, can switch to standby pseudo-line with pseudo-line with leading, thereby can better guarantee the realization of real time business such as 3G, NGN.
Link-quality checkout equipment embodiment one of the present invention; With reference to figure 6, described link-quality checkout equipment comprises link-quality event detection unit 610, link quality parameter value acquiring unit 620, judging unit 630 and reports unit 640:
The link quality information that link-quality event detection unit 610 is used for carrying according to the BFD message that is received detects the link-quality incident that whether takes place, and the output testing result.
Link quality parameter value acquiring unit 620 is used for the link-quality incident that detected according to link-quality event detection unit, calculates the link quality parameter value.
Judging unit 630 is used to judge whether described link quality parameter value surpasses preset threshold value, and the output judged result.
Link-quality checkout equipment embodiment two of the present invention; It is similar that present embodiment and link-quality of the present invention detect embodiment one, and the difference part is that in the present embodiment, described link quality parameter value acquiring unit specifically comprises:
The parameter value acquiring unit, when being used for detecting packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event, obtain packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value accordingly in link-quality event detection unit.
Computing unit, be used for according to the packet loss parameter weighted value, out-of-order parameter weighted value, jitter parameter weighted value or the delay parameter weighted value that preset, described packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value are added in the link quality parameter value that has write down the link quality parameter value that obtains upgrading.
Present embodiment can be realized with reference to link-quality detection method embodiment two to five described link-quality detection methods of the present invention.
Link-quality checkout equipment embodiment three of the present invention; Present embodiment and link-quality checkout equipment embodiment of the present invention one or two are similar, the difference part is, in the present embodiment, also comprise time attenuation processing unit between described link quality parameter value acquiring unit and the processing unit, be used for the link quality parameter value that link quality parameter value acquiring unit obtains is carried out the time attenuation processing.
Present embodiment can be realized with reference to the link-quality detection method described in the link-quality detection method embodiment six of the present invention.
Link-quality checkout equipment embodiment four of the present invention; Present embodiment and link-quality checkout equipment embodiment of the present invention one to three arbitrary described link-quality checkout equipment are similar, the difference part is, in the present embodiment, described link-quality checkout equipment also comprises switch unit, the master who is used for reporting according to processing unit will lead with pseudo-line and switch to standby pseudo-line with pseudo-line generation link-quality falling event.
Present embodiment can adopt the described link-quality detection method of link switch-over method embodiment of the present invention to realize.
In the more embodiment of the network equipment of the present invention, described processing unit can also send the BFD protocol massages that link-quality descends to the network equipment of link opposite end when detecting described link quality parameter value and surpass the link-quality threshold value preset.
To sum up, the embodiment of the invention is introduced the link quality parameter that is used to represent link-quality in the BFD link-quality detects, detect by value link parameter, when detecting this parameter value and surpass the link-quality threshold value preset, reporting links quality decline message, thus can realize detection to link-quality.
Further, the embodiment of the invention can detect the packet loss anomalous event by two BFD sequence number of message that detect continuous reception, and when detecting the packet loss anomalous event, obtain the packet loss parameter value, and then according to described packet loss parameter value acquisition link quality parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value preset, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that the packet loss anomalous event causes.
Can be according to the timestamp in two BFD messages of continuous reception, the shake anomalous event is detected, and when detecting the shake anomalous event, obtain the jitter parameter value, and then obtain the link quality parameter value according to described jitter parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value that presets, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that the shake anomalous event causes.
Can out of order anomalous event be detected by two BFD sequence number of message that detect continuous reception, and when detecting out of order anomalous event, obtain the out-of-order parameter value, and then according to described out-of-order parameter value acquisition link quality parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value preset, reporting links quality decline message, therefore, the embodiment of the invention can detect the link-quality falling event that out of order anomalous event causes.
Can be according to the timestamp in the BFD message, the time delay anomalous event is detected, and when detecting the time delay anomalous event, obtain the delay parameter value, and then obtain the link quality parameter value according to described delay parameter value, and when detecting the link quality parameter value and surpass the link-quality threshold value that presets, reporting links quality decline message, therefore, the embodiment of the invention can also detect the link-quality falling event that the time delay anomalous event causes.
In embodiments of the present invention, can also the link-quality falling event that packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event cause be detected; And the link quality parameter value also has the time attenuation attributes, can improve the accuracy that link-quality detects.
In addition, main during when detecting in link switch-over method embodiment of the present invention with pseudo-line generation link-quality falling event, can switch to standby pseudo-line with pseudo-line with leading, thereby can better guarantee the realization of real time business such as 3G, NGN.
More than link-quality detection method and link-quality checkout equipment that the embodiment of the invention provided are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (13)
1, a kind of link-quality detection method is characterized in that, comprising:
Detect the link quality information of carrying in the BFD message according to the two-way forwarding that is received and detect the link-quality incident that whether takes place,, then calculate the link quality parameter value according to the link-quality incident if the link-quality incident takes place;
If described link quality parameter value surpasses the link-quality threshold value that presets, then reporting links quality decline message.
2, the method for claim 1 is characterized in that, described link-quality incident comprises: packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event.
3, method as claimed in claim 2 is characterized in that, describedly calculates the link quality parameter value according to the link-quality incident and specifically comprises:
When detecting packet loss anomalous event, out of order anomalous event, when shaking anomalous event or time delay anomalous event, obtaining packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value accordingly;
According to the packet loss parameter weighted value, out-of-order parameter weighted value, jitter parameter weighted value or the delay parameter weighted value that preset, described packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value are added in the link quality parameter value that has write down the link quality parameter value that obtains upgrading.
4, method as claimed in claim 3 is characterized in that:
Detecting the packet loss anomalous event according to the BFD message that is received specifically comprises: judge in two BFD messages that receive continuously, the back receives the sequence number that carries in the message and whether receives the difference of the sequence number that carries in the message greater than 1 with elder generation, if then confirm to take place the packet loss anomalous event;
Described packet loss parameter value specifically is that described back receives sequence number of message and the difference that receives sequence number of message earlier.
5, method as claimed in claim 3 is characterized in that:
Detecting the shake anomalous event according to the BFD message that is received specifically comprises: judge whether the side-play amount of two BFD messages in the shared time interval of intermediate line link transmission that receives continuously surpasses the threshold value that presets, if then confirm to take place the shake anomalous event;
Described jitter parameter value specifically is that two BFD messages of described continuous reception transmit the side-play amount in the shared time interval and the ratio of the described threshold value that presets at intermediate line link;
Wherein, described side-play amount specifically is to calculate by following formula:
J=Abs(D(i,i-1)/RxInterval);
D(i,i-1)=(R
i-S
i)-(R
i-1-S
i-1);
Wherein, J represents that two BFD messages that receive continuously transmit the side-play amount in the shared time interval at intermediate line link;
R
iThe back receives the local terminal time of reception of message in two BFD messages that expression receives continuously;
S
iRepresent that described back receives the opposite end transmitting time of message;
R
I-1Receive the local terminal time of reception of message in two BFD messages that expression receives continuously earlier;
S
I-1Represent the described opposite end transmitting time that receives message earlier;
Abs () expression takes absolute value;
The packet receiving that RxInterval represents two continuous BFD messages presetting at interval.
6, method as claimed in claim 3 is characterized in that,
Detecting out of order anomalous event according to the BFD message that is received specifically comprises: judge in two BFD messages that receive continuously, the back receives sequence number that carries in the message and the difference that receives the sequence number that carries in the message earlier and whether is less than or equal to 0, if then confirm to take place out of order anomalous event;
Described out-of-order parameter value specifically is that described back receives sequence number of message and the absolute value of the difference that receives sequence number of message earlier and the product of preset weight value, and the span of this weighted value is between-1 to 0.
7, method as claimed in claim 3 is characterized in that,
Detecting the time delay anomalous event according to the BFD message that is received specifically comprises: whether the local terminal time of reception of the BFD message that judgement is received and the difference of opposite end transmitting time be more than or equal to predetermined time delay threshold value, if then confirm to take place the time delay anomalous event;
The ratio of the local terminal time of reception that described delay parameter value specifically is described BFD message and the difference of opposite end transmitting time and described time delay threshold value.
8, as each described method of claim 1 to 7, it is characterized in that, described link quality parameter value decays in time, described link quality parameter value is according to preset attenuation parameter weighted value, to carry out the link quality parameter value that the time attenuation processing obtained and be added in the link quality parameter value that has write down the link quality parameter value that obtains upgrading.
9, method as claimed in claim 8 is characterized in that, described to carry out the link quality parameter value that the time attenuation processing obtained specifically be to calculate by following formula to obtain:
Q
t=Q
0*0.5
t/σ;
Wherein, Q
tThe link quality parameter value that the time attenuation processing is obtained is carried out in expression;
Q
0The initial value of expression link quality parameter;
T represents the time interval of current time and initial time;
σ represents half-life of presetting.
As each described method of claim 1 to 7, it is characterized in that 10, specifically by reporting the BFD protocol massages to realize, the value of diagnosis Diagnostic field is that link-quality descends to described reporting links quality falling event in the described BFD protocol massages.
11, a kind of link-quality checkout equipment is characterized in that, comprising:
Link-quality event detection unit is used for the link-quality that carries according to the BFD message that is received
Information detects the link-quality incident that whether takes place, and the output testing result;
Link quality parameter value acquiring unit is used for the link-quality incident that detected according to link-quality event detection unit, calculates the link quality parameter value;
Judging unit is used to judge whether described link quality parameter value surpasses preset threshold value, and the output judged result;
Report the unit, be used in described judged result when being reporting links quality decline message.
12, equipment as claimed in claim 11 is characterized in that, described link quality parameter value acquiring unit specifically comprises:
The parameter value acquiring unit, when being used for detecting packet loss anomalous event, out of order anomalous event, shake anomalous event or time delay anomalous event, obtain packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value accordingly in link-quality event detection unit;
Computing unit, be used for according to the packet loss parameter weighted value, out-of-order parameter weighted value, jitter parameter weighted value or the delay parameter weighted value that preset, described packet loss parameter value, out-of-order parameter value, jitter parameter value or delay parameter value are added in the link quality parameter value that has write down the link quality parameter value that obtains upgrading.
13, as claim 11 or 12 described equipment, it is characterized in that described link quality parameter
Also comprise time attenuation processing unit between value acquiring unit and the judging unit, be used for the link quality parameter value that link quality parameter value acquiring unit obtains is carried out the time attenuation processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100847099A CN101247288B (en) | 2008-03-14 | 2008-03-14 | Periodic line quality detecting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100847099A CN101247288B (en) | 2008-03-14 | 2008-03-14 | Periodic line quality detecting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101247288A true CN101247288A (en) | 2008-08-20 |
CN101247288B CN101247288B (en) | 2010-08-18 |
Family
ID=39947514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100847099A Active CN101247288B (en) | 2008-03-14 | 2008-03-14 | Periodic line quality detecting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101247288B (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010045844A1 (en) * | 2008-10-25 | 2010-04-29 | 华为技术有限公司 | Method and device for measuring network performance parameters |
CN101808022A (en) * | 2010-04-22 | 2010-08-18 | 中兴通讯股份有限公司 | Method and device for realizing bidirectional forwarding detection |
WO2010145581A1 (en) * | 2009-09-30 | 2010-12-23 | 中兴通讯股份有限公司 | Method and device for detecting link quality |
CN102064981A (en) * | 2010-12-29 | 2011-05-18 | 中兴通讯股份有限公司 | Bidirectional forwarding detection (BFD) method and system |
CN101552703B (en) * | 2009-04-10 | 2011-07-27 | 中国联合网络通信集团有限公司 | A method and device to measure service quality parameters and a method and device to judge service quality |
CN102137012A (en) * | 2011-02-21 | 2011-07-27 | 华为技术有限公司 | Method, system and equipment for ensuring TDM (Time Division Multiplexing) PWE3 (Pseudo-Wire Emulation Edge to Edge) link reliability |
WO2011107051A2 (en) * | 2011-04-20 | 2011-09-09 | 华为技术有限公司 | Transmission quality detection method, apparatus and transmission system thereof |
CN102196481A (en) * | 2011-06-07 | 2011-09-21 | 中兴通讯股份有限公司 | Network status report method, detection method, device and system |
CN102301651A (en) * | 2009-05-15 | 2011-12-28 | 华为技术有限公司 | method, device and system for measuring network performance |
CN101610535B (en) * | 2009-07-30 | 2012-03-14 | 杭州华三通信技术有限公司 | Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection |
CN102664725A (en) * | 2012-04-26 | 2012-09-12 | 成都交大光芒科技股份有限公司 | Method for realizing clock synchronization subsystem in passenger special line comprehensive monitoring system |
CN102724082A (en) * | 2012-05-22 | 2012-10-10 | 奇瑞汽车股份有限公司 | CAN communication monitoring method based on LabView |
CN101795216B (en) * | 2010-01-25 | 2013-09-11 | 中兴通讯股份有限公司 | Method and equipment for resetting watch dog in multi-hop bidirectional forwarding detection (BFD) |
CN103581021A (en) * | 2013-10-23 | 2014-02-12 | 华为技术有限公司 | Method and equipment for detecting services in software defined network |
CN104579770A (en) * | 2014-12-30 | 2015-04-29 | 华为技术有限公司 | Method and device for managing data transmission channels |
CN106412968A (en) * | 2015-07-31 | 2017-02-15 | 中国移动通信集团公司 | Method and apparatus for collecting wireless link information, and terminal |
CN106941425A (en) * | 2016-01-04 | 2017-07-11 | 中国科学院声学研究所 | A kind of link health detecting system and method based on RTT monitorings |
CN110838994A (en) * | 2019-11-14 | 2020-02-25 | 天津津航计算技术研究所 | Redundant Ethernet link state monitoring system based on broadcast protocol |
CN112653626A (en) * | 2019-10-12 | 2021-04-13 | 华为技术有限公司 | High-delay link determining method, route publishing method and device |
WO2021093640A1 (en) * | 2019-11-11 | 2021-05-20 | 中兴通讯股份有限公司 | Communication link detection methods, communication apparatus and storage medium |
CN114039819A (en) * | 2022-01-07 | 2022-02-11 | 中大检测(湖南)股份有限公司 | Edge intelligent gateway based on 5G |
CN114286484A (en) * | 2022-01-05 | 2022-04-05 | 池州睿成微电子有限公司 | Multifunctional Bluetooth lamp band controller |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100389571C (en) * | 2005-03-25 | 2008-05-21 | 华为技术有限公司 | Method for detecting chain circuit fault between end-to-end notes in mixed network |
CN100502324C (en) * | 2005-08-31 | 2009-06-17 | 华为技术有限公司 | Method for obtaining chain circuit evaluating parameter |
CN101005410A (en) * | 2006-12-15 | 2007-07-25 | 华为技术有限公司 | Detecting method and device for loading state and method and system for distributing loading resource |
-
2008
- 2008-03-14 CN CN2008100847099A patent/CN101247288B/en active Active
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010045844A1 (en) * | 2008-10-25 | 2010-04-29 | 华为技术有限公司 | Method and device for measuring network performance parameters |
US8570893B2 (en) | 2008-10-25 | 2013-10-29 | Huawei Technologies Co., Ltd. | Method and device for measuring network performance parameters |
CN101729303B (en) * | 2008-10-25 | 2012-12-12 | 华为技术有限公司 | Method and device for measuring network performance parameter |
CN101552703B (en) * | 2009-04-10 | 2011-07-27 | 中国联合网络通信集团有限公司 | A method and device to measure service quality parameters and a method and device to judge service quality |
EP2432160A4 (en) * | 2009-05-15 | 2012-03-21 | Huawei Tech Co Ltd | Method, device and system for measuring network performance |
CN102301651A (en) * | 2009-05-15 | 2011-12-28 | 华为技术有限公司 | method, device and system for measuring network performance |
EP2432160A1 (en) * | 2009-05-15 | 2012-03-21 | Huawei Technologies Co., Ltd. | Method, device and system for measuring network performance |
CN101610535B (en) * | 2009-07-30 | 2012-03-14 | 杭州华三通信技术有限公司 | Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection |
WO2010145581A1 (en) * | 2009-09-30 | 2010-12-23 | 中兴通讯股份有限公司 | Method and device for detecting link quality |
CN101795216B (en) * | 2010-01-25 | 2013-09-11 | 中兴通讯股份有限公司 | Method and equipment for resetting watch dog in multi-hop bidirectional forwarding detection (BFD) |
CN101808022A (en) * | 2010-04-22 | 2010-08-18 | 中兴通讯股份有限公司 | Method and device for realizing bidirectional forwarding detection |
CN101808022B (en) * | 2010-04-22 | 2014-08-13 | 中兴通讯股份有限公司 | Method and device for realizing bidirectional forwarding detection |
CN102064981A (en) * | 2010-12-29 | 2011-05-18 | 中兴通讯股份有限公司 | Bidirectional forwarding detection (BFD) method and system |
CN102137012A (en) * | 2011-02-21 | 2011-07-27 | 华为技术有限公司 | Method, system and equipment for ensuring TDM (Time Division Multiplexing) PWE3 (Pseudo-Wire Emulation Edge to Edge) link reliability |
CN102137012B (en) * | 2011-02-21 | 2014-03-26 | 华为技术有限公司 | Method, system and equipment for ensuring TDM (Time Division Multiplexing) PWE3 (Pseudo-Wire Emulation Edge to Edge) link reliability |
WO2011107051A2 (en) * | 2011-04-20 | 2011-09-09 | 华为技术有限公司 | Transmission quality detection method, apparatus and transmission system thereof |
WO2011107051A3 (en) * | 2011-04-20 | 2012-03-22 | 华为技术有限公司 | Transmission quality detection method, apparatus and transmission system thereof |
CN102196481A (en) * | 2011-06-07 | 2011-09-21 | 中兴通讯股份有限公司 | Network status report method, detection method, device and system |
CN102664725B (en) * | 2012-04-26 | 2015-09-16 | 成都交大光芒科技股份有限公司 | Clock synchronization subsystem implementation method in Line for Passenger Transportation comprehensive monitoring system |
CN102664725A (en) * | 2012-04-26 | 2012-09-12 | 成都交大光芒科技股份有限公司 | Method for realizing clock synchronization subsystem in passenger special line comprehensive monitoring system |
CN102724082A (en) * | 2012-05-22 | 2012-10-10 | 奇瑞汽车股份有限公司 | CAN communication monitoring method based on LabView |
CN103581021A (en) * | 2013-10-23 | 2014-02-12 | 华为技术有限公司 | Method and equipment for detecting services in software defined network |
CN103581021B (en) * | 2013-10-23 | 2016-10-26 | 华为技术有限公司 | The method and apparatus of business detection under software defined network |
US10735318B2 (en) | 2014-12-30 | 2020-08-04 | Huawei Technologies Co., Ltd. | Method and apparatus for managing data transmission channel |
CN110149220A (en) * | 2014-12-30 | 2019-08-20 | 华为技术有限公司 | A kind of method and device managing data transmission channel |
CN104579770A (en) * | 2014-12-30 | 2015-04-29 | 华为技术有限公司 | Method and device for managing data transmission channels |
CN110149220B (en) * | 2014-12-30 | 2022-07-29 | 华为技术有限公司 | Method and device for managing data transmission channel |
CN106412968A (en) * | 2015-07-31 | 2017-02-15 | 中国移动通信集团公司 | Method and apparatus for collecting wireless link information, and terminal |
CN106412968B (en) * | 2015-07-31 | 2020-03-17 | 中国移动通信集团公司 | Method, device and terminal for collecting wireless link information |
CN106941425B (en) * | 2016-01-04 | 2019-11-19 | 中国科学院声学研究所 | A kind of link health detecting system and method based on RTT monitoring |
CN106941425A (en) * | 2016-01-04 | 2017-07-11 | 中国科学院声学研究所 | A kind of link health detecting system and method based on RTT monitorings |
CN112653626A (en) * | 2019-10-12 | 2021-04-13 | 华为技术有限公司 | High-delay link determining method, route publishing method and device |
WO2021068968A1 (en) * | 2019-10-12 | 2021-04-15 | 华为技术有限公司 | High delay link determination method and apparatus, and route distribution method and apparatus |
US12003405B2 (en) | 2019-10-12 | 2024-06-04 | Huawei Technologies Co., Ltd. | High latency link determining method, routing advertisement method, and apparatus |
WO2021093640A1 (en) * | 2019-11-11 | 2021-05-20 | 中兴通讯股份有限公司 | Communication link detection methods, communication apparatus and storage medium |
CN110838994B (en) * | 2019-11-14 | 2021-09-28 | 天津津航计算技术研究所 | Link state monitoring method of redundant Ethernet based on broadcast protocol |
CN110838994A (en) * | 2019-11-14 | 2020-02-25 | 天津津航计算技术研究所 | Redundant Ethernet link state monitoring system based on broadcast protocol |
CN114286484A (en) * | 2022-01-05 | 2022-04-05 | 池州睿成微电子有限公司 | Multifunctional Bluetooth lamp band controller |
CN114039819A (en) * | 2022-01-07 | 2022-02-11 | 中大检测(湖南)股份有限公司 | Edge intelligent gateway based on 5G |
Also Published As
Publication number | Publication date |
---|---|
CN101247288B (en) | 2010-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101247288B (en) | Periodic line quality detecting method and device | |
CN101710896B (en) | Method and device for detecting link quality | |
CN101729303B (en) | Method and device for measuring network performance parameter | |
EP2288086B1 (en) | Network monitoring device, bus system monitoring device, method and program | |
CN101160816B (en) | Method of measuring performance parameter of multi-protocol label switching network | |
US8605598B2 (en) | Frame loss measurement method, system, and apparatus | |
CN101616037B (en) | Detection method, device and system of packet loss in network communication | |
CN101174975B (en) | Periodic line fault location method and system in Ethernet | |
CN101826989A (en) | Method and device for treating fault | |
CN105049299A (en) | Detection method and device for time delay state information and network architecture | |
CN101404599A (en) | Network fault detection method, primary device, slave device, control terminal and system | |
CN103684818A (en) | Method and device for detecting failures of network channel | |
CN102487338A (en) | Method and device for adjusting bidirectional forwarding detection (BFD) sending interval according to network jitter | |
CN101330496A (en) | Method and apparatus for detecting Ethernet multicast loop | |
JP5413510B2 (en) | COMMUNICATION APPARATUS AND SIGNAL DEGRESSION MONITORING SYSTEM | |
CN102185719A (en) | Service link tracking realization method and device | |
CN101237392B (en) | A network failure testing method under asynchronous transmission mode | |
CN102088417B (en) | Method and apparatus for achieving IP (Internet Protocol) message loopback | |
WO2008095390A1 (en) | An equipment for detecting the line fault of the pseudo wire emulation and a method thereof | |
CN101409648A (en) | Method for locating node fault and link fault of Overlay network | |
CN103974295A (en) | Link status detection device and working method thereof | |
CN101848113B (en) | Network device and method for automatically detecting uplink bandwidth of network | |
CN101159691B (en) | Originated multi-protocol label switching packet maximum length determining method and node | |
CN101729201B (en) | Method for detecting signal degradation defect | |
JP2000216813A (en) | Error compensation method and error compensation device using the method |
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 |