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.

    ELECTRONIC DEVICE AND METHOD OF ELECTRONIC DEVICE OPERATING FILE SYSTEM

    公开(公告)号:US20230067968A1

    公开(公告)日:2023-03-02

    申请号:US17890653

    申请日:2022-08-18

    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 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.

Patent Agency Ranking