-
公开(公告)号:US20230409733A1
公开(公告)日:2023-12-21
申请号:US18455224
申请日:2023-08-24
Applicant: Samsung Electronics Co., Ltd.
Inventor: Hyeeun JUN , Kisung LEE , Kiwon SONG
IPC: G06F21/62
CPC classification number: G06F21/6227
Abstract: A method and a device are provided. The device includes a display, a memory and a processor operatively connected to the display or the memory, wherein the processor is configured to receive a request for updating security data in which security attributes are set in application data, identify the state of an additional file corresponding to the security data, determine a first security data processing process if the state of the identified additional file is invalid or determine a second security data processing process if the state of the identified additional file is valid, and update the security data according to the determined security data processing process.
-
公开(公告)号:US20220222216A1
公开(公告)日:2022-07-14
申请号:US17555826
申请日:2021-12-20
Applicant: Samsung Electronics Co., Ltd.
Inventor: Kisung LEE , Hyeeun JUN , Kiwon SONG
Abstract: Various embodiments of the disclosure disclose a method and an apparatus, which includes: a display, a memory, and a processor operatively connected to the display and/or the memory, wherein the processor is configured to: add a frame to an appended file based on a request to update application data, allocate a reserved space to the appended file, update a database file based on an update condition, and allocate the reserved space to the database file.
-
公开(公告)号: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.
-
4.
公开(公告)号:US20210042293A1
公开(公告)日:2021-02-11
申请号:US15931071
申请日:2020-05-13
Applicant: Samsung Electronics Co., Ltd.
Inventor: Hyeeun JUN , Kiwon SONG , Kisung LEE , Woojoong LEE
IPC: G06F16/23 , G06F16/178 , G06F11/14
Abstract: An electronic device and a method for operating the electronic device are provided. The electronic device includes a first memory, a second memory configured to store therein journal data including an operation result of a transaction for data in the database and metadata, and at least processor configured to detect an occurrence of the transaction, identify characteristics of a database system to which the data corresponding to the transaction belongs and characteristics of a file system, determine whether to create a thread for synchronizing the metadata stored in the second memory with the first memory based on the characteristics of the file system and the characteristics of the database system, and synchronize the metadata with the first memory using the created thread corresponding to identifying that the transaction of the data satisfies a condition related to a degree of change of time of the data.
-
公开(公告)号: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.
-
公开(公告)号:US20230237025A1
公开(公告)日:2023-07-27
申请号:US18127242
申请日:2023-03-28
Applicant: SAMSUNG ELECTRONICS CO., LTD.
Inventor: Kisung LEE , Kiwon SONG , Hyeeun JUN
IPC: G06F16/18 , G06F16/176
CPC classification number: G06F16/1815 , G06F16/1774 , G06F16/1865
Abstract: An electronic device includes: a memory storing a database, a journal file for the database, and instructions; and a processor electrically connected with the memory. The instructions are configured to, when executed by the processor, cause the electronic device to: record a result of processing a transaction in the journal file through a thread of a process associated with the database; identify a size of the journal file through the thread; perform a lock for the journal file during a reference time through the thread, based on the identified size of the journal file through the thread; and transfer the result of processing the transaction to the database through the thread, based on a success of the lock for the journal file, the result of processing the transaction being recorded in the journal file.
-
公开(公告)号:US20200265010A1
公开(公告)日:2020-08-20
申请号:US16793428
申请日:2020-02-18
Applicant: Samsung Electronics Co., Ltd.
Inventor: Kisung LEE , Hyeeun JUN , Kiwon SONG
Abstract: An electronic device for managing a database is provided. The electronic device includes a storage configured to store a database, a memory, and a processor operably connected to the storage and the memory. The memory stores instructions that, when executed, cause the processor to identify the state of a first file that is at least temporarily stored data stored in the database, the first file related to a first operation mode of the database, in response to identifying the first file in a first state that allows reading data included in a file, identify the state of a second file that stores information indicating a portion of the database to store information stored in the first file, perform transactions related to data stored in the database using the first file, based at least in part on the identified state of the second file, and in response to identifying the first file in a second state different from the first state, perform the transactions, based on a second operation mode different from the first operation mode.
-
公开(公告)号:US20200218710A1
公开(公告)日:2020-07-09
申请号:US16640475
申请日:2018-05-28
Applicant: Samsung Electronics Co., Ltd.
Inventor: Kisung LEE , Hyeeun JUN
IPC: G06F16/23 , G06F16/17 , G06F16/182 , G06F16/18 , G06F7/58
Abstract: An electronic device according to various embodiments of the present invention comprises: a memory for storing a database and a file which includes at least one change data for changing the database; and a processor electrically connected to the memory, wherein, when terminating the use of the database, the processor can initialize at least one data other than a first validity data, included in a header of the file, for determining the validity of the at least one change data, and, when commencing the use of the database following the termination of the use of the database, the processor can change the first validity data included in the header of the file. Other various embodiments are possible.
-
-
-
-
-
-
-