JPS6133224B2 - - Google Patents

Info

Publication number
JPS6133224B2
JPS6133224B2 JP2353680A JP2353680A JPS6133224B2 JP S6133224 B2 JPS6133224 B2 JP S6133224B2 JP 2353680 A JP2353680 A JP 2353680A JP 2353680 A JP2353680 A JP 2353680A JP S6133224 B2 JPS6133224 B2 JP S6133224B2
Authority
JP
Japan
Prior art keywords
program
data
rank
rank value
processor
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
Application number
JP2353680A
Other languages
Japanese (ja)
Other versions
JPS56121167A (en
Inventor
Toshio Suzuki
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2353680A priority Critical patent/JPS56121167A/en
Publication of JPS56121167A publication Critical patent/JPS56121167A/en
Publication of JPS6133224B2 publication Critical patent/JPS6133224B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4818Priority circuits therefor

Description

【発明の詳細な説明】 本発明はマルチプロセツサ構成の電子計算機に
おける割込制御を行なうデータ処理に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to data processing that performs interrupt control in an electronic computer having a multiprocessor configuration.

従来、複数台のプロセツサを有するデータ処理
装置おいて、入出力割込みなどの割込み要求を低
順位プログラム実行中のプロセツサに伝送する方
式として、第1a図に示すように、割込制御装置
10により低順位プログラムを実行中のプロセツ
サ11を検出して割込み要求を伝送する方式を用
いている。
Conventionally, in a data processing device having a plurality of processors, as a method for transmitting an interrupt request such as an input/output interrupt to a processor executing a low-level program, an interrupt control device 10 transmits a low-level request as shown in FIG. 1a. A system is used in which a processor 11 running a priority program is detected and an interrupt request is transmitted.

この方式によると、N個のプロセツサ11〜1
Nの内で最も低順位のプログラムを実行している
プロセツサ11を検出するには順位比較のために
N(N−1)/2個の比較回路(図示せず)が必
要となり、各プロセツサ11〜1Nから割込み制
御装置10に実行中のプログラム順位を伝達する
ための専用信号線が必要となる。また、1つの比
較回路により順位を順次比較すれば検出に長時間
かかつてしまう。さらに、この方式を用いると、
割込み制御装置10が故障したときに装置全体が
動作不能となつてしまう。また、高信頼度を得る
ためには割込み制御装置10を2重化する必要も
ある。
According to this method, N processors 11 to 1
In order to detect the processor 11 that is executing the program with the lowest rank among the A dedicated signal line is required to transmit the order of the program being executed from ~1N to the interrupt control device 10. Furthermore, if the rankings are sequentially compared using one comparison circuit, it will take a long time for detection. Furthermore, using this method,
When the interrupt control device 10 fails, the entire device becomes inoperable. Further, in order to obtain high reliability, it is also necessary to duplicate the interrupt control device 10.

本発明の目的は上述の欠点を除去し独立した割
込み制御装置を用いることなく低順位のプログラ
ムを実行中のプロセツサに割込みを発生させるこ
とのできるデータ処理装置を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a data processing device that can generate an interrupt to a processor running a low-level program without using an independent interrupt control device.

本発明の装置は、プログラムの実行優先順位に
従いプログラムを実行し実行中のプログラム順位
よりも高順位の割込みを受け付ける複数のプログ
ラム制御装置を有するデータ処理装置において、 前記プログラム制御装置のそれぞれに、 実行中のプログラムの実行優先順位を表わすプ
ログラム順位値を保持する保持手段と、 前記実行優先順位に細分順位を付加するための
細分順位値を発生する発生手段と、 前記プログラム制御装置間で情報の送受を行う
ときに通信路を介して前記保持したプログラム順
位置と前記細分順位値とを送受した送信すべき順
位値を送受した順位値とを比較し前記順位値が最
低順位であることを検出する検出手段とを備えた
ことを特徴とする。
The apparatus of the present invention is a data processing apparatus having a plurality of program control apparatuses that execute programs according to program execution priorities and accept interrupts of a higher priority than the program execution order, in which each of the program control apparatuses executes a program. holding means for holding a program rank value representing the execution priority of a program therein; generating means for generating a subdivision rank value for adding a subdivision rank to the execution priority; and sending and receiving information between the program control device. When performing the above, the held program order position and the subdivision rank value are transmitted and received via a communication channel, and the rank value to be transmitted is compared with the transmitted and received rank value, and it is detected that the said rank value is the lowest rank. The present invention is characterized by comprising a detection means.

次に本発明について図面を参照して詳細に説明
する。
Next, the present invention will be explained in detail with reference to the drawings.

第1b図は本発明のデータ処理装置のブロツク
構成図を示す。割込み要求は各プロセツサ11〜
1Nに直接供給される。
FIG. 1b shows a block diagram of the data processing apparatus of the present invention. Interrupt requests are sent to each processor 11~
1N directly.

第2a図から第2c図は優先順位の表現方法を
示す図である。以下は、優先順位は2進数値で表
わし、数値“0”を上限の順位とし数値が大きく
なるに従い低い順位を表わしている。数値を表わ
すデータは複数ビツトで構成される。第2a図は
プログラムの実行優先順位を表わすプログラム順
位データを示す。第1b図に示す各プロセツサ1
1〜1Nはこのプログラム順位データを保持して
おりプロセツサ11〜1N間でこのデータを比較
し合えば最も大きい値を持つプロセツサ11、す
なわち最も低順位のプログラムを実行しているプ
ロセツサ11を選出できる。しかしながら、2台
以上のプロセツサが同一順位のプログラムを実行
していた場合では1台のみのプロセツサを選出す
ることができない。そこで1台のプロセツサを選
出するために第2c図に示すようにプログラム順
位データに細分順位データを付加したデータを用
いる。第2c図に示す順位データではプログラム
順位データの最下位ビツトよりも下位のビツト位
置に細分順位データを配置してあり、同一プログ
ラム順位をさらに細分することができる。第1b
図の各プロセツサにそれぞれ個有の細分データを
割当てておけば、常に一台のプロセツサを選出す
ることができる。
FIGS. 2a to 2c are diagrams showing a method of expressing priorities. In the following, the priority order is expressed as a binary value, with the number "0" being the upper limit, and the larger the number, the lower the order. Data representing a numerical value is composed of multiple bits. FIG. 2a shows program order data representing the execution priority of programs. Each processor 1 shown in FIG.
1 to 1N hold this program ranking data, and by comparing this data among the processors 11 to 1N, the processor 11 having the largest value, that is, the processor 11 that is executing the lowest ranking program, can be selected. . However, if two or more processors are executing programs of the same rank, only one processor cannot be selected. Therefore, in order to select one processor, data obtained by adding subdivision ranking data to program ranking data is used as shown in FIG. 2c. In the ranking data shown in FIG. 2c, subdivision ranking data is arranged at bit positions lower than the least significant bit of the program ranking data, so that the same program ranking can be further subdivided. 1st b
By assigning unique subdivision data to each processor in the diagram, one processor can always be selected.

第3図は第1b図の各プロセツサの詳細な構成
を示す。第3図において、参照数字1はレジスタ
でありプログラム順位データを保持する。参照数
字2は細分順位データを発生する回路であり、こ
のようなデータを発生させる簡便な方法としては
スイツチを用いた回路がある。レジスタ1と回路
2とからのデータは第2c図に示す配置となるよ
うにしてプロセツサ選択回路3に供給される。通
信路101は全プロセツサにおける該回路3を接
続する手段であり、双方向性の通信路101であ
る。一台のプロセツサのプロセツサ選択回路3か
ら送出されたデータは通信路101を介して他の
プロセツサ全てに伝送される。前記プロセツサ選
択回路3はレジスタ1および発生回路2から供給
される第2c図に示すデータを通信路101を介
して他プロセツサに送信し、他プロセツサからの
データを受信して、送信すべきデータと受信デー
タとを比較することで自プロセツサが他プロセツ
サよりも低順位にあることを検出する回路であ
る。
FIG. 3 shows the detailed configuration of each processor shown in FIG. 1b. In FIG. 3, reference numeral 1 is a register that holds program order data. Reference numeral 2 is a circuit for generating subdivision rank data, and a simple method for generating such data is a circuit using a switch. Data from register 1 and circuit 2 is supplied to processor selection circuit 3 in the arrangement shown in FIG. 2c. The communication path 101 is a means for connecting the circuits 3 in all processors, and is a bidirectional communication path 101. Data sent from the processor selection circuit 3 of one processor is transmitted to all other processors via the communication path 101. The processor selection circuit 3 transmits the data shown in FIG. 2c supplied from the register 1 and the generation circuit 2 to other processors via the communication path 101, receives data from other processors, and selects the data to be transmitted. This circuit detects that its own processor is in a lower rank than other processors by comparing the received data with the received data.

第4図は前記プロセツサ選択回路3の詳細な構
成を示す図である。第4図において、信号線30
1,302および303は第3図における通信路
101を接続される線で信号線311,312お
よび313は第3図のレジスタ1と発生回路2と
から供給されるデータを伝送する線である。アン
ド回路40の出力は第3図の信号線102と接続
される。駆動回路33,34および35はそれぞ
れアンド回路30,31および32の出力を反転
させて送出する回路で、駆動回路33が送出デー
タの最上位ビツトに対応し駆動回路35が最下位
ビツトに対応する。もし送出すべきデータの最上
位ビツトが論理“1”であるならば駆動回路33
は負論理値の論理値“0”を送出し、オア回路3
6の出力は論理“1”となつて下位ビツトのデー
タ送出を可能とする。もし送出すべきデータの最
上位ビツトが論理“0”であるならば駆動回路3
3は負論理値の論理“1”を送出するが、このと
き、他プロセツサの駆動回路33が負論理値の論
理“0”を送出しておれば信号線301上のデー
タは負論理値の論理“0”となりオア回路36の
出力が論理“0”となつて下位ビツトのデータの
送出が禁止される。このような動作を各々のデー
タビツトについて行うことで、全プロセツサの送
出すべきデータのうち最大値のデータが信号線3
01,302および303に送出される。このと
き最大値のデータを送出しているプロセツサのみ
のオア回路36,37および38の出力が全て論
理“1”となり、アンド回路40の出力が論理
“1”となる。アンド回路40の出力が論理
“1”となるのはたゞ一台のプロセツサにおいて
のみであり、アンド回路40の出力が論理“1”
であることは前記プロセツサの選出がなされたこ
とを意味するので当該プロセツサは割込要求に対
して応答を行う。すなわち、アンド回路40の出
力が論理“1”となつたとき、第3図の信号線1
02の信号によりアンド回路6は比較回路5の出
力を信号線103に送出する。比較回路5はレジ
スタ1から供給されるデータ、すなわち、プログ
ラム順位データと通信路104を介して与えられ
た割込み順位データとを比較し、割込順位データ
がプログラム順位データ小さいとき、すなわち、
割込順位がプログラム順位よりも高順位であると
き出力“1”をアンド回路6に送出する。アンド
回路6の出力は割込み動作の開始を示すものであ
る。なお、第4図においては、順位データが3ビ
ツトで構成される例を示しているが、ビツト数の
増加は容易に行える。
FIG. 4 is a diagram showing a detailed configuration of the processor selection circuit 3. In FIG. 4, the signal line 30
Lines 1, 302 and 303 are connected to the communication path 101 in FIG. 3, and signal lines 311, 312 and 313 are lines for transmitting data supplied from the register 1 and generation circuit 2 in FIG. The output of the AND circuit 40 is connected to the signal line 102 in FIG. Drive circuits 33, 34, and 35 are circuits that invert the outputs of AND circuits 30, 31, and 32, respectively, and send them out. Drive circuit 33 corresponds to the most significant bit of the sending data, and drive circuit 35 corresponds to the least significant bit. . If the most significant bit of the data to be sent is logic “1”, the drive circuit 33
sends out the logical value “0” of negative logical value, and the OR circuit 3
The output of 6 becomes logic "1" and enables data transmission of the lower bit. If the most significant bit of the data to be sent is logic “0”, the drive circuit 3
3 sends out a logic "1" with a negative logic value, but at this time, if the drive circuit 33 of the other processor sends out a logic "0" with a negative logic value, the data on the signal line 301 will be a negative logic value. The logic becomes "0" and the output of the OR circuit 36 becomes logic "0", inhibiting the transmission of lower bit data. By performing this operation for each data bit, the data with the maximum value among the data to be sent from all processors is transferred to the signal line 3.
01, 302 and 303. At this time, the outputs of the OR circuits 36, 37, and 38 of only the processor that is sending out the data of the maximum value all become logic "1", and the output of the AND circuit 40 becomes logic "1". The output of the AND circuit 40 becomes logic "1" only in one processor, and the output of the AND circuit 40 becomes logic "1".
Since this means that the processor has been selected, the processor responds to the interrupt request. That is, when the output of the AND circuit 40 becomes logic "1", the signal line 1 in FIG.
In response to the signal 02, the AND circuit 6 sends the output of the comparison circuit 5 to the signal line 103. The comparison circuit 5 compares the data supplied from the register 1, that is, the program order data, and the interrupt order data given via the communication path 104, and when the interrupt order data is smaller than the program order data, that is,
When the interrupt priority is higher than the program priority, an output "1" is sent to the AND circuit 6. The output of the AND circuit 6 indicates the start of an interrupt operation. Although FIG. 4 shows an example in which the rank data consists of 3 bits, the number of bits can be easily increased.

本発明には、プログラム順位と細分順位とを組
合せた順位をプロセツサ相互間で比較することに
より専用の割込み制御装置を用いるとなく低順位
のプログラムを実行中のたゞ一つのプロセツサが
割込み要求に応答できるという効果がある。
In the present invention, a single processor executing a low-rank program can respond to an interrupt request without using a dedicated interrupt control device by comparing the combination of program ranking and subdivision ranking between processors. It has the effect of being able to respond.

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

第1a図は専用の割込み制御装置を用いた従来
のデータ処理装置を示す図、第1b図は本発明の
データ処理装置を示す図、第2a図から第2c図
は優先順位の決定方法を示す図、第3図および第
4図は本発明の一実施例を示す図である。 第3図および第4図において、1……レジス
タ、2……細分順位データ発生回路、3……プロ
セツサ選択回路、5……比較器、6,30,3
1,32,40……アンド回路、33,34およ
び35……駆動回路、36,37および38……
オア回路。
Fig. 1a shows a conventional data processing device using a dedicated interrupt control device, Fig. 1b shows a data processing device of the present invention, and Figs. 2a to 2c show a method for determining priorities. FIG. 3, and FIG. 4 are diagrams showing an embodiment of the present invention. 3 and 4, 1...Register, 2...Subdivision rank data generation circuit, 3...Processor selection circuit, 5...Comparator, 6, 30, 3
1, 32, 40... AND circuit, 33, 34 and 35... Drive circuit, 36, 37 and 38...
OR circuit.

Claims (1)

【特許請求の範囲】 1 プログラムの実行優先順位に従いプログラム
を実行し実行中のプログラム順位よりも高順位の
割込みを受け付ける複数のプログラム制御装置を
有するデータ処理装置において、 前記プログラム制御装置のそれぞれに、 実行中のプログラムの実行優先順位を表わすプ
ログラム順位値を保持する保持手段と、 前記実行優先順位に細分順位を付加するための
細分順位値を発生する発生手段と、 前記プログラム制御装置間で情報の送受を行う
ときに通信路を介して前記保持したプログラム順
位値と前記細分順位値とを送受し送信すべき順位
値と受信した順位値とを比較し前記順位値が最低
順位であることを検出する検出手段とを備えたこ
とを特徴とするデータ処理装置。
[Scope of Claims] 1. A data processing device having a plurality of program control devices that execute programs according to program execution priorities and accept interrupts of a higher priority than the program being executed, each of the program control devices including: holding means for holding a program rank value representing the execution priority of the program being executed; generating means for generating a subdivision rank value for adding a subdivision rank to the execution priority; and information exchange between the program control devices. When transmitting and receiving, the held program rank value and the subdivision rank value are transmitted and received via a communication path, and the rank value to be transmitted is compared with the received rank value, and it is detected that the rank value is the lowest rank. What is claimed is: 1. A data processing device comprising a detection means for detecting.
JP2353680A 1980-02-27 1980-02-27 Data processing equipment Granted JPS56121167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2353680A JPS56121167A (en) 1980-02-27 1980-02-27 Data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2353680A JPS56121167A (en) 1980-02-27 1980-02-27 Data processing equipment

Publications (2)

Publication Number Publication Date
JPS56121167A JPS56121167A (en) 1981-09-22
JPS6133224B2 true JPS6133224B2 (en) 1986-08-01

Family

ID=12113176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2353680A Granted JPS56121167A (en) 1980-02-27 1980-02-27 Data processing equipment

Country Status (1)

Country Link
JP (1) JPS56121167A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63119082A (en) * 1986-11-07 1988-05-23 Michihiko Saeki Recording card medium
JPH0194547A (en) * 1987-10-01 1989-04-13 Polaroid Corp Optical infomation stofing card

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59177656A (en) * 1983-03-29 1984-10-08 Nec Corp Program switching controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63119082A (en) * 1986-11-07 1988-05-23 Michihiko Saeki Recording card medium
JPH0194547A (en) * 1987-10-01 1989-04-13 Polaroid Corp Optical infomation stofing card

Also Published As

Publication number Publication date
JPS56121167A (en) 1981-09-22

Similar Documents

Publication Publication Date Title
CA1179069A (en) Data transmission apparatus for a multiprocessor system
US3886524A (en) Asynchronous communication bus
US4149238A (en) Computer interface
US4001784A (en) Data processing system having a plurality of input/output channels and physical resources dedicated to distinct and interruptible service levels
US5404535A (en) Apparatus and method for providing more effective reiterations of processing task requests in a multiprocessor system
JPH04318654A (en) Redirection system for interruption to microprocessor
KR900018794A (en) Data Processing System and Its Processing Method
US4218739A (en) Data processing interrupt apparatus having selective suppression control
SE447171B (en) DATA PROCESSING SYSTEM
US3848233A (en) Method and apparatus for interfacing with a central processing unit
US4144565A (en) Input/output interface connector circuit for repowering and isolation
US3419852A (en) Input/output control system for electronic computers
ES479374A1 (en) Circuits and methods for multiple control in data processing systems
US5134706A (en) Bus interface interrupt apparatus
KR920008448B1 (en) Data process
US4237533A (en) Preventing initial program load failures
JPS6133224B2 (en)
GB1595471A (en) Computer system
US3719930A (en) One-bit data transmission system
JPH0731666B2 (en) Inter-processor communication method
SU1176340A1 (en) Information input-outrut device
JPS6360939B2 (en)
JP3505540B2 (en) Data transfer device
JPS5850410Y2 (en) Interrupt priority controller
JPH10171770A (en) Multiprocessor system