JPH06309211A - Distributed information processing system and destroyed information synchronous restoring method - Google Patents

Distributed information processing system and destroyed information synchronous restoring method

Info

Publication number
JPH06309211A
JPH06309211A JP5092803A JP9280393A JPH06309211A JP H06309211 A JPH06309211 A JP H06309211A JP 5092803 A JP5092803 A JP 5092803A JP 9280393 A JP9280393 A JP 9280393A JP H06309211 A JPH06309211 A JP H06309211A
Authority
JP
Japan
Prior art keywords
information
update
processing
update information
history
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5092803A
Other languages
Japanese (ja)
Inventor
Kinzaburo Yoshie
金三郎 吉江
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP5092803A priority Critical patent/JPH06309211A/en
Publication of JPH06309211A publication Critical patent/JPH06309211A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To minimize a part of update information which can not be restored even in case of information destruction and to restore the information to a normal state having no contradiction among all pieces of update information by generating history information by using a history information means each time information is updated and storing it in a history information storage means. CONSTITUTION:At the same time with the update processing of the update information, the history information control means 7 of a processing module 1 requests the update serial number control means 14 of a control module 12 to outputs an update serial number. The update serial number control means 14 outputs the serial number which is unique and sequential in the system and informs all relative processing modules 1 of it. The history control means 7 of the respective processing modules 1 having received it obtain information required to edit history information from their internal update processing means 5 to edit the history information, and store the history information in history information storage means 8. If information is destroyed, an update information restoration processing means 11 restores the update information by using the stored history information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ある処理モジュ−ルに
保存中の更新情報と履歴情報が破壊された場合でも、他
処理モジュ−ルの履歴情報を基に、破壊された情報を復
旧することが可能な分散情報処理システムおよびその破
壊情報同期復旧方法に関する。
BACKGROUND OF THE INVENTION The present invention restores the destroyed information based on the history information of another processing module even when the update information and the history information stored in a certain processing module are destroyed. The present invention relates to a distributed information processing system and a destruction information synchronization recovery method thereof.

【0002】[0002]

【従来の技術】従来、ファイルの障害対策としては、フ
ァイル更新プログラムの走行中に障害が起ったとき、再
開時点で必要とする履歴情報のファイルをファイルセ−
ビングにより用意しておく方法である。このファイルセ
−ビングとしては、(a)定期的ダンプ・・・定期的に
ファイル全体の内容を他の装置(例えば磁気テ−プ)に
ダンプし、再開を必要とする以前の履歴情報を提供す
る。(b)ビフォアレコ−ドとアフタレコ−ド・・・・
再開用に以前の履歴情報のレコ−ドを提供するためにセ
−ブされる更新前のレコ−ド(ビフォアレコ−ド)と、
現行の履歴情報のレコ−ドを提供するためにセ−ブされ
る更新後のレコ−ド(アフタレコ−ド)とを、ジャ−ナ
ルテ−プ等にセ−ブし、定期的ダンプと合わせてファイ
ルのリカバリを行う。(c)ディレイドアップディト・
・・・磁気テ−プ上のシ−ケンスシャルファイル処理に
用いられ、トランザクションテ−プ、古いマスタテ−プ
の保存により、再開時点に見合うファイル履歴情報を得
る(例えば、昭和47年5月30日オ−ム社発行『情報処理
ハンドブック』pp.3-31〜3-32参照)。
2. Description of the Related Art Conventionally, as a countermeasure against a file failure, when a failure occurs during the running of a file update program, a file of history information required at the time of restart is created in the file save.
This is a method prepared by bing. The file saving includes (a) regular dumping ... The contents of the entire file are periodically dumped to another device (for example, a magnetic tape), and history information before resuming is provided. To do. (B) Before-record and after-record ...
A pre-update record (before-record) saved to provide a record of previous history information for restarting,
The updated record (after record), which is saved to provide the record of the current history information, is saved in the journal tape etc. and combined with the regular dump. Recover files. (C) Delayed update
... Used for sequential file processing on magnetic tape, transaction history and old master tape are saved to obtain file history information corresponding to the restart time (for example, May 30, 1972) (See "Information Processing Handbook", pp.3-31 to 3-32, published by Nichi-Ohm Co., Ltd.).

【0003】一方、複数の処理モジュ−ルからなる分散
処理システムにおいて、ある処理モジュ−ルで情報が破
壊された場合、上記(a)(b)(c)等でセ−ビング
されたファイル内容の履歴情報を基に破壊された更新情
報を復旧していた。その場合、破壊された更新情報を復
旧するために必要な履歴情報は、少なくとも処理装置お
よび情報格納装置(メモリ)からなるその処理モジュ−
ルに関する情報のみで構成されていた。そして、更新情
報復旧処理の第1の方法としては、全ての処理モジュ−
ルを対象とし、かつ矛盾のない保証のとれた保証更新情
報までさかのぼって復旧する方法がある。すなわち、リ
ストア(restore)と呼ばれる方法で、最後のセ
−ブポイントに戻り、セ−ブファイルをリストアするも
のである。また、第2の方法としては、情報が破壊され
た処理モジュ−ルのみで、保証更新情報に復旧する方法
がある。これは、リコンストラスト(reconstr
ust)と呼ばれる方法で、障害発生時の状態を再構成
するものである。
On the other hand, in a distributed processing system consisting of a plurality of processing modules, when information is destroyed by a certain processing module, the file contents saved by the above (a), (b), (c), etc. The damaged update information was restored based on the history information of. In that case, the history information necessary for recovering the destroyed update information is the processing module including at least the processing device and the information storage device (memory).
It consisted only of information about Then, the first method of the update information recovery process is to execute all process modules.
There is a method to trace back to the warranty update information that guarantees the consistency and has no contradiction. That is, a method called "restore" is used to return to the last save point and restore the save file. As a second method, there is a method of restoring the warranty update information only with the processing module in which the information is destroyed. This is the reconstr
This is a method called "ust" to reconstruct the state at the time of failure occurrence.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た更新情報復旧処理の第1の方法では、正常な処理モジ
ュ−ルについても、保証更新情報以降の更新分を破棄せ
ざるを得ないという問題が生じる。また、上記第2の方
法では、破壊遭遇処理モジュ−ルと他の正常な処理モジ
ュ−ルの更新情報間で矛盾が発生するという問題があ
る。本発明の目的は、これら従来の課題を解消し、更新
情報の復旧不能分を最小にし、かつ全更新情報間で矛盾
のない正常な状態に復旧できる分散情報処理システムお
よびその破壊情報同期復旧方法を提供することにある。
However, the first method of the update information restoration process described above has a problem that the update amount after the guarantee update information has to be discarded even for the normal process module. Occurs. Further, the second method has a problem that a contradiction occurs between the update information of the destruction encounter processing module and other normal processing modules. An object of the present invention is to solve these conventional problems, minimize the unrecoverable amount of update information, and restore to a normal state in which there is no contradiction among all update information, and a destruction information synchronization restoration method thereof. To provide.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明の分散情報処理システムは、(イ)少なくと
も処理装置(2)と情報格納装置(3)とからなる複数
台の処理モジュ−ル(1)、および単一の管理モジュ−
ル(12)とを結合装置(17)で相互に結合した分散
情報処理システムにおいて、各処理モジュ−ル(1)に
は、少なくとも、モジュ−ル相互に通信するための通信
制御手段(4)と、更新情報の更新処理を実行する更新
処理手段(5)と、更新された情報を格納するための更
新情報格納手段(6)と、更新通番の払い出しを要求
し、履歴情報編集に必要な情報を更新処理手段(5)か
ら入手して、履歴情報を編集する履歴情報制御手段
(7)と、編集された履歴情報を格納する履歴情報格納
手段(8)と、周期的に、全モジュ−ル間で同期をとっ
て自モジュ−ルの更新情報の内容を取得する保証更新情
報処理手段(9)と、取得された保証更新情報を格納す
る保証更新情報格納手段(10)と、情報破壊が発生し
たとき、保証更新情報格納手段(10)に保存された保
証更新情報を読み出して、破壊遭遇処理モジュ−ルの更
新情報として再設定する更新情報復旧処理手段(11)
とを配備し、また管理モジュ−ル(12)には、処理モ
ジュ−ルと通信するための通信制御手段(13)と、処
理モジュ−ルの履歴情報制御手段(7)からの要求によ
り、システム内の一意かつシ−ケンシャルな更新通番を
払し出す更新通番管理手段(14)と、各処理モジュ−
ルの保証更新情報処理手段(9)による自モジュ−ルの
更新情報の内容取得処理の全モジュ−ル間での同期を制
御する保証更新情報管理手段(15)と、各処理モジュ
−ルの保証更新情報を管理する更新情報復旧管理手段
(16)とを配備することを特徴としている。また、本
発明による分散情報処理システムの破壊情報同期復旧方
法は、(ロ)少なくとも処理装置(2)と情報格納装置
(3)とからなる処理モジュ−ル(1)と、単一の管理
モジュ−ル(12)とを結合装置(17)で相互に結合
した分散情報処理システムにおいて、各処理モジュ−ル
(1)で更新情報の更新処理実行毎に、更新情報の識別
子(22)と、更新情報の更新前後の各々の内容(2
3,24)と、更新処理毎にシステム内で一意かつシ−
ケンシャルに付与される更新通番(25)と、更新情報
と一括して更新される他処理モジュ−ルの更新情報が存
在するモジュ−ル識別子および上記更新情報識別子の組
の一覧(26,27,28)とを、更新履歴として生成
し、更新履歴を保存しておき、特定の処理モジュ−ル内
に保存中の更新情報および履歴情報が破壊された場合に
は、他処理モジュ−ルに保存されている履歴情報を基
に、情報が破壊された破壊遭遇処理モジュ−ルのみなら
ず、分散情報処理システムを構成する複数の他の処理モ
ジュ−ル全ての更新情報を復旧することを特徴としてい
る。
In order to achieve the above object, the distributed information processing system of the present invention comprises (a) a plurality of processing modules each including at least a processing device (2) and an information storage device (3). (1) and a single management module
In the distributed information processing system in which the module (12) and the module (12) are coupled to each other, each processing module (1) has at least a communication control means (4) for communicating with each other. An update processing means (5) for executing update processing of update information, an update information storage means (6) for storing updated information, and a request for paying out an update serial number, which is necessary for editing history information. A history information control unit (7) that obtains information from the update processing unit (5) and edits the history information, a history information storage unit (8) that stores the edited history information, and periodically, all modules. -Guarantee update information processing means (9) for acquiring the contents of update information of its own module in synchronization with each other, guarantee update information storage means (10) for storing the acquired warranty update information, and information Warranty renewal information rating when destruction occurs Means (10) reads the guaranteed update information stored in the fracture encounters processing module - update information restoration processing means for re-setting the update information Le (11)
In addition, the management module (12) is provided with a communication control means (13) for communicating with the processing module, and a request from the history information control means (7) of the processing module. An update serial number management means (14) for paying out a unique and sequential update serial number in the system, and each processing module.
The guarantee update information management means (15) for controlling the synchronization of the content acquisition processing of the update information of its own module by all the guarantee update information processing means (9) of each module, and each processing module. An update information recovery management means (16) for managing the guarantee update information is provided. Further, the method for recovering destruction information synchronization of a distributed information processing system according to the present invention comprises (b) a processing module (1) including at least a processing device (2) and an information storage device (3), and a single management module. In the distributed information processing system in which the connection device (17) and the (12) are coupled to each other, the update information identifier (22) and the update information identifier (22) each time the update information is updated in each processing module (1). Contents of each before and after update of update information (2
3 and 24), and unique and serial in the system for each update process.
A list of the update serial number (25) sequentially assigned, the module identifier in which the update information of the other processing module that is updated together with the update information and the update information identifier are listed (26, 27, 28) and are generated as an update history, the update history is saved, and when the update information and the history information being saved in a specific processing module are destroyed, they are saved in another processing module. Based on the history information that has been recorded, it is characterized in that not only the destruction encounter processing module in which the information is destroyed, but also the update information of all the other processing modules constituting the distributed information processing system are restored. There is.

【0006】[0006]

【作用】本発明においては、複数モジュ−ルから構成さ
れる分散情報処理システムで、情報更新の都度、履歴情
報制御手段を用いて履歴情報を作成し、履歴情報格納手
段にこれを保存しておく。そして、情報破壊を検出した
時点で、更新情報復旧管理手段と更新情報復旧処理手段
が他の正常な処理モジュ−ルに保存された履歴情報を基
に、全処理モジュ−ルの更新情報を更新情報の復旧不能
分を最小にし、かつ全更新情報間で矛盾のない正常な状
態に復旧する。本発明では、履歴情報の内容として、更
新通番や関連する他処理モジュ−ルに関する情報を含む
ため、全処理モジュ−ルの更新情報を対象として、復旧
不能分を最小にすることができ、かつ全更新情報間で矛
盾のない状態に復旧することができる。
In the present invention, in the distributed information processing system composed of a plurality of modules, the history information is created by using the history information control means every time the information is updated, and the history information is stored in the history information storage means. deep. Then, when the information destruction is detected, the update information recovery management means and the update information recovery processing means update the update information of all the processing modules based on the history information stored in other normal processing modules. Minimize the unrecoverable amount of information, and restore the normal state without any inconsistency among all update information. In the present invention, since the history information includes information regarding the update serial number and related other processing modules, the unrecoverable portion can be minimized for the update information of all processing modules, and It is possible to restore a consistent state between all update information.

【0007】[0007]

【実施例】以下、本発明の実施例を、図面により詳細に
説明する。図1は、本発明の一実施例を示す分散情報処
理システムの構成図である。図1において、1は処理機
能と情報格納機能を有する処理モジュ−ル、12は分散
情報処理システムの管理を行う管理モジュ−ル、17は
複数台の処理モジュ−ル1と1台の管理モジュ−ル12
を結合する結合装置である。処理モジュ−ル1は、処理
装置2と情報格納装置3とから構成されている。処理装
置2には、通信制御手段4、更新処理手段5、履歴情報
制御手段7、保証更新情報処理手段9、および更新情報
復旧処理手段11が配置される。また、情報格納装置3
には、更新情報格納手段6、履歴情報格納手段8、およ
び保証更新情報格納手段10が配置されている。さら
に、管理モジュ−ル12には、通信制御手段13、更新
通番管理手段14、保証更新情報管理手段15、および
更新情報復旧管理手段16が配置されている。複数の処
理モジュ−ル1の構成は、全て同一であるため、他のも
のについては説明を省略する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a configuration diagram of a distributed information processing system showing an embodiment of the present invention. In FIG. 1, 1 is a processing module having a processing function and information storage function, 12 is a management module for managing the distributed information processing system, and 17 is a plurality of processing modules 1 and one management module. -Le 12
Is a coupling device for coupling. The processing module 1 is composed of a processing device 2 and an information storage device 3. A communication control unit 4, an update processing unit 5, a history information control unit 7, a warranty update information processing unit 9, and an update information restoration processing unit 11 are arranged in the processing device 2. In addition, the information storage device 3
An update information storage unit 6, a history information storage unit 8, and a guarantee update information storage unit 10 are arranged in the. Further, the management module 12 is provided with a communication control means 13, an update serial number management means 14, a guarantee update information management means 15, and an update information recovery management means 16. The configurations of the plurality of processing modules 1 are all the same, and thus the description of other components will be omitted.

【0008】図2は、図1における履歴情報格納手段に
格納された情報の種類と格納状態を示す図である。処理
モジュ−ル1の情報格納装置3における履歴情報格納手
段8には、図2に示すように、更新対象の処理モジュ−
ル識別子21、更新対象の更新情報識別子22、更新情
報の更新前内容23、更新情報の更新後内容24、およ
び更新通番25が格納されている。なお、26〜28
は、更新情報と関連する他処理モジュ−ル識別子と更新
情報識別子の組であり、これは必要な数だけ存在する。
このように、本実施例では、履歴情報の内容として、更
新通番や関連する他処理モジュ−ルに関する情報を含ん
でいるため、全処理モジュ−ルの更新情報を対象とし
て、復旧不能分を最小にすることができるとともに、全
更新情報間で矛盾のない状態に復旧することができる。
FIG. 2 is a diagram showing the types and storage states of information stored in the history information storage means shown in FIG. As shown in FIG. 2, the history information storage means 8 in the information storage device 3 of the processing module 1 is a processing module to be updated.
An update identifier 21, an update information identifier 22 to be updated, pre-update contents 23 of the update information, post-update contents 24 of the update information, and an update serial number 25 are stored. 26-28
Is a set of another processing module identifier and update information identifier associated with the update information, and there are as many as necessary.
As described above, in this embodiment, since the history information includes the information about the update serial number and related other processing modules, the unrecoverable portion is minimized for the update information of all the processing modules. In addition, it is possible to restore all update information to a state in which there is no contradiction.

【0009】図3は、図1の各処理モジュ−ルに分散さ
れている更新情報の配置例を示す図である。a1とa2
とは、必ずしも同一の情報である必要はない。関連があ
り、かつ同期して更新が行われるものであればよい。3
1〜39は更新情報であって、処理モジュ−ル#1では
更新情報31,35,37がそれぞれ更新され、処理モ
ジュ−ル#2では更新情報32,33,38がそれぞれ
更新され、処理モジュ−ル#3では更新情報34,3
6,39がそれぞれ更新される。このうち、更新情報
(a1)31と更新情報(a2)32は相互に関連のあ
る情報であり、更新情報(b2)33と更新情報(b
3)34も相互関連の情報である。更新情報(c1)3
5と更新情報(c3)36についても同じである。ま
た、更新情報(d)37、更新情報(e)38、更新情
報(f)39は、各々他処理モジュ−ルと関係がない更
新情報である。これらの更新情報(例えば、a1とa
2)は、目的とする情報処理システムの設計時点におい
て目的とする条件を満足するように分割されており、配
備先モジュ−ルが決定されるものである。
FIG. 3 is a diagram showing an arrangement example of update information distributed in each processing module of FIG. a1 and a2
Are not necessarily the same information. Anything that is related and updated synchronously may be used. Three
Reference numerals 1 to 39 are update information. In the processing module # 1, the update information 31, 35 and 37 are updated, and in the processing module # 2, the update information 32, 33 and 38 are updated and the processing module is updated. -Update information 34, 3 for rule # 3
6 and 39 are updated respectively. Of these, the update information (a1) 31 and the update information (a2) 32 are mutually related information, and the update information (b2) 33 and the update information (b
3) 34 is also information related to each other. Update information (c1) 3
5 and the update information (c3) 36 are the same. Further, the update information (d) 37, the update information (e) 38, and the update information (f) 39 are update information that are not related to other processing modules. These update information (for example, a1 and a
In 2), the target information processing system is divided so as to satisfy the desired conditions at the time of designing, and the deployment destination module is determined.

【0010】図4は、本発明における更新処理例の説明
図である。図4において、41は更新情報a1の更新前
の内容、42は更新情報a1の更新後の内容、43は更
新情報c1の内容、44は更新情報dの内容である。な
お、左側の図(1)は更新前の状態j、右側の図(2)
は更新後の状態kを示している。図4(1)(2)から
明らかなように、これらの更新対象は更新情報a1のみ
であり、更新情報c1の内容43と更新情報dの内容4
4には変化はない。この分散情報処理システムが業務を
逐行する過程で、更新情報(a1)31と更新情報(a
2)32のように相互に関連を持つ複数の更新情報の組
全体は、他の処理要求からの競合を受けることなく、同
期して更新する必要がある。また、情報破壊発生時に、
復旧を必要とする全ての更新情報については、更新情報
の更新の都度、図2に示す更新履歴情報を作成する必要
がある。図2の更新履歴情報を作成するため、図3と図
4により、更新処理と履歴情報生成処理の例を説明す
る。
FIG. 4 is an explanatory diagram of an example of update processing according to the present invention. In FIG. 4, 41 is the content before update of the update information a1, 42 is the content after update of the update information a1, 43 is the content of update information c1, and 44 is the content of update information d. In addition, the left figure (1) is the state j before update, the right figure (2)
Indicates the state k after updating. As is apparent from FIGS. 4 (1) and 4 (2), these update targets are only the update information a1, and the content 43 of the update information c1 and the content 4 of the update information d.
There is no change in 4. In the process in which this distributed information processing system carries out tasks, update information (a1) 31 and update information (a1)
2) The entire set of a plurality of pieces of update information that are mutually related as in 32 needs to be updated synchronously without receiving a conflict from another processing request. When information is destroyed,
For all update information that needs to be restored, it is necessary to create the update history information shown in FIG. 2 every time the update information is updated. In order to create the update history information of FIG. 2, an example of update processing and history information generation processing will be described with reference to FIGS. 3 and 4.

【0011】図3において、更新情報(a1)31の更
新処理実行要求が発生すると、処理モジュ−ル#1の更
新処理手段5が起動され、更新処理を実行する。実行結
果は、更新情報格納手段6に格納される。この場合、更
新情報(a1)31と関連する処理モジュ−ル#2上の
更新情報(a2)32も、処理モジュ−ル#1と連携を
とって同じように更新処理を実行する。この更新処理実
行と同時に、処理モジュ−ル#1の履歴情報制御手段7
は、管理モジュ−ル12の更新通番管理手段14に対し
て、更新通番の払い出しを要求する。更新通番管理手段
14は、システム内で一意、かつシ−ケンシャルな更新
通番を払い出し、関連する全処理モジュ−ル、この場合
には処理モジュ−ル#1と処理モジュ−ル#2に通知す
る。これを受信した各処理モジュ−ル#1,#2の履歴
情報制御手段7は、図2に示す履歴情報編集に必要な情
報を自処理モジュ−ル内の更新処理手段5から入手し
て、履歴情報を編集する。編集処理が終了すると、履歴
情報格納手段8でこの履歴情報を保存する。
In FIG. 3, when an update processing execution request for the update information (a1) 31 is issued, the update processing means 5 of the processing module # 1 is activated to execute the update processing. The execution result is stored in the update information storage means 6. In this case, the update information (a2) 32 on the processing module # 2 associated with the update information (a1) 31 also performs the update processing in the same manner in cooperation with the processing module # 1. Simultaneously with the execution of this update processing, the history information control means 7 of the processing module # 1
Requests the update serial number management means 14 of the management module 12 to pay out the update serial number. The update sequence number management means 14 issues a unique and sequential update sequence number in the system and notifies all related process modules, in this case, process modules # 1 and # 2. . The history information control means 7 of each of the processing modules # 1 and # 2, which has received this, obtains the information necessary for editing the history information shown in FIG. 2 from the update processing means 5 in the own processing module, Edit history information. When the editing process is completed, the history information storage means 8 stores the history information.

【0012】図5は、図3における複数処理モジュ−ル
間の更新シ−ケンス例を示す図である。ここでは、図3
に示した更新情報の配置を前提としており、更新情報識
別子で示される更新情報a1は、状態s0時点での情報
内容をa1(s0)で表わす。その他の更新情報c1〜
fについても、全く同じである。また、状態は、状態s
0からs1・・・・s5のように時系列に変化してい
る。なお、斜線の欄の値が、情報の更新が行われたこと
を示している。図6および図7は、図5で示した更新シ
−ケンスに伴って生成される履歴情報例の図である。図
6,図7において、51〜58は履歴情報の内容であ
り、各々の情報は図2の履歴情報の構成に対応する。状
態s1では、実線で囲まれた履歴情報51と履歴情報5
5がそれぞれ処理モジュ−ル#1と処理モジュ−ル#2
に生成されて、保存されることが示されている。状態s
2でも、同じようにして生成され、保存されるので、こ
の時点では処理モジュ−ル#1には履歴情報51と履歴
情報52が保存され、処理モジュ−ル#2には履歴情報
55のみが保存されることになる。状態s3でも、同じ
ように生成されて保存されるので、この時点では処理モ
ジュ−ル#1には履歴情報51と履歴情報52と履歴情
報53が保存される。以下、同じようにして、s4,s
5においても履歴情報の生成と保存が行われる。このよ
うに、図6,図7における履歴情報の内容51〜58
は、図5における斜線欄に対応しており、従って図6,
図7の履歴情報内容は、情報の更新が行われた時点での
履歴情報の内容を示している。
FIG. 5 is a diagram showing an example of the update sequence between the multi-processing modules in FIG. Here, FIG.
Based on the arrangement of the update information shown in (1), the update information a1 indicated by the update information identifier represents the information content at the state s0 as a1 (s0). Other update information c1
The same applies to f. In addition, the state is the state s
The time series changes from 0 to s1 ... S5. The value in the shaded area indicates that the information has been updated. 6 and 7 are diagrams of examples of history information generated in accordance with the update sequence shown in FIG. In FIGS. 6 and 7, 51 to 58 are the contents of the history information, and each information corresponds to the structure of the history information of FIG. In the state s1, history information 51 and history information 5 surrounded by a solid line
5 is processing module # 1 and processing module # 2, respectively
It has been shown to be generated and stored in. State s
In the case of No. 2, since the same is generated and saved, the history information 51 and the history information 52 are saved in the processing module # 1 and only the history information 55 is saved in the processing module # 2 at this point. Will be saved. Since the state s3 is similarly generated and stored, the history information 51, the history information 52, and the history information 53 are stored in the processing module # 1 at this point. In the same way, s4, s
Also in 5, the history information is generated and saved. Thus, the contents 51 to 58 of the history information in FIGS.
Corresponds to the shaded area in FIG. 5, and therefore FIG.
The history information content in FIG. 7 shows the content of the history information at the time when the information was updated.

【0013】以下、図5により、情報破壊が発生した場
合における回復方法の例を説明する。いま、図5におけ
るs5の状態で情報破壊が発生した場合、もし情報破壊
が更新情報のみであれば、履歴情報格納手段8に保存さ
れている履歴情報を用いて更新情報復旧処理手段11が
更新情報の復旧を行う。この場合、復旧に使用した履歴
情報は正常であるため、全更新情報の正常な復旧が可能
であって、他の処理モジュ−ル1の更新情報との間でも
矛盾は発生しない。次に、情報破壊が更新情報のみなら
ず、履歴情報にまで及んでいる場合の回復方法を述べ
る。いま、図5における状態s5で情報破壊が発生した
場合には、先ず、予め周期的に、例えば図5の状態s0
のような適当な時点で、管理モジュ−ル12の保証更新
情報管理手段15と処理モジュ−ル1の保証更新情報処
理手段9とが同期をとって、全モジュ−ルの更新情報の
内容を取得し、処理モジュ−ル1内の保証更新情報格納
手段10に保証更新情報として保存しておく。図5の状
態s5の時点において、処理モジュ−ル#1で情報破壊
が発生すると、更新情報復旧処理手段11は、保証更新
情報格納手段10に保存しておいた保証更新情報を読み
出し、破壊遭遇処理モジュ−ルの更新情報として再設定
することにより、処理モジュ−ル#1は図5の状態s0
に復旧する(第1段階)。
An example of a recovery method when information destruction occurs will be described below with reference to FIG. Now, in the case where information destruction occurs in the state of s5 in FIG. 5, if the information destruction is only update information, the update information recovery processing means 11 updates using the history information stored in the history information storage means 8. Restore information. In this case, since the history information used for restoration is normal, all the update information can be restored normally, and no conflict occurs with the update information of other processing modules 1. Next, a recovery method when the information destruction extends not only to the update information but also to the history information will be described. If information destruction occurs in the state s5 in FIG. 5, first, periodically, for example, the state s0 in FIG.
At the appropriate time, the guarantee update information managing means 15 of the management module 12 and the guarantee update information processing means 9 of the processing module 1 synchronize with each other to obtain the contents of the update information of all modules. It is acquired and stored in the guarantee update information storage means 10 in the processing module 1 as guarantee update information. At the time of state s5 in FIG. 5, when information destruction occurs in the processing module # 1, the update information restoration processing means 11 reads the guarantee update information stored in the guarantee update information storage means 10, and encounters destruction. By resetting as the update information of the processing module, the processing module # 1 becomes the state s0 of FIG.
Will be restored (first stage).

【0014】その後、履歴情報に基づいた全処理モジュ
−ルの更新情報の復旧処理を行う。すなわち、図6,図
7に示す履歴情報51〜58のうちから更新通番の最老
番の更新処理を検索する。ここでは、図6から明らかな
ように、状態s5における履歴情報54,57が最老番
に該当する。これらのうち、破壊遭遇処理モジュ−ルで
ある処理モジュ−ル#1に関連するモジュ−ル#2は、
履歴情報57から更新前内容a2(s1)を読み出し
て、該当更新情報である更新情報a2に更新情報として
設定することにより、モジュ−ル#2を状態s4に復旧
する(第2段階)。同じようにして、更新通番の次老番
の更新処理を検索することにより、履歴情報56から更
新情報eが検出される。しかし、破壊遭遇処理モジュ−
ルである処理モジュ−ル#1とは独立であることから、
復旧は不要である(第3段階)。以下、同じように、状
態s0に戻るまで復旧処理を繰り返すことになる(第4
段階)。この例で明らかなように、更新情報a2のよう
な障害モジュ−ル内の情報と関連するために復旧不可能
な情報は、矛盾が生じないように更新前の内容に戻し、
また更新情報eのような情報破壊とは無関係の情報は、
そのまま残すことにより、矛盾のない更新情報に復旧す
ることと、復旧不要な更新情報は復旧しないようにする
ことが可能である。
After that, restoration processing of the update information of all processing modules based on the history information is performed. That is, the oldest update process of the update serial number is searched from the history information 51 to 58 shown in FIGS. Here, as is clear from FIG. 6, the history information 54 and 57 in the state s5 corresponds to the oldest number. Of these, the module # 2 associated with the processing module # 1 which is the destruction encounter processing module is
The pre-update content a2 (s1) is read from the history information 57 and set as the update information in the update information a2 which is the corresponding update information, whereby the module # 2 is restored to the state s4 (second step). In the same manner, the update information e is detected from the history information 56 by searching the update process of the next old number of the update serial number. However, the destruction encounter processing module
Since it is independent of the processing module # 1 which is a
No restoration is necessary (3rd stage). Hereinafter, similarly, the recovery process is repeated until the state is returned to the state s0 (fourth
Stage). As is clear from this example, the information that cannot be recovered because it is related to the information in the failure module, such as the update information a2, is returned to the content before the update so that no contradiction occurs.
Information that is not related to information destruction, such as update information e,
By leaving the update information as it is, it is possible to recover the update information having no contradiction and not to update the update information that does not need to be recovered.

【0015】上述した方法では、正常なモジュ−ルを対
象として、履歴情報の老番から順に状態を過去に戻す方
法をとっているが、その他の方法として、全モジュ−ル
を保証更新情報で正常な状態s0に一旦戻した後に、履
歴情報の若番から順に、障害モジュ−ル#1と無関係な
情報のみを対象にして、履歴情報から最新な状態に復旧
する方法がある。この方法でも、全く同等な機能を発揮
することができる。以上の説明は、図1に示す分散情報
処理システムの構成、つまり処理モジュ−ル1と管理モ
ジュ−ル12とが別個に設けられている場合について行
われているが、管理モジュ−ル12に設けられた各手段
13〜16が特定の処理モジュ−ル1に存在する構成に
おいても、全く同じように機能することは明らかであ
る。また、図1では、履歴情報格納手段8および保証更
新情報格納手段10が各処理モジュ−ル1に設けられて
いるが、処理モジュ−ル1以外の例えば管理モジュ−ル
12相当のモジュ−ルに集中して配備されている場合に
おいても、同じように機能することは勿論である。さら
に、複数モジュ−ルを結合する結合装置17を、通信回
線や通信網で実現した場合においても、同じように機能
することは勿論である。以上のような構成であるため、
更新情報と履歴情報が破壊されて、保証更新情報と更新
履歴情報を用いて復旧する場合には、矛盾のない更新情
報へ復旧することができるとともに、復旧不要な更新情
報は復旧しないようにできる。
In the above-mentioned method, a normal module is used as a target, and the state is returned to the past in order from the oldest number of history information. However, as another method, all modules are guaranteed update information. After returning to the normal state s0 once, there is a method of recovering the history information to the latest state by targeting only the information unrelated to the failure module # 1 in order from the smallest history information. Even with this method, completely equivalent functions can be exhibited. The above description has been given for the configuration of the distributed information processing system shown in FIG. 1, that is, the case where the processing module 1 and the management module 12 are provided separately. It will be clear that each of the means 13-16 provided will function exactly the same in a configuration that is present in a particular processing module 1. Further, in FIG. 1, the history information storage means 8 and the warranty update information storage means 10 are provided in each processing module 1, but a module other than the processing module 1, for example, a module corresponding to the management module 12 is provided. Of course, even when they are centrally deployed, they function in the same way. Furthermore, it goes without saying that even when the coupling device 17 that couples a plurality of modules is realized by a communication line or a communication network, it functions in the same way. With the above configuration,
When the update information and the history information are destroyed and the warranty update information and the update history information are used for recovery, it is possible to recover the update information that does not have a contradiction and to prevent the update information that does not need to be recovered from being recovered. .

【0016】[0016]

【発明の効果】以上説明したように、本発明によれば、
更新処理毎に、システム内で一意、かつシ−ケンシャル
に付与される更新通番と、その更新情報と一括して更新
される他処理モジュ−ルの更新情報が存在するモジュ−
ル識別子と更新情報識別子の組の一覧とを含む更新履歴
を生成して、これを保存する手段を具備しているため、
更新情報の復旧不能分を最小にすることができるととも
に、全更新情報間で矛盾のない正常な状態に復旧するこ
とができるという効果がある。
As described above, according to the present invention,
A module in which update sequence numbers uniquely and sequentially assigned in the system for each update process and update information of other process modules that are collectively updated with the update information exist.
Since it has a means for generating an update history including a list of pairs of update identifiers and update information identifiers and storing the update history,
It is possible to minimize the unrecoverable portion of the update information and to restore the normal state with no inconsistency among all the update information.

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

【図1】本発明の一実施例を示す分散情報処理システム
の構成図である。
FIG. 1 is a configuration diagram of a distributed information processing system showing an embodiment of the present invention.

【図2】図1における履歴情報格納手段の履歴情報構成
内容を示す図である。
FIG. 2 is a diagram showing a history information configuration content of a history information storage unit in FIG.

【図3】複数の処理モジュ−ルにおける更新情報の配置
例を示す図である。
FIG. 3 is a diagram showing an arrangement example of update information in a plurality of processing modules.

【図4】1つの処理モジュ−ルにおける更新前と更新後
の説明図である。
FIG. 4 is an explanatory diagram before and after updating in one processing module.

【図5】図3における複数処理モジュ−ル間更新シ−ケ
ンス例を示す図である。
FIG. 5 is a diagram showing an example of a multi-processing module-to-module update sequence in FIG. 3;

【図6】図5における各状態毎の履歴情報の例を示す図
の一部である。
6 is a part of a diagram showing an example of history information for each state in FIG.

【図7】図5における各状態毎の履歴情報の例を示す図
の他の一部である。
FIG. 7 is another part of the diagram showing an example of history information for each state in FIG.

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

1 処理モジュ−ル 2 処理装置 3 情報格納装置 4 通信制御手段 5 更新処理手段 6 更新情報格納手段 7 履歴情報制御手段 8 履歴情報格納手段 9 保証更新情報処理手段 10 保証更新情報格納手段 11 更新情報復旧処理手段 12 管理モジュ−ル 13 通信制御手段 14 更新通番管理手段 15 保証更新情報管理手段 16 更新情報復旧管理手段 17 結合装置 21 更新対象の処理モジュ−ル識別子 22 更新対象の更新情報識別子 23 更新情報の更新前内容 24 更新情報の更新後内容 25 更新通番 26 更新情報と関連する他処理モジュ−ル識別子と更
新情報識別子の組#1 27 更新情報と関連する他処理モジュ−ル識別子と更
新情報識別子の組#2 28 更新情報と関連する他処理モジュ−ル識別子と更
新情報識別子の組#3 31 更新情報a1 32 更新情報a2 33 更新情報b2 34 更新情報b3 35 更新情報c1 36 更新情報c3 37 更新情報d 38 更新情報e 39 更新情報f 41 更新情報a1の更新前内容 42 更新情報a1の更新後内容 43 更新情報c1の内容 44 更新情報dの内容 51〜58 履歴情報の内容
DESCRIPTION OF SYMBOLS 1 Processing module 2 Processing device 3 Information storage device 4 Communication control means 5 Update processing means 6 Update information storage means 7 History information control means 8 History information storage means 9 Warranty update information processing means 10 Warranty update information storage means 11 Update information Recovery processing means 12 Management module 13 Communication control means 14 Update serial number management means 15 Warranty update information management means 16 Update information recovery management means 17 Coupling device 21 Update target processing module identifier 22 Update target update information identifier 23 Update Content before update of information 24 Content after update of update information 25 Update serial number 26 Other processing module identifier and update information identifier pair # 1 27 related to update information Other processing module identifier and update information related to update information Identifier set # 2 28 Other processing module identifier related to update information and update information identifier set # 3 1 update information a1 32 update information a2 33 update information b2 34 update information b3 35 update information c1 36 update information c3 37 update information d 38 update information e 39 update information f 41 update content a1 before update 42 update information a1 update Subsequent contents 43 Contents of update information c1 44 Contents of update information d 51-58 Contents of history information

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも処理装置と情報格納装置とか
らなる複数台の処理モジュ−ル、および単一の管理モジ
ュ−ルとを結合装置で相互に結合した分散情報処理シス
テムにおいて、 上記各処理モジュ−ルには、少なくとも、モジュ−ル相
互に通信するための通信制御手段と、更新情報の更新処
理を実行する更新処理手段と、更新された情報を格納す
るための更新情報格納手段と、更新通番の払い出しを要
求し、履歴情報編集に必要な情報を上記更新処理手段か
ら入手して、履歴情報を編集する履歴情報制御手段と、
編集された履歴情報を格納する履歴情報格納手段と、周
期的に、全モジュ−ル間で同期をとって自モジュ−ルの
更新情報の内容を取得する保証更新情報処理手段と、取
得された保証更新情報を格納する保証更新情報格納手段
と、情報破壊が発生したとき、上記保証更新情報格納手
段に保存された保証更新情報を読み出して、破壊遭遇処
理モジュ−ルの更新情報として再設定する更新情報復旧
処理手段とを配備し、 また上記管理モジュ−ルには、処理モジュ−ルと通信す
るための通信制御手段と、処理モジュ−ルの履歴情報制
御手段からの要求により、システム内の一意かつシ−ケ
ンシャルな更新通番を払し出す更新通番管理手段と、各
処理モジュ−ルの保証更新情報処理手段による自モジュ
−ルの更新情報の内容取得処理の全モジュ−ル間での同
期を制御する保証更新情報管理手段と、各処理モジュ−
ルの保証更新情報を管理する更新情報復旧管理手段とを
配備することを特徴とする分散情報処理システム。
1. A distributed information processing system in which a plurality of processing modules each including at least a processing device and an information storage device and a single management module are connected to each other by a connecting device. At least a communication control means for communicating with each other, an update processing means for executing update processing of update information, an update information storage means for storing updated information, and an update History information control means for requesting the payout of the serial number, obtaining the information necessary for editing the history information from the update processing means, and editing the history information;
History information storage means for storing the edited history information, guaranteed update information processing means for periodically obtaining the contents of the update information of the own module in synchronization with all the modules, and Warranty update information storage means for storing warranty update information, and when information destruction occurs, the warranty update information stored in the warranty update information storage means is read and reset as update information for the destruction encounter processing module. An update information recovery processing means is provided, and the management module has a communication control means for communicating with the processing module, and a request from the history information control means of the processing module, whereby the management module in the system is operated. Between the update serial number management means for issuing a unique and sequential update serial number and all modules for the content acquisition processing of the update information of the own module by the guaranteed update information processing means of each processing module. Assurance update information management means for controlling the synchronization of
A distributed information processing system comprising: an update information recovery management unit that manages the guaranteed update information of the file.
【請求項2】 少なくとも処理装置と情報格納装置とか
らなる処理モジュ−ルと、単一の管理モジュ−ルとを結
合装置で相互に結合した分散情報処理システムにおい
て、 各処理モジュ−ルで更新情報の更新処理実行毎に、該更
新情報の識別子と、該更新情報の更新前後の各々の内容
と、該更新処理毎にシステム内で一意かつシ−ケンシャ
ルに付与される更新通番と、該更新情報と一括して更新
される他処理モジュ−ルの更新情報が存在するモジュ−
ル識別子および上記更新情報識別子の組の一覧とを、更
新履歴として生成し、該更新履歴を保存しておき、 特定の処理モジュ−ル内に保存中の更新情報および履歴
情報が破壊された場合には、他処理モジュ−ルに保存さ
れている履歴情報を基に、情報が破壊された破壊遭遇処
理モジュ−ルのみならず、該分散情報処理システムを構
成する複数の他の処理モジュ−ル全ての更新情報を復旧
することを特徴とする分散情報処理システムの破壊情報
同期復旧方法。
2. In a distributed information processing system in which a processing module including at least a processing device and an information storage device and a single management module are connected to each other by a connecting device, each processing module is updated. Each time the information update process is executed, the identifier of the update information, the contents before and after the update of the update information, the update serial number uniquely and sequentially assigned in the system for each update process, and the update Modules that have update information for other processing modules that are updated together with information
A list of a set of the update identifier and the update information identifier is generated as an update history, the update history is saved, and the update information and the history information being saved in a specific processing module are destroyed. In addition to the destruction encounter processing module in which the information is destroyed, based on the history information stored in the other processing module, a plurality of other processing modules constituting the distributed information processing system are included. A method for recovering the destruction information synchronization of a distributed information processing system characterized by recovering all update information.
JP5092803A 1993-04-20 1993-04-20 Distributed information processing system and destroyed information synchronous restoring method Pending JPH06309211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5092803A JPH06309211A (en) 1993-04-20 1993-04-20 Distributed information processing system and destroyed information synchronous restoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5092803A JPH06309211A (en) 1993-04-20 1993-04-20 Distributed information processing system and destroyed information synchronous restoring method

Publications (1)

Publication Number Publication Date
JPH06309211A true JPH06309211A (en) 1994-11-04

Family

ID=14064578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5092803A Pending JPH06309211A (en) 1993-04-20 1993-04-20 Distributed information processing system and destroyed information synchronous restoring method

Country Status (1)

Country Link
JP (1) JPH06309211A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006279501A (en) * 2005-03-29 2006-10-12 Nec Corp Mailbox system and device and journal transfer control method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006279501A (en) * 2005-03-29 2006-10-12 Nec Corp Mailbox system and device and journal transfer control method therefor

Similar Documents

Publication Publication Date Title
US7779295B1 (en) Method and apparatus for creating and using persistent images of distributed shared memory segments and in-memory checkpoints
US5675802A (en) Version control system for geographically distributed software development
CN112579354B (en) Method for backup and recovery of edge cloud collaborative software
CN105210060A (en) Transaction processing for database in persistent system
US11010256B1 (en) Method and system for implementing current, consistent, and complete backup copy by rolling a change log backwards against a storage device
CN104750755A (en) Method and system for recovering data after switching between main database and standby database
CN102597995B (en) Synchronizing database and non-database resources
JP4998010B2 (en) Database system management, database system, program and processing apparatus
JP2003223350A (en) Data base system
JP2001344139A (en) Database management device
JPH06309211A (en) Distributed information processing system and destroyed information synchronous restoring method
US5734895A (en) File recovery system
CN114168380A (en) Database configuration method, device, system and storage medium
JPH1153239A (en) Rollback processing method for database and recording medium recorded with procedure thereof
JP6891533B2 (en) Database device
JPH01140353A (en) System for maintaining data in data base
JPS63261437A (en) Fault recovery system for composite subsystem type on-line system
JP2631185B2 (en) Database backup method
JP2000020366A (en) Replication system
CN117271206A (en) Database recovery method and device based on time point and distributed database system
JP2008234142A (en) Batch processing restoration method and system, and program
JP2001297025A (en) Database copying device
JPH01214947A (en) Data preserving system
Son et al. Techniques for database recovery in distributed environments
JPH0581111A (en) Data recovery system