Abstract:
The invention enables the use of TCP protocol for reliable transport of data over a wireless network, resolving the problems associated with frequent packet loss. Additional benefits include delivery of significant performance improvement, bandwidth saving and backward compatibility compared to the wire-line TCP protocol, and contribution to power savings in wireless handsets and devices. To make the retransmission process more granular, transport layer segments are subdivided into sub-segments. The invention utilizes a split TCP based approach and produces a series of smaller-sized segments that share the same transport layer header. A NACK-based message exchange, a new header format and a special windowing protocol are used to achieve reliability, flow-control, and efficient buffer handling.

Description:
RELATED APPLICATION  
       [0001]     This application claims priority from U.S. Provisional patent application Ser. No. 60/568,506, filed May 5, 2004. 
     
    
     FIELD OF INVENTION  
       [0002]     This invention relates generally to wireless access to information systems and the internet, and more specifically relates to a method for improving the Transmission Control Protocol (TCP) for wireless media.  
       BACKGROUND OF INVENTION  
       [0003]     Wireless access to information systems and the Internet is becoming mandatory for businesses that provide online services. Businesses require that the existing online services and applications be available to any wireless client. Most applications, whether designed to use over wired or wireless networks, rely on the TCP protocol for reliable transport (F. M. Anjuman and L. Tassiulas, “On the Behavior of Different TCP Algorithms Over A Wireless Channel,” 155-165, Atlanta, May 1999. ACM Sigmetrics.) Since these applications are TCP-based, wireless clients need to support some type of reliable transport to interface with these applications seamlessly.  
         [0004]     TCP is designed for operation in wired networks, where random packet losses due to transmission errors are negligible. It is well known that TCP performs poorly over wireless links, which suffer from packet losses due to the error-prone and idiosyncratic nature of the wireless medium. TCP does not adapt well to wireless communications, as it interprets the packet losses as being caused by network congestion. In addition, acknowledgement and retransmission schemes used in TCP unnecessarily consume network bandwidth. (H. Balakrishnan, V. N. Padmanabhan, S. Seshan, and R. H. Katz, “A Comparison Of Mechanisms For Improving TCP Performance Over Wireless Links,”  IEEE/ACM Transactions on Networking,  June 1997.); (R. W. Lucky, “Improving Reliable Transport And Handoff Performance In Cellular Wireless Networks,”  ACM Wireless Networks,  14, Dec 1995.); (R. Caceres and L. Iftode, “Improving Reliable Transport Protocols In Mobile Computing Environment,”  IEEE JSAC,  1994.)  
         [0005]     Yet another problem arising from the conventional TCP relates to power consumption.  
         [0006]     Hand-held devices coupled with wireless network interfaces are emerging as a new way to achieve seamless connectivity while adhering to stringent power and size constraints. The measurement-based results clearly indicate that the power drained by the network interface constitutes a large fraction of the total power used by the PDA. Simulation results show that the predominant cost comes not from the number of packets sent or received by a particular transport protocol, but from the amount of time the network interface is in an idle state. The energy cost can increase significantly in the presence of wireless losses, since a receiver must wait for a TCP sender to recover from packet losses.  
         [0007]     The loss-intensive wireless communication results in high retransmission rates and bandwidth consumption. In addition, retransmitted segments have a significant chance of being dropped.  
         [0008]     A number of efforts have been made to tune the TCP protocol for wireless medium. Each of them addresses different aspects of the problem and provides solutions specific to that. Major efforts are identified below:  
         [0000]     Snoop TCP  
         [0009]     This solution addresses the problem associated with TCP congestion control algorithm. When packet loss is detected (duplicate acknowledgement or local timeout), snoop retransmits the lost packet, hiding the fixed host (FH) from duplicate acknowledgements, and thereby preventing congestion control from kicking in. The down side is that each base station has to be updated with the snoop module (R. Caceres and L. Iftode, “Improving Reliable Transport Protocols In Mobile Computing Environment,”  IEEE JSAC,  1994).  
         [0000]     Wireless Profiled TCP  
         [0010]     This particular technique is used in commercially available wireless application protocol and its focus is mostly on “initial window size” adjustment to avoid the burden of the “Slow Start” phase of TCP. This approach introduces “Explicit Congestion Notification” to handle congestion control.  
         [0000]     Link Layer Retransmission  
         [0011]     Reliability of TCP demands retransmission of lost segments. Depending on the error rate of the wireless channel, the retransmission of lost segments may cause higher BDP (Bandwidth-Delay Product) and bandwidth consumption. If the retransmission can occur in the RLC (radio link control) layer, the smaller size PDUs (packet data units) get retransmitted. This can improve the bandwidth degradation and loss rate (FER—forward error correction) of the communication channel. Unfortunately, this technique suffers from high jitter and BDP (Jonathon Stone and Craig Patridge, “When The CRC and TCP Checksum Disagree. ACM SIGCOMM,” September 2000; (“TCP Over 2.5 G and 3G Wireless Networks Draft-ietf-pilc-2.5g3g-03”.)  
         [0012]     The first two techniques above described, Snoop TCP and Wireless Profiled TCP, do not address the deeply routed cause of retransmission. Instead, they focus on how to adapt to the excessive packet loss and retransmission. The Link Layer Retransmission technique attempts to address the root cause, but does not handle it in the best way. Accordingly, among the objects of the present invention are (1) to bring down the packet loss rate; (2) to achieve finer control over retransmission; (3) to achieve sophisticated flow control tuned for a lossy environment; and (4) to enhance the latency, throughput, bandwidth conservation and power savings.  
       SUMMARY OF INVENTION  
       [0013]     In accordance with the present invention, a new TCP segment structure is provided that enables successful wireless communications. The invention enables the use of TCP protocol for reliable transport of data over a wireless network, resolving the problems associated with frequent packet loss. Additional benefits include delivery of significant performance improvement, bandwidth saving and backward compatibility compared to the wire-line TCP protocol; and contribution to power savings in wireless handsets and devices.  
         [0014]     To make the retransmission process more granular, transport layer segments (540 bytes by default) are subdivided into sub-segments. The invention utilizes a split TCP based approach and produces a series of smaller-sized segments that share the same transport layer header. The NACK-based message exchange, new header format and a special windowing protocol are adapted to achieve reliability, flow-control, and efficient buffer handling. (NACK refers to a new ACK, i.e. an ACK that acknowledges outstanding data.) 
     
    
     DESCRIPTION OF DRAWINGS  
       [0015]     In the drawings appended hereto:  
         [0016]      FIG. 1  is a schematic depiction of a sub-segment structure in accordance with the present invention;  
         [0017]      FIG. 2  is a schematic depiction of a protocol stack used in the invention; and  
         [0018]      FIG. 3  is a schematic depiction of the split TCP approach used in the invention.  
     
    
     DESCRIPTION OF PREFERRED EMBODIMENT  
       [0000]     Sub-Segmentation:  
         [0019]     Referring to  FIGS. 1 and 2 , the Transport layer protocol that is specially designed for the wireless medium uses the concept of sub-segmentation—the Transport layer segment is divided into a header and a series of sub-segments. Each sub-segment is as small as one RLC (radio link control) PDU payload (roughly 40 bytes for WCDMA [wideband code division multiple access]) and carries (1) the checksum of the TCP header as correlation ID to associate the transport layer header with a sub-segment—the checksum is unique for each PDU in the context of destination, source, sequence number, etc.; (2) the checksum for itself to detect the corruption of the sub-segment; (3) the corresponding sub-segment number, which is unique in the context of a segment; and (4) the data payload.  
         [0020]     The overhead size of each sub-segment is less than 10%.  
         [0021]     The rationale for selecting this approach is as follows. A standard TCP packet (each approximately 540 bytes in size, by default) must undergo the time-consuming fragmentation and reassembly process over the wireless medium (each PDU is roughly 40 bytes in size). At the same time, if one of the PDUs carrying the TCP segment is corrupted, standard TCP retransmits the entire TCP segment to recover from the error. The probability that the retransmitted segment will be dropped is relatively high. This results in latency increase of the TCP segment and unnecessary bandwidth consumption.  
         [0022]     Though the sub-segmentation approach has time delays associated with the reassembly of smaller sized sub-segments, it improves the latency and bandwidth consumption. Since the sub-segments are smaller in size, they do not have to go through further fragmentation and reassembly at the IP layer. Thus, the reassembly delay in the Transport layer is compensated. In addition, since the Transport layer protocol only retransmits specific sub-segments to recover from the losses, the associated time delay to recover from the losses is less compared to the standard TCP. This approach thus decreases latency and reduces bandwidth consumption.  
         [0023]     As seen in  FIG. 2 , the protocol stack of the invention consists of the following layers: 
        1) Physical Wireless Medium: Carries the headers and data from upper layers in the form of an electromagnetic wave.     2) RLC Layer: Encapsulates the headers and data from the upper layer into a link layer frame structure, and is protected by “Forward Error Correction.”    3) IP Layer: The IP layer is responsible for routing the PDUs attached with IP headers. This layer keeps track of the presence of any adapter layer. If the adapter layer is present, IP layer calls back the adapter layer appropriately. Otherwise, the packets in IP layer will move up to the transport layer once it is done with the IP layer.     4) Adapter Layer: This identifies the appropriate IP header associated with a transport layer sub-segment. The adapter layer caches the IP and the transport layer related header of a segment until its successful arrival is complete. This layer uses the correlation ID associated with each sub-segment to determine the corresponding IP header and the transport layer protocol header. Checksum of the TCP header is used as the correlation ID. The adapter layer allows any other transport layer protocols (such as UDP) to work directly on the standard IP layer. The IP layer communicates with the adapter layer via callback, and the adapter layer has to be pre-registered with the IP layer to make the proposed protocol work.     5) Wireless TCP Layer: This layer provides reliability, duplicate handling, message ordering, and flow control, based on the use of sub-segments.        
 
         [0029]     The adapter layer helps the protocol implementation to live with other transport layer protocols e.g. TCP, UDP. The location of the adapter layer is selected carefully. As an alternative, if the adapter layer is placed over the RLC layer, the IP layer will attach the IP header to all the packets that pass through it. If the IP packet carries the transport layer PDUs, the adapter layer has to read the IP header again to delete the attached IP header. This is an unnecessary overhead for all other protocols.  
         [0030]      FIG. 3  depicts a protocol stack employing the split TCP approach.  
         [0031]      FIG. 3  schematically represents the way split TCP approach is deployed. There are two pieces of connections used to link the mobile host and the fixed host. The mobile host contains the protocol stack of the invention and the fixed host still maintains the old TCP stack. The intermediary (e.g. base station or gateway) carries both the above mentioned stacks and map the semantics of both the protocols. The mapping details are not per se of the present invention.  
         [0000]     Sending and Receiving of Transport Layer Segments Via the Use of Sub-Segments  
         [0032]      FIGS. 1 and 2  represent the protocol stacks and the sub-segments used in these processes  
         [0000]     The Sending Process  
         [0033]     The preferred action sequence of steps involved with the process of sending transport layer PDU is as follows: 
        (1) Connection establishment.     (2) The transport layer divides the total payload in series of sub-segments. The structure of a representative sub-segment is as shown in  FIG. 1 . Twelve sub-segments together form a virtual transport layer segment. Since each sub-segment is equivalent to a RLC PDU (40 bytes), twelve of them will create a virtual transport layer segment (approximately 540 bytes). This virtual segment is the same in size as a standard TCP segment and this facilitates the mapping of the protocol to the standard TCP.     (3) For each segment, the transport layer creates a transport header of 20 bytes and passes it to the adapter layer.     (4) The adapter layer passes the transport header to the IP layer to attach an IP header with it. Those two headers together form a payload for the RLC layer.     (5) For other sub-segments, the adapter layer tunnels through the IP layer and directly passes the sub-segment to the link layer. 
 
 The Receiving Process 
       
 
         [0039]     The preferred action sequence of steps involved with the process of receiving transport layer PDUs is as follows: 
        (1) When a packet reaches the IP layer, IP validation results if the checksum of IP header is correct.     (2) Once the validation is successful, it passes the packet to the adapter layer.     (3) If the “protocol field” of the IP header does not indicate other protocols, the adapter layer returns the control to the IP layer for further processing.     (4) Otherwise, the adapter layer confirms the checksum of the sub-segment, and in a presently preferred protocol caches the IP header and the transport header and does not return the control to IP layer.     (5) If validation in the IP layer fails, instead of dropping the packet it calls back the adapter layer.     (6) The adapter layer passes the packet to the transport layer.     (7) If the checksum is confirmed, the transport layer verifies the correctness of the packet assuming that it is a non-header sub-segment.     (8) If the verification fails, the packet will be dropped and the control will not be returned to the IP layer.     (9) If the verification is successful, the adapter layer associates the cached headers to the sub-segment and the control will not be returned to the IP layer. 
 
 NACK-Based Interaction 
       
 
         [0049]     A three-way handshaking, like TCP, is preferably used for the connection establishment. The flow, based on the proposed protocol, is as follows. 
        (1) Sender sends a transport layer PDU once the receiver window allows.     (2) Sender stores the sent PDU in a buffer.     (3) Receiver receives it.     (4) Receiver periodically finds the out-of-sequence PDUs in the queue and sends a NACK to inform the sender about the lost PDU. Loss of NACK can be handled via this mechanism. The time period should be selected carefully. In practice, this parameter should be the service rate of the receiver application provided the sum of the time required to send a NACK from the receiver to the sender and the time required to send a retransmitted segment in response to that is smaller than the service rate. Otherwise, this interval should be twice the propagation delay. The time stamp present in each header can notify the changes in the round trip time mentioned above. This helps the protocol to adapt to the changes related to round trip time. Usually, it may vary due to delay in channel allocation.     (5) Sender retransmits the lost PDU.     (6) Receiver periodically sends a notification carrying a list of sequence numbers. The sequence numbers indicate the set of PDUs received at the receiving end. Once the notification reaches the sender, the sender should update its storage buffer by deleting the PDUs identified in the notification. The frequency at which notifications are sent should be configurable depending on the buffer space available at the sender. This frequency must be significantly higher than the frequency of sending NACK.     (7) The sender periodically checks its storage buffer. If a particular PDU remains in the buffer for a period of time that is longer than the time required to receive two successive notifications, a retransmission should take place. This step handles the loss of the last/first PDU even in the case when the notification is lost. The time period of checking the sender&#39;s buffer is the same as the time required to receive two successive notifications at the sender&#39;s end.     (8) A positive ACK will be sent to the receiver in response to the notification. 
 
 In the absence of this positive ACK, the receiver should retransmit the notification. 
       
 
         [0058]     When the first PDU arrives, a notification should be sent immediately to avoid the unnecessary delay caused by the loss of the first segment. Otherwise, since this protocol needs the message ordering, all the successive PDUs will be stuck at the receiver buffer. This protocol provides total reliability, equivalent to the standard TCP protocol.  
         [0059]     Use of NACK is required for the fast recovery of the lost segment. Notification is required for cleaning up the occupied storage buffer at the sender side and guarantee of the receipt of arrival from the receiver side.  
         [0060]     This is a windowing protocol. Each sender sends only a limited number of PDUs (constrained by the available window space), which helps with the flow control.  
         [0000]     Buffer Management  
         [0061]     To provide a better buffer management, the following scheme can be used.  
         [0062]     (1) A separate variable should maintain the identifier of the next missing sub-segment, including the sequence number and the sub-sequence number.  
         [0063]     (2) A second variable should be created to keep track of the sequence and sub-sequence number of the last sub-segment removed by the application from the receiver TCP buffer.  
         [0064]     (3) The process of receiving TCP segments and the reading of application data from receiver buffer go simultaneously. An application process reads the data from the receiver buffer starting from the sub-segment that is next to the segment indicated by the second variable mentioned. The application process continues reading until it reaches the sub-segment directly before the sub-segment referred to in the first variable mentioned. The read operation also frees up the buffer. This ensures that the receiver process will sort a smaller sized receiver buffer to identify the missing sub-segments. The variables have to be updated when a read operation is done.  
         [0065]     (4) To further improve the sorting process, every block of consecutive sub-segments can be mapped to single logical entity after the sorting takes place on a comparatively smaller set. Each entity should have a lower bound and upper bound corresponding to the 1 st  and last sub-segment of the block. When more sub-segments arrive, the next sort will occur over those few logical entities and newly arrived sub-segments. A new sub-segment should be greater or less than a logical entity (as mentioned before) if it is greater or less than the upper and lower bound of the entity respectively. The sub-segment is duplicate if it falls between the lower and upper bound.  
         [0000]     Windowing Mechanism  
         [0066]     The windowing mechanism preferably used is specifically designed for wireless medium. Instead of a sliding window protocol, where the sender&#39;s window carries the unacknowledged messages, this mechanism separates the flow control of the unacknowledged messages from those that are about to be sent. This windowing mechanism helps to avoid a reduction in message flow rate at the sender end due to the loss of NACK from the receiver side. The loss of NACK does not necessarily imply that the sent PDUs are lost, and reduction in the message flow rate is not always appropriate. On the other hand, if the retransmission rate is neglected in comparison to the transmission rate transport layer PDUs have to wait unnecessarily at the receiver end buffer until the missing transport layer PDUs arrive. The sender&#39;s windowing rate should only be impacted by the service rate of the receiver&#39;s application.  
         [0067]     The window message protocol is a rate-based windowing protocol. The receiver indicates it&#39;s current service rate through the NACK header. If the sender application sends the data at a higher rate, a sender side queue of finite size should maintain the data to reduce the sending rate to the receiver&#39;s service rate. Even the transport layer PDUs that are unacknowledged and need to be retransmitted must go through the same process of rate-based flow control. The following are the features of this protocol:  
         [0068]     (1) The windowing rate does not change for packet corruption.  
         [0069]     (2) The windowing rate changes when a receiver becomes slow (not for the packet corruption).  
         [0070]     (3) The change in the rate gets propagated via the NACK headers, which carry a field for window rate and a field indicating the proportion of service rate granted for original transmission.  
         [0071]     (4) A logically separate buffer space should be dedicated for the unacknowledged messages. This storage supplies the transport layer PDUs for the retransmission.  
         [0072]     (5) The windowing algorithm steps are as follows: 
        (a) Sender posts a Transport layer PDU onto the queue designated for the original PDUs at the sender side.     (b) Sender determines the receiver&#39;s servicing rate and the proportion granted for original Transport layer PDUs from the acknowledgement headers received from the receiver.     (c) Sender reads the PDUs from the queue and sends the data to the receiver at the rate indicated by the acknowledgement headers from the sender.     (d) Steps (a) through (c) are repeated for the retransmitted messages.     (e) The sender processes round robin between two sender side queues to avoid any unnecessary delay either in transmission queue or in the retransmission queue.        
 
         [0078]     Two desirable options for deploying the disclosed invention are 
        (a) deploy the protocol implementation at the handset and at the base stations.        
 
         [0080]     The protocol can be used over an IP bearer service. This introduces seamless IP based packet switched environment for wireless applications. Among the resulting benefits are: (1) that wireless service providers can use this technique to preserve bandwidth; (2) improvement in latency helps to increase the usage of more and more wireless data services; and (3) since this solution helps in power savings, mobile handset makers may have special incentives to adapt this solution.  
         [0081]     (b) Deploy the protocol implementation at the handset and at the individual protocol gateway  
         [0082]     This option helps to avoid wide deployment of the protocol in every base station. Referring to  FIG. 3 , it will be appreciated that by using the protocol gateway address (e.g. phone number), any communication between the handset and the fixed host can be divided into two pieces. Handset and the gateway use the proposed protocol to talk over non-IP bearer (e.g. GPRS) services and the gateway extends this communication to any fixed host over the IP network.  
         [0083]     The invention can readily be implemented by existing mobile handset companies. Handset companies can market faster access to wireless-TCP based services without any cooperation from large service providers. It may be noted that at least one mobile handset company (Nokia) already uses the gateway-based approach to support WAP protocol.  
         [0000]     Test Results  
         [0084]     The efficacy of the present method was established by running simulations for several different error rates. Two illustrative error rates are presented here.  
                             TABLE 1                           Comparison of Throughputs Derived From Simulation                Throughput/Sub-   Throughput/       Error Rate   Segment(Kbps)   Segment(Kbps)               4   29.9860   8.960003       5   27.1939   6.343242                  
 
         [0085]    
       
         
               
             
               
               
               
             
               
               
               
             
           
               
                 TABLE 2 
               
             
             
               
                   
               
               
                   
               
               
                 Comparison of Latency Derived From Simulation 
               
             
          
           
               
                 Error Rate 
                 Latency/Sub-Segment 
                 Latency/Segment 
               
               
                   
               
             
          
           
               
                 4 
                 0.009401 
                 0.03553 
               
               
                 5 
                 0.009901 
                 0.0482 
               
               
                   
               
             
          
         
       
     
         [0086]     While the present invention has been described in terms of specific embodiments thereof, it will be understood in view of the present disclosure, that numerous variations upon the invention are now enabled to those skilled in the art, which variations yet reside within the scope of the present teaching. Accordingly, the invention is to be broadly construed, and limited only by the scope and spirit of the claims now appended hereto.