CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA

A facility for congestion management and latency prediction is described. In various embodiments, the facility sums a series of fractional transmission delays wherein each fractional transmission delay is measured as a probability of a failed transmission attempt multiplied by the cost of the failed transmission attempt, and provides the sum.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
PRIORITY CLAIM

This application is a Continuation of U.S. Utility Application entitled “CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA,” having application Ser. No. 14/605,667, filed Jan. 26, 2016, and which issues to U.S. Pat. No. 9,667,547 on Jan. 27, 2015; which is a Continuation of U.S. Utility Application entitled “CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA,” having application Ser. No. 13/908,924, filed Jun. 3, 2013, and which issued to U.S. Pat. No. 8,943,219 on Jan. 27, 2015; which is a Continuation of U.S. Utility Application entitled “CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA,” having application Ser. No. 13/532,547, filed Jun. 25, 2012, and which issued to U.S. Pat. No. 8,458,330 on Jun. 4, 2013; which is a Continuation of U.S. Utility Application entitled “CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA,” having application Ser. No. 12/278,146, filed Aug. 1, 2008, and completed on Jun. 26, 2009, which issued to U.S. Pat. No. 8,209,433 on Jun. 26, 2012; which is a U.S. National Stage application of International Application No. PCT/US07/61485, entitled “CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA,” filed Feb. 1, 2007; which claims the benefit of U.S. Provisional Patent Application Ser. No. 60/764,013, entitled “CONGESTION MANAGEMENT AND LATENCY PREDICTION IN CSMA MEDIA,” filed Feb. 1, 2006, all of which are incorporated herein by reference in their entirety. Further, the present application is related to U.S. Provisional Patent Application Ser. No. 60/763,977 entitled “PROTOCOL CIRCUIT LAYER,” filed Feb. 1, 2006, and U.S. Provisional Patent Application Ser. No. 60/763,959 entitled “PROTOCOL LINK LAYER,” filed Feb. 1, 2006, both of which are incorporated herein by reference in their entirety.

BACKGROUND

Computers have been networked to exchange data between them for decades. One important network, the Internet, comprises a vast number of computers and computer networks interconnected through communication channels. The Internet is used for various reasons, including electronic commerce, exchanging information such as electronic mail, retrieving information and doing research, and the like. Many standards have been established for exchanging information over the Internet, such as electronic mail, Gopher, and the World Wide Web (“WWW”). The WWW service allows a server computer system (i.e., web server or web site) to send graphical web pages of information to a remote client computer system. The remote client computer system can then display the web pages. Each resource (e.g., computer or web page) of the WWW is uniquely identifiable by a Uniform Resource Locator (“URL”). To view a specific web page, a client computer system specifies the URL for that web page in a request (e.g., a HyperText Transfer Protocol (“HTTP”) request). The request is forwarded to the web server that supports that web page. When that web server receives the request, it sends the requested web page to the client computer system. When the client computer system receives that web page, it typically displays the web page using a browser. A browser is typically a special purpose application program for requesting and displaying web pages.

Currently, web pages are often defined using HyperText Markup Language (“HTML”). HTML provides a standard set of tags that define how a web page is to be displayed. When a user makes a request to the browser to display a web page, the browser sends the request to the server computer system to transfer to the client computer system an HTML document that defines the web page. When the requested HTML document is received by the client computer system, the browser displays the web page as defined by the HTML document. The HTML document contains various tags that control the display of text, graphics, controls, and other features. The HTML document may contain URLs of other web pages available on that server computer system or on other server computer systems.

New protocols exist, such as Extensible Mark-up Language (“XML”) and Wireless Access Protocol (“WAP”). XML provides greater flexibility over HTML. WAP provides, among other things, the ability to view web pages over hand-held, wireless devices, such as cell phones and portable computers (e.g. PDA's). All of these protocols provide easier ways to provide information to people via various data processing devices. Many other protocols and means for exchanging data between data processing device continue to develop to further aid the exchange of information.

In wireless communications, it is common to remedy the problem of media collision by using acknowledged receipt with finite retransmission strategy for point-to-point messages. In order to allow for communication networks of varying density and to ameliorate congestion, it is also common to use delays with an exponentially-increasing coefficient. Broadcast messages, however, may not be able to effectively use acknowledged receipt because the number of recipients is unreliable.

One undesirable characteristic of this strategy is that the most congested and least reliable communication links tend to experience the highest message delivery latency. That latency tends also to increase the probability that another message will be waiting on queue before the completion of the previous message delivery. The combination of these factors tends to worsen the initial congestion, making it decreasingly likely that the network will recover on its own. In order to avoid this set of problems, it may be necessary to make routing decisions farther away from the congestion point. That in turn may require a method for the nodes in the congested region to report their propensity for message delay.

Naïve methods for measuring message delay collect only one timing datum per message, and then require a significant number of messages to create a reasonable approximation of the current retransmission delay. These estimates tend to be skewed with respect to time, and that skew tends to be unresponsive to the same bursts of activity that cause the initial congestion to become unmanageable.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow diagram illustrating a technique for congestion management and latency prediction in CSMA media.

DETAILED DESCRIPTION Estimating Peer Broadcast Reliability

The basic unit of measure in this method is the broadcast message. Each participating node transmits a short broadcast message on a fixed interval. The format of the message is a simple bitfield representing an integer counter that increments by 1 each transmission. Each recipient measures the time between any two messages and divides that duration by the difference in the message counter to derive the sender's transmission period. For every such period that passes, the recipient records a single bit regarding whether that sender's transmission was received (one) or not received (zero). The history of these bits forms the basis for the measurement “peer broadcast reliability”.

Using an ordered series of bits to represent the history of receipts and failures, we can estimate the likelihood of receiving any one broadcast from a given peer by counting the ones and dividing by the number of bits in the series. Since the information becomes decreasingly valuable over time, it is desirable to remove the oldest data from time to time. Using a simple static series length tends to suffer from one of two problems: either the series is too short which makes the algorithm respond too quickly to momentary events, or else the series is too long which makes the algorithm respond too slowly to avoid the initial congestion.

To avoid these problems, we split the series into halves. We create a null hypothesis that the difference between the proportion of ones in each of the two subseries is not statistically significant. After we record each element into the series, we evaluate the null hypothesis. If the null hypothesis is demonstrated to be false, then we discard the oldest half of the series. In this fashion, the history grows during periods of relatively stable communication and provides a stable estimate of the peer broadcast reliability. When bursts of congestion occur, the probability of broadcast reception decreases rapidly and the newer half of the history becomes significantly worse than the oldest half. In this situation, the estimate of peer broadcast reliability becomes relatively volatile in order to quickly respond to the changing state of the medium.

Predicting Unicast Transmission Latency

In order to extend a relatively accurate estimate of peer broadcast reliability into a prediction of unicast transmission latency, it may be necessary to extend the justification for broadcast loss into the algorithm for unicast retransmission. Pleasantly, modern back-off algorithms use simple integer coefficients that double with each failed transmission. Thus the unicast latency can be seen as the summation of a series of fractional transmission delays, each defined as the probability of failed transmission attempt multiplied by the cost of that transmission attempt. For transmission schemes using a 2n exponential back-off algorithm, the predicted latency is proportional to 2(r/P) where p is the peer broadcast reliability and r is the retry delay.

Semantic Concepts Involved

transmission latency

message delay

predictive algorithm

CSMA Media

media collision

retransmission strategy

backoff algorithm

exponential backoff

network congestion

congestion point

FIG. 1 is a flow diagram illustrating a routine for providing congestion management and latency prediction in CSMA media. At block 102, the routine begins. At block 104, the routine measures and logs a series of received and dropped periodic messages exchanged between two networked devices. At block 106, the routine divides the log into a first half containing recent activity and a second half containing older activity. At block 108, the routine compares the integrity (and perhaps other properties) of the two halves. If the integrity of the older half is at least as good as the integrity of the first half, the routine continues at block 112. Otherwise, the routine continues at block 114. At block 112, the routine logs both halves. At block 114, the routine logs the half containing recent activity. At block 116, the routine returns.

The described technology provides at least a method for predicting latency of links in broadcast networks and a method for managing congestion in broadcast networks.

From the foregoing, it will be appreciated that specific embodiments of the invention have been described herein for purposes of illustration, but that various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims.

Claims

1. A method that determines data-transmission congestion between a first network node and a second network node, the method comprising:

receiving, at the second network node, a series of periodic broadcast messages communicated from the first network node and the second network node, wherein each one of the periodic broadcast messages are broadcast at a fixed interval, and wherein each one of the periodic broadcast messages comprises a bit field that is an integer, wherein the integer is incremented by a value of one for each successive broadcast of each one of the periodic broadcast messages;
measuring, at the second node, a time difference between a first one of the received periodic broadcast messages and a second one of the received periodic broadcast messages;
determining a transmission period, wherein the transmission period is the measured time difference divided by a difference between an integer of the first one of the received periodic broadcast messages and an integer of the second one of the received periodic broadcast messages;
generating, in response to receiving each new periodic, broadcast message, a log of data comprising a total number of bits corresponding to a predefined number of the series of periodic broadcast messages, wherein the log of data is an ordered series of bits ordered from a current bit associated with a current periodic broadcast message to an oldest bit associated with an oldest periodic broadcast message that corresponds to the predefined number of the series of periodic broadcast messages, wherein a new bit associated with a newly received periodic broadcast message is added as the current bit into the log of data, wherein the new bit is a first binary number when the transmission period associated with the newly received periodic broadcast message indicates that the newly received periodic broadcast message was received, wherein the new bit is a second binary number when the transmission period associated with the newly received periodic broadcast message indicates that the newly received periodic broadcast message was dropped, and wherein the oldest bit associated with the oldest periodic broadcast message is removed from the log of data when the new bit is added into the log of data.
Patent History
Publication number: 20180109455
Type: Application
Filed: May 25, 2017
Publication Date: Apr 19, 2018
Inventors: Riley Eller (Seattle, WA), Dennis Edwards (Seattle, WA), Jeremy Bruestle (Seattle, WA), Mark L Tucker (Seattle, WA)
Application Number: 15/605,392
Classifications
International Classification: H04L 12/801 (20130101); H04L 12/26 (20060101); H04L 12/413 (20060101); H04L 12/24 (20060101);