JP2002108569A - Volatile external storage device - Google Patents

Volatile external storage device

Info

Publication number
JP2002108569A
JP2002108569A JP2000301475A JP2000301475A JP2002108569A JP 2002108569 A JP2002108569 A JP 2002108569A JP 2000301475 A JP2000301475 A JP 2000301475A JP 2000301475 A JP2000301475 A JP 2000301475A JP 2002108569 A JP2002108569 A JP 2002108569A
Authority
JP
Japan
Prior art keywords
format
storage device
external storage
computer
storage unit
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
JP2000301475A
Other languages
Japanese (ja)
Other versions
JP4028679B2 (en
Inventor
Koji Yamamoto
浩司 山本
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000301475A priority Critical patent/JP4028679B2/en
Publication of JP2002108569A publication Critical patent/JP2002108569A/en
Application granted granted Critical
Publication of JP4028679B2 publication Critical patent/JP4028679B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve not only high diverting performance and the simplicity of the extension of a storage capacity but also processing performance when applying swap processing instead of extending a main memory. SOLUTION: A format part 14 of an external storage device 10 is started by a reset signal transmitted from a computer 20 when power is supplied to the host computer 20. Then, the format part 14 refers to a table 142 in a non- volatile storage part 140 according to the state of a switch 13, and selects a format program 141 specific to an OS operating on the computer 20 which is made correspond to the state from the non-volatile storage part 140, and executes the format of the a volatile storage part 12 according to the program 141. When a read/write instruction for file access is transmitted from the host computer 20, an interface 11 receives the instruction, and performs access to the volatile storage part 12 according to the instruction.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータに接
続して好適な揮発性の外部記憶装置に関する。
The present invention relates to a volatile external storage device suitable for connection to a computer.

【0002】[0002]

【従来の技術】コンピュータがある特定の処理を行う
際、主メモリにその処理を行うのに十分な空き領域がな
い場合がある。主メモリは記憶装置の中でも単位容量当
たりの価格が高価であり、また、対応するコンピュータ
によって、形状やアクセス速度、エラー訂正方法等に差
異があるため、あるコンピュータで使った主メモリを種
類の異なる他のコンピュータで使用することは困難であ
る。このため、主メモリの増設には費用がかかる。ま
た、主メモリを増設するスロットの数には限りがあるた
め、大容量の主メモリを増設するには限界がある。
2. Description of the Related Art When a computer performs a certain process, there is a case where there is not enough free space in the main memory to perform the process. The main memory is expensive in storage unit price among storage devices, and the shape, access speed, error correction method, etc. differ depending on the corresponding computer, so the type of main memory used in a certain computer differs. It is difficult to use on other computers. For this reason, it is costly to expand the main memory. Further, since the number of slots for adding a main memory is limited, there is a limit in adding a large-capacity main memory.

【0003】そこで従来は、以下のようなスワップ処理
を行うことにより、主メモリを増設することなく、上記
特定の処理を行うことを可能としている。スワップ処理
を行う場合は、磁気ディスク装置などの、主メモリより
も容量が大きく、読み出し/書き込み速度の遅い不揮発
性の記憶装置をスワップ先として指定し、主メモリとス
ワップ先を合わせた記憶空間を仮想的な記憶空間として
利用する。処理に必要なデータが主メモリ上になく、ス
ワップ先にあった場合は、必要なデータをスワップ先か
ら主メモリ上にコピーして利用する。そのとき、主メモ
リに空きがなかった場合には、主メモリ上の使われてい
ないデータをスワップ先にコピーし、空きを作る。
Therefore, conventionally, the above-described specific processing can be performed without adding a main memory by performing the following swap processing. When performing a swap process, a non-volatile storage device such as a magnetic disk device having a larger capacity than the main memory and a slower read / write speed is designated as a swap destination, and a storage space including the main memory and the swap destination is allocated. Use as a virtual storage space. If the data required for processing is not in the main memory but is in the swap destination, the necessary data is copied from the swap destination to the main memory and used. At this time, if there is no free space in the main memory, unused data in the main memory is copied to a swap destination to make free space.

【0004】スワップ先の不揮発性記憶装置は、主メモ
リのようにハードウェアで制御されるものではなく、ソ
フトウェアで制御される。このため、主メモリのような
ハードウェアとの相性やアクセス速度の差異などの問題
がなく、流用性が高いという特徴を持つ。
The nonvolatile storage device at the swap destination is not controlled by hardware like a main memory, but is controlled by software. For this reason, there is no problem such as compatibility with hardware such as the main memory and a difference in access speed, and the feature is that the applicability is high.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記し
た従来技術におけるスワップ処理では、読み出し/書き
込み速度の遅い不揮発性記憶装置と主メモリの間でコピ
ー処理を行う必要があるため、主メモリだけで処理を行
う場合に比べ、処理の性能が悪くなるという問題があっ
た。
However, in the above-mentioned conventional swap processing, it is necessary to perform a copy processing between a nonvolatile storage device having a low read / write speed and the main memory. There is a problem that the processing performance is worse than when performing

【0006】本発明は上記事情を考慮してなされたもの
でその目的は、種類の異なる各種のコンピュータに容易
に使用できる高流用性と、記憶容量の増設の容易性とに
加えて、コンピュータが処理を行う際に主メモリに十分
な空きがない場合に対処するために、主メモリを増設す
る代わりにスワップ処理を適用する際の処理性能の向上
を図ることができる外部記憶装置を提供することにあ
る。
The present invention has been made in consideration of the above circumstances, and has as its object to provide not only a high diversion capability that can be easily used for various types of computers and an ease of adding a storage capacity, but also that the To provide an external storage device capable of improving the processing performance when applying a swap process instead of adding a main memory in order to cope with a case where there is not enough free space in a main memory when performing a process. It is in.

【0007】[0007]

【課題を解決するための手段】本発明の第1の観点に係
る、コンピュータに接続して利用可能な外部記憶装置
は、揮発性の記憶部と、上記外部記憶装置に接続された
コンピュータからのファイルアクセスのための読み出し
/書き込み命令を受け取り、当該命令に従って上記揮発
性記憶部をアクセスするインタフェースと、上記外部記
憶装置が利用可能なコンピュータ上で動作するオペレー
ティングシステム(OS)のファイルシステムにより管
理されるファイルのフォーマットを選択的に指定するた
めのスイッチと、上記外部記憶装置が利用可能な各種コ
ンピュータ上で動作する種類の異なるOS毎に用意さ
れ、当該OSのファイルシステムにより管理されるファ
イルのフォーマットに適合するフォーマット処理のため
のフォーマットプログラムと、上記スイッチの各状態と
当該状態により指定されるフォーマットに固有の上記フ
ォーマットプログラムとの関係を表形式で示すテーブル
(スイッチ状態−フォーマットプログラム対応テーブ
ル)とが記憶される不揮発性記憶部と、上記外部記憶装
置に接続されたコンピュータからのリセット信号を受け
取ることにより起動され、上記スイッチの状態により上
記テーブルを参照することで、当該状態に対応したフォ
ーマットプログラムを上記不揮発性記憶部から選択し、
この選択したフォーマットプログラムに従って上記揮発
性記憶部をフォーマットするフォーマット処理を実行す
るフォーマット手段とを備えたことを特徴とする。
According to a first aspect of the present invention, there is provided an external storage device which can be used by being connected to a computer, comprising: a volatile storage unit; An interface for receiving a read / write command for file access and accessing the volatile storage unit according to the command, and a file system of an operating system (OS) operating on a computer that can use the external storage device are managed. A switch for selectively designating the format of a file to be stored, and a file format prepared for each of different types of OSs operating on various computers that can use the external storage device and managed by a file system of the OS. Format program for format processing conforming to A non-volatile storage unit for storing a table (switch state-format program correspondence table) indicating a relation between each state of the switch and the format program specific to the format specified by the state in a tabular form; Is activated by receiving a reset signal from a computer connected to the external storage device, and refers to the table according to the state of the switch to select a format program corresponding to the state from the nonvolatile storage unit. ,
Formatting means for executing formatting processing for formatting the volatile storage unit according to the selected format program.

【0008】このような構成の外部記憶装置において
は、ファイルアクセスのための読み出し/書き込み命
令、即ち磁気ディスク装置等に対して与えられるのと同
一形式の読み出し/書き込み命令をインタフェースにて
受け取って、当該インタフェースにより揮発性記憶部が
磁気ディスク装置に対するのと同様にアクセスされる。
In the external storage device having such a configuration, a read / write command for file access, that is, a read / write command of the same format as given to a magnetic disk device or the like is received by the interface. The interface allows the volatile storage unit to be accessed in the same way as for the magnetic disk drive.

【0009】このため、上記外部記憶装置を接続して利
用するコンピュータから当該外部記憶装置(の揮発性記
憶部)を対象とするデータの読み出しまたはデータの書
き込みを行うときには、当該外部記憶装置を磁気ディス
ク装置と同じように扱うことができる。また、種類の異
なるコンピュータでも、磁気ディスク装置に対する読み
出し/書き込み命命はソフトウェアによって制御される
ため、上記構成の外部記憶装置はハードウェアで制御さ
れるメモリ等の記憶装置に比べて流用性が高い。また、
外部記憶装置であるため、コンピュータのメモリ増設用
スロットに関係なく記憶容量を増やすことが可能であ
る。なお、上記外部記憶装置を異なる種類のコンピュー
タにつなぎ替えて使用する場合には、上記スイッチの状
態の設定を、新たなコンピュータ上で動作するOS(の
ファイルシステムが管理するファイルのフォーマット)
に対応したスイッチ状態に変更すればよい。
For this reason, when data is read from or written to the external storage device (volatile storage unit) from a computer connected to the external storage device and used, the external storage device is magnetically connected. It can be handled in the same way as a disk device. In addition, even in the case of different types of computers, the read / write instructions to the magnetic disk device are controlled by software, so that the external storage device having the above configuration is more versatile than a storage device such as a memory controlled by hardware. . Also,
Since it is an external storage device, it is possible to increase the storage capacity regardless of the memory expansion slot of the computer. When the external storage device is connected to a different type of computer and used, the setting of the state of the switch is performed by changing the setting of the switch to an OS (a file format managed by a file system) that runs on the new computer.
May be changed to a switch state corresponding to

【0010】また、上記外部記憶装置を接続して利用す
るコンピュータがある特定の処理を行う際、主メモリに
その処理を行うのに十分な空きがない場合に、当該外部
記憶装置をスワップ先として利用するならば、当該外部
記憶装置に磁気ディスク装置等の揮発性記憶装置に比べ
て高速アクセスが可能な揮発性記憶部(揮発性記憶装
置)を用いていることから、従来のように磁気ディスク
装置をスワップ先として利用した場合に比ベ、処理性能
を向上させることができる。
When a computer connected to the external storage device performs a specific process and there is not enough free space in the main memory to perform the process, the external storage device is used as a swap destination. If used, a volatile storage unit (volatile storage device) that can be accessed faster than a volatile storage device such as a magnetic disk device is used for the external storage device. The processing performance can be improved as compared with the case where the device is used as a swap destination.

【0011】ここでは、上記外部記憶装置を接続して利
用するコンピュータの電源が投入された際に、当該コン
ピュータから送られるリセット信号により揮発性記憶部
をフォーマットするフォーマット処理が実行されるた
め、上記コンピュータの電源が投入されたときには、こ
の揮発性記憶部(を備えた外部記憶装置)を必ず当該コ
ンピュータからディスク装置として利用することが可能
となる。
Here, when the power of the computer connected to the external storage device is turned on, the formatting process for formatting the volatile storage unit is executed by the reset signal sent from the computer. When the power of the computer is turned on, the volatile storage unit (an external storage device including the same) can always be used as a disk device from the computer.

【0012】なお、本発明の外部記憶装置では、上述の
如く揮発性の記憶部を用いているため、当該外部記憶装
置を接続して利用するコンピュータの電源が切れた際に
は、バッテリバックアップ等の特別の手段を持たない限
り、記憶部内のデータが全て消失する。しかし、本発明
の外部記憶装置はそのような場合でもスワップ先として
正しく動作する。以下にその理由を説明する。
Since the external storage device of the present invention uses the volatile storage unit as described above, when the power of a computer connected to the external storage device is turned off, a battery backup or the like is performed. Unless there is a special means, all data in the storage unit will be lost. However, even in such a case, the external storage device of the present invention correctly operates as a swap destination. The reason will be described below.

【0013】スワップ処理を行う際、スワップ先である
外部記憶装置の記憶部に書き込まれるデータは、コンピ
ュータの主メモリに書かれるデータである。主メモリの
データは、コンピュータの電源が切れたときにはする。
そのため、コンピュータの電源が切れたときには、外部
記憶装置の記憶部のデータが消失しても問題はない。
When the swap process is performed, data written to the storage unit of the external storage device that is the swap destination is data written to the main memory of the computer. Main memory data is stored when the computer is turned off.
Therefore, when the power of the computer is turned off, there is no problem even if data in the storage unit of the external storage device is lost.

【0014】本発明の第2の観点に係る外部記憶装置
は、上記第1の観点に係る外部記憶装置の上記インタフ
ェースに、次の機能、即ち当該第2の観点に係る外部記
憶装置を接続して使用するコンピュータの電源の投入時
に必ず実行されるドライバソフトウェアから送られる、
当該コンピュータ上で動作するOSのファイルシステム
により管理されるファイルのフォーマットを指定するフ
ォーマット情報を受け取る機能を追加すると共に、上記
スイッチ状態−フォーマットプログラム対応テーブルに
代えて、当該第2の観点に係る外部記憶装置が利用可能
な各種コンピュータのドライバソフトウェアから送られ
る可能性のある各種フォーマット情報と当該情報により
指定されるフォーマットに固有のフォーマットプログラ
ムとの関係を表形式で示すテーブル(フォーマット情報
−フォーマットプログラム対応テーブル)を用い、上記
フォーマット手段においては、当該外部記憶装置を接続
して利用するコンピュータの電源投入時に、当該コンピ
ュータのドライバソフトウェアから送られるフォーマッ
ト情報により上記テーブル(フォーマット情報−フォー
マットプログラム対応テーブル)を参照することで、当
該情報に対応したフォーマットプログラムを選択し、こ
の選択したフォーマットプログラムに従って上記揮発性
記憶部をフォーマットするフォーマット処理を実行する
構成としたことを特徴とする。
An external storage device according to a second aspect of the present invention has the following function, that is, an external storage device according to the second aspect, connected to the interface of the external storage device according to the first aspect. Sent from the driver software that is always executed when the computer is turned on.
In addition to adding a function of receiving format information designating the format of a file managed by the file system of the OS operating on the computer, the external device according to the second aspect is replaced with the switch state-format program correspondence table. A table (format information-format program correspondence) showing a relationship between various format information that may be transmitted from driver software of various computers that can use the storage device and a format program specific to the format specified by the information. Table), the format means uses the format information sent from the driver software of the computer when the power of the computer used by connecting the external storage device is turned on. Table (format information-format program correspondence table) to select a format program corresponding to the information, and execute a format process for formatting the volatile storage unit according to the selected format program. It is characterized by.

【0015】このような構成の外部記憶装置では、コン
ピュータの電源が投入された際に必ず起動されるドライ
バソフトウェアからのフォーマット情報を受け取って、
そのたびに対応するフォーマットプログラムを選択し、
その選択したフォーマットプログラムに従って揮発性記
憶部をフォーマットするフォーマット処理を実行してい
る。したがって、異なる種類のコンピュータに上記外部
記憶装置をつなぎ替えて使用する場合にも、上記第1の
観点に係る外部記憶装置とは異なってスイッチの設定を
変更する必要がなく、単に外部記憶装置を新たなコンピ
ュータにつなぎ替えるだけでよい。この外部記憶装置
は、当該記憶装置を接続して利用するコンピュータの電
源が投入された際には必ずフォーマットされた状態のデ
ィスク装置として利用することが可能となる。このた
め、記憶部に揮発性メモリを使った場合でも問題なくス
ワップ先として利用することが可能である。
The external storage device having such a configuration receives format information from driver software which is always started when the power of the computer is turned on.
Select the corresponding format program each time,
A format process for formatting the volatile storage unit is performed according to the selected format program. Therefore, even when the external storage device is connected to a different type of computer and used, unlike the external storage device according to the first aspect, it is not necessary to change the setting of the switch. All you have to do is switch to a new computer. This external storage device can be used as a formatted disk device whenever the power of a computer connected to the storage device is turned on. Therefore, even when a volatile memory is used as the storage unit, it can be used as a swap destination without any problem.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態につき
図面を参照して説明する。 [第1の実施形態] <第1の実施形態の構成>図1は本発明の第1の実施形
態に係る外部記憶装置の構成を主として示すコンピュー
タシステムのブロック構成図である。
Embodiments of the present invention will be described below with reference to the drawings. First Embodiment <Configuration of First Embodiment> FIG. 1 is a block diagram of a computer system mainly showing the configuration of an external storage device according to a first embodiment of the present invention.

【0017】図1において、外部記憶装置10は、例え
ば、ホストコンピュータ20がある特定の処理を行う際
に、当該コンピュータ20内の主メモリ(図示せず)に
その処理を行うのに十分な空き領域がない場合のスワッ
プ先として用いられる。
In FIG. 1, for example, when the host computer 20 performs a specific process, the external storage device 10 has a sufficient free space in a main memory (not shown) in the computer 20 to perform the process. Used as a swap destination when there is no area.

【0018】外部記憶装置10は、インタフェース11
と、揮発性記憶部12と、スイッチ13と、フォーマッ
ト部14とから構成されている。
The external storage device 10 includes an interface 11
, A volatile storage unit 12, a switch 13, and a format unit 14.

【0019】インタフェース11は、ホストコンピュー
タ20との間で命令(読み出し/書き込み命令等)、デ
ータの授受を司る。インタフェース11は、ホストコン
ピュータ20から磁気ディスク装置上のファイルをアク
セスするための読み出し/書き込み命令と同一形式の読
み出し/書き込み命令を受け取り、揮発性記憶部12に
記憶されているデータの読み出し/書き込みを行い、結
果をホストコンピュータ20に返す。
The interface 11 exchanges commands (read / write commands, etc.) and data with the host computer 20. The interface 11 receives a read / write command of the same format as a read / write command for accessing a file on the magnetic disk device from the host computer 20, and reads / writes data stored in the volatile storage unit 12. And returns the result to the host computer 20.

【0020】揮発性記憶部12は、ホストコンピュータ
20から転送されるデータ(ここではファイルデータ)
を記憶するのに用いられる。揮発性記憶部12は、磁気
ディスク装置等の不揮発性記憶装置に比べて高速アクセ
スが可能なRAM(Random Access Memory)等の揮発性
メモリから構成される。この揮発性記憶部12を対象と
する読み出し/書き込みはインタフェース11によって
行われる。
The volatile storage unit 12 stores data (here, file data) transferred from the host computer 20.
Is used to store The volatile storage unit 12 is composed of a volatile memory such as a RAM (Random Access Memory) that can be accessed at a higher speed than a nonvolatile storage device such as a magnetic disk device. Read / write for the volatile storage unit 12 is performed by the interface 11.

【0021】スイッチ13は、フォーマット部14がフ
ォーマットプログラム141を選択するのに必要な状態
を保持するための例えばディップスイッチである。スイ
ッチ13の状態は、ホストコンピュータ20上で動作す
るオペレーティングシステム(OS)のファイルシステ
ムにより管理されるファイルのフォーマットに応じて、
予め適切な状態に設定される。
The switch 13 is, for example, a dip switch for holding a state necessary for the format unit 14 to select the format program 141. The state of the switch 13 depends on the format of a file managed by a file system of an operating system (OS) running on the host computer 20.
An appropriate state is set in advance.

【0022】フォーマット部14は、ROM(Read Onl
y Memory)に代表される、電源を切っても記憶内容が変
化しない不揮発性記憶部140を持つ。この不揮発性記
憶部140には、予め定められた複数のOSにそれぞれ
対応して用意されたフォーマットプログラム141と、
スイッチ13の各状態(を表す状態データ)と当該状態
に対応付けられるフォーマットプログラム141との関
係を表形式で示すテーブル(スイッチ状態−フォーマッ
トプログラム対応テーブル)142とが記憶されてい
る。
The format section 14 is provided with a ROM (Read Onl
y), which has a nonvolatile storage unit 140 whose stored contents do not change even when the power is turned off. The nonvolatile storage unit 140 includes a format program 141 prepared for each of a plurality of predetermined OSs,
A table (switch state-format program correspondence table) 142 indicating the relation between each state of the switch 13 (state data representing the state) and the format program 141 associated with the state in a table format is stored.

【0023】フォーマットプログラム141は、対応す
るOSのファイルシステムにより管理されるファイルの
フォーマット(形式)に適合するように、予め決められ
た一定の情報を揮発性記憶部12の指定された領域に書
き込む、つまり揮発性記憶部12をフォーマットするた
めのソフトウェアである。
The format program 141 writes predetermined constant information in a designated area of the volatile storage unit 12 so as to conform to a file format managed by a corresponding OS file system. That is, it is software for formatting the volatile storage unit 12.

【0024】一般に、ホストコンピュータ20の電源が
投入されたとき、初期化のためのリセット信号が全ての
周辺機器に送られる。本実施形態では、このリセット信
号を外部記憶装置10のフォマット部14で受け取るよ
うにホストコンピュータ20と接続している。フォーマ
ット部14は、ホストコンピュータ20からリセット信
号を受け取った場合、スイッチ13の状態によりテーブ
ル142を参照することで、複数のフォーマットプログ
ラム141の中からその状態に対応付けられているフォ
ーマットプログラム141を選択し、当該選択したフォ
ーマットプログラム141に従って揮発性記憶部12の
フォーマットを実行する。
Generally, when the power of the host computer 20 is turned on, a reset signal for initialization is sent to all peripheral devices. In the present embodiment, the reset signal is connected to the host computer 20 so as to be received by the format unit 14 of the external storage device 10. When receiving the reset signal from the host computer 20, the format unit 14 selects the format program 141 associated with the state from the plurality of format programs 141 by referring to the table 142 according to the state of the switch 13. Then, the format of the volatile storage unit 12 is executed according to the selected format program 141.

【0025】<第1の実施形態の動作>次の図1の構成
の動作を図2のフローチャートを参照して説明する。
今、ホストコンピュータ20の電源が投入された結果、
リセット信号が外部記憶装置10を含む全ての周辺機器
に送られたものとする。
<Operation of First Embodiment> Next, the operation of the configuration of FIG. 1 will be described with reference to the flowchart of FIG.
Now, as a result of turning on the power of the host computer 20,
It is assumed that the reset signal has been sent to all peripheral devices including the external storage device 10.

【0026】ホストコンピュータ20から外部記憶装置
10に送られたリセット信号は、フォーマット部14で
受け取られる(ステップS1)。するとフォーマット部
14は、スイッチ13の状態を参照し(ステップS
2)、しかる後に、その状態(を表す状態データ)から
テーブル(スイッチ状態−フォーマットプログラム対応
テーブル)142を参照することで、不揮発性記憶部1
40に記憶されている複数のフォーマットプログラム1
41の中から、当該状態に対応付けられているプログラ
ム141を選択する(ステップS3)。この選択された
フォーマットプログラム141は、現在外部記憶装置1
0が接続されているホストコンピュータ20上で動作す
るOSに対応して用意されたものである。
The reset signal sent from the host computer 20 to the external storage device 10 is received by the formatting section 14 (step S1). Then, the format unit 14 refers to the state of the switch 13 (Step S
2) After that, by referring to the table (switch state-format program correspondence table) 142 from the state (state data representing), the nonvolatile storage unit 1
40, a plurality of format programs 1 stored in
41, the program 141 associated with the state is selected (step S3). The selected format program 141 is stored in the external storage device 1
0 is prepared corresponding to the OS operating on the host computer 20 connected thereto.

【0027】フォーマット部14は、揮発性記憶部12
がホストコンピュータ20上で動作するOSのファイル
システムにより管理されるファイルのフォーマット(形
式)に適合するように、即ち当該OSのファイルシステ
ムから揮発性記憶部12が磁気ディスク装置に対するの
と同一形式の読み出し/書き込み命令によりアクセス
(読み出し/書き込み)可能なように、上記ステップS
3で選択したフォーマットプログラム141に従って揮
発性記憶部12をフォマットするフォーマット処理を実
行する(ステップS4)。
The format section 14 is a volatile storage section 12
Conforms to the format of the file managed by the file system of the OS operating on the host computer 20, that is, the volatile storage unit 12 has the same format as that for the magnetic disk device from the file system of the OS. In order to be able to access (read / write) by a read / write command, the above step S
A format process for formatting the volatile storage unit 12 is executed according to the format program 141 selected in Step 3 (Step S4).

【0028】このフォーマット処理により、その後、ホ
ストコンピュータ20から外部記憶装置10のインタフ
ェース11に磁気ディスク装置に対するのと同一の形式
のファイルアクセスのための読み出し/書き込み命令
(読み出し命令または書き込み命令)が送られてきた場
合に、インタフェース11はホストコンピュータ20か
らの読み出し/書き込み命令を受け取って、当該命令に
従い、揮発性記憶部12に記憶されているデータの読み
出しまたは揮発性記憶部12へのデータの書き込みを行
うことができる。インタフェース11は、ホストコンピ
ュータ20からの読み出し/書き込み命令を実行する
と、当該ホストコンピュータ20に結果を返す。
By this format processing, a read / write command (read command or write command) for file access in the same format as for the magnetic disk drive is sent from the host computer 20 to the interface 11 of the external storage device 10. In this case, the interface 11 receives a read / write command from the host computer 20 and reads data stored in the volatile storage unit 12 or writes data to the volatile storage unit 12 in accordance with the command. It can be performed. When executing a read / write command from the host computer 20, the interface 11 returns a result to the host computer 20.

【0029】<第1の実施形態の効果>以上に述べた実
施形態においは、外部記憶装置10内のインタフェース
11は、磁気ディスク装置に対するファイルアクセスの
ための読み出し/書き込み命令と同一形式の読み出し/
書き込み命令を受け取って、揮発性記憶部12を対象に
当該命令に従う読み出し/書き込み動作を行うように構
成されている。
<Effects of the First Embodiment> In the embodiment described above, the interface 11 in the external storage device 10 has a read / write command of the same format as a read / write command for file access to the magnetic disk device.
It is configured to receive a write instruction and perform a read / write operation on the volatile storage unit 12 in accordance with the instruction.

【0030】このため、ホストコンピュータ20から外
部記憶装置10へのアクセスが、磁気ディスク装置に対
するのと同じように扱うことができる。しかも、種類の
異なるコンピュータでも、磁気ディスク装置に対するフ
ァイルアクセスのための読み出し/書き込み命令はソフ
トウェアによって制御されるため、この読み出し/書き
込み命令の実行が可能な本実施形態の外部記憶装置10
は、ハードウェアで制御されるメモリ等の記憶装置に比
べて流用性が高い。
Therefore, access from the host computer 20 to the external storage device 10 can be handled in the same manner as access to the magnetic disk device. In addition, since the read / write command for file access to the magnetic disk device is controlled by software even in different types of computers, the external storage device 10 of the present embodiment capable of executing the read / write command.
Is more divertable than a storage device such as a memory controlled by hardware.

【0031】また、本実施形態の外部記憶装置10はイ
ンタフェース11を介してホストコンピュータ20に外
部接続して用いられるため、当該コンピュータ20の主
メモリ増設用スロットに関係なく記憶容量を増やすこと
が可能である。
Further, since the external storage device 10 of the present embodiment is used by being externally connected to the host computer 20 via the interface 11, the storage capacity can be increased irrespective of the main memory expansion slot of the computer 20. It is.

【0032】また、本実施形態の外部記憶装置10で
は、ホストコンピュータ20からインタフェース11を
介してアクセスされる記憶部12に、磁気ディスク装置
等の不揮発性記憶装置に比べて高速アクセスが可能な揮
発性メモリを用いた構成を適用している。このため、ホ
ストコンピュータ20が例えばある特定の処理を行う
際、主メモリにその処理を行うのに十分な空きがない場
合に、当該外部記憶装置10をスワップ先として利用す
ることにより、磁気ディスク装置をスワップ先として利
用した場合に比べ、処理性能を向上させることができ
る。
Further, in the external storage device 10 of the present embodiment, the storage unit 12 accessed from the host computer 20 via the interface 11 can be accessed at a higher speed than a non-volatile storage device such as a magnetic disk device. A configuration using a volatile memory is applied. For this reason, when the host computer 20 performs, for example, a specific process, if the main memory does not have enough free space to perform the process, the external storage device 10 is used as a swap destination, so that the magnetic disk drive can be used. The processing performance can be improved as compared with a case in which is used as a swap destination.

【0033】ところで、外部記憶装置10の記憶部12
を本実施形態のように揮発性メモリで構成した場合、当
該記憶部12に対する高速アクセスは可能となるもの
の、ホストコンピュータ20の電源が切れた際には、バ
ッテリバックアップ等の手段を適用しない限り、当該記
憶部12内のデータが全て消失してしまう。しかし、本
実施形態の外部記憶装置10はスワップ先として正しく
動作する。以下にその理由を説明する。
The storage unit 12 of the external storage device 10
Is configured with a volatile memory as in the present embodiment, high-speed access to the storage unit 12 is possible, but when the power of the host computer 20 is turned off, unless a means such as a battery backup is applied, All the data in the storage unit 12 is lost. However, the external storage device 10 of the present embodiment operates correctly as a swap destination. The reason will be described below.

【0034】ホストコンピュータ20がスワップ処理を
行う際、スワップ先である記憶部12に書き込まれるデ
ータは、コンピュータ20の主メモリに書かれるデータ
である。周知のように主メモリは、コンピュータの電源
が切れたときに、当該主メモリのデータが消えてしまう
性質を持つ。そのため、コンピュータ20の電源が切れ
たときに、記憶部12のデータが消えても何ら問題はな
い。
When the host computer 20 performs the swap processing, the data written to the storage unit 12, which is the swap destination, is the data written to the main memory of the computer 20. As is well known, the main memory has a property that data in the main memory is lost when the power of the computer is turned off. Therefore, there is no problem even if the data in the storage unit 12 disappears when the power of the computer 20 is turned off.

【0035】また、本実施形態の外部記憶装置10は、
ホストコンピュータ20の電源を投入したときに必ず送
信されるリセット信号を受け取り、その度に記憶部12
のフォーマットを実行する構成を有している。この構成
により、ホストコンピュータ20の電源を投入したとき
には、外部記憶装置10(内の揮発性記憶部12)を必
ずフォーマットされた状態のディスク装置であるかのよ
うに利用することができる。このため、外部記憶装置1
0内の記憶部12にRAM等の揮発性メモリを使った場
合でも問題なくスワップ先として利用することが可能で
ある。
Further, the external storage device 10 of the present embodiment
Upon receiving a reset signal that is always transmitted when the power of the host computer 20 is turned on, the storage unit 12
Has the configuration to execute the format. With this configuration, when the power of the host computer 20 is turned on, the external storage device 10 (the volatile storage unit 12 therein) can be used as if it were a disk device in a formatted state. Therefore, the external storage device 1
Even when a volatile memory such as a RAM is used for the storage unit 12 in 0, it can be used as a swap destination without any problem.

【0036】[第2の実施形態] <第2の実施形態の構成>以上に述べた第1の実施形態
に係る外部記憶装置10では、ホストコンピュータ20
の電源が投入された際に当該コンピュータ20から出力
されるリセット信号を受け取ると、スイッチ13の状態
を参照することで、その状態に対応したフォーマットプ
ログラム141が選択される構成を適用した。このよう
な構成の外部記憶装置10では、異なる種類のコンピュ
ータに当該外部記憶装置10をつなぎ替えて使用する場
合、利用者はスイッチ13を操作して、そのコンピュー
タ上で動作するOS(のファイルシステムが管理するフ
ァイルのフォーマット)に対応したスイッチ状態に変更
する必要がある。しかし、このようなスイッチ操作は煩
雑であり、しかも誤った状態設定が行われる可能性もあ
る。
Second Embodiment <Configuration of Second Embodiment> In the external storage device 10 according to the first embodiment described above, the host computer 20
When a reset signal output from the computer 20 is received when the power is turned on, the state of the switch 13 is referred to, and the format program 141 corresponding to the state is selected. In the external storage device 10 having such a configuration, when the external storage device 10 is connected to a different type of computer and used, the user operates the switch 13 to operate the file system of the OS running on the computer. It is necessary to change to the switch state corresponding to the format of the file managed by. However, such a switch operation is complicated, and an erroneous state setting may be performed.

【0037】そこで、スイッチ13を用いた構成の上記
不具合を解決するために、ドライバソフトウェアにより
フォーマットプログラムを自動選択する構成を適用した
本発明の第2の実施形態に係る外部記憶装置について、
図面を参照して説明する。
In order to solve the above-mentioned problem of the configuration using the switch 13, an external storage device according to a second embodiment of the present invention to which a configuration in which a format program is automatically selected by driver software is applied.
This will be described with reference to the drawings.

【0038】<第2の実施形態の構成>図3は本発明の
第2の実施形態に係る、揮発性の記憶装置を利用した外
部記憶装置の構成を主として示すコンピュータシステム
のブロック構成図である。
<Configuration of Second Embodiment> FIG. 3 is a block diagram of a computer system mainly showing a configuration of an external storage device using a volatile storage device according to a second embodiment of the present invention. .

【0039】図3において外部記憶装置30は、インタ
フェース31と、揮発性記憶部32と、フォーマット部
34とから構成されている。ここでは、外部記憶装置3
0が図1中のスイッチ13に相当するスイッチを備えて
いない点に注意されたい。
Referring to FIG. 3, the external storage device 30 comprises an interface 31, a volatile storage unit 32, and a format unit 34. Here, the external storage device 3
Note that 0 does not have a switch corresponding to switch 13 in FIG.

【0040】インタフェース31は、ホストコンピュー
タ40上で動作するドライバソフトウェア(以下、ドラ
イバソフトと称する)41との間で命令(読み出し/書
き込み命令等)、データ等の授受を司る。ここではイン
タフェース31は、ホストコンピュータ40上で動作す
るOSのファイルシステムにより管理されるファイルの
フォーマットを示すフォーマット情報もドライバソフト
41から受け取るように構成されている。
The interface 31 exchanges commands (read / write commands, etc.) and data with driver software (hereinafter referred to as driver software) 41 operating on the host computer 40. Here, the interface 31 is configured to also receive, from the driver software 41, format information indicating the format of a file managed by the file system of the OS running on the host computer 40.

【0041】インタフェース31は、ドライバソフト4
1から上記フォーマット情報を受け取った場合、当該フ
ォーマット情報をフォーマット部34に送る。またイン
タフェース31は、ホストコンピュータ40から磁気デ
ィスク装置上のファイルをアクセスするための読み出し
/書き込み命令と同一形式の読み出し/書き込み命令を
受け取り、揮発性記憶部32を対象とするデータの読み
出し/書き込みを行い、結果をホストコンピュータ40
に返す。
The interface 31 includes the driver software 4
When the above-mentioned format information is received from No. 1, the format information is sent to the format section 34. Further, the interface 31 receives a read / write command of the same format as a read / write command for accessing a file on the magnetic disk device from the host computer 40 and reads / writes data from / to the volatile storage unit 32. The host computer 40
To return.

【0042】揮発性記憶部32は、図1の外部記憶装置
10内の揮発性記憶部12と同様に、高速アクセスが可
能なRAM等の揮発性メモリから構成され、ホストコン
ピュータ40から転送されるデータ(ここではファイル
データ)を記憶するのに用いられる。この揮発性記憶部
32を対象とする読み出し/書き込みはインタフェース
31によって行われる。
The volatile storage section 32 is composed of a volatile memory such as a RAM which can be accessed at high speed, similarly to the volatile storage section 12 in the external storage device 10 of FIG. It is used to store data (here, file data). Read / write for the volatile storage unit 32 is performed by the interface 31.

【0043】フォーマット部34は、図1中の不揮発性
記憶部140と同様の不揮発性記憶部340を持つ。こ
の不揮発性記憶部340には、予め定められた複数のO
Sにそれぞれ対応して用意されたフォーマットプログラ
ム341と、種々のフォーマット情報と当該フォーマッ
ト情報の示すフォーマット処理を実行するためのフォー
マットプログラム141との対応関係を表形式で示すテ
ーブル(フォーマット情報−フォーマットプログラム対
応テーブル)342とが記憶されている。
The format section 34 has a nonvolatile storage section 340 similar to the nonvolatile storage section 140 in FIG. The nonvolatile storage unit 340 stores a plurality of predetermined O
A table (format information-format program) that shows the correspondence between the format program 341 prepared corresponding to each S and the various format information and the format program 141 for executing the format process indicated by the format information. Correspondence table) 342 is stored.

【0044】フォーマット部34は、ドライバソフト4
1から送られるフォーマット情報をインタフェース31
を介して受け取ることで、当該フォーマット情報により
テーブル342を参照し、複数のフォーマットプログラ
ム341の中から当該フォーマット情報に対応付けられ
ているフォーマットプログラム341を選択して、その
選択したフォーマットプログラム341に従って揮発性
記憶部32のフォーマットを行う。
The format section 34 is provided with the driver software 4
Format information sent from the interface 1
, The format information is referred to the table 342, the format program 341 associated with the format information is selected from the plurality of format programs 341, and the format program 341 is volatilized according to the selected format program 341. The format of the sex storage unit 32 is performed.

【0045】<第2の実施形態の動作>次の図3の構成
の動作を図4のフローチャートを参照して説明する。ま
ず、外部記憶装置30が接続されるホストコンピュータ
40には、当該コンピュータ40上で動作するOSのフ
ァイルシステムで管理されるファイルのフォーマットに
対応したドライバソフト41が予め組み込まれている。
<Operation of Second Embodiment> Next, the operation of the configuration of FIG. 3 will be described with reference to the flowchart of FIG. First, driver software 41 corresponding to a file format managed by a file system of an OS operating on the computer 40 is installed in the host computer 40 to which the external storage device 30 is connected in advance.

【0046】このような状態で、ホストコンピュータ4
0の電源が投入されたものとする。周知のように、コン
ピュータの電源が投入された場合、当該コンピュータに
接続されている周辺機器のためのドライバソフトが起動
される。本実施形態でも、ホストコンピュータ40の電
源が投入されることにより、つまりホストコンピュータ
40の立ち上げ時にドライバソフト41が起動される
(ステップS11)。
In such a state, the host computer 4
0 is assumed to be turned on. As is well known, when a computer is turned on, driver software for peripheral devices connected to the computer is started. Also in the present embodiment, when the power of the host computer 40 is turned on, that is, when the host computer 40 starts up, the driver software 41 is started (step S11).

【0047】するとドライバソフト41は、外部記憶装
置30のインタフェース31に対して、ホストコンピュ
ータ40上で動作するOSのファイルシステムにより管
理されるファイルのフォーマットを示すフォーマット情
報を送る(S12)。インタフェース31は、このドラ
イバソフト41からのフォーマット情報をフォーマット
部34に送る(ステップS13)。
Then, the driver software 41 sends format information indicating the format of a file managed by the file system of the OS running on the host computer 40 to the interface 31 of the external storage device 30 (S12). The interface 31 sends the format information from the driver software 41 to the format unit 34 (Step S13).

【0048】フォーマット部34はドライバソフト41
からのフォーマット情報をインタフェース31を介して
受け取ると、そのフォーマット情報によりテーブル(フ
ォーマット情報−フォーマットプログラム対応テーブ
ル)342を参照することで、不揮発性記憶部340に
記憶されている複数のフォーマットプログラム341の
中から、当該フォーマット情報に対応するプログラム3
41を選択する(ステップS14)。この選択されたフ
ォーマットプログラム341は、現在外部記憶装置30
が接続されているホストコンピュータ40上で動作する
OSに対応して用意されたものである。
The format section 34 has driver software 41
When the format information is received from the non-volatile storage unit 340 by referring to the table (format information-format program correspondence table) 342 based on the format information, From among them, the program 3 corresponding to the format information
41 is selected (step S14). The selected format program 341 is stored in the external storage device 30
Are prepared corresponding to the OS operating on the host computer 40 to which the is connected.

【0049】フォーマット部34は、上記ステップS1
4で選択したフォーマットプログラム341に従って揮
発性記憶部32をフォマットするフォーマット処理を実
行する(ステップS15)。これにより、揮発性記憶部
32は、ホストコンピュータ20上で動作するOSのフ
ァイルシステムにより管理されるファイルのフォーマッ
トに適合するようにフォマットされる。
The format section 34 performs the processing in step S1
A format process for formatting the volatile storage unit 32 is executed according to the format program 341 selected in Step 4 (Step S15). Thus, the volatile storage unit 32 is formatted so as to conform to the file format managed by the file system of the OS running on the host computer 20.

【0050】フォーマット部34は、ステップS15の
フォーマット処理を実行すると、そのフォーマット処理
の結果(成功/失敗)をインタフェース31に返す(ス
テップS16)。これを受けてインタフェース31は、
フォーマット部34でのフォーマット処理の結果をドラ
イバソフト41に返す(ステップS17)。
After executing the format process in step S15, the format unit 34 returns a result (success / failure) of the format process to the interface 31 (step S16). In response, the interface 31
The result of the format processing in the format unit 34 is returned to the driver software 41 (step S17).

【0051】ドライバソフト41は、フォーマット部3
4でのフォーマット処理の結果(成功/失敗)をインタ
フェース31から受け取ると、その結果の判定を行う
(ステップS18)。もし、フォーマット処理に成功し
たならば、ドライバソフト41は外部記憶装置30をデ
ィスク装置としてシステムに組み込む(ステップS1
9)。これに対し、失敗した場合は、ドライバソフト4
1はデバイス組み込み失敗の処理を行う(ステップS2
0)。
The driver software 41 is provided in the format unit 3
When the result (success / failure) of the format processing in step 4 is received from the interface 31, the result is determined (step S18). If the format processing is successful, the driver software 41 incorporates the external storage device 30 into the system as a disk device (step S1).
9). On the other hand, if it fails, the driver software 4
1 performs a process of failure to incorporate the device (step S2)
0).

【0052】以上のようにして、フォーマット部34で
のフォーマット処理が成功して、外部記憶装置30がデ
ィスク装置としてシステムに組み込まれたものとする。
この状態では、その後、ホストコンピュータ40から外
部記憶装置30のインタフェース31に磁気ディスク装
置に対するのと同一の形式のファイルアクセスのための
読み出し/書き込み命令(読み出し命令または書き込み
命令)が送られてきた場合に、インタフェース31はホ
ストコンピュータ40からの読み出し/書き込み命令を
受け取って、当該命令に従い、揮発性記憶部32に記憶
されているデータの読み出しまたは揮発性記憶部32へ
のデータの書き込みを行うことができる。インタフェー
ス31は、ホストコンピュータ40からの読み出し/書
き込み命令を実行すると、当該ホストコンピュータ40
に結果を返す。
As described above, it is assumed that the format processing in the format unit 34 has been successful and the external storage device 30 has been incorporated into the system as a disk device.
In this state, when a read / write command (read command or write command) for file access in the same format as that for the magnetic disk device is sent from the host computer 40 to the interface 31 of the external storage device 30 thereafter. In addition, the interface 31 receives a read / write command from the host computer 40, and reads data stored in the volatile storage unit 32 or writes data to the volatile storage unit 32 according to the command. it can. When the interface 31 executes a read / write command from the host computer 40, the interface 31
Returns the result to

【0053】<第2の実施形態の効果>以上に述べたよ
うに、本実施形態の外部記憶装置30は、当該外部記憶
装置30が接続されているホストコンピュータ40に予
め組み込まれている、当該ホストコンピュータ40上で
動作するOSのファイルシステムにより管理されるファ
イルのフォーマットに対応したドライバソフト41か
ら、当該ホストコンピュータ40の立ち上げ時に与えら
れるフォーマット情報に基づいて、対応するフォーマッ
トプログラム341を決定し、そのフォーマットプログ
ラム341に従って揮発性記憶部32のフォーマットを
行うように構成されている。
<Effects of Second Embodiment> As described above, the external storage device 30 of the present embodiment is built in the host computer 40 to which the external storage device 30 is connected. From the driver software 41 corresponding to the file format managed by the file system of the OS running on the host computer 40, the corresponding format program 341 is determined based on the format information given when the host computer 40 is started up. , The volatile storage unit 32 is formatted in accordance with the format program 341.

【0054】このため、ホストコンピュータ40の電源
を投入した際には、外部記憶装置30を必ずフォーマッ
トされた状態のディスク装置として利用することがで
き、スワップ先として利用することが可能である。よっ
て、本実施形態の外部記憶装置30は、前記第1の実施
形態の外部記憶装置10と同様に、高い流用性、容易な
記憶容量の増設、データ処理性能の向上という効果を有
する。
Therefore, when the power of the host computer 40 is turned on, the external storage device 30 can always be used as a formatted disk device, and can be used as a swap destination. Therefore, the external storage device 30 of this embodiment has the effects of high diversion, easy increase of storage capacity, and improvement of data processing performance, similarly to the external storage device 10 of the first embodiment.

【0055】しかも本実施形態では、外部記憶装置30
が接続されているホストコンピュータ40に適合する
(揮発性記憶部32をフォーマットするフォーマット処
理のための)フォーマットプログラム341が、前記第
1の実施形態のようにスイッチによって選択(指定)さ
れるのではなく、ホストコンピュータ40に組み込まれ
ているドライバソフト41から送られる、当該コンピュ
ータ40上で動作する0Sに適合したフォーマットの情
報によって自動的に選択(指定)される。
In this embodiment, the external storage device 30
May be selected (specified) by a switch as in the first embodiment (for the formatting process for formatting the volatile storage unit 32), which is compatible with the host computer 40 to which is connected. Instead, it is automatically selected (designated) by information of a format compatible with OS running on the computer 40 and transmitted from the driver software 41 incorporated in the host computer 40.

【0056】このため、異なる種類のコンピュータに本
実施形態の外部記憶装置30をつなぎ替えて使用する場
合にも、前記第1の実施形態のようにスイッチの設定を
変更するといった操作は必要でなく、単に外部記憶装置
30を新たなコンピュータにつなぎ替えるだけで利用可
能である。
Therefore, even when the external storage device 30 of the present embodiment is connected to a different type of computer and used, the operation of changing the switch setting as in the first embodiment is not necessary. It can be used simply by connecting the external storage device 30 to a new computer.

【0057】[0057]

【発明の効果】以上詳述したように本発明によれば、磁
気ディスク装置のような不揮発性記憶装置に比べて高速
アクセスが可能な揮発性記憶装置(揮発性記憶部)を用
いながら、当該記憶装置に対して、当該記憶装置を利用
するコンピュータのOSのファイルシステムにより管理
されるファイルのフォーマットに適合するフォーマット
処理が実行される構成とすると共に、上記コンピュータ
からの不揮発性記憶装置に対するのと同一形式の読み出
し/書き込み命令を受け取って実行するインタフェース
を備えた構成としたので、高い流用性、容易な記憶容量
の増設が図れる。
As described in detail above, according to the present invention, a volatile storage device (volatile storage unit) which can be accessed at a higher speed than a nonvolatile storage device such as a magnetic disk device can be used. The storage device is configured to execute a format process that conforms to a file format managed by the file system of the OS of the computer that uses the storage device. Since the configuration is provided with an interface for receiving and executing the same type of read / write instruction, high diversion and easy increase in storage capacity can be achieved.

【0058】また本発明によれば、ホストコンピュータ
が例えばある特定の処理を行う際、主メモリにその処理
を行うのに十分な空きがない場合でも、本発明の外部記
憶装置をスワップ先として利用することにより、磁気デ
ィスク装置をスワップ先として利用した場合に比べ、処
理性能を向上させることができる。
According to the present invention, when the host computer performs, for example, a specific process, the external storage device of the present invention can be used as a swap destination even if there is not enough free space in the main memory to perform the process. By doing so, the processing performance can be improved as compared with the case where the magnetic disk device is used as a swap destination.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態に係る外部記憶装置の
構成を主として示すコンピュータシステムのブロック構
成図。
FIG. 1 is an exemplary block configuration diagram of a computer system mainly showing the configuration of an external storage device according to a first embodiment of the present invention.

【図2】同第1の実施形態における動作を説明するため
のフローチャート。
FIG. 2 is a flowchart for explaining the operation in the first embodiment.

【図3】本発明の第2の実施形態に係る外部記憶装置の
構成を主として示すコンピュータシステムのブロック構
成図。
FIG. 3 is an exemplary block configuration diagram of a computer system mainly showing the configuration of an external storage device according to a second embodiment of the present invention.

【図4】同第2の実施形態における動作を説明するため
のフローチャート。
FIG. 4 is a flowchart for explaining the operation in the second embodiment.

【符号の説明】[Explanation of symbols]

10,30…外部記憶装置 11,31…インタフェース 12,32…揮発性記憶部 13…スイッチ 14,34…フォーマット部 41…ドライバソフト(ドライバソフトウェア) 140,340…不揮発性記憶部 141,341…フォーマットプログラム 142…テーブル(スイッチ状態−フォーマットプログ
ラム対応テーブル) 342…テーブル(フォーマット情報−フォーマットプ
ログラム対応テーブル)
10, 30 external storage device 11, 31 interface 12, 32 volatile storage unit 13 switch 14, 34 format unit 41 driver software (driver software) 140, 340 nonvolatile storage unit 141, 341 format Program 142: Table (switch state-format program correspondence table) 342: Table (format information-format program correspondence table)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータに接続して利用可能な外部
記憶装置において、 揮発性の記憶部と、 前記外部記憶装置に接続されたコンピュータからのファ
イルアクセスのための読み出し/書き込み命令を受け取
り、当該命令に従って前記揮発性記憶部をアクセスする
インタフェースと、 前記外部記憶装置が利用可能なコンピュータ上で動作す
るオペレーティングシステムのファイルシステムにより
管理されるファイルのフォーマットを選択的に指定する
ためのスイッチと、 前記外部記憶装置が利用可能な各種コンピュータ上で動
作する種類の異なるオペレーティングシステム毎に用意
され、当該オペレーティングシステムのファイルシステ
ムにより管理されるファイルのフォーマットに適合する
フォーマット処理のためのフォーマットプログラムと、
前記スイッチの各状態と当該状態により指定されるフォ
ーマットに固有の前記フォーマットプログラムとの関係
を表形式で示すテーブルとが記憶される不揮発性記憶部
と、 前記外部記憶装置に接続された前記コンピュータからの
リセット信号を受け取ることにより起動され、前記スイ
ッチの状態により前記テーブルを参照することで、当該
状態に対応したフォーマットプログラムを前記不揮発性
記憶部から選択し、この選択したフォーマットプログラ
ムに従って前記揮発性記憶部をフォーマットするフォー
マット処理を実行するフォーマット手段とを具備するこ
とを特徴とする外部記憶装置。
An external storage device that can be used by being connected to a computer, comprising: a volatile storage unit; and a read / write command for file access from a computer connected to the external storage device. An interface for accessing the volatile storage unit in accordance with the following; a switch for selectively designating a file format managed by a file system of an operating system operating on a computer that can use the external storage device; A format program for a format process that is prepared for each of different types of operating systems that operate on various computers that can use the storage device and that is compatible with the format of a file managed by the file system of the operating system And no,
A non-volatile storage unit that stores a table indicating a relationship between each state of the switch and the format program specific to the format specified by the state in a tabular format; and a computer connected to the external storage device. Is activated by receiving a reset signal, and by referring to the table according to the state of the switch, a format program corresponding to the state is selected from the non-volatile storage unit, and the volatile storage is performed according to the selected format program. An external storage device comprising: a format unit that executes a format process for formatting a unit.
【請求項2】 コンピュータに接続して利用可能な外部
記憶装置において、 揮発性の記憶部と、 前記外部記憶装置に接続されたコンピュータからのファ
イルアクセスのための読み出し/書き込み命令を受け取
り、当該命令に従って前記揮発性記憶部をアクセスする
機能と、前記コンピュータに組み込まれている前記外部
記憶装置に適合するドライバソフトウェアの起動時に、
当該ソフトウェアから送られる、前記コンピュータ上で
動作するオペレーティングシステムのファイルシステム
により管理されるファイルのフォーマットを指定するフ
ォーマット情報を受け取る機能とを有するインタフェー
スと、 前記外部記憶装置が利用可能な各種コンピュータ上で動
作する種類の異なるオペレーティングシステム毎に用意
され、当該オペレーティングシステムのファイルシステ
ムにより管理されるファイルのフォーマットに適合する
フォーマット処理のためのフォーマットプログラムと、
前記外部記憶装置が利用可能な各種コンピュータに組み
込まれている前記ドライバソフトウェアから送られる可
能性のある各種フォーマット情報と当該情報により指定
されるフォーマットに固有の前記フォーマットプログラ
ムとの関係を表形式で示すテーブルとが記憶される不揮
発性記憶部と、 前記外部記憶装置に接続された前記コンピュータに組み
込まれている前記ドライバソフトウェアから送られた前
記フォーマット情報を前記インタフェースを介して受け
取ることにより起動され、当該情報により前記テーブル
を参照することで、当該情報に対応したフォーマットプ
ログラムを前記不揮発性記憶部から選択し、この選択し
たフォーマットプログラムに従って前記揮発性記憶部を
フォーマットするフォーマット処理を実行するフォーマ
ット手段とを具備することを特徴とする外部記憶装置。
2. An external storage device that can be used by being connected to a computer, comprising: a volatile storage unit; and a read / write command for file access from a computer connected to the external storage device. According to the function of accessing the volatile storage unit, at the time of starting the driver software compatible with the external storage device incorporated in the computer,
An interface having a function of receiving format information that specifies a format of a file sent from the software and managed by a file system of an operating system operating on the computer; and on various computers where the external storage device can be used. A format program for a format process prepared for each operating system of a different type of operation and adapted to a file format managed by the file system of the operating system;
The table format shows a relationship between various types of format information that may be sent from the driver software incorporated in various types of computers that can use the external storage device and the format program specific to the format specified by the information. A nonvolatile storage unit in which a table is stored, and activated by receiving the format information transmitted from the driver software incorporated in the computer connected to the external storage device via the interface, By referring to the table with the information, a format program corresponding to the information is selected from the non-volatile storage unit, and a format program for executing a format process for formatting the volatile storage unit according to the selected format program is performed. And an external storage device.
JP2000301475A 2000-09-29 2000-09-29 Volatile external storage device Expired - Fee Related JP4028679B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000301475A JP4028679B2 (en) 2000-09-29 2000-09-29 Volatile external storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000301475A JP4028679B2 (en) 2000-09-29 2000-09-29 Volatile external storage device

Publications (2)

Publication Number Publication Date
JP2002108569A true JP2002108569A (en) 2002-04-12
JP4028679B2 JP4028679B2 (en) 2007-12-26

Family

ID=18783011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000301475A Expired - Fee Related JP4028679B2 (en) 2000-09-29 2000-09-29 Volatile external storage device

Country Status (1)

Country Link
JP (1) JP4028679B2 (en)

Also Published As

Publication number Publication date
JP4028679B2 (en) 2007-12-26

Similar Documents

Publication Publication Date Title
US6401198B1 (en) Storing system-level mass storage configuration data in non-volatile memory on each mass storage device to allow for reboot/power-on reconfiguration of all installed mass storage devices to the same configuration as last use
US6807630B2 (en) Method for fast reinitialization wherein a saved system image of an operating system is transferred into a primary memory from a secondary memory
US5546585A (en) Personal computer system with start-up capability from an external mass storage device
US7293166B2 (en) Method of indicating a format of accessing an operating system contained on a USB memory device
US20050138312A1 (en) Method for acquiring snapshot
WO2000019310A2 (en) Dual use master boot record
US6934833B2 (en) Operating system selector and data storage drive
JPH1124943A (en) Computer restarting method and computer stopping method
US20080114923A1 (en) Apparatus and method for controlling operation processing in nonvolatile memory
KR100223844B1 (en) Option circuit
US20020004864A1 (en) Control method and electronic device
US7234039B1 (en) Method, system, and apparatus for determining the physical memory address of an allocated and locked memory buffer
JP2002108569A (en) Volatile external storage device
JP2013033338A (en) Memory system
WO2000070454A1 (en) Method for facilitating data sharing between application programs and accesses to peripheral apparatuses with application programs by using shared addresses
JP4026383B2 (en) Information processing system, information processing terminal, external storage device, information processing terminal control program, and external storage device control program
JP2010282645A (en) Linux program start-up system
JP2010044503A (en) Computer program, and recording medium
US7203813B1 (en) Methods, computer systems, and computer readable media for changing module pointer values upon switches between different modes of memory addressing
JPH11353120A (en) Magnetic disk drive and backup method for write data
CN117573175A (en) Firmware real-time updating method, system and storage medium for non-reset control chip
JPS6240521A (en) Disk controlling system
JPH11353229A (en) Unit and method for memory control and computer-readable storage medium stored with program
CN115576705A (en) Data synchronization method, device and medium for redundant firmware
JP2003131893A (en) Arithmetic processing system, task control method in a computer system and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070528

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071012

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees