CN110768852A - Method and device for testing cloud network nodes - Google Patents

Method and device for testing cloud network nodes Download PDF

Info

Publication number
CN110768852A
CN110768852A CN201810823203.9A CN201810823203A CN110768852A CN 110768852 A CN110768852 A CN 110768852A CN 201810823203 A CN201810823203 A CN 201810823203A CN 110768852 A CN110768852 A CN 110768852A
Authority
CN
China
Prior art keywords
cloud network
network node
online personal
personal client
score
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
CN201810823203.9A
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.)
Guizhou Baishan Cloud Polytron Technologies Inc
Guizhou Baishancloud Technology Co Ltd
Original Assignee
Guizhou Baishan Cloud Polytron Technologies Inc
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 Guizhou Baishan Cloud Polytron Technologies Inc filed Critical Guizhou Baishan Cloud Polytron Technologies Inc
Priority to CN201810823203.9A priority Critical patent/CN110768852A/en
Publication of CN110768852A publication Critical patent/CN110768852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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
    • 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/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses a method and a device for testing cloud network nodes. The disclosed test method comprises: the method comprises the steps of obtaining an IP address, operator information and a first geographic position of a cloud network node; acquiring an IP address of an online personal client which can be reached by a cloud network node or IP addresses and a second geographical position of the online personal client and an available testing machine; executing link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available testing machine; determining a network quality of the cloud network node while serving the online personal client of the second geographic location based on a result of the link quality test. The technical scheme disclosed can enable the result of the network quality test executed aiming at the cloud network node to be more accurate.

Description

Method and device for testing cloud network nodes
Technical Field
The invention relates to the technical field of computer networks, in particular to a method and a device for testing cloud network nodes.
Background
With the continuous development of computer network technology, different networks between different countries, regions or operators (ISPs) have mostly achieved interconnection.
Companies that provide cloud network services using the above-mentioned interworking networks as basic networks usually have hundreds or even thousands of service nodes around the world. However, in the prior art, when selecting a service node to be finally used from alternative service nodes, the following problems generally exist:
1. the test results of the prior art solutions for testing the network quality of cloud network nodes are not accurate enough.
In the existing technical solution for evaluating the network quality of a node, when evaluating whether a node can be used, it is a common practice to: selecting existing nodes in the same network operator and a planning area to deploy a tester, testing the network quality (including two indexes of time delay and packet loss) of the tester from the nodes to be tested in the same network operator and the planning area according to a formula or a standard (for example, average time delay and average packet loss rate), sequencing, and selecting the nodes with better indexes from cloud network nodes as service nodes to be finally used, wherein the technical scheme has the following problems:
(1) the deployed testers (for example, all the testers are usually located in an IDC machine room), so that the number of samples is small, the distribution of vast netizens (namely, individual clients) cannot be represented, and the test results are biased.
(2) A service node with better network quality test results of an operator in a certain region (e.g., province, city, county) is usually selected simply to serve the netizens of the operator in the region. Therefore, during testing, the tester of the operator in the area is mainly used to test the cloud network node, and the test result can only reflect part of the network conditions of the node in the entire network environment (for example, the link quality of the service node of the operator in the area serving different operators and/or different netizens in different areas cannot be reflected, and the link quality of the service node of other operators in the area or other areas serving netizens of the operator in the area cannot be reflected).
2. As described in item (2) of the above problem 1, the above method for selecting a service node is too simple (for example, only the service node of the operator and/or the region where the netizen is located is tested and selected from the service node), so that the quality of service obtained by the netizen is not necessarily the best, and the network test (for example, between networks of different operators) is insufficient, thereby causing inefficient use of the node of the entire (across different operators) network.
3. As described in item (2) of the above problem 1, since selection of a node is not performed across different operators, a cost problem is not considered, and a service node use cost is high.
In order to solve the above problems, a new technical solution needs to be proposed.
Disclosure of Invention
The test method of the cloud network node comprises the following steps:
the method comprises the steps of obtaining an IP address, operator information and a first geographic position of a cloud network node;
acquiring an IP address of an online personal client which can be reached by a cloud network node or IP addresses and a second geographical position of the online personal client and an available testing machine;
executing link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available testing machine;
determining a network quality of the cloud network node while serving the online personal client of the second geographic location based on a result of the link quality test.
According to the testing method of the cloud network node, the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node are obtained through the following steps:
dynamically testing the link state between the cloud network node and the online personal client or between the cloud network node and the online personal client and an available testing machine by using an ICMP (internet control protocol);
and dynamically taking the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which are in a connected state with the link between the cloud network node as the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node.
According to the test method of the cloud network node, the step of executing the link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester comprises the following steps:
link quality tests between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester are performed once per minute.
The test method of the cloud network node further comprises the following steps:
selecting one or more cloud network nodes as selected nodes in combination with the network quality and charging criteria, providing cloud network services to the online personal client at the second geographic location,
the network quality comprises the average network delay and the average packet loss rate.
According to the testing method of the cloud network nodes, the steps of selecting one or more cloud network nodes as the selected nodes and providing cloud network services for the online personal client at the second geographic position by combining the network quality and the charging standard are realized through the following steps:
based on the result of the time delay test, the result of the packet loss rate test, the charging standard, and a predefined time delay-time delay score correspondence table, packet loss rate-packet loss rate score correspondence table, and charging standard-cost coefficient score correspondence table, obtaining a time delay score, a packet loss rate score, and a cost coefficient score respectively corresponding to the result of the time delay test, the result of the packet loss rate test, and the charging standard, and respectively calculating the comprehensive score of each cloud network node according to the following formula:
a total score ═ a% + packet loss rate score × + b% + cost coefficient score ×;
scheduling one or more cloud network nodes with the comprehensive scores ranked at the top as selected nodes,
where, a, b, and c are weights corresponding to the delay score, the packet loss rate score, and the cost coefficient score, respectively, and a + b + c is 100.
The test device for the cloud network node comprises the following components:
the cloud network node information acquisition module is used for acquiring the IP address, the operator information and the first geographic position of the cloud network node;
the online personal client information acquisition module is used for acquiring the IP address of the online personal client which can be reached by the cloud network node or the IP addresses of the online personal client and the available testing machine and the second geographic position;
the link quality testing module is used for executing link quality testing between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available testing machine;
and the network quality determining module is used for determining the network quality when the cloud network node serves the online personal client of the second geographic position based on the result of the link quality test.
According to the testing device of the cloud network node, the online personal client information acquisition module is further configured to:
dynamically testing the link state between the cloud network node and the online personal client or between the cloud network node and the online personal client and an available testing machine by using an ICMP (internet control protocol);
and dynamically taking the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which are in a connected state with the link between the cloud network node as the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node.
According to the testing device of the cloud network node, the link quality testing module is further used for:
link quality tests between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester are performed once per minute.
The test device for the cloud network node according to the present invention further includes:
a service node selection module for selecting one or more cloud network nodes as selected nodes in combination with network quality and charging criteria to provide cloud network services for online personal clients in the second geographic location,
the network quality comprises the average network delay and the average packet loss rate.
According to the testing device of the cloud network node, the service node selection module is further configured to:
based on the result of the time delay test, the result of the packet loss rate test, the charging standard, and a predefined time delay-time delay score correspondence table, packet loss rate-packet loss rate score correspondence table, and charging standard-cost coefficient score correspondence table, obtaining a time delay score, a packet loss rate score, and a cost coefficient score respectively corresponding to the result of the time delay test, the result of the packet loss rate test, and the charging standard, and respectively calculating the comprehensive score of each cloud network node according to the following formula:
a total score ═ a% + packet loss rate score × + b% + cost coefficient score ×;
scheduling one or more cloud network nodes with the comprehensive scores ranked at the top as selected nodes,
where, a, b, and c are weights corresponding to the delay score, the packet loss rate score, and the cost coefficient score, respectively, and a + b + c is 100.
According to the technical scheme of the invention, the result of the network quality test executed aiming at the cloud network node can be more accurate.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to indicate like elements. The drawings in the following description are directed to some, but not all embodiments of the invention. For a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 schematically shows a flow chart of a method for testing a cloud network node according to the invention.
Fig. 2 schematically shows a block schematic diagram of a testing device of a cloud network node according to the present invention.
Fig. 3 schematically shows a schematic configuration of a computer network system comprising a testing device 200 of cloud network nodes according to the present invention.
Fig. 4 is a schematic diagram illustrating an interaction process between a central server and an edge client in the computer network system shown in fig. 3.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 schematically shows a flow chart of a method for testing a cloud network node according to the invention.
As shown in a solid line box of fig. 1, the method for testing the cloud network node according to the present invention includes:
step S102: the method comprises the steps of obtaining an IP address, operator information and a first geographic position of a cloud network node;
step S104: acquiring an IP address of an online personal client which can be reached by a cloud network node or IP addresses and a second geographical position of the online personal client and an available testing machine;
step S106: executing link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available testing machine;
step S108: determining a network quality of the cloud network node while serving the online personal client of the second geographic location based on a result of the link quality test.
For example, the cloud network node is a live cloud network node in a computer network (i.e., a cloud network node reachable by the online personal client or the online personal client and the available tester and having a live IP — an IP that can receive a normal response after sending an icmp packet to the IP).
For example, cloud network nodes may be classified based on the affiliated operator information and the first geographic location.
For example, the online personal clients include online personal clients of an operator to which the cloud network node belongs within and outside the first geographic location, and online personal clients of an operator not belonging to the cloud network node within and outside the first geographic location, the operator information includes information of a specific branch company of the operator, a network coverage area, and a charging standard, and the link quality test includes a delay test and a packet loss rate test.
For example, online personal clients include: the personal user terminal can be ping-connected, can receive and send icmp packets and is accessed to the Internet; useful testing machines include: the system comprises a PC machine which can be ping-connected, can receive and send an icmp packet and is accessed into an IDC machine room of the Internet, a router, a switch, a server and the like which can be reached on the network.
Optionally, in step S104, the IP address of the online personal client reachable by the cloud network node or the IP addresses of the online personal client and the available tester are obtained by:
dynamically testing the link state between the cloud network node and the online personal client or between the cloud network node and the online personal client and an available testing machine by using an ICMP (internet control protocol);
and dynamically taking the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which are in a connected state with the link between the cloud network node as the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node.
For example, a probe for an ICMP packet may be sent to individual clients, or individual clients and testers, at each IP address in an IP library. If the detected IP of the individual client or the tester (namely, the target host) is reachable, the IP address of the individual client or the tester is a live IP, and the individual client or the tester can be used as an online available tester reachable by the cloud network node or an online personal client reachable by the cloud network node; if the detected IP of the personal client or the tester is not reachable, the IP address of the personal client or the tester is a failed IP, and the personal client or the tester cannot be used as an online personal client reachable by the cloud network node or an online available tester reachable by the cloud network node.
For example, to facilitate the lookup, the IP address of the individual client or tester with the live IP may be added to the IP list of the live individual client or tester, and the IP address of the individual client or tester with the failed IP may be added to the IP list of the failed individual client or tester.
For example, the IP list of live personal clients or testers, and the IP list of dead personal clients or testers, as described above, may be dynamically maintained.
Optionally, step S106 includes:
the link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester is performed once per minute (the time interval can be modified in real time according to the network conditions).
Optionally, as shown in a dashed line box of fig. 1, the method for testing a cloud network node according to the present invention further includes:
step S110: selecting one or more cloud network nodes as selected nodes (i.e., scheduling cloud network nodes in real-time) in combination with network quality and charging criteria, providing cloud network services to online personal clients at the second geographic location,
the network quality comprises the average network delay and the average packet loss rate.
Optionally, step S110 is implemented by:
based on the result of the time delay test, the result of the packet loss rate test, the charging standard, and a predefined time delay-time delay score correspondence table, packet loss rate-packet loss rate score correspondence table, and charging standard-cost coefficient score correspondence table, obtaining a time delay score, a packet loss rate score, and a cost coefficient score respectively corresponding to the result of the time delay test, the result of the packet loss rate test, and the charging standard, and respectively calculating the comprehensive score of each cloud network node according to the following formula:
a total score ═ a% + packet loss rate score × + b% + cost coefficient score ×;
one or more cloud network nodes with the top ranking comprehensive scores are taken as selected nodes,
where, a, b, and c are weights corresponding to the delay score, the packet loss rate score, and the cost coefficient score, respectively, and a + b + c is 100.
In a network environment, when the packet loss rate of a service of a node is less than 1%, the quality is not affected, and at the moment, the smaller the time delay is, the faster the downloading speed is, and the better the service quality is.
For example, if the delay and packet loss data (i.e., the result of the delay test and the result of the packet loss ratio test) of the netizens under different provincial city operators are obtained by the steps S102 to S108, the following tables (i.e., the delay-delay score correspondence table, the packet loss ratio-packet loss ratio score correspondence table, and the charging standard-cost coefficient score correspondence table) may be predefined by a large amount of data tested for a long time:
and (3) time delay scoring: the interval of 0-40 ms is respectively corresponding to 100-60 minutes, and the time delay of more than 40ms is determined as fail, 0 minute.
And (3) packet loss rate scoring: the interval of 0% -1% corresponds to 100-50 minutes, and the packet loss rate greater than 1% is determined as unqualified, and 0 minute.
Cost coefficient scoring: the corresponding division between 0 and 4 is 100 to 60.
For example, the aggregation analysis component shown in fig. 3 may be used to first calculate the delay score, the packet loss score, and the cost coefficient score according to the above table, and then calculate the composite score of the node serving the netizens under the operator in the specific region according to the delay score accounting for 60% (i.e., a%), the packet loss score accounting for 20% (i.e., b%), and the cost coefficient score accounting for 20% (i.e., c%). The calculation formula is as follows:
the integrated score is 60% of time delay score + 20% of packet loss rate score + 20% of cost coefficient score
Optionally, each node has a score for the service area operator and follows changes in live IP (i.e., IP addresses of online personal clients or IP addresses of online personal clients and available testers reachable by the cloud network node described above), network changes, and sampling points. For example, a composite score time plot may be obtained by taking minutes as the granularity and measuring one value per minute. Automatic scheduling of node usage is then performed (e.g., by an automatic scheduling system, not shown in the figures) based on the composite scores of node coverage.
This will be explained below with reference to a specific example.
Take the netizen serving the Sichuan telecommunication as an example:
A. the time delay of the Sichuan Chengdu telecommunication node is 5.3, the packet loss rate is 0.2 percent, and the cost coefficient is 3
B. The time delay of the Sichuan Chengdu Unicom node is 7.1, the packet loss rate is 0.1 percent, and the cost coefficient is 1.5
C. The time delay of the Sichuan le mountain mobile node is 8.6, the packet loss rate is 1.4 percent, and the cost coefficient is 3
D. The Chongqing telecommunication node has the time delay of 11.7, the packet loss rate of 0.1 percent and the cost coefficient of 2
According to the formula, the comprehensive score of each alternative service node can be obtained:
and (3) node A: 94.6 × 60% +90 × 20% +70 × 20% ═ 88.82
And the node B: 92.9 × 60% +95 × 20% +85 × 20% ═ 91.42
And C, node C: 91.4 × 60% +0 × 20% +70 × 20% ═ 72.84
And D, node: 88.3 × 60% +95 × 20% +80 × 20% ═ 87.98
Therefore, node B is best suited to serve the telecommunications network people in the four kingdoms, followed by node a, node D. And the C node does not select as a service node due to excessive packet loss.
That is, the above specific example corresponds to the above step S110, and the optimal scheduling is realized (for example, the optimal scheduling method of the cloud network node may be selected according to the above comprehensive score by using a scheduler).
Fig. 2 schematically shows a block schematic of a testing apparatus 200 of a cloud network node according to the present invention.
As shown in the solid line box of fig. 2, the test apparatus 200 of the cloud network node according to the present invention includes:
a cloud network node information obtaining module 201, configured to obtain an IP address of a cloud network node, operator information of the cloud network node, and a first geographic location;
the online personal client information acquisition module 203 is used for acquiring an IP address of an online personal client which can be reached by the cloud network node or IP addresses and a second geographic position of the online personal client and the available testing machine;
a link quality testing module 205, configured to perform a link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and an available testing machine;
a network quality determination module 207 for determining the network quality of the cloud network node when serving the online personal client of the second geographic location based on the result of the link quality test.
For example, the online personal clients include online personal clients of an operator to which the cloud network node belongs within and outside the first geographic location, and online personal clients of an operator not belonging to the cloud network node within and outside the first geographic location, the operator information includes information of a specific branch company of the operator, a network coverage area, and a charging standard, and the link quality test includes a delay test and a packet loss rate test.
Optionally, the online personal client information obtaining module 203 is further configured to:
dynamically testing the link state between the cloud network node and the online personal client or between the cloud network node and the online personal client and an available testing machine by using an ICMP (internet control protocol);
and dynamically taking the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which are in a connected state with the link between the cloud network node as the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node.
Optionally, the link quality testing module 205 is further configured to:
link quality tests between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester are performed once per minute.
Optionally, as shown in the dashed line box of fig. 2, the test apparatus 200 of the cloud network node further includes:
a service node selection module 209 for selecting one or more cloud network nodes as selected nodes in combination with the network quality and charging criteria, providing cloud network services for the online personal client at the second geographic location,
the network quality comprises the average network delay and the average packet loss rate.
Optionally, the network quality determination module 207 and the service node selection module 209 are disposed outside the test apparatus 200 of the cloud network node.
Optionally, the service node selection module 209 is further configured to:
based on the result of the time delay test, the result of the packet loss rate test, the charging standard, and a predefined time delay-time delay score correspondence table, packet loss rate-packet loss rate score correspondence table, and charging standard-cost coefficient score correspondence table, obtaining a time delay score, a packet loss rate score, and a cost coefficient score respectively corresponding to the result of the time delay test, the result of the packet loss rate test, and the charging standard, and respectively calculating the comprehensive score of each cloud network node according to the following formula:
a total score ═ a% + packet loss rate score × + b% + cost coefficient score ×;
one or more cloud network nodes with the top ranking comprehensive scores are taken as selected nodes,
where, a, b, and c are weights corresponding to the delay score, the packet loss rate score, and the cost coefficient score, respectively, and a + b + c is 100.
Optionally, the testing apparatus 200 of the cloud network node according to the present invention is distributed.
In order to make the technical solutions according to the present invention more clearly known to those skilled in the art, the following description will be further described with reference to specific embodiments.
Fig. 3 schematically shows a schematic configuration of a computer network system comprising a testing device 200 of cloud network nodes according to the present invention.
As shown in fig. 3, the computer network system includes a central server, an edge client (corresponding to the testing apparatus 200 of the cloud network node, which does not include the network quality determination module 207 and the service node selection module 209), a data transmission system, a data warehousing persistence module, and an aggregation analysis module (including the network quality determination module 207 and the service node selection module 209).
The central server is used for executing the following operations:
1. the active IP (i.e., the IP address of the online personal client or the IP addresses of the online personal client and available testers reachable by the cloud network node) scan task is assigned to the edge client.
2. And maintaining a whole network live IP list.
3. And periodically issuing and updating the network quality detection task of the live IP to the edge client.
The edge client is used for executing the following operations:
1. and receiving a live IP scanning task, scanning the appointed IP section, acquiring a live IP list, and returning the live IP list to the central server.
2. A list of live IPs of specified ranges is maintained periodically.
3. And receiving a network quality detection task of the live IP, detecting and generating detection result data.
The data transmission system is used for executing the following operations:
and receiving the detection result data generated by the edge client, and completing the forwarding of the data, such as warehousing and forwarding to a specified component (aggregation analysis component).
The data warehousing persistence module is used for executing the following operations:
and collecting the detection data of all the edge clients, storing the detection data into a database, and performing persistent storage.
The aggregation analysis component is configured to perform the following operations:
and collecting the detection data of all the edge clients, and further aggregating and analyzing the data as required.
More specifically, the maintenance operation of the whole network live IP includes the following specific relevant operations:
acquiring classified IP section information from an IP library/DNS analysis department, wherein the information content comprises information of which IP sections belong to which operators, provinces, cities and the like;
equally distributing and issuing the IP section information to each edge client according to the operator to which the edge client belongs and the geographical position information of the edge client;
after each edge client receives the IP section which is responsible for the edge client, the edge client scans the IP survival condition in the IP section and returns the scanned live IP back to the central server;
meanwhile, after the first scanning round of the edge client is finished, the scanning result is updated periodically, and the updated result is also transmitted back to the central server;
after receiving the information returned from the edge, the central server integrates a complete active IP list of the whole network.
More specifically, the operations related to the evaluation of the network quality of the node are as follows:
installing an edge client on a node to be evaluated, and connecting a central server;
the central server sends a detection task to the edge client, wherein the detection task is to perform network detection on a series of live IPs to obtain network transmission packet loss and time delay data from a node where the edge client is located to each live IP;
aggregating the detection result of each active IP by the edge client according to the province and the city to obtain network packet loss and time delay indexes from the node where the edge client is located to different provinces and different cities;
each edge client sends the data after single machine aggregation to the aggregation analysis component through the data transmission system, and the aggregation analysis component aggregates the data as required, for example, further aggregates the single machine data of a plurality of single machines belonging to the same node, and obtains the network quality index of the node to each province and city.
For example, the above operation for node network quality evaluation may be performed by:
1. the central server collects the whole network live IP list according to the requirement. The live IP refers to an IP which can receive normal response after sending an icmp packet to the IP, and the live IP can be collected as required due to huge IP amount of the whole network, for example, 5 IPs of each C section of each city are selected.
2. And after the central server collects the whole network live IP list, the central server sends a designated live IP detection task to the test machine as required to perform network detection. The central server does not need to send the tasks until all live IP in the whole network are collected, and the latest detection tasks can be refreshed to the tester in an incremental and periodic manner.
3. The tester detects the received live IP list and sends detection data to the aggregation analysis component through the data transmission system.
4. And the aggregation analysis component performs related statistical analysis on the received data to obtain a final quality evaluation result.
Fig. 4 is a schematic diagram illustrating an interaction process between a central server and an edge client in the computer network system shown in fig. 3.
As shown in fig. 4, the interaction process between the central server and the edge client includes the following steps:
① the central server collects a list of live IP addresses over the network from the IP repository (i.e., the IP address repository described above).
② after the central server collects the whole network active IP list, it sends the appointed active IP detection task to the edge client according to the need.
③ the edge client end will return the final quality evaluation result to the central server, for example, the edge client end will detect the received live IP list and send the detected data to the aggregation analysis component through the data transmission system, and the aggregation analysis component will perform relevant statistical analysis on the received data to obtain the final quality evaluation result, and then return to the edge client end (the later specific example process is not shown in fig. 4), and then return to the central server (for example, for the scheduling module in the central server to make decisions).
For example, step ① may include the following specific steps:
1. the central server obtains information of the operator, province, city, etc. to which each IP segment belongs from an IP information base (i.e., the IP address base described above) maintained by the company. For example 12.13.4.1 to 12.13.4.123 belong to telecom, Fujian, Xiamen.
2. And the central server performs tasks on all the IP sections as required and then issues the tasks to each edge client. For example, all telecom infrastructure's IP segments (first IP) are split to all telecom infrastructure's edge clients.
3. After receiving the IP sections, the edge client scans each IP section to obtain a live IP, updates the live IP periodically (the live IP is not absolute and may be inactivated, and the non-live IP may also become the live IP), and returns the update result to the central server periodically.
4. And the central server integrates the latest live IP lists returned by all the edge clients. The availability and the real-time performance of the active IP list of the whole network can be improved by uniformly distributing the active IP (second IP) scanning tasks of the IP sections to all the clients to be executed in parallel and enabling each client to concurrently scan a plurality of IP sections.
For example, step ② may include the following specific steps:
1. the central server generalizes and classifies the collected live IP of the whole network according to operators, provinces and cities.
2. And issuing active IP detection tasks to the edge client according to the requirements, for example, issuing the active IP of the main city of the telecom Fujian to the edge client.
3. The central server periodically updates and issues the latest tasks to the edge client.
For example, step ③ may include the following specific steps:
1. after the testing machine receives the live IP list, all the received live IPs are verified before detection, and the deactivated IPs are removed.
2. The testing machine carries out periodic network detection on the deactivated live IP list, and carries out aggregation statistical analysis as required. For example, the detection results are aggregated by regions, for example, the live IP detection results of the same city are aggregated to obtain the network quality data of each city tested by the testing machine.
3. The tester periodically maintains the received live IP list and eliminates the inactive IP. Meanwhile, if the latest live IP detection task issued by the central server is received, the task is updated.
4. The tester stores the periodic detection results in a warehouse through a data transmission system and sends the periodic detection results to the upper aggregation analysis component at the same time.
5. And the upper aggregation analysis component performs higher-level aggregation analysis, so that the overall network quality of the tester is obtained.
6. The aggregation analysis component performs relevant statistical analysis on the received data to obtain a final quality evaluation result, for example, each city operator performs sorting from low to high according to the node network delay, and summarizes to obtain one or more nodes (i.e., the selected nodes) serving the optimal network owners under a certain city operator.
According to the technical scheme of the invention, the method has the following advantages:
1. the result of the network quality test performed on the cloud network nodes is more accurate.
(1) The number of the test samples is sufficient, the distribution condition of vast netizens can be represented, and the test result is accurate.
(2) The test result can reflect the link quality of the service node of the operator in the region serving different operators and/or different netizens in different regions, and can also reflect the link quality of the service nodes of other operators in the region or other regions serving netizens of the operator in the region).
2. Because the network quality data of the nodes can be obtained in real time, the optimal nodes can be allocated in real time (e.g., by a scheduler) to serve netizens. Namely, the node selection scheme is more reasonable, the netizens can obtain better service quality, and the node use efficiency of the whole network (across different operators) is improved.
3. The service node is selected according to the fees charged by different operators, so that the use cost of the service node is reduced.
According to the technical scheme of the invention, the method also has the following characteristics and advantages:
1. the live IP of the sample point for detecting the collected data can be expanded to simultaneously cover IP addresses of netizens (namely, the online personal client) and IDCs (namely, available testers in an IDC machine room), so that the data volume is large, and the detection result is ensured to be more accurate.
2. The distributed structure client can be adopted to detect, maintain and update live IP data in real time, the timeliness of the quality data of the nodes is guaranteed, and the quality condition of the nodes at each moment is clearly known.
3. Different from the prior art scheme that the traditional cloud service uses nodes to cover the netizens in the operator area, the multidimensional network quality assessment (namely, the quality analysis of the dimensionalities of cross-region, cross-operator and the like) is adopted, meanwhile, the cost is added to enter the node score calculation, and when the service quality is ensured, the cost is reduced to the minimum.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A testing method of a cloud network node is characterized by comprising the following steps:
acquiring an IP address, belonging operator information and a first geographical position of the cloud network node;
acquiring an IP address of an online personal client which can be reached by the cloud network node or IP addresses of the online personal client and an available testing machine and a second geographical position;
performing a link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester;
determining a network quality of the cloud network node while serving an online personal client of the second geographic location based on a result of the link quality test.
2. The method for testing the cloud network node according to claim 1, wherein the IP address of the on-line personal client or the IP addresses of the on-line personal client and the available tester, which is reachable by the cloud network node, is obtained by:
dynamically testing link states between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester using an ICMP protocol;
and dynamically taking the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which are in a connected state with the link between the cloud network node as the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node.
3. The method for testing a cloud network node of claim 1, wherein said step of performing a link quality test between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester comprises:
performing link quality testing between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester once per minute.
4. The method for testing a cloud network node of claim 1, further comprising:
selecting one or more of the cloud network nodes as selected nodes in combination with network quality and charging criteria to provide cloud network services for online personal clients of the second geographic location,
the network quality comprises the average network delay and the average packet loss rate.
5. The method for testing cloud network nodes of claim 4, wherein said step of selecting one or more of said cloud network nodes as selected nodes in conjunction with network quality and charging criteria to provide cloud network services to online personal clients at said second geographic location is accomplished by:
based on the result of the time delay test, the result of the packet loss rate test, the charging standard, and a predefined time delay-time delay score correspondence table, packet loss rate-packet loss rate score correspondence table, and charging standard-cost coefficient score correspondence table, obtaining a time delay score, a packet loss rate score, and a cost coefficient score respectively corresponding to the result of the time delay test, the result of the packet loss rate test, and the charging standard, and respectively calculating a comprehensive score of each cloud network node according to the following formula:
a total score ═ a% + packet loss rate score × + b% + cost coefficient score ×;
scheduling one or more of the cloud network nodes with the top composite score as selected nodes,
wherein, a, b, c are weights corresponding to the delay score, the packet loss rate score, and the cost coefficient score, respectively, and a + b + c is 100.
6. A testing device for a cloud network node is characterized by comprising:
the cloud network node information acquisition module is used for acquiring the IP address, the operator information and the first geographic position of the cloud network node;
the online personal client information acquisition module is used for acquiring the IP address of the online personal client which can be reached by the cloud network node or the IP addresses of the online personal client and the available testing machine and the second geographic position;
a link quality testing module for performing link quality testing between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester;
a network quality determination module to determine a network quality of the cloud network node while serving the online personal client of the second geographic location based on a result of the link quality test.
7. The testing apparatus of the cloud network node of claim 6, wherein the online personal client information obtaining module is further configured to:
dynamically testing link states between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester using an ICMP protocol;
and dynamically taking the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which are in a connected state with the link between the cloud network node as the IP address of the online personal client or the IP addresses of the online personal client and the available testing machine which can be reached by the cloud network node.
8. The testing apparatus of the cloud network node of claim 6, wherein the link quality testing module is further configured to:
performing link quality testing between the cloud network node and the online personal client or between the cloud network node and the online personal client and the available tester once per minute.
9. The apparatus for testing a cloud network node of claim 6, further comprising:
a service node selection module for selecting one or more of the cloud network nodes as selected nodes in combination with network quality and charging criteria to provide cloud network services to the online personal client at the second geographic location,
the network quality comprises the average network delay and the average packet loss rate.
10. The testing apparatus of the cloud network node of claim 9, wherein the service node selection module is further configured to:
based on the result of the time delay test, the result of the packet loss rate test, the charging standard, and a predefined time delay-time delay score correspondence table, packet loss rate-packet loss rate score correspondence table, and charging standard-cost coefficient score correspondence table, obtaining a time delay score, a packet loss rate score, and a cost coefficient score respectively corresponding to the result of the time delay test, the result of the packet loss rate test, and the charging standard, and respectively calculating a comprehensive score of each cloud network node according to the following formula:
a total score ═ a% + packet loss rate score × + b% + cost coefficient score ×;
scheduling one or more of the cloud network nodes with the top composite score as selected nodes,
wherein, a, b, c are weights corresponding to the delay score, the packet loss rate score, and the cost coefficient score, respectively, and a + b + c is 100.
CN201810823203.9A 2018-07-25 2018-07-25 Method and device for testing cloud network nodes Pending CN110768852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810823203.9A CN110768852A (en) 2018-07-25 2018-07-25 Method and device for testing cloud network nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810823203.9A CN110768852A (en) 2018-07-25 2018-07-25 Method and device for testing cloud network nodes

Publications (1)

Publication Number Publication Date
CN110768852A true CN110768852A (en) 2020-02-07

Family

ID=69326811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810823203.9A Pending CN110768852A (en) 2018-07-25 2018-07-25 Method and device for testing cloud network nodes

Country Status (1)

Country Link
CN (1) CN110768852A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468366A (en) * 2020-11-25 2021-03-09 北京首都在线科技股份有限公司 Network quality testing method, scheduling server, testing terminal and storage medium
CN112996080A (en) * 2021-01-26 2021-06-18 杭州网银互联科技股份有限公司 POP point selection access method in SD-WAN network
CN113660108A (en) * 2021-06-30 2021-11-16 山东信通电子股份有限公司 Network quality diagnosis method and device
CN114650295A (en) * 2022-03-29 2022-06-21 北京有竹居网络技术有限公司 Quality scheduling method, quality scheduling device, quality scheduling medium and electronic equipment
CN115473871A (en) * 2022-09-19 2022-12-13 广州市百果园网络科技有限公司 Domain name local resolution method and device, equipment, medium and product thereof

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN101984624A (en) * 2010-11-03 2011-03-09 蓝汛网络科技(北京)有限公司 Method and device for distributing network flow
CN102148752A (en) * 2010-12-22 2011-08-10 华为技术有限公司 Routing implementing method based on content distribution network and related equipment and system
CN102347864A (en) * 2011-11-02 2012-02-08 网宿科技股份有限公司 System and method for monitoring service quality of content distribution networks
CN104092791A (en) * 2014-07-11 2014-10-08 中国科学院声学研究所 Internet content resource scheduling method and system taking quality and cost into consideration
CN104168341A (en) * 2014-08-15 2014-11-26 北京百度网讯科技有限公司 IP address locating method and CDN dispatching method and device
CN104320335A (en) * 2014-11-20 2015-01-28 北京美琦华悦通讯科技有限公司 System and method for achieving optimal outlet route selection based on service quality dial testing
CN104734869A (en) * 2013-12-19 2015-06-24 华耀(中国)科技有限公司 Intelligent DNS domain name system and method based on dynamic detection
CN104767629A (en) * 2014-01-06 2015-07-08 腾讯科技(深圳)有限公司 Method of distributing service nodes, device and system
CN106992938A (en) * 2017-05-15 2017-07-28 网宿科技股份有限公司 A kind of network traffics dynamic dispatching distribution method and system
CN107071089A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 Dispatch control method, device and system
CN107645525A (en) * 2016-07-21 2018-01-30 阿里巴巴集团控股有限公司 Detection processing, dispatching method and related device, the node of content distributing network
CN107707604A (en) * 2017-06-30 2018-02-16 贵州白山云科技有限公司 A kind of service scheduling method and system
CN107707378A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of CDN covering scheme generation methods and device
CN107948677A (en) * 2016-10-13 2018-04-20 中国移动通信有限公司研究院 A kind of dispatching method, server and the first peer node

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN101984624A (en) * 2010-11-03 2011-03-09 蓝汛网络科技(北京)有限公司 Method and device for distributing network flow
CN102148752A (en) * 2010-12-22 2011-08-10 华为技术有限公司 Routing implementing method based on content distribution network and related equipment and system
CN102347864A (en) * 2011-11-02 2012-02-08 网宿科技股份有限公司 System and method for monitoring service quality of content distribution networks
CN104734869A (en) * 2013-12-19 2015-06-24 华耀(中国)科技有限公司 Intelligent DNS domain name system and method based on dynamic detection
CN104767629A (en) * 2014-01-06 2015-07-08 腾讯科技(深圳)有限公司 Method of distributing service nodes, device and system
CN104092791A (en) * 2014-07-11 2014-10-08 中国科学院声学研究所 Internet content resource scheduling method and system taking quality and cost into consideration
CN104168341A (en) * 2014-08-15 2014-11-26 北京百度网讯科技有限公司 IP address locating method and CDN dispatching method and device
CN104320335A (en) * 2014-11-20 2015-01-28 北京美琦华悦通讯科技有限公司 System and method for achieving optimal outlet route selection based on service quality dial testing
CN107645525A (en) * 2016-07-21 2018-01-30 阿里巴巴集团控股有限公司 Detection processing, dispatching method and related device, the node of content distributing network
CN107948677A (en) * 2016-10-13 2018-04-20 中国移动通信有限公司研究院 A kind of dispatching method, server and the first peer node
CN106992938A (en) * 2017-05-15 2017-07-28 网宿科技股份有限公司 A kind of network traffics dynamic dispatching distribution method and system
CN107071089A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 Dispatch control method, device and system
CN107707378A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of CDN covering scheme generation methods and device
CN107707604A (en) * 2017-06-30 2018-02-16 贵州白山云科技有限公司 A kind of service scheduling method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468366A (en) * 2020-11-25 2021-03-09 北京首都在线科技股份有限公司 Network quality testing method, scheduling server, testing terminal and storage medium
CN112996080A (en) * 2021-01-26 2021-06-18 杭州网银互联科技股份有限公司 POP point selection access method in SD-WAN network
CN113660108A (en) * 2021-06-30 2021-11-16 山东信通电子股份有限公司 Network quality diagnosis method and device
CN113660108B (en) * 2021-06-30 2024-03-01 山东信通电子股份有限公司 Network quality diagnosis method and device
CN114650295A (en) * 2022-03-29 2022-06-21 北京有竹居网络技术有限公司 Quality scheduling method, quality scheduling device, quality scheduling medium and electronic equipment
CN114650295B (en) * 2022-03-29 2023-12-05 北京有竹居网络技术有限公司 CDN quality scheduling method and device, medium and electronic equipment
CN115473871A (en) * 2022-09-19 2022-12-13 广州市百果园网络科技有限公司 Domain name local resolution method and device, equipment, medium and product thereof
CN115473871B (en) * 2022-09-19 2023-08-04 广州市百果园网络科技有限公司 Domain name local resolution method and device, equipment, medium and product thereof

Similar Documents

Publication Publication Date Title
CN110768852A (en) Method and device for testing cloud network nodes
CN106533762B (en) Equipment switching method and equipment switching device
JP3510658B2 (en) Network analysis method
CN109996284A (en) Mobile communication Trouble call worksheet method, apparatus, equipment and medium
US20110032833A1 (en) Optimization of traffic routing for data center services
CN113315682A (en) Method, system and apparatus for generating information transmission performance warning
CN104683182B (en) IDC network of computer room service quality detection method and device
CN103763149B (en) Real-time statistical method for network user number
CN105050133B (en) Detect the method and device of the network speed under Wi-Fi Hotspot
CN110740065B (en) Method, device and system for identifying degradation fault point
CN106507419A (en) The method and device of connection Wi-Fi hotspot
CN108809769A (en) A kind of method and electronic equipment of detection IPv6 liveness
CN109818821B (en) Detection method and device for CDN (content delivery network) architecture of website
CN108777866A (en) A kind of network analysis method, server and network system
CN103685609A (en) Method and device for collecting routing configuration information in domain name resolution
CN108347465A (en) A kind of method and device of selection network data center
CN114866453A (en) Message forwarding method and system based on G-SRv6 protocol
CN116264575A (en) Edge node scheduling method, device, computing equipment and storage medium
CN110784371B (en) Gateway network quality testing method and system based on OSGI technology
CN111371826B (en) CDN node performance detection method, device and system
CN111935769B (en) Poor cell identification method, device and equipment
CN111385162B (en) Network detection method and device, computer equipment and storage medium
CN110266741B (en) Method and device for automatically scheduling client service in content distribution network
CN112134751B (en) Overseas ISP network quality monitoring method and system
CN109088877A (en) A kind of sort algorithm of tracing to the source under the environment suitable for Attack monitoring

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: 20200207