Memory compression method of electronic device and apparatus thereof
AssigneeSamsung Electronics Co., Ltd.
InventorsByoungik Kang, Jinyoung Park, Heesub Shin, Seungwook Lee
Life of this patent
Estimating the term…
Abstract
Disclosed are a memory compression method of an electronic device and an apparatus thereof. The method for compressing memory in an electronic device may include: detecting a request for executing the first application; determining whether or not the memory compression is required for the execution of the first application; when the memory compression is required, compressing the memory corresponding to an application in progress in the background of the electronic device; and executing the first application.
Claims14
A method by an electronic device for compressing data in a memory, the method comprising:
- detecting a change for a status of the electronic device;
- identifying at least one system demand for compressing the data in the memory, based on the detected change for the status of the electronic device;
- selecting at least one compression element used for compressing the data based on the identified at least one system demand, wherein the at least one compression element includes a compressing performer, a compression unit, and a compression process type, and wherein the compression unit includes a single-page or multi-pages;
- identifying pages stored in an input buffer, in case that the multi-pages are selected as the compression unit;
- and
- compressing the pages stored in the buffer, in case that an amount of the pages stored in the input buffer exceeds a predetermined threshold.
An electronic device including a memory, the electronic device comprising:
- a memory configured to store data;
- and
- a controller configured to:
- detect a change for a status of the electronic device,
- identify at least one system demand for compressing the data based on the detected change for the status of the electronic device,
- select at least one compression element used for compressing the data based on the identified at least one system demand, wherein the at least one compression element includes a compressing performer, a compression unit, and a compression process type, and wherein the compression unit includes a single-page or multi-pages,
- identify pages stored in an input buffer, in case that the multi-pages are selected as the compression unit, and
- compress the pages stored in the buffer, in case that an amount of the pages stored in the input buffer exceeds a predetermined threshold.
Dependencies are inferred from the claim text.