JPS6324338B2 - - Google Patents

Info

Publication number
JPS6324338B2
JPS6324338B2 JP54168887A JP16888779A JPS6324338B2 JP S6324338 B2 JPS6324338 B2 JP S6324338B2 JP 54168887 A JP54168887 A JP 54168887A JP 16888779 A JP16888779 A JP 16888779A JP S6324338 B2 JPS6324338 B2 JP S6324338B2
Authority
JP
Japan
Prior art keywords
signal
interrupt
device control
section
delayed
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
JP54168887A
Other languages
Japanese (ja)
Other versions
JPS5691562A (en
Inventor
Takashi Ooya
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 JP16888779A priority Critical patent/JPS5691562A/en
Publication of JPS5691562A publication Critical patent/JPS5691562A/en
Publication of JPS6324338B2 publication Critical patent/JPS6324338B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 本発明は、信号受信割込み障害制御方式、特
に、多数のデータ回線を所有し信号の受信を割込
み処理により各回線とも一信号分ずつ均等に処理
していく装置の各データ回線の信号受信回路にお
いて、割込み要求信号の障害の検出と障害発生時
の処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a signal reception interrupt failure control method, and in particular to a signal reception interrupt failure control method for a device that owns a large number of data lines and processes signal reception equally for each line by interrupt processing. The present invention relates to detection of a fault in an interrupt request signal and a processing method when a fault occurs in a data line signal receiving circuit.

従来、信号受信方式としては第1図の例に示す
ような構成のものであつた。図に於て、受信信号
が信号受信部Aの受信バツフア部A′に格納され
ると、この受信バツフア部A′が信号受信情報信
号3を発生してフリツプフロツプ回路FFをプリ
セツトして割込み要求信号6を発生する。該割込
み要求信号6を受けた装置制御部Dはバスライン
及び制御信号8をもちいて信号受信部Aの装置制
御インターフエイス部Eを動作させて、データ及
び読み取り制御信号1によつて受信バツフア部
A′から受信信号をすべて読み取つて割込みリセ
ツト信号5によりフリツプフロツプ回路FFをク
リアするというものであつた。
Conventionally, signal receiving systems have had a configuration as shown in the example of FIG. In the figure, when the received signal is stored in the reception buffer section A' of the signal reception section A, this reception buffer section A' generates the signal reception information signal 3, presets the flip-flop circuit FF, and outputs the interrupt request signal. Generates 6. The device control section D that receives the interrupt request signal 6 operates the device control interface section E of the signal reception section A using the bus line and the control signal 8, and operates the reception buffer section using the data and read control signal 1.
All received signals were read from A' and the flip-flop circuit FF was cleared by an interrupt reset signal 5.

しかしながら、受信バツフア部Aやフリツプフ
ロツプ回路FFの障害により割込み要求信号6が
発生したままとなつた時、装置制御部Dは常時該
回線の割込み処理を繰り返し、他の処理が不可能
になる可能性があつた。
However, if the interrupt request signal 6 continues to be generated due to a failure in the reception buffer section A or the flip-flop circuit FF, the device control section D will constantly repeat the interrupt processing for the line, and there is a possibility that other processing will become impossible. It was hot.

本発明は従来の上記欠点を除去する為になされ
たものであり、従つて本発明の目的は、上記した
ような障害が発生しないように、一信号分の受信
データを読み取つた後で割込みをリセツトした時
に次の信号が既に受信されていても必らず次の分
周クロツクの立上りまでの時間だけは割込み要求
信号がなくなる事を利用して、割込み要求信号の
動作を確認して該割込み要求信号の障害を検出
し、障害時にはゲート回路により該信号を強制的
に切離す事を特徴とする新規な制御方式を提供す
ることにある。
The present invention has been made in order to eliminate the above-mentioned disadvantages of the conventional technology, and therefore, an object of the present invention is to interrupt after reading one signal worth of received data in order to prevent the above-mentioned failure from occurring. Even if the next signal has already been received at the time of reset, the interrupt request signal is always lost until the next divided clock rises, so the operation of the interrupt request signal is checked and the corresponding interrupt It is an object of the present invention to provide a novel control method characterized by detecting a failure in a request signal and forcibly disconnecting the signal by a gate circuit when the failure occurs.

本発明の上記目的は、多数のデータ回線を所有
し、信号の受信を割込み処理により各回線とも一
信号分ずつ均等に処理していく装置の各データ回
線の信号受信回路において、受信信号を順次格納
していき該受信信号が格納されている間は信号受
信情報信号を出力し続ける受信バツフア部と、該
受信バツフア部からの信号受信情報信号とクロツ
ク信号とから遅延割込み信号を発生し後記装置制
御インターフエイス部からの割込みリセツト信号
により前記遅延割込み信号をリセツトすると共に
前記信号受信情報信号が発生している時には一定
時間後に再び遅延割込み信号を発生する遅延割込
み信号発生部と、前記遅延割込み信号を割込み要
求信号として装置制御部へ中継し又は遮断するゲ
ート回路と、前記装置制御部とインターフエイス
を持つて前記受信バツフア部からの受信信号の読
み出し動作をすると共に割込みリセツト信号を発
生し且つ前記ゲート回路の中継出力を入力して前
記装置制御への中継を行う装置制御インターフエ
イス部とを有し、固定バイト長からなる複数の信
号が連続的に入力された時においても、全受信信
号が割込み要求信号により起動された装置制御部
によりバス及び制御ラインを介して引取られるま
で、受信信号分だけ断続的に受信信号読み取りと
割込みリセツト及び割込みリセツト後の割込み要
求信号のレベル変化を読み取り、割込み要求信号
がリセツト後に割込みなしレベルへ戻らない場合
には、本データ受信回線の障害と判定して、装置
制御部から前記装置制御インターフエイス部に指
令して前記ゲート回路へ禁止信号を出力し、割込
み要求信号の中継を停止させて本データ受信回線
を装置制御部から切離す事を特徴とする信号受信
割込み障害制御方式、によつて達成される。
The above-mentioned object of the present invention is to sequentially process received signals in a signal receiving circuit of each data line of a device that owns a large number of data lines and processes signal reception equally for each line by interrupt processing. a receiving buffer unit which continues to output a signal reception information signal while the received signal is stored, and a device which generates a delayed interrupt signal from the signal reception information signal from the reception buffer unit and a clock signal and which will be described later. a delayed interrupt signal generating section that resets the delayed interrupt signal in response to an interrupt reset signal from the control interface section and generates the delayed interrupt signal again after a certain period of time when the signal reception information signal is generated; and the delayed interrupt signal. a gate circuit that relays or cuts off the interrupt request signal to the device control section, and has an interface with the device control section to read the received signal from the reception buffer section and generate an interrupt reset signal; and a device control interface section that inputs the relay output of the gate circuit and relays it to the device control, and even when multiple signals of fixed byte length are input continuously, all received signals are The device control unit activated by the interrupt request signal intermittently reads the received signal for the number of received signals, reads the interrupt reset, and reads the level change of the interrupt request signal after the interrupt reset, and interrupts the interrupt. If the request signal does not return to the no-interrupt level after being reset, it is determined that there is a failure in the data receiving line, and the device control section instructs the device control interface section to output a prohibition signal to the gate circuit; This is achieved by a signal reception interrupt failure control method characterized by stopping the relay of the interrupt request signal and disconnecting the main data reception line from the device control section.

次に本発明をその良好な一実施例について第2
図〜第6図を参照しながら具体的に説明する。第
2図は本発明の一実施例を示す構成図である。図
に於いて、参照符号Bは遅延割込み信号発生部、
Cはデート回路を夫々示す。その他の参照符号は
第1図に示したものと同様の機能を有する。
Next, the present invention will be described in a second section with respect to a preferred embodiment thereof.
This will be explained in detail with reference to FIGS. FIG. 2 is a configuration diagram showing an embodiment of the present invention. In the figure, reference numeral B indicates a delayed interrupt signal generation section;
C indicates a date circuit, respectively. Other reference numerals have similar functions as shown in FIG.

ここで第2図に示された各要素の具体的ブロツ
ク構成について説明する。
Here, the specific block configuration of each element shown in FIG. 2 will be explained.

受信バツフア部A′は、第3図に示されるよう
に、固定nバイトからなる信号をN信号分だけバ
ツフアできる例えばFIFOから成るバツフアと、
該バツフアと平行にNbit分のシフトレジスタと
スタートパターン検出回路とから構成される。信
号受信情報信号3は、シフトレジスタに“1”が
有る(信号が残つている)間出力される。
As shown in FIG. 3, the reception buffer section A' includes a buffer consisting of, for example, a FIFO that can buffer a signal consisting of a fixed n bytes by N signals;
It consists of a shift register for N bits and a start pattern detection circuit in parallel with the buffer. The signal reception information signal 3 is output while the shift register has "1" (the signal remains).

遅延割込み信号発生部Bは第4図に示される構
成からなつている。信号受信情報信号3が“1”
の間は、分周回路から発生する1信号長に近いク
ロツクによりF/Fをセツトし、遅延割込み信号
4を出力する。
The delayed interrupt signal generating section B has the configuration shown in FIG. Signal reception information signal 3 is “1”
During this period, the F/F is set by a clock with a length close to one signal generated from the frequency dividing circuit, and the delayed interrupt signal 4 is output.

装置インターフエイス部Eは第5図に示すブロ
ツクの構成からなつている。本回路は、装置制御
部からのコントロール信号により、オーダ分析を
行ないバスインターフエイス回路を通して受信デ
ータを読み出しコントロールを動作させて読み出
したり、読込リセツト信号(パルス)を出力した
り、ゲート制御信号“0”レベルを固定出力す
る。
The device interface section E consists of the block configuration shown in FIG. This circuit performs order analysis based on the control signal from the device control section, operates the read control to read the received data through the bus interface circuit, outputs the read reset signal (pulse), and outputs the gate control signal "0". ”Outputs a fixed level.

装置制御部Dは、CPU、ROM、RAM、周辺
コントロール回路及び割込み信号6のスキヤン監
視回路等からなり、スキヤンして信号6が“0”
レベルで割込みがある受信回線があればそこでス
キヤンを停止して、ポートNo.を読み取り、該当受
信回線の受信データ読み込み動作を行ない、読み
込み後その割込み信号をリセツトするように動作
する。
The device control unit D consists of a CPU, ROM, RAM, a peripheral control circuit, a scan monitoring circuit for the interrupt signal 6, etc., and scans the signal 6 to set it to "0".
If there is a receiving line that has an interrupt at the level, scanning is stopped there, the port number is read, the received data of the corresponding receiving line is read, and after reading, the interrupt signal is reset.

受信バツフア部A′に連続的に複数の信号が受
信されて第1の信号が格納し終ると、受信バツフ
ア部A′の信号受信情報信号3が“1”レベルと
なり、該“1”レベル情報は遅延割込み信号発生
部Bでクロツク信号2により一定の遅延を受けた
後に遅延割込み信号4を“1”レベルとして出力
される。ゲート回路Cでは“1”レベルの遅延割
込み信号4と通常“1”レベルのゲート制御信号
7により結果として“0”レベルの割込み要求信
号6を装置制御部Dへ出力する。該割込み要求信
号6を受けた装置制御部Dは、バスライン及び制
御信号8を用いて装置制御インターフエイス部E
を動作させ、データ及び読み取り制御信号1を介
して前記第1受信信号を読み取り、割込みリセツ
ト信号5により遅延割込み信号発生部Bをリセツ
トして前記遅延割込み信号4を“0”レベルに戻
す。更に、装置制御部Dはゲート回路Cを通して
“1”レベルに戻つた割込み要求信号6のレベル
を装置制御インターフエイス部Eを介して読み取
り、割込み要求が消えた事を確認する。
When a plurality of signals are continuously received in the reception buffer section A' and the first signal is stored, the signal reception information signal 3 of the reception buffer section A' becomes "1" level, and the "1" level information is stored. After being subjected to a certain delay by the clock signal 2 in the delayed interrupt signal generating section B, the delayed interrupt signal 4 is output as a "1" level. The gate circuit C outputs the interrupt request signal 6 at the "0" level to the device control unit D as a result of the delayed interrupt signal 4 at the "1" level and the gate control signal 7 at the normal "1" level. The device control section D that has received the interrupt request signal 6 uses the bus line and the control signal 8 to control the device control interface section E.
The first received signal is read through the data and read control signal 1, and the delayed interrupt signal generator B is reset by the interrupt reset signal 5 to return the delayed interrupt signal 4 to the "0" level. Furthermore, the device control section D reads the level of the interrupt request signal 6, which has returned to the "1" level through the gate circuit C, via the device control interface section E, and confirms that the interrupt request has disappeared.

ここで、今、割込みリセツト動作をしたにもか
かわらず、割込み要求信号6が“0”レベルのま
まであつた時には、遅延割込み信号発生部Bの動
作が正常ならば第2信号を既に受信していて信号
受信情報信号3が“1”レベルのままであつて
も、該“1”レベル情報は次の分周クロツクの立
上りまでの遅延時間の間出力されない事から、遅
延割込み信号発生部Bの障害による割込み要求信
号の障害又は割込みリセツト信号発生部分の障害
と判断できる。従つて、装置制御部Dは装置制御
インターフエイス部Eを介してゲート制御信号7
を“0”レベルに設定してゲート回路Cにより割
込み要求信号6を“1”レベルに戻し、該回線を
切離して他の処理への影響を防止する事ができ
る。
Here, if the interrupt request signal 6 remains at the "0" level even though the interrupt reset operation has been performed, the second signal has already been received if the operation of the delayed interrupt signal generator B is normal. Even if the signal reception information signal 3 remains at the "1" level, the "1" level information is not output during the delay time until the rise of the next divided clock. This can be determined to be a failure in the interrupt request signal due to a failure in the interrupt request signal, or a failure in the interrupt reset signal generation part. Therefore, the device control section D receives the gate control signal 7 via the device control interface section E.
By setting the interrupt request signal 6 to the "0" level and returning the interrupt request signal 6 to the "1" level by the gate circuit C, it is possible to disconnect the line and prevent it from affecting other processes.

又、受信バツフア部A′の障害により無信号時
に割込み要求信号6が発生した場合でも、該当受
信信号を読み取つて障害と判断してゲート回路C
を制御することにより、障害発生回線を切離すこ
とができる。
Furthermore, even if the interrupt request signal 6 is generated when there is no signal due to a failure in the reception buffer section A', the corresponding reception signal is read and determined as a failure, and the gate circuit C is activated.
By controlling this, it is possible to disconnect the faulty line.

第6図のタイムチヤートに示す様に、2信号が
続けて入力した時に第1の信号の割込みがポイン
トAで発生しても、装置制御部が他の回線の受信
処理等でいそがしい場合には、第1信号の読み取
りはBのポイントとなる。ポイントBでは、既に
第2信号が入力されており、情報3は“1”レベ
ルのままであるが、分周クロツクが入るまでは
(ポイントC)遅延割込信号4は、リセツトされ
た後“0”になつてから再び“1”にはならな
い。
As shown in the time chart in Figure 6, even if the first signal interrupts at point A when two signals are input in succession, if the device control section is busy with reception processing of other lines, etc. , the reading of the first signal becomes point B. At point B, the second signal has already been input, and information 3 remains at the "1" level, but until the divided clock is input (point C), the delayed interrupt signal 4 is reset to "1". After it becomes 0, it does not become 1 again.

よつて、もし、遅延割込み信号発生部Bやオー
ダコードデコーダ内の割込みリセツト関連回路が
壊れていた場合には、ワーストケースで遅延割込
信号4が“1”のままとなり、装置制御部へ常時
割込み要求信号6が“0”で入力しつぱなしとな
る。
Therefore, if the delayed interrupt signal generator B or the interrupt reset related circuit in the order code decoder is broken, the delayed interrupt signal 4 will remain "1" in the worst case, and the signal will always be sent to the device control section. The interrupt request signal 6 continues to be input at "0".

本発明は、以上述べたような制御方式を採用す
る事により、一回線の受信部の割込み信号系統の
障害により他の多数の回線の処理やその他の重要
な処理動作が影響を受ける事を防止できる効果が
ある。
By adopting the control method described above, the present invention prevents the processing of many other lines and other important processing operations from being affected by a failure in the interrupt signal system of the receiving section of one line. There is an effect that can be achieved.

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

第1図は従来の信号受信方式を示す図、第2図
は本発明の一実施例を示す図、第3図は受信バツ
フア部の具体例を示すブロツク図、第4図は遅延
割込み信号発生部の具体例を示すブロツク図、第
5図は装置インターフエイス部の具体例を示すブ
ロツク図、第6図は本発明の動作例を示すタイム
チヤートである。 A……信号受信部、A′……受信バツフア部、
B……遅延割込み信号発生部、C……ゲート回
路、E……装置制御インターフエイス部、D……
装置制御部、1……データ及び読み取り制御信
号、2……クロツク信号、3……信号受信情報信
号、4……遅延割込み信号、5……割込みリセツ
ト信号、6……割込み要求信号、7……ゲート制
御信号、8……バスライン及び制御信号。
Fig. 1 is a diagram showing a conventional signal receiving system, Fig. 2 is a diagram showing an embodiment of the present invention, Fig. 3 is a block diagram showing a specific example of a receiving buffer section, and Fig. 4 is a diagram showing delayed interrupt signal generation. FIG. 5 is a block diagram showing a specific example of the device interface section, and FIG. 6 is a time chart showing an example of the operation of the present invention. A...signal receiving section, A'...receiving buffer section,
B...Delayed interrupt signal generation section, C...Gate circuit, E...Device control interface section, D...
Device control unit, 1... data and read control signal, 2... clock signal, 3... signal reception information signal, 4... delayed interrupt signal, 5... interrupt reset signal, 6... interrupt request signal, 7... ...Gate control signal, 8...Bus line and control signal.

Claims (1)

【特許請求の範囲】[Claims] 1 多数のデータ回線を所有し、信号の受信を割
込み処理により各回線とも一信号分づつ均等に処
理していく装置の各データ回線の信号受信回路に
おいて、受信信号を順次格納していき該受信信号
が格納されている間は信号受信情報信号を出力し
続ける受信バツフア部と、該受信バツフア部から
の信号受信情報信号とクロツク信号とから遅延割
込み信号を発生し後記装置制御インターフエイス
部からの割込みリセツト信号により前記遅延割込
み信号をリセツトすると共に前記信号受信情報信
号が発生している時には一定時間後に再び遅延割
込み信号を発生する遅延割込み信号発生部と、前
記遅延割込み信号を割込み要求信号として装置制
御部へ中継し又は遮断するゲート回路と、前記装
置制御部とインターフエイスを持つて前記受信バ
ツフア部からの受信信号の読み出し動作をすると
共に割込みリセツト信号を発生し且つ前記ゲート
回路の中継出力を入力して前記装置制御部への中
継を行なう装置制御インターフエイス部とを有
し、固定バイト長からなる複数の信号が連続的に
入力された時においても、全受信信号が割込み要
求信号により起動された装置制御部によりバス及
び制御ラインを介して引取られるまで、受信信号
分だけ断続的に受信信号読み取りと割込みリセツ
ト及び割込みリセツト後の割込み要求信号のレベ
ル変化を読み取り、割込み要求信号がリセツト後
に割込みなしレベルへ戻らない場合には、本デー
タ受信回線の障害と判定して、装置制御部から前
記装置制御インターフエイス部に指令して前記ゲ
ート回路へ禁止信号を出力し、割込み要求信号の
中継を停止させて本データ受信回線を装置制御部
から切離す事を特徴とする信号受信割込み障害制
御方式。
1. In the signal receiving circuit of each data line of a device that owns a large number of data lines and processes signal reception equally on each line by interrupt processing, the received signals are sequentially stored and received. A receiving buffer unit continues to output the signal receiving information signal while the signal is stored, and a delayed interrupt signal is generated from the signal receiving information signal from the receiving buffer unit and the clock signal, and a delayed interrupt signal is generated from the device control interface unit described later. a delayed interrupt signal generating section that resets the delayed interrupt signal using an interrupt reset signal and generates the delayed interrupt signal again after a certain period of time when the signal reception information signal is generated; and a device that uses the delayed interrupt signal as an interrupt request signal. A gate circuit that relays to or interrupts the control section, and has an interface with the device control section, reads the received signal from the reception buffer section, generates an interrupt reset signal, and outputs the relay output of the gate circuit. and a device control interface section that inputs the input signal and relays it to the device control section, so that even when multiple signals of fixed byte length are input continuously, all received signals are activated by an interrupt request signal. The received signal is read intermittently for the number of received signals, the interrupt is reset, and the level change of the interrupt request signal after the interrupt is reset is read until the received signal is taken over by the device control unit that has been reset via the bus and control line. If it does not return to the no-interrupt level, it is determined that there is a failure in the data receiving line, and the device control section instructs the device control interface section to output a prohibition signal to the gate circuit and relay the interrupt request signal. A signal reception interrupt failure control method characterized by stopping the data reception line and disconnecting the main data reception line from the device control unit.
JP16888779A 1979-12-25 1979-12-25 Fault control system for signal reception interruption Granted JPS5691562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16888779A JPS5691562A (en) 1979-12-25 1979-12-25 Fault control system for signal reception interruption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16888779A JPS5691562A (en) 1979-12-25 1979-12-25 Fault control system for signal reception interruption

Publications (2)

Publication Number Publication Date
JPS5691562A JPS5691562A (en) 1981-07-24
JPS6324338B2 true JPS6324338B2 (en) 1988-05-20

Family

ID=15876400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16888779A Granted JPS5691562A (en) 1979-12-25 1979-12-25 Fault control system for signal reception interruption

Country Status (1)

Country Link
JP (1) JPS5691562A (en)

Also Published As

Publication number Publication date
JPS5691562A (en) 1981-07-24

Similar Documents

Publication Publication Date Title
JPH0141075B2 (en)
JPS6324338B2 (en)
JPH064301A (en) Time division interruption control system
JPH0447855B2 (en)
JPS633351B2 (en)
SU476700A2 (en) False Start Protection Device
SU1003064A1 (en) Information exchange device
JPS6023387B2 (en) data input device
JPH0528093A (en) Circuit for generating burst transfer end interrupt signal
SU1119020A1 (en) Memory control unit
JPH0528101A (en) Bus communication system
JPH0831895B2 (en) Interrupt request type switching request signal monitoring method
JPH0235500B2 (en)
JPH05236562A (en) Alarm collection system
JPS5922145A (en) Interruption control system
JPS6153850A (en) Normarity and abnormarity discriminating system of reception data
JPS61228599A (en) Data transfer system
JPH06103464B2 (en) Interrupt signal control method
JPH04352057A (en) Interruption information circuit
JPH0142199B2 (en)
JPH11110231A (en) Interruption control system
JPH02271449A (en) Bus fault detecting system
JPH0252898B2 (en)
JPH0439103B2 (en)
JPH06132946A (en) Redundant constitution device