IMPROVEMENTS IN OR RELATING TO INTERNET ACCESS

Abstract: Described herein is a method of controlling data flow between a local network (120) and a remote network (30) via a geostationary satellite link (40, 46, 48). The local network (120) comprises a sending host (22) and a connection splitting node (124) which includes a throttling unit (150). The remote network (30) comprises a receiving host (32) which is connected to a second connection splitting node (142) having a buffer (152) via the internet (34). The data flow rate from the local network (120) is throttled to provide a data flow rate which substantially matches that which can be handled by the remote network (30) so that the buffer (152) at the second connection splitting node (142) is not overfilled.

Description: IMPROVEMENTS IN OR RELATING TO INTERNET ACCESS The present invention relates to improvements in or relating to internet access, and is more particularly, although not exclusively, concerned with controlled IP flows, where controlled implies a feedback connection. Where TCP/IP (transmission control protocol over internet protocol) traffic flows between the internet as a whole and an essentially private, stub network across long-latency links, access to the internet is sub-optimal. Specifically, if a mobile network built around point-to-point, high latency wireless links (for example, a geostationary satellite link) is connected to the internet, the latencies involved severely restrict the performance of TCP/IP connections. However, TCP/IP is required to use flow control mechanisms for congestion avoidance and congestion recovery, but although this produces poor performance when applied to long-latency connections, it is essential to prevent the internet from collapsing. It is therefore an object of the present invention to provide a system which improves the performance of controlled IP flows. In accordance with one aspect of the present invention, there is provided a method of controlling data flow rate from a first network to a second network across an enhancer link, the method comprising :- determining the data flow rate in the second network; feeding the determined data flow rate back to the first network; and adjusting the data flow rate over the enhancer link in accordance with the determined data flow rate. Preferably, the enhancer link comprises at least one connection splitting node. In a preferred embodiment of the present invention, the enhancer link comprises first and second connection splitting nodes, each node being associated with a respective one of the first and second networks. Advantageously, the second connection splitting node includes a buffer for storing data during transfer to the second network. The data flow from the first network to the second network may comprise a controlled IP flow. The step of adjusting the data flow rate at the enhancer link in accordance with the determined data flow rate comprises throttling the data flow rate from the first network so that it substantially matches the data flow rate of the second network. This invention introduces various equations which may be used to determine the data flow rate over a controlled IP flow. These equations determine an output flow rate for the enhancer link in accordance with the round trip time of the second network and the amount of data in transit at any one time. For a better understanding of the present invention, reference will now be made, by way of example only, to the accompanying drawings in which:- Figure 1 illustrates a conventional geostationary satellite internet connection; Figure 2 illustrates a geostationary satellite internet connection in accordance with the present invention; and Figure 3 illustrates a remote section of the network shown in Figure 2. A connection splitting technique has been investigated to improve the performance of TCP/IP connections over long-latency links - specifically geostationary satellites with an end-to-end latency of typically 280ms have been considered. This has shown that buffer management is an important area to address. The reason for this is that the long round trip time (RTT) means there is a substantial delay before the sender can receive any information about the status of the other end of a flow. The present invention will be described with reference to controlled IP flows, e.g. TCP, RTCP and RTP flows. Figure 1 shows a satellite internet flow 10 in which a local network 20 is connected to a remote network 30 via a geostationary satellite 40. The local network 20 includes a sending host 22 connected to a node 24 via link 26. The remote network 30 includes a receiving host 32 connected to the internet 34 via a link 36 and is connected to a node 42 via a link 44. As shown, the local network 20 is connected to the satellite 40 via node 24 and link 46. Similarly, the remote network 30 is connected to the satellite 40 via node 42 and links 44, 48. Operation of the flow 10 will now be described with respect to the local network 20 sending or transmitting to the remote network 30. In Figure 1, the sending host 22 is capable of transferring data over a local area network (LAN) (not shown) at speeds of up to lOOMbit/s to the node 24 which performs connection splitting. As shown, node 24 and node 42 are connected by a satellite link 40, 46, 48 which typically handles data at a speed of 8Mbit/s and has a typical RTT of 580ms. When node 24 receives data from the sending host 22, it will automatically restrict the average send rate to that of the satellite link, that is, 8Mbit/s. It will readily be appreciated that node 24 effects connection splitting, that is, node 24 allows incoming data to be transmitted at a different rate. However, the receiving host 32 in the remote network 30 receives data from the internet 34 via a modem (not shown), and can only accept data at a speed or rate of 56kbit/s. If the sending host 22 tried to send gigabytes of data to the receiving host 32, it would rapidly be able to flood the flow buffer (not shown) on node 42, stalling the link. Again, node 42 effects connection splitting. It will be appreciated that the fixed link rates given above are by way of example only and that the link rate can be chosen to be any suitable value. Moreover, it is also possible to use a link rate which changes over the lifetime of the connection, for example, due to changes in the network capacity because of other intermittent traffic. To avoid this, the node 24 in the local network 20 needs to control the sending rate of any given flow, based on the rate at which the receiving host 42 is accepting the data. This introduces two problems:- first, how to make an accurate enough assessment of the host data transfer capacity in the remote network 30 and, secondly, how to apply this effectively, given the long round-trip time. A flow which overcomes these problems in accordance with the present invention is shown in Figure 2. Figure 2 is similar to Figure 1 and identical components which have previously been described are referenced alike. Components which are similar have been given the same reference numerals but with a ' 1 ' in front (for example, 120 is similar to 20). A satellite flow 100 is shown in Figure 2 in which a local network 120 is connected to a remote network 30 via a satellite 40. Local network 120 comprises a sending host 22 connected to a node 124 via a link 26. Node 124 includes a throttling unit 150 which enables incoming data from the sending host 22 to be slowed down to accommodate changes in rates in the flow 100. The remote network 30 comprises a receiving host 32 connected to the internet 34 via link 36, the internet 34 being connected to a node 142 via link 44. Node 142 contains a buffer 152 for storing data arriving from the sending host 22 via satellite flow 40, 46, 48, as described above with reference to Figure 1, prior to sending it into the internet 34. As before, nodes 124 and 142 are connection splitting nodes. Figure 2 considers a single flow from sending host 22 to receiving host 32 across the pair of connection splitting nodes 124 and 142. Here, the current data output rate from node 124 into the satellite link 40, 46, 48 can be expressed as R 0 , the current data output rate from node 142 into the internet 34 can be expressed as R,, and T as a 'throttling' value associated with the throttling unit 150 at node 124. In accordance with the present invention, a throttling algorithm is utilised which allows the value of the parameter 'T' to be determined within node 124. 'T' is a throttling parameter, which is used to throttle (or slow) the traffic passing through it and hence it throttles data traffic which it receives from the sending host 22. The resulting traffic flow out of node 124 into the satellite link 40, 46, 48 is then matched to that of the remote network at node 142. The throttling algorithm uses flow rate statistics from node 142. Every set of data statistics received in a reverse traffic 'feedback' frame can be regarded as a delayed snapshot of the flow rate in node 142. For a geostationary satellite link with a typical latency of 280ms, it is useful to configure the system, so that these 'snapshots' typically arrive every 140ms, that is, at half the link latency. It is useful to introduce the concept of a "data sample" at this point. This is the amount of data flowing through the node 142 for a single flow over the course of the sampling period, for example, 140ms. Hence, for a 56kbit/s link, the data sample equates to:- 57344 x 0.140 = 8028bits, that is, approximately lkbyte. The number of data samples stored in the buffer 152 at node 142 gives an indication of how long that flow will take to drain the buffer 152 assuming no more data is input. This number is referred to as the session buffer volume (SBV). As described above, the nodes 124 and 142 are connection splitting nodes and need to cooperate with one another if the flow 100 is to have at an optimum performance. As the SBV becomes large, it becomes less important for node 124 to continue to send data at the network output flow rate. In addition, it indicates that the buffer 152 is being overused for that session. The throttling unit 150 in node 124 must therefore throttle the flow back to allow the buffer 152 at node 142 to drain. The SBV measurement is not enough to ensure that the buffer 152 at the node 142 is not overrun. The spare capacity of the buffer 152 in node 142 for all TCP sessions must also be accounted for and this is given by the receiver buffer ratio (RBR). The data that node 124 requires from node 142 can be summarised as:- • The SBV for each flow • The ratio of the overall buffer size to its current capacity, that is, the RBR The throttling algorithm within the throttling unit 150 of node 124 attempts to match the output rate R 0 to that of the output rate R, of node 142 into the internet 34. This limits the amount of data flowing into node 142 so that its buffer 152 do not overfill. Realising that the measured value of R, at node 142 is always out of date by 280ms, that is, by two 'snapshot' periods, the throttling value T needs to be determined in accordance with:- R o - R, (1) Considering the earlier definition of SBV, the following conditions apply:- when SBV = 0 T = 1.0 SBV = n T→O.O as n → oo Hence, from equation (1):- T = 1/(1 + SBV) (2) or generally for a specific flow 's' T S = 1/(1 + SBV S ) (3) Equation (3) is a suitable equation for the data flow aspect of the throttling value T held in throttling unit 150 of node 124. Additionally, to avoid overflow of buffer 152 of node 142, the overall spare capacity of buffer 152 needs to be considered as determined by RBR. The following conditions apply: - when RBR = 0 T b = 0.0 RBR = n T b -> l .O as n → ∞ Hence:- T b = 1 - 1/(1 + RBR) (4) Equation (4) is a suitable equation for the buffering aspect of the throttling value T. In this case, equation (4) applies for the whole system regardless of the number of active sessions. In addition to the above, the algorithm also requires a forcing factor P. This is required to push a small amount of extra data than that indicated by the flow rates of the node 142 across the satellite link 40, 46, 48. If this factor is not included, the send rate from node 124 will converge to the output rate from node 142, and the utilisation of the buffer 152 in node 142 will be zero. If the connection from node 142 to receiving host 32 increases in capacity at this point, node 142 will have no spare data to output and will not be able to detect the extra capacity. A suitable value for the forcing factor is around 105% (1.05). Higher values have been shown to introduce oscillation in the usage of the buffer 152 on node 142 even with a constant flow rate between node 142 and receiving host 32. Hence, the complete formulae for the throttling factor for any flow 's' is given by:- T = PT b T s (5) T = P(1 - 1/(1 + RBR))(1/(1 + SBV S )) (6) The value thus obtained, T for a session s, is a value between 0 and 1 , representing the fraction of the measured flow rate from node 142 to receiving host 32 that should be permitted across the satellite link 40, 46, 48. Any suitable rate control mechanism, for example, a token leaky bucket scheme, can be used to apply the rate control. The above paragraph explains how node 124 calculates a link rate for a connection from information fed back from node 142 - but this still requires that node 142 can supply this information correctly. The buffer data is simple - given a pool of buffers the RBR is simply the fraction of free buffers. However, to correctly determine the value of each SBV, node 142 needs to supply a rate for data transfer between itself and the receiving host 32. This has to be a comparatively accurate instantaneous measurement. It cannot be of the form "20kbyte transferred with connection duration of 10s = 2kbyte/s " as this does not indicate the achievable output rate. Figure 3 is a more detailed view of the remote network 30 shown in Figure 2. As identical reference numerals have been used for the same components, no further description is given. In Figure 3, there is a TCP stack (as an example protocol using a controlled IP flow) within node 142 which is responsible for regenerating the original connection to the receiving host 32. It is within this stack that the rate determination is made. This hinges on two key measurements - namely, the round-trip time between node 142 and receiving host 32, and the amount of data in transit. The following procedure is used to determine the RTT of the remote network 30:- TCP outputs a segment and if the cycle timer is not active, a timer is started. This starts the measurement process. The following cycle then repeats: When an acknowledgement is received for the segment being timed, the amount of data in transit is calculated (as the unacknowledged data that has been since the just acknowledged segment). The throughput is calculated based on the cycle time and the quantity of data in transit. At the end of the cycle the timer is restarted. This means that idle time is counted as well as data transfer time and thus avoids calculating the peak rate. However, in order to estimate the achievable throughput, a cycle is not counted unless at least one full size segment of data is transferred. Additionally, the cycle time is smoothed over the last two measured times, so long idle periods have less effect. Should a retransmission occur, the timer is cancelled and will be restarted at the end of the cycle by the first rule for starting the timer. It will be appreciated that any other suitable process can be used to determine the RTT of the remote network. The amount of data in transit, at any time, is known by the sliding window of the flow in the remote network 30, that is, between node 142 and sending host 32. Together with the RTT value determined above, the external data rate can be accurately measured. The following method has been used to measure the output rate at the remote end of the link. The calculation is performed in parallel for each connection, and the following definitions apply:- TCP.SND_NXT is the sequence number of the next byte to be output by this TCP connection. TCP.SNDJJNA is the earliest unacknowledged byte for the TCP connection. The difference between these two values, therefore, gives the quantity of data in transit at the point of measurement. This calculation should be performed before SND_UNA is updated with the value of the received acknowledgement. Alpha and beta set, respectively, the lower and upper thresholds for reporting change in output rate. Without this, every cycle will cause an update which, if the value is comparatively stable, is unnecessary. Values of 0.95 for alpha and 1.1 for beta, for example, can be used to reduce the number of updates. Setting both to a value of 1 will cause the value to be updated for every change. IF there is an outstanding segment to be timed AND the received ack includes that segment THEN elapsed_time = time_now - cycle_start_time data_in_transit = TCP.SND_NXT - TCP.SND NAVsee below IF data_in_transit > max_segment_size THEN Rate_rtt = (rate_rtt/2) + (elapsed_time/2)//smooth the measured cycle time Cycle_throughput = data_in_transit / rate_rtt smoothed_throughput = (smoothed_throughput/2) + (cy cl e_throughput/2 ) IF (smoothed_throughput < last_update * alpha) OR (smoothed_throughput > last_update * beta) THEN update rate with smoothed throughput last_update + smoothed_throughput END IF END IF cycle_start_time = time_now clear outstanding segment to be timed END IF

Claims: CLAIMS: 1. A method of controlling data flow rate from a first network to a second network across an enhancer link, the method comprising:- determining the data flow rate in the second network; feeding the determined data flow rate back to the first network; and adjusting the data flow rate over the enhancer link in accordance with the determined data flow rate. 2. A method according to claim 1, wherein the enhancer link comprises at least one connection splitting node. 3. A method according to claim 2, wherein the enhancer link comprises first and second connection splitting nodes, each node being associated with a respective one of the first and second networks. 4. A method according to claim 3, wherein the second connection splitting node includes a buffer for storing data during transfer to the second network. 5. A method according to any one of the preceding claims, wherein the data flow from the first network to the second network comprises a controlled IP flow. 6. A method according to claim 5, wherein the step of adjusting the data flow rate at the enhancer link in accordance with the determined data flow rate comprises throttling the data flow rate from the first network so that it substantially matches the data flow rate of the second network. 7. A method according to claim 6, wherein the data flow rate over the controlled IP flow is defined by an equation fulfilling the requirements :- when SBV = 0 T = 1.0 SBV = n T→O.O as n → ∞ where T is the throttling value, and SBV is the flow-buffer volume. 8. A method according to claim 7, wherein throttling the data flow rate for a specific connection over the controlled IP flow is defined by:- T s = 1/(1 + SBV S ) where T s is the throttling value for the specific flow, and SBV S is the flow-buffer volume for the specific flow. 9. A method according to claim 8, wherein the throttling value further includes a forcing factor for pushing a small amount of extra data than the determined data flow rate of the second network across the enhancer link, the throttling value being represented by:- T = P(l - 1/(1 + RBR))(1/(1 + SBV S )) where P is the forcing factor, and RBR is the receiver buffer ratio of the second network. 10. A method according to claim 9, further comprising the step of determining output flow rate for the enhancer link in accordance with the round trip time of the second network and the amount of data in transit at any one time. 1 1. A method of controlling data flow rate from a first network to a second network across an enhancer link substantially as hereinbefore described with reference to Figures 2 and 3 of the accompanying drawings.

Inventors: HANCOCK ROBERT, MCCANN STEPHEN, WEST MARK ALAN, HANCOCK, ROBERT, MCCANN, STEPHEN, WEST, MARK, ALAN
Applicants: HANCOCK ROBERT, MCCANN STEPHEN, ROKE MANOR RESEARCH, WEST MARK ALAN, HANCOCK, ROBERT, MCCANN, STEPHEN, ROKE MANOR RESEARCH LIMITED, WEST, MARK, ALAN
Application year: 2000
Main classification: H04L12
IPC codes: H04L12