CN111800306A - Network measurement method and device - Google Patents

Network measurement method and device Download PDF

Info

Publication number
CN111800306A
CN111800306A CN202010400686.9A CN202010400686A CN111800306A CN 111800306 A CN111800306 A CN 111800306A CN 202010400686 A CN202010400686 A CN 202010400686A CN 111800306 A CN111800306 A CN 111800306A
Authority
CN
China
Prior art keywords
measurement
network
measured
network node
address
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
CN202010400686.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.)
Beijing University of Chemical Technology
CERNET Corp
Original Assignee
Beijing University of Chemical Technology
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 Beijing University of Chemical Technology filed Critical Beijing University of Chemical Technology
Priority to CN202010400686.9A priority Critical patent/CN111800306A/en
Publication of CN111800306A publication Critical patent/CN111800306A/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/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • 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/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • 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/0852Delays
    • H04L43/0864Round trip delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention discloses a network measurement method and a device, wherein the method is realized based on node. Measuring a domain name of a network node to be measured by using a Domain Name System (DNS), and determining whether an Internet Protocol (IP) address of the network node to be measured is acquired; when the IP address of the network node to be measured is obtained, network measurement is carried out according to a preset measurement index, and measurement data obtained by measurement are recorded; and carrying out data analysis on the measurement data, determining the network performance of the network node to be tested and carrying out visual display. The embodiment of the invention can solve the problems of low network measurement efficiency and high implementation cost in the prior art.

Description

Network measurement method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a network measurement method and apparatus.
Background
Network measurement refers to the summation of a series of activities that characterize network performance indicators using software and hardware tools, in accordance with certain methods and techniques. In general, active network measurement can be completed by using a system command, for example, a ping command, a traceroute command, and the like can acquire information such as reachability, time delay, packet loss rate, and the like of a node to be measured.
However, for large-scale network measurement, multi-site and multi-index measurement is often involved, and the measurement efficiency by using a system command is greatly influenced; meanwhile, most of the existing network measurement modes are synchronous measurement, namely a transmission-waiting-retransmission mode, and because the network measurement belongs to input/output (I/O) intensive operation, the synchronous measurement mode greatly wastes CPU resources and needs a higher hardware threshold.
Disclosure of Invention
The embodiment of the invention provides a network measurement method, which is used for solving the problems of low network measurement efficiency and high implementation cost in the prior art.
In one aspect, an embodiment of the present invention provides a network measurement method, where the method is implemented based on a node.
Measuring a domain name of a network node to be measured by using a Domain Name System (DNS), and determining whether an Internet Protocol (IP) address of the network node to be measured is acquired;
when the IP address of the network node to be measured is obtained, network measurement is carried out according to a preset measurement index, and measurement data obtained through measurement are recorded;
and carrying out data analysis on the measurement data, determining the network performance of the network node to be measured and carrying out visual display.
When the IP address of the network node to be measured is obtained, network measurement is performed according to a preset measurement index, and measurement data obtained by measurement is recorded, including:
when the IP address of the network node to be measured is the IPv4 address of the fourth version of the Internet protocol, carrying out IPv4 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; the IPv4 network measurement comprises one or more of Internet control message protocol fourth version ICMPv4 measurement, hypertext transfer protocol HTTP measurement and HTTPS measurement; the measurement data includes one or more of round trip delay RTT, ICMPv4 packet loss rate, and HTTP delay.
When the IP address of the network node to be measured is obtained, network measurement is performed according to a preset measurement index, and measurement data obtained by measurement is recorded, including:
when the IP address of the network node to be measured is the IPv6 address of the sixth version of the Internet protocol, carrying out IPv6 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; wherein the IPv6 network measurement comprises one or more of an Internet control message protocol (ICMPv) 6 measurement, an HTTP measurement and an HTTPS measurement; the measurement data includes one or more of RTT, ICMPv6 packet loss rate, and HTTP latency.
Optionally, the method further comprises:
and when the IP address of the network node to be measured is not acquired, ending the network measurement of the network node to be measured and recording the measurement result.
In another aspect, an embodiment of the present invention further provides a network measurement apparatus, where the apparatus is applied to a node. The domain name system service DNS comprises a domain name system service DNS measuring module, a network measuring module, a data analyzing module and a visualization module; wherein the content of the first and second substances,
the DNS measurement module is used for determining whether the internet protocol IP address of the network node to be detected is acquired or not by using the domain name of the network node to be detected of the DNS;
the network measurement module is used for carrying out network measurement according to a preset measurement index and recording measurement data obtained by measurement when the IP address of the network node to be measured is obtained;
the data analysis module is used for carrying out data analysis on the measured data and determining the network performance of the network node to be measured;
and the visualization module is used for visually displaying the network performance obtained by measurement.
When the IP address of the network node to be measured is obtained, the network measurement module performs network measurement according to a preset measurement index, and records measurement data obtained by measurement, and is specifically configured to:
when the IP address of the network node to be measured is the IPv4 address of the fourth version of the Internet protocol, carrying out IPv4 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; the IPv4 network measurement comprises one or more of Internet control message protocol fourth version ICMPv4 measurement, hypertext transfer protocol HTTP measurement and HTTPS measurement; the measurement data includes one or more of round trip delay RTT, ICMPv4 packet loss rate, and HTTP delay.
When the IP address of the network node to be measured is obtained, the network measurement module performs network measurement according to a preset measurement index, and records measurement data obtained by measurement, and is specifically configured to:
when the IP address of the network node to be measured is the IPv6 address of the sixth version of the Internet protocol, carrying out IPv6 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; wherein the IPv6 network measurement comprises one or more of an Internet control message protocol (ICMPv) 6 measurement, an HTTP measurement and an HTTPS measurement; the measurement data includes one or more of RTT, ICMPv6 packet loss rate, and HTTP latency.
Optionally, the network measurement module is further configured to, when the IP address of the network node to be measured is not obtained, end the network measurement of the network node to be measured and record a measurement result.
On the other hand, the embodiment of the invention also provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps as described above when executing a program stored on the memory.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method steps as described above.
The invention has the following beneficial effects:
the network measurement method and the device provided by the embodiment of the invention are realized based on a node.js platform environment, a domain name system DNS is used for measuring the domain name of a network node to be measured, and whether the IP address of the network node to be measured is acquired is determined; when the IP address of the network node to be measured is obtained, network measurement is carried out according to a preset measurement index, and measurement data obtained by measurement are recorded; and carrying out data analysis on the measurement data, determining the network performance of the network node to be tested and carrying out visual display. The embodiment of the invention simulates the working process of measurement modes such as DNS, ICMP, HTTP and the like by using node.js and Socket, so that large-scale multi-index measurement becomes possible, and simultaneously solves the performance problem under large-scale network detection by using the asynchronous non-blocking I/O characteristic of node.js and an event-driven model. And because node.js is a high-performance cross-platform JS operating environment, the embodiment of the invention can be directly operated on equipment with lower performance, thereby reducing the hardware threshold of large-scale network measurement. Only the nodes capable of acquiring the IPv6/IPv4 addresses carry out network measurement, invalid detection of nodes inaccessible to the DNS is avoided, and the measurement efficiency is further improved. The determined network performance is displayed through a visualization module through a data analysis module, namely, data visualization is performed on the network measurement result intuitively, the measurement result is convenient to check, the measurement data is better utilized to perform overall network performance evaluation, and the accuracy and the practicability are higher.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a flow chart of a network measurement method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a network measurement apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the scheme of the embodiment of the present invention, the following provides a detailed description of the embodiment of the present invention with reference to the accompanying drawings and the implementation manner.
Aiming at the problems of low network measurement efficiency and high implementation cost in the prior art, the network measurement method provided by the embodiment of the invention is implemented based on the node.js platform environment by utilizing the asynchronous non-blocking I/O characteristic of the node.js, and solves the performance problem under large-scale network detection. The flow of the method of the invention is shown in figure 1, and the execution steps are as follows:
step 101, measuring a Domain Name of a network node to be measured by using a Domain Name System (DNS), and determining whether an Internet Protocol (IP) address of the network node to be measured is obtained;
in the embodiment of the present invention, a network node to be measured is extracted from an information base to be measured for measurement, where the extraction mode may be random extraction or extraction according to a preset numbering sequence, and the embodiment of the present invention does not limit this; the information base to be tested stores a plurality of network nodes, measurement data, analysis results and the like. After the IP address of the network node to be measured is obtained, it is indicated that the network node to be measured has network reachability, and network measurement can be further performed.
102, when the IP address of the network node to be measured is obtained, performing network measurement according to a preset measurement index, and recording measurement data obtained by measurement;
here, the IP address includes an IPv4 address and an IPv6 address. The preset measurement metrics may include, but are not limited to, ICMP, HTTP, HTTPs measurements, and the like.
And 103, carrying out data analysis on the measurement data, determining the network performance of the network node to be tested and carrying out visual display.
Here, specific data analysis on the measurement data may include, but is not limited to, analysis of variance, performance analysis, IPv6 and IPv4 contrastive analysis, and the like; visualization presentations may include, but are not limited to, chart presentations, Geographic Information System (GIS) visualizations, southbound rose diagrams, and so forth. The embodiment of the present invention does not limit this.
When the IP address of the network node to be measured is obtained, network measurement is performed according to a preset measurement index, and measurement data obtained by measurement is recorded, including:
when the IP address of the network node to be measured is the IPv4 address of the fourth version of the Internet protocol, carrying out IPv4 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; the IPv4 network measurement comprises one or more of Internet Control Message Protocol (Internet Control Message Protocol) fourth version v4 (ICMPv 4) measurement, hypertext Transfer Protocol (HTTP) measurement and HTTPS measurement; the measurement data includes one or more of Round-Trip Time (RTT), ICMPv4 packet loss rate, and HTTP delay.
When the IP address of the network node to be measured is obtained, network measurement is performed according to a preset measurement index, and measurement data obtained by measurement is recorded, including:
when the IP address of the network node to be measured is the IPv6 address of the sixth version of the Internet protocol, carrying out IPv6 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; wherein the IPv6 network measurements include one or more of ICMPv6 measurements, HTTP measurements, and HTTPS measurements; the measurement data includes one or more of RTT, ICMPv6 packet loss rate, and HTTP latency.
Optionally, the method further comprises:
and when the IP address of the network node to be measured is not acquired, ending the network measurement of the network node to be measured and recording the measurement result.
In the embodiment of the invention, Socket programming is used to realize large-scale network measurement based on a node. The invention also encapsulates a data analysis and data visualization module, and creatively solves the problem of higher reading threshold of data results obtained by the traditional measurement mode. The invention realizes a whole set of platform from data crawler, network measurement, data analysis to data visualization.
Based on the same inventive concept, an embodiment of the present invention provides a network measurement apparatus, where the apparatus is applied to a node. A domain name system service DNS measurement module 21, a network measurement module 22, a data analysis module 23 and a visualization module 24; wherein the content of the first and second substances,
the DNS measuring module 21 is configured to measure a domain name of a network node to be measured by using a DNS, and determine whether to acquire an internet protocol IP address of the network node to be measured;
the network measurement module 22 is configured to, when the IP address of the network node to be measured is obtained, perform network measurement according to a preset measurement index, and record measurement data obtained by the measurement;
the data analysis module 23 is configured to perform data analysis on the measurement data to determine the network performance of the network node to be measured;
and the visualization module 24 is configured to perform visual display on the measured network performance.
When the IP address of the network node to be measured is obtained, the network measurement module 22 performs network measurement according to a preset measurement index, and records measurement data obtained by measurement, and is specifically configured to:
when the IP address of the network node to be measured is the IPv4 address of the fourth version of the Internet protocol, carrying out IPv4 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; the IPv4 network measurement comprises one or more of Internet control message protocol fourth version ICMPv4 measurement, hypertext transfer protocol HTTP measurement and HTTPS measurement; the measurement data includes one or more of round trip delay RTT, ICMPv4 packet loss rate, and HTTP delay.
When the IP address of the network node to be measured is obtained, the network measurement module 22 performs network measurement according to a preset measurement index, and records measurement data obtained by measurement, and is specifically configured to:
when the IP address of the network node to be measured is the IPv6 address of the sixth version of the Internet protocol, carrying out IPv6 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; wherein the IPv6 network measurement comprises one or more of an Internet control message protocol (ICMPv) 6 measurement, an HTTP measurement and an HTTPS measurement; the measurement data includes one or more of RTT, ICMPv6 packet loss rate, and HTTP latency.
Optionally, the network measurement module 22 is further configured to, when the IP address of the network node to be measured is not obtained, end the network measurement of the network node to be measured and record a measurement result.
It should be understood that the implementation principle and process of the network measurement apparatus provided in the embodiment of the present invention are similar to those of the above-described embodiment shown in fig. 1, and are not described herein again.
The network measurement method and the device provided by the embodiment of the invention are realized based on a node.js platform environment, a domain name system DNS is used for measuring the domain name of a network node to be measured, and whether the IP address of the network node to be measured is acquired is determined; when the IP address of the network node to be measured is obtained, network measurement is carried out according to a preset measurement index, and measurement data obtained by measurement are recorded; and carrying out data analysis on the measurement data, determining the network performance of the network node to be measured and carrying out visual display. The embodiment of the invention simulates the working process of measurement modes such as DNS, ICMP, HTTP and the like by using node.js and Socket, so that large-scale multi-index measurement becomes possible, and simultaneously solves the performance problem under large-scale network detection by using the asynchronous non-blocking I/O characteristic of node.js and an event-driven model. And because node.js is a high-performance cross-platform JS operating environment, the embodiment of the invention can be directly operated on equipment with lower performance, thereby reducing the hardware threshold of large-scale network measurement. Only the nodes capable of acquiring the IPv6/IPv4 addresses carry out network measurement, invalid detection of nodes inaccessible to the DNS is avoided, and the measurement efficiency is further improved. The determined network performance is displayed through a visualization module through a data analysis module, namely, data visualization is performed on the network measurement result intuitively, the measurement result is convenient to check, the measurement data is better utilized to perform overall network performance evaluation, and the accuracy and the practicability are higher.
An electronic device is further provided in the embodiment of the present application, please refer to fig. 3, which includes a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete communication with each other through the communication bus 540.
A memory 530 for storing a computer program;
the processor 510 is configured to implement the VXLAN-based BFD processing method according to any of the embodiments described above when executing the program stored in the memory 530.
The communication interface 520 is used for communication between the electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The electronic equipment provided by the embodiment of the invention is realized based on a node.js platform environment, and determines whether to acquire the IP address of a network node to be detected or not by measuring the domain name of the network node to be detected; when the IP address of the network node to be measured is obtained, network measurement is carried out according to preset measurement indexes, and measurement data obtained through measurement are recorded; and carrying out data analysis on the measurement data, determining the network performance of the network node to be tested and carrying out visual display. The embodiment of the invention simulates the working process of measurement modes such as DNS, ICMP, HTTP and the like by using node.js and Socket, so that large-scale multi-index measurement becomes possible, and simultaneously solves the performance problem under large-scale network detection by using the asynchronous non-blocking I/O characteristic of node.js and an event-driven model. And because node.js is a high-performance cross-platform JS operation environment, the embodiment of the invention can be directly operated on equipment with lower performance, thereby reducing the hardware threshold of large-scale network measurement. Only the nodes capable of acquiring the IPv6/IPv4 addresses carry out network measurement, invalid detection of nodes inaccessible to the DNS is avoided, and the measurement efficiency is further improved. The determined network performance is displayed through a visualization module through a data analysis module, namely, data visualization is performed on the network measurement result intuitively, the measurement result is convenient to check, the measurement data is better utilized to perform overall network performance evaluation, and the accuracy and the practicability are higher.
Accordingly, an embodiment of the present application further provides a computer readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute any of the VXLAN-based BFD processing methods described in the above embodiments.
The computer-readable storage medium provided by the embodiment of the invention is realized based on a node.js platform environment, and a DNS module is used for measuring the domain name of a network node to be detected and determining whether the IP address of the network node to be detected is acquired; when the IP address of the network node to be measured is obtained, network measurement is carried out according to a preset measurement index, and measurement data obtained by measurement are recorded; and carrying out data analysis on the measurement data, determining the network performance of the network node to be tested and carrying out visual display. The embodiment of the invention simulates the working process of measurement modes such as DNS, ICMP, HTTP and the like by using node.js and Socket, so that large-scale multi-index measurement is possible, and simultaneously solves the performance problem under large-scale network detection by using the asynchronous non-blocking I/O characteristic of node.js and an event-driven model. And because node.js is a high-performance cross-platform JS operating environment, the embodiment of the invention can be directly operated on equipment with lower performance, thereby reducing the hardware threshold of large-scale network measurement. Only the nodes capable of acquiring the IPv6/IPv4 addresses carry out network measurement, invalid detection of nodes inaccessible to the DNS is avoided, and the measurement efficiency is further improved. The determined network performance is displayed through a visualization module through a data analysis module, namely, data visualization is performed on the network measurement result intuitively, the measurement result is convenient to check, the measurement data is better utilized to perform overall network performance evaluation, and the accuracy and the practicability are higher.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present description are described in a progressive manner, and similar parts between the embodiments are referred to each other, and each embodiment focuses on different points from other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement the method without inventive effort.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented in the present document or in parallel, and the sequence numbers of the operations, such as 201, 202, 203, etc., are merely used for distinguishing different operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. "at least one" means one or more, "a plurality" means two or more, "and/or" for describing an association relationship of associated objects, meaning that three relationships may exist, for example, "a and/or b" may mean: only A, only B and both A and B exist, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, B, C, "A and B", "A and C", "B and C", wherein A, B and C may be single or multiple.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention are within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A network measurement method, wherein the method is implemented based on a node.
Measuring a domain name of a network node to be measured by using a Domain Name System (DNS), and determining whether an Internet Protocol (IP) address of the network node to be measured is acquired;
when the IP address of the network node to be measured is obtained, network measurement is carried out according to a preset measurement index, and measurement data obtained by measurement are recorded;
and carrying out data analysis on the measurement data, determining the network performance of the network node to be tested and carrying out visual display.
2. The method according to claim 1, wherein when the IP address of the network node to be measured is obtained, performing network measurement according to a preset measurement index, and recording measurement data obtained by the measurement, comprises:
when the IP address of the network node to be measured is the IPv4 address of the fourth version of the Internet protocol, carrying out IPv4 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; the IPv4 network measurement comprises one or more of Internet control message protocol fourth version ICMPv4 measurement, hypertext transfer protocol HTTP measurement and HTTPS measurement; the measurement data includes one or more of round trip delay RTT, ICMPv4 packet loss rate, and HTTP delay.
3. The method according to claim 1, wherein when the IP address of the network node to be measured is obtained, performing network measurement according to a preset measurement index, and recording measurement data obtained by the measurement, comprises:
when the IP address of the network node to be measured is the IPv6 address of the sixth version of the Internet protocol, carrying out IPv6 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; wherein the IPv6 network measurement comprises one or more of an Internet control message protocol (ICMPv) 6 measurement, an HTTP measurement and an HTTPS measurement; the measurement data includes one or more of RTT, ICMPv6 packet loss rate, and HTTP latency.
4. The method of claim 1, further comprising:
and when the IP address of the network node to be measured is not acquired, ending the network measurement of the network node to be measured and recording the measurement result.
5. A network measurement apparatus, wherein the apparatus is applied to a node. The domain name system service DNS comprises a domain name system service DNS measuring module, a network measuring module, a data analyzing module and a visualization module; wherein the content of the first and second substances,
the DNS measurement module is used for measuring the domain name of the network node to be measured by using the DNS and determining whether the internet protocol IP address of the network node to be measured is acquired;
the network measurement module is used for carrying out network measurement according to a preset measurement index and recording measurement data obtained by measurement when the IP address of the network node to be measured is obtained;
the data analysis module is used for carrying out data analysis on the measured data and determining the network performance of the network node to be measured;
and the visualization module is used for visually displaying the network performance obtained by measurement.
6. The apparatus according to claim 5, wherein the network measurement module, when acquiring the IP address of the network node to be measured, performs network measurement according to a preset measurement index, and records measurement data obtained by the measurement, and is specifically configured to:
when the IP address of the network node to be measured is the IPv4 address of the fourth version of the Internet protocol, carrying out IPv4 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; the IPv4 network measurement comprises one or more of Internet control message protocol fourth version ICMPv4 measurement, hypertext transfer protocol HTTP measurement and HTTPS measurement; the measurement data includes one or more of round trip delay RTT, ICMPv4 packet loss rate, and HTTP delay.
7. The apparatus according to claim 5, wherein the network measurement module, when acquiring the IP address of the network node to be measured, performs network measurement according to a preset measurement index, and records measurement data obtained by the measurement, and is specifically configured to:
when the IP address of the network node to be measured is the IPv6 address of the sixth version of the Internet protocol, carrying out IPv6 network measurement on the network node to be measured, and recording measurement data obtained by the measurement; wherein the IPv6 network measurement comprises one or more of an Internet control message protocol (ICMPv) 6 measurement, an HTTP measurement and an HTTPS measurement; the measurement data includes one or more of RTT, ICMPv6 packet loss rate, and HTTP latency.
8. The method according to claim 5, wherein the network measurement module is further configured to end the network measurement of the network node to be measured and record a measurement result when the IP address of the network node to be measured is not acquired.
9. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-4 when executing a program stored on a memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
CN202010400686.9A 2020-05-13 2020-05-13 Network measurement method and device Pending CN111800306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010400686.9A CN111800306A (en) 2020-05-13 2020-05-13 Network measurement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010400686.9A CN111800306A (en) 2020-05-13 2020-05-13 Network measurement method and device

Publications (1)

Publication Number Publication Date
CN111800306A true CN111800306A (en) 2020-10-20

Family

ID=72806695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010400686.9A Pending CN111800306A (en) 2020-05-13 2020-05-13 Network measurement method and device

Country Status (1)

Country Link
CN (1) CN111800306A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746953A (en) * 2021-09-18 2021-12-03 恒安嘉新(北京)科技股份公司 Domain name server DNS processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144123A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for having access to internet and routing type gateway device
CN106302845A (en) * 2015-05-29 2017-01-04 西安中兴新软件有限责任公司 The Domain Name System addresses collocation method of data channel product and device
CN107708130A (en) * 2017-10-31 2018-02-16 下代互联网重大应用技术(北京)工程研究中心有限公司 Wireless network test evaluation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144123A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for having access to internet and routing type gateway device
CN106302845A (en) * 2015-05-29 2017-01-04 西安中兴新软件有限责任公司 The Domain Name System addresses collocation method of data channel product and device
CN107708130A (en) * 2017-10-31 2018-02-16 下代互联网重大应用技术(北京)工程研究中心有限公司 Wireless network test evaluation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘天一 赵英: "全国高校官网的IPV6部署状态探测系统的实现", 《计算机科学》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746953A (en) * 2021-09-18 2021-12-03 恒安嘉新(北京)科技股份公司 Domain name server DNS processing method, device, equipment and storage medium
CN113746953B (en) * 2021-09-18 2024-03-22 恒安嘉新(北京)科技股份公司 Domain Name Server (DNS) processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11121947B2 (en) Monitoring and analysis of interactions between network endpoints
US9591510B2 (en) Systems and methods to create message traffic
CN109327486A (en) Data are uploaded to the method for cloud platform, system and gateway and machine readable media
CN110704714A (en) Method and device for quickly indexing data of pcap file
RO131598A2 (en) Methods, systems and computer-readable support for microburst testing
WO2017172669A2 (en) Tagged tracing, logging and performance measurements
US20170024305A1 (en) Client application profiling
CN111800306A (en) Network measurement method and device
CN104639351A (en) Processing system and method for constructing network structure deployment diagram
CN103532931A (en) Method and system for testing transmission performance of data stream, and server
CN113079070B (en) Method and device for monitoring response performance of domain name system
CN112306818B (en) Streaming operation processing method and device
WO2015176516A1 (en) Method and apparatus for tracking service process
CN106161339A (en) Obtain the method and device of IP access relation
Zhou et al. Hats: high accuracy timestamping system based on netfpga
Catal et al. Visualization of traffic flows in a simulated network environment to investigate abnormal network behavior in complex network infrastructures
JP4597209B2 (en) Communication analyzer
Nunes et al. A study case of restful frameworks in raspberry pi: A performance and energy overview
CN104486415A (en) Determining method and device for working state of monitoring object
CN110830274A (en) Communication equipment simulation method and device
CN112988560A (en) Method and device for testing system robustness
CN111343232A (en) Equipment tracking method and device and electronic equipment
Tretyakov et al. TRACER (TRACe route ExploRer): A tool to explore OSG/WLCG network route topologies
JP3362003B2 (en) Delay / throughput evaluation method and network management device
CN111858357B (en) Performance test monitoring method and equipment and related equipment thereof

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
TA01 Transfer of patent application right

Effective date of registration: 20210428

Address after: 100029 Beijing, North Third Ring Road, No. 15 East Road, Chaoyang District

Applicant after: BEIJING University OF CHEMICAL TECHNOLOGY

Applicant after: CERNET Co.,Ltd.

Address before: 100029 Beijing, North Third Ring Road, No. 15 East Road, Chaoyang District

Applicant before: BEIJING University OF CHEMICAL TECHNOLOGY

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20201020

RJ01 Rejection of invention patent application after publication