Intelligent error checking method and mechanism
AssigneeMediatek Inc.
InventorTzueng-Yau Lin
Life of this patent
Estimating the term…
Abstract
An intelligent MP3 error check detection method and apparatus. The claimed invention discloses an apparatus and method where all MP3 files are initially assumed to have compatible error checksums. A parameter W is initialized to zero. The parameter W is not constant and conceptually represents a state of the error check method. The destructive value of a first predefined constant is added to the parameter W each time the integrity of the data within the frame cannot be verified. The constructive value of a second predefined constant is subtracted from the parameter W each time the integrity of the data within the frame is successfully verified. If the value of the parameter W equals or exceeds a predefined threshold, the remainder of the MP3 file is decoded and played without error check protection.
Claims16
A method of reproducing a media file with a control apparatus, the media file comprising a plurality of frames, each frame having an optional error check field, and an audio data field for storing encoded audio sample, the control apparatus including a parameter, the method comprising:
- if the error check field of the frame exists, using the error check field to verify integrity of the frame;
- if the integrity of the frame is correct, decoding the audio sample in the audio data field;
- if the integrity of the frame is unable to be confirmed to be correct and the parameter indicates that the error check field no longer needs to be used to verify the integrity of the frame, decoding the audio sample in the audio data field;
- if the integrity of frame is unable to be confirmed to be correct and the parameter indicates that the error check field is to be used to verify the integrity of the frame, storing the audio data field for later reference without decoding the audio sample stored in the audio data field.
An apparatus for decoding and outputting a media file, the media file comprising a plurality of frames, the apparatus comprising:
- a control apparatus capable of decoding and outputting audio data of the frame if integrity of the audio data of the frame is not verifiable by the control apparatus using an error check field of the frame, and capable of using the error check field of the frame for error checking if the integrity of the audio data of the frame is verifiable by the control apparatus using the error check field of the frame when decoding and outputting the audio data of the frame;
- wherein a first predefined constant is used as a destructive factor in calculations determining whether or not to continue using the error check field to verify the integrity of the data within the frame.
A method of playing a media file with a control apparatus, the media file comprising a plurality of frames, each frame optionally comprising an error check field, the method comprising:
- playing media file using the error check field to verify integrity of each frame as long as a value of a parameter within a predetermined range;
- while playing media file using the error check field to verify integrity of each frame, using a first predefined constant as a destructive factor in calculations determining the value of the parameter;
- and
- continuing to play the media file without verifying the integrity of each frame once the value of the parameter is not within the predetermined range.
Dependencies are inferred from the claim text.