-
1.
公开(公告)号: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.
-
公开(公告)号: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.
-
公开(公告)号: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.
-
-
-
-