Patent ID: 7174496

Claim:
A method to generate an error correction code (ECC) block, comprising: processing digital data on a byte-by-byte basis and arranging processed digital data from 0 th to (Nâˆ’1) th columns and from 0 th to (Mâˆ’1) th rows to form (MÃ—N) data blocks; arranging the (MÃ—N) data blocks in K rows according to a data transmission sequence to form a matrix block; adding a first error correction check word of 2Ã—K bytes to each of N columns, each comprising (KÃ—M) bytes, to form a first codeword of ((KÃ—M)+2Ã—K) bytes; and adding a second error correction check word of P bytes to each of ((KÃ—M)+2Ã—K) rows, each comprising N bytes, to form a second codeword of (N+P) bytes so as to obtain an error correction code (ECC) block suitable for digital data recording on an optical storage medium, wherein parameters K, M, N, and P in the ECC block are adjustable such a suitable ECC block length is not greater than an inner-most circumference of the optical storage medium.