JPH05120237A - Data communication system between information processors - Google Patents

Data communication system between information processors

Info

Publication number
JPH05120237A
JPH05120237A JP30673491A JP30673491A JPH05120237A JP H05120237 A JPH05120237 A JP H05120237A JP 30673491 A JP30673491 A JP 30673491A JP 30673491 A JP30673491 A JP 30673491A JP H05120237 A JPH05120237 A JP H05120237A
Authority
JP
Japan
Prior art keywords
request
information processing
data
information
shared memory
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
JP30673491A
Other languages
Japanese (ja)
Inventor
Mitsuo Miwa
光雄 三輪
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
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP30673491A priority Critical patent/JPH05120237A/en
Publication of JPH05120237A publication Critical patent/JPH05120237A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the total throughput by successively sending a next request to an opposite device without waiting for the processing result of a previous request, and obtaining its processing result without reference to order. CONSTITUTION:Request information entries 5, 6, and 7 are provided with a process ID recording area M2 wherein the process IDs of user processes 2 and 3 making process requests are recorded and a request state recording area M1 wherein the process states of the requests are recorded, and an input/output part 4 is provided with a request quantity counter 8 which counts requests for writing to a shared memory 11; and a means which mutually informs the 1st and 2nd information processors 1 and 10 of the process IDs recorded in the process ID recording area M2 when data are transferred between 1st and 2nd information processors 1 and 10 is provided, and the contents of the request state recording area M1 and the value of the request quantity counter 8 are referred to, thereby sending out data of the process requests from the user processes 2 and 3 to the 2nd information processor 10.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理に用いられる
密結合された2つの処理装置間のデータ通信方式に関
し、特に共用メモリの管理を行なう情報処理装置間のデ
ータ通信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication system between two closely coupled processing units used for information processing, and more particularly to a data communication system between information processing units for managing a shared memory.

【0002】[0002]

【従来の技術】図6に、従来から知られるデータ通信方
式を説明するための情報処理装置の構成図を示す。この
図で、第1の情報処理装置21は1つ以上のユーザプロ
セス22,23と、要求キュー25および要求情報エン
トリ26,27,28を有する入出力部24と、制御部
29とを備え、第2の情報処理装置30は共有メモリ3
1と処理部32とを備えている。このデータ通信方式で
は、第1の情報処理装置21から第2の情報処理装置3
0に何らかの要求を送出し、その結果を第1の情報処理
装置21が得るものである。第1の情報処理装置21に
おける入出力部24は、一般にオペレーティングシステ
ムの一部を構成し、エントリの先頭および最後尾のポイ
ンタを有する要求キュー25を備えている。したがっ
て、ユーザプロセス22,23から要求が発行される
と、要求キュー25を介してその要求内容とその結果を
書き込むべきバッファ位置などの情報が、要求情報エン
トリ26,27,28に書き込まれる。一方、第2の情
報処理装置の共有メモリ31は、物理的には第1または
第2の情報処理装置21,30のいずれに存在してもよ
く、この共有メモリ31を第1および第2の情報処理装
置21,30によりそれぞれアクセスすることができ
る。この共有メモリ31はデータの方向性により分割さ
れる。すなわち、第1の情報処理装置21による書込み
専用領域は第2の情報処理装置30からは読出し専用領
域であり、逆に第1の情報処理装置21による読出し専
用領域は第2の情報処理装置30では書込み専用領域と
なる。第2の情報処理装置30に設けられている処理部
32は、第1の情報処理装置21の要求内容に基づいた
処理を行なう。
2. Description of the Related Art FIG. 6 is a block diagram of an information processing apparatus for explaining a conventionally known data communication system. In this figure, the first information processing device 21 includes one or more user processes 22, 23, an input / output unit 24 having a request queue 25 and request information entries 26, 27, 28, and a control unit 29. The second information processing device 30 is the shared memory 3
1 and a processing unit 32. In this data communication system, the first information processing device 21 to the second information processing device 3
A request is sent to 0, and the result is obtained by the first information processing device 21. The input / output unit 24 in the first information processing apparatus 21 generally forms a part of the operating system and includes a request queue 25 having pointers at the beginning and the end of the entry. Therefore, when a request is issued from the user processes 22 and 23, information such as a buffer position where the request content and the result should be written is written into the request information entries 26, 27 and 28 via the request queue 25. On the other hand, the shared memory 31 of the second information processing apparatus may physically exist in either the first or second information processing apparatus 21, 30. The information processing devices 21 and 30 can be accessed respectively. The shared memory 31 is divided according to the directionality of data. That is, the write-only area by the first information processing apparatus 21 is a read-only area from the second information processing apparatus 30, and conversely, the read-only area by the first information processing apparatus 21 is the second information processing apparatus 30. Then, it becomes a write-only area. The processing unit 32 provided in the second information processing apparatus 30 performs processing based on the request content of the first information processing apparatus 21.

【0003】つぎに、このように構成される第1および
第2の情報処理装置21,30間で、共有メモリ31を
介してのデータ(要求とその結果)のやり取りを行なう
手順を図7の流れ図を参照して説明する。まず入出力部
24の要求キュー25に接続された要求情報エントリ2
6,27,28の内容が制御部29を介し共有メモリ3
1に書き込まれ、データ引取り要求割込みが発生する
と、要求元のユーザプロセス22,23は待ち状態とな
る(ステップU1〜U2)。第2の情報処理装置30の
処理部32は、このデータ引取り要求割込みを受け取る
と、共有メモリ31からデータ(要求)を引き取り、デ
ータ引取り完了割込みを発生する(ステップU3〜U
4)。さらに処理部32が処理を行なったあと、処理結
果に相当するデータを共有メモリ31に書き込み、デー
タ引取り要求割込みを発生する(ステップU5〜U
6)。このデータ引取り要求割込みを受けた第1の情報
処理装置21では、制御部29を介してデータ(処理結
果)を受け、要求キュー25に接続されている要求情報
エントリ26,27,28内の情報に基づき、このデー
タ(処理結果)をユーザプロセス22,23の書込み位
置に書き込む(ステップU7)。その後、データ引取り
完了割込みを発生し、要求キュー25に接続されている
要求情報エントリ26,27,28を解放することで、
待ち状態のユーザプロセス22,23に起動をかける
(ステップU8)。この一連の処理により、第2の情報
処理装置30へ要求を発行したユーザプロセス22,2
3は、その結果を得ることができる。
Next, a procedure for exchanging data (request and its result) via the shared memory 31 between the first and second information processing devices 21 and 30 configured as described above is shown in FIG. A description will be given with reference to the flow chart. First, the request information entry 2 connected to the request queue 25 of the input / output unit 24
The contents of 6, 27, and 28 are shared by the shared memory 3 via the control unit 29.
When the data take-up request interrupt occurs, the request source user processes 22 and 23 enter a waiting state (steps U1 and U2). When the processing unit 32 of the second information processing device 30 receives this data take-back request interrupt, it takes in data (request) from the shared memory 31 and generates a data take-over completion interrupt (steps U3 to U).
4). After the processing unit 32 further performs the processing, the data corresponding to the processing result is written in the shared memory 31, and the data take-back request interrupt is generated (steps U5 to U).
6). The first information processing device 21 that has received the data take-back request interrupt receives the data (processing result) via the control unit 29, and stores the request information in the request information entries 26, 27, 28 connected to the request queue 25. Based on the information, this data (processing result) is written in the writing position of the user processes 22 and 23 (step U7). After that, by generating a data collection completion interrupt and releasing the request information entries 26, 27, 28 connected to the request queue 25,
The user processes 22 and 23 in the waiting state are activated (step U8). Through this series of processing, the user processes 22 and 2 that issued the request to the second information processing apparatus 30.
3 can obtain the result.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の情報処
理装置間のデータ通信方式では、あるユーザプロセスが
要求を発行して待っている間に、他のユーザプロセスが
別の要求を発行した場合、その要求は第1の情報処理装
置21の要求キュー25に保存され、前の要求を発行し
たユーザプロセスに結果が返るまで待ち状態となる。し
たがって、共有メモリ31を有する第2の情報処理装置
30で一部の要求処理に長い時間を要する場合、非常に
処理効率が低下するという問題点があった。
In the above-described conventional data communication system between information processing devices, when a user process issues a request and waits while another user process issues another request. , The request is stored in the request queue 25 of the first information processing apparatus 21, and is in a waiting state until the result is returned to the user process that issued the previous request. Therefore, when the second information processing device 30 having the shared memory 31 requires a long time for a part of the request processing, there is a problem that the processing efficiency is significantly reduced.

【0005】本発明は、このような従来の技術が有する
課題を解決するために提案されたものであり、前の要求
の処理結果を待たずに、相手方の情報処理装置につぎの
要求を連続して送れるようにするとともに、その処理結
果を順不同に得ることで、全体の処理効率を向上できる
情報処理装置間のデータ通信方式を提供することを目的
とする。
The present invention has been proposed in order to solve the problems of the prior art as described above, and continuously waits for the next request to the information processing device of the other party without waiting for the processing result of the previous request. It is an object of the present invention to provide a data communication system between information processing devices, which can improve the overall processing efficiency by allowing the data to be sent in the same order and obtaining the processing results in random order.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明は、複数のユーザプロセスを備えるとともに、
入出力部に複数の要求情報エントリを備える第1の情報
処理装置と、共有メモリと処理部とを備える第2の情報
処理装置との間でデータ通信を行ない、ユーザプロセス
からの処理要求のデータが要求情報エントリを介して共
有メモリに書き込まれたあとに、第2の情報処理装置の
処理部に取り込まれて処理され、処理結果のデータが共
有メモリに書き込まれたあとに、要求情報エントリを介
して第1の情報処理装置のユーザプロセスに返送される
情報処理装置間のデータ通信方式において、第1の情報
処理装置の入出力部に備えられる上記要求情報エントリ
に、処理要求があったユーザプロセスのプロセスIDを
記録するプロセスID記録領域と、少なくともこの要求
情報エントリが未使用であるか否か、ユーザプロセスか
らの要求処理のデータが第2の情報処理装置側に取り込
まれる前の待ち状態にあるか否かの要求の処理状態を記
録する要求状態記録領域を設けるとともに、ユーザプロ
セスから処理要求があったときにカウントアップされ、
ユーザプロセスからの処理要求のデータが第2の情報処
理装置側に取り込まれたあとにカウントダウンされる共
有メモリへの書込み要求数格納用の要求数カウンタを上
記入出力部に設け、第1および第2の情報処理装置の間
のデータのやり取りに際して、上記プロセスID記録領
域に記録されたプロセスIDを互いに通知する手段を有
し、上記要求状態記録領域の内容と上記要求数カウンタ
の値を参照して上記ユーザプロセスからの処理要求のデ
ータを第2の情報処理装置に送出する構成としてある。
To achieve this object, the present invention comprises a plurality of user processes and
Data communication is performed between a first information processing device having a plurality of request information entries in the input / output unit and a second information processing device having a shared memory and a processing unit, and data of a processing request from a user process. Is written to the shared memory via the request information entry, and then fetched and processed by the processing unit of the second information processing apparatus, and the result information is written to the shared memory. In the data communication method between the information processing devices which is returned to the user process of the first information processing device via the user requesting the process in the request information entry provided in the input / output unit of the first information processing device. A process ID recording area for recording the process ID of a process, whether or not at least this request information entry is unused, and a process for request processing from a user process. A request status recording area for recording a processing status of a request as to whether or not the data is in a waiting state before being fetched by the second information processing apparatus side, and is counted up when a processing request is made from a user process. ,
The input / output unit is provided with a request number counter for storing the number of write requests to the shared memory, which is counted down after the data of the process request from the user process is fetched by the second information processing apparatus side. When exchanging data between the two information processing devices, it has means for notifying each other of the process ID recorded in the process ID recording area, and refers to the contents of the request state recording area and the value of the request number counter. The processing request data from the user process is sent to the second information processing apparatus.

【0007】[0007]

【作用】上述した構成によれば、プロセスIDを情報処
理装置間で通知できるとともに、要求状態記録領域の内
容と要求数カウンタの値を参照して第2の情報処理装置
にデータを送出できるので、要求に対する処理結果を待
たずに連続的に第2の情報処理装置に要求データを送れ
るとともに、処理結果のデータも順不同に第1の情報処
理装置に返送できる。
According to the above configuration, the process ID can be notified between the information processing devices, and the data can be sent to the second information processing device by referring to the content of the request status recording area and the value of the request number counter. The request data can be continuously sent to the second information processing apparatus without waiting for the processing result for the request, and the processing result data can be returned to the first information processing apparatus in any order.

【0008】[0008]

【実施例】以下、本発明による情報処理装置間のデータ
通信方式の具体的な実施例を図面に基づき詳細に説明す
る。図1に、このデータ通信方式を実現する情報処理装
置の構成図を示す。この図で、第1の情報処理装置1は
ユーザプロセス2,3と、要求情報エントリ5,6,7
および要求数カウンタ8を有する入出力部4と、制御部
8とを備え、第2の情報処理装置10は共有メモリ9と
処理部12とを備えている。入出力部4の各要求情報エ
ントリ5,6,7には、状態変数、プロセスIDおよび
ユーザバッファ位置の情報を書き込める要求処理状態記
録領域M1、プロセスID記録領域M2およびバッファ
位置記録領域M3がそれぞれ設けられている。状態変数
はその要求情報エントリの状態を表示し、「未使用状
態」、「待ち」および「処理中」の3状態がある。プロ
セスIDは要求元のユーザプロセスのプロセスIDを記
録し、ユーザバッファ位置は第2の情報処理装置10と
やり取りをするユーザのデータの格納位置を記録する。
要求数カウンタ8は、第2の情報処理装置10における
共有メモリ11への書込み要求数を格納する。なお、こ
の共有メモリ11を介するデータのやり取りは前述した
図7の流れ図に示す手順と同様に行われる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Specific embodiments of a data communication system between information processing apparatuses according to the present invention will be described in detail below with reference to the drawings. FIG. 1 shows a block diagram of an information processing apparatus that realizes this data communication method. In this figure, the first information processing apparatus 1 has user processes 2, 3 and request information entries 5, 6, 7
The second information processing apparatus 10 includes the input / output unit 4 having the request number counter 8 and the control unit 8, and the second information processing apparatus 10 includes the shared memory 9 and the processing unit 12. A request processing state recording area M1, a process ID recording area M2, and a buffer position recording area M3, in which information on a state variable, a process ID, and a user buffer position can be written, are provided in the respective request information entries 5, 6 and 7 of the input / output unit 4. It is provided. The status variable indicates the status of the request information entry and has three statuses of "unused status", "waiting" and "processing". The process ID records the process ID of the requesting user process, and the user buffer position records the storage position of the data of the user who interacts with the second information processing apparatus 10.
The request number counter 8 stores the number of write requests to the shared memory 11 in the second information processing device 10. Data exchange through the shared memory 11 is performed in the same manner as the procedure shown in the flow chart of FIG.

【0009】図2に、第1の情報処理装置1のユーザプ
ロセス2,3から処理要求があったときの入出力部4に
おける処理手順の流れ図を示す。この図で、まずユーザ
プロセス2,3から要求があると、要求情報エントリ
5,6,7の状態変数を参照して、「未使用」のものを
検索し、プロセスIDおよびユーザバッファ位置の情報
を各領域M2,M3に書き込んで、領域M1の状態変数
を「待ち」に変更する。さらに要求数カウンタ8に1を
加算する(ステップS1〜S3)。つぎに、要求数カウ
ンタ8が1であるか否かを検索し、1であれば書き込み
可能であるので、出力ポートにプロセスIDと割込み種
類を書き込む(ステップS4〜S5)。この割込み種類
は、「データ引取り要求割込み」と「データ引取り完了
割込み」の区別を表わす。この出力ポートの値は、第2
の情報処理装置10の入力ポートから読み出すことがで
きる。つぎに、状態変数を「処理中」に変更し、共有メ
モリ11にデータ(要求)を書き込み、データ引取り要
求割込みを発生する(ステップS6〜S7)。その後、
要求元ユーザプロセス2,3を待ち状態にする(ステッ
プS8)。一方、要求数カウンタ8の値が1より大きい
場合は、共有メモリ11への書き込みは不能なので、無
処理となり、要求元ユーザプロセス2,3を待ち状態に
する(ステップS4,S8)。
FIG. 2 shows a flow chart of a processing procedure in the input / output unit 4 when a processing request is issued from the user processes 2 and 3 of the first information processing apparatus 1. In this figure, when there is a request from the user processes 2 and 3, first, the state variables of the request information entries 5, 6 and 7 are referred to search for "unused" information, and the process ID and user buffer position information Is written in each of the areas M2 and M3, and the state variable of the area M1 is changed to "wait". Further, 1 is added to the request number counter 8 (steps S1 to S3). Next, it is determined whether or not the request counter 8 is 1, and if it is 1, it is writable, so the process ID and interrupt type are written to the output port (steps S4 to S5). This interrupt type represents a distinction between a “data takeover request interrupt” and a “data takeover completion interrupt”. The value of this output port is the second
Can be read from the input port of the information processing device 10. Next, the state variable is changed to "processing", data (request) is written in the shared memory 11, and a data take-back request interrupt is generated (steps S6 to S7). afterwards,
The request source user processes 2 and 3 are placed in a waiting state (step S8). On the other hand, when the value of the request number counter 8 is larger than 1, the shared memory 11 cannot be written, so no processing is performed and the request source user processes 2 and 3 are put in a waiting state (steps S4 and S8).

【0010】つぎに、第1の情報処理装置1における割
込みルーチンを図3の流れ図を参照して説明する。この
図に示すように第1の情報処理装置1の割込み処理は、
割込みが発生すると、入力ポートからプロセスIDと割
込み種別を読み出す(ステップS9)。もしデータ引取
り完了割込みであったときは、第2の情報処理装置10
が要求を引き終わったのであるから、要求数カウンタ8
から1を減ずる(ステップS10〜S12)。その後、
要求数カウンタ8の値を調べ、0より大きければまだ処
理待ちの要求が存在しているので、要求情報エントリ
5,6,7の中から状態が「待ち」の要求を捜し、再び
第2の情報処理装置10に要求を通知する(ステップS
14〜S17)。一方、割込み種別がデータ引取り要求
割込みの場合は、第2の情報処理装置10からの結果の
通知であるから、入力ポートから読み込んだプロセスI
Dに対応した要求情報エントリ5,6,7の示すユーザ
バッファ位置に、共有メモリ11から読み出したデータ
(結果)を転送する(ステップS10,S18)。その
後、その要求情報エントリ5,6,7の状態変数を「未
使用」に戻し、第2の情報処理装置10に対してデータ
引取り完了割込みを発生する(ステップS19〜S2
0)。そして図2で示した処理で待ち状態となっていた
要求元ユーザプロセス2,3に起動をかける(ステップ
S21)。
Next, the interrupt routine in the first information processing apparatus 1 will be described with reference to the flowchart of FIG. As shown in this figure, the interrupt processing of the first information processing device 1 is
When an interrupt occurs, the process ID and interrupt type are read from the input port (step S9). If it is a data collection completion interrupt, the second information processing device 10
Has finished drawing the request, so the request counter 8
Is subtracted from 1 (steps S10 to S12). afterwards,
The value of the request number counter 8 is checked. If it is larger than 0, there is a request waiting to be processed. Therefore, the request information entry 5, 6, 7 is searched for a request whose status is "waiting", and the second request is made again. Notify the information processing device 10 of the request (step S
14-S17). On the other hand, when the interrupt type is the data take-up request interrupt, the result is notified from the second information processing device 10, and thus the process I read from the input port is used.
The data (result) read from the shared memory 11 is transferred to the user buffer positions indicated by the request information entries 5, 6, and 7 corresponding to D (steps S10 and S18). After that, the state variables of the request information entries 5, 6, and 7 are returned to "unused", and a data takeover completion interrupt is generated for the second information processing device 10 (steps S19 to S2
0). Then, the request source user processes 2 and 3 which have been in the waiting state in the processing shown in FIG. 2 are activated (step S21).

【0011】つぎに、第2の情報処理装置10における
割込みルーチンを図4の流れ図を参照して説明する。こ
の図で、第2の情報処理装置10の割込み処理は、まず
割込みを受けると割込み種別の判別を行なう(ステップ
S22〜S23)。もし、データ引取り要求割込みであ
れば、データを引き取り、出力ポートにプロセスIDと
割込み種別を書き込んでから、データ引取り完了割込み
を発生する(ステップS24〜S26)。その後、その
要求に応じた内部処理を行ない、処理終了後にデータ
(結果)を共有メモリ11に書き込むとともに、出力ポ
ートにプロセスIDと割込み種別を書き込んでから、デ
ータ引取り要求割込みを発生する(ステップS27〜S
30)。なお、内部処理は別のプロセスで実行され、本
割込みルーチンは多重の処理を受け付けることができ
る。一方、受け付けた割込みがデータ引取り完了割込み
の場合は、終了処理を行なう(ステップS23,S3
1)。
Next, the interrupt routine in the second information processing apparatus 10 will be described with reference to the flowchart of FIG. In the figure, in the interrupt processing of the second information processing apparatus 10, when an interrupt is first received, the interrupt type is determined (steps S22 to S23). If it is a data fetch request interrupt, data is fetched, the process ID and interrupt type are written to the output port, and then a data fetch completion interrupt is generated (steps S24 to S26). After that, internal processing according to the request is performed, and after the processing is completed, the data (result) is written in the shared memory 11, the process ID and the interrupt type are written in the output port, and then the data take-back request interrupt is generated (step S27 ~ S
30). The internal processing is executed by another process, and this interrupt routine can accept multiple processing. On the other hand, if the accepted interrupt is the data take-over completion interrupt, end processing is performed (steps S23, S3
1).

【0012】上述した実施例では、割込み種別とプロセ
スIDの通知方法として入出力ポートを用いているが、
これらを共有メモリ11で通知することも可能である。
図5に、この場合の共有メモリ11の構成例を示す。こ
の図で、13,14は、それぞれ第1の情報処理装置1
から第2の情報処理装置10へ通知するための割込み種
別を書き込む領域およびプロセスIDを書き込む領域で
ある。また16,17は、逆方向へ通知するための割込
み種別を書き込む領域およびプロセスIDを書き込む領
域である。15,18は、ユーザデータ領域であり、こ
れらの領域もそれぞれ第1の情報処理装置1から第2の
情報処理装置10の方向とその逆方向の転送のために使
用される。
In the above-mentioned embodiment, the input / output port is used as the notification method of the interrupt type and the process ID.
It is also possible to notify these in the shared memory 11.
FIG. 5 shows a configuration example of the shared memory 11 in this case. In this figure, 13 and 14 are the first information processing device 1 respectively.
Is an area for writing the interrupt type for notifying the second information processing apparatus 10 to the second information processing apparatus 10 and an area for writing the process ID. Reference numerals 16 and 17 are an area for writing an interrupt type for notifying in the reverse direction and an area for writing a process ID. Reference numerals 15 and 18 denote user data areas, and these areas are also used for transfer from the first information processing apparatus 1 to the second information processing apparatus 10 and vice versa.

【0013】なお、本発明は上述した実施例に限定され
ず、要旨の範囲内で種々の変更実施が可能である。
The present invention is not limited to the above-mentioned embodiments, and various modifications can be made within the scope of the invention.

【0014】[0014]

【発明の効果】以上説明したように本発明によれば、第
1の情報処理装置の要求情報エントリにユーザのプロセ
スIDを記録する領域と要求の状態を記録する領域を設
け、さらに入出力部に要求数カウンタを付加した。また
第2の情報処理装置に共有メモリを設け、これら情報処
理装置間でプロセスIDを通知することにより、共有メ
モリを介して相手装置に前回の要求の結果を待たずに、
つぎの要求を連続的に送ることが可能となった。しかも
要求の結果を順不同に得ることができるので、全体の処
理時間が一部処理時間の掛かる要求に支配されることが
なく、処理効率の向上を図れる。
As described above, according to the present invention, the request information entry of the first information processing apparatus is provided with the area for recording the process ID of the user and the area for recording the status of the request, and further the input / output unit. A request counter was added to. Further, by providing a shared memory in the second information processing apparatus and notifying the process ID between these information processing apparatuses, without waiting for the result of the previous request to the partner apparatus via the shared memory,
It became possible to send the following requests continuously. Moreover, since the results of the requests can be obtained in any order, the entire processing time is not governed by the requests that take part of the processing time, and the processing efficiency can be improved.

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

【図1】本発明のデータ通信方式による情報処理装置の
構成図である。
FIG. 1 is a configuration diagram of an information processing device according to a data communication system of the present invention.

【図2】第1の情報処理装置の入出力部におけるユーザ
プロセスからの要求処理を示す流れ図である。
FIG. 2 is a flowchart showing a request process from a user process in an input / output unit of the first information processing device.

【図3】第1の情報処理装置の割込みルーチンを示す流
れ図である。
FIG. 3 is a flowchart showing an interrupt routine of the first information processing device.

【図4】第2の情報処理装置の割込みルーチンを示す流
れ図である。
FIG. 4 is a flowchart showing an interrupt routine of the second information processing apparatus.

【図5】他の実施例における共有メモリの構成図であ
る。
FIG. 5 is a configuration diagram of a shared memory according to another embodiment.

【図6】従来のデータ通信方式を説明するための情報処
理装置の構成図である。
FIG. 6 is a block diagram of an information processing apparatus for explaining a conventional data communication system.

【図7】図1および図6に示す情報処理装置で共有メモ
リを介してデータのやり取りを行なう手順を示す流れ図
である。
FIG. 7 is a flowchart showing a procedure for exchanging data via the shared memory in the information processing apparatus shown in FIGS. 1 and 6.

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

1 第1の情報処理装置 2,3 ユーザプロセス 4 入出力部 5,6,7 要求情報エントリ 8 要求数カウンタ 9 制御部 10 第2の情報処理装置 11 共有メモリ 12 処理部 13,17 割込み種別領域 14,16 プロセスID領域 15,18 ユーザデータ領域 M1 要求処理状態記録領域 M2 プロセスID記録領域 M3 バッファ位置記録領域 1 First Information Processing Device 2, 3 User Process 4 Input / Output Unit 5, 6, 7 Request Information Entry 8 Request Number Counter 9 Control Unit 10 Second Information Processing Device 11 Shared Memory 12 Processing Unit 13, 17 Interrupt Type Area 14, 16 Process ID area 15, 18 User data area M1 Request processing status recording area M2 Process ID recording area M3 Buffer position recording area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のユーザプロセスを備えるととも
に、入出力部に複数の要求情報エントリを備える第1の
情報処理装置と、共有メモリと処理部とを備える第2の
情報処理装置との間でデータ通信を行ない、ユーザプロ
セスからの処理要求のデータが要求情報エントリを介し
て共有メモリに書き込まれたあとに、第2の情報処理装
置の処理部に取り込まれて処理され、処理結果のデータ
が共有メモリに書き込まれたあとに、要求情報エントリ
を介して第1の情報処理装置のユーザプロセスに返送さ
れる情報処理装置間のデータ通信方式において、 第1の情報処理装置の入出力部に備えられる上記要求情
報エントリに、処理要求があったユーザプロセスのプロ
セスIDを記録するプロセスID記録領域と、少なくと
もこの要求情報エントリが未使用であるか否か、ユーザ
プロセスからの要求処理のデータが第2の情報処理装置
側に取り込まれる前の待ち状態にあるか否かの要求の処
理状態を記録する要求状態記録領域を設けるとともに、
ユーザプロセスから処理要求があったときにカウントア
ップされ、ユーザプロセスからの処理要求のデータが第
2の情報処理装置側に取り込まれたあとにカウントダウ
ンされる共有メモリへの書込み要求数格納用の要求数カ
ウンタを上記入出力部に設け、第1および第2の情報処
理装置の間のデータのやり取りに際して、上記プロセス
ID記録領域に記録されたプロセスIDを互いに通知す
る手段を有し、上記要求状態記録領域の内容と上記要求
数カウンタの値を参照して上記ユーザプロセスからの処
理要求のデータを第2の情報処理装置に送出することを
特徴とする情報処理装置間のデータ通信方式。
1. A first information processing apparatus having a plurality of user processes and having a plurality of request information entries in an input / output unit, and a second information processing apparatus having a shared memory and a processing unit. Data communication is performed, and the data of the processing request from the user process is written to the shared memory via the request information entry, and then taken into the processing unit of the second information processing apparatus and processed. In the data communication method between the information processing devices, which is written back to the shared memory and then returned to the user process of the first information processing device via the request information entry, a data communication method between the information processing devices is provided in the input / output unit of the first information processing device In the above request information entry, a process ID recording area for recording the process ID of the user process for which a processing request is made, and at least this request information entry A request status recording area is provided for recording the processing status of a request whether the data is in use or not, and whether or not the data of the request processing from the user process is in a waiting state before being fetched by the second information processing apparatus. ,
A request for storing the number of write requests to the shared memory, which is counted up when there is a processing request from the user process and is counted down after the data of the processing request from the user process is fetched by the second information processing device side. A number counter is provided in the input / output unit, and has means for notifying the process IDs recorded in the process ID recording area to each other when data is exchanged between the first and second information processing devices, and the request state is provided. A data communication system between information processing apparatuses, wherein data of a processing request from the user process is sent to a second information processing apparatus with reference to the contents of a recording area and the value of the request number counter.
JP30673491A 1991-10-25 1991-10-25 Data communication system between information processors Pending JPH05120237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30673491A JPH05120237A (en) 1991-10-25 1991-10-25 Data communication system between information processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30673491A JPH05120237A (en) 1991-10-25 1991-10-25 Data communication system between information processors

Publications (1)

Publication Number Publication Date
JPH05120237A true JPH05120237A (en) 1993-05-18

Family

ID=17960663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30673491A Pending JPH05120237A (en) 1991-10-25 1991-10-25 Data communication system between information processors

Country Status (1)

Country Link
JP (1) JPH05120237A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101482886B1 (en) * 2013-11-13 2015-01-15 닉스테크 주식회사 Apparatus and method of data loss prevention using file tagging
JP2017199294A (en) * 2016-04-28 2017-11-02 株式会社デンソー On-vehicle control unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101482886B1 (en) * 2013-11-13 2015-01-15 닉스테크 주식회사 Apparatus and method of data loss prevention using file tagging
JP2017199294A (en) * 2016-04-28 2017-11-02 株式会社デンソー On-vehicle control unit

Similar Documents

Publication Publication Date Title
US4128882A (en) Packet memory system with hierarchical structure
CN101027634B (en) data transfer mechanism
JPH02288927A (en) Shared memory management system
JPH0340868B2 (en)
JPH05120237A (en) Data communication system between information processors
JPH08147201A (en) Traffic data cache method
JPS5922979B2 (en) Buffer memory control method
JPH06110843A (en) Data communication system between information processors
JP2994917B2 (en) Storage system
JPH04213749A (en) Data communication system between information processors
JP2594567B2 (en) Memory access control device
JPS59157760A (en) List processing system of parallel inference type
JP2793411B2 (en) I / O processor
JPH05274273A (en) Interlock scheme for element in computer system
JPH0410050A (en) Computer system
JPH0685154B2 (en) Intermediate buffer control method
JPS61241853A (en) Cache memory control system
CN116244005A (en) Multithreading asynchronous data transmission system and method
JPH086836A (en) File sharing exclusive control system
JPS6373458A (en) Shared memory access device
JPH0833868B2 (en) Data transfer device
JPH011046A (en) memory access control system
JPS6148747B2 (en)
JPS63205733A (en) Goal managing system for parallel inference machine
JPS6219946A (en) Data delivery and receipt system