US 11,726,668 B2
Device with flash memory and method for writing/erasing/updating data in flash memory thereof
Yong-Sung Jeon, Daejeon (KR); Doo-Ho Choi, Daejeon (KR); Ha-Young Seong, Daejeon (KR); Mi-Kyung Oh, Daejeon (KR); Sang-Jae Lee, Daejeon (KR); and Ik-Kyun Kim, Daejeon (KR)
Assigned to ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed by ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed on Oct. 21, 2021, as Appl. No. 17/507,727.
Claims priority of application No. 10-2020-0154711 (KR), filed on Nov. 18, 2020.
Prior Publication US 2022/0155974 A1, May 19, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0619 (2013.01) [G06F 3/0652 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] 19 Claims
OG exemplary drawing
 
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.