JPH054708B2 - - Google Patents
Info
- Publication number
- JPH054708B2 JPH054708B2 JP60211625A JP21162585A JPH054708B2 JP H054708 B2 JPH054708 B2 JP H054708B2 JP 60211625 A JP60211625 A JP 60211625A JP 21162585 A JP21162585 A JP 21162585A JP H054708 B2 JPH054708 B2 JP H054708B2
- Authority
- JP
- Japan
- Prior art keywords
- processor
- bus
- transmission
- unit
- task
- 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.)
- Expired - Lifetime
Links
Landscapes
- Information Transfer Systems (AREA)
- Multi Processors (AREA)
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、各々のプロセツサユニツトが2組以
上のプロセツサ間データ転送バスを介して通信を
行なうマルチプロセツサシステムに用いられるプ
ロセツサユニツトに関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a processor unit used in a multiprocessor system in which each processor unit communicates via two or more sets of interprocessor data transfer buses. .
(従来の技術)
システムの処理能力向上と、プロセツサユニツ
トのソフトウエアの構成の簡単化を目的として、
個々にはシングルタスクのプロセツサユニツトを
複数設け互いにデータ転送バスで結び負荷分散型
のマルチプロセツサシステムとして構成する場合
があるが、プロセツサユニツトの各々において実
行されるタスク中に他のプロセツサユニツトヘサ
ブタスクの実行を要求し、その結果の返信を期待
する場合、もしくは、他のプロセツサユニツトが
有する固有の情報の提供を要求する場合等の応答
情報の返信を伴う問い合わせ処理がある場合には
タスク実行中にプロセツサ間データ転送バスの受
信バツフアを常時監視し、その受信されたメツセ
ージが別の新たなタスク要求であるか、問い合わ
せに対する応答であるかを判定する必要がある。(Prior art) In order to improve the processing power of the system and simplify the software configuration of the processor unit,
In some cases, multiple single-task processor units are connected to each other via a data transfer bus to form a load-balanced multiprocessor system. When requesting the execution of a subtask to a unit and expecting a response as a result, or when processing an inquiry that involves a return of response information, such as when requesting the provision of unique information possessed by another processor unit. must constantly monitor the reception buffer of the interprocessor data transfer bus during task execution and determine whether the received message is another new task request or a response to an inquiry.
なぜならば上記のプロセツサユニツトはシング
ルタスクのみ実行可能であるから受信メツセージ
が問い合わせに対する応答であれば問題ないが別
の新たなタスク要求の場合には、その要求が実行
不能であることを要求元のプロセツサユニツトに
知らせなければならないからである。 This is because the above processor unit can only execute a single task, so if the received message is a response to an inquiry, there is no problem, but if it is a request for another new task, the requester will indicate that the request cannot be executed. This is because the processor unit must be notified.
しかしながら容易に想像される様に上記の判定
並びに応答をソフトウエアで実行していたので
は、各プロセツサユニツトにおけるソフトウエア
処理時間が増大し処理能力を高めることが難し
い。この欠点を補うため次に述べるプロセツサ間
データ転送方式が提案されている。これは各プロ
セツサユニツトにおいて互いに排他的な機器話中
状態と機器空状態の2種類の受信状態とともにそ
のどちらかを各プロセツサユニツトにおいて設定
する手段を有し、さらに送信先のプロセツサユニ
ツトの受信状態が機器空状態の場合に送信許可が
与えられる空選択送信要求と、機器話中状態の場
合に送信許可が与えられる話中選択送信要求とを
有するとともにそのどちらを使用するかを指定で
きる手段とをハードウエアにて提供する方法であ
る。 However, as can be easily imagined, if the above-mentioned determination and response were executed by software, the software processing time in each processor unit would increase, making it difficult to increase the processing capacity. In order to compensate for this drawback, the following inter-processor data transfer system has been proposed. This has two mutually exclusive reception states, a device busy state and a device idle state, in each processor unit, and means for setting either of them in each processor unit. It has an empty selection transmission request in which transmission permission is granted when the device is in the idle state, and a busy selection transmission request in which transmission permission is granted when the device is in the busy state, and it is possible to specify which one to use. This is a method of providing the means using hardware.
すなわち各プロセツサユニツトは、他のプロセ
ツサユニツトへのタスク要求の必要が生じると空
選択送信要求を相手プロセツサユニツトへ送信
し、送信許可を受けた後タスク要求を送信する。 That is, when each processor unit needs to request a task to another processor unit, it transmits an empty selection transmission request to the other processor unit, and after receiving transmission permission, transmits the task request.
一方他のプロセツサユニツトからタスク要求を
受け付けたプロセツサユニツトは、受信状態を機
器話中状態に設定し、機器話中状態に設定した該
プロセツサユニツトからの問い合わせに応答する
他のプロセツサユニツトは話中選択送信要求にて
応答情報を送信する。従つて新たなタスク要求は
空選択送信要求であり、一方タスク実行中のプロ
セツサユニツトは機器話中状態であるので、送信
許可が与えられることは無く、ソフトウエアが受
信した情報を判定して新たなタスク実行不可を知
らせる必要が無い。 On the other hand, a processor unit that has received a task request from another processor unit sets its receiving state to a device busy state, and sends the request to another processor unit that responds to an inquiry from the processor unit that has been set to a device busy state. transmits response information using a busy selection transmission request. Therefore, the new task request is an empty selection send request, while the processor unit executing the task is in a busy state, so permission to send is not granted and the software judges the received information. There is no need to notify that a new task cannot be executed.
(発明が解決しようとする問題点)
しかしながら上記従来技術はいずれもシングル
タスクシステムであるため、タスク実行の途中で
他のプロセツサユニツトに対する問い合わせを行
なうと、タスク実行中のプロセツサユニツトにと
つて問い合わせに対する応答待ち時間が実質的に
タスク実行に必要な処理時間とは関係ない完全に
無駄な時間として生じるとともに、タスク実行中
における他プロセツサユニツトに対する問い合わ
せが多く成ると前記問い合わせ時間のタスク実行
時間に占める割合が大きく成り、マルチプロセツ
サ化の利点が十分に生かせないという欠点があ
る。(Problems to be Solved by the Invention) However, since all of the above-mentioned conventional technologies are single-task systems, if an inquiry is made to another processor unit during the execution of a task, it will cause problems for the processor unit currently executing the task. The time spent waiting for a response to an inquiry actually occurs as a completely wasted time that has nothing to do with the processing time required to execute the task, and if the number of inquiries to other processor units increases during task execution, the task execution time for the inquiry time increases. This has the disadvantage that the advantages of multiprocessorization cannot be fully utilized.
問い合わせに対する応答の待時間を短縮するた
めにはマルチタスクシステムを採用する必要があ
るが、従来のハード構成のプロセツサユニツトを
用いたマルチプロセツサシステムにおいて、マル
チタスクシステムを採用しようとするとソフトウ
エアが複雑大規模となり負担が大きくなるという
問題点があつた。 In order to reduce the waiting time for responses to inquiries, it is necessary to adopt a multitasking system, but when trying to adopt a multitasking system in a multiprocessor system using a conventional hardware processor unit, it is difficult to use software. There was a problem that the process became complex and large-scale, resulting in a heavy burden.
本発明の目的は、上記従来技術の問題点を解決
すべく、各プロセツサユニツトにおけるソフトウ
エアの構成が、シングルタスクシステムにおける
と同程度の簡単な構成でマルチタスクシステムを
実現できるプロセツサユニツトを提供しようとす
るものである。 SUMMARY OF THE INVENTION In order to solve the above-mentioned problems of the prior art, an object of the present invention is to provide a processor unit that can realize a multitasking system with a software configuration in each processor unit as simple as that of a single-tasking system. This is what we are trying to provide.
(問題点を解決するための手段)
本発明は上記の目的を達成するために次の構成
を有する。即ち、本発明のマルチタスクプロセツ
サユニツトは、プロセツサと;接続される複数系
統のプロセツサ間データ転送バスの各系統別に対
応して設けられた複数のバスインターフエイス部
と;前記各転送バスを介して受信された情報を各
転送バス別に蓄積する受信バツフアメモリ部と;
各転送バス別に設けられ、前記プロセツサからの
指令により、当該転送バスを介してタスク実行の
ための情報を受けていない時には機器空状態が設
定され、前記情報を受けた後は機器話中状態が設
定され、該設定された機器状態に従つて、対応す
るバスインターフエイス部が、機器空状態の時に
到来した空選択送信要求に対しては送信許可を与
え、機器話中状態の時に到来した空選択送信要求
に対しては送信許可を与えず話中選択送信要求に
対しては送信許可を与えるよう当該バスインター
フエイス部を制御するとともに前記受信バツフア
メモリ部を制御する受信制御部と;送信すべき情
報を蓄積する送信バツフアメモリ部と; 前記プ
ロセツサからの指令により送信要求の空又は話中
の選択と、バスインターフエイス部に対する送信
用転送バスの選択制御と、前記送信バツフアメモ
リ部に対する制御を行う送信制御部と;を有する
ことを特徴とする。(Means for Solving the Problems) The present invention has the following configuration to achieve the above object. That is, the multitask processor unit of the present invention includes: a processor; a plurality of bus interface sections provided corresponding to each system of a plurality of connected inter-processor data transfer buses; a reception buffer memory unit that stores information received by each transfer bus;
Each transfer bus is provided separately, and according to a command from the processor, when information for executing a task is not received via the transfer bus, the device is set to the empty state, and after receiving the information, the device is set to the busy state. According to the set device status, the corresponding bus interface section grants transmission permission to an empty selection transmission request that arrives when the device is in an idle state, and grants transmission permission to an idle selection transmission request that arrives when the equipment is busy. a reception control section that controls the bus interface section and controls the reception buffer memory section so as to grant transmission permission to a selective transmission request and grant transmission permission to a busy selective transmission request; a transmission buffer memory unit for accumulating information; and a transmission control unit that selects an empty or busy transmission request based on commands from the processor, controls the selection of a transmission transfer bus for the bus interface unit, and controls the transmission buffer memory unit. It is characterized by having a part and;
(作用)
本発明のプロセツサユニツトは、バスインター
フエイス部と、受信制御部および受信バツフアメ
モリとからなる回路(受信バツフアという)を複
数個有し、各バスインターフエイス部はそれぞれ
プロセツサユニツトを共通に接続する複数のプロ
セツサ間データ転送バスのうち異なつた転送バス
に接続される。受信バツフアは他のプロセツサユ
ニツトからタスク実行のため情報を受けていない
間は機器空状態であり、受けた後は機器話中状態
となる。機器空状態の時に他のプロセツサユニツ
トからタスク要求や問い合わせの空選択送信要求
(送信したいという予備信号)が来たときにはバ
スインターフエイス部は送信許可を与えタスク実
行のための情報の送信を受ける。(Function) The processor unit of the present invention has a plurality of circuits (referred to as reception buffers) each consisting of a bus interface section, a reception control section, and a reception buffer memory, and each bus interface section has a common processor unit. The processor is connected to a different transfer bus among a plurality of interprocessor data transfer buses connected to the processor. The reception buffer is in the equipment empty state while not receiving information for task execution from another processor unit, and becomes the equipment busy state after receiving information. When a task request or inquiry empty selection transmission request (preliminary signal to transmit) is received from another processor unit when the device is idle, the bus interface section grants transmission permission and receives the transmission of information for task execution. .
これに対し、機器話中状態の時には、空選択送
信要求が来てもバスインターフエイス部は送信許
可を与えず、話中選択送信要求が来た時には送信
許可を与える。一方送信の方は、他のプロセツサ
ユニツトに対してタスク要求や問い合わせを行う
場合には空選択送信要求を、また問い合わせに対
する応答を送信する場合には話中選択送信要求
を、送信制御部で選択し、更に、送信制御部は送
信する転送バスを選択するためにバスインターフ
エイス部を制御する。 On the other hand, when the device is in a busy state, the bus interface section does not grant transmission permission even if an idle selection transmission request comes, but grants transmission permission when a busy selection transmission request comes. On the other hand, for transmission, the transmission control unit sends an empty selection transmission request when requesting a task or making an inquiry to another processor unit, and a busy selection transmission request when sending a response to an inquiry. In addition, the transmission control section controls the bus interface section to select the transfer bus for transmission.
従つて、本発明のプロセツサユニツトは、各受
信バツフアは1つのタスク要求或いは問い合わせ
を受け付けることができ、結局、設けられている
受信バツフアの数だけのタスク要求或いは問い合
わせを受け付けることができる。 Therefore, in the processor unit of the present invention, each receiving buffer can accept one task request or inquiry, and in the end, it is possible to accept as many task requests or inquiries as the number of receiving buffers provided.
またタスク要求を受け付けた受信バツフアであ
つても、そのタスクを実行するに当り他のプロセ
ツサユニツトに対して行つた問い合わせに対する
応答は機器話中状態であつても受け付けることが
できる。 Further, even if the receiving buffer receives a task request, it can receive responses to inquiries made to other processor units in executing the task even if the device is busy.
従つて、今、プロセツサが第0番目の受信バツ
フアで受け付けたタスクを実行中、他のプロセツ
サユニツトへのタスク要求や問い合わせの必要が
生じてタスク要求や問い合わせを行つた場合その
結果や応答が戻つて来る迄の間プロセツサでのそ
のタスクの実行が中断するが、その間、例えば第
1番目の受信バツフアで受け付けたタスクを実行
させるということが可能となり、受け付けたタス
クがある限りプロセツサの稼働に空きを生じさせ
ないようにすることができる。 Therefore, if a task request or inquiry is made to another processor unit while the processor is currently executing a task accepted by the 0th reception buffer, the result or response will be The execution of the task in the processor will be interrupted until the processor returns, but during that time, for example, it is possible to execute the task received in the first receiving buffer, and as long as there are accepted tasks, the processor will continue to operate. It is possible to prevent empty spaces from occurring.
このことは結局、順繰りに、自プロセツサユニ
ツトが自己のタスクを実行するに当つて、途中
で、他のプロセツサユニツトへタスク実行要求を
したり問い合わせをしたりした場合の待ち時間が
大幅に短縮されることを意味する。 As a result, when a processor unit executes its own task in sequence, the waiting time is significantly increased if it issues a task execution request or makes an inquiry to another processor unit in the middle. means to be shortened.
そして、これを実現するための各プロセツサユ
ニツトにおけるソフトウエアの構成は、シングル
タスクシステムのソフトウエアの構成と同程度で
ある。 The software configuration in each processor unit for realizing this is comparable to the software configuration of a single-task system.
即ち、本発明のプロセツサユニツトを用いたマ
ルチプロセツサシステムにおいては各プロセツサ
ユニツトにおけるソフトウエアの構成がシングル
タスクシステムと同程度の簡単な構成でマルチタ
スクシステムが実現できる。 That is, in a multiprocessor system using the processor unit of the present invention, a multitask system can be realized with a software configuration in each processor unit that is as simple as a single task system.
(実施例)
次に本発明のプロセツサユニツトの実施例につ
いて図面を参照して説明する。(Embodiment) Next, an embodiment of the processor unit of the present invention will be described with reference to the drawings.
第1図は、本発明によるプロセツサユニツトの
一実施例の構成を示すブロツク図である。本実施
例は、第0プロセツサ間データ転送バス110と
第1プロセツサ間データ転送バス111の2組の
プロセツサ間データ転送バスを接続するプロセツ
サユニツト100を示すものである。 FIG. 1 is a block diagram showing the structure of one embodiment of a processor unit according to the present invention. This embodiment shows a processor unit 100 that connects two sets of inter-processor data transfer buses, a 0th inter-processor data transfer bus 110 and a first inter-processor data transfer bus 111.
第0プロセツサ間データ転送バス110はバス
0インターフエイス部70を介して、バス0受信
バツフア80と送信バツフア90に各々接続され
ている。同様に第1プロセツサ間データ転送バス
111は、バス1インターフエイス部71を介し
てバス1受信バツフア81と送信バツフア90に
各々接続されている。一方プロセツサ10は、プ
ロセツサインターフエイス部20を介してバス0
受信バツフア80、バス1受信バツフア81およ
び送信バツフア90に接続されている。 The 0th inter-processor data transfer bus 110 is connected to a bus 0 reception buffer 80 and a transmission buffer 90 via a bus 0 interface section 70, respectively. Similarly, the first inter-processor data transfer bus 111 is connected to a bus 1 reception buffer 81 and a transmission buffer 90 via a bus 1 interface section 71, respectively. On the other hand, the processor 10 uses the bus 0 via the processor interface section 20.
It is connected to a receiving buffer 80, a bus 1 receiving buffer 81, and a transmitting buffer 90.
バス0受信バツフア80は、第0プロセツサ間
データ転送バス110を介して受信した情報を蓄
積するバス0受信バツフアメモリ部30と、プロ
セツサインターフエイス部20を介してプロセツ
サ10が機器空状態と機器話中状態の2種類の受
信状態のどちらかを設定するバス0受信制御部5
0から成り、バス0受信制御部50はこの設定さ
れた受信状態に従つて、バス0インターフエイス
部70とバス0受信バツフアメモリ部30をそれ
ぞれ制御する。同様に、バス1受信バツフア81
は、第1プロセツサ間データ転送バス111を介
して受信した情報を蓄積するバス1受信バツフア
メモリ部31とプロセツサインターフエイス部2
0を介してプロセツサ10が機器空状態と機器話
中状態の2種類の受信状態のどちらかを設定する
バス1受信制御部51から成り、バス1受信制御
部51はこの設定された受信状態に従つてバス1
インターフエイス部71とバス1受信バツフアメ
モリ部31をそれぞれ制御する。 The bus 0 reception buffer 80 includes a bus 0 reception buffer memory section 30 that stores information received via the 0th inter-processor data transfer bus 110, and a bus 0 reception buffer memory section 30 that stores information received via the 0th inter-processor data transfer bus 110, and a bus 0 reception buffer memory section 30 that stores information received via the 0th inter-processor data transfer bus 110. Bus 0 reception control unit 5 that sets one of two reception states: medium state;
0, and the bus 0 reception control section 50 controls the bus 0 interface section 70 and the bus 0 reception buffer memory section 30, respectively, according to the set reception state. Similarly, the bus 1 reception buffer 81
A bus 1 reception buffer memory unit 31 that stores information received via the first inter-processor data transfer bus 111 and a processor interface unit 2
0, the processor 10 is configured with a bus 1 reception control unit 51 that sets one of two reception states, a device empty state and a device busy state. Therefore bus 1
The interface unit 71 and the bus 1 reception buffer memory unit 31 are controlled respectively.
送信バツフア90は、第0プロセツサ間データ
転送バス110または、第1プロセツサ間データ
転送バス111を介して他のプロセツサユニツト
へ送出する情報を蓄積する送信バツフアメモリ部
40と、プロセツサインターフエイス部20を介
してプロセツサ10が空選択と話中選択の2種類
の送信要求のどちらを使用するか、および送信に
使用するプロセツサ間データ転送バスを2組の内
どちらにするかを設定する送信制御部60から成
り、送信制御部60は、設定された使用プロセツ
サ間データ転送バスに接続されているバスインタ
ーフエイス部と送信バツフアメモリ部40を制御
する。 The transmission buffer 90 includes a transmission buffer memory section 40 that stores information to be sent to other processor units via the 0th inter-processor data transfer bus 110 or the 1st inter-processor data transfer bus 111, and the processor interface section 20. A transmission control unit that sets which of the two types of transmission requests, empty selection and busy selection, the processor 10 will use, and which of the two sets of inter-processor data transfer buses to use for transmission. The transmission control section 60 controls the bus interface section connected to the set inter-processor data transfer bus and the transmission buffer memory section 40.
第2図は第1図に示す本発明によるプロセツサ
ユニツト100およびこれと同じ構成のプロセツ
サユニツト101〜同103によつて構成された
プロセツサ間データ転送系の一実施例を示すブロ
ツク図であり、各々のプロセツサユニツト100
〜同103は第0プロセツサ間データ転送バス1
10と第1プロセツサ間データ転送バス111に
よつて接続される。 FIG. 2 is a block diagram showing an embodiment of an inter-processor data transfer system constituted by processor unit 100 according to the present invention shown in FIG. 1 and processor units 101 to 103 having the same configuration. , each processor unit 100
~103 is the 0th inter-processor data transfer bus 1
10 and a first inter-processor data transfer bus 111.
本実施例において各プロセツサユニツトは、タ
スクを実行していない場合には、各プロセツサユ
ニツトの中のプロセツサ10が、プロセツサイン
ターフエイス部20を介して、それぞれバス0受
信制御部50とバス1受信制御部51に受信状態
として機器空状態を設定し、タスク実行中もしく
は他プロセツサユニツトに対する問い合わせの応
答情報を待つている時、機器話中状態を設定す
る。また、送信を行なう場合他プロセツサユニツ
トに対するタスク要求情報の送信ならプロセツサ
10は、プロセツサインターフエイス部20を介
して、送信制御部60に空選択を設定し、他プロ
セツサユニツトからの問い合わせに対する応答情
報の送信なら話中選択を設定する。 In this embodiment, when each processor unit is not executing a task, the processor 10 in each processor unit communicates with the bus 0 reception control section 50 and the bus 0 through the processor interface section 20, respectively. 1 The reception control unit 51 is set to the device idle state as the reception state, and set to the device busy state when executing a task or waiting for response information to an inquiry to another processor unit. In addition, when transmitting task request information to another processor unit, the processor 10 sets empty selection in the transmission control unit 60 via the processor interface unit 20, and responds to inquiries from other processor units. When sending response information, set busy selection.
次に、プロセツサユニツトの通信動作について
説明する。プロセツサユニツト100に対するタ
スク要求がプロセツサユニツト102に生じたと
すると、プロセツサユニツト102の内部におい
て以下の動作を行なう。すなわちプロセツサ10
は、プロセツサインターフエイス部20を介して
送信バツフアメモリ40に送信情報にあたるプロ
セツサユニツト100に対するタスク要求の蓄積
および送信制御部60への空選択の設定と、送信
に使用するプロセツサ間データ転送バスの指定を
それぞれ行ない、この後送信実行を命令する。 Next, the communication operation of the processor unit will be explained. When a task request to the processor unit 100 occurs in the processor unit 102, the following operations are performed inside the processor unit 102. That is, processor 10
The processor interface section 20 stores the task request for the processor unit 100 corresponding to the transmission information in the transmission buffer memory 40, sets the empty selection to the transmission control section 60, and sets the inter-processor data transfer bus used for transmission. After each specification is made, transmission execution is commanded.
今、送信に使用するプロセツサ間データ転送バ
スとして、第0プロセツサ間データ転送バス11
0を指定したとすれば、送信制御部60は、バス
0インターフエイス部70を制御して、第0プロ
セツサ間データ転送バス110に空選択の送信要
求を送出する。この空選択送信要求に対して、プ
ロセツサユニツト100においては、第0プロセ
ツサ間データ転送バス110に対応するバス0受
信制御部50に機器空受信状態が設定されている
のでバス0インターフエイス部70では、受信し
た送信要求と自分の受信状態が対応していること
を判定し、ただちに第0プロセツサ間データ転送
バス110を介して送信許可を送出し、情報受信
後、プロセツサ10は、プロセツサインターフエ
イス部20を介して、バス0受信制御部50に受
信状態として機器話中状態を設定する。 Now, the 0th inter-processor data transfer bus 11 is used as the inter-processor data transfer bus used for transmission.
If 0 is specified, the transmission control unit 60 controls the bus 0 interface unit 70 to send an empty selection transmission request to the 0th inter-processor data transfer bus 110. In response to this empty selection transmission request, in the processor unit 100, since the device empty reception state is set in the bus 0 reception control section 50 corresponding to the 0th inter-processor data transfer bus 110, the bus 0 interface section 70 Then, the processor 10 determines that the received transmission request corresponds to its reception state, and immediately sends a transmission permission via the 0th inter-processor data transfer bus 110. After receiving the information, the processor 10 transfers the data to the processor interface. The device busy state is set as the reception state in the bus 0 reception control section 50 via the face section 20.
したがつてプロセツサユニツト100において
は、以後第0プロセツサ間データ転送バス110
を介して送られてくる空選択送信要求に対しては
バス0インターフエイス部70が自受信状態と送
信要求が対応していないと判定して、一切送信許
可を与えない。すなわち、プロセツサユニツト1
00においては、第0プロセツサ間データ転送バ
ス110を介しての別の新たなタスク要求を受け
付けないことに成る。 Therefore, in the processor unit 100, the 0th inter-processor data transfer bus 110
In response to an empty selection transmission request sent via the bus 0 interface section 70, the bus 0 interface unit 70 determines that the own receiving state and the transmission request do not correspond, and does not grant any transmission permission. That is, processor unit 1
00, another new task request via the 0th interprocessor data transfer bus 110 will not be accepted.
一方、プロセツサユニツト100におけるバス
1受信制御部51には機器空受信状態が設定され
たままであるので、第1プロセツサ間データ転送
バス111を介して送られて来る空選択送信要求
に対して送信許可を与えることができる。 On the other hand, since the bus 1 reception control section 51 in the processor unit 100 remains set to the device idle reception state, the bus 1 reception control section 51 in the processor unit 100 does not transmit data in response to the idle selection transmission request sent via the first inter-processor data transfer bus 111. permission can be granted.
すなわち第0プロセツサ間データ転送バス側と
同様の動作で一つだけタスク要求を受け付けるこ
とが可能である。 That is, it is possible to accept only one task request with the same operation as on the 0th inter-processor data transfer bus side.
一方、各プロセツサユニツトにおいて、前述の
タスク要求にもとづいて、タスクを実行中、他の
プロセツサユニツトに対する問い合わせ等の通信
の必要が生じる場合がある。今、プロセツサユニ
ツト100が第0プロセツサ間データ転送バス1
10を介して受信したタスク要求に対して、タス
クを実行している時、プロセツサユニツト101
に対する問い合わせの必要が生じたとすれば、上
記のタスク要求の送信の場合と同様の動作でプロ
セツサユニツト101への問い合わせ情報を第0
プロセツサ間データ転送バス110を介して送信
する。問い合わせ情報を受信したプロセツサユニ
ツト101においては送信制御部70に話中選択
を設定し、第0プロセツサ間データ転送バス11
0を介して応答情報の送信を行なう。 On the other hand, while each processor unit is executing a task based on the aforementioned task request, there may be a need for communication such as inquiries to other processor units. Now, the processor unit 100 is connected to the 0th inter-processor data transfer bus 1.
When executing a task in response to a task request received via the processor unit 101, the processor unit 101
If it becomes necessary to make an inquiry to the processor unit 101, the inquiry information to the processor unit 101 is sent to the
The data is transmitted via the interprocessor data transfer bus 110. The processor unit 101 that has received the inquiry information sets the busy selection in the transmission control section 70 and transfers the 0th inter-processor data transfer bus 11.
The response information is transmitted via 0.
すなわち、プロセツサユニツト100のバス0
受信制御部50は、タスク実行中のための機器話
中受信状態が設定されているため空選択送信要求
に対しては許可を与えないがプロセツサユニツト
101から送られて来る話中選択送信要求に対し
てはバス0インターフエイス部70が自受信状態
と対応していると判定して送信許可を与えるた
め、問い合わせに対する応答情報を受信すること
ができる。 That is, bus 0 of processor unit 100
The reception control unit 50 does not grant permission to the empty selection transmission request because the device busy reception state is set for the task being executed, but it does not grant permission to the busy selection transmission request sent from the processor unit 101. Since the bus 0 interface unit 70 determines that this corresponds to the self-receiving state and grants transmission permission, it is possible to receive response information to the inquiry.
以上のようにして各プロセツサユニツトはプロ
セツサ間データ転送バス対応にタスクを1つだけ
受け付けることが可能であるとともに、タスク実
行中における特定プロセツサユニツトとの通信も
確立可能となる。 As described above, each processor unit can accept only one task corresponding to the inter-processor data transfer bus, and it is also possible to establish communication with a specific processor unit during task execution.
(発明の効果)
本発明のプロセツサユニツトは以上説明した構
成と作用を有しているので、受信バツフア1つ当
り1つのタスク要求および該受信バツフアを介し
て他のプロセツサユニツトに対してなした問い合
わせに対する応答を受けることができ、従つて設
けられている受信バツフアの数だけのタスク要求
の受け付けおよび問い合わせ応答の受け付けを行
うことができる。(Effects of the Invention) Since the processor unit of the present invention has the configuration and operation described above, it can issue one task request per receiving buffer and send requests to other processor units via the receiving buffer. Therefore, it is possible to receive as many task requests and inquiry responses as there are reception buffers provided.
そして、プロセツサがいずれかの受信バツフア
の受け付けたタスクの実行中に、他のプロセツサ
に対するタスク要求や問い合わせの必要を生じ、
これを行い応答が来る迄の待時間の間、他の受信
バツフアが受け付けたタスクを実行できるので受
け付けたタスクがある限りプロセツサを遊ばせず
に稼働させることができシングルタスクシステム
に較べ待ち時間を大幅に短縮できる。 Then, while a processor is executing a task accepted by one of the receiving buffers, it becomes necessary to request a task or make an inquiry to another processor.
By doing this, during the waiting time until a response arrives, tasks accepted by other receiving buffers can be executed, so as long as there are accepted tasks, the processor can be operated without idleness, and the waiting time is significantly longer than in a single-task system. It can be shortened to
そして、これを実現するための各プロセツサユ
ニツトにおけるソフトウエアの構成は、シングル
タスクシステムのソフトウエアの構成と同程度で
あるので本発明のプロセツサユニツトを用いたマ
ルチプロセツサシステムにおいては各プロセツサ
ユニツトにおけるソフトウエアの構成がシングル
タスクシステムと同程度の簡単な構成でマルチタ
スクシステムが実現できるという効果がある。 The software configuration of each processor unit to achieve this is comparable to the software configuration of a single-task system, so in a multiprocessor system using the processor unit of the present invention, each processor This has the advantage that a multitasking system can be realized with a software configuration in the setter unit that is as simple as a single-tasking system.
第1図は、本発明のプロセツサユニツトの一実
施例の構成を示すブロツク図、第2図は第1図に
示す本発明のプロセツサユニツトを複数個用いた
マルチプロセツサシステムの構成図である。
10……プロセツサ、20……プロセツサイン
ターフエイス部、30……バス0受信バツフアメ
モリ部、31……バス1受信バツフアメモリ部、
40……送信バツフアメモリ部、50……バス0
受信制御部、51……バス1受信制御部、60…
…送信制御部、70……バス0インターフエイス
部、71……バス1インターフエイス部、80…
…バス0受信バツフア、81……バス1受信バツ
フア、90……送信バツフア、100〜103…
…プロセツサユニツト、110……第0プロセツ
サ間データ転送バス、111……第1プロセツサ
間データ転送バス。
FIG. 1 is a block diagram showing the configuration of an embodiment of the processor unit of the present invention, and FIG. 2 is a configuration diagram of a multiprocessor system using a plurality of processor units of the present invention shown in FIG. be. 10... Processor, 20... Processor interface section, 30... Bus 0 reception buffer memory section, 31... Bus 1 reception buffer memory section,
40...Transmission buffer memory section, 50...Bus 0
Reception control unit, 51...Bus 1 reception control unit, 60...
...Transmission control section, 70...Bus 0 interface section, 71...Bus 1 interface section, 80...
... Bus 0 reception buffer, 81 ... Bus 1 reception buffer, 90 ... Transmission buffer, 100 to 103 ...
. . . processor unit, 110 . . . 0th inter-processor data transfer bus, 111 . . . 1st inter-processor data transfer bus.
Claims (1)
ツサ間データ転送バスの各系統別に対応して設け
られた複数のバスインターフエイス部と;前記各
転送バスを介して受信された情報を各転送バス別
に蓄積する受信バツフアメモリ部と;各転送バス
別に設けられ、前記プロセツサからの指令によ
り、当該転送バスを介してタスク実行のための情
報を受けていない時には機器空状態が設定され、
前記情報を受けた後は機器話中状態が設定され、
該設定された機器状態に従つて、対応するバスイ
ンターフエイス部が、機器空状態の時に到来した
空選択送信要求に対しては送信許可を与え、機器
話中状態の時に到来した空選択送信要求に対して
は送信許可を与えず話中選択送信要求に対しては
送信許可を与えるよう当該バスインターフエイス
部を制御するとともに前記受信バツフアメモリ部
を制御する受信制御部と;送信すべき情報を蓄積
する送信バツフアメモリ部と;前記プロセツサか
らの指令により送信要求の空又は話中の選択と、
バスインターフエイス部に対する送信用転送バス
の選択制御と、前記送信バツフアメモリ部に対す
る制御を行う送信制御部と; を有することを特
徴とするプロセツサユニツト。1 a processor; a plurality of bus interface units provided corresponding to each system of a plurality of connected inter-processor data transfer buses; information received via each of the transfer buses is stored for each transfer bus; a receiving buffer memory unit provided for each transfer bus, and set to a device empty state when information for task execution is not received via the transfer bus according to a command from the processor;
After receiving the above information, the device is set to busy state,
According to the set device state, the corresponding bus interface section grants transmission permission to an empty selection transmission request that arrives when the device is in an idle state, and grants transmission permission to an empty selection transmission request that arrives when the equipment is busy. a reception control unit that controls the bus interface unit so as to grant transmission permission to the busy selection transmission request but not to the busy selection transmission request; and a reception control unit that controls the reception buffer memory unit; and a reception control unit that stores information to be transmitted. a transmission buffer memory unit for selecting an empty or busy transmission request according to a command from the processor;
A processor unit comprising: a transmission control section that controls selection of a transmission transfer bus for a bus interface section; and a transmission control section that controls the transmission buffer memory section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21162585A JPS6272053A (en) | 1985-09-25 | 1985-09-25 | Processor unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21162585A JPS6272053A (en) | 1985-09-25 | 1985-09-25 | Processor unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6272053A JPS6272053A (en) | 1987-04-02 |
| JPH054708B2 true JPH054708B2 (en) | 1993-01-20 |
Family
ID=16608867
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21162585A Granted JPS6272053A (en) | 1985-09-25 | 1985-09-25 | Processor unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6272053A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58158732A (en) * | 1982-03-16 | 1983-09-21 | Nippon Telegr & Teleph Corp <Ntt> | Communication system between processors |
| JPS58192159A (en) * | 1982-05-06 | 1983-11-09 | Nippon Telegr & Teleph Corp <Ntt> | Communication system among processors |
-
1985
- 1985-09-25 JP JP21162585A patent/JPS6272053A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6272053A (en) | 1987-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5392446A (en) | Multiple cluster signal processor architecture | |
| US5410650A (en) | Message control system for data communication system | |
| JPH04312160A (en) | Multiprocessor system and its message transmission and reception controller | |
| JPH054708B2 (en) | ||
| JPS61255461A (en) | Multi cpu communicating device | |
| JP2666782B2 (en) | Multiple bus control system | |
| JPH06224975A (en) | Method for resetting modules connected with each other, and system using this method | |
| JP2705955B2 (en) | Parallel information processing device | |
| JPH01305461A (en) | Bus right control method | |
| JP2000244585A (en) | Bus interface circuit | |
| JP2504528B2 (en) | Bus control system between main memory controllers | |
| JP2737179B2 (en) | Bus system | |
| JPS6280753A (en) | Bus control method | |
| JPS62283752A (en) | Buffer allocating system in host computer | |
| JPH0215152Y2 (en) | ||
| JPS6143369A (en) | Multi-processor system | |
| JPH0234061B2 (en) | SHUKIOKUAKUSESUSEIGYOHOSHIKI | |
| JPH04127349A (en) | System communication control method | |
| JPH01142903A (en) | Data transmission system for multi-pc system | |
| KR19980056297A (en) | Non-sequential job control device and method in distributed processing system | |
| JPS6326758A (en) | Packet communication equipment by dynamic polling | |
| JPS58202643A (en) | Controlling system of communication bus route | |
| JPH0522938B2 (en) | ||
| JPH01147652A (en) | bus controller | |
| JPH0447433A (en) | Multi-processor control system |