JPH11331198A - Instrument and method for measurement and distributing medium - Google Patents

Instrument and method for measurement and distributing medium

Info

Publication number
JPH11331198A
JPH11331198A JP10138034A JP13803498A JPH11331198A JP H11331198 A JPH11331198 A JP H11331198A JP 10138034 A JP10138034 A JP 10138034A JP 13803498 A JP13803498 A JP 13803498A JP H11331198 A JPH11331198 A JP H11331198A
Authority
JP
Japan
Prior art keywords
bus
data
node
physical layer
packet
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.)
Withdrawn
Application number
JP10138034A
Other languages
Japanese (ja)
Inventor
Junji Kato
淳二 加藤
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP10138034A priority Critical patent/JPH11331198A/en
Publication of JPH11331198A publication Critical patent/JPH11331198A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To measure data transmitted on a bus, while minimizing the effects upon a communication state of the equipment to be a measuring object. SOLUTION: Even if a communication agreement layer except a physical layer is operating in the case of initializing an IEEE1394 serial bus, a self- identification data(ID) setting part 31 sets the data which reports that the layer is not operating to the other equipment to a serial bus control part 35. The serial bus control part 35 has a communication procedure specified by IEEE1394 and transmits the data set by the self-ID setting part 31 to the other equipment, and a packet and a confirm signal are received from the other equipment connected to the bus.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、バスの通信状態を
測定する測定装置、測定方法、および提供媒体に関し、
特に、バスの通信状態に与える影響を少なくした測定装
置、測定方法、および提供媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a measuring device, a measuring method, and a providing medium for measuring a communication state of a bus.
In particular, the present invention relates to a measuring device, a measuring method, and a providing medium that have less influence on a communication state of a bus.

【0002】[0002]

【従来の技術】図10は、IEEE1394シリアルバスで接続
された複数の機器の通信状態を測定する場合の測定装置
の接続例を示す図である。測定装置1は、IEEE1394シリ
アルバス7−1乃至7−4により相互に接続されたPC(P
ersonal Computer)2、デジタルVTR(Video Tape Record
er)3、MD(Mini Disk(商標))デッキ4、AV(Audio Visua
l)データを供給するサーバ5、およびAVデータを記録
または出力するHDD(HardDisk Drive)6がIEEE1394シリ
アルバスを介して通信するデータを、IEEE1394シリアル
バス7−5を介して取り込み、表示する。測定装置1
が、バス上で通信されるデータを取り込むためは、他の
機器との通信が成立しなければならず、IEEE1394に準拠
する必要がある。また、IEEE1394シリアルバスに接続さ
れた機器は、IEEE1394上のノードを構成する。
2. Description of the Related Art FIG. 10 is a diagram showing a connection example of a measuring device when measuring the communication state of a plurality of devices connected by an IEEE1394 serial bus. The measuring device 1 is a PC (P) connected to each other by IEEE1394 serial buses 7-1 to 7-4.
ersonal Computer) 2, Digital VTR (Video Tape Record)
er) 3, MD (Mini Disk (trademark)) deck 4, AV (Audio Visua)
l) The server 5 that supplies data and the HDD (Hard Disk Drive) 6 that records or outputs AV data captures and displays, via the IEEE1394 serial bus 7-5, data that is communicated via the IEEE1394 serial bus. Measuring device 1
However, in order to capture data communicated on the bus, communication with other devices must be established, and it is necessary to conform to IEEE1394. Devices connected to the IEEE 1394 serial bus constitute nodes on IEEE 1394.

【0003】図11は、IEEE1394プロトコル(Protoco
l:通信規約)の機能の構造を説明する図である。IEEE13
94プロトコルは、トランザクション層(Transaction Lay
er)12、リンク層(Link Layer)13、および物理層(Ph
ysical Layer)14の3層の階層構造を有する。各階層
は、相互に通信し、また、それぞれの階層は、シリアル
バスマネージメント(Serial Bus Management)11と通
信を行う。
FIG. 11 shows an IEEE1394 protocol (Protoco
1 is a diagram for explaining the structure of a function of (l: communication protocol). IEEE13
The 94 protocol is based on the Transaction Layer
er) 12, a link layer (Link Layer) 13, and a physical layer (Ph
ysical Layer) 14. Each layer communicates with each other, and each layer communicates with a serial bus management (Serial Bus Management) 11.

【0004】各層のプロトコルは、取り扱うデータの構
造と、そのデータの送受信の手順で構成される。通信開
始時は、バスに接続された機器の通信規約層の構成を含
んだ状態を所定のデータ通信で相互に確認し、その後、
機器の動作の為のデータの送受信を行う。測定装置1を
IEEE1394シリアルバスに接続すると、バスの初期化およ
び再コンフィギュレーション(configuration)が実行さ
れ、その際、測定装置1は、IEEE1394プロトコルに従っ
て、リンク層13が動作していれば、リンク層13が動
作していることを示すデータを含んだパケットを他の機
器に伝送する。
The protocol of each layer is composed of a structure of data to be handled and a procedure for transmitting and receiving the data. At the start of communication, the state including the configuration of the communication protocol layer of the device connected to the bus is mutually confirmed by predetermined data communication, and thereafter,
Sends and receives data for device operation. Measuring device 1
Upon connection to the IEEE 1394 serial bus, initialization and reconfiguration of the bus are performed. At this time, if the link layer 13 is operating according to the IEEE 1394 protocol, the link layer 13 is operated. Is transmitted to another device including data indicating that the packet is being transmitted.

【0005】[0005]

【発明が解決しようとする課題】測定装置1のリンク層
13が動作していることを示すデータを含んだパケット
を受信した他の機器は、測定装置1に対して、リンク層
で特有の通信を開始してしまい、評価しようとしている
IEEE1394シリアルバスの通信状態を変えてしまうため、
正確な評価ができないことがある。例えば、IEEE1394シ
リアルバスに接続されたその他の機器は、ノードユニー
クID(Identification Data)の問い合わせなどの通信を
測定装置1に対して開始することがある。さらに、この
問い合わせに対して、測定装置1が正しく応答しない
と、測定装置1は、バス全体をハングアップさせてしま
う可能性がある。
Other devices that have received a packet containing data indicating that the link layer 13 of the measurement device 1 is operating communicate with the measurement device 1 in a specific communication at the link layer. Has started and is about to be evaluated
Because it changes the communication state of the IEEE1394 serial bus,
Accurate evaluation may not be possible. For example, another device connected to the IEEE1394 serial bus may start communication with the measurement device 1 such as an inquiry of a node unique ID (Identification Data). Furthermore, if the measuring device 1 does not correctly respond to this inquiry, the measuring device 1 may hang up the entire bus.

【0006】本発明は、このような状況に鑑みてなされ
たものであり、測定対象となる機器のバスの通信状態へ
の影響を最低限として、バス上で伝送されるデータを測
定できるようにすることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and is intended to measure data transmitted on a bus while minimizing an influence on a communication state of a bus of a device to be measured. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の測定装
置は、バスの初期化の際、バスに接続された他の装置
に、測定装置の物理層以外の通信規約層が動作していて
も、物理層以外の通信規約層が動作していない旨を通知
するデータを設定するデータ設定手段と、送信データ設
定手段により設定されたデータを、バスに接続された他
の装置に伝送するデータ伝送手段とを備えることを特徴
とする。
According to the first aspect of the present invention, at the time of initialization of the bus, a communication protocol layer other than the physical layer of the measurement device operates on other devices connected to the bus when the bus is initialized. The data setting means for setting data for notifying that a communication protocol layer other than the physical layer is not operating, and the data set by the transmission data setting means are transmitted to other devices connected to the bus. Data transmission means.

【0008】請求項2に記載の測定方法は、バスの初期
化の際、バスに接続された他の装置に、測定装置の物理
層以外の通信規約層が動作していても、物理層以外の通
信規約層が動作していない旨を通知するデータを設定す
るデータ設定ステップと、送信データ設定ステップで設
定されたデータを、バスに接続された他の装置に伝送す
るデータ伝送ステップとを含むを特徴とする。
According to a second aspect of the present invention, there is provided a measuring method, wherein at the time of initialization of a bus, even if a communication protocol layer other than the physical layer of the measuring device is operating on another device connected to the bus, the measurement method is not used. A data setting step of setting data notifying that the communication protocol layer is not operating, and a data transmission step of transmitting the data set in the transmission data setting step to another device connected to the bus. It is characterized by.

【0009】請求項3に記載の提供媒体は、測定装置
に、バスの初期化の際、バスに接続された他の装置に、
測定装置の物理層以外の通信規約層が動作していても、
物理層以外の通信規約層が動作していない旨を通知する
データを設定するデータ設定ステップと、送信データ設
定ステップで設定されたデータを、バスに接続された他
の装置に伝送するデータ伝送ステップとを含む処理を実
行させるコンピュータが読み取り可能なプログラムを提
供することを特徴とする。
According to the third aspect of the present invention, the providing medium is provided to the measuring device, to the other device connected to the bus when the bus is initialized,
Even if a communication protocol layer other than the physical layer of the measurement device is operating,
A data setting step of setting data notifying that a communication protocol layer other than the physical layer is not operating, and a data transmission step of transmitting the data set in the transmission data setting step to another device connected to the bus And a computer-readable program for executing a process including:

【0010】本発明の測定装置、測定方法、および提供
媒体においては、バスの初期化の際に物理層以外の通信
規約層が動作していても、物理層以外の通信規約層が動
作していないことを通知するデータが、他の装置に伝送
される。
In the measuring apparatus, the measuring method, and the providing medium of the present invention, even when a communication protocol layer other than the physical layer is operating when the bus is initialized, the communication protocol layer other than the physical layer is operating. The data notifying the absence is transmitted to another device.

【0011】[0011]

【発明の実施の形態】以下に本発明の実施の形態を説明
するが、特許請求の範囲に記載の発明の各手段と以下の
実施の形態との対応関係を明らかにするために、各手段
の後の括弧内に、対応する実施の形態(但し一例)を付
加して本発明の特徴を記述すると、次のようになる。但
し勿論この記載は、各手段を記載したものに限定するこ
とを意味するものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below. In order to clarify the correspondence between each means of the invention described in the claims and the following embodiments, each means is described. When the features of the present invention are described by adding the corresponding embodiment (however, an example) in parentheses after the parentheses, the result is as follows. However, of course, this description does not mean that each means is limited to those described.

【0012】すなわち、請求項1に記載の測定装置は、
バスの初期化の際、バスに接続された他の装置に、測定
装置の物理層以外の通信規約層が動作していても、物理
層以外の通信規約層が動作していない旨を通知するデー
タを設定するデータ設定手段(例えば、図2のセルフID
設定部31)と、送信データ設定手段により設定された
データを、バスに接続された他の装置に伝送するデータ
伝送手段(例えば、図2のシリアルバス制御部35)と
を備えることを特徴とする。
That is, the measuring device according to claim 1 is
At the time of initialization of the bus, the other devices connected to the bus are notified that the communication protocol layer other than the physical layer is not operating even if the communication protocol layer other than the physical layer of the measuring device is operating. Data setting means for setting data (for example, the self ID shown in FIG. 2)
Setting unit 31), and a data transmission unit (for example, the serial bus control unit 35 in FIG. 2) for transmitting data set by the transmission data setting unit to another device connected to the bus. I do.

【0013】次に、本発明を適用した測定装置について
説明するが、その基本的な接続状態は図10に示した場
合と同様とする。
Next, a measuring apparatus to which the present invention is applied will be described. The basic connection state is the same as that shown in FIG.

【0014】図1は、測定装置1のハードウェア構成図
である。CPU(Central Processing Unit)21は、各種プ
ログラムを実際に実行するようになされている。ROM(Re
ad Only Memory)22は、CPU21が使用するプログラム
や演算用パラメータのうち基本的に固定のデータを格納
するようになされている。RAM(Random Access Memory)
23は、CPU21が実行するプログラムや、その実行に
おいて適宜変化するパラメータなどを格納するようにな
されている。
FIG. 1 is a hardware configuration diagram of the measuring apparatus 1. The CPU (Central Processing Unit) 21 is configured to actually execute various programs. ROM (Re
The ad only memory 22 is configured to store basically fixed data among programs and calculation parameters used by the CPU 21. RAM (Random Access Memory)
Reference numeral 23 stores a program to be executed by the CPU 21 and parameters that change as appropriate during the execution.

【0015】モニタ25およびキーボード26は、入出
力インターフェース24を介して内部バスに接続されて
いる。モニタ25は、CPU21、またはLINK層処理回路
27から供給されたデータを表示するようになされてい
る。キーボード26は、使用者の操作に応じた信号を、
CPU21またはLINK層処理回路27に供給するようにな
されている。
The monitor 25 and the keyboard 26 are connected to an internal bus via an input / output interface 24. The monitor 25 displays data supplied from the CPU 21 or the LINK layer processing circuit 27. The keyboard 26 outputs a signal corresponding to a user operation,
The data is supplied to the CPU 21 or the LINK layer processing circuit 27.

【0016】LINK層処理回路27は、図11のIEEE1394
プロトコルのリンク層13の送受信の処理手順を実行す
るようになされている。PHY層処理回路28は、IEEE139
4シリアルバス7−5が接続され、図11のIEEE1394プ
ロトコルの物理層14の送受信の処理手順を実行するよ
うになされている。LINK層処理回路27とPHY層処理回
路28はバスで接続されている。入出力インターフェー
ス24、CPU21、ROM22、RAM23、およびLINK層処
理回路27は、内部バスにより相互に接続されている。
The LINK layer processing circuit 27 corresponds to the IEEE1394 of FIG.
The transmission / reception processing procedure of the link layer 13 of the protocol is executed. The PHY layer processing circuit 28
4 The serial bus 7-5 is connected to execute the transmission / reception processing procedure of the physical layer 14 of the IEEE1394 protocol of FIG. The LINK layer processing circuit 27 and the PHY layer processing circuit 28 are connected by a bus. The input / output interface 24, the CPU 21, the ROM 22, the RAM 23, and the LINK layer processing circuit 27 are interconnected by an internal bus.

【0017】図2は、上記したハードウェア構成を有す
る測定装置1のCPU21、PHY層処理回路28、およびLI
NK層処理回路27が実行するプログラムの機能ブロック
図である。セルフID設定部31は、IEEE1394シリアルバ
ス7(以下、IEEE1394シリアルバス7−1乃至7−5
を、個々に区別する必要がないとき、単にIEEE1394シリ
アルバス7と称する)の初期化の際、物理層以外の通信
規約層が動作していても、それが動作していないことを
他の機器に通知するデータを、シリアルバス制御部35
に設定する。パケット検出部32は、使用者がキーボー
ド26を操作したとき所定のデータパターンを記憶し、
シリアルバス制御部35が受信したパケットのデータパ
ターンとその記憶したデータパターンの一致を検出し、
それ以後のパケットの記憶をパケット記憶部34に指示
する。
FIG. 2 shows the CPU 21, PHY layer processing circuit 28, and LI of the measuring apparatus 1 having the above-described hardware configuration.
FIG. 3 is a functional block diagram of a program executed by an NK layer processing circuit 27. The self-ID setting unit 31 is provided with the IEEE1394 serial bus 7 (hereinafter, IEEE1394 serial bus 7-1 to 7-5).
When the communication protocol layer other than the physical layer is operating at the time of initialization of the serial bus 7 when it is not necessary to individually distinguish the To the serial bus control unit 35
Set to. The packet detection unit 32 stores a predetermined data pattern when the user operates the keyboard 26,
The serial bus control unit 35 detects a match between the data pattern of the received packet and the stored data pattern,
The packet storage unit 34 is instructed to store the subsequent packets.

【0018】パケット表示部33は、シリアルバス制御
部35が受信したパケットのデータ、またはパケット記
憶部34が記憶したパケットのデータを入出力インター
フェース24を介して、モニタ25に送信し、モニタ2
5にパケットのデータを表示させる。パケット記憶部3
4は、パケット検出部32の記憶の要求、または使用者
のキーボード26の操作による設定で、シリアルバス制
御部35から出力されるパケットの全てまたは一部を記
憶する。シリアルバス制御部35は、IEEE1394に規定さ
れる通信手続を有し、セルフID設定部31が設定したデ
ータを他の機器に送信し、IEEE1394シリアルバス7に接
続された他の機器からのパケットおよび確認信号を受信
する。シリアルバス制御部35は、IEEE1394シリアルバ
ス7上で伝送されるパケットを表示するとき、IEEE1394
シリアルバス7上の他の機器に宛てて送信したパケット
も含めた、全てのパケットを受信する。
The packet display unit 33 transmits the data of the packet received by the serial bus control unit 35 or the data of the packet stored in the packet storage unit 34 to the monitor 25 via the input / output interface 24.
5 displays the data of the packet. Packet storage unit 3
Reference numeral 4 denotes a storage request of the packet detection unit 32 or a setting made by operating the keyboard 26 by the user, and stores all or a part of the packets output from the serial bus control unit 35. The serial bus control unit 35 has a communication procedure defined by IEEE1394, transmits the data set by the self-ID setting unit 31 to another device, and transmits a packet from another device connected to the IEEE1394 serial bus 7. Receive a confirmation signal. When displaying a packet transmitted on the IEEE1394 serial bus 7, the serial bus control unit 35
All packets are received, including packets transmitted to other devices on the serial bus 7.

【0019】次に、測定装置1をIEEE1394シリアルバス
7に接続した際に実行される、IEEE1394シリアルバス7
のコンフィギュレーションについて説明する。IEEE1394
シリアルバス7のコネクタが引き抜かれたり、挿入され
たりして、ノードの状態が変化すると、IEEE1394シリア
ルバス7に接続された各機器の物理層14は、バスリセ
ットを実行し、バスのコンフィギュレーションを行う。
Next, when the measuring device 1 is connected to the IEEE1394 serial bus 7, the IEEE1394 serial bus 7
Will be described. IEEE1394
When the state of the node changes due to the connector of the serial bus 7 being pulled out or inserted, the physical layer 14 of each device connected to the IEEE 1394 serial bus 7 executes a bus reset to perform the bus configuration. Do.

【0020】図3は、バスコンフィギュレーションの処
理を説明するフローチャートである。ステップS11に
おいて、コネクタの引き抜き、挿入等を行ったノード
(例えば、図10のHDD6)の物理層14は、全てのト
ポロジ(Topology)情報を消去し、バスリセット信号を、
他の全てのノードに送る。バスリセット信号を受信した
ノードの物理層14は、全てのトポロジ情報を消去す
る。その後、各ノードの物理層14は、2以上の他のノ
ードに接続されていると判定すればブランチ(Branch)、
1の他のノードに接続されていると判定すればリーフ(L
eaf)、もしくは他のノードに接続されていないと判定す
れば接続なしをトポロジ情報として設定する。
FIG. 3 is a flowchart for explaining the bus configuration process. In step S11, the physical layer 14 of the node (for example, the HDD 6 in FIG. 10) from which the connector has been pulled out or inserted erases all the topology information, and sends a bus reset signal to the physical layer.
Send to all other nodes. The physical layer 14 of the node that has received the bus reset signal deletes all topology information. Thereafter, if the physical layer 14 of each node determines that the physical layer 14 is connected to two or more other nodes,
1 is determined to be connected to another node, the leaf (L
eaf) or if it is determined that it is not connected to another node, no connection is set as topology information.

【0021】図4は、図3のステップS11におけるバ
スリセット信号の送受信後の、ノードの状態の例を示す
図である(図10に示す接続状態には対応していな
い)。node A,node C、およびnode Eの物理層14は、
他の1つのノードと接続されている為、トポロジ情報と
してリーフを設定する。node Bおよびnode Dの物理層1
4は、それぞれ、他の2つまたは3つのノードと接続さ
れている為、トポロジ情報としてブランチを設定する。
FIG. 4 is a diagram showing an example of the state of the nodes after the transmission and reception of the bus reset signal in step S11 of FIG. 3 (not corresponding to the connection state shown in FIG. 10). The physical layer 14 of node A, node C, and node E
Since it is connected to one other node, a leaf is set as topology information. Physical layer 1 of node B and node D
4 is connected to the other two or three nodes, and thus sets a branch as topology information.

【0022】図3に戻り、ステップS12において、ポ
ート(port)の状態を設定するツリーIDプロセスが実行さ
れる。まず、他のノードに接続されていないポートは、
物理層14に、オフ(Off)と設定される。次に、リーフ
に設定されたノードの物理層14は、ポートにチャイル
ド(Child)を設定し、ペアレントノウテファイ(ParentNo
tify)信号をそのポートから送信する。これを受信した
ノードの物理層14は、その信号を受信したポートに、
ペアレント(Parent)を設定し、ペアレントノウテファイ
信号を送信したポートと受信したポートの親子関係が決
定される。ブランチに設定されたノードの物理層14
は、親子関係が未決のポートが1つになったとき、その
ポートにチャイルド(Child)を設定し、そのポートから
ペアレントノウテファイ信号を送信する。全てのポート
がチャイルドと設定されたノード(ブランチと設定され
た1つのノード)の物理層14は、トポロジー情報をル
ート(Root)に設定しなおす(図5)。このようにして、
全てのノードは、リーフ、ブランチ、またはルートのい
ずれかに設定される。また、全てのポートは、オフ、ペ
アレント、またはチャイルドのいずれかに設定される。
Returning to FIG. 3, in step S12, a tree ID process for setting a port state is executed. First, ports that are not connected to other nodes
The physical layer 14 is set to Off. Next, the physical layer 14 of the node set as a leaf sets a child (Child) as a port and sets a parent notify (ParentNo.
tify) signal from that port. The physical layer 14 of the node that has received this signal, the port that has received the signal,
A parent is set, and the parent-child relationship between the port transmitting the parent notify signal and the port receiving the parent notify signal is determined. Physical layer 14 of the node set in the branch
When the number of ports for which the parent-child relationship has not been determined becomes one, a child (Child) is set to that port, and a parent notify signal is transmitted from that port. The physical layer 14 of the node in which all ports are set as child (one node set as branch) resets the topology information to the root (Root) (FIG. 5). In this way,
All nodes are set to either leaf, branch, or root. Also, all ports are set to either off, parent, or child.

【0023】図5は、図3のステップS12におけるツ
リーIDプロセス実行後の、ノードの状態の例を示す図で
ある。まず、他のノードに接続されていないポートであ
るnode Aの#2乃至#7、およびnode Cの#1は、そのノード
の物理層14にオフと設定される。リーフと設定された
node A,node C、およびnode Eの物理層14は、nodeAの
ポート#1、node Cのポート#2、およびnode Eのポート#1
から、ペアレントノウテファイ信号を送信し、それぞれ
のポートを、ペアレント(p)に設定する。node Dのポー
ト#2および#3、並びにnode Bのポート#1は、ペアレント
ノウテファイ信号を受信し、そのノードの物理層14に
よりチャイルド(ch)に設定される。そのnode Dのポート
#2および#3の設定後、ブランチと設定されたnode Dの物
理層14は、未決のポートが1つになったことから(#
1)、ポート#1から、ペアレントノウテファイ信号を送信
する。そのペアレントノウテファイ信号をポート#2で受
信したnode Bの物理層14は、全てのポートをチャイル
ドに設定し、トポロジ情報をルートに設定する。
FIG. 5 is a diagram showing an example of the state of the nodes after the execution of the tree ID process in step S12 of FIG. First, the ports # 2 to # 7 of node A and # 1 of node C, which are ports not connected to other nodes, are set to off in the physical layer 14 of the node. Set with leaf
The physical layers 14 of node A, node C, and node E are port # 1 of nodeA, port # 2 of node C, and port # 1 of node E.
Transmits a parent notify signal, and sets each port to parent (p). Ports # 2 and # 3 of node D and port # 1 of node B receive a parent notify signal and are set to child (ch) by the physical layer 14 of that node. The port of that node D
After the setting of # 2 and # 3, the physical layer 14 of the node D, which is set as a branch, has one undecided port (#
1) Send a parent notify signal from port # 1. The physical layer 14 of the node B receiving the parent notify signal at the port # 2 sets all the ports to child and sets the topology information to the root.

【0024】図3に戻り、ステップS13において、バ
スに接続される全てのノードの物理IDを設定するセルフ
IDプロセスが実行される。物理IDは、ISO/IEC13213によ
り規定されるコントロール&ステータスレジスタ(Contr
ol&Status Register)の主要なレジスタの1つであるノ
ードIDレジスタ内の6ビットに規定される。ステップS
11のトポロジ情報のクリアにより、全てのノードのセ
ルフIDカウントは、0と設定される。まずはじめに、ル
ートであるノードの物理層14は、グラント(grant(許
可))と呼ばれる信号を1つのポートから出力する。こ
のグラントを受信したノードの物理層14は、チャイル
ドと設定されたいずれかのポートに、グラントを出力す
る。グラントを受信したノードの物理層14が上記の動
作を繰り返すことにより、グラントは、次々とノードを
介して、ルートより遠いノードに転送される。
Referring back to FIG. 3, in step S13, a self-setting for setting the physical IDs of all the nodes connected to the bus is performed.
The ID process runs. The physical ID is the control and status register (Contr.
ol & Status Register) is specified by 6 bits in the node ID register which is one of the main registers. Step S
By clearing the 11 topology information, the self ID counts of all nodes are set to 0. First, the physical layer 14 of the root node outputs a signal called a grant from one port. The physical layer 14 of the node that has received the grant outputs the grant to any of the ports set as child. As the physical layer 14 of the node receiving the grant repeats the above operation, the grant is successively transferred to the nodes farther from the root via the nodes.

【0025】チャイルドと設定されたポートを持たない
ノード(リーフと設定されたノード)にグラントが到達
すると、そのノードの物理層14は、そのノードの物理
IDに現在のセルフIDカウントの値である0を設定し、セ
ルフIDパケットを送信する。バスに接続された全ての他
のノードの物理層14は、セルフIDパケットを受信する
と、セルフIDカウントをインクリメントする。次に、ル
ートまたはブランチと設定されたノードの物理層14
は、グラントを出力したポートでセルフIDパケットを受
信すると、まだグラントを出力していないチャイルドと
設定されたポートからグラントを出力する。この信号も
上記と同様に次々と物理IDが設定されていないノードに
転送されていく。それ以上に、グラントを転送できない
ノードの物理層14は、現在のセルフIDカウントの値を
物理IDに設定するとともに、セルフIDパケットを送信す
る。この繰り返しにより、全てのノードには、重なりの
ない物理IDが設定される。
When a grant arrives at a node that does not have a port set as a child (a node set as a leaf), the physical layer 14 of the node sets the physical layer of the node.
The ID of the current self ID count is set to 0, and a self ID packet is transmitted. Upon receiving the self ID packet, the physical layer 14 of all other nodes connected to the bus increments the self ID count. Next, the physical layer 14 of the node set as the root or the branch
When the self-ID packet is received by the port that has output the grant, the child outputs the grant from the port set as a child that has not output the grant yet. This signal is also successively transferred to the node where the physical ID is not set in the same manner as described above. Furthermore, the physical layer 14 of the node that cannot transfer the grant sets the current value of the self ID count to the physical ID and transmits a self ID packet. By repeating this, a physical ID having no overlap is set to all nodes.

【0026】図6は、図3のステップS13におけるセ
ルフIDプロセス実行後のノードの状態の例を示す図であ
る。ルートであるnode Bの物理層14は、ポート#1から
グラントを、node Aに出力する。グラントを受け取った
node Aの物理層14は、セルフIDカウントの0を物理ID
に設定し、セルフIDパケットを出力する。セルフIDパケ
ットを受信したnode B,node C,node D、およびnode Eの
それぞれの物理層14は、セルフIDカウントをインクリ
メントし、それぞれのノードのセルフIDカウントは1と
なる。
FIG. 6 is a diagram showing an example of the state of the node after the execution of the self ID process in step S13 of FIG. The physical layer 14 of node B, which is the root, outputs the grant from port # 1 to node A. Grant received
The physical layer 14 of node A sets the self ID count of 0 to the physical ID
And output a self ID packet. The physical layer 14 of each of the nodes B, C, D, and E that has received the self ID packet increments the self ID count, and the self ID count of each node becomes 1.

【0027】その後、node Bの物理層14は、ポート#1
からセルフIDパケットを受信したので、ポート#2からグ
ラントをnode Dに出力する。そのグラントを受け取った
nodeDの物理層14は、ポート#2からグラントをnode C
に出力する。グラントを受け取ったnode Cの物理層14
は、セルフIDカウントの1を物理IDに設定し、セルフID
パケットを出力する。セルフIDパケットを受信したnode
B,node D、およびnode Eのそれぞれの物理層14は、
セルフIDカウントをインクリメントし、それぞれのノー
ドのセルフIDカウントは2となる。次に、node Dの物理
層14は、ポート#2でセルフIDパケットを受信したの
で、ポート#3からグラントを、node Eに出力する。
After that, the physical layer 14 of the node B
Since the self ID packet has been received from port # 2, the grant is output to node D from port # 2. Received the grant
The physical layer 14 of nodeD transfers the grant from port # 2 to node C.
Output to Physical layer 14 of node C that received the grant
Sets the self ID count to 1 as the physical ID,
Output a packet. Node that received the self ID packet
Each physical layer 14 of B, node D, and node E
The self ID count is incremented, and the self ID count of each node becomes 2. Next, since the physical layer 14 of node D has received the self ID packet on port # 2, it outputs a grant from port # 3 to node E.

【0028】グラントを受け取ったnode Eの物理層14
は、セルフIDカウントの2を物理IDに設定し、セルフID
パケットを出力する。そのセルフIDパケットを受信した
nodeDおよびnode Bのそれぞれの物理層14は、セルフI
Dカウントをインクリメントし、それぞれのノードのセ
ルフIDカウントは3となる。node Dの物理層14は、チ
ャイルドとラベルが付けられた全てポートからグラント
を出力し、全てのポートでセルフIDパケットを受信した
ので、セルフIDカウントの3を物理IDに設定し、セルフ
IDパケットを出力する。そのセルフIDパケットを受信し
たnode Bの物理層14は、セルフIDカウントをインクリ
メントし、その値は4となる。ここで、node Bもチャイ
ルドとラベルが付けられた全てのポートからグラントを
出力したので、node Bの物理層14は、セルフIDカウン
トの4を物理IDに設定し、セルフIDパケットを出力し、
セルフIDプロセスは終了する。
Physical layer 14 of node E receiving the grant
Sets the self ID count of 2 to the physical ID and sets the self ID
Output a packet. Received the self ID packet
Each physical layer 14 of nodeD and node B
The D count is incremented, and the self ID count of each node becomes 3. The physical layer 14 of node D outputs a grant from all ports labeled as child and receives a self ID packet on all ports.
Output ID packet. The physical layer 14 of the node B receiving the self ID packet increments the self ID count, and the value becomes 4. Here, since the node B also outputs the grant from all the ports labeled as child, the physical layer 14 of the node B sets the self ID count of 4 to the physical ID and outputs the self ID packet,
The self-ID process ends.

【0029】次に、セルフIDプロセスで各ノードの物理
層14が出力するセルフIDパケットについて説明する。
図7は、セルフIDパケットの構造の例を示す図である。
セルフIDパケットは、セルフIDプロセスにおいて、各ノ
ードの物理層14から、1個乃至4個のいずれかの数が
出力される。図7に示されたセルフIDパケットは、1個
の場合、または最初に出力されるセルフIDパケットの例
である。セルフIDパケットの最初の32ビットが有効な
データであり、残りの32ビットはエラー検出に用いら
れる。
Next, the self ID packet output by the physical layer 14 of each node in the self ID process will be described.
FIG. 7 is a diagram illustrating an example of the structure of the self ID packet.
In the self-ID process, one to four self-ID packets are output from the physical layer 14 of each node. The self ID packet shown in FIG. 7 is an example of a single self ID packet or a self ID packet output first. The first 32 bits of the self ID packet are valid data, and the remaining 32 bits are used for error detection.

【0030】図8は、セルフIDパケットの構成要素を説
明する図である。最上行の名前と記載されたセルの下方
向のセルに記載された内容は、図7のセルフIDパケット
の構成要素の名前に対応する。最上行のフィールドと記
載されたセルの下方向のセルに記載された内容の右方向
への延長領域と、最上行の内容と記載された下方向への
延長領域が交わる位置に配置されたセルは、図7のセル
フIDパケットの構成要素の内容を示している。セルフID
パケットを受け取ったノードは、伝送される先頭から1
0ビット目のフィールドLに格納された情報を読み、セ
ルフIDパケットを出力したノードのリンク層13の動作
状態を知ることができる。所定の機器のリンク層13が
動作していることを知った他の機器は、その所定の機器
に対して、リンク層13を介して通信を実行することが
できる。
FIG. 8 is a diagram for explaining the components of the self ID packet. The content described in the cell below the cell in which the name is described in the top row corresponds to the name of the component of the self ID packet in FIG. A cell placed at the position where the rightward extension area of the content described in the cell below the cell described as the field of the top row and the downward extension area described in the top row content Shows the contents of the components of the self ID packet of FIG. Self ID
The node that has received the packet is 1
By reading the information stored in the field L of the 0th bit, it is possible to know the operation state of the link layer 13 of the node that has output the self ID packet. Other devices that know that the link layer 13 of a given device is operating can execute communication with the given device via the link layer 13.

【0031】測定装置1は、IEEE1394シリアルバス7に
接続された他の機器のリンク層13を介してパケットを
取り込み表示する為には、測定装置1のリンク層13が
動作している必要がある。しかし、測定装置1は、セル
フIDプロセスの際に出力するセルフIDパケットのフィー
ルドLに、測定装置1のリンク層13が動作していない
ことを示す情報を設定し、そのセルフIDパケットを他の
機器に出力する。このようにすることで、IEEE1394シリ
アルバス7に接続された他の機器は、測定装置1に対し
てリンク層13を介した通信を実行しない。
In order for the measuring device 1 to capture and display packets via the link layer 13 of another device connected to the IEEE1394 serial bus 7, the link layer 13 of the measuring device 1 needs to be operating. . However, the measuring device 1 sets information indicating that the link layer 13 of the measuring device 1 is not operating in the field L of the self-ID packet output during the self-ID process, and stores the self-ID packet in another field. Output to device. By doing so, other devices connected to the IEEE1394 serial bus 7 do not execute communication with the measuring device 1 via the link layer 13.

【0032】次に、測定装置1のIEEE1394シリアルバス
7上の所定のパケットのデータを表示する動作について
説明する。図9は、IEEE1394シリアルバス7上の所定の
パケットを検出した後に、IEEE1394シリアルバス7上で
伝送された所定の個数のパケットを測定装置1が表示す
る動作を説明するフローチャートである。ステップS2
1において、使用者は、キーボード26を操作し、測定
を開始したいパケットのデータパターンを、パケット検
出部32に設定する。例えば、使用者が、デジタルVTR
3のサーバ5に対する読み出し要求後のIEEE1394シリア
ルバス7上のパケットを確認したい場合、パケットの要
素の送信先IDにサーバ5のIDが設定され、パケットの要
素の送信元IDにデジタルVTR3のIDが設定され、パケッ
トの要素のトランザクションコードにアシンクロナスパ
ケットの読み出し要求に対応するコードが設定されたパ
ケットをパケット検出部32に設定する。
Next, the operation of the measurement device 1 for displaying data of a predetermined packet on the IEEE1394 serial bus 7 will be described. FIG. 9 is a flowchart illustrating an operation in which the measuring device 1 displays a predetermined number of packets transmitted on the IEEE1394 serial bus 7 after detecting a predetermined packet on the IEEE1394 serial bus 7. Step S2
In 1, the user operates the keyboard 26 to set the data pattern of the packet whose measurement is to be started in the packet detection unit 32. For example, if the user uses a digital VTR
In order to confirm the packet on the IEEE1394 serial bus 7 after the read request to the third server 5, the ID of the server 5 is set as the destination ID of the packet element and the ID of the digital VTR 3 is set as the source ID of the packet element A packet in which the code corresponding to the asynchronous packet read request is set in the transaction code of the packet element is set in the packet detection unit 32.

【0033】ステップS22において、パケット検出部
32は、IEEE1394シリアルバス7上に送信されてきた全
てのパケットを、シリアルバス制御部35を介して取り
込み、ステップS21にて設定されたデータパターンと
一致するか否かを判定する。ステップS22において、
パケットとデータパターンが一致しないと判定された場
合、手続は、ステップS22に戻り、データパターンの
検出の処理が継続される。ステップS22において、パ
ケットとデータパターンが一致したと判定された場合、
手続は、ステップS23に進む。ステップS23におい
て、パケット記憶部34は、IEEE1394シリアルバス7上
に送信されてきた全てのパケットを、所定の個数になる
まで、シリアルバス制御部25を介して取り込み記憶す
る。ステップS24において、パケット表示部33は、
パケット記憶部34に記憶された所定の個数のパケット
を、モニタ25に表示する。
In step S22, the packet detecting section 32 fetches all the packets transmitted on the IEEE1394 serial bus 7 via the serial bus control section 35, and matches the data pattern set in step S21. It is determined whether or not. In step S22,
If it is determined that the packet does not match the data pattern, the procedure returns to step S22, and the process of detecting the data pattern is continued. If it is determined in step S22 that the packet and the data pattern match,
The procedure proceeds to step S23. In step S23, the packet storage unit 34 fetches and stores all the packets transmitted on the IEEE1394 serial bus 7 via the serial bus control unit 25 until the number of packets reaches a predetermined number. In step S24, the packet display unit 33
A predetermined number of packets stored in the packet storage unit 34 are displayed on the monitor 25.

【0034】以上のように、測定装置1をIEEE1394シリ
アルバスに接続した際、測定装置1は、他の機器が通信
可能となる為の最低限の通信のみを実行し、他の装置か
ら通信を要求されないので、測定装置1は、その接続前
の状態に極めて近い通信状態のIEEE1394シリアルバスの
測定が可能となる。
As described above, when the measuring device 1 is connected to the IEEE1394 serial bus, the measuring device 1 executes only the minimum communication for enabling other devices to communicate, and performs communication from the other device. Since it is not required, the measuring device 1 can measure the IEEE1394 serial bus in a communication state very close to the state before the connection.

【0035】なお、本明細書において、IEEE1394シリア
ルバスを例に説明したが、複数の通信層の機能を有する
バスであれば、本発明は適用可能である。
In this specification, the IEEE 1394 serial bus has been described as an example, but the present invention is applicable to any bus having a plurality of communication layer functions.

【0036】また、上記したような処理を行うコンピュ
ータプログラムをユーザに提供する提供媒体としては、
磁気ディスク、CD-ROM、固体メモリなどの記録媒体の
他、ネットワーク、衛星などの通信媒体を利用すること
ができる。
Further, as a providing medium for providing a user with a computer program for performing the above-described processing,
In addition to recording media such as magnetic disks, CD-ROMs, and solid-state memories, communication media such as networks and satellites can be used.

【0037】[0037]

【発明の効果】以上のように、本発明の測定装置、測定
方法、および提供媒体によれば、物理層以外の通信規約
層が動作していないことを示すデータを、他の装置に伝
送するようにしたので、測定対象となるバスの通信状態
への影響を最低限として、バス上で伝送されるデータを
測定可能とすることができる。
As described above, according to the measuring apparatus, the measuring method, and the providing medium of the present invention, data indicating that a communication protocol layer other than the physical layer is not operating is transmitted to another apparatus. With this configuration, it is possible to measure data transmitted on the bus with a minimum effect on the communication state of the bus to be measured.

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

【図1】測定装置のハードウェア構成図である。FIG. 1 is a hardware configuration diagram of a measurement device.

【図2】測定装置の機能ブロック図である。FIG. 2 is a functional block diagram of the measuring device.

【図3】バスコンフィギュレーションの処理を説明する
フローチャートである。
FIG. 3 is a flowchart illustrating a bus configuration process.

【図4】バスリセット信号の送受信後のノードの状態の
例を示す図である。
FIG. 4 is a diagram illustrating an example of a state of a node after transmission / reception of a bus reset signal;

【図5】ツリーIDプロセス実行後のノードの状態の例を
示す図である。
FIG. 5 is a diagram illustrating an example of a state of a node after execution of a tree ID process;

【図6】セルフIDプロセス実行後のノードの状態の例を
示す図である。
FIG. 6 is a diagram illustrating an example of a state of a node after execution of a self-ID process.

【図7】セルフIDパケットの構造の例を示す図である。FIG. 7 is a diagram showing an example of the structure of a self ID packet.

【図8】セルフIDパケットの構成要素を説明する図であ
る。
FIG. 8 is a diagram illustrating components of a self ID packet.

【図9】測定装置のバス上の所定のパケットのデータを
表示する動作を説明するフローチャートである。
FIG. 9 is a flowchart illustrating an operation of displaying data of a predetermined packet on a bus of the measuring device.

【図10】測定装置の接続を示す図である。FIG. 10 is a diagram showing connections of a measuring device.

【図11】IEEE1394プロトコルの機能の構造を説明する
図である。
FIG. 11 is a diagram illustrating the structure of the function of the IEEE1394 protocol.

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

1 測定装置, 31 セルフID設定部, 35 シリ
アルバス制御部
1 Measurement device, 31 Self ID setting unit, 35 Serial bus control unit

フロントページの続き (51)Int.Cl.6 識別記号 FI H04L 29/14 Continued on the front page (51) Int.Cl. 6 Identification code FI H04L 29/14

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の通信規約層を有するバスに接続
し、前記バスの通信状態を測定する測定装置において、 前記バスの初期化の際、前記バスに接続された他の装置
に、前記測定装置の物理層以外の通信規約層が動作して
いても、物理層以外の通信規約層が動作していない旨を
通知するデータを設定するデータ設定手段と、 前記送信データ設定手段により設定されたデータを、前
記バスに接続された前記他の装置に伝送するデータ伝送
手段とを備えることを特徴とする測定装置。
1. A measuring device connected to a bus having a plurality of communication protocol layers and measuring a communication state of the bus, wherein at the time of initialization of the bus, another device connected to the bus performs the measurement. Even if a communication protocol layer other than the physical layer of the device is operating, data setting means for setting data notifying that the communication protocol layer other than the physical layer is not operating, and the transmission data setting means A data transmission unit for transmitting data to the another device connected to the bus.
【請求項2】 複数の通信規約層を有するバスに接続
し、前記バスの通信状態を測定する測定装置の測定方法
において、 前記バスの初期化の際、前記バスに接続された他の装置
に、前記測定装置の物理層以外の通信規約層が動作して
いても、物理層以外の通信規約層が動作していない旨を
通知するデータを設定するデータ設定ステップと、 前記送信データ設定ステップで設定されたデータを、前
記バスに接続された前記他の装置に伝送するデータ伝送
ステップとを含むを特徴とする測定方法。
2. A measuring method of a measuring device for connecting to a bus having a plurality of communication protocol layers and measuring a communication state of the bus, wherein, when the bus is initialized, the other devices connected to the bus are connected to each other. Even if a communication protocol layer other than the physical layer of the measuring device is operating, a data setting step of setting data notifying that a communication protocol layer other than the physical layer is not operating, and the transmission data setting step A data transmission step of transmitting the set data to the another device connected to the bus.
【請求項3】 複数の通信規約層を有するバスに接続
し、前記バスの通信状態を測定する測定装置に、 前記バスの初期化の際、前記バスに接続された他の装置
に、前記測定装置の物理層以外の通信規約層が動作して
いても、物理層以外の通信規約層が動作していない旨を
通知するデータを設定するデータ設定ステップと、 前記送信データ設定ステップで設定されたデータを、前
記バスに接続された前記他の装置に伝送するデータ伝送
ステップとを含む処理を実行させるコンピュータが読み
取り可能なプログラムを提供することを特徴とする提供
媒体。
3. A measuring device for connecting to a bus having a plurality of communication protocol layers and measuring a communication state of the bus, wherein, when the bus is initialized, the measuring device is connected to another device connected to the bus. Even if a communication protocol layer other than the physical layer of the device is operating, a data setting step of setting data notifying that a communication protocol layer other than the physical layer is not operating, and the data setting step set in the transmission data setting step A computer-readable storage medium for providing a computer-readable program for executing a process including a data transmission step of transmitting data to the another device connected to the bus.
JP10138034A 1998-05-20 1998-05-20 Instrument and method for measurement and distributing medium Withdrawn JPH11331198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10138034A JPH11331198A (en) 1998-05-20 1998-05-20 Instrument and method for measurement and distributing medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10138034A JPH11331198A (en) 1998-05-20 1998-05-20 Instrument and method for measurement and distributing medium

Publications (1)

Publication Number Publication Date
JPH11331198A true JPH11331198A (en) 1999-11-30

Family

ID=15212503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10138034A Withdrawn JPH11331198A (en) 1998-05-20 1998-05-20 Instrument and method for measurement and distributing medium

Country Status (1)

Country Link
JP (1) JPH11331198A (en)

Similar Documents

Publication Publication Date Title
US6202103B1 (en) Bus data analyzer including a modular bus interface
US6157972A (en) Apparatus and method for processing packetized information over a serial bus
JP4035235B2 (en) Electronics
JP4278439B2 (en) Information communication apparatus, system thereof, method thereof, program thereof, and recording medium recording the program
JP2000188626A (en) Link and transaction layer controller with integrated microcontroller emulator
US6754184B2 (en) Information processing apparatus and method, and distribution medium
US7602736B2 (en) Method for testing a network, and corresponding network
JP3726417B2 (en) Electronic device, method for creating communication speed information between electronic devices, and recording medium
KR100795257B1 (en) Apparatus for displaying network errors and method for displaying error detection
US6823408B2 (en) Electronic equipment, and method for controlling state of physical layer circuit therefor
JP2003174486A (en) Information communication device, information communication method and information communication processing program
WO2001042933A2 (en) Method and apparatus of remote computer management
US20040057448A1 (en) Information processing system, information processing apparatus, and information processing method
US5289390A (en) Method for determining the electrical cable length of an active ring of a token ring local area network
JPH11331198A (en) Instrument and method for measurement and distributing medium
US20020174387A1 (en) Stealth module for bus data analyzer
JP2001333073A (en) Serial bus interface
JP2000358037A (en) Information processor and method for managing it
JP3685310B2 (en) Serial bus tester
US20020067741A1 (en) Information control method, information processing apparatus, and information control system
US7756941B2 (en) Communication system having dominating node and dominated node
Ryan et al. Intel local network architecture
JP3701150B2 (en) NETWORK SYSTEM, NETWORK DEVICE, INSTALLATION STATUS DISPLAY METHOD, AND RECORDING MEDIUM
JP2003110651A (en) Data processing method, data processing apparatus, communication protocol and program
JP3983022B2 (en) Communication system and communication apparatus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802