JPH09212401A - Fault recovery method for decentralized data base, and data base management device - Google Patents

Fault recovery method for decentralized data base, and data base management device

Info

Publication number
JPH09212401A
JPH09212401A JP8017267A JP1726796A JPH09212401A JP H09212401 A JPH09212401 A JP H09212401A JP 8017267 A JP8017267 A JP 8017267A JP 1726796 A JP1726796 A JP 1726796A JP H09212401 A JPH09212401 A JP H09212401A
Authority
JP
Japan
Prior art keywords
database
data
databases
master
master database
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.)
Withdrawn
Application number
JP8017267A
Other languages
Japanese (ja)
Inventor
Yukinori Arima
幸徳 有馬
Hiroyuki Kida
裕之 木田
Yayoi Ito
やよい 伊藤
Hiroshi Morita
寛 守田
Masaki Watanabe
正樹 渡辺
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP8017267A priority Critical patent/JPH09212401A/en
Publication of JPH09212401A publication Critical patent/JPH09212401A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make a master data base, which has plural data bases and a master data base having the same contents and is reliable, recover from a fault. SOLUTION: If a fault occurs to the master data base 5, backup data are copied to the master data base 5 from an external storage device 4 according to the indication from a maintenance device 3, one of the data bases corresponding to plural processors 2-1 to 2-n is selected, and data are transferred and copied to a copy data base 6. Then a comparing process part 8 compares the backup data of the master data base 5 with the data of the copy data base 6, stores their difference information in a difference information storage part 7, and corrects the backup data of the master data base 5 according to the difference information to make a recovery from the fault.

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 failure recovery method and a database management apparatus in which a plurality of databases having the same content are distributed and arranged. In a system that accesses a database and executes various processes, the frequency of access to the database increases as the system scale increases, so waiting for access to the database occurs and the overall processing speed decreases. I have a problem to do. Therefore, a configuration is conceivable in which a plurality of databases having the same content are distributed and arranged so that access requests are distributed. In such a system, it is necessary to improve the efficiency of recovery when a failure occurs.

【0002】[0002]

【従来の技術】図18は従来例のインテリジェント・ネ
ットワーク・システムの説明図であり、51はサービス
管理システム(SMS;Service Management Syste
m )、52はサービス制御ポイント(SCP;Service
Control Point)、53はデータベース、54はサ
ービス・スイッチング・ポイント(SSP;ServiceS
witching Point)、55は電話加入者を示す。
2. Description of the Related Art FIG. 18 is an explanatory diagram of a conventional intelligent network system, and 51 is a service management system (SMS).
m) and 52 are service control points (SCP; Services)
Control Point, 53 is a database, 54 is a service switching point (SSP; ServiceS)
witching Point), 55 is a telephone subscriber.

【0003】このインテリジェント・ネットワーク・シ
ステムは、呼接続を行う交換局に対応するサービス・ス
イッチング・ポイント54と、加入者データを格納した
データベース53を管理し、加入者データによって呼接
続の制御を行うサービス制御ポイント52と、加入者デ
ータ変更要求等によって、データベース53の更新等を
行うサービス管理システム51とにより構成された場合
を示す。
This intelligent network system manages a service switching point 54 corresponding to a switching center which makes a call connection and a database 53 which stores subscriber data, and controls the call connection by the subscriber data. The case where the service control point 52 and the service management system 51 that updates the database 53 in response to a subscriber data change request or the like is shown.

【0004】例えば、電話加入者55の呼接続要求によ
り、サービス・スイッチング・ポイント54は、サービ
ス制御ポイント52に、発呼加入者が入力した電話番号
を転送し、サービス制御ポイント52は、データベース
53を検索して、着呼加入者を識別し、その着呼加入者
のデータをサービス・スイッチング・ポイント54に転
送する。サービス・スイッチング・ポイント54は、着
呼加入者のデータを基に、呼出しを行い、それに対する
応答検出によって、発呼加入者と着呼加入者との間を接
続する。
For example, in response to a call connection request from the telephone subscriber 55, the service switching point 54 transfers the telephone number input by the calling subscriber to the service control point 52, and the service control point 52 transmits the database 53. To identify the called subscriber and transfer the called subscriber's data to the service switching point 54. The service switching point 54 makes a call based on the data of the called subscriber and, by detecting a response thereto, establishes a connection between the calling subscriber and the called subscriber.

【0005】又電話加入者の収容数が増加し、且つサー
ビス内容が多岐にわたる場合、データベース53に対す
るアクセス頻度が著しく増大し、1台のサービス制御ポ
イント52によって運用するのが困難となり、複数台の
サービス制御ポイント52を設けて処理を分散すること
が考えられる。
Further, when the number of accommodated telephone subscribers increases and the service contents are diverse, the frequency of access to the database 53 increases remarkably, and it becomes difficult to operate by one service control point 52. It is conceivable to provide service control points 52 to distribute the processing.

【0006】そこで、図19に示すように、複数のサー
ビス制御ポイント(SCP)52−1〜52−3を設
け、且つそれぞれに同一の加入者データを格納したデー
タベース53−1〜53−4を設け、図示を省略した電
話加入者からの呼接続要求に対して、サービス・スイッ
チング・ポイント(SSP)54は、データベース53
−1〜53−3にそれぞれアクセスを分散して行って、
呼処理を実行することができる。従って、データベース
に対するアクセス待ち等が生じないようにすることがで
きる。
Therefore, as shown in FIG. 19, a plurality of service control points (SCP) 52-1 to 52-3 are provided, and databases 53-1 to 53-4 storing the same subscriber data are stored in each of them. The service switching point (SSP) 54 is provided with a database 53 in response to a call connection request from a telephone subscriber (not shown).
Access is distributed to each of -1 to 53-3,
Call processing can be performed. Therefore, it is possible to prevent waiting for access to the database.

【0007】その場合、各サービス制御ポイント52−
1〜52−3の処理能力並びに設置台数或いは使用台数
の変動等により、データベース53−1〜53−3間の
同期処理を行うことは非常に困難となる。そこで、サー
ビス管理システム(SMS)51に、データベース53
−1〜53−3と同一の加入者データを格納したマスタ
ー・データベース53−4を設け、加入者データの更新
要求等に対して、マスター・データベース53−4の加
入者データを更新し、このマスター・データベース53
−4の内容を、サービス管理システム51の制御によっ
て各データベース53−1〜53−3にダウンロード
し、データベース53−1〜53−3間の同期処理を行
うことになる。
In this case, each service control point 52-
It is very difficult to perform the synchronization processing between the databases 53-1 to 53-3 due to the processing capacity of 1 to 52-3 and the variation of the installed number or the used number. Therefore, the service management system (SMS) 51, the database 53
A master database 53-4 storing the same subscriber data as that of -1 to 53-3 is provided, and the subscriber data of the master database 53-4 is updated in response to a subscriber data update request. Master database 53
-4 is downloaded to each of the databases 53-1 to 53-3 under the control of the service management system 51, and the synchronization processing between the databases 53-1 to 53-3 is performed.

【0008】又磁気テープ装置等の外部記憶媒体56を
設けて、サービス管理システム51に設けたマスター・
データベース53−4のバックアップを行う構成を採用
することができる。このバックアップは、定期的に行う
場合が一般的である。
Also, an external storage medium 56 such as a magnetic tape device is provided, and a master
A configuration for backing up the database 53-4 can be adopted. This backup is generally performed regularly.

【0009】[0009]

【発明が解決しようとする課題】データベース53,5
3−1〜53−4は、磁気ディスク装置等の記憶装置に
よって構成されるものであるが、格納したデータが破壊
されるような障害が発生する場合がある。例えば、図1
9に於けるデータベース53−1〜53−3の何れか一
つに障害が発生した場合、マスター・データベース53
−4が健在であれば、そのマスター・データベース53
−4からのダウンロードによって障害を復旧することが
できる。
Problems to be Solved by the Invention Databases 53, 5
Although 3-1 to 53-4 are configured by a storage device such as a magnetic disk device, a failure may occur in which stored data is destroyed. For example, FIG.
If any one of the databases 53-1 to 53-3 in No. 9 fails, the master database 53
-4 is alive, the master database 53
The fault can be recovered by downloading from -4.

【0010】このマスター・データベース53−4に障
害が発生した場合は、バックアップ用の外部記憶媒体5
6からのデータを用いて復旧することができる。しか
し、このバックアップ用のデータは、障害発生直前のデ
ータであるとは限らないものであり、従って、外部記憶
媒体56からのデータを用いてマスター・データベース
53−4の障害復旧を行うと、データベース53−1〜
53−3の内容と異なる場合が生じる。本発明は、マス
ター・データベースの障害時に、最新のデータにより、
且つ分散されたデータベース間の同期をとった状態で復
旧させることを目的とする。
When a failure occurs in this master database 53-4, the backup external storage medium 5
Data from 6 can be used to restore. However, this backup data is not always the data immediately before the occurrence of a failure. Therefore, if failure recovery of the master database 53-4 is performed using the data from the external storage medium 56, the database 53-1
A case different from the content of 53-3 occurs. The present invention provides the latest data in the event of a master database failure.
In addition, the purpose is to restore the distributed databases in a synchronized state.

【0011】[0011]

【課題を解決するための手段】本発明の分散データベー
スの障害復旧方法は、(1)マスター・データベース5
の内容と同一となるように更新制御される複数のデータ
ベース9−1〜9−nを有する分散データベースの障害
復旧方法に於いて、マスター・データベース5の障害発
生時に、保守装置3からの指示に従って選択した複数の
データベース9−1〜9−nの中の例えばデータベース
9−1のデータを、マスター・データベース5に、図示
を省略した転送装置を介して転送し、マスター・データ
ベース5の障害を復旧させる過程を含むものである。
DISCLOSURE OF THE INVENTION A distributed database failure recovery method according to the present invention comprises (1) a master database 5
In a failure recovery method for a distributed database having a plurality of databases 9-1 to 9-n whose update is controlled so as to be the same as the contents of the above, according to an instruction from the maintenance device 3 when a failure occurs in the master database 5. Data of, for example, the database 9-1 of the plurality of selected databases 9-1 to 9-n is transferred to the master database 5 via a transfer device (not shown), and the failure of the master database 5 is recovered. It includes the process of making.

【0012】又(2)マスター・データベース5とコピ
ー・データベース6と差分情報格納部7とを有するデー
タベース管理装置1と、このデータベース管理装置1に
接続されて、マスター・データベース5のバックアップ
を行う外部記憶媒体4と、データベース管理装置1に接
続され、それぞれマスター・データベース5の内容と同
一となるように更新制御されるデータベース9−1〜9
−nを有する複数の処理装置2−1〜2−nと、データ
ベース管理装置1に接続された保守装置3とを備え、マ
スター・データベース5の障害発生時に、保守装置3か
らの指示に従って、外部記憶媒体4からマスター・デー
タベース5にバックアップデータをコピーし、且つ複数
のデータベース9−1〜9−nの中から選択した単一又
は複数のデータベースのデータをコピー・データベース
6にコピーし、このコピー・データベース6のデータ
と、マスター・データベース5のバックアップデータと
を比較処理部8により比較処理し、比較処理結果の差分
情報を差分情報格納部7に格納し、この差分情報を基に
マスター・データベース5にコピーされたバックアップ
データの修正を行う過程を含むものである。
(2) A database management apparatus 1 having a master database 5, a copy database 6 and a difference information storage unit 7, and an external unit connected to the database management apparatus 1 for backing up the master database 5. Databases 9-1 to 9 that are connected to the storage medium 4 and the database management device 1 and that are updated and controlled so as to have the same contents as the master database 5 respectively.
A plurality of processing devices 2-1 to 2-n each having -n and a maintenance device 3 connected to the database management device 1 are provided, and when a failure occurs in the master database 5, an external device is provided according to an instruction from the maintenance device 3. Backup data is copied from the storage medium 4 to the master database 5, and data of a single or a plurality of databases selected from the plurality of databases 9-1 to 9-n is copied to the copy database 6, and this copy is made. The data of the database 6 and the backup data of the master database 5 are compared by the comparison processing unit 8, the difference information of the comparison processing result is stored in the difference information storage unit 7, and the master database is based on this difference information. 5 includes the process of correcting the backup data copied in 5.

【0013】又(3)時計管理テーブルに登録した時刻
情報に基づいて、障害発生マスター・データベース5に
対する外部記憶媒体4からのバックアップデータのコピ
ー処理を行う過程を含むことができる。
Further, (3) a step of copying the backup data from the external storage medium 4 to the faulty master database 5 based on the time information registered in the clock management table can be included.

【0014】又(4)時計管理テーブルに登録した時刻
情報に基づいて、複数のデータベース9−1〜9−nの
中から選択したデータベースのデータを、コピー・デー
タベース6へ転送してコピーする過程を含むことができ
る。
(4) A process of transferring and copying the data of the database selected from the plurality of databases 9-1 to 9-n to the copy database 6 based on the time information registered in the clock management table. Can be included.

【0015】又(5)時計管理テーブルに登録した時刻
情報に基づいて、コピー・データベース6にデータベー
スからコピーしたデータと、マスター・データベース5
にコピーしたバックアップデータとの比較処理を行う過
程を含むことができる。
(5) Based on the time information registered in the clock management table, the data copied from the database to the copy database 6 and the master database 5
It may include a process of comparing with the backup data copied to.

【0016】又(6)処理装置2−1〜2−nのデータ
ベース9−1〜9−nに、マスター・データベース5の
内容に従った最終更新日付情報を付加し、マスター・デ
ータベース5の障害発生時に、保守装置3からの要求に
より、最終更新日付情報を含む処理装置名又はデータベ
ース名を転送して表示させ、表示された最終更新日付を
基に単一又は複数のデータベースを指定し、コピー・デ
ータベース6へデータを転送させる過程を含むことがで
きる。
(6) The last update date information according to the contents of the master database 5 is added to the databases 9-1 to 9-n of the processing devices 2-1 to 2-n, and the failure of the master database 5 occurs. At the time of occurrence, upon request from the maintenance device 3, the processing device name or database name including the last update date information is transferred and displayed, and single or multiple databases are specified based on the displayed last update date, and copied. It may include a process of transferring data to the database 6.

【0017】又(7)最終更新日付情報を収集して比較
し、最新の更新日付のデータベースを自動選択する過程
を含むことができる。
Also, (7) a step of collecting and comparing the last update date information and automatically selecting the database of the latest update date can be included.

【0018】又(8)コピー・データベース6にデータ
を転送するデータベースを予め保守装置3から指定し、
マスター・データベース5の障害発生時に、保守装置3
からの転送指示により、予め指定されたデータベースか
らコピー・データベース6にデータを転送する過程を含
むことができる。
(8) A database for transferring data to the copy database 6 is designated from the maintenance device 3 in advance,
When a failure occurs in the master database 5, the maintenance device 3
It is possible to include a process of transferring data from a predesignated database to the copy database 6 according to a transfer instruction from.

【0019】又(9)マスター・データベース5の障害
発生時に、複数のデータベースを選択してコピー・デー
タベース6に複数のデータベース対応にデータをコピー
し、各データベース対応のデータと、マスター・データ
ベース5にコピーしたバックアップデータとを比較処理
し、差分情報を差分情報格納部7に複数のデータベース
対応に格納し、この複数のデータベース対応の差分情報
の論理処理による情報を基に、マスター・データベース
5にコピーしたバックアップデータを修正する過程を含
むことができる。
(9) When a failure occurs in the master database 5, a plurality of databases are selected and data is copied to the copy database 6 corresponding to the plurality of databases. Comparison processing is performed with the copied backup data, difference information is stored in the difference information storage unit 7 corresponding to a plurality of databases, and copied to the master database 5 based on information obtained by logical processing of the difference information corresponding to the plurality of databases. The process of modifying the backup data may be included.

【0020】又(10)差分情報格納部7に格納する差
分情報に、データベースの最終更新日付情報を付加し、
日付又は日付の範囲を指定し、この日付又は日付の範囲
内の差分情報を基に、マスター・データベース5にコピ
ーしたバックアップデータを修正する過程を含むことが
できる。
(10) The last update date information of the database is added to the difference information stored in the difference information storage unit 7,
A process of designating a date or a range of dates and modifying the backup data copied to the master database 5 based on the difference information within the date or the range of dates can be included.

【0021】又本発明のデータベース管理装置は、(1
1)複数のデータベース9−1〜9−nに対して同一内
容となるように更新制御するマスター・データベース5
を備えたデータベース管理装置1に於いて、マスター・
データベース5のバックアップ用の外部記憶媒体4との
間の入出力装置と、マスター・データベース5の障害発
生時に、指定したデータベースからのデータを転送する
転送装置と、この転送送置を介して転送されたデータを
コピーするコピー・データベース6と、このコピー・デ
ータベース6にコピーされたデータと、マスター・デー
タベース5にコピーされたバックアップデータとを比較
する比較処理部8と、この比較処理部8により比較した
結果の差分情報を格納する差分情報格納部7と、保守装
置3からの指示情報を基に各部を制御する制御部とを備
えている。
The database management apparatus of the present invention is (1
1) A master database 5 that controls updating so that the plurality of databases 9-1 to 9-n have the same contents.
In the database management device 1 equipped with
An input / output device to / from the external storage medium 4 for backup of the database 5, a transfer device for transferring data from a specified database when a failure occurs in the master database 5, and a transfer device for transferring data The copy database 6 for copying the copied data, the comparison processing section 8 for comparing the data copied to the copy database 6 and the backup data copied to the master database 5, and the comparison processing section 8 for comparison. A difference information storage unit 7 that stores the difference information of the result and a control unit that controls each unit based on the instruction information from the maintenance device 3 are provided.

【0022】又(12)起動する装置と時刻とを登録す
る時計管理テーブルと、この時計管理テーブルへの登録
及び登録時刻による登録装置の起動制御を行う時計管理
装置とを設けることができる。
Further, (12) it is possible to provide a clock management table for registering a device to be activated and time, and a clock management device for performing registration in the clock management table and controlling activation of the registration device according to the registration time.

【0023】又(13)複数のデータベース9−1〜9
−nの中から保守装置3によって予め指定したデータベ
ース名等の指定情報を保持し、この指定情報に従って転
送装置を制御して指定されたデータベースからのデータ
をコピー・データベース6に転送させる為の転送情報部
を設けることができる。
(13) Multiple databases 9-1 to 9
A transfer for holding the specified information such as a database name previously specified by the maintenance device 3 from -n, and controlling the transfer device according to this specified information to transfer the data from the specified database to the copy database 6. An information section can be provided.

【0024】又(14)複数のデータベース9−1〜9
−nに付加した最終更新日付情報に対して、予め最終更
新日付又は更新日付範囲を保守装置3から指定した指定
情報を保持し、この指定情報に従って前記転送装置を制
御してデータベースを選択接続し、選択接続されたデー
タベースのデータをコピー・データベース6に転送させ
る為の転送情報部を設けることができる。
(14) A plurality of databases 9-1 to 9
With respect to the last update date information added to -n, the predetermined update date or the update date range is held in advance by the designated information from the maintenance device 3, and the transfer device is controlled according to this designated information to selectively connect the database. It is possible to provide a transfer information section for transferring the data of the selectively connected database to the copy database 6.

【0025】[0025]

【実施の形態】図1は本発明の第1の実施の形態の説明
図であり、1はデータベース管理装置、2−1〜2−n
は処理装置、3は保守装置、4は外部記憶媒体、5はマ
スター・データベース、6はコピー・データベース、7
は差分情報格納部、8は比較処理部、9−1〜9−nは
データベースである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an explanatory diagram of a first embodiment of the present invention, in which 1 is a database management device, 2-1 to 2-n.
Is a processing device, 3 is a maintenance device, 4 is an external storage medium, 5 is a master database, 6 is a copy database, 7
Is a difference information storage unit, 8 is a comparison processing unit, and 9-1 to 9-n are databases.

【0026】処理装置2−1〜2−nは、それぞれ同一
のデータを格納したデータベース9−1〜9−nを備
え、図19に於けるサービス制御ポイント(SCP)に
対応するものである。又データベース管理装置1は、マ
スター・データベース5やコピー・データベース6を含
み、図19に於けるサービス管理システム(SMS)に
対応するものである。又各処理装置2−1〜2−nのデ
ータベース9−1〜9−nに対して、マスター・データ
ベース5からダウンロード等によってデータの更新を行
う為の構成は図示を省略している。又データベース9−
1〜9−nの障害発生時には、マスター・データベース
5からのダウンロードによって復旧させることができ
る。
The processing devices 2-1 to 2-n have databases 9-1 to 9-n respectively storing the same data and correspond to the service control points (SCP) in FIG. The database management device 1 includes a master database 5 and a copy database 6, and corresponds to the service management system (SMS) shown in FIG. Further, the configuration for updating the data in the databases 9-1 to 9-n of each of the processing devices 2-1 to 2-n from the master database 5 by downloading or the like is omitted. Database 9-
When a failure of 1 to 9-n occurs, it can be restored by downloading from the master database 5.

【0027】又1)〜6)は、マスター・データベース
5に障害が発生した場合の復旧手順を示し、先ず、
1).バックアップ用の外部記憶媒体4からバックアッ
プデータを読込み、次に、分散配置された複数のデータ
ベース9−1〜9−nの中の一つのデータベース、例え
ば、9−1を選択して、2).データベース9−1のデ
ータを転送し、コピー・データベース6に格納する。即
ち、コピー・データベース6は、マスター・データベー
ス5の障害の復旧の為に、選択された処理装置内のデー
タベースの内容をコピーするメモリエリアに相当するも
のである。
Further, 1) to 6) show a recovery procedure when a failure occurs in the master database 5, and first,
1). The backup data is read from the external storage medium 4 for backup, and then one of the plurality of distributed databases 9-1 to 9-n, for example, 9-1 is selected and 2). The data in the database 9-1 is transferred and stored in the copy database 6. That is, the copy database 6 corresponds to a memory area for copying the contents of the database in the selected processing device in order to recover from the failure of the master database 5.

【0028】この場合、データベース9−1のデータ
は、最新のものではあるが、完全に正しいとは限らず、
又外部記憶媒体4に保持されたバックアップデータは、
所定の期間毎に、マスター・データベース5から転送し
て保持するものであるから、最新のものではなく、マス
ター・データベース5のデータを収集した後に更新され
ている可能性がある。そこで、3).比較処理部8によ
り、マスター・データベース5の内容とコピー・データ
ベース6の内容とを比較し、その差分情報を差分情報格
納部7に格納する。
In this case, the data in the database 9-1 is the latest, but is not always completely correct.
The backup data held in the external storage medium 4 is
Since the data is transferred and held from the master database 5 every predetermined period, the data may not be the latest one but may be updated after the data in the master database 5 is collected. Therefore, 3). The comparison processing unit 8 compares the contents of the master database 5 and the contents of the copy database 6, and stores the difference information in the difference information storage unit 7.

【0029】次に、4).差分情報格納部7に格納した
差分情報を保守装置3へ転送して表示させ、保守者の判
断により、5).差分情報に従ったデータの選択を行
い、そによって、6).マスター・データベース5にデ
ータの修正等の反映を行う。従って、マスター・データ
ベース5の内容は、動作中のデータベースに格納された
最新のデータと、バックアップデータとの差分情報を基
に、正しいデータに復元して、マスター・データベース
5の障害復旧を行うことができる。
Next, 4). The difference information stored in the difference information storage unit 7 is transferred to the maintenance device 3 and displayed, and 5). Data is selected according to the difference information, and 6). The data such as corrections are reflected in the master database 5. Therefore, the contents of the master database 5 should be restored to correct data based on the difference information between the latest data stored in the operating database and the backup data, and the failure of the master database 5 should be recovered. You can

【0030】図2は本発明の第2の実施の形態の説明図
であり、図1と同一符号は同一部分を示し、11は入出
力装置、12はDB(データベース)整合装置、13は
DB(データベース)入出力装置、14はDB(データ
ベース)比較装置、15はDB(データベース)転送装
置を示す。データベース管理装置1は、マスター・デー
タベース5と、コピー・データベース6と、差分情報格
納部7と、保守装置3との間のデータの送受信を行う入
出力装置11と、各部の管理及び制御を行うDB整合装
置12と、外部記憶媒体4との間のデータの送受信を行
うDB入出力装置13と、マスター・データベース5の
内容とコピー・データベース6の内容とを比較するDB
比較装置14と、分散配置されたデータベース9−1〜
9−nとの間のデータの送受信を行うDB転送装置15
とを含むものである。なお、DB比較装置14は、図1
に於ける比較処理部8に対応し、又DB整合装置12
は、前述の制御部に対応する。
FIG. 2 is an explanatory view of the second embodiment of the present invention. The same reference numerals as those in FIG. 1 indicate the same parts, 11 is an input / output device, 12 is a DB (database) matching device, and 13 is a DB. A (database) input / output device, 14 is a DB (database) comparison device, and 15 is a DB (database) transfer device. The database management device 1 manages and controls a master database 5, a copy database 6, a difference information storage unit 7, an input / output device 11 that transmits and receives data to and from the maintenance device 3, and each unit. A DB matching device 12, a DB input / output device 13 that transmits and receives data to and from the external storage medium 4, and a DB that compares the contents of the master database 5 and the contents of the copy database 6.
Comparison device 14 and distributed databases 9-1 to 9-1
DB transfer device 15 for transmitting / receiving data to / from 9-n
And The DB comparison device 14 is shown in FIG.
Corresponding to the comparison processing unit 8 in FIG.
Corresponds to the control unit described above.

【0031】マスター・データベース5に障害が発生し
た場合、次のような復旧手順〜を実施するものであ
り、(1)〜(24)は、復旧手順に従って処理を行う
順序の処理個所とを示すものである。即ち、 . (1)保守装置3から外部記憶媒体4のバックアップデ
ータ名を指定する。 (2)入出力装置11は、保守装置3からの情報を解析
してDB整合装置12を起動する。 (3)DB整合装置12は、DB入出力装置13を起動
する。 (4)DB入出力装置13は、指定されたバックアップ
データを外部記憶媒体4から読出して、マスター・デー
タベース5にコピーする。 (5)マスター・データベース5にバックアップデータ
をコピーした後、保守装置3へコピー終了を通知する。
When a failure occurs in the master database 5, the following recovery procedure-is carried out, and (1) to (24) indicate processing points in the order of processing according to the recovery procedure. It is a thing. That is,. (1) The backup data name of the external storage medium 4 is designated from the maintenance device 3. (2) The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. (3) The DB matching device 12 activates the DB input / output device 13. (4) The DB input / output device 13 reads the designated backup data from the external storage medium 4 and copies it to the master database 5. (5) After the backup data is copied to the master database 5, the maintenance device 3 is notified of the copy end.

【0032】. (6)保守装置3から、マスター・データベース5の内
容と比較したい処理装置2−1〜2−nのデータベース
9−1〜9−nの何れか一つを指定する。 (7)入出力装置11は、保守装置3からの情報を解析
し、DB整合装置12を起動する。 (8)起動されたDB整合装置12はDB転送装置15
を起動する。 (9)DB転送装置15は、指定されたデータベース、
例えば、処理装置2−1のデータベース9−1から、コ
ピー先のメモリエリアとしてのコピー・データベース6
にデータを転送する。 (10)コピー・データベース6へのデータの転送の終
了を保守装置3へ通知する。
[0032] (6) From the maintenance device 3, any one of the databases 9-1 to 9-n of the processing devices 2-1 to 2-n to be compared with the contents of the master database 5 is designated. (7) The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. (8) The activated DB matching device 12 is the DB transfer device 15
Start (9) The DB transfer device 15 uses the designated database,
For example, from the database 9-1 of the processing device 2-1 to the copy database 6 as the memory area of the copy destination.
Transfer data to (10) Notify the maintenance device 3 of the end of data transfer to the copy database 6.

【0033】. (11)保守装置3から、マスター・データベース5
と、コピー・データベース6との内容比較を指示する。 (12)入出力装置11は、保守装置3からの情報を解
析して、DB整合装置12を起動する。 (13)DB整合装置12は、DB比較装置14を起動
する。 (14)DB比較装置14は、マスター・データベース
5から読出したデータと、コピー・データベース6から
読出したデータとを比較する。
.. (11) From the maintenance device 3 to the master database 5
, And a content comparison with the copy database 6 is instructed. (12) The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. (13) The DB matching device 12 activates the DB comparison device 14. (14) The DB comparison device 14 compares the data read from the master database 5 with the data read from the copy database 6.

【0034】. (15)DB比較装置14に於ける比較処理の結果の差
分情報を、差分情報格納部7に蓄積する。 (16)比較処理が終了すると、保守装置3へ差分情報
の有無を通知する。
[0034] (15) The difference information as a result of the comparison process in the DB comparison device 14 is accumulated in the difference information storage unit 7. (16) When the comparison process is completed, the maintenance device 3 is notified of the presence or absence of difference information.

【0035】. (17)保守装置3から、差分情報の読出しを指定す
る。 (18)入出力装置11は、保守装置3からの情報を解
析して、DB整合装置12を起動する。 (19)DB製造装置12は、差分情報格納部7から差
分情報を読出す。 (20)読出した差分情報を保守装置3へ転送して表示
し、保守者の判断に従って、必要なデータを選択する。
.. (17) The maintenance device 3 specifies reading of the difference information. (18) The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. (19) The DB manufacturing device 12 reads the difference information from the difference information storage unit 7. (20) The read difference information is transferred to the maintenance device 3 and displayed, and necessary data is selected according to the judgment of the maintenance person.

【0036】. (21)保守装置3から、マスター・データベース5へ
反映する為のデータを指定する。 (22)入出力装置11は、保守装置3からの情報を解
析して、DB整合装置12を起動する。 (23)DB整合装置12は、指定されたデータをマス
ター・データベース5へ反映するように、修正,追加,
削除等の制御を行う。 (24)マスターデータベース5への反映処理後、保守
装置3へ終了通知を行う。
[0036] (21) The maintenance device 3 designates data to be reflected in the master database 5. (22) The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. (23) The DB matching device 12 corrects, adds, and reflects the designated data in the master database 5.
Control such as deletion. (24) After the reflection process in the master database 5, the maintenance device 3 is notified of the end.

【0037】前述の復旧手順〜に従って、マスター
・データベース5に障害が発生しても、単に外部記憶媒
体4のバックアップデータを用いる場合に比較して、正
しいデータに復旧することが可能となる。
According to the above-mentioned restoration procedure, even if a failure occurs in the master database 5, it becomes possible to restore the correct data as compared with the case where the backup data of the external storage medium 4 is simply used.

【0038】図3は本発明の第3の実施の形態の説明図
であり、図2と同一符号は同一部分を示し、16は時計
管理装置、17は時計管理テーブルである。マスター・
データベース5に障害が発生すると、外部記憶媒体4か
らマスター・データベース5にコピーするバックアップ
データ名とその時刻とを保守装置3から指定する。入出
力装置11は、保守装置3からの情報を解析して、DB
整合装置12を起動する。DB整合装置12は、DB入
出力装置13を起動する。このDB入出力装置13は、
指定されたバックアップデータ名と時刻とを、時間管理
装置16を介して時間管理テーブル17に登録する。図
示の状態は、1995年12月31日、17時に、DB
入出力装置を起動することを登録した場合を示す。即
ち、日時と装置名とデータ名等を必要に応じて登録する
ことができる。
FIG. 3 is an explanatory diagram of the third embodiment of the present invention. The same reference numerals as those in FIG. 2 denote the same parts, 16 is a clock management device, and 17 is a clock management table. Master
When a failure occurs in the database 5, the backup data name to be copied from the external storage medium 4 to the master database 5 and its time are designated from the maintenance device 3. The input / output device 11 analyzes information from the maintenance device 3 and
The matching device 12 is activated. The DB matching device 12 activates the DB input / output device 13. This DB input / output device 13
The designated backup data name and time are registered in the time management table 17 via the time management device 16. The state shown in the figure is at 31 o'clock on December 31, 1995 at DB.
The case where the activation of the input / output device is registered is shown. That is, the date and time, the device name, the data name, etc. can be registered as necessary.

【0039】時計管理装置16は、指定された時刻にな
ると、DB入出力装置13を起動する。起動されたDB
入出力装置13は、指定されたバックアップデータ名の
データを外部記憶媒体4から読出してマスター・データ
ベース5にコピーすることになる。そして、バックアッ
プデータのコピー処理と同時或いはコピー処理終了後
に、分散配置されたデータベース9−1〜9−nの何れ
かを選択して、そのデータをコピー・データベースにコ
ピーして比較処理することになる。なお、時刻指定を行
わない場合は、前述の第2の実施の形態の場合と同様
に、直ちに、外部記憶媒体4からバックアップデータを
読出してマスター・データベース5にコピーすることに
なる。
At the designated time, the clock management device 16 activates the DB input / output device 13. DB started
The input / output device 13 reads the data of the designated backup data name from the external storage medium 4 and copies it to the master database 5. Then, at the same time as the backup data copy processing or after the copy processing is completed, one of the distributed databases 9-1 to 9-n is selected, and the data is copied to the copy database for comparison processing. Become. If the time is not designated, the backup data is immediately read from the external storage medium 4 and copied to the master database 5, as in the case of the second embodiment described above.

【0040】処理装置2−1〜2−nは、マスター・デ
ータベース5の障害発生に拘らず、データベース9−1
〜9−nを検索して処理を実行しているものであるか
ら、その処理が少なくなる時間帯を前述のように指定す
ることにより、データベース9−1〜9−nを選択して
そのデータをデータベース管理装置1に転送しても、処
理装置2−1〜2−nの処理に与える影響を少なくする
ことができる。
The processing devices 2-1 to 2-n have the database 9-1 regardless of the failure of the master database 5.
~ 9-n is executed and the process is executed. Therefore, by specifying the time zone in which the process is reduced as described above, the databases 9-1 to 9-n are selected and their data are selected. Can be transferred to the database management device 1, the influence on the processing of the processing devices 2-1 to 2-n can be reduced.

【0041】図4は本発明の第4の実施の形態の説明図
であり、図3と同一符号は同一部分を示し、又データベ
ース管理装置1は、図示を省略したマスター・データベ
ースを備えているものである。このマスター・データベ
ースの障害発生時に、マスター・データベースにコピー
したバックアップデータと、処理装置2−1〜2−nの
データベース9−1〜9−nの何れか一つを選択してコ
ピーしたデータとを比較処理する時刻を指定する場合を
示し、保守装置3からその比較処理時刻やデータベース
名等を指定する。
FIG. 4 is an explanatory view of a fourth embodiment of the present invention, in which the same reference numerals as those in FIG. 3 indicate the same parts, and the database management device 1 includes a master database (not shown). It is a thing. Backup data copied to the master database when a failure occurs in the master database, and data copied by selecting any one of the databases 9-1 to 9-n of the processing devices 2-1 to 2-n. Shows the case of designating the time for comparison processing, and the comparison processing time, the database name, etc. are designated from the maintenance device 3.

【0042】入出力装置11は、保守装置3からの情報
を解析して、DB整合装置12を起動する。起動された
DB整合装置12は、DB転送装置15を起動する。D
B転送装置15は、時計管理装置16を介して時計管理
テーブル17に、DB転送装置とそれを起動する時刻と
を登録する。図示の場合は、1995年12月31日、
17時と、DB転送装置とが登録された場合を示す。な
お、データベース名を含めて登録することができる。
The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. The activated DB matching device 12 activates the DB transfer device 15. D
The B transfer device 15 registers the DB transfer device and the time when the DB transfer device is activated in the clock management table 17 via the clock management device 16. In the case shown, December 31, 1995,
A case in which the DB transfer device is registered at 17:00 is shown. The database name can be included in the registration.

【0043】時計管理装置16は、時計管理テーブル1
7に登録された時刻になると、登録されたDB転送装置
15を起動する。それにより、DB転送装置15は、指
定されたデータベース名に従って、例えば、データベー
ス9−1のデータをコピー・データベース6に転送して
コピーする。そして、前述のように、コピーされたデー
タと、マスター・データベースにコピーされたバックア
ップデータとの比較処理が行われる。この場合も、時刻
を登録しないと、保守装置3からの指示により直ちに指
定されたデータベースからコピー・データベース6への
データのコピーが行われる。
The clock management device 16 includes the clock management table 1
When the time registered in 7 is reached, the registered DB transfer device 15 is activated. Thereby, the DB transfer device 15 transfers, for example, the data in the database 9-1 to the copy database 6 according to the designated database name and copies the data. Then, as described above, the comparison process of the copied data and the backup data copied to the master database is performed. Also in this case, if the time is not registered, the data is copied from the designated database to the copy database 6 immediately by the instruction from the maintenance device 3.

【0044】図5は本発明の第5の実施の形態の説明図
であり、図4と同一符号は同一部分を示し、18はDB
監視装置である。又データベース管理装置1は、図示を
省略したマスター・データベースを備えているものであ
る。又処理装置2−1〜2−nのデータベース9−1〜
9−nは、データの最終更新日付情報を保持している。
マスター・データベースの障害発生時、保守装置3から
全処理装置2−1〜2−nのデータベース9−1〜9−
nの一覧の読出しを指示する。
FIG. 5 is an explanatory diagram of the fifth embodiment of the present invention. The same reference numerals as those in FIG.
It is a monitoring device. The database management device 1 also includes a master database (not shown). Also, the databases 9-1 to 9-1 of the processing devices 2-1 to 2-n
9-n holds the last update date information of the data.
When a failure occurs in the master database, the maintenance device 3 causes the databases 9-1 to 9-of all the processing devices 2-1 to 2-n to be released.
Instruct to read the list of n.

【0045】入出力装置11は、保守装置3からの情報
を解析し、DB整合装置12を起動する。DB整合装置
12は、DB監視装置18を起動する。DB監視装置1
8は、データベース管理装置1に接続されている全処理
装置2−1〜2−nのデータベース9−1〜9−nの一
覧を表示する為のデータを読出して、DB整合装置12
と入出力装置11とを介して保守装置3へ転送する。保
守者は、保守装置3に表示されたデータベース9−1〜
9−nから一つ或いは複数選択して、データの転送を指
示する。
The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. The DB matching device 12 activates the DB monitoring device 18. DB monitoring device 1
Reference numeral 8 reads out data for displaying a list of the databases 9-1 to 9-n of all the processing devices 2-1 to 2-n connected to the database management device 1, and the DB matching device 12
And the I / O device 11 to the maintenance device 3. The maintenance person uses the databases 9-1 to 9-1 displayed on the maintenance device 3.
One or a plurality of 9-n are selected to instruct data transfer.

【0046】入出力装置11は、保守装置3からの情報
を解析してDB整合装置12を起動し、DB整合装置1
2はDB転送装置15を処理装置を指定して起動し、D
B転送装置15は、指定された一つ或いは複数の処理装
置対応のデータベースからのデータを、コピー・データ
ベース6に転送する。その場合、コピー・データベース
6は、複数のデータベース対応の台数或いは複数のデー
タベースのデータを格納できる容量とする。
The input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12, and the DB matching device 1
2 starts the DB transfer device 15 by designating a processing device, and D
The B transfer device 15 transfers the data from the database corresponding to the designated one or a plurality of processing devices to the copy database 6. In that case, the copy database 6 has a capacity capable of storing the number of databases corresponding to a plurality of databases or the data of a plurality of databases.

【0047】又マスター・データベースの障害発生時
に、保守装置3から全処理装置2−1〜2−nのデータ
ベース9−1〜9−nの最終更新日付情報の読出しを指
示することができる。その指示に従って、DB監視装置
18は、各データベース9−1〜9−nの最終更新日付
情報を読出して、保守装置3へ転送する。
Further, when a failure occurs in the master database, the maintenance device 3 can instruct to read the last update date information of the databases 9-1 to 9-n of all the processing devices 2-1 to 2-n. According to the instruction, the DB monitoring device 18 reads the last update date information of each of the databases 9-1 to 9-n and transfers it to the maintenance device 3.

【0048】保守者は、表示されたデータベース9−1
〜9−n対応の最終更新日付情報を基に、例えば、最新
の日付けに対応するデータベースを指定する。図示の最
終更新日付情報の最新の日付けのデータベースは9−2
であるから、保守者は、処理装置2−2のデータベース
9−2を指定して、コピー・データベース6へのデータ
転送を指示する。それによって、DB転送装置15は、
データベース9−2のデータをコピー・データベース6
へ転送する。この場合も、複数のデータベースを選択し
て、データの転送を行わせることができる。
The maintenance person displays the displayed database 9-1.
Based on the last update date information corresponding to 9-n, for example, the database corresponding to the latest date is designated. The latest date database of the latest update date information shown is 9-2.
Therefore, the maintenance person designates the database 9-2 of the processing device 2-2 and instructs the data transfer to the copy database 6. Thereby, the DB transfer device 15
Copy data from database 9-2 database 6
Transfer to In this case as well, data transfer can be performed by selecting a plurality of databases.

【0049】図6は本発明の第6の実施の形態の説明図
であり、前述の各図と同一符号は同一部分を示し、20
はDB転送情報部である。又データベース管理装置1
は、図示を省略したマスター・データベースを備えてい
る。DB転送情報部20に、保守装置3から処理装置2
−1〜2−n又はデータベース9−1〜9−nを登録し
ておくものである。図示の場合は、処理装置2−2が登
録されている。
FIG. 6 is an explanatory view of the sixth embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same parts, and 20
Is a DB transfer information section. Database management device 1
Has a master database (not shown). From the maintenance device 3 to the processing device 2 in the DB transfer information section 20.
-1 to 2-n or databases 9-1 to 9-n are registered. In the illustrated case, the processing device 2-2 is registered.

【0050】従って、マスター・データベースの障害発
生時に、保守装置3から処理装置2−1〜2−n又はデ
ータベース9−1〜9−nを指定しない場合でも、DB
整合装置12は、DB転送情報部20に登録された処理
装置2−2又はデータベースを基に、DB転送装置15
を起動して、処理装置2−2のデータベース9−2のデ
ータをコピー・データベース6に転送することができ
る。この場合も、複数の処理装置又はデータベースを登
録することも可能であり、又保守装置3から必要に応じ
て変更することも可能である。
Therefore, even if the maintenance device 3 does not specify the processing devices 2-1 to 2-n or the databases 9-1 to 9-n when a failure occurs in the master database, the DB
The matching device 12 uses the DB transfer device 15 based on the processing device 2-2 or the database registered in the DB transfer information unit 20.
Can be activated to transfer the data in the database 9-2 of the processing device 2-2 to the copy database 6. Also in this case, it is possible to register a plurality of processing devices or databases, and it is also possible to change them from the maintenance device 3 as needed.

【0051】図7は本発明の第7の実施の形態の説明図
であり、前述の各図と同一符号は同一部分を示し、21
はDB転送情報部である。このDB転送情報部21に、
保守装置3からデータベースを最終更新日付けに基づい
て選択する情報を登録する。又データベース管理装置1
は、前述の各実施の形態と同様に、マスター・データベ
ース(図示を省略)を備えている。
FIG. 7 is an explanatory view of the seventh embodiment of the present invention, in which the same symbols as those in the above-mentioned respective drawings indicate the same parts, and 21
Is a DB transfer information section. In this DB transfer information section 21,
Information for selecting a database from the maintenance device 3 based on the date of the last update is registered. Database management device 1
Includes a master database (not shown) as in the above-described embodiments.

【0052】マスター・データベースの障害発生時に、
保守装置3からデータベースからコピー・データベース
6へのデータの転送を指示すると、入出力装置11は保
守装置3からの情報を解析して、DB整合装置12を起
動する。DB整合装置12は、DB転送情報部21の登
録情報を読出し、前述の第6の実施の形態のように、処
理装置2−1〜2−n又はデータベース9−1〜9−n
を指定して登録するものではなく、最終更新日付けに基
づいて選択する登録情報であるから、DB監視装置18
を起動し、全処理装置2−1〜2−nのデータベース9
−1〜9−nの最終更新日付情報を読出して比較し、最
新の更新日付けのデータベースを選択して通知する。
When a failure occurs in the master database,
When the maintenance device 3 gives an instruction to transfer data from the database to the copy database 6, the input / output device 11 analyzes the information from the maintenance device 3 and activates the DB matching device 12. The DB matching device 12 reads the registration information of the DB transfer information unit 21, and as in the above-described sixth embodiment, the processing devices 2-1 to 2-n or the databases 9-1 to 9-n.
Is not registered by designating the registered information, but the registered information is selected based on the date of the last update.
To start the database 9 of all processing devices 2-1 to 2-n.
The last update date information of -1 to 9-n is read and compared, and the latest update date database is selected and notified.

【0053】DB整合装置12は、DB監視装置18か
らの通知に基づいて、処理装置を指定してDB転送装置
15を起動する。この場合の最新の更新日付けは、処理
装置2−2のデータベース9−2であるから、DB整合
装置12は、処理装置2−2を指定してDB転送装置1
5を起動する。DB転送装置15は、指定された処理装
置2−2のデータベース9−2からのデータをコピー・
データベース6に転送する。そして、図示を省略してい
るマスター・データベースにコピーしたバックアップデ
ータと比較処理するものである。
The DB matching device 12 designates a processing device and activates the DB transfer device 15 based on the notification from the DB monitoring device 18. Since the latest update date in this case is the database 9-2 of the processing device 2-2, the DB matching device 12 specifies the processing device 2-2 and the DB transfer device 1
5 is started. The DB transfer device 15 copies the data from the database 9-2 of the designated processing device 2-2.
Transfer to database 6. Then, it is compared with the backup data copied to the master database (not shown).

【0054】又DB転送情報部21に、最終更新日付け
に基づいてデータベース9−1〜9−nを選択する情報
を登録すると共に、その選択範囲の処理装置又はデータ
ベースを登録することもできる。例えば、処理装置2−
2〜2−5を選択範囲として指定し、且つ最終更新日付
けに基づいて選択する情報を登録することができる。又
保守装置3からその都度入力することなく、予め最終更
新日付けから順に複数のデータベースを選択するように
登録することもできる。
Further, in the DB transfer information section 21, it is possible to register information for selecting the databases 9-1 to 9-n based on the date of the last update, and also register the processing device or the database of the selected range. For example, the processing device 2-
It is possible to specify 2 to 2-5 as the selection range and register information to be selected based on the date of the last update. It is also possible to register in advance so as to select a plurality of databases in order from the date of the last update without inputting each time from the maintenance device 3.

【0055】図8は本発明の第8の実施の形態の説明図
であり、前述の各図と同一符号は同一部分を示し、マス
ター・データベース5の障害発生時に、前述のように、
マスター・データベース5には、図示を省略した外部記
憶媒体からバックアップデータをコピーし、コピー・デ
ータベース6には、選択したデータベースからデータを
コピーし、DB比較装置14に於いて比較処理を行う時
刻を、保守装置3から時計管理テーブル17に登録す
る。図示状態では、1995年12月31日の17時の
日時と、DB比較装置とが登録されている。
FIG. 8 is an explanatory diagram of an eighth embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same portions, and when a failure occurs in the master database 5, as described above,
Backup data is copied from an external storage medium (not shown) to the master database 5, data is copied from the selected database to the copy database 6, and the time at which comparison processing is performed in the DB comparison device 14 is set. , Is registered in the clock management table 17 from the maintenance device 3. In the illustrated state, the date and time at 17:00 on December 31, 1995 and the DB comparison device are registered.

【0056】時計管理テーブル17に登録された日時に
なると、時計管理装置16は、DB比較装置14を起動
する。DB比較装置14は、マスター・データベース5
にコピーされたバックアップデータと、コピー・データ
ベース6にコピーされたデータベースからのデータとを
比較処理し、差分情報を差分情報格納部7に格納する。
この比較処理の終了により自動的或いは保守装置3から
の指示に従って差分情報を保守装置3へ転送し、前述の
ように、マスター・データベース5のデータの更新等を
行って、マスター・データベース5の障害復旧を行う。
When the date and time registered in the clock management table 17 arrives, the clock management device 16 activates the DB comparison device 14. The DB comparison device 14 is a master database 5
The backup data copied to the copy database 6 is compared with the data from the database copied to the copy database 6, and the difference information is stored in the difference information storage unit 7.
Upon completion of the comparison process, the difference information is transferred to the maintenance device 3 automatically or in accordance with an instruction from the maintenance device 3, and as described above, the data in the master database 5 is updated to prevent a failure of the master database 5. Restore.

【0057】この場合、時計管理テーブル17に、比較
処理の日時が登録されていないと、コピー・データベー
ス6にデータベース9−1〜9−nからデータがコピー
された時点で比較処理が開始される。
In this case, if the date and time of the comparison processing is not registered in the clock management table 17, the comparison processing is started when the data is copied from the databases 9-1 to 9-n to the copy database 6. .

【0058】図9は本発明の第9の実施の形態の説明図
であり、データベース管理装置1は、マスター・データ
ベース5と共に、処理装置2−1〜2−3のデータベー
ス9−1〜9−3対応のコピー・データベース6−1〜
6−3と、差分情報格納部7−1〜7−3とを備えてい
る。又前述の各図と同一符号は同一部分を示す。
FIG. 9 is an explanatory diagram of the ninth embodiment of the present invention, in which the database management device 1 is provided with the master database 5 and the databases 9-1 to 9- of the processing devices 2-1 to 2-3. 3-compatible copy database 6-1
6-3 and difference information storage units 7-1 to 7-3. Further, the same reference numerals as those in the above-mentioned drawings indicate the same parts.

【0059】マスター・データベース5の障害発生時
に、前述の各実施の形態の場合と同様に、保守装置3か
らの指示に従って図示を省略した外部記憶媒体からバッ
クアップデータをマスター・データベース5にコピーす
る。又複数の処理装置2−1〜2−3対応のデータベー
ス9−1〜9−3からのデータを、DB転送装置15を
起動してコピー・データベース6−1〜6−3にそれぞ
れ転送してコピーする。又保守装置3からマスター・デ
ータベース5にコピーしたバックアップデータと比較す
る単一又は複数のコピー・データベース6−1〜6−3
を指定する。
When a failure occurs in the master database 5, backup data is copied to the master database 5 from an external storage medium (not shown) in accordance with an instruction from the maintenance device 3 as in the above-described embodiments. Further, the data from the databases 9-1 to 9-3 corresponding to the plurality of processing devices 2-1 to 2-3 are transferred to the copy databases 6-1 to 6-3 by starting the DB transfer device 15. make a copy. Also, a single or a plurality of copy databases 6-1 to 6-3 to be compared with the backup data copied from the maintenance device 3 to the master database 5.
Is specified.

【0060】保守装置3からの指定に従ってDB比較装
置14は、マスター・データベース5にコピーしたバッ
クアップデータと、指定したコピー・データベースのデ
ータとを比較し、差分情報を指定コピー・データベース
対応の差分情報格納部に格納する。又保守装置3から比
較処理するコピー・データベース6−1〜6−3を指定
しない場合は、全コピー・データベース6−1〜6−3
のデータと、マスター・データベース5のデータとを比
較し、差分情報1〜3を差分情報格納部7−1〜7−3
に格納する。
According to the designation from the maintenance device 3, the DB comparison device 14 compares the backup data copied to the master database 5 with the data of the designated copy database, and compares the difference information with the difference information corresponding to the designated copy database. Store in the storage unit. If the copy databases 6-1 to 6-3 for comparison processing are not specified from the maintenance device 3, all copy databases 6-1 to 6-3 are specified.
Data of the master database 5 are compared with each other, and the difference information 1 to 3 is obtained from the difference information storage units 7-1 to 7-3.
To be stored.

【0061】比較処理の終了後、保守装置3の要求に従
って差分情報を、差分情報格納部から保守装置3へ転送
し、保守者の判断によりマスター・データベース5のデ
ータの修正等を行って、マスター・データベース5の障
害復旧を行う。
After the comparison process is completed, the difference information is transferred from the difference information storage unit to the maintenance device 3 in accordance with the request from the maintenance device 3, and the data in the master database 5 is corrected according to the judgment of the maintenance person. -Failure recovery of database 5 is performed.

【0062】図10は本発明の第10の実施の形態の説
明図であり、前述の各図と同一符号は同一部分を示す。
この実施の形態は、マスター・データベース5にコピー
したバックアップデータと、コピー・データベース6に
処理装置2−1〜2−nのデータベース9−1〜9−n
からコピーしたデータとを、DB比較装置14に於いて
比較処理する時に、保守装置3へ差分情報又は差分情報
の有無を通知する場合を示す。
FIG. 10 is an explanatory view of the tenth embodiment of the present invention, and the same reference numerals as those in the above-mentioned drawings indicate the same parts.
In this embodiment, the backup data copied to the master database 5 and the copy database 6 include the databases 9-1 to 9-n of the processing devices 2-1 to 2-n.
The case where the maintenance device 3 is notified of the difference information or the presence / absence of the difference information when comparing the data copied from the above in the DB comparison device 14 is shown.

【0063】この場合、保守装置3から比較結果の差分
情報の要求と比較処理の開始とを指示すると、入出力装
置11はこの指示情報を解析して、DB整合装置12を
起動し、DB整合装置12はDB比較装置14を起動す
る。DB比較装置14は、マスター・データベース5と
コピー・データベース6とのデータの比較処理を行い、
差分情報については差分情報格納部7に格納すると共
に、DB整合装置12と入出力装置11とを介して保守
装置3へ転送する。保守者は、表示された差分情報を認
識して、比較処理終了後のマスター・データベース5の
データの修正等を行うことになる。又保守装置3から差
分情報の要求を行わない場合は、差分情報の有無のみを
保守装置3へ通知することができる。
In this case, when the maintenance device 3 gives an instruction to request the difference information of the comparison result and to start the comparison process, the input / output device 11 analyzes the instruction information and activates the DB matching device 12 to perform the DB matching. The device 12 activates the DB comparison device 14. The DB comparison device 14 performs data comparison processing between the master database 5 and the copy database 6,
The difference information is stored in the difference information storage unit 7 and transferred to the maintenance device 3 via the DB matching device 12 and the input / output device 11. The maintenance person recognizes the displayed difference information and corrects the data in the master database 5 after the comparison process is completed. When the maintenance device 3 does not request the difference information, only the presence or absence of the difference information can be notified to the maintenance device 3.

【0064】図11は本発明の第11の実施の形態の説
明図であり、前述の各図と同一符号は同一部分を示し、
7−4は差分情報格納部、22はDB論理装置である。
このDB論理装置22は、差分情報格納部7−1〜7−
3からの差分情報について論理積又は論理和等の論理処
理を施して差分情報格納部7−4に格納する場合を示
す。
FIG. 11 is an explanatory view of the eleventh embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same parts,
Reference numeral 7-4 is a difference information storage unit, and 22 is a DB logic device.
The DB logic device 22 includes difference information storage units 7-1 to 7-.
The case where the difference information from 3 is subjected to logical processing such as logical product or logical sum and stored in the difference information storage unit 7-4 is shown.

【0065】即ち、マスター・データベース5の障害発
生時に、保守装置3からの指示に従って、図示を省略し
た外部記憶媒体からバックアップデータをコピーし、又
複数の処理装置2−1〜2−3のデータベース9−1〜
9−3のデータをDB転送装置15の制御によってコピ
ー・データベース6−1〜6−3に転送してコピーし、
DB比較装置14により、マスター・データベース5の
データと、各コピー・データベース6−1〜6−3のデ
ータとを比較処理して、差分情報を差分情報格納部7−
1〜7−3に格納する。
That is, when a failure occurs in the master database 5, backup data is copied from an external storage medium (not shown) according to an instruction from the maintenance device 3, and the databases of the plurality of processing devices 2-1 to 2-3 are also copied. 9-1
The data 9-3 is transferred to the copy databases 6-1 to 6-3 under the control of the DB transfer device 15 and copied,
The DB comparison device 14 compares the data in the master database 5 with the data in each of the copy databases 6-1 to 6-3, and the difference information is stored in the difference information storage unit 7-.
Stored in 1 to 7-3.

【0066】又保守装置3からDB論理装置22に対し
て差分情報の論理積又は論理和等の論理処理を指示す
る。それによって、差分情報格納部7−1〜7−3の差
分情報について論理処理し、差分情報格納部7−4に格
納する。この差分情報格納部7−4に格納された情報を
基に、マスター・データベース5のデータの修正等を行
って、障害復旧を行うものである。
Further, the maintenance device 3 instructs the DB logical device 22 to perform logical processing such as logical product or logical sum of difference information. Thereby, the difference information in the difference information storage units 7-1 to 7-3 is logically processed and stored in the difference information storage unit 7-4. Based on the information stored in the difference information storage unit 7-4, the data in the master database 5 is corrected and the failure is restored.

【0067】図12は差分情報の論理処理の説明図であ
り、(A)は論理積の場合を示し、例えば、差分情報格
納部7−1,7−2の差分情報1,2について比較処理
し、その一部データ*1,*2が、*1≠*2の場合、
その同一でない*1,*2のデータ部分を除いて、差分
情報格納部7−4に格納する。
FIG. 12 is an explanatory diagram of the logical processing of the difference information. FIG. 12A shows the case of the logical product. For example, the comparison processing of the difference information 1 and 2 in the difference information storage units 7-1 and 7-2. If the partial data * 1 and * 2 are * 1 ≠ * 2,
The data portions of * 1 and * 2, which are not the same, are stored in the difference information storage unit 7-4.

【0068】又(B)は論理和の場合を示し、例えば、
差分情報格納部7−1,7−3の差分情報1,3につい
て比較処理し、その一部データ*1,*3が、*1≠*
3の場合、保守装置3からの設定により、差分情報格納
部7−1側を優先する場合は一部データ*1を差分情報
格納部7−4に格納し、且つ一部データ*1,*3の除
いたデータ次に格納する。又、差分情報格納部7−3側
を優先する場合は、一部データ*3を差分情報格納部7
−4に格納し、且つ一部データ*1,*3の除いたデー
タ次に格納する。
Further, (B) shows a case of logical sum, for example,
The difference information 1 and 3 in the difference information storage units 7-1 and 7-3 are compared, and the partial data * 1 and * 3 are * 1 ≠ *.
In the case of 3, partial data * 1 is stored in the differential information storage unit 7-4 when the side of the differential information storage unit 7-1 is prioritized by the setting from the maintenance device 3, and partial data * 1, * Data excluding 3 is stored next. When the difference information storage unit 7-3 side is prioritized, a part of the data * 3 is stored in the difference information storage unit 7-3.
-4, and the data excluding the partial data * 1 and * 3 is stored next.

【0069】図13は本発明の第12の実施の形態の説
明図であり、前述の各図と同一符号は同一部分を示し、
マスター・データベース5の障害発生により、図示を省
略した外部記憶媒体からバックアップデータをコピー
し、又処理装置2−1〜2−nのデータベース9−1〜
9−nの任意の1台又は複数台のデータベースからのデ
ータを、図示を省略したコピー・データベースにコピー
し、マスター・データベース5とコピー・データベース
のデータとを比較処理した差分情報を、差分情報格納部
7に格納した状態を示している。
FIG. 13 is an explanatory view of the twelfth embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same parts,
Due to the failure of the master database 5, backup data is copied from an external storage medium (not shown), and the databases 9-1 to 9-n of the processing devices 2-1 to 2-n are also copied.
The difference information obtained by copying the data from any one or a plurality of databases 9-n to a copy database (not shown) and comparing the data of the master database 5 and the data of the copy database The state stored in the storage unit 7 is shown.

【0070】この差分情報には、データベース9−1〜
9−nの最終更新日付情報が付加されているもので、保
守装置3から更新日付を指定するか、又は更新日付の範
囲を指定することができる。それによって、DB整合装
置12は、指定された更新日付又は更新日付の範囲内の
差分情報を、差分情報格納部7から読出して、入出力装
置11を介して保守装置3へ転送する。従って、保守者
は、所望の日付の差分情報の有無を含めて、その内容を
認識することができる。
This difference information includes the databases 9-1 to 9-1.
The last update date information of 9-n is added, and the update date can be specified from the maintenance device 3 or the range of the update date can be specified. As a result, the DB matching device 12 reads the specified update date or the difference information within the range of the update date from the difference information storage unit 7 and transfers it to the maintenance device 3 via the input / output device 11. Therefore, the maintenance person can recognize the content including the presence or absence of the difference information of the desired date.

【0071】図14は本発明の第13の実施の形態の説
明図であり、図13と同一符号は同一部分を示す。この
実施の形態は、図13の状態に於いて、保守装置3に表
示された差分情報を認識し、その差分情報を基に、マス
ター・データベース5のデータの修正等を行うものであ
る。それによって、障害発生のマスター・データベース
5を確実に復旧させることができる。
FIG. 14 is an explanatory view of the thirteenth embodiment of the present invention, and the same reference numerals as those in FIG. 13 indicate the same parts. In this embodiment, in the state of FIG. 13, the difference information displayed on the maintenance device 3 is recognized, and the data of the master database 5 is corrected based on the difference information. Thereby, the master database 5 in which the failure has occurred can be reliably restored.

【0072】図15は本発明の第14の実施の形態の説
明図であり、前述の各図と同一符号は同一部分を示す。
この実施の形態は、図14に示す実施の形態に於けるマ
スター・データベース5に対する差分情報の反映の処理
時刻を、保守装置3から時計管理テーブル17に登録す
る場合を示す。時計管理装置16は、時計管理テーブル
17に、例えば、1995年12月31日の17時と、
DB整合装置と差分情報の反映指示情報と登録されてい
ると、その日時にDB整合装置12を起動し、反映処理
を開始させる。
FIG. 15 is an explanatory view of the fourteenth embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same parts.
In this embodiment, the processing time for reflecting the difference information to the master database 5 in the embodiment shown in FIG. 14 is registered from the maintenance device 3 in the clock management table 17. The clock management device 16 displays in the clock management table 17, for example, 17:00 on December 31, 1995,
If the DB matching device and the reflection instruction information of the difference information are registered, the DB matching device 12 is activated at that date and time to start the reflection process.

【0073】起動されたDB整合装置12は、差分情報
格納部7から差分情報を読出して、マスター・データベ
ース5にコピーされたバックアップデータの修正等を行
うことになる。この場合の差分情報格納部7を、図11
に示す差分情報格納部7−4として、論理処理を施され
た差分情報を基に、マスター・データベース5のデータ
を修正することができる。
The activated DB matching device 12 reads the difference information from the difference information storage unit 7 and corrects the backup data copied to the master database 5. The difference information storage unit 7 in this case is shown in FIG.
The difference information storage unit 7-4 shown in FIG. 6 can correct the data in the master database 5 based on the difference information that has been subjected to the logical processing.

【0074】図16は本発明の第15の実施の形態の説
明図であり、前述の各図と同一符号は同一部分を示す。
この実施の形態は、差分情報を処理装置のデータベース
に反映する場合を示し、差分情報格納部7に差分情報が
格納された状態に於いて、保守装置3からの指示に従っ
て、差分情報格納部7から差分情報を保守装置3に転送
し、保守者は表示された差分情報の認識,選択を行い、
バックアップデータに対する差分情報がデータベース側
の誤り又は更新漏れの場合、その処理装置又はデータベ
ースを指定する。例えば、データベース9−2のデータ
を修正する必要があることを保守者が認識すると、処理
装置2−2又はそのデータベース9−2を指定し、この
差分情報を基に修正処理を行う。
FIG. 16 is an explanatory view of the fifteenth embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same parts.
This embodiment shows a case where the difference information is reflected in the database of the processing device. In the state where the difference information is stored in the difference information storage unit 7, the difference information storage unit 7 is instructed according to the instruction from the maintenance device 3. From the difference information to the maintenance device 3, the maintenance person recognizes and selects the displayed difference information,
If the difference information with respect to the backup data is an error on the database side or an update omission, the processing device or database is specified. For example, when the maintenance person recognizes that the data in the database 9-2 needs to be corrected, the processor 2-2 or its database 9-2 is designated and the correction processing is performed based on this difference information.

【0075】図17は本発明の第16の実施の形態の説
明図であり、前述の各図と同一符号は同一部分を示す。
この実施の形態は、データベース管理装置1のマスター
・データベース5の障害発生時に、複数の処理装置2−
1〜2−nのデータベース9−1〜9−nの中の一つを
選択し、そのデータをDB転送装置15を介してマスタ
ー・データベース5に転送してコピーする。
FIG. 17 is an explanatory diagram of the sixteenth embodiment of the present invention, in which the same reference numerals as those in the above-mentioned drawings indicate the same parts.
In this embodiment, when a failure occurs in the master database 5 of the database management device 1, a plurality of processing devices 2-
One of the databases 1-2-1 to 9-n is selected, and the data is transferred to the master database 5 via the DB transfer device 15 and copied.

【0076】この場合、保守装置3からマスター・デー
タベース5に対してデータを転送するデータベースを、
予め或いはその都度指定するか、又は図5,図6,図7
に示すように、最終更新日付情報を基に、保守者の認識
或いは最新の更新日付を自動認識して、データベースを
選択することができる。
In this case, a database for transferring data from the maintenance device 3 to the master database 5 is
Specify in advance or each time, or in FIGS. 5, 6 and 7.
As shown in, the database can be selected by recognizing the maintenance person or automatically recognizing the latest update date based on the last update date information.

【0077】又データベース管理装置1にプリンタ等を
接続し、マスター・データベース5の障害記録や復旧記
録をプリントアウトすることができる。又保守装置3か
らマスター・データベース5の復旧手順について逐一指
示を入力するように構成することも可能である。又従来
例として示すインテリジェント・ネットワーク・システ
ムに対して適用できることは勿論であるが、その他の同
一内容のデータを分散して保持する分散データベースに
対しても、マスター・データベースの障害発生時に、本
発明の復旧方法を適用することができる。
A printer or the like can be connected to the database management device 1 to print out the trouble record and the recovery record of the master database 5. It is also possible to input a command from the maintenance device 3 for each recovery procedure of the master database 5. In addition, the present invention can be applied to the intelligent network system shown as a conventional example, but the present invention can be applied to other distributed databases that hold data of the same content in a distributed manner when a failure occurs in the master database. The recovery method of can be applied.

【0078】[0078]

【発明の効果】以上説明したように、本発明は、分散デ
ータベースに於けるマスター・データベース5の障害発
生時に、分散されたデータベースの最新のデータを利用
して復旧させることができる。従って、マスター・デー
タベース5の信頼性を維持することができる利点があ
る。又実際の処理は、処理装置2−1〜2−nのデータ
ベース9−1〜9−nに対してアクセスして実行される
から、マスター・データベース5の障害回復は、処理装
置2−1〜2−nの状態に対応した日時に実行するよう
に制御することができ、システム全体に与える影響を小
さくして、マスター・データベース5の障害復旧を行う
ことができる。
As described above, according to the present invention, when the failure of the master database 5 in the distributed database occurs, the latest data in the distributed database can be used for restoration. Therefore, there is an advantage that the reliability of the master database 5 can be maintained. Further, since the actual processing is executed by accessing the databases 9-1 to 9-n of the processing devices 2-1 to 2-n, the failure recovery of the master database 5 is performed by the processing devices 2-1 to 2-1. It can be controlled to execute at a date and time corresponding to the 2-n state, and the influence on the entire system can be reduced, and the failure recovery of the master database 5 can be performed.

【0079】又データベース管理装置1は、マスター・
データベース5と、コピー・データベース6と、差分情
報格納部7と、比較処理部8等を備えて、常時は、マス
ター・データベース5をデータ変更要求に従って変更し
た後、データベース9−1〜9−nのアクセス空き状態
に対応して、マスター・データベース5側から更新制御
を行うものであるが、このマスター・データベース5の
障害発生時は、バックアップデータ及びデータベース9
−1〜9−nのデータを利用して最新のデータに復元す
るものであり、比較的簡単な処理によって障害復旧を行
うことができ、マスター・データベースの信頼性を向上
することができる利点がある。
Further, the database management device 1 is a master
The database 5, the copy database 6, the difference information storage unit 7, the comparison processing unit 8 and the like are provided, and the database 9-1 to 9-n is normally used after the master database 5 is changed according to the data change request. The update control is performed from the master database 5 side according to the free access state of the master database 5. However, when the master database 5 fails, the backup data and the database 9
-1 to 9-n is used to restore the latest data, and there is an advantage that the failure recovery can be performed by a relatively simple process and the reliability of the master database can be improved. is there.

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

【図1】本発明の第1の実施の形態の説明図である。FIG. 1 is an explanatory diagram of a first embodiment of the present invention.

【図2】本発明の第2の実施の形態の説明図である。FIG. 2 is an explanatory diagram of a second embodiment of the present invention.

【図3】本発明の第3の実施の形態の説明図である。FIG. 3 is an explanatory diagram of a third embodiment of the present invention.

【図4】本発明の第4の実施の形態の説明図である。FIG. 4 is an explanatory diagram of a fourth embodiment of the present invention.

【図5】本発明の第5の実施の形態の説明図である。FIG. 5 is an explanatory diagram of a fifth embodiment of the present invention.

【図6】本発明の第6の実施の形態の説明図である。FIG. 6 is an explanatory diagram of a sixth embodiment of the present invention.

【図7】本発明の第7の実施の形態の説明図である。FIG. 7 is an explanatory diagram of a seventh embodiment of the present invention.

【図8】本発明の第8の実施の形態の説明図である。FIG. 8 is an explanatory diagram of an eighth embodiment of the present invention.

【図9】本発明の第9の実施の形態の説明図である。FIG. 9 is an explanatory diagram of a ninth embodiment of the present invention.

【図10】本発明の第10の実施の形態の説明図であ
る。
FIG. 10 is an explanatory diagram of a tenth embodiment of the present invention.

【図11】本発明の第11の実施の形態の説明図であ
る。
FIG. 11 is an explanatory diagram of an eleventh embodiment of the present invention.

【図12】差分情報の論理処理の説明図である。FIG. 12 is an explanatory diagram of logical processing of difference information.

【図13】本発明の第12の実施の形態の説明図であ
る。
FIG. 13 is an explanatory diagram of the twelfth embodiment of the present invention.

【図14】本発明の第13の実施の形態の説明図であ
る。
FIG. 14 is an explanatory diagram of a thirteenth embodiment of the present invention.

【図15】本発明の第14の実施の形態の説明図であ
る。
FIG. 15 is an explanatory diagram of the fourteenth embodiment of the present invention.

【図16】本発明の第15の実施の形態の説明図であ
る。
FIG. 16 is an explanatory diagram of the fifteenth embodiment of the present invention.

【図17】本発明の第16の実施の形態の説明図であ
る。
FIG. 17 is an explanatory diagram of the sixteenth embodiment of the present invention.

【図18】従来例のインテリジェント・ネットワーク・
システムの説明図である。
FIG. 18: Intelligent network of conventional example
It is an explanatory view of a system.

【図19】分散データベースを備えたシステムの説明図
である。
FIG. 19 is an explanatory diagram of a system including a distributed database.

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

1 データベース管理装置 2−1〜2−n 処理装置 3 保守装置 4 外部記憶媒体 5 マスター・データベース 6 コピー・データベース 7 差分情報格納部 8 比較処理部 9−1〜9−n データベース 1 Database Management Device 2-1 to 2-n Processing Device 3 Maintenance Device 4 External Storage Medium 5 Master Database 6 Copy Database 7 Difference Information Storage Unit 8 Comparison Processing Unit 9-1 to 9-n Database

───────────────────────────────────────────────────── フロントページの続き (72)発明者 伊藤 やよい 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 (72)発明者 守田 寛 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 (72)発明者 渡辺 正樹 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yayoi Ito 3-9-18 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa Fujitsu Communication Systems Limited (72) Inventor Hiroshi Morita 3 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa 9-9-18 Fujitsu Communication Systems Limited (72) Inventor Masaki Watanabe 3-9-18 Shin-Yokohama, Kohoku Ward, Yokohama City, Kanagawa Prefecture Fujitsu Communication Systems Limited

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 マスター・データベースの内容と同一と
なるように更新制御される複数のデータベースを有する
分散データベースの障害復旧方法に於いて、 前記マスター・データベースの障害発生時に、保守装置
からの指示に従って選択した前記複数のデータベースの
中の一つのデータベースのデータを、前記マスター・デ
ータベースに転送して、該マスター・データベースの障
害を復旧させる過程を含むことを特徴とする分散データ
ベースの障害復旧方法。
1. A failure recovery method for a distributed database having a plurality of databases that are update-controlled so as to have the same contents as the master database, wherein when a failure occurs in the master database, an instruction from a maintenance device is followed. A failure recovery method for a distributed database, comprising: transferring data of one of the selected databases to the master database to recover the failure of the master database.
【請求項2】 マスター・データベースとコピー・デー
タベースと差分情報格納部とを有するデータベース管理
装置と、該データベース管理装置に接続されて前記マス
ター・データベースのバックアップを行う外部記憶媒体
と、前記データベース管理装置に接続され、それぞれ前
記マスター・データベースの内容と同一となるように更
新制御されるデータベースを有する複数の処理装置と、
前記データベース管理装置に接続された保守装置とを備
え、 前記マスター・データベースの障害発生時に、前記保守
装置からの指示に従って、前記外部記憶媒体から前記マ
スター・データベースにバックアップデータをコピー
し、且つ前記複数のデータベースの中から選択した単一
又は複数のデータベースのデータを前記コピー・データ
ベースにコピーし、該コピー・データベースのデータ
と、前記マスター・データベースのバックアップデータ
とを比較処理し、差分情報を前記差分情報格納部に格納
し、該差分情報を基に前記マスター・データベースにコ
ピーされたバックアップデータの修正を行う過程を含む
ことを特徴とする分散データベースの障害復旧方法。
2. A database management apparatus having a master database, a copy database, and a difference information storage unit, an external storage medium connected to the database management apparatus for backing up the master database, and the database management apparatus. A plurality of processing units each having a database connected to the master database and controlled to be updated so as to have the same content as the master database;
A maintenance device connected to the database management device, wherein when a failure occurs in the master database, backup data is copied from the external storage medium to the master database according to an instruction from the maintenance device; Data of a single or a plurality of databases selected from among the above databases is copied to the copy database, the data of the copy database is compared with the backup data of the master database, and the difference information is converted into the difference. A failure recovery method for a distributed database, comprising the step of modifying backup data stored in an information storage unit and copied to the master database based on the difference information.
【請求項3】 時計管理テーブルに登録した時刻情報に
基づいて、障害発生マスター・データベースに対する前
記外部記憶媒体からのバックアップデータのコピー処理
を行う過程を含むことを特徴とする請求項2記載の分散
データベースの障害復旧方法。
3. The distribution according to claim 2, further comprising the step of copying the backup data from the external storage medium to the faulty master database based on the time information registered in the clock management table. Database failure recovery method.
【請求項4】 時計管理テーブルに登録した時刻情報に
基づいて、複数の前記データベースの中から選択したデ
ータベースのデータを、前記コピー・データベースへ転
送してコピーする過程を含むことを特徴とする請求項2
記載の分散データベースの障害復旧方法。
4. The method according to claim 4, further comprising the step of transferring data of a database selected from the plurality of databases to the copy database based on time information registered in the clock management table and copying the data. Item 2
Disaster recovery method for the described distributed database.
【請求項5】 時計管理テーブルに登録した時刻情報に
基づいて、前記コピー・データベースに前記データベー
スからコピーしたデータと、前記マスター・データベー
スにコピーしたバックアップデータとの比較処理を行う
過程を含むことを特徴とする請求項2記載の分散データ
ベースの障害復旧方法。
5. A process for comparing data copied from the database to the copy database with backup data copied to the master database based on time information registered in a clock management table is included. The method of recovering a failure of a distributed database according to claim 2.
【請求項6】 前記処理装置のデータベースに、前記マ
スター・データベースの内容に従った最終更新日付情報
を付加し、前記マスター・データベースの障害発生時
に、前記保守装置からの要求により、前記最終更新日付
情報を含む処理装置名又はデータベース名を転送して表
示させ、表示された最終更新日付を基に単一又は複数の
データベースを指定し、前記コピー・データベースへデ
ータを転送させる過程を含むことを特徴とする請求項2
記載の分散データベースの障害復旧方法。
6. The last update date information according to the contents of the master database is added to the database of the processing device, and the last update date is requested by the maintenance device when a failure occurs in the master database. Transferring and displaying a processing unit name or a database name including information, designating a single or a plurality of databases based on the displayed last update date, and transferring the data to the copy database. Claim 2
Disaster recovery method for the described distributed database.
【請求項7】 前記最終更新日付情報を収集して比較
し、最新の更新日付のデータベースを自動選択する過程
を含むことを特徴とする請求項2又は6記載の分散デー
タベースの障害復旧方法。
7. The distributed database failure recovery method according to claim 2, further comprising a step of collecting and comparing the last update date information and automatically selecting a database having the latest update date.
【請求項8】 前記コピー・データベースにデータを転
送するデータベースを予め前記保守装置から指定し、前
記マスター・データベースの障害発生時に、前記保守装
置からの転送指示により、予め指定されたデータベース
から前記コピー・データベースにデータを転送する過程
を含むことを特徴とする請求項2記載の分散データベー
スの障害復旧方法。
8. A database for transferring data to the copy database is designated in advance from the maintenance device, and when a failure occurs in the master database, the copy is performed from the predesignated database according to a transfer instruction from the maintenance device. The method according to claim 2, further comprising the step of transferring data to the database.
【請求項9】 前記マスター・データベースの障害発生
時に、複数のデータベースを選択して前記コピー・デー
タベースに複数のデータベース対応にデータをコピー
し、各データベース対応のデータと、前記マスター・デ
ータベースにコピーしたバックアップデータとを比較処
理し、差分情報を差分情報格納部に複数のデータベース
対応に格納し、該複数のデータベース対応の差分情報の
論理処理による情報を基に、前記マスター・データベー
スにコピーした前記バックアップデータを修正する過程
を含むことを特徴とする請求項2乃至8の何れか1項記
載の分散データベースの障害復旧方法。
9. When a failure occurs in the master database, a plurality of databases are selected, data corresponding to the plurality of databases is copied to the copy database, and data corresponding to each database and the master database are copied. The backup data is compared with backup data, the difference information is stored in the difference information storage unit in correspondence with a plurality of databases, and the backup is copied to the master database based on information obtained by logical processing of the difference information corresponding to the plurality of databases. 9. The distributed database failure recovery method according to claim 2, further comprising a step of correcting data.
【請求項10】 前記差分情報格納部に格納する差分情
報に、前記データベースの最終更新日付情報を付加し、
日付又は日付の範囲を指定し、該日付又は日付の範囲内
の前記差分情報を基に、前記マスター・データベースに
コピーしたバックアップデータを修正する過程を含むこ
とを特徴とする請求項2乃至9の何れか1項記載の分散
データベースの障害復旧方法。
10. The last update date information of the database is added to the difference information stored in the difference information storage unit,
10. The method according to claim 2, further comprising the step of designating a date or a date range and modifying the backup data copied to the master database based on the difference information within the date or the date range. A failure recovery method for a distributed database according to any one of items.
【請求項11】 複数のデータベースに対して同一内容
となるように更新制御するマスター・データベースを備
えたデータベース管理装置に於いて、 前記マスター・データベースのバックアップ用の外部記
憶媒体との間の入出力装置と、 前記マスター・データベースの障害発生時に、指定した
前記データベースからのデータを転送する転送装置と、 該転送装置を介して転送されたデータをコピーするコピ
ー・データベースと、 該コピー・データベースにコピーされたデータと、前記
マスター・データベースにコピーされたバックアップデ
ータとを比較する比較処理部と、 該比較処理部により比較した結果の差分情報を格納する
差分情報格納部と、 保守装置からの指示情報を基に各部を制御する制御部と
を備えたことを特徴とするデータベース管理装置。
11. A database management device comprising a master database for controlling update of a plurality of databases so as to have the same contents, wherein input / output between the master database and an external storage medium for backup. A device, a transfer device for transferring data from the specified database when a failure occurs in the master database, a copy database for copying the data transferred via the transfer device, and a copy for the copy database A comparison processing unit that compares the created data with the backup data copied to the master database; a difference information storage unit that stores difference information as a result of comparison by the comparison processing unit; and instruction information from the maintenance device. And a control unit for controlling each unit based on Management device.
【請求項12】 起動する装置と時刻とを登録する時計
管理テーブルと、該時計管理テーブルへの登録及び登録
時刻による登録装置の起動制御を行う時計管理装置とを
設けたことを特徴とする請求項11記載のデータベース
管理装置。
12. A clock management table for registering a device to be activated and time, and a clock management device for controlling activation of the registration device according to registration and registration time in the clock management table. Item 11. The database management device according to item 11.
【請求項13】 複数の前記データベースの中から保守
装置によって予め指定したデータベース名等の指定情報
を保持し、該指定情報に従って前記転送装置を制御して
指定されたデータベースからのデータを前記コピー・デ
ータベースに転送させる為の転送情報部を設けたことを
特徴とする請求項11又は12記載のデータベース管理
装置。
13. Maintaining designated information such as a database name designated in advance by a maintenance device from a plurality of the databases, controlling the transfer device according to the designated information, and copying the data from the designated database 13. The database management device according to claim 11, further comprising a transfer information unit for transferring to the database.
【請求項14】 複数の前記データベースに付加した最
終更新日付情報に対して、予め最終更新日付又は更新日
付範囲を保守装置から指定した指定情報を保持し、該指
定情報に従って前記転送装置を制御して前記データベー
スを選択接続し、選択接続されたデータベースのデータ
を前記コピー・データベースに転送させる為の転送情報
部を設けたことを特徴とする請求項11又は12記載の
データベース管理装置。
14. With respect to the last update date information added to a plurality of said databases, designated information which designates the last updated date or updated date range from a maintenance device is held in advance, and said transfer device is controlled according to said designated information. 13. The database management apparatus according to claim 11, further comprising: a transfer information unit for selectively connecting the databases and transferring the data of the selectively connected databases to the copy database.
JP8017267A 1996-02-02 1996-02-02 Fault recovery method for decentralized data base, and data base management device Withdrawn JPH09212401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8017267A JPH09212401A (en) 1996-02-02 1996-02-02 Fault recovery method for decentralized data base, and data base management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8017267A JPH09212401A (en) 1996-02-02 1996-02-02 Fault recovery method for decentralized data base, and data base management device

Publications (1)

Publication Number Publication Date
JPH09212401A true JPH09212401A (en) 1997-08-15

Family

ID=11939202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8017267A Withdrawn JPH09212401A (en) 1996-02-02 1996-02-02 Fault recovery method for decentralized data base, and data base management device

Country Status (1)

Country Link
JP (1) JPH09212401A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1021168A (en) * 1996-07-05 1998-01-23 Nec Corp Computer system and its state recovering method
JPH11122250A (en) * 1997-10-13 1999-04-30 Omron Corp Communication control system
JP2001326652A (en) * 2000-05-16 2001-11-22 Nec Miyagi Ltd Monitor control system
JP2002269000A (en) * 2001-03-12 2002-09-20 A1 Server Kk Method for automatically preparing and displaying homepage and user information database
JP2006113966A (en) * 2004-10-18 2006-04-27 Ntt Docomo Inc Recovery controller and recovery control method
JP2017215722A (en) * 2016-05-31 2017-12-07 Juki株式会社 Information management system, processing device, and program
EP4339763A1 (en) 2022-09-16 2024-03-20 FUJIFILM Business Innovation Corp. Information processing apparatus and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1021168A (en) * 1996-07-05 1998-01-23 Nec Corp Computer system and its state recovering method
JPH11122250A (en) * 1997-10-13 1999-04-30 Omron Corp Communication control system
JP2001326652A (en) * 2000-05-16 2001-11-22 Nec Miyagi Ltd Monitor control system
JP2002269000A (en) * 2001-03-12 2002-09-20 A1 Server Kk Method for automatically preparing and displaying homepage and user information database
JP2006113966A (en) * 2004-10-18 2006-04-27 Ntt Docomo Inc Recovery controller and recovery control method
JP2017215722A (en) * 2016-05-31 2017-12-07 Juki株式会社 Information management system, processing device, and program
EP4339763A1 (en) 2022-09-16 2024-03-20 FUJIFILM Business Innovation Corp. Information processing apparatus and program

Similar Documents

Publication Publication Date Title
JP3534596B2 (en) Method and apparatus for synchronizing databases in intelligent networks
KR100271342B1 (en) A system for taking backup in a database
EP1179770B1 (en) File system
JP4800046B2 (en) Storage system
US7428657B2 (en) Method for rolling back from snapshot with log
EP1150210B1 (en) Method for duplicating data of storage subsystem and data duplicating system
US20040221149A1 (en) Storage system and cluster maintenance
SE501088C2 (en) Restoration of a home database in mobile radio systems
WO1995027941A1 (en) Updating and restoration method of system file
JP2001356945A (en) Data backup recovery system
WO1998054648A1 (en) Method and system for recovery in a partitioned shared nothing database system using virtual shared disks
JPH09212401A (en) Fault recovery method for decentralized data base, and data base management device
JPH1115604A (en) Data multiplex method
JP2004272318A (en) System changeover system, processing method therefor, and processing program therefor
JP2001027951A (en) File loading device for information processing system of multiprocessor configuration and recording medium
JPH04299435A (en) Data base equivalent system
JP3082706B2 (en) Alarm history management method for transmission equipment monitoring and control system
JP3541337B2 (en) Network management system and network configuration information management method
JPH08278911A (en) Multiple-system processing system
JP2000089994A (en) Method and device for managing data base
JPH0757010A (en) Operation performance control system and its switching method
JP3204302B2 (en) Network element management system and database updating method therefor
JPH11120017A (en) Automatic numbering system, duplex system, and cluster system
JPH10247909A (en) Information processing method and system
JP2959467B2 (en) Fault recovery system, fault recovery method, and medium for storing fault recovery program in loosely coupled multi-computer system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030506