# US 2013/0254575 A1 · Electronic device having memories and method for managing memories thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0254575 A1
- Document ID: US20130254575A1
- Status: Published application
- Kind: A1
- Application number: 13/592,362
- Filed: 2012-08-23
- Published: 2013-09-26
- Earliest claimed: 2012-03-26
- Assignees: Hon Hai Precision Industry Co., Ltd.; HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
- Inventors: FA-SHENG HUANG
- Web page: https://patentgrep.com/patent/US20130254575A1

## CPC

- G06F 1/3225: of memory devices
- G06F 1/3275: {Power saving in memory, e.g. RAM, cache}
- G06F 1/3287: by switching off individual functional units in the computer system
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- Y02D 30/50: in wire-line communication networks, e.g. low power modes or reduced link rate
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for managing memories in an electronic device includes the following steps. Detecting a change in status of all the applications installed in the electronic device, wherein the change in status of each application may include at least one start-to-run application or at least one stop-running application. If the at least one stop-running application is detected, obtaining memories occupied by the stop-running application, and powering off each obtained memory occupied by other running application. If the at least one start-to-run application is detected, determining a memory size required to enable each start-to-run application to run, determining whether a working condition of the memories needs to be changed according to the determined memory size required, and powering on the memories that are needed to enable the start-to-run application to run.

## Claims

### Claim 1

An electronic device comprising:
a plurality of memories;
a plurality of applications;
a processor; and
a plurality of modules to be executed by the processor, the plurality of modules comprising:
a detecting module to detect a change in status of all the applications, wherein the change in status of the applications comprises at least one start-to-run application of the plurality of applications or at least one stop-running application of the plurality of applications; and the detecting module further to determine a memory size required to enable each start-to-run application to run if at least one start-to-run application is detected;
an analyzing module configured to:
obtain memories of the plurality of memories occupied by the at least one stop-running application if the at least one stop-running application is detected, and determine whether each obtained memory is occupied by any other running application; and
determine whether a working condition of the memories needs to be changed according to the determined memory size, if the at least one start-to-run application is detected; and
a power supply module configured to:
stop supplying power to the obtained memory only occupied by the at least one stop-running application; and
power on the memories that needed to change the working condition to enable the at least one start-to-run application to run.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein if at least one start-to-run application is detected, the analyzing module further determines a memory size sufficient to run the start-to-run application, and obtains at least one idle memory with a storage capacity of not less than the determined occupied memory size; and then the power supply module powers on the obtained idle memory.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein the analyzing module obtains an idle memory with a storage capacity equal to the determined occupied memory size.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein if at least one start-to-run application is detected, the analyzing module determines a memory size required for the start-to-run application, obtains a proportion of the capacity of each working memory which is being used, calculates a total free capacity of the working memories based on the obtained capacity being used, and then compares the determined memory size with the total free capacity; if the determined memory size is not more than the total free capacity, the power supply module maintains the working condition of the memories; if the determined memory size is less than the total free capacity, the analyzing module calculates a difference between the determined memory size and the total free capacity, and obtains at least one idle memory with a storage capacity of not less than the calculated difference, and then the power supply module powers on the obtained idle memory.

### Claim 5 (depends on 1)

The electronic device of claim 1, wherein if at least one start-to-run application and at least one stop-running application are simultaneously detected, the analyzing module compares the memory size to be occupied by the start-to-run application with the memory size to be released by the stop-running application; if the memory size to be occupied by the start-to-run application is greater than the memory size to be released by the stop-running application, the analyzing module calculates a difference between the memories sizes, obtains at least one idle memory with a storage capacity not less than the calculated difference, and then the power supply module powers on the obtained memory; if the memory size to be occupied by the start-to-run application is equal to or less than the memory size to be released by the stop-running application, the power supply module maintains the working condition of the memories.

### Claim 6

A method for managing memories of an electronic device, the method comprising:
detecting a change in status of all application installed in the electronic device, wherein the change in status of the applications comprises at least one start-to-run application of the plurality of applications or at least one stop-running application of the plurality of applications;
obtaining memories of the plurality of applications occupied by the at least one stop-running application if the at least one stop-running application is detected, determining whether each obtained memory is occupied by any other running application, and stopping supplying power to the obtained memory only occupied by the at least one stop-running application;
determining a memory size required to enable each start-to-run application to run if at least one start-to-run application is detected, determining whether a working condition of the memories needs to be changed according to the determined memory size, and powering on the memories that need to change the working condition to enable the at least one start-to-run application to run.
