The present invention relates to an image forming apparatus that stores a log of the image forming apparatus and a log of an external controller at a time of an occurrence of an error, an information processing apparatus, methods of controlling these apparatuses, and a recording medium.
It has been a common practice to store a log when an operation error occurs in a printing apparatus, to analyze a cause of the error. For example, the log includes information on a user operation, a print job execution status, and a program execution status.
In one conventionally known printing system, an external image processing controller (hereinafter, referred to as an external controller) known as a digital front end is connected to a printing apparatus. The external controller thus connected enables to add functions that cannot be achieved by the printing apparatus alone and to achieve print processing with a higher quality and a higher speed. For example, the external controller executes raster image processor (RIP) processing on print data received from a personal computer (PC) or the like, and then outputs the processed print data to the printing apparatus.
Japanese Patent Application Laid-Open No. 2016-45702 discusses a system in which a log of a printing apparatus and a log of an external controller are each collected, so that an error investigation can be performed in the printing system. In the system discussed in Japanese Patent Application Laid-Open No. 2016-45702, logs of the printing apparatus and of the external controller are collectively managed by the external controller with the log of the printing apparatus transmitted to the external controller.
In the system discussed in Japanese Patent Application Laid-Open No. 2016-45702, the printing apparatus and the external controller are each programmed in such a manner that when predetermined processing is executed, a log indicating the execution of the processing is generated and stored in a hard disk together with a timestamp.
Embodiments of the present invention include the following image forming apparatus.
An image forming apparatus includes a memory device that stores a set of instructions and at least one processor being operable when executing the instructions to perform communication with an external controller, receive, in a case where a predetermined error related to the communication occurs, log information on the predetermined error from the external controller, and store, in a storage unit of the image forming apparatus, the log information received from the external controller and log information indicating an operation of the image forming apparatus corresponding to a timing at which the predetermined error has occurred.
Embodiments of the present invention include the following information processing apparatus.
An information processing apparatus includes a memory device that stores a set of instructions, and at least one processor being operable when executing the instructions to perform communication with an image forming apparatus, and transmit, in a case where a predetermined error related to the communication occurs, log information on the predetermined error to the image forming apparatus. The log information transmitted to the image forming apparatus is stored in the image forming apparatus together with log information indicating an operation of the image forming apparatus corresponding to a timing at which the predetermined error has occurred.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Exemplary embodiments of the present invention are described below with reference to the drawings.
The external controller 102 is communicably connected with a client personal computer (PC), such as a PC 103 and a PC 104, through an external LAN 107. The PC 103 and the PC 104 issue a print instruction to the image forming apparatus 101 via the external controller 102. More specifically, upon receiving the print instruction from the PC 103 or the PC 104, the external controller 102 executes image processing and raster image processor (RIP) processing, and inputs the processed image data and issues a print instruction to the image forming apparatus 101. The external controller 102 can acquire a status of a print job being executed, in response to a request from the PC 103 or the PC 104.
The image forming apparatus 101 is not directly connected with the external LAN 107, and communicates with the PC 103 and the PC 104 via the external controller 102. Upon receiving communication data issued to the image forming apparatus 101 through the external LAN 107, the external controller 102 transfers the communication data to the image forming apparatus 101 through the internal LAN 105. Upon receiving communication data destined to an external client (i.e., PC 103 or the PC 104) through the internal LAN 105, the external controller 102 transfers the communication data to the external client through the external LAN 107. In the system illustrated in
The image forming apparatus 101 includes an operation unit interface (I/F) 204, a hard disk drive (HDD) 205, a central processing unit (CPU) 206, a scanner I/F 207, a network I/F 208, a power supply control unit 209, an engine I/F 210, a memory 211, a fax I/F 212, and a video I/F 213.
The operation unit I/F 204 is connected with an operation screen 201. The operation screen 201 includes an operation button and a display panel. The operation button of the operation screen 201 receives an input from a user. The display panel of the operation screen 201 displays information such as a printing status. The HDD 205 is a storage device. The CPU 206 performs control of the components of the image forming apparatus 101, calculations, and the like via a system bus 219. The scanner 203, connected via the scanner I/F 207, reads an original and inputs image data. The network I/F 208 is connected to the external controller 102 through the internal LAN 105. Communications such as issuing a print job instruction are performed through the network I/F 208. The power supply control unit 209 controls power supply to the components of the image forming apparatus 101. A paper feed device 216, a printer unit 215, and a paper discharge device 214 are connected to each other through the engine I/F 210. The paper feed device 216 feeds a supplied sheet to the printer unit 215. The printer unit 215 prints an image on the received sheet. The paper discharge device 214 receives the sheet printed by the printer unit 215, and executes post processing including discharging, sorting, stapling, punching, and cutting on the received sheet. The memory 211 is used as a work memory by the CPU 206. A fax unit 217 is connected via the fax I/F 212. The fax unit 217 is connected to a telephone line 108 via a modem 218, and is used for transmitting/receiving fax data. The video I/F 213 is connected to the external controller 102 via the video cable 106 and is used for inputting image data. When the CPU 206 executes processing based on a program stored in the memory 211 or the HDD 205, functions of the image forming apparatus 101, processing of the image forming apparatus 101 illustrated in sequence diagrams in
The external controller 102 includes a network I/F 221, a network I/F 222, an operation unit I/F 223, a memory 224, a video I/F 225, a power supply control unit 226, an HDD 227, and a CPU 228, connected to each other via a system bus 202. The network I/F 221 is connected with the image forming apparatus 101 via the internal LAN 105. Communications including issuing a print job instruction are performed via the network I/F 221. The network I/F 222 is connected with the external LAN 107. Communications such as issuing a print instruction from a client PC are performed through the network I/F 222. The operation unit I/F 223 is connected with an operation screen 220. The operation screen 220 includes an operation button and a display panel. The operation button of the operation screen 220 receives an input from a user. The display panel of the operation screen 220 displays information such as a printing status. The memory 224 is used as a work memory by the CPU 228. The video I/F 225 is connected to the image forming apparatus 101 via the video cable 106 and is used for inputting image data and issuing notification indicating a power supply status. The power supply control unit 226 controls power supply to the components of the external controller 102. The HDD 227 is a large capacity storage device. The CPU 228 performs control of the components of the external controller 102, calculations, and the like via the system bus 202. When the CPU 228 executes processing based on a program stored in the memory 224 or the HDD 227, functions of the external controller 102, processing of the external controller 102 illustrated in the sequence diagrams in
A system log, a network log, a print process log, a print log, an optional device log, an error log, an image processing log, and the like are stored in the HDD 205 of the image forming apparatus 101. The system log of the image forming apparatus 101 includes histories of starting of an OS, a system call, hardware detection, and the like. The network log of the image forming apparatus 101 includes network device information, configuration information, and a history of transmission/reception of a command. The print process log of the image forming apparatus 101 includes a history of reception of a print command and a control history. The print log of the image forming apparatus 101 includes information on a completed print job. The optional device log of the image forming apparatus 101 includes a control history of an optional device such as a finisher. The error log of the image forming apparatus 101 includes a history of an error generated in the image forming apparatus 101. The image processing log of the image forming apparatus 101 includes a log of analysis on the received image data. A cause of an error having occurred in the image forming apparatus 101 and the external controller 102 can be analyzed based on an analysis of the above-described logs.
The temporary log is a log constantly acquired in the image forming apparatus 101 and the external controller 102. When the stored temporary logs exceed a predetermined upper limit capacity or count, the oldest log is deleted. Thus, if a temporary log is acquired, a temporary log stored at a time when an error has occurred may be deleted when a time period has elapsed after the occurrence of the error.
The archive log is a log stored in response to a log storage instruction from a user. The archive log includes a temporary log at the time when the instruction is given, and may also include a log not included in the temporary log such as information on a currently executed job for example. The archive log is stored in an area in the HDD different from a storage area for the temporary log. When the stored archive logs exceed an upper limit capacity or count, set independently from that of the temporary log, the oldest log is deleted. The archive log is stored not only when a storage instruction is issued from a user but also when an error is detected. The archive log is stored in an area in the HDD different from the storage area for the temporary log, so that a log at the time when the storage instruction is given can be reliably stored.
A first exemplary embodiment is described below.
In step S901, the CPU 228 receives print data from the PC 103 or the PC 104.
In step S902, the CPU 228 analyzes the print data. The analysis on the print data is referred to as raster image processor (RIP). The CPU 228 executes processing for converting print data in a format such as PostScript (PS) and Portable Document Format (PDF) into data in a format that can be analyzed by the image forming apparatus 101.
In step S903, the CPU 228 generates a print command. The print command includes the entire print job setting 501 and setting information 502, 505, and 508 on the pages described with reference to
In step S904, the CPU 228 transmits the print command generated in step S903 to the image forming apparatus 101.
In step S905, the CPU 228 determines whether the print command transmitted in step S904 has been successfully transmitted within a predetermined time period. The predetermined time period in step S905 differs among print commands.
In step S906, the CPU 228 determines whether the transmission of all the print commands has been completed. When the CPU 228 determines that the transmission of all the print commands has been completed (YES in step S906), the job transmission processing illustrated in
In step S907, the CPU 228 displays an error screen on the operation screen 220.
In step S908, the CPU 228 stores a log of the external controller 102 in the HDD 227. The log of the external controller 102 stored in step S908 is the archive log illustrated in
In step S909, the CPU 228 transmits the log stored in step S908 to the image forming apparatus 101. Thus, when a predetermined error related to communication between the external controller 102 and the image forming apparatus 101 occurs, the image forming apparatus 101 receives log information on the predetermined error from the external controller 102.
In step S910, the CPU 228 determines whether the log transmission in step S909 has been successfully completed. When the CPU 228 determines that the log transmission has been successfully completed (YES in step S910), the job transmission processing illustrated in
In step S911, the CPU 228 stores an incompletely transmitted log, as the log failed to be transmitted, in the HDD 227, and the job transmission processing illustrated in
In step S1201, the CPU 206 starts receiving a print job by receiving the entire print job setting 501 from the external controller 102. The image forming apparatus 101 is capable of receiving the print job in a standby state after powered on.
In step S1202, the CPU 206 determines whether a predetermined time period has elapsed after the reception of the previous command. The predetermined time period differs among the print commands in step S1202. The examples of the time-out periods based on which the image forming apparatus 101 determines an occurrence of an error are illustrated in
In step S1203, the CPU 206 determines whether the print command has been received. The CPU 206 determines whether the predetermined time period has elapsed in step S1202 and determines whether the print command has been received in step S1203 by monitoring the network I/F 208 or the video I/F 213 to check whether the print command has been received. When the CPU 206 determines that the print command has not been received (NO in step S1203), the processing returns to step S1202. On the other hand, when the CPU 206 determines that the print command has been received (YES in step S1203), the processing proceeds to step S1204.
In step S1204, the CPU 206 determines whether all the print commands have been received. When the CPU 206 determines that all the print commands have been received (YES in step S1204), the processing proceeds to step S1205. On the other hand, when the CPU 206 determines that all the print commands have not been received (NO in step S1204), the processing returns to step S1202. The CPU 206 determines that all print commands have been received when the job transfer completion notification 511 illustrated in
In step S1205, the CPU 206 starts print processing corresponding to the received print command.
In step S1206, the CPU 206 determines whether the print processing has been completed. When the CPU 206 determines that the processing has not been completed (NO in step S1206), the processing returns to step S1205. On the other hand, when the CPU 206 determines that the processing has been completed (YES in step S1206), the print job reception processing illustrated in
In step S1207, the CPU 206 displays the error screen as illustrated in
In step S1208, the CPU 206 stores the log in the HDD 205, and the print job reception processing illustrated in
The start processing illustrated in
In step S1301, the CPU 228 starts the start processing. The star processing in step S1301 includes processing for detecting hardware such as a mouse and starting various applications, as in normal start processing for a PC.
In step S1302, the CPU 228 starts processing for establishing a connection with the image forming apparatus 101. The connection processing in step S1302 includes acquiring configuration information on the image forming apparatus 101 by the external controller 102.
In step S1303, the CPU 228 determines whether an incomplete transmission log is stored in the HDD 227. The incomplete transmission log is a log failed to be transmitted and stored in step S911 in
In step S1304, the CPU 228 transmits the incomplete transmission log to the image forming apparatus 101. Thus, when a predetermined error related to communication between the external controller 102 and the image forming apparatus 101 occurs, the image forming apparatus 101 receives log information on the predetermined error from the external controller 102.
In step S1305, the CPU 228 determines whether the log transmission in step S1304 has been successfully completed. When the CPU 228 determines that the log transmission has been successfully completed (YES in step S1305), the processing for starting the external controller 102 in
In step S1306, the CPU 228 stores the incomplete transmission log in the HDD 227, and the processing for starting the external controller 102 illustrated in
In SQ1, the CPU 206 of the image forming apparatus 101 detects an error when the time-out period has elapsed after the reception of image data.
In SQ2, the CPU 206 stores a log in the HDD 205.
Similarly, in SQ1′, the CPU 228 of the external controller 102 detects an error when the time-out period has elapsed after the reception of image data.
In SQ2′, the CPU 228 stores a log in the HDD 227.
In SQ3, the CPU 228 transmits the log stored in SQ2′ to the image forming apparatus 101. In the example illustrated in
Then, in SQ4, the CPU 228 stores as an incomplete transmission log the log that has failed to be transmitted, in the HDD 227.
In SQ5 after the communication between the image forming apparatus 101 and the external controller 102 is established, the CPU 228 transmits the incomplete transmission log to the image forming apparatus 101.
In SQ6, the CPU 206 of the image forming apparatus 101 that has received the log from the external controller 102 stores the log of the external controller 102 in the HDD 205 or the like.
Through this information processing, the log of the image forming apparatus 101 and the log of the external controller 102 are stored in the image forming apparatus 101. Thus, the image forming apparatus 101 stores the log information received from the external controller 102 and the log information indicating an operation of the image forming apparatus 101 corresponding to the timing at which a predetermined error has occurred in a storage unit of the image forming apparatus 101. In such a manner, the log information on the image forming apparatus 101 and the log information on the external controller 102 can be collectively checked. Thus, whether the error has occurred in communication between the image forming apparatus 101 and the external controller 102 is attributable to the image forming apparatus 101 or the external controller 102 can be identified simply by checking the log information stored in the image forming apparatus 101.
The image forming apparatus 101 may transmit the log information on the external controller 102 and the log information on the image forming apparatus 101, stored in the storage unit, to the management server 110 through a network. In such a manner, in the management server 110, the log information on the external controller 102 and the log information on the image forming apparatus 101 can be collectively checked. Thus, whether the error has occurred in communication between the image forming apparatus 101 and the external controller 102 is attributable to the image forming apparatus 101 or the external controller 102 can be identified in the management server 110 by simply checking the log information stored in the image forming apparatus 101.
The time-out period that is illustrated in
A second exemplary embodiment is described below. In the case described in the first exemplary embodiment, a print job input error is determined based on transmission/reception timeout of each print command. There are a number of other errors for which a log needs to be acquired in the image forming apparatus 101 and the external controller 102. In the second exemplary embodiment, logs are acquired in both of the image forming apparatus 101 and the external controller 102 even in a case where an error other than the timeout has occurred in the image forming apparatus 101 or the external controller 102, in addition to the configuration in the first exemplary embodiment.
In the second exemplary embodiment, the external controller 102 executes the job transmission processing in
In step S1401, the CPU 228 detects an error in the external controller 102. An example of a type of the error detected in step S1401 includes an error in an analysis being executed on print data and a case where configuration information on the image forming apparatus 101 received from the image forming apparatus 101 is unexpected information. An error that has occurred in the external controller 102 alone may be related to processing executed by the image forming apparatus 101. Thus, the acquisition of the logs of both the image forming apparatus 101 and the external controller 102 at the time when an error has occurred in the external controller 102 is effective for the analysis on the cause of the error.
In step S1402, the CPU 228 issues a log storage instruction to the image forming apparatus 101. Upon receiving the log storage instruction issued in step S1402, the image forming apparatus 101 stores the log of the image forming apparatus 101 in the HDD 205.
In step S1403, the CPU 228 stores the log of the external controller 102 in the HDD 227.
In step S1404, the CPU 228 transmits the log stored in step S1403 to the image forming apparatus 101.
In step S1405, the CPU 228 determines whether the log transmission has been successfully completed in step S1404. When the CPU 228 determines that the transmission has been successfully completed in step S1405 (YES in step S1405), the error detection processing by the external controller 102 in
In step S1406, the CPU 228 stores as an incomplete transmission log the log that has failed to be transmitted, in the HDD 227, and the error detection processing illustrated in
In step S1501, the CPU 206 detects an error in the image forming apparatus 101. Examples of a type of the error detected in step S1501 include a case where the print processing fails to be properly completed and a case where various unexpected commands are received from the external controller 102. An error has occurred in the image forming apparatus 101 alone may be related to processing executed by the external controller 102. Thus, the acquisition of the logs of both the image forming apparatus 101 and the external controller 102 at the time where an error has occurred in the image forming apparatus 101 is effective for the analysis on the cause of the error.
In step S1502, the CPU 206 issues a log storage instruction to the external controller 102.
In step S1503, the CPU 206 stores the log of the image forming apparatus 101 in the HDD 205, and the error detection processing by the image forming apparatus 101 illustrated in
In step S1601, the CPU 228 receives a log storage instruction from the image forming apparatus 101.
In step S1602, the CPU 228 stores the log of the external controller 102 in the HDD 227.
In step S1603, the CPU 228 transmits the log stored in step S1602 to the image forming apparatus 101.
In step S1604, the CPU 228 determines whether the log transmission in step S1603 has been successfully completed. When the CPU 228 determines that the log transmission has been successfully completed (YES in step S1604), the processing for receiving the log storage instruction in
In step S1605, the CPU 228 stores as an incomplete transmission log the log that has failed to be transmitted, in the HDD 227, and the error detection processing in
In step S1801, the CPU 206 receives a log storage instruction from the external controller 102.
In step S1802, the CPU 206 stores a log of the image forming apparatus 101 in the HDD 205.
The second exemplary embodiment can achieve an effect that logs of the image forming apparatus 101 and of the external controller 102 at a time when an error, which is different from the print command transmission/reception timeout, has occurred can both be stored in addition to the effect achieved by the first exemplary embodiment.
In the examples described in the first and the second exemplary embodiments, the log of the external controller 102 is transmitted to the image forming apparatus 101, and both of the logs of the external controller 102 and of the image forming apparatus 101 are stored in the image forming apparatus 101. Alternatively, the log of the image forming apparatus 101 can be transmitted to the external controller 102, and both of the logs of the external controller 102 and of the image forming apparatus 101 can be stored in the external controller 102. Furthermore, the logs of the external controller 102 and of the image forming apparatus 101 can both be transmitted to and stored in an external log server different from the external controller 102 or the image forming apparatus 101.
In the examples described in the first and the second exemplary embodiments, a log that has failed to be transmitted from the external controller 102 to the image forming apparatus 101 is retransmitted the next time the external controller 102 is started as in
The exemplary embodiments of the present invention are described above in detail. However, the present invention is not limited to such particular exemplary embodiments described above. For example, the hardware configurations of the image forming apparatus 101 and the external controller 102 illustrated in
The external controller described above may be referred to as an image processing controller, a digital front end (DFE), a print server, or the like. The image forming apparatus may be referred to as a multifunction peripheral (MFP).
With the processing according to the exemplary embodiments described above, both of logs of the image forming apparatus and of the external controller at a time when an error has occurred can be reliably stored.
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
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 such modifications and equivalent structures and functions.
Number | Date | Country | Kind |
---|---|---|---|
2016-113723 | Jun 2016 | JP | national |
This application is a Continuation of U.S. patent application Ser. No. 15/614,188, filed Jun. 5, 2017, which claims the benefit of Japanese Patent Application No. 2016-113723, filed Jun. 7, 2016, both of which are hereby incorporated by reference herein in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 15614188 | Jun 2017 | US |
Child | 17074081 | US |