JPS62176242A - Line trace equipment - Google Patents

Line trace equipment

Info

Publication number
JPS62176242A
JPS62176242A JP61016813A JP1681386A JPS62176242A JP S62176242 A JPS62176242 A JP S62176242A JP 61016813 A JP61016813 A JP 61016813A JP 1681386 A JP1681386 A JP 1681386A JP S62176242 A JPS62176242 A JP S62176242A
Authority
JP
Japan
Prior art keywords
data
memory
trace
comparison
circuit
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
JP61016813A
Other languages
Japanese (ja)
Inventor
Yasuhisa Shiobara
康壽 塩原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61016813A priority Critical patent/JPS62176242A/en
Publication of JPS62176242A publication Critical patent/JPS62176242A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To efficiently troubleshoot an erroneous even in a transmission data by providing a trace start circuit detecting a data frame start pattern of a serial data, a slot counter counting a slot at each prescribed bit number and a trace counter. CONSTITUTION:When a trace start circuit 41 detects a start pattern included in a serial data, the tracing is started and a parallel data 66 converted in the unit of bits decided by a serial/parallel conversion circuit 42 is stored in a trace memory 40. Data signal lines D0-D7, a memory address signal ADR and a memory read/write signal R/W connect respectively to an external microprocessor. Then a memory read/write control circuit 30 switches memory address switch circuits 31, 32 and memory data switch circuits 33-36 to read/ write freely the content of a memory 40 and each memory (a command memory 37, a comparison data memory 38 and a mask data memory 39).

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は複数の制御装置を各々の伝送制御局を介して伝
送回線で接続し相互にデータの送受信を行うデータ伝送
装置に係り,特にシリアル伝送により稼動中の伝送装置
で散発的に発生する不具合伝送を検出し、原因追求を容
易に行う回線トレース装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a data transmission device that connects a plurality of control devices with a transmission line through each transmission control station and mutually transmits and receives data. In particular, the present invention relates to a line tracing device that detects malfunctioning transmissions that occur sporadically in a transmission device that is in operation using serial transmissions, and easily searches for the cause.

(従来の技術) 複数の制御装置をデータ伝送装置で結合したシリアル伝
送システムでは制御装置を含む各伝送制御局に異常が発
生した場合、各伝送制御局が各々の異常検出・判定を行
って対処するのが一般的である。
(Prior art) In a serial transmission system in which multiple control devices are connected by a data transmission device, if an abnormality occurs in each transmission control station including the control device, each transmission control station detects and determines the abnormality and takes appropriate action. It is common to do so.

しかし、複数の伝送制御局が相互に関連し合い個々の検
出結果に対して正しい因果関数で異常現象を把握し正確
に判断することが出来ない。
However, since a plurality of transmission control stations are interconnected, it is not possible to grasp abnormal phenomena using correct causal functions for individual detection results and make accurate judgments.

また、伝送制御局の異常が散発的に発生する場合は、異
常発生原因が伝送制御局回路上の問題か伝送制御手順(
ソフト)によるものか、または、回線を含むノイズ等の
原因によるものか判定することが難しい。
In addition, if an error occurs sporadically in the transmission control station, check whether the cause of the error is a problem with the transmission control station circuit or the transmission control procedure.
It is difficult to determine whether the problem is caused by software (software) or by noise, etc., including the line.

このシリアル伝送上のインターフェイス、ハードウェア
/ソウトウエアで異常が生じた場合、原因追求、異常解
析には制御装置を含む各伝送制御局間でやりとりされる
データを蓄積し直読出来る装置としてオンライン・スコ
ープ(例えば(株)ノーザン・テレコム社のD−901
型)や、汎用的に電気回路の状態遷移を連続的に記憶し
表示する機能をもつロジックアナライザー(例えば(株
)横河ヒユーレット・パラカード社D1630型)の様
な測定装置が有り、この種の伝送装置上の問題発生時に
は有用である。
If an abnormality occurs in the serial transmission interface or hardware/software, the online scope (online scope) is a device that can store and directly read the data exchanged between each transmission control station, including the control device, to investigate the cause and analyze the abnormality. For example, Northern Telecom Co., Ltd.'s D-901
There are measurement devices such as general-purpose logic analyzers (e.g. Yokogawa Hewlett Paracard Co., Ltd. Model D1630) that have the function of continuously storing and displaying the state transitions of electrical circuits. This is useful when a problem occurs with the transmission equipment.

(発明が解決しようとする問題点) オンライン・スコープはデータの蓄積方法も送受信され
るデータ・フレームを単に時系列的に蓄積し、表示する
方式であり、主にデータを送信したか受信したかを明確
とする、伝送制御のやりとりが分かることでソフト・バ
グを見つける。送受信のタイミングが分かる等で有効で
ある。
(Problem to be solved by the invention) The data storage method of the online scope is simply to store and display the sent and received data frames in chronological order, and it mainly shows whether the data was sent or received. Find software bugs by clarifying transmission control interactions. This is effective because it allows you to know the timing of transmission and reception.

しかしこの種の測定装置では扱う対象が公衆通信網も指
向し、標準端末インターフェイスを有する装置間のシリ
アル伝送に向いており、適用出来る回線速度も最高速1
.68bit/sec (デジタルデータ伝送路1次群
)8度でLAN (ローカル・エリア・ネットワーク)
等で要求される108bit / see以上の速度に
なると障害をオンライン・スコープのソフトで検出し記
録する為、現象が早すぎ検出不能になり、エンドレス記
憶の為の記憶容量も大きくなる等の問題がある。
However, this type of measurement equipment is also oriented toward public communication networks, and is suitable for serial transmission between devices with standard terminal interfaces, and the applicable line speed is also the highest speed 1.
.. 68bit/sec (digital data transmission line primary group) LAN (local area network) at 8 degrees
When the speed exceeds 108bit/see, which is required by be.

また、ロジック・スコープは、指定した複数の電気回路
の状態遷移の組み合せを条件とし、その条件が成立した
ことを起動条件に条件成立時点の前後の設定範囲内の電
気回路の状態を表示する方式である。この場合、上記条
件の成立判定を専用回路により行っているので、LAN
等で必要とされる高速性を満足する。さらに、不具合事
象を直接にハードウェアの電圧回路状態により検出する
ので、検出応答性も良く、不具合発生時のみ事象をトレ
ース表示できることで、記憶容量も制限でき、コンパク
トに構成できる。
In addition, Logic Scope is a method that uses a specified combination of state transitions of multiple electrical circuits as a condition, and displays the states of electrical circuits within a set range before and after the time the condition is met, with the activation condition being that the condition is met. It is. In this case, since a dedicated circuit is used to determine whether the above conditions are met, the LAN
It satisfies the high speed required for etc. Furthermore, since malfunction events are directly detected based on the voltage circuit status of the hardware, the detection response is good, and since the event can be traced and displayed only when a malfunction occurs, the storage capacity can be limited and the system can be configured compactly.

しかし、その起動条件は回路状態をセンスするプローブ
の数で制限され、シリアル・データ伝送のようにビット
直列に到来する何ビットものデータの組み合せで事象発
生検出する用途には限界がある。
However, the activation conditions are limited by the number of probes that sense the circuit state, and there is a limit to the use of detecting the occurrence of an event based on a combination of many bits of data that arrive in series, such as in serial data transmission.

また、単なる組み合せ条件、即ち、比較すべきデータと
一致する場合のみが起動条件となるので散発的に稀れに
発生する不具合の場合は期待する比較データに対して1
′真″の条件検出であり、条件の設定が困菫である。ま
た、ビット直列に到来するデータのうち連続したビット
列のみを事象発生条件とする場合や、あるビット列を比
較し続くビット列は無視し、更に次のビット列を比較し
、事象発生条件とする場谷が応々にあり、これらの要求
に従来の測定装置では充分に対応出来ない。
In addition, since the activation condition is only a simple combination condition, that is, a match with the data to be compared, in the case of a problem that occurs sporadically and infrequently, it is possible to
It is a 'true' condition detection, and it is difficult to set the condition.Also, there are cases where only consecutive bit strings of data that arrive in bit series are used as an event occurrence condition, or where a certain bit string is compared and subsequent bit strings are ignored. However, there are cases where the next bit string is further compared and the event generation condition is used, and conventional measuring devices cannot adequately meet these demands.

本発明の目的は、シリアル伝送回線上に発生する不具合
、散発的に発生する誤りに対する問題追求と原因解析に
対して、不具合発生事象の検出の為の、比較条件を長い
直列ビット・パターンに対して設定可能とし、本来、有
るべき直列ビット・パターンに対して異っていた場合を
検出し不具合発生条件として設定でき、不具合事象発生
時点前後の到来するビット直列データを蓄積し、表示す
る事が可能な回線トレース装置を提供する事にある。
The purpose of the present invention is to establish comparison conditions for long serial bit patterns to detect fault events and to analyze the causes of faults and errors that occur sporadically on serial transmission lines. It is possible to detect cases where the serial bit pattern is different from the original one and set it as a failure occurrence condition, and it is possible to accumulate and display bit serial data that arrives before and after the failure event occurs. The purpose is to provide a possible line tracing device.

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段) 本発明は、直列データを所定のビット数毎に並列データ
に変換し記憶装置に順次書き込む伝送データの鑑視装置
において、前記直列データのデータフレーム開始パター
ンを検出するトレース開始回路と、前記所定のビット数
毎に計数するスロットカウンタおよびトレースカウンタ
と、前記トレースカウンタによリアドレス指定され前記
並列データを記憶するトレースデータメモリと、前記ス
ロットカウンタによリアドレス指定されるコマンドメモ
リ、比較データメモリおよびマスクデータメモリと、前
記コマンドメモリから読み出されたコマンドデータに基
づいて前記比較データメモリから読み出された比較デー
タおよび前記マスクデータメモリから読み出されたマス
クデータと前記並列データを比較する比較回路と、前記
比較回路の検出時点から所定の時間の後に前記トレース
カウンタの計数を停止させる遅延回路を設は伝送データ
における不具合事象の原因追及を効率良く行えるように
した回線トレース装置である。
(Means for Solving the Problems) The present invention provides a transmission data viewing device that converts serial data into parallel data every predetermined number of bits and sequentially writes the serial data into a storage device. a trace start circuit for detecting; a slot counter and a trace counter for counting each predetermined number of bits; a trace data memory that is re-addressed by the trace counter and stores the parallel data; and a trace data memory for re-addressing the parallel data by the slot counter. A specified command memory, a comparison data memory, and a mask data memory, and comparison data read from the comparison data memory and a mask read from the mask data memory based on the command data read from the command memory. A comparison circuit that compares data with the parallel data, and a delay circuit that stops the counting of the trace counter after a predetermined time from the detection point of the comparison circuit are designed to efficiently investigate the cause of malfunctions in transmitted data. This is a line tracing device.

(作  用) 直列データが所定のビット数(スロットとも云う)毎に
並列データに変換されると共にスロットカウンタとトレ
ースカウンタがインクリメントされる。
(Function) Serial data is converted into parallel data every predetermined number of bits (also called slots), and the slot counter and trace counter are incremented.

コマンドメモリ、比較データメモリ、マスクデータメモ
リからスロットカウンタで指定されたアドレスのコマン
ドデータ、比較データ、マスクデータが読み出され、コ
マンドデータに基づいて比較データおよびマスクデータ
が並列データと比較され正常か異常かの判断が行なわれ
る。
The command data, comparison data, and mask data at the address specified by the slot counter are read from the command memory, comparison data memory, and mask data memory, and the comparison data and mask data are compared with the parallel data based on the command data to determine whether they are normal. A determination is made as to whether there is an abnormality.

コマンドデータにはそのスロットの比較検出の実行の有
無を決定するビット(NOP)と、マスクデータの使用
の有無を決定するビット(MASK)と、データを比較
する場合に真条件とするか偽条件とするかを決定するビ
ット(T/F)と、そのスロットの比較検出の終了を指
定するビット(E N D)等を含むことが可能である
The command data includes a bit (NOP) that determines whether to perform comparison detection for that slot, a bit (MASK) that determines whether to use mask data, and a true or false condition when comparing data. It is possible to include a bit (T/F) for determining whether to use the slot, a bit (E N D) for specifying the end of comparison detection for that slot, and the like.

異常と判断されるとスロットカウンタの計数を停止させ
、所定の時間後にトレースカウンタの計数を停止させて
並列データの書き込みを停止させる。
When it is determined that there is an abnormality, the slot counter stops counting, and after a predetermined time, the trace counter stops counting and writing of parallel data is stopped.

(実 施 例) 本発明の回線トレース装置を第1図に示す一実施例によ
り説明する。
(Embodiment) A line tracing device of the present invention will be explained using an embodiment shown in FIG.

同図において、回線トレース装置10に監視すべき直列
データDTINと、トレース開始信号ST’RTが入力
され、トレース開始回路(STAT)41が直列データ
に含まれる開始パターンを検出するとトレース動作が開
始される。トレース動作を開始すると直並列変換回路(
SPC)42で定められたビット数単位(スロットとも
呼ぶ)で変換された並列データ66がトレースメモリ(
TRM)4Gに書き込まれて記憶される。
In the figure, serial data DTIN to be monitored and a trace start signal ST'RT are input to a line tracing device 10, and when a trace start circuit (STAT) 41 detects a start pattern included in the serial data, a trace operation is started. Ru. When the trace operation starts, the serial/parallel converter circuit (
The parallel data 66 converted in bit units (also called slots) determined by the SPC) 42 is stored in the trace memory (
TRM) is written and stored in 4G.

データ信号ラインD0〜D7、メモリアドレス信号AD
R、メモリリードライト信号R/Wは外部のマイクロプ
ロセッサにそれぞれ接続され、リードライ1−制御回路
(RWC)30によりメモリアドレス切換回路31.3
2とメモリデータ切換回路33〜36を切り換えてTR
M40と後述する各メモリ(コマンドメモリ(C:MD
)37、比較データメモリ(CPD)3g、マスクデー
タメモリ(MSK)39)の内容を自由に読み書き可能
な構成としている。直列データの異常が検出されると割
込信号lNTRが出力される。
Data signal lines D0 to D7, memory address signal AD
R and memory read/write signals R/W are respectively connected to external microprocessors, and read/write 1-control circuit (RWC) 30 controls memory address switching circuits 31.3.
2 and memory data switching circuits 33 to 36 to select TR.
M40 and each memory (command memory (C:MD
) 37, comparison data memory (CPD) 3g, and mask data memory (MSK) 39), the contents of which can be freely read and written. When an abnormality in the serial data is detected, an interrupt signal lNTR is output.

第2図は回線トレース装置lOを組み込んだ回線解析測
定装置の一構成例である。回線トレース装[10のデー
タライン0゜〜D7、メモリリードライト信号R/W、
アドレス信号ADRはマイクロ・プロセッサ(PU)1
9のシステム・バス24へ接続される。トレース開始信
号5TRTはPU19の入出力回路(Ilo)22より
与えられる1割込信号lNTRは割込コントローラ(P
IC)20へ導かれ、その結果、PU19へ割込が発生
する。PU19はリードライトメモリ(RAM)18及
読み出し専用プログラムメモリ(FROM)17内に書
き込まれンプログラムによって1割込に応答して回線ト
レース装置10の内部に記憶されている回線データを読
み出し異常検出時点前後のデータとして、CRTイ’/
夕 ”:)xイス(CRTI F)21を介しテcRT
装置23へ表示出力する。表示出力する際、PU19に
よりデータ解析や統計処理等の情報処理を施す事が可能
である。
FIG. 2 shows an example of the configuration of a line analysis and measurement device incorporating a line tracing device IO. Line tracing device [10 data lines 0° to D7, memory read/write signal R/W,
Address signal ADR is microprocessor (PU) 1
9 system bus 24. The trace start signal 5TRT is given by the input/output circuit (Ilo) 22 of the PU 19, and the 1 interrupt signal 1NTR is given by the interrupt controller (P
IC) 20, and as a result, an interrupt occurs to the PU 19. The PU 19 reads the line data stored inside the line tracing device 10 in response to one interrupt by the program written in the read/write memory (RAM) 18 and the read-only program memory (FROM) 17, and reads out the line data stored inside the line tracing device 10 at the time when an abnormality is detected. As the data before and after, CRT i'/
Evening ”:)
Display is output to the device 23. When displaying and outputting, the PU 19 can perform information processing such as data analysis and statistical processing.

第1図において、CMD37.CPD38、MSK39
の各メモリは回線データの異常を検出するための各種デ
ータを記憶するものであり、8ビツトまたは10ビツト
等のように定められたビット数毎に格納される。これ等
のデータを用いて到来した直列データの前述スロット単
位データ毎にチェックを行なう。
In FIG. 1, CMD37. CPD38, MSK39
Each memory stores various data for detecting abnormalities in line data, and is stored in units of a predetermined number of bits, such as 8 bits or 10 bits. Using these data, a check is performed for each slot unit data of the incoming serial data.

第3図は各メモリ37.38.39の内容を示した図で
各スロットに対応して各種データが格納された例である
。同図において、CPD38とMSK39はスロットの
ビット数と等しいビット数を有し、CPD38にはスロ
ット毎に回線データと比較するデータDT1、DT2.
DT3.0.・・・が、MSK39にはアドレスADR
3+1のスロットにマスクデータMSKIが格納された
例である。
FIG. 3 is a diagram showing the contents of each memory 37, 38, and 39, and is an example in which various data are stored corresponding to each slot. In the figure, the CPD 38 and MSK 39 have the same number of bits as the slot, and the CPD 38 has data DT1, DT2, .
DT3.0. ...but MSK39 has address ADR
This is an example in which mask data MSKI is stored in 3+1 slots.

また、CMD37はどのようにして回線データのチェッ
クを行うかを各スロット毎に指示するデータ0010.
0110.0001.1001、・・・が格納された例
である。このデータをコマンドと呼びそのフォーマット
例を第4図に示す。
The CMD 37 also generates data 0010.0010 that instructs how to check line data for each slot.
In this example, 0110.0001.1001, . . . are stored. This data is called a command and an example of its format is shown in FIG.

第4図のコマンドフォーマット例ではNOP、MASK
、T/に、ENDの各ビットに次の意味を持つ。
In the command format example in Figure 4, NOP, MASK
, T/, each bit of END has the following meaning.

NOP :このスロットの回線データに対してCPD3
8のデータと比較一致検出を行なわないとき“1”とし
、比較一致検出を行なうときu Ouとする。
NOP: CPD3 for line data of this slot
It is set to "1" when comparison and coincidence detection is not performed with the data of No. 8, and is set to uOu when comparison and coincidence detection is performed.

MASK:NOPが1′0+′ト指定され比較一致検出
を行なう場合、そのスロットの特定 のビットのみを比較一致検出したいと きMSK39の対応するビットをre I Hとし、他
のビットは11017とする。
When MASK:NOP is designated as 1'0+' and comparison match detection is performed, if only a specific bit of that slot is desired to be compared and match detected, the corresponding bit of MSK39 is set to re I H, and the other bits are set to 11017.

T/F:上記により比較一致検出を行なう場合、一致し
た時をパ真′″(T(真)条件)として比較一致検出す
るとき# 171とし、一致しない時を真”(F(偽)
条件)として比較一致検出するどきII O)pとする
T/F: When performing comparison match detection as described above, when there is a match, it is set as #171 when there is a match, and when there is a match, it is set as #171, and when there is no match, it is set as "true" (F (false)
When a comparison match is detected as a condition), it is set as II O) p.

END:複数のスロットをまとめて比較一致検出すると
き“02″とし、本スロットが比較一致検出すべき最終
スロットのとき “1”とする。
END: Set to "02" when a plurality of slots are to be compared and matched, and set to "1" when this slot is the last slot to be compared and matched.

従って、第3図のCMD37のアドレスARD l+0
〜3にプログラムされた例ではスロット1で001Oが
指定されているので回線データはCPD38の比較デー
タDT1と比較され一致した場合パ真”(T条件)とし
て検出される。スロット2では0110が指定されてい
るので回線データはMSK39のデータMSKIで指定
された特定ビット数のみが比較データDT2と比較され
T(真)条件により検出される。スロット3では000
1が指定されているので回線データが比較データDT3
と比較されF(偽)条件により検出され以上一連のスロ
ット1〜3が1つの比較条件として比較一致検出される
Therefore, the address ARD l+0 of CMD37 in FIG.
In the example programmed to ~3, 001O is specified in slot 1, so the line data is compared with the comparison data DT1 of CPD 38, and if they match, it is detected as "Parameters" (T condition). In slot 2, 0110 is specified. Therefore, only the specific number of bits of the line data specified by the data MSKI of MSK39 is compared with comparison data DT2 and detected according to the T (true) condition.In slot 3, 000
Since 1 is specified, the line data is comparison data DT3.
is compared and detected based on the F (false) condition, and the series of slots 1 to 3 are compared and detected as one comparison condition.

スロット4では1001が指定されているのでこのスロ
ットの比較一致検出は行なわれない。
Since 1001 is specified in slot 4, no comparison and match detection is performed for this slot.

第1図において、ビットカウンタ(BTCN)43は直
列データのビット毎に計数され、5PC42により直列
データフレームが一定のビット長のスロット単位に区切
られる。スロットカウンタ(SLCN)44はスロット
毎にカウントアツプされ、メモリアドレス切換回路(A
GI)31を介しCMD37、CP D38. M S
 K39の各アドレスを指定しそれぞれのデータを読み
出す。トレースカウンタ(TRCN)45は5LCN4
4と共にスロット毎にカウントアツプされメモリアドレ
ス切換回路(AC3)32を介してTRM40のアドレ
スを指定し並列変換されたスロット毎の回線データを書
き込む。
In FIG. 1, a bit counter (BTCN) 43 counts each bit of serial data, and a 5PC 42 divides the serial data frame into slot units of a constant bit length. A slot counter (SLCN) 44 is counted up for each slot, and a memory address switching circuit (A
GI) 31 via CMD37, CP D38. MS
Specify each address of K39 and read the respective data. Trace counter (TRCN) 45 is 5LCN4
4 and is counted up for each slot, the address of the TRM 40 is designated via the memory address switching circuit (AC3) 32, and the parallel-converted line data for each slot is written.

データラッチ回路(LHI、LH2、LH3)47.4
8.49はCMD37、CPD38、MSK39から読
み出したそれぞれのデータをラッチし、データラッチ回
路(LH4)50は並列変換された最新のスロットの回
線データをラッチする。排他的論理和回路(エクスクル
−シブオフ回路FOR)51にはLH248からの比較
データとLH349がらのマスクデータが入力され排他
的論理和の演算が行なわれ、マスク信号と共に出力され
る。この場合、LH147からのマスク指定信号74に
よりマスクデータ69の有効、無効が制御される。
Data latch circuit (LHI, LH2, LH3) 47.4
8.49 latches each data read from the CMD 37, CPD 38, and MSK 39, and the data latch circuit (LH4) 50 latches the parallel-converted line data of the latest slot. The comparison data from the LH 248 and the mask data from the LH 349 are input to an exclusive OR circuit (exclusive off circuit FOR) 51, where an exclusive OR operation is performed and output together with a mask signal. In this case, the mask designation signal 74 from the LH 147 controls whether the mask data 69 is valid or invalid.

ビット比較回路(COI N) 52にはE OR51
から出力された比較データ(マスク信号を含む)70と
LH4からの回線データ67が入力され比較−数構出が
行なわれる。この場合、LH147からの真/偽指定信
号75により比較データ70をT条件とするかF条件と
するかが決定され、更にNOP指定信号76により比較
−数構出動作をするかしないかが決定される。
Bit comparison circuit (COI N) 52 has E OR51
The comparison data (including the mask signal) 70 outputted from the LH4 and the line data 67 from the LH4 are input, and a comparison and number calculation is performed. In this case, the true/false designation signal 75 from the LH 147 determines whether the comparison data 70 is to be the T condition or the F condition, and the NOP designation signal 76 determines whether or not to perform the comparison-number configuration operation. be done.

比較結果保持回路(CIF)53はC0IN52のスロ
ット毎の検出信号71を保持しLH147からの終了指
定信号77により一致検出信号72を出力する。終了指
定信号77の有効検出前に各スロット毎の検出信号が一
つでも真にならない場合は一致検出信号72は出力され
ない。
A comparison result holding circuit (CIF) 53 holds a detection signal 71 for each slot of C0IN52 and outputs a coincidence detection signal 72 in response to an end designation signal 77 from the LH 147. If at least one detection signal for each slot does not become true before the validity of the end designation signal 77 is detected, the coincidence detection signal 72 is not output.

トレース一致ポインタ(CNPT)46は一致検出信号
72が検出された時のトレースメモリアドレスポインタ
値64をラッチ記憶する。また、遅延回路(DLY)5
5は一致検出信号72が検出された時点から一定時間経
過後にトレース停止信号73を出力し、5TAT41の
トレース動作を停止させる。
Trace match pointer (CNPT) 46 latches the trace memory address pointer value 64 when match detect signal 72 is detected. In addition, the delay circuit (DLY) 5
5 outputs a trace stop signal 73 after a certain period of time has elapsed from the time when the coincidence detection signal 72 is detected, and stops the trace operation of the 5TAT 41.

比較検出割込回路(INT)54は一致信号72が真と
なると外部プロセッサへ割込信号lNTRを出力する。
A comparison detection interrupt circuit (INT) 54 outputs an interrupt signal 1NTR to an external processor when the match signal 72 becomes true.

第5図に到来する直列データ入力、すなわち、受信フレ
ームのフォーマット例ヲ示す。1フL/ −ムはフレー
ム開始パターン(STRT)9Gから始まり、データ部
(DATA)91およびフレーム終了パターン(END
)92より構成されている事を示す。本回線トレース装
置10のトレース開始回路(STAT)41はマイクロ
プロセッサ(PU)19からのトレース開始信号5TR
Tを受け、直列データ入力がフレーム開始パターン5T
RT90に一致するとスロットカウンタ(SLCN)4
4をリセットして、スロット1よりコマンドメモリ(C
MD)37、比較データ・メモリ(CPD)38、マス
に クデータメモリ(M S −)@−) 39から各デー
タを読み出して比較検出動作を行う。
FIG. 5 shows an example format of an incoming serial data input, ie, a received frame. One frame starts with frame start pattern (STRT) 9G, data section (DATA) 91 and frame end pattern (END).
)92. The trace start circuit (STAT) 41 of the line tracing device 10 receives the trace start signal 5TR from the microprocessor (PU) 19.
T, serial data input is frame start pattern 5T
If it matches RT90, the slot counter (SLCN) 4
4, and command memory (C) from slot 1.
Each data is read out from MD) 37, comparison data memory (CPD) 38, and mask data memory (MS-)@-) 39 to perform a comparison detection operation.

フレーム開始パターンは、特に限定しない、従って、伝
送装置間にやりとりされるフレームのみならず、一般的
な直列ビットパターンに対しても、本装置は有効となる
The frame start pattern is not particularly limited; therefore, the present device is effective not only for frames exchanged between transmission devices, but also for general serial bit patterns.

第6図は動作タイミングを示したタイムチャートである
。直列データDTINはビットカウンタBTCNで一定
のビット数毎に並列データに変換される。
FIG. 6 is a time chart showing operation timing. The serial data DTIN is converted into parallel data every fixed number of bits by a bit counter BTCN.

その内容はトレースカウンタTRCNで決定されたトレ
ースメモリ(TRM)40に逐一記憶される。直列デー
タDTINのフレーム開始パターン5TRTが検出され
るとスロットカウンタ5LCNが零にリセットされ、以
後各スロット毎に+1づつ増加してC,MD37. C
PD38、MSK39の各メモリアドレスを指定してデ
ータが読み出される。
The contents are stored one by one in the trace memory (TRM) 40 determined by the trace counter TRCN. When the frame start pattern 5TRT of the serial data DTIN is detected, the slot counter 5LCN is reset to zero, and thereafter increases by +1 for each slot until C, MD37, . C
Data is read by specifying each memory address of PD38 and MSK39.

同図には比較データDTI、DT2、・・・DTNとコ
マンドデータ5TPI、5TP2、・・・5TPNが示
されている。直列データDTINのデータDATAは何
個かのスロットで構成され各スロット毎にコマンドデー
タ(CMD)の指定に従って比較データ(CPD)と比
較される。
The figure shows comparison data DTI, DT2, . . . DTN and command data 5TPI, 5TP2, . . . 5TPN. The data DATA of the serial data DTIN is composed of several slots, and is compared with comparison data (CPD) in accordance with the designation of command data (CMD) for each slot.

第6図はスロット3終了後に比較結果保持回路CCI 
F)から−数構出信号72が出力された例であり、この
信号によりトレース一致ポインタ(CNPT)はその時
点のトレースカウンタ(TRCN)の内容を保持し、さ
らにスロットカウンタ(SLCN)のカウントを停止さ
せる。また、この−数構出信号の検出時点から所定の時
間(フレームの数)経過後にトレースカウンタ(T R
CN)のカウントが停止されるがフレーム終了パターン
(END)が検出された時点でカウント停止となる。図
は検出時点後のフレームの数をOとした例である。スロ
ットカウンタ初期化信号62はトレース動作中のタイミ
ングを示している。
Figure 6 shows the comparison result holding circuit CCI after the end of slot 3.
This is an example in which the -number output signal 72 is output from F), and this signal causes the trace match pointer (CNPT) to hold the contents of the trace counter (TRCN) at that time, and further to change the count of the slot counter (SLCN). make it stop. Also, after a predetermined time (number of frames) has elapsed from the time of detection of this minus number output signal, the trace counter (T R
CN), but the counting stops when the frame end pattern (END) is detected. The figure shows an example in which the number of frames after the detection point is O. The slot counter initialization signal 62 indicates the timing during the trace operation.

第7図はTRM40に記憶されるトレースデータの例を
示す。
FIG. 7 shows an example of trace data stored in the TRM 40.

同図は1番フレームデータの3スロツトで一致検出され
た場合でTRM40のアドレスADR4+m=ADR4
+m+n番地に1フレ一ム分のデータが記憶された例で
ある。従ってスロットカウンタ44とトレースポインタ
46にはアドレスADR4十(m+2)に対応したアド
レスデータが記憶され、トレースカウンタ45には一致
検出後のフレームENDに対応したアドレスデータが記
憶される。
The figure shows the case where a match is detected in 3 slots of the 1st frame data, and the address ADR4+m=ADR4 of TRM40.
This is an example in which data for one frame is stored at address +m+n. Therefore, the slot counter 44 and the trace pointer 46 store the address data corresponding to the address ADR40(m+2), and the trace counter 45 stores the address data corresponding to the frame END after the match detection.

また、TRM40は循環メモリ方式とすることでADR
4+(m+n+1)〜ADR4+K、とADR4+O〜
ADR4+(m−2)番地まで記憶内容は一致検出前に
入力されマドレースデータを示す・〔発明の効果〕 本発明の回線トレース装置を用いれば、以下に示す種々
の効果が得られる。
In addition, the TRM40 has a circular memory system that allows for ADR
4+(m+n+1)~ADR4+K, and ADR4+O~
The stored contents up to address ADR4+(m-2) are input before a match is detected and indicate madrased data. [Effects of the Invention] By using the line tracing device of the present invention, the following various effects can be obtained.

(イ) コマンドメモリ37、比較データメモリ38、
マスクデータメモリ39の容量を大きくする事で、いく
らでも長い直列ビット入力のデータ比較が容易に実現で
きる。
(a) Command memory 37, comparison data memory 38,
By increasing the capacity of the mask data memory 39, data comparison of any length of serial bit input can be easily realized.

(ロ) トレース・データ・メモリ40の容量を大きく
し、またディレィ回路55の遅延時間を大きくする事で
、いくらでも沢山の事象発生前後のデータを記録するこ
とができる。
(b) By increasing the capacity of the trace data memory 40 and increasing the delay time of the delay circuit 55, it is possible to record as much data as possible before and after the occurrence of an event.

(ハ) フレーム開始パターンに応じてトレース動作が
開始され、トレース開始回路(STAT)41のパター
ンを変更する事で、任意のフレームまたは直列ビットパ
ターンに対してもトレース動作を行うことができる。
(c) The trace operation is started according to the frame start pattern, and by changing the pattern of the trace start circuit (STAT) 41, the trace operation can be performed for any frame or serial bit pattern.

(ニ) コマンドメモリ37中にプログラムするコマン
ドに、真/偽比較検出条件を設ける事で、比較データと
一致する時を検出する事も、比較データと不一致となる
時を検出する事も容易に行え、本来、こうでなければな
らない筈のデータが、不具合により変化してしまった時
を検出する様な場合、非常に有効となる。
(d) By setting a true/false comparison detection condition for the command programmed into the command memory 37, it is easy to detect when the command matches the comparison data and when it does not match the comparison data. This is very effective when detecting when data that should be the same as before has changed due to a problem.

(ホ) 本回線1〜レース装置は、独立したハードウェ
アとして構成できる為、マイクロプロセッサのプログラ
ムにより本回線トレース装置の機能を用いて、不具合事
象発生検出のみならず、特定の伝送装置の送信フレーム
や、送信フレーム中の特定データ等の送信回数、平均送
信時間等のヒストグラム、送受信を行っている伝送装置
のマツプ、回数ヒストグラムetc回線上の解析、測定
、統計等に応用する事が可能である。
(e) Since this line 1 to race device can be configured as independent hardware, the function of this line tracing device can be used by a microprocessor program to not only detect the occurrence of a malfunction event but also detect the transmission frame of a specific transmission device. It can be applied to analysis, measurement, statistics, etc. on the line, histograms of the number of times specific data in a transmission frame is sent, average transmission time, etc., maps of transmission equipment performing transmission and reception, frequency histograms, etc. .

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

第1図は本発明の回線トレース装置の一実施例であるブ
ロック構成図、第2図は上記回線トレ−ス動作を組み込
んだ回線解析測定装置の一実施例図、第3図は各メモリ
の内容を説明するための図。 第4図はコマンドメモリ37のフォーマットを示した一
実施例図、第5図は直列データ(DTIN)のフォーマ
ット例を示した図、第6図は第1図の回線トレース装置
の動作を説明するためのタイミング図、第7図はトレー
スデータメモリ40に記憶された回線データと一致検出
時のスロットカウンタ44、トレースカウンタ45、ト
レース一致ポインタ46の関係を示した図である。 10・・・回線トレース装置 19・・・マイクロプロセッサ(PU)20・・・割込
コントローラ(P I C)21−CRTイン9−7z
イス(CRTI F)22・・・入出力回路(Ilo) 23・・・表示装置(CRT) 37・・・コマンドメモリ(CMD) 38・・・比較データメモリ(CP D)39・・・マ
スクデータメモリ (MSK)40・・・トレースデー
タメモリ(TRM)41・・・トレース開始回路(ST
AT)42・・・直並列変換回路(spc) 43・・・ビットカウンタ(BTC) 44・・・スロットカウンタC3LCN)45・・・ト
レースカウンタ(TRCN)46・・・トレース一致ポ
インタ (CN P N)47〜50・・・ラッチ回路 51・・・排他的論理和回路(F OR)52 ・・・
比較回路(C,0IN) 53・・・比較結果保持回路(CIF)55・・・遅延
回路(DLY) 代理人 弁理士 則 近 憲 佑 同  三俣弘文 第2図 第6図
FIG. 1 is a block configuration diagram of an embodiment of the line tracing device of the present invention, FIG. 2 is a diagram of an embodiment of the line analysis and measurement device incorporating the above-mentioned line tracing operation, and FIG. 3 is a diagram of each memory. Diagram for explaining the contents. FIG. 4 is an example diagram showing the format of the command memory 37, FIG. 5 is a diagram showing an example of the format of serial data (DTIN), and FIG. 6 explains the operation of the line tracing device shown in FIG. 1. FIG. 7 is a timing chart showing the relationship between the line data stored in the trace data memory 40 and the slot counter 44, trace counter 45, and trace match pointer 46 when a match is detected. 10... Line tracing device 19... Microprocessor (PU) 20... Interrupt controller (PIC) 21-CRT input 9-7z
Chair (CRTI F) 22... Input/output circuit (Ilo) 23... Display device (CRT) 37... Command memory (CMD) 38... Comparison data memory (CP D) 39... Mask data Memory (MSK) 40...Trace data memory (TRM) 41...Trace start circuit (ST
AT) 42...Serial parallel conversion circuit (spc) 43...Bit counter (BTC) 44...Slot counter C3LCN) 45...Trace counter (TRCN) 46...Trace match pointer (CN P N )47-50...Latch circuit 51...Exclusive OR circuit (FOR) 52...
Comparison circuit (C, 0IN) 53... Comparison result holding circuit (CIF) 55... Delay circuit (DLY) Agent Patent attorney Noriyuki Chika Hirofumi Mitsumata Figure 2 Figure 6

Claims (2)

【特許請求の範囲】[Claims] (1)直列データを所定のビット数毎に並列データに変
換し記憶装置に順次書き込む伝送データの鑑視装置にお
いて、前記直列データのデータフレーム開始パターンを
検出するトレース開始回路と、前記所定のビット数毎に
計数するスロットカウンタおよびトレースカウンタと、
前記トレースカウンタによリアドレス指定され前記並列
データを記憶するトレースデータメモリと、前記スロッ
トカウンタによリアドレス指定されるコマンドメモリ、
比較データメモリおよびマスクデータメモリと、前記コ
マンドメモリから読み出されたコマンドデータに基づい
て前記比較データメモリから読み出された比較データお
よび前記マスクデータメモリから読み出されたマスクデ
ータと前記並列データを比較する比較回路と、前記比較
回路の検出時点から所定の時間の後に前記トレースカウ
ンタの計数を停止させる遅延回路を設けたことを特徴と
する回線トレース装置。
(1) A transmission data viewing device that converts serial data into parallel data every predetermined number of bits and sequentially writes the data into a storage device, comprising: a trace start circuit that detects a data frame start pattern of the serial data; and a trace start circuit that detects a data frame start pattern of the serial data; A slot counter and a trace counter that count each number,
a trace data memory that is re-addressed by the trace counter and stores the parallel data; a command memory that is re-addressed by the slot counter;
a comparison data memory and a mask data memory, and the comparison data read from the comparison data memory based on the command data read from the command memory, the mask data read from the mask data memory, and the parallel data. A line tracing device comprising: a comparison circuit for comparison; and a delay circuit for stopping the counting of the trace counter after a predetermined time from the time of detection by the comparison circuit.
(2)前記コマンドメモリは、データ比較検出の実行の
有無を決定するビット(NOP)と、前記マスクデータ
の使用の有無を決定するビット(MASK)と、前記比
較データと前記並列データを比較する場合に該データが
一致したときを真(真条件)とするか一致しないときを
真(偽条件)とするかを決定するビット(T/F)と、
比較検出の終了を指定するビット(END)を含むフォ
ーマットで構成したことを特徴とする前記特許請求の範
囲第1項記載の回線トレース装置。
(2) The command memory compares the comparison data and the parallel data with a bit (NOP) that determines whether or not data comparison detection is to be executed, and a bit (MASK) that determines whether or not the mask data is used. a bit (T/F) that determines whether the data match is true (true condition) or the data do not match, it is true (false condition);
The line tracing device according to claim 1, characterized in that the line tracing device is configured in a format including a bit (END) specifying the end of comparison detection.
JP61016813A 1986-01-30 1986-01-30 Line trace equipment Pending JPS62176242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61016813A JPS62176242A (en) 1986-01-30 1986-01-30 Line trace equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61016813A JPS62176242A (en) 1986-01-30 1986-01-30 Line trace equipment

Publications (1)

Publication Number Publication Date
JPS62176242A true JPS62176242A (en) 1987-08-03

Family

ID=11926603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61016813A Pending JPS62176242A (en) 1986-01-30 1986-01-30 Line trace equipment

Country Status (1)

Country Link
JP (1) JPS62176242A (en)

Similar Documents

Publication Publication Date Title
US5664105A (en) Method and apparatus for network analysis
WO2005079372A2 (en) System and method for associating a dlpdu received by an interface chip with a data measurement made by an external circuit
US5684960A (en) Real-time ring bandwidth utilization calculator by sampling over a selected interval latch's states set by predetermined bit pattern on the transmission medium
US4112414A (en) Host-controlled fault diagnosis in a data communication system
CN116627877B (en) On-chip bus state recording system and method
CN111078492A (en) System and method for monitoring state of SoC internal bus
US7719992B1 (en) System for proactive time domain reflectometry
EP0606413B1 (en) Method and means for automatically detecting and correcting a polarity error in twisted-pair media
JPS62176242A (en) Line trace equipment
CN109066989B (en) Transformer substation measurement and control device with data verification and abnormal alarm functions and method
JP2959940B2 (en) Network monitoring system
CN115061424B (en) Method and device for realizing sequential programming model replacing PLC ladder diagram by software
CN115643223B (en) Interrupt signal transmission method and device
JPS63108828A (en) Monitoring method for digital line
CN116560892A (en) Abnormality self-diagnosis method and system for peripheral interface
SU1339503A1 (en) Device for diagnostics of automatic control systems
JPH0697762B2 (en) Data transmission equipment
CN113885401A (en) Analog quantity output method, device and medium
JPH03168899A (en) Monitor and control system and transmitting method
SU1418721A2 (en) Device for interfacing computer complex with magnetic tape storage
JP2972751B1 (en) Program debug support circuit and its debug support method
CN118316837A (en) Test method for high-speed serial communication interconnection standard link state and plug-in card module
SU842776A1 (en) Device for testing information input-output system
JP2944729B2 (en) Remote channel device
JPS5819097B2 (en) Computer system monitoring method