WO2012167571A1 - Network congestion control method and device - Google Patents

Network congestion control method and device Download PDF

Info

Publication number
WO2012167571A1
WO2012167571A1 PCT/CN2011/082933 CN2011082933W WO2012167571A1 WO 2012167571 A1 WO2012167571 A1 WO 2012167571A1 CN 2011082933 W CN2011082933 W CN 2011082933W WO 2012167571 A1 WO2012167571 A1 WO 2012167571A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
monitoring
delay
service
message
Prior art date
Application number
PCT/CN2011/082933
Other languages
French (fr)
Chinese (zh)
Inventor
叶思海
熊华梁
徐日东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180002964.4A priority Critical patent/CN102726092B/en
Priority to PCT/CN2011/082933 priority patent/WO2012167571A1/en
Publication of WO2012167571A1 publication Critical patent/WO2012167571A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0864Round trip delays

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to a network congestion control method and apparatus. Background technique
  • the network congestion phenomenon can be controlled at the link layer. However, the congestion control of the link layer itself can only ensure the reliable transmission of the message. If the traffic exceeds the transmission capacity of the link, the message will be randomly discarded.
  • the message random discarding damage to the telecommunication signaling service is greater than the damage caused by the stream-based datagram transmission.
  • the telecommunication signaling interaction is required to have a delay.
  • the protocol usually defines an interaction timeout requirement, and the service layer is not allowed to repeatedly retry.
  • a session in the telecommunication signaling interaction process usually includes multiple interaction processes, and any failure of the interaction may cause the service to be damaged. Therefore, the random message discarding damage to the telecommunication signaling service is large. Therefore, for network congestion, only the service volume of the service layer can be reduced to fully utilize the link capability, otherwise it may cause more serious call loss.
  • the network congestion control of the service layer is a "hard to reach” (HTR) flow control method based on success rate, and the service layer decides to send to the home location register according to the service success rate ( Home Locat ion Reg is ter; hereinafter referred to as: HLR).
  • HLR Hard to reach
  • the service success rate is greater than a preset threshold, the amount of traffic sent is increased; when the success rate is less than a preset threshold, the amount of traffic sent is reduced.
  • the embodiment of the invention provides a network congestion control method and device, which avoids the false control phenomenon of the HTR flow control and realizes the control of network congestion.
  • an embodiment of the present invention provides a network congestion control method, including: If the service success rate in the consecutive N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, where N is a pre-set positive integer greater than 1.
  • the network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the average delay of each control period after the startup monitoring is obtained;
  • the average delay of any one of the control periods after the startup monitoring is an average of the network delays of the service success responses received within any one of the control periods after the startup monitoring.
  • the control module is configured to start monitoring the network status if the service success rate in the consecutive N control periods is less than a preset service success ratio threshold, and the network congestion notification is received, where N is preset a positive integer greater than one;
  • a statistics module configured to perform statistics on network delays of messages in and out of each control period after the monitoring is started, and obtain an average delay of each control period after the startup monitoring;
  • a first control module configured to: when the average delay of any one of the control periods after the startup monitoring is greater than an upper limit of the preset target delay interval, reduce the next control period of the any one of the control periods The traffic of the first message of the service is allowed to be sent;
  • the average delay of any one of the control periods after the startup monitoring is an average of the network delays of the service success responses received within any one of the control periods after the startup monitoring.
  • the network congestion control method and apparatus initiates monitoring of the network status if the service success rate in the continuous N control periods is less than the preset service success ratio threshold and the network congestion notification is received. Start to count the network delay of the message round-trip in each control period after starting the monitoring, and reduce the permission of the service first message of the next control period of any one of the later control periods according to the average delay of any one of the control periods obtained. The traffic is sent. The average delay of the control period can reflect the current network congestion. This embodiment avoids the problem that the existing HTR flow control is easy to cause error control because only the service success rate is considered. More effective control, improving the business success rate after network congestion.
  • Embodiment 2 is a flowchart of Embodiment 2 of a network congestion control method according to the present invention
  • Embodiment 3 is a structural diagram of Embodiment 1 of a network congestion control apparatus according to the present invention.
  • Embodiment 2 is a structural diagram of Embodiment 2 of a network congestion control apparatus according to the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of Embodiment 1 of a network congestion control method according to the present invention. As shown in FIG. 1 , this embodiment provides a network congestion control method, which may specifically include the following steps:
  • Step 101 If the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started.
  • This embodiment can be applied to a network congestion scenario in which various signaling interactions in a communication system, where the network refers to a network corresponding to a communication interface between network elements in a telecommunication system, and the applicable communication interfaces may include but are not limited to the following Interface: General Packet Radio Service (hereinafter referred to as GPRS) service support node (Serving GPRS Support Node; hereinafter referred to as: SGSN) and HLR interface (ie Gr interface), Mobile Switching Center (Mobile Switching Center) (hereinafter referred to as: MSC) / Visit location register (Visitor Location Register; hereinafter referred to as: VLR) and HLR interface (ie C / D interface), SGSN / MSC and Radio Network Controller (Radio Network Controller; RNC) interface (ie Iu interface), MSC and base station controller (Base Station Controller; Said: BSC) interface (ie A interface).
  • GPRS General Packet Radio Service
  • SGSN General Packet Radio Service
  • the HTR automatic flow control is triggered by a preset control condition. If the service success rate of a plurality of consecutive periods is lower than a preset service success ratio threshold, and the network congestion notification is received, the network is congested.
  • the advertisement can be reported to the service layer when the link layer detects the network congestion, and then the network condition is determined to reach a preset control condition, and the monitoring of the network status is started, and the service is sent in the subsequent step 1 02-1 03.
  • the amount is controlled. If the above control conditions are not met, no further steps are required to continue monitoring the network status.
  • the N is a pre-set positive integer greater than 1, and the N may be pre-configured according to a network statistical experience value.
  • Step 1 02 Perform statistics on the network delay of the round-trip messages in each control period after the monitoring is started, and obtain an average delay of each control period after the startup monitoring.
  • the flow control operation of the embodiment is started. This step is specifically for each control cycle after the monitoring is started.
  • the network delay within the message round-trip is counted.
  • the network delay of the round-trip of the message in the control period is specifically the time elapsed after the device sends a message to the peer network element in the control period until the response of the message returned by the peer network element is received. .
  • the network delay of the round-trip message can be used to determine the current network congestion degree.
  • the network congestion degree here may include the congestion degree of the link and the network element, and the network delay.
  • the average delay of each control period after the monitoring is started is obtained, that is, after counting the network delays in one control period, the average delay of the control period is determined according to the network delay of the statistics.
  • the average delay is the average of the network delays of the round trips of multiple messages.
  • the statistics of the network delay of the round-trip of each control period after the start of monitoring that is, the round-trip of the messages of each control period after the fourth control period is counted.
  • Network delay For example, the network delay of the message round-trip of the 5th control cycle, the 6th control cycle...
  • the average delay of the 5th, 6th, ... control cycle is obtained, and then the average delay of the 5th, 6th, ... control cycle is obtained, wherein, because the control cycle is Flowing one by one. Therefore, the network delay of the fifth control period, the sixth control period, and the like are counted, and the average delay of obtaining each control period is not Parallel, but the network delay of the 5th control period is obtained, and the average delay of the 5th control period is obtained.
  • the statistics are executed serially to obtain the 6th control period. Network delay, get the average delay of the sixth control period, and so on.
  • Step 1 03 When the average delay of any one of the control periods after the start of monitoring is greater than the upper limit of the preset target delay interval, reduce the permission of the service first message in the next control period of the any one of the control periods Send traffic.
  • the allowed traffic of the service first message is controlled according to the average delay, that is, the size of the transmitted traffic is determined. Specifically, when the average delay of any one of the control periods after the start of monitoring is greater than the upper limit of the preset target delay interval, the allowable transmission traffic of the service first message in the next control period of the control period is reduced.
  • the target delay interval may be a preset interval configured according to an average delay of a previous control period of any one of the control periods after the start of monitoring.
  • the allowed transmission traffic of the service first message in this embodiment can be used to characterize the capability of the device, indicating the traffic volume of the service first message that the device can transmit in one control period.
  • one session includes the interaction of multiple request messages and response messages, wherein the first request message is the service first message.
  • the degree of congestion of the network is large, this embodiment matches the current network condition by reducing the allowed traffic of the service first message, so as to avoid the phenomenon of randomly dropping the message and realizing the control of the network congestion.
  • the target controlled by this embodiment is also It can be equivalent to controlling the average delay within the target delay interval.
  • the length of the message buffer queue can be determined by the average delay of the control period. The longer the average delay is, the longer the length of the message buffer queue is. The smaller the average delay is, the shorter the length of the message buffer queue is. If the queue is too long, the overflow may occur, causing the message to be randomly discarded. The protocol timer expires and the service is damaged. If the message buffer queue is too short, the buffer function is not available, and the link capability may not be fully utilized.
  • the length of the message buffer queue is indirectly controlled by controlling the average delay, so that the message buffer queue maintains an appropriate value, thereby making the length of the message buffer queue.
  • the service sent to the network is guaranteed to have a higher success rate.
  • the embodiment provides a network congestion control method, if the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, and the process starts.
  • the network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the allowed transmission of the service first message of the next control period of any one of the later control periods is reduced according to the average delay of any one of the obtained control periods.
  • Traffic volume Since the average delay of the control period can reflect the current network congestion degree, this embodiment avoids the problem that the existing HTR flow control is easy to cause error control because the flow control is started only considering the service success rate. More precise and effective control of network congestion improves the service success rate after network congestion.
  • FIG. 2 is a flowchart of Embodiment 2 of a network congestion control method according to the present invention. As shown in FIG. 2, the embodiment provides a network congestion control method, which may specifically include the following steps:
  • Step 201 When the service success rate in the consecutive N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started.
  • the specific flow control is performed by using a preset control period, and the control period may be specifically configured according to actual conditions, for example, the specific configuration is 10 seconds.
  • the service layer performs the HTR flow control according to the preset control condition. If the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the link layer is reported, When the network congestion notification is performed, it is determined that the network condition reaches a preset control condition, and the monitoring of the network status is started, that is, the service layer starts to execute the flow control solution in this embodiment.
  • the service success ratio threshold is preset according to the actual situation, such as the service success measured according to the previous network congestion. The rate is set, which can be 70%.
  • the link layer detects that the current network is congested, for example, when the message sending buffer overflows, the network layer is congested in the form of a network congestion notification.
  • Step 202 Perform statistics on the network delay of the round-trip of the message in each control period after the monitoring is started, and determine the average delay of the each control period according to the network delay of the round-trip of the message in the respective control periods.
  • the embodiment performs statistics on the round-trip network delay of each message in each control period after the monitoring is started in units of a preset control period.
  • the device may send the message to the peer network element to start timing, until the device receives the response of the message returned by the peer network element, and stops counting.
  • the time is the network delay for the round trip of the message. 4 ⁇
  • the device is sent to the peer network element within one control period. With 100 messages, but the device only receives the response of 50 messages, this step only counts the network delay of the message round-trip of the 50 messages that received the response.
  • This step also determines the average delay of each control cycle based on the statistical network delay of the message round-trip in each control cycle.
  • the average delay is the average of the network delays of the round trips of multiple messages.
  • the size of the delay can reflect the degree of network congestion. The greater the delay, the more serious the network congestion. The smaller the delay, the lighter the network congestion.
  • Step 203 Determine whether the average delay of any one of the control periods after the monitoring is started is within a preset target delay interval. If yes, execute step 204; otherwise, perform step 207.
  • the network congestion condition is determined by the average delay of any one of the control periods after the monitoring is started, and the amount of transmission traffic is controlled according to the network congestion condition.
  • the window access restriction (Window Acces s L imi t; hereinafter referred to as WAL) control method can be specifically used to control the transmission traffic.
  • a target delay interval may be set according to actual conditions, and the target delay interval may be an interval range centered on the target delay, and the upper limit of the target delay interval (target delay + delay adjustment)
  • the value ⁇ ) the lower limit of the target delay interval is (target delay - ⁇ ), that is, the target delay interval is [target delay - ⁇ , target delay + ⁇ ].
  • step 204 it is determined whether the average delay of any one of the control periods after the start of monitoring falls within the target delay interval to determine the degree of network congestion of the control period.
  • step 204 is performed to continue with further specific judgment;
  • step 207 is performed.
  • Step 204 Determine whether the instantaneous delay of any one of the control periods after the start of monitoring is greater than the immediate delay of the previous control period of any one of the control periods after the start of monitoring, and if yes, execute step 205, otherwise step 206 is performed. .
  • the instantaneous delay of a control period where the instantaneous delay of any one of the control periods after the start of the monitoring is the network delay of the last round of the message in any one of the control periods after the start of the monitoring, in this embodiment It can be specifically the immediate delay of the last 1 second of the control cycle.
  • step 205 is performed to reduce the allowed transmission traffic of the service first message in the next control period of the control period.
  • step 206 is performed to increase the control period. The amount of traffic allowed for the first message of the service in the next control cycle.
  • the optional solution of the embodiment of the present invention may further determine, in the foregoing step, when the instantaneous delay of any one of the control periods is greater than the immediate delay of the previous control period of any one of the control periods, Whether the difference between the instantaneous delay of any one control period and the instantaneous delay of the previous control period of any one of the control periods is greater than or equal to a preset delay interval, and if so, that is, the instantaneous delay of any one of the control periods
  • the preset delay adjustment value ⁇ is increased compared with the preset delay adjustment value ⁇ of the previous control period, the current network delay is determined to be in an upward trend. In this embodiment, the control period is reduced.
  • the first message of the service allows the transmission of traffic to implement network congestion control.
  • the instantaneous delay of any one of the control periods is less than the instantaneous delay of the previous control period, the instantaneous delay of the last control period of any one of the control periods and the instantaneous delay of the any one of the control periods may be further determined.
  • the preset time is reduced
  • the adjustment value ⁇ is extended, it is further determined that the current network delay is in a downward trend, and the allowed transmission traffic of the service first message in the next control period of the control period may be increased.
  • Step 205 Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring to be the current allowed transmission traffic of the service first message in the next control period (lm %) times.
  • the average delay of any one of the control periods after the start monitoring is greater than or equal to a lower limit value of the preset target delay interval (target delay - ⁇ ), and less than or equal to the preset target delay interval
  • target delay + ⁇ if the instantaneous delay of any one of the control periods after the start monitoring is greater than the instantaneous time delay of the previous control period, indicating that the current network delay is in an upward trend, the control is reduced.
  • the traffic of the service first message is allowed to be sent to control the network congestion, and the traffic of the service first message of the next control period may be controlled to be the service head of the next control period.
  • the current allowed number of traffic of the message is ( l_m% ) times, where m is a positive real number less than 100, and m can be set to 5. In fact In applications, m can be obtained through a large number of experiments, usually a pre-configured fixed value.
  • the initial value of the allowable transmission traffic of the service first message may be set. That is, after the foregoing step 201, the method may specifically include the following steps: setting an initial value of the allowed transmission traffic of the service first message to a maximum value of the following two values: the actual successful traffic volume and the service first message in the previous control cycle.
  • the minimum amount of traffic allowed to be sent is the first message of the service, and the minimum value of the allowed traffic is used to prevent the flow control parameters such as the network delay and the service success rate from being lost when there is no traffic at all. happening.
  • Step 206 Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the start of the monitoring to the current allowed transmission service volume of the service first message in the next control period ( l+n%) times.
  • the average delay of any one of the control periods after the start monitoring is greater than or equal to a lower limit value of the preset target delay interval (target delay - ⁇ ), and less than or equal to the preset target delay interval
  • target delay + ⁇ the limit value of the preset target delay interval
  • the instantaneous delay of any one of the control periods after the start monitoring is smaller than the immediate delay of the previous control period, it indicates that the current network delay is in a downward trend, and the control period is increased.
  • the traffic of the service first message in the next control period is allowed to be sent, so as to fully utilize the network resources such as the link, specifically, the transmission traffic of the next control cycle of the control cycle is controlled to be the next control cycle.
  • the current first message of the service is allowed to transmit (l+n%) times of the traffic, where n is a positive real number less than 100, and specifically, n can be set to 2.
  • n can be obtained by a large number of experiments, usually a fixed value, but the value of m is usually greater than the value of n.
  • Step 207 Determine whether an average delay of any one of the control periods after the start monitoring is greater than an upper limit of the preset target delay interval. If yes, execute step 208; otherwise, execute step 209.
  • step 208 When the average delay of any one of the control periods after the monitoring is started is not within the preset target delay interval, it is specifically determined whether the average delay of the control period is greater than the upper limit of the preset target delay interval, that is, the judgment Whether the average delay is greater than (target delay + ⁇ ), if yes, indicating that the current network congestion is serious, step 208 is performed; otherwise, step 209 is performed.
  • Step 208 Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring to be the service first cancellation in the next control period.
  • the current amount of interest is allowed to be transmitted (lp%) times.
  • the transmission traffic is reduced, which may specifically be the next control of the control period.
  • the allowable transmission traffic of the periodic service first message is controlled to be (lp%) times the current allowed traffic volume of the service first message of the next control period, where p is a positive real number less than 100, and specifically, p may be taken The value is 10. In practice, p can be obtained through a large number of experiments, usually a pre-configured fixed value.
  • Step 209 Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the start of the monitoring to the current allowed service transmission amount of the service first message in the next control period ( l+q%) times.
  • the transmission traffic is increased, which may specifically be the next control of the control cycle.
  • the allowable transmission traffic of the service first message in the cycle is controlled as (1+q%) times of the currently allowed traffic volume of the service first message of the next control cycle, where q is a positive real number less than 100, specifically Let q be 5.
  • q can be obtained through a large number of experiments, usually a pre-configured fixed value, but the value of p is usually greater than the value of q, because the increase in traffic is to ensure the maximum use of bandwidth, so that Telecommunication equipment is effectively utilized.
  • the method provided in this embodiment may further include the following steps: stopping the service when the amount of traffic received in the consecutive M control periods after the startup monitoring is less than or equal to the allowed transmission traffic of the service first message.
  • the control of the first message allows the transmission of traffic, where M is a pre-set positive integer greater than 1, where M can be specifically set to 4. That is, when the network condition satisfies the preset de-control condition, the de-control condition here is received by the service layer in four consecutive control periods. If the service volume is less than or equal to the allowed traffic volume of the service first message of each determined control period, it indicates that the amount of traffic that needs to be sent is small, and the network congestion control is not required, and the monitoring operation of this embodiment is stopped.
  • the embodiment provides a network congestion control method, if the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, and the process starts.
  • the network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the allowed transmission of the service first message of the next control period of any one of the later control periods is reduced according to the average delay of any one of the obtained control periods. Since the average delay of the control period can reflect the current network condition, this embodiment avoids the problem that the existing HTR flow control is easy to cause error control due to only considering the service success rate, and the network congestion is more effective. The control improves the business success rate after network congestion.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • Embodiment 1 of a network congestion control apparatus is a structural diagram of Embodiment 1 of a network congestion control apparatus according to the present invention.
  • this embodiment provides a network congestion control apparatus, which may specifically perform the steps in Embodiment 1 of the foregoing method. Let me repeat.
  • the network congestion control apparatus provided in this embodiment may specifically include a start control module 301, a statistics module 302, and a first control module 303.
  • the start control module 301 is configured to start monitoring the network status if the service success rate in the consecutive N control periods is less than a preset service success ratio threshold, and the network congestion notification is received, where N is a pre- Set a positive integer greater than 1.
  • the statistics module 302 is configured to perform statistics on the network delay of the round-trip of the messages in each control period after the monitoring is started, and obtain the average delay of each control period after the startup monitoring.
  • the first control module 303 is configured to reduce the service head in the next control period of any one of the control periods when the average delay of any one of the control periods after the start of the monitoring is greater than the upper limit of the preset target delay interval The message is allowed to send traffic.
  • the average delay of any one of the control periods after the start monitoring is an average of the network delays of the service success responses received within any one of the control periods after the start monitoring.
  • Embodiment 2 of a network congestion control apparatus is a structural diagram of Embodiment 2 of a network congestion control apparatus according to the present invention. As shown in FIG. 4, this embodiment provides a network congestion control apparatus, which can specifically execute each of the foregoing Embodiment 2 of the foregoing method. Steps, no more details here.
  • the network congestion control apparatus provided in this embodiment may further include a second control module 401 on the basis of the foregoing FIG.
  • the second control module 401 is configured to increase the service head in the next control period of any one of the control periods when the average delay of any one of the control periods after the start of the monitoring is less than the lower limit of the preset target delay interval The message is allowed to send traffic.
  • the network congestion control apparatus may further include a third control module 402, where the average delay of any one of the control periods after the monitoring is started is greater than or equal to a preset target delay.
  • the lower limit value of the interval is less than or equal to the upper limit value of the preset target delay interval
  • the instantaneous delay according to any one of the control cycles after the start monitoring is performed on any one of the control cycles after the start monitoring
  • the allowed traffic of the service first message in the next control cycle is controlled.
  • the instantaneous delay of any one of the control periods after the start of the monitoring is the network delay of the service success response received in the last unit time in any one of the control periods after the start of the monitoring.
  • the third control module 402 in this embodiment may specifically include a first control unit 412 and a second control unit 422.
  • the first control unit 412 is configured to reduce the start time of any one of the control periods after the start monitoring is greater than the immediate time delay of the last control period of any one of the control periods after the start of monitoring, and reduce the start The allowed traffic of the service first message in the next control cycle of any one of the control cycles after the monitoring.
  • the second control unit 422 is configured to: when the start of the monitoring, the instantaneous delay of any one of the control periods is less than the instantaneous delay of the last control period of any one of the control periods after the start of the monitoring, and add any The traffic allowed for the first message of the service in the next control cycle of a control cycle.
  • the first control unit 412 is further configured to determine Whether the difference between the instantaneous delay of any one of the control periods after the start of monitoring and the instantaneous delay of the last control period of any one of the control periods after the start of monitoring is greater than or equal to a preset delay interval, and if so, The step of reducing the allowable transmission traffic of the service first message in the next control period of any one of the control periods after the start of the monitoring is performed.
  • the second control unit 422 is further configured to determine the startup monitoring when the instantaneous delay of any one of the control periods after the startup monitoring is less than the immediate delay of the previous control period of any one of the control periods after the startup monitoring. Immediate time of the last control cycle of any subsequent control cycle And if the difference between the instantaneous delay of any one of the control periods after the start monitoring is greater than or equal to a preset delay interval, if yes, performing the adding of any one of the control periods after the start monitoring A step of allowing traffic to be sent for a service first message in a control cycle.
  • the network congestion control apparatus may further include a setting module 403, configured to set an initial value of the allowed transmission traffic of the service first message to the following after the monitoring of the network status is initiated.
  • the maximum of the two values the actual successful traffic in the previous control cycle, and the minimum allowed traffic of the service first message.
  • the network congestion control apparatus may further include a decoupling module 404, configured to: when the amount of traffic received in consecutive M control periods is less than or equal to the permission of the service first message When the traffic is sent, the control of the allowed transmission traffic of the service first message is stopped, where M is a pre-set positive integer greater than 1.
  • the embodiment provides a network congestion control device, if the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, and the process starts.
  • the network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the allowed transmission of the service first message of the next control period of any one of the later control periods is reduced according to the average delay of any one of the obtained control periods.
  • Traffic volume Since the average delay of the control period can reflect the current network congestion degree, this embodiment avoids the problem that the existing HTR flow control is easy to cause error control due to only considering the service success rate, and the network congestion is realized. Effectively control, improve the business success rate after network congestion.

Abstract

Disclosed are a network congestion control method and device. The method includes: if the service success rates in N successive control periods are all less than a pre-set service success proportion threshold value, and a network congestion announcement is received, then initiating monitoring of the network status; counting the network time delay of message roundtripping within each control period after initiating monitoring to obtain the average time delay of each control period after initiating monitoring; and, when the average time delay of any control period after initiating monitoring is greater than the upper limit value of a pre-set target time delay interval, reducing the amount of traffic that is allowed to send a service first message in the next control period after any control period. The device includes a starting control module, a statistics module and a first control module. The present embodiments avoid the problem that it is easy to cause errors in control because the current HTR flow control only considers the service success rate, realizing a more effective control of network congestion.

Description

网络拥塞控制方法和装置  Network congestion control method and device
技术领域 本发明实施例涉及通信技术, 尤其涉及一种网络拥塞控制方法和装置。 背景技术 TECHNICAL FIELD Embodiments of the present invention relate to communication technologies, and in particular, to a network congestion control method and apparatus. Background technique
网络拥塞现象可以在链路层进行控制, 但链路层本身的拥塞控制只能尽 力保证消息可靠传送, 如果业务量超出了链路传输能力, 则会导致消息随机 丟弃。消息随机丟弃对电信信令业务的损伤大于基于流的数据报传送的损伤, 主要由于电信信令交互对时延有要求, 协议通常定义有交互的超时要求, 不 允许业务层反复重试, 且电信信令交互过程中的一个会话通常包括多次交互 过程, 任何一次交互的失败均会导致业务受损, 因此, 随机消息丟弃对电信 信令业务的损伤较大。 因此, 对于网络拥塞来说, 只有减少业务层的业务量 才能充分发挥链路能力, 否则可能导致较严重的呼损。  The network congestion phenomenon can be controlled at the link layer. However, the congestion control of the link layer itself can only ensure the reliable transmission of the message. If the traffic exceeds the transmission capacity of the link, the message will be randomly discarded. The message random discarding damage to the telecommunication signaling service is greater than the damage caused by the stream-based datagram transmission. The telecommunication signaling interaction is required to have a delay. The protocol usually defines an interaction timeout requirement, and the service layer is not allowed to repeatedly retry. A session in the telecommunication signaling interaction process usually includes multiple interaction processes, and any failure of the interaction may cause the service to be damaged. Therefore, the random message discarding damage to the telecommunication signaling service is large. Therefore, for network congestion, only the service volume of the service layer can be reduced to fully utilize the link capability, otherwise it may cause more serious call loss.
在现有技术中,业务层的网络拥塞控制为基于成功率的 "很难到达"( Hard To Reach; 以下简称: HTR ) 流控方法, 业务层根据业务成功率来决定发送到 归属位置寄存器(Home Locat ion Reg i s ter; 以下简称: HLR ) 的业务量。 当 业务成功率大于预设的阈值时, 增加发送的业务量; 当成功率小于预设的阈 值时, 减少发送的业务量。  In the prior art, the network congestion control of the service layer is a "hard to reach" (HTR) flow control method based on success rate, and the service layer decides to send to the home location register according to the service success rate ( Home Locat ion Reg is ter; hereinafter referred to as: HLR). When the service success rate is greater than a preset threshold, the amount of traffic sent is increased; when the success rate is less than a preset threshold, the amount of traffic sent is reduced.
然而, 影响业务成功率的因素很多, 采用业务成功率作为拥塞判断的依 据时通常很容易出现误控, 导致无法有效地控制网络拥塞现象。 例如, 当过 载或拥塞并非由设备自身导致时, 此时成功率较低, 而此时即开始对网络采 取流控, 即此时便减少发送的业务量也不能解决拥塞现象。 发明内容  However, there are many factors affecting the success rate of the service. When the service success rate is used as the basis for congestion judgment, it is usually prone to mis-control, which makes it impossible to effectively control network congestion. For example, when the overload or congestion is not caused by the device itself, the success rate is low at this time, and the flow control is started on the network at this time, that is, the traffic volume reduced at this time cannot solve the congestion phenomenon. Summary of the invention
本发明实施例在于提供一种网络拥塞控制方法和装置, 避免 HTR流控的 误控现象, 实现对网络拥塞的控制。  The embodiment of the invention provides a network congestion control method and device, which avoids the false control phenomenon of the HTR flow control and realizes the control of network congestion.
为了实现上述目的, 本发明实施例提供了一种网络拥塞控制方法, 包括: 若在连续 N 个控制周期内的业务成功率均小于预设的业务成功比例阈 值, 且接收到网络拥塞通告, 则启动对网络状况的监控, 其中, N 为预先设 置的大于 1的正整数; In order to achieve the above object, an embodiment of the present invention provides a network congestion control method, including: If the service success rate in the consecutive N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, where N is a pre-set positive integer greater than 1.
对启动监控之后的各个控制周期内的消息往返的网络时延进行统计, 获 得所述启动监控之后的各个控制周期的平均时延;  The network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the average delay of each control period after the startup monitoring is obtained;
当所述启动监控之后的任意一个控制周期的平均时延大于预设的目标时 延区间的上限值时, 减少所述任意一个控制周期的下一个控制周期中的业务 首消息的允许发送业务量;  When the average delay of any one of the control periods after the startup monitoring is greater than the upper limit of the preset target delay interval, the allowed transmission service of the service first message in the next control period of the any one of the control periods is reduced. the amount;
其中, 所述启动监控之后的任意一个控制周期的平均时延为在所述启动 监控之后的任意一个控制周期内收到的业务成功响应的网络时延的平均值。  The average delay of any one of the control periods after the startup monitoring is an average of the network delays of the service success responses received within any one of the control periods after the startup monitoring.
本发明实施例提供的一种网络拥塞控制装置, 包括:  A network congestion control apparatus provided by an embodiment of the present invention includes:
起控模块, 用于若在连续 N个控制周期内的业务成功率均小于预设的业 务成功比例阈值, 且接收到网络拥塞通告, 则启动对网络状况的监控, 其中, N为预先设置的大于 1的正整数;  The control module is configured to start monitoring the network status if the service success rate in the consecutive N control periods is less than a preset service success ratio threshold, and the network congestion notification is received, where N is preset a positive integer greater than one;
统计模块, 用于对启动监控之后的各个控制周期内的消息往返的网络时 延进行统计 , 获得所述启动监控之后的各个控制周期的平均时延;  a statistics module, configured to perform statistics on network delays of messages in and out of each control period after the monitoring is started, and obtain an average delay of each control period after the startup monitoring;
第一控制模块 , 用于当所述启动监控之后的任意一个控制周期的平均时 延大于预设的目标时延区间的上限值时, 减少所述任意一个控制周期的下一 个控制周期中的业务首消息的允许发送业务量;  a first control module, configured to: when the average delay of any one of the control periods after the startup monitoring is greater than an upper limit of the preset target delay interval, reduce the next control period of the any one of the control periods The traffic of the first message of the service is allowed to be sent;
其中, 所述启动监控之后的任意一个控制周期的平均时延为在所述启动 监控之后的任意一个控制周期内收到的业务成功响应的网络时延的平均值。  The average delay of any one of the control periods after the startup monitoring is an average of the network delays of the service success responses received within any one of the control periods after the startup monitoring.
本发明实施例提供的网络拥塞控制方法和装置, 若在连续 N个控制周期 内的业务成功率均小于预设的业务成功比例阈值, 且接收到网络拥塞通告, 则启动对网络状况的监控, 开始对启动监控之后的各个控制周期内的消息往 返的网络时延进行统计, 并根据获取的任意一个控制周期的平均时延来减少 任意一个控制后期的下一个的控制周期的业务首消息的允许发送业务量; 由 于控制周期的平均时延的大小可以反映当前的网络拥塞程度, 本实施例避免 了现有 HTR流控由于仅考虑业务成功率而容易导致误控的问题, 实现了对网 络拥塞更有效的确控制, 提升了网络拥塞后的业务成功率。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明网络拥塞控制方法实施例一的流程图; The network congestion control method and apparatus provided by the embodiment of the present invention initiates monitoring of the network status if the service success rate in the continuous N control periods is less than the preset service success ratio threshold and the network congestion notification is received. Start to count the network delay of the message round-trip in each control period after starting the monitoring, and reduce the permission of the service first message of the next control period of any one of the later control periods according to the average delay of any one of the control periods obtained. The traffic is sent. The average delay of the control period can reflect the current network congestion. This embodiment avoids the problem that the existing HTR flow control is easy to cause error control because only the service success rate is considered. More effective control, improving the business success rate after network congestion. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor. 1 is a flowchart of Embodiment 1 of a network congestion control method according to the present invention;
图 2为本发明网络拥塞控制方法实施例二的流程图;  2 is a flowchart of Embodiment 2 of a network congestion control method according to the present invention;
图 3为本发明网络拥塞控制装置实施例一的结构图;  3 is a structural diagram of Embodiment 1 of a network congestion control apparatus according to the present invention;
图 4为本发明网络拥塞控制装置实施例二的结构图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  4 is a structural diagram of Embodiment 2 of a network congestion control apparatus according to the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明网络拥塞控制方法实施例一的流程图, 如图 1所示, 本实 施例提供了一种网络拥塞控制方法, 可以具体包括如下步骤:  FIG. 1 is a flowchart of Embodiment 1 of a network congestion control method according to the present invention. As shown in FIG. 1 , this embodiment provides a network congestion control method, which may specifically include the following steps:
步骤 101, 若在连续 N个控制周期内的业务成功率均小于预设的业务成 功比例阈值, 且接收到网络拥塞通告, 则启动对网络状况的监控。  Step 101: If the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started.
本实施例可以适用于通信系统中各种信令交互的网络拥塞场景中, 此处 的网络是指电信系统中网元间通信接口对应的网络, 其所适用的通信接口可 以包括但不限于如下接口: 通用分组无线服务 ( General Packet Radio Service; 以下简称: GPRS )服务支持节点 ( Serving GPRS Support Node; 以下简称: SGSN)与 HLR之间的接口 (即 Gr接口) , 移动交换中心(Mobile Switching Center; 以下简称: MSC ) /拜访位置寄存器 (Visitor Location Register; 以下简称: VLR)与 HLR之间的接口 (即 C/D接口) , SGSN/MSC 与无线网络控制器(Radio Network Controller; 以下简称: RNC )之间的接 口 (即 Iu接口) , MSC与基站控制器(Base Station Controller; 以下简 称: BSC )之间的接口 (即 A接口) 。 This embodiment can be applied to a network congestion scenario in which various signaling interactions in a communication system, where the network refers to a network corresponding to a communication interface between network elements in a telecommunication system, and the applicable communication interfaces may include but are not limited to the following Interface: General Packet Radio Service (hereinafter referred to as GPRS) service support node (Serving GPRS Support Node; hereinafter referred to as: SGSN) and HLR interface (ie Gr interface), Mobile Switching Center (Mobile Switching Center) (hereinafter referred to as: MSC) / Visit location register (Visitor Location Register; hereinafter referred to as: VLR) and HLR interface (ie C / D interface), SGSN / MSC and Radio Network Controller (Radio Network Controller; RNC) interface (ie Iu interface), MSC and base station controller (Base Station Controller; Said: BSC) interface (ie A interface).
在本实施例中, 以预先设置的起控条件来触发 HTR 自动流控, 若在连续 多个周期的业务成功率低于预设的业务成功比例阈值, 且接收到网络拥塞通 告, 该网络拥塞通告可以为链路层检测到网络拥塞时向业务层上报的, 则确 定网络状况达到预设的起控条件, 开始启动对网络状况的监控, 并执行后续 步骤 1 02-1 03中对业务发送量进行控制。 若未达到上述起控条件, 则无需执 行后续步骤, 继续对网络状况进行监控。 通过设定该起控条件, 避免了现有 HTR 流控由于仅考虑业务成功率就开始进行流控而容易导致误控的问题, 实 现了对网络拥塞更精确、 更有效的控制  In this embodiment, the HTR automatic flow control is triggered by a preset control condition. If the service success rate of a plurality of consecutive periods is lower than a preset service success ratio threshold, and the network congestion notification is received, the network is congested. The advertisement can be reported to the service layer when the link layer detects the network congestion, and then the network condition is determined to reach a preset control condition, and the monitoring of the network status is started, and the service is sent in the subsequent step 1 02-1 03. The amount is controlled. If the above control conditions are not met, no further steps are required to continue monitoring the network status. By setting the starting condition, the problem that the existing HTR flow control is easy to cause error control due to the flow control only considering the service success rate is avoided, and the control of the network congestion is more accurate and effective.
其中, 所述 N 为预先设置的大于 1的正整数, 所述 N可以根据网络统计 经验值预先配置。  The N is a pre-set positive integer greater than 1, and the N may be pre-configured according to a network statistical experience value.
步骤 1 02 , 对启动监控之后的各个控制周期内的消息往返的网络时延进 行统计 , 获得所述启动监控之后的各个控制周期的平均时延。  Step 1 02: Perform statistics on the network delay of the round-trip messages in each control period after the monitoring is started, and obtain an average delay of each control period after the startup monitoring.
当通过上述步骤确定当前的网络状况达到预设的起控条件, 并开始启动 对网络状况的监控时, 开始执行本实施例的流控操作, 本步骤具体为先对启 动监控之后的各个控制周期内的消息往返的网络时延进行统计。 其中, 控制 周期内的消息往返的网络时延具体是指在该控制周期内设备从向对端网元发 送一个消息开始, 直到接收到对端网元返回的该消息的响应为止所经过的时 间。 在网络状况满足预设的起控条件时, 根据统计到的消息往返的网络时延 便可以确定当前网络拥塞程度, 此处的网络拥塞程度可以包括链路和网元的 拥塞程度, 网络时延越大则拥塞程度越大, 网络时延越小则拥塞程度越小。 本步骤还获取启动监控之后的各个控制周期的平均时延, 即在统计到一个控 制周期内的多个网络时延后, 再根据该统计的网络时延确定该控制周期的平 均时延, 该平均时延为统计到的多个消息往返的网络时延的平均值。 假设上 述步骤中 N的取值为 4时, 此处的对启动监控之后的各个控制周期的消息往 返的网络时延的统计, 即为统计第 4个控制周期之后的各个控制周期的消息 往返的网络时延。 如统计第 5个控制周期、 第 6个控制周期…的消息往返的 网络时延, 再获得第 5个、 第 6个…控制周期的平均时延, 其中, 需要说明 的是, 因为控制周期是一个个流动进行的。 因此, 所述的对第 5个控制周期、 第 6个控制周期…的网络时延进行统计, 获得各个控制周期的平均时延并非 并行进行, 而是统计得到第 5个控制周期的网络时延, 获得第 5个控制周期 的平均时延, 当开始进行第 6个控制周期时, 才串行执行统计得到第 6个控 制周期的网络时延, 获得第 6个控制周期的平均时延, 后续控制周期以此类 推。 When it is determined that the current network condition reaches the preset control condition, and the monitoring of the network status is started, the flow control operation of the embodiment is started. This step is specifically for each control cycle after the monitoring is started. The network delay within the message round-trip is counted. The network delay of the round-trip of the message in the control period is specifically the time elapsed after the device sends a message to the peer network element in the control period until the response of the message returned by the peer network element is received. . When the network condition meets the preset control condition, the network delay of the round-trip message can be used to determine the current network congestion degree. The network congestion degree here may include the congestion degree of the link and the network element, and the network delay. The larger the congestion, the greater the congestion, and the smaller the network delay, the smaller the congestion. In this step, the average delay of each control period after the monitoring is started is obtained, that is, after counting the network delays in one control period, the average delay of the control period is determined according to the network delay of the statistics. The average delay is the average of the network delays of the round trips of multiple messages. Assume that the value of N in the above step is 4, the statistics of the network delay of the round-trip of each control period after the start of monitoring, that is, the round-trip of the messages of each control period after the fourth control period is counted. Network delay. For example, the network delay of the message round-trip of the 5th control cycle, the 6th control cycle... is obtained, and then the average delay of the 5th, 6th, ... control cycle is obtained, wherein, because the control cycle is Flowing one by one. Therefore, the network delay of the fifth control period, the sixth control period, and the like are counted, and the average delay of obtaining each control period is not Parallel, but the network delay of the 5th control period is obtained, and the average delay of the 5th control period is obtained. When the 6th control period is started, the statistics are executed serially to obtain the 6th control period. Network delay, get the average delay of the sixth control period, and so on.
步骤 1 03 , 当启动监控之后的任意一个控制周期的平均时延大于预设的 目标时延区间的上限值时, 减少所述任意一个控制周期的下一个控制周期中 的业务首消息的允许发送业务量。  Step 1 03: When the average delay of any one of the control periods after the start of monitoring is greater than the upper limit of the preset target delay interval, reduce the permission of the service first message in the next control period of the any one of the control periods Send traffic.
在通过统计得到启动监控之后的任意一个控制周期的平均时延后, 根据 该平均时延对业务首消息的允许发送业务量进行控制, 即确定发送业务量的 大小。 具体为当启动监控之后的任意一个控制周期的平均时延大于预设的目 标时延区间的上限值时, 便减少该控制周期的下一个控制周期内的业务首消 息的允许发送业务量。 其中, 目标时延区间可以为根据启动监控之后的任意 一个控制周期的上一控制周期的平均时延而配置的一个预设区间。 本实施例 中的业务首消息的允许发送业务量可以用来表征设备的能力, 表明该设备在 一个控制周期内能够发送的业务首消息的业务量大小。 在电信业务中, 通常 一个会话包括多次请求消息和响应消息的交互, 其中, 第一条请求消息即业 务首消息。 当网络拥塞程度较大时, 本实施例通过减少业务首消息的允许发 送业务量来匹配当前的网络状况, 以避免随机丟弃消息现象, 实现对网络拥 塞的控制。  After the average delay of any one of the control periods after the monitoring is started by statistics, the allowed traffic of the service first message is controlled according to the average delay, that is, the size of the transmitted traffic is determined. Specifically, when the average delay of any one of the control periods after the start of monitoring is greater than the upper limit of the preset target delay interval, the allowable transmission traffic of the service first message in the next control period of the control period is reduced. The target delay interval may be a preset interval configured according to an average delay of a previous control period of any one of the control periods after the start of monitoring. The allowed transmission traffic of the service first message in this embodiment can be used to characterize the capability of the device, indicating the traffic volume of the service first message that the device can transmit in one control period. In a telecommunication service, usually one session includes the interaction of multiple request messages and response messages, wherein the first request message is the service first message. When the degree of congestion of the network is large, this embodiment matches the current network condition by reducing the allowed traffic of the service first message, so as to avoid the phenomenon of randomly dropping the message and realizing the control of the network congestion.
本实施例通过对业务首消息的允许发送业务量的大小进行控制, 最终使 得网络拥塞程度得到緩解, 而由于一个控制周期的平均时延可以直接反应网 络拥塞程度, 则本实施例控制的目标也可以等价于将平均时延控制在目标时 延区间内。 由于控制周期的平均时延的大小可以决定消息緩冲队列的长度, 平均时延越大则消息緩冲队列的长度越长, 平均时延越小则消息緩冲队列的 长度越短; 消息緩冲队列太长则可能出现溢出, 导致随机丟弃消息的现象, 使得协议定时器超时, 业务受损; 消息緩冲队列太短则起不到緩冲的作用, 可能不能充分发挥链路能力。 因此, 本实施例通过对业务首消息的允许发送 业务量进行控制, 通过控制平均时延间接控制消息緩冲队列的长度, 使得消 息緩冲队列保持合适的值,从而使得消息緩冲队列的长度在期望的范围之内, 保证发送到网络的业务有较高的成功率。 本实施例提供了一种网络拥塞控制方法, 若在连续 N个控制周期内的业 务成功率均小于预设的业务成功比例阈值, 且接收到网络拥塞通告, 则启动 对网络状况的监控, 开始对启动监控之后的各个控制周期内的消息往返的网 络时延进行统计, 并根据获取的任意一个控制周期的平均时延来减少任意一 个控制后期的下一个的控制周期的业务首消息的允许发送业务量; 由于控制 周期的平均时延的大小可以反映当前的网络拥塞程度, 本实施例避免了现有 HTR 流控由于仅考虑业务成功率就开始进行流控而容易导致误控的问题, 实 现了对网络拥塞更精确、 更有效的控制, 提升了网络拥塞后的业务成功率。 In this embodiment, by controlling the size of the allowed traffic of the service first message, the network congestion degree is finally alleviated, and since the average delay of one control period can directly reflect the network congestion degree, the target controlled by this embodiment is also It can be equivalent to controlling the average delay within the target delay interval. The length of the message buffer queue can be determined by the average delay of the control period. The longer the average delay is, the longer the length of the message buffer queue is. The smaller the average delay is, the shorter the length of the message buffer queue is. If the queue is too long, the overflow may occur, causing the message to be randomly discarded. The protocol timer expires and the service is damaged. If the message buffer queue is too short, the buffer function is not available, and the link capability may not be fully utilized. Therefore, in this embodiment, by controlling the allowed traffic of the service first message, the length of the message buffer queue is indirectly controlled by controlling the average delay, so that the message buffer queue maintains an appropriate value, thereby making the length of the message buffer queue. Within the expected range, the service sent to the network is guaranteed to have a higher success rate. The embodiment provides a network congestion control method, if the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, and the process starts. The network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the allowed transmission of the service first message of the next control period of any one of the later control periods is reduced according to the average delay of any one of the obtained control periods. Traffic volume; Since the average delay of the control period can reflect the current network congestion degree, this embodiment avoids the problem that the existing HTR flow control is easy to cause error control because the flow control is started only considering the service success rate. More precise and effective control of network congestion improves the service success rate after network congestion.
图 2为本发明网络拥塞控制方法实施例二的流程图, 如图 2所示, 本实 施例提供了一种网络拥塞控制方法, 可以具体包括如下步骤:  2 is a flowchart of Embodiment 2 of a network congestion control method according to the present invention. As shown in FIG. 2, the embodiment provides a network congestion control method, which may specifically include the following steps:
步骤 201 , 当在连续 N个控制周期内的业务成功率均小于预设的业务成 功比例阈值, 且接收到网络拥塞通告时, 启动对网络状况的监控。  Step 201: When the service success rate in the consecutive N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started.
在本实施例中, 通过预先设定的控制周期来进行具体的流控, 该控制周 期可以根据实际情况具体配置, 如具体配置为 1 0秒。 业务层进行 HTR流控是 根据预设的起控条件而触发的, 如果获取到在连续 N个控制周期内的业务成 功率均小于预设的业务成功比例阈值, 且接收到链路层上报的网络拥塞通告 时, 确定网络状况达到预设的起控条件, 则启动对网络状况的监控, 即业务 层开始执行本实施例中的流控方案。 其中, N为预先设置的大于 1的正整数, 此处可以具体取 N=4 , 业务成功比例阈值为根据实际情况预先设定的, 如根 据之前的网络拥塞情况的控制过程中统计的业务成功率的情况而设定, 此处 可以具体为 70%。 在本实施例中, 当链路层检测到当前网络出现拥塞, 例如 消息发送緩冲区出现溢出时, 以网络拥塞通告的形式向业务层上 ·艮网络拥塞。  In this embodiment, the specific flow control is performed by using a preset control period, and the control period may be specifically configured according to actual conditions, for example, the specific configuration is 10 seconds. The service layer performs the HTR flow control according to the preset control condition. If the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the link layer is reported, When the network congestion notification is performed, it is determined that the network condition reaches a preset control condition, and the monitoring of the network status is started, that is, the service layer starts to execute the flow control solution in this embodiment. N is a positive integer greater than 1 in advance, and N=4 can be specifically taken here. The service success ratio threshold is preset according to the actual situation, such as the service success measured according to the previous network congestion. The rate is set, which can be 70%. In this embodiment, when the link layer detects that the current network is congested, for example, when the message sending buffer overflows, the network layer is congested in the form of a network congestion notification.
步骤 202 , 对启动监控之后的各个控制周期内的消息往返的网络时延进 行统计, 根据统计的所述各个控制周期内消息往返的网络时延确定所述各个 控制周期的平均时延。  Step 202: Perform statistics on the network delay of the round-trip of the message in each control period after the monitoring is started, and determine the average delay of the each control period according to the network delay of the round-trip of the message in the respective control periods.
当业务层开始流控后, 本实施例以预设的控制周期为单位, 对启动监控 之后的各个控制周期内的消息往返的网络时延进行统计。 其中, 在对一个消 息往返的网络时延进行统计时, 可以从设备向对端网元发送该消息开始进行 计时, 直到该设备接收到对端网元返回的该消息的响应停止计时, 所计的时 间即为该消息往返的网络时延。 4叚设在一个控制周期内设备向对端网元发送 了 1 00个消息, 但设备只接收到 50个消息的响应, 则本步骤只统计接收到响 应的这 50个消息的消息往返的网络时延。本步骤还根据统计的各个控制周期 内消息往返的网络时延确定各个控制周期的平均时延。 该平均时延为统计的 多个消息往返的网络时延的平均值。 其中, 时延的大小可以反映网络拥塞程 度, 时延越大, 则网络拥塞程度越严重; 时延越小, 则网络拥塞程度越轻。 After the traffic layer starts to be flow-controlled, the embodiment performs statistics on the round-trip network delay of each message in each control period after the monitoring is started in units of a preset control period. When the network delay of a message is counted, the device may send the message to the peer network element to start timing, until the device receives the response of the message returned by the peer network element, and stops counting. The time is the network delay for the round trip of the message. 4叚 The device is sent to the peer network element within one control period. With 100 messages, but the device only receives the response of 50 messages, this step only counts the network delay of the message round-trip of the 50 messages that received the response. This step also determines the average delay of each control cycle based on the statistical network delay of the message round-trip in each control cycle. The average delay is the average of the network delays of the round trips of multiple messages. The size of the delay can reflect the degree of network congestion. The greater the delay, the more serious the network congestion. The smaller the delay, the lighter the network congestion.
步骤 203 , 判断启动监控之后的任意一个控制周期的平均时延是否处于 预设的目标时延区间内, 如果是, 则执行步骤 204 , 否则执行步骤 207。  Step 203: Determine whether the average delay of any one of the control periods after the monitoring is started is within a preset target delay interval. If yes, execute step 204; otherwise, perform step 207.
在本实施例中, 以启动监控之后的任意一个控制周期的平均时延来确定 网络拥塞状况, 并根据网络拥塞状况对发送业务量进行控制。 本实施例可以 具体采用窗口访问限制 (Window Acces s L imi t ; 以下简称: WAL )控制法来 控制发送业务量。 本实施例可以根据实际情况设定一个目标时延区间, 该目 标时延区间可以为以目标时延为中心的一个区间范围, 目标时延区间的上限 值为(目标时延 +时延调整值 Δ ) , 目标时延区间的下限值为(目标时延 - Δ ) , 即目标时延区间为 [目标时延 - Δ,目标时延 +△]。本步骤为判断启动监控之后 的任意一个控制周期的平均时延是否落在目标时延区间内, 来确定该控制周 期的网络拥塞程度。 当启动监控之后的任意一个控制周期的平均时延落在目 标时延区间内时, 表明当前网络拥塞程度较低, 或者不存在网络拥塞, 此时 则执行步骤 204 , 继续进行进一步的具体判断; 当启动监控之后的任意一个 控制周期的平均时延未落在目标时延区间内时,表明当前网络拥塞程度较高, 或者网络拥塞较严重, 此时则执行步骤 207。  In this embodiment, the network congestion condition is determined by the average delay of any one of the control periods after the monitoring is started, and the amount of transmission traffic is controlled according to the network congestion condition. In this embodiment, the window access restriction (Window Acces s L imi t; hereinafter referred to as WAL) control method can be specifically used to control the transmission traffic. In this embodiment, a target delay interval may be set according to actual conditions, and the target delay interval may be an interval range centered on the target delay, and the upper limit of the target delay interval (target delay + delay adjustment) The value Δ ) , the lower limit of the target delay interval is (target delay - Δ ), that is, the target delay interval is [target delay - Δ, target delay + △]. In this step, it is determined whether the average delay of any one of the control periods after the start of monitoring falls within the target delay interval to determine the degree of network congestion of the control period. When the average delay of any one of the control periods after the start of the monitoring falls within the target delay interval, indicating that the current network congestion is low, or there is no network congestion, step 204 is performed to continue with further specific judgment; When the average delay of any one of the control periods after the monitoring is started does not fall within the target delay interval, it indicates that the current network congestion is high, or the network congestion is serious. Then, step 207 is performed.
步骤 204 , 判断所述启动监控之后的任意一个控制周期的即时时延是否 大于启动监控之后的任意一个控制周期的上一控制周期的即时时延,如果是, 则执行步骤 205 , 否则执行步骤 206。  Step 204: Determine whether the instantaneous delay of any one of the control periods after the start of monitoring is greater than the immediate delay of the previous control period of any one of the control periods after the start of monitoring, and if yes, execute step 205, otherwise step 206 is performed. .
当所述启动监控之后的任意一个控制周期的平均时延处于预设的目标时 延区间内时, 继续判断所述任意一个控制周期的即时时延是否大于启动监控 之后的任意一个控制周期的上一控制周期的即时时延, 此处的启动监控之后 的任意一个控制周期的即时时延为该启动监控之后的任意一个控制周期中最 后一个时间单位的消息往返的网络时延, 本实施例中可以具体为该控制周期 的最后 1秒的即时时延。 当所述启动监控之后的任意一个控制周期的即时时 延大于该任意一个控制周期的上一控制周期的即时时延时, 表明当前网络时 延处于上升趋势, 则执行步骤 205 , 减少该控制周期的下一个控制周期中业 务首消息的允许发送业务量。 当所述启动监控之后的任意一个控制周期的即 时时延小于该任意一个控制周期的上一控制周期的即时时延时, 表明当前网 络时延处于下降趋势, 则执行步骤 206 , 增加该控制周期的下一个控制周期 中业务首消息的允许发送业务量。 When the average delay of any one of the control periods after the start monitoring is within a preset target delay interval, continue to determine whether the instantaneous delay of any one of the control periods is greater than any one of the control periods after the start of monitoring The instantaneous delay of a control period, where the instantaneous delay of any one of the control periods after the start of the monitoring is the network delay of the last round of the message in any one of the control periods after the start of the monitoring, in this embodiment It can be specifically the immediate delay of the last 1 second of the control cycle. When the instantaneous delay of any one of the control periods after the startup monitoring is greater than the instantaneous delay of the previous control period of the any one of the control periods, indicating the current network time If the delay is in an upward trend, step 205 is performed to reduce the allowed transmission traffic of the service first message in the next control period of the control period. When the instantaneous delay of any one of the control periods after the startup monitoring is less than the instantaneous delay of the previous control period of the any one of the control periods, indicating that the current network delay is in a downward trend, step 206 is performed to increase the control period. The amount of traffic allowed for the first message of the service in the next control cycle.
进一步地, 本发明实施例可选地方案还可以在上述步骤中, 当所述任意 一个控制周期的即时时延大于任意一个控制周期的上一控制周期的即时时 延, 还可以进一步判断所述任意一个控制周期的即时时延与任意一个控制周 期的上一控制周期的即时时延之差是否大于或等于预设的时延间隔,如果是, 即当所述任意一个控制周期的即时时延相比于该任意一个控制周期的上一控 制周期的即时时延增加了预设的时延调整值 Δ时, 才确定当前网络时延处于 上升趋势, 本实施例此时才通过减少该控制周期的下一个控制周期中业务首 消息的允许发送业务量来实现网络拥塞的控制。 当所述任意一个控制周期的 即时时延小于上一控制周期的即时时延, 还可以进一步判断任意一个控制周 期的上一控制周期的即时时延与所述任意一个控制周期的即时时延之差是否 大于或等于预设的时延间隔, 如果是, 即当所述任意一个控制周期的即时时 延相比于该任意一个控制周期的上一控制周期的即时时延减少了预设的时延 调整值 Δ时, 才进一步确定当前网络时延处于下降趋势, 则可以增加该控制 周期的下一个控制周期中业务首消息的允许发送业务量。  Further, the optional solution of the embodiment of the present invention may further determine, in the foregoing step, when the instantaneous delay of any one of the control periods is greater than the immediate delay of the previous control period of any one of the control periods, Whether the difference between the instantaneous delay of any one control period and the instantaneous delay of the previous control period of any one of the control periods is greater than or equal to a preset delay interval, and if so, that is, the instantaneous delay of any one of the control periods When the preset delay adjustment value Δ is increased compared with the preset delay adjustment value Δ of the previous control period, the current network delay is determined to be in an upward trend. In this embodiment, the control period is reduced. In the next control cycle, the first message of the service allows the transmission of traffic to implement network congestion control. When the instantaneous delay of any one of the control periods is less than the instantaneous delay of the previous control period, the instantaneous delay of the last control period of any one of the control periods and the instantaneous delay of the any one of the control periods may be further determined. Whether the difference is greater than or equal to a preset delay interval, and if so, that is, when the instantaneous delay of any one of the control periods is reduced compared to the instantaneous delay of the previous control period of the arbitrary one of the control periods, the preset time is reduced When the adjustment value Δ is extended, it is further determined that the current network delay is in a downward trend, and the allowed transmission traffic of the service first message in the next control period of the control period may be increased.
步骤 205 , 将所述启动监控之后的任意一个控制周期的下一个控制周期 中的业务首消息的允许发送业务量, 控制为该下一个控制周期中业务首消息 的当前允许发送业务量的 (l-m% )倍。  Step 205: Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring to be the current allowed transmission traffic of the service first message in the next control period (lm %) times.
当所述启动监控之后的任意一个控制周期的平均时延大于或等于预设的 目标时延区间的下限值(目标时延 -Δ ) , 且小于或等于预设的目标时延区间 的上限值(目标时延 +Δ )时, 如果所述启动监控之后的任意一个控制周期的 即时时延大于上一控制周期的即时时延时,表明当前网络时延处于上升趋势, 则减少该控制周期的下一个控制周期中业务首消息的允许发送业务量, 以对 网络拥塞进行控制, 具体可以为将下一个控制周期的业务首消息的允许发送 业务量控制为该下一个控制周期的业务首消息的当前允许发送业务量的 ( l_m% )倍, 其中, m为小于 100的正实数, 具体可以将 m取值为 5。 在实际 应用中, m可以通过大量实验来得到, 通常为一个预先配置的固定值。 The average delay of any one of the control periods after the start monitoring is greater than or equal to a lower limit value of the preset target delay interval (target delay - Δ), and less than or equal to the preset target delay interval When the limit value (target delay + Δ), if the instantaneous delay of any one of the control periods after the start monitoring is greater than the instantaneous time delay of the previous control period, indicating that the current network delay is in an upward trend, the control is reduced. In the next control period of the period, the traffic of the service first message is allowed to be sent to control the network congestion, and the traffic of the service first message of the next control period may be controlled to be the service head of the next control period. The current allowed number of traffic of the message is ( l_m% ) times, where m is a positive real number less than 100, and m can be set to 5. In fact In applications, m can be obtained through a large number of experiments, usually a pre-configured fixed value.
进一步地, 本实施例在流控初期, 当启动对网络状况的监控后, 可以对 业务首消息的允许发送业务量的初始值进行设置。 即在上述步骤 201之后, 可以具体包括如下步骤: 将业务首消息的允许发送业务量的初始值设置为以 下两值中的最大值: 上一控制周期内实际成功的业务量和业务首消息的允许 发送业务量的最小值。 其中, 表示业务首消息的允许发送业务量的最小值, 该业务首消息的允许发送业务量的最小值用于防止出现完全没有业务量时无 法统计网络时延以及业务成功率等流控参数的情况。  Further, in this embodiment, in the initial stage of flow control, after the monitoring of the network status is started, the initial value of the allowable transmission traffic of the service first message may be set. That is, after the foregoing step 201, the method may specifically include the following steps: setting an initial value of the allowed transmission traffic of the service first message to a maximum value of the following two values: the actual successful traffic volume and the service first message in the previous control cycle. The minimum amount of traffic allowed to be sent. The minimum value of the allowed traffic to be sent is the first message of the service, and the minimum value of the allowed traffic is used to prevent the flow control parameters such as the network delay and the service success rate from being lost when there is no traffic at all. Happening.
步骤 206 , 将所述启动监控之后的任意一个控制周期的下一个控制周期 中的业务首消息的允许发送业务量, 控制为该下一个控制周期中的业务首消 息的当前允许发送业务量的 (l+n% )倍。  Step 206: Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the start of the monitoring to the current allowed transmission service volume of the service first message in the next control period ( l+n%) times.
当所述启动监控之后的任意一个控制周期的平均时延大于或等于预设的 目标时延区间的下限值(目标时延 -Δ ) , 且小于或等于预设的目标时延区间 的上限值(目标时延 +Δ )时, 如果所述启动监控之后的任意一个控制周期的 即时时延小于上一控制周期的即时时延, 表明当前网络时延处于下降趋势, 增加该控制周期的下一个控制周期中业务首消息的允许发送业务量, 以对链 路等网络资源进行充分利用, 具体可以为将该控制周期的下一个控制周期的 发送业务量控制为, 该下一个控制周期的业务首消息的当前允许发送业务量 的 (l+n% )倍, 其中, n为小于 100的正实数, 具体可以将 n取值为 2。 在实 际应用中, n可以通过大量实验来得到, 通常为一个固定值, 但 m的取值通 常大于 n的取值。  The average delay of any one of the control periods after the start monitoring is greater than or equal to a lower limit value of the preset target delay interval (target delay - Δ), and less than or equal to the preset target delay interval When the limit value (target delay + Δ) is used, if the instantaneous delay of any one of the control periods after the start monitoring is smaller than the immediate delay of the previous control period, it indicates that the current network delay is in a downward trend, and the control period is increased. The traffic of the service first message in the next control period is allowed to be sent, so as to fully utilize the network resources such as the link, specifically, the transmission traffic of the next control cycle of the control cycle is controlled to be the next control cycle. The current first message of the service is allowed to transmit (l+n%) times of the traffic, where n is a positive real number less than 100, and specifically, n can be set to 2. In practical applications, n can be obtained by a large number of experiments, usually a fixed value, but the value of m is usually greater than the value of n.
步骤 207 , 判断所述启动监控之后的任意一个控制周期的平均时延是否 大于预设的目标时延区间的上限值, 如果是, 则执行步骤 208 , 否则执行步 骤 209。  Step 207: Determine whether an average delay of any one of the control periods after the start monitoring is greater than an upper limit of the preset target delay interval. If yes, execute step 208; otherwise, execute step 209.
当启动监控之后的任意一个控制周期的平均时延未处于预设的目标时延 区间内时, 具体判断该控制周期的平均时延是否大于预设的目标时延区间的 上限值, 即判断平均时延是否大于(目标时延 +Δ ) , 如果是, 表明当前的网 络拥塞较严重, 则执行步骤 208; 否则执行步骤 209。  When the average delay of any one of the control periods after the monitoring is started is not within the preset target delay interval, it is specifically determined whether the average delay of the control period is greater than the upper limit of the preset target delay interval, that is, the judgment Whether the average delay is greater than (target delay + Δ), if yes, indicating that the current network congestion is serious, step 208 is performed; otherwise, step 209 is performed.
步骤 208 , 将所述启动监控之后的任意一个控制周期的下一个控制周期 中的业务首消息的允许发送业务量, 控制为该下一个控制周期中的业务首消 息的当前允许发送业务量的 (l-p% )倍。 Step 208: Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring to be the service first cancellation in the next control period. The current amount of interest is allowed to be transmitted (lp%) times.
当启动监控之后的任意一个控制周期的平均时延大于预设的目标时延区 间的上限值 (目标时延 +Δ )时, 减少发送业务量, 具体可以为将该控制周期 的下一控制周期的业务首消息的允许发送业务量控制为, 该下一个控制周期 的业务首消息的当前允许发送业务量的 (l-p% )倍, 其中, p为小于 100的 正实数, 具体可以将 p取值为 10。 在实际应用中, p可以通过大量实验来得 到, 通常为一个预先配置的固定值。  When the average delay of any one of the control periods after the start of monitoring is greater than the upper limit of the preset target delay interval (target delay + Δ), the transmission traffic is reduced, which may specifically be the next control of the control period. The allowable transmission traffic of the periodic service first message is controlled to be (lp%) times the current allowed traffic volume of the service first message of the next control period, where p is a positive real number less than 100, and specifically, p may be taken The value is 10. In practice, p can be obtained through a large number of experiments, usually a pre-configured fixed value.
步骤 209 , 将所述启动监控之后的任意一个控制周期的下一个控制周期 中的业务首消息的允许发送业务量, 控制为该下一个控制周期中的业务首消 息的当前允许业务发送量的 ( l+q% )倍。  Step 209: Control the allowed transmission traffic of the service first message in the next control period of any one of the control periods after the start of the monitoring to the current allowed service transmission amount of the service first message in the next control period ( l+q%) times.
当启动监控之后的任意一个控制周期的平均时延大于预设的目标时延区 间的下限值 (目标时延 -Δ )时, 增加发送业务量, 具体可以为将该控制周期 的下一个控制周期中的业务首消息的允许发送业务量控制为, 该下一个控制 周期的业务首消息的当前允许发送业务量的(l+q% )倍, 其中, q为小于 100 的正实数, 具体可以将 q取值为 5。 在实际应用中, q可以通过大量实验来得 到, 通常为一个预先配置的固定值, 但 p的取值通常大于 q的取值, 因为, 增加业务发送量是为了保证最大程度地利用带宽, 使得电信设备得到有效利 用, 但是, 为了实现业务的顺利进行, 需要保证网络不拥塞, 因此, 若保证 增加的业务量总是小于减少的业务量, 即能有效利用带宽提高效率, 也能保 证业务的成功率。  When the average delay of any one of the control periods after the start of monitoring is greater than the lower limit of the preset target delay interval (target delay - Δ), the transmission traffic is increased, which may specifically be the next control of the control cycle. The allowable transmission traffic of the service first message in the cycle is controlled as (1+q%) times of the currently allowed traffic volume of the service first message of the next control cycle, where q is a positive real number less than 100, specifically Let q be 5. In practical applications, q can be obtained through a large number of experiments, usually a pre-configured fixed value, but the value of p is usually greater than the value of q, because the increase in traffic is to ensure the maximum use of bandwidth, so that Telecommunication equipment is effectively utilized. However, in order to achieve smooth service, it is necessary to ensure that the network is not congested. Therefore, if the increased traffic is always less than the reduced traffic, the bandwidth can be effectively utilized to improve efficiency. Success rate.
具体地, 当完成各控制周期的业务首消息的允许发送业务量的控制, 确 定业务层在各控制周期能够 7 担的发送业务量后, 通过该业务首消息的允许 发送业务量对业务的首消息量进行具体控制, 即从业务的第一条消息开始拒 绝, 而非拒绝业务的中间消息, 以实现对业务层实际所发送的业务量控制在 该发送业务量。 Specifically, when allowed to control the transmission of traffic, to determine a service layer after each control period can be transmitted traffic 7 supported by the service allows the first message transmitted traffic on the business first complete each control cycle service start message The amount of the message is specifically controlled, that is, the first message of the service is rejected, instead of the intermediate message of the service, so that the amount of traffic actually sent by the service layer is controlled in the amount of the transmitted traffic.
进一步地, 本实施例提供的方法还可以包括如下步骤: 当在启动监控后 的连续 M个控制周期内接收到的业务量小于或等于所述业务首消息的允许发 送业务量时, 停止对业务首消息的允许发送业务量的控制, 其中, M 为预先 设置的大于 1的正整数, 此处可以将 M具体设置为 4。 即当网络状况满足预 设的解控条件时, 此处的解控条件为在连续 4个控制周期内业务层接收到的 业务量均小于或等于确定的各控制周期的业务首消息的允许发送业务量, 则 表明当前需要发送的业务量很少, 无需进行网络拥塞控制, 停止执行本实施 例的监控操作。 Further, the method provided in this embodiment may further include the following steps: stopping the service when the amount of traffic received in the consecutive M control periods after the startup monitoring is less than or equal to the allowed transmission traffic of the service first message. The control of the first message allows the transmission of traffic, where M is a pre-set positive integer greater than 1, where M can be specifically set to 4. That is, when the network condition satisfies the preset de-control condition, the de-control condition here is received by the service layer in four consecutive control periods. If the service volume is less than or equal to the allowed traffic volume of the service first message of each determined control period, it indicates that the amount of traffic that needs to be sent is small, and the network congestion control is not required, and the monitoring operation of this embodiment is stopped.
本实施例提供了一种网络拥塞控制方法, 若在连续 N个控制周期内的业 务成功率均小于预设的业务成功比例阈值, 且接收到网络拥塞通告, 则启动 对网络状况的监控, 开始对启动监控之后的各个控制周期内的消息往返的网 络时延进行统计, 并根据获取的任意一个控制周期的平均时延来减少任意一 个控制后期的下一个的控制周期的业务首消息的允许发送业务量; 由于控制 周期的平均时延的大小可以反映当前的网络状况, 本实施例避免了现有 HTR 流控由于仅考虑业务成功率而容易导致误控的问题, 实现了对网络拥塞更加 有效的控制, 提升了网络拥塞后的业务成功率。  The embodiment provides a network congestion control method, if the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, and the process starts. The network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the allowed transmission of the service first message of the next control period of any one of the later control periods is reduced according to the average delay of any one of the obtained control periods. Since the average delay of the control period can reflect the current network condition, this embodiment avoids the problem that the existing HTR flow control is easy to cause error control due to only considering the service success rate, and the network congestion is more effective. The control improves the business success rate after network congestion.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The steps of the foregoing method embodiments are included; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
图 3为本发明网络拥塞控制装置实施例一的结构图, 如图 3所示, 本实 施例提供了一种网络拥塞控制装置, 可以具体执行上述方法实施例一中的各 个步骤, 此处不再赘述。 本实施例提供的网络拥塞控制装置可以具体包括起 控模块 301、 统计模块 302和第一控制模块 303。 其中, 起控模块 301用于若 在连续 N个控制周期内的业务成功率均小于预设的业务成功比例阈值, 且接 收到网络拥塞通告, 则启动对网络状况的监控, 其中, N为预先设置的大于 1 的正整数。 统计模块 302用于对启动监控之后的各个控制周期内的消息往返 的网络时延进行统计, 获得所述启动监控之后的各个控制周期的平均时延。 第一控制模块 303用于当启动监控之后的任意一个控制周期的平均时延大于 预设的目标时延区间的上限值时, 减少所述任意一个控制周期的下一个控制 周期中的业务首消息的允许发送业务量。 其中, 所述启动监控之后的任意一 个控制周期的平均时延为在所述启动监控之后的任意一个控制周期内收到的 业务成功响应的网络时延的平均值。  3 is a structural diagram of Embodiment 1 of a network congestion control apparatus according to the present invention. As shown in FIG. 3, this embodiment provides a network congestion control apparatus, which may specifically perform the steps in Embodiment 1 of the foregoing method. Let me repeat. The network congestion control apparatus provided in this embodiment may specifically include a start control module 301, a statistics module 302, and a first control module 303. The start control module 301 is configured to start monitoring the network status if the service success rate in the consecutive N control periods is less than a preset service success ratio threshold, and the network congestion notification is received, where N is a pre- Set a positive integer greater than 1. The statistics module 302 is configured to perform statistics on the network delay of the round-trip of the messages in each control period after the monitoring is started, and obtain the average delay of each control period after the startup monitoring. The first control module 303 is configured to reduce the service head in the next control period of any one of the control periods when the average delay of any one of the control periods after the start of the monitoring is greater than the upper limit of the preset target delay interval The message is allowed to send traffic. The average delay of any one of the control periods after the start monitoring is an average of the network delays of the service success responses received within any one of the control periods after the start monitoring.
图 4为本发明网络拥塞控制装置实施例二的结构图, 如图 4所示, 本实 施例提供了一种网络拥塞控制装置, 可以具体执行上述方法实施例二中的各 个步骤, 此处不再赘述。 本实施例提供的网络拥塞控制装置在上述图 3所示 的基础之上, 还可以包括第二控制模块 401。 第二控制模块 401 用于当启动 监控之后的任意一个控制周期的平均时延小于预设的目标时延区间的下限值 时, 增加所述任意一个控制周期的下一个控制周期中的业务首消息的允许发 送业务量。 4 is a structural diagram of Embodiment 2 of a network congestion control apparatus according to the present invention. As shown in FIG. 4, this embodiment provides a network congestion control apparatus, which can specifically execute each of the foregoing Embodiment 2 of the foregoing method. Steps, no more details here. The network congestion control apparatus provided in this embodiment may further include a second control module 401 on the basis of the foregoing FIG. The second control module 401 is configured to increase the service head in the next control period of any one of the control periods when the average delay of any one of the control periods after the start of the monitoring is less than the lower limit of the preset target delay interval The message is allowed to send traffic.
具体地, 本实施例提供的网络拥塞控制装置还可以包括第三控制模块 402 ,第三控制模块 402用于当启动监控之后的任意一个控制周期的平均时延 大于或等于预设的目标时延区间的下限值, 且小于或等于预设的目标时延区 间的上限值时, 根据所述启动监控之后的任意一个控制周期的即时时延对所 述启动监控之后的任意一个控制周期的下一个控制周期中的业务首消息的允 许发送业务量进行控制。 其中, 所述启动监控之后的任意一个控制周期的即 时时延为所述启动监控之后的任意一个控制周期中最后一个单位时间收到的 业务成功响应的网络时延。  Specifically, the network congestion control apparatus provided in this embodiment may further include a third control module 402, where the average delay of any one of the control periods after the monitoring is started is greater than or equal to a preset target delay. When the lower limit value of the interval is less than or equal to the upper limit value of the preset target delay interval, the instantaneous delay according to any one of the control cycles after the start monitoring is performed on any one of the control cycles after the start monitoring The allowed traffic of the service first message in the next control cycle is controlled. The instantaneous delay of any one of the control periods after the start of the monitoring is the network delay of the service success response received in the last unit time in any one of the control periods after the start of the monitoring.
具体地,本实施例中的第三控制模块 402可以具体包括第一控制单元 412 和第二控制单元 422。 其中, 第一控制单元 412用于当所述启动监控之后的 任意一个控制周期的即时时延大于所述启动监控之后的任意一个控制周期的 上一控制周期的即时时延时, 减少所述启动监控之后的任意一个控制周期的 下一个控制周期中的业务首消息的允许发送业务量。 第二控制单元 422用于 当所述启动监控之后的任意一个控制周期的即时时延小于启动监控之后的任 意一个控制周期的上一控制周期的即时时延时, 增加所述启动监控之后的任 意一个控制周期的下一个控制周期中的业务首消息的允许发送业务量。  Specifically, the third control module 402 in this embodiment may specifically include a first control unit 412 and a second control unit 422. The first control unit 412 is configured to reduce the start time of any one of the control periods after the start monitoring is greater than the immediate time delay of the last control period of any one of the control periods after the start of monitoring, and reduce the start The allowed traffic of the service first message in the next control cycle of any one of the control cycles after the monitoring. The second control unit 422 is configured to: when the start of the monitoring, the instantaneous delay of any one of the control periods is less than the instantaneous delay of the last control period of any one of the control periods after the start of the monitoring, and add any The traffic allowed for the first message of the service in the next control cycle of a control cycle.
更进一步地, 当所述启动监控之后的任意一个控制周期的即时时延大于 所述启动监控之后的任意一个控制周期的上一控制周期的即时时延时, 第一 控制单元 412还用于判断所述启动监控之后的任意一个控制周期的即时时延 与所述启动监控之后的任意一个控制周期的上一控制周期的即时时延之差是 否大于或等于预设的时延间隔, 如果是, 才执行所述减少所述启动监控之后 的任意一个控制周期的下一个控制周期中的业务首消息的允许发送业务量的 步骤。 当所述启动监控之后的任意一个控制周期的即时时延小于所述启动监 控之后的任意一个控制周期的上一控制周期的即时时延时,第二控制单元 422 还用于判断所述启动监控之后的任意一个控制周期的上一控制周期的即时时 延与所述启动监控之后的任意一个控制周期的即时时延之差是否大于或等于 预设的时延间隔时, 如果是, 才执行所述增加所述启动监控之后的任意一个 控制周期的下一个控制周期中的业务首消息的允许发送业务量的步骤。 Further, when the instantaneous delay of any one of the control periods after the startup monitoring is greater than the instantaneous delay of the last control period of any one of the control periods after the startup monitoring, the first control unit 412 is further configured to determine Whether the difference between the instantaneous delay of any one of the control periods after the start of monitoring and the instantaneous delay of the last control period of any one of the control periods after the start of monitoring is greater than or equal to a preset delay interval, and if so, The step of reducing the allowable transmission traffic of the service first message in the next control period of any one of the control periods after the start of the monitoring is performed. The second control unit 422 is further configured to determine the startup monitoring when the instantaneous delay of any one of the control periods after the startup monitoring is less than the immediate delay of the previous control period of any one of the control periods after the startup monitoring. Immediate time of the last control cycle of any subsequent control cycle And if the difference between the instantaneous delay of any one of the control periods after the start monitoring is greater than or equal to a preset delay interval, if yes, performing the adding of any one of the control periods after the start monitoring A step of allowing traffic to be sent for a service first message in a control cycle.
更进一步地, 本实施例提供的网络拥塞控制装置还可以包括设置模块 403 , 设置模块 403用于在所述启动对网络状况的监控之后, 设置业务首消息 的允许发送业务量的初始值为以下两值中的最大值: 上一控制周期内实际成 功的业务量、 业务首消息的允许发送业务量的最小值。  Further, the network congestion control apparatus provided in this embodiment may further include a setting module 403, configured to set an initial value of the allowed transmission traffic of the service first message to the following after the monitoring of the network status is initiated. The maximum of the two values: the actual successful traffic in the previous control cycle, and the minimum allowed traffic of the service first message.
更进一步地, 本实施例提供的网络拥塞控制装置还可以包括解控模块 404 ,解控模块 404用于当在连续 M个控制周期内接收到的业务量小于或等于 所述业务首消息的允许发送业务量时, 停止对所述业务首消息的允许发送业 务量的控制, 其中, M为预先设置的大于 1的正整数。  Further, the network congestion control apparatus provided in this embodiment may further include a decoupling module 404, configured to: when the amount of traffic received in consecutive M control periods is less than or equal to the permission of the service first message When the traffic is sent, the control of the allowed transmission traffic of the service first message is stopped, where M is a pre-set positive integer greater than 1.
本实施例提供了一种网络拥塞控制装置, 若在连续 N个控制周期内的业 务成功率均小于预设的业务成功比例阈值, 且接收到网络拥塞通告, 则启动 对网络状况的监控, 开始对启动监控之后的各个控制周期内的消息往返的网 络时延进行统计, 并根据获取的任意一个控制周期的平均时延来减少任意一 个控制后期的下一个的控制周期的业务首消息的允许发送业务量; 由于控制 周期的平均时延的大小可以反映当前的网络拥塞程度, 本实施例避免了现有 HTR流控由于仅考虑业务成功率而容易导致误控的问题, 实现了对网络拥塞 更有效的确控制, 提升了网络拥塞后的业务成功率。  The embodiment provides a network congestion control device, if the service success rate in the continuous N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, and the process starts. The network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the allowed transmission of the service first message of the next control period of any one of the later control periods is reduced according to the average delay of any one of the obtained control periods. Traffic volume; Since the average delay of the control period can reflect the current network congestion degree, this embodiment avoids the problem that the existing HTR flow control is easy to cause error control due to only considering the service success rate, and the network congestion is realized. Effectively control, improve the business success rate after network congestion.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要求 书 Claim
1、 一种网络拥塞控制方法, 其特征在于, 包括:  A network congestion control method, comprising:
若在连续 N 个控制周期内的业务成功率均小于预设的业务成功比例阈 值, 且接收到网络拥塞通告, 则启动对网络状况的监控, 其中, N 为预先设 置的大于 1的正整数;  If the service success rate in the consecutive N control periods is less than the preset service success ratio threshold, and the network congestion notification is received, the monitoring of the network status is started, where N is a pre-set positive integer greater than 1.
对启动监控之后的各个控制周期内的消息往返的网络时延进行统计, 获 得所述启动监控之后的各个控制周期的平均时延;  The network delay of the round-trip of the message in each control period after the monitoring is started is counted, and the average delay of each control period after the startup monitoring is obtained;
当所述启动监控之后的任意一个控制周期的平均时延大于预设的目标时 延区间的上限值时, 减少所述任意一个控制周期的下一个控制周期中的业务 首消息的允许发送业务量;  When the average delay of any one of the control periods after the startup monitoring is greater than the upper limit of the preset target delay interval, the allowed transmission service of the service first message in the next control period of the any one of the control periods is reduced. the amount;
其中, 所述启动监控之后的任意一个控制周期的平均时延为在所述启动 监控之后的任意一个控制周期内收到的业务成功响应的网络时延的平均值。  The average delay of any one of the control periods after the startup monitoring is an average of the network delays of the service success responses received within any one of the control periods after the startup monitoring.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising:
当所述启动监控之后的任意一个控制周期的平均时延小于预设的目标时 延区间的下限值时, 增加所述任意一个控制周期的下一个控制周期中的业务 首消息的允许发送业务量。  When the average delay of any one of the control periods after the start of monitoring is less than the lower limit of the preset target delay interval, the allowed transmission service of the service first message in the next control period of the any one of the control periods is increased. the amount.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 还包括:  The method according to claim 1 or 2, further comprising:
当所述启动监控之后的任意一个控制周期的平均时延大于或等于预设的 目标时延区间的下限值, 且小于或等于预设的目标时延区间的上限值时, 根 据所述启动监控之后的任意一个控制周期的即时时延对业务首消息的允许发 送业务量进行控制;  When the average delay of any one of the control periods after the start monitoring is greater than or equal to the lower limit value of the preset target delay interval, and less than or equal to the upper limit value of the preset target delay interval, according to the The instantaneous delay of any one control period after the monitoring is started controls the allowed transmission traffic of the service first message;
其中, 所述启动监控之后的任意一个控制周期的即时时延为所述启动监 控之后的任意一个控制周期中最后一个单位时间收到的业务成功响应的网络 时延。  The instantaneous delay of any one of the control periods after the start of monitoring is the network delay of the service success response received in the last unit time in any one of the control periods after the start of the monitoring.
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述启动监控之 后的任意一个控制周期的即时时延对业务首消息的允许发送业务量进行控制 包括:  The method according to claim 3, wherein the controlling the allowable transmission traffic of the service first message according to the instantaneous delay of any one of the control periods after the startup monitoring comprises:
当所述启动监控之后的任意一个控制周期的即时时延大于所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延时, 减少所述启动监控 之后的任意一个控制周期的下一个控制周期中的业务首消息的允许发送业务 量; 或者 When the instantaneous delay of any one of the control periods after the startup monitoring is greater than the instantaneous delay of the last control period of any one of the control periods after the startup monitoring, reducing any one of the control periods after the startup monitoring Allowable transmission of service first message in a control cycle Quantity; or
当所述启动监控之后的任意一个控制周期的即时时延小于所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延时, 增加所述启动监控 之后的任意一个控制周期的下一个控制周期中的业务首消息的允许发送业务 量。  When the instantaneous delay of any one of the control periods after the start monitoring is less than the instantaneous time delay of the last control period of any one of the control periods after the start of monitoring, increase any one of the control periods after the start monitoring The amount of traffic allowed for a service first message in a control cycle.
5、 根据权利要求 4所述的方法, 其特征在于,  5. The method of claim 4, wherein
当所述启动监控之后的任意一个控制周期的即时时延大于所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延时, 所述方法进一步包 括: 判断所述启动监控之后的任意一个控制周期的即时时延与所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延之差是否大于或等于预 设的时延间隔, 如果是, 才执行所述减少所述启动监控之后的任意一个控制 周期的下一个控制周期中的业务首消息的允许发送业务量的步骤;  When the instantaneous delay of any one of the control periods after the startup monitoring is greater than the instantaneous delay of the last control period of any one of the control periods after the startup monitoring, the method further includes: determining the after the startup monitoring Whether the difference between the instantaneous delay of any one of the control periods and the instantaneous delay of the last control period of any one of the control periods after the start of monitoring is greater than or equal to a preset delay interval, and if so, the reduction is performed The step of enabling the transmission of the traffic of the service first message in the next control cycle of any one of the control cycles after the monitoring is started;
当所述启动监控之后的任意一个控制周期的即时时延小于所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延时, 所述方法进一步包 括: 判断所述启动监控之后的任意一个控制周期的上一控制周期的即时时延 与所述启动监控之后的任意一个控制周期的即时时延之差是否大于或等于预 设的时延间隔时, 如果是, 才执行所述增加所述启动监控之后的任意一个控 制周期的下一个控制周期中的业务首消息的允许发送业务量的步骤。  When the instantaneous delay of any one of the control periods after the startup monitoring is less than the instantaneous delay of the last control period of any one of the control periods after the startup monitoring, the method further includes: determining the after the startup monitoring Whether the difference between the instantaneous delay of the last control period of any one of the control periods and the instantaneous delay of any one of the control periods after the start of monitoring is greater than or equal to a preset delay interval, and if so, the increase is performed And the step of initiating the transmission of the traffic volume of the service first message in the next control period of any one of the control periods after the monitoring.
6、 根据权利要求 1-5任意一项所述的方法, 其特征在于, 在所述启动对 网络状况的监控之后, 还包括:  The method according to any one of claims 1-5, further comprising: after the starting monitoring of the network condition, the method further comprising:
设置业务首消息的允许发送业务量的初始值为以下两值中的最大值: 上 一控制周期内实际成功的业务量、 业务首消息的允许发送业务量的最小值。  The initial value of the allowable sending traffic of the service first message is set to the maximum of the following two values: the actual successful traffic in the previous control period, and the minimum allowable traffic volume of the service first message.
7、 根据权利要求 1或 2所述的方法, 其特征在于, 还包括:  The method according to claim 1 or 2, further comprising:
当在连续 M个控制周期内接收到的业务量小于或等于所述业务首消息的 允许发送业务量时, 停止对所述业务首消息的允许发送业务量的控制, 其中, M为预先设置的大于 1的正整数。  When the amount of traffic received in the consecutive M control periods is less than or equal to the allowed transmission traffic of the service first message, stopping the control of the allowed transmission traffic of the service first message, where M is preset A positive integer greater than one.
8、 一种网络拥塞控制装置, 其特征在于, 包括:  8. A network congestion control device, comprising:
起控模块, 用于若在连续 N个控制周期内的业务成功率均小于预设的业 务成功比例阈值, 且接收到网络拥塞通告, 则启动对网络状况的监控, 其中, N为预先设置的大于 1的正整数; 统计模块, 用于对启动监控之后的各个控制周期内的消息往返的网络时 延进行统计 , 获得所述启动监控之后的各个控制周期的平均时延; The control module is configured to start monitoring the network status if the service success rate in the consecutive N control periods is less than a preset service success ratio threshold, and the network congestion notification is received, where N is preset a positive integer greater than one; a statistics module, configured to perform statistics on a network delay of a message round-trip in each control period after the monitoring is started, and obtain an average delay of each control period after the startup monitoring;
第一控制模块 , 用于当所述启动监控之后的任意一个控制周期的平均时 延大于预设的目标时延区间的上限值时, 减少所述任意一个控制周期的下一 个控制周期中的业务首消息的允许发送业务量;  a first control module, configured to: when the average delay of any one of the control periods after the startup monitoring is greater than an upper limit of the preset target delay interval, reduce the next control period of the any one of the control periods The traffic of the first message of the service is allowed to be sent;
其中, 所述启动监控之后的任意一个控制周期的平均时延为在所述启动 监控之后的任意一个控制周期内收到的业务成功响应的网络时延的平均值。  The average delay of any one of the control periods after the startup monitoring is an average of the network delays of the service success responses received within any one of the control periods after the startup monitoring.
9、 根据权利要求 8所述的装置, 其特征在于, 还包括:  9. The device according to claim 8, further comprising:
第二控制模块 , 用于当所述启动监控之后的任意一个控制周期的平均时 延小于预设的目标时延区间的下限值时, 增加所述任意一个控制周期的下一 个控制周期中的业务首消息的允许发送业务量。  a second control module, configured to: when the average delay of any one of the control periods after the startup monitoring is less than a lower limit value of the preset target delay interval, increase the next control period of the any one of the control periods The first message of the business is allowed to send traffic.
10、 根据权利要求 8或 9所述的装置, 其特征在于, 还包括:  The device according to claim 8 or 9, further comprising:
第三控制模块 , 用于当所述启动监控之后的任意一个控制周期的平均时 延大于或等于预设的目标时延区间的下限值, 且小于或等于预设的目标时延 区间的上限值时, 根据所述启动监控之后的任意一个控制周期的即时时延对 所述启动监控之后的任意一个控制周期的下一个控制周期中的业务首消息的 允许发送业务量进行控制;  a third control module, configured to: when an average delay of any one of the control periods after the start monitoring is greater than or equal to a lower limit value of the preset target delay interval, and less than or equal to a preset target delay interval The limit time, according to the instantaneous delay of any one of the control periods after the startup monitoring, controlling the allowable transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring;
其中, 所述启动监控之后的任意一个控制周期的即时时延为所述启动监 控之后的任意一个控制周期中最后一个单位时间收到的业务成功响应的网络 时延。  The instantaneous delay of any one of the control periods after the start of monitoring is the network delay of the service success response received in the last unit time in any one of the control periods after the start of the monitoring.
11、根据权利要求 10所述的装置,其特征在于,所述第三控制模块包括: 第一控制单元, 用于当所述启动监控之后的任意一个控制周期的即时时 延大于所述启动监控之后的任意一个控制周期的上一控制周期的即时时延 时, 减少所述启动监控之后的任意一个控制周期的下一个控制周期中的业务 首消息的允许发送业务量;  The device of claim 10, wherein the third control module comprises: a first control unit, configured to: when the start monitoring is performed, an immediate delay of any one of the control cycles is greater than the start monitoring The instantaneous time delay of the last control period of any subsequent control period, reducing the allowable transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring;
第二控制单元, 用于当所述启动监控之后的任意一个控制周期的即时时 延小于启动监控之后的任意一个控制周期的上一控制周期的即时时延时, 增 加所述启动监控之后的任意一个控制周期的下一个控制周期中的业务首消息 的允许发送业务量。  a second control unit, configured to: when the start of the monitoring, the instantaneous delay of any one of the control periods is less than the instantaneous delay of the previous control period of any one of the control periods after the start of the monitoring, and add any The traffic allowed for the first message of the service in the next control cycle of a control cycle.
12、 根据权利要求 11所述的装置, 其特征在于, 当所述启动监控之后的任意一个控制周期的即时时延大于所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延时,所述第一控制单元, 还用于判断所述启动监控之后的任意一个控制周期的即时时延与所述启动监 控之后的任意一个控制周期的上一控制周期的即时时延之差是否大于或等于 预设的时延间隔, 如果是, 才执行所述减少所述启动监控之后的任意一个控 制周期的下一个控制周期中的业务首消息的允许发送业务量的步骤; 12. Apparatus according to claim 11 wherein: The first control unit is further configured to determine that the instantaneous delay of any one of the control periods after the start of the monitoring is greater than the instantaneous time delay of the previous control period of any one of the control periods after the start of the monitoring Whether the difference between the instantaneous delay of any one of the control periods after the start of monitoring and the instantaneous delay of the last control period of any one of the control periods after the start of the monitoring is greater than or equal to the preset delay interval, and if so, is performed And the step of reducing the allowable transmission traffic of the service first message in the next control period of any one of the control periods after the startup monitoring;
当所述启动监控之后的任意一个控制周期的即时时延小于所述启动监控 之后的任意一个控制周期的上一控制周期的即时时延时,所述第二控制单元, 还用于判断所述启动监控之后的任意一个控制周期的上一控制周期的即时时 延与所述启动监控之后的任意一个控制周期的即时时延之差是否大于或等于 预设的时延间隔时, 如果是, 才执行所述增加所述启动监控之后的任意一个 控制周期的下一个控制周期中的业务首消息的允许发送业务量的步骤。  The second control unit is further configured to determine that the instantaneous delay of any one of the control periods after the startup monitoring is less than the instantaneous delay of the last control period of any one of the control periods after the startup monitoring Whether the difference between the instantaneous delay of the last control period of any one of the control periods after the start of monitoring and the instantaneous delay of any one of the control periods after the start of the monitoring is greater than or equal to the preset delay interval, and if so, The step of increasing the allowable traffic of the service first message in the next control cycle of any one of the control periods after the start of the monitoring is performed.
1 3、 根据权利要求 8-12任意一项所述的装置, 其特征在于, 还包括: 设置模块, 用于在所述启动对网络状况的监控之后, 设置业务首消息的 允许发送业务量的初始值为以下两值中的最大值: 上一控制周期内实际成功 的业务量、 业务首消息的允许发送业务量的最小值。  The device according to any one of claims 8 to 12, further comprising: a setting module, configured to: after the starting the monitoring of the network condition, setting the permission to send the traffic of the service first message The initial value is the maximum of the following two values: the actual successful traffic in the previous control cycle, and the minimum allowed traffic of the service first message.
14、 根据权利要求 8或 9所述的装置, 其特征在于, 还包括:  The device according to claim 8 or 9, further comprising:
解控模块, 用于当在连续 M个控制周期内接收到的业务量小于或等于所 述业务首消息的允许发送业务量时, 停止对所述业务首消息的允许发送业务 量的控制, 其中, M为预先设置的大于 1的正整数。  a demodulation module, configured to stop controlling the allowed transmission traffic of the service first message when the traffic received in the consecutive M control periods is less than or equal to the allowed transmission traffic of the service first message, where , M is a pre-set positive integer greater than 1.
PCT/CN2011/082933 2011-11-25 2011-11-25 Network congestion control method and device WO2012167571A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180002964.4A CN102726092B (en) 2011-11-25 2011-11-25 Method and apparatus for controlling network congestion
PCT/CN2011/082933 WO2012167571A1 (en) 2011-11-25 2011-11-25 Network congestion control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/082933 WO2012167571A1 (en) 2011-11-25 2011-11-25 Network congestion control method and device

Publications (1)

Publication Number Publication Date
WO2012167571A1 true WO2012167571A1 (en) 2012-12-13

Family

ID=46950500

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082933 WO2012167571A1 (en) 2011-11-25 2011-11-25 Network congestion control method and device

Country Status (2)

Country Link
CN (1) CN102726092B (en)
WO (1) WO2012167571A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270790A (en) * 2014-10-23 2015-01-07 湘潭大学 Congestion control method based on equitable distribution of communication channel
CN106549876A (en) * 2015-09-22 2017-03-29 中兴通讯股份有限公司 Based on the method for controlling network congestion of ICAP agreements, device and client
CN105407411B (en) * 2015-10-21 2019-05-03 广州市百果园网络科技有限公司 A kind of data transmission method for uplink and data sending device
CN108259364B (en) * 2016-12-29 2021-09-14 中国移动通信集团浙江有限公司 Network congestion determination method and device
CN107483351B (en) * 2017-07-13 2021-09-28 中国银联股份有限公司 Current limiting method and device
CN109981466B (en) * 2019-01-31 2021-02-26 北京英力恒达科技发展有限公司 Real-time control and optimization method and system for SpaceWire network delay
CN110391956B (en) * 2019-07-23 2021-08-13 中国工商银行股份有限公司 Method and device for identifying and monitoring state of network service process
CN110572794B (en) * 2019-09-30 2021-07-13 展讯通信(上海)有限公司 Congestion control method and device, storage medium and user equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406424A (en) * 2000-03-31 2003-03-26 国际商业机器公司 Method and system for controlling flows in sub-pipes of computer networks
CN101170488A (en) * 2006-10-25 2008-04-30 华为技术有限公司 Service network congestion control method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406424A (en) * 2000-03-31 2003-03-26 国际商业机器公司 Method and system for controlling flows in sub-pipes of computer networks
CN101170488A (en) * 2006-10-25 2008-04-30 华为技术有限公司 Service network congestion control method and device

Also Published As

Publication number Publication date
CN102726092B (en) 2014-12-10
CN102726092A (en) 2012-10-10

Similar Documents

Publication Publication Date Title
WO2012167571A1 (en) Network congestion control method and device
RU2515997C2 (en) Active queue management for wireless communication network uplink
EP3011705B1 (en) Polling and reporting mechanism
KR101274323B1 (en) Method and system for network congestion management
JP5185391B2 (en) Efficient flow control in radio network controller (RNC)
US11032723B2 (en) System and method for increasing network efficiency using dynamic repeat requests adjustment
US8619573B2 (en) Delayed flow control action in transport network layer WCDMA communications
WO2008049347A1 (en) A method and device of controlling congestion in a service network
JP2015511409A5 (en)
WO2017118142A1 (en) Method and device for communication on unlicensed frequency band
JP2017502545A5 (en)
JP5626818B2 (en) Method and apparatus for delay release of temporary block flow
WO2012058985A1 (en) Method and system for terminal to access network
JP6499775B2 (en) Handling device inactivity with delayed tolerant traffic
WO2013159516A1 (en) Wireless side tcp data retransmission method and device
WO2013149542A1 (en) Method and device for allocating air interface resources
JP3968317B2 (en) Wireless base station equipment
US9198078B1 (en) Managing signaling overhead in a wireless multicast system
US9161376B2 (en) System and method for managing access point communication channel utilization
WO2013064067A1 (en) Method and system for controlling network congestion
WO2015085495A1 (en) Method and device for adjusting random access parameter
WO2012041111A1 (en) Method, system, terminal and network-side equipment for terminal access time control
WO2011113276A1 (en) Method and base station for allocating channel resource
WO2013117066A1 (en) Method and device for detecting user equipment abnormity in long term evolution system
US8908524B2 (en) Method of congestion detection in a cellular radio system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180002964.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11867531

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11867531

Country of ref document: EP

Kind code of ref document: A1