JP3033736B2 - Remote disk unit access system - Google Patents

Remote disk unit access system

Info

Publication number
JP3033736B2
JP3033736B2 JP10171851A JP17185198A JP3033736B2 JP 3033736 B2 JP3033736 B2 JP 3033736B2 JP 10171851 A JP10171851 A JP 10171851A JP 17185198 A JP17185198 A JP 17185198A JP 3033736 B2 JP3033736 B2 JP 3033736B2
Authority
JP
Japan
Prior art keywords
data
block
disk device
remote
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP10171851A
Other languages
Japanese (ja)
Other versions
JP2000010838A (en
Inventor
英樹 塩原
Original Assignee
長野日本電気ソフトウェア株式会社
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 長野日本電気ソフトウェア株式会社 filed Critical 長野日本電気ソフトウェア株式会社
Priority to JP10171851A priority Critical patent/JP3033736B2/en
Publication of JP2000010838A publication Critical patent/JP2000010838A/en
Application granted granted Critical
Publication of JP3033736B2 publication Critical patent/JP3033736B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ネットワークを
介して接続されたリモートディスク装置を記憶装置とし
て利用して、端末側のコンピュータでアプリケーション
プログラムを実行するよう構成されたリモートディスク
装置アクセスシステムに係り、詳しくは、端末側のコン
ピュータにローカルディスク装置を接続し、このローカ
ルディスク装置に対してデータをブロック単位で書き込
みならびに読み出しすることで処理速度の向上を図るよ
うにしたリモートディスク装置アクセスシステムに関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a remote disk device access system configured to execute an application program on a terminal-side computer using a remote disk device connected via a network as a storage device. More specifically, the present invention relates to a remote disk device access system in which a local disk device is connected to a computer on a terminal side, and processing speed is improved by writing and reading data to and from this local disk device in block units. It is.

【0002】[0002]

【従来の技術】特開平6−290090号公報には、広
域ネットワークを介在して接続されたディスク装置への
アクセス動作の効率化及び低コスト化を図るようにした
遠隔ファイルアクセスシステムが記載されている。この
遠隔ファイルアクセスシステムは次のように構成されて
いる。遠方に設置されたファイルサーバとユーザ側の装
置とが広域ネットワークによって接続されている。ユー
ザ側には、複数の携帯型コンピュータがローカルエリア
ネットワークによって接続され、さらに、親機情報通信
制御装置を介して広域ネットワークに接続されている。
携帯型コンピュータに接続された子機情報通信制御装置
には第1次キャッシュが設けられ、親機情報通信制御装
置には大容量の第2次キャッシュが設けられている。
2. Description of the Related Art Japanese Unexamined Patent Publication No. 6-290090 describes a remote file access system for improving the efficiency and cost of accessing disk devices connected via a wide area network. I have. This remote file access system is configured as follows. A remote file server and a user-side device are connected by a wide area network. On the user side, a plurality of portable computers are connected by a local area network, and further connected to a wide area network via a base unit information communication control device.
The child device information communication control device connected to the portable computer has a primary cache, and the master device information communication control device has a large-capacity secondary cache.

【0003】第1次キャッシュは、ファイルサーバ内に
設けられたディスク装置に対して現在アクセス中のデー
タの写しを記憶するものである。この第1次キャッシュ
は、メモリなど高速小容量の記憶媒体で構成されてい
る。第1次キャッシュディレクトリは、第1次キャッシ
ュのブロックに対応したエントリを有し、ディスク装置
上のブロックアドレスが格納されている。第2次キャッ
シュは、ディスク装置等の大容量の記憶媒体であり、特
定のブロック単位に分割されている。第2次キャッシュ
は、親機情報通信制御装置が管理するローカルエリアネ
ットワークに接続された携帯型コンピュータが過去にお
いてアクセスしたファイルサーバのディスク装置のデー
タの写しを記憶する。第2次キャッシュディレクトリに
は、第2次キャッシュのブロックに対応したエントリが
あり、ディスク装置上のブロックアドレスが格納されて
いる。
The primary cache stores a copy of data that is currently being accessed to a disk device provided in a file server. The primary cache is constituted by a high-speed and small-capacity storage medium such as a memory. The primary cache directory has an entry corresponding to the block of the primary cache, and stores a block address on the disk device. The secondary cache is a large-capacity storage medium such as a disk device, and is divided into specific block units. The secondary cache stores a copy of the data of the disk device of the file server accessed in the past by the portable computer connected to the local area network managed by the parent device information communication control device. The secondary cache directory has an entry corresponding to the block of the secondary cache, and stores the block address on the disk device.

【0004】特開平9−288677号公報には、最新
情報を提供でき、取得情報に画像(動画像)情報が含ま
れていても情報の取得に長時間を要せず、ネットワーク
の負荷も少なく、利用者の端末自身が有する情報とサー
バが有する情報とを有機的に結合させた編集や表示をで
きるようにした情報統合表示方法,装置及び統合表示シ
ステムが記載されている。この情報統合表示方法,装置
及び統合表示システムは、WWW(ワールド・ワイド・
ウェブ)サーバから例えばインターネットを介して取得
した随時更新される文書情報と、クライアント端末側で
個別に保持している更新されない文書情報とを、クライ
アント端末の表示装置上で一元的に表示するために、表
示内容を構成する各情報の所在を共通のページ記述言語
(HTML)で記述し、ブラウザ(WWWブラウザ)を
用いてWWWサーバから取得した文書情報とクライアン
ト端末側で保持している文書情報とを表示装置の同一表
示領域内に表示するよう構成されている。
Japanese Patent Application Laid-Open No. Hei 9-288677 can provide the latest information, does not require a long time to acquire information even if the acquired information includes image (moving image) information, and reduces the load on the network. An information integrated display method, apparatus, and integrated display system which enable editing and display in which information owned by a user terminal itself and information held by a server are organically combined are described. This information integrated display method, apparatus and integrated display system are provided by WWW (World Wide Network).
Web) In order to centrally display, on a display device of a client terminal, document information that is updated from time to time, which is obtained from a server via the Internet, and document information that is not updated and individually stored on a client terminal side. The location of each piece of information constituting the display content is described in a common page description language (HTML), and the document information acquired from the WWW server using a browser (WWW browser) and the document information held in the client terminal side Are displayed in the same display area of the display device.

【0005】[0005]

【発明が解決しようとする課題】特開平6−29009
0号公報に記載された遠隔ファイルアクセスシステム
は、端末である携帯型コンピュータに高速小容量の記憶
媒体で構成された第1次キャッシュを備え、携帯型コン
ピュータにローカルエリアネットワークを介して接続さ
れた親機情報通信制御装置にディスク装置等の大容量の
記憶媒体から構成された第2次キャッシュを備える構成
であるため、携帯型コンピュータに直接接続されている
第1次キャッシュに記憶できるデータ容量が制限され
とともに、ローカルエリアネットワークの負荷が高い場
合には大容量ディスク装置等からなる第2次キャッシュ
に対するアクセスに時間がかかり、大容量の第2次キャ
ッシュを有効に利用できないことがある。
Problems to be Solved by the Invention
In the remote file access system described in Japanese Patent Application Publication No. 0-200, a portable computer as a terminal is provided with a primary cache composed of a high-speed and small-capacity storage medium, and is connected to the portable computer via a local area network. Since the master unit information communication control device is provided with the secondary cache constituted by a large-capacity storage medium such as a disk device, the data capacity that can be stored in the primary cache directly connected to the portable computer is limited. with limited Ru <br/> that, when the load of the local area network is high it takes time to access the second cache comprising a large-capacity disk unit, etc., can not be utilized effectively second cache large capacity There is.

【0006】また従来は、特開平9−288677号公
報等に記載されているように、ネットワークを介して接
続された他(ホストまたはサーバ)コンピュータ側のリ
モートディスク装置に格納されているデータを読み込ん
だりリモートディスク装置にデータを書き込んだりする
際に、自(端末)コンピュータに直接接続されたローカ
ルディスク装置に対象ファイルをコピーしておいてから
コピーしたファイルに対してデータの書き込み・読み出
しを行なうことで、データの書き込み・読み出し処理速
度がネットワークの負荷状態に影響されることに対処し
ていた。
Conventionally, as described in Japanese Patent Application Laid-Open No. 9-288677, data stored in a remote disk device of another (host or server) computer connected via a network is read. When writing data to a remote disk device, copy the target file to a local disk device directly connected to the computer (terminal), and then write and read data to and from the copied file. Address the fact that the data write / read processing speed is affected by the load state of the network.

【0007】しかしながらファイル単位でデータをコピ
ーする方法では、必要でないデータ部分もローカルディ
スク装置に読み込むことがあり、記憶容量に制限がある
ローカルディスク装置を有効に利用できないことがあ
る。
However, in the method of copying data in file units, unnecessary data portions may be read into the local disk device, and the local disk device having a limited storage capacity may not be used effectively.

【0008】この発明はこのような課題を解決するため
なされたもので、端末コンピュータに直接接続されたロ
ーカルディスク装置を一時データ記憶部として利用し、
ローカルディスク装置をブロック単位で管理すること
で、記憶容量が限られたローカルディスク装置を有効に
利用できるようにし、データの書き込み・読み出し処理
速度を向上させるとともに、ネットワークの負荷が高い
場合でもネットワークを介して接続されたリモートディ
スク装置へ安定・高速にアクセスできるようにしたリモ
ートディスク装置アクセスシステムを提供することを目
的とする。
The present invention has been made to solve such a problem, and uses a local disk device directly connected to a terminal computer as a temporary data storage unit.
By managing local disk units in blocks, it is possible to effectively use local disk units with limited storage capacity, improve the data write / read processing speed, and improve network performance even when the network load is high. It is an object of the present invention to provide a remote disk device access system which enables stable and high-speed access to a remote disk device connected via the remote disk device.

【0009】[0009]

【課題を解決するための手段】前記課題を解決するため
請求項1に係るリモートディスク装置アクセスシステム
は、ネットワークを介して接続され、一定長のブロック
に分割された記憶領域を有するリモートディスク装置を
記憶装置として利用して、端末側のコンピュータでアプ
リケーションプログラムを実行するよう構成されたリモ
ートディスク装置アクセスシステムにおいて、前記リモ
ートディスク装置と同じ大きさのブロックに分割された
記憶領域を有し、前記端末側のコンピュータにデータの
一時的な記憶領域として利用されるローカルディスク装
置を備え、前記端末側のコンピュータは、前記アプリケ
ーションプログラムからの前記リモートディスク装置に
対するデータの読み込み要求および書き込み要求に応じ
前記リモートディスク装置から読み込んだデータまた
は書き込もうとするデータを、それらデータの前記リモ
ートディスク装置内におけるブロックに対応付けて、前
記ローカルディスク装置内のブロックに格納し、該格納
の際、格納しようとするブロックに、前記リモートディ
スク装置に対する書込用データが既に格納されていた場
合、その書込用データを、対応付けられている前記リモ
ートディスク装置内のブロックへ書き込むことを特徴と
する。
According to a first aspect of the present invention, there is provided a remote disk device access system which is connected via a network and comprises a fixed length block.
The remote disk device having a divided storage area used as a storage device, the remote disk device access system configured to execute an application program on the terminal side of the computer, the remote
Divided into blocks of the same size as
A storage area, with local disk device used as a temporary storage area of data to the terminal side of the computer, the terminal computer reads the request data to the remote disk device from said application program And data read from the remote disk device in response to a write request or
Stores the data to be written in the remote
Corresponding to the block in the
Stored in a block in the local disk device,
At this time, the remote directory is added to the block to be stored.
If write data for the disk device has already been stored
If the write data is
Write to a block in the smart disk device .

【0010】[0010]

【0011】また、端末側のコンピュータはデータ読み
込み処理部を備えるとともに、ローカルディスク装置は
ブロック管理テーブル、および、最初に無効にされるブ
ロックを示す情報が格納されたフリーリスト開始ブロッ
ク情報格納部を備え、データ読み込み処理部は、前記ア
プリケーションプログラムからの前記リモートディスク
装置に格納されたデータの読み込み要求に対して、前記
ブロック管理テーブルを検索し、要求データが格納され
た前記リモートディスク装置内のブロックに対応するブ
ロックが、前記ローカルディスク装置内に存在する場合
は、そのブロックから該要求データを読み出して前記ア
プリケーションプログラムへ渡し、要求データが格納さ
れた前記リモートディスク装置内のブロックに対応する
ブロックが、前記ローカルディスク装置内に存在しない
場合は、前記ネットワークを介して前記リモートディス
ク装置から要求データを読み出して前記アプリケーシ
ョンプログラムへ渡すとともに、該要求データを、前記
フリーリスト開始ブロック情報格納部に格納された情報
によって指定される前記ローカルディスク装置内のブロ
ックに、該要求データが格納されていたリモートディス
ク装置のブロックと対応付けて格納するよう構成する。
The terminal-side computer has a data read processing unit, and the local disk device has a block management table and a block to be invalidated first.
Free list start block containing information indicating the lock
Comprising a click information storage unit, the data reading processing unit, to the read request of data stored in the remote disk device from said application program, searches the block management table, the request data is stored
Block corresponding to the block in the remote disk device
When the lock exists in the local disk device
, The A reads the requested data from the block
Pass the application program, the request data is stored
Corresponding to the block in the remote disk device
Block does not exist in the local disk device
If, wherein via the network from the remote disk device to read out the requested data Apurikeshi
Transfer the request data to the
Information stored in the free list start block information storage
In the local disk device specified by
The remote disk where the request data was stored
It is configured to be stored in association with the block of the backup device .

【0012】さらに、端末側のコンピュータはデータ書
き込み処理部を備えるとともに、ローカルディスク装置
はブロック管理テーブル、および、最初に無効にされる
ブロックを示す情報が格納されたフリーリスト開始ブロ
ック情報格納部を備え、データ書き込み処理部は、アプ
リケーションプログラムからの、リモートディスク装置
に対するデータ書き込み要求に対して、ブロック管理テ
ーブルを検索し、要求データを書き込もうとする前記リ
モートディスク装置内のブロックに対応するブロック
が、前記ローカルディスク装置内に存在する場合は、そ
のブロックのデータに対して上書き処理を実行し、要求
データを書き込もうとする前記リモートディスク装置内
のブロックに対応するブロックが、前記ローカルディス
ク装置内に存在しない場合は、該要求データを、前記フ
リーリスト開始ブロック情報格納部に格納された情報に
よって指定される前記ローカルディスク装置内のブロッ
クへ格納する。
Further, the computer on the terminal side is provided with a data write processing unit, and the local disk device is invalidated first with a block management table .
Free list start block storing information indicating blocks
A data write processing unit that searches for a block management table in response to a data write request to a remote disk device from an application program, and writes the requested data.
Block corresponding to the block in the remote disk device
Is present in the local disk device,
Run the overwrite processing for the block of data, the request
In the remote disk unit where data is to be written
The block corresponding to the block
If the request data does not exist in the
To the information stored in the lead list start block information storage
Block specified in the local disk device
Stored in

【0013】なお、ブロック管理テーブルを端末側のコ
ンピュータのメモリ上に配置することで、ブロック管理
を高速に行なえるようにしてもよい。
By arranging the block management table on the memory of the computer on the terminal side, the block management may be performed at a high speed.

【0014】この発明に係るリモートディスク装置アク
セスシステムは、ローカルディスク装置を一時データ記
憶部として利用し、かつ、ローカルディスク装置をブロ
ック単位で管理する構成としたので、従来のファイル単
位でコピーする方式と比較して、記憶容量の限られたロ
ーカルディスク装置を有効に利用することができる。ロ
ーカルディスク装置に適切なデータが格納されること
で、ネットワークを介してリモートディスク装置へ対す
るアクセスが減少され、ローカルディスク装置に対する
アクセスが主となるので、データの書き込み・読み出し
処理速度が向上する。また、リモートディスク装置なら
びにローカルディスク装置に対してブロック単位でアク
セスするため、従来のファイル単位のアクセスよりもデ
ータ転送容量が減少される。このため、ネットワークの
負荷を減少させることができ、ネットワークの負荷が高
い場合でもリモートディスク装置へ安定・高速にアクセ
スできる。
In the remote disk device access system according to the present invention, the local disk device is used as a temporary data storage unit and the local disk device is managed in block units. In comparison with the above, a local disk device having a limited storage capacity can be used effectively. By storing appropriate data in the local disk device, access to the remote disk device via the network is reduced, and access to the local disk device is mainly performed, thereby improving the data write / read processing speed. Further, since the remote disk device and the local disk device are accessed in block units, the data transfer capacity is reduced as compared with the conventional file unit access. Therefore, the load on the network can be reduced, and even when the load on the network is high, stable and high-speed access to the remote disk device can be achieved.

【0015】[0015]

【発明の実施の形態】以下この発明の実施の形態を添付
図面に基づいて説明する。図1はこの発明に係るリモー
トディスク装置アクセスシステムのブロック構成図であ
る。リモートディスク装置アクセスシステム1は、端末
側コンピュータ10と、サーバまたはホスト側であるネ
ットワークコンピュータ30とをネットワーク40を介
して接続してなる。端末側コンピュータ10には、ロー
カルディスク装置として一時データ記憶用磁気ディスク
装置20が接続される。ネットワークコンピュータ30
には、リモートディスク装置としてリモート磁気ディス
ク装置31が接続される。なお、ローカルディスク装置
ならびにリモートディスク装置は、磁気ディスク以外の
光ディスク,光ディスク装置等を用いて構成してもよ
い。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram of a remote disk device access system according to the present invention. The remote disk device access system 1 is configured by connecting a terminal-side computer 10 and a network computer 30 that is a server or a host via a network 40. A magnetic disk device 20 for temporary data storage is connected to the terminal-side computer 10 as a local disk device. Network computer 30
Is connected to a remote magnetic disk device 31 as a remote disk device. The local disk device and the remote disk device may be configured using an optical disk other than a magnetic disk, an optical disk device, or the like.

【0016】一時データ記憶用磁気ディスク装置20
は、ブロック管理テーブル21と、データ格納部22
と、フリーリスト開始ブロック番号格納部23と、フリ
ーリスト終了ブロック番号格納部24とを備える。デー
タ格納部22は、一定長のブロックに分割され、その状
態はブロック管理テーブル21によって管理される。
Magnetic disk device 20 for temporary data storage
Is a block management table 21 and a data storage unit 22
, A free list start block number storage unit 23, and a free list end block number storage unit 24. The data storage unit 22 is divided into blocks of a fixed length, and the state is managed by the block management table 21.

【0017】図2はブロック管理テーブル,各番号格納
部の構成ならびに動作を示す説明図である。ブロック管
理テーブル21は、図2で示すように、データ格納部2
2の各ブロックの情報を1エントリとして、各エントリ
には、ブロック番号、対応するリモートブロック、次の
ブロック、書き込みの4項目を設けている。
FIG. 2 is an explanatory diagram showing the configuration and operation of the block management table and each number storage unit. The block management table 21 includes, as shown in FIG.
Assuming that the information of each block of No. 2 is one entry, each entry has four items of a block number, a corresponding remote block, a next block, and a write.

【0018】ブロック番号は、図1に示したデータ格納
部22の各ブロックを識別する番号(X1、X2、…
…)である。対応するリモートブロックには、リモート
磁気ディスク装置31を、データ格納部22と同じ大き
さのブロックに分割しそれを識別するために付与した番
号(Y1、Y2、……)のデータが格納される。データ
格納部22の各ブロックは、有限であるため新データの
取り込み時に無効にするブロックを決めそこに新データ
を読み込むが、無効にされる順番にブロックを並べたも
の(フリーリスト)を作成しておく。
The block number is a number (X1, X2,...) For identifying each block of the data storage unit 22 shown in FIG.
…). In the corresponding remote block, data of numbers (Y1, Y2,...) Assigned to divide the remote magnetic disk device 31 into blocks of the same size as the data storage unit 22 and identify the blocks are stored. . Since each block of the data storage unit 22 is finite, a block to be invalidated at the time of importing new data is determined, and new data is read there. However, a block (free list) in which blocks are arranged in the order of invalidation is created. Keep it.

【0019】実際には、フリーリストは、最初に無効に
されるブロックの番号をフリーリスト開始ブロック番号
格納部23に登録し、次に無効にされるブロックの番号
を23に登録されたブロックの次のブロック項目に登録
する。これを繰り返し、最後に無効にされるブロックの
番号をフリーリスト終了ブロック番号格納部24に登録
する。
Actually, in the free list, the number of the block to be invalidated first is registered in the free list start block number storage unit 23, and the number of the block to be invalidated next is set to the number of the block registered in 23. Register to the next block item. This is repeated, and the number of the last invalidated block is registered in the free list end block number storage unit 24.

【0020】書き込み項目には、ブロックが書き込みの
ために取り込まれたものか、読み込みのために取り込ま
れたものかを、それぞれ○,×の記号で書き込む。
In the write item, whether the block is taken in for writing or that taken in for reading is written by symbols of ○ and ×, respectively.

【0021】リモート磁気ディスク装置31上のデータ
は、データ格納部22と同じ大きさのブロックに分割さ
れ、ブロック単位でデータ格納部22に読み込まれる。
端末側コンピュータ10は、アプリケーションプログラ
ム11と、データ読み込み処理部12と、データ書き込
み処理部13とを備える。
The data on the remote magnetic disk device 31 is divided into blocks of the same size as the data storage unit 22 and read into the data storage unit 22 in block units.
The terminal-side computer 10 includes an application program 11, a data read processing unit 12, and a data write processing unit 13.

【0022】データ読み込み処理部12は、アプリケー
ションプログラム11からリモート磁気ディスク装置3
1上のデータに対して読み込み要求が供給されると、ブ
ロック管理テーブル21を検索して要求データ領域がデ
ータ格納部22にあるか否かを調べ、要求データ領域が
あればデータ格納部22のデータを読み込み、アプリケ
ーションプログラム11へ渡す。データ読み込み処理部
12は、要求データ領域がなければリモート磁気ディス
ク装置31側からデータを読み込み、データ格納部22
に格納した後そのデータをアプリケーションプログラム
11へ渡す。
The data read processing unit 12 receives data from the remote magnetic disk device 3 from the application program 11.
When a read request is supplied to the data on the data storage unit 1, the block management table 21 is searched to determine whether or not the requested data area is in the data storage unit 22. The data is read and passed to the application program 11. If there is no requested data area, the data read processing unit 12 reads data from the remote magnetic disk device 31 side,
After that, the data is passed to the application program 11.

【0023】データ書き込み処理部13は、アプリケー
ションプログラム11から書き込み要求が供給される
と、ブロック管理テーブル21を検索して要求データ領
域がデータ格納部22上にあるか否かを調べ、あればデ
ータ格納部22に対して上書きをする。データ書き込み
処理部13は、要求データ領域がなければ、データ格納
部22に新しくブロックを確保してデータを書き込む。
When a write request is supplied from the application program 11, the data write processing unit 13 searches the block management table 21 to determine whether or not the requested data area is on the data storage unit 22. The storage unit 22 is overwritten. If there is no requested data area, the data write processing unit 13 secures a new block in the data storage unit 22 and writes the data.

【0024】次に、図1,図2を参照してリモートディ
スク装置アクセスシステム1の動作を説明する。先ず、
読み込み処理について説明する。アプリケーションプロ
グラム11がデータ読み込み処理部12に対してリモー
ト磁気ディスク装置31内のデータの読み込み要求を出
す。データ読み込み処理部12は、ブロック管理テーブ
ル21を検索して、アプリケーションプログラム11の
要求するデータを含むデータ領域がデータ格納部22に
あるかどうかを調べ、データ領域があればデータ読み込
み処理部12は、データ格納部22からデータを読み込
み、データをアプリケーションプログラム11に渡し
て、読み込み処理は終了となる。
Next, the operation of the remote disk device access system 1 will be described with reference to FIGS. First,
The reading process will be described. The application program 11 issues a request to read data in the remote magnetic disk device 31 to the data read processing unit 12. The data read processing unit 12 searches the block management table 21 to determine whether a data area including data requested by the application program 11 is present in the data storage unit 22. If there is a data area, the data read processing unit 12 Then, the data is read from the data storage unit 22, the data is passed to the application program 11, and the reading process ends.

【0025】データ読み込み処理部12は、ブロック管
理テーブル21を検索した結果、データ格納部22に要
求データ領域がないとわかれば、ネットワーク40,ネ
ットワークコンピュータ30を介してリモート磁気ディ
スク装置31からデータをブロック単位で読み出し、ブ
ロック単位で読み出したデータをデータ格納部22に格
納するとともに、リモート磁気ディスク装置31側から
読み出したデータをアプリケーションプログラム11に
渡して、読み込み処理は終了となる。
When the data read processing unit 12 searches the block management table 21 and finds that there is no required data area in the data storage unit 22, the data read processing unit 12 reads data from the remote magnetic disk device 31 via the network 40 and the network computer 30. The data is read out in units of blocks, the data read out in units of blocks is stored in the data storage unit 22, and the data read out from the remote magnetic disk device 31 is passed to the application program 11 to complete the reading process.

【0026】データ格納部22にデータを格納するとき
は、それまでデータ格納部22上にあったブロックを無
効にして上書きするが、上書きされるブロックは、フリ
ーリスト開始ブロック番号格納部23に登録されている
ブロックを使う。ブロック管理テーブル21には、デー
タ格納部22上の選ばれたブロックにリモート磁気ディ
スク装置31上のどのブロックが対応しているかという
情報が書き込まれる。
When data is stored in the data storage unit 22, the block existing on the data storage unit 22 is invalidated and overwritten. The overwritten block is registered in the free list start block number storage unit 23. Use the block that has been set. In the block management table 21, information indicating which block on the remote magnetic disk device 31 corresponds to the selected block on the data storage unit 22 is written.

【0027】次に、書き込み処理について説明する。ア
プリケーションプログラム11がデータ書き込み処理部
13に対してリモート磁気ディスク装置31データ書き
込み要求を出す。データ書き込み処理部13は、ブロッ
ク管理テーブル 21を検索してアプリケーションプロ
グラム11の要求するデータ領域がデータ格納部22に
あるか調べ、データ領域があればデータ格納部22にデ
ータを上書きする。データ領域がなければ、データ格納
部22上に新しいブロックを確保して、そこにデータを
書き込む。この場合、それまでブロックに格納されてい
た情報をリモート磁気ディスク装置31上の対応するブ
ロックに書き戻してから、新しいデータを書き込む。
Next, the writing process will be described. The application program 11 issues a data write request to the remote magnetic disk device 31 to the data write processing unit 13. The data write processing unit 13 searches the block management table 21 to determine whether a data area requested by the application program 11 is present in the data storage unit 22, and if there is a data area, overwrites the data in the data storage unit 22. If there is no data area, a new block is secured on the data storage unit 22 and data is written there. In this case, the information previously stored in the block is written back to the corresponding block on the remote magnetic disk device 31, and then new data is written.

【0028】書き込み処理の場合も、読み込み処理の場
合と同様に、フリーリスト開始ブロック番号格納部23
に登録されたブロックが新データのために無効にされる
ブロックとなり、ブロックの取り込みと同時にテーブル
の更新が行なわれる。書き込みの場合は、データ格納部
22上のデータ内容がリモート磁気ディスク装置31上
のデータ内容と異なってしまうので、アプリケーション
プログラム11の書き込み要求がひととおり終ったとき
に、データ格納部22上のデータ領域をリモート磁気デ
ィスク装置31へ書き戻す。これにより、一時データ記
憶用磁気ディスク装置20に格納されているデータの内
容とリモート磁気ディスク装置31に格納されているデ
ータの内容とを一致させることができる。
In the case of the write process, similarly to the case of the read process, the free list start block number storage section 23
Becomes a block that is invalidated due to new data, and the table is updated at the same time as the block is fetched. In the case of writing, since the data content in the data storage unit 22 differs from the data content in the remote magnetic disk device 31, when the writing request of the application program 11 is completed, the data content in the data storage unit 22 is completed. The area is written back to the remote magnetic disk device 31. Thereby, the content of the data stored in the temporary data storage magnetic disk device 20 and the content of the data stored in the remote magnetic disk device 31 can be matched.

【0029】次に、同じアプリケーションプログラム1
1のなかで読み込みと書き込みの要求が混在する場合に
ついて説明する。データの書き込み処理の後、アプリケ
ーションプログラム11から読み込み要求があったとす
る。データ読み込み処理部12は、ブロック管理テーブ
ル21を検索してアプリケーションプログラム11の要
求するデータを含むデータ領域がデータ格納部22にあ
るか調べ、データがあればデータ格納部22からデータ
を読み出し、データ格納部22から読み出したデータを
アプリケーションプログラム11へ渡す。
Next, the same application program 1
A case in which read and write requests are mixed in 1 will be described. It is assumed that after the data write processing, a read request is issued from the application program 11. The data read processing unit 12 searches the block management table 21 to determine whether a data area including the data requested by the application program 11 is present in the data storage unit 22. If there is data, the data read processing unit 12 reads the data from the data storage unit 22; The data read from the storage unit 22 is passed to the application program 11.

【0030】データ格納部22にデータがなければリモ
ート磁気ディスク装置31からデータをブロック単位で
データ格納部22に取り込み、そのデータをアプリケー
ションプログラム11へ渡して、処理を終了する。この
場合、上記説明と同様に、データ格納部22上でブロッ
ク交換が必要になるが、ブロック管理テーブル21に基
づいて、これから無効にするブロックが書き込みのため
のデータを持っていた場合は、その内容をリモート磁気
ディスク装置31上の対応するブロックに書き戻してか
ら後に、アプリケーションプログラム11側が要求する
データに対応するブロックのデータをリモート磁気ディ
スク装置31上の対応するブロックから読み出して取り
込む。
If there is no data in the data storage unit 22, the data is fetched from the remote magnetic disk device 31 into the data storage unit 22 in block units, and the data is passed to the application program 11, and the processing is terminated. In this case, similarly to the above description, it is necessary to perform block exchange on the data storage unit 22. If the block to be invalidated based on the block management table 21 has data for writing, After the contents are written back to the corresponding block on the remote magnetic disk device 31, the data of the block corresponding to the data requested by the application program 11 is read out from the corresponding block on the remote magnetic disk device 31 and taken in.

【0031】また、同じアプリケーションプログラム1
1のなかで、データ読み込み処理の後に書き込み要求が
ある場合、データ書き込み処理部13は、ブロック管理
テーブル21を検索して要求データ領域がデータ格納部
22にあるかを調べる。データがあれば、書き込み処理
部13は、データ格納部22にデータを上書きする。ブ
ロックがもともと読み込みのためにデータ格納部22に
取り込まれた場合には、ブロック管理テーブル21にそ
の旨の情報を書き込んでおく。データ格納部22に要求
データを含むブロックがなければ、データ書き込み処理
部13は、データ格納部22上に新しくブロックを確保
し、そこにデータを書き込む。データ書き込み処理部1
3は、読み込み/書き込みの混在した処理が終ると、デ
ータ格納部22上のブロックの内容をリモート磁気ディ
スク装置31に反映させる。
The same application program 1
If there is a write request after the data reading process in 1, the data write processing unit 13 searches the block management table 21 to check whether the requested data area is in the data storage unit 22. If there is data, the write processing unit 13 overwrites the data in the data storage unit 22. When a block is originally taken into the data storage unit 22 for reading, information to that effect is written in the block management table 21. If there is no block containing the requested data in the data storage unit 22, the data write processing unit 13 secures a new block on the data storage unit 22, and writes the data there. Data write processing unit 1
3 reflects the contents of the block on the data storage unit 22 to the remote magnetic disk device 31 when the mixed read / write processing ends.

【0032】図2を参照して、ブロック管理テーブル2
1基づいてデータ格納部22上のデータをブロック単位
での管理する動作を説明する。読み込み処理で、データ
格納部22上のブロックの交換が必要になったときは、
フリーリスト開始ブロック番号格納部23に登録された
ブロック(n)が交換対象になる。ここではまず、nの
テーブル上の項目「書き込み」が、○か×か調べる。○
の場合は、そのブロックが書き込みのために取り込まれ
たブロックであることを示しているので、ブロックの内
容をリモート磁気ディスク装置31の対応するブロック
(Ya)に書き込む。この後、データブロック(Yb)
は、ブロックnに読み込まれる。
Referring to FIG. 2, block management table 2
The operation of managing the data in the data storage unit 22 in block units based on No. 1 will be described. When it is necessary to replace blocks on the data storage unit 22 in the reading process,
The block (n) registered in the free list start block number storage unit 23 is to be replaced. Here, first, it is checked whether the item “write” on the table of n is ○ or ×. ○
In the case of (1), this indicates that the block is a block taken in for writing, so that the contents of the block are written into the corresponding block (Ya) of the remote magnetic disk device 31. Thereafter, the data block (Yb)
Is read into block n.

【0033】データが読み込まれたら、データ読み込み
処理部12は、ブロック管理テーブル21を更新する。
まず、ブロック番号nのエントリの対応する「リモート
ブロック」には、Ybが入れられる。ブロックnは、フ
リーリストの最後尾になるので「次のブロック」は−−
−とする。「書き込み」の項目は、×とする。nは、デ
ータ格納部22上で最新のブロックになり、フリーリス
ト終了ブロック番号格納部24に登録される。同時に関
連するブロックの情報も更新される。フリーリスト上
で、nの次のブロックであるmが、フリーリストの先頭
になり、フリーリスト開始ブロック番号格納部23に登
録される。また、今まで、フリーリストの最後尾であっ
たlの「次のブロック」には、nが入れられる。
When the data is read, the data read processing unit 12 updates the block management table 21.
First, Yb is put in the “remote block” corresponding to the entry of the block number n. Since the block n is at the end of the free list, the “next block” is
-. The item of “writing” is x. n becomes the latest block on the data storage unit 22 and is registered in the free list end block number storage unit 24. At the same time, the information of the related block is updated. On the free list, m, which is the block next to n, becomes the head of the free list and is registered in the free list start block number storage unit 23. Until now, n is put in the “next block” of l, which is the last part of the free list.

【0034】次に書き込み処理で、データ格納部22上
のブロック交換が行なわれる場合を説明する。この場合
も交換ブロックを探す方法は、読み込み処理の場合と同
じだが、ブロック管理テーブル21の「書き込み」項目
が更新される。データ書き込み処理部13は、「書き込
み」項目が×(読み込み処理のためのブロック)であれ
ば○に書き換える。
Next, a case where a block exchange on the data storage unit 22 is performed in the writing process will be described. In this case, the method of searching for a replacement block is the same as in the case of the reading process, but the “write” item in the block management table 21 is updated. If the “write” item is “x” (block for read processing), the data write processing unit 13 rewrites it to “○”.

【0035】以上の構成であるから図1に示したリモー
トディスク装置アクセスシステム1は、端末側の磁気デ
ィスク装置の容量不足を、ネットワークを介して接続さ
れた他コンピュータの磁気ディスク装置を利用すること
で補うという対処をするとき、ローカルな磁気ディスク
装置を一時データ記憶部として利用することができる。
一時データ記憶部として利用する磁気ディスク装置は、
ブロック単位で管理するので、ネットワークを介さず直
接接続された磁気ディスク装置にファイル単位でデータ
を一時的に格納していた従来のシステムと比較して、記
憶容量が限られたローカルな磁気ディスク装置を有効に
使うことができる。
With the above configuration, the remote disk device access system 1 shown in FIG. 1 uses the magnetic disk device of another computer connected via a network to reduce the capacity shortage of the magnetic disk device on the terminal side. When the countermeasure of the above is used, a local magnetic disk device can be used as a temporary data storage unit.
The magnetic disk device used as a temporary data storage unit is
A local magnetic disk drive with limited storage capacity compared to a conventional system that temporarily stores data in file units on a magnetic disk drive directly connected without a network because it is managed in blocks. Can be used effectively.

【0036】また、端末側コンピュータ10に直接接続
された一時データ記憶用磁気ディスク装置20に適切な
データが格納されていれば、アプリケーションプログラ
ムが要求するデータを一時データ記憶用磁気ディスク装
置20から直接読み出したり、アプリケーションプログ
ラムが要求するデータを一時データ記憶用磁気ディスク
装置20に直接書き込むことができる。したがって、ネ
ットワークを介してリモート磁気ディスク装置のデータ
を読み込み、または、書き込む従来の構成よりも、読み
込み、書き込み処理の速度が大幅に向上する。またネッ
トワークの負荷に左右されにくくなり、ネットワークを
介して接続されているリモート磁気ディスク装置を安定
にかつ高速に利用できる。
If the appropriate data is stored in the temporary data storage magnetic disk device 20 directly connected to the terminal side computer 10, the data requested by the application program can be directly transmitted from the temporary data storage magnetic disk device 20. It is possible to read and write data requested by the application program directly to the magnetic disk device 20 for temporary data storage. Therefore, the speed of the reading and writing processes is greatly improved as compared with the conventional configuration for reading or writing data of the remote magnetic disk device via the network. In addition, the remote magnetic disk device connected via the network is less affected by the load on the network, and can be used stably and at high speed.

【0037】次に、本発明の他の実施の形態について説
明する。図3はこの発明に係る他のリモートディスク装
置アクセスシステムのブロック構成図、図4はブロック
管理テーブルに基づいてデータ格納部のデータをブロッ
ク管理する動作を示す説明図である。
Next, another embodiment of the present invention will be described. FIG. 3 is a block diagram of another remote disk device access system according to the present invention, and FIG. 4 is an explanatory diagram showing an operation of performing block management of data in a data storage unit based on a block management table.

【0038】図3に示すリモートディスク装置アクセス
システム2は、端末側コンピュータ50と、サーバまた
はホスト側であるネットワークコンピュータ30とをネ
ットワーク40を介して接続してなる。端末側コンピュ
ータ50には、ローカルディスク装置として一時データ
記憶用磁気ディスク装置60が接続される。ネットワー
クコンピュータ30には、リモートディスク装置として
リモート磁気ディスク装置31が接続される。なお、ロ
ーカルディスク装置ならびにリモートディスク装置は、
磁気ディスク以外の光ディスク,光ディスク装置等を用
いて構成してもよい。
The remote disk device access system 2 shown in FIG. 3 is configured by connecting a terminal-side computer 50 and a network computer 30 which is a server or a host via a network 40. A magnetic disk device 60 for temporary data storage is connected to the terminal-side computer 50 as a local disk device. A remote magnetic disk device 31 is connected to the network computer 30 as a remote disk device. The local disk device and remote disk device are
An optical disk other than a magnetic disk, an optical disk device, or the like may be used.

【0039】端末側コンピュータ50は、アプリケーシ
ョンプログラム11と、データ読み込み処理部12と、
データ書き込む処理部13とを備えるとともに、ブロッ
ク管理テーブル51とフリーリスト開始ブロック番号格
納部53とフリーリスト終了ブロック番号格納部54と
を端末側コンピュータ50のメモリ52上に配置してい
る。図1に示したものでは、ブロック管理テーブル2
1,各ブロック番号格納部23,24を一時データ記憶
用ディスク装置20側に設け、端末側コンピュータ10
は一時データ記憶用ディスク装置20にアクセスするこ
とで、ブロック管理データ,開始・終了ブロック番号デ
ータ等を得ている。これに対して、図3に示したもので
は、ブロック管理テーブル51,各ブロック番号格納部
53,54を端末側コンピュータ50のメモリ52上に
配置しているので、ブロック管理データ,開始・終了ブ
ロック番号データ等に対して高速にアクセスできる。こ
れによって、ブロック管理処理の高速化を図っている。
The terminal-side computer 50 includes an application program 11, a data read processing unit 12,
A data write processing unit 13 is provided, and a block management table 51, a free list start block number storage unit 53, and a free list end block number storage unit 54 are arranged on the memory 52 of the terminal-side computer 50. In the example shown in FIG. 1, the block management table 2
1, the block number storage sections 23 and 24 are provided on the temporary data storage disk device 20 side, and the terminal side computer 10
Obtains block management data, start / end block number data, etc. by accessing the temporary data storage disk device 20. On the other hand, in the configuration shown in FIG. 3, since the block management table 51 and the respective block number storages 53 and 54 are arranged in the memory 52 of the terminal-side computer 50, the block management data, the start / end block High-speed access to number data, etc. Thus, the speed of the block management process is increased.

【0040】次に、図3に示したリモートディスク装置
アクセスシステム2の動作を説明する。先ず、読み込み
処理について説明する。アプリケーションプログラム1
1がリモート磁気ディスク装置31に対して読み込み要
求を発生すると、データ読み込み処理部12は、ブロッ
ク管理テーブル51を検索してアプリケーションプログ
ラム11の要求するデータ領域がデータ格納部22にあ
るかどうかを調べる。データ読み込み処理部12は、ア
プリケーションプログラム11側から要求されているデ
ータを含む領域のデータが一時データ記憶用磁気ディス
ク装置60に格納されている場合には、データ格納部2
2から要求データ領域のデータを読み出し、読み出した
データの全部またはアプリケーションプログラム11が
要求するデータの部分をアプリケーションプログラム1
1へ渡して、読み込み処理を終了する。
Next, the operation of the remote disk device access system 2 shown in FIG. 3 will be described. First, the reading process will be described. Application program 1
When 1 issues a read request to the remote magnetic disk device 31, the data read processing unit 12 searches the block management table 51 and checks whether the data area requested by the application program 11 is in the data storage unit 22. . If the data in the area including the data requested by the application program 11 is stored in the temporary data storage magnetic disk device 60, the data read processing unit 12
2 is read from the requested data area, and all of the read data or a portion of the data requested by the application program 11 is stored in the application program 1.
1 to end the reading process.

【0041】データ読み込み処理部12は、ブロック管
理テーブル51を検索した結果、データ格納部22に要
求データを含む領域がないと分かれば、リモート磁気デ
ィスク装置31からデータをブロック単位で読み出し
て、リモート磁気ディスク装置31から読み出したブロ
ック単位のデータを一時データ記憶用磁気ディスク装置
60のデータ格納部22に格納するとともに、リモート
磁気ディスク装置31から読み出したデータをアプリケ
ーションプログラム11へ渡して、読み込み処理を終了
する。
If the data read processing unit 12 searches the block management table 51 and finds that there is no area containing the requested data in the data storage unit 22, the data read processing unit 12 reads the data from the remote magnetic disk device 31 in block units, The block data read from the magnetic disk device 31 is stored in the data storage unit 22 of the magnetic disk device 60 for temporary data storage, and the data read from the remote magnetic disk device 31 is passed to the application program 11 to perform a read process. finish.

【0042】データ格納部22にデータを格納(書き込
む)するときには、それまでデータ格納部22上にあっ
たブロックを無効にし上書きするが、上書きされるブロ
ックは、フリーリスト開始ブロック番号格納部53に登
録されているブロックを使う。ブロック管理テーブル5
1には、データ格納部22上の選ばれたブロックがリモ
ート磁気ディスク31上のどのブロックに対応している
かという情報が書き込まれる。
When data is stored (written) in the data storage unit 22, the block previously stored in the data storage unit 22 is invalidated and overwritten, but the overwritten block is stored in the free list start block number storage unit 53. Use the registered block. Block management table 5
In 1, information indicating which block on the remote magnetic disk 31 the selected block on the data storage unit 22 corresponds to is written.

【0043】次に、書き込み処理について説明する。ア
プリケーションプログラム11がリモート磁気ディスク
装置31に対して書き込み要求を発生すると、データ書
き込み処理部13は、ブロック管理テーブル51を検索
してアプリケーションプログラム11の要求するデータ
領域がデータ格納部22にあるか調べ、データ領域があ
ればデータ格納部22にデータを上書きする。データ領
域がなければ、データ格納部22上に新しいブロックを
確保して、そこにデータを書き込む。この場合、データ
書き込み処理部13は、それまでブロックに格納されて
いた情報をリモート磁気ディスク装置31上の対応する
ブロックに書き戻してから、新しいデータを書き込む。
Next, the writing process will be described. When the application program 11 issues a write request to the remote magnetic disk device 31, the data write processing unit 13 searches the block management table 51 and checks whether the data area requested by the application program 11 is in the data storage unit 22. If there is a data area, the data is overwritten in the data storage unit 22. If there is no data area, a new block is secured on the data storage unit 22 and data is written there. In this case, the data write processing unit 13 writes the new data after writing the information previously stored in the block back to the corresponding block on the remote magnetic disk device 31.

【0044】書き込み処理の場合も、読み込み処理の場
合と同様に、フリーリスト開始ブロック番号格納部53
に登録されたブロックが新データのために無効にされる
ブロックとなり、ブロックの取り込みと同時にテーブル
の更新が行なわれる。書き込みの場合は、データ格納部
22上のデータの内容が、リモート磁気ディスク装置3
1に格納されているデータの内容と一時的に異なってし
まう。したがって、データ書き込み処理部13は、アプ
リケーションプログラム11側からの書き込み要求がひ
ととおり終ったときに、データ格納部22上のデータを
リモート磁気ディスク装置31に書き戻す。これによ
り、一時データ記憶用磁気ディスク装置60に格納され
ているデータの内容とリモート磁気ディスク装置31に
格納されているデータの内容とを一致させることができ
る。
In the case of the writing process, similarly to the case of the reading process, the free list start block number storage 53
Becomes a block that is invalidated due to new data, and the table is updated at the same time as the block is fetched. In the case of writing, the contents of the data in the data storage unit 22 are stored in the remote magnetic disk device 3.
1 is temporarily different from the contents of the data stored in the first data. Therefore, the data write processing unit 13 writes the data in the data storage unit 22 back to the remote magnetic disk device 31 when one write request from the application program 11 is completed. As a result, the contents of the data stored in the temporary data storage magnetic disk device 60 and the contents of the data stored in the remote magnetic disk device 31 can be matched.

【0045】次に、同じアプリケーションプログラム1
1のなかで読み込みと書き込みの要求が混在する場合に
ついて説明する。データの書き込み処理のあと、アプリ
ケーションプログラム11から読み込み要求があったと
する。データ読み込み処理部12は、ブロック管理テー
ブル51を検索してアプリケーションプログラム11の
要求するデータ領域がデータ格納部22にあるか調べ、
データ領域があればデータ格納部22からデータを読み
込んで、アプリケーションプログラム11に渡す。デー
タ格納部22にデータ領域がなければリモート磁気ディ
スク装置31からデータをブロック単位でデータ格納部
22に取り込み、そのデータをアプリケーションプログ
ラム11に渡して、処理を終了する。
Next, the same application program 1
A case in which read and write requests are mixed in 1 will be described. It is assumed that a read request is received from the application program 11 after the data write processing. The data read processing unit 12 searches the block management table 51 to check whether the data area requested by the application program 11 exists in the data storage unit 22.
If there is a data area, the data is read from the data storage unit 22 and passed to the application program 11. If there is no data area in the data storage unit 22, the data is fetched from the remote magnetic disk device 31 into the data storage unit 22 in block units, the data is passed to the application program 11, and the processing is terminated.

【0046】この場合、上記説明と同様に、データ格納
部22上でブロック交換が必要になるが、ブロック管理
テーブル51を参照し、これから無効にするブロックが
書き込みのためのデータを持っていた場合は、その内容
をリモート磁気ディスク31上の対応するブロックに書
き戻してから、リモート磁気ディスク31からアプリケ
ーションプログラム11側の要求に対応するブロックを
読み込む。また、同じアプリケーションプログラム11
のなかで、データ読み込み処理の後に書き込み要求があ
ると、データ書き込み処理部13は、ブロック管理テー
ブル51を検索して要求データ領域がデータ格納部22
にあるかを調べる。
In this case, as in the above description, it is necessary to exchange blocks on the data storage unit 22. If the block to be invalidated has data for writing, the block management table 51 is referred to. Writes the content back to the corresponding block on the remote magnetic disk 31, and then reads the block corresponding to the request from the application program 11 from the remote magnetic disk 31. In addition, the same application program 11
When there is a write request after the data read processing, the data write processing unit 13 searches the block management table 51 and finds that the requested data area is in the data storage unit 22.
Find out if there is.

【0047】データがあれば、書き込み処理部13は、
データ格納部22にデータを上書きする。ブロックがも
ともと読み込みのためにデータ格納部22に取り込まれ
た場合には、ブロック管理テーブル51にその旨の情報
を書き込んでおく。データ格納部22に要求データ領域
を含むブロックがなければ、データ書き込み処理部13
はデータ格納部22上に新しくブロックを確保し、新し
く確保したブロックにデータを書き込む。データ書き込
み処理部13は、読み込み/書き込みの混在した処理が
終るとデータ格納部22上のブロックの内容を、リモー
ト磁気ディスク装置31に反映させる。
If there is data, the write processing unit 13
The data is overwritten in the data storage unit 22. When a block is originally loaded into the data storage unit 22 for reading, information to that effect is written in the block management table 51. If there is no block including the requested data area in the data storage unit 22, the data write processing unit 13
Secures a new block on the data storage unit 22, and writes data to the newly secured block. The data write processing unit 13 reflects the contents of the block on the data storage unit 22 to the remote magnetic disk device 31 when the mixed read / write processing ends.

【0048】次に、図4を参照して、ブロック管理テー
ブル51に基づいてデータ格納部22上のデータをブロ
ック単位で管理する動作を説明する。読み込み処理で、
データ格納部22上のブロックの交換が必要になったと
きは、フリーリスト開始ブロック番号格納部53に登録
されたブロック(n)が交換対象になる。ここではま
ず、nのテーブル上の項目「書き込み」が、○か×か調
べる。○の場合は、そのブロックが書き込みのために取
り込まれたブロックであることを示すので、ブロックの
内容をリモート磁気ディスク装置31の対応するブロッ
ク(Ya)に書き込む。この後、データブロック(Y
b)は、ブロック番号nに読み込まれる。データが読み
込まれたら、データ読み込み処理部12は、ブロック管
理テーブル51を更新する。
Next, an operation of managing data in the data storage unit 22 on a block basis based on the block management table 51 will be described with reference to FIG. In the reading process,
When the exchange of the blocks on the data storage unit 22 becomes necessary, the block (n) registered in the free list start block number storage unit 53 becomes an exchange target. Here, first, it is checked whether the item “write” on the table of n is ○ or ×. In the case of ○, it indicates that the block is a block fetched for writing, so the contents of the block are written to the corresponding block (Ya) of the remote magnetic disk device 31. Thereafter, the data block (Y
b) is read into the block number n. When the data is read, the data read processing unit 12 updates the block management table 51.

【0049】まず、「ブロック番号」nのエントリの
「対応するリモートブロック」には、Ybが入れられ
る。ブロック番号nは、フリーリストの最後尾になるの
で「次のブロック」は−−−とする。「書き込み」の項
目は、×とする。nは、データ格納部22上で最新のブ
ロックになり、フリーリスト終了ブロック番号格納部5
4に登録される。同時に関連するブロックの情報も更新
される。フリーリスト上で、nの次のブロックであるm
が、フリーリストの先頭になり、フリーリスト終了ブロ
ック番号格納部54に登録される。また、今まで、フリ
ーリストの最後尾であったlの「次のブロック」には、
nが入れられる。
First, Yb is entered in the “corresponding remote block” of the entry of “block number” n. Since the block number n is at the end of the free list, the "next block" is "---". The item of “writing” is x. n is the latest block on the data storage unit 22, and the free list end block number storage unit 5
4 is registered. At the same time, the information of the related block is updated. On the free list, the next block of n, m
Becomes the head of the free list and is registered in the free list end block number storage unit 54. Until now, the “next block” of l, which was the end of the free list,
n is entered.

【0050】次に書き込み処理で、データ格納部22上
のブロック交換が行なわれる場合を説明する。この場合
も交換ブロックを探す方法(動作手順)は、読み込み処
理の場合と同じだが、ブロック管理テーブル41の「書
き込み」項目が更新される。データ書き込み処理部13
は、「書き込み」項目が×(読み込み処理のためのブロ
ック)であれば○に書き換える。
Next, a case where a block exchange on the data storage unit 22 is performed in the writing process will be described. In this case as well, the method (operation procedure) of searching for a replacement block is the same as in the case of the reading process, but the “write” item of the block management table 41 is updated. Data write processing unit 13
Is rewritten to ○ if the “write” item is × (block for read processing).

【0051】[0051]

【発明の効果】以上説明したようにこの発明に係るリモ
ートディスク装置アクセスシステムは、ローカルディス
ク装置を一時データ記憶部として利用し、かつ、ローカ
ルディスク装置をブロック単位で管理する構成としたの
で、従来のファイル単位でコピーする方式と比較して、
記憶容量の限られたローカルディスク装置を有効に利用
することができる。ローカルディスク装置に適切なデー
タが格納されることで、ネットワークを介してリモート
ディスク装置へ対するアクセスが減少され、ローカルデ
ィスク装置に対するアクセスが主となるので、データの
書き込み・読み出し処理速度が向上する。
As described above, the remote disk device access system according to the present invention uses the local disk device as a temporary data storage unit and manages the local disk device in block units. Compared to the method of copying in file units of
The local disk device having a limited storage capacity can be used effectively. By storing appropriate data in the local disk device, access to the remote disk device via the network is reduced, and access to the local disk device is mainly performed, thereby improving the data write / read processing speed.

【0052】また、リモートディスク装置ならびにロー
カルディスク装置に対してブロック単位でアクセスする
ため、従来のファイル単位のアクセスよりもデータ転送
容量が減少される。このため、ネットワークの負荷を減
少させることができ、ネットワークの負荷が高い場合で
もリモートディスク装置へ安定にかつ高速にアクセスで
きる。さらに、端末側のコンピュータのメモリ上にブロ
ック管理テーブルを配置することで、ブロック管理を高
速に行なうことができる。
Further, since the remote disk device and the local disk device are accessed in block units, the data transfer capacity is reduced as compared with the conventional file unit access. For this reason, the load on the network can be reduced, and stable and high-speed access to the remote disk device can be achieved even when the load on the network is high. Further, by arranging the block management table on the memory of the terminal-side computer, the block management can be performed at high speed.

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

【図1】 この発明に係るリモートディスク装置アクセ
スシステムのブロック構成図
FIG. 1 is a block diagram of a remote disk device access system according to the present invention;

【図2】 図1の構成においてブロック管理テーブルに
基づいてデータ格納部のデータをブロック管理する動作
を示す説明図
FIG. 2 is an explanatory diagram showing an operation of performing block management of data in a data storage unit based on a block management table in the configuration of FIG. 1;

【図3】 この発明に係る他のリモートディスク装置ア
クセスシステムのブロック構成図
FIG. 3 is a block diagram of another remote disk device access system according to the present invention;

【図4】 図3の構成においてブロック管理テーブルに
基づいてデータ格納部のデータをブロック管理する動作
を示す説明図
FIG. 4 is an explanatory diagram showing an operation of performing block management of data in a data storage unit based on a block management table in the configuration of FIG. 3;

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

1,2 リモートディスク装置アクセスシステム 10,50 端末側コンピュータ 11 アプリケーションプログラム 12 データ読み込み処理部 13 データ書き込み処理部 20,60 一時データ記憶用磁気ディスク装置 21,51 ブロック管理テーブル 22 データ格納部 23,53 フリーリスト開始ブロック番号格納部 24,54 フリーリスト終了ブロック番号格納部 30 ネットワークコンピュータ 31 リモート磁気ディスク 40 ネットワーク 1, Remote disk device access system 10, 50 Terminal side computer 11 Application program 12 Data read processing unit 13 Data write processing unit 20, 60 Temporary data storage magnetic disk device 21, 51 Block management table 22 Data storage unit 23, 53 Free list start block number storage unit 24, 54 Free list end block number storage unit 30 Network computer 31 Remote magnetic disk 40 Network

フロントページの続き (56)参考文献 特開 平3−87939(JP,A) 特開 平4−181444(JP,A) 特開 平5−100926(JP,A) 特開 平6−12388(JP,A) 特開 平6−35769(JP,A) 特開 平6−290090(JP,A) 特開 平8−69401(JP,A) 特開 平9−81429(JP,A) 特開 平9−204358(JP,A) 特開 平9−244931(JP,A) 特開 平9−288677(JP,A) 特開 平10−31604(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 Continuation of the front page (56) References JP-A-3-87939 (JP, A) JP-A-4-181444 (JP, A) JP-A-5-100926 (JP, A) JP-A-6-12388 (JP) JP-A-6-35769 (JP, A) JP-A-6-290090 (JP, A) JP-A-8-69401 (JP, A) JP-A-9-81429 (JP, A) 9-204358 (JP, A) JP-A-9-244931 (JP, A) JP-A-9-288677 (JP, A) JP-A-10-31604 (JP, A) (58) Fields investigated (Int. Cl. 7, DB name) G06F 12/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ネットワークを介して接続され、一定長
のブロックに分割された記憶領域を有するリモートディ
スク装置を記憶装置として利用して、端末側のコンピュ
ータでアプリケーションプログラムを実行するよう構成
されたリモートディスク装置アクセスシステムにおい
て、前記リモートディスク装置と同じ大きさのブロックに分
割された記憶領域を有し、 前記端末側のコンピュータ
データの一時的な記憶領域として利用されるローカルデ
ィスク装置を備え、 前記端末側のコンピュータは、 前記アプリケーションプログラムからの前記リモートデ
ィスク装置に対するデータの読み込み要求および書き込
み要求に応じて前記リモートディスク装置から読み込ん
だデータまたは書き込もうとするデータを、それらデー
タの前記リモートディスク装置内におけるブロックに対
応付けて、前記ローカルディスク装置内のブロックに格
納し、 該格納の際、格納しようとするブロックに、前記リモー
トディスク装置に対する書込用データが既に格納されて
いた場合、その書込用データを、対応付けられている前
記リモートディスク装置内のブロックへ書き込む ことを
特徴とするリモートディスク装置アクセスシステム。
1. A fixed length connection via a network
In a remote disk device access system configured to execute an application program on a terminal-side computer using a remote disk device having a storage area divided into blocks as a storage device, the same size as the remote disk device is used. Minutes into blocks
A local disk device having a divided storage area and used as a temporary storage area for data in the terminal-side computer , wherein the terminal-side computer stores data from the application program for the remote disk device. Read from the remote disk device in response to a read request and a write request of
Data to be written or data to be written
Block in the remote disk device of the
Corresponding to the block in the local disk device.
At the time of the storage, the remote
Data for writing to the disk drive has already been stored.
If there is, the write data is
A remote disk device access system for writing to a block in the remote disk device.
【請求項2】 前記端末側のコンピュータはデータ読み
込み処理部を備えるとともに、前記ローカルディスク装
置はブロック管理テーブル、および、最初に無効にされ
るブロックを示す情報が格納されたフリーリスト開始ブ
ロック情報格納部を備え、 前記データ読み込み処理部は、前記アプリケーションプ
ログラムからの前記リモートディスク装置に格納された
データの読み込み要求に対して、前記ブロック管理テー
ブルを検索し、 要求データが格納された前記リモートディスク装置内の
ブロックに対応するブロックが、前記ローカルディスク
装置内に存在する場合は、そのブロックから該要求デー
タを読み出して前記アプリケーションプログラムへ渡
、 要求データが格納された前記リモートディスク装置内の
ブロックに対応するブ ロックが、前記ローカルディスク
装置内に存在しない場合は、前記ネットワークを介して
前記リモートディスク装置から要求データを読み出
て前記アプリケーションプログラムへ渡すとともに、該
要求データを、前記フリーリスト開始ブロック情報格納
部に格納された情報によって指定される前記ローカルデ
ィスク装置内のブロックに、該要求データが格納されて
いたリモートディスク装置のブロックと対応付けて格納
することを特徴とする請求項1記載のリモートディスク
装置アクセスシステム。
2. The terminal-side computer includes a data read processing unit, the local disk device has a block management table , and is first invalidated.
Start list that stores information indicating the
A lock information storage unit, the data reading processing unit, to the read request of data stored in the remote disk device from said application program, searches the block management table, the request data is stored the In the remote disk device
The block corresponding to the block is the local disk
If the request data exists in the device, the request data is read from the block and passed to the application program.
And in the remote disk device where the request data is stored.
Block is the local disk corresponding to the block
If not in the apparatus, Shi read out the requested data from the remote disk apparatus via the network
To the application program, and
Request data is stored in the free list start block information
The local data specified by the information stored in the
The request data is stored in a block in the disk device.
Stored in association with the remote disk unit block
2. The remote disk device access system according to claim 1, wherein:
【請求項3】 前記端末側のコンピュータはデータ書き
込み処理部を備えるとともに、前記ローカルディスク装
置はブロック管理テーブル、および、最初に無効にされ
るブロックを示す情報が格納されたフリーリスト開始ブ
ロック情報格納部を備え、 前記データ書き込み処理部は、前記アプリケーションプ
ログラムからの前記リモートディスク装置に対するデー
タ書き込み要求に対して、前記ブロック管理テーブルを
検索し、要求データを書き込もうとする前記リモートディスク装
置内のブロックに対応するブロックが、前記ローカルデ
ィスク装置内に存在する場合は、そのブロック のデータ
に対して上書き処理を実行し、要求データを書き込もうとする前記リモートディスク装
置内のブロックに対応するブロックが、前記ローカルデ
ィスク装置内に存在しない場合は、該要求データを、前
記フリーリスト開始ブロック情報格納部に格納された情
報によって指定される前記ローカルディスク装置内のブ
ロックへ格納する ことを特徴とする請求項1記載のリモ
ートディスク装置アクセスシステム。
3. The terminal-side computer has a data write processing unit, the local disk device has a block management table , and is first invalidated.
Start list that stores information indicating the
A lock information storage unit , wherein the data write processing unit searches the block management table in response to a data write request from the application program to the remote disk device, and writes the requested data to the remote disk device.
The block corresponding to the block in the location is the local data.
If the data exists in the disk device, the data of the block is overwritten and the requested data is written to the remote disk device.
The block corresponding to the block in the location is the local data.
If the request data does not exist in the disk device, the
Information stored in the free list start block information storage unit.
In the local disk device specified by the
2. The remote disk device access system according to claim 1, wherein the information is stored in a lock .
【請求項4】 前記端末側のコンピュータはデータ読み
込み処理部を備えるとともに、前記端末側のコンピュー
タのメモリ上にブロック管理テーブル、および、最初に
無効にされるブロックを示す情報が格納されたフリーリ
スト開始ブロック情報格納部を配置し、 前記データ読み込み処理部は、前記アプリケーションプ
ログラムからの前記リモートディスク装置に格納された
データの読み込み要求に対して、前記ブロック管理テー
ブルを検索し、 要求データが格納された前記リモートディスク装置内の
ブロックに対応するブロックが、前記ローカルディスク
装置内に存在する場合は、そのブロックから該要求デー
タを読み出して前記アプリケーションプログラムへ渡
、 要求データが格納された前記リモートディスク装置内の
ブロックに対応するブロックが、前記ローカルディスク
装置内に存在しない場合は、前記ネットワークを介して
前記リモートディスク装置から要求データを読み出
て前記アプリケーションプログラムへ渡すとともに、該
要求データを、前記フリーリスト開始ブロック情報格納
部に格納された情報によって指定される前記ローカルデ
ィスク装置内のブロックに、該要求データが格納されて
いたリモートディスク装置のブロックと対応付けて格納
することを特徴とする請求項1記載のリモートディスク
装置アクセスシステム。
4. The terminal-side computer includes a data read processing unit, a block management table in a memory of the terminal-side computer , and
Free library containing information indicating the block to be invalidated
Place the strike start block information storage unit, the data reading processing unit, to the read request of data stored in the remote disk device from said application program, searches the block management table, stores the requested data In the remote disk device
The block corresponding to the block is the local disk
If the request data exists in the device, the request data is read from the block and passed to the application program.
And in the remote disk device where the request data is stored.
The block corresponding to the block is the local disk
If not in the apparatus, Shi read out the requested data from the remote disk apparatus via the network
To the application program, and
Request data is stored in the free list start block information
The local data specified by the information stored in the
The request data is stored in a block in the disk device.
Stored in association with the remote disk unit block
2. The remote disk device access system according to claim 1, wherein:
【請求項5】 前記端末側のコンピュータはデータ書き
込み処理部を備えるとともに、前記端末側のコンピュー
タのメモリ上にブロック管理テーブル、および、最初に
無効にされるブロックを示す情報が格納されたフリーリ
スト開始ブロック情報格納部を配置し、 前記データ書き込み処理部は、前記アプリケーションプ
ログラムからの前記リモートディスク装置に対するデー
タ書き込み要求に対して、前記ブロック管理テーブルを
検索し、要求データを書き込もうとする前記リモートディスク装
置内のブロックに対応するブロックが、前記ローカルデ
ィスク装置内に存在する場合は、そのブロック のデータ
に対して上書き処理を実行し、要求データを書き込もうとする前記リモートディスク装
置内のブロックに対応するブロックが、前記ローカルデ
ィスク装置内に存在しない場合は、該要求データを、前
記フリーリスト開始ブロック情報格納部に格納された情
報によって指定される前記ローカルディスク装置内のブ
ロックへ格納する ことを特徴とする請求項1記載のリモ
ートディスク装置アクセスシステム。
5. The terminal-side computer includes a data write processing unit, a block management table on a memory of the terminal-side computer , and
Free library containing information indicating the block to be invalidated
And a data write processing unit for searching for the block management table in response to a data write request from the application program to the remote disk device, and writing the requested data to the remote control unit. Disk mount
The block corresponding to the block in the location is the local data.
If the data exists in the disk device, the data of the block is overwritten and the requested data is written to the remote disk device.
The block corresponding to the block in the location is the local data.
If the request data does not exist in the disk device, the
Information stored in the free list start block information storage unit.
In the local disk device specified by the
2. The remote disk device access system according to claim 1, wherein the information is stored in a lock .
JP10171851A 1998-06-18 1998-06-18 Remote disk unit access system Expired - Lifetime JP3033736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10171851A JP3033736B2 (en) 1998-06-18 1998-06-18 Remote disk unit access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10171851A JP3033736B2 (en) 1998-06-18 1998-06-18 Remote disk unit access system

Publications (2)

Publication Number Publication Date
JP2000010838A JP2000010838A (en) 2000-01-14
JP3033736B2 true JP3033736B2 (en) 2000-04-17

Family

ID=15930960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10171851A Expired - Lifetime JP3033736B2 (en) 1998-06-18 1998-06-18 Remote disk unit access system

Country Status (1)

Country Link
JP (1) JP3033736B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100952599B1 (en) 2007-11-16 2010-04-15 삼성에스디에스 주식회사 User computer using local disk as caching device, method for using the same and hybrid network storage system
US8782335B2 (en) * 2010-11-08 2014-07-15 Lsi Corporation Latency reduction associated with a response to a request in a storage system

Also Published As

Publication number Publication date
JP2000010838A (en) 2000-01-14

Similar Documents

Publication Publication Date Title
US7640276B2 (en) Backup system, program and backup method
US6353878B1 (en) Remote control of backup media in a secondary storage subsystem through access to a primary storage subsystem
US6366987B1 (en) Computer data storage physical backup and logical restore
US7120746B2 (en) Technique for data transfer
US20020002658A1 (en) Device and method for input/output control of a computer system for efficient prefetching of data based on lists of data read requests for different computers and time between access requests
JPH10508967A (en) System and method for on-line, real-time, data transfer technical field
JP3527765B2 (en) Program cache device
US6658541B2 (en) Computer system and a database access method thereof
US6782444B1 (en) Digital data storage subsystem including directory for efficiently providing formatting information for stored records
JP2960297B2 (en) Database system and load distribution control method
US6629199B1 (en) Digital data storage system including directory for efficiently providing formatting information for stored records and utilization of a check value for verifying that a record is from a particular storage location
US5900009A (en) System and method for accessing records in a cache slot which are associated with a current owner storage element or at least one previous owner storage element
JP3033736B2 (en) Remote disk unit access system
JPH07239808A (en) Distributed data managing system
US7421536B2 (en) Access control method, disk control unit and storage apparatus
JP3335919B2 (en) Disk cache controller
JPH10214217A (en) Network cache device and method therefor
US6594726B1 (en) Digital data storage subsystem including arrangement for efficiently controlling fast write storage operation
JP2002082833A (en) High speed data writing system using nonvolatile cache memory
JP3006204B2 (en) Information processing device
JP2000163294A (en) Method and device for managing database and machine- readable recording medium with program recorded thereon
JPH08202595A (en) File system
JP4131579B2 (en) Data management system and data management method
JP2903605B2 (en) File area management processing method
JP3313207B2 (en) Information storage device and information management method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000118