Method and apparatus for encoding and decoding data, storage medium and storage medium driving system thereof

The invention existing ECC (Error Correction Code) block format compatible with the extra parity data encoding and decoding method that can improve the reliability of data to be reproduced by the ECC block and the apparatus and the storage medium, a record medium drive system having , and to a data encoding method according to one aspect of the invention relates to the extra parity ECC block generation method includes the steps of generating an N number of error-correction code blocks for the user data; Including the step of generating at least one block of the extra parity error correction codes for the N number of error correction code block, it is possible to improve the reliability of reproduction is by minimizing the error correction failure rate for the data to be reproduced data.