CN110098976B - Network parameter measuring method and device, computer equipment and storage medium - Google Patents

Network parameter measuring method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110098976B
CN110098976B CN201910276756.1A CN201910276756A CN110098976B CN 110098976 B CN110098976 B CN 110098976B CN 201910276756 A CN201910276756 A CN 201910276756A CN 110098976 B CN110098976 B CN 110098976B
Authority
CN
China
Prior art keywords
network
transmission rate
rate
parameter
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910276756.1A
Other languages
Chinese (zh)
Other versions
CN110098976A (en
Inventor
郑自永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201910276756.1A priority Critical patent/CN110098976B/en
Publication of CN110098976A publication Critical patent/CN110098976A/en
Application granted granted Critical
Publication of CN110098976B publication Critical patent/CN110098976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Landscapes

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

Abstract

The measuring equipment obtains a mutation point by monitoring the change trend of the transmission rate of the network, determines the maximum transmission rate of the network according to the mutation point, further determines the network parameter by combining the network time delay corresponding to the mutation point, and then configures the network according to the network parameter and the service quality parameter matched with the network parameter. Because the transmission rate abrupt change point corresponds to the limit value of the actual transmission rate which can be carried by the network, the measured network parameter is closer to the actual performance parameter of the network. Therefore, according to the network configured by the network parameters and the matched service quality parameters, the actual application performance of the network is basically consistent with the network performance constrained by the service quality parameters of the network, the network data packet loss, congestion and delay are avoided, and the normal speed transmission of the network is greatly ensured.

Description

Network parameter measuring method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of network transmission technologies, and in particular, to a method and an apparatus for measuring a network parameter, a computer device, and a storage medium.
Background
With the development of computer network technology, an end-to-end transmission network based on File Transfer Protocol (FTP) has become popular.
At present, because the transmission network usually has a specific bandwidth, when the amount of data transmitted in the transmission network increases sharply, the transmission network may block and lose data packets, and the transmission speed of the transmission network is forced to decrease. However, because different transmission networks have different delay characteristics, if a transmission network with different delay characteristics is agreed by a uniform qos parameter, there is often a problem that an actual performance parameter of the network is not matched with a network performance parameter agreed by the qos parameter of the network.
Therefore, how to ensure that the actual performance of the transmission network matches the network performance agreed by the qos parameters of the transmission network is a technical problem to be solved.
Disclosure of Invention
In view of the above, there is a need to provide a method, an apparatus, a computer device and a storage medium for measuring network parameters, which can effectively measure performance parameters of a transmission network and can implement configuration of the network through the measured performance parameters, and the method can match actual performance of the network with network performance constrained by quality of service parameters of the network.
In a first aspect, a method for measuring network parameters includes:
monitoring the change trend of the transmission rate of the network;
when the change trend has a mutation point with a reduced rate, determining the maximum transmission rate of the network according to the mutation point with the reduced rate on the change trend;
acquiring network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
In one embodiment, the network parameters include a maximum transmission rate, a network delay, and a bandwidth-delay product.
In one embodiment, obtaining the network parameter according to the maximum transmission rate and the network delay corresponding to the mutation point includes: and determining a bandwidth delay product according to the network delay and the maximum transmission rate.
In one embodiment, the method further comprises:
receiving a TCP response message sent by a client;
and when the preset delay time is reached, sending a TCP response message to the server.
In one embodiment, the monitoring a change trend of a transmission rate of the network includes:
acquiring the transmission rate of a network according to a preset time period;
and monitoring whether the change trend has a rate-reduced mutation point according to the transmission rate.
In one embodiment, the monitoring whether the trend of change has a rate-decreasing abrupt point according to the transmission rate includes:
judging whether the transmission rate is reduced or not;
if the transmission rate is reduced, determining a mutation point with a reduced rate of the change trend;
and if the transmission rate is not reduced, accumulating the delay time to obtain new delay time, and sending a TCP response message to the server when the new delay time is reached.
In one embodiment, configuring the network according to the network parameters and the service quality parameters matched with the network parameters further comprises:
and configuring the cache of the network according to the bandwidth-delay product, and configuring the network according to the service quality parameter matched with the network parameter.
In a second aspect, an apparatus for measuring network parameters, the apparatus comprising:
the monitoring module is used for monitoring the change trend of the transmission rate of the network;
the rate determining module is used for determining the maximum transmission rate of the network according to the rate-reduced catastrophe points on the change trend when the rate-reduced catastrophe points appear on the change trend;
the network parameter acquisition module is used for acquiring network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and the configuration module is used for configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
In a third aspect, a computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements the method for measuring a network parameter according to any embodiment of the first aspect when executing the computer program.
In a fourth aspect, a computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, implements the method for measuring a network parameter according to any one of the embodiments of the first aspect.
According to the network parameter measuring method and device, the computer equipment and the storage medium, the measuring equipment obtains the mutation point by monitoring the change trend of the transmission rate of the network, determines the maximum transmission rate of the network according to the mutation point, further determines the network parameter by combining the network time delay corresponding to the mutation point, and then configures the network according to the network parameter and the service quality parameter matched with the network parameter. In the method, the measuring equipment obtains the transmission rate mutation point by analyzing the variation trend of the transmission rate of the network so as to obtain the network parameter, and the network parameter obtained by measurement is closer to the actual performance parameter of the network because the transmission rate mutation point corresponds to the limit value of the actual transmission rate which can be carried by the network. Therefore, according to the network configured by the network parameters and the matched service quality parameters, the actual application performance of the network is basically consistent with the network performance constrained by the service quality parameters of the network, the network data packet loss, congestion and delay are avoided, and the normal speed transmission of the network is greatly ensured.
Drawings
FIG. 1 is a diagram illustrating an application scenario provided by an embodiment;
fig. 2 is a flowchart of a method for measuring network parameters according to an embodiment;
fig. 3 is a flowchart of a method for measuring network parameters according to an embodiment;
FIG. 3A is a diagram illustrating network transmission, according to an embodiment;
FIG. 4 provides a flow chart of one implementation of the embodiment S101 of FIG. 2;
FIG. 5 provides a flowchart of one implementation of S302 of the embodiment of FIG. 4;
fig. 6 is a flowchart of a method for measuring network parameters according to an embodiment;
fig. 7 is a schematic structural diagram of an apparatus for measuring a network parameter according to an embodiment;
fig. 8 is a schematic structural diagram of an apparatus for measuring a network parameter according to an embodiment;
fig. 9 is a schematic structural diagram of an apparatus for measuring network parameters according to an embodiment;
fig. 10 is a schematic structural diagram of an apparatus for measuring a network parameter according to an embodiment;
fig. 11 is a schematic internal structural diagram of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for measuring network parameters provided by the present application can be applied to the application environment shown in fig. 1, in which a client, a measurement device, and a server are connected to each other through a network. Specifically, the network connection may be a wired network connection or a wireless network connection. The client may be but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, the measuring device is used for measuring network performance of a network between the client and the server, and may be but not limited to various measuring devices, apparatuses, systems and the like, and the server may be implemented by an independent server or a server cluster formed by a plurality of servers.
The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flowchart of a method for measuring a network parameter according to an embodiment. The implementation is mainly performed by the measurement device in fig. 1, and this embodiment relates to a specific process in which the measurement device configures a network by measuring an actual performance parameter of the network and further by using a measured result. As shown in fig. 2, the method includes:
s101, monitoring the change trend of the transmission rate of the network.
The variation trend is used to indicate the variation of the transmission rate of the network at different monitoring time points, and may be a trend of increasing the transmission rate or a trend of decreasing the transmission rate. It should be noted that, assuming that the above-mentioned trend is a transmission rate decrease, that is, when the transmission rate between the server and the client decreases, the measurement device may implement the transmission rate decrease by controlling the transmission time of the message between the server and the client, for example, the measurement device may receive the message sent from the client to the server, and resend the message to the server after a certain time, so as to generate a certain time delay between the server and the client, thereby changing the transmission rate. In this embodiment, when the method is applied to the application scenario shown in fig. 1, when the measurement device measures the actual network performance of the network between the client and the server, the change trend of the transmission rate of the network may be monitored in real time, and optionally, the measurement device may also periodically monitor the change trend of the transmission rate of the network, so that the measurement device may measure the network parameter according to the change trend.
S102, when the change trend has a mutation point with a reduced rate, determining the maximum transmission rate of the network according to the mutation point with the reduced rate on the change trend.
Wherein, the maximum transmission rate represents the maximum transmission rate limit value that the network can bear. In practical application, when the measurement device monitors that a sudden point with a reduced rate appears on a change trend, it indicates that the transmission rate in the network has changed greatly, and the transmission rate may exceed the maximum transmission rate limit value that can be borne by the network, so the transmission rate monitored by the measurement device at the sudden point is the maximum transmission rate of the network, which is equivalent to the maximum transmission rate limit value that can be borne by the network. In this embodiment, when the measurement device measures the transmission performance of the network, the measurement device may determine the maximum transmission rate that can be borne by the network in practical application directly according to a sudden point of rate reduction on a change trend.
S103, acquiring network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point.
The network parameter is used to represent the transmission performance of the network, and may be any parameter capable of representing the transmission performance of the network, for example, a throughput of network transmission, a bandwidth, a transmission rate, a transmission delay, a bandwidth-delay product, and the like. The network latency (RTT) represents the delay Time for communications back and forth between the client and the server.
In this embodiment, the measurement device may further record the network delay between the client and the server at this time while determining the maximum transmission rate of the network according to the monitored variation trend of the transmission rate, determine the recorded network delay as the network delay corresponding to the mutation point, and then obtain the performance parameter of the network according to the maximum transmission rate of the network and the network delay corresponding to the mutation point. Optionally, the measurement device may calculate the maximum transmission rate and the network delay corresponding to the mutation point, and then obtain the required network performance parameter therefrom.
And S104, configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
The Quality of Service (QoS) parameter refers to a network that can provide better Service capability for specified network communication by using various basic technologies, is a security mechanism of the network, and is a technology for solving problems such as network delay and congestion, and may specifically include parameters such as Committed Information Rate (CIR), Peak Information Rate (Peak Information Rate, PIR), and the like. In this embodiment, after the measurement device obtains the network parameter of the network by monitoring the variation trend of the transmission rate of the network, the measurement device may further instruct the user to select the qos parameter matched with the network parameter according to the network parameter, and perform hardware or software configuration of each switching device on the preconfigured network according to each technical index included in the qos parameter, so that the network performance of the configured network is matched with the network performance constrained by the qos parameter. Optionally, after acquiring the network parameter of the network, the measurement device may also directly instruct the user to perform hardware or software configuration on each switching device in the network on the preconfigured network according to the network parameter.
In the method for measuring network parameters provided in the above embodiment, the measurement device obtains the mutation point by monitoring a variation trend of the transmission rate of the network, determines the maximum transmission rate of the network according to the mutation point, further determines the network parameters by combining the network delay corresponding to the mutation point, and then configures the network according to the network parameters and the service quality parameters matched therewith. In the method, the measuring equipment obtains the transmission rate mutation point by analyzing the variation trend of the transmission rate of the network so as to obtain the network parameter, and the network parameter obtained by measurement is closer to the actual performance parameter of the network because the transmission rate mutation point corresponds to the limit value of the actual transmission rate which can be carried by the network. Therefore, according to the network configured by the network parameters and the matched service quality parameters, the actual application performance of the network is basically consistent with the network performance constrained by the service quality parameters of the network, the network data packet loss, congestion and delay are avoided, and the normal speed transmission of the network is greatly ensured.
In an application scenario, optionally, the network parameters involved in the foregoing embodiments may include a maximum transmission rate, a network delay, and a bandwidth-delay product.
The maximum transmission rate represents a maximum transmission rate limit value that can be carried by a network in practical application, and belongs to a bottleneck performance parameter of the network. Network latency represents the latency of communications back and forth between a client and a server. The bandwidth-delay product is a network performance indicator that represents the maximum number of bits on a communication link. In this embodiment, the network parameters may include various parameters for indicating the network performance, such as the rate, bandwidth, throughput, delay-bandwidth product, network delay, etc. of the network transmission. The network parameters involved in this embodiment include the maximum transmission rate that the network can carry, the network latency of the communication between the client and the server, and the bandwidth-latency product of the network.
Optionally, when the network parameter includes a bandwidth delay product, the step S103 "obtaining the network parameter according to the maximum transmission rate and the network delay corresponding to the mutation point" specifically includes: and determining a bandwidth delay product according to the network delay and the maximum transmission rate.
The present embodiment relates to a method for determining a bandwidth-delay product by a measurement device, and optionally, the measurement device may perform a multiplication operation on the acquired network delay and the maximum transmission rate, and an obtained product is the bandwidth-delay product. Optionally, the measurement device may also perform weighting processing on the obtained network delay and the maximum transmission rate, and then perform multiplication operation on the processed network delay and the maximum transmission rate, so that an obtained product is a bandwidth delay product.
In one embodiment, fig. 3 is a flowchart of a method for measuring a network parameter according to one embodiment. The embodiment relates to a specific process that a measurement device performs message interaction with a client and a server in a measurement process of the measurement device, and as shown in fig. 3, the process includes:
s201, receiving a TCP response message sent by a client.
The TCP response message is a response message replied to the server after the client receives the message sent by the server, so that the server can learn the condition of the client receiving the message according to the response message.
In this embodiment, in the process of measuring the network parameter, the measurement device also needs to receive a TCP response message sent by the client, so as to perform corresponding message processing or time delay processing on the TCP response message, so as to forward the processed TCP response message to the server, so that the measurement device can monitor the data transmission condition on the network between the client and the server in real time.
And S202, when the preset delay time is reached, sending a TCP response message to the server side.
The delay time can be customized by a user according to actual application requirements, and is used for indicating the time for the measurement equipment to delay forwarding of the TCP response message.
Based on the foregoing embodiment, it can be understood that the present embodiment describes a process in which the measurement device performs delay processing on a TCP response message received from the client, that is, the measurement device sets a delay time in advance, and then after the measurement device receives the TCP response message sent by the client and needs to wait for the delay time, the measurement device sends the TCP response message to the server, so as to ensure that the server can normally receive the TCP response message sent by the client. The delay time may be a variable time, the initial value may be set to 0, or may be set to another value, and the delay time may be periodically changed in an increasing manner, which is not limited in this embodiment.
As shown in fig. 3A, in the data transmission process, the server sends a downstream TCP message (D1, D2, D3, D4, D5) to the client, and the client sends an upstream TCP response message (p1, p2, p3, p4, p5) to the server after receiving the downstream TCP message. With the solution of this embodiment, when the measurement device measures the transmission performance of the transmission network between the client and the server, the measurement device may receive the TCP response message (p1, p2, p3, p4, p5) sent by the client, and send the TCP response message (p1, p2, p3, p4, p5) to the server after performing the delay processing on the TCP response message, that is, when the preset delay time arrives.
In the above embodiment, the measurement device receives the TCP response message sent by the client during the process of measuring the network parameter, and sends the TCP response message to the server when the preset delay time is reached. In the transmission process, since the delay time is a variable quantity, the delay time can be adjusted by a user according to actual application requirements, and when the measurement device monitors a variation trend of the transmission rate of the network each time, the delay time needs to be adjusted to change the transmission rate of the network, so that the measurement device can measure the maximum transmission rate of the network from the variable transmission rate. The measurement method only needs to adjust the delay time to change the actual time delay characteristic of the network, so as to change the actual transmission rate of the network, and then further can measure the network parameters which can be borne by the network by monitoring the change trend of the transmission rate of the network, so that the measured network parameters are closer to the actual performance parameters of the network.
In one embodiment, fig. 4 provides a flow chart of one implementation of the embodiment S101 of fig. 2. The embodiment relates to a specific process in which the measurement device monitors a variation trend of the transmission rate of the network, and as shown in fig. 4, the step S101 "monitoring a variation trend of the transmission rate of the network" includes:
s301, acquiring the transmission rate of the network according to a preset time period.
In this embodiment, when the measurement device monitors a change trend of the transmission rate of the network, the measurement device may set a fixed time, for example, 5s, 4s, 3s, and the like, and then monitor the transmission rate of the network with the time as a period, and record the transmission rate corresponding to each time point.
S302, monitoring whether a rate-reduced mutation point appears in the change trend according to the transmission rate.
In this embodiment, when the measurement device obtains the transmission rate at the current time point, whether a sudden change point with a reduced rate occurs in the change trend may be further monitored by analyzing the variation between the transmission rate and the transmission rate recorded at the adjacent time point. And when the variation is within a preset threshold range, determining that a rate-reduced mutation point appears on the variation trend, and otherwise, determining that no rate-reduced mutation point appears on the variation trend. It should be noted that, the threshold range may be set by the measurement device in advance according to the actual application requirement, and this embodiment is not limited thereto.
In one embodiment, FIG. 5 provides a flow chart of one implementation of S302 of the embodiment of FIG. 4. This embodiment relates to a specific procedure where the measurement device determines the discontinuity point based on the monitored transmission rate. As shown in fig. 5, in the step S302 "monitoring whether a rate-decreasing abrupt point occurs according to the transmission rate includes:
s401, judging whether the transmission rate is reduced, if so, executing a step S402; if the transmission rate is not decreased, step S403 is performed.
In this embodiment, when monitoring a change trend of the transmission rate of the network each time, the measurement device may record the transmission rate monitored each time in the cache. When the measurement device monitors whether a rate-decreasing discontinuity point occurs according to the transmission rate monitoring change trend, specifically, the transmission rate monitored this time may be compared with the transmission rate recorded in the previous monitoring, and whether the transmission rate monitored this time decreases is analyzed, if the monitored transmission rate decreases, the measurement device may perform the step of S402, and if the monitored transmission rate does not decrease, the measurement device may perform the step of S403.
S402, determining the mutation point with the reduced rate of change trend.
In this case, the measurement device determines that a sudden point at which the rate of change in the transmission rate of the network decreases occurs.
And S403, accumulating the delay time to obtain new delay time, and sending a TCP response message to the server when the new delay time is reached.
In this application, when receiving a TCP response message sent by a client, the measurement device first performs numerical accumulation on the delay time to change the delay time, and then forwards the TCP response message to a server after a new delay time. At this time, the measurement device may return to the step of performing S101 to re-monitor the change trend of the transmission rate of the network until the abrupt point of the decrease of the rate of the change trend is monitored, thereby completing the measurement of the network parameter. It should be noted that, when the measurement device performs the numerical value accumulation operation on the delay time, the numerical value accumulated each time may be determined according to the actual application requirement, and may be 0.5ms, 1ms, 2ms, and the like.
After the measuring device obtains the network parameters according to the method for measuring network parameters described in any of the embodiments above, in order to match the actual performance of the network with the network performance agreed by the service quality parameters preset in the network as much as possible, thereby not causing waste of resources, and avoiding phenomena such as network congestion, delay, and unstable network rate caused by mismatch, the measuring device may further configure the network according to the guidance of the network parameters, and therefore, in one embodiment, the present application further provides a method for configuring a network according to the network parameters and the service quality parameters matched with the network parameters, which specifically includes: and configuring the cache of the network according to the bandwidth-delay product, and configuring the network according to the service quality parameter matched with the network parameter. In this embodiment, when the measurement device obtains the network parameter by using the method for measuring the network parameter and the network parameter includes a bandwidth delay product, the measurement device may directly set a space size of a cache of each switching device in the network according to a value of the bandwidth delay product, and may specifically configure the cache by using the value of the bandwidth delay product as a design index of the cache size. Optionally, the measurement device may further select a quality of service parameter matching the bandwidth-delay product value by analyzing the bandwidth-delay product value to configure hardware and software of the network.
The method for measuring network parameters provided by the embodiment realizes the process of selecting the matched service quality parameters according to the measured network parameters and configuring the network according to the matched service quality parameters, so that the network performance of the network in practical application can be kept consistent with the network performance agreed by the service quality parameters by the method for configuring the network, the network data packet loss, congestion and delay are avoided, and the normal rate transmission of the network is greatly ensured.
With reference to all the above embodiments, the present application further provides a method for measuring a network parameter, as shown in fig. 6, the method specifically includes:
s501, a delay time (initial value is 0) is initialized.
And S502, receiving a TCP response message sent by the client.
And S503, when the delay time is up, sending the TCP response message to the server.
S504, monitoring the transmission rate of the network.
S505, judging whether the transmission rate of the network is reduced, if so, executing S506; if not, S509 is executed.
S506, stopping monitoring, determining the transmission rate at the moment as the maximum transmission rate of the network, and acquiring the network time delay from the client to the server at the moment.
And S507, calculating the maximum bandwidth delay product according to the maximum transmission rate and the network delay.
And S508, selecting matched service quality parameters according to the maximum transmission rate, the network delay and the maximum bandwidth-delay product, and configuring the network.
And S509, accumulating the delay time by a value 1 to obtain new delay time.
S510, after waiting for a preset time (e.g., 5S), the process returns to S502.
In the method for measuring network parameters provided in the above embodiment, the measurement device changes the transmission delay of the network by adjusting the delay time, so that networks with different delay characteristics can be simulated, the maximum bandwidth delay product that can be carried by each network can be measured, and then the corresponding quality of service parameter can be selected according to each maximum bandwidth delay product, and specific network deployment and configuration are guided according to each quality of service parameter, so that the actual performance of the configured network is basically consistent with the network performance constrained by the quality of service parameter, thereby avoiding network data packet loss, congestion, and delay, and greatly ensuring normal rate transmission of the network. In addition, by the method, resource waste caused by the fact that the number of actually required caches is small but the number of the marked caches is too large can be avoided, and the utilization rate of resources is greatly improved.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or phases that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or phases is not necessarily sequential.
In one embodiment, as shown in fig. 7, there is provided a network parameter measuring apparatus, including: monitoring module 11, rate determining module 12, network parameter obtaining module 13 and configuration module 14, wherein:
the monitoring module 11 is used for monitoring the change trend of the transmission rate of the network;
a rate determining module 12, configured to determine, when a rate of change of a network trend is decreased, a maximum transmission rate of the network according to the rate of change of the network trend;
the network parameter obtaining module 13 is configured to obtain a network parameter according to the maximum transmission rate and the network delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and the configuration module 14 is used for configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
In one embodiment, the network parameters include the network maximum transmission rate, network delay, and bandwidth-delay product.
In one embodiment, as shown in fig. 8, there is provided a network parameter measuring apparatus, further comprising:
a message receiving module 15, configured to receive the TCP response message sent by the client;
and a message sending module 16, configured to send the TCP response message to the server when a preset delay time is reached.
In one embodiment, as shown in fig. 9, the monitoring module 11 includes: an acquisition rate unit 111 and a monitoring unit 112, wherein:
an obtaining rate unit 111, configured to obtain a transmission rate of the network according to a preset time period;
a monitoring unit 112, configured to monitor whether a rate-reduced mutation point occurs in the change trend according to the transmission rate.
In one embodiment, as shown in fig. 10, the monitoring unit 112 includes: a judgment subunit 1121, a determination subunit 1122, and a transmission monitoring subunit 1123, wherein:
a determining subunit 1121, configured to determine whether the transmission rate is decreased;
a determining subunit 1122, configured to determine a mutation point at which the rate of occurrence of the variation trend decreases when the transmission rate decreases;
a sending monitoring subunit 1123, configured to perform numerical accumulation on the delay time when the transmission rate is not decreased, to obtain a new delay time, and send the TCP response message to the server when the new delay time arrives.
In an embodiment, the configuration module 14 is specifically configured to configure the cache of the network according to the bandwidth-delay product, and configure the network according to a quality of service parameter matching the network parameter.
For specific definition of the network parameter measuring device, see the above definition of a network parameter measuring method, and will not be described herein again. The modules in the network parameter measuring device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data transmitted over the network. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, may implement a method of measuring a network parameter.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
monitoring the change trend of the transmission rate of the network;
when the change trend has a mutation point with a reduced rate, determining the maximum transmission rate of the network according to the mutation point with the reduced rate on the change trend;
acquiring network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, the computer program, when executed by a processor, further implementing the steps of:
monitoring the change trend of the transmission rate of the network;
when the change trend has a mutation point with a reduced rate, determining the maximum transmission rate of the network according to the mutation point with the reduced rate on the change trend;
acquiring network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for measuring network parameters, the method comprising:
monitoring the change trend of the transmission rate of the network;
the transmission rate is reduced by controlling the message transmission time between the server and the client, and when the change trend has a mutation point with reduced rate, the maximum transmission rate of the network is determined according to the mutation point with reduced rate on the change trend;
acquiring network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and configuring the network according to the service quality parameters matched with the network parameters.
2. The method of claim 1, wherein the network parameters comprise the maximum transmission rate, the network delay, and a bandwidth-delay product.
3. The method according to claim 2, wherein the obtaining network parameters according to the maximum transmission rate and the network delay corresponding to the mutation point comprises:
and determining the bandwidth-delay product according to the network delay and the maximum transmission rate.
4. The method according to any one of claims 1-3, further comprising:
receiving a TCP response message sent by a client;
and when the preset delay time is reached, sending the TCP response message to a server.
5. The method of claim 4, wherein the monitoring a trend of the transmission rate of the network comprises:
acquiring the transmission rate of the network according to a preset time period;
and monitoring whether the change trend has a rate-reduced mutation point or not according to the transmission rate.
6. The method of claim 5, wherein the monitoring whether the trend of change has a rate-decreasing discontinuity according to the transmission rate comprises:
judging whether the transmission rate is reduced or not;
if the transmission rate is reduced, determining a mutation point with a reduced rate of the change trend;
and if the transmission rate is not reduced, performing numerical accumulation on the delay time to obtain new delay time, and sending the TCP response message to the server when the new delay time is reached.
7. The method of claim 2, wherein the configuring the network according to the quality of service parameter matching the network parameter further comprises:
and configuring the cache of the network according to the bandwidth-delay product, and configuring the network according to the service quality parameter matched with the network parameter.
8. An apparatus for measuring network parameters, the apparatus comprising:
the monitoring module is used for monitoring the change trend of the transmission rate of the network;
the rate determining module is used for realizing the reduction of the transmission rate by controlling the message transmission time between the server and the client, and determining the maximum transmission rate of the network according to the rate-reduced mutation point on the change trend when the change trend has the rate-reduced mutation point;
the network parameter obtaining module is used for obtaining network parameters according to the maximum transmission rate and the network time delay corresponding to the mutation point; the network parameter is used for representing the transmission performance of the network;
and the configuration module is used for configuring the network according to the network parameters and the service quality parameters matched with the network parameters.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201910276756.1A 2019-04-08 2019-04-08 Network parameter measuring method and device, computer equipment and storage medium Active CN110098976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910276756.1A CN110098976B (en) 2019-04-08 2019-04-08 Network parameter measuring method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910276756.1A CN110098976B (en) 2019-04-08 2019-04-08 Network parameter measuring method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110098976A CN110098976A (en) 2019-08-06
CN110098976B true CN110098976B (en) 2021-01-15

Family

ID=67444453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910276756.1A Active CN110098976B (en) 2019-04-08 2019-04-08 Network parameter measuring method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110098976B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505037B (en) * 2019-08-27 2022-03-01 南方电网科学研究院有限责任公司 Network interface communication rate matching method, device, equipment and storage medium
CN114760230B (en) * 2020-12-29 2024-05-07 中国移动通信集团福建有限公司 Method and system for detecting end-to-end network performance
CN113746611B (en) * 2021-08-31 2023-01-13 爱浦路网络技术(南京)有限公司 Method for configuring timing value of signaling in communication, computer device and storage medium

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582839B (en) * 2008-05-14 2012-06-27 华为技术有限公司 Method, device and system for regulating data traffic
CN101340318B (en) * 2008-08-15 2010-12-22 同济大学 Available bandwidth measuring method of rate lowered bougie package
US8553540B2 (en) * 2010-03-05 2013-10-08 Microsoft Corporation Congestion control for delay sensitive applications
CN102045219B (en) * 2010-12-14 2012-07-25 同济大学 High-efficiency single-end available bandwidth measuring method
CN102014030B (en) * 2010-12-31 2012-10-31 湖南神州祥网科技有限公司 Network performance measurement diagnostic method and system based on transmission control protocol (TCP)
CN102055628B (en) * 2011-01-11 2012-07-04 同济大学 Method of available bandwidth measurement and close link circuit positioning based on single pack column
CN102137023B (en) * 2011-04-14 2014-01-29 中国人民解放军空军工程大学 Multicast congestion control method based on available bandwidth prediction
CN103001727A (en) * 2011-09-09 2013-03-27 中兴通讯股份有限公司 Method and system for controlling data transmission of radio network
US9154396B2 (en) * 2013-03-14 2015-10-06 Arris Technology, Inc. Passive measurement of available link bandwidth
CN104734899A (en) * 2013-12-19 2015-06-24 中国移动通信集团四川有限公司 Method and device for adjusting bandwidth parameter
US9906454B2 (en) * 2014-09-17 2018-02-27 AppFormix, Inc. System and method for providing quality of service to data center applications by controlling the rate at which data packets are transmitted
WO2016115406A1 (en) * 2015-01-14 2016-07-21 Hughes Network Systems, Llc Determining link conditions of a client lan/wan from measurement point to client devices and application servers of interest
CN105357068B (en) * 2015-11-03 2018-06-12 华中科技大学 The OpenFlow method for controlling network flow that a kind of application-oriented QoS is ensured
CN107171969B (en) * 2016-03-07 2020-06-02 华为技术有限公司 Data transmission method, device and system
CN105847151B (en) * 2016-05-25 2019-03-29 安徽大学 Multi-constraint QoS routing strategy design method for software defined network
CN106102094B (en) * 2016-07-06 2019-09-06 广州海格通信集团股份有限公司 A kind of TCP jamming control method based on SDN network
CN106301684B (en) * 2016-08-12 2020-04-10 广州市百果园网络科技有限公司 Media data transmission method and device
CN108234224B (en) * 2016-12-13 2020-04-24 腾讯科技(深圳)有限公司 Available bandwidth detection method and device
CN107426048B (en) * 2017-05-12 2018-11-09 腾讯科技(深圳)有限公司 A kind of single-end available bandwidth measuring, device and transmitting terminal

Also Published As

Publication number Publication date
CN110098976A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
EP3700135B1 (en) Method and apparatus for optimizing monitoring data collection policy for terminal device
CN110098976B (en) Network parameter measuring method and device, computer equipment and storage medium
CN106330757B (en) Flow control method and device
CN110417650A (en) Multilink data distribution method, device and electronic equipment
US11671332B2 (en) Adjusting triggers for automatic scaling of virtual network functions
CN113498508A (en) Dynamic network configuration
CN110674942A (en) Bandwidth management method and device, electronic equipment and readable storage medium
CN110380978B (en) Scheduling method and device for multipath transmission, computer equipment and storage medium
EP3286967B1 (en) Technique for scheduling transmission of content in an access network
Chaturvedi et al. An adaptive and efficient packet scheduler for multipath TCP
CN115277581A (en) Network transmission control method and device, computer equipment and storage medium
US9178826B2 (en) Method and apparatus for scheduling communication traffic in ATCA-based equipment
CN113328906B (en) Flow real-time monitoring method and device, storage medium and electronic equipment
JP6390167B2 (en) Communication throughput prediction apparatus, communication throughput prediction method, and program
Xing et al. A highly scalable bandwidth estimation of commercial hotspot access points
CN109981487B (en) Data scheduling method and device, electronic equipment and readable storage medium
CN110290552B (en) Method and device for measuring cache depth, storage medium and electronic device
CN113453285B (en) Resource adjusting method, device and storage medium
CN110636632B (en) User scheduling method, device, base station and storage medium
Malik et al. Formal modelling of TCP congestion control mechanisms ECN/RED and SAP-LAW in the presence of UDP traffic
JP2014112779A (en) Data transmission controller, data transmission control method, and computer program
CN111245559B (en) Information determination method, information judgment method and device and computing equipment
CN114401230A (en) Sending rate control method and device based on cross-data center network communication
US9882751B2 (en) Communication system, communication controller, communication control method, and medium
CN111194060A (en) Data processing method, data processing device, computer equipment and storage medium

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

Effective date of registration: 20200113

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee before: Comba Telecom System (China) Ltd.