JP3436208B2 - Communication control device tracing method and method - Google Patents

Communication control device tracing method and method

Info

Publication number
JP3436208B2
JP3436208B2 JP31438399A JP31438399A JP3436208B2 JP 3436208 B2 JP3436208 B2 JP 3436208B2 JP 31438399 A JP31438399 A JP 31438399A JP 31438399 A JP31438399 A JP 31438399A JP 3436208 B2 JP3436208 B2 JP 3436208B2
Authority
JP
Japan
Prior art keywords
signal
line
communication control
control device
state
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
JP31438399A
Other languages
Japanese (ja)
Other versions
JP2001136232A (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.)
NEC Corp
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP31438399A priority Critical patent/JP3436208B2/en
Publication of JP2001136232A publication Critical patent/JP2001136232A/en
Application granted granted Critical
Publication of JP3436208B2 publication Critical patent/JP3436208B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信制御装置のト
レース方式に関し、特に通信回線インタフェース信号の
変化を検出してトレース情報を記録する通信制御装置の
トレース方式および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trace method for a communication control device, and more particularly to a trace method and method for a communication control device for detecting a change in a communication line interface signal and recording trace information.

【0002】[0002]

【従来の技術】通信制御装置(CCU)は、中央処理装
置系と通信回線との間に存在し、コンピュータと端末装
置間のデータの送信および受信を制御する装置であり、
通信回線との間にITU−T(国際電気通信連合−電気
通信標準化部門)勧告のV24,X21,V35等の通
信インタフェースを有する。
2. Description of the Related Art A communication control unit (CCU) is a device that exists between a central processing unit system and a communication line and controls transmission and reception of data between a computer and a terminal device.
It has a communication interface such as V24, X21, V35 recommended by ITU-T (International Telecommunication Union-Telecommunication Standardization Sector) between the communication line.

【0003】このような通信制御装置において、回線品
質、データ回線終端装置(DCE)障害、相手端末障害
等により引き起こされる通信障害の有効な切り分け手段
として、各種回線モニタ装置を使用する。
In such a communication control device, various line monitor devices are used as effective means for isolating communication faults caused by line quality, data line terminating equipment (DCE) fault, partner terminal fault and the like.

【0004】従来、通信制御装置と各種回線モニタ装置
との接続は、通信制御装置とデータ回線終端装置との間
を接続している通信ケーブルをはずして通信制御装置と
通信ケーブル、あるいは通信ケーブルとデータ回線終端
装置との間に各種回線モニタ装置を挿入していた。
Conventionally, the connection between a communication control device and various line monitoring devices is performed by disconnecting the communication cable connecting the communication control device and the data line terminating device to the communication control device and the communication cable or the communication cable. Various line monitoring devices were inserted between the data line terminating equipment.

【0005】[0005]

【発明が解決しようとする課題】しかし、上述の従来技
術には、以下のような問題点があった。
However, the above-mentioned conventional technique has the following problems.

【0006】第1の問題点は、各種回線モニタ装置の接
続のために通信を長時間切断してしまうということであ
る。
The first problem is that the communication is cut off for a long time due to the connection of various line monitoring devices.

【0007】その理由は、通信制御装置あるいはデータ
回線終端装置からケーブルを取り外す間および各種回線
モニタ装置にケーブルを接続する間、回線を切断してし
まうからである。
The reason is that the line is disconnected while the cable is removed from the communication control device or the data line terminating device and while the cable is connected to various line monitoring devices.

【0008】第2の問題点は、通信制御装置が採取して
いるトレース情報と各種回線モニタ装置が採取した回線
信号変化のデータとの時間関係を突き合わせて解析をす
るのが困難な場合があるということである。
The second problem is that it may be difficult to compare the trace information collected by the communication control device with the time relation between the line signal change data collected by the various line monitoring devices for analysis. That's what it means.

【0009】その理由は、通信制御装置が内蔵している
タイマと各種回線モニタが内蔵するタイマが同期してい
ないためである。
The reason is that the timer incorporated in the communication control device and the timer incorporated in various line monitors are not synchronized.

【0010】本発明の目的は、以上の問題点を解決する
回線状態記録手段を有する通信制御装置を提供すること
にある。
An object of the present invention is to provide a communication control device having line status recording means for solving the above problems.

【0011】[0011]

【課題を解決するための手段】本願第1の発明の通信制
御装置のトレース方式は、中央処理装置等の上位装置と
通信回線との間で回線インタフェース信号を制御する通
信制御装置において、前記通信制御装置は、前記回線イ
ンタフェース信号の状態をラッチする信号線ラッチ回
路,前記回線インタフェース信号の1つ前の状態を保持
する状態保持レジスタおよび前記信号線ラッチ回路と前
記状態保持レジスタとを比較し差が有れば割込信号を前
記シーケンサに発生する比較回路を有する信号線変化検
出部と、前記信号線変化検出部からの割込信号により前
記回線インタフェース信号の内容および前記通信制御装
置に有するリアルタイムクロックの内容から成るトレー
ス情報をメモリに書き込むシーケンサと、前記トレース
情報を記憶するメモリと、を備える、ことを特徴とす
る。
Trace form of the communication control device SUMMARY OF THE INVENTION The first invention is a communication control apparatus for controlling the line interface signals between a host device such as a central processing unit and the communication line, the communication The control unit uses the line
Signal line latch circuit that latches the status of the interface signal
Hold the previous state of the line, the line interface signal
A status holding register and the signal line latch circuit
Compare with the status holding register, and if there is a difference, send the interrupt signal
Signal line change detection having comparison circuit generated in sequencer
The output section and the interrupt signal from the signal line change detection section
Contents of line interface signal and communication control device
Tray consisting of the contents of the real-time clock
Sequencer for writing information on memory to memory and the trace
And a memory for storing information .

【0012】本願第2の発明の通信制御装置のトレース
方式は、第1の発明において前記通信制御装置は、前記
回線インタフェース信号を選択する選択回路を備える、
ことを特徴とする。
The trace method of the communication control apparatus according to the second invention of the present application is the communication control apparatus according to the first invention, wherein:
A selection circuit for selecting a line interface signal,
It is characterized by

【0013】本願第3の発明の通信制御装置のトレース
方法は、中央処理装置等の上位装置と通信回線との間で
回線インタフェース信号を制御する通信制御装置のトレ
ース方法であって、信号線ラッチ回路は、前記回線イン
タフェース信号の状態をラッチし、比較回路は、状態保
持レジスタが保持する前記回線インタフェース信号の1
つ前の状態と前記信号線ラッチ回路がラッチした前記回
線インタフェース信号の状態とを比較し、差が有れば割
込信号をシーケンサに発生し、シーケンサは、前記比較
回路からの割込信号により前記回線インタフェース信号
の内容および前記通信制御装置に有するリアルタイムク
ロックの内容から成るトレース情報をメモリに書き込
み、メモリは、前記トレース情報を記憶する、ことを特
徴とする
Trace of the communication control device of the third invention of the present application
The method is to connect between the host device such as the central processing unit and the communication line.
Tray of communication control equipment that controls line interface signals
A signal line latch circuit,
The status of the interface signal is latched and the comparison circuit maintains the status.
One of the line interface signals held by the holding register
The previous state and the number of times the signal line latch circuit has latched
Compare with the state of the line interface signal, and if there is a difference,
Generate a built-in signal to the sequencer, and the sequencer
The line interface signal by the interrupt signal from the circuit
Content and real-time clock in the communication control device
Write trace information consisting of lock contents to memory
However, the memory stores the trace information.
To collect .

【0014】本願第4の発明の通信制御装置のトレース
方法は、第3の発明において前記信号線ラッチ回路は、
選択回路が選択した回線インタフェース信号の状態をラ
ッチする、ことを特徴とする
Trace of the communication control device of the fourth invention of the present application
The method is the signal line latch circuit in the third invention ,
The status of the line interface signal selected by the selection circuit
The feature is that

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【発明の実施の形態】本発明による通信制御装置のトレ
ース方式の特徴は、回線インタフェース信号の信号線変
化を検出して、回線インタフェース信号の変化時刻とそ
の信号状態を記憶する手段を有することである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A feature of the trace method of a communication control device according to the present invention is that it has means for detecting a signal line change of a line interface signal and storing a change time of the line interface signal and its signal state. is there.

【0019】本発明の第1の実施の形態について、図面
を参照して詳細に説明する。
The first embodiment of the present invention will be described in detail with reference to the drawings.

【0020】図1は、本発明の第1の実施の形態のブロ
ック図である。
FIG. 1 is a block diagram of the first embodiment of the present invention.

【0021】図2は、信号線変化検出部の構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing the configuration of the signal line change detection unit.

【0022】図1を参照すると、本発明の通信制御装置
10は、CPU20と、ROM30と、URT40と、
第1ローカルメモリ50と、リアルタイムクロック(以
降、RTCと略称する)60と、バス制御部70と、D
/R80と、コネクタ90と、シーケンサ200と、信
号線変化検出部300と、第2ローカルメモリ400
と、から構成されている。
Referring to FIG. 1, the communication control device 10 of the present invention includes a CPU 20, a ROM 30, a URT 40,
A first local memory 50, a real-time clock (hereinafter abbreviated as RTC) 60, a bus controller 70, D
/ R80, connector 90, sequencer 200, signal line change detection unit 300, and second local memory 400.
It consists of and.

【0023】CPU20は、通信制御装置10を制御す
るプロセッサである。
The CPU 20 is a processor that controls the communication control device 10.

【0024】ROM30は、通信制御装置10を制御す
るプログラムを格納している読み込み専用メモリであ
る。
The ROM 30 is a read-only memory that stores a program for controlling the communication control device 10.

【0025】URT40は、通信を制御する汎用通信制
御コントローラLSIである。
The URT 40 is a general-purpose communication control controller LSI that controls communication.

【0026】第1ローカルメモリ50は、通信制御プロ
グラムの作業領域,制御テーブル領域およびトレース格
納領域として使用される。
The first local memory 50 is used as a work area of the communication control program, a control table area and a trace storage area.

【0027】RTC60は、時刻計時装置である。The RTC 60 is a timekeeping device.

【0028】バス制御部70は、システムバスを制御す
るシステムバスコントローラである。
The bus control unit 70 is a system bus controller that controls the system bus.

【0029】D/R80は、ITU−T勧告に従うドラ
イバ/レシーバ回路である。
The D / R 80 is a driver / receiver circuit complying with the ITU-T recommendation.

【0030】コネクタ90は、ITU−T勧告に従う通
信コネクタである。
The connector 90 is a communication connector complying with the ITU-T recommendation.

【0031】なお、URT40とD/R80とコネクタ
90との間は、ITU−T勧告に従う信号線で結ばれて
いるが、図1では本発明のトレース方式を説明するため
に、ER(データ端末レディ)信号42,DR(データ
セットレディ)信号43,RS(送信要求)信号44,
CS(送信可)信号45およびCD(データチャネル受
信キャリア検出)信号46を例示している。
The URT 40, the D / R 80, and the connector 90 are connected by a signal line in accordance with the ITU-T recommendation. In FIG. 1, in order to explain the trace method of the present invention, the ER (data terminal) is used. Ready) signal 42, DR (data set ready) signal 43, RS (transmission request) signal 44,
A CS (ready to send) signal 45 and a CD (data channel received carrier detect) signal 46 are illustrated.

【0032】シーケンサ200は、信号線変化検出部3
00からの割込信号(INT2)301を検出すると、
RTC60の内容および信号線変化検出部300内の信
号線ラッチ出力を読み込み、第2ローカルメモリ400
に書き込む。
The sequencer 200 includes a signal line change detection unit 3
When an interrupt signal (INT2) 301 from 00 is detected,
The contents of the RTC 60 and the signal line latch output in the signal line change detection unit 300 are read, and the second local memory 400 is read.
Write in.

【0033】信号線変化検出部300は、CLOCK信
号302によってER信号42,DR信号43,RS信
号44,CS信号45およびCD信号46の状態をラッ
チし、信号線変化検出部300内に保持されたラッチ前
の状態と差が有れば、割込信号(INT2)301をシ
ーケンサ200に出力する。なお、信号線変化検出部3
00の詳細については後述する。
The signal line change detection unit 300 latches the states of the ER signal 42, the DR signal 43, the RS signal 44, the CS signal 45 and the CD signal 46 by the CLOCK signal 302 and holds them in the signal line change detection unit 300. If there is a difference from the state before latching, the interrupt signal (INT2) 301 is output to the sequencer 200. The signal line change detection unit 3
Details of 00 will be described later.

【0034】第2ローカルメモリ400は、ER信号4
2,DR信号43,RS信号44,CS信号45および
CD信号46の状態などを格納するトレース格納領域で
ある。第2ローカルメモリ400には、RTC60の内
容および信号線変化検出部300内の信号線ラッチ回路
310の内容がシーケンサ200により書き込まれる。
The second local memory 400 receives the ER signal 4
2, a trace storage area for storing the states of the DR signal 43, RS signal 44, CS signal 45, and CD signal 46. The contents of the RTC 60 and the contents of the signal line latch circuit 310 in the signal line change detection unit 300 are written in the second local memory 400 by the sequencer 200.

【0035】ここで、信号線変化検出部300の詳細に
ついて、図2を用いて説明する。
Details of the signal line change detecting section 300 will be described with reference to FIG.

【0036】図2を参照すると、信号線変化検出部30
0は、信号線ラッチ回路310,比較回路320および
状態保持レジスタ330から構成されている。
Referring to FIG. 2, the signal line change detection unit 30
0 is composed of a signal line latch circuit 310, a comparison circuit 320, and a state holding register 330.

【0037】信号線ラッチ回路310は、CLOCK信
号302に同期してER信号42,DR信号43,RS
信号44,CS信号45およびCD信号46の信号線の
状態をラッチし、比較回路320に出力する。
The signal line latch circuit 310 synchronizes with the CLOCK signal 302 and outputs the ER signal 42, the DR signal 43, and the RS signal.
The signal line states of the signal 44, the CS signal 45 and the CD signal 46 are latched and output to the comparison circuit 320.

【0038】比較回路320は、信号線ラッチ回路31
0と状態保持レジスタ330を常に比較し、差が有れば
第2割込信号301をシーケンサ200に出力する。
The comparison circuit 320 includes the signal line latch circuit 31.
0 is constantly compared with the state holding register 330, and if there is a difference, the second interrupt signal 301 is output to the sequencer 200.

【0039】状態保持レジスタ330は、信号線が変化
する1つ前の状態を保持し、比較回路320に出力して
いる。信号線が変化する1つ前の状態はシーケンサ20
0により書き込まれる。
The state holding register 330 holds the state immediately before the signal line changes and outputs it to the comparison circuit 320. The sequencer 20 is the state before the signal line is changed.
Written by 0.

【0040】本発明の第1の実施の形態の動作につい
て、図1〜図4を参照して詳細に説明する。
The operation of the first embodiment of the present invention will be described in detail with reference to FIGS.

【0041】図3は、信号線変化検出部300のタイミ
ングチャートを示す図である。
FIG. 3 is a diagram showing a timing chart of the signal line change detecting section 300.

【0042】図4は、シーケンサ200の動作フローチ
ャートを示す図である。
FIG. 4 is a diagram showing an operation flowchart of the sequencer 200.

【0043】先ず、図1を参照して、通信制御装置10
の通常動作について説明する。
First, referring to FIG. 1, the communication control device 10
The normal operation of will be described.

【0044】通信制御装置10の全体の動作は、ROM
30に格納されたプログラムに基づきCPU20により
制御されている。そして、予め設定されたトレースイベ
ントが発生する毎に、URT40はCPU20に割込信
号(INT1)41を発生させ、CPU20は第1ロー
カルメモリ50内にトレース情報とその発生時刻を記録
して、通信制御装置10自体の動作をトレースする。
The entire operation of the communication control device 10 is a ROM
It is controlled by the CPU 20 based on the program stored in 30. Then, each time a preset trace event occurs, the URT 40 causes the CPU 20 to generate an interrupt signal (INT1) 41, and the CPU 20 records the trace information and its occurrence time in the first local memory 50, and communicates. The operation of the control device 10 itself is traced.

【0045】次に、図2および図3を参照して、信号線
変化検出部300の動作について説明する。
Next, the operation of the signal line change detector 300 will be described with reference to FIGS. 2 and 3.

【0046】信号線ラッチ回路310は、CLOCK信
号302の立ち上がりに同期してER信号42,DR信
号43,RS信号44,CS信号45およびCD信号4
6の状態をラッチする。
The signal line latch circuit 310 synchronizes with the rising edge of the CLOCK signal 302, and the ER signal 42, the DR signal 43, the RS signal 44, the CS signal 45, and the CD signal 4.
Latch the state of 6.

【0047】時刻t0にER信号42が”0”から”
1”に変化すると、信号線ラッチ回路310はCLOC
K信号302の立ち上がり時刻t1にこの変化を検出し
てラッチし、時刻t2に信号状態”1”を比較回路32
0に出力する。
At time t0, the ER signal 42 changes from "0" to "0".
When the signal line latch circuit 310 changes to 1 ″, the signal line latch circuit 310 changes to CLOC.
This change is detected and latched at the rising time t1 of the K signal 302, and the signal state "1" is set to the comparison circuit 32 at time t2.
Output to 0.

【0048】この時、ER信号42の状態保持レジスタ
330の内容は”0”であるので、比較回路320は割
込信号(INT2)301をシーケンサ200に出力す
る。
At this time, since the content of the state holding register 330 of the ER signal 42 is "0", the comparison circuit 320 outputs the interrupt signal (INT2) 301 to the sequencer 200.

【0049】他の信号(DR信号43,RS信号44,
CS信号45.CD信号46)が変化した場合の動作も
同様である。
Other signals (DR signal 43, RS signal 44,
CS signal 45. The operation when the CD signal 46) changes is the same.

【0050】このように、信号線変化検出部300は回
線インタフェース信号の変化を検出する度に、シーケン
サ200に割込信号(INT2)301を発生する。
As described above, the signal line change detection unit 300 generates the interrupt signal (INT2) 301 to the sequencer 200 each time the change in the line interface signal is detected.

【0051】次に、図4を参照して、シーケンサ200
の動作を説明する。
Next, referring to FIG. 4, the sequencer 200
The operation of will be described.

【0052】シーケンサ200は、通信制御装置10の
起動時に第2ローカルメモリ400内のトレース格納領
域を示すトレースポインタおよび信号線変化検出部30
0内の状態保持レジスタ330を初期化する(ステップ
41)。
The sequencer 200 includes a trace pointer indicating the trace storage area in the second local memory 400 and the signal line change detecting section 30 when the communication control device 10 is activated.
The state holding register 330 in 0 is initialized (step 41).

【0053】信号線変化検出部300からの割込信号
(INT2)301を監視し、割込が有ればRTC60
の内容を読み込む(ステップ42〜43)。
The interrupt signal (INT2) 301 from the signal line change detection unit 300 is monitored, and if there is an interrupt, the RTC 60
Is read (steps 42 to 43).

【0054】現在のトレースポインタが示す第2ローカ
ルメモリ400のアドレスに、RTC60から読み込ん
だ時刻と信号線変化検出部300内の信号線ラッチ回路
310の内容を書き込む(ステップ44)。
At the address of the second local memory 400 indicated by the current trace pointer, the time read from the RTC 60 and the contents of the signal line latch circuit 310 in the signal line change detection unit 300 are written (step 44).

【0055】信号線ラッチ回路310の内容を状態保持
レジスタ330に書き込み、トレースポインタを進めて
割込信号(INT2)301待ち状態に戻る(ステップ
45〜46)。
The contents of the signal line latch circuit 310 are written in the state holding register 330, the trace pointer is advanced, and the state returns to the waiting state of the interrupt signal (INT2) 301 (steps 45 to 46).

【0056】このように、常に信号線変化の時刻とその
時の状態を第2ローカルメモリ400内に記録すること
が出来る。
In this way, the time when the signal line changes and the state at that time can always be recorded in the second local memory 400.

【0057】本発明の第2の実施の形態について、図面
を参照して詳細に説明する。
The second embodiment of the present invention will be described in detail with reference to the drawings.

【0058】図5は、本発明の第2の実施の形態のブロ
ック図である。
FIG. 5 is a block diagram of the second embodiment of the present invention.

【0059】図5を参照すると、本発明の通信制御装置
11は、CPU20と、ROM30と、URT40と、
第1ローカルメモリ50と、RTC60と、バス制御部
70と、D/R80と、コネクタ90と、シーケンサ2
00と、信号線変化検出部600と、第2ローカルメモ
リ400と、選択回路500と、から構成されている。
図1の通信制御装置10に対して、信号線変化検出部3
00を信号線変化検出部600に置換し、選択回路50
0を追加した形態になっている。
Referring to FIG. 5, the communication control device 11 of the present invention includes a CPU 20, a ROM 30, a URT 40,
First local memory 50, RTC 60, bus control unit 70, D / R 80, connector 90, sequencer 2
00, a signal line change detection unit 600, a second local memory 400, and a selection circuit 500.
The signal line change detection unit 3 is different from the communication control device 10 of FIG.
00 is replaced with the signal line change detection unit 600, and the selection circuit 50
It has a form in which 0 is added.

【0060】選択回路500は、ER信号42,DR信
号43,RS信号44,CS信号45およびCD信号4
6の各信号線を信号線変化検出部600にそれぞれ接続
するかどうかを選択するスイッチ群である。なお、スイ
ッチをオフにしても信号線変化検出部600内の信号線
ラッチ回路の出力側が不安定とならないように、信号線
ラッチ回路の入力側にはプルダウン抵抗を付加する。
The selection circuit 500 includes an ER signal 42, a DR signal 43, an RS signal 44, a CS signal 45 and a CD signal 4.
6 is a switch group for selecting whether or not to connect each signal line 6 to the signal line change detection unit 600. A pull-down resistor is added to the input side of the signal line latch circuit so that the output side of the signal line latch circuit in the signal line change detection unit 600 does not become unstable even if the switch is turned off.

【0061】信号線変化検出部600は、信号線変化検
出部300と同様に信号線ラッチ回路と比較回路と状態
保持レジスタとから成り、信号線変化検出部300と同
様の機能を持つ。且つ、選択回路500で選択された信
号線に関してのみ信号線ラッチ回路と比較回路と状態保
持レジスタが作用するように制御する。
Like the signal line change detection unit 300, the signal line change detection unit 600 includes a signal line latch circuit, a comparison circuit, and a state holding register, and has the same function as the signal line change detection unit 300. In addition, the signal line latch circuit, the comparison circuit, and the state holding register are controlled so that only the signal line selected by the selection circuit 500 operates.

【0062】本発明の第2の実施の形態の動作につい
て、図面を参照して詳細に説明する。
The operation of the second embodiment of the present invention will be described in detail with reference to the drawings.

【0063】例えば、ER信号42,DR信号43,R
S信号44,CS信号45,CD信号46の5本の信号
線のうち、RS信号44,CS信号45およびCD信号
46の3本の信号線変化だけを記録したい場合、この3
本の信号線と信号線変化検出部600を接続しているス
イッチをオンにする。
For example, ER signal 42, DR signal 43, R
Of the five signal lines of S signal 44, CS signal 45, and CD signal 46, if it is desired to record only three signal line changes of RS signal 44, CS signal 45, and CD signal 46, this 3
A switch that connects the signal line of the book and the signal line change detection unit 600 is turned on.

【0064】シーケンサ200は、信号線変化検出部6
00からの割込信号(INT2)301を監視し、割込
が有ればRTC60の内容を読み込む。RTC60から
読み込んだ時刻と信号線変化検出部600内の信号線ラ
ッチ回路の中で選択されたRS信号44,CS信号45
およびCD信号46の内容を、現在のトレースポインタ
が示す第2ローカルメモリ400のアドレスに書き込
む。
The sequencer 200 includes the signal line change detection unit 6
The interrupt signal (INT2) 301 from 00 is monitored, and if there is an interrupt, the contents of the RTC 60 are read. The time read from the RTC 60 and the RS signal 44 and the CS signal 45 selected in the signal line latch circuit in the signal line change detection unit 600.
And the contents of the CD signal 46 are written to the address of the second local memory 400 indicated by the current trace pointer.

【0065】このように、本実施の形態では、必要な信
号線のみの変化を記録するので、第2ローカルメモリ4
00の容量を節約することができるという新たな効果を
有する。
As described above, in the present embodiment, since the change of only the necessary signal line is recorded, the second local memory 4
The new effect is that the capacity of 00 can be saved.

【0066】[0066]

【発明の効果】第1の効果は、通信制御装置内に回線信
号の時間的変化を記録するので、DCE等との間に各種
回線モニタを接続する為に長時間通信を切断する必要が
ないと言うことである。
The first effect is that since the time change of the line signal is recorded in the communication control device, it is not necessary to disconnect the communication for a long time in order to connect various line monitors with the DCE or the like. Is to say.

【0067】その理由は、信号線変化検出機能と信号線
変化検出時に信号状態と時刻を記録する手段を設けたこ
とにより各種回線モニタの接続が不要になるからであ
る。
The reason is that the connection of various line monitors becomes unnecessary by providing the signal line change detection function and the means for recording the signal state and the time when the signal line change is detected.

【0068】第2の効果は、通信制御装置が元々収集し
ているトレース情報と信号線変化の時間関係が明確にな
り、障害解析が容易になると言うことである。
The second effect is that the time relationship between the trace information originally collected by the communication control device and the signal line change becomes clear, and the failure analysis becomes easy.

【0069】その理由は、通信制御装置に元々内蔵され
たRTCを使用して信号線変化時刻を記録しているから
である。
The reason is that the RTC originally built in the communication control device is used to record the signal line change time.

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

【図1】本発明の第1の実施の形態のブロック図FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】信号線変化検出部の構成を示すブロック図FIG. 2 is a block diagram showing a configuration of a signal line change detection unit.

【図3】信号線変化検出部のタイミングチャートFIG. 3 is a timing chart of a signal line change detection unit.

【図4】シーケンサの動作フローチャート[Figure 4] Flowchart of sequencer operation

【図5】本発明の第2の実施の形態のブロック図FIG. 5 is a block diagram of a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 通信制御装置 11 通信制御装置 20 CPU 30 ROM 40 URT 41 割込信号(INT1) 42 ER信号 43 DR信号 44 RS信号 45 CS信号 46 CD信号 50 第1ローカルメモリ 60 RTC 70 バス制御部 80 D/R 90 コネクタ 200 シーケンサ 300 信号線変化検出部 301 割込信号(INT2) 302 CLOCK信号 310 信号線ラッチ回路 320 比較回路 330 状態保持レジスタ 400 第2ローカルメモリ 500 選択回路 600 信号線変化検出部 10 Communication control device 11 Communication control device 20 CPU 30 ROM 40 URT 41 Interrupt signal (INT1) 42 ER signal 43 DR signal 44 RS signal 45 CS signal 46 CD signal 50 First local memory 60 RTC 70 Bus control unit 80 D / R 90 connector 200 sequencer 300 Signal line change detector 301 Interrupt signal (INT2) 302 CLOCK signal 310 signal line latch circuit 320 comparison circuit 330 Status holding register 400 Second local memory 500 selection circuit 600 Signal line change detector

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 中央処理装置等の上位装置と通信回線と
の間で回線インタフェース信号を制御する通信制御装置
において、前記通信制御装置は、 前記回線インタフェース信号の状態をラッチする信号線
ラッチ回路,前記回線インタフェース信号の1つ前の状
態を保持する状態保持レジスタおよび前記信号線ラッチ
回路と前記状態保持レジスタとを比較し差が有れば割込
信号を前記シーケンサに発生する比較回路を有する信号
線変化検出部と、 前記信号線変化検出部からの割込信号により前記回線イ
ンタフェース信号の内容および前記通信制御装置に有す
るリアルタイムクロックの内容から成るトレース情報を
メモリに書き込むシーケンサと、 前記トレース情報を記憶するメモリと、 を備える、 ことを特徴とする通信制御装置のトレース方式。
1. A communication control device for controlling a line interface signal between a host device such as a central processing unit and a communication line, wherein the communication control device latches a state of the line interface signal.
Latch circuit, one state before the line interface signal
Holding register for holding state and signal line latch
Compare the circuit and the status holding register, and if there is a difference, interrupt
Signal having a comparison circuit for generating a signal to the sequencer
The line change detection unit and the line signal by the interrupt signal from the signal line change detection unit.
Interface signal content and the communication control device
Trace information consisting of the contents of the real-time clock
A trace method for a communication control device , comprising: a sequencer for writing in a memory; and a memory for storing the trace information .
【請求項2】 前記通信制御装置は、 前記回線インタフェース信号を選択する選択回路を備え
る、 ことを特徴とする請求項1記載の 通信制御装置のトレー
ス方式。
2. The communication control device comprises a selection circuit for selecting the line interface signal.
That, trace form of the communication control apparatus according to claim 1, wherein a.
【請求項3】 中央処理装置等の上位装置と通信回線と
の間で回線インタフェース信号を制御する通信制御装置
のトレース方法であって、 信号線ラッチ回路は、 前記回線インタフェース信号の状態をラッチし、 比較回路は、 状態保持レジスタが保持する前記回線インタフェース信
号の1つ前の状態と前記信号線ラッチ回路がラッチした
前記回線インタフェース信号の状態とを比較し、 差が有れば割込信号をシーケンサに発生し、 シーケンサは、 前記比較回路からの割込信号により前記回線インタフェ
ース信号の内容および前記通信制御装置に有するリアル
タイムクロックの内容から成るトレース情報をメモリに
書き込み、 メモリは、 前記トレース情報を記憶する、 ことを特徴とする通信制御装置のトレース方法
3. A host device such as a central processing unit and a communication line
Control device for controlling line interface signals between
The signal line latch circuit latches the state of the line interface signal, and the comparison circuit uses the line interface signal held by the state holding register.
The signal line latch circuit was latched with the state one before the signal.
The state of the line interface signal is compared, and if there is a difference, an interrupt signal is generated in the sequencer, and the sequencer receives the interrupt signal from the comparison circuit and the line interface
Content of the source signal and the real that the communication control device has
Trace information consisting of the contents of the time clock is stored in memory
A trace method for a communication control device, characterized in that the trace information is stored in a memory for writing .
【請求項4】 前記信号線ラッチ回路は、 選択回路が選択した回線インタフェース信号の状態をラ
ッチする、ことを特徴とする請求項3記載の通信制御装
置のトレース方法
4. The signal line latch circuit changes the state of the line interface signal selected by the selection circuit.
4. The communication control device according to claim 3, wherein
Method of tracing .
JP31438399A 1999-11-04 1999-11-04 Communication control device tracing method and method Expired - Fee Related JP3436208B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31438399A JP3436208B2 (en) 1999-11-04 1999-11-04 Communication control device tracing method and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31438399A JP3436208B2 (en) 1999-11-04 1999-11-04 Communication control device tracing method and method

Publications (2)

Publication Number Publication Date
JP2001136232A JP2001136232A (en) 2001-05-18
JP3436208B2 true JP3436208B2 (en) 2003-08-11

Family

ID=18052691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31438399A Expired - Fee Related JP3436208B2 (en) 1999-11-04 1999-11-04 Communication control device tracing method and method

Country Status (1)

Country Link
JP (1) JP3436208B2 (en)

Also Published As

Publication number Publication date
JP2001136232A (en) 2001-05-18

Similar Documents

Publication Publication Date Title
JP3367970B2 (en) How to monitor distributed systems
US7478273B2 (en) Computer system including active system and redundant system and state acquisition method
JP2000194608A (en) Local capture module of bus and/or interface for diagnostic analyzer
WO2022083060A1 (en) Fifo memory and processing method for fifo memory
JP3436208B2 (en) Communication control device tracing method and method
JP2570995B2 (en) Disk controller
JP3445443B2 (en) Communication control method
KR200167747Y1 (en) Dc bus loop-back test system for exchange
JP2009110284A (en) Signal processor, card type device, and fault reproduction method
JPH08147195A (en) Fault detecting/recording device
JP3064024B2 (en) Line monitor for remote monitoring and control system
JPH11134261A (en) Input and output controller
JP2998439B2 (en) Line controller
JP2763240B2 (en) Network management method
JP3277526B2 (en) Bus adapter monitoring system
JPH07319804A (en) Scsi bus monitoring device and bus monitoring system
JPS6218943B2 (en)
JP2022033610A (en) Device for electronic apparatus, control method for device for electronic apparatus, and control program for device for electronic apparatus
JP3425933B2 (en) Asynchronous inter-system information transfer method, device therefor, and recording medium recording control program therefor
JP2594848B2 (en) Data collection device
JPH0573443A (en) Interface bus controller
JPH05158627A (en) Disk device
JPH0563062B2 (en)
JPH05158837A (en) Message queuing control system for information processing system
JPH08139784A (en) Communication data controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030506

LAPS Cancellation because of no payment of annual fees