JP2575145B2 - Control circuit monitoring method and device - Google Patents

Control circuit monitoring method and device

Info

Publication number
JP2575145B2
JP2575145B2 JP62192588A JP19258887A JP2575145B2 JP 2575145 B2 JP2575145 B2 JP 2575145B2 JP 62192588 A JP62192588 A JP 62192588A JP 19258887 A JP19258887 A JP 19258887A JP 2575145 B2 JP2575145 B2 JP 2575145B2
Authority
JP
Japan
Prior art keywords
control circuit
state
state counter
output
read pulse
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 - Fee Related
Application number
JP62192588A
Other languages
Japanese (ja)
Other versions
JPS6437197A (en
Inventor
直人 加々美
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62192588A priority Critical patent/JP2575145B2/en
Publication of JPS6437197A publication Critical patent/JPS6437197A/en
Application granted granted Critical
Publication of JP2575145B2 publication Critical patent/JP2575145B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は制御回路監視方式、特に総合デジタル網(IS
DN)に接続する端末装置(TE)における回線の起動・非
起動を行う制御回路監視方式及びその装置に関するもの
である。
The present invention relates to a control circuit monitoring method, and particularly to an integrated digital network (IS).
The present invention relates to a control circuit monitoring method for activating / deactivating a line in a terminal device (TE) connected to a terminal device (DN) and a device thereof.

[従来の技術] 国際電信電話諮問委員会(CCITT)では、端末装置(T
E)と回線終端装置(NT)の伝送制御手順をレイヤ1の
プロトコルとして規定している。起動・非起動の手順
は、レイヤ1のプロトコルに含まれていて、ISDN網に接
続する端末は、電話,フアクシミリ等のすべてこのレイ
ヤ1のプロトコルを持つことが義務づけられている。
[Prior art] The International Telegraph and Telephone Consultative Committee (CCITT)
The transmission control procedure between E) and the line termination (NT) is defined as a layer 1 protocol. The activation / non-activation procedure is included in the layer 1 protocol, and it is required that all terminals connected to the ISDN network have this layer 1 protocol, such as telephone and facsimile.

従来、通信プロトコルは、マイクロプロセツサによる
ソフトウエアで制御されていた。従つて、回線の障害等
により通信の不成功が発生した時は、マイクロプロセツ
サに管理されるメモリに記憶されている通信プロトコル
の履歴を解析することにより容易に障害の原因調査が可
能であつた。例えば、通信されたコマンド,レスポンス
等をメモリに蓄積し、必要に応じて出力するという方式
である。
Conventionally, the communication protocol has been controlled by software by a microprocessor. Therefore, when a communication failure occurs due to a line failure or the like, the cause of the failure can be easily investigated by analyzing the history of the communication protocol stored in the memory managed by the microprocessor. Was. For example, there is a method in which communicated commands, responses, and the like are stored in a memory and output as necessary.

しかし、ISDN網でのレイヤ1のプロトコルは高速で行
なわれなければならず、又電話端末のように小規模の回
路構成にしなければならない。従つて、制御回路の監視
はハードウエアで構成してLSI化する方が一般的であ
り、マイクロプロセツサによるソフトウエアで実現する
のは適していない。
However, the protocol of the layer 1 in the ISDN network must be performed at a high speed, and a small-scale circuit configuration such as a telephone terminal must be used. Therefore, it is general that the monitoring of the control circuit is implemented by hardware and is implemented as an LSI, and it is not suitable to realize the control circuit by software using a microprocessor.

[発明が解決しようとする問題点] 本発明は、ISDNのレイヤ1のプロトコルのような高速
で行なわれる通信の履歴をハード的に記憶し、回線の障
害等の発生により通信が不成功に終わつた場合の原因解
析をすみやかに行うための、制御回路監視方式及びその
装置を提供する。
[Problems to be Solved by the Invention] According to the present invention, the history of high-speed communication such as the ISDN layer 1 protocol is stored in hardware, and the communication is unsuccessfully terminated due to the occurrence of a line failure or the like. Provided is a control circuit monitoring method and a device therefor for promptly analyzing the cause when the control circuit is used.

[問題点を解決するための手段及び作用] この問題点を解決するための一手段として、本発明の
制御回路監視方式は、回線の起動・非起動を行う制御回
路の監視方式であつて、該制御回路を、回路の状態を示
す状態カウンタと該状態カウンタの値に対応して制御を
行う状態制御回路とから構成し、前記状態カウンタの変
化に対応して、前記状態カウンタの出力を履歴を保つた
まま記憶する記憶手段と、所定条件の下で前記記憶手段
の内容を出力する出力手段とを備え、前記制御回路を前
記状態カウンタの履歴に基づいて監視する。
[Means and Actions for Solving the Problems] As one means for solving the problems, the control circuit monitoring method of the present invention is a control circuit monitoring method for activating / deactivating a line. The control circuit includes a state counter indicating a state of the circuit and a state control circuit that performs control in accordance with the value of the state counter, and outputs an output of the state counter in response to a change in the state counter. And storage means for outputting the contents of the storage means under predetermined conditions, and monitors the control circuit based on the history of the state counter.

又、本発明の制御回路監視装置は、回路の状態を示す
状態カウンタと該状態カウンタの値に対応して制御を行
う状態制御回路とから構成される、回線の起動・非起動
を行う制御回路を監視する制御回路監視装置であつて、
前記状態カウンタの出力を履歴を保つたまま記憶する記
憶手段と、前記状態カウンタの変化を検出して、前記記
憶手段のライトパルスを作成するライトパルス作成手段
と、前記記憶手段のフル状態、又は外部からの指示を検
出して、前記記憶手段のリードパルスを作成するリード
パルス作成手段と、該リードパルス作成手段の作成した
リードパルスに対応して、前記記憶手段の内容を出力す
る出力手段とを備える。
Further, the control circuit monitoring device according to the present invention is a control circuit for activating / deactivating a line, comprising: a state counter indicating a state of the circuit; and a state control circuit performing control in accordance with the value of the state counter. A control circuit monitoring device for monitoring
A storage unit that stores the output of the state counter while maintaining a history, a change in the state counter, and a write pulse generation unit that generates a write pulse of the storage unit; and a full state of the storage unit, or Read pulse generating means for detecting a command from outside and generating a read pulse for the storage means; and output means for outputting the contents of the storage means in response to the read pulse generated by the read pulse generating means. Is provided.

[実施例] 第1図は本発明の制御回路監視方式を実現する装置の
一実施例の構成を示す図である。
Embodiment FIG. 1 is a diagram showing the configuration of an embodiment of an apparatus for realizing a control circuit monitoring method according to the present invention.

図中、1は制御回路10の状態を示す状態カウンタ、2
は状態カウンタ1に対応して、通信プロトコルに従い回
線制御を行う状態制御回路、3は状態カウンタの出力を
記憶するFIFOメモリ、4はFIFOメモリの出力を表示する
表示回路、5は状態カウンタの出力の変化を検出して、
FIFOメモリのライトパルスを作成するライトパルス作成
回路、6はFIFOメモリの出力を表示させたい時押下する
表示起動用ノンロツクスイツチ、7は表示起動用ノンク
ロツクスイツチが押下された時、又はFIFOメモリのフル
状態を検出した時、FIFOメモリのリードパルスを発生す
るリードパルス作成回路である。
In the figure, 1 is a state counter indicating the state of the control circuit 10, 2
Is a state control circuit that performs line control according to the communication protocol corresponding to the state counter 1, 3 is a FIFO memory that stores the output of the state counter, 4 is a display circuit that displays the output of the FIFO memory, and 5 is the output of the state counter. Detect changes in
A write pulse generating circuit for generating a write pulse of the FIFO memory, 6 is a non-switch switch for display activation which is depressed when the output of the FIFO memory is to be displayed, 7 is a non-clock switch for display activation which is depressed, or This is a read pulse generation circuit that generates a read pulse for the FIFO memory when a full state of the memory is detected.

上記構成において、端末装置(TE)が、ISDNのレイヤ
1のプロトコルである起動手順を実行する時、状態制御
回路2は回線終端装置から受信された信号により、状態
カウンタ1を制御しつつ通信を行う。この時、状態カウ
ンタ1の値はレイヤ1のプロトコルの状態遷移表の状態
番号を示している。
In the above configuration, when the terminal device (TE) executes a start-up procedure which is an ISDN layer 1 protocol, the state control circuit 2 performs communication while controlling the state counter 1 based on a signal received from the line termination device. Do. At this time, the value of the state counter 1 indicates the state number of the state transition table of the layer 1 protocol.

ライトパルス作成回路5は、状態カウンタ1の出力即
ち状態番号の変化を検出し、FIFOメモリ3のライトパル
スを発生する。従つて状態番号が変化した時、各変化毎
に状態番号がFIFOメモリ3に書き込まれる。ここでFIFO
メモリ3がフル状態になると、FIFOメモリ3よりの入力
レデイ信号がOFFとなり、この入力レデイ信号のOFF状態
を検出したリードパルス作成回路7は、FIFOメモリ3の
リードパルスを1クロツク発生し、FIFOメモリ3のデー
タを読み捨てる。この動作により、FIFOメモリ3には常
に最新の状態カウンタ1の出力、即ち状態番号が記憶さ
れている事になる。
The write pulse generation circuit 5 detects a change in the output of the state counter 1, that is, a change in the state number, and generates a write pulse for the FIFO memory 3. Accordingly, when the state number changes, the state number is written to the FIFO memory 3 for each change. Where FIFO
When the memory 3 is full, the input ready signal from the FIFO memory 3 is turned off, and the read pulse generation circuit 7 which detects the OFF state of the input ready signal generates one read pulse from the FIFO memory 3 and outputs the read pulse. The data in the memory 3 is read and discarded. By this operation, the latest output of the state counter 1, that is, the state number, is always stored in the FIFO memory 3.

ここで、FIFOメモリ3に記憶された状態番号を表示さ
せる時は、表示起動用ノンロツクスイツチ6を押下す
る。
Here, when the state number stored in the FIFO memory 3 is displayed, the display activation non-switch switch 6 is pressed.

表示起動用ノンロツクスイツチ6は、1回の押下で、
FIFOメモリ3のリードパルスを1クロツク発生させる。
このリードパルスによりFIFOメモリ3より出力された状
態番号は表示部4に入力され、表示される。以上の動作
を繰返し行う事により、レイヤ1のプロトコルの起動・
非起動手順の履歴を取ることができる。
The display activation non-rotating switch 6 is pressed once.
The read pulse of the FIFO memory 3 is generated for one clock.
The state number output from the FIFO memory 3 by this read pulse is input to the display unit 4 and displayed. By repeating the above operation, the layer 1 protocol can be started and
A history of non-startup procedures can be taken.

次に、FIFOメモリ3の出力をMPUで読み取り、レイヤ
1のプロトコルの起動・非起動手順の履歴を自動でチエ
ツクする装置の実施例を第2図に示す。
Next, FIG. 2 shows an embodiment of an apparatus for reading the output of the FIFO memory 3 by the MPU and automatically checking the history of the activation / deactivation procedure of the layer 1 protocol.

ここで、FIFOメモリ3に記憶された状態番号をMPU8に
読み取る時は、MPU8が発生するリード命令がリードパル
ス作成回路7aに入力され、リードパルス作成回路7aがFI
FOメモリ3のリードパルスを発生する。以上の動作によ
りMPU8に読み取られた通信プロトコルの履歴は、MPU8に
接続する出力部(プリンタ又はLCD)等にそのまま出力
されたり、更に分析されてその結果が出力される。尚、
第1図と同じ参照番号のものは、前述と同じ動作をす
る。
Here, when reading the state number stored in the FIFO memory 3 to the MPU 8, a read instruction generated by the MPU 8 is input to the read pulse generation circuit 7a, and the read pulse generation circuit 7a
A read pulse for the FO memory 3 is generated. The history of the communication protocol read by the MPU 8 by the above operation is directly output to an output unit (printer or LCD) or the like connected to the MPU 8 or further analyzed and the result is output. still,
Those having the same reference numbers as in FIG. 1 perform the same operations as described above.

更に、リードパルス作成回路を手動スイツチとMPUと
の双方から制御してもよい。
Further, the read pulse generation circuit may be controlled from both the manual switch and the MPU.

以上説明したように、ロジツクアナライザ等を使用せ
ずに、ハードウエアで構成された通信状態制御回路の履
歴を残す事ができ、障害発生時等通信が不成功に終わつ
た時の原因解析に使用する事ができる。
As described above, the history of the communication state control circuit composed of hardware can be left without using a logic analyzer, etc., and it is possible to analyze the cause when communication is unsuccessful, such as when a failure occurs. Can be used.

尚、本実施例では回線の起動・非起動を制御する制御
回路の監視について説明したが、本発明の技術思想は回
路の状態を示す状態カウンタと該状態カウンタの値に対
応して制御を行う状態制御回路とから構成される回路で
あれば、その監視として適応できる。
In this embodiment, the monitoring of the control circuit for controlling the activation / deactivation of the line has been described. However, according to the technical idea of the present invention, the state counter indicating the state of the circuit and the control corresponding to the value of the state counter are performed. If the circuit is composed of a state control circuit, the monitoring can be applied.

[発明の効果] 本発明により、ISDNのレイヤ1のプロトコルのような
高速で行なわれる通信の履歴をハード的に記憶し、回線
の障害等の発生により通信が不成功に終わつた場合の原
因解析をすみやかに行うための、制御回路監視方式及び
その装置を提供できる。
[Effects of the Invention] According to the present invention, the history of high-speed communication such as the ISDN layer 1 protocol is stored in a hardware manner, and the cause analysis when the communication is unsuccessfully terminated due to the occurrence of a line failure or the like. A control circuit monitoring method and a device therefor can be provided for promptly performing the control.

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

第1図は本発明の制御回路監視方式を実現する一実施例
の装置の構成図、 第2図は本発明の制御回路監視方式を実現する他の実施
例の装置の構成図である。 図中、1……状態カウンタ、2……状態制御回路、3…
…FIFOメモリ、4は表示部、5……ライトパルス作成回
路、6……ノンロツクスイツチ、7……リードパルス作
成回路、7a……リードパルス作成回路、8……MPU、10
……制御回路である。
FIG. 1 is a block diagram of an apparatus for realizing a control circuit monitoring method of the present invention according to one embodiment, and FIG. 2 is a block diagram of an apparatus of another embodiment for realizing a control circuit monitoring method of the present invention. In the figure, 1... State counter, 2... State control circuit, 3.
... FIFO memory, 4 is a display unit, 5 is a write pulse generating circuit, 6 is a non-rotary switch, 7 is a read pulse generating circuit, 7a is a read pulse generating circuit, 8 is an MPU, 10
... A control circuit.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】回線の起動・非起動を行う制御回路の監視
方式であつて、 該制御回路を、回路の状態を示す状態カウンタと該状態
カウンタの値に対応して制御を行う状態制御回路とから
構成し、 前記状態カウンタの変化に対応して、前記状態カウンタ
の出力を履歴を保つたまま記憶する記憶手段と、 所定条件の下で前記記憶手段の内容を出力する出力手段
とを備え、 前記制御回路を前記状態カウンタの履歴に基づいて監視
することを特徴とする制御回路監視方式。
1. A monitoring method for a control circuit that activates and deactivates a line, comprising: a state counter that indicates a state of the circuit; and a state control circuit that controls the control circuit in accordance with the value of the state counter. Storage means for storing the output of the state counter while keeping a history in accordance with the change of the state counter; and output means for outputting the contents of the storage means under predetermined conditions. And a control circuit monitoring method for monitoring the control circuit based on a history of the state counter.
【請求項2】回路の状態を示す状態カウンタと該状態カ
ウンタの値に対応して制御を行う状態制御回路とから構
成される。回線の起動・非起動を行う制御回路を監視す
る制御回路監視装置であつて、前記状態カウンタの出力
を履歴を保つたまま記憶する記憶手段と、 前記状態カウンタの変化を検出して、前記記憶手段のラ
イトパルスを作成するライトパルス作成手段と、 前記記憶手段のフル状態、又は外部からの指示を検出し
て、前記記憶手段のリードパルスを作成するリードパル
ス作成手段と、 該リードパルス作成手段の作成したリードパルスに対応
して、前記記憶手段の内容を出力する出力手段とを備え
ることを特徴とする制御回路監視装置。
And a state control circuit for performing control in accordance with the value of the state counter. A control circuit monitoring device that monitors a control circuit that activates and deactivates a line, a storage unit that stores an output of the state counter while keeping a history, and a storage unit that detects a change in the state counter and stores the output. A write pulse generating means for generating a write pulse, a read pulse generating means for detecting a full state of the storage means or an external instruction, and generating a read pulse for the storage means; Output means for outputting the contents of the storage means in response to the read pulse generated by the control circuit.
【請求項3】リードパルス作成手段は外部のスイツチを
備え、該スイツチからの指示でリードパルスを作成し、
出力手段は表示手段を備え、記憶手段の内容を該表示手
段に表示することを特徴とする特許請求の範囲第2項記
載の制御回路監視装置。
3. The read pulse generating means includes an external switch, and generates a read pulse according to an instruction from the switch.
3. The control circuit monitoring device according to claim 2, wherein the output means includes a display means, and the contents of the storage means are displayed on the display means.
【請求項4】前記リードパルス作成手段を制御し、前記
出力手段の出力した前記記憶手段の内容を分析する制御
手段を更に備えることを特徴とする特許請求の範囲第2
項記載の制御回路監視装置。
4. The apparatus according to claim 2, further comprising control means for controlling said read pulse generating means and analyzing the contents of said storage means outputted by said output means.
The control circuit monitoring device according to the item.
JP62192588A 1987-08-03 1987-08-03 Control circuit monitoring method and device Expired - Fee Related JP2575145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62192588A JP2575145B2 (en) 1987-08-03 1987-08-03 Control circuit monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62192588A JP2575145B2 (en) 1987-08-03 1987-08-03 Control circuit monitoring method and device

Publications (2)

Publication Number Publication Date
JPS6437197A JPS6437197A (en) 1989-02-07
JP2575145B2 true JP2575145B2 (en) 1997-01-22

Family

ID=16293777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62192588A Expired - Fee Related JP2575145B2 (en) 1987-08-03 1987-08-03 Control circuit monitoring method and device

Country Status (1)

Country Link
JP (1) JP2575145B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0852500A (en) * 1994-08-11 1996-02-27 Hirotsugu Kitajima Method for treating excess sludge and device therefor

Also Published As

Publication number Publication date
JPS6437197A (en) 1989-02-07

Similar Documents

Publication Publication Date Title
JP2575145B2 (en) Control circuit monitoring method and device
JP2733569B2 (en) Serial synchronous communication system
JP3195826B2 (en) Disturbance addition device for digital signal
JP2792357B2 (en) Remote monitoring and control device
KR19980051705A (en) Packet Board Test Method of Electronic Switch
JP2888582B2 (en) Facsimile machine
JPH05244230A (en) Data transmission test equipment
JP2552027B2 (en) I / O controller number setting method
JPS61270952A (en) Data transmitting system
JPH01149637A (en) System for monitoring polling control response
JPH0239654A (en) Modulator-demodulator
JPH07183889A (en) On-line testing method for each device in atm exchange
JPS63222548A (en) Data transmission test equipment
JPH07175744A (en) Channel control system
JP2002094512A (en) Fault detection method and interface unit and cell switch unit
JPH11249771A (en) Data transmission/reception equipment
JPH02303856A (en) Image recorder using thermal head
JPH07114412A (en) Communication abnormality analyzer for sequencer network
JPH04127641A (en) Line monitor control system
JPH06242821A (en) Programmable controller
JPH0192848A (en) Monitoring device for control command
JP2000013467A (en) Method and device for monitoring line
JPH07273835A (en) Numerical controller with serial communication state display function
JPH066422A (en) Communication tester
JPH04150442A (en) Interface testing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees