Data recording device
AssigneeSanyo Electric Co., Ltd.
InventorJunya Kaku
Life of this patent
Estimating the term…
Abstract
A digital camera (10) includes a CPU (46). When a power source is turned on, the CPU (46) determines an available area of a recording destination on the basis of an FAT recorded on a magneto-optical disk (44). Compressed image data created on the basis of an operation of a shutter button (48) is recorded on the determined available area. When succeeding in recording, the FAT is renewed. When failing in recording due to a defect of the magneto-optical disk (44), a message is displayed on a monitor (28). When a set key (50) is operated after displaying the message, a write protection is set on the magneto-optical disk (44).
Claims9
A data recording apparatus which records data on a recording medium having a plurality of available areas and available area information, comprising:
- a processor;
- and
- an application program embedded in a memory and executed by the processor, the executed application program performs steps comprising:
- receiving compressed image data;
- determining at least one available area which satisfies a predetermined area condition out of the plurality of available areas of the recording medium in reference to the available area information;
- recording the compressed image data into the determined at least one available area;
- identifying success/failure of the recording;
- decoding the compressed image data recorded into the determined at least one available area in response to the identified success;
- determining whether the compressed image data is properly decoded and determining that a defect other than inadequate available area exists on the recording medium if the compressed image data is not properly decoded;
- renewing the available area information in response to an identification result indicates properly decoding;
- and
- setting said recording medium to a recording prohibition state in response to the identified failure even though there is at least one available area on said recording medium, wherein the identified failure is failure caused by a defect of said recording medium, and the recording prohibition state is a state that said recording medium can be used only in the read only mode out of recording mode and read only mode.
A data recording method which records data on a recording medium having a plurality of available areas and available area information, comprising the steps of:
- (a) determining, by a data recording apparatus, at least one available area which satisfies a predetermined area condition out of the plurality of available areas of the recording medium in reference to the available area information in response to receiving compressed image data;
- (b) recording, by the data recording apparatus, the compressed image data into the at least one available area determined by said step (a);
- (c) identifying, by the data recording apparatus, success/failure of the recording by said step (b), the identifying step including the further steps of:
- (c1) decoding, by the data recording apparatus, the compressed image data recorded into the at least one available area by said step (b) in response to the identified success;
- and
- (c2) determining, by the data recording apparatus, whether the compressed image data is properly decoded by said step (c1) and determining that a defect other than inadequate available area exists on the recording medium if the compressed image data is not properly decoded by said step (c1);
- (d) renewing, by the data recording apparatus, the available area information in response to an identification result indicates properly decoding by said step (c2);
- and
- (e) setting, by the data recording apparatus, said recording medium to a recording prohibition state in response to identification result of said step (c) indicates failure, wherein the failure identified by said step (c) is failure caused by a defect of said recording medium, and the recording prohibition state is a state that said recording medium can be used only in the read only mode out of recording mode and read only mode.
Dependencies are inferred from the claim text.