JP3720982B2 - Communication apparatus and communication method between host computers - Google Patents

Communication apparatus and communication method between host computers Download PDF

Info

Publication number
JP3720982B2
JP3720982B2 JP16978098A JP16978098A JP3720982B2 JP 3720982 B2 JP3720982 B2 JP 3720982B2 JP 16978098 A JP16978098 A JP 16978098A JP 16978098 A JP16978098 A JP 16978098A JP 3720982 B2 JP3720982 B2 JP 3720982B2
Authority
JP
Japan
Prior art keywords
information
processing
request signal
notification information
unprocessed
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
JP16978098A
Other languages
Japanese (ja)
Other versions
JP2000010945A (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 Software Kyushu Ltd
Original Assignee
NEC Software Kyushu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Kyushu Ltd filed Critical NEC Software Kyushu Ltd
Priority to JP16978098A priority Critical patent/JP3720982B2/en
Publication of JP2000010945A publication Critical patent/JP2000010945A/en
Application granted granted Critical
Publication of JP3720982B2 publication Critical patent/JP3720982B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、複数のホストコンピュータにおけるホストコンピュータ間通信方式に関し、特に、通信情報を送出すべき通信要求が発生するホストコンピュータ側で、受信側ホストコンピュータの処理能力や処理状態に影響されることなく、処理全般を進めていくことができるホストコンピュータ間通信装置および通信方法に関する。
【0002】
【従来の技術】
従来、この種のホストコンピュータ間通信方式は、送信側ホストコンピュータが、受信側ホストコンピュータによる通信情報の引取りを待つために、発生する通信要求の個数に等しい通信情報と、該通信情報にリンクを持つ同期処理信号とを、それぞれ待行列に待機させる手段を採用している。
【0003】
ホストコンピュータ間通信方式に関する従来技術を過去の特許出願において遡及調査すると、
まず、特開昭63−61360号公報には、第1のホストコンピュータから第2のホストコンピュータにジョブ制御言語を引き渡して第2のホストコンピュータに該ジョブ制御言語起動のジョブを実行させ、その結果をファイル装置を介して受け取り、該結果に対応する第1のホストコンピュータ内のジョブ制御言語起動のジョブを第1のホストコンピュータ内で実行するに際し、上記引き渡されるジョブ制御言語と、その実行結果と、該実行結果に対応する上記第1のホストコンピュータ内のジョブ制御言語との三者間の対応を、上記ジョブ手続きと共にファイル装置を介して受渡しされるジョブ連携制御メッセージにより付ける技術が開示されている。
【0004】
次に、特開平4−297941号公報には、メインフレーム中にあるファイルをマイクロコンピュータからアクセスする方法として、マイクロコンピュータ側からメインフレームのホストコンピュータに対して、該ホストコンピュータとの送受信に使用するパケットの構造と、送受信のタイミング管理情報を記述したパケット制御テーブルの送付要求を出して、これらをダウンロードし、上記ダウンロードされた情報を上記アクセスに使用する技術が開示されている。
次に、特開平5−28079号公報には、複数のコンピュータがメモリ手段を有する一つのホストコンピュータとメモリ手段を介して情報受渡しするに際し、或る一つのコンピュータと上記ホストコンピュータとの間に生じた障害により、上記メモリ手段が専有されてしまう事態を避けるために、初期化タスク手段により、上記メモリ手段のメモリ領域を複数の領域に分割して、上記コンピュータ専有の管理領域を作り、これをそれぞれ管理する技術が開示されている。
【0005】
次に、特開平5−173919号公報には、複数のホストコンピュータが複数の通信処理装置を介して互いにデータの送受信を行う方式として、上記すべてのホストコンピュータに、上記通信処理装置に対してダウンロードする通信処理装置制御手段と、ネットワーク構成テーブルとを設置し、上記ホストコンピュータの特定の一つに、上記ホストコンピュータが上記どの通信処理装置に対して、どの通信制御プログラムとネットワーク構成テーブルの下に上記ダウンロードを実施すべきかの情報とローディングの状況とを記録するローディング管理テーブル及びローディング管理手段とを設置し、ダウンロードの負荷を分散する技術が開示されている。
次に、特開平9−259089号公報には、専用の二次記憶装置を持つ複数のホストコンピュータがネットワークに接続されてなる分散ネットワーク環境において、二次記憶装置付きの広域ファイルシステム管理用ホストコンピュータを上記ネットワークに付加することにより、上記ホストコンピュータそれぞれが、上記各専用の二次記憶装置の集まりを一つの仮想的なストライプド・ファイルシステムと見なして使用することができる技術が開示されている。
【0006】
【発明が解決しようとする課題】
ところで、従来のホストコンピュータ間通信方式は、設置される管理領域の大きさが通信相手ホストコンピュータの処理の都合によって決定されているため、通信文の受け皿となる上記管理領域において発生可能な待行列の規模には限界があり、送信側ホストコンピュータにおいて短い時限内で通信要求が多発した場合や、受信側ホストコンピュータで何らかの理由により処理に遅延が生じた場合には、通信要求を持つ送信側ホストコンピュータの処理にも待合わせが生じ、性能劣化を招くという問題を有している。
上記の特開平4−297941号公報,特開平5−173919号公報に開示されている技術も、上記の通り管理領域の領域限界の発生に対処する方法までは開示していない。
【0007】
また、特開平5−28079号公報に開示されている技術は、初期化タスク手段により、一つの管理領域を複数の領域に分割して、複数のホストコンピュータそれぞれに専有の管理領域を作る技術ではあるが、上記分割で形成された上記一つの専有管理領域について吟味してみると、やはり上記の通り管理領域の領域限界の発生に対処する方法までは開示していない。
さらに、特開昭63−61360号公報に示されている技術は、大容量ファイル装置を複数のホストコンピュータ間で共有する方式として捉えるべきであり、 最後に示した特開平9−259089号公報に示されている技術は、複数のホストコンピュータそれぞれに所属している金物としてのファイル装置に仮想的な大容量ファイル装置の機能を割り当てる方法と、該大容量ファイル装置を上記複数のホストコンピュータ間で共有する方式と捉えるべきである。
本発明は、以上のような従来のホストコンピュータ間通信方式における問題点に鑑みてなされたものであり、短時間内に多発する場面の通信要求を、待ち時間を生じさせることなく送信することが可能なホストコンピュータ間通信方式を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記課題を解決するために、本発明の実施態様によれば、
複数のホストコンピュータとホストコンピュータに共有される管理装置からなり、管理装置は、未処理通知情報テーブルと、処理状態テーブルを有し、複数のホストコンピュータのうち第1のホストコンピュータは、通知情報を未処理通知情報テーブルに格納する格納手段と、格納された通知情報に対応する処理状態テーブルの処理情報を未処理状態に更新する第1の更新手段と、同期処理要求信号を複数のホストコンピュータのうち第2のホストコンピュータに送信する送信手段を具備し、第2のホストコンピュータは、同期処理要求信号を受けて、未処理通知情報テーブル内に格納されている通知情報を処理する処理手段と、確保された通知情報に対応する処理状態テーブルの処理情報を処理状態に更新する第2の更新手段と、処理状態テーブルを参照して、処理状態テーブルの処理情報に未処理状態が含まれないと判断される時に、処理要求信号を停止する停止手段を具備することを特徴とするホストコンピュータ間通信管理装置を提供する。
【0009】
また、そのホストコンピュータ間通信管理装置において、未処理通知情報テーブルが、複数のホストコンピュータの各々から発行される通知情報を個別に格納する定められた通知情報格納域と、次に発行される通知情報を格納する通知情報格納域の格納位置を示すデータが格納される未通知情報格納位置格納域と次に読み出される通知情報の通知情報格納域の格納位置を示すデータが格納される未通知情報参照位置格納域を有し、格納手段は、未通知情報格納位置格納域を参照して得られた通知情報格納域の格納位置に通知情報を格納する手段を具備し、第1の更新手段は、格納手段により通知情報格納域の格納位置に格納した通知情報に対応する処理状態テーブルの処理情報を未処理状態に更新する手段と、処理手段は未通知情報格納位置格納域を参照して得られた位置データに基づいて通知情報格納域内の通知情報を獲得する手段を具備し、第2の更新手段は処理手段により獲得された通知情報格納域内の通知情報に対応する処理状態テーブルの処理情報を処理状態に更新する手段を有することが可能である。
【0010】
また、そのホストコンピュータ間通信管理装置において、処理状態テーブルが、未処理通知情報テーブルに含まれる通知情報の各々が未処理状態または処理済かを識別する情報を有する処理種別情報格納域を有し、第1の更新手段は、通知情報を処理種別情報格納域に格納し、第1のホストコンピュータが格納された通知情報に対して未処理状態であることを示す情報を設定する手段と、第2の更新手段は、通知情報格納域内の通知情報が獲得される度に、第2のホストコンピュータが処理種別情報格納域に獲得された通知情報に対して処理済であるとの情報を設定する手段を有することが可能である。
【0011】
複数のホストコンピュータとホストコンピュータに共有される管理装置からなり、管理装置内に、未処理通知情報テーブルと、処理状態テーブルを確保するステップと、複数のホストコンピュータのうち第1のホストコンピュータが、通知情報を未処理通知情報テーブルに格納するステップと、第1のホストコンピュータが、格納された通知情報に対応する処理状態テーブルの処理情報を未処理状態に更新する第1の更新するステップと、第1のホストコンピュータが、同期処理要求信号を複数のホストコンピュータのうち第2のホストコンピュータに送信するステップと、第2のホストコンピュータが、同期処理要求信号を受けて、未処理通知情報テーブル内に格納されている通知情報を処理するステップと、確保された通知情報に対応する処理状態テーブルの処理情報を処理状態に更新する第2の更新するステップと、第1のホストコンピュータが、処理状態テーブルを参照して、処理状態テーブルの処理情報に未処理状態が含まれないと判断される時に、処理要求信号を停止するステップからなるホストコンピュータ間通信管理方法を提供する。
【0012】
また、そのホストコンピュータ間通信管理方法において、未処理通知情報テーブル内に、複数のホストコンピュータの各々から発行される通知情報を個別に格納する定められた通知情報格納域を確保するステップと、未処理通知情報テーブル内に、次に発行される通知情報を格納する通知情報格納域の格納位置を示すデータが格納される未通知情報格納位置格納域を確保するステップと未処理通知情報テーブル内に、次に読み出される通知情報の通知情報格納域の格納位置を示すデータが格納される未通知情報参照位置格納域を確保するステップと、格納するステップは、未通知情報格納位置格納域を参照して得られた通知情報格納域の格納位置に通知情報を格納するステップを有し、第1の更新するステップは、格納手段により通知情報格納域の格納位置に格納した通知情報に対応する処理状態テーブルの処理情報を未処理状態に更新するステップを有し、処理するステップは、未通知情報格納位置格納域を参照して得られた位置データに基づいて通知情報格納域内の通知情報を獲得するステップを有し、第2の更新するステップは、処理手段により獲得された通知情報格納域内の通知情報に対応する処理状態テーブルの処理情報を処理状態に更新するステップを有することが可能である。
【0013】
また、そのホストコンピュータ間通信管理方法において、処理状態テーブルに、未処理通知情報テーブルに含まれる通知情報の各々が未処理状態または処理済かを識別する情報を有する処理種別情報格納域を確保するステップと、第1の更新するステップは、通知情報を処理種別情報格納域に格納し、第1のホストコンピュータが格納された通知情報に対して未処理状態であることを示す情報を設定するステップを有し、第2の更新するステップは、通知情報格納域内の通知情報が獲得される度に、第2のホストコンピュータが処理種別情報格納域に獲得された通知情報に対して処理済であるとの情報を設定するステップを有することも可能である。
【0014】
さらに、複数のホストコンピュータとホストコンピュータに共有される管理装置からなり、管理装置内に、未処理通知情報テーブルと、処理状態テーブルを確保するステップと、複数のホストコンピュータのうち第1のホストコンピュータが、通知情報を未処理通知情報テーブルに格納するステップと、
第1のホストコンピュータが、格納された通知情報に対応する処理状態テーブルの処理情報を未処理状態に更新する第1の更新するステップと、
第1のホストコンピュータが、同期処理要求信号を複数のホストコンピュータのうち第2のホストコンピュータに送信するステップと、第2のホストコンピュータが、同期処理要求信号を受けて、未処理通知情報テーブル内に格納されている通知情報を処理するステップと、確保された通知情報に対応する処理状態テーブルの処理情報を処理状態に更新する第2の更新するステップと、第1のホストコンピュータが、処理状態テーブルを参照して、処理状態テーブルの処理情報に未処理状態が含まれないと判断される時に、処理要求信号を停止するステップを実行するプログラムを記録した記憶媒体を提供する。
【0015】
また、その記憶媒体において、未処理通知情報テーブル内に、複数のホストコンピュータの各々から発行される通知情報を個別に格納する定められた通知情報格納域を確保するステップと、未処理通知情報テーブル内に、次に発行される通知情報を格納する通知情報格納域の格納位置を示すデータが格納される未通知情報格納位置格納域を確保するステップと未処理通知情報テーブル内に、次に読み出される通知情報の通知情報格納域の格納位置を示すデータが格納される未通知情報参照位置格納域を確保するステップと、格納するステップは、未通知情報格納位置格納域を参照して得られた通知情報格納域の格納位置に通知情報を格納するステップを有し、第1の更新するステップは、格納手段により通知情報格納域の格納位置に格納した通知情報に対応する処理状態テーブルの処理情報を未処理状態に更新するステップを有し、処理するステップは、未通知情報格納位置格納域を参照して得られた位置データに基づいて通知情報格納域内の通知情報を獲得するステップを有し、第2の更新するステップは、処理手段により獲得された通知情報格納域内の通知情報に対応する処理状態テーブルの処理情報を処理状態に更新するステップを有するプログラムを記録することが可能である。
【0016】
また、その記憶媒体において、処理状態テーブルに、未処理通知情報テーブルに含まれる通知情報の各々が未処理状態または処理済かを識別する情報を有する処理種別情報格納域を確保するステップと、第1の更新するステップは、通知情報を処理種別情報格納域に格納し、第1のホストコンピュータが格納された通知情報に対して未処理状態であることを示す情報を設定するステップを具備し、第2の更新するステップは、通知情報格納域内の通知情報が獲得される度に、第2のホストコンピュータが処理種別情報格納域に獲得された通知情報に対して処理済であるとの情報を設定するステップを具備するプログラムを記録することが可能である。
【0017】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
(第1の実施の形態)
図1は、本発明の第1の実施の形態に係るホストコンピュータ間通信方式の機能構成を示す図である。
図1に示す本実施の形態では、発信側と受信側のホストコンピュータが1対1で対置する構成となっている。すなわち、ホストコンピュータ1が発信側で、ホストコンピュータ2が受信側である。
図1において、本実施の形態に係るホストコンピュータ間通信方式は、送信側のホストコンピュータ1と、受信側のホストコンピュータ2と、ホストコンピュータ1と2の間に介在する管理装置3と、デバイス15を介してアクセス可能な記憶媒体16とから構成される。
【0018】
送信側のホストコンピュータ1は、通信情報を含む通信要求を作成する要求作成部11と、要求作成部11から起動されて、該通信情報を管理装置3内の未処理通知情報テーブル31に順次指定されているエントリーへ格納する未処理通知情報作成部12と、未処理通知情報作成部12から前記通信情報の格納の都度起動されて管理装置3内の処理状態テーブル32に前記通信情報の状態を未処理状態として設定する処理状態テーブル更新部13と、処理状態テーブル更新部13が状態を設定する都度起動されて管理装置3内の同期処理要求信号33を発信状態に設定する同期処理要求信号発信部14とを有する。
【0019】
受信側ホストコンピュータ2では、前記処理状態テーブル32の指定された位置の処理状態を調べる処理状態テーブル判定部21と、処理状態テーブル判定部21が処理済を入手した時に起動されて同期処理要求信号33が発信状態になってから前記処理状態テーブル判定部21を起動する同期処理要求信号受信部22と、前記処理状態テーブル判定部21が未処理を入手したとき起動されて前記未処理通知情報テーブル31の指定された位置から通知情報を取得してこの指定された位置を次番に設定する未処理通知情報取得部23と、未処理通知情報取得部23が通知情報を取得したとき起動されて処理状態テーブル32の指定された位置を処理済としてこの指定された位置を次のエントリー位置に更新する処理状態テーブル更新部24と、処理状態テーブル更新部24により起動されて前記取得した通知情報の処理を行い終了後、処理状態テーブル判定部21を起動する要求処理部25とを有する。
【0020】
管理装置3は、管理領域、すなわち上記の未処理通知情報テーブル31と、処理状態テーブル32と、同期処理要求信号33を有する。
図2は、未処理通知情報テーブル31の構成と内容を示す図であり、図3は、処理状態テーブル32の構成と内容を示す図であり、図4は、同期処理要求信号33の構成と内容を示す図である。
【0021】
未処理通知情報テーブル31は、通知情報格納部313内に予め個数が決められた複数の通知情報格納域と、ホストコンピュータA1が要求した通知情報を格納すべき通知情報格納域の位置を示す未通知情報格納位置格納域311と、ホストコンピュータB2が調べるべき通知情報を格納している通知情報格納域の位置を示す未通知情報参照位置格納域312とを有する構成となっている。処理状態テーブル32は未処理通知情報テーブル31の通知情報格納域に格納された通知情報のそれぞれに対応して、未処理か処理済かの処理種別情報を格納する複数の処理種別情報格納域からなる処理種別情報格納部323と、ホストコンピュータ1が処理種別情報を格納すべき処理種別情報格納域の位置を示す処理種別フラグ格納位置格納域321と、ホストコンピュータ2が調べ、必要に応じて更新すべき処理種別情報を格納している処理種別情報格納域の位置を示す処理種別フラグ参照位置格納域322とを有する構成となっている。同期処理要求信号33は処理過程のタイミングを示す同期信号の有り・なしを表示する同期処理要求信号内容332と、その位置を示す同期処理要求信号アドレス331とを有する構成となっている。
【0022】
なお、未処理通知情報テーブル31,処理状態テーブル32,同期処理要求信号33はホストコンピュータA1の起動時に初期設定が行われて、未通知情報格納位置格納域311,未通知情報参照位置格納域312,処理種別フラグ格納位置格納域321,および処理種別フラグ参照位置格納域322には共に最初の位置を示す1が設定され、処理種別情報を格納する処理種別情報格納部323内の処理種別情報格納域にはすべて処理済が設定され、同期処理要求信号アドレス331には同期処理要求信号内容のアドレスが、同期処理要求信号内容332には“なし”が設定される。
【0023】
図5,図6,図7は、本発明の第1の実施の形態に係るホストコンピュータ間通信方式の動作を示すフローチャートである。
以下、図1を参照しつつ、図5,図6に示すフローチャートを用いて本実施例に係るホストコンピュータ間通信方式の動作を説明する。
なお、本実施の形態では、説明の都合上、未処理通知情報テーブル31の通知情報格納部313内の通知情報格納域の限界値を5とし、ホストコンピュータA1で発生する通知情報の第1情報,第2情報,…のそれぞれの内容を“aa”,“bb”,…とする。
【0024】
まず、図5,図6のフローチャートに示すホストコンピュータA1における動作から説明する。
まず、ホストコンピュータA1で通知要求が発生すると、ステップ101で、要求作成部11は従来処理していると同様に通知情報を作成して、未処理通知情報作成部12を起動する。未処理通知情報作成部12は、未処理通知情報テーブル31の未通知情報格納位置格納域311の値から、通知情報の格納すべき格納域を知って通知情報を格納する。例えば要求作成部11の作成した通知情報が第1情報の“aa”であると、初回であるので未通知情報格納位置格納域311の値が1であるので、この“aa”は通知情報格納部313内の第1番目の通知情報格納域に格納する。
【0025】
次に、未処理通知情報作成部12は、ステップ102で、未通知情報格納位置格納域311の値を+1にして、次の格納位置を指定する。
次に、ステップ103で、指定した格納位置が限界値を越えていないかを調べ、越えていれば、ステップ104で、格納位置の値の先頭の位置である1に設定する。また、越えていなければそのままとする。例えば通知情報が第1情報の“aa”であれば未通知情報格納位置格納域311の値は1から2に更新される。
その後、未処理通知情報作成部12は、通知情報の格納位置の設定を終えると、処理状態テーブル更新部13を起動する。
【0026】
次に、ステップ105で、起動された処理状態テーブル更新部13は処理状態テーブル32の処理種別フラグ格納位置格納域321を調べて、処理種別情報格納部323内の指定する処理種別情報格納域に未処理フラグ1を設定する。
次に、ステップ106で、処理状態テーブル更新部13は処理種別フラグ格納位置格納域321の値を+1して、次の格納位置に更新する。
次に、ステップ107で、更新した格納位置が限界値を越えていないかを調べ、越えていれば、ステップ108で、格納位置の値を先頭の位置である1に設定する。また越えていなければそのままとする。
なお、ステップ105からステップ108までの処理は、例えば初回であれば、処理種別フラグ格納位置格納域321の値が1であるので、処理種別情報格納部323内の第1番目の処理種別情報格納域に未処理を示すフラグ1が設定される。そして処理種別フラグ格納位置格納域321の値は1から2に更新される。またこのときステップ108の処理は行われない。
【0027】
処理状態テーブル更新部13は、フラグの格納位置の設定を終えると、引き続き、ステップ109で、同期処理要求信号発信部14を起動する。起動された同期処理要求信号発信部14は、同期処理要求信号33の同期処理要求信号アドレス331が示す同期処理要求信号内容332を“有り”にする。
同期処理要求信号内容332は“無し”から“有り”に設定できたことでもって同期信号要求処理が成功したものとし、既に“有り”の状態を“有り”とする場合には同期信号要求処理に失敗したものとして、ステップ110にて発信成功かを調べるが、上記の意味において、同期信号の発信に成功したら、処理を終了し、上記ステップ101からの処理を繰返す。既に“有り”の状態であって、同期信号の発信に失敗したら、一つの手段としては、上記と同様に処理を終了し、ステップ101からの処理を繰返すが、他の手段としては、上記タイミングは、ホストコンピュータB2が未処理の通信情報を処理中であることを示しているので、図示は省略するが、上記終了に際して、その意味のメッセージを表示してから終了することができる。
【0028】
なお、上記の管理領域のうち、未処理通知情報テーブル31,処理状態テーブル32の大きさは、ホストコンピュータA1における通信要求頻度の最悪パターンと、ホストコンピュータB2の通信情報処理能力を勘案して、ホストコンピュータA1側で決定され、ホストコンピュータA1側で確保される。このため、管理領域の形式的な反復使用が支障無く実施できる。このことは、本発明の特徴をなしている。
しかしながら、上記ステップ102,ステップ104,ステップ107では、次の通信情報のためのエントリーを無条件で確保する手段を行使したが、該確保に先立って、確保される予定のエントリーが空き状態か否か、すなわち処理済が示されているか否かを確認し、空き状態でなければ、空き状態となるまで(すなわち処理済が示されるまで)、前記処理ステップ又は前記処理ステップを含むタスクを待機状態とする従来技術の処理方式も、上記の方式に併用して採用可能である。
さらに、上記で、空き状態でない時に、上記の管理領域、すなわち、未処理通知情報テーブル,処理状態テーブルをそれぞれ拡張する方式も、上記の方式に併用して採用可能である。
【0029】
次に、図7のフローチャートに示すホストコンピュータB2における動作を説明する。
ホストコンピュータB2では、まず、ステップ201で、処理状態テーブル判定部21が処理状態21が処理状態テーブル32の処理種別フラグ参照位置格納域322を参照して、処理種別情報格納部323内の指定されている処理種別情報格納域のフラグを取得する。
次に、ステップ202で、上記取得したフラグが未処理か処理済であるかを調べ、処理済であれば同期処理要求信号受信部22を起動する。
【0030】
同期処理要求信号受信部22は起動されると、ステップ203で、同期処理要求信号33の同期処理要求信号アドレス331が示すアドレスから同期処理要求信号内容332を取得する。そしてステップ204で取得した内容が“有り”かを調べ、“有り”でなければステップ204を繰返し、“有り”であればステップ205にて同期処理要求信号内容をクリアしてステップ201に戻る。ステップ205の処理を実施している間に、ホストコンピュータA1の同期処理要求信号発信部14から生じた同期処理要求信号33を“有り”にする要求が、ステップ205の処理によって無効にされてしまう事態の発生を防止するために、図示は省略するが、同期処理要求信号33を排他制御にし、ステップ205の処理に際して同期処理要求信号33を占有する方式も可能である。この場合、上記のホストコンピュータ1の同期処理要求信号発信部14から生じた同期処理要求信号33を“有り”にする要求は、ステップ205の処理終了を待って、改めて実施されることになる。
【0031】
ステップ201からステップ204の処理は、例えばホストコンピュータB2が起動直後であれば、処理状態テーブル32の処理種別情報格納部323内の処理種別情報格納域は初期設定されて処理済になっており、かつ同期処理要求信号内容332も“なし”になっているのでステップ205において一種の待機状態となっているが、ホストコンピュータA1により未処理通知情報テーブル31に通知情報“aa”が格納され、処理状態テーブル32の処理種別情報を示すフラグが未処理になり、更に同期処理要求信号内容332が“有り”に変わるのを待っていて、同期処理要求信号内容332が“有り”になれば、その時点以降、改めて処理状態テーブル32の内容を調べることを示している。そこで、処理状態テーブル判断部21は、ステップ202で処理種別情報を示すフラグの未処理を見つけると、未処理通知情報取得部23を起動する。
【0032】
未処理通知情報取得部23は起動されると、ステップ206で、未処理情報テーブル31の未通知情報参照位置格納域312の値を取得し、ステップ207で、取得した値の通知情報格納部313内の通知情報格納域の通知情報を取得し、未通知情報参照格納位置格納域312の値を+1しておく。その後、未処理通知情報取得部23は、処理状態テーブル更新部24を起動する。
処理状態テーブル更新部24は起動されると、ステップ208で、処理状態テーブル32の処理種別フラグ参照位置格納域322の値が示す処理種別情報格納部323内の処理種別情報格納域の内容を処理済を示すフラグ0に変更し、更に処理種別フラグ参照位置格納域322の値に+1を加えておく。その後、処理状態テーブル更新部24は、要求処理部25を起動する。
ステップ209で、要求処理部25は、未処理通知情報取得部23が取得した通知情報を受けて処理を行い、処理終了で再び処理状態テーブル判断部21を起動してステップ201に戻って上記一連の処理を反復する。
【0033】
図8は、以上のホストコンピュータB2での一連の処理が終わった時点での未処理通知情報テーブル31,処理状態テーブル32,および同期処理要求信号33の内容を上記の具体例に従って示した図である。
図8(a)に示す未処理通知情報テーブル31では、ホストコンピュータB2により、第1情報“aa”が取得され、未通知情報参照位置格納域312は、次の第2情報を示す2に変更され、第1情報の取得後にホストコンピュータA1により、第3情報まで格納されて、未通知情報格納位置格納域311は、次の第4情報を格納する4に変更されていることを示している。
【0034】
図8(b)に示す処理状態テーブル32では、ホストコンピュータB2により第1情報“aa”が取得された後に、処理状態テーブル更新部24により第1の処理種別情報格納域が処理済を示すフラグ0に更新され、処理種別フラグ参照位置格納域322も、この時、2に更新されていることを示している。
また、図8(c)に示す同期処理要求信号33では、同期処理要求信号内容332が、同期処理要求信号受信部22により第1情報“aa”が取得されたときにクリアされたが、ホストコンピュータA1により第2情報“bb”の格納時に“有り”に変更されたままになっていることを示している。
【0035】
(第2の実施の形態)
図9,図10は、本発明の第2の実施の形態に係るホストコンピュータ間通信方式の機能構成を示す図である。
本実施の形態は、ホストコンピュータC4を有する点で第1の実施の形態と異なる。
本実施の形態では、ホストコンピュータA1の通知情報が格納される管理装置3を、ホストコンピュータB2とホストコンピュータC4とから共通に参照することにより、1対多のホストコンピュータ間での通信が可能となる。
【0036】
本実施の形態では、説明の都合上、第1の実施の形態に対してホストコンピュータC4を1セット追加した構成となっているが、上記追加されるホストコンピュータは、一般には3〜m(m≧3)とすることができる。ホストコンピュータ3〜mの動作フローはホストコンピュータB2と同様である。
本実施の形態における管理装置3、すなわち、未処理通知情報テーブル31,処理状態テーブル32,同期処理要求信号33については、第1の実施の形態と同様にすることも可能であるし、若しくは、ホストコンピュータ2〜n(n≧3)のそれぞれに専用の管理領域を割り当てることも可能である。
また、上記各実施の形態におけるホストコンピュータを、タスク等のプロセスに置き換えるならば、一つのコンピュータ内でのマルチプロセスにおける、プロセス間通信方式としても同様の方式を考えることができる。
【0037】
【発明の効果】
以上説明したように、本発明に係るホストコンピュータ間通信方式は、単一の同期処理要求信号を設けて送信側ホストコンピュータ起動時からの最初のホストコンピュータ間通信要求の発生を受信側ホストコンピュータに知らせ、以降は管理装置上に設けた通知情報の格納テーブル、および通知情報の処理状態を記録する処理状態テーブルを利用して、通知情報を引渡すので、これらのテーブルを送信側ホストコンピュータ側において、任意の大きさに設定しておくことにより、送信側ホストコンピュータは、受信側ホストコンピュータの処理能力や処理状態に影響されることなく、処理を進めることができるという効果があり、具体的には、短時間内に多発する場面の通信要求を、待ち時間を生じさせることなく送信することが可能となる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係るホストコンピュータ間通信方式の機能構成を示す図である。
【図2】未処理通知情報テーブル31の構成と内容を示す図である。
【図3】処理状態テーブル32の構成と内容を示す図である。
【図4】同期処理要求信号33の構成と内容を示す図である。
【図5】ホストコンピュータ間通信方式のホストコンピュータA1の動作を示すフローチャートである。
【図6】ホストコンピュータ間通信方式のホストコンピュータA1の動作を示すフローチャートである。
【図7】ホストコンピュータ間通信方式のホストコンピュータB2の動作を示すフローチャートである。
【図8】ホストコンピュータB2での一連の処理が終わった時点での未処理通知情報テーブル31,処理状態テーブル32,および同期処理要求信号33の内容を具体例に従って示した図である。
【図9】本発明の第2の実施の形態に係るホストコンピュータ間通信方式の機能構成を示す図である。
【図10】本発明の第2の実施の形態に係るホストコンピュータ間通信方式の機能構成を示す図である。
【符号の説明】
1 送信側ホストコンピュータA
2 受信側ホストコンピュータB
3 管理装置
4 受信側ホストコンピュータC
11 要求作成部
12 未処理通知情報作成部
13,24,44 処理状態テーブル更新部
14 同期処理要求信号発信部
21,41 処理状態テーブル判定部
22,42 同期処理要求信号受信部
23,43 未処理通知情報取得部
25,45 要求処理部
31 未処理通知情報テーブル
32 処理状態テーブル
33 同期処理要求信号
311 未通知情報格納位置格納域
312 未通知情報参照位置格納域
313 通知情報格納部
321 処理種別フラグ格納位置格納域
322 処理種別フラグ参照位置格納域
323 処理種別情報格納部
331 同期処理要求信号アドレス
332 同期処理要求信号内容
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication method between host computers in a plurality of host computers, and in particular, on the host computer side where a communication request for transmitting communication information is generated, without being affected by the processing capability and processing state of the receiving host computer. The present invention relates to a communication apparatus between host computers and a communication method capable of proceeding with overall processing.
[0002]
[Prior art]
Conventionally, this type of inter-host computer communication method is such that the transmission side host computer waits for the reception side host computer to collect the communication information, and the communication information equal to the number of communication requests generated is linked to the communication information. A means for waiting each of the synchronization processing signals having a queue in a queue is employed.
[0003]
A retrospective search of the prior art related to the communication method between host computers in past patent applications,
First, JP-A-63-61360 discloses that a job control language is handed over from a first host computer to a second host computer, and a job for starting the job control language is executed by the second host computer. When the job control language activation job in the first host computer corresponding to the result is executed in the first host computer, the job control language delivered and the execution result A technique is disclosed in which a three-way correspondence with the job control language in the first host computer corresponding to the execution result is attached by a job cooperation control message delivered via a file device together with the job procedure. Yes.
[0004]
Next, Japanese Patent Laid-Open No. 4-297941 discloses a method for accessing a file in a mainframe from a microcomputer to a host computer on the mainframe from the microcomputer side for transmission / reception with the host computer. A technique is disclosed in which a packet control table sending request describing the packet structure and transmission / reception timing management information is issued, these are downloaded, and the downloaded information is used for the access.
Next, in Japanese Patent Laid-Open No. 5-28079, when a plurality of computers exchange information with one host computer having memory means and the memory means, it occurs between one computer and the host computer. In order to avoid the situation where the memory means is occupied due to a failure, the initialization task means divides the memory area of the memory means into a plurality of areas to create a management area dedicated to the computer. Each managing technique is disclosed.
[0005]
Next, Japanese Patent Laid-Open No. 5-173919 discloses a method in which a plurality of host computers exchange data with each other via a plurality of communication processing devices, and are downloaded to all the host computers with respect to the communication processing devices. A communication processing device control means and a network configuration table, and a specific one of the host computers, under which communication control program and network configuration table the host computer is to which communication processing device A technique is disclosed in which a loading management table and loading management means for recording information on whether or not to perform the download and a loading situation are installed, and the download load is distributed.
Japanese Laid-Open Patent Publication No. 9-259089 discloses a wide area file system management host computer with a secondary storage device in a distributed network environment in which a plurality of host computers having a dedicated secondary storage device are connected to a network. Is added to the network so that each of the host computers can use the dedicated secondary storage device as a virtual striped file system. .
[0006]
[Problems to be solved by the invention]
By the way, in the conventional inter-host computer communication method, since the size of the management area to be installed is determined by the processing convenience of the communication partner host computer, a queue that can be generated in the management area that serves as a receiver of the communication text. If there are many communication requests within a short period of time on the sending host computer, or if processing is delayed for some reason on the receiving host computer, the sending host that has the communication request There is also a problem that the computer processing has to wait and the performance is deteriorated.
The techniques disclosed in the above Japanese Patent Laid-Open Nos. 4-2977941 and 5-173919 do not disclose a method for dealing with the occurrence of the limit of the management area as described above.
[0007]
Further, the technique disclosed in Japanese Patent Laid-Open No. 5-28079 is a technique for dividing one management area into a plurality of areas by initialization task means and creating a management area dedicated to each of a plurality of host computers. However, when examining the one exclusive management area formed by the division, a method for dealing with the occurrence of the area limit of the management area as described above is not disclosed.
Furthermore, the technique disclosed in Japanese Patent Laid-Open No. 63-61360 should be regarded as a method of sharing a large capacity file device among a plurality of host computers. The technique shown is a method of assigning a virtual large capacity file device function to a file device as a hardware belonging to each of a plurality of host computers, and the large capacity file device between the plurality of host computers. Should be viewed as a sharing method.
The present invention has been made in view of the above-described problems in the conventional communication system between host computers, and can transmit a communication request in a scene frequently occurring within a short time without causing a waiting time. An object is to provide a communication system between host computers.
[0008]
[Means for Solving the Problems]
In order to solve the above problems, according to an embodiment of the present invention,
The management device includes a plurality of host computers and a management device shared by the host computers. The management device has an unprocessed notification information table and a processing status table. The first host computer of the plurality of host computers receives notification information. Storage means for storing in the unprocessed notification information table, first update means for updating the processing information in the processing status table corresponding to the stored notification information to an unprocessed state, and synchronization processing request signals for a plurality of host computers Among them, a transmission means for transmitting to the second host computer, the second host computer receiving the synchronization processing request signal, processing means for processing the notification information stored in the unprocessed notification information table, Second update means for updating the processing information in the processing state table corresponding to the secured notification information to the processing state; and the processing state Provided is a host-computer communication management device comprising stop means for stopping a processing request signal when it is determined that an unprocessed state is not included in the processing information of the processing state table with reference to the table. To do.
[0009]
Further, in the communication management apparatus between host computers, the unprocessed notification information table includes a predetermined notification information storage area for individually storing notification information issued from each of a plurality of host computers, and a notification issued next. Unnotified information storage location storage area for storing data indicating the storage location of the notification information storage area for storing information, and unnotified information for storing data indicating the storage location of the notification information storage area for the next read notification information A storage unit for storing notification information in a storage position of the notification information storage area obtained by referring to the non-notification information storage position storage area; , Means for updating the processing information in the processing state table corresponding to the notification information stored in the storage position of the notification information storage area by the storage means, and the processing means in the unnotified information storage location Means for acquiring notification information in the notification information storage area based on position data obtained by referring to the storage area, and the second updating means corresponds to the notification information in the notification information storage area acquired by the processing means. It is possible to have means for updating the processing information of the processing state table to be processed.
[0010]
Further, in the communication management apparatus between host computers, the processing state table has a processing type information storage area having information for identifying whether each piece of notification information included in the unprocessed notification information table is an unprocessed state or processed. The first updating means stores the notification information in the processing type information storage area, and sets information indicating that the first host computer is in an unprocessed state for the stored notification information; The update means 2 sets information that the second host computer has processed the notification information acquired in the processing type information storage area every time the notification information in the notification information storage area is acquired. It is possible to have means.
[0011]
A plurality of host computers and a management device shared by the host computers, a step of securing an unprocessed notification information table and a processing state table in the management device, and a first host computer of the plurality of host computers, Storing the notification information in the unprocessed notification information table; and a first updating step in which the first host computer updates the processing information in the processing state table corresponding to the stored notification information to an unprocessed state; The first host computer transmits a synchronization processing request signal to the second host computer among the plurality of host computers, and the second host computer receives the synchronization processing request signal and receives the synchronization processing request signal in the unprocessed notification information table. Process the notification information stored in the The second updating step of updating the processing information in the processing state table to the processing state, and the first host computer refers to the processing state table and the processing information in the processing state table does not include an unprocessed state. Provided is a method for managing communication between host computers comprising the step of stopping a processing request signal when determined.
[0012]
Further, in the communication management method between host computers, a step of securing a predetermined notification information storage area for individually storing notification information issued from each of a plurality of host computers in an unprocessed notification information table; In the process notification information table, a step for securing an unnotified information storage location storage area for storing data indicating a storage location of a notification information storage area for storing next notification information to be issued and an unprocessed notification information table The step of allocating an unnotified information reference location storage area in which data indicating the storage location of the notification information storage area of the notification information to be read next is stored and the storing step refer to the unreported information storage location storage area. Storing the notification information in the storage location of the notification information storage area obtained in the above, and the first updating step stores the notification information by the storage means. A step of updating the processing information in the processing state table corresponding to the notification information stored in the storage location of the area to an unprocessed state, and the processing step is a position obtained by referring to the unnotified information storage location storage area A step of acquiring notification information in the notification information storage area based on the data, and the second updating step includes processing information in the processing state table corresponding to the notification information in the notification information storage area acquired by the processing means. It is possible to have a step of updating to the processing state.
[0013]
Further, in the communication management method between host computers, a processing type information storage area having information for identifying whether each notification information included in the unprocessed notification information table is in an unprocessed state or processed is secured in the processing state table. The step and the first updating step store the notification information in the processing type information storage area and set information indicating that the first host computer is in an unprocessed state for the stored notification information. And the second updating step has processed the notification information acquired in the processing type information storage area by the second host computer each time the notification information in the notification information storage area is acquired. It is also possible to have a step of setting information.
[0014]
Further, the management device includes a plurality of host computers and a management device shared by the host computers, a step of securing an unprocessed notification information table and a processing state table in the management device, and a first host computer of the plurality of host computers Storing the notification information in an unprocessed notification information table;
A first updating step in which the first host computer updates the processing information in the processing state table corresponding to the stored notification information to an unprocessed state;
The first host computer transmits a synchronization processing request signal to the second host computer among the plurality of host computers, and the second host computer receives the synchronization processing request signal and receives the synchronization processing request signal in the unprocessed notification information table. Processing the notification information stored in the process, a second updating step for updating the processing information in the processing state table corresponding to the secured notification information to the processing state, and the first host computer processing state A storage medium recording a program for executing a step of stopping a processing request signal when it is determined that an unprocessed state is not included in the processing information of the processing state table with reference to the table is provided.
[0015]
Further, in the storage medium, a step of securing a predetermined notification information storage area for individually storing notification information issued from each of a plurality of host computers in an unprocessed notification information table; and an unprocessed notification information table In the step of securing the unnotified information storage location storage area in which the data indicating the storage location of the notification information storage area for storing the next issued notification information is stored and the unprocessed notification information table are read out next. The step of allocating an unnotified information reference location storage area in which data indicating the storage location of the notification information storage area of the notification information to be stored and the step of storing were obtained by referring to the unreported information storage location storage area. Storing the notification information in the storage location of the notification information storage area, and the first updating step stores the notification information in the storage position of the notification information storage area by the storage means A step of updating the processing information in the processing state table corresponding to the knowledge information to an unprocessed state, and the step of processing stores the notification information based on the position data obtained by referring to the unnotified information storage location storage area And a second updating step includes a step of updating the processing information in the processing state table corresponding to the notification information in the notification information storage area acquired by the processing means to a processing state. It is possible to record the program which has.
[0016]
Further, in the storage medium, securing a processing type information storage area having information for identifying whether each piece of notification information included in the unprocessed notification information table is in an unprocessed state or processed in the processing state table; The updating step of 1 comprises storing notification information in a processing type information storage area and setting information indicating that the first host computer is in an unprocessed state with respect to the stored notification information, In the second updating step, every time notification information in the notification information storage area is acquired, information indicating that the second host computer has processed the notification information acquired in the processing type information storage area. It is possible to record a program comprising steps for setting.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram showing a functional configuration of a communication system between host computers according to the first embodiment of the present invention.
In the present embodiment shown in FIG. 1, the host computer on the sending side and the host computer on the receiving side are arranged one-on-one. That is, the host computer 1 is the transmission side and the host computer 2 is the reception side.
In FIG. 1, the communication system between host computers according to the present embodiment includes a transmission-side host computer 1, a reception-side host computer 2, a management device 3 interposed between the host computers 1 and 2, and a device 15. And a storage medium 16 accessible via the.
[0018]
The host computer 1 on the transmission side is activated by a request creation unit 11 that creates a communication request including communication information and the request creation unit 11 and sequentially specifies the communication information in the unprocessed notification information table 31 in the management device 3. The unprocessed notification information creating unit 12 to be stored in the registered entry and the unprocessed notification information creating unit 12 are activated each time the communication information is stored, and the state of the communication information is stored in the processing state table 32 in the management device 3. A processing state table update unit 13 that is set as an unprocessed state, and a synchronization processing request signal transmission that is activated each time the processing state table update unit 13 sets a state and sets the synchronization processing request signal 33 in the management apparatus 3 to a transmission state. Part 14.
[0019]
In the reception side host computer 2, the processing state table determination unit 21 for examining the processing state at the designated position of the processing state table 32, and the processing state table determination unit 21 are activated when the processed state is obtained, and the synchronization processing request signal The synchronization processing request signal receiving unit 22 that activates the processing state table determination unit 21 after 33 enters the transmission state, and the unprocessed notification information table that is activated when the processing state table determination unit 21 obtains an unprocessed state. It is activated when the notification information is acquired by the unprocessed notification information acquisition unit 23 that acquires the notification information from the specified position of 31 and sets the specified position as the next number. A processing state table updating unit 24 for updating the designated position to the next entry position, assuming that the designated position in the processing state table 32 has been processed; After completion is started by the processing condition table updating unit 24 performs the processing of the acquired notification information, and a request processing unit 25 to start processing state table determining section 21.
[0020]
The management device 3 has a management area, that is, the above-mentioned unprocessed notification information table 31, a processing state table 32, and a synchronization processing request signal 33.
2 is a diagram showing the configuration and contents of the unprocessed notification information table 31, FIG. 3 is a diagram showing the configuration and contents of the processing status table 32, and FIG. 4 is a diagram showing the configuration and contents of the synchronization processing request signal 33. It is a figure which shows the content.
[0021]
The unprocessed notification information table 31 includes a plurality of notification information storage areas, the number of which is determined in advance, in the notification information storage unit 313, and a notification information storage area where the notification information requested by the host computer A1 is to be stored. The notification information storage location storage area 311 and the unreported information reference location storage area 312 indicating the location of the notification information storage area in which the notification information to be checked by the host computer B2 are stored. The process status table 32 corresponds to each of the notification information stored in the notification information storage area of the unprocessed notification information table 31 from a plurality of process type information storage areas that store process type information indicating whether the process is processed or not processed. The processing type information storage unit 323, the processing type flag storage location storage area 321 indicating the location of the processing type information storage area where the host computer 1 should store the processing type information, and the host computer 2 examine and update as necessary. A process type flag reference position storage area 322 indicating the position of the process type information storage area storing the process type information to be stored is provided. The synchronization processing request signal 33 has a configuration including a synchronization processing request signal content 332 for indicating the presence / absence of a synchronization signal indicating the timing of the processing process, and a synchronization processing request signal address 331 indicating its position.
[0022]
Note that the unprocessed notification information table 31, the processing status table 32, and the synchronization processing request signal 33 are initialized when the host computer A1 is started up, and the unreported information storage location storage area 311, the unreported information reference location storage area 312. , The processing type flag storage location storage area 321 and the processing type flag reference location storage area 322 are both set to 1 indicating the first position, and store the processing type information in the processing type information storage unit 323 for storing the processing type information. In the area, all processed are set, the address of the synchronization processing request signal content is set in the synchronization processing request signal address 331, and “none” is set in the synchronization processing request signal content 332.
[0023]
FIG. 5, FIG. 6 and FIG. 7 are flowcharts showing the operation of the inter-host computer communication method according to the first embodiment of the present invention.
Hereinafter, the operation of the communication system between host computers according to the present embodiment will be described with reference to FIG. 1 and the flowcharts shown in FIGS.
In this embodiment, for convenience of explanation, the limit value of the notification information storage area in the notification information storage unit 313 of the unprocessed notification information table 31 is set to 5, and the first information of the notification information generated in the host computer A1 , Second information,... Are assumed to be “aa”, “bb”,.
[0024]
First, the operation in the host computer A1 shown in the flowcharts of FIGS. 5 and 6 will be described.
First, when a notification request is generated in the host computer A1, in step 101, the request creation unit 11 creates notification information in the same manner as the conventional processing, and activates the unprocessed notification information creation unit 12. The unprocessed notification information creating unit 12 knows the storage area where the notification information is to be stored from the value of the unreported information storage location storage area 311 of the unprocessed notification information table 31 and stores the notification information. For example, when the notification information created by the request creation unit 11 is “aa” of the first information, since it is the first time, the value of the unreported information storage location storage area 311 is 1, and therefore “aa” is stored in the notification information. The information is stored in the first notification information storage area in the unit 313.
[0025]
Next, in step 102, the unprocessed notification information creation unit 12 sets the value of the unreported information storage location storage area 311 to +1 and designates the next storage location.
Next, in step 103, it is checked whether or not the designated storage position exceeds the limit value. If it is exceeded, in step 104, it is set to 1 which is the first position of the storage position value. If not, leave it as it is. For example, if the notification information is “aa” of the first information, the value of the unnotified information storage location storage area 311 is updated from 1 to 2.
Thereafter, when the unprocessed notification information creation unit 12 finishes setting the storage location of the notification information, the processing state table update unit 13 is activated.
[0026]
Next, in step 105, the activated processing state table update unit 13 checks the processing type flag storage location storage area 321 of the processing state table 32 and stores it in the processing type information storage area specified in the processing type information storage unit 323. The unprocessed flag 1 is set.
Next, in step 106, the processing state table update unit 13 increments the value of the processing type flag storage location storage area 321 by 1 and updates it to the next storage location.
Next, in step 107, it is checked whether or not the updated storage position exceeds the limit value. If it is exceeded, in step 108, the storage position value is set to 1 which is the head position. If not, leave it as it is.
For example, if the process from step 105 to step 108 is the first time, the value of the process type flag storage location storage area 321 is 1, so the first process type information storage in the process type information storage unit 323 is stored. Flag 1 indicating unprocessed is set in the area. Then, the value of the processing type flag storage location storage area 321 is updated from 1 to 2. At this time, the process of step 108 is not performed.
[0027]
When the processing state table updating unit 13 finishes setting the flag storage position, the processing state table updating unit 13 subsequently activates the synchronization processing request signal transmission unit 14 in step 109. The activated synchronization processing request signal transmission unit 14 sets the synchronization processing request signal content 332 indicated by the synchronization processing request signal address 331 of the synchronization processing request signal 33 to “present”.
It is assumed that the synchronization signal request processing has succeeded because the synchronization processing request signal content 332 can be set from “none” to “present”, and the synchronization signal request processing is performed when the “present” state is already “present”. In step 110, it is checked whether the transmission is successful. In the above sense, if the synchronization signal is successfully transmitted, the process is terminated and the process from step 101 is repeated. If it is already “present” and transmission of the synchronization signal fails, one means ends the process in the same manner as described above and repeats the process from step 101, but the other means includes the above timing. Indicates that the host computer B2 is processing unprocessed communication information, and is not shown in the figure, but at the time of the end, the message indicating the meaning can be displayed before the end.
[0028]
Of the above management areas, the sizes of the unprocessed notification information table 31 and the processing state table 32 are determined in consideration of the worst pattern of communication request frequency in the host computer A1 and the communication information processing capability of the host computer B2. It is determined on the host computer A1 side and secured on the host computer A1 side. For this reason, the formal repeated use of the management area can be carried out without any trouble. This is a feature of the present invention.
However, in step 102, step 104, and step 107, the means for unconditionally securing the entry for the next communication information has been exercised. Prior to the securing, whether or not the entry to be secured is empty That is, whether or not processed is indicated, and if it is not empty, waits for the processing step or a task including the processing step until it becomes empty (that is, until processed is indicated) The conventional processing method can also be used in combination with the above method.
Furthermore, a method of expanding the management area, that is, the unprocessed notification information table and the processing state table, when the state is not empty can be used in combination with the above method.
[0029]
Next, the operation in the host computer B2 shown in the flowchart of FIG. 7 will be described.
In the host computer B2, first, in step 201, the processing state table determination unit 21 refers to the processing type flag reference position storage area 322 of the processing state table 32 in the processing state 21, and is designated in the processing type information storage unit 323. Get the processing type information storage area flag.
Next, in step 202, it is checked whether the acquired flag is unprocessed or processed, and if it has been processed, the synchronization processing request signal receiving unit 22 is activated.
[0030]
When the synchronization processing request signal receiving unit 22 is activated, the synchronization processing request signal content 332 is acquired from the address indicated by the synchronization processing request signal address 331 of the synchronization processing request signal 33 in step 203. Then, it is checked whether or not the content acquired in step 204 is “Yes”. If “Yes”, step 204 is repeated. If “Yes”, the content of the synchronization processing request signal is cleared in step 205 and the processing returns to step 201. While the process of step 205 is being performed, the request to set the synchronization process request signal 33 generated from the synchronization process request signal transmission unit 14 of the host computer A1 to “present” is invalidated by the process of step 205. In order to prevent the occurrence of a situation, although not shown in the figure, a method is possible in which the synchronization processing request signal 33 is exclusively controlled and the synchronization processing request signal 33 is occupied during the processing of step 205. In this case, the request to set the synchronization processing request signal 33 generated from the synchronization processing request signal transmission unit 14 of the host computer 1 to “present” is executed again after the processing in step 205 is completed.
[0031]
For example, if the host computer B2 has just started, the processing type information storage area in the processing type information storage unit 323 of the processing state table 32 is initialized and processed in steps 201 to 204. Since the synchronization processing request signal content 332 is also “None”, the host computer A1 is in a kind of standby state, but the host computer A1 stores the notification information “aa” in the unprocessed notification information table 31, and the processing If the flag indicating the processing type information in the state table 32 is unprocessed, and further waiting for the synchronization processing request signal content 332 to change to “present”, and the synchronization processing request signal content 332 becomes “present”, This indicates that the contents of the processing state table 32 are examined again after the time. Therefore, when the process state table determination unit 21 finds unprocessed flag indicating the process type information in step 202, the process state table determination unit 21 activates the unprocessed notification information acquisition unit 23.
[0032]
When the unprocessed notification information acquisition unit 23 is activated, the value of the unnotified information reference position storage area 312 of the unprocessed information table 31 is acquired at step 206, and the notification information storage unit 313 of the acquired value is acquired at step 207. The notification information in the notification information storage area is acquired, and the value of the unnotified information reference storage location storage area 312 is incremented by one. Thereafter, the unprocessed notification information acquisition unit 23 activates the processing state table update unit 24.
When the process state table update unit 24 is activated, in step 208, the process state table update unit 24 processes the contents of the process type information storage area in the process type information storage unit 323 indicated by the value of the process type flag reference position storage area 322 of the process state table 32. The flag is changed to 0 indicating completion, and +1 is added to the value of the processing type flag reference position storage area 322. Thereafter, the processing state table updating unit 24 activates the request processing unit 25.
In step 209, the request processing unit 25 receives the notification information acquired by the unprocessed notification information acquisition unit 23, performs processing, activates the processing state table determination unit 21 again at the end of processing, returns to step 201, and returns to the above series. Repeat the process.
[0033]
FIG. 8 is a diagram showing the contents of the unprocessed notification information table 31, the processing status table 32, and the synchronization processing request signal 33 at the time when the series of processing in the host computer B2 is completed according to the above specific example. is there.
In the unprocessed notification information table 31 shown in FIG. 8A, the host computer B2 acquires the first information “aa”, and the unreported information reference location storage area 312 is changed to 2 indicating the next second information. The third information is stored by the host computer A1 after the first information is acquired, and the unnotified information storage location storage area 311 is changed to 4 for storing the next fourth information. .
[0034]
In the processing state table 32 shown in FIG. 8B, a flag indicating that the first processing type information storage area has been processed by the processing state table update unit 24 after the first information “aa” is acquired by the host computer B2. It is updated to 0, and the process type flag reference position storage area 322 is also updated to 2 at this time.
Further, in the synchronization processing request signal 33 shown in FIG. 8C, the synchronization processing request signal content 332 is cleared when the first information “aa” is acquired by the synchronization processing request signal receiving unit 22. It shows that the computer A1 is changed to “present” when the second information “bb” is stored.
[0035]
(Second Embodiment)
FIG. 9 and FIG. 10 are diagrams showing the functional configuration of the host computer communication system according to the second embodiment of the present invention.
This embodiment is different from the first embodiment in that it has a host computer C4.
In the present embodiment, the management apparatus 3 in which the notification information of the host computer A1 is stored is commonly referred to by the host computer B2 and the host computer C4, thereby enabling communication between one-to-many host computers. Become.
[0036]
In the present embodiment, for convenience of explanation, one set of host computers C4 is added to the first embodiment, but the added host computer is generally 3 to m (m ≧ 3). The operation flow of the host computers 3 to m is the same as that of the host computer B2.
The management device 3 in the present embodiment, that is, the unprocessed notification information table 31, the processing status table 32, and the synchronization processing request signal 33 can be the same as in the first embodiment, or It is also possible to assign a dedicated management area to each of the host computers 2 to n (n ≧ 3).
Further, if the host computer in each of the above embodiments is replaced with a process such as a task, a similar method can be considered as an inter-process communication method in a multi-process within one computer.
[0037]
【The invention's effect】
As described above, the inter-host computer communication method according to the present invention provides a single synchronization processing request signal to the receiving host computer to generate the first inter-host computer communication request from the start of the transmitting host computer. Since the notification information is handed over using the notification information storage table provided on the management device and the processing status table for recording the processing status of the notification information, these tables are sent on the transmission side host computer side. By setting it to an arbitrary size, there is an effect that the sending host computer can proceed with processing without being affected by the processing capability or processing state of the receiving host computer. , It is possible to transmit communication requests for scenes that occur frequently within a short time without causing any waiting time.
[Brief description of the drawings]
FIG. 1 is a diagram showing a functional configuration of a communication system between host computers according to a first embodiment of the present invention.
FIG. 2 is a diagram showing a configuration and contents of an unprocessed notification information table 31;
FIG. 3 is a diagram showing a configuration and contents of a processing state table 32;
4 is a diagram showing a configuration and contents of a synchronization processing request signal 33. FIG.
FIG. 5 is a flowchart showing an operation of a host computer A1 in a host computer communication system.
FIG. 6 is a flowchart showing an operation of the host computer A1 in the host computer communication system.
FIG. 7 is a flowchart showing the operation of the host computer B2 in the host computer communication system.
FIG. 8 is a diagram showing the contents of an unprocessed notification information table 31, a processing status table 32, and a synchronization processing request signal 33 according to a specific example when a series of processing in the host computer B2 is completed.
FIG. 9 is a diagram illustrating a functional configuration of a communication system between host computers according to the second embodiment of the present invention.
FIG. 10 is a diagram showing a functional configuration of a communication system between host computers according to the second embodiment of the present invention.
[Explanation of symbols]
1 Sending host computer A
2 Receiving host computer B
3 management devices
4 Receiving host computer C
11 Request creation department
12 Unprocessed notification information creation part
13, 24, 44 Processing status table update unit
14 Synchronization processing request signal transmitter
21, 41 Processing state table determination unit
22, 42 Synchronization processing request signal receiver
23, 43 Unprocessed notification information acquisition unit
25, 45 Request processing part
31 Unprocessed notification information table
32 Processing status table
33 Synchronization processing request signal
311 Unreported information storage location storage area
312 Unreported information reference location storage area
313 Notification information storage unit
321 Process type flag storage location storage area
322 Process type flag reference position storage area
323 Process type information storage unit
331 Synchronization processing request signal address
332 Synchronization processing request signal contents

Claims (2)

複数のホストコンピュータと前記複数のホストコンピュータから共有される管理装置とからなり、
前記管理装置は、
同期処理要求信号格納テーブルと、
未処理通知情報テーブルと、
処理状態テーブルとを有し、
前記複数のホストコンピュータの内の第1のホストコンピュータは、
通知情報を前記未処理通知情報テーブルに格納する格納手段と、
前記格納手段による前記未処理通知情報テーブルへの前記通知情報の格納処理に応じて、当該通知情報に対応する前記処理状態テーブルの処理情報を未処理状態に更新する第1の更新手段と、
前記第1の更新手段による前記処理状態テーブルの処理情報の未処理状態への更新処理に応じて、前記同期処理要求信号格納テーブルの情報が同期処理要求信号無しの場合に、当該情報を同期処理要求信号有りに更新する第2の更新手段とを具備し、
前記複数のホストコンピュータの内の第2のホストコンピュータは、
前記処理状態テーブルを参照し、未処理状態の処理情報がない場合に、前記同期処理要求信号格納テーブルの情報を取得する処理を、取得した情報が同期処理要求信号有りとなるまで繰り返す取得手段と、
前記取得手段において取得した前記同期処理要求信号格納テーブルの情報が同期処理要求信号有りとなった場合に、当該情報を同期処理要求信号無しを示す情報に変更する変更手段と、
前記変更手段による前記同期処理要求信号格納テーブルの情報の同期処理要求信号無しへの変更処理に応じて、前記処理状態テーブルを参照し、未処理状態の処理情報に対応する前記未処理通知情報テーブルの前記通知情報を取得する処理と、前記処理情報を処理状態に更新する処理とを、未処理状態の前記処理情報が無くなるまで繰り返し、前記取得手段に戻る手段とを具備する、
ことを特徴とするホストコンピュータ間通信管理装置。
A plurality of host computers and a management device shared by the plurality of host computers;
The management device
A synchronization processing request signal storage table;
Raw notification information table;
A processing state table,
A first host computer of the plurality of host computers is
Storage means for storing notification information in the unprocessed notification information table;
First update means for updating the processing information in the processing status table corresponding to the notification information to an unprocessed state in response to the storage processing of the notification information in the unprocessed notification information table by the storage means;
In response to the update processing of the processing information in the processing status table to the unprocessed status by the first updating means, when the information in the synchronous processing request signal storage table is no synchronous processing request signal, the information is synchronously processed. Second updating means for updating with a request signal,
A second host computer of the plurality of host computers is
An acquisition unit that refers to the processing state table and repeats the process of acquiring information in the synchronization processing request signal storage table until there is a synchronization processing request signal when there is no unprocessed processing information. ,
When the information in the synchronization processing request signal storage table acquired in the acquisition means becomes a synchronization processing request signal, changing means for changing the information to information indicating that there is no synchronization processing request signal;
The unprocessed notification information table corresponding to the unprocessed process information by referring to the process status table in accordance with the process of changing the information in the synchronization process request signal storage table to no sync process request signal by the changing unit A process for acquiring the notification information and a process for updating the process information to a process state until the process information in an unprocessed state disappears and returning to the acquisition unit.
A communication management apparatus between host computers.
複数のホストコンピュータから共有される管理装置内に、同期処理要求信号格納テーブルと、未処理通知情報テーブルと、処理状態テーブルを確保するステップと、Securing a synchronization processing request signal storage table, an unprocessed notification information table, and a processing status table in a management device shared by a plurality of host computers;
前記複数のホストコンピュータの内の第1のホストコンピュータが、当該複数のコンピュータから共有される管理装置内の未処理通知情報テーブルに通知情報を格納する格納ステップと、A storage step in which a first host computer of the plurality of host computers stores notification information in an unprocessed notification information table in a management apparatus shared by the plurality of computers;
前記第1のホストコンピュータが、前記格納ステップにおける前記未処理通知情報テーブルへの前記通知情報の格納処理に応じて、当該通知情報に対応する前記管理装置内の処理状態テーブルの処理情報を未処理状態に更新する第1の更新ステップと、In response to the storing process of the notification information in the unprocessed notification information table in the storing step, the first host computer processes the processing information in the processing status table in the management apparatus corresponding to the notification information. A first update step for updating to a state;
前記第1のホストコンピュータが、前記第1の更新ステップにおける前記処理状態テーブルの処理情報の未処理状態への更新処理に応じて、前記管理装置内の同期処理要求信号格納テーブルの情報が同期処理要求信号無しの場合に、当該情報を同期処理要求信号有りに更新する第2の更新ステップと、In response to the update processing of the processing information in the processing state table to the unprocessed state in the first updating step, the information in the synchronous processing request signal storage table in the management device is synchronized with the first host computer. A second update step for updating the information with a synchronization processing request signal when there is no request signal;
前記複数のホストコンピュータの内の第2のホストコンピュータが、前記処理状態テーブルを参照し、未処理状態の処理情報がない場合に、前記同期処理要求信号格納テーブルの情報を取得する処理を、取得した情報が同期処理要求信号有りとなるまで繰り返す取得ステップと、A second host computer of the plurality of host computers refers to the processing state table, and acquires processing for acquiring information in the synchronization processing request signal storage table when there is no processing information in an unprocessed state. An acquisition step that repeats until the information that has been processed becomes a synchronization processing request signal;
前記第2のホストコンピュータが、前記取得ステップにおいて取得した前記同期処理要求信号格納テーブルの情報が同期処理要求信号有りとなった場合に、当該情報を同期処理要求信号無しを示す情報に変更する変更ステップと、A change in which the second host computer changes the information to information indicating that there is no synchronization processing request signal when the information in the synchronization processing request signal storage table acquired in the acquisition step has a synchronization processing request signal. Steps,
前記第2のホストコンピュータが、前記変更ステップにおける前記同期処理要求信号格納テーブルの情報の同期処理要求信号無しへの変更処理に応じて、前記処理状態テーブルをIn response to the change processing of the information in the synchronization processing request signal storage table to the absence of the synchronization processing request signal in the changing step, the second host computer changes the processing state table. 参照し、未処理状態の処理情報に対応する前記未処理通知情報テーブルの前記通知情報を取得する処理と、前記処理情報を処理状態に更新する処理とを、未処理状態の前記処理情報が無くなるまで繰り返し、前記取得ステップに戻るステップとを含むReferring to the process information for acquiring the notification information in the unprocessed notification information table corresponding to the process information in the unprocessed state and the process for updating the process information to the process state, the process information in the unprocessed state is lost. And returning to the acquisition step
ことを特徴とするホストコンピュータ間通信管理方法。A communication management method between host computers.
JP16978098A 1998-06-17 1998-06-17 Communication apparatus and communication method between host computers Expired - Fee Related JP3720982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16978098A JP3720982B2 (en) 1998-06-17 1998-06-17 Communication apparatus and communication method between host computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16978098A JP3720982B2 (en) 1998-06-17 1998-06-17 Communication apparatus and communication method between host computers

Publications (2)

Publication Number Publication Date
JP2000010945A JP2000010945A (en) 2000-01-14
JP3720982B2 true JP3720982B2 (en) 2005-11-30

Family

ID=15892737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16978098A Expired - Fee Related JP3720982B2 (en) 1998-06-17 1998-06-17 Communication apparatus and communication method between host computers

Country Status (1)

Country Link
JP (1) JP3720982B2 (en)

Also Published As

Publication number Publication date
JP2000010945A (en) 2000-01-14

Similar Documents

Publication Publication Date Title
US6523131B1 (en) Method for communicating a software-generated pulse waveform between two servers in a network
US5758157A (en) Method and system for providing service processor capability in a data processing by transmitting service processor requests between processing complexes
US5530905A (en) Temporary state preservation for a distributed file service which purges virtual circuit control information after expiration of time limit of inactivity
US8510384B2 (en) Multicast distribution system and method
EP1701263A1 (en) Computer system and data backup method in computer system
JPH076099A (en) System and method for duplexing of remote data
US9298765B2 (en) Apparatus and method for handling partially inconsistent states among members of a cluster in an erratic storage network
US7343432B1 (en) Message based global distributed locks with automatic expiration for indicating that said locks is expired
JP2008544371A (en) How to handle lock-related inconsistencies
JP3720982B2 (en) Communication apparatus and communication method between host computers
JP2697588B2 (en) Communication task management method
JPH076110A (en) Method for reducing communication overhead in distributed processing system
GB2508849A (en) Backing up data on another computer in a network
CN117076409B (en) File sharing method, device, system, electronic equipment and storage medium
US5862332A (en) Method of data passing in parallel computer
JPH08278953A (en) Exclusive control system of computer system
WO2023119720A1 (en) Transfer apparatus
JPH0628407A (en) Data base system
JP2002222127A (en) Information processing device, image processing device, and storage medium
JPH07107679B2 (en) Message communication control method between client and server
JP2000151700A (en) Transfer method for message
JPH08335205A (en) Inter-job communication system
JPH0713938A (en) System for inter-computer synchronization processing
JP2004118295A (en) Monitoring management method
JPH02153443A (en) System for making access to file server

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000403

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050404

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050801

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080916

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090916

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090916

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100916

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110916

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120916

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130916

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees