JPS61267859A - Decentralized processing system - Google Patents
Decentralized processing systemInfo
- Publication number
- JPS61267859A JPS61267859A JP10971285A JP10971285A JPS61267859A JP S61267859 A JPS61267859 A JP S61267859A JP 10971285 A JP10971285 A JP 10971285A JP 10971285 A JP10971285 A JP 10971285A JP S61267859 A JPS61267859 A JP S61267859A
- Authority
- JP
- Japan
- Prior art keywords
- processes
- supervisor
- node
- pmt
- processing system
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 144
- 230000008569 process Effects 0.000 claims abstract description 142
- 238000004891 communication Methods 0.000 claims abstract description 13
- 230000004044 response Effects 0.000 claims abstract description 12
- 230000004913 activation Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 6
- 230000007704 transition Effects 0.000 abstract description 2
- 238000004886 process control Methods 0.000 abstract 1
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 19
- 230000000694 effects Effects 0.000 description 19
- 206010036618 Premenstrual syndrome Diseases 0.000 description 16
- 101001123530 Nicotiana tabacum Putrescine N-methyltransferase 3 Proteins 0.000 description 9
- 238000007726 management method Methods 0.000 description 9
- 101100244387 Candida albicans (strain SC5314 / ATCC MYA-2876) PMT6 gene Proteins 0.000 description 6
- 101150024216 PMT3 gene Proteins 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 235000012976 tarts Nutrition 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
Landscapes
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は分散処理システム、特に、複数個のノード上に
存在するプロセスがメツセージ交換を介して処理を行な
っていくような分散処理システムに関する。さらに詳し
くは、このような分散処理システムにおけるプロセスの
管理方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a distributed processing system, and particularly to a distributed processing system in which processes existing on a plurality of nodes perform processing through message exchange. More specifically, the present invention relates to a process management method in such a distributed processing system.
(従来の技術)
コンビエータネットワークの構成形態を処理装置の配置
と機能分担の側面に着目して大別すれば、周知のように
、センタと端末との間で機能を分散させる垂直(あるい
は階層)分散形と、複数のセフタ間で対等に分散させる
水平分散形と、これらを組み合わせた複合分散形との3
種になる。水平分散形は、システム運用上の柔軟性と負
荷の均等性の面で垂直分散形よシ秀れておシ、特に、近
年の情報処理のエンドユーザ指向に−ズ)と、進展著し
い集積回路技術および分数処理技術(シーズ)とが相ま
ってシ複数個のパーソナルコンビ瓢−夕あるいはオフィ
スコンビエータを構内通信回線を介して相互接続したよ
うな水平分散処理システムが積極的に採用されてきてい
る。(Prior Art) The configuration of a combinator network can be roughly divided into two types, focusing on the arrangement of processing units and the division of functions. ) a distributed type, a horizontal distributed type that distributes equally among multiple sefters, and a composite distributed type that combines these types.
Become a seed. The horizontally distributed type is superior to the vertically distributed type in terms of flexibility in system operation and load uniformity, especially in recent years when information processing is becoming more oriented toward end-users (integrated circuits are becoming increasingly popular). With the combination of technology and fractional processing technology (seeds), horizontally distributed processing systems such as a plurality of personal combi-complexers or office combiators interconnected via local communication lines have been actively adopted.
この種の分散処理システムにおいては、コンピュータネ
ットワークを構成する物理的要素であるパーソナルコン
ピュータ等を論理的な装置、すなわち、ノードとしてと
らえ、各ノードを相互接続する通信回線などを論理的伝
送路、すなわち、リンクとしてモデル化して、コンビエ
ータネットワークの世界をノードとリンクの組合せで表
現する。In this type of distributed processing system, the physical elements that make up the computer network, such as personal computers, are treated as logical devices, or nodes, and the communication lines that interconnect each node are used as logical transmission paths, or , are modeled as links, and the world of combinator networks is expressed as a combination of nodes and links.
また、これらのノードやリンクの機能を使用してノード
間で通信を行おうとする種々のユーザプログラム(また
はアプリケージ冒ンプログラム)やオペレータは論理的
な通信主体、すなわち、プロセスとしてとらえられる。Further, various user programs (or application game exploit programs) and operators that attempt to communicate between nodes using the functions of these nodes and links can be regarded as logical communication entities, that is, as processes.
分散処理システムの処理は、プロセスの間のメツセージ
交換を介して進行し、このときに新たなプロセスが生成
されたシ、逆に、それまで存在していたプロセスが消滅
したシする。さらに、これらのプロセスは、他のすべて
のプロセスに対するメツセージ交換の主体となる得るた
め、プロセスに対する適切な管理が重要となる。Processing in a distributed processing system proceeds through message exchange between processes, and at this time a new process is created or, conversely, a previously existing process disappears. Furthermore, since these processes can be the subject of message exchange for all other processes, appropriate management of the processes is important.
(発明が解決しようとする問題点)
しかしながら、前述のような従来の分散処理システムに
おいては、動的に生成されたシ消滅したシするプロセス
に対して適切な管理が行われていないため、プロセスが
メツセージ送信を行うに際して、相手プロセスの宛先や
メツセージが送れる状態であるか否か等が必ずしも定か
でなく、メツセージ送信上支障をきたしたり、無用なメ
ツセージ送信が行われたシするという問題点がある。(Problem to be Solved by the Invention) However, in the conventional distributed processing system as described above, there is no proper management of processes that are dynamically created and processes that disappear. When sending a message, the destination of the other process and whether the message can be sent are not always certain, which can cause problems in message sending or result in unnecessary messages being sent. be.
したがって、本発明の目的は、動的に生成されたシ消滅
したシするプロセスの管理情報をテーブル上に正確に登
録し、メツセージ送信を行うにあたってはこのテーブル
を参照のうえで実行するようにすることによって、前述
の問題点を排除し、効率の良いメツセージ交換が行える
分散処理システムを提供することにある。Therefore, an object of the present invention is to accurately register management information of processes that are dynamically generated and disappear in a table, and to refer to this table when sending messages. By doing so, it is an object of the present invention to provide a distributed processing system that eliminates the above-mentioned problems and allows efficient message exchange.
(問題点を解決するための手段)
本発明のシステムは、複数個のノード上に存在するプロ
セスがメツセージ交換を介して処理を行なっていくよう
な分散処理システムであって、ノードごとに、
分散処理システムに標準的に存在する前記プロセスにつ
きその職別番号、存在するノードアドレスおよび起動情
報から成るプロセス定義情報が分散処理システム構築時
に書き込まれたネットワーク定義ファイルと、
各ノード上のプロセスについてその状態、識別番号およ
びノードアドレス等が登録されるプロセス管理テーブル
と、
プロセス定義情報に基づいて自ノード上に存在スベキフ
ロセスを起動しまたプロセスからo要求に応答して他ノ
ード上のプロセスとの間で通信を行うと共に起動および
通信に伴なりてプロセス管理テーブルの登録または更新
を行うスーパバイザプロセス
とを有し、スーパバイザプロセスはメツセージ送信時に
対応するプロセス管理テーブルを参照のうえでその実行
を決めるようにしたことを特徴とする。(Means for Solving the Problems) The system of the present invention is a distributed processing system in which processes existing on a plurality of nodes perform processing through message exchange. Process definition information consisting of the job number, existing node address, and startup information for the process that normally exists in the processing system is stored in the network definition file written when the distributed processing system was constructed, and the status of the process on each node. , a process management table in which identification numbers, node addresses, etc. are registered, and a process definition information that activates the subekifrocess existing on the own node and communicates with processes on other nodes in response to o requests from the process. and a supervisor process that registers or updates the process management table in conjunction with startup and communication, and the supervisor process determines execution by referring to the corresponding process management table when sending a message. It is characterized by
(実施例)
次に本発明の実施例について図面を参照して詳細に説明
する。(Example) Next, an example of the present invention will be described in detail with reference to the drawings.
第1図は本発明の一実施例のブロック図を示し、第2図
は本実施例におけるノードの詳細ブロック図を示す。FIG. 1 shows a block diagram of an embodiment of the present invention, and FIG. 2 shows a detailed block diagram of a node in this embodiment.
第1図を参照すると、本実施例は、それぞれがパーソナ
ルコンビエータ(以下パソコンと記す)10.20.3
0とネットワーク定義ファイル(以下NDFと記す)1
9,29.39とから成る3っのノードがローカルエリ
アネットワーク(以下LANと記す)100を介して相
互に接続された分散散処理システムである。Referring to FIG. 1, in this embodiment, each personal combinator (hereinafter referred to as a personal computer) 10.20.3
0 and network definition file (hereinafter referred to as NDF) 1
This is a distributed processing system in which three nodes consisting of nodes 9, 29, and 39 are interconnected via a local area network (hereinafter referred to as LAN) 100.
このような分散処理システムは、各ノードがほぼ同勢・
同格な機能と構成を有するがために1従来の垂直形分散
処理システムに比べると、システム運用上において柔軟
性があシ、負荷の均等化という観点からも秀れている。In such a distributed processing system, each node is almost equally active.
Because it has comparable functions and configurations, it has greater flexibility in system operation and is superior in terms of load equalization compared to conventional vertical distributed processing systems.
また、近年の情報処理のエンドユーザ指向に合致し、そ
の使い勝手の良さから、オフィスや工場等で急速に普及
し始めている。本実施例は説明を単純化するために3つ
のノードのみを示しているが、実際にはもっと多数、た
とえば、士数個のノードから成る場合が多いO
パソコン10,20および30のそれぞれは、ユーザプ
ログラムに基づく各プロセス11 、21および31を
実行する。これら各プロセスはLAN100を経由した
メツセージ交換を介して処理を進めていく@第1図にお
いては、図面の繁雑會回避するために、各ノード上に1
つのプロセスのみを図示しているが、複数個のプロセス
が存在し得る。Furthermore, it is rapidly becoming popular in offices, factories, etc. because it matches the end user orientation of recent information processing and is easy to use. Although this embodiment shows only three nodes to simplify the explanation, in reality it often consists of a larger number of nodes, for example, several nodes. Each of the personal computers 10, 20, and 30 is Each process 11, 21 and 31 based on a user program is executed. Each of these processes proceeds through message exchange via the LAN 100.
Although only one process is shown, multiple processes may exist.
また、各パソコン10.20および30のそれぞレバ、
スーパバイザプロセス12,22および32と、プロセ
ス管理テーブル(以下PMTと記す)13.23および
33とを有している。各PMT13゜23および33は
、システム内のプロセス11゜21および31について
、その状態(サービス可、サービス中およびサービス不
可)、識別番号およびノードアドレス等を登録するため
のものである。In addition, each computer 10.20 and 30 levers,
It has supervisor processes 12, 22, and 32, and process management tables (hereinafter referred to as PMT) 13, 23, and 33. Each of the PMTs 13, 23 and 33 is used to register the status (available for service, in service, and unavailable for service), identification number, node address, etc. of the processes 11, 21 and 31 in the system.
各スーパバイザプロセス12,22および32のそれぞ
れは、NDF19,29および39上の後述するような
プロセス定義情報に基づいてプロセス11.21および
31を起動し、また、プロセス11゜21および31か
らの要求に応答して他ノード上のプロセスとの間で通信
を行うと共に、このような起動および通信に伴なりてP
MT13,23および33の登録または更新を行う。Each of the supervisor processes 12, 22 and 32 starts processes 11, 21 and 31 based on process definition information on NDFs 19, 29 and 39 as described later, and also starts processes 11, 21 and 31 based on the process definition information on NDFs 19, 29 and 39, and requests from processes 11, 21 and 31. In addition to communicating with processes on other nodes in response to
Register or update MT13, 23 and 33.
NDF19,29および39のそれぞれは、本分散処理
システムに標準的に存在するプロセスについて、その識
別番号、存在するノードアドレスおよび起動情報から成
るプロセス定義情報を格納した同一内容のものである。Each of the NDFs 19, 29, and 39 has the same content, storing process definition information consisting of identification numbers, existing node addresses, and activation information for processes that normally exist in this distributed processing system.
この格納は本分散処理システムの構築時に行われる。This storage is performed when this distributed processing system is constructed.
第2図は、スーパバイザプロセス12.22および32
を参照数字2で代表させ、同様に代表するプロセス1.
PMT3およびNDF’9との接続関係と共に、その詳
細を示したブロック図である。FIG. 2 shows supervisor processes 12.22 and 32.
is represented by the reference numeral 2, and similarly represents the process 1.
It is a block diagram showing the connection relationship with PMT3 and NDF'9, and the detail.
第2図を参照すると、スーパバイザプロセス2は初期化
処理手段2A、送信手段2B、受信手段2Cおよび初期
化処理手段2Dを有している。Referring to FIG. 2, the supervisor process 2 has initialization processing means 2A, transmission means 2B, reception means 2C, and initialization processing means 2D.
初期化処理手段2人は、スーパバイザプロセスが起動さ
れるときに、NDF9が格納しているプロセス定義情報
を読み込み、そのうちの識別番号とノードアドレスとを
テーブル処理手段2Dを介してPMT3に登録し、次い
で起動情報(プロセス名と起動パラメータから成る)に
基づいて自ノード上に存在すべきプロセス1を起動する
と共に、この起動の成否をテーブル処理手段2Bを介し
てPMT3に書き加える。When the supervisor process is activated, the two initialization processing means read the process definition information stored in the NDF9, register the identification number and node address of the information in the PMT3 via the table processing means 2D, Next, based on the startup information (consisting of a process name and startup parameters), the process 1 that should exist on the own node is started, and the success or failure of this startup is added to the PMT 3 via the table processing means 2B.
送信手段2Bは、前述のようにして起動されたプロセス
1が他ノードのプロセスにメツセージ送信を行おうとす
るときに、テーブル処理手段2Dを介してPMT3を参
照して相手プロセスの状態を確認し、相手プロセスとプ
ロセス1との間に後述する結合が既に設定されていれば
メツセージ送信を実行し、また、結合が設定されておら
ずかつ相手プロセスがサービス可であれば相手先のスー
パバイザプロセスに対して結合の設定を指示しかつテー
ブル処理手段2DによシPMT3上の情報を更新する。When the process 1 started as described above attempts to send a message to a process on another node, the sending means 2B refers to the PMT 3 via the table processing means 2D to confirm the state of the other process, If the connection described below has already been set between the other party's process and process 1, the message will be sent; if no connection has been set and the other process is serviceable, the message will be sent to the other party's supervisor process. The table processing means 2D instructs the connection setting and updates the information on the PMT 3.
また、受信手段2Cは、他ノードのプロセスから送信さ
れてきたメツセージを受は入れ、テーブル処理手段2D
を介してPMT3上で自ノードの当該プロセス1の状態
を確認し、相手プロセスとプロセス1との間に結合が既
に設定されていればメツセージをプロセス定義情報する
。また、メツセージが両プロセス間の結合の設定を指示
するものであってかつプロセス1がサービス可であれば
相手先のスーパバイザプロセスに対して結合の設定を通
知しかつテーブル処理手段2Dによfi PMT3上の
情報を更新する。Further, the receiving means 2C accepts messages sent from processes of other nodes, and the table processing means 2D
The state of the process 1 of the own node is confirmed on the PMT 3 via the PMT 3, and if a connection has already been established between the partner process and the process 1, the message is processed as process definition information. Furthermore, if the message instructs the setting of a connection between both processes and the process 1 is serviceable, it notifies the supervisor process of the other party of the connection setting and sends it to the table processing means 2D. Update the information above.
プロセス1の状態確認は、送信元プロセスにおいてメツ
セージ送信時に行なわれ、それが逆信可能であったから
こそメツセージ送信が実行されたのであるが、送信先で
メツセージを受信した時点においてもプロセスlの状態
に変化が無いという保証ができないため、上述のように
、メツセージ受信時にもプロセス1の状態確認が必要に
なる。The status of process 1 was checked in the source process when sending the message, and the message was sent because it was possible to send the message in reverse.However, the status of process 1 is also checked when the message is received at the destination. Since it cannot be guaranteed that there will be no change in the process 1, it is necessary to check the status of process 1 even when receiving a message, as described above.
テーブル処理手段2Dは、以上に述べたように、初期化
時には初期化処理手段2人、また、メツセージ送受信時
には送信手段2Bまたは受信手段2Cからの各要求に応
答してPMT3に対して登録。As described above, the table processing means 2D registers with the PMT 3 in response to each request from the two initialization processing means at the time of initialization, and from the transmitting means 2B or the receiving means 2C at the time of message transmission/reception.
参照または更新を行う。さらに、プロセス間通信によっ
て処理が進行していく過程において、プロセスが生成さ
れたシ消滅したシすると、送信手段2Bまたは受信手段
2Cからの要求に応答してPMT3を更新する。View or update. Furthermore, when a process is generated or disappears while processing progresses through inter-process communication, the PMT 3 is updated in response to a request from the transmitting means 2B or the receiving means 2C.
第3図は、スーパバイザ2の起動時に行かわれる処理フ
ローを示す。以下、第3図に沿りて、スーパバイザ2の
起動時における本実施例の動作を説明する。FIG. 3 shows a processing flow performed when the supervisor 2 is started. The operation of this embodiment when the supervisor 2 is activated will be described below with reference to FIG.
先ず、スイッチ等で物理的にノードに設定された自ノー
ドアドレスを、ステップ■において、スーパバイザプロ
セス2がオペレーティングシステム(図示省略)から取
り込みかつNDF9をオーブンする。次いでNDF9か
ら1つのプロセス分のプロセス定義情報を読み(ステッ
プ■)、これがNDF9の終りを告けるものでなければ
(ステップ■)、読み込んだプロセス定義情報のうちの
識別番号、ノードアドレスおよび状態(一応、サービス
可とする)を前述のようにして、PMT3に登録する(
ステップ■)。First, in step (2), the supervisor process 2 fetches the own node address physically set in the node by a switch or the like from the operating system (not shown) and opens the NDF 9. Next, process definition information for one process is read from NDF9 (step ■), and if this does not signal the end of NDF9 (step ■), the identification number, node address, and status (of the read process definition information) are read. For the time being, service is enabled) as described above, and register it with PMT3 (
Step ■).
このノードアドレスがステップ■で取り込んだ自ノード
アドレスと合致するか否かを調べ(ステップ■)、もし
合致すればステップ■で読み込んだプロセス定義情報は
自ノード上に存在すべきプロセスに対応するものになる
ため、プロセス定義情報のうちのプロセス名と起動パラ
メータとから成る起動情報によシプロセス1を起動する
(ステップ■)。Check whether this node address matches the own node address read in step ■ (step ■), and if it matches, the process definition information read in step ■ corresponds to the process that should exist on the own node. Therefore, the process 1 is started using the start information consisting of the process name and start parameters of the process definition information (step 2).
そして、起動に成功すれば(ステップ■)、、プ0−1
=ス1の状態はステップ■でサービス可とされているの
でそのままとし、自ノード上のプロセス1がサービス可
状態となったことを告げる起動メツセージを他のすべて
のノードに知らせる(ステップ■)。また、ステップ■
においてプロセス1の起動に失敗したことがわかると、
プロセス1の状態をサービス不可とする(ステップ[相
])。Then, if the startup is successful (step ■), 0-1
Since the status of process 1 was determined to be serviceable in step (2), it is left as is, and a startup message is sent to all other nodes to inform that process 1 on its own node has become serviceable (step (2)). Also, step ■
When you see that process 1 has failed to start,
Set the state of process 1 to unserviceable (step [phase]).
ステップ■またはステップ[相]からはステップ■に移
fi、PMT3に対し、ステップ■あるいはステップ[
相]で定まった状態と、オペレーティングシステムが認
識している通信チャネル番号およびプロセス番号とをP
MT3に付加する。通信チャネル11はスーパバイザプ
ロセス2がプロセス1にメツセージを送るためのチャネ
ル番号であシ、プロセス番号はオペレーティングシステ
ムによす付与される。From step ■ or step [phase], move to step ■fi, and for PMT3, step ■ or step [phase]
The state determined by phase] and the communication channel number and process number recognized by the operating system are
Add to MT3. Communication channel 11 is a channel number for supervisor process 2 to send messages to process 1, and the process number is assigned by the operating system.
ステップ◎からは、ステップ■において自ノードアドレ
スと合致しない場合と同様に、ステップ■に戻って、以
上のようなステップ■〜ステップ[相]を、ステップ■
においてエンドオプファイル(EOF)が検出されるま
で繰シ返される。From step ◎, as in the case where the address of the own node does not match in step
The process is repeated until an end op file (EOF) is detected at .
以上のような処理の結果、スーパバイザプロセス2が起
動されたノード上のPMT3においては、本ノード上の
プロセスについては職別番号、ノードアドレス、状態(
サービス可またはサービス不可)1通信チャネル番号お
よびプロセス番号が登録され、また、他ノード上のプロ
セスについては識別番号、ノードアドレスおよび状態(
サービス可)が登録されることになる。なお、ステップ
■における起動メツセージを受信したノード上のPMT
3においては、本起動メツセージを送信したプロセスが
サービス不可の状態にあったならばサービス可の状態に
更新する。これKよって、何らかの原因で処理障害とな
シサービス不可の状態にありたプロセスを再び起動した
ときに1他ノード上のPMT3にそれが正確に反映され
る。As a result of the above processing, in the PMT 3 on the node where the supervisor process 2 has been started, the job number, node address, status (
Service enabled or service disabled) 1 communication channel number and process number are registered, and for processes on other nodes, identification numbers, node addresses and status (
service) will be registered. Note that the PMT on the node that received the startup message in step
In step 3, if the process that sent the main activation message was in a non-serviceable state, it is updated to a serviceable state. Therefore, when a process that has been in a service-unavailable state due to a processing failure for some reason is restarted, it is accurately reflected in the PMT 3 on one other node.
さて、スーパバイザプロセス2とプロセスlとが起動さ
れると、プロセス1によって処理が可能になる。この処
理には、自ノード内の範囲に留まるものの他に、例えば
、ノード間でファイル転送したり、制御情報を参照した
シする場合のように、異々るノード上のプロセス間逆信
(メツセージ交換)を伴なうものがある。メツセージ送
信を行おうとするスーパバイザプロセスは、自ノード上
のPMT3を参照し、相手プロセスが通信可能の状態に
あるときにのみメツセージ送信を実行する。Now, when supervisor process 2 and process 1 are activated, process 1 becomes capable of processing. This process includes not only processes that remain within the local node, but also back-communications (messages) between processes on different nodes, such as when transferring files between nodes or referring to control information. (exchange). A supervisor process attempting to send a message refers to the PMT3 on its own node, and executes the message sending only when the other process is in a communicable state.
このためには、PMT3にプロセスの状態が正確に反映
されている必要がある。For this purpose, it is necessary that the process status is accurately reflected in the PMT3.
プロセス間通信は周知のように、スーパバイザプロセス
間でやシとシされる各種のプロトコルコマンドを介して
行われるが、プロセスの状態に影響を及ぼすものとして
は、結合の開始を指示するアクティビティスタート(A
ctivity 8 tart ) 、結合の放棄を指
示するアクティビティディスカード(Activity
Discard) 、結合の放棄を通知するアクティ
ビティディスカードアツク(ActivityDisc
ard Ack) 、結合の終了を指示するアクティビ
ティエンド(Activity End ) 、結合の
終了を通知するアクティビティエンドアツク(Acti
vityEnd Ack ) 、例外事象を通知するイ
クセブシ冒ンデータ(Exception Data
)オよび制御データを転送するタイブトデータ(Typ
ed Data )がある。As is well known, inter-process communication is carried out through various protocol commands exchanged between supervisor processes, but the one that affects the state of processes is the activity start (which instructs the start of a connection). A
activity 8 tart), an activity discard (Activity 8 tart) that instructs the abandonment of a bond.
Discard), an activity discard attack (ActivityDiscard) that notifies the abandonment
ard Ack), Activity End (Activity End) which instructs the end of the binding, Activity End Ack (Activity End) which notifies the end of the binding.
vityEnd Ack), exception data that notifies the exception event.
) and control data.
ed Data).
結合の開始にあたっては、プロセス(以下プロセスaと
記す)から相手プロセス(以下プロセスbと記−j)を
指定して結合要求を受けたプロセスallのスーパバイ
ザプロセス(以下スーパバイザAと記す)は、プロセス
b IIのスーパバイザプロセス(以下スーパバイザB
と記す)にアクティビティスタートを送信し、スーパバ
イザA側のPMT(以下PMT Aと記す)上のプロ
セスaとプロセスbの各状態をサービス中とする。To start the join, the supervisor process (hereinafter referred to as supervisor A) of process all, which receives a join request from a process (hereinafter referred to as process a) by specifying the other process (hereinafter referred to as process b-j), b II supervisor process (hereinafter referred to as supervisor B)
An activity start is sent to the PMT on the supervisor A side (hereinafter referred to as PMT A), and each state of process a and process b on the PMT on the supervisor A side (hereinafter referred to as PMT A) is set to in-service.
スーパバイザBはアクティビティスタートラ受信したら
、スーパバイザB側のPMT (以下PMTBと記す)
上のプロセスbの状態をチェックして、サービス可であ
れば肯定応答としてタイブトデータを返信すると共にP
MT B上のプロセスaとプロセスbの状態をサービ
ス中として結合を設定する。また、PMT B上のプ
ロセスbの状態カサ−ビス中かサービス不可の状態であ
れば、それぞれを理由コードを否定応答としてのイクセ
プシヲンデータに付して返信する。When Supervisor B receives the activity startra, it transmits the PMT (hereinafter referred to as PMTB) on the Supervisor B side.
Check the status of process b above, and if the service is available, return type data as an affirmative response and P
A connection is set with process a and process b on MT B in service status. Further, if the state of process b on PMT B is in service or unavailable, a reason code is attached to the exception data as a negative response and a reply is sent.
スーパバイザAは、タイブトデータを受信すると結合を
設定し、また、イクセプシ1ンデータを受信するとその
皿内コードがサービス不可であればPMT A上のプ
ロセスbの状態をサービス不可とする。結局、スーパバ
イザ人からのアクティビティスタートに応答してスーパ
バイザBがタイブトデータを返信し、スーパバイザλが
これを受信すると、プロセスaとプロセスbとが結合し
両者の間でメツセージ交換が可能になるのである。When supervisor A receives type data, it sets up a connection, and when it receives exception data, it changes the state of process b on PMT A to unserviceable if the internal code is unserviceable. Eventually, in response to the activity start from the supervisor, supervisor B replies with typed data, and when supervisor λ receives this, process a and process b are combined and messages can be exchanged between them. be.
このようにして設定された結合をメツセージ交換の途中
で放棄したいときには、その主体側のスーパバイザプロ
セス(この場合にはスーパバイザAでもスーパバイザB
でも可)がアクティビティディスカードを相手側のスー
パバイザプロセスに理由コードを付して送信する。この
場合には、アクティビティディスカードの送信および受
信に応答して、スーパバイザ人およびスーパバイザBは
、PMT A上およびPMT B上それぞれの各プ
ロセスaとプロセスbの状態を理由コードに対応した状
態にする。If you want to abandon the binding established in this way midway through message exchange, the supervisor process on the subject side (in this case, either Supervisor A or Supervisor B
) sends an activity discard to the other party's supervisor process with a reason code attached. In this case, in response to sending and receiving the activity discard, the supervisor and supervisor B change the state of each process a and process b on PMT A and PMT B to a state corresponding to the reason code. .
また、前述のようKして設定された結合を介してのメツ
セージ交換が終了したのに伴ない結合を終了するときに
は、主体側のスーパバイザプロセス(この例ではスーパ
バイザA)がアクティビティエンドを相手側スーパバイ
ザ(この例ではスーパバイザB)に送信する。Furthermore, when the connection is terminated as the message exchange via the connection set as K is completed as described above, the supervisor process on the subject side (supervisor A in this example) transfers the activity end to the supervisor on the other side. (Supervisor B in this example).
スーパバイザBはアクティビティエンドの受信に応答し
てスーパバイザ人との結合を解放してアクティビティエ
ンドブックを返信すると共にPMTB上のプロセスaと
プロセスbの状態をサービス可とする。一方、アクティ
ビティエンドブックを受信したスーパバイザAもスーパ
バイザBとの結合を解放すると共にPMT A上のプ
ロセスaとプロセスbの状態をサービス可とする。In response to receiving the activity end, supervisor B releases the connection with the supervisor, returns the activity end book, and sets the status of process a and process b on PMTB to serviceable. On the other hand, supervisor A, which has received the activity endbook, also releases the connection with supervisor B and sets the status of process a and process b on PMT A to serviceable.
以上に説明したプロトコルコマンドに応答スルプロセス
の状態遷移の様子をプロセス起動処理への応答と共に第
4図に示す。FIG. 4 shows the state transition of the process that responds to the protocol command described above, together with the response to the process startup process.
(発明の効果)
本発明によれば、以上のような構成の採用によって、動
的に遷移するプロセスの状態がPMT上に正確に反映さ
れることになるため、メツセージ送信を行うにあたって
、スーパバイザプロセスがPMT上で相手プロセスの状
態をIN認し1通信可能であるときにのみメツセージ送
信を実行できるようになシ、無用なメツセージ送信を回
避でき、効率の良いメツセージ交換が行えるようになる
。(Effects of the Invention) According to the present invention, by employing the above configuration, the dynamically changing process state is accurately reflected on the PMT. This allows message transmission to be executed only when the process ID of the partner process is IN-identified on the PMT and communication is possible, and unnecessary message transmission can be avoided and messages can be exchanged efficiently.
第1図は本発明の一実施例、第2図は本実施例の詳細図
、第3図および第4図は本実施例の動作を説明するため
の図をそれぞれ示す。
1.11,21.31・・・・・・プロセス、2,12
,22゜32・・・・・・スーパバイザプロセス、3,
13,23.33・・・・・・プロセス管理テーブル(
PMT)、9,19,29゜39・・・・・・ネットワ
ーク定義ファイル(NDF)、10゜20.30・・・
・・・パーソナルコンビエータ(パソコン)。
2人・・・・・・初期化処理手段、2B・・・・・・送
信手段、2C・・・・・・受信手段% 2D・・・・・
・テーブル処理手段、100第1図
第3 図FIG. 1 shows an embodiment of the present invention, FIG. 2 shows a detailed view of the embodiment, and FIGS. 3 and 4 are diagrams for explaining the operation of the embodiment. 1.11,21.31...Process, 2,12
,22゜32... Supervisor process, 3,
13,23.33...Process management table (
PMT), 9, 19, 29゜39... Network definition file (NDF), 10゜20.30...
...Personal Combiator (PC). 2 people: Initialization processing means, 2B: Transmitting means, 2C: Receiving means% 2D:
・Table processing means, 100 Fig. 1 Fig. 3
Claims (1)
を介して処理を行なっていくような分散処理システムで
あって、前記ノードごとに、該分散処理システムに標準
的に存在する前記プロセスにつきその識別番号、存在す
るノードアドレスおよび起動情報から成るプロセス定義
情報が該分散処理システム構築時に書き込まれたネット
ワーク定義ファイルと、 前記各ノード上のプロセスについてその状態、前記識別
番号および前記ノードアドレス等が登録されるプロセス
管理テーブルと、 前記プロセス定義情報に基づいて自ノード上に存在すべ
きプロセスを起動しまた該プロセスからの要求に応答し
て他ノード上のプロセスとの間で通信を行うと共に該起
動および通信に伴なって前記プロセス管理テーブルの登
録または更新を行うスーパバイザプロセス とを有し、該スーパバイザプロセスはメッセージ送信時
に対応する前記プロセス管理テーブルを参照のうえでそ
の実行を決めるようにしたことを特徴とする分散処理シ
ステム。[Scope of Claims] A distributed processing system in which processes existing on a plurality of nodes perform processing through message exchange, wherein each node has a process that normally exists in the distributed processing system. A network definition file in which process definition information consisting of an identification number, an existing node address, and startup information for the process was written at the time of constructing the distributed processing system, and a process on each node, its status, the identification number, and the node. A process management table in which addresses, etc. are registered, and a process that starts a process that should exist on its own node based on the process definition information and communicates with a process on another node in response to a request from the process. and a supervisor process that registers or updates the process management table in conjunction with the activation and communication, and the supervisor process determines execution by referring to the corresponding process management table when sending a message. A distributed processing system characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10971285A JPS61267859A (en) | 1985-05-22 | 1985-05-22 | Decentralized processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10971285A JPS61267859A (en) | 1985-05-22 | 1985-05-22 | Decentralized processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61267859A true JPS61267859A (en) | 1986-11-27 |
Family
ID=14517306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10971285A Pending JPS61267859A (en) | 1985-05-22 | 1985-05-22 | Decentralized processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61267859A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01297762A (en) * | 1988-05-26 | 1989-11-30 | Mitsubishi Electric Corp | Man-machine information processing system |
US5519875A (en) * | 1991-08-08 | 1996-05-21 | Hitachi, Ltd. | Distributed processing system for modules, each having modularized objects |
US6507580B1 (en) | 1997-01-24 | 2003-01-14 | Nec Corporation | Method of controlling a calling in distributed node exchange network, distributed node exchange and distributed node exchange network |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5856171A (en) * | 1981-09-30 | 1983-04-02 | Fujitsu Ltd | Resource information control method in multi-system |
JPS58159142A (en) * | 1982-03-18 | 1983-09-21 | Mitsubishi Electric Corp | Logical link cutting system |
-
1985
- 1985-05-22 JP JP10971285A patent/JPS61267859A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5856171A (en) * | 1981-09-30 | 1983-04-02 | Fujitsu Ltd | Resource information control method in multi-system |
JPS58159142A (en) * | 1982-03-18 | 1983-09-21 | Mitsubishi Electric Corp | Logical link cutting system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01297762A (en) * | 1988-05-26 | 1989-11-30 | Mitsubishi Electric Corp | Man-machine information processing system |
US5519875A (en) * | 1991-08-08 | 1996-05-21 | Hitachi, Ltd. | Distributed processing system for modules, each having modularized objects |
US6507580B1 (en) | 1997-01-24 | 2003-01-14 | Nec Corporation | Method of controlling a calling in distributed node exchange network, distributed node exchange and distributed node exchange network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5323384A (en) | Method for establishing communication between tasks of a limited number of repeaters in a communication system | |
EP0302646B1 (en) | Device for establishing and controlling virtual networks | |
US7818408B1 (en) | Automated virtual interface failover in a mass storage cluster | |
US6014715A (en) | Method and apparatus for assigning port addresses | |
US7711831B2 (en) | Methods, systems and computer program products for source address selection | |
CN100389392C (en) | Method for realizing load uniform in clustering system, system and storage controller | |
US5355371A (en) | Multicast communication tree creation and control method and apparatus | |
US5745680A (en) | Interconnected networks and methods for communicating therebetween using virtual communications links | |
US20060206611A1 (en) | Method and system for managing programs with network address | |
JP2001356973A (en) | Network system | |
CA2094409C (en) | Multicast communication tree creation and control method and apparatus | |
US6535991B1 (en) | Method and apparatus for providing reliable communications in an intelligent network | |
KR102119456B1 (en) | Distributed Broker Coordinator System and Method in a Distributed Cloud Environment | |
JPH04275742A (en) | System and method of transferring data-packet | |
CN113612732B (en) | Resource calling method and device and multiparty secure computing system | |
JPS61267859A (en) | Decentralized processing system | |
JPH076138A (en) | Subentry point interface architecture for change control in computer network | |
JP4574684B2 (en) | Communication network system and message routing method using the same | |
JP2009508211A (en) | Independent message processing system and method transparent to endpoints | |
CN102821118A (en) | Method and system for backing up services in network with heterogeneous nodes | |
JP4782799B2 (en) | Communication network system and data transmission / reception method between services using the same. | |
JP2002502203A (en) | Telecommunications switch with multiple ports for host-node communication | |
JP2003348134A (en) | Communication path selecting system | |
JP2004030300A (en) | Network system, its management method, program for its method and recording medium | |
JPH01175434A (en) | Origination and termination connection system |