CN112491573B - Network parameter configuration method and device - Google Patents

Network parameter configuration method and device Download PDF

Info

Publication number
CN112491573B
CN112491573B CN201911353303.0A CN201911353303A CN112491573B CN 112491573 B CN112491573 B CN 112491573B CN 201911353303 A CN201911353303 A CN 201911353303A CN 112491573 B CN112491573 B CN 112491573B
Authority
CN
China
Prior art keywords
network
time period
throughput
value
period
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
CN201911353303.0A
Other languages
Chinese (zh)
Other versions
CN112491573A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP20863834.6A priority Critical patent/EP4020892A4/en
Priority to PCT/CN2020/112322 priority patent/WO2021047404A1/en
Publication of CN112491573A publication Critical patent/CN112491573A/en
Priority to US17/692,475 priority patent/US11695629B2/en
Application granted granted Critical
Publication of CN112491573B publication Critical patent/CN112491573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Abstract

The application relates to the technical field of communication and discloses a network parameter (e.g. ECN waterline) configuration method and device, which are used for dynamically configuring network parameters according to the change of network transmission characteristics, so that the network parameters are dynamically adapted to the change of network traffic, and the network transmission performance is ensured. The method comprises the following steps: acquiring network statistical data corresponding to a first time period, wherein the network statistical data comprises network transmission characteristics of network equipment in the first time period and a first value corresponding to a designated network parameter; determining a second value corresponding to the specified network parameter according to the network statistics data; the specified network parameter of the network device in a second time period is configured to the second value, the second time period being a time period subsequent to the first time period.

Description

Network parameter configuration method and device
Cross Reference to Related Applications
The present application claims priority from chinese patent application filed on day 9 and 12 of 2019, filed on the intellectual property office of the people's republic of China, application number 201910867097.9, entitled "a network parameter configuration method and related devices", the entire contents of which are incorporated herein by reference.
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a network parameter configuration method and device.
Background
With the rapid development of the internet, various network services are continuously enriched, and higher requirements are put forward on network transmission while higher experience is brought to users. Currently, throughput and delay are main indexes of network transmission, wherein network parameters such as explicit congestion notification (explicit congestion notification, ECN) waterline, priority-based flow control (priority-based flow control, PFC) waterline, random early detection (random early detection, RED) packet loss waterline and the like used for congestion control on network equipment such as a switch, a router and the like play an important role in regulating and controlling the throughput and the delay of the network transmission. For example: the regulation and control of throughput and time delay can be realized by adjusting RED packet loss waterline and the like of network equipment in a transmission control protocol (Transmission Control Protocol, TCP) network; in a remote direct memory access (remote direct memory access, RDMA) network, the regulation and control of throughput and time delay can be realized by adjusting ECN waterline of network equipment and the like.
Therefore, reasonable network parameter configuration plays an important role in throughput and time delay of network transmission, and ECN waterline is taken as an example, and is set higher, so that a buffer (buffer) queue of network equipment is easily caused to be continuously piled up, data buffering time delay is increased, transmission time delay is increased, ECN waterline is set lower, ECN waterline of network equipment is easily caused to be triggered, data forwarding quantity is reduced, and underthroughput is caused. Currently, network parameters are manually configured by expert according to experience, but as network environments are increasingly complex, network traffic and network traffic become ever more diverse, different network traffic models can be generated, and the manual configuration mode cannot be adapted to the increasingly complex network environments. Under a dynamic network flow model, how to dynamically adjust and accurately adapt network parameters along with the change of network flow, so as to ensure the network transmission performance, has become a problem to be solved urgently.
Disclosure of Invention
The application provides a network parameter configuration method and device, which are used for dynamically configuring network parameters according to the change of network transmission characteristics (network flow model), so that the network parameters are dynamically adapted to the change of network flow, and the network transmission performance is ensured.
In a first aspect, the present application provides a network parameter configuration method, where the method includes: acquiring network statistical data corresponding to a first time period, wherein the network statistical data comprises network transmission characteristics of network equipment in the first time period and a first value corresponding to a designated network parameter; determining a second value corresponding to the specified network parameter according to the network statistics data; the specified network parameter of the network device in a second time period is configured to the second value, the second time period being a time period subsequent to the first time period.
The network parameter configuration method described in the application can be realized by network equipment such as a switch and a router, can also be realized by components such as a processing chip and a circuit in the network equipment, and can also be realized by a configuration server connected with the network equipment through a communication network, or the components such as the processing chip and the circuit in the configuration server. By adopting the method, the value of the network parameter appointed by the network equipment in the next time period is determined and configured according to the network statistical data of the network equipment in a certain time period, so that the network parameter can be dynamically adjusted and accurately adapted along with the change of the network flow, the network transmission characteristics are dynamically adapted, and the network transmission performance is ensured.
In one possible design, the network transmission characteristic of the network device in the first period includes throughput of the network device in the first period, and when the throughput of the network device in the first period increases relative to an initial period, the initial period is a period before the first period, and the determining, according to the network statistics, the second value corresponding to the specified network parameter includes: and modifying the first value according to the first adjustment direction and the first step length to obtain the second value.
In the design, the throughput rising is used as positive feedback, and the designated network parameters are continuously adjusted according to the first adjusting direction, so that the throughput of the network equipment is increased, and the network transmission performance is improved.
In one possible design, the method further comprises: when the throughput of the network equipment rises relative to the throughput of the first time period in the second time period, adjusting the first step size according to a first step size increment; and when the throughput of the network equipment is not increased in the second time period relative to the first time period, the first step is adjusted in a reducing mode according to the first step.
In the design, after the designated network parameters are adjusted, when the throughput of the network equipment is increased, the first step length of the designated network parameters is increased according to the first step length increment, so that the current network transmission characteristics of the network equipment can be matched quickly and efficiently, and the network transmission performance is improved; after the designated network parameters are adjusted, when the throughput of the network equipment is not increased, the first step length of the designated network parameters is reduced according to the first step length, so that the problem that the transmission performance of the network is affected due to the fact that the amplitude of the designated network parameters is larger is solved.
In one possible design, the network transmission characteristic of the network device in the first period includes throughput of the network device in the first period, and when throughput of the network device in the first period is not increased relative to the initial period, determining the second value corresponding to the specified network parameter according to the network statistics includes: determining an initial value corresponding to the specified network parameter in the initial time period; modifying the initial value according to a second adjustment direction and a second step length to obtain a second value; or modifying the first value according to a first adjustment direction and a first step length to obtain the second value, wherein the second adjustment direction is opposite to the first adjustment direction, and the initial time period is a time period before the first time period.
In the design, the throughput is not increased to be negative feedback, the appointed network parameter is stopped to be continuously adjusted according to the first adjustment direction, the value of the appointed network parameter is restored to the value of the network parameter corresponding to the previous time period, and the appointed network parameter can be adjusted according to the second adjustment direction, so that the problems that the appointed network parameter is unreasonable to set and the network transmission performance is affected are avoided, such as time delay increase is avoided; in addition, when the throughput is not increased, the designated network parameters can be continuously adjusted according to a certain probability (such as 10%) according to the first adjustment direction, so that the problem that the configuration of the designated network parameters falls into a local optimal solution can be effectively avoided.
In one possible design, the specified network parameter of the network device in a third time period is configured to the first value when the throughput of the network device in the second time period does not increase relative to the first time period, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the third time period being a time period subsequent to the second time period.
In the above design, the adjustment of the designated network parameter according to the second adjustment direction is stopped and the value of the designated network parameter is restored to the value of the network parameter corresponding to the previous time period, so that the problems of unreasonable setting of the designated network parameter and influence on the network transmission performance, such as underspeed, are avoided.
In one possible design, the method further comprises: when the throughput of the network equipment is not reduced in the second time period relative to the first time period, and the data buffering delay is reduced or the number of data throughput channels is increased, adjusting the second step according to a second step increment; and when the throughput of the network equipment is reduced in the second time period relative to the first time period or the data buffering delay is not reduced and the number of data throughput channels is not increased, the second step size is adjusted in a reducing mode according to the second step size.
In the design, after the designated network parameters are adjusted, when the throughput of the network equipment is not reduced, and the data buffering delay is reduced or the number of data throughput channels is increased, the second step length of the designated network parameters is increased according to the second step length increment, so that the current network transmission characteristics of the network equipment can be matched quickly and efficiently, and the network transmission performance is improved; after the designated network parameters are adjusted, when the throughput of the network equipment is reduced or the data buffering delay is not reduced and the number of data throughput channels is not increased, the second step length of the designated network parameters is reduced according to the second step length, so that the problem that the transmission performance of the network is affected due to the fact that the amplitude of the adjusted designated network parameters is larger is solved.
In one possible design, before obtaining the network statistics corresponding to the first period of time, the method further includes: it is determined that the throughput difference value of the successive multiple calculations is less than the throughput fluctuation threshold. In the design, interference caused by factors such as flow fluctuation to network statistics data acquired by network equipment is avoided, and accuracy and reliability of network parameter configuration are guaranteed.
In a second aspect, the present application provides a communication device having a function for implementing the method in the first aspect or any one of the possible designs of the first aspect, where the function may be implemented by hardware, or may be implemented by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above, including, for example, a communication unit and a processing unit.
In one possible design, the device may be a chip or an integrated circuit.
In one possible design, the apparatus includes a memory and a processor, the memory storing a program for execution by the processor, the apparatus performing the functions of the first aspect or any of the possible designs of the first aspect when the program is executed by the processor.
In one possible design, the apparatus may be a network device such as a switch, router, or the like.
In a third aspect, the present application further provides a network device having a function of implementing the network device behavior in the first aspect or any one of the methods of the first aspect. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In one possible design, the network device includes a communication interface in a structure for receiving and transmitting data, a processor configured to support the network device to perform the corresponding functions in the first aspect or any of the possible designs of the first aspect. The memory is coupled to the processor that holds the program instructions and data necessary for the network device.
In a fourth aspect, the present application provides a computer readable storage medium storing computer instructions which, when executed, enable the method described in the first aspect or any one of the possible designs of the first aspect.
In a fifth aspect, the present application also provides a computer program product comprising a computer program or instructions which, when executed, enable the implementation of the method as described in the first aspect or any one of the possible designs of the first aspect.
In a sixth aspect, the present application further provides a chip for implementing the method described in the first aspect or any one of the possible designs of the first aspect.
The technical effects achieved by the second to sixth aspects are referred to the technical effects achieved by the first aspect.
Drawings
Fig. 1 is a schematic diagram of a communication architecture provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an ECN mechanism provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a network parameter configuration algorithm according to an embodiment of the present application;
fig. 4 is a schematic diagram of a finite state machine implementation of a network parameter configuration algorithm according to an embodiment of the present application;
fig. 5 is a schematic diagram of implementation of a throughput probing stage according to an embodiment of the present application;
fig. 6 is a schematic diagram of implementation of a delay detection stage according to an embodiment of the present application;
fig. 7 is a schematic diagram of a network parameter configuration process according to an embodiment of the present application;
Fig. 8 is a schematic diagram of a network parameter configuration implementation provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
Fig. 1 illustrates a schematic diagram of a possible communication system architecture provided by an embodiment of the present application, where the communication system architecture includes a plurality of terminal devices and a plurality of network devices, where the plurality of terminal devices may implement communications by using one or more network devices through transmission control protocol (Transmission Control Protocol, TCP), remote direct memory access (remote direct memory access, RDMA), and so on. The network device can continuously adjust (configure) network parameters for congestion control according to network statistics data (such as network throughput) in one or more time periods, so that the network parameters in the network device can dynamically adjust and accurately adapt along with the change of network traffic, and network transmission performance is guaranteed.
Optionally, in the communication system architecture shown in fig. 1, a configuration server may further be included, where the configuration server may be interconnected with one or more network devices through a communication network, where the communication network may be a local area network, a wide area network that is switched through a relay (relay) device, or include a local area network and a wide area network. The network device can also send the network statistics data of the network device in one or more time periods to the configuration server, and the configuration server continuously adjusts (configures) the network parameters of the congestion control of the network device based on the network statistics data of the network device in one or more time periods and sends the network parameters to the network device, so that the network parameters in the network device can be dynamically adjusted and accurately adapted along with the change of the network flow, and the network transmission performance is ensured.
Before describing embodiments of the present application, some of the terms in the present application are explained first to facilitate understanding by those skilled in the art.
1) Remote direct memory access (remote direct memory access, RDMA), is a direct memory access technique that moves data directly and quickly from one terminal device's memory to another terminal device's memory over a network to eliminate the impact on processor performance. The main processes of RDMA are: the first terminal device directly sends the data in the memory to network devices such as a switch and a router in the network through the network card of the first terminal device, the network device forwards the data to the second terminal device, and the network card of the second terminal device directly stores the received data in the memory of the second terminal device, so that the processors of the two terminal devices do not need to participate in the data access process, and the influence on the performance of the processor of the terminal device is reduced. This allows high throughput, low latency network communication, particularly suitable for use in massively parallel computer clusters.
2) The network device, which is a device having a data exchange (forwarding) function, may be a switch, a device such as a router or a gateway, or may be another device or device having a data exchange function, which is not limited in the embodiment of the present application.
3) A terminal device, a device with transceiving functionality, for example, may be a handheld device with wireless/wired connection functionality, a vehicle mounted device, a wearable device, a computing device, a service server, a Mobile Station (MS) or other processing device connected to a wireless modem, etc., as well as a mobile terminal communicating with one or more core networks via an access network, etc.
4) Throughput, throughput refers to the amount of data (measured in bits, bytes, packets, etc.) successfully transferred per unit time for a network, device, port, virtual circuit, or other facility.
5) The data buffering delay refers to the delay caused by the buffering of the network device to the transmission of data, and generally takes the value of the average time required by the transmission of the data from one end (the buffer queue inlet) to the other end (the buffer queue outlet) of the buffer queue of the network device.
6) The network device may provide one or more buffer queues for data transmission (forwarding), and each buffer queue provided by the network device for data transmission is one data throughput channel of the network device. In general, in a case where the network device caches a certain amount, as the average occupied cache of the data cache queue increases, the number of data throughput channels of the network device decreases, whereas as the average occupied cache of the data cache queue decreases, the number of data throughput channels of the network device increases.
7) Explicit congestion notification (explicit congestion notifi)The location, ECN) mechanism, referring to fig. 2, the network device may configure an ECN up-pipeline (Kmax), an ECN down-pipeline (Kmin), and an ECN marking probability (PropPcnt), where the ECN marking probability may also be referred to as a maximum marking probability. The two threshold values of the buffer queue length of the network device, namely, the ECN upper waterline and the ECN lower waterline, define marking probabilities, when the buffer queue length is lower than the ECN lower waterline, data packets passing through the network device are not marked by ECN (equivalent to the actual marking probability of 0), when the buffer queue length is higher than the ECN upper waterline, data packets passing through the network device are all marked by ECN (equivalent to the actual marking probability of 1), when the buffer queue length is not lower than the ECN lower waterline and is not higher than the ECN upper waterline, the data packets passing through the network device are marked by ECN with the probability of linearly increasing with the actual length of the buffer queue of the network device, and the marking probabilities are generally as followsWhere K is the actual length of the network device cache queue.
The receiving end device (receiving end of the data packet) discovers that the received data packet forwarded by the network device contains the ECN marked data packet, and immediately generates congestion notification messages (congestion notification packet, CNP) and sends the congestion notification messages to the sending end device (sending end of the data packet), and when the sending end device receives the CNP, the sending end device correspondingly reduces the sending rate of the data packet according to the ECN marked probability and other information of the data packet contained in the CNP, thereby relieving network congestion of the network device and avoiding data packet loss. Generally, increasing the ECN upper waterline, increasing the ECN lower waterline, or decreasing the ECN marking probability increases the throughput of the network device, but causes queue congestion and increases in latency; conversely, decreasing the ECN upper waterline, decreasing the ECN lower waterline, or increasing the ECN marking probability, will alleviate queue congestion and reduce latency, but tend to result in throughput loss.
8) A priority-based flow control (PFC) mechanism is a queue-based backpressure mechanism, and generally, a network device is configured with a PFC waterline, and when a buffer queue length in the network device reaches the PFC waterline, a pause (pause) frame is sent to an upstream device to notify the upstream device to pause sending a data packet, and when the buffer queue length in the network device is lower than the PFC waterline, a PFC release message is sent to the upstream device to notify the upstream device to resume sending the data packet, so as to avoid the data packet from being lost.
The method aims at adjusting network parameters such as ECN upper waterline, ECN lower waterline, ECN marking probability, PFC waterline and the like by dynamically adapting network transmission characteristics, realizing dynamic adjustment and accurate adaptation of the network parameters along with the change of network traffic, reducing time delay while maximizing throughput, and further guaranteeing network transmission performance.
Embodiments of the present application are described in detail below with reference to the accompanying drawings. In addition, it should be understood that in the embodiments of the present application, at least one may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in the present application.
In the embodiment of the present application, "/" may indicate that the associated object is an "or" relationship, for example, a/B may indicate a or B; "and/or" may be used to describe that there are three relationships associated with an object, e.g., a and/or B, which may represent: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. In order to facilitate description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. may be used to distinguish between technical features that are the same or similar in function. The terms "first," "second," and the like do not necessarily denote any order of quantity or order of execution, nor do the terms "first," "second," and the like. In this application embodiment, the terms "exemplary" or "such as" and the like are used to denote examples, illustrations, or descriptions, and any embodiment or design described as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. The use of the word "exemplary" or "such as" is intended to present the relevant concepts in a concrete fashion to facilitate understanding.
The network parameter configuration process provided by the embodiment of the present application is described below in connection with a scenario in which the network device configures network parameters of its own ECN (ECN up-link, ECN down-link, and ECN label probability).
As shown with reference to fig. 3 and 4, the configuration process for network parameters of an ECN may include three phases (states): the steady state detection phase, the throughput detection phase (probe_bw) and the delay detection phase (probe_rtt) can realize the switching of different phases (states) through a finite state machine. Steady state detection phase (state 1): detecting throughput, and entering a throughput detection stage or a time delay detection stage when the throughput of the network equipment is detected to be in a steady state (stable); throughput probing phase (state 2): exciting an ECN upper waterline (Kmax) and an ECN lower waterline (Kmin) to be up-regulated, and exciting an ECN marking probability (DropPcnt) to be down-regulated until the throughput reaches an upper limit, and returning to a steady-state detection stage; delay detection phase (state 3): and under the condition that the throughput is not reduced, the data caching delay is reduced or the number of data throughput channels is increased, as positive feedback, the ECN upper waterline and the ECN lower waterline are stimulated to be downwards regulated, and the ECN marking probability is stimulated to be upwards regulated until the minimum data caching delay and/or the maximum number of data throughput channels are reached, and the stable detection stage is returned. The finite state machine is a mathematical model representing behaviors such as a finite number of phases (states) and transitions and/or actions among the phases, and in the embodiment of the present application, transitions among a steady state detection phase, a throughput detection phase and a delay detection phase can be realized through the finite state machine, for example, throughput is detected in the steady state detection phase, and when throughput of the network device is detected to be in a steady state, the throughput detection phase or the delay detection phase is entered, so that transitions from the steady state detection phase to the throughput detection phase or the delay detection phase are realized.
Specifically, when the network device is running, the running time of the network device can be divided into a plurality of time periods, network statistical data corresponding to the time periods is obtained, and then the ECN upper waterline, the ECN lower waterline and the ECN marking probability can be determined and configured according to the network statistical data of different time periods, so that the ECN upper waterline, the ECN lower waterline and the ECN marking probability are dynamically adapted to the current network transmission characteristics (network traffic model) of the network device, and the network transmission performance is ensured. The time periods corresponding to the multiple time periods divided by the network device may be the same or different, which is not limited in the embodiment of the present application.
As an example, the network device may divide its own running time according to a set duration (or period) to obtain a plurality of time periods. The network statistics data acquired by the network device for any time period include network transmission characteristics such as the number of forwarding bytes of the network device in the time period, the average depth of a buffer queue, the time stamp of a sent message, throughput, the number of data throughput channels and the like, wherein the throughput of the network device in the time period can be determined according to the ratio of the number of forwarding bytes of the network device in the time period to the duration of the time period (such as the difference value between the maximum time stamp and the minimum time stamp of the sent message in the time period), and the network statistics data can also include values corresponding to network parameters such as the ECN uplink, the ECN downlink, the ECN marking probability and the like of the network device in the time period.
The configuration of network parameters of the ECN is described below in connection with a specific configuration phase.
And (3) a step of: steady state detection phase
In order to avoid interference to network statistics data acquired by network equipment caused by factors such as flow fluctuation, and ensure accuracy and reliability of ECN network parameter configuration, when the network equipment performs ECN network parameter configuration, firstly, according to throughput of the network equipment in a plurality of continuous time periods, calculating whether throughput difference values of two adjacent time periods of the network equipment are continuously smaller than a throughput fluctuation threshold value for a plurality of times, so as to detect whether flow of the network equipment enters a steady state, if the continuously calculated throughput difference values are larger than or equal to the throughput fluctuation threshold value, the fact that the flow passing through the network equipment has larger fluctuation is indicated, and larger interference is possibly caused to determination and configuration of ECN network parameters, the network equipment keeps the ECN network parameters unchanged, and continuously calculates whether the throughput difference values of the two adjacent time periods of the network equipment are continuously smaller than the throughput fluctuation threshold value for a plurality of times.
If the throughput difference value calculated continuously for many times is smaller than the throughput fluctuation threshold value, the flow of the network equipment is stable, the network equipment enters a steady state stage, factors such as flow fluctuation and the like cannot cause larger interference to the determination and configuration of the network parameters of the ECN, and the network equipment enters a throughput detection stage or a time delay detection stage.
In one possible implementation, after determining to enter the steady-state phase, the network device polls and selects the throughput detection phase and the delay detection phase, that is, the throughput detection phase or the delay detection phase selected after two adjacent steady-state phases are different, the throughput detection phase is selected after the previous steady-state phase, and the delay detection phase is selected after the next steady-state phase.
Optionally, when there are multiple network parameters of the ECN, such as an ECN up-link, an ECN down-link, and an ECN marking probability, the network device may sequentially configure the ECN up-link, the ECN down-link, and the ECN marking probability according to an order of configuring (adjusting) the ECN up-link, then configuring the ECN down-link, and finally configuring the ECN marking probability. It should be understood that when there are multiple network parameters of the ECN, the order of configuring the multiple network parameters of the ECN is not limited in the embodiments of the present application, for example, the order of configuring the ECN lower water line, then configuring the ECN upper water line, and finally configuring the ECN marking probability may also be adopted.
And II: throughput probing phase
Referring to fig. 5, when the ECN pipeline is configured:
the network device may first up-regulate a value of an ECN upper waterline of a next time period according to a first step size corresponding to the ECN upper waterline, and wait to enter the next time period, and after the network device enters the next time period, the next time period is taken as a current time period of the network device, the network device obtains network statistics data of the current time period, and determines throughput of the network device in the current time period, where the first step size corresponding to the ECN upper waterline may be 20%, 30%, 50% of a value of a default ECN upper waterline, and so on.
After the throughput of the network equipment in the current time period is determined by the network equipment, comparing the throughput of the network equipment in the current time period with the throughput of the network equipment in the previous time period, and if the throughput of the network equipment in the previous time period is increased compared with the throughput of the network equipment in the current time period, continuously adjusting the value of the ECN upper waterline in the next time period according to a first step length corresponding to the ECN upper waterline; if the throughput of the network device does not increase in the current period compared to the previous period, the network device may set the ECN watermark value in the next period to the ECN watermark value corresponding to the previous period, and enter a steady state probing phase.
In one possible implementation, to avoid the configuration of the ECN upper waterline falling into a locally optimal solution, if the throughput of the network device is not increased in the current time period compared to the previous time period, the network device may further up-adjust the value of the ECN upper waterline in the next time period according to the first step corresponding to the ECN upper waterline with the probability of alpha1, set the value of the ECN upper waterline in the next time period to the value of the ECN upper waterline corresponding to the previous time period with the probability of (1-alpha 1), and enter the steady state detection phase. Wherein alpha1 is not greater than 1, optionally, alpha1 is not greater than 50%, such as 10%, 15%, etc., and of course, the value of alpha1 may also be randomly selected within a certain value range (such as 5% -30%), or dynamically attenuated or increased within a certain value range (such as attenuated within a certain value range with the increase of the value of the waterline on ECN).
In one possible implementation, to ensure that the ECN upper waterline quickly and efficiently matches the current network traffic model of the network device, if the current time period of the network device increases in throughput compared to the previous time period, the network device may further adjust up a first step size corresponding to the ECN upper waterline, for example, by adjusting up the first step size from 40% of the value of the default ECN upper waterline to 60% of the value of the default ECN upper waterline; the network device may also downregulate a first step size corresponding to the ECN upper waterline if the throughput of the current time period of the network device is not increased compared to a previous time period, such as downregulating the first step size from 40% of the value of the default ECN upper waterline to 20% of the value of the default ECN upper waterline.
The same applies to the ECN down-pipeline configuration as to the ECN up-pipeline configuration, and when the ECN down-pipeline configuration is performed, the above-mentioned process of the ECN up-pipeline configuration can be referred to.
When the ECN marking probability is configured:
the network device may first down-adjust the value of the ECN marking probability of the next time period according to a first step length corresponding to the ECN marking probability, wait for entering the next time period, and after the network device enters the next time period, the next time period is used as a current time period of the network device, and the network device obtains network statistics data of the network device in the current time period, so as to determine throughput of the network device in the current time period. The first step length corresponding to the ECN marking probability may be 0.1, 0.2, etc.
After the throughput of the network equipment in the current time period is determined by the network equipment, comparing the throughput of the network equipment in the current time period with the throughput of the network equipment in the previous time period, and continuously downwards adjusting the value of the ECN marking probability of the next time period according to the first step length corresponding to the ECN marking probability if the throughput of the network equipment in the previous time period is increased compared with the throughput of the network equipment in the current time period; if the throughput of the network device is not increased in the current period compared to the previous period, the network device may set the value of the ECN marking probability in the next period to the value of the ECN marking probability corresponding to the previous period, and enter a steady state probing phase.
In one possible implementation, to avoid the configuration of the ECN marking probability from falling into a locally optimal solution, if the throughput of the network device in the current time period is not increased compared to the throughput of the network device in the previous time period, the network device may further continuously adjust the value of the ECN marking probability in the next time period by a first step corresponding to the ECN marking probability with the probability of alpha2, set the value of the ECN marking probability in the next time period to the value of the ECN marking probability in the previous time period with the probability of (1-alpha 2), and enter a steady state detection stage, where alpha2 is not greater than 1, optionally, alpha2 is not greater than 50%, such as 10%, 15%, and the like, and of course, the value of alpha2 may also be randomly selected within a certain value range (such as 5% -30%), or dynamically attenuated or increased within a certain value range (such as attenuated within a certain value range with the decrease of the ECN marking probability).
Thirdly,: time delay detection stage
Referring to fig. 6, when the ECN pipeline is configured:
the network device may first down-regulate the value of the ECN upper waterline in a next time period according to a second step length corresponding to the ECN upper waterline, and wait to enter the next time period, after the network device enters the next time period, the next time period is taken as a current time period of the network device, the network device obtains network statistics data in the current time period, and determines throughput, data buffering delay and data throughput channel number of the network device in the current time period, where the second step length corresponding to the ECN upper waterline may be the same as the first step length corresponding to the ECN upper waterline, or may be different, for example, may be 20%, 30%, 40% of the value of the default ECN upper waterline.
After the throughput, the data buffering delay and the data throughput channel number of the network equipment in the current time period are determined, comparing the throughput, the data buffering delay and the data throughput channel number of the network equipment in the current time period with those of the network equipment in the previous time period, if the throughput of the network equipment is not reduced in the current time period compared with that of the network equipment in the previous time period, and when the data buffering delay is reduced or the data throughput channel number is increased, continuing to downwards adjust the value of the ECN upper waterline in the next time period according to a second step length corresponding to the ECN upper waterline; if the throughput of the network device is reduced in the current period of time compared with the previous period of time, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the network device may set the ECN upper waterline value of the network device in the next period of time to the ECN upper waterline value corresponding to the previous period of time, and enter a steady state detection phase.
In one possible implementation, to avoid the configuration of the ECN upper waterline falling into a locally optimal solution, if the throughput of the network device is reduced or the data buffering delay is not reduced and the number of data throughput channels is not increased in the current period compared with the previous period, the network device may further continuously adjust the value of the ECN upper waterline of the next period by a second step corresponding to the ECN upper waterline with the probability of alpha3, set the value of the ECN upper waterline of the next period to the value of the ECN upper waterline corresponding to the previous period with the probability of (1-alpha 3), and enter the steady state detection phase. Wherein alpha3 is not greater than 1, optionally, alpha3 is not greater than 50%, such as 10%, 20%, etc., and of course, the value of alpha3 may also be randomly selected within a certain value range (such as 5% -25%), or dynamically attenuated or increased within a certain value range (such as attenuated within a certain value range as the value of the waterline on ECN decreases).
In one possible implementation, to ensure that the ECN upper waterline is fast and efficient to match with the current network traffic model of the network device, if the throughput of the current time period of the network device is not reduced compared to the previous time period, and the data buffering delay is reduced or the number of data throughput channels is increased, the network device may further adjust up a second step size corresponding to the ECN upper waterline, for example, adjust up the second step size from 40% of the value of the default ECN upper waterline to 60% of the value of the default ECN upper waterline; if the throughput of the current time period of the network device is reduced compared with the throughput of the previous time period, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the network device may further adjust a second step size corresponding to the ECN upper waterline, for example, adjust the second step size from 40% of the value of the default ECN upper waterline to 20% of the value of the default ECN upper waterline.
The same applies to the adjustment of the ECN up-waterline when the ECN down-waterline is adjusted, and reference is made to the adjustment process for the ECN up-waterline described above.
When the ECN marking probability is configured:
the network device may first adjust up the value of the ECN marking probability of the next time period according to a second step length corresponding to the ECN marking probability, wait for entering the next time period, and after the network device enters the next time period, the next time period is used as a current time period of the network device, and the network device obtains network statistics data of the current time period, so as to determine throughput, data buffering delay and data throughput channel number of the network device in the current time period. The second step length corresponding to the ECN marking probability may be the same as or different from the first step length corresponding to the ECN marking probability, for example, may be 0.1, 0.2, or the like.
After the throughput, the data buffering delay and the data throughput channel number of the network equipment in the current time period are determined, comparing the throughput, the data buffering delay and the data throughput channel number of the current time period with those of the previous time period, if the throughput of the network equipment is not reduced in the current time period compared with the previous time period, and when the data buffering delay is reduced or the data throughput channel number is increased, continuing to adjust the value of the ECN marking probability of the next time period according to a second step length corresponding to the ECN marking probability; if the throughput of the network device is reduced in the current period of time compared with the previous period of time, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the network device may set the value of the ECN marking probability of the next period of time to the value of the ECN marking probability corresponding to the previous period of time, and enter a steady state probing phase.
In one possible implementation, to avoid the configuration of the ECN marking probability falling into a locally optimal solution, if the current time period is not reduced compared to the previous time period, and when the throughput of the network device is reduced and the data buffering delay is reduced or the number of data throughput channels is increased, the network device may further up-regulate the value of the ECN marking probability of the next time period according to the second step length corresponding to the ECN marking probability with the probability of alpha4, set the value of the ECN marking probability of the next time period to the value of the ECN marking probability corresponding to the previous time period with the probability of (1-alpha 4), and enter a steady state detection stage, where alpha4 is not greater than 1, optionally, alpha4 is not greater than 50%, such as 10%, 20%, or the like, and of course, the value of alpha4 may also be randomly selected within a certain range of values (such as 5% -30%), or dynamically attenuated or increased within a certain range of values (such as attenuated within a certain range of values of ECN marking probability with the increase of ECN marking probability).
The following describes a network parameter configuration method provided in the embodiments of the present application, which is applicable to the communication system architecture shown in fig. 1, and uses a network device to configure its own network parameters as an example, and referring to fig. 7, a specific flow of the method includes:
S701, network equipment acquires network statistical data corresponding to a first time period, wherein the network statistical data comprises network transmission characteristics of the network equipment in the first time period and a first value corresponding to a specified network parameter.
In the embodiment of the application, when the network equipment runs, the running time of the network equipment can be divided into a plurality of time periods, network data corresponding to the time periods are respectively counted to obtain the network statistical data comprising each time period, and further network parameters can be determined and configured according to the network transmission characteristics of different time periods, so that the network parameters are dynamically adapted to the network transmission characteristics of the network equipment, and the network transmission performance is ensured. The time periods corresponding to the multiple time periods divided by the network device may be the same or different, which is not limited in this embodiment of the present application, and as an example, the network device may divide its running time according to a set time period (or period) to obtain multiple time periods.
In addition, in order to avoid interference caused by factors such as flow fluctuation and the like on network statistical data acquired by the network equipment, and ensure accuracy and reliability of network parameter configuration, in one possible implementation, before the network equipment determines and configures specified network parameters, the network equipment determines that a throughput difference value calculated continuously for a plurality of times is smaller than a throughput fluctuation threshold value.
That is, before the network device determines and configures the network parameters, firstly, according to the throughput of the network device in a plurality of continuous time periods, calculating whether the throughput difference value of two adjacent time periods of the network device is continuously smaller than the throughput fluctuation threshold value for a plurality of times, so as to detect whether the flow of the network device enters a steady state, if the continuously calculated throughput difference value is smaller than the throughput fluctuation threshold value for a plurality of times, the flow of the network device is stable, and the factors such as the flow fluctuation and the like do not cause larger interference to the determination and configuration of the designated network parameters, and the network device determines and configures the designated network parameters.
After the network device determines that the throughput difference value calculated multiple times in succession is smaller than the throughput fluctuation threshold, the network device may modify the value of the specified network parameter according to the first adjustment direction and the first adjustment step, and configure the value of the specified network parameter in the next time period to be the value modified according to the first adjustment direction and the first adjustment step. And after determining that the throughput difference value calculated for a plurality of times is smaller than the throughput fluctuation threshold, taking each current time period of the network equipment as a first time period of the network equipment, and acquiring network statistical data corresponding to the first time period.
In embodiments of the present application, the specified network parameters may include, but are not limited to, one or more of ECN up-waterline, ECN down-waterline, ECN marking probability, PFC waterline, RED packet loss threshold; the network transmission characteristics may include, but are not limited to, one or more of throughput, data buffering delay, number of data throughput channels, etc.; the network statistical data of the first time period, which is acquired by the network equipment, comprises the network transmission characteristics of the network equipment in the first time period and a first value corresponding to the designated network parameter.
In addition, it should be understood that, in the embodiment of the present application, when the specified network parameters are different, the first adjustment direction, the first step size, the second adjustment direction, the second step size, and the like for modifying the specified network parameters may be the same or different. For example: when the specified network parameter is the ECN upper waterline, the first adjusting direction is up-regulated, the second adjusting direction is down-regulated, and when the specified network parameter is the ECN lower waterline, the first adjusting direction is up-regulated, the second adjusting direction is down-regulated, and the first adjusting direction and the second adjusting direction are the same as the ECN upper waterline; when the specified network parameter is ECN marking probability, the first adjusting direction is downward adjustment, and the second adjusting direction is upward adjustment, which is different from ECN waterline.
In one possible implementation, specifying a first adjustment direction of the network parameter facilitates improving throughput of the network device, and specifying a second adjustment direction of the network parameter facilitates reducing data buffering delay of the network device and/or increasing a number of data throughput channels of the network device, the first adjustment direction and the second adjustment direction being generally opposite.
S702, the network equipment determines a second value corresponding to the specified network parameter according to the network statistical data.
Taking the example that the network transmission characteristic includes throughput as an example, in one possible implementation, when the throughput of the network device rises in a first period of time relative to an initial period of time, where the initial period of time is a period of time before the first period of time, it is described that the specified network parameter is adjusted according to the first adjustment direction, so as to be beneficial to improving the throughput of the network device, and the network device modifies a first value corresponding to the specified network parameter according to the first adjustment direction and the first step length to obtain a second value of the network parameter. When the throughput of the network device does not rise in the first time period relative to the initial time period, the network device is stated that the adjustment of the specified network parameter according to the first adjustment direction is not beneficial to improving the throughput of the network device, the network device can fall back the value corresponding to the specified network parameter to the initial value corresponding to the initial time period, and the initial value corresponding to the initial time period is taken as the second value of the specified network parameter, wherein the initial time period is the time period before the first time period.
In addition, in order to avoid the configuration of the network parameters from falling into a locally optimal solution, when the network device determines that the throughput in the first period is not increased relative to the throughput in the initial period, the network device may further roll back the value corresponding to the specified network parameter to the initial value corresponding to the initial period according to a first probability (e.g. 1-alpha), and use the initial value corresponding to the initial period as the second value of the specified network parameter; and modifying the first value corresponding to the specified network parameter according to the second probability (such as alpha) according to the first adjustment direction and the first step length to obtain a second value corresponding to the specified network parameter, wherein the value of alpha is not more than 1, such as 10%, 15% and the like.
As an example, when it is determined that the throughput in the first period of time does not increase relative to the throughput in the initial period of time, the network device may roll back the value corresponding to the ECN upper waterline to the initial value corresponding to the initial period of time according to the first probability, take the initial value corresponding to the initial period of time as the second value of the ECN upper waterline, and modify the first value corresponding to the ECN upper waterline according to the second probability according to the first adjustment direction and the first adjustment step size, to obtain the second value corresponding to the ECN upper waterline. Wherein the sum of the first probability and the second probability is 1, and the configuration can be carried out according to the requirement, for example, the first probability is configured to be 90%, and the second probability is configured to be 10%.
In another possible implementation, after determining that the throughput in the first period of time does not increase relative to the throughput in the initial period of time, the network device rolls back the value corresponding to the specified network parameter to the initial value corresponding to the initial period of time, the network device may modify the initial value according to the second adjustment direction and the second step length to obtain the second value of the specified network parameter, so as to reduce the data buffering delay of the network device and/or increase the number of data throughput channels of the network device.
S703, the network device configures the specified network parameter of the network device in a second period of time to the second value, where the second period of time is a period of time after the first period of time.
In one possible implementation, to ensure that the specified network parameters quickly and efficiently match the current network transmission characteristics of the network device, after S703, when the throughput of the network device increases relative to the first time period in the second time period, the first step is incrementally adjusted by the first step; when the throughput of the network device does not rise in the second time period relative to the first time period, the first step is adjusted in a reducing mode according to the first step.
In addition, if the network device modifies the value of the specified network parameter according to the second adjustment direction and the second step length, after obtaining the second value of the specified network parameter, and configures the value of the specified network parameter in the next time period (second time period) to the second value, when the network device modifies the value of the specified network parameter in the next time period (second time period) according to the second adjustment direction and the second step length, relative to the time period (first time period) before modifying the value of the specified network parameter in the second adjustment direction and the second step length, the throughput of the network device is not reduced, and when the data buffering delay is reduced or the number of data throughput channels is increased, it is stated that the specified network parameter is adjusted according to the second adjustment direction, which is beneficial to reducing the data buffering delay or increasing the number of data throughput channels, and the network device continues to modify the value of the specified network parameter in the next time period (third time period) according to the second adjustment direction and the second step length, and configures the modified value of the specified network parameter for the next time period (third time period) in the second time period.
When the network device does not increase the throughput of the network device or the data buffering delay does not decrease and the number of data throughput channels does not increase during a next time period (second time period) in which the value of the specified network parameter is modified according to the second adjustment direction and the second step size, relative to a time period (first time period) before the value of the specified network parameter is modified according to the second adjustment direction and the second step size, the network device may return the value of the specified network parameter during the next time period (third time period) of the second time period to the value (first value) of the specified network parameter during the previous time period (first time period) to the value of the specified network parameter.
In one possible implementation, to avoid the configuration of the network parameter falling into a locally optimal solution, when the network device is in a next time period (second time period) in which the value of the specified network parameter is modified according to the second adjustment direction and the second step, the throughput of the network device is not increased relative to a time period (first time period) before the value of the specified network parameter is modified according to the second adjustment direction and the second step, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the network device may further fall back the value of the specified network parameter of the next time period (third time period) of the second time period to the value (first value) of the specified network parameter of the previous time period (first time period) according to the third probability; the value of the specified network parameter (the value of the specified network parameter corresponding to the second time period) is modified according to the fourth probability according to the second adjustment direction and the second step length, and the modified value of the specified network parameter is configured for the next time period (the third time period) of the second time period, wherein the sum of the third probability and the fourth probability is 1, and the configuration can be performed according to requirements, for example, the third probability is configured to be 85%, and the fourth probability is configured to be 15%.
In one possible implementation manner, in order to ensure that the specified network parameters are fast and efficiently matched with the current network transmission characteristics of the network device, when the throughput of the network device is not reduced in a second period of time relative to the throughput of the network device in the first period of time, and the data buffering delay is reduced or the number of data throughput channels is increased, the second step size is adjusted according to the second step size increment; and when the throughput of the network equipment is reduced relative to the first time period in the second time period, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the second step size is adjusted in a reducing mode according to the second step size.
Referring to fig. 8, in this embodiment of the present application, when a network device is running, its running time may be divided into a plurality of time periods, and network data corresponding to the plurality of time periods may be counted separately to obtain network statistics data including each time period, so that values of specified network parameters are determined according to network transmission characteristics of different time periods, and the determined values of the specified network parameters are configured into the network device, so as to ensure transmission performance of the network device. If the specified network parameter is the ECN upper waterline, the throughput of the network device increases relative to the time period before the value of the ECN upper waterline is adjusted by the network device, and the network device continues to adjust the value of the ECN upper waterline by the network device, and configures the value of the ECN upper waterline in the next time period to be the value of the ECN upper waterline obtained after the continuous adjustment, so that the network device obtains a larger throughput.
In other embodiments, the network device may also send the network statistics of each time period to the configuration server, where the configuration server dynamically modifies the value of the designated network parameter of the network device according to the network statistics of the network device in each time period based on the parameter configuration method, and sends the modified value of the network parameter to the network device to adapt to the current network transmission characteristic (network traffic model) of the network device, so as to ensure the performance of the network.
The foregoing describes the solution provided in this application primarily from the perspective of the network device. It will be appreciated that, in order to achieve the above-described functions, the network device includes corresponding hardware structures and/or software modules (or units) that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Based on the above embodiments, the embodiments of the present application provide a communication device, referring to fig. 9, the communication device 900 includes: a communication interface 901, a processor 902, and a memory 903, wherein:
the communication interface 901, the processor 902 and the memory 903 are interconnected. Optionally, the communication interface 901, the processor 902 and the memory 903 are connected to each other by a bus 904; the bus 904 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus.
The communication apparatus 900 implements the network parameter configuration method as shown in fig. 7:
the communication interface 901 is configured to receive and transmit data;
the processor 902 is configured to call program instructions stored in the memory 903 to perform the following method: acquiring network statistics data corresponding to a first time period through a communication interface 901, wherein the network statistics data comprise network transmission characteristics of network equipment in the first time period and first values corresponding to specified network parameters; determining a second value corresponding to the specified network parameter according to the network statistics data; the specified network parameter of the network device in a second time period is configured to the second value, the second time period being a time period subsequent to the first time period.
In a possible design, the network transmission characteristic of the network device in the first period includes throughput of the network device in the first period, when the throughput of the network device in the first period increases relative to an initial period, the initial period being a period before the first period, and the determining, according to the network statistics, the second value corresponding to the specified network parameter includes: and modifying the first value according to the first adjustment direction and the first step length to obtain the second value.
In one possible design, the method further comprises: when the throughput of the network equipment rises relative to the throughput of the first time period in the second time period, adjusting the first step size according to a first step size increment; and when the throughput of the network equipment is not increased in the second time period relative to the first time period, the first step is adjusted in a reducing mode according to the first step.
In one possible design, the network transmission characteristic of the network device in the first period includes throughput of the network device in the first period, and when throughput of the network device in the first period is not increased relative to an initial period, the initial period is a period before the first period, and the determining, by the network statistics, the second value corresponding to the specified network parameter includes: determining an initial value corresponding to the specified network parameter in the initial time period; modifying the initial value according to a second adjustment direction and a second step length to obtain a second value; or modifying the first value according to the first adjustment direction and the first step length to obtain the second value.
In a possible design, the method further includes configuring the specified network parameter of the network device for a third time period to the first value when the throughput of the network device for the second time period does not increase relative to the first time period, or when the data buffering delay is not reduced and the number of data throughput channels is not increased, the third time period being a time period subsequent to the second time period.
In one possible design, the method further includes adjusting the second step size in a second step size increment when the throughput of the network device is not reduced relative to the first time period during the second time period and the data buffering delay is reduced or the number of data throughput channels is increased; and when the throughput of the network equipment is reduced in the second time period relative to the first time period or the data buffering delay is not reduced and the number of data throughput channels is not increased, the second step size is adjusted in a reducing mode according to the second step size.
In one possible design, before obtaining the network statistics corresponding to the first period of time, the method further includes: it is determined by the communication interface 901 that the throughput difference value calculated a plurality of times in succession is smaller than the throughput fluctuation threshold.
As another form of the present embodiment, there is provided a computer-readable storage medium having stored thereon instructions that, when executed, can perform the network parameter configuration method in the above-described method embodiment.
As another form of this embodiment, there is provided a computer program product containing instructions that, when executed, perform the network parameter configuration method of the method embodiment described above.
As another form of the present embodiment, a chip is provided, which can perform the network parameter configuration method in the above method embodiment when the chip is running.
In the embodiments of the present application, the processor may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
In the embodiment of the present application, the memory may be a nonvolatile memory, such as a hard disk (HDD) or a Solid State Drive (SSD), or may be a volatile memory (volatile memory), for example, a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory in the embodiments of the present application may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
The technical solution provided in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a terminal device, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (digital video disc, DVD)), or a semiconductor medium, etc.
In the embodiments of the present application, where there is no logical conflict, embodiments may be referred to each other, for example, methods and/or terms between method embodiments may be referred to each other, for example, functions and/or terms between apparatus embodiments and method embodiments may be referred to each other.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (14)

1. A method for configuring network parameters, comprising:
the network equipment acquires network statistical data corresponding to a first time period, wherein the network statistical data comprises network transmission characteristics of the network equipment in the first time period, and the network transmission characteristics of the first time period comprise throughput of the first time period;
the network equipment sends the network statistical data to a configuration server, and the configuration server is used for determining a second value corresponding to a specified network parameter according to the network statistical data and the first value corresponding to the specified network parameter;
The network equipment receives a second value corresponding to the specified network parameter sent by the configuration server;
the network device configures the specified network parameter of the network device at a second time period to the second value, the second time period being a time period subsequent to the first time period;
when throughput of the network device rises in the first period relative to an initial period, wherein the initial period is a period before the first period, and the determining, by the configuration server, the second value corresponding to the specified network parameter according to the network statistics data and the first value corresponding to the specified network parameter includes:
modifying the first value according to a first adjustment direction and a first step length to obtain the second value;
when the specified network parameter is an explicit congestion notification ECN uplink, ECN downlink, priority flow control PFC uplink, random early detection RED packet loss uplink, or RED packet loss threshold, the first adjustment direction is up-regulated; when the specified network parameter is ECN marking probability, the first adjustment direction is down-regulation.
2. The method of claim 1, wherein the configuration server determining a second value corresponding to a specified network parameter from the network statistics and the first value corresponding to the specified network parameter, further comprising:
When the throughput of the network equipment rises relative to the throughput of the first time period in the second time period, adjusting the first step size according to a first step size increment;
and when the throughput of the network equipment is not increased in the second time period relative to the first time period, the first step is adjusted in a reducing mode according to the first step.
3. The method of claim 1, wherein when the network device throughput does not increase over an initial period of time for the first period of time, the initial period of time being a period of time prior to the first period of time, the configuration server determining a second value for a specified network parameter based on the network statistics and the first value for the specified network parameter comprises:
determining an initial value corresponding to the specified network parameter in the initial time period; modifying the initial value according to a second adjustment direction and a second step length to obtain a second value; or (b)
Modifying the first value according to a first adjustment direction and a first step length to obtain the second value;
when the specified network parameter is an ECN upper waterline, an ECN lower waterline, a PFC waterline, a RED packet loss waterline or a RED packet loss threshold, the first adjustment direction is up-regulated, and the second adjustment direction is down-regulated; when the specified network parameter is ECN marking probability, the first adjusting direction is downward adjusting, and the second adjusting direction is upward adjusting.
4. The method of claim 3, wherein the configuration server determining a second value corresponding to a specified network parameter from the network statistics and the first value corresponding to the specified network parameter, further comprising:
when the throughput of the network device is not increased relative to the first time period in the second time period, or the data buffering delay is not reduced and the number of data throughput channels is not increased, the configuration server configures the designated network parameter of the network device in a third time period to be the first value, wherein the third time period is a time period after the second time period.
5. The method of claim 3 or 4, wherein said determining a second value corresponding to a specified network parameter from said network statistics and a first value corresponding to said specified network parameter further comprises:
when the throughput of the network equipment is not reduced in the second time period relative to the first time period, and the data buffering delay is reduced or the number of data throughput channels is increased, adjusting the second step according to a second step increment;
and when the throughput of the network equipment is reduced in the second time period relative to the first time period or the data buffering delay is not reduced and the number of data throughput channels is not increased, the second step size is adjusted in a reducing mode according to the second step size.
6. The method of any of claims 1-4, wherein prior to obtaining network statistics corresponding to the first time period, the method further comprises:
the network device determines that the throughput difference value calculated a plurality of times in succession is less than a throughput fluctuation threshold.
7. A communication device, the device comprising:
a memory for storing program instructions;
a communication interface for receiving and transmitting data;
a processor for invoking program instructions stored in the memory to perform the method of:
acquiring network statistical data corresponding to a first time period through a communication interface, wherein the network statistical data comprises network transmission characteristics of network equipment in the first time period, and the network transmission characteristics of the first time period comprise throughput of the first time period; the network statistical data is sent to a configuration server, and the configuration server is used for determining a second value corresponding to the specified network parameter according to the network statistical data and the first value corresponding to the specified network parameter; receiving a second value corresponding to the specified network parameter sent by the configuration server;
configuring the specified network parameter of the network device at a second time period to the second value, the second time period being a time period subsequent to the first time period;
When throughput of the network device rises in the first period relative to an initial period, wherein the initial period is a period before the first period, and the determining, by the configuration server, the second value corresponding to the specified network parameter according to the network statistics data and the first value corresponding to the specified network parameter includes:
modifying the first value according to a first adjustment direction and a first step length to obtain the second value;
when the specified network parameter is an explicit congestion notification ECN uplink, ECN downlink, priority flow control PFC uplink, random early detection RED packet loss uplink, or RED packet loss threshold, the first adjustment direction is up-regulated; when the specified network parameter is ECN marking probability, the first adjustment direction is down-regulation.
8. The communications apparatus of claim 7, wherein the configuration server determining a second value corresponding to a specified network parameter based on the network statistics and a first value corresponding to the specified network parameter further comprises:
when the throughput of the network equipment rises relative to the throughput of the first time period in the second time period, adjusting the first step size according to a first step size increment;
And when the throughput of the network equipment is not increased in the second time period relative to the first time period, the first step is adjusted in a reducing mode according to the first step.
9. The communications apparatus of claim 7, wherein when the network device throughput does not rise over an initial period of time for the first period of time, the initial period of time being a period of time prior to the first period of time, the configuration server determining a second value for a specified network parameter based on the network statistics and the first value for the specified network parameter comprises:
determining an initial value corresponding to the specified network parameter in the initial time period; modifying the initial value according to a second adjustment direction and a second step length to obtain a second value; or (b)
Modifying the first value according to a first adjustment direction and a first step length to obtain the second value;
when the specified network parameter is an ECN upper waterline, an ECN lower waterline, a PFC waterline, a RED packet loss waterline or a RED packet loss threshold, the first adjustment direction is up-regulated, and the second adjustment direction is down-regulated; when the specified network parameter is ECN marking probability, the first adjusting direction is downward adjusting, and the second adjusting direction is upward adjusting.
10. The communications apparatus of claim 9, wherein the configuration server determining a second value for a specified network parameter based on the network statistics and the first value for the specified network parameter further comprises:
and when the throughput of the network device is not increased relative to the first time period in the second time period or the data buffering delay is not reduced and the number of data throughput channels is not increased, configuring the designated network parameter of the network device in a third time period to be the first value, wherein the third time period is a time period after the second time period.
11. The communication apparatus according to claim 9 or 10, wherein the configuration server determines a second value corresponding to a specified network parameter from the network statistics and the first value corresponding to the specified network parameter, further comprising:
when the throughput of the network equipment is not reduced in the second time period relative to the first time period, and the data buffering delay is reduced or the number of data throughput channels is increased, adjusting the second step according to a second step increment;
and when the throughput of the network equipment is reduced in the second time period relative to the first time period or the data buffering delay is not reduced and the number of data throughput channels is not increased, the second step size is adjusted in a reducing mode according to the second step size.
12. The communication apparatus according to any one of claims 7-10, wherein prior to obtaining network statistics corresponding to the first period of time, the method further comprises:
it is determined, via the communication interface, that the successively calculated throughput difference is less than the throughput fluctuation threshold.
13. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program which, when read and executed by one or more processors, implements the method according to any of claims 1-6.
14. A chip, characterized in that the chip, when running, implements the method according to any of claims 1-6.
CN201911353303.0A 2019-09-12 2019-12-25 Network parameter configuration method and device Active CN112491573B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP20863834.6A EP4020892A4 (en) 2019-09-12 2020-08-29 Network parameter configuration method and apparatus
PCT/CN2020/112322 WO2021047404A1 (en) 2019-09-12 2020-08-29 Network parameter configuration method and apparatus
US17/692,475 US11695629B2 (en) 2019-09-12 2022-03-11 Method and apparatus for configuring a network parameter

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019108670979 2019-09-12
CN201910867097 2019-09-12

Publications (2)

Publication Number Publication Date
CN112491573A CN112491573A (en) 2021-03-12
CN112491573B true CN112491573B (en) 2023-07-18

Family

ID=74920755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911353303.0A Active CN112491573B (en) 2019-09-12 2019-12-25 Network parameter configuration method and device

Country Status (1)

Country Link
CN (1) CN112491573B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079104B (en) * 2021-03-22 2022-09-30 新华三技术有限公司 Network congestion control method, device and equipment
CN114143183B (en) * 2021-12-01 2023-02-03 中国商用飞机有限责任公司 Network parameter configuration method and device, computer equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106399A (en) * 2007-08-16 2008-01-16 上海交通大学 Self-adapted distributed power control method
CN101370274A (en) * 2007-08-13 2009-02-18 中兴通讯股份有限公司 Down-regulation method for special channel transmission rate
CN102571973A (en) * 2012-02-02 2012-07-11 瑞斯康达科技发展股份有限公司 Network control method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1249972A1 (en) * 2001-04-09 2002-10-16 Telefonaktiebolaget L M Ericsson (Publ) Method of controlling a queue buffer
US7369500B1 (en) * 2003-06-30 2008-05-06 Juniper Networks, Inc. Dynamic queue threshold extensions to random early detection
US20080239953A1 (en) * 2007-03-28 2008-10-02 Honeywell International, Inc. Method and apparatus for minimizing congestion in gateways
US9007914B2 (en) * 2009-09-30 2015-04-14 Qualcomm Incorporated Methods and apparatus for enabling rate adaptation across network configurations
CN101951629B (en) * 2010-09-21 2012-10-10 东南大学 Method for detecting cell coverage loopholes and switching errors
CN103281255B (en) * 2013-06-12 2016-08-10 北京航空航天大学 A kind of TCP close friend method of rate control machine-processed based on handling capacity rate of change and ECN
CN108476091B (en) * 2016-01-20 2021-08-31 瑞典爱立信有限公司 Method, system and user equipment for determining transmission conditions of real-time media stream of wireless communication network
CN110061927B (en) * 2019-04-26 2021-07-23 东南大学 Congestion sensing and marking method facing micro burst flow in multi-queue data center environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370274A (en) * 2007-08-13 2009-02-18 中兴通讯股份有限公司 Down-regulation method for special channel transmission rate
CN101106399A (en) * 2007-08-16 2008-01-16 上海交通大学 Self-adapted distributed power control method
CN102571973A (en) * 2012-02-02 2012-07-11 瑞斯康达科技发展股份有限公司 Network control method and device

Also Published As

Publication number Publication date
CN112491573A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
US11652752B2 (en) Congestion control method and network device
CN106330757B (en) Flow control method and device
US5175537A (en) Method and apparatus for scheduling access to a CSMA communication medium
CN112104562B (en) Congestion control method and device, communication network and computer storage medium
CN112491573B (en) Network parameter configuration method and device
CN111355669A (en) Method, device and system for controlling network congestion
EP1701506A1 (en) Method and system for transmission control protocol (TCP) traffic smoothing
CN107682279B (en) Time delay control method, time delay control device, storage medium and program product
US8510403B2 (en) Self clocking interrupt generation in a network interface card
US11695629B2 (en) Method and apparatus for configuring a network parameter
US10467161B2 (en) Dynamically-tuned interrupt moderation
CN113783785A (en) ECN (engineering-centric networking) water line value configuration method and device and network equipment
CN106789700B (en) Traffic shaping method and network equipment
US11489904B2 (en) Poor-QoE assessment method and related device
CN114567566A (en) Message processing method, device, terminal equipment and storage medium
CN110336759B (en) RDMA (remote direct memory Access) -based protocol message forwarding method and device
CN112019443A (en) Multi-path data transmission method and device
CN114900476B (en) Data transmission method, device, network equipment and storage medium
US20220248259A1 (en) Data processing method and apparatus
CN116761211B (en) Data packet scheduling method, device, equipment and storage medium based on multipath transmission
CN114338564B (en) Flow transmission control method and device, storage medium and electronic device
CN112714081B (en) Data processing method and device
EP3716549A1 (en) Bandwidth management
CN114629850A (en) Network traffic transmission method and device
CN117354252A (en) Data transmission processing method and device, storage medium and electronic device

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
GR01 Patent grant
GR01 Patent grant