JP3525861B2 - Data transmission device, data transmission control device, and data transmission method - Google Patents

Data transmission device, data transmission control device, and data transmission method

Info

Publication number
JP3525861B2
JP3525861B2 JP2000129148A JP2000129148A JP3525861B2 JP 3525861 B2 JP3525861 B2 JP 3525861B2 JP 2000129148 A JP2000129148 A JP 2000129148A JP 2000129148 A JP2000129148 A JP 2000129148A JP 3525861 B2 JP3525861 B2 JP 3525861B2
Authority
JP
Japan
Prior art keywords
band
propagation delay
delay identifier
transmission
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000129148A
Other languages
Japanese (ja)
Other versions
JP2000324140A (en
Inventor
英俊 武田
飯塚  裕之
拓也 西村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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
Priority claimed from JP14720995A external-priority patent/JP3146928B2/en
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2000129148A priority Critical patent/JP3525861B2/en
Publication of JP2000324140A publication Critical patent/JP2000324140A/en
Application granted granted Critical
Publication of JP3525861B2 publication Critical patent/JP3525861B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル映像音
声機器間で映像や音声信号を伝送する伝送装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission device for transmitting video and audio signals between digital video and audio equipment.

【0002】[0002]

【従来の技術】ディジタル映像データ及び音声データの
伝送を行う手段として、P1394インタフェースを使
用することが出来る。P1394はIEEEで検討され
ている次世代のマルチメディア用の高速シリアル・イン
タフェースである(参考文献、ハイ・パフォーマンス・
シリアル・バス P1394 ドラフト7.1v1:High
Performance Serial Bus P1394/Draft 7.1v1)。P1
394は映像データや音声データの伝送に必要なリアル
タイム性の保障が可能なシリアル・バス型の通信媒体で
ある。
2. Description of the Related Art A P1394 interface can be used as a means for transmitting digital video data and audio data. P1394 is a high-speed serial interface for next-generation multimedia being studied by IEEE (references, high performance
Serial bus P1394 draft 7.1v1: High
Performance Serial Bus P1394 / Draft 7.1v1). P1
Reference numeral 394 is a serial bus type communication medium capable of guaranteeing real-time property required for transmission of video data and audio data.

【0003】P1394に接続される機器(以下ノード
と称する)は分岐を持つ木構造で接続され、複数の端子
を持つノードは一つの端子から受け取った信号を他の端
子へ出力することで信号を中継する。したがって任意の
ノードが出力したデータが接続された全てのノードに到
達することが保障されている。このため、P1394は
構成的には木構造ではあるものの理論上はバスとして動
作する。しかしP1394では、複数のノードを中継す
ることによってバスを実現しているため、伝送路の長さ
によって決まる伝搬遅延に加えて、中継するノードの数
に依存した伝搬遅延が生じる。またP1394では、唯
一のノードがバスの調停を行うことにより、同時に複数
のノードが送信を行わないことが保障されている。
Devices connected to P1394 (hereinafter referred to as nodes) are connected in a tree structure having branches, and a node having a plurality of terminals outputs a signal received from one terminal to another terminal to output a signal. Relay. Therefore, it is guaranteed that the data output by an arbitrary node reaches all the connected nodes. Therefore, although the P1394 is structurally a tree structure, it theoretically operates as a bus. However, in P1394, since the bus is realized by relaying a plurality of nodes, in addition to the propagation delay determined by the length of the transmission path, the propagation delay depends on the number of relaying nodes. Further, in P1394, only one node arbitrates the bus, so that it is guaranteed that a plurality of nodes do not transmit at the same time.

【0004】以上のようにバスとして構成された各ノー
ドには、ノードを識別するための識別子(以下ノードI
Dと称する)が付加される。このノードIDの付加は、
バスに新たなノードが付加されたり、逆にノードが切り
離された際に発生するバスの初期化(以下バスリセット
と称する)によって自動的に行われる。バスリセットが
発生した場合、バスに接続されたノードは、あらかじめ
決められた順序に従って、ノードの接続状況を示すパケ
ット(以下セルフIDパケットと称する)をバスに送出
する。ノードIDはこのセルフIDパケット送出の順番
によって決まるもので、セルフIDパケットには送出の
際に決定されたノードIDと、各端子に他のノードが接
続されているか否かを示す情報が含まれる。バス上のノ
ードは各ノードが送出するセルフIDパケットをすべて
受信して解析することにより、バスを構成する木構造を
知ることが可能である。
Each node configured as a bus as described above has an identifier (hereinafter referred to as a node I) for identifying the node.
(Referred to as D) is added. The addition of this node ID is
This is automatically performed by bus initialization (hereinafter referred to as bus reset) that occurs when a new node is added to the bus or conversely the node is disconnected. When a bus reset occurs, the node connected to the bus sends a packet indicating the connection status of the node (hereinafter referred to as a self-ID packet) to the bus in a predetermined order. The node ID is determined by the order of sending this self ID packet, and the self ID packet includes the node ID determined at the time of sending and information indicating whether or not another terminal is connected to each terminal. . A node on the bus can know the tree structure of the bus by receiving and analyzing all the self-ID packets sent by each node.

【0005】さらにP1394は、125μsec毎の
周期(以下サイクルと称する)を基本にして動作するも
のであり、各サイクルの前半で行う同期転送と、同期転
送を行った後に残された時間で行う非同期転送の2種類
の転送を行うことができる。映像データや音声データな
どのようなリアルタイム性の必要なデータの転送は、こ
の同期転送を用いて転送し、一方リアルタイム性の必要
がない制御情報などは非同期転送を用いて転送する。
Further, P1394 operates based on a cycle of 125 μsec (hereinafter referred to as a cycle), and the synchronous transfer performed in the first half of each cycle and the asynchronous transfer performed after the synchronous transfer is performed. Two types of transfer can be performed. Data that requires real-time processing, such as video data and audio data, is transferred using this synchronous transfer, while control information that does not require real-time processing is transferred using asynchronous transfer.

【0006】同期転送を行う場合には、送信に先立って
1サイクル中で使用する時間(帯域)を帯域の管理を行
っているノードから取得する必要がある。P1394で
はバス上に同期転送で使用する帯域の管理を行うノード
が一つ存在し、使用する帯域はこの帯域管理ノードから
取得してから送信を行う。同期転送を行うノードは取得
した帯域の範囲内でデータの送信を行うことができ、同
期転送で送信されるデータはP1394で定められたパ
ケットとして送出される。同期転送では、サイクル毎に
あらかじめ決められたデータ量の転送を保証することで
リアルタイム・データの転送が可能となる。ここで送信
に先立って取得すべき帯域は、実際のデータの転送に必
要な帯域とデータ転送の際に生じる伝搬遅延や、誤り検
出の目的で付加されるデータの転送に必要な帯域などの
オーバヘッドを合わせたものである。
When performing synchronous transfer, it is necessary to acquire the time (bandwidth) used in one cycle prior to transmission from the node that manages the bandwidth. In P1394, there is one node on the bus that manages the band used for synchronous transfer, and the band to be used is transmitted after being acquired from this band management node. The node performing the synchronous transfer can transmit the data within the acquired band range, and the data transmitted by the synchronous transfer is sent out as a packet defined in P1394. In synchronous transfer, real-time data can be transferred by guaranteeing transfer of a predetermined data amount for each cycle. The bandwidth to be acquired prior to transmission here is the overhead required for the actual data transfer, the propagation delay that occurs during data transfer, and the bandwidth required for the data transfer added for error detection. Is a combination of.

【0007】また、P1394では複数の伝送レートを
混在して使用することができ、これらを識別するために
パケットの送信前に送信レートを示す信号を出力する。
Further, in P1394, a plurality of transmission rates can be mixed and used, and in order to identify them, a signal indicating the transmission rate is output before packet transmission.

【0008】さらにP1394は、バスに接続されたす
べてのノードが仮想的なアドレス空間を持っており、各
ノード間で行う非同期データの転送は、このアドレス空
間の読み出し操作や書き込み操作として行われる。また
このアドレス空間の一部には、それぞれのノードの動作
を制御する目的で使用するレジスタが含まれている。バ
スに接続されたノードは、他のノードの制御用レジスタ
を読み出すことによってそのノードの状態を知ることが
でき、逆に制御用レジスタへの書き込みによってノード
の制御を行うことができる。
Further, in P1394, all nodes connected to the bus have a virtual address space, and asynchronous data transfer between the nodes is performed as a read operation or a write operation of this address space. A part of this address space includes registers used for controlling the operation of each node. The node connected to the bus can know the state of the node by reading the control register of another node, and conversely can control the node by writing to the control register.

【0009】このような制御用レジスタを用いて、同期
データの送受信の制御を行うことが考えられる。このよ
うな場合、同期通信制御用のレジスタを読み出すこと
で、送信または受信の状態を知ることができる、一方こ
のレジスタに必要な値を書き込むことで、同期データの
送信または受信を開始させたり、逆に停止させるなどの
制御を行うことが可能となる。
It is conceivable to control transmission / reception of synchronous data by using such a control register. In such a case, the status of transmission or reception can be known by reading the synchronous communication control register, while the necessary value can be written to this register to start the transmission or reception of synchronous data, Conversely, it is possible to perform control such as stopping.

【0010】[0010]

【発明が解決しようとする課題】P1394等のよう
に、通信媒体が持つ帯域の一部を送信に先立って取得し
てから送信を行う場合、すでに行われている通信を停止
させて、その停止させた通信で使用されていた帯域を使
用して、他の機器の送出を開始することが有り得る。
When the transmission is performed after acquiring a part of the band of the communication medium prior to the transmission, such as P1394, the already performed communication is stopped and then stopped. It is possible that the transmission of another device is started using the band used in the caused communication.

【0011】その例は、第1の機器が通信媒体にデータ
の送出を行っている間に、第2の機器がデータの送出を
開始しようとした場合である。ここで、通信媒体に第2
の機器がデータを送出できるだけの帯域が残されていた
場合には、第2の機器は帯域を取得してから送出を開始
することができる。しかし必要な帯域が残されていない
場合には、送信を開始することはできない。そこで第1
の機器の送出を停止させることで、第2の機器が送出に
必要な帯域を確保してから送信を開始することができ
る。
An example thereof is a case where the second device tries to start transmitting data while the first device is transmitting data to the communication medium. Here, the second as a communication medium
If there is a band left for the device to send the data, the second device can start sending after acquiring the band. However, if the required bandwidth is not available, transmission cannot be started. So first
By stopping the transmission of the device of No. 2, the second device can start the transmission after securing the band necessary for the transmission.

【0012】このような場合には、一度、使用していた
帯域を帯域の管理ノードの返却し、再び取得をしてから
送信を開始する必要がある。また帯域の取得は、帯域の
返却の後に行われなくてはならないため、帯域の取得を
行う機器は帯域の返却が完了しているかどうかの確認
や、返却動作の監視をする必要がある。さらには、帯域
の返却が行われてから再び取得を行うまでの間には時間
がかかってしまうため、他のノードがその帯域を取得し
てしまう危険性がある。
In such a case, it is necessary to return the used band once to the band management node, acquire it again, and then start transmission. In addition, the band must be acquired after the band is returned, so the device that acquires the band needs to check whether the band has been returned or not, and monitor the return operation. Furthermore, since it takes time from when the band is returned to when the band is acquired again, there is a risk that another node may acquire the band.

【0013】すなわち、帯域の取得に伴う手続きが複雑
であるという課題を有していた。一方、P1394のよ
うに通信媒体に接続されたノードの接続形態に依存した
伝搬遅延が生じる場合には、実際の送信に必要な帯域に
加えて、この伝搬遅延の時間等のオーバヘッドも含めて
帯域の取得を行う必要がある。
That is, there is a problem that the procedure for acquiring the band is complicated. On the other hand, when the propagation delay depending on the connection form of the node connected to the communication medium occurs as in P1394, in addition to the band required for actual transmission, the band including the overhead such as the time of this propagation delay is also included. Must be obtained.

【0014】このような場合、あらかじめ定められた、
最大の伝搬遅延時間をもとに帯域の取得を行うことが可
能である。しかしこのように想定される最大の伝搬遅延
時間をもとに取得すべき帯域を決定すると、実際には必
要のない帯域を余分に取得してしまうため、通信媒体の
効率的な利用ができず、またこのため、本来は通信でき
るはずの他の通信を妨げてしまう危険性がある。
In such a case, a predetermined value,
It is possible to acquire the band based on the maximum propagation delay time. However, if the band to be acquired is determined based on the maximum propagation delay time assumed in this way, an unnecessary band is actually acquired, and efficient use of the communication medium cannot be achieved. Also, because of this, there is a risk of interfering with other communications that should otherwise be able to communicate.

【0015】すなわち、伝搬遅延の最大値をもとに帯域
の取得を行うと、通信媒体を効率的に使用することが出
来ないという課題を有していた。
That is, if the band is acquired based on the maximum value of the propagation delay, there is a problem that the communication medium cannot be used efficiently.

【0016】[0016]

【課題を解決するための手段】前記課題を解決するた
め、請求項1記載の方法は、同期転送を行うことがで
き、同期転送による送信を行う際にあらかじめ帯域の割
り当てを受ける必要がある通信媒体における帯域割り当
て方法であって、通信媒体に接続された機器の接続形態
を解析する解析ステップと、前記解析結果に基づいて伝
播遅延識別子を決定する伝播遅延識別子決定ステップ
と、最大送信データ量から同期データ用の最大のパケッ
トの大きさを求め、これと前記通信媒体のデータレート
から前記パケットの送信に必要な帯域を決定する第1の
帯域決定ステップと、前記伝搬遅延識別子の値からオー
バーヘッドの帯域を決定する第2の帯域決定ステップ
と、前記第1の帯域決定ステップにより決定された前記
帯域と前記第2の帯域決定ステップにより決定された前
記第2の帯域とを加算する加算ステップと、前記加算ス
テップにより加算された値に相当する帯域の割り当てを
受ける帯域割り当てステップとを有し、前記第2の帯域
決定ステップは伝搬遅延識別子とオーバーヘッド帯域の
対応表を用いて前記帯域を決定することを特徴とする。
In order to solve the above-mentioned problems, the method according to claim 1 is capable of performing synchronous transfer, and it is necessary to allocate bandwidth in advance when transmitting by synchronous transfer. A bandwidth allocation method for a medium, comprising: an analysis step of analyzing a connection form of devices connected to a communication medium; a propagation delay identifier determination step of determining a propagation delay identifier based on the analysis result; and a maximum transmission data amount. A first bandwidth determining step of determining a maximum packet size for synchronous data and determining a bandwidth necessary for transmitting the packet from this and the data rate of the communication medium, and an overhead from a value of the propagation delay identifier A second band deciding step for deciding a band, the band decided in the first band deciding step and the second band deciding A second band determined by the step, and a band allocation step of receiving a band corresponding to the value added by the addition step, the second band determination step comprising: It is characterized in that the band is determined using a correspondence table of the propagation delay identifier and the overhead band.

【0017】また、請求項3記載の装置は、同期転送を
行うことができ、同期転送による送信を行う際にあらか
じめ帯域の割り当てを受ける必要がある通信媒体に接続
され、割り当ての必要な帯域を決定する装置であって、
通信媒体に接続された機器の接続形態を解析する解析手
段と、前記解析結果に基づいて伝播遅延識別子を決定す
る伝播遅延識別子決定手段と、最大送信データ量から同
期データ用の最大のパケットの大きさを求め、これと前
記通信媒体のデータレートから前記パケットの送信に必
要な帯域を決定する第1の帯域決定手段と、前記伝搬遅
延識別子の値からオーバーヘッドの帯域を決定する第2
の帯域決定手段と、前記第1の帯域決定手段により決定
された前記帯域と前記第2の帯域決定手段により決定さ
れた前記第2の帯域とを加算する加算ステップと、前記
加算手段により加算された値に相当する帯域の割り当て
を受ける帯域割り当て手段とを有し、前記第2の帯域決
定手段は伝搬遅延識別子とオーバーヘッド帯域の対応表
を用いて前記帯域を決定するを特徴とする。
The apparatus according to claim 3 is capable of performing the synchronous transfer, is connected to a communication medium which needs to be allocated a band in advance when transmitting by the synchronous transfer, and allocates the band requiring the allocation. A determining device,
Analyzing means for analyzing the connection form of the equipment connected to the communication medium, propagation delay identifier determining means for determining the propagation delay identifier based on the analysis result, and the maximum packet size for synchronous data from the maximum transmission data amount. First bandwidth determining means for determining the bandwidth required for transmission of the packet from this and the data rate of the communication medium, and a second bandwidth determining means for determining the overhead bandwidth from the value of the propagation delay identifier.
Band determining means, an adding step of adding the band determined by the first band determining means and the second band determined by the second band determining means, and an adding step performed by the adding means. Band allocation means for receiving the allocation of a band corresponding to the value, and the second band determination means determines the band using a correspondence table of the propagation delay identifier and the overhead band.

【0018】[0018]

【発明の実施の形態】本発明の実施例を図面を用いて説
明する。
Embodiments of the present invention will be described with reference to the drawings.

【0019】本実施例において、図1に示す通信媒体1
08に同期データを送信するデータ送信機107は伝搬
遅延識別子105を保持する伝搬遅延識別子保持手段1
01、最大送信データ量106を保持する最大送信デー
タ量保持手段102、帯域取得手段103、送受信手段
104より構成される。P1394に同期データを送信
する場合には、送出に先立って帯域の管理を行っている
ノードから帯域を取得しなくてはならない。
In this embodiment, the communication medium 1 shown in FIG.
The data transmitter 107 that transmits the synchronous data to the communication terminal 08 stores the propagation delay identifier 105.
01, maximum transmission data amount holding means 102 for holding the maximum transmission data amount 106, band acquisition means 103, and transmission / reception means 104. When transmitting the synchronous data to P1394, the band must be acquired from the node that manages the band prior to transmission.

【0020】図2にP1394に同期データを送信する
場合に、取得の必要な帯域を示す。同期データの帯域
は、バスが未使用であることを検出してから使用権の要
求を行うまでの時間T1、バスの使用権の要求が管理ノ
ードに到達するまでにかかる伝搬時間T2、バスの使用
権管理ノードでの判断時間T3、使用権管理ノードから
出力された判断結果を受け取るまでにかかる伝搬時間T
4、データの送信前のバスの占有期間T5、データの送
信レートを表す信号を出力する時間T6、パケット自体
の送信にかかる時間T7、転送終了を表す信号を出力す
る時間T8、パケットがバスの使用権の管理ノードに到
達するまでの伝搬遅延T9の合計によって決まる時間に
相当する帯域となる。
FIG. 2 shows a band required to be acquired when the synchronous data is transmitted to P1394. The bandwidth of the synchronous data is the time T1 from the detection that the bus is unused to the request for the right of use, the propagation time T2 required for the request for the right of use of the bus to reach the management node, and the time of the bus. Judgment time T3 in the usage right management node, propagation time T required to receive the judgment result output from the usage right management node
4. Bus occupancy period T5 before data transmission, time T6 for outputting a signal indicating the data transmission rate, time T7 for transmitting the packet itself, time T8 for outputting a signal indicating the end of transfer, and packet transmission for the bus The bandwidth corresponds to the time determined by the total of the propagation delays T9 before reaching the management node of the usage right.

【0021】この帯域の中で、パケット自体の転送にか
かる時間であるT7以外の値は送信レートや送信データ
の量には無関係であり、送信するノードとバスの使用権
を管理するノードの間に存在する中継ノードの数によっ
て決まる。ただしP1394では、バスの使用権を管理
するノードが接続上の中心にある必要が無いため、パケ
ットの転送時間以外にかかる時間は、それぞれのノード
によって異なる。それぞれのノード毎の値を求めるため
にはバスの使用権の管理を行うノードのバス上での位置
を考慮しなくてはならない。
In this band, values other than T7, which is the time required to transfer the packet itself, are irrelevant to the transmission rate and the amount of transmission data, and are between the transmitting node and the node managing the right to use the bus. It depends on the number of relay nodes that exist in. However, in P1394, the node that manages the bus usage right does not have to be at the center of the connection, so the time other than the packet transfer time differs depending on each node. In order to obtain the value for each node, the position on the bus of the node that manages the bus usage right must be taken into consideration.

【0022】しかし、この値を使用権の管理ノードの位
置に無関係な値として求め、またバス全体で同一の値を
使用する場合には、バスに存在する最大中継ノード数
を、送信ノードとバスの使用権を管理するノードの間の
最大中継ノード数として使用すればよい。
However, when this value is obtained as a value irrelevant to the position of the management node of the usage right, and when the same value is used for the entire bus, the maximum number of relay nodes existing on the bus is set to the transmission node and the bus. It may be used as the maximum number of relay nodes between the nodes that manage the usage right.

【0023】そこで、図3に示すようにバスの使用権を
管理するノード301からN回の接続で、(N−1)個
の中継ノード302だけ離れた送信ノード303がパケ
ットを出力すると考えた場合、P1394の規格に示さ
れた値を使用して計算すると、パケットの転送以外に使
用する時間Tohは(数1)に示す値となる。
Therefore, as shown in FIG. 3, it is considered that the transmission node 303, which is separated by (N-1) relay nodes 302, outputs a packet by connecting N times from the node 301 managing the bus usage right. In this case, when calculation is performed using the value specified in the P1394 standard, the time Toh used for other than packet transfer becomes the value shown in (Equation 1).

【0024】[0024]

【数1】 [Equation 1]

【0025】さらにこの値はP1394において、帯域
管理に使用する単位を使用して表すと、パケットの転送
帯域以外に必要な帯域(以下オーバヘッド帯域と称す
る)BWohは(数2)のように表すことが出来る。
Further, when this value is expressed in P1394 using a unit used for bandwidth management, a bandwidth (hereinafter referred to as an overhead bandwidth) BWoh required in addition to the packet transfer bandwidth is expressed as in (Equation 2). Can be done.

【0026】[0026]

【数2】 [Equation 2]

【0027】P1394で使用される帯域の単位は、1
00Mbpsでの伝送の際に2bitの転送にかかる帯
域を1とした値である。
The unit of the band used in P1394 is 1
This is a value in which the band required for 2-bit transfer at the time of transmission at 00 Mbps is 1.

【0028】伝搬遅延識別子105は、通信媒体108
に接続された機器の接続形態より求められるもので、こ
の識別子の値によってオーバヘッド帯域を一意に決定す
ることが出来る。伝搬遅延識別子保持手段101に保持
される伝搬遅延識別子105は、初期状態では、P13
94で許される最大の接続形態である、16回の接続で
15個の中継ノードがある場合のオーバヘッド帯域に対
応する値が設定される。一方最大送信データ量保持手段
102に保持される最大送信データ量106は、P13
94で使用する同期通信用パケットのデータ部分である
ペイロード部に含めることの出来る最大のデータ量を示
すものである。図4に同期データの送信で使用されるパ
ケットの形式を示す。同期データ転送用のパケットは、
P1394で規定された4バイトのパケットヘッダ40
1、パケットヘッダ用の4バイトのCRC402、同期
データの種別などを示すために使用される8バイトのC
IPヘッダ403、同期データ404、4バイトのデー
タ用CRC405より構成される。このうちCIPヘッ
ダ403と同期データ404を合わせた部分がペイロー
ドであり、同期データの大きさはデータの種類やそのデ
ータの伝送に必要とされるレートによって可変である。
The propagation delay identifier 105 is the communication medium 108.
The overhead bandwidth can be uniquely determined by the value of this identifier. The propagation delay identifier 105 held in the propagation delay identifier holding means 101 is P13 in the initial state.
A value corresponding to the overhead band when there are 15 relay nodes in 16 connections, which is the maximum connection mode allowed in 94, is set. On the other hand, the maximum transmission data amount 106 held in the maximum transmission data amount holding means 102 is P13.
It shows the maximum amount of data that can be included in the payload part, which is the data part of the synchronous communication packet used in 94. FIG. 4 shows a packet format used for transmitting the synchronous data. Packets for synchronous data transfer are
4-byte packet header 40 specified in P1394
1, a 4-byte CRC 402 for the packet header, an 8-byte C used to indicate the type of synchronization data, etc.
It is composed of an IP header 403, synchronous data 404, and a 4-byte data CRC 405. Of these, the portion where the CIP header 403 and the synchronization data 404 are combined is the payload, and the size of the synchronization data can be changed depending on the type of data and the rate required for transmitting the data.

【0029】このパケットには同期データに加えて、パ
ケットのヘッダなどを含めて20バイトのデータが付加
される。このうち最大送信データ量保持手段に保持され
るのはCIPヘッダ403の8バイトと同期データのデ
ータ量を合わせた値である。したがって送信に先立って
取得する必要のある帯域は、最大送信データ量に示され
た値に12バイトを加えた大きさを持つパケットが、送
信に使用するレートで送信される際に必要となる帯域
と、前述のオーバヘッド帯域をあわせた帯域となる。
In addition to the synchronization data, 20 bytes of data including the header of the packet are added to this packet. Of these, the maximum transmission data amount holding means holds a value obtained by combining the 8 bytes of the CIP header 403 and the data amount of synchronous data. Therefore, the bandwidth that needs to be acquired prior to transmission is the bandwidth required when a packet having a size obtained by adding 12 bytes to the value indicated in the maximum transmission data amount is transmitted at the rate used for transmission. And the above-mentioned overhead band.

【0030】一方、図5にP1394の各ノードが持つ
アドレス空間内に置かれる、同期データの送信を制御す
るためのレジスタである送信用PCR(プラグ・コント
ロール・レジスタ)の構成を示す。PCRは32bit
のレジスタで、そのPCRが使用可能か否かを示す1ビ
ットのバリッド・フラグ501、その送信用PCRによ
って制御される送信が送信中に停止できることを示す1
ビットのアンオウンド・コネクション・カウンタ50
2、そのPCRへの指示を行った機器の数を示す6ビッ
トのコネクション・カウンタ503、2ビット未使用フ
ィールド504、6ビットの同期データの送信に使用す
るチャネル番号を示すチャネル505、送信に使用する
レートを示す2ビットのデータ・レート506、伝搬遅
延識別子保持手段に相当する4ビットのオーバ・ヘッド
ID507、最大送信データ量保持手段に相当しペイロ
ードの大きさを4バイトを単位として表した10ビット
のペイロード・サイズ508より構成される。
On the other hand, FIG. 5 shows the structure of a transmission PCR (plug control register) which is a register for controlling the transmission of synchronous data and is placed in the address space of each P1394 node. PCR is 32 bits
1-bit valid flag 501 indicating whether the PCR can be used, or 1 indicating that the transmission controlled by the transmission PCR can be stopped during transmission.
Bit unowned connection counter 50
2, a 6-bit connection counter 503 indicating the number of devices that have instructed the PCR, a 2-bit unused field 504, a channel 505 indicating a channel number used for transmitting 6-bit synchronous data, and used for transmission A 2-bit data rate 506 indicating the transmission rate, a 4-bit overhead ID 507 corresponding to the propagation delay identifier holding means, and a maximum transmission data amount holding means corresponding to the payload size in units of 4 bytes 10 It is composed of a payload size 508 of bits.

【0031】送信を制御する送信制御装置は、このレジ
スタへ値を書き込むことにより送信を制御することがで
き、一方このレジスタの値を読み出すことで、その時点
の送信の状態を知ることが出来る。送信装置は、送信用
PCRのバリッド・フラグ501が1である間に、アン
オウンド・コネクション・カウンタ502もしくはコネ
クション・カウンタ503に0以外の値が書き込まれた
場合、送出を行う。逆にこの両者が0になった場合に
は、出力を停止する。なお、コネクション・カウンタ5
03が0で、アンオウンド・コネクション・カウンタ5
02が1の場合にのみ、送信開始の指示を行った機器以
外がアンオウンド・コネクション・カウンタ502をク
リアして送信を停止させることができる。
The transmission control device that controls transmission can control transmission by writing a value to this register, while reading the value of this register can know the state of transmission at that time. The transmitting device transmits when a value other than 0 is written to the unowned connection counter 502 or the connection counter 503 while the valid flag 501 of the transmission PCR is 1. On the contrary, when both of them become 0, the output is stopped. In addition, connection counter 5
03 is 0, unowned connection counter 5
Only when 02 is 1, a device other than the device that has instructed to start the transmission can clear the unowned connection counter 502 and stop the transmission.

【0032】帯域取得手段103はこの帯域取得を行う
場合、後述する理由により伝搬遅延識別子105が書き
変わっている可能性があるため、伝搬遅延識別子保持手
段101に保持された伝搬遅延識別子105と最大送信
データ量保持手段102に保持された最大送信データ量
106に基づいて帯域の取得を行う。帯域取得を行う場
合、帯域取得手段103は、最大送信データ量保持手段
102から最大送信データ量106を読み出し、前述の
理由によりペイロードの大きさからパケットの大きさを
求めるために、この最大送信データ量106に12バイ
トを加え、この大きさのパケットをPCRに含まれるデ
ータ・レート506で送信する際に必要とされる帯域を
求める。さらに帯域取得手段103は、伝搬遅延識別子
保持手段101から伝搬遅延識別子105を読み出し、
伝搬遅延識別子105によって決まるオーバヘッド帯域
をパケット送信の帯域に加える。
When the band acquisition means 103 acquires this band, the propagation delay identifier 105 may be rewritten for a reason described later, and therefore the maximum value of the propagation delay identifier 105 held in the propagation delay identifier holding means 101 The bandwidth is acquired based on the maximum transmission data amount 106 held in the transmission data amount holding means 102. When performing band acquisition, the band acquisition unit 103 reads the maximum transmission data amount 106 from the maximum transmission data amount holding unit 102, and in order to obtain the packet size from the payload size for the above reason, the maximum transmission data amount 106 is obtained. 12 bytes are added to the quantity 106 to obtain the bandwidth required when transmitting a packet of this size at the data rate 506 included in the PCR. Further, the band acquisition means 103 reads the propagation delay identifier 105 from the propagation delay identifier holding means 101,
An overhead band determined by the propagation delay identifier 105 is added to the packet transmission band.

【0033】帯域取得手段103は以上の結果得られた
帯域を帯域割り当て要求として送受信手段104に出力
し、送受信手段104は受け取った帯域割り当て要求を
帯域の管理ノードに送るために、非同期通信パケットと
して通信媒体108に送出する。そして、その要求の結
果として受け取ったパケットを帯域取得手段103に出
力する。帯域取得手段103は帯域割り当て要求の結果
から帯域が取得できたか否かを判断する。またこの帯域
取得の結果に基づいて、PCRのアンオウンド・コネク
ション・カウンタ502またはコネクション・カウンタ
503への書き込みによって送信開始の指示を行うこと
ができる。
The bandwidth acquisition means 103 outputs the bandwidth obtained as a result to the transmission / reception means 104 as a bandwidth allocation request, and the transmission / reception means 104 sends the received bandwidth allocation request to the bandwidth management node as an asynchronous communication packet. It is sent to the communication medium 108. Then, the packet received as a result of the request is output to the bandwidth acquisition unit 103. The band acquisition means 103 determines whether or not the band can be acquired from the result of the band allocation request. Further, based on the result of the band acquisition, the transmission start instruction can be given by writing the PCR to the unowned connection counter 502 or the connection counter 503.

【0034】以上の手順について、現在開発が進めれて
いるディジタルVTRのデータの送信を目的で、帯域割
り当てを行う場合の例を以下に示す。
With respect to the above procedure, an example in which band allocation is performed for the purpose of transmitting data of a digital VTR which is currently being developed is shown below.

【0035】P1394を用いて、このディジタルVT
Rのデータを送信する場合には、データは480バイト
毎に区切られ、同期パケットとして転送される。従って
最大送信データ量保持手段には、この480バイトにC
IPヘッダの8バイトを加えた488バイトを4バイト
を単位として表した、122という値が最大送信データ
量として書き込まれている。
Using P1394, this digital VT
When transmitting R data, the data is divided into 480 bytes and transferred as a synchronization packet. Therefore, the maximum transmission data amount holding means stores C in this 480 bytes.
A value of 122, which represents 488 bytes to which 8 bytes of the IP header is added in units of 4 bytes, is written as the maximum transmission data amount.

【0036】帯域取得手段103は、PCRに含まれた
最大送信データ量保持手段(ペイロード・サイズ50
8)から最大送信データ量である122という値を読み
出し、これを4倍して、ペイロードの大きさが488バ
イトであることを知る。さらには、この488バイトに
12バイトを加えた500バイトが同期データ用のパケ
ットの大きさであるとがわかる。さらにはPCRに含ま
れるデータ・レート506の値をもとに、パケット送信
にかかる帯域を求める。ここでデータ・レート506が
100Mbpsでの転送を示していた場合にこの帯域
は、P1394で使用する帯域の単位を使用して200
0となる。一方、データ・レート506が200Mbp
sを示している場合にはこの半分の1000になる。
The band acquisition means 103 is a maximum transmission data amount holding means (payload size 50) included in the PCR.
The value of 122, which is the maximum amount of transmission data, is read from 8) and is multiplied by 4 to know that the payload size is 488 bytes. Further, it is understood that 500 bytes obtained by adding 12 bytes to 488 bytes is the size of the packet for synchronous data. Further, the bandwidth required for packet transmission is obtained based on the value of the data rate 506 included in the PCR. If the data rate 506 indicates transfer at 100 Mbps, the bandwidth is 200 using the unit of the bandwidth used in P1394.
It becomes 0. On the other hand, the data rate 506 is 200 Mbp
When s is shown, it is 1000 which is half of this.

【0037】さらに帯域取得手段103はPCRに含ま
れる伝搬遅延識別子保持手段(オーバヘッドID50
7)から伝搬遅延識別子を読み出す。帯域取得手段10
3は(表1)に示す4ビットの伝搬遅延識別子のビット
パターンとオーバヘッド帯域の対応表を持っており、読
み出した伝搬遅延識別子からオーバヘッド帯域を求めめ
る。
Further, the band acquisition means 103 is a propagation delay identifier holding means (overhead ID 50) included in the PCR.
Read the propagation delay identifier from 7). Band acquisition means 10
3 has a correspondence table of 4-bit propagation delay identifier bit pattern and overhead band shown in (Table 1), and the overhead band can be obtained from the read propagation delay identifier.

【0038】[0038]

【表1】 [Table 1]

【0039】この結果得られたオーバヘッド帯域とパケ
ットの帯域である2000を合わせた値が取得すべき帯
域となる。
The value obtained by combining the resulting overhead bandwidth and 2000, which is the bandwidth of the packet, is the bandwidth to be acquired.

【0040】一方、PCRのコネクション・カウンタ5
03が0で、アンオウンド・コネクション・カウンタ5
02が1の時には、送信開始の指示を行ったノード以外
がアンオウンド・コネクション・カウンタ502をクリ
アすることで、送信を停止させることができるため、こ
の停止した送信で使用していた帯域を使用して他の送信
を行うことができる。またこの際に、PCRに含まれる
伝搬遅延識別子と最大送信データ量によって使用してい
た帯域を知ることができる。
On the other hand, the PCR connection counter 5
03 is 0, unowned connection counter 5
When 02 is 1, transmission can be stopped by clearing the unowned connection counter 502 by a node other than the node that has instructed to start transmission. Therefore, the band used in this stopped transmission is used. Other transmissions can be made. Further, at this time, it is possible to know the band used by the propagation delay identifier included in the PCR and the maximum transmission data amount.

【0041】図6に、このような送信機の切り替えを行
う際の送信装置の構成を示す。図6において、すでに送
信を行っている第1の送信装置606は、伝搬遅延識別
子604を保持する伝搬遅延識別子保持手段601、最
大送信データ量605を保持する最大送信データ量保持
手段602、通信媒体607との間でパケットの送受信
を行う送受信手段603から構成され、一方の新しく送
信を開始する第2の送信装置614は、通信媒体607
との間でパケットの送受信を行う送受信手段608、帯
域取得手段609、伝搬遅延識別子612を保持する伝
搬遅延識別子保持手段610、最大送信データ量613
を保持する最大送信データ量保持手段611から構成さ
れる。
FIG. 6 shows the structure of the transmitting device when the transmitter is switched as described above. In FIG. 6, the first transmitting device 606 that has already transmitted is a propagation delay identifier holding unit 601 that holds a propagation delay identifier 604, a maximum transmission data amount holding unit 602 that holds a maximum transmission data amount 605, and a communication medium. The second transmission device 614, which is composed of a transmission / reception unit 603 for transmitting / receiving a packet to / from the communication unit 607 and starts a new transmission, is a communication medium 607.
A transmission / reception unit 608 for transmitting / receiving a packet to / from, a band acquisition unit 609, a propagation delay identifier holding unit 610 holding a propagation delay identifier 612, a maximum transmission data amount 613.
The maximum transmission data amount holding means 611 for holding

【0042】第2の送信装置614が第1の送信装置6
06の送信を停止させ、第1の送信装置606が使用し
ていた帯域を使用して送信を行う場合、第1の送信装置
のPCRのアンオウンド・コネクション・カウンタをク
リアする。またこのとき、第2の送信装置の帯域取得手
段609は第1の送信装置606のPCRの一部として
構成される伝搬遅延識別子保持手段601に保持されて
いる伝搬遅延識別子604と最大送信データ量保持手段
602に保持されている最大送信データ量605を読み
出す。
The second transmitting device 614 is the first transmitting device 6
When the transmission of No. 06 is stopped and the transmission is performed using the band used by the first transmission device 606, the unowned connection counter of the PCR of the first transmission device is cleared. Further, at this time, the band acquisition unit 609 of the second transmission device has the propagation delay identifier 604 and the maximum transmission data amount held by the propagation delay identifier holding unit 601 configured as a part of the PCR of the first transmission device 606. The maximum transmission data amount 605 held in the holding unit 602 is read.

【0043】なおこの場合、第1の送信装置606のノ
ードIDは、第1の送信装置が送信している図3に示す
構造を持つ同期データ用パケットのCIPヘッダの中に
含まれているので、第2の送信装置614は送信されて
いるデータを一度受信してCIPヘッダを調べること
で、そのデータの送信を行っている第1の送信装置60
6のノードIDを特定することできる。
In this case, the node ID of the first transmitting device 606 is included in the CIP header of the synchronous data packet having the structure shown in FIG. 3 which is transmitted by the first transmitting device. , The second transmitting device 614 receives the transmitted data once and examines the CIP header, so that the first transmitting device 60 transmitting the data.
6 node IDs can be specified.

【0044】そこで、第2の送信装置614の帯域取得
手段609は、第1の送信装置606から読み出した伝
搬遅延識別子604と最大送信データ量605をもと
に、前述の通常の帯域取得と同様の方法で、第1の送信
装置が取得して使用していた帯域を求める。ここで求め
た、第1の送信装置606が取得していた帯域は、第1
の送信装置606の送信が停止した後には、第2の送信
装置614が使用できることになる。
Therefore, the band acquisition means 609 of the second transmission device 614 is similar to the above-mentioned normal band acquisition based on the propagation delay identifier 604 and the maximum transmission data amount 605 read from the first transmission device 606. The bandwidth acquired and used by the first transmitter is obtained by the method. The band obtained by the first transmission device 606 obtained here is the first band.
After the transmission of the second transmission device 606 is stopped, the second transmission device 614 can be used.

【0045】なお、第1の送信装置606の使用してい
た帯域を求める際に使用するデータ・レートは、通常、
PCRに含まれるデータ・レート506を読み出して使
用するが、第1の送信装置606のノードIDを知るた
めに同期データ用パケットを受信した際の受信レートに
よっても知ることができるため、必ずしもPCRに含ま
れるデータ・レート506を読み出す必要はない。
The data rate used when obtaining the band used by the first transmitter 606 is usually
The data rate 506 included in the PCR is read and used. However, since it can be known by the reception rate at the time of receiving the synchronous data packet in order to know the node ID of the first transmission device 606, the PCR is not necessarily used. There is no need to read the included data rate 506.

【0046】さらに帯域取得手段609は、上記の手順
で求められる譲り受けた帯域と、第2の送信装置614
の伝搬遅延識別子保持手段610に保持された伝搬遅延
識別子612と最大送信データ量保持手段611に保持
された最大送信データ量613から同様にして求める、
使用予定の帯域とを比較し、両者に差がある場合には余
分な帯域を帯域の管理ノードに返却したり、逆に不足す
る帯域を取得する必要がある。
Further, the band acquisition means 609 is configured to detect the band acquired in the above procedure and the second transmitter 614.
In the same manner, it is obtained from the propagation delay identifier 612 held in the propagation delay identifier holding means 610 and the maximum transmission data amount 613 held in the maximum transmission data amount holding means 611.
It is necessary to compare the band to be used and return the extra band to the band management node if there is a difference between the two, or conversely acquire the insufficient band.

【0047】ただしこのとき、第1の送信装置606か
ら読み出した伝搬遅延識別子604が第2の送信装置6
10に保持されていた伝搬遅延識別子612よりも小さ
な場合には、第2の送信装置614の伝搬遅延識別子6
12を第1の送信装置606から読み出した伝搬遅延識
別子604と同じ値にすることができる。これは、伝搬
遅延識別子がバスの接続形態のみによって求められるも
のであり、後述する出伝搬遅延識別子を算出する際に使
用した計算方法によっては、ノード毎に異なる値が書き
込まれている可能性はあるが、同一のバスに接続された
ノードであるならばその中で最小の伝搬遅延識別子を使
用することができるためである。
At this time, however, the propagation delay identifier 604 read from the first transmitting device 606 is the second transmitting device 6
If it is smaller than the propagation delay identifier 612 held in No. 10, the propagation delay identifier 6 of the second transmitting device 614.
12 can be set to the same value as the propagation delay identifier 604 read from the first transmission device 606. This is because the propagation delay identifier is obtained only by the connection form of the bus, and it is possible that different values are written for each node depending on the calculation method used when calculating the outgoing propagation delay identifier described later. This is because, if the nodes are connected to the same bus, the smallest propagation delay identifier can be used among them.

【0048】前述のように伝搬遅延識別子保持手段の初
期値は、バスがP1394の規格で許される最大の構成
の場合に対応する値である。したがって、帯域を譲り受
ける第2の送信装置614が伝搬遅延識別子612とし
て初期値を持つもので、一方、第1の送信装置606の
伝搬遅延識別子604はバスの接続形態を調べることで
初期値よりも小さな値が書き込まれていた場合などに
は、帯域を譲り受ける際に伝搬遅延識別子の大きさを比
較して、小さい方の値を使用する事で、通信媒体の持つ
帯域を有効利用することが可能となる。
As described above, the initial value of the propagation delay identifier holding means is a value corresponding to the case where the bus has the maximum configuration permitted by the P1394 standard. Therefore, the second transmission device 614 that takes over the band has an initial value as the propagation delay identifier 612, while the propagation delay identifier 604 of the first transmission device 606 is more than the initial value by checking the bus connection form. When a small value is written, it is possible to effectively use the bandwidth of the communication medium by comparing the sizes of the propagation delay identifiers when handing over the bandwidth and using the smaller value. Becomes

【0049】図7は、送信制御装置が伝搬遅延識別子を
求める際の動作を示すブロック図である。本実施例にお
いて、送信装置710は、通信媒体706との間でパケ
ットの送受信を行う送受信手段707、伝搬遅延識別子
709を保持する伝搬遅延識別子保持手段708より構
成され、送信制御装置705は、通信媒体に接続された
機器の接続形態を解析する解析手段701、解析結果に
基づいて伝搬延識別子を決定する識別子決定手段70
2、送信装置710の伝搬識別子保持手段708に伝搬
遅延識別子709を設定する識別子設定手段703、通
信媒体706との間でパケットの送受信を行う送受信手
段704より構成される。
FIG. 7 is a block diagram showing the operation when the transmission control device obtains the propagation delay identifier. In the present embodiment, the transmission device 710 is composed of transmission / reception means 707 for transmitting / receiving packets to / from the communication medium 706, and propagation delay identifier holding means 708 holding a propagation delay identifier 709. Analysis means 701 for analyzing the connection form of the equipment connected to the medium, identifier determination means 70 for determining the propagation delay identifier based on the analysis result.
2. An identifier setting unit 703 that sets a propagation delay identifier 709 in the propagation identifier holding unit 708 of the transmission device 710, and a transmission / reception unit 704 that transmits / receives a packet to / from the communication medium 706.

【0050】解析手段701は、P1394のバスリセ
ットの際にバスに接続される各ノードが送出するセルフ
IDパケットをすべて受信し、このセルフIDパケット
に含まれる情報を用いてバスの木構造を解析する。この
木構造を解析することで、各ノード間で通信を行う際の
中継ノードの数を求め、この最大値を出力する。一方、
識別子決定手段702は、解析手段701より入力する
バスでの最大の中継ノード数から、生じる可能性のある
最大の伝搬遅延を計算し、この値をもとに同期データを
送信する際に取得が必要になるオーバヘッド帯域の大き
さを求める。さらに識別子決定手段702は、このオー
バヘッド帯域から最も適切な伝搬遅延識別子を決定して
出力する。
The analyzing means 701 receives all the self-ID packets sent by each node connected to the bus at the time of P1394 bus reset, and analyzes the tree structure of the bus using the information contained in this self-ID packet. To do. By analyzing this tree structure, the number of relay nodes at the time of communication between each node is obtained, and this maximum value is output. on the other hand,
The identifier determining unit 702 calculates the maximum propagation delay that may occur from the maximum number of relay nodes on the bus input from the analyzing unit 701, and obtains it when transmitting synchronous data based on this value. Determine the required overhead bandwidth. Further, the identifier determining means 702 determines and outputs the most appropriate propagation delay identifier from this overhead band.

【0051】この際に使用する中継ノード数とオーバヘ
ッド帯域の対応としては、例えば(表2)に示す値を使
用することができる。
As a correspondence between the number of relay nodes used at this time and the overhead band, for example, the values shown in (Table 2) can be used.

【0052】[0052]

【表2】 [Table 2]

【0053】表2に示す値は、バスの使用権を管理する
ノードの位置に関わらずに決まる最大値であり、(数
2)に示した式を用いた計算によって求められたもので
ある。なお、バスの使用権を管理するノードのバス上で
の位置を考慮して伝搬遅延を計算することも可能であ
り、この場合、そのバスに存在する最大の中継数は同じ
であっても(表1)に示すオーバヘッド帯域よりも小さ
な値となることもある。またオーバヘッド帯域と4ビッ
トの伝搬遅延識別子のビットパターンとの対応は、(表
1)に示した値を使用する。したがって伝搬遅延識別子
を決定することができる。
The values shown in Table 2 are maximum values that are determined irrespective of the position of the node that manages the bus use right, and are obtained by calculation using the formula shown in (Equation 2). It is also possible to calculate the propagation delay in consideration of the position on the bus of the node that manages the right to use the bus, and in this case, even if the maximum number of relays existing in the bus is the same ( The value may be smaller than the overhead band shown in Table 1). The correspondence between the overhead band and the bit pattern of the 4-bit propagation delay identifier uses the values shown in (Table 1). Therefore, the propagation delay identifier can be determined.

【0054】このようにして識別子決定手段702は解
析手段701より入力する最大中継ノードの数をもとに
オーバヘッド帯域を求め、さらにはこのオーバヘッド帯
域より伝搬遅延識別子を決定して出力する。またこのよ
うな対応を決めることで、伝搬遅延識別子からオーバヘ
ッド帯域を一意に決定することができる。
In this way, the identifier determining means 702 obtains the overhead band based on the number of maximum relay nodes input from the analyzing means 701, and further determines and outputs the propagation delay identifier from this overhead band. Further, by determining such correspondence, the overhead band can be uniquely determined from the propagation delay identifier.

【0055】識別子設定手段703は、識別子決定手段
702によって決められた伝搬遅延識別子を入力し、送
信装置710の伝搬識別子保持手段709への書き込
む。この書き込みは非同期通信パケットを用いて、PC
Rへの書き込み操作によって行われる。
The identifier setting means 703 inputs the propagation delay identifier determined by the identifier determining means 702 and writes it in the propagation identifier holding means 709 of the transmitting device 710. This writing uses an asynchronous communication packet to
A write operation to R is performed.

【0056】前述のように、送信装置710の伝搬遅延
識別子保持手段708の初期値は、P1394で許され
る最大の接続形態によって決まる識別子が書き込まれて
いる。この値を変更するためには、バスの接続形態を解
析して最大の中継ノード数を知る必要がある。しかし、
バスの接続形態を解析せずに伝搬遅延識別子を初期値の
まま使用しても、同期データの通信は可能であるため、
すべての送信装置が接続形態の解析手段701や識別子
決定手段702、また識別子設定手段703を持つ必要
はない。ただしこの場合には、本来必要な帯域よりも大
きな帯域の取得を行ってしまうので、通信媒体の持つ帯
域を有効利用することはできない。
As described above, as the initial value of the propagation delay identifier holding means 708 of the transmission device 710, an identifier determined by the maximum connection form permitted in P1394 is written. In order to change this value, it is necessary to analyze the bus connection form and know the maximum number of relay nodes. But,
Synchronous data communication is possible even if the propagation delay identifier is used with the initial value without analyzing the bus connection form.
It is not necessary that all transmission devices have the connection form analysis unit 701, the identifier determination unit 702, and the identifier setting unit 703. However, in this case, since a band larger than the originally required band is acquired, the band of the communication medium cannot be effectively used.

【0057】そこで、通信媒体に送信制御装置705を
接続し、バスに接続された機器の接続形態を解析して伝
搬遅延識別子を求め、そのバスに接続された送信装置の
伝搬遅延識別子保持手段に適切と思われる伝搬遅延識別
子を設定することで、通信媒体の持つ帯域を効率的に使
用することができるようになる。伝搬遅延識別子保持手
段は、バスを通して書き込むことが可能であるので、バ
ス上に少なくとも1つの送信制御装置があれば、初期値
よりも小さな伝搬遅延識別子を設定することが可能であ
り、この結果として、すべての送信装置が接続形態の解
析手段701や識別子決定手段702などを持つ必要は
なく、(表1)に示した伝搬遅延識別子とオーバヘッド
帯域の対応表を持っていることで、通信媒体が持つ帯域
の有効利用が可能となる。
Therefore, the transmission control device 705 is connected to the communication medium, the connection form of the equipment connected to the bus is analyzed to obtain the propagation delay identifier, and the propagation delay identifier holding means of the transmission device connected to the bus is used. By setting an appropriate propagation delay identifier, the bandwidth of the communication medium can be used efficiently. Since the propagation delay identifier holding means can write through the bus, it is possible to set a propagation delay identifier smaller than the initial value if there is at least one transmission controller on the bus, and as a result, , It is not necessary for all the transmitting devices to have the connection mode analysis means 701, the identifier determination means 702, etc., and since the transmission delay identifier and the overhead band correspondence table shown in (Table 1) are held, the communication medium is It is possible to effectively use the bandwidth that the user has.

【0058】一方、このように伝搬遅延識別子保持手段
を持つ送信装置以外の送信制御装置が、すでに設定され
ている値よりも適切な伝搬遅延識別子を書き込む可能性
がある。したがって、前述のように帯域取得手段が帯域
の取得を行う際には伝搬遅延識別子保持手段の値を読み
出し、読み出した値に基づいてオーバヘッド帯域を求め
る必要がある。
On the other hand, there is a possibility that a transmission control device other than the transmission device having the propagation delay identifier holding means writes a propagation delay identifier more appropriate than the already set value. Therefore, as described above, when the band acquisition unit acquires the band, it is necessary to read the value of the propagation delay identifier holding unit and obtain the overhead band based on the read value.

【0059】さらに、伝搬遅延識別子保持手段に保持さ
れる伝搬遅延識別子は、送信装置を切り替える際に使用
するため、帯域の取得を行ったときに使用した値である
必要がある。従って、送信制御装置が伝搬遅延識別子を
設定するのは、その時点で送信を行っていない送信装置
のみである。すなわちPCRのアンオウンド・コネクシ
ョン・カウンタ502とコネクション・カウンタ503
がともに0の場合にのみ、伝搬遅延識別子を設定するこ
とができる。
Further, since the propagation delay identifier held in the propagation delay identifier holding means is used when switching the transmitting device, it needs to be the value used when the band is acquired. Therefore, the transmission control device sets the propagation delay identifier only for the transmission device which is not transmitting at that time. That is, PCR unowned connection counter 502 and connection counter 503.
The propagation delay identifier can be set only when both are 0.

【0060】伝搬遅延識別子は、本来バスの接続形態が
定まれば、最も適切な値は一つ定まるものである。しか
しながら最も適切な値を求めるためには、バスの接続形
態を解析して、すべてのノード間の中継ノード数と、ま
た場合によってはバスの使用権管理ノードのバス上での
位置を正確に求めなくてはならない。このような処理を
行うためには複雑な解析処理が必要である。一方、バス
に接続された機器が少ない場合には、機器の数だけをも
とに、最適ではないものの、伝搬遅延識別子を初期値よ
りも小さな値に設定することができる。
For the propagation delay identifier, if the connection form of the bus is originally determined, one most appropriate value is determined. However, in order to obtain the most appropriate value, the bus topology is analyzed to accurately determine the number of relay nodes between all nodes and, in some cases, the position of the bus right management node on the bus. Must-have. In order to perform such processing, complicated analysis processing is required. On the other hand, when the number of devices connected to the bus is small, the propagation delay identifier can be set to a value smaller than the initial value, although it is not optimal based on only the number of devices.

【0061】P1394では、最も離れたノード間での
中継ノード数は15で、16回の接続にしなければなら
ないことが規格に定められている。バスに接続されたノ
ードの数Mが17よりも小さな値であった場合には、ど
のような接続形態をとったとしても、最も離れたノード
間の中継ノード数は(M−2)を越えることはない。し
たがってこのような場合には、接続形態の解析は行わず
に、バスに接続されたノード数で考えられる最大の中継
ノード数である(M−2)を中継ノード数として伝搬遅
延識別子を決定することができる。一方、Mが17より
も大きな値であった場合には、中継ノード数として、P
1394で許された最大の値である15を用いる。この
ようにして求められた伝搬遅延識別子を設定すること
で、バスに接続された機器の数が少ない場合には、通信
媒体の持つ帯域を最大限に利用することはできないが、
複雑な処理を行わずに、伝搬遅延識別子の設定を全く行
わない場合に比べて帯域の有効利用が可能となる。
In P1394, the standard stipulates that the number of relay nodes between the most distant nodes is 15, and the connection must be made 16 times. When the number M of nodes connected to the bus is smaller than 17, the number of relay nodes between the most distant nodes exceeds (M-2), regardless of the connection form. There is no such thing. Therefore, in such a case, without analyzing the connection form, the propagation delay identifier is determined with (M-2), which is the maximum number of relay nodes considered in the number of nodes connected to the bus, as the number of relay nodes. be able to. On the other hand, when M is a value larger than 17, the number of relay nodes is P
Use 15 which is the maximum value allowed in 1394. By setting the propagation delay identifier obtained in this way, when the number of devices connected to the bus is small, the bandwidth of the communication medium cannot be used to the maximum,
The band can be effectively used as compared with the case where the propagation delay identifier is not set at all without performing complicated processing.

【0062】以上のように、送信制御装置が伝搬遅延識
別子を求める方法は複数有り得る。また、同一のバス上
に伝搬遅延識別子の設定を行う送信制御装置が複数存在
することも有り得る。従って、すでに最適と思われる伝
搬遅延識別子が書き込まれた伝搬遅延識別子保持手段
に、それよりも大きな伝搬遅延識別子が書き込まれるこ
とがある。このようなことが生じると、通信媒体の持つ
帯域を有効利用することができなくなる危険性がある。
そこで、伝搬遅延識別子を設定する際には、すでに設定
されている値と設定しようとする値と比較して、すでに
設定されている値よりも小さな値の場合にのみ設定を行
うことによって、上記の危険性を回避することができ
る。
As described above, there may be a plurality of methods for the transmission control device to obtain the propagation delay identifier. Further, there may be a plurality of transmission control devices that set the propagation delay identifier on the same bus. Therefore, a larger propagation delay identifier may be written in the propagation delay identifier holding means in which the propagation delay identifier which is considered to be optimal is already written. When this happens, there is a risk that the bandwidth of the communication medium cannot be effectively used.
Therefore, when setting the propagation delay identifier, by comparing the already set value with the value to be set and setting only when the value is smaller than the already set value, The danger of can be avoided.

【0063】[0063]

【発明の効果】以上のように第1の発明では、帯域の取
得を行った際に使用した伝搬遅延識別子と最大送信デー
タ量が通信媒体を通して外部から読み出しが可能である
ため、同じ通信媒体に接続された別の機器がこの取得さ
れた帯域を求めることが可能となり、この結果すでに取
得された帯域を使用して他の送信装置が送信を行う際の
帯域の移行を伴う帯域取得の手続きを簡略化する事が可
能となる。
As described above, according to the first aspect of the invention, since the propagation delay identifier and the maximum transmission data amount used when the band is acquired can be read from the outside through the communication medium, the same communication medium is used. It becomes possible for another connected device to obtain this acquired band, and as a result, the band acquisition procedure that involves band transfer when another transmitting device transmits using the band already acquired is performed. It is possible to simplify.

【0064】第2の発明では、送信制御装置が通信媒体
に接続された機器の接続形態を解析し、この解析結果に
基づく伝搬遅延識別子を設定することで、通信媒体の持
つ帯域を有効利用することが可能となる。さらには、こ
の伝搬遅延識別子は通信媒体を通して機器の外部より設
定することが可能であるため、すべての送信装置が通信
媒体に接続された機器の接続形態を解析する解析手段を
持たなくとも、通信媒体上に少なくとも1つの送信制御
装置があることで、通信媒体の持つ帯域を有効利用する
ことが可能となる。
In the second aspect of the invention, the transmission controller analyzes the connection form of the equipment connected to the communication medium and sets the propagation delay identifier based on the analysis result, thereby effectively utilizing the band of the communication medium. It becomes possible. Furthermore, since this propagation delay identifier can be set from the outside of the device through the communication medium, even if all the transmitting devices do not have an analyzing means for analyzing the connection form of the device connected to the communication medium, By having at least one transmission control device on the medium, it is possible to effectively use the bandwidth of the communication medium.

【0065】第3の発明では、通信媒体に接続された機
器の接続形態を解析する際に、通信媒体に接続された機
器の数に基づいて判断を行うことによって、複雑な処理
を必要とせずに、帯域の有効利用を行うことが可能とな
る。
In the third aspect of the present invention, when analyzing the connection form of the devices connected to the communication medium, the judgment is made based on the number of devices connected to the communication medium, thereby eliminating the need for complicated processing. In addition, it becomes possible to effectively use the band.

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

【図1】本発明の実施例において同期データの送信を行
う送信装置の主要部の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a main part of a transmission device that transmits synchronous data according to an embodiment of the present invention.

【図2】本発明の実施例においてP1394の同期デー
タの送信の際に、取得の必要な帯域を示す図
FIG. 2 is a diagram showing a band required to be acquired when transmitting P1394 synchronous data in the embodiment of the present invention.

【図3】本発明の実施例においてN回の接続で(N−
1)個の中継ノードだけ離れたノードの接続を示す図
FIG. 3 is a diagram illustrating an embodiment of the present invention with (N-
1) Diagram showing connection of nodes separated by relay nodes

【図4】本発明の実施例においてP1394で同期デー
タを送信する際に使用するパケットの構成を示す図
FIG. 4 is a diagram showing a configuration of a packet used when transmitting synchronous data by P1394 in the embodiment of the present invention.

【図5】本発明の実施例において同期データの送信を制
御するレジスタであるPCRの構成を示す図
FIG. 5 is a diagram showing the configuration of a PCR that is a register that controls transmission of synchronous data in the embodiment of the present invention.

【図6】本発明の実施例において同期データの送信ノー
ドを切り替える際の2つの送信装置の主要部分の構成を
示すブロック図
FIG. 6 is a block diagram showing a configuration of main parts of two transmitting devices when switching a transmitting node of synchronous data in an embodiment of the present invention.

【図7】本発明の実施例において伝搬遅延識別子の決定
と設定を行う送信制御装置と、伝搬遅延識別子を設定さ
れる送信装置の主要部分の構成を示すブロック図
FIG. 7 is a block diagram showing a configuration of a transmission control device that determines and sets a propagation delay identifier and a main part of a transmission device to which a propagation delay identifier is set according to an embodiment of the present invention.

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

101,601,610,708 伝搬遅延識別子保持
手段 102,602,611 最大送信データ量保持手段 103,609 帯域取得手段 104,603,608,704,707 送受信手段 105,604,612,709 伝搬遅延識別子 106,605,613 最大送信データ量 107,606,614,710 送信装置 108,607,706 通信媒体 201 パケット 202 バスの使用権要求 203 バスの使用許可 301 バスの使用権管理ノード 302 中継ノード 303 送信ノード 401 パケット・ヘッダ 402 ヘッダCRC 403 CIPヘッダ 404 同期データ 405 データCRC 501 バリッド・フラグ 502 アンオウンド・コネクション・カウンタ 503 コネクション・カウンタ 504 未使用フィールド 505 チャネル番号 506 データ・レート 507 オーバヘッドID 508 ペイロード・サイズ 701 解析手段 702 識別子決定手段 703 識別子設定手段 705 送信制御装置
101, 601, 610, 708 Propagation delay identifier holding means 102, 602, 611 Maximum transmission data amount holding means 103, 609 Bandwidth acquisition means 104, 603, 608, 704, 707 Transmission / reception means 105, 604, 612, 709 Propagation delay identifier 106, 605, 613 Maximum transmission data amount 107, 606, 614, 710 Transmission device 108, 607, 706 Communication medium 201 Packet 202 Bus usage right request 203 Bus usage permission 301 Bus usage right management node 302 Relay node 303 Transmission Node 401 Packet header 402 Header CRC 403 CIP header 404 Synchronization data 405 Data CRC 501 Valid flag 502 Unowned connection counter 503 Connection counter 504 Unused field 505 Channel number 506 Data rate 507 Overhead ID 508 Payload size 701 Analysis means 702 Identifier determination means 703 Identifier setting means 705 Transmission control device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−76434(JP,A) 特開 平4−139934(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-2-76434 (JP, A) JP-A-4-139934 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 12/28

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同期転送を行うことができ、同期転送に
よる送信を行う際にあらかじめ帯域の割り当てを受ける
必要がある通信媒体における帯域割り当て方法であっ
て、 通信媒体に接続された機器の接続形態を解析する解析ス
テップと、 前記解析結果に基づいて伝播遅延識別子を決定する伝播
遅延識別子決定ステップと、 最大送信データ量から同期データ用の最大のパケットの
大きさを求め、これと前記通信媒体のデータレートから
前記パケットの送信に必要な帯域を決定する第1の帯域
決定ステップと、 前記伝搬遅延識別子の値からオーバヘッドの帯域を決定
する第2の帯域決定ステップと、 前記第1の帯域決定ステップにより決定された前記帯域
と前記第2の帯域決定ステップにより決定された前記第
2の帯域とを加算する加算ステップと、 前記加算ステップにより加算された値に相当する帯域の
割り当てを受ける帯域割り当てステップとを有し、 前記第2の帯域決定ステップは伝搬遅延識別子とオーバ
ーヘッド帯域の対応表を用いて前記帯域を決定する方
法。
1. A band allocation method for a communication medium capable of performing a synchronous transfer and requiring a band to be allocated in advance when transmitting by the synchronous transfer, and a connection form of a device connected to the communication medium. Analyzing step, a propagation delay identifier determining step for determining a propagation delay identifier based on the analysis result, a maximum packet size for synchronous data is obtained from the maximum transmission data amount, and this and the communication medium A first band determining step of determining a band required for transmitting the packet from a data rate; a second band determining step of determining an overhead band from a value of the propagation delay identifier; and the first band determining step. And a second band determined in the second band determination step. And a band allocation step of receiving a band allocation corresponding to the value added by the adding step, wherein the second band determining step determines the band using a correspondence table of a propagation delay identifier and an overhead band. how to.
【請求項2】 前記解析ステップでは、通信媒体に接続
された機器の個数を解析し、 前記伝播遅延識別子決定ステップでは、前記個数が
(M)であるとき、中継機器の個数が(M−2)に相当
する伝播遅延識別子に決定することを特徴とする請求項
1に記載の方法。
2. The analyzing step analyzes the number of devices connected to a communication medium, and in the propagation delay identifier determining step, when the number is (M), the number of relay devices is (M-2 The method according to claim 1, characterized in that the propagation delay identifier corresponding to (1) is determined.
【請求項3】 同期転送を行うことができ、同期転送に
よる送信を行う際にあらかじめ帯域の割り当てを受ける
必要がある通信媒体に接続され、割り当ての必要な帯域
を決定する装置であって、 通信媒体に接続された機器の接続形態を解析する解析手
段と、 前記解析結果に基づいて伝播遅延識別子を決定する伝播
遅延識別子決定手段と、 最大送信データ量から同期データ用の最大のパケットの
大きさを求め、これと前記通信媒体のデータレートから
前記パケットの送信に必要な帯域を決定する第1の帯域
決定手段と、 前記伝搬遅延識別子の値からオーバーヘッドの帯域を決
定する第2の帯域決定手段と、 前記第1の帯域決定手段により決定された前記帯域と前
記第2の帯域決定手段により決定された前記第2の帯域
とを加算する加算ステップと、 前記加算手段により加算された値に相当する帯域の割り
当てを受ける帯域割り当て手段とを有し、 前記第2の帯域決定手段は伝搬遅延識別子とオーバーヘ
ッド帯域の対応表を用いて前記帯域を決定する装置。
3. A device which is capable of performing a synchronous transfer and which is connected to a communication medium which needs to be allocated a band in advance when transmitting by the synchronous transfer and which determines a band to be allocated, the communication comprising: Analyzing means for analyzing the connection form of the device connected to the medium, propagation delay identifier determining means for determining the propagation delay identifier based on the analysis result, and the maximum packet size for the synchronous data from the maximum transmission data amount. And a second bandwidth determining means for determining an overhead bandwidth from the value of the propagation delay identifier, the first bandwidth determining means determining the bandwidth required for transmitting the packet from the data and the data rate of the communication medium. And an addition step for adding the band determined by the first band determination unit and the second band determined by the second band determination unit. And a band allocating unit for allocating a band corresponding to the value added by the adding unit, wherein the second band deciding unit decides the band using a correspondence table of a propagation delay identifier and an overhead band. Device to do.
【請求項4】 前記解析手段は、通信媒体に接続された
機器の個数を解析し、 前記伝播遅延識別子決定手段は、前記個数が(M)であ
るとき、中継機器の個数が(M−2)に相当する伝播遅
延識別子に決定することを特徴とする請求項3に記載の
装置。
4. The analyzing means analyzes the number of devices connected to a communication medium, and the propagation delay identifier determining means, when the number is (M), the number of relay devices is (M−2). 4. The apparatus according to claim 3, wherein the propagation delay identifier corresponding to (4) is determined.
JP2000129148A 1995-06-14 2000-04-28 Data transmission device, data transmission control device, and data transmission method Expired - Fee Related JP3525861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000129148A JP3525861B2 (en) 1995-06-14 2000-04-28 Data transmission device, data transmission control device, and data transmission method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP14720995A JP3146928B2 (en) 1995-06-14 1995-06-14 Data transmission device and data transmission control device
JP2000129148A JP3525861B2 (en) 1995-06-14 2000-04-28 Data transmission device, data transmission control device, and data transmission method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14720995A Division JP3146928B2 (en) 1995-04-28 1995-06-14 Data transmission device and data transmission control device

Publications (2)

Publication Number Publication Date
JP2000324140A JP2000324140A (en) 2000-11-24
JP3525861B2 true JP3525861B2 (en) 2004-05-10

Family

ID=32472300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000129148A Expired - Fee Related JP3525861B2 (en) 1995-06-14 2000-04-28 Data transmission device, data transmission control device, and data transmission method

Country Status (1)

Country Link
JP (1) JP3525861B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4593991B2 (en) * 2004-07-21 2010-12-08 ルネサスエレクトロニクス株式会社 COMMUNICATION DEVICE AND COMMUNICATION BAND CONTROL METHOD

Also Published As

Publication number Publication date
JP2000324140A (en) 2000-11-24

Similar Documents

Publication Publication Date Title
US20020167953A1 (en) Method of and apparatus for implementing and sending an asynchronous control mechanism packet used to control bridge devices within a network of IEEE Std 1394 serial buses
MXPA02007283A (en) Method for isochronous resource management in a network based on hiperlan 2 technology.
US7187655B1 (en) Information communication method and apparatus
EP1193914A2 (en) Data transmission and reception
JP3146928B2 (en) Data transmission device and data transmission control device
JP3525861B2 (en) Data transmission device, data transmission control device, and data transmission method
JP3156708B1 (en) Data transmission device
JP3156705B1 (en) Data transmission method
JP3156704B1 (en) Data transmission method
JP3156714B1 (en) Data transmission device
JP3156719B1 (en) Data transmission system
JP3156722B1 (en) Data transmission system
JP3156706B1 (en) Data transmission method
JP3156720B1 (en) Data transmission system
JP3156721B1 (en) Data transmission system
JP3156713B1 (en) Data transmission device
JP3156707B1 (en) Data transmission device
JP3156715B1 (en) Data transmission device
JP3156711B1 (en) Data transmission device
JP3156717B1 (en) Data transmission device
JP3156709B1 (en) Data transmission device
JP3156710B1 (en) Data transmission device
JP3156716B1 (en) Data transmission device
JP3156718B1 (en) Data transmission device
JP3156712B1 (en) Data transmission device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040209

LAPS Cancellation because of no payment of annual fees