Field of the Invention
The present invention relates to an image forming apparatus, a control method of the image forming apparatus, and a program.
Description of the Related Art
Recently, a technique in which a time period required for startup of software is shortened has been established as a power saving technique. In the technique, an apparatus shifts to a sleep mode in which only a Dynamic Random Access Memory (DRAM) is energized when the apparatus is not used for a certain period of time or when a switch of the electronic apparatus is turned OFF, and when the switch of the electronic apparatus is turned ON in the next time, the electronic apparatus is returned from the sleep mode. Japanese Patent Laid-open Publication No. 07-17111 discusses the above technique or applying to an image forming apparatus.
In the image forming apparatus to which the above described sort of power saving technique is applied, there is a case where the image forming apparatus is not allowed to shift to the sleep mode when a switch thereof is turned OFF. Examples of the case where the image forming apparatus is not allowed to shift to the sleep mode include, for example, a case where some abnormality occurs in the image forming apparatus or when the image forming apparatus is in running some processing that disables normal processing of the image forming apparatus upon returning from the sleep mode if the processing is interrupted for the purpose of the shifting to the sleep mode.
When the turning OFF of the switch does not affect on a power supply of a drive unit of the image forming apparatus (i.e., when the power supply to the drive unit is not mechanically turned OFF even when the switch is turned OFF), even when the image forming apparatus is not allowed to shift to the sleep mode, no cause occurs even if the image forming apparatus does not shift to the sleep mode immediately.
However, when the turning OFF of the switch mechanically turns OFF the power supply of the drive unit of the image forming apparatus (i.e., when the turning OFF of the switch mechanically turns OFF the power supply to the drive unit), the image forming apparatus needs to promptly shift to, for example, the sleep mode even when the image forming apparatus is not allowed to shift to the sleep mode. Therefore, in the image forming apparatus to which the above described sort of power saving technique is applied, when the image forming apparatus is not allowed to shift to the sleep mode, by the turning OFF of the switch, the image forming apparatus does not shift to the sleep mode but shuts down.
However, especially when a power saving function is effective, a user expects that the turning OFF of the switch allows the image forming apparatus to shift to the sleep mode not shut down. Therefore, when the switch is turned OFF, it is desirable that the image forming apparatus shift to the sleep mode as many cases as possible.
The present invention provides a system in which, even when the image forming apparatus is not allowed to shift to a sleep mode when a power saving/power source switch thereof is turned OFF, the image forming apparatus can shift to a sleep mode as many cases as possible when a cause that disables the shifting to the sleep mode can be solved according to the time course.
According to an aspect of the present invention, an information processing apparatus showing a first power state, a second power state consuming lower power than the first power state, and a third power state consuming lower power than the second power state, includes a reception unit configured to receive an instruction to transfer the information processing apparatus to the second power state, an analysis unit configured, when the reception unit receives the instruction, to analyze a factor limiting the transfer of the information processing apparatus to the second power state, and a control unit configured, when the analysis unit analyzes the factor and as a result the factor is a first factor, to control the information processing apparatus to transfer to the third power state without waiting until the factor is resolved, and configured, when the factor is a second factor, to control the information processing apparatus to wait until the factor is resolved, and to transfer to the second power state.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.
A description is made as to a first exemplary embodiment.
In
The CPU 101 controls the main board 100 in its entirety. The boot ROM 102 stores a boot program. The memory 103 is used by the CPU 101 as a work memory.
The bus controller 104 has a bridge function that establishes a connection with an external bus. The nonvolatile memory 105 can keep data even when the power supply is cut. The disk controller 106 controls a storage device such as a flush disk (e.g., SSD) 107 and a hard disk device 6. The flush disk (e.g., SSD) 107 is a storage device that is composed of a semiconductor device and has a relatively small capacity. The USB controller 108 controls a USB memory 9.
The main board 100 is supplied with power from a power supply device 8. A power control unit 109 controls a power supply to each unit on the main board 100 that requires the power supply. The USB memory 9, an operation unit 5, and a hard disk device 6 are connected to the main board 100 outside. The hard disk device 6 is not necessarily a hard disk but may be any storage device as far as it is a nonvolatile device.
The sub-board 120 is composed of a relatively small general-purpose CPU system and an image processing hardware. The sub-board 120 includes a CPU 121, a memory 123, a bus controller 124, a nonvolatile memory 125, an image processing processor 127, and device controllers 126. The CPU 121 controls the sub-board 120 in its entirety. The memory 123 is used by the CPU 121 as a work memory. The bus controller 124 has a bridge function for establishing a connection with an external bus. The nonvolatile memory 125 can keep data even when the power supply is cut. The image processing processor 127 performs real-time digital image processing.
The device controllers 126 control external devices. An external scanner device 2 and an external printer device 4 transmit digital image data via the device controllers 126. A facsimile (FAX) device 7 is directly controlled by the CPU 121.
The sub-board 120 is supplied with power from the power supply device 8. A power control unit 128 controls power supply to each unit on the sub-board 120 that requires power. A switch 10 is a power saving/power source switch for changing a power supply state of the image forming apparatus. The switch 10 receives a power supply ON/OFF operation from the user. When the user operates the switch 10, an interruption is input into the CPU 101. When the CPU 101 detects the interruption, the CPU 101 controls the power control units 109 and 128 according to the state of the image forming apparatus.
An operation of the controller 1 will be described below by exemplifying copying of an image onto a paper device. When the user instructs to copy an image via an operation unit 5, the CPU 101 transmits an image read-out command to the scanner device 2 via the CPU 121. The scanner device 2 optically scans a paper document, converts thus scanned image of the paper document into digital image data, and inputs the digital image data into the image processing processor 127 via the device controller 126. The image processing processor 127 transmits thus input digital image data to the memory 123 via the CPU 121 according to a direct memory access (DMA) transfer and causes the memory 123 to temporally store the digital image data.
When the CPU 101 can confirm that a certain amount of or a full amount of the digital image data is input into the memory 123, the CPU 101 outputs an image output instruction to the printer device 4 via the CPU 121. The CPU 121 shows the image processing processor 127 an area where the image data is stored in the memory 123. The image data on the memory 123 is transmitted to the printer device 4 via the image processing processor 127 and the device controller 126 according to a synchronizing signal from the printer device 4 and is printed onto a paper device (i.e., recording sheet) in the printer device 4.
In making a plurality of copy sets, the CPU 101 causes the hard disk device 6 to store the image data of the memory 123. Accordingly, the CPU 101 can transmit the image to the printer device 4 to print the image in the printer device 4 with respect to the copy sets on and after the second copy set without necessity to acquire the image from the scanner device 2.
The image forming apparatus according to the present exemplary embodiment can shift to the sleep mode in which power supply to units other than a specific unit (e.g., other than the memory 103) of the image forming apparatus is cut.
The shifting-to-sleep mode possibility determination processing (i.e., first determination processing) is started when the switch 10 is turned OFF (i.e., when the user operates to turn OFF the switch 10), or when it is determined that the shifting-to-sleep mode disabling cause is soluble according to the time course in the shifting-to-sleep mode disabling cause analysis processing. Detailed description of each step will be made below.
In step S200, the CPU 101 detects (i.e., determines) whether there exists the shifting-to-sleep mode disabling cause. Examples of a case where there exists the shifting-to-sleep mode disabling cause include a case where some abnormality occurs in the image forming apparatus or when the image forming apparatus is in running some processing that disables normal processing of the image forming apparatus upon returning from the sleep mode if the processing is interrupted for the purpose of the shifting to the sleep mode.
Similarly, also, in a case of the “on executing a print job”, suppose the image forming apparatus shift to the sleep mode by turning OFF the switch 10, when the image forming apparatus returns to the normal mode, a state of the printer drive unit does not return to a state immediately before the image forming apparatus having shifted to the sleep mode. As a result thereof, the image forming apparatus is not allowed to shift to the sleep mode but is caused to be “shut down”.
In a case of the “upon occurrence of an error”, since an error remains when the image forming apparatus returns to the normal mode after the image forming apparatus shifts to the sleep mode by turning OFF the switch 10, the image forming apparatus is not allowed to shift to the sleep mode but is caused to be “shut down”. In a case of the “in the absence of the turning OFF of the power source for more than one month”, the image forming apparatus does not shift to the sleep mode by turning OFF the switch 10 but is caused to be “shut down” in consideration with a possible accumulation of malfunctions, e.g., memory leakage, of the software.
As described above, all the shifting-to-sleep mode disabling causes are preliminary listed up to store the list in the hard disk device 6 or the like. In step S200, the CPU 101 checks the state of the image forming apparatus against the above list to make a determination whether there is the shifting-to-sleep mode disabling cause.
The description returns to the flow chart of
In step S210, since there is the shifting-to-sleep mode disabling cause, the CPU 101 analyzes the cause (i.e., shifting-to-sleep mode disabling cause analysis processing). The shifting-to-sleep mode disabling cause analysis processing will be described below in detail with reference to
On the other hand, in step S200, in a case where it is determined that there is no shifting-to-sleep mode disabling cause (NO in step S200), the CPU 101 advances the processing to step S220. At the time, the CPU 101 resets the number of executions of the shifting-to-sleep mode possibility determination processing stored in the memory 103 to “0” (not illustrated).
In step S220, since there is no shifting-to-sleep mode disabling cause, the CPU 101 causes the image forming apparatus to shift to the sleep mode. Specifically, the CPU 101 controls such that the power control units 109 and 128, for example, energize only the memory 103, whereas, shut off the power supply to the other units.
The shifting-to-sleep mode disabling cause analysis processing is started when the shifting-to-sleep mode disabling cause is detected in the shifting-to-sleep mode possibility determination processing of
In step S400, the CPU 101 analyzes (i.e., judges) whether the shifting-to-sleep mode disabling cause is soluble according to the time course (i.e., second determination processing). The shifting-to-sleep mode disabling cause may sometimes be, but sometimes not be, solved according to the time course. For example, the causes of the “on communicating via a telephone line” and the “on executing of a print job” can be eventually solved i.e., are shifting-to-sleep mode disabling causes which are soluble according to the time course. To the contrary, the problems of the “upon occurrence of an error” and the “in the absence of the turning OFF of the power source for a long time (e.g., for more than one month)” are shifting-to-sleep mode disabling causes which are not soluble according to the time course.
As described above, all the shifting-to-sleep mode disabling causes are preliminary classified to those which are soluble according to the time course and those which are not soluble according to the time course and the classified information is stored in the hard disk device 6 or the like. In step S400, the determination whether the shifting-to-sleep mode disabling causes can be solved according to the time course is made with reference to the above described classified information.
In step S400, when it is determined that the shifting-to-sleep mode disabling cause can be solved according to the time course (YES in step S400), the CPU 101 advances the processing to step S410. On the other hand, when it is determined that the shifting-to-sleep mode disabling cause cannot be solved according to the time course (NO in step S400), the CPU 101 advances the processing to step S430.
In step S410, the CPU 101 determines whether the number of executions of the shifting-to-sleep mode possibility determination processing of
On the other hand, when it is determined that the number of executions of the shifting-to-sleep mode possibility determination processing is not within the predetermined number (i.e., the number of executions of the shifting-to-sleep mode possibility determination processing reaches the predetermined number) (NO in step S410), the CPU 101 advances the processing to step S430.
In step S430, the CPU 101 causes the image forming apparatus to shut down. Specifically, in the image forming apparatus of the present exemplary embodiment, when it is determined that the shifting-to-sleep mode disabling cause is not solved according to the time course or when it is determined that the shifting-to-sleep mode disabling cause is solved according to the time course and the shifting-to-sleep mode possibility determination processing has already been repeated for the predetermined number, the CPU 101 controls such that the image forming apparatus is shut down. In the shut down processing, the CPU 101 controls such that the power control units 109 and 128 shut off all the power supply to the image forming apparatus.
As described above, the image forming apparatus can be controlled as follows. The image forming apparatus is not immediately shut down even when the image forming apparatus cannot shift to the sleep mode immediately after the power saving/power source switch 10 is turned OFF. The image forming apparatus can be shut down only when the shifting-to-sleep mode disabling cause is not solved according to the time course or only when the shifting-to-sleep mode possibility determination is repeated for more than the predetermined number.
Specifically, when the switch 10 is turned OFF and thereafter the shifting-to-sleep mode possibility determination is performed to find that the image forming apparatus is not allowed to shift to the sleep mode, wherein, however, the analysis of the shifting-to-sleep mode disabling cause shows that the shifting-to-sleep mode disabling cause is soluble according to the time course, the shifting-to-sleep mode possibility determination is performed again.
To the contrary,
Specifically, after the switch 10 is turned OFF, the shifting-to-sleep mode possibility determination is performed to cause the image forming apparatus not to shift to the sleep mode. In the first shifting-to-sleep mode disabling cause analysis, the shifting-to-sleep mode disabling cause can be solved according to the time course. However, in the second shifting-to-sleep mode disabling cause analysis, it is found that another shifting-to-sleep mode disabling cause that cannot be solved according to the time course occurs and therefore it is determined that the image forming apparatus is not allowed to shift to the sleep mode, resulting in causing the image forming apparatus to shut down.
As described above, in the image forming apparatus of the present invention, even if the shifting-to-sleep mode disabling cause is detected at the time when the power saving/power source switch (i.e., switch 10) is turned OFF, if the shifting-to-sleep mode disabling cause is soluble according to the time course, the image forming apparatus is not shut down immediately. Accordingly, the likelihood that the image forming apparatus can shift to the sleep mode can be increased.
A second exemplary embodiment will be described below. In the first exemplary embodiment, all the shifting-to-sleep mode disabling causes are preliminary classified to those which can be solved according to the time course and those which cannot be solved according to the time course and, based on the classification, in step S400 of
In the second exemplary embodiment, the determination whether the shifting-to-sleep mode disabling cause can be solved according to the time course is made by confirming whether the shifting-to-sleep mode disabling cause is solved by allowing a certain time period to actually elapse. The other configurations are completely identical to those of the first exemplary embodiment.
A third exemplary embodiment will be described below. In also the third exemplary embodiment, similar to the second exemplary embodiment, a determination whether the shifting-to-sleep mode disabling cause can be solved according to the time course can be made by confirming whether the shifting-to-sleep mode disabling cause is solved by allowing the certain time period to actually elapse. A configuration of the third exemplary embodiment will be described below in detail.
The shifting-to-sleep mode disabling cause analysis processing is started when the shifting-to-sleep mode disabling cause is detected in the shifting-to-sleep mode possibility determination processing of
When the shifting-to-sleep mode disabling cause analysis processing is started, in step S600, the CPU 101 waits for a predetermined time period to determine whether the shifting-to-sleep mode disabling cause is actually solved according to the time course (i.e., third determination processing).
When it is determined that the shifting-to-sleep mode disabling cause is solved after the certain time period has elapsed (YES in step S600), the CPU 101 advances the processing to step S620. In step S620, for example, after a certain time period has elapsed, the CPU 101 controls such that the shifting-to-sleep mode possibility determination processing is re-executed (i.e., redetermination execution processing). Alternatively, when it is determined that the shifting-to-sleep mode disabling cause is solved after the certain time period has elapsed (YES in step S600), the CPU 101 may advance the processing to step S220 of
On the other hand, when it is determined that the shifting-to-sleep mode disabling cause is not solved even after the certain time period has elapsed (NO in step S600), the CPU 101 advances the processing to step S610. In step S610, the CPU 101 determines whether the number of executions of the shifting-to-sleep mode possibility determination processing of
On the other hand, when it is determined that the number of executions of the shifting-to-sleep mode possibility determination processing is not within the predetermined number (i.e., the number of executions of the shifting-to-sleep mode possibility determination processing reaches the predetermined number) (NO in step S610), the CPU 101 advances the processing to step S630.
In step S630, the CPU 101 causes the image forming apparatus to shut down. In other words, in the image forming apparatus of the present exemplary embodiment, when it is determined that the shifting-to-sleep mode disabling cause is not solved and the shifting-to-sleep mode possibility determination processing has been repeated for the predetermined number, the CPU 101 controls such that the image forming apparatus is shut down.
The other configurations are completely identical to those of the first exemplary embodiment. As described above, the CPU 101 can control such that the image forming apparatus is not immediately shut down, immediately after the power saving/power source switch is turned OFF, even when the image forming apparatus cannot shift to the sleep mode, whereas, the image forming apparatus is shut down only when the shifting-to-sleep mode disabling cause is not solved after a certain time period has elapsed and the shifting-to-sleep mode possibility determination has been repeated for more than the predetermined numbers.
The configurations and the contents of the above described various types of data are not limited to those of the present exemplary embodiments; however, needless to say, they may be configured in accordance with uses and/or purposes thereof. In the above exemplary embodiment, the present invention is exemplified by the image forming apparatus; however, the present invention can be formed into any embodiment such as a system, a device, a method, a program, and a storage medium. Specifically, the present invention may be applied to a system composed of a plurality of devices or may be applied to a singular device. All the configurations made of a combination of the above exemplary embodiments are also embraced within the scope of the present invention.
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). In such a case, the system or apparatus, and the recording medium where the program is stored, are included as being within the scope of the present invention.
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.
Number | Date | Country | Kind |
---|---|---|---|
2011-148846 | Jul 2011 | JP | national |
The present application is a continuation of U.S. patent application Ser. No. 13/539,891, filed on Jul. 2, 2012, which claims priority from Japanese Patent Application No. 2011-148846 filed Jul. 5, 2011, which is hereby incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
4907013 | Hubbard | Mar 1990 | A |
6445090 | Mori | Sep 2002 | B1 |
7657753 | Sawada | Feb 2010 | B2 |
20020054281 | Yamada | May 2002 | A1 |
20020059515 | Hagiwara | May 2002 | A1 |
20040181699 | Katoh | Sep 2004 | A1 |
20040258444 | Okada | Dec 2004 | A1 |
20050183141 | Sawada | Aug 2005 | A1 |
20050206942 | Hayakawa | Sep 2005 | A1 |
20060153613 | Nemmaier | Jul 2006 | A1 |
20070168725 | Lee | Jul 2007 | A1 |
20070234093 | Kimura | Oct 2007 | A1 |
20090002730 | Yamada | Jan 2009 | A1 |
20090150662 | Desselle | Jun 2009 | A1 |
20090214228 | Ito | Aug 2009 | A1 |
20090232550 | Obata | Sep 2009 | A1 |
20110072284 | Lyra | Mar 2011 | A1 |
20110138392 | Ax | Jun 2011 | A1 |
20110249290 | Hayber | Oct 2011 | A1 |
20130015978 | Tran | Jan 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20160127591 A1 | May 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13539891 | Jul 2012 | US |
Child | 14994008 | US |