JP2021093569A - Image processing apparatus, information processing method, and program - Google Patents
Image processing apparatus, information processing method, and program Download PDFInfo
- Publication number
- JP2021093569A JP2021093569A JP2019221439A JP2019221439A JP2021093569A JP 2021093569 A JP2021093569 A JP 2021093569A JP 2019221439 A JP2019221439 A JP 2019221439A JP 2019221439 A JP2019221439 A JP 2019221439A JP 2021093569 A JP2021093569 A JP 2021093569A
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- storage device
- semiconductor storage
- cpu
- trim
- 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
Abstract
Description
本発明は、画像処理装置、情報処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an information processing method and a program.
SSD(Solid State Drive)、eMMC(embedded Multi Media Card)といった、フラッシュメモリと制御回路を備える組み込み機器向けの半導体記憶装置がある。このような半導体記憶装置はアクセス速度及び静音性等の観点でHDD(ハードディスクドライブ)よりも優れている一方で、書き換え回数に制限がある。そのため、半導体記憶装置では内蔵するフラッシュメモリの寿命を延ばすために、半導体記憶装置が備えるコントローラによってウェアレベリングと呼ばれる分散書き込みが行われている。ウェアレベリングでは、書き込み回数の少ないブロックをなるべく使用するように、ブロックを置き換えて書き込みが行われていく。そのため、情報処理装置にてウェアレベリング処理を実行中には、ブロック置き換え時にブロック消去及びデータコピー等が発生し、半導体記憶装置のパフォーマンス(読み書き性能)が低下する場合がある。 There are semiconductor storage devices for embedded devices such as SSD (Solid State Drive) and eMMC (embedded MultiMediaCard), which are equipped with a flash memory and a control circuit. While such a semiconductor storage device is superior to an HDD (hard disk drive) in terms of access speed, quietness, and the like, it has a limited number of rewrites. Therefore, in order to extend the life of the built-in flash memory in the semiconductor storage device, distributed writing called wear leveling is performed by the controller included in the semiconductor storage device. In wear leveling, writing is performed by replacing blocks so as to use blocks with a small number of writes as much as possible. Therefore, while the wear leveling process is being executed by the information processing device, block erasure, data copy, and the like may occur at the time of block replacement, and the performance (read / write performance) of the semiconductor storage device may deteriorate.
不揮発性半導体記憶装置では、パフォーマンスの低下を改善する方法としてTRIMと呼ばれる処理を行うのが一般的である。TRIMとは、記憶装置に対して、OS(オペレーティングシステム)のファイルシステムにとって不要になった記憶領域を通知するコマンドである。具体的には、TRIMというコマンドによって使用しなくなった領域を半導体記憶装置のコントローラに対して通知する。半導体記憶装置のコントローラは未使用領域を認識することにより、使用領域だけ集めて(ガーベージコレクション)ウェアレベリングすればよいので、コピーするデータ量が小さくなり、使用ブロック数も減少し、全体の書き替え回数も減少する。よって半導体記憶装置にTRIMコマンドで不要になった記憶領域を通知することにより、不必要な領域までウェアレベリング処理をする必要がなくなり、半導体記憶装置のパフォーマンス低下を抑制することができる。 In a non-volatile semiconductor storage device, a process called TRIM is generally performed as a method for improving the deterioration in performance. TRIM is a command for notifying a storage device of a storage area that is no longer needed for the OS (operating system) file system. Specifically, the area that is no longer used by the command TRIM is notified to the controller of the semiconductor storage device. By recognizing the unused area, the controller of the semiconductor storage device only needs to collect only the used area (garbage collection) for wear leveling, so that the amount of data to be copied is reduced, the number of blocks used is also reduced, and the entire rewriting is performed. The number of times also decreases. Therefore, by notifying the semiconductor storage device of the storage area that is no longer needed by the TRIM command, it is not necessary to perform wear leveling processing up to the unnecessary area, and it is possible to suppress a deterioration in the performance of the semiconductor storage device.
eMMCの規格の中には、ファイルシステムにとって不要になった記憶領域を通知するTrimコマンドが用意されており、eMMCがアイドル時間中に不要データを削除することで、データ転送速度を良好に保つことができる。ユーザが組み込み機器を使用しているタイミングでTrimを実行すると、CPUリソースが占有されてしまうため、組み込み機器の備える機能を実行することができなくなり、ユーザの利便性を損なう。よって、ユーザが組み込み機器を使用しないタイミングでTrimを実行する必要がある。Trimの実行タイミングに関する先行文献としては、印刷ジョブのジョブ状況を取得して、ジョブの中断を示す状況にあると判断したらウェアレベリングのために利用可能なTrimコマンドを実行するものがある(特許文献1参照)。 In the eMMC standard, there is a Trim command that notifies the storage area that is no longer needed for the file system, and the eMMC deletes unnecessary data during idle time to maintain good data transfer speed. Can be done. If the Trim is executed at the timing when the user is using the embedded device, the CPU resource is occupied, so that the function provided by the embedded device cannot be executed, which impairs the convenience of the user. Therefore, it is necessary to execute Trim at a timing when the user does not use the embedded device. As a prior document regarding the execution timing of Trim, there is one that acquires the job status of a print job and executes a Trim command that can be used for wear leveling when it is determined that the situation indicates a job interruption (Patent Document). 1).
しかしながら、特許文献1では、TRIM処理がジョブ実行のパフォーマンスに影響しないように考慮された内容であるが、機器全体のパフォーマンスについては考慮されていない。例えば、ジョブが実行されていないアイドル時にTRIM処理を実施している最中にユーザが操作部を操作した場合、TRIM処理と操作部の処理が競合して操作部の画面の動作が遅くなる等、機器としてのパフォーマンスに影響がある可能性がある。よって、パフォーマンスを維持するためには、ユーザが操作する可能性がある期間は、具体的にはユーザが機器に近づいている期間は、TRIM処理を行わないことが望ましい。
However, in
本発明は、半導体記憶装置を有する画像処理装置であって、前記半導体記憶装置は複数の領域に分割された半導体記憶領域を有し、前記半導体記憶領域の所定の領域に物理メモリブロック消去処理を実行させるためのTRIMコマンドを発行する発行手段を有し、前記画像処理装置の前方に操作者がいない場合に、前記発行手段は、前記TRIMコマンドを発行することを特徴とする。 The present invention is an image processing device having a semiconductor storage device, wherein the semiconductor storage device has a semiconductor storage area divided into a plurality of areas, and a physical memory block erasing process is performed in a predetermined area of the semiconductor storage area. It has an issuing means for issuing a TRIM command for execution, and the issuing means issues the TRIM command when there is no operator in front of the image processing apparatus.
本発明によれば、ユーザが操作する際のパフォーマンスへの影響を抑えつつ、半導体記憶装置のパフォーマンスの劣化を抑止することができる。 According to the present invention, it is possible to suppress the deterioration of the performance of the semiconductor storage device while suppressing the influence on the performance when the user operates the device.
以下、本発明の実施形態について図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、画像形成装置の全体の概略図である。
画像形成装置1は、コピー、ファックス等の複数の機能を備えるMFP(Multi Functional Peripheral)、プリンタ等であり、装置前面に人感センサ125を持つ。画像形成装置1は、画像処理装置の一例である。
FIG. 1 is a schematic view of the entire image forming apparatus.
The
図2は、画像形成装置1のハードウェア構成の一例を示す図である。
画像形成装置1は、コントローラ100、表示部107、操作部109、プリンタ113、スキャナ115、USB I/F117、FAX I/F119、有線LAN I/F121、無線LAN用アンテナ122、人感センサ125をハードウェア構成として含む。
FIG. 2 is a diagram showing an example of the hardware configuration of the
The
コントローラ100は、CPU101、RAM102、ROM103、記憶装置104、システムバス105、表示部コントローラ106、操作部コントローラ108、プリンタコントローラ112、スキャナコントローラ114、USBコントローラ116、FAXコントローラ118、ネットワークコントローラ120、画像処理コントローラ123、を含む。操作部109は、タッチパネル110、キー111を含む。
The
CPU101は、画像形成装置1の全体を制御する中央演算ユニットであり、各部とシステムバス105で接続されている。RAM102は、CPU101が動作するためのワークメモリであり、各種プログラムの展開や演算処理結果の保存、プリント、スキャン等の動作による画像処理コントローラ123で処理された画像データの保存に用いられる。ROM103は、CPU101の起動プログラム及び各種設定情報等が保存されるメモリである。記憶装置104は、サイズの大きなプログラム及びデータを保存しておくためのNAND型不揮発性メモリ(フラッシュメモリ)であり、本実施形態ではeMMCである。ただし、不揮発性メモリはeMMCに限定されず、SSD又はそれ以外の不揮発性メモリデバイスでもよい。
The
表示部コントローラ106は、画像データを表示部107の通信プロトコルに則り、表示部107へ送信する。操作部コントローラ108は、タッチパネル110とキー111からの入力を受け付け、CPU101の理解できるデータに変換する。プリンタコントローラ112は、CPU101により指定された画像データを印刷するにあたり、プリンタ113の印刷動作に関わる感光体ドラムやレーザー発振器、トナー定着器等の各種デバイスを制御する。スキャナコントローラ114は、スキャナ115の読み取り動作に関わる原稿検知センサ及び読み取りセンサ等の各種デバイスを制御する。
The
USBコントローラ116は、USB I/F117と外部端末をUSBケーブルで接続し、画像データ等の通信を行う。FAXコントローラ118は、FAX I/F119と公衆回線網を電話線で接続し、画像データ等の通信を行う。ネットワークコントローラ120は、有線LAN I/F121と外部端末をLANケーブルで接続して、ネットワーク通信を行う。また、ネットワークコントローラ120は、無線LAN用アンテナ122を介して外部端末と無線でデータを送受信する。画像処理コントローラ123は、スキャナ115で読み取った原稿を画像データに変換したり、拡大、縮小、モノクロ化等、プリンタ113で印刷するための画像データに変換したりする等の画像処理を行う。
The
人感センサコントローラ124は、人感センサ125の起動制御、及び画像形成装置1の前方の人(操作者)の有無をCPU101へ通知する。人感センサ125は、人等の物体を検知している間、検知信号を人感センサコントローラ124に送信する。物体を検知する方法は、例えば赤外線又は超音波等の反射を用いるものがあるが、本実施形態は検知方法をそれらに限定しない。人感センサコントローラ124は、人感センサ125で受信した検知信号を基に、検知した物体が画像形成装置1を使用するユーザであるかを判定し、ユーザである場合に、画像形成装置1の前方に人がいることをCPU101に通知する。なお、本実施形態のように人感センサコントローラ124を設けずに、人感センサ125の検知信号を直接、CPU101に送信する。そして、CPU101が画像形成装置1の前方にユーザがいるか判定してもよい。
人感センサコントローラ124は、画像形成装置1の前方の人の有無を検知する検知部の一例である。
The
The
図3は、CPU101及び記憶装置104、人感センサコントローラ124、人感センサ125の間での処理の一例を示す図である。なお、図を簡略化するため、各ブロック間を接続するシステムバス105、及び人感センサコントローラ124を省略する。
コントローラ100は、CPU101の演算によってオペレーティングシステム(OS)201を動作させる。OS201は、ソフトウェア及びハードウェア全体を制御及び管理し、多くのアプリケーションから共通して利用される基本ソフトウェアである。このOS201上には、記憶装置104に対してデータを読み書きする機能も含まれる。例えば、OS201上で動作するアプリケーションにおいて、記憶装置104のデータの読み出しを行う場合、OS201によりCPU101から記憶装置104へデータ読み出しコマンドが発行される。データ読み出しコマンドを受信した記憶装置104は、その内部の記憶装置コントローラ202を動作させ、記憶装置104内の記憶領域からコマンドで要求されたデータを取得し、CPU101へ転送する。同様に、記憶装置104にデータを書き込む場合は、OS201によりCPU101から記憶装置104へデータ書き込みコマンドが発行される。データ書き込みコマンドを受信した記憶装置104は、その内部の記憶装置コントローラ202を動作させ、記憶装置104内の記憶領域にコマンドで要求されたデータを書き込む。
FIG. 3 is a diagram showing an example of processing between the
The
また、OS201は複数のアプリケーションが記憶装置104へデータの書き込みを行ったときに、重複した記憶領域へ異なるアプリケーションがデータを書いてしまい、必要なデータが失われないよう、記憶装置104内の記憶領域を複数の領域に区切って管理する。本実施形態では、仮に5つ(記憶領域203、記憶領域204、記憶領域205、記憶領域206、記憶領域207)で分割する。記憶装置104は、半導体記憶領域の一例である。
Further, when a plurality of applications write data to the
記憶装置104にデータを書き込む際、記憶装置コントローラ202は、データ書き込みコマンドで指定された領域にデータを書き込む前に、その領域に何らかのデータが存在するか確認する。データが存在しない場合は、記憶装置コントローラ202は、指定された記憶領域にデータを書き込む。但し、記憶装置104のようなフラッシュメモリは1つのデータセルごとに書き換え回数に制限がある。そのため、記憶装置104では内蔵するフラッシュメモリの寿命を延ばすために、記憶装置コントローラ202によってウェアレベリングと呼ばれる分散書き込みが行われている。ウェアレベリングでは、書き込み回数の少ない記録ブロックをなるべく使用するように、ブロックを置き換えて書き込みが行われていく。そのため、記憶装置104にてウェアレベリング処理を実行中には、ブロック置き換え時にブロック消去及びデータコピー等が発生し、記憶装置104のパフォーマンス(読み書き性能)が低下する場合がある。これを回避する手段として、TRIMと呼ばれる処理を行うのが一般的である。
TRIMとは、記憶装置104に対して、OS201のファイルシステムにとって不要になった記憶ブロックを通知するコマンドである。具体的には、TRIMというコマンドによって使用しなくなった領域を半導体記憶装置のコントローラに対して通知する。使用しなくなった領域は、所定の領域の一例である。記憶装置コントローラ202は、未使用領域を認識することにより、使用中のブロックだけを集めて(ガーベージコレクション)ウェアレベリングすればよいので、コピーするデータ量が小さくなり、使用ブロック数も減少し、全体の書き替え回数も減少する。よって記憶装置104にTRIMコマンドで不要になった記憶ブロックを通知することにより、不必要な領域までウェアレベリング処理をする必要がなくなり、記憶装置104のパフォーマンス低下を抑制することができる。
ここで、TRIMコマンドは、半導体記憶領域の所定の領域に物理メモリブロック消去処理を実行させるためのコマンドということもできる。
When writing data to the
The TRIM is a command for notifying the
Here, the TRIM command can also be said to be a command for executing the physical memory block erasing process in a predetermined area of the semiconductor storage area.
しかしながら、上記のTRIMコマンドを発行している間、不要となった記憶領域を通知することにCPU101が占有されてしまい、OS201上の他のアプリケーションの動作に支障をきたしてしまう。例えば、画像形成装置1が印刷又はスキャンのジョブ動作を実行するために、アプリケーションでプリンタコントローラ112及びスキャナコントローラ114を制御していた場合、CPU101がTRIMコマンドにより占有されてしまうとジョブ実行が中断してしまう。他にも、ユーザ操作によりアプリケーションが表示部コントローラ106を制御していた場合、CPU101が占有されることで表示部の画面遷移等の動作が止まってしまう。上記のようにジョブ動作又はユーザが操作中にTRIMコマンドを実行すると、ユーザに画像形成装置1が故障したような誤解を与えてしまう恐れがある。したがって、TRIMコマンドを発行する場合は、ジョブが実施されておらず、かつ、ユーザが画像形成装置1を操作しない時間に限定することが望ましい。
However, while issuing the above TRIM command, the
また、ユーザが操作しない時間にTRIMコマンドを発行したとしても、記憶装置104の全ての領域を対象にしてしまうと、CPU101の占有時間が長くなってしまう。その場合、TRIMコマンドを発行するための条件が、CPU101の占有時間が長くなってもユーザの操作に影響しない時間に限定されてしまい、TRIMコマンドを発行しづらくなってしまう。これを回避するために、記憶装置104内の分割された記憶領域に対して、個別に順次TRIMコマンドを発行することが望ましい。そうすることで、1回のTRIMコマンドでCPU101を占有する時間が短くなり、TRIMコマンドを発行するための条件が緩和される。なお、例えば記憶装置104内の記憶領域203と記憶領域204のTRIMコマンドを発行したい場合、CPU101は、最初に記憶領域203のTRIMコマンドを発行し、TRIM動作が完了した後、記憶領域204のTRIMコマンドを発行する。
Further, even if the TRIM command is issued at a time when the user does not operate, if the entire area of the
ユーザが画像形成装置1を操作しない時間であるかを判定する方法として、人感センサを用いる方法がある。人感センサ125により画像形成装置1の前方の人の有無を検知できるため、人感センサ125で人を検知しない間にTRIM動作を実行することで、ユーザに不要な誤解を与えることを回避できる。
例えば、OS201は次のようにTRIM動作を実行する。まず、スタンバイ状態でジョブを実行していない状態の画像形成装置1が、人感センサ125により、画像形成装置1の前方に一定時間の間ユーザがいないことを確認する。その後、予め選択した記憶装置104内の記憶領域203又は204、205、206、207に対してTRIMコマンドを発行する。選択した記憶領域のTRIMコマンドが完了した後、人感センサを用いて、画像形成装置1の前方にユーザがいないことが確認できた場合、先ほど選択した記憶領域以外の記憶領域を選択してTRIMコマンドを発行する。画像形成装置の前方にユーザがいない間、上記のように記憶領域を選択してTRIMコマンドを、対象となった全ての記憶装置104内の全ての記憶領域のTRIMコマンドが完了するまで発行し続ける。
As a method of determining whether or not the user does not operate the
For example, OS201 executes a TRIM operation as follows. First, the
対象となった全ての記憶領域のTRIMコマンドが完了する前に、画像形成装置1の前方にユーザがいることを人感センサ125で確認した場合、それ以降はTRIMコマンドを発行せず、ユーザの操作があるまでスタンバイモードを維持する。つまり、記憶装置104内の一部の記憶領域はTRIMが実施されない。画像形成装置1の前方にいたユーザが画像形成装置1から離れてから一定時間経過後、同様に記憶装置104のTRIMを実行する。本実施形態ではその限りではないが、TRIMを実行する際、記憶領域203又は204、205、206、207の内の先ほどTRIMされなかった領域を優先的に実施してもよい。
If the
図4は、画像形成装置1がTRIM動作を実行する際の情報処理の一例を示すフローチャートである。このフローチャートは、画像形成装置1に電源が投入され、スタンバイ状態に移行する時点から始まる。
まず、S401で、CPU101は、画像形成装置の状態を確認し、かつ、ユーザが画像形成装置1の前方にいるかを確認するサブプロセスを実行する。サブプロセスの詳細は後述する。S401で、画像形成装置がスタンバイ状態であり、かつ、一定時間ユーザが画像形成装置1の前方にいないことが確認できたならば、CPU101は、S402以降に進み、記憶装置104のTRIM動作を開始する。
S402で、CPU101は、記憶装置104のTRIMが未完了の記憶領域の内の1つを選択する。
FIG. 4 is a flowchart showing an example of information processing when the
First, in S401, the
In S402, the
選択した記憶領域について、S403で、CPU101は、TRIMコマンドを実行する。
S404で、選択した記憶領域においてTRIMコマンドが完了する。
S405で、CPU101は、人感センサ125でユーザを検知しているか判定する。ユーザが画像形成装置1の前方にいる(S405:No)場合、CPU101は、以降の記憶装置104へのTRIMコマンド発行を終了し、S401へ戻る。ユーザが画像形成装置1の前方にいない(S405:Yes)場合、CPU101は、S406に進む。
In S403, the
In S404, the TRIM command is completed in the selected storage area.
In S405, the
S406で、CPU101は、画像形成装置1が予め決められたスリープ設定時刻に達していないか確認する。スリープ設定時刻に達していた(S406:No)場合、CPU101は、S409に進む。
S409で、CPU101は、スリープ状態に移行する。スリープ設定時刻に達していない(S406:Yes)の場合、CPU101は、S407に進む。
In S406, the
In S409, the
S407で、CPU101は、記憶装置104にTRIM未完了の記憶領域が無いか確認する。TRIM未完了の記憶領域がある(S407:Yes)場合、CPU101は、S402に戻り、記憶装置104のTRIM動作を継続する。TRIM未完了の記憶領域がない(S407:No)場合、CPU101は、S408に進む。
S408で、CPU101は、画像形成装置1がスリープ時刻に達するまで待機後、S409に進む。S409で、CPU101は、画像形成装置1をスリープ状態へ移行する。その後、S410で、CPU101は、スリープ復帰要因を検知するまでスリープ状態を継続し、スリープ復帰要因を検知したら、S401へ戻り、スタンバイ状態に移行する。
In S407, the
In S408, the
上記のフローチャートのように、人感センサ125でユーザを検知した(S405:No)場合に記憶装置104へのTRIMコマンドの発行を終了すると、記憶装置104内の一部の記憶領域はTRIMが未実行となる。言い換えると、記憶装置104全体としてのTRIMを中断することが可能である。したがって、ユーザが画像形成装置1の前方に立った場合には、画像形成装置1はスタンバイモードであり、TRIMに起因する画像形成装置1の操作性低下を抑制できる。これにより、人感センサ125を用いて画像形成装置1をユーザが操作しない期間を特定してTRIM処理を実行できるため、ユーザが操作する際のパフォーマンス影響を最小限にしたまま、記憶装置104の各記憶領域に対してTRIM処理を行い、記憶装置104のパフォーマンスの劣化を抑止することができる。
When the issuance of the TRIM command to the
図5は、図4におけるサブプロセスS401の内部フローの一例を示す図である。
まず、S501で、CPU101は、画像形成装置1をスタンバイモードに移行する。S502で、CPU101は、画像形成装置1でジョブが選択されたか確認する。S502でジョブが選択されない(S502:Yes)場合、CPU101は、S503に進む。S503で、CPU101は、画像形成装置1の前方にユーザがいるか確認する。画像形成装置1の前方にユーザがいる(S503:No)場合、CPU101は、S502に戻る。画像形成装置1の前方にユーザがいない(S503:Yes)場合、CPU101は、S504に進む。
FIG. 5 is a diagram showing an example of the internal flow of the subprocess S401 in FIG.
First, in S501, the
S504で、CPU101は、待機時間のカウントを開始する。この待機時間とは、TRIMコマンドを発行してよいかを判定するために使用される。待機時間カウントが開始された後、S505で、人感センサが画像形成装置1の前方にユーザを検知した(S505:Yes)場合、CPU101は、S506へ進む。S506で、CPU101は、待機時間カウントを終了し、S502に戻る。S505で人感センサ125が画像形成装置1の前方にユーザを検知しない(S505:No)場合、CPU101は、S507に進む。
At S504, the
S507で、CPU101は、待機時間が予め決められた規定時間1(例えば、本実施形態では5秒)より長くなるか判断する。S507で待機時間が規定時間1よりも短い場合、CPU101は、S505に戻る。S507で待機時間が規定時間1よりも長い場合、CPU101は、S508に進む。S508で、CPU101は、待機時間カウントを終了後、記憶装置104のTRIMの実行するため、サブプロセスS401を終了する。規定時間1は、設定時間の一例である。
In S507, the
S502でジョブが選択された(S502:No)場合、CPU101は、S509へ進む。S509で、CPU101は、選択されたジョブを実行する。ジョブ実行中、S510で、CPU101は、人感センサ125がOFFか否かを判定する。人感センサ125が画像形成装置1の前方にユーザを検知している(S510:No)場合、CPU101は、S511へ進む。
When a job is selected in S502 (S502: No), the
S511で、CPU101は、ジョブが終了したか判断する。ジョブが終了しない(S511:No)間は、CPU101は、S510に戻り、S511との遷移を繰り返す。S511でジョブが終了(S511:Yes)した場合、CPU101は、S501へ戻る。S501で、画像形成装置1はスタンバイ状態に移行する。S510において、ジョブ実行中にユーザが画像形成装置1の前方から離れた(S510:Yes)場合、CPU101は、S512へ進む。ジョブが終了しない(S512:No)場合は、CPU101は、S510へ戻り、S512との遷移を繰り返す。
In S511, the
S512でジョブが終了した(S512:Yes)場合、CPU101は、S513に進む。S513で、CPU101は、待機時間カウントを開始する。その後、S514で、CPU101は、人感センサ125がOFFか否かを判定する。人感センサ125が画像形成装置1の前方にユーザを検知しない(S514:No)場合、CPU101は、S515に進む。
When the job is completed in S512 (S512: Yes), the
S515で、CPU101は、待機時間が予め決められた規定時間2(例えば、本実施形態では30秒)より長くなるか判断する。S515で待機時間が規定時間2よりも短い場合、CPU101は、S514に戻る。S515で待機時間が規定時間2よりも長い場合、CPU101は、S516へ進む。S516で、CPU101は、待機時間カウントを終了後、記憶装置104のTRIMの実行するため、サブプロセスS401を終了する。規定時間2は、設定時間の一例である。
In S515, the
上記のサブプロセスS401において、S507とS515では、待機時間と比較される規定時間が異なってよい。なぜならば、S507とS515ジョブ終了後のユーザの動作が異なるからである。S507の場合、画像形成装置1のジョブが終了後にユーザが離れているため、ユーザは成果物を回収していると予想される。ここで、成果物とは、印刷ジョブの場合は印刷物であり、スキャンジョブ等の場合はスキャンした原紙のことである。しかし、S515の場合は、実行されたジョブの成果物が残っている状態である。ユーザは、ジョブ実行中に画像形成装置1から離れる場合があるが、ジョブ終了後は成果物を回収するために画像形成装置1へ戻ってくることが予想される。したがって、画像形成装置1は、ユーザが戻ってきた場合に即座にジョブを実行できるよう、規定時間を長くとることが望ましい(規定時間1<規定時間2)。
In the above subprocess S401, the specified time compared with the waiting time may be different between S507 and S515. This is because the user's behavior after the S507 and S515 jobs are completed is different. In the case of S507, since the user is separated after the job of the
なお、S507において、規定時間を設けない場合も想定されるが、規定時間は設けた方が望ましい。なぜならば、S505において、画像形成装置1の前方から離れたユーザとは別のユーザが、画像形成装置1を使用する場合があるからである。その際、2人のユーザが立ち位置を替える間に画像形成装置1がTRIMを開始してしまうと、2人目のユーザが即座に画像形成装置1を使用できないためである。
In S507, it is assumed that the specified time is not provided, but it is desirable to provide the specified time. This is because, in S505, a user other than the user who is away from the front of the
本実施形態によれば、人感センサ125によってユーザが画像形成装置1の前方にいない期間を特定して記憶装置104の記憶領域へTRIM処理を実行することで、ユーザが操作する際のパフォーマンス影響を最小限にしたまま、記憶装置104のパフォーマンスの劣化を抑止することができる。
According to the present embodiment, the
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給する。そして、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other Embodiments>
The present invention supplies a system or device with a program that realizes one or more of the functions of the above-described embodiment via a network or a storage medium. It can also be realized by a process in which one or more processors in the computer of the system or apparatus reads and executes a program. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
以上、本発明の実施形態の一例について詳述したが、本発明は係る特定の実施形態に限定されるものではない。 Although an example of the embodiment of the present invention has been described in detail above, the present invention is not limited to the specific embodiment.
以上、上述した各実施形態によれば、人感センサによって、画像形成装置をユーザが操作しない期間を特定してTRIM処理を実行できるため、ユーザが操作する際のパフォーマンス影響を最小限にしたまま、半導体記憶装置の各領域に対してTRIM処理を行い、半導体記憶装置のパフォーマンスの劣化を抑止することができる。 As described above, according to each of the above-described embodiments, the motion sensor can specify the period during which the user does not operate the image forming apparatus and execute the TRIM process, so that the performance impact when the user operates the image forming apparatus is kept to a minimum. , TRIM processing can be performed on each region of the semiconductor storage device, and deterioration of the performance of the semiconductor storage device can be suppressed.
1 画像形成装置
101 CPU
104 記憶装置
125 人感センサ
1
104
Claims (7)
前記半導体記憶装置は複数の領域に分割された半導体記憶領域を有し、
前記半導体記憶領域の所定の領域に物理メモリブロック消去処理を実行させるためのTRIMコマンドを発行する発行手段を有し、
前記画像処理装置の前方に操作者がいない場合に、前記発行手段は、前記TRIMコマンドを発行することを特徴とする画像処理装置。 An image processing device having a semiconductor storage device.
The semiconductor storage device has a semiconductor storage area divided into a plurality of areas, and has a semiconductor storage area.
It has an issuing means for issuing a TRIM command for executing a physical memory block erasing process in a predetermined area of the semiconductor storage area.
An image processing device characterized in that the issuing means issues the TRIM command when there is no operator in front of the image processing device.
前記半導体記憶装置は複数の領域に分割された半導体記憶領域を有し、
前記半導体記憶領域の所定の領域に物理メモリブロック消去処理を実行させるためのTRIMコマンドを発行する工程を含み、
前記画像処理装置の前方に操作者がいない場合に、前記工程では、前記TRIMコマンドを発行することを特徴とする情報処理方法。 An information processing method executed by an image processing device having a semiconductor storage device.
The semiconductor storage device has a semiconductor storage area divided into a plurality of areas, and has a semiconductor storage area.
A step of issuing a TRIM command for executing a physical memory block erasing process in a predetermined area of the semiconductor storage area is included.
An information processing method characterized in that the TRIM command is issued in the step when there is no operator in front of the image processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019221439A JP2021093569A (en) | 2019-12-06 | 2019-12-06 | Image processing apparatus, information processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019221439A JP2021093569A (en) | 2019-12-06 | 2019-12-06 | Image processing apparatus, information processing method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021093569A true JP2021093569A (en) | 2021-06-17 |
Family
ID=76310974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019221439A Pending JP2021093569A (en) | 2019-12-06 | 2019-12-06 | Image processing apparatus, information processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021093569A (en) |
-
2019
- 2019-12-06 JP JP2019221439A patent/JP2021093569A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9360912B2 (en) | Shutdown processing mode with forcible power off | |
JP5917163B2 (en) | Information processing apparatus, control method and program thereof, and storage medium | |
JP6289128B2 (en) | Information processing apparatus, control method therefor, and program | |
CN107807800B (en) | Information processing apparatus and method of controlling information processing apparatus | |
JP2015222909A (en) | Image formation apparatus, control method therefor and program | |
JP2019008372A (en) | Information processing apparatus, control method thereof and program | |
JP6703790B2 (en) | Information processing apparatus, control method thereof, and program | |
KR101596095B1 (en) | Printing apparatus and recording medium | |
JP2014138342A (en) | Image forming device | |
JP2017130071A (en) | Image processing apparatus, memory control device, and memory control method | |
JP6758873B2 (en) | Power control method for image forming equipment | |
JP2021090169A (en) | Image forming apparatus and method for controlling image forming apparatus | |
JP6226243B2 (en) | Image forming apparatus, operation control method, and operation control program | |
JP2021093569A (en) | Image processing apparatus, information processing method, and program | |
JP2012168374A (en) | Image forming apparatus, method of controlling image formation, program for controlling image formation, and recording medium | |
JP2008067299A (en) | Image forming apparatus | |
JP2014138265A (en) | Image forming apparatus | |
JP7384031B2 (en) | Printing device, control method, and control program | |
JP2021099642A (en) | Information processing device and method for controlling information processing device | |
JP6459570B2 (en) | Image forming apparatus, activation control method, and activation control program | |
JP7313840B2 (en) | Information processing device, control method for information processing device, and program | |
JP2018063499A (en) | Information processing device, control method thereof, and program | |
JP2012070028A (en) | Image forming apparatus | |
JP6745040B2 (en) | Management device, image processing device, user detection range changing method | |
JP2021026319A (en) | Image forming apparatus and method for controlling image forming apparatus |