# US 10,120,316 B2 · Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium

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

- Number: US 10,120,316 B2
- Document ID: US10120316B2
- Status: Granted
- Kind: B2
- Application number: 13/328,421
- Filed: 2011-12-16
- Published: 2012-06-21
- Granted: 2018-11-06
- Earliest claimed: 2010-12-16
- Assignees: Canon Kabushiki Kaisha
- Applicants: Tamotsu Takatani; So Yokomizo
- Inventors: Tamotsu Takatani; So Yokomizo
- Web page: https://patentgrep.com/patent/US10120316B2

## CPC

- G03G 15/5079: {for maintenance}
- G03G 15/5004: {Power supply control, e.g. power-saving mode, automatic power turn-off}
- G03G 15/55: {Self-diagnostics; Malfunction or lifetime display}
- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 11/1417: {Boot up procedures}
- G03G: ELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing apparatus capable of recovering the apparatus from a state in which software operation is abnormal to a state in which the same is normal. The information processing apparatus is provided with a CPU for receiving an instruction for turning off power of the information processing apparatus. Upon receipt of the instruction, the CPU determines whether or not it is necessary to turn off the power of the information processing apparatus. When it is necessary to turn off the power of the information processing apparatus, the CPU controls the information processing apparatus such that the power thereof is turned off, whereas when it is unnecessary to turn off the power of the information processing apparatus, the CPU controls the information processing apparatus such that the power thereof is not turned off.

## Claims

### Claim 1

A printing apparatus of which power states include at least a normal state, a power saving state, a first turned off state, and a second turned off state, the printing apparatus comprising:
a switch used by a user to turn off the printing apparatus,
a storage device that stores a set of instructions; and
at least one processor that executes the instructions to:
set one of at least two modes including an initialization mode and a resume mode,
wherein, in the initialization mode, the printing apparatus is started from an initialized state, and, in the resume mode, the printing apparatus is started from a resumed state,
wherein, in a case where the resume mode is set, the at least one processer executes following instructions to:
receive a turn off signal in a case where the switch is operated by the user to turn off the printing apparatus;
control to shift, in a case where no operation is performed in the normal state over a predetermined time period, the printing apparatus to the power saving state,
control to shift, in a case where a predetermined return factor occurs in the power saving state, the printing apparatus to the normal state, without an operation of the switch by the user;
control to shift, in response to the reception of the turn off signal, the printing apparatus to the first turned off state, at least under a condition that the printing apparatus is not in a predetermined state,
control to shift, in response to the reception of the turn off signal, the printing apparatus to the second turned off state, at least under a condition that the printing apparatus is in the predetermined state,
control to shift, in a case where the switch is operated by the user to turn on the printing apparatus in the first turned off state, the printing apparatus to the normal state, and
control to shift, in a case where the switch is operated by the user to turn on the printing apparatus in the second turned off state, the printing apparatus to the normal state,
wherein the predetermined state includes at least one of
a state in which a job to be executed by the printing apparatus is not executed properly,
a state in which an error has occurred on a software in a memory, turning off to the second turned off state being required to recover the image forming apparatus from the error,
a state in which update of a kernel of an Operating System (OS) is required,
a state in which change of the kernel is required, or
a state in which reboot of a module driver is required, and
wherein
power is supplied to the memory during the first turned off state, and
power is not supplied to the memory during the second turned off state,
wherein, in a case where the initialization mode is set, the at least one processor executes instructions to:
receive a turn off signal in a case where the switch is operated by the user to turn off the printing apparatus; and
control to shift, in response to the reception of the turn off signal, the printing apparatus to the second turned off state so that the printing apparatus is initialized in the next start processing of the printing apparatus, irrespective of whether or not the printing apparatus is in the predetermined state.

### Claim 2 (depends on 1)

The printing apparatus according to claim 1, wherein the power states of the printing apparatus further include a sleep state which is a different power state from the first turned off state, and is a different power state from the second turned off state.

### Claim 3 (depends on 2)

The printing apparatus according to claim 2, wherein the printing apparatus shifts from the normal state to the sleep state if no operation is detected over a predetermined time period.

### Claim 4 (depends on 1)

The printing apparatus according to claim 1, wherein the predetermined state includes a freeze state or a state in which all the areas of the memory are exhausted.

### Claim 5 (depends on 1)

The printing apparatus according to claim 1, wherein the memory is a volatile memory.

### Claim 6 (depends on 1)

The printing apparatus according to claim 1, wherein the at least one processor further executes instructions in the storage device to:
restore the printing apparatus after shifting the printing apparatus to the second power off state.

### Claim 7 (depends on 1)

The printing apparatus according to claim 1, wherein the first turned off state is an S3 state of ACPI (Advanced Configuration and Power interface) and the second turned off state is an S5 state of ACPI.

### Claim 8

A method of controlling a printing apparatus of which power states include at least a normal state, a power saving state, a first turned off state, and a second turned off state, the printing apparatus including a switch used by a user to turn off the printing apparatus and a storage device that stores a set of instructions, the method comprising the steps of:
setting one of at least two modes including an initialization mode and a resume mode,
wherein, in the initialization mode, the printing apparatus is started from an initialized state, and, in the resume mode, the printing apparatus is started from a resumed state,
wherein, in a case where the resume mode is set, the printing apparatus is controlled to perform the steps of:
receiving a turn off signal in a case where the switch is operated by the user to turn off the printing apparatus;
shifting, in a case where no operation is performed in the normal state over a predetermined time period, the printing apparatus to the power saving state,
shifting, in a case where a predetermined return factor occurs in the power saving state, the printing apparatus to the normal state, without an operation of the switch by the user;
shifting, in response to the reception of the turn off signal, the printing apparatus to the first turned off state, at least under a condition that the printing apparatus is not in a predetermined state, and
shifting, in response to the reception of the turn off signal, the printing apparatus to the second turned off state, at least under a condition that the printing apparatus is in the predetermined state,
shifting, in a case where the switch is operated by the user to turn on the printing apparatus in the first turned off state, the printing apparatus to the normal state, and
shifting, in a case where the switch is operated by the user to turn on the printing apparatus in the second turned off state, the printing apparatus to the normal state,
wherein the predetermined state includes at least one of
a state in which a job to be executed by the printing apparatus is not executed properly,
a state in which an error has occurred on a software in a memory, turning off to the second turned off state being required to recover the image forming apparatus from the error,
a state in which update of a kernel of an Operating System (OS) is required,
a state in which change of the kernel is required, or
a state in which reboot of a module driver is required, and
wherein
power is supplied to the memory during the first turned off state, and power is not supplied to the memory during the second turned off state,
wherein, in a case where the initialization mode is set, the printing apparatus is controlled to perform the steps of:
receiving a turn off signal in a case where the switch is operated by the user to turn off the printing apparatus; and
shifting, in response to the reception of the turn off signal, the printing apparatus to the second turned off state so that the printing apparatus is initialized in the next start processing of the printing apparatus, irrespective of whether or not the printing apparatus is in the predetermined state.

### Claim 9

A non-transitory computer-readable storage medium storing a program configured to, when executed by a computer, cause the computer to perform a method of controlling a printing apparatus of which power states include at least a normal state, a power saving state, a first turned off state, and a second turned off state, the printing apparatus including a switch used by a user to turn off the printing apparatus and a storage device that stores a set of instructions, the method comprising the steps of:
setting one of at least two modes including an initialization mode and a resume mode,
wherein, in the initialization mode, the printing apparatus is started from an initialized state, and, in the resume mode, the printing apparatus is started from a resumed state,
wherein, in a case where the resume mode is set, the printing apparatus is controlled to perform the steps of:
receiving a turn off signal in a case where the switch is operated by the user to turn off the printing apparatus;
shifting, in a case where no operation is performed in the normal state over a predetermined time period, the printing apparatus to the power saving state,
shifting, in a case where a predetermined return factor occurs in the power saving state, the printing apparatus to the normal state, without an operation of the switch by the user;
shifting, in response to the reception of the turn off signal, the printing apparatus to the first turned off state, at least under a condition that the printing apparatus is not in a predetermined state, and
shifting, in response to the reception of the turn off signal, the printing apparatus to the second turned off state, at least under a condition that the printing apparatus is in the predetermined state,
shifting, in a case where the switch is operated by the user to turn on the printing apparatus in the first turned off state, the printing apparatus to the normal state, and
shifting, in a case where the switch is operated by the user to turn on the printing apparatus in the second turned off state, the printing apparatus to the normal state,
wherein the predetermined state includes at least one of
a state in which a job to be executed by the printing apparatus is not executed properly,
a state in which an error has occurred on a software in a memory, turning off to the second turned off state being required to recover the image forming apparatus from the error,
a state in which update of a kernel of an Operating System (OS) is required,
a state in which change of the kernel is required, or
a state in which reboot of a module driver is required, and
wherein
power is supplied to the memory during the first turned off state, and power is not supplied to the memory during the second turned off state,
wherein, in a case where the initialization mode is set, the printing apparatus is controlled to perform the steps of:
receiving a turn off signal in a case where the switch is operated by the user to turn off the printing apparatus; and
shifting, in response to the reception of the turn off signal, the printing apparatus to the second turned off state so that the printing apparatus is initialized in the next start processing of the printing apparatus, irrespective of whether or not the printing apparatus is in the predetermined state.
