1. Field of the Invention
The present invention relates to an information processing apparatus having a plurality of power modes, and more particularly to shifting between a plurality of power modes.
2. Description of the Related Art
In recent years, as an image forming apparatus, which is an example of an information processing apparatus, is multi-functionalized, the construction thereof becomes complicated, and it takes more time to start up the image forming apparatus.
To solve this problem, there have been proposed various techniques for reducing time taken to start up the image forming apparatus (see e.g. Japanese Patent Laid-Open Publication No. 2006-92474).
The information processing apparatus disclosed in Japanese Patent Laid-Open Publication No. 2006-92474 has a standby mode, a first energy saving mode, and a second energy saving mode, as power modes thereof. When the information processing apparatus is in the first energy saving mode, only a RAM and the minimum number of devices necessary for returning from the first energy saving mode are energized. Further, in the first energy saving mode, return data (first return data) necessary for returning from the first energy saving mode are stored in the RAM, and when a return event causing a return from the first energy saving mode occurs, the information processing apparatus returns from the first energy saving mode to the standby mode based on the return data stored in the RAM. Further, when the information processing apparatus is in the second energy saving mode, only the minimum number of devices necessary for returning from the second energy saving mode are energized. In the second energy saving mode, the information processing apparatus stores in advance return data (second return data) necessary for returning from the second energy saving mode in a hard disk, and when a return event causing a return from the second energy saving mode occurs, the information processing apparatus returns from the second energy saving mode to the standby mode based on the return data stored in the hard disk.
When shifting from the standby mode to the first energy saving mode, the disclosed information processing apparatus stores the first return data in the RAM, and stores the second return data in the hard disk. If the power switch is turned off in the first energy saving mode, the information processing apparatus shifts to the second energy saving mode. Then, when a return event causing a return from the second energy saving mode occurs, power is supplied to the whole information processing apparatus, and the information processing apparatus returns to the standby mode based on the second return data stored in the hard disk.
To cause the information processing apparatus to return from the second energy saving mode to the standby mode, the second return data read from the hard disk is restored in the RAM, and then the information processing apparatus is caused to return to the standby mode based on the second return data. In this information processing apparatus, however, it takes time to restore the second return data stored in the hard disk in the RAM. Therefore, in the case of the information processing apparatus disclosed in Japanese Patent Laid-Open Publication No. 2006-92474, if the power switch is turned off in the first energy saving mode to cause the apparatus to shift to the second energy saving mode, it takes time before the information processing apparatus returns to the standby mode.
The present invention provides an information processing apparatus that is capable of reducing time taken to return to a standby state after turn-off a power switch in a power saving state, a method of controlling the information processing apparatus, and a storage medium.
In a first aspect of the present invention, there is provided an information processing apparatus that has a plurality of power modes, comprising a power supply unit configured to supply power to an information processing unit and a storage unit that stores information used by the information processing unit, when the information processing apparatus is in a standby mode in which the information processing unit can perform information processing, supply power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a first power saving mode to which the information processing apparatus is caused to shift when having a power switch turned off, and supply power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a second power saving mode to which the information processing apparatus is caused to shift without having the power switch turned off on condition that a shift-to-power saving state requirement defined in advance is satisfied, a first control unit configured to cause the information processing apparatus to shift from the first power saving mode to the standby mode by using first status information stored in the storage unit, and a storing unit configured to store the first status information in the storage unit such that the storage unit stores the first status information in a state of the second power saving mode.
In a second aspect of the present invention, there is provided an information processing apparatus that has a plurality of power modes, comprising a power supply unit configured to supply power to an information processing unit and a storage unit that stores information used by the information processing unit, when the information processing apparatus is in a standby mode in which the information processing unit can perform information processing, supply power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a first power saving mode to which the information processing apparatus is caused to shift when having a power switch turned off, and supply power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a second power saving mode to which the information processing apparatus is caused to shift without having the power switch turned off on condition that a shift-to-power saving state requirement defined in advance is satisfied, a first control unit configured to cause the information processing apparatus to shift from the first power saving mode to the standby mode by using first status information stored in the storage unit, and a storing unit configured to store the first status information in the storage unit when the power switch is turned off in a state of the second power saving mode.
In a third aspect of the present invention, there is provided a method of controlling an information processing apparatus that has a plurality of power modes, comprising supplying power to an information processing unit and a storage unit that stores information used by the information processing unit, when the information processing apparatus is in a standby mode in which the information processing unit can perform information processing, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a first power saving mode to which the information processing apparatus is caused to shift when having a power switch turned off, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a second power saving mode to which the information processing apparatus is caused to shift without having the power switch turned off on condition that a shift-to-power saving state requirement defined in advance is satisfied, causing the information processing apparatus to shift from the first power saving mode to the standby mode by using first status information stored in the storage unit, and storing the first status information in the storage unit such that the storage unit stores the first status information in a state of the second power saving mode.
In a fourth aspect of the present invention, there is provided a method of controlling an information processing apparatus that has a plurality of power modes, comprising supplying power to an information processing unit and a storage unit that stores information used by the information processing unit, when the information processing apparatus is in a standby mode in which the information processing unit can perform information processing, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a first power saving mode to which the information processing apparatus is caused to shift when having a power switch turned off, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a second power saving mode to which the information processing apparatus is caused to shift without having the power switch turned off on condition that a shift-to-power saving state requirement defined in advance is satisfied, causing the information processing apparatus to shift from the first power saving mode to the standby mode by using first status information stored in the storage unit, and storing the first status information in the storage unit when the power switch it turned off in a state of the second power saving mode.
In a fifth aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing a computer-executable program for causing a computer to execute a method of controlling an information processing apparatus that has a plurality of power modes, wherein the method comprises supplying power to an information processing unit and a storage unit that stores information used by the information processing unit, when the information processing apparatus is in a standby mode in which the information processing unit can perform information processing, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a first power saving mode to which the information processing apparatus is caused to shift when having a power switch turned off, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a second power saving mode to which the information processing apparatus is caused to shift without having the power switch turned off on condition that a shift-to-power saving state requirement defined in advance is satisfied, causing the information processing apparatus to shift from the first power saving mode to the standby mode by using first status information stored in the storage unit, and storing the first status information in the storage unit such that the storage unit stores the first status information in a state of the second power saving mode.
In a sixth aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing a computer-executable program for causing a computer to execute a method of controlling an information processing apparatus that has a plurality of power modes, wherein the method comprises supplying power to an information processing unit and a storage unit that stores information used by the information processing unit, when the information processing apparatus is in a standby mode in which the information processing unit can perform information processing, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a first power saving mode to which the information processing apparatus is caused to shift when having a power switch turned off, supplying power to the storage unit without supplying power to the information processing unit, when the information processing apparatus is in a second power saving mode to which the information processing apparatus is caused to shift without having the power switch turned off on condition that a shift-to-power saving state requirement defined in advance is satisfied, causing the information processing apparatus to shift from the first power saving mode to the standby mode by using first status information stored in the storage unit, and storing the first status information in the storage unit when the power switch it turned off in a state of the second power saving mode.
According to the present invention, an operation is promptly performed for returning from a state of the apparatus caused by turning off the power switch, whereby it is possible to reduce the time taken to return from the state.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
The present invention will now be described in detail below with reference to the accompanying drawings showing embodiments thereof. The component elements described in the embodiment are only described by way of example, and are by no means intended to limit the scope of the present invention to them alone. Further, a description will be given of an image forming apparatus as an example of an information processing apparatus.
The illustrated image forming apparatus includes an image reader 200, a printer section 300, a folder 500, and a finisher 600. An document feeder 100 is mounted on a top of the image reader 200.
The document feeder 100 sequentially feeds originals set on a document tray 105 one by one from the leading page. The originals are conveyed via a curved path to an original platen glass 205.
To read an original having an image formed on one side thereof (single-sided original), a trailing end of the single-sided original is positioned at a reading position R1 on the original platen glass 205. Then, a scanner unit 206 is shifted from left to right, as viewed in
On the other hand, there is also a case where a single-sided original is read while being shifted to the reading position R1 at a predetermined reading speed, with the scanner unit 206 fixed to the reading position R1. Such reading of the original is referred to as the “moving original reading mode”. In both of the reading modes, an original, after being read, is discharged onto a discharge tray 106.
To read an original having images formed on both sides thereof (double-sided original), in general, the scanner unit 206 reads the image on the front side of the original. The image on the back side of the original is read using an optical unit 110 disposed in the document feeder 100. Note that optical unit 110 is provided with an image sensor and a light source (neither of which is shown).
An optical image obtained as a result of reading the image by the scanner unit 206 is formed on an image sensor 208 via a lens 207. The image sensor 208 outputs an electric signal (analog signal) corresponding to the optical image. This analog signal is converted to image data, which is a digital signal, by a printer controller (not shown in
The exposure controller 505 irradiates a laser beam modulated according to the image data onto a photosensitive drum 506. This forms an electrostatic latent image according to the image data on the photosensitive drum 506. The electrostatic latent image is developed by a developing device 507 into a toner image.
A sheet is conveyed from one of cassettes 308 and 309 and a manual sheet feeder 310 to a transfer position, at which the toner image on the photosensitive drum 506 is transferred onto the sheet by a transfer section 312. Note that in the case of double-sided printing, the sheet is fed from a double-sided conveying path 311 to the transfer position.
The sheet having the toner image transferred thereon is conveyed to a fixing section 313. The fixing section 313 performs fixing processing for fixing the toner image on the sheet. The sheet having undergone the fixing processing is once guided from a path 315 to a path 314 by a flapper (not shown). After the trailing end of the sheet has left the path 315, the sheet is switched back to be guided from the path 316 to a discharge roller 317.
As a consequence, the sheet is discharged face-down, i.e. with a toner image-transferred surface thereof facing downward, from the discharge roller 317. This discharge of the sheet is referred to as “inverted discharge”. For example, in a case where a plurality of originals are read using the document feeder 100 and are printed, if sheets are discharged face-down, images of the originals can be sequentially formed on the sheets in the order of pages starting from the leading page.
Note that to perform image formation by feeding a hard sheet, such as an OHP (overhead projector) sheet, from the manual sheet feeder 310, the sheet is discharged from the discharge roller 317 face-up, i.e. with a toner image-transferred surface thereof facing upward, without being guided into the path 315.
When images are formed on both sides of the sheet, the sheet is guided from the fixing section 313 into the path 315 and then to the path 314. Then, the sheet is switched back immediately after the trailing end of the sheet has left the path 315, and is guided into the double-sided conveying path 311 by a flapper (not shown). The sheet is sent to the transfer position via the double-sided conveying path 311 again, and a toner image is transferred onto the back side of the sheet by the transfer section 312. After that, the sheet is subjected to the fixing processing by the fixing section 313, and is discharged, as described above.
The lengths of paths and the arrangement of rollers are defined and the drive system is divided, such that sheet conveyance can be performed even in a state where five half-size sheets, such as sheets of A4 or B5 size, are guided into one circular path extending from the transfer section 312 and returning to the transfer section 312 again via the double-sided conveying path 311.
Note that during double-sided copy, sheets are discharged with odd number pages facing downward. This makes it possible to stack the sheets in a correct page order also in the double-sided copy.
In the case of the illustrated image forming apparatus, a sheet discharged from the discharge roller 317 is sent to the folder 500. Here, the folder 500 performs Z-folding processing for folding the sheet into a Z shape. When the Z-folding processing is designated for a sheet of A3 or B4 size, the folder 500 performs the Z-folding processing on the sheet, and then sends the sheet to the finisher 600.
Note that when the Z-folding processing is not designated, sheets of sizes other than the A3 or B4 size are sent to the finisher 600 without being subjected to the Z-folding processing in the folder 500.
The finisher 600 performs bookbinding processing, stapling processing, punching processing, and so forth. An inserter 700 is mounted on top of the finisher 600. The inserter 700 feeds e.g. cover sheets and interleaved sheets to the finisher 600.
A controller control section 400 controls the image forming apparatus by communicating with the image reader 200, the printer section 300, the folder 500, and the finisher 600.
Referring to
The document feeder controller 101 controls the document feeder 100 under the control of the controller control section 400. The image reader controller 201 controls the image reader 200 under the control of the controller control section 400. The printer controller 301 controls the printer section 300 under the control of the controller control section 400. The folder controller 501 controls the folder 500 under the control of the controller control section 400. The finisher controller 601 controls the finisher 600 under the control of the controller control section 400.
The controller control section 400 acquires image data obtained as a result of reading of an original, by controlling the document feeder controller 101 and the image reader controller 201 according to settings of the console section 800 or instructions from the computer 453. Further, the controller control section 400 performs printing on sheets based on image data by controlling the printer controller 301. Further, the controller control section 400 performs stapling processing or punching processing on sheets by controlling the folder controller 501 and the finisher controller 601.
Furthermore, the controller control section 400 receives print data (image data) from the computer 453 via the external interface 451, and performs printing processing based on the image data. Further, the controller control section 400 transmits image data stored in a hard disk (HD), referred to hereinafter, to the computer 453.
Referring to
Note that the ROM 402 stores settings indicating whether or not to enable a second waiting state P103, referred to hereinafter. The settings are sent to a power supply controller 410, described hereinafter.
A semiconductor disk (auxiliary storage device) 408 stores main programs including the OS. Further, the semiconductor disk 408 temporarily stores image data when the image forming apparatus is in operation. A HDD (auxiliary storage device) 407 stores image data acquired by a user and image data obtained when the user has edited images using the console section 800, as described hereinafter.
As shown in
The CPU 401 communicates with a device controller 409 via the bus bridge 404. The device controller 409 controls the document feeder controller 101, the image reader controller 201, the printer controller 301, the folder controller 501, and the finisher controller 601.
The power supply controller 410 performs power supply control by detecting the state of a main switch (power switch) 302 for supplying power to the image forming apparatus. More specifically, the power supply controller 410 controls the supply of power to the document feeder controller 101, the image reader controller 201, the printer controller 301, the folder controller 501, and the finisher controller 601.
In a power saving mode and a second standby mode, described hereinafter, the power supply control is performed by the power supply controller 410. Further, the HDD 407 and the semiconductor disk 408 are independently supplied with power, and the power supply controller 410 controls supply and cut-off of power to the HDD 407 and the semiconductor disk 408.
The return factor-detecting section 411 detects a return factor causing a return from the power saving mode. More specifically, when the image forming apparatus is in the power saving mode, if a main switch (SW) key of the console section 800 is depressed or a print job is input via the external interface 451, for example, the return factor-detecting section 411 notifies the power supply controller 410 of the fact. Upon receipt of the notification, the power supply controller 410 supplies power to the image forming apparatus to thereby cause the image forming apparatus to return from the power saving mode, as described hereinafter.
The console section 800 includes an LCD display section 900. The LCD display section 900 has a touch panel sheet attached to an LCD (liquid crystal display). The LCD display section 900 displays an operation screen concerning the image forming apparatus, and in response to a key operation on the operation screen, sends position information associated with the key operation to the controller control section 400.
Ten keys 801 are used for inputting numeric characters, such as the number of sheets for copying. A start key 802 is depressed e.g. to start a copy operation or an original reading operation after conditions desired by the user have been set. A stop key 803 is used to stop an operation being processed. An energy saving key 804 is used when the user causes the image forming apparatus to shift to an energy saving mode and return from the energy saving mode.
A guide key 805 is used when the user is unfamiliar with the functions of the respective keys of the console section 800. When the guide key 805 is depressed, descriptions of the keys are displayed on the LCD display section 900. A copy mode key 806 is used to perform copying. A facsimile key 807 is used to configure settings of a facsimile. A file key 808 is used to output file data. A printer key 809 is used to configure settings concerning print output from an external device, such as a computer.
Referring to
When the commercial power source 303 is connected, if the second waiting state P103 (first power saving mode), referred to hereinafter, has been disabled, it is possible to cut off a first power supply 304 by the power supply controller 410.
In a standby state (standby mode) P101, the image forming apparatus is operable at any time, and can accept all operations. In this standby state P101, the main switch 302 has been turned on. In the standby state P101, power is supplied from the first power supply 304 to the RAM 403, the power supply controller 410, the first switch 305, and the return factor-detecting section 411. The power supply controller 410 controls the on/off of each of the main switch 302, the first switch 305, and the second switch 306. The first switch 305 is provided between the first power supply 304 and the return factor-detecting section 411. When the first switch 305 is turned on by the power supply controller 410, power is supplied from the first power supply 304 to the return factor-detecting section 411. Further, the second switch 306 is provided between the commercial power source 303 and the second power supply 307. When the second switch 306 is turned on by the power supply controller 410, power is supplied from the commercial power source 303 to the second power supply 307. Note that when the second switch 306 is on, the second power supply 307 supplies power to the CPU 401, the ROM 402, the semiconductor disk 408, the HDD 407, and the device controller 409.
In a power saving state (second power saving mode) P102, it is made possible to detect a return factor causing a return from the power saving mode using the return factor-detecting section (return factor-detecting unit) 411, and the power consumption of the image forming apparatus is lower than in the standby state P101. In the illustrated example, power is supplied to the power supply controller 410, the RAM 403, and the return factor-detecting section 411. In this embodiment, the power supply controller 410 turns on the first power supply 304 and the first switch 305, and turns off the second switch 306.
In the power saving state P102, the status of programs operating on the image forming apparatus and data immediately before the image forming apparatus shifts from the standby state to the power saving state P102 is stored in the RAM 403 as a memory image. In this embodiment, the memory image is referred to as the “power saving memory image (second status information)”. The power saving memory image represents a status of the image forming apparatus, and is data created by forming the status of the CPU (information on setting registers), the status of electronic devices connected to the CPU 401, and the working states of the OS and applications immediately before the image forming apparatus shifts to the power saving mode, as a memory image. The data of this memory image is necessary for executing a restoring process for returning from the power saving mode.
The second waiting state P103 is a standby state for causing the image forming apparatus to shift to the standby state P101 at a high speed, and the power consumption of the image forming apparatus is lower than in the power saving state P102. In the second waiting state P103, power is supplied to the power supply controller 410 and the RAM 403. The power supply controller 410 turns off the second switch 306 and the first switch 305, and turns on the first power supply 304. As a consequence, power is supplied from the first power supply 304 to the RAM 403 and the power supply controller 410.
In the second waiting state P103, the status of programs operating on the image forming apparatus and data immediately after the image forming apparatus has shifted from the first waiting state P100 to the standby state P101 is stored in the RAM 403 as a memory image. In this embodiment, the memory image is referred to as the “standby memory image (first status information)”. The standby memory image represents a status of the image forming apparatus immediately after the image forming apparatus has been started up, and is data created by forming the status of the CPU (information on setting registers), the status of the electronic devices connected to the CPU, and the working states of the OS and applications, as a memory image. The data of this memory image is necessary for executing a restoring process for returning from the power saving mode.
The power saving memory image and the standby memory image, stored in the RAM 403, are different in the following points:
As described hereinabove, the power saving memory image represents the status of the image forming apparatus immediately before the image forming apparatus shifts from the standby state P101 to the power saving state P102. For example, an image actually being displayed on the LCD display section 900 is an image immediately before the image forming apparatus shifts to the power saving state P102, and hence this image can be different each time.
On the other hand, the standby memory image represents the status of the image forming apparatus immediately after the image forming apparatus has shifted from the first waiting state P100 to the standby state P101. Therefore, in this case, for example, an image displayed on the LCD display section 900 is the same each time, so that it is possible to reuse the memory image already stored.
In the present embodiment, the standby memory image is stored in the HDD 407 or the semiconductor disk 408, as described hereinafter. In the present embodiment, a description is given assuming that the standby memory image is stored in the HDD 407. However, it is also possible to change the hardware configuration of the image forming apparatus and an image displayed on the LCD display section 900 immediately after the image forming apparatus has shifted from the first waiting state P100 to the standby state P101, and therefore it is effective to periodically recreate, i.e. update the standby memory image.
For example, the CPU 401 may cause the image forming apparatus to shift to the first waiting state P100 at predetermined time intervals, and then create the standby memory image immediately after the image forming apparatus has shifted from the first waiting state P100 to the standby state P101.
Next, a description will be given of control of power supply shift performed by the power supply controller 410.
In the first waiting state P100, no power is supplied to the power supply controller 410. When the user turns on the main switch 302, the power supply controller 410 supplies power to the image forming apparatus. This causes the image forming apparatus to start from an initialized state and then shift to the standby state P101.
In the standby state P101, when a first predetermined shift requirement is satisfied, the image forming apparatus shifts from the standby state P101 to the power saving state P102. An example of the first shift requirement is that there elapses a time period (shift-to-power saving state time) set for the image forming apparatus or the user instructs to shift the image forming apparatus to the power saving state P102.
Anyway, when the image forming apparatus has not been used for the time period (shift-to-power saving state time) set in advance, the CPU 401 creates a power saving memory image in the RAM 403, and causes the image forming apparatus to shift from the standby state P101 to the power saving state P102.
In the power saving state P102, when a second predetermined shift requirement is satisfied, the image forming apparatus shifts from the power saving state P102 to the standby state P101 (corresponding to an operation of a second control unit). An example of the second shift requirement is that the energy saving key 804 appearing in
More specifically, upon detection of satisfaction of a shift-to-standby state requirement (return factor), the return factor-detecting section 411 notifies the power supply controller 410 of the fact. This causes the power supply controller 410 to perform power supply control to thereby cause the image forming apparatus to shift from the power saving state P102 to the standby state P101.
In the standby state P101, when a third predetermined shift requirement is satisfied, the image forming apparatus shifts from the standby state P101 to the first waiting state P100. An example of the third shift requirement is that the second waiting state P103 has been set to be disabled and at the same time the main switch 302 is turned off.
When the third shift requirement is satisfied, the CPU 401 executes shutdown of the image forming apparatus, and instructs the power supply controller 410 to shift the image forming apparatus to the first waiting state P100. This causes the image forming apparatus to shift from the standby state P101 to the first waiting state P100. Note that when recreating the above-described standby memory image, the image forming apparatus once shifts to the first waiting state P100.
In the standby state P101, when a fourth predetermined shift requirement is satisfied, the image forming apparatus shifts from the standby state P101 to the second waiting state P103. An example of the fourth shift requirement is that the second waiting state P103 has been set to be enabled and at the same time the main switch 302 is turned off.
When the fourth shift requirement is satisfied, the CPU 401 stores the standby memory image in the RAM 403, and instructs the power supply controller 410 to shift the image forming apparatus to the second waiting state P103. This causes the image forming apparatus to shift from the standby state P101 to the second waiting state P103.
In the second waiting state P103, when a fifth predetermined shift requirement is satisfied, the image forming apparatus shifts from the second waiting state P103 to the standby state P101 (first control unit). An example of the fifth shift requirement is that the main switch 302 is turned on by the user. When the fifth shift requirement is satisfied, the power supply controller 410 supplies power to the image forming apparatus to shift the image forming apparatus from the second waiting state P103 to the standby state P101.
In the power saving state P102, when a sixth predetermined shift requirement is satisfied, the image forming apparatus shifts from the power saving state P102 to the first waiting state P100. An example of the sixth shift requirement is that when the image forming apparatus is in the power saving state P102, the second waiting state P103 has been set to be disabled and at the same time the main switch 302 is turned off.
When the sixth shift requirement is satisfied, the power supply controller 410 performs power supply control to cause the image forming apparatus to shift from the power saving state P102 to the first waiting state P100.
In the power saving state P102, when a seventh predetermined shift requirement is satisfied, the image forming apparatus shifts from the power saving state P102 to the second waiting state P103. An example of the seventh shift requirement is that when the image forming apparatus is in the power saving state P102, the second waiting state P103 has been set to be enabled and at the same time the main switch 302 is turned off.
When the seventh shift requirement is satisfied, the power supply controller 410 performs power supply control to cause the image forming apparatus to shift from the power saving state P102 to the second waiting state P103.
Referring to
When the requirement for shifting the image forming apparatus to the power saving state P102 (shift-to-power saving state requirement) has been satisfied (YES to the step S101), the CPU 401 creates the above-described power saving memory image, and stores the same in the RAM 403 (main storage device: main memory) (step S102).
Then, when the CPU 401 notifies the power supply controller 410 of an instruction for shifting the image forming apparatus to the power saving state P102, the power supply controller 410 turns off the second switch 306. This shifts the image forming apparatus from the standby state P101 to the power saving state P102.
The power saving memory image represents the status of the image forming apparatus immediately before shifting to the power saving state P102. For example, the power saving memory image includes the status of the CPU 401, the statuses of the electronic devices connected to the CPU 401, and the operating states of the OS and applications. To cause the image forming apparatus to return from the power saving state P102, the restoring process for returning from the power saving state P102 is executed using the power saving memory image. The data of the power saving memory image includes contents of the data save areas of a system memory and a video memory as memory areas managed by the OS.
When the image forming apparatus has been shifted to the power saving state P102, the power supply controller 410 monitors whether or not the return factor-detecting section 411 has detected a return factor for causing the image forming apparatus to return from the power saving state P102 to the standby state P101 (step S103). If no return factor has been detected (NO to the step S103), the power supply controller 410 monitors whether or not the main switch 302 has been turned off (step S104). If the main switch 302 has not been turned off (NO to the step S104), the power supply controller 410 returns to the step S103.
If a return factor has been detected in the step S103 (YES to the step S103), the return factor-detecting section 411 instructs the power supply controller 410 to cause the image forming apparatus to return to the standby state P101. In response to the instruction, the power supply controller 410 turns on the second switch 306 to thereby activate the power supply from the second power supply 307. On the other hand, the CPU 401 performs a return operation using the power saving memory image stored in the RAM 403 (step S105), to thereby cause the image forming apparatus to shift from the power saving state P102 to the standby state P101.
If it is determined in the step S104 that the main switch 302 has been turned off (YES to the step S104), the power supply controller 410 determines whether or not the second waiting state P103 has been set to be enabled in the image forming apparatus (step S107). If the second waiting state P103 has been set to be disabled (NO to the step S107), the power supply controller 410 determines that the image forming apparatus is to be caused to shift from the power saving state P102 to the first waiting state P100. Then, the power supply controller 410 turns off the first power supply 304 to thereby cut off power supply to the blocks that are supplied with power in the power saving state P102 (step S108). As a consequence, power supply to the image forming apparatus is stopped, whereby the image forming apparatus shifts from the power saving state P102 to the first waiting state P100.
If the second waiting state P103 has been set to be enabled (YES to the step S107), the power supply controller 410 starts preparation for causing the image forming apparatus to shift to the second waiting state P103. The power supply controller 410 turns on the second switch 306, and temporarily starts the CPU 401, the HDD 407, and so forth. Then, the CPU 401 transfers the standby memory image stored in advance in the HDD 407 to the RAM 403 (step S110).
When the transfer of the standby memory image to the RAM 403 is completed, the power supply controller 410 turns off the first and second switches 305 and 306, and cuts off power supply to the return factor-detecting section 411, etc. (step S111), to thereby cause the image forming apparatus to shift to the second waiting state P103.
Referring to
Then, the CPU 401 checks whether the main switch 302 has been turned on for booting from the second waiting state P103 of the image forming apparatus or from the first waiting state P100 of the same (step S203). Specifically, the CPU 401 refers to settings indicative of whether or not to enable the second standby information stored in the ROM 402, and checks whether the booting is being performed from the second waiting state P103 or from the first waiting state P100.
If the booting is being performed from the second waiting state P103 (YES to the step S203), the CPU 401 continues to boot using the standby memory image stored in the RAM 403 (step S204), to thereby cause the image forming apparatus to shift from the second waiting state P103 to the standby state P101.
If the booting is being performed from the first waiting state P100 (NO to the step S203), it means that booting of the image formatting apparatus is to be executed from the initialized state, and hence the CPU 401 sequentially starts the main program stored in the semiconductor disk 408 and other programs (step S205), to thereby cause the image forming apparatus to shift from the first waiting state P100 to the standby state P101.
As described hereinabove, in the first embodiment, when the main switch 302 is turned off in the power saving state P102 without any return factor causing a return to the standby state P101, if the second waiting state P103 has been set to be enabled, the standby memory image (first status information) stored in the HDD 407 is stored in the RAM (main storage device) 403, and then the image forming apparatus is caused to shift to the second waiting state P103. Therefore, when the main switch 302 is turned on again, the CPU 401 can promptly cause the image forming apparatus to shift to the standby state by using the standby memory image stored in the RAM 403.
Next, a second embodiment of the present invention will be described. An image forming apparatus according to the second embodiment has the same hardware configuration and software configuration as those of the
Referring to
If the requirement for shifting the image forming apparatus to the power saving state P102 has been satisfied (YES to the step S301), in a case where the image forming apparatus is to be shifted to the power saving state P102, the CPU 401 determines whether or not the second waiting state P103 has been set to be enabled for the image forming apparatus (step S302).
If the second waiting state P103 has been set to be disabled (NO to the step S302), the CPU 401 creates a power saving memory image, and stores the same in the RAM 403 (step S303). Then, the CPU 401 notifies the power supply controller 410 of a shift of the image forming apparatus to the power saving state P102. In response to the notification, the power supply controller 410 performs power supply control to cause the image forming apparatus to shift from the standby state P101 to the power saving state P102. Then, the process proceeds to a step S305, described hereinafter.
If the second waiting state P103 has been set to be enabled (YES to the step S302), the CPU 401 creates a power saving memory image, and stores the same in the RAM 403. Further, the CPU 401 transfers a standby memory image stored in advance in the HDD 407 to the RAM 403 (step S304). Then, the CPU 401 notifies the power supply controller 410 of a shift of the image forming apparatus to the power saving state P102. In response to the notification, the power supply controller 410 turns off the second switch 306, to thereby cause the image forming apparatus to shift from the standby state P101 to the power saving state P102.
As described above, the standby memory image is stored in the RAM 403 before the image forming apparatus shifts from the standby state P101 to the power saving state P102, whereby even in a case where the main switch 302 is turned off in the power saving state P102, there is no need to turn on the second switch 306 so as to store the standby memory image in the RAM 403. This enables the image forming apparatus to promptly shift from the power saving state P102 to the second waiting state P103.
When the image forming apparatus has shifted to the power saving state P102, the power supply controller 410 monitors whether or not the return factor-detecting section 411 has detected a return factor causing a return from the power saving state P102 to the standby state P101 (step S305). If no return factor has been detected (NO to the step S305), the power supply controller 410 monitors whether or not the main switch 302 has been turned off (step S306). If the main switch 302 has not been turned off (NO to the step S306), the power supply controller 410 returns to the step S305.
If a return factor has been detected in the step S305 (YES to the step S305), the return factor-detecting section 411 instructs the power supply controller 410 to cause the image forming apparatus to return to the standby state P101. In response to the instruction, the power supply controller 410 turns on the second switch 306. On the other hand, the CPU 401 performs a return operation using the power saving memory image stored in the RAM 403 (step S307), to thereby cause the image forming apparatus to shift from the power saving state P102 to the standby state P101.
If it is determined in the step S306 that the main switch 302 has been turned off (YES to the step S306), the power supply controller 410 determines whether or not the second waiting state P103 has been set to be enabled for the image forming apparatus (step S309). If the second waiting state P103 has been set to be disabled (NO to the step S309), the power supply controller 410 determines that the image forming apparatus is to be caused to shift from the power saving state P102 to the first waiting state P100. Then, the power supply controller 410 turns off the first power supply 304, and cuts off power supply to the blocks that are supplied with power in the power saving state P102 (step S310). As a consequence, the image forming apparatus is caused to shift from the power saving state P102 to the first waiting state P100.
If the second waiting state P103 has been set to be enabled (YES to the step S309), the power supply controller 410 turns off the first switch 305, and stops power supply to the return factor-detecting section 411 (step S312), to cause the image forming apparatus to shift from the power saving state P102 to the second waiting state P103.
As described above, in the second embodiment, when the image forming apparatus shifts from the standby state P101 to the power saving state P102, if the second waiting state P103 has been set to be enabled, the power saving memory image and the standby memory image are stored in the RAM 403. If there is detected no return factor to the standby state P101 when in the power saving state P102, but the main switch 302 is turned off, the image forming apparatus is caused to shift, on condition that the second waiting state P103 has been set to be enabled, to the second waiting state P103.
If a return factor to the standby state P101 is detected in the power saving state P102, the CPU 401 causes the image forming apparatus to shift to the standby state P101 using the power saving memory image stored in the RAM 403. Further, when the main switch 302 is turned on again, the CPU 401 causes the image forming apparatus to shift to the standby state P101 using the standby memory image stored in the RAM 403.
Therefore, when the image forming apparatus is in the power saving state P102 or the second waiting state P103, it is possible to cause the image forming apparatus to promptly shift to the standby state P101.
Note that although in the above description, the information processing apparatus is described by taking the image forming apparatus as an example, this is not limitative, but the present invention can also be applied to other information processing apparatuses, such as a personal computer (PC) and a cellular phone.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures and functions.
For example, the functions of either of the above-described embodiments can be accomplished by causing the image processing apparatus to execute the functions as a control method. Further, the functions of either of the above-described embodiments may be accomplished by causing a computer incorporated in the information processing apparatus to execute a program implementing the functions, as a control program. Note that the control program is stored e.g. in a computer-readable storage medium.
In this case, the control method and the control program each include at least power supply control and shifting of modes.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments. For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium).
This application claims priority from Japanese Patent Application No. 2011-195042 filed Sep. 7, 2011, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2011-195042 | Sep 2011 | JP | national |