JPS5936845A - Controlling device of communication - Google Patents

Controlling device of communication

Info

Publication number
JPS5936845A
JPS5936845A JP57146371A JP14637182A JPS5936845A JP S5936845 A JPS5936845 A JP S5936845A JP 57146371 A JP57146371 A JP 57146371A JP 14637182 A JP14637182 A JP 14637182A JP S5936845 A JPS5936845 A JP S5936845A
Authority
JP
Japan
Prior art keywords
memory address
memory
error
line connection
contents
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
JP57146371A
Other languages
Japanese (ja)
Inventor
Toshihiro Kamiyama
神山 敏廣
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 JP57146371A priority Critical patent/JPS5936845A/en
Publication of JPS5936845A publication Critical patent/JPS5936845A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/073Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To process errors in early stage, by inhibiting memory access operation and generating an error interruption request at the time point, when a malfunction or fault exceeding a memory address border is generated during the memory access operation of a circuit connecting part. CONSTITUTION:When one of the circuit connecting parts transmits transmission data to a terminal through the circuit, the circuit connecting part outputs a direct memory access (DMA) request to a common controlling part 11, and when an execution processing part 20 permits the execution of the DMA operation, starts the DAM operation. When detecting that the contents of a memory address storing means in the circuit connecting part outputted to a memory address bus circuit are less than the contents of a memory address border storing means 22 which are previously stored during the DMA operation, the circuit connecting part 1 informs the result to an execution processing controlling means 20 as an error. The execution processing controlling means 20 inhibits the incorrect DMA operation of the circuit connecting part to prevent the transmission of incorrect data.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は通信制御装置、特に回#接続部のダイレクトメ
モリアクセス(以下D M Aと称する)時のメモリア
ドレスエラー検出制御機構をもつ逆悄制御装置に関する
[Detailed Description of the Invention] [Technical Field to which the Invention Pertains] The present invention relates to a communication control device, and particularly to a communication control device having a memory address error detection control mechanism during direct memory access (hereinafter referred to as DMA) of a communication control unit. Regarding a control device.

〔従来技術〕[Prior art]

従来、この種の通信制御装置においCは、(ロ)線接続
部のDMA動作のメモリアドレスの正常性をチェックす
る機能が不十分であるため、回線接続部のDMA制御回
路の誤動作又はハードウェア故障により送受信データバ
ッファ領域外のプログラム格納領域をアクセスした場合
、与える影響は大きかった。例えば送信モードのDMA
動作中に、送受信データバッファ伽域外のプログラム格
納領域をアクセスした場合は、プログラム格納領域内の
内容を送信データとして送信したり、受信モードのDM
A動作中に上記プログラム格納領域をアクセスした場合
は、プログラム格納領域内の内容が受信データに替えら
れたりするので、−次原因としてのメモリアドレス障害
が誤ったデータ送信やプログラムの異常動作を引起こす
など二次的障害に波及し、障害の根本原因追求に手間ど
るなどの欠点があった。
Conventionally, in this type of communication control device, C has an insufficient function of checking the normality of the memory address of the DMA operation of the line connection part, so it may be caused by a malfunction of the DMA control circuit of the line connection part or by the hardware. If a program storage area outside the transmit/receive data buffer area was accessed due to a failure, the impact would be significant. For example, DMA in transmit mode
If the program storage area outside the send/receive data buffer area is accessed during operation, the contents of the program storage area may be sent as send data or the DM in receive mode may be accessed.
If the above program storage area is accessed during operation, the contents of the program storage area may be replaced with received data, so it is possible that a memory address failure as the next cause may cause erroneous data transmission or abnormal program operation. There were drawbacks, such as secondary failures caused by the failure, and the time it took to find the root cause of the failure.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、回線接続部のDMA動作中にメモリア
ドレス制御回路にメモリアドレス境界を越える誤挿iノ
作又は故障が発生した場合、その時点でメモリアクセス
動作を禁止し、要求メモリアドレス及び髪束回線接続部
DMAチャネル番号を記憶すると同時にエラー割込要求
を発生して、エラー処理を早期に行うことにより上記欠
点を解決し、回線接続部1) M A動作不良に起因す
る障害を確実に知り、二次障害への波及を極力防止でき
るようにした通信制御装置を提供することにある。
An object of the present invention is to prohibit the memory access operation at that point when an erroneous insertion that exceeds the memory address boundary or a failure occurs in the memory address control circuit during the DMA operation of the line connection part, and the requested memory address and Hair bundle line connection unit 1) Generates an error interrupt request at the same time as storing the DMA channel number, and performs error processing at an early stage to solve the above drawbacks and ensure failures caused by malfunction of the line connection unit 1) M A It is an object of the present invention to provide a communication control device that can prevent the spread of secondary failures as much as possible.

本発明は回線接続部を多数有し回線を時分割に多重制御
する通信制御装置において、共通制御部内にプログラム
で書込可能なメモリアドレス境界格納手段と、該メモリ
アドレス格納手段の内容とメモリアドレスバスの内容を
用較するメモリアドレス比較手段と、ダイレクトメモリ
アクセス動作中に前記任意回線接続部が上記メモリアド
レス境界を越えてメモリ内のデータバッファ領域外をア
クセスした場合前記比較手段によりエラー検出を行いメ
モリアクセス動作を禁止すると同時に前記共通制御部内
の実行処理制御手段にエラー割込要求を報告するエラー
割込要求報告手段と、エラー回線接続部のメモリアクセ
ス動作を禁止する実行処理制御手段と、エラー回線接続
部のメモリアドレスを格納するメモリアト1/ス格納手
段、及びダイレクトメモリアクセスチャネルアドレスを
格納するダイレクトメモリアクセスチャネルアドレス格
納手段とを含X7で構成される。
The present invention provides a communication control device that has a large number of line connections and performs time-division multiplex control of the lines, including memory address boundary storage means that can be written by a program in a common control unit, and the contents of the memory address storage means and memory addresses. memory address comparison means for comparing the contents of the bus; and error detection by the comparison means when the arbitrary line connection section crosses the memory address boundary and accesses outside the data buffer area in the memory during direct memory access operation. error interrupt request reporting means for inhibiting the memory access operation and simultaneously reporting an error interrupt request to the execution processing control means in the common control unit; and execution processing control means for prohibiting the memory access operation of the error line connection unit; It is constituted by X7 including memory address storage means for storing the memory address of the error line connection section, and direct memory access channel address storage means for storing the direct memory access channel address.

〔実施例の説明〕[Explanation of Examples]

本発明の実施例について図面を参照して詳細に説明する
。第1図において回線接続部10−1 、・・・・・+
10−nはバスIfj1100を介して共通制御部11
と、メモリ12と、上位装置インタフェース部13とに
接続される。バス線100はデータ線と、メモリアドレ
スバス線とDMAチャネルアドレスバス線とからなる。
Embodiments of the present invention will be described in detail with reference to the drawings. In FIG. 1, line connection section 10-1,...+
10-n connects to the common control unit 11 via the bus Ifj1100.
, the memory 12 , and the host device interface section 13 . Bus line 100 consists of a data line, a memory address bus line, and a DMA channel address bus line.

共通制御部11はメモリ内に格納されているプログラム
により、上位装置インタフェース部13と回線接続部1
0−1 、 ゛°−−−− 、10−nの動作を実行制
御する。
The common control unit 11 controls the host device interface unit 13 and the line connection unit 1 by a program stored in the memory.
0-1, ゛°----, and 10-n are executed and controlled.

第2図はメモリ12内のレイアウト図であり、診断プロ
グラム格納領域、制御プログラム格納領域、制御テーブ
ル類格納領域、データバッファ格納領域にマツピングさ
れている。メモリアドレス境界はデータバッファ格納領
域の先頭アドレスを意味する。
FIG. 2 is a layout diagram of the inside of the memory 12, which is mapped to a diagnostic program storage area, a control program storage area, a control table storage area, and a data buffer storage area. The memory address boundary means the start address of the data buffer storage area.

第3図は共通制御部11の構成を示すブロック図である
。実行処理制御部20と、エラー割込要求報告手段21
と、メモリアドレス境界格納手段22と、DMAモード
で回線接部10−nが実行中のとき、メモリアドレス境
界格納手段22の内容と、バス線100のメモリアドレ
ス線の内容とを比較し、メモリアドレス境界を越えた場
合、すなわち、メモリアドレス境界格納手段22の内容
よりもメモリアドレス線の内容の方が小さいとエラーと
してエラー割込要求をエラー割込要求報告手段21に入
力するメモリアドレス比較手段23と、前記エラーを検
出した場合、その時のメモリアドレスバス線の内容を格
納するメモリアドレス格納手段24と、同様に前記エラ
ーを検出した場合その時のDMAチャネルアドレスバス
線の内容を格納するDMAチャネルアドレス格納手段2
5と、複数の回線接続部からのDMA要求を受付け、最
も優先順位の高い回線接続部を選択(7実行処理制御部
20に伝える優先順位選択手段26とから構成される。
FIG. 3 is a block diagram showing the configuration of the common control section 11. Execution processing control section 20 and error interrupt request reporting means 21
When the line connection section 10-n is running in the DMA mode, the memory address boundary storage means 22 compares the contents of the memory address boundary storage means 22 with the contents of the memory address line of the bus line 100, and Memory address comparing means for inputting an error interrupt request to the error interrupt request reporting means 21 as an error when the address boundary is exceeded, that is, the contents of the memory address line are smaller than the contents of the memory address boundary storage means 22 23, a memory address storage means 24 for storing the contents of the memory address bus line at that time when the error is detected, and a DMA channel for storing the contents of the DMA channel address bus line at that time when the error is detected as well. Address storage means 2
5, and a priority selection means 26 that accepts DMA requests from a plurality of line connection units and selects the line connection unit with the highest priority (7) and transmits the request to the execution processing control unit 20.

(−1i、 t、以上は本発明の訝明に必要な手段のみ
で、他は省略されている。
(-1i, t) The above are only the means necessary for understanding the present invention, and the others are omitted.

いま、回線接続部10−nの一つが送信データを回線を
介し2て端末に伝送する場合、メモリ内のデータバッフ
ァ格納領域内の前記回線接続部送信データバッファアド
レスを回線接続部内のメモリアドレス格納手段に格納し
ておき(図示せず)、共通制御部11にDMA要求を出
力し、優先順位選択手段26により受付選択され、実行
処理制御部20かものDMA動作実行許可を待つ。実行
処理制御部20が前記回線接続部にDMA動作実行を許
可すると、回線接続部はDMA動作に入る。すなわち、
メモリアドレスバス線に回線接続部内のメモリアドレス
格納手段の内容を出力し、メモリ12内の前記回線接続
用データバッファから送信データを読出し、回線接続部
内の送信データバッファに宵込む。送信データバッファ
に書込まれた送信データは、差動直列変換手段によりビ
ットシリアルに回線の送信データ線に送出され、端末へ
伝送される。
Now, when one of the line connection units 10-n transmits transmission data to the terminal via the line 2, the line connection unit transmission data buffer address in the data buffer storage area in the memory is stored as a memory address in the line connection unit. A DMA request is output to the common control unit 11, accepted and selected by the priority selection unit 26, and waits for permission from the execution processing control unit 20 to execute the DMA operation. When the execution processing control unit 20 permits the line connection unit to execute a DMA operation, the line connection unit enters the DMA operation. That is,
The contents of the memory address storage means in the line connection unit are output to the memory address bus line, and the transmission data is read from the line connection data buffer in the memory 12 and stored in the transmission data buffer in the line connection unit. The transmission data written in the transmission data buffer is sent bit-serially to the transmission data line of the line by the differential serial conversion means and transmitted to the terminal.

前記回線接続部のDMA動作中に、メモリアドレスバス
線に出力された回線接続部内のメモリアドレス格納手段
の内容が、予め格納されているメモリアドレス境界格納
手段22内のメモリアドレス境界の内容よりも小さいと
エラーとしてエラー割込要求報告手段21を介して実行
処理制御手段20に報告される。このときメモリアドレ
ス線に出力された回線接続部内のメモリアドレス格納手
段の内容はメモリアドレス格納手段24に、実行処理制
御手段20から出力されたDMAチャネルアドレスバス
線の内容はDMAチャネルアドレス格納手段25に格納
され、障害追求の際の有力な情報として保持しておき、
障害処理プログラム実行時に読出される。実行処理制御
手段2oは、エラー回線接続部の]) M A動作を禁
止して、不正データがエラー回線接続部の送信データバ
ッファに書込オれるのを防止する。
During the DMA operation of the line connection unit, the contents of the memory address storage means in the line connection unit outputted to the memory address bus line are greater than the contents of the memory address boundaries in the memory address boundary storage means 22 stored in advance. If it is smaller, it is reported as an error to the execution processing control means 20 via the error interrupt request reporting means 21. At this time, the contents of the memory address storage means in the line connection unit outputted to the memory address line are stored in the memory address storage means 24, and the contents of the DMA channel address bus line outputted from the execution processing control means 20 are stored in the DMA channel address storage means 25. and keep it as useful information when pursuing obstacles.
Read when the fault handling program is executed. The execution processing control means 2o inhibits the MA operation of the error line connection unit to prevent invalid data from being written into the transmission data buffer of the error line connection unit.

以上、回線接続部10−nが回線を介して端宋ヘデータ
を送信する場合について説明した。端末からデータを受
信する場合についても同様で、上記メモリアドレス比較
手段23にてDMAアドレスエラーを検出し、受信デー
タの不正書込みを防止すると同時にエラーを起こしたメ
モリアドレスの内容は、メモリアドレス格納手段24に
、DMAチャネルアト1/スバス線の内容はDMAチャ
ネルアドレス格納手段25&C各々格納される。これら
のアドレス情報は、障害処理時に利用され、読出されな
い限り同じ内容が保持される。
The case where the line connection unit 10-n transmits data to the Duan Song via the line has been described above. The same applies to the case of receiving data from a terminal, in which the memory address comparison means 23 detects a DMA address error and prevents unauthorized writing of the received data, and at the same time, the contents of the memory address where the error occurred is stored in the memory address storage means. 24, the contents of the DMA channel AT1/SU bus line are stored in the DMA channel address storage means 25 & C, respectively. These address information are used during failure processing, and the same contents are maintained unless read out.

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

本発明には以上説明(7たように、回線接続部のDMA
動作中にメモリアドレス制御回路にメモリアドレス境界
を越える障害が発生しても、これによる二次的な障害を
防止すると同時に、障害メモリアドレス、障害回線接続
部チャネル番号をロギングできるように構成することに
より、回線接続) 部D M A 動作不良に起因する障害を確集に知り、
二次障害への波及を極力防止できるようにしだ通信制御
装置Wが得られる。
As explained above (7), the present invention includes the DMA of the line connection section.
Even if a fault that crosses a memory address boundary occurs in a memory address control circuit during operation, it is configured to prevent secondary faults due to this, and at the same time to be able to log the faulty memory address and faulty line connection channel number. (line connection) section DM A.
A communication control device W is obtained that can prevent the spread of secondary failures as much as possible.

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

第1図は本発明の一実施例である通信制御装置全体の構
成を示すブロック図、第2図はメモリレイアウト図、第
3図はその共通制御部の構成の一例を示す図である。 11・・・・・・共通制御部、12・・・・・・メモリ
、13・・・°°°上位装置インタフェースM、10−
1 、・・・・・・、10−n・・・・・回線接続部、
20・・・・・・実行処理制御手段、21・・・・・・
エラー割込要求報告手段、22・・・・・・メモリアド
レス境界格納手段、23・・・・・・メモリアドレス比
較手段、24・・・・・・メモリアドレス格納手段、2
5・・・・・・DMAチャネルアドレス格納手段、26
・・・・・・優先順位選択手段、100・・・・・・バ
ス線。
FIG. 1 is a block diagram showing the overall configuration of a communication control device according to an embodiment of the present invention, FIG. 2 is a memory layout diagram, and FIG. 3 is a diagram showing an example of the configuration of a common control unit thereof. 11...Common control unit, 12...Memory, 13...°°° Host device interface M, 10-
1,...,10-n...line connection part,
20... Execution processing control means, 21...
Error interrupt request reporting means, 22... Memory address boundary storage means, 23... Memory address comparison means, 24... Memory address storage means, 2
5...DMA channel address storage means, 26
...Priority selection means, 100...Bus line.

Claims (1)

【特許請求の範囲】[Claims] 回線接続部を多数有し回線を時分割に多重制御する通信
制御装置において、共通制御部内にプログラムで書込可
能なメモリアドレス境界格納手段と、該メモリアドレス
格納手段の内容とメモリアドレスバスの内容を比較する
メモリアドレス比較手段と、ダイレクトメモリアクセス
動作中に前記任意回線接続部が上記メモリアドレス境界
を越えてメモリ内のデータバッ7ア領域外をアクセスし
た場合前記比較手段によりエラー検出を行い前記共通制
御部内の実行処理制御手段にエラー割込要求を報告する
エラー割込要求報告手段と、エラー回線接続部のメモリ
アクセス動作を禁止する実行処理制御手段と、エラー回
線接続部のメモリアドレスを格納するメモリアト1/ス
格納手段及びダイレクトメモリアクセスチャネルアドレ
スを格納するダイレクトメモリアクセスチャネルアドレ
ス格納手段とを含むことを特徴とする通信制御装置。
In a communication control device that has a large number of line connections and performs time-division multiplex control of the lines, a memory address boundary storage means that can be written by a program is provided in a common control unit, the contents of the memory address storage means, and the contents of a memory address bus. and a memory address comparing means for comparing the common memory addresses, and when the arbitrary line connection unit crosses the memory address boundary and accesses outside the data buffer area in the memory during the direct memory access operation, the comparing means detects an error and the common memory address is An error interrupt request reporting means for reporting an error interrupt request to the execution processing control means in the control unit, an execution processing control means for prohibiting memory access operation of the error line connection section, and storing a memory address of the error line connection section. 1. A communication control device comprising memory address storage means and direct memory access channel address storage means for storing a direct memory access channel address.
JP57146371A 1982-08-24 1982-08-24 Controlling device of communication Pending JPS5936845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57146371A JPS5936845A (en) 1982-08-24 1982-08-24 Controlling device of communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57146371A JPS5936845A (en) 1982-08-24 1982-08-24 Controlling device of communication

Publications (1)

Publication Number Publication Date
JPS5936845A true JPS5936845A (en) 1984-02-29

Family

ID=15406200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57146371A Pending JPS5936845A (en) 1982-08-24 1982-08-24 Controlling device of communication

Country Status (1)

Country Link
JP (1) JPS5936845A (en)

Similar Documents

Publication Publication Date Title
US4564900A (en) Multiprocessor computer system
EP0099125B1 (en) Multicomputer system having dual common memories
US7555627B2 (en) Input-output control apparatus, input-output control method, process control apparatus and process control method
JPS634209B2 (en)
JPS5936845A (en) Controlling device of communication
US20210349819A1 (en) Semiconductor device
KR100498909B1 (en) Inter-processor communication redundancy device of exchange system
CA2103619C (en) Abnormal packet processing system
JPH0152774B2 (en)
JPS59117658A (en) Common bus access managing device of multimicroprocessor system
JPH02173852A (en) Bus diagnostic device
JP2946541B2 (en) Redundant control system
JPS6162142A (en) I/o controller
JPS6113266B2 (en)
KR890002468B1 (en) Main storage fallure address control system in a data processing system
JPS59116998A (en) Trouble detecting system of main memory
JPH11120087A (en) Dual-memory processor
JPH05298193A (en) Memory access fault detecting circuit
JP2000276364A (en) Method for restoring fault, central processing unit and central processing system
JPH06202879A (en) Interrupt processing method
JPH02297650A (en) Receiver
JPH05204775A (en) Local memory diagnostic device
JPH04281543A (en) Fault processor
JPH03119448A (en) Data processor
JPH0336650A (en) Memory protecting system