JP3307331B2 - Network file system data transfer method - Google Patents

Network file system data transfer method

Info

Publication number
JP3307331B2
JP3307331B2 JP16280198A JP16280198A JP3307331B2 JP 3307331 B2 JP3307331 B2 JP 3307331B2 JP 16280198 A JP16280198 A JP 16280198A JP 16280198 A JP16280198 A JP 16280198A JP 3307331 B2 JP3307331 B2 JP 3307331B2
Authority
JP
Japan
Prior art keywords
input
output
data
peripheral device
control means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP16280198A
Other languages
Japanese (ja)
Other versions
JPH11338792A (en
Inventor
敦久 大谷
宏幸 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP16280198A priority Critical patent/JP3307331B2/en
Publication of JPH11338792A publication Critical patent/JPH11338792A/en
Application granted granted Critical
Publication of JP3307331B2 publication Critical patent/JP3307331B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、特にサーバーと、
周辺装置と、クライアントとを有するネットワークにお
けるファイルシステムのデータ転送方法に属する。
TECHNICAL FIELD The present invention relates to a server, in particular,
It belongs to a file system data transfer method in a network having a peripheral device and a client.

【0002】[0002]

【従来の技術】従来のネットワークファイルシステムの
一例が、特開平8ー328935号公報に記載されてい
る。この従来のネットワークファイルシステムは、サー
バー計算機、クライアント計算機、記憶装置、外部記憶
装置とから構成されている。
2. Description of the Related Art An example of a conventional network file system is described in Japanese Patent Application Laid-Open No. 8-328935. This conventional network file system includes a server computer, a client computer, a storage device, and an external storage device.

【0003】このような構成を有する従来のネットワー
クファイルシステムはつぎのように動作する。
A conventional network file system having such a configuration operates as follows.

【0004】すなわち、サーバー計算機にクライアント
計算機から送信されるリモートプロシージャコールを保
持する記憶装置を具備し、受信したリモートプロシージ
ャコールが外部記憶装置上のファイルへの書き込み要求
であった場合、このリモートプロシージャコールを記憶
装置に保持するとともに即座に要求元のクライアント計
算機に応答を返送し、所定のタイミングで保持されたフ
ァイル入出力要求を該サーバー計算機のローカルなファ
イルシステムのアクセス要求としてマッピングすること
により、クライアント計算機を待機させることなく非同
期に、かつローカルなファイルシステムとして書き込み
要求を処理する。
That is, a server computer is provided with a storage device for holding a remote procedure call transmitted from a client computer, and when the received remote procedure call is a request to write a file on an external storage device, By holding the call in the storage device and immediately returning a response to the requesting client computer, mapping the file I / O request held at a predetermined timing as an access request of the local file system of the server computer, A write request is processed asynchronously and as a local file system without causing the client computer to wait.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来技
術には以下に掲げる問題点があった。第1の問題点は、
周辺装置に対してI/Oするべきデータは、クライアント
からサーバー、サーバーから周辺装置と2度転送する必
要があるため、サーバーから直接周辺装置へのI/Oに比
べて大幅に性能が低下するということである。その理由
は、クライアント/サーバー型ネットワークファイルシ
ステムにおいては、クライアントがデータにアクセスし
ようとする場合、そのデータは必ず一度サーバーを経由
しなければならないためである。
However, the prior art has the following problems. The first problem is
The data to be I / O to the peripheral device needs to be transferred twice from the client to the server and from the server to the peripheral device, so the performance is significantly lower than I / O to the peripheral device directly from the server. That's what it means. The reason is that, in a client / server type network file system, when a client attempts to access data, the data must pass through the server once.

【0006】第2の問題点は、サーバーにI/O記憶装置
を備える必要があるため、サーバーからのI/O要求には
必要のない新たな装置が必要になり、その分コスト高と
なるということである。その理由は、クライアントから
のI/O要求を非同期に処理するためである。
The second problem is that since the server needs to be provided with an I / O storage device, a new device that is not required for an I / O request from the server is required, which increases the cost. That's what it means. The reason is that I / O requests from clients are processed asynchronously.

【0007】第3の問題点は、ネットワークファイルシ
ステムの性能は、サーバーの能力に制限されてしまい、
高速なチャネルや周辺装置を用意してもこれらの性能を
生かしきれない場合が多くあるということである。その
理由は、クライアント/サーバー型ネットワークファイ
ルシステムにおいては、クライアントがデータにアクセ
スしようとする場合、そのデータは必ず一度サーバーを
経由しなければならないためである。
A third problem is that the performance of a network file system is limited by the capabilities of a server.
That is, even if high-speed channels and peripheral devices are prepared, these performances cannot be fully utilized in many cases. The reason is that, in a client / server type network file system, when a client attempts to access data, the data must pass through the server once.

【0008】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、ネットワークファ
イルシステムの性能を向上し、コストを低減し、且つ高
速な周辺装置の性能を生かすことができる、サーバー
と、周辺装置と、クライアントとを有するネットワーク
におけるファイルシステムのデータ転送方法を提供する
点にある。
The present invention has been made in view of the above problems, and has as its object to improve the performance of a network file system, reduce costs, and utilize the performance of a high-speed peripheral device. Another object of the present invention is to provide a method for transferring data of a file system in a network having a server, a peripheral device, and a client.

【0009】[0009]

【課題を解決するための手段】本発明は上記課題を解決
すべく以下に掲げる構成とした。請求項1記載の発明の
要旨は、サーバー(21)と、周辺装置(13)と、ク
ライアント(20)とを有するネットワークにおけるフ
ァイルシステムのデータ転送方法であって、いずれのク
ライアント(20)と、いずれの周辺装置(13)がTP
Tの機能をサポートしているかをサーバー(21)に記
憶させ、クライアント(20)から発行されたI/O要求
を周辺装置(13)に転送する際に、この周辺装置(1
3)から見た前記クライアント(20)のネットワーク
上のアドレスを付加して拡張入出力命令とし、該拡張入
出力命令を受け取った前記周辺装置(13)は、データ
転送を行う時にサーバー(21)と行うのではなく、ク
ライアント(20)と直接データ転送を行うことを特徴
とするネットワークファイルシステムのデータ転送方法
に存する。請求項2記載の発明の要旨は、ユーザプログ
ラムからデータ転送要求(1)がファイルシステム管理
手段(2)に渡されると、ファイルシステム管理手段
(2)は、データ転送要求先がクライアント(20)内
の周辺装置か、サーバー(21)の管理する装置周辺か
を確認し、サーバー(21)の管理する周辺装置であっ
た場合、ファイルシステム管理手段(2)は、TPT入出
力管理手段(5)に対して、入出力要求を一意に識別す
るための識別番号と、データを転送すべきメモリのアド
レスを渡し、TPT入出力管理手段(5)は、該アドレス
をTPT入出力管理表(16)に登録して、この入出力要
求を保持し、次いで、前記ファイルシステム管理手段
(2)は、 a) 周辺装置(13)のディスク上のファイルのファイ
ル名、 b) 入出力開始位置のファイル内オフセットと入出力サ
イズ、 c) 周辺装置からの読み込みか周辺装置への書き込みで
あるかの別、 d) クライアントの交換機経由のアドレス、 e) 識別番号 からなるサーバー/クライアント通信情報を通信制御手
段(3)へ渡し、これをサーバー(21)へ転送するよ
うに指示し、通信制御手段(3)からの完了通知を待ち
合わせ、その後、サーバー(21)はクライアント(2
0)からのサーバー/クライアント通信情報を受け取
り、通信制御手段(9)は、サーバー/クライアント通
信情報をファイルシステム管理手段(7)に渡し、ファ
イルシステム管理手段(7)は、サーバー/クライアン
ト通信情報の内容を確認し、サーバーが管理する周辺装
置であった場合、サーバー/クライアント通信情報から
TPT入出力情報を取りだし、入出力管理手段(11)に
渡して、入出力制御手段11から完了通知を受け取るま
で待ち合わせ、入出力制御手段(11)は、TPT入出力
情報を周辺装置が解読できる、周辺装置(13)からク
ライアント(20)へのアドレスという付加情報を含む
ため拡張入出力命令に変換し、該拡張入出力命令を周辺
装置(13)に対して発行することを特徴とした請求項
1記載の、ネットワークファイルシステムのデータ転送
方法に存する。請求項3記載の発明の要旨は、 周辺装
置からデータを読み込む場合、拡張入出力命令を受け取
った周辺装置(13)の入出力制御手段(14)は、識
別番号、データのサイズ、及び読み込んだデータをクラ
イアント(20)へ送信し、データの送信が完了したら
データ送信の完了通知をサーバー(21)の入出力制御
手段(11)へ送り、次いで、識別番号、データサイ
ズ、及びデータを受信したクライアント(20)の入出
力制御手段(6)は、TPT入出力管理手段(5)に識別
番号を渡し、受信したデータを格納するクライアント
(20)のメモリのアドレスを問い合わせ、 TPT入出
力管理手段(5)は、識別番号をキーにしてTPT入出力
管理表(16)から該当するメモリのアドレスを取り出
して、入出力制御手段(6)に渡し、入出力制御手段
(6)は、そのメモリへ受信したデータを格納し、TPT
入出力管理手段(5)へメモリへの格納が終わったこと
を通知し、さらに、この通知を受け取ったTPT入出力管
理手段(5)は、ファイルシステム管理手段(2)へ周
辺装置(13)からのデータ受信が完了したことを通知
することにより読み込み動作を行うことを特徴とした1
又は2に記載のネットワークファイルシステムのデータ
転送方法に存する。請求項4記載の発明の要旨は、周辺
装置(13)へデータを書き込む場合、拡張入出力命令
を受け取った周辺装置(13)の入出力制御手段(1
4)は、識別番号、及びデータのサイズをクライアント
(20)へ送信し、クライアント(20)からデータを
受信するまで待ち合わせ、識別番号とデータサイズを受
け取ったクライアント(20)の入出力制御手段(6)
は、TPT入出力管理手段(5)に識別番号を渡し、送信
するデータが格納されているクライアント(20)のメ
モリのアドレスを問い合わせ、TPT入出力管理手段
(5)は、識別番号をキーにしてTPT入出力管理表(1
6)から該当する送信元のメモリのアドレスを取り出し
て入出力制御手段(6)に渡し、入出力制御手段(6)
は、そのメモリのデータを周辺装置(13)へ送信し、
送信が終了したことをTPT入出力管理手段(5)へ通知
し、さらに、この通知を受け取ったTPT入出力管理手段
(5)は、ファイルシステム管理手段(2)へ周辺装置
(13)へのデータ送信が完了したことを通知しそし
て、データを受信した周辺装置(13)の入出力制御手
段(14)は、サーバー(21)の入出力制御手段(1
1)へ通知することを特徴とした、請求項1乃至3のい
ずれかに記載のネットワークファイルシステムのデータ
転送方法に存する。請求項5記載の発明の要旨は、前記
読み込み動作及び書き込み動作の後、周辺装置(13)
から完了通知を受け取った入出力制御手段(11)は、
周辺装置(13)との該当する入出力要求の完了をファ
イルシステム管理手段(7)に通知し、完了通知を受け
取ったファイルシステム管理手段(7)は、通信制御手
段(9)を介して、入出力要求の完了をクライアント
(20)へ通知し、クライアント(20)の通信制御手
段(3)は、サーバー(21)からの完了通知を受け取
ると、それが待ち合わせている入出力要求であれば、フ
ァイルシステム管理手段(2)に完了を通知し、ファイ
ルシステム管理手段(2)は、TPT入出力管理手段
(5)からの完了通知を受け取っていれば、データ転送
要求(1)の完了をユーザプログラムへ通知することに
より書き込み動作を行うことを特徴とした、請求項1乃
至4のいずれかに記載のネットワークファイルシステム
のデータ転送方法に存する。請求項6記載の発明の要旨
は、前記読み込み動作及び前記書き込み動作の後、周辺
装置(13)から完了通知を受け取った入出力制御手段
(11)は、周辺装置(13)との該当する入出力要求
の完了をファイルシステム管理手段7に通知し、完了通
知を受け取ったファイルシステム管理手段(7)は、通
信制御手段(9)を介して、入出力要求の完了をクライ
アント(20)へ通知し、クライアント(20)の通信
制御手段(3)は、サーバー(21)からの完了通知を
受け取ると、それが待ち合わせている入出力要求であれ
ば、ファイルシステム管理手段(2)に完了を通知し、
ファイルシステム管理手段(2)は、TPT入出力管理手
段(5)からの完了通知を受け取っていれば、データ転
送要求(1)の完了をユーザプログラムへ通知すること
を特徴とした、請求項1乃至4のいずれかに記載のネッ
トワークファイルシステムのデータ転送方法に存する。
請求項7記載の発明の要旨は、 周辺装置(13)から
データを読み込む場合、ファイルシステム管理手段
(7)は、入出力対象のファイルのデータが周辺装置
(13)上で連続しているかどうかを調べ、連続してい
なかった場合、分割手段(18)によって、対象ファイ
ルの入出力開始位置から最初にデータが途切れる位置ま
でで、一旦入出力要求を周辺装置(13)へ発行し、サ
ーバー(21)の入出力制御手段(11)から拡張入出
力命令を受け取った周辺装置(13)の入出力制御手段
(14)は、識別番号、データのサイズとしてデータが
途切れる位置までの長さ、データ内のオフセット、及び
読み込んだデータをクライアント(20)へ送信し、デ
ータの送信が完了したらデータ送信の完了通知をサーバ
ー(21)の入出力制御手段(11)へ送り、サーバー
(21)の入出力制御手段(11)から完了通知を受け
たファイルシステム管理手段(7)は、分割手段(1
8)によって、今読み込みが完了したサイズ分データ内
のオフセットを進め、データのサイズとしてファイル内
の入出力が完了した位置から、次にデータが途切れる位
置までの長さを設定して、再び入出力制御手段(11)
から拡張入出力命令を周辺装置(13)へ送信し、この
処理を最初にクライアント(20)から渡された入出力
サイズに達するまで行い、このサイズに達した時点で、
入出力制御手段(11)は、ファイルシステム管理手段
(7)に周辺装置(13)からの読み込みが完了したこ
とを通知し、上記処理と並行して、識別番号、データサ
イズ、データ内のオフセット、及びデータを受信したク
ライアント(20)の入出力制御手段(6)は、TPT入
出力管理手段5に識別番号とデータ内のオフセットを渡
し、TPT入出力管理手段(5)は、TPT入出力管理表(1
6)から得たアドレスをアドレス計算手段(17)によ
ってデータ内のオフセットの値分進めた値を入出力制御
手段(6)に渡し、入出力制御手段(6)は、そのメモ
リへ受信したデータを格納し、TPT入出力管理手段
(5)へメモリへの格納が終わったことを通知し、 こ
の処理を周辺装置(13)からデータが送信される毎に
行い、TPT入出力管理手段(5)は、受信したデータの
サイズの合計値が最初にクライアント(20)から要求
した入出力のサイズに達した時点で、全データの受信が
完了したと解釈し、ファイルシステム管理手段(2)へ
周辺装置(13)からのデータ受信が完了したことを通
知することにより読み込み動作を行うことを特徴とし
た、請求項1乃至6のいずれかに記載のネットワークフ
ァイルシステムのデータ転送方法に存する。請求項8記
載の発明の要旨は、周辺装置へデータを書き込む場合、
ファイルシステム管理手段(7)は、入出力対象のファ
イルのデータを書き込む領域が周辺装置(13)上で物
理的に連続して確保されているかどうかを調べ、連続し
ていなかった場合、分割手段(18)によって、対象フ
ァイルの入出力開始位置から最初に領域が途切れる位置
までで、一旦入出力要求を周辺装置(13)へ発行し、
TPT入出力情報へデータ内のオフセット値(最初は、0)
を加え、TPT入出力情報の入出力サイズとして、領域が
途切れる位置までの長さを設定して、TPT入出力情報を
入出力制御手段(11)に渡し、サーバー(21)の入
出力制御手段(11)から拡張入出力命令を受け取った
周辺装置(13)の入出力制御手段(14)は、識別番
号、データのサイズとしてデータが途切れる位置までの
長さ、データ内のオフセットをクライアント(20)へ
送信し、クライアント(20)からデータを受信するま
で待ち合わせ、一方、識別番号、データのサイズ、デー
タ内のオフセットを受け取ったクライアント(20)の
入出力制御手段(6)は、TPT入出力管理手段(5)に
識別番号とデータ内のオフセットを渡し、TPT入出力管
理手段5は、TPT入出力管理表(16)から得たアドレ
スをアドレス計算手段(17)によってデータ内のオフ
セットの値分進めた値を入出力制御手段(6)に渡し、
入出力制御手段(6)は、そのメモリのデータを周辺装
置(13)へ送信し、送信が終了したことをTPT入出力
管理手段(5)へ通知し、データを受信した周辺装置
(13)の入出力制御手段(14)は、サーバー(2
1)の入出力制御手段(11)へ通知し、入出力制御手
段(11)から完了通知を受けたファイルシステム管理
手段(7)は、分割手段(18)によって、今書き込み
が完了したサイズ分データ内のオフセットを進め、デー
タのサイズとしてファイル内の入出力が完了した位置か
ら、次に領域が途切れる位置までの長さを設定して、再
び入出力制御手段(11)から拡張入出力命令を周辺装
置(13)へ送信し、この処理をサーバー(21)から
書き込み要求が送られる毎に行い、クライアント(2
0)のTPT入出力管理手段(5)は、送信したデータの
サイズの合計値が最初にクライアント(20)から要求
した入出力のサイズに達した時点で、全データの受信が
完了したと解釈し、ファイルシステム管理手段(2)へ
周辺装置(13)からのデータ受信が完了したことを通
知し、同様に、サーバー(21)の入出力制御手段(1
1)は、最初にクライアント(20)から渡された入出
力サイズに達するまで行い、このサイズに達した時点
で、ファイルシステム管理手段(7)に周辺装置(1
3)への書き込みが完了したことを通知することを特徴
とした、請求項1乃至7のいずれかに記載のネットワー
クファイルシステムのデータ転送方法に存する。請求項
9記載の発明の要旨は、サーバー(21)と、周辺装置
(13)と、クライアント(20)とが互いに接続され
たネットワークであって、クライアント(20)は、フ
ァイルシステム管理手段(2)と、通信制御手段(3)
と、TPT入出力管理手段(5)と、入出力制御手段
(6)と、TPT入出力管理表(16)を備え、ファイル
システム管理手段(2)は、データ転送要求がユーザプ
ログラムから渡されると、前記周辺装置(13)に存在
するファイルのファイル名、I/O開始位置のファイル内
オフセットとI/Oサイズ、周辺装置(13)からの読み
込みか周辺装置への書き込みであるかの別、クライアン
トの交換機経由のアドレス、及び識別番号を有するサー
バー/クライアント通信情報を受け取り、これらの情報
をサーバー(21)へ転送するために、通信制御手段
(3)へ通知し、通信制御手段3からの完了通知を待ち
合わせ、通信制御手段(3)とTPT入出力管理手段
(5)から完了通知を受け取ったら、データ転送要求
(1)の完了をユーザプログラムに通知し、前記入出力
制御手段(6)は、前記周辺装置(13)から識別番号
及びデータを受け取ったとき、TPT入出力管理手段
(5)に問い合わせ、該当する識別番号があれば、デー
タのメモリへの転送、またはメモリ上のデータを周辺装
置(13)へ転送し、TPT入出力管理手段(5)は、TPT
入出力管理表(16)への登録、与えられた識別番号に
対応するメモリアドレスの入出力制御手段(6)への通
知、及びファイルシステム管理手段(2)への完了通知
を行い、前記サーバー(21)は、ファイルシステム管
理手段(7)と、通信制御手段(9)と、入出力制御手
段(11)とを備え、前記ファイルシステム管理手段
(7)は、通信制御手段(9)から渡されたサーバー/
クライアント通信情報から識別番号、ファイル名、I/O
開始位置のファイル内オフセットとI/Oサイズ、周辺装
置(13)からの読み込みか周辺装置(13)への書き
込みであるかの別、及びクライアントの交換機経由のア
ドレスを有するTPT入出力情報を入出力制御手段(1
1)に渡し、入出力制御手段(11)からの完了通知を
待ち合わせ、通信制御手段(9)は、クライアントから
受け取ったサーバー/クライアント通信情報を、ファイ
ルシステム管理手段(7)へ渡し、このファイルシステ
ム管理手段(7)からの入出力要求の完了通知をクライ
アント(20)へ通知し、前記入出力制御手段(11)
は、ファイルシステム管理手段(7)から受け取ったTP
T入出力情報を元に周辺装置が解読できる命令に変換
し、周辺装置(13)へ発行し、この周辺装置(13)
からの入出力要求の完了通知をファイルシステム管理手
段(7)へ通知し、周辺装置(13)は、入出力制御手
段(11)から受け取った情報に基づいて、識別番号ま
たは識別番号とデータを入出力制御手段(6)に送り、
クライアント(20)への送信またはクライアント(2
0)からのデータの受信が終了するとサーバー(21)
へ完了通知を行う入出力制御手段(14)を備えている
ことを特徴とするネットワークに存する。請求項10記
載の発明の要旨は、クライアント(20)は、対象ファ
イルの入出力開始位置から最初にデータが途切れる位置
までで、一旦入出力要求を前記周辺装置(13)へ発行
する分割手段(18)と、データ内のオフセットの値分
進めた値を計算するアドレス計算手段とを有することを
特徴とした請求項9記載のネットワークに存する。
SUMMARY OF THE INVENTION The present invention has the following arrangement to solve the above-mentioned problems. The gist of the invention according to claim 1 is a method of transferring data of a file system in a network having a server (21), a peripheral device (13), and a client (20). Any peripheral device (13) is TP
The server (21) stores whether or not the T function is supported. When the I / O request issued from the client (20) is transferred to the peripheral device (13), the peripheral device (1) is used.
The peripheral device (13) having received the extended input / output command adds the address of the client (20) on the network viewed from 3) to the extended input / output command. Instead of performing a direct data transfer with the client (20). The gist of the invention described in claim 2 is that when a data transfer request (1) is passed from a user program to a file system management means (2), the file system management means (2) sends the data transfer request destination to the client (20). It is checked whether it is a peripheral device in the server or a device peripheral managed by the server (21). If the peripheral device is managed by the server (21), the file system management means (2) sets the TPT input / output management means (5 ), An identification number for uniquely identifying an input / output request, and an address of a memory to which data is to be transferred, and the TPT input / output management means (5) transmits the address to the TPT input / output management table (16). ) To hold this input / output request, and then the file system management means (2) performs: a) the file name of the file on the disk of the peripheral device (13); b) the file of the input / output start position. Communication control of server / client communication information consisting of offset and input / output size in file, c) reading from peripheral device or writing to peripheral device, d) address of client via exchange, e) identification number Means (3), instruct it to transfer it to the server (21), wait for a completion notification from the communication control means (3), and then the server (21)
The server / client communication information is received from the server / client communication information, and the communication control means (9) passes the server / client communication information to the file system management means (7). Confirm that the device is a peripheral device managed by the server,
The TPT input / output information is taken out, passed to the input / output management means (11), and waits until a completion notification is received from the input / output control means 11. The input / output control means (11) allows the peripheral device to decode the TPT input / output information. And an extension input / output instruction to be issued to the peripheral device (13) in order to include additional information called an address from the peripheral device (13) to the client (20). Item 1 is a data transfer method of a network file system. According to a third aspect of the present invention, when data is read from a peripheral device, the input / output control means (14) of the peripheral device (13) that has received the extended input / output command outputs the identification number, the size of the data, and the read data. The data is transmitted to the client (20), and when the data transmission is completed, a data transmission completion notification is transmitted to the input / output control means (11) of the server (21), and then the identification number, the data size, and the data are received. The input / output control means (6) of the client (20) passes the identification number to the TPT input / output management means (5), queries the memory address of the client (20) for storing the received data, (5) retrieves the corresponding memory address from the TPT input / output management table (16) using the identification number as a key, passes it to the input / output control means (6), and Means (6) stores the data received into its memory, TPT
The TPT input / output management means (5) notifies the input / output management means (5) of the completion of the storage in the memory, and further receives the notification, and the TPT input / output management means (2) notifies the file system management means (2) of the peripheral device (13). Characterized in that the reading operation is performed by notifying that the data reception from the CPU has been completed.
Or the data transfer method of the network file system described in 2. The gist of the invention described in claim 4 is that, when writing data to the peripheral device (13), the input / output control means (1) of the peripheral device (13) that has received the extended input / output command.
4) transmits the identification number and the data size to the client (20), waits until data is received from the client (20), and controls the input / output control means () of the client (20) which has received the identification number and the data size. 6)
Passes the identification number to the TPT input / output management means (5) and inquires of the memory address of the client (20) in which the data to be transmitted is stored, and the TPT input / output management means (5) uses the identification number as a key. TPT input / output management table (1
The corresponding address of the memory of the transmission source is extracted from 6) and passed to the input / output control means (6), and the input / output control means (6)
Transmits the data in the memory to the peripheral device (13),
Notifying the TPT input / output management means (5) that the transmission has been completed, the TPT input / output management means (5) having received this notification sends the file system management means (2) to the peripheral device (13). The input / output control means (14) of the peripheral device (13), which has notified that the data transmission has been completed, has received the data, sets the input / output control means (1) of the server (21).
4. The data transfer method of a network file system according to claim 1, wherein the notification is performed to 1). The gist of the invention according to claim 5 is that the peripheral device (13) after the read operation and the write operation.
The input / output control means (11) receiving the completion notification from
The completion of the corresponding input / output request with the peripheral device (13) is notified to the file system management means (7), and the file system management means (7) having received the completion notification transmits the completion notification via the communication control means (9). The completion of the input / output request is notified to the client (20), and the communication control means (3) of the client (20) receives the completion notification from the server (21). The file system management means (2) notifies the completion of the data transfer request (1) if the completion notification is received from the TPT input / output management means (5). 5. The method according to claim 1, wherein a write operation is performed by notifying a user program. The gist of the invention according to claim 6 is that the input / output control means (11) having received the completion notification from the peripheral device (13) after the read operation and the write operation has a corresponding input / output with the peripheral device (13). The completion of the output request is notified to the file system management means 7, and the file system management means (7) having received the notification of completion notifies the completion of the input / output request to the client (20) via the communication control means (9). Upon receiving the completion notification from the server (21), the communication control means (3) of the client (20) notifies the file system management means (2) of the completion if the input / output request is a waiting input / output request. And
The file system management means (2) notifies the user program of the completion of the data transfer request (1) when receiving the completion notification from the TPT input / output management means (5). 4. The data transfer method for a network file system according to any one of the above items 1 to 4.
The gist of the invention according to claim 7 is that, when data is read from the peripheral device (13), the file system management means (7) determines whether the data of the file to be input / output is continuous on the peripheral device (13). If the data is not continuous, the dividing means (18) issues an input / output request to the peripheral device (13) once from the input / output start position of the target file to a position where data is interrupted first, and the server ( 21) The input / output control means (14) of the peripheral device (13) which has received the extended input / output command from the input / output control means (11) outputs the identification number, the data size, the length up to the position where the data is interrupted, and the data size. And the read data is transmitted to the client (20), and when the data transmission is completed, a data transmission completion notification is sent to the input / output control unit of the server (21). The file system management means (7) which has sent to the stage (11) and received the completion notification from the input / output control means (11) of the server (21), executes the division means (1).
According to 8), the offset in the data is advanced by an amount corresponding to the size of the data that has just been read, and the length of the data from the position where the input / output is completed in the file to the position where the data is interrupted next is set. Output control means (11)
Sends an extended input / output instruction to the peripheral device (13), and performs this processing until the input / output size first passed from the client (20) is reached. When this size is reached,
The input / output control means (11) notifies the file system management means (7) that the reading from the peripheral device (13) has been completed, and, in parallel with the above processing, the identification number, the data size, and the offset in the data. The input / output control means (6) of the client (20) which has received the data passes the identification number and the offset in the data to the TPT input / output management means 5, and the TPT input / output management means (5) Management table (1
A value obtained by advancing the address obtained from 6) by the offset value in the data by the address calculating means (17) is passed to the input / output control means (6), and the input / output control means (6) And notifies the TPT input / output management means (5) of the completion of the storage in the memory. This processing is performed every time data is transmitted from the peripheral device (13). ) Interprets that the reception of all data has been completed when the total value of the size of the received data first reaches the size of the input / output requested from the client (20), and sends the data to the file system management means (2). 7. The data transfer method for a network file system according to claim 1, wherein a read operation is performed by notifying that data reception from the peripheral device (13) has been completed. Be in the law. The gist of the invention described in claim 8 is that when writing data to a peripheral device,
The file system management means (7) checks whether or not the area for writing the data of the file to be input / output is physically continuously secured on the peripheral device (13). According to (18), an input / output request is once issued to the peripheral device (13) from the input / output start position of the target file to the position where the area is first interrupted,
Offset value in data to TPT input / output information (0 at first)
Is set as the input / output size of the TPT input / output information, the length up to the position where the area is interrupted, the TPT input / output information is passed to the input / output control means (11), and the input / output control means of the server (21) is set. The input / output control means (14) of the peripheral device (13) which has received the extended input / output command from (11) transmits the identification number, the length to the position where the data is interrupted as the data size, and the offset in the data to the client (20). ), And waits until data is received from the client (20). On the other hand, the input / output control means (6) of the client (20) which has received the identification number, the data size, and the offset in the data transmits the TPT input / output. The identification number and the offset in the data are passed to the management means (5), and the TPT input / output management means 5 converts the address obtained from the TPT input / output management table (16) into the address calculation means (17). Pass the value component advances the value of the offset in the data input and output control means (6) by,
The input / output control means (6) transmits the data in the memory to the peripheral device (13), notifies the TPT input / output management means (5) that the transmission has been completed, and sends the data to the peripheral device (13). The input / output control means (14) of the server (2)
The file system management means (7), which has notified the input / output control means (11) of (1) and received the completion notification from the input / output control means (11), uses the dividing means (18) to allocate the size of the file for which writing has been completed. The offset in the data is advanced, and the length of the data from the position where the input / output is completed in the file to the position where the next area is interrupted is set, and the extended input / output command is again sent from the input / output control means (11). Is transmitted to the peripheral device (13), and this processing is performed every time a write request is sent from the server (21).
The TPT input / output management means (5) of (0) interprets that the reception of all data has been completed when the total value of the size of the transmitted data first reaches the size of the input / output requested from the client (20). Then, the file system management means (2) is notified that the data reception from the peripheral device (13) has been completed, and similarly, the input / output control means (1) of the server (21) is notified.
1) is performed first until the input / output size passed from the client (20) is reached, and when this size is reached, the peripheral device (1) is sent to the file system management means (7).
The method according to any one of claims 1 to 7, further comprising the step of notifying that the writing to (3) has been completed. The gist of the present invention is a network in which a server (21), a peripheral device (13), and a client (20) are connected to each other, wherein the client (20) is a file system management unit (2). ) And communication control means (3)
And a TPT input / output management means (5), an input / output control means (6), and a TPT input / output management table (16). The file system management means (2) receives a data transfer request from a user program. And the file name of the file existing in the peripheral device (13), the offset in the file of the I / O start position and the I / O size, and whether the data is read from the peripheral device (13) or written to the peripheral device. , Receiving the server / client communication information having the address of the client via the exchange and the identification number, notifying the communication control means (3) in order to transfer the information to the server (21). Waiting for a completion notification from the communication control means (3) and receiving the completion notification from the TPT input / output management means (5), notifies the user program of the completion of the data transfer request (1). When the input / output control means (6) receives the identification number and the data from the peripheral device (13), the input / output control means (6) inquires of the TPT input / output management means (5). The transfer or the transfer of the data in the memory to the peripheral device (13).
The registration to the input / output management table (16), the notification of the memory address corresponding to the given identification number to the input / output control means (6), and the completion notification to the file system management means (2) are performed. (21) includes a file system management means (7), a communication control means (9), and an input / output control means (11), wherein the file system management means (7) Server passed /
Identification number, file name, I / O from client communication information
Enter the offset and I / O size of the start position in the file, whether the data is read from the peripheral device (13) or written to the peripheral device (13), and input / output TPT input / output information having the address via the exchange of the client. Output control means (1
1) and waits for a completion notification from the input / output control means (11). The communication control means (9) passes the server / client communication information received from the client to the file system management means (7), and The client (20) is notified of the completion of the input / output request from the system management means (7), and the input / output control means (11)
Is the TP received from the file system management means (7)
Based on the T input / output information, the instruction is converted into an instruction that can be decoded by the peripheral device, and is issued to the peripheral device (13).
Notify the file system management means (7) of the completion notification of the input / output request from the device. Sent to the input / output control means (6),
Send to client (20) or client (2
When the reception of the data from 0) is completed, the server (21)
An input / output control means (14) for notifying completion to the network is provided. The gist of the invention according to claim 10 is that the client (20) issues an input / output request to the peripheral device (13) once from the input / output start position of the target file to a position where data is first interrupted. 18) and an address calculation means for calculating a value advanced by an offset value in the data.

【0010】すなわち、本発明においてはクライアント
から周辺装置への I/O の要求において、I/O 対象のデ
ータをサーバーを経由せずにクライアントと周辺装置の
間で直接転送することによって、データ転送に関するオ
ーバーヘッドの削減、及びサーバーにおけるCPU、主記
憶等の資源の使用を削減して、ネットワークファイルシ
ステムの性能を向上できる構成を提供するものである。
このデータ転送方法をThird-partytransfer(以下、TPT
と略す)と呼ぶ。
That is, in the present invention, when an I / O request is issued from a client to a peripheral device, the data transfer is performed by directly transferring the I / O target data between the client and the peripheral device without passing through the server. It is intended to provide a configuration capable of improving the performance of a network file system by reducing overhead related to the above and reducing the use of resources such as a CPU and a main memory in a server.
This data transfer method is called Third-partytransfer (hereinafter TPT)
Abbreviated).

【0011】本発明の実施の形態で参照する図1に示
す、サーバー21、クライアント20、周辺装置13を
スター型のネットワークとして構成する。サーバー21
は、どのクライアントとどの周辺装置がTPTの機能をサ
ポートしているかを知っており、クライアント20から
発行されたI/O要求を周辺装置に転送する際に、その周
辺装置から見たクライアント20のネットワーク上のア
ドレスを付加する。これを拡張入出力命令と呼ぶ。拡張
入出力命令を受け取った周辺装置は、データ転送を行う
時にサーバー21と行うのではなく、クライアント20
と直接データ転送を行う。
The server 21, the client 20, and the peripheral device 13 shown in FIG. 1 referred to in the embodiment of the present invention are configured as a star network. Server 21
Knows which client and which peripheral device support the TPT function, and when transferring an I / O request issued from the client 20 to the peripheral device, the client 20 Add an address on the network. This is called an extended input / output instruction. The peripheral device that has received the extended input / output command does not perform the data transfer with the server 21 but performs the client 20
And direct data transfer.

【0012】このようにして、ネットワークファイルシ
ステムにおけるサーバーを介さない効率的なデータ転送
を可能にする。
[0012] In this manner, efficient data transfer without a server in the network file system is enabled.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。 (第1の実施の形態)図1に示すように、第1の実施の
形態に係るネットワークファイルシステムは、クライア
ント20と、サーバー21と、交換機30と、周辺装置
13と、通信回線12とを備えている。
Embodiments of the present invention will be described below in detail with reference to the drawings. (First Embodiment) As shown in FIG. 1, a network file system according to a first embodiment comprises a client 20, a server 21, an exchange 30, a peripheral device 13, and a communication line 12. Have.

【0014】クライアント20、サーバー21、周辺装
置13は、交換機30によって接続されており、またク
ライアント20とサーバー21は、通信回線12によっ
ても接続されている。
The client 20, the server 21, and the peripheral device 13 are connected by an exchange 30, and the client 20 and the server 21 are also connected by a communication line 12.

【0015】クライアント20は、データ転送要求1
と、ファイルシステム管理手段2と、通信制御手段3
と、TPT入出力管理手段5と、入出力制御手段6と、TPT
入出力管理表16を備えている。
The client 20 transmits a data transfer request 1
And file system management means 2 and communication control means 3
TPT input / output management means 5, input / output control means 6, TPT
An input / output management table 16 is provided.

【0016】ファイルシステム管理手段2は、データ転
送要求1がユーザプログラムから渡されると、周辺装置
13に存在するファイルのファイル名、I/O開始位置の
ファイル内オフセットとI/Oサイズ、周辺装置からの読
み込みか周辺装置への書き込みであるかの別、クライア
ントの交換機経由のアドレス、及び識別番号(以下、こ
れらをまとめてサーバー/クライアント通信情報と称す
る。また、サーバー/クライアントをS-Cと略す)を受け
取り、これらの情報をサーバー21へ転送するために、
通信制御手段3へ通知し、通信制御手段3からの完了通
知を待ち合わせる。そして、通信制御手段3とTPT入出
力管理手段5から完了通知を受け取ったら、データ転送
要求1の完了をユーザプログラムに通知する。
When the data transfer request 1 is passed from the user program, the file system management means 2 determines the file name of the file existing in the peripheral device 13, the offset in the file of the I / O start position and the I / O size, the peripheral device Whether the data is read from the device or written to a peripheral device, the address of the client via the exchange, and the identification number (hereinafter, these are collectively referred to as server / client communication information. The server / client is abbreviated as SC). To transfer these information to the server 21,
It notifies the communication control means 3 and waits for the completion notification from the communication control means 3. Then, upon receiving the completion notification from the communication control means 3 and the TPT input / output management means 5, it notifies the user program of the completion of the data transfer request 1.

【0017】入出力制御手段6は、周辺装置13から識
別番号及びデータを受け取ったとき、TPT入出力管理手
段5に問い合わせ、該当する識別番号があれば、データ
のメモリへの転送、またはメモリ上のデータを周辺装置
13へ転送する。
When the input / output control means 6 receives the identification number and the data from the peripheral device 13, the input / output control means 6 inquires the TPT input / output management means 5, and if there is a corresponding identification number, the data is transferred to the memory or stored in the memory. Is transferred to the peripheral device 13.

【0018】TPT入出力管理手段5は、TPT入出力管理表
16への登録、与えられた識別番号に対応するメモリア
ドレスの入出力制御手段6への通知、及びファイルシス
テム管理手段2への完了通知を行う。
The TPT input / output management means 5 registers in the TPT input / output management table 16, notifies the input / output control means 6 of the memory address corresponding to the given identification number, and completes the file system management means 2. Make a notification.

【0019】サーバー21は、ファイルシステム管理手
段7と、通信制御手段9と、入出力制御手段11とを備
えている。
The server 21 has a file system management means 7, a communication control means 9, and an input / output control means 11.

【0020】ファイルシステム管理手段7は、通信制御
手段9から渡されたS-C通信情報から識別番号、ファイ
ル名、I/O開始位置のファイル内オフセットとI/Oサイ
ズ、周辺装置からの読み込みか周辺装置への書き込みで
あるかの別、及びクライアントの交換機経由のアドレス
(以下、これらをTPT入出力情報と称する)を入出力制御
手段11に渡し、入出力制御手段11からの完了通知を
待ち合わせる。
The file system management means 7 determines the identification number, the file name, the offset in the file of the I / O start position and the I / O size from the SC communication information passed from the communication control means 9, and reads from the peripheral device or not. Whether to write to the device and the address of the client via the exchange
(Hereinafter, these are referred to as TPT input / output information) to the input / output control unit 11 and wait for a completion notification from the input / output control unit 11.

【0021】通信制御手段9は、クライアントから受け
取ったS-C通信情報を、ファイルシステム管理手段7へ
渡す。また、ファイルシステム管理手段7からの入出力
要求の完了通知をクライアント20へ通知する。
The communication control means 9 transfers the SC communication information received from the client to the file system management means 7. Further, it notifies the client 20 of the completion notification of the input / output request from the file system management means 7.

【0022】入出力制御手段11は、ファイルシステム
管理手段7から受け取ったTPT入出力情報を元に周辺装
置が解読できる命令に変換し、周辺装置13へ発行す
る。また、周辺装置13からの入出力要求の完了通知を
ファイルシステム管理手段7へ通知する。
The input / output control means 11 converts the TPT input / output information received from the file system management means 7 into a command which can be interpreted by the peripheral device, and issues the command to the peripheral device 13. Further, it notifies the file system management means 7 of the completion notification of the input / output request from the peripheral device 13.

【0023】周辺装置13は、入出力制御手段14を備
えている。
The peripheral device 13 has input / output control means 14.

【0024】入出力制御手段14は、入出力制御手段1
1から受け取った情報に基づいて、識別番号または識別
番号とデータを入出力制御手段6に送り、クライアント
20への送信またはクライアント20からのデータの受
信が終了するとサーバー21へ完了通知を行う。
The input / output control means 14 includes the input / output control means 1
The identification number or the identification number and the data are sent to the input / output control means 6 based on the information received from the server 1, and when the transmission to the client 20 or the reception of the data from the client 20 is completed, a completion notification is sent to the server 21.

【0025】交換機30は、指定されたネットワーク上
のアドレスによって、データまたはデータ転送に必要な
情報の転送を行う。
The exchange 30 transfers data or information necessary for data transfer according to a designated address on the network.

【0026】(ネットワークファイルシステム全体の動
作)図1を参照して第1の実施の形態に係るネットワー
クファイルシステム全体の動作について詳細に説明す
る。
(Operation of Entire Network File System) The operation of the entire network file system according to the first embodiment will be described in detail with reference to FIG.

【0027】ユーザプログラムからデータ転送要求1が
ファイルシステム管理手段2に渡されると、ファイルシ
ステム管理手段2は、データ転送要求先がクライアント
20内の周辺装置か、サーバー21の管理する装置周辺
かを確認する。サーバー21の管理する周辺装置であっ
た場合、以下の処理を行う。ファイルシステム管理手段
2は、TPT入出力管理手段5に対して、入出力要求を一
意に識別するための識別番号と、データを転送すべきメ
モリのアドレスを渡す。TPT入出力管理手段5は、これ
をTPT入出力管理表16に登録して、この入出力要求を
保持しておく。
When the data transfer request 1 is passed from the user program to the file system management means 2, the file system management means 2 determines whether the data transfer request destination is a peripheral device in the client 20 or a device peripheral managed by the server 21. Confirm. If the peripheral device is managed by the server 21, the following process is performed. The file system management means 2 passes the identification number for uniquely identifying the input / output request and the address of the memory to which the data is to be transferred to the TPT input / output management means 5. The TPT input / output management means 5 registers this in the TPT input / output management table 16 and holds this input / output request.

【0028】次いで、ファイルシステム管理手段2は、 a) 周辺装置13のディスク上のファイルのファイル
名、 b) 入出力開始位置のファイル内オフセットと入出力サ
イズ(データサイズ)、 c) 周辺装置からの読み込みか周辺装置への書き込みで
あるかの別、 d) クライアントの交換機経由のアドレス、 e) 識別番号 からなるS-C通信情報を通信制御手段3へ渡し、これを
サーバー21へ転送するように指示し、通信制御手段3
からの完了通知を待ち合わせる。
Next, the file system management means 2 includes: a) the file name of the file on the disk of the peripheral device 13; b) the offset in the file at the input / output start position and the input / output size (data size); The SC communication information consisting of d) the address of the client via the exchange, and e) the identification number is passed to the communication control means 3 and is instructed to be transferred to the server 21. Communication control means 3
Wait for the completion notification from.

【0029】上記の後、サーバー21はクライアント2
0からのS-C通信情報を受け取り、通信制御手段9は、S
-C通信情報をファイルシステム管理手段7に渡す。
After the above, the server 21 is connected to the client 2
0, the communication control means 9 receives the SC communication information from S.
-C Pass the communication information to the file system management means 7.

【0030】ファイルシステム管理手段7は、S-C通信
情報の内容を確認し、サーバーが管理する周辺装置であ
った場合、S-C通信情報からTPT入出力情報を取りだし、
入出力管理手段11に渡して、入出力制御手段11から
完了通知を受け取るまで待ち合わせる。
The file system management means 7 checks the contents of the SC communication information, and if the peripheral device is managed by the server, extracts the TPT input / output information from the SC communication information,
It is passed to the input / output management unit 11 and waits until a completion notification is received from the input / output control unit 11.

【0031】次いで、入出力制御手段11は、TPT入出
力情報を周辺装置が解読できる命令に変換し、周辺装置
13に対して発行する。この命令は、通常の周辺装置へ
の命令と比較して、周辺装置13からクライアント20
へのアドレスという付加情報を含むため、拡張入出力命
令と呼ぶ。
Next, the input / output control means 11 converts the TPT input / output information into a command which can be decoded by the peripheral device, and issues the command to the peripheral device 13. This command is transmitted from the peripheral device 13 to the client 20 in comparison with a normal command to the peripheral device.
This is called an extended input / output instruction because it includes additional information such as an address to the address.

【0032】(読み込み・書き込み動作)次に、1)周
辺装置13内の指定されたファイルのデータをクライア
ント20内のメモリ上へ読み込む場合、2)クライアン
ト20内のメモリ上のデータを周辺装置13へ書き込む
場合について説明する。
(Read / Write Operation) Next, 1) when data of a specified file in the peripheral device 13 is read into the memory in the client 20, 2) data in the memory in the client 20 is read A case where data is written to is described.

【0033】(読み込み動作) 1)周辺装置からデータを読み込む場合、拡張入出力命
令を受け取った周辺装置13の入出力制御手段14は、
識別番号、データのサイズ、及び読み込んだデータをク
ライアント20へ送信する。データの送信が完了したら
データ送信の完了通知をサーバー21の入出力制御手段
11へ送る。
(Read Operation) 1) When reading data from a peripheral device, the input / output control means 14 of the peripheral device 13 which has received the extended input / output instruction
The identification number, the size of the data, and the read data are transmitted to the client 20. When the data transmission is completed, a data transmission completion notification is sent to the input / output control means 11 of the server 21.

【0034】次いで、識別番号、データサイズ、及びデ
ータを受信したクライアント20の入出力制御手段6
は、TPT入出力管理手段5に識別番号を渡し、受信した
データを格納するクライアント20のメモリのアドレス
を問い合わせる。
Next, the identification number, the data size, and the input / output control means 6 of the client 20 which has received the data
Passes the identification number to the TPT input / output management means 5 and inquires the address of the memory of the client 20 for storing the received data.

【0035】TPT入出力管理手段5は、識別番号をキー
にしてTPT入出力管理表16から該当するメモリのアド
レスを取り出して、入出力制御手段6に渡し、入出力制
御手段6は、そのメモリへ受信したデータを格納し、TP
T入出力管理手段5へメモリへの格納が終わったことを
通知する。
The TPT input / output management means 5 fetches the address of the corresponding memory from the TPT input / output management table 16 using the identification number as a key and passes it to the input / output control means 6. Stores the received data to the TP
It notifies T input / output management means 5 that the storage in the memory has been completed.

【0036】さらに、この通知を受け取ったTPT入出力
管理手段5は、ファイルシステム管理手段2へ周辺装置
13からのデータ受信が完了したことを通知する。
Further, the TPT input / output management means 5 having received the notification notifies the file system management means 2 that the data reception from the peripheral device 13 has been completed.

【0037】(書き込み動作) 2)周辺装置13へデータを書き込む場合、拡張入出力
命令を受け取った周辺装置13の入出力制御手段14
は、識別番号、及びデータのサイズをクライアント20
へ送信し、クライアント20からデータを受信するまで
待ち合わせる。
(Write Operation) 2) When writing data to the peripheral device 13, the input / output control means 14 of the peripheral device 13 which has received the extended input / output command
Transmits the identification number and the data size to the client 20.
And wait until data is received from the client 20.

【0038】識別番号とデータサイズを受け取ったクラ
イアント20の入出力制御手段6は、TPT入出力管理手
段5に識別番号を渡し、送信するデータが格納されてい
るクライアント20のメモリのアドレスを問い合わせ
る。
The input / output control means 6 of the client 20, which has received the identification number and the data size, passes the identification number to the TPT input / output management means 5 and inquires the address of the memory of the client 20 in which the data to be transmitted is stored.

【0039】TPT入出力管理手段5は、識別番号をキー
にしてTPT入出力管理表16から該当する送信元のメモ
リのアドレスを取り出して入出力制御手段6に渡し、入
出力制御手段6は、そのメモリのデータを周辺装置13
へ送信し、送信が終了したことをTPT入出力管理手段5
へ通知する。
The TPT input / output management means 5 takes out the address of the corresponding source memory from the TPT input / output management table 16 using the identification number as a key and passes it to the input / output control means 6. The data in the memory is transferred to the peripheral device 13.
To the TPT input / output management means 5
Notify to

【0040】さらに、この通知を受け取ったTPT入出力
管理手段5は、ファイルシステム管理手段2へ周辺装置
13へのデータ送信が完了したことを通知する。
Further, the TPT input / output management means 5 having received this notification notifies the file system management means 2 that the data transmission to the peripheral device 13 has been completed.

【0041】そして、データを受信した周辺装置13の
入出力制御手段14は、サーバー21の入出力制御手段
11へ通知する。
Then, the input / output control means 14 of the peripheral device 13 which has received the data notifies the input / output control means 11 of the server 21.

【0042】1)または2)の後、周辺装置13から完了
通知を受け取った入出力制御手段11は、周辺装置13
との該当する入出力要求の完了をファイルシステム管理
手段7に通知する。
After 1) or 2), the input / output control means 11 receiving the completion notification from the peripheral device 13
The completion of the corresponding input / output request is notified to the file system management means 7.

【0043】そして、完了通知を受け取ったファイルシ
ステム管理手段7は、通信制御手段9を介して、入出力
要求の完了をクライアント20へ通知する。
The file system management means 7 which has received the completion notification notifies the client 20 of the completion of the input / output request via the communication control means 9.

【0044】そして、クライアント20の通信制御手段
3は、サーバー21からの完了通知を受け取ると、それ
が待ち合わせている入出力要求であれば、ファイルシス
テム管理手段2に完了を通知する。
When receiving the completion notification from the server 21, the communication control means 3 of the client 20 notifies the file system management means 2 of the completion if it is a waiting input / output request.

【0045】ファイルシステム管理手段2は、TPT入出
力管理手段5からの完了通知を受け取っていれば、デー
タ転送要求1の完了をユーザプログラムへ通知する。
When receiving the completion notification from the TPT input / output management means 5, the file system management means 2 notifies the user program of the completion of the data transfer request 1.

【0046】(読み込み・書き込み動作のフロー)次
に、フローチャートを用いて説明する。図2及び図3
は、周辺装置13からクライアント20のメモリへ読み
込む場合、及び周辺装置13へクライアント20のメモ
リ上のデータを書き込む場合について、時系列に沿った
データ及び通知の流れを示している。なお、図2及び図
3中の符号は、構成要素を示す符号ではなく、下記ステ
ップを示す番号である。
(Flow of Read / Write Operation) Next, description will be made with reference to a flowchart. 2 and 3
9 shows the flow of data and notification in a time series when reading from the peripheral device 13 to the memory of the client 20 and when writing data on the memory of the client 20 to the peripheral device 13. Note that the reference numerals in FIGS. 2 and 3 are not the reference numerals indicating the components, but are the numbers indicating the following steps.

【0047】(読み込み動作)図2の読み込みの場合に
おいて、ファイルシステム管理手段2は、クライアント
20にあるユーザプログラムがデータ転送要求1によ
り、周辺装置13からの読み込みを要求を発行すると
(ステップ1)、TPT入出力管理表16への登録後、S-C通
信情報を通信制御手段3により、サーバー21へ転送し
完了通知を待ち合わせる(ステップ2)。
(Reading Operation) In the reading operation shown in FIG. 2, the file system management means 2 issues a request to read from the peripheral device 13 by the data transfer request 1 from the user program in the client 20.
(Step 1) After the registration in the TPT input / output management table 16, the SC communication information is transferred to the server 21 by the communication control means 3 and the completion notification is waited for (Step 2).

【0048】次いで、サーバー21において、通信制御
手段9からS-C通信情報を受け取ったファイルシステム
管理手段7は、入出力制御手段11により、拡張入出力
命令を周辺装置13に対して発行して完了を待ち合わせ
る(ステップ3)。
Next, in the server 21, the file system management means 7, which has received the SC communication information from the communication control means 9, issues an extended input / output command to the peripheral device 13 by the input / output control means 11 to complete the operation. Wait (step 3).

【0049】拡張入出力命令を受け取った周辺装置13
の入出力制御手段14は、識別番号及び読み込んだデー
タをクライアント20へ送信し(ステップ4)し、送信が
完了したら完了通知をサーバー21へ送る(ステップ
6)。
The peripheral device 13 that has received the extended input / output instruction
The input / output control means 14 transmits the identification number and the read data to the client 20 (step 4), and when the transmission is completed, sends a completion notification to the server 21 (step 6).

【0050】識別番号とデータを受信したクライアント
20の入出力制御手段6は、TPT入出力管理手段5によ
り格納先のアドレスを問い合わせ、そのメモリへ受信し
たデータを格納する(ステップ5)。
The input / output control means 6 of the client 20, which has received the identification number and the data, inquires of the storage destination address by the TPT input / output management means 5, and stores the received data in its memory (step 5).

【0051】周辺装置13から完了通知を受け取った入
出力制御手段11は、周辺装置13との該当する入出力
要求の完了をファイルシステム管理手段7に通知し、完
了通知を受け取ったファイルシステム管理手段7は、通
信制御手段9を介して、入出力要求の完了をクライアン
ト20へ通知する(ステップ7)。
The input / output control means 11 having received the completion notification from the peripheral device 13 notifies the completion of the corresponding input / output request with the peripheral device 13 to the file system management means 7, and receives the completion notification. 7 notifies the client 20 of the completion of the input / output request via the communication control means 9 (step 7).

【0052】完了通知を受け取ったクライアント20の
通信制御手段4は、ファイルシステム管理手段2へ通知
し、ファイルシステム管理手段2は、データ転送要求1
の完了をユーザプログラムへ通知する(ステップ8)。
The communication control means 4 of the client 20 which has received the completion notification notifies the file system management means 2, and the file system management means 2 transmits the data transfer request 1
Is notified to the user program (step 8).

【0053】なお、図2のステップ1、2、8において
は図5に示すステップ501〜506を順次行う。図2
のステップ5においては図6に示すステップ601〜6
07を順次行う。図2のステップ3、7においては図7
に示すステップ701〜706を順次行う。図2のステ
ップ4、6においては図8に示すステップ801〜80
7を順次行う。
In steps 1, 2 and 8 in FIG. 2, steps 501 to 506 shown in FIG. 5 are sequentially performed. FIG.
In step 5 of FIG. 6, steps 601 to 6 shown in FIG.
07 are sequentially performed. In steps 3 and 7 of FIG.
Steps 701 to 706 shown in FIG. In steps 4 and 6 of FIG. 2, steps 801 to 80 shown in FIG.
Step 7 is performed sequentially.

【0054】(書き込み動作)図3の書き込みの場合に
おいて、ファイルシステム管理手段2は、クライアント
20にあるユーザプログラムがデータ転送要求1によ
り、周辺装置13への書き込みを要求を発行すると(ス
テップ1)、TPT入出力管理表16への登録後、S-C通信
情報を通信制御手段3により、サーバー21へ転送し完
了通知を待ち合わせる(ステップ2)。
(Write Operation) In the case of the write shown in FIG. 3, the file system management means 2 issues a write request to the peripheral device 13 by the user program in the client 20 by the data transfer request 1 (step 1). After the registration in the TPT input / output management table 16, the SC communication information is transferred to the server 21 by the communication control means 3 to wait for the completion notification (step 2).

【0055】次いで、サーバー21において、通信制御
手段9からS-C通信情報を受け取ったファイルシステム
管理手段7は、入出力制御手段11により、拡張入出力
命令を周辺装置13に対して発行して完了を待ち合わせ
る(ステップ3)。
Next, in the server 21, the file system management means 7 having received the SC communication information from the communication control means 9 issues an extended input / output command to the peripheral device 13 by the input / output control means 11 to complete the operation. Wait (step 3).

【0056】拡張入出力命令を受け取った周辺装置13
の入出力制御手段14は、識別番号をクライアント20
へ送信し、クライアント20からデータを受信するまで
待ち合わせる(ステップ4)。
The peripheral device 13 that has received the extended input / output instruction
Input / output control means 14 of the client 20
And wait until data is received from the client 20 (step 4).

【0057】識別番号を受信したクライアント20の入
出力制御手段6は、TPT入出力管理手段5によりデータ
格納されているアドレスを問い合わせ、そのメモリのデ
ータを周辺装置13へ送信する(ステップ5)。
The input / output control means 6 of the client 20, which has received the identification number, inquires the address where the data is stored by the TPT input / output management means 5, and transmits the data in the memory to the peripheral device 13 (step 5).

【0058】データを受信した周辺装置13の入出力制
御手段14は、サーバー21へ通知する(ステップ6)。
The input / output control means 14 of the peripheral device 13 which has received the data notifies the server 21 (step 6).

【0059】周辺装置13から完了通知を受け取った入
出力制御手段11は、周辺装置13との該当する入出力
要求の完了をファイルシステム管理手段7に通知し、完
了通知を受け取ったファイルシステム管理手段7は、通
信制御手段9を介して、入出力要求の完了をクライアン
ト20へ通知する(ステップ7)。完了通知を受け取った
クライアント20の通信制御手段3は、ファイルシステ
ム管理手段2へ通知し、ファイルシステム管理手段2
は、データ転送要求1の完了をユーザプログラムへ通知
する(ステップ8)。
The input / output control means 11 which has received the completion notification from the peripheral device 13 notifies the completion of the corresponding input / output request with the peripheral device 13 to the file system management means 7 and receives the completion notification. 7 notifies the client 20 of the completion of the input / output request via the communication control means 9 (step 7). The communication control means 3 of the client 20, which has received the completion notification, notifies the file system management means 2 and
Notifies the user program of the completion of the data transfer request 1 (step 8).

【0060】なお、図3のステップ1、2、8において
は図5に示すステップ501〜506を順次行う。図3
のステップ5においては図6に示すステップ601〜6
07を順次行う。図3のステップ3、7においては図7
に示すステップ701〜706を順次行う。図3のステ
ップ4、6においては図8に示すステップ801〜80
7を順次行う。
In steps 1, 2 and 8 in FIG. 3, steps 501 to 506 shown in FIG. 5 are sequentially performed. FIG.
In step 5 of FIG. 6, steps 601 to 6 shown in FIG.
07 are sequentially performed. In steps 3 and 7 in FIG.
Steps 701 to 706 shown in FIG. In steps 4 and 6 of FIG. 3, steps 801 to 80 shown in FIG.
Step 7 is performed sequentially.

【0061】なお、第1の実施の形態では、クライアン
ト、サーバー、周辺装置は、それぞれ1つの場合につい
て説明したが、これらの数に制限はない。
In the first embodiment, one client, one server, and one peripheral device are described. However, the number is not limited.

【0062】実施の形態に係るネットワークファイルシ
ステムのデータ転送方法は上記の如く構成されているの
で、以下に掲げる効果を奏する。
Since the data transfer method of the network file system according to the embodiment is configured as described above, the following effects can be obtained.

【0063】第1の効果は、ネットワークファイルシス
テムの性能を向上できることにある。その理由は、サー
バーを介さず、周辺装置とクライアントの間で直接デー
タの転送を行うので、サーバーのCPU負荷や確保するメ
モリの大きさの影響を受けないためである。
The first effect is that the performance of the network file system can be improved. The reason is that the data is directly transferred between the peripheral device and the client without going through the server, so that it is not affected by the CPU load of the server or the size of the secured memory.

【0064】第2の効果は、サーバーのメモリ、CPU資
源を節約できることにある。その理由は、サーバーを介
さず、周辺装置とクライアントの間で直接データの転送
を行うので、転送対象のデータをサーバーのメモリに一
時的に置く必要がなく、またこのようなメモリの確保や
解放等の処理、及び確保したメモリにデータを転送する
処理のためにCPUを使用する必要がないためである。
The second effect is that memory and CPU resources of the server can be saved. The reason is that the data is transferred directly between the peripheral device and the client without going through the server, so there is no need to temporarily store the data to be transferred in the server's memory, and to secure or release such memory This is because there is no need to use a CPU for processing such as the above and processing for transferring data to the secured memory.

【0065】第3の効果は、高速な周辺装置の性能を生
かすことができる。その理由は、第1の効果によりサー
バーの負荷が低減するので、サーバーの能力に影響する
周辺装置の性能を生かすことができるからである。
The third effect is that the performance of high-speed peripheral devices can be utilized. The reason is that the load on the server is reduced by the first effect, so that the performance of the peripheral device which affects the performance of the server can be utilized.

【0066】(第2の実施の形態)本発明の第2の実施
の形態について図面を参照して詳細に説明する。図4に
おいての周辺装置13上にある入出力対象のファイルの
データが物理的に連続した領域に書かれていない場合
で、周辺装置13がこのようなデータについて、一度に
入出力を行う能力を有しない場合について説明する。本
実施の形態は、図1と比較して、クライアント20にア
ドレス計算手段17、サーバー21に分割手段18を有
し、サーバー21において、入出力要求を複数に分割し
て行う点で異なる。なお、サーバー21のファイルシス
テム管理手段7が、S-C通信情報を受け取るまでは、図
1の場合と同じなので、これ以降について説明する。ま
た、1)周辺装置13内の指定されたファイルのデータ
をクライアント20内のメモリ上へ読み込む場合、2)
クライアント20内のメモリ上のデータを周辺装置13
へ書き込む場合について分けて説明する。
(Second Embodiment) A second embodiment of the present invention will be described in detail with reference to the drawings. In the case where the data of the file to be input / output on the peripheral device 13 in FIG. 4 is not written in a physically continuous area, the peripheral device 13 has a capability of inputting / outputting such data at a time. The case in which the terminal does not have this will be described. This embodiment is different from FIG. 1 in that the client 20 has an address calculation unit 17 and the server 21 has a division unit 18, and the server 21 divides an input / output request into a plurality of requests. Until the file system management means 7 of the server 21 receives the SC communication information, the process is the same as that of FIG. Also, 1) when data of a specified file in the peripheral device 13 is read into the memory in the client 20; 2)
The data on the memory in the client 20 is transferred to the peripheral device 13.
The case where data is written to the storage device will be described separately.

【0067】(読み込み動作) 1)周辺装置からデータを読み込む場合、ファイルシス
テム管理手段7は、入出力対象のファイルのデータが周
辺装置13上で連続しているかどうかを調べる。
(Read Operation) 1) When reading data from a peripheral device, the file system management means 7 checks whether or not the data of the file to be input / output is continuous on the peripheral device 13.

【0068】連続していなかった場合、分割手段18に
よって、対象ファイルの入出力開始位置から最初にデー
タが途切れる位置までで、一旦入出力要求を周辺装置1
3へ発行する。即ち、TPT入出力情報へデータ内のオフ
セット値(最初は、0)を加え、TPT入出力情報の入出力
サイズとして、データが途切れる位置までの長さを設定
して、TPT入出力情報を入出力制御手段11に渡す。
If the data is not continuous, the dividing means 18 temporarily sends an I / O request to the peripheral device 1 from the input / output start position of the target file to the position where data is first interrupted.
Issue to 3. That is, the offset value in the data (initially 0) is added to the TPT input / output information, the length to the position where the data is interrupted is set as the input / output size of the TPT input / output information, and the TPT input / output information is input. It is passed to the output control means 11.

【0069】そして、図1と同様に、サーバー21の入
出力制御手段11から拡張入出力命令を受け取った周辺
装置13の入出力制御手段14は、識別番号、データの
サイズとしてデータが途切れる位置までの長さ、データ
内のオフセット、及び読み込んだデータをクライアント
20へ送信する。データの送信が完了したらデータ送信
の完了通知をサーバー21の入出力制御手段11へ送
る。
Then, similarly to FIG. 1, the input / output control means 14 of the peripheral device 13 which has received the extended input / output command from the input / output control means 11 of the server 21 determines the identification number and the data size until the data is interrupted. , The offset in the data, and the read data are transmitted to the client 20. When the data transmission is completed, a data transmission completion notification is sent to the input / output control means 11 of the server 21.

【0070】そして、サーバー21の入出力制御手段1
1から完了通知を受けたファイルシステム管理手段7
は、分割手段18によって、今読み込みが完了したサイ
ズ分データ内のオフセットを進め、データのサイズとし
てファイル内の入出力が完了した位置から、次にデータ
が途切れる位置までの長さを設定して、再び入出力制御
手段11から拡張入出力命令を周辺装置13へ送信す
る。
The input / output control means 1 of the server 21
File system management means 7 receiving the completion notification from 1
Is set by the dividing means 18 to advance the offset in the data by the size of the data that has just been read, and to set the length of the data from the position where the input / output is completed in the file to the position where the data is interrupted next. Then, the extended input / output command is transmitted from the input / output control unit 11 to the peripheral device 13 again.

【0071】この処理を最初にクライアント20から渡
された入出力サイズに達するまで行い、このサイズに達
した時点で、入出力制御手段11は、ファイルシステム
管理手段7に周辺装置13からの読み込みが完了したこ
とを通知する。
This processing is first performed until the input / output size passed from the client 20 is reached. When the input / output size is reached, the input / output control means 11 causes the file system management means 7 to read from the peripheral device 13. Notify completion.

【0072】また、上記と並行して、識別番号、データ
サイズ、データ内のオフセット、及びデータを受信した
クライアント20の入出力制御手段6は、TPT入出力管
理手段5に識別番号とデータ内のオフセットを渡す。
In parallel with the above, the identification number, the data size, the offset in the data, and the input / output control means 6 of the client 20 which has received the data send the identification number and the data in the data to the TPT input / output management means 5. Pass the offset.

【0073】そして、TPT入出力管理手段5は、TPT入出
力管理表16から得たアドレスをアドレス計算手段17
によってデータ内のオフセットの値分進めた値を入出力
制御手段6に渡し、入出力制御手段6は、そのメモリへ
受信したデータを格納し、TPT入出力管理手段5へメモ
リへの格納が終わったことを通知する。
Then, the TPT input / output management means 5 calculates the address obtained from the TPT input / output management table 16 into the address calculation means 17.
The input / output control means 6 passes the value advanced by the value of the offset in the data to the input / output control means 6, and stores the received data in the memory, and the TPT input / output management means 5 finishes storing the data in the memory. Notify that

【0074】この処理を周辺装置13からデータが送信
される毎に行い、TPT入出力管理手段5は、受信したデ
ータのサイズの合計値が最初にクライアント20から要
求した入出力のサイズに達した時点で、全データの受信
が完了したと解釈し、ファイルシステム管理手段2へ周
辺装置13からのデータ受信が完了したことを通知す
る。
This process is performed every time data is transmitted from the peripheral device 13, and the TPT input / output management unit 5 determines that the total value of the size of the received data has reached the size of the input / output requested first from the client 20. At this point, it is interpreted that the reception of all data has been completed, and notifies the file system management means 2 that the reception of data from the peripheral device 13 has been completed.

【0075】(書き込み動作) 2)周辺装置へデータを書き込む場合、ファイルシステ
ム管理手段7は、入出力対象のファイルのデータを書き
込む領域が周辺装置13上で物理的に連続して確保され
ているかどうかを調べる。
(Write Operation) 2) When writing data to a peripheral device, the file system management means 7 determines whether or not an area for writing data of a file to be input / output is physically continuous on the peripheral device 13. Find out if.

【0076】連続していなかった場合、分割手段18に
よって、対象ファイルの入出力開始位置から最初に領域
が途切れる位置までで、一旦入出力要求を周辺装置13
へ発行する。即ち、TPT入出力情報へデータ内のオフセ
ット値(最初は、0)を加え、TPT入出力情報の入出力サ
イズとして、領域が途切れる位置までの長さを設定し
て、TPT入出力情報を入出力制御手段11に渡す。
If they are not continuous, the dividing means 18 temporarily sends an I / O request to the peripheral device 13 from the input / output start position of the target file to the position where the area is first interrupted.
Issue to That is, the offset value in the data (initially 0) is added to the TPT input / output information, the length of the TPT input / output information is set as the length to the position where the area is interrupted, and the TPT input / output information is input. It is passed to the output control means 11.

【0077】そして、図1と同様に、サーバー21の入
出力制御手段11から拡張入出力命令を受け取った周辺
装置13の入出力制御手段14は、識別番号、データの
サイズとしてデータが途切れる位置までの長さ、データ
内のオフセットをクライアント20へ送信し、クライア
ント20からデータを受信するまで待ち合わせる。
Then, similarly to FIG. 1, the input / output control means 14 of the peripheral device 13 which has received the extended input / output command from the input / output control means 11 of the server 21 determines the identification number and the data size up to the position where the data is interrupted. And the offset in the data to the client 20, and waits until data is received from the client 20.

【0078】一方、識別番号、データのサイズ、データ
内のオフセットを受け取ったクライアント20の入出力
制御手段6は、TPT入出力管理手段5に識別番号とデー
タ内のオフセットを渡す。
On the other hand, the input / output control means 6 of the client 20 which has received the identification number, the size of the data, and the offset in the data passes the identification number and the offset in the data to the TPT input / output management means 5.

【0079】そして、TPT入出力管理手段5は、TPT入出
力管理表16から得たアドレスをアドレス計算手段17
によってデータ内のオフセットの値分進めた値を入出力
制御手段6に渡し、入出力制御手段6は、そのメモリの
データを周辺装置13へ送信し、送信が終了したことを
TPT入出力管理手段5へ通知する。
Then, the TPT input / output management means 5 uses the address obtained from the TPT input / output management table 16
To the input / output control means 6, the input / output control means 6 transmits the data in the memory to the peripheral device 13, and indicates that the transmission has been completed.
Notify the TPT input / output management means 5.

【0080】そして、データを受信した周辺装置13の
入出力制御手段14は、サーバー21の入出力制御手段
11へ通知する。
The input / output control means 14 of the peripheral device 13 having received the data notifies the input / output control means 11 of the server 21.

【0081】そして、入出力制御手段11から完了通知
を受けたファイルシステム管理手段7は、分割手段18
によって、今書き込みが完了したサイズ分データ内のオ
フセットを進め、データのサイズとしてファイル内の入
出力が完了した位置から、次に領域が途切れる位置まで
の長さを設定して、再び入出力制御手段11から拡張入
出力命令を周辺装置13へ送信する。
The file system management means 7 having received the completion notification from the input / output control means 11
In this way, the offset in the data is advanced by the size of the data that has just been written, and the length of the data from the position where the I / O is completed in the file to the position where the next area breaks is set, and the I / O control is performed again. The extended input / output command is transmitted from the means 11 to the peripheral device 13.

【0082】この処理をサーバー21から書き込み要求
が送られる毎に行い、クライアント20のTPT入出力管
理手段5は、送信したデータのサイズの合計値が最初に
クライアント20から要求した入出力のサイズに達した
時点で、全データの受信が完了したと解釈し、ファイル
システム管理手段2へ周辺装置13からのデータ受信が
完了したことを通知する。
This process is performed every time a write request is sent from the server 21. The TPT input / output management means 5 of the client 20 determines that the total value of the size of the transmitted data is equal to the size of the input / output requested first from the client 20. At this point, it is interpreted that the reception of all data has been completed, and notifies the file system management means 2 that the reception of data from the peripheral device 13 has been completed.

【0083】同様に、サーバー21の入出力制御手段1
1は、最初にクライアント20から渡された入出力サイ
ズに達するまで行い、このサイズに達した時点で、ファ
イルシステム管理手段7に周辺装置13への書き込みが
完了したことを通知する。
Similarly, the input / output control means 1 of the server 21
1 is performed until the input / output size first passed from the client 20 is reached, and when this size is reached, the file system management means 7 is notified that writing to the peripheral device 13 has been completed.

【0084】第2の実施の形態に係るファイルシステム
の転送方法によれば、第1の実施の形態にかかるファイ
ル転送システムの効果の他に、さらに、周辺装置13が
このようなデータについて、一度に入出力を行う能力を
有しない場合にも適用できるという効果を奏する。
According to the file system transfer method according to the second embodiment, in addition to the effects of the file transfer system according to the first embodiment, the peripheral device 13 also performs such This has an effect that the present invention can be applied to a case where the user does not have the ability to perform input / output.

【0085】なお、上記構成部材の数等は上記実施の形
態に限定されず、本発明を実施する上で好適な数にする
ことができる。また、各図において、同一構成要素には
同一符号を付している。
The number of the above-mentioned constituent members and the like are not limited to the above-described embodiment, and can be set to a number suitable for carrying out the present invention. In each drawing, the same components are denoted by the same reference numerals.

【0086】[0086]

【発明の効果】本発明は以上のように構成されているの
で、以下に掲げる効果を奏する。第1の効果は、ネット
ワークファイルシステムの性能を向上できることにあ
る。その理由は、サーバーを介さず、周辺装置とクライ
アントの間で直接データの転送を行うので、サーバーの
CPU負荷や確保するメモリの大きさの影響を受けないた
めである。
Since the present invention is configured as described above, the following effects can be obtained. The first effect is that the performance of the network file system can be improved. The reason is that data is transferred directly between the peripheral device and the client without going through the server,
This is because it is not affected by the CPU load or the size of the secured memory.

【0087】第2の効果は、サーバーのメモリ、CPU資
源を節約できることにある。その理由は、サーバーを介
さず、周辺装置とクライアントの間で直接データの転送
を行うので、転送対象のデータをサーバーのメモリに一
時的に置く必要がなく、またこのようなメモリの確保や
解放等の処理、及び確保したメモリにデータを転送する
処理のためにCPUを使用する必要がないためである。
The second effect is that memory and CPU resources of the server can be saved. The reason is that the data is transferred directly between the peripheral device and the client without going through the server, so there is no need to temporarily store the data to be transferred in the server's memory, and to secure or release such memory This is because there is no need to use a CPU for processing such as the above and processing for transferring data to the secured memory.

【0088】第3の効果は、高速な周辺装置の性能を生
かすことができる。その理由は、第1の効果によりサー
バーの負荷が低減するので、サーバーの能力に影響する
周辺装置の性能を生かすことができるからである。
The third effect is that the performance of a high-speed peripheral device can be utilized. The reason is that the load on the server is reduced by the first effect, so that the performance of the peripheral device which affects the performance of the server can be utilized.

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

【図1】本発明の第1の実施の形態に係る、ネットワー
クファイルシステムのデータ転送方法の構成図である。
FIG. 1 is a configuration diagram of a data transfer method of a network file system according to a first embodiment of the present invention.

【図2】図1に示すネットワークファイルシステムのデ
ータ転送方法の読み込み動作を示す図である。
FIG. 2 is a diagram showing a reading operation of a data transfer method of the network file system shown in FIG.

【図3】図1に示すネットワークファイルシステムのデ
ータ転送方法の書き込み動作を示す図である。
FIG. 3 is a diagram showing a write operation of the data transfer method of the network file system shown in FIG. 1;

【図4】本発明の第2の実施の形態に係るネットワーク
ファイルシステムのデータ転送方法の構成図である。
FIG. 4 is a configuration diagram of a data transfer method of a network file system according to a second embodiment of the present invention.

【図5】図2のステップ1、2、8、図3のステップ
1、2、8を示すフローチャートである。
FIG. 5 is a flowchart showing steps 1, 2, and 8 of FIG. 2 and steps 1, 2, and 8 of FIG.

【図6】図2のステップ5、図3のステップ5を示すフ
ローチャートである。
FIG. 6 is a flowchart showing Step 5 of FIG. 2 and Step 5 of FIG. 3;

【図7】図2のステップ3、7、図3のステップ3、7
を示すフローチャートである。
FIG. 7 shows steps 3 and 7 in FIG. 2 and steps 3 and 7 in FIG.
It is a flowchart which shows.

【図8】図2のステップ4、6、図3のステップ4、6
を示すフローチャートである。
FIG. 8 shows steps 4 and 6 in FIG. 2 and steps 4 and 6 in FIG.
It is a flowchart which shows.

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

1 データ転送要求 2 ファイルシステム管理手段 3 通信制御手段 4 通信制御手段 5 TPT入出力管理手段 6 入出力制御手段 7 ファイルシステム管理手段 9 通信制御手段 11 入出力制御手段 12 通信回線 13 周辺装置 14 入出力制御手段 16 TPT入出力管理表 17 アドレス計算手段 18 分割手段 20 クライアント 21 サーバー 30 交換機 1 Data transfer request 2 File system management means 3 Communication control means 4 Communication control means 5 TPT input / output management means 6 Input / output control means 7 File system management means 9 Communication control means 11 Input / output control means 12 Communication line 13 Peripheral device 14 Input Output control means 16 TPT input / output management table 17 Address calculation means 18 Division means 20 Client 21 Server 30 Switch

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 12/00 G06F 3/06 G06F 13/10 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 13/00 G06F 12/00 G06F 3/06 G06F 13/10

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 サーバー(21)と、周辺装置(13)
と、クライアント(20)とを有するネットワークにお
けるファイルシステムのデータ転送方法であって、 いずれのクライアント(20)と、いずれの周辺装置
(13)がTPTの機能をサポートしているかをサーバー
(21)に記憶させ、 クライアント(20)から発行されたI/O要求を周辺装
置(13)に転送する際に、この周辺装置(13)から
見た前記クライアント(20)のネットワーク上のアド
レスを付加して拡張入出力命令とし、 該拡張入出力命令を受け取った前記周辺装置(13)
は、データ転送を行う時にサーバー(21)と行うので
はなく、クライアント(20)と直接データ転送を行う
ことを特徴とするネットワークファイルシステムのデー
タ転送方法。
1. A server (21) and a peripheral device (13)
A data transfer method of a file system in a network having a client (20) and a client (20). The server (21) determines which client (20) and which peripheral device (13) support the TPT function. When the I / O request issued from the client (20) is transferred to the peripheral device (13), an address on the network of the client (20) viewed from the peripheral device (13) is added. The peripheral device (13) receiving the extended input / output instruction
Is a method of transferring data directly to a client (20) instead of to a server (21) when transferring data.
【請求項2】 ユーザプログラムからデータ転送要求
(1)がファイルシステム管理手段(2)に渡される
と、ファイルシステム管理手段(2)は、データ転送要
求先がクライアント(20)内の周辺装置か、サーバー
(21)の管理する装置周辺かを確認し、サーバー(2
1)の管理する周辺装置であった場合、ファイルシステ
ム管理手段(2)は、TPT入出力管理手段(5)に対し
て、入出力要求を一意に識別するための識別番号と、デ
ータを転送すべきメモリのアドレスを渡し、TPT入出力
管理手段(5)は、該アドレスをTPT入出力管理表(1
6)に登録して、この入出力要求を保持し、 次いで、前記ファイルシステム管理手段(2)は、 a) 周辺装置(13)のディスク上のファイルのファイ
ル名、 b) 入出力開始位置のファイル内オフセットと入出力サ
イズ、 c) 周辺装置からの読み込みか周辺装置への書き込みで
あるかの別、 d) クライアントの交換機経由のアドレス、 e) 識別番号 からなるサーバー/クライアント通信情報を通信制御手
段(3)へ渡し、これをサーバー(21)へ転送するよ
うに指示し、通信制御手段(3)からの完了通知を待ち
合わせ、 その後、サーバー(21)はクライアント(20)から
のサーバー/クライアント通信情報を受け取り、通信制
御手段(9)は、サーバー/クライアント通信情報をフ
ァイルシステム管理手段(7)に渡し、 ファイルシステム管理手段(7)は、サーバー/クライ
アント通信情報の内容を確認し、サーバーが管理する周
辺装置であった場合、サーバー/クライアント通信情報
からTPT入出力情報を取りだし、入出力管理手段(1
1)に渡して、入出力制御手段11から完了通知を受け
取るまで待ち合わせ、 入出力制御手段(11)は、TPT入出力情報を周辺装置
が解読できる、周辺装置(13)からクライアント(2
0)へのアドレスという付加情報を含むため拡張入出力
命令に変換し、該拡張入出力命令を周辺装置(13)に
対して発行することを特徴とした請求項1記載の、ネッ
トワークファイルシステムのデータ転送方法。
2. When a data transfer request (1) is passed from a user program to a file system management means (2), the file system management means (2) checks whether the data transfer request destination is a peripheral device in the client (20). The server (21) checks whether the device is in the vicinity of the device, and checks the server (2).
If the peripheral device is managed by 1), the file system management means (2) transfers the identification number for uniquely identifying the input / output request and the data to the TPT input / output management means (5). The address of the memory to be transferred is passed, and the TPT input / output management means (5) passes the address to the TPT input / output management table (1).
6) to hold this input / output request, and then the file system management means (2): a) the file name of the file on the disk of the peripheral device (13); b) the input / output start position Communication control of server / client communication information consisting of offset in file and input / output size, c) whether reading from peripheral device or writing to peripheral device, d) address of client via exchange, e) identification number Means (3), instruct it to transfer this to the server (21), wait for a completion notification from the communication control means (3), and then the server (21) sends the server / client from the client (20) Upon receiving the communication information, the communication control means (9) passes the server / client communication information to the file system management means (7), and Management means (7) checks the contents of the server / client communication information, if the server is a peripheral device that manages, retrieves the TPT input and output information from the server / client communication information, input and output management means (1
1), and waits until a completion notification is received from the input / output control means 11. The input / output control means (11) transmits the TPT input / output information from the peripheral device (13) to the client (2).
2. The network file system according to claim 1, wherein the extended input / output instruction is converted into an extended input / output instruction to include additional information called an address to the peripheral device, and the extended input / output instruction is issued to the peripheral device. Data transfer method.
【請求項3】 周辺装置からデータを読み込む場合、
拡張入出力命令を受け取った周辺装置(13)の入出力
制御手段(14)は、識別番号、データのサイズ、及び
読み込んだデータをクライアント(20)へ送信し、デ
ータの送信が完了したらデータ送信の完了通知をサーバ
ー(21)の入出力制御手段(11)へ送り、 次いで、識別番号、データサイズ、及びデータを受信し
たクライアント(20)の入出力制御手段(6)は、TP
T入出力管理手段(5)に識別番号を渡し、受信したデ
ータを格納するクライアント(20)のメモリのアドレ
スを問い合わせ、 TPT入出力管理手段(5)は、識別
番号をキーにしてTPT入出力管理表(16)から該当す
るメモリのアドレスを取り出して、入出力制御手段
(6)に渡し、入出力制御手段(6)は、そのメモリへ
受信したデータを格納し、TPT入出力管理手段(5)へ
メモリへの格納が終わったことを通知し、 さらに、この通知を受け取ったTPT入出力管理手段
(5)は、ファイルシステム管理手段(2)へ周辺装置
(13)からのデータ受信が完了したことを通知するこ
とにより読み込み動作を行うことを特徴とした1又は2
に記載のネットワークファイルシステムのデータ転送方
法。
3. When data is read from a peripheral device,
The input / output control means (14) of the peripheral device (13) that has received the extended input / output command transmits the identification number, the data size, and the read data to the client (20), and transmits the data when the data transmission is completed. Is sent to the input / output control means (11) of the server (21). Next, the identification number, the data size, and the input / output control means (6) of the client (20) which has received the data,
The identification number is passed to the T input / output management means (5), the memory address of the client (20) for storing the received data is queried, and the TPT input / output management means (5) uses the identification number as a key for the TPT input / output. The address of the corresponding memory is taken out from the management table (16) and passed to the input / output control means (6). The input / output control means (6) stores the received data in the memory, and stores the received data in the TPT input / output management means ( 5), the TPT input / output management means (5) having received the notification notifies the file system management means (2) of data reception from the peripheral device (13). 1 or 2 characterized in that the reading operation is performed by notifying the completion.
3. The data transfer method of a network file system according to item 1.
【請求項4】 周辺装置(13)へデータを書き込む場
合、拡張入出力命令を受け取った周辺装置(13)の入
出力制御手段(14)は、識別番号、及びデータのサイ
ズをクライアント(20)へ送信し、クライアント(2
0)からデータを受信するまで待ち合わせ、 識別番号とデータサイズを受け取ったクライアント(2
0)の入出力制御手段(6)は、TPT入出力管理手段
(5)に識別番号を渡し、送信するデータが格納されて
いるクライアント(20)のメモリのアドレスを問い合
わせ、 TPT入出力管理手段(5)は、識別番号をキーにしてTPT
入出力管理表(16)から該当する送信元のメモリのア
ドレスを取り出して入出力制御手段(6)に渡し、入出
力制御手段(6)は、そのメモリのデータを周辺装置
(13)へ送信し、送信が終了したことをTPT入出力管
理手段(5)へ通知し、 さらに、この通知を受け取ったTPT入出力管理手段
(5)は、ファイルシステム管理手段(2)へ周辺装置
(13)へのデータ送信が完了したことを通知し そして、データを受信した周辺装置(13)の入出力制
御手段(14)は、サーバー(21)の入出力制御手段
(11)へ通知することを特徴とした、請求項1乃至3
のいずれかに記載のネットワークファイルシステムのデ
ータ転送方法。
4. When writing data to the peripheral device (13), the input / output control means (14) of the peripheral device (13) which has received the extended input / output command sets the identification number and the data size to the client (20). To the client (2
0) until the data is received, and the client (2) receiving the identification number and data size
The input / output control means (6) of (0) passes the identification number to the TPT input / output management means (5), inquires the address of the memory of the client (20) in which the data to be transmitted is stored, (5) TPT using the identification number as a key
The address of the corresponding transmission source memory is taken out of the input / output management table (16) and passed to the input / output control means (6). The input / output control means (6) transmits the data of the memory to the peripheral device (13). The TPT input / output management means (5) notifies that the transmission has been completed to the TPT input / output management means (5). And the input / output control means (14) of the peripheral device (13) having received the data notifies the input / output control means (11) of the server (21). Claims 1 to 3
The method for transferring data of a network file system according to any one of the above.
【請求項5】 前記読み込み動作及び書き込み動作の
後、周辺装置(13)から完了通知を受け取った入出力
制御手段(11)は、周辺装置(13)との該当する入
出力要求の完了をファイルシステム管理手段(7)に通
知し、 完了通知を受け取ったファイルシステム管理手段(7)
は、通信制御手段(9)を介して、入出力要求の完了を
クライアント(20)へ通知し、 クライアント(20)の通信制御手段(3)は、サーバ
ー(21)からの完了通知を受け取ると、それが待ち合
わせている入出力要求であれば、ファイルシステム管理
手段(2)に完了を通知し、 ファイルシステム管理手段(2)は、TPT入出力管理手
段(5)からの完了通知を受け取っていれば、データ転
送要求(1)の完了をユーザプログラムへ通知すること
により書き込み動作を行うことを特徴とした、請求項1
乃至4のいずれかに記載のネットワークファイルシステ
ムのデータ転送方法。
5. After the read operation and the write operation, the input / output control means (11) receiving the completion notification from the peripheral device (13) notifies the completion of the corresponding input / output request with the peripheral device (13) to a file. File system management means (7) that notifies system management means (7) and receives the completion notification
Notifies the client (20) of the completion of the input / output request via the communication control means (9). When the communication control means (3) of the client (20) receives the completion notification from the server (21), If it is a waiting input / output request, the completion is notified to the file system management means (2), and the file system management means (2) receives the completion notification from the TPT input / output management means (5). The write operation is performed by notifying the user program of the completion of the data transfer request (1).
5. The data transfer method for a network file system according to any one of claims 4 to 4.
【請求項6】 前記読み込み動作及び前記書き込み動作
の後、周辺装置(13)から完了通知を受け取った入出
力制御手段(11)は、周辺装置(13)との該当する
入出力要求の完了をファイルシステム管理手段7に通知
し、 完了通知を受け取ったファイルシステム管理手段(7)
は、通信制御手段(9)を介して、入出力要求の完了を
クライアント(20)へ通知し、 クライアント(20)の通信制御手段(3)は、サーバ
ー(21)からの完了通知を受け取ると、それが待ち合
わせている入出力要求であれば、ファイルシステム管理
手段(2)に完了を通知し、 ファイルシステム管理手段(2)は、TPT入出力管理手
段(5)からの完了通知を受け取っていれば、データ転
送要求(1)の完了をユーザプログラムへ通知すること
を特徴とした、請求項1乃至4のいずれかに記載のネッ
トワークファイルシステムのデータ転送方法。
6. After the read operation and the write operation, the input / output control means (11) which has received the completion notification from the peripheral device (13) determines completion of the corresponding input / output request with the peripheral device (13). File system management means (7) that has notified the file system management means 7 and received the completion notification
Notifies the client (20) of the completion of the input / output request via the communication control means (9). When the communication control means (3) of the client (20) receives the completion notification from the server (21), If it is a waiting input / output request, the completion is notified to the file system management means (2), and the file system management means (2) receives the completion notification from the TPT input / output management means (5). 5. The data transfer method for a network file system according to claim 1, wherein the completion of the data transfer request (1) is notified to a user program.
【請求項7】 周辺装置(13)からデータを読み込
む場合、ファイルシステム管理手段(7)は、入出力対
象のファイルのデータが周辺装置(13)上で連続して
いるかどうかを調べ、 連続していなかった場合、分割手段(18)によって、
対象ファイルの入出力開始位置から最初にデータが途切
れる位置までで、一旦入出力要求を周辺装置(13)へ
発行し、 サーバー(21)の入出力制御手段(11)から拡張入
出力命令を受け取った周辺装置(13)の入出力制御手
段(14)は、識別番号、データのサイズとしてデータ
が途切れる位置までの長さ、データ内のオフセット、及
び読み込んだデータをクライアント(20)へ送信し、 データの送信が完了したらデータ送信の完了通知をサー
バー(21)の入出力制御手段(11)へ送り、 サーバー(21)の入出力制御手段(11)から完了通
知を受けたファイルシステム管理手段(7)は、分割手
段(18)によって、今読み込みが完了したサイズ分デ
ータ内のオフセットを進め、データのサイズとしてファ
イル内の入出力が完了した位置から、次にデータが途切
れる位置までの長さを設定して、再び入出力制御手段
(11)から拡張入出力命令を周辺装置(13)へ送信
し、この処理を最初にクライアント(20)から渡され
た入出力サイズに達するまで行い、このサイズに達した
時点で、入出力制御手段(11)は、ファイルシステム
管理手段(7)に周辺装置(13)からの読み込みが完
了したことを通知し、上記処理と並行して、識別番号、
データサイズ、データ内のオフセット、及びデータを受
信したクライアント(20)の入出力制御手段(6)
は、TPT入出力管理手段5に識別番号とデータ内のオフ
セットを渡し、 TPT入出力管理手段(5)は、TPT入出力管理表(16)
から得たアドレスをアドレス計算手段(17)によって
データ内のオフセットの値分進めた値を入出力制御手段
(6)に渡し、入出力制御手段(6)は、そのメモリへ
受信したデータを格納し、TPT入出力管理手段(5)へ
メモリへの格納が終わったことを通知し、 この処理を
周辺装置(13)からデータが送信される毎に行い、TP
T入出力管理手段(5)は、受信したデータのサイズの
合計値が最初にクライアント(20)から要求した入出
力のサイズに達した時点で、全データの受信が完了した
と解釈し、ファイルシステム管理手段(2)へ周辺装置
(13)からのデータ受信が完了したことを通知するこ
とにより読み込み動作を行うことを特徴とした、請求項
1乃至6のいずれかに記載のネットワークファイルシス
テムのデータ転送方法。
7. When reading data from the peripheral device (13), the file system management means (7) checks whether the data of the file to be input / output is continuous on the peripheral device (13), If not, the dividing means (18)
From the input / output start position of the target file to the position where data is first interrupted, an input / output request is once issued to the peripheral device (13), and an extended input / output command is received from the input / output control means (11) of the server (21). The input / output control means (14) of the peripheral device (13) transmits the identification number, the length to the position where the data is interrupted as the data size, the offset in the data, and the read data to the client (20), When the data transmission is completed, a completion notification of the data transmission is sent to the input / output control means (11) of the server (21), and the file system management means ( 7) The dividing means (18) advances the offset in the data by the size of the data that has just been read, and sets the size of the data as input / output in the file. Is set from the position at which the data is completed to the position at which the data is interrupted, and the extended input / output command is transmitted again from the input / output control means (11) to the peripheral device (13). The process is performed until the input / output size passed from (20) is reached. When the input / output size is reached, the input / output control means (11) instructs the file system management means (7) to complete reading from the peripheral device (13). Notification, and the identification number,
Data size, offset in the data, and input / output control means (6) of the client (20) that received the data
Passes the identification number and the offset in the data to the TPT input / output management means 5, and the TPT input / output management means (5)
A value obtained by advancing the address obtained from the address by the offset value in the data by the address calculating means (17) is passed to the input / output control means (6), and the input / output control means (6) stores the received data in its memory. Then, it notifies the TPT input / output management means (5) that the storage in the memory has been completed, and performs this processing every time data is transmitted from the peripheral device (13).
T The input / output management means (5) interprets that the reception of all data has been completed when the total value of the size of the received data first reaches the size of the input / output requested from the client (20). 7. The network file system according to claim 1, wherein a read operation is performed by notifying the system management means (2) that data reception from the peripheral device (13) has been completed. Data transfer method.
【請求項8】 周辺装置へデータを書き込む場合、ファ
イルシステム管理手段(7)は、入出力対象のファイル
のデータを書き込む領域が周辺装置(13)上で物理的
に連続して確保されているかどうかを調べ、 連続していなかった場合、分割手段(18)によって、
対象ファイルの入出力開始位置から最初に領域が途切れ
る位置までで、一旦入出力要求を周辺装置(13)へ発
行し、 TPT入出力情報へデータ内のオフセット値(最初は、0)
を加え、TPT入出力情報の入出力サイズとして、領域が
途切れる位置までの長さを設定して、TPT入出力情報を
入出力制御手段(11)に渡し、 サーバー(21)の入出力制御手段(11)から拡張入
出力命令を受け取った周辺装置(13)の入出力制御手
段(14)は、識別番号、データのサイズとしてデータ
が途切れる位置までの長さ、データ内のオフセットをク
ライアント(20)へ送信し、クライアント(20)か
らデータを受信するまで待ち合わせ、一方、識別番号、
データのサイズ、データ内のオフセットを受け取ったク
ライアント(20)の入出力制御手段(6)は、TPT入
出力管理手段(5)に識別番号とデータ内のオフセット
を渡し、 TPT入出力管理手段5は、TPT入出力管理表(16)から
得たアドレスをアドレス計算手段(17)によってデー
タ内のオフセットの値分進めた値を入出力制御手段
(6)に渡し、入出力制御手段(6)は、そのメモリの
データを周辺装置(13)へ送信し、送信が終了したこ
とをTPT入出力管理手段(5)へ通知し、 データを受信した周辺装置(13)の入出力制御手段
(14)は、サーバー(21)の入出力制御手段(1
1)へ通知し、 入出力制御手段(11)から完了通知を受けたファイル
システム管理手段(7)は、分割手段(18)によっ
て、今書き込みが完了したサイズ分データ内のオフセッ
トを進め、データのサイズとしてファイル内の入出力が
完了した位置から、次に領域が途切れる位置までの長さ
を設定して、再び入出力制御手段(11)から拡張入出
力命令を周辺装置(13)へ送信し、 この処理をサーバー(21)から書き込み要求が送られ
る毎に行い、クライアント(20)のTPT入出力管理手
段(5)は、送信したデータのサイズの合計値が最初に
クライアント(20)から要求した入出力のサイズに達
した時点で、全データの受信が完了したと解釈し、ファ
イルシステム管理手段(2)へ周辺装置(13)からの
データ受信が完了したことを通知し、 同様に、サーバー(21)の入出力制御手段(11)
は、最初にクライアント(20)から渡された入出力サ
イズに達するまで行い、このサイズに達した時点で、フ
ァイルシステム管理手段(7)に周辺装置(13)への
書き込みが完了したことを通知することを特徴とした、
請求項1乃至7のいずれかに記載のネットワークファイ
ルシステムのデータ転送方法。
8. When writing data to a peripheral device, the file system management means (7) determines whether an area for writing data of an input / output target file is physically continuously secured on the peripheral device (13). Check if it is not continuous, and if it is not continuous,
An I / O request is issued to the peripheral device (13) once from the input / output start position of the target file to the position where the area is first interrupted, and the offset value in the data to the TPT input / output information (initially 0)
Is set as the input / output size of the TPT input / output information, the length up to the position where the region is interrupted, and the TPT input / output information is passed to the input / output control means (11). The input / output control means (14) of the peripheral device (13) which has received the extended input / output command from (11) transmits the identification number, the length to the position where the data is interrupted as the data size, and the offset in the data to the client (20). ) And wait until data is received from the client (20), while the identification number,
The input / output control means (6) of the client (20) having received the data size and the offset in the data passes the identification number and the offset in the data to the TPT input / output management means (5). Sends the value obtained by advancing the address obtained from the TPT input / output management table (16) by the offset value in the data by the address calculation means (17) to the input / output control means (6), Transmits the data in the memory to the peripheral device (13), notifies the TPT input / output management means (5) that the transmission has been completed, and sends the data to the input / output control means (14) of the peripheral device (13) receiving the data. ) Is the input / output control means (1) of the server (21).
The file system management means (7) notified to 1), and received the completion notification from the input / output control means (11), advances the offset in the data by the size of the writing completed by the dividing means (18), and The length from the position where the input / output is completed in the file to the position where the area is interrupted next is set as the size of the file, and the extended input / output command is transmitted again from the input / output control means (11) to the peripheral device (13). This process is performed every time a write request is sent from the server (21), and the TPT input / output management means (5) of the client (20) first determines that the total value of the size of the transmitted data is At the time when the requested input / output size is reached, it is interpreted that all data has been received, and the file system management means (2) has completed data reception from the peripheral device (13). Notifies the door, likewise, the input-output control means the server (21) (11)
Is performed first until the input / output size passed from the client (20) is reached, and when this size is reached, the file system management means (7) is notified that the writing to the peripheral device (13) has been completed. Was characterized by
A data transfer method for a network file system according to claim 1.
【請求項9】 サーバー(21)と、周辺装置(13)
と、クライアント(20)とが互いに接続されたネット
ワークであって、 クライアント(20)は、ファイルシステム管理手段
(2)と、通信制御手段(3)と、TPT入出力管理手段
(5)と、入出力制御手段(6)と、TPT入出力管理表
(16)を備え、 ファイルシステム管理手段(2)は、データ転送要求が
ユーザプログラムから渡されると、前記周辺装置(1
3)に存在するファイルのファイル名、I/O開始位置の
ファイル内オフセットとI/Oサイズ、周辺装置(13)
からの読み込みか周辺装置への書き込みであるかの別、
クライアントの交換機経由のアドレス、及び識別番号を
有するサーバー/クライアント通信情報を受け取り、こ
れらの情報をサーバー(21)へ転送するために、通信
制御手段(3)へ通知し、通信制御手段3からの完了通
知を待ち合わせ、通信制御手段(3)とTPT入出力管理
手段(5)から完了通知を受け取ったら、データ転送要
求(1)の完了をユーザプログラムに通知し、 前記入出力制御手段(6)は、前記周辺装置(13)か
ら識別番号及びデータを受け取ったとき、TPT入出力管
理手段(5)に問い合わせ、該当する識別番号があれ
ば、データのメモリへの転送、またはメモリ上のデータ
を周辺装置(13)へ転送し、 TPT入出力管理手段(5)は、TPT入出力管理表(16)
への登録、与えられた識別番号に対応するメモリアドレ
スの入出力制御手段(6)への通知、及びファイルシス
テム管理手段(2)への完了通知を行い、 前記サーバー(21)は、ファイルシステム管理手段
(7)と、通信制御手段(9)と、入出力制御手段(1
1)とを備え、 前記ファイルシステム管理手段(7)は、通信制御手段
(9)から渡されたサーバー/クライアント通信情報か
ら識別番号、ファイル名、I/O開始位置のファイル内オ
フセットとI/Oサイズ、周辺装置(13)からの読み込
みか周辺装置(13)への書き込みであるかの別、及び
クライアントの交換機経由のアドレスを有するTPT入出
力情報を入出力制御手段(11)に渡し、入出力制御手
段(11)からの完了通知を待ち合わせ、 通信制御手段(9)は、クライアントから受け取ったサ
ーバー/クライアント通信情報を、ファイルシステム管
理手段(7)へ渡し、このファイルシステム管理手段
(7)からの入出力要求の完了通知をクライアント(2
0)へ通知し、 前記入出力制御手段(11)は、ファイルシステム管理
手段(7)から受け取ったTPT入出力情報を元に周辺装
置が解読できる命令に変換し、周辺装置(13)へ発行
し、この周辺装置(13)からの入出力要求の完了通知
をファイルシステム管理手段(7)へ通知し、 周辺装置(13)は、入出力制御手段(11)から受け
取った情報に基づいて、識別番号または識別番号とデー
タを入出力制御手段(6)に送り、クライアント(2
0)への送信またはクライアント(20)からのデータ
の受信が終了するとサーバー(21)へ完了通知を行う
入出力制御手段(14)を備えていることを特徴とする
ネットワーク。
9. A server (21) and a peripheral device (13)
And a client (20) connected to each other, the client (20) comprising: a file system management means (2); a communication control means (3); a TPT input / output management means (5); The file system management means (2) includes an input / output control means (6) and a TPT input / output management table (16).
File name of file existing in 3), file offset and I / O size of I / O start position, peripheral device (13)
Whether to read from or write to peripherals,
It receives server / client communication information having an address and an identification number of the client via the exchange, and notifies the communication control means (3) to transfer the information to the server (21). Waiting for the completion notification, upon receiving the completion notification from the communication control means (3) and the TPT input / output management means (5), notifies the user program of the completion of the data transfer request (1), and the input / output control means (6) When receiving the identification number and the data from the peripheral device (13), it inquires the TPT input / output management means (5), and if there is the corresponding identification number, transfers the data to the memory or reads the data on the memory. Transfer to the peripheral device (13), TPT input / output management means (5), TPT input / output management table (16)
To the input / output control means (6) of the memory address corresponding to the given identification number and the completion notification to the file system management means (2). Management means (7), communication control means (9), input / output control means (1
The file system management means (7) includes an identification number, a file name, an offset in a file of an I / O start position, and I / O based on server / client communication information passed from the communication control means (9). O size, whether to read from the peripheral device (13) or to write to the peripheral device (13), and pass TPT input / output information having an address of the client via the exchange to the input / output control means (11); Waiting for a completion notification from the input / output control means (11), the communication control means (9) transfers the server / client communication information received from the client to the file system management means (7), and the file system management means (7). ) From the client (2)
0), the input / output control means (11) converts the TPT input / output information received from the file system management means (7) into a command which can be decoded by the peripheral device, and issues the command to the peripheral device (13). Then, the completion notification of the input / output request from the peripheral device (13) is sent to the file system management means (7), and the peripheral device (13), based on the information received from the input / output control means (11), The identification number or the identification number and the data are sent to the input / output control means (6), and the client (2)
A network comprising input / output control means (14) for notifying the server (21) of completion upon transmission to the server (0) or reception of data from the client (20).
【請求項10】 クライアント(20)は、対象ファイ
ルの入出力開始位置から最初にデータが途切れる位置ま
でで、一旦入出力要求を前記周辺装置(13)へ発行す
る分割手段(18)と、データ内のオフセットの値分進
めた値を計算するアドレス計算手段とを有することを特
徴とした請求項9記載のネットワーク。
10. A dividing means (18) for issuing an I / O request to the peripheral device (13) once from the input / output start position of a target file to a position where data is interrupted first, 10. The network according to claim 9, further comprising address calculating means for calculating a value advanced by an offset value within the range.
JP16280198A 1998-05-28 1998-05-28 Network file system data transfer method Expired - Fee Related JP3307331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16280198A JP3307331B2 (en) 1998-05-28 1998-05-28 Network file system data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16280198A JP3307331B2 (en) 1998-05-28 1998-05-28 Network file system data transfer method

Publications (2)

Publication Number Publication Date
JPH11338792A JPH11338792A (en) 1999-12-10
JP3307331B2 true JP3307331B2 (en) 2002-07-24

Family

ID=15761481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16280198A Expired - Fee Related JP3307331B2 (en) 1998-05-28 1998-05-28 Network file system data transfer method

Country Status (1)

Country Link
JP (1) JP3307331B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4743444B2 (en) * 2008-04-01 2011-08-10 日本電気株式会社 Data transfer method
JP6433012B2 (en) * 2014-07-17 2018-12-05 ヴイ・インターネットオペレーションズ株式会社 Data distribution system

Also Published As

Publication number Publication date
JPH11338792A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
US5991797A (en) Method for directing I/O transactions between an I/O device and a memory
US7234004B2 (en) Method, apparatus and program product for low latency I/O adapter queuing in a computer system
JPH1074128A (en) Disk device
US6665747B1 (en) Method and apparatus for interfacing with a secondary storage system
US20060242258A1 (en) File sharing system, file sharing program, management server and client terminal
JP3307331B2 (en) Network file system data transfer method
US20080270480A1 (en) Method and system of deleting files from a remote server
JPH04274535A (en) System for accessing file on plural operating systems
JP3440865B2 (en) Network file system
US7320044B1 (en) System, method, and computer program product for interrupt scheduling in processing communication
JP2636740B2 (en) Distributed file system
JP2743610B2 (en) File sharing system
JPH11149455A (en) Memory disk sharing method and its executing device
JP2000244585A (en) Bus interface circuit
JP2595332B2 (en) Network system data transfer method
JPS61195439A (en) Remote file access system
JP2002175287A (en) Exclusive control device and exclusive control method
JPH0496830A (en) Data management method for distributed processing system
JPH056333A (en) Multi-processor system
JPH05165700A (en) File server
JP2776747B2 (en) File transfer device
JP3206499B2 (en) Information processing device
JPS6037933B2 (en) Computer memory access method
JPH07334453A (en) Memory access system
Smith Implementing a transputer SCSI interface

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees