摘要 |
<p>The present invention provides a two-dimensional run-length limited codec with protection characters and a method for using same. The codec comprises an encoder and a decoder. The encoder comprises a data buffer and grouping module, a two-dimensional code word generating module, a two-dimensional character unit page constructing module, a two-dimensional code word write array module, and a protection character filling module. The five modules are sequentially connected, and send output through the protection character filling module to a two-dimensional data recording device. The decoder comprises a two-dimensional data buffer module, a two-dimensional character unit page constructing module, a one-dimensional data character decoding module, and a one-dimensional data stream assembly module. The five modules are sequentially connected, and send output through the one-dimensional data stream assembly module. The encoding/decoding method and device of the present invention can solve the technical problem that a two-dimensional data array composed of "0" and "1" satisfies two-dimensional (1,3) RLL constrained by (1,3) RLL in two directions.</p> |