JPH07334316A - External storage device for computer - Google Patents
External storage device for computerInfo
- Publication number
- JPH07334316A JPH07334316A JP6127657A JP12765794A JPH07334316A JP H07334316 A JPH07334316 A JP H07334316A JP 6127657 A JP6127657 A JP 6127657A JP 12765794 A JP12765794 A JP 12765794A JP H07334316 A JPH07334316 A JP H07334316A
- Authority
- JP
- Japan
- Prior art keywords
- computer
- data
- memory
- card
- memory card
- 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
Links
- 238000012546 transfer Methods 0.000 claims abstract description 98
- 239000004065 semiconductor Substances 0.000 claims description 5
- 238000000034 method Methods 0.000 description 74
- 238000012545 processing Methods 0.000 description 33
- 230000005540 biological transmission Effects 0.000 description 21
- 230000006870 function Effects 0.000 description 14
- 230000004044 response Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、コンピュータに接続さ
れる外部記憶装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external storage device connected to a computer.
【0002】[0002]
【従来の技術】従来より、コンピュータの記録媒体とし
て、半導体メモリICを搭載したカード状のメモリカー
ド(ICカード)が実用化されている。そして、所謂ノ
ート型パーソナルコンピュータでは、メモリカードを装
着するためのカードスロットが予め設けられており、ま
た所謂ディスクトップ型パーソナルコンピュータでは、
専用の拡張ボードを追加して設けることにより、メモリ
カードを使用することができるようになっている。2. Description of the Related Art Conventionally, a card-shaped memory card (IC card) having a semiconductor memory IC has been put into practical use as a recording medium of a computer. A so-called notebook personal computer is provided with a card slot for mounting a memory card in advance, and a so-called desktop personal computer is
A memory card can be used by additionally providing a dedicated expansion board.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、ノート
型パーソナルコンピュータや上記拡張ボードには、カー
ドスロットが1個か2個しか設けられていないため、大
容量のデータを記憶させることができないという問題が
ある。However, since the notebook personal computer and the expansion board have only one or two card slots, there is a problem that a large amount of data cannot be stored. is there.
【0004】そしてこの対策として、半導体メモリを改
良してメモリカードの1枚当りの記憶容量を増大させる
努力がなされているが、それでも10〜20MB(メガ
・バイト)程度の記憶容量が限度と思われる。従って、
コンピュータの記録媒体としてメモリカードを使用した
場合には、大量のデータを保存することができなかった
のである。As a countermeasure against this, efforts are being made to improve the semiconductor memory to increase the memory capacity per memory card, but the memory capacity of about 10 to 20 MB (megabyte) is still the limit. Be done. Therefore,
When a memory card was used as a recording medium for a computer, it was not possible to store a large amount of data.
【0005】本発明は、こうした問題に鑑みなされたも
のであり、メモリカードをコンピュータの記録媒体とし
て使用するのに好適なコンピュータの外部記憶装置を提
供することを目的としている。The present invention has been made in view of these problems, and an object thereof is to provide an external storage device of a computer suitable for using a memory card as a recording medium of the computer.
【0006】[0006]
【課題を解決するための手段】即ち、上記目的を達成す
るためになされた請求項1に記載の本発明は、図1に例
示する如く、コンピュータに接続されるインタフェース
と、半導体メモリが搭載された複数のメモリカードを着
脱自在なカード用スロットと、所定のデータを記憶する
記憶手段と、前記コンピュータと前記カード用スロット
に装着されたメモリカードとの間で、前記インタフェー
スを介してデータを転送させる転送手段と、該転送手段
により転送されたデータを前記記憶手段に一時格納する
格納手段と、前記コンピュータから前記カード用スロッ
トに装着された何れかのメモリカードに対するデータの
書き込み要求があると、前記転送手段に前記コンピュー
タからのデータを当該メモリカードへ転送させる書き込
み制御手段と、前記コンピュータから前記カード用スロ
ットに装着された何れかのメモリカードに対するデータ
の読み出し要求があると、当該要求に応じたデータが前
記記憶手段に格納されているか否かを判定し、該データ
が格納されていない場合には前記転送手段に当該メモリ
カードから前記コンピュータへデータを転送させ、前記
データが格納されている場合には前記転送手段に前記記
憶手段から前記コンピュータへデータを転送させる読み
出し制御手段と、を備えたことを特徴とするコンピュー
タの外部記憶装置を要旨としている。That is, the present invention as set forth in claim 1 made in order to achieve the above object, is equipped with an interface connected to a computer and a semiconductor memory as illustrated in FIG. Data is transferred between the computer and the memory card mounted in the card slot, the card slot in which a plurality of memory cards are detachable, the storage unit for storing predetermined data, and the memory card mounted in the card slot. Transfer means for causing the storage means to temporarily store the data transferred by the transfer means in the storage means, and a write request of data from any one of the memory cards inserted in the card slot from the computer, Write control means for causing the transfer means to transfer the data from the computer to the memory card; When there is a data read request from the computer to any of the memory cards mounted in the card slot, it is determined whether or not the data corresponding to the request is stored in the storage means, and the data is stored. Read control means for causing the transfer means to transfer data from the memory card to the computer if the transfer means is not stored, and for causing the transfer means to transfer data from the storage means to the computer if the data is stored. An external storage device of a computer is provided as a gist.
【0007】また、請求項2に記載の本発明は、請求項
1に記載のコンピュータの外部記憶装置において、前記
コンピュータから前記カード用スロットに装着された何
れか2つのメモリカードへ同一のデータを書き込む旨の
要求があると、前記書き込み制御手段が、前記転送手段
に、前記コンピュータからのデータを前記2つのメモリ
カードのうち一方のメモリカードへ転送させると共に前
記記憶手段から前記2つのメモリカードのうち他方のメ
モリカードへデータを転送させること、を特徴とするコ
ンピュータの外部記憶装置を要旨としている。According to a second aspect of the present invention, in the external storage device of the computer according to the first aspect, the same data is transferred from the computer to any two memory cards mounted in the card slot. When there is a request to write, the write control means causes the transfer means to transfer the data from the computer to one of the two memory cards, and at the same time from the storage means to the two memory cards. The gist is an external storage device of a computer, which is characterized in that data is transferred to the other memory card.
【0008】そして、請求項3に記載の本発明は、請求
項1又は請求項2に記載のコンピュータの外部記憶装置
において、前記メモリカードが、他の機器と接続可能な
インタフェースを備えており、前記書き込み制御手段及
び読み出し制御手段が、当該メモリカードに接続された
機器と前記コンピュータとの間の前記転送手段によるデ
ータ転送を制御すること、を特徴とするコンピュータの
外部記憶装置を要旨としている。According to a third aspect of the present invention, in the external storage device of the computer according to the first or second aspect, the memory card has an interface connectable to another device, An external storage device of a computer is characterized in that the write control unit and the read control unit control data transfer by the transfer unit between a device connected to the memory card and the computer.
【0009】次に、請求項4に記載の本発明は、請求項
1ないし請求項3の何れかに記載のコンピュータの外部
記憶装置において、前記コンピュータから前記記憶手段
を直接アクセスする旨の要求があると、前記記憶手段の
所定の記憶領域を前記コンピュータがアクセス可能な専
用領域として設定する記憶領域設定手段と、前記コンピ
ュータから前記記憶手段に対するデータの書き込み要求
があると前記コンピュータからのデータを前記専用領域
へ転送し、前記コンピュータから前記記憶手段に対する
データの読み出し要求があると前記専用領域から前記コ
ンピュータへデータを転送する第2の転送手段と、を備
えたことを特徴とするコンピュータの外部記憶装置を要
旨としている。Next, the present invention according to claim 4 is the external storage device of the computer according to any one of claims 1 to 3, wherein there is a request to directly access the storage means from the computer. A storage area setting means for setting a predetermined storage area of the storage means as a dedicated area accessible to the computer; and a data write request to the storage means from the computer, the data from the computer is dedicated to the storage area setting means. An external storage device for the computer, further comprising: second transfer means for transferring the data to the area and for transferring the data from the dedicated area to the computer when there is a data read request from the computer to the storage means. Is the gist.
【0010】また、請求項5に記載の本発明は、請求項
1ないし請求項4の何れかに記載のコンピュータの外部
記憶装置において、前記コンピュータから、前記カード
用スロットに装着された何れか1つのメモリカードから
他のメモリカードへデータをコピーする旨の要求がある
と、前記1つのメモリカードから前記記憶手段へデータ
を転送し、当該データ転送の後に前記記憶手段から前記
他のメモリカードへデータを転送する第3の転送手段を
備えたこと、を特徴とするコンピュータの外部記憶装置
を要旨としている。According to a fifth aspect of the present invention, in any one of the external storage device of the computer according to any one of the first to fourth aspects, any one of the ones mounted from the computer to the card slot is used. When there is a request to copy data from one memory card to another memory card, the data is transferred from the one memory card to the storage means, and after the data transfer, from the storage means to the other memory card. An external storage device of a computer is characterized in that a third transfer means for transferring data is provided.
【0011】[0011]
【作用及び発明の効果】上記のように構成された請求項
1に記載のコンピュータの外部記憶装置においては、転
送手段が、インタフェースに接続されたコンピュータと
カード用スロットに着脱自在に装着されたメモリカード
との間でインタフェースを介してデータを転送させ、格
納手段が、転送手段により転送されたデータを記憶手段
に一時格納する。In the external storage device of the computer according to claim 1 configured as described above, the transfer means is a memory connected to the computer connected to the interface and a memory detachably attached to the card slot. Data is transferred to and from the card via the interface, and the storage means temporarily stores the data transferred by the transfer means in the storage means.
【0012】ここで、コンピュータからインタフェース
を介して、カード用スロットに装着された何れかのメモ
リカードに対するデータの書き込み要求があると、書き
込み制御手段が、転送手段に、コンピュータからのデー
タをメモリカードへ転送させる。すると、格納手段が、
その転送されたデータを記憶手段に一時格納する。When there is a request from the computer to write data to any of the memory cards mounted in the card slot via the interface, the write control means causes the transfer means to transfer the data from the computer to the memory card. Transfer to. Then, the storage means
The transferred data is temporarily stored in the storage means.
【0013】また、コンピュータからインタフェースを
介して、カード用スロットに装着された何れかのメモリ
カードに対するデータの読み出し要求があると、読み出
し制御手段が、まず、その要求に応じたデータが記憶手
段に格納されているか否かを判定し、データが格納され
ていない場合には、転送手段に、読み出し要求のあった
メモリカードからコンピュータへデータを転送させる。
すると、この場合においても、格納手段が、その転送さ
れたデータを記憶手段に一時格納する。一方、読み出し
制御手段は、コンピュータからの読み出し要求に応じた
データが記憶手段に格納されていると判定した場合に
は、転送手段に、記憶手段からコンピュータへデータを
転送させる。Further, when a data read request is issued from the computer to any one of the memory cards mounted in the card slots via the interface, the read control means first causes the data corresponding to the request to be stored in the storage means. It is determined whether or not the data is stored, and if the data is not stored, the transfer means transfers the data from the memory card that has issued the read request to the computer.
Then, also in this case, the storage means temporarily stores the transferred data in the storage means. On the other hand, when the read control unit determines that the data corresponding to the read request from the computer is stored in the storage unit, the read control unit causes the transfer unit to transfer the data from the storage unit to the computer.
【0014】つまり、請求項1に記載のコンピュータの
外部記憶装置では、コンピュータからの書き込み要求及
び読み出し要求に応じて、カード用スロットに装着され
たメモリカードとコンピュータとの間のデータ転送を実
行すると共に、転送されたデータを一時記憶手段に格納
しておき、このデータがコンピュータから読み出し要求
された場合、即ち前回コンピュータから何れかのメモリ
カードへ書き込まれたデータ或いは前回何れかのメモリ
カードからコンピュータへ読み出されたデータが今回読
み出し要求された場合には、メモリカードからではな
く、記憶手段からコンピュータへデータを転送するよう
にしている。That is, in the external storage device of the computer according to the first aspect, data transfer between the computer and the memory card mounted in the card slot is executed in response to a write request and a read request from the computer. At the same time, the transferred data is stored in a temporary storage means, and when this data is requested to be read from the computer, that is, the data previously written to any memory card from the computer or the previous time from any memory card to the computer. When the data read out to the computer is requested to be read this time, the data is transferred not from the memory card but from the storage means to the computer.
【0015】このように、請求項1に記載のコンピュー
タの外部記憶装置によれば、複数のメモリカードを記録
媒体として使用することができるため、メモリカードの
1枚当りの記憶容量が小さくても、大量のデータをメモ
リカードを使用して保存することができる。そして、メ
モリカードは、フロッピーディスクやハードディスクを
記録媒体として使用した場合のように機構部品を必要と
しないため、耐振動性や耐衝撃性に優れ、また、コンピ
ュータからのアクセスに対して高速にデータを転送する
ことができる。As described above, according to the external storage device of the computer according to the first aspect, since a plurality of memory cards can be used as the recording medium, even if the storage capacity per memory card is small. , Large amount of data can be stored using memory card. And since memory cards do not require mechanical parts like when using a floppy disk or hard disk as a recording medium, they are excellent in vibration resistance and shock resistance, and data can be accessed at high speed when accessed from a computer. Can be transferred.
【0016】しかも、請求項1に記載のコンピュータの
外部記憶装置では、コンピュータからの書き込み或いは
読み出し要求に応じて転送するデータを、記憶手段に一
時格納し、コンピュータから読み出し要求があった場合
に、その要求に応じたデータが記憶手段に格納されてい
る場合には、メモリカードからではなく、記憶手段から
コンピュータへ直接データを転送するようにしている。Further, in the external storage device of the computer according to the first aspect, the data to be transferred in response to the write or read request from the computer is temporarily stored in the storage means, and when there is a read request from the computer, When the data corresponding to the request is stored in the storage means, the data is directly transferred from the storage means to the computer, not from the memory card.
【0017】従って、請求項1に記載のコンピュータの
外部記憶装置によれば、コンピュータからの読み込み要
求に対して、より高速にデータを転送することができ
る。次に、請求項2に記載のコンピュータの外部記憶装
置では、請求項1に記載のコンピュータの外部記憶装置
において、書き込み制御手段が、コンピュータからカー
ド用スロットに装着された何れか2つのメモリカードへ
同一のデータを書き込む旨の要求があると、転送手段
に、コンピュータからのデータを2つのメモリカードの
うち一方のメモリカードへ転送させると共に記憶手段か
ら他方のメモリカードへデータを転送させるようにして
いる。Therefore, according to the external storage device of the computer described in claim 1, data can be transferred at a higher speed in response to a read request from the computer. Next, in the external storage device of the computer according to claim 2, in the external storage device of the computer according to claim 1, the write control means transfers from the computer to any two memory cards mounted in the card slots. When there is a request to write the same data, the transfer means is caused to transfer the data from the computer to one of the two memory cards and to transfer the data from the storage means to the other memory card. There is.
【0018】つまり、転送手段によってコンピュータか
らのデータを一方のメモリカードへ転送させると、その
データは記憶手段に一時格納されるため、請求項2に記
載のコンピュータの外部記憶装置では、コンピュータか
らカード用スロットに装着された何れか2つのメモリカ
ードへ同一のデータを書き込む旨の要求があった場合
に、まず、一方のメモリカードへコンピュータからのデ
ータを転送し、他方のメモリカードへは記憶手段からデ
ータを転送するようにしている。That is, when the transfer means transfers the data from the computer to one of the memory cards, the data is temporarily stored in the storage means. Therefore, in the external storage device of the computer according to claim 2, the computer transfers the card to the card. When there is a request to write the same data to any two memory cards installed in the memory slots, first, the data from the computer is transferred to one memory card, and the storage means is transferred to the other memory card. I am trying to transfer data from.
【0019】従って、請求項2に記載のコンピュータの
外部記憶装置によれば、コンピュータがデータを1回出
力するだけで、そのデータを2枚のメモリカードに書き
込むことができる。次に、請求項3に記載のコンピュー
タの外部記憶装置では、請求項1又は請求項2に記載の
コンピュータの外部記憶装置において、カード用スロッ
トに他の機器と接続可能なインタフェースを備えたメモ
リカードが装着された場合に、書き込み制御手段及び読
み出し制御手段が、そのメモリカードに接続された機器
とコンピュータとの間の転送手段によるデータ転送を制
御する。Therefore, according to the external storage device of the computer of the second aspect, the data can be written in the two memory cards by the computer only outputting the data once. Next, in the external storage device of the computer according to claim 3, in the external storage device of the computer according to claim 1 or 2, a memory card having an interface connectable to another device in the card slot. When is mounted, the write control means and the read control means control the data transfer by the transfer means between the computer connected to the memory card and the computer.
【0020】つまり、現在実用化されているメモリカー
ドにおいて、その規格であるJEIDA(社団法人・日
本電子工業振興協会)Ver4.1に準拠したものでは、メモ
リカード自身に、電話回線に接続するためのモデム(変
復調装置),プリンタ等の電子機器との通信インタフェ
ースであるRS−232C,ハードディスクドライブや
CD−ROMドライブ等の記憶装置とのインタフェース
であるSCSI(Small Computer System Interface )
等のインタフェース機能が付加されている。In other words, a memory card currently in practical use that is compliant with JEIDA (Japan Electronic Industry Development Association) Ver4.1, which is the standard, is for connecting the memory card itself to the telephone line. RS-232C, which is a communication interface with electronic devices such as a modem (modulator / demodulator) and printer, and SCSI (Small Computer System Interface), which is an interface with storage devices such as a hard disk drive and a CD-ROM drive.
Interface functions such as are added.
【0021】そこで、請求項3に記載のコンピュータの
外部記憶装置では、カード用スロットにJEIDA規格
Ver4.1のメモリカードが装着され、そのメモリカードに
電話回線やハードディスクドライブ等の機器が接続され
た場合に、書き込み制御手段及び読み出し制御手段が、
そのメモリカードに接続された機器とコンピュータとの
間の転送手段によるデータ転送を制御するようにしてい
る。従って、請求項3に記載のコンピュータの外部記憶
装置によれば、コンピュータと他の機器との接続を当該
装置によって簡単に実現することができる。Therefore, in the external storage device of the computer according to claim 3, the card slot is provided with the JEIDA standard.
When a Ver4.1 memory card is installed and a device such as a telephone line or a hard disk drive is connected to the memory card, the write control means and the read control means,
The data transfer by the transfer means between the device connected to the memory card and the computer is controlled. Therefore, according to the external storage device of the computer described in claim 3, the connection between the computer and the other device can be easily realized by the device.
【0022】一方、請求項4に記載のコンピュータの外
部記憶装置においては、コンピュータから記憶手段を直
接アクセスする旨の要求があると、記憶領域設定手段
が、記憶手段の所定の記憶領域をコンピュータがアクセ
ス可能な専用領域として設定する。そして、第2の転送
手段が、コンピュータから記憶手段に対するデータの書
き込み要求があると、コンピュータからのデータを設定
された専用領域へ転送し、また、コンピュータから記憶
手段に対するデータの読み出し要求があると、その専用
領域からコンピュータへデータを転送する。On the other hand, in the external storage device of the computer according to claim 4, when there is a request from the computer to directly access the storage means, the storage area setting means causes the computer to access a predetermined storage area of the storage means. Set as a possible private area. Then, the second transfer means transfers the data from the computer to the set dedicated area when the computer issues a data write request to the storage means, and also issues the data read request from the computer to the storage means. , Transfer data from its dedicated area to the computer.
【0023】従って、請求項4に記載のコンピュータの
外部記憶装置によれば、コンピュータが記憶手段を直接
アクセスすることができるようになり、より高速のデー
タ転送を実現することができる。また、請求項5に記載
のコンピュータの外部記憶装置においては、コンピュー
タから、カード用スロットに装着された何れか1つのメ
モリカードから他のメモリカードへデータをコピーする
旨の要求があると、第3の転送手段が、その1つのメモ
リカードから記憶手段へデータを転送し、そのデータ転
送の後に、記憶手段から他のメモリカードへデータを転
送する。Therefore, according to the external storage device of the computer according to the fourth aspect, the computer can directly access the storage means, and higher speed data transfer can be realized. Further, in the external storage device of the computer according to claim 5, when there is a request from the computer to copy data from any one memory card mounted in the card slot to another memory card, The transfer means 3 transfers the data from the one memory card to the storage means, and after the data transfer, transfers the data from the storage means to another memory card.
【0024】従って、請求項5に記載のコンピュータの
外部記憶装置によれば、コンピュータが1つのメモリカ
ードから他のメモリカードへデータをコピーする旨の要
求を出力すれば、その後は、コンピュータと当該装置と
が切り離された状態(オフライン状態)で、1つのメモ
リカードに記憶されているデータを他のメモリカードへ
コピーすることができる。そして、コンピュータは、2
枚のメモリカード間でデータのコピーが実行されている
間、他の処理を実行することができる。Therefore, according to the external storage device of the computer according to the fifth aspect, if the computer outputs a request to copy the data from one memory card to another memory card, then the computer and The data stored in one memory card can be copied to another memory card when the device is disconnected (offline state). And the computer is
While the data is being copied between the memory cards, another process can be executed.
【0025】[0025]
【実施例】以下、本発明が適用された実施例のコンピュ
ータの外部記憶装置(以下、単に外部記憶装置という)
について説明する。本実施例の外部記憶装置2は、その
概略構造を表す図2及びその構成を表すブロック図であ
る図3に示すように、ハードディスクドライブ(以下、
単にHDDと記す)の代表的なインタフェースであるS
CSIやIDE(Intelligent Drive Electronics 又は
Integrated Device Electronics)をコントロールし、
そのプロトコルやコマンドの解釈を行う、インタフェー
スとしてのホストインタフェース部4と、複数のメモリ
カードC1〜Cnが着脱自在に装着されるカード用スロ
ット6と、ホストインタフェース部4を介して接続され
るコンピュータHとカード用スロット6に装着されたメ
モリカードC1〜Cnとの間のデータ転送を制御するコ
ントロール回路8と、コントロール回路8によって扱わ
れるデータを一時記憶する、記憶手段としてのDRAM
(ダイナミックRAM)メモリ10と、を備えている。DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an external storage device of a computer of an embodiment to which the present invention is applied (hereinafter, simply referred to as an external storage device)
Will be described. The external storage device 2 of the present embodiment has a hard disk drive (hereinafter, referred to as a hard disk drive) as shown in FIG. 2 showing its schematic structure and FIG.
S, which is a typical interface of HDD)
CSI and IDE (Intelligent Drive Electronics or
Integrated Device Electronics)
A host interface unit 4 as an interface for interpreting the protocol and commands, a card slot 6 into which a plurality of memory cards C1 to Cn are detachably mounted, and a computer H connected via the host interface unit 4. Control circuit 8 for controlling the data transfer between the memory card C1 to the memory card C1 mounted in the card slot 6, and a DRAM as a storage means for temporarily storing the data handled by the control circuit 8.
A (dynamic RAM) memory 10 is provided.
【0026】ここで、ホストインタフェース部4は、コ
ンピュータHに設けられたHDD用の接続部に接続され
る。また、カード用スロット6は、メモリカードを個々
に装着するための複数のスロットからなり、各スロット
はJEIDA規格Ver4.0以降のメモリカードをサポート
するインタフェースを有している。そして、DRAMメ
モリ10は、1辺にコネクタ端子が設けられた細長いプ
リント基板上にDRAMの半導体チップが複数個実装さ
れた、所謂SIMM(Single Inline Memory Module )
の構造を有している。Here, the host interface section 4 is connected to the HDD connection section provided in the computer H. The card slot 6 is composed of a plurality of slots for mounting memory cards individually, and each slot has an interface for supporting memory cards of JEIDA standard Ver4.0 or later. The DRAM memory 10 is a so-called SIMM (Single Inline Memory Module) in which a plurality of DRAM semiconductor chips are mounted on an elongated printed circuit board having connector terminals on one side.
It has the structure of.
【0027】一方、コントロール回路8は、図3に示す
ように、コンピュータHからホストインタフェース部4
を介して入力される種々の要求に応じて、当該回路を構
成する各部を制御するCPU12と、CPU12からの
指令に応じてカード用スロット6を制御することによ
り、カード用スロット6を介してアクセス可能なメモリ
カードC1〜Cn及びそのアドレスを設定するカード制
御部14と、後述するようにDRAMメモリ10へ書き
込まれたデータに関する情報を記憶するSRAM(スタ
ティックRAM)メモリ16と、CPU12からの指令
に応じて、ホストインタフェース部4(コンピュータ
H),カード用スロット6(メモリカードC1〜C
n),DRAMメモリ10,SRAMメモリ16,及び
CPU12の各間でデータを転送させる、転送手段とし
てのメモリ制御部18と、を備えている。On the other hand, the control circuit 8, as shown in FIG.
Access via the card slot 6 by controlling the CPU 12 that controls each unit that configures the circuit according to various requests input via the card, and the card slot 6 according to a command from the CPU 12. A card controller 14 for setting possible memory cards C1 to Cn and their addresses, an SRAM (static RAM) memory 16 for storing information on data written in the DRAM memory 10 as described later, and a command from the CPU 12 Accordingly, the host interface unit 4 (computer H), the card slot 6 (memory cards C1 to C)
n), the DRAM memory 10, the SRAM memory 16, and the CPU 12, and a memory control unit 18 as a transfer unit for transferring data.
【0028】そして、このように構成された外部記憶装
置2においては、コントロール回路8内のCPU12が
コンピュータHからの要求に応じて後述する各処理を実
行することにより、コンピュータHによるメモリカード
C1〜Cnへのデータの書き込み及び読み出しと、読み
出しの際のDRAMメモリ10によるキャッシング機
能,コンピュータHからのデータを2枚のメモリカード
へ書き込むミラーリングを行うためのミラーリング機
能,コンピュータHがDRAMメモリ10をRAMディ
スクとして使用するためのRAMディスク機能,2枚の
メモリカード間でデータのコピーを行うためのコピー機
能,及びカード用スロット6にJEIDA規格Ver4.1に
準拠したメモリカード、つまり他の機器とのインタフェ
ース機能を有したメモリカードが装着された場合に、そ
のメモリカードに接続された機器とコンピュータHとの
データ転送を制御する機能を実現している。In the external storage device 2 thus configured, the CPU 12 in the control circuit 8 executes each process described later in response to a request from the computer H, so that the memory card C1 to C1 by the computer H is executed. The writing and reading of data to and from Cn, the caching function by the DRAM memory 10 at the time of reading, the mirroring function for performing the mirroring for writing the data from the computer H to the two memory cards, and the computer H using the DRAM memory 10 as the RAM A RAM disk function for use as a disk, a copy function for copying data between two memory cards, and a memory card compliant with JEIDA standard Ver4.1 in the card slot 6, that is, with another device. Memory with interface function If the over-de is mounted, and realize the function of controlling the data transfer between the connected device and computer H to the memory card.
【0029】そこで、まず、コンピュータHによるメモ
リカードC1〜Cnへのデータの書き込み及び読み出し
と、読み出しの際のDRAMメモリ10によるキャッシ
ング機能とを実現するためにCPU12が実行する書込
・読出処理について、図4を用いて説明する。Therefore, first, regarding the writing / reading processing executed by the CPU 12 in order to realize the writing and reading of data to and from the memory cards C1 to Cn by the computer H and the caching function of the DRAM memory 10 at the time of reading. , FIG. 4 will be described.
【0030】尚、コンピュータHは、カード用スロット
6に装着された何れかのメモリカードC1〜Cnにデー
タを書き込む場合には、データを書き込むべきメモリカ
ードが装着されたカード用スロット6上のスロット番号
(以下、単にスロットという)と、そのデータを書き込
むメモリカード上のアドレスとを、書き込み要求と共に
当該装置へ出力する。また同様に、コンピュータHは、
カード用スロット6に装着された何れかのメモリカード
C1〜Cnからデータを読み出す場合には、データを読
み出すべきメモリカードのスロットと、そのデータが格
納されたメモリカード上のアドレスとを、読み出し要求
と共に当該装置へ出力する。When writing data to any of the memory cards C1 to Cn mounted in the card slot 6, the computer H has a slot on the card slot 6 in which a memory card to which data is to be written is mounted. The number (hereinafter, simply referred to as a slot) and the address on the memory card where the data is written are output to the device together with the write request. Similarly, the computer H
When reading data from any of the memory cards C1 to Cn mounted in the card slot 6, a read request is made for the slot of the memory card from which the data should be read and the address on the memory card in which the data is stored. And output to the device.
【0031】図4に示すように、この書込・読出処理の
実行が開始されると、まずステップ(以下、単にSと記
す)110にて、コンピュータHから何れかのメモリカ
ードC1〜Cnに対してデータの書き込み要求があった
か否かを判定する。そして、書き込み要求があったと判
定した場合には、続くS120にて、書き込み要求のあ
ったメモリカードのスロットとデータを書き込むべきメ
モリカード上のアドレスとを、ホストインタフェース部
4から取得し、続くS130にて、その取得したメモリ
カードのスロット及びアドレスをカード制御部14へ出
力する。すると、カード制御部14は、そのスロット及
びアドレスをカード用スロット6に出力して、そのスロ
ットに装着されたメモリカードの上記アドレスに対応し
た記憶領域(以下、書込領域という)がカード用スロッ
ト6を介してアクセス可能となるように設定する。As shown in FIG. 4, when the writing / reading process is started, first, in step (hereinafter, simply referred to as S) 110, the computer H loads one of the memory cards C1 to Cn. On the other hand, it is determined whether or not there is a data write request. If it is determined that a write request has been issued, then in step S120, the slot of the memory card for which the write request has been made and the address on the memory card in which the data should be written are acquired from the host interface unit 4, and then step S130 Then, the obtained slot and address of the memory card are output to the card controller 14. Then, the card control unit 14 outputs the slot and the address to the card slot 6, and a storage area (hereinafter, referred to as a writing area) corresponding to the address of the memory card mounted in the slot is a card slot. 6 is set so that it can be accessed.
【0032】そして、続くS140にて、コンピュータ
Hからホストインタフェース部4を介して入力されるデ
ータを、書き込み要求のあったメモリカードの上記書込
領域とDRAMメモリ10とへ夫々転送する。尚、この
データ転送は、メモリ制御部18に、コンピュータHか
らのデータをカード用スロット6へ転送させ、これと同
時に、そのデータをDRAMメモリ10に書き込ませ
る、書き込み制御手段及び格納手段としての処理により
実行される。そして、この処理により、コンピュータH
からのデータは、書き込み要求のあったメモリカード
(カード制御部14によってアクセス可能に設定された
メモリカードの書込領域)とDRAMメモリ10とに書
き込まれることとなる。Then, in subsequent S140, the data input from the computer H via the host interface unit 4 is transferred to the write area of the memory card for which the write request is made and the DRAM memory 10, respectively. In this data transfer, the memory controller 18 causes the data from the computer H to be transferred to the card slot 6, and at the same time, the data is written to the DRAM memory 10 as a write control means and a storage means. Executed by. Then, by this processing, the computer H
The data from is written in the memory card (write area of the memory card which is set to be accessible by the card control unit 14) for which a write request has been made and the DRAM memory 10.
【0033】そして、このS140にてデータの転送が
終了すると、続くS150にて、DRAMメモリ10に
書き込まれたデータに関する情報を、SRAMメモリ1
6に記録し、その後S110へ戻る。尚、SRAMメモ
リ16に記録される情報とは、DRAMメモリ10に書
き込まれたデータが、何れのメモリカードの何処のアド
レスに書き込まれたデータと同じであるかを表すもので
あり、SRAMメモリ16内に用意されたフラグに、S
120で取得したメモリカードのスロット及びアドレス
を書き込むことにより記録される。When the data transfer is completed in S140, the information about the data written in the DRAM memory 10 is transferred to the SRAM memory 1 in the subsequent S150.
6, and then returns to S110. The information recorded in the SRAM memory 16 represents that the data written in the DRAM memory 10 is the same as the data written in which address of which memory card. In the flag prepared inside, S
It is recorded by writing the slot and address of the memory card acquired in 120.
【0034】一方、S110にて、コンピュータHから
書き込み要求が無いと判定した場合には、S160へ移
行して、今度はコンピュータHから何れかのメモリカー
ドC1〜Cnに対してデータの読み出し要求が有ったか
否かを判定する。そして、読み出し要求が無いと判定し
た場合には、S110へ戻り、読み出し要求があったと
判定した場合には、S170へ進む。On the other hand, when it is determined in S110 that there is no write request from the computer H, the process proceeds to S160, and this time, the computer H issues a data read request to one of the memory cards C1 to Cn. It is determined whether or not there is. If it is determined that there is no read request, the process returns to S110, and if it is determined that there is a read request, the process proceeds to S170.
【0035】S170では、S120の場合と同様に、
読み出し要求のあったメモリカードのスロットと読み出
すべきデータが格納されたメモリカード上のアドレスと
を、ホストインタフェース部4から取得し、続くS18
0にて、S170で取得したメモリカードのスロット及
びアドレスに対応したデータがDRAMメモリ10に格
納されているか否かを判定する。尚、この判定は、S1
70で取得したメモリカードのスロット及びアドレス
と、SRAMメモリ16内のフラグに書き込まれたメモ
リカードのスロット及びアドレスとを比較することによ
り行われ、両者が一致していれば、今回読み出し要求さ
れたメモリカード内のデータがDRAM10メモリ内に
あるとして肯定判定され、両者が一致していなければ否
定判定される。In S170, as in S120,
The slot of the memory card for which the read request has been made and the address on the memory card in which the data to be read are stored are acquired from the host interface unit 4, and then S18
At 0, it is determined whether the data corresponding to the slot and address of the memory card acquired in S170 is stored in the DRAM memory 10. In addition, this determination is S1
This is performed by comparing the slot and address of the memory card acquired in 70 with the slot and address of the memory card written in the flag in the SRAM memory 16, and if both match, the read request is made this time. An affirmative decision is made that the data in the memory card is in the DRAM 10 memory, and a negative decision is made if the two do not match.
【0036】そして、S180にて否定判定した場合、
即ちDRAMメモリ10にS170で取得したメモリカ
ードのスロット及びアドレスに対応したデータが格納さ
れていないと判定した場合には、続くS190にて、カ
ード制御部14へS170で取得したメモリカードのス
ロット及びアドレスを出力する。すると、カード制御部
14は、S130の場合と同様に、そのスロット及びア
ドレスをカード用スロット6に出力して、そのスロット
に装着されたメモリカードの上記アドレスに対応した記
憶領域(以下、読出領域という)がカード用スロット6
を介してアクセス可能となるように設定する。When a negative determination is made in S180,
That is, if it is determined that the data corresponding to the slot and address of the memory card acquired in S170 is not stored in the DRAM memory 10, the card control unit 14 continues to S190 in which the slot of the memory card acquired in S170 and Output address. Then, as in the case of S130, the card control unit 14 outputs the slot and address to the card slot 6, and the storage area (hereinafter, read area) corresponding to the address of the memory card mounted in the slot. Is a card slot 6
To be accessible via.
【0037】そして、続くS200にて、読み出し要求
のあったメモリカードの上記読出領域に格納されている
データを、コンピュータHとDRAMメモリ10とへ夫
々転送する。尚、このデータ転送は、メモリ制御部18
に、読み出し要求のあったメモリカードの上記読出領域
に格納されているデータを、カード用スロット6及びホ
ストインタフェース部4を介してコンピュータHへ転送
させ、これと同時に、そのデータをDRAMメモリ10
に書き込ませる、読み出し制御手段及び格納手段として
の処理により実行される。そして、この処理により、D
RAMメモリ10には、読み出し要求のあったメモリカ
ード(カード制御部14によってアクセス可能に設定さ
れたメモリカードの読出領域)と同じデータが書き込ま
れることとなる。Then, in subsequent S200, the data stored in the read area of the memory card for which the read request is issued is transferred to the computer H and the DRAM memory 10, respectively. Note that this data transfer is performed by the memory control unit 18
The data stored in the read area of the memory card for which a read request is made is transferred to the computer H via the card slot 6 and the host interface unit 4, and at the same time, the data is transferred to the DRAM memory 10.
It is executed by the processing as the read control means and the storage means that is written in the. Then, by this processing, D
The same data as that of the memory card (the reading area of the memory card which is set to be accessible by the card control unit 14) for which the reading request is made is written in the RAM memory 10.
【0038】そして、このS200にてデータの転送が
終了すると、続くS210にて、S150の場合と全く
同様に、DRAMメモリ10に書き込まれたデータに関
する情報を、SRAMメモリ16に記録し、その後S1
10へ戻る。一方、S180にて、DRAMメモリ10
にS170で取得したメモリカードのスロット及びアド
レスに対応したデータが格納されていると判定した場合
には、S220へ移行する。そして、このS220に
て、メモリ制御部18へ指令を行い、DRAMメモリ1
0に格納されているデータをホストインタフェース部4
を介してコンピュータHへ転送させる、読み出し制御手
段としての処理を実行して、S110へ戻る。When the data transfer is completed in S200, information about the data written in the DRAM memory 10 is recorded in the SRAM memory 16 in S210, which is the same as in S150, and then in S1.
Return to 10. On the other hand, in S180, the DRAM memory 10
When it is determined that the data corresponding to the slot and address of the memory card acquired in S170 is stored in S170, the process proceeds to S220. Then, in S220, a command is issued to the memory control unit 18, and the DRAM memory 1
The data stored in 0 is transferred to the host interface unit 4
The process as the read control means for transferring the data to the computer H via the is executed, and the process returns to S110.
【0039】つまり、書込・読出処理においては、コン
ピュータHからの書き込み要求及び読み出し要求に応じ
てカード制御部14及びメモリ制御部18を制御するこ
とにより、カード用スロット6に装着された何れかのメ
モリカードC1〜CnとコンピュータHとの間のデータ
転送を実行すると共に、転送したデータを一時DRAM
メモリ10に格納するようにしている(S140,S2
20)。そして、前回コンピュータHから何れかのメモ
リカードC1〜Cnへ書き込まれたデータ或いは前回何
れかのメモリカードC1〜CnからコンピュータHへ読
み出されたデータが、今回読み出し要求された場合には
(S180:YES)、メモリカードC1〜Cnからで
はなく、DRAMメモリ10からコンピュータHへデー
タを転送するようにしている(S220)。即ち、コン
ピュータHとメモリカードC1〜Cnとの間でデータの
書き込み及び読み出しを行う際に、DRAMメモリ10
を所謂キャッシュメモリとして使用しているのである。That is, in the writing / reading process, by controlling the card control unit 14 and the memory control unit 18 in response to the writing request and the reading request from the computer H, any one of the cards inserted into the card slot 6 is controlled. The data transfer between the memory cards C1 to Cn and the computer H, and the transferred data is temporarily stored in the DRAM.
The data is stored in the memory 10 (S140, S2
20). Then, when the data previously written from the computer H to any of the memory cards C1 to Cn or the data previously read from any of the memory cards C1 to Cn to the computer H is requested to be read this time (S180). : YES), data is transferred from the DRAM memory 10 to the computer H, not from the memory cards C1 to Cn (S220). That is, when writing and reading data between the computer H and the memory cards C1 to Cn, the DRAM memory 10
Is used as a so-called cache memory.
【0040】従って、本実施例の外部記憶装置2によれ
ば、コンピュータHが複数のメモリカードC1〜Cnを
記録媒体として使用することができるため、メモリカー
ドC1〜Cnの1枚当りの記憶容量が小さくても、大量
のデータを保存することができる。そして、メモリカー
ドC1〜Cnは機構部品を必要としないため、耐振動性
や耐衝撃性に優れ、また、コンピュータHからのアクセ
スに対して高速にデータを転送することができる。Therefore, according to the external storage device 2 of the present embodiment, the computer H can use the plurality of memory cards C1 to Cn as recording media, so that the storage capacity per memory card C1 to Cn is one. Even if it is small, it can store a large amount of data. Since the memory cards C1 to Cn do not require any mechanical parts, they are excellent in vibration resistance and shock resistance, and can transfer data at high speed when accessed by the computer H.
【0041】しかも、本実施例の外部記憶装置2では、
DRAMメモリ10をキャッシュメモリとして使用し、
コンピュータHから、前回書き込まれたデータ或いは読
み出されたデータと同じデータの読み出し要求があった
場合には、DRAMメモリ10からコンピュータHへ直
接データを転送するようにしている。よって、コンピュ
ータHとの間で、より高速のデータ転送を実現すること
ができる。Moreover, in the external storage device 2 of this embodiment,
Using the DRAM memory 10 as a cache memory,
When the computer H issues a read request for the same data as the previously written data or the previously read data, the data is directly transferred from the DRAM memory 10 to the computer H. Therefore, it is possible to realize higher-speed data transfer with the computer H.
【0042】次に、コンピュータHからのデータを2枚
のメモリカードへ書き込むミラーリング機能を実現する
ためにCPU12が実行するミラーリング処理につい
て、図5を用いて説明する。このミラーリング処理は、
コンピュータHが当該装置に対して、ミラーリングを行
う2つのメモリカード(即ちミラーリングを行うメモリ
カードのスロット)を予め指定した場合に実行されるも
のであり、まずS310にて、コンピュータHから、指
定された2つのメモリカードのうち何れか一方のメモリ
カードに対してデータの書き込み要求があったか否かを
判定する。Next, the mirroring process executed by the CPU 12 to realize the mirroring function of writing the data from the computer H into the two memory cards will be described with reference to FIG. This mirroring process is
This is executed when the computer H previously designates two memory cards for performing mirroring (that is, the slots of the memory card for performing mirroring) to the device. First, at S310, the memory is designated by the computer H. It is determined whether or not there is a data write request to either one of the two memory cards.
【0043】そして、書き込み要求があるまでこのS3
10で待機し、書き込み要求があったと判定した場合に
は、続くS320にて、書き込み要求のあったメモリカ
ードのスロットとデータを書き込むべきメモリカード上
のアドレスとを、ホストインタフェース部4から取得す
る。そして、続くS330にて、その取得したメモリカ
ードのスロット及びアドレスをカード制御部14へ出力
して、書込・読出処理におけるS130の場合と全く同
様に、カード制御部14に、そのスロットに装着された
メモリカードの上記アドレスに対応した記憶領域(書込
領域)が、カード用スロット6を介してアクセス可能と
なるように設定させる。Then, until there is a write request, this S3
When it is determined that there is a write request by waiting at 10, the slot of the memory card for which the write request is made and the address on the memory card where the data should be written are acquired from the host interface unit 4 at S320. . Then, in subsequent S330, the acquired slot and address of the memory card are output to the card control unit 14, and the card control unit 14 is loaded into the slot in exactly the same manner as in S130 in the writing / reading process. The storage area (writing area) corresponding to the above address of the memory card is set so as to be accessible through the card slot 6.
【0044】そして、続くS340にて、コンピュータ
Hからホストインタフェース部4を介して入力されるデ
ータを、書き込み要求のあったメモリカードの上記書込
領域とDRAMメモリ10とへ夫々転送する。尚、この
データ転送は、書込・読出処理におけるS140の場合
と全く同様に、メモリ制御部18に、コンピュータHか
らのデータをカード用スロット6へ転送させ、これと同
時に、そのデータをDRAMメモリ10に書き込ませ
る、書き込み制御手段及び格納手段としての処理により
実行される。そして、この処理により、コンピュータH
からのデータは、ミラーリングを行うと指定された一方
のメモリカードとDRAMメモリ10とに書き込まれる
こととなる。Then, in subsequent S340, the data input from the computer H via the host interface unit 4 is transferred to the above-mentioned writing area of the memory card having the writing request and the DRAM memory 10, respectively. Note that this data transfer causes the memory control unit 18 to transfer the data from the computer H to the card slot 6 in the same manner as in the case of S140 in the writing / reading process, and at the same time, the data is transferred to the DRAM memory. This is executed by the processing as the write control means and the storage means that causes the data to be written in the memory 10. Then, by this processing, the computer H
The data from (1) will be written to one of the memory cards designated for mirroring and the DRAM memory 10.
【0045】そして、続くS350にて、書込・読出処
理におけるS150と全く同様に、DRAMメモリ10
に書き込まれたデータに関する情報を、SRAMメモリ
16に記録して、S360へ進む。S360では、ミラ
ーリングを行うと指定された他方のメモリカードのスロ
ットと、S320で取得したアドレスと同じアドレスと
を、カード制御部14へ出力する。すると、カード制御
部14は、この他方のメモリカードにおいてS340で
データを書き込んだメモリカードと同じアドレスの記憶
領域(書込領域)がアクセス可能となるように設定す
る。Then, in subsequent S350, just like S150 in the writing / reading process, the DRAM memory 10
The information about the data written in is stored in the SRAM memory 16, and the process proceeds to S360. In S360, the slot of the other memory card designated to be mirrored and the same address as the address acquired in S320 are output to the card control unit 14. Then, the card control unit 14 sets the other memory card so that the storage area (writing area) of the same address as the memory card to which the data is written in S340 can be accessed.
【0046】そして、続くS370にて、メモリ制御部
18へ指令を行い、DRAMメモリ10に格納されてい
るデータを、カード用スロット6を介して他方のメモリ
カードの上記書込領域へ転送させる、書き込み制御手段
としての処理を実行し、その後S310へ戻る。Then, in the subsequent S370, the memory controller 18 is instructed to transfer the data stored in the DRAM memory 10 to the writing area of the other memory card through the card slot 6. The process as the write control unit is executed, and then the process returns to S310.
【0047】すると、ミラーリングを行うと指定された
2つのメモリカードには、同じアドレスの書込領域に全
く同じデータが書き込まれることとなる。つまり、この
ミラーリング処理の実行により、コンピュータHは、デ
ータを1回出力するだけで、そのデータを2枚のメモリ
カードに書き込むことができる。Then, exactly the same data is written in the write areas of the same address in the two memory cards designated to perform the mirroring. In other words, by executing this mirroring process, the computer H can write the data into the two memory cards by outputting the data only once.
【0048】尚、コンピュータHから、ミラーリングを
行うと指定されたメモリカード以外のメモリカードに対
して書き込み要求があった場合、或いは、ミラーリング
を行うと指定されたメモリカードに対して読み出し要求
があった場合には、特別な処理は実行せず、図4に示し
た書込・読出処理が実されることとなる。When the computer H issues a write request to a memory card other than the memory card designated to perform the mirroring, or a read request to the memory card designated to perform the mirroring. In that case, no special processing is executed, and the writing / reading processing shown in FIG. 4 is executed.
【0049】次に、コンピュータHがDRAMメモリ1
0をRAMディスクとして使用するRAMディスク機能
を実現するためにCPU12が実行する処理について、
図6を用いて説明する。尚、図6(A),(B)に夫々
示すように、この処理は、コンピュータHが当該装置に
対して、DRAMメモリ10をRAMディスクとして使
用する旨の要求を行った場合に実行されるRAMディス
ク領域設定処理と、コンピュータHからDRAMメモリ
10のRAMディスクとしての使用を終了する要求があ
った場合に実行されるRAMディスク領域解放処理と、
からなる。Next, the computer H sets the DRAM memory 1
Regarding the processing executed by the CPU 12 to realize the RAM disk function of using 0 as a RAM disk,
This will be described with reference to FIG. As shown in FIGS. 6A and 6B, this process is executed when the computer H requests the device to use the DRAM memory 10 as a RAM disk. A RAM disk area setting process and a RAM disk area releasing process which is executed when there is a request from the computer H to finish using the DRAM memory 10 as a RAM disk;
Consists of.
【0050】そこで、まず、RAMディスク領域設定処
理について説明する。このRAMディスク領域設定処理
では、まずS410にて、コンピュータHからDRAM
メモリ10をRAMディスクとして使用する旨の要求が
あったか否かを判定し、要求があった場合に以下の処理
を実行する。Therefore, first, the RAM disk area setting process will be described. In this RAM disk area setting process, first, in S410, the computer H
It is determined whether or not there is a request to use the memory 10 as a RAM disk, and if there is a request, the following processing is executed.
【0051】即ち、続くS420では、DRAMメモリ
10の一部記憶領域を、コンピュータHが直接アクセス
可能な専用領域(以下、RAMディスク領域という)と
して設定する、記憶領域設定手段としての処理を実行す
る。尚、この処理は、メモリ制御部18に、DRAMメ
モリ10の所定領域をRAMディスク領域として割り当
てさせることにより行われる。That is, in subsequent S420, a process as a storage area setting means for setting a partial storage area of the DRAM memory 10 as a dedicated area (hereinafter referred to as a RAM disk area) directly accessible by the computer H is executed. Note that this processing is performed by causing the memory control unit 18 to allocate a predetermined area of the DRAM memory 10 as a RAM disk area.
【0052】そして、続くS430にて、DRAMメモ
リ10の何れの記憶領域がRAMディスク領域として設
定されたかを、SRAMメモリ16に記録し、続くS4
40にて、コンピュータHからRAMディスク(DRA
Mメモリ10)に対するデータ転送要求があるまで待機
する。Then, in subsequent S430, which storage area of the DRAM memory 10 is set as the RAM disk area is recorded in the SRAM memory 16, and the subsequent S4 is executed.
At 40, the RAM disk (DRA
It waits until there is a data transfer request to the M memory 10).
【0053】そして、データ転送要求があると、S45
0に進んで、その要求が書き込み要求であるか否かを判
定し、書き込み要求である場合には、続くS460に
て、コンピュータHからホストインタフェース部4を介
して入力されたデータを、メモリ制御部18を介してD
RAMメモリ10のRAMディスク領域に転送する、第
2の転送手段としての処理を実行する。すると、コンピ
ュータHからのデータはRAMディスク領域に書き込ま
れることとなり、この処理の後S440へ戻る。When there is a data transfer request, S45
In step S460, it is determined whether or not the request is a write request. If the request is a write request, the data input from the computer H via the host interface unit 4 is subjected to memory control in S460. D through section 18
A process as a second transfer means for transferring to the RAM disk area of the RAM memory 10 is executed. Then, the data from the computer H is written in the RAM disk area, and after this process, the process returns to S440.
【0054】一方、S450にて、コンピュータHから
のデータ転送要求が書き込み要求でない、即ち読み出し
要求であると判定した場合には、S470に移行して、
DRAMメモリ10のRAMディスク領域からメモリ制
御部18及びホストインタフェース部4を介してコンピ
ュータHへデータを転送する、第2の転送手段としての
処理を実行し、その後S440へ戻る。On the other hand, if it is determined in S450 that the data transfer request from the computer H is not a write request, that is, a read request, the process proceeds to S470,
A process as a second transfer unit that transfers data from the RAM disk area of the DRAM memory 10 to the computer H via the memory control unit 18 and the host interface unit 4 is executed, and then the process returns to S440.
【0055】つまり、このRAMディスク領域設定処理
では、コンピュータHからDRAMメモリ10をRAM
ディスクとして使用する旨の要求があると(S410:
YES)、DRAMメモリ10の一部領域をRAMディ
スク領域として設定し(S420)、それ以後、コンピ
ュータHからRAMディスクに対するデータの書き込み
要求があると、コンピュータHからのデータをDRAM
メモリ10のRAMディスク領域へ書き込み(S46
0)、コンピュータHからRAMディスクに対するデー
タの読み出し要求があると、DRAMメモリ10のRA
Mディスク領域からデータを読み出して、そのデータを
コンピュータHへ転送するようにしている(S47
0)。That is, in this RAM disk area setting process, the DRAM memory 10 is transferred from the computer H to the RAM.
If there is a request to use it as a disc (S410:
YES), a partial area of the DRAM memory 10 is set as a RAM disk area (S420), and thereafter, when the computer H makes a data write request to the RAM disk, the data from the computer H will be DRAM.
Write to the RAM disk area of the memory 10 (S46
0), when there is a request from the computer H to read data from the RAM disk, RA of the DRAM memory 10
Data is read from the M disk area and transferred to the computer H (S47).
0).
【0056】従って、本実施例の外部記憶装置2によれ
ば、コンピュータHがDRAMメモリ10をRAMディ
スクとして直接アクセスすることができるようになり、
より高速のデータ転送を実現することができる。尚、R
AMディスク領域設定処理のS430にて、SRAMメ
モリ16に、DRAMメモリ10の何れの記憶領域がR
AMディスク領域として設定されたかを記録するように
しているのは、上述した書込・読出処理(S140,S
200)及びミラーリング処理(S340)に対して、
DRAMメモリ10のRAMディスク領域として設定さ
れた部分にはデータを書き込むことができないことを示
すためであり、これによって、RAMディスク領域のキ
ャッシュメモリとしての使用を禁止しているのである。Therefore, according to the external storage device 2 of this embodiment, the computer H can directly access the DRAM memory 10 as a RAM disk.
Higher speed data transfer can be realized. Incidentally, R
In S430 of the AM disk area setting process, which storage area of the DRAM memory 10 is R is stored in the SRAM memory 16.
What is set as the AM disk area is recorded in the above-mentioned write / read processing (S140, S).
200) and the mirroring process (S340),
This is to show that data cannot be written in the portion of the DRAM memory 10 set as the RAM disk area, which prohibits the use of the RAM disk area as a cache memory.
【0057】また、このように設定されたRAMディス
ク領域は、コンピュータHからDRAMメモリ10のR
AMディスクとしての使用を終了する旨の要求(以下、
解放要求という)があると、通常の記憶領域に戻され
る。そこで次に、RAMディスク領域を通常の記憶領域
に戻すためのRAMディスク領域解放処理について説明
する。Further, the RAM disk area set in this way is stored in the R area of the DRAM memory 10 from the computer H.
Request to end use as an AM disk (hereinafter,
When there is a release request), it is returned to the normal storage area. Therefore, next, the RAM disk area releasing process for returning the RAM disk area to the normal storage area will be described.
【0058】このRAMディスク領域解放処理は、RA
Mディスク領域設定処理と並行して実行されるのである
が、図6(B)に示すように、S510にてコンピュー
タHから解放要求があったと判定された場合に、以下の
実質的な処理が実行される。即ち、コンピュータHから
解放要求があった場合には、続くS520にて、DRA
Mメモリ10内のRAMディスク領域を通常の記憶領域
に戻し、続くS530にて、RAMディスク領域設定処
理のS430でSRAMメモリ16に記録された内容を
書き換える。つまり、SRAMメモリ16に、RAMデ
ィスク領域として設定されていたDRAMメモリ10の
領域がキャッシュメモリとして使用することができる旨
を記録し、その後S510へ戻る。This RAM disk area release processing is performed by RA
Although it is executed in parallel with the M disk area setting process, as shown in FIG. 6B, when it is determined in S510 that the computer H has issued a release request, the following substantial process is performed. To be executed. That is, when there is a release request from the computer H, in the subsequent S520, the DRA
The RAM disk area in the M memory 10 is returned to the normal storage area, and in the subsequent S530, the contents recorded in the SRAM memory 16 in S430 of the RAM disk area setting process are rewritten. That is, the fact that the area of the DRAM memory 10 set as the RAM disk area can be used as the cache memory is recorded in the SRAM memory 16, and then the process returns to S510.
【0059】そして、このRAMディスク領域解放処理
が一通り実行されると、コンピュータHから再びDRA
Mメモリ10をRAMディスクとして使用する旨の要求
があって、RAMディスク領域設定処理のS410で肯
定判定されるまで、DRAMメモリ10のRAMディス
クとして使用が中止される。When the RAM disk area releasing process is executed once, the computer H restarts the DRA operation.
There is a request to use the M memory 10 as a RAM disk, and the use of the DRAM memory 10 as a RAM disk is stopped until a positive determination is made in S410 of the RAM disk area setting process.
【0060】次に、2枚のメモリカード間でデータのコ
ピーを行うコピー機能を実現するためにCPU12が実
行するコピー処理について、図7を用いて説明する。
尚、コンピュータHは、2枚のメモリカード間でデータ
のコピーを行う場合には、コピー元であるソース側メモ
リカードのスロットと、コピー先であるディストネーシ
ョン側メモリカードのスロットとを、コピー命令と共に
当該装置へ出力する。Next, a copy process executed by the CPU 12 to realize a copy function for copying data between two memory cards will be described with reference to FIG.
When copying data between two memory cards, the computer H issues a copy command to the slot of the source memory card that is the copy source and the slot of the destination memory card that is the copy destination. And output to the device.
【0061】図7に示すように、このコピー処理では、
まずS610にて、コンピュータHからコピー命令が出
力されたか否かを判定する。そして、コピー命令があっ
たと判定すると、コピー命令と共にコンピュータHから
出力されたソース側メモリカード及びディストネーショ
ン側メモリカードの各スロットを取得して、S620へ
進む。As shown in FIG. 7, in this copy process,
First, in S610, it is determined whether or not a copy command is output from the computer H. Then, when it is determined that the copy command is received, the respective slots of the source side memory card and the destination side memory card output from the computer H together with the copy command are acquired, and the process proceeds to S620.
【0062】S620では、ソース側メモリカードのス
ロットをカード制御部14へ出力して、カード制御部1
4に、ソース側メモリカードがカード用スロット6を介
してアクセス可能となるように設定させる。そして、続
くS630にて、ソース側メモリカードに格納された1
ブロック(例えば512バイト)分のデータを、カード
用スロット6及びメモリ制御部18を介してDRAMメ
モリ10へ転送する、第3の転送手段としての処理を実
行して、S640に進む。尚、S630では、その処理
が実行される毎に、ソース側メモリカードから順次1ブ
ロック分のデータを読み出して、DRAMメモリ10へ
転送するようになっている。In S620, the slot of the memory card on the source side is output to the card control unit 14, and the card control unit 1
4 is set so that the source side memory card can be accessed through the card slot 6. Then, in subsequent S630, 1 stored in the memory card on the source side is stored.
A block (for example, 512 bytes) of data is transferred to the DRAM memory 10 via the card slot 6 and the memory control unit 18, and a process as a third transfer unit is executed, and the process proceeds to S640. Note that in S630, each time the processing is executed, one block of data is sequentially read from the source side memory card and transferred to the DRAM memory 10.
【0063】S640では、今度は、ディストネーショ
ン側メモリカードのスロットをカード制御部14へ出力
して、カード制御部14に、ディストネーション側メモ
リカードがカード用スロット6を介してアクセス可能と
なるように設定させる。そして、続くS650にて、S
630の処理でDRAMメモリ10に格納されたデータ
を、メモリ制御部18及びカード用スロット6を介して
ディストネーション側メモリカードへ転送する、第3の
転送手段としての処理を実行し、続くS660にて、ソ
ース側メモリカードに格納されている全データのコピー
が終了したか否かを判定する。In S640, this time, the slot of the destination side memory card is output to the card control section 14 so that the destination side memory card can be accessed through the card slot 6. To set. Then, in subsequent S650, S
The data stored in the DRAM memory 10 in the process of 630 is transferred to the destination side memory card through the memory control unit 18 and the card slot 6, and the process as the third transfer means is executed. Then, it is determined whether or not the copying of all the data stored in the source side memory card is completed.
【0064】そして、全データのコピーが終了していな
いと判定した場合には、S620に戻ってS620〜S
660の処理を繰り返し、全データのコピーが終了した
と判定した場合には、S610へ戻る。つまり、このコ
ピー処理では、ソース側メモリカードから1ブロック分
のデータを読み出してDRAMメモリ10に一旦書き込
み(S630)、そのデータをディストネーション側メ
モリカードに書き込む(S650)、といった処理を繰
り返すことにより、ソース側メモリカードの全データ
を、ディストネーション側カードへコピーするようにし
ている。If it is determined that the copying of all the data has not been completed, the process returns to S620 and S620 to S620.
When it is determined that the copying of all the data is completed by repeating the processing of 660, the process returns to S610. In other words, in this copy processing, by reading the data for one block from the source side memory card, writing it once in the DRAM memory 10 (S630), and writing the data in the destination side memory card (S650), the processing is repeated. , All data in the source memory card is copied to the destination card.
【0065】従って、本実施例の外部記憶装置2によれ
ば、コンピュータHがコピー命令を出力すれば、その後
は、コンピュータHと当該装置とが切り離された状態
(オフライン状態)で、ソース側メモリカードのデータ
をディストネーション側メモリカードへコピーすること
ができるため、コンピュータHは、2枚のメモリカード
間でデータのコピーが実行されている間、他の処理を実
行することができる。Therefore, according to the external storage device 2 of the present embodiment, when the computer H outputs the copy command, thereafter, the computer H and the device are disconnected from each other (offline state), and the source side memory is obtained. Since the data in the card can be copied to the destination side memory card, the computer H can execute other processing while the data is being copied between the two memory cards.
【0066】また、CPU12は、このコピー処理のS
620〜S660の実行中に、コンピュータHから他の
要求(何れかのメモリカードに対するアクセス等)があ
ると、コピー処理の実行を一時中止して、その要求に応
じた処理を優先的に実行し、その処理の終了後、コピー
処理を再開するようになっている。よって、コンピュー
タHは、2枚のメモリカード間でのデータコピーに優先
して、他の処理を進めることができる。Further, the CPU 12 executes S of this copy processing.
If there is another request (access to any memory card, etc.) from the computer H during the execution of 620 to S660, the execution of the copy process is temporarily stopped, and the process corresponding to the request is preferentially executed. After the end of the processing, the copy processing is restarted. Therefore, the computer H can proceed with other processing by prioritizing the data copy between the two memory cards.
【0067】ここで、図4〜図7を用いて説明した上記
各処理は、カード用スロット6に、データの記憶だけを
目的としたメモリカードが装着された場合のものであっ
た。そこで以下、カード用スロット6にJEIDA規格
Ver4.1に準拠したメモリカード、つまり他の機器とのイ
ンタフェース機能を有したメモリカードが装着された場
合に、そのメモリカードに接続された機器とコンピュー
タHとのデータ転送を制御するためにCPU12が実行
する処理について説明する。Here, each of the processes described above with reference to FIGS. 4 to 7 was performed when the memory card intended only for storing data was mounted in the card slot 6. Therefore, in the following, the JEIDA standard is used for the card slot 6.
When a memory card conforming to Ver4.1, that is, a memory card having an interface function with another device is attached, the CPU 12 controls the data transfer between the device connected to the memory card and the computer H. The processing executed by will be described.
【0068】まず、図3にて符号C3を付したメモリカ
ードのように電話機線に接続可能なメモリカード(以
下、モデムカードという)が、カード用スロット6に装
着された場合には、図8に示す、書き込み制御手段及び
読み出し制御手段としてのバックグラウンド送受信処理
が実行される。First, when a memory card connectable to a telephone line (hereinafter, referred to as a modem card) like the memory card denoted by reference numeral C3 in FIG. 3 is mounted in the card slot 6, FIG. The background transmission / reception processing as the write control means and the read control means shown in is executed.
【0069】このバックグラウンド送受信処理は、コン
ピュータHと電話回線とを、当該装置に装着されたモデ
ムカードを介して効率良く接続させるために実行される
ものであり、まず、S710にて、カード用スロット6
に装着されているインタフェース機能の無い他のメモリ
カード(例えば、カード用スロット6から抜き差しする
とデータが消失してしまう安価なRAMカード)のう
ち、何れか1枚以上を、コンピュータHが電話回線を介
して送受信するデータを一時格納するための送受信用の
メモリカードとして割り当てる。尚、以下、この割り当
てられたメモリカードを割当カードという。This background transmission / reception processing is executed in order to efficiently connect the computer H and the telephone line via the modem card mounted in the apparatus. First, in S710, for the card. Slot 6
The computer H connects the telephone line to any one or more of the other memory cards (for example, an inexpensive RAM card that loses data when the card is inserted into or removed from the card slot 6) that does not have an interface function. It is assigned as a transmission / reception memory card for temporarily storing data to be transmitted / received via. Hereinafter, this allocated memory card will be referred to as an allocation card.
【0070】そして、続くS720にて、コンピュータ
Hから電話回線にデータを送信する旨を示す送信要求が
あったか否かを判定し、送信要求があった場合には、続
くS730にて、コンピュータHから送信要求と共に出
力された送信データを割当カードに書き込む。尚、割当
カードへの送信データの書き込みは、上述した書込・読
出処理のS120〜S140と同様に、カード制御部1
4に、割当カードがカード用スロット6を介してアクセ
ス可能となるように設定させ、メモリ制御部18に、コ
ンピュータHからの送信データをカード用スロット6へ
転送させる、といった手順で実行される。Then, in the following S720, it is determined whether or not there is a transmission request from the computer H indicating that the data is to be transmitted to the telephone line. If there is a transmission request, then in the following S730, the computer H transmits the data. The transmission data output together with the transmission request is written in the allocation card. Note that the transmission data is written to the allocation card in the same manner as in S120 to S140 of the writing / reading process described above, the card control unit 1
4 is set so that the assigned card can be accessed through the card slot 6, and the memory control unit 18 transfers the transmission data from the computer H to the card slot 6.
【0071】そして、続くS740にて、コンピュータ
Hから、電話回線へ送信するデータのファイル名(送信
ファイル名)及び送信先の電話番号が出力されたか否か
を、それらをホストインタフェース部4を介して受信す
ることにより判定し、送信ファイル名及び電話番号を受
信すると、S750へ進む。Then, in step S740, whether or not the file name (transmission file name) of the data to be transmitted to the telephone line and the telephone number of the transmission destination are output from the computer H is checked via the host interface unit 4. When the transmission file name and the telephone number are received, the process proceeds to S750.
【0072】S750では、メモリ制御部18を、割当
カードとモデムカードとの間で直接データ転送できるよ
うに設定し、続くS760にて、モデムカードにアクセ
スして電話をかける。そして、続くS770にて、送信
先に電話が通じてデータの転送が可能となったか否かを
判定し、データ転送が可能となるまで、S760,77
0の処理を繰り返す。In S750, the memory control unit 18 is set so that data can be directly transferred between the allocation card and the modem card, and in the subsequent S760, the modem card is accessed to make a call. Then, in the following S770, it is determined whether or not the data can be transferred by calling the destination, and S760, 77 until the data can be transferred.
The process of 0 is repeated.
【0073】そして、S770にて、データ転送が可能
になったと判定すると、S780に進んで、メモリ制御
部18に、割当カードに格納されたデータの中から送信
ファイル名に対応したデータをモデムカードへ転送させ
る。すると、そのデータは、モデムカードを介して電話
回線に送出され、送信先に到達することとなる。When it is determined in S770 that the data transfer is possible, the process proceeds to S780, in which the data corresponding to the transmission file name from the data stored in the allocation card is stored in the memory controller 18 as the modem card. Transfer to. Then, the data is sent to the telephone line via the modem card and reaches the destination.
【0074】そして、続くS790にて、データ転送が
終了したか否かを判定し、データ転送が終了するまで、
S780,790の処理を繰り返す。そして、S790
にて、データ転送が終了したと判定すると、S800に
進んで、モデムカードにアクセスして電話回線を閉じ、
続くS810にて、コンピュータHへ通信が終了した旨
を報知した後、S720へ戻る。Then, in the following S790, it is determined whether or not the data transfer is completed, and until the data transfer is completed,
The processing of S780 and 790 is repeated. And S790
When it is determined that the data transfer is completed, the process proceeds to S800, the modem card is accessed to close the telephone line,
In subsequent S810, the computer H is notified that the communication is completed, and then the process returns to S720.
【0075】一方、S720にて、コンピュータHから
送信要求が無いと判定した場合には、S820に移行し
て、モデムカードが電話の呼び出しを検知したか否かを
判定する。そして、モデムカードにより電話の呼び出し
が検知されていなければS720に戻り、電話の呼び出
しが検知されれば、S830に進む。On the other hand, if it is determined in S720 that there is no transmission request from the computer H, the process proceeds to S820, and it is determined whether the modem card has detected a telephone call. Then, if the telephone call is not detected by the modem card, the process returns to S720, and if the telephone call is detected, the process proceeds to S830.
【0076】S830では、S750の場合と同様に、
メモリ制御部18を、モデムカードと割当カードとの間
で直接データ転送できるように設定し、続くS840に
て、割当カードに受信用ファイルを設定する。そして、
続くS850にて、モデムカードにアクセスして電話を
受け、続くS860にて、電話が通じてデータの転送が
可能となったか否かを判定し、データ転送が可能となる
まで、S850,S860の処理を繰り返す。In S830, as in the case of S750,
The memory control unit 18 is set so that data can be directly transferred between the modem card and the allocation card, and in the subsequent S840, the reception file is set in the allocation card. And
In subsequent S850, the modem card is accessed to receive the call, and in subsequent S860, it is determined whether or not the data can be transferred through the telephone, and the data transfer can be performed in S850 and S860. Repeat the process.
【0077】そして、S860にて、データ転送が可能
になったと判定すると、S870に進んで、メモリ制御
部18に、モデムカードから割当カードに設定した受信
用ファイルへデータを転送させる。すると、電話回線か
ら送信されてきたデータは割当ファイルの受信用ファイ
ルに格納されることとなる。When it is determined in S860 that the data transfer is possible, the process proceeds to S870 and the memory control unit 18 is caused to transfer the data from the modem card to the reception file set in the allocation card. Then, the data transmitted from the telephone line is stored in the reception file of the allocation file.
【0078】そして、続くS880にて、データ転送が
終了したか否かを判定し、データ転送が終了するまで、
S870,S880の処理を繰り返す。そして、S88
0にて、データ転送が終了したと判定すると、S890
に進んで、モデムカードにアクセスして電話回線を閉
じ、続くS900にて、コンピュータHへ、受信があっ
たこと及び受信データが格納された割当カードの受信用
ファイル名を報知して、その後、S720へ戻る。Then, in subsequent S880, it is determined whether or not the data transfer is completed, and until the data transfer is completed,
The processes of S870 and S880 are repeated. And S88
When it is determined that the data transfer is completed at 0, S890
Then, in step S900, the computer H is notified of the reception and the file name for reception of the allocation card in which the reception data is stored. Return to S720.
【0079】つまり、このバックグラウンド送受信処理
では、電話回線へ送信すべきデータをモデムカード以外
の割当カードに格納しておき(S730)、コンピュー
タHから送信ファイル名及び送信先の電話番号が出力さ
れると(S740:YES)、割当カードからモデムカ
ードへ、送信ファイル名に対応したデータを転送させ
て、そのデータを送信先に送信するようにしている(S
750〜S810)。また、モデムカードを介して電話
を受けると(S820:YES)、モデムカードが受信
したデータを割当カードの受信用ファイルへ転送し(S
830〜S890)、コンピュータHへは、受信があっ
たことと受信用ファイル名だけを報知するようにしてい
る(S900)。That is, in this background transmission / reception processing, the data to be transmitted to the telephone line is stored in the allocation card other than the modem card (S730), and the transmission file name and the transmission destination telephone number are output from the computer H. Then, (S740: YES), the data corresponding to the transmission file name is transferred from the allocation card to the modem card, and the data is transmitted to the destination (S).
750-S810). When a call is received via the modem card (S820: YES), the data received by the modem card is transferred to the receiving file of the allocation card (S).
830 to S890), the computer H is notified of only the reception and the reception file name (S900).
【0080】従って、コンピュータH側からみると、電
話回線を介して行うデータの送受信は、当該装置によっ
て全てバックグラウンド処理されることとなり、コンピ
ュータHは、電話回線によるデータの送受信が行われて
いる最中でも、他のアプリケーションを実行することが
できるようになる。Therefore, from the side of the computer H, all the data transmission / reception performed via the telephone line is processed in the background by the device, and the computer H transmits / receives the data via the telephone line. In the meantime, you will be able to run other applications.
【0081】次に、図3にて符号Cnを付したメモリカ
ードのようにHDDに接続可能なメモリカード(以下、
SCSIカードという)が、カード用スロット6に装着
された場合には、CPU12は、SCSIカードに接続
されたHDDをコンピュータHに接続するための処理を
実行する。そしてこの処理は、コンピュータHからのH
DDへのアクセス要求を受けると、カード制御部14及
びメモリ制御部18を、ホストインタフェース部4とS
CSIカードとの間で直接データの転送ができるように
制御する、といった手順で実行される。Next, a memory card that can be connected to the HDD, such as the memory card denoted by Cn in FIG.
When a SCSI card) is attached to the card slot 6, the CPU 12 executes a process for connecting the HDD connected to the SCSI card to the computer H. And this processing is performed by the H from the computer H.
When the access request to the DD is received, the card control unit 14 and the memory control unit 18 cause the host interface unit 4 and the S
It is executed by the procedure of controlling so that the data can be directly transferred to and from the CSI card.
【0082】すると、コンピュータHは、SCSIカー
ドに接続されたHDDを、カード用スロット6に装着さ
れたメモリカードの1つとして扱うことができる。換言
するならば、HDDが接続されたSCSIカードは、コ
ンピュータHによって、あたかもHDDの記憶容量を持
ったメモリカードとして扱われることとなる。Then, the computer H can handle the HDD connected to the SCSI card as one of the memory cards mounted in the card slot 6. In other words, the SCSI card to which the HDD is connected is treated by the computer H as if it were a memory card having the storage capacity of the HDD.
【0083】以上詳述したように、本実施例の外部記憶
装置2によれば、コンピュータHは、複数のメモリカー
ドC1〜Cnにアクセスして、大量のデータを記憶させ
ることができるようになり、しかも、DRAMメモリ1
0をキャッシュメモリとして使用して、コンピュータH
からの読み出し要求に対し、より高速のデータ転送を実
現することができる。As described in detail above, according to the external storage device 2 of this embodiment, the computer H can access a plurality of memory cards C1 to Cn and store a large amount of data. Moreover, DRAM memory 1
Using 0 as cache memory, the computer H
It is possible to realize higher-speed data transfer in response to a read request from the.
【0084】また、DRAMメモリ10を利用したミラ
ーリング処理(図5)により、コンピュータHは、デー
タを1回出力するだけで、そのデータを2枚のメモリカ
ードに書き込むことができ、RAMディスク領域設定処
理(図6)により、コンピュータHは、DRAMメモリ
10をRAMディスクとして直接アクセスすることがで
きるようになる。そして、図7に示したコピー処理によ
り、コンピュータHは、当該装置へコピー命令を出力す
るだけで、2枚のメモリカード間でのデータコピーを行
うことができ、しかもその間、コンピュータHは他の処
理を実行することができる。Further, by the mirroring process using the DRAM memory 10 (FIG. 5), the computer H can write the data into two memory cards by outputting the data only once, and the RAM disk area setting can be performed. The process (FIG. 6) enables the computer H to directly access the DRAM memory 10 as a RAM disk. Then, by the copy processing shown in FIG. 7, the computer H can copy the data between the two memory cards only by outputting a copy command to the device, and during that time, the computer H does not copy other data. Processing can be performed.
【0085】一方、本実施例の外部記憶装置2におい
て、カード用スロット6に他の機器とのインタフェース
機能を有したJEIDA規格Ver4.1に準拠したメモリカ
ードが装着された場合には、図8に示したバックグラウ
ンド送受信処理やHDDを接続するための処理が実行さ
れるため、メモリカードに接続される外部機器とコンピ
ュータHとを、簡単且つ効率良く接続することができ
る。On the other hand, in the external storage device 2 of the present embodiment, when a memory card conforming to the JEIDA standard Ver4.1 having an interface function with another device is attached to the card slot 6, the case shown in FIG. Since the background transmission / reception processing and the processing for connecting the HDD shown in (1) are executed, the external device connected to the memory card and the computer H can be connected easily and efficiently.
【図1】 本発明の構成を例示するブロック図である。FIG. 1 is a block diagram illustrating a configuration of the present invention.
【図2】 実施例の外部記憶装置の概略構造を表す構造
図である。FIG. 2 is a structural diagram showing a schematic structure of an external storage device of an embodiment.
【図3】 実施例の外部記憶装置の構成を表すブロック
図である。FIG. 3 is a block diagram illustrating a configuration of an external storage device according to an embodiment.
【図4】 外部記憶装置のCPUで実行される書込・読
出処理を表すフローチャートである。FIG. 4 is a flowchart showing a writing / reading process executed by a CPU of an external storage device.
【図5】 外部記憶装置のCPUで実行されるミラーリ
ング処理を表すフローチャートである。FIG. 5 is a flowchart showing a mirroring process executed by a CPU of an external storage device.
【図6】 外部記憶装置のCPUで実行されるRAMデ
ィスク領域設定処理及びRAMディスク領域開放処理を
表すフローチャートである。FIG. 6 is a flowchart showing a RAM disk area setting process and a RAM disk area releasing process executed by the CPU of the external storage device.
【図7】 外部記憶装置のCPUで実行されるコピー処
理を表すフローチャートである。FIG. 7 is a flowchart showing a copy process executed by a CPU of an external storage device.
【図8】 外部記憶装置のCPUで実行されるバックグ
ラウンド送受信処理を表すフローチャートである。FIG. 8 is a flowchart showing background transmission / reception processing executed by a CPU of an external storage device.
2…外部記憶装置 4…ホストインタフェース部
6…カード用スロット 8…コントロール回路 10…DRAMメモリ 1
2…CPU 14…カード制御部 16…SRAMメモリ 18
…メモリ制御部 C1〜Cn…メモリカード H…コンピュータ2 ... External storage device 4 ... Host interface unit
6 ... Card slot 8 ... Control circuit 10 ... DRAM memory 1
2 ... CPU 14 ... Card control unit 16 ... SRAM memory 18
Memory controller C1 to Cn Memory card H Computer
Claims (5)
スと、 半導体メモリが搭載された複数のメモリカードを着脱自
在なカード用スロットと、 所定のデータを記憶する記憶手段と、 前記コンピュータと前記カード用スロットに装着された
メモリカードとの間で、前記インタフェースを介してデ
ータを転送させる転送手段と、 該転送手段により転送されたデータを前記記憶手段に一
時格納する格納手段と、 前記コンピュータから前記カード用スロットに装着され
た何れかのメモリカードに対するデータの書き込み要求
があると、前記転送手段に前記コンピュータからのデー
タを当該メモリカードへ転送させる書き込み制御手段
と、 前記コンピュータから前記カード用スロットに装着され
た何れかのメモリカードに対するデータの読み出し要求
があると、当該要求に応じたデータが前記記憶手段に格
納されているか否かを判定し、該データが格納されてい
ない場合には前記転送手段に当該メモリカードから前記
コンピュータへデータを転送させ、前記データが格納さ
れている場合には前記転送手段に前記記憶手段から前記
コンピュータへデータを転送させる読み出し制御手段
と、 を備えたことを特徴とするコンピュータの外部記憶装
置。1. An interface connected to a computer, a card slot in which a plurality of memory cards each having a semiconductor memory mounted therein are detachable, storage means for storing predetermined data, and the computer and the card slot. Transfer means for transferring data to and from the attached memory card via the interface, storage means for temporarily storing the data transferred by the transfer means in the storage means, and the card slot from the computer When there is a data write request to any of the memory cards attached to the memory card, write control means for causing the transfer means to transfer the data from the computer to the memory card, and the computer is attached to the card slot from the computer. Need to read data to any memory card When there is a request, it is determined whether or not the data corresponding to the request is stored in the storage means, and if the data is not stored, the transfer means transfers the data from the memory card to the computer. An external storage device for a computer, comprising: read control means for causing the transfer means to transfer the data from the storage means to the computer when the data is stored.
憶装置において、 前記コンピュータから前記カード用スロットに装着され
た何れか2つのメモリカードへ同一のデータを書き込む
旨の要求があると、前記書き込み制御手段が、前記転送
手段に、前記コンピュータからのデータを前記2つのメ
モリカードのうち一方のメモリカードへ転送させると共
に前記記憶手段から前記2つのメモリカードのうち他方
のメモリカードへデータを転送させること、 を特徴とするコンピュータの外部記憶装置。2. The external storage device of the computer according to claim 1, wherein when there is a request from the computer to write the same data to any two memory cards installed in the card slot, the writing is performed. The control means causes the transfer means to transfer the data from the computer to one of the two memory cards and the data from the storage means to the other memory card of the two memory cards. An external storage device of a computer characterized by the following.
ータの外部記憶装置において、 前記メモリカードが、他の機器と接続可能なインタフェ
ースを備えており、前記書き込み制御手段及び読み出し
制御手段が、当該メモリカードに接続された機器と前記
コンピュータとの間の前記転送手段によるデータ転送を
制御すること、 を特徴とするコンピュータの外部記憶装置。3. The external storage device of the computer according to claim 1, wherein the memory card includes an interface connectable to another device, and the write control unit and the read control unit include: An external storage device for a computer, wherein data transfer by the transfer means between a device connected to the memory card and the computer is controlled.
のコンピュータの外部記憶装置において、 前記コンピュータから前記記憶手段を直接アクセスする
旨の要求があると、前記記憶手段の所定の記憶領域を前
記コンピュータがアクセス可能な専用領域として設定す
る記憶領域設定手段と、 前記コンピュータから前記記憶手段に対するデータの書
き込み要求があると前記コンピュータからのデータを前
記専用領域へ転送し、前記コンピュータから前記記憶手
段に対するデータの読み出し要求があると前記専用領域
から前記コンピュータへデータを転送する第2の転送手
段と、 を備えたことを特徴とするコンピュータの外部記憶装
置。4. The external storage device for a computer according to claim 1, wherein a predetermined storage area of said storage means is set when a direct access from said computer is made to said storage means. Storage area setting means for setting as a dedicated area accessible by the computer; and, when there is a data write request from the computer to the storage means, data from the computer is transferred to the dedicated area, and the storage means from the computer And a second transfer means for transferring data from the dedicated area to the computer when there is a request to read data from the external storage device of the computer.
のコンピュータの外部記憶装置において、 前記コンピュータから、前記カード用スロットに装着さ
れた何れか1つのメモリカードから他のメモリカードへ
データをコピーする旨の要求があると、前記1つのメモ
リカードから前記記憶手段へデータを転送し、当該デー
タ転送の後に前記記憶手段から前記他のメモリカードへ
データを転送する第3の転送手段を備えたこと、 を特徴とするコンピュータの外部記憶装置。5. The external storage device of the computer according to claim 1, wherein data is transferred from the computer to the other memory card from any one memory card installed in the card slot. When there is a request to copy the data, the third transfer means for transferring data from the one memory card to the storage means and transferring the data from the storage means to the other memory card after the data transfer is performed. An external storage device of a computer, characterized by being provided.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6127657A JP2983842B2 (en) | 1994-06-09 | 1994-06-09 | Computer external storage |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6127657A JP2983842B2 (en) | 1994-06-09 | 1994-06-09 | Computer external storage |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07334316A true JPH07334316A (en) | 1995-12-22 |
| JP2983842B2 JP2983842B2 (en) | 1999-11-29 |
Family
ID=14965510
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6127657A Expired - Fee Related JP2983842B2 (en) | 1994-06-09 | 1994-06-09 | Computer external storage |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2983842B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10302030A (en) * | 1997-02-28 | 1998-11-13 | Toshiba Corp | Connection device and information processing device |
| US6199122B1 (en) | 1997-08-01 | 2001-03-06 | Tokyo Electron Device Limited | Computer system, external storage, converter system, and recording medium for converting a serial command and data standard to a parallel one |
| WO2001080171A1 (en) * | 2000-04-18 | 2001-10-25 | Matsushita Electric Industrial Co., Ltd. | Memory card installer |
| KR20020076715A (en) * | 2001-03-30 | 2002-10-11 | (주)하드램 | Mobile hard-disc |
| JP2003044792A (en) * | 2001-07-30 | 2003-02-14 | Sony Corp | Semiconductor memory slot device |
| JP2004094343A (en) * | 2002-08-29 | 2004-03-25 | Sharp Corp | Electronic equipment expansion module |
| US7630004B2 (en) | 1996-01-29 | 2009-12-08 | Canon Kabushiki Kaisha | Electronic apparatus |
-
1994
- 1994-06-09 JP JP6127657A patent/JP2983842B2/en not_active Expired - Fee Related
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7630004B2 (en) | 1996-01-29 | 2009-12-08 | Canon Kabushiki Kaisha | Electronic apparatus |
| JPH10302030A (en) * | 1997-02-28 | 1998-11-13 | Toshiba Corp | Connection device and information processing device |
| US6199122B1 (en) | 1997-08-01 | 2001-03-06 | Tokyo Electron Device Limited | Computer system, external storage, converter system, and recording medium for converting a serial command and data standard to a parallel one |
| WO2001080171A1 (en) * | 2000-04-18 | 2001-10-25 | Matsushita Electric Industrial Co., Ltd. | Memory card installer |
| US6808424B2 (en) | 2000-04-18 | 2004-10-26 | Matsushita Electric Industrial Co., Ltd. | Memory card installer |
| KR20020076715A (en) * | 2001-03-30 | 2002-10-11 | (주)하드램 | Mobile hard-disc |
| JP2003044792A (en) * | 2001-07-30 | 2003-02-14 | Sony Corp | Semiconductor memory slot device |
| JP2004094343A (en) * | 2002-08-29 | 2004-03-25 | Sharp Corp | Electronic equipment expansion module |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2983842B2 (en) | 1999-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100589564B1 (en) | System signalling schemes for processor & memory module | |
| JPH1131102A (en) | Data storage system and access control method applied to the system | |
| JP3178809B2 (en) | Accessing portable recording media | |
| US20080301381A1 (en) | Device and method for controlling commands used for flash memory | |
| JPH07334316A (en) | External storage device for computer | |
| JP4391200B2 (en) | Disk array device and disk array device control method | |
| CN116774925A (en) | Disk storage system, method and server | |
| US6269430B1 (en) | Method for controlling a process of writing data sent by a central processing unit to a memory by using a central processing unit interface | |
| JP2944280B2 (en) | Interface circuit | |
| JP4726187B2 (en) | Semiconductor integrated circuit | |
| JP2006059201A (en) | Data transfer system and interface | |
| KR102912220B1 (en) | System-on-chip communication between heterogeneous processors or different processes of the same processor using shared memory and method thereof | |
| JPH08234929A (en) | Disk array device | |
| JP4468666B2 (en) | Apparatus and storage control apparatus having dual writing function | |
| JP2000099391A (en) | Printer, printer controlling method and storage medium | |
| CN101194235A (en) | Memory control device and memory control method | |
| JP2964504B2 (en) | Document processing device | |
| JP3136681B2 (en) | Data processing device | |
| JP3272890B2 (en) | Memory access control circuit and output device | |
| JP2001290790A (en) | Disk controller | |
| JPH0589027A (en) | Light buffer with monitoring function | |
| JPH0512184A (en) | Information processing system | |
| JPH11134283A (en) | Information processing device | |
| JP2001075824A (en) | Recording medium recording access method and access processing program | |
| JPH07319840A (en) | Multi-cpu device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090924 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |