SEQUENCE NUMBERING RANGE EXTENDING METHOD AND SYSTEM FOR SELECTING REPEAT TRANSMISSION PROTOCOLS

Abstract: A method and system for transmitting digital data by extending the sequence numbering range for a selective repeat transmission protocol are described. In accordance with one embodiment of the invention, data frames (70) are transmitted including an eight-bit sequence number (72) and a one-bit retransmit flag (74). The one-bit retransmit flag (74) indicates whether the frame is newly transmitted or retransmitted due to a failed first transmission. Transmit (50) and receive (52) systems each maintain a twelve-bit sequence number referred to as a "long sequence number" comprised of the eight-bit sequence number transmitted with each frame and a four-bit extension. The long sequence number is transmitted within a control frame (82) and the eight-bit sequence number is transmitted within the data frame (72).

Description: SEQUENCE NUMBERING RANGE EXTENDING METHOD AND SYSTEM FOR SELECTING REPEAT TRANSMISSION PROTOCOLS BACKGROUND OF THE INVENTION 5 I. Field of the Invention The present invention relates to a method and system for transmitting digital data. The present invention is suitable for extending the 0 sequence numbering range applicable to selective repeat transmission protocols. II. Description of the Related Art 5 FIG. 1 is a block diagram of a personal communication system configured in accordance with the use of the IS-95 over-the-air interface standard. The IS-95 standard, and its derivatives such as IS-95-A, IS-99 and IS-707, IS-657 and ANSI J-STD-008 etc. (referred to herein collectively as the IS-95 standards), define an interface for implementing a digital personal 0 communication system using code division multiple access (CDMA) signal processing techniques. Also, a personal communication system configured substantially in accordance with the use of IS-95 is described in US patent 5,103,459 entitled "System and Method for Generating Signal Waveforms in a CDMA Personal communication System" assigned to the assignee of the 5 present invention and incorporated herein by reference. As is typical for most personal communication systems, IS-95 allows mobile telephone service to be provided to a set of wireless terminals (typically cellular telephones) using a set of base station 12 coupled to the public switched telephone network (PSTN) 18 by a transmitter controller 0 (BSC) 14 and a mobile switching center (MSC) 16. During a telephone call, a wireless terminal 10 interfaces with one or more base stations 12 using CDMA modulated radio frequency (RF) signals. The RF signal transmitted from the base station 12 to the wireless terminal 10 is referred to as the forward link, and the RF signal transmitted from the wireless terminal 10 to 5 the base station 12 is referred to as the reverse link. Under the IS-99 and IS-707 standards (referred to hereinafter simply as IS-707), an IS-95 compliant communications system can also provide data communications services. Data communications services allow digital data to be exchanged using receiver 10 and the RF interface to one or more transmitters 12. Examples of the type of digital data typically transmitted using the IS-707 standard include computer files and electronic mail. In accordance with both the IS-95 and IS-707 standards, the data exchanged between a wireless terminal 10 and a base station 12 is processed in frames. To increase the likelihood that a frame will be successfully transmitted during a data transmission, IS-707 employs a radio link protocol (RLP) to track the frames transmitted successfully, and to perform frame retransmission when a frame is not transmitted successfully. Retransmission is performed up to three (3) times is IS-707, and it is the responsibility of the higher layer protocols to take additional steps to ensure the frame transmitted is successfully. In order to track which frames have been transmitted successfully, IS- 707 calls for an eight-bit sequence number to be included in each frame transmitted. The sequence number is incremented for each frame from 0 to 256 and then reset back to zero. An unsuccessfully transmitted frame is detected when a frame with an out of order sequence number is received, or an error is detected using CRC checksum information or other error detection methods. Once an unsuccessfully transmitted frame is detected, the receive transmits a negative-acknowledgment message (NAK) to the transmit system that includes the sequence number of the frame that was not received. The transmit system then retransmits the frame including the sequence number as originally transmitted. If the retransmitted frame is not received successfully, a second negative-acknowledgment message is sent to the transmit system. The transmit system typically responds by notifying the controlling application or network layer of the failed transmission. Under IS-95A and IS-707, frames are transmitted once every 20 milliseconds (ms). Thus, an eight-bit sequence number can track 256 frames transmitted over a five (5) second interval. Five seconds is typically sufficient to allow a failed frame transmission to be detected, and a retransmission to be performed, and therefore an eight-bit sequence number provides sufficient time for frame retransmission. Thus, retransmitted frames can be uniquely identified without ambiguity caused by a sequence "wrap-around" whereby the eight bit sequence number repeats. Since the original development of IS-95A and IS-707, however, additional protocols and standards have been proposed and developed that allow data to be transmitted at greater rates. Typically, these new protocols and standards use the same frame structure as IS-95A and IS-707 in order to maintain as much compatibility as possible with pre-existing systems and standards. However, while maintaining compatibility with pre-existing standards and systems is desirable, the use of the same type of frame within these higher rate protocols and standards substantially increases the number of frames that are transmitted during a given period of time. For example, if the transmission rate is increased by a factor of four, the time required to transmit 256 frames is reduced to 1.25 seconds, rather than the five seconds required previously. A time period of 1.25 seconds is typically insufficient to allow a failed frame transmission to be detected, and a retransmission attempted, before the eight-bit sequence number repeats. Thus, the use of an eight-bit sequence number is insufficient to allow unique identification frames for the time period necessary to perform the desired retransmission sequence. While the number of bits in the sequence number could be increased, such an increase would substantially alter the frame format and therefore violate the goal of maintaining substantial compatibility with previously existing systems and standards. Thus, the present invention is directed to a method and apparatus for extending the sequence number range without modifying the number of bits used for the sequence number. SUMMARY OF THE INVENTION According to one aspect of the invention there is provided a method for transmitting data between a transmitter and a receiver using a frame having sequence numbers comprising the steps of: a) transmitting the frame a first time with a retransmitted bit set to false and the sequence number set to a portion of a long sequence number; b) incrementing said long sequence number; and b) retransmitting the frame with said retransmitted bit set to true when a negative acknowledgment message containing said long sequence number of the frame is received. According to another aspect of the invention there is provided a method for transmitting a set of data frames having eight bit sequence numbers comprising the steps of: a) setting a type field to newly transmitted when the data frame is first transmitted; b) setting said type field to retransmitted when the data frame is being retransmitted; and c) transmitting the data frame. According to a further aspect of the invention there is provided a system for transmitting data via frames comprising: transmit system for transmitting newly transmitted frames with a type field set to newly transmitted and a sequence number, for maintaining an index L_N(S) that is incremented after each newly transmitted frame is transmitted, and for transmitting retransmitted frames in response to NAK messages; and receive system for generating said NAK messages when said newly transmitted frames are received out of order, for maintaining a NAK list for tracking unreceived frames, and for resequencing retransmitted frames. The invention also provides a transmitter for transmitting digital data, the transmitter comprising: a control circuit for generating for individual data fields respective sequence codes each comprising a first number of bits derived from an index code comprising a second number of bits greater in number than the first number; a transmitting circuit for transmitting each data field and respective sequence code together as an encoded data frame on a carrier; and a receiving circuit for receiving and decoding an encoded data frame comprising an index code and a non- acknowledge code, and wherein the control circuit is arranged to identify from the decoded index code a sequence code and respective data field for retransmission as an encoded data frame by the transmitting circuit. The invention further provides a receiver for receiving digital data, the receiver comprising: a receiving circuit for receiving and decoding an encoded data frame containing a data field and an associated sequence code comprising a first number of bits; a control circuit for determining an index code from the received sequence code which index code comprises a second number of bits greater in number than the first number, for comparing the determined index code with index codes developed for respective sequence codes of previously received data frames to identify erroneous reception of a received data frame, and for generating an index code for transmission with a non-acknowledge code when an error in reception is detected; and a transmitter for transmitting the index code and non-acknowledge code together as an encoded data frame on a carrier. The present invention aims to provide a method and apparatus for extending the sequence numbering range for a selective repeat transmission protocol. In accordance with one embodiment of the invention, data frames are transmitted including an eight-bit sequence number and a one-bit retransmit flag. The one bit retransmit flag indicates whether the frame is newly transmitted or retransmitted due to a failed first transmission. The transmit and receive systems each maintain a twelve-bit sequence number referred to as a "long sequence number" comprised of the eight-bit sequence number transmitted with each frame and a four-bit extension. The long sequence number is transmitted within control frames and the eight-bit sequence number is transmitted within the data frames. BRIEF DESCRIPTION OF THE DRAWINGS The features, objects, and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout and wherein: FIG. 1 is a block diagram of a personal communication system; FIG. 2 is a schematic diagram of a transmitter and receiver; FIG. 3 is a diagram of a frame buffer and resequencing buffer; FIG. 4 is a flow chart illustrating the operation a transmitter and a receiver during a communication; FIG. 5 is a flow chart illustrating the operation of the receiver during the reception of a newly transmitted frame; FIG. 6 is a flow chart illustrating the operation of the receiver during the reception of a retransmitted frame; FIG. 7 is a message diagram illustrating the operation of the transmitter and the receiver during an exemplary communication; and FIG. 8 is a message diagram illustrating the operation of the transmitter and the receiver during an exemplary communication. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A method and apparatus for extending the sequence numbering range for a selective repeat transmission protocol is described. In the following description the invention is set forth in the context of a personal communication system operating in accordance with the use CDMA signal processing techniques of the IS-707 and IS-95 standards. While the invention is especially suited for use within such a communications system, it should be understood that the present invention may be employed in various other types of communications systems which transmit data via frames or packets, including both wireless and wireline communication system, as well as satellite based communication systems. Additionally, throughout the application, various well known systems are set forth in block form. This is done in order to avoid unnecessarily obscuring the disclosure of the invention. FIG. 2 is a block diagram of two communication systems configured in accordance with an exemplary embodiment of the invention. The higher rate communication is being conducted from transmitter 50 to receiver 52. In an exemplary configuration, transmitter 50 is located in a base station 12 and receiver 52 is in a wireless terminal 10, however, the locations may be reversed. Within transmitter 50, control system 54 receives data frames from input/output (I/O) 56 and provides that data to encoder 58. Encoder 58 performs convolutional encoding generating code symbols that are received by digital modulator 60. Digital modulator 60 performs direct sequence modulation on the code symbols with one or more binary channel codes and one or more binary spreading codes yielding chipped symbols that are received by radio frequency (RF) transmitter 62. The chipped symbols are upconverted to the carrier frequency band by RF transmitter 62 and transmitted from antenna system 64 via diplexer 66. Various methods and apparatus for performing the digital modulation and RF upconversion can be employed in the present invention. A set of particularly useful methods and apparatus are described in copending US patent applications serial no. 08/431,180 entitled "Method and Apparatus for providing Variable Rate Data In A Communications System Using Statistical Multiplexing" filed on April 28, 1995, serial no. 08/395,960 entitled "Method and Apparatus For Providing Variable Rate Data In A Communications Systems Using Non-Orthogonal Overflow Channels" filed February 28, 1995, and serial no. 08/784,281 "High Data Rate Supplemental Channel for CDMA Telecommunications System" filed January 15, 1997 all of which are assigned to the assignee of the present invention and incorporated herein by reference. It should be understood that some of the above referenced patent applications are directed to the forward link, and therefore more suited for use with the transmitter 50, while others are directed to the reverse link and therefore more suited for use with the receiver 52. In an exemplary embodiment of the invention the data transmitted from antenna system 64 is formatted in accordance with frame 70 which includes eight-bit sequence field (SEQ number) 72, retransmit flag 74, and data field 76. A frame 70 may include a CRC field 77 or other fields that are not shown because they are not particularly relevant to the present invention. In a preferred embodiment of the invention, the frames are formatted substantially in accordance with the frame structures defined in the IS-707 standard, with the addition of retransmit flag 74. To provide data frames to encoder 58 in an orderly manner, control system 54 stores the frames within frame buffer 55 and updates an index value L_V(S). Frame buffer 55 and index value L_V(S) are preferably stored within a memory system. In a preferred embodiment of the invention, index value L_N(S) is a twelve bit sequence number that is incremented after the transmission of each frame as described in greater detail below. The least significant eight bits of index value L_N(S) is placed in the sequence field of a frame 72. Within receiver 52, RF receiver 80 downconverts and digitizes the RF signals on which frame 70 is transmitted using antenna system 82 and diplexer 84. Digital demodulator 86 demodulates the downconverted, or "baseband," signals using the necessary binary codes generating soft decision data that is received by decoder 88. Decoder 88 performs maximum likelihood trellis or Viterbi decoding yielding hard decision data 90 that is provided to controller 91. Controller 91 reforms frame 70 using hard decision data 90 and determines whether the frame has been received in sequence relative to the frames that have already been received using the SEQ number, index variable L_V(Ν) and L_V(R) as well as resequencing buffer 92 and NAK list 94 as described in further detail below. If controller 91 determines that the frame has been receive out of sequence relative to the frames that have already been received, or if the frame is received in error, it generates a negative-acknowledgment (NAK) message that is received by encoder 95. Encoder performs convolutional encoding to generate code symbols that are direct sequence spread spectrum modulated by digital modulator 97, preferably in accordance with the IS-95 reverse link, and the chipped symbols are upconverted by RF transmit system 98 and transmitted as NAK 83 from antenna system 82 via diplexer 84. The L_SEQ for the NAKed frame is stored within NAK list 94. Referring again to transmitter 50, RF receiver 67 receives the RF signal via antenna system 64 and diplexer 66. RF receiver 67 downconverts and digitizes the RF signal yielding samples that are demodulated using digital demodulator 68. Decoder 69 decodes the soft decision data from digital demodulator 68 and control system 54 receives the hard decision data from decoder 69 thereby detecting the NAK from receiver 52 contained in the hard decision data. Control system 54 receives NAK 83 and retrieves the NAKed frame from transmit buffer 55. The retrieved frames are retransmitted in accordance with the original transmission as described above (including the original sequence number). Fig. 3 is a diagram illustrating the configuration of frame buffer 55, resequencing buffer 92, and indexes L_N(S), L_N(Ν) and L_V(R) when used in accordance with one embodiment of the invention. Within the transmit frame buffer 55, frames already transmitted once are shaded, and frames to be transmitted are clear. In the preferred embodiment of the invention, indexes L_V(S), L_V(N) and L_V(R) are twelve (12) bit numbers. Index L_N(S) is set to the sequence number of the next frame to be transmitted. When the frame is actually transmitted, the eight-bit SEQ number of the frame is set to the eight least significant bits of index L_N(S). Within resequencing buffer 92, index L_N(R) is set to the twelve bit sequence of the next new frame expected. Index L_N(Ν) is set to the 12-bit sequence of the next frame needed for sequential delivery, or for which processing is still pending. When a predetermined number of NAK's have been sent without receipt of the corresponding frame, attempted processing of the frame is terminated and the data with the missing frame is passed to the higher layer protocols (e.g., the transport layer). As shown, NAKed frames 96a - c can be received with sequence numbers between L_N(N) and (L_V(R)-1) MOD 4096, inclusively. FIG. 4 is a flow diagram illustrating the operation of the transmitter 50 and receiver 52 during a communication performed in accordance with one embodiment of the invention. The transmission begins at the transmitter at step 100, and reception at the receiver at step 101. At step 102, initialization is performed during which index L_N(S) is set to zero within transmitter 50 and L_N(R) is set to zero within receiver 52. At step 108, the transmitter transmits a frame (indicated by the dashed line) when data is available for transmission, with the SEQ number of the frame set to the eight least significant bits of index L_N(S), referred to as N(S). Additionally, the retransmit flag is set to zero to indicate the frame is a newly transmitted frame. At step 112, index L_N(S) is incremented MOD 4096, and at step 113 the transmitter performs receive processing for any ΝAK message transmitted from receiver 52. In one embodiment of the invention, when no data is available "idle" frames having the current SEQ number may be sent repeatedly until data becomes available (idle transmissions not shown). At step 130 the transmitter determines if a ΝAK has been received or is pending, , and if so the ΝAKed frames are retrieved from the transmit buffer using the long sequence number contained in the ΝAK message and retransmitted at step 132 with the original SEQ number and the retransmit field set to one. Once the frame is retransmitted the pending or received ΝAK is cleared and processing then continues at step 113. If a NAK message has not been received or is not pending, the transmitter returns to step 108 and the processing continues. Within receiver 52, the processing begins at step 101 and at step 106 L_N(S) is received from transmitter 50. At step 110, receiver 52 receives any frames transmitted from transmitter 50 at either step 108 (new transmission), or at step 132 (retransmission), and at step 114 examines the status of the retransmit flag of the frame to determine if the received frame is a retransmitted frame or a new frame. If the frame is a retransmitted frame, retransmit processing is performed at step 116, and then the receiver returns to step 110. If the frame is not a retransmitted frame, first transmit processing of the frame is performed at step 120, and then step 110 is performed again. FIG. 5 is a flow chart illustrating the operation of receiver 52 when processing the first transmission of a frame during step 120 of Fig. 4 in accordance with one embodiment of the invention. The first transmission processing begins at step 150 and at step 152 L_SEQ is set according to the following equation: L_SEQ = {L_N(R) + [256 + SEQ -N(R)] MOD 256} MOD 4096, (1) where N(R) is the eight least significant bits of L_N(R) and SEQ is the sequence number contained in the SEQ field of the frame being processed. At step 154 it is determined whether L_SEQ is less than L_N(Ν) or that the frame has been stored in the resequencing buffer. If so, the frame is discarded at step 156 and the receive system returns from first transmission processing at step 157. As noted above, L_V(N) is set to the next frame needed for sequential delivery of the data. If L_SEQ is not less than L_V(N) and the frame has not been stored in the resequencing buffer, it is further determined at step 158 whether L_SEQ is greater than or equal to L_V(N) and less than L_V(R), and whether the frame has been not stored in the resequencing buffer, and if so the frame is discarded at step 156 and the receive system returns from first transmission processing at step 157. Otherwise, it is further determined at step 160 whether L_SEQ equals L_V(R) and therefore is the next frame needed for sequential delivery L_N(R). If L_SEQ does not equal L_V(R), an out of order frame has been received, and the frame is stored in the resequencing buffer at step 162 and L_N(R) is set to L_SEQ at step 164. At step 166, the receive system transmits one or more ΝAK messages requesting retransmission of all unreceived frames from L_V(N) to (L_V(R) - 1) MOD 4096 inclusive. The receive system then returns from the first transmission processing at step 176. If, at step 160, it is determined that L_SEQ equals L_V(R) the frame has been received in order, causing it to further be determined at step 170 whether L_V(N) equals L_V(R) indicating no NAKed frames are outstanding. If L_V(N) equals L_V(R), L_N(N) and L_V(R) are incremented MOD 4096 at step 172. The data frame is delivered to the higher layer protocol at step 174 and the receiver returns from first transmit processing at step 176. If it is determined at step 160 that L_V(N) does not equals L_V(R), and therefore that NAKed frames remain outstanding, L_V(R) is incremented MOD 4096 at step 178, and at step 180 the frame is stored in the resequencing buffer. The receiver 52 then returns from the first frame transmit processing at step 176. FIG. 6 is a flow diagram illustrating the operation of the receiver 52 during step 116 when a retransmitted frame is received in accordance with one embodiment of the invention. The processing of the retransmitted frame begins at step 200 and at step 202 the SEQ field in the received frame is used as the key to look up an L_SEQ associated with the SEQ in the NAK list 94 (FIG. 2). At step 204 it is determined whether the L_SEQ is less than L_N(N), or whether the frame has already been stored in the resequencing buffer, and if so the frame is discarded at step 206 and the receiver 52 returns from retransmit processing at step 208. If L_SEQ is not less than L_V(N) and the frame has not been stored in the resequencing buffer, it is further determined at step 210 whether L_SEQ is greater than or equal to L_V(N) and less than L_V(R) and if the frame has not been stored in the resequencing buffer, and if so the frame is stored in the resequencing buffer at step 212 before step 214 is performed. Otherwise, step 214 is performed. At step 214, it is determined whether L_SEQ is equal to L_V(N) and if not the frame is discarded at step 216 since the retransmitted frame has a sequence number that is higher than the next new frame expected and therefore and error has occurred. Once the frame has been discarded receiver 52 returns from retransmitted frame processing at step 208. If L_SEQ equals L_V(N), the data in all the contiguous frames formed by the addition of the retransmitted frame being processed from L_V(N) upward are delivered to the next higher processing layer at step 218, and the delivered frames are removed from the resequencing buffer at step 220. At step 222 L_N(N) is set to LAST+1 where LAST is the long sequence number (L_SEQ) of the last frame delivered to the higher layer at step 218. At step 224 the frame is removed from the NAK list and the receiver 52 returns from processing the retransmitted frame at step 226. FIG. 7. is a message diagram illustrating the messages transmitted during an exemplary communication performed in accordance with one embodiment of the invention. Transmitter 50 is shown on the left, and receiver 52 is shown on the right. Transmitter 50 maintains index L_V(S) and frames are transmitted with value V(S) in the sequence field, where V(S) is the eight least significant bits of L_V(S). At the receiver 52 the NAK list after each transmission is shown. All numbers are shown in hexadecimal. The first frame 230 is transmitted when index L_V(S) equal to 0x2FE, and therefore with a SEQ number of OxFE. After the transmission of frame 230 index L_V(S) is incremented to 0x2FF and frame 232 is transmitted with a SEQ number of OxFF. Both frames 230 and 232 are received successfully by receiver 52 causing index L_N(R) to increment twice from 0x2FE to 0x300. Frame 234 is transmitted with a SEQ number of 0x00 and is not successfully received by receiver 52. L_N(S) is then incremented to 0x301 and frame 236 is transmitted with a SEQ number of 0x01 and is received successfully received by receiver 52. Upon receipt of frame 236, receiver 52 detects the out of order sequence number because frame 234 was not received. In response, receiver 52 generates ΝAK message 240 containing the full twelve bit index L_N(R) for the unreceived frame 0x300. Additionally, receiver 52 updates the ΝAK list 94 to indicate a ΝAK has been transmitted for a frame with SEQ number 0x00 and L_SEQ number 0x300. Also, receiver 52 starts a ΝAK timer which tracks the time that has expired since the transmission of ΝAK message 240. During the transmission of ΝAK message 240, transmitter 50 transmits another frame 238 with a SEQ number of 0x02 which is received successfully by receiver 52. Upon receipt of ΝAK message 240, transmitter 50 generates retransmitted frame 242 having SEQ number 0x00 and the retransmit flag 74 (FIG. 2) set to one. Upon receipt of retransmitted frame 242, receiver 52 detects the retransmission bit and matches the SEQ number with the SEQ number in ΝAK list 94. Once the match is made, , retransmitted frame 242 is placed within the resequencing buffer 92 (of FIG. 2) and the entry within ΝAK list 94 is removed. Frames 244 and 246 are then transmitted and received in normal fashion. FIG. 8 is a message diagram further illustrating the operation of transmitter 50 and receiver 52 during a transmission in which the sequence number "wraps-around," when performed in accordance with one embodiment of the invention. Frames 240a and 240b are transmitted with SEQ numbers OxFE (all numbers are in hexadecimal) and OxFF respectively, which correspond to values of 0x2FE and 0x2FF for index L_N(S), and are successfully received by receiver 52 causing L_N(R) to be incremented from 0x2FE to 0x300. Frame 240c includes SEQ number 0x00 but is not successfully received by receiver 52. Frame 240d includes SEQ number 0x01 and is received properly by receiver 52. Upon receipt of frame 240d, receiver 52 detects that the SEQ number is greater than the eight least significant bits of L_N(R), and therefore that a frame have been received out of order. In response, receiver 52 updates L_N(R) to 0x302, which corresponds to the next expected frame, and places the SEQ number of the unreceived frame into ΝAK list 94. Additionally, receiver 52 transmits ΝAK 241 containing the complete L_SEQ number 0x300 of the frame that was not received, and initiates a timer which tracks the amount of time that has expired since the transmission of the ΝAK 241. As shown in FIG. 8, however, ΝAK 241 is not received successfully by transmitter 50. Transmitter 50 continues to transmit frames as shown, including frames 240e - 240j, all of which are successfully received by receiver 52. During the transmission of frames 240e - 240j, index L_N(S) changes from 0x302 to 0x400, causing a wrap-around in eight least significant bits, and therefore in the SEQ number contained in the frames. Frame 240k is transmitted with SEQ number 0x01 and is not received successfully by receiver 52. Frame 2401 is transmitted with SEQ number 0x02 and is received successfully by receiver 52. Upon receipt of frame 2401 receiver 52 detects an out-of-order transmission, and responds by transmitting ΝAK 243 containing sequence value 0x401 and by adding sequence number 0x401 to ΝAK list 94. Additionally, at this time the timer for ΝAK 241 expires causing a second ΝAK 245 containing sequence value 0x300 to be transmitted to transmitter 50. Thus, a second ΝAK is transmitted for frame 240c. Additionally, receiver 52 sets L_N(R) to the next expected sequence number 0x403. It should be noted that the sequence numbers transmitted in ΝAK's 243 and 245 could be transmitted in a single ΝAK message. Transmitter 50 responds to ΝAK's 243 and 245 by transmitting retransmitted frame 242a containing the data from frame 240k, and retransmitted frame 242b containing the data from frame 240c. Upon receipt of retransmission frame 242a receiver 52 identifies the frame as a retransmitted frame based on the status of retransmit flag 74 (FIG. 2). Once the frame is identified as a retransmitted frame, receiver 52 performs a lookup within NAK list 94 using the SEQ number and determines which frame has been retransmitted. Retransmitted frame 242a is then placed in the appropriate location within resequencing buffer 92 (FIG. 2), and the corresponding entry is removed from NAK list 94. Upon receipt of retransmission frame 242b receiver also identifies the type of frame and performs a lookup within NAK list 94. When the identity of the frame is determined, it is placed within the resequencing buffer 92 (FIG. 2), and the corresponding entry is removed from NAK list 94. Transmitter 50 then transmits frame 240m having sequence number 0x03 which is successfully received by receiver 52. At this point, NAK list 94 is empty. As should be evident from the transmission shown in FIG. 8, marking frames as either new or retransmitted allows the receiver to properly process both new and retransmitted frames that have the same SEQ numbers even when wrap-around of the sequence number occurs during a retransmission. This is because a retransmitted frame with the same SEQ number as a newly transmitted frame can be distinguished by the retransmit flag. Thus, the present invention allows a greater number of frames to be processed using an eight bit sequence number, and therefore supports significantly higher data rates while maintaining substantial computability with pre-existing standards. Thus, a method and apparatus for extending the sequence numbering range for a selective repeat transmission protocol is described. The previous description of the preferred embodiments is provided to enable any person skilled in the art to make or use the present invention. The various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without the use of the inventive faculty. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein. WE CLAIM:

Claims: CLAIMS 1. A method for transmitting data between a transmitter and a receiver using a frame having sequence numbers comprising the steps of: a) transmitting the frame a first time with a retransmitted bit set to false and the sequence number set to a portion of a long sequence number; b) incrementing said long sequence number; and b) retransmitting the frame with said retransmitted bit set to true when a negative acknowledgment message containing said long sequence number of the frame is received. 2. The method as set forth in claim 1 wherein said sequence number is comprised of eight bits. 3. The method as set forth in claim 1 further comprising the steps of: receiving the frame; transmitting said negative acknowledgment message when the frame is received out of order based on the sequence number. 4. The method as set forth in claim 3 further comprising the steps of: maintaining an L_N(R) index of the next frame expected; and maintaining an L_N(Ν) index of the next frame needed for sequential delivery. 5. The method as set forth in claim 3 further comprising the step of maintaining an L_N(S) index value of the next frame to be transmitted for the first time. 6. A method for transmitting a set of data frames having eight bit sequence numbers comprising the steps of: a) setting a type field to newly transmitted when the data frame is first transmitted; b) setting said type field to retransmitted when the data frame is being retransmitted; and c) transmitting the data frame. 7. The method as set forth in claim 6 further comprising the steps of: transmitting a NAK message containing a long sequence number and updating a NAK list with said long sequence number when an out of order frame is received; setting said long sequence number to based on a SEQ filed contained in a newly transmitted frame; and setting said long sequence number by searching in said NAK list when a retransmitted frame is received. 8. A system for transmitting data via frames comprising: transmit system for transmitting newly transmitted frames with a type field set to newly transmitted and a sequence number, for maintaining an index L_V(S) that is incremented after each newly transmitted frame is transmitted, and for transmitting retransmitted frames in response to NAK messages; and receive system for generating said NAK messages when said newly transmitted frames are received out of order, for maintaining a NAK list for tracking unreceived frames, and for resequencing retransmitted frames. 9. The system as set forth in claim 8 wherein said receive system is further for: maintaining an index L_N(R) indicating a next expected frame; receiving newly transmitting frames having a sequence number; generating said ΝAK message if said sequence number is greater than said next expected frame. 10. A transmitter for transmitting digital data, the transmitter comprising: a control circuit for generating for individual data fields respective sequence codes each comprising a first number of bits derived from an index code comprising a second number of bits greater in number than the first number; a transmitting circuit for transmitting each data field and respective sequence code together as an encoded data frame on a carrier; and a receiving circuit for receiving and decoding an encoded data frame comprising an index code and a non-acknowledge code, and wherein the control circuit is arranged to identify from the decoded index code a sequence code and respective data field for retransmission as an encoded data frame by the transmitting circuit. 11. A receiver for receiving digital data, the receiver comprising: a receiving circuit for receiving and decoding an encoded data frame containing a data field and an associated sequence code comprising a first number of bits; a control circuit for determining an index code from the received sequence code which index code comprises a second number of bits greater in number than the first number, for comparing the determined index code with index codes developed for respective sequence codes of previously received data frames to identify erroneous reception of a received data frame, and for generating an index code for transmission with a non- acknowledge code when an error in reception is detected; and a transmitter for transmitting the index code and non-acknowledge code together as an encoded data frame on a carrier.

Inventors: BENDER PAUL E, REZAIIFAR RAMIN, TIEDEMANN EDWARD G JR, TOMCIK JAMES D, BENDER, PAUL, E., REZAIIFAR, RAMIN, TIEDEMANN, EDWARD, G., JR., TOMCIK, JAMES, D.
Applicants: QUALCOMM INC, QUALCOMM INCORPORATED
Application year: 1998
Main classification: H04L1
IPC codes: H04L1