JPH08314875A - Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device - Google Patents

Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device

Info

Publication number
JPH08314875A
JPH08314875A JP7156082A JP15608295A JPH08314875A JP H08314875 A JPH08314875 A JP H08314875A JP 7156082 A JP7156082 A JP 7156082A JP 15608295 A JP15608295 A JP 15608295A JP H08314875 A JPH08314875 A JP H08314875A
Authority
JP
Japan
Prior art keywords
distributed
shared memory
node
distributed shared
memory network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7156082A
Other languages
Japanese (ja)
Inventor
Hiroo Kamiyo
浩夫 神余
Shinya Narumi
信也 成實
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7156082A priority Critical patent/JPH08314875A/en
Publication of JPH08314875A publication Critical patent/JPH08314875A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE: To provide a cooperative distributed processing method for backing up the lost function of a failed distributed node with a healthy distributed node in the case where a fault is detected in the distributed node in a distributed processing system, and a supporting device for constructing a system. CONSTITUTION: On a distributed shared memory 13, a state monitoring table 15 where distributed system management data are recorded and shared data 14 shared and utilized by the respective distributed nodes 10a to 10d are place. The respective distributed nodes perform a normal processing while performing mutual monitoring by the distributed system management data, and when the fault of the other distributed node is detected, lost function replacement is performed among the normal distribured nodes corresponding to the priority of the execution right of an application task 16 lost by the fault.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、リアルタイム性と耐
故障性が要求される分散共有メモリ方式を用いた分散処
理システムに適用して有効な協調分散処理方法、および
分散共有メモリ監視装置、分散共有メモリネットワーク
追跡装置、分散共有メモリネットワーク設定支援装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cooperative distributed processing method effectively applied to a distributed processing system using a distributed shared memory system that requires real-time property and fault tolerance, a distributed shared memory monitoring device, and a distributed shared system. The present invention relates to a memory network tracking device and a distributed shared memory network setting support device.

【0002】[0002]

【従来の技術】図25は例えば、特開平3−19460
1号公報に示された従来の協調分散処理システムを示す
ブロック図である。図において、1a〜1eは分散ノー
ドとしての制御装置であり、2はこれら制御装置1a〜
1eの制御対象となるプラントである。3は当該プラン
ト2のプロセス情報を取得する検出器、および制御情報
により当該プラント2を操作する操作部からなる入出力
部である。4はこの入出力部3が任意のプロセス情報を
授受するための伝送路であり、5は各制御装置1a〜1
e間で局所的通信を行うための伝送路である。
2. Description of the Related Art FIG. 25 shows, for example, JP-A-3-19460.
It is a block diagram which shows the conventional cooperative distributed processing system shown by the 1st publication. In the figure, 1a to 1e are control devices as distributed nodes, and 2 is these control devices 1a to 1e.
It is a plant to be controlled by 1e. An input / output unit 3 includes a detector that acquires process information of the plant 2 and an operation unit that operates the plant 2 according to control information. Reference numeral 4 is a transmission path for the input / output unit 3 to exchange arbitrary process information, and 5 is each of the control devices 1a-1.
It is a transmission path for performing local communication between e.

【0003】次に動作について説明する。制御装置1a
〜1eはそれぞれに複数のプラント制御タスクを周期的
に実行し、入出力部3を介してプラント2を制御してい
る。また、各制御装置1a〜1eは伝送路5を用いて周
期的に通信し、隣接する制御装置相互で状態監視を行っ
ている。この状態監視通信においてタイムアウトが検出
されれば、タイムアウトとなった通信元の制御装置(例
えば制御装置1c)を故障と判定し、隣接する健全な制
御装置1b、1dは故障した制御装置1cの実行タスク
を負荷分散方式に従って分散バックアップする。これに
よって、故障した制御装置1cに隣接している制御装置
1b、1dは負荷が増大するので、次の周期ではさらに
それらに隣接した制御装置1a、1eにおいて負荷分散
方式に従ったタスクの分散バックアップを行う。すなわ
ち、故障に対してその隣接ノードでまずタスク分担する
が、次第にさらに遠くのノードにタスク分担が波及し、
最終的にはシステム全体が負荷分散的な状態で故障ノー
ドのタスクを実行維持している。このようなシステムを
協調分散処理システムと称している。
Next, the operation will be described. Control device 1a
1 to 1e periodically execute a plurality of plant control tasks and control the plant 2 via the input / output unit 3. Further, each of the control devices 1a to 1e periodically communicates with each other using the transmission path 5, and the adjacent control devices perform state monitoring. If a time-out is detected in this status monitoring communication, the control device (for example, the control device 1c) of the communication source that has timed out is determined to be in failure, and the adjacent healthy control devices 1b and 1d execute the failed control device 1c. Distributed backup of tasks according to the load balancing method. As a result, the load of the control devices 1b and 1d adjacent to the failed control device 1c increases, so that in the next cycle, the distributed backup of the tasks according to the load distribution method in the control devices 1a and 1e further adjacent to them. I do. In other words, for a failure, the task is shared by the adjacent node first, but the task is gradually spread to nodes further away,
Eventually, the entire system keeps executing the tasks of the failed node in a load-balanced state. Such a system is called a cooperative distributed processing system.

【0004】また、図26は例えば、特開平6−680
47号公報に示されたそのような従来の分散処理システ
ムにおける分散共有メモリの記憶方法を説明するための
ブロック図である。図において、6a〜6dはコンピュ
ータや端末機器等のノードであり、7はこれらのノード
6a〜6dがそれぞれ接続されて分散処理システムを構
成しているネットワーク、8a〜8eはこのネットワー
ク7内を循環するデータ単位である。
FIG. 26 shows, for example, Japanese Patent Laid-Open No. 6-680.
It is a block diagram for demonstrating the storage method of the distributed shared memory in such a conventional distributed processing system shown by the 47 publication. In the figure, 6a to 6d are nodes such as computers and terminal devices, 7 is a network to which these nodes 6a to 6d are respectively connected to constitute a distributed processing system, and 8a to 8e are circulating in the network 7. It is a data unit to be used.

【0005】次に動作について説明する。アドレス付け
されたデータの集合よりなるメモリ情報を、各アドレス
対応のデータ単位8a〜8eとして、所望の順序で各ノ
ード6a〜6d間を巡回せしめる。この図26では、ノ
ード6aからノード6bに送られるデータ単位を8a、
ノード6bより送出されるデータ単位を8b、ノード6
cで受けられるデータ単位を8c、ノード6cからノー
ド6dに送られるデータ単位を8d、ノード6dからノ
ード6aに送られるデータ単位を8eとしている。各ノ
ード6a〜6d側では、当該ノード6a内からのメモリ
アクセス要求に基づき、ネットワーク7を巡回するデー
タ単位8a〜8eの中から要求に合致したデータ単位を
識別して、読み出し要求では該当データ単位をアクセス
要求元のノードへ転送し、書き込み要求では該当データ
単位の内容を書き換えて中継する。こうして、各ノード
6a〜6dからの分散共有メモリへのアクセス時間を短
縮することが可能となるネットワークを利用した分散共
有メモリ型システムの記憶方法を提供する。
Next, the operation will be described. Memory information composed of a set of addressed data is made to circulate among the nodes 6a to 6d in a desired order as data units 8a to 8e corresponding to the addresses. In FIG. 26, the data unit sent from the node 6a to the node 6b is 8a,
The data unit sent from the node 6b is 8b, and the node 6 is
The data unit received by c is 8c, the data unit sent from the node 6c to the node 6d is 8d, and the data unit sent from the node 6d to the node 6a is 8e. On the side of each of the nodes 6a to 6d, the data unit that matches the request is identified from the data units 8a to 8e circulating in the network 7 based on the memory access request from the node 6a, and the data unit corresponding to the request is read out. Is transferred to the node of the access request source, and in the write request, the content of the corresponding data unit is rewritten and relayed. Thus, the storage method of the distributed shared memory type system using the network, which can shorten the access time to the distributed shared memory from each of the nodes 6a to 6d, is provided.

【0006】ここで、この分散共有メモリ型システムと
は、各ノードの拡張メモリをネットワーク接続する方式
のもので、各ノードは、分散共有メモリネットワークの
情報を複製保持している。そのため、分散透過性および
耐故障性にすぐれた分散処理システムを構築することが
可能である。また、分散共有メモリの値更新はほとんど
瞬時に他ノードに転送されるため、分散処理の高速化、
リアルタイム応答性を確保しやすい利点がある。
Here, the distributed shared memory type system is a system in which the extended memory of each node is connected to the network, and each node holds duplicate information of the distributed shared memory network. Therefore, it is possible to construct a distributed processing system having excellent distributed transparency and fault tolerance. Also, since the value update of the distributed shared memory is transferred to other nodes almost instantly, the speed of distributed processing is increased,
There is an advantage that it is easy to secure real-time responsiveness.

【0007】なお、この種の共有分散メモリに関して
は、米国SYSTRAN社のSCRAMNet、米国V
MIC社のリフレクティブメモリなどが既に製品として
発売されている。このような分散共有メモリカードまた
はボードは、分散共有メモリネットワークの設定やCP
Uに対する物理アドレス設定などの設定機能を、スイッ
チ、ジャンパ線やレジスタ設定により行えるようになっ
ており、例えば、上記SCRAMNetは、CPUから
アクセス可能なコントロールレジスタにより、ネットワ
ークアービテーション設定や割り込み通知設定が行え
る。
Regarding the shared distributed memory of this type, SCRAMNet of the US company SYSRAN, V of the US
MIC's reflective memory etc. have already been released as products. Such a distributed shared memory card or board can be used for distributed shared memory network settings and CP.
Setting functions such as physical address setting for U can be performed by setting switches, jumper wires and registers. For example, the SCRAMNet has a control register accessible from the CPU, which allows network arbitration setting and interrupt notification setting. You can do it.

【0008】[0008]

【発明が解決しようとする課題】従来の協調分散処理シ
ステムは以上のように構成されているので、相互監視を
局所的にしか行っておらず、各ノードがシステム全体の
状況を見渡すことができなかった。また、共有処理デー
タや引き継ぎデータを周期的に逐一通信しているため、
その処理が重いなどの問題点があった。これらの問題点
を解決するために、分散共有メモリネットワークによる
データ共有方式を導入し、共有データや監視データの効
果的なアクセスと管理を行えるようにすることが考えら
れる。しかしながら、従来の分散共有メモリによる分散
システムには、協調分散処理システムを構築するのに必
要なシステム管理やデータ管理の機能が欠如していた。
Since the conventional cooperative distributed processing system is configured as described above, mutual monitoring is performed only locally, and each node can see the status of the entire system. There wasn't. Also, because the shared processing data and the takeover data are communicated periodically one by one,
There was a problem that the processing was heavy. In order to solve these problems, it is possible to introduce a data sharing method using a distributed shared memory network so that the shared data and the monitoring data can be effectively accessed and managed. However, the conventional distributed system using the distributed shared memory lacks the system management and data management functions necessary for constructing the cooperative distributed processing system.

【0009】また、従来の分散共有メモリ型システム
は、データ管理などの分散共有メモリとしての基本機能
の提供のみにとどまっていたため、実際にアプリケーシ
ョンシステムを構築しようとすると、システムデバッグ
やトラブル解析、あるいは故障検出のための手段に欠
け、システム構築に多大の手間と時間が必要であるなど
の問題点があった。
Further, since the conventional distributed shared memory type system only provides basic functions as a distributed shared memory such as data management, when an actual application system is constructed, system debugging, trouble analysis, or There were problems such as lack of means for detecting a failure and a great deal of time and effort required for system construction.

【0010】この発明は上記のような問題点を解消する
ためになされたもので、分散共有メモリを利用して分散
システムの各分散ノード間で、処理データとシステム管
理データを共有し、各分散ノードが運転状態を相互監視
しながら通常処理を行い、異常発生時には健全な分散ノ
ード間で異常ノードの機能代替を果たす分散処理システ
ムの協調分散処理方法を実現し、さらにそのような分散
処理システム構築に必要な諸機能を提供することを目的
とする。
The present invention has been made to solve the above-mentioned problems, and uses distributed shared memory to share processing data and system management data between distributed nodes of a distributed system, and Realize a cooperative distributed processing method of a distributed processing system in which nodes perform normal processing while mutually monitoring the operating status, and when abnormalities occur, substitute functions of abnormal nodes among healthy distributed nodes, and further construct such a distributed processing system. The purpose is to provide various functions required for.

【0011】また、この発明は、分散共有メモリを用い
た分散処理システムにおいて、アプリケーションシステ
ムを構築する際の、アプリケーションシステムのデバッ
グ、トラブル解析などを効率的に支援するための分散共
有メモリ監視装置、分散共有メモリネットワーク追跡装
置、および分散共有メモリネットワーク設定支援装置を
提供することを目的とする。
Further, according to the present invention, in a distributed processing system using a distributed shared memory, a distributed shared memory monitoring device for efficiently supporting debugging, trouble analysis, etc. of the application system when constructing the application system, A distributed shared memory network tracking device and a distributed shared memory network setting support device are provided.

【0012】[0012]

【課題を解決するための手段】請求項1に記載の発明に
係る協調分散処理方法は、各分散ノードが共有利用する
処理データが置かれた分散共有メモリ上に、状態管理テ
ーブルを置いて分散システム管理データを記録し、各分
散ノードは分散システム管理データによる相互監視を行
いながら通常処理を行って、他の分散ノードの障害を検
出すると、その障害によって喪失されるアプリケーショ
ンタスクの実行権の優先度に従って、正常な分散ノード
間で喪失機能代替を行うものである。
A cooperative distributed processing method according to a first aspect of the present invention distributes a state management table on a distributed shared memory in which processing data shared by each distributed node is stored. When system management data is recorded, each distributed node performs normal processing while performing mutual monitoring by the distributed system management data, and when a failure of another distributed node is detected, priority is given to the execution right of the application task lost due to the failure. According to the degree, the loss function substitution is performed between the normal distributed nodes.

【0013】請求項2に記載の発明に係る協調分散処理
方法は、分散共有メモリ上に分散共有メモリ管理テーブ
ルを置いてキーワード管理を行い、分散ノード間でこの
キーワードを介して共有データのアクセス管理を行うも
のである。
In the cooperative distributed processing method according to the present invention, a distributed shared memory management table is placed on the distributed shared memory for keyword management, and shared data access management is performed between the distributed nodes via this keyword. Is to do.

【0014】請求項3に記載の発明に係る協調分散処理
方法は、分散共有メモリ上にレコード管理テーブルを置
き、レコードのアクセスに際してそのレコード管理テー
ブルのセマフォの状態に基づいて分散ノード間での共有
データのレコードアクセスの排他制御を行うものであ
る。
In the cooperative distributed processing method according to the present invention, a record management table is placed on a distributed shared memory, and when accessing a record, sharing is performed among distributed nodes based on the state of the semaphore in the record management table. Exclusive control of data record access is performed.

【0015】請求項4に記載の発明に係る協調分散処理
方法は、分散共有メモリ上にノード状態監視テーブルを
置き、各分散ノードがこのノード状態監視テーブルに自
ノードの運転状態シンボルを書き込み、各分散ノードで
そのノード状態監視テーブルを参照して相互の状態監視
および異常検出を行うものである。
According to a fourth aspect of the present invention, there is provided a cooperative distributed processing method in which a node status monitoring table is placed on the distributed shared memory, and each distributed node writes the operating status symbol of its own node in the node status monitoring table. The distributed nodes refer to the node status monitoring table to mutually monitor the status and detect anomalies.

【0016】請求項5に記載の発明に係る協調分散処理
方法は、分散共有メモリ上にタスク実行管理テーブルを
置いて各分散ノード全体のアプリケーションタスクを集
中管理し、ある分散ノードが故障したときに、故障ノー
ドの機能代替可能であり、かつ優先度の高い分散ノード
が当該機能をアプリケーションタスクとして起動するも
のである。
According to a fifth aspect of the present invention, in the cooperative distributed processing method, a task execution management table is placed on the distributed shared memory to centrally manage application tasks of all distributed nodes, and when a certain distributed node fails. The function of a failed node can be replaced, and a distributed node with a high priority activates the function as an application task.

【0017】請求項6に記載の発明に係る協調分散処理
方法は、分散共有メモリ上にノード状態監視テーブルを
置き、当該ノード状態監視テーブルとあらかじめ定義さ
れた状態遷移シーケンスに従って、自ノードがモード遷
移可能かどうかの判定を行い、その判定結果をアプリケ
ーションタスクに通知するものである。
In the cooperative distributed processing method according to the present invention, a node state monitoring table is placed on the distributed shared memory, and the own node performs mode transition according to the node state monitoring table and a state transition sequence defined in advance. It determines whether or not it is possible and notifies the application task of the determination result.

【0018】請求項7に記載の発明に係る協調分散処理
方法は、故障した分散ノードが復旧した時、またはシス
テムに新たな分散ノードが参入してきた時に、その分散
ノードに健全な分散ノードから分散共有メモリの内容を
転送して、全ての分散ノードの分散共有メモリを等化す
るようにしたものである。
In the cooperative distributed processing method according to the seventh aspect of the present invention, when a failed distributed node is restored or a new distributed node joins the system, the distributed distributed node is distributed from a healthy distributed node to the distributed node. The contents of the shared memory are transferred to equalize the distributed shared memory of all distributed nodes.

【0019】請求項8に記載の発明に係る分散共有メモ
リ監視装置は、周期的に分散共有メモリの所定の領域の
値を読み出すメモリ読み出し部、およびそのメモリ読み
出し部によって読み出された値を表示装置に周期的に表
示する表示制御部を設けたものである。
According to another aspect of the present invention, there is provided a distributed shared memory monitoring apparatus which displays a memory reading unit which periodically reads a value of a predetermined area of the distributed shared memory and a value which is read by the memory reading unit. The apparatus is provided with a display control section for displaying periodically.

【0020】請求項9に記載の発明に係る分散共有メモ
リ監視装置は、前周期においてメモリ読み出し部によっ
て読み出された値と、今周期に読み出された値の差分を
算出して表示制御部に渡す差分表示制御部も備えたもの
である。
In the distributed shared memory monitoring apparatus according to the present invention, the display control unit calculates the difference between the value read by the memory reading unit in the previous cycle and the value read in the current cycle. It also has a difference display control unit to be passed to.

【0021】請求項10に記載の発明に係る分散共有メ
モリネットワーク追跡装置は、パケット受信検出部が受
信毎に検出した分散共有メモリネットワーク上のパケッ
ト内容を取得するパケット取得部、およびそのパケット
内容を受信の順に表示装置に表示する表示制御部を設け
たものである。
According to a tenth aspect of the present invention, there is provided a distributed shared memory network tracing device, wherein a packet acquisition unit for acquiring packet contents on the distributed shared memory network detected by the packet reception detection unit for each reception, and a packet acquisition unit A display control unit for displaying on a display device in the order of reception is provided.

【0022】請求項11に記載の発明に係る分散共有メ
モリネットワーク追跡装置は、メモリ更新に関連するパ
ケットには含まれていない情報を表示制御部に渡すパケ
ット関連情報読み出し部も備えたものである。
The distributed shared memory network tracking device according to the invention of claim 11 also comprises a packet related information reading unit for passing information not included in the packet related to the memory update to the display control unit. .

【0023】請求項12に記載の発明に係る分散共有メ
モリネットワーク追跡装置は、ユーザの指定するパケッ
ト条件を取得してパケット取得部と表示制御部に渡すパ
ラメータ設定部も備えたものである。
The distributed shared memory network tracking device according to the invention of claim 12 is also provided with a parameter setting unit for acquiring the packet condition designated by the user and passing it to the packet acquisition unit and the display control unit.

【0024】請求項13に記載の発明に係る分散共有メ
モリネットワーク設定支援装置は、ユーザによって指定
されるパラメータが分散共有メモリネットワーク設定レ
ジスタの制御機能設定であれば設定情報を作成して設定
レジスタに設定し、設定参照であれば分散共有メモリネ
ットワーク設定レジスタより設定情報を読み出して、表
示装置の表示を制御する表示制御部に渡す分散共有メモ
リネットワーク設定レジスタ参照設定部を設けたもので
ある。
In the distributed shared memory network setting support apparatus according to the invention described in claim 13, if the parameter designated by the user is the control function setting of the distributed shared memory network setting register, setting information is created and stored in the setting register. For setting and setting reference, a distributed shared memory network setting register reference setting unit for reading setting information from the distributed shared memory network setting register and passing the setting information to the display control unit for controlling the display of the display device is provided.

【0025】請求項14に記載の発明に係る分散共有メ
モリネットワーク設定支援装置は、タイマーを設けて、
表示制御部を一定時間周期で起動するようにしたもので
ある。
The distributed shared memory network setting support device according to the invention of claim 14 has a timer,
The display control unit is activated at fixed time intervals.

【0026】請求項15に記載の発明に係る分散共有メ
モリネットワーク設定支援装置は、前周期において分散
共有メモリネットワーク設定レジスタ参照設定部によっ
て読み出された値と、今周期で読み出された値との差分
を算出し、それに基づいて表示装置の表示を制御する差
分表示制御部も備えたものである。
According to the fifteenth aspect of the present invention, in the distributed shared memory network setting support device, the value read by the distributed shared memory network setting register reference setting unit in the previous cycle and the value read in the current cycle are set. Is also provided, and a difference display control unit for controlling the display of the display device based on the calculated difference.

【0027】[0027]

【作用】請求項1に記載の発明における協調分散処理方
法は、複雑なプロトコルや通信遅延がほとんどない簡
単、かつ高速なデータ共有機能である分散共有メモリネ
ットワークを用いることで、分散システムに必要な処理
データと管理データの効率的な共有化と複製管理を可能
とする。また、各分散ノードは通常処理、すなわちアプ
リケーションタスクを実行しながら、分散共有メモリ上
の状態管理テーブルの自エントリに自ノードの状態を書
き込むとともに、他の分散ノードの状態をチェックす
る。そして、このテーブル監視により他の分散ノードの
異常が検出されれば、異常ノードが実行していたアプリ
ケーションタスクを実行可能な健全な分散ノード間で分
担し、分散処理システム全体でバックアップを行う。各
分散ノードのタスク実行状況も分散共有メモリ上の状態
管理テーブルに置かれていて、喪失タスクの実行形式プ
ログラムとデータを有し、かつ優先度が高い健全な分散
ノードが喪失タスクの引継実行を行う。この分担結果は
タスク実行状況テーブルに書き込まれる。こうして、分
散共有メモリ上に共有データと分散システム管理データ
を置くことにより、故障した分散ノードを検出してその
喪失機能を健全な分散ノード群でバックアップすること
が可能な分散処理システムを実現する。
The cooperative distributed processing method according to the invention described in claim 1 is required for a distributed system by using a distributed shared memory network which is a simple and high-speed data sharing function with little complicated protocol and communication delay. It enables efficient sharing of processing data and management data and management of replication. Further, each distributed node writes the status of its own node in its own entry of the status management table on the distributed shared memory and checks the status of other distributed nodes while executing normal processing, that is, application tasks. Then, if an abnormality of another distributed node is detected by this table monitoring, the application task executed by the abnormal node is shared among the sound distributed nodes that can execute the backup, and the entire distributed processing system performs backup. The task execution status of each distributed node is also placed in the state management table on the distributed shared memory, and the healthy distributed node that has the execution format program and data of the lost task and has a high priority is responsible for the succession execution of the lost task. To do. This sharing result is written in the task execution status table. Thus, by placing the shared data and the distributed system management data on the distributed shared memory, a distributed processing system capable of detecting a failed distributed node and backing up its loss function with a healthy distributed node group is realized.

【0028】請求項2に記載の発明における協調分散処
理方法は、分散共有メモリのアドレスとサイズとキーワ
ードを管理する分散共有メモリ管理テーブルを設け、各
アプリケーションタスクは、分散共有メモリを領域確保
する際にキーワードを指定して上記テーブルの検索機能
を呼び出すことにより、キーワード登録されたメモリ領
域のアドレスを得てメモリアクセスを行う。分散共有メ
モリ管理テーブルは分散共有メモリ上にあるため、テー
ブル操作すると直ちに他の分散ノードの分散共有メモリ
管理テーブルにも反映される。これにより、各分散ノー
ド間で共有データをキーワードによって管理することを
可能とする。
According to a second aspect of the present invention, there is provided a distributed shared memory management table for managing addresses, sizes, and keywords of the distributed shared memory, and each application task is required to secure an area for the distributed shared memory. By calling the search function of the above table by designating a keyword to, the memory access is performed by obtaining the address of the memory area registered with the keyword. Since the distributed shared memory management table is on the distributed shared memory, it is immediately reflected in the distributed shared memory management table of another distributed node when the table is operated. This enables shared data to be managed by keywords between the distributed nodes.

【0029】請求項3に記載の発明における協調分散処
理方法は、分散共有メモリ上の共有データをレコードと
してアクセス排他制御を行うことを目的とするもので、
各タスクは、分散共有メモリ上にセマフォ付きレコード
を確保すると、同レコードに対する読み書きアクセスを
セマフォチェックして行う。他の分散ノードからのアク
セス排他をしたい場合には、一旦セマフォロックして、
操作後にセマフォフリーにする。セマフォがロックされ
ていれば、アクセスは拒否される。このセマフォ付きレ
コードは分散共有メモリ上にあるため、テーブル操作を
すると直ちに他の分散ノードのテーブルにも反映され
る。これにより、分散ノード間でのレコード操作の排他
制御を可能とする。
A coordinated distributed processing method according to a third aspect of the present invention is intended to perform access exclusive control using shared data on a distributed shared memory as a record.
After allocating a record with a semaphore in the distributed shared memory, each task performs semaphore check for read / write access to the record. If you want to exclude access from other distributed nodes, lock the semaphore once,
Make semaphore free after operation. If the semaphore is locked, access is denied. Since this record with semaphore is on the distributed shared memory, it is immediately reflected on the table of other distributed nodes when the table operation is performed. This enables exclusive control of record operations between distributed nodes.

【0030】請求項4に記載の発明における協調分散処
理方法は、分散共有メモリ上に分散システムの各分散ノ
ードの状態監視テーブルを置き、各ホストで周期的また
は事象駆動で同テーブルの自エントリに自ノードの状態
を書き込むタスクを動かすことにより、状態監視テーブ
ルの参照によって各分散ノードの状態チェックを可能と
する。また、同タスクが同テーブルの更新をタイムアウ
ト監視することにより、突然の分散ノードの故障等を検
出可能とし、タスクが検出した他の分散ノードの異常
を、割り込み通信により他の任意のタスク、一般的には
分散故障対処タスクに通知することにより、分散共有メ
モリ上での各分散ノードの状態監視と異常検出を可能と
する。
According to a fourth aspect of the present invention, in the cooperative distributed processing method, the state monitoring table of each distributed node of the distributed system is placed on the distributed shared memory, and each host periodically or event-drives its own entry in the table. By running the task that writes the status of its own node, the status of each distributed node can be checked by referring to the status monitoring table. In addition, the same task can detect a sudden failure of the distributed node by monitoring the update of the table for timeout, and the abnormality of the other distributed node detected by the task can be interrupted by any other task. In particular, by notifying the distributed failure coping task, it becomes possible to monitor the status of each distributed node and detect anomalies on the distributed shared memory.

【0031】請求項5に記載の発明における協調分散処
理方法は、各分散ノードでどのアプリケーションタスク
が実行されているかを示したタスク管理テーブルを分散
共有メモリ上に置き、他の分散ノードの故障が検出通知
されたときに、故障対処部がタスク管理テーブルから、
当該故障分散ノードが実行していたアプリケーションタ
スクを得る。故障対処部は、この故障によって喪失した
アプリケーションタスクの中で自ノードが実行可能な、
すなわちプログラムとデータを持ち、かつ自ノードの優
先度が高いアプリケーションタスクを分担する。このタ
スク分担結果はタスク管理テーブルに反映され、各分散
ノードのタスク実行管理部が分担されたアプリケーショ
ンタスクを起動する。これら一連の動作は各分散ノード
において実行され、故障した分散ノードの処理を分散処
理システム全体で協調的に相補するように動作する。
In the cooperative distributed processing method according to the fifth aspect of the present invention, a task management table indicating which application task is being executed in each distributed node is placed in the distributed shared memory, and the failure of other distributed nodes is prevented. When the detection notification is sent, the failure coping unit uses the task management table to
Get the application task that the fault distribution node was executing. The failure coping unit can execute its own node among the application tasks lost due to this failure.
That is, an application task having a program and data and having a high priority of its own node is shared. The task assignment result is reflected in the task management table, and the task execution management unit of each distributed node activates the assigned application task. These series of operations are executed in each distributed node, and operate so as to cooperatively complement the processing of the failed distributed node in the entire distributed processing system.

【0032】請求項6に記載の発明における協調分散処
理方法は、システム全体の立上げおよび立下げ時におい
て、分散ノードは起動停止またはモード遷移の順序制御
が必要であるときに有効なもので、各分散ノードが分散
共有メモリ上の状態監視テーブルの自エントリのモード
遷移をする度にモード状態を変更し、各分散ノードでは
自分の起動停止またはモード遷移において遷移可能な分
散ノードの順序系列にあるかどうかをノード状態監視テ
ーブルを参照して決定し、モード遷移可能な場合、状態
遷移タスクに判定結果をシグナルやメッセージなどのタ
スク間通信機能によって通知し、状態遷移タスクにより
分散ノードの起動停止またはモード遷移を制御する。
According to a sixth aspect of the present invention, there is provided a cooperative distributed processing method, which is effective when starting and stopping the entire system and when it is necessary to control the order of start / stop or mode transition of distributed nodes. Each distributed node changes the mode state each time it makes a mode transition of its own entry in the state monitoring table on the distributed shared memory, and each distributed node has an order sequence of distributed nodes that can transition in its own start / stop or mode transition. Whether the mode transition is possible is determined by referring to the node state monitoring table, and the state transition task is notified of the determination result by the inter-task communication function such as signal and message, and the state transition task starts or stops the distributed node. Control mode transitions.

【0033】請求項7に記載の発明における協調分散処
理方法は、故障した分散ノードが復旧した時、またはシ
ステムに分散ノードの新規参入があった時に、健全な分
散ノードより分散共有メモリ内容をリフレッシュするこ
とにより、同内容を分散共有メモリネットワークを介し
て、復旧または新規参入した分散ノードの分散共有メモ
リに反映させる。これにより、復旧または新規参入した
分散ノードの分散共有メモリ上にある共有データが健全
な分散ノードの共有データと等化され、復旧または新規
参入した分散ノードが通常処理を実行開始する。
According to the cooperative distributed processing method of the invention described in claim 7, the content of the distributed shared memory is refreshed from a healthy distributed node when the failed distributed node is restored or when a new distributed node newly enters the system. By doing so, the same contents are reflected in the distributed shared memory of the restored or newly entered distributed node via the distributed shared memory network. As a result, the shared data in the distributed shared memory of the restored or newly joined distributed node is equalized with the shared data of the healthy distributed node, and the restored or newly joined distributed node starts executing normal processing.

【0034】請求項8に記載の発明におけるメモリ読み
出し部は、分散ノードの各分散共有メモリを分散共有メ
モリネットワークで接続した分散処理システムにおける
分散共有メモリの、指定されたアドレスまたは領域の値
を周期的に読み出し、刻々変化する分散共有メモリの内
容(アドレスまたは領域の値)を所定の周期で表示させ
ることにより、自ノードあるいは他ノードのアプリケー
ションによる分散共有メモリの値の変更を(ユーザ)が
動的に監視可能とする。
According to an eighth aspect of the present invention, a memory reading unit periodically sets a value of a specified address or area of a distributed shared memory in a distributed processing system in which each distributed shared memory of a distributed node is connected by a distributed shared memory network. By changing the value of the distributed shared memory (the value of the address or the area) that changes from moment to moment in a predetermined cycle, the user can change the value of the distributed shared memory by the application of the local node or another node. Can be monitored.

【0035】請求項9に記載の発明における差分表示制
御部は、メモリ読み出し部が前周期において読み出した
値と今周期で読み出した値の差分を算出して、それを表
示制御部に渡すことにより、前周期と値に変化があった
ものについてのみ表示装置の表示を変更する。
According to the ninth aspect of the invention, the difference display control section calculates the difference between the value read by the memory reading section in the previous cycle and the value read in the current cycle, and passes the difference to the display control section. , The display on the display device is changed only for those having a change in the previous period and the value.

【0036】請求項10に記載の発明におけるパケット
取得部は、分散ノードの各分散共有メモリを分散共有メ
モリネットワークで接続した分散処理システムにおい
て、パケット受信検出部がその受信の度に検出した分散
共有メモリネットワーク上のパケットの内容を取得して
表示制御装置に渡し、それを受信の順番に表示させるこ
とにより、分散共有メモリネットワーク上での分散共有
メモリの更新順序の追跡を可能とし、分散共有メモリの
並行アクセス動作の正当性を確認できるようにする。
According to a tenth aspect of the present invention, the packet acquisition unit is a distributed processing system in which the distributed shared memories of the distributed nodes are connected by a distributed shared memory network, and the packet sharing detection unit detects the distributed sharing each time the packet is received. By acquiring the contents of packets on the memory network, passing them to the display controller, and displaying them in the order of reception, it is possible to track the update order of the distributed shared memory on the distributed shared memory network, and the distributed shared memory Make it possible to confirm the legitimacy of the parallel access operation of.

【0037】請求項11に記載の発明におけるパケット
関連情報読み出し部は、パケットには含まれてはいない
メモリ更新に関連する情報を取得して、それを表示制御
部に渡すことにより、パケット取得部の読み出したパケ
ット内容とともにその関連情報も表示可能とする。
According to the eleventh aspect of the present invention, the packet-related information reading unit acquires the information related to the memory update, which is not included in the packet, and passes it to the display control unit. The related information can be displayed together with the packet contents read by the.

【0038】請求項12に記載の発明におけるパラメー
タ設定部は、ユーザが指定するパケット条件を取得して
パケット取得部と表示制御部に渡すことにより、パケッ
ト条件に応じたパケットの読み出し、表示制御を可能と
する。
According to the twelfth aspect of the present invention, the parameter setting unit acquires the packet condition designated by the user and transfers the packet condition to the packet acquisition unit and the display control unit so that the packet reading and display control according to the packet condition are performed. It is possible.

【0039】請求項13に記載の発明における分散共有
メモリネットワーク設定レジスタ参照設定部は、分散ノ
ードの各分散共有メモリを分散共有メモリネットワーク
で接続した分散処理システムに設けられ、分散共有メモ
リネットワークの制御機能の設定情報が設定される分散
共有メモリネットワーク設定レジスタに対して、ユーザ
の指定するパラメータが制御機能設定であれば設定情報
を作成してそれに設定し、設定参照であればそれより設
定情報を読み出して表示装置に表示させることにより、
分散共有メモリネットワークの各種設定、およびその設
定情報の参照を容易にする。
The distributed shared memory network setting register reference setting unit according to the thirteenth aspect of the present invention is provided in a distributed processing system in which each distributed shared memory of a distributed node is connected by a distributed shared memory network, and controls the distributed shared memory network. For the distributed shared memory network setting register where the setting information of the function is set, if the parameter specified by the user is the control function setting, create the setting information and set it, and if it is the setting reference, set the setting information from it. By reading out and displaying on the display device,
It facilitates various settings of the distributed shared memory network and reference to the setting information.

【0040】請求項14に記載の発明におけるタイマー
は、設定された時間周期で参照設定部の設定参照機能を
起動することにより、設定レジスタの設定情報を周期的
に表示する。
The timer according to the invention of claim 14 periodically displays the setting information of the setting register by activating the setting reference function of the reference setting section at a set time cycle.

【0041】請求項15に記載の発明における差分表示
制御部は、分散共有メモリネットワーク設定レジスタ参
照設定部が、前周期において読み出した値と今周期で読
み出した値との差分を算出して、それを表示制御部に渡
すことにより、前周期と値に変化があったものについて
のみ表示装置の表示を変更する。
According to the fifteenth aspect of the present invention, in the difference display control section, the distributed shared memory network setting register reference setting section calculates the difference between the value read in the previous cycle and the value read in the current cycle, and the difference is calculated. Is passed to the display control unit, the display of the display device is changed only for those having a change in the previous period and the value.

【0042】[0042]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1はこの発明の実施例1による協調分散処理方
法を用いた分散処理システムを示すブロック図である。
図において、10a〜10dは当該システムを形成する
コントローラまたは計算機などによる分散ノードで、1
1はCPU、12は主メモリ、13は分散共有メモリで
ある。各分散ノード10a〜10dはこれらCPU1
1、主メモリ12、および分散共有メモリ13にて構成
されている。また、14は各分散ノード10a〜10d
で共有利用される分散共有メモリ13上の共有データで
あり、15は分散システム管理データが格納された分散
共有メモリ13上の状態監視テーブルである。さらに、
CPU11内において、16は当該CPU11の複数の
アプリケーションタスク、17はこれら各アプリケーシ
ョンタスク16の実行を制御するタスク実行制御部であ
り、18は自ノードの状態を状態監視テーブル15に記
録するとともに、状態監視テーブル15を参照して他の
分散ノードの異常を検出する状態監視部、19は他の分
散ノードに故障が検出された場合に、必要なアプリケー
ションタスク16の処理をタスク実行制御部17に依頼
する故障対処部である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. 1 is a block diagram showing a distributed processing system using a cooperative distributed processing method according to a first embodiment of the present invention.
In the figure, reference numerals 10a to 10d denote distributed nodes including a controller or a computer that form the system.
Reference numeral 1 is a CPU, 12 is a main memory, and 13 is a distributed shared memory. Each of the distributed nodes 10a to 10d has the CPU 1
1, a main memory 12, and a distributed shared memory 13. Further, 14 is each of the distributed nodes 10a to 10d.
15 is a shared data on the distributed shared memory 13 that is shared and used in the above, and 15 is a state monitoring table on the distributed shared memory 13 in which the distributed system management data is stored. further,
In the CPU 11, 16 is a plurality of application tasks of the CPU 11, 17 is a task execution control unit that controls the execution of each of these application tasks 16, 18 records the state of its own node in the state monitoring table 15, and A state monitoring unit that refers to the monitoring table 15 to detect an abnormality in another distributed node, and 19 requests the task execution control unit 17 to perform necessary application task 16 processing when a failure is detected in another distributed node. This is a failure coping unit.

【0043】また、20はこれら各分散ノード10a〜
10dの分散共有メモリ13を直接接続している分散共
有メモリネットワークであり、各分散ノード10a〜1
0dの分散共有メモリ13の内容変更は、この分散共有
メモリネットワーク20を介して各分散ノード10a〜
10dの動作とは独立に、各分散ノード10a〜10d
の分散共有メモリ13に通信されてそのメモリ内容が反
映される。なお、この分散共有メモリネットワーク20
のメディアは光、電気、電波のいずれであってもよく、
さらに、そのトポロジーもバス型、リング型、スター
型、無線型のいずれであってもよい。
Reference numeral 20 denotes each of these distributed nodes 10a ...
A distributed shared memory network in which the distributed shared memory 13 of 10d is directly connected, and each distributed node 10a-1
The contents of the distributed shared memory 13 of 0d are changed via the distributed shared memory network 20 by each distributed node 10a ...
Independent of the operation of 10d, each distributed node 10a-10d
And the contents of the memory are reflected. The distributed shared memory network 20
Media may be light, electricity or radio waves,
Further, its topology may be any of bus type, ring type, star type, and wireless type.

【0044】次に動作について説明する。ここで、各分
散ノード10a〜10dは互いに対等であり、符号を読
み替えるだけで全く同様に動作するものであるため、以
下分散ノード10aにおける動作について説明し、他の
分散ノード10b〜10dについてはその説明を省略す
る。今、分散ノード10aのCPU11が分散共有メモ
リ13に書き込みを行うと、そのアドレスおよび内容が
分散共有メモリネットワーク20を介して、他の分散ノ
ード10b〜10dの分散共有メモリ13に転送され、
同じアドレスに同じ内容が書き込まれる。すなわち、各
分散ノード10a〜10dの分散共有メモリ13は通信
遅延を除いて等価である。CPU11は複数のアプリケ
ーションタスク16を実行し、各アプリケーションタス
ク16の実行処理は主メモリ12上にある局所データお
よび分散共有メモリ13上の共有データ14をアクセス
して進める。なお、どのアプリケーションタスク16を
実行するかは、タスク実行制御部17が制御する。
Next, the operation will be described. Here, since the distributed nodes 10a to 10d are equal to each other and operate in exactly the same way only by changing the reference numerals, the operation in the distributed node 10a will be described below, and the other distributed nodes 10b to 10d will be described. The description is omitted. Now, when the CPU 11 of the distributed node 10a writes to the distributed shared memory 13, the address and contents thereof are transferred to the distributed shared memory 13 of the other distributed nodes 10b to 10d via the distributed shared memory network 20,
The same contents are written at the same address. That is, the distributed shared memory 13 of each of the distributed nodes 10a to 10d is equivalent except for communication delay. The CPU 11 executes a plurality of application tasks 16, and the execution processing of each application task 16 advances by accessing the local data on the main memory 12 and the shared data 14 on the distributed shared memory 13. The task execution control unit 17 controls which application task 16 is executed.

【0045】ここで、図2はCPU11の状態監視部1
8、故障対処部19、およびタスク実行制御部17によ
る処理の流れを示すフローチャートである。状態監視部
18はステップST1においてまず、タスク終了時また
は周期的に分散共有メモリ13の状態監視テーブル15
に分散ノード10a自身の状態を記録する。次にステッ
プST2において、上記ステップST1を実行した時、
あるいは指定されたタイミングで状態監視テーブル15
を参照し、ステップST3で他の分散ノード10b〜1
0dの異常状態あるいはタイムアウト発生などの障害発
生をチェックする。その結果、他の分散ノード10b〜
10dの1つ、例えば分散ノード10bに異常が検出さ
れると、ステップST4において、故障対処部19に分
散ノード10bが故障した旨を通知する。一方、他の分
散ノード10b〜10dに異常が検出されなかった場合
には、そのままステップST8に分岐してタスク実行制
御部17に処理を渡す。
Here, FIG. 2 shows the state monitoring unit 1 of the CPU 11.
8 is a flowchart showing the flow of processing by the failure handling unit 19, the task handling control unit 17, and the task execution control unit 17. In step ST1, the state monitoring unit 18 first starts the state monitoring table 15 of the distributed shared memory 13 at the end of the task or periodically.
The state of the distributed node 10a itself is recorded in. Next, in step ST2, when step ST1 is executed,
Alternatively, the state monitoring table 15 may be set at a specified timing.
And other distributed nodes 10b to 1 in step ST3.
The occurrence of a fault such as an abnormal state of 0d or occurrence of timeout is checked. As a result, the other distributed nodes 10b-
When an abnormality is detected in one of the 10d, for example, the distributed node 10b, in step ST4, the failure coping unit 19 is notified that the distributed node 10b has failed. On the other hand, when no abnormality is detected in the other distributed nodes 10b to 10d, the process directly branches to step ST8 and the process is passed to the task execution control unit 17.

【0046】状態監視部18より故障通知を受け取った
故障対処部19は、ステップST5でその故障通知に従
って、故障した分散ノード10bのバックアップの是非
を計算する。次にステップST6において、状態監視テ
ーブル15を参照して故障した分散ノード10bのタス
ク実行状態を調べ、故障した分散ノード10bが実行し
ていたアプリケーションタスク16、すなわちこの故障
による喪失タスクの実行権の次点優先度を当該分散ノー
ド10aが持っているか否かをチェックする。チェック
の結果、そのアプリケーションタスク16の実行権の次
点優先度を持っていれば、ステップST7でタスク実行
制御部17にそのアプリケーションタスク16の名称ま
たは識別子を通知する。一方、実行権の次点優先度を持
っていなければ、そのままステップST8に分岐してタ
スク実行制御部17に処理を渡す。なお、そのような場
合には、分散ノード10bの故障によって喪失したアプ
リケーションタスク16の実行権の次点優先度を持って
いる分散ノード10cもしくは10dによって以下の処
理が実行される。
Upon receipt of the failure notification from the state monitoring section 18, the failure handling section 19 calculates whether or not to back up the failed distributed node 10b according to the failure notification in step ST5. Next, in step ST6, the task execution state of the faulty distributed node 10b is checked by referring to the state monitoring table 15, and the application task 16 executed by the faulty distributed node 10b, that is, the execution right of the lost task due to this fault is confirmed. It is checked whether or not the distributed node 10a has the second runner priority. As a result of the check, if the application task 16 has the second runner priority of the execution right, the task execution control unit 17 is notified of the name or identifier of the application task 16 in step ST7. On the other hand, if it does not have the second priority of the execution right, the process directly branches to step ST8 and the process is passed to the task execution control unit 17. In such a case, the following processing is executed by the distributed node 10c or 10d having the second priority of the execution right of the application task 16 lost due to the failure of the distributed node 10b.

【0047】故障対処部19より喪失したアプリケーシ
ョンタスク16の名称または識別子の通知を受けたタス
ク実行制御部17は、ステップST8においてそのアプ
リケーションタスク16を現在実行中のアプリケーショ
ンタスク16に加えて、担当アプリケーションタスク1
6の再編成を行い、ステップST9でその再編成された
アプリケーションタスク16を分散共有メモリ13の状
態監視テーブル15に記録する。次にステップST10
において、CPU11はその状態監視テーブル15を参
照して実行すべきアプリケーションタスク16を決定
し、主メモリ12上にある局所データおよび分散共有メ
モリ13上の共有データ14をアクセスして、そのアプ
リケーションタスク16の処理を進める。これによっ
て、故障対処部19から依頼された喪失タスクの処理が
CPU11において実行される。以下ステップST1に
戻ってこの一連の処理を繰り返すことにより、分散ノー
ド10bの故障で喪失されるアプリケーションタスク1
6を、健全な分散ノード10a(10c、10d)が協
調分散的にバックアップし、共有データ14も欠損する
ことなく、分散処理システム全体のアプリケーションタ
スク16の実行継続を行うことができる。
Upon receiving the notification of the name or identifier of the lost application task 16 from the failure handling unit 19, the task execution control unit 17 adds the application task 16 to the currently executing application task 16 in step ST8, Task 1
6 is reorganized, and the reorganized application task 16 is recorded in the state monitoring table 15 of the distributed shared memory 13 in step ST9. Next, step ST10
2, the CPU 11 refers to the status monitoring table 15 to determine the application task 16 to be executed, accesses the local data in the main memory 12 and the shared data 14 in the distributed shared memory 13, and then the application task 16 Process. As a result, the CPU 11 executes the process of the lost task requested by the failure handling unit 19. After that, by returning to step ST1 and repeating this series of processes, the application task 1 lost due to the failure of the distributed node 10b.
6, the sound distributed nodes 10a (10c, 10d) back up in a coordinated distributed manner, and the execution of the application task 16 of the entire distributed processing system can be continued without losing the shared data 14.

【0048】実施例2.図3はこの発明の実施例2によ
る協調分散処理方法を用いた分散処理システムの要部を
示すブロック図である。図において、11はCPU、1
3は分散共有メモリ、14は共有データ、15は状態監
視テーブル、16はアプリケーションタスク、20は分
散共有メモリネットワークで、図1に同一符号を付した
実施例1におけるそれらに相当する部分であり、10は
図1に符号10a〜10dを付した分散ノードを代表的
に1つだけ示したものであるため、それらの詳細な説明
は省略する。また、21は分散共有メモリ13上の任意
サイズのメモリ領域に設定され、共有データ14をアク
セス管理するためのキーワードの管理に用いられる分散
共有メモリ管理テーブルであり、22はこの分散共有メ
モリ管理テーブル21へのアクセスを制御する分散共有
メモリ管理テーブルアクセス制御部である。
Example 2. FIG. 3 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to the second embodiment of the present invention. In the figure, 11 is a CPU, 1
3 is a distributed shared memory, 14 is shared data, 15 is a state monitoring table, 16 is an application task, and 20 is a distributed shared memory network, which are portions corresponding to those in the first embodiment denoted by the same reference numerals in FIG. Since only one distributed node 10 is designated by the reference numerals 10a to 10d in FIG. 1, detailed description thereof will be omitted. Further, 21 is a distributed shared memory management table which is set in a memory area of an arbitrary size on the distributed shared memory 13 and is used for management of keywords for access management of the shared data 14, and 22 is this distributed shared memory management table. 21 is a distributed shared memory management table access control unit that controls access to the memory 21.

【0049】次に動作について説明する。アプリケーシ
ョンタスク16が分散共有メモリ管理テーブルアクセス
制御部22に対して、共有データ14をキーワードとし
て分散共有メモリ13上に設けた分散共有メモリ管理テ
ーブル21へのアクセスを要求すると、分散共有メモリ
管理テーブルアクセス制御部22は分散共有メモリ管理
テーブル21を参照して、共有データ14の登録されて
いる特定データのアドレスとサイズをアプリケーション
タスク16に返す。これによって、アプリケーションタ
スク16は特定データをアドレス参照できるようにな
る。分散共有メモリ管理テーブル21にキーワードを登
録するときにも、サイズとキーワードを指定して分散共
有メモリ管理テーブルアクセス制御部22を呼び出す。
分散共有メモリ管理テーブルアクセス制御部22は指定
されたサイズを確保できれば、それを分散共有メモリ管
理テーブル21に登録する。一方、指定されたサイズが
確保できなければ、登録が失敗したことをアプリケーシ
ョンタスク16に通知する。なお、登録抹消の場合も同
様である。分散共有メモリ管理テーブル21を変更する
と、分散共有メモリネットワーク20により直ちに他の
分散ノードの分散共有メモリ管理テーブルにもそれが反
映されるため、分散ノード間でアドレスではなく、この
キーワードを介した共有データ14のアクセス管理を行
うことが可能となる。
Next, the operation will be described. When the application task 16 requests the distributed shared memory management table access control unit 22 to access the distributed shared memory management table 21 provided on the distributed shared memory 13 using the shared data 14 as a keyword, the distributed shared memory management table access The control unit 22 refers to the distributed shared memory management table 21 and returns the address and size of the registered specific data of the shared data 14 to the application task 16. This allows the application task 16 to refer to specific data by address. Also when registering a keyword in the distributed shared memory management table 21, the size and the keyword are specified and the distributed shared memory management table access control unit 22 is called.
If the specified size can be secured, the distributed shared memory management table access control unit 22 registers it in the distributed shared memory management table 21. On the other hand, if the specified size cannot be secured, the application task 16 is notified that the registration has failed. The same applies to the case of deregistration. When the distributed shared memory management table 21 is changed, the distributed shared memory network 20 immediately reflects it in the distributed shared memory management tables of other distributed nodes. Therefore, the distributed shared memory management table 21 is not shared between distributed nodes but via this keyword. It is possible to manage access to the data 14.

【0050】実施例3.図4はこの発明の実施例3によ
る協調分散処理方法を用いた分散処理システムの要部を
示すブロック図であり、相当部分には図3と同一符号を
付してその説明を省略する。図において、23は分散共
有メモリ13内の共有データ14にあるレコード、24
はこの共有データ14の各レコード23の排他制御をレ
コード単位で管理するためのレコード管理テーブル24
であり、25はCPU11内に設けられ、アプリケーシ
ョンタスク16がレコード23をアクセスする際に用い
るレコード管理テーブルアクセス制御部である。
Example 3. FIG. 4 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a third embodiment of the present invention. Corresponding parts are designated by the same reference numerals as those in FIG. 3 and their explanations are omitted. In the figure, 23 is a record in the shared data 14 in the distributed shared memory 13, and 24 is a record.
Is a record management table 24 for managing exclusive control of each record 23 of this shared data 14 in record units.
Reference numeral 25 is a record management table access control unit provided in the CPU 11 and used when the application task 16 accesses the record 23.

【0051】次に動作について説明する。分散共有メモ
リ13内には、共有データ14にあるレコード23を単
位に排他制御を管理するレコード管理テーブル24が用
意されており、このレコード管理テーブル24は、レコ
ード23のアドレス、サイズおよびセマフォからなるエ
ントリの配列となっている。アプリケーションタスク1
6は共有データ14のレコード23をアクセスする際に
そのレコード管理テーブルアクセス制御部25を呼び出
し、レコード管理テーブルアクセス制御部25はレコー
ド管理テーブル24を参照して、まずアクセスするレコ
ード23のセマフォをチェックする。その結果、セマフ
ォフリー状態であればそのセマフォをロックした後、レ
コード23の読み書きを行い、セマフォロック状態であ
ればセマフォがフリーになるまで待つ。ここで、レコー
ド管理テーブル24は分散共有メモリ13上にあるか
ら、セマフォは各分散ノードで共有されている。従っ
て、セマフォロックまたはフリーの操作は他の分散ノー
ドに直ちに反映され、同一レコード情報の分散ノード間
でのアクセス排他制御が管理される。
Next, the operation will be described. In the distributed shared memory 13, a record management table 24 that manages exclusive control for each record 23 in the shared data 14 is prepared. The record management table 24 includes the address, size, and semaphore of the record 23. It is an array of entries. Application task 1
6 calls the record management table access control unit 25 when accessing the record 23 of the shared data 14, and the record management table access control unit 25 refers to the record management table 24 and first checks the semaphore of the record 23 to be accessed. To do. As a result, if the semaphore is in the free state, the semaphore is locked, then the record 23 is read and written, and if it is in the semaphore locked state, it waits until the semaphore becomes free. Here, since the record management table 24 is on the distributed shared memory 13, the semaphore is shared by each distributed node. Therefore, the semaphore lock or free operation is immediately reflected in other distributed nodes, and the access exclusive control between the distributed nodes of the same record information is managed.

【0052】実施例4.図5はこの発明の実施例4によ
る協調分散処理方法を用いた分散処理システムの要部を
示すブロック図であり、相当部分には図3と同一符号を
付してその説明を省略する。図において、26は分散共
有メモリ13上に用意され、各分散ノードの運転状態が
記録されるノード状態監視テーブルであり、27はこの
ノード状態監視テーブル26に当該分散ノード10自身
の運転状態を書き込むとともに、このノード状態監視テ
ーブル26を参照して他の分散ノードの運転状態をチェ
ックして異常な分散ノードの検出を行うノード状態監視
テーブルアクセス制御部である。
Example 4. FIG. 5 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a fourth embodiment of the present invention. Corresponding parts are designated by the same reference numerals as those in FIG. 3 and their explanations are omitted. In the figure, reference numeral 26 is a node state monitoring table prepared on the distributed shared memory 13 and in which the operating states of the respective distributed nodes are recorded, and 27 is the operating state of the distributed node 10 itself written in this node state monitoring table 26. At the same time, it is a node state monitoring table access control unit that refers to the node state monitoring table 26 to check the operating states of other distributed nodes and detect abnormal distributed nodes.

【0053】次に動作について説明する。分散共有メモ
リ13内には、各分散ノードの運転状態が記録されるノ
ード状態監視テーブル26が用意されており、このノー
ド状態監視テーブル26は、各分散ノードのノード番号
とそれぞれの運転状態シンボルをエントリとする配列と
なっている。ノード状態監視テーブルアクセス制御部2
7はアプリケーションタスク16によって、タスク終了
時あるいは周期的などの所定のタイミングで呼び出され
ると、当該分散ノード10自身の運転状態をノード状態
監視テーブル26に書き込む。また、アプリケーション
タスク16によって呼び出されたノード状態監視テーブ
ルアクセス制御部27は、ノード状態監視テーブル26
を参照して各分散ノードの運転状態をチェックし、異常
が発生した分散ノードの検出を行い、その異常検出結果
をアプリケーションタスク16に返送する。さらに、ア
プリケーションタスク16がノード状態監視テーブルア
クセス制御部27に割り込み通知登録を行っておくと、
シグナルやイベントといった割り込み通知機構によりそ
れがアプリケーションタスク16に通知される。ノード
状態監視テーブル26を用いた異常検出は、異常状態シ
ンボルが書き込まれているか、または、一定時間その分
散ノードの運転状態シンボルの更新がなかった場合に行
われる。このように、ノード状態監視テーブル26を分
散共有メモリ13上に置くことにより、ネットワーク2
0に接続されている各分散ノードのノード状態がひとつ
のテーブルで集中管理できる。
Next, the operation will be described. In the distributed shared memory 13, a node status monitoring table 26 is prepared in which the operating status of each distributed node is recorded. The node status monitoring table 26 shows the node number of each distributed node and each operating status symbol. It is an array that is used as an entry. Node status monitoring table access controller 2
When the application task 16 is called by the application task 16 at any predetermined timing such as when the task ends, the operating state of the distributed node 10 itself is written in the node state monitoring table 26. The node status monitoring table access control unit 27 called by the application task 16 uses the node status monitoring table 26.
The operating state of each distributed node is checked, the distributed node in which an abnormality has occurred is detected, and the abnormality detection result is returned to the application task 16. Furthermore, when the application task 16 registers the interrupt notification in the node status monitoring table access control unit 27,
It is notified to the application task 16 by an interrupt notification mechanism such as a signal or an event. The abnormality detection using the node state monitoring table 26 is performed when the abnormal state symbol is written or when the operating state symbol of the distributed node has not been updated for a certain period of time. In this way, by placing the node state monitoring table 26 on the distributed shared memory 13, the network 2
The node status of each distributed node connected to 0 can be centrally managed in one table.

【0054】実施例5.この実施例5は図5に示した実
施例4による協調分散処理方法を用いた分散処理システ
ムにおいて、CPU11のノード状態監視テーブルアク
セス制御部27を、分散ノード10の運転状態シンボル
をノード状態監視テーブル26に周期的に書き込むノー
ド状態監視テーブル更新部28と、他の分散ノードの状
態監視および異常検出を行って、その結果をあらかじめ
指定されたアプリケーションタスク16に通知するノー
ド異常検出部29とに分離したものである。図6はその
ようなこの発明の実施例5による協調分散処理方法の要
部を示すブロック図であり、他の部分には図5の相当部
分と同一符号を付してその説明を省略する。
Example 5. In the distributed processing system using the cooperative distributed processing method according to the fourth embodiment shown in FIG. 5, the fifth embodiment uses the node status monitoring table access control unit 27 of the CPU 11 to set the operation status symbol of the distributed node 10 to the node status monitoring table. 26 is separated into a node state monitoring table updating unit 28 that periodically writes to 26 and a node abnormality detecting unit 29 that performs state monitoring and abnormality detection of other distributed nodes and notifies the application task 16 of the result thereof in advance. It was done. FIG. 6 is a block diagram showing an essential part of such a cooperative distributed processing method according to a fifth embodiment of the present invention. The other parts are given the same reference numerals as the corresponding parts in FIG. 5 and their explanations are omitted.

【0055】このように、この実施例5はノード状態監
視テーブルアクセス制御部27をノード状態監視テーブ
ル更新部28とノード異常検出部29に分離した構成を
とっており、ノード状態監視テーブル更新部28は一定
の周期でノード状態監視テーブル26に分散ノード10
の運転状態シンボルの書き込みを行っており、ノード異
常検出部29はノード状態監視テーブル26の運転状態
シンボルの異常と、ノード状態監視テーブル更新部28
の書き込み周期のタイムアウトのチェックを行ってい
る。
As described above, in the fifth embodiment, the node state monitoring table access control unit 27 is separated into the node state monitoring table updating unit 28 and the node abnormality detecting unit 29, and the node state monitoring table updating unit 28 is used. Shows the distributed node 10 in the node state monitoring table 26 at regular intervals.
Of the operating status symbol of the node status monitoring table 26 and the node status monitoring table updating section 28.
Checking the write cycle timeout.

【0056】実施例6.図7はこの発明の実施例6によ
る協調分散処理方法を用いた分散処理システムの要部を
示すブロック図であり、相当部分には図6と同一符号を
付してその説明を省略する。図において、30はアプリ
ケーションタスク16のロード、実行、待機、終了等の
実行制御を管理するタスク実行制御部であり、31はこ
のタスク実行制御部30によるアプリケーションタスク
16の実行制御に際して参照されるタスク実行管理テー
ブルである。32はノード異常検出部29からの異常通
知を受けると、必要に応じてタスク実行管理テーブル3
1を更新して、必要なアプリケーションタスク16の処
理をタスク実行制御部30に依頼する故障対処部であ
る。
Example 6. FIG. 7 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a sixth embodiment of the present invention. Corresponding parts are designated by the same reference numerals as those in FIG. 6 and their explanations are omitted. In the figure, 30 is a task execution control unit that manages execution control such as loading, execution, standby, and termination of the application task 16, and 31 is a task that is referred to when the task execution control unit 30 controls execution of the application task 16. It is an execution management table. When receiving the abnormality notification from the node abnormality detection unit 29, the task execution management table 32 receives the task execution management table 3 as necessary.
1 is a failure coping unit for requesting the task execution control unit 30 to process the required application task 16 by updating 1.

【0057】次に動作について説明する。タスク実行制
御部30は、タイマやイベントやI/O等のタスク制御
タイミングに基づいて、各アプリケーションタスク16
のロード、実行、待機、終了等の実行制御を管理してい
る。このタスク実行制御部30によるタスク実行制御の
状況は、各アプリケーションタスク16の識別名または
識別番号と、上記アプリケーションタスク16のタスク
実行モードを示すシンボルと、どの分散ノードがそのア
プリケーションタスク16を実行可能であるかを示す実
行優先度からなるエントリを持ったタスク実行管理テー
ブル31を用いて集中管理されている。このタスク実行
管理テーブル31は分散ノード10自身のアプリケーシ
ョンタスク16だけでなく、他の分散ノード全体のアプ
リケーションタスクを管理する。
Next, the operation will be described. The task execution control unit 30 controls each application task 16 based on the task control timing such as timers, events, and I / O.
It manages the execution control such as loading, executing, waiting, and ending. The status of task execution control by the task execution control unit 30 includes the identification name or identification number of each application task 16, a symbol indicating the task execution mode of the application task 16, and which distributed node can execute the application task 16. It is centrally managed by using a task execution management table 31 having an entry having an execution priority indicating whether or not The task execution management table 31 manages not only the application tasks 16 of the distributed node 10 itself but also the application tasks of other distributed nodes as a whole.

【0058】分散ノード10のタスク実行制御部30は
タスク制御タイミングにおいて、制御されるアプリケー
ションタスク16の実行権の優先度が最も高い分散ノー
ドが自ノードであれば、そのアプリケーションタスク1
6の制御を実行する。また、故障対処部32はノード異
常検出部29からの異常通知を受けて、故障した分散ノ
ードが実行担当していた喪失アプリケーションタスクの
うち、被制御アプリケーションタスクの実行優先度が次
に高い分散ノードが自ノードであれば、そのアプリケー
ションタスクを実行担当するようにタスク実行管理テー
ブル31を更新する。タスク実行制御部30はこのタス
ク実行管理テーブル31を参照してアプリケーションタ
スクの制御を実行することにより、その分担されたアプ
リケーションタスクの制御をバックアップする。
At the task control timing, the task execution control unit 30 of the distributed node 10 determines that if the distributed node having the highest priority of execution right of the controlled application task 16 is its own node, the application task 1
6 control is executed. Further, the failure coping unit 32 receives the abnormality notification from the node abnormality detection unit 29, and among the lost application tasks that the failed distributed node was in charge of executing, the distributed application node having the second highest execution priority of the controlled application task. If the node is its own node, the task execution management table 31 is updated to be in charge of executing the application task. The task execution control unit 30 refers to the task execution management table 31 and executes the control of the application task to back up the control of the assigned application task.

【0059】実施例7.図8はこの発明の実施例7によ
る協調分散処理方法を用いた分散処理システムの要部を
示すブロック図であり、相当部分には図6と同一符号を
付してその説明を省略する。図において、33は分散ノ
ード10におけるあらかじめ定義された自ノードの状態
遷移シーケンスであり、34は他の分散ノードの運転状
態シンボルが、前記状態遷移シーケンス33に沿って自
ノードの状態遷移を発生させる条件に一致すれば、当該
分散ノード10自身の状態を遷移させる状態遷移タスク
である。
Example 7. FIG. 8 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a seventh embodiment of the present invention. Corresponding parts are designated by the same reference numerals as those in FIG. 6 and their explanations are omitted. In the figure, 33 is a pre-defined state transition sequence of its own node in the distributed node 10, and 34 is an operating state symbol of another distributed node, causing a state transition of its own node along the state transition sequence 33. This is a state transition task for transitioning the state of the distributed node 10 itself if the conditions are met.

【0060】次に動作について説明する。分散ノード1
0の状態遷移タスク34は、分散状態、すなわちノード
状態監視テーブル26における他の分散ノードの運転状
態シンボルが、あらかじめ定義された当該分散ノード1
0自身の状態遷移シーケンス33に沿って自ノードの状
態遷移を発生させる条件に一致すれば、分散ノード10
自身の状態を遷移させる。この状態遷移はアプリケーシ
ョンタスク16に独立に行っても、アプリケーションタ
スク16からシーケンスとタイミングを制御するように
してもかまわない。この状態遷移に際しては、ノード状
態監視テーブル26の自ノードの運転状態シンボルの更
新も行う。なお、この処理は実施例4におけるノード状
態監視テーブルアクセス制御部27が行うようにしても
かまわない。このように、ノード状態監視テーブル26
に各分散ノードのモード状態を書き込み、自ノードがモ
ード遷移可能かどうかを判定して、その判定結果をアプ
リケーションタスク16に通知することにより、各分散
ノードの状態遷移を分散状態と連携して管理制御するこ
とができ、システム全体の立上げおよび立下げ時のノー
ド起動停止順序を管理することが可能となる。
Next, the operation will be described. Distributed node 1
The state transition task 34 of 0 is a distributed state, that is, the operating state symbols of other distributed nodes in the node state monitoring table 26 have the predefined distributed node 1
If the condition that causes the state transition of its own node along the state transition sequence 33 of 0 itself is met, the distributed node 10
Transitions its own state. This state transition may be performed independently of the application task 16 or the application task 16 may control the sequence and timing. At the time of this state transition, the operating state symbol of the own node in the node state monitoring table 26 is also updated. Note that this processing may be performed by the node state monitoring table access control unit 27 in the fourth embodiment. In this way, the node status monitoring table 26
The state transition of each distributed node is managed in cooperation with the distributed state by writing the mode state of each distributed node to the node, determining whether the node can make the mode transition, and notifying the application task 16 of the determination result. It is possible to control, and it becomes possible to manage the node start-up / shutdown sequence at the time of starting and shutting down the entire system.

【0061】実施例8.図9はこの発明の実施例8によ
る協調分散処理方法を用いた分散処理システムの要部を
示すブロック図であり、相当部分には図3と同一符号を
付してその説明を省略する。図において、10nは当該
分散処理システムに新規参入したり故障より復旧した分
散ノードである。35はこの新たな分散ノード10nお
よび稼働中の分散ノード10の分散共有メモリ13上
の、共有データおよび状態管理テーブルを含んだデータ
であり、36はこの新たな分散ノード10nと稼働中の
分散タスク10のデータ35の内容を等化するための分
散共有メモリ等化タスクである。
Example 8. FIG. 9 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to an eighth embodiment of the present invention. Corresponding parts are designated by the same reference numerals as those in FIG. 3 and their explanations are omitted. In the figure, 10n is a distributed node that has newly entered the distributed processing system or recovered from a failure. Reference numeral 35 is data including shared data and a state management table on the distributed shared memory 13 of the new distributed node 10n and the operating distributed node 10, and 36 is the new distributed node 10n and the operating distributed task. This is a distributed shared memory equalization task for equalizing the contents of 10 data 35.

【0062】次に動作について説明する。当該システム
に分散ノード10nが新規参入すると、当該分散ノード
10nの分散共有メモリ13上の共有データおよび状態
管理データを含むデータ35は、他の分散ノード10の
データ35とは一致していない。そこで、分散ノード1
0中のいずれかにおいて分散共有メモリ等化タスク36
を起動し、当該分散ノード10の分散共有メモリ13上
のデータ35の内容をアドレス順に読み取り、それを新
規参入した分散ノード10nに転送してその分散共有メ
モリ13上にデータ35の再書き込みを行っていく。こ
れにより、新規参入した分散ノード10nのデータ35
がリフレッシュされて、その内容が他の分散ノード10
のデータ35の内容と等化される。なお、故障中の分散
ノードが復旧した場合も全く同様である。また、分散共
有メモリ等化タスク36の起動は、該当する分散ノード
10において手動で行っても、タイマやイベントやI/
Oをトリガにして行ってもよく、さらには、実施例7の
状態遷移タスク34からの通知に基づいて行うようにし
てもかまわない。
Next, the operation will be described. When the distributed node 10n newly enters the system, the data 35 including the shared data and the state management data on the distributed shared memory 13 of the distributed node 10n does not match the data 35 of other distributed nodes 10. Therefore, distributed node 1
Distributed shared memory equalization task 36 in any of 0
To read the contents of the data 35 in the distributed shared memory 13 of the distributed node 10 in the order of addresses, transfer it to the newly entered distributed node 10n, and rewrite the data 35 in the distributed shared memory 13. To go. As a result, the data 35 of the newly entered distributed node 10n
Is refreshed, and the contents of the other distributed node 10
Is equalized with the contents of the data 35 of The same applies to the case where the faulty distributed node is restored. Further, even if the distributed shared memory equalization task 36 is started manually in the corresponding distributed node 10, a timer, an event, an I / O
It may be performed by using O as a trigger, or may be performed based on the notification from the state transition task 34 of the seventh embodiment.

【0063】実施例9.図10はこの発明の実施例9に
よる分散共有メモリ監視装置を示すブロック図である。
図において、10は分散ノード、11はCPU、12は
主メモリ、13は分散共有メモリ、20は分散共有メモ
リネットワークであり、これらは図3などに同一符号を
付して示した部分と同等のものである。また、40は分
散ノード10のCPU11に接続されたディスプレイや
プリンタなどの表示装置であり、41はこの表示装置4
0に表示される値が格納されている分散共有メモリ13
の部分領域(指定されたアドレスまたは領域)である。
また、CPU11内において、42はユーザパラメータ
の処理を行うパラメータ処理部、43は表示装置40へ
の表示周期が設定されるタイマーであり、44はこのタ
イマー43によって周期的に起動され、分散共有メモリ
13の指定されたアドレスまたは領域、すなわち前記部
分領域41の値を読み出すメモリ読み出し部としてのデ
ータ処理部、45はデータ処理部44が分散共有メモリ
13の部分領域41から読み出した値を表示装置40に
表示する表示制御部である。
Example 9. 10 is a block diagram showing a distributed shared memory monitoring device according to a ninth embodiment of the present invention.
In the figure, 10 is a distributed node, 11 is a CPU, 12 is a main memory, 13 is a distributed shared memory, and 20 is a distributed shared memory network, which are equivalent to the parts denoted by the same reference numerals in FIG. It is a thing. Further, 40 is a display device such as a display or printer connected to the CPU 11 of the distributed node 10, and 41 is this display device 4.
Distributed shared memory 13 in which the value displayed in 0 is stored
Is a partial area (specified address or area).
Further, in the CPU 11, 42 is a parameter processing unit for processing user parameters, 43 is a timer for setting a display cycle on the display device 40, 44 is periodically activated by the timer 43, and distributed shared memory 13, a data processing unit as a memory reading unit that reads out the value of the specified address or area, that is, the value of the partial area 41, 45 indicates the value read by the data processing section 44 from the partial area 41 of the distributed shared memory 13. It is a display control unit for displaying.

【0064】次に動作について説明する。この場合も、
分散共有メモリネットワーク20には複数の分散ノード
10の分散共有メモリ13は直接接続されており、それ
ぞれの分散ノード10は独立に動作する。なお、図10
ではそれら複数の分散ノード10を1つの分散ノード1
0で代表させて示している。ここで、分散共有メモリ1
3の内容は他ノードの書き込みによって、自ノードのC
PU11の動作とは独立にその値が変化する。従って自
ノードのアプリケーションとは独立な手段で、分散共有
メモリ13の状態を動的に監視する必要がある。この実
施例9では、システム構築者(ユーザ)が分散共有メモ
リ13の内容を動的に監視するために、指定した分散共
有メモリ13のアドレスまたは領域の値を表示装置40
に指定の周期で表示している。以下、図11に示すフロ
ーチャートを参照しながら、分散共有メモリ13の部分
領域41の内容表示の処理手順を説明する。
Next, the operation will be described. Also in this case,
The distributed shared memories 13 of a plurality of distributed nodes 10 are directly connected to the distributed shared memory network 20, and each distributed node 10 operates independently. Note that FIG.
Then, the plurality of distributed nodes 10 are replaced by one distributed node 1
It is represented by 0. Here, the distributed shared memory 1
The contents of 3 are written by another node, and
Its value changes independently of the operation of PU11. Therefore, it is necessary to dynamically monitor the state of the distributed shared memory 13 by means independent of the application of the own node. In the ninth embodiment, in order for the system builder (user) to dynamically monitor the contents of the distributed shared memory 13, the value of the specified address or area of the distributed shared memory 13 is displayed on the display device 40.
Is displayed at the specified cycle. The processing procedure for displaying the contents of the partial area 41 of the distributed shared memory 13 will be described below with reference to the flowchart shown in FIG.

【0065】処理が開始されると、パラメータ処理部4
2はステップST11において、ユーザが指定した動作
パラメータの、分散共有メモリ13の表示すべき部分領
域41のアドレスとその表示周期を取得する。この取得
されたアドレスはデータ処理部44に与えられ、表示周
期はタイマー43に設定される。次に、ステップST1
2でデータ処理部44が起動されて、指定されたアドレ
スに基づいて分散共有メモリ13の部分領域41をアク
セスし、格納されている値を読み出してそのアドレスと
ともに表示制御部45に渡す。次にステップST13に
おいて、表示制御部45は受け取った部分領域41のア
ドレスとその値を、ディスプレイやプリンタなどの表示
装置40に表示する。
When the processing is started, the parameter processing unit 4
In step ST11, 2 acquires the address of the partial area 41 to be displayed in the distributed shared memory 13 and the display cycle of the operation parameter designated by the user. The acquired address is given to the data processing unit 44, and the display cycle is set in the timer 43. Next, step ST1
In 2, the data processing unit 44 is activated to access the partial area 41 of the distributed shared memory 13 based on the specified address, read the stored value, and pass it to the display control unit 45 together with the address. Next, in step ST13, the display control unit 45 displays the received address of the partial area 41 and its value on the display device 40 such as a display or a printer.

【0066】次にステップST14で当該内容表示の処
理がすべて終わったか否かの判定を行う。その結果、処
理が終わっていなければステップST15に進んでタイ
マー43をセットし、ステップST16でタイマー待ち
の状態に入る。タイマー43がタイムアップすると、ス
テップST12に戻って再度データ処理部44を起動
し、上記一連の処理をステップST14で当該内容表示
の処理がすべて終わったことが検出されるまで繰り返
す。これによって、分散共有メモリ13の所定の部分領
域41の値が、ユーザの指定した表示周期に従って周期
的に表示装置40に表示される。
Next, in step ST14, it is determined whether or not the processing of displaying the contents is completed. As a result, if the processing is not completed, the process proceeds to step ST15 to set the timer 43, and at step ST16, the timer wait state is entered. When the timer 43 times out, the process returns to step ST12, the data processing unit 44 is activated again, and the series of processes described above is repeated until it is detected in step ST14 that the process of displaying the contents is completed. As a result, the value of the predetermined partial area 41 of the distributed shared memory 13 is periodically displayed on the display device 40 in accordance with the display cycle designated by the user.

【0067】図12はこのようにして表示が行われた表
示装置40の表示例を示す説明図である。各行には分散
共有メモリ13の部分領域41の16バイトの内容が1
6進表示され、各行の先頭には16バイトの最初のアド
レスが表示されている。このような行が1行以上一度に
表示される。なお、一行に表示されるバイト数はいくつ
でもよく、その表示方法もビット列、4進、8進、アス
キー表示などが選択できる。また、先頭アドレスは必ず
しも表示してもしなくてもよい。
FIG. 12 is an explanatory diagram showing a display example of the display device 40 thus displayed. The 16-byte contents of the partial area 41 of the distributed shared memory 13 is 1 in each row.
It is displayed in hexadecimal, and the first address of 16 bytes is displayed at the beginning of each line. One or more such lines are displayed at once. Any number of bytes can be displayed in one line, and the display method can be selected from bit string, quaternary, octal, ASCII display and the like. Further, the head address does not always have to be displayed.

【0068】このように、指定された分散共有メモリ1
3のアドレスまたは領域(部分領域41)の値が指定の
周期で表示装置40に表示されるため、ユーザは自ノー
ドあるいは他ノードのアプリケーションによる分散共有
メモリ13の値変更を動的に監視することが可能とな
る。
Thus, the specified distributed shared memory 1
Since the value of the address 3 or the value of the area (partial area 41) is displayed on the display device 40 at a specified cycle, the user can dynamically monitor the value change of the distributed shared memory 13 by the application of the own node or another node. Is possible.

【0069】実施例10.図13はこの発明の実施例1
0による分散共有メモリ監視装置を示すブロック図であ
り、相当部分には図10と同一符号を付してその説明を
省略する。図において、46は表示制御部45における
差分表示を支援するための差分表示制御部であり、47
は前周期の部分領域41の値を保存するためのバッファ
である。この実施例10はこれら差分表示制御部46お
よびバッファ47を備えている点で前記実施例9とは異
なっている。
Example 10. FIG. 13 is a first embodiment of the present invention.
FIG. 11 is a block diagram showing a distributed shared memory monitoring device according to 0, corresponding portions are assigned the same reference numerals as in FIG. 10, and description thereof will be omitted. In the figure, 46 is a difference display control unit for supporting the difference display in the display control unit 45, and 47
Is a buffer for storing the value of the partial area 41 in the previous cycle. The tenth embodiment differs from the ninth embodiment in that the difference display control unit 46 and the buffer 47 are provided.

【0070】次に動作について説明する。データ処理部
44は分散共有メモリ13の部分領域41をアクセスし
て読み出した値を表示制御部45に送り、表示制御部4
5はそれを差分表示制御部46に転送する。ここで、バ
ッファ47には前の周期に読み出された部分領域41の
値が保存されており、差分表示制御部46は表示制御部
45より送られてきた値を、バッファ47に保存されて
いる前周期の値と比較し、その差分を表示制御部45に
返送する。表示制御部45はこの差分のみを表示変更す
るように表示装置40を制御する。従って、表示変更さ
れるのは分散共有メモリ13の部分領域41で前周期と
値に変化があったものだけである。このように、変更部
分だけを印字あるいは表示変更することにより、画面更
新が高速、かつちらつきがなくなってユーザが読み易く
なり、また反転表示や強調表示を行うことにより、変更
部分だけを判り易くすることもできる。
Next, the operation will be described. The data processing unit 44 accesses the partial area 41 of the distributed shared memory 13 and sends the read value to the display control unit 45, and the display control unit 4
5 transfers it to the difference display control unit 46. Here, the buffer 47 stores the value of the partial area 41 read in the previous cycle, and the difference display control unit 46 stores the value sent from the display control unit 45 in the buffer 47. The value of the previous cycle is compared and the difference is returned to the display control unit 45. The display control unit 45 controls the display device 40 so as to change the display of only this difference. Therefore, the display is changed only in the partial region 41 of the distributed shared memory 13 in which the value is changed from the previous period. In this way, by printing or changing only the changed part, the screen can be updated at high speed and the flicker is eliminated, making it easier for the user to read. Also, by performing reverse display or highlighted display, only the changed part can be easily understood. You can also

【0071】実施例11.図14はこの発明の実施例1
1による分散共有メモリネットワーク追跡装置を示すブ
ロック図であり、相当部分には図10と同一符号を付し
てその説明を省略する。図において、48は分散共有メ
モリネットワーク20を流れる分散共有メモリ更新パケ
ット(パケット)であり、49はこの分散共有メモリ更
新パケット48が格納される分散共有メモリ13上の特
定エリアである。50はこの分散共有メモリ更新パケッ
ト48の受信を検出するパケット受信検出部、51は分
散共有メモリ13上の特定エリア49から分散共有メモ
リ更新パケット48を読み出してそのパケット内容を取
得するパケット取得部であり、52は読み出された分散
共有メモリ更新パケット48の内容を表示装置40に表
示する表示制御部である。
Example 11. FIG. 14 is a first embodiment of the present invention.
FIG. 11 is a block diagram showing a distributed shared memory network tracking device according to No. 1, and corresponding portions are given the same reference numerals as those in FIG. 10 and description thereof is omitted. In the figure, 48 is a distributed shared memory update packet (packet) flowing through the distributed shared memory network 20, and 49 is a specific area on the distributed shared memory 13 in which the distributed shared memory update packet 48 is stored. Reference numeral 50 is a packet reception detection unit that detects reception of the distributed shared memory update packet 48, and 51 is a packet acquisition unit that reads the distributed shared memory update packet 48 from the specific area 49 on the distributed shared memory 13 and acquires the packet contents. There is a display control unit 52 for displaying the content of the read distributed shared memory update packet 48 on the display device 40.

【0072】次に動作について説明する。この場合も、
分散共有メモリネットワーク20には複数の分散ノード
10の分散共有メモリ13は直接接続されており、それ
ぞれの分散ノードは独立に動作する。ここで、分散共有
メモリ13を用いた分散処理システムでは、各分散ノー
ド10が設計通りに動作しても、並行動作する各分散ノ
ード10のメモリ書き込み順序によっては、全体システ
ムとして設計通りの動作をしない場合がある。このよう
なトラブル解析のために、この実施例11では、分散共
有メモリネットワーク20の分散共有メモリ更新パケッ
ト48を受信毎に検出し、受信パケットの内容を受信順
に表示装置40に表示している。以下、図15に示すフ
ローチャートを参照しながら、受信した分散共有メモリ
更新パケット48の内容表示の処理手順を説明する。
Next, the operation will be described. Also in this case,
The distributed shared memories 13 of a plurality of distributed nodes 10 are directly connected to the distributed shared memory network 20, and each distributed node operates independently. Here, in the distributed processing system using the distributed shared memory 13, even if each distributed node 10 operates as designed, depending on the memory writing order of each distributed node 10 operating in parallel, the entire system may operate as designed. There are times when you don't. For such trouble analysis, in the eleventh embodiment, the distributed shared memory update packet 48 of the distributed shared memory network 20 is detected for each reception, and the contents of the received packet are displayed on the display device 40 in the order of reception. The processing procedure for displaying the content of the received distributed shared memory update packet 48 will be described below with reference to the flowchart shown in FIG.

【0073】まず、分散共有メモリネットワーク20を
流れる分散共有メモリ更新パケット48は分散ノード1
0の分散共有メモリ13に読み出され、当該分散共有メ
モリ13上の特定エリア49に格納される。これによっ
て分散共有メモリ13のメモリ値変更処理が行われる。
パケット受信検出部50はステップST21において、
この分散共有メモリ更新パケット48の受信の有無を監
視している。パケット受信検出部50にて分散共有メモ
リ更新パケット48の受信が検出されると、パケット取
得部51はステップST22において、分散共有メモリ
13上の特定エリア49に格納されている分散共有メモ
リ更新パケット48を読み出し、そのパケット情報を表
示制御部52に渡して次のパケット受信を待つ。なお、
このパケット情報は分散共有メモリ13の値とアドレス
を含んでいる。次に、表示制御部52はステップST2
3において、ディスプレイやプリンタなどの表示装置4
0にその分散共有メモリ更新パケット48の内容を表示
する。この一連の処理は、ステップST24にて処理の
終了が検出されるまで繰り返される。
First, the distributed shared memory update packet 48 flowing through the distributed shared memory network 20 is sent to the distributed node 1
It is read to the distributed shared memory 13 of 0 and stored in the specific area 49 on the distributed shared memory 13. As a result, the memory value changing process of the distributed shared memory 13 is performed.
The packet reception detection unit 50, in step ST21,
Whether or not the distributed shared memory update packet 48 is received is monitored. When the packet reception detection unit 50 detects the reception of the distributed shared memory update packet 48, the packet acquisition unit 51 proceeds to step ST22 and the distributed shared memory update packet 48 stored in the specific area 49 on the distributed shared memory 13 is detected. Is read and the packet information is passed to the display control unit 52 to wait for the next packet reception. In addition,
This packet information includes the value and address of the distributed shared memory 13. Next, the display control unit 52 performs step ST2.
3, a display device 4 such as a display or a printer
The content of the distributed shared memory update packet 48 is displayed at 0. This series of processes is repeated until the end of the process is detected in step ST24.

【0074】図16はこのようにして表示が行われた表
示装置40の表示例を示す説明図である。各行にはメモ
リ更新アドレスと更新値が一行で表示される。なお、パ
ケット制御情報に依存するが、パケット送信元ノード番
号、パケットチェックサムなどを付帯情報として表示す
ることもでき、ユーザの指定により表示しないようにす
ることもできる。図示の例では、この付帯情報としてパ
ケット送信元ノード番号も表示されている。また、表示
方法はビット列、4進、8進、16進などが選択でき
る。なお、前記パケット制御情報とは、優先度や割り込
み情報などを示す情報である。
FIG. 16 is an explanatory diagram showing a display example of the display device 40 thus displayed. The memory update address and the update value are displayed in one line in each line. Although depending on the packet control information, the packet transmission source node number, the packet checksum, etc. can be displayed as supplementary information, or the user can specify not to display them. In the illustrated example, the packet transmission source node number is also displayed as this additional information. Also, the display method can be selected from bit strings, quaternary, octal, hexadecimal and the like. The packet control information is information indicating priority, interrupt information, and the like.

【0075】このように、分散共有メモリネットワーク
20の分散共有メモリ更新パケット48が受信毎に検出
されて、その内容が表示装置40に受信の順番に表示さ
れるので、分散共有メモリネットワーク20上での分散
共有メモリ更新順序を追跡することが可能となり、分散
共有メモリ13の並行アクセス動作の正当性をユーザが
確認できるようになる。
In this way, the distributed shared memory update packet 48 of the distributed shared memory network 20 is detected each time it is received, and its contents are displayed in the order of reception on the display device 40. The distributed shared memory update order can be traced, and the user can confirm the correctness of the parallel access operation of the distributed shared memory 13.

【0076】実施例12.図17はこの発明の実施例1
2による分散共有メモリネットワーク追跡装置を示すブ
ロック図であり、相当部分には図14と同一符号を付し
てその説明を省略する。図において、53は主メモリ1
2内の更新時刻、54はメモリ更新前の値が保存されて
いる分散共有メモリ13内の領域であり、55はこの更
新時刻53および領域54に保存されていたメモリ更新
前の値などのパケットには含まれないがメモリ更新に関
連のあるパケット関連情報を読み出し、それをパケット
取得部51が読み出した情報に付加して表示制御部52
に渡すパケット関連情報読み出し部である。
Example 12 FIG. 17 is a first embodiment of the present invention.
15 is a block diagram showing a distributed shared memory network tracking device according to No. 2, in which the corresponding portions are given the same reference numerals as in FIG. 14 and their description is omitted. In the figure, 53 is the main memory 1
2 is an update time, 54 is an area in the distributed shared memory 13 in which the value before the memory update is stored, 55 is a packet such as the value before the memory update stored in the update time 53 and the area 54 Packet-related information that is not included in the above, but is related to the memory update, adds it to the information read by the packet acquisition unit 51, and adds it to the display control unit 52.
It is a packet related information reading unit to be passed to the.

【0077】次に動作について説明する。パケット関連
情報読み出し部55は分散共有メモリ更新パケット48
には含まれないがメモリ更新に関連する情報、例えば分
散共有メモリ13の領域54に保存されているメモリ更
新前の値や、更新時刻53を取得し、それらをパケット
取得部51が分散共有メモリ13上の特定エリア49よ
り読み出した分散共有メモリ更新パケット48の情報と
ともに表示制御部52に渡す。表示制御部52はこの分
散共有メモリ更新パケット48の情報に加えて、前記メ
モリ更新に関連する情報を表示装置40に表示する。こ
のように、分散共有メモリ更新パケット48の情報に加
えてメモリ更新に関連する情報も表示することにより、
分散共有メモリネットワーク20において、複数の分散
ノード10が分散共有メモリ13上の特定の領域にデー
タを書き込んでいる場合に、メモリ更新時刻がずっと変
わらないところがあるならば、当該分散ノード10が故
障していると判定するなどの故障検出が可能となる。
Next, the operation will be described. The packet related information reading unit 55 uses the distributed shared memory update packet 48.
However, the packet acquisition unit 51 acquires information related to the memory update, such as the value before the memory update stored in the area 54 of the distributed shared memory 13 or the update time 53, which is not included in the distributed shared memory. The information is sent to the display control unit 52 together with the information of the distributed shared memory update packet 48 read from the specific area 49 on 13. The display control unit 52 displays information related to the memory update on the display device 40 in addition to the information of the distributed shared memory update packet 48. Thus, by displaying the information related to the memory update in addition to the information of the distributed shared memory update packet 48,
In the distributed shared memory network 20, when a plurality of distributed nodes 10 are writing data to a specific area on the distributed shared memory 13, if there is a place where the memory update time does not change, the distributed node 10 fails. It is possible to detect a failure, such as determining that there is a failure.

【0078】実施例13.図18はこの発明の実施例1
3による分散共有メモリネットワーク追跡装置を示すブ
ロック図であり、相当部分には図14と同一符号を付し
てその説明を省略する。図において、56はユーザが指
示するパケット条件を取得して、パケット取得部51お
よび表示制御部52に渡すパラメータ設定部であり、パ
ケット取得部51および表示制御部52はこのパラメー
タ設定部56の取得した条件に従って動作する点で、図
14に示したそれらとは異なっている。
Example 13. FIG. 18 shows a first embodiment of the present invention.
15 is a block diagram showing a distributed shared memory network tracking device according to No. 3, in which the corresponding portions are given the same reference numerals as in FIG. 14 and their description is omitted. In the figure, reference numeral 56 is a parameter setting unit that acquires a packet condition designated by the user and passes it to the packet acquisition unit 51 and the display control unit 52. The packet acquisition unit 51 and the display control unit 52 acquire the parameter setting unit 56. It differs from those shown in FIG. 14 in that it operates according to the above conditions.

【0079】次に動作について説明する。ユーザが指示
するパケット条件、例えば特定アドレスの更新パケット
であることや特定ノードからのパケットであることなど
をパラメータ設定部56が取得し、そのパラメータ値を
パケット取得部51と表示制御部52に渡す。パケット
取得部51は受け取ったパラメータ値に基づくパケット
条件に従って分散共有メモリ更新パケット48を読み出
し、そのパケット情報を表示制御部52に送る。表示制
御部52は受け取ったパラメータ値に基づくパケット条
件に従ってパケット取得部51からのパケット情報の表
示装置40への表示を制御する。このように、パケット
条件に従って、分散共有メモリ更新パケット48の読み
出しや表示装置40の表示制御を行うことにより、分散
共有メモリネットワーク20において、複数の分散ノー
ド10が分散共有メモリ13上の特定の領域にデータを
書き込んでいる場合に、特定の分散ノードのメモリ更新
順序を知ることが可能となる。
Next, the operation will be described. The parameter setting unit 56 acquires a packet condition designated by the user, such as an update packet of a specific address or a packet from a specific node, and passes the parameter value to the packet acquisition unit 51 and the display control unit 52. . The packet acquisition unit 51 reads the distributed shared memory update packet 48 according to the packet condition based on the received parameter value, and sends the packet information to the display control unit 52. The display control unit 52 controls the display of the packet information from the packet acquisition unit 51 on the display device 40 according to the packet condition based on the received parameter value. In this way, by reading the distributed shared memory update packet 48 and controlling the display of the display device 40 in accordance with the packet conditions, in the distributed shared memory network 20, a plurality of distributed nodes 10 can execute specific areas on the distributed shared memory 13. It becomes possible to know the memory update order of a specific distributed node when writing data to.

【0080】実施例14.図19はこの発明の実施例1
4による分散共有メモリネットワーク設定支援装置を示
すブロック図であり、相当部分には図10と同一符号を
付してその説明を省略する。図において、57はCPU
11内に配置され、分散共有メモリネットワーク20の
制御機能の設定情報が設定される分散共有メモリネット
ワーク設定レジスタであり、58は同じくCPU11内
に配置され、この分散共有メモリネットワーク設定レジ
スタ57の各ビットの意味やビット相互の関係が記述さ
れた分散共有メモリネットワーク設定レジスタプロファ
イラである。59はこれら分散共有メモリネットワーク
設定レジスタ57と分散共有メモリネットワーク設定レ
ジスタプロファイラ58よりなる分散共有メモリネット
ワークハードウェアコントロール部である。また、60
はユーザが指示する制御機能設定、設定参照のパラメー
タを取得して、分散共有メモリネットワーク設定レジス
タプロファイラ58を参照しながら、取得したパラメー
タに従って分散共有メモリネットワーク設定レジスタ5
7の制御機能設定および設定参照の処理を行う分散共有
メモリネットワーク設定レジスタ参照設定部である。6
1は設定参照時にこの分散共有メモリネットワーク設定
レジスタ参照設定部60から送られてきた情報を表示装
置40に表示する表示制御部である。
Example 14. FIG. 19 shows the first embodiment of the present invention.
FIG. 11 is a block diagram showing a distributed shared memory network setting support device according to No. 4, in which the corresponding portions are given the same reference numerals as in FIG. 10 and their description is omitted. In the figure, 57 is a CPU
11 is a distributed shared memory network setting register in which the setting information of the control function of the distributed shared memory network 20 is set, and 58 is also arranged in the CPU 11 and each bit of the distributed shared memory network setting register 57 Is a distributed shared memory network setting register profiler that describes the meaning of and the relationship between bits. Reference numeral 59 denotes a distributed shared memory network hardware control unit including the distributed shared memory network setting register 57 and the distributed shared memory network setting register profiler 58. Also, 60
Refers to the distributed shared memory network setting register profiler 58 by acquiring parameters for control function setting and setting reference designated by the user, and according to the acquired parameters, the distributed shared memory network setting register 5
7 is a distributed shared memory network setting register reference setting unit that performs control function setting and setting reference processing of FIG. 6
Reference numeral 1 denotes a display control unit for displaying on the display device 40 the information sent from the distributed shared memory network setting register reference setting unit 60 at the time of setting reference.

【0081】次に動作について説明する。この場合も、
分散共有メモリネットワーク20には複数の分散ノード
10の分散共有メモリ13は直接接続されており、それ
ぞれの分散ノードは独立に動作する。ここで、分散共有
メモリカードまたは分散共有メモリボードは、分散共有
メモリネットワーク20の設定やCPU11に対する物
理アドレス設定などの設定機能を、スイッチやジャンパ
線、あるいはレジスタ設定により行えるようになってい
る。例えば、SCRAMNetはCPUからアクセス可
能なコントロールテータスレジスタ(以下CSRとい
う)により、ネットワークアービテーション設定や割り
込み通知設定を行うことができる。この実施例14は、
当該設定機能のうちのCPU11から設定可能な機能、
すなわちソフトウェア的に設定可能な機能について、ユ
ーザが簡単に設定状態の参照や設定ができるような機能
を提供するものである。
Next, the operation will be described. Also in this case,
The distributed shared memories 13 of a plurality of distributed nodes 10 are directly connected to the distributed shared memory network 20, and each distributed node operates independently. Here, the distributed shared memory card or the distributed shared memory board can perform setting functions such as setting of the distributed shared memory network 20 and setting of a physical address for the CPU 11 by using switches, jumper wires, or registers. For example, SCRAMNet can perform network arbitration setting and interrupt notification setting by a control status register (hereinafter referred to as CSR) accessible from the CPU. This Example 14 is
Of the setting functions, those that can be set from the CPU 11,
That is, the present invention provides a function that allows the user to easily refer to or set the setting status of a function that can be set by software.

【0082】CPU11内には分散共有メモリネットワ
ーク20の制御機能の設定情報が設定された分散共有メ
モリネットワーク設定レジスタ57があり、この分散共
有メモリネットワーク設定レジスタ57の参照・設定に
より分散共有メモリ13および分散共有メモリネットワ
ーク20の制御機能設定が可能となっている。例えば、
SCRAMNetでは分散共有メモリ13や分散共有メ
モリネットワーク20はCSRで行われている。より具
体的には、プロトコルの選択やデータフィルタ機能があ
る。なお、このこデータフィルタ機能とは、あるデータ
が分散共有メモリ13上の特定の領域に書き込まれた場
合に、そのデータがそれ以前に書き込まれているデータ
と同一であれば、他の分散ノード10にパケットが送信
されない機能である。
The CPU 11 has a distributed shared memory network setting register 57 in which setting information of the control function of the distributed shared memory network 20 is set. By referring to and setting the distributed shared memory network setting register 57, the distributed shared memory 13 and It is possible to set the control function of the distributed shared memory network 20. For example,
In SCRAMNet, the distributed shared memory 13 and the distributed shared memory network 20 are implemented by CSR. More specifically, there are protocol selection and data filtering functions. It should be noted that this data filter function means that when a certain data is written in a specific area on the distributed shared memory 13, if the data is the same as the data written before that, another distributed node This is a function in which packets are not transmitted to 10.

【0083】以下、図20に示すフローチャートを参照
しながら、分散共有メモリネットワーク20の制御機能
の設定情報の参照や設定の処理手順を説明する。まず、
分散共有メモリネットワーク設定レジスタ参照設定部6
0はユーザによって指定される設定参照、制御機能設定
のパラメータを取得して表示制御部61に渡し、ステッ
プST31においてその取得したパラメータが設定参照
であるのか制御機能設定であるのかを識別する。その結
果、このユーザが指示するパラメータが設定参照であっ
た場合にはステップST32に進み、分散共有メモリネ
ットワーク設定レジスタ参照設定部60はユーザ指定パ
ラメータ(例えば、レジスタ番号など)に従って、分散
共有メモリネットワーク設定レジスタ57よりレジスタ
値を読み出す。その際、分散共有メモリネットワーク設
定レジスタ57の各ビットの意味やビット相互の関係を
記述した分散共有メモリネットワーク設定レジスタプロ
ファイラ58を参照し、設定状態のコメントや定義を取
得して、それを分散共有メモリネットワーク設定レジス
タ参照設定部60から得た値とともに表示制御部61に
渡す。次にステップST33において、表示制御部61
は分散共有メモリネットワーク設定レジスタ参照設定部
60から受けたレジスタ値を、その設定状態のコメント
や定義とともに、ディスプレイやプリンタなどによる表
示装置40に表示する。
The procedure for referring to and setting the setting information of the control function of the distributed shared memory network 20 will be described below with reference to the flowchart shown in FIG. First,
Distributed shared memory network setting register reference setting unit 6
0 acquires a parameter for setting reference and control function setting designated by the user and passes it to the display control unit 61, and in step ST31, it identifies whether the acquired parameter is setting reference or control function setting. As a result, if the parameter instructed by the user is the setting reference, the process proceeds to step ST32, and the distributed shared memory network setting register reference setting unit 60 follows the distributed shared memory network according to the user-specified parameter (eg register number). The register value is read from the setting register 57. At that time, the distributed shared memory network setting register profiler 58, which describes the meaning of each bit of the distributed shared memory network setting register 57 and the relationship between the bits, is referred to, the comment and definition of the setting state are acquired, and the shared sharing is performed. It is passed to the display control unit 61 together with the value obtained from the memory network setting register reference setting unit 60. Next, in step ST33, the display controller 61
Displays the register value received from the distributed shared memory network setting register reference setting unit 60 on the display device 40 such as a display or printer together with the comment and definition of the setting state.

【0084】一方、ステップST31における識別結果
が設定であった場合にはステップST34に進み、分散
共有メモリネットワーク設定レジスタ参照設定部60が
分散共有メモリネットワーク設定レジスタプロファイラ
58を参照して、分散共有メモリネットワーク設定レジ
スタ57のどこにどのような値を設定するかを調べ、ユ
ーザパラメータを設定レジスタとその値に変換して設定
情報を作成する。次にステップST35において、分散
共有メモリネットワーク設定レジスタ参照設定部60は
その作成した設定情報を基に分散共有メモリネットワー
ク設定レジスタ57に制御機能設定を行う。なお、ユー
ザからの指示があれば、この分散共有メモリネットワー
ク設定レジスタ57に設定した結果を分散共有メモリネ
ットワーク設定レジスタ参照設定部60が読み出し、表
示制御部61の制御により分散共有メモリネットワーク
設定レジスタプロファイラ58を参照して表示装置40
に表示する。
On the other hand, if the identification result in step ST31 is the setting, the process proceeds to step ST34, where the distributed shared memory network setting register reference setting unit 60 refers to the distributed shared memory network setting register profiler 58 to refer to the distributed shared memory. It is checked where and what value is set in the network setting register 57, and the user parameter is converted into the setting register and its value to create setting information. Next, in step ST35, the distributed shared memory network setting register reference setting unit 60 sets the control function in the distributed shared memory network setting register 57 based on the created setting information. If there is an instruction from the user, the distributed shared memory network setting register reference setting unit 60 reads the result set in the distributed shared memory network setting register 57, and the display control unit 61 controls the distributed shared memory network setting register profiler. Display device 40 with reference to 58
To be displayed.

【0085】図21はこのようにして表示が行われた表
示装置40の表示の一例を示す説明図である。各行に設
定機能項目と現在の設定が表示される。なお、表示項目
はユーザの指示により選択できる。また、別の表示例を
図22に示す。このこ場合には設定機能項目とは関係な
く全レジスタ情報が表示されている。なお、表示形式
は、ビット列、4進、8進、16進などユーザが指定で
きる。
FIG. 21 is an explanatory diagram showing an example of the display of the display device 40 thus displayed. The setting function items and the current settings are displayed on each line. The display item can be selected by the user's instruction. Further, another display example is shown in FIG. In this case, all register information is displayed regardless of the set function item. The display format can be specified by the user such as a bit string, quaternary, octal, or hexadecimal.

【0086】このように、ユーザの指示に従って分散共
有メモリネットワーク設定レジスタ57に設定されてい
る分散共有メモリネットワーク20の制御機能の設定情
報を読み出し、ユーザが理解しやすい形式に変換表示す
るとともに、ユーザ指示に従って分散共有メモリネット
ワーク設定レジスタ57に制御機能設定を行うことによ
り、分散共有メモリネットワーク20の制御機能のう
ち、ソフトウェア的に設定可能な機能について、ユーザ
が簡単にその設定状態の確認や設定を行える分散共有メ
モリネットワーク設定支援装置が実現できる。
As described above, the setting information of the control function of the distributed shared memory network 20 set in the distributed shared memory network setting register 57 is read according to the instruction of the user, converted and displayed in a format easy for the user to understand, and By setting the control function in the distributed shared memory network setting register 57 according to the instruction, the user can easily confirm the setting state and set the setting function of the distributed shared memory network 20 that can be set by software. A distributed shared memory network setting support device that can be realized can be realized.

【0087】実施例15.図23はこの発明の実施例1
5による分散共有メモリネットワーク設定支援装置を示
すブロック図であり、相当部分には図19と同一符号を
付してその説明を省略する。図において、62は表示制
御部61によって制御装置40の表示を周期的に行う際
の表示周期が設定されるタイマーである。なお、この実
施例15は上記実施例14のレジスタ設定機能を除き、
参照機能のみを残したものにこのタイマー62を追加し
たものである。
Example 15. FIG. 23 is a first embodiment of the present invention.
FIG. 20 is a block diagram showing a distributed shared memory network setting support device according to No. 5, corresponding parts are assigned the same reference numerals as in FIG. 19, and description thereof will be omitted. In the figure, reference numeral 62 is a timer for setting a display cycle when the display controller 61 periodically displays the control device 40. The fifteenth embodiment, except for the register setting function of the fourteenth embodiment,
This timer 62 is added to the one having only the reference function.

【0088】次に動作について説明する。分散共有メモ
リネットワーク設定レジスタ参照設定部60はタイマー
62に、表示制御部61を周期的に起動するための起動
周期を設定する。表示制御部61はこのタイマー62に
設定された周期に従って起動され、その都度、分散共有
メモリネットワーク設定レジスタ参照設定部60から渡
されたレジスタ値などの情報を表示装置40に表示す
る。このように、タイマー62は周期的に表示制御部6
1を起動するため、レジスタ設定状態が周期的に表示さ
れる。なお、ユーザ指示パラメータに従って情報が変更
された場合、その情報は変更の都度表示制御部61に渡
される。
Next, the operation will be described. The distributed shared memory network setting register reference setting unit 60 sets, in the timer 62, an activation period for periodically activating the display control unit 61. The display control unit 61 is activated according to the cycle set by the timer 62, and each time the display control unit 61 displays information such as the register value passed from the distributed shared memory network setting register reference setting unit 60 on the display device 40. In this way, the timer 62 periodically causes the display controller 6 to
Since 1 is activated, the register setting status is periodically displayed. When the information is changed according to the user instruction parameter, the information is passed to the display control unit 61 each time the information is changed.

【0089】実施例16.図24はこの発明の実施例1
6による分散共有メモリネットワーク設定支援装置を示
すブロック図であり、相当部分には図23と同一符号を
付してその説明を省略する。図において、63は表示装
置40における差分表示を制御する差分表示制御部であ
り、64は前周期の値を保存しておくためのバッファで
ある。この実施例16は実施例15の表示制御部61
を、この差分表示制御部63とバッファ64で代替した
ものである。
Example 16. FIG. 24 shows the first embodiment of the present invention.
FIG. 24 is a block diagram showing a distributed shared memory network setting support device according to No. 6, in which the corresponding portions are given the same reference numerals as in FIG. 23 and their description is omitted. In the figure, 63 is a difference display control unit for controlling the difference display in the display device 40, and 64 is a buffer for storing the value of the previous cycle. The sixteenth embodiment is a display controller 61 of the fifteenth embodiment.
Is replaced with the difference display control unit 63 and the buffer 64.

【0090】次に動作について説明する。実施例15で
説明した周期表示において、差分表示制御部63は前回
の周期における値をバッファ64に保存しておき、表示
に際しては、このバッファ64に保存されている前回の
周期の値と今回の周期の値との変更分を計算し、その変
更分のみを表示制御装置61に渡して表示装置40に表
示させる。このように、差分表示制御部63で算出した
前周期の値との変更分により、変更のあったレジスタ設
定状態のみを表示できるほか、高速、かつ、ちらつきの
ない画面表示ができる。また差分表示制御部63からの
変更分によって変更情報のみを反転表示、強調表示する
ことにより、さらに読み取りやすい表示を行うことがで
きる。
Next, the operation will be described. In the cycle display described in the fifteenth embodiment, the difference display control unit 63 stores the value in the previous cycle in the buffer 64, and at the time of display, the value of the previous cycle stored in the buffer 64 and the current cycle value are stored. The amount of change from the cycle value is calculated, and only the changed amount is passed to the display control device 61 and displayed on the display device 40. As described above, only the changed register setting state can be displayed by the changed amount with the value of the previous cycle calculated by the difference display control unit 63, and high-speed and flicker-free screen display can be performed. Further, by displaying and highlighting only the change information according to the change from the difference display control unit 63, a display that is easier to read can be performed.

【0091】[0091]

【発明の効果】請求項1に記載の発明によれば、各分散
ノードが分散共有メモリ上に置かれた状態管理テーブル
を参照して、その分散システム管理データによる相互監
視を行いながら通常処理を行い、他の分散ノードの障害
を検出すると、その障害によって喪失されるアプリケー
ションタスクの実行権の優先度に従って、正常な分散ノ
ード間で喪失機能代替を行うように構成したので、分散
処理システム、特にリアルタイム性と耐故障性が要求さ
れるシステムにおいて、複雑な通信管理や分散制御を行
うことなく、通常の分散処理および故障時の協調動作を
効率よく実施することが可能になる効果がある。
According to the first aspect of the present invention, each distributed node refers to the state management table placed on the distributed shared memory, and normal processing is performed while mutual monitoring is performed by the distributed system management data. When a failure of another distributed node is detected, the loss function substitution is performed between the normal distributed nodes according to the priority of the execution right of the application task lost due to the failure. In a system that requires real-time performance and fault tolerance, it is possible to efficiently perform normal distributed processing and cooperative operation at the time of failure without performing complicated communication management and distributed control.

【0092】請求項2に記載の発明によれば、分散共有
メモリ上の任意サイズのメモリ領域をキーワード管理を
行うための分散共有メモリ管理テーブルとし、この分散
共有メモリ管理テーブルを参照して共有データのアクセ
ス管理を行うように構成したので、分散ノード間でアド
レスによらず、そのキーワードを介して共有データのア
クセス管理を行うことができる効果がある。
According to the second aspect of the present invention, a memory area of arbitrary size on the distributed shared memory is used as a distributed shared memory management table for keyword management, and the shared data is referenced by referring to this distributed shared memory management table. Since it is configured to perform the access control of the shared data, there is an effect that the access control of the shared data can be performed through the keyword between the distributed nodes regardless of the address.

【0093】請求項3に記載の発明によれば、共有デー
タのレコードのセマフォを含むエントリを配列したレコ
ード管理テーブルを分散共有メモリ上に置き、このレコ
ード管理テーブルのセマフォの状態に基づいて共有デー
タのレコードをアクセスするように構成したので、分散
ノード間での共有データのレコードアクセスの排他制御
が可能になる効果がある。
According to the third aspect of the invention, the record management table in which the entries including the semaphore of the record of the shared data are arranged is placed in the distributed shared memory, and the shared data is based on the semaphore state of this record management table. Since it is configured to access the record of the above, there is an effect that exclusive control of the record access of the shared data between the distributed nodes becomes possible.

【0094】請求項4に記載の発明によれば、各分散ノ
ードが分散共有メモリ上に置かれたノード状態監視テー
ブルに自ノードの運転状態シンボルを書き込み、各分散
ノードでそのノード状態監視テーブルを参照するように
構成したので、ノード状態監視テーブル上で各分散ノー
ド相互の状態監視および異常検出が可能になる効果があ
る。
According to the invention described in claim 4, each distributed node writes the operating status symbol of its own node in the node status monitoring table placed on the distributed shared memory, and each distributed node stores the node status monitoring table. Since the configuration is referred to, it is possible to monitor the status of each distributed node and detect anomalies on the node status monitoring table.

【0095】請求項5に記載の発明によれば、分散共有
メモリ上に置いたタスク実行管理テーブルによって各分
散ノードのアプリケーションタスクを管理し、ある分散
ノードが故障したときに、故障ノードの機能代替可能で
あり、かつ実行優先度の高い分散ノードが当該機能をア
プリケーションタスクとして起動するように構成したの
で、故障した分散ノードの処理をシステム全体で協調的
に相補するように動作する分散処理システムが得られる
効果がある。
According to the invention described in claim 5, the application execution task of each distributed node is managed by the task execution management table placed in the distributed shared memory, and when a certain distributed node fails, the function of the failed node is replaced. Since the distributed node that is possible and has a high execution priority is configured to activate the function as an application task, a distributed processing system that operates so as to cooperatively complement the processing of the failed distributed node in the entire system is provided. There is an effect to be obtained.

【0096】請求項6に記載の発明によれば、分散共有
メモリ上に置いたノード状態監視テーブルと、あらかじ
め定義された状態遷移シーケンスに従って自ノードがモ
ード遷移可能かどうかの判定を行い、その判定結果をア
プリケーションタスクに通知するように構成したので、
各分散ノードの状態遷移を分散状態と連携して管理制御
することができ、システム全体の立上げおよび立下げ時
のノード起動停止順序を管理することが可能になる効果
がある。
According to the invention described in claim 6, according to the node state monitoring table placed on the distributed shared memory and the state transition sequence defined in advance, it is determined whether or not the own node is capable of mode transition, and the determination is made. Since I configured it to notify the application task of the result,
The state transition of each distributed node can be managed and controlled in cooperation with the distributed state, and there is an effect that it is possible to manage the node start / stop sequence at the time of starting and shutting down the entire system.

【0097】請求項7に記載の発明によれば、分散ノー
ドが故障より復旧した時、またはシステムに新規参入し
た時に、その分散ノードに健全な分散ノードから分散共
有メモリの内容を転送するように構成したので、全ての
分散ノードの分散共有メモリの内容を容易に等化できる
効果がある。
According to the invention described in claim 7, when the distributed node recovers from a failure or when it newly enters the system, the contents of the distributed shared memory are transferred from the healthy distributed node to the distributed node. Since it is configured, there is an effect that the contents of the distributed shared memory of all distributed nodes can be easily equalized.

【0098】請求項8に記載の発明によれば、分散共有
メモリのアドレスまたは領域を指定して、そのアドレス
または領域の値を周期的に読み出して表示装置に表示す
るように構成したので、刻々変化する分散共有メモリの
内容を所定の周期で表示することが可能となり、システ
ム構築者(ユーザ)が、自ノードあるいは他ノードのア
プリケーションによる分散共有メモリの値の変更を動的
に監視することが可能な分散共有メモリ監視装置が得ら
れる効果がある。
According to the invention described in claim 8, the address or area of the distributed shared memory is designated, and the value of the address or area is periodically read and displayed on the display device. The changing contents of the distributed shared memory can be displayed at a predetermined cycle, and the system builder (user) can dynamically monitor the change of the value of the distributed shared memory by the application of its own node or another node. There is an effect that a possible distributed shared memory monitoring device can be obtained.

【0099】請求項9に記載の発明によれば、メモリ読
み出し部が前回の周期で読み出した値と今回の周期で読
み出した値の差分を表示制御部に渡して、表示装置の表
示制御を行わせるように構成したので、前周期と値に変
化があったものだけを表示変更をすることが可能となる
ため、印字や画面更新などを高速に行うことができる効
果がある。
According to the invention described in claim 9, the display control of the display device is performed by passing the difference between the value read by the memory reading section in the previous cycle and the value read by the current cycle to the display control section. Since it is configured so that it is possible to change the display only for those that have changed in value from the previous cycle, there is an effect that printing and screen updating can be performed at high speed.

【0100】請求項10に記載の発明によれば、分散共
有メモリネットワーク上のパケットの受信を検出して、
受信したパケット内容を受信の順番に表示装置に表示す
るように構成したので、分散共有メモリネットワーク上
での分散共有メモリの更新順序を追跡することが可能と
なり、分散共有メモリの並行アクセス動作の正当性を容
易に確認することができる分散共有メモリネットワーク
追跡装置が得られる効果がある。
According to the invention described in claim 10, the reception of the packet on the distributed shared memory network is detected,
Since the received packet contents are displayed on the display device in the order of reception, it is possible to trace the update order of the distributed shared memory on the distributed shared memory network, and to verify the parallel access operation of the distributed shared memory. There is an effect that a distributed shared memory network tracking device capable of easily confirming the property is obtained.

【0101】請求項11に記載の発明によれば、パケッ
トには含まれないがメモリ更新に関連する情報も、パケ
ット取得部の読み出したパケット内容とともに表示装置
に表示するように構成したの、分散共有メモリネットワ
ークにおいて複数の分散ノードが分散共有メモリ上の特
定領域にデータを書き込んでいる場合に、メモリ更新時
刻に変化のない所があれば、それによって該当する分散
ノードに障害が発生したことを検出できる効果がある。
According to the eleventh aspect of the present invention, the information not included in the packet but related to the memory update is also displayed on the display device together with the packet content read by the packet acquisition unit. In a shared memory network, when multiple distributed nodes are writing data to a specific area in the distributed shared memory, if there is no change in the memory update time, it means that the corresponding distributed node has failed. There is a detectable effect.

【0102】請求項12に記載の発明によれば、ユーザ
が指定するパケット条件を取得して、そのパケット条件
に応じてパケットの読み出しおよび表示制御を行うよう
に構成したので、分散共有メモリネットワークで複数の
分散ノードが分散共有メモリ上の特定領域の書き込みを
行っている場合に、ユーザが特定の分散ノードのメモリ
更新順序を知ることができる効果がある。
According to the twelfth aspect of the present invention, the packet condition designated by the user is acquired, and the reading and display control of the packet are performed according to the packet condition. Therefore, in the distributed shared memory network. When a plurality of distributed nodes are writing a specific area on the distributed shared memory, the user can know the memory update order of the specific distributed node.

【0103】請求項13に記載の発明によれば、ユーザ
の指定するパラメータが制御機能設定であれば設定情報
を作成して分散共有メモリネットワーク設定レジスタに
設定し、設定参照であれば分散共有メモリネットワーク
設定レジスタより読み出した設定情報を表示装置に表示
するように構成したので、ユーザが簡単に分散共有メモ
リネットワークの各種設定、およびその設定情報の参照
を行うことができる分散共有メモリネットワーク設定支
援装置が得られる効果がある。
According to the thirteenth aspect of the present invention, if the parameter specified by the user is the control function setting, setting information is created and set in the distributed shared memory network setting register, and if the setting is referred to, the distributed shared memory is set. Since the setting information read out from the network setting register is displayed on the display device, the user can easily perform various settings of the distributed shared memory network and refer to the setting information. There is an effect that can be obtained.

【0104】請求項14に記載の発明によれば、表示制
御部をタイマーによって所定の周期で起動するように構
成したので、分散共有メモリネットワーク設定レジスタ
に設定されている設定情報を周期的に表示することが可
能となり、より使いやすい分散共有メモリネットワーク
設定支援装置が得られる効果がある。
According to the fourteenth aspect of the present invention, since the display control unit is configured to be activated by the timer at a predetermined cycle, the setting information set in the distributed shared memory network setting register is periodically displayed. This makes it possible to obtain a distributed shared memory network setting support device that is easier to use.

【0105】請求項15に記載の発明によれば、分散共
有メモリネットワーク設定レジスタ参照設定部が前周期
において読み出した値と、今周期で読み出した値の差分
に従って表示装置の表示を制御するように構成したの
で、前周期と値に変化があったものだけを表示変更をす
ることが可能となり、印字や画面更新などを高速に行う
ことができる効果がある。
According to the fifteenth aspect of the present invention, the distributed shared memory network setting register reference setting unit controls the display of the display device according to the difference between the value read in the previous cycle and the value read in the current cycle. Since it is configured, it is possible to change the display only for those that have changed in value from the previous cycle, and there is an effect that printing and screen updating can be performed at high speed.

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

【図1】 この発明の実施例1による協調分散処理方法
を用いた分散処理システムを示すブロック図である。
FIG. 1 is a block diagram showing a distributed processing system using a cooperative distributed processing method according to a first embodiment of the present invention.

【図2】 上記実施例における処理の流れを示すフロー
チャートである。
FIG. 2 is a flowchart showing a flow of processing in the above embodiment.

【図3】 この発明の実施例2による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 3 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a second embodiment of the present invention.

【図4】 この発明の実施例3による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 4 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a third embodiment of the present invention.

【図5】 この発明の実施例4による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 5 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a fourth embodiment of the present invention.

【図6】 この発明の実施例5による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 6 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a fifth embodiment of the present invention.

【図7】 この発明の実施例6による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 7 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a sixth embodiment of the present invention.

【図8】 この発明の実施例7による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 8 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to a seventh embodiment of the present invention.

【図9】 この発明の実施例8による協調分散処理方法
を用いた分散処理システムの要部を示すブロック図であ
る。
FIG. 9 is a block diagram showing a main part of a distributed processing system using a cooperative distributed processing method according to an eighth embodiment of the present invention.

【図10】 この発明の実施例9による分散共有メモリ
監視装置を示すブロック図である。
FIG. 10 is a block diagram showing a distributed shared memory monitoring device according to a ninth embodiment of the present invention.

【図11】 上記実施例における処理の流れを示すフロ
ーチャートである。
FIG. 11 is a flowchart showing the flow of processing in the above embodiment.

【図12】 上記実施例における表示例を示す説明図で
ある。
FIG. 12 is an explanatory diagram showing a display example in the above embodiment.

【図13】 この発明の実施例10による分散共有メモ
リ監視装置を示すブロック図である。
FIG. 13 is a block diagram showing a distributed shared memory monitoring device according to Embodiment 10 of the present invention.

【図14】 この発明の実施例11による分散共有メモ
リネットワーク追跡装置を示すブロック図である。
FIG. 14 is a block diagram showing a distributed shared memory network tracking device according to Embodiment 11 of the present invention.

【図15】 上記実施例における処理の流れを示すフロ
ーチャートである。
FIG. 15 is a flowchart showing the flow of processing in the above embodiment.

【図16】 上記実施例における表示例を示す説明図で
ある。
FIG. 16 is an explanatory diagram showing a display example in the above embodiment.

【図17】 この発明の実施例12による分散共有メモ
リネットワーク追跡装置を示すブロック図である。
FIG. 17 is a block diagram showing a distributed shared memory network tracking device according to Embodiment 12 of the present invention.

【図18】 この発明の実施例13による分散共有メモ
リネットワーク追跡装置を示すブロック図である。
FIG. 18 is a block diagram showing a distributed shared memory network tracking device according to Embodiment 13 of the present invention.

【図19】 この発明の実施例14による分散共有メモ
リネットワーク設定支援装置を示すブロック図である。
FIG. 19 is a block diagram showing a distributed shared memory network setting support device according to a fourteenth embodiment of the present invention.

【図20】 上記実施例における処理の流れを示すフロ
ーチャートである。
FIG. 20 is a flowchart showing the flow of processing in the above embodiment.

【図21】 上記実施例における表示例を示す説明図で
ある。
FIG. 21 is an explanatory diagram showing a display example in the above embodiment.

【図22】 上記実施例における他の表示例を示す説明
図である。
FIG. 22 is an explanatory diagram showing another display example according to the above-mentioned embodiment.

【図23】 この発明の実施例15による分散共有メモ
リネットワーク設定支援装置を示すブロック図である。
FIG. 23 is a block diagram showing a distributed shared memory network setting support device according to a fifteenth embodiment of the present invention.

【図24】 この発明の実施例16による分散共有メモ
リネットワーク設定支援装置を示すブロック図である。
FIG. 24 is a block diagram showing a distributed shared memory network setting support device according to a sixteenth embodiment of the present invention.

【図25】 従来の協調分散処理システムを示すブロッ
ク図である。
FIG. 25 is a block diagram showing a conventional cooperative distributed processing system.

【図26】 従来の分散処理システムにおける共有分散
メモリの記憶方法を示すブロック図である。
FIG. 26 is a block diagram showing a storage method of a shared distributed memory in a conventional distributed processing system.

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

10,10a〜10d,10n 分散ノード、13 分
散共有メモリ、14共有データ、16 アプリケーショ
ンタスク、20 分散共有メモリネットワーク、21
分散共有メモリ管理テーブル、23 レコード、24
レコード管理テーブル、26 ノード状態監視テーブ
ル、31 タスク実行管理テーブル、33 状態遷移シ
ーケンス、40 表示装置、41 部分領域(指定され
たアドレスまたは領域)、44 データ処理部(メモリ
読み出し部)、45、52、61表示制御部、46、6
3 差分表示制御部、48 分散共有メモリ更新パケッ
ト(パケット)、50 パケット受信検出部、51 パ
ケット取得部、55 パケット関連情報読み出し部、5
6 パラメータ設定部、57 分散共有メモリネットワ
ーク設定レジスタ、60 分散共有メモリネットワーク
設定レジスタ参照設定部、62 タイマー。
10, 10a to 10d, 10n distributed nodes, 13 distributed shared memory, 14 shared data, 16 application tasks, 20 distributed shared memory network, 21
Distributed shared memory management table, 23 records, 24
Record management table, 26 node state monitoring table, 31 task execution management table, 33 state transition sequence, 40 display device, 41 partial area (specified address or area), 44 data processing section (memory reading section), 45, 52 , 61 display control unit, 46, 6
3 difference display control unit, 48 distributed shared memory update packet (packet), 50 packet reception detection unit, 51 packet acquisition unit, 55 packet related information reading unit, 5
6 parameter setting unit, 57 distributed shared memory network setting register, 60 distributed shared memory network setting register reference setting unit, 62 timer.

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 複数の分散ノードの分散共有メモリを分
散共有メモリネットワークで接続し、前記各分散共有メ
モリの内容変更が分散ノードの動作とは独立に他の分散
ノードの分散共有メモリに通信されてメモリ内容が反映
される分散処理システムの協調分散処理方法において、
前記分散共有メモリ上に、前記各分散ノードが共有利用
する共有データと、分散システム管理データが記録され
た状態管理テーブルを置き、前記各分散ノードは前記状
態管理テーブルの分散システム管理データによる相互監
視を行いながら通常処理を行い、他の分散ノードの故障
を検出すると、故障した前記分散ノードが実行していた
アプリケーションタスクの実行権の優先度に従い、正常
な分散ノード間で故障した分散ノードの喪失機能を代替
することを特徴とする協調分散処理方法。
1. A distributed shared memory of a plurality of distributed nodes is connected by a distributed shared memory network, and the content change of each distributed shared memory is communicated to the distributed shared memory of another distributed node independently of the operation of the distributed node. In the distributed processing method of the distributed processing system in which the memory contents are reflected,
On the distributed shared memory, shared data shared by each distributed node and a state management table in which distributed system management data are recorded are placed, and each distributed node mutually monitors by the distributed system management data of the state management table. When a failure of another distributed node is detected while performing normal processing, the loss of the failed distributed node between normal distributed nodes is performed according to the priority of the execution right of the application task executed by the failed distributed node. A cooperative distributed processing method characterized by substituting functions.
【請求項2】 キーワードを管理する分散共有メモリ管
理テーブルを分散共有メモリ上に置き、アプリケーショ
ンタスクからの前記キーワードによるアクセス要求に基
づいて上記分散共有メモリ管理テーブルを参照し、各分
散ノード間で前記キーワードを介して共有データのアク
セス管理を行うことを特徴とする請求項1に記載の協調
分散処理方法。
2. A distributed shared memory management table for managing a keyword is placed on the distributed shared memory, the distributed shared memory management table is referred to based on an access request by the keyword from an application task, and the distributed shared memory management table is distributed between the distributed nodes. The shared distributed processing method according to claim 1, wherein access management of shared data is performed via a keyword.
【請求項3】 共有データにあるレコードのアドレス、
サイズおよびセマフォからなるエントリの配列であるレ
コード管理テーブルを共有分散メモリ上に置き、前記レ
コードのアクセスに際して前記レコード管理テーブルを
参照し、当該レコードのセマフォの状態に基づいて、同
一のレコード情報の分散ノード間でのアクセス排他制御
を管理することを特徴とする請求項1に記載の協調分散
処理方法。
3. The address of the record in the shared data,
A record management table, which is an array of entries consisting of a size and a semaphore, is placed on a shared distributed memory, the record management table is referenced when accessing the record, and the same record information is distributed based on the state of the semaphore of the record. The cooperative distributed processing method according to claim 1, wherein access exclusive control between nodes is managed.
【請求項4】 各分散ノードのノード番号とそれら各分
散ノードの運転状態シンボルをエントリとする配列であ
るノード状態監視テーブルを共有分散メモリ上に置き、
前記ノード状態監視テーブルに自ノードの運転状態シン
ボルを所定のタイミングで書き込むとともに、前記ノー
ド状態監視テーブルを参照して各分散ノードの状態監視
および異常検出を行い、それを指定のアプリケーション
タスクに通知することを特徴とする請求項1に記載の協
調分散処理方法。
4. A node state monitoring table, which is an array having the node number of each distributed node and the operating state symbol of each distributed node as an entry, is placed on a shared distributed memory,
The operating state symbol of the self node is written in the node state monitoring table at a predetermined timing, the state of each distributed node is monitored and an abnormality is detected by referring to the node state monitoring table, and it is notified to a designated application task. The cooperative distributed processing method according to claim 1, characterized in that.
【請求項5】 アプリケーションタスクの識別名または
識別番号と、上記アプリケーションタスクのタスク実行
モードを示すシンボルと、どの分散ノードがそのアプリ
ケーションタスクを実行可能であるかを示す実行優先度
からなるエントリを持ち、各分散ノード全体のアプリケ
ーションタスクを集中管理するためのタスク実行管理テ
ーブルを共有分散メモリ上に置き、他の分散ノードの故
障が検出されると、当該故障にて喪失されるアプリケー
ションタスクの実行権の次点優先度を持った分散ノード
においてそのタスク実行管理テーブルを更新し、当該ア
プリケーションタスクを実行担当することを特徴とする
請求項1に記載の協調分散処理方法。
5. An entry having an identification name or identification number of an application task, a symbol indicating a task execution mode of the application task, and an execution priority indicating which distributed node can execute the application task. , A task execution management table for centrally managing application tasks of all distributed nodes is placed on a shared distributed memory, and when a failure of another distributed node is detected, the execution right of the application task lost due to the failure is placed. 2. The cooperative distributed processing method according to claim 1, wherein the task execution management table is updated in the distributed node having the second runner priority and the application task is executed.
【請求項6】 各分散ノードのノード番号とそれら各分
散ノードの運転状態シンボルをエントリとする配列であ
るノード状態監視テーブルを共有分散メモリ上に置き、
前記ノード状態監視テーブルにおける他の分散ノードの
運転状態シンボルが、あらかじめ定義された自ノードの
状態遷移シーケンスに沿って自ノードの状態遷移を発生
させる条件に一致すれば、自ノードの状態を遷移させる
ことを特徴とする請求項1に記載の協調分散処理方法。
6. A node state monitoring table, which is an array having the node number of each distributed node and the operation state symbol of each distributed node as an entry, is placed on a shared distributed memory,
If the operating state symbols of the other distributed nodes in the node state monitoring table match the conditions for causing the state transition of the own node according to the predefined state transition sequence of the own node, the state of the own node is transited. The cooperative distributed processing method according to claim 1, characterized in that.
【請求項7】 故障していた分散ノードを復旧した時、
または分散ノードがシステムに新規参入した時に、前記
分散ノードに、当該システムに既に参入している健全な
分散ノードから分散共有メモリの内容を転送して、各分
散ノードの分散共有メモリの内容を等化することを特徴
とする請求項1に記載の協調分散処理方法。
7. When the failed distributed node is restored,
Or, when a distributed node newly enters the system, the contents of the distributed shared memory of each distributed node are transferred to the distributed node by transferring the contents of the distributed shared memory from a healthy distributed node that has already entered the system. The cooperative distributed processing method according to claim 1, wherein the cooperative distributed processing method is realized.
【請求項8】 複数の分散ノードの分散共有メモリを分
散共有メモリネットワークで接続し、前記各分散共有メ
モリの内容変更が分散ノードの動作とは独立に他の分散
ノードの分散共有メモリに通信されてメモリ内容が反映
される分散処理システムの分散共有メモリ監視装置にお
いて、前記各分散ノードにて前記分散共有メモリの指定
されたアドレスまたは領域の値を所定の周期で読み出す
メモリ読み出し部と、前記メモリ読み出し部によって読
み出された値を前記所定の周期で表示装置に表示する表
示制御部とを有することを特徴とする分散共有メモリ監
視装置。
8. The distributed shared memory of a plurality of distributed nodes is connected by a distributed shared memory network, and the content change of each distributed shared memory is communicated to the distributed shared memory of another distributed node independently of the operation of the distributed node. In a distributed shared memory monitoring device of a distributed processing system in which a memory content is reflected, a memory reading unit that reads out a value of a specified address or area of the distributed shared memory at each distributed node at a predetermined cycle, and the memory. A distributed shared memory monitoring device, comprising: a display control unit that displays the value read by the reading unit on the display device at the predetermined cycle.
【請求項9】 前記メモリ読み出し部によって前周期に
読み出された値と今周期に読み出された値の差分を算出
し、それを前記表示制御部に渡す差分表示制御部を設け
たことを特徴とする請求項8に記載の分散共有メモリ監
視装置。
9. A difference display control unit for calculating a difference between a value read in the previous cycle and a value read in the current cycle by the memory reading unit and passing the difference to the display control unit. The distributed shared memory monitoring device according to claim 8.
【請求項10】 複数の分散ノードの分散共有メモリを
分散共有メモリネットワークで接続し、前記各分散共有
メモリの内容変更が分散ノードの動作とは独立に他の分
散ノードの分散共有メモリに通信されてメモリ内容が反
映される分散処理システムの分散共有メモリネットワー
ク追跡装置において、前記各分散ノードにて前記分散共
有メモリネットワーク上のパケットを受信毎に検出する
パケット受信検出部と、前記パケット受信検出部で受信
・検出したパケット内容を取得するパケット取得部と、
前記パケット取得部で取得された情報を表示装置に受信
の順に表示する表示制御部とを有すること特徴とする分
散共有メモリネットワーク追跡装置。
10. The distributed shared memory of a plurality of distributed nodes is connected by a distributed shared memory network, and the content change of each distributed shared memory is communicated to the distributed shared memory of another distributed node independently of the operation of the distributed node. In a distributed shared memory network tracing device of a distributed processing system in which memory contents are reflected, a packet reception detection unit that detects a packet on the distributed shared memory network at each distributed node for each reception, and the packet reception detection unit A packet acquisition unit that acquires the packet contents received and detected by
A distributed shared memory network tracking device, comprising: a display control unit that displays the information acquired by the packet acquisition unit on a display device in the order of reception.
【請求項11】 前記パケット受信検出部で受信毎に検
出されたパケットには含まれないメモリ更新に関連する
情報を取得して前記表示制御部に渡すパケット関連情報
読み出し部を設けたことを特徴とする請求項10に記載
の分散共有メモリネットワーク追跡装置。
11. A packet-related information reading unit is provided, which acquires information related to memory update, which is not included in a packet detected at each reception by the packet reception detection unit, and transfers the information to the display control unit. The distributed shared memory network tracking device according to claim 10.
【請求項12】 ユーザによって指定されるパケット条
件を取得し、それを前記パケット取得部および表示制御
部に渡すパラメータ設定部を設けたことを特徴とする請
求項10に記載の分散共有メモリネットワーク追跡装
置。
12. The distributed shared memory network tracking according to claim 10, further comprising a parameter setting unit that acquires a packet condition designated by a user and passes it to the packet acquisition unit and the display control unit. apparatus.
【請求項13】 複数の分散ノードの分散共有メモリを
分散共有メモリネットワークで接続し、前記各分散共有
メモリの内容変更が分散ノードの動作とは独立に他の分
散ノードの分散共有メモリに通信されてメモリ内容が反
映される分散処理システムの分散共有メモリネットワー
ク設定支援装置において、前記分散共有メモリネットワ
ークの制御機能の設定情報が設定される分散共有メモリ
ネットワーク設定レジスタと、ユーザによって指示され
る、前記分散共有メモリネットワーク設定レジスタの制
御機能設定、設定参照のパラメータを取得し、取得した
パラメータが制御機能設定であれば設定情報を作成して
前記分散共有メモリネットワーク設定レジスタに設定
し、設定参照であれば前記分散共有メモリネットワーク
設定レジスタより設定情報を読み出す分散共有メモリネ
ットワーク設定レジスタ参照設定部と、前記分散共有メ
モリネットワーク設定レジスタ参照設定部によって前記
分散共有メモリネットワーク設定レジスタより読み出さ
れた設定情報を表示装置に表示する表示制御部とを有す
ること特徴とする分散共有メモリネットワーク設定支援
装置。
13. A distributed shared memory of a plurality of distributed nodes is connected by a distributed shared memory network, and the content change of each distributed shared memory is communicated to the distributed shared memory of another distributed node independently of the operation of the distributed node. In a distributed shared memory network setting support device of a distributed processing system in which the memory content is reflected, a distributed shared memory network setting register in which setting information of the control function of the distributed shared memory network is set, and a user instructed, If the control function setting of the distributed shared memory network setting register and the parameter for setting reference are acquired, if the acquired parameter is the control function setting, the setting information is created and set in the distributed shared memory network setting register. For example, set from the distributed shared memory network setting register A distributed shared memory network setting register reference setting unit that reads information, and a display control unit that displays on the display device the setting information read from the distributed shared memory network setting register by the distributed shared memory network setting register reference setting unit. A distributed shared memory network setting support device characterized by having.
【請求項14】 前記表示制御部を一定時間周期で起動
するためのタイマーを設けたことを特徴とする請求項1
3に記載の分散共有メモリネットワーク設定支援装置。
14. A timer is provided for activating the display control unit at a constant time cycle.
3. The distributed shared memory network setting support device described in 3.
【請求項15】 前記分散共有メモリネットワーク設定
レジスタ参照設定部によって前周期に読み出された値と
今周期に読み出された値の差分を算出し、それに従って
前記表示装置の表示を制御する差分表示制御部を設けた
ことを特徴とする請求項14に記載の分散共有メモリネ
ットワーク設定支援装置。
15. A difference for calculating a difference between a value read in the previous cycle and a value read in the current cycle by the distributed shared memory network setting register reference setting unit, and controlling the display of the display device accordingly. 15. The distributed shared memory network setting support device according to claim 14, further comprising a display control unit.
JP7156082A 1995-03-14 1995-06-22 Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device Pending JPH08314875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7156082A JPH08314875A (en) 1995-03-14 1995-06-22 Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-54760 1995-03-14
JP5476095 1995-03-14
JP7156082A JPH08314875A (en) 1995-03-14 1995-06-22 Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002130037A Division JP2003006177A (en) 1995-03-14 2002-05-01 Distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device

Publications (1)

Publication Number Publication Date
JPH08314875A true JPH08314875A (en) 1996-11-29

Family

ID=26395577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7156082A Pending JPH08314875A (en) 1995-03-14 1995-06-22 Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device

Country Status (1)

Country Link
JP (1) JPH08314875A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6928585B2 (en) 2001-05-24 2005-08-09 International Business Machines Corporation Method for mutual computer process monitoring and restart
JP2006209490A (en) * 2005-01-28 2006-08-10 Fujitsu Ltd Program for synchronization of set information
JP2010182141A (en) * 2009-02-06 2010-08-19 Nec Corp Device and method for processing data
JP2011008614A (en) * 2009-06-26 2011-01-13 Nec Corp Composite event delivery system, composite event processing apparatus, composite event processing method and composite event processing program
WO2011080910A2 (en) 2010-01-04 2011-07-07 Nec Corporation Method, distributed system and computer program for failure recovery
JP2014142945A (en) * 2007-12-26 2014-08-07 Symantec Corp Balanced consistent hashing for distributed resource management
US9152491B2 (en) 2012-02-17 2015-10-06 Nec Corporation Job continuation management apparatus, job continuation management method and job continuation management program
WO2015162754A1 (en) * 2014-04-24 2015-10-29 三菱電機株式会社 Control system, master station, and remote station
US9342451B2 (en) 2011-02-21 2016-05-17 Fujitsu Limited Processor management method
US9858159B2 (en) 2015-02-20 2018-01-02 International Business Machines Corporation Fault tolerant distributed computation
CN111539546A (en) * 2019-02-01 2020-08-14 帆宣系统科技股份有限公司 Modeling method of intelligent pre-diagnosis and health management system and computer program product thereof

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6928585B2 (en) 2001-05-24 2005-08-09 International Business Machines Corporation Method for mutual computer process monitoring and restart
JP2006209490A (en) * 2005-01-28 2006-08-10 Fujitsu Ltd Program for synchronization of set information
JP4550604B2 (en) * 2005-01-28 2010-09-22 富士通株式会社 Setting information synchronization program
JP2014142945A (en) * 2007-12-26 2014-08-07 Symantec Corp Balanced consistent hashing for distributed resource management
JP2010182141A (en) * 2009-02-06 2010-08-19 Nec Corp Device and method for processing data
US8812530B2 (en) 2009-02-06 2014-08-19 Nec Corporation Data processing device and data processing method
JP2011008614A (en) * 2009-06-26 2011-01-13 Nec Corp Composite event delivery system, composite event processing apparatus, composite event processing method and composite event processing program
JP2013516665A (en) * 2010-01-04 2013-05-13 日本電気株式会社 Method, distributed system, and computer program for disaster recovery
WO2011080910A2 (en) 2010-01-04 2011-07-07 Nec Corporation Method, distributed system and computer program for failure recovery
US9342451B2 (en) 2011-02-21 2016-05-17 Fujitsu Limited Processor management method
JP5967073B2 (en) * 2011-02-21 2016-08-10 富士通株式会社 Processor management method
US9152491B2 (en) 2012-02-17 2015-10-06 Nec Corporation Job continuation management apparatus, job continuation management method and job continuation management program
WO2015162754A1 (en) * 2014-04-24 2015-10-29 三菱電機株式会社 Control system, master station, and remote station
CN105393241A (en) * 2014-04-24 2016-03-09 三菱电机株式会社 Control system, master station, and remote station
JP5908175B2 (en) * 2014-04-24 2016-04-26 三菱電機株式会社 Control system, master station, and remote station
US9577882B2 (en) 2014-04-24 2017-02-21 Mitsubishi Electric Corporation Control system, master station, and remote station
US9858159B2 (en) 2015-02-20 2018-01-02 International Business Machines Corporation Fault tolerant distributed computation
CN111539546A (en) * 2019-02-01 2020-08-14 帆宣系统科技股份有限公司 Modeling method of intelligent pre-diagnosis and health management system and computer program product thereof

Similar Documents

Publication Publication Date Title
EP1179770B1 (en) File system
US6782492B1 (en) Memory error recovery method in a cluster computer and a cluster computer
JP5102901B2 (en) Method and system for maintaining data integrity between multiple data servers across a data center
JP3645281B2 (en) Multiprocessor system having shared memory
EP1190320B1 (en) System and method of monitoring a distributed fault tolerant computer system
CN108628717A (en) A kind of Database Systems and monitoring method
JPH11220466A (en) Node substitute system, node supervisory system, their methods and storage medium
JPH08314875A (en) Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device
JPH086910A (en) Cluster type computer system
CN106294031B (en) A kind of business management method and storage control
JP3490002B2 (en) Computers that make up a multi-cluster system
TW200304297A (en) Clustered/fail-over remote hardware management system
CN113157796B (en) Data acquisition display system based on micro-service
CN101072088A (en) Data backup system, main board and data backup method
CN111752758B (en) Bifocal-architecture InfluxDB high-availability system
JPH09305558A (en) Data base server for duplex system
JP2013161266A (en) Redundant control system for call processing information, and backup maintenance server for the same
CN112799835A (en) Method and system for processing metadata of distributed database system
JP2002215473A (en) Information processor and multiplex system
JP2000215074A (en) Operation system for system and automatic fault recovery system
JPH09305494A (en) Data transfer control circuit for extended storage device
JP2003006177A (en) Distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device
JP2000089994A (en) Method and device for managing data base
JPH0427239A (en) Control method for lan connecting device
JP2713528B2 (en) Uninterrupted expansion of storage capacity