JP3156708B1 - Data transmission device - Google Patents

Data transmission device

Info

Publication number
JP3156708B1
JP3156708B1 JP2000349363A JP2000349363A JP3156708B1 JP 3156708 B1 JP3156708 B1 JP 3156708B1 JP 2000349363 A JP2000349363 A JP 2000349363A JP 2000349363 A JP2000349363 A JP 2000349363A JP 3156708 B1 JP3156708 B1 JP 3156708B1
Authority
JP
Japan
Prior art keywords
band
transmission
propagation delay
delay identifier
data
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 - Lifetime
Application number
JP2000349363A
Other languages
Japanese (ja)
Other versions
JP2001203721A (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
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2000349363A priority Critical patent/JP3156708B1/en
Application granted granted Critical
Publication of JP3156708B1 publication Critical patent/JP3156708B1/en
Publication of JP2001203721A publication Critical patent/JP2001203721A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

【要約】 【課題】 通信媒体の伝搬遅延を識別子を用いて表すこ
とで、帯域の取得に関わる手続きを簡略化する。 【解決手段】 第2の送信装置614の帯域取得手段6
09は、第1の送信装置606の送信を停止させた後、
第1の送信装置606から読み出した伝搬遅延識別子1
05と最大送信データ量605を用いることによって、
第1の送信装置606が使用していた帯域を求め、この
帯域を使用して送信を開始する。送信装置を切り替える
際に帯域の返却と再取得を伴わないため、必要な手続き
が簡略化される。さらに伝搬遅延識別子を用いることで
帯域の有効利用が可能となる。
A procedure related to acquisition of a band is simplified by expressing a propagation delay of a communication medium using an identifier. SOLUTION: Band acquisition means 6 of a second transmission device 614
09, after stopping the transmission of the first transmitting device 606,
Propagation delay identifier 1 read from first transmitting apparatus 606
05 and the maximum transmission data amount 605,
The band used by the first transmitting apparatus 606 is obtained, and transmission is started using this band. Necessary procedures are simplified because switching between transmission devices does not involve returning and reacquiring a band. Further, by using the propagation delay identifier, the band can be effectively used.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル映像音
声機器間で映像や音声信号を伝送する伝送装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission apparatus 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)。P13
94は映像データや音声データの伝送に必要なリアルタ
イム性の保障が可能なシリアル・バス型の通信媒体であ
る。
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 that is being studied by the IEEE (Ref.
Serial bus P1394 Draft 7.1v1: High
Performance Serial Bus P1394 / Draft 7.1v1). P13
Reference numeral 94 denotes a serial bus type communication medium capable of guaranteeing the real-time property required for transmitting video data and audio data.

【0003】P1394に接続される機器(以下ノード
と称する)は分岐を持つ木構造で接続され、複数の端子
を持つノードは一つの端子から受け取った信号を他の端
子へ出力することで信号を中継する。したがって任意の
ノードが出力したデータが接続された全てのノードに到
達することが保障されている。このため、P1394は
構成的には木構造ではあるものの理論上はバスとして動
作する。しかしP1394では、複数のノードを中継す
ることによってバスを実現しているため、伝送路の長さ
によって決まる伝搬遅延に加えて、中継するノードの数
に依存した伝搬遅延が生じる。またP1394では、唯
一のノードがバスの調停を行うことにより、同時に複数
のノードが送信を行わないことが保障されている。
[0003] Devices (hereinafter referred to as nodes) connected to the P1394 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 data output from any node reaches all connected nodes. For this reason, although P1394 has a tree structure in terms of structure, it theoretically operates as a bus. However, in P1394, since a bus is realized by relaying a plurality of nodes, a propagation delay depending on the number of relay nodes occurs in addition to a propagation delay determined by the length of the transmission path. In P1394, the arbitration of the bus by only one node guarantees that a plurality of nodes do not transmit at the same time.

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

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

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

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

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

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

【0010】[0010]

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

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

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

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

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

【0015】すなわち、伝搬遅延の最大値をもとに帯域
の取得を行うと、通信媒体を効率的に使用することが出
来ないという課題を有していた。
That is, if a 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の帯域決
定手段が帯域決定に用いた伝搬遅延識別子を設定する設
定手段とを有し、前記第2の帯域決定手段は伝搬遅延識
別子とオーバーヘッド帯域の対応表を用いて前記帯域を
決定する送信装置に関する。
In order to solve the above-mentioned problems, the data transmitting apparatus according to the first aspect of the present invention can perform synchronous transfer, and it is necessary to receive a band beforehand when performing transmission by synchronous transfer. A transmission device connected to a certain communication medium and performing transmission, wherein a maximum packet size for synchronous data is obtained from a maximum transmission data amount, and the size of the packet required for transmission of the packet is determined based on this and the data rate of the communication medium. A first band determining unit for determining a band, a second band determining unit for determining an overhead band from a value of a propagation delay identifier, and the band determined by the first band determining unit and the second band determining unit. An adding unit that adds the second band determined by the band determining unit; and a band allocating unit that receives allocation of a band corresponding to the value added by the adding unit. Has said communication device, by enabling reading from another device connected to the communication medium,
Setting means for setting the propagation delay identifier used by the second band determining means for the band determination to the propagation delay identifier holding means capable of knowing the band to be released by another device when the transmission is stopped. The second band determining means relates to a transmitting apparatus that determines the band using a correspondence table between a propagation delay identifier and an overhead band.

【0017】[0017]

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

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

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

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

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

【0022】そこで、図3に示すようにバスの使用権を
管理するノード301からN回の接続で、(N−1)個
の中継ノード302だけ離れた送信ノード303がパケ
ットを出力すると考えた場合、P1394の規格に示さ
れた値を使用して計算すると、パケットの転送以外に使
用する時間Tohは(数1)に示す値となる。
Therefore, as shown in FIG. 3, it is considered that a transmission node 303 which is N (N-1) relay nodes 302 apart from a node 301 that manages the right to use a bus outputs a packet. In this case, when the 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).

【0023】[0023]

【数1】 (Equation 1)

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

【0025】[0025]

【数2】 (Equation 2)

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

【0027】伝搬遅延識別子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 used for the communication medium 108
The overhead band can be uniquely determined based on the value of this identifier. In the initial state, the propagation delay identifier 105 held in the propagation delay identifier holding means 101 is P13
A value corresponding to the overhead band when there are 15 relay nodes in 16 connections, which is the maximum connection form allowed in 94, is set. On the other hand, the maximum transmission data amount 106 held by the maximum transmission data amount holding means 102 is P13
It shows the maximum data amount that can be included in the payload portion, which is the data portion of the synchronous communication packet used in 94. FIG. 4 shows a format of a packet used for transmitting synchronous data. Packets for synchronous data transfer are:
4-byte packet header 40 specified in P1394
1, 4-byte CRC 402 for packet header, 8-byte C used to indicate the type of synchronization data, etc.
It comprises 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 is variable depending on the type of data and the rate required for transmitting the data.

【0028】このパケットには同期データに加えて、パ
ケットのヘッダなどを含めて20バイトのデータが付加
される。このうち最大送信データ量保持手段に保持され
るのはCIPヘッダ403の8バイトと同期データのデ
ータ量を合わせた値である。したがって送信に先立って
取得する必要のある帯域は、最大送信データ量に示され
た値に12バイトを加えた大きさを持つパケットが、送
信に使用するレートで送信される際に必要となる帯域
と、前述のオーバヘッド帯域をあわせた帯域となる。
To this packet, in addition to the synchronization data, 20 bytes of data including the header of the packet and the like are added. Among these, the value stored in the maximum transmission data amount holding means is the sum of 8 bytes of the CIP header 403 and the data amount of the synchronous data. Therefore, the bandwidth required 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. , A band obtained by combining the above-mentioned overhead band.

【0029】一方、図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 configuration of a transmission PCR (plug control register) which is a register for controlling transmission of synchronous data, which is placed in the address space of each node of P1394. PCR is 32 bits
A 1-bit valid flag 501 indicating whether the PCR is usable or not, indicating that transmission controlled by the transmission PCR can be stopped during transmission.
Bit unknown connection counter 50
2. 6-bit connection counter 503 indicating the number of devices that have instructed the PCR, 2-bit unused field 504, channel 505 indicating the channel number used for transmitting 6-bit synchronous data, used for transmission A 2-bit data rate 506 indicating the rate at which data is transmitted, a 4-bit overhead ID 507 corresponding to the propagation delay identifier holding means, and a payload size corresponding to the maximum transmission data amount holding means, expressed in units of 4 bytes. It consists of a payload size 508 of bits.

【0030】送信を制御する送信制御装置は、このレジ
スタへ値を書き込むことにより送信を制御することがで
き、一方このレジスタの値を読み出すことで、その時点
の送信の状態を知ることが出来る。送信装置は、送信用
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 allows the transmission state at that time to be known. The transmission device performs transmission 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. Conversely, when both of them become 0, the output is stopped. Note that the connection counter 5
03 is 0, unowned connection counter 5
Only when 02 is 1, a device other than the device that has instructed the start of transmission can clear the unknown connection counter 502 and stop the transmission.

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

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

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

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

【0035】帯域取得手段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 means for holding the maximum transmission data amount included in the PCR (payload size 50).
The value of 122 which is the maximum transmission data amount is read from 8), and the value is multiplied by 4 to know that the size of the payload is 488 bytes. Further, it can be understood that 500 bytes obtained by adding 12 bytes to the 488 bytes is the size of the packet for synchronous data. Further, based on the value of the data rate 506 included in the PCR, the bandwidth required for packet transmission is determined. Here, when the data rate 506 indicates the transfer at 100 Mbps, this band is set to 200 using the unit of the band used in P1394.
It becomes 0. On the other hand, when the data rate 506 is 200 Mbp
In the case where s is indicated, the value is 1000, which is a half of this value.

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

【0037】[0037]

【表1】 [Table 1]

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

【0039】一方、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 except for the node that has instructed the start of transmission, so that the band used in the stopped transmission is used. Other transmissions can be performed. At this time, the used band can be known from the propagation delay identifier and the maximum transmission data amount included in the PCR.

【0040】図6に、このような送信機の切り替えを行
う際の送信装置の構成を示す。図6において、すでに送
信を行っている第1の送信装置606は、伝搬遅延識別
子604を保持する伝搬遅延識別子保持手段601、最
大送信データ量605を保持する最大送信データ量保持
手段602、通信媒体607との間でパケットの送受信
を行う送受信手段603から構成され、一方の新しく送
信を開始する第2の送信装置614は、通信媒体607
との間でパケットの送受信を行う送受信手段608、帯
域取得手段609、伝搬遅延識別子612を保持する伝
搬遅延識別子保持手段610、最大送信データ量613
を保持する最大送信データ量保持手段611から構成さ
れる。
FIG. 6 shows a configuration of a transmitting apparatus when such a transmitter switching is performed. In FIG. 6, a first transmitting apparatus 606 that has already performed transmission includes 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 includes transmission / reception means 603 for transmitting / receiving a packet to / from the communication medium 607 and newly starting transmission, includes a communication medium 607.
Transmission / reception means 608 for transmitting / receiving packets to / from the terminal, band acquisition means 609, propagation delay identifier holding means 610 for holding propagation delay identifier 612, maximum transmission data amount 613
Is stored in a maximum transmission data amount holding unit 611 for holding the transmission data amount.

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

【0042】なおこの場合、第1の送信装置606のノ
ードIDは、第1の送信装置が送信している図3に示す
構造を持つ同期データ用パケットのCIPヘッダの中に
含まれているので、第2の送信装置614は送信されて
いるデータを一度受信してCIPヘッダを調べること
で、そのデータの送信を行っている第1の送信装置60
6のノードIDを特定することできる。
In this case, since 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 transmitted by the first transmitting device, , The second transmitting device 614 receives the data being transmitted once and checks the CIP header, and thereby the first transmitting device 60 transmitting the data.
6 can be specified.

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

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

【0045】さらに帯域取得手段609は、上記の手順
で求められる譲り受けた帯域と、第2の送信装置614
の伝搬遅延識別子保持手段610に保持された伝搬遅延
識別子612と最大送信データ量保持手段611に保持
された最大送信データ量613から同様にして求める、
使用予定の帯域とを比較し、両者に差がある場合には余
分な帯域を帯域の管理ノードに返却したり、逆に不足す
る帯域を取得する必要がある。
Further, the band acquiring means 609 determines the acquired band obtained in the above procedure and the second transmitting device 614.
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 in the same manner.
It is necessary to compare the band to be used and, if there is a difference between the two, return an extra band to the band management node, or obtain a deficient band.

【0046】ただしこのとき、第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
10 is smaller than the propagation delay identifier 612 held in the second transmission device 614,
12 can be set to the same value as the propagation delay identifier 604 read from the first transmitting device 606. This is because the propagation delay identifier is obtained only by the connection form of the bus, and depending on the calculation method used to calculate the outgoing propagation delay identifier described later, there is a possibility that a different value is written for each node. However, if the nodes are connected to the same bus, the smallest propagation delay identifier among them can be used.

【0047】前述のように伝搬遅延識別子保持手段の初
期値は、バスが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 allowed by the P1394 standard. Therefore, the second transmitting device 614 that has the band has the initial value as the propagation delay identifier 612, while the propagation delay identifier 604 of the first transmitting device 606 has a lower value than the initial value by checking the bus connection form. If a small value has been written, the size of the propagation delay identifier is compared when the band is transferred, and the smaller value can be used to effectively use the bandwidth of the communication medium. Becomes

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

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

【0050】この際に使用する中継ノード数とオーバヘ
ッド帯域の対応としては、例えば(表2)に示す値を使
用することができる。
As the 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.

【0051】[0051]

【表2】 [Table 2]

【0052】表2に示す値は、バスの使用権を管理する
ノードの位置に関わらずに決まる最大値であり、(数
2)に示した式を用いた計算によって求められたもので
ある。なお、バスの使用権を管理するノードのバス上で
の位置を考慮して伝搬遅延を計算することも可能であ
り、この場合、そのバスに存在する最大の中継数は同じ
であっても(表1)に示すオーバヘッド帯域よりも小さ
な値となることもある。またオーバヘッド帯域と4ビッ
トの伝搬遅延識別子のビットパターンとの対応は、(表
1)に示した値を使用する。したがって伝搬遅延識別子
を決定することができる。
The values shown in Table 2 are maximum values determined irrespective of the position of the node that manages the right to use the bus, and are obtained by calculation using the equation shown in (Equation 2). In addition, 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. In this case, even if the maximum number of relays existing on 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.

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

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

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

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

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

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

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

【0060】P1394では、最も離れたノード間での
中継ノード数は15で、16回の接続にしなければなら
ないことが規格に定められている。バスに接続されたノ
ードの数Mが17よりも小さな値であった場合には、ど
のような接続形態をとったとしても、最も離れたノード
間の中継ノード数は(M−2)を越えることはない。し
たがってこのような場合には、接続形態の解析は行わず
に、バスに接続されたノード数で考えられる最大の中継
ノード数である(M−2)を中継ノード数として伝搬遅
延識別子を決定することができる。一方、Mが17より
も大きな値であった場合には、中継ノード数として、P
1394で許された最大の値である15を用いる。この
ようにして求められた伝搬遅延識別子を設定すること
で、バスに接続された機器の数が少ない場合には、通信
媒体の持つ帯域を最大限に利用することはできないが、
複雑な処理を行わずに、伝搬遅延識別子の設定を全く行
わない場合に比べて帯域の有効利用が可能となる。
In P1394, the standard specifies that the number of relay nodes between the farthest nodes is 15, and the connection must be made 16 times. If the number M of nodes connected to the bus is smaller than 17, the number of relay nodes between the farthest nodes exceeds (M−2) regardless of the connection form. Never. Therefore, in such a case, the connection form is not analyzed, and the propagation delay identifier is determined using (M−2), which is the maximum number of relay nodes that can be considered as the number of nodes connected to the bus, as the number of relay nodes. be able to. On the other hand, if M is greater than 17, P
The maximum value 15 allowed in 1394 is used. 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,
Bandwidth can be used more efficiently than when no propagation delay identifier is set without performing complicated processing.

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

【0062】[0062]

【発明の効果】以上のように本願発明においては、同期
転送を行うことができ、同期転送による送信を行う際に
あらかじめ帯域の割り当てを受ける必要がある通信媒体
に接続される送信装置であって、帯域予約を行うことが
できる送信装置が、送信を開始する前に帯域予約を行う
際に伝搬遅延識別子を用いてオーバーヘッドの帯域を算
出することにより、帯域予約の際の余分な帯域の取得を
防ぐことができる。
As described above, according to the present invention, there is provided a transmitting apparatus which can perform synchronous transfer and is connected to a communication medium which needs to be allocated a band in advance when performing transmission by synchronous transfer. The transmission device capable of performing bandwidth reservation calculates an overhead bandwidth using a propagation delay identifier when performing bandwidth reservation before starting transmission, thereby obtaining an extra bandwidth at the time of bandwidth reservation. Can be prevented.

【0063】さらに同じ通信媒体に接続された別の機器
がこの取得された帯域を求め、帯域の解放を行う際に、
送信装置の伝搬遅延識別子保持手段から帯域予約に用い
た伝搬遅延識別子を読み出すことができ、帯域予約の手
続きを簡略化することができる。
Further, when another device connected to the same communication medium obtains the acquired bandwidth and releases the bandwidth,
The propagation delay identifier used for the band reservation can be read from the propagation delay identifier holding unit of the transmitting device, and the procedure for band reservation can be simplified.

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

【図1】本発明の実施例において同期データの送信を行
う送信装置の主要部の構成を示すブロック図
FIG. 1 is a block diagram illustrating 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 shows an example of the present invention in which N connections are performed (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 in P1394 in the embodiment of the present invention.

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

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

【図7】本発明の実施例において伝搬遅延識別子の決定
と設定を行う送信制御装置と、伝搬遅延識別子を設定さ
れる送信装置の主要部分の構成を示すブロック図
FIG. 7 is a block diagram showing a configuration of a transmission control device for determining and setting a propagation delay identifier and a main part of a transmission device for setting a propagation delay identifier in 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 Band 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 Synchronous data 405 Data CRC 501 Valid flag 502 Unowned connection counter 503 Connection counter 504 Unused file Rudo 505 channel number 506 data rate 507 overhead ID 508 payload size 701 analyzer 702 identifier determining means 703 identifier setting means 705 transmission control unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−139934(JP,A) 特開 平8−8913(JP,A) 特開 平8−23584(JP,A) 特開 平8−307453(JP,A) 特表 平9−507628(JP,A) 特表 平11−505988(JP,A) 特表 平11−506879(JP,A) 国際公開96/34477(WO,A1) IEEE TRANSACTIONS ON CONSUMER ELECT RONICS,Vol.41 No.3, AUGUST 1995,KUNZMAN A.J.,”1394 HIGH PERF ORMANCE SERIAL BU S:THE DIGITAL INTE RFACE FOR ATV”,pag es.893−900 (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 - 12/56 INSPEC(DIALOG)──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-4-139934 (JP, A) JP-A-8-8913 (JP, A) JP-A-8-23584 (JP, A) JP-A-8- 307453 (JP, A) Tokuyo 9-507628 (JP, A) Tokuyo 11-505988 (JP, A) Tokuyo 11-506879 (JP, A) International Publication 96/34477 (WO, A1) IEEE TRANSACTIONS ON CONSUMER ELECT RONICS, Vol. 41 No. 3, AUGUST 1995, KUNZMAN A. J. , "1394 HIGH PERF ORMANCE SERIAL BUS: THE DIGITAL INTER FACE FOR ATV", pages. 893-900 (58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/28-12/56 INSPEC (DIALOG)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同期転送を行うことができ、同期転送に
よる送信を行う際にあらかじめ帯域の割り当てを受ける
必要がある通信媒体に接続され、送信を行う送信装置で
あって、 最大送信データ量から同期データ用の最大のパケットの
大きさを求め、これと前記通信媒体のデータレートから
前記パケットの送信に必要な帯域を決定する第1の帯域
決定手段と、 伝搬遅延識別子の値からオーバヘッドの帯域を決定する
第2の帯域決定手段と、 前記第1の帯域決定手段により決定された前記帯域と前
記第2の帯域決定手段により決定された前記第2の帯域
とを加算する加算手段と、 前記加算手段により加算された値に相当する帯域の割り
当てを受ける帯域割り当て手段と、 前記通信装置が有し、通信媒体に接続された他の機器か
ら読みだし可能とすることで、送信を停止する際に他の
機器が解放すべき帯域を知ることができる伝搬遅延識別
子保持手段に前記第2の帯域決定手段が帯域決定に用い
た伝搬遅延識別子を設定する設定手段とを有し、 前記第2の帯域決定手段は伝搬遅延識別子とオーバーヘ
ッド帯域の対応表を用いて前記帯域を決定する送信装
置。
1. A transmitting device which can perform synchronous transfer and is connected to a communication medium which needs to be allocated a band in advance when performing transmission by synchronous transfer, and performs transmission. First bandwidth determination means for determining the size of the largest packet for synchronous data and determining the bandwidth required for transmission of the packet from the data rate of the communication medium, and the overhead bandwidth from the value of the propagation delay identifier A second band determining unit that determines the following: an adding unit that adds the band determined by the first band determining unit and the second band determined by the second band determining unit; Band allocating means for allocating a band corresponding to the value added by the adding means; and the communication device has the band allocating means, and can be read from another device connected to the communication medium. Setting means for setting the propagation delay identifier used for band determination by the second band determination means in a propagation delay identifier holding means capable of knowing a band to be released by another device when transmission is stopped A transmitting apparatus for determining the band using a correspondence table between a propagation delay identifier and an overhead band.
JP2000349363A 1995-06-14 2000-11-16 Data transmission device Expired - Lifetime JP3156708B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000349363A JP3156708B1 (en) 1995-06-14 2000-11-16 Data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000349363A JP3156708B1 (en) 1995-06-14 2000-11-16 Data transmission device

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
JP3156708B1 true JP3156708B1 (en) 2001-04-16
JP2001203721A JP2001203721A (en) 2001-07-27

Family

ID=18822785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000349363A Expired - Lifetime JP3156708B1 (en) 1995-06-14 2000-11-16 Data transmission device

Country Status (1)

Country Link
JP (1) JP3156708B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9093357B2 (en) 2010-01-22 2015-07-28 Sharp Kabushiki Kaisha Light emitting device
US9607970B2 (en) 2009-11-13 2017-03-28 Sharp Kabushiki Kaisha Light-emitting device having a plurality of concentric light transmitting areas

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE TRANSACTIONS ON CONSUMER ELECTRONICS,Vol.41 No.3,AUGUST 1995,KUNZMAN A.J.,"1394 HIGH PERFORMANCE SERIAL BUS:THE DIGITAL INTERFACE FOR ATV",pages.893−900

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9607970B2 (en) 2009-11-13 2017-03-28 Sharp Kabushiki Kaisha Light-emitting device having a plurality of concentric light transmitting areas
US9093357B2 (en) 2010-01-22 2015-07-28 Sharp Kabushiki Kaisha Light emitting device
US9679942B2 (en) 2010-01-22 2017-06-13 Sharp Kabushiki Kaisha Light emitting device
US9966367B2 (en) 2010-01-22 2018-05-08 Sharp Kabushiki Kaisha Light emitting device

Also Published As

Publication number Publication date
JP2001203721A (en) 2001-07-27

Similar Documents

Publication Publication Date Title
CA2152242C (en) Communication system and electronic apparatus
EP1266484B1 (en) Method for isochronous resource management in a network based on hiperlan 2 technology
JP3146928B2 (en) Data transmission device and data transmission control device
JP3156708B1 (en) Data transmission device
JP3291926B2 (en) Electronic device control method
JP3156704B1 (en) Data transmission method
JP3156705B1 (en) Data transmission method
JP3156714B1 (en) Data transmission device
JP3156707B1 (en) Data transmission device
JP3156710B1 (en) Data transmission device
JP3156706B1 (en) Data transmission method
JP3156709B1 (en) Data transmission device
JP3156713B1 (en) Data transmission device
JP3156716B1 (en) Data transmission device
JP3156711B1 (en) Data transmission device
JP3156712B1 (en) Data transmission device
JP3156715B1 (en) Data transmission device
JP3156722B1 (en) Data transmission system
JP3156719B1 (en) Data transmission system
JP3156720B1 (en) Data transmission system
JP3156718B1 (en) Data transmission device
JP3156717B1 (en) Data transmission device
JP3156721B1 (en) Data transmission system
JP3525861B2 (en) Data transmission device, data transmission control device, and data transmission method
JP2000059407A (en) Network management method, information processing method, its system and information distributing medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080209

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130209

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130209

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140209

Year of fee payment: 13

EXPY Cancellation because of completion of term