CN116032852B - Flow control method, device, system, equipment and storage medium based on session - Google Patents

Flow control method, device, system, equipment and storage medium based on session Download PDF

Info

Publication number
CN116032852B
CN116032852B CN202310315096.XA CN202310315096A CN116032852B CN 116032852 B CN116032852 B CN 116032852B CN 202310315096 A CN202310315096 A CN 202310315096A CN 116032852 B CN116032852 B CN 116032852B
Authority
CN
China
Prior art keywords
message
flow control
sampling
target session
sampling 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
CN202310315096.XA
Other languages
Chinese (zh)
Other versions
CN116032852A (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.)
Xinhua San Industrial Internet Co ltd
Original Assignee
Xinhua San Industrial Internet 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 Xinhua San Industrial Internet Co ltd filed Critical Xinhua San Industrial Internet Co ltd
Priority to CN202310315096.XA priority Critical patent/CN116032852B/en
Publication of CN116032852A publication Critical patent/CN116032852A/en
Application granted granted Critical
Publication of CN116032852B publication Critical patent/CN116032852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method, a device, a system, equipment and a storage medium for controlling flow based on a session, wherein the method is applied to network equipment and comprises the following steps: determining whether an interface for forwarding the message triggers a flow control condition for the message needing flow control; when the message transmission rate of the target session predicted according to the sampling period and the sampling results of the target session acquired in two adjacent periods is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; when the interface triggers a flow control condition, a flow control message is generated, and the flow control message is sent to the source end, so that the source end reduces the message sending rate of the target session according to the flow control message. By applying the technical scheme, more flexible flow control based on the session is realized, and the accuracy of flow control is improved.

Description

Flow control method, device, system, equipment and storage medium based on session
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, a device, and a storage medium for session-based flow control.
Background
Network congestion refers to a situation where the transmission performance of a network is degraded due to limited resources of store-and-forward nodes when the number of transmitted packets in a packet-switched network is too large. In a shared network without any negotiation and admission mechanism, several IP packets arrive at the router at the same time and are expected to be forwarded via the same output port, which has a memory space in which packets of an input stream will be queued for output when the output port is commonly used by several input streams. When the rate of port forwarding data is lower than the arrival rate of data packets, the situation that the storage space is full is caused, the data packets arriving later can be discarded, and in the state of long-time overload, the network performance can be rapidly reduced, and network congestion is caused.
Congestion is an event that network devices often face. Typical manifestations of congestion include, but are not limited to: buffer length of an interface or queue exceeds a certain threshold, bandwidth utilization of an interface or queue exceeds a certain threshold, etc. When congestion occurs in a network device, a series of problems such as packet loss are caused. However, there is currently no good solution to congestion.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, a device, and a storage medium for controlling a flow based on a session.
Specifically, the application is realized by the following technical scheme:
according to a first aspect of embodiments of the present application, there is provided a session-based flow control method, the method being applied to a network device, the method comprising:
determining whether an interface for forwarding a message triggers a flow control condition or not according to the message which needs to be subjected to flow control from a source end; when the message transmission rate corresponding to the target session predicted by the sampling result obtained by sampling the messages in the target session according to the duration of the sampling period, the current sampling period and the last sampling period is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; the target session is the session to which the message belongs;
when the interface triggers a flow control condition, a flow control message is generated, and the flow control message is sent to the source end, so that the source end reduces the message sending rate of the target session according to the flow control message.
In some embodiments, the determining whether the interface for forwarding the message triggers a flow control condition includes:
sampling a message in a target session in a current sampling period to obtain a first sampling result;
predicting a message transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result;
comparing the message transmission rate with a preset rate threshold, and determining the interface triggering flow control condition if the message transmission rate is greater than or equal to the preset rate threshold; and if the message transmission rate is smaller than a preset rate threshold, determining that the interface does not trigger a flow control condition.
In some embodiments, the determining whether the interface for forwarding the message triggers a flow control condition includes:
when a condition triggering instruction sent by deployed control equipment is received, determining the interface triggering flow control condition; when a condition triggering instruction sent by deployed control equipment is not received, determining that the interface does not trigger a flow control condition;
When the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold, the control device sends the condition triggering indication, the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period, and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or a deployed acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period by the control device or the deployed acquisition device; and when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the deployed acquisition equipment.
In some embodiments, predicting the packet transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result includes:
calculating a difference value between the first sampling result and the second sampling result;
and predicting the message transmission rate corresponding to the target session according to the difference value and the duration of the sampling period.
According to a second aspect of embodiments of the present application, there is provided a session-based flow control system, the system comprising: a source end and a network device; the network device is configured to execute the step of the session-based flow control method, so that the source end reduces the message sending rate of the target session according to the flow control message sent by the network device.
In some embodiments, the system further comprises a control device, or a control device and an acquisition device;
the control device is used for controlling the device to send the condition triggering indication when the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold; the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or the acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by the control device or the acquisition device sampling the message in the target session in the last sampling period; and when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the acquisition equipment.
According to a third aspect of embodiments of the present application, there is provided a session-based flow control apparatus, the apparatus being applied to a network device, the apparatus comprising:
the flow control trigger determining module is used for determining whether an interface for forwarding the message triggers a flow control condition or not according to the message which needs to be subjected to flow control from the source end; when the message transmission rate corresponding to the target session predicted by the sampling result obtained by sampling the messages in the target session according to the duration of the sampling period, the current sampling period and the last sampling period is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; the target session is the session to which the message belongs;
and the control message forwarding module is used for generating a flow control message when the interface triggers a flow control condition, and sending the flow control message to the source end so that the source end reduces the message sending rate of the target session according to the flow control message.
In some embodiments, the flow control trigger determining module is specifically configured to:
sampling a message in a target session in a current sampling period to obtain a first sampling result;
Predicting a message transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result;
comparing the message transmission rate with a preset rate threshold, and determining the interface triggering flow control condition if the message transmission rate is greater than or equal to the preset rate threshold; and if the message transmission rate is smaller than a preset rate threshold, determining that the interface does not trigger a flow control condition.
In some embodiments, the flow control trigger determining module is specifically configured to:
when a condition triggering instruction sent by deployed control equipment is received, determining the interface triggering flow control condition; when a condition triggering instruction sent by deployed control equipment is not received, determining that the interface does not trigger a flow control condition;
when the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold, the control device sends the condition triggering indication, the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period, and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or a deployed acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period by the control device or the deployed acquisition device; and when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the deployed acquisition equipment.
In some embodiments, the flow control trigger determining module is specifically configured to: calculating a difference value between the first sampling result and the second sampling result; and predicting the message transmission rate corresponding to the target session according to the difference value and the duration of the sampling period.
According to a fourth aspect of embodiments of the present application, there is provided an electronic device, including: a processor, a memory; the memory is used for storing a computer program; the processor is configured to execute the session-based flow control method by calling the computer program.
According to a fifth aspect of embodiments of the present application, there is provided a readable storage medium having stored thereon a computer program which when executed by a processor implements the session-based flow control method described above.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
in the technical scheme provided by the application, the message which needs to be subjected to flow control in the network equipment is distinguished according to the target session to which the message belongs, whether the message transmission rate under each target session exceeds the preset rate threshold is respectively judged, the flow control message based on the target session is generated at the network equipment end according to the judging result, and the flow control message can inform the source end of the target session which needs to be subjected to flow control, so that the network equipment end can send the flow control message and the flow control message is sent to the source end of the target session with the excessively high actual message transmission rate, the source end can reduce the message transmission rate of the target session according to the flow control message, the more flexible flow control based on the session is realized, and the accuracy of the flow control is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application. Moreover, not all of the above-described effects may be required to be achieved by any one of the embodiments of the present application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow diagram of a session-based flow control method according to an exemplary embodiment of the present application;
FIG. 2-1 is a diagram illustrating a TCP advertisement message format for a flow control message according to an exemplary embodiment of the present application;
fig. 2-2 are diagrams illustrating an IB advertisement message format of a flow control message according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an arrangement of functional units in a first session-based flow control method according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an arrangement of functional units in a second session-based flow control method according to an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an arrangement of functional units in a third session-based flow control method according to an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of another session-based flow control method according to an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of another session-based flow control device shown in an exemplary embodiment of the present application;
fig. 8 is a schematic structural view of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first classification threshold may also be referred to as a second classification threshold, and similarly, a second classification threshold may also be referred to as a first classification threshold, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Example 1
Referring to fig. 1, the method is applied to a network device, where the network device has a forwarding function, such as a router, a switch, etc., and the method may include the following steps:
s110, determining whether an interface for forwarding a message triggers a flow control condition or not according to the message which needs to be subjected to flow control from a source end; when the message transmission rate corresponding to the target session predicted by the sampling result obtained by sampling the messages in the target session according to the duration of the sampling period, the current sampling period and the last sampling period is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; the target session is the session to which the message belongs;
The message to be flow controlled is a message which accords with the preset target message characteristics in the message received by the network equipment, the message received by the target receiving port of the network equipment can be matched with the target message characteristics, when the characteristics of the received message are completely matched with the target message characteristics, the message is considered to be the message to be flow controlled, the target receiving port of the network equipment is a receiving port for receiving the message indicated by the target message characteristics in the network equipment, and the target message characteristics can be preset at the target receiving port in the form of ACL rules.
The target class message features are used for indicating a class of messages needing to be subjected to flow control, if a plurality of messages needing to be subjected to flow control exist, a plurality of mutually independent target class message features can be preset, each target class message feature corresponds to one type of message, each type of message meeting each target class message feature is used as a message needing to be subjected to flow control, and the method steps of the embodiment of the application are executed for each type of message.
For example, the target class message feature is used to indicate that the transmission protocol is an ftp (File Transfer Protocol, file transmission protocol) type message, and the message that needs to be subjected to flow control is all ftp messages in the messages received by the network device; or, the target message feature is used for indicating that the message sent to the message with the destination IP address of x.x.x.x is the message with the destination IP address of x.x.x in the message received by the network device, where the message needs to be subjected to flow control; for another example, the target class message feature includes five-tuple information, which is used to indicate a message from a specific session connection, and the message to be subjected to flow control is a message that is received by the network device and has the same five-tuple information as the five-tuple information in the target class message feature.
The network equipment continuously receives the message from the source end, which needs to be subjected to flow control, and forwards the message from the forwarding interface of the message, and when the forwarding interface of the message is congested, the session connection of the message needs to be controlled to control the flow sending rate. Whether congestion occurs on a forwarding interface (same interface) of the message is judged, and the congestion can be determined by comparing the predicted message transmission rate of the target session to which the message belongs with the magnitude relation of a preset rate threshold value of the message.
Specifically, for a message that needs to be subjected to flow control continuously received by the network device, sampling and counting can be respectively performed by taking a target session to which the message belongs as a type, and a sampling result corresponding to the target session to which the message belongs is periodically obtained according to a set sampling period duration; and when the message transmission rate corresponding to the target session, which is predicted according to the sampling result in two adjacent sampling periods and the duration of the sampling period, is greater than or equal to the preset rate threshold, determining that the interface triggers a flow control condition, namely, representing that the interface is likely to be congested.
The sampling counting can be performed by taking the number of the messages under the target session as a unit, and counting the total number of the messages under the target session; or counting the total sum of bytes of each message in the target session by taking the number of bytes carried by the message in the target session as a unit.
For example, regarding the target class message feature is used for indicating that the transmission protocol is an ftp (File Transfer Protocol, file transmission protocol) type message, determining that the ftp message acquired by the network device is a message needing to be subjected to flow control, further determining that the ftp message belongs to a session according to five-tuple information respectively, assuming that the ftp message is from three source ends respectively, the ftp message belongs to three target sessions respectively, classifying the ftp message into A, B, C three classes if the ftp message is A, B, C, respectively performing sampling count on the ftp message under each target session, and taking the number of message bytes as a sampling count, wherein the sampling count is continuously increased along with the sampling duration, and represents the cumulative total number of message bytes carried by the ftp message under the target session; setting the sampling period to be m seconds, acquiring sampling count every m seconds for the sampling count in the ftp message of each target session, determining the number of message bytes transmitted in m seconds according to the current count and the last sampling count because the sampling count is the accumulated total number of the bytes of the message, predicting the message transmission rate under the target session according to the sampling period duration, and respectively judging whether the ftp message transmission rate under each target session is greater than or equal to the preset rate threshold of the ftp message of the target session.
And S120, when the interface triggers a flow control condition, generating a flow control message, and transmitting the flow control message to the source end so that the source end reduces the message transmission rate of the target session according to the flow control message.
When the interface triggering flow control condition is determined, determining the flow control condition by sampling a message in a target session to which the message belongs based on the determined interface triggering flow control condition, and determining a format of a flow control message, a receiving source end (a target IP address of the flow control message) and a receiving port in network equipment according to the target session to which the message belongs, wherein the message format of the flow control message is related to a transmission protocol of the target session, and the flow control message carries session connection information of the receiving source end which needs to perform flow control; the network equipment forwards the generated flow control message from an interface which can reach a receiving source end in the network equipment, so that the receiving source end performs speed reduction processing on the message transmission of session connection in the flow control message after receiving the flow control message.
If the target session is a TCP (Transport Control Protocol, transmission control protocol) session, the flow control message format conforms to a TCP notification message format, as shown in fig. 2-1, a Flag field ECE of a TCP Flag defined according to RFC3168 is used for notifying a sender message path congestion node, the ECE field value is set to represent the path congestion node, and the flow control message data field carries the target session information, for example, the target session is uniquely identified by five-tuple information; if the target session is an IB (InfiniBand) session, the flow control message format conforms to an IB notification message format, as shown in fig. 2-2, an OpCode field defined according to IB is set to 129 and used for notifying a sender message path congestion node, the OpCode is set to characterize the path congestion node, and the flow control message data field carries the target session information, for example, the target session is uniquely identified by a Queue number Queue in IB communication.
Taking the example that the ftp messages still belong to three target sessions respectively and marked as A, B, C, if the ftp message transmission rate under the target session a is predicted to be greater than the preset rate threshold of the ftp message of the target session, the interface of the ftp message under the target session a is considered to trigger the flow control condition, the flow control message in the format of a TCP notification message is generated according to the target session a, the ECE field value of the flow control message is 11, the data field of the flow control message carries five-tuple information corresponding to the target session a, and the flow control message is sent to the source end of the target session a, so that the source end determines the session to be subjected to flow control according to the data field of the flow control message, and reduces the message transmission rate of the target session a, and the source end can control the message transmission rate by using a preset speed reduction algorithm.
In the technical scheme provided by the application, the message which needs to be subjected to flow control in the network equipment is distinguished according to the target session to which the message belongs, whether the message transmission rate under each target session exceeds the preset rate threshold is respectively judged, the flow control message based on the target session is generated at the network equipment end according to the judging result, and the flow control message can inform the source end of the target session which needs to be subjected to flow control, so that the network equipment end can send the flow control message and the flow control message is sent to the source end of the target session with the excessively high actual message transmission rate, the source end can reduce the message transmission rate of the target session according to the flow control message, the more flexible flow control based on the session is realized, and the accuracy of the flow control is improved.
In the first embodiment, the network device determines whether the interface of the message requiring flow control triggers the flow control condition, where the network device may determine whether the interface triggers the flow control condition in the device according to a set sampling period and a message sampling result of a target session to which the message belongs, see implementation two; it may also be determined whether the interface triggers a flow control condition based on whether a condition triggering indication is received from the control device, see embodiments three and four.
Example two
As shown in fig. 3, in the embodiment of the present application, each step included in the session-based flow control method is executed by a network device, and the specific procedure is as follows:
s310, determining a message which needs to be subjected to flow control from a message received by network equipment according to preset target message characteristics, and respectively counting the samples of the message under each target session by taking the session to which the message belongs as a basis;
the target class message feature can be issued to a target receiving port of the network device in a form of a custom rule, and the target receiving port is a message receiving port capable of receiving a message type indicated by the target class message feature. For example, the target class message feature is used for indicating an ftp message, and if all receiving ports of the network device can receive the ftp message, all receiving ports of the network device are used as target receiving ports; or, the target class message feature is used for indicating the ftp message from the source end a, and if the receiving Port1 of the network device can receive the ftp message from the source end a, the receiving Port1 is taken as the target receiving Port.
In a TCP session, the target class message feature may be issued to the target receiving port in the form of an ACL rule, if the target class message feature is a quintuple feature, the ACL rule is used to match quintuple information in a specific TCP session, a message coming in from the target receiving port is matched with the ACL rule, and if the matching is successful, one is added to the number of messages Wen Zong in the corresponding sampling result of the target session to which the message belongs, or the total number of message bytes is added to the number of bytes carried by the message.
In the RoCE session, the target class message feature may be issued to the target receiving port in another custom rule, where the custom rule is used to match the source address, the destination address and the queue number QP number of the session, match the message coming in from the target receiving port with the custom rule, and if the matching is successful, add one to the number of messages Wen Zong in the corresponding sampling result of the target session to which the message belongs, or add the total number of message bytes to the number of bytes carried by the message.
S320, predicting a message transmission rate corresponding to a target session according to a sampling result obtained by sampling a message in the target session in the time length of a sampling period, the current sampling period and the last sampling period, wherein the target session is the session to which the message belongs;
Obtaining a sampling result of each target session when the current sampling period is ended according to a set sampling period to obtain a first sampling result; and taking the sampling result of the target session at the end of the last sampling period corresponding to the current sampling period as a second sampling result. When the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result.
And predicting the message transmission rate corresponding to the target session according to the duration of the sampling period, the first sampling result and the second sampling result. Specifically, the predicting the message transmission rate corresponding to the target session may be implemented by the following steps: calculating a difference value between the first sampling result and the second sampling result; and predicting the message transmission rate corresponding to the target session according to the difference value and the duration of the sampling period.
If the sampling result of the target session is the total number of messages which accord with the characteristics of the target class messages in the target session, the message transmission rate represents the number of transmitted messages per second of the target session; if the sampling result of the target session is the total number of message bytes meeting the target class message characteristics under the target session, the message transmission rate represents the number of message bytes transmitted per second of the target session.
S330, comparing the predicted message transmission rate of each target session with a preset rate threshold corresponding to the target session, and determining the interface triggering flow control condition of the message under the target session if the message transmission rate is greater than or equal to the preset rate threshold; if the message transmission rate is smaller than a preset rate threshold, determining that the interface of the message under the target session does not trigger a flow control condition;
the preset rate threshold may be a rate threshold of the same type of message, for example, the same rate threshold is set for messages of the same transmission protocol from a plurality of source ends; the rate threshold value can also be set independently for the message in the target session, for example, the ftp message Wen Duishi of the target session is sensitive to delay transmission, and a relatively low rate threshold value can be preset for the ftp message.
S340, when the message under the target session triggers the flow control condition, generating a flow control message according to the information of the target session, and sending the flow control message to the source end of the target session through the local port of the network equipment, so that the source end determines the target session needing to be subjected to flow control according to the flow control message and performs deceleration processing.
For a TCP session, quintuple information may be used to uniquely identify a target session, where the information of the target session includes, but is not limited to, quintuple information, a predicted packet transmission rate, a preset target class packet feature, network device information, and a preset rate threshold; for a RoCE session, the information of the target session includes at least a source address, a destination address, and a QP number of a message supported by the RoCE.
The flow control message is used for notifying a target source end to reduce the message sending rate of a target session, the target source end is the sending source end of the message of which the interface triggers the flow control condition, and the target session is the session to which the message of which the interface triggers the flow control condition belongs.
When the target source end receives the flow control message, the flow control message is subjected to message analysis, so that a target session needing to be subjected to flow control can be determined. For example, the flow control message is in a format of a TCP notification message, and the target source end determines a target session to be subjected to flow control according to session information carried by the message; if the flow control message is in the IB notification message format, the target source end determines a target session to be subjected to flow control according to a queue number QP carried by the flow control message.
Example III
As shown in fig. 4, in the embodiment of the present application, the execution body of each step included in the method includes a network device and a pre-deployed control device, where the network device and the control device cooperate with each other to implement session-based flow control; the network device is used for realizing target session message sampling counting, target session message transmission rate prediction and flow control message forwarding, and the controller is used for realizing message interface triggering flow control condition judgment, and the specific method comprises the following implementation processes:
s410, the network equipment determines a message needing to be subjected to flow control from the received message according to the preset target message characteristics, and respectively performs sampling counting of the message under each target session by taking the session to which the message belongs as a basis;
the above-mentioned packet classification and sampling counting operations can be implemented according to a forwarding chip of the network device, where the sampling counting can be implemented by using a counter, and each target session is associated with a counter, so as to count the packets meeting the characteristics of the target class packet in the target session, and the specific implementation process is the same as the process of the corresponding step in the second embodiment.
S420, the network equipment predicts the message transmission rate corresponding to each target session according to the duration of the sampling period and the sampling counting result of the message in the target session acquired by two adjacent sampling periods, wherein the target session is the session to which the message belongs;
the step can read the value of the counter of the target session at regular time through software of the network equipment, calculate the difference value of the obtained value of the counter in two regular time, and take the quotient value of the difference value and a regular time length as the message transmission rate of the target session. The smaller the timing time length is, the closer the predicted message transmission rate of the target session is to the instantaneous transmission rate.
S430, the control device acquires the message transmission rate of the target session from the network device at regular time, compares the message transmission rate with a preset rate threshold, determines the interface trigger flow control condition of the message under the target session if the message transmission rate is greater than or equal to the preset rate threshold, generates a condition trigger instruction and sends the condition trigger instruction to the network device;
the control device may be a server, the condition triggering indication may be generated by another process running in the control device, that is, when one process in the control device determines that the interface of the message under the target session triggers the flow control condition, the condition triggering indication generator running in the other process reports information through the IPC mechanism, where the reporting information may include characteristics of the target session, such as a five-tuple of a TCP message, an address and a QP number of a message supported by RoCE communication, and the condition triggering indication generator of the other process generates a condition triggering indication according to the reporting information.
S440, when the network device receives the condition triggering indication sent by the deployed control device, the network device determines the interface triggering flow control condition, generates a flow control message according to the information of the target session, and sends the flow control message to the source end of the target session through the local port of the network device, so that the source end determines the target session needing to be subjected to flow control according to the flow control message and performs the speed reduction processing.
The network device may use the message receiving port in the target session as a forwarding interface for the flow control message.
In the technical scheme provided by the application, each step of the flow control method is set to be executed by the network equipment and the control equipment in a matched manner, so that the network equipment can send the flow control message to the source end of the target session with the excessively high actual message transmission rate, the source end can reduce the message transmission rate of the target session according to the flow control message, more flexible flow control based on the session is realized, and the accuracy of flow control and the execution efficiency of the network equipment are improved.
Example IV
As shown in fig. 5, in the embodiment of the present application, the execution body of each step included in the method includes a network device, a pre-deployed control device, and an acquisition device, where these devices cooperate with each other to implement session-based flow control. The network device is used for determining messages needing to be subjected to flow control and forwarding flow control messages, the acquisition device is used for realizing message sampling counting under a target session and target session message transmission rate prediction, and the controller is used for realizing message interface triggering flow control condition judgment, and the specific method comprises the following implementation processes:
s510, the network equipment determines a message needing to be subjected to flow control from the received messages according to the preset target class message characteristics, and mirrors the message conforming to the target class message characteristics to the acquisition equipment;
for example, all the RoCE messages in the messages received by the network device are mirrored to the acquisition device, and the mirrored messages are marked with a local timestamp of the network device, network device information and the like.
S520, after receiving the mirrored message, the acquisition equipment respectively counts the samples of the message under each target session according to the session to which the message belongs, and calculates the message transmission rate of the target session according to the local timestamp of the message and the twice sampling results in the adjacent time;
After receiving the mirrored message, resolving the five-tuple information of the TCP message or the address and QP information of the RoCE message, and determining the target session to which the message belongs according to the five-tuple information or the address and QP information.
S530, the control equipment acquires the message transmission rate and the target session information of the target session from the acquisition equipment at regular time, compares the message transmission rate with a preset rate threshold, and determines the interface triggering flow control condition of the message under the target session if the message transmission rate is greater than or equal to the preset rate threshold, generates a condition triggering instruction and sends the condition triggering instruction to the network equipment, wherein the condition triggering instruction comprises the target session information;
s540, when the network device receives the condition triggering indication sent by the control device, the network device determines the interface triggering flow control condition, generates a flow control message according to the information of the target session, and sends the flow control message to the source end of the target session through the local port of the network device, so that the source end determines the target session needing to be subjected to flow control according to the flow control message and performs the speed reduction processing.
In the technical scheme provided by the application, each step of the flow control method is set to be cooperatively executed by the network equipment, the acquisition equipment and the control equipment, and the acquisition equipment performs finer session-based message sampling counting, so that the load of the network equipment is shared, and the execution efficiency of the whole scheme is improved; the network equipment, the acquisition equipment and the control equipment cooperate to execute to realize that the network equipment end can send the flow control message and the flow control message is sent to the source end of the target session with the excessively high actual message transmission rate, so that the source end can reduce the message transmission rate of the target session according to the flow control message, realize more flexible flow control based on the session and improve the accuracy of the flow control.
Example five
As shown in fig. 6, the embodiment of the present application takes a preset target class packet feature for indicating an ftp packet as an example, and further details the scheme of the present application. Assume that the receiving ports Port1 and Port2 of the network device are capable of receiving the ftp packet, and the ftp packet belongs to three sessions A, B, C respectively. Before the flow control method based on the session is executed, an ACL rule is issued in advance at a target receiving Port Port1 and Port2 of the network equipment, and the ACL rule is used for matching ftp messages entering from the target receiving Port; next, the solution may be implemented as follows:
message classifier: determining that the message is the message needing to be subjected to flow control according to the message matched with the ACL rule, analyzing five-tuple information of the message, and determining a target session to which the message belongs;
message statistics ware: if the target session is not associated with the counter, a counter is allocated to the target session, and the value of the counter is initialized to 0; when the counter is used for counting the total number of ftp messages in the target session, the counter value is increased by one, and when the counter is used for counting the total number of bytes carried by the ftp messages in the target session, the counter value is increased by the byte number of the messages;
Because the message needing to be subjected to flow control comprises ftp messages in three target sessions, the message statistics device is provided with three counters of the target sessions, and the counters are respectively used for sampling and counting the messages of the target sessions associated with the counters.
A rate calculator: for each target session, according to a set sampling period, periodically acquiring a counter result of the target session, and taking the quotient of the difference value of the counter results of two adjacent sampling periods and the duration of the sampling period as the message transmission rate of the target session;
threshold trigger: comparing the message transmission rate of each target session with a preset ftp message rate threshold, and triggering to generate a flow control message according to five-tuple information corresponding to the target session when the message transmission rate is greater than or equal to the rate threshold;
based on the fact that the transmission protocol of the message in the target session is ftp, generating a flow control message in a TCP notification message format, setting an ECE field value to represent a message path congestion node of the target session, and carrying five-tuple information corresponding to the target session in a message data field.
Message sender: and forwarding the flow control message from a receiving port for receiving the message in the target session to a source end of the target session, so that the source end reduces the message sending rate of the target session according to the flow control message.
So far, the execution process of each step in the embodiment of the application is finished. Wherein, the functions corresponding to the above components can be all integrated in one chip, and the chip can be arranged in a network forwarding device (same as a network device); or, the functions corresponding to the components can be partially arranged in the network forwarding device, and the partial functions or the components are arranged in the control device or the control device and the acquisition device, so that the forwarding device and the control device or the control device and the acquisition device cooperate to realize the whole functions. In practice, the above components or functions corresponding to the components may also be respectively provided in different devices, so long as the basic ideas and flows are matched with the concepts of the present application, and all are located in the protection scope of the present application.
Corresponding to the foregoing embodiment of the session-based flow control method, referring to fig. 7, the present application further provides an embodiment of a session-based flow control device, where the device includes:
the flow control trigger determining module 710 is configured to determine, for a message from a source that needs to be flow controlled, whether an interface for forwarding the message triggers a flow control condition; when the message transmission rate corresponding to the target session predicted by the sampling result obtained by sampling the messages in the target session according to the duration of the sampling period, the current sampling period and the last sampling period is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; the target session is the session to which the message belongs;
And a control message forwarding module 720, configured to generate a flow control message when the interface triggers a flow control condition, and send the flow control message to the source end, so that the source end reduces a message sending rate of the target session according to the flow control message.
In some embodiments, the flow control trigger determining module is specifically configured to:
sampling a message in a target session in a current sampling period to obtain a first sampling result;
predicting a message transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result;
comparing the message transmission rate with a preset rate threshold, and determining the interface triggering flow control condition if the message transmission rate is greater than or equal to the preset rate threshold; and if the message transmission rate is smaller than a preset rate threshold, determining that the interface does not trigger a flow control condition.
In some embodiments, the flow control trigger determining module is specifically configured to:
when a condition triggering instruction sent by deployed control equipment is received, determining the interface triggering flow control condition; when a condition triggering instruction sent by deployed control equipment is not received, determining that the interface does not trigger a flow control condition;
when the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold, the control device sends the condition triggering indication, the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period, and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or a deployed acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period by the control device or the deployed acquisition device; and when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the deployed acquisition equipment.
In some embodiments, the flow control trigger determining module is specifically configured to: calculating a difference value between the first sampling result and the second sampling result; and predicting the message transmission rate corresponding to the target session according to the difference value and the duration of the sampling period.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The embodiment of the present application further provides an electronic device, a schematic structural diagram of which is shown in fig. 8, where the electronic device 800 includes at least one processor 801, a memory 802, and a bus 803, and at least one processor 801 is electrically connected to the memory 802; the memory 802 is configured to store at least one computer executable instruction that the processor 801 is configured to execute to perform the steps of any of the session-based flow control methods as provided by any of the embodiments or any of the alternative implementations herein.
Further, the processor 801 may be an FPGA (Field-Programmable Gate Array, field programmable gate array) or other device having logic processing capabilities, such as an MCU (Microcontroller Unit, micro control unit), CPU (Central Process Unit, central processing unit).
In the technical scheme provided by the application, the message which needs to be subjected to flow control in the network equipment is distinguished according to the target session to which the message belongs, whether the message transmission rate under each target session exceeds the preset rate threshold is respectively judged, the flow control message based on the target session is generated at the network equipment end according to the judging result, and the flow control message can inform the source end of the target session which needs to be subjected to flow control, so that the network equipment end can send the flow control message and the flow control message is sent to the source end of the target session with the excessively high actual message transmission rate, the source end can reduce the message transmission rate of the target session according to the flow control message, the more flexible flow control based on the session is realized, and the accuracy of the flow control is improved.
The present application also provides another readable storage medium storing a computer program for implementing the steps of any one of the embodiments or any one of the optional embodiments provided in the present application.
The readable storage medium provided by the embodiments of the present application includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROMs (Read-Only memories), RAMs (Random Access Memory, random access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a readable storage medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
In the technical scheme provided by the application, the message which needs to be subjected to flow control in the network equipment is distinguished according to the target session to which the message belongs, whether the message transmission rate under each target session exceeds the preset rate threshold is respectively judged, the flow control message based on the target session is generated at the network equipment end according to the judging result, and the flow control message can inform the source end of the target session which needs to be subjected to flow control, so that the network equipment end can send the flow control message and the flow control message is sent to the source end of the target session with the excessively high actual message transmission rate, the source end can reduce the message transmission rate of the target session according to the flow control message, the more flexible flow control based on the session is realized, and the accuracy of the flow control is improved.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features of specific embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. On the other hand, the various features described in the individual embodiments may also be implemented separately in the various embodiments or in any suitable subcombination. Furthermore, although features may be acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, although operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Furthermore, the processes depicted in the accompanying drawings are not necessarily required to be in the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method of session-based flow control, the method being applied to a network device, the method comprising:
determining whether an interface for forwarding a message triggers a flow control condition or not according to the message which needs to be subjected to flow control from a source end; when the message transmission rate corresponding to the target session predicted by the sampling result obtained by sampling the messages in the target session according to the duration of the sampling period, the current sampling period and the last sampling period is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; the target session is the session to which the message belongs;
When the interface triggers a flow control condition, a flow control message is generated, and the flow control message is sent to the source end, so that the source end reduces the message sending rate of the target session according to the flow control message.
2. The method of claim 1, wherein determining whether an interface for forwarding the message triggers a flow control condition comprises:
sampling a message in a target session in a current sampling period to obtain a first sampling result;
predicting a message transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result;
comparing the message transmission rate with a preset rate threshold, and determining the interface triggering flow control condition if the message transmission rate is greater than or equal to the preset rate threshold; and if the message transmission rate is smaller than a preset rate threshold, determining that the interface does not trigger a flow control condition.
3. The method of claim 1, wherein determining whether an interface for forwarding the message triggers a flow control condition comprises:
when a condition triggering instruction sent by deployed control equipment is received, determining the interface triggering flow control condition; when a condition triggering instruction sent by deployed control equipment is not received, determining that the interface does not trigger a flow control condition;
when the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold, the control device sends the condition triggering indication, the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period, and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or a deployed acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period by the control device or the deployed acquisition device; and when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the deployed acquisition equipment.
4. A method according to any one of claims 2 to 3, wherein predicting the packet transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result includes:
calculating a difference value between the first sampling result and the second sampling result;
and predicting the message transmission rate corresponding to the target session according to the difference value and the duration of the sampling period.
5. A session-based flow control system, the system comprising: a source end and a network device; the network device is configured to perform the steps of the session-based flow control method according to any one of claims 1 to 4, so that the source end reduces a message sending rate of a target session according to a flow control message sent by the network device.
6. The system of claim 5, further comprising a control device, or a control device and an acquisition device;
the control device is used for controlling the device to send a condition triggering instruction when the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold; the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or the acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by the control device or the acquisition device sampling the message in the target session in the last sampling period; and when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the acquisition equipment.
7. A session-based flow control apparatus for application to a network device, the apparatus comprising:
the flow control trigger determining module is used for determining whether an interface for forwarding the message triggers a flow control condition or not according to the message which needs to be subjected to flow control from the source end; when the message transmission rate corresponding to the target session predicted by the sampling result obtained by sampling the messages in the target session according to the duration of the sampling period, the current sampling period and the last sampling period is greater than or equal to a preset rate threshold, determining that the interface triggers a flow control condition; the target session is the session to which the message belongs;
and the control message forwarding module is used for generating a flow control message when the interface triggers a flow control condition, and sending the flow control message to the source end so that the source end reduces the message sending rate of the target session according to the flow control message.
8. The apparatus of claim 7, wherein the flow control trigger determination module is specifically configured to:
sampling a message in a target session in a current sampling period to obtain a first sampling result;
Predicting a message transmission rate corresponding to the target session according to the duration of the sampling period and the first sampling result and the second sampling result; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result;
comparing the message transmission rate with a preset rate threshold, and determining the interface triggering flow control condition if the message transmission rate is greater than or equal to the preset rate threshold; if the message transmission rate is smaller than a preset rate threshold, determining that the interface does not trigger a flow control condition;
or the flow control trigger determining module is specifically configured to:
when a condition triggering instruction sent by deployed control equipment is received, determining the interface triggering flow control condition; when a condition triggering instruction sent by deployed control equipment is not received, determining that the interface does not trigger a flow control condition;
when the message transmission rate corresponding to the target session is greater than or equal to a preset rate threshold, the control device sends the condition triggering indication, the message transmission rate corresponding to the target session is predicted by the control device according to the duration of a sampling period, and a first sampling result and a second sampling result, wherein the first sampling result is a sampling result obtained by the control device or a deployed acquisition device in sampling a message in the target session in the current sampling period; when the current sampling period is not the first sampling period, the second sampling result is a sampling result obtained by sampling the message in the target session in the last sampling period by the control device or the deployed acquisition device; when the current sampling period is the first sampling period, the second sampling result is a preset sampling result output by the control equipment or the deployed acquisition equipment;
Or the flow control trigger determining module is specifically configured to: calculating a difference value between the first sampling result and the second sampling result; and predicting the message transmission rate corresponding to the target session according to the difference value and the duration of the sampling period.
9. An electronic device, comprising: a memory, a processor;
the memory is used for storing a computer program;
the processor for invoking the computer program to implement the session-based flow control method according to any of claims 1-4.
10. A readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements a session based flow control method according to any of claims 1-4.
CN202310315096.XA 2023-03-28 2023-03-28 Flow control method, device, system, equipment and storage medium based on session Active CN116032852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310315096.XA CN116032852B (en) 2023-03-28 2023-03-28 Flow control method, device, system, equipment and storage medium based on session

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310315096.XA CN116032852B (en) 2023-03-28 2023-03-28 Flow control method, device, system, equipment and storage medium based on session

Publications (2)

Publication Number Publication Date
CN116032852A CN116032852A (en) 2023-04-28
CN116032852B true CN116032852B (en) 2023-06-02

Family

ID=86089633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310315096.XA Active CN116032852B (en) 2023-03-28 2023-03-28 Flow control method, device, system, equipment and storage medium based on session

Country Status (1)

Country Link
CN (1) CN116032852B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6826620B1 (en) * 1998-08-26 2004-11-30 Paradyne Corporation Network congestion control system and method
CN101056273A (en) * 2007-06-13 2007-10-17 中兴通讯股份有限公司 Session-based network speed limit method and device
CN107493238A (en) * 2016-06-13 2017-12-19 华为技术有限公司 A kind of method for controlling network congestion, equipment and system
CN107888610A (en) * 2017-11-29 2018-04-06 锐捷网络股份有限公司 A kind of method of attack defending, the network equipment and computer-readable storage medium
CN109120472A (en) * 2018-07-26 2019-01-01 新华三信息安全技术有限公司 A kind of interface rate preparation method and device
CN109981471A (en) * 2017-12-27 2019-07-05 华为技术有限公司 A kind of method, apparatus and system for alleviating congestion
CN113055301A (en) * 2019-12-27 2021-06-29 华为技术有限公司 Congestion control method and related equipment
CN115002009A (en) * 2022-05-17 2022-09-02 中国电信股份有限公司 Flow sampling method, device, system, electronic equipment and medium
CN115225544A (en) * 2022-07-19 2022-10-21 武汉思普崚技术有限公司 Network flow counting and monitoring method, device, electronic equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6826620B1 (en) * 1998-08-26 2004-11-30 Paradyne Corporation Network congestion control system and method
CN101056273A (en) * 2007-06-13 2007-10-17 中兴通讯股份有限公司 Session-based network speed limit method and device
CN107493238A (en) * 2016-06-13 2017-12-19 华为技术有限公司 A kind of method for controlling network congestion, equipment and system
CN107888610A (en) * 2017-11-29 2018-04-06 锐捷网络股份有限公司 A kind of method of attack defending, the network equipment and computer-readable storage medium
CN109981471A (en) * 2017-12-27 2019-07-05 华为技术有限公司 A kind of method, apparatus and system for alleviating congestion
CN109120472A (en) * 2018-07-26 2019-01-01 新华三信息安全技术有限公司 A kind of interface rate preparation method and device
CN113055301A (en) * 2019-12-27 2021-06-29 华为技术有限公司 Congestion control method and related equipment
CN115002009A (en) * 2022-05-17 2022-09-02 中国电信股份有限公司 Flow sampling method, device, system, electronic equipment and medium
CN115225544A (en) * 2022-07-19 2022-10-21 武汉思普崚技术有限公司 Network flow counting and monitoring method, device, electronic equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Safe Congestion Control;M. Mathis;IETF draft-mathis-tsvwg-safecc-02;全文 *

Also Published As

Publication number Publication date
CN116032852A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US11005769B2 (en) Congestion avoidance in a network device
CN108243116B (en) Flow control method and switching equipment
EP1805524B1 (en) Active queue management method and device
US7839797B2 (en) Event-driven flow control for a very high-speed switching node
US9571403B2 (en) Packet marking for flow management, including deadline aware flow management
WO2012145841A1 (en) Hierarchical profiled scheduling and shaping
US9614777B2 (en) Flow control in a network
CN104718734A (en) Congestion notification in a network
CN116032852B (en) Flow control method, device, system, equipment and storage medium based on session
Sup et al. Explicit non-congestion notification: A new AQM approach for TCP networks
RU2728948C1 (en) Method for early detection of occurrence moment of poisson's teletraffic overload
Kalav et al. Congestion control in communication network using RED, SFQ and REM algorithm
Mohan et al. Proportional bandwidth sharing using Bayesian inference in SDN-based data centers
EP4277232A1 (en) Managing data traffic congestion in network nodes
Liu et al. Implementation of PFC and RCM for RoCEv2 Simulation in OMNeT++
Sun An active congestion detection mechanism based on network tomography
JP3813473B2 (en) Packet discard device
Akiene et al. Optimization of data packet transmission in a congested network
Dong Available Bandwidth Measurement Method of High-Speed Network Based on Link Idle Probability
US20050060424A1 (en) Congestion management in telecommunications networks
Ariffin et al. Application of the generalised ballot theorem for evaluation of performance in packet buffers with non-first in first out scheduling
Luh et al. Dropping behavior of a random early detection mechanism by a queueing model of batch arrivals and multiple servers
Lipovac et al. Testing TCP traffic congestion by distributed protocol analysis and statistical modelling
JP2003023450A (en) Rate controller
JP2003023455A (en) Rate controller

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