Patent ID: 7363217

Claim:
A method for analyzing energy consistency to process data, comprising: performing a data-buffering process for outputting a data frame; performing a data-processing process for outputting a shaping residual after inputting said data frame; performing an energy-framing process for dividing said shaping residual into N sub-blocks after inputting said shaping residual to calculate energy of N sub-blocks to get a plurality of energy coefficients, wherein N is an integer; performing a consistency-checking process for inputting said energy coefficients to check whether said energy coefficients conform to a consistent energy relationship or not; generating the decision about said data frame should be processed by the long-type window coding if said energy coefficients are consistent wherein said energy coefficients conform to said consistent energy relationship; and, generating the decision about said data frame should be processed by the short-type window coding if said energy coefficients are inconsistent wherein said energy values can not conform to said consistent energy relationship.