JPH0934770A - Distributed data base system - Google Patents

Distributed data base system

Info

Publication number
JPH0934770A
JPH0934770A JP7178844A JP17884495A JPH0934770A JP H0934770 A JPH0934770 A JP H0934770A JP 7178844 A JP7178844 A JP 7178844A JP 17884495 A JP17884495 A JP 17884495A JP H0934770 A JPH0934770 A JP H0934770A
Authority
JP
Japan
Prior art keywords
block
storage
data server
file
redundant
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
JP7178844A
Other languages
Japanese (ja)
Inventor
Yasumitsu Tanaka
保光 田中
Katsunori Komatsuzaki
勝徳 小松崎
Junji Akiyama
順次 秋山
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.)
Toppan Inc
Original Assignee
Toppan Printing Co 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 Toppan Printing Co Ltd filed Critical Toppan Printing Co Ltd
Priority to JP7178844A priority Critical patent/JPH0934770A/en
Publication of JPH0934770A publication Critical patent/JPH0934770A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To recover data even when any fault is generated at a data server device by reproducing a file by merging a recovered preserved block with the respective preserved blocks of the other respective data server devices. SOLUTION: When any one data server device S4 disables reading among respective data server devices S1-S5 to which the respective preserved blocks are transferred, a client device 11 recovers the unreadable preserved block by performing parity arithmetic to the respective preserved blocks and redundant blocks read out of the other respective data server devices S1-S3 and S5. The file is reproduced by merging that recovered preserved block with the respective preserved blocks of the other respective data server devices S1-S3 and S5. Thus, even when any fault is generated at the data server device, the data can be recovered and as a result, responsiveness to a transfer request and reliability can be improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、大容量記憶装置を有す
る分散型データベースシステムに係わり、特に転送要求
に対する応答性及び信頼性を向上し得るデータベースシ
ステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed database system having a mass storage device, and more particularly to a database system capable of improving responsiveness and reliability to a transfer request.

【0002】[0002]

【従来の技術】例えば、銀行の勘定システムや座席予約
システムといった定型業務では、大容量記憶装置を有す
る1つのサーバ装置を備えた集中型データベースシステ
ムが広く用いられている。
2. Description of the Related Art For example, a centralized database system having one server device having a large-capacity storage device is widely used in routine operations such as a bank accounting system and a seat reservation system.

【0003】この集中型データベースシステムは、デー
タを一元的に管理する形態でシステムが運用され、ネッ
トワーク化によって複数のクライアント装置から個別に
データが読出/書込可能となっている。
In this centralized database system, the system is operated in a form of centrally managing data, and data can be individually read / written from a plurality of client devices by networking.

【0004】しかしながら、各クライアント装置からあ
る程度以上の数の転送要求を受けた場合、これら転送要
求への対応が不十分となり、応答性を低下させる問題が
ある。
However, when a certain number or more of transfer requests are received from each client device, the response to these transfer requests becomes insufficient, and there is a problem that responsiveness deteriorates.

【0005】また、サーバ装置に何らかの障害が生じて
機能停止となる場合、データベースシステム全体が機能
停止に陥ってしまうため、信頼性を低下させる問題があ
る。一方、この種の問題を解決する観点から、複数のサ
ーバ装置を備えた分散型データベースシステムが期待さ
れている。
In addition, when the server device has some kind of failure and stops functioning, the entire database system will stop functioning, which causes a problem of lowering reliability. On the other hand, from the viewpoint of solving this kind of problem, a distributed database system including a plurality of server devices is expected.

【0006】分散型データベースシステムは、各サーバ
装置にデータを分散させて管理するので、かなりの数の
転送要求にも十分に対応可能となっている。また、ある
サーバ装置が機能停止となった場合であっても、データ
ベースシステム全体としては処理を継続可能である。
Since the distributed database system manages data by distributing it to each server device, it can sufficiently cope with a considerable number of transfer requests. Further, even when a certain server device has stopped functioning, the database system as a whole can continue processing.

【0007】[0007]

【発明が解決しようとする課題】しかしながら以上のよ
うな分散型データベースシステムでは、あるサーバ装置
が機能停止となる場合、システム全体としては処理を継
続可能ではあるものの、該サーバ装置内のデータが使用
不可となるため、転送要求に対する応答性及び信頼性を
低下させる問題がある。
However, in the distributed database system as described above, when a certain server device stops functioning, the data in the server device is used although the entire system can continue processing. Since it becomes impossible, there is a problem that the responsiveness to the transfer request and the reliability are lowered.

【0008】本発明は上記実情を考慮してなされたもの
で、データサーバ装置に障害を生じてもデータを復元で
き、もって、転送要求に対する応答性及び信頼性を向上
し得る分散型データベースシステムを提供することを目
的とする。
The present invention has been made in consideration of the above circumstances, and provides a distributed database system capable of restoring data even when a failure occurs in a data server device and thus improving the responsiveness and reliability to a transfer request. The purpose is to provide.

【0009】[0009]

【課題を解決するための手段】請求項1に対応する発明
は、複数のクライアント装置と、複数のデータサーバ装
置とが互いにネットワークを介して接続された分散型デ
ータベースシステムにおいて、前記各クライアント装置
としては、保存対象のファイルを分割して複数の保存ブ
ロックを生成する保存ブロック生成手段と、前記保存ブ
ロック生成手段により生成された各保存ブロックにパリ
ティ演算を施して冗長ブロックを生成する冗長ブロック
生成手段と、前記保存ブロック生成手段により生成され
た各保存ブロック及び前記冗長ブロック生成手段により
生成された冗長ブロックを前記各データサーバ装置に分
散させて転送するブロック転送手段と、前記ブロック転
送手段により各保存ブロックの転送された各データサー
バ装置のいずれか1つが読出不可のとき、他の各データ
サーバ装置から読出される各保存ブロック及び冗長ブロ
ックに前記パリティ演算を施して前記読出不可の保存ブ
ロックを復元するブロック復元手段と、前記ブロック復
元手段により復元された保存ブロックと前記他の各デー
タサーバ装置の各保存ブロックとを統合して前記ファイ
ルを再生するファイル再生手段とを備えた分散型データ
ベースシステムである。
According to a first aspect of the present invention, in a distributed database system in which a plurality of client devices and a plurality of data server devices are connected to each other through a network, each client device is Is a storage block generation unit that divides a file to be stored to generate a plurality of storage blocks; and a redundant block generation unit that performs a parity operation on each storage block generated by the storage block generation unit to generate a redundant block. A block transfer means for distributing and transferring each storage block generated by the storage block generation means and a redundant block generated by the redundancy block generation means to each of the data server devices, and each storage by the block transfer means. One of each data server device to which the block is transferred When one of them is not readable, each storage block and redundant block read from each of the other data server devices are subjected to the parity operation to restore the unreadable storage block, and the block restoration means restores the unreadable storage block. And a file reproduction means for reproducing the file by integrating the storage block with each storage block of each of the other data server devices.

【0010】また、請求項2に対応する発明は、請求項
1に対応する分散型データベースシステムにおいて、前
記ネットワークに接続され、前記ファイル毎に、ファイ
ル名、各保存ブロック並びに冗長ブロックの分散記憶さ
れた各データサーバ装置名及びこれら各データサーバ装
置における各保存開始ブロックアドレスが記憶される保
存サーバ情報記憶手段と、前記各データサーバ装置に設
けられ、複数のブロック記憶領域を有し、前記ファイル
毎に、該当する各保存ブロック及び冗長ブロックのアド
レスを示す各ブロックアドレスが連鎖的に前記各ブロッ
ク記憶領域に分散記憶されるファイル配置情報記憶手段
と、あるファイルの読出要求が前記各クライアント装置
のいずれかに入力されたとき、この読出要求に対応して
前記保存サーバ情報記憶手段を参照し、当該ファイルに
対応する各データサーバ装置及び各保存開始ブロックア
ドレスを検索するサーバ検索手段と、前記サーバ検索手
段の検索結果に基づいて、各データサーバ装置に保存開
始ブロックアドレスを指定してファイルの読出を開始す
る読出開始手段と、前記各データサーバ装置に設けら
れ、前記読出開始手段から保存開始ブロックアドレスを
指定されたとき、前記ファイル配置情報記憶手段から当
該保存開始ブロックに連鎖した各ブロックアドレスを検
索すると共に、これら保存開始ブロックアドレス又は各
ブロックアドレスに指定される保存ブロック又は冗長ブ
ロックを読出し、これら各保存ブロック又は冗長ブロッ
クを前記読出要求の入力されたクライアント装置に転送
するブロック読出手段とを備えた分散型データベースシ
ステムである。
According to a second aspect of the present invention, in the distributed database system according to the first aspect, the file is connected to the network and the file name, each storage block and redundant block are distributed and stored for each file. Storage server information storage means for storing each data server device name and each storage start block address in each data server device; and a plurality of block storage areas provided in each data server device for each file. The file arrangement information storage means in which the block addresses indicating the addresses of the corresponding storage blocks and redundant blocks are stored in a chained manner in the block storage areas, and the read request for a certain file is issued by one of the client devices. Is input to the storage server information in response to this read request. A server search means for searching each data server device and each save start block address corresponding to the file by referring to the storage means, and a save start block address for each data server device based on the search result of the server search means. Read start means for designating and starting the reading of a file, and a read start means provided in each of the data server devices. When a save start block address is designated by the read start means, the save start block is changed from the file arrangement information storage means While searching for each chained block address, the storage block or redundant block designated by the storage start block address or each block address is read, and the storage block or redundant block is transferred to the client device to which the read request is input. With block reading means for It is a database system.

【0011】さらに、請求項3に対応する発明は、請求
項1又は請求項2に対応する分散型データベースシステ
ムにおいて、前記パリティ演算が排他的論理和演算であ
る分散型データベースシステムである。
Further, the invention according to claim 3 is the distributed database system according to claim 1 or 2, wherein the parity operation is an exclusive OR operation.

【0012】[0012]

【作用】従って、請求項1に対応する発明は以上のよう
な手段を講じたことにより、保存ブロック生成手段が保
存対象のファイルを分割して複数の保存ブロックを生成
し、冗長ブロック生成手段が保存ブロック生成手段によ
り生成された各保存ブロックにパリティ演算を施して冗
長ブロックを生成し、ブロック転送手段が保存ブロック
生成手段により生成された各保存ブロック及び冗長ブロ
ック生成手段により生成された冗長ブロックを各データ
サーバ装置に分散させて転送し、ブロック復元手段が、
ブロック転送手段により各保存ブロックの転送された各
データサーバ装置のいずれか1つが読出不可のとき、他
の各データサーバ装置から読出される各保存ブロック及
び冗長ブロックにパリティ演算を施して読出不可の保存
ブロックを復元し、ファイル再生手段が、ブロック復元
手段により復元された保存ブロックと他の各データサー
バ装置の各保存ブロックとを統合してファイルを再生す
るので、データサーバ装置に障害を生じてもデータを復
元でき、もって、転送要求に対する応答性及び信頼性を
向上させることができる。
Therefore, according to the invention corresponding to claim 1, the saving block generating means divides the file to be saved to generate a plurality of saving blocks by taking the above means, and the redundant block generating means A parity operation is performed on each storage block generated by the storage block generation unit to generate a redundant block, and the block transfer unit generates each storage block generated by the storage block generation unit and the redundant block generated by the redundant block generation unit. The data is distributed and transferred to each data server device, and the block restoration means
When any one of the data server devices to which each storage block has been transferred by the block transfer means is unreadable, the storage block and the redundant block read from each of the other data server devices are subjected to a parity operation to be unreadable. Since the save block is restored and the file reproducing means reproduces the file by integrating the save block restored by the block restoring means and each save block of each of the other data server devices, a failure occurs in the data server device. The data can be restored and the responsiveness and reliability to the transfer request can be improved.

【0013】また、請求項2に対応する発明は、ネット
ワークに接続され、ファイル毎に、ファイル名、各保存
ブロック並びに冗長ブロックの分散記憶された各データ
サーバ装置名及びこれら各データサーバ装置における各
保存開始ブロックアドレスが記憶される保存サーバ情報
記憶手段と、各データサーバ装置に設けられ、複数のブ
ロック記憶領域を有し、ファイル毎に、該当する各保存
ブロック及び冗長ブロックのアドレスを示す各ブロック
アドレスが連鎖的に各ブロック記憶領域に分散記憶され
るファイル配置情報記憶手段とを設け、サーバ検索手段
が、あるファイルの読出要求が前記各クライアント装置
のいずれかに入力されたとき、この読出要求に対応して
保存サーバ情報記憶手段を参照し、当該ファイルに対応
する各データサーバ装置及び各保存開始ブロックアドレ
スを検索し、読出開始手段が、サーバ検索手段の検索結
果に基づいて、各データサーバ装置に保存開始ブロック
アドレスを指定してファイルの読出を開始し、ブロック
読出手段が、各データサーバ装置に設けられ、読出開始
手段から保存開始ブロックアドレスを指定されたとき、
ファイル配置情報記憶手段から当該保存開始ブロックに
連鎖した各ブロックアドレスを検索すると共に、これら
保存開始ブロックアドレス又は各ブロックアドレスに指
定される保存ブロック又は冗長ブロックを読出し、これ
ら各保存ブロック又は冗長ブロックを読出要求の入力さ
れたクライアント装置に転送するので、請求項1に対応
する作用に加え、簡易な構成により、容易に実現させる
ことができる。
Further, the invention according to claim 2 is connected to a network, and for each file, a file name, each storage block, and each data server device name in which redundant blocks are distributed and stored, and each of these data server devices. A storage server information storage unit that stores a storage start block address, and a block that is provided in each data server device and that has a plurality of block storage areas and that indicates the address of each corresponding storage block and redundant block for each file File arrangement information storage means for storing addresses in a distributed manner in each block storage area is provided, and when the server search means inputs a read request for a certain file to any of the client devices, the read request The storage server information storage means is referenced in accordance with the The device and each save start block address are searched, and the read start means specifies the save start block address to each data server device based on the search result of the server search means to start reading the file. , Provided in each data server device, when the storage start block address is designated by the read start means,
Each block address linked to the save start block is searched from the file arrangement information storage means, and the save block or redundant block designated by the save start block address or each block address is read out, and each save block or redundant block is searched. Since the data is transferred to the client device to which the read request is input, in addition to the operation corresponding to claim 1, it can be easily realized with a simple configuration.

【0014】さらに、請求項3に対応する発明は、請求
項1又は請求項2に対応するパリティ演算が排他的論理
和演算であるため、容易かつ確実に動作させることがで
きる。
Further, in the invention according to claim 3, since the parity operation corresponding to claim 1 or claim 2 is an exclusive OR operation, it can be operated easily and surely.

【0015】[0015]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。図1は本発明の一実施例に係る分散型
データベースシステムの構成図である。この分散型デー
タベースシステムは、4台のクライアント装置11〜1
4、1台の管理サーバ装置21及び5台のデータサーバ
装置S1〜S5が互いにネットワーク31を介して接続
されている。なお、各クライアント装置11〜14、管
理サーバ装置21及び各データサーバ装置S1〜S5は
夫々個別にハードディスク(以下、HDという)を有し
ている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a distributed database system according to an embodiment of the present invention. This distributed database system includes four client devices 11 to 1
4, one management server device 21 and five data server devices S1 to S5 are connected to each other via a network 31. The client devices 11 to 14, the management server device 21, and the data server devices S1 to S5 each have a hard disk (hereinafter referred to as HD).

【0016】ここで、各クライアント装置11〜14
は、図2に示す手順により、例えば図3及び図4に示す
ように、転送される保存対象のファイルを15個の保存
ブロックに分割し、5つの保存ブロック毎にパリティ演
算としての排他的論理和を演算し、演算結果に基づいて
1つの冗長ブロックを生成する機能と、これら各保存ブ
ロック並びに各冗長ブロックを順次個別に各データサー
バ装置S1〜S5に転送する機能とをもっている。
Here, each client device 11-14
In accordance with the procedure shown in FIG. 2, for example, as shown in FIGS. 3 and 4, the transfer target file to be stored is divided into 15 storage blocks, and an exclusive logic as a parity operation is performed for every 5 storage blocks. It has a function of calculating the sum and generating one redundant block based on the calculation result, and a function of sequentially transferring these storage blocks and redundant blocks individually to the data server devices S1 to S5.

【0017】パリティ演算は、各保存ブロック及び冗長
ブロックの互いに対応するアドレスの各ビットの“1”
の総数を偶数個とする偶数パリティの演算であり、具体
的には、図5の一般的な真理値表に示すように、各保存
ブロックの互いに対応するアドレスの各ビットに対して
“1”のビットの個数が奇数個のときに演算結果を
“1”とする排他的論理和を用いている。なお、パリテ
ィ演算は所望により、奇数パリティのための演算として
もよい。
The parity operation is performed by "1" of each bit of addresses corresponding to each other in each storage block and redundant block.
Is an even parity operation in which the total number of the storage blocks is an even number. Specifically, as shown in the general truth table of FIG. 5, “1” is set for each bit of the addresses corresponding to each storage block. When the number of bits of is an odd number, the exclusive OR that sets the operation result to "1" is used. The parity calculation may be a calculation for odd parity, if desired.

【0018】また、各クライアント装置11〜14は、
図6に示す手順により、管理サーバ装置21を介して各
データサーバ装置S1〜S5から各保存ブロック並びに
各冗長ブロックを読出す機能と、正常のときには読出し
た各保存ブロックを統合して元のファイルを再生する機
能と、あるデータサーバ装置Si の障害のときにはこれ
ら読出した各保存ブロック並びに各冗長ブロックからパ
リティ演算としての排他的論理和を演算し、この演算結
果に基づいて、障害により失われた保存ブロックのデー
タを復元する機能と、読出した各保存ブロック及び復元
した保存ブロックを統合して元のファイルを再生する機
能とをもっている。
Further, each of the client devices 11-14 is
According to the procedure shown in FIG. 6, the function of reading out each storage block and each redundant block from each of the data server devices S1 to S5 via the management server device 21 and the normal operation of integrating each read storage block in the original file And a certain data server device Si has a failure, the exclusive OR as a parity operation is calculated from each read storage block and each redundant block in case of a failure of the data server apparatus Si, and based on the result of the operation, it is lost due to the failure. It has a function of restoring the data of the save block and a function of integrating the read save blocks and the restored save block to reproduce the original file.

【0019】なお、復元のためのパリティ演算は、図7
に示すように、冗長ブロックの作成と同様の排他的論理
和演算であるが、冗長ブロックが奇数パリティのための
演算にて作成された場合には奇数パリティのための演算
が用いられる。
The parity operation for restoration is shown in FIG.
As shown in, the operation is an exclusive OR operation similar to the creation of the redundant block, but when the redundant block is created by the operation for the odd parity, the operation for the odd parity is used.

【0020】管理サーバ装置21は、ファイルを管理す
るための登録保存サーバ情報及びシステムを管理するた
めの管理情報をHDに有し(保存サーバ情報記憶手
段)、各クライアント装置11〜14及び各データサー
バ装置S1〜S5からアクセス可能となっている。登録
保存サーバ情報は、ファイル毎に該ファイルの一部であ
る各保存ブロック並びに各保存ブロックからの演算結果
である冗長ブロックの夫々のアドレスを示すものであ
り、具体的には図8に示すように、ファイル名、保存し
たデータサーバ装置名(保存サーバ)及びその保存した
データサーバ装置におけるHDの保存開始ブロックアド
レスの組をファイル毎に備えている。一方、管理情報
は、例えば5つの保存ブロック毎に1つの冗長ブロック
を生成する旨を示すパリティ生成単位及びデータサーバ
装置の個数の項目がある。
The management server device 21 has registration storage server information for managing files and management information for managing the system in the HD (storage server information storage means), and each client device 11-14 and each data. It is accessible from the server devices S1 to S5. The registered storage server information indicates, for each file, the address of each storage block that is a part of the file and the redundant block that is the calculation result from each storage block. Specifically, as shown in FIG. Further, each file is provided with a set of a file name, a saved data server device name (saved server), and an HD save start block address in the saved data server device. On the other hand, the management information includes items such as a parity generation unit indicating that one redundant block is generated for every five storage blocks, and the number of data server devices.

【0021】各データサーバ装置S1〜S5は、ファイ
ル毎の保存ブロックのアドレスを示すファイル・アロケ
ーション・テーブル(以下、FATという:ファイル配
置情報記憶手段)を備え、管理サーバ装置21から受け
るファイルの転送指示に基づいて、クライアント装置1
1〜14のいずれかから転送される各保存ブロックをH
Dに書込むと共に、書込んだブロックアドレスをFAT
に記録する機能と、管理サーバ装置21から受けるファ
イルの転送指示に基づいて、FATを参照しながら該当
するファイルの各保存ブロックをクライアント装置に向
けてネットワークに送出する機能とをもっている。
Each of the data server devices S1 to S5 is provided with a file allocation table (hereinafter, referred to as FAT: file arrangement information storage means) indicating the address of a storage block for each file, and transfers files received from the management server device 21. Based on the instruction, the client device 1
H for each storage block transferred from any of 1 to 14
While writing to D, the written block address is FAT
And a function of sending each storage block of the corresponding file to the client device while referring to the FAT based on the file transfer instruction received from the management server device 21 to the network.

【0022】FATは、データサーバ装置S1〜S5に
個別に設けられ、自装置のHD内の連鎖するブロックア
ドレスを示すものである。例えば、図9(a)に示すよ
うに、データサーバ装置S1におけるFATでは、ブロ
ックアドレス“0”の領域に“1”とあるが、この
“1”は次のブロックアドレスが“1”であることを示
し、ブロックアドレス“1”の領域を読出すと“2”と
あり、次のブロックアドレス“2”の領域を読出すと
“3”とあり、次のブロックアドレス“3”を読出すと
“−1”とあり、ブロックアドレス“−1”が無いので
連鎖を終了する。すなわち、所望のファイルは、図9
(b)に示すように、データサーバ装置S1のHDにお
けるブロックアドレス“0”〜“3”に記憶されてい
る。なお、所望のファイルの保存開始ブロックアドレス
が“0”であることは、前述した管理サーバ装置21の
登録保存サーバ情報に記憶されている。
The FAT is individually provided in the data server devices S1 to S5 and indicates a chained block address in the HD of the device itself. For example, as shown in FIG. 9A, in the FAT of the data server device S1, there is "1" in the area of the block address "0", but the next block address of this "1" is "1". When the area of the block address “1” is read, it is “2”, when the area of the next block address “2” is read, it is “3”, and the next block address “3” is read. And "-1" and there is no block address "-1", the chain ends. That is, the desired file is shown in FIG.
As shown in (b), it is stored in the block addresses “0” to “3” in the HD of the data server device S1. The fact that the save start block address of the desired file is “0” is stored in the registered save server information of the management server device 21 described above.

【0023】次に、以上のように構成された分散型デー
タベースシステムの動作を図2及び図6のフローチャー
トを用いて説明する。 (データの書込み)いま、あるクライアント装置11の
有するファイルF2をデータサーバ装置S1〜S5に登
録したいとする。
Next, the operation of the distributed database system configured as described above will be described with reference to the flowcharts of FIGS. 2 and 6. (Data Writing) Now, it is assumed that the file F2 of a certain client device 11 is to be registered in the data server devices S1 to S5.

【0024】クライアント装置11は、操作者の入力操
作により、ファイルF2の転送要求を管理サーバ装置2
1に与える(ST1)。管理サーバ装置21は、転送先
の各データサーバ装置S1〜S5の稼働状態を確認する
と共に、転送可能な状態のデータサーバ装置S1〜S5
に転送受入指示を与え(ST2)、しかる後、転送先の
データサーバ装置S1〜S5を指定した転送許可をクラ
イアント装置11に与える。
The client device 11 sends a transfer request for the file F2 to the management server device 2 in response to an input operation by the operator.
1 (ST1). The management server device 21 confirms the operating states of the respective transfer destination data server devices S1 to S5, and at the same time, the data server devices S1 to S5 in a transferable state.
To the client device 11 (ST2), and thereafter, the client device 11 is given a transfer permission designating the transfer destination data server devices S1 to S5.

【0025】クライアント装置11は、転送許可を受け
ると、管理サーバ装置21からパリティ生成単位を読出
すと共に、転送データとしてのファイルF2を所定の記
憶容量をもつ保存ブロックに分割し(ST3:保存ブロ
ック生成手段)、図10に示すように、パリティ生成単
位毎に各保存ブロックから排他的論理和を算出して冗長
ブロックを生成する(ST4:冗長ブロック生成手
段)。
When the client device 11 receives the transfer permission, the client device 11 reads the parity generation unit from the management server device 21 and divides the file F2 as transfer data into storage blocks having a predetermined storage capacity (ST3: storage block). As shown in FIG. 10, the exclusive OR is calculated from each storage block for each parity generation unit to generate a redundant block (ST4: redundant block generating unit).

【0026】しかる後、クライアント装置11は各保存
ブロック及び冗長ブロックを転送許可の与えられた各デ
ータサーバ装置S1〜S5に1ブロック単位で順次巡回
的に転送する(ST5:ブロック転送手段)。各データ
サーバ装置S1〜S5はこれら保存ブロック又は冗長ブ
ロックを受取る毎に、図11(a)に示すように、この
受取ったブロックを記憶するHDのブロックアドレスを
FATに書込むと共に、図11(b)に示すように、該
ブロックアドレスを指定して当該受取ったブロックをH
Dに書込む(ST6)。
After that, the client device 11 sequentially cyclically transfers each storage block and redundant block to each of the data server devices S1 to S5 to which the transfer permission is given in a block unit (ST5: block transfer means). Each time each of the data server devices S1 to S5 receives the storage block or the redundant block, as shown in FIG. 11A, the block address of the HD for storing the received block is written in the FAT, and at the same time, as shown in FIG. As shown in b), the received block is designated H by designating the block address.
Write to D (ST6).

【0027】クライアント装置11は、ファイルF2の
各保存ブロック及び各冗長ブロックの転送を完了する
と、該ファイルF2のファイル名と、該ファイルF2の
先頭の保存ブロックを転送したデータサーバ装置名を管
理サーバ装置21に転送する。
When the client device 11 completes the transfer of each storage block and each redundant block of the file F2, the client server 11 obtains the file name of the file F2 and the data server device name to which the first storage block of the file F2 has been transferred. Transfer to device 21.

【0028】管理サーバ装置21は、該当するデータサ
ーバ装置S1〜S5から該先頭の保存ブロックの記憶さ
れたHDの保存開始ブロックアドレスを検索し、この保
存開始ブロックアドレスと前述したファイル名及びデー
タサーバ装置名との組からなる登録保存サーバ情報を自
己のHDに書込む(ST7)。
The management server device 21 retrieves the storage start block address of the HD in which the top storage block is stored from the corresponding data server devices S1 to S5, and stores the storage start block address, the file name and the data server described above. The registered storage server information consisting of a combination with the device name is written in its own HD (ST7).

【0029】これにより、ファイルF2の書込及び登録
が完了する。 (データの読出し)いま、各データサーバ装置S1〜S
5では、前述した図11(b)のように、ファイルF
1,F2を保存しているとする。
This completes the writing and registration of the file F2. (Reading of data) Now, each of the data server devices S1 to S
In the case of the file 5, as shown in FIG.
It is assumed that 1 and F2 are saved.

【0030】ここで、クライアント装置11は、例えば
ファイルF1の転送要求を管理サーバ装置21に送出す
る(ST11)。管理サーバ装置21は、前述した図8
に示す自己のHDの登録保存サーバ情報からファイルF
1の記憶された各データサーバ装置名及び保存開始ブロ
ックアドレスを検索し(ST12:サーバ検索手段)、
これら各データサーバ装置S1〜S5の稼働状態及び障
害の有無状態からなる転送可否状態を判定すると共に
(ST13)、転送可能な状態の各データサーバ装置S
1〜S5に保存開始ブロックアドレスを指定して順次、
巡回的に転送指示を与えるが(ST14:読出開始手
段)、障害有のときには障害有のデータサーバ装置名を
クライアント装置11に通知して(ST15)ステップ
ST14の処理を実行する。
Here, the client device 11 sends a transfer request for the file F1, for example, to the management server device 21 (ST11). The management server device 21 is the same as that shown in FIG.
File F from the registered storage server information of own HD shown in
The stored data server device name and storage start block address of 1 are searched (ST12: server search means),
While determining the transfer availability status including the operating status and failure status of each of these data server apparatuses S1 to S5 (ST13), each data server apparatus S in the transferable status.
Specify the save start block address in 1 to S5,
Although a transfer instruction is cyclically given (ST14: reading start means), when there is a failure, the name of the data server apparatus with the failure is notified to the client apparatus 11 (ST15) and the processing of step ST14 is executed.

【0031】一方、各データサーバ装置S1〜S5は、
管理サーバ装置21から転送指示を受けると、前述した
図11(a)に示すFATに記憶されたブロックアドレ
スを指定してHDからファイルF1の保存ブロックを1
ブロックだけ読出すと共に(ST16:ブロック読出手
段)、この保存ブロックをクライアント装置11に転送
し(ST17:ブロック読出手段)、再度、FATを参
照しながら同様にファイルF1の次の保存ブロック又は
冗長ブロックを1ブロックだけ転送する。なお、この次
のブロックの転送はファイルF1の最終の保存ブロック
又は冗長ブロックまで周期的に実行される。
On the other hand, each of the data server devices S1 to S5
When the transfer instruction is received from the management server device 21, the block address stored in the FAT shown in FIG. 11A is designated and the storage block of the file F1 is set to 1 from the HD.
While reading only the block (ST16: block reading means), this storage block is transferred to the client device 11 (ST17: block reading means), and the next storage block or redundant block of the file F1 is similarly referenced with reference to the FAT again. Is transferred by one block. The transfer of the next block is periodically executed up to the final storage block or redundant block of the file F1.

【0032】クライアント装置11は、ステップST1
4の通知の有無により各データサーバ装置S1〜S5の
状態が正常であるか障害があるかを判定し(ST1
8)、判定結果に基づいて各データサーバ装置S1〜S
5から巡回的に転送される各保存ブロックを統合してフ
ァイルF1を再生する。
The client device 11 executes step ST1.
It is determined whether the status of each of the data server devices S1 to S5 is normal or faulty by the presence or absence of the notification of No.
8), based on the determination result, each of the data server devices S1 to S
The storage blocks transferred cyclically from 5 are integrated to reproduce the file F1.

【0033】このとき、クライアント装置11がファイ
ルF1を再生する手順は以下の通りである。 (各データサーバ装置S1〜S5が正常のとき) (1a)図12に示すように、1番目から5番目に受け
た各保存ブロックを統合し、6番目に受けた冗長ブロッ
クを無視する(ST19)。 (2a)(1a)を偶数パリティの組数だけ繰り返す。 (3a)(1a)〜(2a)の手順で統合された各統合
ブロックをさらに統合してファイルF1を再生する(S
T20)。 (データサーバ装置S4が破損したとき) (1b)図13の破線の矢印に示すように、1番目から
4番目に受けた各保存ブロック及び5番目に受けた冗長
ブロックに排他的論理和演算を施し(ST21:ブロッ
ク復元手段)、演算結果に基づいて、破損した保存ブロ
ックを復元する(ST22:ブロック復元手段)。 (2b)復元した保存ブロックを、図13の実線の矢印
に示すように、1番目から4番目に受けた保存ブロック
の順番のなかに割込ませて各保存ブロックを統合する
(ST23)。なお、割込ませる順位は破損ブロック順
位Dblで示され、破損ブロック順位Dblは次の(1)式
にて求められる。 Dbl(n)=(Snu−Bnu)(n−1)+Dsa …(1) 但し、 n:偶数パリティの組の順番 (n=1〜3 …ファイルF1の場合)、 Snu:ブロックの記憶されたサーバ個数 (Snu=5 …S1、S2、S3、S4、S5)、 Bnu:偶数パリティを形成する1組のブロック個数 (Bnu=6 … n-1、 n-2、 n-3、 n-4、 n-5、 n-
P)、 Dsa:破損サーバ順位 (Dsa=4 …データサーバ装置S4の破損)。
At this time, the procedure for the client device 11 to reproduce the file F1 is as follows. (When each of the data server devices S1 to S5 is normal) (1a) As shown in FIG. 12, the storage blocks received from the first to the fifth are integrated, and the redundant block received from the sixth is ignored (ST19). ). (2a) (1a) is repeated by the number of sets of even parity. (3a) The integrated blocks integrated in the procedure of (1a) to (2a) are further integrated to reproduce the file F1 (S).
T20). (When the data server device S4 is damaged) (1b) As shown by the broken line arrow in FIG. 13, the exclusive OR operation is performed on each of the first to fourth received storage blocks and the fifth received redundant block. Applying (ST21: block restoring means), the damaged saved block is restored based on the calculation result (ST22: block restoring means). (2b) As shown by the solid line arrow in FIG. 13, the restored storage blocks are interrupted in the order of the first to fourth received storage blocks to integrate the respective storage blocks (ST23). The order of interruption is indicated by the damaged block order Dbl, and the damaged block order Dbl is obtained by the following equation (1). Dbl (n) = (Snu−Bnu) (n−1) + Dsa (1) However, n: the order of the set of even parity (n = 1 to 3 ... In the case of file F1), Snu: the stored blocks Number of servers (Snu = 5 ... S1, S2, S3, S4, S5), Bnu: Number of blocks in one set forming even parity (Bnu = 6 ... n-1, n-2, n-3, n-4) , N-5, n-
P), Dsa: rank of damaged server (Dsa = 4 ... Damage of data server device S4).

【0034】次に、以上の条件を(1)式に代入して
(2)式を得る。 Dbl(n)=(5−6)(n−1)+4 =−n+5 …(2) (2)式から、n=1のとき、Dbl=4番目、n=2の
とき、Dbl=3番目、n=3のとき、Dbl=2番目を得
る。
Next, the above conditions are substituted into the equation (1) to obtain the equation (2). Dbl (n) = (5-6) (n-1) + 4 = -n + 5 (2) From the equation (2), when n = 1, Dbl = 4th, when n = 2, Dbl = 3rd , N = 3, Dbl = second is obtained.

【0035】但し、ここではn=1であるので、Dbl=
4番目とする。次の(3b)の繰返しにてn=2、n=
3を順次用いる。 (3b)ここは(1b)〜(2b)を繰返す。 (4b)図14に示すように、(1b)〜(3b)の手
順で統合されて得られた各統合ブロックをさらに統合し
てファイルF1を再生する(ST20:ファイル再生手
段)。
However, since n = 1 here, Dbl =
4th. In the next repetition of (3b), n = 2, n =
3 is used sequentially. (3b) Here, (1b) to (2b) are repeated. (4b) As shown in FIG. 14, the integrated blocks obtained by integrating the steps (1b) to (3b) are further integrated to reproduce the file F1 (ST20: file reproducing means).

【0036】上述したように本実施例によれば、クライ
アント装置11が保存対象のファイルF2を分割して複
数の保存ブロックを生成し、各保存ブロックにパリティ
演算を施して冗長ブロックを生成し、各保存ブロック及
び冗長ブロックを各データサーバ装置S1〜S5に分散
させて転送することにより、ファイルF2を各データサ
ーバ装置S1〜S5に分散記憶させている。
As described above, according to this embodiment, the client device 11 divides the file F2 to be saved to generate a plurality of save blocks, and performs a parity operation on each save block to generate a redundant block. The file F2 is distributed and stored in each of the data server devices S1 to S5 by distributing and transferring each storage block and redundant block to each of the data server devices S1 to S5.

【0037】また、クライアント装置11が、各保存ブ
ロックの転送された各データサーバ装置S1〜S5のい
ずれか1つのデータサーバ装置S4が読出不可のとき、
他の各データサーバ装置S1〜S3,S5から読出され
る各保存ブロック及び冗長ブロックにパリティ演算を施
して読出不可の保存ブロックを復元し、復元された保存
ブロックと他の各データサーバ装置S1〜S3,S5の
各保存ブロックとを統合してファイルF1を再生するの
で、データサーバ装置に障害を生じてもデータを復元で
き、もって、転送要求に対する応答性及び信頼性を向上
させることができる。
When the client device 11 cannot read any one of the data server devices S1 to S5 to which each storage block is transferred,
A parity operation is performed on each storage block and redundant block read from each of the other data server devices S1 to S3 and S5 to restore the unreadable storage block, and the restored storage block and each of the other data server devices S1 to S1. Since the file F1 is reproduced by integrating the storage blocks of S3 and S5, the data can be restored even if a failure occurs in the data server device, and thus the responsiveness to the transfer request and the reliability can be improved.

【0038】また、本実施例によれば、管理サーバ装置
21がファイル毎に、ファイル名、各保存ブロック並び
に冗長ブロックの分散記憶された各データサーバ装置名
及びこれら各データサーバ装置における各保存開始ブロ
ックアドレスからなる登録保存サーバ情報を記憶し、各
データサーバ装置S1〜S5が、複数のブロック記憶領
域を有し、ファイル毎に、該当する各保存ブロック及び
冗長ブロックのアドレスを示す各ブロックアドレスが連
鎖的に各ブロック記憶領域に分散記憶されるFATを有
し、管理サーバ装置21が、あるファイルの転送要求
(読出要求)が各クライアント装置のいずれかに入力さ
れたとき、この転送要求に対応して登録保存サーバ情報
を参照し、当該ファイルに対応する各データサーバ装置
名及び各保存開始ブロックアドレスを検索し、各データ
サーバ装置S1〜S5に保存開始ブロックアドレスを指
定してファイルの読出を開始させ、各データサーバ装置
S1〜S5が、保存開始ブロックアドレスを指定された
とき、FATから当該保存開始ブロックに連鎖した各ブ
ロックアドレスを検索すると共に、これら保存開始ブロ
ックアドレス又は各ブロックアドレスに指定される保存
ブロック又は冗長ブロックを読出し、これら各保存ブロ
ック又は冗長ブロックを転送要求の入力されたクライア
ント装置11に転送するので、簡易な構成により、容易
に実現させることができる。
Further, according to this embodiment, the management server device 21 causes the file name, each save block, and each data server device name in which redundant blocks are distributed and stored, and each save start in each data server device, for each file. The registered storage server information including block addresses is stored, each data server device S1 to S5 has a plurality of block storage areas, and each file has a block address indicating the address of the corresponding storage block and redundant block. When the management server device 21 has a transfer request (read request) for a certain file input to any of the client devices, it has FATs that are distributed and stored in chain in each block storage area, and responds to this transfer request. The registered storage server information is referred to, and each data server device name and each storage start block corresponding to the file are referenced. When a save start block address is specified, each data server device S1 to S5 is caused to specify the save start block address to start reading the file. Each block address linked to the save start block is searched, the save block or redundant block designated by the save start block address or each block address is read, and a client to which a transfer request is input for each save block or redundant block is input. Since it is transferred to the device 11, it can be easily realized with a simple configuration.

【0039】さらに、本実施例によれば、パリティ演算
が排他的論理和演算であるため、容易かつ確実に動作さ
せることができる。なお、上記実施例では、データ読出
の際に、各データサーバ装置S1〜S5が順次巡回的、
且つ周期的に保存ブロック又は冗長ブロックを1ブロッ
ク毎にクライアント装置11に転送する場合を説明した
が、これに限らず、クライアント装置11が1ブロック
毎に順次巡回的に各データサーバ装置S1〜S5に転送
指示を送出する構成としても、本発明を同様に実施でき
ると共に、動作の確実性を向上させることができる。
Further, according to this embodiment, since the parity operation is the exclusive OR operation, it can be operated easily and surely. It should be noted that, in the above-described embodiment, each of the data server devices S1 to S5 is sequentially cyclic when data is read,
In addition, although the case where the storage block or the redundant block is periodically transferred to the client device 11 has been described, the present invention is not limited to this, and the client device 11 sequentially cyclically and sequentially transfers the data server devices S1 to S5. Even if the transfer instruction is sent to the device, the present invention can be implemented in the same manner and the reliability of the operation can be improved.

【0040】また、上記実施例では、データ読出の際
に、正常時であっても冗長ブロックを転送する場合を説
明したが、これに限らず、例えばFATに保存ブロック
又は冗長ブロックの別を示すフラグを付加し、このフラ
グを参照して正常時には冗長ブロックの転送を省略する
構成としても、本発明を同様に実施できると共に、転送
効率を一層向上させることができる。
Further, in the above embodiment, the case where the redundant block is transferred at the time of data reading even in the normal time has been described, but the present invention is not limited to this, and, for example, the FAT indicates a storage block or a redundant block. Even if a flag is added and the redundant block transfer is omitted in normal operation by referring to this flag, the present invention can be implemented in the same manner and the transfer efficiency can be further improved.

【0041】さらに、上記実施例では、特にデータの内
容を述べなかったが、本発明で扱われるデータはどのよ
うなものでもよく、例えば印刷用データベースの場合、
画像データ、文字データ、画像や文字の配置を指定する
ためのレイアウトのデータ等を使用することができる。
その他、本発明はその要旨を逸脱しない範囲で種々変形
して実施できる。
Further, although the contents of the data are not described in the above embodiment, any data can be used in the present invention. For example, in the case of a printing database,
It is possible to use image data, character data, layout data for designating the arrangement of images and characters, and the like.
In addition, the present invention can be modified in various ways without departing from the scope of the invention.

【0042】[0042]

【発明の効果】以上説明したように請求項1の発明によ
れば、保存ブロック生成手段が保存対象のファイルを分
割して複数の保存ブロックを生成し、冗長ブロック生成
手段が保存ブロック生成手段により生成された各保存ブ
ロックにパリティ演算を施して冗長ブロックを生成し、
ブロック転送手段が保存ブロック生成手段により生成さ
れた各保存ブロック及び冗長ブロック生成手段により生
成された冗長ブロックを各データサーバ装置に分散させ
て転送し、ブロック復元手段が、ブロック転送手段によ
り各保存ブロックの転送された各データサーバ装置のい
ずれか1つが読出不可のとき、他の各データサーバ装置
から読出される各保存ブロック及び冗長ブロックにパリ
ティ演算を施して読出不可の保存ブロックを復元し、フ
ァイル再生手段が、ブロック復元手段により復元された
保存ブロックと他の各データサーバ装置の各保存ブロッ
クとを統合してファイルを再生するので、データサーバ
装置に障害を生じてもデータを復元でき、もって、転送
要求に対する応答性及び信頼性を向上できる分散型デー
タベースシステムを提供できる。
As described above, according to the first aspect of the present invention, the storage block generation means divides the file to be stored to generate a plurality of storage blocks, and the redundant block generation means uses the storage block generation means. A parity operation is performed on each generated storage block to generate a redundant block,
The block transfer means disperses and transfers the respective storage blocks generated by the storage block generation means and the redundant blocks generated by the redundant block generation means to the respective data server devices, and the block restoration means performs the respective storage blocks by the block transfer means. When any one of the transferred data server devices is not readable, each storage block and redundant block read from each other data server device is subjected to a parity operation to restore the unreadable storage block, Since the reproducing means reproduces the file by integrating the storage block restored by the block restoring means and the respective storage blocks of the other data server devices, the data can be restored even if the data server device fails. , A distributed database system that can improve responsiveness and reliability to transfer requests It can be provided.

【0043】また、請求項2の発明によれば、ネットワ
ークに接続され、ファイル毎に、ファイル名、各保存ブ
ロック並びに冗長ブロックの分散記憶された各データサ
ーバ装置名及びこれら各データサーバ装置における各保
存開始ブロックアドレスが記憶される保存サーバ情報記
憶手段と、各データサーバ装置に設けられ、複数のブロ
ック記憶領域を有し、ファイル毎に、該当する各保存ブ
ロック及び冗長ブロックのアドレスを示す各ブロックア
ドレスが連鎖的に各ブロック記憶領域に分散記憶される
ファイル配置情報記憶手段とを設け、サーバ検索手段
が、あるファイルの読出要求が各クライアント装置のい
ずれかに入力されたとき、この読出要求に対応して保存
サーバ情報記憶手段を参照し、当該ファイルに対応する
各データサーバ装置及び各保存開始ブロックアドレスを
検索し、読出開始手段が、サーバ検索手段の検索結果に
基づいて、各データサーバ装置に保存開始ブロックアド
レスを指定してファイルの読出を開始し、ブロック読出
手段が、各データサーバ装置に設けられ、読出開始手段
から保存開始ブロックアドレスを指定されたとき、ファ
イル配置情報記憶手段から当該保存開始ブロックに連鎖
した各ブロックアドレスを検索すると共に、これら保存
開始ブロックアドレス又は各ブロックアドレスに指定さ
れる保存ブロック又は冗長ブロックを読出し、これら各
保存ブロック又は冗長ブロックを読出要求の入力された
クライアント装置に転送するので、請求項1の効果に加
え、簡易な構成により、容易に実現できる分散型データ
ベースシステムを提供できる。
According to the second aspect of the present invention, each data server device connected to the network and having the file name, each storage block, and the redundant block distributedly stored for each file, and each of these data server devices. A storage server information storage unit that stores a storage start block address, and a block that is provided in each data server device and that has a plurality of block storage areas and that indicates the address of each corresponding storage block and redundant block for each file File arrangement information storage means for storing addresses in a distributed manner in each block storage area is provided, and when the server search means inputs a read request for a certain file to any one of the client devices, the read request is added to the read request. Correspondingly, referring to the storage server information storage means, each data server device corresponding to the file And each save start block address are searched, and the read start means specifies the save start block address to each data server device based on the search result of the server search means to start reading the file. When the save start block address is designated by the read start means provided in each data server device, each file address information storage means is searched for each block address linked to the save start block, and the save start block address or each save start block address is searched. Since the storage block or redundant block designated by the block address is read and these storage blocks or redundant blocks are transferred to the client device to which a read request is input, in addition to the effect of claim 1, a simple configuration facilitates A distributed database system that can be realized can be provided.

【0044】さらに、請求項3の発明によれば、請求項
1又は請求項2のパリティ演算が排他的論理和演算であ
るため、容易かつ確実に動作できる分散型データベース
システムを提供できる。
Further, according to the invention of claim 3, since the parity operation of claim 1 or claim 2 is an exclusive OR operation, it is possible to provide a distributed database system which can operate easily and surely.

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

【図1】本発明の一実施例に係る分散型データベースシ
ステムの構成図、
FIG. 1 is a configuration diagram of a distributed database system according to an embodiment of the present invention,

【図2】同実施例における書込動作を説明するためのフ
ローチャート、
FIG. 2 is a flowchart for explaining a write operation in the same embodiment,

【図3】同実施例におけるファイルの分割を説明するた
めの模式図、
FIG. 3 is a schematic diagram for explaining file division in the same embodiment;

【図4】同実施例における冗長ブロックの生成を説明す
るための模式図、
FIG. 4 is a schematic diagram for explaining generation of redundant blocks in the same embodiment;

【図5】一般的な排他的論理和の真理値表を示す図、FIG. 5 is a diagram showing a general truth table of exclusive OR.

【図6】同実施例における読出動作を説明するためのフ
ローチャート、
FIG. 6 is a flowchart for explaining a read operation in the embodiment.

【図7】一般的な排他的論理和の真理値表を示す図、FIG. 7 is a diagram showing a truth table of general exclusive OR,

【図8】同実施例における登録保存情報を示す模式図、FIG. 8 is a schematic diagram showing registration storage information in the embodiment.

【図9】同実施例におけるブロックの保存方式を示す模
式図、
FIG. 9 is a schematic diagram showing a block storage method in the embodiment.

【図10】同実施例における冗長ブロックの生成を示す
模式図、
FIG. 10 is a schematic diagram showing generation of redundant blocks in the same embodiment;

【図11】同実施例におけるFAT及びHDの構成を示
す模式図、
FIG. 11 is a schematic diagram showing the configuration of FAT and HD in the same embodiment;

【図12】同実施例における正常時の保存ブロックの統
合を示す模式図、
FIG. 12 is a schematic diagram showing the integration of storage blocks under normal conditions in the same embodiment;

【図13】同実施例における障害時の保存ブロックの統
合を示す模式図、
FIG. 13 is a schematic diagram showing integration of storage blocks at the time of failure in the same embodiment;

【図14】同実施例におけるファイルの再生を示す模式
図。
FIG. 14 is a schematic diagram showing reproduction of a file in the example.

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

11〜14…クライアント装置、21…管理サーバ装
置、31…ネットワーク、S1〜S5…データサーバ装
置、HD…ハードディスク。
11 to 14 ... Client device, 21 ... Management server device, 31 ... Network, S1 to S5 ... Data server device, HD ... Hard disk.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のクライアント装置と、複数のデー
タサーバ装置とが互いにネットワークを介して接続され
た分散型データベースシステムにおいて、 前記各クライアント装置は、 保存対象のファイルを分割して複数の保存ブロックを生
成する保存ブロック生成手段と、 前記保存ブロック生成手段により生成された各保存ブロ
ックにパリティ演算を施して冗長ブロックを生成する冗
長ブロック生成手段と、 前記保存ブロック生成手段により生成された各保存ブロ
ック及び前記冗長ブロック生成手段により生成された冗
長ブロックを前記各データサーバ装置に分散させて転送
するブロック転送手段と、 前記ブロック転送手段により各保存ブロックの転送され
た各データサーバ装置のいずれか1つが読出不可のと
き、他の各データサーバ装置から読出される各保存ブロ
ック及び冗長ブロックに前記パリティ演算を施して前記
読出不可の保存ブロックを復元するブロック復元手段
と、 前記ブロック復元手段により復元された保存ブロックと
前記他の各データサーバ装置の各保存ブロックとを統合
して前記ファイルを再生するファイル再生手段とを備え
たことを特徴とする分散型データベースシステム。
1. A distributed database system in which a plurality of client devices and a plurality of data server devices are connected to each other via a network, wherein each client device divides a file to be saved into a plurality of save blocks. A storage block generation unit that generates a redundant block by performing a parity operation on each storage block generated by the storage block generation unit; and a storage block generated by the storage block generation unit. And one of a block transfer unit for distributing and transferring the redundant blocks generated by the redundant block generation unit to each of the data server devices, and each of the data server devices to which each of the storage blocks has been transferred by the block transfer unit. When data cannot be read, other data server devices Block restoring means for performing the parity operation on each of the storage blocks and the redundant blocks read from the storage block to restore the unreadable storage block; and the storage block restored by the block restoring means and each of the other data server devices. A distributed database system comprising: a file reproducing unit that reproduces the file by integrating each storage block.
【請求項2】 請求項1に記載の分散型データベースシ
ステムにおいて、 前記ネットワークに接続され、前記ファイル毎に、ファ
イル名、各保存ブロック並びに冗長ブロックの分散記憶
された各データサーバ装置名及びこれら各データサーバ
装置における各保存開始ブロックアドレスが記憶される
保存サーバ情報記憶手段と、 前記各データサーバ装置に設けられ、複数のブロック記
憶領域を有し、前記ファイル毎に、該当する各保存ブロ
ックのアドレス及び冗長ブロックのアドレスを示す各ブ
ロックアドレスが連鎖的に前記各ブロック記憶領域に分
散記憶されるファイル配置情報記憶手段と、 あるファイルの読出要求が前記各クライアント装置のい
ずれかに入力されたとき、この読出要求に対応して前記
保存サーバ情報記憶手段を参照し、当該ファイルに対応
する各データサーバ装置名及び各保存開始ブロックアド
レスを検索するサーバ検索手段と、 前記サーバ検索手段の検索結果に基づいて、各データサ
ーバ装置に保存開始ブロックアドレスを指定してファイ
ルの読出を開始する読出開始手段と、 前記各データサーバ装置に設けられ、前記読出開始手段
から保存開始ブロックアドレスを指定されたとき、前記
ファイル配置情報記憶手段から当該保存開始ブロックに
連鎖した各ブロックアドレスを検索すると共に、これら
保存開始ブロックアドレス又は各ブロックアドレスに指
定される保存ブロック又は冗長ブロックを読出し、これ
ら各保存ブロック又は冗長ブロックを前記読出要求の入
力されたクライアント装置に転送するブロック読出手段
とを備えたことを特徴とする分散型データベースシステ
ム。
2. The distributed database system according to claim 1, wherein a file name, each storage block, and each data server device name in which distributed blocks of redundant blocks are connected and connected to the network and each of these files are stored. Storage server information storage means for storing each storage start block address in the data server device, and a plurality of block storage areas provided in each of the data server devices, and an address of each corresponding storage block for each file And file arrangement information storage means in which each block address indicating the address of the redundant block is distributed and stored in chain in each of the block storage areas, and when a read request for a certain file is input to any of the client devices, In response to this read request, the storage server information storage means is referred to, A server search unit that searches each data server device name and each save start block address corresponding to the file, and specifies a save start block address for each data server device based on the search result of the server search unit. Read start means for starting read, and each block address provided in each of the data server devices and linked to the save start block from the file arrangement information storage means when a save start block address is designated by the read start means Block reading means for searching the storage start block address or the storage block or redundant block designated by each block address, and transferring the storage block or redundant block to the client device to which the read request is input. Distributed type characterized by having Over database system.
【請求項3】 請求項1又は請求項2に記載の分散型デ
ータベースシステムにおいて、 前記パリティ演算は排他的論理和演算であることを特徴
とする分散型データベースシステム。
3. The distributed database system according to claim 1 or 2, wherein the parity operation is an exclusive OR operation.
JP7178844A 1995-07-14 1995-07-14 Distributed data base system Pending JPH0934770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7178844A JPH0934770A (en) 1995-07-14 1995-07-14 Distributed data base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7178844A JPH0934770A (en) 1995-07-14 1995-07-14 Distributed data base system

Publications (1)

Publication Number Publication Date
JPH0934770A true JPH0934770A (en) 1997-02-07

Family

ID=16055665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7178844A Pending JPH0934770A (en) 1995-07-14 1995-07-14 Distributed data base system

Country Status (1)

Country Link
JP (1) JPH0934770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005502096A (en) * 2001-01-11 2005-01-20 ゼット−フォース コミュニケイションズ インコーポレイテッド File switch and exchange file system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005502096A (en) * 2001-01-11 2005-01-20 ゼット−フォース コミュニケイションズ インコーポレイテッド File switch and exchange file system

Similar Documents

Publication Publication Date Title
US10114580B1 (en) Data backup management on distributed storage systems
JP5637552B2 (en) Storage system
US10305989B2 (en) Finding alternate storage locations to support failing disk migration
CN106407040A (en) Remote data copy method and system
JP6525491B2 (en) System and method for distributed processing of files in chunks
US10938418B2 (en) Online disk replacement/removal
JPH1097451A (en) Method and device for optimizing log file of client/server computer system
WO2008125913A2 (en) Identification of fixed content objects in a distributed fixed content storage system
JPH11506556A (en) A continuously available database server having a group of nodes with minimal intersection of database fragment replicas
JP3096392B2 (en) Method and apparatus for full motion video network support using RAID
JPH0769873B2 (en) Memory device for computer and method of configuring memory
CN115826876B (en) Data writing method, system, storage hard disk, electronic device and storage medium
JP2003296167A (en) File management system and file management method
JP2019527414A (en) Manipulating the distributed agreement protocol to identify the desired storage unit set
US20040268019A1 (en) Raid overlapping
US10067998B2 (en) Distributed sync list
JPH07261945A (en) Disk array device and disk array dividing method
WO2010092634A1 (en) Storage system
JPH0934770A (en) Distributed data base system
JP2004326357A (en) Storage system with redundant block, as well as control device, control method, program and recording medium for the storage system
JPH06119125A (en) Disk array device
US8072989B2 (en) Virtual volume transfer apparatus, virtual volume transfer method, and computer product
US7149935B1 (en) Method and system for managing detected corruption in stored data
JP2011180658A (en) Redundancy method in distributed file system
JP2013174984A (en) Storage system