JP3006265B2 - Information update synchronization device between hosts - Google Patents

Information update synchronization device between hosts

Info

Publication number
JP3006265B2
JP3006265B2 JP4043742A JP4374292A JP3006265B2 JP 3006265 B2 JP3006265 B2 JP 3006265B2 JP 4043742 A JP4043742 A JP 4043742A JP 4374292 A JP4374292 A JP 4374292A JP 3006265 B2 JP3006265 B2 JP 3006265B2
Authority
JP
Japan
Prior art keywords
update
host
requester
request
exclusive control
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.)
Expired - Fee Related
Application number
JP4043742A
Other languages
Japanese (ja)
Other versions
JPH05241999A (en
Inventor
秀樹 那須
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4043742A priority Critical patent/JP3006265B2/en
Publication of JPH05241999A publication Critical patent/JPH05241999A/en
Application granted granted Critical
Publication of JP3006265B2 publication Critical patent/JP3006265B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数のホストの共通の
情報を格納する共通テーブルを更新するホスト間情報更
新同期化装置に利用する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used for an inter-host information update synchronizing device for updating a common table storing common information of a plurality of hosts.

【0002】[0002]

【従来の技術】従来、ホスト間情報更新同期化装置は、
複数ホストに共通な情報を含む共通テーブルを持つ複数
ホストからの共通テーブルの参照または更新が可能か否
かを判断するホスト間排他制御情報テーブルを複数ホス
ト制御装置上に置き、ホスト間排他制御手段により、複
数ホストに共通な情報を持つ共通テーブルを排他し、参
照および更新を行っていた。
2. Description of the Related Art Conventionally, an information update synchronization device between hosts has
An inter-host exclusion control information table for determining whether or not a plurality of hosts having a common table including information common to the plurality of hosts can refer to or update the common table on the plurality of host controllers; Thus, a common table having information common to a plurality of hosts is excluded, and reference and update are performed.

【0003】[0003]

【発明が解決しようとする課題】しかし、このような従
来のホスト間情報更新同期化装置では、複数ホストに共
通な情報を持つテーブルの参照のみが頻繁に発生し更新
が少ない場合でも、ホスト間排他制御手段により、排他
を行わなければならずアクセス効率が悪い欠点があっ
た。
However, in such a conventional host-to-host information update synchronization device, even when only a table having information common to a plurality of hosts is frequently referred to and the number of updates is small, the host-to-host information update synchronization is not possible. The exclusion control means has to perform exclusion and has a disadvantage of poor access efficiency.

【0004】本発明は上記の欠点を解決するもので、複
数ホスト間に共通な情報を持つ共通テーブルに対する参
照時のアクセス効率を向上できるホスト間情報更新同期
化装置を提供することを目的とする。
An object of the present invention is to solve the above-mentioned drawbacks, and an object of the present invention is to provide an inter-host information updating / synchronizing apparatus capable of improving access efficiency when referring to a common table having information common to a plurality of hosts. .

【0005】[0005]

【課題を解決するための手段】本発明は、通信制御装置
を介して接続され共通な情報を格納する共通テーブルを
それぞれ含む複数のホストと、入力する排他要求信号に
基づきこの共通テーブルに対する更新を同時に行わない
ようにホスト間排他制御を行う複数ホスト制御装置と
を備えたホスト間情報更新同期化装置において、更新要
求側のホストは、更新要求者からの排他要求に基づき上
記排他要求信号を出力し、この更新要求者からの更新要
求および更新データに基づき自ホストの共通テーブルの
ホスト内排他制御を行って更新し、更新終了時にこの更
新データを上記通信制御装置を介して更新受付側のホス
トへ送信し、更新終了をこの更新要求者に通知してこの
更新要求者の解除通知によりホスト内排他制御を解除
し、この更新受付側のすべてのホストからの更新完了信
号に基づき上記更新要求者に更新完了を通知してその排
他要求を解除させる第一のアクセス手段とを含み、上記
更新受付側のホストは、上記通信制御装置を介して送信
された上記更新データを入力し自ホストの共通テーブル
のホスト内排他制御を行って更新し、更新終了時にホス
ト内排他制御を解除し上記更新完了信号を返送する第二
のアクセス手段を含むことを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, a plurality of hosts which are connected via a communication control device and each include a common table for storing common information, and updates the common table based on an exclusive request signal input thereto. Do not do at the same time
In host-to-host information update synchronization device that includes a plurality host controller for exclusive control between the host as the host of the update request side, based on the exclusive request from the update requestor outputs the exclusive request signal, Based on the update request and the update data from the update requester, update is performed by performing in-host exclusive control of the common table of the own host, and when the update is completed, the update data is transmitted to the update receiving side host via the communication control device. Then, the update requester is notified of this update requester, the exclusive control within the host is released by the release requester's release notification, and the update requester is updated to the update requester based on the update completion signal from all hosts on the update accepting side. First access means for notifying completion and releasing the exclusion request, wherein the host on the update receiving side transmits the update data transmitted via the communication control device. Input performed hosts within the exclusive control of the common table of the local host to update, release the host in exclusive control at updating end, characterized in that it comprises a second access means for returning the update completion signal.

【0006】また、本発明は、上記第一のアクセス手段
および上記第二のアクセス手段は、参照要求者の参照要
求に基づきホスト内排他制御を行って参照し、参照終了
時に参照終了をこの参照要求者に通知し、この参照要求
者の解除通知によりホスト内排他制御を解除する手段を
含むことができる。
Further, according to the present invention, the first access means and the second access means perform in-host exclusive control based on the reference request of the reference requester and refer to the information. Means for notifying the requester and releasing the intra-host exclusive control by the release requester's release notification may be included.

【0007】さらに、本発明は、上記第一のアクセス手
段は、上記更新要求者からの排他要求に基づき上記排他
要求信号を出力するホスト間排他制御手段と、この更新
要求者からの更新要求を入力し自ホストの共通テーブル
のホスト内排他制御を行いこの更新要求者からの解除通
知によりホスト内排他制御を解除する第一のホスト内排
他制御手段と、この更新要求者からの更新データに基づ
き自ホストの共通テーブルの更新を行い、更新終了時に
この更新データを出力し、上記更新要求者に更新終了を
通知する第一のテーブル更新手段と、この第一のテーブ
ル更新手段からの更新データを上記通信制御装置を介し
て上記更新受付側のホストに送信し、この更新受付側の
すべてのホストからの更新完了信号に基づき上記更新要
求者に更新完了を通知してホスト間排他制御を解除させ
る第一の通信手段とを含み、上記第二のアクセス手段
は、上記第一の通信手段からの更新データを上記通信制
御装置を介して受信し、入力する更新終了信号に基づき
上記更新完了信号を返信する第二の通信手段と、この第
二の通信手段からの更新データに基づき更新要求信号お
よびこの更新データを出力し、入力する更新終了通知に
基づきホスト内排他解除信号および上記更新終了信号を
出力するテーブル制御手段と、上記テーブル制御手段か
らの更新要求に基づき自ホストの共通テーブルのホスト
内排他制御を行い、上記ホスト内排他解除信号に基づき
ホスト内排他制御を解除する第二のホスト内排他制御手
段と、上記テーブル制御手段からの更新データに基づき
自ホストの共通テーブルの更新を行い、更新終了時に上
記更新終了通知を出力する第二のテーブル更新手段とを
含み、上記第一のホスト内排他制御手段および上記第二
のホスト排他制御手段は、それぞれ更新参照者からの参
照要求に基づき自ホストの共通テーブルのホスト内排他
制御を行う手段を含み、上記第一のアクセス手段および
第二のアクセス手段は、上記更新参照者からの参照要求
に基づき自ホストの共通テーブルを参照するテーブル参
照手段を含むことができる。
Further, in the present invention, the first access means includes an inter-host exclusion control means for outputting the exclusion request signal based on the exclusion request from the update requester, and an update request from the update requester. Based on the first in-host exclusive control means for inputting and performing intra-host exclusive control of the common table of the own host and releasing the intra-host exclusive control by the release notification from the update requester, based on the update data from the update requester Updates the common table of its own host, outputs this update data at the end of the update, and notifies the update requester of the update completion from the first table update means, and the update data from the first table update means. Transmit to the update reception side host via the communication control device, and based on the update completion signal from all the update reception side hosts, notify the update requester of the update completion. And a first communication means for canceling the exclusive control between the hosts, and the second access means receives the update data from the first communication means via the communication control device and inputs the updated data. A second communication means for returning the update completion signal based on the update end signal, and an update request signal and the update data based on the update data from the second communication means; A table control unit that outputs an internal exclusion release signal and the update end signal, and performs in-host exclusion control of a common table of its own host based on an update request from the table control unit, and executes an in-host exclusion control based on the in-host exclusion release signal. A second intra-host exclusive control unit for releasing the exclusive control, and updating the common table of the own host based on the update data from the table control unit A second table update unit that outputs the update end notification at the end of the update, wherein the first intra-host exclusive control unit and the second host exclusive control unit are each based on a reference request from an update referrer. Means for performing intra-host exclusive control of the common table of the own host, wherein the first access means and the second access means refer to a table which refers to the common table of the own host based on a reference request from the update referrer Means can be included.

【0008】また、本発明は、上記更新要求側のホスト
は、上記第一の通信手段により起動され、所定時間以上
上記更新完了信号が受信されないときにこの第一の通信
手段に対してリトライ要求を行うリトライ手段を備え、
上記第一の通信手段は、上記第一のテーブル更新手段か
らの更新データを送信するとともに上記リトライ手段を
起動する手段と、上記リトライ要求に基づきこの更新デ
ータを再送信する手段とを含むことができる。
Further, according to the present invention, the host on the update request side is activated by the first communication means, and when the update completion signal is not received for a predetermined time or more, the host on the update request side sends a retry request to the first communication means. Retry means to perform
The first communication means may include means for transmitting update data from the first table update means and activating the retry means, and means for retransmitting the update data based on the retry request. it can.

【0009】さらに、本発明は、上記更新要求側のホス
トは、上記第一の通信手段により起動され、自ホストの
通番データを与え記憶する第一の通番記憶手段を含み、
上記第一の通信手段は、上記第一のテーブル更新手段か
らの更新データの受信時にこの第一の通番記憶手段を起
動する手段と、この更新データにこの第一の通番記憶手
段からの自ホストの通番データを付加して送信する手段
を含み、上記更新受付側のホストは、上記第二の通信手
段からの通番データを記憶する第二の通番記憶手段を含
み、上記第二の通信手段は、上記第一の通信手段から受
信した更新データに付加された通番データを上記第二の
通番記憶手段に与える手段と、上記テーブル制御手段か
らの更新終了信号にこの第二の通番記憶手段からの通番
データを付加して返信する手段とを含み、上記第一の通
信手段は、上記第二の通信手段からの更新終了信号に付
加された通番データと上記第一の通番記憶手段からの通
番データとを比較しその一致結果により上記更新要求者
に通信完了を通知する手段を含むことができる。
Further, according to the present invention, the host on the update request side includes first serial number storage means activated by the first communication means and providing and storing serial number data of the host itself.
The first communication means is means for activating the first serial number storage means when receiving the update data from the first table updating means, and the host from the first serial number storage means is provided to the update data. Means for adding and transmitting serial number data, the update receiving side host includes second serial number storage means for storing serial number data from the second communication means, and the second communication means Means for giving the serial number data added to the update data received from the first communication means to the second serial number storage means, and an update end signal from the table control means to the update end signal from the second serial number storage means. Means for replying by adding serial number data, wherein the first communication means includes serial number data added to an update end signal from the second communication means and serial number data from the first serial number storage means. Compare with By the matching results can include means for notifying the communication completion to the update requestor.

【0010】[0010]

【作用】更新要求側のホストは、第一のアクセス手段で
更新要求者からの排他要求に基づき複数ホスト制御装置
に排他要求信号を出力し、この更新要求者からの更新要
求および更新データに基づき自ホストの共通テーブルの
ホスト内排他制御を行って更新し、更新終了時にこの更
新データを通信制御装置を介して更新受付側のホストへ
送信し、更新終了をこの更新要求者に通知してこの更新
要求者の解除通知によりホスト内排他制御を解除し、こ
の更新受付側のすべてのホストからの更新完了信号に基
づき更新要求者に更新完了を通知してその排他要求を解
除させる。更新受付側のホストは、第二のアクセス手段
で通信制御装置を介して送信された更新データを入力し
自ホストの共通テーブルのホスト内排他制御を行って更
新し、更新終了時にホスト内排他制御を解除し更新完了
信号を返送する。
The update requesting host outputs an exclusion request signal to the plurality of host control devices based on the exclusion request from the update requester by the first access means, and based on the update request and the update data from the update requester. Updates by performing intra-host exclusive control of the common table of the own host, transmits the update data to the update accepting host via the communication control device when the update is completed, notifies the update requester of the update completion, and The exclusive control in the host is released by the release notification of the update requester, and the update requester is notified of the update completion based on the update completion signal from all the hosts on the update accepting side to release the exclusive request. The host on the update accepting side inputs the update data transmitted through the communication control device by the second access means, performs the exclusive control in the host of the common table of the own host, updates the host, and executes the exclusive control in the host at the end of the update. And returns an update completion signal.

【0011】また、第一のアクセス手段および第二のア
クセス手段は、参照要求者の参照要求に基づきホスト内
排他制御を行って参照し、参照終了時に参照終了をこの
参照要求者に通知し、この参照要求者の解除通知により
ホスト内排他制御を解除する。
The first access means and the second access means perform in-host exclusive control based on the reference request of the reference requester to perform reference, and notify the reference requester of the reference end when the reference is completed, The exclusive control within the host is released by the release notification of the reference requester.

【0012】以上により複数ホスト間に共通な情報を持
つ共通テーブルに対する参照時のアクセス効率を向上で
きる。
As described above, the access efficiency at the time of referring to the common table having information common to a plurality of hosts can be improved.

【0013】[0013]

【実施例】本発明の実施例について図面を参照して説明
する。図1は本発明一実施例ホスト間情報更新同期化装
置のブロック構成図である。図2は本発明のホスト間情
報更新同期化装置のテーブル更新要求ホストのブロック
構成図である。図3は本発明のホスト間情報更新同期化
装置のテーブル更新受付ホストのブロック構成図であ
る。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an apparatus for synchronizing information update between hosts according to an embodiment of the present invention. FIG. 2 is a block diagram of a table update request host of the inter-host information update synchronization device of the present invention. FIG. 3 is a block diagram of the table update receiving host of the inter-host information update synchronization device of the present invention.

【0014】図1〜図3において、ホスト間情報更新同
期化装置は、通信制御装置30を介して接続され共通な
情報を格納する共通テーブル20A、20Bをそれぞれ
含む複数のホストとしてテーブル更新要求ホスト10A
およびテーブル更新受付ホスト10B(ここでは、テー
ブル更新受付ホスト10Bは1個であるか複数個でもよ
い。)と、入力する排他要求信号に基づきこの共通テー
ブル20A、20Bのホスト間排他制御を行う複数ホス
ト制御装置40とを備え、複数ホスト制御装置40はホ
スト間排他制御情報テーブル41を含む。
In FIG. 1 to FIG. 3, the host information update synchronizing device is a table update requesting host as a plurality of hosts including common tables 20A and 20B which are connected via the communication control device 30 and store common information. 10A
And a table update reception host 10B (here, the number of table update reception hosts 10B may be one or more), and a plurality of hosts that perform exclusive control between the common tables 20A and 20B based on the input exclusion request signal. And a host control device 40. The multiple-host control device 40 includes an inter-host exclusive control information table 41.

【0015】ここで本発明の特徴とするところは、テー
ブル更新要求ホスト10Aは、更新要求者としてテーブ
ル更新要求者51からの排他要求に基づき上記排他要求
信号を出力し、テーブル更新要求者51からの更新要求
および更新データに基づき自ホストの共通テーブル20
Aのホスト内排他制御を行って更新し、更新終了時にこ
の更新データを通信制御装置30を介してテーブル更新
受付ホスト10Bへ送信し、更新終了をテーブル更新要
求者51に通知してテーブル更新要求者51の解除通知
によりホスト内排他制御を解除し、テーブル更新受付ホ
スト10Bからの更新完了信号に基づきテーブル更新要
求者51に更新完了を通知してその排他要求を解除させ
る第一のアクセス手段とを含み、テーブル更新受付ホス
ト10Bは、通信制御装置30を介して送信された上記
更新データを入力し自ホストの共通テーブル20Bのホ
スト内排他制御を行って更新し、更新終了時にホスト内
排他制御を解除し上記更新完了信号を返送する第二のア
クセス手段を含むことを特徴とする。
Here, the feature of the present invention is that the table update request host 10A outputs the above exclusion request signal based on the exclusion request from the table update requester 51 as the update requester, and the table update requester 51 Table 20 of the host based on the update request and update data
A is updated by performing exclusive control within the host of A, and when the update is completed, the update data is transmitted to the table update reception host 10B via the communication control device 30 and the update completion is notified to the table update requester 51 to request the table update. Access means for releasing the exclusive control in the host by the release notification of the user 51, notifying the table update requester 51 of the completion of the update based on the update completion signal from the table update reception host 10B, and releasing the exclusive request. The table update receiving host 10B receives the update data transmitted via the communication control device 30, performs the exclusive control within the host in the common table 20B of the host, updates the same, and executes the exclusive control within the host when the update is completed. And second access means for returning the update completion signal.

【0016】また、上記第一のアクセス手段および上記
第二のアクセス手段は、参照要求者としてテーブル参照
要求者52A、52Bの参照要求に基づきホスト内排他
制御を行って参照し、参照終了時に参照終了をテーブル
参照要求者52A、52Bに通知し、テーブル参照要求
者52A、52Bの解除通知によりホスト内排他制御を
解除する手段を含む。
Further, the first access means and the second access means perform in-host exclusive control based on the reference request of the table reference requesters 52A and 52B as the reference requester, and refer to the information when the reference is completed. It includes means for notifying the table reference requesters 52A and 52B of the end, and releasing the intra-host exclusive control by the release notification of the table reference requesters 52A and 52B.

【0017】さらに、上記第一のアクセス手段は、テー
ブル更新要求者51からの排他要求に基づき上記排他要
求信号を出力するホスト間排他制御手段11Aと、テー
ブル更新要求者51からの更新要求を入力し自ホストの
共通テーブル20Aのホスト内排他制御を行いテーブル
更新要求者51からの解除通知によりホスト内排他制御
を解除する第一のホスト内排他制御手段としてホスト内
排他制御手段13Aおよびホスト内排他制御テーブル1
2Aと、テーブル更新要求者51からの更新データに基
づき自ホストの共通テーブル20Aの更新を行い、更新
終了時にこの更新データを出力し、テーブル更新要求者
51に更新終了を通知する第一のテーブル更新手段とし
てテーブル更新手段14Aと、テーブル更新手段14A
からの更新データを通信制御装置30を介してテーブル
更新受付ホスト10Bに送信し、テーブル更新受付ホス
ト10Bからの更新完了信号に基づきテーブル更新要求
者51に更新完了を通知してホスト間排他制御を解除さ
せる第一の通信手段として通信手段15Aとを含み、上
記第二のアクセス手段は、通信手段15Aからの更新デ
ータを通信制御装置30を介して受信し、入力する更新
終了信号に基づき上記更新完了信号を返信する第二の通
信手段として通信手段15Bと、通信手段15Bからの
更新データに基づき更新要求信号およびこの更新データ
を出力し、入力する更新終了通知に基づきホスト内排他
解除信号および上記更新終了信号を出力するテーブル制
御手段21と、テーブル制御手段21からの更新要求に
基づき自ホストの共通テーブル20Bのホスト内排他制
御を行い、上記ホスト内排他解除信号に基づきホスト内
排他制御を解除する第二のホスト内排他制御手段として
ホスト内排他制御手段13Bおよびホスト内排他制御テ
ーブル12Bと、テーブル制御手段21からの更新デー
タに基づき自ホストの共通テーブルの更新を行い、更新
終了時に上記更新終了通知を出力する第二のテーブル更
新手段としてテーブル更新手段14Bとを含み、ホスト
内排他制御手段13A、13Bは、それぞれテーブル参
照要求者52A、52Bからの参照要求に基づき自ホス
トの共通テーブル20A、20Bのホスト内排他制御を
行う手段を含み、上記第一のアクセス手段および第二の
アクセス手段は、テーブル参照要求者52A、52Bか
らの参照要求に基づき自ホストの共通テーブル20A、
20Bを参照するテーブル参照手段22A、22Bを含
む。
Further, the first access means inputs the exclusive request between the hosts 11A which outputs the exclusive request signal based on the exclusive request from the table update requester 51 and the update request from the table update requester 51. The exclusive control means 13A and the exclusive control means 13A serve as the first exclusive control means in the host which performs the exclusive control in the host of the common table 20A of the own host and releases the exclusive control in the host in response to the release notification from the table update requester 51. Control table 1
2A and the first table that updates the common table 20A of its own host based on the update data from the table update requester 51, outputs this update data when the update is completed, and notifies the table update requester 51 of the update end. Table updating means 14A as the updating means, and table updating means 14A
Is transmitted to the table update reception host 10B via the communication control device 30, and the table update requester 51 is notified of the update completion based on the update completion signal from the table update reception host 10B, and the inter-host exclusive control is performed. The communication means 15A is included as the first communication means to be released, and the second access means receives update data from the communication means 15A via the communication control device 30 and performs the update based on the input update end signal. A communication means 15B as a second communication means for returning a completion signal; an update request signal and the update data based on the update data from the communication means 15B; A table control means for outputting an update end signal; The intra-host exclusive control means 13B and the intra-host exclusive control table 12B as second intra-host exclusive control means for performing intra-host exclusive control of the communication table 20B and releasing the intra-host exclusive control based on the intra-host exclusive release signal; A table updating unit that updates the common table of the host based on the update data from the table control unit and outputs the update completion notification when the update is completed; 13A and 13B include means for performing in-host exclusive control of the common tables 20A and 20B of the host based on reference requests from the table reference requesters 52A and 52B, respectively, and the first access means and the second access means Is based on the reference request from the table reference requesters 52A and 52B. Table 20A,
It includes table reference means 22A and 22B for referring to 20B.

【0018】また、上記第一のアクセス手段は、通信手
段15Aにより起動され、所定時間以上上記更新完了信
号が受信されないときに通信手段15Aに対してリトラ
イ要求を行うリトライ手段として時間監視手段17およ
び通信テーブル16を備え、通信手段15Aは、テーブ
ル更新手段14Aからの更新データを送信するとともに
時間監視手段17を起動する手段と、上記リトライ要求
に基づきこの更新データを再送信する手段とを含む。
The first access means is activated by the communication means 15A, and when the update completion signal is not received for a predetermined time or more, the first access means makes a retry request to the communication means 15A. A communication table 16 is provided, and the communication means 15A includes means for transmitting update data from the table update means 14A and activating the time monitoring means 17, and means for retransmitting the update data based on the retry request.

【0019】さらに、上記第一のアクセス手段は、通信
手段15Aにより起動され、自ホストの通番データを与
え記憶する第一の通番記憶手段として通番制御手段19
Aおよび通番テーブル18Aを含み、通信手段15A
は、テーブル更新手段14Aからの更新データの受信時
にこの通番制御手段19Aを起動する手段と、この更新
データに通番制御手段19Aからの自ホストの通番デー
タを付加して送信する手段を含み、上記第二のアクセス
手段は、通信手段15Bからの通番データを記憶する第
二の通番記憶手段として通番制御手段19Bおよび通番
テーブル18Aを含み、通信手段15Bは、通信手段1
5Bから受信した更新データに付加された通番データを
通番制御手段19Bに与える手段と、テーブル制御手段
21からの更新終了信号にこの通番制御手段19Bから
の通番データを付加して返信する手段とを含み、通信手
段15Aは、通信手段15Bからの更新終了信号に付加
された通番データと通番制御手段19Aからの通番デー
タとを比較しその一致結果によりテーブル更新要求者5
1に通信完了を通知する手段を含む。
Further, the first access means is activated by the communication means 15A, and is provided with a serial number control means 19 as a first serial number storage means for providing and storing serial number data of its own host.
A and the communication means 15A including the serial number table 18A.
Includes means for activating the serial number control means 19A upon receiving update data from the table updating means 14A, and means for adding the serial number data of the host from the serial number control means 19A to the update data and transmitting the update data. The second access means includes a serial number control means 19B and a serial number table 18A as second serial number storage means for storing serial number data from the communication means 15B.
Means for giving the serial number data added to the update data received from 5B to the number control means 19B, and means for adding the serial number data from the serial number control means 19B to the update end signal from the table control means 21 and returning it. The communication means 15A compares the serial number data added to the update end signal from the communication means 15B with the serial number data from the serial number control means 19A, and determines the table update requester 5
1 means for notifying communication completion.

【0020】このような構成のホスト間情報更新同期化
装置の動作について説明する。図4は本発明のホスト間
情報更新同期化装置のテーブル更新要求ホストの処理を
示すフローチャートである。図5は本発明のホスト間情
報更新同期化装置のテーブル更新要求ホストの通信手段
の送信処理を示すフローチャートである。図6は本発明
のホスト間情報更新同期化装置のテーブル更新要求ホス
トの通信手段の受信処理を示すフローチャートである。
図7は本発明のホスト間情報更新同期化装置のテーブル
更新受付ホストの処理を示すフローチャートである。図
8は本発明のホスト間情報更新同期化装置のテーブル更
新要求ホストの時間監視手段の処理を示すフローチャー
トである。
The operation of the host-to-host information updating / synchronizing device having such a configuration will be described. FIG. 4 is a flowchart showing the processing of the table update requesting host of the inter-host information update synchronization device of the present invention. FIG. 5 is a flowchart showing the transmission process of the communication means of the table update requesting host of the inter-host information update synchronization device of the present invention. FIG. 6 is a flowchart showing the reception processing of the communication means of the table update requesting host of the inter-host information update synchronization device of the present invention.
FIG. 7 is a flowchart showing the processing of the table update receiving host of the inter-host information update synchronization device of the present invention. FIG. 8 is a flowchart showing the processing of the time monitoring means of the table update requesting host of the inter-host information update synchronization device of the present invention.

【0021】図4において、テーブル更新要求ホスト1
0Aでは、複数ホスト間で共通な情報を持つ共通テーブ
ル20Aの更新が必要とされた場合に、テーブル更新要
求者51はテーブル更新手段14Aにより自他ホストで
共通テーブル20A、20Bを同時更新しないように、
ホスト間排他制御手段11Aで複数ホスト制御装置40
に対して共通テーブル20A、20Bの排他を行うよう
に制御する。排他に成功した場合には、テーブル更新要
求者51はホスト内排他制御手段13Aを起動してホス
ト内の排他制御を行い、テーブル更新手段14Aを起動
する。テーブル更新手段14Aは共通テーブル20Aを
更新し、他ホストに対して更新データを通知するために
通信手段15Aを起動する。テーブル20Aの排他に失
敗した場合には、要求が受付けられるまで待つ。
In FIG. 4, table update requesting host 1
In 0A, when the common table 20A having information common to a plurality of hosts needs to be updated, the table update requester 51 prevents the table updating means 14A from simultaneously updating the common tables 20A and 20B on own and other hosts. To
The multiple host control device 40 is used by the inter-host exclusive control means 11A.
Is controlled so that the common tables 20A and 20B are mutually exclusive. If the exclusion succeeds, the table update requester 51 activates the intra-host exclusive control unit 13A to perform exclusive control within the host, and activates the table update unit 14A. The table updating means 14A updates the common table 20A and activates the communication means 15A to notify other hosts of the update data. If the exclusion of the table 20A fails, the process waits until the request is accepted.

【0022】図5および図6において、通信手段15A
は、まず通番制御手段19Aを呼出しテーブル更新要求
ホスト10Aに一意の通番データを通番テーブル18A
より得て更新データに付加し、通番制御手段19Aより
得た通番データを通番テーブル18Aに記憶しておく。
通信状態を監視するために、時間監視手段17を呼出
す。
5 and 6, the communication means 15A
Firstly calls the serial number control means 19A and sends the unique serial number data to the table update requesting host 10A.
The serial number data obtained from the serial number control unit 19A and added to the update data is stored in the serial number table 18A.
To monitor the communication state, the time monitoring means 17 is called.

【0023】時間監視手段17は通信テーブル16を所
定時間間隔で監視し状態が変化しない場合には、通信手
段15Aにリトライ要求を出す。通信手段15Aは、時
間監視手段17を呼出した後に、他ホストのテーブル更
新のために、通信制御装置30を介して通番データを付
加して更新データを転送する。それと同時に、通信テー
ブル16に通信中のフラグを各テーブル更新受付ホスト
単位に記憶しておく。
The time monitoring means 17 monitors the communication table 16 at predetermined time intervals, and issues a retry request to the communication means 15A if the state does not change. After calling the time monitoring means 17, the communication means 15A adds the serial number data and transfers the updated data via the communication control device 30 for updating the table of the other host. At the same time, the communication flag is stored in the communication table 16 for each table update receiving host.

【0024】図7において、テーブル更新要求を受付け
たテーブル更新受付ホスト10Bでは、通信手段15B
が起動され、テーブル更新要求ホスト10Aより転送さ
れた更新データに付加された通番データと通番テーブル
18Bの内容とを比較し、通知された通番データが古い
場合には無視し、古くなければ更新データだけをテーブ
ル制御手段21に渡す。
In FIG. 7, in the table update receiving host 10B that has received the table update request, the communication means 15B
Is started and the serial number data added to the update data transferred from the table update request host 10A is compared with the contents of the serial number table 18B. If the notified serial number data is old, it is ignored. Is passed to the table control means 21.

【0025】テーブル制御手段21では、ホスト内で同
時更新または同時参照を防ぐために、ホスト内排他制御
手段13Bを起動し、共通テーブル20Bを排他する。
排他が成功すれば、テーブル更新手段14Bを起動す
る。排他に失敗すれば、成功するまで待つ。
The table control means 21 activates the intra-host exclusive control means 13B and excludes the common table 20B in order to prevent simultaneous updating or simultaneous reference in the host.
If the exclusion succeeds, the table updating means 14B is activated. If exclusion fails, wait until successful.

【0026】テーブル更新手段14Bでは共通テーブル
20Bを更新データで更新する。テーブル制御手段21
ではテーブル更新終了後に、データ更新完了報告のため
に、通信手段15Bを呼出す。通信手段15Bでは通番
制御手段19Bで通番テーブルから得た通番データを付
加しテーブル更新が完了したことを通信制御装置30を
介してテーブル更新要求ホスト10Aに対して通知す
る。データ更新終了通知を受取ったデータ送信元の通信
手段15Aは送信先のテーブル更新受付ホスト10Bよ
り渡された通番データと通番テーブル18Bに記憶して
いる通番データとを比較し、同一であれば本通信に対す
る終了通知であると判断する。また、同一でなければ本
通信に対する終了通知でないと判断し終了通知を待つ。
The table updating means 14B updates the common table 20B with update data. Table control means 21
Then, after the table update is completed, the communication unit 15B is called for a data update completion report. The communication means 15B adds the serial number data obtained from the serial number table by the serial number control means 19B and notifies the table update request host 10A via the communication control device 30 that the table update is completed. The communication means 15A of the data transmission source that has received the data update completion notification compares the serial number data passed from the destination table update reception host 10B with the serial number data stored in the serial number table 18B. It is determined that this is a communication termination notification. If they are not the same, it is determined that this is not an end notification for this communication, and the end notification is waited for.

【0027】図6および図8において、所定時間待って
も終了通知がこない場合には、時間監視手段17により
リトライの要求をする。リトライ要求を受けた通信手段
15Aは通信テーブル16の通信中フラグを「オフ」と
してリトライ要求を出し、通信テーブル16のリトライ
中フラグを「オン」とする。更新データ送信元の通信手
段15Aは全通信相手ホストよりテーブル更新完了通知
を受取ると時間監視手段17を停止しテーブル更新要求
者51に通知する。
In FIG. 6 and FIG. 8, when the end notification is not received after waiting for a predetermined time, a retry request is made by the time monitoring means 17. The communication unit 15A that has received the retry request issues a retry request by setting the communication-in-progress flag of the communication table 16 to "off", and sets the retry-in-progress flag of the communication table 16 to "on". Upon receiving the table update completion notification from all communication partner hosts, the communication unit 15A of the update data transmission source stops the time monitoring unit 17 and notifies the table update requester 51.

【0028】通知を受取ったテーブル更新要求者51は
複数ホスト間に共通の共通テーブル20Aに対して排他
を解いて終了する。
The table update requester 51 that has received the notification releases the exclusion of the common table 20A common to a plurality of hosts and ends the processing.

【0029】上記操作により、複数ホストに共通な情報
を持つ各ホストのテーブルは、あるホストの複数ホスト
に共通な情報を持つテーブルだけ更新されていないこと
はなく、全ホスト矛盾なく更新される。
By the above operation, the table of each host having information common to a plurality of hosts is not updated only for a table having information common to a plurality of hosts of a certain host, and is updated without contradiction for all hosts.

【0030】また、テーブル参照時は、他プロセスによ
る更新要求との同時実行を防ぐために、ホスト内排他制
御手段13A(13B)を呼出し排他する。排他に成功
した場合には、テーブル参照手段22A(22B)を呼
出し共通テーブル20A(20B)を参照する。この操
作により、参照時は他ホストを意識することなく参照で
き、アクセス効率を向上できる。
When the table is referred to, the exclusive control means 13A (13B) in the host is called and exclusive is executed in order to prevent simultaneous execution with the update request by another process. When the exclusion is successful, the table reference unit 22A (22B) is called to refer to the common table 20A (20B). By this operation, when referring, the user can refer without regard to other hosts, and the access efficiency can be improved.

【0031】上述のように、本実施例は、共通テーブル
のホスト間排他制御を更新時のみに行い参照時にはホス
ト内に限って排他制御を行うことにより、参照が主な利
用者はアクセス効率を向上できる。また、通信制御装置
を介してテーブルの更新を行うために、通信制御装置の
間欠障害により通信が途絶えることがあるが、時間監視
を行うことにより通信を途絶えさせることがない。さら
に、通番を用いて管理することで通信制御装置からの通
知が重複することを防止できる。
As described above, according to the present embodiment, the user who mainly refers to the system can improve the access efficiency by performing the exclusive control between the hosts of the common table only at the time of updating and performing the exclusive control only within the host at the time of reference. Can be improved. Further, since the table is updated via the communication control device, the communication may be interrupted due to the intermittent failure of the communication control device. However, the communication is not interrupted by performing the time monitoring. Furthermore, by managing using serial numbers, it is possible to prevent duplicate notifications from the communication control device.

【0032】[0032]

【発明の効果】以上説明したように、本発明は、複数ホ
スト間に共通な情報を持つ共通テーブルに対する参照時
のアクセス効率を向上できる優れた効果がある。
As described above, the present invention has an excellent effect of improving access efficiency when referring to a common table having information common to a plurality of hosts.

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

【図1】本発明一実施例ホスト間情報更新同期化装置の
ブロック構成図。
FIG. 1 is a block diagram of a host-to-host information update synchronization device according to an embodiment of the present invention;

【図2】本発明のホスト間情報更新同期化装置のテーブ
ル更新要求ホストのブロック構成図。
FIG. 2 is a block diagram of a table update request host of the inter-host information update synchronization device of the present invention.

【図3】本発明のホスト間情報更新同期化装置のテーブ
ル更新受付ホストのブロック構成図。
FIG. 3 is a block diagram of a table update receiving host of the inter-host information update synchronization device of the present invention.

【図4】本発明のホスト間情報更新同期化装置のテーブ
ル更新要求ホストの処理を示すフローチャート。
FIG. 4 is a flowchart showing processing of a table update requesting host of the inter-host information update synchronization device of the present invention.

【図5】本発明のホスト間情報更新同期化装置のテーブ
ル更新要求ホストの通信手段の送信処理を示すフローチ
ャート。
FIG. 5 is a flowchart showing a transmission process of a communication unit of a table update requesting host of the inter-host information update synchronization device of the present invention.

【図6】本発明のホスト間情報更新同期化装置のテーブ
ル更新要求ホストの通信手段の受信処理を示すフローチ
ャート。
FIG. 6 is a flowchart showing a reception process of a communication unit of a table update requesting host of the inter-host information update synchronization device of the present invention.

【図7】本発明のホスト間情報更新同期化装置のテーブ
ル更新受付ホストの処理を示すフローチャート。
FIG. 7 is a flowchart showing processing of a table update receiving host of the inter-host information update synchronization device of the present invention.

【図8】本発明のホスト間情報更新同期化装置のテーブ
ル更新要求ホストの時間監視手段の処理を示すフローチ
ャート。
FIG. 8 is a flowchart showing the processing of the time monitoring means of the table update requesting host of the inter-host information update synchronization device of the present invention.

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

10A テーブル更新要求ホスト 10B テーブル更新受付ホスト 11A 、11B ホスト間排他制御手段 12A、12B ホスト内排他制御テーブル 13A、13B ホスト内排他制御手段 14A、14B テーブル更新手段 15A、15B 通信手段 16 通信テーブル 17 時間監視手段 18A、18B 通番テーブル 19A、19B 通番制御手段 20A、20B 共通テーブル 21 テーブル制御手段 22A、22B テーブル参照手段 30 通信制御装置 40 複数ホスト制御装置 41 ホスト間排他制御情報テーブル 51 テーブル更新要求者 52A、52B テーブル参照要求者 10A Table update requesting host 10B Table update receiving host 11A, 11B Inter-host exclusive control means 12A, 12B In-host exclusive control table 13A, 13B In-host exclusive control means 14A, 14B Table updating means 15A, 15B Communication means 16 Communication table 17 hours Monitoring means 18A, 18B Serial number table 19A, 19B Serial number control means 20A, 20B Common table 21 Table control means 22A, 22B Table reference means 30 Communication control device 40 Multiple host control device 41 Inter-host exclusive control information table 51 Table update requester 52A , 52B Table reference requester

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信制御装置を介して接続され共通な情
報を格納する共通テーブルをそれぞれ含む複数のホスト
と、入力する排他要求信号に基づきこの共通テーブルに
対する更新を同時に行わないようにホスト間の排他制御
を行う複数ホスト制御装置とを備えたホスト間情報更新
同期化装置において、 更新要求側のホストは、更新要求者からの排他要求に基
づき上記排他要求信号を出力し、この更新要求者からの
更新要求および更新データに基づき自ホストの共通テー
ブルのホスト内排他制御を行って更新し、更新終了時に
この更新データを上記通信制御装置を介して更新受付側
のホストへ送信し、更新終了をこの更新要求者に通知し
てこの更新要求者の解除通知によりホスト内排他制御を
解除し、この更新受付側のすべてのホストからの更新完
了信号に基づき上記更新要求者に更新完了を通知してそ
の排他要求を解除させる第一のアクセス手段とを含み、 上記更新受付側のホストは、上記通信制御装置を介して
送信された上記更新データを入力し自ホストの共通テー
ブルのホスト内排他制御を行って更新し、更新終了時に
ホスト内排他制御を解除し上記更新完了信号を返送する
第二のアクセス手段を含み、 上記第一のアクセス手段および上記第二のアクセス手段
は、参照要求者の参照要求に基づきホスト内排他制御を
行って自ホストの共通テーブルを参照し、参照終了時に
参照終了をこの参照要求者に通知し、この参照要求者の
解除通知によりホスト内排他制御を解除する手段を含む
ことを特徴とするホスト間情報更新同期化装置。
A plurality of hosts connected via a communication control unit and each including a common table for storing common information, and a host configured to not simultaneously update the common table based on an input exclusion request signal. In an inter-host information update synchronization device including a plurality of host control devices that perform exclusive control, an update requesting host outputs the above-mentioned exclusive request signal based on an exclusive request from an update requester, and the update requester Updates by performing in-host exclusive control of the common table of the own host based on the update request and the update data of the host, transmits the update data to the update receiving side host via the communication control device when the update is completed, and notifies the end of the update. The update requester is notified, the exclusive control in the host is released by the release requester's release notification, and the update request from all hosts on the update accepting side is released. A first access unit for notifying the update requester of the completion of the update based on a completion signal and canceling the exclusion request, wherein the host on the update accepting side updates the update transmitted through the communication control device. enter the data update performed hosts within the exclusive control of a common table of its own host releases the host in exclusive control when updating completion viewed including the second access means for returning the update completion signal, the first Access means and said second access means
Performs exclusive control within the host based on the reference request of the reference requester.
Go to the local host's common table, and at the end of the reference
Notify the reference requester of the end of the reference, and
An inter-host information updating / synchronizing device including means for canceling intra-host exclusive control in response to a cancellation notification .
【請求項2】 上記第一のアクセス手段は、上記更新要
求者からの排他要求に基づき上記排他要求信号を出力す
るホスト間排他制御手段と、この更新要求者からの更新
要求を入力し自ホストの共通テーブルのホスト内排他制
御を行いこの更新要求者からの解除通知によりホスト内
排他制御を解除する第一のホスト内排他制御手段と、こ
の更新要求者からの更新データに基づき自ホストの共通
テーブルの更新を行い、更新終了時にこの更新データを
出力し、上記更新要求者に更新終了を通知する第一のテ
ーブル更新手段と、この第一のテーブル更新手段からの
更新データを上記通信制御装置を介して上記更新受付側
のホストに送信し、この更新受付側のすべてのホストか
らの更新完了信号に基づき上記更新要求者に更新完了を
通知してホスト間排他制御を解除させる第一の通信手段
とを含み、 上記第二のアクセス手段は、上記第一の通信手段からの
更新データを上記通信制御装置を介して受信し、入力す
る更新終了信号に基づき上記更新完了信号を返信する第
二の通信手段と、この第二の通信手段からの更新データ
に基づき更新要求信号およびこの更新データを出力し、
入力する更新終了通知に基づきホスト内排他解除信号お
よび上記更新終了信号を出力するテーブル制御手段と、
上記テーブル制御手段からの更新要求に基づき自ホスト
の共通テーブルのホスト内排他制御を行い、上記ホスト
内排他解除信号に基づきホスト内排他制御を解除する第
二のホスト内排他制御手段と、上記テーブル制御手段か
らの更新データに基づき自ホストの共通テーブルの更新
を行い、更新終了時に上記更新終了通知を出力する第二
のテーブル更新手段とを含み、 上記第一のホスト内排他制御手段および上記第二のホス
ト排他制御手段は、それぞれ更新参照者からの参照要求
に基づき自ホストの共通テーブルのホスト内排他制御を
行う手段を含み、 上記第一のアクセス手段および第二のアクセス手段は、
上記更新参照者からの参照要求に基づき自ホストの共通
テーブルを参照するテーブル参照手段を含む請求項1に
記載のホスト間情報更新同期化装置。
A first access unit that outputs the exclusion request signal based on the exclusion request from the update requester; and an own host that inputs the update request from the update requester. A first intra-host exclusive control means for performing intra-host exclusive control of the common table and releasing the intra-host exclusive control in response to a release notification from the update requester, and a common host for the own host based on the update data from the update requester A first table updating means for updating the table, outputting this update data at the end of the update, and notifying the update requester of the end of the update, and updating the update data from the first table update means with the communication control device To the host on the update accepting side, and notifies the update requester of the completion of the update based on the update complete signal from all the hosts on the update accepting side, and discharges the data between the hosts. First communication means for canceling the other control, the second access means receives update data from the first communication means via the communication control device, and based on an update end signal to be input A second communication unit that returns the update completion signal, and outputs an update request signal and the update data based on the update data from the second communication unit,
Table control means for outputting an in-host exclusion release signal and the update end signal based on the update end notification to be input,
Second intra-host exclusive control means for performing intra-host exclusive control of the common table of the host based on the update request from the table control means and releasing intra-host exclusive control based on the intra-host exclusive release signal; A second table updating unit that updates the common table of the host based on the update data from the control unit and outputs the update end notification when the update is completed, the first host exclusive control unit and the second The second host exclusive control means includes means for performing in-host exclusive control of the common table of the own host based on a reference request from the update referrer, respectively, the first access means and the second access means,
The inter-host information update synchronization device according to claim 1, further comprising table reference means for referring to a common table of the host based on a reference request from the update reference person.
JP4043742A 1992-02-28 1992-02-28 Information update synchronization device between hosts Expired - Fee Related JP3006265B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4043742A JP3006265B2 (en) 1992-02-28 1992-02-28 Information update synchronization device between hosts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4043742A JP3006265B2 (en) 1992-02-28 1992-02-28 Information update synchronization device between hosts

Publications (2)

Publication Number Publication Date
JPH05241999A JPH05241999A (en) 1993-09-21
JP3006265B2 true JP3006265B2 (en) 2000-02-07

Family

ID=12672224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4043742A Expired - Fee Related JP3006265B2 (en) 1992-02-28 1992-02-28 Information update synchronization device between hosts

Country Status (1)

Country Link
JP (1) JP3006265B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3204206B2 (en) * 1998-03-13 2001-09-04 日本電気株式会社 Partial extraction type remote maintenance method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01217620A (en) * 1988-02-26 1989-08-31 Nec Corp Data base control system

Also Published As

Publication number Publication date
JPH05241999A (en) 1993-09-21

Similar Documents

Publication Publication Date Title
RU2372642C2 (en) Non-speculative distributed conflict resolution for cache memory coherency protocol
US5390316A (en) Multicomputer complex having a distributed shared memory system for providing a single system view from multiple consoles
JP2002202953A (en) Recovery following process failure or system failure
JP3006265B2 (en) Information update synchronization device between hosts
CN109218156A (en) A kind of management method of Dynamic link library data
JPH03157742A (en) File server device
KR0161569B1 (en) Method and apparatus for automatic frame transmission on a channel to controller interface in a data processing system
JPH06250907A (en) Supporting device for distributed cooperative work
JPS63211837A (en) Data transmission control system
JPH054040Y2 (en)
JP3014112B2 (en) Message communication method in multiprocessor system
JPS6158357A (en) Data communication system
JPH0793204A (en) Data base managing system and managing method for the same
JPH03235152A (en) Bus control system
JPS63300349A (en) Confirmation system for start of data transmission between computers
JPS62135042A (en) Automatic recognition system for equipment address in data communication
JPH03119462A (en) Local executing system for program of remote computer system
JPH05197657A (en) Logical address inspecting system
JPH05173908A (en) Multihost access system
JPH11143758A (en) File managing device and method therefor
JPH0834616B2 (en) Synchronization method of common data in multi-processor system
JPH06231067A (en) Exclusion control system for shared device using system
JPH056217B2 (en)
JPH01229541A (en) Access system from terminal in same communication pass
JPH05289969A (en) Computer network system and radio handy type work station to be used for the system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees