-
公开(公告)号:US20230153291A1
公开(公告)日:2023-05-18
申请号:US17994229
申请日:2022-11-25
Applicant: Samsung Electronics Co., Ltd.
Inventor: Hyeeun JUN , Kisung LEE , Yoonho SHIN
IPC: G06F16/23 , G06F16/2455 , G06F11/14
CPC classification number: G06F16/2365 , G06F16/24552 , G06F11/1469 , G06F2201/80 , G06F2201/885
Abstract: An electronic device for recovering a database (DB) and a method of operating the electronic device are provided. The electronic device includes a non-volatile first memory configured to store a DB, a volatile second memory, and a processor operably connected to the first memory and the second memory. The processor may determine whether the DB is corrupted, may perform first integrity check of the DB after initializing a DB cache in which at least a portion of the DB is loaded to a user space of the second memory when it is determined that the DB is corrupted, may perform second integrity check of the DB after initializing an operating system (OS) cache in which at least a portion of the DB is loaded to a kernel space of the second memory when the first integrity check of the DB fails, and may perform a task on a DB file when the first integrity check or the second integrity check of the DB is successful.
-
公开(公告)号:US20230259487A1
公开(公告)日:2023-08-17
申请号:US18107424
申请日:2023-02-08
Applicant: SAMSUNG ELECTRONICS CO., LTD.
Inventor: Yoonho SHIN , Kisung LEE , Hyeeun JUN , Hobin WOO
IPC: G06F16/11 , G06F11/14 , G06F16/176
CPC classification number: G06F16/122 , G06F11/1469 , G06F16/1774 , G06F2201/84 , G06F2201/80
Abstract: According to an embodiment, an electronic device includes a memory including a database file and at least one processor connected to the memory. The at least one processor may identify damage to the database file while a first application running on the electronic device accesses the database file. The at least one processor may control a second application running on the electronic device to wait without accessing the database file until recovery of the damaged database file is completed. The at least one processor may record recovery state information indicating that the database file is recovered if the recovery of the damaged database file is completed. The at least one processor may control the second application to access the recovered database file based on the recovery state information.
-