Data decoding method and the system thereof
AssigneeIndustrial Technology Research Institute
InventorsYung-Chi Yang, Chang-Po Ma, Ming-Chang Tsai
Life of this patent
Estimating the term…
Abstract
This specification discloses a data decoding method and the corresponding system. By improving the execution order of the error detection process during data decoding and using a descramble hardware processing structure, the method and the system can effectively reduce the number of times of memory access during the data decoding. Therefore, the disclosed method and system achieve the goal of reducing the clock needed for memory operations.
Claims8
A data decoding method for decoding data which is obtained by adding two series of error correction code to a scrambled data added with error detection code, the method comprising the steps of:
- reading in the modulated data from the recording medium for demodulation and storing the demodulated data to a memory module, using the demodulated data to perform a first-time first series of error correction code decoding to generate error positions and error magnitudes of the first-time first series of error correction code decoding for executing error corrections on the demodulated data in the memory module, and using a first descrambling module to descramble the demodulated data to generate descrambled data;
- and
- using the error positions and error magnitudes of the first-time first series of error correction code decoding and the descrambled data to compute an EDC result and, when no error is found in the main data, allowing the access of the main data in the memory module and, when errors is found in the main data, continuing the following steps of:
- using a second decoding module to read the demodulated data from the memory module and performing a first-time second series of error correction code decoding to generate error positions and error magnitudes of the first time second series of error correction code decoding for executing error corrections on the demodulated data;
- and
- using the error positions and error magnitudes of the first time second series of error correction code decoding to combine with the previously computed EDC result to re-compute the EDC result and allowing the access of the main data in the memory module when no error is found in the main data;
- wherein when errors is found in the main data, the second decoding module keeps reading the demodulated data from the memory module and re-generates the error positions and error magnitudes of the first series or the second series of error correction code decoding in an alternative way, executes the error correction of the demodulated data, and uses the error positions and error magnitudes of the first series or the second series of error correction code decoding to combine with the previously computed EDC result to re-compute the EDC result.
A data decoding system for decoding data which is obtained by adding two series of error correction code to a scrambled data added with error detection code, the system comprising:
- a demodulating module, which reads the modulated data from the recording medium for demodulation and generates demodulated data;
- a memory module, which stores the demodulated data processed by the demodulating module;
- a first descrambling module, which receives the demodulated data from the demodulating module for descrambling to generate descrambled data;
- a first decoding module, which receives the demodulated data from the demodulating module to perform a first-time first series of error correction code decoding to generate error positions and error magnitudes of the first-time first series of error correction code decoding;
- a second decoding module, which reads the demodulated data from the memory module to perform a first-time second series of error correction code decoding to generate error positions and error magnitudes of the first-time second series of error correction code decoding;
- an EDC computation module, which receives the descrambled data and error positions and error magnitudes of the first-time first series of error correction code decoding to compute an EDC result or combines the error positions and error magnitudes of the first-time second series of error correction code decoding and the previously computed EDC result to re-compute the EDC result;
- and
- an error correction module, which uses the error positions and error magnitudes of the first time first series of error correction code decoding or the first-time second series of error correction code decoding to correct errors of the demodulated data in the memory module;
- wherein, when no error is found in the main data, the EDC computation module allows access of the main data stored in the memory module and, when errors is found in the main data, the second decoding module keeps reading the demodulated data from the memory module and re-generates the error positions and error magnitudes of the first series of error correction code decoding or the second series of error correction code decoding in an alternative way, to correct errors of the demodulated data in the memory module by the error correction module and to combine with the previously computed EDC result for re-computing the EDC result by the EDC computation module.
A data decoding method for decoding data which is obtained by adding two series of error correction code to a scrambled data added with error detection code, the method comprising the steps of reading the modulated data from the recording medium, generating demodulated data by demodulation and storing them in a memory module, performing a first series of error correction code decoding and a second series of error correction code decoding, correcting errors of the demodulated data in the memory module, and providing the main data in the memory when no error is found in the main data after EDC computation, which is characterized in that the data stored in the memory module are scrambled main data, which are descrambled after the user requests for the main data.
A data decoding system for decoding data which is obtained by adding two series of error correction code to a scrambled data added with error detection code, the system comprising a demodulating module, which reads the modulated data from the recording medium for demodulation and generates demodulated data, a memory module, which stores the demodulated data processed by the demodulating module, a first descrambling module, which receives the demodulated data from the demodulating module for descrambling to generate descrambled data, a first decoding module and a second decoding module, which perform a first series of error correction code decoding and a second series of error correction code decoding, an error correction module, which corrects errors in the demodulated data in the memory module, and an EDC computation module, which detects if there is any error in the main data after EDC computation, the EDC computation module also allowing the access of the main data in the memory module when no error is found in the main data after the EDC computation, which is characterized in that the data stored in the memory module are scrambled main data, which are descrambled after the user requests for the main data.
Dependencies are inferred from the claim text.