JPS6118292A - Interruption control system of electronic exchange - Google Patents

Interruption control system of electronic exchange

Info

Publication number
JPS6118292A
JPS6118292A JP13935884A JP13935884A JPS6118292A JP S6118292 A JPS6118292 A JP S6118292A JP 13935884 A JP13935884 A JP 13935884A JP 13935884 A JP13935884 A JP 13935884A JP S6118292 A JPS6118292 A JP S6118292A
Authority
JP
Japan
Prior art keywords
interrupt
interrupt request
interruption request
program
request
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
JP13935884A
Other languages
Japanese (ja)
Inventor
Hiroki Niwa
丹羽 宏樹
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP13935884A priority Critical patent/JPS6118292A/en
Publication of JPS6118292A publication Critical patent/JPS6118292A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • H04Q3/545Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

PURPOSE:To eptimize the effective use of a processing capability of a central controller by providing a means starting a means executing an interruption request so long as the interruption request exists in an interruption request selection means against the interruption request. CONSTITUTION:If state change is caused in at least one of terminal devices 51- 5N, state change detection sections 611-61N of a terminal controller 6 detect it, commands the generation of interruption request to interruption request generating sections 621-62N, which generate the interruption request and give an output to an interruption request selecting section 63. The selecting section 63 is constituted to select one interruption request with the highest priority among plural interruption requests when they are inputted at the same time. The interruption request selected by the selection section 63 is transmitted to the central controller 1 via an interruption request line l2. The controller 1 responds to the interruption request, interrupts temporarily a program processed at present and transfers the control to a state change processing program of the terminal device 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、蓄積プログラム制御方式の電子交換機の割込
制御方式に関する。特に、端末機器監視機能を有する中
央制御装置の割込制御方式に関す〔従来の技術〕 第2図は従来例の電子交換機の割込制御装置のブロック
構成図である。第2図において、1′は中央制御装置で
あり、2は中央制御袋W1の制御動作を決定するプログ
ラムが収納されているプログラム記憶メモリである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interrupt control system for an electronic exchange using a storage program control system. In particular, it relates to an interrupt control system for a central control unit having a terminal equipment monitoring function [Prior Art] FIG. 2 is a block diagram of a conventional interrupt control system for an electronic exchange. In FIG. 2, 1' is a central control unit, and 2 is a program storage memory in which a program for determining control operations of the central control bag W1 is stored.

また、3は一時記憶メモリであり、中央制御装置1′、
プログラム記憶メモリ2および一時記憶メモリ3間のデ
ータの授受が、データバスR,を介して行われる。4は
中央制御装置1に定期割込をかける定期割込発生装置で
あり、中央制御装置1′と端末制御装置6′との間の入
出力信号の授受が入出力バス12を介して行われる。5
I〜5Nは端末機器である。
Further, 3 is a temporary storage memory, and the central control unit 1',
Data is exchanged between the program storage memory 2 and the temporary storage memory 3 via a data bus R. Reference numeral 4 denotes a periodic interrupt generator that generates periodic interrupts to the central control device 1, and exchanges input/output signals between the central control device 1' and the terminal control device 6' via the input/output bus 12. . 5
I to 5N are terminal devices.

このような構成の割込制御装置では、呼処理プログラム
がプログラム記憶メモリ2に格納されており、中央制御
袋w1′は一時記憶メモリ3を参照して、この呼処理プ
ログラムに従って呼処理を実行する。定期割込発生装置
4からは定期的(例えば16ミリ秒毎)に定期割込要求
線7!4を介して、中央制御装置1′に割込要求が発せ
られる。中央制御装置1′は、この割込要求を検知する
と1、現在処理中のプログラムを一時中断して端末機器
51〜5Nの状態監視プログラムに制御を移行するよう
動作する。この状態監視プログラムでは、入出力バスl
、に制御されている全ての端末をスキャンして、状態変
化(例えば、発呼、復旧など)の有無を検出する。
In the interrupt control device having such a configuration, a call processing program is stored in the program storage memory 2, and the central control bag w1' refers to the temporary storage memory 3 and executes call processing according to this call processing program. . The periodic interrupt generator 4 issues an interrupt request to the central controller 1' periodically (for example, every 16 milliseconds) via the periodic interrupt request line 7!4. When the central control unit 1' detects this interrupt request, it operates to temporarily interrupt the program currently being processed and transfer control to the status monitoring program of the terminal devices 51 to 5N. In this status monitoring program, the input/output bus l
, to detect the presence or absence of a state change (for example, call origination, recovery, etc.) by scanning all terminals controlled by .

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

このような従来例方式では、収容する端末機器5の数に
比例して状態監視プログラムの処理時間が増大し、また
端末機器5に状態変化がない場合でも定期割込が発生し
て呼処理の中断がなされるから、中央制御装置1′の処
理能力を完全に活かし得ない欠点があった。
In such a conventional method, the processing time of the status monitoring program increases in proportion to the number of terminal devices 5 accommodated, and even when there is no change in the status of the terminal devices 5, periodic interruptions occur and call processing is interrupted. Because of the interruptions, there is a drawback that the processing capacity of the central control unit 1' cannot be fully utilized.

本発明は、このような欠点を除去するもので、状態監視
プログラムの処理時間が短く、また端末機器に状態変化
の有無に関係なく定期的に状態監視プログラムが実行さ
れるような無駄を省き、中央制御装置の処理能力を最大
限に有効利用することができる電子交換機の割込制御方
式を提供することを目的とする。
The present invention eliminates these drawbacks by shortening the processing time of the status monitoring program, and eliminating waste such as periodically executing the status monitoring program regardless of whether there is a change in the status of the terminal device. An object of the present invention is to provide an interrupt control method for an electronic exchange that can make the most effective use of the processing capacity of a central control unit.

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

本発明は、複数の端末機器と、定期的に割込要求を発生
する定期割込発生装置と、上記端末機器の状態監視プロ
グラムを収納するプログラム記憶メモリと、上記定期割
込発生装置の出力信号により処理中のプログラムを一時
中断して上記端末機器の状態監視プログラムを上記プロ
グラム記憶メモリから読出して実行する手段を含む中央
制御装置とを備えた蓄積プログラム制御方式の電子交換
機の割込制御方式において、上記複数の端末機器に対応
して接続され、それぞれの状態変化を独立に検出する複
数の検出手段を設け、この複数の検出手段に対応して接
続され、この複数の検出手段からの検出出力を入力し、
割込要求を発生する複数の割込要求発生手段と、この複
数の割込要求発生手段からの割込要求の中からあらかじ
め決められている優先度に従って最も優先度の高い割込
要求を選択して、上記中央制御装置へ伝達する割込要求
選択手段とを備え、上記中央制御装置は、上記定期割込
発生手段から、送出される割込要求に対して上記割込要
求選択手段に割込要求があるときに限り、この割込要求
について上記実行する手段を起動させる手段を備えたこ
とを特徴とする。
The present invention includes a plurality of terminal devices, a periodic interrupt generation device that periodically generates an interrupt request, a program storage memory that stores a status monitoring program for the terminal devices, and an output signal of the periodic interrupt generation device. In an interrupt control method for an electronic exchange using a stored program control method, the central control device includes means for temporarily interrupting a program being processed and reading out and executing a status monitoring program for the terminal device from the program storage memory. , a plurality of detection means are connected correspondingly to the plurality of terminal devices and detecting the status changes of each of them independently, and a plurality of detection means are connected correspondingly to the plurality of detection means, and detection outputs from the plurality of detection means are provided. Enter
A plurality of interrupt request generation means generate interrupt requests, and an interrupt request with the highest priority is selected from among the interrupt requests from the plurality of interrupt request generation means according to predetermined priorities. and interrupt request selection means for transmitting the interrupt request to the central control unit, wherein the central control unit transmits the interrupt request to the interrupt request selection unit in response to the interrupt request sent from the periodic interrupt generation unit. The present invention is characterized by comprising means for activating the means for executing the interrupt request only when there is a request.

〔作用〕[Effect]

本発明は、端末機器の状態変化を状態変化検出手段で検
出し、割込要求発生手段で割込要求を発生し、割込要求
選択手段であらかじめ決められた優先度に従って最も優
先度の高い割込要求を選択して中央制御装置に伝達する
ことにより、状態監視プログラムで全ての端末装置をス
キャンして状態変化の有無を検出することが無くなり、
また端末機器の状態変化が検出されないときには、定期
的な状態監視プログラムの実行が無くなり、中央制御装
置の処理能力を最大限に有効利用することができる。
The present invention detects a change in the state of a terminal device by a state change detection means, generates an interrupt request by an interrupt request generation means, and selects an interrupt with the highest priority according to a predetermined priority by an interrupt request selection means. By selecting and transmitting the request to the central controller, the status monitoring program does not have to scan all the terminal devices to detect the presence or absence of a status change.
Further, when no change in the status of the terminal device is detected, the regular status monitoring program is no longer executed, and the processing capacity of the central control unit can be utilized effectively to the maximum extent possible.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明する。第1
図は本発明一実施例電子交換機の割込制御装置のブロッ
ク構成図である。中央制御装置工はデータバスl、を介
して中央制御装置1の制御動作を決定するプログラムが
収納されているプログラム記憶メモリ2と一時記憶メモ
リ3とに接続されデータが授受される。定期割込発生装
置4からの定期的に割込要求が割込要求線β2を介して
中央゛制御装置1に接続される。
Embodiments of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of an interrupt control device for an electronic exchange according to an embodiment of the present invention. The central control device is connected via a data bus 1 to a program storage memory 2, which stores a program that determines the control operations of the central control device 1, and a temporary storage memory 3, and data is exchanged therewith. Interrupt requests from the periodic interrupt generator 4 are periodically connected to the central controller 1 via an interrupt request line β2.

ここで本発明の特徴とするところは、一点鎖線で囲む割
込要求選択部分である。すなわち、端末機器5.〜5N
の出力は端末制御装置6内の状態変化検出部6□〜61
Nにそれぞれ接続される。状態変化検出部6.1〜61
、の状態変化検出出力は割込要求発生部6□1〜6□8
にそれぞれ制御される。
Here, the feature of the present invention is the interrupt request selection portion surrounded by a dashed line. That is, terminal equipment 5. ~5N
The output is from the state change detection units 6□ to 61 in the terminal control device 6.
N respectively. State change detection units 6.1 to 61
The state change detection output of , is the interrupt request generation section 6□1 to 6□8.
are controlled respectively.

割込要求発生部621〜6tNの割込要求出力は割込要
求選択部63に接続され、割込要求選択部63から最も
優先度の高い割込要求が選択され、割込要求線a2を介
して中央制御装置1に接続される。
The interrupt request outputs of the interrupt request generation units 621 to 6tN are connected to the interrupt request selection unit 63, and the interrupt request with the highest priority is selected from the interrupt request selection unit 63, and is sent via the interrupt request line a2. and is connected to the central control device 1.

中央制御装置1は端末制御装置6にバス13を介して接
続され、入出力信号が送受される。
The central control device 1 is connected to the terminal control device 6 via a bus 13, and input/output signals are sent and received.

このような構成の電子交換機の割込制御装置の動作につ
いて説明する。第1図において、端末制御装置6は端末
機器5175Nの状態変化を検出する状態変化検出部6
+t〜618とこの状態変化検出に応答して割込要求を
発する割込要求発生部6□1〜62NとこれらN本の割
込要求の中から、あらかじめ決められている優先度に従
って、最も優先度の高い割込要裏を選択する割込要求選
択部63とが付加されている。
The operation of the interrupt control device of the electronic exchange having such a configuration will be explained. In FIG. 1, the terminal control device 6 includes a state change detection unit 6 that detects a state change of the terminal device 5175N.
+t~618 and an interrupt request generating section 6□1~62N that issues an interrupt request in response to the detection of this state change, and among these N interrupt requests, the one with the highest priority is An interrupt request selection section 63 is added that selects interrupt requests with high priority.

ここで選択された割込要求は新たに設けられた割込要求
線7!2を介して、中央制御袋W1へ伝達される。また
定期割込要求発生装置4による割込要求は、この割込要
求線12を介して中央制御装置1へ伝達される。定期割
込発生装置4は従来例の装置と同様に定期的に割込要求
線β2を介して中央制御装置1に割込をかけるが、この
定期割込では端末機器5の状態監視プログラムは起動せ
ず、各種タイマの更新が行われるのみである。
The interrupt request selected here is transmitted to the central control bag W1 via the newly provided interrupt request line 7!2. Further, an interrupt request from the periodic interrupt request generator 4 is transmitted to the central controller 1 via the interrupt request line 12. The periodic interrupt generating device 4 periodically interrupts the central control device 1 via the interrupt request line β2 as in the conventional device, but the status monitoring program of the terminal device 5 is not activated by this periodic interrupt. Instead, only the various timers are updated.

いま、端末機器5.〜5Nの少なくとも一つに状態変化
(例えば発呼や復旧など)が生じると、端末制御装置6
の状態変化検出部611〜61Nがこれを検出し、割込
要求発生部62.〜6□8に対して割込要求の発生を指
示する。割込要求発生部6!I〜6□8は、割込要求を
発生し割込要求選択部63に出力する。
Now, the terminal equipment 5. ~5N, when a state change occurs (for example, call origination or recovery), the terminal control device 6
The state change detecting units 611 to 61N of the interrupt request generating units 62 . ~6□8 is instructed to generate an interrupt request. Interrupt request generator 6! I~6□8 generates an interrupt request and outputs it to the interrupt request selection section 63.

割込要求選択部6.は複数の割込要求が同時に入力した
ときには、その中から最も優先度の高い割込要求−個を
選択するように構成されている。
Interrupt request selection section 6. is configured to select, when a plurality of interrupt requests are input at the same time, the interrupt request with the highest priority among them.

この割込要求選択部63で選択された割込要求が割込要
求線i!、2を介して中央制御装置Iへ伝達される。中
央制御装置1はこの割込要求に応答して現在処理中のプ
ログラムを一時中断し、端末機器5の状態変化処理プロ
グラムに制御を移す。
The interrupt request selected by this interrupt request selection section 63 is the interrupt request line i! , 2 to the central control unit I. In response to this interrupt request, the central control device 1 temporarily suspends the program currently being processed and transfers control to the state change processing program of the terminal device 5.

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

以上説明したように、本発明は、端末機器に状態変化が
生じたときに限り、状態変化処理プログラムが起動され
、状態変化の有無に無関係に定期的に状態監視プログラ
ムが実行される不都合がなく、中央制御装置の処理能力
を最大限に有効利用できる。さらに割込要求選択部を設
は複数の端末機器が同時に状態変化を起こした場合でも
、最も優先度の高い割込要求−個だけを選択できるため
に、待ち時間の少ない処理ができる優れた効果がある。
As explained above, the present invention eliminates the inconvenience that the status change processing program is started only when a status change occurs in the terminal device, and the status monitoring program is periodically executed regardless of whether there is a status change. , the processing power of the central control unit can be utilized to the maximum extent possible. In addition, an interrupt request selection section is provided, so even if multiple terminal devices change their status at the same time, only the interrupt request with the highest priority can be selected, resulting in an excellent effect of processing with less waiting time. There is.

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

第1図は本発明第一実施例電子交換機の割込制御装置の
ブロック構成図。 第2図は従来例の電子交換機の割込制御装置のブロック
構成図。 1・・・中央制御装置、2・・・プログラム記憶メモリ
、3・・・一時記憶メモリ、4・・・定期割込発生装置
、5・・・端末機器、6・・・端末制御装置、6I・・
・従来変化・検出部、6□・・・割込要求発生部、63
・・・割込要求選択部、X、・・・データバス、12・
・・割込要求線、13・・・バス。
FIG. 1 is a block diagram of an interrupt control device for an electronic exchange according to a first embodiment of the present invention. FIG. 2 is a block diagram of a conventional interrupt control device for an electronic exchange. DESCRIPTION OF SYMBOLS 1... Central control unit, 2... Program storage memory, 3... Temporary storage memory, 4... Periodic interrupt generator, 5... Terminal equipment, 6... Terminal control device, 6I・・・
・Conventional change/detection section, 6□... Interrupt request generation section, 63
...Interrupt request selection section, X, ...data bus, 12.
...Interrupt request line, 13...bus.

Claims (1)

【特許請求の範囲】[Claims] (1)複数の端末機器と、 定期的に割込要求を発生する定期割込発生装置と、 上記端末機器の状態監視プログラムを収納するプログラ
ム記憶メモリと、 上記定期割込発生装置の出力信号により処理中のプログ
ラムを一時中断して上記端末機器の状態監視プログラム
を上記プログラム記憶メモリから読出して実行する手段
を含む中央制御装置とを備えた蓄積プログラム制御方式
の電子交換機の割込制御方式において、 上記複数の端末機器に対応して接続され、それぞれの状
態変化を独立に検出する複数の検出手段を設け、 この複数の検出手段に対応して接続され、この複数の検
出手段からの検出出力を入力し、割込要求を発生する複
数の割込要求発生手段と、 この複数の割込要求発生手段からの割込要求の中からあ
らかじめ決められている優先度に従って最も優先度の高
い割込要求を選択して、上記中央制御装置へ伝達する割
込要求選択手段と を備え、 上記中央制御装置は、上記定期割込発生手段から送出さ
れる割込要求に対して上記割込要求選択手段に割込要求
があるときに限り、この割込要求について上記実行する
手段を起動させる手段を備えた、 ことを特徴とする電子交換機の割込制御方式。
(1) A plurality of terminal devices, a periodic interrupt generation device that periodically generates interrupt requests, a program storage memory that stores a status monitoring program for the terminal devices, and an output signal of the periodic interrupt generation device. In an interrupt control system for an electronic exchange using a stored program control system, the system comprises a central control unit that includes means for temporarily interrupting a program being processed and reading out and executing a status monitoring program for the terminal device from the program storage memory, A plurality of detecting means are connected correspondingly to the plurality of terminal devices and detecting the state changes of each device independently, and a plurality of detecting means are connected correspondingly to the plurality of detecting means and detecting outputs from the plurality of detecting means are provided. a plurality of interrupt request generation means that input and generate interrupt requests; and an interrupt request with the highest priority according to a predetermined priority among the interrupt requests from the plurality of interrupt request generation means. and an interrupt request selection means for selecting and transmitting the selected interrupt request to the central control unit, wherein the central control unit selects the interrupt request and transmits it to the interrupt request selection unit in response to the interrupt request sent from the periodic interrupt generation means. An interrupt control method for an electronic exchange, comprising: means for activating the means for executing the interrupt request only when there is an interrupt request.
JP13935884A 1984-07-04 1984-07-04 Interruption control system of electronic exchange Pending JPS6118292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13935884A JPS6118292A (en) 1984-07-04 1984-07-04 Interruption control system of electronic exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13935884A JPS6118292A (en) 1984-07-04 1984-07-04 Interruption control system of electronic exchange

Publications (1)

Publication Number Publication Date
JPS6118292A true JPS6118292A (en) 1986-01-27

Family

ID=15243465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13935884A Pending JPS6118292A (en) 1984-07-04 1984-07-04 Interruption control system of electronic exchange

Country Status (1)

Country Link
JP (1) JPS6118292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05183412A (en) * 1991-12-27 1993-07-23 Nec Corp Digital control signal switching device
JPH0630545A (en) * 1992-04-07 1994-02-04 Three D Compo Res:Kk Forward and reverse rotary step actuator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05183412A (en) * 1991-12-27 1993-07-23 Nec Corp Digital control signal switching device
JPH0630545A (en) * 1992-04-07 1994-02-04 Three D Compo Res:Kk Forward and reverse rotary step actuator

Similar Documents

Publication Publication Date Title
JPH0141075B2 (en)
JPS6118292A (en) Interruption control system of electronic exchange
JP2567063B2 (en) Polling method
JP3505540B2 (en) Data transfer device
JPH0253170A (en) Controller
JPH01183744A (en) Monitor device for processor stall
JP2531851B2 (en) Gateway device
JPH0576821B2 (en)
JP3151966B2 (en) Bus controller
JPS6198050A (en) Transfer system for received data
JPH01292438A (en) Interruption processor
JP3108478B2 (en) Interrupt processing method for multiplex transmission system
JPS61142839A (en) Data transmission controller
JPS59181853A (en) Data transmission system
JPH0535460B2 (en)
JPS6152749A (en) System supervisory system
JPS6038951A (en) Communication processing device
JPH05158723A (en) Abnormality diagnostic device for decentralized processing type controller
JPS62252235A (en) Runaway preventing system for processor of line switching device
JPH038617B2 (en)
JPS61118803A (en) Programmable controller system
JPS6356035A (en) Communication line changeover device
JPH03288205A (en) Programmable controller system
JPH03250941A (en) Polling non-reply monitor system
JPS63208122A (en) Console control system