JPH0214354A - Control processing system for common data - Google Patents

Control processing system for common data

Info

Publication number
JPH0214354A
JPH0214354A JP63164517A JP16451788A JPH0214354A JP H0214354 A JPH0214354 A JP H0214354A JP 63164517 A JP63164517 A JP 63164517A JP 16451788 A JP16451788 A JP 16451788A JP H0214354 A JPH0214354 A JP H0214354A
Authority
JP
Japan
Prior art keywords
common data
processing
counter
node
local
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
JP63164517A
Other languages
Japanese (ja)
Inventor
Fumiyo Haga
芳賀 扶美世
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63164517A priority Critical patent/JPH0214354A/en
Publication of JPH0214354A publication Critical patent/JPH0214354A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate the wasteful transferring of common data by updating the common data which are held by a processing node itself, and counting the updating number of the data with a control node and the processing node. CONSTITUTION:When a processing node 10 updates the common data which are held by the processing node itself, an updating counter is stepped for the value of a local counter 11. The transmission of the common data is executed to a control node 20 and common data 23 in the control node are updated. Then, the control node steps a local counter 21 and a grobal counter 22 only for the stepping part of the local counter in the processing node. The control node 20 steps the value of a grobal counter 12 in the processing node 10,which executes the transmission, and updates the common data of another processing node 10'. Then, the values of the local counter and global counter are stepped.

Description

【発明の詳細な説明】 [概要] 共通データに従って処理を実行していく複数の処理ノー
ドからなる分散型データ処理システムにおいての共通デ
ータの管理処理方式に関し、処理ノードの共通データを
管理する管理ノードに異常が発生しても、分散型のデー
タ処理が保持できるようにすることを目的とし、 処理ノード及び管理ノードが、対となるローカルカウン
タとグローバルカウンタとを備えるよう構成し、処理ノ
ードは、自らの保持する共通データを更新するときには
、自らのローカルカウンタの計数値を更新毎に歩進させ
、かつ管理ノードとの間の通信状態が正常であるときに
は、管理ノードを介して、この更新した共通データがシ
ステム全体の共通データとなるべく処理するとともに、
自らのローカルカウンタを除くすべてのカウンタの計数
値を更新回数付歩進するよう処理し、そして、処理ノー
ドは、通信状態が異常から正常に復帰したときには、自
らのローカルカウンタと管理ノートのローカルカウンタ
の計数値が一致するか否かを調べ、一致しないときには
、管理ノードを介して、より新しい計数値を有するロー
カルカウンタ側の共通データがシステム全体の共通デー
タとなるべく処理するとともに、すべてのローカルカウ
ンタとグローバルカウンタの計数値が、そのより新しい
計数値になるべくカウンタの計数値を差分値付歩進する
ようにと構成する。
[Detailed Description of the Invention] [Summary] Regarding a management processing method for common data in a distributed data processing system consisting of a plurality of processing nodes that execute processing according to common data, a management node that manages common data of processing nodes is provided. In order to maintain distributed data processing even if an abnormality occurs in When updating common data that it owns, it increments the count value of its own local counter each time it is updated, and if the communication status with the management node is normal, the updated data is sent via the management node. In addition to processing common data so that it becomes common data for the entire system,
The processing node increments the count values of all counters except its own local counter with the number of updates, and when the communication status returns to normal from the abnormality, the processing node updates its own local counter and the local counter of the management node. Check whether the counted values match, and if they do not match, the common data on the local counter side with the newer counted value is processed as common data for the entire system via the management node, and all local counters are processed as common data for the entire system. The configuration is such that the count value of the global counter is incremented with a difference value so that the count value of the global counter becomes the latest count value.

〔産業上の利用分野〕[Industrial application field]

本発明は、共通データに従って処理を実行していく複数
の処理ノードからなる分散型データ処理システムにおい
ての共通データの管理処理方式に関するものである。
The present invention relates to a common data management processing method in a distributed data processing system consisting of a plurality of processing nodes that execute processing according to common data.

例えばビル管理システムでは、それぞれ所定の処理を実
行する複数の処理ノードからなる分散型のデータ処理シ
ステムが採られることになる。このような分散型データ
処理システムにあっては、各処理ノードは、すべての処
理ノードに共通となる共通データを保持して自らの処理
を実行していくとともに、自らが保持する共通データを
独自に随時更新していくという処理を行う必要がで7く
る。これから、このような分散型データ処理システムに
あっては、各処理ノードで独自に更新された共通データ
を、他のすべての処理ノードにと反映させていくための
共通データの管理処理方式を具備させていく必要がある
のである。
For example, a building management system employs a distributed data processing system consisting of a plurality of processing nodes, each of which executes a predetermined process. In such a distributed data processing system, each processing node holds common data that is common to all processing nodes and executes its own processing, and at the same time, each processing node performs its own processing by holding common data that is common to all processing nodes. It becomes necessary to update the information from time to time. From now on, such distributed data processing systems will be equipped with a common data management processing method to reflect the common data independently updated in each processing node to all other processing nodes. There is a need to let it happen.

〔従来の技術〕[Conventional technology]

従来の分散型データ処理システムにおける共通データの
管理処理方式では、処理ノードを管理することになる管
理ノードに共通データのマスクデータを持たせ、このマ
スクデータをもって共通データを管理するという方法が
採られていたのである。すなわち、イニシャルプログラ
ムローディング時に、管理ノードのマスクデータを各処
理ノードのファイルにコピーすることで、各処理ノード
に共通データのコピーデータを持たせるよう構成し、各
処理ノードは自らが保持するこのコピーデータを参照し
て、所定の処理を実行するようにしていだのである。そ
して、各処理ノードで共通データの更新をする必要があ
るときには、その情報を受は取った管理ノード側でマス
クデータの更新を実行するとともに、更新されたマスク
データをすべての処理ノードのコピーデータに展開して
いくことで、共通データを管理するようにとしていたの
である。
The common data management processing method in conventional distributed data processing systems employs a method in which the management node that manages the processing nodes has mask data for the common data, and the common data is managed using this mask data. It was. In other words, by copying the mask data of the management node to the file of each processing node at the time of initial program loading, each processing node is configured to have a copy of the common data, and each processing node stores this copy that it owns. It refers to the data and executes a predetermined process. Then, when it is necessary to update the common data on each processing node, the management node that received the information updates the mask data, and the updated mask data is transferred to the copy data of all processing nodes. The idea was to manage common data by expanding the system into multiple parts.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来技術では、管理ノードが
ダウンしてしまうとか、管理ノードと処理ノードとの間
の回線に異常が発生するというようなことが起こると、
共通データの更新ができないということになる。このよ
うなことが起こると、本来は処理できる筈の処理ノード
が、共通データを更新できないがために処理を実行でき
なくなってしまうという問題点があった。すなわち、従
来技術の構成では、管理ノード側の故障時には、分散型
のデータ処理システムをなしていないという欠点があっ
たのである。
However, with such conventional technology, if the management node goes down or an abnormality occurs in the line between the management node and the processing node,
This means that the common data cannot be updated. When this happens, there is a problem in that a processing node that should normally be able to process becomes unable to execute the process because it cannot update the common data. That is, the configuration of the prior art has the disadvantage that it does not constitute a distributed data processing system in the event of a failure on the management node side.

本発明はかかる事情に鑑みてなされたものであって、管
理ノードや管理ノードとの間の回線に異常が発生しても
、各処理ノードは共通データの更新が続けられるととも
に、正常状態に復帰したときに、直ちに更新された共通
データを他の処理ノードに展開できるようにする共通デ
ータの管理処理方式の提供を目的とする。
The present invention has been made in view of such circumstances, and even if an abnormality occurs in the management node or the line between the management nodes, each processing node continues to update common data and returns to a normal state. The purpose of the present invention is to provide a common data management processing method that allows updated common data to be immediately expanded to other processing nodes when the update occurs.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図である。 FIG. 1 is a diagram showing the principle configuration of the present invention.

図中、10は複数設けられる処理ノードであって、シス
テム全体で共通となる共通データに従って所定の処理を
実行するとともに、自らの保持する共通データを独自に
随時更新するもの、20は管理ノードであって、処理ノ
ード10を管理するもの、11は処理ノード10の備え
るローカルカウンタであって、処理ノード10の実行す
る共通データの更新回数を計数するもの、12は処理ノ
ード10の備えるグローバルカウンタであって、管理ノ
ード20からの指示値を計数するもの、13は処理ノー
ド10の備える共通データ格納手段であって、共通デー
タを格納するもの、14は処理ノード10の儂える通信
状態判断手段であって、管理ノード20との間の通信状
態の正常・異常及び正常状態への復帰を判断するもの、
15は処理ノード10の備えるデータ管理手段であって
、ローカルカウンタ11、グローバルカウンタI2及び
共通データ格納手段13を管理するもの、16はデータ
管理手段15の備えるカウンタ歩進手段であって、ロー
カルカウンタ11及びグローバルカウンタ12の計数値
を歩進させるもの、17はデータ管理手段15の備える
計数値一致判断手段であって、ローカルカウンタ11と
管理ノード20の備えるローカルカウンタの計数値が一
致するか否かを調べるもの、18はデータ管理手段15
の備える共通データ更新手段であって、共通データ格納
手段13の共通データを更新するもの、19はデータ管
理手段15の備える共通データ更新要求手段であって、
管理ノード20にシステム全体の共通データの設定を要
求処理するもの、21は管理ノード20の備えるローカ
ルカウンタであって、処理ノード10からの指示値を計
数するもの、22は管理ノード20の備えるグローバル
カウンタであって、処理ノード10からの指示値を計数
するもの、23は管理ノード20の備える共通データ格
納手段であって、共通データを格納するもの、25は管
理ノード20の備えるデータ管理手段であって、ローカ
ルカウンタ21、グローバルカウンタ22及び共通デー
タ格納手段23を管理するもの、26はデータ管理手段
25の備えるカウンタ歩進手段であって、ローカルカウ
ンタ21及びグローバルカウンタ22の計数値を歩進さ
せるもの、28はデータ管理手段25の備える共通デー
タ更新手段であって、共通データ格納手段23の共通デ
ータを更新するもの、29はデータ管理手段25の備え
る共通データ更新要求手段であって、処理ノード10に
対してシステム全体の共通データの設定を要求処理する
ものである。
In the figure, 10 is a plurality of processing nodes, which execute predetermined processing according to common data that is common to the entire system, and independently update the common data held by itself from time to time, and 20 is a management node. 11 is a local counter provided in the processing node 10 and counts the number of updates of common data executed by the processing node 10; 12 is a global counter provided in the processing node 10; 13 is a common data storage means provided in the processing node 10 for storing common data; 14 is a communication state determination means that the processing node 10 can control; a device that determines whether the communication state with the management node 20 is normal or abnormal and whether it has returned to the normal state;
15 is a data management means provided in the processing node 10, which manages the local counter 11, the global counter I2, and the common data storage means 13; 16 is a counter incrementation means provided in the data management means 15, which manages the local counter 11, the global counter I2, and the common data storage means 13; 11 and a device for incrementing the count values of the global counter 12; and 17, a count value coincidence judgment means provided in the data management means 15, which determines whether the count values of the local counter 11 and the local counter provided in the management node 20 match. 18 is a data management means 15
19 is a common data update requesting means provided in the data management means 15, which updates the common data in the common data storage means 13;
21 is a local counter provided in the management node 20 that counts the instruction value from the processing node 10; 22 is a global counter provided in the management node 20; 23 is a common data storage means provided in the management node 20 for storing common data; 25 is a data management means provided in the management node 20; 26 is a counter incrementing means provided in the data management means 25, which increments the counted values of the local counter 21 and global counter 22. 28 is a common data update means provided in the data management means 25, which updates the common data in the common data storage means 23; 29 is a common data update request means provided in the data management means 25, and 28 is a common data update means provided in the data management means 25; This process requests the node 10 to set common data for the entire system.

〔作用〕[Effect]

本発明では、処理ノード10が、共通データ更新手段1
8に従って自らの保持する共通データを更新するときに
は、カウンタ歩進手段16に従って自らの備えるローカ
ルカウンタ11の計数値を更新毎に歩進させ、かつ通信
状態判断手段14が管理ノード20との間の通信状態が
正常であると判断するときには、共通データ更新要求手
段19に従って更新した共通データとローカルカウンタ
値を管理ノード20にと通知するよう処理する。
In the present invention, the processing node 10 includes the common data updating means 1
When updating the common data held by itself according to 8, the counter incrementing means 16 increments the count value of the local counter 11 of the self for each update, and the communication state determining means 14 When determining that the communication state is normal, processing is performed to notify the management node 20 of the updated common data and local counter value according to the common data update request means 19.

この通知を受信する管理ノード20は、共通データ更新
手段2日に従って送られてきた共通データを共通データ
格納手段23に格納するとともに、カウンタ歩進手段2
6に従ってローカルカウンタ21及びグローバルカウン
タ22の計数値が、送られてきたローカルカウンタ値に
なるように更新回数分歩進処理する。そして、共通デー
タ更新要求手段29に従ってすべての処理ノード10に
対して、この共通データとグローバルカウンタ値を、更
新要求元の処理ノード10の識別番号とともに通知する
よう処理する。この通知を受信する処理ノード10は、
識別番号から自らの1発した更新要求に対しての応答で
あると判断するときには、カウンタ歩進手段16に従っ
てグローバルカウンタ12の計数値が、送られてきたグ
ローバルカウンタ値になるよう更新回数分歩進処理し、
識別番号が他の処理ノード10のものであるときには、
共通データ更新手段18に従って送られてきた共通デー
タを、共通データ格納手段13に格納するとおもに、カ
ウンタ歩進手段16に従ってローカルカウンタ11及び
グローバルカウンタ12の計数値が、送られてきたグロ
ーバルカウンタ値になるよう更新回数分歩進処理する。
The management node 20 receiving this notification stores the common data sent in accordance with the common data updating means 2 in the common data storage means 23, and also stores the common data sent in accordance with the common data updating means 2
6, the count values of the local counter 21 and global counter 22 are incremented by the number of updates so that they become the sent local counter values. Then, according to the common data update requesting means 29, all the processing nodes 10 are notified of this common data and the global counter value together with the identification number of the processing node 10 that is the source of the update request. The processing node 10 that receives this notification,
When determining from the identification number that the response is a response to the update request issued by the user, the counter increment means 16 increments the global counter 12 by the number of updates so that the counted value of the global counter 12 becomes the sent global counter value. Process the digits,
When the identification number belongs to another processing node 10,
The common data sent according to the common data updating means 18 is stored in the common data storage means 13, and the count values of the local counter 11 and global counter 12 are changed according to the sent global counter value according to the counter increment means 16. Increment processing is performed for the number of updates so that

このようにして、処理ノード10と管理ノード20との
間の通信状態が正常であれば、それに対応するすべての
共通データ格納手段13.23には同一の共通データが
格納されるとともに、ローカルカウンタ1121及びグ
ローバルカウンタ12.22には最も新しい更新回数の
計数値が格納されることになる。
In this way, if the communication state between the processing node 10 and the management node 20 is normal, the same common data is stored in all the corresponding common data storage means 13.23, and the local counter 1121 and global counter 12.22 store the latest count value of the number of updates.

一方、処理ノード10は、管理ノード20との間の通信
状態が異常であっても、共通データ更新手段18に従っ
て自らの保持する共通データを更新していくことで自ら
の処理を実行していくとともに、カウンタ歩進手段16
に従って自らの備えるローカルカウンタ11の計数値を
更新毎に歩進させていくことになる。そして、通信状態
判断手段14が通信状態の正常への復帰を判断すると、
計数値一致判断手段17に従って自らの備えるローカル
カウンタ11と管理ノード20の備えるローカルカウン
タ21の計数値が一致するか否かを調べることになる。
On the other hand, even if the communication state with the management node 20 is abnormal, the processing node 10 executes its own processing by updating the common data held by itself according to the common data updating means 18. At the same time, the counter advancing means 16
Accordingly, the count value of the local counter 11 provided therein is incremented every time it is updated. Then, when the communication state determining means 14 determines that the communication state has returned to normal,
According to the count value coincidence determination means 17, it is checked whether the count values of the local counter 11 provided therein and the local counter 21 provided in the management node 20 match.

この処理で一致しないと判断するときには、管理ノード
20との間の通信状態が正常であるときと同様の処理を
行うことで、すべての共通データ格納手段13.23に
同一の共通データを格納するとともに、すべてのローカ
ルカウンタ11.21とグローバルカウンタ12゜22
の計数値が、そのより新しい計数値になるべくカウンタ
の計数値を差分値付歩進するよう処理することになる。
When it is determined that there is no match in this process, the same common data is stored in all the common data storage means 13.23 by performing the same process as when the communication state with the management node 20 is normal. Also, all local counters 11.21 and global counters 12°22
The process is performed so that the count value of the counter is incremented with a difference value so that the count value becomes the newer count value.

このように、本発明によれば、管理ノード20がダウン
しても、あるいは、管理ノード20と処理ノード10と
の間の回線に異常が発生するというようなことが起きて
も、処理ノード10では共通データの更新ができるとと
もに、正常状態に復帰したときに、直ちに更新された共
通データを他の処理ノードに展開できることになるので
ある。
As described above, according to the present invention, even if the management node 20 goes down, or even if an abnormality occurs in the line between the management node 20 and the processing node 10, the processing node 10 In this case, the common data can be updated, and when the normal state is restored, the updated common data can be immediately deployed to other processing nodes.

〔実施例〕〔Example〕

以下、ビル管理システムに適用した実施例に従って、本
発明の詳細な説明する。
Hereinafter, the present invention will be described in detail according to an embodiment applied to a building management system.

第2図に、本発明のシステム構成図を示す0図中のメイ
ンコントロールシステム1は、マスクファイル2を管理
し、このマスクファイル2には、システムを構成する現
場機器の状態や自動制御機能等のマスクデータが格納さ
れることになる。各端末制御装置3は、複数設けられる
端末装置7を介して、例えばセンサのような現場機器8
の状態データを収集して、メインコントロールシステム
1に通知するとともに、コピーファイル4に格納される
マスクデータのコピーデータに従って、現場機器8への
自動制御を実行することになる。このメインコントロー
ルシステム1が、第1図で説明した管理ノード20に相
当し、端末制御装置3が、第1図で説明した処理ノード
10に相当するものである。従うて、メインコントロー
ルシステム1及び端末制御装置3は、それぞれローカル
カウンタとグローバルカウンタとを備えることになる。
FIG. 2 shows a system configuration diagram of the present invention. The main control system 1 in FIG. mask data will be stored. Each terminal control device 3 is connected to a field device 8 such as a sensor, for example, via a plurality of terminal devices 7.
In addition to collecting the status data and notifying it to the main control system 1, automatic control of the field equipment 8 is executed according to the copy data of the mask data stored in the copy file 4. This main control system 1 corresponds to the management node 20 explained in FIG. 1, and the terminal control device 3 corresponds to the processing node 10 explained in FIG. Therefore, the main control system 1 and the terminal control device 3 each include a local counter and a global counter.

なお、5はデイスプレィ装置、6はキーボードである。Note that 5 is a display device and 6 is a keyboard.

このように、ビル管理システムでは、端末制御装置3が
、コピーデータを共通データにしてそれぞれの処理を実
行することで、空調制御や防災管理の処理を実行すると
いう分散型のデータ処理システムを採ることになるが、
各端末制御装置3は、オペレータからの要求に応じて、
自らの備えるコピーデータを独自に更新(例えば、季節
範囲データの更新等)することになる、この個別的に更
新されたコピーデータを他の端末制御装置3に反映させ
て共通化させていくための手法の提供が、本発明の目的
とするところである。
In this way, the building management system adopts a distributed data processing system in which the terminal control device 3 executes processes such as air conditioning control and disaster prevention management by using copy data as common data and executing each process. However,
Each terminal control device 3, in response to a request from an operator,
In order to reflect this individually updated copy data to other terminal control devices 3 and make it common, which will independently update its own copy data (for example, update seasonal range data, etc.) It is an object of the present invention to provide a method for the following.

次に、各端末制御装置3の実行する第3図に示すフロー
チャートと、メインコントロールシステム1の実行する
第4図に示すフローチャートに従って、メインコントロ
ールシステム1と端末制御装置3との間の通信状態が正
常である場合の処理内容について説明する。
Next, the communication status between the main control system 1 and the terminal control device 3 is determined according to the flowchart shown in FIG. 3 executed by each terminal control device 3 and the flowchart shown in FIG. 4 executed by the main control system 1. The processing contents when the condition is normal will be explained.

各端末制御装置3は、第3図のフローチャートのステッ
プ30で示すように、オペレータから共通データ(コピ
ーデータ)の更新要求が入ったか否かを判断する。更新
要求の入った端末制御装置3は、ステップ31に進み、
自らの備える共通データをオペレータからの指示に従っ
て更新する。
Each terminal control device 3 determines whether or not an update request for common data (copy data) has been received from the operator, as shown in step 30 of the flowchart in FIG. The terminal control device 3 that received the update request proceeds to step 31.
It updates its own common data according to instructions from the operator.

そして、続くステップ32で、自らの備えるローカルカ
ウンタを1つカウントアツプするよう処理する。次に、
ステップ33で、メインコントロールシステム1と端末
制御装置3との間の通信状態が異常である場合にセット
されるところの異常フラグをチエツクすることになる。
Then, in the following step 32, the local counter provided by itself is incremented by one. next,
In step 33, an abnormality flag that is set when the communication state between the main control system 1 and the terminal control device 3 is abnormal is checked.

異常フラグがセットされていると判断するときには、メ
インコントロールシステム1との通信が実行できないの
でそのまま処理を終了し、ステップ30に戻って、オペ
レータからの次の共通データの更新要求が入るのを待つ
ことになる。このように、メインコントロールシステム
1と端末制御装置3との間の通信状態が異常であっても
、端末制御装置3は、共通データの更新を続けることで
所定の処理を実行し続ける。そして、ローカルカウンタ
の計数値を、更新回数に合わせてカウントアツプしてい
くことになる。
When it is determined that the abnormality flag is set, communication with the main control system 1 cannot be executed, so the process is terminated and the process returns to step 30 to wait for the next common data update request from the operator. It turns out. In this way, even if the communication state between the main control system 1 and the terminal control device 3 is abnormal, the terminal control device 3 continues to execute predetermined processing by continuing to update the common data. Then, the count value of the local counter is counted up according to the number of updates.

一方、ステップ33のチエツクで、異常フラグがセット
されていないと判断するときには、ステップ34に進み
、メインコントロールシステムlに対して、更新された
自らの共通データがシステムの共通データとなるべく要
求処理することになる。この要求に際しては、更新され
た共通データとともに、1つカウントアツプしたローカ
ルカウンタの計数値が通知される。この要求処理に対し
て、メインコントロールシステムlからは、後述する第
4図のフローチャートの処理に従って、新たな共通デー
タと、新たなグローバルカウンタ値と、更新要求元の端
末制御装置3の識別番号とが更新要求通知として送り返
されて(ることになる。
On the other hand, if it is determined in step 33 that the abnormality flag is not set, the process proceeds to step 34, where the main control system requests the main control system to make its own updated common data the common data of the system. It turns out. At the time of this request, the count value of the local counter that has counted up by one is notified together with the updated common data. In response to this request processing, the main control system 1 sends new common data, a new global counter value, and the identification number of the terminal control device 3 that is the source of the update request, according to the processing shown in the flowchart of FIG. 4, which will be described later. will be sent back as an update request notification.

これから、ステップ35で、この更新要求通知が送り返
されてくるのを待つことになる。
From now on, in step 35, the system waits for this update request notification to be sent back.

更新要求通知が送り返されてきたときには、次のステッ
プ36で、自らの備えるグローバルカウンタの計数値が
この送られてきたグローバルカウンタ値(この場合は1
カウントアツプしている値である)になるようにカウン
トアツプして処理を終了する。このステップ36の処理
で、更新要求元の端末制御装置3のグローバルカウンタ
の計数値は、共通データの更新に合わせてカウントアツ
プしていたローカルカウンタの計数値と一致することに
なる。なお、送り返されてきた共通データは自らの保持
する共通データと同じなので使わない。
When the update request notification is sent back, in the next step 36, the counted value of the global counter provided by itself is changed to the sent global counter value (in this case, 1
The count is incremented so that it reaches the value that is being counted up, and the process ends. In the process of step 36, the count value of the global counter of the terminal control device 3 that is the source of the update request matches the count value of the local counter that has been incrementing in accordance with the update of the common data. Note that the common data sent back is the same as the common data held by itself, so it is not used.

一方、ステップ30の判断で、オペレータから共通デー
タの更新要求が入っていないと判断するときには、ステ
ップ37に進み、メインコントロールシステム1から更
新要求通知があるか否かを判断する。この判断で更新要
求通知があれば、ステップ38に進むことになる。この
ような更新要求通知があるということは、他の端末制御
装置3がメインコントロールシステムlに対して、更新
した共通データの更新要求処理を行ったということを意
味している。このステップ37のメインコントロールシ
ステム1からの更新要求通知では、ステップ35で説明
したように、新たな共通データと、新たなグローバルカ
ウンタ値と、更新要求元の端末制御装置3の識別番号と
が通知されてくる。そこで、端末制御装置3は、ステッ
プ38で、自らの備える共通データカ(送られてきた共
通データになるように更新し、続くステップ39で、自
らの備えるローカルカウンタとグローバルカウンタの計
数値がこの送られてきたグローバルカウンタ値になるよ
うにカウントアツプして処理を終了する。
On the other hand, if it is determined in step 30 that there is no update request for the common data from the operator, the process proceeds to step 37 and it is determined whether or not there is an update request notification from the main control system 1. If there is an update request notification in this judgment, the process proceeds to step 38. The existence of such an update request notification means that another terminal control device 3 has made an update request process for the updated common data to the main control system 1. In the update request notification from the main control system 1 in step 37, as explained in step 35, the new common data, the new global counter value, and the identification number of the terminal control device 3 that made the update request are notified. It will be done. Therefore, in step 38, the terminal control device 3 updates its own common data file so that it corresponds to the sent common data, and in the subsequent step 39, the terminal control device 3 updates the count values of its own local counter and global counter with the transmitted common data. The global counter value is counted up to reach the global counter value that has been set, and the process ends.

このステップ38とステップ39の処理で、更新要求元
でない端末制御装置3の共通データは、更新要求元の端
末制御装置3の共通データに合わせられるとともに、更
新要求元でない端末制御装置3のローカルカウンタ及び
グローバルカウンタの計数値は、更新要求元の端末制御
装置3のそれに合わせられることになるのである。
In the processing of steps 38 and 39, the common data of the terminal control device 3 that is not the update request source is matched with the common data of the terminal control device 3 that is the update request source, and the local counter of the terminal control device 3 that is not the update request source is adjusted. And the count value of the global counter will be adjusted to that of the terminal control device 3 that is the source of the update request.

次に、第4図のフローチャートについて説明する。この
フローチャートは、端末制御装置3から共通データの更
新要求を受けたメインコントロールシステム1の実行す
る処理内容を表している。
Next, the flowchart shown in FIG. 4 will be explained. This flowchart represents the processing content executed by the main control system 1 that receives a common data update request from the terminal control device 3.

すなわち、ステップ40で端末制御装置3から共通デー
タの更新要求があることを判断すると、続くステップ4
1で、自らの備える共通データ(マスクデータ)が送ら
れてきた共通データになるように更新し、続くステップ
42で、自らの備えるローカルカウンタとグローバルカ
ウンタの計数値がこの送られてきたグローバルカウンタ
値になるようにカウントアツプする。そして、次のステ
ップ43で、すべての端末制御装置3に対して、更新し
た新たな共通データと、カウントアツプした新たなグロ
ーバルカウンタ値と、更新要求元の端末制御装置3の識
別番号とを通知して処理を終了することになる。
That is, when it is determined in step 40 that there is a common data update request from the terminal control device 3, the process proceeds to step 4.
In step 1, the common data (mask data) provided by the device is updated to match the sent common data, and in the subsequent step 42, the count values of the local counter and global counter provided by the device are updated to match the received global counter. Count up until the value is reached. Then, in the next step 43, all terminal control devices 3 are notified of the updated new common data, the new incremented global counter value, and the identification number of the terminal control device 3 that has requested the update. Then the process will end.

以上に説明した処理により、端末制御装置3とメインコ
ントロールシステム1との間の通信状態が正常であれば
、いずれかの端末制御装置3で更新された共通データは
、メインコントロールシステムlと他のすべての端末制
御装置3に直ちにセ・ントされることになる。そして、
システムのすべてのローカルカウンタとグローバルカウ
ンタは、同一の計数値にセットされることになる。第5
図に、通信状態が正常であるときの第3図及び第4図の
フローチャートの処理の内容を図式化して示す。図中に
対応するステップ番号を記述する。
Through the process explained above, if the communication status between the terminal control device 3 and the main control system 1 is normal, the common data updated in any terminal control device 3 is shared between the main control system 1 and the other terminal control device 3. It will be sent to all terminal control devices 3 immediately. and,
All local and global counters in the system will be set to the same count value. Fifth
The figure diagrammatically shows the contents of the processing in the flowcharts of FIGS. 3 and 4 when the communication state is normal. Write the corresponding step number in the diagram.

次に、端末制御装置3が実行する第6図に示すフローチ
ャートに従って、メインコントロールシステム1と端末
制御装置3との間の通信状態が異常である場合の処理内
容について説明する。このフローチャートは、例えば1
分間隔毎に周期的に起動されて、以下に説明する処理を
行うことになる。
Next, according to the flowchart shown in FIG. 6, which is executed by the terminal control device 3, a description will be given of the processing contents when the communication state between the main control system 1 and the terminal control device 3 is abnormal. This flowchart is, for example, 1
It is activated periodically at minute intervals to perform the processing described below.

起動されると、各端末制御袋W3は、最初に、ステップ
60で示すように、メインコントロールシステム1と端
末制御装置3との間の通信状態が正常であ名か否かを判
断する。この判断で通信状態が異常であれば、ステップ
61に進み、異常フラグをセットして処理を終了する。
When activated, each terminal control bag W3 first determines whether the communication status between the main control system 1 and the terminal control device 3 is normal and correct, as shown in step 60. If the communication state is abnormal in this judgment, the process proceeds to step 61, sets an abnormality flag, and ends the process.

この異常状態下での処理については、第3図のフローチ
ャートのステップ33で説明した。一方、通信状態が正
常であれば、ステップ62に進み、異常フラグがセット
されているか否かを判断する。この判断で異常フラグが
セットされていなければ、通信状態は前回に続いて正常
であるのでそのまま処理を終了することになる。この正
常状態下での処理については、第3図のフローチャート
で説明した通りである。一方、ステップ62の判断で、
異常フラグがセットされていると判断するときには、通
信状態が異常から正常に復帰したことを表している。
The processing under this abnormal condition was explained in step 33 of the flowchart of FIG. On the other hand, if the communication state is normal, the process advances to step 62 and it is determined whether the abnormality flag is set. If the abnormality flag is not set in this judgment, the communication state is normal following the previous time, and the process ends immediately. The processing under this normal state is as explained in the flowchart of FIG. 3. On the other hand, in the judgment at step 62,
When it is determined that the abnormality flag is set, it indicates that the communication state has returned to normal from an abnormality.

このときには、ステップ63に進み、端末制御装置3は
、メインコントロールシステム1の備えるローカルカウ
ンタの計数値を読み出すよう処理する。そして、続くス
テップ64で、この計数値と自らの備えるローカルカウ
ンタの計数値との大小比較を判断する。
In this case, the process proceeds to step 63, and the terminal control device 3 performs processing to read the count value of the local counter provided in the main control system 1. Then, in the subsequent step 64, a comparison is made between this count value and the count value of its own local counter.

この判断で両方のローカルカウンタの計数値が等しけれ
ば、通信状態が異常の間でシステムの共通データの更新
がなされなかったことを意味するので、そのまま処理を
終了することになる。一方、端末制御装置3のローカル
カウンタの計数値の方が大きいときには、その端末制御
装置3の保持する共通データの方がより更新されている
ので、ステップ65に進んで、その保持する共通データ
をシステムの共通データとすべくメインコントロールシ
ステム1に要求処理する。このときなされる要求処理は
、第3図のフローチャートのステップ34と全く同一で
ある。そして、続くステップ66、ステップ67で、第
3図のフローチャートのステップ35、ステップ36と
同様の処理を実行することで、その端末制御装置3の保
持する共通データをシステム全体の共通データにセント
し、すべてのカウンタの計数値をその端末制御装置3の
ローカルカウンタの計数値にセットするのである。この
処理の後、ステップ68で異常フラグをリセットして処
理を終了する。
If the count values of both local counters are equal in this judgment, it means that the common data of the system was not updated while the communication state was abnormal, so the process is immediately terminated. On the other hand, when the count value of the local counter of the terminal control device 3 is larger, the common data held by that terminal control device 3 has been updated more, so the process advances to step 65 and the common data held by the terminal control device 3 is updated. A request is processed to the main control system 1 to make the data common to the system. The request processing performed at this time is exactly the same as step 34 in the flowchart of FIG. Then, in subsequent steps 66 and 67, the common data held by the terminal control device 3 is added to the common data of the entire system by executing the same processing as steps 35 and 36 in the flowchart of FIG. , the count values of all counters are set to the count values of the local counters of that terminal control device 3. After this process, the abnormality flag is reset in step 68 and the process ends.

逆に、端末制御装置3のローカルカウンタの計数値の方
が小さいときには、メインコントロールシステム1の保
持する共通データの方がより更新されているので、ステ
ップ69に進んで、メインコントロールシステムlの共
通データをその端末制御装置3の共通データとすべくメ
インコントロールシステム1に要求処理する。そして、
続くステップ70、ステップ71、ステップ72で、第
3図のフローチャートのステップ37、ステップ38、
ステップ39と同様の処理を実行することで、メインコ
ントロールシステム1の保持する共通データをその端末
側′4Tj装置3の共通データにセットし、その端末制
御装置3のローカルカウンタとグローバルカウンタの計
数値をメインコントロールシステムlのグローバルカウ
ンタの計数値にセットするのである。この処理の後、ス
テップ68に進んで、異常フラグをリセットして処理を
終了する。
Conversely, when the count value of the local counter of the terminal control device 3 is smaller, the common data held by the main control system 1 is more updated, so the process proceeds to step 69 and the common data held by the main control system 1 is updated. A request process is made to the main control system 1 to make the data common data for the terminal control device 3. and,
In the following steps 70, 71, and 72, steps 37, 38, and 38 in the flowchart of FIG.
By executing the same process as step 39, the common data held by the main control system 1 is set as the common data of the terminal side '4Tj device 3, and the count values of the local counter and global counter of the terminal control device 3 are set. is set to the count value of the global counter of the main control system l. After this process, the process proceeds to step 68, where the abnormality flag is reset and the process ends.

以上に説明した処理により、端末制御装置3とメインコ
ントロールシステム1との間の通信状態が異常から正常
に復帰したときには、それまでメインコントロールシス
テム1と通信できなかった端末制御装置3も含めて、共
通データがシステム全体で更新されることになるのであ
る。そして、システムのすべてのローカルカウンタとグ
ローバルカウンタは、同一の計数値にセントされること
になる。第7図に、通信状態が異常から正常に復帰した
ときの第6図のフローチャートの処理の内容(端末制御
装置のローカルカウンタ値の方が大きい場合である)を
図式化して示す。図中に対応するステップ番号を記述す
る。
When the communication state between the terminal control device 3 and the main control system 1 returns to normal from the abnormality through the processing explained above, the terminal control device 3 including the terminal control device 3 which was unable to communicate with the main control system 1 until then, Common data will be updated throughout the system. All local and global counters in the system will then be cented to the same count. FIG. 7 diagrammatically shows the contents of the process in the flowchart of FIG. 6 when the communication state returns to normal from an abnormality (this is the case where the local counter value of the terminal control device is larger). Write the corresponding step number in the diagram.

本発明では、ローカルカウンタとグローバルカウンタと
いう2つのカウンタを対にして持たせるよう構成してい
る。このように、カウンタを2つ設けた理由は、多数の
端末制御装置3の接続に対応するためである。次に、第
8図に従って、この理由を具体的に説明する。この第8
図では、ローカルカウンタ値が“1”であるメインコン
トロールシステム1のダウン中に、′A”という端末制
御装置3が共通データを2回更新し、“B“という端末
制御装置3が共通データを3回更新した場合を想定して
いる。これから゛図中の(イ)に示すように、”A″′
のローカルカウンタ値は3″となり、”B”のローカル
カウンタ値は“°4”となる。なお、すべてのグローバ
ルカウンタ値は、メインコントロールシステム1がダウ
ンしているので“1″のままである。
The present invention is configured to have two counters, a local counter and a global counter, as a pair. The reason why two counters are provided in this way is to cope with the connection of a large number of terminal control devices 3. Next, the reason for this will be explained in detail with reference to FIG. This eighth
In the figure, while the main control system 1 whose local counter value is "1" is down, the terminal control device 3 'A' updates the common data twice, and the terminal control device 3 'B' updates the common data. It is assumed that it has been updated three times.From now on, as shown in (a) in the figure, "A"'
The local counter value of "B" becomes "3", and the local counter value of "B" becomes "°4". All global counter values remain "1" because the main control system 1 is down. .

メインコントロールシステムlの異常が、図中の(イ)
で正常に復帰したとする。これにより、“A”の端末制
御装置3の要求に応じて、(ロ)で示すように、メイン
コントロールシステム1のローカルカウンタ値とグロー
バルカウンタ値とが°°3”にセットされる。続いてメ
インコントロールシステム1からの要求に応じて、(ハ
)で示すように、“A″と“B”の端末制御袋W3のグ
ローバルカウンタ値が“3”にセットされるとともに、
“B″の端末制御装置3のローカルカウンタ値が2個加
算されて“6″にセットされる。次に、(ニ)で示す“
B”の端末制御装置3の要求に応じて、(ホ)で示すよ
うに、メインコントロールシステム1のローカルカウン
タ値とグローバルカウンタ値とが°“6′にセットされ
る。そして、メインコントロールシステムlからの要求
に応じて、(へ)で示すように、“A”及び“B″の端
末側?2Il ”A gl 3のローカルカウンタ値と
グローバルカウンタ値が“6”にセットされて゛処理を
終了する。
An abnormality in the main control system l is indicated by (a) in the diagram.
Assume that it has returned to normal. As a result, in response to the request from the terminal control device 3 of "A", the local counter value and global counter value of the main control system 1 are set to "°3" as shown in (b).Subsequently, In response to a request from the main control system 1, as shown in (c), the global counter values of the terminal control bags W3 of "A" and "B" are set to "3", and
Two local counter values of the terminal control device 3 of "B" are added and set to "6". Next, “
In response to the request from the terminal control device 3 of "B", the local counter value and global counter value of the main control system 1 are set to "6', as shown in (e). Then, in response to a request from the main control system l, as shown in (to), the terminals of "A" and "B"? The local counter value and global counter value of 2Il ``A gl 3'' are set to ``6'', and the process ends.

このように、ローカルカウンタとグローバルカウンタと
いうカウンタを2つ設けたので、通信状態の異常時に行
われた更新回数をメモリでき、これがために2つ以上の
端末制御装置3に対しても対応できることになるのであ
る。
In this way, since two counters, a local counter and a global counter, are provided, the number of updates performed when the communication status is abnormal can be stored, and this makes it possible to handle two or more terminal control devices 3. It will become.

次に、通信状態の異常時に共通データの更新が行われた
か否かを判断するために、端末制御装置3のローカルカ
ウンタ値とグローバルカウンタ値との大小比較を使わず
に、わざわざメインコントロールシステムlのローカル
カウンタ値を用いた理由を、第9図に従って説明する。
Next, in order to determine whether or not the common data has been updated when the communication status is abnormal, the main control system l The reason for using the local counter value will be explained with reference to FIG.

この第9図では、メインコントロールシステム1と“′
B“の端未制御装置3との間の回線が異常で、かつロー
カルカウンタ値が“1”のメインコントロールシステム
lのダウン中に、“A”という端末制御装置3が共通デ
ータを2回更新し、“B”という端末制御装置3が共通
データを更新しなかった場合を想定している。これから
図中の(イ)に示すように、′A”のローカルカウンタ
値は°“3”となり、“B”のローカルカウンタ値は“
1”である。
In this Figure 9, main control system 1 and
The terminal control device 3 named “A” updates the common data twice while the main control system l is down due to an abnormality in the line between it and the uncontrolled device 3 at the end of “B” and the local counter value is “1”. However, it is assumed that the terminal control device 3 named "B" does not update the common data.From now on, as shown in (a) in the figure, the local counter value of 'A' becomes '3'. , the local counter value of “B” is “
1”.

メインコントロールシステム1の異常が、図中の(イ)
で正常に復帰したとする。これにより、“A°゛の端末
制御装置3の要求に応じて、(ロ)で示すように、メイ
ンコントロールシステム1のローカルカウンタ値とグロ
ーバルカウンタ値とが°“3″にセットされる。続いて
メインコントロールシステム1からの要求に応じて、(
ハ)で示すように、“A”の端末制御装置3のグローバ
ルカウンタ値が°“3″にセットされる。このとき、メ
インコントロールシステム1と“B″の端末制御装置3
との間の回線が異常であるので、“B”の端末制御装置
3のローカルカウンタ値とグローバルカウンタ値は、(
ニ)に示すように“1”のままである。この例から明ら
かとなるように、端末制御装置3のローカルカウンタ値
とグローバルカウンタ値との大小比較をもって、通信状
態の異常時に共通データの更新が行われたか否かを判断
するようにすると、“B”の端末制御装置3では、ロー
カルカウンタ値とグローバルカウンタ値が一致すること
から、“A”の端末制御装置3で更新された共通データ
を取り込めないということになるのである。
An abnormality in main control system 1 is indicated by (a) in the diagram.
Assume that it has returned to normal. As a result, the local counter value and global counter value of the main control system 1 are set to 3 as shown in (b) in response to the request from the terminal control device 3 at A. In response to requests from main control system 1, (
As shown in c), the global counter value of the terminal control device 3 of "A" is set to "3". At this time, the main control system 1 and the terminal control device 3 of "B"
Since the line between the
As shown in (d), it remains "1". As is clear from this example, if it is determined whether or not the common data has been updated when the communication state is abnormal, by comparing the local counter value and the global counter value of the terminal control device 3. In the terminal control device 3 of "B", since the local counter value and the global counter value match, it means that the common data updated by the terminal control device 3 of "A" cannot be taken in.

このように、本発明では、メインコントロールシステム
lのローカルカウンタ値と端末制御装置3のローカルカ
ウンタ値の違いをもって共通データの更新の有無を判断
するようにしたことから、メインコントロールシステム
1と端末制御装置3との間の回線異常にも対応できるの
である。
As described above, in the present invention, since the presence or absence of updating of common data is determined based on the difference between the local counter value of the main control system 1 and the local counter value of the terminal control device 3, the main control system 1 and the terminal control It is also possible to deal with abnormalities in the line between the device 3 and the device 3.

以上、図示実施例について説明したが、本発明は、これ
に限定されるものではない。例えば、カウンタの歩進は
増加させる方式に限られるものではなく、初期値から減
少させる方式を採ることも可能である。また、本発明は
、ビル管理システムにその用途が限定されるものではな
く、すべての分散型のデータ処理システムに対して適用
できるのである。
Although the illustrated embodiments have been described above, the present invention is not limited thereto. For example, the increment of the counter is not limited to the method of increasing it, but it is also possible to adopt a method of decreasing it from the initial value. Furthermore, the present invention is not limited in its application to building management systems, but can be applied to all distributed data processing systems.

〔発明の効果〕〔Effect of the invention〕

このように、本発明によれば、メインコントロールシス
テムがダウンしても、あるいは、メインコントロールシ
ステムと端末制御装置との間の回線に異常が発生すると
いうようなことが起きても、端末制御装置では共通デー
タの更新ができるとともに、正常状態に復帰したときに
、直ちに更新された共通データを他の端末制御装置に展
開できることになるので、異常時も含めて分散型のデー
タ処理が保持できるようになるのである。しかも、正常
への復帰時に、ローカルカウンタ値の比較をもって共通
データの転送の有無を決定するので、従来のような無駄
なデータロード時間を必要とするということもないので
ある。
As described above, according to the present invention, even if the main control system goes down or an abnormality occurs in the line between the main control system and the terminal control device, the terminal control device In addition to being able to update the common data, when the normal state returns, the updated common data can be immediately deployed to other terminal control devices, so that distributed data processing can be maintained even in abnormal situations. It becomes. Moreover, since the presence or absence of transfer of common data is determined by comparing the local counter values when returning to normal, there is no need for unnecessary data loading time as in the conventional case.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理構成図、 第2図は本発明のシステム構成図、 第3図は端末制御装置の実行するフローチャート、 第4図はメインコントロールシステムの実行するフロー
チャート、 第5図は第3図及び第4図のフローチャートの処理の説
明図、 第6図は端末制御装置の実行するフローチャート、 第7図は第6回のフローチャートの処理の説明図、 第8図及び第9図は本発明の処理のタイムチャートであ
る。 図中、■はメインコントロールシステム、2はマスクフ
ァイル、3は端末制御装置、4はコピーファイル、5は
デイスプレィ装置、6はキーボード、7は端末装置、8
は現場機器、10は処理ノード、11はローカルカウン
タ、12はグローバルカウンタ、13は共通データ格納
手段、14は通信状態判断手段、20は管理ノード、2
1はローカルカウンタ、22はグローバルカウンタ、2
3は共通データ格納手段である。
Figure 1 is a diagram of the principle of the present invention; Figure 2 is a system diagram of the present invention; Figure 3 is a flowchart executed by the terminal control device; Figure 4 is a flowchart executed by the main control system; Figure 5 is a flowchart executed by the main control system. FIG. 6 is a flowchart executed by the terminal control device; FIG. 7 is an explanatory diagram of the processing in the sixth flowchart; FIGS. 8 and 9 are 3 is a time chart of processing according to the present invention. In the figure, ■ is the main control system, 2 is the mask file, 3 is the terminal control device, 4 is the copy file, 5 is the display device, 6 is the keyboard, 7 is the terminal device, 8
10 is a field device, 10 is a processing node, 11 is a local counter, 12 is a global counter, 13 is a common data storage means, 14 is a communication state judgment means, 20 is a management node, 2
1 is a local counter, 22 is a global counter, 2
3 is a common data storage means.

Claims (1)

【特許請求の範囲】 複数の処理ノード(10)とこれらを管理する管理ノー
ド(20)とからなり、これらの処理ノード(10)が
、システム全体で共通となる共通データに従って所定の
処理を実行するとともに、自ノードが保持する共通デー
タを随時更新していくよう処理する分散型データ処理シ
ステムにおいて、 上記処理ノード(10)及び上記管理ノード(20)が
、対となるローカルカウンタ(11、21)とグローバ
ルカウンタ(12、22)とを備えるよう構成し、上記
処理ノード(10)は、自らの保持する共通データを更
新するときには、自らの備えるローカルカウンタ(11
)の計数値を更新毎に歩進させ、かつ上記管理ノード(
20)との間の通信状態が正常であるときには、上記管
理ノード(20)を介して、この更新した共通データが
システム全体の共通データとなるべく処理するとともに
、自らの備えるローカルカウンタ(11)を除くすべて
のカウンタの計数値を更新回数分歩進するよう処理し、 そして、上記処理ノード(10)は、上記管理ノード(
20)との間の通信状態が異常から正常に復帰したとき
には、自らの備えるローカルカウンタ(11)と上記管
理ノード(20)の備えるローカルカウンタ(21)の
計数値が一致するか否かを調べ、一致しないときには、
上記管理ノード(20)を介して、より新しい計数値を
有するローカルカウンタ(11、21)側の共通データ
がシステム全体の共通データとなるべく処理するととも
に、すべてのローカルカウンタ(11、21)とグロー
バルカウンタ(12、22)の計数値が、そのより新し
い計数値になるべくカウンタの計数値を差分値分歩進す
るよう処理してなることを、 特徴とする共通データの管理処理方式。
[Claims] Consisting of a plurality of processing nodes (10) and a management node (20) that manages them, these processing nodes (10) execute predetermined processing according to common data that is common to the entire system. At the same time, in a distributed data processing system that performs processing such that common data held by its own node is updated at any time, the processing node (10) and the management node (20) have a pair of local counters (11, 21). ) and global counters (12, 22), and when the processing node (10) updates common data held by itself, it updates its own local counter (11, 22).
) is incremented each time it is updated, and the above management node (
20), the updated common data is processed as common data for the entire system via the management node (20), and its own local counter (11) is processed. The processing node (10) increments the counts of all counters except for the number of updates, and the processing node (10)
20) returns to normal from the abnormality, it is checked whether the counted values of the local counter (11) of the management node (20) and the local counter (21) of the management node (20) match. , when there is no match,
Through the management node (20), the common data on the local counter (11, 21) side having a newer count value is processed as common data for the entire system, and all local counters (11, 21) and the global A common data management processing method characterized in that the count value of the counter (12, 22) is processed so that the count value of the counter is incremented by the difference value as much as possible to become the newer count value.
JP63164517A 1988-07-01 1988-07-01 Control processing system for common data Pending JPH0214354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63164517A JPH0214354A (en) 1988-07-01 1988-07-01 Control processing system for common data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63164517A JPH0214354A (en) 1988-07-01 1988-07-01 Control processing system for common data

Publications (1)

Publication Number Publication Date
JPH0214354A true JPH0214354A (en) 1990-01-18

Family

ID=15794669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63164517A Pending JPH0214354A (en) 1988-07-01 1988-07-01 Control processing system for common data

Country Status (1)

Country Link
JP (1) JPH0214354A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0488461A (en) * 1990-07-25 1992-03-23 Nec Corp Global virtual office
JP4806729B2 (en) * 2007-06-27 2011-11-02 マイクロソフト コーポレーション Write request processing by servers with global knowledge
JP2012150679A (en) * 2011-01-20 2012-08-09 Nippon Telegr & Teleph Corp <Ntt> Parallel count processing device, communication device, parallel count processing method, and program
EP3571583A4 (en) * 2017-02-16 2020-02-12 Huawei Technologies Co., Ltd. System and method to reduce overhead of reference counting

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5372428A (en) * 1976-12-10 1978-06-27 Hitachi Ltd Data renewal system
JPS5533288A (en) * 1978-08-31 1980-03-08 Fujitsu Ltd Hysteresis recording control system of multi-processor system
JPS58102624A (en) * 1981-12-04 1983-06-18 Toshiba Corp Thread cutting tool
JPS5972555A (en) * 1982-09-21 1984-04-24 ゼロツクス・コ−ポレ−シヨン Multiplex processor type electronic controller, machine usi-ng same and monitoring and diagnosis thereof
JPS62154159A (en) * 1985-12-27 1987-07-09 Toshiba Corp Burst multiplexer channel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5372428A (en) * 1976-12-10 1978-06-27 Hitachi Ltd Data renewal system
JPS5533288A (en) * 1978-08-31 1980-03-08 Fujitsu Ltd Hysteresis recording control system of multi-processor system
JPS58102624A (en) * 1981-12-04 1983-06-18 Toshiba Corp Thread cutting tool
JPS5972555A (en) * 1982-09-21 1984-04-24 ゼロツクス・コ−ポレ−シヨン Multiplex processor type electronic controller, machine usi-ng same and monitoring and diagnosis thereof
JPS62154159A (en) * 1985-12-27 1987-07-09 Toshiba Corp Burst multiplexer channel

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0488461A (en) * 1990-07-25 1992-03-23 Nec Corp Global virtual office
JP4806729B2 (en) * 2007-06-27 2011-11-02 マイクロソフト コーポレーション Write request processing by servers with global knowledge
JP2012150679A (en) * 2011-01-20 2012-08-09 Nippon Telegr & Teleph Corp <Ntt> Parallel count processing device, communication device, parallel count processing method, and program
EP3571583A4 (en) * 2017-02-16 2020-02-12 Huawei Technologies Co., Ltd. System and method to reduce overhead of reference counting

Similar Documents

Publication Publication Date Title
AU625590B2 (en) Updating or restoring method for stored data groups and system executing same
EP0191036B1 (en) Database backup method
CN108932338B (en) Data updating method, device, equipment and medium
JP3790589B2 (en) Commitment method for distributed database transactions
US5317739A (en) Method and apparatus for coupling data processing systems
US5442785A (en) Method and apparatus for passing messages between application programs on host processors coupled to a record lock processor
JP2833633B2 (en) Data processing system and queue management method
WO2024109239A1 (en) Cluster data synchronization method and apparatus, device, and nonvolatile readable storage medium
US5664090A (en) Processor system and method for maintaining internal state consistency between active and stand-by modules
US8301750B2 (en) Apparatus, system, and method for facilitating communication between an enterprise information system and a client
JPH0214354A (en) Control processing system for common data
JPH0528021A (en) Management of binary arranged data
JP2015165357A (en) data management system
US6760863B1 (en) CPU unit and run alternative control method of programmable controller
JPH02171846A (en) Transaction processing system
JP3111980B2 (en) Multitask distribution processing method for processing requests
JP3329564B2 (en) Asynchronous communication method and asynchronous communication device
JPH0628407A (en) Data base system
CN116107773A (en) Event processing method and device and electronic equipment
JPH04102137A (en) Updating method for data base
JPH01291333A (en) Event sorting processing system
JPH03250240A (en) Broadcast communication system
JP3775275B2 (en) Redundant system, its master device, slave device
JPH04281535A (en) Stand-by redundant type system
JPH03108836A (en) Display information storage communication system