JPH103392A - Multiprocess executing system - Google Patents

Multiprocess executing system

Info

Publication number
JPH103392A
JPH103392A JP15450496A JP15450496A JPH103392A JP H103392 A JPH103392 A JP H103392A JP 15450496 A JP15450496 A JP 15450496A JP 15450496 A JP15450496 A JP 15450496A JP H103392 A JPH103392 A JP H103392A
Authority
JP
Japan
Prior art keywords
parallel
processes
communication
data
communication management
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.)
Withdrawn
Application number
JP15450496A
Other languages
Japanese (ja)
Inventor
Hideaki Yoshijima
秀明 吉嶋
Satoshi Inano
聡 稲野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15450496A priority Critical patent/JPH103392A/en
Publication of JPH103392A publication Critical patent/JPH103392A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily design a parallel program by providing communication management information required for data communication from a communication management system to the respective parallel processes when data is communicated from the parallel process for executing a certain process to the respective parallel processes. SOLUTION: The respective parallel processes P11-P14 constituting the process 1 communicate data to the respective parallel processes P21-P24 constituting the process 2 and the respective processes P21-P24 communicate data to the respective parallel processes P41-P44 constituting the process 4. The respective parallel processes P31-P34 constituting the process 3 communicate data to the parallel processes P41-P44. A communication management system is provided with respective processes P1-P4 corresponding to the respective processes 1-4 the respective representing processes provide communication management information which is required for data communication to the parallel processes and also provide it to the representing processes corresponding to the processes to be a communication opposite party.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のプロセスの
それぞれを並列プログラムに従って動作する複数の並列
プロセスにて実行するようにしたマルチプロセス実行シ
ステムに係り、詳しくは、各並列プロセスを実現すべき
並列プログラムを容易に設計することのできるマルチプ
ロセス実行システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-process execution system in which each of a plurality of processes is executed by a plurality of parallel processes operating in accordance with a parallel program. The present invention relates to a multi-process execution system capable of easily designing a parallel program.

【0002】[0002]

【従来の技術】例えば、大量のデータを扱うプロセス
(処理)を実行する場合、複数のプロセッサを並列プロ
グラムに従って動作させ、この大量のデータの処理を並
列的に行なう。また、更に、このようにデータの処理を
複数のプロセッサによって並列的に行なう複数のプロセ
スをそれぞれ関連づけて実行する場合、各プロセスに割
り付けられたプロセッサは、そのプロセスに関連のある
プロセスに割り付けられた別のプロセッサと通信を行な
って、情報の授受を行なう。このような方式に従って複
数のプロセスを実行するマルチプロセス実行システムの
概念的な構成は、例えば、図5に示すようになってい
る。
2. Description of the Related Art For example, when executing a process (processing) for handling a large amount of data, a plurality of processors are operated according to a parallel program, and the processing of the large amount of data is performed in parallel. Further, when a plurality of processes in which data processing is performed in parallel by a plurality of processors are executed in association with each other, the processor assigned to each process is assigned to a process related to the process. It communicates with another processor to exchange information. A conceptual configuration of a multi-process execution system that executes a plurality of processes according to such a scheme is, for example, as shown in FIG.

【0003】図5において、プロセス1は、4つの並列
プロセス(Para−P11)、(Para−P1
2)、(Para−P13)及び(Para−P14)
からなり、プロセス2は、4つの並列プロセス(Par
a−P21)、(Para−P22)、(Para−P
23)及び(Para−P24)からなり、プロセス3
は、4つの並列プロセス(Para−P31)、(Pa
ra−P32)、(Para−P33)及び(Para
−P34)からなり、そして、プロセス4が4つの並列
プロセス(Para−P41)、(Para−P4
2)、(Para−P43)及び(Para−P44)
からなっている。各プロセス1、2、3、4には、各並
列プロセスに対応してプロセッサが割り付けられ、並列
プログラムに従って動作するプロセッサが対応する並列
プロセスを行なう。
In FIG. 5, a process 1 includes four parallel processes (Para-P11) and (Para-P1).
2), (Para-P13) and (Para-P14)
Process 2 is composed of four parallel processes (Par
a-P21), (Para-P22), (Para-P
23) and (Para-P24).
Are four parallel processes (Para-P31), (Pa
ra-P32), (Para-P33) and (Para-P33)
-P34), and the process 4 has four parallel processes (Para-P41), (Para-P4).
2), (Para-P43) and (Para-P44)
Consists of A processor is assigned to each of the processes 1, 2, 3, and 4 in accordance with each parallel process, and a processor operating according to a parallel program performs the corresponding parallel process.

【0004】例えば、プロセス1の各並列プロセスで得
られたデータは、プロセス2の全ての並列プロセスに提
供され、当該プロセス2の各並列プロセスにおいて提供
されたデータが処理される。即ち、プロセス1に割り付
けられたプロセッサからプロセス2に割り付けられたプ
ロセッサに対してN−to−N通信方式に従ったデータ
通信が行なわれる。
[0004] For example, data obtained in each parallel process of process 1 is provided to all parallel processes of process 2, and the data provided in each parallel process of process 2 is processed. That is, data communication according to the N-to-N communication method is performed from the processor assigned to the process 1 to the processor assigned to the process 2.

【0005】プロセス2の各並列プロセスで得られたデ
ータは、プロセス4の対応する並列プロセスに提供さ
れ、また、プロセス3の各並列プロセスで得られたデー
タもプロセス4の対応する並列プロセスに提供される。
即ち、プロセス2に割り付けられた各プロセッサからプ
ロセス4に割り付けられた各プロセッサに対して、ま
た、プロセス3に割り付けられた各プロセッサからプロ
セス4に割り付けられた各プロセッサに対して1−to
−1通信方式に従ったデータ通信が行なわれる。プロセ
ス4の各並列プロセスでは、プロセス2及びプロセス3
の対応する並列プロセスから提供されたデータが処理さ
れる。
The data obtained in each parallel process of process 2 is provided to the corresponding parallel process of process 4, and the data obtained in each parallel process of process 3 is also provided to the corresponding parallel process of process 4. Is done.
That is, 1-to-from each processor assigned to the process 2 to each processor assigned to the process 4, and from each processor assigned to the process 3 to each processor assigned to the process 4.
Data communication is performed according to the -1 communication method. In each parallel process of process 4, process 2 and process 3
The data provided from the corresponding parallel process is processed.

【0006】[0006]

【発明が解決しようとする課題】上記のようにして、複
数の並列プロセスにて構成されるプロセス1、2、3、
4を順次実行してゆくマルチプロセス実行システムで
は、各並列プロセスは、通信相手となる並列プロセスに
おけるデータ構造やデータ処理方式(プロセス内でのデ
ータ分割形式)等を考慮してデータを当該通信相手の並
列プロセスに提供している。即ち、各並列プログラムの
設計者は、通信関係、通信相手の並列プログラム等を常
に把握したうえで、通信に関する管理処理等も含めて並
列プログラムを設計しなければならず、その設計作業が
容易なものとはいえなかった。
As described above, processes 1, 2, 3, and
In the multi-process execution system that executes step 4 sequentially, each parallel process transfers data to the communication partner in consideration of the data structure and data processing method (data division format in the process) of the parallel process as the communication partner. To provide parallel processes. That is, the designer of each parallel program must always grasp the communication relationship, the parallel program of the communication partner, etc., and then design the parallel program including the management processing related to the communication. It wasn't.

【0007】そこで、本発明の課題は、並列プログラム
の設計が容易にできる構造となるマルチプロセス実行シ
ステムを提供することである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a multi-process execution system having a structure in which a parallel program can be easily designed.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、請求項1に記載されるように、複数のプ
ロセスのそれぞれが並列プログラムに従って動作する複
数の並列プロセスによって実行されるようにしたマルチ
プロセス実行システムにおいて、一のプロセスを実行す
るための並列プロセスと、他のプロセスを実行するため
の並列プロセスとの通信に必要な通信管理情報を各並列
プロセスに提供するための通信管理システムを有するよ
うにした。
In order to solve the above-mentioned problems, the present invention as defined in claim 1, wherein each of a plurality of processes is executed by a plurality of parallel processes operating according to a parallel program. Communication management for providing communication management information necessary for communication between a parallel process for executing one process and a parallel process for executing another process in each multi-process execution system System.

【0009】このようなマルチプロセス実行システムで
は、一のプロセスを実行するための並列プロセスから他
のプロセスを実行するための並列プロセスに対してデー
タ通信を行なう際、そのデータ通信に必要な通信管理情
報が通信管理システムから提供される。即ち、一のプロ
セスを実行するための並列プロセスは、その実行により
得られたデータを通信管理システムから提供される通信
管理情報に従って他のプロセスを実行するための並列プ
ロセスに送信(データ通信)する。また、当該他のプロ
セスを実行するための並列プロセスは、送信されたデー
タを通信管理システムから提供される通信管理情報に従
って受信する。
In such a multi-process execution system, when performing data communication from a parallel process for executing one process to a parallel process for executing another process, a communication management required for the data communication is performed. Information is provided from the communication management system. That is, the parallel process for executing one process transmits data obtained by the execution to a parallel process for executing another process according to communication management information provided from the communication management system (data communication). . Further, the parallel process for executing the other process receives the transmitted data according to the communication management information provided from the communication management system.

【0010】上記通信管理情報は、通信方式、入出力デ
ータの構造定義、入出力データのプロセッサによる分割
形式の定義、実行すべきプロセスの定義、データ名等、
プロセッサ間のデータ通信に必要な情報を含む。複数の
プロセスのそれぞれに対応させて、データ通信の管理を
独立的に行なうという観点から、本発明は、上記マルチ
プロセス実行システムにおいて、上記通信管理システム
は、データ通信を行なうべき上記各プロセスのそれぞれ
に対応して設けられれた管理プロセスを有し、各管理プ
ロセスは、対応するプロセスを実行するための並列プロ
セス及びデータ通信の相手となるプロセスに対応した他
の管理プロセスに通信管理情報を提供するようにした。
The communication management information includes a communication method, a structure definition of input / output data, a definition of a division format of input / output data by a processor, a definition of a process to be executed, a data name, and the like.
Contains information required for data communication between processors. From the viewpoint of independently managing data communication in correspondence with each of a plurality of processes, the present invention relates to the multi-process execution system, wherein the communication management system includes: Each of the management processes provides communication management information to a parallel process for executing the corresponding process and another management process corresponding to the process to be a data communication partner. I did it.

【0011】このようなマルチプロセス実行システムで
は、各プロセスを実行するための並列プロセスに対して
当該プロセスに対応した管理プロセスから通信管理情報
が提供される。そして、この管理プロセスからデータ通
信の相手となるプロセスに対応した管理プロセスに通信
管理情報が提供される。通信元のプロセスの管理プロセ
スから通信管理情報の提供を受けた通信先の管理プロセ
スは、その受信した通信管理情報を当該プロセスを実行
するための並列プロセスに提供する。その結果、各プロ
セスを実行するための並列プロセス間で、通信管理情報
に従ったデータ通信が可能となる。
In such a multi-process execution system, communication management information is provided to a parallel process for executing each process from a management process corresponding to the process. Then, the communication management information is provided from the management process to a management process corresponding to the process to be a data communication partner. The communication destination management process that has received the communication management information from the communication source process management process provides the received communication management information to a parallel process for executing the process. As a result, data communication according to the communication management information can be performed between the parallel processes for executing each process.

【0012】更に、上記のように各プロセスに対応した
管理プロセスを設けたマルチプロセッサ実行システムに
おいて、該管理プロセスを実行すべきプロセッサを余分
に設けることを避けるという観点から、本発明は、請求
項3に記載されるように、上記各管理プロセスは、対応
するプロセスを行なうための並列プロセスのうちの1と
共通のプロセッサで実行するように構成される。
Furthermore, in a multiprocessor execution system provided with management processes corresponding to the respective processes as described above, the present invention is intended to avoid providing an extra processor for executing the management processes. As described in 3, each of the management processes is configured to execute on a common processor with one of the parallel processes for performing the corresponding process.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の一形態を図
面に基づいて説明する。図1は、本発明の実施の一形態
に係るマルチプロセス実行システムが適用される並列計
算機を示すブロック図である。並列計算機とは、同時に
異なるまたは同じ内容の処理を複数のプロセッサで処理
する構造を持つ計算機をいう。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a parallel computer to which a multi-process execution system according to an embodiment of the present invention is applied. The parallel computer refers to a computer having a structure in which processing of different or the same contents is simultaneously processed by a plurality of processors.

【0014】図1において、プロセス1を並列的に実行
するプロセッサエレメント101(1)...101
(4)、プロセス2を並列的に実行するプロセッサエレ
メント102(1)...102(4)、プロセス3を
並列的に実行するプロセッサエレメント103
(1)...103(4)及びプロセス4を並列的に実
行するプロセッサエレメント104(1)...104
(4)が通信回線に接続され、相互に通信可能となって
いる。
In FIG. 1, processor elements 101 (1). . . 101
(4), the processor elements 102 (1). . . 102 (4), a processor element 103 for executing the process 3 in parallel
(1). . . 103 (4) and processor elements 104 (1). . . 104
(4) is connected to the communication line and can communicate with each other.

【0015】プロセッサエレメント101(1)...
101(4)は、それぞれ、並列プログラムに従って動
作し、その結果、プロセス1を構成する並列プロセスP
11...P14が実行される。特に、プロセッサエレ
メント101(1)は、並列プロセスP11を実行する
と共に、各プロセッサエレメント101(1)...1
01(4)における通信管理に関するプロセスP1(以
下、代理プロセスという)を統括的に実行する。
The processor elements 101 (1). . .
101 (4) operate according to the parallel program, and as a result, the parallel processes P forming the process 1
11. . . P14 is executed. In particular, the processor element 101 (1) executes the parallel process P11 and simultaneously executes each of the processor elements 101 (1). . . 1
The process P1 related to communication management in 01 (4) (hereinafter, referred to as a proxy process) is executed in an integrated manner.

【0016】プロセッサエレメント102(1)...
102(4)は、それぞれ、並列プログラムに従って動
作し、その結果、プロセス2を構成する並列プロセスP
21...P24が実行される。特に、プロセッサエレ
メント102(1)は、並列プロセスP21を実行する
と共に、各プロセッサエレメント102(1)...1
02(4)における通信管理に関するプロセスP2(代
理プロセス)を統括的に実行する。
The processor elements 102 (1). . .
102 (4) operate according to the parallel program, and as a result, the parallel processes P forming the process 2
21. . . P24 is executed. In particular, the processor element 102 (1) executes the parallel process P21 and simultaneously executes each processor element 102 (1). . . 1
The process P2 (proxy process) relating to the communication management in 02 (4) is executed collectively.

【0017】プロセッサエレメント103(1)...
103(4)は、それぞれ、並列プログラムに従って動
作し、その結果、プロセス3を構成する並列プロセスP
31...P34が実行される。特に、プロセッサエレ
メント103(1)のプロセッサは、並列プロセスP3
1を実行すると共に、各プロセッサエレメント103
(1)...103(4)における通信管理に関するプ
ロセスP3(代理プロセス)を統括的に実行する。
The processor elements 103 (1). . .
103 (4) operate according to the parallel program, and as a result, the parallel processes P constituting the process 3
31. . . P34 is executed. In particular, the processor of the processor element 103 (1) executes the parallel process P3
1 and each processor element 103
(1). . . The process P3 (proxy process) related to communication management in 103 (4) is executed in a comprehensive manner.

【0018】プロセッサエレメント104(1)...
104(4)は、それぞれ、並列プログラムに従って動
作し、その結果、プロセス4を構成する並列プロセスP
41...P44が実行される。特に、プロセッサエレ
メント104(1)のプロセッサは、並列プロセスP4
1を実行すると共に、各プロセッサエレメント104
(1)...104(4)における通信管理に関するプ
ロセスP4(代理プロセス)を統括的に実行する。
Processor elements 104 (1). . .
104 (4) operate according to the parallel program, and as a result, the parallel processes P constituting the process 4
41. . . P44 is executed. In particular, the processor of the processor element 104 (1) executes the parallel process P4
1 and each processor element 104
(1). . . The process P4 (proxy process) related to communication management in 104 (4) is executed in a comprehensive manner.

【0019】上記のような並列計算機内に構築されるマ
ルチプロセス実行システムの概念的な構成は、例えば、
図2に示されるようになる。図2において、プロセス1
を構成する各並列プロセスP11...P14はプロセ
ス2を構成する各並列プロセスP21...P24に対
してN−to−N通信方式に従ってデータ通信を行な
う。プロセス2を構成する各並列プロセスP21...
P24はプロセス4を構成する各並列プロセスP4
1...P44に対して1−to−1通信方式に従って
データ通信を行なう。プロセス3を構成する各並列プロ
セスP31...P34もまたプロセス4を構成する各
並列プロセスP41...P44に対して1−to−1
通信方式に従ってデータ通信を行なう。
The conceptual configuration of a multi-process execution system constructed in a parallel computer as described above is, for example,
As shown in FIG. In FIG. 2, process 1
Of each parallel process P11. . . P14 is each parallel process P21. . . Data communication is performed with P24 according to the N-to-N communication method. Each parallel process P21. . .
P24 is each parallel process P4 that constitutes process 4.
1. . . Data communication is performed with P44 according to the 1-to-1 communication method. Each parallel process P31. . . P34 also constitutes each of the parallel processes P41. . . 1-to-1 for P44
Data communication is performed according to the communication method.

【0020】上記のような関係となる各プロセス1、
2、3、4に対して、通信管理システムが設けられてい
る。この通信管理システムは、プロセス1に対応した代
理プロセスP1、プロセス2に対応した代理プロセスP
2、プロセス3に対応した代理プロセスP3及びプロセ
ス4に対応した代理プロセスP4を有している。
Each of the processes 1 having the above relationship,
Communication management systems are provided for 2, 3, and 4. This communication management system includes a proxy process P1 corresponding to process 1 and a proxy process P corresponding to process 2.
2. It has a proxy process P3 corresponding to the process 3 and a proxy process P4 corresponding to the process 4.

【0021】代理プロセスP1は、プロセス1からプロ
セス2に対するN−to−N通信方式に従ったデータ通
信に必要な通信管理情報を並列プロセスP11...P
14に提供すると共にプロセス1の通信相手となるプロ
セス2に対応した代理プロセスP2に提供する。代理プ
ロセスP2は、プロセス2からプロセス4に対する1−
to−1通信方式に従ったデータ通信に必要な通信管理
情報を並列プロセスP21...P24に提供すると共
にプロセス2の通信相手となるプロセス4に対応した代
理プロセスP4に提供する。代理プロセスP2は、更
に、代理プロセスP1から受信した受信した通信管理情
報を各並列プロセスP21...P24に提供する。
The proxy process P1 transmits communication management information necessary for data communication from the process 1 to the process 2 in accordance with the N-to-N communication method in the parallel process P11. . . P
14 and to a proxy process P2 corresponding to process 2 which is a communication partner of process 1. The proxy process P2 is defined as 1-
Communication management information necessary for data communication according to the to-1 communication method is transmitted to the parallel process P21. . . It is provided to P24 and to a proxy process P4 corresponding to process 4 that is a communication partner of process 2. The proxy process P2 further transmits the received communication management information received from the proxy process P1 to each of the parallel processes P21. . . Provide to P24.

【0022】代理プロセスP3は、プロセス3からプロ
セス4に対する1−to−1通信方式に従ったデータ通
信に必要な通信管理情報を並列プロセスP31...P
34に提供すると共にプロセス3の通信相手となるプロ
セス4に対応した代理プロセスに提供する。代理プロセ
スP4は、代理プロセスP2及びP3から受信した通信
管理情報を並列プロセスP41...P44に提供す
る。
The proxy process P3 transmits communication management information necessary for data communication from the process 3 to the process 4 in accordance with the 1-to-1 communication method in the parallel process P31. . . P
34 and to a proxy process corresponding to process 4 that is a communication partner of process 3. The proxy process P4 transmits the communication management information received from the proxy processes P2 and P3 to the parallel processes P41. . . Provide to P44.

【0023】上記のように各プロセス1、2、3、4に
おける予め定められた手順でのデータ通信が各並列プロ
セスとは別に設けられた通信管理システムにて管理され
る。その結果、プロセス1にて得られた演算データがプ
ロセス2に提供され、プロセス2においてその演算デー
タを用いて得られた演算データがプロセス4に提供され
る。また、プロセス3にて得られた演算データがプロセ
ス4に提供される。そして、プロセス4は、プロセス2
及びプロセス3から提供された演算データを用いて最終
的な演算データを出力する。
As described above, data communication in a predetermined procedure in each of the processes 1, 2, 3, and 4 is managed by a communication management system provided separately from each parallel process. As a result, the operation data obtained in the process 1 is provided to the process 2, and the operation data obtained by using the operation data in the process 2 is provided to the process 4. The operation data obtained in the process 3 is provided to the process 4. Then, the process 4 is the process 2
Then, final operation data is output using the operation data provided from the process 3.

【0024】各代理プロセス及び並列プロセスの更に詳
細な動作について説明する。マルチプロセスの開始に際
して、各代理プロセス及び並列プロセスは、例えば、図
3に示す手順にて動作する。代理プロセスでは、データ
通信において必要な初期設定の処理が行なわれる(S
0)。この初期設定では、各並列プロセスに提供される
データ(入力データ)及び処理結果として出力するデー
タ(出力データ)の構造が定義される。また、当該プロ
セスにおける各並列プロセスでのデータ分割形式と通信
相手のプロセスにおける各並列プロセスでのデータ分割
形式がことなるので、その入出力データの分割形式の定
義を行なう。このように、初期設定では、データ通信に
必要な各種の初期データが定義される。
A more detailed operation of each proxy process and parallel process will be described. At the start of the multi-process, each of the proxy processes and the parallel processes operates, for example, according to the procedure shown in FIG. In the proxy process, an initial setting process required for data communication is performed (S
0). In the initialization, the structures of data (input data) provided to each parallel process and data (output data) to be output as a processing result are defined. In addition, since the data division format of each parallel process in the process differs from the data division format of each parallel process in the communication partner process, the division format of the input / output data is defined. Thus, in the initial setting, various initial data necessary for data communication are defined.

【0025】このような初期設定データを受信した各プ
ロセスは、他のプロセスからのアクション(例えば、デ
ータ入力、モジュール接続構成変更要求等)の待ち状態
になる(S1)。そして、アクションがあると、定義さ
れた入力データを読み込み(S2)、その入力データを
用いて本来行なうべき処理を実行する(S3)。この本
来の処理の結果得られると、そのデータを定義された形
式にて出力する(S4)。その後、アクションの待ち状
態となり(S1)、アクションがある毎に、上記の基本
的な手順に従って処理が実行される。
Each process that has received such initial setting data waits for an action (eg, data input, module connection configuration change request, etc.) from another process (S1). When there is an action, the input data defined is read (S2), and the processing to be performed is executed using the input data (S3). When the result of the original processing is obtained, the data is output in a defined format (S4). Thereafter, an action is awaited (S1), and the process is executed in accordance with the above-described basic procedure every time there is an action.

【0026】例えば、プロセス1の並列プロセスP1n
からプロセス2の並列プロセスP2nへのデータ通信が
行なわれる場合(n=1、2、3、4)、図4に示すよ
うな手順に従って、処理が実行される。図4において、
プロセス1の代理プロセスP1において、データ通信に
おける出力処理に必要なデータが生成される。即ち、自
分のプロセスを特定するプロセスID及び出力データ名
が生成される。この出力データ名が並列プロセスP1n
に提供され、また、プロセスID及び出力データ名がプ
ロセス2の代理プロセスP2に提供される。
For example, the parallel process P1n of the process 1
When the data communication is performed from to the parallel process P2n of the process 2 (n = 1, 2, 3, 4), the processing is executed according to the procedure as shown in FIG. In FIG.
In a proxy process P1 of the process 1, data necessary for output processing in data communication is generated. That is, a process ID and an output data name for specifying the own process are generated. This output data name is the parallel process P1n
The process ID and the output data name are provided to the proxy process P2 of the process 2.

【0027】プロセス2の代理プロセスP2において
は、プロセス1からのデータ通信における入力処理に必
要なデータが生成される。即ち、代理プロセスP1から
提供されるプロセスID及び出力データ名を把握し、そ
のプロセスID、出力データ名、プロセス2での入力デ
ータ名を並列プロセスP2nに提供する。
In the proxy process P2 of the process 2, data necessary for input processing in data communication from the process 1 is generated. That is, the process ID and the output data name provided from the proxy process P1 are grasped, and the process ID, the output data name, and the input data name in the process 2 are provided to the parallel process P2n.

【0028】並列プロセスP1nは代理プロセスP1か
らの出力データ名を把握し、並列プロセスP2nは代理
プロセスP2からのプロセスID、出力データ名及び入
力データ名を把握する。そして、並列プロセスP2n
は、並列プロセスP1nに対して、自分のプロセスID
及び入力データ名を通知する。この通知を受けた並列プ
ロセスP1nは、出力プロセスID及び入力データ名を
把握した後、出力処理により通知(処理)されたデータ
を出力する。そして、並列プロセスP2nは、入力処理
にて、並列プロセスP1nからのデータを入力する。そ
の後、並列プロセスP2nは、その入力したデータを所
定の手順にて処理する。
The parallel process P1n grasps the output data name from the proxy process P1, and the parallel process P2n grasps the process ID, output data name and input data name from the proxy process P2. Then, the parallel process P2n
Is its own process ID for the parallel process P1n.
And the input data name. After receiving the notification, the parallel process P1n grasps the output process ID and the input data name, and then outputs the data notified (processed) by the output process. Then, the parallel process P2n inputs data from the parallel process P1n in the input processing. Thereafter, the parallel process P2n processes the input data according to a predetermined procedure.

【0029】上記のようなマルチプロセス実行システム
では、各プロセスを構成する並列プロセスは、データ通
信に必要な通信管理情報を代理プロセスから得る。そし
て、その通信管理情報に従って得られたデータが通信相
手の並列プロセッサに提供される。データを受信する側
の並列プロセッサでも、代理プロセッサから通信管理情
報を得ており、通信元の並列プロセスからのデータをそ
の通信管理情報に従って、入力処理する。
In the above-described multi-process execution system, the parallel processes constituting each process obtain communication management information necessary for data communication from the proxy process. Then, data obtained according to the communication management information is provided to the parallel processor of the communication partner. The parallel processor receiving the data also obtains the communication management information from the proxy processor, and inputs data from the parallel process of the communication source according to the communication management information.

【0030】上記例では、並列計算機にて当該マルチプ
ロセス実行システムを構築したが、本発明はこれに限定
されず、例えば、プロセッサエレメントをLANやWA
N等のネットワークで接続したシステムにて構築するこ
ともできる。また、通信管理システムを構成する各代理
プロセスは、並列プロセスを実行する各プロセッサのう
ちの1つで実行するよう構成されたが、本発明はこれに
限定されず、代理プロセスを個別のプロセッサにて実行
するようにしてもよい。
In the above example, the multi-process execution system was constructed using a parallel computer. However, the present invention is not limited to this.
It can also be constructed by a system connected by a network such as N. Also, each proxy process that constitutes the communication management system is configured to be executed by one of the processors that execute the parallel processes. However, the present invention is not limited to this, and the proxy process may be assigned to individual processors. May be executed.

【0031】[0031]

【発明の効果】以上、説明してきたように、各請求項に
記載された本発明によれば、データ通信に必要な通信管
理情報が、データ通信を行なうべき並列プロセスに提供
される。従って、各並列プロセスを実現すべき並列プロ
グラムは、通信管理情報を考慮せずに作成することが可
能となる。即ち、通信相手となる並列プロセスの構造等
を予め知ることなく並列プログラムを設計することが可
能となる。従って、並列プログラムの設計が容易にでき
る構造となるマルチプロセス実行システムを提供するこ
とができる。
As described above, according to the present invention described in each claim, communication management information required for data communication is provided to a parallel process in which data communication is to be performed. Therefore, a parallel program for realizing each parallel process can be created without considering the communication management information. That is, it is possible to design a parallel program without knowing in advance the structure of the parallel process as the communication partner. Therefore, it is possible to provide a multi-process execution system having a structure that allows easy design of a parallel program.

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

【図1】マルチプロセス実行システムが構築されるシス
テムのハードウエアの例を示す図である。
FIG. 1 is a diagram illustrating an example of hardware of a system in which a multi-process execution system is constructed.

【図2】本発明の実施の一形態に係るマルチプロセス実
行システムの概念構成を示す図である。
FIG. 2 is a diagram showing a conceptual configuration of a multi-process execution system according to an embodiment of the present invention.

【図3】代理プロセスと並列プロセスの処理手順の例
(その1)を示す図である。
FIG. 3 is a diagram illustrating an example (part 1) of a processing procedure of a proxy process and a parallel process.

【図4】代理プロセスと並列プロセスの処理手順の例
(その2)を示す図である。
FIG. 4 is a diagram illustrating an example (part 2) of a processing procedure of a proxy process and a parallel process.

【図5】従来のマルチプロセス実行システムの概念図を
示す図である。
FIG. 5 is a conceptual diagram of a conventional multi-process execution system.

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

101(1)、...、101(4) プロセッサエレ
メント 102(1)、...、102(4) プロセッサエレ
メント 103(1)、...、103(4) プロセッサエレ
メント 104(1)、...、104(4) プロセッサエレ
メント
101 (1),. . . , 101 (4) processor elements 102 (1),. . . , 102 (4) processor elements 103 (1),. . . , 103 (4) processor elements 104 (1),. . . , 104 (4) Processor element

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数のプロセスのそれぞれが並列プログラ
ムに従って動作する複数の並列プロセスによって実行さ
れるようにしたマルチプロセス実行システムにおいて、 一のプロセスを実行するための各並列プロセスと、他の
プロセスを実行するための各並列プロセスとの間のデー
タ通信に必要な通信管理情報を各並列プロセスに提供す
るための通信管理システムを有するマルチプロセス実行
システム。
1. A multi-process execution system in which each of a plurality of processes is executed by a plurality of parallel processes operating in accordance with a parallel program, wherein each parallel process for executing one process and another process are executed. A multi-process execution system having a communication management system for providing communication management information necessary for data communication with each parallel process to execute to each parallel process.
【請求項2】請求項1記載のマルチプロセス実行システ
ムにおいて、 上記通信管理システムは、データ通信を行なうべき上記
各プロセスのそれぞれに対応して設けられれた管理プロ
セスを有し、各管理プロセスは、対応するプロセスを実
行するための並列プロセス及びデータ通信の相手となる
プロセスに対応した他の管理プロセッサに通信管理情報
を提供するようにしたマルチプロセス実行システム。
2. The multi-process execution system according to claim 1, wherein said communication management system has management processes provided corresponding to each of said processes to perform data communication. A multi-process execution system configured to provide communication management information to another management processor corresponding to a parallel process for executing a corresponding process and a process to be a data communication partner.
【請求項3】請求項2記載のマルチプロセス実行システ
ムにおいて、 上記各管理プロセスは、対応するプロセスを行なうため
の並列プロセスのうちの1と共通のプロセッサにて実行
されるようにしたマルチプロセス実行システム。
3. The multi-process execution system according to claim 2, wherein each of said management processes is executed by a common processor with one of parallel processes for performing a corresponding process. system.
JP15450496A 1996-06-14 1996-06-14 Multiprocess executing system Withdrawn JPH103392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15450496A JPH103392A (en) 1996-06-14 1996-06-14 Multiprocess executing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15450496A JPH103392A (en) 1996-06-14 1996-06-14 Multiprocess executing system

Publications (1)

Publication Number Publication Date
JPH103392A true JPH103392A (en) 1998-01-06

Family

ID=15585695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15450496A Withdrawn JPH103392A (en) 1996-06-14 1996-06-14 Multiprocess executing system

Country Status (1)

Country Link
JP (1) JPH103392A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708271B1 (en) 1999-08-18 2004-03-16 Denso Corporation Interactive multi-module system having a communication manager for achieving linked operation of plurality of modules and for defining whether and how an individual module can access a particular function
JP4689917B2 (en) * 1999-11-25 2011-06-01 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Interprocess communication in distributed processing systems.

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708271B1 (en) 1999-08-18 2004-03-16 Denso Corporation Interactive multi-module system having a communication manager for achieving linked operation of plurality of modules and for defining whether and how an individual module can access a particular function
JP4689917B2 (en) * 1999-11-25 2011-06-01 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Interprocess communication in distributed processing systems.

Similar Documents

Publication Publication Date Title
JPH103392A (en) Multiprocess executing system
JP3494545B2 (en) Distributed computer system, computer and distributed processing method
KR101102930B1 (en) Robot used software component apparatus and thread processing method using by it
JPH11265297A (en) Distributed simulator system
US7167908B2 (en) Facilitating operation of a multi-processor system via a resolved symbolic constant
JP4689917B2 (en) Interprocess communication in distributed processing systems.
JPH02297633A (en) Task managing system
WO2006051902A1 (en) Calculation processing system, calculation processing method, user program system, library program system, program, and recording medium containing the program
JPS6175448A (en) Program execution control system
JPH06222929A (en) Inter-application communication system
JP2000311094A (en) Communication method between remote objects
JPH03266064A (en) Method and device for constituting program
JPH06290127A (en) Computer system
JPH03288255A (en) Network control system for multiprocessor
JP2002163158A (en) Communication system and communication method
JP2006350580A (en) Device in distributed application system
JPH01232853A (en) Protocol mounting system
JP2001100812A (en) Distributed processing system
JPH0916495A (en) Communication control method
JPH01206758A (en) Information transferring system
JPH0421150A (en) On-line processing system
JPH03134758A (en) Decentralized processing system
JPS62208134A (en) Integrated os computer system
JPH0365720A (en) Print server
KR19980015549A (en) Communication device between multiple processors

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030902