JPS61246860A - Interruption control system - Google Patents

Interruption control system

Info

Publication number
JPS61246860A
JPS61246860A JP8772485A JP8772485A JPS61246860A JP S61246860 A JPS61246860 A JP S61246860A JP 8772485 A JP8772485 A JP 8772485A JP 8772485 A JP8772485 A JP 8772485A JP S61246860 A JPS61246860 A JP S61246860A
Authority
JP
Japan
Prior art keywords
interrupt
interruption
request signal
peripheral device
device number
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
JP8772485A
Other languages
Japanese (ja)
Inventor
Naohisa Kiyono
清野 直久
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP8772485A priority Critical patent/JPS61246860A/en
Priority to GB08614115A priority patent/GB2176571B/en
Publication of JPS61246860A publication Critical patent/JPS61246860A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the time when interruption is accepted by identifying the peripheral device which requests the interruption when an interruption control means receives a microinterruption request signal and reporting the effect to a processor. CONSTITUTION:An interruption controller 7 is provided which transmits cyclically a device number put previously to the peripheral device 2 to other peripheral devices 2 at every certain period. Each peripheral device 2 collates an interruption permitting device number Ne transmitted from the interruption controller 7 with the device number Ns given to itself. When they are equal, the interruption request signal Q is transmitted to the interruption controller 7 if necessary. Receiving the interruption request signal Q from the peripheral device 2, the interruption controller 7 fixed the device number transmitted to each peripheral device 2 to the device number of the peripheral device 2 transmitting the interruption request signal Q, and simultaneously transmits the device number Ns of the peripheral device transmitting the interruption request signal Q and the interruption request signal Q to the microprocessor 1. Thus the time necessary for accepting the interruption can be shortened, and a load caused by the interruption processing of the processor can be reduced.

Description

【発明の詳細な説明】 〔概要〕 複数の周辺装置を制御する処理装置において、各周辺装
置に付与した装置番号を周期的に周辺装置に伝達し、各
周辺装置は自装置番号を受信した時間領域に割込要求信
号を送出することにより、処理装置は割込要求元の周辺
装置を直ちに識別可能となり、割込処理負荷が軽減され
るものである。
[Detailed Description of the Invention] [Summary] In a processing device that controls a plurality of peripheral devices, a device number assigned to each peripheral device is periodically transmitted to the peripheral devices, and each peripheral device receives the time when it receives its own device number. By sending an interrupt request signal to the area, the processing device can immediately identify the peripheral device that is the source of the interrupt request, thereby reducing the interrupt processing load.

〔産業上の利用分野〕[Industrial application field]

本発明は処理装置および複数の周辺装置から構成される
情報処理装置における割込制御方式の改良に関する。
The present invention relates to an improvement in an interrupt control method in an information processing device including a processing device and a plurality of peripheral devices.

複数の周辺装置を制御する処理装置に対し、周辺装置側
から例えば動作の終了等を通知する手段として、公知の
割込機能が使用される。周辺装置にとっては割込みが処
理装置に受付けられる迄の時間が極力短縮され、また処
理装置にとってはかかる割込処理による負荷が極力削減
されることが望まれる。
A known interrupt function is used as a means for notifying a processing device that controls a plurality of peripheral devices of, for example, the end of an operation from the peripheral device side. For peripheral devices, it is desired that the time required for an interrupt to be accepted by a processing device be as short as possible, and for the processing device, it is desirable that the load due to such interrupt processing be reduced as much as possible.

〔従来の技術〕[Conventional technology]

第3図は従来ある割込制御方式の一例を示す図である。 FIG. 3 is a diagram showing an example of a conventional interrupt control method.

第3図において、マイクロプロセッサ1に制御される複
数の周辺装置2の内、マイクロプロセッサlに割込みを
要求する周辺装置2は、割込要求信号Qを信号線3に送
出する。マイクロプロセッサlは、信号線3を経由して
周辺装置2から伝達される割込要求信号Qを受信すると
、実行中の処理を中断した後、各周辺装置12に至る信
号線4に順次割込間合信号Eを送出する。割込間合信号
Eを伝達された各周辺装置2は、自装置が割込要求信号
Qを送出してる場合には、信号wA3に送出中の割込要
求信号Qを停止させると共に、信号線5に自装置に付与
された装置番号Nを送出する。マイクロプロセッサ1は
、信号線5から装置番号Nが返送される迄、各周辺装置
!2に至る信号vA4に順次割込間合信号Eを送出し、
信号線5から装置番号Nが返送されることにより割込要
求元の周辺装置2を識別し、信号f%16を経由して当
該周辺装置2との間で所要の情報を送受信する。
In FIG. 3, among the plurality of peripheral devices 2 controlled by the microprocessor 1, the peripheral device 2 that requests an interrupt from the microprocessor 1 sends an interrupt request signal Q to the signal line 3. When the microprocessor l receives the interrupt request signal Q transmitted from the peripheral device 2 via the signal line 3, it interrupts the process being executed and then sequentially sends an interrupt to the signal line 4 leading to each peripheral device 12. A timing signal E is sent. Each peripheral device 2 to which the interrupt interval signal E has been transmitted stops the interrupt request signal Q that is currently being sent to the signal wA3, and also switches the signal line 5, the device number N assigned to the own device is sent. The microprocessor 1 is connected to each peripheral device until the device number N is returned from the signal line 5! Sequentially sends the interrupt interval signal E to the signal vA4 leading to 2,
By returning the device number N from the signal line 5, the peripheral device 2 that is the source of the interrupt request is identified, and necessary information is transmitted and received to and from the peripheral device 2 via the signal f%16.

〔発明が解決しようとする問題点3 以上の説明から明らかな如く、従来ある割込制御方式に
おいては、割込要求信号Qを受信したマイクロプロセッ
サ1が各周辺装置2に対し順次割込間合信号Eを伝達し
、割込要求の有無を検索していた。従って割込みを受付
ける迄に多くの時間を要し、またマイクロプロセッサ1
の処理能力を圧迫する恐れがあった。
[Problem 3 to be Solved by the Invention] As is clear from the above explanation, in a conventional interrupt control system, the microprocessor 1, which has received the interrupt request signal Q, sequentially issues an interrupt interval to each peripheral device 2. The signal E was transmitted and the presence or absence of an interrupt request was searched. Therefore, it takes a lot of time to accept an interrupt, and the microprocessor 1
There was a risk that the processing capacity would be overwhelmed.

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

本発明は下記の手段を講することにより、前記問題点を
解決する。
The present invention solves the above problems by taking the following measures.

第1図は本発明の原理を示す図である。FIG. 1 is a diagram showing the principle of the present invention.

第1図において、各周辺装置2に予め付与した装置番号
を一定周期で循環的に各周辺装置2に伝達する割込制御
装置7を設ける。
In FIG. 1, an interrupt control device 7 is provided which cyclically transmits a device number assigned to each peripheral device 2 in advance to each peripheral device 2 at a constant period.

各周辺装置2は、前記割込制御装置7から自装置に付与
された装置番号が伝達された時間領域に割込要求信号Q
を割込制御装置7に伝達する。
Each peripheral device 2 receives an interrupt request signal Q in the time domain to which the device number assigned to the device itself is transmitted from the interrupt control device 7.
is transmitted to the interrupt control device 7.

周辺装置2からの割込要求信号Qを受信した割込制御装
置7は、各周辺装置2に伝達する装置番号を割込要求信
号Qを送出した周辺装置2の装置番号に固定すると共に
、処理装置1に割込要求信号Qおよび割込要求信号を送
出した周辺装置の装置番号Nを伝達する。
The interrupt control device 7 that has received the interrupt request signal Q from the peripheral device 2 fixes the device number to be transmitted to each peripheral device 2 to the device number of the peripheral device 2 that sent the interrupt request signal Q, and also performs processing. The interrupt request signal Q and the device number N of the peripheral device that sent the interrupt request signal are transmitted to the device 1.

〔作用〕[Effect]

即ち本発明によれば、割込制御手段は割込要求信号を受
信した時点で直ちに割込要求元の周辺装置を識別し、割
込要求の発生と識別した要求元の周辺装置を処理装置に
通知する。
That is, according to the present invention, upon receiving an interrupt request signal, the interrupt control means immediately identifies the interrupt requesting peripheral device, and directs the requesting peripheral device, which has been identified as having generated an interrupt request, to the processing device. Notice.

その結果割込みを受付ける迄の時間が大幅に短縮され、
また処理装置の割込処理に伴う負荷は大幅に削減される
As a result, the time it takes to accept an interrupt is significantly shortened.
Furthermore, the load associated with interrupt processing on the processing device is significantly reduced.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による割込制御方式を示す図
である。なお、企図を通じて同一符号は同一対象物を示
す。
FIG. 2 is a diagram showing an interrupt control method according to an embodiment of the present invention. Note that the same reference numerals refer to the same objects throughout the plan.

第′2図においては、マイクロプロセッサ1と各周辺装
置2との間に、割込制御装置7が設けられている。
In FIG. 2, an interrupt control device 7 is provided between the microprocessor 1 and each peripheral device 2. In FIG.

第2図において、各周辺装置2はそれぞれ固有の装置番
号Nsを付与されている。
In FIG. 2, each peripheral device 2 is assigned a unique device number Ns.

割込制御装置7内の制御部71は、選択部72を計数部
73を選択する如く設定した後、計数部73を起動する
。計数部73は一定周期で歩進し、計数値を割込許可装
置番号Neとして、選択部72を介じて信号線8に送出
する。割込許可装置番号Neは信号vA8を経由して各
周辺装置2に伝達される。
The control unit 71 in the interrupt control device 7 sets the selection unit 72 to select the counting unit 73, and then starts the counting unit 73. The counting section 73 advances at a constant cycle and sends the counted value to the signal line 8 via the selection section 72 as the interrupt permission device number Ne. The interrupt permission device number Ne is transmitted to each peripheral device 2 via the signal vA8.

各周辺装置2は、信号&18を経由して割込制御装置7
から伝達される割込許可装置番号Noを自装置番号Ns
と照合し、一致した場合には必要に応じて割込要求信号
Qを信号線3に送出する。該割込要求信号Qは、信号線
3を経由して割込制御装置7に伝達される。
Each peripheral device 2 is connected to the interrupt controller 7 via the signal &18.
The interrupt permission device number No. transmitted from Ns is the own device number Ns.
If they match, an interrupt request signal Q is sent to the signal line 3 as necessary. The interrupt request signal Q is transmitted to the interrupt control device 7 via the signal line 3.

割込制御装置7においては、信号線3から割込要求信号
Qが伝達されると、レジスタ74の割込許可装置番号N
eにより指定されるアドレスに蓄積される。
In the interrupt control device 7, when the interrupt request signal Q is transmitted from the signal line 3, the interrupt permission device number N of the register 74 is set.
It is stored at the address specified by e.

更に制御部71は、計数部75を一定周期で歩進させ、
計数値を割込受付装置番号Naとしてしジスタフ4に伝
達し、割込受付装置番号Naにより指定されるアドレス
に蓄積されている割込要求信号Qを走査する。
Furthermore, the control unit 71 causes the counting unit 75 to step at a constant cycle,
The count value is set as the interrupt acceptance device number Na and transmitted to the register 4, and the interrupt request signal Q stored at the address specified by the interrupt acceptance device number Na is scanned.

割込受付装置番号Naが指定したアドレスから割込要求
信号Qが抽出されると、制御部71は計数部75の歩道
を停止させ、抽出した割込要求信号Qと、計数部75か
ら得られる割込受付装置番号Naとをマイクロプロセッ
サ1に伝達すると共に、選択部72を計数部75を選択
する如く設定し、計数部75の送出する割込受付装置番
号Naを選択部72および信号線8に送出させ、更に割
込受付信号Aを信号線9に送出する。
When the interrupt request signal Q is extracted from the address specified by the interrupt reception device number Na, the control section 71 stops the counter section 75 from walking, and the extracted interrupt request signal Q and the counter section 75 output the interrupt request signal Q. The interrupt accepting device number Na is transmitted to the microprocessor 1, the selecting section 72 is set to select the counting section 75, and the interrupt accepting device number Na sent by the counting section 75 is transmitted to the selecting section 72 and the signal line 8. Further, an interrupt acceptance signal A is sent to the signal line 9.

各周辺装置f2は、信号線8を経由して伝達される割込
受付装置番号Naを自装置番号Nsと照合し、且つ信号
線9を経由して伝達される割込受付信号Aを受信するこ
とにより、割込受付装置番号Naと一致した自装置番号
N3を有する周辺装置2が要求した割込みが受付けられ
たことを確認する。
Each peripheral device f2 checks the interrupt acceptance device number Na transmitted via the signal line 8 with its own device number Ns, and receives the interrupt acceptance signal A transmitted via the signal line 9. This confirms that the interrupt requested by the peripheral device 2 whose own device number N3 matches the interrupt accepting device number Na has been accepted.

また割込要求信号Q#よび割込受付装置番号Naを伝達
されたマイクロプロセッサ1は、割込受付装置番号Na
により示される周辺装置2から割込要求が発生したこと
識別する。
Further, the microprocessor 1, which has received the interrupt request signal Q# and the interrupt acceptance device number Na, receives the interrupt acceptance device number Na.
It is identified that an interrupt request has been generated from the peripheral device 2 indicated by.

以後マイクロプロセッサ1と割込みを受付けられた周辺
装置2とは、信号線6を経由して所要の情報の送受信を
行う。
Thereafter, the microprocessor 1 and the peripheral device 2 that received the interrupt transmit and receive required information via the signal line 6.

以上の説明から明らかな如く、本実施例によれば、割込
制御装置7が各周辺装置2に割込要求信号Qを送出可能
な時間領域を配分しており、割込要求信号Qを受信する
と直ちに要求元の周辺装置2を識別可能となり、割込要
求の発生と要求元の周辺−置2をマイクロプロセッサ1
に通知する。
As is clear from the above description, according to this embodiment, the interrupt control device 7 allocates a time domain in which the interrupt request signal Q can be sent to each peripheral device 2, and receives the interrupt request signal Q. Then, the requesting peripheral device 2 can be immediately identified, and the occurrence of the interrupt request and the requesting peripheral device 2 can be identified by the microprocessor 1.
to notify.

従って割込みの受付に要する時間も短縮され、またマイ
クロプロセッサ1の割込処理に要する負荷が大幅に削減
される。
Therefore, the time required to accept an interrupt is shortened, and the load required for interrupt processing on the microprocessor 1 is significantly reduced.

なお、第2図ばあ(迄本発明の一実施例に過ぎず、例え
ば割込制御手段の構成は図示される割込制御装置7に限
定されることは無く、計数部73および75を共用させ
る等信に幾多の変形が考慮されるが、何れの場合にも本
発明の効果は変わらない。
Note that FIG. 2 shows only one embodiment of the present invention, and for example, the configuration of the interrupt control means is not limited to the illustrated interrupt control device 7, and the counters 73 and 75 are shared. Although many modifications may be considered to the effect of the present invention, the effects of the present invention remain the same in any case.

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

以上、本発明によれば、前記システムにおいて、割込み
を受付ける迄の時間が大幅に短縮され、また処理装置の
割込処理に伴う負荷は大幅に削減される。
As described above, according to the present invention, in the system, the time required to accept an interrupt is significantly shortened, and the load associated with interrupt processing on the processing device is also significantly reduced.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による割込制御方式を示す図、第3図は従来ある割
込制御方式の一例を示す図である。 図において、1はマイクロプロセッサ、2は周辺装置、
3.4.5.6.8および9は信号線、7は割込制御装
置、71は制御部、72は選択部、73および75は計
数部、74はレジスタ、Aは割込受付信号、Eは割込間
合信号、Nは装置番号、Naは割込受付装置番号、Ne
は割込許可装置番号、Qは割込要求信号、を示す。 ヰ確団月。沈埋ブ0・72胆 率 1 圃
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing an interrupt control method according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of a conventional interrupt control method. In the figure, 1 is a microprocessor, 2 is a peripheral device,
3.4.5.6.8 and 9 are signal lines, 7 is an interrupt control device, 71 is a control section, 72 is a selection section, 73 and 75 are counter sections, 74 is a register, A is an interrupt acceptance signal, E is the interrupt interval signal, N is the device number, Na is the interrupt acceptance device number, Ne
indicates the interrupt permission device number, and Q indicates the interrupt request signal. A solid month. Submerged bush 0.72 bile rate 1 field

Claims (1)

【特許請求の範囲】[Claims] 複数の周辺装置(2)から処理装置(1)に対する割込
機能を具備するシステムにおいて、前記各周辺装置(2
)に予め付与した装置番号を一定周期で循環的に前記各
周辺装置(2)に伝達する割込制御手段(7)を設け、
前記各周辺装置(2)は前記割込制御手段(7)から自
装置に付与された前記装置番号が伝達された時間領域に
割込要求信号(Q)を前記割込制御手段(7)に伝達可
能とし、該割込要求信号(Q)を受信した前記割込制御
手段(7)は前記各周辺装置(2)に伝達する装置番号
を割込要求信号(Q)を送出した周辺装置の装置番号に
固定すると共に、前記処理装置(1)に割込要求信号(
Q)および前記割込要求信号を送出した周辺装置の装置
番号(N)を伝達することを特徴とする割込制御方式。
In a system having an interrupt function from a plurality of peripheral devices (2) to a processing device (1), each of the peripheral devices (2)
) is provided with an interrupt control means (7) for cyclically transmitting a device number assigned in advance to each of the peripheral devices (2) at a constant cycle,
Each of the peripheral devices (2) sends an interrupt request signal (Q) to the interrupt control means (7) in the time domain in which the device number assigned to the device itself is transmitted from the interrupt control means (7). The interrupt control means (7), which has received the interrupt request signal (Q), transmits the device number to be transmitted to each peripheral device (2) by transmitting the device number of the peripheral device that sent the interrupt request signal (Q). In addition to fixing the device number, an interrupt request signal (
Q) and a device number (N) of the peripheral device that sent the interrupt request signal.
JP8772485A 1985-04-24 1985-04-24 Interruption control system Pending JPS61246860A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP8772485A JPS61246860A (en) 1985-04-24 1985-04-24 Interruption control system
GB08614115A GB2176571B (en) 1985-04-24 1986-06-10 Shock absorber mount assembly for motor vehicle suspension

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8772485A JPS61246860A (en) 1985-04-24 1985-04-24 Interruption control system

Publications (1)

Publication Number Publication Date
JPS61246860A true JPS61246860A (en) 1986-11-04

Family

ID=13922856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8772485A Pending JPS61246860A (en) 1985-04-24 1985-04-24 Interruption control system

Country Status (1)

Country Link
JP (1) JPS61246860A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01145751A (en) * 1987-12-01 1989-06-07 Pfu Ltd Input/output control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01145751A (en) * 1987-12-01 1989-06-07 Pfu Ltd Input/output control system

Similar Documents

Publication Publication Date Title
JPS61246860A (en) Interruption control system
EP0355856A1 (en) Daisy chain interrupt processing system
JPS6217779B2 (en)
EP0251234B1 (en) Multiprocessor interrupt level change synchronization apparatus
KR100199021B1 (en) A multi-interrupt control device and method by interrupt order on pci bus
JP2783192B2 (en) Barrier synchronizer
JPS5818727A (en) Method and apparatus for self-control of dispersion type priority competition
JPS62145411A (en) System reset control system
JPH02230356A (en) Bus extension device for information processor
JPS6213706B2 (en)
JPS6277666A (en) Buffer circuit
SU1278813A1 (en) Multichannel system for programmed control of objects
JPH0120819B2 (en)
JPS63282848A (en) Interruption signal communication system
KR900000606B1 (en) Circuit for deciding priority using round-robin method
SU1277108A1 (en) Device for distributing jobs among computers
JPS62171064A (en) Buffer circuit
JPS6072353A (en) Communication control system
JPH03156556A (en) Intra-system serial interface system
JPS607307B2 (en) Bus control method
JPH03141455A (en) Data transfer system
JPS61150062A (en) Interruption control circuit
JPH01243158A (en) Information processor
JPS628254A (en) Signal receiving and distributing circuit
JPH04184297A (en) Time synchronization method of information processing system