Image formation device and control method of image formation device

The image forming device automatically backs up and restores programs and settings when errors exceed a threshold, addressing the need for manual intervention and reducing recovery time.

JP2024126746AInactive Publication Date: 2024-09-20SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023035342
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image forming devices require manual intervention by a service person to recover from errors, which is time-consuming.

Method used

An image forming apparatus with a processor, first and second storage units, and a control method that detects errors exceeding a threshold, automatically backing up and rewriting program and setting data to restore stability.

Benefits of technology

Enables quick recovery of the image forming device to a usable state by automating the backup and restoration process, reducing downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126746000001
    Figure 2024126746000001
Patent Text Reader

Abstract

To provide an image formation device which can be early recovered even if an error occurs.SOLUTION: An image formation device comprises: a processor 170; a non-volatile memory 163 that stores a program executed by the processor 170 and setting data of a compound machine 100; and an auxiliary storage device 165 that stores a backup program and backup data. The processor 170 determines that the compound machine 100 is not in a stable operation state in the case where an error occurring in the compound machine 100 is detected and the processor 170 detects a threshold value or larger of preset errors, and rewires a program stored in the non-volatile memory 163 and setting data into a backup program and backup data stored in the auxiliary memory device 165, and executes the rewritten backup program and backup data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image forming apparatus and a control method for the image forming apparatus. [Background technology]

[0002] Patent Document 1 discloses an image forming apparatus including a storage unit, an error mode selection unit, an error generation unit, a recovery operation procedure notification unit, and a message display unit. The storage means stores information on a plurality of error modes. The error mode selection means selects one error mode from the plurality of error modes. The error generation means generates an error corresponding to the selected error mode. The recovery operation procedure notification means notifies a recovery operation procedure corresponding to the selected error mode. The message display means displays a message based on the device status of the image forming device. [Prior art documents] [Patent documents]

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

[0004] However, if an error occurs in an image forming device, a service technician must be dispatched to the location where the image forming device is installed and the service technician must work to recover from the error in the image forming device, but there is an issue that it takes time to recover from the error. [Means for solving the problem]

[0005] The present disclosure relates to an image forming device comprising a processor, a first memory unit that stores a program executed by the processor and setting data that is set in the image forming device, and a second memory unit that stores a backup program and backup data as a backup of the program and the setting data, wherein when an error occurring within the image forming device is detected and the processor detects a predetermined threshold value or more of errors, the processor determines that the image forming device is not in a stable operating state, rewrites the program and the setting data stored in the first memory unit with the backup program and the backup data stored in the second memory unit, and executes the rewritten backup program and the backup data.

[0006] The present disclosure relates to a control method for an image forming device having a processor, a first memory unit that stores a program executed by the processor and setting data, and a second memory unit that stores a backup program and backup data as a backup of the program and the setting data, the control method comprising the steps of: detecting an error occurring within the image forming device and determining whether the processor has detected a preset error threshold value or more; and, when an error occurring within the image forming device is detected and it is determined that the processor has detected a preset error threshold value or more, rewriting the program and the setting data stored in the first memory unit with the backup program and the backup data stored in the second memory unit, and executing the rewritten backup program and the backup data. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a block diagram showing a configuration of a multifunction peripheral. [Diagram 2] FIG. 4 is a diagram showing an example of the configuration of a first evaluation table. [Diagram 3] FIG. 4 is a diagram showing an example of the configuration of a first evaluation table. [Figure 4] FIG. 4 is a diagram showing an example of the configuration of a first error code table. [Diagram 5] FIG. 4 is a diagram showing an example of the configuration of a first error code table. [Figure 6] 6 is a flowchart showing an operation of backing up firmware. [Figure 7] 11 is a flowchart showing a first operation for backing up setting data. [Figure 8] 10 is a flowchart showing a second operation for backing up setting data. [Figure 9] 10 is a flowchart showing a third operation for backing up setting data. [Figure 10] 10 is a flowchart showing a fourth operation for backing up setting data. [Figure 11] 11 is a flowchart showing the operation of a recovery process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, embodiments will be described with reference to the accompanying drawings.

[0009] [1. Configuration of the multifunction device] 1 is a block diagram showing the configuration of a multifunction peripheral 100. The multifunction peripheral 100 corresponds to an image forming apparatus. The multifunction device 100 includes a communication interface 110, an input / output interface 120, an operation unit 121, a display unit 123, a device interface 130, a printer unit 131, a scanner 133, a FAX unit 135, a main power supply 140, a power supply control unit 145, and a control unit 150. Hereinafter, interface will be abbreviated as I / F.

[0010] The communication I / F 110, the input / output I / F 120, the device I / F 130, the power supply control unit 145, and the control unit 150 are connected to each other via a bus 105 so as to be able to communicate data with each other.

[0011] The communication I / F 110 includes a connector and an interface circuit, and is connected to the network 50 by wire. The communication I / F 110 includes, for example, a network interface card (NIC). In this embodiment, a form in which the communication I / F 110 is connected to the network 50 by wire will be described, but the communication I / F may be connected to the network 50 by wireless.

[0012] The input / output I / F 120 is an interface that complies with standards such as USB (Universal Serial Bus), and includes a connector and an interface circuit. An operation unit 121 and a display unit 123 are connected to the input / output I / F 120.

[0013] The operation unit 121 includes operation keys and buttons, such as a numeric keypad, a cross key, and a power button, and outputs to the control unit 150 an operation signal corresponding to an operated key or button.

[0014] Display unit 123 includes a display panel such as a liquid crystal panel or an organic EL (Electro-Luminescence) panel, and displays images, characters, and the like on the display panel under the control of control unit 150.

[0015] The device I / F 130 is an interface circuit for connecting devices such as a printer unit 131, a scanner 133, and a FAX unit 135.

[0016] The printer unit 131 includes, for example, an ink cartridge that contains ink, and a head that ejects the ink supplied from the ink cartridge onto a sheet. The ink cartridge and head are not shown. The printer unit 131 prints an image on a sheet by an inkjet method under the control of the control unit 150. The printer unit 131 is not limited to a configuration that performs printing by an inkjet method, and may be a configuration that performs printing by an electrophotographic method.

[0017] The scanner 133 optically reads an image of a document to obtain image data. The scanner 133 outputs the read image data to the control unit 150.

[0018] The FAX unit 135 includes a CODEC (Coder / Decoder), a MODEM (Modulator / Demodulator), and an NCU (Network Control Unit). The CODEC, MODEM, and NCU are not shown in the drawings. The CODEC generates code data by compressing the binary data stored in the storage unit 160 using a compression method such as MH / MR / MMR / JBIG / JPEG, etc. The CODEC also expands the code data demodulated by the MODEM into image data.

[0019] The MODEM has a function of modulating code data read from the storage unit 160 into an analog voice signal in accordance with the facsimile communication procedure in accordance with the ITU recommendation. The MODEM also has a function of demodulating analog voice signals received from the public telephone line network via the NCU into digital code data. The NCU controls the connection to the public telephone line network and detects the sending and receiving of dial signals corresponding to the recipient's FAX number.

[0020] The main power supply 140 has an inlet (not shown) and receives power from a commercial power supply. An inlet plug of a power cable is detachably connected to the inlet of the main power supply 140. When the inlet plug of the power cable is attached to the inlet of the main power supply 140 and the outlet plug at the other end of the power cable is connected to the outlet of the commercial power supply, the main power supply 140 can receive power from the commercial power supply.

[0021] The power supply control unit 145 includes an AC / DC converter and an AC / AC converter, generates DC power and AC power suitable for the operation of each unit from AC power supplied from a commercial power source, and supplies power to each unit of the multifunction device 100. The power supply control unit 145 also controls switching between supplying power to each unit of the multifunction device 100 and cutting off the power. In addition, the power supply control unit 145 outputs a predetermined signal to the control unit 150 when the inlet of the main power supply 140 is unplugged from the inlet plug of the power cable, or when the outlet plug at the other end of the power cable is unplugged from the commercial power outlet.

[0022] The control unit 150 is a computer device including a memory unit 160 and a processor 170 .

[0023] The storage unit 160 includes a volatile memory 161, a nonvolatile memory 163, and an auxiliary storage device 165. The nonvolatile memory 163 corresponds to a first storage unit, and the auxiliary storage device 165 corresponds to a second storage unit.

[0024] Volatile memory 161 is configured by, for example, a RAM (Random Access Memory). Processor 170 reads firmware stored in non-volatile memory 163 and loads it into volatile memory 161. Processor 170 executes the firmware loaded into volatile memory 161 to perform various processes.

[0025] The non-volatile memory 163 is composed of, for example, a ROM, a flash memory, or an EEPROM (Electrically Erasable Programmable Read-Only Memory). The non-volatile memory 163 stores firmware executed by the processor 170 and setting data. The setting data includes first setting data and second setting data. The first setting data is data set by the manufacturer that provides the multifunction device 100 when the multifunction device 100 is manufactured. The first setting data is data that adjusts the inherent variation of each multifunction device 100 when the multifunction device 100 is manufactured. The second setting data is data set by the user operating the operation unit 121. Hereinafter, the first setting data and the second setting data will be collectively referred to as setting data.

[0026] 2 and 3 are diagrams showing an example of the configuration of the first evaluation table 200 A. The first evaluation table 200 A corresponds to the first table. The non-volatile memory 163 stores a plurality of first evaluation tables 200A and a plurality of first error code tables 300A, which will be described later. The first evaluation table 200A is a table in which data for evaluating whether the multifunction peripheral 100 in which the firmware is installed is operating stably or not is registered. The first evaluation table 200A is a table that registers data for evaluating whether the multifunction device 100 that operates according to the setting data operates stably or not.

[0027] Each of the plurality of first evaluation tables 200A is associated with attribute information 210. This attribute information 210 is stored in the non-volatile memory 163 together with the first evaluation table 200A. The attribute information 210 includes type information 211 and version information 213. The type information 211 is information indicating whether the associated first evaluation table 200A is a table in which data related to firmware is registered, or a table in which data related to setting data is registered. The version information 213 is information indicating the version of the firmware or setting data. Fig. 2 shows the first evaluation table 200A when the type information 211 is firmware, and Fig. 3 shows the first evaluation table 200A when the type information 211 is setting data.

[0028] Each record in the first evaluation table 200A registers information indicating the state of the multifunction device 100. The information indicating the state of the multifunction device 100 includes PC (Personal Computer) printing 221, copying 222, FAX 223, Scan To Folder 224, and idle state 225. In other words, the information indicates that the multifunction device 100 is in a state in which the function of PC printing 221, copying 222, FAX 223, or Scan To Folder 224 is being executed. Furthermore, the columns of the first evaluation table 200A store information on the number of times the device has been executed, including a function execution count 231, an error occurrence count 232, a forced power-off count 233, and a plug-out count 234.

[0029] PC printing 221 is a function for printing an image based on print data received from a PC onto a sheet. Scan To Folder 224 is a function for saving image data read by the scanner 133 in a specified folder. The idle state 225 is a state in which the multifunction device 100 is not executing processes such as PC printing or copying, and is waiting for an instruction to start a process. The function execution count 231 is the number of times each process, PC print, copy, FAX, and Scan To Folder, has been executed. The error occurrence count 232 is the number of errors that occurred during execution of each process of PC printing, copying, FAX, and Scan To Folder. The forced power OFF count 233 is the number of times the power of the multifunction peripheral 100 has been forcibly turned OFF while each process of PC printing, copying, FAX, and Scan To Folder is being executed. The number of unplugging times 234 is the number of times the inlet of the main power supply 140 was unplugged from the inlet plug of the power cable while each process of PC printing, copying, faxing, and Scan To Folder was being executed, and the number of unplugging times 234 is the number of times the outlet plug at the other end of the power cable was unplugged from the commercial power outlet.

[0030] 4 and 5 are diagrams showing an example of the configuration of the first error code table 300 A. The first error code table 300 A corresponds to the second table. FIG. 4 shows the first error code table 300A when the type information 211 is firmware, and FIG. 5 shows the first error code table 300A when the type information 211 is setting data. The first error code table 300A is a table in which error codes indicating errors that occur in the multifunction peripheral 100 in which the firmware is installed are registered. The first error code table 300A is a table in which error codes indicating errors that occur in the multifunction device 100 operating according to the settings of the setting data are registered.

[0031] Each of the plurality of first error code tables 300A is also associated with attribute information 310. This attribute information 310 includes type information 311 and version information 313.

[0032] The records of the first error code table 300A store information indicating the status of the multifunction device 100. The information indicating the status of the multifunction device 100 includes PC print 321, copy 322, FAX 323, Scan To Folder 324, idle status 325, and the like. Furthermore, the detected error code 330 is registered in a column of the first error code table 300A.

[0033] The auxiliary storage device 165 is, for example, a storage device such as a USB memory, an SD card, an SSD (Solid State Drive), or an HHD (Hard Disk Drive).

[0034] The auxiliary storage device 165 stores a backup program and backup data. The backup program is a backup of the firmware stored in the non-volatile memory 163. The backup data is a backup of setting data.

[0035] The auxiliary storage device 165 also stores a plurality of second evaluation tables 200B and a plurality of second error code tables 300B. The second evaluation table 200B and the second error code table 300B are not shown in the drawings. The auxiliary storage device 165 stores a plurality of second evaluation tables 200B and second error code tables 300B in correspondence with the type and version indicated by the attribute information 210.

[0036] The second evaluation table 200B is a table in which backup programs or backup data are additionally registered in the configuration of the first evaluation table 200A shown in FIG. 2 and FIG. For example, when the type information 211 indicates firmware, the firmware of the version indicated by the version information 213 is registered as a backup program in the second evaluation table 200B. Furthermore, when the type information 211 indicates setting data, the setting data of the version indicated by the version information 213 is registered as backup data in the second evaluation table 200B. Furthermore, set information is registered in the second evaluation table 200B in which the type information 211 is setting data. The set information is information indicating firmware that was installed in the multifunction device 100 when the setting data indicated by the type information 211 was used in the multifunction device 100. In other words, the set information is information indicating firmware that was used in combination with the setting data in the multifunction device 100.

[0037] 4 and 5. The configuration of the second error code table 300B is the same as the configuration of the first error code table 300A shown in FIG.

[0038] The processor 170 is an arithmetic processing device including a processor such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit). The processor 170 may be configured with a single processor, or may be configured with multiple processors. The processor 170 may be configured with a part or all of the storage unit 160 or a system-on-a-chip (SoC) integrated with other circuits. The processor 170 may be configured with a combination of a CPU that executes a program and a DSP (Digital Signal Processor) that executes a predetermined arithmetic processing. Furthermore, the processor 170 may be configured with all of the functions of the processor 170 implemented in hardware, or may be configured using a programmable device.

[0039] The control unit 150 includes, as functional blocks, an error detection unit 171, a backup unit 173, and a recovery unit 175. These functional blocks are functions realized by the processor 170 performing calculations in accordance with the firmware.

[0040] The error detection unit 171 detects errors that occur in the multifunction device 100 . The error detection unit 171 detects an error that occurs in the multifunction device 100 based on sensor values ​​input from various sensors mounted in the multifunction device 100. Illustration of the various sensors is omitted. Errors detected by error detection unit 171 include forced power off caused by a user pressing and holding the power button on operation unit 121. Error detection unit 171 detects forced power off by detecting a long press of the power button on operation unit 121. Errors detected by error detection unit 171 also include unplugging, which occurs when a user unplugs the inlet plug of the power cable from the inlet of main power supply 140 before the power of multifunction device 100 is turned off. Error detection unit 171 detects unplugging based on a predetermined signal input from power supply control unit 145. The errors detected by the error detection unit 171 include the occurrence of a memory leak. A memory leak is a phenomenon in which unreleased volatile memory 161 remains or increases when the multifunction device 100 is in an idle state.

[0041] The backup unit 173 stores the firmware and setting data stored in the non-volatile memory 163 in the auxiliary storage device 165 as a backup program and backup data. The backup unit 173 registers the firmware indicated by the attribute information 210 associated with the first evaluation table 200A as a backup program in the first evaluation table 200A at the timing when the firmware is updated, and generates the second evaluation table 200B. The backup unit 173 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0042] Furthermore, the backup unit 173 registers, at a preset timing, the setting data indicated by the attribute information 210 associated with the first evaluation table 200A in the first evaluation table 200A as backup data, and generates the second evaluation table 200B. The backup unit 173 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0043] The preset timing includes, for example, a date and time set by the user, after initial ink filling, when an operation to turn off the power of the multifunction device 100 is input from the operation unit 121, after a process such as PC printing or copying is executed, when the device is in an idle state, etc. After initial ink filling is after an ink cartridge is set in the multifunction device 100 and the cavity is filled with ink from the set ink cartridge. If the printer unit 131 is an electrophotographic type, after initial ink filling is after a toner cartridge or an ink ribbon cartridge is set in the multifunction device 100. The timing at which the multifunction device 100 is turned off includes when the power button of the multifunction device 100 is pressed and held down and the multifunction device 100 is forcibly turned off. The timing at which the multifunction device 100 is turned off includes when the inlet plug of the power cable is unplugged from the inlet of the main power source 140, and when the outlet plug at the other end of the power cable is unplugged from the outlet of the commercial power source.

[0044] When performing backup at a preset date and time, if the setting data is not updated, multiple second evaluation tables 200B having the same attribute indicated by the attribute information 210 will be registered in the auxiliary storage device 165. In this case, the backup unit 173 refers to the attribute information 210 and performs a process of integrating the data registered in the second evaluation tables 200B having the same attribute information 210 into one.

[0045] Furthermore, the backup unit 173 stores the first error code table 300A in the auxiliary storage device 165 as the second error code table 300B at the same time that the backup unit 173 stores the second evaluation table 200B in the auxiliary storage device 165.

[0046] When a preset condition is met, the recovery unit 175 rewrites the firmware and setting data stored in the non-volatile memory 163 with the backup program and backup data, thereby recovering the system of the multifunction peripheral 100. The preset condition is that two requirements are met: that the error detection unit 171 detects an error, and that the value of the stable operation score is equal to or greater than a threshold value.

[0047] When the error detection unit 171 detects an error, the recovery unit 175 calculates a stable operation score. The recovery unit 175 calculates the stable operation score by the following formula (1) using the data registered in the first evaluation table 200A shown in Fig. 2 and the data registered in the first error code table 300A shown in Fig. 4. Stable operation score = ΣNumber of times function was executed × (Number of times 1st error occurred + wNumber of times 2nd error occurred + Number of times forced power OFF + Number of times plug was pulled) (1) The symbol Σ in equation (1) means that the value of the number of times the function is executed × (the number of times the first error occurred + the number of times the second error occurred + the number of times the power was forcibly turned off + the number of times the plug was pulled out) is calculated for each function of the multifunction device 100, and the sum of the values ​​calculated for each function is found. In addition, the first error indicates that the error that has occurred is fatal, and the second error indicates that the error that has occurred is non-fatal. Whether an error is a fatal error or a non-fatal error is determined in advance based on the error code. Furthermore, the symbol w in formula (1) is a weighting coefficient set for each model of the multifunction device 100. The value of the weighting coefficient w is determined based on the functions of the multifunction device 100, the occurrence of errors, the occurrence of errors in the past for the same model, and the like.

[0048] Furthermore, when the stable operation score calculated by formula (1) is equal to or greater than a threshold value, the restoration unit 175 restores the firmware and setting data stored in the non-volatile memory 163 by rewriting them with the backup program and backup data. The auxiliary storage device 165 stores a plurality of backup programs and backup data whose versions are different and are indicated by the version information 213. The recovery unit 175 first selects, from among the plurality of backup programs and backup data, a backup program and backup data that are suitable for recovering firmware and setting data.

[0049] The recovery unit 175 uses the data registered in the plurality of second evaluation tables 200B and the second error code table 300B stored in the auxiliary storage device 165 to calculate the stable operation score according to the above-mentioned formula (1). The data in the second evaluation table 200B used to calculate the stable operation score may be calculated using only the data registered in the second evaluation table 200B in which the attribute information 210 is firmware. Furthermore, the data in the second evaluation table 200B used to calculate the stable operation score may be calculated using the data registered in the second evaluation table 200B of firmware and setting data set in a set by the set information. That is, the stable operation score is calculated using the data registered in the second evaluation table 200B in which the attribute information 210 is firmware, and the data registered in the second evaluation table 200B in which the attribute information 210 is setting data. In this case, the average of the two calculated stable operation scores is used as the stable operation score.

[0050] The recovery unit 175 selects the second evaluation table 200B with the lowest stable operation score. The second evaluation table 200B selected here is both the second evaluation table 200B whose attribute information 210 is firmware and the second evaluation table 200B whose attribute information 210 is setting data. For example, assume that the above-mentioned stable operation score is calculated using only data registered in the second evaluation table 200B whose attribute information 210 is firmware. In this case, the second evaluation table 200B whose attribute information 210 is setting data, in which the attribute information 210 is set with the second evaluation table 200B whose attribute information is firmware, is selected based on the set information.

[0051] Next, when the attribute information 210 selects the second evaluation table 200B of firmware and setting data, the recovery unit 175 acquires the backup program and backup data registered in the second evaluation table 200B. The recovery unit 175 rewrites the firmware and setting data stored in the non-volatile memory 163 with the acquired backup program and backup data to recover the system.

[0052] In the above description, whether or not the multifunction peripheral 100 is in a stable operating state is determined based on the stable operation score shown in formula (1). As another method of determining the state of multifunction device 100, the number of occurrences of a first error, which is a preset error, may be calculated for each function of multifunction device 100, and whether or not multifunction device 100 is in a stable operating state may be determined based on the sum of the number of occurrences of the first errors calculated for each function. If the sum of the number of occurrences of the first errors calculated for each function is equal to or greater than the threshold value, the control unit 150 determines that the multifunction device 100 is not in a stable operating state. In this case, the control unit 150 rewrites the firmware and setting data stored in the non-volatile memory 163 with the backup program and backup data. The first error, which is a preset error, includes an error set based on an error code, an error in which the power supply to the multifunction device 100 is forcibly turned off, an error in which the inlet plug of the power cable is unplugged from the inlet of the main power supply 140, etc.

[0053] Furthermore, the control unit 150 determines whether or not the storage capacity of the auxiliary storage device 165 will be exceeded when storing the second evaluation table 200B in which the backup program and backup data are registered in the auxiliary storage device 165. If the control unit 150 determines that the storage capacity of the auxiliary storage device 165 will be exceeded, the control unit 150 selects the second evaluation table 200B having the largest stable operation score calculated by the recovery unit 175, and deletes the selected second evaluation table 200B from the auxiliary storage device 165.

[0054] [3. Operation of the multifunction device] 6 is a flowchart showing the operation of the control unit 150 when backing up firmware. The operation of the control unit 150 when backing up firmware will be described with reference to the flowchart shown in FIG. The control unit 150 first determines whether a firmware update request has been input (step S1). The firmware update request is input, for example, from the communication I / F 110. The communication I / F 110 receives the firmware update request from, for example, a server device connected to the network 50, and outputs the received firmware update request to the control unit 150.

[0055] When a firmware update request has not been input (step S1 / NO), the control unit 150 waits until a firmware update request is input. When a firmware update request is input (step S1 / YES), the control unit 150 stores the firmware as a backup program in the auxiliary storage device 165 (step S2). The control unit 150 registers the firmware indicated by the attribute information 210 associated with the first evaluation table 200A as a backup program in the first evaluation table 200A, and generates a second evaluation table 200B. The control unit 150 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0056] Thereafter, the control unit 150 receives the firmware transmitted from the server device, stores the received firmware in the non-volatile memory 163, and updates the firmware (step S3).

[0057] 7 is a flowchart showing a first operation of control unit 150 for backing up setting data. The first operation for backing up setting data will be described with reference to FIG. First, the control unit 150 judges whether or not a preset time has elapsed (step S11). If the preset time has not elapsed (step S11 / NO), the control unit 150 returns to the judgment of step S11.

[0058] Furthermore, when the control unit 150 determines that a preset time has elapsed (step S11 / YES), it stores the setting data as backup data in the auxiliary storage device 165 (step S12). The control unit 150 registers the setting data indicated by the attribute information 210 associated with the first evaluation table 200A as backup data in the first evaluation table 200A, and generates the second evaluation table 200B. The control unit 150 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0059] 8 is a flowchart showing a second operation of control unit 150 for backing up setting data. The second operation for backing up setting data will be described with reference to FIG. The control unit 150 first determines whether or not an initial filling of ink into the ink cartridges has started after the purchase of the multifunction device 100 (step S21). If the initial filling of ink has not started (step S21 / NO), the control unit 150 waits until the initial filling starts.

[0060] When the initial ink filling starts (step S21 / YES), the control unit 150 determines whether or not filling of the ink cartridge with ink is complete (step S22). If filling of the ink cartridge with ink is not complete (step S22 / NO), the control unit 150 waits until filling of the ink is complete.

[0061] When the ink cartridges are completely filled with ink (step S22 / YES), the control unit 150 stores the setting data as backup data in the auxiliary storage device 165 (step S23). The control unit 150 registers the setting data indicated by the attribute information 210 associated with the first evaluation table 200A as backup data in the first evaluation table 200A, and generates a second evaluation table 200B. The control unit 150 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0062] Thereafter, the control unit 150 executes a setup process (step S24). The setup process refers to a process of removing the protective material attached to the printer at the time of shipment from the factory, installing optional devices such as ink cartridges in the multifunction device 100, connecting the multifunction device 100 to the host, and further adjusting the print image of the multifunction device 100.

[0063] 9 is a flowchart showing a third operation of control unit 150 for backing up setting data. The third operation for backing up setting data will be described with reference to FIG. The control unit 150 determines whether the power has been forcibly turned off or whether the plug has been pulled out (step S31). The control unit 150 determines whether the power button has been pressed and held down based on a signal input from the operation unit 121, and determines whether the power has been forcibly turned off or not. The control unit 150 also determines whether the plug has been pulled out based on a signal input from the power control unit 145.

[0064] If the power has not been forcibly turned off and the plug has not been pulled out (step S31 / NO), the control unit 150 returns to the determination in step S31. Furthermore, when the control unit 150 determines that the power has not been forcibly turned off or the plug has not been pulled out (step S31 / YES), it stores the setting data as backup data in the auxiliary storage device 165 (step S32). The control unit 150 registers the setting data indicated by the attribute information 210 associated with the first evaluation table 200A as backup data in the first evaluation table 200A, and generates a second evaluation table 200B. The control unit 150 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0065] 10 is a flowchart showing a fourth operation of control unit 150 for backing up setting data. The fourth operation for backing up setting data will be described with reference to FIG. The control unit 150 first determines whether or not it has instructed functional units, such as the printer unit 131 and the scanner 133, of the multifunction device 100 to execute a process (step S41). The process includes, for example, a printing process and an image reading process. When the control unit 150 has not instructed to execute the process (step S41 / NO), the control unit 150 waits until it instructs to start the process.

[0066] When the control unit 150 instructs the start of processing (step S41 / YES), it judges whether the processing instructed to start has ended (step S42). When the processing has not ended (step S42 / NO), the control unit 150 waits until the processing ends. When the processing ends (step S42 / YES), the control unit 150 stores the setting data as backup data in the auxiliary storage device 165 (step S43). The control unit 150 registers the setting data indicated by the attribute information 210 associated with the first evaluation table 200A as backup data in the first evaluation table 200A, and generates the second evaluation table 200B. The control unit 150 stores the generated second evaluation table 200B in the auxiliary storage device 165.

[0067] 11 is a flowchart showing the operation of a recovery process for recovering firmware and setting data stored in non-volatile memory 163 using a backup program and backup data stored in auxiliary storage device 165. The operation of control unit 150 during the recovery process will be described with reference to the flowchart shown in FIG. First, the control unit 150 instructs the functional units of the multifunction device 100 to execute processing based on the operation received by the operation unit 121 (step S51).

[0068] Next, the control unit 150 determines whether or not an error is detected (step S52). If the control unit 150 does not detect an error (step S52 / NO), the control unit 150 determines whether or not the process instructed to be executed in step S51 has been completed (step S53).

[0069] If the process is not completed (step S53 / NO), the control unit 150 returns to step S52. If the process is completed (step S53 / YES), the control unit 150 ends this process flow.

[0070] When the control unit 150 detects an error (step S52 / YES), it acquires an error code of the detected error and the function of the multifunction device 100 in which the error was detected. The control unit 150 registers the acquired error code of the error and the function of the multifunction device 100 in which the error was detected as an error log in the first error code table 300A shown in Fig. 4 (step S54).

[0071] Next, the control unit 150 calculates the stable operation score (step S55). The control unit 150 calculates the stable operation score by the above-mentioned formula (1) using the data registered in the first evaluation table 200A shown in Fig. 2 and the data registered in the first error code table 300A shown in Fig. 4.

[0072] Next, the control unit 150 determines whether the stable operation score calculated in step S55 is equal to or greater than a threshold value (step S56). If the stable operation score calculated in step S55 is not equal to or greater than the threshold value (step S56 / NO), the control unit 150 ends this processing flow.

[0073] Furthermore, if the stable operation score calculated in step S55 is equal to or greater than the threshold value (step S56 / YES), the control unit 150 calculates the stable operation score again (step S57). The control unit 150 calculates multiple stable operation scores using data in the second evaluation table 200B and the second error code table 300B stored in the auxiliary storage device 165 (step S57). The control unit 150 calculates the stable operation score using data registered in the second evaluation table 200B in which the attribute information 210 is firmware, and data registered in the second evaluation table 200B in which the attribute information 210 is setting data. In this case, the average of the two calculated stable operation scores is used as the stable operation score.

[0074] Next, the control unit 150 selects the second evaluation table 200B in which the attribute information 210 indicates firmware and the attribute information 210 indicates setting data, which is the smallest among the multiple calculated stable operation scores. The control unit 150 acquires the backup program and backup data registered in the selected second evaluation table 200B (step S58). The control unit 150 causes the recovery unit 175 to rewrite the firmware and setting data stored in the non-volatile memory 163 with the acquired backup program and backup data, thereby recovering the system (step S59).

[0075] [3. Other Aspects] The above-described embodiment is a preferred embodiment of the present invention, however, the present invention is not limited to the above-described embodiment and various modifications are possible without departing from the spirit and scope of the present invention. For example, if the operation of the multifunction device 100 is not stable, such as if multiple errors are detected within a specified period of time, even after rewriting the firmware and setting data stored in the non-volatile memory 163 with backup programs and data, the following operation may be performed. The content of the error and contact information for support are displayed on the display unit 123. The content of the error and information identifying the multifunction device 100 are sent by email or the like to a preset support desk or server device of the manufacturer. The administrator of the user who manages the multifunction device 100 is notified of the occurrence of the error by email.

[0076] For example, the functional units of the multifunction device 100 shown in Fig. 1 indicate functional configurations, and the specific implementation form is not particularly limited. In other words, it is not necessarily necessary to implement hardware corresponding to each functional unit individually, and it is of course possible to implement a configuration in which one or more processors execute a program to realize the functions of multiple functional units. Also, some of the functions realized by software in the above embodiment may be realized by hardware, and some of the functions realized by hardware may be realized by software. In addition, the specific detailed configurations of the other units of the multifunction device 100 may also be changed as desired without departing from the spirit of the present invention.

[0077] Moreover, the processing units in the flowcharts shown in Fig. 6 to Fig. 11 are divided according to the main processing contents in order to make the processing of the multifunction device 100 easier to understand. The present invention is not limited by the manner in which the processing units are divided or the names thereof shown in the flowcharts of Fig. 6 to Fig. 11. Moreover, the processing of the multifunction device 100 can be divided into more processing units according to the processing contents, or one processing unit can be divided so as to include more processes. Moreover, the processing order of the above flowcharts is not limited to the example shown in the figures.

[0078] Furthermore, when the method for controlling an image forming apparatus is realized by a computer included in the multifunction device 100, the program executed by the computer can be configured in the form of a recording medium or a transmission medium for transmitting the program. The recording medium can be a magnetic or optical recording medium or a semiconductor memory device. Specific examples of the recording medium include portable or fixed recording media such as flexible disks, HDDs (Hard Disk Drives), CD-ROMs, DVDs, Blu-ray Discs, magneto-optical discs, flash memories, and card-type recording media. Blu-ray is a registered trademark.

[0079] 4. Summary of this Disclosure The following is a summary of this disclosure.

[0080] (Appendix 1) An image forming apparatus, A processor; a first storage unit that stores a program executed by the processor and setting data to be set in the image forming apparatus; a second storage unit that stores a backup program and backup data as a backup of the program and the setting data, The processor, When an error occurring within the image forming apparatus is detected and the processor detects a preset error threshold value or more, it is determined that the image forming apparatus is not in a stable operating state; the image forming apparatus rewrites the program and the setting data stored in the first storage unit to the backup program and the backup data stored in the second storage unit, and executes the rewritten backup program and the backup data.

[0081] According to this configuration, when an error occurring in the image forming device is detected and the processor detects a preset threshold value or more of errors, it is determined that the image forming device is not in a stable operating state. If it is determined that the image forming device is not in a stable operating state, the program and setting data stored in the first storage unit are rewritten to the backup program and backup data stored in the second storage unit. This allows the image forming device to be quickly restored to a usable state.

[0082] (Appendix 2) The processor, determining a type of the plurality of detected errors, and determining whether the plurality of detected errors is a first error which is a fatal error or a second error which is a non-fatal error based on the type of the plurality of detected errors; 2. The image forming apparatus according to claim 1, wherein the image forming apparatus determines that the image forming apparatus is not in a stable operating state when the number of occurrences of the first error, which is the preset error, is equal to or greater than the threshold value.

[0083] According to this configuration, when the number of occurrences of a first error, which is a preset error, is equal to or greater than a threshold value, it is determined that the image forming apparatus is not in a stable operating state. This makes it possible to accurately determine that the image forming apparatus is not in a stable operating state.

[0084] (Appendix 3) The processor, determining a type of the plurality of detected errors, and determining whether the plurality of detected errors is a first error which is a fatal error or a second error which is a non-fatal error based on the type of the plurality of detected errors; counting the number of occurrences of the first error, which is the preset error, the number of times the power supply of the image forming apparatus is forcibly turned off, the number of times the power supplied from a commercial power supply is cut off, and the number of occurrences of the second error for each operating state of the image forming apparatus; An image forming apparatus as described in Appendix 1, which determines that the image forming apparatus is not in a stable operating state when the sum of the first error, the second error, the number of off occurrences, and the number of interruptions counted for each operating state of the image forming apparatus is greater than or equal to the threshold value.

[0085] According to this configuration, when the sum of the first error, the second error, the number of off times, and the number of interruptions counted for each operating state of the image forming apparatus is equal to or greater than a threshold value, it is determined that the image forming apparatus is not in a stable operating state. This makes it possible to accurately determine that the image forming apparatus is not in a stable operating state.

[0086] (Appendix 4) The processor, The image forming apparatus according to any one of claims 1 to 3, wherein, when the program is updated, the program before the update is stored in the second storage unit as the backup program.

[0087] According to this configuration, the program before the update is stored in the second storage unit, so that even if the operation of the image forming device becomes unstable due to the update, the program before the update stored in the second storage unit can be used to return the image forming device to the state before the update.

[0088] (Appendix 5) The processor, An image forming device as described in any one of Appendix 1 to 4, wherein the setting data stored in the first memory unit is stored in the second memory unit as the backup data at at least one of the following times: when ink is initially filled into a printing unit provided in the image forming device, when the image forming device is in an idle state, after a function provided in the image forming device is executed, and after an operation to turn off the power of the image forming device is input.

[0089] According to this configuration, the setting data is stored in the second storage unit at least at one of the following times: when the printing unit is initially filled with ink, when the image forming device is in an idle state, after a function of the image forming device is executed, and after an operation to turn off the image forming device is input. Therefore, even if the operation of the image forming device becomes unstable, the image forming device can be restored to its original state using the backup data stored in the second storage unit.

[0090] (Appendix 6) The second storage unit is storing a plurality of sets of the backup program and the backup data; The processor, When the program is executed and operates according to the settings of the setting data, a first table in which the number of times each of a plurality of functions included in the image forming apparatus is executed, the number of times an error is detected, the number of times the power supply of the image forming apparatus is forcibly turned off, and the number of times the power supply from a commercial power source is cut off are registered; generating a second table in which the number of times an error has been detected for each function of the image forming apparatus and an error code indicating the type of the detected error are registered in association with each other; An image forming apparatus as described in any one of appendixes 1 to 5, wherein, when the program is stored in the second storage unit as the backup program, identification information of the program and the setting data are associated with the first table and the second table and stored in the second storage unit.

[0091] According to this configuration, by referring to the first table and the second table, the operating state of the processor can be determined based on the program and the setting data.

[0092] (Appendix 7) The processor, With reference to the second table, determine a first error that is determined to be fatal and a second error that is determined to be non-fatal based on the error code; acquiring the number of the first errors and the number of the second errors for each of a plurality of functions included in the image forming apparatus; referring to the first table, acquiring the number of times the power supply of the image forming apparatus is forcibly turned off and the number of times the power supply from a commercial power source is cut off for each of a plurality of functions of the image forming apparatus; Calculating the sum of the acquired first error, the acquired second error, the acquired number of off times, and the acquired number of interruptions for each function; An image forming apparatus as described in Appendix 6, which selects the program and the setting data indicated by the identification information associated with the first table having the smallest total sum of the sums calculated for each function as the backup program and backup data to be used to rewrite the program and the setting data stored in the first memory unit.

[0093] According to this configuration, it is possible to select a backup program and backup data that allow the processor to operate stably, based on the first error, the second error, the number of OFF times, and the number of interruptions.

[0094] (Appendix 8) The processor, When the capacity of the second storage unit exceeds the upper limit, 8. The image forming apparatus according to claim 7, wherein the first table and the second table having the largest total sum calculated for each function are deleted from the second storage unit.

[0095] According to this configuration, the capacity of the second storage unit can be secured by deleting the backup program and the first table and the second table that are not used as backup data from the second storage unit.

[0096] (Appendix 9) An image forming device described in any one of Appendix 1 to 8, wherein the setting data includes data specific to the image forming device that is set when the image forming device is manufactured and data that is set by a user.

[0097] According to this configuration, the data unique to the image forming apparatus that is set when the image forming apparatus is manufactured and the data that is set by the user can be stored in the second storage unit as backup data.

[0098] (Appendix 10) A processor; a first storage unit that stores a program executed by the processor and setting data; a second storage unit that stores a backup program and backup data as a backup of the program and the setting data, detecting an error occurring within the image forming device, and determining whether the processor detects a preset number of errors equal to or greater than a threshold; when an error occurring within the image forming apparatus is detected and the processor determines that a preset threshold value or more of errors have been detected, rewriting the program and the setting data stored in the first storage unit with the backup program and the backup data stored in the second storage unit, and executing the rewritten backup program and the backup data; A control method for an image forming apparatus comprising:

[0099] According to this configuration, when an error occurring in the image forming device is detected and the processor detects a preset threshold value or more of errors, it is determined that the image forming device is not in a stable operating state. If it is determined that the image forming device is not in a stable operating state, the program and setting data stored in the first storage unit are rewritten to the backup program and backup data stored in the second storage unit. This allows the image forming device to be quickly restored to a usable state. [Explanation of symbols]

[0100] 100...Multifunction device, 105...Bus, 110...Communication I / F, 120...Input / output I / F, 121...Operation unit, 123...Display unit, 130...Device I / F, 131...Operation unit, 131...Printer unit, 133...Scanner, 135...FAX unit, 140...Main power supply, 145...Power supply control unit, 150...Control unit, 160...Memory unit, 161...Volatile memory, 163...Non-volatile memory, 165...Auxiliary storage device, 170...Processor, 171...Error detection unit, 173...Backup unit, 175...Recovery unit, 200A...First evaluation table, 200B...Second evaluation table, 210, 310...Attribute information, 211, 311...Type information, 213, 313...Version information, 221, 321...PC printing, 222, 322...Copy, 224, 324...Scan To Folder, 225, 325...idle state, 231...number of times function is executed, 232...number of times error occurs, 234...number of times plug is pulled out, 300A...first error code table, 300B...second error code table, 330...error code.

Claims

1. An image forming apparatus, A processor; a first storage unit that stores a program executed by the processor and setting data to be set in the image forming apparatus; a second storage unit that stores a backup program and backup data as a backup of the program and the setting data, The processor, When an error occurring within the image forming apparatus is detected and the processor detects a preset error threshold value or more, it is determined that the image forming apparatus is not in a stable operating state; The image forming apparatus rewrites the program and the setting data stored in the first storage unit into the backup program and the backup data stored in the second storage unit, and executes the rewritten backup program and the backup data.

2. The processor, determining the types of the multiple detected errors, and determining whether the multiple detected errors are a first error which is a fatal error or a second error which is a non-fatal error based on the types of the multiple detected errors; 2. The image forming apparatus according to claim 1, wherein the image forming apparatus is determined to be not in a stable operating state when the number of occurrences of the first error, which is the preset error, is equal to or greater than the threshold value.

3. The processor, determining the types of the multiple detected errors, and determining whether the multiple detected errors are a first error which is a fatal error or a second error which is a non-fatal error based on the types of the multiple detected errors; counting the number of occurrences of the first error, which is the preset error, the number of times the power supply of the image forming apparatus is forcibly turned off, the number of times the power supplied from a commercial power supply is cut off, and the number of occurrences of the second error for each operating state of the image forming apparatus; 2. The image forming apparatus according to claim 1, wherein the image forming apparatus is determined to be not in a stable operating state when the sum of the first error, the second error, the number of off occurrences, and the number of interruptions counted for each operating state of the image forming apparatus is equal to or greater than the threshold value.

4. The processor, The image forming apparatus according to claim 1 , wherein when the program is updated, the program before the update is stored in the second storage unit as the backup program.

5. The processor, 4. An image forming apparatus as described in any one of claims 1 to 3, wherein the setting data stored in the first memory unit is stored in the second memory unit as the backup data at at least one of the following times: when ink is initially filled into a printing unit provided in the image forming apparatus, when the image forming apparatus is in an idle state, after a function provided in the image forming apparatus is executed, and after an operation to turn off the power of the image forming apparatus is input.

6. The second storage unit is storing a plurality of sets of the backup program and the backup data; The processor, When the program is executed and operates according to the settings of the setting data, a first table in which the number of times each of a plurality of functions included in the image forming apparatus is executed, the number of times an error is detected, the number of times the power supply of the image forming apparatus is forcibly turned off, and the number of times the power supply from a commercial power source is cut off are registered; generating a second table in which the number of times an error has been detected for each function of the image forming apparatus and an error code indicating the type of the detected error are registered in association with each other; 2. The image forming apparatus according to claim 1, wherein when the program is stored in the second storage section as the backup program, the first table and the second table are stored in the second storage section in association with identification information of the program and the setting data.

7. The processor, With reference to the second table, determine a first error that is determined to be fatal and a second error that is determined to be non-fatal based on the error code; acquiring the number of the first errors and the number of the second errors for each of a plurality of functions included in the image forming apparatus; referring to the first table, acquiring the number of times the power supply of the image forming apparatus has been forcibly turned off and the number of times the power supply from a commercial power source has been cut off for each of a plurality of functions of the image forming apparatus; Calculating a sum of the acquired first error, the acquired second error, the acquired number of off times, and the acquired number of interruptions for each function; The image forming apparatus of claim 6, wherein the program and the setting data indicated by the identification information corresponding to the first table having the smallest total sum of the sums calculated for each function are selected as the backup program and the backup data to be used to rewrite the program and the setting data stored in the first memory unit.

8. The processor, When the capacity of the second storage unit exceeds an upper limit, 8. The image forming apparatus according to claim 7, wherein the first table and the second table having the largest total sum calculated for each function are deleted from the second storage section.

9. The image forming apparatus according to claim 1 , wherein the setting data includes data specific to the image forming apparatus that is set when the image forming apparatus is manufactured, and data that is set by a user.

10. A processor; a first storage unit that stores a program executed by the processor and setting data; a second storage unit that stores a backup program and backup data as a backup of the program and the setting data, detecting an error occurring within the image forming device, and determining whether the processor detects a preset number of errors equal to or greater than a threshold; when an error occurring within the image forming apparatus is detected and the processor determines that a preset threshold value or more of errors have been detected, rewriting the program and the setting data stored in the first storage unit with the backup program and the backup data stored in the second storage unit, and executing the rewritten backup program and the backup data; A control method for an image forming apparatus comprising:

Citation Information

Patent Citations

  • Image forming apparatus

    JP2013024952A