JP2978770B2 - File distribution multiplexing client server system - Google Patents

File distribution multiplexing client server system

Info

Publication number
JP2978770B2
JP2978770B2 JP8198899A JP19889996A JP2978770B2 JP 2978770 B2 JP2978770 B2 JP 2978770B2 JP 8198899 A JP8198899 A JP 8198899A JP 19889996 A JP19889996 A JP 19889996A JP 2978770 B2 JP2978770 B2 JP 2978770B2
Authority
JP
Japan
Prior art keywords
file
client
server
virtual
management table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP8198899A
Other languages
Japanese (ja)
Other versions
JPH1049424A (en
Inventor
和顕 宇都宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHIKOKU NIPPON DENKI SOFUTOEA KK
Original Assignee
SHIKOKU NIPPON DENKI SOFUTOEA KK
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 SHIKOKU NIPPON DENKI SOFUTOEA KK filed Critical SHIKOKU NIPPON DENKI SOFUTOEA KK
Priority to JP8198899A priority Critical patent/JP2978770B2/en
Publication of JPH1049424A publication Critical patent/JPH1049424A/en
Application granted granted Critical
Publication of JP2978770B2 publication Critical patent/JP2978770B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、サーバの仮想フ
ァイルをクライアントのファイルに分散多重化するクラ
イアントサーバシステムに関し、特にクライアントは、
サーバの仮想ファイルにアクセスし、サーバは、そのフ
ァイルアクセスを、仮想ファイルに対応する実ファイル
を有するクライアントに転送するファイル分散多重化ク
ライアントサーバシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client-server system for distributing and multiplexing a virtual file of a server into a file of a client.
The present invention relates to a file distribution multiplexing client-server system that accesses a virtual file of a server and transfers the file access to a client having a real file corresponding to the virtual file.

【0002】[0002]

【従来の技術】ローカルエリアネットワーク(LANと
略称)に接続してなるクライアントサーバシステム(C
/Sシステムと略称)の普及に伴い、サーバのハードデ
ィスクの大容量化,高信頼性が一段と求められている。
そのため、サーバ側にミラーリング機能の付いたハード
ディスクや、複数台のハードディスクで構成するディス
クアレイ装置などを接続するのが一般的である。
2. Description of the Related Art A client server system (C) connected to a local area network (abbreviated as LAN)
With the spread of the / S system (abbreviated as / S system), a larger capacity and higher reliability of the hard disk of the server are further required.
Therefore, it is common to connect a hard disk with a mirroring function or a disk array device composed of a plurality of hard disks on the server side.

【0003】また、特開昭61−286920号公報記
載の「ローカルエリア・ネットワークのファイル管理方
式」のブロックを示す図8を参照すると、該公報はLA
N602上のデータ転送頻度の改善を目的としたもの
で、ワークステーション601乃至60nのローカルデ
ィスク616乃至6n6にデータを分散配置して、サー
バへのアクセスを少なくすることを目的としているC/
Sシステムである。しかし、近年のLAN性能の向上に
より、もはやローカルディスクに対する転送速度より、
LANの転送速度が上回っているのが実情であり、サー
バに備えるローカルディスクに代り、クライアントが備
えるローカルディスクにファイルアクセスを直接行って
も、LANが隘路とならなくなっている。
FIG. 8 shows a block diagram of a "file management method for a local area network" described in JP-A-61-286920.
The purpose of the present invention is to improve the frequency of data transfer on the N602, and to distribute data on the local disks 616 to 6n6 of the workstations 601 to 60n to reduce access to the server.
The S system. However, due to recent improvements in LAN performance,
The fact is that the transfer speed of the LAN is higher than that, and even if the file is directly accessed to the local disk of the client instead of the local disk of the server, the LAN does not become a bottleneck.

【0004】また、分散多重化ファイルの従来技術に関
する特開平4−157541号公報によれば、LANに
接続するプロセッサに多重に配置したリソースから発生
する多重データを用いる分散処理システムにおいて、多
重データの最初に受信したデータを処理し、以後に受信
したデータは、最初受信のデータとの整合性チェックに
用いることが開示されている。該公報では、LANの多
重リソースへのアクセスは、発信元の各クライアントが
それぞれに対して行うことになる。クライアントはリソ
ースの存在を意識してアクセスすることになる。
Further, according to Japanese Patent Laid-Open No. 157541/1992 relating to the prior art of distributed multiplexed files, in a distributed processing system using multiplexed data generated from resources multiplexed in a processor connected to a LAN, the multiplexed data is It discloses that data received first is processed, and data received thereafter is used for consistency check with data received first. In this publication, each client of a transmission source accesses a multiplex resource of a LAN for each client. The client will be aware of the existence of the resource when accessing.

【0005】[0005]

【発明が解決しようとする課題】上述の従来技術におい
ては、ファイルアクセスの発信元は分散多重化ファイル
それぞれにアクセスしなければならない。また、LAN
のファイルアクセスによるトラフィックを軽減する必要
性は、LAN性能の格段の向上により薄れている。C/
Sシステムにおいて、サーバのディスク装置自体の容量
や信頼性を上げるためにはハードウェアの増強で対処す
るのが従来採られてきた。その理由は、C/Sシステム
のようなワークステーションやパーソナルコンピュータ
主体のシステムにおいては、周辺機器の構成が貧弱なた
めミラーリング装置付のハードディスクやディスクアレ
イ装置などの高価なハードディスクで容量と信頼性をあ
げるしか方法がないことにある。
In the above-mentioned prior art, the source of file access must access each of the distributed multiplexed files. Also, LAN
The need to reduce traffic due to file access has diminished due to the remarkable improvement in LAN performance. C /
In the S system, in order to increase the capacity and reliability of the disk device of the server, it has been conventionally adopted to cope with the problem by increasing the hardware. The reason is that, in a workstation such as a C / S system or a system mainly composed of a personal computer, the configuration of peripheral devices is poor, so that the capacity and reliability of an expensive hard disk such as a hard disk with a mirroring device and a disk array device are reduced. There is no other way but to give it.

【0006】また、サーバのディスクに複数のクライア
ントからアクセスがある場合、サーバの集中負荷が高く
なることがある。サーバは、通常Small Comp
uter System Interface(以下、
scsiと略する)で複数台のディスク装置を接続する
が、物理的な経路は1本であり、大型汎用コンピュータ
のようなチャネル装置により物理的な経路を別々にして
ファイルを分散することと異なり、ファイル装置に集中
的な過負荷が生じ易い。
When a plurality of clients access a server disk, the concentration load on the server may increase. The server is usually Small Comp
uter System Interface (hereinafter referred to as
abbreviated as "scsi") to connect a plurality of disk devices, but only one physical path, which is different from distributing files by separating physical paths by a channel device such as a large general-purpose computer. In addition, intensive overload is likely to occur in the file device.

【0007】この発明の目的は、C/Sシステムにおけ
る上記問題を解決するものであり、複数クライアントの
ハードディスクをサーバの仮想ディスクに見立てて利用
することにより、サーバに新たなディスク装置を設置す
ることなく、分散多重化によってファイルの容量と信頼
性を高めることにある。
An object of the present invention is to solve the above-mentioned problem in a C / S system, and to install a new disk device in a server by using hard disks of a plurality of clients as virtual disks of a server. Instead, the purpose is to increase the capacity and reliability of the file by distributed multiplexing.

【0008】この発明の、サーバは仮想ファイルを有
し、前記仮想ファイルに対応する実ファイルは前記サー
バにローカルエリアネットワークを通じて接続する1つ
以上のクライアントに分散多重に格納されるファイル分
散多重化クライアントサーバシステムにあって、前記サ
ーバは、クライアントと通信する通信手段と、クライア
ント名ならびに前記クライアントが格納する仮想ファイ
ルの仮想ファイル名を含むクラアント管理テーブルと、
仮想ファイルの多重の度合を示す多重度ならびに多重格
納の状態を示す同期フラグおよび仮想ファイルを格納す
るクライアントのクライアント管理テーブルを指すポイ
ンタを含む同期管理テーブルと、仮想ファイル名ならび
にそれに対応する仮想ファイルの多重度を格納する前記
同期管理テーブルを指すポインタを含むファイル管理テ
ーブルと、クライアントから仮想ファイル名によるファ
イルアクセスを受けて、前記ファイル管理テーブルおよ
び前記同期管理テーブルならびに前記クライアント管理
テーブルを参照し、前記仮想ファイル名に対応する仮想
ファイルおよびそれの実ファイルを格納するクライアン
トに対して、前記ファイルアクセスを転送するファイル
アクセス管理手段と、を具備し、前記クライアントは、
実ファイルを格納するディスク装置と、前記サーバなら
びに他のクライアントと通信する通信手段と、仮想ファ
イル名によるファイルアクセスを前記サーバに送付し、
あるいは前記サーバから仮想ファイル名によるファイル
アクセスを受けて、前記仮想ファイル名を実ファイル名
に変換し、前記ディスク装置の実ファイルにアクセス
し、ファイルアクセスの結果を前記サーバに返却するフ
ァイルアクセス管理手段と、仮想ファイル名ならびにそ
れに対応する実ファイル名を指すポインタを含むファイ
ル管理テーブルと、実ファイル名ならびにそれに対応す
る実ファイルの管理データを格納する実ファイル名テー
ブルと、を具備することを特徴とする。
[0008] of the present invention, the file server has a temporary Sofu Airu real file corresponding to the provisional Sofu Airu is stored in the distributed multiplexed into one or more clients connected through a local area network to the server In a distributed multiplexing client-server system, the server includes communication means for communicating with a client, and a client.
Client name and the virtual file stored by the client.
Client management table containing the virtual file name of the
Multiplicity and multiplicity indicating the degree of multiplexing of virtual files
Store the synchronization flag indicating the status of the file and the virtual file
Point to the client management table of the client
Management table that includes the
Storing the multiplicity of the virtual file corresponding to the
File management table containing a pointer to the synchronization management table
And a file access by a virtual file name from a client, and refers to the file management table, the synchronization management table, and the client management table, and stores a virtual file corresponding to the virtual file name and its real file. File access management means for transferring the file access to a client, the client comprising:
A disk device for storing a real file, communication means for communicating with the server and other clients, and sending file access by a virtual file name to the server;
Alternatively, receiving a file access from the server by a virtual file name, converting the virtual file name into a real file name, and accessing the real file on the disk device
File access management means for returning a result of file access to the server ; a file management table including a virtual file name and a pointer to the corresponding real file name; management data of the real file name and the corresponding real file And an actual file name table for storing

【0009】C/Sシステムにおけるクライアントから
サーバのローカルハードディスクへのアクセス速度は、
SCSIのの場合、概して5MB/S程度である。これ
に対して、LANではIEEE802.3準拠(イーサ
ネットタイプ)の10BASE2や10BASE−Tタ
イプの場合、転送速度が10MB/Sであり転送速度は
2倍ある。この発明では、高性能化したLANを利用
し、各クライアントに接続されているハードディスクを
サーバの仮想ファイルとして利用する。サーバの仮想デ
ィスクをクライアントのディスクで構成し、各クライア
ントからのアクセス対象ファイルを分散させることによ
ってファイルの大容量化,多重化,分散化が図られる。
In a C / S system, the access speed from a client to a local hard disk of a server is as follows:
In the case of SCSI, it is generally about 5 MB / S. On the other hand, in the case of a 10BASE2 or 10BASE-T type that is compliant with IEEE802.3 (Ethernet type), the transfer speed is 10 MB / S and the transfer speed is twice as large. According to the present invention, a hard disk connected to each client is used as a virtual file of a server by using a high-performance LAN. The virtual disk of the server is composed of the disks of the clients, and the files to be accessed from each client are distributed, whereby the capacity, multiplexing and distribution of the files can be increased.

【0010】[0010]

【発明の実施の形態】次にこの発明について図面を参照
して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0011】この発明の一実施例のブロック図1を参照
すると、ファイル分散多重化C/Sシステムは、サーバ
1と、LAN2と、クライアント3乃至nと、を含む。
サーバ1は、クライアント3乃至nと通信する通信手段
11と、クライアント3乃至nのファイルアクセスをフ
ァイルを有するクライアントに転送するファイルアクセ
ス管理手段12と、ファイルアクセスが指定する仮想フ
ァイル名およびそれの多重度を示すテーブルを指すポイ
ンタを含むファイル管理テーブル13と、仮想ファイル
の多重度およびそれを保持するクライアントの管理テー
ブルを指すポインタを含む同期管理テーブル14と、仮
想ファイルを有するクライアントの名称および該仮想フ
ァイルの名を含むクライアント管理テーブル15と、を
備える。
Referring to the block diagram of one embodiment of the present invention, a file distributed multiplexing C / S system includes a server 1, a LAN 2, and clients 3 to n.
The server 1 includes a communication unit 11 for communicating with the clients 3 to n, a file access management unit 12 for transferring file access of the clients 3 to n to a client having a file, a virtual file name designated by the file access, and a number of virtual files. A file management table 13 including a pointer indicating a table indicating the severity, a multiplicity of the virtual file and a synchronization management table 14 including a pointer indicating a management table of a client holding the virtual file, a name of the client having the virtual file and the virtual A client management table 15 including the name of the file.

【0012】クライアント3乃至nは、サーバ1あるい
は他のクライアントと通信する通信手段31と、他のク
ライアントが有するファイルをサーバ1の仮想ファイル
に見立ててアクセスするファイルアクセス管理手段32
と、仮想ファイル名から実ファイル名を指すポインタを
含むファイル管理テーブル33と、実ファイル名および
それの管理データを含む実ファイル名テーブル34と、
を備える。
The clients 3 to n include a communication unit 31 for communicating with the server 1 or another client, and a file access management unit 32 for accessing a file owned by another client as a virtual file of the server 1.
A file management table 33 including a pointer indicating a real file name from a virtual file name, a real file name table 34 including a real file name and its management data,
Is provided.

【0013】図1において、クライアント3乃至nのサ
ーバ1に対するファイルアクセスは、仮想ファイルを収
容する仮想ディスク装置がサーバ1に存在するように見
なして、仮想ファイル名でアクセスする。サーバ1は、
ファイルアクセスをクライアント3乃至nに転送し、ク
ライアント3乃至nは、仮想ファイルを実ファイルに変
換して、自身のディスク装置35乃至n5のファイルに
アクセスすることになる。
In FIG. 1, file access to the server 1 by the clients 3 to n is performed by using a virtual file name, assuming that a virtual disk device accommodating a virtual file exists in the server 1. Server 1
The file access is transferred to the clients 3 to n, and the clients 3 to n convert the virtual files into the real files and access the files of the disk devices 35 to n5.

【0014】この実施例において、ファイルの分散二重
化を例示する図2を参照すると、サーバ1の仮想ディス
ク160内には、二重化された仮想ファイル161乃至
164が存在するが、その仮想ファイル161乃至16
4の実体はクライアント3乃至6に接続されているディ
スク装置35,45,55,65にある。クライアント
3とクライアント4は、サーバ1の二重化された仮想フ
ァイル161および162の一方をそれぞれ有し、同期
管理テーブル14によって両ファイルの同期をって更
新される。またサーバ1の仮想ディスク160上では1
ディスク内に格納されていると見えるが、実際は、クラ
イアント3,4にそれぞれアクセスするため、ファイル
の分散化が図られている。
In this embodiment, referring to FIG. 2, which illustrates the distributed duplication of files, duplicated virtual files 161 to 164 exist in the virtual disk 160 of the server 1, and the virtual files 161 to 164 are provided.
The entity 4 is located in the disk devices 35, 45, 55, and 65 connected to the clients 3 to 6. Client 3 and the client 4 has the server 1 of duplicated virtual file 161 and 162 of the one, respectively, it is updated synchronization both files capital I by the synchronization management table 14. On the virtual disk 160 of the server 1, 1
Although it appears that the files are stored in the disk, the files are actually distributed to access the clients 3 and 4, respectively.

【0015】図3(a)は、サーバ1のファイルアクセ
ス手段12が用いるテーブル群とそれの関連付けを例示
し、図3(b)は、クライアント3乃至nのファイルア
クセス手段が用いるテーブル群とそれの関連付けを例示
している。図3(a)は、サーバ1が管理する、ファイ
ル管理テーブル13,同期管理テーブル14,クライア
ント管理テーブル15の例示であるファイル管理テーブ
ル130と同期管理テーブル141,142とクライア
ント管理テーブル151,152,153を示してい
る。同期管理テーブル141は、それぞれのクライアン
ト管理テーブル151および152をポイントしている
ため多重度が2になっている。また、二重化したファイ
ルの同期状態を示す同期フラグにより同期管理が行わ
れ、一方のクライアント管理テーブル152で示す仮想
ファイルのアクセスに失敗した時には、同期フラグがN
Gとなる。
FIG. 3A illustrates a table group used by the file access means 12 of the server 1 and its association, and FIG. 3B shows a table group used by the file access means of the clients 3 to n and the table group. Is illustrated. FIG. 3A illustrates the file management table 130, the synchronization management tables 141 and 142, and the client management tables 151 and 152, which are examples of the file management table 13, the synchronization management table 14, and the client management table 15, which are managed by the server 1. 153 are shown. Since the synchronization management table 141 points to the respective client management tables 151 and 152, the multiplicity is 2. Further, synchronization management is performed by a synchronization flag indicating the synchronization state of the duplicated file. When access to the virtual file indicated by one client management table 152 fails, the synchronization flag is set to N.
G.

【0016】図3(b)は、クライアント3のファイル
管理テーブル33と、実ファイル名テーブル34とを例
示する。クライアント3は、サーバ1からの仮想ファイ
ル名によるファイルアクセスに対して、ファイル管理テ
ーブル33の仮想ファイル名から実ファイル名テーブル
34へのポインタによって、実ファイル名と管理データ
を取得してディスク装置35へのアクセスを行う。
FIG. 3B illustrates a file management table 33 of the client 3 and an actual file name table 34. The client 3 obtains the real file name and the management data by the pointer from the virtual file name of the file management table 33 to the real file name table 34 in response to the file access from the server 1 by the virtual file name, and Access to.

【0017】この実施例のデータの流れを図4および図
5を参照して、説明する。データ入力時のデータの流れ
を示す図4を参照すると、クライアント4から仮想ファ
イル165に対しデータ更新を行う場合、まずクライア
ント4からサーバ1に対し更新データの転送が行われる
(ステップ101)。サーバ1は、ファイル管理テーブ
ル13を検索し、アクセス対象ファイルに対応する同期
管理テーブル14をポインタによって探す。サーバ1
は、同期管理テーブル14によりアクセス対象ファイル
の多重度に応じてポイントしている複数のクライアント
管理テーブル15を探す。サーバ1は、このクライアン
ト管理テーブル15を基にアクセス対象ファイルを有す
るクライアント3に対し更新データを転送する(ステッ
プ102)。クライアント3は、サーバ1から受け取っ
た仮想ファイル165の仮想ファイル名を基に、ディス
ク装置35の実ファイル351にアクセスし、更新デー
タ「X」を書込み、書込み要求が成功すれば、処理結果
をサーバ1に返却する(ステップ103)。サーバ1は
該処理結果を基に、データ入力元のクライアント4に書
き込み処理が正常に行われたという結果を返却する(ス
テップ104)。
The data flow of this embodiment will be described with reference to FIGS. Referring to FIG. 4 showing the flow of data at the time of data input, when data is updated from the client 4 to the virtual file 165, first, the updated data is transferred from the client 4 to the server 1 (step 101). The server 1 searches the file management table 13 and searches the synchronization management table 14 corresponding to the access target file by using the pointer. Server 1
Searches for a plurality of client management tables 15 to which the synchronization management table 14 points according to the multiplicity of the file to be accessed. The server 1 transfers the update data to the client 3 having the access target file based on the client management table 15 (Step 102). The client 3 accesses the real file 351 of the disk device 35 based on the virtual file name of the virtual file 165 received from the server 1 and writes the update data “X”. 1 (step 103). Based on the processing result, the server 1 returns a result indicating that the writing processing has been normally performed to the data input source client 4 (step 104).

【0018】二重化ファイルの復旧処理時のデータの流
れを示す図5を参照すると、サーバ1は、NGになって
いるファイルを同期管理テーブル14の同期フラグを探
索し、正常な書込みを行ったクライアント3から、NG
のファイルを有するクライアント4へ向けてコピー処理
をサーバ1を通じて開始する(ステップ111,ステッ
プ112)。コピー対象のファイルは、コピー中、更新
されないようにロックされる。コピーが完了すれば、サ
ーバ1は、クライアント4からの正常終了によって(ス
テップ113)、同期管理テーブル14を正常な状態に
戻し、クライアント3にファイルのロック解除を通知す
る(ステップ114)。また同期管理テーブル14の同
期フラグがNGの場合、サーバ1のファイルアクセス手
段12は、タイマ監視により自動的に同期管理テーブル
14の同期フラグをチェックし、同期がとれなくなった
時点で、サーバ1のコンソール上にメッセージを出力す
る。
Referring to FIG. 5 showing the flow of data at the time of restoration processing of a duplicated file, the server 1 searches the synchronization flag of the synchronization management table 14 for a file that is NG, and the client 1 that has written normally. From 3, NG
A copy process is started through the server 1 to the client 4 having the file (step 111, step 112). The file to be copied is locked so as not to be updated during copying. Upon completion of the copying, the server 1 returns the synchronization management table 14 to a normal state upon normal termination from the client 4 (step 113), and notifies the client 3 of the release of the file lock (step 114). If the synchronization flag in the synchronization management table 14 is NG, the file access unit 12 of the server 1 automatically checks the synchronization flag in the synchronization management table 14 by monitoring the timer, and when synchronization is lost, the server 1 Print a message on the console.

【0019】次に、この実施例の動作の流れを図6およ
び図7を参照して説明する。データ入力処理の動作の流
れを示す図6を参照すると、クライアント3は、更新デ
ータをサーバ1に転送する(ステップ201)。ファイ
ルアクセス管理手段12は、クライアント3からの更新
データを仮想ファイルに対する要求か、またはローカル
ファイルに対する要求かをファイル管理テーブル13に
より判断する(ステップ202)。もし、ローカルファ
イルへの要求なら(ステップ202のYES)、そのま
まサーバ1に接続されているディスク装置のローカルフ
ァイルをデータ更新し(ステップ203)、処理結果を
クライアント3に返却する(ステップ209)。更新デ
ータが仮想ファイルへの要求であるならば(ステップ2
02のNO)、ファイル管理テーブル13からポイント
される同期管理テーブル14およびクライアント管理テ
ーブル15を参照する(ステップ204)。同期管理テ
ーブル14にある多重度フラグを参照し、クライアント
管理テーブル15からクライアント名,仮想ファイル名
を得る(ステップ205)。得られたクライアント名の
クライアントに対し、書き込み要求を送る(ステップ2
06)。書き込み要求を受けたクライアント4では、受
取った仮想ファイル名をファイル管理テーブル43から
実ファイル名に変換し、指定の格納場所に書き込み処理
を実行する(ステップ210)。クライアント4の書き
込み処理が正常に行われたならば、書き込み処理結果を
サーバ1へ返却し、正常であれば、(ステップ207の
YES)、同期管理テーブル14で参照した多重度数分
の別クライアントに対し書き込み要求を行う(ステップ
208)。ファイル多重化の全クライアントに対し書き
込み要求が成功した場合、(ステップ208のYE
S)、データ更新要求元のクライアント3に書き込み処
理の正常結果を返却する(ステップ209)。クライア
ント4で書込み処理結果が異常になった場合(ステップ
207のNO)、異常のクライアントが属するサーバ1
の同期管理テーブル14の同期フラグをNGにする。読
み込み要求時も同じステップを通ることになるが、三重
以上の多重化をしている場合、サーバ1は最初の読み込
み要求が成功したならば要求元のクライアントに処理結
果を返却する。一つめのクライアントで読み込み要求が
失敗した場合、サーバ1は同期フラグをNGにして多重
化している別のクライアントに対し読み込み要求を行
う。同期フラグが更新されるのは、システム処理開始時
と読み込み/書き込み実行時であるが、そのとき同期フ
ラグがNGとなっているならば異常メッセージをサーバ
1のコンソールに表示する。オペレータは、そのメッセ
ージを基に手動で復旧処理を行うか、またはタイマ監視
により自動的に復旧を行うかどちらかを選択できる。図
7に示す復旧処理は、サーバ1が同期管理テーブル14
を検索し同期がとれていないクライアントのクライアン
ト管理テーブル15を見つける(ステップ221)。正
常なクライアントに読み込み要求を発行し、同期フラグ
「NG」の同期のとれてないクラアントに書き込み要
求を発行する(ステップ222)。これを、多重度分の
同期がとれるまで繰返す(ステップ223)。
Next, the operation flow of this embodiment will be described with reference to FIGS. Referring to FIG. 6 showing the flow of the operation of the data input process, the client 3 transfers the update data to the server 1 (Step 201). The file access management means 12 determines from the file management table 13 whether the update data from the client 3 is a request for a virtual file or a request for a local file (step 202). If the request is for a local file (YES in step 202), the local file of the disk device connected to the server 1 is updated as it is (step 203), and the processing result is returned to the client 3 (step 209). If the update data is a request for a virtual file ( step 2
02), the synchronization management table 14 and the client management table 15 pointed to from the file management table 13 are referred to (step 204). The client name and the virtual file name are obtained from the client management table 15 by referring to the multiplicity flag in the synchronization management table 14 (step 205). A write request is sent to the client with the obtained client name (step 2
06). Upon receiving the write request, the client 4 converts the received virtual file name from the file management table 43 into a real file name, and executes a write process to a specified storage location (step 210). If the writing process of the client 4 is performed normally, the result of the writing process is returned to the server 1. If the writing process is normal (YES in step 207), the client 4 is sent to another client corresponding to the multiplicity number referred to in the synchronization management table 14. Then, a write request is made (step 208). If the write request to all the file multiplexing clients is successful (YE in step 208)
S), the normal result of the write processing is returned to the client 3 that has issued the data update request (step 209). When the write processing result becomes abnormal in the client 4 (NO in step 207), the server 1 to which the abnormal client belongs
Is set to NG in the synchronization management table 14 of FIG. When a read request is made, the same steps are performed. However, in the case of triple or more multiplexing, the server 1 returns a processing result to the requesting client if the first read request is successful. If the read request fails in the first client, the server 1 sets the synchronization flag to NG and issues a read request to another multiplexed client. The synchronization flag is updated is the time of system processing start and read / write execution, then the synchronization flag to display the abnormal message if Runara it the NG to the console of the server 1. The operator can select either to perform the recovery process manually based on the message or to perform the recovery automatically by monitoring the timer. In the recovery processing shown in FIG.
To find the client management table 15 of the client that has not been synchronized (step 221). A read request is issued to a normal client, and a write request is issued to a client whose synchronization flag "NG" is not synchronized (step 222). This is repeated until synchronization for the multiplicity is obtained (step 223).

【0020】[0020]

【発明の効果】以上の説明によれば、この発明の第1の
効果は、クライアントのディスク装置を利用して、サー
バに仮想ディスクを設けることによって、サーバに新た
なディスク装置を増設する必要がなくなることである。
これにより、サーバに過剰な設備投資を抑制できる。
According to the above description, the first effect of the present invention is that a new disk device needs to be added to a server by providing a virtual disk in a server using a disk device of a client. It is gone.
As a result, excessive capital investment in the server can be suppressed.

【0021】更にこの発明の第2の効果は、サーバのフ
ァイル多重化を仮想ディスクの仮想ファイルによって、
実現することである。これにより、サーバにディスク装
置を増設することなく、ファイル多重化ができる。
A second effect of the present invention is that the file multiplexing of the server is performed by the virtual file of the virtual disk.
It is to realize. Thus, file multiplexing can be performed without adding a disk device to the server.

【0022】更にこの発明の効果は、サーバのファイル
の分散が行えることである。サーバがLAN上の複数ク
ライアントのディスク装置を利用し管理することで、ク
ライアントからの読込み/書込み要求をLANを利用
し、複数のクライアントのディスク装置に対する読込み
/書込みに分散することができる。
A further advantage of the present invention is that files of the server can be distributed. Since the server uses and manages the disk devices of a plurality of clients on the LAN, the read / write requests from the clients can be distributed to the read / write of the disk devices of the plurality of clients using the LAN.

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

【図1】この発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】ファイルの二重化,分散化を説明する図であ
る。
FIG. 2 is a diagram illustrating duplication and decentralization of a file.

【図3】サーバ/クライアントのテーブル群の構成を示
す図で,分図(a)は、サーバのファイル管理テーブ
ル,同期管理テーブル,クライアント管理テーブルの構
成とリンクを説明する図,分図(b)は、クライアント
のファイル管理テーブル,実ファイル名テーブルの構成
とリンクを説明する図である。
FIG. 3 is a diagram showing the configuration of a server / client table group. FIG. 3 (a) is a diagram for explaining the configuration and links of the server file management table, synchronization management table, and client management table. FIG. 4 is a diagram for explaining the configuration and links of the file management table and the actual file name table of the client.

【図4】データ入力におけるデータの流れを説明する図
である。
FIG. 4 is a diagram illustrating the flow of data in data input.

【図5】ファイルの同期を行う場合のデータの流れを説
明する図である。
FIG. 5 is a diagram illustrating the flow of data when synchronizing files.

【図6】データ入力における、サーバ/クライアントの
ファイルアクセス管理手段の動作の流れを示す図であ
る。
FIG. 6 is a diagram showing a flow of an operation of a file access management unit of a server / client in data input.

【図7】同期処理におけるサーバ/クライアントのファ
イルアクセス管理手段の動作の流れを示す図である。
FIG. 7 is a diagram showing an operation flow of a file access management unit of a server / client in a synchronous process.

【図8】従来の技術を説明するブロック図である。FIG. 8 is a block diagram illustrating a conventional technique.

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

1 サーバ 2 ローカルエリアネットワーク 3乃至n クライアント 11 通信手段 12 ファイルアクセス管理手段 13 ファイル管理テーブル 14 同期管理テーブル 15 クライアント管理テーブル 31,41 通信手段 32,42 ファイルアクエス管理手段 33,43 ファイル管理テーブル 34,44 実ファイル名テーブル 35,45 ディスク装置 751,451 ファイル 1 server 2 local area network 3 to n client 11 communication means 12 file access management means 13 file management table 14 synchronization management table 15 client management table 31, 41 communication means 32, 42 file access management means 33, 43 file management table 34, 44 Real file name table 35, 45 Disk unit 751, 451 file

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 12/00 Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 12/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 サーバは仮想ファイルを有し、前記仮
ァイルに対応する実ファイルは前記サーバにローカル
エリアネットワークを通じて接続する1つ以上のクライ
アントに分散多重に格納されるファイル分散多重化クラ
イアントサーバシステムにあって、 前記サーバは、 クライアントと通信する通信手段と、クライアント名ならびに前記クライアントが格納する仮
想ファイルの仮想ファイル名を含むクラアント管理テー
ブルと、 仮想ファイルの多重の度合を示す多重度ならびに多重格
納の状態を示す同期フラグおよび仮想ファイルを格納す
るクライアントのクライアント管理テーブルを指すポイ
ンタを含む同期管理テーブルと、 仮想ファイル名ならびにそれに対応する仮想ファイルの
多重度を格納する前記同期管理テーブルを指すポインタ
を含むファイル管理テーブルと、 クライアントから仮想ファイル名によるファイルアクセ
スを受けて、前記ファイル管理テーブルおよび前記同期
管理テーブルならびに前記クライアント管理テーブルを
参照し、前記仮想ファイル名に対応する仮想ファイルお
よびそれの実ファイルを格納するクライアントに対し
て、前記ファイルアクセスを転送するファイルアクセス
管理手段と、を具備し、 前記クライアントは、 実ファイルを格納するディスク装置と、 前記サーバならびに他のクライアントと通信する通信手
段と、 仮想ファイル名によるファイルアクセスを前記サーバに
送付し、あるいは前記サーバから仮想ファイル名による
ファイルアクセスを受けて、前記仮想ファイル名を実フ
ァイル名に変換し、前記ディスク装置の実ファイルにア
クセスし、ファイルアクセスの結果を前記サーバに返却
するファイルアクセス管理手段と、 仮想ファイル名ならびにそれに対応する実ファイル名を
指すポインタを含むファイル管理テーブルと、 実ファイル名ならびにそれに対応する実ファイルの管理
データを格納する実ファイル名テーブルと、を具備する
ことを特徴とするファイル分散多重化クライアントサー
バシステム。
1. A server has a temporary Sofu Airu, the virtual
The actual file corresponding to file In the file distribution multiplexing client-server system to be stored in distributed multiplexed into one or more clients connected through a local area network to the server, communication means for communicating with the client And the client name and the temporary
Client management data including the virtual file name of the virtual file
And the multiplicity and multiplicity indicating the degree of multiplication of virtual files.
Store the synchronization flag indicating the status of the file and the virtual file
Point to the client management table of the client
Synchronization management table including the virtual file name and the corresponding virtual file.
Pointer to the synchronization management table that stores the multiplicity
A file management table including the file management table, a file access by a virtual file name from a client, and referring to the file management table, the synchronization management table, and the client management table, and a virtual file corresponding to the virtual file name and its actual File access management means for transferring the file access to a client for storing the file, wherein the client is a disk device for storing an actual file; and a communication means for communicating with the server and other clients. Sending a file access by the virtual file name to the server, or receiving a file access by the virtual file name from the server, converting the virtual file name into a real file name, and accessing the real file on the disk device. And Seth, and file access management means for returning <br/> results file access to the server, the virtual file name and the file management table containing a pointer to the actual file name corresponding thereto, the actual file name and the corresponding And a real file name table storing management data of the real file.
JP8198899A 1996-07-29 1996-07-29 File distribution multiplexing client server system Expired - Fee Related JP2978770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8198899A JP2978770B2 (en) 1996-07-29 1996-07-29 File distribution multiplexing client server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8198899A JP2978770B2 (en) 1996-07-29 1996-07-29 File distribution multiplexing client server system

Publications (2)

Publication Number Publication Date
JPH1049424A JPH1049424A (en) 1998-02-20
JP2978770B2 true JP2978770B2 (en) 1999-11-15

Family

ID=16398800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8198899A Expired - Fee Related JP2978770B2 (en) 1996-07-29 1996-07-29 File distribution multiplexing client server system

Country Status (1)

Country Link
JP (1) JP2978770B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680801B2 (en) * 2004-11-17 2010-03-16 Iron Mountain, Incorporated Systems and methods for storing meta-data separate from a digital asset
JP5030791B2 (en) * 2005-12-16 2012-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Network file system
JP2011059929A (en) * 2009-09-09 2011-03-24 Fuji Xerox Co Ltd Information processor and information processing program

Also Published As

Publication number Publication date
JPH1049424A (en) 1998-02-20

Similar Documents

Publication Publication Date Title
US8341199B2 (en) Storage system, a method of file data back up and a method of copying of file data
CN100544342C (en) Storage system
US7409521B2 (en) Method of managing storage capacity, server and recording medium therefor
US6728848B2 (en) Method and system for backing up storage system data
US7389312B2 (en) Mirroring network data to establish virtual storage area network
US7590667B2 (en) File replication method for distributed file systems
US5845061A (en) Redundant client server system
US6363462B1 (en) Storage controller providing automatic retention and deletion of synchronous back-up data
US7085826B2 (en) Method and system for dynamic addition and removal of multiple network names on a single server
JP4611062B2 (en) Computer system and data backup method in computer system
JP2005502096A (en) File switch and exchange file system
US6779082B2 (en) Network-based disk redundancy storage system and method
JPH076099A (en) System and method for duplexing of remote data
JP2005535019A (en) Storage management bridge
JP4278452B2 (en) Computer system
US20030154246A1 (en) Server for storing files
JP2000276306A (en) Network connection disk device
JP2978770B2 (en) File distribution multiplexing client server system
US8874726B1 (en) Automated load balancing
JPH10240632A (en) On-line exchange method for external storage device
AU2002320151A1 (en) Mirroring network data to establish virtual storage area network

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990824

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110910

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120910

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees