Image processing device and control program

The image processing device executes power-off processing at optimal times by waiting for specific conditions to be met, addressing the issue of inappropriate timing and ensuring uninterrupted operations.

JP7585699B2Active Publication Date: 2024-11-19BROTHER KOGYO KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020170919
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-09
Publication Date
2024-11-19
Estimated Expiration
2040-10-09

AI Technical Summary

Technical Problem

Existing image processing devices struggle with executing power-off processing at inappropriate timings, leading to potential paper jams and interruptions in image-related processes.

Method used

The device includes a CPU that receives commands for power-off processing, determines whether disconnection conditions are met, and waits until these conditions are satisfied before executing the power-off process, allowing for conditional and immediate restarts based on various conditions such as time elapsed, transportation status, idling state, and completion of image-related processing.

Benefits of technology

Enables power-off processing at suitable timings, preventing paper jams and ensuring uninterrupted image-related processes by executing restarts only when conditions are met, thus optimizing system stability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007585699000001
    Figure 0007585699000001
  • Figure 0007585699000002
    Figure 0007585699000002
  • Figure 0007585699000003
    Figure 0007585699000003
Patent Text Reader

Abstract

To execute power-off processing at a suitable timing.SOLUTION: A restart command for instructing execution of restart processing includes a restart condition for executing the restart processing. When an MFP receives the restart command, the MFP determines whether the restart condition included in the command is established. In this case, when the restart condition is established, the MFP executes the restart processing, and when the restart condition is not established, the MFP stands by for the restart processing until the restart condition is established before executing the restart processing. This makes it possible to execute the restart processing, that is, power-off processing at a suitable timing.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing apparatus that executes a power-off process in response to receiving a command instructing the execution of a power-off process, and to a computer-readable control program for the image processing apparatus. [Background technology]

[0002] The following Patent Document describes an example of an image processing device that executes a power-off process. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-186220 A Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present invention is to execute power-off processing at an appropriate timing. [Means for solving the problem]

[0005] In order to solve the above problem, the image processing device disclosed in the embodiments is an image processing device equipped with a computer, the computer functions as a first processing execution means for executing a power supply disconnection process, a second processing execution means for executing a process related to image processing, a receiving means for receiving a first command from an external device instructing the execution of a power supply disconnection process, and a judgment means for judging whether a disconnection condition included in the first command is satisfied when the receiving means receives the first command, the disconnection condition being a condition for executing the power supply disconnection process, the receiving means being capable of receiving the first command even while the second processing execution means is performing a process related to image processing, the first processing execution means executes the power supply disconnection process when it is judged by the judgment means that the disconnection condition is satisfied, and when it is judged by the judgment means that the disconnection condition is not satisfied, the first processing execution means waits until the disconnection condition is satisfied before executing the power supply disconnection process, and the second processing execution means is capable of continuing to execute the process related to image processing even while the first processing execution means is waiting for the power supply disconnection process. Effect of the Invention

[0006] In the image processing apparatus and the control program disclosed in the embodiment, it is possible to execute the power-off process at a timing suitable for the cutoff condition included in the first command instructing the execution of the power-off process. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a block diagram of a communication system 1. [Diagram 2] FIG. 4 is a flowchart of the control program 32. [Diagram 3] FIG. 4 is a flowchart of the control program 32. [Figure 4] FIG. 13 is a diagram illustrating a command-based restart processing execution subroutine. [Diagram 5] FIG. 13 is a diagram illustrating a command-based restart processing execution subroutine. [Figure 6] FIG. 13 is a diagram illustrating a subroutine for executing a restart process based on setting conditions. [Figure 7] FIG. 13 is a diagram illustrating a subroutine for executing a restart process based on setting conditions. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings as appropriate. Note that the embodiment described below is merely one example of the present invention, and it goes without saying that the embodiment of the present invention can be modified as appropriate without departing from the spirit of the present invention. For example, the execution order of each process described below can be modified as appropriate without departing from the spirit of the present invention.

[0009] Fig. 1 is a block diagram of a communication system 1 according to this embodiment. The communication system 1 shown in Fig. 1 includes an MFP (an example of an image processing device) 10 and a PC (an example of an external device) 50. The MFP 10 is a device capable of executing various types of image processing such as scanning and printing, and executes various types of image processing according to PJL commands transmitted from the PC 50.

[0010] The MFP 10 mainly comprises a CPU (an example of a computer) 12, a memory 14, an LCD 16, an input I / F 18, a reading unit 20, a recording unit 22, a conveying unit (an example of a conveying device) 23, and a communication I / F 28. These components are capable of communicating with each other via a bus 30.

[0011] The MFP 10 is capable of communicating with the PC 50 via the communication I / F 28 and the communication paths 31. As a communication method for each communication path 31, for example, a wired LAN, USB, Wi-Fi (registered trademark), or Bluetooth (registered trademark) can be adopted.

[0012] The CPU 12 executes processing in accordance with a control program (one example of a control program) 32 in the memory 14. The control program 32 is a program for executing image formation processes such as scanning and printing. Hereinafter, the CPU 12 that executes the control program 32 may also be referred to simply by the program name. For example, the description "the control program 32" may mean "the CPU 12 that executes the control program 32."

[0013] The memory 14 also includes a data storage area 34. The data storage area 34 is an area for storing data necessary for executing the control program 32, etc. The memory 14 is configured by combining a RAM, a ROM, a flash memory, an HDD, a portable storage medium such as a USB memory detachably attached to the PC 10, a buffer provided in the CPU 12, and the like.

[0014] The memory 14 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. Non-transitory media are also tangible media. On the other hand, an electrical signal carrying a program downloaded from a server on the Internet is a computer-readable signal medium, which is a type of computer-readable medium, but is not included in non-transitory computer-readable storage media.

[0015] The LCD 16 displays various information of the MFP 10. The display of the present application is not limited to a liquid crystal display, and may be a display of another display type such as an organic electroluminescence (EL) display. The input I / F 18 is, for example, a touch panel that is integrally configured with the display, and accepts user operations on icons, buttons, etc. displayed on the display. Also, instead of a touch panel, hard keys, etc. may be used.

[0016] The reading unit 20 is a part that includes an image sensor and reads an image and executes a scan. The recording unit 22 is, for example, an electrophotographic printing mechanism. The recording unit 22 may also be an inkjet printing mechanism.

[0017] The transport unit 23 is a mechanism for transporting paper. The transport unit 23 has a structure for transporting the document placed on the ADF to the reading unit 20 during the scan process, and discharging the document to the outside of the MFP 10 after the document is read by the reading unit 20. The transport unit 23 has a structure for transporting the print paper from a storage tray in which the print paper is stored to the recording unit 22 during the print process, and discharging the print paper to the outside of the MFP 10 after an image is printed on the print paper. A detection sensor 36 is disposed at the end of the transport path of the document and print paper of the transport unit 23, that is, immediately before the document or print paper is discharged from the MFP 10, and the detection sensor 36 detects the discharge of the document or print paper from the MFP 10.

[0018] In this specification, the term basically refers to the processing of the CPU 12 according to the instructions written in the program. In other words, the processing of "judging", "extracting", "selecting", "calculating", "deciding", "identifying", "obtaining", "receiving", "controlling", "setting" and the like in the following description refers to the processing of the CPU 12. The processing by the CPU 12 also includes hardware control via the OS. In addition, "obtaining" is used as a concept that does not necessarily require a request. In other words, the processing of the CPU 12 receiving data without a request is also included in the concept of "the CPU 12 obtaining data". In addition, "data" in this specification is represented by a bit string that can be read by a computer. Data that has the same substantial meaning but different formats is treated as the same data. The same applies to "information" in this specification. In addition, the processing of "command", "response", "request", and the like is performed by communicating information indicating "command", "response", "request", and the like. In addition, the words "command", "response", "request", and the like may be described as the information itself indicating "command", "response", "request", and the like. In addition, the processing by the CPU to determine whether or not information A indicates matter B may be described conceptually as "determining whether or not matter B is based on information A". The process by which a CPU determines whether information A indicates event B or event C is sometimes described conceptually as "determining whether it is event B or event C from information A."

[0019] The process of the control program 32 executed when a restart command is received from the PC 50 will be described in detail with reference to the flowcharts shown in FIGS.

[0020] The PC 50 issues a command to the MFP 10 using a PJL command. When the MFP 10 receives data, the analysis processing unit 72 performs command analysis (S102). Then, the analysis processing unit 72 determines whether the received PJL command is a restart command (S104).

[0021] If the received PJL command is not a restart command (S104: NO) but is a print process command (S106: YES), the analysis processing unit 72 outputs a print process execution instruction to the print processing unit 60 (S107). Then, the print processing unit 60 controls the operation of the recording unit 22 and the transport unit 23 to execute the print process (S108). The print process command is a command (an example of a second command) for performing image-related processing, which is processing related to image processing. There are other commands for performing various image-related processing, but in this explanation, only the print process command, the scan process command, the setting process command, and the output process command will be explained.

[0022] Furthermore, if the received PJL command is a scan process command (S110: YES), the analysis processing unit 72 outputs a scan process execution instruction to the scan processing unit 62 (S111). Then, the scan processing unit 62 controls the operation of the reading unit 20 and the conveying unit 23 to execute the scan process (S112).

[0023] Furthermore, if the received PJL command is a setting process command (S114: YES), the analysis processing unit 72 outputs a setting process execution instruction to the setting processing unit 64 (S115). The analysis processing unit 72 outputs the setting value included in the setting process command together with the setting process execution instruction to the setting processing unit 64. The setting processing unit 64 then executes the setting process based on the received setting value (S116). For example, the setting processing unit 64 stores the received setting value in the data memory area 34 as a default value.

[0024] Also, if the received PJL command is an output processing command (S113: YES), the analysis processing unit 72 outputs an output processing execution instruction to the output processing unit 66 (S117). The analysis processing unit 72 outputs parameters included in the output processing command together with the output processing execution instruction to the output processing unit 66. Then, the output processing unit 66 executes data output processing (S118). For example, the output processing unit 66 searches the data indicated by the accepted parameters in the data storage area 34, and transmits the data to the PC 50 or a destination indicated by the parameters via the communication I / F 28. Also, if the received PJL command is another command (S113: NO), the analysis processing unit 72 executes processing for the received command (S119).

[0025] Incidentally, the processing by the analysis processing unit 72 is executed in parallel with the processing by the print processing unit 60, the scan processing unit 62, the setting processing unit 64, and the output processing unit 66. In other words, the analysis processing unit 72 receives data, analyzes commands, and outputs execution instructions even while image-related processing is being executed.

[0026] Here, the PJL commands transmitted to the MFP 10 include a restart command for performing an immediate restart process (hereinafter, referred to as an "immediate restart command") (an example of a third command) and a restart command for performing a condition-satisfied restart process, which is a restart process executed after a restart execution condition is satisfied (hereinafter, referred to as a "condition-satisfied restart command"). For this reason, when it is determined that the PJL command received in S104 is a restart command (S104: YES), the analysis processing unit 72 determines whether the received PJL command is an immediate restart command (S120). At this time, when the received PJL command is an immediate restart command (S120: YES), the analysis processing unit 72 outputs a restart process execution instruction to the immediate restart processing unit 68 (S121). Then, the immediate restart processing unit 68 executes the restart process at the timing when the restart process execution instruction is received (S122). That is, the immediate restart processing unit 68 executes the immediate restart process, which receives the restart process execution instruction and immediately restarts the device. Incidentally, the reboot process is a process of turning off the power and then turning it back on after the power has been turned off. The immediate reboot command is simply the PJL command "@PJL REBOOT" which indicates a reboot, and does not include a reboot condition as an optional parameter.

[0027] If the PJL command received in S120 is not an immediate restart command (S120: NO), the analysis processing unit 72 determines the type of the received PJL command (S124). That is, it determines whether the received PJL command is a condition-containing restart command or an automatic restart command. At this time, if the received PJL command is a condition-containing restart command, the analysis processing unit 72 outputs an instruction to execute a restart process according to the restart condition included in the condition-containing restart command to the condition satisfaction restart processing unit 70 (S125).

[0028] The condition-fulfilled restart commands include a condition-containing restart command (an example of a first command) and an automatic restart command. The condition-containing restart command contains a restart condition (an example of a disconnection condition) for executing the restart process, and is a command for executing the restart process when the contained restart condition is fulfilled. There are four types of condition-fulfilled restart commands: a "restart after time has elapsed command," a "restart after transport command," a "restart during idling command," and a "restart after image-related processing is completed command," and each of these four types of commands contains a restart condition according to the type.

[0029] Specifically, when the received PJL command is a time-lapse restart command, the analysis processing unit 72 outputs a time-lapse restart instruction to the condition-satisfied restart processing unit 70. Also, when the received PJL command is a post-transport restart command, the analysis processing unit 72 outputs a post-transport restart instruction to the condition-satisfied restart processing unit 70. Also, when the received PJL command is an idling restart command, the analysis processing unit 72 outputs a idling restart instruction to the condition-satisfied restart processing unit 70. Also, when the received PJL command is an image-related processing completion restart command, the analysis processing unit 72 outputs an image-related processing completion restart instruction to the condition-satisfied restart processing unit 70.

[0030] Then, when the condition-satisfied restart processing unit 70 receives an instruction to execute the restart processing, it executes the restart processing that depends on the restart condition included in the condition-containing restart command (hereinafter, referred to as "command-dependent restart processing") (S126). Specifically, the condition-satisfied restart processing unit 70 executes a command-dependent restart processing execution subroutine shown in Figures 4 and 5. In this subroutine, the condition-satisfied restart processing unit 70 determines whether the received instruction to execute the restart processing is an instruction to restart after a period of time has elapsed (S200).

[0031] At this time, if the execution instruction of the restart process is a restart instruction after the time has elapsed (S200: YES), the condition satisfaction restart processing unit 70 judges whether or not the set time X given to the restart instruction after the time has elapsed is within a valid range (S202). Then, if the set time X is within the valid range (S202: YES), the condition satisfaction restart processing unit 70 judges whether or not the set time X has elapsed since the reception of the restart instruction after the time has elapsed (S204). At this time, if the set time X has not elapsed (S204: NO), the condition satisfaction restart processing unit 70 displays a notification screen (not shown) on the LCD 16 (S206). Note that this notification screen displays "Restart will be performed after the set time X has elapsed." Then, returning to the process of S204, if the set time X has elapsed (S204: YES), the condition satisfaction restart processing unit 70 executes the restart process (S207). That is, if the set time X has not elapsed since the reception of the after-time restart instruction, the condition-satisfied restart processing unit 70 displays a notification screen, waits for the restart processing until the set time X has elapsed, and then executes the restart processing. The after-time restart command includes, for example, "TIME=X" indicating the set time X as an optional parameter in the PJL command for executing the restart processing. X is a set time that is preset in the PC 50. For example, if "TIME=10", the condition-satisfied restart processing unit 70 executes the restart processing 10 seconds after the restart instruction. The effective range of the set time X is preset in the MFP 10. If the set time X is not within the effective range in S202 (S202: NO), for example, if the effective range is 5 to 60 seconds and the set time X is 70 seconds, the condition-satisfied restart processing unit 70 executes the restart processing without waiting for the set time X to elapse (S207).

[0032] In addition, when the execution instruction of the restart process is not a restart instruction after the time has elapsed in S200 (S200: NO), the condition-satisfied restart processing unit 70 judges whether the execution instruction of the restart process received is a restart instruction after transport (S208). The restart command after transport includes, for example, a restart condition "IMMIDIATE=1" as an optional parameter in a PJL command for executing the restart process. When the execution instruction of the restart process is a restart instruction after transport (S208: YES), the condition-satisfied restart processing unit 70 judges whether the transport unit 23 is operating and the paper is being transported (S210). Then, when the paper is being transported (S210: YES), the condition-satisfied restart processing unit 70 judges whether the transport of the paper is completed (S212). This judgment is made based on the detection value of the detection sensor 36. The judgment in S212 may be a judgment of whether the paper has been transported from inside to outside the MFP 10. The condition-satisfied restart processing unit 70 may obtain information indicating whether or not the paper transport is completed from the print processing unit 60 or the scan processing unit 62, and make the judgment of S212. The print processing unit 60 and the scan processing unit 62 may provide information indicating whether or not the paper transport is completed based on the detection value of the detection sensor 36. If the paper transport is not completed (S212: NO), the condition-satisfied restart processing unit 70 displays a notification screen (not shown) on the LCD 16 (S214). Note that this notification screen displays "Restart will be performed after the paper transport is completed." Then, returning to the process of S212, if the paper transport is completed (S212: YES), the condition-satisfied restart processing unit 70 executes the restart process (S207). That is, if the paper transport is not completed, the condition-satisfied restart processing unit 70 displays the notification screen, waits for the restart process until the paper transport is completed, and then executes the restart process. In addition, if the instruction to execute the restart process is determined to be an instruction to restart after transportation (S208: YES) and paper is not being transported at that time (S210: NO), the condition fulfillment restart processing unit 70 executes the restart process without displaying a notification screen and without waiting for the restart (S207).

[0033] Furthermore, if the execution instruction of the restart process is not a post-transport restart instruction in S208 (S208: NO), the condition-satisfied restart processing unit 70 judges whether the execution instruction of the restart process received is an idling restart instruction (S216). The idling restart command, for example, includes a restart condition "IDLE=1" as an optional parameter in a PJL command for executing the restart process. If the execution instruction of the restart process is an idling restart instruction (S216: YES), the condition-satisfied restart processing unit 70 judges whether the MFP 10 is in an idling state (S218). The CPU 12 includes a status monitoring unit (not shown) that monitors the state of the MFP 10, including whether processing is completed in a plurality of processing units that perform image-related processing, such as the print processing unit 60. The condition-satisfied restart processing unit 70 may obtain information indicating the state of the MFP 10 from the status monitoring unit to judge whether the MFP 10 is in an idling state. The idling state may be a state in which image-related processing is not being performed in any processing unit. The idle state may be a state in which a predetermined time, for example, 5 seconds or more, has elapsed since all the processing units have completed image-related processing. The idle state may be a standby state in which the MFP 10 is waiting to receive a new command and displays a standby screen. If the MFP 10 is not in the idle state (S218: NO), the condition-satisfied restart processing unit 70 displays a notification screen (not shown) on the LCD 16 (S220). Note that this notification screen displays "Restart will be performed after operation is completed." Then, returning to the processing of S218, the condition-satisfied restart processing unit 70 determines whether the MFP 10 is in the idle state (S218). At this time, if the MFP 10 is in the idle state (S218: YES), the condition-satisfied restart processing unit 70 executes the restart process (S207). That is, when the MFP 10 is not in an idling state, the condition fulfillment restart processing unit 70 displays the notification screen, waits for the restart processing until the MFP 10 is in an idling state, and then executes the restart processing.It should be noted that if the instruction to execute the restart process is determined to be an instruction to restart while idling (S216: YES) and the MFP 10 is in an idling state at that time (S218: YES), the condition fulfillment restart processing unit 70 executes the restart process without displaying a notification screen or waiting for the restart (S207).

[0034] Also, when the execution instruction of the restart process is not an idling restart instruction in S216 (S216: NO), that is, when the execution instruction of the restart process is an instruction to restart after completion of image-related processing, the condition-satisfied restart processing unit 70 judges whether or not the image-related processing is being executed in the MFP 10 (S222). The restart command after completion of image-related processing includes, for example, a restart condition "SYNCED=1" as an optional parameter in a PJL command for executing the restart process. The condition-satisfied restart processing unit 70 acquires information on whether or not the processing is completed from a processing unit that has started the image-related processing in accordance with the execution instruction from the analysis processing unit 72, for example, the print processing unit 60. When the condition-satisfied restart processing unit 70 acquires information on the fact that the processing is not completed, it judges that the image-related processing is being executed in the MFP 10 (S222: YES). Then, the condition-satisfied restart processing unit 70 displays a notice screen (not shown) on the LCD 16 (S226). Note that this notice screen displays "Restart will be executed after operation is completed." Then, returning to the process of S222, the condition satisfaction restart processing unit 70 judges whether or not the MFP 10 is currently executing image-related processing (S222). When it is judged that the MFP 10 is not currently executing image-related processing (S222: NO), the condition satisfaction restart processing unit 70 executes the restart processing (S207). That is, when all image-related processing executed in response to the reception of the image-related processing command is not completed, the condition satisfaction restart processing unit 70 displays a notification screen, waits until all image-related processing is completed, and then executes the restart processing. Note that the image-related processing by the processing unit is naturally continued even while the condition satisfaction restart processing unit 70 is waiting for the restart processing, so the condition satisfaction restart processing unit 70 can execute the restart processing after all image-related processing is completed.

[0035] For example, when the MFP 10 receives commands in the following order: an image processing command for executing image-related process A, an image processing command for executing image-related process B, and a restart command after completion of image-related process, the MFP 10 outputs execution instructions in the order of image-related process A, image-related process B, and restart processing after completion of image-related process. The condition satisfaction restart processing unit 70 determines whether image-related process A and image-related process B are completed in the process of S222. Therefore, in such a case, the restart processing is executed after image-related process A and image-related process B are completed.

[0036] On the other hand, when the MFP 10 receives commands in the order of an image processing command for executing image-related processing A, a restart command after completion of image-related processing, and an image processing command for executing image-related processing B, execution instructions are output in the order of image-related processing A, restart processing after completion of image-related processing, and image-related processing B. Therefore, when the processing of S222 is executed in response to the execution instruction of the restart processing after completion of image-related processing, the analysis processing unit 72 may have already output the execution instruction of image-related processing A but not output the execution instruction of image-related processing B. However, since the image-related processing A is executed in response to the execution instruction of image-related processing A, the condition satisfaction restart processing unit 70 waits for the restart processing until the image-related processing A is completed. At this time, when the analysis processing unit 72 outputs the execution instruction of image-related processing B, the condition satisfaction restart processing unit 70 waits for the restart processing in the processing of S222 until not only the image-related processing A but also the image-related processing B is completed. Therefore, even in such a case, the restart processing is executed after the image-related processing A and the image-related processing B are completed. In other words, it is possible to perform restart processing not only after image-related processing in response to an image-related processing command received before MFP10 receives a restart command after completion of image-related processing, but also after image-related processing in response to an image-related processing command received after MFP10 receives a restart command after completion of image-related processing is completed.

[0037] It should be noted that if it is determined that the instruction to execute the restart process is not an instruction to restart while idling (S216: NO) and at that time all image-related processing has been completed in the MFP 10, that is, image-related processing is not currently being executed in the MFP 10 (S222: NO), the condition-satisfied restart processing unit 70 does not display a notification screen and executes the restart process without waiting for the restart (S207).

[0038] In this way, by executing the command-dependent restart process, the restart process is executed when the restart conditions are met, and when the restart conditions are not met, the restart process waits until the restart conditions are met, and then the restart process is executed. This makes it possible to execute the restart process at any timing, and prevents paper jams and interruptions to image-related processes that may occur due to the restart process.

[0039] As described above, the condition-fulfilled restart command includes an automatic restart command in addition to the condition-containing restart command such as the restart after time has elapsed. The automatic restart command includes, for example, the restart condition "AUTO=1" as an optional parameter in a PJL command for executing the restart process. The set condition is a restart condition that is preset in the MFP 10, and the restart condition set as the set condition is the same as the restart condition included in the condition-containing restart command such as the restart after time has elapsed. For this reason, any one of the four types of restart conditions, the time-elapsed restart condition, the post-transport restart condition, the idling restart condition, and the post-processing restart condition, is preset as the set condition in the MFP 10, and the set set condition is stored in the data storage area 34.

[0040] In this way, any one of the four types of restart conditions is preset in the MFP 10 as a setting condition, and when the MFP 10 receives an automatic restart command, the analysis processing unit 72 determines that it is an automatic restart command in S124 (see FIG. 3). Then, the analysis processing unit 72 outputs an instruction to execute restart processing according to the setting condition to the condition-satisfied restart processing unit 70 (S127). Then, when the condition-satisfied restart processing unit 70 receives the instruction to execute restart processing according to the setting condition, it executes restart processing based on the setting condition (hereinafter, referred to as "setting-condition-dependent restart processing") (S128). Specifically, the condition-satisfied restart processing unit 70 executes a setting-condition-dependent restart processing execution subroutine shown in FIG. 6 and FIG. 7.

[0041] In the set condition-dependent restart process execution subroutine, the condition satisfaction restart processing unit 70 determines whether the set condition is a time lapse restart condition (S300). At this time, if the set condition is a time lapse restart condition (S300: YES), the processes of S302 to S307 are executed, but since these processes are the same as the processes of S202 to S207 in FIG. 4, their description will be omitted.

[0042] If the set condition is not the time-lapse restart condition (S300: NO), the condition satisfaction restart processing unit 70 judges whether the set condition is the post-transport restart condition (S308). At this time, if the set condition is the post-transport restart condition (S308: YES), the processes of S310 to S314 and S307 are executed, but these processes are the same as the processes of S210 to S214 and S207 in FIG. 4, so their description will be omitted.

[0043] If the set condition is not the post-transport restart condition (S308: NO), the condition satisfaction restart processing unit 70 judges whether the set condition is the idling restart condition (S316). At this time, if the set condition is the idling restart condition (S316: YES), the processes of S318, S320, and S307 are executed, but these processes are the same as the processes of S218, S220, and S207 in FIG. 5, so their explanation will be omitted.

[0044] Furthermore, if the set condition is not the restart condition during idling (S316: NO), the processes of S322, S326, and S307 are executed. However, since these processes are the same as the processes of S222, S226, and S207 in FIG. 5, the description thereof will be omitted.

[0045] In this way, by executing the setting condition-dependent restart process, the restart process is executed when the restart condition is satisfied, similar to the command-dependent restart process, and when the restart condition is not satisfied, the restart process waits until the restart condition is satisfied, and then the restart process is executed. This makes it possible to execute the restart process at any timing, and prevents paper jams and interruptions to image-related processes that may occur due to the restart process.

[0046] The CPU 12 that executes S100 is an example of a receiving means. The CPU 12 that executes S104, S106, S110, S114, and S120 is an example of an analyzing means. The CPU 12 that executes S108, S112, S116, and S118 is an example of a second processing execution means. The CPU 12 that executes S122 is an example of a third processing execution means. The CPU 12 that executes S204, S212, S218, and S222 is an example of a determining means. The CPU 12 that executes S207 is an example of a first processing execution means.

[0047] According to the above-described embodiment, the following effects are achieved.

[0048] The MFP 10 waits until the restart conditions corresponding to the restart command are satisfied, and then can execute the restart process. The analysis processing unit 72 is capable of accepting the condition-containing restart command even while the print processing unit 60 or the like is executing image-related processing. This allows the MFP 10 to execute the restart process at any timing corresponding to the restart conditions.

[0049] Furthermore, the MFP 10 executes the restart process when it is determined that the restart condition is satisfied in parallel with the execution of image-related processing by the print processing unit 60 or the like in accordance with the image-related processing command, and when it is determined that the restart condition is not satisfied, it waits until the restart condition is satisfied before executing the restart process. This allows the MFP 10 to execute the command-dependent restart process in parallel with the image-related processing.

[0050] The MFP 10 waits for the restart process to be completed until the restart condition corresponding to each of the four types of condition-containing restart commands is met, and then executes the restart process. This allows the restart process to be performed at a timing corresponding to each of the multiple restart conditions.

[0051] For example, in accordance with a time-lapsed restart command, the MFP 10 can perform a restart process after a time period designated by the PC 50 has elapsed.

[0052] For example, in response to a restart command after paper transport, the MFP 10 waits until the paper transport is completed before executing the restart process, thereby preventing problems that may occur when the restart process is executed during paper transport.

[0053] For example, in accordance with a restart during idling command, the MFP 10 can ensure that the execution of image-related processing is not interrupted by the restart process, and that the image-related processing is executed appropriately.

[0054] For example, following a restart after completion of image-related processing command, MFP 10 can ensure execution of the instructed image-related processing.

[0055] The condition-containing restart command is composed of a PJL command that instructs the execution of the restart process, and the PJL command includes the restart condition as an optional parameter. Therefore, the restart process is executed according to the optional parameter, so that the restart process can be executed at a timing according to the restart condition.

[0056] Furthermore, the analysis processing unit 72 also accepts an immediate restart command in addition to the condition-containing restart command. Then, when the analysis processing unit 72 accepts the immediate restart command, it outputs an instruction to execute the restart process to the immediate restart processing unit 68. Then, the immediate restart processing unit 68 executes the restart process at the timing when the instruction to execute the restart process is accepted. At this time, for example, even if the condition satisfaction restart processing unit 70 is waiting for the restart process, the immediate restart processing unit 68 executes the restart process at the timing when the instruction to execute the restart process is accepted. This makes it possible to forcibly execute the restart process even if the waiting time for the restart process is long due to the occurrence of some kind of error.

[0057] The present invention is not limited to the above embodiment, and can be embodied in various forms with various modifications and improvements based on the knowledge of a person skilled in the art. Specifically, for example, in the above embodiment, the condition-containing restart command is composed of a PJL command that instructs the execution of a restart process, and the PJL command includes the restart condition as an optional parameter. In other words, the condition-containing restart command is composed of one PJL command, and the PJL command includes the restart condition as an optional parameter. On the other hand, the condition-containing restart command may be composed of two or more PJL commands, and the two or more PJL commands may include at least a command that instructs the execution of a restart process and a command that indicates the restart condition. Specifically, for example, the two commands "@PJL DEFAULT TIMEREBOOT=X" and "@PJL EXECUTE REBOOT" may be combined and adopted as a condition-containing restart command as a restart command after a time has elapsed.

[0058] In addition, in the above embodiment, a PJL command is used as the command to instruct the MFP 10 to restart, which is sent from the PC 50 to the MFP 10. However, it is possible to use various data such as MIB data as the command to instruct the MFP 10 to restart.

[0059] In the above embodiment, four types of commands, namely, the restart after time lapse command, the restart after transport command, the restart during idling command, and the restart after completion of image-related processing command, are adopted as the condition-containing restart command, but three or less types of commands out of the four types may be adopted. For example, when only the restart after time lapse command is adopted as the condition-containing restart command, only the processes of S202, S204, and S207 are executed in the command-dependent restart process execution subroutine shown in Figs. 4 and 5.

[0060] Also, in the above embodiment, in the post-transport restart process, the condition-satisfied restart processing unit 70 waits for the restart process until the transport of the paper is completed, that is, until the paper is transported from inside the MFP 10 to the outside, but the condition-satisfied restart processing unit 70 may wait for the restart process until the paper is transported to a predetermined position inside the MFP 10. Specifically, for example, the condition-satisfied restart processing unit 70 may wait for the restart process until the paper is transported to a position where the possibility of a paper jam occurring is low.

[0061] Also, in the embodiment, in the time-lapse restart process, the restart process is executed after the set time X has elapsed since the time-lapse restart instruction is received, but the restart process may also be executed after the set time X has elapsed since the image-related process is completed, the restart process may also be executed after the set time X has elapsed since the paper transport is completed, or the restart process may also be executed after the set time X has elapsed since MFP10 enters an idle state.

[0062] In the above embodiment, the restart process is executed when each of the four restart conditions is satisfied, but the restart process may be executed when two or more of the four restart conditions are satisfied. Specifically, for example, the restart process may be executed when the time lapse restart condition and the idling restart condition are satisfied. In other words, it may be determined whether or not the vehicle is in an idling state after a set time X has elapsed since the time-lapse restart instruction was received, and the restart process may be executed if it is determined that the vehicle is in an idling state.

[0063] In the above embodiment, a restart command including a condition is used to execute the restart process, but a disconnection command including a condition may be used to execute the power cutoff process. That is, the PC 50 transmits a disconnection command including a condition for cutting the power to the MFP 10, and when the MFP 10 receives the disconnection command including a condition, the MFP 10 determines whether the disconnection condition included in the command is satisfied. If the disconnection condition is satisfied, the MFP 10 may execute the power cutoff process, and if the disconnection condition is not satisfied, the MFP 10 may wait until the disconnection condition is satisfied before executing the power cutoff process.

[0064] In addition, in the above embodiment, an example has been described in which the processes shown in Figures 2 to 7 are executed by the CPU 12. However, these processes may be executed not only by the CPU 12 but also by an ASIC or other logic integrated circuit, or these processes may be executed by cooperation between a CPU, an ASIC, or other logic integrated circuit. [Explanation of symbols]

[0065] 10: MFP, 12: CPU, 14: memory, 23: conveyor, 32: control program, 50: PC

Claims

1. An image processing device including a computer, The computer includes: a first process execution means for executing a power supply cut-off process; A second process execution means for executing a process related to image processing; a receiving means for receiving a first command from an external device, the first command instructing execution of a power-off process; a first command type determination means for determining, when the reception means receives a first command, what type of the first command the first command is; when the first command type determination means determines that the first command is of a first type, it determines whether or not a disconnection condition included in the first command of the first type is satisfied, and when the first command type determination means determines that the first command is of a second type, it functions as a determination means for determining whether or not a disconnection condition stored in a memory is satisfied, the disconnection condition being a condition for executing a power supply disconnection process, The receiving means is The first command can be received even while the second process execution means is performing a process related to image processing, The first process execution means is An image processing device characterized in that, when the judgment means determines that the disconnection condition is met, a power supply disconnection process is executed, and when the judgment means determines that the disconnection condition is not met, the power supply disconnection process is waited for until the disconnection condition is met, and then the power supply disconnection process is executed, and the second process execution means is capable of continuing to execute processing related to image processing even while the first process execution means is waiting for the power supply disconnection process.

2. The first command type determination means It is also possible to determine that the first command is a third type of the first command, The first process execution means is 2. The image processing apparatus according to claim 1, wherein when the first command type determination means determines that the first command is of a first type, and when the first command type determination means determines that the first command is of a second type, if the determination means determines that the cut-off condition is met, a power cut-off process is executed, and when the determination means determines that the cut-off condition is not met, the power cut-off process is waited for until the cut-off condition is met and then the power cut-off process is executed, and even while the first process execution means is waiting for the power cut-off process, the second process execution means is capable of continuing to execute a process related to image processing, and when the first command type determination means determines that the first command is of a third type, a power cut-off process is executed at the timing of receiving the third type of first command, even while the determination means determines that the cut-off condition is not met and the power cut-off process is waiting.

3. The receiving means is Commands other than the first command can also be accepted, The computer includes: an analyzing unit that analyzes whether the command received by the receiving unit is the first command or the second command, the second command being a command for instructing execution of processing related to image processing; The second process execution means is When the analyzing means analyzes that the second command has been received, a process related to image processing is executed; The analysis means when the receiving means sequentially receives commands, in parallel with the execution of the process by the second process execution means, analyze whether the command received by the receiving means is the first command or the second command; The first command type determination means When the receiving means receives a first command, it is determined which type of the first command the first command is; when the first command type determination means determines that the first command is of a first type, it determines whether or not a disconnection condition included in the first command of the first type is satisfied, and when the first command type determination means determines that the first command is of a second type, it functions as a determination means for determining whether or not the disconnection condition stored in the memory is satisfied; The first process execution means is The image processing device according to claim 1 or 2, characterized in that when the judgment means judges that the disconnection condition is met, a power-off process is executed, and when the judgment means judges that the disconnection condition is not met, the power-off process is waited until the disconnection condition is met, and then the power-off process is executed.

4. the power-off condition is a condition for executing a power-off process when a predetermined time has elapsed, The determination means is determining whether the predetermined time has elapsed; The first process execution means is 4. The image processing apparatus according to claim 1, wherein the power-off process is suspended until the determining means determines that the predetermined time has elapsed, and then the power-off process is executed.

5. the first command is composed of two or more commands, When the first command is a first type of the first command, the two or more commands include at least a command for instructing execution of a power-off process and execution of a power-on process after the execution of the power-off process, and a command indicating the power-off condition, An image processing device as described in any one of claims 1 to 4, characterized in that when the first command is a second type of the first command, the two or more commands include at least a command instructing the execution of a power-off process and the execution of a power-return process after the execution of the power-off process, and a command indicating the execution of a power-off process in accordance with the power-off condition and the execution of a power-return process after the execution of the power-off process.

6. the first command is configured by a command for instructing execution of a power-off process and execution of a power-on process after the execution of the power-off process, 5. The image processing apparatus according to claim 1, wherein the command includes parameters indicating execution of a power-off process in accordance with the power-off condition and execution of a power-on process after the power-off process has been executed.

7. There are a plurality of types of the first command and a plurality of types of the cutting condition, each of the plurality of types of the first command includes the cutting condition corresponding to the type, and any one of the plurality of types of the cutting condition is stored in the memory, The first command type determination means When the receiving means receives a first command, it is determined which type of the first command the first command is; The determination means is when the first command type determination means determines that the first command is of a first type, it determines whether or not a disconnection condition included in the first command of the first type is satisfied, and when the first command type determination means determines that the first command is of a second type, it determines whether or not the disconnection condition stored in the memory is satisfied; The first process execution means is An image processing device as described in any one of claims 1 to 6, characterized in that when the judgment means determines that the disconnection condition is met, a power supply disconnection process is executed, and when the judgment means determines that the disconnection condition is not met, the power supply disconnection process is waited until the disconnection condition is met, and then the power supply disconnection process is executed.

8. The receiving means is accepts not only the first command but also a second command for instructing execution of processing related to image processing; The computer includes: when the receiving means receives the second command, the receiving means functions as a second process executing means for executing a process related to image processing; the power-off condition is a condition that, when the reception means has received one or more second commands, the second process execution means executes a power-off process after completing execution of a process related to image processing in accordance with the one or more second commands, The determination means is when the receiving means receives one or more of the second commands, determining whether or not the second process executing means has completed execution of a process related to image processing in accordance with the one or more second commands; The first process execution means is 8. The image processing device according to claim 1, wherein when the judgment means judges that the second processing execution means has completed execution of processing related to image processing in accordance with the one or more second commands, a power-off process is executed, and when the judgment means judges that the second processing execution means has not completed execution of processing related to image processing in accordance with the one or more second commands, the power-off process is waited until execution of processing related to image processing in accordance with the one or more second commands is completed, and then the power-off process is executed.

9. the power-off condition is a condition for executing a power-off process when the image processing device is in an idling state, The determination means is determining whether the image processing device is in an idling state; The first process execution means is An image processing device as described in any one of claims 1 to 8, characterized in that when the judgment means determines that the image processing device is in an idling state, a power-off process is executed, and when the judgment means determines that the image processing device is not in an idling state, the power-off process is waited until the image processing device is in an idling state before executing the power-off process.

10. the image processing device includes a conveying device that conveys a sheet of paper that is to be subjected to image processing; the disconnection condition is a condition that a power disconnection process is executed when the paper being conveyed by the conveying device has been conveyed to a predetermined position, The determination means is determining whether the paper being conveyed by the conveying device has been conveyed to a predetermined position; The first process execution means is An image processing device as described in any one of claims 1 to 9, characterized in that when the judgment means determines that the paper has been transported to a predetermined position, a power supply disconnection process is executed, and when the judgment means determines that the paper has not been transported to the predetermined position, the power supply disconnection process is waited until the paper has been transported to the predetermined position, and then the power supply disconnection process is executed.

Citation Information

Patent Citations

  • Image processor

    JP2004152010A

  • Control method and control program for printer, and printer

    JP2008155486A

  • Apparatus and method for monitoring microprocessor

    JP2010186220A

  • Power source control method of printing system

    JP2015216550A