JP2019185450A - Image forming device and control method thereof - Google Patents
Image forming device and control method thereof Download PDFInfo
- Publication number
- JP2019185450A JP2019185450A JP2018076457A JP2018076457A JP2019185450A JP 2019185450 A JP2019185450 A JP 2019185450A JP 2018076457 A JP2018076457 A JP 2018076457A JP 2018076457 A JP2018076457 A JP 2018076457A JP 2019185450 A JP2019185450 A JP 2019185450A
- Authority
- JP
- Japan
- Prior art keywords
- access
- application
- hdd
- nonvolatile storage
- storage means
- 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
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、不揮発性記憶手段を有する画像形成装置とその制御方法に関する。 The present invention relates to an image forming apparatus having a nonvolatile storage unit and a control method thereof.
画像読み取り装置、印刷装置、画像保存装置、通信装置を備え、コピー、プリント、スキャン、FAX送受信などの画像処理アプリケーション装置を備えたMULTIFUNCTIONPERIPHERAL(MFP)が知られている。また、これらMFPには、大容量ストレージデバイスとして、ハードディスクドライブ(以下HDDという)が、採用され内蔵されている。 2. Description of the Related Art A MULTIIFACTION PERIPHERAL (MFP) is known that includes an image reading device, a printing device, an image storage device, and a communication device, and an image processing application device such as copying, printing, scanning, and FAX transmission / reception. Also, these MFPs employ and incorporate hard disk drives (hereinafter referred to as HDDs) as large-capacity storage devices.
コピー、プリント、スキャン、FAX送受信など、装置の機能が増大になり、利用するユーザーは操作が複雑になりつつある。 The functions of the apparatus, such as copying, printing, scanning, and FAX transmission / reception, are increasing, and operations for users who use it are becoming complicated.
ユーザーの操作を手助けしたり、ユーザーが欲しい情報を簡単に得られるようにカスタマイズされた、アプリケーションソフトウェアをMFPにインストールできるようになっている。これらアプリケーションソフトウェアは、HDDを利用し、利便性を上げる工夫がされている。 Application software customized to assist the user's operation and to easily obtain the information desired by the user can be installed in the MFP. These application software are designed to improve convenience by using HDDs.
不揮発性メモリ、例えば、HDDには使用上の制限があり、仕様上の制限を超えた利用をすると、HDDが故障したり想定された動作をしなくなったりする場合がある。 Non-volatile memories, such as HDDs, have usage restrictions, and if they are used beyond the specifications, the HDDs may fail or fail to operate as expected.
例えば、HDDを利用するアプリケーションソフトウェアは、高頻度にHDD対してアクセスを行うものがある。HDDは物理的、電気的機構を有する。このため、想定されるアクセス回数の制限がある。アプリケーションの頻繁なアクセスからHDDを保護する必要があるという問題があった。 For example, some application software that uses the HDD frequently accesses the HDD. The HDD has a physical and electrical mechanism. For this reason, there is a limit on the number of times of access assumed. There is a problem that it is necessary to protect the HDD from frequent access of applications.
本発明の一つの側面は、上述の問題点の少なくともひとつを鑑みてなされたものである。 One aspect of the present invention has been made in view of at least one of the above-described problems.
不揮発性記憶手段と、前記不揮発性記憶手段への所定時間内のアクセス回数が所定以上になるアプリケーションを特定する特定手段と、前記特定手段が特定したアプリケーションの前記不揮発性記憶手段へのアクセスを制限する制限手段と、を備える画像形成装置が開示される。 Non-volatile storage means, specifying means for specifying an application in which the number of accesses to the non-volatile storage means within a predetermined time is greater than or equal to a predetermined value, and restricting access of the application specified by the specifying means to the non-volatile storage means An image forming apparatus including a restricting unit is disclosed.
本発明の一つの側面によれば、不揮発性メモリの効率的な制御が可能になるという効果がある。本発明の別の側面によれば、例えば、アプリケーションの頻繁なアクセスからHDDを保護し、ハードディスクの寿命HDDを保護しない場合より延ばすことができるという効果がある。 According to one aspect of the present invention, there is an effect that the nonvolatile memory can be efficiently controlled. According to another aspect of the present invention, for example, there is an effect that the HDD can be protected from frequent access of an application, and the life of the hard disk can be extended as compared with the case where it is not protected.
以下、本発明を実施するための形態について図面を用いて説明する。図1は、大容量HDDシステムが組み込まれる画像形成装置のコントローラ部100の一例を示す図である。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating an example of a
コントローラ部100は、操作部や外部コンピュータからの指示に基づいて原稿搬送装置を制御する原稿搬送装置制御部、イメージリーダを制御するイメージリーダ制御部と通信し、入力される原稿の画像データを取得する。また、コントローラ部100は、プリンタ部を制御するプリンタ制御部と通信を行い、画像データをシートに印刷する。
The
また、コントローラ部100は、折り装置を制御する折り装置制御部、フィニッシャを制御するフィニッシャ制御部と通信を行い、印刷されたシートにステイプルやパンチ穴といった所望の出力を実現する。外部I/F151は、外部のコンピュータと接続するインターフェースである。例えば、外部I/F151は、ネットワークやUSB等の外部バスで接続し、外部コンピュータからのプリントデータを画像に展開して出力するほか、HDD113内の画像データを外部コンピュータに送信することを行う。
Further, the
コントローラ部100は、CPU101を有し、オペレーティングシステム(以下、OSという)のプログラム等を実行し、OSの機能を実現する。CPU101には、バスブリッジ104が接続され、バスブリッジ104を介して、CPU101の初期起動プログラムを格納しているROM102から、初期起動プログラムを読み出す。また、CPU101は、制御に伴う演算の作業領域として用いられるRAM103及びストレージ機器を制御するストレージ制御部112ともバスブリッジ404を介して接続されている。
The
ストレージ制御部112は、HDDやSSD等のストレージ機器のリード・ライト制御を行うハードウェアモジュールで、ストレージ機器と接続はシリアルATA(SERIALATATTACHMENT:以下、SATAという)インターフェースが用いられる。HDD113は、CPU101のOSのプログラムを含むメインプログラムの格納、イメージリーダや外部I/F151より取得した画像データ、操作部で画像を編集したときの保存用やアプリケーションプログラムの格納先として使用される。
The
また、HDD113は、アプリケーションプログラムやユーザープリファレンスデータの格納先としても使用される。SSD113には、CPU101からアクセスができるように構成されている。
The HDD 113 is also used as a storage location for application programs and user preference data. The SSD 113 is configured to be accessible from the
また、ネットワークやUSBインターフェースを制御する外部I/F制御部105、操作部を制御する操作部制御部106がバスブリッジ104に接続されている。
Further, an external I /
デバイス制御部111は、原稿搬送装置制御部、イメージリーダ制御部、プリンタ制御部、折り装置制御部、フィニッシャ制御部と接続され、これらの制御を司る。
The
CPU101がROM102等に記憶されたプログラムに基づき処理を実行することにより後述する図又は図のフローチャートの処理の一部が実現される。
When the
図2にHDD113内部構造概略図を示す。201はディスクであり、データを記録する円盤部分である。201は磁気ヘッドであり、ディスク上のデータを読み書きする。
FIG. 2 shows a schematic diagram of the internal structure of the
203は、アクセスしていない時に、磁気ヘッドの格納場所(ランプ203)である。 Reference numeral 203 denotes a storage location (ramp 203) of the magnetic head when it is not being accessed.
アクセスが起こると、磁気ヘッド202は、ディスク201側の移動し、LOAD状態となる。アクセスが終了すると、磁気ヘッド202は、ランプ203に移動し、UNLOAD状態となる。HDD113へのアクセスは、磁気ヘッド202のLOAD/UNLOADの繰り返しで行われている。このようにLOAD/UNLOADの回数は制限があり、仕様の想定を超える運用は、故障等の原因となる場合がある。
When access occurs, the magnetic head 202 moves to the disk 201 side and enters the LOAD state. When the access is completed, the magnetic head 202 moves to the ramp 203 and enters the UNLOAD state. Access to the
図3にHDD113へのアクセスが生じた際の、動作説明の一例を示す。ストレージ制御部112からアクセスがあると、磁気ヘッド201は、LOAD状態となり、15秒LOAD状態を保つ。この間にデータのやりとりが行われる。15秒経過したら、UNLOAD状態に移行し、次のアクセスに待機する。再び、ストレージ制御部112からアクセスがあると、磁気ヘッド201は、LOAD状態となり、15秒LOAD状態を保つ。この繰り返しによって、データのやりとりが確立される。すなわち、1回アクセスがあると、15秒LOAD状態となるようになっている。不用意なアクセスは、LOAD/UNLOADの回数を増やし、HDDの寿命を短くする結果となる。15秒のLOAD時間は、一般的に数値であって、HDDの製造元の仕様によっては、異なる場合がある。
FIG. 3 shows an example of operation description when access to the
図4に、アプリケーションプログラムが、HDD113にアクセスする際の、オペレーティングシステム(OS)のソフトウェア構造図の概略を示す。OSには、複数のアプリケーション、例えばアプリ(1)〜(4)とのインターフェースを司るアプリケーション層401を持つ。アプリケーション層401は、各アプリケーションからの各種要求、例えばHDD113へのアクセス要求を受け、各アプリケーションへの調停を行ったり、実際のデータのやり取りを行う。
FIG. 4 shows an outline of a software structure diagram of the operating system (OS) when the application program accesses the
ドライバ層402は、アプリケーション層401からの要求に従い、ストレージ制御部112に対して制御コマンドを発行し、HDD113へのアクセスを行う。
The
図5に、データ移動に基づいた、アプリケーション層401、ドライバ層402のタイムテーブルを示す。アプリ(1)、アプリ(2)が同時にアクセスを要求してきた場合、アプリケーション層401は、調停により、例えばアプリ(1)、アプリ(2)のように順次アクセスを許可する。
FIG. 5 shows a time table of the
アプリケーション層401は、アプリ(1)からのアクセスを受け付けると、ドライバ層402に対して、HDD113へのアクセスを通知する。
When the
通知を受けたドライバ層402は、HDD113をLOAD状態に移行させ、アプリケーション層401から各アプリからのデータ、例えばWRITEデータを順次受け、HDD113に書き込み動作を行う。アプリケーション層401は、LOAD時間に基づいて、アプリからの受付時間が設定され、受付時間内ならば、複数のアプリアクセスを受け付けることができるようになっている。
Upon receiving the notification, the
受付時間内に受けた複数のアプリアクセスは、1回のLOADで、HDD113にWRITE/READできるようになっている。LOAD時間が経過し、UNLOADに移行後、例えばアプリ(3)がアクセス要求を出した場合、前述したプロセスが繰り返し実行される。
A plurality of application accesses received within the reception time can be written / read to the
説明したように、アプリからのアプリケーション層401へのアクセスは3回であるが、実際のHDD113のLOAD回数は、2回となる。すなわち、アプリのアクセスカウント数と、HDD113のLOAD/UNLOAD回数は一致しない。
As described above, the application accesses the
HDD113を利用するアプリケーションソフトウェアに対して、HDD113へアクセス回数を監視し、HDD113対して高頻度にアクセスを行うアプリケーションソフトウェアに対しては、アクセスを抑制する必要がある。一つの手段として、各アプリのアプリケーション層401へのアクセスカウント数をカウントし、カウント数に基づいてアクセスを抑制手段も有効である。一方、寿命を正確に見極めるためには、LOAD/UNLOAD回数を正確に計数する必要がある。以下に、LOAD/UNLOAD回数を正確に計数する手段を説明する。
It is necessary to monitor the number of accesses to the
図6にLOAD/UNLOAD回数を計数するフローチャートを示す。フローチャートで示す手順がROM102、RAM103、HDD113のいずれかの記憶手段に記憶され、CPU101により実行される。図に示すように、アプリケーション層とドライバ層の独立したプログラムが、コマンドやデータの受け渡しを行いながらフローチャートは進む。電源ONに応じて図6のアプリ層のフローチャートは実行を開始する。また、S604で送付されたコマンドをドライバ層のプログラムが受け取ったことに応じて、S605以降の処理は開始される。なお、CPU101は、ストレージ制御部112を介し、HDD113のコントロールを行う。
FIG. 6 shows a flowchart for counting the number of LOAD / UNLOAD times. The procedure shown in the flowchart is stored in one of the storage means of the
アプリケーション層401のプログラムがスタートし、CPU101は、S601において、各アプリからアプリケーション層401に対してHDD113に対するアクセス要求があるかどうか判断する。無い場合は、S601を繰り返す。アクセス要求がある場合は、S602へ進む。CPU101は、S602において、アクセス要求したアプリを特定し、その情報をメモリ、例えばRAM103にストアする。すなわち、アクセス情報データ603をRAM103にストアする。アクセス情報データ603は、ROM102に記憶してもよい。例えば、ここでストアする情報は、アプリ名称、アクセス要求を出した時間である。CPU101は、S604において、アプリケーション層401へのアプリ受付時間をカウントするカウンタをスタートする。同時に、ドライバ層402のプログラムをスタートさせるコマンドを送付し、S613に進む。なお、アプリケーション層は、Java(登録商標)やLua Scriptなどを用いて実装されていてもよい。バイトコードを解釈し、実行するVM(仮想マシン)をアプリケーション層は含む。アプリケーション層は、アプリ1乃至Nを調停し、実行させる基盤でもある。アプリケーションプラットフォームとも呼ばれる場合がある。アプリケーション層は、アプリ1乃至Nからのアクセスも検知できる。
The program of the
CPU101は、ドライバ層402のプログラムS605において、磁気ヘッドのLOADを開始させる。CPU101は、S606において、LOAD時間をカウントするカウンタをスタートさせる。本実施例においては、LOAD時間は15SECであるが、用いるHDDの仕様によるものである。CPU101は、S607において、LOAD回数計数するため、LOAD回数値をカウントアップする。CPU101は、S608において、LOAD回数値が、閾値、すなわちLOAD/UNLOAD回数の制限値を超えたか判断を行う。超えた場合は、S609へ進み、超えていない場合は、S611に進む。
The
LOAD/UNLOAD回数が制限値を超えた場合は、故障のリスクが大きくなり、対処が必要になる。S609に進んだ場合は、CPU101は、磁気ヘッドのUNLOADを行い、HDDへのアクセスを停止させる。
When the number of times of LOAD / UNLOAD exceeds the limit value, the risk of failure increases, and countermeasures are required. When the process proceeds to S609, the
CPU101は、S610において、HDDの改善処置を行い、フローは終了する。
In step S610, the
改善処置とは、例えば、操作部制御部106に、操作部にエラーコードおよびサービスマンコールを表示させ、ユーザーに修理を促すようにする。
The improvement measures are, for example, causing the operation
アプリケーション層のS613において、アプリケーション層401にて受信したアプリケーションデータをドライバ層402へ転送する。CPU101は、S616にて、アプリ受付時間が終了したか、判断を行う。終了と判断した場合は、S601に戻りに進み、再びプログラムをスタートする。終了していないと判断した場合は、S617へ進む。S617に進んだ場合は、CPU101は、引き続きアプリからのアクセスがあるか判断を行う。
In S <b> 613 of the application layer, the application data received by the
アクセスがない場合は、S616に戻り、アプリ受付時間内か判断を行う。アクセスがあった場合は、S618に進む。CPU101は、S618において、アクセス要求したアプリを特定し、その情報をメモリ、例えばRAM103内の603にストアする。CPU101は、S613に戻り、アプリケーション層401にて受信したアプリケーションデータをドライバ層402へ転送し、処理を続けるドライバ層402のS611では、アプリケーション層からのアプリデータ受信を待つ。アプリデータを受信した場合は、S612に進む。S612において、CPU101は、受け取ったアプリデータをHDDに転送しS614へ進む。CPU101は、S614において、LOAD時間が終了したか判断を行い、終了と判断した場合は、S615へ進む。
If there is no access, the process returns to S616 and it is determined whether the application reception time is reached. If there is an access, the process proceeds to S618. In step S <b> 618, the
終了していなおと判断した場合は、S611に戻り処理を続ける。CPU101は、S615にて、磁気ヘッドをUNLOADし、処理フローは終了し、プログラムは終了する。
If it is determined that the process has not been completed, the process returns to S611 and continues. In step S615, the
図6の処理で記録されたアクセス情報は、図7の処理で確認される。図7に、HDD113を利用するアプリケーションソフトウェアに対して、HDD113へアクセス回数を監視し、HDD113対して高頻度にアクセスを行うアプリケーションソフトウェアを特定する手段を、フローチャートを用いて説明する。フローチャートで示す手順がROM102、RAM103、HDD113のいずれかの記憶手段に記憶され、CPU101により実行される。プログラムがスタートし、CPU101は、S701にて、インターバルタイマをスタートさせる。図7の処理を実行するのは、アプリケーション層401であってもよいし、アプリXというアプリ1乃至4と同層のアプリを実装し、実行してもよい。
The access information recorded by the process of FIG. 6 is confirmed by the process of FIG. FIG. 7 illustrates a means for monitoring the number of accesses to the
アクセス頻度を測定する際、ある間隔を置いて、アクセス回数を計測する、そのためのインターバルタイマである。間隔は、HDDの仕様により決まる。CPU101はS702にて、必要なインターバルが経過したか判断を行う。経過していない場合は、S701に戻り、経過している場合は、S703へ進む。
This is an interval timer for measuring the access frequency at a certain interval when measuring the access frequency. The interval is determined by the specifications of the HDD. In step S702, the
CPU101はS703にて、各アプリのアクセス情報を取得する。取得先は、図6のフローチャートにて取得したデータである(603)。アクセス情報データは、アプリ名称と、そのアクセス時間が順次格納されている。CPU101はS704にて、取得したデータから、各アプリのHDD113へのアクセス頻度を計算する。
In step S703, the
各アプリのアクセス回数をインターバル時間で割ることで、アクセス頻度とする。CPU101はS705にて、アプリのHDD113へのアクセス頻度が、閾値を超えるものがあるかどうか判断を行う。閾値は、HDDの仕様により決まる。アクセス頻度が閾値を超えるものがない場合は、S710進み、閾値を超えるものがある場合は、S710に進む。
The access frequency is obtained by dividing the number of accesses of each application by the interval time. In step S <b> 705, the
CPU101はS710にて、アクセス情報データ603を初期化し、S701へ戻る。次のインターバルに備える。CPU101はS706にて、閾値を超えるものアプリが複数ある場合は、リストアップする。
In step S710, the
CPU101はS707にて、リストアップされた各々のアプリにおいて、HDD113へのアクセス間隔が、アプリ受付時間を超えた定期的アクセスか判断を行う。アプリ受付時間内の複数回のアクセスならば、1回のLOADでアクセスが完了してしまうため、アプリ受付時間を超えたアクセスについてカウントを行う。
In step S <b> 707, the
アプリ受付時間を超えた定期的アクセスがない場合は、S710へ進み、処理を繰り返す。 If there is no periodic access exceeding the application reception time, the process proceeds to S710 and the process is repeated.
アプリ受付時間を超えた定期的アクセスがあると判断した場合は、S708へ進む。 If it is determined that there is a periodic access exceeding the application reception time, the process proceeds to S708.
CPU101はS708にて、アプリ受付時間を超えた定期的アクセスが複数ある場合は、リストアップする。CPU101はS709にて、リストアップされた各アプリについて、停止処理を行う。あるいは、強制的に停止はせずに、アプリケーション1乃至Nの動作を停止する必要がある旨通知するだけでもよい。この際、特定されたアプリケーションではなかったコピーやファックスなど基本的なアプリケーションのみ動作を許すようにしてもよい。また、アプリケーション層のプログラムで制御できる複合機の機能を停止することができる。
If there are a plurality of periodic accesses exceeding the application reception time in S708, the
HDD113へのアクセス頻度が高いアプリについては、LOAD/UNLOAD回数を不用意に増加させ、寿命に影響があるため、監視するようになっている。
Applications that are frequently accessed to the
CPU101はS709の処理の後、S710へ進み、次のインターバルに備える。
After the processing of S709, the
アプリケーションから、HDD113へのアクセスに付随して、OSが付帯情報を作成し、HDD113に書き込むことが起きる。付帯情報とは、各アプリケーションに関連したOSが管理する情報であり、例えばタイムスタンプ、アクセスログなどの情報である。
As the application accesses the
図8にその説明図を示す。例えばアプリ(1)がアクセスを要求してきた場合、アプリケーション層401は、例えばアプリ(1)のアクセスを許可する。
FIG. 8 shows an explanatory diagram thereof. For example, when the application (1) requests access, the
アプリケーション層401は、アプリ(1)からのアクセスを受け付けると、ドライバ層402に対して、HDD113へのアクセスを通知する。通知を受けたドライバ層402は、HDD113をLOAD状態に移行させ、アプリケーション層401からアプリからのデータ、例えばWRITEデータを受け、HDD113に書き込み動作を行う。
When the
OSは、アプリケーションからのアクセスを受けた後、自らアプリケーションに基づく付帯情報を作成することがある。付帯情報は、アプリケーションデータと同じくHDD113に格納される。受付時間内に付帯情報が作成された場合は、1LOAD内でアクセスが完了するが、付帯情報の作成の具合によっては、OS自ら次のLOADを発生し、アクセスを完了させる場合がある。
The OS may create incidental information based on the application itself after receiving access from the application. The incidental information is stored in the
アプリからのアクセスが1回なのに、LOADが2回発生する場合がある。 LOAD may occur twice even though the access from the application is once.
すなわち、アプリのアクセスカウント数と、HDD113のLOAD/UNLOAD回数は一致しない。不要なLOAD/UNLOADを発生させることなく、HDD113に格納する必要がある。付帯情報は、タイムスタンプやアクセスログなどであり、アプリケーションや、OSからは、動作に影響を与える情報ではない。すなわち、いつ書き込みが行われても問題なく、時間的な制約はない。
That is, the access count number of the application and the number of LOAD / UNLOAD of the
図9に不要なLOAD/UNLOADを発生させることなく、HDD113に付帯情報を格納する手段の説明図である。作成される付帯情報は、HDD113に書き込まれるが、新たなLOADが発生する場合は、例えばRAM103に格納し蓄積しておく。例えばアプリ(1)がアクセスを要求してきた場合、アプリケーション層401は、例えばアプリ(1)のアクセスを許可する。アプリケーション層401は、アプリ(1)からのアクセスを受け付けると、ドライバ層402に対して、HDD113へのアクセスを通知する。通知を受けたドライバ層402は、HDD113をLOAD状態に移行させる。
FIG. 9 is an explanatory diagram of a means for storing incidental information in the
OSは、アプリケーションからのアクセスを受けた後、新たな作成された付帯情報と、例えばRAM103に格納し蓄積している付帯情報からデータ量を計算する。
After receiving access from the application, the OS calculates the amount of data from the newly created incidental information and the incidental information stored and accumulated in the
以下の条件の場合に、アプリケーションからのデータと、付帯情報からのデータを1LOAD中に書き込む。1LOAD時間に書き込めるデータ量>アプリケーションデータ量+付帯情報データ量
すなわち、アプリケーションアクセスに起因する、LOAD中に付帯情報データを入れ込むことによって、付帯情報データのみの不要なLOADを抑制する。
In the case of the following conditions, data from the application and data from the incidental information are written during 1 LOAD. Data amount writable in one LOAD time> Application data amount + Attached information data amount That is, by inserting the incidental information data into the LOAD caused by application access, unnecessary LOAD of only the incidental information data is suppressed.
図10に付帯情報が作成された場合のフローチャートを示す。図10は、図6に示したフローチャートのS611とS612の間に、新たなフローチャートAを追加することで、付帯情報が作成されてもLOAD/UNLOAD回数は増やすことなく対処できる。以下、前述の実施形態の差分を中心に説明するが、特に断らなければ前述の説明は援用可能なものとする。 FIG. 10 shows a flowchart when the incidental information is created. In FIG. 10, by adding a new flowchart A between S611 and S612 in the flowchart shown in FIG. 6, it is possible to cope with the increase in the number of LOAD / UNLOAD even if incidental information is created. Hereinafter, although the description will focus on the differences of the above-described embodiments, the above description can be used unless otherwise specified.
図11にフローチャートAを示す。CPU101はS1001にて、S611にて転送対象アプリデータに対して、新たな付帯情報が作成されるか、判断を行う。新たな付帯情報が作成された場合S1002に進む。新たな付帯情報が作成されない場合は、S1003へ進む。
FIG. 11 shows a flowchart A. In step S <b> 1001, the
CPU101はS1002にて、作成された新たな付帯情報をROM102に格納し、既存の付帯情報に追加する。以下ROM102とあるが付帯情報は、RAM103に記憶することとしてもよい。CPU101はS1003にて、ROM102に蓄積された付帯情報1010があるか判断を行う。ROM102に付帯情報1010がある場合は、S1004へ進む。
In step S1002, the
ROM102に付帯情報1010がない場合は、フローチャートAを抜ける。
If there is no supplementary information 1010 in the
CPU101はS1004にて、ROM102(S1008)に格納されている情報から、付帯情報の総データ量の集計を行う(FD)。CPU101はS1005にて、アプリからの総データ量の集計を行う(AD)。CPU101はS1006にて、付帯情報の総データ量とアプリからの総データ量を集計し、総転送データ量を計算する(SUM)。
In step S1004, the
CPU101はS1007にて、総転送データ量は、1LOADで転送可能か判断を行う。
In step S1007, the
転送可能と判断した場合は、S1008へ進む。転送不可と判断した場合は、S1009へ進む。CPU101はS1008にて、アプリデータ転送後に、ROM102から付帯情報の転送設定を行い、ローチャートAを抜ける。CPU101はS1009にて、アプリデータ転送後に、ROM102から付帯情報の転送設定を解除し、ローチャートAを抜ける。
If it is determined that transfer is possible, the process proceeds to S1008. If it is determined that transfer is not possible, the process proceeds to S1009. In step S <b> 1008, the
この設定により、アプリデータのHDD113への転送が優先され、付帯情報については、転送に余裕ができた場合に、転送を行うようになっている。
With this setting, priority is given to the transfer of application data to the
画像形成装置の一例としてMFP1000を説明した。不揮発性記憶手段の一例として、HDD113を説明した。CPU101は、HDD113への所定時間内のアクセス回数が所定以上になるアプリケーションを特定する。アプリケーションとは、図4等に記載のアプリ1乃至4等である。そして、CPU101は、特定したアプリケーションのHDD113へのアクセスを制限する。アクセス回数は、アプリケーションにより呼び出されるデバイスドライバの制御下で引き起こされたアクセスの回数である。デバイスドライバの一例は、ドライバ層402である。
The
また、アプリケーションの制御下でHDD113へのアクセスが1回実行され、アクセスに応じてオペレーティングシステム等による付帯情報が発行される。その結果、付帯情報が、HDD113に対して書き込まれる。結果、HDD113対するアクセスが、アクセスの発生した時間から所定時間内に引き起こされた場合、次のようにしてよい。すなわち、CPU101は、アクセス回数をまとめて1回とカウントするようにしてもよい。
Also, access to the
さらに、CPU101は、アプリケーションのHDD113に対するアクセスを検知する。
Further, the
また、MFP1000は、CPU101によるアクセスの検知に従って、一定時間カウントしたらリセットするタイマーを有する。タイマーはCPU101に内蔵されていてもよいし、ストレージ制御部に内蔵されていてもよい。タイマー動作中は、CPU101は、によるアクセスの検知をマスクしてもよい。また、タイマーがカウント状態になった回数をCPU101はカウントする。カウント回数が所定の閾値を超えた場合に、HDD101へのアクセスを禁止するようCPU101は制御する。
In addition, the
以上説明したように、本発明によれば、アプリケーションによるHDDへのアクセスを監視する事で、著しく不要なアクセスを遮断して、ロード・アンロード回数の消費を抑制する。 As described above, according to the present invention, by monitoring the access to the HDD by an application, extremely unnecessary access is blocked and consumption of the number of loads / unloads is suppressed.
101 CPU
102 ROM
103 RAM
104 バスブリッジ
105 外部インターフェース制御部
106 操作部制御部
111 デバイス制御部
112 ストレージ制御部
113 ハードディスクドライブ
101 CPU
102 ROM
103 RAM
104
Claims (8)
不揮発性記憶手段と、
前記不揮発性記憶手段への所定時間内のアクセス回数が所定以上になるアプリケーションを特定する特定手段と、
前記特定手段が特定したアプリケーションの前記不揮発性記憶手段へのアクセスを制限する制限手段と、
を備える画像形成装置。 In the image forming apparatus,
Non-volatile storage means;
Specifying means for specifying an application in which the number of accesses to the nonvolatile storage means within a predetermined time is greater than or equal to a predetermined value;
Restricting means for restricting access to the nonvolatile storage means of the application specified by the specifying means;
An image forming apparatus comprising:
前記検知手段によるアクセスの検知に従って、一定時間カウントしたらリセットするタイマーと、
前記タイマー動作中は、前記検知手段によるアクセスの検知をマスクする手段と、
前記タイマーがカウント状態になった回数をカウントするカウント手段と、
前記カウント回数が所定の閾値を超えた場合に、前記不揮発性記憶手段へのアクセスを禁止するよう制御する制御手段をさらに有する請求項1に記載の画像形成装置。 Detecting means for detecting access to the nonvolatile storage means of the application;
According to the detection of access by the detection means, a timer that resets after counting for a certain period of time,
Means for masking detection of access by the detection means during the timer operation;
Counting means for counting the number of times the timer is in a counting state;
The image forming apparatus according to claim 1, further comprising a control unit that controls to prohibit access to the non-volatile storage unit when the number of counts exceeds a predetermined threshold.
前記不揮発性記憶手段への所定時間内のアクセス回数が所定以上になるアプリケーションを特定する特定工程と、
前記特定工程で特定されたアプリケーションの前記不揮発性記憶手段へのアクセスを制限する制限工程と、
を備える制御方法。 In a control method of an image forming apparatus having a nonvolatile storage means,
A specifying step of specifying an application in which the number of accesses within a predetermined time to the nonvolatile storage means is equal to or greater than a predetermined value;
A restricting step of restricting access to the nonvolatile storage means of the application specified in the specifying step;
A control method comprising:
前記検知手段によるアクセスの検知に従って、一定時間カウントしたらリセットするタイマーと、
前記タイマー動作中は、前記検知手段によるアクセスの検知をマスクする工程と、
前記タイマーがカウント状態になった回数をカウントするカウント工程と、
前記カウント回数が所定の閾値を超えた場合に、前記不揮発性記憶手段へのアクセスを禁止するよう制御する制御工程をさらに有する請求項5に記載の制御方法。 A detection step of detecting access to the nonvolatile storage means of the application;
According to the detection of access by the detection means, a timer that resets after counting for a certain period of time,
Masking the detection of access by the detection means during the timer operation;
A counting step for counting the number of times the timer is in a counting state;
The control method according to claim 5, further comprising a control step of performing control so as to prohibit access to the non-volatile storage unit when the number of counts exceeds a predetermined threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018076457A JP2019185450A (en) | 2018-04-11 | 2018-04-11 | Image forming device and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018076457A JP2019185450A (en) | 2018-04-11 | 2018-04-11 | Image forming device and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019185450A true JP2019185450A (en) | 2019-10-24 |
Family
ID=68341381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018076457A Pending JP2019185450A (en) | 2018-04-11 | 2018-04-11 | Image forming device and control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019185450A (en) |
-
2018
- 2018-04-11 JP JP2018076457A patent/JP2019185450A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2284704B1 (en) | Information processing apparatus, method, and control program for determinnig the suitable monitoring time corresponding to a selected mode of processing | |
JP4110000B2 (en) | Storage device | |
US9277077B2 (en) | Image forming apparatus having power save function, control method thereof, and storage medium | |
US20120198134A1 (en) | Memory control apparatus that controls data writing into storage, control method and storage medium therefor, and image forming apparatus | |
US10747663B2 (en) | Storage device, computer system, and operation method of storage device configured to arbitrarily stop garbage collection | |
JP4848330B2 (en) | Image forming apparatus, image forming method, and program | |
CN107807800B (en) | Information processing apparatus and method of controlling information processing apparatus | |
US7187593B2 (en) | Control system; control apparatus; storage device and computer program product | |
JP2017142776A (en) | Life management device and life management method | |
JP5747461B2 (en) | Image forming apparatus, image forming program, and recording medium | |
US9948809B2 (en) | Image forming apparatus, memory management method for image forming apparatus, and program, using discretely arranged blocks in prioritizing information | |
US9442843B2 (en) | Information processing apparatus, method of controlling the same, and storage medium | |
JP2019185450A (en) | Image forming device and control method thereof | |
JP5658574B2 (en) | Image forming apparatus, control method therefor, and program | |
JP2006344184A (en) | Image formation device | |
JP2018063676A (en) | Information processing device, control method thereof, and program | |
US8914806B2 (en) | Information processing apparatus and virtual storage management method, and storage medium for restriction on process swapping based on process attributes and processor utilization | |
JP2006199025A (en) | Printer, processing method, program and recording medium | |
JP2014138265A (en) | Image forming apparatus | |
JP2006347100A (en) | Image forming device | |
JP2018063499A (en) | Information processing device, control method thereof, and program | |
JP2017211808A (en) | Electronic apparatus, control method thereof, and program | |
KR100449712B1 (en) | Method and apparatus for using auxiliary memory for printer | |
JP2006222581A (en) | Image forming apparatus and control method thereof, computer program, and storage medium | |
JP2004342037A (en) | Data transfer device, image forming device, data transfer control method, computer program and recording medium |