1. Field of the Invention
The present invention relates to an image processing apparatus capable of executing an installed application program.
2. Description of the Related Art
Japanese Patent Application Laid-Open No. 2010-156862 discusses a digital multifunction peripheral including a degeneration unit configured to invalidate, when some of its functions cannot be used due to a failure or the like, the functions, to operate the other functions that can be used. Japanese Patent Application Laid-Open No. 2001-249814 discusses constructing another execution environment directed toward a built-in system, e.g., an execution environment such as Java (registered trademark) on a real-time operating system (OS) in an image processing apparatus or the like, and downloading an application program from outside and executing the downloaded application program.
The application programs to be downloaded and executed, as discussed in Japanese Patent Application Laid-Open No. 2001-249814, include one having a function relating to security such as user authentication and one having an account function for counting use statuses of the image processing apparatus.
When a secondary storage function (e.g., a hard disk drive) in the image processing apparatus cannot be used, the downtime of the image processing apparatus is lengthened in a configuration in which an error screen is unconditionally displayed to call a service engineer, i.e., a configuration in which a user cannot use the image processing apparatus.
On the other hand, when the image processing apparatus continues to be used by invalidating the secondary storage function, as discussed in Japanese Patent Application Laid-Open No. 2010-156862, functions of the downloaded application program cannot be used. If the application program provides a function relating to security such as a user authentication function, for example, it is not desirable for security reasons that the image processing apparatus can be used in a situation where the function is not validated.
If the application program provides the account function for counting use statuses of the image processing apparatus, for example, the image processing apparatus can be used in a situation where the function is not validated. Thus, the use statuses of the image processing apparatus cannot be correctly counted. When a function required to manage the image processing apparatus cannot be provided by performing a degeneration operation, therefore, the image processing apparatus may not correctly operate.
The present invention is directed to an image processing apparatus that can avoid incorrectly operating by invalidating a specific function.
According to an aspect of the present invention, an image processing apparatus includes an image processing unit configured to perform image processing, a storage unit configured to be capable of storing an application program installed in the image processing apparatus, a first determination unit configured to determine whether the application program had ever been installed in the image processing apparatus, and a control unit configured to selectively control the image processing unit to be operable and control the image processing unit not to operate according to the determination by the first determination unit if an error has occurred in the storage unit.
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.
The operation unit 102 includes a liquid crystal display unit having a touch panel function and a keyboard. The printer unit 103 prints image data to be printed, which is input from the control unit 108, on a sheet. The printer unit 103 includes a sheet feeding device and a sheet discharge device.
An interface unit 105 connects the control unit 108 to a network (not illustrated), to receive image data for printing from an information processing device (not illustrated) on the network and receive screen data to be displayed in the operation unit 102. If an application program, which is described below, is installed in the printing apparatus 100, the application program is downloaded via the interface unit 105. An image to be printed, which is received from an information processing device (not illustrated), is temporarily stored in an image memory 106, and is printed in the printer unit 103 via the control unit 108.
While the printing apparatus 100 will be described as an example of an image processing apparatus according to the present exemplary embodiment, the printing apparatus 100 may be a multifunction peripheral further having a scanner function and an image transmitting function.
While an operation system (OS) layer 201 generally includes a real-time OS, it may include a general-purpose OS such as Linux (registered trademark). A Java virtual machine (VM) 202 is a virtual machine such as Java (registered trademark), and provides an execution environment of the application program. An application framework 203 provides a function of managing a life cycle of the application program. An installer service 204 performs installation processing by registering a plurality of application programs such as application programs A and B, which are described below, in the application framework 203.
The application program A 205 and the application program B 206 are installed by the installer service 204, and provide various functions on the printing apparatus 100. The application program A 205 and the application program B 206 can be downloaded from outside the printing apparatus 100 and installed.
At least one of the application program A 205 and the application program B 206 can communicate with a user via the operation unit 102. At least one of the application program A 205 and the application program B 206 can also receive data from a personal computer (PC) on the network (not illustrated) via the interface unit 105, and print the data using the printer unit 103. The installer service 204 is accessed using a browser from an information processing device (not illustrated), to receive a predetermined application file 401 illustrated in
A Native function 207 provides a function incorporated in the printing apparatus 100. An example of the Native function 207 is a function of performing printing in the printer unit 103 based on print data received via the interface unit 105. In the present exemplary embodiment, the JavaVM 202, the application framework 203, the application program A 205, and the application program B 206 are stored in the HDD 107. The Native function 207 is stored in the ROM 110.
An application management function 301 is included in the installer service 204. An application presence/absence determination function 302 determines the presence or absence of an application program installed via the installer service 204. In the nonvolatile area in the RAM 111, information to identify the application program installed by the installer service 204 is stored. The application presence/absence determination function 302 refers to information stored in the RAM 111 and determines that the application program had ever been installed in the image processing apparatus. Information representing the installed application program is stored in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111. The application presence/absence determination function 302 refers to the RAM 111 to determine the presence or absence of the installed application program.
The application execution determination function 303 determines whether the application program installed via the installer service 204 is being executed or whether the application program is to be executed at predetermined timing such as the start time of the printing apparatus 100. A security identification information determination function 304 refers to security identification information 403 illustrated in
A degeneration management function 305 is included in the Native function 207. The degeneration management function 305 performs processing for continuing an operation of the printing apparatus 100 (a degeneration operation) depending on an error detected by an error detection function 306 described below by invalidating a function in which tan error has occurred. The error detection function 306 monitors states of the sheet feeding device and the sheet discharge device in the printer unit 103 and also a state of each of units included in the printing apparatus 100, such as the HDD 107 and the interface unit 105.
A display function 307 issues an instruction to display a message or the like to the liquid crystal display unit of the operation unit 102. A storage function 308 writes and reads data to and from the HDD 107 and the RAM 111.
An application file 401 includes application configuration information 402 and an application entity unit 404. The application configuration information 402 includes security identification information 403. The application management function 301 included in the installer service 204 extracts the security identification information 403 when the application file 401 is installed. The storage function 308 stores the extracted security identification information 403 in the HDD 107 or the RAM 111.
The application entity unit 404 is an entity itself of an application program included in the application file 401. When the application management function 301 installs the application file 401, the storage function 308 stores the application entity unit 404 in a predetermined area of the HDD 107.
The security identification information 403 indicates that the application program is related to security of the printing apparatus 100. The application program including the security identification information 403 is executed so that the security of the printing apparatus 100 is maintained. For example, an application program for authenticating a user of the printing apparatus 100, an application program for encrypting data to be stored in the HDD 107 in the printing apparatus 100, and an application program for implementing secured printing each include the security identification information 403.
An application program to provide an account function for counting use statuses of the printing apparatus 100 may include the security identification information 403. More specifically, the security identification information 403 may be used as identification information for indicating an application program to be used to manage the printing apparatus 100.
In step 501, the error detection function 306 determines whether to detect an error in the HDD 107. If the error in the HDD 107 cannot be detected (NO in step 501), the processing in step 501 is repeated. Alternatively, if the error in the HDD 107 is not detected (NO in step 501), then the printing apparatus 100 performs a normal operation. If the error in the HDD 107 is detected (YES in step 501), the processing proceeds to step 502.
In step 502, the display function 307 displays a message indicating that an error has occurred in the HDD 107 on the liquid crystal display unit of the operation unit 102. In step 503, the application presence/absence determination function 302 determines whether an application program, which has already been installed in the printing apparatus 100, exists. If the application program, which has been installed in the printing apparatus 100, does not exist (NO in step 503), the processing proceeds to step 504. If the installed application program exists (YES in step 503), the processing proceeds to step 505.
In step 504, the degeneration management function 305 sets an “HDD degeneration mode”. The “HDD degeneration mode” means a parameter for the printing apparatus 100 to shift to a state where the HDD 107 is invalidated when started next time. The parameter is stored in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111.
In step 505, the security identification information determination function 304 determines whether there is an application program including the security identification information 403 among the application programs, which have been installed in the printing apparatus 100. If it is determined that the application program including the security identification information 403 does not exist (NO in step 505), the processing proceeds to step 506. If it is determined that the application program including the security identification information 403 exists (YES in step 505), the processing proceeds to step 507.
In step 506, the degeneration management function 305 sets an “HDD degeneration mode with a warning message” in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111. The “HDD degeneration mode with a warning message” will be described below.
In step 507, the application execution determination function 303 performs the following determination for the application program that is determined to include the security identification information 403. More specifically, the application execution determination function 303 determines (1) whether the application program is being executed or (2) whether the application program is to be executed at predetermined timing such as the start time of the printing apparatus 100.
If the application program that is determined to include the security identification information is determined as being executed or as the application program to be executed at the predetermined timing such as the start time of the printing apparatus 100 (YES in step 507), the processing proceeds to step 508. On the other hand, if the application program that is determined to include the security identification information 403 is determined as not being executed or as the application program not to be executed at the predetermined timing such as the start time of the printing apparatus 100 (NO in step 507), the processing proceeds to step 506.
In step 505, if it is determined that there is a plurality of application programs including security identification information 403 (YES in step 505), and if it is determined that at least one of the plurality of application programs is to be executed when the printing apparatus 100 is started (YES in step 507), the processing proceeds to step 508. On the other hand, if it is determined that none of the plurality of application programs is to be executed when the printing apparatus 100 is started (NO in step 507), the processing proceeds to step 506.
In step 508, the degeneration management function 305 sets an “HDD error display mode” in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111. Further, the degeneration management function 305 sets a parameter in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111. The parameter is used for displaying an error message indicating that an error has occurred in the HDD 107 on the liquid crystal display unit of the operation unit 102 when the printing apparatus 100 is started next time.
After the processing in steps 504, 506, and 508 are executed, the processing in the flowchart is ended. After the execution of the processing in the flowchart is ended, the printing apparatus 100 stops performing a printing operation and receiving print data, and waits while a message for prompting a user to restart the printing apparatus 100 (turn off and restore the power to the printing apparatus 100) is displayed in the operation unit 102. An error code may be displayed as the message. When the user restarts the printing apparatus 100 in such a state, the printing apparatus 100 performs processing described in a flowchart illustrated in
In step 601, the CPU 109 refers to the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111 to determine whether the “HDD degeneration mode” is set in a startup parameter. If the “HDD degeneration mode” is set (YES in step 601), the processing proceeds to step 602. Otherwise (NO in step 601), the processing proceeds to step 603.
In step 602, the printing apparatus 100 operates in the “HDD degeneration mode”. In the “HDD degeneration mode”, the printing apparatus 100 is started while the HDD 107 is invalidated. If the HDD 107 is invalidated, the application management function 301 cannot perform processing for activating the application program stored in the HDD 107. Accordingly, the printing apparatus 100 operates while no function is provided by the application program, and a printing function and an image processing function which are provided by the Native function 207 stored in the ROM 110 operate.
In step 603, the CPU 109 refers to the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111 to determine whether the “HDD degeneration mode with a warning message” is set in the startup parameter. If the “HDD degeneration mode with a warning message” is set (YES in step 603), the processing proceeds to step 604. If the “HDD degeneration mode with a warning message” is not set (NO in step 603), the processing proceeds to step 606.
In step 604, the display function 307 display a predetermined warning message indicating that an unusable application program exists on the liquid crystal display unit of the operation unit 102.
In step 605, the CPU 109 determines whether the warning message displayed in step 604 is released by a predetermined operation performed by the user on the operation unit 102. If it is determined that the warning message is released (YES in step 605), the processing proceeds to step 602.
In step 606, the CPU 109 refers to the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111, to determine whether the “HDD error display mode” is set in the startup parameter. If the “HDD error display mode” is set (YES in step 606), the processing proceeds to step 607. If the “HDD error display mode” is not set (NO in step 606), the processing proceeds to step 608.
In step 607, the display function 307 displays an error message on the liquid crystal display unit of the operation unit 102. The error message is a message for prompting the user to request a service engineer to perform predetermined restoration processing. In the “HDD error display mode”, the printing apparatus 100 does not enter a normal operating state, so that the printing function or the like does not operate. Further in the “HDD error display mode”, the printing apparatus 100 does not operate in the “HDD degeneration mode”. To restore the printing apparatus 100 from the “HDD error display mode”, the service engineer is required to perform predetermined restoration processing so that the error in the HDD 107 is resolved.
In step 608, the printing apparatus 100 starts to perform the normal operation because no parameter is set in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111 (no error has occurred in the HDD 107).
According to the flowcharts illustrated in
In step 604 illustrated in
If, in step 503 in the flowchart illustrated in
If, in step 505 in the flowchart illustrated in
A second exemplary embodiment of the present invention will be described below with reference to the drawings.
The second exemplary embodiment includes storage area automatic restoration processing and storage area initialization processing, which is performed when a storage area cannot be restored, in addition to the first exemplary embodiment.
A device configuration of the printing apparatus 100 according to the second exemplary embodiment is similar to that illustrated in
An application management function 701 is similar to the application management function 301 illustrated in
An error detection function 705 monitors states of the sheet feeding device and the sheet discharge device in the printer unit 103 and also a state of each of units included in the printing apparatus 100, such as the HDD 107 and the interface unit 105.
A display function 706 is similar to the display function 307 illustrated in
In step 801, the error detection function 705 determines whether to detect an error in the HDD 107. If the error in the HDD 107 cannot be detected (NO in step 801), the processing in step 801 is repeated. In addition, if the error in the HDD 107 is not detected (NO in step 801), then the printing apparatus performs a normal operation. If the error in the HDD 107 is detected (YES in step 801), the processing proceeds to step 802.
In step 802, the display function 706 displays a message indicating that an error has occurred in the HDD 107 on a liquid crystal display unit of an operation unit 102.
In step 803, the CPU 109 sets an “automatic restoration mode” serving as a parameter for automatically restoring the HDD 107 when the printing apparatus 100 is started next time. The parameter is stored in the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111. Then, the processing in the flowchart is ended.
In step 901, the CPU 109 refers to the nonvolatile area (e.g., SRAM/FRAM) of the RAM 111 to determine whether an “automatic restoration mode” is set. If the “automatic restoration mode” is not set (NO in step 901), the processing proceeds to step 902. If the “automatic restoration mode” is set (YES in step 901), the processing proceeds to step 903.
In step 902, the printing apparatus 100 to perform a normal operation. The printing apparatus 100 executes original functions (a printing function and an image processing function). The printing apparatus 100 during the normal operation also performs a function provided by an application program stored in the HDD 107.
In step 903, the storage device automatic restoration function 708 automatically restores the HDD 107. The storage device automatic restoration function 708 resolves the error in the HDD 107, and performs processing for returning to a situation where the error has not occurred. Known restoration processing (e.g., check disk) is performed
In step 904, the CPU 109 determines whether the HDD 107 is restored to the situation where the error has not occurred by the automatic restoration processing in step 903. If it is determined that the HDD 107 is restored (YES in step 904), the processing proceeds to step 902. In step 902, the CPU 109 performs the normal operation. On the other hand, if it is determined that the HDD 107 is not successfully restored (NO in step 904), the processing proceeds to step 905. In step 905, the CPU 109 initializes (formats) the HDD 107.
In step 906, the application presence/absence determination function 702 determines whether an application program, which has already been installed in the printing apparatus 100, exists.
If it is determined that the application program, which has already been installed, does not exist (NO in step 906), the processing proceeds to step 902. In step 902, the printing apparatus 100 performs the above-mentioned “HDD degeneration mode”. If it is determined that the application program, which has already been installed, exists (YES in step 906), the processing proceeds to step 907.
In step 907, the security identification information determination function 704 determines whether the application program, which has already been installed, includes an application program having security identification information 403. If it is determined that the application program including the security identification information 403 does not exist (NO in step 907), the processing proceeds to step 908. If it is determined that the application program including the security identification information 403 exists (YES in step 907), the processing proceeds to step 910.
In step 908, the display function 706 displays on the operation unit 102 a warning message indicating that the application program stored in the HDD 107 has disappeared by the storage area initialization processing in step 905.
In step 909, the CPU 109 determines whether a predetermined operation by the user for releasing the warning message displayed in step 908 is performed. If the predetermined operation for releasing the warning message is performed (YES in step 909), the processing proceeds to step 902. In step 902, the printing apparatus 100 performs the above-mentioned “HDD degeneration mode”. Otherwise (NO in step 909), the processing in step 909 is repeated.
In step 910, the application execution determination function 703 determines (1) whether the application program including the security identification information 403 is being executed or (2) whether the application program is to be executed at predetermined timing such as the start time of the printing apparatus 100.
If it is determined that the application program including the security identification information 403 is not being executed or that the application is not to be executed at predetermined timing such as the start time of the printing apparatus 100 (NO in step 910), the processing proceeds to step 908. On the other hand, if it is determined that the application program including the security identification information 403 is being executed or that the application program is to be executed at predetermined timing such as the start time of the printing apparatus 100 (YES in step 910), the processing proceeds to step 911.
In step 911, the CPU 109 displays an error message, similar to the processing in the “HDD error display mode” in step 607 illustrated in
According to the flowchart illustrated in
If the application presence/absence determination function 302 determines that the application program, which has already been installed, exists (YES in step 906 in the flowchart illustrated in
In addition, if it is determined that the application program including the security identification information 403 exists (YES in step 907 in the flowchart illustrated in
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or a 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 storage medium).
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.
This application claims priority from Japanese Patent Application No. 2011-113825 filed May 20, 2011, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2011-113825 | May 2011 | JP | national |
The present application is a Continuation of U.S. patent application Ser. No. 13/473,343 filed May 16, 2012, which claims the benefit of priority from Japanese Patent Application No. 2011-113825 filed May 20, 2011, each of which is hereby incorporated by reference herein in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
6088778 | Ruff et al. | Jul 2000 | A |
20030032485 | Cockerille | Feb 2003 | A1 |
20030235450 | Okamoto | Dec 2003 | A1 |
20040145766 | Sugishita et al. | Jul 2004 | A1 |
20060080330 | Sugino | Apr 2006 | A1 |
20080316522 | Yokoyama et al. | Dec 2008 | A1 |
20090002733 | Kakigi | Jan 2009 | A1 |
20100166448 | Mikami | Jul 2010 | A1 |
20100245909 | Yamaguchi | Sep 2010 | A1 |
20110320748 | Hamaguchi | Dec 2011 | A1 |
20120062948 | Nishikawa | Mar 2012 | A1 |
20140176975 | Kobayashi et al. | Jun 2014 | A1 |
Number | Date | Country |
---|---|---|
2400423 | Dec 2011 | EP |
H09-098247 | Apr 1997 | JP |
2000-215008 | Aug 2000 | JP |
2001-249814 | Sep 2001 | JP |
2008-148226 | Jun 2008 | JP |
2010-156862 | Jul 2010 | JP |
2011-54146 | Mar 2011 | JP |
Number | Date | Country | |
---|---|---|---|
20150356390 A1 | Dec 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13473343 | May 2012 | US |
Child | 14829456 | US |