CPC G06F 3/0619 (2013.01) [G06F 3/0652 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] | 19 Claims |
1. A device equipped with flash memory, comprising:
memory in which at least one program is recorded; and
a processor for executing the program,
wherein the memory includes flash memory including a data area and a backup area,
wherein the program stores data in units of pages in the data area,
wherein the data is stored in a single page when the data has a size capable of being stored in a single page, and
the data is divided into two or more segments and stored in two or more pages when the data has a size greater than a size capable of being stored in a single page, wherein a first segment is stored in a single page, and at least one additional segment is stored in another page, and,
wherein the backup area has backup flags recorded thereon, the backup flags indicating whether a data-processing procedure of the flash memory, which includes write, erase, and update operations, has been completed or stopped during the procedure,
wherein when the data has a size capable of being stored in a single page, a segment number, a segment offset, a size of a file name of the data, a size of the data, the file name, and the data are stored in a segment corresponding to the data, and a remaining area in the page is maintained empty.
|