JP2006171907A - Information processor and nonvolatile memory controller - Google Patents
Information processor and nonvolatile memory controller Download PDFInfo
- Publication number
- JP2006171907A JP2006171907A JP2004360441A JP2004360441A JP2006171907A JP 2006171907 A JP2006171907 A JP 2006171907A JP 2004360441 A JP2004360441 A JP 2004360441A JP 2004360441 A JP2004360441 A JP 2004360441A JP 2006171907 A JP2006171907 A JP 2006171907A
- Authority
- JP
- Japan
- Prior art keywords
- data
- hdd
- memory
- writing
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、不揮発性の記憶手段を備える情報処理装置、及びその不揮発性の記憶手段を制御する不揮発性メモリ制御装置に関する。 The present invention relates to an information processing apparatus including a non-volatile storage unit and a non-volatile memory control apparatus that controls the non-volatile storage unit.
PC(パーソナルコンピュータ)等の情報処理装置には、HDD(ハードディスクドライブ)やフラッシュメモリ等の不揮発性の記憶装置が備えられることが多い。これらの不揮発性記憶装置は、電源を切った後にもデータを記憶し続けるため、データの漏洩が問題となる。特に、廃棄や譲渡した不揮発性記憶装置からも他人がデータを読み取ることが可能であり問題となる。このため、廃棄や譲渡の際に、不揮発性記憶装置の全データを消去することが通常行われている。この場合の一方法として、情報処理装置のCPU(中央処理装置)が演算により生成したランダムデータや所定のデータ等を、情報処理装置の備えるメモリに書き込み、このデータをメモリからDMA(ダイナミックメモリアクセス)機能を用いて不揮発性記憶手段の全記憶領域に書き込むことが行われる。 Information processing apparatuses such as PCs (personal computers) are often provided with non-volatile storage devices such as HDDs (hard disk drives) and flash memories. Since these nonvolatile storage devices continue to store data even after the power is turned off, data leakage becomes a problem. In particular, another person can read data from a discarded or transferred nonvolatile storage device, which is a problem. For this reason, it is a common practice to erase all data in the non-volatile storage device upon disposal or transfer. As one method in this case, random data or predetermined data generated by calculation by the CPU (central processing unit) of the information processing apparatus is written into a memory included in the information processing apparatus, and the data is transferred from the memory to the DMA (dynamic memory access). ) To the entire storage area of the nonvolatile storage means using the function.
図3は、従来技術を説明するための、PC1の機能構成図である。PC1は、CPU11、メモリコントローラ12、メモリ13、HDDコントローラ14’、及びHDD15を備え、CPU11、メモリコントローラ12、HDDコントローラ14’間はバスBにより接続されている。HDDコントローラ14’は、DMA機能を有している。このような構成のPC1において、HDD15のデータ消去はメモリ13内のデータをHDD15の全記憶領域にDMA(ダイレクトメモリアクセス)機能を用いて書き込むことにより行われる。
FIG. 3 is a functional configuration diagram of the PC 1 for explaining the related art. The PC 1 includes a CPU 11, a
図4は、この従来の場合におけるHDDのデータ消去の処理の流れを示すフローチャートである。メモリ13内のデータのHDD15への書き込み(データ消去)は、CPU11からHDD15へ指示され(ステップS111)、HDD15はこれを受けてHDDコントローラ(DMAコントローラ)14’にDMAリクエスト信号を送信する(ステップS411)。HDDコントローラ14’は、これを受けてHDD15にDMAアックナレッジ信号を送信し、メモリコントローラ12にメモリアクセスリクエスト信号を送信する(ステップS211)。これによりメモリ13からHDD15へのデータ転送(データの書き込み)が行われる(ステップS311)。このテータ転送は書き込み先のアドレス(HDDのアドレス)を変えながらHDD15の全記憶領域にデータが書き込まれるまで繰り返される(ステップS312でNO)。したがって、HDD15のデータ消去が完了するまで、メモリ13、メモリコントローラ12、及びバスBは使用中となるため、CPU11からメモリ13からのデータの読み込みを行おうとしても(ステップS112,S113)、HDD15のデータ消去が完了していない場合には(ステップS312でNO)、メモリ13からのデータの読み込みを行うことはできず、メモリ13からのデータの読み込みはHDD15のデータ消去が完了した後となる(ステップS312でYES、ステップS313)。
FIG. 4 is a flowchart showing the flow of HDD data erasure processing in this conventional case. Writing (data erasing) of data in the
しかしながら、上述のデータ消去方法においては、メモリ、メモリコントローラ、及びバスがデータ消去が終了するまで使用中となり、データ消去が完了するまでメモリ及びバスのパフォーマンス(アクセス速度)が低下する。また、近年、HDD等の記憶媒体の大容量化に伴い、記憶内容の消去にかかる時間が増大しており、更に問題となっている。 However, in the above-described data erasing method, the memory, the memory controller, and the bus are in use until the data erasing is completed, and the performance (access speed) of the memory and the bus is lowered until the data erasing is completed. In recent years, with the increase in the capacity of storage media such as HDDs, the time taken to erase stored contents has increased, which is a further problem.
本発明は、上記問題点に鑑みて成されたもので、不揮発性記憶装置のデータ消去により、情報処理装置の他の部分のパフォーマンスに影響を与えない情報処理装置、及びその不揮発性記憶装置を制御するメモリ制御装置を提供することを目的とする。 The present invention has been made in view of the above problems, and an information processing apparatus that does not affect the performance of other parts of the information processing apparatus by erasing data in the nonvolatile storage apparatus, and the nonvolatile storage apparatus An object of the present invention is to provide a memory control device for controlling.
請求項1に係る情報処理装置は、制御を行う制御手段と、前記制御手段がデータの読み書きを行う不揮発性の記憶手段と、前記制御手段の前記不揮発性の記憶手段に対するデータの読み書きを制御する不揮発性メモリ制御手段とを備え、前記不揮発性メモリ制御手段は、当該不揮発性メモリ制御手段内のデータを前記不揮発性の記憶手段に書き込む書込手段を備えるものである。 The information processing apparatus according to claim 1 controls a control unit that performs control, a nonvolatile storage unit that reads and writes data from and to the control unit, and controls reading and writing of data to and from the nonvolatile storage unit of the control unit Nonvolatile memory control means, and the nonvolatile memory control means comprises writing means for writing data in the nonvolatile memory control means into the nonvolatile storage means.
請求項2に係る情報処理装置は、請求項1に記載の情報処理装置であって、前記不揮発性メモリ制御手段は、外部から受信したデータを記憶する記憶手段を更に備え、前記書込手段は、前記記憶手段に記憶されているデータを前記不揮発性の記憶手段に書き込むものである。 An information processing apparatus according to a second aspect is the information processing apparatus according to the first aspect, wherein the nonvolatile memory control means further includes a storage means for storing data received from the outside, and the writing means The data stored in the storage means is written into the nonvolatile storage means.
請求項3に係る情報処理装置は、請求項1又は2に記載の情報処理装置であって、前記不揮発性の記憶手段は、当該情報処理装置に対して着脱可能であるものである。 An information processing apparatus according to a third aspect is the information processing apparatus according to the first or second aspect, wherein the nonvolatile storage means is detachable from the information processing apparatus.
請求項4に係るメモリ制御装置は、制御を行う制御手段による不揮発性記憶手段に対するデータの読み書きを制御する不揮発性メモリ制御装置において、当該不揮発性メモリ制御装置内のデータを前記不揮発性記憶手段に書き込む書込手段を備えるものである。 According to a fourth aspect of the present invention, there is provided a non-volatile memory control device that controls reading and writing of data with respect to the non-volatile storage means by a control means that performs control, wherein data in the non-volatile memory control device is stored in the non-volatile storage means. Writing means for writing is provided.
請求項1又は4に記載の発明によれば、情報処理装置が備えるメモリやバス等を使用することなく、不揮発性の記憶手段に対してデータの書き込みを行うことができるので、メモリやバスが他のジョブを行っている状態であっても、不揮発性の記憶手段にデータを書き込むことができ、メモリやバス等のパフォーマンスを低下させることなく不揮発性の記憶手段のデータを消去することができる。また、メモリやバスが他のジョブに使用されていても、これにより不揮発性の記憶手段のデータ消去にかかる時間が増加することがない。 According to the first or fourth aspect of the present invention, data can be written to the non-volatile storage means without using the memory or bus provided in the information processing apparatus. Even when other jobs are in progress, data can be written to the non-volatile storage means, and the data in the non-volatile storage means can be erased without degrading the performance of the memory, bus, etc. . Even if the memory or bus is used for other jobs, this does not increase the time required for erasing data in the nonvolatile storage means.
請求項2に記載の発明によれば、不揮発性の記憶手段が備える記憶手段に外部からデータを書き込むことができ、そのデータが当該不揮発性の記憶手段に書き込まれるので、所望のデータの書き込みにより不揮発性の記憶手段のそれまでのデータを消去することができる。 According to the second aspect of the present invention, data can be written from the outside to the storage means included in the nonvolatile storage means, and the data is written to the nonvolatile storage means. The previous data in the nonvolatile storage means can be erased.
請求項3に記載の発明によれば、着脱可能であることにより容易に装置から取り外せ、その後容易に他の装置に装着でき、そのため他人が容易に再利用可能なため、記憶されているデータが漏洩しやすい着脱可能な不揮発性記憶手段に記憶されているデータの漏洩を防ぐことができる。 According to the third aspect of the present invention, since it is detachable, it can be easily detached from the apparatus, and then can be easily attached to another apparatus, so that others can easily reuse it. It is possible to prevent leakage of data stored in the detachable non-volatile storage means that easily leaks.
以下、本発明に係る実施形態を図面に基づいて説明する。図1は、本発明の一実施形態に係る情報処理装置としてのPC(パーソナルコンピュータ)の機能構成を示すブロック図である。PC1は、CPU11、メモリコントローラ12、メモリ13、HDDコントローラ14、HDD15を備える。
Embodiments according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a functional configuration of a PC (personal computer) as an information processing apparatus according to an embodiment of the present invention. The PC 1 includes a CPU 11, a
CPU11は、プログラムを実行することによりPC1において演算、制御等を行うものである。メモリ13は、CPU11で実行されるプログラムを格納したり、プログラム実行の際の作業領域として用いられる記憶装置である。メモリ13は、例えばRAM(ランダムアクセスメモリ)である。メモリコントローラ12は、メモリ13に対するアクセス(読み書き)を制御するものである。HDD15は、磁気ディスクを備える不揮発性の記憶装置である。HDD15は、PC1の電源(すなわち、HDD15への電力供給)が切られた後もデータを記憶し保持する。
The CPU 11 performs computation, control, etc. in the PC 1 by executing a program. The
HDDコントローラ14は、HDD15に対するアクセス(読み書き)を制御するものである。また、HDDコントローラ14は、HDD15にデータを書き込みHDD15に既に書かれているデータを消去する。この消去処理はHDDコントローラ14とHDD15との間だけで完結し、メモリコントローラ12、メモリ13、及びバスBは用いない。HDDコントローラ14は、消去データ記憶部141及び消去データ書込部142を備える。消去データ記憶部141は、消去データとして用いる所定長、例えば10kByteのデータ(例えば0の羅列)を記憶するものである。消去データ記憶部141は、例えばレジスタである。消去データ記憶部141に記憶される消去データは、CPU11により書き込まれる。CPU11はこの消去データを、CPU11で実行されるプログラムに予め書き込ませておいたり、このプログラムが演算により生成したり、ユーザに入力させたりすることにより取得する。消去データ書込部142は、消去データ記憶部141の消去データをHDD15に書込アドレスを変えながら書き込み、HDD15の記憶領域全てに書き込むものである。消去データ書込部142は、消去データ記憶部141にCPU11によりデータが書き込まれたことを契機にHDD15のデータ消去を開始する。HDDコントローラ14とHDD15とは例えば1つの筐体(HDDユニット)内に備えられ、この筐体はPC1に対し着脱可能である。
The
次に、本実施形態におけるHDDのデータ消去の処理の流れを説明する。図2は、HDDのデータ消去の処理の流れを示すフローチャートである。 Next, the flow of HDD data erasure processing in this embodiment will be described. FIG. 2 is a flowchart showing the flow of HDD data erasure processing.
CPU11においては、ステップS101では、CPU11は、HDDコントローラ14の消去データ記憶部(レジスタ)141に消去データ(例えば0の羅列)を書き込むことにより、HDD15の全データの消去を指示する。ステップS102では、CPU11は、メモリ13へのアクセスとして例えばメモリ13からのデータの読み込みがCPU11において発生したか否かをチェックし、発生した場合には(ステップS102でYES)ステップS103へ進む。ステップS103では、CPU11は、メモリコントローラ12へ読み込み指示、読込アドレス、読込データ長を送信して、メモリコントローラ12に対しメモリ13からのデータの読み込みを指示する。ステップS102においてデータの読み込みが発生しなかった場合(ステップS102でNO)、及びステップS103の処理が終了した場合には、通常のプログラムの実行を継続する。
In the CPU 11, in
HDDコントローラ14においては、ステップS201では、CPU11により消去データ記憶部141に消去データが書き込まれたことを受けて、消去データ書込部142は、消去データ記憶部141に記憶されているデータを、書込アドレスを初期アドレスから順次、消去データ記憶部141に記憶されているデータのデータ長ずつずらしながらHDD15の全記憶領域に対し書き込む。
In the
メモリコントローラ12においては、ステップS301では、CPU11からの指示を受けて、メモリ13の指定されたアドレス(読込アドレス)から指定された長さ(読込データ長)のデータを読み出し、CPU11へ送信する制御を行う。
In step S <b> 301, the
このように本実施形態においては、CPU11によりHDDコントローラ14に書き込まれたデータをHDDコントローラ14がHDD15の全領域に書き込んだので、HDD14のデータ消去がHDDコントローラ14とHDD15との間のみで行われ、この間、メモリ13、メモリコントローラ12、及びバスBはHDD15のデータ消去に使用されないため、HDD15のデータ消去中にメモリ13やバスBのパフォーマンスが低下することがない。また、HDD15のデータ消去中にメモリ13を使用することができる。
As described above, in this embodiment, since the data written in the
なお、本発明は、上記実施形態のものに限定されるものではなく、以下に述べる態様を採用することができる。本実施形態においては、PC1が、CPU11、メモリコントローラ12、メモリ13、HDDコントローラ14、及びHDD15を備える例を用いて説明したが、この他の構成要素(例えばプリンタ)がPC1に対し、PC1の内部または外部を問わず接続されていてもよい。この場合、CPU11からメモリ13へのアクセスの場合(本実施形態)と同様に、本発明に係るHDD15のデータ消去は、PC1(或いはCPU11)からこの構成要素へのアクセスに対し、アクセス待ちの発生やパフォーマンスの低下等の影響を与えることなく行われる。
In addition, this invention is not limited to the thing of the said embodiment, The aspect described below can be employ | adopted. In this embodiment, the PC 1 has been described using an example including the CPU 11, the
本実施形態においては、HDDコントローラ14内の消去データ記憶部141にCPU11が消去データを書き込み、そのデータをHDD15に書き込むようにしたが、消去データ記憶部141に予め消去データを記憶しておき、そのデータをHDD15に書き込むようにしたり、HDDコントローラ14内でデータ(例えばランダムデータ)を生成し、そのデータをHDD15に書き込むようにしてもよい。HDDコントローラ14内でデータを生成する場合には、消去データ(例えばランダムデータ)を例えばプログラムにより生成する消去データ生成部を消去データ記憶部141の代わりに備えればよい。
In this embodiment, the CPU 11 writes erasure data to the erasure data storage unit 141 in the
本実施形態においては、不揮発性の記憶手段としてHDDを用いて説明したが、不揮発性の記憶手段であれば何でもよく、例えばフラッシュメモリやMRAM(磁気抵抗ランダムアクセスメモリ)等であってもよい。 In the present embodiment, the HDD has been described as the nonvolatile storage means. However, any nonvolatile storage means may be used, for example, a flash memory or an MRAM (Magnetic Resistance Random Access Memory).
本実施形態においては、HDDの全記憶領域に対して消去データを書き込み、HDDの全データを消去したが、本発明は全データを消去する場合に限定されるものではなく、HDDの部分領域(例えば1つのパーティション内のみ)のデータを消去するようにしてもよい。 In this embodiment, erase data is written to all storage areas of the HDD and all data of the HDD is erased. However, the present invention is not limited to the case of erasing all data. For example, data in only one partition) may be deleted.
1 PC(情報処理装置)
11 CPU(制御手段)
14 HDDコントローラ(不揮発性メモリ制御手段、不揮発性メモリ制御装置)
141 消去データ記憶部(記憶手段)
142 消去データ書込部(書込手段)
15 HDD(不揮発性の記憶手段)
1 PC (information processing equipment)
11 CPU (control means)
14 HDD controller (nonvolatile memory control means, nonvolatile memory control device)
141 Erased data storage unit (storage means)
142 Erase data writing unit (writing means)
15 HDD (nonvolatile storage means)
Claims (4)
前記制御手段がデータの読み書きを行う不揮発性の記憶手段と、
前記制御手段の前記不揮発性の記憶手段に対するデータの読み書きを制御する不揮発性メモリ制御手段とを備え、
前記不揮発性メモリ制御手段は、当該不揮発性メモリ制御手段内のデータを前記不揮発性の記憶手段に書き込む書込手段を備える情報処理装置。 Control means for controlling;
Non-volatile storage means for the control means to read and write data; and
Non-volatile memory control means for controlling reading and writing of data to the non-volatile storage means of the control means,
The non-volatile memory control means is an information processing apparatus comprising writing means for writing data in the non-volatile memory control means into the non-volatile storage means.
前記書込手段は、前記記憶手段に記憶されているデータを前記不揮発性の記憶手段に書き込む請求項1に記載の情報処理装置。 The nonvolatile memory control means further comprises storage means for storing data received from the outside,
The information processing apparatus according to claim 1, wherein the writing unit writes the data stored in the storage unit into the nonvolatile storage unit.
当該不揮発性メモリ制御装置内のデータを前記不揮発性記憶手段に書き込む書込手段を備える不揮発性メモリ制御装置。 In a non-volatile memory control device that controls reading and writing of data with respect to the non-volatile storage means by the control means that performs control,
A nonvolatile memory control device comprising writing means for writing data in the nonvolatile memory control device into the nonvolatile storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004360441A JP2006171907A (en) | 2004-12-13 | 2004-12-13 | Information processor and nonvolatile memory controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004360441A JP2006171907A (en) | 2004-12-13 | 2004-12-13 | Information processor and nonvolatile memory controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006171907A true JP2006171907A (en) | 2006-06-29 |
Family
ID=36672622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004360441A Pending JP2006171907A (en) | 2004-12-13 | 2004-12-13 | Information processor and nonvolatile memory controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006171907A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010238216A (en) * | 2009-03-13 | 2010-10-21 | Fujitsu Ltd | Storage device, and program for controlling access to storage device |
JP2011048691A (en) * | 2009-08-27 | 2011-03-10 | Kyocera Mita Corp | Information processing apparatus and control device |
JP2011053863A (en) * | 2009-09-01 | 2011-03-17 | Nec Corp | Storage device, storage system, and erasure processing method |
-
2004
- 2004-12-13 JP JP2004360441A patent/JP2006171907A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010238216A (en) * | 2009-03-13 | 2010-10-21 | Fujitsu Ltd | Storage device, and program for controlling access to storage device |
US9135463B2 (en) | 2009-03-13 | 2015-09-15 | Fujitsu Limited | Storage device, method for accessing storage device, and storage medium storing program for accessing storage device |
JP2011048691A (en) * | 2009-08-27 | 2011-03-10 | Kyocera Mita Corp | Information processing apparatus and control device |
JP2011053863A (en) * | 2009-09-01 | 2011-03-17 | Nec Corp | Storage device, storage system, and erasure processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4422652B2 (en) | Incremental merge method and memory system using the same | |
US9836392B2 (en) | Storage control apparatus to control pre-processing operations | |
TWI386804B (en) | Interface for non-volatile memories | |
JP4836647B2 (en) | Storage device using nonvolatile cache memory and control method thereof | |
JP2009015856A (en) | Memory system and data readout method therefor | |
KR20100126069A (en) | Memory apparatus and method for operating thereof | |
US8726004B2 (en) | Switching drivers between processors | |
JP2006221627A (en) | Adaptive flash memory control device adopting a plurality of mapping techniques, and flash memory system including the same | |
JP2007299216A (en) | Storage device using nonvolatile flash memory and control method thereof | |
JP2008046964A (en) | Information recording device and control method therefor | |
JP5914148B2 (en) | SSD (solid state drive) device | |
JP2008027383A (en) | Information recorder and control method thereof | |
JP2008009874A (en) | Memory controller, flash memory system equipped with memory controller, and method for controlling flash memory | |
JP2007193448A (en) | Information recorder, and control method therefor | |
JP2007193865A (en) | Information recording device and its control method | |
JP4177360B2 (en) | Memory controller, flash memory system, and flash memory control method | |
JP2009032305A (en) | Information recording device and control method therefor | |
JP2007193866A (en) | Information recording device and its control method | |
JP2006171907A (en) | Information processor and nonvolatile memory controller | |
JP2008027326A (en) | System controller, flash memory system having system controller, and control method of flash memory module | |
TW201621668A (en) | Data storage device and data writing method thereof | |
JP2005284998A5 (en) | ||
JP2007293987A (en) | Information recorder and control method therefor | |
JP2017228172A (en) | Information processing system | |
JP2008059388A (en) | Information processor and data erasing method of hard disk applied to information processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090205 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090210 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090811 |