Abstract:
A method for error detection and correction comprising performing a first modulation error scan of said modulation symbol, marking data that fails to comply with a predetermined criteria, demodulating said modulation symbols, computing a first error syndrome using said demodulated symbols, and correcting errors using said error syndrome computation.

Description:
RELATED APPLICATION  
       [0001]     The present invention claims priority to a provisional application, serial number unknown, by the same inventors and entitled “Error Correction Technique” (attorney docket 200404329-1) filed on Dec. 12, 2004. 
     
    
     BACKGROUND  
       [0002]     Numerous applications utilize digital data storage and transmission for data communication, such as sending information via internet web sites or storing information on compact discs. Digital transmission systems or digital data storage systems typically use a sequence of binary information, either delivered to a receiver across a transmission channel or stored to a medium (e.g., CDROM). However, the binary information may become corrupted during storage or transmission, which could impair the accuracy of the information.  
         [0003]     As a result, error control coding is often applied to the transmitted or stored data. Techniques known as forward error correction schemes have been developed to improve the reliability of the data communicated in digital applications. Forward error correction schemes are error control techniques that can detect and correct corrupt data without requiring the transmitter to re-send the information. An example of such a scheme is the Reed-Solomon code.  
         [0004]     Many forward error correction schemes, such as the Reed-Solomon code, typically encode a group of data symbols into blocks of a predetermined size. For each block, an additional number of “parity” symbols are computed and added. The resulting augmented block is typically referred to as a “codeword.” Following transmission, or following reading of the stored data, a decoding technique is applied to the codeword to correct for errors that occurred during storage or transmission to thus restore the original data.  
         [0005]     While such techniques have improved the reliability of transmitted digital data, further improvement is desireable. Despite the use of current error correction techniques, undetected errors may still occur, or errors may be detected but not properly corrected. This results in data that is less reliable than desired.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0006]     For the purpose of illustrating the invention, there is shown in the drawings one exemplary implementation; however, it is understood that this invention is not limited to the precise arrangements and instrumentalities shown.  
         [0007]      FIG. 1A  is a flow chart illustrating an exemplary implementation of the encoding process of present invention.  
         [0008]      FIG. 1B  is a flow chart illustrating an exemplary implementation of the decoding process of the present invention.  
         [0009]      FIG. 2  is a table illustrating the codebook of an exemplary modulation scheme used in an exemplary implementation the present invention.  
         [0010]      FIG. 3  is a flow chart illustrating a second exemplary implementation of the present invention.  
     
    
     DETAILED DESCRIPTION  
       [0000]     Overview  
         [0011]     Various types of systems utilize digital data storage or transfer to communicate information. One exemplary system that employs digital data transfer is the LightScribe® Media Identification System (hereinafter “the LightScribe system”) produced by Hewlett-Packard (Palo Alto, Calif.). The exemplary embodiment of the invention described herein shall be described with reference to its use in conjunction with the LightScribe system; however, it is understood that the invention could be used on other systems that uses digital data storage or transfer.  
         [0012]     In an encoding process, a sequence of information in binary form is initially partitioned into error control coding (ECC) symbols. In the exemplary implementation, each ECC symbol comprises seven data bits. Eleven ECC symbols containing message data are combined with four ECC parity symbols to form a fifteen-symbol codeword. Each individual seven-bit ECC symbol within the codeword is then modulated using a seven-to-eight bit modulation scheme to create a modulation symbol that is 8 bits in length. A fifteen-symbol modulation codeword is thus created from the fifteen-symbol ECC codeword. The details of one useable modulation scheme employed in the LightScribe system is further described in a U.S. patent application entitled “Data Modulation” filed on Dec. 14, 2004 and is fully incorporated herein by reference.  
         [0013]     Typically, existing error correction techniques have been used to perform forward error correction on received codewords to correct for bit errors which may occur in transmission or storage. However, existing techniques fail to adequately address certain conditions. First, existing error correction techniques may fail to detect a particular error pattern. This type of failure is referred to as a “missed detection” event. Second, an error correction scheme may detect the existence of an error, and thus apply a correction, but fail to accurately correct the data to reflect the original data. This type of failure is referred to as a “false correction” event.  
         [0014]     Missed detection events and false correction events reduce the overall reliability of the forward error correction process. The occurrence of these events is significantly reduced by the error correction scheme in accordance with an exemplary implementation of the present invention.  
         [0000]     Error Correction Technique  
         [0015]      FIG. 1A  is a flow chart illustrating one embodiment of the steps involved in performing the encoding in accordance with the present invention. Alternatively, the flow chart of  FIG. 1A  may be viewed as describing the operation of a system configured to practice an embodiment of the present invention. The original raw digital data comprises a series of binary digits, or bits. In the exemplary implementation of the encoding process, these bits are divided into groups of seven, forming seven-bit ECC symbols. A sequence of seven-bit ECC symbols representing the original data constitutes the message data (step  101 ).  
         [0016]     In the forward error control encoding process, additional ECC parity symbols are computed and added to the message data to form the ECC codeword data (step  103 ). These additional ECC parity symbols provide redundancy that is used by a corresponding error detection and correction process performed on received data to detect and correct for errors that occur during storage or transmission of the data.  
         [0017]     In the modulation process, the seven-bit ECC symbols of the ECC codeword are modulated to create eight-bit modulation symbols using a seven-to-eight modulation technique (step  105 ). The modulation technique employed in the exemplary embodiment results in each valid modulation symbol containing no fewer than three “1” bits and three “0” bits. The seven-to-eight modulation technique used in the exemplary embodiment is a codebook modulation technique. Each seven-bit ECC symbol is assigned to a valid modulation symbol obtained from the codebook for the seven-to-eight bit modulation.  
         [0018]     Referring to  FIG. 2 , a table illustrating an exemplary seven-to-eight bit modulation codebook is shown. Column 1 (“Data”) lists the possible unmodulated seven-bit ECC symbols. Column 2 (“Symbol”) lists the corresponding modulation symbols assigned to each possible seven-bit ECC symbol. Modulation symbols that contain fewer than three binary “1” bits of the eight possible bits are deemed to be invalid, and thus are not used as a valid modulation symbol for a seven-bit ECC symbol. Modulation symbols that contain fewer than three binary “0” bits of the eight possible bits are deemed to be invalid, and thus are also not used as a modulation symbol for a seven-bit ECC symbol. Using such a codebook, the resulting modulation symbols have a “3-to-5” bit condition, meaning that each valid modulation symbol contains between three and five “1” bits and between three and five “0” bits.  
         [0019]     In the exemplary embodiment, each seven-bit ECC symbol is assigned in numerical order to a valid modulation symbol (i.e., an eight-bit modulation symbol that meets the 3-to-5 condition) to perform the modulation process. For example, referring to  FIG. 2 , the first ECC symbol comprising “0000000” is assigned to the first valid modulation symbol, which is “00000111.” The first seven eight-bit modulation symbols (00000000, 00000001, 00000010, 00000011, 00000100, 00000101, and 00000110) are skipped, as these modulation symbols are deemed to be invalid for failing to meet the “3-to-5” condition. The next three eight-bit modulation symbols are also skipped (00001000, 00001001, 00001010) for the same reason, with the next seven-bit ECC symbol (0000001) being assigned to the next valid eight-bit modulation symbol (00001011). This process is repeated until all possible seven-bit ECC symbols have been assigned to a corresponding eight-bit modulation symbol.  
         [0020]     After all possible seven-bit ECC symbols have been assigned, there are several valid eight-bit modulation symbols remaining that have not been matched with a seven-bit block. These remaining modulation symbols may be used for various purposes (e.g., as control words, etc.), but they are not required to implement the exemplary embodiment of the error correction technique, and thus shall not be addressed herein.  
         [0021]     The sequence of eight-bit modulation symbols forms a signal that may be stored or transmitted (step  109 ). Upon receipt of the stored or transmitted signal, the encoding process is reversed in a decoding process, as shown in  FIG. 1B  and discussed below.  
         [0022]     Referring to  FIG. 1B , in the decoding process each modulation symbol contained in the fifteen symbol codeword is subjected to a demodulation process (step  151 ). Typically, this demodulation process is performed upon the modulation symbols following reading from a storage medium or transmission over a transmission channel. However, the storage or transmission of the modulated symbols is not pertinent to the error correction technique of the present invention, and thus shall not be discussed in detail herein.  
         [0023]     The demodulation process reverses the modulation process described above. Each modulation symbol is mapped to an ECC symbol. During the demodulation process, a check is conducted to determine if any modulation symbol contains fewer than three or more than five of either a binary “1” bit or a binary “0” bit (step  153 ). Because the parameters of the seven-to-eight bit modulation requires the 3-5 condition as described above, any modulation symbols that fail to conform to the 3-5 condition are marked as containing symbol erasures (i.e., bit errors in the modulation symbol) at this point (step  155 ). This marking of symbol erasures consists of recording the location of the symbol erasure in the codeword and, since we do not have an ECC symbol associated with the modulation symbol erasure, the assignment of the ECC symbol “0” (all seven bits zero) at that codeword location. The number and locations of symbol erasures are thereby noted to indicate errors in the modulation symbols.  
         [0024]     The demodulation process is conducted for each modulated symbol contained in a codeword. That is, after demodulating a symbol and marking any erasures, a check is performed to determine if there are remaining symbols in the codeword (step  157 ), and if so, the next symbol is selected to be demodulated (step  159 ).  
         [0025]     Some storage or transmission errors may cause bit errors in a modulation symbol that do not result in the modulation symbol being flagged as an erasure. Therefore, the erasure check does not reliably detect all storage or transmission errors. Consequently, performing forward error correction using erasure ECC symbols may still result in a false correction event, which would decrease the reliability of the data. If performing the error correction process on data that is more likely to result in false correction events can be avoided, the occurrence of false correction events will be reduced and thus the data reliability will be improved.  
         [0026]     The exemplary embodiment of the error correction method determines the location and magnitude of symbol errors through a search procedure. If the location of a symbol error is known a priori, as is the case with a detected modulation error, the error correction method utilizes less information in computing the symbol correction at that location than would have been used to both detect the symbol error location and to compute the symbol error correction at that location. Since not all symbol errors may be detected in the demodulation process, by recording the location of those symbol errors that are detected in the demodulation process and providing those locations to the error correction method, increased performance of the error correction method is obtained.  
         [0027]     The demodulation process results in retrieving an ECC codeword comprising seven-bit ECC symbols. The number of modulation errors detected in the demodulation process serves as an estimate of the total error rate in the stored or transmitted data, including errors not detected in the demodulation process. Once all symbols in a codeword have been demodulated, a determination is made to decide if error correction is to be applied. If the demodulation process detects a number of modulation errors that exceeds a specified threshold (step  161 ), the decoding process is terminated (step  163 ). By avoiding applying the forward error correction method when the number of modulation errors exceeds a threshold, the risk of false corrections that exists in the presence of a high error rate is reduced. In the exemplary embodiment, this threshold is the number of errors the forward error correction scheme could correct without any other error detection process. The exemplary embodiment uses a Reed-Solomon code. Reed-Solomon codes typically can correct for errors when the number of errors is fewer than the number of parity symbols divided by two. For the exemplary Reed-Solomon (15,11) code, the modulation threshold is two (i.e., four parity symbols divided by two equals two). Therefore, if the number of modulation errors exceeds two, the decoding process is terminated and a decoding failure is noted.  
         [0028]     A forward error correction scheme is applied using the demodulated ECC codeword and the number and location of detected modulation errors (step  165 ). In the exemplary embodiment, a Reed-Solomon (15,11) forward error correction scheme using seven-bit symbols is applied. However, other error correction techniques could also be used such other Bose, Chaudhuri, and Hocquenghem (BCH) codes or other cyclic linear block codes (e.g., Hamming codes). The operation of such codes are well known in the art.  
         [0029]     Following the application of the Reed-Solomon (15,11) code, further reduction of possible false correction events is achieved by performing a second screening process on the data. To further filter out false correction events, the error syndrome is recomputed (step  167 ) The error correction process is not considered to be successful if the recomputed error syndrome after data correction is non-zero, which would indicate the presence of additional errors (step  169 ). By adding an error correction syndrome recomputation process following the application of the error correction syndrome, additional instances of false correction events are identified. If such a recomputed error syndrome is nonzero, the decoding process is terminated (step  163 ). If the recomputed error syndrome is zero, the correction is deemed successful (step  171 ).  
         [0030]      FIG. 3  is a flow chart illustrating the decoding process of the exemplary embodiment of the present invention. Alternatively, the flow chart of  FIG. 3  may be viewed as describing the operation of a system configured to practice an embodiment of the present invention. Initially, the ECC symbols are modulated to obtain seven-to-eight modulated symbols, which may be transmitted to a reciever ( 301 ). Using the Reed-Solomon error correction scheme described above, four parity symbols are used in a fifteen symbol ECC codeword.  
         [0031]     During demodulation of the data, the first error detection process is performed (step  303 ). A comparison is made to determine if the number of modulation errors exceeds a predetermined threshold equal, for example, to the number of parity symbols divided by two (step  305 ). In the exemplary embodiment, a Reed-Solomon (15,11) code is used. This code uses four parity bits, so the number of parity bits divided by two is equal to two. If, during demodulation, more than two errors or erasures are found, the symbol is deemed uncorrectable (step  307 ).  
         [0032]     If the number of modulation errors does not exceed the predetermined threshold, then an error syndrome is computed (step  309 ). A determination is made to see if the computed error syndrome is equal to zero (step  311 ). If it is, the data is determined to be successfully decoded (step  313 ). However, if the computed error syndrome is non-zero, errors likely exist in the data. Error correction is applied to the data (step  315 ). After correction, the error syndrome is recomputed (step  317 ). If the syndrome now returns a zero result, the data is determined to be successfully decoded (step  313 ). If the syndrome yields a non-zero result, the data is deemed uncorrectable (step  321 ).  
         [0033]      FIG. 3  illustrates that the error detection and correction scheme in accordance with the present invention reduces the occurrence of false error corrections by combining a demodulation error detection process with a forward error detection and correction process, while avoiding attempts to correct data when the error rates are high. The invention combines a demodulation process  310  (comprising steps  301  and  303 ) with a first determination of whether the error environment is higher than desired for reliable error correction  320  (comprising steps  305  and  307 ). A forward error detection and correction stage is then performed  330  (comprising steps  309 ,  311 , and  315 ). Following error correction, an additional screening process further identifies false error corrections  340  (comprising steps  317 ,  319 , and  321 ). By combining these processes, the amount of false correction events is significantly reduced.  
         [0034]     A variety of modifications to the embodiments described will be apparent to those skilled in the art from the disclosure provided herein. Thus, the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof and, accordingly, reference should be made to the appended claims, rather than to the foregoing specification, as indicating the scope of the invention.