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 PDF

Info

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
Application number
JP2012187391A
Other languages
Japanese (ja)
Inventor
Masakazu Kiko
正和 木虎
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012187391A priority Critical patent/JP2014045405A/en
Publication of JP2014045405A publication Critical patent/JP2014045405A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Record Information Processing For Printing (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently perform job processing without reducing performance of the job processing even when a memory for storing management information associated with the job processing is replaced with a non-volatile memory.SOLUTION: An image processing apparatus schedules and performs processes associated with a request of job processing, and detects a process of requesting back-up of management information to be managed in the job processing. The image processing apparatus then schedules to perform a process of writing the management information requested to be backed-up as data more preferentially than other processes, and caches the management information in a non-volatile memory according to the schedule.

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.

特開2011-096053号公報JP 2011-096053 A

しかしながら、先行技術によれば複数のメモリデバイスで様々なデータを記憶することになり、システムが煩雑・かつコストアップ要因となっている。
そこで、従来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.

画像処理装置の構成を説明するブロック図である。It is a block diagram explaining the structure of an image processing apparatus. システムコントローラのソフトウェアの構成概略を示す図である。It is a figure which shows the structure outline of the software of a system controller. FLASHメモリに格納されるバックアップデータの構成を示す図である。It is a figure which shows the structure of the backup data stored in a FLASH memory. 画像処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of an image processing apparatus. 画像処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of an image processing apparatus. 画像処理装置の制御方法を説明するフローチャートである。It is a flowchart explaining the control method of an image processing apparatus.

次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第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, reference numeral 200 denotes a system control unit that controls the entire system. A scanner unit 201 reads image data. Reference numeral 202 denotes a printer unit that records image data that has been subjected to image processing by the system control unit and output to a recording medium. Hereinafter, each internal structure is demonstrated.
First, the internal configuration of the system control unit 200 will be described.
Reference numeral 203 denotes a system controller for processing image data, which is connected to each of the following constituent elements through a general-purpose I / F or a unique I / F. A power supply unit 212 supplies a night-time power source and an emergency night-time power source in the system control unit 200. The main SW 211 is a SW that activates the power supply unit. A sub-controller 204 is a controller that controls image processing and the like processed by the MFP.
Reference numeral 205 denotes a FLASH memory (flash memory) having a different memory access method from the RAM, and holds information necessary for the system control unit 200 even when the power supply unit 212 is turned off, such as a user program and counter information. Is for. Reference numeral 206 denotes an operation unit that accepts operations from the user and displays system status and information to the user. Reference numeral 207 denotes a work memory for temporarily holding a work area of the system controller and image data.
An external I / F unit 208 transmits and receives data between the present system and the network environment when connected to a network environment such as a LAN that is a general-purpose I / F.
Next, the internal configuration of the scanner unit is as follows. Reference numeral 209 denotes an SRAM, which has been conventionally provided as a memory for storing system management information. However, in order to store and manage the system management information in the FLASH memory 205, a memory that is out of the configuration of the system is used. Shown virtually. Therefore, in this embodiment, system management information is managed in the FLASH memory 205 according to a control procedure described later.

スキャナエンジン部214は、原稿を読み取り、電気信号に変換された画像データを生成する。スキャナコントローラ215は、システム制御部200内のシステムコントローラ203と独自I/FであるコマンドBus及びVideoBusを介して接続され、画像データの送信や、システムコントローラ203とのコマンド通信を行う。
最後にプリンタ部202の内部構成について説明する。
The scanner engine unit 214 reads a document and generates image data converted into an electrical signal. The scanner controller 215 is connected to the system controller 203 in the system control unit 200 via the command bus and video bus, which are unique I / Fs, and transmits image data and performs command communication with the system controller 203.
Finally, the internal configuration of the printer unit 202 will be described.

プリンタコントローラ216は、システム制御部200内のシステムコントローラ203と独自I/FであるコマンドBus及びVideoBusを介して接続され、画像データの受信や、システムコントローラ203とコマンド通信を行う。217はプリンタエンジン部であり、システム制御部200からプリンタコントローラ216に送信されてきた画像データを記録媒体へ記録する。
本実施形態に示すMFPを用いて様々な画像処理を実現することが可能であるが、その処理例にとしてコピー機能処理、プリント機能処理、スキャン転送機能処理(以下SEND機能処理と称する)について簡単に説明する。
The printer controller 216 is connected to the system controller 203 in the system control unit 200 via command buses and video buses that are unique I / Fs, and receives image data and performs command communication with the system controller 203. Reference numeral 217 denotes a printer engine unit that records image data transmitted from the system control unit 200 to the printer controller 216 on a recording medium.
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 scanner unit 201 electrically reads a document placed on a document table (not shown) provided in the scanner engine unit 214. The scanner controller 215 performs A / D conversion and correction processing, and transfers them to the system controller 203 of the system control unit via VideoBus. Here, the transferred image data is temporarily stored in the work memory 207, subjected to predetermined image processing / image compression by the sub-controller 204, and then stored in the image area of the FLASH memory 205.

次にプリンタ部202とシステム制御部200がコマンドBusを介して通信を行い、プリンタ部202の動きに同期してシステム制御部200はFLASHメモリ205から圧縮された画像データをワークメモリ207へと読み出す。読み出した画像データは、サブコントローラ204にて伸張処理を行った後、ワークメモリ207へ書き戻して画像データをプリンタ部202へ転送する。プリンタ部202は、プリンタコントローラ216で転送された画像データを記録信号へと変換し記録媒体へ記録を行う。   Next, the printer unit 202 and the system control unit 200 communicate with each other via a command bus, and the system control unit 200 reads out the compressed image data from the FLASH memory 205 to the work memory 207 in synchronization with the movement of the printer unit 202. . The read image data is decompressed by the sub-controller 204 and then written back to the work memory 207 to transfer the image data to the printer unit 202. The printer unit 202 converts the image data transferred by the printer controller 216 into a recording signal and records it on a recording medium.

次にプリント機能処理の動作について説明する。
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 / F unit 208 and stores it in work memory 207. The system controller 203 analyzes the print data described above, develops it into image data, and stores it in the work memory 207. After that, the sub-controller 204 performs predetermined image processing / compression, and then stores it in the FLASH memory 205. The operation for printing the stored image data is performed in the same procedure as the copy operation.

最後に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 FLASH memory 205. Next, the system controller reads the image data from the FLASH memory to the work memory 207 while communicating with the destination external device registered in the operation unit 206 via the external I / F unit 208, and negotiates. If the image data is established, the image data is transmitted to the external device.

前述のハードウェアの制御のうちシステム制御部200の動作についてはFLASHメモリ205上に記憶されているソフトウェアによって一連の制御が実行されている。   Among the hardware controls described above, the operation of the system control unit 200 is performed by a series of controls by software stored on the FLASH memory 205.

図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 system controller 203 shown in FIG.
In FIG. 2, reference numeral 301 denotes an operating system (hereinafter referred to as OS) layer, which is a plurality of applications that provide functions of the MFP such as copy, print, and SEND, such as UI / hardware input / output functions and disk / memory management. This software provides basic functions commonly used by the software group 302 and manages the entire system. The OS layer includes a kernel 303, a process scheduler 304, a device driver 305, and the like.

カーネル303は、OSの基本機能を実装したソフトウェアである。OSの中核部分として、MFPを制御する各種アプリケーションソフトや周辺機器の監視、ディスクやメモリなどの資源の管理、割りこみ処理、プロセス間通信などの機能を提供する。
プロセススケジューラ304は、あらかじめ決められたスケジュールに従って前記処理を自動実行する機能である。
The kernel 303 is software that implements the basic functions of the OS. As a core part of the OS, it provides functions such as monitoring of various application software and peripheral devices for controlling the MFP, management of resources such as disks and memories, interrupt processing, and interprocess communication.
The process scheduler 304 is a function for automatically executing the processing according to a predetermined schedule.

デバイスドライバ305は、システム内部に装着された装置や、外部に接続した機器を制御・操作するためのソフトウェアである。OS301はこうした機器を制御するための橋渡しを行なうもので、アプリケーションソフト群302が直接操作することは基本的にはない。   The device driver 305 is software for controlling and operating devices mounted inside the system and devices connected to the outside. The OS 301 provides a bridge for controlling such devices, and the application software group 302 is basically not operated directly.

次に、プロセススケジューラ304の動作について説明する。プロセススケジューラ304は、多くの実行可能プロセスから応答性能とスループットを考慮しながら動作させるプロセスを選ぶ。その際に、多くのプロセスが同時に動作する環境でも、必ずすべてのプロセスに実行権が割り当てられるように公平性を保つことも配慮する。   Next, the operation of the process scheduler 304 will be described. The process scheduler 304 selects a process to be operated from a number of executable processes in consideration of response performance and throughput. At that time, even in an environment where many processes operate simultaneously, consideration should be given to maintaining fairness so that execution rights are always assigned to all processes.

通常は、すべてのプロセスが時分割で動作し、一部のプロセスだけが長時間実行権を握ってしまい、スケジューリング対象から漏れてしまうプロセスが発生しないように、すべてのプロセスへ公平に実行権を与えるようにする。   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 process scheduler 304.

図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 FLASH memory 205 shown in FIG.
In FIG. 3, reference numeral 401 denotes a counter information area, which is an area for backing up various counter information for charging, counter information necessary for maintenance, and the like according to the operation of the MFP. 0 to 99 are assigned as ID numbers for software to identify areas.

402は送信ジョブ管理情報であり、SENDジョブで使用する外部機器の宛先や名前などのアドレス情報・画像情報をバックアップする領域である。ソフトウェアが領域を識別するためのID番号として100〜199が割り当てられている。   Reference numeral 402 denotes transmission job management information, which is an area for backing up address information and image information such as a destination and name of an external device used in a SEND job. 100 to 199 are assigned as ID numbers for software to identify areas.

403は受信ジョブ管理情報であり、外部機器からのデータ受信で使用するアドレス情報をバックアップする領域である。ソフトウェアが領域を識別するためのID番号として200〜299が割り当てられている。   Reference numeral 403 denotes received job management information, which is an area for backing up address information used for data reception from an external device. 200 to 299 are assigned as ID numbers for software to identify areas.

404はFAXジョブ管理領域であり、電源の瞬断など予期せぬ電源断時が発生したときにFAXジョブのリカバリを可能にするためのバックアップ領域である。ソフトウェアが領域を識別するためのID番号として300〜399が割り当てられている。
405は画像補正情報であり、画像データのキャリブレーション情報をバックアップする領域である。ソフトウェアが領域を識別するためのID番号として400〜499が割り当てられている。
Reference numeral 404 denotes a FAX job management area, which is a backup area for enabling recovery of a FAX job when an unexpected power interruption such as a momentary power interruption occurs. 300 to 399 are assigned as ID numbers for software to identify areas.
Reference numeral 405 denotes image correction information, which is an area for backing up image data calibration information. 400 to 499 are assigned as ID numbers for software to identify areas.

406はLog情報であり、MFPの動作履歴を各アプリケーションソフト毎にバックアップするための領域である。ソフトウェアが領域を識別するためのID番号として500〜599が割り当てられている。   Log information 406 is an area for backing up the operation history of the MFP for each application software. 500 to 599 are assigned as ID numbers for software to identify areas.

前述のようにデータバックアップをする情報としては、コピー・プリントに比べ、送信ジョブ管理情報をバックアップするため、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 process scheduler 304 does not finish the data backup related to the SEND job within the execution allocation time given by the process scheduler, or waits for the next execution right allocation, the process scheduler 304 performs extremely for copy and print jobs. It is necessary to control so that it does not fall.
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 system controller 203 shown in FIG. 1 executing a control program stored in a nonvolatile memory such as a ROM. In the following description, the program executed by the system controller 203 will be mainly described. Also, in this embodiment, when a process that requests a backup of management information to be managed by job processing is detected, control for scheduling the management information writing process for which data backup is requested to be executed with priority over other processes. Further, control for caching management information in a nonvolatile memory (FLASH memory 205) according to the schedule will be described. Also, in this example, when a process that requests data backup is detected, the process of writing management information for which the data backup is requested is prioritized over other processes based on the ID of the management information for which the backup is requested. This is an example of scheduling.

まず、S500で、ジョブ実行中のアプリケーションソフト群302のいずれかがデータバックアップ処理の呼び出しを行う。呼び出されたデータバックアップ処理は、S501で、システムコールしてOS301にデータバックアップ処理を依頼する。システムコールする際に、アプリケーションソフト群302は、バックアップしたいデータの種類としてID番号とデータサイズをOS301に情報を渡す。   First, in step S500, one of the application software groups 302 that are executing a job calls a data backup process. In step S501, the called data backup process makes a system call to request the OS 301 to perform the data backup process. When making a system call, the application software group 302 passes the ID number and data size as the type of data to be backed up to the OS 301.

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 OS 301 receives a request for data backup processing, the OS 301 determines what information is to be backed up by looking at the passed ID number. When the OS 301 determines that the SEND job management information has an ID number of 402, the process proceeds to S503. The process scheduler 304 performs queuing so that the requested process is processed with priority over a process registered in advance as the highest priority process.
On the other hand, if the OS 301 determines in S502 that the ID number is other data, the process proceeds to S504 and queuing is performed as a normal process. When queuing in the normal process, queuing is performed in the order registered in the process scheduler 304 in advance, and the process proceeds to S505.
When the right to execute data backup is given by the process scheduler 304, in S505, the device driver 305 writes data in the FLASH memory 205 and ends this processing.
By performing the control as described above, a job can be executed in an optimum processing time even for a job of MFP 100 having a large data backup amount.
[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 system controller 203 shown in FIG. 1 executing a control program stored in a nonvolatile memory such as a ROM. In the following description, the program executed by the system controller 203 will be mainly described. In this example, when a process that requests data backup is detected, the management information writing process for which the data backup is requested is prioritized over other processes based on the ID of the job process for which the backup is requested. This is an example of scheduling.

まず、S600でジョブ実行中のアプリケーションソフト群302のいずれかがデータバックアップ処理の呼び出しを行う。呼び出されたデータバックアップ処理は、S601でシステムコールしてOS301にデータバックアップ処理を依頼する。システムコールする際に、アプリケーションソフト群302は、動作しているジョブがコピー、SENDなどMFP100のどのジョブであるかを示すジョブタイプ情報とデータサイズをOS301に渡す。   First, in step S600, one of the application software groups 302 that are executing the job calls the data backup process. The called data backup processing makes a system call in S601 and requests the OS 301 for data backup processing. When making a system call, the application software group 302 passes to the OS 301 job type information indicating the job of the MFP 100, such as copy or SEND, and the data size.

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 OS 301 receives a request for data backup processing, the OS 301 determines the job backup processing by looking at the passed job type. If the OS 301 determines that the job type is a SEND job, the process proceeds to S603. In step S <b> 603, the process scheduler 304 performs queuing in the order in which the process is preferentially processed over the process registered in advance as the highest priority process.
On the other hand, if the OS 301 determines in S602 that the job type is a job other than SEND, the process proceeds to S604, and queuing is performed as a normal process. When queuing is performed in a normal process, queuing is performed in the order registered in the process scheduler 304 in advance, and the process proceeds to S605.
When the execution right of data backup is granted by the process scheduler 304, the device driver 305 writes data in the FLASH memory 205 in S605, and this process is terminated.
By performing the control as described above, a job can be executed in an optimal processing time even for a job of MFP 100 having a large data backup amount such as SEND.
[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 system controller 203 shown in FIG. 1 executing a control program stored in a nonvolatile memory such as a ROM. In the following description, the program executed by the system controller 203 will be mainly described. In addition, according to the present example, whether or not the process of writing the management information for which the data backup is requested is scheduled to be preferentially executed over other processes in accordance with the number of times of writing the same management information cached in the FLASH memory 205. Is an example of determining.

まず、S700でジョブ実行中のアプリケーションソフト群302のいずれかがデータバックアップ処理の呼び出しを行う。呼び出されたデータバックアップ処理は、S701でシステムコールしてOS301にデータバックアップ処理を依頼する。システムコールする際に、アプリケーションソフト群302は、動作しているジョブがコピー、SENDなどMFP100のどのジョブであるかを示すジョブタイプ情報とバックアップするデータのID、データサイズをOS301に渡す。
S702で、OS301は渡されたIDに対するアクセス要求が発生した回数を示すアクセスカウント値の初期化を行う。
First, in step S700, one of the application software groups 302 that are executing a job calls a data backup process. The called data backup processing makes a system call in S701 to request the OS 301 for data backup processing. When making a system call, the application software group 302 passes to the OS 301 job type information indicating which job of the MFP 100 is running, such as copy or SEND, the ID of the data to be backed up, and the data size.
In step S <b> 702, the OS 301 initializes an access count value indicating the number of times that an access request for the passed ID has occurred.

そして、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 OS 301 receives a request for data backup processing, the OS 301 determines the job backup processing by looking at the passed job type. At the same time, the access count value to the ID of the data to be backed up is checked to determine whether or not it exceeds a predetermined value. If the OS 301 determines that the job type is a SEND job and the access count value exceeds a predetermined value, the process proceeds to S704. In step S <b> 704, the process scheduler 304 performs queuing in the order in which the process is preferentially processed over the process registered in advance as the highest priority process.
On the other hand, if the OS 301 determines in S703 that the job type is a job other than SEND, or if the OS 301 determines that the access count value of the ID accessed even in the SEND job does not exceed a predetermined value, the processing proceeds to S705. move on. In step S705, queuing is performed as a normal process, and the process advances to step S706. When queuing by a normal process, queuing is performed in the order registered in the process scheduler 304 in advance, and the process proceeds to S706.

プロセススケジューラ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 process scheduler 304, the device driver 305 writes data to the FLASH memory 205 in S706. After performing the execution time writing process given by the process scheduler, the process proceeds to S707. In step S <b> 707, the OS 301 determines whether writing to the flash memory 205 has been completed. If the OS 301 determines in S707 that writing to all IDs has not been completed, the process proceeds to S708, and if the OS 301 determines that writing has been completed. End the data backup process.

S708では、OS301が書き込みの終了していないIDを取得し、アクセスカウント値をインクリメントした後、S703に戻りキューイングする優先順を判断してプロセススケジューラへのキューイングを実行する。
以上のような制御を行うことによって、SENDなどデータバックアップ量が多いMFPのジョブに対しても、最適な処理時間でジョブを実行できるようになる。
In S708, the OS 301 acquires an ID for which writing has not ended, increments the access count value, returns to S703, determines the priority order for queuing, and executes queuing to the process scheduler.
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 Image processing device 203 System controller 205 FLASH memory 207 Work memory

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:
前記制御手段は、データバックアップを要求するプロセスを検出した場合、バックアップが要求された管理情報のIDに基づいて、当該データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールすることを特徴とする請求項1記載の画像処理装置。   When the control means detects a process requesting data backup, the control means preferentially executes the process of writing the management information requested for data backup over other processes based on the ID of the management information requested for backup. The image processing apparatus according to claim 1, wherein the scheduling is performed as follows. 前記制御手段は、データバックアップを要求するプロセスを検出した場合、バックアップが要求されたジョブ処理のIDに基づいて、当該データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールすることを特徴とする請求項1記載の画像処理装置。   When the control unit detects a process requesting data backup, the control unit preferentially executes the process of writing the management information requested for the data backup over the other process based on the ID of the job process requested for the backup. The image processing apparatus according to claim 1, wherein the scheduling is performed as follows. 前記制御手段は、前記不揮発性のメモリにキャッシュする同一の管理情報の書き込み回数に応じて、当該データバックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールするかどうかを決定することを特徴とする請求項2または3記載の画像処理装置。   Whether the control means schedules the management information writing process for which the data backup is requested to be preferentially executed over the other processes according to the number of times of writing the same management information cached in the nonvolatile memory. 4. The image processing apparatus according to claim 2, wherein whether or not to determine is determined. 前記ジョブ処理は、コピージョブ、プリントジョブ、データ送信ジョブを含むことを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the job processing includes a copy job, a print job, and a data transmission job. 前記メモリアクセスが異なる不揮発性のメモリは、フラッシュメモリであることを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the nonvolatile memories having different memory accesses are flash memories. ジョブ処理の要求に伴うプロセスをスケジュールして実行する画像処理装置の制御方法であって、
前記ジョブ処理で管理すべき管理情報のバックアップを要求するプロセスを検出する検出工程と、
前記バックアップが要求された管理情報の書き込みプロセスを他のプロセスよりも優先実行するようにスケジュールする制御工程と、
前記スケジュールに従ってメモリアクセスが異なる不揮発性のメモリに管理情報をキャッシュするキャッシュ工程と、
を備えることを特徴とする画像処理装置の制御方法。
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:
請求項7に記載の画像処理装置の制御方法をコンピュータに実行させることを特徴とするプログラム。   A program causing a computer to execute the control method of the image processing apparatus according to claim 7.
JP2012187391A 2012-08-28 2012-08-28 Image processing apparatus, control method of image processing apparatus, and program Pending JP2014045405A (en)

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)

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