The invention relates to a method of computer-aided implemented encoding/decoding of tridimensional codes over Galois fields GF (2), for storing data in DASD (Direct Access Storage Device) modules. According to the invention, the method includes: selecting the block code B(n, k, t) which corrects t errors and detects b errors, capable to encode k data bits into nbits, code which is intended to be used along the dimension x; selecting the structure lengths n, n, nalong the dimensions x, xand x, respectively, according to the following constraints: nand nare relatively prime numbers and n≫ n. n; selecting the generation rule for diagonals, generalized by means of the step s, according to the following constraints: s=( alpha, α, α) and highest common factor ( α, n)=1, ∀ i; encoding k . (n-1) . (n-1) data bits in a tridimensional structure n. n. n; storing the data in DASD modules, where each DASD module comprises one generalized diagonal of the tridimensional structure, and failure or cancellation of a DASD module corresponds to the introduction of an error packet of a length n. n; decoding, with a correction of up to t+3 error packets, of a length of n. n, each.
展开▼