JP5483933B2 - Storage device, control method therefor, and program - Google Patents
Storage device, control method therefor, and program Download PDFInfo
- Publication number
- JP5483933B2 JP5483933B2 JP2009137042A JP2009137042A JP5483933B2 JP 5483933 B2 JP5483933 B2 JP 5483933B2 JP 2009137042 A JP2009137042 A JP 2009137042A JP 2009137042 A JP2009137042 A JP 2009137042A JP 5483933 B2 JP5483933 B2 JP 5483933B2
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- file data
- secondary storage
- main storage
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、ファイルシステムにてファイルを記憶、管理する記憶装置に関し、特に、任意に指定したファイルを主記憶装置である揮発性の記憶デバイスのみに記憶させることで、二次記憶装置からのファイルデータの完全消去を不要とする記憶装置に関する。 The present invention relates to a storage device that stores and manages files in a file system, and in particular, a file from a secondary storage device by storing an arbitrarily designated file only in a volatile storage device that is a main storage device. The present invention relates to a storage device that does not require complete erasure of data.
近年、二次記憶装置を備えるファイルシステムを用いた記憶装置においては、二次記憶装置としてHDDなどの不揮発性のデバイスを用いることが一般的である。またこのような記憶装置において、通常はファイルデータの格納先は二次記憶装置となる。 In recent years, in a storage device using a file system including a secondary storage device, it is common to use a nonvolatile device such as an HDD as the secondary storage device. In such a storage device, the storage destination of file data is usually a secondary storage device.
二次記憶装置として一般的に利用される、特にHDDのような不揮発性のデバイスの特徴として、一旦書き込んだデータを消去したとしても、特殊な手段でHDD上の残留磁気を解析するなどして、消去したデータを復元可能なことが挙げられる。 As a feature of non-volatile devices such as HDDs, which are generally used as secondary storage devices, even if the data once written is erased, the residual magnetism on the HDD is analyzed by special means. The erased data can be restored.
このため、二次記憶装置を備えるファイルシステムを用いた記憶装置に機密度の高いデータを書き込んだ際は、一旦書き込んだデータを消去する際、通常の消去処理に加えて、以下の処理が必要となる。即ち、データが書き込まれていた二次記憶装置上の領域に対して、乱数やゼロを複数回書き込むといった、完全消去という処理が必要であった。 For this reason, when sensitive data is written to a storage device using a file system equipped with a secondary storage device, the following processing is required in addition to the normal erasure processing when erasing the written data. It becomes. That is, a process called complete erasure is required in which a random number or zero is written a plurality of times in the area on the secondary storage device where data has been written.
このように煩雑な完全消去処理を回避するために、特定のデータについては二次記憶装置に書き込まず、揮発性の記憶デバイスのみで処理、格納する手法が知られている。 In order to avoid such a complicated complete erasure process, a method is known in which specific data is not written to a secondary storage device, but is processed and stored only by a volatile storage device.
例えば、下記特許文献1には以下の技術が提案されている。 For example, the following technique is proposed in Patent Document 1 below.
即ち、特許文献1では、主記憶装置上に構成されるファイルシステムと、二次記憶装置上に構成される前記ファイルシステムとは異なるファイルシステムの、2つのファイルシステムを組み合わせて使用する技術が提案されている。このことにより、任意のファイルを主記憶装置上のみで処理するようにしている。 That is, Patent Document 1 proposes a technique that uses a combination of two file systems: a file system configured on a main storage device and a file system different from the file system configured on a secondary storage device. Has been. Thus, an arbitrary file is processed only on the main storage device.
また、下記特許文献2では、プリンタドライバなどジョブ管理方式を用いた手段を備える画像形成装置において、送信ジョブに含まれるデータが機密性を有するものであったと判断された場合に、揮発性の記憶デバイスのみでジョブを処理し画像を形成する。 Further, in Patent Document 2 below, when an image forming apparatus including a unit using a job management method such as a printer driver determines that data included in a transmission job is confidential, it stores volatile data. The job is processed only by the device to form an image.
また、下記特許文献3では、機密性の有無を示す機密性識別データを伴う印刷データを扱うことが可能な画像形成装置において、機密性識別データに基づいて機密性を有すると判定された場合は、印刷データを揮発性の記憶デバイスのみで処理する。 Further, in Patent Document 3 below, in an image forming apparatus capable of handling print data accompanied by confidentiality identification data indicating the presence or absence of confidentiality, when it is determined that confidentiality is determined based on confidentiality identification data The print data is processed only by a volatile storage device.
しかしながら、上記特許文献1に記載の技術では、当然、オペレーティングシステムが2つのファイルシステムの機能を持つ必要があり、このことよりオペレーティングシステムの肥大化につながる。また、ファイルを置くファイルシステムにより、必然的に当該ファイルが置かれるディレクトリツリー上のパスも制限されてしまう。 However, in the technique described in Patent Document 1, it is natural that the operating system needs to have two file system functions, which leads to enlargement of the operating system. In addition, the file system where the file is placed necessarily restricts the path on the directory tree where the file is placed.
さらに、特許文献2、特許文献3に記載の技術では、機密度の有無はデータに依存しているために、データを扱う装置においてデータの機密度や、データを揮発性の記憶デバイスのみで処理するか否かを、自在に決定することができないという問題があった。 Furthermore, in the technologies described in Patent Document 2 and Patent Document 3, since the presence / absence of confidentiality depends on the data, the data confidentiality or the data is processed only by a volatile storage device in an apparatus that handles the data. There was a problem that it was not possible to freely decide whether or not to do so.
また、特許文献2、特許文献3に記載の技術では、特別なアプリケーションを用いなければ機密度の判定ができないという問題があった。 Further, the techniques described in Patent Document 2 and Patent Document 3 have a problem that the sensitivity cannot be determined unless a special application is used.
また、特許文献2、特許文献3に記載の技術では、揮発性の記憶デバイス上のみでデータを処理する場合、ファイルシステム上のファイルという形態を取れないため、該データを複数のプロセスから扱うことができないという問題があった。 In the technologies described in Patent Document 2 and Patent Document 3, when data is processed only on a volatile storage device, the file cannot be in the form of a file on the file system, so that the data is handled from a plurality of processes. There was a problem that could not.
本発明の目的は、特別なアプリケーションを用いること無く、かつ、単独のファイルシステムにより、二次記憶装置からのファイルデータの完全消去を不要とすることが可能となる記憶装置を提供することにある。 An object of the present invention is to provide a storage device that can eliminate the need for complete erasure of file data from a secondary storage device without using a special application and using a single file system. .
上記目的を達成するために、請求項1記載の記憶装置は、揮発性の主記憶装置と不揮発性の二次記憶装置を備える記憶装置において、ファイルの新規作成要求時にファイルデータを、前記主記憶装置のみに格納するか否かを指定する指定手段と、前記指定手段の指定に基づいて、前記主記憶装置のカーネル空間上に格納されている前記ファイルデータを前記二次記憶装置に格納するか否かを制御する制御手段とを備えることを特徴とする。 In order to achieve the above object, a storage device according to claim 1 is a storage device including a volatile main storage device and a non-volatile secondary storage device. Specifying means for specifying whether or not to store only in the device, and whether to store the file data stored in the kernel space of the main storage device in the secondary storage device based on the specification of the specifying means Control means for controlling whether or not.
本発明の記憶装置によれば、特別なアプリケーションを用いること無く、かつ、単独のファイルシステムにより、二次記憶装置からのファイルデータの完全消去を不要とすることが可能となる。 According to the storage device of the present invention, it is possible to eliminate the need for complete erasure of file data from the secondary storage device without using a special application and using a single file system.
以下、本発明を図面を参照しながら詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施の形態に係る記憶装置のシステム構成図である。 FIG. 1 is a system configuration diagram of a storage device according to an embodiment of the present invention.
記憶装置100においては、通常、複数のプロセスの処理や割り込みの処理が実行される。記憶装置100は、CPU110、RAM120、ROM130、HDD140、ネットワークインターフェース150を備える。 In the storage device 100, processing of a plurality of processes and interruption processing are usually executed. The storage device 100 includes a CPU 110, a RAM 120, a ROM 130, an HDD 140, and a network interface 150.
CPU110は、プログラムを実行することで各種の処理や装置各部の制御を行う。CPU110は、複数のプロセスの処理や割り込みの処理を同時に行うのではなく、1つの処理だけに専念し、短いスパンで処理の対象を目まぐるしく切り替えることで、あたかも同時に複数の処理を行っているように見せている。 The CPU 110 executes various programs and controls various parts of the apparatus. The CPU 110 does not perform processing of multiple processes and interrupt processing at the same time, but concentrates on only one process and switches the processing target in a short span, as if performing multiple processes at the same time. Showing.
RAM120は揮発性の主記憶装置である。また、RAM120は、後述する図2の各部を実現するプログラムや、オペレーティングシステム、さらに、プロセスやパケットなどCPU110が処理中のデータや命令を一時的に格納する一時記憶装置である。 The RAM 120 is a volatile main storage device. The RAM 120 is a temporary storage device that temporarily stores programs and operating systems that implement each unit of FIG. 2 to be described later, and data and instructions being processed by the CPU 110 such as processes and packets.
ROM130の上にファイルシステムが構築されることがあるが、通常、不揮発性の二次記憶装置であるHDD140の上にファイルシステムが構築される。また、HDD140は、後述する図2の各部を実現するプログラムや、オペレーティングシステムなど、CPU110にて行う処理手順に対応するプログラムを格納する外部記憶装置である。 Although a file system may be built on the ROM 130, the file system is usually built on the HDD 140, which is a non-volatile secondary storage device. The HDD 140 is an external storage device that stores a program corresponding to a processing procedure performed by the CPU 110 such as a program for realizing each unit of FIG.
ネットワークインターフェース150には、別の情報処理装置を接続する。ここを通して、パケットの授受が行われる。 Another information processing apparatus is connected to the network interface 150. Through this, packets are exchanged.
図2は、図1の記憶装置において、ファイルをHDD(二次記憶装置)に転記せずに、揮発性のデバイスであるRAM(主記憶装置)のみで処理、格納する様子を示すブロック図である。 FIG. 2 is a block diagram showing how the storage device in FIG. 1 processes and stores a file only in a volatile device RAM (main storage device) without transferring the file to the HDD (secondary storage device). is there.
記憶装置100に対して、新規ファイルの作成要求が生じた場合、まず、ユーザ空間上のRAM120上に、ファイルデータ202が置かれ、直ちにファイルデータ202はカーネル空間上のRAM120上にファイルデータ204としてコピーされる。 When a request for creating a new file is issued to the storage device 100, first, the file data 202 is placed on the RAM 120 in the user space, and the file data 202 is immediately stored as the file data 204 on the RAM 120 in the kernel space. Copied.
また、同じく新規ファイル作成要求時に、ファイルデータ格納箇所指定部210を用いて、主記憶装置上にのみファイルデータを格納することを指定する。そして、二次記憶装置へ該ファイルデータを転記することを不可とする旨を、ファイルデータ格納箇所指定部210が二次記憶装置転記フラグ220に記述する。 Similarly, at the time of a new file creation request, the file data storage location specifying unit 210 is used to specify that file data is stored only on the main storage device. Then, the file data storage location specifying unit 210 describes in the secondary storage device transfer flag 220 that the file data cannot be transferred to the secondary storage device.
その後、二次記憶装置転記部230が動作し、二次記憶装置転記部230は、二次記憶装置転記フラグ220の内容を確認すると、二次記憶装置への転記が不可と記述されているため、主記憶装置上にのみファイルデータを置いたまま、二次記憶装置への転記を行わない。 After that, the secondary storage device transcription unit 230 operates, and when the secondary storage device transcription unit 230 confirms the content of the secondary storage device transcription flag 220, it is described that transcription to the secondary storage device is impossible. The file data is kept only on the main storage device and is not transferred to the secondary storage device.
尚、ファイルの新規作成要求時に、ファイルデータ格納箇所指定部210を用いて、主記憶装置上にのみファイルデータを格納することを指定しなかった場合は、以下の処理を行う。即ち、その場合、二次記憶装置へ該ファイルデータを転記することを可とする旨を、ファイルデータ格納箇所指定部210が二次記憶装置転記フラグ220に記述する。 When the file data storage location specifying unit 210 is not used to specify that file data is stored only on the main storage device when a new file creation request is made, the following processing is performed. That is, in this case, the file data storage location specifying unit 210 describes in the secondary storage device transfer flag 220 that the file data can be transferred to the secondary storage device.
その後、二次記憶装置転記部230が動作し、二次記憶装置転記部230は、二次記憶装置転記フラグ220の内容を確認すると、二次記憶装置への転記が可と記述されているため、主記憶装置上にあるファイルデータを、二次記憶装置であるHDD140へ転記し、主記憶装置データ消去部240を動作させる。主記憶装置データ消去部240は、一定時間が経過した後にRAM120上のファイルデータ204を消去する。 After that, the secondary storage device transcription unit 230 is operated, and when the secondary storage device transcription unit 230 confirms the content of the secondary storage device transcription flag 220, it is described that transcription to the secondary storage device is possible. Then, the file data on the main storage device is transferred to the HDD 140 as the secondary storage device, and the main storage device data erasure unit 240 is operated. The main storage device data erasure unit 240 erases the file data 204 on the RAM 120 after a predetermined time has elapsed.
(第1の実施の形態)
以下、本発明の記憶装置の制御方法を説明する。
(First embodiment)
The storage device control method of the present invention will be described below.
図3は、図2におけるファイルデータ格納箇所指定部によって実行されるファイルデータ格納箇所指定処理の第1の実施の形態の手順を示すフローチャートである。 FIG. 3 is a flowchart showing the procedure of the first embodiment of the file data storage location designation process executed by the file data storage location designation unit in FIG.
以下に、処理S(ステップ)300、S310、S320、S330について述べる。 The processes S (steps) 300, S310, S320, and S330 will be described below.
S300では、ファイルの新規作成要求により、ファイルデータ格納箇所指定部210が起動する。 In S300, the file data storage location specifying unit 210 is activated in response to a new file creation request.
S310では、ファイルデータ格納箇所指定部210は、自身への指示が、主記憶装置上にのみファイルデータを置くというものであるかを確認し、主記憶装置上にのみ置くという指示であれば、S320の処理に移り、そうでないならば、S330の処理に移る。 In S310, the file data storage location specifying unit 210 confirms whether the instruction to itself is to place file data only on the main storage device, and if the instruction is to place only on the main storage device, The process proceeds to S320, and if not, the process proceeds to S330.
S320では、ファイルデータ格納箇所指定部210は、二次記憶装置転記フラグ220に、二次記憶装置へ該ファイルデータを転記することを不可とする旨を記述する。 In S320, the file data storage location specifying unit 210 describes in the secondary storage device transfer flag 220 that the file data cannot be transferred to the secondary storage device.
S330では、ファイルデータ格納箇所指定部210は、二次記憶装置転記フラグ220に、二次記憶装置へ該ファイルデータを転記することを可とする旨を記述する。 In S330, the file data storage location specifying unit 210 describes in the secondary storage device transfer flag 220 that the file data can be transferred to the secondary storage device.
図4は、図2における二次記憶装置転記部によって実行される二次記憶装置転記処理の第1の実施の形態の手順を示すフローチャートである。 FIG. 4 is a flowchart showing the procedure of the first embodiment of the secondary storage device transcription process executed by the secondary storage device transcription unit in FIG.
以下に、処理S400、S410、S420、S430について述べる。 The processes S400, S410, S420, and S430 will be described below.
S400では、二次記憶装置転記部230が起動する。 In S400, the secondary storage device transcription unit 230 is activated.
S410では、二次記憶装置転記部230は、二次記憶装置転記フラグ220の内容を確認し、二次記憶装置への転記が可となっているファイルがあれば、S420の処理に移り、そうでないならば、処理を終了する。 In S410, the secondary storage device transcription unit 230 checks the content of the secondary storage device transcription flag 220, and if there is a file that can be transcribed to the secondary storage device, the process proceeds to S420. If not, the process ends.
S420では、二次記憶装置転記部230は、二次記憶装置への転記が可となっているファイルが、主記憶装置上に存在するかを確認し、主記憶装置上に存在していれば、S430の処理に移り、そうでないならば処理を終了する。 In S420, the secondary storage device transcription unit 230 checks whether the file that can be transferred to the secondary storage device exists on the main storage device, and if the file exists on the main storage device. , The process proceeds to S430, and if not, the process ends.
S430では、二次記憶装置転記部230は、当該ファイルを二次記憶装置に転記し、当該ファイルに対して、主記憶装置データ消去部240を動作させる。 In S430, the secondary storage device transfer unit 230 transfers the file to the secondary storage device, and causes the main storage device data erasure unit 240 to operate on the file.
図5は、図2における主記憶装置データ消去部によって実行される主記憶装置データ消去処理の手順を示すフローチャートである。 FIG. 5 is a flowchart showing a procedure of main memory data erasure processing executed by the main memory data erasure unit in FIG.
以下に、処理S500、S510について述べる。 Hereinafter, the processes S500 and S510 will be described.
S500では、二次記憶装置転記部230により、主記憶装置データ消去部240が起動する。 In S500, the main storage device data erasure unit 240 is activated by the secondary storage device transcription unit 230.
S510では、主記憶装置データ消去部240は、二次記憶装置転記部230により指定されたファイルデータを、主記憶装置上から消去する。 In S510, the main storage device data erasure unit 240 deletes the file data designated by the secondary storage device transfer unit 230 from the main storage device.
図6は、図2における二次記憶装置転記フラグにて、各ファイルについて二次記憶装置への転記の可否を記述した具体例を示す図である。 FIG. 6 is a diagram showing a specific example in which whether or not each file can be transferred to the secondary storage device is described by the secondary storage device transfer flag in FIG.
この例では、ファイルA、B、Dについては、二次記憶装置への転記を可とし、ファイルCについては、二次記憶装置への転記を不可とする例を示している。 In this example, files A, B, and D can be transferred to the secondary storage device, and file C can be transferred to the secondary storage device.
(第2の実施の形態)
第2の実施の形態については、図1、図2、図5、図7、図8、図9を用いて説明する。
(Second Embodiment)
The second embodiment will be described with reference to FIGS. 1, 2, 5, 7, 8, and 9.
第2の実施の形態では、第1の実施の形態での二次記憶装置転記フラグを用いる代わりに、後述する図9に示す、主記憶装置上特定領域指示部250にて定めた主記憶装置上の特定領域にのみファイルデータを書き込む。このことで、当該ファイルが二次記憶装置への転記を不可であることを示すようにする。 In the second embodiment, instead of using the secondary storage device transfer flag in the first embodiment, the main storage device defined by the specific area instruction unit 250 on the main storage device shown in FIG. Write file data only to the specific area above. This indicates that the file cannot be transferred to the secondary storage device.
即ち、図2において、記憶装置100に対して、新規ファイルの作成要求が生じた場合、まず、ユーザ空間上のRAM120上に、ファイルデータ202が置かれ、直ちに該ファイルデータ202はカーネル空間上のRAM120にコピーされる。 That is, in FIG. 2, when a request for creating a new file is made to the storage device 100, first, file data 202 is placed on the RAM 120 in the user space, and the file data 202 is immediately stored in the kernel space. Copied to the RAM 120.
この際、同じく新規ファイル作成要求時に動作する、ファイルデータ格納箇所指定部210は、二次記憶装置へ該ファイルデータを転記することが不可である場合は、以下のように処理する。 At this time, the file data storage location designating unit 210, which also operates when a new file creation request is made, performs the following process when it is impossible to transfer the file data to the secondary storage device.
即ち、その場合、ファイルデータ格納箇所指定部210は、該ファイルデータを、主記憶装置上特定領域指示部250で定めたカーネル空間上の特定領域にコピーするものとする。また、二次記憶装置へ該ファイルデータを転記することが可である場合は、該ファイルデータを、主記憶装置上特定領域指示部250で定めたカーネル空間上の特定領域外にコピーするものとする。 In other words, in this case, the file data storage location specifying unit 210 copies the file data to a specific area on the kernel space determined by the specific area instruction unit 250 on the main storage device. When the file data can be transferred to the secondary storage device, the file data is copied outside the specific area on the kernel space defined by the specific area instruction unit 250 on the main storage device. To do.
ファイルデータ格納箇所指定部210と、二次記憶装置転記部230については、二次記憶装置転記フラグ220を利用しないことが第1の実施の形態と異なる点であり、このことについては図7、図8にて説明する。 The file data storage location specifying unit 210 and the secondary storage device transcription unit 230 are different from the first embodiment in that the secondary storage device transcription flag 220 is not used. This will be described with reference to FIG.
図7は、図2におけるファイルデータ格納箇所指定部によって実行されるファイルデータ格納箇所指定処理の第2の実施の形態の手順を示すフローチャートである。 FIG. 7 is a flowchart showing the procedure of the second embodiment of the file data storage location designation process executed by the file data storage location designation unit in FIG.
S300、S310については、図3に示す第1の実施の形態の説明で述べた通りである。 S300 and S310 are as described in the description of the first embodiment shown in FIG.
S720では、ファイルデータ格納箇所指定部210は、ファイルデータを、ユーザ空間からカーネル空間にコピーする際、主記憶装置上特定領域指示部250にて定めた特定領域にコピーする。 In S720, the file data storage location designating unit 210 copies the file data to the specific area determined by the specific area instruction unit 250 on the main storage device when copying from the user space to the kernel space.
S730では、ファイルデータ格納箇所指定部210は、ファイルデータを、ユーザ空間からカーネル空間にコピーする際、主記憶装置上特定領域指示部250にて定めた特定領域外にコピーする。 In S730, the file data storage location specifying unit 210 copies the file data outside the specific area determined by the specific area instruction unit 250 on the main storage device when copying from the user space to the kernel space.
図8は、図2における二次記憶装置転記部によって実行される二次記憶装置転記処理の第2の実施の形態の手順を示すフローチャートである。 FIG. 8 is a flowchart showing the procedure of the second embodiment of the secondary storage device transfer process executed by the secondary storage device transfer unit in FIG.
S400については、図4に示す第1の実施の形態の説明で述べた通りである。 S400 is as described in the description of the first embodiment shown in FIG.
S810では、二次記憶装置転記部230は、ファイルデータが置かれているメモリ上の位置が、予め定めた特定領域に置かれているかを確認し、主記憶装置上特定領域指示部250にて定めた特定領域に置かれていれば、S820の処理へ移る。そうでなければ、処理を終了する。 In S810, the secondary storage device transcription unit 230 confirms whether the position on the memory where the file data is placed is placed in a predetermined specific area, and the specific area instruction unit 250 on the main storage device. If it is placed in the specified specific area, the process proceeds to S820. Otherwise, the process ends.
S820では、二次記憶装置転記部230は、当該ファイルを二次記憶装置に転記し、当該ファイルに対して、主記憶装置データ消去部240を動作させる。 In S820, the secondary storage device transfer unit 230 transfers the file to the secondary storage device, and causes the main storage device data erasure unit 240 to operate on the file.
図9は、図2における主記憶装置上特定領域指示部にて、二次記憶装置への転記を不可とするファイルデータを置く、主記憶装置上の特定領域を指示する具体例を示す図である。 FIG. 9 is a diagram showing a specific example in which a specific area on the main storage device in which file data that cannot be transferred to the secondary storage device is placed is indicated by the specific area specifying section on the main storage device in FIG. is there.
この例では、主記憶装置上の特定領域を0xe000,0000〜0xe1ff,ffffとする例を示している。 In this example, the specific area on the main storage device is set to 0xe000,0000 to 0xe1ff, ffff.
この例では、アドレスを用いて主記憶装置上の特定領域を指示しているが、一意に主記憶装置上の位置を指定できるのであれば、この例以外での記述方法でも構わないことは言うまでもない。 In this example, a specific area on the main storage device is indicated using an address, but it goes without saying that a description method other than this example may be used as long as the position on the main storage device can be uniquely specified. Yes.
また、本発明の目的は、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを、システムまたは装置のコンピュータ(またはCPUやMPU等)が記憶媒体から読み出して実行することによっても達成される。 The object of the present invention can also be achieved by causing a computer (or CPU, MPU, etc.) of a system or apparatus to read out and execute software program codes for realizing the functions of the above-described embodiments from a storage medium. .
また、プログラムコードを供給するための記憶媒体としては、種々のものを用いることができる。または、プログラムコードをネットワークを介してダウンロードしてもよい。 Various storage media for supplying the program code can be used. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行うことで前述した実施の形態の機能が実現される場合も含まれる。 Further, the functions of the above-described embodiments are realized by performing part or all of actual processing by an OS (operating system) or the like running on the computer based on an instruction of the program code read by the computer. Cases are also included.
100 記憶装置
110 CPU
120 RAM
130 ROM
140 HDD
210 ファイルデータ格納箇所指定部
220 二次記憶装置転記フラグ
230 二次記憶装置転記部
240 主記憶装置データ消去部
250 主記憶装置上特定領域指示部
100 storage device 110 CPU
120 RAM
130 ROM
140 HDD
210 File data storage location designation unit 220 Secondary storage device transfer flag 230 Secondary storage device transcription unit 240 Main storage device data erasure unit 250 Main storage device specific area instruction unit
Claims (7)
ファイルの新規作成要求時にファイルデータを、前記主記憶装置のみに格納するか否かを指定する指定手段と、
前記指定手段の指定に基づいて、前記主記憶装置のカーネル空間上に格納されている前記ファイルデータを前記二次記憶装置に格納するか否かを制御する制御手段とを備えることを特徴とする記憶装置。 In a storage device comprising a volatile main storage device and a non-volatile secondary storage device,
Designating means for designating whether to store file data only in the main storage device at the time of a new file creation request;
Control means for controlling whether or not the file data stored in the kernel space of the main storage device is stored in the secondary storage device based on the specification of the specifying means. Storage device.
前記指定手段により、前記ファイルデータを前記二次記憶装置に格納すると指定された場合に、前記主記憶装置上の前記ファイルデータを前記二次記憶装置に転記する転記手段と、
前記転記手段による前記ファイルデータの転記の後に前記主記憶装置上の前記ファイルデータを消去する消去手段と、
を備えることを特徴とする請求項1記載の記憶装置。 The control means includes
A transfer means for transferring the file data on the main storage device to the secondary storage device when the specification means specifies that the file data is stored in the secondary storage device;
Erasing means for erasing the file data on the main storage device after the transfer of the file data by the posting means;
The storage device according to claim 1, further comprising:
前記転記手段は、前記指示手段が指示する前記主記憶装置の前記特定の領域に格納された前記ファイルデータを前記二次記憶装置への転記の対象としないことを特徴とする請求項2記載の記憶装置。 Instructing means for instructing a specific area to the main storage device,
3. The transfer unit according to claim 2 , wherein the transfer unit does not set the file data stored in the specific area of the main storage device instructed by the instruction unit to be transferred to the secondary storage device. Storage device.
ファイルの新規作成要求時にファイルデータを、前記主記憶装置のみに格納するか否かを指定する指定ステップと、
前記指定ステップの指定に基づいて、前記主記憶装置のカーネル空間上に格納されている前記ファイルデータを前記二次記憶装置に格納するか否かを制御する制御ステップとを備えることを特徴とする記憶装置の制御方法。 In a method for controlling a storage device comprising a volatile main storage device and a non-volatile secondary storage device,
A designation step for designating whether to store file data only in the main storage device when a new file creation request is made;
And a control step for controlling whether or not the file data stored in the kernel space of the main storage device is stored in the secondary storage device based on the specification in the specifying step. Storage device control method.
前記指定ステップにより、前記ファイルデータを前記二次記憶装置に格納すると指定された場合に、前記主記憶装置上の前記ファイルデータを前記二次記憶装置に転記する転記ステップと、
前記転記ステップによる前記ファイルデータの転記の後に前記主記憶装置上の前記ファイルデータを消去する消去ステップと、
を備えることを特徴とする請求項5記載の記憶装置の制御方法。 The control step includes
A transfer step for transferring the file data on the main storage device to the secondary storage device when the specification step specifies that the file data is stored in the secondary storage device;
An erasing step of erasing the file data on the main storage device after transcription of the file data by the transcription step;
The storage device control method according to claim 5, further comprising:
前記記憶装置の制御方法は、
ファイルの新規作成要求時にファイルデータを、前記主記憶装置のみに格納するか否かを指定する指定ステップと、
前記指定ステップの指定に基づいて、前記主記憶装置のカーネル空間上に格納されている前記ファイルデータを前記二次記憶装置に格納するか否かを制御する制御ステップとを備えることを特徴とするプログラム。 In a program for causing a computer to execute a control method of a storage device including a volatile main storage device and a nonvolatile secondary storage device,
The control method of the storage device is:
A designation step for designating whether to store file data only in the main storage device when a new file creation request is made;
And a control step for controlling whether or not the file data stored in the kernel space of the main storage device is stored in the secondary storage device based on the specification in the specifying step. program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009137042A JP5483933B2 (en) | 2009-06-08 | 2009-06-08 | Storage device, control method therefor, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009137042A JP5483933B2 (en) | 2009-06-08 | 2009-06-08 | Storage device, control method therefor, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010282540A JP2010282540A (en) | 2010-12-16 |
| JP5483933B2 true JP5483933B2 (en) | 2014-05-07 |
Family
ID=43539189
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009137042A Expired - Fee Related JP5483933B2 (en) | 2009-06-08 | 2009-06-08 | Storage device, control method therefor, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5483933B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6351397B2 (en) * | 2014-06-23 | 2018-07-04 | キヤノン株式会社 | Information processing apparatus, information processing method, and computer program |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4067418B2 (en) * | 2003-02-13 | 2008-03-26 | 富士フイルム株式会社 | Digital camera |
| JP4804042B2 (en) * | 2005-06-03 | 2011-10-26 | フェリカネットワークス株式会社 | Data transmission / reception system, non-contact IC chip, non-contact communication device, portable terminal, information processing method, and program |
| JP2008023791A (en) * | 2006-07-19 | 2008-02-07 | Konica Minolta Business Technologies Inc | Image forming apparatus, image forming method, and image forming program |
| JP4785679B2 (en) * | 2006-09-04 | 2011-10-05 | 株式会社日立ソリューションズ | Method for controlling writing to secondary storage device and information processing apparatus |
| JP4031816B1 (en) * | 2007-02-28 | 2008-01-09 | Sky株式会社 | Data distribution system and data distribution program |
-
2009
- 2009-06-08 JP JP2009137042A patent/JP5483933B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010282540A (en) | 2010-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5346253B2 (en) | Firmware update system, information device, and program | |
| JP5743475B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP4622277B2 (en) | Peripheral device driver installation apparatus, peripheral device, peripheral device driver installation system, and peripheral device driver installation method | |
| JP5344588B2 (en) | Information processing apparatus, information processing apparatus control method, and control program | |
| JP2008070975A (en) | Data storage device and data storage method | |
| JP5483933B2 (en) | Storage device, control method therefor, and program | |
| JP4516598B2 (en) | How to control document copying | |
| JP4887253B2 (en) | Image processing device | |
| JP4435699B2 (en) | Image forming apparatus | |
| JP2011040044A (en) | Device, system, program and method for integrating virtual thin client | |
| JP5047664B2 (en) | Electronic document management apparatus, computer program, and electronic document management method | |
| JP2011150490A (en) | Program, apparatus and method for file control | |
| JP2024024444A (en) | Printing device, printing device control method, program | |
| JP4869815B2 (en) | Portable terminal device, control method thereof, and program | |
| JP5544905B2 (en) | Image processing apparatus, data erasing method and program for image processing apparatus | |
| JP5229855B2 (en) | Memory system and computer system | |
| JP2009205241A (en) | Computer system and boot control method therefor | |
| JP4757273B2 (en) | Storage medium storing program, information processing apparatus, and information processing method | |
| JP2005227983A (en) | Information storage device | |
| JP5125689B2 (en) | Operation method and recording medium for multiple environments | |
| JP2006235791A (en) | Image processing device | |
| JP2006171907A (en) | Information processor and nonvolatile memory controller | |
| JP2005346306A (en) | Storage device, image forming apparatus, and file server | |
| JP5718746B2 (en) | Memory system, security memory, and information protection method | |
| JP5753457B2 (en) | Memory system, security memory, and information protection method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120607 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130703 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130723 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130924 |
|
| 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: 20140121 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140218 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5483933 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |