Image processing apparatus and control method for image processing apparatus

An image processing apparatus includes a first control unit configured to control the whole apparatus and not to be energized in a power saving mode; and a second control unit configured to be energized in the power saving mode. The second control unit includes a detecting unit configured to detect a return trigger for returning from the power saving mode to a normal mode; an identifying unit configured to identify the return trigger; a storage unit configured to store the identified return trigger into a storage medium; and a starting unit configured to start energizing the first control unit in accordance with the detection of the return trigger. The first control unit includes a reading unit configured to read the stored return trigger after the first control unit is energized; and a first-control-unit control unit configured to determine a function to be activated preferentially based on the return trigger.

CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority to and incorporates by reference the entire contents of Japanese Patent Application No. 2011-168566 filed in Japan on Aug. 1, 2011.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image processing apparatus and a control method for the image processing apparatus.

2. Description of the Related Art

In recent years, information tends to be computerized, and image processing apparatuses such as a printer or a facsimile used to output computerized information and a scanner used to computerize documents have become indispensable devices. Such an image processing apparatus is often constituted as a multifunction peripheral (MFP) which can be utilized as a printer, a facsimile, a scanner, and a copying machine by having an image capturing function, an image forming function, a communication function, and the like.

In the MFP, it is possible in many cases to enter a power saving mode besides the normal running mode. Such an image processing apparatus enters the power saving mode when the MFP is not used, besides the normal running mode, in order to reduce the consumed power. In the power saving mode, a major part of the MFP is brought into an unenergized state when the MFP is not in the normal running mode, in order to reduce power consumed by the MFP. Often, even energization of a random access memory (RAM) and the like which constitute a control unit is cut off. At the time of return from the power saving mode to the normal mode, therefore, it becomes necessary for the MFP to read a program from a hard disk or a nonvolatile memory and develop the program into the RAM again.

On the other hand, the MFP provides users with various functions such as a copying machine, a printer, a scanner, a FAX and the like, and these functions go on increasing. At the time of return from the power saving mode to the normal mode, therefore, it is necessary to read respective application programs for implementing these functions again and consequently the return time from the power saving mode to the normal mode becomes long. Even when, for example, the user wants to use a scanner, therefore, it is necessary for the user to wait until an application program for implementing the scanner function is read, if the MFP is in the power saving mode. As a result, a state in which the function the user wants to utilize cannot be used readily is brought about.

As a technique for shortening a waiting time lasting until it becomes possible for a user to use an MFP, therefore, a technique of causing the user to select a function to be used, loading a program corresponding to the selected function preferentially from a hard disk to a RAM at the time of return from the power saving mode, making the function available, and then activating another program is disclosed (for example, Japanese Patent Application Laid-open No. 2007-194876).

According to the method disclosed in Japanese Patent Application Laid-open No. 2007-194876, the time over which the user is caused to wait can be shortened, as many selection units as functions to be restored preferentially must be prepared, resulting in increased power consumption. Furthermore, there is a problem that user's operations become troublesome as the selection units increase.

In addition, in operations of the MFP, there are operations executed according to a user's operation of an operating unit and operations executed according to a command which is input via a network. In the case of the latter operations, the method disclosed in Japanese Patent Application Laid-open No. 2007-194876 cannot be used.

Therefore, there is a need for an apparatus capable of shortening the return time of the apparatus from the power saving mode according to a user's intention with a simple configuration and without requesting the user to conduct extra manipulations.

SUMMARY OF THE INVENTION

According to an embodiment, there is provided an image processing apparatus that includes a first control unit configured to control the whole image processing apparatus and not to be energized in a power saving mode of the image processing apparatus; and a second control unit configured to be energized in the power saving mode. The second control unit includes a return trigger detecting unit configured to detect a return trigger for returning from the power saving mode to a normal mode of the image processing apparatus; a return trigger identifying unit configured to identify the detected return trigger; a return trigger storage unit configured to store the identified return trigger into a storage medium; and a first-control-unit starting unit configured to start energizing the first control unit in accordance with the detection of the return trigger. The first control unit includes a return trigger reading unit configured to read the stored return trigger after the first control unit is energized; and a function activating control unit configured to determine a function to be activated preferentially on the basis of the read return trigger and activate the determined function preferentially.

According to another embodiment, there is provided a control method for an image processing apparatus that includes a first control unit configured to control the whole image processing apparatus and not to be energized in a power saving mode of the image processing apparatus, and a second control unit configured to be energized in the power saving mode. The control method includes generating a return trigger for returning from the power saving mode to a normal mode of the image processing apparatus. The control method includes, by the second control unit, detecting the return trigger; identifying the detected return trigger; storing the identified return trigger into a storage medium; starting energizing the first control unit in accordance with the detection of the return trigger. The control method includes, by the first control unit, reading the stored return trigger after the first control unit is energized; determining a function to be activated preferentially on the basis of the read return trigger; and activating the determined function preferentially.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Hereafter, an embodiment of the present invention will be described in detail. The present embodiment will be described by taking an image processing apparatus which executes image forming and outputting and which returns from a power saving mode to a normal energization mode in response to a command which is input via a network as an example of an image forming apparatus.

FIG. 1is a diagram illustrating an example of a running form of a system according to the present embodiment. As illustrated inFIG. 1, the system according to the present embodiment is configured by connecting an image processing apparatus1, a client terminal2, and a data management server3via a network4and connecting the image processing apparatus1to a telephone line5.

The image processing apparatus1is an MFP which can be utilized as a printer, a facsimile, a scanner and a copying machine by having an image capturing function, an image forming function, a communication function and the like. In the present embodiment, the image processing apparatus1executes image forming and outputting on the basis of a print job received from the client terminal2via the network4.

The client terminal2is an information processing terminal operated by the user, and the client terminal2is implemented by using an information processing apparatus such as a personal computer (PC). The user can transmit a print job from the client terminal2to the image processing apparatus1via the network4by operating the client terminal2.

The data management server3is a file sharing server which exists on the network, and data which becomes a print object is stored in the data management server3. The user can select and acquire data to be printed, by accessing the data management server3from the image processing apparatus1or the client terminal2via the network4.

The network4inFIG. 1is a restricted network such as, for example, an office local area network (LAN). However, it is also possible to adopt a form in which connection is conducted via a wide area network such as the Internet or a telephone line.

A hardware configuration of the image processing apparatus1, the client terminal2, and the data management server3according to the present embodiment will now be described with reference toFIG. 2. The image processing apparatus1according to the present embodiment has an engine for implementing a scanner, a printer, a facsimile, a copying machine and the like in addition to the hardware configuration illustrated inFIG. 2. In the ensuing description, a hardware configuration of the image processing apparatus1will be taken as an example. However, the same is true of the client terminal2as well.

As illustrated inFIG. 2, the image processing apparatus1according to the present embodiment includes a configuration similar to that of a general server or PC. In other words, in the image processing apparatus1according to the present embodiment, a central processing unit (CPU)10, a random access memory (RAM)20, a read only memory (ROM)30, a hard disk drive (HDD)40and an I/F50are connected via a bus80. Furthermore, a liquid crystal display (LCD)60and an operating unit70are connected to the I/F50.

The CPU10is an operation unit, and the CPU10controls operations of the whole image processing apparatus1. The RAM20is a volatile storage medium from/into which information can be read/written fast, and the RAM20is used as a working area when the CPU10conducts processing on information. The ROM30is a non-volatile storage medium which is used exclusively for reading, and a program such as firmware is stored therein. The HDD40is a non-volatile storage medium from/into which information can be read/written, and an operating system (OS) and various control programs and application programs, and the like are stored therein.

The I/F50connects the bus80to various kinds of hardware and networks and the like, and controls them. The LCD60is a visual user interface used by the user to ascertain the state of the image processing apparatus1. The operating unit70is a user interface, such as a keyboard or a mouse, used by the user to input information to the image processing apparatus1. As described with reference toFIG. 1, the data management server3according to the present embodiment is run as the sharing server. Therefore, the user interfaces such as the LCD60and the operating unit70can be omitted.

In such a hardware configuration, a program stored in a storage medium such as the ROM30, the HDD40, or an optical disk which is not illustrated is read out into the RAM20, and the CPU10performs operations in accordance with the program loaded into the RAM20, and consequently a software control unit is constituted. By a combination of the software control unit constituted in this way and hardware, a function block which implements functions of the image processing apparatus1, the client terminal2, and the data management server3is constituted.

A hardware configuration of the image processing apparatus1according to the present embodiment will now be described with reference toFIG. 3.FIG. 3is a block diagram illustrating the hardware configuration of the image processing apparatus1according to the present embodiment. As illustrated inFIG. 3, the image processing apparatus1according to the present embodiment includes a controller1000, a data storage unit1010, an operating unit1020, an image reading unit1030, an image forming unit1040, a facsimile1050, a sheet setting sensor1060, a main unit power supply switch1070, a main power supply switch1080, and an AC/DC power supply generation unit1090.

Furthermore, the controller1000includes a signal receiving unit1300and a sub power supply switch1400besides a main CPU1100which is equivalent to the above-described CPU10and a main memory1200which is equivalent to the above-described RAM20. In addition, the signal receiving unit1300includes a PHY1310for Ethernet (registered trademark) and a sub CPU1320. InFIG. 3, electrical connections are represented by solid line arrows and power flows are represented by dashed line arrows.

The controller1000functions by cooperative operations of software and hardware. Specifically, the controller1000functions owing to cooperation between the software control unit constituted by that a program stored in the data storage unit1010which is constituted by the ROM30, or a non-volatile memory, the HDD40or an optical disk, and the like is loaded into a volatile memory (hereafter referred to as memory) such as the main memory1200, and the main CPU1100performs operations according to the program, and hardware such as the signal receiving unit1300and the sub power supply switch1400. The controller1000functions as a control unit which controls the whole image processing apparatus1.

The main CPU1100plays a role of controlling various units included in the controller1000, and gives instructions to the various units in the controller1000. The main memory1200is equivalent to the RAM20illustrated inFIG. 2, and the main memory1200is used as a working area when the main CPU1100processes information. The main CPU1100is on in power supply when the main unit power supply switch1070or the sub power supply switch1400is on, whereas the main CPU1100is off in power supply when the main unit power supply switch1070or the sub power supply switch1400is off.

The signal receiving unit1300includes the PHY1310for Ethernet (registered trademark) and the sub CPU1320, and the signal receiving unit1300plays a role of network connection. The signal receiving unit1300sends a network signal which is input to the PHY1310for Ethernet (registered trademark) via the network4, to the main CPU1100via the sub CPU1320. As a result, the image processing apparatus1is network-connected via the network4.

The sub CPU1320detects a signal which becomes a return trigger generated by the operating unit1020, the image reading unit1030, the facsimile1050, the sheet setting sensor1060, or the PHY1310for Ethernet (registered trademark), and discriminates where the detected return trigger is generated. Furthermore, upon detecting the return trigger, the sub CPU1320plays a role of switching the main CPU1100in a power supply off-state in the energy saving mode of the image processing apparatus1to a power supply on-state.

Here, the return trigger is a trigger for shifting the mode of the image processing apparatus1from an energy saving mode to a standby mode, and upon detecting the return trigger, the sub CPU1320executes control to shift the mode from the energy saving mode to the standby mode. As for this, the sub CPU1320includes an SRAM serving as a cache memory therein and performs operations in accordance with a return trigger detection program loaded into the SRAM, and thereby executes a return trigger detection operation and a return operation. Mode shift to different modes will be described later.

It is also possible to adopt a configuration in which a return trigger program is read out into a memory, such as the main memory1200, located outside the sub CPU1320instead of the SRAM and the sub CPU1320performs operations in accordance with the program and consequently the above-described function is implemented. According to the return trigger detection function constituted by the sub CPU1320, it is possible to identify the detected return trigger has been generated as described above. Therefore, it is possible to determine a function to be made available preferentially and activate an application corresponding to the function. This is one of spirits according to the present embodiment.

Furthermore, the sub CPU1320plays a role of network response of automatically transmitting a network signal which is input to the PHY1310for Ethernet (registered trademark), to the main CPU1100in the energy saving mode.

In addition, the sub CPU1320has a function of controlling devices such as a timer clock. If there is not a user's operation on the image processing apparatus1or the apparatus operation for a predetermined time in the standby mode of the image processing apparatus1, the sub CPU1320automatically switches the main unit power supply switch1070from on to off. At this time, the image processing apparatus1enters the energy saving mode from the standby mode. To the contrary, if the sub CPU1320detects a return trigger in the energy saving mode of the image processing apparatus1, the sub CPU1320automatically switches the main unit power supply switch1070from off to on. At this time, the image processing apparatus1enters the standby mode from the energy saving mode

The sub power supply switch1400is switched in on/off when the user has directly operated it, and its switching signal is sent to the sub CPU1320. Upon receiving the switching signal, the sub CPU1320automatically conducts switching of the main unit power supply switch1070.

When the image processing apparatus1is in the energy saving mode, the user operates the sub power supply switch1400. As a result, the sub CPU1320shifts the mode of the image processing apparatus1from the energy saving mode to the standby mode. At this time, the sub power supply switch1400switches from off to on. Upon receiving the switching signal, the sub CPU1320switches the main unit power supply switch1070from off to on in accordance with the received switching signal. To the contrary, the user operates the sub power supply switch1400when the image processing apparatus1is in the standby mode. As a result, the sub CPU1320shifts the mode of the image processing apparatus1from the standby mode to the energy saving mode. At this time, the sub power supply switch1400switches from on to off. Upon receiving the switching signal, the sub CPU1320switches the main unit power supply switch1070from on to off in accordance with the received switching signal.

The data storage unit1010is equivalent to the HDD40illustrated inFIG. 2. The HDD40is a non-volatile storage medium from/into which information can be read/written, and an OS for controlling the image processing apparatus1and various control programs and application programs, and the like are stored therein. Furthermore, the data storage unit1010includes a non-volatile storage medium used exclusively for reading which is equivalent to the ROM30illustrated inFIG. 2. When the image processing apparatus1is in the energy saving mode, the data storage unit1010is not supplied with power supply, because the main unit power supply switch1070is off.

The operating unit1020includes operating buttons1021and an operation panel1022. The operating buttons1021are an input interface used when the user directly operates the image processing apparatus1or the user inputs information to the image processing apparatus1. The operating buttons1021include a plurality of buttons which are not illustrated. When the image processing apparatus1is in the standby mode, the operating buttons1021generate a signal corresponding to a user's key operation and send the signal to the main CPU1100.

When the image processing apparatus1is in the energy saving mode, the operating buttons1021have a function of serving as a sensor for detecting that the user has touched some of the operating buttons, generating a detection signal, and sending the detection signal to the sub CPU1320. In other words, even if the user operates any button among the operating buttons1021when the image processing apparatus1is in the energy saving mode, the operating buttons1021do not generate a signal associated with the key operation but generate only a signal obtained by detecting that the user has touched the operating buttons1021. Even when the image processing apparatus1is in the energy saving mode, a power supply required for the operating buttons1021to function as the sensor is ensured separately. The operating buttons1021are implemented by the operating unit70illustrated inFIG. 2.

The operation panel1022is not only an output interface which visually displays the state of the image processing apparatus1, but also an input interface used as a touch panel when the user directly operates the image processing apparatus1or inputs information to the image processing apparatus1. In other words, the operation panel1022includes a function of displaying an image for receiving a user's operation. When the image processing apparatus1is in the standby mode, the operation panel1022generates a signal associated with the user's panel operation and sends the signal to the main CPU1100.

Furthermore, when the image processing apparatus1is in the energy saving mode, the operation panel1022has a function of serving as a sensor for detecting that the user has touched the operation panel1022, generating a detection signal, and sending the detection signal to the sub CPU1320. In other words, even if the user operates any part of the operation panel1022when the image processing apparatus1is in the energy saving mode, the operation panel does not generate a signal associated with the panel operation, but generate only a signal obtained by detecting that the user has touched the operation panel1022. Even when the image processing apparatus1is in the energy saving mode, a power supply required for the operation panel1022to function as the sensor is ensured separately. The operation panel1022is implemented by the LCD60and the operating unit70illustrated inFIG. 2.

The image reading unit1030captures an image of a document and sends acquired image capturing information to the main CPU1100, under control of the main CPU1100. The image forming unit1040forms drawing information generated on the basis of image information to be printed and output, as an image under control of the main CPU1100. The image reading unit1030and the image forming unit1040are not supplied with power supply when the image processing apparatus1is in the energy saving mode, because the main unit power supply switch1070is off.

The facsimile1050receives image information via the telephone line5, and sends the image information to the main CPU1100. Furthermore, the facsimile1050transmits the image information to an image processing apparatus located in another place via the telephone line5in response to user's operation. Since the facsimile1050must always monitor reception from the telephone line5, the facsimile1050is supplied with power supply even in the energy saving mode.

When the image processing apparatus1is in the energy saving mode, the sheet setting sensor1060functions as a sensor for detecting that a sheet is set in the image reading unit1030, generating a detection signal, and sending the detection signal to the sub CPU1320. Since the sheet setting sensor1060must always monitor setting of a sheet, the sheet setting sensor1060is supplied with power supply even if the image processing apparatus1is in the energy saving mode.

If there is not a user's operation on the image processing apparatus1or the apparatus operation for a predetermined time when the image processing apparatus1is in the standby mode, the main unit power supply switch1070is automatically switched from on to off under the control of the sub CPU1320. At this time, the image processing apparatus1enters the energy saving mode from the standby mode. Furthermore, if the sub CPU1320detects a return trigger when the image processing apparatus1is in the energy saving mode, the main unit power supply switch1070is automatically switched from off to on under the control of the sub CPU1320. At this time, the image processing apparatus1enters the standby mode from the energy saving mode.

When the main unit power supply switch1070is off, the data storage unit1010, the operating buttons1021, the operation panel1022, the image reading unit1030, and the image forming unit1040are not supplied with power supply. Even when the main unit power supply switch1070is off, power supply required when the operating buttons1021and the operation panel1022function as the sensors is supplied separately as described above.

Furthermore, switching of the main unit power supply switch1070between on/off is executed by operating the sub power supply switch1400via the control of the sub CPU1320. In other words, when the sub power supply switch1400has switched from off to on, the main unit power supply switch1070also switches from off to on under the control of the sub CPU1320. Furthermore, when the sub power supply switch1400has switched from on to off, the main unit power supply switch1070also switches from on to off under the control of the sub CPU1320.

The main power supply switch1080is switched in on/off by a user's operation only when the sub power supply switch1400is off or the main unit power supply switch1070is off, i.e., only when the mode is the energy saving mode. When the main power supply switch1080is off, there is no power supply to all devices included in the image processing apparatus1. When the main power supply switch1080is off, the image processing apparatus1can assume a plurality of modes. This will now be described later.

The AC/DC power supply generation unit1090converts an AC power supply which is input from a plug receptacle to a DC power supply suitable for the image processing apparatus1, and supplies the image processing apparatus1with the DC power supply.

A software configuration of the image processing apparatus1according to the present embodiment will now be described with reference toFIG. 4.FIG. 4is a block diagram illustrating a software configuration of the image processing apparatus1according to the present embodiment. As software201, there are various applications211and a platform212. They are executed in parallel with a process taken as the unit by an OS such as UNIX (registered trademark).

The applications211are software for executing information processing peculiar to respective functions of the image processing apparatus1. As the applications211, there are a copy application221which is an application for copying machine, a printer application222which is an application for printer, a scanner application223which is an application for scanner, a facsimile application224which is an application for facsimile, and an operating application225which is an application for controlling the operating unit1020. Besides them, the applications211may include Web server software for delivering HTML documents and the like, a network file application including a Web browser for perusing HTML documents and the like.

The platform212is software for executing information processing concerning processing requests issued to respective kinds of hardware in the image processing apparatus1by the applications211. For reception of a processing request from the applications211, an application programming interface (API)213which receives a processing request by using a predefined function is utilized. For transmission of a processing request to each hardware in the image processing apparatus1, an engine interface (ENI)214which transmits a processing request by using a predefined function is utilized. The platform212includes various control services231, a system resource manager (SRM)232, and various handlers233.

The control services231interpret processing requests sent from the applications211to respective kinds of hardware in the image processing apparatus1, and generate acquisition requests of respective kinds of hardware in the image processing apparatus1in accordance with a result of the interpretation. As the control services231, there are a network control service (NCS)241, a facsimile control service (FCS)242, a delivery control service (DCS)243, an engine control service (ECS)244, a memory control service (MCS)245, an operation control service (OCS)246, a user directory control service (UCS)247, a system control service (SCS)248, and an on-demand update service (OUS)249.

A process of the NCS241provides an API for conducting data communication via a network or the like. A process of the FCS242provides an API for conducting image data communication, image data acquisition, image data printing and the like as the facsimile. A process of the DCS243exercises control concerning delivery of document data stored in the image processing apparatus1. A process of the ECS244exercises control concerning the image reading unit1030and the image forming unit1040included in the image processing apparatus1. A process of the MCS245exercises control concerning memories and hard disk drives for image data storage, image data processing and the like. A process of the OCS246exercises control concerning the operation panel. A process of the UCS247exercises control concerning management of user information. A process of the SCS248exercises control concerning management of the system. A process of the OUS249exercises control concerning program update.

The control service231includes a return control module which controls the return operation at the time when the image processing apparatus1returns from the energy saving mode. The return control module will be described in detail later. A configuration in which the return control module is included in the applications211may be adopted.

The SRM232exercises control for arbitrating acquisition requests for the respective kinds of hardware in the image processing apparatus1and implementing processing requests for the respective kinds of hardware in the image processing apparatus1in accordance with a result of the arbitration. A process of the SRM232makes a decision whether each kind of hardware in the image processing apparatus1concerning an acquisition request can be utilized (whether an acquisition request does not compete with another acquisition request). If it can be utilized, the process of the SRM232gives a notice to that effect to the control service231. In addition, the process of the SRM232creates a utilization schedule of respective kinds of the hardware in the image processing apparatus1concerning the acquisition requests, and exercises control for implementing the processing requests to respective kinds of hardware in the image processing apparatus1in accordance with a result of the creation.

The handlers233manage the respective kinds of the hardware in the image processing apparatus1in accordance with the result of the arbitration. As the handlers233, there are a facsimile control unit handler (FCUH)251and an image memory handler (IMH)252. The FCUH251manages a facsimile control unit. The IMH252assigns memories to respective processes, and the respective processes manage memories assigned to them.

An image processing apparatus activating unit202is executed first when the power supply of the image processing apparatus1is turned on, i.e., a main power supply1080is switched from off to on. As a result, the OS such as UNIX (registered trademark) is activated, and the platform212is activated, and in addition the applications211are activated. These programs are stored in the data storage unit1010, and activated by being read out into the main memory1200.

Modes which can be assumed by the image processing apparatus1will now be described with reference toFIG. 5.FIG. 5is a diagram illustrating mode shift of the image processing apparatus1according to the present embodiment. As illustrated inFIG. 5, in modes of the image processing apparatus1, there are an active mode301, a standby mode302, an energy saving mode303, and a shutdown mode304.

The active mode301is a state in which the image processing apparatus1keeps at least one function among functions the image processing apparatus1has, such as the copy, printer, scanner and facsimile, in the operation state, and consumed power is maximized. When an instruction of apparatus operation is executed, a shift from the standby mode to the active mode301is made.

The standby mode302is a mode in which the image processing apparatus1is waiting and the image processing apparatus1can execute an instruction of an apparatus operation readily. In other words, the image processing apparatus1in the standby mode is in a state in which the user can use at least one of the functions the image processing apparatus1has. When the apparatus operation is finished, a transition from the active mode301to the standby mode302is made. Furthermore, when the main power supply switch1080is switched from off to on in the shutdown mode, a transition to the standby mode302is also made. In the standby mode302, all of the main unit power supply switch1070, the main power supply switch1080, and the sub power supply switch1400illustrated inFIG. 3are on.

The energy saving mode303is a mode in which the consumed power is the lowest and the main unit power supply switch1070or the sub power supply switch1400is off. In this mode, power supply is not supplied to the data storage unit1010, the operating buttons1021, the operation panel1022, the image reading unit1030, the image forming unit1040, the main CPU1100, and the main memory1200. Even in the state of the energy saving mode303, however, power supply required when the operating buttons1021and the operation panel1022function as sensors is supplied separately as described above. In the energy saving mode303, the detection of a return trigger and the network response are conducted in the sub CPU1320.

If there is not a user's operation on the image processing apparatus1or the apparatus operation for a predetermined time when the image processing apparatus1is in the standby mode302, then the image processing apparatus1enters the energy saving mode303. At this time, the main unit power supply switch1070and the sub power supply switch1400are switched from on to off. To the contrary, if the sub CPU1320has detected a return trigger when the image processing apparatus1is in the energy saving mode303, then the image processing apparatus1enters the standby mode302.

Since the main memory1200is a volatile storage medium, information is lost if there is not power supply. When the shift to the energy saving mode303is made, therefore, an image of a storage area in the main memory1200is copied to the data storage unit1010which is a non-volatile storage medium. At the time of return from the energy saving mode303, therefore, return to the mode before the shift to the energy saving mode303can be conducted by reading the image of the main memory1200copied into the data storage unit1010, again.

The shutdown mode304is a mode in which the main power supply switch1080is off and there is no power supply to all devices included in the image processing apparatus1. The main power supply switch1080is switched from on to off and the image processing apparatus1enters the shutdown mode304by a user's operation only when the sub power supply switch1400is off or the main unit power supply switch1070is off, i.e., only in the energy saving mode303.

Prior to description of a return operation from the energy saving mode to the standby mode in the image processing apparatus1according to the present embodiment, a return operation from the energy saving mode to the standby mode in the conventional image processing apparatus will be described briefly with reference toFIG. 6.FIG. 6is a diagram illustrating progress with time of the return operation from the energy saving mode to the standby mode in the conventional image processing apparatus. In the conventional image processing apparatus, any function cannot be used since activating of an application is started until all applications have activated, as illustrated inFIG. 6.

As a matter of fact, a predetermined activating sequence of applications is not restricted to that illustrated inFIG. 6. However, it is common to conventional image processing apparatuses that the activating sequence cannot be changed and any function cannot be used until all applications are finished in activating.

A return operation procedure from the energy saving mode to the standby mode in the image processing apparatus1according to the present embodiment will now be described with reference toFIG. 7.FIG. 7is a flow chart illustrating a return operation procedure from the energy saving mode to the standby mode in the image processing apparatus1according to the present embodiment. When the image processing apparatus1returns from the energy saving mode to the standby mode, a return trigger is first generated. As the return trigger, there are a user's operation on the operating unit1020, reception of image information of the facsimile1050, detection of sheet setting by the sheet setting sensor1060, and reception of a printing request in the PHY1310for Ethernet (registered trademark). In other words, the operating unit1020, the facsimile1050, the sheet setting sensor1060, and the PHY1310for Ethernet (registered trademark) function as return trigger generation units.

If a return trigger is generated, then, first, the sub CPU1320detects the return trigger (step S701). At this time, the sub CPU1320functions as a return trigger detection unit. Then, the sub CPU1320identifies the detected return trigger (step S702). At this time, the sub CPU1320functions as a return trigger identifying unit. The sub CPU1320stores the identified return trigger into a memory included in itself (step S703). At this time, the sub CPU1320functions as a return trigger storage unit. And the sub CPU1320switches the main CPU1100serving as the main control unit from a power supply off-state to a power supply on-state and activates the main CPU1100(step S704). At this time, the sub CPU1320functions as a first-control-unit starting unit.

If the main CPU1100is activated, then the main CPU1100reads out the image of the main memory1200stored in the data storage unit1010into the main memory1200, and thereby causes the operating system to return (step S705) and activates hardware (S706). As a result, the software configuration of the platform212described with reference toFIG. 4is reconstructed on the recording area of the main memory1200, and the above-described return control module is also activated. Thereafter, the return control module reads the return trigger stored at step S703(step S707). At this time, the return control module functions as a return trigger reading unit. The return control module makes a decision whether the return trigger which is read is a user's key operation or sheet setting or not (step S708). Here, the key operation refers to that the user touches the operating buttons1021or the operation panel1022or the user operates the sub power supply switch1400.

If the return trigger read at step S707is determined to be a user's key operation or sheet setting (step S708, YES), this return trigger is generated as a result of user's direct operation on the image processing apparatus1. In that case, it is considered that the user is within a short distance from the image processing apparatus1and consequently it is necessary to preferentially activate an application for making the operating unit1020available and make the shift to a state in which the next operation of the user is possible, as soon as possible.

If the return control module determines the return trigger read at step S707to be a user's key operation or sheet setting (step S708, YES), therefore, the return control module preferentially activates the operating application225(step S709). Here, the return control module functions as a function activating control unit. And a function selection screen is displayed (step S710), and it becomes possible to use the operating unit1020. And the image processing apparatus1completes the shift from the energy saving mode to the standby mode.

If the return trigger read at the S707is determined to be neither a user's key operation nor sheet setting (step S708, NO), the return trigger has been generated without the user's direct operation on the image processing apparatus1. Here, the return trigger generated without the user's direct operation on the image processing apparatus1is a return trigger generated by reception of a printing request via the network4or reception of image information via the telephone line5. In this case, therefore, it is necessary to preferentially activate an application for making the image forming unit1040or the facsimile1050available and change the image processing apparatus1to a state in which the printer function or the facsimile function can be used, as soon as possible.

If the return trigger read at step S707is determined not to be a user's key operation or sheet setting (step S708, NO), the return control module makes a decision whether the return trigger which is read is a printing request (step S711). If the return trigger is a printing request (step S711, YES), it is necessary to preferentially activate an application for making the printer function available and change to a state in which printing is possible, as soon as possible. Therefore, the return control module preferentially activates the printer application222(step S712), and the image processing apparatus1completes the shift from the energy saving mode to the standby mode. At this time, the image processing apparatus1functions as the function activating control unit.

On the other hand, if the return trigger is not a printing request (step S711, NO), it is necessary to preferentially activate an application for making the facsimile function available and change to a state in which reception of image information by the facsimile1050is possible, as soon as possible. Therefore, the return control module preferentially activates the facsimile application224(step S713), and the image processing apparatus1completes the shift from the energy saving mode to the standby mode.

As for applications other than the preferentially activated application, they may be activated in a predetermined order and returned to an available state, or they may be kept in the unavailable state, i.e., in the energy saving mode. Or a configuration in which the user suitably switches to one of the two alternatives may be adopted. Furthermore, the predetermined order may be adapted to be set freely by the user. They will be described with reference toFIG. 8andFIG. 9.

FIG. 8is a diagram illustrating progress with time of a return operation from the energy saving mode to the standby mode in the image processing apparatus1according to the present embodiment. InFIG. 8, a case where the return trigger is the printing request is taken as an example. If activating of an application having a certain specific function is completed, it is possible in the image processing apparatus1according to the present invention to use the function of the application finished in activating without waiting for completion of activating of applications for other functions as illustrated inFIG. 8.

As for applications for other functions, they are activated successively in the background during operation of the function which has become usable, and eventually all functions become available. By adopting such a configuration, the time required until all functions become available can be shortened and consumed power can be reduced as compared with conventional image processing apparatuses.

Furthermore, if activating of an application for a certain specific function is completed, applications for other functions may be kept in the unusable state as they are, as illustrated inFIG. 9.FIG. 9is a diagram illustrating progress with time of a return operation from the energy saving mode to the standby mode in the image processing apparatus1according to the present embodiment. Incidentally, inFIG. 9, a case where the return trigger is the printing request is taken as an example. If activating of an application having a certain specific function is completed, it is possible in the image processing apparatus1according to the present invention to use the function of the application finished in activating without waiting for completion of activating of applications for other functions as illustrated inFIG. 9.

As for applications for other functions, they remain in the unavailable state, and a transition to the energy saving mode is made immediately, after operation of the function which has become usable is completed. By adopting such a configuration, the start time is shortened because only the function to be used is activated. Since a transition to the energy saving mode is made quickly if use of the function is finished, consumed power can be further reduced.

According to the embodiment, it is possible to shorten the return time of an apparatus from the power saving mode according to a user's intention to use the apparatus with a simple configuration and without requesting the user to conduct extra manipulations.