US 12,455,702 B2
Electronic device for selectively compressing and decompressing files based on free space and use frequency
Hyeongjun Kim, Suwon-si (KR); Sungjong Seo, Suwon-si (KR); Woojoong Lee, Suwon-si (KR); Sungdo Moon, Suwon-si (KR); and Hyunjoon Cha, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Jul. 5, 2023, as Appl. No. 18/347,197.
Application 18/347,197 is a continuation of application No. PCT/KR2022/000406, filed on Jan. 11, 2022.
Claims priority of application No. 10-2021-0003838 (KR), filed on Jan. 12, 2021.
Prior Publication US 2023/0342074 A1, Oct. 26, 2023
Int. Cl. G06F 12/00 (2006.01); G06F 3/06 (2006.01)
CPC G06F 3/0655 (2013.01) [G06F 3/0608 (2013.01); G06F 3/067 (2013.01)] 14 Claims
OG exemplary drawing
 
1. An electronic device comprising:
storage storing a file system and one or more computer programs;
and
one or more processors communicatively coupled to the storage,
wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the electronic device to:
execute a storage device manager,
check a free space on the file system based at least on a termination of an application,
determine whether a result of the checking of the free space on the file system indicates that free space of the storage is equal to or less than a first reference ratio,
select and compress data having a use frequency equal to or less than a predetermined use frequency when the free space of the storage is equal to or less than the first reference ratio,
manage the compressed data by using a list,
reserve and process a block ensured by compression on the file system, and
compress the data having a use frequency equal to or less than the predetermined use frequency, and
wherein the data having the use frequency equal to or less than the predetermined use frequency is data unused for a predetermined period.