Electronic device and storage management method using same

    公开(公告)号:US12287981B2

    公开(公告)日:2025-04-29

    申请号:US18128620

    申请日:2023-03-30

    Abstract: An electronic device includes: a memory including a storage; and a processor operatively connected to the memory, wherein the processor is configured to: based on a request to delete a file, identify use attribute information about the file requested to be deleted; based on information related to an extension of the file requested to be deleted that being stored in the memory, update the information related to the extension of the file requested to be deleted, based on the use attribute information; and configure an attribute of the extension of the file requested to be deleted, based on the updated information related to the extension of the file requested to be deleted and a hotness condition of the storage.

    Electronic device and method for performing garbage collection

    公开(公告)号:US12271323B2

    公开(公告)日:2025-04-08

    申请号:US18201072

    申请日:2023-05-23

    Abstract: An electronic device includes: a storage device including multiple segments configured to store data; a buffer memory configured to store segment attributes corresponding to the multiple segments, respectively; and one processor electrically connected to the storage device and the buffer memory. The one processor is configured to: determine, based on two or more parameters related to a data requested to be written, a data attribute; store the data requested to be written in a segment of the multiple segments, the segment being corresponding to the data attribute among the multiple segments; store a segment attribute of the segment, which is determined based on the data attribute in the buffer memory; update the data attribute, based on a data modification time of the data requested to be written; and update the segment attribute, based on the updated data attribute.

    Electronic device and method of electronic device operating file system using data compression and memory partition

    公开(公告)号:US12019906B2

    公开(公告)日:2024-06-25

    申请号:US17890653

    申请日:2022-08-18

    CPC classification number: G06F3/0655 G06F3/0604 G06F3/0679

    Abstract: An electronic device may include a storage, a memory, and a processor configured to read or write a file from or to the memory. The memory may include a lower file system for compressing and storing a file by using a first partition of the storage and an upper file system for decompressing and storing a file by using a second partition of the storage and/or the lower file system. The processor may copy, to an upper file system of the memory, a first file having an access number greater than a certain level by decompressing the first file in the lower file system, and may control a stackable file system to read the first file from the upper file system and to provide the first file to the application layer based on a request from the application layer being detected with respect to the copied first file.

    Electronic device and method for acquiring size of file or directory stored in file system

    公开(公告)号:US11868401B2

    公开(公告)日:2024-01-09

    申请号:US17682788

    申请日:2022-02-28

    CPC classification number: G06F16/9017

    Abstract: Provided is an electronic device including a file system, a memory, and a processor. The memory stores at least one instruction that instructs, when executed, the processor to receive a request for access to a file or directory stored in a user data area of the file system. In response to the reception of the request, first information associated with the file or directory is store in the memory, and the size of the file or directory is displayed using the first information. When the first information is information associated with the file, the information indicates the size of the file. When the first information is information associated with the directory, the information indicates a sum of the sizes of all subdirectories and all files included in the directory.

    Electronic device for prohibiting loss of data in database and method for operating the same

    公开(公告)号:US11423012B2

    公开(公告)日:2022-08-23

    申请号: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.

    ELECTRONIC DEVICE AND METHOD FOR ACQUIRING SIZE OF FILE OR DIRECTORY STORED IN FILE SYSTEM

    公开(公告)号:US20220179907A1

    公开(公告)日:2022-06-09

    申请号:US17682788

    申请日:2022-02-28

    Abstract: Provided is an electronic device including a file system, a memory, and a processor. The memory stores at least one instruction that instructs, when executed, the processor to receive a request for access to a file or directory stored in a user data area of the file system. In response to the reception of the request, first information associated with the file or directory is store in the memory, and the size of the file or directory is displayed using the first information. When the first information is information associated with the file, the information indicates the size of the file. When the first information is information associated with the directory, the information indicates a sum of the sizes of all subdirectories and all files included in the directory.

    Method and electronic device for initializing storage

    公开(公告)号:US11086538B2

    公开(公告)日:2021-08-10

    申请号:US16594424

    申请日:2019-10-07

    Abstract: A method for initializing a storage is provided. The method includes comparing a size of a disk partition of the storage with a size of a filesystem image recorded on the storage, and reconfiguring the filesystem image in a dynamic manner if the disk partition size is larger than that of the filesystem image, wherein the filesystem image may include a metadata area composed of metadata blocks and a data block area composed of file data blocks, and wherein the data block area may include in sequence a first free block area composed of only file data blocks where data is not recorded, and a file data area composed of at least one file data block where data is recorded. Various other embodiments are possible.

Patent Agency Ranking