WO2000002320A1 - Method and apparatus for transmitting and receiving information packets using multi-layer error detection - Google Patents

Method and apparatus for transmitting and receiving information packets using multi-layer error detection Download PDF

Info

Publication number
WO2000002320A1
WO2000002320A1 PCT/US1999/012635 US9912635W WO0002320A1 WO 2000002320 A1 WO2000002320 A1 WO 2000002320A1 US 9912635 W US9912635 W US 9912635W WO 0002320 A1 WO0002320 A1 WO 0002320A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
error detection
secondary protection
protection code
data blocks
Prior art date
Application number
PCT/US1999/012635
Other languages
French (fr)
Inventor
Loren J. Rittle
Original Assignee
Motorola Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Motorola Inc. filed Critical Motorola Inc.
Priority to EP99927279A priority Critical patent/EP1092271A4/en
Priority to BR9911668-5A priority patent/BR9911668A/en
Priority to CA002336330A priority patent/CA2336330C/en
Publication of WO2000002320A1 publication Critical patent/WO2000002320A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/29Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
    • H03M13/2942Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes wherein a block of parity bits is computed only from combined information bits or only from parity bits, e.g. a second block of parity bits is computed from a first block of parity bits obtained by systematic encoding of a block of information bits, or a block of parity bits is obtained by an XOR combination of sub-blocks of information bits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/29Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
    • H03M13/2906Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes using block codes
    • H03M13/2918Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes using block codes with error correction codes in three or more dimensions, e.g. 3-dimensional product code where the bits are arranged in a cube
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/373Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35 with erasure correction and erasure determination, e.g. for packet loss recovery or setting of erasures for the decoding of Reed-Solomon codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/63Joint error correction and other techniques
    • H03M13/6306Error control coding in combination with Automatic Repeat reQuest [ARQ] and diversity transmission, e.g. coding schemes for the multiple transmission of the same information or the transmission of incremental redundancy

Definitions

  • the present invention relates generally to packet data communication systems and, in particular, to transmitting and receiving information packets using multi-layer error detection.
  • Packet data communication systems are known in both the land mobile and cellular environments.
  • the packet data system includes a packet router, a central controller, a plurality of base sites, and a plurality of communication devices (e.g., mobile radios, portable radios, or wireless data modems).
  • the packet data system includes a packet router, one or more base site controllers, a plurality of base sites, and a plurality of communication devices (e.g., cellular telephones).
  • a first protocol layer comprises a physical protocol, such as Tl channel framing.
  • a second protocol layer typically adds a header or trailer containing error correction or detection information to the data allowing the communication device to correct or detect bit errors incurred during the transmission of the packet from a base site.
  • a third protocol layer typically adds a header containing packet routing information (e.g., the appropriate Internet Protocol (IP) address for the communication device) to the data.
  • IP Internet Protocol
  • a fourth protocol layer typically includes an indication of the number of packets containing the data in the packet data communication and a sequential ordering of the packets.
  • upper protocol layers (layer 5 and above) contain the actual data in the packet.
  • Data messages transmitted by packet data techniques are typically split into fragments. Each fragment is the information that is transmitted in a packet. The fragments are in turn split into a sequence of data blocks and each block, as well as the entire fragment, may then be individually protected against transmission errors.
  • Errors in the transmission of data can arise from many sources, such as adjacent channel and co-channel interference, fading, and undesired distortion in a sending device's transmitter and/or a receiving device's receiver.
  • the result of the introduction of errors is a demodulated bit stream at the receiving communication device (data recipient) that is different from the bit stream that was modulated and transmitted by the sending communication device (data source).
  • One method used to combat this problem is to include enough redundant information along with each block of data to allow the data recipient to deduce that an error occurred and to request a retransmission of either a particular data block or an entire message.
  • the redundant information, or error detection code is interleaved among the data blocks in communication protocol layer 2. In some communication systems, error detection followed by retransmission is preferred to error correction because it is more efficient (i.e., much less overhead is consumed in sending an error detection code and retransmitting erroneous data blocks than is required by an error correction code).
  • Parity bits indicate whether the sum of a predesignated string of bits is odd or even. If the bits sum to an even number and the associated parity bit indicates an odd number, then an error is indicated and the data recipient requests retransmission of the block.
  • this technique facilitates the detection of errors in an odd number of bits only. That is, with parity bit error detection, if an even number of bits are incorrect, then an error will not be detected.
  • Another known technique for generating an error detection code is a cyclic redundancy check (CRC) code (also known as a polynomial code).
  • CRC code treats a bit string as though it is a coefficient list for a polynomial, each coefficient being either a 0 or a 1.
  • a data block of 'm' bits can be thought of as a coefficient list for an 'm-1 ' degree polynomial, the highest order term being x" 1"1 and the lowest order term being x°.
  • the bit stream 10101 equates to the polynomial x 4 + x 2 + x°.
  • the data source and the data recipient must agree upon a generator polynomial, G(x), of degree 'g-1 ' in which the high- and low-order bits are ones and the intervening bits are a combination of zeros and ones.
  • the generator polynomial G(x) can be selected in accordance with known techniques so as to maximize its error detection rate.
  • the CRC is a predesignated number of bits ('k' bits) appended to the lower end of the data so that it now contains m+k bits and corresponds to a polynomial, P(x), that is of order '(m+k)-l .
  • the additional k bits are selected so that the new polynomial, P(x), is perfectly divisible by G(x) using modulo 2 arithmetic. Therefore, the additional k bits are selected such that m+k>g. If a non-zero remainder results when the data recipient divides the appended data block by G(x), then an error is indicated and retransmission is requested.
  • Wireless communications present greater opportunity for random channel error than do wireline communications and packet data transmissions are typically error intolerant.
  • the problem with using merely a single CRC code per data block is that it would require too lengthy a checksum (i.e., it would consume an undesirable amount of overhead) to achieve the error detection rate required for wireless communication purposes.
  • a better error detection technique than a single CRC code per data block is required.
  • the Telecommunication Industry Association (TIA) has proposed an improved error detection scheme in the publication entitled "TI A/EIA Standard, Project 25 FDMA Common Air Interface New Technology Standards Project Digital Radio Technology Standards," TIA/EIA- 102.BAAA, published by the Telecommunication Industry Association in May 1998.
  • each individual data block in the packet contain 16 octets of data and two octets of numbering and CRC information. If an error is detected in an individual block, then a retransmission of that block can be requested. This is known as selective automatic retransmission request (SARQ).
  • SARQ selective automatic retransmission request
  • the TIA further proposes that there be a four octet CRC parity check (i.e., a message CRC) covering the data of the entire packet that would be included in the last four octets of the last data block. Polynomial division requires that the division be undertaken starting with the highest order factors and sequentially progressing down to the lowest order factors.
  • Determination and confirmation of the message CRC code requires that all data blocks be sequentially ordered, so that data blocks received either out of order or with errors would terminate all further determination of the CRC code. This can be an especially significant problem for wireless communication systems, where the data blocks of a packet are not necessarily correctly received in sequential order.
  • the result could be a potential computational load placed on the data processor if message CRC code computations are deferred and a potential processing delay in computing the message CRC while awaiting retransmitted data blocks.
  • Deferred CRC code computations can create processor utilization spikes and can introduce a significant delay in the sending of a message acknowledgment back to the sender.
  • FIG. 1 is a block diagram illustration of a communication system in accordance with a preferred embodiment of the present invention.
  • FIG. 2 is a block diagram illustration of a communication device in accordance with a preferred embodiment of the present invention.
  • FIG. 3 is a block diagram illustration of layers of error detection for an information packet in accordance with a preferred embodiment of the present invention.
  • FIG. 4 is a logic flow diagram of steps executed by a communication device to transmit information packets using multiple layers of error detection in accordance with a preferred embodiment of the present invention.
  • FIG. 5 is a logic flow diagram of steps executed by a communication device to receive information packets having multiple layers of error detection in accordance with a preferred embodiment of the present invention.
  • the present invention encompasses a method and apparatus for transmitting and receiving information packets using multiple layers of error detection.
  • a sending communication device provides user information and divides the user information into data blocks. The sending device then determines a first layer of error detection for each of the data blocks to produce first layer error detections. The sending device also determines a second layer of error detection for each of the data blocks to produce second layer error detections, wherein the second layer error detections are distinct from the first layer error detections. The sending device finally determines a secondary protection code based on the second layer error detections and transmits an information packet to a receiving communication device, wherein the information packet includes the data blocks, the first layer error detections, and at least a portion of the secondary protection code.
  • the receiving device Upon receiving the information packet, the receiving device processes the information packet by recovering each data block and performing a first level error check on each data block.
  • the first level error check is performed by determining the first layer error detection for each data block. Once a first level error check for a particular data block is successful, the receiving device accepts the data block and determines the corresponding second layer error detection for the data block.
  • the receiving device also determines a portion of a computed secondary protection code based on the determined second layer detection to perform a portion of a second level error check. The receiving device performs the first level error check and determines respective portions of the computed secondary protection code while processing each received data block.
  • the receiving device completes the second level error check by determining the computed secondary protection code based on each portion of the code that was previously determined and compares the computed secondary protection code to the secondary protection code contained in the information packet. Based on the comparison, the receiving device determines whether the second level error check was successful. When the second level error check was successful, the receiving device accepts the entire information packet.
  • the present invention provides for multiple layers of error detection to increase the probability of recovery of the user information contained in the information packet, without causing instantaneous processor load surges to perform the error detection processing.
  • the secondary protection code can be incrementally calculated as the data blocks are recovered and accepted, regardless of sequential order. Since the secondary code is incrementally calculated as individual blocks are accepted, instead of being determined after all user information has been recovered, the loading of the processor after the entire packet is received and any delay in the sending of an acknowledgment is minimized.
  • sequence is not important in the calculation of the secondary protection code
  • the incremental calculation of the secondary protection code at the receiving device can continue with second layer detections of blocks subsequently received and the second layer detection of the rejected block can be included in the secondary protection code calculation upon reception after retransmission.
  • FIG. 1 illustrates a block diagram depiction of a radio communication system 100 in accordance with a preferred embodiment of the present invention.
  • the preferred radio communication system 100 comprises an infrastructure communication device 101 and at least two radio communication devices 103, 104 (two shown).
  • the infrastructure communication device 101 preferably comprises "iDEN" communication system infrastructure equipment, such as the Motorola Data Gateway, that is commercially available from Motorola, Inc. of Schaumburg, Illinois.
  • the radio communication system 100 might comprise any cellular or trunked communication system, such as communication systems that implement one or more of the following cellular platforms: Personal Communication Service (PCS), Advanced Mobile Phone Service (AMPS), Narrowband AMPS (NAMPS), Unites States Digital Cellular (USDC), Code Division Multiple Access (CDMA), or Global System for Mobile Communications (GSM).
  • PCS Personal Communication Service
  • AMPS Advanced Mobile Phone Service
  • NAMPS Narrowband AMPS
  • USDC Digital Cellular
  • CDMA Code Division Multiple Access
  • GSM Global System for Mobile Communications
  • the radio communication devices 103, 104 preferably comprise
  • Each of the communication devices 101, 103, 104 preferably includes a transmitter 210, a receiver 212, a processor 206, a memory 208, an information source 202, and an information sink 214 as illustrated in block diagram form in FIG. 2.
  • the transmitter 210 preferably comprises a linear transmitter capable of transmitting quadrature amplitude modulated (QAM) signals.
  • the receiver 212 preferably comprises a digital receiver capable of receiving QAM signals.
  • the information source 202 provides the processor 206 with user information that is to be transmitted.
  • the information source 202 preferably comprises a data port of the sending communication device 103.
  • the processor 206 which preferably comprises a microprocessor, receives the user information from the information source 202, divides the user information into multiple data blocks in accordance with known techniques, determines a first and a second layer of error detection for each of the data blocks as discussed in more detail below, constructs an information packet that includes the multiple data blocks, the primary layers of error detection, and at least a portion of a secondary protection code derived from the secondary layers of error detection, and routes the information packet to the transmitter 210.
  • the transmitter 210 then transmits the information packet to a receiving communication device (e.g., communication device 101) via one or more radio communication resources 106, 107 (two shown).
  • the data blocks and the primary and secondary layers of error detection are stored in the memory 208 until the sending communication device 103 receives an acknowledgment signal from the receiving communication device 101 informing the sending communication device 103 that a complete, error- free packet has been received by the receiving communication device 101.
  • the sending communication device 103 receives a request from the receiving communication device 101 to retransmit one or more of the data blocks, the data blocks and associated layers of error detection can be retrieved from the memory 108 and retransmitted.
  • the receiver 212 receives the information packet and routes the information packet to the processor 206.
  • the processor 206 recovers each of the multiple data blocks, determines the first layer of error detection for each data block to perform a first level error check, and, when the first level error check is successful, accepts each data block.
  • the transmitter 210 transmits an acknowledgment signal indicating that at least one data block was not correctly received.
  • the processor 206 also determines, preferably only after accepting the data block, a second layer of error detection for the data block and a portion of a computed secondary protection code, as discussed in more detail below, to perform a portion of a second level error check.
  • the processor 206 completes the determination of the computed secondary protection code and compares the computed secondary protection code to the secondary protection code contained in the information packet to complete the second level error check.
  • the second level error check is successful and the processor 206 accepts the entire information packet.
  • the second level error check is unsuccessful and the transmitter 210 transmits an acknowledgment signal indicating that the information packet in its entirety were not correctly received.
  • FIG. 3 is a block diagram illustration of layers of error detection for a single information packet 302 in accordance with a preferred embodiment of the present invention.
  • the processor 206 receives user information from the information source 202 and divides the user information into multiple data blocks 304-308 (five shown). The processor 206 then determines a first layer of error detection and a second layer of error detection for each one of the data blocks to produce multiple first layers of error detection and multiple second layers of error detection.
  • Each first layer of error detection comprises a first error detection code 310-314 (five shown).
  • Each first error detection code preferably comprises a multiple-bit checksum based on a first CRC code.
  • Each second layer of error detection comprises a second error detection code.
  • Each second error detection code preferably comprises a multiple-bit checksum based on a second CRC code.
  • the second error detection code is based on a generator polynomial that is different (e.g., has no common factors) from the generator polynomial used to calculate the first error detection code.
  • checksums of various sizes and error detection codes other than CRC codes may be used to derive the first and second error detection codes without departing from the spirit and scope of the present invention.
  • the first error detection codes 310- 314 are interleaved among the data blocks 304-308.
  • first error detection code 310 is the error detection code protecting data block 304
  • first error detection code 312 is the error detection code protecting data block 306, and so on.
  • the second error detection codes are stored in the memory 208, which is preferably a random access memory (RAM), and are summed together using modulo 2 arithmetic without carry forward (i.e., exclusive OR'd, or XOR'd) to produce a secondary protection detection code 316 that is multiple bits in length, but preferably shorter than a data block.
  • the secondary protection code 316 is placed in either the last data block (e.g., data block 308), when a sufficient number of unused bits are available, or at the end of a newly created data block.
  • the data block 308 containing the secondary protection code is also protected by a first layer of error detection 314.
  • the data blocks 304-308, together with their appended first error detection codes 310-314, are then grouped into the information packet 302 and modulated onto a radio communication resource, such as a radio frequency carrier, for subsequent transmission.
  • the secondary protection code 316 is incrementally determined simultaneously with the determination of the second error detection codes for each data block 304-308. Because the secondary protection code 316 is produced by XOR'ing the second error detection codes, the second error detection codes can be combined in any order at any time to produce the secondary protection code 316. Thus, the second error detection codes can be stored, in any order, and the incremental determination of the secondary protection code 316 can be reserved and undertaken at moments of low processor utilization.
  • the receiver 212 receives the information packet 302 and routes the packet 302 to the processor 206.
  • the processor 206 recovers the data blocks 304-308 and the first layers of error detection 310-314.
  • the processor 206 divides each data block (e.g., data block 304) and its associated first layer of error detection (e.g., error detection code 310) by the same generator polynomial as was used to create the first layers of error detection 310-314 by the sending communication device 103. If the division of a data block and its associated first layer of error detection results in no remainder, then the first level error check for that particular error block is successful. If the division results in a remainder, then the error check for that particular block is unsuccessful.
  • the processor 206 also determines second error detection codes for each data block using the same generator polynomial as was used to create the second layers of error detection by the sending communication device 103.
  • the second error detection codes are summed together, using modulo 2 arithmetic without carry forward, to determine a secondary protection code.
  • the determined secondary protection code is compared to the secondary protection code 316 in the information packet 302 for a second level error check. If the determined secondary protection code matches the secondary protection code 316, then the second level error check is successful. If the determined secondary protection code does not match the secondary protection code 316, then the second level error check is unsuccessful.
  • the present invention provides for information packet transmission and reception using multiple layers of error detection, while allowing for improved regulation of processor utilization.
  • the first error detection codes 310-314 are used to individually protect each data block.
  • the second error detection codes are incrementally combined using XOR arithmetic to produce a secondary protection code 316 that is used to protect the entirety of the user information in the packet.
  • the second error detection codes can be stored and the secondary protection code 316 can be determined at any time during the processing of the packet, such as during idle processor time (i.e., a time when the processor is not encoding or recovering user information, respectively).
  • the ability to determine the secondary protection code during idle processor time eliminates processor utilization spikes or the need for faster or larger capacity processors to accommodate the spikes.
  • FIG. 4 illustrates a logic flow diagram 400 of steps executed by a communication device to transmit information packets using multiple layers of error detection in accordance with a preferred embodiment of the present invention.
  • the logic flow begins (401) when the communication device provides (402) user information for transmission.
  • the communication device divides (403) the user information into multiple data blocks and determines (404) a first layer of error detection for each data block.
  • the communication device also determines (405) a second layer of error detection for each data block.
  • Each layer of error detection preferably comprises a respective error detection code, such as a multiple bit checksum based on a corresponding CRC code.
  • each CRC code is generated from a unique generator polynomial.
  • the communication device determines (406) a secondary protection code.
  • the secondary protection code is determined by adding the error detection codes constituting the second layers of error detection in modulo 2 without carry forward (i.e., exclusive OR'ing, or XOR'ing the second error detection codes of the data blocks).
  • the secondary protection code is preferably multiple bits in length, but shorter than a data block. Since the secondary protection code is a product of the XOR'ing of the second error detection codes of the data blocks, the second error detection codes can be combined in any order at any time. The fact that the second error detection codes can be combined in any order at any time allows a receiving device to incrementally determine the secondary protection code independent of the order that the data blocks are received by the receiving device and to reserve the determination of the secondary protection code for moments of low processor utilization.
  • the communication device constructs (407) an information packet that includes the data blocks, their associated first layer error detections, and at least a portion of the secondary protection code.
  • the information packet includes the entire secondary protection code.
  • the information packet might include only a portion of the secondary protection code due to a lack of available unused bits.
  • the receiving device must receive multiple information packets to reconstruct the secondary protection code.
  • the communication device receives (410) an acknowledgment signal from the receiving device.
  • the communication device determines (411) whether the acknowledgment signal indicates that one or more data blocks have been incorrectly received.
  • the communication device retrieves the incorrectly received data blocks from the stored information packet and retransmits (412) the incorrectly received data blocks and their corresponding first layer error detections.
  • the communication device determines (413) whether the acknowledgment indicates that the entire information packet has been correctly received.
  • the communication device transmits (409) the entire information packet.
  • the communication device When the acknowledgment indicates that the information packet has been correctly received, the communication device deletes (414) the information packet from memory and the logic flow ends (415).
  • the present invention supports SARQ protocols to produce a more robust error detection system that provides for confirmation of correctly received packets and for retransmission of data blocks that have been received with errors.
  • the present invention as described above with respect to FIG. 4 provides an improved system of error detection for a packet of information.
  • Two layers of error detection are provided for and transmitted with each packet, both layers based on CRC codes, but each layer's CRC code uses a different generator polynomial.
  • the first error detection layer provides for the detection of errors in each individual data block and comprises error detection codes determined for each data block.
  • the second error detection layer provides for the detection of errors in the entire information packet and comprises the XOR'd product of second error detection codes determined for each data block.
  • a receiving device need not determine the second error detection layer at any particular time during the processing of the packet and instead can reserve the determination of the second error detection layer for otherwise idle processor time.
  • the processing of the second error detection layer during idle processor times eliminates processor utilization spikes or the need for faster or larger capacity processors to accommodate the spikes.
  • FIG. 5 illustrates a logic flow diagram 500 of steps executed by a communication device to receive information packets using multiple layers of error detection in accordance with a preferred embodiment of the present invention.
  • the logic flow begins (501) when the communication device receives (502) an information packet.
  • the information packet includes multiple data blocks, a first layer error detection for each data block, and an expected secondary protection code.
  • Each layer of error detection preferably comprises a respective error detection code, such as a multiple-bit checksum based on a corresponding CRC code.
  • each CRC code is generated from a unique generator polynomial.
  • the communication device recovers (503) the first data block and determines a first layer of error detection for the data block to perform (504) a first level error check.
  • the first layer of error detection is a multiple-bit checksum based on a CRC code.
  • the communication device determines (505) whether the first level error check is successful.
  • the first level error check comprises appending the checksum to the data block and dividing the data block, as appended, by a predetermined generator polynomial. If the division produces a remainder of zero, then the first level error check is successful. If the division produces a non-zero remainder, then the first level error check is unsuccessful.
  • the communication device accepts (506) the data block and performs
  • a portion of a second level error check by determining a second layer of error detection for the data block and a portion of a computed secondary protection code based on the second layer of error detection.
  • the second layer of error detection is also a multiple-bit checksum based on a CRC code.
  • the second layer of error detection is distinct from the first layer of error detection in that the second layer of error detection is based on a different generator polynomial than the first layer of error detection.
  • the secondary protection code is determined by summing, using modulo 2 arithmetic without carry forward (i.e., exclusive OR'ing, or XOR'ing the second error detection codes of the data blocks) the multiple-bit checksums constituting the second layers of error detection for the data blocks. Since the secondary protection code is a product of the XOR'ing of multiple-bit checksums, the determination of the secondary protection code can be undertaken in any order at any time, thereby allowing the communication device to reserve the determination of the secondary protection code for time periods in which the processor is not processing and recovering the received user information. Therefore, the second layers of error detection for the data blocks need not be sequentially determined as each data block is recovered, but instead can be determined during a time in which the processor is not processing and recovering the received user information.
  • the communication device rejects (509) the data block and requests a retransmission of the data block.
  • the retransmission request preferably comprises an acknowledgment signal indicating which data block or blocks were not correctly received.
  • the communication device determines (510) whether all the data blocks in the information packet have been recovered. When all the data blocks have not been recovered, the communication device repeats the steps recited in blocks 503 through 509 for all data blocks included in the information packet. Preferably, the steps in blocks 503-507 are also performed for retransmitted data blocks. If a data block is rejected, the determination of the secondary protection code may continue with respect to subsequently accepted blocks because the XOR'ing of the second layers of error detection need not be done sequentially. When a retransmitted version of a rejected block is accepted, the second error detection code for that block can be determined and included in the determination of the secondary protection code upon the block's acceptance.
  • the communication device completes (511) the second level error check and determines (512) whether the second level error check was successful.
  • Completion of the second level error check comprises completing the determination of the computed secondary protection code based on each portion of the computed secondary protection code and comparing the computed secondary protection code to the expected secondary protection code that was included in the information packet. When the computed secondary protection code matches the expected secondary protection code, the second level error check is successful and the communication device accepts
  • the information packet and preferably transmits an acknowledgment signal indicating that the information packet was correctly received.
  • the second level error check is unsuccessful and the communication device rejects
  • the present invention encompasses a method and apparatus for transmitting and receiving information packets using multiple layers of error detection.
  • a first error detection code based on a CRC code
  • the data recipient can either accept the block or request a retransmission of the block based on whether the first error detection code indicates a bit error.
  • a secondary protection code also based on a CRC code, is then used to protect the entirety of the user information in the packet. The secondary protection code can be incrementally determined as the data blocks are received and accepted, regardless of sequential order.
  • the secondary protection code is incrementally determined as individual blocks are accepted, instead of being determined all at once after all data blocks have been accepted, processor utilization can be better regulated and delays associated with sending of an acknowledgment can be minimized. Furthermore, since sequence is not important in the calculation of the secondary protection code, rejection of a data block does not impede the incremental determination of the secondary protection code because the determination can continue with blocks subsequently received and the rejected block can be included after retransmission. After the data recipient has received all of the data blocks error-free, the recipient can then accept the entire packet or request a retransmission of the entire packet based on whether the secondary protection code detects an error.

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

A communication device employs a method and apparatus for transmitting and receiving information packets using multiple layers of error detection (404-406). A sending communication device constructs an information packet to include user information divided into multiple data blocks, a primary error detection code for each data block, and at least a portion of a secondary protection code (407). The secondary protection code provides error protection for the entire information packet. The secondary protection code is selected such that it can be incrementally determined by a receiving device as data blocks are received and accepted by the receiving device, regardless of order of reception of the data blocks. Since the secondary protection code is incrementally determined, processor utilization is better regulated and delays associated with sending acknowledgments are minimized.

Description

METHOD AND APPARATUS FOR TRANSMITTING AND RECEIVING INFORMATION PACKETS USING MULTI-LAYER
ERROR DETECTION
Field of the Invention
The present invention relates generally to packet data communication systems and, in particular, to transmitting and receiving information packets using multi-layer error detection.
Background of the Invention
Packet data communication systems are known in both the land mobile and cellular environments. In the land mobile environment, the packet data system includes a packet router, a central controller, a plurality of base sites, and a plurality of communication devices (e.g., mobile radios, portable radios, or wireless data modems). In the cellular environment, the packet data system includes a packet router, one or more base site controllers, a plurality of base sites, and a plurality of communication devices (e.g., cellular telephones).
In a typical land mobile packet data transmission, the data packet is routed from a land user to a communication device via communication protocols that reside on several so-called communication protocol layers. In accordance with the Open Systems Interconnection (OSI) nomenclature, a first protocol layer (layer 1) comprises a physical protocol, such as Tl channel framing. A second protocol layer (layer 2) typically adds a header or trailer containing error correction or detection information to the data allowing the communication device to correct or detect bit errors incurred during the transmission of the packet from a base site. A third protocol layer (layer 3) typically adds a header containing packet routing information (e.g., the appropriate Internet Protocol (IP) address for the communication device) to the data. A fourth protocol layer (layer 4) typically includes an indication of the number of packets containing the data in the packet data communication and a sequential ordering of the packets. Finally, upper protocol layers (layer 5 and above) contain the actual data in the packet.
Data messages transmitted by packet data techniques are typically split into fragments. Each fragment is the information that is transmitted in a packet. The fragments are in turn split into a sequence of data blocks and each block, as well as the entire fragment, may then be individually protected against transmission errors.
Errors in the transmission of data can arise from many sources, such as adjacent channel and co-channel interference, fading, and undesired distortion in a sending device's transmitter and/or a receiving device's receiver. The result of the introduction of errors is a demodulated bit stream at the receiving communication device (data recipient) that is different from the bit stream that was modulated and transmitted by the sending communication device (data source). One method used to combat this problem is to include enough redundant information along with each block of data to allow the data recipient to deduce that an error occurred and to request a retransmission of either a particular data block or an entire message. The redundant information, or error detection code, is interleaved among the data blocks in communication protocol layer 2. In some communication systems, error detection followed by retransmission is preferred to error correction because it is more efficient (i.e., much less overhead is consumed in sending an error detection code and retransmitting erroneous data blocks than is required by an error correction code).
There are many known techniques for generating an error detection code. One such technique is the addition of parity bits.
Parity bits indicate whether the sum of a predesignated string of bits is odd or even. If the bits sum to an even number and the associated parity bit indicates an odd number, then an error is indicated and the data recipient requests retransmission of the block. However, this technique facilitates the detection of errors in an odd number of bits only. That is, with parity bit error detection, if an even number of bits are incorrect, then an error will not be detected. Another known technique for generating an error detection code is a cyclic redundancy check (CRC) code (also known as a polynomial code). A CRC code treats a bit string as though it is a coefficient list for a polynomial, each coefficient being either a 0 or a 1. Thus, a data block of 'm' bits can be thought of as a coefficient list for an 'm-1 ' degree polynomial, the highest order term being x"1"1 and the lowest order term being x°. For example, the bit stream 10101 equates to the polynomial x4 + x2 + x°.
When using a CRC code, the data source and the data recipient must agree upon a generator polynomial, G(x), of degree 'g-1 ' in which the high- and low-order bits are ones and the intervening bits are a combination of zeros and ones. The generator polynomial G(x) can be selected in accordance with known techniques so as to maximize its error detection rate. If the data block has 'm' bits and can be represented by the polynomial M(x) (degree 'm-1 '), then the CRC is a predesignated number of bits ('k' bits) appended to the lower end of the data so that it now contains m+k bits and corresponds to a polynomial, P(x), that is of order '(m+k)-l .' The appended bits are typically referred to as a checksum. Standard practice is to use a checksum of 16 or 32 bits (i.e., k = 16 or 32). The additional k bits are selected so that the new polynomial, P(x), is perfectly divisible by G(x) using modulo 2 arithmetic. Therefore, the additional k bits are selected such that m+k>g. If a non-zero remainder results when the data recipient divides the appended data block by G(x), then an error is indicated and retransmission is requested.
Wireless communications present greater opportunity for random channel error than do wireline communications and packet data transmissions are typically error intolerant. Thus, the problem with using merely a single CRC code per data block is that it would require too lengthy a checksum (i.e., it would consume an undesirable amount of overhead) to achieve the error detection rate required for wireless communication purposes. Thus, for wireless communications to approach the precision of wireline communications, a better error detection technique than a single CRC code per data block is required. The Telecommunication Industry Association (TIA) has proposed an improved error detection scheme in the publication entitled "TI A/EIA Standard, Project 25 FDMA Common Air Interface New Technology Standards Project Digital Radio Technology Standards," TIA/EIA- 102.BAAA, published by the Telecommunication Industry Association in May 1998.
The TIA proposes that each individual data block in the packet contain 16 octets of data and two octets of numbering and CRC information. If an error is detected in an individual block, then a retransmission of that block can be requested. This is known as selective automatic retransmission request (SARQ). The TIA further proposes that there be a four octet CRC parity check (i.e., a message CRC) covering the data of the entire packet that would be included in the last four octets of the last data block. Polynomial division requires that the division be undertaken starting with the highest order factors and sequentially progressing down to the lowest order factors.
Determination and confirmation of the message CRC code requires that all data blocks be sequentially ordered, so that data blocks received either out of order or with errors would terminate all further determination of the CRC code. This can be an especially significant problem for wireless communication systems, where the data blocks of a packet are not necessarily correctly received in sequential order. The result could be a potential computational load placed on the data processor if message CRC code computations are deferred and a potential processing delay in computing the message CRC while awaiting retransmitted data blocks. Deferred CRC code computations can create processor utilization spikes and can introduce a significant delay in the sending of a message acknowledgment back to the sender.
Therefore, a need exists for a method and apparatus of transmitting and receiving data packets using multi-layer error detection that does not result in excessive processor processing and acknowledgment delays.
Brief Description of the Drawings
FIG. 1 is a block diagram illustration of a communication system in accordance with a preferred embodiment of the present invention.
FIG. 2 is a block diagram illustration of a communication device in accordance with a preferred embodiment of the present invention.
FIG. 3 is a block diagram illustration of layers of error detection for an information packet in accordance with a preferred embodiment of the present invention.
FIG. 4 is a logic flow diagram of steps executed by a communication device to transmit information packets using multiple layers of error detection in accordance with a preferred embodiment of the present invention.
FIG. 5 is a logic flow diagram of steps executed by a communication device to receive information packets having multiple layers of error detection in accordance with a preferred embodiment of the present invention.
Description of a Preferred Embodiment
Generally, the present invention encompasses a method and apparatus for transmitting and receiving information packets using multiple layers of error detection. A sending communication device provides user information and divides the user information into data blocks. The sending device then determines a first layer of error detection for each of the data blocks to produce first layer error detections. The sending device also determines a second layer of error detection for each of the data blocks to produce second layer error detections, wherein the second layer error detections are distinct from the first layer error detections. The sending device finally determines a secondary protection code based on the second layer error detections and transmits an information packet to a receiving communication device, wherein the information packet includes the data blocks, the first layer error detections, and at least a portion of the secondary protection code.
Upon receiving the information packet, the receiving device processes the information packet by recovering each data block and performing a first level error check on each data block. The first level error check is performed by determining the first layer error detection for each data block. Once a first level error check for a particular data block is successful, the receiving device accepts the data block and determines the corresponding second layer error detection for the data block. The receiving device also determines a portion of a computed secondary protection code based on the determined second layer detection to perform a portion of a second level error check. The receiving device performs the first level error check and determines respective portions of the computed secondary protection code while processing each received data block. Once all the data blocks have been processed, the receiving device completes the second level error check by determining the computed secondary protection code based on each portion of the code that was previously determined and compares the computed secondary protection code to the secondary protection code contained in the information packet. Based on the comparison, the receiving device determines whether the second level error check was successful. When the second level error check was successful, the receiving device accepts the entire information packet.
By transmitting and receiving information packets in this manner, the present invention provides for multiple layers of error detection to increase the probability of recovery of the user information contained in the information packet, without causing instantaneous processor load surges to perform the error detection processing. With the present invention, the secondary protection code can be incrementally calculated as the data blocks are recovered and accepted, regardless of sequential order. Since the secondary code is incrementally calculated as individual blocks are accepted, instead of being determined after all user information has been recovered, the loading of the processor after the entire packet is received and any delay in the sending of an acknowledgment is minimized. Furthermore, since sequence is not important in the calculation of the secondary protection code, when a data block is rejected by the receiving device and retransmitted by the sending device, the incremental calculation of the secondary protection code at the receiving device can continue with second layer detections of blocks subsequently received and the second layer detection of the rejected block can be included in the secondary protection code calculation upon reception after retransmission.
The present invention can be more fully understood with reference to FIGs 1-5. FIG. 1 illustrates a block diagram depiction of a radio communication system 100 in accordance with a preferred embodiment of the present invention. The preferred radio communication system 100 comprises an infrastructure communication device 101 and at least two radio communication devices 103, 104 (two shown). The infrastructure communication device 101 preferably comprises "iDEN" communication system infrastructure equipment, such as the Motorola Data Gateway, that is commercially available from Motorola, Inc. of Schaumburg, Illinois. In an alternative embodiment, the radio communication system 100 might comprise any cellular or trunked communication system, such as communication systems that implement one or more of the following cellular platforms: Personal Communication Service (PCS), Advanced Mobile Phone Service (AMPS), Narrowband AMPS (NAMPS), Unites States Digital Cellular (USDC), Code Division Multiple Access (CDMA), or Global System for Mobile Communications (GSM).
The radio communication devices 103, 104 preferably comprise
"iDEN" radiotelephones. Each of the communication devices 101, 103, 104 preferably includes a transmitter 210, a receiver 212, a processor 206, a memory 208, an information source 202, and an information sink 214 as illustrated in block diagram form in FIG. 2. The transmitter 210 preferably comprises a linear transmitter capable of transmitting quadrature amplitude modulated (QAM) signals. The receiver 212 preferably comprises a digital receiver capable of receiving QAM signals. In a sending communication device (e.g., communication device 103), the information source 202 provides the processor 206 with user information that is to be transmitted. The information source 202 preferably comprises a data port of the sending communication device 103.
The processor 206, which preferably comprises a microprocessor, receives the user information from the information source 202, divides the user information into multiple data blocks in accordance with known techniques, determines a first and a second layer of error detection for each of the data blocks as discussed in more detail below, constructs an information packet that includes the multiple data blocks, the primary layers of error detection, and at least a portion of a secondary protection code derived from the secondary layers of error detection, and routes the information packet to the transmitter 210. The transmitter 210 then transmits the information packet to a receiving communication device (e.g., communication device 101) via one or more radio communication resources 106, 107 (two shown).
In an alternate embodiment of the sending communication device 103, the data blocks and the primary and secondary layers of error detection are stored in the memory 208 until the sending communication device 103 receives an acknowledgment signal from the receiving communication device 101 informing the sending communication device 103 that a complete, error- free packet has been received by the receiving communication device 101. In the event that the sending communication device 103 receives a request from the receiving communication device 101 to retransmit one or more of the data blocks, the data blocks and associated layers of error detection can be retrieved from the memory 108 and retransmitted.
In the receiving communication device 101 , the receiver 212 receives the information packet and routes the information packet to the processor 206. The processor 206 recovers each of the multiple data blocks, determines the first layer of error detection for each data block to perform a first level error check, and, when the first level error check is successful, accepts each data block. When the first level error check is unsuccessful, the transmitter 210 transmits an acknowledgment signal indicating that at least one data block was not correctly received.
The processor 206 also determines, preferably only after accepting the data block, a second layer of error detection for the data block and a portion of a computed secondary protection code, as discussed in more detail below, to perform a portion of a second level error check. Upon acceptance of all the data blocks of the information packet, the processor 206 completes the determination of the computed secondary protection code and compares the computed secondary protection code to the secondary protection code contained in the information packet to complete the second level error check. When the computed secondary protection code matches the secondary protection code contained in the information packet, the second level error check is successful and the processor 206 accepts the entire information packet. When the computed secondary protection code does not match the secondary protection code contained in the information packet, the second level error check is unsuccessful and the transmitter 210 transmits an acknowledgment signal indicating that the information packet in its entirety were not correctly received.
FIG. 3 is a block diagram illustration of layers of error detection for a single information packet 302 in accordance with a preferred embodiment of the present invention. In the preferred embodiment, the processor 206 receives user information from the information source 202 and divides the user information into multiple data blocks 304-308 (five shown). The processor 206 then determines a first layer of error detection and a second layer of error detection for each one of the data blocks to produce multiple first layers of error detection and multiple second layers of error detection. Each first layer of error detection comprises a first error detection code 310-314 (five shown). Each first error detection code preferably comprises a multiple-bit checksum based on a first CRC code. Each second layer of error detection comprises a second error detection code. Each second error detection code preferably comprises a multiple-bit checksum based on a second CRC code. In the preferred embodiment, the second error detection code is based on a generator polynomial that is different (e.g., has no common factors) from the generator polynomial used to calculate the first error detection code. Those of ordinary skill in the art will appreciate that checksums of various sizes and error detection codes other than CRC codes may be used to derive the first and second error detection codes without departing from the spirit and scope of the present invention. In the preferred embodiment, the first error detection codes 310- 314 are interleaved among the data blocks 304-308. For example, first error detection code 310 is the error detection code protecting data block 304, first error detection code 312 is the error detection code protecting data block 306, and so on. The second error detection codes are stored in the memory 208, which is preferably a random access memory (RAM), and are summed together using modulo 2 arithmetic without carry forward (i.e., exclusive OR'd, or XOR'd) to produce a secondary protection detection code 316 that is multiple bits in length, but preferably shorter than a data block. The secondary protection code 316 is placed in either the last data block (e.g., data block 308), when a sufficient number of unused bits are available, or at the end of a newly created data block. The data block 308 containing the secondary protection code is also protected by a first layer of error detection 314. The data blocks 304-308, together with their appended first error detection codes 310-314, are then grouped into the information packet 302 and modulated onto a radio communication resource, such as a radio frequency carrier, for subsequent transmission.
In the preferred embodiment, the secondary protection code 316 is incrementally determined simultaneously with the determination of the second error detection codes for each data block 304-308. Because the secondary protection code 316 is produced by XOR'ing the second error detection codes, the second error detection codes can be combined in any order at any time to produce the secondary protection code 316. Thus, the second error detection codes can be stored, in any order, and the incremental determination of the secondary protection code 316 can be reserved and undertaken at moments of low processor utilization.
In the receiving communication device 101, the receiver 212 receives the information packet 302 and routes the packet 302 to the processor 206. The processor 206 recovers the data blocks 304-308 and the first layers of error detection 310-314. For a first level error check, the processor 206 divides each data block (e.g., data block 304) and its associated first layer of error detection (e.g., error detection code 310) by the same generator polynomial as was used to create the first layers of error detection 310-314 by the sending communication device 103. If the division of a data block and its associated first layer of error detection results in no remainder, then the first level error check for that particular error block is successful. If the division results in a remainder, then the error check for that particular block is unsuccessful.
The processor 206 also determines second error detection codes for each data block using the same generator polynomial as was used to create the second layers of error detection by the sending communication device 103. The second error detection codes are summed together, using modulo 2 arithmetic without carry forward, to determine a secondary protection code. The determined secondary protection code is compared to the secondary protection code 316 in the information packet 302 for a second level error check. If the determined secondary protection code matches the secondary protection code 316, then the second level error check is successful. If the determined secondary protection code does not match the secondary protection code 316, then the second level error check is unsuccessful.
As described above, the present invention provides for information packet transmission and reception using multiple layers of error detection, while allowing for improved regulation of processor utilization. The first error detection codes 310-314 are used to individually protect each data block. The second error detection codes are incrementally combined using XOR arithmetic to produce a secondary protection code 316 that is used to protect the entirety of the user information in the packet. The second error detection codes can be stored and the secondary protection code 316 can be determined at any time during the processing of the packet, such as during idle processor time (i.e., a time when the processor is not encoding or recovering user information, respectively). The ability to determine the secondary protection code during idle processor time eliminates processor utilization spikes or the need for faster or larger capacity processors to accommodate the spikes.
FIG. 4 illustrates a logic flow diagram 400 of steps executed by a communication device to transmit information packets using multiple layers of error detection in accordance with a preferred embodiment of the present invention. The logic flow begins (401) when the communication device provides (402) user information for transmission. The communication device divides (403) the user information into multiple data blocks and determines (404) a first layer of error detection for each data block. The communication device also determines (405) a second layer of error detection for each data block. Each layer of error detection preferably comprises a respective error detection code, such as a multiple bit checksum based on a corresponding CRC code. In the preferred embodiment, each CRC code is generated from a unique generator polynomial.
In addition to determining the two layers of error detection for each data block, the communication device determines (406) a secondary protection code. In the preferred embodiment, the secondary protection code is determined by adding the error detection codes constituting the second layers of error detection in modulo 2 without carry forward (i.e., exclusive OR'ing, or XOR'ing the second error detection codes of the data blocks). The secondary protection code is preferably multiple bits in length, but shorter than a data block. Since the secondary protection code is a product of the XOR'ing of the second error detection codes of the data blocks, the second error detection codes can be combined in any order at any time. The fact that the second error detection codes can be combined in any order at any time allows a receiving device to incrementally determine the secondary protection code independent of the order that the data blocks are received by the receiving device and to reserve the determination of the secondary protection code for moments of low processor utilization.
Once the two layers of error detection for each data block and the secondary protection code are determined, the communication device constructs (407) an information packet that includes the data blocks, their associated first layer error detections, and at least a portion of the secondary protection code. In the preferred embodiment, the information packet includes the entire secondary protection code. However, in an alternative embodiment, the information packet might include only a portion of the secondary protection code due to a lack of available unused bits. In the latter embodiment, the receiving device must receive multiple information packets to reconstruct the secondary protection code. Once the information packet is constructed, the communication device stores (408) the information packet for later use in the event that a retransmission of one or more portions of the packet is necessary and transmits (409) the information packet to a receiving communication device.
Subsequent to transmitting the information packet, the communication device receives (410) an acknowledgment signal from the receiving device. The communication device then determines (411) whether the acknowledgment signal indicates that one or more data blocks have been incorrectly received. When the acknowledgment indicates that one or more blocks have been incorrectly received, the communication device retrieves the incorrectly received data blocks from the stored information packet and retransmits (412) the incorrectly received data blocks and their corresponding first layer error detections. When the acknowledgment indicates that the data blocks have been correctly received, the communication device determines (413) whether the acknowledgment indicates that the entire information packet has been correctly received. When the information packet has not been correctly received, the communication device transmits (409) the entire information packet. When the acknowledgment indicates that the information packet has been correctly received, the communication device deletes (414) the information packet from memory and the logic flow ends (415). As described above with respect to blocks 408- 415, the present invention supports SARQ protocols to produce a more robust error detection system that provides for confirmation of correctly received packets and for retransmission of data blocks that have been received with errors.
In general, the present invention as described above with respect to FIG. 4 provides an improved system of error detection for a packet of information. Two layers of error detection are provided for and transmitted with each packet, both layers based on CRC codes, but each layer's CRC code uses a different generator polynomial. The first error detection layer provides for the detection of errors in each individual data block and comprises error detection codes determined for each data block. The second error detection layer provides for the detection of errors in the entire information packet and comprises the XOR'd product of second error detection codes determined for each data block. A receiving device need not determine the second error detection layer at any particular time during the processing of the packet and instead can reserve the determination of the second error detection layer for otherwise idle processor time. The processing of the second error detection layer during idle processor times eliminates processor utilization spikes or the need for faster or larger capacity processors to accommodate the spikes.
FIG. 5 illustrates a logic flow diagram 500 of steps executed by a communication device to receive information packets using multiple layers of error detection in accordance with a preferred embodiment of the present invention. The logic flow begins (501) when the communication device receives (502) an information packet. The information packet includes multiple data blocks, a first layer error detection for each data block, and an expected secondary protection code. Each layer of error detection preferably comprises a respective error detection code, such as a multiple-bit checksum based on a corresponding CRC code. In the preferred embodiment, each CRC code is generated from a unique generator polynomial.
Once the information packet is received, the communication device recovers (503) the first data block and determines a first layer of error detection for the data block to perform (504) a first level error check. In the preferred embodiment, the first layer of error detection is a multiple-bit checksum based on a CRC code.
The communication device then determines (505) whether the first level error check is successful. In the preferred embodiment, the first level error check comprises appending the checksum to the data block and dividing the data block, as appended, by a predetermined generator polynomial. If the division produces a remainder of zero, then the first level error check is successful. If the division produces a non-zero remainder, then the first level error check is unsuccessful.
When the first level error check is successful, the communication device accepts (506) the data block and performs
(507) a portion of a second level error check by determining a second layer of error detection for the data block and a portion of a computed secondary protection code based on the second layer of error detection. Similar to the first layer of error detection, the second layer of error detection is also a multiple-bit checksum based on a CRC code. However, the second layer of error detection is distinct from the first layer of error detection in that the second layer of error detection is based on a different generator polynomial than the first layer of error detection. In the preferred embodiment, the secondary protection code is determined by summing, using modulo 2 arithmetic without carry forward (i.e., exclusive OR'ing, or XOR'ing the second error detection codes of the data blocks) the multiple-bit checksums constituting the second layers of error detection for the data blocks. Since the secondary protection code is a product of the XOR'ing of multiple-bit checksums, the determination of the secondary protection code can be undertaken in any order at any time, thereby allowing the communication device to reserve the determination of the secondary protection code for time periods in which the processor is not processing and recovering the received user information. Therefore, the second layers of error detection for the data blocks need not be sequentially determined as each data block is recovered, but instead can be determined during a time in which the processor is not processing and recovering the received user information.
When the first level error check is unsuccessful, the communication device rejects (509) the data block and requests a retransmission of the data block. The retransmission request preferably comprises an acknowledgment signal indicating which data block or blocks were not correctly received.
After the communication device performs the steps in blocks 502-509 for a first data block of the received information packet, the communication device determines (510) whether all the data blocks in the information packet have been recovered. When all the data blocks have not been recovered, the communication device repeats the steps recited in blocks 503 through 509 for all data blocks included in the information packet. Preferably, the steps in blocks 503-507 are also performed for retransmitted data blocks. If a data block is rejected, the determination of the secondary protection code may continue with respect to subsequently accepted blocks because the XOR'ing of the second layers of error detection need not be done sequentially. When a retransmitted version of a rejected block is accepted, the second error detection code for that block can be determined and included in the determination of the secondary protection code upon the block's acceptance.
Once all the data blocks in the information packet have been recovered, the communication device completes (511) the second level error check and determines (512) whether the second level error check was successful. Completion of the second level error check comprises completing the determination of the computed secondary protection code based on each portion of the computed secondary protection code and comparing the computed secondary protection code to the expected secondary protection code that was included in the information packet. When the computed secondary protection code matches the expected secondary protection code, the second level error check is successful and the communication device accepts
(513) the information packet and preferably transmits an acknowledgment signal indicating that the information packet was correctly received. When the computed secondary protection code does not match the expected secondary protection code, the second level error check is unsuccessful and the communication device rejects
(514) the information packet and requests a retransmission of the entire information packet. Upon acceptance or rejection of the information packet, the logic flow ends (515).
Generally, the present invention encompasses a method and apparatus for transmitting and receiving information packets using multiple layers of error detection. A first error detection code, based on a CRC code, is used to protect each data block. As the data recipient receives and demodulates each data block, the data recipient can either accept the block or request a retransmission of the block based on whether the first error detection code indicates a bit error. A secondary protection code, also based on a CRC code, is then used to protect the entirety of the user information in the packet. The secondary protection code can be incrementally determined as the data blocks are received and accepted, regardless of sequential order. Since the secondary protection code is incrementally determined as individual blocks are accepted, instead of being determined all at once after all data blocks have been accepted, processor utilization can be better regulated and delays associated with sending of an acknowledgment can be minimized. Furthermore, since sequence is not important in the calculation of the secondary protection code, rejection of a data block does not impede the incremental determination of the secondary protection code because the determination can continue with blocks subsequently received and the rejected block can be included after retransmission. After the data recipient has received all of the data blocks error-free, the recipient can then accept the entire packet or request a retransmission of the entire packet based on whether the secondary protection code detects an error.
While the present invention has been particularly shown and described with reference to particular embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention.
We claim:

Claims

Claims
1. A method of transmitting information packets in a communication device, the method comprising the steps of: providing user information to be transmitted; dividing the user information into at least two data blocks; determining a first layer of error detection for each of the at least two data blocks to produce a plurality of first layer error detections; determining a second layer of error detection for each of the at least two data blocks to produce a plurality of second layer error detections, the plurality of second layer error detections being distinct from the plurality of first layer error detections; determining a secondary protection code based on the plurality of second layer error detections; and transmitting an information packet that includes the at least two data blocks, the plurality of first layer error detections, and at least a portion of the secondary protection code in order to increase a probability of recovery of the user information at a receiving communication device.
2. The method of claim 1, wherein the step of determining a first layer of error detection comprises the step of determining a first error detection code for each of the at least two data blocks and wherein the step of determining a second layer of error detection comprises the step of determining a second error detection code for each of the at least two data blocks.
3. The method of claim 1, wherein the step of determining a secondary protection code comprises the step of summing, using modulo 2 arithmetic with no carry forward, the plurality of second layer error detections.
4. The method of claim 1, wherein the communication device includes a processor for processing and encoding the user information and wherein the step of determining a secondary protection code comprises the step of determining, by the processor, the secondary protection code during a time period in which the processor is not processing and encoding the user information.
5. A method of receiving information packets in a communication device, the method comprising the steps of: a) receiving an information packet that includes a plurality of data blocks, a first layer of error detection for each of the plurality of data blocks, and an expected secondary protection code; b) recovering a first data block of the plurality of data blocks; c) determining the first layer of error detection for the first data block to perform a first level error check; d) determining whether the first level error check was successful; e) when the first level error check was successful, accepting the first data block; and determining a second layer of error detection for the first data block and a portion of a computed secondary protection code based on the second layer of error detection to perform a portion of a second level error check, wherein the second layer of error detection is distinct from the first layer of error detection; f) repeating steps (b) through (e) for at least a second data block of the plurality of data blocks; g) responsive to step (f), determining the computed secondary protection code based on each portion of the computed secondary protection code and comparing the computed secondary protection code to the expected secondary protection code to complete the second level error check; h) determining whether the second level error check was successful; and i) when the second level error check was successful, accepting the information packet.
6. The method of claim 5, wherein the second layer of error detection comprises a multiple-bit checksum based on a cyclic redundancy check code and wherein the step of determining a portion of a computed secondary protection code comprises the step of summing, using modulo 2 arithmetic with no carry forward, at least two multiple-bit checksums determined for at least two data blocks to produce the portion of a computed secondary protection code.
7. The method of claim 5, wherein the communication device includes a processor for processing and recovering received user information and wherein the step of determining a portion of a computed secondary protection code comprises the step of determining, by the processor, a portion of a computed secondary protection code during a time period in which the processor is not processing and recovering the received user information.
8. A communication device comprising: an information source for providing user information to be transmitted; a processor, coupled to the information source, that receives the user information, divides the user information into a plurality of data blocks, determines a first layer of error detection for each of the plurality of data blocks to produce a plurality of first layer error detections, determines a second layer of error detection for each of the plurality of data blocks to produce a plurality of second layer error detections, the plurality of second layer error detections being distinct from the plurality of first layer error detections, and determines a secondary protection code based on the plurality of second layer error detections; and a transmitter, coupled to the processor, for transmitting an information packet that includes the plurality of data blocks, the plurality of first layer error detections, and at least a portion of the secondary protection code.
9. The communication device of claim 8, further comprising: a memory, coupled to the processor, that stores the information packet.
10. A communication device comprising: a receiver that receives an information packet including a plurality of data blocks, a first layer of error detection for each of the plurality of data blocks, and an expected secondary protection code; a processor, coupled to the receiver, that recovers each data block of the plurality of data blocks, determines the first layer of error detection for each data block to perform a respective first level error check, accepts each data block when the respective first level error check was successful, determines a second layer of error detection for each data block and a computed secondary protection code based on each second layer of error detection to perform a portion of a second level error check, compares the computed secondary protection code to the expected secondary protection code to complete the second level error check; and accepts the information packet when the second level error check was successful; and a transmitter, coupled to the processor, that transmits an acknowledgment signal indicating at least one data block of the plurality of data blocks that was not correctly received by the communication device when the first level error check was unsuccessful and that transmits an acknowledgment signal indicating that the plurality of data blocks were not correctly received by the communication device when the second level error check was unsuccessful.
PCT/US1999/012635 1998-07-01 1999-06-08 Method and apparatus for transmitting and receiving information packets using multi-layer error detection WO2000002320A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP99927279A EP1092271A4 (en) 1998-07-01 1999-06-08 Method and apparatus for transmitting and receiving information packets using multi-layer error detection
BR9911668-5A BR9911668A (en) 1998-07-01 1999-06-08 Method for transmitting packets of information on a communication device and its communication device
CA002336330A CA2336330C (en) 1998-07-01 1999-06-08 Method and apparatus for transmitting and receiving information packets using multi-layer error detection

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/108,512 1998-07-01
US09/108,512 US6173431B1 (en) 1998-07-01 1998-07-01 Method and apparatus for transmitting and receiving information packets using multi-layer error detection

Publications (1)

Publication Number Publication Date
WO2000002320A1 true WO2000002320A1 (en) 2000-01-13

Family

ID=22322630

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1999/012635 WO2000002320A1 (en) 1998-07-01 1999-06-08 Method and apparatus for transmitting and receiving information packets using multi-layer error detection

Country Status (6)

Country Link
US (1) US6173431B1 (en)
EP (1) EP1092271A4 (en)
AR (1) AR019193A1 (en)
BR (1) BR9911668A (en)
CA (1) CA2336330C (en)
WO (1) WO2000002320A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111484A1 (en) 2006-03-29 2007-10-04 Samsung Electronics Co., Ltd. Method and system for enhancing transmission reliability of video information over wireless channels
DE102006030671A1 (en) * 2006-07-04 2008-01-10 Moeller Gmbh Breaker short-O combination
DE102007032659A1 (en) * 2007-07-13 2009-01-15 Knick Elektronische Messgeräte GmbH & Co. KG Method for telegram-based data transmission in a serial communication protocol and this data transmission device used
US7619869B2 (en) 2006-07-04 2009-11-17 Moeller Gmbh Electrical circuit breaker
US7853857B2 (en) 2007-09-14 2010-12-14 Motorola Mobility, Inc. Multi-layer cyclic redundancy check code in wireless communication system
US8127206B2 (en) 2007-09-13 2012-02-28 Samsung Electronics Co., Ltd. System and method for wireless communication of uncompressed video having reed-solomon code error concealment
US8205126B2 (en) 2007-11-27 2012-06-19 Samsung Electronics Co., Ltd. System and method for wireless communication of uncompressed video using selective retransmission
US8363675B2 (en) 2006-03-24 2013-01-29 Samsung Electronics Co., Ltd. Method and system for transmission of uncompressed video over wireless communication channels

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI107205B (en) * 1999-02-16 2001-06-15 Sonera Oyj A method to secure information
US7106742B1 (en) * 2000-01-13 2006-09-12 Mercury Computer Systems, Inc. Method and system for link fabric error detection and message flow control
KR100703107B1 (en) * 2000-04-10 2007-04-05 유티스타콤코리아 유한회사 Method for repeating automatically data in wireless communication system
US7159164B1 (en) * 2000-06-05 2007-01-02 Qualcomm Incorporated Method and apparatus for recovery of particular bits of a frame
US6622278B1 (en) * 2000-08-08 2003-09-16 Motorola, Inc. Method and apparatus for formatting a message in a wireless communication system
JP3512755B2 (en) * 2000-10-13 2004-03-31 シャープ株式会社 Communication system, communication device, and communication system using this communication device
US6684363B1 (en) * 2000-10-25 2004-01-27 Sun Microsystems, Inc. Method for detecting errors on parallel links
US6694478B1 (en) * 2000-11-07 2004-02-17 Agere Systems Inc. Low delay channel codes for correcting bursts of lost packets
US8111689B2 (en) * 2001-01-16 2012-02-07 Nokia Corporation System for uplink scheduling packet based data traffic in wireless system
EP1267526A1 (en) * 2001-06-15 2002-12-18 TELEFONAKTIEBOLAGET LM ERICSSON (publ) Method and apparatus to store linked lists
US7269186B2 (en) * 2001-08-06 2007-09-11 Qualcomm Incorporated Protocol for framing a payload
US7542482B2 (en) * 2001-08-16 2009-06-02 Qualcomm Incorporated Method and apparatus for message segmentation in a wireless communication system
US6839566B2 (en) * 2001-08-16 2005-01-04 Qualcomm, Incorporated Method and apparatus for time-based reception of transmissions in a wireless communication system
US8171300B2 (en) * 2002-04-30 2012-05-01 Qualcomm Incorporated Security method and apparatus
TWI241836B (en) * 2003-07-30 2005-10-11 Sk Telecom Co Ltd Method of providing multimedia messaging service using unique message identifier
US7010469B2 (en) * 2003-09-30 2006-03-07 International Business Machines Corporation Method of computing partial CRCs
US7434147B2 (en) * 2004-03-24 2008-10-07 Research In Motion Limited Power reception optimization method, and associated apparatus, for operating upon an encoded data block
US7509562B1 (en) * 2004-04-09 2009-03-24 Altera Corporation Maintaining data integrity for extended drop outs across high-speed serial links
GB2421092B (en) * 2004-12-07 2008-12-03 Hewlett Packard Development Co Bufferless writing of data to memory
US8265768B2 (en) * 2005-08-30 2012-09-11 Boston Scientific Neuromodulation Corporation Telemetry protocol for ultra low error rates useable in implantable medical devices
US20070277073A1 (en) * 2006-05-15 2007-11-29 Zegers Leon J Communication device, communication system, method of operating a communication device and ARQ feedback message
US7881303B2 (en) 2006-12-13 2011-02-01 GlobalFoundries, Inc. Command packet packing to mitigate CRC overhead
US7840873B2 (en) * 2006-12-13 2010-11-23 Globalfoundries Inc. Partial CRC insertion in data packets for early forwarding
US8627167B1 (en) 2007-01-08 2014-01-07 Marvell International Ltd. Methods and apparatus for providing multi-layered coding for memory devices
US8379738B2 (en) * 2007-03-16 2013-02-19 Samsung Electronics Co., Ltd. Methods and apparatus to improve performance and enable fast decoding of transmissions with multiple code blocks
US7944847B2 (en) * 2007-06-25 2011-05-17 Efj, Inc. Voting comparator method, apparatus, and system using a limited number of digital signal processor modules to process a larger number of analog audio streams without affecting the quality of the voted audio stream
US8386878B2 (en) * 2007-07-12 2013-02-26 Samsung Electronics Co., Ltd. Methods and apparatus to compute CRC for multiple code blocks
US10097203B2 (en) * 2015-11-12 2018-10-09 Nvidia Corporation Lane-striped computation of packet CRC to maintain burst error properties

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5671237A (en) * 1993-11-04 1997-09-23 Cirrus Logic, Inc. Cyclical redundancy check method and apparatus
US5721739A (en) * 1995-12-14 1998-02-24 Fairchild Semiconductor Corporation Method for detecting read errors, correcting single-bit read errors and reporting multiple-bit read errors
US5872799A (en) * 1994-07-05 1999-02-16 Adaptec, Inc. Global parity symbol for interleaved reed-solomon coded data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0436251B1 (en) * 1989-12-29 1995-09-27 Laboratoires D'electronique Philips Coder/decoder for digital signals to be transmitted and/or stored
ES2144000T3 (en) * 1992-05-19 2000-06-01 Koninkl Philips Electronics Nv EXPANDED COMMUNICATION SYSTEM WITH ERROR PROTECTION.
FI92125C (en) * 1992-10-30 1994-09-26 Nokia Mobile Phones Ltd radiotelephone
US5844918A (en) * 1995-11-28 1998-12-01 Sanyo Electric Co., Ltd. Digital transmission/receiving method, digital communications method, and data receiving apparatus
US5742619A (en) * 1996-07-11 1998-04-21 Ericsson Inc. Method and apparatus for concatenated coding of mobile radio signals
US5881069A (en) * 1997-12-12 1999-03-09 Motorola, Inc. Method and apparatus for error correction processing in a radio communication device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5671237A (en) * 1993-11-04 1997-09-23 Cirrus Logic, Inc. Cyclical redundancy check method and apparatus
US5872799A (en) * 1994-07-05 1999-02-16 Adaptec, Inc. Global parity symbol for interleaved reed-solomon coded data
US5721739A (en) * 1995-12-14 1998-02-24 Fairchild Semiconductor Corporation Method for detecting read errors, correcting single-bit read errors and reporting multiple-bit read errors

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1092271A4 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8363675B2 (en) 2006-03-24 2013-01-29 Samsung Electronics Co., Ltd. Method and system for transmission of uncompressed video over wireless communication channels
EP1999957A4 (en) * 2006-03-29 2010-05-05 Samsung Electronics Co Ltd Method and system for enhancing transmission reliability of video information over wireless channels
EP2819334A1 (en) * 2006-03-29 2014-12-31 Samsung Electronics Co., Ltd Method and system for enhancing transmission reliability of video information over wireless channels
EP1999957A1 (en) * 2006-03-29 2008-12-10 Samsung Electronics Co., Ltd. Method and system for enhancing transmission reliability of video information over wireless channels
WO2007111484A1 (en) 2006-03-29 2007-10-04 Samsung Electronics Co., Ltd. Method and system for enhancing transmission reliability of video information over wireless channels
US7979784B2 (en) 2006-03-29 2011-07-12 Samsung Electronics Co., Ltd. Method and system for enhancing transmission reliability of video information over wireless channels
US7619869B2 (en) 2006-07-04 2009-11-17 Moeller Gmbh Electrical circuit breaker
US7633730B2 (en) 2006-07-04 2009-12-15 Moeller Gmbh Circuit breaker and short circuiter combination
DE102006030671A1 (en) * 2006-07-04 2008-01-10 Moeller Gmbh Breaker short-O combination
DE102007032659A1 (en) * 2007-07-13 2009-01-15 Knick Elektronische Messgeräte GmbH & Co. KG Method for telegram-based data transmission in a serial communication protocol and this data transmission device used
US8127206B2 (en) 2007-09-13 2012-02-28 Samsung Electronics Co., Ltd. System and method for wireless communication of uncompressed video having reed-solomon code error concealment
US7853857B2 (en) 2007-09-14 2010-12-14 Motorola Mobility, Inc. Multi-layer cyclic redundancy check code in wireless communication system
US8074150B2 (en) 2007-09-14 2011-12-06 Motorola Mobility, Inc. Multi-layer cyclic redundancy check code in wireless communication system
US8205143B2 (en) 2007-09-14 2012-06-19 Motorola Mobility, Inc. Multi-layer cyclic redundancy check code in wireless communication system
US8327237B2 (en) 2007-09-14 2012-12-04 Motorola Mobility Llc Multi-layer cyclic redundancy check code in wireless communication system
US8205126B2 (en) 2007-11-27 2012-06-19 Samsung Electronics Co., Ltd. System and method for wireless communication of uncompressed video using selective retransmission

Also Published As

Publication number Publication date
CA2336330A1 (en) 2000-01-13
AR019193A1 (en) 2001-12-26
US6173431B1 (en) 2001-01-09
CA2336330C (en) 2005-05-24
EP1092271A4 (en) 2001-12-05
EP1092271A1 (en) 2001-04-18
BR9911668A (en) 2002-01-15

Similar Documents

Publication Publication Date Title
US6173431B1 (en) Method and apparatus for transmitting and receiving information packets using multi-layer error detection
EP1190520B1 (en) System and method for implementing hybrid automatic repeat request using parity check combining
CN101803208B (en) Multi-layer cyclic redundancy check code in wireless communication system
RU2313193C2 (en) Method and device for generating control information for packet data
JP4271855B2 (en) Method and apparatus for transmitting identifier information in communication system
EP1988658B1 (en) Automatic retransmission with order of information changed
JP5180273B2 (en) Method and apparatus for effective automatic repeat request
WO2015184919A1 (en) Feedback method and device
EP1154576A2 (en) Error detection scheme for ARQ systems
EP2137863B1 (en) Multiple packet source acknowledgement
KR19980042431A (en) Communication unit and method using packet response
AU2010346412B2 (en) Technique of encoding HARQ feedback information with two separate codewords with unequal error protection for DTX and ACK/NACK
EP1357691B1 (en) A method for encoding a user identifier in a communication system
WO2007008162A1 (en) Method and arrangement for coding and scheduling in packet data communication systems
JP4768324B2 (en) Wireless communication equipment
JP3284177B2 (en) Data transmission method
JP4509383B2 (en) Combined hybrid automatic retransmission request method
EP1667391A1 (en) Transmitting apparatus and transmitting method
JP2005535172A (en) Automatic repeat request protocol for time-varying channels
EP1770896A1 (en) Method, apparatus and system for error detection and selective retransmission
WO2001069836A1 (en) Methods in a communication system
Singh et al. Data Link Layer Designing Issues: Error Control-A Roadmap
US20050193314A1 (en) Method of correcting an erroneous frame by a receiver
KR100857778B1 (en) Method for Transmitting and Receiving Using Subpacket
EP1513283B1 (en) Methods, computer system and receiver for incremental redundancy decoding

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): BR CA

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 1999927279

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2336330

Country of ref document: CA

WWP Wipo information: published in national office

Ref document number: 1999927279

Country of ref document: EP

WWR Wipo information: refused in national office

Ref document number: 1999927279

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1999927279

Country of ref document: EP