JPH05241999A - Inter-host information update synchrnoizing device - Google Patents

Inter-host information update synchrnoizing device

Info

Publication number
JPH05241999A
JPH05241999A JP4043742A JP4374292A JPH05241999A JP H05241999 A JPH05241999 A JP H05241999A JP 4043742 A JP4043742 A JP 4043742A JP 4374292 A JP4374292 A JP 4374292A JP H05241999 A JPH05241999 A JP H05241999A
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.)
Granted
Application number
JP4043742A
Other languages
Japanese (ja)
Other versions
JP3006265B2 (en
Inventor
Hideki Nasu
秀樹 那須
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)

Abstract

PURPOSE:To improve access efficiency by performing inter-host exclusive control on a common table only when update is performed, and performing exclusive control only on a host when reference is performed. CONSTITUTION:In a table update request host 10A, a table update requester 51 performs such control that the exclusion of the common tables 20A, 20B can be performed on plural host controllers 40 by an inter-host exclusive control means 11A so as not to update the common tables 20A, 20B simultaneously by a table update means 14A in its own and another hosts. When it succeeds in exclusion, the table update requester 51 performs the exclusive control on the host by starting up an in-host exclusive control means 13A, and starts up the table update means 14A. The table update means 14A updates the common table 20A, and starts up a communication means 15A to inform update data to another host. When the exclusion of the table 20A fails, the acceptance of a request is awaited.

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 synchronization device for updating a common table storing common information of a plurality of hosts.

【0002】[0002]

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

【0003】[0003]

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

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

【0005】[0005]

【課題を解決するための手段】本発明は、通信制御装置
を介して接続され共通な情報を格納する共通テーブルを
それぞれ含む複数のホストと、入力する排他要求信号に
基づきこの共通テーブルのホスト間排他制御を行う複数
ホスト制御装置とを備えたホスト間情報更新同期化装置
において、更新要求側のホストは、更新要求者からの排
他要求に基づき上記排他要求信号を出力し、この更新要
求者からの更新要求および更新データに基づき自ホスト
の共通テーブルのホスト内排他制御を行って更新し、更
新終了時にこの更新データを上記通信制御装置を介して
更新受付側のホストへ送信し、更新終了をこの更新要求
者に通知してこの更新要求者の解除通知によりホスト内
排他制御を解除し、この更新受付側のすべてのホストか
らの更新完了信号に基づき上記更新要求者に更新完了を
通知してその排他要求を解除させる第一のアクセス手段
とを含み、上記更新受付側のホストは、上記通信制御装
置を介して送信された上記更新データを入力し自ホスト
の共通テーブルのホスト内排他制御を行って更新し、更
新終了時にホスト内排他制御を解除し上記更新完了信号
を返送する第二のアクセス手段を含むことを特徴とす
る。
SUMMARY OF THE INVENTION According to the present invention, a plurality of hosts, each of which is connected through a communication control device and includes a common table for storing common information, and a host of the common table based on an input exclusive request signal are input. In the inter-host information update synchronization device including a plurality of host control devices that perform exclusive control, the update request side host outputs the exclusion request signal based on the exclusion request from the update requester, and the update requester Update request and update data by performing in-host exclusive control of the common table of the own host and updating, and at the end of update, this update data is sent to the host on the update receiving side via the communication control device, and the update end Notify this update requester, release the exclusive control within the host by the release notification of this update requester, and update completion signal from all hosts on this update receiving side. And a first access means for notifying the update requester of completion of update and canceling the exclusive request based on the update requester, and the host on the update receiving side inputs the update data transmitted via the communication control device. It is characterized by including a second access means for performing the in-host exclusive control of the common table of the own host to update it, releasing the in-host exclusive control at the end of the update, and 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 a reference request from a reference requester for reference, and refer to reference end at the end of reference. It is possible to include means for notifying the requester and for canceling the in-host exclusive control by the notice of cancellation of the reference requester.

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

【0008】また、本発明は、上記更新要求側のホスト
は、上記第一の通信手段により起動され、所定時間以上
上記更新完了信号が受信されないときにこの第一の通信
手段に対してリトライ要求を行うリトライ手段を備え、
上記第一の通信手段は、上記第一のテーブル更新手段か
らの更新データを送信するとともに上記リトライ手段を
起動する手段と、上記リトライ要求に基づきこの更新デ
ータを再送信する手段とを含むことができる。
According to the present invention, the host on the update request side is started by the first communication means and a retry request is issued to the first communication means when the update completion signal is not received for a predetermined time or longer. Equipped with a retry means
The first communication means may include means for transmitting the update data from the first table updating 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 a first serial number storage means which is activated by the first communication means and which gives and stores serial number data of the own host.
The first communication means activates the first serial number storage means when the update data is received from the first table update means, and the update data includes a host from the first serial number storage means. Of the update receiving side, the host of the update receiving side includes a second serial number storage means for storing serial number data from the second communication means, 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 from the second serial number storage means. Means for adding serial number data and returning it, wherein the first communication means includes serial number data added to the 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 host on the update request side outputs an exclusive request signal to the plural host control device based on the exclusive request from the update requester by the first access means, and based on the update request and the update data from the update requester. It updates by performing in-host exclusive control of the common table of the own host, sends this update data to the host on the update receiving side via the communication control device at the end of update, and notifies the update requester of this update end The exclusive control in the host is released by the update 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 receiving side, and the exclusive request is released. The host on the update receiving side inputs the update data transmitted via the communication control device by the second access means, performs the in-host exclusive control of the common table of the own host to update, and at the end of update, the in-host exclusive control And the update completion signal is returned.

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

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

【0013】[0013]

【実施例】本発明の実施例について図面を参照して説明
する。図1は本発明一実施例ホスト間情報更新同期化装
置のブロック構成図である。図2は本発明のホスト間情
報更新同期化装置のテーブル更新要求ホストのブロック
構成図である。図3は本発明のホスト間情報更新同期化
装置のテーブル更新受付ホストのブロック構成図であ
る。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block configuration diagram of an inter-host information update synchronization device according to an embodiment of the present invention. FIG. 2 is a block diagram of the 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を含む。
1 to 3, the inter-host information update synchronization device is a table update request host as a plurality of hosts each including common tables 20A and 20B connected via the communication control device 30 and storing common information. 10A
And a table update reception host 10B (here, the number of the table update reception host 10B may be one or more), and a plurality of hosts for performing mutual exclusion control between the common tables 20A and 20B based on the input exclusion request signal. The host control device 40, and 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のホ
スト内排他制御を行って更新し、更新終了時にホスト内
排他制御を解除し上記更新完了信号を返送する第二のア
クセス手段を含むことを特徴とする。
A feature of the present invention is that the table update requesting host 10A outputs the above exclusion request signal as an update requester based on the exclusion request from the table update requesting person 51, and the table update requesting person 51 Common table 20 of own host based on update request and update data of
A update is performed by performing the in-host exclusive control of A, and at the end of the update, this update data is transmitted to the table update accepting host 10B via the communication control device 30 and the update end is notified to the table update requester 51 to request the table update. And a first access means for releasing the exclusive control in the host by the release notification of the person 51 and notifying the table update requester 51 of the update completion based on the update completion signal from the table update receiving host 10B and releasing the exclusive request. The table update reception host 10B inputs the above update data transmitted via the communication control device 30, performs the in-host exclusive control of the common table 20B of its own host, and updates it, and at the end of the update, the in-host exclusive control And a second access means for releasing the update completion signal and returning the update completion signal.

【0016】また、上記第一のアクセス手段および上記
第二のアクセス手段は、参照要求者としてテーブル参照
要求者52A、52Bの参照要求に基づきホスト内排他
制御を行って参照し、参照終了時に参照終了をテーブル
参照要求者52A、52Bに通知し、テーブル参照要求
者52A、52Bの解除通知によりホスト内排他制御を
解除する手段を含む。
Further, the first access means and the second access means perform intra-host exclusive control based on the reference request from the table reference requesters 52A and 52B as reference requesters, and refer to them at the end of reference. It includes means for notifying the table reference requesters 52A, 52B of the end, and for canceling the in-host exclusive control by the cancellation notification of the table reference requesters 52A, 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 inter-host exclusive control means 11A which outputs the exclusion request signal based on the exclusion request from the table update requester 51 and the update request from the table update requester 51. Then, the in-host exclusion control means 13A and the in-host exclusion control are performed as the first in-host exclusion control means for performing the in-host exclusion control of the common table 20A of the own host and releasing the in-host exclusion control by the release notification from the table update requester 51. Control table 1
2A and the common table 20A of the own host is updated based on the update data from the table update requester 51, the update data is output at the end of the update, and the first table for notifying the table update requester 51 of the update end Table updating means 14A as updating means, and table updating means 14A
From the table update reception host 10B via the communication control device 30 to notify the table update requester 51 of the completion of the update based on the update completion signal from the table update reception host 10B to perform the inter-host exclusive control. The second access means includes the communication means 15A as the first communication means to be released, and the second access means receives the update data from the communication means 15A via the communication control device 30 and updates the update data 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 based on the update data from the communication means 15B and the update data are output, and an in-host exclusion release signal and the above-mentioned based on the input update end notification A table control unit 21 that outputs an update end signal, and an own host host based on an update request from the table control unit 21. An in-host exclusion control means 13B and an in-host exclusion control table 12B as second in-host exclusion control means for performing in-host exclusion control of the communication table 20B and releasing the in-host exclusion control based on the in-host exclusion release signal; The common table of the own host is updated based on the update data from the table control means 21, and the table update means 14B is included as the second table update means that outputs the update end notification at the end of the update. 13A and 13B include means for performing in-host exclusive control of the common tables 20A and 20B of the own host based on reference requests from the table reference requesters 52A and 52B, respectively, and the first access means and the second access means. Based on the reference requests from the table reference requesters 52A and 52B. Table 20A,
It includes table reference means 22A and 22B for referencing 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 longer, the time access means 17 is a retry means for making a retry request to the communication means 15A. A communication table 16 is provided, and the communication means 15A includes means for transmitting the update data from the table updating 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 the serial number control means 19 as a first serial number storage means for giving and storing serial number data of its own host.
Communication means 15A including A and serial number table 18A
Includes means for activating the serial number control means 19A when receiving the 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, and the communication means 15B is the communication means 1
5B, and means for giving the serial number data added to the update data to the serial 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. In addition, the communication unit 15A compares the serial number data added to the update end signal from the communication unit 15B with the serial number data from the serial number control unit 19A, and the table update requester 5
1 includes means for notifying communication completion.

【0020】このような構成のホスト間情報更新同期化
装置の動作について説明する。図4は本発明のホスト間
情報更新同期化装置のテーブル更新要求ホストの処理を
示すフローチャートである。図5は本発明のホスト間情
報更新同期化装置のテーブル更新要求ホストの通信手段
の送信処理を示すフローチャートである。図6は本発明
のホスト間情報更新同期化装置のテーブル更新要求ホス
トの通信手段の受信処理を示すフローチャートである。
図7は本発明のホスト間情報更新同期化装置のテーブル
更新受付ホストの処理を示すフローチャートである。図
8は本発明のホスト間情報更新同期化装置のテーブル更
新要求ホストの時間監視手段の処理を示すフローチャー
トである。
The operation of the inter-host information update synchronization device having such a configuration will be described. FIG. 4 is a flow chart showing the process of the table update request host of the inter-host information update synchronization device of the present invention. FIG. 5 is a flowchart showing the transmission processing of the communication means of the table update request host of the inter-host information update synchronization device of the present invention. FIG. 6 is a flow chart showing the receiving process of the communication means of the table update request host of the inter-host information update synchronization device of the present invention.
FIG. 7 is a flow chart 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 flow chart showing the processing of the time monitoring means of the table update request 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, the table update request host 1
In 0A, when it is necessary to update the common table 20A having information common to a plurality of hosts, the table update requester 51 does not simultaneously update the common tables 20A and 20B in the host and the other host by the table updating means 14A. To
The plural host control device 40 by the inter-host exclusive control means 11A
Is controlled so that the common tables 20A and 20B are mutually exclusive. If the exclusion is successful, the table update requester 51 activates the in-host exclusion control means 13A to perform in-host exclusion control, and activates the table update means 14A. The table updating means 14A updates the common table 20A, and activates the communication means 15A to notify other hosts of the updated data. If the exclusion of the table 20A fails, it waits until the request is accepted.

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

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

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

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

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

【0028】通知を受取ったテーブル更新要求者51は
複数ホスト間に共通の共通テーブル20Aに対して排他
を解いて終了する。
Upon receiving the notification, the table update requester 51 releases the exclusion from 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 by the table having information common to a plurality of hosts of a certain host, and is updated without any contradiction.

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

【0031】上述のように、本実施例は、共通テーブル
のホスト間排他制御を更新時のみに行い参照時にはホス
ト内に限って排他制御を行うことにより、参照が主な利
用者はアクセス効率を向上できる。また、通信制御装置
を介してテーブルの更新を行うために、通信制御装置の
間欠障害により通信が途絶えることがあるが、時間監視
を行うことにより通信を途絶えさせることがない。さら
に、通番を用いて管理することで通信制御装置からの通
知が重複することを防止できる。
As described above, in the present embodiment, the exclusive control between hosts of the common table is performed only at the time of updating, and the exclusive control is performed only within the host at the time of reference, so that the users who mainly refer can improve the access efficiency. Can be improved. Further, since the table is updated via the communication control device, communication may be interrupted due to an intermittent failure of the communication control device, but the time monitoring does not interrupt communication. Furthermore, by using the serial number for management, 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 the access efficiency at the time of referring to a common table having common information among a plurality of hosts.

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

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

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

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

【図6】本発明のホスト間情報更新同期化装置のテーブ
ル更新要求ホストの通信手段の受信処理を示すフローチ
ャート。
FIG. 6 is a flowchart showing a receiving process of the communication means of the table update request 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 request 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 (3)

【特許請求の範囲】[Claims] 【請求項1】 通信制御装置を介して接続され共通な情
報を格納する共通テーブルをそれぞれ含む複数のホスト
と、入力する排他要求信号に基づきこの共通テーブルの
ホスト間排他制御を行う複数ホスト制御装置とを備えた
ホスト間情報更新同期化装置において、 更新要求側のホストは、更新要求者からの排他要求に基
づき上記排他要求信号を出力し、この更新要求者からの
更新要求および更新データに基づき自ホストの共通テー
ブルのホスト内排他制御を行って更新し、更新終了時に
この更新データを上記通信制御装置を介して更新受付側
のホストへ送信し、更新終了をこの更新要求者に通知し
てこの更新要求者の解除通知によりホスト内排他制御を
解除し、この更新受付側のすべてのホストからの更新完
了信号に基づき上記更新要求者に更新完了を通知してそ
の排他要求を解除させる第一のアクセス手段とを含み、 上記更新受付側のホストは、上記通信制御装置を介して
送信された上記更新データを入力し自ホストの共通テー
ブルのホスト内排他制御を行って更新し、更新終了時に
ホスト内排他制御を解除し上記更新完了信号を返送する
第二のアクセス手段を含むことを特徴とするホスト間情
報更新同期化装置。
1. A plurality of hosts, each of which is connected through a communication control device and includes a common table for storing common information, and a multi-host control device for performing inter-host exclusive control of this common table based on an input exclusion request signal. In the inter-host information update synchronization device including the, the update request side host outputs the exclusion request signal based on the exclusion request from the update requester, and based on the update request and the update data from the update requester. Performs exclusive control within the host of the common table of the own host to update, and at the end of update, sends this update data to the host on the update receiving side via the communication control device, and notifies the update requester of the end of update The in-host exclusive control is released by this update requester's release notification, and the update requester is notified to the update requester based on the update completion signal from all hosts on the update receiving side. A first access means for notifying new completion and canceling the exclusive request, and the host on the update reception side inputs the update data transmitted via the communication control device, and a common table of its own host The inter-host information update synchronization device, further comprising: second access means for performing the in-host exclusive control for updating, releasing the in-host exclusive control for returning the update, and returning the update completion signal.
【請求項2】 上記第一のアクセス手段および上記第二
のアクセス手段は、参照要求者の参照要求に基づきホス
ト内排他制御を行って参照し、参照終了時に参照終了を
この参照要求者に通知し、この参照要求者の解除通知に
よりホスト内排他制御を解除する手段を含む請求項1記
載のホスト間情報更新同期化装置。
2. The first access means and the second access means perform intra-host exclusive control based on a reference request from a reference requester for reference, and notify the reference requester of reference end at the end of reference. The inter-host information update synchronization device according to claim 1, further comprising means for releasing the in-host exclusive control by this reference requester release notification.
【請求項3】 上記第一のアクセス手段は、上記更新要
求者からの排他要求に基づき上記排他要求信号を出力す
るホスト間排他制御手段と、この更新要求者からの更新
要求を入力し自ホストの共通テーブルのホスト内排他制
御を行いこの更新要求者からの解除通知によりホスト内
排他制御を解除する第一のホスト内排他制御手段と、こ
の更新要求者からの更新データに基づき自ホストの共通
テーブルの更新を行い、更新終了時にこの更新データを
出力し、上記更新要求者に更新終了を通知する第一のテ
ーブル更新手段と、この第一のテーブル更新手段からの
更新データを上記通信制御装置を介して上記更新受付側
のホストに送信し、この更新受付側のすべてのホストか
らの更新完了信号に基づき上記更新要求者に更新完了を
通知してホスト間排他制御を解除させる第一の通信手段
とを含み、 上記第二のアクセス手段は、上記第一の通信手段からの
更新データを上記通信制御装置を介して受信し、入力す
る更新終了信号に基づき上記更新完了信号を返信する第
二の通信手段と、この第二の通信手段からの更新データ
に基づき更新要求信号およびこの更新データを出力し、
入力する更新終了通知に基づきホスト内排他解除信号お
よび上記更新終了信号を出力するテーブル制御手段と、
上記テーブル制御手段からの更新要求に基づき自ホスト
の共通テーブルのホスト内排他制御を行い、上記ホスト
内排他解除信号に基づきホスト内排他制御を解除する第
二のホスト内排他制御手段と、上記テーブル制御手段か
らの更新データに基づき自ホストの共通テーブルの更新
を行い、更新終了時に上記更新終了通知を出力する第二
のテーブル更新手段とを含み、 上記第一のホスト内排他制御手段および上記第二のホス
ト排他制御手段は、それぞれ更新参照者からの参照要求
に基づき自ホストの共通テーブルのホスト内排他制御を
行う手段を含み、 上記第一のアクセス手段および第二のアクセス手段は、
上記更新参照者からの参照要求に基づき自ホストの共通
テーブルを参照するテーブル参照手段を含む請求項1ま
たは請求項2に記載のホスト間情報更新同期化装置。
3. The first access means is an inter-host exclusive control means for outputting the exclusion request signal based on an exclusion request from the update requester, and an update request from the update requester as an input to the own host. Of the common table of the host, and the first in-host exclusive control means for releasing the in-host exclusive control by the release notification from this update requester and the own host common based on the update data from this update requester The table is updated, the update data is output at the end of the update, and first update means for notifying the update requester of the end of update and the update data from the first table update means for the communication control device. To the host on the update receiving side through the above, and based on the update completion signal from all the hosts on the update receiving side, the update requester is notified of the update completion Including a first communication means for releasing other control, the second access means receives the update data from the first communication means via the communication control device, based on the input update end signal Second communication means for returning the update completion signal, and output an update request signal and this update data based on the update data from the second communication means,
Table control means for outputting the in-host exclusion release signal and the update end signal based on the input update end notification,
Second in-host exclusive control means for performing in-host exclusive control of the common table of the own host based on the update request from the table control means, and for canceling in-host exclusive control based on the in-host exclusive release signal; A first table exclusive control means and a second table updating means for updating the common table of the own host based on the update data from the control means and outputting the update end notification at the end of the update. The second host exclusive control means includes means for performing in-host exclusive control of the common table of the own host based on the reference request from the update reference person, respectively, and the first access means and the second access means are:
3. The inter-host information update synchronization device according to claim 1, further comprising a table reference unit that refers to a common table of the own 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 true JPH05241999A (en) 1993-09-21
JP3006265B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11265309A (en) * 1998-03-13 1999-09-28 Nec Corp Partial extraction type remote maintenance system

Citations (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

Patent Citations (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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11265309A (en) * 1998-03-13 1999-09-28 Nec Corp Partial extraction type remote maintenance system

Also Published As

Publication number Publication date
JP3006265B2 (en) 2000-02-07

Similar Documents

Publication Publication Date Title
JPH04236647A (en) Computer system-complex and operating method thereof
JP3006265B2 (en) Information update synchronization device between hosts
JP2896394B2 (en) File server device
KR0161569B1 (en) Method and apparatus for automatic frame transmission on a channel to controller interface in a data processing system
EP0286807A2 (en) Method for regulating access by concurrent transactions to resources
JP3176199B2 (en) Server client system
JPS63211837A (en) Data transmission control system
JP3014112B2 (en) Message communication method in multiprocessor system
JPH03235152A (en) Bus control system
JPH03204065A (en) Data transfer contention evading system in inter-processor communication
JPH11298475A (en) System data maintenance processing method in network management system and storage medium recording its program
JPH0351919A (en) Processing system for inter-program communication control
JPH04278732A (en) Device switching system
JPH08149148A (en) Loop shaped serial communication procedure and loop shaped serial communication network
JPH0834616B2 (en) Synchronization method of common data in multi-processor system
JPH07141309A (en) Information processor
JPH0883259A (en) Decentralized information processor
JPH01229541A (en) Access system from terminal in same communication pass
JPH06231067A (en) Exclusion control system for shared device using system
JPS6086643A (en) Local area network system
JPH05158832A (en) Terminal software transfer system
JP2002182965A (en) Drawing data management system and database management device therefor
JPH11306106A (en) Terminal software and job result transfer system
JPH05181810A (en) Common data managing system between cpus
JPH0567057A (en) Exclusive file control system

Legal Events

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