摘要 |
This invention provides a method for managing digital data and the digital data allocation in a memory, which is applied to a digital recording device. The memory can repetitively write and crase and comprises a plurality of sectors in which a plurality of digital data files can be written. The least unit to crase the digital data in the memory every time is one sector. Each sector divides to a plurality of blocks, and each block is arranged a block header. The block header can record the current status of the corresponding block. The method comprises a step to set up a block reclamation starting condition. When some blocks in a target sector have to be erased, the digital data of the other blocks which need not to be erased will be moved and stored in the blocks of other sectors.
|