CN106941425B - A kind of link health detecting system and method based on RTT monitoring - Google Patents

A kind of link health detecting system and method based on RTT monitoring Download PDF

Info

Publication number
CN106941425B
CN106941425B CN201610005141.1A CN201610005141A CN106941425B CN 106941425 B CN106941425 B CN 106941425B CN 201610005141 A CN201610005141 A CN 201610005141A CN 106941425 B CN106941425 B CN 106941425B
Authority
CN
China
Prior art keywords
value
module
rtt
monitoring
real
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
CN201610005141.1A
Other languages
Chinese (zh)
Other versions
CN106941425A (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.)
Beijing Zhongke Haiwang Technology Co ltd
Original Assignee
Institute of Acoustics CAS
Beijing Intellix 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 Institute of Acoustics CAS, Beijing Intellix Technologies Co Ltd filed Critical Institute of Acoustics CAS
Priority to CN201610005141.1A priority Critical patent/CN106941425B/en
Publication of CN106941425A publication Critical patent/CN106941425A/en
Application granted granted Critical
Publication of CN106941425B publication Critical patent/CN106941425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0864Round trip delays

Abstract

The present invention relates to a kind of link health detecting systems based on RTT monitoring, comprising: real-time monitoring module, timing module, reference file module, anomaly statistics module and adaptively sampled module;Wherein, real-time monitoring module is responsible for being measured in real time chain road data packet two-way time and comparing with a reference value provided by reference file module;The reference file module provides a reference value, is also responsible for being weighted update to day part historical baseline values;The timing module is responsible for determination and is presently in the period;The anomaly statistics module is responsible for counting frequency of abnormity;The adjustment of adaptively sampled module anomalous counts value according to provided by anomaly statistics module sends the interval of monitoring data packet.

Description

A kind of link health detecting system and method based on RTT monitoring
Technical field
The present invention relates to network monitor field, in particular to a kind of link health detecting system and side based on RTT monitoring Method.
Background technique
Many enterprises will appreciate that single Internet exportation link problems brought by for link once interrupting, interior employee will Internet can not be accessed, branch VPN is interrupted, and website mailbox can not be serviced externally.Therefore many enterprises can dispose a plurality of Operator's link solves the unreliable of single outlet.But multilink needs to be carried out according to the health status of each link after introducing Load balancing deployment.This just needs a kind of real-time link health detecting method and system.
Technical indicator of the network delay as intuitive reflection network performance quality, by ietf standard tissue and almost institute The attention of some network performance research institutions, it is primary using it as being analyzed network performance, being furtherd investigate comprehensively one after another Index.Network delay is small, illustrates that network connection performance is good, all components on network path are in normal operating condition.Network Delay is big, and continues the quite a while, then the certain components for implying that the network path is passed through have occurred abnormal behaviour, cause The switching performance is deteriorated, and the high-level business performance of carrying may also be affected.Therefore, by carrying out whole day to network delay Wait, in real time measurement and analysis, can in time awareness network operating condition.
But current most methods all do not account for a problem, that is, two-way time (Round-TripTime, RTT) distribution has some cycles, dependent on the difference of daily time and the difference of user network behavior, normal RTT curve Should have and centainly fluctuate, rather than straight line.
Summary of the invention
It is an object of the invention to overcome existing link health monitoring systems and method not to account for two-way time distribution With periodic defect, to provide a kind of more accurate link health monitoring systems of a reference value and method.
To achieve the goals above, the present invention provides a kind of link health detecting systems based on RTT monitoring, comprising: Real-time monitoring module 101, timing module 102, reference file module 103, anomaly statistics module 104 and adaptively sampled module 105;Wherein,
The real-time monitoring module 101 be responsible for chain road data packet two-way time be measured in real time and and reference file A reference value provided by module 103 compares;The reference file module 103 provides a reference value, is also responsible for going through day part History a reference value is weighted update;The timing module 102 is responsible for determination and is presently in the period;The anomaly statistics module 104 It is responsible for statistics frequency of abnormity;The adaptively sampled module 105 anomalous counts value tune according to provided by anomaly statistics module 104 It haircuts and send the interval of monitoring data packet.
The present invention also provides the link health realized based on the link health detecting system based on RTT monitoring Detection method, comprising:
Step 1), system initialization, and input link to be monitored;Wherein, the system initialization includes to system parameter Initialization and reference file module 103 initialization;Wherein, the system parameter includes at least abnormal determination threshold value, different Normal statistical threshold sends detection data inter-packet gap and anomalous counts value;
Step 2) obtains present period by timing module 102, and reference file module 103 gets out the history of present period A reference value;
Step 3) judges whether to enter a new period, if entering a new period, perform the next step, Otherwise, step 5) is executed;
Step 4), average to the RTT value recorded in the previous period N, and then weighting updates the RTT benchmark of previous period 2) value, then re-execute the steps;
Step 5) is still in present period, and the beginning of real-time monitoring module 101 is to send probe data packet gap size T sends monitoring data packet and records the RTT value of acquisition;
Step 6), real-time monitoring module 101 RTT value of every acquisition, will be with the history of present period in reference file A reference value compares, and the difference both judged is either with or without being more than abnormal determination threshold value, if it does, then follow the steps 11), if It is not above, performs the next step;
Step 7) judges whether anomalous counts value is greater than 1, if it is greater than 1, performs the next step, otherwise, re-execute the steps 2);
Step 8), record RTT value, and anomalous counts value is subtracted 1;
Step 9) judges whether anomalous counts value is greater than 0, if so, re-executeing the steps 2), if it is not, under executing One step;
The gap size for sending probe data packet is become T by step 10), is then re-execute the steps 2);
Anomaly statistics value is added 1, and abandons the RTT value currently obtained by step 11);
Step 12) judges whether anomalous counts value has reached anomaly statistics threshold value, if so, perform the next step, otherwise, Execute step 14);
Step 13) issues link abnormal alarm, and detection terminates;
Step 14) judges whether anomalous counts value is greater than the half of anomaly statistics threshold value B, if so, perform the next step, Otherwise, it re-execute the steps 2);
The gap size for sending probe data packet is become T/2 from T by step 15), is then re-execute the steps 2).
In above-mentioned technical proposal, initialization exception decision threshold Shi Weiqi assignment 100ms, when initialization exception statistical threshold For its assignment 5, initialization sends detection data inter-packet gap Shi Weiqi assignment 10s, initialization exception count value Shi Weiqi assignment 0.
In above-mentioned technical proposal, in step 4), weighting updates the more new formula of the RTT a reference value of previous period are as follows:
NEW=C1 × H+C2 × N;
Wherein, H is the historical baseline values of previous period RTT, and N is the mean value of previous period real-time monitoring RTT value, and NEW is Previous period RTT a reference value after update, C1 are weight when weighting related with historical baseline values updates, and C2 is and real-time reference It is worth the weight that related weighting updates, C1+C2=1, and the value of C2 is greater than the value of C1.
In above-mentioned technical proposal, C1=0.3, C2=0.7.
The present invention has the advantages that
1, the present invention accounts for the fluctuation of RTT, provides more accurate a reference value for link detecting.
2, the method that the present invention takes weighting to update when updating a reference value can use and assign history value certain weight Come smooth out it is some may the RTT due to caused by a certain special event variation it is excessive, while can also be utilized as the value newly measured tax Biggish weight is given to retain the general morphologictrend of RTT.
3, the anomaly statistics module in the present invention can effectively eliminate mistake caused by some shakes due to link delay Alarm.
4, the adaptively sampled module in the present invention can effectively reduce power consumption.
5, method of the invention only introduces subtraction in real-time monitoring, when updating benchmark, also only needs simple Additions and multiplications, whole computational complexity is relatively low, will not increase excessive burden for whole system, be conducive to engineering It realizes.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of link health detecting system of the invention;
Fig. 2 is the flow chart of link health detecting method of the invention.
Specific embodiment
Now in conjunction with attached drawing, the invention will be further described.
As shown in Figure 1, link health detecting system of the invention includes: real-time monitoring module 101, timing module 102, base Quasi- file module 103, anomaly statistics module 104 and adaptively sampled module 105;Wherein,
The real-time monitoring module 101 be responsible for being measured in real time chain road data packet two-way time and with benchmark text A reference value provided by part module 103 compares;The reference file module 103 is also responsible for pair other than providing a reference value Day part historical baseline values are weighted update;The timing module 102 is responsible for determination and is presently in the period;The anomaly statistics Module 104 is responsible for statistics frequency of abnormity;The adaptively sampled module 105 is abnormal according to provided by anomaly statistics module 104 Count value adjustment sends the interval of monitoring data packet.
With reference to Fig. 2, the detection method realized based on link health detecting system of the invention includes:
Step 201, system initialization, and input link to be monitored;Wherein, system initialization includes: that initialization exception is sentenced Determine threshold value A, anomaly statistics threshold value B, send parameter including detection data inter-packet gap T, such as in one embodiment, when initialization It is assigned a value of A=100ms, B=5, T=10s respectively for these parameters, can also according to actual needs be this in other embodiments A little parameters assign other values;Initialization exception count value is 0;Reference file module 103 is initialized, Historical baseline text is read in Part.
Step 202 obtains present period by timing module 102, and reference file module 103 gets out the history of present period A reference value.
Step 203 judges whether to enter a new period, if entering a new period, perform the next step, Otherwise, step 205 is executed.
Step 204, average to the RTT value recorded in the previous period N, and then weighting updates the RTT benchmark of previous period Value, more new formula are as follows: NEW=C1 × H+C2 × N, wherein H is the historical baseline values of previous period RTT, and N is that the previous period is real When monitor RTT value mean value, NEW be update after previous period RTT a reference value, C1 be weighting related with historical baseline values update When weight, C2 be with real-time reference value it is related weighting update weight, C1+C2=1, in order to preferably reflect that variation becomes Gesture, usually C2 assigns biggish value, assigns lesser value, such as C1=0.3, C2=0.7 for C1;Be then return to step 202 after It is continuous to execute.
Step 205 is still in present period, and real-time monitoring module 101 starts to send monitoring data Bao Bingji with interval T Record the RTT value obtained.
Step 206, real-time monitoring module 101 RTT value of every acquisition, will be with the history of present period in reference file A reference value compares, and judges the difference of the two either with or without being more than abnormal determination threshold value A, if it does, thening follow the steps 211, such as Fruit is not above, and performs the next step.
Step 207 judges whether anomalous counts value is greater than 1, if it is greater than 1, performs the next step, and otherwise, re-executes step Rapid 202.
Step 208, record RTT value, and anomalous counts value is subtracted 1.
Step 209 judges whether anomalous counts value is greater than 0, if so, 202 are re-execute the steps, if it is not, executing In next step.
The gap size for sending probe data packet is become T by step 210, then re-execute the steps 202.
Anomaly statistics value is added 1, and abandons the RTT value currently obtained by step 211.
Step 212 judges whether anomalous counts value has reached anomaly statistics threshold value B, if so, perform the next step, otherwise, Execute step 214.
Step 213 issues link abnormal alarm, and detection terminates.
Step 214 judges whether anomalous counts value is greater than the half of anomaly statistics threshold value B, if so, perform the next step, Otherwise, 202 are re-execute the steps.
The gap size for sending probe data packet is become T/2 from T by step 215, then re-execute the steps 202.
It should be noted last that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting.Although ginseng It is described the invention in detail according to embodiment, those skilled in the art should understand that, to technical side of the invention Case is modified or replaced equivalently, and without departure from the spirit and scope of technical solution of the present invention, should all be covered in the present invention Scope of the claims in.

Claims (4)

1. a kind of link health detecting method based on RTT monitoring, based on a kind of link health detecting system based on RTT monitoring It realizes, which includes: real-time monitoring module (101), timing module (102), reference file module (103), anomaly statistics mould Block (104) and adaptively sampled module (105);Wherein,
The real-time monitoring module (101) be responsible for chain road data packet two-way time is measured in real time and with reference file mould A reference value provided by block (103) compares;The reference file module (103) provides a reference value, is also responsible for day part Historical baseline values are weighted update;The timing module (102) is responsible for determination and is presently in the period;The anomaly statistics module (104) it is responsible for statistics frequency of abnormity;The adaptively sampled module (105) is different according to provided by anomaly statistics module (104) Normal count value adjustment sends the interval of monitoring data packet;The described method includes:
Step 1), system initialization, and input link to be monitored;Wherein, the system initialization includes to the first of system parameter The initialization of beginningization and reference file module (103);Wherein, the system parameter includes at least abnormal determination threshold value, exception Statistical threshold sends detection data inter-packet gap and anomalous counts value;
Step 2) obtains present period by timing module (102), and reference file module (103) gets out the history of present period A reference value;
Step 3) judges whether to enter a new period, if entering a new period, perform the next step, otherwise, Execute step 5);
Step 4), average to the RTT value recorded in the previous period N, and then weighting updates the RTT a reference value of previous period, so After re-execute the steps 2);
Step 5) is still in present period, and real-time monitoring module (101) starts to send probe data packet gap size as T It sends monitoring data packet and records the RTT value of acquisition;
Step 6), real-time monitoring module (101) RTT value of every acquisition, will be with the history base of present period in reference file Quasi- value compares, and judges the difference of the two either with or without being more than abnormal determination threshold value, if it does, thening follow the steps 11), if do not had It has more than, performs the next step;
Step 7) judges whether anomalous counts value is greater than 1, if it is greater than 1, performs the next step, otherwise, re-execute the steps 2);
Step 8), record RTT value, and anomalous counts value is subtracted 1;
Step 9) judges whether anomalous counts value is greater than 0, if so, re-executeing the steps 2), if it is not, performing the next step;
The gap size for sending probe data packet is become T by step 10), is then re-execute the steps 2);
Anomaly statistics value is added 1, and abandons the RTT value currently obtained by step 11);
Step 12) judges whether anomalous counts value has reached anomaly statistics threshold value, if so, performing the next step, otherwise, executes Step 14);
Step 13) issues link abnormal alarm, and detection terminates;
Step 14) judges whether anomalous counts value is greater than the half of anomaly statistics threshold value B, if so, perform the next step, otherwise, It re-execute the steps 2);
The gap size for sending probe data packet is become T/2 from T by step 15), is then re-execute the steps 2).
2. the link health detecting method according to claim 1 based on RTT monitoring, which is characterized in that initialization exception Decision threshold Shi Weiqi assignment 100ms, initialization exception statistical threshold Shi Weiqi assignment 5, initialization send detection data parlor Every Shi Weiqi assignment 10s, initialization exception count value Shi Weiqi assignment 0.
3. the link health detecting method according to claim 1 based on RTT monitoring, which is characterized in that in step 4), Weighting updates the more new formula of the RTT a reference value of previous period are as follows:
NEW=C1 × H+C2 × N;
Wherein, H is the historical baseline values of previous period RTT, and N is the mean value of previous period real-time monitoring RTT value, and NEW is to update Previous period RTT a reference value afterwards, C1 are weight when weighting related with historical baseline values updates, and C2 is to have with real-time reference value The weight that the weighting of pass updates, C1+C2=1, and the value of C2 is greater than the value of C1.
4. the link health detecting method according to claim 3 based on RTT monitoring, which is characterized in that C1=0.3, C2 =0.7.
CN201610005141.1A 2016-01-04 2016-01-04 A kind of link health detecting system and method based on RTT monitoring Active CN106941425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610005141.1A CN106941425B (en) 2016-01-04 2016-01-04 A kind of link health detecting system and method based on RTT monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610005141.1A CN106941425B (en) 2016-01-04 2016-01-04 A kind of link health detecting system and method based on RTT monitoring

Publications (2)

Publication Number Publication Date
CN106941425A CN106941425A (en) 2017-07-11
CN106941425B true CN106941425B (en) 2019-11-19

Family

ID=59469124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610005141.1A Active CN106941425B (en) 2016-01-04 2016-01-04 A kind of link health detecting system and method based on RTT monitoring

Country Status (1)

Country Link
CN (1) CN106941425B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522263B (en) * 2018-11-16 2021-10-29 郑州云海信息技术有限公司 I2C link monitoring system
CN111404751B (en) * 2020-03-20 2021-05-28 南京大学 RTT (round trip time) prediction method based on RNN (neural network)
CN112596985B (en) * 2020-12-30 2023-11-10 绿盟科技集团股份有限公司 IT asset detection method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247288A (en) * 2008-03-14 2008-08-20 华为技术有限公司 Periodic line quality detecting method and device
CN101917342A (en) * 2010-08-25 2010-12-15 天津理工大学 Pervasive service-oriented adaptive network congestion control method
CN102185673A (en) * 2011-03-22 2011-09-14 深信服网络科技(深圳)有限公司 Round-trip time (RTT) statistic method and RTT statistic system
CN104243242A (en) * 2014-09-26 2014-12-24 厦门亿联网络技术股份有限公司 Network dithering algorithm based network congestion reflection method
CN105187228A (en) * 2015-06-12 2015-12-23 中国通信建设集团设计院有限公司 Network quality detection method and router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247288A (en) * 2008-03-14 2008-08-20 华为技术有限公司 Periodic line quality detecting method and device
CN101917342A (en) * 2010-08-25 2010-12-15 天津理工大学 Pervasive service-oriented adaptive network congestion control method
CN102185673A (en) * 2011-03-22 2011-09-14 深信服网络科技(深圳)有限公司 Round-trip time (RTT) statistic method and RTT statistic system
CN104243242A (en) * 2014-09-26 2014-12-24 厦门亿联网络技术股份有限公司 Network dithering algorithm based network congestion reflection method
CN105187228A (en) * 2015-06-12 2015-12-23 中国通信建设集团设计院有限公司 Network quality detection method and router

Also Published As

Publication number Publication date
CN106941425A (en) 2017-07-11

Similar Documents

Publication Publication Date Title
JP5612696B2 (en) Network management system and method for identifying and accessing quality of service results within a communication network
CN106941425B (en) A kind of link health detecting system and method based on RTT monitoring
WO2020215721A1 (en) Method for predicting service life of laser radar
Nováczki An improved anomaly detection and diagnosis framework for mobile network operators
JP6097889B2 (en) Monitoring system, monitoring device, and inspection device
CN109741927B (en) Intelligent prediction system for equipment faults and potential defective products of miniature transformer production line
WO2017067615A1 (en) Method and system for supporting detection of irregularities in a network
CN106452931B (en) Monitor control index and thresholding discovery method, thresholding method of adjustment and automatic monitored control system
CN101189895A (en) Abnormality detecting method and system, and upkeep method and system
CN104639388A (en) DNS server availability detection method based on user perception
WO2019085536A1 (en) Network quality determining method and apparatus, and storage medium
WO2022028120A1 (en) Indicator detection model acquisition method and apparatus, fault locating method and apparatus, and device and storage medium
CN110245053A (en) Failure predication diagnostic method and system
CN110460622A (en) A kind of network anomaly detection method based on Situation Awareness prediction technique
JP2021022759A (en) Network analysis program, network analysis apparatus, and network analysis method
CN102891761A (en) Method and device for predicting equipment performance
CN109963292B (en) Complaint prediction method, complaint prediction device, electronic apparatus, and storage medium
US9645877B2 (en) Monitoring apparatus, monitoring method, and recording medium
US20230004475A1 (en) Method and Apparatus for Determining Collection Frequency, Computer Device, and Storage Medium
JP6832890B2 (en) Monitoring equipment, monitoring methods, and computer programs
CN111599033A (en) Processing method for diagnosing cigarette machine fault
Liang et al. Study on the Characteristics of Network Traffic based on STFT
CN102984004A (en) Server side monitoring method and monitoring system
EP3767891B1 (en) Packet analysis program, packet analysis method, and packet analysis device
US11886451B2 (en) Quantization of data streams of instrumented software and handling of delayed data by adjustment of a maximum delay

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210818

Address after: Room 1601, 16th floor, East Tower, Ximei building, No. 6, Changchun Road, high tech Industrial Development Zone, Zhengzhou, Henan 450001

Patentee after: Zhengzhou xinrand Network Technology Co.,Ltd.

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Effective date of registration: 20210818

Address after: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee after: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Address before: 100190, No. 21 West Fourth Ring Road, Beijing, Haidian District

Patentee before: INSTITUTE OF ACOUSTICS, CHINESE ACADEMY OF SCIENCES

Patentee before: BEIJING INTELLIX TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230831

Address after: No. 2180, 2nd Floor, Building D, Building 33, No. 99, Kechuang 14th Street, Economic and Technological Development Zone, Daxing District, Beijing 100176

Patentee after: Beijing Zhongke Haiwang Technology Co.,Ltd.

Address before: Room 1601, 16th floor, East Tower, Ximei building, No. 6, Changchun Road, high tech Industrial Development Zone, Zhengzhou, Henan 450001

Patentee before: Zhengzhou xinrand Network Technology Co.,Ltd.