ELECTRONIC DEVICE FOR PROHIBITING LOSS OF DATA IN DATABASE AND METHOD FOR OPERATING THE SAME

    公开(公告)号:US20210042293A1

    公开(公告)日:2021-02-11

    申请号:US15931071

    申请日:2020-05-13

    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.

    SECURITY DATA PROCESSING METHOD AND DEVICE
    2.
    发明公开

    公开(公告)号:US20230409733A1

    公开(公告)日:2023-12-21

    申请号:US18455224

    申请日:2023-08-24

    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.

    ELECTRONIC DEVICE FOR MANAGING JOURNAL FILE AND OPERATION METHOD THEREOF

    公开(公告)号:US20230237025A1

    公开(公告)日:2023-07-27

    申请号:US18127242

    申请日:2023-03-28

    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.

    ELECTRONIC DEVICE AND METHOD FOR MANAGING DATABASE

    公开(公告)号:US20200265010A1

    公开(公告)日:2020-08-20

    申请号:US16793428

    申请日:2020-02-18

    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.

Patent Agency Ranking