JP2012168937A - Memory control apparatus for controlling data writing into storage, control method therefor, storage medium, and image forming apparatus - Google Patents

Memory control apparatus for controlling data writing into storage, control method therefor, storage medium, and image forming apparatus Download PDF

Info

Publication number
JP2012168937A
JP2012168937A JP2012012046A JP2012012046A JP2012168937A JP 2012168937 A JP2012168937 A JP 2012168937A JP 2012012046 A JP2012012046 A JP 2012012046A JP 2012012046 A JP2012012046 A JP 2012012046A JP 2012168937 A JP2012168937 A JP 2012168937A
Authority
JP
Japan
Prior art keywords
data
write
capacity
logical address
memory control
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.)
Granted
Application number
JP2012012046A
Other languages
Japanese (ja)
Other versions
JP2012168937A5 (en
JP5917163B2 (en
Inventor
Tsunahito Nakashita
綱人 中下
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 JP2012012046A priority Critical patent/JP5917163B2/en
Publication of JP2012168937A publication Critical patent/JP2012168937A/en
Publication of JP2012168937A5 publication Critical patent/JP2012168937A5/en
Application granted granted Critical
Publication of JP5917163B2 publication Critical patent/JP5917163B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/102External programming circuits, e.g. EPROM programmers; In-circuit programming or reprogramming; EPROM emulators

Abstract

PROBLEM TO BE SOLVED: To provide a memory control apparatus capable of preventing the performance from being deteriorated at the time of data deletion.SOLUTION: A memory control apparatus includes a CPU and a storage control unit of a main controller, and a memory control unit of an SSD of the main controller. The memory control unit selectively performs either first write processing for writing data into a flash memory of the SSD or second write processing for writing data into the flash memory after deleting unnecessary data recorded in the flash memory. In a case where a deletion mode for deleting unnecessary data is set, the CPU causes the memory control unit to perform the second write processing if the capacity of data to be written exceeds a predetermined data capacity.

Description

本発明は、ストレージへのデータ書き込みを制御するメモリ制御装置、その制御方法および記憶媒体並びに画像形成装置に関し、特に、フラッシュメモリを有する半導体ディスク(以下SSDと呼ぶ)へのデータの書き込み及び消去を制御するメモリ制御装置、その制御方法、同制御方法を実行するためのプログラムを格納した記憶媒体およびメモリ制御装置を搭載した画像形成装置に関する。   The present invention relates to a memory control device that controls data writing to a storage, a control method therefor, a storage medium, and an image forming apparatus, and more particularly to writing and erasing data on a semiconductor disk (hereinafter referred to as an SSD) having a flash memory. The present invention relates to a memory control device to be controlled, a control method therefor, a storage medium storing a program for executing the control method, and an image forming apparatus equipped with the memory control device.

一般に、画像形成装置にはハードディスクドライブ(HDD)が搭載され、HDDにプログラムや画像データを格納するようにしている。   Generally, a hard disk drive (HDD) is mounted on an image forming apparatus, and programs and image data are stored in the HDD.

近年、SSDの大容量化および低価格化が進み、モバイルPC(パソコン)を中心として急速にSSDの普及が進んでいる。SSDはHDDと比べて高速なランダムアクセスが可能であるばかりでなく、低消費電力、高い耐衝撃性、軽量、および省スペースという利点がある。   In recent years, SSDs have increased in capacity and price, and SSDs have been rapidly spreading mainly in mobile PCs (personal computers). SSDs not only enable high-speed random access compared to HDDs, but also have the advantages of low power consumption, high impact resistance, light weight, and space saving.

特に、システム起動の際にHDDにおいて必要となるスピンアップ等の初期動作がSSDでは不要であり、高速なデータ転送と相まって起動時間が大幅に短縮する。さらに、SSDには衝撃によって破損しやすいディスクの駆動部分が存在しないので、SSDは耐衝撃性に優れるばかりでなく耐熱性にも優れている。このため、SSDは画像形成装置のストレージデバイスとしても注目されている。   In particular, an initial operation such as spin-up required for the HDD at the time of system startup is not necessary for the SSD, and the startup time is significantly shortened in combination with high-speed data transfer. Furthermore, since there is no disk drive portion that is easily damaged by impact, SSD is not only excellent in impact resistance but also in heat resistance. For this reason, the SSD is attracting attention as a storage device for image forming apparatuses.

但し、SSDに搭載される記憶デバイスであるフラッシュメモリには書き込み可能回数に上限がある。例えば、SLC(Single Level Cell)での書き込み可能回数は約10万回であり、MLC(Multiple Level Cell)での書き込み可能回数は約1万回である。さらに、フラッシュメモリの製造プロセスの微細化に起因して、フラッシュメモリにおける書き換え可能回数は減少する傾向にある。   However, there is an upper limit on the number of writable times in the flash memory that is a storage device mounted on the SSD. For example, the number of writable times in SLC (Single Level Cell) is about 100,000, and the number of writable times in MLC (Multiple Level Cell) is about 10,000. Furthermore, due to the miniaturization of the flash memory manufacturing process, the number of rewritable times in the flash memory tends to decrease.

フラッシュメモリにおける書き込み可能回数の制限に対処するため、SSDに搭載されたフラッシュメモリコントローラは、フラッシュメモリにおいて同一の領域に対する書き込みの頻度が集中しないように、書き込み先の領域を平均に分散させている。これによって、フラッシュメモリ、つまり、ストレージデバイスの寿命を長くするようにしている。この技術はウェアレベリングと呼ばれている。   In order to cope with the limitation on the number of times the flash memory can be written, the flash memory controller mounted on the SSD distributes the write destination area on average so that the frequency of writing to the same area in the flash memory is not concentrated. . As a result, the lifetime of the flash memory, that is, the storage device is extended. This technique is called wear leveling.

一方、画像データなどのデータに対するセキュリティー確保の要求、そしてプライバシーの保護に対する要求は非常に高く、画像形成装置においてもストレージに記録されたスプールデータおよび保存データを完全に消去可能であることが要求されている。   On the other hand, there are very high demands for ensuring the security of data such as image data, and the protection of privacy, and it is required that the spool data and stored data recorded in the storage can be completely erased even in the image forming apparatus. ing.

HDDでは、消去対象データが記録された領域にダミーデータを複数回上書きすることによって残留磁気を除去して消去対象データの完全消去を行っている(特許文献1及び2参照)。   In the HDD, the erasure target data is completely erased by removing the residual magnetism by overwriting the dummy data a plurality of times in the area where the erasure target data is recorded (see Patent Documents 1 and 2).

SSDにおいては、HDDとは異なり1回の書き換えで消去対象データを完全に消去することが可能であるが、ウェアレベリングに起因して通常の書き込み処理では消去対象データを直接書き換えられず、消去対象データを完全に消去するためには特別な書き込み処理を行う必要がある。   In the SSD, unlike the HDD, it is possible to completely erase the data to be erased by one rewrite. However, due to wear leveling, the data to be erased cannot be directly rewritten by a normal writing process. In order to completely erase the data, it is necessary to perform a special writing process.

特開2004−153516号公報JP 2004-153516 A 特開2006−23854号公報JP 2006-23854 A

ところで、フラッシュメモリにおいてはその特性上、データの消去は所定のブロック単位でしか行うことができない。よって、完全消去に対処するための特別の書き込み処理では、書き込むデータのサイズがフラッシュメモリのブロックサイズより小さいと、データ消去の際のオーバヘッドに起因してパフォーマンスが著しく低下するという課題がある。   By the way, in a flash memory, data can be erased only in a predetermined block unit due to its characteristics. Therefore, in a special writing process for dealing with complete erasure, if the size of data to be written is smaller than the block size of the flash memory, there is a problem that the performance is remarkably lowered due to the overhead at the time of data erasure.

画像形成装置で用いられるオペレーションシステムによって、画像データのようにフラッシュメモリのブロックサイズより十分大きいサイズのデータがフラッシュメモリに書き込まれると共にブロックサイズより小さい、例えば8Kバイト以下のサイズのファイルシステムに関する管理情報が頻繁にフラッシュメモリに書き込まれ、全てのデータの書き込みを完全消去モードで行うと、深刻なパフォーマンスダウンとなってしまう。   Management information related to a file system having a size sufficiently larger than the block size of the flash memory, such as image data, written to the flash memory and smaller than the block size, for example, 8 Kbytes or less, by the operation system used in the image forming apparatus Are frequently written to the flash memory, and if all data is written in the complete erase mode, the performance will be severely degraded.

また、フラッシュメモリの製造プロセスの微細化により、今後リリースされるフラッシュメモリはページサイズが大容量化されるためこれに伴いブロックサイズも大容量化される。つまり、従来のフラッシュメモリに比べて、パフォーマンスダウンとなるブロックサイズを下回るデータ書き込みとなる状況がより増加するという課題がある。   In addition, due to the miniaturization of the flash memory manufacturing process, the flash memory to be released in the future has an increased page size, and accordingly, the block size is increased. In other words, compared to the conventional flash memory, there is a problem that the situation of data writing that is less than the block size that results in a performance decrease is further increased.

また、ストレージの高速化及び大容量化の為に複数のフラッシュメモリを並列化した構成をとる事があるが、この場合もフラッシュメモリの並列化により仮想的にブロックサイズが大きくなるので前述と同様の課題がある。   Also, in order to increase the storage speed and capacity, a configuration in which a plurality of flash memories are arranged in parallel may be used. However, in this case as well, the block size is virtually increased by the parallelization of the flash memories, so the same as described above. There is a problem.

これらの問題を回避するには書き込むデータの種類(例えば画像データや管理情報等)を精度良く特定して完全消去対応の書き込み処理を行うデータを絞り込む必要がある。   In order to avoid these problems, it is necessary to accurately specify the type of data to be written (for example, image data, management information, etc.) and narrow down the data to be subjected to the writing process corresponding to complete erasure.

しかしながら、画像形成装置で用いられるLINUX(登録商標)等の汎用オペレーションシステムはデータ書き込み時に当該データの種類を判別する事が出来ないという課題もある。   However, there is a problem that a general-purpose operation system such as LINUX (registered trademark) used in an image forming apparatus cannot determine the type of the data at the time of data writing.

加えて、完全消去モードでの書き込み処理はSSDに特化した処理であるので、当該書き込み処理のための書き込み命令も専用のものとなる。よって、この書き込み処理をサポートしていないHDDのようなストレージデバイスに上記の書き込み命令が発行されると、データの書き込みを行うことができずにハングアップしてしまうという課題がある。   In addition, since the write process in the complete erase mode is a process specialized for SSD, a write command for the write process is also dedicated. Therefore, when the above write command is issued to a storage device such as an HDD that does not support this write processing, there is a problem that data cannot be written and hangs up.

本発明の目的は、データ消去の際のパフォーマンスの低下を防止することができるメモリ制御装置、その制御方法、および記憶媒体、並びに画像形成装置を提供することにある。   An object of the present invention is to provide a memory control device, a control method thereof, a storage medium, and an image forming apparatus that can prevent performance degradation during data erasure.

また、本発明の目的は、データの書き込みが行えずにハングアップが生じる事態を防止することのできるメモリ制御装置、その制御方法、および記憶媒体、並びに画像形成装置を提供することにある。   Another object of the present invention is to provide a memory control device, a control method thereof, a storage medium, and an image forming apparatus that can prevent a situation in which data cannot be written and a hang-up occurs.

上記目的を達成するために、本発明に係るメモリ制御装置は、少なくとも1つのフラッシュメモリを備えるストレージへのデータ書き込みを制御するメモリ制御装置であって、前記フラッシュメモリにデータを書き込む第1の書き込み処理と、前記フラッシュメモリに記録された不要データを消去した後に前記フラッシュメモリにデータを書き込む第2の書き込み処理の一方を選択的に行う書き込み処理手段と、前記書き込み処理手段に前記第1および第2の書き込み処理の一方を選択的に行わせる書き込み切り替え手段と、不要データを消去する消去モードが設定されていると、書き込み対象データの容量が所定のデータ容量以下であるか否かを判定する判定手段と、を有し、前記判定手段によって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記書き込み切り替え手段は前記書き込み処理手段に前記第2の書き込み処理を行わせることを特徴とする。   In order to achieve the above object, a memory control device according to the present invention is a memory control device that controls data writing to a storage including at least one flash memory, wherein the first write for writing data to the flash memory Write processing means for selectively performing one of processing and second write processing for writing data to the flash memory after erasing unnecessary data recorded in the flash memory; and When the write switching means for selectively performing one of the two write processes and the erase mode for erasing unnecessary data are set, it is determined whether or not the capacity of the write target data is equal to or less than a predetermined data capacity. Determination means, and the determination means determines the capacity of the write target data. If it is determined to exceed the data capacity, the writing switching means is characterized in that to perform the second writing process to the write processing means.

また、本発明に係るメモリ制御装置の制御方法は、少なくとも1つのフラッシュメモリを備えるストレージへのデータ書き込みを制御するメモリ制御装置の制御方法であって、前記フラッシュメモリにデータを書き込む第1の書き込み処理ステップと、前記フラッシュメモリに記録された不要データを消去した後に前記フラッシュメモリにデータを書き込む第2の書き込み処理ステップと、前記第1または第2の書き込み処理ステップを選択する切り替えステップと、不要データを消去する消去モードが設定されていると、書き込み対象データの容量が所定のデータ容量以下であるか否かを判定する判定ステップと、を有し、前記判定ステップによって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記切り替えステップでは前記第2の書き込み処理ステップを選択することを特徴とする。   The memory control device control method according to the present invention is a memory control device control method for controlling data writing to a storage including at least one flash memory, wherein the first write for writing data to the flash memory is performed. A processing step, a second writing processing step for writing data into the flash memory after erasing unnecessary data recorded in the flash memory, a switching step for selecting the first or second writing processing step, and unnecessary A determination step for determining whether or not the capacity of the data to be written is equal to or less than a predetermined data capacity when an erasing mode for erasing data is set, and the capacity of the data to be written by the determination step Is determined to exceed the predetermined data capacity, In place of step and selects said second writing process step.

また、本発明に係る記憶媒体は、少なくとも1つのフラッシュメモリを備えるストレージへのデータ書き込みを制御するメモリ制御装置の制御方法をコンピュータに実行させるためのプログラムをコンピュータで読み取り可能に格納した記憶媒体であって、前記メモリ制御装置の制御方法 は、前記フラッシュメモリにデータを書き込む第1の書き込み処理ステップと、前記フラッシュメモリに記録された不要データを消去した後に前記フラッシュメモリにデータを書き込む第2の書き込み処理ステップと、前記第1または第2の書き込み処理ステップを選択する切り替えステップと、不要データを消去する消去モードが設定されていると、書き込み対象データの容量が所定のデータ容量以下であるか否かを判定する判定ステップと、を有し、前記判定ステップによって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記切り替えステップでは前記第2の書き込み処理ステップを選択することを特徴とする。   The storage medium according to the present invention is a storage medium storing a computer-readable program for causing a computer to execute a control method of a memory control device that controls writing of data to a storage including at least one flash memory. The control method of the memory control device includes a first write processing step of writing data to the flash memory, and a second write of data to the flash memory after erasing unnecessary data recorded in the flash memory. If the write process step, the switching step for selecting the first or second write process step, and the erase mode for erasing unnecessary data are set, whether the capacity of the write target data is equal to or less than a predetermined data capacity A determination step for determining whether or not, When the determination step determines that the capacity of the write target data exceeds the predetermined data capacity, the switching step selects the second write processing step.

また、本発明に係る画像形成装置は、請求項1記載のメモリ制御装置と、前記メモリ制御装置の前記ストレージへの書き込み対象データである画像データに応じて印刷を行うプリント手段と、を有することを特徴とする。   An image forming apparatus according to the present invention includes: the memory control device according to claim 1; and a printing unit that performs printing in accordance with image data that is data to be written to the storage of the memory control device. It is characterized by.

本発明によれば、データ消去の際のパフォーマンスの低下を防止することができるばかりでなく、データの書き込みが行えずにハングアップが生じる事態を防止することができる。   According to the present invention, it is possible not only to prevent a decrease in performance when erasing data, but also to prevent a situation in which hang-up occurs because data cannot be written.

本発明のメモリ制御装置は、ストレージに割り当てられる論理アドレスを任意に設定可能な論理アドレス管理テーブルと、ストレージへのデータ書き込み要求時に指定された書き込み先論理アドレスと論理アドレス管理テーブルに設定された各論理アドレスとを照合する論理アドレス照合手段とを含むことができ、指定された書き込み先論理アドレスが論理アドレス管理テーブルに設定された論理アドレスのいずれかと一致し、かつ書込み対象データの容量が所定のデータ容量を上回る場合には書き込み切り替え手段は書き込み処理手段に第2の書き込み処理を行わせ、書込み対象データの容量が所定のデータ容量を下回るか指定された書き込み先論理アドレスが論理アドレス管理テーブルに設定された論理アドレスと一致しない場合に書き込み切り替え手段は書き込み処理手段に前記第1の書き込み処理を行わせることができる。   The memory control device according to the present invention includes a logical address management table in which logical addresses assigned to storages can be arbitrarily set, and write destination logical addresses and logical address management tables specified at the time of data write requests to the storage. Logical address matching means for matching the logical address, the specified write destination logical address matches one of the logical addresses set in the logical address management table, and the capacity of the write target data is a predetermined value. When the data capacity is exceeded, the write switching means causes the write processing means to perform the second write processing, and the write destination logical address specified in the logical address management table is set to determine whether the capacity of the write target data is less than the predetermined data capacity. Write if the set logical address does not match See switching means can perform the first writing process to write processing means.

この場合、予め完全消去対象データの書き込み先論理領域を決め、各論理領域の論理アドレスをテーブル化する事で、論理アドレスによって書き込み対象データが完全消去対象データか否かを判別可能となる。これによって、書き込み対象データの容量だけに基づいて第1または第2の書き込み処理を選択的に行わせる場合に比べてパフォーマンスの低下を更に抑制する事ができる。   In this case, it is possible to determine whether or not the write target data is the complete erasure target data based on the logical address by determining the write destination logical area of the complete erasure target data in advance and tabulating the logical address of each logical area. As a result, it is possible to further suppress the performance degradation as compared with the case where the first or second writing process is selectively performed based only on the capacity of the write target data.

本発明の実施の形態によるメモリ制御装置が用いられた画像形成システム制御系の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming system control system in which a memory control device according to an embodiment of the present invention is used. 画像形成システム制御系が有するメインコントローラの構成の一例を示すブロック図である。2 is a block diagram illustrating an example of a configuration of a main controller included in an image forming system control system. FIG. 画像形成システムの画像形成装置が有する操作部の一例を示す図である。3 is a diagram illustrating an example of an operation unit included in an image forming apparatus of an image forming system. FIG. メインコントローラのSSDの内部構成の一例を示すブロック図である。It is a block diagram which shows an example of the internal structure of SSD of a main controller. SSDに対してデータ書き込みを行う際の動的な切り替え制御の手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure of the dynamic switching control at the time of writing data with respect to SSD. 図5に示す切り替え制御が行われる際のSSDにおける切り替え制御の手順を説明するためのフローチャートである。It is a flowchart for demonstrating the procedure of the switching control in SSD when the switching control shown in FIG. 5 is performed. 図1に示す画像形成システム制御系がシャットダウンする際に行われるSSDの未使用ブロック内のデータの一括消去処理の手順を説明するためのフローチャートである。3 is a flowchart for explaining a procedure of batch erasure processing of data in unused blocks of an SSD performed when the image forming system control system shown in FIG. 1 is shut down. 画像形成システム制御系がアイドル状態である場合に行われるSSDの未使用ブロック内のデータの一括消去処理の手順を説明するためのフローチャートである。6 is a flowchart for explaining a procedure of batch erasure processing of data in an unused block of an SSD performed when an image forming system control system is in an idle state. 図5に示す切り替え制御における書き込み処理切り替え条件に更なる切り替え条件としてデータのファイル情報を追加した際に行われる切り替え制御の手順を説明するためのフローチャートである。6 is a flowchart for explaining a switching control procedure performed when data file information is added as a further switching condition to the writing process switching condition in the switching control shown in FIG. 5. 図5に示す切り替え制御における書き込み処理切り替え条件に更なる切り替え条件としてデータ書き込み先論理アドレスを追加した際に行われる切り替え制御の手順を説明するためのフローチャートである。6 is a flowchart for explaining a switching control procedure performed when a data write destination logical address is added as a further switching condition to the writing process switching condition in the switching control shown in FIG. 5. 画像形成システムの構成例を示す概略図である。1 is a schematic diagram illustrating a configuration example of an image forming system.

以下、本発明の実施の形態を、図面を参照しながら詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態によるメモリ制御装置が用いられた画像形成システム制御系の構成を示すブロック図である。図11は、画像形成システムの構成例を示す概略図である。   FIG. 1 is a block diagram showing a configuration of an image forming system control system in which a memory control device according to an embodiment of the present invention is used. FIG. 11 is a schematic diagram illustrating a configuration example of an image forming system.

画像形成システムは公知であり、以下簡略に説明する。図11に示すように、画像形成システムは、画像形成装置10、折り装置40、製本装置50およびフィニッシャ60を含み、画像形成装置10に搭載された図1の制御系の制御下で動作する。   Image forming systems are known and will be described briefly below. As shown in FIG. 11, the image forming system includes an image forming apparatus 10, a folding apparatus 40, a bookbinding apparatus 50, and a finisher 60, and operates under the control of the control system of FIG. 1 mounted on the image forming apparatus 10.

画像形成装置10は、原稿給送装置100が搭載されたイメージリーダ200とプリンタ300と操作部800を備えている。原稿給送装置100の原稿トレイにセットされた原稿は、プラテンガラス102上へ1枚ずつ搬送され、原稿画像がイメージリーダ200により読み取られる。すなわち、プラテンガラス102に沿って原稿を搬送しながら、所定位置に保持されたスキャナユニット104により原稿画像が読み取られる。或いは、プラテンガラス102上の読み取り位置に原稿を停止させた状態で、スキャナユニット104をプラテンガラス102に沿って移動させることにより原稿画像を読み取る。ユーザが原稿給送装置100を用いずにプラテンガラス102上に原稿を載置した場合、スキャナユニット104をプラテンガラス102に沿って移動させることにより画像読取りを行うことができる。   The image forming apparatus 10 includes an image reader 200 on which the document feeder 100 is mounted, a printer 300, and an operation unit 800. The originals set on the original tray of the original feeder 100 are conveyed one by one onto the platen glass 102, and the original image is read by the image reader 200. That is, the original image is read by the scanner unit 104 held at a predetermined position while conveying the original along the platen glass 102. Alternatively, the original image is read by moving the scanner unit 104 along the platen glass 102 while the original is stopped at the reading position on the platen glass 102. When the user places a document on the platen glass 102 without using the document feeder 100, the image can be read by moving the scanner unit 104 along the platen glass 102.

画像読み取り時、スキャナユニット104のランプ光で原稿が照射され、原稿からの反射光がミラー等を介してイメージセンサ109の撮像面に結像する。イメージセンサ109は原稿画像を読み取り、読み取った原稿画像を画像データに変換してプリンタ300の露光制御部110に出力する。画像読み取り後、原稿は排出トレイ112に排出される。   At the time of image reading, the original is irradiated with the lamp light of the scanner unit 104, and the reflected light from the original forms an image on the imaging surface of the image sensor 109 via a mirror or the like. The image sensor 109 reads a document image, converts the read document image into image data, and outputs the image data to the exposure control unit 110 of the printer 300. After reading the image, the document is discharged to the discharge tray 112.

露光制御部110は、画像データに基づきレーザ光を変調する。レーザ光はポリゴンミラーを介して感光ドラム111に照射され、これにより感光ドラム111に静電潜像が形成され、現像器113によって現像剤像に可視化される。レーザ光の照射と同期してカセット114または115から用紙が給紙され、感光ドラム111と転写部116との間に搬送される。そして、感光ドラム111上の現像剤像が転写部116により用紙に転写され、定着部117により用紙に定着され、用紙がプリンタ300から排出される。   The exposure control unit 110 modulates the laser light based on the image data. The laser beam is irradiated onto the photosensitive drum 111 through a polygon mirror, whereby an electrostatic latent image is formed on the photosensitive drum 111 and visualized as a developer image by the developing unit 113. A sheet is fed from the cassette 114 or 115 in synchronization with the irradiation of the laser beam and conveyed between the photosensitive drum 111 and the transfer unit 116. The developer image on the photosensitive drum 111 is transferred to a sheet by the transfer unit 116, fixed to the sheet by the fixing unit 117, and the sheet is discharged from the printer 300.

プリンタ300から排出された用紙は、必要に応じて、折り装置40、製本装置50またはフィニッシャ装置60に送られ、後処理が行われる。   The paper discharged from the printer 300 is sent to the folding device 40, the bookbinding device 50, or the finisher device 60 as necessary, and post-processing is performed.

画像形成装置10は手差し印刷や両面印刷を行うことができる。符号124,125は両面印刷用の搬送パスおよび手差し印刷用の給紙部を示す。   The image forming apparatus 10 can perform manual feed printing and duplex printing. Reference numerals 124 and 125 denote a conveyance path for double-sided printing and a paper feeding unit for manual printing.

図1を参照すると、画像形成システム制御系は、画像形成装置10を制御するメインコントローラ400を有している。メインコントローラ400には、原稿給送装置制御部101、イメージリーダ制御部201、プリンタ制御部301(プリント手段)、折り装置制御部41、製本装置制御部51、フィニッシャ制御部61、および操作部800が接続されている。さらに、メインコントローラ400は外部インタフェース(I/F)451によって外部バス452に接続され、外部バス452には外部コンピュータ453が接続されている。   Referring to FIG. 1, the image forming system control system includes a main controller 400 that controls the image forming apparatus 10. The main controller 400 includes a document feeding device control unit 101, an image reader control unit 201, a printer control unit 301 (printing unit), a folding device control unit 41, a bookbinding device control unit 51, a finisher control unit 61, and an operation unit 800. Is connected. Further, the main controller 400 is connected to an external bus 452 by an external interface (I / F) 451, and an external computer 453 is connected to the external bus 452.

メインコントローラ400は、操作部800又は外部コンピュータ453から与えられた指示に基づいて、原稿給送装置制御部101およびイメージリーダ制御部201を制御する。そして、原稿給送制御部101は原稿給送装置100を制御して、原稿を読み取り位置に給送する。また、イメージリーダ制御部201はイメージリーダ200を制御して原稿画像を読み取って画像データを得る。プリンタ制御部301はメインコントローラ400の制御下でプリンタ300を制御して、画像データに応じて、例えば、電子写真プロセスによって用紙に画像形成を行う。   The main controller 400 controls the document feeder control unit 101 and the image reader control unit 201 based on an instruction given from the operation unit 800 or the external computer 453. Then, the document feeding control unit 101 controls the document feeding device 100 to feed the document to the reading position. Further, the image reader control unit 201 controls the image reader 200 to read a document image and obtain image data. The printer control unit 301 controls the printer 300 under the control of the main controller 400, and forms an image on a sheet by an electrophotographic process, for example, according to the image data.

そして、折り装置制御部41、製本装置制御部51およびフィニッシャ制御部61はメインコントローラ400の制御下で、それぞれ折り装置40、製本装置50およびフィニッシャ60を制御して、用紙に折り処理、ステイプル処理又はパンチ穴処理などの後処理を実行する。   Then, the folding device control unit 41, the bookbinding device control unit 51, and the finisher control unit 61 control the folding device 40, the bookbinding device 50, and the finisher 60, respectively, under the control of the main controller 400, thereby folding and stapling the paper. Alternatively, post-processing such as punching is performed.

加えて、メインコントローラ400は外部I/F451を介して外部コンピュータ453からプリントデータを受信して、当該プリントデータに応じてプリンタ制御部301を制御して印刷を実行する。そして、メインコントローラ400は、後述するストレージ機器に記録された画像データを、外部I/F451を介して外部コンピュータ453に送信する。   In addition, the main controller 400 receives print data from the external computer 453 via the external I / F 451, and controls the printer control unit 301 according to the print data to execute printing. Then, the main controller 400 transmits image data recorded in a storage device to be described later to the external computer 453 via the external I / F 451.

図2は、メインコントローラ400の構成の一例を示すブロック図である。   FIG. 2 is a block diagram illustrating an example of the configuration of the main controller 400.

図2において、メインコントローラ400はCPU401およびCPU408を有し、各CPUではオペレーティングシステム(以下OSという)が動作する。   In FIG. 2, a main controller 400 has a CPU 401 and a CPU 408, and an operating system (hereinafter referred to as OS) operates on each CPU.

CPU401にはバスブリッジ404が接続され、CPU401はバスブリッジ404を介してCPU408との通信を行う。さらに、バスブリッジ404にはROM402、RAM403、外部I/F制御部405、操作部制御部406、ストレージ制御部412が接続されている。ROM402にはCPU401の初期起動プログラムを格納され、RAM403にはCPU401の制御データが一時的に保持され、さらに、RAM403はCPU401の作業領域として用いられる。   A bus bridge 404 is connected to the CPU 401, and the CPU 401 communicates with the CPU 408 via the bus bridge 404. Further, a ROM 402, a RAM 403, an external I / F control unit 405, an operation unit control unit 406, and a storage control unit 412 are connected to the bus bridge 404. The ROM 402 stores an initial startup program for the CPU 401, the RAM 403 temporarily holds control data for the CPU 401, and the RAM 403 is used as a work area for the CPU 401.

前述の外部I/F制御部405は外部I/F451に接続され、当該外部I/F451の制御を行う。操作部制御部406は操作部800に接続され、操作部800の制御を行う。また、ストレージ制御部412にはストレージ機器である半導体ストレージ(以下、SSDという)413が接続される。また、破線ブロックで示すように、ストレージ制御部412にはストレージ機器であるハードディスクドライブ(以下、HDDという)407がオプションとして接続されることもある。ストレージ制御部412はSSD413およびHDD407を制御する。   The aforementioned external I / F control unit 405 is connected to the external I / F 451 and controls the external I / F 451. The operation unit control unit 406 is connected to the operation unit 800 and controls the operation unit 800. The storage controller 412 is connected to a semiconductor storage (hereinafter referred to as SSD) 413 which is a storage device. Further, as indicated by the broken line block, a hard disk drive (hereinafter referred to as HDD) 407 as a storage device may be optionally connected to the storage control unit 412. The storage control unit 412 controls the SSD 413 and the HDD 407.

SSD413には、例えば、CPU401およびCPU408で動作するOSを含むメインプログラムが格納される。また、オプションであるHDD407が接続されない場合、SSD413にはイメージリーダ200および外部I/F451で取得した画像データが格納される。   The SSD 413 stores a main program including an OS that runs on the CPU 401 and the CPU 408, for example. When the optional HDD 407 is not connected, the image data acquired by the image reader 200 and the external I / F 451 is stored in the SSD 413.

さらに、オプションであるHDD407が接続されない場合には、操作部800の操作に応じて編集された画像データがSSD413に格納され、且つアプリケーションプログラムおよびユーザープリファレンスデータ等のデータがSSD413に格納される。図示の例では、SSD413はフラッシュディスクとして用いられる。   Furthermore, when the optional HDD 407 is not connected, image data edited in accordance with the operation of the operation unit 800 is stored in the SSD 413, and data such as application programs and user preference data is stored in the SSD 413. In the illustrated example, the SSD 413 is used as a flash disk.

一方、オプションであるHDD407が接続された場合には、イメージリーダ200および外部I/F451で取得した画像データや操作部800の操作に応じて編集された画像データがHDD407に格納される。また、アプリケーションプログラムおよびユーザープリファレンスデータの格納先としてHDD407が用いられる。この場合、際CPU401および408はストレージ制御部412を介してHDD407にアクセスすることができる。   On the other hand, when the optional HDD 407 is connected, image data acquired by the image reader 200 and the external I / F 451 and image data edited in accordance with the operation of the operation unit 800 are stored in the HDD 407. The HDD 407 is used as a storage location for application programs and user preference data. In this case, the CPUs 401 and 408 can access the HDD 407 via the storage control unit 412.

CPU408には、前述のバスブリッジ404が接続されるとともに、ROM409、RAM410、およびデバイス制御部411が接続されている。ROM409にはCPU408の初期起動プログラムが格納され、RAM410にはCPU408の制御データが一時的に保持され、さらに、RAM410はCPU408の作業領域として用いられる。   The CPU 408 is connected to the bus bridge 404 described above, and is also connected to the ROM 409, the RAM 410, and the device control unit 411. The ROM 409 stores an initial startup program for the CPU 408, the RAM 410 temporarily holds control data for the CPU 408, and the RAM 410 is used as a work area for the CPU 408.

デバイス制御部411は、原稿給送装置制御部101、イメージリーダ制御部201、プリンタ制御部301、折り装置制御部41、製本装置制御部51およびフィニッシャ制御部61の制御を司る。   The device control unit 411 controls the document feeding device control unit 101, the image reader control unit 201, the printer control unit 301, the folding device control unit 41, the bookbinding device control unit 51, and the finisher control unit 61.

図3は、画像形成装置10の操作部800の一例を示す図である。   FIG. 3 is a diagram illustrating an example of the operation unit 800 of the image forming apparatus 10.

操作部800は、LCD表示部900を有しており、このLCD表示部900のLCD(液晶ディスプレイ)上にタッチパネルシートが貼られている。LCD表示部900には操作画面が表示され、操作画面に表示されたキーが押されると当該キーの位置情報がメインコントローラ400に伝達され、メインコントローラ400は当該位置情報に応じた制御を実行する。   The operation unit 800 includes an LCD display unit 900, and a touch panel sheet is pasted on the LCD (liquid crystal display) of the LCD display unit 900. An operation screen is displayed on the LCD display unit 900. When a key displayed on the operation screen is pressed, position information of the key is transmitted to the main controller 400, and the main controller 400 executes control according to the position information. .

操作部800はテンキー801を有しており、ユーザはテンキー801を用いて、例えば、コピー枚数を入力する。さらに、操作部800はスタートキー802、ガイドキー805、コピーモードキー806、FAXキー807、ファイルキー808、およびプリンタキー809を有している。   The operation unit 800 has a numeric keypad 801, and the user uses the numeric keypad 801 to input, for example, the number of copies. The operation unit 800 further includes a start key 802, a guide key 805, a copy mode key 806, a FAX key 807, a file key 808, and a printer key 809.

ユーザが所望の条件を設定した後、スタートキー802を押すと、例えば、複写動作又は原稿の読取り動作が開始される。ガイドキー805を押すと、LCD表示部900に各キーの機能に関する説明が表示される。コピーモードキー806は複写を行う際に用いられる。FAXキー807は、FAXに関する設定を行う際に用いられる。ファイルキー808はファイルデータの出力の際に用いられる。プリンタキー809は、外部コンピュータ453等の外部装置から送られた画像データをプリント出力する際の設定などを行う場合に用いられる。   When the user presses the start key 802 after setting desired conditions, for example, a copying operation or a document reading operation is started. When the guide key 805 is pressed, an explanation regarding the function of each key is displayed on the LCD display unit 900. A copy mode key 806 is used when copying. A FAX key 807 is used when performing settings related to FAX. The file key 808 is used when outputting file data. A printer key 809 is used to make settings for printing out image data sent from an external device such as an external computer 453.

以下、画像形成装置10が不要データを完全に消去するデータ完全消去モードに設定されている場合においてSSD413へのデータ書き込みの際に行われる動的な切り替え制御について説明する。   Hereinafter, dynamic switching control performed when data is written to the SSD 413 when the image forming apparatus 10 is set to the data complete erasure mode for completely erasing unnecessary data will be described.

図4はSSD413の内部構成の一例を示すブロック図である。   FIG. 4 is a block diagram showing an example of the internal configuration of the SSD 413.

図4において、SSD413はフラッシュ制御部1000および複数のフラッシュメモリ1003を有している。フラッシュ制御部1000はストレージI/F1001およびメモリ制御部1002を備えており、ストレージI/F1001はストレージ制御部412に接続されている。つまり、ストレージI/F1001はストレージ制御部412との通信を行うためのモジュールである。本例では、ストレージI/F1001として、シリアルATA(Serial AT Attachment)インターフェースすなわちSATAインターフェースが用いられる。   In FIG. 4, the SSD 413 includes a flash control unit 1000 and a plurality of flash memories 1003. The flash control unit 1000 includes a storage I / F 1001 and a memory control unit 1002, and the storage I / F 1001 is connected to the storage control unit 412. That is, the storage I / F 1001 is a module for performing communication with the storage control unit 412. In this example, a serial ATA (Serial AT Attachment) interface, that is, a SATA interface is used as the storage I / F 1001.

メモリ制御部1002はストレージI/F1001で受信した指令に基づいてフラッシュメモリ1003の一つ(以下、単にフラッシュメモリ1003という)に対するデータのリード/ライトを行う。メモリ制御部1002には、書き込み処理切り替え部1004が備えられている。   The memory control unit 1002 reads / writes data with respect to one of the flash memories 1003 (hereinafter simply referred to as the flash memory 1003) based on a command received by the storage I / F 1001. The memory control unit 1002 includes a write process switching unit 1004.

メモリ制御部1002は、書き込み処理切り替え部1004によって、第1および第2の書き込み処理を選択的に行う。第1の書き込み処理(通常の書き込み処理)ではフラッシュメモリ1003にデータを書き込む。第2の書き込み処理では、フラッシュメモリ1003に記録された不要データを消去した後にデータをフラッシュメモリ1003に、例えば、ブロック単位で書き込む。   The memory control unit 1002 selectively performs the first and second write processes by the write process switching unit 1004. In the first write process (normal write process), data is written to the flash memory 1003. In the second writing process, unnecessary data recorded in the flash memory 1003 is erased, and then data is written into the flash memory 1003, for example, in units of blocks.

図5は、SSD413にデータ書き込みを行う際の動的な切り替え制御の手順を説明するためのフローチャートである。この切り替え制御はメインコントローラ400のCPU401で行われる。   FIG. 5 is a flowchart for explaining a procedure for dynamic switching control when data is written to the SSD 413. This switching control is performed by the CPU 401 of the main controller 400.

CPU401で動作するOSがSSD413に対するデータ書き込みを要求すると、CPU401はデータ書き込み要求を受信し(ステップS101)、画像形成装置10が不要データを完全に消去する完全消去モードに設定されているか否かを確認する(ステップS102)。   When the OS running on the CPU 401 requests data writing to the SSD 413, the CPU 401 receives the data writing request (step S101), and determines whether or not the image forming apparatus 10 is set to a complete erasing mode for completely erasing unnecessary data. Confirm (step S102).

画像形成装置10が完全消去モードに設定されている場合(ステップS102においてYES)、CPU401は書き込み対象データのサイズ(容量)を確認する(ステップS103)。   When the image forming apparatus 10 is set to the complete erasure mode (YES in step S102), the CPU 401 confirms the size (capacity) of the write target data (step S103).

書き込み対象データのサイズ(容量)が所定のデータサイズ(容量)αより大きい場合(ステップS104においてYES)、CPU401は、切り替えフラグ領域(例えば、切り替えフラグに対応可能な特定のデバイス以外のデバイスが無視する領域)に所定の書き込み処理切り替え用フラグデータが設定されたデータ書き込み命令(ライトコマンド)をセットする(ステップS105)。以下、切り替えフラグ領域に所定のフラグデータが設定されたデータ書き込み命令(切り替えフラグが設定されたデータ書き込み命令)を切り替え書き込み命令という。   When the size (capacity) of the data to be written is larger than the predetermined data size (capacity) α (YES in step S104), the CPU 401 ignores a switching flag area (for example, a device other than a specific device that can handle the switching flag). A data write command (write command) in which predetermined write process switching flag data is set is set in the area to be processed (step S105). Hereinafter, a data write command in which predetermined flag data is set in the switch flag area (data write command in which the switch flag is set) is referred to as a switch write command.

上記の切り替えフラグ領域として、例えば、SATA又はATA規格のストレージ・インターフェースにおいてはフィーチャーズ・レジスタが用いられる。   As the switching flag area, for example, a features register is used in a storage interface of SATA or ATA standards.

続いて、CPU401はストレージ制御部412を介してSSD413に切り替え書き込み命令および書き込み対象データを送出してデータライトを実行し(ステップS106)、切り替え制御を終了する。   Subsequently, the CPU 401 sends a switching write command and write target data to the SSD 413 via the storage control unit 412 to execute data write (step S106), and the switching control is terminated.

一方、画像形成装置10が完全消去モードに設定されていない場合(ステップS102においてNO)または書き込み対象データのサイズが所定のデータサイズα以下の場合には(ステップS104においてNO)、CPU401は通常のデータ書き込み命令(以下、通常書き込み命令という)をセットする(ステップS107)。通常書き込み命令は前述の切り替えフラグが設定されていないデータ書き込み命令をいう。そして、CPU401はステップS106に進み、データライトを実行する。   On the other hand, when the image forming apparatus 10 is not set to the complete erasure mode (NO in step S102) or when the size of the write target data is equal to or smaller than the predetermined data size α (NO in step S104), the CPU 401 A data write command (hereinafter referred to as a normal write command) is set (step S107). The normal write command is a data write command in which the switching flag is not set. Then, the CPU 401 proceeds to step S106 and executes data write.

以下、切り替え書き込み命令および通常書き込み命令をデータ書き込み命令と総称する。   Hereinafter, the switching write command and the normal write command are collectively referred to as a data write command.

図6は、図5に示す切り替え制御が行われる際のSSD413における切り替え制御の手順を説明するためのフローチャートである。   FIG. 6 is a flowchart for explaining the procedure of switching control in the SSD 413 when the switching control shown in FIG. 5 is performed.

図5のステップS106で説明したようにストレージ制御部412がデータ書込み命令をSSD413に送ると、SSD413ではストレージI/F1001において当該データ書き込み命令を受信する(ステップS201)。   As described in step S106 in FIG. 5, when the storage control unit 412 sends a data write command to the SSD 413, the SSD 413 receives the data write command in the storage I / F 1001 (step S201).

SSD413のメモリ制御部1002はデータ書き込み命令に切り替えフラグ(完全消去フラグともいう)が存在するか否かを確認する(ステップS202)。つまり、メモリ制御部1002は、受信したデータ書き込み命令が切り替え書き込み命令であるか又は通常書き込み命令であるかを確認する。   The memory control unit 1002 of the SSD 413 confirms whether or not a switching flag (also referred to as a complete erase flag) exists in the data write command (step S202). That is, the memory control unit 1002 confirms whether the received data write command is a switching write command or a normal write command.

データ書き込み命令に切り替えフラグが存在すると(ステップS202においてYES)、メモリ制御部1002は完全消去対応の書き込み処理でフラッシュメモリ1003に対してデータの書き込みを行い(ステップS203)、切り替え制御を終了する。一方、データ書き込み命令に切り替えフラグが存在しないと(ステップS202においてNO)、メモリ制御部1002は、通常の書き込み処理でフラッシュメモリ1003に対してデータの書き込みを行い(ステップS204)、切り替え制御を終了する。   If a switching flag is present in the data write command (YES in step S202), the memory control unit 1002 writes data to the flash memory 1003 by a write process corresponding to complete erasure (step S203), and the switching control ends. On the other hand, if there is no switching flag in the data write command (NO in step S202), the memory control unit 1002 writes data to the flash memory 1003 in a normal write process (step S204), and ends the switching control. To do.

図7は、図1に示す画像形成システム制御系がシャットダウンする際に行われるSSD413の未使用ブロック内のデータの一括消去処理の手順を説明するためのフローチャートである。   FIG. 7 is a flowchart for explaining a procedure of batch erasure processing of data in unused blocks of the SSD 413 performed when the image forming system control system shown in FIG. 1 is shut down.

CPU401で動作するOSがシャットダウン命令を発行すると、CPU401はシャットダウン命令を受信し(ステップS301)、画像形成装置10が不要データを完全に消去する完全消去モードに設定されているか否かについて確認する(ステップS302)。画像形成装置10が完全消去モードに設定されていないと(ステップS302においてNO)、ステップS304に進む。   When the OS running on the CPU 401 issues a shutdown command, the CPU 401 receives the shutdown command (step S301), and confirms whether or not the image forming apparatus 10 is set to a complete erasing mode that completely erases unnecessary data ( Step S302). If image forming apparatus 10 is not set to the complete erasure mode (NO in step S302), the process proceeds to step S304.

一方、画像形成装置10が完全消去モードに設定されている場合には(ステップS302においてYES)、CPU401はストレージ制御部412を介してSSD413が備えるフラッシュメモリ1003内の未使用ブロック(シャットダウン前に未使用であったブロック)に対して一括消去命令を実施する(ステップS303)。これによって、未使用ブロック内に残留する8Kバイト以下の残留データの一括削除が行われる。   On the other hand, when the image forming apparatus 10 is set to the complete erasure mode (YES in step S302), the CPU 401 uses the storage control unit 412 to block unused blocks in the flash memory 1003 included in the SSD 413 (unused before shutdown). A batch erase command is executed for the block that was used (step S303). As a result, collective deletion of residual data of 8K bytes or less remaining in the unused block is performed.

次に、CPU401はシャットダウンシーケンスを実行して(ステップS304)、一括消去処理を終了する。   Next, the CPU 401 executes a shutdown sequence (step S304) and ends the batch erasure process.

なお、図7の一括消去処理は、画像形成装置10の起動時に行うようにしてもよい。   7 may be performed when the image forming apparatus 10 is activated.

図8は、図1に示す画像形成システム制御系がアイドル状態である場合に行われるSSD413の未使用ブロック内のデータの一括消去処理の手順を説明するためのフローチャートである。   FIG. 8 is a flowchart for explaining a procedure of batch erasure processing of data in unused blocks of the SSD 413 performed when the image forming system control system shown in FIG. 1 is in an idle state.

画像形成装置10がアイドル状態であることを検出すると(ステップS401)、CPU401は画像形成装置10が完全消去モードに設定されているか否かについて確認する(ステップS402)。画像形成装置10が完全消去モードに設定されていなければ(ステップS402においてNO)、一括消去処理を終了する。   When detecting that the image forming apparatus 10 is in the idle state (step S401), the CPU 401 confirms whether or not the image forming apparatus 10 is set to the complete erasing mode (step S402). If the image forming apparatus 10 is not set to the complete erasing mode (NO in step S402), the batch erasing process is terminated.

一方、画像形成装置10が完全消去モードに設定されている場合には(ステップS402においてYES)、CPU401はストレージ制御部412を介してSSD413が備えるフラッシュメモリ1003内の未使用ブロック(画像形成装置10がアイドル状態となる前に未使用であったブロック)に対して一括消去命令を実施する(ステップS403)。   On the other hand, when the image forming apparatus 10 is set to the complete erasure mode (YES in step S402), the CPU 401 uses the storage control unit 412 to use unused blocks (image forming apparatus 10) in the flash memory 1003 included in the SSD 413. A batch erase command is executed on a block that has not been used before it becomes idle (step S403).

続いて、CPU401は消去処理の進捗状況を確認し、消去処理が終了したか否かを判別する(ステップS404)。消去処理が終了していると(ステップS404においてYES)、CPU401は一括消去処理を終了する。   Subsequently, the CPU 401 confirms the progress status of the erasure process and determines whether or not the erasure process has been completed (step S404). If the erasing process has been completed (YES in step S404), the CPU 401 ends the batch erasing process.

一方、消去処理が終了していなければ(ステップS404においてNO)、CPU401は印刷ジョブなどのジョブが新たに投入されたか否かを確認する(ステップS405)。ジョブの投入がないと(ステップS405においてNO)、CPU401はステップS404に戻って、消去処理が終了したか否かを確認する。   On the other hand, if the erasing process has not been completed (NO in step S404), the CPU 401 checks whether or not a job such as a print job has been newly input (step S405). If no job has been input (NO in step S405), the CPU 401 returns to step S404 to check whether the erasure process has been completed.

ジョブの投入があると(ステップS405においてYES)、CPU401は消去処理を停止して(ステップS406)、一括消去処理を終了する。   When a job is input (YES in step S405), the CPU 401 stops the erasing process (step S406) and ends the batch erasing process.

図9は、図5に示す切り替え制御における書き込み処理切り替え条件(画像形成装置の動作モードおよびデータサイズ)に更なる切り替え条件としてデータのファイル情報を追加した際に行われる切り替え制御の手順を説明するためのフローチャートである。   FIG. 9 illustrates a switching control procedure performed when data file information is added as a further switching condition to the writing process switching condition (the operation mode and data size of the image forming apparatus) in the switching control illustrated in FIG. It is a flowchart for.

図9のステップS101〜S104、S501〜S503およびS507では図5のステップS101〜S107での処理と同様の処理が行われる。以下の説明では、図9のステップS101〜S103の説明を省略する。   In steps S101 to S104, S501 to S503, and S507 in FIG. 9, processing similar to the processing in steps S101 to S107 in FIG. 5 is performed. In the following description, the description of steps S101 to S103 in FIG. 9 is omitted.

書き込み対象データのサイズが所定のデータサイズαより大きい場合(ステップS104においてYES)、CPU401は、切り替えフラグが設定されたデータ書き込み命令(切り替え書き込み命令)をセットする(ステップS501)。そして、CPU401はストレージ制御部412を介して切り替え書き込み命令(ライトコマンド)および書き込み対象データをSSD413へ送信する(ステップS502及びS503)。   When the size of the write target data is larger than the predetermined data size α (YES in step S104), the CPU 401 sets a data write command (switch write command) in which the switch flag is set (step S501). Then, the CPU 401 transmits a switching write command (write command) and write target data to the SSD 413 via the storage control unit 412 (steps S502 and S503).

書き込み対象データのサイズが所定のデータサイズα以下であると(ステップS104においてNO)、CPU401は、書き込み対象データにおけるファイル情報を確認し(ステップS504)、ファイル情報から書き込み対象データが完全消去対象データであるか否かを判定する(ステップS505)。   If the size of the write target data is equal to or smaller than the predetermined data size α (NO in step S104), the CPU 401 confirms the file information in the write target data (step S504), and the write target data is determined as complete erasure target data from the file information. It is determined whether or not (step S505).

書き込み対象データが完全消去対象データであると(ステップS505においてYES)、CPU401は書き込み対象データにダミーデータを付加してフラッシュメモリ1003のブロックサイズ以上(データ容量以上)のサイズにし(ステップS506)、ステップS501に移行する。   If the data to be written is data to be completely erased (YES in step S505), the CPU 401 adds dummy data to the data to be written to make the size larger than the block size of the flash memory 1003 (data capacity or more) (step S506). The process proceeds to step S501.

画像形成装置10が完全消去モードに設定されていない場合(ステップS102においてNO)または書き込み対象データが完全消去対象データでない場合(ステップS505においてNO)、CPU401は通常書き込み命令をセットして(ステップS507)、ステップS502に移行する。   If the image forming apparatus 10 is not set to the complete erasure mode (NO in step S102) or the write target data is not the complete erase target data (NO in step S505), the CPU 401 sets a normal write command (step S507). ), The process proceeds to step S502.

図10は、図5に示す切り替え制御における書き込み処理切り替え条件(画像形成装置の動作モードおよびデータサイズ)に更なる切り替え条件として半導体ストレージに対して割り当てられる論理アドレスを追加した際に行われる切り替え制御の手順を説明するフローチャートである。   FIG. 10 shows switching control performed when a logical address assigned to the semiconductor storage is added as a further switching condition to the writing process switching condition (the operation mode and data size of the image forming apparatus) in the switching control shown in FIG. It is a flowchart explaining the procedure of.

図10のステップS101、S102において、図5のステップS101、S102での処理と同様の処理が行われる。そして、画像形成装置10が完全消去モードに設定されている場合には(ステップS102においてYES)、CPU401は、書き込み要求時に指定された書き込み対象データの書き込み先論理アドレスを論理アドレス管理テーブルに登録されている各論理アドレスと照合する(論理アドレス照合)(ステップS601)。   In steps S101 and S102 in FIG. 10, the same processing as in steps S101 and S102 in FIG. 5 is performed. When the image forming apparatus 10 is set to the complete erasure mode (YES in step S102), the CPU 401 registers the write destination logical address of the write target data designated at the time of the write request in the logical address management table. It collates with each logical address (logical address collation) (step S601).

この論理アドレス管理テーブルは、完全消去対象データを書き込む予め定めた論理領域を表す論理アドレスをテーブルデータとして管理するものであり、前記テーブルデータは例えばRAM403に格納される。なお、前記テーブルデータの格納先はRAM403に限定するものでは無く、書き換え可能な記憶媒体であれば良い。パフォーマンスに影響がなければSSD413でも良い。   This logical address management table manages a logical address representing a predetermined logical area in which data to be completely erased is written as table data, and the table data is stored in the RAM 403, for example. The storage destination of the table data is not limited to the RAM 403 and may be any rewritable storage medium. If the performance is not affected, SSD 413 may be used.

書き込み対象データの書き込み先論理アドレスが論理アドレス管理テーブルに登録されている論理アドレスと一致すると(ステップS602においてYES)、CPU401は書き込み対象データのサイズを確認する(ステップS603)。   When the write destination logical address of the write target data matches the logical address registered in the logical address management table (YES in step S602), the CPU 401 checks the size of the write target data (step S603).

次に、CPU401は、書き込み対象データのサイズが所定のデータサイズαより大きいか否かを判別する(ステップS604)。論理アドレス管理テーブルには、書き込み処理切り替え条件としての書き込み対象データのサイズの閾値が論理アドレス毎に設定されている。ステップS604では、書き込み対象データの書き込み先論理アドレスに対応する論理アドレスに対して設定された閾値を所定のデータサイズαとして用いる。   Next, the CPU 401 determines whether or not the size of the write target data is larger than the predetermined data size α (step S604). In the logical address management table, a threshold value for the size of write target data as a write process switching condition is set for each logical address. In step S604, the threshold set for the logical address corresponding to the write destination logical address of the write target data is used as the predetermined data size α.

書き込み対象データのサイズが所定のデータサイズαより大きい場合(上回る場合)には(ステップS604においてYES)、CPU401は、切り替え書き込み命令すなわち切り替えフラグが設定されたデータ書き込み命令をセットし(ステップS605)、ストレージ制御部412を介して切り替え書き込み命令(ライトコマンド)および書き込み対象データをSSD413へ送信する(ステップS607及びS608)。   If the size of the data to be written is larger than (or exceeds) the predetermined data size α (YES in step S604), the CPU 401 sets a switching write command, that is, a data write command in which the switching flag is set (step S605). Then, the switching write command (write command) and the write target data are transmitted to the SSD 413 via the storage control unit 412 (steps S607 and S608).

画像形成装置10が完全消去モードに設定されていない場合(ステップS102においてNO)または書き込み対象データの書き込み先論理アドレスが論理アドレス管理テーブルに登録されている論理アドレスと一致しない場合(ステップS602においてNO)または書き込み対象データのサイズが所定のデータサイズαより大きくない場合、すなわち下回る場合(ステップS604においてNO)、CPU401は通常書き込み命令をセットして(ステップS606)、ステップS607に移行する。   When the image forming apparatus 10 is not set to the complete erasure mode (NO in step S102), or when the write destination logical address of the write target data does not match the logical address registered in the logical address management table (NO in step S602). ) Or when the size of the data to be written is not larger than the predetermined data size α (ie, NO in step S604), the CPU 401 sets a normal write command (step S606), and proceeds to step S607.

上述のように、本実施の形態では、書き込み対象のデータのサイズ(容量)に応じて書き込み処理を動的に切り替えるようにしたので、フラッシュメモリを有する半導体ストレージにおいて、パフォーマンスを低下させずに消去対象のデータを完全消去することができる。   As described above, in the present embodiment, the write processing is dynamically switched according to the size (capacity) of the data to be written, so the erasure is not performed in the semiconductor storage having the flash memory without degrading the performance. The target data can be completely erased.

さらに、半導体ストレージに対して発行されるデータ書き込み命令の所定の領域(例えば、切り替えフラグに対応可能な特定のデバイス以外のデバイスが無視する領域)に切り替えフラグを付加するようにしたので、半導体ストレージにおいて切り替えフラグに基づいてデータ書き込み処理の切り替えを行うことができる。その結果、特定のデバイス以外のデバイスに対して書き込み命令を発行したとしても、当該特定のデバイス以外のデバイスでは通常の書き込み処理が行われて、誤動作することがない。   Furthermore, since a switching flag is added to a predetermined area of a data write command issued to the semiconductor storage (for example, an area ignored by a device other than a specific device that can handle the switching flag), the semiconductor storage The data writing process can be switched based on the switching flag. As a result, even if a write command is issued to a device other than the specific device, a normal write process is performed in the device other than the specific device, and no malfunction occurs.

また、画像形成装置の起動の際およびシャットダウンの際、そして、画像形成装置がアイドル状態である場合に、未使用ブロックの残留データを一括消去するようにしたので、パフォーマンスに影響を与えることになく、所定のデータ容量(例えば8Kバイト)以下の残留データを全て消去することができる。   In addition, when the image forming apparatus is started up and shut down, and when the image forming apparatus is in an idle state, residual data in unused blocks is erased at once, so that there is no effect on performance. All the remaining data below a predetermined data capacity (for example, 8 Kbytes) can be erased.

加えて、書き込み対象のデータが所定のデータ容量以下の容量であっても、ファイル情報から完全消去対象のデータであると確認された場合には、当該データにダミーデータを付加してパフォーマンスに影響しないデータ容量としてから、完全消去対応の書き込み処理(第2の書き込み処理)を行うことができる。   In addition, even if the data to be written is less than the specified data capacity, if it is confirmed from the file information that the data is to be completely erased, dummy data is added to the data to affect performance. Since the data capacity is not set, a write process corresponding to complete erasure (second write process) can be performed.

また、上述のように、本実施例の形態では、完全消去対象データを書き込む論理領域を予め決めておき、各論理領域の論理アドレスをテーブル化して管理し、データの書き込み時に当該データの格納先論理アドレスと前記管理テーブルに登録されている各論理アドレスと照合する。そして、アドレス照合結果にしたがって完全消去処理が必要の無いデータを排除した上で書き込み対象データ容量に応じて書き込み処理を動的に切り替えるので、データの完全消去によるパフォーマンスの低下を更に抑制することができる。   Further, as described above, in this embodiment, a logical area in which data to be completely erased is written is determined in advance, and the logical address of each logical area is managed as a table. The logical address is compared with each logical address registered in the management table. In addition, since data that does not require complete erasure processing is excluded according to the address verification result, and the write processing is dynamically switched according to the write target data capacity, it is possible to further suppress performance degradation due to complete data erasure. it can.

さらに、前記論理アドレスによる完全消去対象データの絞り込みはLINUX(登録商標)等の汎用OSにおいても適用することができる。   Further, the narrowing of data to be completely erased by the logical address can be applied to a general-purpose OS such as LINUX (registered trademark).

加えて、第1または第2の書き込み処理を選択的に行うための書き込み対象データの容量の閾値(所定のデータ容量α)を論理アドレス管理テーブルに論理アドレス毎に任意に設定可能であるので、パフォーマンスの調整を柔軟に行うことができる。   In addition, since the threshold value (predetermined data capacity α) of the write target data for selectively performing the first or second write process can be arbitrarily set for each logical address in the logical address management table, The performance can be adjusted flexibly.

上述の説明から明らかなように、CPU401、ストレージ制御部412、およびフラッシュ制御部1000がメモリ制御装置を構成することになる(メモリ制御装置および下記の各種手段はクレームに定義されている)。そして、フラッシュ制御部1000が書き込み処理手段として機能し、CPU401が書き込み切り替え手段および判定手段として機能する。また、CPU401およびフラッシュ制御部1000が消去手段として機能し、CPU401が確認手段およびダミー付加手段として機能する。   As is apparent from the above description, the CPU 401, the storage control unit 412, and the flash control unit 1000 constitute a memory control device (the memory control device and the following various means are defined in the claims). The flash control unit 1000 functions as a write processing unit, and the CPU 401 functions as a write switching unit and a determination unit. Further, the CPU 401 and the flash control unit 1000 function as an erasing unit, and the CPU 401 functions as a confirmation unit and a dummy adding unit.

400 メインコントローラ
401 CPU
402 ROM
403 RAM
407 HDD
412 ストレージ制御部
413 SSD
1000 フラッシュ制御部
1001 ストレージI/F
1002 メモリ制御部
1003 フラッシュメモリ
1004 書き込み切り替え部
400 Main controller 401 CPU
402 ROM
403 RAM
407 HDD
412 Storage control unit 413 SSD
1000 Flash control unit 1001 Storage I / F
1002 Memory control unit 1003 Flash memory 1004 Write switching unit

Claims (13)

少なくとも1つのフラッシュメモリを備えるストレージへのデータ書き込みを制御するメモリ制御装置であって、
前記フラッシュメモリにデータを書き込む第1の書き込み処理と、前記フラッシュメモリに記録された不要データを消去した後に前記フラッシュメモリにデータを書き込む第2の書き込み処理の一方を選択的に行う書き込み処理手段と、
前記書き込み処理手段に前記第1および第2の書き込み処理の一方を選択的に行わせる書き込み切り替え手段と、
不要データを消去する消去モードが設定されていると、書き込み対象データの容量が所定のデータ容量以下であるか否かを判定する判定手段と、を有し、
前記判定手段によって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記書き込み切り替え手段は前記書き込み処理手段に前記第2の書き込み処理を行わせることを特徴とするメモリ制御装置。
A memory controller for controlling data writing to a storage comprising at least one flash memory,
Write processing means for selectively performing one of a first write process for writing data to the flash memory and a second write process for writing data to the flash memory after erasing unnecessary data recorded in the flash memory; ,
Write switching means for causing the write processing means to selectively perform one of the first and second write processes;
Determining means for determining whether or not the capacity of data to be written is equal to or less than a predetermined data capacity when an erasing mode for erasing unnecessary data is set;
The memory control, wherein when the determination unit determines that the capacity of the write target data exceeds the predetermined data capacity, the write switching unit causes the write processing unit to perform the second write process. apparatus.
前記判定手段によって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記書き込み切り替え手段は、書き込み命令に切り替えフラグを設定して前記切り替えフラグが設定された書き込み命令を前記書き込み処理手段に送信し、
前記書き込み処理手段は、前記切り替えフラグが設定された書き込み命令に応じて前記第2の書き込み処理を実行することを特徴とする請求項1記載のメモリ制御装置。
When it is determined by the determination means that the capacity of the write target data exceeds the predetermined data capacity, the write switching means sets a switching flag in the write instruction and sets the write instruction in which the switching flag is set to Send to write processing means,
2. The memory control device according to claim 1, wherein the write processing unit executes the second write process in response to a write command in which the switching flag is set.
前記切り替えフラグは、前記書き込み命令の所定の領域であるSATA又はATA規格におけるフィーチャーズ・レジスタに設定されることを特徴とする請求項2記載のメモリ制御装置。   3. The memory control device according to claim 2, wherein the switching flag is set in a feature register in a SATA or ATA standard, which is a predetermined area of the write command. 前記所定のデータ容量以下の容量の残留データを消去する消去手段をさらに有し、
前記書き込み処理手段は、前記フラッシュメモリに予め定められたブロック単位でデータを書き込み、
前記消去手段は、前記メモリ制御装置を起動又はシャットダウンする前において未使用であったブロックに残留データが存在する場合、前記メモリ制御装置を起動又はシャットダウンすると、前記残留データを一括して消去することを特徴とする請求項1記載のメモリ制御装置。
An erasing unit for erasing residual data having a capacity equal to or less than the predetermined data capacity;
The write processing means writes data in a predetermined block unit to the flash memory,
The erasing means erases the residual data collectively when the memory control device is started or shut down when there is residual data in a block that has not been used before the memory control device is started or shut down. The memory control device according to claim 1.
前記所定のデータ容量以下の容量の残留データを消去する消去手段をさらに有し、
前記書き込み処理手段は、前記フラッシュメモリに予め定められたブロック単位でデータを書き込み、
前記消去手段は、前記メモリ制御装置がアイドル状態になる前において未使用であったブロックに残留データが存在する場合、前記メモリ制御装置がアイドル状態になり或いはアイドル状態にあると、前記残留データを一括して消去することを特徴とする請求項1記載のメモリ制御装置。
An erasing unit for erasing residual data having a capacity equal to or less than the predetermined data capacity;
The write processing means writes data in a predetermined block unit to the flash memory,
When there is residual data in a block that has not been used before the memory control device is in an idle state, the erasing means stores the residual data when the memory control device is in an idle state or in an idle state. 2. The memory control device according to claim 1, wherein the memory control device is erased all at once.
前記判定手段によって前記書き込み対象データの容量が前記所定のデータ容量以下であると判定されると、前記書き込み対象データのファイル情報を参照して前記書き込み対象データが消去対象データであるか否かを確認する確認手段と、
前記確認手段によって前記書き込み対象データが前記消去対象データであると確認されると、前記書き込み対象データにダミーデータを付加して、当該書き込み対象データの容量を前記所定のデータ容量以上の容量とするダミー付加手段と、をさらに有することを特徴とする請求項1記載のメモリ制御装置。
When the determination unit determines that the capacity of the write target data is equal to or less than the predetermined data capacity, it is determined whether the write target data is the erase target data with reference to file information of the write target data. Confirmation means to confirm;
When the confirmation means confirms that the data to be written is the data to be erased, dummy data is added to the data to be written to make the capacity of the data to be written larger than the predetermined data capacity. 2. The memory control device according to claim 1, further comprising dummy adding means.
前記ストレージに割り当てられる論理アドレスを任意に設定可能な論理アドレス管理テーブルと、
前記ストレージへのデータ書き込み要求時に指定された書き込み先論理アドレスと前記論理アドレス管理テーブルに設定された各論理アドレスとを照合する論理アドレス照合手段と、をさらに有し、
前記指定された書き込み先論理アドレスが前記論理アドレス管理テーブルに設定された論理アドレスのいずれかと一致し、かつ前記書込み対象データの容量が前記所定のデータ容量を上回る場合には前記書き込み切り替え手段は前記書き込み処理手段に前記第2の書き込み処理を行わせ、
前記書込み対象データの容量が前記所定のデータ容量を下回るか前記指定された書き込み先論理アドレスが前記論理アドレス管理テーブルに設定された論理アドレスと一致しない場合に前記書き込み切り替え手段は前記書き込み処理手段に前記第1の書き込み処理を行わせることを特徴とする請求項1記載のメモリ制御装置。
A logical address management table capable of arbitrarily setting logical addresses assigned to the storage;
Logical address verification means for verifying a write destination logical address specified at the time of a data write request to the storage and each logical address set in the logical address management table;
When the designated write destination logical address matches one of the logical addresses set in the logical address management table and the capacity of the write target data exceeds the predetermined data capacity, the write switching means Causing the writing processing means to perform the second writing processing;
When the capacity of the write target data is less than the predetermined data capacity or the designated write destination logical address does not match the logical address set in the logical address management table, the write switching means sends the write processing means to the write processing means. The memory control device according to claim 1, wherein the first write processing is performed.
前記論理アドレス管理テーブルに論理アドレス毎に前記所定のデータ容量を設定することを特徴とする請求項7記載のメモリ制御装置。   8. The memory control device according to claim 7, wherein the predetermined data capacity is set for each logical address in the logical address management table. 少なくとも1つのフラッシュメモリを備えるストレージへのデータ書き込みを制御するメモリ制御装置の制御方法であって、
前記フラッシュメモリにデータを書き込む第1の書き込み処理ステップと、
前記フラッシュメモリに記録された不要データを消去した後に前記フラッシュメモリにデータを書き込む第2の書き込み処理ステップと、
前記第1または第2の書き込み処理ステップを選択する切り替えステップと、
不要データを消去する消去モードが設定されていると、書き込み対象データの容量が所定のデータ容量以下であるか否かを判定する判定ステップと、を有し、
前記判定ステップによって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記切り替えステップでは前記第2の書き込み処理ステップを選択することを特徴とするメモリ制御装置の制御方法。
A control method of a memory control device for controlling data writing to a storage including at least one flash memory,
A first write processing step of writing data to the flash memory;
A second write processing step of writing data into the flash memory after erasing unnecessary data recorded in the flash memory;
A switching step for selecting the first or second write processing step;
A determination step for determining whether or not the capacity of data to be written is equal to or less than a predetermined data capacity when an erasing mode for erasing unnecessary data is set,
The memory control device control method according to claim 1, wherein when the determination step determines that the capacity of the write target data exceeds the predetermined data capacity, the switching step selects the second write processing step.
前記メモリ制御装置の、前記ストレージに割り当てられる論理アドレスを任意に設定可能な論理アドレス管理テーブルに設定された各論理アドレスと、前記ストレージへのデータ書き込み要求時に指定された書き込み先論理アドレスとを照合する論理アドレス照合ステップを、さらに有し、
前記指定された書き込み先論理アドレスが前記論理アドレス管理テーブルに設定された論理アドレスのいずれかと一致し、かつ前記書込み対象データの容量が前記所定のデータ容量を上回る場合には前記切り替えステップで前記第2の書き込み処理ステップを選択し、
前記書込み対象データの容量が前記所定のデータ容量を下回るか前記指定された書き込み先論理アドレスが前記論理アドレス管理テーブルに設定された論理アドレスと一致しない場合に前記切り替えステップで前記第1書き込み処理ステップを選択することを特徴とする請求項9記載のメモリ制御装置の制御方法。
Each logical address set in the logical address management table in which the logical address assigned to the storage of the memory control device can be arbitrarily set is collated with the write destination logical address specified at the time of a data write request to the storage. A logical address matching step to:
When the designated write destination logical address matches one of the logical addresses set in the logical address management table and the capacity of the write target data exceeds the predetermined data capacity, Select 2 write processing steps,
When the write target data capacity is less than the predetermined data capacity or the designated write destination logical address does not match the logical address set in the logical address management table, the first write processing step in the switching step 10. The method of controlling a memory control device according to claim 9, wherein the method is selected.
少なくとも1つのフラッシュメモリを備えるストレージへのデータ書き込みを制御するメモリ制御装置の制御方法をコンピュータに実行させるためのプログラムをコンピュータで読み取り可能に格納した記憶媒体であって、
前記メモリ制御装置の制御方法 は、
前記フラッシュメモリにデータを書き込む第1の書き込み処理ステップと、
前記フラッシュメモリに記録された不要データを消去した後に前記フラッシュメモリにデータを書き込む第2の書き込み処理ステップと、
前記第1または第2の書き込み処理ステップを選択する切り替えステップと、
不要データを消去する消去モードが設定されていると、書き込み対象データの容量が所定のデータ容量以下であるか否かを判定する判定ステップと、を有し、
前記判定ステップによって前記書き込み対象データの容量が前記所定のデータ容量を超えると判定されると、前記切り替えステップでは前記第2の書き込み処理ステップを選択することを特徴とする記憶媒体。
A storage medium storing a computer-readable program for causing a computer to execute a control method of a memory control device that controls writing of data to a storage including at least one flash memory,
The control method of the memory control device is:
A first write processing step of writing data to the flash memory;
A second write processing step of writing data into the flash memory after erasing unnecessary data recorded in the flash memory;
A switching step for selecting the first or second write processing step;
A determination step for determining whether or not the capacity of data to be written is equal to or less than a predetermined data capacity when an erasing mode for erasing unnecessary data is set,
2. The storage medium according to claim 1, wherein when the determination step determines that the capacity of the write target data exceeds the predetermined data capacity, the switching step selects the second write processing step.
前記制御方法は、
前記メモリ制御装置の、前記ストレージに割り当てられる論理アドレスを任意に設定可能な論理アドレス管理テーブルに設定された各論理アドレスと、前記ストレージへのデータ書き込み要求時に指定された書き込み先論理アドレスとを照合する論理アドレス照合ステップを更に含み、
前記指定された論理アドレスが前記論理アドレス管理テーブルに設定された論理アドレスのいずれかと一致し、かつ前記書込み対象データの容量が前記所定のデータ容量を上回る場合には前記切り替えステップで前記第2の書き込み処理ステップを選択し、
前記書込み対象データの容量が前記所定のデータ容量を下回るか前記指定された書き込み先論理アドレスが前記論理アドレス管理テーブルに設定された論理アドレスと一致しない場合に前記切り替えステップで前記第1の書き込み処理ステップを選択することを特徴とする請求項11記載の記憶媒体。
The control method is:
Each logical address set in the logical address management table in which the logical address assigned to the storage of the memory control device can be arbitrarily set is collated with the write destination logical address specified at the time of a data write request to the storage. Further comprising a logical address matching step,
When the designated logical address matches any one of the logical addresses set in the logical address management table and the capacity of the write target data exceeds the predetermined data capacity, the switching step causes the second to be performed. Select the burn process step,
The first write process in the switching step when the capacity of the write target data is less than the predetermined data capacity or the designated write destination logical address does not match the logical address set in the logical address management table 12. The storage medium according to claim 11, wherein a step is selected.
請求項1記載のメモリ制御装置と、
前記メモリ制御装置の前記ストレージへの書き込み対象データである画像データに応じて印刷を行うプリント手段と、を有することを特徴とする画像形成装置。
A memory control device according to claim 1;
An image forming apparatus comprising: a printing unit that performs printing in accordance with image data that is data to be written to the storage of the memory control device.
JP2012012046A 2011-01-27 2012-01-24 Information processing apparatus, control method and program thereof, and storage medium Expired - Fee Related JP5917163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012012046A JP5917163B2 (en) 2011-01-27 2012-01-24 Information processing apparatus, control method and program thereof, and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011015199 2011-01-27
JP2011015199 2011-01-27
JP2012012046A JP5917163B2 (en) 2011-01-27 2012-01-24 Information processing apparatus, control method and program thereof, and storage medium

Publications (3)

Publication Number Publication Date
JP2012168937A true JP2012168937A (en) 2012-09-06
JP2012168937A5 JP2012168937A5 (en) 2015-03-05
JP5917163B2 JP5917163B2 (en) 2016-05-11

Family

ID=46578363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012012046A Expired - Fee Related JP5917163B2 (en) 2011-01-27 2012-01-24 Information processing apparatus, control method and program thereof, and storage medium

Country Status (2)

Country Link
US (1) US20120198134A1 (en)
JP (1) JP5917163B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015076070A (en) * 2013-10-11 2015-04-20 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP2015191336A (en) * 2014-03-27 2015-11-02 キヤノン株式会社 Memory controller, information processor, control method of information processor and program
JP2015198377A (en) * 2014-04-02 2015-11-09 コニカミノルタ株式会社 Image forming apparatus and control method of flash memory
JP2016219902A (en) * 2015-05-15 2016-12-22 京セラドキュメントソリューションズ株式会社 Image formation device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381737A1 (en) * 2014-06-30 2015-12-31 Davra Networks Limited Gateway device and a gateway system for an internet-of-things environment
JP2016042296A (en) * 2014-08-18 2016-03-31 キヤノン株式会社 Image processing apparatus, information processing method, and program
CN105677240B (en) 2015-12-30 2019-04-23 上海联影医疗科技有限公司 Data-erasure method and system
JP7305340B2 (en) * 2018-12-11 2023-07-10 キヤノン株式会社 Information processing equipment
JP7171430B2 (en) * 2018-12-28 2022-11-15 キヤノン株式会社 IMAGE FORMING APPARATUS AND IMAGE FORMING APPARATUS CONTROL METHOD

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029311A1 (en) * 2003-09-18 2005-03-31 Matsushita Electric Industrial Co., Ltd. Semiconductor memory card, semiconductor memory control apparatus, and semiconductor memory control method
JP2008070975A (en) * 2006-09-12 2008-03-27 Konica Minolta Business Technologies Inc Data storage device and data storage method
JP2010011497A (en) * 2009-10-09 2010-01-14 Fuji Xerox Co Ltd Job processing apparatus, and method and program for controlling the job processing apparatus
JP2010108315A (en) * 2008-10-30 2010-05-13 Fujitsu Ltd Nonvolatile memory driver

Family Cites Families (61)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6347051B2 (en) * 1991-11-26 2002-02-12 Hitachi, Ltd. Storage device employing a flash memory
US6256642B1 (en) * 1992-01-29 2001-07-03 Microsoft Corporation Method and system for file system management using a flash-erasable, programmable, read-only memory
JP3426385B2 (en) * 1995-03-09 2003-07-14 富士通株式会社 Disk controller
JP3580929B2 (en) * 1996-01-16 2004-10-27 パナソニック コミュニケーションズ株式会社 Storage device
US6963359B1 (en) * 1997-10-23 2005-11-08 Fuji Photo Film Co., Ltd. Electronic still camera, instant printer and instant film
US6687815B1 (en) * 2000-02-01 2004-02-03 Sun Microsystems, Inc. Method and apparatus for storing non-volatile configuration information
EP1281123A1 (en) * 2000-05-04 2003-02-05 Koninklijke Philips Electronics N.V. Method, system and computer program for data management on a storage medium
US6760815B1 (en) * 2000-06-02 2004-07-06 Sun Microsystems, Inc. Caching mechanism for a virtual heap
US6865657B1 (en) * 2000-06-02 2005-03-08 Sun Microsystems, Inc. Garbage collector for a virtual heap
US6772274B1 (en) * 2000-09-13 2004-08-03 Lexar Media, Inc. Flash memory system and method implementing LBA to PBA correlation within flash memory array
US6865650B1 (en) * 2000-09-29 2005-03-08 Emc Corporation System and method for hierarchical data storage
US6571326B2 (en) * 2001-03-08 2003-05-27 Intel Corporation Space allocation for data in a nonvolatile memory
GB0230109D0 (en) * 2002-12-24 2003-01-29 Hewlett Packard Co Camera
US6988175B2 (en) * 2003-06-30 2006-01-17 M-Systems Flash Disk Pioneers Ltd. Flash memory management method that is resistant to data corruption by power loss
JP2005092659A (en) * 2003-09-19 2005-04-07 Nec Electronics Corp Data writing/reading control device, and data writing/reading control method
US7012835B2 (en) * 2003-10-03 2006-03-14 Sandisk Corporation Flash memory data correction and scrub techniques
EP1720119A4 (en) * 2004-03-31 2008-01-23 Matsushita Electric Ind Co Ltd Memory card and memory card system
JPWO2005103903A1 (en) * 2004-04-20 2007-08-30 松下電器産業株式会社 Nonvolatile storage system
JP2006023854A (en) * 2004-07-06 2006-01-26 Sharp Corp Information processor, storage device, storage controller and program
JP4207876B2 (en) * 2004-09-30 2009-01-14 ティアック株式会社 Optical disk device
US7315917B2 (en) * 2005-01-20 2008-01-01 Sandisk Corporation Scheduling of housekeeping operations in flash memory systems
US20060161724A1 (en) * 2005-01-20 2006-07-20 Bennett Alan D Scheduling of housekeeping operations in flash memory systems
JP4435699B2 (en) * 2005-01-26 2010-03-24 京セラミタ株式会社 Image forming apparatus
US20060184719A1 (en) * 2005-02-16 2006-08-17 Sinclair Alan W Direct data file storage implementation techniques in flash memories
US20060242635A1 (en) * 2005-04-21 2006-10-26 Scott Broussard Method and system for optimizing array sizes in a JAVA virtual machine
WO2007000862A1 (en) * 2005-06-24 2007-01-04 Matsushita Electric Industrial Co., Ltd. Memory controller, nonvolatile storage device, nonvolatile storage system, and data writing method
JP4525493B2 (en) * 2005-07-01 2010-08-18 ソニー株式会社 Recording control apparatus, recording control method, and camera-integrated recording apparatus
US7409489B2 (en) * 2005-08-03 2008-08-05 Sandisk Corporation Scheduling of reclaim operations in non-volatile memory
KR100725410B1 (en) * 2006-01-20 2007-06-07 삼성전자주식회사 Apparatus and method for executing garbage collection of non volatile memory according to power state
KR100706808B1 (en) * 2006-02-03 2007-04-12 삼성전자주식회사 Data storage apparatus with non-volatile memory operating as write buffer and its block reclaim method
US7761487B2 (en) * 2006-12-13 2010-07-20 Computer Associates Think, Inc. Predicting out of memory conditions using soft references
JP2008152464A (en) * 2006-12-15 2008-07-03 Toshiba Corp Storage device
US7752170B2 (en) * 2007-01-03 2010-07-06 International Business Machines Corporation Implementing dynamic copy-on-write (COW) storage compression in COW storage through zero and deleted blocks
US7657701B2 (en) * 2007-01-03 2010-02-02 The General Electric Company System and method of flash memory wear leveling using distributed write cycles
US7739241B2 (en) * 2007-01-03 2010-06-15 International Business Machines Corporation Implementing dynamic copy-on-write (COW) storage compression through purge function
US7774389B2 (en) * 2007-01-17 2010-08-10 Microsoft Corporation Optimized garbage collection techniques
US20080276050A1 (en) * 2007-05-02 2008-11-06 Yu-Cheng Hsieh Erase handling method for non-volatile memory and electronic apparatus thereof
US7991942B2 (en) * 2007-05-09 2011-08-02 Stmicroelectronics S.R.L. Memory block compaction method, circuit, and system in storage devices based on flash memories
US9396103B2 (en) * 2007-06-08 2016-07-19 Sandisk Technologies Llc Method and system for storage address re-mapping for a memory device
WO2009026946A1 (en) * 2007-08-29 2009-03-05 Lifescan Scotland Limited A data management system and method
US7991807B2 (en) * 2007-11-21 2011-08-02 Sap Ag Method and system for garbage collection
TWI397912B (en) * 2008-02-13 2013-06-01 Genesys Logic Inc Flash memory storage device for adjusting efficiency in accessing flash memory
JP4512649B2 (en) * 2008-03-31 2010-07-28 シャープ株式会社 Image forming apparatus
US8566505B2 (en) * 2008-04-15 2013-10-22 SMART Storage Systems, Inc. Flash management using sequential techniques
US9213612B2 (en) * 2008-09-29 2015-12-15 Cisco Technology, Inc. Method and system for a storage area network
US20100115182A1 (en) * 2008-11-06 2010-05-06 Sony Corporation Flash memory operation
US8166233B2 (en) * 2009-07-24 2012-04-24 Lsi Corporation Garbage collection for solid state disks
US8291131B2 (en) * 2009-07-06 2012-10-16 Micron Technology, Inc. Data transfer management
EP2413245B1 (en) * 2009-07-22 2017-08-23 Hitachi, Ltd. Storage system provided with a plurality of flash packages
JP5481493B2 (en) * 2009-11-11 2014-04-23 パナソニック株式会社 ACCESS DEVICE, INFORMATION RECORDING DEVICE, CONTROLLER, REAL TIME INFORMATION RECORDING SYSTEM, ACCESS METHOD, AND PROGRAM
US20110119462A1 (en) * 2009-11-19 2011-05-19 Ocz Technology Group, Inc. Method for restoring and maintaining solid-state drive performance
TWI497293B (en) * 2009-12-17 2015-08-21 Ibm Data management in solid state storage devices
US8972690B2 (en) * 2010-01-05 2015-03-03 Deric Horn Methods and apparatuses for usage based allocation block size tuning
US8626986B2 (en) * 2010-06-30 2014-01-07 Sandisk Technologies Inc. Pre-emptive garbage collection of memory blocks
US8706983B2 (en) * 2010-06-30 2014-04-22 Sandisk Technologies Inc. Garbage collection of memory blocks using volatile memory
US8850114B2 (en) * 2010-09-07 2014-09-30 Daniel L Rosenband Storage array controller for flash-based storage devices
US8452911B2 (en) * 2010-09-30 2013-05-28 Sandisk Technologies Inc. Synchronized maintenance operations in a multi-bank storage system
US20120110239A1 (en) * 2010-10-27 2012-05-03 Seagate Technology Llc Causing Related Data to be Written Together to Non-Volatile, Solid State Memory
US8874872B2 (en) * 2011-01-21 2014-10-28 Seagate Technology Llc Garbage collection management in memories
US10049040B2 (en) * 2011-01-21 2018-08-14 Seagate Technology Llc Just in time garbage collection
CN102511044B (en) * 2011-09-06 2013-10-02 华为技术有限公司 Method for deleting the data and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005029311A1 (en) * 2003-09-18 2005-03-31 Matsushita Electric Industrial Co., Ltd. Semiconductor memory card, semiconductor memory control apparatus, and semiconductor memory control method
JP2008070975A (en) * 2006-09-12 2008-03-27 Konica Minolta Business Technologies Inc Data storage device and data storage method
JP2010108315A (en) * 2008-10-30 2010-05-13 Fujitsu Ltd Nonvolatile memory driver
JP2010011497A (en) * 2009-10-09 2010-01-14 Fuji Xerox Co Ltd Job processing apparatus, and method and program for controlling the job processing apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015076070A (en) * 2013-10-11 2015-04-20 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP2015191336A (en) * 2014-03-27 2015-11-02 キヤノン株式会社 Memory controller, information processor, control method of information processor and program
JP2015198377A (en) * 2014-04-02 2015-11-09 コニカミノルタ株式会社 Image forming apparatus and control method of flash memory
US10178265B2 (en) 2014-04-02 2019-01-08 Konica Minolta, Inc. Image formation apparatus, method of controlling flash memory, and non-transitory computer-readable storage medium
JP2016219902A (en) * 2015-05-15 2016-12-22 京セラドキュメントソリューションズ株式会社 Image formation device

Also Published As

Publication number Publication date
US20120198134A1 (en) 2012-08-02
JP5917163B2 (en) 2016-05-11

Similar Documents

Publication Publication Date Title
JP5917163B2 (en) Information processing apparatus, control method and program thereof, and storage medium
JP6289128B2 (en) Information processing apparatus, control method therefor, and program
JP6875808B2 (en) Information processing device
US20120300260A1 (en) Printing apparatus with semiconductor nonvolatile storage device, and control method therefor
US9442843B2 (en) Information processing apparatus, method of controlling the same, and storage medium
US9983834B2 (en) Information processing apparatus, method of writing contiguous blocks for secure erease data and writing distributive blocks for non-secure erase data
JP2016206938A (en) Information processing system, memory control method for information processing system, and program
JP2018063676A (en) Information processing device, control method thereof, and program
JP5625888B2 (en) Semiconductor storage medium control apparatus, semiconductor storage medium control method, and image forming apparatus.
JP2012191370A (en) Image forming device
JP2013117910A (en) Information processor, control method thereof, and program
JP2014138265A (en) Image forming apparatus
JP4562433B2 (en) Image processing device
JP2015204071A (en) Information processing device, information processing method and program
JP2018063499A (en) Information processing device, control method thereof, and program
US20170160964A1 (en) Electronic device and non-transitory computer readable storage medium
JP2019179292A (en) Storage apparatus, and control method and program thereof
US10678486B2 (en) Printing apparatus controlling spooling of image data in volatile and non-volatile memories based on memory capacity
JP2017027203A (en) Storage medium control device, storage medium control program, and storage medium control method
JP2018014005A (en) Storage controller
JP2023128642A (en) Information processing apparatus, method for controlling information processing apparatus, and program
JP2016139252A (en) Image forming device and control program therefor
JP2015035114A (en) Storage control method of image forming apparatus
JP6459570B2 (en) Image forming apparatus, activation control method, and activation control program
JP2021179731A (en) Information processing device, method for controlling information processing device, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150119

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160108

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: 20160308

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160406

R151 Written notification of patent or utility model registration

Ref document number: 5917163

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees