CN107026769A - A kind of whether online method of batch detection multipoint service device - Google Patents

A kind of whether online method of batch detection multipoint service device Download PDF

Info

Publication number
CN107026769A
CN107026769A CN201710224845.2A CN201710224845A CN107026769A CN 107026769 A CN107026769 A CN 107026769A CN 201710224845 A CN201710224845 A CN 201710224845A CN 107026769 A CN107026769 A CN 107026769A
Authority
CN
China
Prior art keywords
node server
cluster
ping bags
labeled
ping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710224845.2A
Other languages
Chinese (zh)
Inventor
李强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201710224845.2A priority Critical patent/CN107026769A/en
Publication of CN107026769A publication Critical patent/CN107026769A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a kind of whether online method of batch detection multipoint service device, step is:Obtain the IP address and nodename of multiple node servers in cluster;A node server sends multiple ping bags thereto;Time limit T2 is set, if receiving all ping bags of this node server return in time limit T2, and the node server is labeled as OK, if receiving part ping bags, then enter and the node server is labeled as not good, if being not received by ping bags, the node server is labeled as bad;Then repeat step sends ping bags until node server all in cluster has all been sent into ping bags, completes the circulation of all node servers of whole cluster.This method, which is crossed, to be judged packet loss to judge whether network connection unimpeded, without man-machine interactively, can batch, it is simple to operate, easy to use, can detection service device whether save the plenty of time online.

Description

A kind of whether online method of batch detection multipoint service device
Technical field
The present invention relates to a kind of whether online method of batch detection multipoint service device.
Background technology
In the prior art, known technology is the fast development with internet+and cloud service, and server tends to more piece Point type, the number of servers of Internet service is more and more huger.In the test of server and to ensure all nodes clothes when using Business is all in place, when some FW are updated in maintenance or test, and it is just particularly important to service inspection in place, during this Using going to judge troublesome manually, this is the weak point present in prior art.
The content of the invention
The purpose of the present invention provides a kind of batch detection multipoint service device aiming at the deficiency present in prior art Whether online method, this method, which is crossed, to be judged packet loss to judge whether network connection unimpeded, without man-machine interactively, can batch, It is simple to operate, easy to use, can detection service device whether save the plenty of time online.Bulk service device can be realized simultaneously Management, so using on multi node server, the convenience of this method is more obvious.
This programme is achieved by the following technical measures:A kind of whether online side of batch detection multipoint service device Method, comprises the following steps:
1)Obtain the IP address and nodename of multiple node servers in cluster;
2)A node server sends multiple ping bags thereto, and sets the time-to-live T1 of this ping bag;
3)Time limit T2 is set, if all ping bags of this node server return are received in time limit T2, into step 4)If part ping bags are received, into step 5)If ping bags are not received by, into step 6);
4)All ping bags received time used is recorded, and the node server is labeled as OK, then repeat step 2)Until node server all in cluster has all been sent into ping bags;
5)The node server is labeled as not good, then repeat step 2)Until by node server all in cluster Ping bags are all sent;
6)The node server is labeled as bad, then repeat step 2)Until node server all in cluster is all sent out Ping bags are sent;
7)The connected state of all nodes in cluster is obtained, communicates normal labeled as OK node server, labeled as not Good node server communication is unstable, can not be communicated labeled as bad node server, complete all sections of whole cluster The circulation of point server.
Described step 4)In, to mark be node server carry out priority evaluation, estimation steps be one, pair when Limit T2 is divided into n sections, and to each section of distribution weight, 0~t1Weight be a1, t1~t2Weight be a2, t2~t3Weight For a3……tn-1~tnWeight be an, wherein 2a1 = a2, 2a2= a3……2an-1 = an, a1、a 2……anIt is constant, 2nd, for a certain node server, the time for receiving each ping bags returned is multiplied by corresponding weight, finally obtains this node The prior value of server;3rd, in computing cluster all node servers prior value, the minimum priority of prior value gets over It is high.
Time limit T2 is more than the time-to-live T1 of ping bags.
The beneficial effect of this programme can be learnt according to the narration to such scheme, due to obtaining server in this scenario The IP address and nodename of multi node server, so can uniquely determine server, then by ping bags to node Server is sent, and judges whether network communicates well by judging packet drop, for each node server IP again Above-mentioned deterministic process and feedback result are carried out to extracting node, all node servers until completing whole cluster.To communication Normal node server, evaluation and optimization level, when being so easy to the follow-up data to handle, prioritizing selection priority is high.Thus may be used See, compared with prior art, with prominent substantive distinguishing features and significant progress, its beneficial effect implemented is also the present invention Obviously.
Brief description of the drawings
Fig. 1 is the structural representation of the specific embodiment of the invention.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by an embodiment, and its accompanying drawing is combined, it is right This programme is illustrated.
By accompanying drawing as can be seen that the whether online method of the batch detection multipoint service device of this programme, including following step Suddenly:
1)Obtain the IP address and nodename of multiple node servers in cluster;
2)A node server sends multiple ping bags thereto, and sets the time-to-live T1 of this ping bag;
3)Time limit T2 is set, if all ping bags of this node server return are received in time limit T2, into step 4)If part ping bags are received, into step 5)If ping bags are not received by, into step 6);Time limit T2 More than the time-to-live T1 of ping bags;
4)Record in all ping bags received time used, the present embodiment and judge packet loss percentage, if packet loss is 0, state normal information is returned to by ok functions and the node server is labeled as OK, then repeat step 2)Until by cluster All node servers have all sent ping bags;
5)The node server is labeled as to judge packet loss percentage in not good, the present embodiment, if packet loss is between 0 He Between 100, then by dry function return communication unstable states, then repeat step 2)Until node all in cluster is taken Business device has all sent ping bags;
6)The node server is labeled as to judge packet loss percentage in bad, the present embodiment, if packet loss is 100, by bad Function is returned can not the communication information, then repeat step 2)Until node server all in cluster has all been sent into ping Bag;
7)The connected state of all nodes in cluster is obtained, communicates normal labeled as OK node server, labeled as not Good node server communication is unstable, can not be communicated labeled as bad node server, complete all sections of whole cluster The circulation of point server.
Described step 4)In, to mark be node server carry out priority evaluation, estimation steps be one, pair when Limit T2 is divided into n sections, and to each section of distribution weight, 0~t1Weight be a1, t1~t2Weight be a2, t2~t3Weight For a3……tn-1~tnWeight be an, wherein 2a1 = a2, 2a2= a3……2an-1 = an, a1、a 2……anIt is constant, 2nd, for a certain node server, the time for receiving each ping bags returned is multiplied by corresponding weight, finally obtains this node The prior value of server;3rd, in computing cluster all node servers prior value, the minimum priority of prior value gets over It is high.
The present invention is not limited in above-mentioned embodiment, essential scope of the those of ordinary skill in the art in the present invention The variations, modifications, additions or substitutions inside made, should also belong to protection scope of the present invention.

Claims (3)

1. a kind of whether online method of batch detection multipoint service device, it is characterised in that comprise the following steps:
1)Obtain the IP address and nodename of multiple node servers in cluster;
2)A node server sends multiple ping bags thereto, and sets the time-to-live T1 of this ping bag;
3)Time limit T2 is set, if all ping bags of this node server return are received in time limit T2, into step 4)If part ping bags are received, into step 5)If ping bags are not received by, into step 6);
4)All ping bags received time used is recorded, and the node server is labeled as OK, then repeat step 2)Until node server all in cluster has all been sent into ping bags;
5)The node server is labeled as not good, then repeat step 2)Until by node server all in cluster Ping bags are all sent;
6)The node server is labeled as bad, then repeat step 2)Until node server all in cluster is all sent out Ping bags are sent;
7)The connected state of all nodes in cluster is obtained, communicates normal labeled as OK node server, labeled as not Good node server communication is unstable, can not be communicated labeled as bad node server, complete all sections of whole cluster The circulation of point server.
2. the whether online method of batch detection multipoint service device according to claim 1, it is characterized in that:Described step Rapid 4)In, priority evaluation is carried out to the node server that mark is, estimation steps are one, n sections are divided into time limit T2, and To each section of distribution weight, 0~t1Weight be a1, t1~t2Weight be a2, t2~t3Weight be a3……tn-1~tn's Weight is an, wherein 2a1 = a2, 2a2= a3……2an-1 = an, a1、a 2……anIt is constant, two, for a certain node Server, the time for receiving each ping bags returned is multiplied by corresponding weight, finally obtains the priority number of this node server Value;3rd, in computing cluster all node servers prior value, the minimum priority of prior value is higher.
3. the whether online method of batch detection multipoint service device according to claim 1 or 2, it is characterized in that:Time limit T2 More than the time-to-live T1 of ping bags.
CN201710224845.2A 2017-04-07 2017-04-07 A kind of whether online method of batch detection multipoint service device Pending CN107026769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710224845.2A CN107026769A (en) 2017-04-07 2017-04-07 A kind of whether online method of batch detection multipoint service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710224845.2A CN107026769A (en) 2017-04-07 2017-04-07 A kind of whether online method of batch detection multipoint service device

Publications (1)

Publication Number Publication Date
CN107026769A true CN107026769A (en) 2017-08-08

Family

ID=59527339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710224845.2A Pending CN107026769A (en) 2017-04-07 2017-04-07 A kind of whether online method of batch detection multipoint service device

Country Status (1)

Country Link
CN (1) CN107026769A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971479A (en) * 2019-10-08 2020-04-07 视联动力信息技术股份有限公司 Server detection method, device and system based on video network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795239A (en) * 2010-04-14 2010-08-04 杭州华三通信技术有限公司 Authentication method and equipment
CN102647314A (en) * 2012-05-16 2012-08-22 深圳市乐唯科技开发有限公司 Client side on-line state judgment method and system
CN105634872A (en) * 2016-01-26 2016-06-01 上海斐讯数据通信技术有限公司 Method, device and system for monitoring online and offline states of wireless access node
CN105897827A (en) * 2015-11-27 2016-08-24 乐视云计算有限公司 Server node, local area network server cluster and realizing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795239A (en) * 2010-04-14 2010-08-04 杭州华三通信技术有限公司 Authentication method and equipment
CN102647314A (en) * 2012-05-16 2012-08-22 深圳市乐唯科技开发有限公司 Client side on-line state judgment method and system
CN105897827A (en) * 2015-11-27 2016-08-24 乐视云计算有限公司 Server node, local area network server cluster and realizing method thereof
CN105634872A (en) * 2016-01-26 2016-06-01 上海斐讯数据通信技术有限公司 Method, device and system for monitoring online and offline states of wireless access node

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971479A (en) * 2019-10-08 2020-04-07 视联动力信息技术股份有限公司 Server detection method, device and system based on video network

Similar Documents

Publication Publication Date Title
CN111766837B (en) Planning and managing network probes using a centralized controller
US10484206B2 (en) Path detection method in VxLAN, controller, and network device
CN104518967B (en) Method for routing, equipment and system
US10606726B2 (en) Methods, systems and computer readable media for performing benchmark reference testing of data center and network equipment
CN103581021B (en) The method and apparatus of business detection under software defined network
US20090180393A1 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
CN107197059B (en) DNS (Domain name Server) analysis method and device
US7782796B2 (en) Method for generating an annotated network topology
Sommers et al. Efficient network-wide flow record generation
CN104579996A (en) Cluster load balancing method and system
CN101699786A (en) Method, device and system for detecting packet loss
US10623278B2 (en) Reactive mechanism for in-situ operation, administration, and maintenance traffic
CN101507205A (en) Method for estimating quality-degraded portion on a network in a communication network system
CN101815002B (en) Method for evaluating overall performance of network based on multi-measure deviation maximization
CN104243237A (en) P2P flow detection method and device
Wette et al. DCT2Gen: A traffic generator for data centers
CN108924011A (en) Monitoring system, relevant device, method and medium for OSPF+ Routing Protocol
CN108494625A (en) A kind of analysis system on network performance evaluation
Masoud et al. A graph-theoretic study of the flattening internet as topology
CN107026769A (en) A kind of whether online method of batch detection multipoint service device
CN101986608A (en) Method for evaluating heterogeneous overlay network load balance degree
CN110380981B (en) Flow distribution method and equipment
CN104601400A (en) Shunting equipment performance test method, test client side and test server
CN110784378A (en) Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)
de Sena et al. Dqn-af: Deep q-network based adaptive forwarding strategy for named data networking

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170808