Patent ID: 8427960

Claim:
A method for analyzing data, comprising: judging whether read of each multiplexing block in a media unit has been finished according to a total length of the media unit and a length of the multiplexing block when reading multiplexing blocks included in the media unit; wherein the media unit is a video unit, an audio unit or a data unit; wherein, said judging whether read of each multiplexing block in a media unit has been finished specifically comprises: subtracting the length of the multiplexing block from the total length of the media unit, wherein the media unit has been analyzed completely if a residual value is 0; the media unit has not been analyzed completely yet and needs to be analyzed continuously if the residual value is greater than the length of a multiplexing block header of the multiplexing block; the media unit has error analysis if the residual value is smaller than or equal to the length of the multiplexing block header of the multiplexing block, ending.