CN102761461B - A kind of link health examination method and device - Google Patents

A kind of link health examination method and device Download PDF

Info

Publication number
CN102761461B
CN102761461B CN201210272077.5A CN201210272077A CN102761461B CN 102761461 B CN102761461 B CN 102761461B CN 201210272077 A CN201210272077 A CN 201210272077A CN 102761461 B CN102761461 B CN 102761461B
Authority
CN
China
Prior art keywords
outbound
health examination
result
configuration
link
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
CN201210272077.5A
Other languages
Chinese (zh)
Other versions
CN102761461A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201210272077.5A priority Critical patent/CN102761461B/en
Publication of CN102761461A publication Critical patent/CN102761461A/en
Application granted granted Critical
Publication of CN102761461B publication Critical patent/CN102761461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of link health examination method, be applied on the network equipment, this network equipment at least comprises an outbound, it is characterized in that, the method comprises the steps: A, receiving management side is the multiple different health examination configuration that outbound issues; B, on described outbound, carry out repeatedly corresponding health examination respectively according to described multiple different health examination configuration, and form check result; C, obtain repeatedly link health examination result, and generate the final link health examination result of this outbound according to pre-defined rule.In the present invention, owing to employing multiple mutually different health examination configuration, effectively can evade prior art and check incomplete problem, make health examination to have emphasis by the introducing of dependency attribute.

Description

A kind of link health examination method and device
Technical field
The present invention relates to network technology, particularly relate to a kind of link health examination method and device.
Background technology
Along with the development of network application, user's internet access speed constantly promotes, and the sustainable requests of user to business also improves constantly.Strengthen outbound availability and stability, make user obtain best communication line, just can guarantee that user obtains best internet access and experiences.Utilize link health examination and session maintenance technology, make full use of the guaranteed reliability that multilink brings, the access link of backup still can be provided to user when can be implemented in certain link down.
Present most manufacturers all can adopt health examination mechanism to judge the health status of a link, on link, such as sends probe messages to a predetermined detection site, if receive response, is considered as link normal, otherwise is considered as link failure.Explorer system is easy in actual use so at present produces erroneous judgement because of some factors of instability in network, thus causes the access of user to carry out unnecessary switching, affects Consumer's Experience.
Summary of the invention
In view of this, the invention provides a kind of link health examination device, be applied on the network equipment, this network equipment at least comprises an outbound, and this device comprises:
Checking dispensing unit, is the multiple different health examination configuration that outbound issues for receiving management side;
Checking performance element, for carrying out repeatedly corresponding health examination respectively according to described multiple different health examination configuration on described outbound, and forming check result;
Interpretation of result unit, for obtaining repeatedly link health examination result, and generates the final link health examination result of this outbound according to pre-defined rule.
The present invention also provides a kind of link health examination method, is applied on the network equipment, and this network equipment at least comprises an outbound, and it is characterized in that, the method comprises the steps:
A, receiving management side are the multiple different health examination configuration that outbound issues;
B, on described outbound, carry out repeatedly corresponding health examination respectively according to described multiple different health examination configuration, and form check result;
C, obtain repeatedly link health examination result, and generate the final link health examination result of this outbound according to pre-defined rule.
In the present invention, owing to employing multiple mutually different health examination configuration, effectively can evade prior art and check incomplete problem, make health examination to have emphasis by the introducing of dependency attribute.
Accompanying drawing explanation
Fig. 1 is a kind of typical networking schematic diagram comprising multiple outbound.
Fig. 2 is the building-block of logic of one embodiment of the present invention link testing fixture.
Fig. 3 is the process chart of one embodiment of the present invention link inspection method.
Embodiment
The invention provides one more reliable link health examination method and device, application on network devices, is used for checking the health status of outbound of the network equipment.The said network equipment inequality of the present invention is limited to switch and router, can also be the equipment of the other types such as fire compartment wall.Be embodied as example with computer program to be below introduced.In the present embodiment, described link check device comprises inspection dispensing unit, checks performance element and interpretation of result unit.Described plant running performs following steps when the network equipment:
Step 101, checks that dispensing unit receiving management side is the multiple different health examination configuration that outbound issues;
Step 102, checks that performance element carries out repeatedly corresponding link health examination respectively according to described multiple different health examination configuration on described outbound;
Step 103, interpretation of result unit obtains repeatedly link health examination result, and generates the final link health examination result of this outbound according to pre-defined rule.
Please refer to Fig. 1, a usual enterprise customer may at the multiple outbound of network equipment deploy in exit, such as telecommunications outbound and UNICOM's outbound etc.The network equipment in exit needs regularly or checks the health status of each outbound according to other times strategy.In the prior art, normally think that a default website sends message and carries out detecting test mode single like this by outbound; In present embodiment, single test mode is not limited to the inspection of an outbound.
Please further refer to Fig. 3, in the present embodiment, keeper can by craft or webmaster computer by multiple health examination configuration distributings of an outbound on the inspection dispensing unit of outlet device, check that dispensing unit can preserve above-mentioned health examination configuration by the form of allocation list.Please refer to the example of table 1; Wherein multiple health examination configuration is different, and difference is embodied at least one and checks in dimension.Check that dimension comprises one in detection site and detection mechanism or two kinds in a preferred embodiment.In addition, each health examination configuration also comprises corresponding result dependency attribute, and so-called result dependency attribute comprises two kinds of concrete states, and one is necessary UP, and another kind is nonessential UP.
Detection site Detection mechanism Result dependency attribute
Sina TCP detects Must UP
Baidu Icmp probe Nonessential UP
Taobao HTTP detects Must UP
Table 1
Wherein detection site refers to the opposite end website by outbound probe for connectivity, in one embodiment of the present invention, the website of multiple different COS can be selected, such as door, search and ecommerce, please refer to Sina, Baidu and the Taobao in table 1.Detection mechanism also can be selected different detection mechanism.Three kinds of detection mechanism are shown in table 1: the first is TCP detection.TCP detection points to detection site to initiate the request of TCP connection establishment, and connect if successfully can set up TCP, then determine that outbound is normal, its state is UP, otherwise determines that outbound is abnormal, and state is Down.The second detection is icmp probe, and it points to detection site to send ICMP Echo message, if receive ICMP REPLY message, then determine that outbound is normal, its state is UP, otherwise determines that outbound is abnormal, and state is Down.The third is HTTP detection, and it refers to that elder generation and detection site are set up TCP and be connected, and then thinks that detection site sends HTTP request, if the HTTP response content received is correct, then determine that outbound is normal, its state is UP, otherwise determine that outbound is abnormal, state is Down.
In a preferred embodiment, check that performance element is except detecting according to the detection mechanism in above-mentioned multiple health examination configuration, check that performance element can also calculate delay and the packet loss of this detection while performing detection, and will postpone and packet loss preservation.After the health examination that each health examination configuration is corresponding completes, can just check result be kept in the form shown in table 2.
Detection site Detection mechanism Dependency attribute Check result Postpone Packet loss
Sina TCP detects Must UP UP 500ms 1.2%
Baidu Icmp probe Nonessential UP 200ms 0.5%
Taobao HTTP detects Must UP Down Time-out 100%
Table 2
After the health examination that each health examination configuration is corresponding completes, interpretation of result unit obtains all check results, and calculates final link health examination result according to predetermined rule.As previously mentioned, each health examination configuration also comprises result dependency attribute, wherein saidly must refer to that current check result is necessary for UP by UP, the necessary condition of its to be final inspection result be outbound UP, if current check result is Down, can determine that final inspection result is Down, what the check result no matter under other health examination configuration is.In a preferred embodiment, predetermined rule can be the check result of predetermined ratio (such as half or over half) when being UP, and the final inspection result of outbound is UP; Pre-defined rule can also be that the check result of predetermined ratio is outbound UP and all dependency attributes are must check result corresponding to UP when being UP, the final inspection result of outbound is UP, pre-defined rule also can be the check result of any one health examination configuration when being UP, and the final inspection result of outbound is UP.
In the prior art, because it adopts single constant detection site and detection mechanism, do not have and consider in network, there is special security configuration and Qos configuration, such as carry out Ping detection for Sina website, unsuccessfully can not illustrate that the health status of outbound must be bad if detected, because may some network equipment or server the interception of Ping message be fallen.In fact Sina may the HTTP request of normal response user, does not that is affect the access of user for this website of Sina.Even if user really cannot access Sina, what outbound also may not be described is unsound, and likely Sina server goes wrong, and the administrator error configuration also likely in network causes access Sina website to be filtered.In the present invention, owing to employing multiple mutually different health examination configuration, effectively can evade prior art and check incomplete problem.
In a preferred embodiment, confirm that link final inspection result is UP when the check result of the present invention under a health examination configuration is UP, effectively can reduce the uncertainty that single inspection brings like this.And the introducing of dependency attribute can guarantee that checking process has the concern of more attaching most importance to.Such as although some websites can lead to by Ping, if but cannot set up TCP connects, so the basic Internet service of this website cannot use certainly, or although TCP connects and can set up, but the response of HTTP request is incorrect, basic internet web page access services also cannot normally use certainly.Therefore, in the preferred mode of the present invention, being set to by the dependency attribute of the health examination configuration relating to TCP detection and HTTP detection must UP.So interpretation of result unit must the check result of UP be that Down just directly can determine that final inspection result is Down once find that dependency attribute is.
In a preferred embodiment, described interpretation of result unit can also calculate according to pre-defined algorithm (such as average or weighted average etc.) link aggregate delay and the comprehensive packet loss of link that all final inspection results are the outbound of UP.If user wishes to implement the intelligent characteristics such as load balancing on egress network equipment, health examination so of the present invention can obtain comprehensive link delay and packet loss by repeatedly checking a link.Link aggregate delay and the comprehensive packet loss of link more truly can reflect the actual mass of link compared to delay of the prior art and packet loss.So, load balancing characteristic can obtain more true and reliable decision parameters.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. a link health examination device, is applied on the network equipment, and this network equipment at least comprises an outbound, it is characterized in that, this device comprises:
Checking dispensing unit, is the multiple different health examination configuration that outbound issues for receiving management side;
Checking performance element, for carrying out repeatedly corresponding health examination respectively according to described multiple different health examination configuration on described outbound, and forming check result;
Interpretation of result unit, for obtaining repeatedly link health examination result, and generates the final link health examination result of this outbound according to pre-defined rule;
Described health examination comprises detection site and detection mechanism two checks that in dimension, at least one checks dimension, and multiple health examination is configured at least one and checks in dimension different; Described detection mechanism comprises at least two kinds of detection mechanism in TCP detection, icmp probe and HTTP detection.
2. device as claimed in claim 1, is characterized in that, described inspection performance element, is further used under described multiple health examination configuration, calculate outbound respectively respectively delay and packet loss; Described interpretation of result unit is further used for using pre-defined algorithm to calculate the aggregate delay of outbound and comprehensive packet loss according to the delay calculated under multiple health examination configuration and packet loss.
3. device as claimed in claim 1, it is characterized in that, check result comprises outbound UP or outbound Down; Described pre-defined rule comprises: determine when at least the check result of half is outbound UP that described final inspection result is outbound UP.
4. device as claimed in claim 1, it is characterized in that, check result comprises outbound UP or outbound Down, described health examination configuration also comprises result dependency attribute, and described pre-defined rule comprises: at least half check result be outbound UP and all result dependency attributes be set to must the health examination of UP configure under check result determine that described final inspection result is outbound UP when being outbound UP.
5. a link health examination method, is applied on the network equipment, and this network equipment at least comprises an outbound, and it is characterized in that, the method comprises the steps:
A, receiving management side are the multiple different health examination configuration that outbound issues;
B, on described outbound, carry out repeatedly corresponding health examination respectively according to described multiple different health examination configuration, and form check result;
C, obtain repeatedly link health examination result, and generate the final link health examination result of this outbound according to pre-defined rule;
Described health examination comprises detection site and detection mechanism two checks that in dimension, at least one checks dimension, and multiple health examination is configured at least one and checks in dimension different; Described detection mechanism comprises at least two kinds of detection mechanism in TCP detection, icmp probe and HTTP detection.
6. method as claimed in claim 5, it is characterized in that, wherein step B comprises further: under described multiple health examination configuration, calculate outbound respectively respectively delay and packet loss; Described step C comprises further: use pre-defined algorithm to calculate the aggregate delay of outbound and comprehensive packet loss according to the delay calculated under multiple health examination configuration and packet loss.
7. method as claimed in claim 5, it is characterized in that, wherein check result comprises outbound UP or outbound Down; Described pre-defined rule comprises: determine when at least the check result of half is outbound UP that described final inspection result is outbound UP.
8. method as claimed in claim 5, it is characterized in that, check result comprises outbound UP or outbound Down, described health examination configuration also comprises result dependency attribute, and described pre-defined rule comprises: at least half check result be outbound UP and all result dependency attributes be set to must the health examination of UP configure under check result determine that described final inspection result is outbound UP when being outbound UP.
CN201210272077.5A 2012-08-01 2012-08-01 A kind of link health examination method and device Active CN102761461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210272077.5A CN102761461B (en) 2012-08-01 2012-08-01 A kind of link health examination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210272077.5A CN102761461B (en) 2012-08-01 2012-08-01 A kind of link health examination method and device

Publications (2)

Publication Number Publication Date
CN102761461A CN102761461A (en) 2012-10-31
CN102761461B true CN102761461B (en) 2015-10-14

Family

ID=47055787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210272077.5A Active CN102761461B (en) 2012-08-01 2012-08-01 A kind of link health examination method and device

Country Status (1)

Country Link
CN (1) CN102761461B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124227B (en) * 2012-12-11 2015-10-21 广东电网公司电力调度控制中心 Forward spacer assembly and the Link State detection method of isolating gateway connected applications
CN103117907B (en) * 2013-03-11 2016-09-28 星云融创(北京)科技有限公司 The method and system of server is accelerated in network speed method of testing and system, selection
CN104518986A (en) * 2013-09-29 2015-04-15 华耀(中国)科技有限公司 Link load balancing system based on remote site detection and method thereof
CN106302595B (en) * 2015-06-02 2020-03-17 阿里巴巴集团控股有限公司 Method and equipment for carrying out health check on server
CN105939232A (en) * 2016-05-19 2016-09-14 乐视控股(北京)有限公司 Method and apparatus for detecting return path
CN106100926A (en) * 2016-06-17 2016-11-09 山东超越数控电子有限公司 A kind of Network Load Balance link physical examination method
CN106776102A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of application system health examination method and system
CN110311830B (en) * 2019-06-03 2021-08-24 杭州迪普科技股份有限公司 Link health check method and device
CN110233778A (en) * 2019-07-01 2019-09-13 北京云端智度科技有限公司 A kind of end-to-end link packet loss analysis method based on packet loss
CN111211926B (en) * 2019-12-31 2023-01-24 杭州迪普科技股份有限公司 Communication fault monitoring method and device, storage medium and equipment
CN111641545B (en) * 2020-05-15 2022-06-21 深信服科技股份有限公司 Tunnel detection method and device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110718A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Self-adapting chain circuit detecting method and device thereof
CN101321095A (en) * 2008-07-14 2008-12-10 中兴通讯股份有限公司 Communication system implementing link measurement and its link measuring method
CN101667941A (en) * 2009-09-27 2010-03-10 中兴通讯股份有限公司 Method for detecting link performance and device therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110718A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Self-adapting chain circuit detecting method and device thereof
CN101321095A (en) * 2008-07-14 2008-12-10 中兴通讯股份有限公司 Communication system implementing link measurement and its link measuring method
CN101667941A (en) * 2009-09-27 2010-03-10 中兴通讯股份有限公司 Method for detecting link performance and device therefor

Also Published As

Publication number Publication date
CN102761461A (en) 2012-10-31

Similar Documents

Publication Publication Date Title
CN102761461B (en) A kind of link health examination method and device
CN108833202B (en) Method, device and computer readable storage medium for detecting fault link
US9787764B2 (en) Server health monitoring for traffic load balancer
CN109787859B (en) Intelligent speed limiting method and device based on network congestion detection and storage medium
US8443074B2 (en) Constructing an inference graph for a network
US6978302B1 (en) Network management apparatus and method for identifying causal events on a network
US20080130517A1 (en) Intelligent automatic reconfiguration method and apparatus for network system
CN103414916B (en) Fault diagnosis system and method
CN103973728B (en) The method and device of load balancing under a kind of multiple data centers environment
WO2021128977A1 (en) Fault diagnosis method and apparatus
US20080120691A1 (en) Control of communication ports of computing devices using policy-based decisions
CN107196820B (en) Switch performance test method, device and system
CN112291075B (en) Network fault positioning method and device, computer equipment and storage medium
CN107360239A (en) A kind of client connection status detection method and system
US20170331711A1 (en) System and method of evaluating network asserts
CN103023815B (en) Aggregation link load sharing method and device
CN103825777A (en) DMZ server switching method and device
EP3682595B1 (en) Obtaining local area network diagnostic test results
CN104065508A (en) Application service health examination method, device and system
WO2014071578A1 (en) Method and device for processing line detection
CN114629822A (en) Link detection method and device, electronic equipment and storage medium
EP3232620B1 (en) Data center based fault analysis method and device
CN111669285A (en) Network detection data processing method, system and storage medium
US20150381498A1 (en) Network system and its load distribution method
EP2787699A1 (en) Data transmission method, device, and system

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
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Patentee after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Patentee before: Hangzhou Dipu Technology Co., Ltd.