# US 2009/0261871 A1 · Method and system for power saving and state retention in electronic device

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

- Number: US 2009/0261871 A1
- Document ID: US20090261871A1
- Status: Published application
- Kind: A1
- Application number: 12/339,451
- Filed: 2008-12-19
- Published: 2009-10-22
- Earliest claimed: 2008-04-17
- Assignees: Ralink Technology Corporation
- Inventors: Kuo-Cheng Lu
- Web page: https://patentgrep.com/patent/US20090261871A1

## CPC

- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and a system for power saving and state retention in an electronic device are provided. The method for power saving and state retention in an electronic device includes recording a state variation of electronic components of a plurality of groups in a second circuit of the electronic device in a variation table stored in memory of a first circuit or the second circuit of the electronic device; before stopping providing power to the second circuit, selecting some groups from the plurality of groups according to the variation table and making a backup of states of electronic components of the selected groups; and after restoring power to the second circuit, restoring the states of electronic components of the selected groups according to states in the backup.

## Claims

### Claim 1

A method for power saving and state retention in an electronic device, wherein the electronic device comprises a first circuit having a plurality of electronic components, a second circuit and a memory having a variation table, comprising the steps of:
dividing the plurality of electronic components into a plurality of groups;
detecting a state variation of the electronic components of each of the groups in the first circuit;
recording the state variation of the electronic components of each of the groups in the first circuit to the variation table, wherein the variation table comprises a plurality of flags corresponding to the plurality of groups, and when the state variation happens to the electronic components of any group, determining if a flag value in the variation table corresponding to the group with the state variation is to be changed;
selecting a part of the plurality of groups as selected groups according to values of the plurality of flags in the variation table, and making a backup of states of the electronic components of the selected groups;
stopping power supply to the first circuit when the backup of the states of the electronic components of the selected groups is completed;
restoring power supply to the first circuit; and
restoring the states of the electronic components of the selected groups to the states before stopping power supply to the first circuit based on the backup of states of the electronic components.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of detecting the state variation of the electronic components of each of the groups in the first circuit includes analyzing signals transmitted to the electronic components.

### Claim 3 (depends on 1)

The method of claim 1, wherein the selected groups consist of those groups having the electronic components with varied states.

### Claim 4 (depends on 1)

The method of claim 1, wherein the electronic components of the first circuit include flip flop, latch, counter, and memory.

### Claim 5 (depends on 1)

The method of claim 1, wherein the step of selecting a part of the plurality of groups is performed based on a predetermined strategy and the values of the plurality of flags in the variation table.

### Claim 6 (depends on 1)

The method of claim 1, further comprising: providing power to the second circuit when power is not supplied to the first circuit.

### Claim 7 (depends on 1)

The method of claim 1, wherein the states of the electronic components and the variation table are separately stored in different memories, or separately stored in a plurality of memories.

### Claim 8

A system for power saving and state retention in an electronic device, comprising:
a first circuit comprising a plurality of electronic components;
a second circuit comprising a power control unit for switching power to the first circuit; and
a memory comprising a variation table for recording a state variation of the electronic components in the first circuit.

### Claim 9 (depends on 8)

The system of claim 8, wherein the electronic components include flip flop, latch, counter, and memory.

### Claim 10 (depends on 8)

The system of claim 8, wherein the electronic components are divided into a plurality of groups.

### Claim 11 (depends on 8)

The system of claim 8, further comprises:
a functional unit for operating particular functions;
a bus electrically connected to the power control unit of the second circuit, the functional unit, and the electronic components, wherein the bus transmits commands and information among the power control unit, the functional unit, and the electronic components; and
a state variation detection unit electrically connected to the power control unit nd the bus, wherein the state variation detection unit analyzes signals transmitted from the power control unit to the electronic components, and detects if the state variation happens to the electronic components in the first circuit, and transmits the analysis outcome to the power control unit, wherein when the state variation of any one electronic component is detected, the power control unit immediately changes a flag value saved in the memory corresponding to the varied electronic components according to analysis outcome by the state variation detection unit.

### Claim 12 (depends on 11)

The system of claim 11, wherein the functional unit deciphers, encrypts, or processes digital signal.

### Claim 13 (depends on 11)

The system of claim 11, wherein the state variation detection unit begins to operate immediately after the first circuit is provided with power and detects the state variation of the electronic components during a time period from the first circuit being provided with power till power supply to the first circuit being cut off.

### Claim 14 (depends on 13)

The system of claim 13, wherein if the state variation detection unit detects that the state of any of the electronic components is varied, the flag value in the variation table corresponding to the group with the varied electronic components is changed; if the flag value is previously changed, the flag value will not be further changed.

### Claim 15 (depends on 8)

The system of claim 8, wherein the states of the electronic components and the variation table are separately stored in different memories, or stored in a plurality of memories.

### Claim 16 (depends on 8)

The system of claim 8, wherein the first circuit is provided with power continuously during an operation time period.

### Claim 17 (depends on 8)

The system of claim 8, wherein power supply to the second circuit is turned on or off depending on a demand.

### Claim 18 (depends on 8)

The system of claim 8, wherein the memory is allocated to the first circuit or the second circuit.
