主权项 |
1. An information processing apparatus which records data in a flash memory, comprising:
a recording section which records data in the flash memory; a detecting section which detects continuous free areas or fragmented free areas in a deletion block of the flash memory; and a recording control section which controls the recording section to successively record data in the continuous free areas of the flash memory detected by the detecting section, and at the time point when the recording is completed, the recording control section moves an end portion of the recorded data to the fragmented free area of the flash memory detected by the detecting section so that the data is contained within the free area so as to record the data, wherein after the data is moved to the fragmented free areas of the flash memory a file allocation table of the flash memory is updated according to the move, wherein the data includes real time data and non real time data, non real time data defined at the time that recording of the real time data is started is recorded continuously before the start of the real time data, non real time data defined at the time that recording of the real time data is completed is recorded continuously after the end of the real time data, and the recorded data which is moved includes both real time data and non real time data.
|