hottub.patents
US 12,568,049 B2#3303026 Most CitedActiveUnited States (USPTO)Utility

Traffic policing detection and rate limit estimation for a network

0Forward Citations (#3303026 Global)
0.0/yrCitation Velocity (#3303026 Global)
0.00Citation PageRank (#3303026 Global)
18Prior Art Cited
20Claims (2 Indep. · 18 Dep.)
6Drawings / Sheets

Abstract

Apparatus, method and non-transitory computer readable medium for traffic policing detection and rate limit estimation for a network, including selecting from the network sampled packets having a loss rate greater than a first threshold, the selected sampled packets being added to a sliding window for traffic policing detection; in response to the number of sampled packets in the sliding window reaching a predetermined number, determining a correlation coefficient based on a sending rate and the loss rate of at least one sampled packet in the sliding window; in response to the correlation coefficient exceeding a second threshold, determining whether traffic policing is occurring in the network based on the sending rate and a transformed loss rate of the at least one sampled packet; and in response to traffic policing occurring, determining an estimated rate limit for traffic policing based on an acknowledgement rate of the at least one sampled packet.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 0.

Claims (20 — 2 Independent, 18 Dependent)

  1. Claim 1Independent Claim

    A method of traffic policing detection and rate limit estimation for a network, comprising: selecting, by a processor from the network, sampled packets having a loss rate greater than a first threshold, wherein the selected sampled packets are added to a sliding window for traffic policing detection; in response to a number of sampled packets in the sliding window reaching a predetermined number, determining, by the processor, a correlation coefficient based on a sending rate and the loss rate of at least one sampled packet in the sliding window; in response to the correlation coefficient exceeding a second threshold, determining, by the processor, whether traffic policing is occurring in the network based on the sending rate and a transformed loss rate of the at least one sampled packet in the sliding window; and in response to a determination that traffic policing is occurring in the network, determining, by the processor, an estimated rate limit for traffic policing in the network based on an acknowledgement rate of the at least one sampled packet in the sliding window, and adjusting bandwidth estimation (BWE) for congestion control in the network based on the estimated rate limit for traffic policing.

  2. Claim 2Depends on #1

    The method of claim 1, wherein at least one of: the correlation coefficient is determined based on the sending rate and the loss rate of each sampled packet in the sliding window; whether traffic policing is occurring in the network is determined based on the sending rate and the transformed loss rate of each sampled packet in the sliding window; or the estimated rate limit for traffic policing in the network is determined based on the acknowledgement rate of each sampled packet in the sliding window.

  3. Claim 3Depends on #1

    The method of claim 1, wherein determining, by the processor, whether traffic policing is occurring in the network based on the sending rate and the transformed loss rate of at least one sampled packet in the sliding window comprises: determining, by the processor, an intercept by linear fitting the sending rate and the transformed loss rate of the at least one sampled packet in the sliding window; and determining, by the processor, whether traffic policing is occurring in the network based on the intercept.

  4. Claim 4Depends on #3

    The method of claim 3, wherein determining, by the processor, whether traffic policing is occurring in the network based on the intercept comprises: in response to a determination that a transformed intercept is within a third threshold, determining that traffic policing is occurring in the network, wherein the transformed intercept is determined from the intercept; and in response to a determination that the transformed intercept exceeds the third threshold, determining that no traffic policing is occurring in the network.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the loss rate of a sampled packet is determined based on a result of an equation expressed as: loss_rate = total_pkts ⁢ _sent intvl - total_pkts ⁢ _ack intvl total_pkts ⁢ _sent intvl wherein total_pkts_sent intvl represents total bytes sent in a current sampling period, total_pkts_ack intvl represents total bytes acknowledged in the current sampling period, and loss_rate represents the loss rate of the sampled packet.

  6. Claim 6Depends on #5

    The method of claim 5, wherein the sending rate and the loss rate of the sampled packet conform to a numerical relationship indicated by: send_rate = ack_rate 1 - loss_rate wherein send_rate and ack_rate represent the sending rate and the acknowledgement rate of the sampled packet respectively.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the transformed loss rate of an i-th sample in the sliding window is determined based on a result of an equation expressed as: loss_trans i = 1 / (1 - loss_rate i) wherein loss_trans i represents the transformed loss rate of the i-th sample, and loss_rate i represents the loss rate of the i-th sample.

  8. Claim 8Depends on #7

    The method of claim 7, wherein the correlation coefficient is determined based on a result of an equation expressed as: r = ∑ i = 1 W ⁢ ((send_rate i - send_rate _) * (loss_trans i - loss_trans _)) ∑ i = 1 W ⁢ (send_rate i - send_rate _) 2 * ∑ i = 1 W ⁢ (loss_trans i - loss_trans _) 2 wherein r represents the correlation coefficient, W represents the predetermined number for the sliding window, and send_rate i represents the sending rate of the i-th sample.

  9. Claim 9Depends on #1

    The method of claim 1, further comprising: in response to the number of sampled packets in the sliding window exceeding the predetermined number and before determining the correlation coefficient, removing a sampled packet having an earliest timestamp from the sliding window until the number of the sampled packets in the sliding window is at the predetermined number.

  10. Claim 10Depends on #1

    The method of claim 1, wherein the estimated rate limit for traffic policing is determined by an average of the acknowledgement rates for all sampled packets in the sliding window.

  11. Claim 11Depends on #1

    A non-transitory computer readable medium storing instructions operable to cause one or more processors to perform operations according to the method of claim 1.

  12. Claim 12Independent Claim

    An apparatus of traffic policing detection and rate limit estimation for a network, comprising: a memory; and a processor, the processor configured to execute instructions stored in the memory to: select, from the network, sampled packets having a loss rate greater than a first threshold, wherein the selected sampled packets are added to a sliding window for traffic policing detection; in response to a number of sampled packets in the sliding window reaching a predetermined number, determine a correlation coefficient based on a sending rate and the loss rate of at least one sampled packet in the sliding window; in response to the correlation coefficient exceeding a second threshold, determine whether traffic policing is occurring in the network based on the sending rate and a transformed loss rate of the at least one sampled packet in the sliding window; and in response to a determination that traffic policing is occurring in the network, determine an estimated rate limit for traffic policing in the network based on an acknowledgement rate of the at least one sampled packet in the sliding window, and adjust bandwidth estimation (BWE) for congestion control in the network based on the estimated rate limit for traffic policing.

  13. Claim 13Depends on #12

    The apparatus of claim 12, wherein at least one of: the correlation coefficient is determined based on the sending rate and the loss rate of each sampled packet in the sliding window; whether traffic policing is occurring in the network is determined based on the sending rate and the transformed loss rate of each sampled packet in the sliding window; or the estimated rate limit for traffic policing in the network is determined based on the acknowledgement rate of each sampled packet in the sliding window.

  14. Claim 14Depends on #12

    The apparatus of claim 12, wherein the instructions to determine whether traffic policing is occurring in the network based on the sending rate and the transformed loss rate of at least one sampled packet in the sliding window comprise instructions to: determine an intercept by linear fitting the sending rate and the transformed loss rate of the at least one sampled packet in the sliding window; and determine whether traffic policing is occurring in the network based on the intercept.

  15. Claim 15Depends on #14

    The apparatus of claim 14, wherein the instructions to determine whether traffic policing is occurring in the network based on the intercept comprise instructions to: in response to a determination that a transformed intercept is within a third threshold, determine that traffic policing is occurring in the network, wherein the transformed intercept is determined from the intercept; and in response to a determination that the transformed intercept exceeds the third threshold, determine that no traffic policing is occurring in the network.

  16. Claim 16Depends on #12

    The apparatus of claim 12, wherein the loss rate of a sampled packet is determined based on a result of an equation expressed as: loss_rate = total_pkts ⁢ _sent intvl - total_pkts ⁢ _ack intvl total_pkts ⁢ _sent intvl wherein total_pkts_sent intvl represents total bytes sent in a current sampling period, total_pkts_ack intvl represents total bytes acknowledged in the current sampling period, and loss_rate represents the loss rate of the sampled packet.

  17. Claim 17Depends on #16

    The apparatus of claim 16, wherein the sending rate and the loss rate of the sampled packet conform to a numerical relationship indicated by: send_rate = ack_rate 1 - loss_rate wherein send_rate and ack_rate represent the sending rate and the acknowledgement rate of the sampled packet respectively.

  18. Claim 18Depends on #12

    The apparatus of claim 12, wherein the transformed loss rate of an i-th sample in the sliding window is determined based on a result of an equation expressed as: loss_trans i = 1 / (1 - loss_rate i) wherein loss_trans i represents the transformed loss rate of the i-th sample, and loss_rate i represents the loss rate of the i-th sample.

  19. Claim 19Depends on #18

    The apparatus of claim 18, wherein the correlation coefficient is determined based on a result of an equation expressed as: r = ∑ i = 1 W ⁢ ((send_rate i - send_rate _) * (loss_trans i - loss_trans _)) ∑ i = 1 W ⁢ (send_rate i - send_rate _) 2 * ∑ i = 1 W ⁢ (loss_trans i - loss_trans _) 2 wherein r represents the correlation coefficient, W represents the predetermined number for the sliding window, and send_rate i represents the sending rate of the i-th sample.

  20. Claim 20Depends on #12

    The apparatus of claim 12, wherein the instructions stored in the memory further comprise instructions to: in response to the number of sampled packets in the sliding window exceeding the predetermined number and before determining the correlation coefficient, remove a sampled packet having an earliest timestamp from the sliding window until the number of the sampled packets in the sliding window is at the predetermined number.

Technical Overview & Description

TECHNICAL FIELD This disclosure relates to communications, and in particular, to traffic policing detection and rate limit estimation for a network. BACKGROUND With the rapid development of networks and related applications, traffic transmitted in a network is becoming increasingly larger. For example, real-time multimedia (e.g., audio and/or video) communications have wide applications, such as conferences, live broadcasting, video chat sessions, webinars, and the like. As the number of communication sessions increases in a network, the total traffic on the network may approach or exceed the limit of a network, which typically has limited bandwidth. To optimize network efficiency and provide better user experience, network operators can implement flow control mechanisms on intermediate nodes of the network, such as routers, to manage the flow of data within the network. For example, traffic policing, which limits the rate at which data can be transmitted or received, can be implemented in the network through a token bucket and a mechanism to drop packets. The token bucket typically has a fixed capacity and the system adds tokens to the token bucket at a fixed rate. When sending (or routing) a packet over the network, a corresponding number of tokens are required to be obtained from the token bucket before the packet can be sent. If not enough tokens are available in the bucket, the packet will be dropped, and later packets will be dropped until a new token or several new tokens are generated. SUMMARY Disclosed herein are implementations of methods, apparatuses, and systems for traffic policing detection and rate limit estimation for a network. A first aspect is a method for traffic policing detection and rate limit estimation for a network, including selecting, by a processor from the network, sampled packets having a loss rate greater than a first threshold, wherein the selected sampled packets are added to a sliding window for traffic policing detection; in respo

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (18)

Non-Patent Literature (3)

  • WO 2020040060 A1 (Year: 2020).
  • Flach T, Papageorge P, Terzis A, et al. An internet-wide analysis of traffic policing[C]//Proceedings of the 2016 ACM SIGCOMM Conference. 2016: 468-482.
  • QoS: Regulating Packet Flow Configuration Guide, Cisco IOS Release 15M American Headquarters; San Jose, CA; pp. 1-34; Feb. 20, 2013.