[go: up one dir, main page]

JP2000082003A - Information processing system enabling access to different types of files and control method thereof - Google Patents

Information processing system enabling access to different types of files and control method thereof

Info

Publication number
JP2000082003A
JP2000082003A JP11257413A JP25741399A JP2000082003A JP 2000082003 A JP2000082003 A JP 2000082003A JP 11257413 A JP11257413 A JP 11257413A JP 25741399 A JP25741399 A JP 25741399A JP 2000082003 A JP2000082003 A JP 2000082003A
Authority
JP
Japan
Prior art keywords
file
information processing
copy
server
processing apparatus
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.)
Pending
Application number
JP11257413A
Other languages
Japanese (ja)
Inventor
Hiromichi Ito
浩道 伊藤
Masato Arai
正人 荒井
Yukio Nakada
幸男 中田
Hisaya Ito
寿哉 伊藤
Mitsuru Mori
充 森
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
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 Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP11257413A priority Critical patent/JP2000082003A/en
Publication of JP2000082003A publication Critical patent/JP2000082003A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】 【課題】単一のクライアントプログラムにより,ファイ
ル管理方法が異なる複数のファイルサーバ上のファイル
を効率よくアクセスすることが可能な情報処理システム
及びその制御方法を提供する。 【解決手段】第一のサーバ情報処理装置120上にゲー
トウェイプログラム20を設け,該ゲートウエイプログ
ラム20に対応して動作するエージェントプログラム3
0を第二のサーバ情報処理装置上130上に設けること
により,第二のサーバ情報処理装置上のファイルのディ
レクトリ構造のコピーを第一のサーバ情報処理装置12
0上に作成すると共に,当該コピーを作成する時点では
ファイルの中のデータはコピーせず,クライアント情報
処理装置110のアプリケーションプログラム8aから
該ファイルがオープンされたときに限りデータのコピー
を行う。
(57) [Summary] [PROBLEMS] To provide an information processing system capable of efficiently accessing files on a plurality of file servers having different file management methods by a single client program, and a control method thereof. A gateway program (20) is provided on a first server information processing apparatus (120), and an agent program (3) that operates in response to the gateway program (20).
0 is provided on the second server information processing apparatus 130, the copy of the directory structure of the file on the second server information processing apparatus is copied to the first server information processing apparatus 12.
When the file is opened from the application program 8a of the client information processing apparatus 110, the data in the file is not copied at the time of making the copy.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,情報処理装置のファイ
ルアクセス手段及びその方法に係り,特に,ネットワー
クを介して,複数の異種ファイルシステム上の共用ファ
イルをアクセスする場合に好適な,異種ファイルアクセ
ス手段を備えた情報処理システムおよびその方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file access means of an information processing apparatus and a method thereof, and more particularly, to a heterogeneous file suitable for accessing a shared file on a plurality of different file systems via a network. The present invention relates to an information processing system including an access unit and a method thereof.

【0002】[0002]

【従来の技術】パーソナルコンピュータなどの情報処理
装置が普及するにつれて,従来は各情報処理装置毎の磁
気記憶装置上に保管していたユーザーのプログラムファ
イル,データファイルなどを一箇所の大容量磁気記憶装
置に保管し,各情報処理装置のユーザーがデータを共用
する,といった使い方が行われるようになってきた。
2. Description of the Related Art With the spread of information processing devices such as personal computers, user program files and data files conventionally stored on magnetic storage devices for each information processing device are stored in one large-capacity magnetic storage. It has been used in such a way that data is stored in devices and users of each information processing device share data.

【0003】一般的には,ファイルサーバプログラムが
搭載されたサーバ情報処理装置と,該サーバ情報処理装
置へアクセスするためのクライアントプログラムが搭載
された複数のクライアント情報処理装置とをネットワー
クで接続し,サーバ情報処理装置上のファイルを各クラ
イアント情報処理装置からアクセスし利用する。
[0003] Generally, a server information processing apparatus having a file server program installed thereon and a plurality of client information processing apparatuses having a client program for accessing the server information processing apparatus are connected via a network. A file on the server information processing device is accessed and used from each client information processing device.

【0004】また,サーバ情報処理装置上のファイルの
セキュリティを保つため,ファイルサーバプログラムに
はユーザー認証機構と,該ユーザー認証に基づいた,各
ファイルへのアクセス権限設定/確認機構が具備される
のが一般的である。
Further, in order to maintain the security of files on the server information processing apparatus, the file server program is provided with a user authentication mechanism and an access authority setting / confirmation mechanism for each file based on the user authentication. Is common.

【0005】上述のようなファイル共用システムの発達
とネットワークの広域化を背景に,一台のクライアント
情報処理装置から複数のサーバ情報処理装置上のファイ
ルへのアクセスを行いたいというニーズが高くなってい
る。
[0005] With the development of the above-mentioned file sharing system and the wide area of the network, there is an increasing need to access a file on a plurality of server information processing apparatuses from one client information processing apparatus. I have.

【0006】ところが,複数のサーバ情報処理装置のフ
ァイルサーバプログラムが異なる種類であった場合,ク
ライアント情報処理装置には,各ファイルサーバプログ
ラムの種類に対応したクライアントプログラムを搭載し
なければならない。このため,異なるクライアントプロ
グラムが共存できない,動作に必要なメモリなどのハー
ドウェア規模が大きくなる,あるいは,アクセス先によ
って操作方法が異なるといった問題等が生じる場合があ
る。
However, when the file server programs of the plurality of server information processing apparatuses are of different types, the client information processing apparatuses must be loaded with client programs corresponding to the types of the file server programs. Therefore, there may be a problem that different client programs cannot coexist, a hardware scale such as a memory required for operation becomes large, or an operation method differs depending on an access destination.

【0007】これらの問題を解決する従来技術として
は,第二のサーバ情報処理装置上のファイルを第一のサ
ーバ情報処理装置へと転送するファイル操作プログラム
を第一のサーバ情報処理装置上に設け,また前記転送を
指示するファイルアクセス要求プログラムをクライアン
ト情報処理装置上に設ける方法が,特願平5−1523
03号によって開示されている。
As a conventional technique for solving these problems, a file operation program for transferring a file on the second server information processing apparatus to the first server information processing apparatus is provided on the first server information processing apparatus. A method of providing a file access request program for instructing the transfer on a client information processing apparatus is disclosed in Japanese Patent Application No. Hei.
No. 03.

【0008】この従来技術の方法では,アプリケーショ
ンなどからのファイル利用に先立って,まず,ユーザー
が前記ファイルアクセス要求プログラムを用いて,第一
のサーバ情報処理装置上のファイル操作プログラムに,
第二のサーバ情報処理装置上から第一のサーバ情報処理
装置上へのファイル転送を実行させる。その後,前記フ
ァイルを第一のサーバ情報処理装置上のファイルとして
アクセスする。前記アクセスによってファイルの内容を
変更した場合には,再びファイルアクセス要求プログラ
ムを用いて,第一のサーバ情報処理装置上のファイル操
作プログラムに,第一のサーバ情報処理装置上から第二
のサーバ情報処理装置上へのファイル転送を実行させ
る。これによって,第二のサーバ情報処理装置上のファ
イルを直接アクセスした場合と同じ結果を得ることがで
きる。したがって,複数の異なるクライアントプログラ
ムをクライアント情報処理装置に搭載する必要がないと
いう効果が達成される。
In this prior art method, prior to using a file from an application or the like, the user first uses the file access request program to send a file operation program on the first server information processing apparatus to the file operation program.
A file transfer from the second server information processing device to the first server information processing device is executed. Thereafter, the file is accessed as a file on the first server information processing apparatus. When the contents of the file are changed by the access, the file operation request program is again used by the file operation request program on the first server information processing apparatus to transmit the second server information from the first server information processing apparatus. Execute the file transfer to the processing device. As a result, the same result as when directly accessing a file on the second server information processing apparatus can be obtained. Therefore, the effect that it is not necessary to mount a plurality of different client programs in the client information processing device is achieved.

【0009】[0009]

【発明が解決しようとする課題】しかし,上記の従来例
では,上述したような追加的な処理を必要とするため,
第二のサーバ情報処理装置上にあるファイルに対する操
作性は,第一のサーバ情報処理装置上に元からあるファ
イルに対する操作性に比較して低いものとなっていた。
However, in the above conventional example, since the additional processing as described above is required,
The operability for files on the second server information processing apparatus is lower than the operability for files originally on the first server information processing apparatus.

【0010】より具体的には,上記従来例では,第一の
サーバ情報処理装置上には第二のサーバ情報処理装置上
のファイルのディレクトリ構造に関する情報が存在しな
いため,第一のファイルサーバプログラム用に作成され
たファイル一覧表示プログラムなどで第二のファイルサ
ーバ上のファイル一覧を表示できないという課題があっ
た。
More specifically, in the above conventional example, since there is no information on the directory structure of the file on the second server information processing apparatus on the first server information processing apparatus, the first file server program There is a problem that the file list on the second file server cannot be displayed by the file list display program created for the application.

【0011】また,第一のサーバ情報処理装置から第二
のサーバ情報処理装置へのファイル書き戻しが終了する
まで,次の処理が開始できないという課題があった。
Another problem is that the next processing cannot be started until the file write-back from the first server information processing apparatus to the second server information processing apparatus is completed.

【0012】また,複数のユーザーが同時に同一ファイ
ルを利用した場合,不必要なファイル転送が発生した
り,ユーザーが意図しないファイルの上書きが行われた
りするという課題があった。
Further, when a plurality of users use the same file at the same time, there is a problem that unnecessary file transfer occurs or a file that is not intended by the user is overwritten.

【0013】本発明は,上記のような課題を解決するた
めになされたもので,異なるファイルサーバプログラム
を備えた複数のサーバ情報処理装置上のファイルに対し
てアクセスする場合でも,単一のファイルサーバプログ
ラムを備えたサーバ情報処理装置上のファイルへアクセ
スする場合とほぼ同様な操作性を確保することができ
る,異種ファイルへのアクセスを可能とする情報処理シ
ステム及びその制御方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem. Even when accessing files on a plurality of server information processing apparatuses having different file server programs, a single file can be accessed. Provided is an information processing system capable of accessing different types of files and capable of securing almost the same operability as when accessing a file on a server information processing apparatus having a server program, and a control method therefor. Aim.

【0014】より具体的には,本発明の他の目的は,第
一のサーバ情報処理装置用のファイル一覧表示プログラ
ムで,第二のサーバ情報処理装置上のファイル一覧を表
示可能な情報処理システムおよびその制御方法を提供す
ることにある。
More specifically, another object of the present invention is to provide a file list display program for a first server information processing apparatus, the information processing system being capable of displaying a file list on a second server information processing apparatus. And a control method thereof.

【0015】また,本発明の他の目的は,第一のサーバ
情報処理装置上に第二のサーバ情報処理装置上のディレ
クトリ構造を再現した場合にも,第一のサーバ情報処理
装置のファイル記憶装置の容量消費を少なくすることが
できる,情報処理システム及びその制御方法を提供する
ことにある。
Another object of the present invention is to provide a method for storing a file in the first server information processing apparatus even when the directory structure on the second server information processing apparatus is reproduced on the first server information processing apparatus. An object of the present invention is to provide an information processing system and a control method thereof, which can reduce the capacity consumption of the device.

【0016】また,本発明の他の目的は,第一のサーバ
情報処理装置上に第二のサーバ情報処理装置上のディレ
クトリ構造を再現する際に第二のサーバ情報処理装置か
ら第一のサーバ情報処理装置に送る情報量を少なくする
ことができる,情報処理システム及びその制御方法を提
供することにある。
Another object of the present invention is to reproduce a directory structure on a second server information processing apparatus on a first server information processing apparatus. An object of the present invention is to provide an information processing system and a control method thereof, which can reduce the amount of information sent to the information processing device.

【0017】また,本発明の他の目的は,クライアント
プログラムが,第二のサーバ情報処理装置上のファイル
へのアクセスを終了し,該ファイルをクローズした後,
第一のサーバ情報処理装置から第二のサーバ情報処理装
置への書き戻し完了を待つことなく次の処理を実行可能
な,情報処理システム及びその制御方法を提供すること
にある。
Another object of the present invention is to provide a client program which terminates access to a file on a second server information processing apparatus, and closes the file.
It is an object of the present invention to provide an information processing system and a control method thereof that can execute the next processing without waiting for completion of writing back from the first server information processing apparatus to the second server information processing apparatus.

【0018】また,本発明の他の目的は,複数のユーザ
ーが,第二のサーバ情報処理装置上の同一ファイルをほ
ぼ同時にアクセスする場合にも,第二のサーバ情報処理
装置から第一のサーバ情報処理装置へのファイルコピー
を一回で済ませることができる,情報処理システム及び
その制御方法を提供することにある。
Further, another object of the present invention is to provide a method in which a plurality of users access the same file on a second server information processing device almost simultaneously from the first server information processing device. An object of the present invention is to provide an information processing system and a control method therefor, which can copy a file to an information processing apparatus only once.

【0019】また,本発明の他の目的は,第二のサーバ
情報処理装置上の同一ファイルへのアクセスが連続した
場合に,第二のサーバ情報処理装置から第一のサーバ情
報処理装置へのファイルコピーを一回で済ませることが
できる,情報処理システム及びその制御方法を提供する
ことにある。
Another object of the present invention is to provide a method for transmitting data from the second server information processing apparatus to the first server information processing apparatus when the same file on the second server information processing apparatus is continuously accessed. An object of the present invention is to provide an information processing system and a control method thereof, which can perform file copying only once.

【0020】また,本発明の他の目的は,複数のユーザ
ーが,第二のサーバ情報処理装置上の同一ファイルを同
時にアクセスし内容を変更した場合にも,第一のサーバ
情報処理装置から第二のサーバ情報処理装置へのファイ
ルの書き戻しを一回で済ませることができる,情報処理
システム及びその制御方法を提供することにある。
Another object of the present invention is to provide a method in which a plurality of users simultaneously access the same file on a second server information processing apparatus and change the contents thereof, and the first server information processing apparatus performs the same processing. It is an object of the present invention to provide an information processing system and a control method thereof, in which a file can be written back to the second server information processing apparatus only once.

【0021】また,本発明の他の目的は,第二のサーバ
情報処理装置上の同一ファイルへのアクセス直後に前記
ファイルへの削除が発生した場合に,第一のサーバ情報
処理装置から第二のサーバ情報処理装置へのファイルの
書き戻しを行わないことができる,情報処理システム及
びその制御方法を提供することにある。
[0021] Another object of the present invention is to provide a method in which a file is deleted from the first server information processing apparatus when the file is deleted immediately after accessing the same file on the second server information processing apparatus. It is an object of the present invention to provide an information processing system and a control method thereof, which can prevent writing back a file to a server information processing apparatus.

【0022】[0022]

【課題を解決するための手段】上記目的は,ファイルの
共用を可能とする第一のファイルサーバプログラムを具
備する第一のサーバ情報処理装置と,前記第一のファイ
ルサーバプログラムとは,共用ファイルへのアクセスイ
ンタフェースが異なる第二のファイルサーバプログラム
を具備する第二のサーバ情報処理装置と,前記第一及び
第二のサーバ情報処理装置を接続するネットワークとを
備える情報処理システムであって,前記第一のサーバ情
報処理装置は,前記第二のサーバ情報処理装置が管理す
るファイル(以下,異種ファイルと呼ぶ)へのアクセス
処理を実行するアクセス手段を備え,前記第二のサーバ
情報処理装置は,前記アクセス手段から送られてくる処
理要求を受け入れて,該処理要求に対応する処理を実行
するサービス手段を備え,前記アクセス手段は,前記サ
ービス手段を介して前記異種ファイルのディレクトリ構
造の少なくとも一部の構造に関する情報を検出して,該
検出した情報に応じて,前記第一のファイルサーバプロ
グラムが管理することができる形態を備えた,前記異種
ファイルのディレクトリ構造のコピーを作成し,該作成
した異種ファイルのディレクトリ構造のコピーを,前記
第一のファイルサーバプログラムが管理するファイルの
ディレクトリ構造中に追加すると共に,前記情報の検出
を所定のタイミングで実行し,その度に異種ファイルの
ディレクトリ構造のコピーを更新するディレクトリ同期
手段を備えることを特徴とする情報処理システムにより
達成される。
SUMMARY OF THE INVENTION The object of the present invention is to provide a first server information processing apparatus having a first file server program capable of sharing a file, and the first file server program comprises: An information processing system comprising: a second server information processing device including a second file server program having a different access interface to a server; and a network connecting the first and second server information processing devices. The first server information processing apparatus includes an access unit that executes an access process to a file managed by the second server information processing apparatus (hereinafter, referred to as a heterogeneous file). Service means for receiving a processing request sent from the access means and executing a processing corresponding to the processing request Wherein the access means detects information on at least a part of the directory structure of the heterogeneous file via the service means, and the first file server program manages the information in accordance with the detected information. Making a copy of the directory structure of the heterogeneous file, and adding the created copy of the directory structure of the heterogeneous file to the directory structure of the file managed by the first file server program. In addition, the present invention is achieved by an information processing system comprising directory synchronization means for executing the detection of the information at a predetermined timing and updating a copy of the directory structure of a different type of file each time.

【0023】より具体的には,上記他の目的は,前記情
報処理システムにおいて,前記情報の検出を例えば周期
的に実行することで,第二のサーバ情報処理装置上のデ
ィレクトリ構造を第一のサーバ情報処理装置上に定期的
にコピーすることによって達成される。
More specifically, another object of the present invention is to perform a process of detecting the information, for example, periodically in the information processing system, so that the directory structure on the second server information processing apparatus is changed to the first. This is achieved by making regular copies on the server information processing apparatus.

【0024】また,上記他の目的は,前記情報処理シス
テムにおいて,前回ディレクトリ同期を実行した同期時
間を記憶する記憶手段と,前回のディレクトリ同期を実
行した時間以降に更新された異種ファイルを検索し,前
記検索手段が示す更新ファイルの情報だけを第二のサー
バ情報処理装置から第一のサーバ情報処理装置に送る検
索手段と,前記更新ファイルの情報にしたがい,第一の
サーバ情報処理装置のディレクトリ構造中に追加されて
いる,異種ファイルのディレクトリ構造のコピーを更新
することによって達成される。
[0024] Another object of the present invention is to provide a storage means for storing a synchronization time at which the previous directory synchronization was executed in the information processing system, and searching for a different file updated after the time at which the previous directory synchronization was executed. Searching means for transmitting only the information of the update file indicated by the search means from the second server information processing apparatus to the first server information processing apparatus; and a directory of the first server information processing apparatus according to the information of the update file. This is achieved by updating a copy of the directory structure of the heterogeneous file that has been added to the structure.

【0025】また,上記他の目的は,前記情報処理シス
テムにおいて,前記ディレクトリ同期手段が,第一のサ
ーバ情報処理装置上に通常ファイルのコピーを作成する
場合に,そのファイルに格納するデータをコピーせず,
例えば中身のないスパーズファイルとすることによって
達成される。
Another object of the present invention is to provide the information processing system, wherein the directory synchronization means copies data stored in the file when creating a copy of the normal file on the first server information processing apparatus. Without
For example, this can be achieved by making the contents of an empty Spurs file.

【0026】上記目的は,また,ファイルの共用を可能
とする第一のファイルサーバプログラムを具備する第一
のサーバ情報処理装置と,前記第一のファイルサーバプ
ログラムとは,共用ファイルへのアクセスインタフェー
スが異なる第二のファイルサーバプログラムを具備する
第二のサーバ情報処理装置と,前記第一のファイルサー
バプログラムを介して前記第一のサーバ情報処理装置上
の共用ファイルへアクセスするクライアントプログラム
を具備する少なくとも1台のクライアント情報処理装置
と,前記第一のサーバ情報処理装置及び前記少なくとも
1台のクライアント情報処理装置を接続する第一のネッ
トワーク,及び,前記第一及び第二のサーバ情報処理装
置を接続する第二のネットワークとを備える情報処理シ
ステムであって,前記第一のサーバ情報処理装置は,前
記第二のサーバ情報処理装置が管理する異種ファイルへ
のアクセスを行うアクセス手段を備え,前記第二のサー
バ情報処理装置は,前記アクセス手段と対応して動作す
るサービス手段を備え,前記アクセス手段は,前記各ク
ライアントプログラムから送られてくるファイルへの処
理要求を受け入れ,該処理要求が前記第二のファイルサ
ーバプログラムが管理するファイル(以下,異種ファイ
ルと呼ぶ)への処理要求を含むかどうかを判断し,それ
を含むと判断された場合には,前記処理要求に含まれて
いる異種ファイルへの処理要求を,前記第二のファイル
サーバプログラムで使用できる第二の処理要求に変換
し,該変換した第二の処理要求を前記第二のサーバ情報
処理装置へ送るものであり,前記サービス手段は,前記
第一のサーバ情報処理装置から送られてくる,前記第二
の処理要求を受け入れ,それに対応して予め定められて
いる処理を実行することを特徴とする情報処理システム
により達成される。
The above object is also achieved by a first server information processing apparatus having a first file server program capable of sharing a file, and the first file server program is an interface for accessing a shared file. Comprises a second server information processing apparatus having a second file server program different from the first file server program, and a client program for accessing a shared file on the first server information processing apparatus via the first file server program. At least one client information processing device, a first network connecting the first server information processing device and the at least one client information processing device, and the first and second server information processing devices. An information processing system comprising a second network to be connected, The first server information processing apparatus includes access means for accessing a different type of file managed by the second server information processing apparatus, and the second server information processing apparatus corresponds to the access means. Operating means, wherein the access means accepts a processing request for a file sent from each of the client programs, and the processing request is transmitted to a file managed by the second file server program (hereinafter referred to as a heterogeneous file). It is determined whether or not a processing request to the second file server program is included in the second file server program. And converts the converted second processing request to the second server information processing apparatus. The information processing system receives the second processing request sent from the first server information processing apparatus and executes a predetermined processing corresponding to the second processing request. Is done.

【0027】また,上記他の目的は,前記情報処理シス
テムにおいて,前記アクセス手段が,各クライアントプ
ログラムから送られてくる異種ファイルへのアクセスを
フックするフック手段と,前記アクセスが前記異種ファ
イルへのオープン要求であった場合に該当するファイル
のデータを前記サービス手段を介して前記第一のファイ
ルサーバプログラムが管理するディレクトリ構造内へコ
ピーするファイルコピー手段と,前記ファイルコピー手
段でコピーしたファイルを前記サービス手段を介して前
記第二のサーバ情報処理装置に書き戻すコピーバック手
段と,前記アクセスが前記異種ファイルへのクローズ要
求であった場合に前記コピーバック手段を別プロセスと
して起動するコピーバック起動手段とを備える。
Another object of the present invention is to provide the information processing system, wherein the access means hooks an access to a heterogeneous file sent from each client program, and the access means makes the access to the heterogeneous file. File copy means for copying the data of the file corresponding to the open request into the directory structure managed by the first file server program via the service means; and copying the file copied by the file copy means to the Copy-back means for writing back to the second server information processing device via service means, and copy-back activation means for activating the copy-back means as a separate process when the access is a request to close the different type of file And

【0028】また,上記他の目的は,前記情報処理シス
テムにおいて,前記コピーしたファイルの名称,リード
オープン,ライトオープンしている数,コピーバック待
ちフラグ,オープン待ちフラグ,削除待ちフラグ等を記
憶し,その時点での状態に応じて,コピーバック処理の
実行を制御する。
Another object of the present invention is to store, in the information processing system, the name of the copied file, the number of read open / write open, copy back wait flag, open wait flag, delete wait flag, and the like. The execution of the copy-back process is controlled in accordance with the state at that time.

【0029】上記目的は,また,情報処理システムの制
御方法において,前記異種ファイルのディレクトリ構造
の少なくとも一部の構造に関する情報を検出して,該検
出した情報に応じて,前記第一のファイルサーバプログ
ラムが管理することができる形態を備えた,前記第二の
サーバ情報処理装置が管理するファイルのディレクトリ
構造のコピーを作成し,該作成したディレクトリ構造の
コピーを,前記第一のファイルサーバプログラムが管理
するファイルのディレクトリ構造中に追加する処理と,
前記情報の検出を所定のタイミングで実行し,その度に
前記異種ファイルのディレクトリ構造のコピーを更新す
る処理とを含むことを特徴とする情報処理システムの制
御方法により達成される。
The above object is also achieved by a method for controlling an information processing system, wherein information on at least a part of the directory structure of the heterogeneous file is detected, and the first file server is operated in accordance with the detected information. A copy of a directory structure of a file managed by the second server information processing apparatus having a form that can be managed by the program is created, and the created copy of the directory structure is copied by the first file server program. Processing to be added to the directory structure of the file to be managed,
Performing a process of detecting the information at a predetermined timing, and updating a copy of the directory structure of the heterogeneous file each time.

【0030】上記目的は,また,情報処理システムの制
御方法において,前記クライアントプログラムから送ら
れてくる,前記第二のサーバ情報処理装置が管理するフ
ァイル(以下,異種ファイルと呼ぶ)へのアクセスをフ
ックする処理と,前記アクセスが前記異種ファイルへの
オープン要求であった場合に,該当するファイルのデー
タを,前記第一のファイルサーバプログラムが管理する
ディレクトリ構造内へコピーする処理と,前記ファイル
コピー手段でコピーしたファイルを,前記サービス手段
を介してコピー元に書き戻す処理と,前記アクセスが前
記異種ファイルへのクローズ要求であった場合に,前記
コピーバック手段を別プロセスとして起動する処理とを
含むことを特徴とする情報処理システムの制御方法によ
り達成される。
The object of the present invention is also to provide a method for controlling an information processing system, wherein an access to a file (hereinafter referred to as a heterogeneous file) sent from the client program and managed by the second server information processing apparatus is provided. Hooking processing, when the access is an open request to the heterogeneous file, copying the data of the file into a directory structure managed by the first file server program, and copying the file Processing for writing back the file copied by the means to the copy source via the service means, and processing for activating the copy-back means as a separate process when the access is a request to close the heterogeneous file. This is achieved by a control method for an information processing system characterized by including the following.

【0031】[0031]

【作用】本発明を適用した情報処理システム及びその制
御方法によれば,第一のファイルサーバプログラムは,
元来自身が管理するファイルと共に,第二のファイルサ
ーバプログラムが管理する異種ファイルのコピーしたフ
ァイルの管理,あるいは,アクセス要求に対応する処理
を実行することができる。
According to the information processing system to which the present invention is applied and the control method therefor, the first file server program comprises:
Along with the file originally managed by itself, it is possible to manage a copied file of a heterogeneous file managed by the second file server program, or to execute a process corresponding to an access request.

【0032】よって,ユーザは,第一のサーバファイル
プログラムを通して,当該プログラムが管理するファイ
ルだけでなく,第二のファイルサーバプログラムが管理
する異種ファイルへもアクセスすることができる。
Thus, through the first server file program, the user can access not only files managed by the program but also different types of files managed by the second file server program.

【0033】具体的には,ディレクトリ同期手段は,第
二のサーバ情報処理装置上のディレクトリ構造の少なく
とも一部を,第一のサーバ情報処理装置上のディレクト
リ構造中に定期的にコピーするので,第一の情報処理装
置上のファイル一覧を表示すれば,第二の情報処理装置
上のファイル一覧に関する情報も同時に得ることができ
る。
More specifically, the directory synchronization means periodically copies at least a part of the directory structure on the second server information processing apparatus into the directory structure on the first server information processing apparatus. If the file list on the first information processing device is displayed, information on the file list on the second information processing device can be obtained at the same time.

【0034】また,ディレクトリ同期手段は,第二のサ
ーバ情報処理装置のディレクトリ構造を第一のサーバ情
報処理装置上に定期的にコピーする際に実行する前記第
一のサーバ情報処理装置上へのファイル作成において,
ディレクトリファイル以外の通常のファイルを,中身の
ないスパーズファイルとして作成する。
Further, the directory synchronizing means transmits the directory structure of the second server information processing apparatus to the first server information processing apparatus when the directory structure is periodically copied to the first server information processing apparatus. In file creation,
Create a regular file other than a directory file as an empty sparse file.

【0035】これによって,前記ファイルが使用する第
一の情報処理装置の磁気ディスク中の記憶容量は,ファ
イル一覧表示中にファイルサイズとして示されているも
のとは無関係な,非常に小さなサイズとなる。
Thus, the storage capacity of the first information processing apparatus in the magnetic disk used by the file has a very small size irrespective of the file size indicated in the file list display. .

【0036】また,検索手段は,ファイルに変更があっ
たかどうかを,例えば記憶手段に記憶されているディレ
クトリ同期を実行した前回の同期時間と第二のサーバ情
報処理装置上のファイルの最終更新日付とを比較するこ
とで検出し,前回のディレクトリ同期を実行した時間以
降に更新されたファイルの情報だけを,第一のサーバ情
報処理装置に送らせる。更新手段は,前記更新されたフ
ァイルについての情報にしたがい,第一のサーバ情報処
理装置のディレクトリ構造中に追加されている,前記異
種ファイルのディレクトリ構造のコピーを更新する。
Further, the search means determines whether or not the file has been changed, for example, based on the previous synchronization time stored in the storage means when the directory synchronization was executed, the last update date of the file on the second server information processing apparatus, and the like. The first server information processing apparatus sends only the information of the file updated after the time when the previous directory synchronization was executed. The updating unit updates a copy of the directory structure of the heterogeneous file added to the directory structure of the first server information processing apparatus according to the information on the updated file.

【0037】このように前回のディレクトリ同期実行時
刻以後に変更されたファイルだけを同期処理の対象とす
ることによって,第二のサーバ情報処理装置から第一の
サーバ情報処理装置に送る情報量を少なくすることがで
きる。
As described above, only the files changed after the previous directory synchronization execution time are subjected to the synchronization processing, so that the amount of information sent from the second server information processing apparatus to the first server information processing apparatus is reduced. can do.

【0038】また,フック手段は,第一のサーバ情報処
理装置のファイルシステムに対するアクセス要求をフッ
クし,該アクセス要求が,クライアント情報処理装置か
ら前記ディレクトリ同期手段によってコピーされ作成さ
れた異種ファイルのディレクトリ構造のコピー内に属す
るファイルへのオープン,クローズ,削除要求のいづれ
かかどうかを判定する。
Further, the hook means hooks an access request to the file system of the first server information processing apparatus, and the access request is copied from the client information processing apparatus to the directory of the heterogeneous file created by the directory synchronization means. Determines whether an open, close, or delete request is for a file belonging to a copy of the structure.

【0039】前記判定の結果,オープン要求であった場
合には,ファイルコピー手段によって該ファイルの実体
である,当該ファイルに格納されているデータを,第二
のサーバ情報処理装置から第一のサーバ情報処理装置へ
とコピーする。このとき,該ファイルに既にデータが存
在するかを調べ,存在しない場合にだけコピーを行う。
また,前記オープン要求がリードモードかライトモード
かによって,該ファイルについてのリードオープン,ラ
イトオープン数を設定する。
As a result of the determination, if the request is an open request, the data stored in the file, which is the substance of the file, is transmitted from the second server information processing apparatus to the first server by the file copying means. Copy to information processing device. At this time, it is checked whether data already exists in the file, and copying is performed only when the data does not exist.
Further, the number of read open and write open for the file is set depending on whether the open request is the read mode or the write mode.

【0040】また,上記フック手段での判定結果が削除
要求であった場合には,該ファイルが存在するかどうか
を調べ,さらにコピーバック待ちフラグを調べセットさ
れていたら,削除待ちフラグをセットする。
If the result of the determination by the hook means is a deletion request, it is checked whether or not the file exists, and the copy-back waiting flag is checked, and if set, the deletion waiting flag is set. .

【0041】また,上記フック手段での判定結果がクロ
ーズ要求であった場合には,コピーファイルテーブル手
段のリードオープン,ライトオープン数を該クローズに
対応するオープンで加算していた分だけ減算する。この
結果,ライトオープン数が0となれば,コピーバック手
段を別プロセスとして起動し,前記フック処理自体は終
了する。
If the result of the determination made by the hook means is a close request, the number of read open and write open operations of the copy file table means is subtracted by the amount added in the open corresponding to the close. As a result, when the number of write opens becomes 0, the copy-back means is started as a separate process, and the hook processing itself ends.

【0042】コピーバック手段は,コピーバック待ちフ
ラグを設定し,その後オープン待ちフラグ,削除待ちフ
ラグが設定されていないかを監視しながら,予め定めた
時間だけ待つ。前記待ち時間の間に削除待ちフラグがセ
ットされれば,以後のコピーバック処理を中止する。ま
た,オープン待ちフラグがセットされれば,待ち時間の
完了を待たずに第一のサーバ情報処理装置にコピーした
ファイルを再び第二のサーバ情報処理装置に書き戻すコ
ピーバック処理を行う。
The copy-back means sets a copy-back wait flag, and then waits for a predetermined time while monitoring whether the open-wait flag and the delete-wait flag are set. If the deletion waiting flag is set during the waiting time, the subsequent copy back processing is stopped. If the open wait flag is set, a copy-back process is performed to write back the file copied to the first server information processing device to the second server information processing device without waiting for the completion of the waiting time.

【0043】コピーバック処理が終了し,オープン待ち
フラグがセットされず,かつリードオープン数,ライト
オープン数が共に0の場合には,該ファイルのコピーは
不要であるので,該ファイルのコピーを中身のないスパ
ーズファイルとする。
When the copy back processing is completed, the open wait flag is not set, and the number of read opens and the number of write open are both 0, the file is unnecessary to be copied. Spurs file without.

【0044】以上の構成の処理によれば,複数ユーザー
が同時に同一ファイルを使用する際にも無駄なコピー処
理が発生しない。さらに,複数のユーザーが使用中であ
ったり,クローズに続いて再度オープンされる場合にス
パーズファイル化ぜず,コピーファイルを引き続き利用
できる。さらに,クローズに続いて削除される場合に,
不要なコピーバックをせずに済む。
According to the above-described processing, useless copy processing does not occur even when a plurality of users use the same file at the same time. Further, when a plurality of users are in use or when the file is reopened after being closed, the copy file can be used without being converted into a sparse file. In addition, if it is deleted following a close,
No need for unnecessary copy back.

【0045】また,コピーバック手段は,別プロセスと
してバックグラウンドで動作するので,前記コピーバッ
ク手段の完了を待つことなくクライアント情報処理装置
からのクローズ要求は終了するので,ユーザは直ちに次
の処理を行うことができる。
Further, since the copy-back means operates in the background as a separate process, the close request from the client information processing apparatus ends without waiting for the completion of the copy-back means, so that the user can immediately proceed to the next processing. It can be carried out.

【0046】[0046]

【実施例】以下,本発明の一実施例を図を用いて説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

【0047】最初,本実施例の情報処理システム全体の
構成を説明する。本実施例のシステムは,図1に示すよ
うに,第一のクライアント情報処理装置110,第二の
クライアント情報処理装置140,第一のサーバ情報処
理装置120,及び,第二のサーバ情報処理装置130
を有する。
First, the configuration of the entire information processing system of this embodiment will be described. As shown in FIG. 1, the system according to the present embodiment includes a first client information processing apparatus 110, a second client information processing apparatus 140, a first server information processing apparatus 120, and a second server information processing apparatus. 130
Having.

【0048】クライアント情報処理装置110,14
0,サーバ情報処理装置120,130には,中央処理
装置(CPU)1a,1d,1b,1c,メモリ2a,
2d,2b,2c,LANコントローラ3a,3d,3
b,3c,ディスクコントローラ4a,4d,4b,4
c,磁気ディスク5a,5d,5b,5cがそれぞれ具
備されている。各情報処理装置はローカルエリアネット
ワーク(LAN)101を介して相互に接続されてお
り,各々のLANコントローラ3を介して通信ができる
構成を有している。
Client information processing devices 110 and 14
0, server information processing devices 120 and 130 include central processing units (CPU) 1a, 1d, 1b, 1c, memory 2a,
2d, 2b, 2c, LAN controllers 3a, 3d, 3
b, 3c, disk controllers 4a, 4d, 4b, 4
c, and magnetic disks 5a, 5d, 5b, and 5c, respectively. The information processing apparatuses are connected to each other via a local area network (LAN) 101, and have a configuration in which communication can be performed via each LAN controller 3.

【0049】なお,本実施例ではネットワークとしてL
ANを用いているが,本発明においては,各情報処理装
置を互いに接続する通信路の具体的形態について限定す
るものではなく,例えばワイドエリアネットワーク(W
AN)を使用する構成としても良い。
In this embodiment, L is used as the network.
Although an AN is used, the present invention does not limit the specific form of the communication path connecting the information processing apparatuses to each other. For example, a wide area network (W
AN) may be used.

【0050】クライアント情報処理装置110のメモリ
2a上には,オペレーティングシステムプログラム(O
S)6a,ファイルサーバプログラム9b用のクライア
ントプログラム7a,アプリケーションプログラム8a
が,起動時に磁気ディスク5aからロードされる。クラ
イアント情報処理装置140のメモリ2d上には,オペ
レーティングシステムプログラム(OS)6d,ファイ
ルサーバプログラム9c用のクライアントプログラム7
d,アプリケーションプログラム8dが,起動時に磁気
ディスク5dからロードされる。
In the memory 2a of the client information processing device 110, an operating system program (O
S) 6a, client program 7a for file server program 9b, application program 8a
Is loaded from the magnetic disk 5a at the time of startup. An operating system program (OS) 6d and a client program 7 for the file server program 9c are stored in the memory 2d of the client information processing apparatus 140.
d, the application program 8d is loaded from the magnetic disk 5d at startup.

【0051】第一のサーバ情報処理装置120のメモリ
2b上には,ゲートウェイプログラム20,OS6b,
第一のファイルサーバプログラム9bが起動時に磁気デ
ィスク5bからロードされる。また,第二のサーバ情報
処理装置130のメモリ2c上には,エージェントプロ
グラム30,OS6c,第二のファイルサーバプログラ
ム9cが起動時に磁気ディスク5cからロードされる。
In the memory 2b of the first server information processing device 120, the gateway program 20, the OS 6b,
The first file server program 9b is loaded from the magnetic disk 5b at startup. The agent program 30, the OS 6c, and the second file server program 9c are loaded from the magnetic disk 5c into the memory 2c of the second server information processing apparatus 130 at the time of startup.

【0052】これらサーブにロードされるプログラムの
うち,ゲートウェイプログラム20,エージェントプロ
グラム30が,本発明で新たに追加した特徴的な構成で
あり,その他の構成は従来のファイルサーバシステムで
用いられていたものである。
Of these programs loaded into the serve, the gateway program 20 and the agent program 30 are characteristic configurations newly added in the present invention, and the other configurations are used in the conventional file server system. Things.

【0053】なお,本実施例では,ゲートウエイプログ
ラム20が第一のサーバ情報処理装置120に,エージ
ェントプログラム30が第二のサーバ情報処理装置13
0に記憶されている場合の構成を例にとって説明する
が,各サーバ情報処理装置がそれぞれ,他方へのアクセ
ス及び他方からのアクセスを可能とする,ゲートウエイ
プログラム及びエージェントプログラムを記憶する構成
としても良い。
In this embodiment, the gateway program 20 is provided to the first server information processing apparatus 120 and the agent program 30 is provided to the second server information processing apparatus 13.
Although the configuration in the case of being stored in 0 is described as an example, the configuration may be such that each server information processing device stores a gateway program and an agent program that enable access to the other and access from the other. .

【0054】クライアント情報処理装置110のユーザ
ー(以下,単にユーザーと呼ぶ)は,クライアントプロ
グラム7aを介して,サーバ情報処理装置120のファ
イルサーバプログラム9bにログインし,アプリケーシ
ョンプログラム8aから磁気ディスク5b上の共用ファ
イルをアクセスする。
A user of the client information processing apparatus 110 (hereinafter simply referred to as a user) logs in to the file server program 9b of the server information processing apparatus 120 via the client program 7a, and transmits the file program on the magnetic disk 5b from the application program 8a. Access shared files.

【0055】ここで,本実施例のゲートウェイプログラ
ム20とエージェントプログラム30とにより,ユーザ
ーが前記アクセスと全く同じ方法で,磁気ディスク5b
上のファイルであるがごとく,磁気ディスク5c上の共
用ファイルへアクセスできる仕組みが提供される。
Here, by the gateway program 20 and the agent program 30 of the present embodiment, the user can use the magnetic disk 5b in exactly the same manner as the above access.
As with the above file, a mechanism for accessing a shared file on the magnetic disk 5c is provided.

【0056】ゲートウェイプログラム20は,初期化,
終了処理を行うメインルーチン21,ユーザーが第一の
ファイルサーバプログラム9bへログインしたことを検
出して第二のファイルサーバプログラム9cへの自動ロ
グインを指示するログインルーチン22,前記自動ログ
インを各ユーザー対応に実行するユーザープロセスルー
チン23,前記ユーザーからのファイルアクセスをフッ
クし,第二のサーバ情報処理装置130へのアクセスへ
とリダイレクトするファイルアクセスフックルーチン2
4,第二のサーバ情報処理装置130から第一のサーバ
情報処理装置120上にコピーされ修正を加えられたフ
ァイルを,再び第二のサーバ情報処理装置130へ転送
するコピーバックルーチン25,及び,第二のサーバ情
報処理装置130上のディレクトリ構造の指定した部分
と同じ構造を第一のサーバ情報処理装置120上に作成
するディレクトリ同期ルーチン26を具備する。
The gateway program 20 initializes,
A main routine 21 for performing an end process, a login routine 22 for detecting that a user has logged in to the first file server program 9b and instructing an automatic login to the second file server program 9c, A file access hook routine 2 for hooking a file access from the user and redirecting the access to the second server information processing apparatus 130
4, a copy-back routine 25 for transferring the file copied and modified from the second server information processing apparatus 130 to the first server information processing apparatus 120 to the second server information processing apparatus 130 again; There is provided a directory synchronization routine 26 for creating, on the first server information processing apparatus 120, the same structure as the designated part of the directory structure on the second server information processing apparatus 130.

【0057】エージェントプログラム30は,前記ユー
ザープロセスルーチン23からのログイン要求をうけつ
けるリモートログインサービスルーチン31,前記ログ
イン受け付け時に起動され,第二のファイルサーバプロ
グラム9cへのログインを実行し,その後,前記ファイ
ルアクセスフックルーチン24によってリダイレクトさ
れた各ユーザーからのファイルアクセスに応答するユー
ザープロセスサービスルーチン32,及び,前記ディレ
クトリ同期ルーチン26からの要求に応じて,第二のサ
ーバ情報処理装置130のディレクトリ構造情報を返す
ディレクトリ同期サービスルーチン33を具備する。
The agent program 30 is a remote login service routine 31 for receiving a login request from the user process routine 23. The agent program 30 is started when the login is accepted, executes login to the second file server program 9c, and thereafter executes the login. In response to a request from the user process service routine 32 responding to the file access from each user redirected by the file access hook routine 24 and the directory synchronization routine 26, the directory structure information of the second server information processing apparatus 130 Is provided.

【0058】次に,本システムの動作の概要を説明す
る。図21は,本発明のゲートウェイプログラム20を
起動する前に第一のサーバ情報処理装置120の磁気デ
ィスク5b上に作成されているファイルのディレクトリ
構造の一例を示す図である。ここで,括弧([ ])で
囲んだファイル名のファイルは,ディレクトリファイル
であり,その下につながっているファイルの情報が格納
されている。図22は,第二のサーバ情報処理装置13
0の磁気ディスク5c上に作成されているファイルのデ
ィレクトリ構造の一例を示す図である。
Next, an outline of the operation of the present system will be described. FIG. 21 is a diagram showing an example of a directory structure of a file created on the magnetic disk 5b of the first server information processing apparatus 120 before the gateway program 20 of the present invention is started. Here, a file having a file name enclosed in parentheses ([]) is a directory file, and information of a file connected thereunder is stored. FIG. 22 shows the second server information processing apparatus 13.
FIG. 11 is a diagram showing an example of a directory structure of a file created on a 0 magnetic disk 5c.

【0059】本実施例においては,ゲートウェイプログ
ラム20を起動すると,第一のサーバ情報処理装置12
0の磁気ディスク5b上に作成されるファイルのディレ
クトリ構造は,例えば図23に示すような構造となる。
ここで,破線で囲った部分には,上述のディレクトリ同
期ルーチン26の機能によって,図22で示した第二の
サーバ情報処理装置130上のディレクトリ構造の内,
research/hardから下位の構造がコピーさ
れている。
In this embodiment, when the gateway program 20 is started, the first server information processing device 12
The directory structure of the file created on the 0th magnetic disk 5b has a structure as shown in FIG. 23, for example.
Here, in the portion surrounded by the broken line, by the function of the directory synchronization routine 26 described above, the directory structure on the second server information processing apparatus 130 shown in FIG.
The lower structure is copied from research / hard.

【0060】コピーしたディレクトリ構造内のファイル
は,ファイルサーバプログラム9bがOS6bを介して
管理する通常のファイルとして磁気ディスク5b上に作
成する。これによって,クライアント情報処理装置11
0上のアプリケーションソフトウェア8aからは,第二
のサーバ情報処理装置130上のディレクトリ構造の一
部を,第一のサーバ情報処理装置120上のディレクト
リ構造として参照することができる。
The files in the copied directory structure are created on the magnetic disk 5b as ordinary files managed by the file server program 9b via the OS 6b. Thereby, the client information processing device 11
A part of the directory structure on the second server information processing apparatus 130 can be referred to as a directory structure on the first server information processing apparatus 120 from the application software 8a on the first server information processing apparatus 120.

【0061】ここで,コピーしたディレクトリ構造内の
ファイルの内,ディレクトリファイルでない通常ファイ
ルは,その中身のデータを第二のサーバ情報処理装置1
30からコピーせず,1バイトだけのダミーデータを格
納したスパーズファイルとして作成する。図25にスパ
ーズファイルの例を示す。ここで,ファイルVOL1/
mpdl/circ/log1は,そのファイルサイズ
が,524950バイトであるが,データは先頭から2
4950バイト目に1バイトだけ書かれているだけであ
る。このようなファイルでは,先頭のブロックと最終ブ
ロックだけが実際に磁気ディスク5b上の記憶領域を使
い,他のブロックは磁気ディスク5bの領域を使用しな
い。本例では,ブロックサイズが4096バイトである
ので,ファイルサイズが524950バイトでも実際に
使用する磁気ディスク5bの容量は4096の2倍の8
192バイトで済む。
Here, among the files in the copied directory structure, the data of the ordinary file which is not a directory file is stored in the second server information processing apparatus 1.
30 and is created as a sparse file storing only 1-byte dummy data. FIG. 25 shows an example of the sparse file. Here, the file VOL1 /
mpdl / circ / log1 has a file size of 524950 bytes, but the data is 2 bytes from the beginning.
Only one byte is written in the 4950th byte. In such a file, only the first block and the last block actually use the storage area on the magnetic disk 5b, and the other blocks do not use the area on the magnetic disk 5b. In this example, since the block size is 4096 bytes, even if the file size is 524950 bytes, the capacity of the magnetic disk 5b actually used is 8 times which is twice as large as 4096.
Only 192 bytes are needed.

【0062】このように,ディレクトリ構造のコピー部
分のファイルにデータの実体のないスパーズファイルを
用いることによって,ファイル情報としてのファイルサ
イズはコピー元のサイズを反映し,かつ磁気ディスク5
bの使用容量を少なくすることができる。
As described above, by using a sparse file having no data substance for the file of the copy portion of the directory structure, the file size as file information reflects the size of the copy source and the magnetic disk 5
The used capacity of b can be reduced.

【0063】クライアント情報処理装置110のアプリ
ケーションプログラム8aからのファイルのデータへの
アクセスは,以下のように実現される。
Access to file data from the application program 8a of the client information processing apparatus 110 is realized as follows.

【0064】ゲートウェイプログラム20のファイルア
クセスフックルーチン24が,アプリケーションプログ
ラム8aからのファイルオープン要求を検出し,第二の
サーバ情報処理装置130から該ファイルのデータを第
一のサーバ情報処理装置120上のスパーズファイル化
している当該ファイルへ上書きコピーする。前記オープ
ン後の該ファイルに対するアプリケーションプログラム
8aからのリードライトアクセスは,ゲートウェイプロ
グラム20の関与無しに行われる。一方,アプリケーシ
ョンプログラム8aからのクローズ要求を検出すると,
該ファイルへのデータの書き込みが行われたかどうかを
判定し,書き込みが行われていたときには上記コピーバ
ックルーチン25が,第二の情報処理装置130へデー
タを書き戻す。また,クローズ後は再び第一の情報処理
装置上の当該ファイルを上述のスパーズファイルとす
る。このコピーバック処理は,一端開始の指示が発行さ
れるされると,ユーザーとの関与なしにバックグラウン
ドで行なわれる。このため,アプリケーションプログラ
ム8aはコピーバック処理の終了を待つことなく,次の
処理を行うことができる。また,コピーバック処理はフ
ァイルのクローズ後すぐには開始せず,しばらく時間を
おいてから開始する。この時間をコピーバックディレイ
タイムと呼ぶ。
The file access hook routine 24 of the gateway program 20 detects a file open request from the application program 8a, and transmits the file data from the second server information processing apparatus 130 to the first server information processing apparatus 120. Copy over the file that has been converted to a sparse file. Read / write access from the application program 8a to the file after the opening is performed without involvement of the gateway program 20. On the other hand, when a close request from the application program 8a is detected,
It is determined whether or not data has been written to the file. If the data has been written, the copyback routine 25 writes the data back to the second information processing device 130. After the closing, the file on the first information processing apparatus is set as the above-mentioned sparse file again. This copy-back process is performed in the background without involvement of the user once the start instruction is issued. Therefore, the application program 8a can perform the next processing without waiting for the end of the copy-back processing. The copyback process does not start immediately after the file is closed, but starts after a while. This time is called a copy back delay time.

【0065】システム管理者が作成し,磁気ディスク5
b上に格納するゲートウェイパラメータ設定ファイル1
99の一例を図24に示す。本図の一行目(2410)
では,第二の情報処理装置130上のディレクトリ構造
のどの部分を第一の情報処理装置120のどのディレク
トリに割り当てるかを示している。ここでは,”SRV
2”という名称の第二のサーバ情報処理装置130の”
research/hard”以下のディレクトリ構造
を,第一のサーバ情報処理装置120の”VOL1/m
pdl”に割り当てる例を示している。二行目(242
0)は,アプリケーションプログラム8aがファイルを
クローズしてからコピーバックルーチン25が,ファイ
ルのコピーバックを開始するまでの時間であるコピーバ
ックディレイタイムを指定する。本例では,500m秒
を指定する例を示している。三行目(2430)は,デ
ィレクトリ同期を行う時間間隔を指定する。ここでは,
6000秒,即ち10分とした例を示す。
The system administrator creates the magnetic disk 5
Gateway parameter setting file 1 stored on b
FIG. 24 shows an example of the reference numeral 99. First line of this figure (2410)
Shows which part of the directory structure on the second information processing device 130 is assigned to which directory of the first information processing device 120. Here, "SRV
2 ”of the second server information processing apparatus 130 named“ 2 ”.
The directory structure under “research / hard” is stored in “VOL1 / m
pdl ". The second line (242
0) specifies a copy back delay time, which is the time from when the application program 8a closes the file until the copy back routine 25 starts copying back the file. In this example, an example in which 500 ms is specified is shown. The third line (2430) specifies a time interval for performing directory synchronization. here,
An example in which 6000 seconds, that is, 10 minutes is set is shown.

【0066】以下,上述した各ルーチンの処理を詳細に
説明する。
Hereinafter, the processing of each routine will be described in detail.

【0067】最初,ルーチンの説明に先立ち,ゲートウ
ェイプログラム20内の各ルーチンでメモリ2b上に設
定,参照するテーブルの例を示す。
First, prior to the description of the routine, an example of a table set and referred to in the memory 2b by each routine in the gateway program 20 will be described.

【0068】図14は,マウントパステーブル1400
の一例である。マウントパステーブル1400は,上述
のゲートウェイパラメータ設定ファイル199に記述さ
れた,第二の情報処理装置130上のディレクトリ構造
のどの部分を第一の情報処理装置120のどのディレク
トリに割り当てるかの情報を格納するテーブルである。
複数の割り当てを可能とするため,マウントパステーブ
ル1400は複数のノード1490と,最初のノードを
示す先頭ポインタ1401から構成される線形リスト構
造としている。各ノード1490には,次のノードを指
し示すポインタ1402,第一の情報処理装置120の
ディレクトリのパスであるマウントパス1403,及
び,第二の情報処理装置130のディレクトリのパスで
あるリモートパス1404が格納される。最後のノード
のポインタ1402は,空きを示す“NULL”が格納
されている。
FIG. 14 shows the mount path table 1400
This is an example. The mount path table 1400 stores information describing which part of the directory structure on the second information processing device 130 is allocated to which directory of the first information processing device 120, which is described in the gateway parameter setting file 199 described above. It is a table to do.
In order to enable a plurality of assignments, the mount path table 1400 has a linear list structure including a plurality of nodes 1490 and a head pointer 1401 indicating the first node. Each node 1490 has a pointer 1402 pointing to the next node, a mount path 1403 that is a directory path of the first information processing apparatus 120, and a remote path 1404 that is a directory path of the second information processing apparatus 130. Is stored. In the pointer 1402 of the last node, "NULL" indicating a vacancy is stored.

【0069】図15は,ユーザーコネクションテーブル
1500の一例である。ユーザーコネクションテーブル
1500は,最初のノードを示す先頭ポインタ1501
とログインした各ユーザーに対応した複数のノード15
90とから構成される。各ノード1590は,次のノー
ドを指し示すポインタ1502,第一のファイルサーバ
プログラム9bがログインしたユーザーに割り当てたコ
ネクション番号1503,ログインルーチン22が各ユ
ーザー毎に起動し割り当てたユーザープロセスのプロセ
ス番号1504,該ユーザープロセスが,エージェント
プログラム30のユーザーサービスルーチン32と通信
するためのソケット番号1505,及び,各ユーザーが
使用中の第二の情報処理装置130上のファイルに関す
る情報を記憶したファイルハンドルテーブル1600へ
のポインタであるファイルハンドルテーブルポインタ1
506から構成される。
FIG. 15 shows an example of the user connection table 1500. The user connection table 1500 includes a head pointer 1501 indicating the first node.
And multiple nodes 15 corresponding to each user who has logged in
90. Each node 1590 includes a pointer 1502 pointing to the next node, a connection number 1504 assigned to the user logged in by the first file server program 9b, a process number 1504 of the user process assigned and activated by the login routine 22 for each user. A socket number 1505 for the user process to communicate with the user service routine 32 of the agent program 30 and a file handle table 1600 storing information on files on the second information processing device 130 used by each user. File handle table pointer 1
506.

【0070】図16は,前記ファイルハンドルテーブル
1600の一例である。このテーブルはユーザー毎に作
成され,テーブルの各ノード1690は,次のノードを
指し示すポインタ1602,第一の情報処理装置120
上のパス名を含むファイル名1603,該ファイルをオ
ープンした際にOS6bから与えられるのファイルハン
ドル番号1604,第二の情報処理装置130上のパス
名を含むリモートファイル名1605,及び,該ファイ
ルをオープンした際にOS6cから与えられるのリモー
トファイルハンドル番号1606から構成される。
FIG. 16 shows an example of the file handle table 1600. This table is created for each user, and each node 1690 of the table includes a pointer 1602 pointing to the next node,
The file name 1603 including the above path name, the file handle number 1604 given from the OS 6b when the file is opened, the remote file name 1605 including the path name on the second information processing apparatus 130, and the file name It is composed of a remote file handle number 1606 given from the OS 6c when opened.

【0071】図17は,第二の情報処理装置から第一の
情報処理装置へファイルのデータが一時的にコピーされ
ているファイルの情報を示すコピーファイルテーブル1
700の一例である。コピーファイルテーブル1700
は,最初のノードを示す先頭ポインタ1701と前記フ
ァイル毎に対応した複数のノード1790とから構成さ
れる。各ノード1790は,次のノードを指し示すポイ
ンタ1702,第一の情報処理装置120上のパス名を
含むファイル名1703,該ファイルに対して第一の情
報処理装置120上でリードモードでオープンしている
数を示すリードオープン数1704,同じくライトオー
プン数1705,該ファイルが第二の情報処理装置13
0へ書き戻し処理が起動されていることを示すコピーバ
ックフラグ1706,該ファイルに対してオープン待ち
のプロセスがあることを示すオープン待ちフラグ170
7,及び,同じく削除待ちのプロセスがあることを示す
イレース待ちフラグ1708から構成される。
FIG. 17 is a copy file table 1 showing information of a file whose file data is temporarily copied from the second information processing apparatus to the first information processing apparatus.
700 is an example. Copy file table 1700
Is composed of a head pointer 1701 indicating the first node and a plurality of nodes 1790 corresponding to each file. Each node 1790 opens a pointer 1702 pointing to the next node, a file name 1703 including a path name on the first information processing device 120, and opens the file in read mode on the first information processing device 120. The number of read opens 1704 indicating the number of files stored,
A copyback flag 1706 indicating that the write-back process has been started to 0, an open wait flag 170 indicating that there is a process waiting for the file to be opened.
7 and an erase wait flag 1708 indicating that there is also a process waiting for deletion.

【0072】以下,上述の各ルーチンの処理フローを説
明する。
Hereinafter, the processing flow of each routine will be described.

【0073】最初に,ゲートウエイプログラム20のメ
インルーチン21の処理フローを,図2を参照して説明
する。
First, the processing flow of the main routine 21 of the gateway program 20 will be described with reference to FIG.

【0074】本処理フローにおいて,ステップ201で
は,上記ユーザーコネクションテーブル1500の先頭
ポインタ1501,ユーザーコネクションテーブル15
00の先頭ポインタ1501などのシステム変数を初期
化する。ステップ203では,予めシステム管理者が作
成し磁気ディスク5b上に格納しているゲートウェイパ
ラメータ設定ファイル199を参照し,上記マウントパ
ステーブル1400を作成する。
In this processing flow, in step 201, the top pointer 1501 of the user connection table 1500 and the user connection table 15
Initialize system variables such as the 00 first pointer 1501. In step 203, the mount path table 1400 is created with reference to the gateway parameter setting file 199 created in advance by the system administrator and stored on the magnetic disk 5b.

【0075】ステップ204でディレクトリ同期ルーチ
ン26を新たなプロセスとして起動し,上記マウントパ
ステーブルで設定した対応関係にしたがい,第二の情報
処理装置130の磁気ディスク5c上のディレクトリ構
造の一部を第一の情報処理装置120の磁気ディスク5
b上に再現する。なお,各プロセスは,OSのタイムス
ライス機能によって,並行処理が行われる。
In step 204, the directory synchronization routine 26 is started as a new process, and a part of the directory structure on the magnetic disk 5c of the second information processing device 130 is deleted according to the correspondence set in the mount path table. Magnetic disk 5 of one information processing device 120
b. Each process is performed in parallel by the time slice function of the OS.

【0076】ステップ205から207では,ファイル
サーバプログラム9b等から発行されるファイルアクセ
ス要求をフックするため,OS6bのファイルシステム
へのファンクションコールのサービスベクタを書き換え
る。ここでサービスベクタとは,該ファンクションコー
ル発行時に実行されるCPU1bのソフトウェア割り込
み命令で参照される分岐先アドレスのことである。ま
ず,ステップ205でOS6bが設定したファンクショ
ンコールのサービスベクタを取得し,ステップ206で
前記サービスベクタをシステム変数として記憶し保存す
る。ステップ207では,本ゲートウェイプログラム2
0内のファイルアクセスフックルーチン24のエントリ
ーアドレスを新たなファイルアクセスサービスベクタと
して設定し,ファイルアクセス要求をフックするための
設定を終える。
In steps 205 to 207, the service vector of the function call to the file system of the OS 6b is rewritten in order to hook a file access request issued from the file server program 9b or the like. Here, the service vector is a branch destination address referred to by a software interrupt instruction of the CPU 1b executed when the function call is issued. First, in step 205, the service vector of the function call set by the OS 6b is obtained, and in step 206, the service vector is stored and stored as a system variable. In step 207, the gateway program 2
The entry address of the file access hook routine 24 in 0 is set as a new file access service vector, and the setting for hooking a file access request is completed.

【0077】次に,ステップ208でログインルーチン
22を新たなプロセスとして起動し,ユーザーからのロ
グイン監視を開始する。ステップ209では自らスリー
プ状態となり停止指令を待つ。この時点でゲートウェイ
プログラム20の初期化は終了し,ユーザーは第二の情
報処理装置130上のファイルをアクセスできるように
なる。
Next, in step 208, the login routine 22 is started as a new process, and login monitoring from the user is started. In step 209, the apparatus enters a sleep state and waits for a stop command. At this point, the initialization of the gateway program 20 is completed, and the user can access the file on the second information processing device 130.

【0078】システム管理者がゲートウェイプログラム
20の停止命令を発行すると,メインルーチンはスリー
プ状態から抜け,ステップ210以降の終了処理を行
う。ステップ210では,ログインルーチン22を終了
させるためのシグナルをログインプロセスに送り,ステ
ップ211では同様にディレクトリ同期プロセスへの終
了指示を送る。ステップ212では,ステップ207で
書き換えたファイルアクセスサービスベクタをステップ
206で保存しておいた元の値に戻す。以上でメインル
ーチン21を終了する。
When the system administrator issues a stop instruction for the gateway program 20, the main routine exits from the sleep state and performs the end processing after step 210. In step 210, a signal for terminating the login routine 22 is sent to the login process. In step 211, an instruction for terminating the directory synchronization process is sent similarly. In step 212, the file access service vector rewritten in step 207 is returned to the original value stored in step 206. Thus, the main routine 21 ends.

【0079】次に,リモートログインルーチン22の処
理フローを,図3を参照して説明する。本処理フローに
おいて,ステップ301では,ファイルサーバプログラ
ム9bへのユーザーのログインまたはログアウト,上述
のメインルーチン21からのログインプロセス停止指示
などのイベントを監視し待つ。該イベントが発生すると
ステップ302でログインかどうかを判定し,ログイン
の場合は,ステップ303でユーザープロセスルーチン
23を新たなプロセスとして起動する。
Next, the processing flow of the remote login routine 22 will be described with reference to FIG. In the present processing flow, in step 301, events such as a user login or logout to the file server program 9b and an instruction to stop the login process from the main routine 21 are monitored and waited. When the event occurs, it is determined in step 302 whether or not the user has logged in. If the event has occurred, the user process routine 23 is started as a new process in step 303.

【0080】一方,ステップ302でログインではない
と判定した場合はステップ304を実行し,ログアウト
かどうかを調べる。ログアウトだった場合にはステップ
305を実行し,ログアウトでなければステップ306
を実行する。前記ステップ305では,上述のユーザー
コネクションテーブル1500を参照し,ログアウト要
求元のコネクション番号1503からユーザープロセス
番号1504を調べ,該プロセスにログアウト指示のシ
グナルを送る。
On the other hand, if it is determined in step 302 that the user is not logged in, step 304 is executed to check whether the user is logged out. If the user has been logged out, step 305 is executed.
Execute In step 305, the user process number 1504 is checked from the connection number 1503 of the logout request source with reference to the user connection table 1500 described above, and a logout instruction signal is sent to the process.

【0081】ステップ306では,発生したイベントが
サービス停止指示かどうかを判定し,停止指示であった
場合には,ログインプロセスを終了する。前記停止指示
以外のイベントであった場合には,再びステップ301
でのイベント待ちを行う。
In step 306, it is determined whether or not the generated event is a service stop instruction. If the event is a stop instruction, the login process is terminated. If the event is other than the stop instruction, step 301 is executed again.
Wait for event in.

【0082】次に,上記ログインルーチン22のステッ
プ303で生成,起動されるユーザープロセスルーチン
23の処理フローを,図4を参照して説明する。本処理
フローでは,最初,ステップ400で,第二の情報処理
装置130上のエージェントプログラム30のリモート
ログインサービスルーチン31に対してソケットを作成
し新たな通信コネクションを確立する。次にステップ4
01で,前記リモートログインサービスルーチン31に
対して,第二のファイルサーバプログラム9cへのログ
インを依頼する。
Next, the processing flow of the user process routine 23 generated and started in step 303 of the login routine 22 will be described with reference to FIG. In this processing flow, first, at step 400, a socket is created for the remote login service routine 31 of the agent program 30 on the second information processing apparatus 130, and a new communication connection is established. Then step 4
At 01, the remote login service routine 31 is requested to log in to the second file server program 9c.

【0083】このとき,前記リモートログインサービス
ルーチン31は,まずユーザープロセスサービスルーチ
ン32を新たなプロセスとして起動し,ここからログイ
ンを実行する。前記ユーザープロセスサービスルーチン
32は,リモートログインサービスルーチン31から引
き継いだソケットを用いて前記ユーザープロセスルーチ
ン23に前記ログインの結果を伝える。ステップ402
では該結果を判定し,ログイン成功であった場合にはス
テップ403以降を実行し,ログイン失敗であった場合
には前記ユーザープロセスルーチンを終了するように制
御する。
At this time, the remote login service routine 31 starts up the user process service routine 32 as a new process, and executes login from here. The user process service routine 32 transmits the result of the login to the user process routine 23 using the socket inherited from the remote login service routine 31. Step 402
Then, the result is determined. If the login is successful, step 403 and subsequent steps are executed. If the login is unsuccessful, control is performed so as to end the user process routine.

【0084】ステップ403では,前記ユーザーコネク
ションテーブル1500に新たなノード1590を追加
し,コネクション番号1503,プロセス番号150
4,ソケット番号1505,ファイルハンドルテーブル
ポインタ1506の各値を設定する。続くステップ40
4では,前記ログインルーチン22からログアウト指示
を受け取るまでスリープして待つ。前記ログアウト指示
を受け取ると,ステップ405で,第二のファイルサー
バプログラム9cからのログアウトを,ユーザープロセ
スサービスルーチン32に依頼し実行する。前記ログア
ウトの後,ユーザープロセスルーチン23は終了する。
In step 403, a new node 1590 is added to the user connection table 1500, and the connection number 1503 and the process number 150 are added.
4, a socket number 1505, and a file handle table pointer 1506 are set. Next step 40
At 4, sleep and wait until a logout instruction is received from the login routine 22. When the logout instruction is received, in step 405, the logout from the second file server program 9c is requested to the user process service routine 32 and executed. After the logout, the user process routine 23 ends.

【0085】次に,ファイルアクセスフックルーチン2
4の処理フローを,図5を参照して説明する。上述のメ
インルーチン21で行ったファイルアクセスサービスベ
クタ書き換えによって,OS6bのファイルシステムへ
のファンクションコールが発行される度に本ルーチンが
呼ばれる。
Next, file access hook routine 2
4 will be described with reference to FIG. This routine is called each time a function call to the file system of the OS 6b is issued by the rewriting of the file access service vector performed in the main routine 21 described above.

【0086】本ルーチンが呼ばれると,ステップ501
でファイルアクセス要求元のコネクション番号が,ユー
ザーコネクションテーブル1500にあるかどうかを調
査する。該調査の結果,ユーザーコネクションテーブル
1500に存在しなければ,ファイルアクセスをリダイ
レクトする対象の要求元(ユーザー)ではないので,ス
テップ560で元のベクタをコールし本来の処理を行っ
た後,ステップ599で本ルーチンの呼び出し元へリタ
ーンする。
When this routine is called, step 501 is executed.
It is checked whether the connection number of the file access request source exists in the user connection table 1500. If the result of the check indicates that the file does not exist in the user connection table 1500, it is not the request source (user) to which the file access is to be redirected, so the original vector is called in step 560 and the original processing is performed. To return to the caller of this routine.

【0087】ステップ502では,ファイルアクセス要
求のあったファイル(以下単に要求ファイルと呼ぶ)
が,第二の情報処理装置130のディレクトリをマウン
トしたディレクトリ部分に含まれるかどうかを調査す
る。該調査は,マウントパステーブル1400を参照
し,マウントパス1403と要求ファイルの完全なパス
名とを比較することによって行う。
In step 502, a file for which a file access request has been made (hereinafter simply referred to as a request file)
Is included in the directory portion where the directory of the second information processing apparatus 130 is mounted. The check is performed by referring to the mount path table 1400 and comparing the mount path 1403 with the complete path name of the requested file.

【0088】なお,ファイルアクセス要求がクローズの
場合には,ファイル名ではなくファイルハンドル番号が
引き渡されるが,この場合には,まず,ユーザーコネク
ションテーブル1500のファイルハンドルテーブルポ
インタ1506から当該ユーザーのファイルハンドルテ
ーブル1600の先頭ポインタを求め,次に前記ポイン
タが示すファイルハンドルテーブル1600内のファイ
ルハンドル番号1604に該当するものがあるかを調査
する。前記調査の結果,対象のファイルでなければ,ス
テップ560で元のベクタをコールし本来の処理を行っ
た後,ステップ599で本ルーチンの呼び出し元へリタ
ーンする。
When the file access request is closed, not the file name but the file handle number is delivered. In this case, first, the file handle of the user is obtained from the file handle table pointer 1506 of the user connection table 1500. The top pointer of the table 1600 is obtained, and it is checked whether there is a file handle number 1604 in the file handle table 1600 indicated by the pointer. As a result of the check, if the file is not the target file, the original vector is called in step 560 and the original processing is performed, and then in step 599, the process returns to the caller of this routine.

【0089】次にステップ505,510,520,5
30,540で,ファイルオープン,ファイルクロー
ズ,ファイルイレース,ディレクトリ作成,ディレクト
リ削除のいずれかの要求かどうかをそれぞれ判定する。
Next, steps 505, 510, 520, 5
In steps 30 and 540, it is determined whether the request is any of file open, file close, file erase, directory creation, and directory deletion.

【0090】ファイルオープンの場合には,まず,ステ
ップ506でオープンプリフックルーチン50をコール
する。ステップ507では,該コールの結果がエラーで
あったかどうかを調べ,エラーであった場合には続くス
テップ508をスキップする。ステップ508では,保
存してある元のファイルアクセスサービスベクタを参照
しそのアドレスをコールすることによって,OS6bの
ファイルシステムにオープン処理を要求する(以下,こ
のような処理を単に元のベクタをコールすると言う)。
次にステップ509でオープンポストフックルーチン5
1をコールし,ステップ599でファイルオープンの呼
び出し元にリターンする。
In the case of file open, first, in step 506, the open prehook routine 50 is called. In step 507, it is checked whether or not the result of the call is an error. If the result is an error, the subsequent step 508 is skipped. In step 508, an open process is requested to the file system of the OS 6b by referring to the stored original file access service vector and calling its address. To tell).
Next, in step 509, the open post hook routine 5
1 and returns to the file open caller in step 599.

【0091】また,ファイルクローズの場合には,ま
ず,ステップ511でクローズプリフックルーチン53
をコールする。ステップ512では,該コールの結果が
エラーであったかどうかを調べ,エラーであった場合に
は続くステップ513をスキップする。ステップ513
では,もとのベクタをコールし,ステップ599でファ
イルクローズの呼び出し元にリターンする。
In the case of file closing, first, in step 511, the close pre-hook routine 53 is executed.
Call. In step 512, it is determined whether or not the result of the call is an error. If the result is an error, the subsequent step 513 is skipped. Step 513
Then, the original vector is called, and in step 599, the process returns to the file close call source.

【0092】ファイルイレース,ディレクトリ作成,デ
ィレクトリ削除の場合も,図5に示すようにファイルク
ローズの場合と同様の処理を行う。
In the case of file erasing, directory creation, and directory deletion, the same processing as in the case of file closing is performed as shown in FIG.

【0093】以上述べたように,本実施例のファイルア
クセスフックルーチン24の処理によって,OS6bに
対するファイルアクセス要求をフックし,第二の情報処
理装置のファイルアクセスへとリダイレクトするための
各処理ルーチンを呼び出すことができる。
As described above, the processing of the file access hook routine 24 of this embodiment hooks a file access request to the OS 6b and redirects the processing to the file access of the second information processing apparatus. Can be called.

【0094】次に,オープンプリフックルーチン50の
処理フローの一例を,図6を参照して説明する。本ルー
チンは,上記図5のファイルアクセスフックルーチン2
4のステップ506でコールされるものである。
Next, an example of the processing flow of the open prehook routine 50 will be described with reference to FIG. This routine corresponds to the file access hook routine 2 shown in FIG.
4 is called in step 506.

【0095】本処理フローにおいては,最初,ステップ
603で,ファイルハンドルテーブル1600に新たな
ノード1690を追加する。ステップ605では,コピ
ーファイルテーブル1700の各ノード1790のファ
イル名1703に前記要求ファイル名が存在するかどう
かを調べ,存在すればさらにそのノード1790のコピ
ーバックフラグ1706を参照する。該参照の結果コピ
ーバック中ならば,ステップ606で当該ノード179
0のオープン待ちフラグ1707をセットし,さらにス
テップ607で当該ノードのコピーバックフラグ170
6を監視し,コピーバック終了を待つ。コピーバックが
終了すれば,ステップ608で前記オープン待ちフラグ
1707を解除する。ステップ605での判定結果がコ
ピーバック中でなければ,上記ステップ606,60
7,608は実行されない。
In this processing flow, first, at step 603, a new node 1690 is added to the file handle table 1600. In step 605, it is checked whether or not the requested file name exists in the file name 1703 of each node 1790 in the copy file table 1700, and if so, the copy back flag 1706 of the node 1790 is referred to. If copy-back is being performed as a result of the reference, the node 179 is determined in step 606.
In step 607, the copy-back flag 170 of the node is set.
6 and waits for the end of copyback. When the copy back is completed, the open wait flag 1707 is canceled in step 608. If the result of determination in step 605 is not copy-back, steps 606 and 60
7,608 is not executed.

【0096】ステップ610では,要求ファイルのオー
プンモードを第二のファイルサーバプログラム9cが受
け付け可能かつ要求元のオープンモードになるべく等価
なオープンモードに変換する。ここで,オープンモード
とは,ファイルをリードモードでオープンするかライト
モードでオープンするか,ファイルが存在しなければ作
成するかどうか,排他制御はどうするかといった指定を
行うものである。
In step 610, the open mode of the requested file is converted to an open mode that is acceptable to the second file server program 9c and that is equivalent to the open mode of the request source. Here, the open mode designates whether a file is opened in a read mode or a write mode, whether a file is created if it does not exist, and what exclusive control is to be performed.

【0097】ステップ612では,エージェントプログ
ラム30のユーザープロセスサービスルーチン32に対
し,要求ファイルに対応する第二の情報処理装置130
上のファイルのオープンを依頼する。このとき,上記変
換後のオープンモードを用いる。前記オープンの結果を
前記ユーザープロセスサービスルーチン32から受け取
ると,ステップ613で該オープンが成功したかどうか
を判定し,失敗していた場合にはステップ660を実行
する。
In step 612, the second information processing apparatus 130 corresponding to the request file is sent to the user process service routine 32 of the agent program 30.
Request to open the above file. At this time, the open mode after the conversion is used. When the result of the open is received from the user process service routine 32, it is determined in a step 613 whether or not the open has succeeded. If the open has failed, a step 660 is executed.

【0098】ステップ660では,失敗の原因を調べ,
オープンファイル数が規定値を越えていた為であった場
合にはステップ661で時間待ちをした後再びステップ
612に戻りリトライする。他の原因であった場合に
は,ステップ665でエラーコードを設定してステップ
699で呼び出し元へリターンする。このリトライ処理
は,第一のOS6bと第二のOS6cで許容されている
同時オープンファイル数が異なることや,複数のコピー
バックルーチン25がマルチプロセスで実行されるため
に,ファイルサーバプログラム9bを介してオープンさ
れているファイル数よりも多くのファイルが同時にオー
プンされるために必要となる処理である。上記ステップ
613で,オープンが成功していた場合は,まずステッ
プ615でファイルハンドルテーブル1600の当該ノ
ード1690のリーモートファイルハンドル番号160
5に,前記オープンでユーザープロセスサービスルーチ
ン32から返されるファイルハンドル番号を格納する。
つぎにステップ620でコピーファイルテーブル170
0を検索し,要求ファイルのデータが既に第二の情報処
理装置130から第一の情報処理装置120上へとコピ
ーされているかを調べる。コピー済みであった場合には
ステップ650を,コピー済みでなかった場合にはステ
ップ622を実行する。
In step 660, the cause of the failure is examined, and
If the number of open files has exceeded the specified value, the process waits for time in step 661 and returns to step 612 again to retry. If it is another cause, an error code is set in step 665, and the process returns to the caller in step 699. This retry processing is performed via the file server program 9b because the number of simultaneous open files permitted by the first OS 6b and the second OS 6c is different and because a plurality of copyback routines 25 are executed in a multi-process. This process is required to open more files simultaneously than the number of open files. If the open is successful in step 613, first in step 615, the remote file handle number 160 of the node 1690 in the file handle table 1600 is read.
5 stores the file handle number returned from the user process service routine 32 in the open.
Next, at step 620, the copy file table 170
0 is searched to determine whether the data of the requested file has already been copied from the second information processing device 130 to the first information processing device 120. If it has been copied, step 650 is executed, and if it has not been copied, step 622 is executed.

【0099】ステップ622からステップ630では,
要求ファイルのデータを第二の情報処理装置130から
第一の情報処理装置120上へとコピーする。まず,ス
テップ622で,第一の情報処理装置120のOS6b
に対して要求ファイルのオープンを指示する。ファイル
がなければ新たに作成する。次にステップ625で,第
二の情報処理装置130から当該ファイルのデータを読
み出す。この読出しは,上記ユーザープロセスサービス
ルーチン32を介して行う。前記読み出したデータは,
ステップ626で,第一の情報処理装置130上のスパ
ーズファイル化されている前記要求ファイルに書き込ま
れる。ステップ627では,全内容のコピーを終了した
かどうか判定し,終了していなければステップ625以
下を繰り返し実行する。ステップ630では,第一の情
報処理装置120のOS6bに対して要求ファイルのク
ローズを指示する。
In steps 622 to 630,
The data of the request file is copied from the second information processing device 130 onto the first information processing device 120. First, in step 622, the OS 6b of the first information processing apparatus 120
To open the request file. If the file does not exist, create it. Next, in step 625, the data of the file is read from the second information processing device 130. This reading is performed via the user process service routine 32. The read data is
In step 626, the request file is written in the sparse file on the first information processing apparatus 130. At step 627, it is determined whether or not copying of all contents has been completed, and if not, the steps 625 and thereafter are repeatedly executed. At step 630, the OS 6b of the first information processing apparatus 120 is instructed to close the requested file.

【0100】ステップ631では,コピーファイルテー
ブル1700に,新たなノード1790を追加し,第一
の情報処理装置120上でのファイル名1703を設定
する。ステップ650では,要求ファイルのオープンモ
ードにしたがって,前記ノード1790のリードオープ
ン数,ライトオープン数の一方または両方に1を加え
る。以上述べた処理の後,ステップ699でオープンプ
リフックルーチンを終了し,呼び出し元へリターンす
る。
At step 631, a new node 1790 is added to the copy file table 1700, and a file name 1703 on the first information processing device 120 is set. In step 650, 1 is added to one or both of the read open count and the write open count of the node 1790 according to the open mode of the requested file. After the above-described processing, the open pre-hook routine is terminated in step 699, and the process returns to the call source.

【0101】次に,オープンポストフックルーチン51
の処理フローの一例を図7を参照して説明する。ステッ
プ710で,本ルーチンが呼ばれる前に元のベクタをコ
ールすることによって実行したOS6bに対するファイ
ルオープンが正常終了したかどうかを調べ,正常終了し
ていた場合はステップ720を実行する。このステップ
720では,ファイルハンドルテーブル1600の該当
するノード1690のローカルファイルハンドル番号1
604に,前記オープンでOS6bから返されるファイ
ルハンドル番号を格納する。
Next, the open post hook routine 51
An example of the processing flow will be described with reference to FIG. At step 710, it is checked whether or not the file open for the OS 6b executed by calling the original vector before this routine is called has been completed normally. If the file open has been completed normally, step 720 is executed. In this step 720, the local file handle number 1 of the corresponding node 1690 in the file handle table 1600
In 604, the file handle number returned from the OS 6b in the opening is stored.

【0102】一方,OS6bに対するファイルオープン
が異常終了していた場合には,該オープンを無効とし,
各テーブルへの登録情報を削除するためにステップ73
0以下を実行する。ステップ730では,オープンプリ
フックルーチン50で追加したファイルハンドルテーブ
ル1600の当該ノード1690を削除する。続くステ
ップ731では,同じくオープンプリフックルーチン5
0でカウントアップしたコピーファイルテーブル170
0のリードオープン数1704,ライトオープン数17
05を前記カウントアップ前の値に戻す。
On the other hand, if the file open to the OS 6b ends abnormally, the open is invalidated,
Step 73 for deleting the registration information in each table
Execute 0 or less. In step 730, the node 1690 of the file handle table 1600 added by the open pre-hook routine 50 is deleted. In the following step 731, the open pre-hook routine 5
Copy file table 170 counted up by 0
0 open reads 1704, 17 open writes
05 is returned to the value before the count-up.

【0103】以上の処理の後,ステップ799で呼び出
し元にリターンし,オープンポストフックルーチン51
を終了する。
After the above processing, the process returns to the calling source in step 799, and the open post hook routine 51
To end.

【0104】次に,イレースプリフックルーチン52の
処理フローの一例を,図8を参照して説明する。まず,
ステップ810で,コピーファイルテーブル1700の
各ノード1790のファイル名1703に要求ファイル
名が存在するかどうかを調べ,存在すればさらにそのノ
ード1790のコピーバックフラグ1706を参照す
る。該参照の結果コピーバック中ならば,ステップ82
0で当該ノード1790のイレース待ちフラグ1707
をセットし,さらにステップ830で当該ノードのコピ
ーバックフラグを監視し,コピーバック終了を待つ。
Next, an example of the processing flow of the erase pre-hook routine 52 will be described with reference to FIG. First,
At step 810, it is checked whether the requested file name exists in the file name 1703 of each node 1790 in the copy file table 1700, and if so, the copy back flag 1706 of the node 1790 is referred to. If copy-back is in progress as a result of the reference, step 82
At 0, the erase wait flag 1707 of the node 1790 concerned
Is set, and in step 830, the copy back flag of the node is monitored, and the copy back end is waited.

【0105】コピーバック中でなかった場合,あるいは
コピーバックが終了するとステップ840が実行され
る。ステップ840では,エージェントプログラム30
のユーザープロセスサービスルーチン32に対し,要求
ファイルに対応する第二の情報処理装置130上のファ
イルの削除を依頼する。ステップ850では,前記削除
が正常終了したかどうかを判定し,異常終了の場合には
ステップ860でエラーコードを設定し呼び出し元にス
テップ899でリターンする。
If copy back is not being performed or if copy back is completed, step 840 is executed. In step 840, the agent program 30
Is requested to delete the file on the second information processing device 130 corresponding to the requested file. In step 850, it is determined whether or not the deletion has been completed normally. If the deletion has been completed abnormally, an error code is set in step 860, and the process returns to the calling source in step 899.

【0106】次に,クローズプリフックルーチン53の
処理フローの一例を,図9を参照して説明する。まず,
ステップ910で,コピーファイルテーブル1700の
各ノード1790のファイル名1703に要求ファイル
名が存在するかどうかを調べ,存在すればさらにそのノ
ード1790のコピーバックフラグ1706を参照す
る。該参照の結果コピーバック中ならば,ステップ92
0で当該ノードのコピーバックフラグ1706を監視
し,コピーバック終了を待つ。
Next, an example of the processing flow of the close prehook routine 53 will be described with reference to FIG. First,
At step 910, it is checked whether the requested file name exists in the file name 1703 of each node 1790 in the copy file table 1700, and if so, the copy back flag 1706 of the node 1790 is referred to. If copy-back is in progress as a result of the reference, step 92
At 0, the copyback flag 1706 of the node is monitored, and the copyback end is waited for.

【0107】コピーバック中でなかった場合,あるいは
コピーバックが終了するとステップ930で前記コピー
バックフラグ1706をセットする。次にステップ94
0でコピーバックルーチン25を新たなプロセスとして
起動し,ステップ999で呼び出し元にリターンする。
If copy back is not in progress or the copy back is completed, the copy back flag 1706 is set in step 930. Next, step 94
At 0, the copy back routine 25 is started as a new process, and at step 999, the process returns to the caller.

【0108】次に,ディレクトリ作成プリフックルーチ
ン54の処理フローの一例を,図10を参照して説明す
る。まず,ステップ1010で,エージェントプログラ
ム30のユーザープロセスサービスルーチン32に対
し,要求ディレクトリに対応する第二の情報処理装置1
30上のディレクトリの作成を依頼する。ステップ10
20では,前記作成が正常終了したかどうかを判定し,
異常終了の場合にはステップ1030でエラーコードを
設定し呼び出し元にステップ1099でリターンする。
Next, an example of the processing flow of the directory creation prehook routine 54 will be described with reference to FIG. First, in step 1010, the second information processing apparatus 1 corresponding to the request directory is notified to the user process service routine 32 of the agent program 30.
Request creation of a directory on 30. Step 10
At 20, it is determined whether or not the creation has been completed normally.
In the case of abnormal termination, an error code is set in step 1030, and the process returns to step 1099 to the calling source.

【0109】ディレクトリ削除プリフックルーチン55
の処理フローの一例を図11に示す。本ルーチンは,上
述のディレクトリ作成プリフックルーチン54とは,作
成か削除かが異なるだけで,その他の処理は同様である
ため,その説明は省略する。
Directory deletion prehook routine 55
FIG. 11 shows an example of the processing flow of FIG. This routine is the same as the above-described directory creation prehook routine 54 except that it is created or deleted, and the other processing is the same.

【0110】次に,コピーバックルーチン25の処理フ
ローの一例を,図13を参照して説明する。本ルーチン
がプロセスとして起動されると,まず,ステップ130
5でコピーファイルテーブル1700の当該ノード17
90のイレース待ちフラグ1708がセットされている
かどうかを調べ,セットされていれば,以下のコピーバ
ック処理を行わずにステップ1360に制御を移す。ま
た,イレース待ちフラグ1708がセットされていなけ
ればステップ1306で,前記ノード1790のオープ
ン待ちフラグ1707がセットされているかどうかを調
査する。該調査の結果,セットされていた場合は,ステ
ップ1320に制御を移す。
Next, an example of the processing flow of the copy back routine 25 will be described with reference to FIG. When this routine is started as a process, first, at step 130
5, the corresponding node 17 in the copy file table 1700
It is checked whether or not the erase wait flag 1708 of 90 is set, and if it is set, the control is shifted to step 1360 without performing the following copy back processing. If the erase wait flag 1708 is not set, it is checked in step 1306 whether the open wait flag 1707 of the node 1790 is set. If it is set as a result of the check, the control is transferred to step 1320.

【0111】イレース待ちフラグ1708,オープン待
ちフラグ1707の何れもセットされていなかった場合
にはステップ1307で時間待ちを行った後,ステップ
1308で,コピーバックディレイタイムとして指定さ
れた時間が経過したかどうかを調べ,経過していなけれ
ばステップ1305に戻る。ここで,前記経過時間は,
コピーバックルーチンが起動されてからの時間である。
また前記ステップ1307での時間待ちの時間は,前記
コピーバックディレイタイムの1/10以下の値を設定
する。
If neither the erase wait flag 1708 nor the open wait flag 1707 has been set, a time wait is performed in step 1307, and in step 1308, whether the time specified as the copy back delay time has elapsed. The process returns to step 1305 if it has not elapsed. Here, the elapsed time is:
This is the time since the copyback routine was started.
The value of the waiting time at step 1307 is set to a value of 1/10 or less of the copy back delay time.

【0112】前記コピーバックディレイタイムが経過す
るか,オープン待ちフラグ1707が検出されると,ス
テップ1320が実行される。該ステップ1320で
は,コピーファイルテーブルのリードオープン数170
4,ライトオープン数1705を,要求ファイルのオー
プンモードにしたがって減算処理を行う。即ち,リード
モードだけならリードオープン数1704から,ライト
モードだけならライトオープン数1705から,リード
ライトモードならリードオープン数1704とライトオ
ープン数1705の両方からそれぞれ1を引いた値に設
定する。
If the copy back delay time has elapsed or the open wait flag 1707 is detected, step 1320 is executed. In step 1320, the number of read-opens of the copy file table is 170
4, the number of write open 1705 is subtracted according to the open mode of the requested file. That is, the value is set to a value obtained by subtracting 1 from each of the number of read opens 1704 in the case of only the read mode, from the number of write open 1705 in the case of the write mode, and from both the number of read open 1704 and the number of write open 1705 in the case of the read / write mode.

【0113】次に,ステップ1330では要求ファイル
がライトオープンかどうかを判定する。続くステップ1
331では,ファイルへの書き込みが行われたかどうか
を,OS6bが提供する,例えばアーカイブビット等の
ファイル情報から判定する。ステップ1332では,最
後のライトオープンであったかどうかを,前記ライトオ
ープン数1705が0であるかどうかで判定する。以上
の判定の結果,最後のライトオープンで且つファイルへ
の書き込みがあった場合にだけステップ1333のコピ
ーバックを実行し,そうでなければ前記コピーバックは
行わないよう動作する。前記ステップ1333のコピー
バックとは,第一の情報処理装置120上に作成された
要求ファイルの内容コピーを,第二の情報処理装置13
0に書き戻す処理をいう。前記処理は,エージェントプ
ログラム30のユーザープロセスルーチン32を介して
行う。
Next, in step 1330, it is determined whether the requested file is write open. Next step 1
In 331, it is determined whether or not writing to the file has been performed based on file information such as an archive bit provided by the OS 6b. In step 1332, it is determined whether or not the last write open is based on whether or not the number of write opens 1705 is zero. As a result of the above determination, the copy back of step 1333 is executed only when the last write open and the writing to the file are performed, and otherwise, the copy back is not performed. The copy back in the step 1333 is to copy the contents of the request file created on the first information processing apparatus 120 to the second information processing apparatus 13.
This is a process of writing back to 0. The processing is performed via a user process routine 32 of the agent program 30.

【0114】次に,ステップ1350で,最後のクロー
ズかどうかを判定する。これは,前記リードオープン数
1704とライトオープン数1705の両方が0となっ
ているかどうかで容易に判定できる。また,ステップ1
351ではコピーファイルテーブル1700のオープン
待ちフラグ1707がセットされているかを調べる。上
記判定の結果,最後のクローズで,且つオープン待ちが
なければステップ1352,1355を実行する。ステ
ップ1352では,第一の情報処理装置120上に作成
された要求ファイルのファイルサイズを取得し,ステッ
プ1355でスパーズファイル化し,ファイルサイズを
保持したまま内容を消去する。
Next, at step 1350, it is determined whether or not it is the last close. This can be easily determined by determining whether both the read open count 1704 and the write open count 1705 are 0. Step 1
At 351, it is checked whether the open wait flag 1707 of the copy file table 1700 is set. If the result of the determination is that there is no last close and there is no open wait, steps 1352 and 1355 are executed. In step 1352, the file size of the requested file created on the first information processing apparatus 120 is acquired, and in step 1355, the file is converted into a sparse file, and the contents are deleted while maintaining the file size.

【0115】ステップ1358では,コピーファイルテ
ーブル1700から当該ノード1790を削除する。一
方,ステップ1370では,コピーファイルテーブル1
700の当該ノード1790のコピーバックフラグ17
06をクリアする。最後に,ステップ1360で,ファ
イルハンドルテーブル1600から,当該ノード169
0を消去し,ステップ1399で自プロセスであるコピ
ーバックプロセスを終了する。
At step 1358, the node 1790 is deleted from the copy file table 1700. On the other hand, in step 1370, copy file table 1
700, the copyback flag 17 of the node 1790
Clear 06. Finally, in step 1360, the node 169 is read from the file handle table 1600.
0 is deleted, and in step 1399 the copy back process which is its own process is terminated.

【0116】以上述べたように,本ルーチンによれば,
コピーバックディレイタイムの期間に,同一ファイルに
対するファイル削除要求が発生した場合,コピーバック
を中止する。これによって,アプリケーションプログラ
ム8aが作業用の一時ファイルを作成し,用済み後にク
ローズ,削除という操作を行った場合などに,不要なコ
ピーバックを行わずに済む。
As described above, according to this routine,
If a file deletion request for the same file occurs during the copy back delay time, copy back is stopped. As a result, unnecessary copy-back is not performed, for example, when the application program 8a creates a work temporary file and performs an operation of closing and deleting after use.

【0117】さらに,本ルーチンによれば,コピーバッ
クディレイタイムの期間に同一ファイルに対するオープ
ン要求が来たときは,直ちにコピーバックを開始し,該
オープン処理を早く開始できるように動作する。
Further, according to the present routine, when an open request for the same file is received during the copy-back delay time, the copy-back operation is started immediately so that the open processing can be started earlier.

【0118】さらに,本ルーチンによれば,コピーバッ
ク終了までに,同一ファイルに対するファイルオープン
要求が来たときは,コピーバック後のスパーズファイル
化を行わないので,該ファイルオープン時には,第二の
サーバ情報処理装置130からのファイルのデータコピ
ーを行わずに済む。
Further, according to this routine, if a file open request for the same file is received by the time the copyback is completed, the file is not converted into a sparse file after the copyback. It is not necessary to copy the data of the file from the information processing device 130.

【0119】次に,ディレクトリ同期ルーチン26の処
理フローの一例を,図18を参照して説明する。本ルー
チンにおいては,最初,ステップ1810で前回設定さ
れた同期時刻(以下,前回同期時刻と呼ぶ)を初期化
し,0年0月0時0分0秒とする。次に,ステップ18
20でマウントパステーブル1400の先頭ポインタ1
820を取得する。ステップ1830では,取得した前
記ポインタが指し示すノード1490からマウントパス
1403,リモートパス1404のデータ組を取得す
る。
Next, an example of the processing flow of the directory synchronization routine 26 will be described with reference to FIG. In this routine, first, in step 1810, the synchronization time set last time (hereinafter, referred to as the previous synchronization time) is initialized to 00: 00: 00: 00, 00:00. Next, step 18
20 is the first pointer 1 of the mount path table 1400
820 is obtained. In step 1830, a data set of the mount path 1403 and the remote path 1404 is obtained from the node 1490 indicated by the obtained pointer.

【0120】次に,ステップ1831で前回同期時刻を
取得し,ステップ1832で第二の情報処理装置130
のOS6cに時刻を問い合わせ,ステップ1833で前
記問い合わせで得た時刻を新たな前回同期時刻として格
納する。次に,ステップ1830で取得したマウントパ
ス,リモートパス,ステップ1831で取得した前回同
期時刻を引数として,ステップ1834で同期実行処理
ルーチン27をコールし,一つのマウントパスに対する
同期処理を実行する。
Next, in step 1831, the previous synchronization time is obtained, and in step 1832, the second information processing apparatus 130
The time is inquired to the OS 6c at step 1833, and the time obtained by the inquiry in step 1833 is stored as a new previous synchronization time. Next, the synchronization execution processing routine 27 is called in step 1834 with the mount path and remote path acquired in step 1830 and the previous synchronization time acquired in step 1831 as arguments, and the synchronization processing for one mount path is executed.

【0121】ステップ1835では,全マウントパスの
同期が終了したかどうかを,参照しているマウントパス
テーブル1400のノード1490のポインタ1402
がNULLであるかで判定する。全マウントパスの同期
が終了していなければ,再びステップ1830以下を実
行する。全マウントパスの同期が終了していたら,ディ
レクトリ同期インターバル時間で指定した時間,または
停止指示のシグナルをメインルーチン21から受け取る
までステップ1840でスリープする。
In step 1835, it is determined whether or not synchronization of all mount paths has been completed by checking the pointer 1402 of the node 1490 of the referenced mount path table 1400.
Is NULL. If the synchronization of all mount paths has not been completed, step 1830 and subsequent steps are executed again. If the synchronization of all mount paths has been completed, the process sleeps in step 1840 for a time designated by the directory synchronization interval or until a stop instruction signal is received from the main routine 21.

【0122】ステップ1850では,前記スリープから
抜けた原因が前記停止指示によるものかどうかを調べ,
停止指示ならばディレクトリ同期ルーチンを終了し,停
止指示でなければステップ1820以下を繰り返し実行
する。
At step 1850, it is checked whether or not the cause of the exit from the sleep is the stop instruction.
If the instruction is a stop instruction, the directory synchronization routine is ended. If the instruction is not a stop instruction, steps 1820 and subsequent steps are repeatedly executed.

【0123】以上述べたフローによって,同期対象ディ
レクトリの内,第一のサーバ情報処理装置120と第二
のサーバ情報処理装置130との差分だけを更新し,同
期することができる。
According to the flow described above, only the difference between the first server information processing apparatus 120 and the second server information processing apparatus 130 in the directory to be synchronized can be updated and synchronized.

【0124】次に,同期実行処理ルーチン27の処理フ
ローの一例を,図19を参照して説明する。最初,ステ
ップ1910では,本ルーチンへ引数として渡された前
回同期時刻とリモートパスを,第二の情報処理装置上の
エージェントプログラム30のディレクトリ同期サービ
スルーチン33に渡し,リモートパスの下位階層部分の
ファイル(ディレクトリファイルを含む)で前回同期時
刻以降に更新されたものの名称と,ファイルサイズ,フ
ァイル日付の一覧を変更ファイルリストとして受け取
る。
Next, an example of the processing flow of the synchronous execution processing routine 27 will be described with reference to FIG. First, in step 1910, the previous synchronization time and the remote path passed as arguments to this routine are passed to the directory synchronization service routine 33 of the agent program 30 on the second information processing device, and the file in the lower layer of the remote path is A list of file names (including directory files) updated after the previous synchronization time, file size, and file date is received as a changed file list.

【0125】ステップ1920以下では,前記リストの
ファイル,ディレクトリを一個毎に処理する。まず,ス
テップ1920でディレクトリファイルかどうかを判定
し,ディレクトリファイルであった場合には,ステップ
1960でサブディレクトリ同期ルーチン28をコール
し,そのディレクトリの下位の階層部分全ての同期をと
る。一方,データファイルであった場合には,ステップ
1930で,第一の情報処理装置上120上の対応する
マウントパスに既にそのファイルが存在するかを調べ,
存在しなければステップ1940を,存在した場合は1
935を実行する。
In step 1920 and subsequent steps, the files and directories in the list are processed one by one. First, it is determined in step 1920 whether or not the file is a directory file. If the file is a directory file, the subdirectory synchronization routine 28 is called in step 1960 to synchronize all the lower hierarchical parts of the directory. On the other hand, if the file is a data file, it is checked in step 1930 whether the file already exists in the corresponding mount path on the first information processing device 120.
If it does not exist, step 1940 is performed.
935 is executed.

【0126】ステップ1935では,コピーファイルテ
ーブル1700に当該ファイルが登録されているかどう
かを検索することによって,該ファイルが使用中かどう
かを判定する。コピーファイルテーブル1700に当該
ファイルが登録されていた場合には,該ファイルは使用
中であるので,ステップ1940のスパーズファイル作
成をスキップする。ステップ1940では,ファイル
名,サイズ,日付を引数としてスパーズファイル作成ル
ーチン60をコールし,当該ファイルの内容を消去する
と共に,ファイルサイズ,ファイル日付を設定する。
In step 1935, it is determined whether or not the file is in use by searching whether or not the file is registered in the copy file table 1700. If the file is registered in the copy file table 1700, the file is in use, and the creation of the sparse file in step 1940 is skipped. In step 1940, the sparse file creation routine 60 is called using the file name, size, and date as arguments to erase the contents of the file and set the file size and file date.

【0127】ステップ1950では,ステップ1910
で取得した更新ファイル一覧の全てのファイル同期を終
了したかどうかを判定し,終了するまでステップ192
0以下を繰り返す。全ファイルの同期が終了するとステ
ップ1999で呼び出し元へリターンする。
At step 1950, step 1910
It is determined whether or not all file synchronization of the updated file list acquired in step 192 has been completed.
Repeat 0 or less. When all files have been synchronized, the process returns to the calling source in step 1999.

【0128】次に,上記同期実行処理ルーチン27から
呼ばれるサブディレクトリ同期ルーチン28の処理フロ
ーを,図20を参照して説明する。ステップ2010で
は,引数として受け取ったディレクトリの直下のファイ
ルリリストを,第二の情報処理装置上のエージェントプ
ログラム30のディレクトリ同期サービスルーチン33
から得る。このリストには,各ファイル,ディレクトリ
の名称,日付,サイズの情報が含まれる。
Next, the processing flow of the subdirectory synchronization routine 28 called from the synchronization execution processing routine 27 will be described with reference to FIG. In step 2010, the file list immediately below the directory received as an argument is stored in the directory synchronization service routine 33 of the agent program 30 on the second information processing apparatus.
Get from. This list includes information on the name, date, and size of each file and directory.

【0129】ステップ2020以下では,前記ファイル
リストのファイル,ディレクトリを一個ずつ処理する。
ステップ2020では,ディレクトリファイルかどうか
を判定し,ディレクトリであった場合には,ステップ2
070でサブディレクトリ同期ルーチン28を再帰的に
呼び出す。ファイルであった場合には,ステップ202
5で,第一の情報処理装置上120上の対応するマウン
トパスに既にそのファイルが存在するかを調べ,存在し
なければステップ2030を,存在した場合は2026
を実行する。
In steps 2020 and thereafter, the files and directories in the file list are processed one by one.
At step 2020, it is determined whether or not the file is a directory file.
At 070, the subdirectory synchronization routine 28 is recursively called. If it is a file, step 202
In step 5, it is checked whether the file already exists in the corresponding mount path on the first information processing apparatus 120. If the file does not exist, step 2030 is performed.
Execute

【0130】ステップ2026では,コピーファイルテ
ーブル1700に当該ファイルが登録されているかどう
かを検索することによって,該ファイルが使用中かどう
かを判定する。コピーファイルテーブル1700に当該
ファイルが登録されていた場合には,該ファイルは使用
中であるので,ステップ2030のスパーズファイル作
成をスキップする。使用中でなかった場合には,ステッ
プ2030でスパーズファイル作成ルーチン60をファ
イル名称,サイズ,日付を引数としてコールし,当該フ
ァイルの内容を消去すると共に,ファイルサイズ,ファ
イル日付を設定する。
In step 2026, whether or not the file is in use is determined by searching whether or not the file is registered in the copy file table 1700. If the file is registered in the copy file table 1700, the file is being used, and the creation of the sparse file in step 2030 is skipped. If the file is not in use, the sparse file creation routine 60 is called in step 2030 with the file name, size, and date as arguments to delete the contents of the file and set the file size and file date.

【0131】ステップ2040では,ステップ2010
で取得したファイルディレクトリ一覧の全てのファイル
同期を終了したかどうかを判定し,終了するまでステッ
プ2020以下を繰り返す。全ファイルの同期が終了す
ると,ステップ2050でファイルディレクトリリスト
に存在しないファイルまたはディレクトリが,ローカル
側の当該ディレクトリ内に存在しないかを調べ,存在し
た場合にはこれらを全て削除する。以上の処理を終える
と,ステップ2099で呼び出し元にリターンする。
In step 2040, step 2010
It is determined whether or not all the files in the file directory list acquired in step have been synchronized, and steps 2020 and thereafter are repeated until the file synchronization is completed. When the synchronization of all the files is completed, it is checked in step 2050 whether a file or directory that does not exist in the file directory list does not exist in the directory on the local side, and if it exists, all of them are deleted. Upon completion of the above processing, the process returns to the calling source in step 2099.

【0132】次に,スパーズファイル作成ルーチン60
の処理フローの一例を,図12を参照して説明する。最
初,ステップ1205で,引数として受け取ったファイ
ル名のファイルが存在するかどうかを確認し,存在すれ
ばステップ1210で削除する。次にステップ1220
で新たにファイルを作成する。ステップ1225では,
引数として受け取ったファイルサイズ分ファイルポイン
タをずらして,ステップ1230で1バイトのダミーデ
ータを書き込む。そして,ステップ1235で該ファイ
ルをクローズする。
Next, the sparse file creation routine 60
An example of the processing flow of will be described with reference to FIG. First, in step 1205, it is confirmed whether or not a file having the file name received as an argument exists, and if it exists, it is deleted in step 1210. Next, step 1220
To create a new file. In step 1225,
The file pointer is shifted by the file size received as an argument, and 1-byte dummy data is written in step 1230. Then, in step 1235, the file is closed.

【0133】ステップ1240で,該ファイルの日付を
引数として受け取ったものに変更し,ステップ1245
でファイルの属性情報の一つである変更ビットをクリア
する。以上でスパーズファイルの作成を完了し,ステッ
プ1299で呼び出し元にリターンする。
In step 1240, the date of the file is changed to the one received as an argument, and
Clears the change bit which is one of the attribute information of the file. Thus, the creation of the sparse file is completed, and the process returns to the calling source in step 1299.

【0134】次に,エージェントプログラム30に含ま
れる各ルーチンの処理フローを説明する。
Next, the processing flow of each routine included in the agent program 30 will be described.

【0135】最初に,上述したゲートウエイプログラム
20のユーザープロセスルーチン23からのログイン要
求をうけつけるリモートログインサービスルーチン31
について,図26を参照して説明する。
First, the remote login service routine 31 which receives a login request from the user process routine 23 of the gateway program 20 described above.
Will be described with reference to FIG.

【0136】本処理において,ステップ2601では,
前記ユーザープロセスルーチン23からのログイン要求
あるいはサービス停止指示のイベントを監視し待つ。該
イベントが発生するとステップ2602でログイン要求
かどうかを判定し,ログイン要求の場合は,ステップ2
603でユーザープロセスサービスルーチン32を新た
なプロセスとして起動し,ここからログインを実行す
る。
In this processing, in step 2601,
It monitors and waits for a login request or service stop instruction event from the user process routine 23. When the event occurs, it is determined in step 2602 whether or not the request is a login request.
In step 603, the user process service routine 32 is started as a new process, and login is executed from here.

【0137】一方,ステップ2602でログインではな
いと判定した場合は,発生したイベントがサービス停止
指示かどうかを判定し,サービス停止指示であった場合
には,ステップ2699へ進み,本処理を終了する。前
記サービス停止指示以外のイベントであった場合には,
ステップ2601へ戻り,イベント待ちを実行する。
On the other hand, if it is determined in step 2602 that the event is not a login, it is determined whether or not the event that occurred is a service stop instruction. If the event is a service stop instruction, the flow advances to step 2699 to end this processing. . If the event is other than the service stop instruction,
The process returns to step 2601 to execute event waiting.

【0138】次に,上記リモートログインサービスルー
チン31のステップ2603で生成,起動され,前記ゲ
ートウエイプログラム20の各ルーチンからリダイレク
トされた各種イベントに応答する,ユーザープロセスサ
ービスルーチン32の処理フローを,図27を参照して
説明する。
Next, the processing flow of the user process service routine 32 generated and started in step 2603 of the remote login service routine 31 and responding to various events redirected from each routine of the gateway program 20 is shown in FIG. This will be described with reference to FIG.

【0139】本処理は,上記リモートログインサービス
ルーチン31のステップ2603で起動された後,ステ
ップ2701でイベント待ちを行う。ここで,本ルーチ
ンにリダイレクトされるイベントとしては,前記ファイ
ルアクセスフックルーチン24からの各種ファイルアク
セス要求や,前記リモートログインルーチン22からの
ログイン,ログアウト要求等がある。
This process is started in step 2603 of the remote login service routine 31, and then waits for an event in step 2701. Here, the events to be redirected to this routine include various file access requests from the file access hook routine 24 and login / logout requests from the remote login routine 22.

【0140】ステップ2702〜2710までの判定処
理では,該イベントが,ログイン要求,ログアウト要
求,ファイルオープン要求,ファイルクローズ要求,フ
ァイルリード要求,ファイルライト要求,ファイル削除
要求,ディレクトリ作成要求,及び,ディレクトリ削除
要求のいずれに該当するかを判定し,該判定結果に応じ
て,ステップ2731〜2739のうち該当する処理を
実行する。
In the judgment processing of steps 2702 to 2710, the event is a login request, a logout request, a file open request, a file close request, a file read request, a file write request, a file deletion request, a directory creation request, and a directory creation request. It is determined which of the deletion requests corresponds to, and according to the determination result, the corresponding processing among steps 2731 to 2739 is executed.

【0141】次に,ステップ2740では,前記ユーザ
ープロセスルーチン23に,前記リモートログインサー
ビスルーチン31から引き継いだソケットを用いて,各
種要求に対する処理結果を伝えるためのリターンコード
を設定する。ステップ2741では,該リターンコード
を含む処理の実行結果を,前記ソケットを通して,第一
のサーバ情報処理装置120へ送信して前記イベントの
発行元へ伝え,その後,またステップ2701へ戻りイ
ベント待ちを行う。
Next, at step 2740, a return code for transmitting a processing result for various requests is set in the user process routine 23 using the socket inherited from the remote login service routine 31. In step 2741, the execution result of the process including the return code is transmitted to the first server information processing apparatus 120 via the socket and transmitted to the event issue source, and thereafter, the process returns to step 2701 to wait for the event. .

【0142】上記ステップ2702〜2710で認識さ
れるアクセス要求以外のイベントの場合には,該イベン
トがサービス停止指示かどうかを判定し,サービス停止
指示であった場合には,ステップ2799へ進み,本ル
ーチンを終了する。前記サービス停止指示以外のイベン
トであった場合には,ステップ2701へ戻り,イベン
ト待ちを実行する。
In the case of an event other than the access request recognized in the above steps 2702 to 2710, it is determined whether or not the event is a service stop instruction. End the routine. If the event is other than the service stop instruction, the process returns to step 2701 and waits for an event.

【0143】次に,ディレクトリ同期サービスルーチン
33について,図28を参照して説明する。本ルーチン
は,前記ゲートウエイプログラム20のディレクトリ同
期ルーチン26からの要求に応じ,同期実行処理ルーチ
ン27のステップ1910の処理に対応して,第二のサ
ーバ情報処理装置130のディレクトリ構造に関する変
更ファイルリストを作成し,該作成したリストを返す処
理である。
Next, the directory synchronization service routine 33 will be described with reference to FIG. This routine, in response to a request from the directory synchronization routine 26 of the gateway program 20, stores a changed file list relating to the directory structure of the second server information processing apparatus 130 in response to the processing of step 1910 of the synchronization execution processing routine 27. This is a process of creating and returning the created list.

【0144】本処理では,ステップ2801でイベント
待ちをして,ステップ2802で該イベントが前記同期
実行処理ルーチン27のステップ1910からの更新フ
ァイル取得指示かどうかを判定する。該判定の結果,そ
れが更新ファイル取得指示である場合には,ステップ2
803で更新ファイルリストを初期化し,ステップ28
04〜2807で,該更新ファイル取得指示に引数とし
て含まれている前回同期時刻と,マウントパステーブル
1400のリモートパス1404とに基づいて,更新フ
ァイルリストを作成する。
In this processing, an event is waited for in step 2801, and it is determined in step 2802 whether the event is an update file acquisition instruction from step 1910 of the synchronous execution processing routine 27. If the result of the determination is an update file acquisition instruction, step 2
In step 803, the update file list is initialized, and step 28 is executed.
In steps 04 to 2807, an update file list is created based on the previous synchronization time included as an argument in the update file acquisition instruction and the remote path 1404 of the mount path table 1400.

【0145】すなわち,ステップ2804で,前記引数
に含まれるリモートパス1404の下位層側に位置す
る,第二のサーバ情報処理装置130のディレクトリ構
造に含まれるファイル及びサブディレクトリファイルを
順次検索し,ステップ2805で,各ファイルについて
前記同期時刻以降に変更があったかどうかを判定し,該
判定の結果,変更があった場合には,ステップ2806
で,該当するファイルの名称を前記変更ファイルリスト
に追加する。ステップ2805で変更がないと判定され
た場合にはステップ2807へ進み,ステップ2807
で,検索の対象とされているファイルのすべてについて
検索が終了したかどうかを判定し,終了まで上記処理を
繰り返す。
That is, in step 2804, files and subdirectory files included in the directory structure of the second server information processing apparatus 130 located on the lower layer side of the remote path 1404 included in the argument are sequentially searched. In step 2805, it is determined whether or not each file has been changed since the synchronization time. If the result of the determination is that there has been a change, step 2806 is executed.
Then, the name of the corresponding file is added to the changed file list. If it is determined in step 2805 that there is no change, the process proceeds to step 2807, and step 2807 is executed.
Then, it is determined whether the search has been completed for all of the files to be searched, and the above processing is repeated until the search is completed.

【0146】ステップ2808では,ステップ2804
〜2807の処理の結果得られた変更ファイルリストを
第一のサーバ情報処理装置120へ送信して,前記同期
実行処理ルーチン27へ返す。
In step 2808, step 2804
The change file list obtained as a result of the processing of steps 2807 to 2807 is transmitted to the first server information processing apparatus 120 and returned to the synchronous execution processing routine 27.

【0147】上記イベントが更新ファイル取得指示以外
のイベントの場合には,該イベントがサービス停止指示
かどうかを判定し,サービス停止指示であった場合に
は,ステップ2899へ進み,本ルーチンを終了する。
前記サービス停止指示以外のイベントであった場合に
は,ステップ2801へ戻り,イベント待ちを実行す
る。
If the above event is an instruction other than the update file acquisition instruction, it is determined whether or not the event is a service stop instruction. If the event is a service stop instruction, the flow advances to step 2899 to terminate this routine. .
If the event is other than the service stop instruction, the process returns to step 2801 and waits for an event.

【0148】[0148]

【発明の効果】本発明によれば,異なるファイルサーバ
プログラムを備えた複数のサーバ情報処理装置上のファ
イルに対してアクセスする場合でも,単一のファイルサ
ーバプログラムを備えたサーバ情報処理装置上のファイ
ルへアクセスする場合とほぼ同様な操作性を確保でき
る,異種ファイルへのアクセスを可能とする情報処理シ
ステム及びその制御方法を提供することができる。
According to the present invention, even when a file on a plurality of server information processing apparatuses having different file server programs is accessed, it is possible to access a file on a server information processing apparatus having a single file server program. It is possible to provide an information processing system capable of accessing different types of files and a control method thereof, which can ensure almost the same operability as when accessing a file.

【0149】さらに,本発明は,第二のサーバ情報処理
装置上のディレクトリ構造を第一のサーバ情報処理装置
上に定期的にコピーすることにより,第一の情報処理装
置用のファイル一覧表示プログラムがそのまま利用でき
るという効果がある。
Further, the present invention provides a file list display program for a first information processing apparatus by periodically copying a directory structure on a second server information processing apparatus onto a first server information processing apparatus. Has the effect that it can be used as is.

【0150】さらに,本発明は,第二のサーバ情報処理
装置のディレクトリ構造を第一のサーバ情報処理装置上
に定期的にコピーする際に実行する前記第一のサーバ情
報処理装置上へのファイル作成において,ディレクトリ
ファイル以外の通常のファイルを,中身のないスパーズ
ファイルとしてファイルを作成することにより,前記フ
ァイルが使用する第一の情報処理装置の磁気ディスク容
量が少なくて済むという効果がある。
Further, according to the present invention, the directory structure of the first server information processing apparatus is executed when the directory structure of the second server information processing apparatus is periodically copied to the first server information processing apparatus. In the creation, by creating a file other than a directory file as a normal file other than a directory file, there is an effect that the magnetic disk capacity of the first information processing apparatus used by the file can be reduced.

【0151】さらに,本発明は,前回のディレクトリ同
期実行時刻以後に変更されたファイルだけを同期処理の
対象とするので,第二のサーバ情報処理装置から第一の
サーバ情報処理装置に送る情報量が少なくて済み,処理
の高速化,LANトラフィックの低減を図れるという効
果がある。
Further, according to the present invention, only the files changed after the previous directory synchronization execution time are subjected to the synchronization processing. Therefore, the amount of information transmitted from the second server information processing apparatus to the first server information processing apparatus. , The processing speed is increased, and the LAN traffic is reduced.

【0152】さらに,本発明によれば,複数ユーザーが
同時に同一ファイルを使用する際にも無駄なコピー処理
が発生しない。また,複数のユーザーが使用中であった
り,クローズに続いて再度オープンされる場合には,当
該ファイルをスパーズファイル化ぜず,コピーファイル
を引き続き利用できる。また,クローズに続いて削除さ
れる場合に,不要なコピーバックをせずに済む。また,
コピーバック手段は,別プロセスとしてバックグラウン
ドで動作するので,前記コピーバック手段の完了を待つ
ことなくクライアント情報処理装置からのクローズ要求
は終了するので,直ちに次の処理を行うことができる。
Further, according to the present invention, useless copy processing does not occur even when a plurality of users use the same file at the same time. If a plurality of users are using the file or reopen it after closing, the file can be used continuously without converting the file to a sparse file. In addition, when data is deleted after closing, unnecessary copy back is not required. Also,
Since the copy-back means operates in the background as a separate process, the close request from the client information processing apparatus ends without waiting for the completion of the copy-back means, so that the next processing can be performed immediately.

【0153】よって,本発明は,クライアント情報処理
装置から出された第二のサーバ情報処理装置上のファイ
ルに対するアクセス処理の高速化と共に,LANトラフ
ィックの低減が図れるという効果がある。
Therefore, according to the present invention, there is an effect that the access processing to the file on the second server information processing apparatus output from the client information processing apparatus can be speeded up and the LAN traffic can be reduced.

【0154】[0154]

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

【図1】本発明を適用した異種ファイルアクセス手段を
備えた情報処理システムの一実施例の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of an information processing system including a heterogeneous file access unit to which the present invention is applied.

【図2】図1の実施例におけるゲートウェイプログラム
20のメインルーチン21の処理フローの一例を示すフ
ローチャートである。
FIG. 2 is a flowchart showing an example of a processing flow of a main routine 21 of the gateway program 20 in the embodiment of FIG.

【図3】図1の実施例におけるゲートウェイプログラム
20のリモートログインルーチン22の処理フローの一
例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an example of a processing flow of a remote login routine 22 of the gateway program 20 in the embodiment of FIG.

【図4】図1の実施例におけるゲートウェイプログラム
20のユーザープロセスルーチン23の処理フローの一
例を示すフローチャートである。
FIG. 4 is a flowchart illustrating an example of a processing flow of a user process routine 23 of the gateway program 20 in the embodiment of FIG.

【図5】図1の実施例におけるゲートウェイプログラム
20のファイルアクセスフックルーチン24の処理フロ
ーの一例を示すフローチャートである。
FIG. 5 is a flowchart showing an example of a processing flow of a file access hook routine 24 of the gateway program 20 in the embodiment of FIG.

【図6】図1の実施例におけるゲートウェイプログラム
20のオープンプリフックルーチン50の処理フローの
一例を示すフローチャートである。
FIG. 6 is a flowchart showing an example of a processing flow of an open prehook routine 50 of the gateway program 20 in the embodiment of FIG.

【図7】図1の実施例におけるゲートウェイプログラム
20のオープンポストフックルーチン51の処理フロー
の一例を示すフローチャートである。
FIG. 7 is a flowchart showing an example of a processing flow of an open post hook routine 51 of the gateway program 20 in the embodiment of FIG.

【図8】図1の実施例におけるゲートウェイプログラム
20のイレースプリフックルーチン52の処理フローの
一例を示すフローチャートである。
8 is a flowchart showing an example of a processing flow of an erase pre-hook routine 52 of the gateway program 20 in the embodiment of FIG.

【図9】図1の実施例におけるゲートウェイプログラム
20のクローズプリフックルーチン53の処理フローの
一例を示すフローチャートである。
9 is a flowchart illustrating an example of a processing flow of a close prehook routine 53 of the gateway program 20 in the embodiment of FIG.

【図10】図1の実施例におけるゲートウェイプログラ
ム20のディレクトリ作成プリフックルーチン54の処
理フローの一例を示すフローチャートである。
FIG. 10 is a flowchart showing an example of a processing flow of a directory creation prehook routine 54 of the gateway program 20 in the embodiment of FIG.

【図11】図1の実施例におけるゲートウェイプログラ
ム20のディレクトリ削除プリフックルーチン55の処
理フローの一例をフローチャートである。
11 is a flowchart showing an example of a processing flow of a directory deletion pre-hook routine 55 of the gateway program 20 in the embodiment of FIG.

【図12】図1の実施例におけるゲートウェイプログラ
ム20のスパーズファイル作成ルーチン60の処理フロ
ーの一例を示すフローチャートである。
FIG. 12 is a flowchart showing an example of a processing flow of a sparse file creation routine 60 of the gateway program 20 in the embodiment of FIG.

【図13】図1の実施例におけるゲートウェイプログラ
ム20のコピーバックルーチン25の処理フローの一例
を示すフローチャートである。
FIG. 13 is a flowchart showing an example of a processing flow of a copy back routine 25 of the gateway program 20 in the embodiment of FIG.

【図14】図1の実施例におけるマウントパステーブル
1400の一例を示す説明図である。
FIG. 14 is an explanatory diagram showing an example of a mount path table 1400 in the embodiment of FIG.

【図15】図1の実施例におけるユーザーコネクション
テーブル1500の一例を示す説明図である。
FIG. 15 is an explanatory diagram showing an example of a user connection table 1500 in the embodiment of FIG.

【図16】図1の実施例におけるファイルハンドルテー
ブル1600の一例を示す説明図である。
FIG. 16 is an explanatory diagram showing an example of a file handle table 1600 in the embodiment of FIG.

【図17】図1の実施例におけるコピーファイルテーブ
ル1700の一例を示す説明図である。
FIG. 17 is an explanatory diagram showing an example of a copy file table 1700 in the embodiment of FIG.

【図18】図1の実施例におけるゲートウェイプログラ
ム20のディレクトリ同期ルーチン26の処理フローの
一例を示すフローチャートである。
18 is a flowchart showing an example of a processing flow of a directory synchronization routine 26 of the gateway program 20 in the embodiment of FIG.

【図19】図1の実施例におけるゲートウェイプログラ
ム20の同期実行処理ルーチン27の処理フローの一例
を示すフローチャートである。
FIG. 19 is a flowchart illustrating an example of a processing flow of a synchronous execution processing routine 27 of the gateway program 20 in the embodiment of FIG.

【図20】図1の実施例におけるゲートウェイプログラ
ム20のサブディレクトリ同期ルーチン28の処理フロ
ーの一例を示すフローチャートである。
20 is a flowchart showing an example of a processing flow of a subdirectory synchronization routine 28 of the gateway program 20 in the embodiment of FIG.

【図21】図1の実施例における第一のサーバ情報処理
装置120のディレクトリ構造の一例を示す説明図であ
る。
FIG. 21 is an explanatory diagram showing an example of a directory structure of the first server information processing apparatus 120 in the embodiment of FIG.

【図22】図1の実施例における第二のサーバ情報処理
装置130のディレクトリ構造の一例を示す説明図であ
る。
FIG. 22 is an explanatory diagram showing an example of a directory structure of the second server information processing apparatus 130 in the embodiment of FIG.

【図23】図1の実施例におけるゲートウェイプログラ
ム20稼働時の第一のサーバ情報処理装置120のディ
レクトリ構造の一例を示す説明図である。
FIG. 23 is an explanatory diagram showing an example of a directory structure of the first server information processing apparatus 120 when the gateway program 20 operates in the embodiment of FIG.

【図24】図1の実施例におけるゲートウェイパラメー
タ設定ファイル199の一例を示す説明図である。
FIG. 24 is an explanatory diagram showing an example of a gateway parameter setting file 199 in the embodiment of FIG.

【図25】図1の実施例におけるスパーズファイルの構
造を示す説明図である。
FIG. 25 is an explanatory diagram showing the structure of a sparse file in the embodiment of FIG. 1;

【図26】図1の実施例におけるエージェントプログラ
ム30のリモートログインサービスルーチン31の処理
フローの一例を示すフローチャートである。
26 is a flowchart showing an example of a processing flow of a remote login service routine 31 of the agent program 30 in the embodiment of FIG.

【図27】図1の実施例におけるエージェントプログラ
ム30のユーザープロセスサービスルーチン32の処理
フローの一例を示すフローチャートである。
FIG. 27 is a flowchart showing an example of a processing flow of a user process service routine 32 of the agent program 30 in the embodiment of FIG.

【図28】図1の実施例におけるエージェントプログラ
ム30のディレクトリ同期サービスルーチン33の処理
フローの一例を示すフローチャートである。
FIG. 28 is a flowchart showing an example of a processing flow of a directory synchronization service routine 33 of the agent program 30 in the embodiment of FIG.

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

1…CPU,2…主メモリ,3…LANコントローラ,
4…ディスクコントローラ,5…磁気ディスク,6…O
S,7…クライアントプログラム,8…アプリケーショ
ンプログラム,9…ファイルサーバプログラム,20…
ゲートウェイプログラム,30…エージェントプログラ
ム,101…LAN,110…第一のクライアント情報
処理装置,120…第一のサーバ情報処理装置,130
…第二のサーバ情報処理装置,140…第二のクライア
ント情報処理装置。
1 CPU, 2 main memory, 3 LAN controller,
4 ... disk controller, 5 ... magnetic disk, 6 ... O
S, 7: client program, 8: application program, 9: file server program, 20:
Gateway program, 30 agent program, 101 LAN, 110 first client information processing device, 120 first server information processing device, 130
... second server information processing apparatus, 140 ... second client information processing apparatus.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 荒井 正人 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 中田 幸男 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 伊藤 寿哉 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア開発本部内 (72)発明者 森 充 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 ──────────────────────────────────────────────────続 き Continued on front page (72) Inventor Masato Arai 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Inside Hitachi, Ltd.System Development Laboratory (72) Inventor Yukio Nakata 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture, Japan (72) Inventor Toshiya Ito 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Incorporated Software Development Headquarters, Hitachi, Ltd. (72) Inventor Mitsuru Mori 6, Oue-cho, Naka-ku, Yokohama-shi, Kanagawa 81 Hitachi Software Engineering Co., Ltd.

Claims (28)

【特許請求の範囲】[Claims] 【請求項1】ファイルの共用を可能とする第一のファイ
ルサーバプログラムを具備する第一のサーバ情報処理装
置と,前記第一のファイルサーバプログラムとは,共用
ファイルへのアクセスインタフェースが異なる第二のフ
ァイルサーバプログラムを具備する第二のサーバ情報処
理装置と,前記第一及び第二のサーバ情報処理装置を接
続するネットワークとを備える情報処理システムであっ
て,前記第一のサーバ情報処理装置は,前記第二のサー
バ情報処理装置が管理するファイル(以下,異種ファイ
ルと呼ぶ)へのアクセス処理を実行するアクセス手段を
備え,前記第二のサーバ情報処理装置は,前記アクセス
手段から送られてくる処理要求を受け入れて,該処理要
求に対応する処理を実行するサービス手段を備え,前記
アクセス手段は,前記サービス手段を介して前記異種フ
ァイルのディレクトリ構造の少なくとも一部の構造に関
する情報を検出して,該検出した情報に応じて,前記第
一のファイルサーバプログラムが管理することができる
形態を備えた,前記異種ファイルのディレクトリ構造の
コピーを作成し,該作成した異種ファイルのディレクト
リ構造のコピーを,前記第一のファイルサーバプログラ
ムが管理するファイルのディレクトリ構造中に追加する
と共に,前記情報の検出を所定のタイミングで実行し,
その度に異種ファイルのディレクトリ構造のコピーを更
新するディレクトリ同期手段を備えることを特徴とする
情報処理システム。
1. A first server information processing apparatus having a first file server program capable of sharing a file, and a first file server program having a different interface for accessing a shared file. And a network connecting the first and second server information processing apparatuses, wherein the first server information processing apparatus comprises: , An access unit for executing a process of accessing a file managed by the second server information processing device (hereinafter, referred to as a heterogeneous file), and the second server information processing device Service means for receiving an incoming processing request and executing processing corresponding to the processing request, wherein the access means comprises: A mode in which information on at least a part of the directory structure of the heterogeneous file is detected via the service means, and the first file server program can manage the information in accordance with the detected information. Creating a copy of the directory structure of the heterogeneous file, adding the copy of the created directory structure of the heterogeneous file to the directory structure of the file managed by the first file server program, and detecting the information. Execute at a predetermined timing,
An information processing system comprising directory synchronization means for updating a copy of a directory structure of a different file each time.
【請求項2】請求項1記載の情報処理システムにおい
て,前記ディレクトリ同期手段は,前回の同期時刻を記
憶する記憶手段と,前記コピーの対象となっている,前
記ディレクトリ構造の少なくとも一部に含まれる異種フ
ァイルのうち,前記記憶されている前回の同期時刻以降
に変更のあったファイルを前記サービス手段を介して検
索する検索手段と,前記検索されたファイルについて,
前記異種ファイルのディレクトリ構造のコピーを更新す
る更新手段とを備えることを特徴とする情報処理システ
ム。
2. The information processing system according to claim 1, wherein the directory synchronization means includes storage means for storing a previous synchronization time, and at least a part of the directory structure to be copied. Search means for searching, via the service means, for files that have been changed since the last stored synchronization time among the different types of files to be stored;
Updating means for updating a copy of the directory structure of the heterogeneous file.
【請求項3】請求項1記載の情報処理システムにおい
て,前記ディレクトリ同期手段は,前記異種ファイルの
ディレクトリ構造のコピー作成に際して,コピーされる
異種ファイルがディレクトリファイル以外の通常ファイ
ルの場合,当該異種ファイルに格納されているデータを
コピーしないことを特徴とする情報処理システム。
3. The information processing system according to claim 1, wherein said directory synchronization means, when making a copy of a directory structure of said heterogeneous file, if the copied heterogeneous file is a normal file other than a directory file, An information processing system characterized by not copying data stored in a storage device.
【請求項4】請求項1記載の情報処理システムにおい
て,前記ディレクトリ同期手段は,前記異種ファイルの
ディレクトリ構造のコピー作成に際して,コピーする異
種ファイルがディレクトリファイル以外の通常ファイル
の場合,作成されるファイルは,当該異種ファイルの最
後のデータ位置と同じ位置にだけダミーデータを書き込
んだスパーズファイルであることを特徴とする情報処理
システム。
4. The information processing system according to claim 1, wherein said directory synchronizing means, when creating a copy of the directory structure of said heterogeneous file, when the heterogeneous file to be copied is a normal file other than a directory file, Is a sparse file in which dummy data is written only in the same position as the last data position of the heterogeneous file.
【請求項5】請求項1記載の情報処理システムにおい
て,前記ディレクトリ同期手段は,作成した前記異種フ
ァイルのディレクトリ構造のコピーが占有する記憶領域
の容量が,コピー元のディレクトリ構造が占有している
記憶領域の容量よりも少くなるように,前記異種ファイ
ルのディレクトリ構造のコピーを作成することを特徴と
する情報処理システム。
5. The information processing system according to claim 1, wherein in the directory synchronization means, the capacity of a storage area occupied by a copy of the created directory structure of the heterogeneous file is occupied by the copy source directory structure. An information processing system, wherein a copy of the directory structure of the different file is created so as to be smaller than the capacity of a storage area.
【請求項6】請求項1記載の情報処理システムにおい
て,前記ディレクトリ同期手段は,前記異種ファイルの
ディレクトリ構造のコピー作成に際して,作成した前記
異種ファイルのディレクトリ構造のコピーに含まれるフ
ァイルの日付及びサイズを,コピー元の異種ファイルと
同じとすることを特徴とする情報処理システム。
6. The information processing system according to claim 1, wherein the directory synchronization means, when creating a copy of the directory structure of the heterogeneous file, a date and a size of a file included in the copy of the created directory structure of the heterogeneous file. An information processing system characterized in that the same file is used as a different file of a copy source.
【請求項7】ファイルの共用を可能とする第一のファイ
ルサーバプログラムを具備する第一のサーバ情報処理装
置と,前記第一のファイルサーバプログラムとは,共用
ファイルへのアクセスインタフェースが異なる第二のフ
ァイルサーバプログラムを具備する第二のサーバ情報処
理装置と,前記第一のファイルサーバプログラムを介し
て前記第一のサーバ情報処理装置上の共用ファイルへア
クセスするクライアントプログラムを具備する少なくと
も1台のクライアント情報処理装置と,前記第一のサー
バ情報処理装置及び前記少なくとも1台のクライアント
情報処理装置を接続する第一のネットワーク,及び,前
記第一及び第二のサーバ情報処理装置を接続する第二の
ネットワークとを備える情報処理システムであって,前
記第一のサーバ情報処理装置は,前記第二のサーバ情報
処理装置が管理する異種ファイルへのアクセスを行うア
クセス手段を備え,前記第二のサーバ情報処理装置は,
前記アクセス手段と対応して動作するサービス手段を備
え,前記アクセス手段は,前記各クライアントプログラ
ムから送られてくるファイルへの処理要求を受け入れ,
該処理要求が前記第二のファイルサーバプログラムが管
理するファイル(以下,異種ファイルと呼ぶ)への処理
要求を含むかどうかを判断し,それを含むと判断された
場合には,前記処理要求に含まれている異種ファイルへ
の処理要求を,前記第二のファイルサーバプログラムで
使用できる第二の処理要求に変換し,該変換した第二の
処理要求を前記第二のサーバ情報処理装置へ送るもので
あり,前記サービス手段は,前記第一のサーバ情報処理
装置から送られてくる,前記第二の処理要求を受け入
れ,それに対応して予め定められている処理を実行する
ことを特徴とする情報処理システム。
7. A first server information processing apparatus having a first file server program capable of sharing a file, and a second file server program having a different interface for accessing a shared file. A second server information processing apparatus having the file server program of at least one, and at least one computer program having a client program for accessing a shared file on the first server information processing apparatus via the first file server program. A client information processing apparatus, a first network connecting the first server information processing apparatus and the at least one client information processing apparatus, and a second network connecting the first and second server information processing apparatuses. An information processing system comprising: a first server information; Processing device includes access means for performing access to said second heterologous file server information processing device manages the said second server information processing device,
Service means operating in correspondence with the access means, wherein the access means receives a processing request for a file sent from each of the client programs,
It is determined whether or not the processing request includes a processing request for a file managed by the second file server program (hereinafter referred to as a heterogeneous file). The processing request for the included heterogeneous file is converted into a second processing request that can be used by the second file server program, and the converted second processing request is sent to the second server information processing apparatus. Wherein the service means receives the second processing request sent from the first server information processing apparatus, and executes a predetermined processing corresponding to the second processing request. Information processing system.
【請求項8】請求項7記載の情報処理システムにおい
て,前記アクセス手段は,前記各クライアントプログラ
ムから送られてくる,前記異種ファイルへのアクセスを
フックするフック手段と,前記アクセスが前記異種ファ
イルへのオープン要求であった場合に,該当するファイ
ルのデータを,前記サービス手段を介して前記第一のフ
ァイルサーバプログラムが管理するディレクトリ構造内
へコピーするファイルコピー手段と,前記ファイルコピ
ー手段でコピーしたファイルを,前記サービス手段を介
して前記第二のサーバ情報処理装置へ書き戻すコピーバ
ック手段と,前記アクセスが前記異種ファイルへのクロ
ーズ要求であった場合に,前記コピーバック手段を別プ
ロセスとして起動するコピーバック起動手段とを備える
ことを特徴とする情報処理システム。
8. An information processing system according to claim 7, wherein said access means hooks an access to said different file sent from each of said client programs, and said access is to said different file. If the request is an open request, the data of the corresponding file is copied by the file copying means into the directory structure managed by the first file server program via the service means and the file copying means. A copy-back means for writing back a file to the second server information processing apparatus via the service means; and a start-up of the copy-back means as a separate process when the access is a close request to the heterogeneous file. Copy back activation means for performing Processing system.
【請求項9】請求項8記載の情報処理システムにおい
て,前記アクセス手段は,前記クライアントプログラム
からの前記異種ファイルへのクローズ要求を,前記コピ
ーバック手段によるコピーバック処理の完了を待つこと
なく完了させ,前記クライアントプログラムからの前記
クローズ要求に続く処理を続けて受け入れることを特徴
とする情報処理システム。
9. The information processing system according to claim 8, wherein said access means completes a close request to said different file from said client program without waiting for completion of copy back processing by said copy back means. An information processing system for continuously accepting processing following the close request from the client program.
【請求項10】請求項8記載の情報処理システムにおい
て,前記ファイルコピー手段は,前記ファイルのデータ
のコピーが既に存在するかどうかを調べ,存在する場合
には,前記コピー処理を行わないことを特徴とする情報
処理システム。
10. The information processing system according to claim 8, wherein said file copy means checks whether a copy of the data of said file already exists, and if so, judges that said copy processing is not performed. Characteristic information processing system.
【請求項11】請求項8記載の情報処理システムにおい
て,前記コピーバック手段は,コピーバック処理終了
後,前記ファイルコピー手段でコピーしたファイルのデ
ータを消去することを特徴とする情報処理システム。
11. An information processing system according to claim 8, wherein said copy-back means deletes data of the file copied by said file copy means after the copy-back processing is completed.
【請求項12】請求項11記載の情報処理システムにお
いて,前記コピーバック手段は,当該ファイルに対する
クローズ要求に引き続き,当該ファイルに対するオープ
ン要求が発行されているときは,コピーバック処理終了
後の当該ファイルのデータの消去を行わないことを特徴
とする情報処理システム。
12. The information processing system according to claim 11, wherein said copy-back means, when a request to open said file is issued subsequent to a request to close said file, said file after copy-back processing is completed. An information processing system characterized by not erasing data.
【請求項13】請求項8記載の情報処理システムにおい
て,前記コピーバック手段は,コピーバック処理の開始
を予め定めた時間だけ遅延し,この遅延時間内に,当該
ファイルに対するクローズ要求に引き続き,当該ファイ
ルに対する削除要求が発行された場合は,コピーバック
処理を実行しないことを特徴とする情報処理システム。
13. The information processing system according to claim 8, wherein said copy-back means delays the start of the copy-back processing by a predetermined time, and within said delay time, the copy-back processing continues after the close request for the file concerned. An information processing system which does not execute copyback processing when a deletion request for a file is issued.
【請求項14】請求項13記載の情報処理システムにお
いて,前記コピーバック手段が,前記遅延時間内に,前
記クローズ要求に引き続き,当該ファイルへのオープン
要求が発行された場合は,当該遅延を中止し,直ちにコ
ピーバック処理を実行することを特徴とする情報処理シ
ステム。
14. An information processing system according to claim 13, wherein said copy back means cancels said delay when an open request to said file is issued within said delay time following said close request. And an information processing system for immediately executing a copy-back process.
【請求項15】請求項8記載の情報処理システムにおい
て,前記コピーバック手段は,当該ファイルへのライト
モードでのオープン要求が他に行われていない場合にだ
けコピーバック処理を行うことを特徴とする情報処理シ
ステム。
15. The information processing system according to claim 8, wherein said copy-back means performs a copy-back process only when no other open request for the file in the write mode is made. Information processing system.
【請求項16】請求項11記載の情報処理システムにお
いて,前記コピーバック手段は,当該クローズ要求に対
応するオープン要求以外に,当該ファイルに対するオー
プン要求が発行されているときは,コピーバック処理終
了後のデータ消去を行わないことを特徴とする情報処理
システム。
16. The information processing system according to claim 11, wherein said copy-back means is provided, when an open request for said file is issued in addition to an open request corresponding to said close request, after the copy-back processing is completed. An information processing system characterized by not performing data erasure.
【請求項17】請求項11記載の情報処理システムにお
いて,前記データの消去は,当該ファイルを,コピー元
のファイルの最後のデータ位置と同じ位置にだけダミー
データを書き込んだスパーズファイルとすることによっ
て行うことを特徴とする情報処理システム。
17. The information processing system according to claim 11, wherein the data is erased by setting the file as a sparse file in which dummy data is written only at the same position as the last data position of a copy source file. An information processing system characterized by performing.
【請求項18】請求項8記載の情報処理システムにおい
て,前記コピーバック手段は,前記コピーしたファイル
の属性のうち,当該ファイルに格納されているデータに
対しての修正処理の有無を示す属性を検査し,当該属性
が前記データの修正を示していた場合にだけコピーバッ
ク処理を行うことを特徴とする情報処理システム。
18. The information processing system according to claim 8, wherein said copy-back means includes, among attributes of the copied file, an attribute indicating whether or not a correction process is performed on data stored in the file. An information processing system for inspecting, and performing a copyback process only when the attribute indicates that the data is modified.
【請求項19】請求項18記載の情報処理システムにお
いて,前記属性が,ファイルのバックアップの必要性を
示すアーカイブビットであることを特徴とする情報処理
システム。
19. An information processing system according to claim 18, wherein said attribute is an archive bit indicating the necessity of backing up a file.
【請求項20】請求項8記載の情報処理システムにおい
て,前記ファイルコピー手段は,ファイルコピー処理に
先だって前記サービス手段を介して前記異種ファイルへ
のオープン処理を行うものであり,当該オープン処理
が,前記第二のサーバプログラムでの同時オープン可能
なファイル数の制限を越えたたためにエラーとなった場
合には,当該オープン処理を成功するまでリトライする
ことを特徴とする情報処理システム。
20. An information processing system according to claim 8, wherein said file copy means performs an open process to said different type of file via said service means prior to a file copy process. If an error occurs because the number of files that can be simultaneously opened by the second server program is exceeded, an retrial is performed until the open processing is successful.
【請求項21】ファイルの共用を可能とする第一のファ
イルサーバプログラムを具備する第一のサーバ情報処理
装置と,前記第一のファイルサーバプログラムとは,共
用ファイルへのアクセスインタフェースが異なる第二の
ファイルサーバプログラムを具備する第二のサーバ情報
処理装置と,前記第一のファイルサーバプログラムを介
して前記第一のサーバ情報処理装置上の共用ファイルへ
アクセスするクライアントプログラムを具備する少なく
とも1台のクライアント情報処理装置と,前記第一のサ
ーバ情報処理装置及び前記少なくとも1台のクライアン
ト情報処理装置を接続する第一のネットワーク,及び,
前記第一及び第二のサーバ情報処理装置を接続する第二
のネットワークとを備える情報処理システムであって,
前記第一のサーバ情報処理装置は,前記第二のサーバ情
報処理装置が管理するファイル(以下,異種ファイルと
呼ぶ)へのアクセスを行うアクセス手段を備え,前記第
二のサーバ情報処理装置は,前記アクセス手段と対応し
て動作するサービス手段を備え,前記アクセス手段は,
前記各クライアントプログラムから送られてくる,前記
異種ファイルへのアクセスをフックするフック手段と,
前記アクセスが前記異種ファイルへのオープン要求であ
った場合に,該当するファイルのデータを,前記サービ
ス手段を介して前記第一のファイルサーバプログラムが
管理するディレクトリ構造内へコピーするファイルコピ
ー手段と,前記ファイルコピー手段でコピーしたファイ
ルを,前記サービス手段を介して,前記コピー元に書き
戻すコピーバック手段と,前記アクセスが前記異種ファ
イルへのクローズ要求であった場合に,前記コピーバッ
ク手段を別プロセスとして起動するコピーバック起動手
段と,前記サービス手段を介して前記異種ファイルのデ
ィレクトリ構造の少なくとも一部に関する情報を検出し
て,該検出した情報に応じて,前記第一のファイルサー
バプログラムが管理することができる形態を備えた,前
記異種ファイルのディレクトリ構造のコピーを作成し,
該作成した異種ファイルのディレクトリ構造のコピー
を,前記第一のファイルサーバプログラムが管理するフ
ァイルのディレクトリ構造中に追加すると共に,前記情
報の検出を周期的に行い,その度に前記異種ファイルの
ディレクトリ構造のコピーを更新するディレクトリ同期
手段とを備えることを特徴とする情報処理システム。
21. A first server information processing apparatus having a first file server program capable of sharing a file, and a second server having a different interface for accessing a shared file from the first file server program. A second server information processing apparatus having the file server program of at least one, and at least one computer program having a client program for accessing a shared file on the first server information processing apparatus via the first file server program. A client information processing apparatus, a first network connecting the first server information processing apparatus and the at least one client information processing apparatus, and
An information processing system comprising: a second network connecting the first and second server information processing apparatuses;
The first server information processing apparatus includes access means for accessing a file managed by the second server information processing apparatus (hereinafter, referred to as a heterogeneous file). Service means operating in correspondence with the access means, wherein the access means comprises:
Hook means for hooking access to the different types of files sent from each of the client programs;
File copying means for, when the access is an open request for the heterogeneous file, copying data of the file into a directory structure managed by the first file server program via the service means; Copy back means for writing back the file copied by the file copying means to the copy source via the service means, and copy back means when the access is a close request to the heterogeneous file. A copyback starting unit that starts as a process; and information about at least a part of a directory structure of the heterogeneous file is detected via the service unit, and the first file server program manages the information in accordance with the detected information. Of the heterogeneous file having a format Make a copy of the directory structure,
A copy of the created directory structure of the heterogeneous file is added to the directory structure of the file managed by the first file server program, and the information is periodically detected. An information processing system comprising: directory synchronization means for updating a copy of a structure.
【請求項22】ファイルの共用を可能とする第一のファ
イルサーバプログラムを具備する第一のサーバ情報処理
装置と,前記第一のファイルサーバプログラムとは,共
用ファイルへのアクセスインタフェースが異なる第二の
ファイルサーバプログラムを具備する第二のサーバ情報
処理装置と,前記第一のファイルサーバプログラムを介
して前記第一のサーバ情報処理装置上の共用ファイルへ
アクセスするクライアントプログラムを具備する少なく
とも1台のクライアント情報処理装置と,前記第一のサ
ーバ情報処理装置及び前記少なくとも1台のクライアン
ト情報処理装置を接続する第一のネットワーク,及び,
前記第一及び第二のサーバ情報処理装置を接続する第二
のネットワークとを備える情報処理システムの,異種フ
ァイルアクセスを可能とする制御方法であって,前記異
種ファイルのディレクトリ構造の少なくとも一部の構造
に関する情報を検出して,該検出した情報に応じて,前
記第一のファイルサーバプログラムが管理することがで
きる形態を備えた,前記第二のサーバ情報処理装置が管
理するファイルのディレクトリ構造のコピーを作成し,
該作成したディレクトリ構造のコピーを,前記第一のフ
ァイルサーバプログラムが管理するファイルのディレク
トリ構造中に追加する処理と,前記情報の検出を所定の
タイミングで実行し,その度に前記異種ファイルのディ
レクトリ構造のコピーを更新する処理とを含むことを特
徴とする情報処理システムの制御方法。
22. A first server information processing apparatus having a first file server program capable of sharing a file, and a second file server program having a different interface for accessing a shared file. A second server information processing apparatus having the file server program of at least one, and at least one computer program having a client program for accessing a shared file on the first server information processing apparatus via the first file server program. A client information processing apparatus, a first network connecting the first server information processing apparatus and the at least one client information processing apparatus, and
A control method for enabling access to different types of files in an information processing system including a second network connecting the first and second server information processing apparatuses, wherein at least a part of a directory structure of the different types of files is provided. A directory structure of a file managed by the second server information processing apparatus, wherein the first file server program manages the information in accordance with the detected information. Make a copy,
A process of adding a copy of the created directory structure to a directory structure of a file managed by the first file server program, and detecting the information at a predetermined timing. And updating a copy of the structure.
【請求項23】ファイルの共用を可能とする第一のファ
イルサーバプログラムを具備する第一のサーバ情報処理
装置と,前記第一のファイルサーバプログラムとは,共
用ファイルへのアクセスインタフェースが異なる第二の
ファイルサーバプログラムを具備する第二のサーバ情報
処理装置と,前記第一のファイルサーバプログラムを介
して前記第一のサーバ情報処理装置上の共用ファイルへ
アクセスするクライアントプログラムを具備する少なく
とも1台のクライアント情報処理装置と,前記第一のサ
ーバ情報処理装置及び前記少なくとも1台のクライアン
ト情報処理装置を接続する第一のネットワーク,及び,
前記第一及び第二のサーバ情報処理装置を接続する第二
のネットワークとを備える情報処理システムの異種ファ
イルへのアクセスを可能とする制御方法であって,前記
クライアントプログラムから送られてくる,前記第二の
サーバ情報処理装置が管理するファイル(以下,異種フ
ァイルと呼ぶ)へのアクセスをフックする処理と,前記
アクセスが前記異種ファイルへのオープン要求であった
場合に,該当するファイルのデータを,前記第一のファ
イルサーバプログラムが管理するディレクトリ構造内へ
コピーする処理と,前記ファイルコピー手段でコピーし
たファイルを,前記サービス手段を介して,前記第二の
サーバ情報処理装置に書き戻す処理と,前記アクセスが
前記異種ファイルへのクローズ要求であった場合に,前
記コピーバック手段を別プロセスとして起動する処理と
を含むことを特徴とする情報処理システムの制御方法。
23. A first server information processing apparatus having a first file server program capable of sharing a file, and a first file server program having a different interface for accessing a shared file. A second server information processing apparatus having the file server program of at least one, and at least one computer program having a client program for accessing a shared file on the first server information processing apparatus via the first file server program. A client information processing apparatus, a first network connecting the first server information processing apparatus and the at least one client information processing apparatus, and
A control method for enabling access to different types of files in an information processing system including a second network connecting the first and second server information processing apparatuses, A process of hooking an access to a file (hereinafter, referred to as a heterogeneous file) managed by the second server information processing apparatus, and, when the access is an open request to the heterogeneous file, data of the corresponding file is Processing for copying into a directory structure managed by the first file server program, and processing for writing back the file copied by the file copying means to the second server information processing apparatus via the service means. , If the access is a close request to the heterogeneous file, Control method for an information processing system which comprises a processing to start as a separate process.
【請求項24】ファイルの共用を可能とする第一のファ
イルサーバプログラムを具備し,前記第一のファイルサ
ーバプログラムとは共用ファイルへのアクセスインタフ
ェースが異なる第二のファイルサーバプログラムを具備
する第二のサーバ情報処理装置とネットワークを介して
接続される,サーバ情報処理装置であって,前記第二の
サーバ情報処理装置が管理するファイル(以下,異種フ
ァイルと呼ぶ)へのアクセスを行うアクセス手段を備
え,前記アクセス手段は,前記異種ファイルのディレク
トリ構造の少なくとも一部に関する情報を検出して,該
検出した情報に応じて,前記第一のファイルサーバプロ
グラムが管理することができる形態を備えた,前記異種
ファイルのディレクトリ構造のコピーを作成し,該作成
した異種ファイルのディレクトリ構造のコピーを,前記
第一のファイルサーバプログラムが管理するファイルの
ディレクトリ構造中に追加すると共に,前記情報の検出
を周期的に行い,その度に異種ファイルのディレクトリ
構造のコピーを更新するディレクトリ同期手段を備える
ことを特徴とするサーバ情報処理装置。
24. A second file server program comprising a first file server program enabling sharing of files, and a second file server program having a different interface for accessing a shared file from the first file server program. A server information processing apparatus connected via a network to the server information processing apparatus of claim 1, wherein access means for accessing a file (hereinafter, referred to as a heterogeneous file) managed by the second server information processing apparatus is provided. Wherein the access means detects information relating to at least a part of a directory structure of the heterogeneous file, and the first file server program can manage the information in accordance with the detected information. Making a copy of the directory structure of the heterogeneous file, A directory for adding a copy of the directory structure to the directory structure of the file managed by the first file server program, periodically detecting the information, and updating the copy of the directory structure of the heterogeneous file each time. A server information processing apparatus comprising a synchronization unit.
【請求項25】ファイルの共用を可能とする第一のファ
イルサーバプログラムを具備し,前記第一のファイルサ
ーバプログラムとは共用ファイルへのアクセスインタフ
ェースが異なる第二のファイルサーバプログラムを具備
する第二のサーバ情報処理装置と,前記第一のファイル
サーバプログラムを介して共用ファイルへアクセスする
クライアントプログラムを具備する少なくとも1台のク
ライアント情報処理装置とが,ネットワークを介してそ
れぞれ接続される,サーバ情報処理装置であって,前記
第二のサーバ情報処理装置が管理するファイル(以下,
異種ファイルと呼ぶ)へのアクセスを行うアクセス手段
を備え,前記アクセス手段は,前記各クライアントプロ
グラムから送られてくる,前記異種ファイルへのアクセ
スをフックするフック手段と,前記アクセスが前記異種
ファイルへのオープン要求であった場合に,該当する異
種ファイルのデータを,前記第一のファイルサーバプロ
グラムが管理するディレクトリ構造内へコピーするファ
イルコピー手段と,前記ファイルコピー手段でコピーし
たファイルを,コピー元に書き戻すコピーバック手段
と,前記アクセスが前記異種ファイルへのクローズ要求
であった場合に,前記コピーバック手段を別プロセスと
して起動するコピーバック起動手段とを備えることを特
徴とするサーバ情報処理装置。
25. A second file server program comprising a first file server program enabling file sharing, and a second file server program having a different interface for accessing a shared file from the first file server program. Server information processing apparatus, and at least one client information processing apparatus having a client program for accessing a shared file via the first file server program are connected via a network, respectively. A file managed by the second server information processing device (hereinafter referred to as a file).
Access means for accessing the heterogeneous file), the access means being provided with hook means for hooking the access to the heterogeneous file sent from each of the client programs, and providing the access to the heterogeneous file. A file copy means for copying the data of the corresponding heterogeneous file into a directory structure managed by the first file server program, and a file copied by the file copy means, Server information processing apparatus, comprising: copyback means for writing back to a file; and copyback starting means for starting the copyback means as a separate process when the access is a request to close the different file. .
【請求項26】請求項2記載の情報処理システムにおい
て,前記サービス手段は,前記ディレクトリ同期手段か
ら送られてくる更新すべきファイルの検索要求を受け入
れ,前記コピーの対象となっている,前記ディレクトリ
構造の少なくとも一部に含まれる異種ファイルのうち,
前記前回の同期時刻以降に変更のあったファイルを検索
し,変更があったファイルについての情報を前記ディレ
クトリ同期手段へ戻す,ディレクトリ同期サービス手段
を備えることを特徴とする情報処理システム。
26. An information processing system according to claim 2, wherein said service means receives a search request for a file to be updated sent from said directory synchronization means, and said directory means is a target of said copy. Of the heterogeneous files included in at least part of the structure,
An information processing system comprising: a directory synchronization service unit that searches for a file that has been changed since the previous synchronization time and returns information about the changed file to the directory synchronization unit.
【請求項27】請求項7記載の情報処理システムにおい
て,前記サービス手段は,前記第一のサーバ情報処理装
置から送られてくる,前記異種ファイルへのアクセスを
開始するためのログイン要求を受け入れて,該受け入れ
たログイン要求毎に,該当する異種ファイルに対するア
クセス要求を処理する,ユーザプロセスサービス手段を
起動する,リモートログインサービス手段を備えること
を特徴とする情報処理システム。
27. An information processing system according to claim 7, wherein said service means receives a log-in request sent from said first server information processing apparatus for starting access to said heterogeneous file. An information processing system comprising: a remote login service unit that processes an access request to a corresponding heterogeneous file for each accepted login request, activates a user process service unit, and executes a remote login service unit.
【請求項28】請求項27記載の情報処理システムにお
いて,前記ユーザプロセスサービス手段は,前記第一の
サーバ情報処理装置によってリダイレクトされた,前記
クライアントプログラムからのアクセス要求を受け入
れ,該アクセス要求に該当する処理を該当する異種ファ
イルについて実行し,該実行結果を前記第一のサーバ情
報処理装置へ送信することを特徴とする情報処理システ
ム。
28. An information processing system according to claim 27, wherein said user process service means receives an access request from said client program redirected by said first server information processing apparatus, and corresponds to said access request. An information processing system that executes a process to be performed on a corresponding heterogeneous file and transmits the execution result to the first server information processing apparatus.
JP11257413A 1999-09-10 1999-09-10 Information processing system enabling access to different types of files and control method thereof Pending JP2000082003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11257413A JP2000082003A (en) 1999-09-10 1999-09-10 Information processing system enabling access to different types of files and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11257413A JP2000082003A (en) 1999-09-10 1999-09-10 Information processing system enabling access to different types of files and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP17001995A Division JP3335801B2 (en) 1995-07-05 1995-07-05 Information processing system enabling access to different types of files and control method thereof

Publications (1)

Publication Number Publication Date
JP2000082003A true JP2000082003A (en) 2000-03-21

Family

ID=17306042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11257413A Pending JP2000082003A (en) 1999-09-10 1999-09-10 Information processing system enabling access to different types of files and control method thereof

Country Status (1)

Country Link
JP (1) JP2000082003A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001093136A1 (en) * 2000-05-29 2001-12-06 Sony Corporation Information providing device and method
JP2005182301A (en) * 2003-12-17 2005-07-07 Sony Corp Management unit information acquisition device
JP2007257063A (en) * 2006-03-20 2007-10-04 Nec Corp Apparatus, system, method and program for controlling file operation
JP2009522677A (en) * 2006-01-05 2009-06-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, system, and device for file system dump / restore by node numbering
JP2013097566A (en) * 2011-10-31 2013-05-20 Fujitsu Ltd Synchronization method, synchronization program and information processing device
JP2014154031A (en) * 2013-02-12 2014-08-25 Nippon Telegr & Teleph Corp <Ntt> Difference update device, difference update system, difference update method, difference update program and difference update server
JP2015195052A (en) * 2015-07-23 2015-11-05 株式会社リコー file exchange system, file exchange method, mobile device and program
JP2019079281A (en) * 2017-10-25 2019-05-23 富士ゼロックス株式会社 Synchronization processor, file synchronization system and program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001093136A1 (en) * 2000-05-29 2001-12-06 Sony Corporation Information providing device and method
US7272859B2 (en) 2000-05-29 2007-09-18 Sony Corporation Information providing device and method
US7891010B2 (en) 2000-05-29 2011-02-15 Sony Corporation Information providing apparatus and information providing method
JP2005182301A (en) * 2003-12-17 2005-07-07 Sony Corp Management unit information acquisition device
JP2009522677A (en) * 2006-01-05 2009-06-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, system, and device for file system dump / restore by node numbering
JP2007257063A (en) * 2006-03-20 2007-10-04 Nec Corp Apparatus, system, method and program for controlling file operation
JP2013097566A (en) * 2011-10-31 2013-05-20 Fujitsu Ltd Synchronization method, synchronization program and information processing device
JP2014154031A (en) * 2013-02-12 2014-08-25 Nippon Telegr & Teleph Corp <Ntt> Difference update device, difference update system, difference update method, difference update program and difference update server
JP2015195052A (en) * 2015-07-23 2015-11-05 株式会社リコー file exchange system, file exchange method, mobile device and program
JP2019079281A (en) * 2017-10-25 2019-05-23 富士ゼロックス株式会社 Synchronization processor, file synchronization system and program

Similar Documents

Publication Publication Date Title
JP3335801B2 (en) Information processing system enabling access to different types of files and control method thereof
EP1148416B1 (en) Computer system and snapshot data management method
JP3992427B2 (en) File system
JP4108973B2 (en) Backup system
US7386552B2 (en) Methods of migrating data between storage apparatuses
JP5608811B2 (en) Information processing system management method and data management computer system
JP4437870B2 (en) Distributed transaction processing system and method
US7111137B2 (en) Data storage systems and processes, such as one-way data mirror using write mirroring
US7921093B2 (en) Information processing apparatus and information processing method
CN100359479C (en) Storage Services and Systems
US20100030825A1 (en) File Management System and Method
US20080195827A1 (en) Storage control device for storage virtualization system
JP5483116B2 (en) Maintenance system, maintenance method, and maintenance program
JP2008033912A (en) CDP method and apparatus for NAS
JPS63145552A (en) Community device for personal computer
JP2020528618A (en) Asynchronous local and remote generation of consistent point-in-time snapshots in a consistency group
US7509466B2 (en) Backup method for a copy pair using newly created logical volume via virtual server device
JP3490256B2 (en) Agent method
US7290100B2 (en) Computer system for managing data transfer between storage sub-systems
US20040226021A1 (en) Storage device system having bi-directional copy control function
KR20100061457A (en) Splitting writes between a storage controller and replication engine
JP2000082003A (en) Information processing system enabling access to different types of files and control method thereof
JPH11120057A (en) File backup method
JP3709975B2 (en) Document batch management method, document batch management system, and recording medium
JP2005215940A (en) Storage system, server apparatus, and preceding copy data generation method