| US 7,499,930 B2 | ||
| Data processing apparatus, data processing method, and data processing program | ||
| Akiteru Naka, Tokyo (Japan); Yojiro Tagawa, Narashino (Japan); and Katsumi Iijima, Tokyo (Japan) | ||
| Assigned to Canon Kabushiki Kaisha, Tokyo (Japan) | ||
| Filed on Jan. 21, 2005, as Appl. No. 11/38,160. | ||
| Claims priority of application No. 2004-020382 (JP), filed on Jan. 28, 2004. | ||
| Prior Publication US 2005/0165857 A1, Jul. 28, 2005 | ||
| Int. Cl. G06F 12/00 (2006.01) | ||
| U.S. Cl. 707—101 [707/205; 707/206] | 16 Claims |

| 1. A data processing apparatus comprising:
recording means for recording a moving image data file including moving image data and header information related to the moving
image data in a plurality of clusters on a recording medium, the moving image data being recorded on a cluster immediately
after a cluster in which the header information is recorded;
data deletion means for deleting a part of the moving image data included in the moving image data file from a head of the
moving image data, recorded on the recording medium in response to a delete instruction; and
control means for controlling the recording means to move the header information of the moving image data file including the
deleted part of the moving image data to a cluster in which the deleted part of the moving image data has been recorded, without
moving the remaining part of the moving image data which is included in the moving image data file and is other than the deleted
part of the moving image data, so that the cluster in which the header information is recorded is immediately before the cluster
in which the remaining part of the moving image data is recorded,
wherein said recording means records the moving image data file using a management table representing whether or not each
of the plurality of clusters on the recording medium is in an unrecorded state, and
said control means (I) updates the management table to make clusters in the unrecorded state, the clusters including a cluster
in which the header information has been recorded before moving in response to the delete instruction and a cluster in which
the deleted part of the moving image data has been recorded and the moved header information is not recorded, and (ii) controls
said recording means to move the header information to one or more continuous clusters including a last cluster of a plurality
of clusters in which the deleted part of moving image data has been recorded, and being larger than a size of the header information.
|