JP2014045405A - Image processing apparatus, control method of image processing apparatus, and program - Google Patents
Image processing apparatus, control method of image processing apparatus, and program Download PDFInfo
- Publication number
- JP2014045405A JP2014045405A JP2012187391A JP2012187391A JP2014045405A JP 2014045405 A JP2014045405 A JP 2014045405A JP 2012187391 A JP2012187391 A JP 2012187391A JP 2012187391 A JP2012187391 A JP 2012187391A JP 2014045405 A JP2014045405 A JP 2014045405A
- Authority
- JP
- Japan
- Prior art keywords
- job
- management information
- image processing
- processing apparatus
- backup
- 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
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Record Information Processing For Printing (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Memory System (AREA)
Abstract
Description
本発明は、ジョブ処理に伴う管理情報をキャッシュするメモリを備える画像処理装置、画像処理装置の制御方法、及びプログラムに関するものである。 The present invention relates to an image processing apparatus including a memory that caches management information associated with job processing, a control method for the image processing apparatus, and a program.
従来、MFP(Multi Function Printer)などの画像処理システムには、画像処理に伴う課金情報やデータ送信のための宛先情報などのバックアップが必要なデータに関して、バックアップ用メモリデバイスとしてSRAMとバッテリーを使用したバックアップ回路が用意されている。
一方、最近のMFPでは制御用プログラムや画像データの記憶手段として大容量のFLASHメモリが使われるようになってきている。
また、特許文献1によれば、FLASHメモリにシステム制御用のプログラムを記憶させ、SRAMに操作パネルの設定を記憶させることにより、MFPの機能を実現している。
Conventionally, an image processing system such as an MFP (Multi Function Printer) uses an SRAM and a battery as a backup memory device for data that needs to be backed up, such as billing information for image processing and destination information for data transmission. A backup circuit is provided.
On the other hand, in recent MFPs, a large-capacity FLASH memory has been used as a storage means for control programs and image data.
Further, according to Patent Document 1, the function of the MFP is realized by storing a system control program in a FLASH memory and storing operation panel settings in an SRAM.
しかしながら、先行技術によれば複数のメモリデバイスで様々なデータを記憶することになり、システムが煩雑・かつコストアップ要因となっている。
そこで、従来SRAMに保持していたデータをFLASHメモリに移してデバイスを統合した新しいコントローラの構成が考えられる。
However, according to the prior art, various data are stored in a plurality of memory devices, which makes the system cumbersome and increases costs.
Therefore, a new controller configuration in which the data held in the conventional SRAM is transferred to the FLASH memory and the devices are integrated can be considered.
一方で、SATA−FLASHとSRAMではアクセスサイズやアクセス方法が違うため、従来のSRAMデバイスI/Fを用いたソフトによるデータアクセスではパフォーマンスダウンすることが考えられる。
また、MFPの画像処理内容によってSRAMに保持していた情報の種類・情報量も異なる。
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、ジョブ処理に伴う管理情報を記憶させるメモリを不揮発性のメモリに代替しても、ジョブ処理のパフォーマンスを低下させることなくジョブ処理を効率よく実行できる仕組みを提供することである。
On the other hand, since the access size and the access method are different between the SATA-FLASH and the SRAM, it is conceivable that the performance is lowered in the data access by the software using the conventional SRAM device interface.
Also, the type and amount of information held in the SRAM vary depending on the image processing contents of the MFP.
The present invention has been made to solve the above problems, and the object of the present invention is to reduce the performance of job processing even if the memory for storing management information associated with job processing is replaced with a nonvolatile memory. It is to provide a mechanism that allows job processing to be executed efficiently without causing it to occur.
上記目的を達成する本発明の画像処理装置は以下に示す構成を備える。
ジョブ処理の要求に伴うプロセスをスケジュールして実行する画像処理装置であって、前記ジョブ処理で管理すべき管理情報のバックアップを要求するプロセスを検出する検出手段と、前記データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする制御手段と、前記スケジュールに従ってメモリアクセスが異なる不揮発性のメモリに管理情報をキャッシュするキャッシュ手段と、を備えることを特徴とする。
The image processing apparatus of the present invention that achieves the above object has the following configuration.
An image processing apparatus that schedules and executes a process associated with a job processing request, the detecting means for detecting a process that requests a backup of management information to be managed in the job processing, and the management for which the data backup is requested And a control unit that schedules the information writing process to be preferentially executed over other processes, and a cache unit that caches management information in a non-volatile memory having different memory access according to the schedule.
本発明によれば、ジョブ処理に伴う管理情報を記憶させるメモリを不揮発性のメモリに代替しても、ジョブ処理のパフォーマンスを低下させることなくジョブ処理を効率よく実行できる。 According to the present invention, even when a memory for storing management information associated with job processing is replaced with a non-volatile memory, job processing can be executed efficiently without degrading job processing performance.
次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
図1は、本実施形態を示す画像処理装置の構成を説明するブロック図である。本例では、スキャン機能処理、プリント機能処理、データ通信機能処理、コピー機能処理、ボックス機能処理等の複合機能処理を行うMFPを例とする。もちろん、シングル機能処理の印刷装置等に本発明を適用することは可能である。本実施形態では、ジョブ処理の要求に伴うプロセスをスケジュールして実行する画像処理装置を例として説明する。なお、本実施形態で実行するジョブ処理には、コピージョブ、プリントジョブ、データ送信ジョブが含まれる。
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
<Description of system configuration>
[First Embodiment]
FIG. 1 is a block diagram illustrating the configuration of the image processing apparatus according to the present embodiment. In this example, an MFP that performs complex function processing such as scan function processing, print function processing, data communication function processing, copy function processing, and box function processing is taken as an example. Of course, it is possible to apply the present invention to a single function processing printing apparatus or the like. In the present embodiment, an image processing apparatus that schedules and executes a process associated with a job processing request will be described as an example. Note that job processing executed in the present embodiment includes a copy job, a print job, and a data transmission job.
図1において、200はシステム全体の制御を行うシステム制御部である。201は画像データを読み取るスキャナ部である。202はシステム制御部によって画像処理され、出力されてきた画像データを記録媒体に記録するプリンタ部である。以下、それぞれの内部構成について説明する。
最初にシステム制御部200の内部構成について説明する。
203は画像データを処理するシステムコントローラであり、以下に示す各構成要素と汎用I/Fもしくは独自のI/Fで接続される。212は電源供給部であり、システム制御部200内に常夜系電源と非常夜系電源を供給する。メインSW211は電源供給部を起動するSWである。204はサブコントローラであり、MFPで処理する画像処理等を制御するコントローラである。
205はRAMとはメモリアクセス方法が異なるFLASHメモリ(フラッシュメモリ)であり、ユーザープログラムやカウンタ情報など電源供給部212がオフ状態になってもシステム制御部200で必要となる情報を保持しておくためのものである。206は操作部であり、ユーザーからの操作を受け付けたり、ユーザーに対してシステムの状態や情報などの表示を行う。207はワークメモリであり、システムコントローラの作業領域や画像データを一時的に保持するためのものである。
208は外部I/F部であり、汎用I/FであるLANなどのネットワーク環境に接続された際に本システムとネットワーク環境間でのデータの送受信を行うものである。
次にスキャナ部の内部構成は以下の通りである。なお、209はSRAMであって、従来、システム管理情報を記憶するメモリとして設けられていたが、当該システム管理情報をFLASHメモリ205に記憶して管理するため、本システムの構成から外れたメモリを仮想的に示す。したがって、本実施形態では、FLASHメモリ205で後述する制御手順に従いシステム管理情報が管理される。
In FIG. 1,
First, the internal configuration of the
An external I /
Next, the internal configuration of the scanner unit is as follows.
スキャナエンジン部214は、原稿を読み取り、電気信号に変換された画像データを生成する。スキャナコントローラ215は、システム制御部200内のシステムコントローラ203と独自I/FであるコマンドBus及びVideoBusを介して接続され、画像データの送信や、システムコントローラ203とのコマンド通信を行う。
最後にプリンタ部202の内部構成について説明する。
The
Finally, the internal configuration of the
プリンタコントローラ216は、システム制御部200内のシステムコントローラ203と独自I/FであるコマンドBus及びVideoBusを介して接続され、画像データの受信や、システムコントローラ203とコマンド通信を行う。217はプリンタエンジン部であり、システム制御部200からプリンタコントローラ216に送信されてきた画像データを記録媒体へ記録する。
本実施形態に示すMFPを用いて様々な画像処理を実現することが可能であるが、その処理例にとしてコピー機能処理、プリント機能処理、スキャン転送機能処理(以下SEND機能処理と称する)について簡単に説明する。
The
Various image processing can be realized by using the MFP shown in the present embodiment. As an example of processing, copy function processing, print function processing, and scan transfer function processing (hereinafter referred to as SEND function processing) are simple. Explained.
まず、コピー機能動作について説明する。
最初にスキャナ部201は、スキャナエンジン部214に設けられた不図示の原稿台に置かれた原稿を電気的に読み取る。スキャナコントローラ215でA/D変換及び補正処理を実施してVideoBus経由でシステム制御部のシステムコントローラ203に転送する。ここで、転送された画像データは、一旦ワークメモリ207に記憶され、サブコントローラ204にて所定の画像処理・画像圧縮を施した後、FLASHメモリ205の画像領域に記憶される。
First, the copy function operation will be described.
First, the
次にプリンタ部202とシステム制御部200がコマンドBusを介して通信を行い、プリンタ部202の動きに同期してシステム制御部200はFLASHメモリ205から圧縮された画像データをワークメモリ207へと読み出す。読み出した画像データは、サブコントローラ204にて伸張処理を行った後、ワークメモリ207へ書き戻して画像データをプリンタ部202へ転送する。プリンタ部202は、プリンタコントローラ216で転送された画像データを記録信号へと変換し記録媒体へ記録を行う。
Next, the
次にプリント機能処理の動作について説明する。
MFP100はPC等の外部機器から送られてくるプリントデータを外部I/F部208を介して受信し、ワークメモリ207に記憶する。システムコントローラ203は前述のプリントデータを解析し、画像データに展開した後、ワークメモリ207に記憶する。その後、サブコントローラ204にて所定の画像処理・圧縮を施した後、FLASHメモリ205に記憶する。記憶された画像データをプリントさせる動作はコピー動作と同様な手順で行う。
Next, the operation of the print function process will be described.
MFP 100 receives print data sent from an external device such as a PC via external I /
最後にSEND機能処理の動作について説明する。
画像の読み取りについてはコピー動作と同様な手順で読み取り・画像処理・圧縮動作を行い、FLASHメモリ205に記憶する。次に、システムコントローラは操作部206にて登録された宛先の外部機器に対して、外部I/F部208を介して、通信を行いつつ、FLASHメモリからワークメモリ207へ画像データを読み出し、ネゴシエーションが確立できたら、画像データを外部機器に対して送信する。
Finally, the operation of the SEND function process will be described.
As for image reading, reading, image processing, and compression are performed in the same procedure as the copying operation, and the image is stored in the
前述のハードウェアの制御のうちシステム制御部200の動作についてはFLASHメモリ205上に記憶されているソフトウェアによって一連の制御が実行されている。
Among the hardware controls described above, the operation of the
図2は、図1に示したシステムコントローラ203のソフトウェアの構成概略を示す図である。
図2において、301はオペレーティングシステム(以下OSと称す)層であり、UIやハードウェアの入出力機能、ディスクやメモリの管理といった、コピー、プリント、SENDなどのMFPの機能を提供する複数のアプリケーションソフト群302から共通して利用される基本的な機能を提供し、システム全体を管理するソフトウェアである。OS層はカーネル303、プロセススケジューラ304、デバイスドライバ305などから構成される。
FIG. 2 is a diagram showing a schematic software configuration of the
In FIG. 2,
カーネル303は、OSの基本機能を実装したソフトウェアである。OSの中核部分として、MFPを制御する各種アプリケーションソフトや周辺機器の監視、ディスクやメモリなどの資源の管理、割りこみ処理、プロセス間通信などの機能を提供する。
プロセススケジューラ304は、あらかじめ決められたスケジュールに従って前記処理を自動実行する機能である。
The
The
デバイスドライバ305は、システム内部に装着された装置や、外部に接続した機器を制御・操作するためのソフトウェアである。OS301はこうした機器を制御するための橋渡しを行なうもので、アプリケーションソフト群302が直接操作することは基本的にはない。
The
次に、プロセススケジューラ304の動作について説明する。プロセススケジューラ304は、多くの実行可能プロセスから応答性能とスループットを考慮しながら動作させるプロセスを選ぶ。その際に、多くのプロセスが同時に動作する環境でも、必ずすべてのプロセスに実行権が割り当てられるように公平性を保つことも配慮する。
Next, the operation of the
通常は、すべてのプロセスが時分割で動作し、一部のプロセスだけが長時間実行権を握ってしまい、スケジューリング対象から漏れてしまうプロセスが発生しないように、すべてのプロセスへ公平に実行権を与えるようにする。 Normally, all processes operate in a time-sharing manner, and only a part of the processes has the right to execute for a long time. To give.
具体的には、実行可能状態になったプロセスに実行割り当て時間(タイムスライス)を与える。実行権を与えられたプロセスは、そのプロセスの実行割り当て時間が残っている間は、実行権を持ち続ける。実行割り当て時間を使い切ったプロセスは、ほかのプロセスに実行権を明け渡し、再度実行割り当て時間を割り当てられるまでスケジューリングの対象から外れる。新たに実行割り当て時間が与えられるのは、カーネル上に実行割り当て時間が残っている実行待ちプロセスがいなくなったときである。この仕組みによって、どんなに実行優先度の低いプロセスであっても、必ずCPU上での実行権が回ってくることが保証される。 Specifically, an execution allocation time (time slice) is given to a process that is in an executable state. The process given the execution right continues to have the execution right as long as the execution allocation time of the process remains. A process that has used up its execution allocation time gives up execution rights to other processes and is excluded from scheduling until it is assigned an execution allocation time again. A new execution allocation time is given when there are no execution waiting processes whose execution allocation time remains on the kernel. This mechanism guarantees that the execution right on the CPU always comes around for any process with a low execution priority.
MFPではコピー、スキャン、プリントなどの各動作(以下ジョブと称する)に基づき、各種データのバックアップを行う。データバックアップの処理もMFPの1アプリケーションソフトとして提供されており、プロセススケジューラ304によってCPU上での実行が管理されている。
The MFP backs up various data based on operations such as copying, scanning, and printing (hereinafter referred to as jobs). Data backup processing is also provided as one application software of the MFP, and execution on the CPU is managed by the
図3は、図1に示したFLASHメモリ205に格納されるバックアップデータの構成を説明する図である。
図3において、401はカウンタ情報領域であり、MFPの動作に応じて、課金を行うための種々のカウンタ情報やメンテナンスに必要なカウンタ情報などをバックアップするための領域である。ソフトウェアが領域を識別するためのID番号として0〜99が割り当てられている。
FIG. 3 is a diagram for explaining the configuration of backup data stored in the
In FIG. 3,
402は送信ジョブ管理情報であり、SENDジョブで使用する外部機器の宛先や名前などのアドレス情報・画像情報をバックアップする領域である。ソフトウェアが領域を識別するためのID番号として100〜199が割り当てられている。
403は受信ジョブ管理情報であり、外部機器からのデータ受信で使用するアドレス情報をバックアップする領域である。ソフトウェアが領域を識別するためのID番号として200〜299が割り当てられている。
404はFAXジョブ管理領域であり、電源の瞬断など予期せぬ電源断時が発生したときにFAXジョブのリカバリを可能にするためのバックアップ領域である。ソフトウェアが領域を識別するためのID番号として300〜399が割り当てられている。
405は画像補正情報であり、画像データのキャリブレーション情報をバックアップする領域である。ソフトウェアが領域を識別するためのID番号として400〜499が割り当てられている。
406はLog情報であり、MFPの動作履歴を各アプリケーションソフト毎にバックアップするための領域である。ソフトウェアが領域を識別するためのID番号として500〜599が割り当てられている。
Log
前述のようにデータバックアップをする情報としては、コピー・プリントに比べ、送信ジョブ管理情報をバックアップするため、SENDジョブの方が多くなる。従って、プロセススケジューラ304に対して、SENDジョブに関するデータバックアップがプロセススケジューラの与える実行割り当て時間内に終了しないケースや、次回の実行権割り当てを待たされることにより、コピーやプリントジョブに対して極端にパフォーマンスが落ちないように制御する必要がある。
MFPの各ジョブが発生すると、所定のタイミングでデータバックアップ処理が実行される。
図4は、本実施形態を示す画像処理装置の制御方法を説明するフローチャートである。本例は、画像処理装置におけるデータバックアップ処理例である。なお、各ステップは、図1に示したシステムコントローラ203がROM等の不揮発性メモリに記憶された制御プログラムを実行することにより実現される。以下の説明では、システムコントローラ203が実行するプログラムを主体として説明する。また、本実施形態では、ジョブ処理で管理すべき管理情報のバックアップを要求するプロセスを検出したら、データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする制御し、さらに、当該スケジュールに従って不揮発性のメモリ(FLASHメモリ205)に管理情報をキャッシュする制御を説明する。また、本例は、データバックアップを要求するプロセスを検出した場合、バックアップが要求された管理情報のIDに基づいて、当該データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする例である。
As described above, as the information for data backup, the transmission job management information is backed up as compared with the copy / print, and therefore the SEND job is larger. Therefore, if the
When each job of the MFP occurs, data backup processing is executed at a predetermined timing.
FIG. 4 is a flowchart for explaining a control method of the image processing apparatus according to the present embodiment. This example is an example of data backup processing in the image processing apparatus. Each step is realized by the
まず、S500で、ジョブ実行中のアプリケーションソフト群302のいずれかがデータバックアップ処理の呼び出しを行う。呼び出されたデータバックアップ処理は、S501で、システムコールしてOS301にデータバックアップ処理を依頼する。システムコールする際に、アプリケーションソフト群302は、バックアップしたいデータの種類としてID番号とデータサイズをOS301に情報を渡す。
First, in step S500, one of the
S502では、OS301はデータバックアップ処理の依頼を受けたら、渡されたID番号を見て何の情報のバックアップかを判断する。ID番号が402のSENDジョブ管理情報であるとOS301が判断した場合には、S503に進む。プロセススケジューラ304は依頼された処理を最優先プロセスとして予め登録されているプロセスよりも優先して処理されるようにキューイングを行う。
一方、S502で、ID番号がそれ以外のデータであるとOS301が判断した場合には、S504に進み、通常プロセスとしてキューイングを行う。通常プロセスでキューイングされる場合は、予めプロセススケジューラ304に登録されている順番にキューイングを行い、S505へ進む。
プロセススケジューラ304によってデータバックアップの実行権が付与されると、S505で、デバイスドライバ305はFLASHメモリ205のデータ書き込みを行い、本処理を終了する。
以上のような制御を行うことによって、データバックアップ量が多いMFP100のジョブに対しても、最適な処理時間でジョブを実行できるようになる。
〔第2実施形態〕
In S <b> 502, when the
On the other hand, if the
When the right to execute data backup is given by the
By performing the control as described above, a job can be executed in an optimum processing time even for a job of
[Second Embodiment]
上記実施形態において、データバックアップする情報のうち画像補正情報や、Log情報などは各ジョブ共通にバックアップされる情報である。そこで、SEND機能処理に関わるジョブの処理時間を早くし、かつ、他のジョブの処理時間にできるだけ影響を与えないために、アプリケーションソフト群がデータバックアップ処理を行う際に、何のジョブかをOSに通知してプロセスのスケジューリングを決定させるように制御してもよい。以下、この実施形態について説明する。
図5は、本実施形態を示す画像処理装置の制御方法を説明するフローチャートである。本例は、画像処理装置におけるデータバックアップ処理例である。なお、各ステップは、図1に示したシステムコントローラ203がROM等の不揮発性メモリに記憶された制御プログラムを実行することにより実現される。以下の説明では、システムコントローラ203が実行するプログラムを主体として説明する。なお、本例は、データバックアップを要求するプロセスを検出した場合、バックアップが要求されたジョブ処理のIDに基づいて、当該データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする例である。
In the above-described embodiment, image correction information, log information, and the like among information to be backed up is information that is backed up in common for each job. Therefore, in order to speed up the processing time of jobs related to the SEND function processing and to have as little influence on the processing time of other jobs as possible, when the application software group performs the data backup processing, what job is the OS It is also possible to control so that the scheduling of the process is determined by notifying the process. Hereinafter, this embodiment will be described.
FIG. 5 is a flowchart for explaining a control method of the image processing apparatus according to the present embodiment. This example is an example of data backup processing in the image processing apparatus. Each step is realized by the
まず、S600でジョブ実行中のアプリケーションソフト群302のいずれかがデータバックアップ処理の呼び出しを行う。呼び出されたデータバックアップ処理は、S601でシステムコールしてOS301にデータバックアップ処理を依頼する。システムコールする際に、アプリケーションソフト群302は、動作しているジョブがコピー、SENDなどMFP100のどのジョブであるかを示すジョブタイプ情報とデータサイズをOS301に渡す。
First, in step S600, one of the
S602で、OS301はデータバックアップ処理の依頼を受けたら、渡されたジョブタイプを見て何のジョブのバックアップ処理かを判断する。ジョブタイプがSENDジョブであるとOS301が判断した場合には、S603に進む。そして、S603で、プロセススケジューラ304は最優先プロセスとして予め登録されているプロセスよりも優先して処理される順番でキューイングを行う。
一方、S602で、ジョブタイプがSEND以外のジョブであるとOS301が判断した場合にはS604に進み、通常プロセスとしてキューイングを行う。通常プロセスでキューイングされる場合は、予めプロセススケジューラ304に登録されている順番にキューイングを行い、S605へ進む。
そして、プロセススケジューラ304によってデータバックアップの実行権が付与されると、S605で、デバイスドライバ305はFLASHメモリ205のデータ書き込みを行い、本処理を終了する。
以上のような制御を行うことによって、SENDなどデータバックアップ量が多いMFP100のジョブに対しても、最適な処理時間でジョブを実行できるようになる。
〔第3実施形態〕
In step S <b> 602, when the
On the other hand, if the
When the execution right of data backup is granted by the
By performing the control as described above, a job can be executed in an optimal processing time even for a job of
[Third Embodiment]
第2実施形態では、所定のジョブタイプのデータバックアップ処理が発生したら常にプロセススケジューラの優先度を上げるようにキューイングする場合について説明した。これに対して、先行してキューイングされている処理のジョブタイプを見て優先度を上げるようにしても構わない。
例えば、SENDジョブのデータバックアップの処理要求が発生した時に、先行するジョブタイプにFAXジョブが有る場合、FAXジョブは所定の時間内に応答しないと相手先との通信が切れてしまうことも考えられる。このため、SENDジョブのデータバックアップ処理より優先させなければいけない可能性がある。その場合には、キューイングされているプロセスのうちFAXジョブタイプから要求されているプロセスは追い越さないようにキューイングするようにする。
以上のような制御を行うことによって、SENDなどデータバックアップ量が多いMFPのジョブに対しても、最適な処理時間でジョブを実行できるようになる。
〔第4実施形態〕
In the second embodiment, a case has been described in which queuing is performed so as to always increase the priority of the process scheduler when data backup processing of a predetermined job type occurs. On the other hand, the priority may be increased by looking at the job type of the process queued in advance.
For example, when a data backup processing request for a SEND job occurs, if there is a FAX job in the preceding job type, communication with the other party may be interrupted if the FAX job does not respond within a predetermined time. . For this reason, there is a possibility that priority should be given to the data backup processing of the SEND job. In this case, queuing is performed so that processes requested from the FAX job type among the queued processes are not overtaken.
By performing the control as described above, it is possible to execute a job in an optimum processing time even for an MFP job such as SEND with a large amount of data backup.
[Fourth Embodiment]
バックアップ処理するデータとして同じSENDジョブ管理情報の複数のIDにまたがった場合、1回のプロセス実行割り当て時間内にデータのバックアップ処理が終わらない場合がある。その場合、SENDジョブにプロセスの実行権が集中し過ぎて、他のジョブのパフォーマンス影響が大きくなりすぎる可能性もある。それを回避しながら、SENDジョブのパフォーマンスをよくするために、複数回のアクセスが発生したときのみ、SENDジョブのプロセスを優先させるように制御してもよい。以下、その実施形態について説明する。
図6は、本実施形態を示す画像処理装置の制御方法を説明するフローチャートである。本例は、画像処理装置におけるデータバックアップ処理例である。なお、各ステップは、図1に示したシステムコントローラ203がROM等の不揮発性メモリに記憶された制御プログラムを実行することにより実現される。以下の説明では、システムコントローラ203が実行するプログラムを主体として説明する。また、本例は、FLASHメモリ205にキャッシュする同一の管理情報の書き込み回数に応じて、当該データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールするかどうかを決定する例である。
When a plurality of IDs of the same SEND job management information are used as the data to be backed up, the data backup processing may not be completed within one process execution allocation time. In that case, there is a possibility that the execution right of the process is concentrated on the SEND job and the performance influence of other jobs becomes too large. In order to improve the performance of the SEND job while avoiding this, it may be controlled to give priority to the process of the SEND job only when a plurality of accesses occur. The embodiment will be described below.
FIG. 6 is a flowchart for explaining a control method of the image processing apparatus according to the present embodiment. This example is an example of data backup processing in the image processing apparatus. Each step is realized by the
まず、S700でジョブ実行中のアプリケーションソフト群302のいずれかがデータバックアップ処理の呼び出しを行う。呼び出されたデータバックアップ処理は、S701でシステムコールしてOS301にデータバックアップ処理を依頼する。システムコールする際に、アプリケーションソフト群302は、動作しているジョブがコピー、SENDなどMFP100のどのジョブであるかを示すジョブタイプ情報とバックアップするデータのID、データサイズをOS301に渡す。
S702で、OS301は渡されたIDに対するアクセス要求が発生した回数を示すアクセスカウント値の初期化を行う。
First, in step S700, one of the
In step S <b> 702, the
そして、S703で、OS301はデータバックアップ処理の依頼を受けたら、渡されたジョブタイプを見て何のジョブのバックアップ処理かを判断する。また、同時にバックアップするデータのIDへのアクセスカウント値を見て所定の値を超えているかどうかを判断する。ここで、ジョブタイプがSENDジョブでかつアクセスカウント値が所定の値を超えているとOS301が判断した場合には、S704に進む。そして、S704で、プロセススケジューラ304は最優先プロセスとして予め登録されているプロセスよりも優先して処理される順番でキューイングを行う。
一方、S703で、ジョブタイプがSEND以外のジョブであるとOS301が判断した場合または、SENDジョブでもアクセスするIDのアクセスカウント値が所定の値を超えていないとOS301が判断した場合にはS705に進む。そして、S705で、通常プロセスとしてキューイングを行い、S706へ進む。また、通常プロセスでキューイングされる場合は、予めプロセススケジューラ304に登録されている順番にキューイングを行い、S706へ進む。
In step S <b> 703, when the
On the other hand, if the
プロセススケジューラ304によってデータバックアップの実行権が付与されると、S706で、デバイスドライバ305はFLASHメモリ205のデータ書き込みを行う。プロセススケジューラによって与えられた実行時間書き込み処理を行った後、S707に進み。そして、S707で、OS301がFLASHメモリ205への書き込みが終了したかどうかを判断する。S707で全IDへの書き込み終了していないとOS301が判断した場合はS708に進み、終了しているとOS301が判断した場合は。データバックアップ処理を終了する。
When the right to execute data backup is given by the
S708では、OS301が書き込みの終了していないIDを取得し、アクセスカウント値をインクリメントした後、S703に戻りキューイングする優先順を判断してプロセススケジューラへのキューイングを実行する。
以上のような制御を行うことによって、SENDなどデータバックアップ量が多いMFPのジョブに対しても、最適な処理時間でジョブを実行できるようになる。
In S708, the
By performing the control as described above, it is possible to execute a job in an optimum processing time even for an MFP job such as SEND with a large amount of data backup.
本発明の各工程は、ネットワーク又は各種記憶媒体を介して取得したソフトウエア(プログラム)をパソコン(コンピュータ)等の処理装置(CPU、プロセッサ)にて実行することでも実現できる。 Each process of the present invention can also be realized by executing software (program) acquired via a network or various storage media by a processing device (CPU, processor) such as a personal computer (computer).
本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。
なお、上記実施形態では、不揮発性のメモリに管理情報をキャッシュする場合について説明したが、管理情報とともにプリンタも不揮発性のメモリに記憶するように構成してもよい。
The present invention is not limited to the above embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.
In the above embodiment, the management information is cached in the nonvolatile memory. However, the printer may be stored in the nonvolatile memory together with the management information.
101 画像処理装置
203 システムコントローラ
205 FLASHメモリ
207 ワークメモリ
101
Claims (8)
前記ジョブ処理で管理すべき管理情報のバックアップを要求するプロセスを検出する検出手段と、
前記バックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする制御手段と、
前記スケジュールに従ってメモリアクセスが異なる不揮発性のメモリに管理情報をキャッシュするキャッシュ手段と、
を備えることを特徴とする画像処理装置。 An image processing apparatus that schedules and executes a process associated with a job processing request,
Detecting means for detecting a process for requesting backup of management information to be managed in the job processing;
Control means for scheduling the management information writing process requested to be backed up to be preferentially executed over other processes;
Cache means for caching management information in a non-volatile memory having different memory access according to the schedule;
An image processing apparatus comprising:
前記ジョブ処理で管理すべき管理情報のバックアップを要求するプロセスを検出する検出工程と、
前記バックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする制御工程と、
前記スケジュールに従ってメモリアクセスが異なる不揮発性のメモリに管理情報をキャッシュするキャッシュ工程と、
を備えることを特徴とする画像処理装置の制御方法。 A method of controlling an image processing apparatus that schedules and executes a process associated with a job processing request,
A detection step of detecting a process requesting backup of management information to be managed in the job processing;
A control step of scheduling the management information writing process requested to be backed up to be prioritized over other processes;
A cache step of caching management information in a non-volatile memory having different memory access according to the schedule;
An image processing apparatus control method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012187391A JP2014045405A (en) | 2012-08-28 | 2012-08-28 | Image processing apparatus, control method of image processing apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012187391A JP2014045405A (en) | 2012-08-28 | 2012-08-28 | Image processing apparatus, control method of image processing apparatus, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014045405A true JP2014045405A (en) | 2014-03-13 |
Family
ID=50396372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012187391A Pending JP2014045405A (en) | 2012-08-28 | 2012-08-28 | Image processing apparatus, control method of image processing apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014045405A (en) |
-
2012
- 2012-08-28 JP JP2012187391A patent/JP2014045405A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8949641B2 (en) | Information processing apparatus and method for controlling information processing apparatus restoration order of images that reduces the waiting time when restoration from a hibernation state | |
US8717602B2 (en) | Cloud computing system, document processing method, and storage medium in which a number of processing units is adjusted based on processing status | |
JP5839845B2 (en) | Printing apparatus, printing method, and program | |
US8854648B2 (en) | Printing system and printing control apparatus | |
JP5415750B2 (en) | Information processing apparatus, information processing method, program, and information processing system | |
JP4939175B2 (en) | Image forming apparatus | |
JP6289128B2 (en) | Information processing apparatus, control method therefor, and program | |
US10025544B1 (en) | System and method of print job scheduling using machine learning | |
JP4696748B2 (en) | Image forming system, interrupt processing method, and printing apparatus | |
US11275538B2 (en) | Method for operating a print server for digital high-capacity printing systems, and print server | |
JP6000754B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
US8526039B2 (en) | Image processing apparatus, and control method thereof and program | |
JP2012156645A (en) | Information processor, communication apparatus, and control method therefor | |
JP5691329B2 (en) | Job management apparatus, image processing apparatus, printing system, and job management program | |
JP2014045405A (en) | Image processing apparatus, control method of image processing apparatus, and program | |
US9667531B2 (en) | Image processing apparatus and control method | |
US9207889B2 (en) | Information processing apparatus, information processing method, and storage medium | |
JP2017050767A (en) | Image forming apparatus, and task control method and task control program in the same apparatus | |
JP2008166899A (en) | Image forming apparatus, control method and program | |
JP5780768B2 (en) | Information processing apparatus, control method thereof, and program | |
JP2012070028A (en) | Image forming apparatus | |
JP2007328737A (en) | Host device, data processor, and data processing system | |
EP3223134B1 (en) | Print control device, method and program | |
JP2017147529A (en) | Image forming apparatus, method for controlling task and program for controlling task in the apparatus | |
JP2021100182A (en) | Image forming apparatus and method for controlling image forming apparatus |