JP2016117195A - Image processor, method for controlling image processor, and control program of image processor - Google Patents

Image processor, method for controlling image processor, and control program of image processor Download PDF

Info

Publication number
JP2016117195A
JP2016117195A JP2014257561A JP2014257561A JP2016117195A JP 2016117195 A JP2016117195 A JP 2016117195A JP 2014257561 A JP2014257561 A JP 2014257561A JP 2014257561 A JP2014257561 A JP 2014257561A JP 2016117195 A JP2016117195 A JP 2016117195A
Authority
JP
Japan
Prior art keywords
failure
unit
image processing
processing apparatus
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014257561A
Other languages
Japanese (ja)
Inventor
豊 松村
Yutaka Matsumura
豊 松村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2014257561A priority Critical patent/JP2016117195A/en
Publication of JP2016117195A publication Critical patent/JP2016117195A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce an unnecessary waiting time until executing restarting when a failure that needs restarting of a device occurs in a unit constituting the device and a processing program.SOLUTION: An image processor for executing various processing by a plurality of processing parts includes a failure detection part for detecting that a failure occurs in the image processor, a processing request part for requesting processing for restarting the image processor from the plurality of processing parts when detecting the failure, and a restart execution part for executing restarting of the image processor when receiving response to the request from processing parts other than a processing part which cannot response due to the detected failure among all processing parts that are requested to perform processing.SELECTED DRAWING: Figure 3

Description

本発明は、画像処理装置、画像処理装置の制御方法及び画像処理装置の制御プログラムに関する。   The present invention relates to an image processing apparatus, a control method for the image processing apparatus, and a control program for the image processing apparatus.

近年、情報の電子化が推進される傾向にあり、電子化された情報の出力に用いられるプリンタやファクシミリ及び書類の電子化に用いるスキャナ等の画像処理装置は欠かせない機器となっている。このような画像処理装置は、撮像機能、画像形成機能及び通信機能等を備えることにより、プリンタ、ファクシミリ、スキャナ、複写機として利用可能な複合機として構成されることが多い。   In recent years, there has been a tendency to digitize information, and image processing apparatuses such as printers and facsimiles used for outputting digitized information and scanners used for digitizing documents have become indispensable devices. Such an image processing apparatus is often configured as a multifunction machine that can be used as a printer, a facsimile, a scanner, or a copier by providing an imaging function, an image forming function, a communication function, and the like.

このような画像処理装置において、装置を構成するユニットや処理プログラムの障害を検知すると自動的に装置を再起動する方法が提案されている(例えば、特許文献1参照)。特許文献1に開示された方法が適用された装置は、各処理をそれぞれ実行する各処理部が仕掛中の処理を区切りのよいところまで実行するのを待って安全に再起動できる状態で各処理部の動作を抑制して、再起動を実行する。   In such an image processing apparatus, there has been proposed a method of automatically restarting an apparatus when a failure of a unit or a processing program constituting the apparatus is detected (see, for example, Patent Document 1). The apparatus to which the method disclosed in Patent Document 1 is applied is configured so that each processing unit that executes each process can safely restart after waiting for execution of the process in progress to a point where the process is in progress. The operation of the part is suppressed and the restart is executed.

特許文献1に開示された技術においては、装置のすべての処理部から動作抑制が完了する通知を受け取った後で再起動が実行される。そのため、装置で発生した障害により処理部が異常終了した場合、装置は異常終了した処理部から動作抑制の完了通知を受け取れず、タイムアウトするまで待ってから強制的に再起動することになり、不要な待ち時間が発生する。   In the technique disclosed in Patent Literature 1, restart is executed after receiving notification of completion of operation suppression from all the processing units of the apparatus. Therefore, if the processing unit is abnormally terminated due to a failure that has occurred in the device, the device will not receive an operation suppression completion notification from the abnormally terminated processing unit, and will be forcibly restarted after waiting for timeout, which is unnecessary. Waiting time occurs.

本発明は、このような課題を解決するためになされたものであり、装置を構成するユニットや処理プログラムに装置の再起動を要する障害が発生した際に、再起動を実行するまでの不要な待ち時間を削減することを目的とする。   The present invention has been made to solve such a problem, and is unnecessary until a restart is executed when a failure that requires the restart of the apparatus occurs in a unit or a processing program constituting the apparatus. The purpose is to reduce waiting time.

上記課題を解決するために、本発明の一態様は、複数の処理部により各種の処理を実行する画像処理装置であって、前記画像処理装置において障害が発生したことを検知する障害検知部と、前記障害が検知された際に、前記複数の処理部に対して前記画像処理装置の再起動のための処理を要求する処理要求部と、前記処理が要求されたすべての前記処理部のうち、検知された前記障害により応答不能となった処理部以外の前記処理部から前記要求に対する応答を受信すると、前記画像処理装置の再起動を実行する再起動実行部とを含むことを特徴とする。   In order to solve the above-described problem, an aspect of the present invention is an image processing apparatus that performs various types of processing using a plurality of processing units, and a failure detection unit that detects that a failure has occurred in the image processing device; A processing requesting unit that requests processing for restarting the image processing apparatus to the plurality of processing units when the failure is detected, and among all of the processing units for which the processing is requested A restart execution unit that restarts the image processing apparatus upon receiving a response to the request from the processing unit other than the processing unit that has become unresponsive due to the detected failure. .

本発明によれば、装置を構成するユニットや処理プログラムに装置の再起動を要する障害が発生した際に、再起動を実行するまでの不要な待ち時間を削減することができる。   ADVANTAGE OF THE INVENTION According to this invention, when the failure which requires the restart of an apparatus generate | occur | produces in the unit and processing program which comprise an apparatus, the unnecessary waiting time until it performs a restart can be reduced.

本発明の実施形態に係る画像処理装置のハードウェア構成を例示するブロック図である。1 is a block diagram illustrating a hardware configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像処理装置の機能構成を例示するブロック図である。1 is a block diagram illustrating a functional configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係る主制御部の動作の概要を例示するフローチャートである。It is a flowchart which illustrates the outline | summary of operation | movement of the main-control part which concerns on embodiment of this invention. 本発明の実施形態に係る画像処理装置の全体動作の概要を例示するシーケンス図である。It is a sequence diagram which illustrates the outline | summary of the whole operation | movement of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る画像処理装置の別の全体動作の概要を例示するシーケンス図である。It is a sequence diagram which illustrates the outline | summary of another whole operation | movement of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る主制御部の機能構成を例示するブロック図である。It is a block diagram which illustrates the functional composition of the main control part concerning the embodiment of the present invention. 本発明の実施形態に係る障害情報記憶部に格納されている障害情報を例示する図である。It is a figure which illustrates the failure information stored in the failure information storage part which concerns on embodiment of this invention. 本発明の実施形態に係る主制御部に含まれる各部による動作を例示するシーケンス図である。It is a sequence diagram which illustrates operation | movement by each part contained in the main control part which concerns on embodiment of this invention. 本発明の実施形態に係る主制御部に含まれる各部による別の動作を例示するシーケンス図である。It is a sequence diagram which illustrates another operation | movement by each part contained in the main control part which concerns on embodiment of this invention. 本発明の実施形態に係る主制御部に含まれる各部による別の動作を例示するシーケンス図である。It is a sequence diagram which illustrates another operation | movement by each part contained in the main control part which concerns on embodiment of this invention.

以下、図面を参照して、本発明の実施形態について説明する。本実施形態においては、撮像機能、画像形成機能及び通信機能等を備えることにより、プリンタ、ファクシミリ、スキャナ、複写機として利用可能なMFP(MultiFunction Peripheral:複合機)としての画像処理装置を例として説明する。   Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, an image processing apparatus as an MFP (Multi Function Peripheral) that can be used as a printer, a facsimile, a scanner, and a copier by providing an imaging function, an image forming function, a communication function, and the like will be described as an example. To do.

図1は、本実施形態に係る画像処理装置1のハードウェア構成を例示するブロック図である。図1に示すように、本実施形態に係る画像処理装置1は、一般的なサーバやPC(Personal Computer)等の情報処理装置と同様の構成を含む。   FIG. 1 is a block diagram illustrating a hardware configuration of an image processing apparatus 1 according to this embodiment. As shown in FIG. 1, the image processing apparatus 1 according to the present embodiment includes the same configuration as an information processing apparatus such as a general server or a PC (Personal Computer).

すなわち、本実施形態に係る画像処理装置1は、CPU(Central Processing Unit)10、RAM(Random Access Memory)20、ROM(Read Only Memory)30、HDD(Hard Disk Drive)40及びI/F50がバス80を介して接続された構成である。また、I/F50にはLCD(Liquid Crystal Display)60及び操作部70が接続されている。   That is, the image processing apparatus 1 according to this embodiment includes a CPU (Central Processing Unit) 10, a RAM (Random Access Memory) 20, a ROM (Read Only Memory) 30, an HDD (Hard Disk Drive) 40, and an I / F 50. 80 is connected through 80. Further, an LCD (Liquid Crystal Display) 60 and an operation unit 70 are connected to the I / F 50.

この他、画像処理装置1の場合、画像形成出力やスキャンを実行する専用デバイスが含まれる。例えば、専用デバイスには、画像形成出力対象の用紙を搬送する搬送機構や、紙面上に画像形成出力を実行するプロッタ装置、紙面上に出力された画像を読み取る読取装置等が含まれる。その他、専用デバイスには、高速に画像処理を行うための専用の演算装置が含まれてもよい。このような演算装置は、例えばASIC(Application Specific Integrated Circuit)として構成される。   In addition, the image processing apparatus 1 includes a dedicated device that executes image formation output and scanning. For example, the dedicated device includes a transport mechanism that transports a sheet of image formation output target, a plotter device that executes image formation output on a paper surface, a reading device that reads an image output on the paper surface, and the like. In addition, the dedicated device may include a dedicated arithmetic device for performing image processing at high speed. Such an arithmetic unit is configured as an ASIC (Application Specific Integrated Circuit), for example.

CPU10は演算手段であり、画像処理装置1全体の動作を制御する。RAM20は、情報の高速な読み書きが可能な揮発性の記憶媒体であり、CPU10が情報を処理する際の作業領域として用いられる。ROM30は、読み出し専用の不揮発性記憶媒体であり、ファームウェア等のプログラムを格納する。HDD40は、情報の読み書きが可能な不揮発性の記憶媒体であり、OS(Operating System)や各種の制御プログラム、アプリケーションプログラム等を格納する。なお、HDDの他、SSD(Solid State Drive)等の半導体記憶装置を用いても良い。   The CPU 10 is a calculation unit and controls the operation of the entire image processing apparatus 1. The RAM 20 is a volatile storage medium capable of reading and writing information at high speed, and is used as a work area when the CPU 10 processes information. The ROM 30 is a read-only nonvolatile storage medium and stores programs such as firmware. The HDD 40 is a nonvolatile storage medium that can read and write information, and stores an OS (Operating System), various control programs, application programs, and the like. In addition to the HDD, a semiconductor storage device such as an SSD (Solid State Drive) may be used.

I/F50は、バス80と各種のハードウェアやネットワーク等を接続し制御する。LCD60は、ユーザが画像処理装置1の状態を確認するための視覚的ユーザインタフェースである。操作部70は、キーボード、マウス、各種のハードボタン、タッチパネル等、ユーザが画像処理装置1に情報を入力するためのユーザインタフェースである。   The I / F 50 connects and controls the bus 80 and various hardware and networks. The LCD 60 is a visual user interface for the user to check the state of the image processing apparatus 1. The operation unit 70 is a user interface for a user to input information to the image processing apparatus 1 such as a keyboard, a mouse, various hard buttons, and a touch panel.

このようなハードウェア構成において、ROM30やHDD40若しくは図示しない光学ディスク等の記憶媒体に格納されたプログラムがRAM20に読み出され、CPU10がそれらのプログラムに従って演算を行うことによりソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、本実施形態に係る画像処理装置1の機能を実現する機能ブロックが構成される。   In such a hardware configuration, a program stored in a storage medium such as the ROM 30, the HDD 40, or an optical disk (not shown) is read into the RAM 20, and the software control unit is configured by the CPU 10 performing calculations according to those programs. . A functional block that realizes the functions of the image processing apparatus 1 according to the present embodiment is configured by a combination of the software control unit configured as described above and hardware.

次に、本実施形態に係る画像処理装置1の機能構成を説明する。図2は、本実施形態に係る画像処理装置1の機能構成を例示する図である。図2に示すように、本実施形態に係る画像処理装置1は、コントローラ100、ADF(Auto Documennt Feeder:原稿自動搬送装置)110、スキャナユニット111、排紙トレイ112、ディスプレイパネル113、給紙テーブル114、プリントエンジン115、排紙トレイ116、ネットワークI/F117を有する。   Next, a functional configuration of the image processing apparatus 1 according to the present embodiment will be described. FIG. 2 is a diagram illustrating a functional configuration of the image processing apparatus 1 according to the present embodiment. As shown in FIG. 2, the image processing apparatus 1 according to the present embodiment includes a controller 100, an ADF (Auto Document Feeder) 110, a scanner unit 111, a paper discharge tray 112, a display panel 113, and a paper feed table. 114, a print engine 115, a paper discharge tray 116, and a network I / F 117.

また、コントローラ100は、主制御部130、エンジン制御部101、画像処理部102、入出力制御部103、操作表示制御部104及び機能実現部105を有する。図2に示すように、本実施形態に係る画像処理装置1は、スキャナユニット111、プリントエンジン115を有する複合機として構成されている。なお、図2においては、電気的接続を実線の矢印で示しており、用紙の流れを破線の矢印で示している。   The controller 100 includes a main control unit 130, an engine control unit 101, an image processing unit 102, an input / output control unit 103, an operation display control unit 104, and a function realization unit 105. As shown in FIG. 2, the image processing apparatus 1 according to the present embodiment is configured as a multifunction machine having a scanner unit 111 and a print engine 115. In FIG. 2, the electrical connection is indicated by solid arrows, and the flow of paper is indicated by broken arrows.

ディスプレイパネル113は、画像処理装置1の状態を視覚的に表示する出力インタフェースであると共に、タッチパネルとしてユーザが画像処理装置1を直接操作し若しくは画像処理装置1に対して情報を入力する際の入力インタフェース(操作部)でもある。ネットワークI/F117は、画像処理装置1がネットワークを介して管理者用端末等の他の機器と通信するためのインタフェースである。例えば、ネットワークI/F117として、Ethernet(登録商標)、USB、Bluetooth(登録商標)、Wi−Fi(Wireless Fidelity)等が用いられる。   The display panel 113 is an output interface that visually displays the state of the image processing apparatus 1, and an input when the user directly operates the image processing apparatus 1 or inputs information to the image processing apparatus 1 as a touch panel. It is also an interface (operation unit). The network I / F 117 is an interface for the image processing apparatus 1 to communicate with other devices such as an administrator terminal via the network. For example, Ethernet (registered trademark), USB, Bluetooth (registered trademark), Wi-Fi (Wireless Fidelity), or the like is used as the network I / F 117.

コントローラ100は、ソフトウェアとハードウェアとの組み合わせによって構成される。具体的には、ROM30やHDD40等の不揮発性記憶媒体に格納されたアプリケーションプログラムやファームウェア等の制御プログラムが、RAM20にロードされる。そして、それらのプログラムに従ってCPU10が演算を行うことにより構成されるソフトウェア制御部と集積回路などのハードウェアとによってコントローラ100が構成される。コントローラ100は、画像処理装置1全体を制御する制御部として機能する。   The controller 100 is configured by a combination of software and hardware. Specifically, a control program such as an application program or firmware stored in a nonvolatile storage medium such as the ROM 30 or the HDD 40 is loaded into the RAM 20. And the controller 100 is comprised by hardware, such as a software control part comprised by CPU10 calculating according to those programs, and an integrated circuit. The controller 100 functions as a control unit that controls the entire image processing apparatus 1.

主制御部130は、コントローラ100に含まれる各部を制御する役割を担い、コントローラ100の各部に命令を与える。エンジン制御部101は、プリントエンジン115やスキャナユニット111等を制御若しくは駆動する駆動手段としての役割を担う。入出力制御部103は、ネットワークI/F117を介して画像処理装置1に接続された情報処理装置等から入力される信号や命令を主制御部130に入力する。また、主制御部130は、入出力制御部103を制御し、ネットワークI/F117を介して他の装置にアクセスする。   The main control unit 130 plays a role of controlling each unit included in the controller 100 and gives a command to each unit of the controller 100. The engine control unit 101 serves as a driving unit that controls or drives the print engine 115, the scanner unit 111, and the like. The input / output control unit 103 inputs a signal or a command input from the information processing apparatus or the like connected to the image processing apparatus 1 via the network I / F 117 to the main control unit 130. The main control unit 130 also controls the input / output control unit 103 to access other devices via the network I / F 117.

画像処理部102は、主制御部130の制御に従い、印刷出力すべき画像情報に基づいて描画情報を生成する。この描画情報とは、画像形成出力部であるプリントエンジン115が画像形成動作において形成すべき画像を描画するための情報である。また、画像処理部102は、スキャナユニット111から入力される撮像データを処理し、画像データを生成する。この画像データとは、スキャナ動作の結果物として画像処理装置1に格納され若しくはネットワークI/F117を介して他の機器に送信される情報である。操作表示制御部104は、ディスプレイパネル113に情報表示を行い若しくはディスプレイパネル113を介して入力された情報を主制御部130に通知する。   The image processing unit 102 generates drawing information based on image information to be printed and output under the control of the main control unit 130. The drawing information is information for drawing an image to be formed in the image forming operation by the print engine 115 as the image forming output unit. The image processing unit 102 processes image data input from the scanner unit 111 and generates image data. The image data is information stored in the image processing apparatus 1 as a result of the scanner operation or transmitted to another device via the network I / F 117. The operation display control unit 104 displays information on the display panel 113 or notifies the main control unit 130 of information input via the display panel 113.

機能実現部105は、ROM30やHDD40等の不揮発性記憶媒体に格納されたアプリケーションプログラムに従って主制御部130と情報をやりとりすることにより、画像処理装置1の各種機能を実現する。例えば、機能実現部105は、プリンタアプリケーションによるプリンタ機能、スキャナアプリケーションによるスキャナ機能、コピーアプリケーションによる複写機能を実現する。   The function implementation unit 105 implements various functions of the image processing apparatus 1 by exchanging information with the main control unit 130 in accordance with application programs stored in a nonvolatile storage medium such as the ROM 30 or the HDD 40. For example, the function realization unit 105 realizes a printer function using a printer application, a scanner function using a scanner application, and a copying function using a copy application.

画像処理装置1がプリンタとして動作する場合は、機能実現部105はプリンタアプリケーションに従って動作し、まず、入出力制御部103が、ネットワークI/F117を介して印刷ジョブを受信する。入出力制御部103は、受信した印刷ジョブを主制御部130に転送する。主制御部130は、印刷ジョブを受信すると、画像処理部102を制御して印刷ジョブに含まれる文書情報若しくは画像情報に基づいて描画情報を生成する。   When the image processing apparatus 1 operates as a printer, the function implementation unit 105 operates according to the printer application. First, the input / output control unit 103 receives a print job via the network I / F 117. The input / output control unit 103 transfers the received print job to the main control unit 130. When receiving the print job, the main control unit 130 controls the image processing unit 102 to generate drawing information based on document information or image information included in the print job.

画像処理部102によって描画情報が生成されると、エンジン制御部101は、生成された描画情報に基づき、給紙テーブル114から搬送される用紙に対して画像形成を実行する。プリントエンジン115の具体的態様としては、インクジェット方式による画像形成機構や電子写真方式による画像形成機構等を用いることが可能である。プリントエンジン115によって画像形成が施された文書は排紙トレイ116に排紙される。   When drawing information is generated by the image processing unit 102, the engine control unit 101 executes image formation on a sheet conveyed from the paper feed table 114 based on the generated drawing information. As a specific mode of the print engine 115, an image forming mechanism using an ink jet method, an image forming mechanism using an electrophotographic method, or the like can be used. A document on which an image is formed by the print engine 115 is discharged to a discharge tray 116.

画像処理装置1がスキャナ、すなわち画像読取装置として動作する場合は、スキャナアプリケーションに従って動作する。具体的には、ユーザによるディスプレイパネル113の操作若しくはネットワークI/F117を介して外部の機器から入力されるスキャン実行指示に応じて、操作表示制御部104若しくは入出力制御部103が主制御部130にスキャン実行信号を転送する。主制御部130は、受信したスキャン実行信号に基づき、エンジン制御部101を制御する。   When the image processing apparatus 1 operates as a scanner, that is, an image reading apparatus, it operates according to a scanner application. Specifically, the operation display control unit 104 or the input / output control unit 103 controls the main control unit 130 according to a user's operation of the display panel 113 or a scan execution instruction input from an external device via the network I / F 117. The scan execution signal is transferred to. The main control unit 130 controls the engine control unit 101 based on the received scan execution signal.

エンジン制御部101は、ADF110を駆動し、ADF110にセットされた撮像対象原稿をスキャナユニット111に搬送する。また、エンジン制御部101は、スキャナユニット111を駆動し、ADF110から搬送される原稿を撮像する。また、ADF110に原稿がセットされておらず、スキャナユニット111に直接原稿がセットされた場合、スキャナユニット111は、エンジン制御部101の制御に従い、セットされた原稿を撮像する。即ち、スキャナユニット111が撮像部として動作する。   The engine control unit 101 drives the ADF 110 and conveys the document to be imaged set on the ADF 110 to the scanner unit 111. Further, the engine control unit 101 drives the scanner unit 111 and images a document conveyed from the ADF 110. If no original is set on the ADF 110 and the original is directly set on the scanner unit 111, the scanner unit 111 captures the set original under the control of the engine control unit 101. That is, the scanner unit 111 operates as an imaging unit.

撮像動作においては、スキャナユニット111に含まれるCCD等の撮像素子が原稿を光学的に走査し、光学情報に基づいた撮像情報が生成される。エンジン制御部101は、スキャナユニット111が生成した撮像情報を画像処理部102に転送する。画像処理部102は、主制御部130の制御に従い、エンジン制御部101から受信した撮像情報に基づき画像情報を生成する。   In the imaging operation, an imaging element such as a CCD included in the scanner unit 111 optically scans the document, and imaging information based on the optical information is generated. The engine control unit 101 transfers the imaging information generated by the scanner unit 111 to the image processing unit 102. The image processing unit 102 generates image information based on the imaging information received from the engine control unit 101 under the control of the main control unit 130.

画像処理部102が生成した画像情報はHDD40等の画像処理装置1に装着された記憶媒体に保存される。画像処理部102によって生成された画像情報は、ユーザの指示に応じてそのままHDD40等に格納され若しくはネットワークI/F117を介して、入出力制御部103により外部の装置に送信される。   Image information generated by the image processing unit 102 is stored in a storage medium attached to the image processing apparatus 1 such as the HDD 40. The image information generated by the image processing unit 102 is stored in the HDD 40 or the like as it is according to a user instruction, or is transmitted to an external device by the input / output control unit 103 via the network I / F 117.

また、画像処理装置1が複写機として動作する場合は、コピーアプリケーションに従って動作する。具体的には、エンジン制御部101がスキャナユニット111から受信した撮像情報若しくは画像処理部102が生成した画像情報に基づき、画像処理部102が描画情報を生成する。その描画情報に基づいてプリンタ動作の場合と同様に、エンジン制御部101がプリントエンジン115を駆動する。   Further, when the image processing apparatus 1 operates as a copying machine, it operates according to a copy application. Specifically, the image processing unit 102 generates drawing information based on imaging information received by the engine control unit 101 from the scanner unit 111 or image information generated by the image processing unit 102. Based on the drawing information, the engine control unit 101 drives the print engine 115 as in the case of the printer operation.

上述したように、本実施形態に係る画像処理装置1は、コントローラ100に含まれる各構成部やスキャナユニット111及びプリントエンジン115等の各種エンジンにより各種の処理を実行する。以降、各種の処理を実行する構成部やエンジンそれぞれを「処理部」とする場合がある。なお、図2に示した処理部は例示であり、画像処理装置1において各種処理を実行する他の構成部やエンジンが処理部として機能してもよい。   As described above, the image processing apparatus 1 according to the present embodiment executes various processes by various components included in the controller 100 and various engines such as the scanner unit 111 and the print engine 115. Hereinafter, each component or engine that executes various processes may be referred to as a “processor”. The processing unit illustrated in FIG. 2 is merely an example, and other components or engines that execute various processes in the image processing apparatus 1 may function as the processing unit.

次に、本実施形態の要旨に係る主制御部130の動作の概要を説明する。図3は、本実施形態の要旨に係る主制御部130の動作の概要を例示するフローチャートである。図3に示すように、主制御部130は、いずれかの処理部の処理において障害が発生したことを検知する(S301)。   Next, an outline of the operation of the main control unit 130 according to the gist of the present embodiment will be described. FIG. 3 is a flowchart illustrating an outline of the operation of the main control unit 130 according to the gist of the present embodiment. As shown in FIG. 3, the main control unit 130 detects that a failure has occurred in the processing of any of the processing units (S301).

障害が発生したことを検知した主制御部130は、障害により処理部が異常終了したか否かを判定する(S302)。障害により処理部が異常終了している場合(S302/YES)、主制御部130は、異常終了した処理部以外の処理部に対して動作を抑制する処理を要求する(S303)。動作を抑制する処理は、障害の発生による画像処理装置1の再起動のために実行されるものであり、仕掛中の処理がある場合、安全に再起動できる状態になるまで仕掛中の処理を実行した後、その後の動作を抑制するものである。   The main control unit 130 that has detected that a failure has occurred determines whether or not the processing unit has ended abnormally due to the failure (S302). When the processing unit is abnormally terminated due to a failure (S302 / YES), the main control unit 130 requests a processing unit other than the abnormally terminated processing unit to suppress the operation (S303). The process for suppressing the operation is executed for restarting the image processing apparatus 1 due to the occurrence of a failure. When there is a process in progress, the process in progress is performed until it can be safely restarted. After the execution, the subsequent operation is suppressed.

例えば、印刷中の用紙が画像処理装置1内に残っている状態で画像処理装置1が再起動すると、用紙のジャムが発生し、装置にダメージを与える場合がある。そのため、再起動のための準備として、動作を抑制する処理により、例えば用紙を搬送する処理部である搬送部がすべての用紙を排出し、その後新たな用紙が装置内に搬送されないよう動作を抑制する。以降、動作を抑制する処理の要求を「動作抑制要求」とし、動作を抑制する処理を「動作抑制処理」とする。   For example, if the image processing apparatus 1 is restarted while the paper being printed remains in the image processing apparatus 1, a paper jam may occur and the apparatus may be damaged. For this reason, as a preparation for restarting, by suppressing the operation, for example, the transport unit, which is a processing unit that transports the paper, discharges all the paper and then suppresses the operation so that no new paper is transported into the device. To do. Hereinafter, the process request for suppressing the operation is referred to as an “operation suppression request”, and the process for suppressing the operation is referred to as an “operation suppression process”.

一方、障害により処理部が異常終了していない場合(S302/NO)、主制御部130は、すべての処理部に対して動作抑制要求を送信する(S304)。対象の処理部に対して動作抑制要求を送信した主制御部130は、動作抑制要求が送信されたすべての処理部から動作抑制処理が完了した旨の応答を受信したか否かを判定する(S305)。動作抑制要求が送信されたすべての処理部から応答を受信した場合(S305/YES)、主制御部130は、画像処理装置1の再起動を実行する(S306)。   On the other hand, when the processing unit has not ended abnormally due to a failure (S302 / NO), the main control unit 130 transmits an operation suppression request to all the processing units (S304). The main control unit 130 that has transmitted the operation suppression request to the target processing unit determines whether a response indicating that the operation suppression process has been completed is received from all the processing units to which the operation suppression request has been transmitted ( S305). When the responses are received from all the processing units to which the operation suppression request is transmitted (S305 / YES), the main control unit 130 restarts the image processing apparatus 1 (S306).

一方、動作抑制要求が送信されたすべての処理部から応答を受信していない場合(S305/NO)、主制御部130は、予め定められた時間(応答待ち時間)を経過(タイムアウト)したか否かを判定する(S307)。タイムアウトした場合(S307/YES)、主制御部130は、画像処理装置1の再起動を実行する(S306)。一方、タイムアウトしていない場合(S307/NO)、主制御部130は、S305の処理に戻り、対象の処理部からの応答を待つ。   On the other hand, if no response has been received from all the processing units to which the operation suppression request has been transmitted (S305 / NO), has the main control unit 130 elapsed (timed out) a predetermined time (response waiting time)? It is determined whether or not (S307). When the timeout has occurred (S307 / YES), the main control unit 130 executes the restart of the image processing apparatus 1 (S306). On the other hand, when the timeout has not occurred (S307 / NO), the main control unit 130 returns to the process of S305 and waits for a response from the target processing unit.

次に、本実施形態に係る画像処理装置1の全体動作の概要を説明する。図4は、本実施形態に係る画像処理装置1の全体動作の概要を例示するシーケンス図である。図4に示した説明においては、コピー機能としての機能実現部105のソフトウェアのエラーにより機能実現部105が異常終了、すなわち応答不能となる障害が発生した場合を例とする。また、図4に示した説明においては、図2に示したコントローラ100に含まれる構成部のうち機能実現部105及び主制御部130以外の構成部をまとめて構成部106と記載する。   Next, an overview of the overall operation of the image processing apparatus 1 according to the present embodiment will be described. FIG. 4 is a sequence diagram illustrating an overview of the overall operation of the image processing apparatus 1 according to this embodiment. In the description shown in FIG. 4, an example is given in which a failure that causes the function realization unit 105 to abnormally terminate, that is, cannot respond, occurs due to a software error of the function realization unit 105 as a copy function. In the description shown in FIG. 4, components other than the function realizing unit 105 and the main controller 130 among the components included in the controller 100 shown in FIG.

図4に示すように、機能実現部105は、実行中にソフトウェアのエラーによる障害が発生すると(S401)、主制御部130に対して障害信号を送信する(S402)。障害信号は、異常終了であるか否かを判定するための情報を含む。詳細については後述する。障害信号を送信した機能実現部105は、異常終了により処理を終了する(S403)。   As shown in FIG. 4, when a failure due to a software error occurs during execution (S401), the function realizing unit 105 transmits a failure signal to the main control unit 130 (S402). The failure signal includes information for determining whether or not the termination is abnormal. Details will be described later. The function implementation unit 105 that has transmitted the failure signal ends the process due to abnormal termination (S403).

また、主制御部130は、機能実現部105から障害信号を受信することにより、画像処理装置1の障害を検知し(S404)、受信した障害信号に基づいて、障害が発生した機能実現部105が異常終了しているか否かを判定する(S405)。異常終了判定の処理の詳細は後述する。機能実現部105が異常終了していると判定した主制御部130は、機能実現部105以外の処理部、すなわち構成部106、スキャナユニット111及びプリントエンジン115に対して動作抑制要求を送信する(S406)。   Further, the main control unit 130 detects a failure of the image processing apparatus 1 by receiving a failure signal from the function realizing unit 105 (S404), and based on the received failure signal, the function realizing unit 105 in which the failure has occurred. Is determined to be abnormally terminated (S405). Details of the abnormal termination determination process will be described later. The main control unit 130 that determines that the function realization unit 105 has ended abnormally transmits an operation suppression request to a processing unit other than the function realization unit 105, that is, the configuration unit 106, the scanner unit 111, and the print engine 115 ( S406).

主制御部130から動作抑制要求を受信した構成部106、スキャナユニット111及びプリントエンジン115は、それぞれ動作抑制処理を行う(S407、S408、S409)。動作抑制処理を行った構成部106、スキャナユニット111及びプリントエンジン115は、それぞれ動作抑制処理が完了すると、動作抑制要求に対する応答を送信する(S410、S411、S412)。   The configuration unit 106, the scanner unit 111, and the print engine 115 that have received the operation suppression request from the main control unit 130 perform an operation suppression process (S407, S408, S409). The configuration unit 106, the scanner unit 111, and the print engine 115 that have performed the operation suppression process transmit a response to the operation suppression request when the operation suppression process is completed (S410, S411, S412).

なお、図4に示した実施形態においては、構成部106、スキャナユニット111及びプリントエンジン115の順に応答を送信する場合を例として説明している。しかしながら、これは一例であり、各処理部が応答を送信する順序に依存はなく、動作抑制処理が完了したタイミングで各処理部が独立して応答を送信する。構成部106、スキャナユニット111及びプリントエンジン115からそれぞれ応答を受信した主制御部130は、画像処理装置1の再起動を実行する(S413)。   In the embodiment illustrated in FIG. 4, the case where the response is transmitted in the order of the configuration unit 106, the scanner unit 111, and the print engine 115 is described as an example. However, this is only an example, and there is no dependency on the order in which each processing unit transmits a response, and each processing unit transmits a response independently at the timing when the operation suppression processing is completed. The main control unit 130 that has received responses from the configuration unit 106, the scanner unit 111, and the print engine 115 executes the restart of the image processing apparatus 1 (S413).

次に、図4に示した画像処理装置1の全体動作とは別の全体動作の概要を説明する。図5は、本実施形態に係る画像処理装置1の別の全体動作の概要を例示するシーケンス図である。図5に示すように、機能実現部105は、図4に示したS401からS403の処理と同様の処理を行う(S501からS503)。   Next, an outline of an overall operation different from the overall operation of the image processing apparatus 1 shown in FIG. 4 will be described. FIG. 5 is a sequence diagram illustrating an outline of another overall operation of the image processing apparatus 1 according to this embodiment. As illustrated in FIG. 5, the function implementation unit 105 performs the same processing as the processing from S401 to S403 illustrated in FIG. 4 (S501 to S503).

また、主制御部130は、図4に示したS404からS406と同様の処理を行う(S504からS506)。また、構成部106、スキャナユニット111及びプリントエンジン115は、図4に示したS407からS409の処理と同様の処理を行う(S507からS509)。動作抑制処理を実行した構成部106及びスキャナユニット111は、主制御部130に対して動作抑制要求に対する応答を送信する(S510、S511)。   Further, the main control unit 130 performs the same processing as S404 to S406 shown in FIG. 4 (S504 to S506). Further, the configuration unit 106, the scanner unit 111, and the print engine 115 perform processing similar to the processing from S407 to S409 shown in FIG. 4 (S507 to S509). The configuration unit 106 and the scanner unit 111 that have executed the operation suppression process transmit a response to the operation suppression request to the main control unit 130 (S510, S511).

なお、図5に示した実施形態においては、構成部106及びスキャナユニット111の順に応答を送信する場合を例として説明している。しかしながら、これは一例であり、各処理部が応答を送信する順序に依存はなく、動作抑制処理が完了したタイミングで各処理部が独立して応答を送信する。   In the embodiment illustrated in FIG. 5, the case where responses are transmitted in the order of the configuration unit 106 and the scanner unit 111 is described as an example. However, this is only an example, and there is no dependency on the order in which each processing unit transmits a response, and each processing unit transmits a response independently at the timing when the operation suppression processing is completed.

そして、主制御部130は、プリントエンジン115からの応答を受信する前に、動作抑制要求を送信したタイミングから予め定められた時間が経過すると、タイムアウトする(S512)。タイムアウトすると、主制御部130は、プリントエンジンからの応答を受信することなく、強制的に画像処理装置1の再起動を実行する(S513)。   Then, before receiving a response from the print engine 115, the main control unit 130 times out when a predetermined time elapses from the timing at which the operation suppression request is transmitted (S512). When time-out occurs, the main control unit 130 forcibly restarts the image processing apparatus 1 without receiving a response from the print engine (S513).

次に、図3から図5に示した動作を実現するための本実施形態に係る主制御部130の機能構成の詳細を説明する。図6は、本実施形態に係る主制御部130の機能のうち、障害の発生による再起動処理に関する機能構成を例示するブロック図である。図6に示すように、主制御部130は、障害検知部131、動作制御部132、障害情報記憶部133、時間計測部134及び再起動実行部135を含む。   Next, details of the functional configuration of the main control unit 130 according to the present embodiment for realizing the operations shown in FIGS. 3 to 5 will be described. FIG. 6 is a block diagram illustrating a functional configuration related to a restart process due to the occurrence of a failure among the functions of the main control unit 130 according to the present embodiment. As illustrated in FIG. 6, the main control unit 130 includes a failure detection unit 131, an operation control unit 132, a failure information storage unit 133, a time measurement unit 134, and a restart execution unit 135.

障害検知部131は、処理部からの障害信号を受信することにより画像処理装置1において発生した障害の発生を検知し、受信した障害信号を動作制御部132に対して出力する。動作制御部132は、障害情報記憶部133に記憶されている障害情報を参照し、障害検知部131から入力された障害信号に基づいて、障害の種類を特定する。   The failure detection unit 131 detects a failure that has occurred in the image processing apparatus 1 by receiving a failure signal from the processing unit, and outputs the received failure signal to the operation control unit 132. The operation control unit 132 refers to the failure information stored in the failure information storage unit 133 and identifies the type of failure based on the failure signal input from the failure detection unit 131.

図7は、記憶媒体である障害情報記憶部133に格納されている障害情報を例示する図である。図7に示した障害情報には、障害の種類を識別する情報(以降、「識別情報」とする)のうち、処理部(プロセス)が異常終了する障害の識別情報の一覧が含まれる。例えば、図7に示した識別情報“SIGHUP”は、ハングアップによるプロセスの停止を意味し、“SIGQUIT”は、キーボード等から検出された強制的なプロセスの停止を意味し、“SIGILL”は、不正命令の発生を意味する。   FIG. 7 is a diagram illustrating failure information stored in the failure information storage unit 133 that is a storage medium. The failure information shown in FIG. 7 includes a list of identification information of failures in which the processing unit (process) abnormally ends among information for identifying the type of failure (hereinafter referred to as “identification information”). For example, the identification information “SIGHUP” shown in FIG. 7 means that the process is stopped due to a hang-up, “SIGQUIT” means that the process is forcibly stopped detected from a keyboard or the like, and “SIGILL” is Means the occurrence of an illegal instruction.

動作制御部132が受信する障害信号には識別情報が含まれ、動作制御部132は、受信した障害信号に含まれる識別信号が障害情報記憶部133に格納されている識別情報の一覧に含まれている場合、障害信号を送信した処理部が異常終了していると判定する。動作制御部132は、異常終了していると判定した処理部以外のすべての処理部に対して動作抑制要求を送信する。すなわち、動作制御部132は、異常終了している処理部以外のすべての処理部に対して再起動のための処理を要求する処理要求部として機能する。   The failure signal received by the operation control unit 132 includes identification information, and the operation control unit 132 includes the identification signal included in the received failure signal in the list of identification information stored in the failure information storage unit 133. If it is, it is determined that the processing unit that has transmitted the failure signal has ended abnormally. The operation control unit 132 transmits an operation suppression request to all the processing units other than the processing unit that has been determined to have ended abnormally. In other words, the operation control unit 132 functions as a processing request unit that requests processing for restarting all processing units other than the processing unit that has ended abnormally.

また、動作制御部132は、動作抑制要求を送信するとともに、時間計測部134に対して、動作抑制要求を開始してからの経過時間の計測開始を要求する。時間計測部134は、動作制御部132からの要求に応じて経過時間の計測を開始し、予め定められた時間(例えば、3分)経過した場合に、経過時間の計測を終了するとともに、動作制御部132に対してタイムアウトを通知する。   In addition, the operation control unit 132 transmits an operation suppression request, and requests the time measurement unit 134 to start measuring an elapsed time after starting the operation suppression request. The time measurement unit 134 starts measuring the elapsed time in response to a request from the operation control unit 132, and ends the measurement of the elapsed time when a predetermined time (for example, 3 minutes) has elapsed, A time-out is notified to the control unit 132.

また、動作制御部132は、動作抑制要求を送信した処理部のすべてから応答を受信する、又は時間計測部134からタイムアウト通知を受信すると、再起動実行部135に対して再起動の実行を要求する。再起動実行部135は、動作制御部132からの要求に応じて画像処理装置1の再起動を実行する。   In addition, when the operation control unit 132 receives a response from all of the processing units that transmitted the operation suppression request or receives a time-out notification from the time measurement unit 134, the operation control unit 132 requests the restart execution unit 135 to execute the restart. To do. The restart execution unit 135 executes restart of the image processing apparatus 1 in response to a request from the operation control unit 132.

なお、本実施形態においては、動作制御部132が時間計測部134からのタイムアウト通知を受信し、再起動実行部135に対して再起動の実行を要求する場合を例として説明した。その他、時間計測部134が再起動実行部135に対してタイムアウトを通知し、再起動実行部135がタイムアウト通知を受信すると再起動を実行してもよい。   In the present embodiment, the case where the operation control unit 132 receives a timeout notification from the time measurement unit 134 and requests the restart execution unit 135 to execute restart is described as an example. In addition, the time measurement unit 134 may notify the restart execution unit 135 of a timeout, and the restart execution unit 135 may execute the restart when receiving the timeout notification.

また、本実施形態においては、障害情報記憶部133に格納される障害情報は異常終了する障害の識別情報の一覧である場合を例として説明した。しかしながら、これは一例であり、障害情報記憶部133に格納される障害情報は、異常終了する障害の識別情報が把握できる態様であればよい。例えば、障害情報は、全種類の障害の識別情報の一覧であり、異常終了する障害とそれ以外の障害とを区別して障害情報記憶部133に格納されてもよい。また、例えば、各識別情報と障害の内容とが関連付けられた情報が障害情報として障害情報記憶部133に格納されてもよい。   In the present embodiment, the case where the failure information stored in the failure information storage unit 133 is a list of identification information of failures that are abnormally terminated has been described as an example. However, this is only an example, and the failure information stored in the failure information storage unit 133 may be an aspect in which identification information of a failure that ends abnormally can be grasped. For example, the failure information is a list of identification information of all types of failures, and may be stored in the failure information storage unit 133 by distinguishing failures that end abnormally from other failures. For example, information in which each piece of identification information is associated with the content of the failure may be stored in the failure information storage unit 133 as failure information.

次に、図6に示した主制御部130に含まれる各部による動作の流れを説明する。図8は、主制御部130に含まれる各部による動作を例示するシーケンス図である。図8に示すように、障害検知部131は、障害を検知すると(S801)、処理部から受信した障害信号を動作制御部132に対して送信する(S802)。   Next, the flow of operation by each unit included in the main control unit 130 shown in FIG. 6 will be described. FIG. 8 is a sequence diagram illustrating the operation of each unit included in the main control unit 130. As shown in FIG. 8, when detecting a failure (S801), the failure detection unit 131 transmits a failure signal received from the processing unit to the operation control unit 132 (S802).

障害検知部131から障害信号が送信された動作制御部132は、障害情報記憶部133に格納されている障害情報を参照する(S803)。障害情報を参照した動作制御部132は、参照した障害情報と受信した障害信号に基づいて障害信号を送信した処理部が異常終了しているか否かを判定する(S804)。   The operation control unit 132 to which the failure signal is transmitted from the failure detection unit 131 refers to the failure information stored in the failure information storage unit 133 (S803). The operation control unit 132 that refers to the failure information determines whether or not the processing unit that has transmitted the failure signal is abnormally terminated based on the referenced failure information and the received failure signal (S804).

異常終了しているか否かを判定した動作制御部132は、時間計測部134に対して経過時間の計測開始要求、すなわちタイムアウトの監視要求を送信する(S805)。動作制御部132からタイムアウトの監視要求が送信された時間計測部134は、経過時間の計測、すなわちタイムアウトの監視を開始する(S806)。   The operation control unit 132 that has determined whether or not it has terminated abnormally transmits an elapsed time measurement start request, that is, a timeout monitoring request, to the time measurement unit 134 (S805). The time measuring unit 134 to which the timeout monitoring request is transmitted from the operation control unit 132 starts measuring elapsed time, that is, monitoring timeout (S806).

また、動作制御部132は、異常終了判定の結果に応じて、異常終了したと判定された処理部以外のすべての処理部に対して動作抑制要求を送信する(S807)。なお、図8に示した実施形態においては、動作制御部132は、タイムアウトの監視要求を送信した(S805)後に、動作抑制要求を送信する(S807)場合を例として説明している。しかしながら、S805の処理の後にS807の処理を行うことが必須ではなく、動作抑制要求に対する応答の待ち時間がカウントできればよい。例えば、S805及びS807の処理が同じタイミングで行われてもよいし、S807の処理の後にS805の処理が行われてもよい。   Further, the operation control unit 132 transmits an operation suppression request to all the processing units other than the processing unit determined to have ended abnormally according to the result of the abnormal end determination (S807). In the embodiment illustrated in FIG. 8, the operation control unit 132 is described as an example in which the operation control request is transmitted (S807) after transmitting the timeout monitoring request (S805). However, it is not essential to perform the process of S807 after the process of S805, and it is only necessary to be able to count the waiting time for a response to the operation suppression request. For example, the processes of S805 and S807 may be performed at the same timing, or the process of S805 may be performed after the process of S807.

動作抑制要求を送信した動作制御部132は、動作抑制要求を送信したすべての処理部から動作抑制に対する応答を受信する(S808)。すべての処理部から応答を受信した動作制御部132は、再起動実行部135に対して再起動の要求を送信する(S809)。動作制御部132から再起動の要求が送信された再起動実行部135は、画像処理装置1の再起動を実行する(S810)。なお、画像処理装置1が再起動することにより、時間計測部134によるタイムアウトの監視も終了する。   The operation control unit 132 that has transmitted the operation suppression request receives a response to the operation suppression from all the processing units that have transmitted the operation suppression request (S808). The operation control unit 132 that has received responses from all the processing units transmits a restart request to the restart execution unit 135 (S809). The restart execution unit 135 to which the restart request is transmitted from the operation control unit 132 executes restart of the image processing apparatus 1 (S810). When the image processing apparatus 1 is restarted, the time-out monitoring by the time measuring unit 134 is also terminated.

次に、動作制御要求を受信したすべての処理部から動作抑制に対する応答を受信する前にタイムアウトとなった場合の主制御部130に含まれる各部による動作の流れを説明する。図9は、主制御部130に含まれる各部による別の動作を例示するシーケンス図である。図9に示すように、S901からS907においては、図8に示したS801からS807の処理と同様の処理が行われる。   Next, the flow of operation by each unit included in the main control unit 130 when a timeout occurs before receiving a response to the operation suppression from all the processing units that have received the operation control request will be described. FIG. 9 is a sequence diagram illustrating another operation by each unit included in the main control unit 130. As shown in FIG. 9, in S901 to S907, processing similar to the processing in S801 to S807 shown in FIG. 8 is performed.

図9に示した場合においては、動作制御部132が動作抑制要求を対象の処理部に対して送信した後、動作抑制要求を送信した処理部からの応答がすべては受信されないうちに予め定められた時間が経過する。予め定められた時間が経過すると、時間計測部134は、動作制御部132に対してタイムアウトを通知する(S908)。   In the case illustrated in FIG. 9, after the operation control unit 132 transmits the operation suppression request to the target processing unit, the response from the processing unit that transmitted the operation suppression request is not received in advance, but is determined in advance. Time has passed. When a predetermined time elapses, the time measuring unit 134 notifies the operation control unit 132 of a timeout (S908).

時間計測部134からタイムアウト通知を受信した動作制御部132は、再起動実行部135に対して再起動の要求を送信する(S909)。動作制御部132から再起動の要求が送信された再起動実行部135は、画像処理装置1の再起動を実行する(S910)。   The operation control unit 132 that has received the timeout notification from the time measurement unit 134 transmits a restart request to the restart execution unit 135 (S909). The restart execution unit 135 to which the restart request is transmitted from the operation control unit 132 executes restart of the image processing apparatus 1 (S910).

以上説明したように、本実施形態に係る画像処理装置1は、障害の発生を検知すると、検知した障害により異常終了して応答不能になった処理部以外の処理部に対して動作抑制処理を要求する。そして、画像処理装置1は、動作抑制処理を要求したすべての処理部からの応答を受信すると、再起動を実行する。これにより、検知した障害により異常終了した処理部に対しては動作抑制処理が要求されることがないので、異常終了した処理部から応答が得られないことにより、タイムアウトするまで装置を再起動することができない状態を回避することができる。したがって、本実施形態によれば、装置を構成するユニットや処理プログラムに装置の再起動を要する障害が発生した際に、再起動を実行するまでの不要な待ち時間を削減することが可能になる。   As described above, when the image processing apparatus 1 according to the present embodiment detects the occurrence of a failure, the image processing device 1 performs an operation suppression process on processing units other than the processing unit that has ended abnormally due to the detected failure and has become unresponsive. Request. When the image processing apparatus 1 receives responses from all the processing units that have requested the operation suppression process, the image processing apparatus 1 executes the restart. As a result, since the operation suppression process is not requested for the processing unit abnormally terminated due to the detected failure, the apparatus is restarted until a time-out occurs because no response is obtained from the abnormally terminated processing unit. It is possible to avoid a situation where it is impossible. Therefore, according to the present embodiment, it is possible to reduce unnecessary waiting time until the restart is executed when a failure requiring restart of the device occurs in the units or processing programs constituting the device. .

なお、上記実施形態に係る画像処理装置1は、検知した障害により応答不能になった処理部以外の処理部に対して動作抑制処理を要求する場合を例として説明した。しかしながら、本実施形態に係る画像処理装置1は、動作抑制処理を要求したすべての処理部のうち、応答不能となった処理部以外の処理部からの応答を受信すると、再起動を実行する態様であれば、他の構成であってもよい。   Note that the image processing apparatus 1 according to the above-described embodiment has been described as an example in which an operation suppression process is requested to a processing unit other than the processing unit that has become unresponsive due to a detected failure. However, the image processing apparatus 1 according to the present embodiment performs restart when receiving a response from a processing unit other than the processing unit that has become unresponsive among all the processing units that have requested the operation suppression processing. Any other configuration may be used.

例えば、本実施形態に係る動作制御部132は、障害検知部131により障害の発生が検知されると、応答不能となった処理部を含む各処理部に対して動作抑制処理を要求する。そして、本実施形態に係る再起動実行部135は、動作抑制処理を要求したすべての処理部のうち、障害検知部131により検知された障害により応答不能になった処理部以外の処理部からの応答を受信すると、再起動を実行するようにしてもよい。   For example, when the failure detection unit 131 detects the occurrence of a failure, the operation control unit 132 according to the present embodiment requests an operation suppression process from each processing unit including the processing unit that has become unresponsive. Then, the restart execution unit 135 according to the present embodiment, from all the processing units that have requested the operation suppression processing, from processing units other than the processing unit that has become unresponsive due to the failure detected by the failure detection unit 131. When the response is received, the restart may be executed.

また、上記実施形態において、動作制御部132は、1つの処理部からの障害信号を受信すると、その処理部の異常終了判定を開始する場合を例として説明した。その他、動作制御部132は、1つの処理部からの障害信号を受信すると、すぐに異常終了判定を開始せず、予め定められた期間について待機するようにしてもよい。   Moreover, in the said embodiment, when the operation control part 132 received the failure signal from one process part, it demonstrated as an example the case where the abnormal end determination of the process part is started. In addition, when the operation control unit 132 receives a failure signal from one processing unit, the operation control unit 132 may wait for a predetermined period without immediately starting the abnormal end determination.

図10は、障害信号を受信した際に予め定められた期間について待機する場合の主制御部130に含まれる各部による動作の流れを例示するシーケンス図である。図10に示すように、障害検知部131は、1つの処理部(以降、「処理部A」とする)から障害(以降、「障害A」とする)を検知すると(S1001)、処理部Aから受信した障害信号(以降、「障害A信号」とする)を動作制御部132に対して送信する(S1002)。   FIG. 10 is a sequence diagram illustrating the flow of operation by each unit included in the main control unit 130 when waiting for a predetermined period when a failure signal is received. As illustrated in FIG. 10, when the failure detection unit 131 detects a failure (hereinafter referred to as “failure A”) from one processing unit (hereinafter referred to as “processing unit A”) (S1001), the processing unit A The failure signal received from (hereinafter referred to as “failure A signal”) is transmitted to the operation control unit 132 (S1002).

障害検知部131から障害A信号が送信された動作制御部132は、時間計測部134に対して待ち時間の計測要求を送信する(S1003)。動作制御部132から待ち時間の計測要求が送信された時間計測部134は、予め定められた待ち時間(例えば、10秒)の計測を開始する(S1004)。   The operation control unit 132 to which the failure A signal is transmitted from the failure detection unit 131 transmits a waiting time measurement request to the time measurement unit 134 (S1003). The time measuring unit 134 to which the waiting time measurement request is transmitted from the operation control unit 132 starts measuring a predetermined waiting time (for example, 10 seconds) (S1004).

時間計測部134が待ち時間を計測している間に、処理部Aとは別の処理部(以降、「処理部B」とする)から障害A以外の他の障害(以降、「障害B」とする)を検知すると(S1005)、処理部Bから受信した障害信号(以降、「障害B信号」とする)を動作制御部132に対して出力する(S1006)。   While the time measurement unit 134 is measuring the waiting time, a failure other than the failure A (hereinafter, “failure B”) from a processing unit (hereinafter referred to as “processing unit B”) different from the processing unit A. (S1005), the failure signal received from the processing unit B (hereinafter referred to as "failure B signal") is output to the operation control unit 132 (S1006).

一方、予め定められた待ち時間が経過すると、時間計測部134は、動作制御部132に対して、待ち時間が経過した旨を通知する(S1007)。時間計測部134から待ち時間が経過した旨が通知された動作制御部132は、障害情報記憶部133に格納されている障害情報を参照する(S1008)。障害情報を参照した動作制御部132は、参照した障害情報と受信した障害A信号に基づいて障害A信号を送信した処理部Aが異常終了しているか否かを判定する(S1009)。   On the other hand, when a predetermined waiting time elapses, the time measuring unit 134 notifies the operation control unit 132 that the waiting time has elapsed (S1007). The operation control unit 132 that is notified that the waiting time has elapsed from the time measurement unit 134 refers to the failure information stored in the failure information storage unit 133 (S1008). The operation control unit 132 that refers to the failure information determines whether or not the processing unit A that has transmitted the failure A signal is abnormally terminated based on the referenced failure information and the received failure A signal (S1009).

さらに、動作制御部132は、参照した障害情報と受信した障害B信号に基づいて障害B信号を送信した処理部Bが異常終了しているか否かを判定する(S1010)。以降、主制御部130に含まれる各部は、図8に示したS805以降の処理又は図9に示したS905以降の処理を行う。なお、S1009の処理とS1010の処理との前後関係に制約はないため、逆の順序で実行されても良いし並列して実行されてもよい。   Furthermore, the operation control unit 132 determines whether or not the processing unit B that has transmitted the failure B signal has ended abnormally based on the referenced failure information and the received failure B signal (S1010). Thereafter, each unit included in the main control unit 130 performs the processing after S805 shown in FIG. 8 or the processing after S905 shown in FIG. In addition, since there is no restriction | limiting in the context of the process of S1009 and the process of S1010, you may perform in reverse order and may be performed in parallel.

1つの処理部で障害が発生した場合、その障害の影響により他の処理部においても障害が発生する可能性がある。このような構成によれば、動作制御部132は、障害が発生した複数の処理部に対する異常終了判定の結果に基づいて動作制御処理を要求することができるので、不要な待ち時間をさらに削減することが可能になる。なお、本実施形態においては、1つの処理部で1つの障害が発生している場合を例として説明したが、本実施形態は、1つの処理部で複数の障害が発生している場合においても同様に適用可能である。   When a failure occurs in one processing unit, a failure may occur in another processing unit due to the influence of the failure. According to such a configuration, the operation control unit 132 can request the operation control process based on the result of the abnormal end determination for the plurality of processing units in which the failure has occurred, and thus further reduce unnecessary waiting time. It becomes possible. In this embodiment, the case where one failure occurs in one processing unit has been described as an example. However, in the present embodiment, even when a plurality of failures occur in one processing unit. The same applies.

また、複数の障害を検知する実施形態においても、動作制御部132は、障害検知部131により障害の発生が検知されると、応答不能となった処理部を含む各処理部に対して動作抑制処理を要求する構成であってもよい。そして、この場合、再起動実行部135は、動作抑制処理を要求したすべての処理部のうち、障害検知部131により検知された複数の障害によりそれぞれ応答不能になった処理部以外の処理部からの応答を受信すると、再起動を実行する。   In the embodiment in which a plurality of failures are detected, the operation control unit 132 also suppresses the operation of each processing unit including the processing unit that has become unresponsive when the failure detection unit 131 detects the occurrence of a failure. The structure which requests | requires a process may be sufficient. Then, in this case, the restart execution unit 135 is configured by processing units other than the processing units that have become unresponsive due to a plurality of failures detected by the failure detection unit 131 among all the processing units that have requested the operation suppression processing. When a response is received, restart is executed.

1 画像処理装置
10 CPU
20 RAM
30 ROM
40 HDD
50 I/F
60 LCD
70 操作部
80 バス
100 コントローラ
101 エンジン制御部
102 画像処理部
103 入出力制御部
104 操作表示制御部
105 機能実現部
106 構成部
110 ADF
111 スキャナユニット
112 排紙トレイ
113 ディスプレイパネル
114 給紙テーブル
115 プリントエンジン
116 排紙トレイ
117 ネットワークI/F
130 主制御部
131 障害検知部
132 動作制御部
133 障害情報記憶部
134 時間計測部
135 再起動実行部
1 Image processing apparatus 10 CPU
20 RAM
30 ROM
40 HDD
50 I / F
60 LCD
70 Operation Unit 80 Bus 100 Controller 101 Engine Control Unit 102 Image Processing Unit 103 Input / Output Control Unit 104 Operation Display Control Unit 105 Function Realization Unit 106 Configuration Unit 110 ADF
111 Scanner Unit 112 Paper Discharge Tray 113 Display Panel 114 Paper Feed Table 115 Print Engine 116 Paper Discharge Tray 117 Network I / F
130 main control unit 131 failure detection unit 132 operation control unit 133 failure information storage unit 134 time measurement unit 135 restart execution unit

特開2005−219247号公報JP 2005-219247 A

Claims (7)

複数の処理部により各種の処理を実行する画像処理装置であって、
前記画像処理装置において障害が発生したことを検知する障害検知部と、
前記障害が検知された際に、前記複数の処理部に対して前記画像処理装置の再起動のための処理を要求する処理要求部と、
前記処理が要求されたすべての前記処理部のうち、検知された前記障害により応答不能となった処理部以外の前記処理部から前記要求に対する応答を受信すると、前記画像処理装置の再起動を実行する再起動実行部と
を含むことを特徴とする画像処理装置。
An image processing apparatus that executes various processes by a plurality of processing units,
A fault detection unit that detects that a fault has occurred in the image processing apparatus;
A processing request unit that requests processing for restarting the image processing apparatus to the plurality of processing units when the failure is detected;
When a response to the request is received from the processing unit other than the processing unit that has become unable to respond due to the detected failure among all the processing units for which the processing has been requested, the image processing apparatus is restarted An image processing apparatus comprising: a restart executing unit.
前記処理要求部は、検知された前記障害により応答不能となった処理部以外の前記処理部に対して前記再起動のための処理を要求する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing according to claim 1, wherein the processing request unit requests the processing unit other than the processing unit that has become unresponsive due to the detected failure to perform the process for the restart. apparatus.
前記再起動実行部は、前記再起動のための処理が要求されてから予め定められた時間が経過した場合に、前記画像処理装置の再起動を実行する
ことを特徴とする請求項1又は2に記載の画像処理装置。
The restart execution unit executes restart of the image processing apparatus when a predetermined time has elapsed since the restart processing was requested. An image processing apparatus according to 1.
前記障害検知部は、前記処理部から送信される障害の発生を示す障害信号に基づいて前記障害が発生したことを検知し、
前記障害信号は、前記処理部が応答不能となる前記障害の種類を識別する情報を含む
ことを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。
The failure detection unit detects that the failure has occurred based on a failure signal indicating the occurrence of a failure transmitted from the processing unit,
The image processing apparatus according to claim 1, wherein the failure signal includes information for identifying a type of the failure for which the processing unit cannot respond.
前記障害検知部は、前記障害を検知してから予め定められた期間に検知した前記障害以外の他の障害が発生した場合に、前記他の障害をさらに検知し、
前記処理要求部は、検知された複数の前記障害によりそれぞれ応答不能となった処理部以外の前記処理部に対して前記再起動のための処理を要求する
ことを特徴とする請求項1〜4のいずれか1項に記載の画像処理装置。
The failure detection unit further detects the other failure when a failure other than the failure detected in a predetermined period after the failure is detected,
The said process request part requests | requires the process for the said restart with respect to the said process parts other than the process part which became unable to respond respectively by the detected several said faults. The image processing apparatus according to any one of the above.
複数の処理部により各種の処理を実行する画像処理装置の制御方法であって、
前記画像処理装置において障害が発生したことを検知するステップと、
前記障害が検知された際に、前記複数の処理部に対して前記画像処理装置の再起動のための処理を要求するステップと、
前記処理が要求されたすべての前記処理部のうち、検知された前記障害により応答不能となった処理部以外の前記処理部から前記要求に対する応答を受信すると、前記画像処理装置の再起動を実行するステップと
を含むことを特徴とする画像処理装置の制御方法。
A control method of an image processing apparatus that executes various processes by a plurality of processing units,
Detecting that a failure has occurred in the image processing apparatus;
Requesting the plurality of processing units to restart the image processing apparatus when the failure is detected;
When a response to the request is received from the processing unit other than the processing unit that has become unable to respond due to the detected failure among all the processing units for which the processing has been requested, the image processing apparatus is restarted And a step of controlling the image processing apparatus.
複数の処理部により各種の処理を実行する画像処理装置の制御プログラムであって、
前記画像処理装置において障害が発生したことを検知するステップと、
前記障害が検知された際に、前記複数の処理部に対して前記画像処理装置の再起動のための処理を要求するステップと、
前記処理が要求されたすべての前記処理部のうち、検知された前記障害により応答不能となった処理部以外の前記処理部から前記要求に対する応答を受信すると、前記画像処理装置の再起動を実行するステップと
を前記画像処理装置に実行させることを特徴とする画像処理装置の制御プログラム。
A control program for an image processing apparatus that executes various processes by a plurality of processing units,
Detecting that a failure has occurred in the image processing apparatus;
Requesting the plurality of processing units to restart the image processing apparatus when the failure is detected;
When a response to the request is received from the processing unit other than the processing unit that has become unable to respond due to the detected failure among all the processing units for which the processing has been requested, the image processing apparatus is restarted And a step of causing the image processing apparatus to execute the step of:
JP2014257561A 2014-12-19 2014-12-19 Image processor, method for controlling image processor, and control program of image processor Pending JP2016117195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014257561A JP2016117195A (en) 2014-12-19 2014-12-19 Image processor, method for controlling image processor, and control program of image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014257561A JP2016117195A (en) 2014-12-19 2014-12-19 Image processor, method for controlling image processor, and control program of image processor

Publications (1)

Publication Number Publication Date
JP2016117195A true JP2016117195A (en) 2016-06-30

Family

ID=56242687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014257561A Pending JP2016117195A (en) 2014-12-19 2014-12-19 Image processor, method for controlling image processor, and control program of image processor

Country Status (1)

Country Link
JP (1) JP2016117195A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020077116A (en) * 2018-11-06 2020-05-21 株式会社リコー Information processing apparatus, information processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020077116A (en) * 2018-11-06 2020-05-21 株式会社リコー Information processing apparatus, information processing method, and program
JP7196544B2 (en) 2018-11-06 2022-12-27 株式会社リコー Information processing device, information processing method and program

Similar Documents

Publication Publication Date Title
JP5732865B2 (en) Image forming system, print data management apparatus, control method for print data management apparatus, control program for print data management apparatus, and recording medium
US9373068B2 (en) Printing apparatus, method and non-transitory computer-readable medium for receiving print jobs including a command to process subsequent print job
US9898233B2 (en) Image forming apparatus that cancels job upon occurrence of error, and control method therefor
US20170208186A1 (en) Information processing apparatus performing process based on execution data, control method therefor, storage medium storing control program therefor, process execution apparatus, control method therefor, and storage medium storing control program therefor
JP2013055605A (en) Job history management device, image forming apparatus, job history management method, and job history management program
JP6459435B2 (en) Printing apparatus, printing system, printing method, and printing program
US9917964B2 (en) Information processing apparatus, information system, information processing method, and storage medium
US20140362393A1 (en) Image forming apparatus, image forming apparatus control method, and recording medium storing image forming apparatus control program
JP5939024B2 (en) Image processing device
JP2016117195A (en) Image processor, method for controlling image processor, and control program of image processor
JP2017076941A (en) Job processor, administration server and program
US9542128B2 (en) Preview image of output data from an output device with user input
JP6648573B2 (en) Image forming apparatus, program
JP7192655B2 (en) Information processing device, information processing system, program, and information processing method
US9400709B2 (en) Information processing apparatus, and method for restarting input/output control portion
JP6160535B2 (en) Information processing apparatus program, image processing apparatus, and communication system
JP2017019162A (en) Job execution device, error notification method, and error notification program
US9924059B2 (en) Apparatus having power-saving function, method of processing information, and computer program product
JP6497355B2 (en) Image forming apparatus and image forming apparatus control method
JP7435061B2 (en) Information processing system, information processing device, equipment and information processing method
US20240106952A1 (en) Information processing apparatus, non-transitory computer readable medium, and method
JP7404932B2 (en) Information processing device and program
JP7400534B2 (en) Information processing device, information processing method and program
JP2017091143A (en) Output management system and output management device
JP2018140543A (en) Image forming system and image forming device