Patent ID: 11907166
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. An electronic device comprising:
a display;
a memory comprising a database file, the database file comprising a plurality of pages corresponding to application data and reserved space; and
a processor operatively connected to the display and/or the memory,
wherein the processor is configured to:
add a frame corresponding to an updated page of the application data stored in the database file to an appended file, based on a request to update the application data,
determine whether the frame is initially added to the appended file,
allocate, when the frame is initially added to the appended file, the reserved space to the appended file,
determine, when the frame is not initially added to the appended file, whether to allocate the reserved space to the appended file based on a storage space of the memory,
update the database file to apply the frame stored in the appended file based on identifying that an update condition is satisfied, and
after updating the database file, allocate the reserved space to the database file,
wherein the update condition comprises a condition that a size of the appended file corresponds to a predetermined size, or a condition that the number of frames included in the appended file corresponds to a predetermined number.