Electronic device and control method for controlling memory

    公开(公告)号:US11237741B2

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

    申请号:US16971580

    申请日:2019-02-13

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

Patent Agency Ranking