JPH01142966A - Distributed processing system - Google Patents

Distributed processing system

Info

Publication number
JPH01142966A
JPH01142966A JP62302663A JP30266387A JPH01142966A JP H01142966 A JPH01142966 A JP H01142966A JP 62302663 A JP62302663 A JP 62302663A JP 30266387 A JP30266387 A JP 30266387A JP H01142966 A JPH01142966 A JP H01142966A
Authority
JP
Japan
Prior art keywords
node
nodes
execution
memory
control table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62302663A
Other languages
Japanese (ja)
Other versions
JP2693460B2 (en
Inventor
Matohi Iizuka
飯塚 まとひ
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62302663A priority Critical patent/JP2693460B2/en
Publication of JPH01142966A publication Critical patent/JPH01142966A/en
Application granted granted Critical
Publication of JP2693460B2 publication Critical patent/JP2693460B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To selectively activate the application processing means of respective nodes and to attain the sharing of a purpose work by defining the execution instruction contents in accordance with the resources distribution between the nodes to a control table for demarcating a work provided at respective nodes. CONSTITUTION:In nodes A and B, control parts Cp successively refers to and interprets a control table CT and successively, activates application processing parts Ipi having an execution designation. Application processing parts Ip1 communicates the information through a communicating memory part PCM in a self-node. When the designation memory contents on a memory part PCM are adjusted so as to be the same ones by respective memory synchronizing updating mechanism (u) of the nodes A and B, the information can be communicated at the section of application processing parts Ip2 of the node B through a communicating memory part PCM. For this reason, the program to realize the application processing parts Ip2 can be prepared without considering by which of the nodes A and B an action is executed.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、オンライン・ネットワークに接続されたノ
ード間で運動して一連の業務を分担遂行するのに好適な
分散処理方式に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Field of Industrial Application) The present invention provides a distributed processing system suitable for performing a series of tasks among nodes connected to an online network. Regarding.

(従来の技術) 従来、オンライン・ネットワークで接続された分散コン
ピュータ・ノード(分散ノード)間で連動して業務を分
担遂行するときは、各ノードにアプリケーション・プロ
グラムを配置し、相対するアプリケーション・プログラ
ム間で交信規約を定め、この規約に従って一連のオンラ
イン交信を行なう処理手続きを各プログラム中に組込ん
で処理していた。例えば、AノードのaプログラムはA
ノードにある資源(ファイルなど)をアクセスするのに
用いられ、Bノードのbプログラムはaプログラムによ
るアクセス結果を受取ってBノードにある資源(プリン
タなど)への出力処理を行なうのに用いられるといった
機能分担を図り、このときaプログラムからbプログラ
ムに情報を渡す一連の処理をaプログラム中に実現し、
aプログラムから情報を受取る一連の処理をbプログラ
ム中に実現するといった具合である。
(Prior Art) Conventionally, when distributed computer nodes (distributed nodes) connected via an online network work together to share tasks, an application program is placed on each node, and the opposing application program is A communication agreement was established between the two companies, and a series of processing procedures for conducting online communication in accordance with this agreement were incorporated into each program. For example, the a program of A node is A
It is used to access resources (files, etc.) on the node B, and the b program on the B node is used to receive the access results from the a program and perform output processing to the resources (printer, etc.) on the B node. In order to divide the functions, a series of processes for passing information from program a to program b are realized in program a.
For example, a series of processes for receiving information from program a are implemented in program b.

以上の機能分担(分散)方式では、例えば上記の例にお
いてAノードの資源の一部(アクセスするファイル群の
うちの一部フアイル)が負荷調整などの目的でBノード
に移されるなど、プログラムがアクセスする資源のネッ
トワーク内再配置/ill査が必要となったときには、
プログラムの処理機能自体の見直し、変更が必要となっ
た。また、資源配分の異なるノード対、例えばファイル
X。
In the above function sharing (distribution) method, for example, in the above example, some of the resources of the A node (some files of the file group to be accessed) are moved to the B node for the purpose of load adjustment, etc. When it becomes necessary to relocate/ill-check the resources to be accessed within the network,
It became necessary to review and change the program's processing function itself. Also, a pair of nodes with different resource allocations, for example, file X.

yを持つノードAとプリンタを持っノードBの対(第1
ノード対)とファイルXを持つノードCとファイルy並
びにプリンタを持つノードDの対(第2ノード対)とで
は、おのおので動作させるプログラムを変えることが必
要となり、共通化には多大な工夫が必要であった。
A pair of node A with y and node B with printer (first
For the pair (second node pair) of node C with file It was necessary.

(発明が解決しようとする問題点) 上記したように従来は、複数のノード間で連動して一連
の業務を分担遂行させるには、各ノードが有する資源を
考慮してノード毎のアプリケーション・プログラムを作
成しなければならないため、各ノード間の資源分散関係
が変化した場合、更には業務内容は同じであってもネッ
トワーク毎に資源分散関係が異なる場合には、大幅なプ
ログラム変更が必要となる問題があった。
(Problems to be Solved by the Invention) As mentioned above, in the past, in order to have multiple nodes work together to share and execute a series of tasks, the application program for each node was created in consideration of the resources each node had. Therefore, if the resource distribution relationship between each node changes, or furthermore, if the resource distribution relationship differs for each network even if the business content is the same, significant program changes are required. There was a problem.

したがってこの発明は、オンライン・ネットワークに接
続されたノード間で連動して一連の業務を分担遂行しよ
うとするのに、業務内容が同一であれば、ネットワーク
内の各ノード間の資源分散関係が変化しても、更には資
源分散関係が異なるネットワークであっても、各ノード
に配置されるアプリケーション・プログラムの共通化を
図ることができる分散処理方式を提供することを解決す
べき課題とする。
Therefore, in this invention, nodes connected to an online network work together to share and execute a series of tasks, but if the tasks are the same, the resource distribution relationship between each node in the network changes. An object of the present invention is to provide a distributed processing method that can standardize application programs placed on each node even in networks with different resource distribution relationships.

[発明の構成] (問題点を解決するための手段) この発明は、目的業務を分担遂行する各分散ノードに、
目的業務を幾つかの小業務別に実行するための各ノード
に共通の幾つかの応用処理手段と、各応用処理手段毎に
実行ノードを指定するための実行指定情報が設定された
制御テーブルと、この制御テーブルを参照して次に起動
すべき応用処理手段を自ノードで動作させるか否かを判
定する実行制御手段と、各応用処理手段間の情報交信に
供される交信メモリ手段の指定メモリ領域の内容を一致
させるメモリ同期更新手段とを、それぞれ設けるように
したことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) This invention provides for each distributed node to share and carry out the target work,
several applied processing means common to each node for executing the target work separately for several small tasks; a control table in which execution specification information for specifying an execution node for each applied processing means is set; Execution control means refers to this control table and determines whether or not the application processing means to be activated next is to be operated on its own node, and a designated memory of communication memory means provided for information exchange between each application processing means. The present invention is characterized in that a memory synchronization update means is provided for matching the contents of the areas.

(作用) 上記の構成によれば、目的業務を遂行するのに必要な全
ての応用処理手段を各ノードに共通に用意しても、業務
の切り分け(分担)のために制御テーブルの実行指示内
容をノード間の資源分散関係に応じて定義しておきさえ
すれば、各ノードでは制御テーブルで定義されている応
用処理手段だけが業務遂行状況に応じて選択的に起動さ
れ、各ノード間で連動して目的業務が分担遂行できる。
(Function) According to the above configuration, even if all the applied processing means necessary to carry out the target work are commonly provided in each node, the execution instruction contents of the control table are used to separate (divide) the work. As long as it is defined according to the resource distribution relationship between nodes, only the applied processing means defined in the control table will be selectively activated in each node according to the business execution status, and each node will be linked. The purpose of the work can be divided and carried out.

このため業務内容が同一であれば、その業務の遂行に必
要な全ての応用処理手段は各ノード間の資源分散関係に
影響されず、したがって、これらの応用処理手段および
上記実行制御手段等の機能を実現するアプリケーション
・プログラムの作成が容易となる。
Therefore, if the business content is the same, all the application processing means necessary for the execution of the business will not be affected by the resource distribution relationship between each node, and therefore the functions of these application processing means and the above-mentioned execution control means, etc. It becomes easy to create an application program that realizes this.

(実施例) 第1図はこの発明を適用する分散ネットワーク・システ
ムのブロック構成を示す。同図において、A、Bは互い
に分散して配置され、相互に連動して一連の業務を遂行
するノード(分散ノード、コンピュータ・ノード)、L
はノードA、Bを相互接続する伝送路である。ノードA
、Bの内部構成は次の通りである。ノードA、Bにおい
て、Tpl、Ip2・・・lpnは目的業務を構成する
小業務別に用意され、対応する小業務を実行するための
応用処理部品、CTは応用処理部品1p1〜Ionの実
行指示を定義する制御テーブル、Cpは制御テーブルC
Tの指定内容を解釈する制御テーブル解釈部Cpiと制
御テーブル解釈部Cpiの解釈結果に応じて応用処理部
品Ip1〜II)nの起動制御を行なう応用部品実行制
御部CpCを有する制御部品である。
(Embodiment) FIG. 1 shows a block configuration of a distributed network system to which the present invention is applied. In the same figure, A and B are nodes (distributed nodes, computer nodes) that are arranged in a distributed manner and perform a series of tasks in conjunction with each other, and L
is a transmission line interconnecting nodes A and B. Node A
, B are as follows. In nodes A and B, Tpl, Ip2...lpn are prepared for each small task that constitutes the target task, and CT is an application processing component for executing the corresponding small task, and CT provides execution instructions for application processing components 1p1 to Ion. Control table to be defined, Cp is control table C
This control component has a control table interpretation section Cpi that interprets the specified contents of T, and an application component execution control section CpC that performs activation control of application processing components Ip1 to II)n according to the interpretation result of the control table interpretation section Cpi.

制御部品Cp、制御テーブルCTおよび応用処理部品I
p1〜II)nは、ノードA、Bに搭載されるアプリケ
ーション・プログラムによって実現される機能要素であ
る。
Control parts CP, control table CT and applied processing parts I
p1 to II)n are functional elements realized by application programs installed in nodes A and B.

PCMは制御部品Cp、応用処理部品Ipl〜11)n
間の情報交信に用いられ、グローバル領域として定義確
保される交信メモリ部、SIは自ノードと相手ノードと
の間の同期確立を図るための同期確立部、Uはメモリ同
期更新機構である。このメモリ同期更新機構Uは、自ノ
ードおよび他ノードの交信メモリ部PCM上の指定メモ
リ領域(斜線で示される領域)のメモリ情報を一致させ
るために、同領域の内容変化を検出して他ノード(の交
信メモリ部PCMの指定メモリ領域)に反映させるよう
になっている。LlはノードA、Bの各同期確立部3m
間の論理的なバス(論理パス)、L2はノードA、Bの
各メモリ同期更新機構0間の論理的なパス(論理パス)
である。
PCM is control part Cp, applied processing part Ipl~11)n
SI is a synchronization establishment unit for establishing synchronization between the own node and the other node, and U is a memory synchronization update mechanism. This memory synchronization update mechanism U detects changes in the content of the designated memory area (area indicated by diagonal lines) on the communication memory unit PCM of the own node and other nodes in order to match the memory information of the same area, and the other node (the designated memory area of the communication memory unit PCM). Ll is each synchronization establishment unit 3m of nodes A and B
L2 is a logical bus (logical path) between each memory synchronization update mechanism 0 of nodes A and B.
It is.

第2図は制御テーブルCTの一例を示す。図に示すよう
に、制御テーブルCTの各エントリの内容は、一連の業
務を遂行するのに必要な応用処理部品の識別子(応用処
理部品名)および実行指定情報を含んでいる。ここでは
実行指定情報として、P (P rimary) 、S
 (S econdary)およびB (Both )
の3種が用意されている。Pは該当応用処理(小業務)
をプライマリ−・ノードが実行することを、Sは該当応
用処理をセカンダリ−・ノードが実行することを、そし
てBは該当応用処理をプライマリ−/セカンダリーの両
ノードが並行して実行することを、それぞれ示す。なお
、この実施例の制御テーブルCTには、一連の業務を遂
行するのに必要な応用処理部品1p1〜Ipnの起動順
序を管理するのに必要な情報も含まれているが、起動順
序については別の手段で管理し、制御テーブルCTには
上記の応用処理部品名と実行指定情報との対だけを設定
しておくだけでもよい。
FIG. 2 shows an example of the control table CT. As shown in the figure, the content of each entry in the control table CT includes an identifier (applied processing component name) of an applied processing component necessary for performing a series of tasks and execution designation information. Here, as execution specification information, P (Primary), S
(S secondary) and B (Both)
There are three types available. P is applicable applied processing (small work)
S means that the primary node executes the corresponding application process, S means that the secondary node executes the corresponding application process, and B means that both the primary and secondary nodes execute the corresponding application process in parallel. Each is shown below. Note that the control table CT of this embodiment also includes information necessary to manage the activation order of the application processing components 1p1 to Ipn necessary for performing a series of tasks. It is also possible to manage it by another means and set only the pair of the application processing component name and execution designation information in the control table CT.

次に、この発明の一実施例の動作を説明する。Next, the operation of one embodiment of the present invention will be explained.

まず、ノードA、ノードBにおいては、制御部品Cpが
制御テーブルCTを順に参照して解釈し、実行指定のあ
る応用処理部品1pi(1≦i≦n)を次々に起動する
。起動された応用処理部品■piは、自ノード内の交信
メモリ部PCMを介して情報の交信を行なう。さて、こ
こでは制御部品Cp1制御テーブルCTおよび応用処理
部品Ipl〜Ipnの各機能要素を実現するためのアプ
リケーション・プログラムは、伝送路りによりオンライ
ン接続されたノードA、Bに等しく配置される。したが
って、ノードA、Bの各メモリ同期更新機構Uによって
、ノードA、Bの各交信メモリ部PCM上の指定メモリ
領域の内容が同一内容となるように調整されるならば、
ノードAの例えば応用処理部品1plはノードAの例え
ば応用処理部品Ip2と自ノード内の交信メモリ部PC
Mを介して交信が行なえるのと全く同等に、同交信メモ
リ部PCMを介してノードBの応用処理部品1p2との
間で情報交信が可能となる。このため、応用処理部品I
p2によって対応応用処理(小業務)を実行させるには
、ノードAまたはノードBのいずれで動作させるのが良
いかを資源状況などを考慮して任意に決定するば良く、
応用処理部品1p2を実現するプログラム部分は、ノー
ドA、Bのいずれで動作させるかを考慮することなく作
成可能となる。このことは、ノードA、Bにそれぞれ置
かれる応用処理部品Ip1.Ip2・・・Ipn全てに
共通である。更に、制御部品Cp並びに制御テーブルC
Tについても同様で、同一の制御部品Cp並びに制御テ
ーブルCTをノードA、Bにそれぞれ配置することが可
能であり、何の変更も不要である。
First, in the nodes A and B, the control component Cp sequentially refers to and interprets the control table CT, and sequentially activates application processing components 1pi (1≦i≦n) that are specified to be executed. The activated application processing component pi communicates information via the communication memory unit PCM within its own node. Now, here, the application programs for realizing the respective functional elements of the control component Cp1 control table CT and the application processing components Ipl to Ipn are equally placed in the nodes A and B connected online by the transmission path. Therefore, if the memory synchronization update mechanism U of nodes A and B adjusts the contents of the designated memory areas on each communication memory unit PCM of nodes A and B to have the same contents,
For example, the application processing component 1pl of node A communicates with, for example, application processing component Ip2 of node A, the communication memory unit PC within its own node.
In exactly the same way as communication can be performed via PCM, information can be exchanged with the application processing component 1p2 of node B via the communication memory unit PCM. For this reason, applied processing parts I
In order to execute the corresponding applied processing (small task) using p2, it is only necessary to arbitrarily decide whether it should be executed on node A or node B, taking into account the resource situation, etc.
The program portion that implements the application processing component 1p2 can be created without considering whether it will be operated on node A or node B. This means that the application processing component Ip1. Ip2...Ipn are common to all. Furthermore, control parts Cp and control table C
The same is true for T, and the same control component Cp and control table CT can be placed in nodes A and B, respectively, and no changes are necessary.

さて、各応用処理部品Ip1〜Ionは、第2図の制御
テーブルCTに示すように、プライマリ−・ノードで動
作すべきか、セカンダリ−・ノードで動作すべきかが定
義されている。このため処理開始時点では、ノードA、
Bのいずれがブライマリー・ノードとなり、いずれがセ
カンダリ−・ノードとなるかが決定されている必要があ
る。この決定方式としては、ノードA、Bのシステム生
成情報の一部として予め定義とておく方式、或は実行時
にオペレータからの指示により決定してノードA、B間
でコンセンサスを得るシーケンスを実行する方式などが
適用可能である。いずれにしても、上記のプライマリ−
/セカンダリー区分がノードA、Bで予め設定される。
Now, as shown in the control table CT of FIG. 2, it is defined whether each applied processing component Ip1 to Ion should operate on a primary node or a secondary node. Therefore, at the start of processing, node A,
It is necessary to determine which of B will be the primary node and which will be the secondary node. This determination method can be defined in advance as part of the system-generated information for nodes A and B, or it can be determined based on instructions from the operator during execution and a sequence is executed to obtain consensus between nodes A and B. method etc. can be applied. In any case, the above primary -
/Secondary partition is preset at nodes A and B.

この設定がなされていると、以下の動作が可能となる。If this setting is made, the following operations will be possible.

まず、ノードA、Bにそれぞれ用意された制御部品Cp
内の制御テーブル解釈部CI)Iは、制御テーブルCT
を解釈し、応用処理部品Iplの起動が必要となると、
応用部品実行制御部Cpcを呼出す。応用部品実行制御
部Cpcは、(予め設定された)自ノードのプライマリ
−/セカンダリー区分情報と、制御テーブル解釈部Cp
iの呼出しにより要求された(起動対象となる)応用処
理部品Ipiの実行指定情報を比較し、一致なら自ノー
ド実行、不一致なら相手ノード実行を判定する。また、
応用処理部品It)+の実行指定情報がB (Both
 )であれば、応用部品実行制御部Cpcは自ノードお
よび相手ノードの並行実行を判定する。そして応用部品
実行制御部CpCは、自ノード実行または並行実行を判
定した場合には要求された応用処理部品Ipiを起動す
る。これに対して相手ノード実行を判定した場合には、
応用部品実行制御部Cpcは制御テーブル解釈部Cpi
に対してあたかも応用処理部品1piを起動したように
見せ、実際には起動制御をせずに制御テーブル解釈部C
piに制御を戻す。
First, control components Cp prepared for nodes A and B, respectively.
The control table interpreter CI)I in the control table CT
When it is necessary to interpret and start the applied processing component Ipl,
Calls the application component execution control unit Cpc. The application component execution control unit Cpc uses (preset) primary/secondary classification information of its own node and the control table interpretation unit Cp.
The execution designation information of the application processing component Ipi requested (to be activated) by the call of i is compared, and if they match, it is determined that the local node should be executed, and if they do not match, it is determined that the other node should be executed. Also,
The execution specification information of the applied processing component It)+ is B (Both
), the application component execution control unit Cpc determines parallel execution of the local node and the partner node. When the application component execution control unit CpC determines execution on its own node or parallel execution, it starts the requested application processing component Ipi. On the other hand, if the execution of the other node is determined,
The application component execution control unit Cpc is the control table interpretation unit Cpi.
, it appears as if the application processing component 1pi has been activated, and the control table interpreter C is executed without actually controlling the activation.
Return control to pi.

これを“空制御”と呼ぶ。この゛空制御パにより、制御
テーブル解釈部clは次に起動すべき応用処理部品に関
する解釈に移ることができる。
This is called "empty control." This blank control allows the control table interpreter cl to move on to interpreting the application processing component to be activated next.

応用部品実行制御部Cpcは、上記の判定を制御テーブ
ル解釈部Cp1から呼出される度に行なう。
The application component execution control unit Cpc makes the above determination every time it is called by the control table interpretation unit Cp1.

この際、応用部品実行制御部CpCは、自ノード実行の
連続から相手ノード実行に変化したことを検出すると、
自ノード内の同期確立部SI!lに“相手起動要求”を
通知する。同期確立部SL1は、この要求を相手ノード
の同期確立部S11に論理バス上1経由で送出する。ま
た応用部品実行制御部Cpcは、上記の場合とは逆に相
手ノード実行の連続から自ノード実行に変化したことを
検出すると、自ノード内の同期確立部S11に“相手起
動要求”のWAIT(ウェイト)を要求する。この場合
、自ノード内の同期確立部Slは、相手ノード内の同期
確立部Smからの“相手起動要求”を持ち、この要求を
受取ると、その旨を自ノード内の応用部品実行制御部C
pcに通知する。応用部品実行制御部Cpcは、自ノー
ド内の同期確立部S11が相手ノードからの“相手起動
要求”を受取るまで持ち状態となり、制御テーブル解釈
部Cp1から要求された応用処理部品の起動が待たされ
る。そして自ノード内の同期確立部SIlが相手ノード
からの“相手起動要求”を受取り、その旨が応用部品実
行制御部CpCに通知されると、同制御部Cpcは制御
テーブル解釈部Cpiから要求された応用処理部品を起
動する。なお、このとき相手ノードでは、同期確立部S
11からの“相手起動要求”送出が行なわれると応用部
品実行制御部Cpcに制御が戻され、相手ノード実行の
゛空制御″が繰返される。
At this time, when the application component execution control unit CpC detects a change from continuous execution of the own node to execution of the other node,
Synchronization establishment unit SI within own node! Notify l of the “remote activation request”. The synchronization establishment unit SL1 sends this request to the synchronization establishment unit S11 of the partner node via the logical bus 1. Contrary to the above case, when the application component execution control unit Cpc detects a change from continuous execution of the other node to execution of the own node, the application component execution control unit Cpc sends a WAIT (request for start of the other party) to the synchronization establishment unit S11 in the own node. weight). In this case, the synchronization establishment unit Sl in the own node has a “partner startup request” from the synchronization establishment unit Sm in the other node, and upon receiving this request, it sends a request to the application component execution control unit C in the own node.
Notify PC. The application component execution control unit Cpc remains in a holding state until the synchronization establishment unit S11 within its own node receives a “partner activation request” from the other node, and is forced to wait for activation of the application processing component requested by the control table interpretation unit Cp1. . Then, when the synchronization establishment unit SIl in its own node receives the “partner activation request” from the other node and this fact is notified to the application component execution control unit CpC, the control unit Cpc receives the request from the control table interpretation unit Cpi. Start the applied processing component. Note that at this time, in the other node, the synchronization establishment unit S
11, the control is returned to the application component execution control unit Cpc, and the "empty control" of the execution of the partner node is repeated.

さて、相手ノード実行から自ノード実行に変化して、そ
の自ノード実行の対象となる応用処理部品を起動する際
に重要なことは、相手ノード実行の結果変化した交信メ
モリ部PCM上の指定メモリ領域の内容がメモリ同期更
新機構Uの動作によって自ノードの交信メモリ部PCM
の対応メモリ領域に反映され、両ノードの指定メモリ領
域の内容が一致していることである。そこでメモリ同期
更新機構Uは、同機構Uが置かれるノード内の交信メモ
リ部PCM上の指定メモリ領域への書込みが発生し、メ
モリ情報が変化することを検出すると、他ノードの交信
メモリ部PCM上の対応する指定メモリ領域にその変化
を反映させるために、その書込み情報を位置情報と共に
他ノードのメモリ同期更新機構Uに論理バスL2を介し
て伝送する。この伝送情報を受取ったメモリ同期更新機
構Uは、この伝送情報を用いて上記書込み情報を自ノー
ド内の交信メモリ部PCM上の指定メモリ領域の対応位
置に書込む。この動作により、両ノード内の各交信メモ
リ部PCMの指定メモリ領域の内容の一致化が図られる
Now, when changing from execution on the other node to execution on the own node and activating the application processing component that is the target of execution on the own node, what is important is that the specified memory on the communication memory part PCM that has changed as a result of execution on the other node. The contents of the area are changed to the communication memory part PCM of the own node by the operation of the memory synchronous update mechanism U.
is reflected in the corresponding memory area of the node, and the contents of the specified memory area of both nodes match. Therefore, when the memory synchronization update mechanism U detects that writing to a specified memory area on the communication memory unit PCM in the node in which the mechanism U is located occurs and memory information changes, the memory synchronization update mechanism U updates the communication memory unit PCM of the other node. In order to reflect the change in the corresponding specified memory area above, the write information is transmitted together with the position information to the memory synchronization update mechanism U of the other node via the logical bus L2. The memory synchronization update mechanism U that has received this transmission information uses this transmission information to write the write information to the corresponding position in the designated memory area on the communication memory unit PCM in its own node. Through this operation, the contents of the designated memory areas of each communication memory unit PCM in both nodes are made to match.

さて、応用部品実行制御部Cpcは、自ノード内の同期
確立部SIlに“相手起動要求”を通知する際に、交信
メモリ部PCMの指定メモリ領域の所定位置に同期フラ
グをセットするようにしている。今、ノードAの同期確
立部SIによって上記の同期フラグセットが行なわれた
ものとする。もし、ノードA、Bのメモリ同期更新機構
UによってノードA、Bの各交信メモリ部PCM上の指
定メモリ領域の内容が一致するよう処理されているなら
ば、ノードAの交信メモリ部PCMの所定位置にセット
された同期フラグは、ノード8の交信メモリ部PCM上
の指定メモリ領域の対応位置にセットされるはずである
。そこでノードAの相手ノードであるノードB内の同期
確立部S11は、ノードAの同期確立部Slから“起動
要求”を受取ると、ノードBの交信メモリ部PCM上の
指定メモリ領域の所定位置の同期フラグをチエツクし、
このチエツク結果によって(メモリ同期更新機構Uによ
る)交信メモリ部PCM上の指定メモリ領域の内容一致
化の完了の有無を調べる。そしてノードBの同期確立部
Smは、指定メモリ領域の内容一致を確認すると、ノー
ドB内の応用部品実行制御部CpCに制御を戻す。
Now, when the application component execution control unit Cpc notifies the synchronization establishment unit SIl in its own node of the “other party activation request”, it sets a synchronization flag at a predetermined position in the designated memory area of the communication memory unit PCM. There is. It is now assumed that the synchronization flag setting described above has been performed by the synchronization establishment unit SI of node A. If the memory synchronization update mechanism U of nodes A and B processes the contents of the specified memory areas on each communication memory unit PCM of nodes A and B to match, then the specified memory area of the communication memory unit PCM of node A The synchronization flag set at the location should be set at the corresponding location in the specified memory area on the communication memory unit PCM of the node 8. Therefore, when the synchronization establishment unit S11 in the node B, which is the counterpart node of the node A, receives the “activation request” from the synchronization establishment unit Sl of the node A, the synchronization establishment unit S11 in the node B, which is the counterpart node of the node Check the sync flag,
Based on the result of this check, it is determined whether or not the content matching of the designated memory area on the communication memory unit PCM has been completed (by the memory synchronization update mechanism U). After confirming that the contents of the designated memory area match, the synchronization establishment unit Sm of the node B returns control to the application component execution control unit CpC in the node B.

以上の処理機能により、例えばノードAがプライマリ−
・ノードとして定、義され、ノードBがセカンダリ−・
ノードとして定義されている状態で、制御テーブルCT
において応用処理部品ip1゜Ip2.Ip5がP指定
され、応用処理部品I p3゜Ip3がS指定されてい
る場合には、第3図に示すようにノードAでは応用処理
部品I pi、  I p2゜lp5が動作し、ノード
Bでは応用処理部品I D3゜Ip4が動作し、一連の
業務が遂行される。もし、応用処理部品1p4の処理対
象となる資源(例えばファイル)がノードBからノード
Aに移された場合には、制御テーブルCT内の応用処理
部品Ip4を示す部品名に対応する実行指定情報をSか
らPに書換えることで、第4図に示すようにノードAで
は応用処理部品Ipt、  Ip2.  Ip4.  
ID5が動作し、ノードiでは応用処理部品1p3が動
作するように簡単に調整できる。また、例えばノードA
With the above processing functions, for example, node A becomes the primary
・Defined and defined as a node, node B is secondary ・
Control table CT is defined as a node.
In the applied processing parts ip1゜Ip2. When Ip5 is designated as P and applied processing component Ip3゜Ip3 is designated as S, as shown in Fig. 3, applied processing components Ipi and Ip2゜lp5 operate in node A, and in node B, The application processing component ID3°Ip4 operates and a series of tasks are performed. If a resource (for example, a file) to be processed by the applied processing component 1p4 is moved from node B to node A, the execution specification information corresponding to the component name indicating the applied processing component Ip4 in the control table CT is By rewriting S to P, as shown in FIG. 4, at node A, application processing components Ipt, Ip2. Ip4.
It can be easily adjusted so that the ID5 operates and the applied processing component 1p3 operates on the node i. Also, for example, node A
.

Bの両ノードに、ファイルXと、このファイルXに交信
メモリ部PCMの内容を出力する処理を行なう応用処理
部品IDXが存在し、このIt)XをノードA、Bで並
行して動作させたい場合には、制御テーブルCTにおい
て応用処理部品1pxをB (BOth )指定すれば
よい。こうすることで、第5図に示すようにノードA、
Bの両ノードで並行的にファイルXへの出力処理が行な
われる。即ち、交信メモリ部PCMの内容を外部ファイ
ルに反映するといった交信メモリ部PGMの内容を変動
させない処理は、ノードA、Bで並行的に進めることが
できるので、性能が著しく向上する。
On both nodes of B, there is a file X and an application processing component IDX that performs the process of outputting the contents of the communication memory unit PCM to this file In this case, the applied processing component 1px may be designated as B (BOth) in the control table CT. By doing this, as shown in FIG.
Output processing to file X is performed in parallel on both nodes of B. In other words, processing that does not change the contents of the communication memory section PGM, such as reflecting the contents of the communication memory section PCM in an external file, can be performed in parallel at nodes A and B, so that performance is significantly improved.

さて応用部品実行制御部CDCは、上記の8指定により
自ノード実行から両ノード並行実行に変化したこと、或
は両ノード並行実行から相手ノード実行に変化したこと
を検出した場合には、自ノード内の同期確立部S−に“
相手起動要求”を通知する。また応用部品実行制御部C
pcは、相手ノード実行から両ノード並行実行に変化し
たこと、或は両ノード並行実行から自ノード実行に変化
したことを検出した場合には、自ノード内の同期確立部
3mに“相手起動要求”のWAITを指示して相手ノー
ドの実行終了を待ち、相手ノードの実行中に交信メモリ
部PCMの内容を変化させてしまうことを防ぐ。なお、
両ノード並行実行から両ノード並行実行への検出時には
、そのまま実行を継続でき、相手ノードへの“相手起動
要求″通知やWAIT指示は不要である。
Now, when the application component execution control unit CDC detects a change from execution on the own node to parallel execution on both nodes due to the above 8 specifications, or a change from parallel execution on both nodes to execution on the other node, In the synchronization establishment section S-
The application component execution control unit C
When the PC detects a change from execution on the other node to parallel execution on both nodes, or a change from parallel execution on both nodes to execution on its own node, the PC sends a "request to start other party" to the synchronization establishment unit 3m in its own node. "WAIT" to wait for the execution of the other node to finish, thereby preventing the contents of the communication memory unit PCM from being changed during execution of the other node. In addition,
When it is detected that the parallel execution on both nodes has changed to the parallel execution on both nodes, the execution can be continued as is, and there is no need to notify the other node of a "partner activation request" or to issue a WAIT instruction.

なお、前記実施例では、実行指示情報としてP(プライ
マリ−)、S(セカンダリ−)などを用いたが、ノード
名などを用いることも可能である。また、前記実施例で
は、2つのノードで1つの業務を遂行する場合について
説明したが、3つ以上のノードで1つの業務を遂行する
場合にも応用できる。
In the above embodiment, P (primary), S (secondary), etc. are used as the execution instruction information, but it is also possible to use a node name or the like. Further, in the above embodiment, a case has been described in which two nodes perform one task, but the present invention can also be applied to a case in which three or more nodes perform one task.

[発明の効果コ 以上詳述したようにこの発明によれば、次に列挙する作
用効果を奏することができる。
[Effects of the Invention] As detailed above, according to the present invention, the following effects can be achieved.

■ オンライン・ネットワークに接続されたノード間で
連動して業務を遂行しようとする際、この業務遂行に必
要な資源が各ノードに全て備わっているものとしてアプ
リケーション・プログラムを作成しておき、それ以外は
業務の切り分け(分担)のために単に制御テーブルの実
行指示内容だけを実際の資源分散状態に応じて定義する
だけで目的業務が遂行できるので、アプリケーション・
プログラムの作成が著しく容易となる。
■ When attempting to carry out a task in conjunction with nodes connected to an online network, an application program is created assuming that each node has all the resources necessary to carry out the task; In order to separate (allocate) tasks, the desired task can be accomplished by simply defining the execution instruction contents of the control table according to the actual resource distribution state.
Program creation becomes significantly easier.

■ 上記■から、各ノード間の資源分散関係が変動して
も、制御テーブルを書換えるだけで簡単に対処できる。
■ From (■) above, even if the resource distribution relationship between nodes changes, it can be easily handled by simply rewriting the control table.

また、資源分散関係の異なる幾つかの分散ネットワーク
・システムのいずれでも、同一業務を遂行する場合には
、制御テーブルの書換えだけで同一アプリケーション・
プログラムが適用できる。
In addition, when performing the same task in any of several distributed network systems with different resource distribution relationships, the same application can be executed simply by rewriting the control table.
The program can be applied.

■ 資源分散関係に応じた調整が簡単に行なえることか
ら、ノード間の連動性能の最適切り分は点を、資源配分
を変えながら実証しつつ求めることができる。
■ Since it is easy to make adjustments according to the resource distribution relationship, the optimum division of inter-node interlocking performance can be found by verifying the point while changing the resource allocation.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明を適用する分散ネットワーク・システ
ムのブロック構成図、第2図は第1図に示す制御テーブ
ルのテーブル構造の一例を示す図、第3図乃至第5図は
第1図に示すノードA、B間の業務分担の一例を示す図
である。 A、8・・・ノード(分散ノード)、Cp・・・制御部
品、CT・・・制御テーブル、Ip1〜Ipn・・・応
用処理部品、PCM・・・交信メモリ部、Sll・・・
同期確立部、U・・・メモリ同期更新機構。 出願人代理人 弁理士 鈴江武彦
FIG. 1 is a block configuration diagram of a distributed network system to which this invention is applied, FIG. 2 is a diagram showing an example of the table structure of the control table shown in FIG. 1, and FIGS. 3 to 5 are similar to FIG. 1. 2 is a diagram illustrating an example of division of work between nodes A and B shown in FIG. A, 8... Node (distributed node), Cp... Control component, CT... Control table, Ip1 to Ipn... Application processing component, PCM... Communication memory unit, Sll...
Synchronization establishment unit, U: memory synchronization update mechanism. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】 オンライン・ネットワークで相互接続された複数のノー
ドを備えた分散ネットワーク・システムにおいて、 上記各ノードに、 目的業務を構成する幾つかの小業務別に用意され、対応
小業務を実行するための上記各ノードに共通の応用処理
手段と、この各応用処理手段毎に実行ノードを指定する
ための実行指定情報が設定された制御テーブルと、この
制御テーブルを参照して次に起動すべき応用処理手段を
自ノードで動作させるか否かを判定し、この判定結果に
応じて該当応用処理手段を起動する実行制御手段と、上
記各応用処理手段間の情報交信に供される交信メモリ手
段と、この交信メモリ手段の指定メモリ領域のメモリ情
報の変化を検出して同情報を他ノードへ伝送し自ノード
および他ノードの交信メモリ手段の指定メモリ領域の内
容を一致させるメモリ同期更新手段と、自ノードと他ノ
ードとの間で上記応用処理手段の動作の同期をとる同期
確立手段と を設け、上記各ノード間で連動して上記目的業務を分担
遂行するようにしたことを特徴とする分散処理方式。
[Claims] In a distributed network system comprising a plurality of nodes interconnected through an online network, each of the nodes is prepared for each of several small tasks constituting a target task, and executes corresponding small tasks. An applied processing means common to each of the nodes mentioned above to perform the above operations, a control table in which execution specification information for specifying the execution node for each applied processing means is set, and a control table that refers to this control table to perform the next activation. Execution control means for determining whether or not to operate the application processing means on its own node and activating the application processing means in accordance with the result of this determination; and a communication memory provided for information exchange between the respective application processing means. means, and memory synchronization update means for detecting changes in memory information in a specified memory area of the communication memory means, transmitting the same information to other nodes, and matching the contents of the specified memory areas of the communication memory means of the own node and the other node. and synchronization establishing means for synchronizing the operation of the applied processing means between the own node and the other nodes, so that each of the nodes interlocks and performs the objective work in a shared manner. Distributed processing method.
JP62302663A 1987-11-30 1987-11-30 Distributed network system Expired - Lifetime JP2693460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62302663A JP2693460B2 (en) 1987-11-30 1987-11-30 Distributed network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62302663A JP2693460B2 (en) 1987-11-30 1987-11-30 Distributed network system

Publications (2)

Publication Number Publication Date
JPH01142966A true JPH01142966A (en) 1989-06-05
JP2693460B2 JP2693460B2 (en) 1997-12-24

Family

ID=17911690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62302663A Expired - Lifetime JP2693460B2 (en) 1987-11-30 1987-11-30 Distributed network system

Country Status (1)

Country Link
JP (1) JP2693460B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03105548A (en) * 1989-09-20 1991-05-02 Fujitsu Ltd Network system for computer
JPH0444164A (en) * 1990-06-12 1992-02-13 Hitachi Inf Syst Ltd Business processing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6278665A (en) * 1985-10-02 1987-04-10 Hitachi Ltd Information processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6278665A (en) * 1985-10-02 1987-04-10 Hitachi Ltd Information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03105548A (en) * 1989-09-20 1991-05-02 Fujitsu Ltd Network system for computer
JPH0444164A (en) * 1990-06-12 1992-02-13 Hitachi Inf Syst Ltd Business processing system

Also Published As

Publication number Publication date
JP2693460B2 (en) 1997-12-24

Similar Documents

Publication Publication Date Title
US4274139A (en) Digital telecommunication network having improved data processing systems
EP0362105B1 (en) Method for processing program threads of a distributed application program by a host computer and an intelligent work station in an SNA LU 6.2 network environment
US5201049A (en) System for executing applications program concurrently/serially on different virtual machines
US6081826A (en) System using environment manager with resource table in each computer for managing distributed computing resources managed for each application
EP0362107B1 (en) Method to manage concurrent execution of a distributed application program by a host computer and a large plurality of intelligent work stations on an SNA network
US6192389B1 (en) Method and apparatus for transferring file descriptors in a multiprocess, multithreaded client/server system
US5062037A (en) Method to provide concurrent execution of distributed application programs by a host computer and an intelligent work station on an sna network
US6199116B1 (en) Method and system for managing data while sharing application programs
US4937737A (en) Process transparent multi storage mode data transfer and buffer control
US4991089A (en) Method for establishing current terminal addresses for system users processing distributed application programs in an SNA LU 6.2 network environment
EP0205946A2 (en) Flexible data transmission for message based protocols
US5056003A (en) Distributed data management mechanism
CA1244142A (en) Distributed data management mechanism
JPH0330342B2 (en)
JPH01142966A (en) Distributed processing system
US6314462B1 (en) Sub-entry point interface architecture for change management in a computer network
JP2005509216A (en) How to build a distributed software component
US8712786B2 (en) Method and apparatus for controlling a multi-node process
US6308226B1 (en) Communication method and system for objects movable in network
CN113918215A (en) Micro-service configuration system, equipment and medium
US5488703A (en) System for establishing and performing multiple conversations simultaneously between transaction programs through logical units
KR100233238B1 (en) Two way authentication communication method using multithread in distributed transaction system
JPH10133888A (en) Soft parts combining control device and method therefor
JP2002251337A (en) Method for operating communication network
JP2003203000A (en) Method for executing transaction