JPS62226265A - Control system for inter-processor transfer of data - Google Patents

Control system for inter-processor transfer of data

Info

Publication number
JPS62226265A
JPS62226265A JP6918386A JP6918386A JPS62226265A JP S62226265 A JPS62226265 A JP S62226265A JP 6918386 A JP6918386 A JP 6918386A JP 6918386 A JP6918386 A JP 6918386A JP S62226265 A JPS62226265 A JP S62226265A
Authority
JP
Japan
Prior art keywords
data transfer
transfer
master
slave
data
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
JP6918386A
Other languages
Japanese (ja)
Other versions
JPH0582617B2 (en
Inventor
Kazuhiko Hamaguchi
濱口 一彦
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 JP6918386A priority Critical patent/JPS62226265A/en
Publication of JPS62226265A publication Critical patent/JPS62226265A/en
Publication of JPH0582617B2 publication Critical patent/JPH0582617B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To attain the simple transfer of data by preparing both master and slave processors to secure the bidirectional transfer of data between both processors so that the data transfer request is controlled by the master processor. CONSTITUTION:Data are transferred between a master processor MP and a slave processor SP. Then the master data transfer means 3-1-3-n and the slave data transfer means 6-1-6-n can transfer data in both directions via the data transfer paths SP-1-SP-n which are set statically. Furthermore a master control means 2 set at the MP side controls all data transfer requests given from both processors MP and SP.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプロセッサ間の通信方式に関し、特にデータの
転送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication system between processors, and particularly to a data transfer control system.

〔従来の技術〕[Conventional technology]

従来、プロセッサ間のデータ転送制御方式は、次に示す
方式の何れかにより行なわれていた。
Conventionally, data transfer control methods between processors have been performed using one of the following methods.

■ プロセッサ間にデータ転送用のパスを予め静的に複
数本開設しておき、そのパスを転送要求の送信用と受信
用の二つの用途に分け、データの転送を行なう方式。
■ A method in which multiple paths for data transfer are statically established between processors in advance, and the paths are divided into two uses: for sending and receiving transfer requests, and data is transferred.

■ プロセッサ間でデータの転送の要求が発生するたび
に、プロセッサ間で動的にデータ転送用のパスを開設し
、データの転送を行なう方式。
■ A method that dynamically establishes a data transfer path between processors and transfers data each time a request for data transfer occurs between processors.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上述した従来のプロセッサ間のデータ転送制御
方式には、次に示す欠点がある。
However, the conventional inter-processor data transfer control method described above has the following drawbacks.

(1)  プロセッサ間にデータ転送用のパスを静的に
複数本開設し、転送要求の送信用と受信用の用途に分け
てデータ転送を行なう方式■は、一方向のデータの転送
要求が多量に依頼されると、プロセッサの送信用のデー
タ転送パス(相手プロセンサでは受信用のデータ転送パ
ス)のみを使用するため、受信用のデータ転送パスが空
きの状態であるにもかかわらず使用されず、従ってデー
タの転送が効率良く行なわれないという欠点がある。
(1) Method ■, in which multiple data transfer paths are statically established between processors and data transfer is performed separately for sending and receiving transfer requests, has a large number of unidirectional data transfer requests. When a request is made to the processor, only the transmitting data transfer path of the processor (the receiving data transfer path of the other processor) is used, so even though the receiving data transfer path is free, it is not used. Therefore, there is a drawback that data transfer is not performed efficiently.

また、転送要求の受信用のデータ転送パスも送(i用と
して用いるようにすると、相手プロセッサとの同期処理
(転送要求の衝突の回避等)に対する対策が必要となり
、データ転送の制御方式が複雑になるという欠点がある
In addition, if the data transfer path for receiving transfer requests is also used for sending (i), measures for synchronization with the other processor (avoiding transfer request collisions, etc.) will be required, and the data transfer control method will be complicated. It has the disadvantage of becoming

(2)  プロセッサ間でデータの転送要求が発生する
たびに、プロセッサ間で動的にデータ転送用のパスを開
設し、データ転送を行なう方式〇は、多量のデータの転
送要求が依頼されると、動的にプロセッサ間でデータ転
送用のパスを開設する時間がオーバーヘッドとなり、速
やかなデータ転送が困難であるという欠点がある。
(2) Method 〇, which dynamically opens a data transfer path between processors and performs data transfer every time a data transfer request occurs between processors, is difficult to use when a large amount of data transfer is requested. However, the disadvantage is that the time it takes to dynamically establish a path for data transfer between processors creates overhead, making it difficult to transfer data quickly.

本発明はこのような従来の欠点を解決したもので、その
目的は、データ転送の制御を複雑化することなく、プロ
セッサ間で効率良く且つ速やかにデータ転送を行なわせ
ることにある。
The present invention solves these conventional drawbacks, and its purpose is to efficiently and quickly transfer data between processors without complicating data transfer control.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記目的を達成するために、プロセッサ間で
各プロセッサ内からのデータの転送要求の依頼に基づき
データの転送処理を行なうデータ転送制御方式において
、 互いにデータ転送を行なうプロセッサを、データの転送
処理の制御を行なうマスタプロセッサと、該マスタプロ
セッサの指示に従いデータの転送処理を行なうスレーブ
プロセッサとに区分し、且つ、前記マスタプロセッサ側
に設けられたマスタデータ転送手段と前記スレーブプロ
セッサ側に設けられたスレーブデータ転送手段と該スレ
ーブデータ転送手段と前記マスタデータ転送手段との間
に静的に開設されたデータ転送パスとから構成され、双
方向にデータ転送可能なデータ転送手段と、前記マスタ
プロセッサ側に設けられ、データの転送依頼に基づいて
前記データ転送手段を制御するマスタ制御手段と、 前記マスタプロセッサ側に設けられ、前記マスタプロセ
ッサ側のデータの転送要求を前記マスタ制御手段に依頼
するマスタ転送要求手段と、前記スレーブプロセッサ側
に設けられ、前記スレーブプロセッサ側のデータの転送
要求を依頼するスレーブ転送要求手段と、 前記スレーブプロセッサ側に設けられ、前記スレーブ転
送要求手段からのデータの転送要求の依頼を前記マスタ
制御手段に通知するスレーブ制御手段とを含める。
In order to achieve the above object, the present invention provides a data transfer control method in which data transfer processing is performed between processors based on a data transfer request from within each processor. A master processor that controls transfer processing and a slave processor that performs data transfer processing according to instructions from the master processor, and a master data transfer means provided on the master processor side and a master data transfer means provided on the slave processor side. a data transfer path that is statically established between the slave data transfer means and the master data transfer means, and is capable of bidirectional data transfer; a master control means provided on the processor side and controlling the data transfer means based on a data transfer request; and a master control means provided on the master processor side requesting the master control means a data transfer request from the master processor side. master transfer request means; slave transfer request means provided on the slave processor side for requesting a data transfer request from the slave processor side; and transfer of data from the slave transfer request means provided on the slave processor side. and slave control means for notifying the master control means of the request.

〔作用J マスタプロセッサ側に設けられたマスタ転送要求手段か
らデータ転送の依頼がマスタ制御手段に為されると、マ
スタ制御手段は、データ転送手段を制御し静的に開設さ
れたデータ転送パスを介したマスタデータ転送手段とス
レーブデータ転送手段間のデータ転送をtliJImす
る。また、スレーブプロセッサ側に設けられたスレーブ
転送要求手段からデータ転送の依頼があると、この依頼
はスレーブ制御手段からマスタ制御手段に通知され、マ
スタ制御手段は、データ転送手段を制御してデータの転
送を行なわせる。
[Operation J] When a request for data transfer is made to the master control means from the master transfer request means provided on the master processor side, the master control means controls the data transfer means and uses the statically established data transfer path. The data transfer between the master data transfer means and the slave data transfer means via the master data transfer means is tliJIm. Furthermore, when there is a request for data transfer from the slave transfer request means provided on the slave processor side, this request is notified from the slave control means to the master control means, and the master control means controls the data transfer means to transfer the data. Allow the transfer to occur.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図であり、二台の
プロセッサ間のデータ転送方式に本発明を通用した例を
示す。
FIG. 1 is a block diagram of an embodiment of the present invention, showing an example in which the present invention is applied to a data transfer system between two processors.

本発明では、データの転送要求を一方のプロセッサで全
て制御した方がデータの転送処理が開明になるという観
点から、互いにデータ転送を行なうプロセッサを、デー
タの転送処理の制御を行なうマスタプロセ・ノサMPと
、マスタプロセッサMPの指示に従いデータの転送処理
を行なうスレーブプロセッサSPとに区分している。そ
して、マスタプロセッサMPには、マスタ転送要求手段
lと、マスタ制御手段2と、マスタデータ転送手段群3
とが設けられ、スレーブプロセッサSPには、スレーブ
転送要求手段4と、制御用のパスcpによりマスタ制御
手段2と通信可能なスレーブ制御手段5と、スレーブデ
ータ転送手段群6とが設けられている。また、前記マス
タデータ転送手段群3は、複数のマスタデータ転送手段
3−1〜3−nから構成され、スレーブデータ転送手段
群6は、複数のスレーブデータ転送手段6−1〜6−n
から構成され、マスタデータ転送手段3−i(i = 
l〜n、以下同じ)とスレーブデータ転送手段6−i 
とは、静的に開設されたデータ転送パスsp−iにより
双方向にデータ転送可能である。ごこで、対応する一つ
のマスタデータ転送手段3−4 とスレーブデータ転送
手段6−i とデータ転送パスSp−1とで一つのデー
タ転送手段が構成される。
In the present invention, from the viewpoint that data transfer processing becomes easier when all data transfer requests are controlled by one processor, processors that transfer data to each other are connected to a master processor/nosa MP that controls data transfer processing. and a slave processor SP that performs data transfer processing according to instructions from the master processor MP. The master processor MP includes a master transfer request means 1, a master control means 2, and a master data transfer means group 3.
The slave processor SP is provided with a slave transfer requesting means 4, a slave control means 5 capable of communicating with the master control means 2 via a control path CP, and a slave data transfer means group 6. . The master data transfer means group 3 is composed of a plurality of master data transfer means 3-1 to 3-n, and the slave data transfer means group 6 is composed of a plurality of slave data transfer means 6-1 to 6-n.
The master data transfer means 3-i (i =
l to n, the same applies hereinafter) and slave data transfer means 6-i
This means that data can be transferred in both directions using a statically established data transfer path sp-i. Here, one data transfer means is constituted by one corresponding master data transfer means 3-4, one slave data transfer means 6-i, and one data transfer path Sp-1.

第2図はマスタ転送要求手段1の処理の一例を示す流れ
図であり、マスタ転送要求手段lは、同図に示すように
転送要求依頼処理11および転送要求終了通知受信処理
12を行なう。
FIG. 2 is a flowchart showing an example of the processing of the master transfer requesting means 1, and the master transfer requesting means 1 performs a transfer request request process 11 and a transfer request completion notification reception process 12 as shown in the figure.

第3図はマスタ制御手段2の処理の一例を示す流れ図で
あり、マスタ制御手段2は、転送要求受付受信処理21
.データ転送手段選択処理22.転送要求通知処理23
.依頼元判定処理24.転送処理終了待合せ処理25お
よび転送要求終了通知処理26を行なう。
FIG. 3 is a flowchart showing an example of the processing of the master control means 2, in which the master control means 2 performs the transfer request reception processing 21.
.. Data transfer means selection process 22. Transfer request notification processing 23
.. Request source determination process 24. Transfer processing completion waiting processing 25 and transfer request completion notification processing 26 are performed.

第4図はマスタデータ転送手段3−4の処理の一例を示
し、各マスタデータ転送手段は、転送要求受付処理31
−i、転送開始情報送信処理32−i、転送方向判定処
理33− i 、データ送信処理34−4.データ受信
処理35−i、依幀元判定処理36−1および転送処理
終了通知処理37−1を行なう。
FIG. 4 shows an example of the processing of the master data transfer means 3-4, and each master data transfer means performs a transfer request reception process 31.
-i, transfer start information transmission processing 32-i, transfer direction determination processing 33-i, data transmission processing 34-4. Data reception processing 35-i, reliance source determination processing 36-1, and transfer processing end notification processing 37-1 are performed.

第5図はスレーブ転送要求手段4の処理の一例を示す流
れ図であり、スレーブ転送要求手段4は、転送要求依頼
処理41および転送要求終了通知受信処理42を行なう
FIG. 5 is a flowchart showing an example of the processing of the slave transfer requesting means 4, in which the slave transfer requesting means 4 performs a transfer request request process 41 and a transfer request completion notification reception process 42.

第6図はスレーブ制御手段5の処理の一例を示す流れ図
であり、同図によればスレーブ制御手段5は、転送要求
受4=J処理51.転送要求送信処理52゜転送処理終
了待合せ処理53および転送要求終了通知処理54を行
なう。
FIG. 6 is a flowchart showing an example of the processing of the slave control means 5. According to the same figure, the slave control means 5 performs transfer request reception 4=J processing 51. Transfer request transmission processing 52. Transfer processing completion waiting processing 53 and transfer request completion notification processing 54 are performed.

第7図はスレーブデータ転送手段6−i の処理の一例
を示し、各スレーブデータ転送手段は、転送開始情報受
信処理61−i、転送方向判定処理62−i。
FIG. 7 shows an example of the processing of the slave data transfer means 6-i, in which each slave data transfer means performs a transfer start information reception process 61-i and a transfer direction determination process 62-i.

データ受信処理63−i、データ送信処理64−i、依
頬元判定処理65−1および転送処理終了通知処理66
−1を行なう。
Data reception processing 63-i, data transmission processing 64-i, dependency determination processing 65-1, and transfer processing end notification processing 66
Perform -1.

次に本実施例の動作について、マスタプロセッサMP内
からデータの転送要求が発生した場合と、スレーブプロ
セッサSP内からデータの転送要求が発生した場合とに
分け、図面を参照して説明する。
Next, the operation of this embodiment will be explained with reference to the drawings, in two cases: a case where a data transfer request is generated from within the master processor MP, and a case where a data transfer request is generated from within the slave processor SP.

マスタプロセッサMP内からデータの転送要求が発生す
ると、マスタ転送要求手段1は、転送情報(依親元、転
送方向など)を作成しこれを第2図の転送要求依頼処理
11によってマスタ制御手段2へ通知する。マスタ制御
手段2は、第3図の転送要求受付受信処理21によって
これらの情報を受信すると、データ転送手段選択処理2
2によってマスタデータ転送手段群3の中よりデータ転
送を行なっていない、即ち空き状態のマスタデータ転送
手段3−iを選び出し、転送要求通知処理23にて上記
転送情報をその選択したマスタデータ転送手段3−i 
に通知する。
When a data transfer request is generated from within the master processor MP, the master transfer request means 1 creates transfer information (request source, transfer direction, etc.) and sends this to the master control means 2 through the transfer request request process 11 shown in FIG. Notice. When the master control means 2 receives this information through the transfer request reception process 21 shown in FIG.
2 selects a master data transfer means 3-i that is not performing data transfer, that is, an empty master data transfer means 3-i from the master data transfer means group 3, and transfers the above transfer information to the selected master data transfer means in the transfer request notification process 23. 3-i
to notify.

マスタデータ転送手段3−iは、第4図の転送要求受付
処理31−1によってマスタ制御手段2からの上記情幸
騒を受信すると、転送開始情報送信部32−1によって
スレーブプロセッサSP内でマスタデータ転送手段3−
i との間にデータ転送用のパスsp−iを開設してい
るスレーブデータ転送手段6−iに、そのパスを通して
転送情報を送信し、転送方向判定処理33−1にて判定
した転送方向に基づいてデータ送信処理34−1又はデ
ータ受信処理35−1によって、スレーブプロセッサS
Pとのデータの転送処理を開始する。
When the master data transfer means 3-i receives the above-mentioned emotion from the master control means 2 through the transfer request reception process 31-1 shown in FIG. Data transfer means 3-
Transfer information is transmitted to the slave data transfer means 6-i which has established a data transfer path sp-i between it and the slave data transfer means 6-i through that path, and the transfer information is transferred in the transfer direction determined in the transfer direction determination process 33-1. Based on the data transmission processing 34-1 or data reception processing 35-1, the slave processor S
Starts data transfer processing with P.

一方、スレーブプロセッサSP内の前記スレーブデータ
転送手段6−i は、第7図の転送開始情報受信処理6
1−1によってマスタプロセッサMPのマスタデータ転
送手段3−iから送信された転送情報を受信し、転送方
向判定処理62−1にて判定した転送方向に基づいて、
データ受信処理63−1又はデータ送信処理64−1に
よってマスタプロセッサMPとのデータの転送処理を開
始する。
On the other hand, the slave data transfer means 6-i in the slave processor SP performs the transfer start information receiving process 6 in FIG.
1-1 receives the transfer information transmitted from the master data transfer means 3-i of the master processor MP, and based on the transfer direction determined in the transfer direction determination process 62-1,
Data transfer processing with master processor MP is started by data reception processing 63-1 or data transmission processing 64-1.

上述の転送処理が終了すると、マスタデータ転送手段3
−iは、第4図の依頼元判定処理36−1によって判定
した依頼元がマスタプロセッサMPであるため、転送処
理終了通知処理37−1でマスタ制御手段2に転送処理
の終了を通知する。このとき、マスタ制御手段2は第3
図の依頼元判定処理24によって判定した依頼元がマス
タプロセッサMPであるため、転送処理終了待合せ処理
25が転送処理の終了を待合せており、この転送処理終
了待合せ処理でマスタデータ転送手段3−iから通知さ
れた上記の転送処理の終了を受信し、転送要求終了通知
処理26によって転送要求の終了通知をマスタ転送要求
手段1に通知する。そして、マスタ転送要求手段1が、
第2図の転送要求終了通知受信処理12でその終了通知
を受信することにより、マスタプロセッサMP内からの
データの転送要求が終了することになる。
When the above transfer process is completed, the master data transfer means 3
Since the request source determined by the request source determination process 36-1 in FIG. 4 is the master processor MP, -i notifies the master control means 2 of the end of the transfer process in the transfer process end notification process 37-1. At this time, the master control means 2
Since the request source determined by the request source determination process 24 in the figure is the master processor MP, the transfer process end waiting process 25 waits for the end of the transfer process, and in this transfer process end waiting process, the master data transfer means 3-i The end of the transfer process notified from the master transfer request means 1 is notified by the transfer request end notification process 26 . Then, the master transfer requesting means 1
By receiving the termination notification in the transfer request termination notification receiving process 12 of FIG. 2, the data transfer request from within the master processor MP is terminated.

次に、スレーブプロセッサSP内からデータの転送要求
が発生すると、スレーブ転送要求手段4は、転送情報(
依転元、転送方向など)を作成し、これを第5図の転送
要求依頼処理41によってスレーブ制御手段5に通知す
る。スレーブ制御手段5は、第6図の転送要求受付処理
51にてこれらの情報を受信すると、転送要求送信処理
52によってそれらの情報を、マスタプロセッサMP内
でスレーブ制御手段5との間に制御用のパスcpを開設
しているマスタ制御手段2に、そのパスを通して送信す
る。
Next, when a data transfer request is generated from within the slave processor SP, the slave transfer request means 4 sends the transfer information (
(dependency source, transfer direction, etc.) and notify this to the slave control means 5 by the transfer request request processing 41 shown in FIG. When the slave control means 5 receives these pieces of information in the transfer request reception process 51 of FIG. The data is transmitted to the master control means 2 which has opened the path CP through that path.

マスタプロセッサMP内のマスタ制御手段2は、第3図
の転送要求受付受信処理21によってスレーブプロセッ
サSPから送信された上記転送情報を受信すると、デー
タ転送手段選択処理22によってマスタデータ転送手段
群3の中よりデータ転送を行なっていない卯ち空き状態
のマスタデータ転送手段3−iを選び出し、転送要求通
知処理23にて転送情報をその選択したマスタデータ転
送手段3−4に通知する。
When the master control means 2 in the master processor MP receives the transfer information transmitted from the slave processor SP by the transfer request acceptance reception process 21 shown in FIG. An empty master data transfer means 3-i that is not performing data transfer is selected from among them, and transfer information is notified to the selected master data transfer means 3-4 in a transfer request notification process 23.

マスタデータ転送手段3−i は、第4図の転送要求受
付処理31−tによってそれらの情報を受信すると、転
送開始情報送信処理32−1によってスレーブプロセッ
サSP内でマスタデータ転送手段3−i との間にデー
タ転送用のパスsp−rを開設しているスレーブデータ
転送手段6−iにそのパスを通して転送情報を送信し、
転送方向判定処理33−1によって判定した転送方向に
基づいてデータ送信処理34−1又はデータ受信処理3
5−1によってスレーブプロセッサSPとのデータの転
送処理を開始する。
When the master data transfer means 3-i receives the information through the transfer request reception process 31-t shown in FIG. 4, the master data transfer means 3-i and transmits the transfer information to the slave data transfer means 6-i which has opened a path sp-r for data transfer through that path,
Data transmission processing 34-1 or data reception processing 3 is performed based on the transfer direction determined by transfer direction determination processing 33-1.
5-1 starts data transfer processing with the slave processor SP.

一方、スレーブプロセッサSP内の上記スレーブデータ
転送手段6−i は、第7図の転送開始情報受信処理6
1−1によってマスタプロセッサMPから送信された転
送情報を受信し、転送方向判定処理62−1にて判定し
た転送方向に基づいてデータ受信処理63−1又はデー
タ送信処理64−1によってマスタプロセッサMPとの
データの転送処理を開始する。
On the other hand, the slave data transfer means 6-i in the slave processor SP performs the transfer start information receiving process 6 in FIG.
1-1 receives the transfer information transmitted from the master processor MP, and based on the transfer direction determined in the transfer direction determination process 62-1, the master processor MP Start the data transfer process.

上述の転送処理が終了すると、スレーブデータ転送手段
6−iは、第7図の依頼元判定処理65−1にて判定し
た依頼元がスレーブプロセッサSPであるため、転送処
理終了通知処理66−1によって転送処理の終了をスレ
ーブ制御手段5に通知する。スレーブ制御手段5は、こ
のとき第6図の転送処理終了待合せ処理53で転送処理
の終了を待合せており、この処理でデータ転送手段6−
iから通知された転送処理の終了を受信し、転送要求終
了通知処理54にて転送要求の終了通知をスレーブ転送
要求手段4に通知する。そして、スレーブ転送要求手段
4が、第5図の転送要求終了受信処理42によってその
終了通知を受信することにより、スレーブプロセッサS
P内からのデータの転送要求が終了することになる。
When the above-described transfer process is completed, the slave data transfer means 6-i performs a transfer process completion notification process 66-1 because the request source determined in the request source determination process 65-1 of FIG. 7 is the slave processor SP. This notifies the slave control means 5 of the end of the transfer process. At this time, the slave control means 5 waits for the end of the transfer process in the transfer process end waiting process 53 shown in FIG.
The end of the transfer process notified from i is received, and the slave transfer request means 4 is notified of the end of the transfer request in a transfer request end notification process 54. Then, when the slave transfer request means 4 receives the completion notification through the transfer request completion reception process 42 shown in FIG.
The data transfer request from within P ends.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、互いにデータの転送を
行なうプロセッサを、マスタプロセッサとスレーブプロ
セッサとに用途分けすると共に、静的に開設されたデー
タ転送パスを介して双方向にデータ転送可能なデータ転
送手段を設け、且つ、両プロセッサ内からの全てのデー
タの転送要求をマスタプロセッサ側のマスタ制御手段で
制御することにより、以下に示す効果がある。
As explained above, the present invention divides processors that transfer data between them into master processors and slave processors, and enables bidirectional data transfer via a statically established data transfer path. By providing the data transfer means and controlling all data transfer requests from both processors by the master control means on the master processor side, the following effects can be achieved.

(11データの転送要求をマスタプロセッサ側で制御す
ることにより、転送要求の衝突等の事象が発生せず、デ
ータ転送の処理が簡単となる。
(By controlling the transfer request for 11 data on the master processor side, events such as collision of transfer requests do not occur, and the data transfer process becomes simple.

(2)一方向のデータの転送要求が多量に依φ■されて
も、データ転送用のパスが有効に利用され、従ってデー
タの転送が効率良く行なわれる。
(2) Even if a large number of unidirectional data transfer requests are made, the data transfer path is effectively used, and therefore data transfer is performed efficiently.

(3)データ転送用のパスを静的に開設しであるので、
転送要求が依頼されるたびに、動的にプロセッサ間でデ
ータ転送用のパスを開設する処理時間が省け、速やかな
データ転送が実現できる。
(3) Since the path for data transfer is statically established,
This eliminates the processing time of dynamically establishing a data transfer path between processors each time a transfer request is made, and enables prompt data transfer.

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

第1図は本発明の一実施例のブロック図、第2図はマス
タ転送要求手段lの処理の一例を示す流れ図、 第3図はマスタ制御手段2の処理の一例を示す流れ図、 第4図はマスタデータ転送手段3−iの処理の一例を示
す流れ図、 第5図はスレーブ転送要求手段4の処理の一例を示す流
れ図、 第6図はスレーブ制御手段5の処理の一例を示す流れ図
および、 第7図はスレーブデータ転送手段6−iの処理の一例を
示す流れ図である。 図において、MP・・・マスタプロセッサ、SP・・・
スレーブプロセッサ、cp・・・制御用のパス、5p−
1〜5p−n・・・データ転送用のパス、1・・・マス
タ転送要求手段、2・・・マスタ制御手段、3・・・マ
スタデータ転送手段群、4・・・スレーブ転送要求手段
、5・・・スレーブ制御手段、6・・・スレーブデータ
転送手段群。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing an example of the processing of the master transfer requesting means 1, FIG. 3 is a flowchart showing an example of the processing of the master control means 2, and FIG. 5 is a flowchart showing an example of the processing of the slave transfer requesting means 4, FIG. 6 is a flowchart showing an example of the processing of the slave control means 5, and FIG. 7 is a flow chart showing an example of the processing of the slave data transfer means 6-i. In the figure, MP...master processor, SP...
Slave processor, cp... control path, 5p-
1 to 5p-n...Data transfer path, 1...Master transfer request means, 2...Master control means, 3...Master data transfer means group, 4...Slave transfer request means, 5... Slave control means, 6... Slave data transfer means group.

Claims (1)

【特許請求の範囲】 プロセッサ間で各プロセッサ内からのデータの転送要求
の依頼に基づきデータの転送処理を行なうデータ転送制
御方式において、 互いにデータ転送を行なうプロセッサを、データの転送
処理の制御を行なうマスタプロセッサと、該マスタプロ
セッサの指示に従いデータの転送処理を行なうスレーブ
プロセッサとに区分し、且つ、前記マスタプロセッサ側
に設けられたマスタデータ転送手段と前記スレーブプロ
セッサ側に設けられたスレーブデータ転送手段と該スレ
ーブデータ転送手段と前記マスタデータ転送手段との間
に静的に開設されたデータ転送パスとから構成され、双
方向にデータ転送可能なデータ転送手段と、前記マスタ
プロセッサ側に設けられ、データの転送依頼に基づいて
前記データ転送手段を制御するマスタ制御手段と、 前記マスタプロセッサ側に設けられ、前記マスタプロセ
ッサ側のデータの転送要求を前記マスタ制御手段に依頼
するマスタ転送要求手段と、前記スレーブプロセッサ側
に設けられ、前記スレーブプロセッサ側のデータの転送
要求を依頼するスレーブ転送要求手段と、 前記スレーブプロセッサ側に設けられ、前記スレーブ転
送要求手段からのデータの転送要求の依頼を前記マスタ
制御手段に通知するスレーブ制御手段とを含むことを特
徴とするプロセッサ間のデータ転送制御方式。
[Claims] In a data transfer control method in which data transfer processing is performed between processors based on a data transfer request from within each processor, the processors that transfer data to each other are controlled in the data transfer processing. A master processor is divided into a master processor and a slave processor that performs data transfer processing according to instructions from the master processor, and a master data transfer means provided on the master processor side and a slave data transfer means provided on the slave processor side. and a data transfer path statically established between the slave data transfer means and the master data transfer means, and a data transfer means capable of bidirectional data transfer; and a data transfer means provided on the master processor side, master control means for controlling the data transfer means based on a data transfer request; master transfer request means provided on the master processor side for requesting the master control means to request data transfer from the master processor side; A slave transfer requesting means provided on the slave processor side and requesting a data transfer request from the slave processor side; and a slave transfer requesting means provided on the slave processor side requesting a data transfer request from the slave transfer requesting means. 1. A data transfer control method between processors, comprising: slave control means for notifying the control means.
JP6918386A 1986-03-27 1986-03-27 Control system for inter-processor transfer of data Granted JPS62226265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6918386A JPS62226265A (en) 1986-03-27 1986-03-27 Control system for inter-processor transfer of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6918386A JPS62226265A (en) 1986-03-27 1986-03-27 Control system for inter-processor transfer of data

Publications (2)

Publication Number Publication Date
JPS62226265A true JPS62226265A (en) 1987-10-05
JPH0582617B2 JPH0582617B2 (en) 1993-11-19

Family

ID=13395353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6918386A Granted JPS62226265A (en) 1986-03-27 1986-03-27 Control system for inter-processor transfer of data

Country Status (1)

Country Link
JP (1) JPS62226265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100576026B1 (en) * 2004-01-08 2006-05-02 삼성전자주식회사 Apparatus for detecting bidirectional mutual host part-client part in collection terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100576026B1 (en) * 2004-01-08 2006-05-02 삼성전자주식회사 Apparatus for detecting bidirectional mutual host part-client part in collection terminal

Also Published As

Publication number Publication date
JPH0582617B2 (en) 1993-11-19

Similar Documents

Publication Publication Date Title
JPS62226265A (en) Control system for inter-processor transfer of data
JPS5939143A (en) Polling system
JPS6388662A (en) Data communication system
JP2003058515A (en) Inter-processor command processor, loose coupled multi- processor device, and command processing method
JP2911931B2 (en) Data transfer conflict avoidance method in interprocessor communication
JPS58158732A (en) Communication system between processors
JP2655404B2 (en) How to implement a network architecture
JPS6074836A (en) Data transfer system
JPH01251267A (en) Data transfer system
JPS5952945A (en) Network control system
JPH02210567A (en) Input/output control system
JPS6348215B2 (en)
JPH0741231Y2 (en) Data transmission system
JPH0447433A (en) Multi-processor control system
JPH01206758A (en) Information transferring system
JPH02143645A (en) Data transmission system
JPH0793751B2 (en) Data processing control method
JPH022256A (en) Data communication system
JPH01145758A (en) Time synchronizing system for multisystem computer system
JPS63303535A (en) Communication control system
JPS60236542A (en) Bus connection control system
JPH03217905A (en) Data transfer method between programmable controllers
JPH01175658A (en) Multiplexed session establishing system for intercomputer communication system
JPH02257725A (en) Data transmission system
JPH03288248A (en) Access method to network peripheral device