JPH11312111A - Method for restoring data base and data base management system thereof - Google Patents
Method for restoring data base and data base management system thereofInfo
- Publication number
- JPH11312111A JPH11312111A JP10120992A JP12099298A JPH11312111A JP H11312111 A JPH11312111 A JP H11312111A JP 10120992 A JP10120992 A JP 10120992A JP 12099298 A JP12099298 A JP 12099298A JP H11312111 A JPH11312111 A JP H11312111A
- Authority
- JP
- Japan
- Prior art keywords
- standby
- data
- active
- communication
- 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.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ローカルエリアネ
ットワークなどに二重化した現用系及び待機系における
データベース装置に格納しているデータを、通信障害発
生時に待機系データベース装置へ転送して復旧するデー
タベース復旧方法及びデータベース管理システムに関
し、特に、復旧シーケンスでの転送データ量を低減して
ネットワーク負荷を軽減するデータベース復旧方法及び
データベース管理システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database recovery method for transferring data stored in a database device in an active system and a standby system duplicated in a local area network or the like to a standby system database device for recovery when a communication failure occurs. More particularly, the present invention relates to a database recovery method and a database management system that reduce the amount of transfer data in a recovery sequence to reduce a network load.
【0002】[0002]
【従来の技術】従来、データベース装置には、汎用小型
コンピュータなどが処理可能な多量のデータ(ファイ
ル)を整理して蓄積している。特に、プログラム実行に
よってデータの検索、追加、更新を効率的に実行する制
御機能を備えたデータベース管理システム(DBMS:D
ata Base Management System) は、階層型、網型と共
に、構造化照会言語(SQL:Structured Query Langua
ge) を使用して検索する関係型(リレーショナル)のデ
ータ管理形態が周知である。2. Description of the Related Art Conventionally, a database apparatus organizes and stores a large amount of data (files) that can be processed by a general-purpose small computer or the like. In particular, a database management system (DBMS: D) having a control function for efficiently executing data search, addition, and update by executing a program
ata Base Management System) is a structured query language (SQL), as well as a hierarchical type and a net type.
ge) is well known for relational data management.
【0003】このようなデータベース管理システムは、
サーバ/クライアントシステムなどと共に、現用系及び
待機系からなるシステム保全を考慮した二重化によっ
て、イーサネット、FDDIのLANなどに配置される
ことが多い。このようなデータベース管理システムの実
際の構成としては、現用系及び待機系の監視装置にデー
タベース装置を設けた構成が多用されている。このデー
タベース管理システムにおけるデータベース装置の格納
データを、サーバ/クライアントシステムにおける小型
汎用コンピュータ(データ処理端末)が、変更(検索、
追加、更新)する場合、まず、現用系監視装置に設けら
れるデータベース装置に対する格納データを更新する。[0003] Such a database management system includes:
Along with the server / client system and the like, they are often arranged in Ethernet, FDDI LAN, or the like by duplication taking into account system maintenance consisting of an active system and a standby system. As an actual configuration of such a database management system, a configuration in which a database device is provided in an active system and a standby system monitoring device is often used. The small general-purpose computer (data processing terminal) in the server / client system changes (searches,
When adding or updating), first, the data stored in the database device provided in the active system monitoring device is updated.
【0004】次に、待機系監視装置に設けられるデータ
ベース装置に対する格納データを更新して、現用系と待
機系のデータベース装置の格納データが、常時同一にな
るように更新している。この場合、現用系監視装置に設
けられるデータベース装置に対する格納データを更新し
た後に、通信障害が発生すると待機系監視装置に設けら
れるデータベース装置でデータ更新が正常に行われなく
なる。したがって、現用系及び待機系のデータベース装
置の格納データが不一致となる。Next, data stored in a database device provided in the standby monitoring device is updated so that data stored in the active and standby database devices are always the same. In this case, if a communication failure occurs after updating the data stored in the database device provided in the active monitoring device, the data cannot be normally updated in the database device provided in the standby monitoring device. Therefore, the data stored in the active system and the data stored in the standby system are inconsistent.
【0005】この場合、監視装置の制御によって、待機
系監視装置に設けられるデータベース装置を処理不能と
してLAN通信路から制御的に切り離し、これ以降の格
納データの変更が出来なくなる。この復旧処置として
は、運用者が現用系監視装置及び待機系監視装置を収容
するLAN上のデータ処理端末や保守装置からの入力操
作によって、現用系監視装置に設けられたデータベース
装置の格納データを、待機系監視装置に設けられたデー
タベース装置へ転送して、その復旧を行っている。In this case, by controlling the monitoring device, the database device provided in the standby monitoring device cannot be processed and is separated from the LAN communication path in a controlled manner, so that the stored data cannot be changed thereafter. As the recovery procedure, the operator performs an input operation from a data processing terminal or a maintenance device on the LAN accommodating the active system monitoring device and the standby system monitoring device, so that the data stored in the database device provided in the active system monitoring device is restored. The data is transferred to a database device provided in the standby system monitoring device to recover the data.
【0006】この復旧処置では、現用系監視装置に設け
られたデータベース装置の、全ての格納データを、待機
系監視装置に設けられたデータベース装置へ転送するた
め、その転送データ量が多く、LAN上での処理負荷の
増大化をまねくという問題がある。In this recovery procedure, all the stored data of the database device provided in the active monitoring device is transferred to the database device provided in the standby monitoring device, so that the transfer data amount is large and the However, there is a problem that the processing load is increased.
【0007】このような問題を解決する技術として特開
平1−128142号「二重化ファイルの複写方式」公
報の従来例が周知であり、この従来例は、二重化ファイ
ルにおける正ファイルのデータを更新し、かつ、副ファ
イルを同一内容とするため、更新情報管理テーブルと更
新したブロックデータのみを複写することによって、そ
の複写時間を短縮できるようにしている。As a technique for solving such a problem, a conventional example of Japanese Patent Laid-Open Publication No. 1-128142, "copying method of duplicated file" is well known. In this conventional example, data of a primary file in a duplicated file is updated. Further, in order to make the sub-files have the same contents, only the update information management table and the updated block data are copied so that the copying time can be reduced.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上記従
来例は、二重化ファイルの正ファイルと副ファイルとを
同一内容とするため、更新情報管理テーブル及び更新し
たブロックデータのみを複写し、その複写時間を短縮で
きるものの、更新情報管理テーブル及び更新ブロックデ
ータは比較的、そのデータ量が多いことが考えられる。
したがって、転送データ量を低減してシステムの処理負
荷を軽減する視点からの改善の余地がある。However, in the above conventional example, only the update information management table and updated block data are copied in order to make the primary file and the secondary file of the duplicated file have the same contents, and the copy time is reduced. Although it can be shortened, the update information management table and the update block data may have a relatively large data amount.
Therefore, there is room for improvement from the viewpoint of reducing the amount of transfer data and reducing the processing load on the system.
【0009】本発明は、このような従来の技術における
課題を解決するものであり、現用系及び待機系からなる
二重化データベース装置にあって、通信障害発生時に少
量データの識別コードに基づいて、待機系データベース
の未格納データを確認して転送できるようになり、その
転送データ量が低減してネットワークの処理負荷を軽減
できるデータベース復旧方法及びデータベース管理シス
テムの提供を目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems in the prior art. In a duplicated database apparatus comprising an active system and a standby system, when a communication failure occurs, a standby system is set up based on an identification code of a small amount of data. It is an object of the present invention to provide a database recovery method and a database management system that can confirm and transfer unstored data in a system database, reduce the amount of transferred data, and reduce the processing load on a network.
【0010】[0010]
【課題を解決するための手段】上記課題を達成するため
に、本発明のデータベース復旧方法は、通信ネットワー
クに現用系及び待機系からなる二重化データベース装置
が接続され、かつ、通信障害発生時に待機系データベー
ス装置の格納データを復旧する方法であり、通信ネット
ワークにおける処理データに少量データの識別コードを
付与して現用系及び待機系データベース装置で保持し、
かつ、処理データを現用系及び待機系データベース装置
で格納し、更に、通信障害発生時に待機系データベース
装置から現用系データベース装置へ保持している識別コ
ードを送信し、次に、現用系データベース装置が、受け
取った識別コード以外に保持している識別コードを判定
し、この判定による識別コードに対応する処理データ
を、待機系データベース装置に転送して格納データの復
旧を行うようにしている。In order to achieve the above object, the present invention provides a database restoration method according to the present invention, wherein a redundant database apparatus comprising an active system and a standby system is connected to a communication network, and a standby system is used when a communication failure occurs. A method for restoring data stored in a database device, in which an identification code of a small amount of data is added to processing data in a communication network and held in active and standby database devices,
In addition, the processing data is stored in the active and standby database devices, and further, when a communication failure occurs, the identification code stored in the standby database device is transmitted to the active database device. Then, the stored identification code other than the received identification code is determined, and the processing data corresponding to the identification code determined by this determination is transferred to the standby database device to restore the stored data.
【0011】また、本発明は、通信ネットワークに現用
系及び待機系からなる二重化データベース装置が接続さ
れ、かつ、通信障害発生時に待機系データベース装置の
格納データを復旧するデータベース管理システムにおい
て、通信ネットワークにおける処理データを、現用系及
び待機系のそれぞれの通信監視制御手段が少量データの
識別コードを付与して保持し、かつ、処理データを現用
系及び待機系のそれぞれのデータベース装置に格納し、
通信障害発生時に現用系通信監視制御手段へ待機系通信
監視制御手段から識別コードを送信すると共に、現用系
通信監視制御手段が、受信した識別コード以外に保持し
ている識別コードを判定し、かつ、この判定による識別
コードに対応する処理データを、現用系通信監視制御手
段が、現用系データベース装置から読み出し、待機系通
信監視制御手段へ送信するための復旧シーケンスを実行
して待機系データベース装置での格納データを復旧する
構成としてある。[0011] The present invention also provides a database management system in which a duplexed database device comprising an active system and a standby system is connected to a communication network, and which restores data stored in the standby database device when a communication failure occurs. The communication monitoring and control means of each of the active system and the standby system attaches and retains the processing data to the identification code of the small amount of data, and stores the processed data in the respective database devices of the active system and the standby system,
When the communication failure occurs, the identification code is transmitted from the standby communication monitoring control means to the active communication monitoring control means, and the active communication monitoring control means determines the identification code held in addition to the received identification code, and The active communication monitoring control means reads out the processing data corresponding to the identification code from the determination from the active database apparatus, executes a recovery sequence for transmitting the processing data to the standby communication monitoring control means, and It is configured to recover the stored data.
【0012】前記現用系及び待機系の通信監視制御手段
として、所定のアクセス方式によって送受信を行う通信
プロトコルを実行する通信制御部と、通信障害発生時の
復旧シーケンスを実行するためのメイン制御部と、通信
障害発生時に現用系及び待機系のデータベース装置へ格
納するデータに対して、復旧シーケンスを実行するため
の識別コードとしてのメッセージIDを付与して保持す
る通知メッセージ領域部と、メイン制御部と通知メッセ
ージ領域部との間のデータ送受信を処理するデータ処理
部とを備える構成としてある。A communication control unit for executing a communication protocol for performing transmission and reception according to a predetermined access method, and a main control unit for executing a recovery sequence when a communication failure occurs, as the active and standby communication monitoring control means. A notification message area unit for assigning and holding a message ID as an identification code for executing a recovery sequence to data stored in the active and standby database devices when a communication failure occurs, and a main control unit. A data processing unit that processes data transmission / reception with the notification message area unit.
【0013】前記通信ネットワークが、処理データを送
出するサーバ/クライアントシステムにおけるサーバデ
ータ処理装置及びクライアントデータ処理端末を収容す
るローカルエリアネットワークであり、少量データの識
別コードが、少なくとも一つの数字又は文字のデータで
ある。また、前記現用系通信監視制御手段及び現用系デ
ータベース装置、かつ、待機系通信監視制御手段及び待
機系データベース装置が、それぞれ個別に構成され、又
は、一体化して構成される。更に、前記待機系通信監視
制御手段及び待機系データベース装置が、複数配置され
ると共に、前記通信ネットワークが、公衆回線又は専用
回線を通じて他の通信ネットワークと接続されて、現用
系及び待機系通信監視制御手段と現用系及び待機系デー
タベース装置を共用化する構成としてある。The communication network is a local area network accommodating a server data processing device and a client data processing terminal in a server / client system that sends out processing data, wherein the identification code of the small amount of data is at least one numeral or character. Data. Further, the active communication monitoring and control means and the active database device, and the standby communication monitoring and controlling means and the standby database device are individually configured or integrated. Further, a plurality of the standby system communication monitoring control means and the standby system database device are arranged, and the communication network is connected to another communication network through a public line or a dedicated line, so that the active system and the standby system communication monitoring control unit are connected. The configuration is such that the means and the active and standby database devices are shared.
【0014】前記待機系通信監視制御手段からの通信障
害発生通知を受け取った通信ネットワーク上のデータ処
理装置が、ここでの手動操作による復旧指示コマンド
を、現用系通信監視制御手段及び/又は待機系通信監視
制御手段へ送信して復旧シーケンスを実行し、また、前
記待機系通信監視制御手段からの通信障害発生通知を受
け取った通信ネットワーク上のデータ処理装置が、復旧
指示コマンドを現用系通信監視制御手段及び/又は待機
系通信監視制御手段へ自動送信して復旧シーケンスを実
行する。The data processing device on the communication network which has received the communication failure occurrence notification from the standby communication monitoring / controlling means transmits the manual recovery instruction command here to the active communication monitoring / controlling means and / or the standby communication monitoring means. The data processing device on the communication network that has received the communication failure occurrence notification from the standby communication monitoring control unit transmits the recovery instruction command to the active communication monitoring control unit. The automatic transmission to the communication means and / or the standby communication monitoring control means executes the restoration sequence.
【0015】前記待機系通信監視制御手段が、通信障害
発生を認識した際に、現用系通信監視制御手段へ通知
し、現用系通信監視制御手段と待機系通信監視制御手段
との間で復旧シーケンスを実行する構成としてある。When the standby communication monitoring control means recognizes the occurrence of a communication failure, the standby communication monitoring control means notifies the active communication monitoring control means and a recovery sequence between the active communication monitoring control means and the standby communication monitoring control means. Is executed.
【0016】このような構成の発明のデータベース復旧
方法及びデータベース管理システムは、復旧シーケンス
の実行時に通信ネットワークに接続される現用系及び待
機系からなる二重化データベース装置にあって、通信障
害発生時に少量データの識別コードに基づいて待機系デ
ータベースの未格納データを確認し、その転送を行って
いる。この結果、ローカルエリアネットワークなどの通
信ネットワークにおける転送データ量が低減してネット
ワークの処理負荷を軽減できるようになる。A database recovery method and a database management system according to the present invention having such a configuration are provided in a redundant database apparatus comprising an active system and a standby system connected to a communication network at the time of executing a recovery sequence. The non-stored data in the standby database is confirmed based on the identification code of the above, and the data is transferred. As a result, the amount of transfer data in a communication network such as a local area network is reduced, and the processing load on the network can be reduced.
【0017】また、本発明のデータベース管理システム
は、二重化の現用系通信監視制御手段及び現用系データ
ベース装置、かつ、待機系通信監視制御手段及び待機系
データベース装置が、それぞれ個別に構成され、又は、
一体的、すなわち、慣用的なデータベース管理システム
として構成される。また、待機系通信監視制御手段及び
待機系データベース装置が、複数配置される。更に、通
信ネットワークを公衆回線又は専用回線を通じて他の通
信ネットワークと接続して、現用系及び待機系通信監視
制御手段と現用系及び待機系データベース装置とを共用
化している。Further, in the database management system of the present invention, the redundant active communication monitoring and control means and the active database device, and the standby communication monitoring and controlling means and the standby database device are individually configured, or
It is configured as an integral, ie, conventional, database management system. Also, a plurality of standby communication monitoring / control means and standby database devices are arranged. Further, the communication network is connected to another communication network through a public line or a dedicated line, and the active and standby communication monitoring control means and the active and standby database devices are shared.
【0018】この結果、通信ネットワーク、すなわち、
閉鎖領域、例えば、企業内などに構築されるローカルエ
リアネットワークの構成の自由度が向上する。As a result, the communication network, ie,
The degree of freedom in the configuration of a closed area, for example, a local area network built in a company or the like is improved.
【0019】また、本発明のデータベース管理システム
は、障害発生通知を受け取ったデータ処理装置での手動
操作又は自動送信による復旧指示コマンドによって、復
旧シーケンスを実行し、また、通信障害発生を待機系通
信監視制御手段が認識した際に、復旧シーケンスを実行
している。Further, the database management system of the present invention executes a recovery sequence in response to a recovery instruction command by manual operation or automatic transmission in the data processing apparatus which has received the notification of the occurrence of a failure, and executes a standby communication when a communication failure occurs. When the monitoring control unit recognizes, the recovery sequence is executed.
【0020】この結果、通信ネットワーク、例えば、ロ
ーカルエリアネットワークにおける多様な通信制御が可
能になる。As a result, various communication controls in a communication network, for example, a local area network can be performed.
【0021】[0021]
【発明の実施の形態】次に、本発明のデータベース復旧
方法及びデータベース管理システムの実施の形態を図面
を参照して詳細に説明する。図1は本発明のデータベー
ス管理システムの実施形態における構成を示すブロック
図である。このデータベース管理システムは、例えば、
UNIXファイル共有システムなどにおけるNFS(Net
work File System) のサーバ/クライアントシステムな
どを収容するイーサネット、FDDIなどのLANに設
けられている。図1の例はクライアントとしてのデータ
処理を行うクライアント/データ処理端末1と、サーバ
としてのプログラム実行及びデータ処理を行うサーバ/
データ処理装置2とを有している。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of a database recovery method and a database management system according to the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a database management system according to an embodiment of the present invention. This database management system, for example,
NFS (Net
It is provided on a LAN such as Ethernet or FDDI that accommodates a server / client system of a work file system. The example of FIG. 1 shows a client / data processing terminal 1 which performs data processing as a client, and a server / server which executes a program and performs data processing as a server.
And a data processing device 2.
【0022】更に、このデータベース管理システムは、
現用系及び待機系のデータベース装置を内蔵した現用系
監視装置3を有している。すなわち、二重化データベー
ス装置である。現用系監視装置3は、通常動作時におい
て、内部のデータベース装置にクライアント/データ処
理端末1やサーバ/データ処理装置2が処理したデータ
を格納し、待機系監視装置4は、通信障害発生時に内部
のデータベース装置にクライアント/データ処理端末1
やサーバ/データ処理装置2が処理したデータを格納す
る。また、クライアント/データ処理端末1から待機系
監視装置4までの装置をバス形式(マルチドロップ接続
方式)でLAN通信路5に接続している。Further, the database management system includes:
It has an active system monitoring device 3 which incorporates active and standby database devices. That is, it is a duplicated database device. The active monitoring device 3 stores the data processed by the client / data processing terminal 1 and the server / data processing device 2 in the internal database device during normal operation, and the standby monitoring device 4 stores the data when the communication failure occurs. Client / data processing terminal 1
And data processed by the server / data processing device 2. Also, devices from the client / data processing terminal 1 to the standby monitoring device 4 are connected to the LAN communication path 5 in a bus format (multidrop connection system).
【0023】なお、クライアント/データ処理端末1
は、実際には多数が配置される。また、現用系監視装置
3及び待機系監視装置4は、それぞれデータベース装置
と通信制御処理装置を備えた、いわゆる、データベース
管理システムである。The client / data processing terminal 1
Are actually arranged in large numbers. The active system monitoring device 3 and the standby system monitoring device 4 are so-called database management systems each including a database device and a communication control processing device.
【0024】また、現用系監視装置3は、CSMA/C
DなどのLANアクセス方式によってクライアント/デ
ータ処理端末1、サーバ/データ処理装置2及び待機系
監視装置4との間の送受信制御を行う通信制御部31
と、この現用系監視装置3の各部を制御し、特に、待機
系監視装置4における待機系データベース装置44に対
する通信障害発生時に復旧シーケンスを実行するメイン
制御部32とを有している。The active system monitoring device 3 is a CSMA / C
A communication control unit 31 that controls transmission and reception between the client / data processing terminal 1, the server / data processing device 2, and the standby monitoring device 4 by a LAN access method such as D
And a main control unit 32 that controls each unit of the active monitoring device 3 and executes a recovery sequence when a communication failure occurs in the standby monitoring device 4 with respect to the standby database device 44.
【0025】更に、現用系監視装置3には、メイン制御
部32との間のデータのやり取りを処理するデータ処理
部33と、各種の処理データ(通知メッセージ)を更新
して格納し、そのリレーショナル処理による検索、追
加、更新の効率的な処理が可能な現用系データベース装
置34と、この現用系データベース装置34に格納する
データに対して、通信障害発生時に復旧シーケンスを実
行するためのメッセージIDを付与して保持する通知メ
ッセージ領域部35とを有している。メッセージIDは
少量データの識別コードであり、例えば、数字1,2,
3…又は文字A,B,Cのデータである。Further, in the active system monitoring device 3, a data processing unit 33 for processing data exchange with the main control unit 32, and various processing data (notification messages) are updated and stored. An active database device 34 capable of efficient processing of searching, adding, and updating by processing, and a message ID for executing a recovery sequence when a communication failure occurs with respect to data stored in the active database device 34, And a notification message area 35 to be added and held. The message ID is an identification code for a small amount of data.
3 or data of characters A, B, and C.
【0026】待機系監視装置4も現用系監視装置3と同
様の通信制御部41、メイン制御部42、データ処理部
43、待機系データベース装置44及び通知メッセージ
領域部45を有している。The standby system monitoring device 4 also has a communication control unit 41, a main control unit 42, a data processing unit 43, a standby system database device 44, and a notification message area unit 45 similar to the active system monitoring device 3.
【0027】次に、この実施形態の動作について説明す
る。ここでの動作において、現用系データベース装置3
4及び待機系データベース装置44は、例えば、構造化
照会言語(SQL)を使用して検索する関係型(リレー
ショナル)のデータ管理形態である。また、クライアン
ト/データ処理端末1及びサーバ/データ処理装置2
は、サーバ/クライアント処理である一部のプログラム
実行を遠隔手続き呼び出し(RPC:Remote Procedure Cal
l) を通じて処理している。Next, the operation of this embodiment will be described. In this operation, the active database device 3
4 and the standby database device 44 are, for example, a relational data management form for searching using a structured query language (SQL). Further, a client / data processing terminal 1 and a server / data processing device 2
Calls a remote procedure call (RPC: Remote Procedure Cal)
l) through the process.
【0028】更に、LAN通信路5は、その網トポロジ
ーがバス形式(マルチドロップ接続方式)である。ま
た、LANアクセス方式としてはバス形式用のCSMA
/CDであり、ネットワーク上でのデータの衝突発生や
通信障害発生時に再送信アルゴリズムを実行している。
また、現用系監視装置3内の現用系データベース装置3
4と待機系監視装置4内の待機系データベース装置44
とでそれぞれの格納データが一致しているか否かを、通
信制御部31,41の間での確認アルゴリズム(通信シ
ーケンス)で認識している。この通信シーケンスは専用
のものを開発して用いても良いし、既存のY−MODE
Mなどの転送シーケンスを利用しても良い。Further, the LAN communication path 5 has a network topology of a bus type (multi-drop connection system). As a LAN access method, CSMA for a bus format is used.
/ CD, which executes a retransmission algorithm when a data collision occurs on the network or a communication failure occurs.
The active database device 3 in the active monitoring device 3
4 and the standby database device 44 in the standby monitoring device 4
Whether or not the respective stored data is the same is recognized by the confirmation algorithm (communication sequence) between the communication control units 31 and 41. This communication sequence may be developed and used for exclusive use, or may be an existing Y-MODE.
A transfer sequence such as M may be used.
【0029】この確認では、例えば、メモリ領域を示す
ビットなどを交換して確認する。更に、クライアント/
データ処理端末1、サーバ/データ処理装置2、現用系
監視装置3及び待機系監視装置4は、データ送信時にア
ドレスを指定し、このアドレスを通信制御部間のネゴシ
エーション(トレーニングアルゴリズム)実行によって
相互認証し、そのデータ送受信を行う。In this confirmation, for example, the confirmation is performed by exchanging bits indicating the memory area. In addition, the client /
The data processing terminal 1, the server / data processing device 2, the active system monitoring device 3, and the standby system monitoring device 4 specify an address at the time of data transmission, and mutually authenticate the address by executing negotiation (training algorithm) between the communication control units. Then, the data is transmitted and received.
【0030】二重化による現用系監視装置3及び待機系
監視装置4が、クライアント/データ処理端末1での処
理データのパケットを、LAN通信路5を通じて取り込
み、それぞれの現用系データベース装置34及び待機系
データベース装置44に格納する。この処理では、クラ
イアント/データ処理端末1が、そのデータ処理の終了
ごとに通知メッセージのパケットを、まず、現用系監視
装置3へ、そのアドレスを指定して送信する。The active-system monitoring device 3 and the standby-system monitoring device 4 based on the duplication capture packets of the processing data in the client / data processing terminal 1 through the LAN communication path 5 and respectively use the active-system database device 34 and the standby-system database. It is stored in the device 44. In this process, the client / data processing terminal 1 first transmits a notification message packet to the active system monitoring device 3 by specifying its address each time the data processing is completed.
【0031】現用系監視装置3では、通知メッセージを
通信制御部31が通信制御によって受信する。このパケ
ットの送受信の通信制御は、CSMA/CD、すなわ
ち、キャリア検出によるマルチランダムアクセス方式に
よって実行する。通知メッセージがメイン制御部32及
びデータ処理部33を通じて通知メッセージ領域部35
が取り込み、その通知メッセージごとにメッセージID
を付与して保持する。この通知メッセージをデータ処理
部33を通じて現用系データベース装置34に転送して
格納する。In the active system monitoring device 3, the communication control unit 31 receives the notification message by the communication control. The communication control of the transmission and reception of the packet is performed by CSMA / CD, that is, the multi-random access method by carrier detection. The notification message is sent to the notification message area unit 35 through the main control unit 32 and the data processing unit 33.
Captures the message ID for each notification message
And hold it. This notification message is transferred to the active database device 34 through the data processing unit 33 and stored.
【0032】この現用系データベース装置34への転送
による格納後に、この通知メッセージを現用系監視装置
3が予備系監視装置4へ送信する。予備系監視装置4は
通信制御部41、メイン制御部42及びデータ処理部4
3を通じて、通知メッセージ領域部45が取り込んで書
き込む。そして、データ処理部43を通じて待機系デー
タベース装置44に転送して格納する。この結果、クラ
イアント/データ処理端末1で処理したデータ(格納デ
ータ)が、現用系監視装置3内の現用系データベース装
置34及び待機系監視装置4内の待機系データベース装
置44で一致していることになる。After storage by transfer to the active database device 34, the active monitoring device 3 sends this notification message to the standby monitoring device 4. The standby system monitoring device 4 includes a communication control unit 41, a main control unit 42, and a data processing unit 4.
3, the notification message area 45 takes in and writes. Then, the data is transferred to and stored in the standby database device 44 through the data processing unit 43. As a result, the data (storage data) processed by the client / data processing terminal 1 must match between the active database device 34 in the active monitoring device 3 and the standby database device 44 in the standby monitoring device 4. become.
【0033】ここで現用系監視装置3内の現用系データ
ベース装置34が更新された後に、LAN通信路5での
障害発生によって待機系監視装置4内の待機系データベ
ース装置44で更新されない場合、この現用系データベ
ース装置34と待機系データベース装置44との格納デ
ータの不一致によって、待機系監視装置4に設けられた
待機系データベース装置44の使用が出来なくなる。If the active system database device 34 in the active system monitoring device 3 is not updated by the standby system database device 44 in the standby system monitoring device 4 due to the occurrence of a failure in the LAN communication path 5 after the active system database device 34 is updated, Due to a mismatch between the data stored in the active database device 34 and the stored data in the standby database device 44, the standby database device 44 provided in the standby monitoring device 4 cannot be used.
【0034】この待機系監視装置4に設けた待機系デー
タベース装置44の使用不能に対して、クライアント/
データ処理端末1からの復旧指示が待機系監視装置4へ
行われる。待機系監視装置4では、メイン制御部42が
データ処理部43を通じて、最後に受け取った通知メッ
セージに対応するメッセージIDを検索する。この検索
で得られたメッセージIDを、データ処理部43、メイ
ン制御部42及び通信制御部41からLAN通信路5を
通じて現用系監視装置3に送信する。When the standby database device 44 provided in the standby monitoring device 4 becomes unavailable, the client /
A recovery instruction from the data processing terminal 1 is issued to the standby monitoring device 4. In the standby monitoring device 4, the main control unit 42 searches the message ID corresponding to the last received notification message via the data processing unit 43. The message ID obtained by this search is transmitted from the data processing unit 43, the main control unit 42, and the communication control unit 41 to the active system monitoring device 3 via the LAN communication path 5.
【0035】現用系監視装置3では、待機系監視装置4
からのメッセージIDを通信制御部31を通じてメイン
制御部42が取り込み、データ処理部43を通じて通知
メッセージ領域部45を検索する。この検索で待機系監
視装置4から送られてきたメッセージID以外のメッセ
ージIDに対応する通知メッセージを、現用系データベ
ース装置34から読み出し、現用系監視装置3へLAN
通信路5を通じて転送する。現用系監視装置3は待機系
監視装置4からの通知メッセージを、クライアント/デ
ータ処理端末1からの通知メッセージと同様に通信制御
部41、メイン制御部42及びデータ処理部43を通じ
て通知メッセージ領域部45が取り込んで書き込み、か
つ、メッセージIDを付与して保持する。In the active system monitoring device 3, the standby system monitoring device 4
The main control unit 42 fetches the message ID from the communication control unit 31 through the communication control unit 31 and searches the notification message area unit 45 through the data processing unit 43. A notification message corresponding to a message ID other than the message ID sent from the standby monitoring device 4 in this search is read out from the active database device 34 and sent to the active monitoring device 3 via the LAN.
The data is transferred through the communication path 5. The active monitoring device 3 transmits the notification message from the standby monitoring device 4 to the notification message area 45 through the communication control unit 41, the main control unit 42, and the data processing unit 43 in the same manner as the notification message from the client / data processing terminal 1. Captures, writes, and holds a message ID.
【0036】なお、この現用系監視装置3及び待機系監
視装置4では、それぞれの通知メッセージ領域部35,
45が、メッセージIDを循環的に更新する。すなわ
ち、最大格納数になると、最も早く格納した通知メッセ
ージに対応するメッセージIDを消去して、新たな通知
メッセージに対応するメッセージIDを保持する。この
最大数は、現用系データベース装置34及び待機系デー
タベース装置44の記憶容量、すなわち、スループット
に対応する。In the active system monitoring device 3 and the standby system monitoring device 4, the respective notification message areas 35,
45 cyclically updates the message ID. That is, when the maximum storage number is reached, the message ID corresponding to the notification message stored first is deleted, and the message ID corresponding to the new notification message is held. The maximum number corresponds to the storage capacity of the active database device 34 and the standby database device 44, that is, the throughput.
【0037】そして、通知メッセージを通知メッセージ
領域部45からデータ処理部43を通じて待機系データ
ベース装置44に転送して格納する。この結果、クライ
アント/データ処理端末1で処理されたデータ(格納デ
ータ)が、現用系監視装置3内の現用系データベース装
置34と待機系監視装置4内の待機系データベース装置
44とで一致することになる。すなわち、待機系データ
ベース装置44での未格納データに対する復旧が完了す
る。Then, the notification message is transferred from the notification message area section 45 to the standby database device 44 through the data processing section 43 and stored therein. As a result, the data (storage data) processed by the client / data processing terminal 1 matches the active database device 34 in the active monitoring device 3 and the standby database device 44 in the standby monitoring device 4. become. That is, the recovery of the unstored data in the standby database device 44 is completed.
【0038】次に、この動作の要部を詳細に説明する。
図2は上記説明の要部動作における伝送シーケンス図で
ある。図2において、クライアント/データ処理端末1
は、データ処理完了ごとに、その記憶保存(格納)する
更新を現用系監視装置3及び待機系監視装置4に対して
指示する。この場合の通知メッセージ、例えば、新たな
パス登録1,2,3を順次登録する場合、このパス登録
1に必要な設定情報の入力を行う。この入力した設定情
報に対応した通知メッセージが、現用系監視装置3のア
ドレスを指定して送信される。Next, the main part of this operation will be described in detail.
FIG. 2 is a transmission sequence diagram in the main part operation described above. In FIG. 2, a client / data processing terminal 1
Instructs the active monitoring device 3 and the standby monitoring device 4 to update the data to be stored every time the data processing is completed. In the case of sequentially registering a notification message in this case, for example, new path registrations 1, 2, and 3, input of setting information necessary for the path registration 1 is performed. A notification message corresponding to the input setting information is transmitted by designating the address of the active system monitoring device 3.
【0039】現用系監視装置3では、自アドレスを通信
制御部31が識別して通知メッセージ(パス登録1)を
受信し、かつ、メイン制御部32及びデータ処理部33
を通じて通知メッセージ領域部35が、パス登録1のデ
ータを取り込む。次に、データ処理部33を通じて現用
系データベース装置34に転送して更新する。この場
合、通知メッセージ領域部35が、パス登録1に対する
少量データ、例えば、数字1,2,3…や文字A,B,
C…のメッセージID1を付与して保持する。この後、
通知メッセージ領域部35からの格納完了を示す肯定応
答通知(ACK)が、データ処理部33、メイン制御部
32及び通信制御部31からLAN通信路5を通じてク
ライアント/データ処理端末1のアドレスを指定して送
信される。In the active system monitoring device 3, the communication control unit 31 identifies its own address, receives the notification message (path registration 1), and sets the main control unit 32 and the data processing unit 33.
The notification message area unit 35 fetches the data of the path registration 1 through. Next, the data is transferred to the active database device 34 through the data processing unit 33 and updated. In this case, the notification message area unit 35 stores a small amount of data for the path registration 1, for example, numerals 1, 2, 3,.
The message ID 1 of C ... is assigned and held. After this,
An acknowledgment notification (ACK) indicating the completion of storage from the notification message area 35 specifies the address of the client / data processing terminal 1 from the data processing unit 33, the main control unit 32, and the communication control unit 31 through the LAN communication path 5. Sent.
【0040】現用系監視装置3での現用系データベース
装置34にパス登録1が登録して更新されると、このパ
ス登録1のデータをデータ処理部33、メイン制御部3
2及び通信制御部31を通じてLAN通信路5から待機
系監視装置4へ転送する。待機系監視装置4では、現用
系監視装置3の場合と同様にして待機系データベース装
置44にパス登録1を登録して更新する。When the path registration 1 is registered and updated in the active database device 34 of the active system monitoring device 3, the data of the path registration 1 is transferred to the data processing unit 33 and the main control unit 3.
2 and the communication control unit 31 to transfer the data from the LAN communication path 5 to the standby monitoring device 4. The standby system monitoring device 4 registers and updates the path registration 1 in the standby system database device 44 in the same manner as the active system monitoring device 3.
【0041】なお、現用系監視装置3の通信制御部31
と待機系監視装置4の通信制御部41は、それぞれの現
用系データベース装置34と待機系データベース装置4
4との更新データの一致を相互認識するための確認アル
ゴリズムを実行している。この確認アルゴリズムは、通
知メッセージ(パス登録1,2,3)の更新ごと、又
は、一定間隔で実行する。The communication control unit 31 of the active system monitoring device 3
The communication control unit 41 of the standby system monitoring device 4 and the active system database device 34 and the standby system database device 4 respectively.
A confirmation algorithm for mutually recognizing the coincidence of the update data with the update data No. 4 is executed. This confirmation algorithm is executed every time a notification message (path registration 1, 2, 3) is updated, or at regular intervals.
【0042】現用系監視装置3から待機系監視装置4へ
パス登録1を転送する際に、通信障害が発生して待機系
監視装置4でのデータ更新が不能の場合、現用系監視装
置3の通信制御部31が、待機系監視装置4でのデータ
更新不能を認識し、LAN通信路5から制御的に切り離
される。この状態では現用系監視装置3の通知メッセー
ジ領域部35にはメッセージID1が保持され、かつ、
待機系監視装置4の通知メッセージ領域部45にはメッ
セージID1は保持していないことになる。When transferring a path registration 1 from the active system monitoring device 3 to the standby system monitoring device 4, if a communication failure occurs and the standby system monitoring device 4 cannot update data, the active system monitoring device 3 The communication control unit 31 recognizes that the data cannot be updated in the standby monitoring device 4 and is controllably disconnected from the LAN communication path 5. In this state, the message ID 1 is held in the notification message area 35 of the active system monitoring device 3, and
The message ID 1 is not stored in the notification message area 45 of the standby monitoring device 4.
【0043】ここで現用系監視装置3の通信制御部31
が、LAN通信路5を通じてクライアント/データ処理
端末1へ、待機系監視装置4でのデータ更新不能を、そ
のデータを格納したパケットを送信して通知する。この
通知に対応してクライアント/データ処理端末1では、
使用者が復旧作業に対する入力操作を行う。この復旧指
示コマンドのパケットが、LAN通信路5を通じて、待
機系監視装置4のアドレスを指定して送信される。待機
系監視装置4は復旧指示コマンドのパケットを、通信制
御部41を通じてメイン制御部42が取り込む。Here, the communication control unit 31 of the active system monitoring device 3
Sends a packet storing the data to the client / data processing terminal 1 via the LAN communication path 5 to notify the client / data processing terminal 1 that the standby system monitoring device 4 cannot update the data. In response to this notification, the client / data processing terminal 1
The user performs an input operation for the recovery work. The packet of the restoration instruction command is transmitted via the LAN communication path 5 while specifying the address of the standby monitoring device 4. In the standby monitoring device 4, the main control unit 42 receives the packet of the restoration instruction command through the communication control unit 41.
【0044】なお、この復旧指示コマンドの送出は、ク
ライアント/データ処理端末1での手動操作に代えて、
サーバ/データ処理装置2から自動送出しての復旧も可
能である。この場合、サーバ/データ処理装置2が待機
系監視装置4でのデータ更新不能のデータを格納したパ
ケットがLAN通信路5を通じて取り込まれ、この更新
不能を認識した後に、復旧指示コマンドを待機系監視装
置4へ自動送信する。この後、復旧シーケンスを現用系
監視装置3の通信制御部31及び待機系監視装置4の通
信制御部41で実行して待機系データベース装置44の
格納データを復旧する。また、復旧指示コマンドは、待
機系監視装置4へ送信せずに、現用系監視装置3へ送信
して、現用系監視装置3と待機系監視装置4との間で復
旧シーケンスを実行するようにしても良い。The transmission of the restoration instruction command is performed in place of the manual operation of the client / data processing terminal 1,
It is also possible to recover by automatically sending out from the server / data processing device 2. In this case, the server / data processing device 2 fetches a packet storing data that cannot be updated by the standby monitoring device 4 through the LAN communication path 5 and, after recognizing that the update cannot be performed, issues a recovery instruction command to the standby monitoring device. Automatic transmission to the device 4. Thereafter, the communication control unit 31 of the active system monitoring device 3 and the communication control unit 41 of the standby system monitoring device 4 execute a recovery sequence to recover the data stored in the standby system database device 44. Also, the recovery instruction command is not transmitted to the standby system monitoring device 4 but is transmitted to the active system monitoring device 3 so that the recovery sequence is executed between the active system monitoring device 3 and the standby system monitoring device 4. May be.
【0045】また、現用系監視装置3及び待機系監視装
置4での自己復旧処理も可能である。この場合、待機系
監視装置4は、通信障害の通知を現用系監視装置3のア
ドレスを指定して送信し、この後、復旧シーケンスを現
用系監視装置3の通信制御部31及び待機系監視装置4
の通信制御部41で実行して待機系データベース装置4
4の格納データを復旧する。Further, self-recovery processing in the active system monitoring device 3 and the standby system monitoring device 4 is also possible. In this case, the standby-system monitoring device 4 transmits a notification of the communication failure by designating the address of the active-system monitoring device 3, and thereafter transmits the recovery sequence to the communication control unit 31 and the standby-system monitoring device of the active-system monitoring device 3. 4
Executed by the communication control unit 41 of the standby database device 4
4 is restored.
【0046】待機系監視装置4は復旧指示コマンドのパ
ケットを通信制御部41からメイン制御部42が取り込
んだ後に、データ処理部43を通じて通知メッセージ領
域部45に対するメッセージIDの検索を行う。ここで
はパス登録1に対するメッセージID1を保持しておら
ず、この「メッセージIDなし」をメイン制御部42が
認識し、通信制御部41,LAN通信路5を通じて現用
系監視装置3のアドレスを指定し、かつ、「通信障害発
生時の復旧シーケンス実行」及び「メッセージIDな
し」である旨のデータを格納したパケットを送信する。After the standby control unit 4 receives the packet of the restoration instruction command from the communication control unit 41 by the main control unit 42, it searches the notification message area unit 45 for the message ID through the data processing unit 43. Here, the message ID 1 corresponding to the path registration 1 is not held, and the “no message ID” is recognized by the main control unit 42, and the address of the active system monitoring device 3 is specified through the communication control unit 41 and the LAN communication path 5. In addition, a packet storing data indicating “execution of a recovery sequence when a communication failure occurs” and “no message ID” is transmitted.
【0047】現用系監視装置3の通信制御部31が、待
機系監視装置4からの「障害発生の確認シーケンス実
行」及び「メッセージIDなし」のパケットを受信し、
メイン制御部32が取り込む。メイン制御部32は、デ
ータ処理部33を通じて通知メッセージ領域部35を検
索する。この検索では「メッセージID1」が得られ、
更にデータ処理部33を通じて現用系データベース装置
34に格納している「メッセージID1」に対応するパ
ス登録1の通知メッセージを読み出す。この通知メッセ
ージを待機系監視装置4にLAN通信路5を通じて転送
する。The communication control unit 31 of the active monitoring device 3 receives the “execution sequence of failure occurrence confirmation sequence” and “no message ID” packets from the standby monitoring device 4,
The main control unit 32 takes in the data. The main control unit 32 searches the notification message area unit 35 through the data processing unit 33. In this search, "message ID1" is obtained,
Further, the notification message of the path registration 1 corresponding to the “message ID 1” stored in the active database device 34 is read through the data processing unit 33. This notification message is transferred to the standby monitoring device 4 via the LAN communication path 5.
【0048】待機系監視装置4では、通信制御部41、
メイン制御部42及びデータ処理部43を通じて通知メ
ッセージ領域部45がパス登録1の通知メッセージを取
り込み、メッセージID1を付与して保持する。更に、
データ処理部43を通じてパス登録1の通知メッセージ
を、待機系データベース装置44が更新して格納する。
このようにして通信障害発生時の復旧シーケンスを実行
して、クライアント/データ処理端末1が処理したデー
タ(格納データ)が、現用系監視装置3内の現用系デー
タベース装置34と待機系監視装置4内の待機系データ
ベース装置44とで一致するようにしている。In the standby system monitoring device 4, the communication control unit 41,
The notification message area unit 45 takes in the notification message of the path registration 1 through the main control unit 42 and the data processing unit 43, and attaches and retains the message ID1. Furthermore,
The notification message of the path registration 1 is updated and stored by the standby database device 44 through the data processing unit 43.
In this way, the recovery sequence when a communication failure occurs is executed, and the data (stored data) processed by the client / data processing terminal 1 is stored in the active database device 34 and the standby monitoring device 4 in the active monitoring device 3. And the standby system database device 44 in the system.
【0049】なお、パス登録3までをクライアント/デ
ータ処理端末1から現用系監視装置3に送信した後に通
信障害が発生した場合は、現用系監視装置3の通知メッ
セージ領域部35は、メッセージID1,2,3を保持
し、かつ、待機系監視装置4の通知メッセージ領域部4
5はメッセージID1,2を保持している。したがっ
て、現用系監視装置3から待機系監視装置4へは、メッ
セージID3に対応するパス登録3の通知メッセージの
みを転送することになる。If a communication failure occurs after the client / data processing terminal 1 transmits up to the path registration 3 to the active system monitoring device 3, the notification message area 35 of the active system monitoring device 3 stores the message ID 1, 2 and 3 and the notification message area 4 of the standby monitoring device 4
5 holds the message IDs 1 and 2. Therefore, only the notification message of the path registration 3 corresponding to the message ID 3 is transferred from the active monitoring device 3 to the standby monitoring device 4.
【0050】このように通信障害発生時には、少量デー
タ(例えば、数字1,2,3…又は文字A,B,C…)
のメッセージIDを、まず転送して、その待機系監視装
置4の待機系データベース装置44で未格納の通知メッ
セージを確認している。したがって、極めて少ないデー
タ量で、未格納の通知メッセージを確認できるようにな
る。As described above, when a communication failure occurs, a small amount of data (for example, numerals 1, 2, 3,... Or characters A, B, C,...)
Is transferred first, and the standby database device 44 of the standby monitoring device 4 confirms the notification message that has not been stored. Therefore, it is possible to check a notification message that has not been stored with a very small amount of data.
【0051】なお、この実施形態では、LANをバス形
式用のCSMA/CDで構成した例をもって説明した
が、これに限定しない。例えば、リング形式、スター形
式でも良い。この場合のLANアクセス方式としてはト
ークンパッシング方式などを用いる。In this embodiment, an example has been described in which the LAN is constituted by CSMA / CD for a bus format, but the present invention is not limited to this. For example, a ring format or a star format may be used. In this case, a token passing method or the like is used as the LAN access method.
【0052】更に、この実施形態では、クライアント/
データ処理端末1からの通知データを、まず、現用系監
視装置3にアドレスを指定して送信している。そして、
ここで格納した後に、現用系監視装置3から待機系監視
装置4へ転送しているが、現用系監視装置3及び待機系
監視装置4に同時的に送信するようにしても良い。この
場合、クライアント/データ処理端末1からの通知デー
タを、まず、現用系監視装置3に送信して格納する。Further, in this embodiment, the client /
First, notification data from the data processing terminal 1 is transmitted to the active system monitoring device 3 by specifying an address. And
After being stored here, the data is transferred from the active system monitoring device 3 to the standby system monitoring device 4, but may be transmitted to the active system monitoring device 3 and the standby system monitoring device 4 simultaneously. In this case, the notification data from the client / data processing terminal 1 is first transmitted to the active system monitoring device 3 and stored.
【0053】そして、その肯定応答通知をクライアント
/データ処理端末1が受け取った後に、クライアント/
データ処理端末1から待機系監視装置4へ、同一の通知
データを送信する。この場合、現用系監視装置3と待機
系監視装置4との間で実行する通信アルゴリズムが簡素
化される。換言すれば、現用系監視装置3及び待機系監
視装置4を多数のクライアント/データ処理端末が共用
する場合、現用系監視装置3及び待機系監視装置4での
空き時間が増えることになり、そのデータベースアクセ
スが容易になる。After the client / data processing terminal 1 receives the acknowledgment notification, the client / data processing terminal 1
The same notification data is transmitted from the data processing terminal 1 to the standby monitoring device 4. In this case, the communication algorithm executed between the active monitoring device 3 and the standby monitoring device 4 is simplified. In other words, when the active system monitoring device 3 and the standby system monitoring device 4 are shared by a large number of clients / data processing terminals, the idle time in the active system monitoring device 3 and the standby system monitoring device 4 increases. Database access becomes easier.
【0054】また、この実施形態では、一つの待機系監
視装置4をもって説明したが、待機系監視装置は複数で
も良い。この設置数はシステム安全性を考慮して決定す
る。この場合、複数の待機系監視装置は、それぞれに異
なるアドレスを付与して、そのデータ転送の送受信(L
ANアクセス)を実行する。In this embodiment, one standby monitoring device 4 has been described, but a plurality of standby monitoring devices may be provided. This number is determined in consideration of system security. In this case, the plurality of standby monitoring apparatuses assign different addresses to each other, and transmit / receive the data transfer (L
AN access).
【0055】更に、この実施形態では現用系監視装置3
及び待機系監視装置4にそれぞれ通信制御/データ処理
系(通信制御部31,41から通知メッセージ領域部3
5,45までの構成)と、現用系データベース装置34
及び待機系データベース装置44を一体的に設けた構
成、いわゆる、データベース管理システムとして説明し
たが、通信制御/データ処理系と現用系データベース装
置34及び待機系データベース装置44とを別個に配置
する構成でも良い。Further, in this embodiment, the active system monitoring device 3
And a communication control / data processing system (from the communication control units 31 and 41 to the notification message area unit 3).
5, 45) and the active database device 34
Although the configuration is described as a so-called database management system in which the standby database device 44 and the standby database device 44 are provided integrally, a configuration in which the communication control / data processing system, the active database device 34, and the standby database device 44 are separately arranged is also possible. good.
【0056】この場合、通信制御/データ処理系をLA
N通信路5に接続し、この通信制御/データ処理系に、
例えば、ハードディスク装置をデータベース装置として
接続する。この構成はシステム規模(スループット)な
どを考慮して構築すれば良い。In this case, the communication control / data processing system is LA
N communication path 5 and this communication control / data processing system
For example, a hard disk device is connected as a database device. This configuration may be constructed in consideration of the system scale (throughput) and the like.
【0057】また、この実施形態では閉鎖的な一つのL
AN構成をもって説明したが、大規模な通信ネットワー
ク上に構成しても良い。例えば、図1に示すLAN構成
をISDNやPSTNなどの公衆回線網や専用回線網に
接続し、遠隔地の他のLANやセンター装置(ホストコ
ンピュータ)が、現用系監視装置3及び待機系監視装置
4の現用系データベース装置34及び待機系データベー
ス装置44を使用するようにも出来る。In this embodiment, one closed L
Although the AN configuration has been described, it may be configured on a large-scale communication network. For example, the LAN configuration shown in FIG. 1 is connected to a public line network such as ISDN or PSTN or a dedicated line network, and another remote LAN or center device (host computer) is connected to the active monitoring device 3 and the standby monitoring device. 4, the active database device 34 and the standby database device 44 may be used.
【0058】この場合、図1に示すLAN構成をISD
Nで収容する場合、デジタル回線終端装置(DSU)の
T点にターミナルアダプタ(TA)を接続し、かつ、こ
の出力側のR点に図1に示すLAN構成を収容する。こ
の場合のパケット転送は制御(D)チャネル及び情報
(B)チャネルでの伝送シーケンスを実行して行う。例
えば、伝送シーケンスをレイヤ2におけるQ.921や
X.25プロトコルなどで実行する。In this case, the LAN configuration shown in FIG.
In the case of accommodating N, a terminal adapter (TA) is connected to a T point of a digital line terminal (DSU), and the LAN configuration shown in FIG. 1 is accommodated at an R point on the output side. The packet transfer in this case is performed by executing a transmission sequence on the control (D) channel and the information (B) channel. For example, if the transmission sequence 921 or X. It is executed with 25 protocols or the like.
【0059】[0059]
【発明の効果】以上の説明から明らかなように、本発明
のデータベース復旧方法及びデータベース管理システム
によれば、復旧シーケンスの実行時に、通信ネットワー
クに接続される現用系及び待機系からなる二重化データ
ベース装置にあって、通信障害発生時に少量データの識
別コードに基づいて待機系データベースの未格納データ
を確認し、その転送を行っている。これによって、ロー
カルエリアネットワークなどの通信ネットワークにおけ
る転送データ量が低減してネットワークの処理負荷を軽
減できるようになる。As is apparent from the above description, according to the database recovery method and the database management system of the present invention, at the time of executing the recovery sequence, a duplicated database device comprising an active system and a standby system connected to a communication network. In this case, when a communication failure occurs, unstored data in the standby database is confirmed based on the identification code of the small amount of data, and the data is transferred. As a result, the amount of transfer data in a communication network such as a local area network is reduced, and the processing load on the network can be reduced.
【0060】また、本発明のデータベース管理システム
によれば、二重化の現用系通信監視制御手段及び現用系
データベース装置、かつ、待機系通信監視制御手段及び
待機系データベース装置が、それぞれ個別に構成され、
又は、一体的に構成される。また、待機系通信監視制御
手段及び待機系データベース装置が、複数配置される。
更に、通信ネットワークを、公衆回線又は専用回線を通
じて他の通信ネットワークと接続して、現用系及び待機
系通信監視制御手段及び現用系及び待機系データベース
装置を共用化している。これによって、通信ネットワー
クであるローカルエリアネットワークの構成の自由度が
向上する。Further, according to the database management system of the present invention, the redundant active communication monitoring control means and the active database apparatus, and the standby communication monitoring control means and the standby database apparatus are individually configured,
Alternatively, they are integrally configured. Also, a plurality of standby communication monitoring / control means and standby database devices are arranged.
Further, the communication network is connected to another communication network through a public line or a dedicated line to share the active and standby communication monitoring control means and the active and standby database devices. Thereby, the degree of freedom of the configuration of the local area network, which is the communication network, is improved.
【0061】また、本発明のデータベース管理システム
によれば、障害発生通知を受け取ったデータ処理装置で
の手動操作又は自動送信による復旧指示コマンドによっ
て、復旧シーケンスを実行し、また、通信障害発生を待
機系通信監視制御手段が認識した際に、復旧シーケンス
を実行している。これによって、通信ネットワークであ
るローカルエリアネットワークにおける多様な通信制御
が可能になる。Further, according to the database management system of the present invention, a recovery sequence is executed by a recovery instruction command by manual operation or automatic transmission in the data processing device which has received the notification of the occurrence of a failure, and the occurrence of a communication failure is awaited. When the system communication monitoring control unit recognizes, the recovery sequence is executed. This enables various communication controls in the local area network, which is a communication network.
【図1】本発明のデータベース復旧方法及びデータベー
ス管理システムの実施形態における構成を示すブロック
図である。FIG. 1 is a block diagram showing a configuration of a database recovery method and a database management system according to an embodiment of the present invention.
【図2】実施形態の動作における伝送シーケンス図であ
る。FIG. 2 is a transmission sequence diagram in the operation of the embodiment.
1 クライアント/データ処理端末 2 サーバ/データ処理装置 3 現用系監視装置 4 待機系監視装置 5 LAN通信路 31,41 通信制御部 32,42 メイン制御部 33,43 データ処理部 34 現用系データベース装置 35,45 通知メッセージ領域部 44 待機系データベース装置 REFERENCE SIGNS LIST 1 client / data processing terminal 2 server / data processing device 3 active system monitoring device 4 standby system monitoring device 5 LAN communication path 31, 41 communication control unit 32, 42 main control unit 33, 43 data processing unit 34 active system database device 35 , 45 notification message area 44 standby database device
Claims (11)
らなる二重化データベース装置が接続され、かつ、通信
障害発生時に待機系データベース装置の格納データを復
旧するデータベース復旧方法において、 前記通信ネットワークにおける処理データに少量データ
の識別コードを付与して現用系及び待機系データベース
装置で保持し、かつ、処理データを現用系及び待機系デ
ータベース装置で格納し、更に、通信障害発生時に待機
系データベース装置から現用系データベース装置へ保持
している識別コードを送信し、次に、現用系データベー
ス装置が、受け取った識別コード以外に保持している識
別コードを判定し、この判定による識別コードに対応す
る処理データを、待機系データベース装置に転送して格
納データの復旧を行うことを特徴とするデータベース復
旧方法。1. A database recovery method for connecting a redundant database device comprising an active system and a standby system to a communication network and recovering data stored in a standby database device when a communication failure occurs. An identification code for a small amount of data is added and retained in the active and standby database devices, and processing data is stored in the active and standby database devices. Further, when a communication failure occurs, the standby database device is switched to the active database. Transmits the retained identification code to the device, and then determines the retained identification code other than the received identification code by the active database device, and waits for processing data corresponding to the determined identification code. Transfer data to a system database device to recover stored data Database recovery method to be.
らなる二重化データベース装置が接続され、かつ、通信
障害発生時に待機系データベース装置の格納データを復
旧するデータベース管理システムにおいて、 前記通信ネットワークにおける処理データを、現用系及
び待機系のそれぞれの通信監視制御手段が少量データの
識別コードを付与して保持し、かつ、処理データを前記
現用系及び待機系のそれぞれのデータベース装置に格納
し、 通信障害発生時に前記現用系通信監視制御手段へ前記待
機系通信監視制御手段から識別コードを送信すると共
に、 前記現用系通信監視制御手段が、受信した識別コード以
外に保持している識別コードを判定し、かつ、この判定
による識別コードに対応する処理データを、前記現用系
通信監視制御手段が、現用系データベース装置から読み
出し、前記待機系通信監視制御手段へ送信するための復
旧シーケンスを実行して、前記待機系データベース装置
での格納データを復旧することを特徴とするデータベー
ス管理システム。2. A database management system in which a redundant database device including an active system and a standby system is connected to a communication network and recovers data stored in the standby database device when a communication failure occurs. The communication monitoring control means of each of the active system and the standby system assigns and retains an identification code of a small amount of data, and stores the processing data in the respective database devices of the active system and the standby system. While transmitting an identification code from the standby communication monitoring control means to the active communication monitoring control means, the active communication monitoring control means determines an identification code held other than the received identification code, and The working communication monitoring control means converts the processing data corresponding to the identification code by this determination to A database management system for executing a recovery sequence for reading from an active database device and transmitting the read data to the standby communication monitoring control means to recover data stored in the standby database device.
段として、 所定のアクセス方式によって送受信を行う通信プロトコ
ルを実行する通信制御部と、 通信障害発生時の復旧シーケンスを実行するためのメイ
ン制御部と、 通信障害発生時に現用系及び待機系のデータベース装置
へ格納するデータに対して、復旧シーケンスを実行する
ための識別コードとしてのメッセージIDを付与して保
持する通知メッセージ領域部と、 前記メイン制御部と前記通知メッセージ領域部との間の
データ送受信を処理するデータ処理部と、 を備えることを特徴とする請求項2記載のデータベース
管理システム。3. A communication control unit for executing a communication protocol for performing transmission and reception according to a predetermined access method as said active and standby communication monitoring control means, and a main control for executing a recovery sequence when a communication failure occurs. A notification message area section for assigning and holding a message ID as an identification code for executing a recovery sequence to data stored in the active and standby database devices when a communication failure occurs; The database management system according to claim 2, further comprising: a data processing unit that processes data transmission and reception between a control unit and the notification message area unit.
送出するサーバ/クライアントシステムにおけるサーバ
データ処理装置及びクライアントデータ処理端末を収容
するローカルエリアネットワークであることを特徴とす
る請求項2記載のデータベース管理システム。4. The database management system according to claim 2, wherein said communication network is a local area network accommodating a server data processing device and a client data processing terminal in a server / client system for transmitting processing data. .
徴とする請求項2記載のデータベース管理システム。5. The database management system according to claim 2, wherein the identification code of the small amount of data is at least one numeral or character data.
データベース装置、かつ、待機系通信監視制御手段及び
待機系データベース装置が、それぞれ個別に構成され、
又は、一体化して構成されることを特徴とする請求項2
記載のデータベース管理システム。6. The active communication monitoring control unit and the active database device, and the standby communication monitoring control unit and the standby database device are individually configured,
Or a unitary structure.
The database management system described.
データベース装置が、複数配置されることを特徴とする
請求項2記載のデータベース管理システム。7. The database management system according to claim 2, wherein a plurality of said standby system communication monitoring control means and standby database devices are arranged.
接続されて、現用系及び待機系通信監視制御手段と現用
系及び待機系データベース装置を共用化することを特徴
とする請求項2記載のデータベース管理システム。8. The communication network, wherein the communication network is connected to another communication network via a public line or a dedicated line to share the active and standby communication monitoring and control means with the active and standby database devices. 3. The database management system according to claim 2, wherein
障害発生通知を受け取った通信ネットワーク上のデータ
処理装置が、ここでの手動操作による復旧指示コマンド
を現用系通信監視制御手段及び/又は待機系通信監視制
御手段へ送信して復旧シーケンスを実行することを特徴
とする請求項2記載のデータベース管理システム。9. The data processing device on the communication network which has received the communication failure occurrence notification from the standby communication monitoring and control means transmits the manual recovery instruction command to the active communication monitoring and control means and / or the standby. 3. The database management system according to claim 2, wherein the database management system transmits the data to the system communication monitoring control unit and executes a recovery sequence.
信障害発生通知を受け取った通信ネットワーク上のデー
タ処理装置が、復旧指示コマンドを現用系通信監視制御
手段及び/又は待機系通信監視制御手段へ自動送信して
復旧シーケンスを実行することを特徴とする請求項2記
載のデータベース管理システム。10. The data processing device on the communication network, which has received the communication failure notification from the standby communication monitoring control means, sends a recovery instruction command to the active communication monitoring control means and / or the standby communication monitoring control means. 3. The database management system according to claim 2, wherein a recovery sequence is executed by automatic transmission.
障害発生を認識した際に、現用系通信監視制御手段へ通
知し、現用系通信監視制御手段と待機系通信監視制御手
段との間で復旧シーケンスを実行することを特徴とする
請求項2記載のデータベース管理システム。11. The standby communication monitoring and control means, when recognizing the occurrence of a communication failure, notifies the active communication monitoring and control means, and the communication between the active communication monitoring and control means and the standby communication monitoring and controlling means. 3. The database management system according to claim 2, wherein a recovery sequence is executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10120992A JPH11312111A (en) | 1998-04-30 | 1998-04-30 | Method for restoring data base and data base management system thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10120992A JPH11312111A (en) | 1998-04-30 | 1998-04-30 | Method for restoring data base and data base management system thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11312111A true JPH11312111A (en) | 1999-11-09 |
Family
ID=14800108
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10120992A Pending JPH11312111A (en) | 1998-04-30 | 1998-04-30 | Method for restoring data base and data base management system thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11312111A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008105098A1 (en) * | 2007-02-28 | 2008-09-04 | Fujitsu Limited | Memory mirroring operation control method |
| WO2008105030A1 (en) * | 2007-02-28 | 2008-09-04 | Fujitsu Limited | Backup device |
| JP2009223780A (en) * | 2008-03-18 | 2009-10-01 | Hitachi Ltd | Data replication method and data replication system |
| JP2011039630A (en) * | 2009-08-07 | 2011-02-24 | Hitachi Ltd | Removable-cpu type fail-safe device and fail-safe program |
| JP2014026587A (en) * | 2012-07-30 | 2014-02-06 | Nippon Telegr & Teleph Corp <Ntt> | Distributed database system, first database device of distributed database system, second database device of distributed database system and computer program |
| JP2016019280A (en) * | 2014-07-07 | 2016-02-01 | ベドロック・オートメーション・プラットフォームズ・インコーポレーテッド | Industrial control system redundant communication / control module authentication |
-
1998
- 1998-04-30 JP JP10120992A patent/JPH11312111A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008105098A1 (en) * | 2007-02-28 | 2008-09-04 | Fujitsu Limited | Memory mirroring operation control method |
| WO2008105030A1 (en) * | 2007-02-28 | 2008-09-04 | Fujitsu Limited | Backup device |
| JP5029685B2 (en) * | 2007-02-28 | 2012-09-19 | 富士通株式会社 | Backup device |
| US8281092B2 (en) | 2007-02-28 | 2012-10-02 | Fujitsu Limited | Memory-mirroring control apparatus and memory-mirroring control method |
| US9612928B2 (en) | 2007-02-28 | 2017-04-04 | Fujitsu Limited | Memory-mirroring control apparatus and memory-mirroring control method |
| JP2009223780A (en) * | 2008-03-18 | 2009-10-01 | Hitachi Ltd | Data replication method and data replication system |
| JP2011039630A (en) * | 2009-08-07 | 2011-02-24 | Hitachi Ltd | Removable-cpu type fail-safe device and fail-safe program |
| JP2014026587A (en) * | 2012-07-30 | 2014-02-06 | Nippon Telegr & Teleph Corp <Ntt> | Distributed database system, first database device of distributed database system, second database device of distributed database system and computer program |
| JP2016019280A (en) * | 2014-07-07 | 2016-02-01 | ベドロック・オートメーション・プラットフォームズ・インコーポレーテッド | Industrial control system redundant communication / control module authentication |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6941327B2 (en) | Apparatus and method for database synchronization in a duplex system | |
| JP2002542636A (en) | Method and system for maintaining reservation command relationships in a fiber channel network | |
| WO2001074033A1 (en) | Communication control device and control method | |
| JPH086910A (en) | Cluster computer system | |
| JP2000307624A (en) | Transmission information repeating system and its repeating device | |
| WO1997049034A1 (en) | Job taking-over system | |
| US7143082B2 (en) | Distributed-processing database-management system | |
| JPH11312111A (en) | Method for restoring data base and data base management system thereof | |
| JPH10133971A (en) | File transfer processing system | |
| JP2001022627A (en) | Database synchronization method and method between multiple devices | |
| JP3730545B2 (en) | Service control application execution method and system | |
| JPH0591108A (en) | Message communication control method and communication system | |
| JP3088683B2 (en) | Data communication system | |
| JPH1074157A (en) | Distributed processor and distributed processing method | |
| JPH02260055A (en) | Inter-computer file transfer system | |
| JP3217086B2 (en) | Message Communication Method between Standby Controller and Message Device in Redundant System | |
| KR0174603B1 (en) | How to restore the database of the exchange | |
| JP4874211B2 (en) | Computer system, synchronous operation method, node, and program | |
| US20020184243A1 (en) | Base host-switching database-management system | |
| JP2000057095A (en) | Method and system for processing communication | |
| JPS62159241A (en) | Data processing device backup method | |
| JPS63244165A (en) | Inter-computer file transfer method | |
| JP2890962B2 (en) | Loosely coupled multi-hot standby computer system | |
| JPH01291553A (en) | Individual communication system for mesh network | |
| JP3411966B2 (en) | Configuration method of service management function of intelligent network |