CN110545218A - TCP performance monitoring method and device - Google Patents

TCP performance monitoring method and device Download PDF

Info

Publication number
CN110545218A
CN110545218A CN201910836452.6A CN201910836452A CN110545218A CN 110545218 A CN110545218 A CN 110545218A CN 201910836452 A CN201910836452 A CN 201910836452A CN 110545218 A CN110545218 A CN 110545218A
Authority
CN
China
Prior art keywords
tcp
transmission parameters
data
different transmission
comparison result
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
CN201910836452.6A
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 Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201910836452.6A priority Critical patent/CN110545218A/en
Publication of CN110545218A publication Critical patent/CN110545218A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a TCP performance monitoring method and a device, wherein the method comprises the following steps: acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters, performing differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters, and outputting the TCP performance comparison result. The embodiment of the invention can provide effective data for TCP transmission performance verification, and can analyze the TCP transmission performance more quickly, thereby improving the verification efficiency of the TCP transmission performance.

Description

TCP performance monitoring method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for monitoring TCP performance.
background
TCP (Transmission Control Protocol) is the most widely used Protocol in an IP (Internet Protocol Address) network. Network scenes such as space-based networks, low-orbit satellite networks, medium-orbit satellite networks, high-orbit satellite networks, ground networks and the like have the characteristics of long delay, dynamic topology, high error code and the like, and the characteristics bring great challenges to TCP transmission performance. In order to ensure the reliability of TCP transmission, TCP transmission processes with different transmission parameters need to be simulated respectively, and based on a simulation result, transmission parameters which enable the TCP transmission performance to be optimal are obtained through verification.
At present, the verification process of TCP transmission mainly includes: the method comprises the steps of setting TCP transmission parameters, respectively simulating the TCP transmission process with different transmission parameters by utilizing simulation software platforms such as OPNET (Network simulation technology software package), NS2(Network Simulator version 2) and the like, manually recording the simulation result of each time, and finding out the transmission parameters which enable the TCP transmission performance to be optimal from the analysis of the simulation result of each time by technicians.
However, in an actual scenario, each simulation will output the simulation result to the technician, and the technician verifies the transmission performance of the TCP transmission process with different transmission parameters based on the simulation result, and needs to know the quality of the simulation result.
disclosure of Invention
The embodiment of the invention aims to provide a method and a device for monitoring TCP performance so as to improve the verification efficiency of TCP transmission performance.
in order to achieve the above object, the present invention discloses a method for monitoring TCP performance, which comprises:
acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters;
Carrying out differentiation analysis on simulation data of TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters;
And outputting the TCP performance comparison result.
in an embodiment of the present invention, after obtaining simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, the method further includes:
classifying the acquired simulation data to obtain real-time data flow and statistical data;
And respectively displaying the real-time data stream and the statistical data.
In one embodiment of the present invention, the displaying of the real-time data stream and the statistical data respectively comprises:
the real-time data stream is displayed by a graph, and the statistical data is displayed by a histogram or a pie chart.
in one embodiment of the present invention, outputting the TCP performance comparison result includes:
and outputting and displaying the TCP performance comparison result.
in an embodiment of the present invention, after obtaining simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, the method further includes:
Storing the acquired simulation data in a database;
Carrying out differentiation analysis on simulation data of TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters, wherein the method comprises the following steps:
and extracting the simulation data of the TCP transmission processes with different transmission parameters from the database, and performing differential analysis on the extracted simulation data by using a preset analysis mode to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
In order to achieve the above object, an embodiment of the present invention further discloses a TCP performance monitoring apparatus, which includes:
The access module is used for acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters;
The storage and differentiation analysis module is used for carrying out differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters;
and the pushing module is used for outputting the TCP performance comparison result.
In an embodiment of the present invention, the access module is further configured to classify the acquired simulation data to obtain a real-time data stream and statistical data;
The device also includes:
And the visualization module is used for respectively displaying the real-time data stream and the statistical data.
in an embodiment of the present invention, the visualization module is specifically configured to display the real-time data stream by using a graph, and display the statistical data by using a histogram or a pie chart.
in an embodiment of the present invention, the pushing module is specifically configured to:
And outputting the TCP performance comparison result to a visualization module for displaying.
In an embodiment of the present invention, the storage and differentiation analysis module is further configured to store the acquired simulation data in a database;
The storage and differentiation analysis module is used for carrying out differentiation analysis on simulation data of TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters, and is specifically used for:
and extracting the simulation data of the TCP transmission processes with different transmission parameters from the database, and performing differential analysis on the extracted simulation data by using a preset analysis mode to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
In order to achieve the above object, an embodiment of the present invention further discloses an electronic device, which includes a processor, a memory, a display, a communication interface, and a communication bus,
A memory for storing a computer program;
a processor, configured to implement the method provided in the first aspect of the embodiments of the present invention when executing the computer program stored in the memory.
In order to achieve the above object, an embodiment of the present invention further discloses a computer-readable storage medium, in which instructions are stored, and when the instructions are executed on a computer, the method provided in the first aspect of the embodiment of the present invention is performed.
the method and the device for monitoring the TCP performance provided by the embodiment of the invention are used for acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters, performing differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters, obtaining a TCP performance comparison result between the TCP transmission processes with different transmission parameters, and outputting the TCP performance comparison result. The electronic equipment acquires simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, differentiation analysis is automatically carried out on the simulation data of the TCP transmission processes with different transmission parameters, a TCP performance comparison result between the TCP transmission processes with different transmission parameters can be obtained through the differentiation analysis, the TCP performance comparison result directly reflects the influence of the different transmission parameters on the TCP transmission processes, effective data can be provided for TCP transmission performance verification by the electronic equipment, the TCP transmission performance can be analyzed more quickly based on the TCP performance comparison result, and therefore the TCP transmission performance verification efficiency is improved.
of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a TCP performance monitoring method according to an embodiment of the present invention;
Fig. 2 is a schematic structural diagram of a TCP performance monitoring platform according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a TCP performance monitoring apparatus according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
the embodiment of the invention discloses a TCP performance monitoring method, a TCP performance monitoring device, electronic equipment and a computer readable storage medium, which are respectively explained in detail below. The execution main body of the TCP performance monitoring method provided by the embodiment of the present invention may be an electronic device with a TCP performance monitoring function, such as a computer, a server, and the like.
Referring to fig. 1, fig. 1 is a schematic flow chart of a TCP performance monitoring method according to an embodiment of the present invention, including the following steps:
S101, acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters.
The embodiment of the invention aims to obtain a group of TCP transmission parameters with optimal TCP transmission performance by monitoring, particularly to respectively simulate the TCP transmission processes with different transmission parameters, and judge which group of transmission parameters leads the TCP transmission performance to be optimal based on simulation data. Therefore, a simulation platform is required to be used for respectively simulating the TCP transmission processes with different transmission parameters, the simulation platform can use the conventional NS2, OPNET, and the like, and the electronic device collects simulation data generated by the simulation platform in the process of simulating the TCP transmission processes in real time.
the electronic device can design corresponding client side SDKs (Software Development Kit) for different simulation platforms, and all the client side SDKs are designed into a uniform interface form. Through the client SDK interface, the electronic equipment can acquire simulation data generated when the TCP transmission process is simulated from the simulation platform.
The transmission parameters are adjusted manually or according to a preset strategy, and the simulation platform can perform one-time simulation every time the transmission parameters are adjusted, so that corresponding simulation data are obtained.
the simulation data not only comprises simulation results, but also comprises intermediate data in the simulation process.
the intermediate data is data generated in each step in the process of simulation verification when simulation parameters are input on the simulation platform for simulation verification. For example, the input transmission parameters a are subjected to simulation verification by the simulation platform NS2, so that not only the simulation result B can be obtained, but also intermediate data a1, a2, and A3 in the simulation verification process can be obtained. Wherein, A1, A2 and A3 are data generated correspondingly in each step of the simulation verification process.
S102, carrying out differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
The improvement of the complexity of the network scene can lead to more and more simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters, and the difference of each simulation data is analyzed in a differentiation way to obtain the TCP performance comparison result between the TCP transmission processes with different transmission parameters, so as to find out the transmission parameters which enable the TCP transmission performance to be optimal.
Optionally, before performing the step of performing differentiation analysis on the simulation data of the TCP transmission process with different transmission parameters, the embodiment of the present invention may further perform:
and storing the acquired simulation data in a database.
Correspondingly, S102 may specifically be: and extracting simulation data of TCP transmission processes with different transmission parameters from the database, and performing differential analysis on the extracted simulation data by using a preset analysis mode to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
The database may be a conventional database, such as a MySQL database, SQL Server (Structured Query Language Server) database, Oracle database, Sybase database, DB2 database, or the like.
the preset analysis mode can be static query and dynamic playback, and the static query can analyze and compare simulation data filtered by the query condition; the dynamic playback can compare simulation data in different simulation processes, and can accurately compare the simulation data at the same time point.
Query condition filtering refers to screening pairs of simulation data prior to performing differential analysis. Such as setting time or batch, screening simulation data of the set time or batch, and then analyzing and comparing the screened simulation data.
For example, on the NS2 network simulation platform, 10 different sets of transmission parameters are input, 10 times of TCP transmission process simulation is performed, 10 different sets of simulation data are obtained, each time the electronic device obtains one set of simulation data, that is, the set of simulation data is stored in the MySQL database, after 10 sets of simulation data are stored, the electronic device fetches the 10 sets of simulation data from the MySQL database, then the comparison result of the TCP performance of the 10 different sets of simulation data is obtained through static query and dynamic playback comparison, for example, the simulation data is the packet loss number generated in the TCP transmission process under 10 different sets of transmission parameters, if the TCP performance comparison result is the size of the 10 groups of packet loss numbers, if the packet loss number generated by the simulation of the transmission parameter set for the third time is the minimum, it can be considered that the transmission parameter set for the third time makes the TCP transmission performance optimal.
Optionally, after executing S101, the method provided in the embodiment of the present invention may further execute:
classifying the acquired simulation data to obtain real-time data flow and statistical data; and respectively displaying the real-time data stream and the statistical data.
after the simulation data is acquired, the acquired simulation data can be collected and classified to obtain real-time data stream and statistical data, the real-time data stream and the statistical data are packaged and transmitted, the packaged real-time data stream and the packaged statistical data are analyzed, and the real-time data stream and the statistical data are displayed in the forms of graphs, tables and the like.
when the real-time data stream and the statistical data are displayed, the real-time data stream and the statistical data are serialized into a form capable of being stored or transmitted, the serialized real-time data stream and the statistical data are pushed to the front end, and the real-time data stream and the statistical data are displayed in a form of a graph and a table through deserialization by the front end.
the real-Time data stream includes a real-Time RTT (Round Trip Time) data stream, a congestion window data stream, a link backlog data stream, and the like.
The statistical data includes graph and table data in the simulation process, such as statistical information of packet loss times, packet loss reasons, retransmission times, average RTT, and the like.
Specifically, the real-time data stream and the statistical data may be serialized into JSON (JSON Object Notation) data in the JAVA language, and the real-time data stream and the statistical data are transmitted in a JSON data format.
the real-time data stream differs from the statistical data in that the real-time data stream has a temporal attribute, whereas the statistical data does not.
The JSON data format may be a graph format and a table format. The real-time data stream may be transmitted in a graph format, and the statistical data may be transmitted in a table format.
specifically, the graph format of the real-time data stream may be:
the type field is an optional value, type 1 represents one-dimensional data, type 2 represents two-dimensional data, and type 3 represents three-dimensional data. The coordinate points (X, Y, Z) are resolved according to the value of the type field, and the Time field is Time and is used for describing the real-Time data stream.
The table format of the statistical data may be:
type 4 represents table data, and the data field stores therein a column name and a column value corresponding to the table.
After the real-time data stream and the statistical data are serialized, the serialized real-time data stream and the serialized statistical data are pushed to the front end for deserialization analysis, and the real-time data stream and the statistical data are displayed in the form of a graph and a table, so that technicians can conveniently read and analyze the real-time data stream and the statistical data.
Specifically, the real-time data stream and the statistical data after the serialization processing may be pushed to the front end by a Web Socket (full duplex) mechanism.
Optionally, the step of displaying the real-time data stream and the statistical data respectively includes:
The real-time data stream is displayed by a graph, and the statistical data is displayed by a histogram or a pie chart.
The real-time data flow is a data set with a time attribute, and can be correspondingly changed due to the change of time, and the change of the real-time data flow can be dynamically and intuitively represented in real time through a curve graph.
The statistical data does not have a time attribute, but is a collection of data, and the statistical data can be statically analyzed through a histogram or a pie chart.
And S103, outputting a TCP performance comparison result.
after the extracted simulation data are subjected to differential analysis by using a preset analysis mode, a TCP performance comparison result can be obtained, and then the TCP performance comparison result is output, so that a front-end user or a technician can quickly and intuitively know which set of transmission parameters has the optimal TCP transmission performance after knowing the TCP performance comparison result, and the verification efficiency of the TCP transmission performance is improved.
The TCP performance comparison result is an intuitive reflection of the influence of setting different transmission parameters on the TCP transmission process.
the TCP performance comparison result may be output to a front-end user or a technician in the form of a data packet, a binary code, a page presentation, or the like.
optionally, S103 may specifically be:
And outputting and displaying the TCP performance comparison result.
In order to enable the front-end user or the technician to more intuitively know the TCP performance comparison result, the electronic device may directly display the TCP performance comparison result on the front-end display interface, so that the front-end user or the technician can directly know which set of transmission parameters has the best TCP transmission performance by observing the front-end display interface, thereby quickly determining the adopted transmission parameters.
Therefore, by applying the method of the embodiment of the invention, the simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters are obtained, the simulation data of the TCP transmission processes with different transmission parameters are subjected to differentiation analysis, the TCP performance comparison results of the TCP transmission processes with different transmission parameters are obtained, and the TCP performance comparison results are output. The electronic equipment acquires simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, differentiation analysis is automatically carried out on the simulation data of the TCP transmission processes with different transmission parameters, a TCP performance comparison result between the TCP transmission processes with different transmission parameters can be obtained through the differentiation analysis, the TCP performance comparison result directly reflects the influence of the different transmission parameters on the TCP transmission processes, effective data can be provided for TCP transmission performance verification by the electronic equipment, the TCP transmission performance can be analyzed more quickly based on the TCP performance comparison result, and therefore the TCP transmission performance verification efficiency is improved.
referring to fig. 2, fig. 2 is a schematic structural diagram of a TCP performance monitoring platform according to an embodiment of the present invention. Including an access layer 201 for performance monitoring, a service layer 202 for performance monitoring, a visualization layer 203 for performance monitoring, and a configuration layer 204 for performance monitoring.
Wherein the content of the first and second substances,
The access layer 201 for performance monitoring is used for interfacing with a specific network simulation platform (such as NS2, OPNET, etc.), and solving the problem of data intercommunication between different network simulation platforms and a TCP performance monitoring platform.
and the performance monitoring service layer 202 is used for analyzing the simulation data transmitted from the performance monitoring access layer after encapsulation, storing and differentially analyzing the simulation data, and pushing the simulation data to the visualization layer for performance monitoring.
and a visualization layer 203 for performance monitoring, which is responsible for presentation of various TCP emulation data.
The performance monitoring configuration layer 204 is configured to provide configuration management functions for an access layer of performance monitoring, a service layer of performance monitoring, and a visualization layer of performance monitoring, where the configuration management functions include configurations of common options such as visualization colors, lines, graphs, tables, and differential calculations.
Further, the performance monitoring access layer 201 is further configured to, when any one of the network simulation platforms is connected to the performance monitoring access layer, design corresponding different client SDKs for different network simulation platforms by the performance monitoring access layer, where all the client SDKs are designed in a uniform interface form; acquiring simulation data obtained by respectively simulating the transmission processes of the TCP with different transmission parameters, summarizing the simulation data, classifying the simulation data into real-time streaming data and statistical data, and packaging and transmitting the classified real-time streaming data and statistical data to the service layer 202 of the performance service.
Further, the service layer 202 for performance monitoring includes: the system comprises a visual pushing module and a storage and differentiation analysis module.
The visualization pushing module mainly analyzes the real-time streaming data and the statistical data which are transmitted from the access layer for performance monitoring after encapsulation, and pushes the real-time streaming data and the statistical data to the visualization layer 203 for performance monitoring through a Web Socket mechanism.
And the storage and differentiation analysis module has the capability of storing transmission parameters in the simulation process, and the storage capability is provided by relational databases such as MySQL and the like. On the basis of storage, the transmission parameters of the simulation process parameters of multiple times can be compared in the forms of static query, dynamic playback and the like.
Further, the performance monitoring visualization layer 203 displays real-time data streams in a graph form, displays statistical data in a histogram or pie chart form, and the like, wherein the statistical data includes various real-time graph and table data, and the differential display can display the influence of different transmission parameters on the transmission performance of the TCP on the same platform.
Therefore, by applying the embodiment of the invention, the simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters are obtained, the simulation data of the TCP transmission processes with different transmission parameters are analyzed in a differentiation manner, the TCP performance comparison results of the TCP transmission processes with different transmission parameters are obtained, and the TCP performance comparison results are output. The electronic equipment acquires simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, differentiation analysis is automatically carried out on the simulation data of the TCP transmission processes with different transmission parameters, a TCP performance comparison result between the TCP transmission processes with different transmission parameters can be obtained through the differentiation analysis, the TCP performance comparison result directly reflects the influence of the different transmission parameters on the TCP transmission processes, effective data can be provided for TCP transmission performance verification by the electronic equipment, the TCP transmission performance can be analyzed more quickly based on the TCP performance comparison result, and therefore the TCP transmission performance verification efficiency is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a TCP performance monitoring apparatus according to an embodiment of the present invention. The method comprises the following steps: an access module 301, a storage and differentiation analysis module 302, and a push module 303.
Wherein:
the access module 301 is configured to obtain simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters;
A storage and differentiation analysis module 302, configured to perform differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters;
And the pushing module 303 is configured to output a TCP performance comparison result.
further, the access module 301 is further configured to classify the acquired simulation data to obtain a real-time data stream and statistical data;
Further, the apparatus further comprises:
And the visualization module is used for respectively displaying the real-time data stream and the statistical data.
Further, the visualization module is specifically configured to display the real-time data stream by using a graph, and display the statistical data by using a histogram or a pie chart.
Further, the pushing module 303 is specifically configured to:
and outputting the TCP performance comparison result to a visualization module for displaying.
further, the storage and differentiation analysis module 302 is further configured to store the acquired simulation data in a database;
The storage and differentiation analysis module is used for carrying out differentiation analysis on simulation data of TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters, and is specifically used for:
And extracting the simulation data of the TCP transmission processes with different transmission parameters from the database, and performing differential analysis on the extracted simulation data by using a preset analysis mode to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
Therefore, by applying the embodiment of the invention, the simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters are obtained, the simulation data of the TCP transmission processes with different transmission parameters are analyzed in a differentiation manner, the TCP performance comparison results of the TCP transmission processes with different transmission parameters are obtained, and the TCP performance comparison results are output. The electronic equipment acquires simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, differentiation analysis is automatically carried out on the simulation data of the TCP transmission processes with different transmission parameters, a TCP performance comparison result between the TCP transmission processes with different transmission parameters can be obtained through the differentiation analysis, the TCP performance comparison result directly reflects the influence of the different transmission parameters on the TCP transmission processes, effective data can be provided for TCP transmission performance verification by the electronic equipment, the TCP transmission performance can be analyzed more quickly based on the TCP performance comparison result, and therefore the TCP transmission performance verification efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The system comprises a memory 401, a processor 402, a display 403, a communication interface 404 and a communication bus 405, wherein the processor 402, the communication interface 404, the memory 401 and the display 403 are communicated with each other through the communication bus 405.
a memory 401 for storing a computer program;
the processor 402 is configured to execute the above-mentioned TCP performance monitoring method when executing the computer program stored in the memory 401.
The Memory may include a RAM (Random Access Memory) or an NVM (Non-volatile Memory), 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 CPU, an NP (Network Processor), and the like; but also DSPs (Digital Signal processors), ASICs (Application Specific Integrated circuits), FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
the communication bus mentioned in the electronic device may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
the communication interface is used for communication between the electronic equipment and other equipment.
The Display may be a CRT (Cathode Ray Tube) Display, an LCD (Liquid Crystal Display), a PDP (Plasma Display Panel), an OLED (Organic Light-Emitting Diode) Display, or the like.
In the embodiment of the present invention, the processor can realize that: acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters, performing differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters, and outputting the TCP performance comparison result. The electronic equipment acquires simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, differentiation analysis is automatically carried out on the simulation data of the TCP transmission processes with different transmission parameters, a TCP performance comparison result between the TCP transmission processes with different transmission parameters can be obtained through the differentiation analysis, the TCP performance comparison result directly reflects the influence of the different transmission parameters on the TCP transmission processes, effective data can be provided for TCP transmission performance verification by the electronic equipment, the TCP transmission performance can be analyzed more quickly based on the TCP performance comparison result, and therefore the TCP transmission performance verification efficiency is improved.
the embodiment of the invention also discloses a computer readable storage medium, wherein the computer readable storage medium is stored with instructions, and when the instructions are run on a computer, the TCP performance monitoring method is executed. The computer readable storage medium may be an optical disc, a solid state drive, a mechanical hard drive, etc.
In the embodiment of the present invention, the machine-readable storage medium stores instructions for executing the method provided in the embodiment of the present invention when executed, so that the method can realize: acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters, performing differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters, and outputting the TCP performance comparison result. The electronic equipment acquires simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, differentiation analysis is automatically carried out on the simulation data of the TCP transmission processes with different transmission parameters, a TCP performance comparison result between the TCP transmission processes with different transmission parameters can be obtained through the differentiation analysis, the TCP performance comparison result directly reflects the influence of the different transmission parameters on the TCP transmission processes, effective data can be provided for TCP transmission performance verification by the electronic equipment, the TCP transmission performance can be analyzed more quickly based on the TCP performance comparison result, and therefore the TCP transmission performance verification efficiency is improved.
For the embodiments of the electronic device and the machine-readable storage medium, since the contents of the related methods are substantially similar to those of the foregoing embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiments of the methods.
it is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, and the machine-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the method embodiments.
the above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for monitoring TCP performance, the method comprising:
Acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters;
Carrying out differentiation analysis on simulation data of TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with the different transmission parameters;
And outputting the TCP performance comparison result.
2. The method according to claim 1, wherein after the obtaining of simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, the method further comprises:
Classifying the acquired simulation data to obtain real-time data flow and statistical data;
And respectively displaying the real-time data stream and the statistical data.
3. the method of claim 2, wherein said separately presenting said real-time data stream and said statistical data comprises:
and displaying the real-time data stream by using a graph, and displaying the statistical data by using a histogram or a pie chart.
4. the method according to claim 1, wherein said outputting the TCP performance comparison result comprises:
And outputting and displaying the TCP performance comparison result.
5. The method according to claim 1, wherein after the obtaining of simulation data obtained by respectively simulating TCP transmission processes with different transmission parameters, the method further comprises:
Storing the acquired simulation data in a database;
the analyzing the difference between the simulation data of the TCP transmission processes with different transmission parameters to obtain the comparison result of the TCP performance between the TCP transmission processes with different transmission parameters comprises the following steps:
And extracting simulation data of TCP transmission processes with different transmission parameters from the database, and performing differential analysis on the extracted simulation data by using a preset analysis mode to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
6. A TCP performance monitoring apparatus, comprising:
the access module is used for acquiring simulation data obtained by respectively simulating the TCP transmission processes with different transmission parameters;
The storage and differentiation analysis module is used for carrying out differentiation analysis on simulation data of TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters;
And the pushing module is used for outputting the TCP performance comparison result.
7. The device according to claim 6, wherein the access module is further configured to classify the acquired simulation data to obtain a real-time data stream and statistical data;
The device further comprises:
and the visualization module is used for respectively displaying the real-time data stream and the statistical data.
8. The apparatus according to claim 7, wherein the visualization module is specifically configured to display the real-time data stream using a graph and the statistical data using a histogram or a pie chart.
9. The apparatus according to claim 6, wherein the push module is specifically configured to:
and outputting the TCP performance comparison result to a visualization module for display.
10. the apparatus of claim 6, wherein the storage and differentiation analysis module is further configured to store the acquired simulation data in a database;
The storage and differentiation analysis module is specifically configured to, when performing differentiation analysis on the simulation data of the TCP transmission processes with different transmission parameters to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters:
and extracting simulation data of TCP transmission processes with different transmission parameters from the database, and performing differential analysis on the extracted simulation data by using a preset analysis mode to obtain a TCP performance comparison result between the TCP transmission processes with different transmission parameters.
CN201910836452.6A 2019-09-05 2019-09-05 TCP performance monitoring method and device Pending CN110545218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910836452.6A CN110545218A (en) 2019-09-05 2019-09-05 TCP performance monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910836452.6A CN110545218A (en) 2019-09-05 2019-09-05 TCP performance monitoring method and device

Publications (1)

Publication Number Publication Date
CN110545218A true CN110545218A (en) 2019-12-06

Family

ID=68712682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910836452.6A Pending CN110545218A (en) 2019-09-05 2019-09-05 TCP performance monitoring method and device

Country Status (1)

Country Link
CN (1) CN110545218A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080050809A (en) * 2006-12-04 2008-06-10 현대중공업 주식회사 Method of testing navigation analog input device for integration navigation system
CN101464922A (en) * 2009-01-22 2009-06-24 中国人民解放军国防科学技术大学 Computer architecture scheme parallel simulation optimization method based on cluster system
CN105700385A (en) * 2016-04-21 2016-06-22 奇弩(北京)科技有限公司 Robot adjusting simulation platform
CN107202959A (en) * 2017-05-19 2017-09-26 江苏大学 One kind is used for battery pack and battery management system matching test centring system
CN110175803A (en) * 2019-05-27 2019-08-27 中冶赛迪重庆信息技术有限公司 A kind of automation managing and control system Virtual Debugging system and method based on logistics simulation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080050809A (en) * 2006-12-04 2008-06-10 현대중공업 주식회사 Method of testing navigation analog input device for integration navigation system
CN101464922A (en) * 2009-01-22 2009-06-24 中国人民解放军国防科学技术大学 Computer architecture scheme parallel simulation optimization method based on cluster system
CN105700385A (en) * 2016-04-21 2016-06-22 奇弩(北京)科技有限公司 Robot adjusting simulation platform
CN107202959A (en) * 2017-05-19 2017-09-26 江苏大学 One kind is used for battery pack and battery management system matching test centring system
CN110175803A (en) * 2019-05-27 2019-08-27 中冶赛迪重庆信息技术有限公司 A kind of automation managing and control system Virtual Debugging system and method based on logistics simulation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
叶青娣: ""卫星链路中TCP传输性能改进与仿真"", 《现代电子技术》 *

Similar Documents

Publication Publication Date Title
US20210133014A1 (en) Tracking error propagation across microservices based applications using distributed error stacks
WO2020005895A1 (en) Systems and methods of windowing time series data for pattern detection
US20070006160A1 (en) Software digital fingerprint
CN109376069B (en) Method and device for generating test report
CN111447107A (en) Network state determination method and device, storage medium and electronic equipment
US20130090172A1 (en) System and method for analysing online game packets
CN110704714A (en) Method and device for quickly indexing data of pcap file
US20200152321A1 (en) Cost of healthcare analytics platform
CN106936648B (en) Fault monitoring method and system for IT system
CN110248235B (en) Software teaching method, device, terminal equipment and medium
US20220269576A1 (en) Method and system for providing application hosting benchmarks
CN105719072B (en) System and method for associating multi-segment component transactions
US20080228690A1 (en) System and method for calculating a metric of a sub-transaction on an IP network
CN110545218A (en) TCP performance monitoring method and device
CN117040799A (en) Page interception rule generation and page access control method and device and electronic equipment
CN114189455B (en) Container network flow monitoring and counting method and system based on ebpf technology
CN112788356B (en) Live broadcast auditing method, device, server and storage medium
CN110971483B (en) Pressure testing method and device and computer system
CN109947803B (en) Data processing method, system and storage medium
US20170269796A1 (en) Analysis of Recurring Processes
CN112559616A (en) Dynamic data binding method and system for large-screen data visualization component
CN110532758A (en) A kind of Risk Identification Method and device for group
CN105306478A (en) System and method for normalization of HTTP (Hyper Text Transport Protocol) protocol data
CN110572401A (en) Ranking statistical method, device, system and medium based on DNS over HTTPS
US10089081B2 (en) Method and/or apparatus for generating signal processing pipelines

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

Application publication date: 20191206

RJ01 Rejection of invention patent application after publication