Volatile and nonvolatile memory management method and electronic device

    公开(公告)号:US10831392B2

    公开(公告)日:2020-11-10

    申请号:US16075447

    申请日:2017-01-11

    摘要: Various embodiments of the present invention relate to an apparatus and a method for managing memory in an electronic device. The electronic device comprises a volatile memory, a non-volatile memory and a processor, wherein the processor is configured to store first data and second data, stored in a first specified area of the volatile memory, in a second specified area of the volatile memory, to check the stored order of the first data and the second data stored in the second specified area, and to move at least one of the first data and the second data from the second specified area of the volatile memory to a third specified area of the non-volatile memory if the states of the first data and the second data satisfy a specified condition on the basis of the order. Other embodiments may be possible.

    Electronic device which prefetches application and method therefor

    公开(公告)号:US12032990B2

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

    申请号:US17432199

    申请日:2020-02-05

    IPC分类号: G06F7/06 G06F9/48 G06F9/54

    CPC分类号: G06F9/485 G06F9/544

    摘要: In certain embodiments, an electronic device comprises a display; a first memory; a second memory storing a plurality of applications; and a processor, wherein the processor is configured to: switch a screen displayed on the display from a first screen to a second screen, wherein the second screen includes a plurality of objects respectively indicating the plurality of applications; identify applications which are not running among the plurality of applications, in response to the switching to the second screen; and load data of at least one application from the second memory to the first memory, based on a predetermined criteria, before receiving an input selecting the at least one application.

    Electronic device and control method for controlling memory

    公开(公告)号:US11237741B2

    公开(公告)日:2022-02-01

    申请号:US16971580

    申请日:2019-02-13

    IPC分类号: G06F12/00 G06F3/06 G06F12/123

    摘要: An electronic device and a control method for controlling a memory are provided. An electronic device according to various embodiments of the present disclosure may comprise: a housing; a communication circuit; at least one processor operatively connected to the communication circuit; a non-volatile memory operatively connected to the processor and configured to store at least one file; and a volatile memory operatively connected to the processor, wherein the non-volatile memory stores instructions configured, when executed, to cause the processor to establish a first area and a second area on the volatile memory; store only first type data associated with the at least one file in the first area; store the first type data and/or store at least one second type data that is not associated with the at least one file, in the second area; receive a request for storing one of the at least one second type data, which exceeds a selected threshold value; and when the request is received, cause the first area to be in a state for storing the one of the at least one second type data, instead of the first type data.