There is always noise disturbance during the satellite data downlink. Almost all the satellite data is coded before downlink to enhance the ability of anti-disturbance. Among those many data processing ways to reduce the influence of the noise in the signal channel, the Consultative Committee for Space Data Systems (CCSDS) provides many kinds of coding ways to improve the data quality. In this paper, we will discuss the theory of error correction for PN, CRC, RS and Viterbi based on CCSDS standard firstly, and then take the Envisat satellite as an example to show the decoder procedure. The data quality is improved greatly after the data processing.