JPH07319804A - Scsi bus monitoring device and bus monitoring system - Google Patents
Scsi bus monitoring device and bus monitoring systemInfo
- Publication number
- JPH07319804A JPH07319804A JP6109734A JP10973494A JPH07319804A JP H07319804 A JPH07319804 A JP H07319804A JP 6109734 A JP6109734 A JP 6109734A JP 10973494 A JP10973494 A JP 10973494A JP H07319804 A JPH07319804 A JP H07319804A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- scsi
- trace
- memory
- signal
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 22
- 238000012806 monitoring device Methods 0.000 title abstract 2
- 230000007704 transition Effects 0.000 claims abstract description 13
- 238000001514 detection method Methods 0.000 claims description 32
- 230000010365 information processing Effects 0.000 claims description 29
- 238000012546 transfer Methods 0.000 claims description 26
- 238000000034 method Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 6
- 238000013075 data extraction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 9
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 238000013144 data compression Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 101100164980 Arabidopsis thaliana ATX3 gene Proteins 0.000 description 1
- 101100218324 Arabidopsis thaliana ATXR5 gene Proteins 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Bus Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は例えばコンピュ―タのバ
スに流れる制御信号およびデ―タ信号等の通信内容をS
CSI規格に従ってモニタするSCSIバスモニタ装置
及びこのSCSIバスモニタ装置が組込まれたバスモニ
タシステムに関する。BACKGROUND OF THE INVENTION The present invention relates to communication contents such as control signals and data signals flowing on a computer bus, for example.
The present invention relates to a SCSI bus monitor device for monitoring in accordance with the CSI standard and a bus monitor system incorporating the SCSI bus monitor device.
【0002】[0002]
【従来の技術】各種情報処理を実行するCPU(中央処
理装置)、ROM,RAM等の素子を内蔵したコンピュ
ータに接続する外部バス上には、多数の入出力ポート、
FDDやHDD等の外部記憶装置、プリンタ等の周辺機
器を制御するための多種多様な制御信号が流れる。2. Description of the Related Art A large number of input / output ports are provided on an external bus connected to a computer incorporating elements such as a CPU (central processing unit), ROM, and RAM for executing various types of information processing.
Various control signals for controlling external storage devices such as FDD and HDD, and peripheral devices such as printers flow.
【0003】このような多種多様な制御信号の授受を周
辺装置相互間又はコンピュータと周辺装置との間で行う
ためのバスインタ―フェ―スにおいては、各制御信号の
組合せを技術的に意味がある複数のフェーズ(phas
e)に区分けして認識するSCSI(Small Computer S
ystem Interface )規格が標準化されて、かつ一般的に
広く用いられている。In a bus interface for exchanging such various control signals between peripheral devices or between a computer and a peripheral device, the combination of control signals is technically significant. Multiple phases
e) SCSI (Small Computer S)
ystem Interface) standard has been standardized and generally widely used.
【0004】このようにバス上の各制御信号を前記SC
SI規格に基づくフェーズで表現すれば、複雑なバス上
における通信情報が平易に理解できる。このSCSI規
格のバスインタ―フェ―スを採用した周辺装置の開発・
保守等を実施する場合には、作業効率を上げるために、
バスの各信号線がSCSI規格を満たした状態で遷移す
るか否かを監視(モニタ)して記憶保持するSCSIバ
スモニタ装置を使用する。In this way, each control signal on the bus is sent to the SC.
If expressed in the phase based on the SI standard, communication information on a complicated bus can be easily understood. Development of peripheral devices adopting this SCSI standard bus interface
When performing maintenance, etc., in order to improve work efficiency,
A SCSI bus monitor device is used which monitors (monitors) whether or not each signal line of the bus transits in a state satisfying the SCSI standard and stores and retains it.
【0005】図8は一般的なSCSIバスモニタ装置の
概略構成図である。図8において、測定対象のSCSI
規格を有するSCSI信号が流れるバス1に対してパー
ソナルコンピュータの他に、上述したFDやHDD等の
外部記憶装置、プリンタ等の周辺機器からなる複数の情
報処理装置2が接続されている。そして、このバス1に
はアダプタ3が接続されている。このアダプタ3はバス
1を接続ケ―ブル4を介してSCSIバスモニタ装置5
へ分岐させる。FIG. 8 is a schematic configuration diagram of a general SCSI bus monitor device. In FIG. 8, the SCSI to be measured
In addition to a personal computer, a plurality of information processing devices 2 including external storage devices such as the above-mentioned FD and HDD and peripheral devices such as printers are connected to the bus 1 through which a standard SCSI signal flows. An adapter 3 is connected to this bus 1. The adapter 3 connects the bus 1 to the SCSI bus monitor 5 via the cable 4.
Branch to.
【0006】SCSIバスモニタ装置5内のバス受信部
6は入力したSCSI信号7をイベント検出回路8及び
バス信号ラッチ9へ送出する。イベント検出回路8は、
SCSI信号7の状態や信号の遷移などから、例えばS
CSIフェ―ズの変化点等のトレ―スメモリ10に記録
保持すべき事象を検出する。そして、イベント検出回路
8はその事象を検出した時点でイベント検出信号11を
次のモニタシーケンサ12及びバス信号ラッチ9へ送出
する。The bus receiving unit 6 in the SCSI bus monitor 5 sends the input SCSI signal 7 to the event detection circuit 8 and the bus signal latch 9. The event detection circuit 8 is
From the state of the SCSI signal 7 and signal transition, for example, S
An event to be recorded and held in the trace memory 10 such as a change point of the CSI phase is detected. Then, the event detection circuit 8 sends an event detection signal 11 to the next monitor sequencer 12 and the bus signal latch 9 at the time when the event is detected.
【0007】バス信号ラッチ9はイベント検出信号11
が発生した瞬間のSCSI信号7をラッチして、SCS
I信号デ―タ13として次のトレ―スメモリ10へ送出
する。The bus signal latch 9 has an event detection signal 11
Latch the SCSI signal 7 at the moment when
It is sent to the next trace memory 10 as I signal data 13.
【0008】また、タイムスタンプ発生回路14は現在
時刻を示すタイムスタンプデ―タ15を同じくトレ―ス
メモリ10へ印加している。さらに、このトレ―スメモ
リ10にはメモリアドレス発生回路16からのメモリア
ドレス17が印加されている。このメモリアドレス発生
回路16はモニタシ―ケンサ12からのアドレス変更信
号18に応動して出力するメモリアドレス17を更新す
る。さらに、このメモリアドレス発生回路16は、トレ
―スメモリ10の書込みアドレスが最終位置に達した時
点で、モニタシ―ケンサ12へオ―バ―フロ―信号19
を送出する。The time stamp generating circuit 14 also applies time stamp data 15 indicating the current time to the trace memory 10. Further, the memory address 17 from the memory address generating circuit 16 is applied to the trace memory 10. The memory address generation circuit 16 updates the memory address 17 output in response to the address change signal 18 from the monitor sequencer 12. Further, the memory address generation circuit 16 sends an overflow signal 19 to the monitor sequencer 12 when the write address of the trace memory 10 reaches the final position.
Is sent.
【0009】モニタシ―ケンサ12はイベント検出信号
11を受信すると、オ―バ―フロ―信号19をチェック
してトレースメモリ10がまだ一杯となっていない場合
にメモリライト信号20をトレ―スメモリ10へ出力す
る。その結果、SCSI信号デ―タ13,タイムスタン
プデ―タ15からなるトレースデータ23がトレ―スメ
モリ10内の指定されたメモリアドレス17に書込まれ
る。モニタシ―ケンサ12はトレ―スメモリ10に対す
るトレースデータ23の書込処理が完了すると、アドレ
ス変更信号18を送出して、メモリアドレス17を1つ
進める。When the monitor sequencer 12 receives the event detection signal 11, it checks the overflow signal 19 and sends the memory write signal 20 to the trace memory 10 if the trace memory 10 is not yet full. Output. As a result, the trace data 23 including the SCSI signal data 13 and the time stamp data 15 is written in the designated memory address 17 in the trace memory 10. When the process of writing the trace data 23 to the trace memory 10 is completed, the monitor sequencer 12 sends out the address change signal 18 and advances the memory address 17 by one.
【0010】このように、トレースメモリ10には事象
が発生する毎に、発生時点におけるSCSI信号デ―タ
13及びタイムスタンプデ―タ15からなるトレースデ
ータ23が時系列的に順次記憶されていく。As described above, every time an event occurs, the trace memory 23 sequentially stores the trace data 23 including the SCSI signal data 13 and the time stamp data 15 in time series. .
【0011】トレ―スメモリ10が一杯となってオ―バ
―フロ―信号19を検出したモニタシ―ケンサ12は、
このSCSIのバス1に対するトレ―ス動作を中断し
て、ホスト収集装置21に対するトレースデータ23の
転送処理を開始する。The monitor sequencer 12, which has detected the overflow signal 19 when the trace memory 10 is full,
The trace operation for the SCSI bus 1 is interrupted, and the transfer processing of the trace data 23 to the host collection device 21 is started.
【0012】すなわち、モニタシ―ケンサ12はトレ―
ス動作を中断し、アドレス変更信号18によってメモリ
アドレス17をトレ―スメモリ10内のトレ―ス開始時
点の先頭番地にリセットする。そしてモニタシ―ケンサ
12はトレ―スメモリ10に対してメモリリ―ド信号2
2を送出して、トレ―スメモリ10に記録されたトレ―
スデ―タ23をホストバスインタ―フェ―ス回路24へ
読出す。That is, the monitor sequencer 12 is
The trace operation is interrupted, and the address change signal 18 resets the memory address 17 to the start address in the trace memory 10 at the start point of the trace. The monitor sequencer 12 then sends the memory read signal 2 to the trace memory 10.
2 is transmitted, and the trace recorded in the trace memory 10
The data 23 is read to the host bus interface circuit 24.
【0013】その後、モニタシ―ケンサ12はこのホス
トバスインタ―フェ―ス回路24へ転送要求信号25を
出力し、トレ―スデ―タ23をホスト転送デ―タ26と
して外部のホスト収集装置21へ転送させる。Thereafter, the monitor sequencer 12 outputs the transfer request signal 25 to the host bus interface circuit 24, and the trace data 23 is used as the host transfer data 26 for the external host collecting device 21. Transfer to.
【0014】トレ―スデ―タ23を受領したホスト収集
装置21は、このトレ―スデ―タ23を解析してSCS
I信号7がどのように動作していたかをCRT表示装置
の表示画面上に表示したり、又は自己に接続されている
HDDやFD等の外部記録装置に記録保持する機能を有
する。The host collection device 21, which has received the trace data 23, analyzes the trace data 23 and analyzes the trace data SCS.
It has a function of displaying how the I signal 7 is operating on the display screen of the CRT display device or recording and holding it in an external recording device such as an HDD or FD connected to itself.
【0015】モニタシ―ケンサ12は、トレ―スメモリ
10内に記録された全トレ―スデ―タ23のホスト収集
装置21への転送処理が終了すると、メモリアドレス1
7を再びリセットし、トレ―ス動作を再開する。When the monitor sequencer 12 completes the transfer processing of all the trace data 23 recorded in the trace memory 10 to the host collection device 21, the memory sequence 1
7 is reset again and the trace operation is restarted.
【0016】[0016]
【発明が解決しようとする課題】しかしながら上述した
SCSIバスモニタ装置5においてもまだ解消すべき次
のような問題があった。すなわち、SCSIバスモニタ
装置5内に設けられたレ―スメモリ10の記憶容量には
当然一定の限界がある。この種のモニタ装置において
は、製造費等の制約により、レ―スメモリ10の記憶容
量は32〜64K(キロ)データ分のトレ―スデ―タ2
3が記憶できる程度である。However, the above-mentioned SCSI bus monitor device 5 still has the following problems to be solved. That is, the storage capacity of the race memory 10 provided in the SCSI bus monitor device 5 naturally has a certain limit. In this type of monitor device, the trace memory 2 has a storage capacity of 32 to 64 K (km) data due to the manufacturing cost and the like.
3 is memorable.
【0017】しかし、近年、長時間に亘ってバス1上を
伝送されるSCSI信号7を監視する要求が生じてい
る。SCSI信号7を長時間に亘って監視するには、記
憶保持すべきトレースデータ数も大幅に増加し、例えば
1M(メガ)データ分以上になる場合も在る。However, in recent years, there has been a demand for monitoring the SCSI signal 7 transmitted on the bus 1 for a long time. In order to monitor the SCSI signal 7 for a long period of time, the number of trace data to be stored and stored may increase significantly, for example, 1 M (mega) data or more.
【0018】このような大容量のトレ―スデ―タ23を
従来のSCSIバスモニタ装置5を用いて収集する場合
は、トレ―ス動作中にトレースメモリ10が一杯になっ
てしまうので、必然的にトレ―ス動作を一時中断してト
レースメモリ10に蓄積したトレースデータ23を一旦
外部のホスト収集装置21へ転送してからトレ―ス動作
を再開する必要がある。When the trace data 23 having such a large capacity is collected by using the conventional SCSI bus monitor device 5, the trace memory 10 becomes full during the trace operation, which is inevitable. Therefore, it is necessary to temporarily suspend the trace operation, transfer the trace data 23 accumulated in the trace memory 10 to the external host collection device 21, and then restart the trace operation.
【0019】このような手法を採用すれば、ホスト収集
装置21に組込まれたメモリやHD(ハードディスク)
やMT(磁気テープ)等の記憶容量分まではトレースデ
ータ23を保存することが可能である、しかし、図8に
示す従来のSCSIバスモニタ装置5では、トレ―ス動
作を中断してトレ―スデ―タ23をホスト収集装置21
へ転送している期間は、測定対象のバス1上を伝送され
ているSCSI信号7の遷移等の事象をトレ―スモニタ
することができず、その期間のSCSI信号7の遷移情
報は全て失われてしまう。すなわち従来のSCSIバス
モニタ装置5では、結果的にSCSIバスのモニタトレ
―スは間欠的なトレ―スということになるため、たとえ
長時間に亘って測定したとしても、重要なトレースデー
タ23が欠落する可能性を否定出来ない問題が生じる。If such a method is adopted, a memory or HD (hard disk) built in the host collection device 21
It is possible to store the trace data 23 up to the storage capacity of the MT, MT (magnetic tape), etc. However, in the conventional SCSI bus monitor device 5 shown in FIG. The data 23 and the host collection device 21
During the transfer to the bus, the trace signal cannot be monitored for the transition of the SCSI signal 7 transmitted on the bus 1 to be measured, and all the transition information of the SCSI signal 7 during that period is lost. Will end up. That is, in the conventional SCSI bus monitor device 5, since the monitor trace of the SCSI bus is an intermittent trace, the important trace data 23 is lost even if the measurement is performed for a long time. There is a problem that cannot be denied.
【0020】このような不都合を解消するために、トレ
―ス動作中に収集したトレ―スデ―タ23を同時(リア
ルタイム)にホスト収集装置21へ転送すればよいが、
実際にそのようなシステムにするには以下のような問題
点がある。In order to eliminate such inconvenience, the trace data 23 collected during the trace operation may be transferred to the host collection device 21 at the same time (real time).
There are the following problems in actualizing such a system.
【0021】すなわち、そのようなシステムを実現する
ためには、トレ―スメモリ10として同時にリ―ドライ
ト可能なFIFOメモリやDUALPORTメモリ等の
高価な特殊メモリを採用しなくてはならない。さらに、
収集したトレ―スデ―タ23をホスト収集装置21へ転
送する転送速度を、タイムスタンプデ―タ15の追加分
も含めて、測定対象SCSIバスの動作速度以上に設定
する必要がある。That is, in order to realize such a system, an expensive special memory such as a read-write FIFO memory or dual port memory must be adopted as the trace memory 10. further,
It is necessary to set the transfer speed for transferring the collected trace data 23 to the host collection device 21 to be higher than the operating speed of the SCSI bus to be measured, including the addition of the time stamp data 15.
【0022】そしてそのようなホスト収集装置21側の
伝送インタ―フェ―スを実現するためには、SCSI規
格(現在の規格では最高転送速度は10M転送/秒)を
はるかに越えた伝送速度特性を持つインタ―フェ―スを
独自で構築する必要がある。しかしそのような特殊なイ
ンタ―フェ―スの開発には莫大な時間と労力を必要と
し、かつたとえ実現できたとしてもホスト側の伝送イン
タ―フェ―ス回路に高速な部品を採用せざるを得ないの
で、当然のことながらSCSIバスモニタ装置5の製造
費が大幅に上昇するので、実際問題としてこの手法を採
用することは非常に困難である。In order to realize such a transmission interface on the side of the host collection device 21, a transmission speed characteristic far exceeding the SCSI standard (the maximum transfer rate in the present standard is 10 M transfer / sec) is provided. It is necessary to build an interface that has However, development of such a special interface requires enormous amount of time and labor, and even if it can be realized, high-speed components must be adopted in the transmission interface circuit on the host side. As a matter of course, since the manufacturing cost of the SCSI bus monitor device 5 is significantly increased, it is very difficult to adopt this method as a practical problem.
【0023】本発明はこのような事情に鑑みてなされた
ものであり、トレースメモリの記憶量が設定値を越える
とバスに対して強制的にビジィ信号を送出することによ
って、トレースメモリに蓄積されたトレースデータを転
送する期間中におけるSCSI信号の遷移情報が消失す
ることを未然に防ぎ、特殊な部品を採用することなく安
価に、長時間に亘ってSCSI信号のモニタトレ―ス動
作を欠落することなく実施できるSCSIバスモニタ装
置及びこのSCSIバスモニタ装置が組込まれたバスモ
ニタシステムを提供することを目的とする。The present invention has been made in view of the above circumstances, and when the storage amount of the trace memory exceeds a set value, the busy signal is forcibly transmitted to the bus to be accumulated in the trace memory. The loss of the transition information of the SCSI signal during the period when the trace data is transferred is prevented, and the monitor trace operation of the SCSI signal is lost for a long time at low cost without using special parts. It is an object of the present invention to provide a SCSI bus monitor device that can be implemented without a need and a bus monitor system incorporating the SCSI bus monitor device.
【0024】[0024]
【課題を解決するための手段】上記課題解消するために
本発明のSCSIバスモニタ装置は、情報処理装置相互
間を接続するバス上を伝送されるSCSI信号を取込む
バス受信部と、バス受信部で取込まれたSCSI信号の
遷移から記録すべき事象を検出するイベント検出手段
と、イベント検出手段が事象を検出したときの前記SC
SI信号の状態をトレースデータとして順次記憶してい
くトレースメモリと、トレースメモリの記憶量が設定値
を超えると警報を出力するメモリ監視手段と、バスに接
続された全ての情報処理装置がバスをバスフリー状態と
みなす時刻より先にこのバスフリー状態への移行を検出
するバスフリー状態検出手段と、メモリ監視手段が警報
を出力した状態で、かつバスフリー状態検出手段がバス
フリー状態を検出したとき、バスに対してビジィ信号を
出力するビジィ信号出力手段と、ビジィ信号の出力後
に、トレースメモリに記憶されたトレースデータを外部
へ転送するトレースデータ転送手段と、トレースデータ
転送手段によるトレースデータの転送終了に応動して、
ビジィ信号を解除するビディ信号解除手段とを備えたも
のである。SUMMARY OF THE INVENTION In order to solve the above problems, a SCSI bus monitor device of the present invention includes a bus receiving unit for receiving a SCSI signal transmitted on a bus connecting information processing devices, and a bus receiving unit. The event detection means for detecting an event to be recorded from the transition of the SCSI signal captured by the unit, and the SC when the event detection means detects the event.
A trace memory that sequentially stores the state of the SI signal as trace data, a memory monitoring unit that outputs an alarm when the storage amount of the trace memory exceeds a set value, and all the information processing devices connected to the bus are connected to the bus. The bus-free state detection means that detects the transition to the bus-free state and the memory monitoring means output an alarm before the time considered as the bus-free state, and the bus-free state detection means detects the bus-free state. At this time, a busy signal output means for outputting a busy signal to the bus, a trace data transfer means for transferring the trace data stored in the trace memory to the outside after outputting the busy signal, and a trace data transfer means for transferring the trace data In response to the end of transfer,
And a busy signal canceling means for canceling the busy signal.
【0025】また、別の発明においては、上述したメモ
リ監視手段を、設定値を外部から設定可能とするととも
にこの設定値を対応する設定アドレスに変換する設定値
入力手段と、設定値入力手段にて変換された設定アドレ
スとトレースデータをトレースメモリに書込む時の書込
アドレスとを比較して、書込アドレスが設定アドレスを
越えると警報を出力するアドレス比較手段とで構成して
いる。According to another aspect of the present invention, the memory monitoring means described above includes a set value input means for setting a set value from the outside and converting the set value into a corresponding set address, and a set value input means. The address comparison means compares the converted setting address with the write address for writing the trace data in the trace memory, and outputs an alarm when the write address exceeds the set address.
【0026】さらに、別の発明においては、上述したバ
スフリー状態検出手段におけるバスフリー状態の検出時
刻を、バスに接続された全ての情報処理装置がバスに対
してビジィ信号を解除したことを検出した時刻とし、か
つ上述したビジィ信号出力手段におけるビジィ信号出力
時刻を、バスフリー状態の検出時刻より後で、かつ出力
するビシィ信号が全ての情報処理装置に到達する時刻が
この全ての情報処理装置がバスをバスフリー状態とみな
す時刻より前に設定している。Further, in another invention, the bus-free state detection time in the above-mentioned bus-free state detecting means is detected when all the information processing devices connected to the bus release the busy signal to the bus. And the busy signal output time in the busy signal output means described above is after the bus-free state detection time and the time when the busy signal to be output reaches all the information processing devices. Is set before the time when the bus is considered to be free.
【0027】また、本発明のバスモニタシステムは、上
述した構成を有するSCSIバスモニタ装置と、このS
CSIバスモニタ装置から外部へ転送されたトレースデ
ータをデータ処理するホスト収集装置とで構成してい
る。Further, the bus monitor system of the present invention includes a SCSI bus monitor device having the above-mentioned configuration and the S bus monitor device.
It is configured with a host collection device that processes the trace data transferred from the CSI bus monitor device to the outside.
【0028】さらに、このバスモニタシステムにおける
ホスト収集装置は、SCSIバスモニタ装置から外部へ
順次出力されるトレースデータを一時記憶するバッファ
メモリと、このバッファメモリに記憶されたトレースデ
ータのうち外部から指定された事象に対応するトレース
データを抽出するトレースデータ抽出手段と、このトレ
ースデータ抽出手段にて抽出されたトレースデータを記
憶保持する外部記録装置とを備えている。Further, the host collection device in this bus monitor system specifies a buffer memory for temporarily storing the trace data sequentially output from the SCSI bus monitor device, and the trace data stored in the buffer memory from the outside. The trace data extracting means for extracting the trace data corresponding to the occurred event and the external recording device for storing and holding the trace data extracted by the trace data extracting means are provided.
【0029】[0029]
【作用】このように構成されたSCSIバスモニタ装置
においては、トレースデータが順次記憶されていくトレ
ースメモリの記憶量が設定値を越えるとメモリ監視手段
から警報が出力される。In the SCSI bus monitor thus constructed, the memory monitoring means outputs an alarm when the storage amount of the trace memory in which the trace data is sequentially stored exceeds the set value.
【0030】また、バスフリー状態検出手段は、バス上
に各情報処理装置から出力されているビジィ信号の信号
状態を監視しており、このバスに接続された全ての情報
処理装置がバスをバスフリー状態とみなす時刻より先に
このバスフリー状態への移行を検出する。Further, the bus-free state detecting means monitors the signal state of the busy signal output from each information processing device on the bus, and all the information processing devices connected to this bus connect the bus to the bus. The transition to the bus free state is detected before the time considered as the free state.
【0031】そして、前記警報が出力されてから最初に
バスフリー状態が検出されると、バスに対して強制的に
ビジィ信号が出力される。すなわち、バスがSCSI規
格で定められたバスフリー状態に移行する直前にSCS
Iバスモニタ装置からバスにビジィ信号を送出すること
によって、このバスに接続された各情報処理装置はこの
ビシィ信号を他の情報処理装置が出力したビジィ信号と
判断して、バスに対するSCSI信号を出力せずにこの
ビジィ信号の解除待ちとなる。When the bus-free state is first detected after the alarm is output, the busy signal is forcibly output to the bus. That is, the SCS immediately before the bus enters the bus free state defined by the SCSI standard.
By sending a busy signal from the I-bus monitor to the bus, each information processing device connected to this bus determines that the busy signal is a busy signal output by another information processing device, and outputs a SCSI signal to the bus. It does not output and waits for the release of this busy signal.
【0032】なお、このSCSIバスモニタ装置からバ
スにビジィ信号を送出するタイミングはバスがバスフリ
ー状態に移行する直前であるので、バス上を伝送中のS
CSI信号を阻害するものではない。The timing at which the busy signal is sent from the SCSI bus monitor device to the bus is immediately before the bus shifts to the bus free state.
It does not interfere with the CSI signal.
【0033】そして、SCSIバスモニタ装置におい
て、ビジィ信号をバス上に送出して、バス上にSCSI
信号が伝送されていない期間に、トレースメモリに蓄積
されたトレースデータが外部のホスト収集装置へ転送さ
れる。転送処理が終了すると、ビジィ信号が解除され
る。ビシィ信号が解除されると、バス上には再び各情報
処理装置からSCSI信号が出力されるので、SCSI
バスモニタ装置は事象の検出及びトレースデータのトレ
ースメモリに対する蓄積を再開する。Then, in the SCSI bus monitor device, a busy signal is sent out on the bus, and the SCSI signal is sent on the bus.
The trace data accumulated in the trace memory is transferred to the external host collection device during the period when the signal is not transmitted. When the transfer process is completed, the busy signal is released. When the busy signal is released, the SCSI signal is output again from each information processing device on the bus.
The bus monitor restarts event detection and accumulation of trace data in the trace memory.
【0034】このように、トレースデータを外部へ転送
している期間、バスへビシィ信号を出力して、バス上に
SCSI信号が出力されないようにすることによって、
SCSI信号のモニタトレ―スに欠落が生じるのが未然
に防止される。As described above, by outputting the busy signal to the bus during the transfer of the trace data to the outside so that the SCSI signal is not output on the bus,
It is possible to prevent the monitor trace of the SCSI signal from being lost.
【0035】また、別の発明においては、警報を出力す
る判定基準となる設定値を外部から任意に設定可能とな
る。また、警報はトレースメモリに対する書込アドレス
が設定値に対応する設定アドレスを越えたときに出力さ
れるので、メモリ監視を簡単に実現できる。Further, in another invention, a set value serving as a criterion for outputting an alarm can be arbitrarily set from the outside. Further, since the alarm is output when the write address to the trace memory exceeds the set address corresponding to the set value, the memory monitoring can be easily realized.
【0036】さらに、別の発明においては、バスに対す
るビジィ信号出力時刻は、全ての情報処理装置がバスに
対してビジィ信号を解除してから、全ての情報処理装置
がバスを介しそのビジィ信号を受信できる時刻、すなわ
ちSCSI規格で規定されたバスフリー状態と見なすま
での間である。この時間帯はバス上にSCSI信号は存
在しない。Further, in another invention, the busy signal output time to the bus is such that after all the information processing apparatuses release the busy signal to the bus, all the information processing apparatuses output the busy signal via the bus. Receivable time, that is, until the bus free state defined by the SCSI standard is considered. During this time, there are no SCSI signals on the bus.
【0037】また、本発明のバスモニタシステムにおい
ては、SCSIバスモニタ装置から外部へ順次出力され
るトレースデータはホスト収集装置において、外部から
指定された事象に対応するトレースデータのみが選択さ
れて外部記録装置へ記録保持される。すなわち、操作者
はこのホスト収集装置において必要なトレースデータの
みを選択して記録保持可能となる。Further, in the bus monitor system of the present invention, the trace data sequentially output from the SCSI bus monitor device to the outside is selected by the host collecting device, and only the trace data corresponding to the event designated from the outside is selected. It is recorded and held in the recording device. That is, the operator can select and record only the necessary trace data in this host collection device.
【0038】[0038]
【実施例】以下本発明の一実施例を図面を用いて説明す
る。図1は実施例のバスモニタシステムの概略構成を示
すブロック図である。この実施例のバスモニタシステム
は、図示するように、SCSIバスモニタ装置31とホ
スト収集装置32とで構成されている。なお、図8に示
す従来のSCSIバスモニタ装置5と同一部分には同一
符号が付してある。したがって、重複する部分の詳細説
明は省略する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of the bus monitor system of the embodiment. The bus monitor system of this embodiment is composed of a SCSI bus monitor device 31 and a host collection device 32, as shown in the figure. The same parts as those of the conventional SCSI bus monitor device 5 shown in FIG. 8 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions will be omitted.
【0039】この実施例システムにおけるSCSIバス
モニタ装置31内には、図8に示す従来のSCSIバス
モニタ装置5に、メモリ監視回路33とビジィ信号発生
回路34とが付加されている。In the SCSI bus monitor device 31 in the system of this embodiment, a memory monitor circuit 33 and a busy signal generation circuit 34 are added to the conventional SCSI bus monitor device 5 shown in FIG.
【0040】すなわちメモリ監視回路33は、アドレス
発生回路16からトレースメモリ10へ送出するメモリ
アドレス17を参照することによって、トレ―スメモリ
10に累積記録されたトレ―スデ―タ23の量を常時監
視し、トレ―スデ―タ23の記憶量が予め設定された設
定量を越えたときに警報としてのアラ―ム信号35をビ
ジィ信号発生回路34へ送出する。That is, the memory monitoring circuit 33 refers to the memory address 17 sent from the address generation circuit 16 to the trace memory 10 to constantly determine the amount of the trace data 23 cumulatively recorded in the trace memory 10. When the memory amount of the trace data 23 is monitored and exceeds a preset amount, an alarm signal 35 as an alarm is sent to the busy signal generating circuit 34.
【0041】図2はメモリ監視回路33の詳細構成を示
すブロック図である。図示するように、メモリ監視回路
33は、外部コントローラ36から入力されたアラーム
設定値37を取込んで設定アドレスを出力する設定値入
力手段としてのアラーム設定レジスタ38と比較回路3
9とで構成されている。FIG. 2 is a block diagram showing a detailed structure of the memory monitoring circuit 33. As shown in the figure, the memory monitoring circuit 33 takes in the alarm set value 37 input from the external controller 36 and outputs the set address.
It is composed of 9 and 9.
【0042】このような構成のメモリ監視回路33にお
いて、メモリアドレス発生回路16から出力されるメモ
リアドレス17のうち、最上位2ビットのADR15と
ADR14はトレ―スメモリ10の他に、比較回路39
の一端に入力される。なお、実施例装置においてはメモ
リアドレス17として16ビット分の空間が割当てられ
ているものとする。In the memory monitoring circuit 33 having such a configuration, among the memory addresses 17 output from the memory address generation circuit 16, the most significant 2 bits ADR15 and ADR14 are not only the trace memory 10 but also the comparison circuit 39.
Is input at one end of. It is assumed that a 16-bit space is allocated as the memory address 17 in the apparatus of the embodiment.
【0043】一方、例えばこのSCSIバスモニタ装置
31内部に設けられたCPU等の外部コントロ―ラ36
からは、ユ―ザが設定した所望のアラ―ム設定値37
が、アラ―ム設定レジスタ38に入力される。アラ―ム
の設定レジスタ38からは、トレ―スメモリ10の記憶
量がどの程度以上になったらアラ―ム信号35を発生す
るかを指示する信号SET15,SET14が出力さ
れ、比較回路39の他端へ入力される。On the other hand, for example, an external controller 36 such as a CPU provided inside the SCSI bus monitor device 31.
From the desired alarm set value 37 set by the user.
Is input to the alarm setting register 38. From the alarm setting register 38, signals SET15 and SET14 for instructing when the amount of storage in the trace memory 10 becomes greater than or equal to the time when the alarm signal 35 is generated are output, and the other end of the comparison circuit 39. Is input to.
【0044】比較回路39内には図3に示す真理値表が
記憶されており、この比較回路39は、ADR15−A
DR14で示されるアドレス値がSET15−14で示
される設定値と等しいか、あるいは大きい状態となった
時にアラ―ム信号35を出力する。The truth table shown in FIG. 3 is stored in the comparison circuit 39, and the comparison circuit 39 uses the ADR15-A.
When the address value indicated by DR14 becomes equal to or larger than the set value indicated by SET15-14, the alarm signal 35 is output.
【0045】なお、実施例ではメモリ監視回路33にお
いてメモリアドレス17の最上位2ビットのみを比較す
る回路構成となっているが、2ビット以上の応用につい
ても(メモリアドレス値)≧(アラ―ム設定値)の条件
でアラ―ム信号35を発生する回路を構成することが可
能であることは言うまでもない。In the embodiment, the memory monitoring circuit 33 has a circuit configuration in which only the most significant 2 bits of the memory address 17 are compared with each other. It goes without saying that it is possible to configure a circuit that generates the alarm signal 35 under the condition of (set value).
【0046】次に、イベント検出回路8aの動作を説明
する。イベント検出回路8aは図8に示す従来のイベン
ト検出回路8と同様に、SCSI信号7を受けてこのS
CSI信号7の遷移から記録すべき事象を検出してイベ
ント検出信号11を出力する機能の他に、測定対象のS
CSIのバス1がバスフリ―状態(フェ―ズ)に遷移し
た瞬間を検出してバスフリ―検出信号40をモニタシー
ケンサ12a及びビジィ信号発生回路34へ出力する機
能を有する。Next, the operation of the event detection circuit 8a will be described. The event detection circuit 8a receives the SCSI signal 7 as in the conventional event detection circuit 8 shown in FIG.
In addition to the function of detecting the event to be recorded from the transition of the CSI signal 7 and outputting the event detection signal 11, the S
It has a function of detecting the instant when the CSI bus 1 transits to the bus-free state (phase) and outputting the bus-free detection signal 40 to the monitor sequencer 12a and the busy signal generating circuit 34.
【0047】なお、ここでバスフリ―状態とはSCSI
規格で定義されているように、SCSIのバス1上に接
続された全ての情報装置2がバス1を使用していない状
態を意味する。The bus-free state is SCSI here.
As defined in the standard, this means a state in which all the information devices 2 connected on the SCSI bus 1 are not using the bus 1.
【0048】ビジィ信号発生回路34は、アラ―ム信号
35が出力されている状態でかつバスフリ―検出信号4
0が入力されると、ビシィ信号41をアダプタ3を介し
てバス1上へ出力(SCSI規格でアクティブ側)す
る。さらに、ビジィ信号発生回路34は、モニタシ―ケ
ンサ12aからのビジィ停止信号42が入力されると、
バス1へ出力していたビジィ信号41を解除(SCSI
規格でインアクティブ側)する。The busy signal generating circuit 34 outputs the bus free detection signal 4 while the alarm signal 35 is being output.
When 0 is input, the busy signal 41 is output to the bus 1 via the adapter 3 (active side according to the SCSI standard). Further, the busy signal generation circuit 34 receives the busy stop signal 42 from the monitor sequencer 12a,
Release the busy signal 41 that was output to bus 1 (SCSI
Inactive side by standard).
【0049】このイベント検出回路8aのバスフリ―検
出信号40及びビジィ信号発生回路34のビジィ信号4
1の発生タイミングについて、図4の最悪の実装ケ―ス
に基づいた詳細タイムチャ―トを用いて詳しく説明す
る。The bus free detection signal 40 of the event detection circuit 8a and the busy signal 4 of the busy signal generation circuit 34
The timing of occurrence of 1 will be described in detail using the detailed time chart based on the worst mounting case of FIG.
【0050】図4に示す最悪の実装ケ―スとは、測定対
象のバス1の装置A・B間の先に、SCSI規格で許容
される最大長のケ―ブル(バス1)を介してSCSIバ
スモニタ装置31を接続した場合であり、このとき装置
A・BからSCSIバスモニタ装置31までの伝播遅延
時間(プロパゲ―ション・ディレイ。タイム)TDは最
大となる。The worst mounting case shown in FIG. 4 is that the maximum length cable (bus 1) allowed by the SCSI standard is provided between the devices A and B of the bus 1 to be measured. This is a case where the SCSI bus monitor device 31 is connected, and at this time, the propagation delay time (propagation delay time) TD from the devices A and B to the SCSI bus monitor device 31 becomes maximum.
【0051】図4ではケ―ブルによる伝播遅延時間TD
を1m=5.4nsec (SCSI−3規格での許容最大
値)としており、SCSI規格内での最長ケ―ブルは差
動方式(ディファレンシャルモ―ド)の場合25m(S
CSI−3規格での許容最大値)なので、装置A・Bか
らSCSIバスモニタ装置31までの伝播遅延時間TD
は135nsec となる。In FIG. 4, the propagation delay time TD due to the cable is
Is set to 1 m = 5.4 nsec (maximum allowable value in the SCSI-3 standard), and the longest cable within the SCSI standard is 25 m (S in the differential mode).
The maximum allowable value in the CSI-3 standard), so the propagation delay time TD from the devices A and B to the SCSI bus monitor device 31
Is 135 nsec.
【0052】SCSI規格によると、ビジィ信号と情報
交換すべき相手側装置を選択してもよいことを示すSE
L(選択許可)信号との両方の信号がインアクティブ
(非活性)である状態が400nsec に設定されたBus
Settle Delay Time 越えたときにバスフリ―状態となる
と規定している。According to the SCSI standard, SE indicating that a partner device to exchange information with a busy signal may be selected
Bus in which both the L (selection enable) signal and the inactive signal are set to 400 nsec
It is specified that the bus-free state will occur when the Settle Delay Time is exceeded.
【0053】例えば、図5では装置A,B間の伝播遅延
時間TDは0nsec となっているので、装置Aがビジィ
信号を停止してから400nsec 経過した時点で装置B
はバスフリ―状態を検出する。For example, in FIG. 5, since the propagation delay time TD between the devices A and B is 0 nsec, the device B is stopped when 400 nsec has passed since the device A stopped the busy signal.
Detects a bus-free condition.
【0054】実施例装置においては、バス1に接続され
た全ての情報処理装置2がバスフリ―状態を検出する前
に、すなわち図4で装置Aがビシィ信号を解除(インア
クティブ)とした瞬間から400nsec 以内に、強制的
にビジィ信号41をバス1上の全ての情報処理装置2に
到達するタイミングで出力(アクティブ側)する。In the apparatus of the embodiment, before all the information processing apparatuses 2 connected to the bus 1 detect the bus free state, that is, from the moment when the apparatus A releases the busy signal (inactive) in FIG. Within 400 nsec, the busy signal 41 is forcibly output (active side) at the timing of reaching all the information processing devices 2 on the bus 1.
【0055】図4の場合は、SCSIバスモニタ装置3
1がビシィ信号解除を検出するのは装置Aがビジィ信号
を停止してから135nsec の伝播遅延時間TD経過後
なので、そのバスフリ―検出時点からさらに100nse
c 後に強制的にビジィ信号41をバス1へ出力してい
る。すると、バス1上の装置A・BにSCSIバスモニ
タ装置31からのビジィ信号41が到達するのは、装置
Aがビジィ信号を解除してから通算して370nsec 後
となり、装置Bがバスフリ―状態を検出するタイミング
の30nsec 前にバス1を再びビジィ状態にすることが
可能になる。In the case of FIG. 4, the SCSI bus monitor device 3
1 detects the release of the busy signal after the device A stops the busy signal after the propagation delay time TD of 135 nsec elapses, and therefore 100 nse from the time when the bus free is detected.
After c, the busy signal 41 is forcibly output to the bus 1. Then, the busy signal 41 from the SCSI bus monitor device 31 reaches the devices A and B on the bus 1 370 nsec after the device A releases the busy signal, and the device B is in the bus free state. It becomes possible to set the bus 1 to the busy state again 30 nsec before the timing of detecting the signal.
【0056】したがって、それまでバス1を使用してい
た情報処理装置2がビジィ信号とSEL信号との両方の
信号を解除しててバス1を開放したとしても、その時点
から前述したBus Settle Delay Time (=400nsec)
を経過しないうちに再びバス1はビジィ状態となるの
で、SCSI規格でのバスフリ―状態のタイミング仕様
を満たさなくなり、SCSIバス上の全ての情報処理装
置2はバスフリ―状態を検出できなくなる。Therefore, even if the information processing apparatus 2 which has been using the bus 1 releases the bus 1 and releases the bus 1 by releasing both the busy signal and the SEL signal, the above-mentioned Bus Settle Delay starts from that point. Time (= 400nsec)
Since the bus 1 is in the busy state again before the time elapses, the timing specification of the bus free state in the SCSI standard cannot be satisfied, and all the information processing devices 2 on the SCSI bus cannot detect the bus free state.
【0057】このように、SCSIバスモニタ装置31
が上述したタイミングでバス1上にビジィ信号41を出
力している期間においては、バス1は凍結され、このバ
ス1に接続された全ての情報処理装置2は、次のバスフ
リ―状態、すなわちSCSIバスモニタ装置31がビジ
ィ信号41を解除するまで、バス1に対するアクセス動
作が強制的に中断される。In this way, the SCSI bus monitor device 31
While the busy signal 41 is being output to the bus 1 at the above timing, the bus 1 is frozen, and all the information processing devices 2 connected to this bus 1 are in the next bus free state, that is, SCSI. The access operation to the bus 1 is forcibly interrupted until the bus monitor device 31 releases the busy signal 41.
【0058】以上のように構成されたSCSIバスモニ
タ装置31の動作を図5に示す流れ図及び図6に示すタ
イムチャートを用いて説明する。図5の流れ図及び図6
のタイムチャ―トにおいて、例えばホスト収集装置32
から時刻t1 にてモニタトレ―ス動作開始指令を受領す
ると、P(プログラム・ステップ)1にてバス受信部6
及びイベント検出回路8aを起動して、トレ―ス業務を
開始する。そしてトレ―ス動作期間中は、イベント検出
回路8aによって検出された事象の発生に応動して、そ
のときのSCSI信号デ―タ13と、タイムスタンプデ
―タ15とからなるトレースデータ23をトレ―スメモ
リ10に順次記録し、トレ―スメモリ10のメモリアド
レス17を1づつ更新していくことによってトレ―スデ
―タ量が増加していく。The operation of the SCSI bus monitor device 31 configured as described above will be described with reference to the flow chart shown in FIG. 5 and the time chart shown in FIG. The flowchart of FIG. 5 and FIG.
In the time chart of, for example, the host collection device 32
When a monitor trace operation start command is received from time t 1 from time t 1, the bus reception unit 6 is received at P (program step) 1.
Also, the event detection circuit 8a is activated to start the trace work. During the trace operation period, the trace data 23 consisting of the SCSI signal data 13 and the time stamp data 15 at that time is traced in response to the occurrence of the event detected by the event detection circuit 8a. -The amount of trace data is increased by sequentially recording in the trace memory 10 and updating the memory address 17 of the trace memory 10 one by one.
【0059】そして時刻t2 にて、トレ―スデ―タ量が
設定値を越えたらメモリ監視回路33からアラ―ム信号
35がビジィ信号発生回路34へ送出される(P2)。
アラ―ム信号35を受領したビジィ信号発生回路34
は、モニタシーケンサ12aからバスフリー検出信号4
2の入力を待つ。At time t 2 , when the trace data amount exceeds the set value, the memory monitoring circuit 33 sends an alarm signal 35 to the busy signal generating circuit 34 (P2).
Busy signal generation circuit 34 that has received the alarm signal 35
Is a bus-free detection signal 4 from the monitor sequencer 12a.
Wait for 2 input.
【0060】時刻t3 にてバスフリー検出信号42を受
領したビジィ信号発生回路34は、所定の遅延時間10
0nsecn経過後(P4)の時刻t4 にて、測定対象のS
CSIバスに対してビジィ信号41を強制的に出力する
(P5)。Upon receiving the bus-free detection signal 42 at time t 3, the busy signal generation circuit 34 receives the predetermined delay time 10
At time t 4 after 0 nsecn (P4), the S
The busy signal 41 is forcibly output to the CSI bus (P5).
【0061】SCSIバスモニタ装置31がバス1上に
ビジィ信号41を出力すると、バス1に接続された全て
の情報処理装置2はこのバス1を使えなくなるのでバス
1が凍結状態になる。すると、モニタシーケンサ12a
は、時刻t5 にて、転送要求信号23をホストバスイン
タフェース回路24へ送出して、トレースメモリ10内
に蓄積されたレースデータ23のホスト収集装置32に
対する転送処理を開始する(P6)。When the SCSI bus monitor device 31 outputs the busy signal 41 on the bus 1, all the information processing devices 2 connected to the bus 1 cannot use the bus 1, so that the bus 1 is frozen. Then, the monitor sequencer 12a
At time t 5 , the transfer request signal 23 is sent to the host bus interface circuit 24 to start the transfer processing of the race data 23 accumulated in the trace memory 10 to the host collecting device 32 (P6).
【0062】そして、時刻t6 にてトレースメモリ10
内のトレースデータ23が設定値以下に低下するとアラ
ーム信号35が解除される。さらに、時刻t7 にてトレ
―スメモリ10内の全てのトレ―スデ―タ23の転送処
理が終了すると(P7)、モニタシーケンサ12aから
ビジィ停止信号42が出力され、時刻t8 にて、バス1
上へ出力されていたビジィ信号41を解除する(P
8)。Then, at time t 6, the trace memory 10
When the trace data 23 therein falls below the set value, the alarm signal 35 is released. Moreover, Tre at time t 7 - All Torre Sumemori 10 - scan de - the transfer processing of data 23 is completed (P7), busy stop signal 42 is outputted from the monitor sequencer 12a, at time t 8, Bus 1
The busy signal 41 output upward is released (P
8).
【0063】そして指定されたトレ―ス動作を終了しな
いならば(P9)、トレ―ス動作を再開してP2へ戻
り、再びアラ―ム信号35を待つ。また、トレ―ス動作
をを終了するならばその時点で全ての動作を停止する。If the specified trace operation is not completed (P9), the trace operation is restarted and the process returns to P2 to wait for the alarm signal 35 again. If the trace operation is finished, all the operations are stopped at that point.
【0064】このように構成されたSCSIバスモニタ
装置31においては、バス1に接続された各情報処理装
置2相互間で伝送されるSCSI信号を欠落なくモニタ
でき、記録すべき事象を確実にトレースして記憶保持で
きる。In the SCSI bus monitor device 31 thus constructed, the SCSI signals transmitted between the information processing devices 2 connected to the bus 1 can be monitored without omission, and the event to be recorded can be traced with certainty. It can be stored in memory.
【0065】次に、ホスト収集装置32の構成及び動作
を説明する。図7はホスト収集装置32の概略構成を示
すブロック図である。SCSIバスモニタ装置31から
入力されたホスト転送デ―タ26は一旦バッファメモリ
43内に記憶される。一方、キ―ボ―ド47を使ってユ
―ザから入力されたユ―ザキ―入力48を基に、保存選
択項目テ―ブル49が作成される。この保存選択項目テ
―ブル49は、トレースメモリ10に記録されているタ
イムスタンプデータ15とSCSI信号データ13から
なる多種多様のトレ―スデ―タ23のうち、実際にどの
種類のトレ―スデ―タ23をこのホスト収集装置32に
接続されたハ―ドディスクや磁気テ―プ、あるいは光デ
ィスク装置などの外部記録装置46に記録保持するのか
を指定するテ―ブルである。Next, the configuration and operation of the host collection device 32 will be described. FIG. 7 is a block diagram showing a schematic configuration of the host collection device 32. The host transfer data 26 input from the SCSI bus monitor device 31 is temporarily stored in the buffer memory 43. On the other hand, a save selection item table 49 is created based on the user key input 48 input from the user using the keyboard 47. This save selection item table 49 is actually a trace of any kind among various kinds of trace data 23 composed of the time stamp data 15 and the SCSI signal data 13 recorded in the trace memory 10. It is a table that specifies whether the data 23 is recorded and held in an external recording device 46 such as a hard disk or magnetic tape connected to the host collecting device 32, or an optical disk device.
【0066】選択項目抽出部44は、バッフタメモリ4
3に一時記憶されている各トレ―スデ―タ23のうち、
保存選択項目テ―ブル49に登録されている種類(保存
項目)50に該当する種類のトレ―スデ―タ23を抽出
して、セーブデータ51として次のデータ圧縮部45へ
送出する。データ圧縮部45は入力したセーブデータ5
を圧縮して、圧縮した圧縮データ52を外部記録装置4
6へ書込む。The selection item extracting section 44 is provided in the buffer memory 4
Of each trace data 23 temporarily stored in 3,
The trace data 23 of the type corresponding to the type (save item) 50 registered in the save selection item table 49 is extracted and sent as save data 51 to the next data compression unit 45. The data compression unit 45 inputs the save data 5
And compress the compressed data 52 that has been compressed by the external recording device 4
Write to 6.
【0067】このように、ホスト収集装置32は、SC
SIバスモニタ装置31から転送されたホスト転送デー
タ26のうち、ユーザ(操作者)がキーボード47で指
定した種類のトレ―スデ―タ23のみを外部記録装置4
6に記録保持できる。As described above, the host collection device 32 has the SC
Of the host transfer data 26 transferred from the SI bus monitor device 31, only the trace data 23 of the type specified by the user (operator) with the keyboard 47 is transferred to the external recording device 4.
6 can be recorded and held.
【0068】なお。この外部記録装置46はSCSIバ
スモニタ装置31のトレースメモリ10に比較して格段
に大きい記憶容量を有しているので、記憶容量を問題に
する必要はないが、実施例装置のように、データを圧縮
して記憶保持することによって外部記憶装置46の記憶
容量をより有効に使用することが可能ある。Incidentally. Since this external recording device 46 has a storage capacity that is significantly larger than the trace memory 10 of the SCSI bus monitor device 31, it is not necessary to consider the storage capacity as a problem, but unlike the device of the embodiment, data storage The storage capacity of the external storage device 46 can be used more effectively by compressing and storing.
【0069】このように構成されたSCSIバスモニタ
装置31及びバスモニタシステムにおいては、トレース
メモリ10に順次記憶されていくトレースデータ23の
記憶量がユーザが任意に設定可能な設定値を越えると、
バス1に対して自動的にビジィ信号41が出力されて、
バス1に全ての情報処理装置2からSCSI信号7が送
出されることを阻止している。そして、ビジィ信号出力
期間内にトレースメモリ10に蓄積されているトレース
データ23を外部のホスト収集装置32へ転送してい
る。In the SCSI bus monitor device 31 and the bus monitor system configured as described above, when the storage amount of the trace data 23 sequentially stored in the trace memory 10 exceeds a set value that can be arbitrarily set by the user,
Busy signal 41 is automatically output to bus 1,
The transmission of the SCSI signal 7 from all the information processing devices 2 to the bus 1 is blocked. Then, the trace data 23 accumulated in the trace memory 10 is transferred to the external host collection device 32 within the busy signal output period.
【0070】したがって、ビジィ信号出力期間中はバス
1へ他の情報処理装置2からSCSI信号7が送出され
ることはないので、たとえトレースメモリ10の記憶容
量が少なかったとしても、トレースデーテ23の収集過
程でSCSI信号7を欠落なくモニタでき、記録すべき
事象を確実にトレースして記憶保持できる。Therefore, the SCSI signal 7 is not sent from the other information processing device 2 to the bus 1 during the busy signal output period. Therefore, even if the storage capacity of the trace memory 10 is small, the trace data 23 The SCSI signal 7 can be monitored without omission during the collection process, and the event to be recorded can be reliably traced and stored.
【0071】なお、本発明は上述した実施例に限定され
るものではない。例えば、メモリ監視回路33の具体的
な実現方法で最も簡単な構成方法としては、メモリアド
レス17の最上位ビットをそのままアラ―ム信号35と
して使用することが可能である。The present invention is not limited to the above embodiment. For example, as the simplest method of realizing the memory monitoring circuit 33, the most significant bit of the memory address 17 can be used as it is as the alarm signal 35.
【0072】この場合、記録されたトレ―スデ―タ23
がトレ―スメモリ10の全記憶可能容量の50%を越え
たときにメモリアドレス17の最上位ビットが’1’と
なるので、トレースメモリ10の半分以上にトレ―スデ
―タ23が蓄積されると、ビジィ信号発生部34は、モ
ニタシーケンサ12aから次のバスフリ―検出信号40
を待って、ビジィ信号41をバス1上に強制的に出力す
ればよい。In this case, the recorded trace data 23
Since the most significant bit of the memory address 17 becomes "1" when exceeds 50% of the total storable capacity of the trace memory 10, the trace data 23 is accumulated in more than half of the trace memory 10. Then, the busy signal generator 34 receives the next bus free detection signal 40 from the monitor sequencer 12a.
After that, the busy signal 41 may be forcibly output onto the bus 1.
【0073】[0073]
【発明の効果】以上説明したように本発明のSCSIバ
スモニタ装置においては、トレースメモリの記憶量が設
定値を越えるとバスに対して強制的にビジィ信号を送出
して、バス上に他の情報処理装置からSCSI信号が出
力されることを中断させている。したがって、この中断
期間内において、トレースメモリに蓄積されたトレース
データを外部のホスト収集装置へ転送することが可能と
なる。As described above, in the SCSI bus monitor device of the present invention, when the storage amount of the trace memory exceeds the set value, a busy signal is forcibly sent to the bus and another bus is sent to the bus. The output of the SCSI signal from the information processing device is interrupted. Therefore, it becomes possible to transfer the trace data accumulated in the trace memory to the external host collection device during this interruption period.
【0074】その結果、トレースデータの転送期間中に
おけるSCSI信号の遷移情報が消失することを未然に
防ぎ、特殊な部品を採用することなく安価に、長時間に
亘ってSCSI信号のモニタトレ―ス動作を欠落するこ
となく実施できる。As a result, it is possible to prevent the transition information of the SCSI signal from being lost during the transfer period of the trace data, and to inexpensively monitor and operate the trace of the SCSI signal for a long time without using special parts. Can be implemented without omission.
【0075】さらに、ホスト収集装置においても、SC
SIバスモニタ装置から入力されたトレースデータのな
かでもユーザが特に必要とする種類のトレースデータの
みを抽出して記憶保持することが可能であるので、外部
記憶装置の記憶容量を有効的に使用できると共に、後
日、このトレースデータに対する解析作業を効率的に進
めることができる。Furthermore, even in the host collection device, the SC
Of the trace data input from the SI bus monitor device, only the trace data of the type that the user particularly needs can be extracted and stored and held, so that the storage capacity of the external storage device can be effectively used. At the same time, the analysis work on the trace data can be efficiently advanced at a later date.
【図面の簡単な説明】[Brief description of drawings]
【図1】 本発明の一実施例に係わるSCSIバスモニ
タ装置の概略構成を示すブロック図FIG. 1 is a block diagram showing a schematic configuration of a SCSI bus monitor device according to an embodiment of the present invention.
【図2】 同実施例装置におけるメモリ監視回路の概略
構成を示すブロック図FIG. 2 is a block diagram showing a schematic configuration of a memory monitoring circuit in the device of the embodiment.
【図3】 同メモリ監視回路の比較回路に記憶された真
理値表を示す図FIG. 3 is a diagram showing a truth table stored in a comparison circuit of the memory monitoring circuit.
【図4】 同実施例装置におけるバスフリー検出タイミ
ング及びビジィ信号出力タイミングを説明するためのタ
イムチャートFIG. 4 is a time chart for explaining bus-free detection timing and busy signal output timing in the apparatus of the embodiment.
【図5】 同実施例装置の動作を示す流れ図FIG. 5 is a flowchart showing the operation of the apparatus according to the embodiment.
【図6】 同実施例装置の動作を示すタイムチャートFIG. 6 is a time chart showing the operation of the apparatus of the embodiment.
【図7】 本発明の一実施例に係わるバスモニタシステ
ムに組込まれたホスト収集装置の概略構成を示すブロッ
ク図FIG. 7 is a block diagram showing a schematic configuration of a host collection device incorporated in a bus monitor system according to an embodiment of the present invention.
【図8】 従来のSCSIバスモニタ装置の概略構成を
示すブロック図FIG. 8 is a block diagram showing a schematic configuration of a conventional SCSI bus monitor device.
1…バス、2…情報処理装置、3…アダプタ、6…バス
受信部、8a…イベント検出回路、9…バス信号ラッ
チ、10…トレースメモリ、12a…モニタシーケン
サ、14…タイムスタンプ発生回路、16…メモリアド
レス発生回路、24…ホストバスインタフェース回路、
32…ホスト収集装置、33…メモリ監視回路、34…
ビジィ信号発生回路、38…アラーム設定レジスタ、3
9…比較回路、43…バッファメモリ、44…選択項目
抽出部、45…データ圧縮部、46…外部記録装置、4
7…キーボード、49…保存選択項目テーブル1 ... Bus, 2 ... Information processing device, 3 ... Adapter, 6 ... Bus receiving section, 8a ... Event detection circuit, 9 ... Bus signal latch, 10 ... Trace memory, 12a ... Monitor sequencer, 14 ... Time stamp generating circuit, 16 ... memory address generation circuit, 24 ... host bus interface circuit,
32 ... Host collecting device, 33 ... Memory monitoring circuit, 34 ...
Busy signal generation circuit, 38 ... Alarm setting register, 3
9 ... Comparison circuit, 43 ... Buffer memory, 44 ... Selection item extraction unit, 45 ... Data compression unit, 46 ... External recording device, 4
7 ... Keyboard, 49 ... Save selection item table
Claims (4)
伝送されるSCSI信号を取込むバス受信部と、 このバス受信部で取込まれたSCSI信号の遷移から記
録すべき事象を検出するイベント検出手段と、 このイベント検出手段が前記事象を検出したときの前記
SCSI信号の状態をトレースデータとして順次記憶し
ていくトレースメモリと、 このトレースメモリの記憶量が設定値を超えると警報を
出力するメモリ監視手段と、 前記バスに接続された全ての情報処理装置が前記バスを
バスフリー状態とみなす時刻より先にこのバスフリー状
態への移行を検出するバスフリー状態検出手段と、 前記メモリ監視手段が警報を出力した状態で、かつ前記
バスフリー状態検出手段がバスフリー状態を検出したと
き、前記バスに対してビジィ信号を出力するビジィ信号
出力手段と、 このビジィ信号の出力後に、前記トレースメモリに記憶
されたトレースデータを外部へ転送するトレースデータ
転送手段と、 このトレースデータ転送手段によるトレースデータの転
送終了に応動して、前記ビジィ信号を解除するビディ信
号解除手段とを備えたSCSIバスモニタ装置。1. A bus receiving section for taking in a SCSI signal transmitted on a bus connecting between information processing apparatuses, and an event to be recorded is detected from a transition of the SCSI signal taken in by the bus receiving section. Event detection means, a trace memory that sequentially stores the state of the SCSI signal when the event detection means detects the event as trace data, and an alarm is issued when the storage amount of the trace memory exceeds a set value. A memory monitoring unit for outputting; a bus-free state detecting unit for detecting a transition to the bus-free state before a time when all the information processing devices connected to the bus consider the bus to be in the bus-free state; When the monitoring means outputs an alarm and the bus-free state detecting means detects a bus-free state, a busy signal is sent to the bus. A busy signal output means for outputting, a trace data transfer means for transferring the trace data stored in the trace memory to the outside after the output of the busy signal, and a trace data transfer means for responding to the end of the transfer of the trace data by the trace data transfer means. And a bus signal canceling means for canceling the busy signal.
部から設定可能とするとともにこの設定値を対応する設
定アドレスに変換する設定値入力手段と、この設定値入
力手段にて変換された設定アドレスと前記トレースデー
タを前記トレースメモリに書込む時の書込アドレスとを
比較して、書込アドレスが設定アドレスを越えると前記
警報を出力するアドレス比較手段とを具備することを特
徴とする請求項1記載のSCSIバスモニタ装置。2. The memory monitoring means makes it possible to set the set value from the outside, and the set value input means converts the set value into a corresponding set address, and the setting converted by the set value input means. An address comparing means for comparing an address with a write address for writing the trace data in the trace memory and outputting the alarm when the write address exceeds a set address. Item 3. The SCSI bus monitor device according to Item 1.
スフリー状態の検出時刻は、前記バスに接続された全て
の情報処理装置が前記バスに対してビジィ信号を解除し
たことを検出した時刻であり、 前記ビジィ信号出力手段におけるビジィ信号出力時刻
は、前記バスフリー状態の検出時刻より後で、かつ出力
するビシィ信号が全ての情報処理装置に到達する時刻が
この全ての情報処理装置が前記バスをバスフリー状態と
みなす時刻より前に設定されることを特徴とする請求項
1又は2記載のSCSIバスモニタ装置。3. The bus-free state detection time in the bus-free state detecting means is a time at which all the information processing devices connected to the bus have released a busy signal to the bus, The busy signal output time in the busy signal output means is after the bus free state detection time and when the busy signal to be output reaches all the information processing devices, all the information processing devices are on the bus. 3. The SCSI bus monitor device according to claim 1, wherein the SCSI bus monitor device is set before the time to be regarded as a free state.
と、このSCSIバスモニタ装置から外部へ転送された
トレースデータをデータ処理するホスト収集装置とから
なるバスモニタシステムであって、 前記ホスト収集装置は、前記SCSIバスモニタ装置か
ら外部へ順次出力されるトレースデータを一時記憶する
バッファメモリと、このバッファメモリに記憶されたト
レースデータのうち外部から指定された事象に対応する
トレースデータを抽出するトレースデータ抽出手段と、
このトレースデータ抽出手段にて抽出されたトレースデ
ータを記憶保持する外部記録装置とを具備することを特
徴とするバスモニタシステム。4. A bus monitor system comprising: the SCSI bus monitor device according to claim 1; and a host collection device that processes trace data transferred from the SCSI bus monitor device to the outside. Is a buffer memory for temporarily storing the trace data sequentially output from the SCSI bus monitor device, and a trace for extracting trace data corresponding to an event designated from the outside from the trace data stored in the buffer memory. Data extraction means,
An external recording device which stores and holds the trace data extracted by the trace data extracting means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6109734A JPH07319804A (en) | 1994-05-24 | 1994-05-24 | Scsi bus monitoring device and bus monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6109734A JPH07319804A (en) | 1994-05-24 | 1994-05-24 | Scsi bus monitoring device and bus monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07319804A true JPH07319804A (en) | 1995-12-08 |
Family
ID=14517895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6109734A Pending JPH07319804A (en) | 1994-05-24 | 1994-05-24 | Scsi bus monitoring device and bus monitoring system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07319804A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6243834B1 (en) * | 1997-03-28 | 2001-06-05 | Emc Corporation | Apparatus and method for capturing information off a plurality of bi-directional communications buses |
-
1994
- 1994-05-24 JP JP6109734A patent/JPH07319804A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6243834B1 (en) * | 1997-03-28 | 2001-06-05 | Emc Corporation | Apparatus and method for capturing information off a plurality of bi-directional communications buses |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5402431A (en) | Innate bus monitoring system for computer system manager | |
KR100215944B1 (en) | Apparatus and method for managing power consumption | |
US20110055627A1 (en) | Seamless Application Session Reconstruction Between Devices | |
CN115617411B (en) | Electronic equipment data processing method and device, electronic equipment and storage medium | |
US7814275B2 (en) | Apparatus and method for performing a plurality of storage devices | |
JP2001034508A (en) | Memory dump collecting method, device for executing the method, and recording medium on which processing program is recorded | |
JPH07319804A (en) | Scsi bus monitoring device and bus monitoring system | |
CN115934616A (en) | Serial port information storage method and device, server, electronic equipment and storage medium | |
CN109697144B (en) | Hard disk detection method of electronic equipment and electronic equipment | |
JP3428195B2 (en) | How to record received data using protocol analyzer | |
JP3184099B2 (en) | Write cache device and write cache circuit | |
CN100371916C (en) | SCSI magnetic disc recording device and mehtod | |
JP3436208B2 (en) | Communication control device tracing method and method | |
JP3531394B2 (en) | Peripherals in half-duplex data transfer systems | |
US6820154B2 (en) | System and method for servicing interrupts | |
JPH06202715A (en) | State change detecting and recording circuit | |
JPH09231166A (en) | Data transfer device | |
JP2918419B2 (en) | Communication channel state information collection and control system for switching equipment | |
KR100252503B1 (en) | PCI Bus Signal Line Searching Device and Method for Medium Computers | |
US6324591B1 (en) | Method and device providing time synchronization between a processing unit and external means | |
JPH05158627A (en) | Disk device | |
CN116582422A (en) | A network card exception processing method, network card exception processing system and related devices | |
CN116185978A (en) | Log processing method, device, electronic device and storage medium | |
JPH11249815A (en) | Portable terminal device and remote storage device | |
JPS61136142A (en) | How to store input/output data |