JPH04274524A - System for controlling inter-process communication - Google Patents

System for controlling inter-process communication

Info

Publication number
JPH04274524A
JPH04274524A JP3490791A JP3490791A JPH04274524A JP H04274524 A JPH04274524 A JP H04274524A JP 3490791 A JP3490791 A JP 3490791A JP 3490791 A JP3490791 A JP 3490791A JP H04274524 A JPH04274524 A JP H04274524A
Authority
JP
Japan
Prior art keywords
operating system
data
processes
central processing
inter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3490791A
Other languages
Japanese (ja)
Inventor
Masashi Kudo
工藤 雅司
Tatsuya Akaike
赤池 達也
Eiryo Matsushima
英良 松嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Solution Innovators Ltd
NEC Software Shizuoka Ltd
Original Assignee
NEC Corp
NEC Solution Innovators Ltd
NEC Software Shizuoka Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Solution Innovators Ltd, NEC Software Shizuoka Ltd filed Critical NEC Corp
Priority to JP3490791A priority Critical patent/JPH04274524A/en
Publication of JPH04274524A publication Critical patent/JPH04274524A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To enable process of an operating system to control and communicate with the process of another operating system without using any communication controller and, at the same time, to prevent a decline in the processing speed. CONSTITUTION:Data exchange control means 4a and 4b respectively control data reception requests for transferring data from the processes of the opposite operating systems to the processes of their own operating systems and data transmission requests for transferring data from the processes of their own operating systems to the processes of opposite operating systems. A data transmission/reception requesting content management file 6 stores the contents of data reception and transmission requests. Inter-CPU interruption control means 3a and 3b control hardware interruption between CPUs.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は複数の中央処理装置から
構成され、かつそれぞれの中央処理装置で異なったオペ
レーティングシステムを実行することができる電子計算
機システムにおけるプロセス間通信制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-process communication control system in a computer system that is composed of a plurality of central processing units, each of which can execute a different operating system.

【0002】0002

【従来の技術】従来、複数の中央処理装置から構成され
、かつそれぞれの中央処理装置で異なったオペレーティ
ングシステムを実行することができる電子計算機システ
ムでは、異種オペレーティングシステム間のプロセスの
通信制御を行うとき、通信制御装置等の外部装置を介し
て行う必要があった。
[Background Art] Conventionally, in a computer system that is composed of a plurality of central processing units and each central processing unit is capable of executing a different operating system, communication control of processes between different operating systems is performed. , it was necessary to perform this via an external device such as a communication control device.

【0003】0003

【発明が解決しようとする課題】上述した従来の電子計
算機システムにおけるプロセス間通信制御方式では、異
種オペレーティングシステム間のプロセスの通信制御は
、通信制御装置等の外部装置を介して行われるため、通
信制御装置を介することによる処理速度の低下が避けら
れず、通信を行うための特別な通信制御手順の設定が必
要であるという欠点を有していた。
[Problems to be Solved by the Invention] In the above-mentioned conventional inter-process communication control method for computer systems, communication control of processes between different operating systems is performed via an external device such as a communication control device. This method has disadvantages in that a reduction in processing speed due to the use of a control device is unavoidable, and it is necessary to set a special communication control procedure for communication.

【0004】本発明の目的は、通信制御装置を使用して
複雑な手続きを行わなくても、他オペレーティングシス
テム上のプロセスと通信を行ったり制御することができ
、また処理速度の低下も防ぐことができるプロセス間通
信制御方式を提供することにある。
An object of the present invention is to be able to communicate with and control processes on other operating systems without using a communication control device and performing complicated procedures, and also to prevent a decrease in processing speed. The purpose of this invention is to provide an inter-process communication control method that allows for

【0005】[0005]

【課題を解決するための手段】本発明のプロセス間通信
制御方式は、複数の中央処理装置より構成され、かつそ
れぞれの中央処理装置で異ったオペレーティングシステ
ムを実行する電子計算機システムにおけるプロセス間通
信制御方式において、それぞれの中央処理装置が、(A
)他オペレーティングシステムのプロセスから自オペレ
ーティングシステムのプロセスにデータを転送するデー
タ受信要求、及び自オペレーティングシステムのプロセ
スから他オペレーティングシステムのプロセスにデータ
を転送するデータ送信要求を制御するデータ交換制御手
段、(B)前記データ受信要求及びデータ送信要求の内
容を格納するデータ送受信要求内容管理ファイル、(C
)前記中央処理装置間のハードウェア割り込みの制御を
行う中央処理装置間割込制御手段、を備えて構成されて
いる。
[Means for Solving the Problems] The inter-process communication control method of the present invention provides for inter-process communication in a computer system that is composed of a plurality of central processing units and in which each central processing unit executes a different operating system. In the control method, each central processing unit (A
) Data exchange control means for controlling a data reception request to transfer data from a process of another operating system to a process of the own operating system, and a data transmission request to transfer data from a process of the own operating system to a process of another operating system; B) a data transmission/reception request content management file that stores the contents of the data reception request and data transmission request, (C
) Inter-Central Processing Unit interrupt control means for controlling hardware interrupts between the Central Processing Units.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0007】図1は本発明のプロセス間通信制御方式の
一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the inter-process communication control method of the present invention.

【0008】図1のプロセス間通信制御方式は、通信回
線で接続された、オペレーティングシステム「1」を実
行する中央処理装置1a、オペレーティングシステム「
2」を実行する中央処理装置1b、主記憶装置2から構
成されている。
The inter-process communication control system shown in FIG.
2, and a main storage device 2.

【0009】主記憶2は、オペレーティングシステム「
1」とオペレーティングシステム「2」との双方から参
照可能な領域であり、データ送受信要求内容管理ファイ
ル5を含む。中央処理装置1aは、中央処理装置間割込
制御手段3a,データ交換制御手段4a,プロセス6a
〜6bを含む。また、中央処理装置1bは、中央処理装
置間割込制御手段3b,データ交換制御手段4b,プロ
セス7a〜7bを含む。
[0009] The main memory 2 is an operating system "
This area can be referenced from both the operating system "1" and the operating system "2", and includes the data transmission/reception request content management file 5. The central processing unit 1a includes an inter-central processing unit interrupt control means 3a, a data exchange control means 4a, and a process 6a.
~6b included. Further, the central processing unit 1b includes an inter-central processing unit interrupt control means 3b, a data exchange control means 4b, and processes 7a to 7b.

【0010】データ送受信要求内容管理ファイル5は、
オペレーティングシステム「1」とオペレーティングシ
ステム「2」のそれぞれで動作するプロセス6a〜6b
,7a〜7bが、他オペレーティングシステム上のプロ
セスと通信するために使用され、相手先プロセス識別子
,機能コード,バッファ情報等が格納されている。また
、プロセス間通信のブロックにはそれぞれ番号が割り付
けられている。
The data transmission/reception request content management file 5 is as follows:
Processes 6a to 6b running on each of operating system "1" and operating system "2"
, 7a to 7b are used to communicate with processes on other operating systems, and store destination process identifiers, function codes, buffer information, etc. In addition, a number is assigned to each block of interprocess communication.

【0011】次に、プロセス6a〜6bからプロセス7
a〜7bに対してデータ転送要求(データ送信要求及び
データ受信要求)が行われた場合を例として動作を説明
する。
Next, processes 6a to 6b to process 7
The operation will be explained by taking as an example a case where a data transfer request (a data transmission request and a data reception request) is made to a to 7b.

【0012】この場合、データ交換制御手段4aは、自
オペレーティングシステムから出された中央処理装置1
bのオペレーティングシステムへのデータ送信要求(自
オペレーティングシステムから他オペレーティングシス
テムへデータを送信する要求)、及びデータ受信要求(
自オペレーティングシステムから他オペレーティングシ
ステムへのデータ送信の要求)を処理することとになる
。また、データ交換制御手段4bは、中央処理装置1a
のオペレーティングシステムから自オペレーティングシ
ステムに行われた上記要求を処理することとなる。
In this case, the data exchange control means 4a controls the central processing unit 1 issued from its own operating system.
Data transmission request to the operating system of b (request to send data from own operating system to other operating system), and data reception request (
This will process requests for data transmission from the own operating system to other operating systems. Further, the data exchange control means 4b includes the central processing unit 1a.
The above-mentioned requests made from the operating system to the own operating system will be processed.

【0013】まず、プロセス6a〜6bからデータ交換
制御手段4aに、プロセス7a〜7bに対する送信要求
を発行する場合について説明する。
First, the case where the processes 6a to 6b issue a transmission request to the processes 7a to 7b to the data exchange control means 4a will be described.

【0014】データ交換制御手段4aは、データ送受信
要求内容管理ファイル5における空きブロックを確保し
て、プロセス6a〜6bに通知すべき機能コード、バッ
ファ情報をその確保した空きブロックに格納する。その
ブロック番号は、中央処理装置間割込制御手段3aによ
って中央処理装置1aから中央処理装置1bへのハード
ウェア割り込み時に、央処理装置間割込制御手段3bに
通知される。
The data exchange control means 4a secures an empty block in the data transmission/reception request content management file 5, and stores the function code and buffer information to be notified to the processes 6a to 6b in the secured empty block. The block number is notified to the inter-CPU interrupt control means 3b by the inter-CPU interrupt control means 3a at the time of a hardware interrupt from the central processing unit 1a to the central processing unit 1b.

【0015】一方、上記送信要求の場合の処理によって
ハードウェア割り込みを受けた中央処理装置間割込制御
手段3bは、割り込み時に通知されたデータ送受信要求
内容管理ファイル5のブロック番号をデータ交換制御手
段4bに通知する。データ交換制御手段4bは、通知さ
れた該当ブロックを参照して、相手先プロセス識別子を
得る。このとき、プロセス7a〜7bからの受信要求の
発行があっても、受信要求を発行しているプロセス7a
〜7bの中で、中央処理装置1a側のデータ送信要求の
ときに確保された相手先プロセス識別子に当るプロセス
がプロセス7a〜7bの中にあったならば、そのプロセ
スに対してデータ送受信要求内容管理ファイル5の該当
ブロックの内容(機能コード,バッファ情報)を通知す
る。そして、中央処理装置1aのオペレーティングシス
テムのプロセスから中央処理装置1bのオペレーティン
グシステムのプロセスにデータ転送が行われる。
On the other hand, the inter-Central Processing Unit interrupt control means 3b, which has received a hardware interrupt due to the processing of the above-mentioned transmission request, transfers the block number of the data transmission/reception request content management file 5 notified at the time of the interrupt to the data exchange control means. Notify 4b. The data exchange control means 4b refers to the notified corresponding block and obtains the partner process identifier. At this time, even if a reception request is issued from the processes 7a to 7b, the process 7a issuing the reception request
7b, if there is a process among the processes 7a to 7b that corresponds to the destination process identifier secured at the time of the data transmission request on the central processing unit 1a side, the data transmission/reception request content is sent to that process. The contents of the corresponding block in the management file 5 (function code, buffer information) are notified. Then, data is transferred from the operating system process of the central processing unit 1a to the operating system process of the central processing unit 1b.

【0016】次に、プロセス6a〜6bがデータ交換制
御手段4aに、プロセス7a〜7bからのデータを受信
するデータ受信要求を発行する場合について説明する。
Next, a case will be described in which the processes 6a to 6b issue a data reception request to the data exchange control means 4a to receive data from the processes 7a to 7b.

【0017】自オペレーティングシステムのプロセス6
a〜6bに対して、中央処理装置1bのオペレーティン
グシステムのプロセス7a〜7bからデータ転送の要求
が無い場合は、プロセス6a〜6bから出された、プロ
セス7a〜7bからデータを受信したいという受信要求
が保持され、中央処理装置1bのオペレーティングシス
テムのプロセスから自オペレーティングシステムのプロ
セスにデータ転送が行われる。
Process 6 of own operating system
If there is no data transfer request from the processes 7a to 7b of the operating system of the central processing unit 1b to a to 6b, a reception request issued by the processes 6a to 6b to receive data from the processes 7a to 7b. is held, and data is transferred from the operating system process of the central processing unit 1b to its own operating system process.

【0018】このとき、すでに自オペレーティングシス
テムのプロセス6a〜6bに対して、他オペレーティン
グシステムのプロセスからデータ転送の要求がある場合
は、データ交換制御手段4aは、他オペレーティングシ
ステム側で上記送信要求の場合と同様の手段によってす
でに確保されているデータ送受信要求内容管理ファイル
5の該当ブロックの内容を、プロセス6a〜6bに通知
する。そして、この場合は、中央処理装置1bのオペレ
ーティングシステムのプロセス7a〜7bから自オペレ
ーティングシステムのプロセスにデータ転送が行われる
At this time, if the processes 6a to 6b of the own operating system have already received a data transfer request from a process of another operating system, the data exchange control means 4a handles the above-mentioned transmission request on the side of the other operating system. The processes 6a to 6b are notified of the contents of the corresponding block of the data transmission/reception request content management file 5, which has already been secured by the same means as in the above case. In this case, data is transferred from the processes 7a to 7b of the operating system of the central processing unit 1b to the process of its own operating system.

【0019】上記において、他オペレーティングシステ
ムからのデータ転送が行われるまで待たされた自オペレ
ーティングシステムのデータ受信要求は、他オペレーテ
ィングシステムからのデータ転送が行われた後で行われ
る。
[0019] In the above, the data reception request of the own operating system, which is made to wait until the data transfer from the other operating system is performed, is made after the data transfer from the other operating system has been performed.

【0020】以上の説明は、オペレーティングシステム
1からオペレーティングシステム2に対するプロセス間
通信における制御方式であるが、オペレーティングシス
テム2からオペレーティングシステム1に対する制御の
場合も同様にして行われる。
The above explanation is about the control method for inter-process communication from the operating system 1 to the operating system 2, but the control method from the operating system 2 to the operating system 1 is performed in the same way.

【0021】このように、外部装置である通信制御装置
を使用して複雑な手続きを行わなくても、他オペレーテ
ィングシステム上のプロセスと通信を行ったり制御する
ことができ、また通信処理を行うために通信制御装置を
使用することもないので処理速度の低下も防ぐことがで
きる。
[0021] In this way, it is possible to communicate with and control processes on other operating systems without having to perform complicated procedures using a communication control device, which is an external device, and to perform communication processing. Since a communication control device is not used in the process, a decrease in processing speed can also be prevented.

【0022】[0022]

【発明の効果】以上説明したように、本発明のプロセス
間通信制御方式は、複数のオペレーティングシステムを
実行する電子計算機システムにおいて、中央処理装置間
割込制御手段,データ交換制御手段及びデータ送受信要
求内容管理ファイルを設けることにより、通信制御装置
を使用して複雑な手続きを行わなくても、他オペレーテ
ィングシステム上のプロセスと通信を行ったり制御する
ことができ、また通信処理を行うために通信制御装置を
使用することもないので処理速度の低下も防ぐことがで
きるという効果を有している。
As explained above, the inter-process communication control method of the present invention can be used to control interrupt control means between central processing units, data exchange control means, and data transmission/reception requests in a computer system running a plurality of operating systems. By providing a content management file, you can communicate with and control processes on other operating systems without using a communication control device and performing complicated procedures. Since no equipment is used, this method has the effect of preventing a decrease in processing speed.

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

【図1】本発明のプロセス間通信制御方式の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an inter-process communication control method of the present invention.

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

1a,1b    中央処理装置 2    主記憶装置 3a,3b    中央処理装置間割込制御手段4a,
4b    データ交換制御手段5    データ送受
信要求内容管理ファイル6a〜6b    プロセス 7a〜7b    プロセス
1a, 1b central processing unit 2 main storage device 3a, 3b inter-central processing unit interrupt control means 4a,
4b Data exchange control means 5 Data transmission/reception request content management files 6a to 6b Processes 7a to 7b Processes

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数の中央処理装置より構成され、か
つそれぞれの中央処理装置で異ったオペレーティングシ
ステムを実行する電子計算機システムにおけるプロセス
間通信制御方式において、それぞれの中央処理装置が、
(A)他オペレーティングシステムのプロセスから自オ
ペレーティングシステムのプロセスにデータを転送する
データ受信要求、及び自オペレーティングシステムのプ
ロセスから他オペレーティングシステムのプロセスにデ
ータを転送するデータ送信要求を制御するデータ交換制
御手段、(B)前記データ受信要求及びデータ送信要求
の内容を格納するデータ送受信要求内容管理ファイル、
(C)前記中央処理装置間のハードウェア割り込みの制
御を行う中央処理装置間割込制御手段、を備えたことを
特徴とするプロセス間通信制御方式。
Claim 1. In an inter-process communication control method in a computer system configured with a plurality of central processing units, each of which runs a different operating system, each central processing unit:
(A) Data exchange control means that controls a data reception request to transfer data from a process of another operating system to a process of the own operating system, and a data transmission request to transfer data from a process of the own operating system to a process of another operating system. , (B) a data transmission/reception request content management file that stores the contents of the data reception request and data transmission request;
(C) An inter-process communication control system characterized by comprising: inter-central processing unit interrupt control means for controlling hardware interrupts between the central processing units.
JP3490791A 1991-03-01 1991-03-01 System for controlling inter-process communication Pending JPH04274524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3490791A JPH04274524A (en) 1991-03-01 1991-03-01 System for controlling inter-process communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3490791A JPH04274524A (en) 1991-03-01 1991-03-01 System for controlling inter-process communication

Publications (1)

Publication Number Publication Date
JPH04274524A true JPH04274524A (en) 1992-09-30

Family

ID=12427270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3490791A Pending JPH04274524A (en) 1991-03-01 1991-03-01 System for controlling inter-process communication

Country Status (1)

Country Link
JP (1) JPH04274524A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001503171A (en) * 1996-09-30 2001-03-06 イーエムシー コーポレイション File transfer utility using intermediate data storage
JP2010061648A (en) * 2008-09-04 2010-03-18 Internatl Business Mach Corp <Ibm> Method and device for data processing in hybrid computing environment, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001503171A (en) * 1996-09-30 2001-03-06 イーエムシー コーポレイション File transfer utility using intermediate data storage
JP2010061648A (en) * 2008-09-04 2010-03-18 Internatl Business Mach Corp <Ibm> Method and device for data processing in hybrid computing environment, and program

Similar Documents

Publication Publication Date Title
US5991797A (en) Method for directing I/O transactions between an I/O device and a memory
US20040093452A1 (en) Intelligent interrupt with hypervisor collaboration
JPH01200467A (en) Apparatus and method for data processing system having equal relationship between a plurality of central processors
JPH0816540A (en) Message communication system for parallel computer
JP3490473B2 (en) Communication system between processors
EP0614139A2 (en) External procedure call for distributed processing environment
JPH04274524A (en) System for controlling inter-process communication
JPS6115260A (en) Data processor
JPS62172840A (en) Transferring system for data
JPS62126457A (en) Distributed data processing system
JPH01305461A (en) Right of using bus control system
JPH02245864A (en) Multiprocessor system
JPH01191967A (en) Data communication processing system
JP3307331B2 (en) Network file system data transfer method
JPS62134728A (en) Inter-program data transferring system
JPS61143858A (en) File share method for plural operating systems
JPH11353197A (en) Shared pool resource control system
JP2000137688A (en) Multiplex processor system and data processing method
JP2002169699A (en) Communication system using multiple virtual computers
JP3014112B2 (en) Message communication method in multiprocessor system
JPH01174042A (en) Line control system
JPS60167058A (en) System for communications between computers
JPH0991231A (en) Application program execution method and device therefor in server-client computer system
JPH01136263A (en) System for managing communication control buffer
JPH0358162A (en) Inter-processor communication system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000125