JP6380815B2 - Storage device use management program and electronic device - Google Patents

Storage device use management program and electronic device Download PDF

Info

Publication number
JP6380815B2
JP6380815B2 JP2016040539A JP2016040539A JP6380815B2 JP 6380815 B2 JP6380815 B2 JP 6380815B2 JP 2016040539 A JP2016040539 A JP 2016040539A JP 2016040539 A JP2016040539 A JP 2016040539A JP 6380815 B2 JP6380815 B2 JP 6380815B2
Authority
JP
Japan
Prior art keywords
storage device
execution
management program
job
use management
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.)
Expired - Fee Related
Application number
JP2016040539A
Other languages
Japanese (ja)
Other versions
JP2017107525A (en
Inventor
知樹 親里
知樹 親里
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to US15/357,108 priority Critical patent/US10152348B2/en
Priority to CN201611033583.3A priority patent/CN106802771B/en
Publication of JP2017107525A publication Critical patent/JP2017107525A/en
Application granted granted Critical
Publication of JP6380815B2 publication Critical patent/JP6380815B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、SSD(Solid State Drive)等の有寿命不揮発性記憶装置を活用する記憶域管理プログラム、及び記憶域管理プログラムを備えた電子機器に関する。   The present invention relates to a storage area management program that uses a life-span nonvolatile storage device such as an SSD (Solid State Drive), and an electronic device that includes the storage area management program.

画像形成装置その他の電子機器に用いられる不揮発性記憶装置としては、HDD(Hard Disk Drive)が広く用いられている。近年においては、半導体に関する技術進歩、低価格化により、SSD、NANDフラッシュデバイス等の半導体を用いた不揮発性記憶装置も用いられる。読出しの所要時間がHDDよりも短く、有用である。しかし、半導体を用いた不揮発性記憶装置の多くは、書込み回数の限界による寿命を有する。永久的に使用できるものではなく、使用に当たってはこの点に留意する必要がある。   HDDs (Hard Disk Drives) are widely used as nonvolatile storage devices used in image forming apparatuses and other electronic devices. In recent years, non-volatile memory devices using semiconductors such as SSDs and NAND flash devices are also used due to technological advances and cost reductions related to semiconductors. The time required for reading is shorter than that of the HDD, which is useful. However, many nonvolatile memory devices using semiconductors have a lifetime due to the limit of the number of times of writing. It cannot be used permanently, and it is necessary to keep this in mind when using it.

この点について、特許文献1には、画像処理の種別毎に処理ページ数と実行回数を求めて書込み回数を算出し、書込み回数が閾値以上の時にその旨を報知する画像処理装置が開示されている。   With respect to this point, Patent Document 1 discloses an image processing apparatus that calculates the number of processing pages and the number of executions for each type of image processing, calculates the number of times of writing, and notifies that when the number of times of writing exceeds a threshold value. Yes.

また、特許文献2には、有寿命不揮発性記憶装置の不良ブロックの数が特定の数に達した場合に、有寿命不揮発性記憶装置への書込みを制限する画像形成装置が開示されている。   Patent Document 2 discloses an image forming apparatus that restricts writing to a lifetime nonvolatile memory device when the number of defective blocks of the lifetime nonvolatile memory device reaches a specific number.

特開2013−152661号公報JP 2013-152661 A 特開2009−055457号公報JP 2009-055457 A

特許文献1に開示された画像処理装置は、書込み回数が閾値以上であること、すなわちジョブの実行に困難を伴うことを報知するものであるが、具体的にどのジョブの実行を抑制するかについてはユーザーの判断に委ねられる。かかる判断をユーザーが行うことは容易でない。   The image processing apparatus disclosed in Patent Document 1 notifies that the number of writings is equal to or greater than a threshold value, that is, it is difficult to execute a job. Is left to the user's discretion. It is not easy for the user to make such a determination.

特許文献2に開示された画像形成装置は、全てのジョブについて一様に制限する。ユーザーによる需要の多いジョブを例外的に実行することができるものではない。   The image forming apparatus disclosed in Patent Document 2 uniformly restricts all jobs. Jobs with high demand by users cannot be executed exceptionally.

本発明は、SSD等の書込み回数の制限を有する不揮発性記憶装置の書込みが制限される中で、不揮発性記憶装置の使用効率の高いジョブを優先させて不揮発性記憶装置を効率的に活用する電子機器用の記憶装置使用管理プログラムを提供することを課題とする。また、記憶装置使用管理プログラムを備えた電子機器を提供することを課題とする。   The present invention makes efficient use of a non-volatile storage device by giving priority to a job having a high use efficiency of the non-volatile storage device while the writing of the non-volatile storage device having a limited number of times of writing such as SSD is limited. It is an object to provide a storage device use management program for an electronic device. It is another object of the present invention to provide an electronic device including a storage device use management program.

本発明の記憶装置使用管理プログラムは、
電子機器に備えられた書込み回数の制限を有する不揮発性記憶装置の使用を管理する記憶装置使用管理プログラムであって、
ジョブをクラスに分類し、前記ジョブの実行評価値及び前記不揮発性記憶装置への書込みデータ量を前記クラス毎に記録する実績記録部、及び
前記実行評価値及び前記書込みデータ量に基づいて効率指数を計算し、前記効率指数の値が閾値以下の、又は、前記クラスを前記効率指数の小さな順に並べたときに先頭から特定の数のクラスのジョブの実行を制限するジョブ制御部
として前記電子機器のコンピューターを機能させることを特徴とする。
The storage device use management program of the present invention includes:
A storage device use management program for managing the use of a nonvolatile storage device having a limit on the number of times of writing provided in an electronic device,
The job is classified into classes, and the performance evaluation value of the job and the amount of data written to the nonvolatile storage device are recorded for each class, and the efficiency index based on the execution evaluation value and the amount of write data The electronic device as a job control unit that limits execution of jobs of a specific number of classes from the top when the efficiency index value is equal to or less than a threshold value or when the classes are arranged in ascending order of the efficiency index It is characterized by functioning a computer.

この特徴によれば、ジョブのクラスに依存して、ジョブの実行を制御(制限又は非制限)することができる。効率指数によって、非制限とすべき度合いを定めることができる。   According to this feature, the execution of a job can be controlled (restricted or unrestricted) depending on the class of the job. The efficiency index can determine the degree to be unrestricted.

本発明の記憶装置使用管理プログラムは、
前記実行評価値は、ジョブの実行回数であることを特徴とする。
The storage device use management program of the present invention includes:
The execution evaluation value is a job execution count.

この特徴によれば、ジョブの実行回数に依存して効率指数を定めることができる。そして、頻繁に実行される(需要の大きな)ジョブの属するクラスは非制限となる可能性を高くするような制御が可能となる。   According to this feature, the efficiency index can be determined depending on the number of job executions. Further, it is possible to perform control that increases the possibility that a class to which a frequently executed job (large demand) belongs is not restricted.

本発明の記憶装置使用管理プログラムは、
ユーザーに重要度が割り当てられ、
前記実行評価値は、ジョブの実行ごとにその実行を指示したユーザーに係る前記重要度を加算した値であることを特徴とする。
The storage device use management program of the present invention includes:
The user is assigned an importance,
The execution evaluation value is a value obtained by adding the importance related to a user who gives an instruction to execute each job execution.

この特徴によれば、重要度の大きなユーザーが実行するジョブの属するクラスの実行評価値が大きなものとなる。それにより、重要度の大きなユーザーが頻繁に実行するクラスのジョブに制限がかかってしまう可能性を小さくすることができる。   According to this feature, the execution evaluation value of a class to which a job executed by a user with high importance belongs is large. As a result, it is possible to reduce the possibility that a job of a class frequently executed by a user having a high degree of importance will be restricted.

本発明の記憶装置使用管理プログラムは、
前記効率指数は、1のジョブ当たりの前記書込みデータ量である平均書込みデータ量の減少関数であり、前記実行評価値の増加関数であることを特徴とする。
The storage device use management program of the present invention includes:
The efficiency index is a decrease function of the average write data amount that is the write data amount per job, and is an increase function of the execution evaluation value.

この特徴によれば、平均書込みデータ量が少ないほど、効率指数が高くなる。不揮発性記憶装置の負担の小さいジョブを優先的に実行するものである。また、実行評価値が大きいほど、効率指数が高くなる。頻繁に実行される(需要の大きな)ジョブを優先的に実行するものである。   According to this feature, the smaller the average write data amount, the higher the efficiency index. A job with a small burden on the nonvolatile storage device is preferentially executed. Further, the larger the execution evaluation value, the higher the efficiency index. A job that is frequently executed (large demand) is preferentially executed.

本発明の記憶装置使用管理プログラムは、
前記効率指数は、前記実行評価値を前記平均書込みデータ量で除した値であることを特徴とする
The storage device use management program of the present invention includes:
The efficiency index is a value obtained by dividing the execution evaluation value by the average write data amount.

この特徴によれば、単純な計算によって効率指数を求めることができる。   According to this feature, the efficiency index can be obtained by a simple calculation.

本発明の記憶装置使用管理プログラムは、
前記ジョブ制御部は、前記不揮発性記憶装置の書込み回数を監視し、前記書込み回数に
基づいてジョブの実行を制限するか否かを判断するクラスを定めることを特徴とする。
The storage device use management program of the present invention includes:
The job control unit monitors the number of writes in the nonvolatile storage device, and determines a class for determining whether to limit job execution based on the number of writes.

この特徴によれば、不揮発性記憶装置の書込み回数の余裕に基づいてジョブの実行の制限を変更し、不揮発性記憶装置を有効に活用することができる。   According to this feature, it is possible to change the job execution limit based on the number of times of writing in the nonvolatile storage device and to effectively use the nonvolatile storage device.

本発明の電子機器は、
記憶装置使用管理プログラムを実行するプロセッサーと、書込み回数の制限を有する不揮発性記憶装置とを備え、
前記記憶装置使用管理プログラムは、上述の電子機器用の記憶装置使用管理プログラムであることを特徴とする。
The electronic device of the present invention is
A processor that executes a storage device use management program; and a nonvolatile storage device that has a limit on the number of writes.
The storage device use management program is a storage device use management program for electronic devices described above.

この特徴によれば、上述の記憶装置管理プログラムを活用した電子機器が提供される。   According to this feature, an electronic apparatus utilizing the above-described storage device management program is provided.

なお、上述の記憶装置管理プログラムを活用した画像形成装置を提供することができる。画像形成装置は、カラー印刷、モノクロ印刷、その他ジョブを容易にクラスに分類することができ、本発明の記憶装置管理プログラムを活用するのに好適である。   An image forming apparatus using the above-described storage device management program can be provided. The image forming apparatus can easily classify color printing, monochrome printing, and other jobs into classes, and is suitable for utilizing the storage device management program of the present invention.

本発明によれば、不揮発性記憶装置の使用効率の高いジョブを優先させて不揮発性記憶装置を効率的に活用する記憶装置使用管理プログラムが提供される。また、記憶装置使用管理プログラムを備えた電子機器が提供される。   According to the present invention, there is provided a storage device usage management program that prioritizes jobs with high use efficiency of a nonvolatile storage device and efficiently uses the nonvolatile storage device. In addition, an electronic apparatus provided with a storage device use management program is provided.

図1は、電子機器の構成を示す図である。FIG. 1 is a diagram illustrating a configuration of an electronic device. 図2は、効率指数の計算例を示す図である。FIG. 2 is a diagram illustrating a calculation example of the efficiency index. 図3は、記憶装置使用管理プログラムの処理を示すフローチャートである。FIG. 3 is a flowchart showing the processing of the storage device use management program.

以下、電子機器が画像形成装置であるものとして、本発明の実施例を示す。   Hereinafter, examples of the present invention will be described assuming that the electronic apparatus is an image forming apparatus.

図1は、本発明の電子機器の構成を示す図である。画像形成装置(電子機器)1は、制御部2及び記憶部3を備えている。   FIG. 1 is a diagram showing a configuration of an electronic apparatus according to the present invention. The image forming apparatus (electronic device) 1 includes a control unit 2 and a storage unit 3.

制御部2は、ジョブ制御部21及び実績記録部22を含む。   The control unit 2 includes a job control unit 21 and a performance recording unit 22.

ジョブ制御部21は、効率指数を計算し、効率指数の低いクラスのジョブの実行を制限する。詳細については後述する。   The job control unit 21 calculates an efficiency index and restricts execution of a job of a class having a low efficiency index. Details will be described later.

実績記録部22は、ジョブの実行回数、実行評価値及び不揮発性記憶装置への書込みデータ量をクラス別に集計して記憶装置32に記録する。   The performance record unit 22 aggregates the number of job executions, the execution evaluation value, and the amount of data written to the nonvolatile storage device by class, and records them in the storage device 32.

なお、制御部2は、例えば、CPU(Central Processing Unit)等のプロセッサーであり、プログラムを実行することによりジョブ制御部21及び実績記録部22として動作する。ジョブ制御部21及び実績記録部22に係るプログラムによって電子機器用の記憶装置使用管理プログラムが構成される。   The control unit 2 is a processor such as a CPU (Central Processing Unit), for example, and operates as the job control unit 21 and the performance recording unit 22 by executing a program. A storage device usage management program for electronic devices is configured by the programs related to the job control unit 21 and the performance recording unit 22.

記憶部3は、SSD(Solid State Drive)31と書込み回数の制限のない記憶装置(例えばHDD(Hard Disk Drive))32を含む。   The storage unit 3 includes an SSD (Solid State Drive) 31 and a storage device (for example, an HDD (Hard Disk Drive)) 32 with no limit on the number of times of writing.

SSD31は、広く一般に用いられているものであり、書込み回数の制限が設けられたものである。SSD31は、物理的な複数のブロックを有する。各ブロックへの書込み回数は、SSD31の機能により複数のブロック間で平準化されている。同一のブロックへの書込み回数が上限値に達すると、そのブロックへの書き込みができなくなり、不良ブロックとなる。つまり、SSD31の寿命は、SSD31への書き込みデータ量に依存する。従って、SSD31への書込みデータ量を集計することによって、不良ブロックの発生がおおよそ推定できる。また、SSD31は、発生した不良ブロック数を通知するいわゆるS.M.A.R.T.(Self-Monitoring Analysis and Reporting Technology)機能を備える。   The SSD 31 is widely used and is provided with a limit on the number of times of writing. The SSD 31 has a plurality of physical blocks. The number of writes to each block is leveled between a plurality of blocks by the function of the SSD 31. When the number of times of writing to the same block reaches the upper limit value, writing to that block becomes impossible and a defective block is formed. That is, the life of the SSD 31 depends on the amount of data written to the SSD 31. Therefore, the occurrence of defective blocks can be roughly estimated by counting the amount of data written to the SSD 31. Further, the SSD 31 notifies the so-called S.D. M.M. A. R. T.A. (Self-Monitoring Analysis and Reporting Technology)

ちなみに、SSD31は、SSD31の全ブロックに対する不良ブロックの比率が特定の値(例えば10%)に達すると、SSD31の寿命が尽きたものされる。各ブロックへの書込み回数は複数のブロック間で平準化されているので、SSD31の全ブロックが不良ブロックになるのに要する書込み回数に対するSSD31への書込み回数(詳細にはSSD31の各ブロックへの書込み回数の合計値)の比率が、特定の値(例えば10%)に達すると、SSD31の寿命が尽きたものと言い換えることができる。   Incidentally, when the ratio of bad blocks to all blocks of the SSD 31 reaches a specific value (for example, 10%), the life of the SSD 31 is exhausted. Since the number of writes to each block is leveled among a plurality of blocks, the number of writes to the SSD 31 with respect to the number of writes required for all blocks of the SSD 31 to become defective blocks (specifically, the write to each block of the SSD 31) When the ratio of the total number of times reaches a specific value (for example, 10%), it can be said that the life of the SSD 31 has expired.

書込み回数の制限のない記憶装置32には、実行回数321、実行評価値322及び書込みデータ量323が保存されている。ただし、実行回数321と実行評価値322とは、後述のように同一である(又は比例する)場合もある。その場合には、いずれか一方を保存すればよい。   The storage device 32 with no limit on the number of times of writing stores the number of times of execution 321, the execution evaluation value 322, and the amount of write data 323. However, the execution count 321 and the execution evaluation value 322 may be the same (or proportional) as described later. In that case, either one may be saved.

以下、実際にジョブの実行を制限する手順について説明する。   The procedure for actually restricting job execution will be described below.

図2は、効率指数の計算例を示す図である。効率指数eは、ジョブをクラスに分類してクラス別に求められる。本実施例では、本発明に掛かる電子機器は画像形成装置1であり、Print Mono(モノクロ印刷)、Print Color(カラー印刷)、Copy(コピー)等のクラスに分類されている。   FIG. 2 is a diagram illustrating a calculation example of the efficiency index. The efficiency index e is obtained by classifying jobs into classes. In this embodiment, the electronic apparatus according to the present invention is the image forming apparatus 1 and is classified into classes such as Print Mono (monochrome printing), Print Color (color printing), and Copy (copy).

ジョブの実行回数n(321)、実行評価値N(322)及び書込みデータ量d(323)は、実績記録部22によって集計され、記憶装置32に記憶されている。実績記録部22は、ジョブが実行される都度、実行回数nの値を1だけ増加させ、実行評価値N(322)の値をジョブの実行を指示したユーザーの重要度だけ増加させ、書込みデータ量dの値をSSD31に書込まれたデータ量(例えばメガバイト単位)だけ増加させる。   The job execution count n (321), the execution evaluation value N (322), and the write data amount d (323) are tabulated by the record recording unit 22 and stored in the storage device 32. Each time the job is executed, the result recording unit 22 increases the value of the number of executions n by 1 and increases the value of the execution evaluation value N (322) by the importance of the user who has instructed execution of the job. The value of the amount d is increased by the amount of data written in the SSD 31 (for example, in megabyte units).

ここで、ジョブの実行を指示したユーザーの重要度は各々のユーザーに割り当てられた値である。ジョブの実行を指示したユーザーはユーザーID等によって決定できるものとし、実績記録部22は、そのユーザーの重要度を実行評価値N(322)の値に加算する。   Here, the importance of the user who instructed the execution of the job is a value assigned to each user. The user who has instructed execution of the job can be determined by the user ID or the like, and the result recording unit 22 adds the importance of the user to the value of the execution evaluation value N (322).

ユーザーに基づいて重要度を定める手順は、ユーザーと重要度との対応を表すデータを保持して利用する、ユーザー名を所定のルールで付してユーザー名から重要度を求める、ジョブの実行を指示した端末機のIDによって(ユーザーを推測して)重要度を求める、その他いかなる手順でもよい。   The procedure to determine the importance level based on the user is to hold and use the data indicating the correspondence between the user and the importance level, attach the user name according to a predetermined rule, obtain the importance level from the user name, execute the job Any other procedure may be used in which the importance is obtained (estimating the user) based on the instructed terminal ID.

重要度は、例えば、一般のユーザーの重要度を1とし、社内で上位の役職にあるユーザーの重要度を2とし、重要かつ緊急のプロジェクトに携わるユーザーの重要度を3とする。そのユーザーが実行を指示するジョブを制限させないために、重要度を大きくすることができる。   As the importance, for example, the importance of a general user is 1, the importance of a user in a higher rank in the company is 2, and the importance of a user who is involved in an important and urgent project is 3. The importance can be increased so as not to limit the jobs that the user instructs to execute.

なお、重要度が全てのユーザーについて同一であるとすることもできる。その場合、実行回数nと実行評価値Nとは等しくなる(又は比例する)。この場合には、実行回数nと実行評価値Nのいずれか一方のみを保存すればよい。   Note that the importance may be the same for all users. In this case, the execution count n and the execution evaluation value N are equal (or proportional). In this case, only one of the execution count n and the execution evaluation value N may be stored.

平均書込みデータ量mは、1ジョブ当たりの書込みデータ量であって、m=d/nとして計算される。なお、実績記録部22は、書込みデータ量dに替えて平均書込みデータ量mを記憶装置32に(書込みデータ量323として)保存してもよい。   The average write data amount m is the write data amount per job, and is calculated as m = d / n. The record recording unit 22 may store the average write data amount m in the storage device 32 (as the write data amount 323) instead of the write data amount d.

効率指数eは、実行回数n、実行評価値N及び書込みデータ量dに基づいて、ジョブ制御部21によりe=f(n,N,d)として計算される。本実施例では、e=f(n,N,d)=N/m=N/(d/n)=nN/dとした。関数fは任意に設計することができる。例えば、e=f’(N,m)=N/mとしてもよい。ただし、平均書込みデータ量が少ないほど、実行評価値が大きいほど、効率指数が高くなるべきである。すなわち、効率指数eは、平均書込みデータ量mの減少関数として表され、実行評価値Nの増加関数として表されるべきである。従って、f(n,N,d)をf’(N,m)とできるとき(dをnmに置換して、関数fを変数nを含まない変数N、mの関数f’とできるとき)、∂f’/∂N>0、∂f’/∂m<0となることが好ましい。   The efficiency index e is calculated by the job control unit 21 as e = f (n, N, d) based on the execution count n, the execution evaluation value N, and the write data amount d. In this embodiment, e = f (n, N, d) = N / m = N / (d / n) = nN / d. The function f can be designed arbitrarily. For example, e = f ′ (N, m) = N / m may be set. However, the smaller the average write data amount and the larger the execution evaluation value, the higher the efficiency index should be. That is, the efficiency index e should be expressed as a decreasing function of the average write data amount m and expressed as an increasing function of the execution evaluation value N. Therefore, when f (n, N, d) can be changed to f ′ (N, m) (when d is replaced with nm and the function f can be changed to a function f ′ of the variable N and m not including the variable n). ∂f ′ / ∂N> 0 and ∂f ′ / ∂m <0.

図3は、記憶装置使用管理プログラムの処理を示すフローチャートである。ジョブの実行が要求される(ステップ21a)と、ジョブ制御部21が起動される。   FIG. 3 is a flowchart showing the processing of the storage device use management program. When job execution is requested (step 21a), the job control unit 21 is activated.

ジョブ制御部21は、まず、SSD31の書込み回数を監視し、取得する(ステップ21b)。具体的にはSSD31からS.M.A.R.T.情報を取得すればよい。   First, the job control unit 21 monitors and acquires the write count of the SSD 31 (step 21b). Specifically, from SSD 31 to S.I. M.M. A. R. T.A. What is necessary is just to acquire information.

ジョブ制御部21は、次に、効率指数をクラス毎に計算する(ステップ21c)。ジョブ制御部21は、記憶装置32から実行評価値N(322)及び書込みデータ量d(323)を読取り、効率指数eをe=f(n,N,d)として計算する。なお、ステップ21bとステップ21cの順序は任意であり、逆順でもよい。   Next, the job control unit 21 calculates an efficiency index for each class (step 21c). The job control unit 21 reads the execution evaluation value N (322) and the write data amount d (323) from the storage device 32, and calculates the efficiency index e as e = f (n, N, d). Note that the order of step 21b and step 21c is arbitrary, and may be reversed.

ジョブ制御部21は、次に、実行制限クラスを決定する(ステップ21d)。実行の制限は、効率指数eの小さなクラスから順に行うものとする。例えば、SSD31の書込み回数が閾値を超えているならば、ジョブ制御部21は、効率指数の値が最小のクラスの実行を制限する(実行しないこととする)。また、効率指数の値が小さいのものから順にn個のクラスの実行を制限する閾値を、n=2、3、...のそれぞれについて設けてもよい。なお、書込み回数の閾値は、SSD31の寿命が尽きるのに要する書込み回数に対する特定の比率(例えば、90%)に当たる回数としてもよい。この場合、SSD31の書込み回数が、あと((SSD31の寿命が尽きるのに要する書込み回数)−(閾値))回行われると、SSD31の寿命が尽きることになる。本発明の実施形態では、この間のSSD31への書き込みを選択的に制限して、SSD31を効率的に活用することができる。   Next, the job control unit 21 determines an execution restriction class (step 21d). The restriction of execution is performed in order from the class with the smallest efficiency index e. For example, if the write count of the SSD 31 exceeds the threshold value, the job control unit 21 restricts execution (not to execute) of the class having the smallest efficiency index value. Further, thresholds for restricting the execution of the n classes in order from the smallest efficiency index value are set to n = 2, 3,. . . You may provide about each of these. Note that the threshold for the number of writings may be a number corresponding to a specific ratio (for example, 90%) with respect to the number of writings required for the life of the SSD 31 to be exhausted. In this case, if the number of times the SSD 31 is written is ((number of times required for the life of the SSD 31 to be exhausted) − (threshold)) times, the life of the SSD 31 is exhausted. In the embodiment of the present invention, the writing to the SSD 31 during this period can be selectively restricted to efficiently use the SSD 31.

ここで、効率指数の値が小さいものから順に1個の(n個の)クラスの実行を制限することに替えて、効率指数の値に関する閾値を設け、効率指数の値がその閾値以下のクラスの実行を制限することも可能である。   Here, instead of restricting the execution of one (n) classes in order from the smallest value of the efficiency index, a threshold relating to the efficiency index value is provided, and the class having the efficiency index value equal to or lower than the threshold is set. It is also possible to restrict the execution of.

図2において、クラスは、効率指数の高い順に、Print Color、Print Mono、Copy、ScanToBoxである。SSD31の書込み回数の増加にしたがって、この逆順に1又は複数のクラスに対応するジョブの実行を制限することが考えられる。例えば、図2の例において、効率指数の逆順(低い順)に2つのクラスに対応するジョブの実行を制限するものとすると、ジョブ制御部21は、ScanToBoxとCopyを実効制限クラスと決定する。
また、効率指数の閾値未満のクラスに対応するジョブの実行を制限してもよい。例えば、効率指数の閾値を15とすれば、ジョブ制御部21は、ScanToBox、Copy、及びPrint Monoを実効制限クラスと決定する。
In FIG. 2, the classes are Print Color, Print Mono, Copy, and ScanToBox in descending order of efficiency index. It is conceivable to limit the execution of jobs corresponding to one or a plurality of classes in the reverse order as the number of writes of the SSD 31 increases. For example, in the example of FIG. 2, assuming that the execution of jobs corresponding to two classes is restricted in the reverse order (lowest order) of the efficiency index, the job control unit 21 determines ScanToBox and Copy as effective restriction classes.
In addition, the execution of jobs corresponding to classes less than the efficiency index threshold value may be restricted. For example, if the threshold value of the efficiency index is 15, the job control unit 21 determines ScanToBox, Copy, and Print Mono as effective restriction classes.

ここで、図2では、実行回数nと実行評価値Nの値が一致していない。すなわち、ユーザーの重要度に基づく処理が行われたものである。仮に重要度を処理しない(全てのユーザーが同一の重要度であることと等価である。)とすると、実行評価値Nは実行回数nと等しくなる。図2において、N=nであるとし、e=N/mに替えてe=n/mとして効率指数を計算すると、Print Monoの効率指数が5となり、Copyよりも小さな値となる。効率指数の逆順に2つのクラスに対応するジョブの実行を制限する場合、ScanToBoxとPrint Monoが実行制限クラスとなる。重要度を処理する場合とは実行制限クラスが相違する。   Here, in FIG. 2, the number of executions n and the execution evaluation value N do not match. That is, processing based on the importance of the user is performed. If the importance level is not processed (equivalent to all users having the same importance level), the execution evaluation value N is equal to the execution count n. In FIG. 2, assuming that N = n and calculating the efficiency index with e = n / m instead of e = N / m, the efficiency index of Print Mono is 5, which is smaller than Copy. When restricting the execution of jobs corresponding to the two classes in the reverse order of the efficiency index, ScanToBox and Print Mono are the execution restriction classes. The execution restriction class is different from the case of processing importance.

重要度を処理する場合には、Print Monoの実行評価値Nの値が実行回数nに比して(他のクラスとの比較で)大きいものとなっている。Print Monoが重要度の大きなユーザーによって頻繁に使用されたものである。重要度を処理することにより、重要度の大きなユーザーが頻繁に使用する(業務にとって重要な)ジョブの実行が制限される可能性を小さくしている。   When the importance is processed, the print evaluation value N of Print Mono is larger than the number of executions n (compared with other classes). Print Mono is frequently used by high-value users. By processing the importance level, the possibility of restricting the execution of a job (important for business) frequently used by a user having a high importance level is reduced.

なお、ステップ21bからステップ21dまでの処理は、必ずしもジョブの実行が要求される都度行わなくともよい。ステップ21dにおいて求められた実行の制限を行うクラスを記憶し、その後のジョブに適用してもよい。1回のジョブ実行によって発生するSSD31の書込み回数及び効率指数の変動は予め想定できるので、実行制限クラスが変動するに要する程度の間(例えば10回のジョブ実行の間)は実行制限クラスを固定しても大きな問題とならないためである。   Note that the processing from step 21b to step 21d does not necessarily have to be performed every time job execution is requested. The class for limiting the execution obtained in step 21d may be stored and applied to subsequent jobs. Changes in the number of SSD 31 writes and the efficiency index that occur due to one job execution can be assumed in advance, so the execution restriction class is fixed as long as the execution restriction class changes (for example, during 10 job executions). This is because it does not become a big problem.

ジョブ制御部21は、次に、要求されたジョブが実行制限クラスに属するか否かを判断し(ステップ21e)、実行制限クラスに属さない(ステップ21e:No)場合にはジョブを実行(ステップ21g)する。   Next, the job control unit 21 determines whether or not the requested job belongs to the execution restriction class (step 21e), and executes the job if it does not belong to the execution restriction class (step 21e: No) (step 21e). 21g).

実行制限クラスに属する(ステップ21e:Yes)場合には、ユーザー特権による実行を判断する(ステップ21f)。ユーザー特権による実行は、所定のユーザーについては実行を認める、所定のユーザーについては効率指数の値を大きなものとして(例えばそのユーザーの重要度を乗じた値に変更して)実行制限対象となるか否かについて再計算する、その他いかなるものであってもよい。ユーザー特権による実行が認められる(ステップ21f:Yes)場合には、ジョブを実行(ステップ21g)する。ユーザー特権による実行が認められない(ステップ21f:No)場合には、ジョブを実行しない。なお、ユーザー特権による実行の判断(ステップ21f)は、必ずしも行わなくともよい。緊急の処理などのために例外的に実行を認めるものであり、その必要のない運用状況も考えられる。   If it belongs to the execution restriction class (step 21e: Yes), execution with user privileges is determined (step 21f). Execution with user privileges is permitted for execution for a given user, or is the execution restriction target for a given user with a large efficiency index value (for example, changed to a value multiplied by the importance of that user) Any other thing that recalculates whether or not. If execution with user privileges is permitted (step 21f: Yes), the job is executed (step 21g). If execution with user privileges is not permitted (step 21f: No), the job is not executed. Note that it is not always necessary to determine whether to execute with user privileges (step 21f). It can be used exceptionally for urgent processing, etc., and there may be operational situations where it is not necessary.

その後、実績記録部22によって、実行回数321、実行評価値322及び書込みデータ量323の値を更新(ステップ22a)して、記憶装置使用管理プログラムの処理を終了する。   Thereafter, the performance recording unit 22 updates the values of the execution count 321, the execution evaluation value 322, and the write data amount 323 (step 22a), and the processing of the storage device use management program is terminated.

ここで、実行回数321、実行評価値322及び書込みデータ量323の値の更新(ステップ22a)が、ジョブを実行しない場合にも行われるものとした。実行しなかったジョブについても、要求があったことにより、需要があると考えられるためである。なお、書込みデータ量323については、実際にジョブを実行しないと正確に求めることができない可能性もある。その場合には、書込みデータ量を推定する、平均書込みデータ量を保持しておき更新しない、その他の手法によればよい。   Here, it is assumed that the update of the execution count 321, the execution evaluation value 322, and the write data amount 323 (step 22 a) is performed even when the job is not executed. This is because a job that has not been executed is considered to be in demand due to a request. Note that the write data amount 323 may not be accurately obtained unless the job is actually executed. In that case, another method may be used in which the write data amount is estimated, the average write data amount is retained and not updated.

以上詳細に説明したように、本実施例の画像形成装置1では、記憶装置使用管理プログラムが、実行するジョブを効率指数に基づいて決定する。不揮発性記憶装置の使用効率の高いジョブを優先させて不揮発性記憶装置を効率的に活用することができる。   As described above in detail, in the image forming apparatus 1 of this embodiment, the storage device use management program determines a job to be executed based on the efficiency index. The non-volatile storage device can be used efficiently by prioritizing jobs with high use efficiency of the non-volatile storage device.

SSD等の書込み回数の制限を有する不揮発性記憶装置の書込みが制限される中で、不揮発性記憶装置の使用効率の高いジョブを優先させて不揮発性記憶装置を効率的に活用する電子機器用の記憶装置使用管理プログラム、及びその記憶装置使用管理プログラムを備えた電子機器であり、多くの電子機器生産者による利用が考えられる。   For electronic devices that make efficient use of non-volatile storage devices by prioritizing jobs with high use efficiency of non-volatile storage devices while the writing of non-volatile storage devices with limited number of writes such as SSD is limited A storage device use management program and an electronic device provided with the storage device use management program are considered to be used by many electronic device producers.

1 画像形成装置
2 制御部
21 ジョブ制御部
22 実績記録部
3 記憶部
31 SSD
32 記憶装置
321 実行回数
322 実行評価値
323 書込みデータ量
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 2 Control part 21 Job control part 22 Performance recording part 3 Storage part 31 SSD
32 Storage device 321 Number of executions 322 Execution evaluation value 323 Write data amount

Claims (7)

電子機器に備えられた書込み回数の制限を有する不揮発性記憶装置の使用を管理する記憶装置使用管理プログラムであって、
ジョブをクラスに分類し、前記ジョブの実行評価値及び前記不揮発性記憶装置への書込みデータ量を前記クラス毎に記録する実績記録部、及び
前記実行評価値及び前記書込みデータ量に基づいて効率指数を計算し、前記効率指数の値が閾値以下の、又は、前記クラスを前記効率指数の小さな順に並べたときに先頭から特定の数のクラスのジョブの実行を制限するジョブ制御部
として前記電子機器のコンピューターを機能させる記憶装置使用管理プログラム。
A storage device use management program for managing the use of a nonvolatile storage device having a limit on the number of times of writing provided in an electronic device,
The job is classified into classes, and the performance evaluation value of the job and the amount of data written to the nonvolatile storage device are recorded for each class, and the efficiency index based on the execution evaluation value and the amount of write data The electronic device as a job control unit that limits execution of jobs of a specific number of classes from the top when the efficiency index value is equal to or less than a threshold value or when the classes are arranged in ascending order of the efficiency index Storage device usage management program that allows computers to function.
前記実行評価値は、ジョブの実行回数であることを特徴とする、請求項1に記載の記憶装置使用管理プログラム。   The storage device use management program according to claim 1, wherein the execution evaluation value is the number of executions of a job. ユーザーに重要度が割り当てられ、
前記実行評価値は、ジョブの実行ごとにその実行を指示したユーザーに係る前記重要度を加算した値であることを特徴とする、請求項1に記載の記憶装置使用管理プログラム。
The user is assigned an importance,
2. The storage device use management program according to claim 1, wherein the execution evaluation value is a value obtained by adding the importance related to a user who has instructed execution for each execution of a job.
前記効率指数は、1のジョブ当たりの前記書込みデータ量である平均書込みデータ量の減少関数であり、前記実行評価値の増加関数であることを特徴とする、請求項1〜3のいずれか1項に記載の記憶装置使用管理プログラム。   The efficiency index is a decrease function of an average write data amount that is the write data amount per job, and is an increase function of the execution evaluation value. The storage device use management program according to the item. 前記効率指数は、前記実行評価値を前記平均書込みデータ量で除した値であることを特徴とする、請求項4に記載の記憶装置使用管理プログラム。   5. The storage device use management program according to claim 4, wherein the efficiency index is a value obtained by dividing the execution evaluation value by the average write data amount. 前記ジョブ制御部は、前記不揮発性記憶装置の書込み回数を監視し、前記書込み回数に基づいてジョブの実行を制限するか否かを判断するクラスを定めることを特徴とする、請求項1〜5のいずれか1項に記載の記憶装置使用管理プログラム。   The job control unit monitors a write count of the non-volatile storage device, and determines a class for determining whether to limit job execution based on the write count. The storage device use management program according to any one of the above. 記憶装置使用管理プログラムを実行するプロセッサーと、書込み回数の制限を有する不揮発性記憶装置とを備え、
前記記憶装置使用管理プログラムは、請求項1〜6のいずれか1項に記載の電子機器用の記憶装置使用管理プログラムであることを特徴とする、電子機器。
A processor that executes a storage device use management program; and a nonvolatile storage device that has a limit on the number of writes.
The electronic device according to claim 1, wherein the storage device use management program is a storage device use management program for an electronic device according to claim 1.
JP2016040539A 2015-11-26 2016-03-02 Storage device use management program and electronic device Expired - Fee Related JP6380815B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/357,108 US10152348B2 (en) 2015-11-26 2016-11-21 Managing use a limited-life storage device by suspending classes of task based on an amount of data to be written and an efficiency index
CN201611033583.3A CN106802771B (en) 2015-11-26 2016-11-22 Electronic equipment and storage device use management method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015230156 2015-11-26
JP2015230156 2015-11-26

Publications (2)

Publication Number Publication Date
JP2017107525A JP2017107525A (en) 2017-06-15
JP6380815B2 true JP6380815B2 (en) 2018-08-29

Family

ID=59059854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016040539A Expired - Fee Related JP6380815B2 (en) 2015-11-26 2016-03-02 Storage device use management program and electronic device

Country Status (1)

Country Link
JP (1) JP6380815B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7102198B2 (en) * 2018-04-05 2022-07-19 キヤノン株式会社 Image forming apparatus having a storage means, control method of image forming apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010079486A (en) * 2008-09-25 2010-04-08 Panasonic Corp Semiconductor recording device
JP5481453B2 (en) * 2011-09-21 2014-04-23 株式会社東芝 Memory device

Also Published As

Publication number Publication date
JP2017107525A (en) 2017-06-15

Similar Documents

Publication Publication Date Title
TWI652679B (en) Memory controller, memory system and control method
CN111742291B (en) Method and system for user space storage I/O stack with user space flash translation layer
US20160034202A1 (en) Multi-tiered storage device system and method thereof
JP4487978B2 (en) Semiconductor memory device management system, program, and semiconductor memory device management method
US9916087B2 (en) Method and system for throttling bandwidth based on temperature
JP2013509658A (en) Allocation of storage memory based on future usage estimates
CN106933492B (en) Method and apparatus for facilitating wear leveling of solid state disk
JP2014078262A (en) Techniques for multi-memory device lifetime management
US9910750B2 (en) Storage controlling device, storage controlling method, and non-transitory computer-readable recording medium
JP2014032582A (en) Image processing apparatus, control method and program of storage device of image processing apparatus
US9785374B2 (en) Storage device management in computing systems
JP6380815B2 (en) Storage device use management program and electronic device
US9948809B2 (en) Image forming apparatus, memory management method for image forming apparatus, and program, using discretely arranged blocks in prioritizing information
TW202238369A (en) Method of performing wear-leveling operation in flash memory and related controller and storage system
JP5971509B2 (en) Information processing apparatus and method, and recording medium
US10152348B2 (en) Managing use a limited-life storage device by suspending classes of task based on an amount of data to be written and an efficiency index
TWI539368B (en) Data writing method and system
JP2010256944A (en) Device, program and method for maintaining nand type flash memory
JP6358219B2 (en) Storage management program and electronic device
JP6156710B2 (en) Information processing apparatus and method, and recording medium
JP2019125322A (en) Storage management device, method for managing storage, and program
JP6007686B2 (en) Form printing method, form printing program, and form printing system
JP5708053B2 (en) Information processing apparatus, defragmentation method, and defragmentation program
US11907564B2 (en) Method of and system for initiating garbage collection requests
JP6155731B2 (en) Swap file transfer device, swap file transfer method, swap file transfer program, virtual storage device, and operating system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171227

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180718

R150 Certificate of patent or registration of utility model

Ref document number: 6380815

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees