JP3452001B2 - Bus management method, recording medium for bus control program, and bus management device - Google Patents
Bus management method, recording medium for bus control program, and bus management deviceInfo
- Publication number
- JP3452001B2 JP3452001B2 JP34139199A JP34139199A JP3452001B2 JP 3452001 B2 JP3452001 B2 JP 3452001B2 JP 34139199 A JP34139199 A JP 34139199A JP 34139199 A JP34139199 A JP 34139199A JP 3452001 B2 JP3452001 B2 JP 3452001B2
- Authority
- JP
- Japan
- Prior art keywords
- connection
- bus
- priority
- new
- establishment
- 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
Links
- 238000007726 management method Methods 0.000 title claims description 108
- 238000000034 method Methods 0.000 claims description 57
- 238000004891 communication Methods 0.000 claims description 26
- 230000005540 biological transmission Effects 0.000 claims description 20
- 230000006870 function Effects 0.000 claims description 19
- 230000008569 process Effects 0.000 description 29
- 230000015654 memory Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000004044 response Effects 0.000 description 6
- 230000007704 transition Effects 0.000 description 3
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 description 2
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 description 2
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000003752 polymerase chain reaction Methods 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、IEEE(電気電
子技術者協会)1394規格の仕様に準拠するバスを用
いた通信ネットワーク上で、データを転送するためのコ
ネクション確立を管理するバス管理方法及びその記録媒
体及びバス管理機器に係り、特に、リアルタイムデータ
の転送を行う際に確立するコネクションを、そのコネク
ションの優先度に基づいて確立または拒否するバス管理
方法、該バス制御プログラムの記録媒体及びバス管理機
器に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus management method for managing connection establishment for transferring data on a communication network using a bus conforming to the specification of IEEE (Institute of Electrical and Electronics Engineers) 1394 standard. A recording medium and a bus management device, and in particular, a bus management method for establishing or rejecting a connection established when transferring real-time data based on the priority of the connection, a recording medium of the bus control program, and a bus. Regarding management equipment.
【0002】[0002]
【従来の技術】S100(毎秒100メガビット)、S
200(毎秒200メガビット)、S400(毎秒40
0メガビット)という高速転送能力を有する高性能シリ
アルバス規格であるIEEE1394規格(以下、13
94規格と記述する)は、低遅延特性は保証されないが
転送の成否が確認可能なアシンクロナス転送モードに加
え、転送帯域を保証するアイソクロナス転送モードをサ
ポートしているため、動画などのマルチメディア情報用
インタフェースとして注目を集めている。従って、今後
急速に普及すると考えられているデジタル放送用受信端
末やデジタル映像の記録装置などにも標準搭載されると
期待されている。2. Description of the Related Art S100 (100 megabits per second), S
200 (200 Mbit / s), S400 (40 / s)
IEEE 1394 standard (hereinafter referred to as 13) which is a high-performance serial bus standard having a high-speed transfer capability of 0 Mbit.
94 standard) does not guarantee low-delay characteristics, but supports the asynchronous transfer mode that guarantees the transfer band in addition to the asynchronous transfer mode that can confirm the success or failure of the transfer. It is attracting attention as an interface. Therefore, it is expected to be standardly installed in digital broadcast receiving terminals, digital video recording devices, etc., which are expected to spread rapidly in the future.
【0003】上述のアイソクロナス転送モードで転送さ
れるアイソクロナス・ストリーム・パケット(以下、ス
トリームパケットと称する)は、ヘッダに記載されるチ
ャンネル番号で識別されるパケットである。また、アイ
ソクロナス転送モードにおいて、ストリーム・パケット
は連続して転送されるパケットであり、このストリーム
パケットの流れはストリームと呼ばれる。そして、この
アイソクロナス転送モードでは、送信ノードとストリー
ムとの対応付けと、受信ノードとストリームとの対応付
けとの双方を組み合わせることにより送信ノードと受信
ノードとの間にコネクションを確立するコネクション指
向型のデータ転送が行われる。なお、このコネクション
は、ひとつの送信ノードとひとつの受信ノードとの間で
確立される1対1コネクションでもよいし、複数の受信
ノードとの間で確立される1対Nコネクションでもよ
い。An isochronous stream packet (hereinafter referred to as a stream packet) transferred in the isochronous transfer mode described above is a packet identified by a channel number described in a header. In the isochronous transfer mode, stream packets are packets that are continuously transferred, and the stream of the stream packets is called a stream. In this isochronous transfer mode, a connection-oriented type that establishes a connection between the transmission node and the reception node by combining both the correspondence between the transmission node and the stream and the correspondence between the reception node and the stream. Data transfer is performed. This connection may be a one-to-one connection established between one transmitting node and one receiving node, or a one-to-N connection established between a plurality of receiving nodes.
【0004】上記ノード間でコネクションを確立あるい
は解放する方法は、1394規格には規定されておら
ず、1394バスを利用するアプリケーションに依存し
て定められるが、一般的には、ストリーム転送に必要と
されるバス資源を獲得する処理と、送信機器の送信設定
を行う処理、さらに受信機器の受信設定を行う処理を実
行することによりコネクションが確立される。The method for establishing or releasing the connection between the above nodes is not defined in the 1394 standard and is defined depending on the application using the 1394 bus. Generally, it is necessary for stream transfer. The connection is established by executing the process of acquiring the bus resource, the process of setting the transmission of the transmitting device, and the process of setting the reception of the receiving device.
【0005】以下、IEC61883規格を例に挙げコ
ネクション確立の手順に付いて簡単に説明する。IEC
61883規格では、放送型コネクションであるbro
adcastコネクションと、2つのAV機器間に確立
されるpoint−to−pointコネクションとの
2種類が規定されている。さらに、これらのコネクショ
ンを管理する方法として、CMP(Connection Managem
ent Procedures)が規定されている。The procedure for establishing a connection will be briefly described below by taking the IEC61883 standard as an example. IEC
According to the 61883 standard, bro, which is a broadcast type connection, is used.
Two types are defined: an adcast connection and a point-to-point connection established between two AV devices. Furthermore, as a method of managing these connections, CMP (Connection Managem
ent Procedures) are specified.
【0006】CMPでは、コネクションを確立する「e
stablishing」と、既にコネクションが確立
している機器に対して新たなコネクションを追加する
「overlaying」、確立されたコネクションを
解放する「breaking」の手順が規定されてい
る。以下、point−to−pointコネクション
の「establishing」の手順、即ち、ひとつ
の送信ノードとひとつの受信ノードとの間でコネクショ
ンを確立する手順について図17を用いて説明する。In CMP, "e" for establishing a connection
The procedures of "stabilizing", "overlaying" for adding a new connection to a device to which a connection has already been established, and "breaking" for releasing the established connection are defined. Hereinafter, a procedure of "establishing" of the point-to-point connection, that is, a procedure of establishing a connection between one transmitting node and one receiving node will be described with reference to FIG.
【0007】まず、ステップSD1においてバス資源が
獲得される。このバス資源とはストリームの転送に必要
となるバス帯域と、チャンネル番号とからなり、これら
バス資源はそれぞれIRM(アイソクロナス・リソース
・マネージャ)によって管理されている。このバス資源
をIRMから獲得するのはどのノードでもよい。即ち、
送信ノードあるいは受信ノードが獲得しても良いし、コ
ネクションを制御する機能を備えた第三者的なノードが
獲得しても良い。First, in step SD1, bus resources are acquired. The bus resources consist of a bus band required for stream transfer and a channel number, and these bus resources are managed by an IRM (isochronous resource manager). Any node may acquire this bus resource from the IRM. That is,
It may be acquired by the transmitting node or the receiving node, or may be acquired by a third-party node having a function of controlling the connection.
【0008】ストリームの転送に必要なバス資源の獲得
が成功すると、獲得したチャンネル番号・帯域、送信速
度などの情報を送信機器が有するレジスタ(oPCR)
と受信機器が有するレジスタ(iPCR)に書き込む
(ステップSD3〜SD4)。また、対応する上記レジ
スタが確立しているpoint−to−pointコネ
クションの数を示すカウンタの値も0から1に設定する
(ステップSD5)。これらの、oPCRおよびiPC
Rの変更がともに成功した時点で(ステップSD7)、
コネクション確立手順は終了する。一方、少なくとも一
方のPCR(oPCRあるいはiPCR)の変更が失敗
したら、ステップSD8〜ステップSD9に示される処
理を経て手順が終了する。When the bus resources necessary for stream transfer are successfully acquired, the register (oPCR) in which the transmitting device has information such as the acquired channel number / band and transmission speed.
And in the register (iPCR) of the receiving device (steps SD3 to SD4). The value of the counter indicating the number of point-to-point connections established by the corresponding register is also set from 0 to 1 (step SD5). These oPCR and iPC
When both changes in R succeed (step SD7),
The connection establishment procedure ends. On the other hand, if the change of at least one of the PCRs (oPCR or iPCR) fails, the procedure ends after the processing shown in steps SD8 to SD9.
【0009】[0009]
【発明が解決しようとする課題】前述の通り、1394
バス上を転送されるストリームを介して機器間にコネク
ションを確立し機器間の通信を行う場合には、バス資源
の獲得及び送受信機器の設定を行う必要がある。もとも
とこれらのバス資源や送受信機が有するレジスタの容量
は有限であるため、そのバス資源等の上限を超えたデー
タ転送のニーズがあった場合には、所望の通信が不可能
となってしまう。As described above, 1394
When establishing a connection between devices via a stream transferred on a bus and performing communication between devices, it is necessary to acquire bus resources and set up a transmitting / receiving device. Since the bus resources and the register capacity of the transceiver are originally limited, desired communication becomes impossible when there is a need for data transfer exceeding the upper limit of the bus resources.
【0010】従って、他に優先して行われるべき通信で
あっても、必要なバス資源が獲得できなかった場合や、
あるいは送受信機器の送信・受信設定のためのレジスタ
が既に他の用途に使用中であるために設定不可能であっ
た場合には、通信が行えないという問題があった。Therefore, even if communication that should be preferentially performed is not possible, if necessary bus resources cannot be acquired, or
Alternatively, there is a problem that communication cannot be performed when the register for transmitting / receiving setting of the transmitting / receiving device cannot be set because it is already used for another purpose.
【0011】本発明はこのような事情に鑑みてなされた
もので、1394バスにおいてコネクション型の通信を
行う場合、他のコネクション型通信に優先して確実に行
いたいとユーザが考える通信を確実に行うバス管理方
法、該バス制御プログラムの記録媒体及びバス管理機器
を提供することを目的とする。The present invention has been made in view of the above circumstances, and when connection-oriented communication is performed on the 1394 bus, it is ensured that the user thinks that the user wants to surely give priority to other connection-oriented communication. An object is to provide a bus management method to be performed, a recording medium of the bus control program, and a bus management device.
【0012】[0012]
【課題を解決するための手段】上記の課題を解決するた
めに、この発明は、1つまたは複数の高速シリアルバス
で構成されるネットワーク上でストリームを介したコネ
クション型の通信を管理するとともに、新規コネクショ
ンの確立要求がなされた場合に、現時点における残存の
コネクション資源と、該新規コネクション確立にさらに
必要とされるコネクション資源と、既存コネクションの
優先度と、該新規コネクションの優先度とに基づいて該
新規コネクションの確立を有効あるいは無効とするバス
管理方法であって、前記既存コネクションと前記新規コ
ネクションにおいて、各々のコネクション確立時間帯の
一部あるいは全部が重複している場合には、重複してい
る時間帯においては、前記既存コネクションと前記新規
コネクションのうち優先度が高いコネクションにおいて
そのコネクションの確立を有効とし、重複していない時
間帯においては、双方のコネクションの確立を有効とす
ることを特徴とするバス管理方法を提供する。また、請
求項2に記載の発明は、1つまたは複数の高速シリアル
バスで構成されるネットワーク上でストリームを介した
コネクション型の通信を管理するとともに、新規コネク
ションの確立要求がなされた場合に、現時点における残
存のコネクション資源と、該新規コネクション確立にさ
らに必要とされるコネクション資源と、既存コネクショ
ンの優先度と、該新規コネクションの優先度とに基づい
て該新規コネクションの確立を有効或いは無効にするか
を判断するバス管理方法であって、新規コネクションの
確立要求の結果、新規あるいは既存のコレクションのう
ちいずれかのコネクション確立を無効にすることとなっ
た場合に、無効にされると判断されたコネクションを該
新規コネクションの要求者に提示し、該コネクション確
立の取り消し実行の可否を該要求者に決定させることを
特徴とするバス管理方法を提供する。また、請求項3に
記載の発明は、1つまたは複数の高速シリアルバスで構
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効あるいは無効とするバス管理
方法であって、前記新規コネクションの確立要求は、前
記ストリームの送信が開始される時点を指定することに
より予約されたコネクションの確立要求も含み、一方、
前記既存コネクションは、該新規コネクションの要求よ
りも以前の時点で確立、あるいは予約されたコネクショ
ンであり、前記予約されたコネクションに対応するスト
リームの送信が開始される時点から所定時間前には、該
コネクションは既に確立されていることを特徴とするバ
ス管理方法を提供する。また、請求項4に記載の発明
は、1つまたは複数の高速シリアルバスで構成されるネ
ットワーク上でストリームを介したコネクション型の通
信を管理するとともに、新規コネクションの確立要求が
なされた場合に、現時点における残存のコネクション資
源と、該新規コネクション確立にさらに必要とされるコ
ネクション資源と、既存コネクションの優先度と、該新
規コネクションの優先度とに基づいて該新規コネクショ
ンの確立を有効あるいは無効とするバス管理方法であっ
て、前記新規コネクションの確立要求は、前記ストリー
ムの送信が開始される時点を指定することにより予約さ
れたコネクションの確立要求も含み、前記コネクション
の確立要求が予約された時点から、該コネクションが確
立されるまでに、該新規コネクションに必要とされる前
記コネクション資源が獲得可能であることが検出された
場合、直ちに該コネクション資源を獲得することを特徴
とするバス管理方法を提供する。また、請求項5に記載
の発明は、1つまたは複数の高速シリアルバスで構成さ
れるネットワーク上でストリームを介したコネクション
型の通信を管理するとともに、新規コネクションの確立
要求がなされた場合に、現時点における残存のコネクシ
ョン資源と、該新規コネクション確立にさらに必要とさ
れるコネクション資源と、既存コネクションの優先度
と、該新規コネクションの優先度とに基づいて該新規コ
ネクションの確立を有効あるいは無効とするバス管理方
法であって、前記コネクションの優先度は、前記コネク
ションの確立要求を行った要求者に応じて設定されるこ
とを特徴とするバス管理方法を提供する。また、請求項
6に記載の発明は、1つまたは複数の高速シリアルバス
で構成されるネットワーク上でストリームを介したコネ
クション型の通信を管理するとともに、新規コネクショ
ンの確立要求がなされた場合に、現時点における残存の
コネクション資源と、該新規コネクション確立にさらに
必要とされるコネクション資源と、既存コネクションの
優先度と、該新規コネクションの優先度とに基づいて該
新規コネクションの確立を有効あるいは無効とするバス
管理方法であって、前記コネクションの優先度は、前記
コネクションにより対応づけられる前記送信機器と前記
受信機器とが各々備える機能の組み合わせに応じて設定
されることを特徴とするバス管理方法を提供する。ま
た、請求項7に記載の発明は、バスの起動後、且つ、請
求項1〜6に記載されるコネクションの確立要求を受け
付ける以前の時間帯において、当該ネットワーク上の所
定の機器が、前記バス帯域の一部あるいは全てを獲得す
ることを特徴とするバス管理方法を提供する。また、請
求項8に記載の発明は、バスの起動後、且つ、請求項1
〜6に記載されるコネクションの確立要求を受け付ける
以前の時間帯において、当該ネットワーク上の所定の機
器が、前記バス帯域の一部あるいは全てと、ブロードキ
ャスト用のチャンネル番号資源とを獲得することを特徴
とするバス管理方法を提供する。また、請求項9に記載
の発明は、請求項8に記載のバス管理方法において、前
記ブロードキャスト用のチャンネル番号資源は、チャン
ネル番号63番であることを特徴とする。また、請求項
10に記載の発明は、請求項1〜9のいずれかの項に記
載のバス管理方法において、前記高速シリアルバスはI
EEE1394規格に準拠したシリアルバスであること
を特徴とする。また、請求項11に記載の発明は、請求
項1〜10のいずれかの項に記載されたバス管理方法の
各手順をコンピュータに実行させることを特徴とするバ
ス制御プログラムを記録した記録媒体を提供する。ま
た、請求項12に記載の発明は、1つまたは複数の高速
シリアルバスで構成されるネットワーク上でストリーム
を介したコネクション型の通信を管理するバス管理機器
において、新規コネクションの確立要求を判断する判断
部と、コネクション資源の使用状況と優先度とを記録す
る記録手段と、前記判断部により新規コネクションの確
立要求の存在が判断された時点で前記記録手段を参照し
て、前記時点における残存のコネクション資源と、新規
コネクション確立にさらに必要なコネクション資源と、
既存コネクションの優先度と、新規コネクションの優先
度とに基づいて前記新規コネクションの確立を有効また
は無効とする制御部とを有することを特徴とするバス管
理機器を提供する。また、請求項13に記載の発明は、
請求項12に記載のバス管理機器において、前記コネク
ションの優先度は、前記コネクションにより対応づけら
れる前記送信機器と前記受信機器とが各々備える機能の
組み合わせに応じて設定されることを特徴とする。ま
た、請求項14に記載の発明は、請求項12又は請求項
13に記載のバス管理機器において、前記高速シリアル
バスはIEEE1394規格に準拠したシリアルバスで
あることを特徴とする。In order to solve the above problems, the present invention manages connection-type communication via a stream on a network composed of one or more high-speed serial buses, and When a request for establishing a new connection is made, based on the remaining connection resources at the present time, the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. A bus management method for validating or invalidating the establishment of the new connection, wherein when the existing connection and the new connection partially or entirely overlap each connection establishment time zone, the bus is duplicated. The existing connection and the new connection are Priority is enabled to establish the connection at high connection, in non-overlapping time periods, provides bus management method characterized by the effective establishment of both connections. The invention according to claim 2 manages connection-type communication via a stream on a network configured by one or more high-speed serial buses, and when a request for establishing a new connection is made, Validate or invalidate the establishment of the new connection based on the remaining connection resources at the present time, the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. It is a bus management method that determines whether or not to invalidate the connection establishment of either a new or existing collection as a result of a request to establish a new connection. Presents the connection to the requester of the new connection and establishes the connection. Whether to execute to provide a bus management method for causing determined the requester. The invention according to claim 3 manages connection-type communication via a stream on a network configured by one or more high-speed serial buses, and when a request for establishing a new connection is made, Validate or invalidate the establishment of the new connection based on the remaining connection resources at the present time, the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. In the bus management method, the request for establishing a new connection also includes a request for establishing a reserved connection by designating a time point at which the transmission of the stream is started,
The existing connection is a connection established or reserved at a time earlier than the request for the new connection, and at a predetermined time before the start of the transmission of the stream corresponding to the reserved connection, A bus management method is provided, characterized in that the connection is already established. Further, the invention according to claim 4 manages connection-type communication via a stream on a network configured by one or a plurality of high-speed serial buses, and when a request for establishing a new connection is made, Validate or invalidate the establishment of the new connection based on the remaining connection resources at the present time, the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. A bus management method, wherein the new connection establishment request includes a connection establishment request reserved by designating a time point at which the transmission of the stream is started, and from the time point when the connection establishment request is reserved. , Required for the new connection before the connection is established If the connection resource being is detected to be obtainable, provides bus management method characterized by immediately acquire the connection resource. The invention according to claim 5 manages connection-type communication via a stream on a network composed of one or more high-speed serial buses, and when a request for establishing a new connection is made, Validate or invalidate the establishment of the new connection based on the remaining connection resources at the present time, the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. A bus management method, wherein the priority of the connection is set according to a requester who has issued a request to establish the connection. The invention according to claim 6 manages connection-type communication via a stream on a network configured by one or more high-speed serial buses, and when a request for establishing a new connection is made, Validate or invalidate the establishment of the new connection based on the remaining connection resources at the present time, the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. A bus management method, wherein the priority of the connection is set according to a combination of functions of the transmission device and the reception device, which are associated with each other by the connection. To do. Further, in the invention described in claim 7, in a time period after the bus is activated and before the connection establishment request described in claims 1 to 6 is received, a predetermined device on the network is Provided is a bus management method characterized by acquiring a part or all of a band. Further, the invention according to claim 8 is after the bus is activated, and
6 to 6, a predetermined device on the network acquires a part or all of the bus band and a channel number resource for broadcasting in a time period before receiving the connection establishment request. The bus management method is provided. Further, the invention according to claim 9 is the bus management method according to claim 8, wherein the channel number resource for broadcasting is a channel number 63. According to a tenth aspect of the invention, in the bus management method according to any one of the first to ninth aspects, the high-speed serial bus is I
The serial bus conforms to the EEE1394 standard. According to an eleventh aspect of the invention, there is provided a recording medium having a bus control program recorded thereon, which causes a computer to execute each procedure of the bus management method according to any one of the first to tenth aspects. provide. Further, the invention according to claim 12 determines a request for establishing a new connection in a bus management device that manages connection-type communication via a stream on a network configured by one or more high-speed serial buses. A judgment unit, a recording unit for recording the use status and priority of the connection resource, and a recording unit for referring to the recording unit at the time when the existence of a request for establishing a new connection is judged by the judgment unit. Connection resources and the connection resources needed to establish a new connection,
There is provided a bus management device having a control unit for validating or invalidating the establishment of the new connection based on the priority of the existing connection and the priority of the new connection. Further, the invention according to claim 13 is
13. The bus management device according to claim 12, wherein the priority of the connection is set according to a combination of functions of the transmission device and the reception device, which are associated with each other by the connection. The invention described in claim 14 is the bus management device according to claim 12 or claim 13, wherein the high-speed serial bus is a serial bus compliant with the IEEE 1394 standard.
【0013】[0013]
【0014】[0014]
【0015】[0015]
【0016】[0016]
【0017】[0017]
【0018】[0018]
【0019】[0019]
【0020】[0020]
【0021】[0021]
【0022】[0022]
【0023】[0023]
【0024】[0024]
【0025】[0025]
【0026】[0026]
【0027】[0027]
【0028】[0028]
【0029】[0029]
【0030】[0030]
【発明の実施の形態】以下、本発明の一実施形態につい
て図面を参照し説明する。図2は、本発明の第1の実施
形態における1394ネットワークの構成を示すブロッ
ク図である。符号10aは組み込み機器であるAVコン
トローラであり、20a〜20fはそれぞれAV機器で
ある。そして、本ネットワークは、1394バス30a
に1台のAVコントローラ10aと、6台のAV機器2
0a〜20fが接続され構成されている。なお、上述の
AV機器20a〜20fは、全てIEC61883規格
に準拠した機器とする。DETAILED DESCRIPTION OF THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing the configuration of the 1394 network according to the first embodiment of this invention. Reference numeral 10a is an AV controller that is an embedded device, and 20a to 20f are AV devices. And this network is based on the 1394 bus 30a.
1 AV controller 10a and 6 AV devices 2
0a to 20f are connected and configured. The AV devices 20a to 20f described above are all devices conforming to the IEC61883 standard.
【0031】次に、図2に示すようなネットワークにお
いて、通信を開始する際に行われるコネクションの確立
について図3を参照して説明する。図3は、コネクショ
ンが確立されるまでの処理状態を示した状態遷移図であ
り、全ての処理はAVコントローラ10aに実装される
ソフトウェアによって実行される。Next, in the network as shown in FIG. 2, the establishment of the connection performed when starting the communication will be described with reference to FIG. FIG. 3 is a state transition diagram showing the processing state until the connection is established, and all the processing is executed by the software installed in the AV controller 10a.
【0032】まず、AVコントローラ10aが起動され
ると、図3のステータスS1において、AVコントロー
ラ10aは、バス初期化及びツリー識別、自己識別を行
う。これらの処理が行われた結果、AV機器20a〜2
0fが有する各ノードにそれぞれフィジカルID(Ph
y_ID)が割り当てられる。図2において、AV機器
20a〜20fにそれぞれ記載されているPhy_ID
は、各機器に割り当てられたフィジカルIDを示してい
る。また、フィジカルIDの値は、例えば接続されるノ
ードがN台(Nは自然数)とすると、各ノードそれぞれ
に0以上N未満の整数値が欠落なく割り当てられる。First, when the AV controller 10a is activated, the AV controller 10a performs bus initialization, tree identification, and self identification in status S1 of FIG. As a result of these processes, the AV devices 20a-2
Physical ID (Ph
y_ID) is assigned. In FIG. 2, Phy_ID described in each of the AV devices 20a to 20f
Indicates the physical ID assigned to each device. Further, for example, if the number of connected nodes is N (N is a natural number), an integer value of 0 or more and less than N is assigned to each node without omission.
【0033】なお、図2に記載される全ての機器は、1
394バス上でストリームを転送するのに必要とされる
バス資源、即ち、チャンネル番号とバス帯域とを管理す
るアイソクロナス・リソース・マネージャ(以下、IR
Mと称する)として動作する能力と、サイクルの開始を
示すサイクル・スタート・パケットを送信するサイクル
・マスタとして動作する能力との双方を有している。こ
のため図2に示した本実施形態における1394ネット
ワークにおいては、フィジカルIDの値が最も大きいA
V機器である機器20fがIRM及びサイクルマスタと
して動作する。All the equipment shown in FIG.
An isochronous resource manager (hereinafter, IR) that manages bus resources required to transfer a stream on the 394 bus, that is, channel numbers and bus bandwidths.
(Also referred to as M) and the ability to operate as a cycle master that sends a cycle start packet indicating the start of a cycle. Therefore, in the 1394 network according to this embodiment shown in FIG. 2, the physical ID value A is the largest.
The device 20f, which is a V device, operates as an IRM and a cycle master.
【0034】次に、ステータスS1においてバス構成が
完了すると、ステータスS2に移行する。ステータスS
2では、AVコントローラ10aがバス資源をIRMか
ら確保する処理を行う。具体的には、AVコントローラ
10aはステータスS2の時点で残存している全てのバ
ス帯域と、チャンネル番号63番とをIRMから獲得す
べく動作する。Next, when the bus configuration is completed in the status S1, the status shifts to the status S2. Status S
In 2, the AV controller 10a performs a process of securing bus resources from the IRM. Specifically, the AV controller 10a operates to acquire from the IRM all the bus bands remaining at the time of the status S2 and the channel number 63.
【0035】なお、獲得されたこれらの資源は、上述の
バス資源を確保した機器のみが、自ら確保した資源を解
放できることが1394規格では規定されている。例え
ば、AVコントローラ10a以外の機器が確保している
バス資源は、AVコントローラ10aにとっては制御外
の帯域となる。It should be noted that the 1394 standard stipulates that only the devices that have secured the bus resources described above can release the resources that they have acquired from these acquired resources. For example, a bus resource secured by a device other than the AV controller 10a becomes a band outside the control of the AV controller 10a.
【0036】また、AVコントローラ10aが確保しよ
うとするチャンネル番号63番は、IEC61883規
格に準拠した機器が、ブロードキャスト・コネクション
によりデータ転送を行う際に広く用いるチャンネル番号
である。例えば、IEC61883規格に準拠したデジ
タル・カムコーダ機器等においては、カメラモードで使
用する場合や、ビデオモードで再生ボタンを押した場合
に、自発的にバス資源、即ちバス帯域及びチャンネル番
号とを確保してデータ送信を開始するものがある。そし
て、このような場合には必ずチャンネル番号として63
番が確保される。即ち、チャンネル番号63番が獲得で
きないような状況にあれば、上述のようなコントローラ
10aの制御下にない自発的なデータ転送を回避するこ
とが可能となる。したがって、AVコントローラ10a
は予めチャンネル番号63番を獲得しておけば、みずか
らの制御下に無いデータ転送を回避することが可能とな
る。The channel number 63, which the AV controller 10a tries to secure, is a channel number that is widely used by devices conforming to the IEC61883 standard when transferring data by a broadcast connection. For example, in a digital camcorder device conforming to the IEC61883 standard, when the camera mode is used or when the play button is pressed in the video mode, the bus resource, that is, the bus band and the channel number is voluntarily secured. There are some that start data transmission. In such a case, the channel number must be 63
The number is secured. That is, if the channel number 63 cannot be acquired, it is possible to avoid the above-mentioned spontaneous data transfer that is not under the control of the controller 10a. Therefore, the AV controller 10a
By acquiring the channel number 63 in advance, it becomes possible to avoid data transfer that is not under the control of the user.
【0037】なお、デジタル映像系のデータ転送の場合
は、バス資源が逼迫するのは帯域資源であり、チャンネ
ル番号は帯域資源に比べそれほど逼迫しない。上述した
理由から、本実施形態においてAVコントローラ10a
は、できるだけ多くのバス資源をみずからの制御下にお
くために、現時点で残存している全ての帯域資源および
ブロードキャスト・コネクションによりデータ転送を行
う際に一般的に用いられるチャンネル番号63番を確保
するべく動作する。以下、バス資源を獲得する手順につ
いて説明する。In the case of digital image data transfer, the bus resource is tight in the band resource, and the channel number is not so tight as compared with the band resource. For the above-mentioned reason, in the present embodiment, the AV controller 10a
In order to keep as many bus resources as possible under its own control, secures channel number 63, which is generally used when transferring data with all remaining bandwidth resources and broadcast connections. It works as expected. The procedure for acquiring bus resources will be described below.
【0038】まず、IRMは2つのレジスタ、CHAN
NELS_AVAILABLEレジスタ及びBANDW
IDTH_AVAILABLEレジスタを有しており、
1394シリアルバス30aにおけるチャンネル番号資
源の残存量をCHANNELS_AVAILABLEレ
ジスタに、1394シリアルバス30aにおける帯域資
源の残存量をBANDWIDTH_AVAILABLE
レジスタにそれぞれ格納している。First, IRM consists of two registers, CHAN.
NELS_AVAILABLE register and BANDW
It has an IDTH_AVAILABLE register,
The remaining amount of channel number resources on the 1394 serial bus 30a is stored in the CHANNELS_AVAILABLE register, and the remaining amount of band resources on the 1394 serial bus 30a is stored in BANDWIDTH_AVAILABLE.
Stored in registers respectively.
【0039】新たなバス資源の獲得を必要とする機器
は、IRMが有する上述のレジスタに対してロック・ト
ランザクションによりコンペア・スワップを実行するこ
とで新たなバス資源を獲得する。このロック・トランザ
クションとは、対象となるレジスタのアドレスとarg
_value、data_valueとが格納されたロ
ック・リクエスト・パケットが要求ノードから応答ノー
ドに転送される手順と、old_valueが格納され
たロック・レスポンス・パケットが応答ノードから要求
ノードに転送される手順とから成る処理である。コンペ
ア・スワップの場合、ロック・リクエスト・パケットを
受信した応答ノードは、対象となるレジスタの現在の値
と、arg_valueの値とが等しいかどうかを調べ
る。これらの値が等しい場合には、レジスタの値をda
ta_valueの値に置き換え、且つ、このdata
_valueの値をold_valueとしたロック・
レスポンス・パケットを送信する。一方、対象となるレ
ジスタの現在の値とarg_valueの値とが等しく
ない場合には、レジスタの値は変更せず、現在のレジス
タの値をold_valueとしたロック・レスポンス
・パケットを送信する。要求ノードは、受信したロック
・レスポンス・パケットのold_valueの値と、
自らが送信したロック・リクエスト・パケットのdat
a_valueの値とを比較することにより、ロック・
トランザクションが成功したか否かを知ることができ
る。A device that needs to acquire a new bus resource acquires a new bus resource by executing a compare swap on the above-mentioned register of the IRM by a lock transaction. This lock transaction is the address and arg of the target register.
_Value and data_value are stored in the lock request packet transferred from the request node to the response node, and a lock response packet stored in old_value is transferred from the response node to the request node Processing. In the case of compare swap, the responding node receiving the lock request packet checks whether the current value of the target register and the value of arg_value are equal. If these values are equal, set the register value to da.
Replaced with the value of ta_value, and this data
Lock with the value of _value as old_value
Send a response packet. On the other hand, if the current value of the target register and the value of arg_value are not equal, the value of the register is not changed and a lock response packet in which the current value of the register is old_value is transmitted. The requesting node uses the old_value value of the received lock response packet,
Dat of lock request packet sent by itself
By comparing with the value of a_value, the lock
You can know whether the transaction was successful.
【0040】従って本実施形態においては、ステートS
2においてAVコントローラ10aは、ロック・トラン
ザクションをIRM、即ちAV機器20fに対して実行
することによりバス資源を獲得する。以下、本実施形態
のステータスS2においてAVコントローラ10aがバ
ス資源を獲得する手順について具体的に説明する。Therefore, in this embodiment, the state S
In 2, the AV controller 10a acquires the bus resource by executing the lock transaction to the IRM, that is, the AV device 20f. The procedure of the AV controller 10a acquiring bus resources in the status S2 of the present embodiment will be specifically described below.
【0041】まず、AVコントローラ10aは現在残存
する全ての帯域資源を獲得すべく、arg_value
に現在残存しているバス帯域の値を記載し、また、da
ta_valueには、現在残存しているバス帯域の値
から必要なバス帯域の値を差し引いた残りのバス帯域の
値、即ち「0」を記載したロック・リクエスト・パケッ
トをIRMであるAV機器20fに対して送信する。First, the AV controller 10a acquires arg_value in order to acquire all the remaining bandwidth resources.
The value of the currently remaining bus bandwidth is described in, and da
In ta_value, a lock request packet in which a value of the remaining bus band obtained by subtracting the value of the required bus band from the value of the currently remaining bus band, that is, “0” is written to the AV device 20f which is the IRM. To send.
【0042】IRMは、BANDWIDTH_AVAI
LABLEレジスタに記載されている値が、ロックリク
エストパケットのarg_valueに等しかった場合
に、このレジスタに格納されている値をロック・リクエ
スト・パケットに記載されているdata_value
の値、即ち「0」に置き換える。このような手順を実施
することにより、AVコントローラ10aは、現存して
いる全てのバス帯域を獲得する。更に、同様の手順をC
HANNNELS_AVAILABLEレジスタに対し
て実施することによりチャンネル番号63番も獲得す
る。IRM is BANDWIDTH_AVAI
When the value written in the LABEL register is equal to the arg_value of the lock request packet, the value stored in this register is set to the data_value written in the lock request packet.
Value, that is, "0". By carrying out such a procedure, the AV controller 10a acquires all the existing bus bands. In addition, the same procedure is followed by C
The channel number 63 is also acquired by executing the HANNNELS_AVAILABLE register.
【0043】ステータスS2においてバス資源を獲得す
るとステータスS3に移行し、AVコントローラ10a
はネットワーク上に接続されたAV機器20a〜20f
についての機器情報リストを作成する。具体的には、バ
ス上に接続されているAV機器20a〜20fから、そ
のAV機器が備える機能を示す機器情報を収集し、収集
した機器情報を元にリストを作成する。以下、AV機器
20a〜20fから機器情報を収集する処理について、
図4を参照し説明する。When the bus resource is acquired in the status S2, the status shifts to the status S3, and the AV controller 10a
Is AV equipment 20a-20f connected on the network
Create a device information list for. Specifically, the device information indicating the function of the AV device is collected from the AV devices 20a to 20f connected on the bus, and a list is created based on the collected device information. Hereinafter, regarding the processing of collecting device information from the AV devices 20a to 20f,
This will be described with reference to FIG.
【0044】先ず、ステップSB1において、セルフI
Dプロセス時にバス上の各ノードから送信されるセルフ
IDパケット(self-IDパケット)をAVコントローラ
10a内のメモリ(RAM)に記憶する。各AV機器か
ら送信されるセルフIDパケットには、各ノードに割り
当てられたフィジカルIDが記載されている。このた
め、セルフIDパケットを受信することにより、AVコ
ントローラ10aは1394バス上で使用されているフ
ィジカルIDの範囲、即ち、バス30aに接続している
ノードの数を認識することができる。First, in step SB1, self I
The self ID packet (self-ID packet) transmitted from each node on the bus during the D process is stored in the memory (RAM) in the AV controller 10a. The physical ID assigned to each node is described in the self-ID packet transmitted from each AV device. Therefore, by receiving the self-ID packet, the AV controller 10a can recognize the range of physical IDs used on the 1394 bus, that is, the number of nodes connected to the bus 30a.
【0045】次にステップSB2において、AVコント
ローラ10aはバス30a上の全てのAV機器20a〜
20fから受信したセルフIDパケットに記載されてい
るフィジカルIDの最大値をメモリ内の変数「max_
phy_ID」に格納し、続いて、ステップSB3にお
いて、同じくメモリ内に格納されている「target
_ID」の値を0に設定する。この「target_I
D」は、機器情報の読み出し処理が終了したノード数を
カウントするために設けられている変数である。「ta
rget_ID」の値を0に設定すると、続いて各ノー
ドの機器情報の読み出しを開始する。先ず、ステップS
B4において、上述のtarget_IDと、max_
phy_IDとを比較する。このとき、target_
ID>max_phy_IDであれば、全てのAV機器
に対して機器情報を取得したと認識し、機器情報取得の
処理を終了する。Next, at step SB2, the AV controller 10a causes all of the AV equipments 20a to 20a on the bus 30a.
The maximum value of the physical ID described in the self-ID packet received from 20f is the variable "max_ in the memory.
PHY_ID ”, and subsequently, in step SB3, the“ target ”also stored in the memory.
The value of “_ID” is set to 0. This "target_I
“D” is a variable provided to count the number of nodes for which the device information read processing has been completed. "Ta
When the value of "rget_ID" is set to 0, the device information of each node is subsequently read. First, step S
In B4, the above-mentioned target_ID and max_
Compare with phy_ID. At this time, target_
If ID> max_phy_ID, it is recognized that the device information has been acquired for all AV devices, and the device information acquisition processing ends.
【0046】一方、target_ID≦max_ph
y_IDであれば、全てのノードに対して情報を取得し
ていないと判断し、ステップSB5に移行し、機器情報
の読み出しが行われていないノードのうちフィジカルI
Dの値が最小であるノードの機器情報を読み出す。続い
て、1つのノードに対して機器情報の読み出し処理が終
了すると、ステップSB6においてtarget_ID
の値を1だけ増加させ、ステップSB4へ再び戻り上述
の処理を繰り返し行う。On the other hand, target_ID ≦ max_ph
If y_ID, it is determined that information has not been acquired for all the nodes, and the process proceeds to step SB5, where the physical I
The device information of the node having the smallest D value is read. Then, when the process of reading the device information for one node is completed, the target_ID is set in step SB6.
Is incremented by 1, the process returns to step SB4, and the above process is repeated.
【0047】このように、フィジカルIDの値が小さい
ノード順に全てのAV機器に対して情報の読み出しを行
う。なお、上述の機器情報の読み出し処理は、ステップ
SB4においてtarget_ID>max_phy_
IDとなると、バスリセットが発生するまでステップS
B7に留まる。また、ステップSB7においてバスリセ
ットが検出された場合には、ステップSB8に移行し、
この時点で読み出した機器情報を破棄して再びステップ
SB1からの処理を繰り返す。In this way, the information is read from all the AV devices in the order of the nodes having the smallest physical ID values. Note that the above-described device information read processing is target_ID> max_phy_ in step SB4.
When it becomes ID, step S is performed until a bus reset occurs.
Stay on B7. When a bus reset is detected in step SB7, the process proceeds to step SB8,
At this time, the device information read out is discarded and the processing from step SB1 is repeated again.
【0048】次に、上述の機器情報について具体的に説
明する。各ノードから送信される機器情報は、各ノード
が備えるコンフィグレーション・ロムに関する情報と、
各機器の機能を特定するレジスタの情報とから構成され
ている。このコンフィグレーション・ロムとは、各機器
が備える1394ノードとしての機能や識別子、その機
器がサポートする上位アプリケーションなどが格納され
ている読み出し専用のメモリである。Next, the above-mentioned device information will be concretely described. The device information transmitted from each node is information about the configuration ROM provided in each node,
It is composed of register information that specifies the function of each device. The configuration ROM is a read-only memory that stores the functions and identifiers of each device as a 1394 node and the higher-level applications supported by the device.
【0049】図5にAV機器20a〜20f、即ち、I
EC61883規格に準拠した機器が備えるコンフィグ
レーション・ロムのフォーマットを示す。図5に示すよ
うにコンフィグレーション・ロムは、1394ノードと
して備えた機能や識別子が記述されるBus_info
_block(バスインフォメーションブロック)、デ
ィレクトリ構成などを示すRoot_director
y(ルートディレクトリ)、機器に備えられたアプリケ
ーションの情報などが記載されるUnit_direc
tory(ユニットディレクトリ)、及びこのノードに
割り当てられた識別子が記載されるNode_uniq
ue_id leaf(ノードユニークIDリーフ)に
より構成される。In FIG. 5, the AV devices 20a to 20f, that is, I
The format of the configuration ROM provided in the device conforming to the EC61883 standard is shown. As shown in FIG. 5, the configuration ROM is Bus_info in which functions and identifiers provided as 1394 nodes are described.
_Block (bus information block), Root_director indicating directory structure, etc.
y (root directory), Unit_direc in which information of applications included in the device is written
node_uniq in which the tory (unit directory) and the identifier assigned to this node are described
ue_id leaf (node unique ID leaf).
【0050】より具体的には、Bus_info_bl
ock及びNode_unique_id leafに
記載される識別子は、共にEUI−64(Extend
edUnique Identifier,64bit
s)あるいはGUID(Global Unique I
dentifier)と呼ばれる同じ値である。このE
UI−64は、全ての1394機器に対して独自に割り
当てられる64ビットのIDであり、機器製造者の識別
子である24ビットのnode_vendor_id
と、機器製造者が自社製の各機器に対して独自に割り当
てる48ビットのchip_id(chip_id_h
iと、chip_id_loを結合したもの)とから構
成される。More specifically, Bus_info_bl
The identifiers described in ock and Node_unique_id leaf are both EUI-64 (Extended).
edUnique Identifier, 64bit
s) or GUID (Global Unique I)
The same value called dentifier). This E
The UI-64 is a 64-bit ID uniquely assigned to all 1394 devices, and is a 24-bit node_vendor_id that is an identifier of the device manufacturer.
And a 48-bit chip_id (chip_id_h) uniquely assigned to each device manufactured by the device manufacturer.
i and a combination of chip_id_lo).
【0051】また、Unit_directoryに
は、上位アプリケーション情報として、例えば、IEC
61883規格に準拠した機器は、Unit_dire
ctoryにある24ビットのunit_spec_i
dフィールドの値を00A02D(16進数)に、24
ビットのunit_sw_versionフィールドの
上位8ビットを01(16進数、なお、下位16ビット
は将来の規格拡張のために予約されており、現時点では
0000(16進数))にそれぞれ設定することが規定
されている。そして、これらのフィールドの値を読むこ
とにより、当該機器がIEC61883規格に準拠した
機器か否かを判断することが可能となる。The Unit_directory contains, for example, IEC as upper application information.
Units that comply with the 61883 standard are Unit_dir
24-bit unit_spec_i in directory
Set the value of the d field to 00A02D (hexadecimal), 24
It is stipulated that the upper 8 bits of the unit_sw_version field of bits are set to 01 (hexadecimal number, the lower 16 bits are reserved for future standard extension, and at present, 0000 (hexadecimal number)). . Then, by reading the values of these fields, it is possible to determine whether or not the device is a device conforming to the IEC61883 standard.
【0052】続いて、AVコントローラが読み出すもう
一つの機器情報である機器の機能を特定するレジスタの
情報について説明する。このレジスタとして、コネクシ
ョンの確立・解放を制御するプラグ・コントロール・レ
ジスタ(以下、PCRと記述する)を例に挙げ説明す
る。PCRは、OUTPUT_MASTER_PLUG
レジスタ(以下、oMPRと記載する)と、OUTPU
T_PLUG_CONTROLレジスタ(以下、oPC
Rと記載する)、INPUT_MASTER_PLUG
レジスタ(以下、iMPRと記載する)、INPUT_
PLUG_CONTROLレジスタ(以下、iPCRと
記載する)とからなる4種類のレジスタの総称である。Next, the information of the register that specifies the function of the device, which is another device information read by the AV controller, will be described. As this register, a plug control register (hereinafter, referred to as PCR) for controlling connection establishment / release will be described as an example. PCR is OUTPUT_MASTER_PLUG
Register (hereinafter referred to as oMPR) and OUTPUT
T_PLUG_CONTROL register (hereinafter, oPC
R), INPUT_MASTER_PLUG
Register (hereinafter referred to as iMPR), INPUT_
It is a generic term for four types of registers including a PLUG_CONTROL register (hereinafter, referred to as iPCR).
【0053】このPCRのフォーマットを図6に示す。
この4つのレジスタの内、oMPR(図6の(a)参
照)とiMPR(図6の(b)参照)は、各機器が備え
るAVストリームの送信能力および受信能力がそれぞれ
記載されたレジスタであり、転送速度の能力(Data rat
e capability)や、実装されるoPCRの数(Number o
foutput plugs;同時に送信可能なストリームの数に相
当)およびiPCRの数(Number of input plugs;同
時に受信可能なストリームの数に相当)などが記され
る。The format of this PCR is shown in FIG.
Among these four registers, oMPR (see (a) in FIG. 6) and iMPR (see (b) in FIG. 6) are registers in which the transmission capability and the reception capability of the AV stream included in each device are described. , Transfer rate capability (Data rat
e capability) and the number of oPCRs implemented (Number o
foutput plugs; corresponding to the number of streams that can be transmitted at the same time) and the number of iPCRs (Number of input plugs; corresponding to the number of streams that can be received at the same time) are described.
【0054】一方、oPCR(図6の(c)参照)とi
PCR(図6の(d)参照)は、機器のストリーム送受
信動作をストリーム単位で制御するのに用いられるレジ
スタであり、送信あるいは受信されるストリームのチャ
ンネル番号(Channel number)や帯域(Data rateとOve
rhead ID、Payloadとから算出される)、他の機器との
間に確立されたコネクションの数(Broadcast connecti
on counter及びPoint-to-point connection counter)
などが格納される。これらのレジスタは、ロック・トラ
ンザクションにより内容を書き換えることが可能であ
る。On the other hand, oPCR (see (c) of FIG. 6) and i
The PCR (see (d) of FIG. 6) is a register used to control the stream transmission / reception operation of the device in stream units, and is a channel number (Channel number) or band (Data rate Ove
rhead ID, calculated from Payload), number of connections established with other devices (Broadcast connecti
on counter and Point-to-point connection counter)
Is stored. The contents of these registers can be rewritten by a lock transaction.
【0055】そして、上述したような機器情報の収集が
完了すると、AVコントローラ10aは制御対象AV機
器のリストを作成する。図7にAVコントローラ10a
が作成する制御対象AV機器のリストの一例を示す。図
7に示したリストはバス30aに接続されているAV機
器20a〜20fに関するものであり、各機器のノード
のフィジカルID、GUID、転送速度能力、oPCR
の数及びiPCRの数がそれぞれ記載されている。なお
GUIDは、前述の通り64ビットの値であるが、ここ
では簡単のため、アルファベットのA〜Fを用いて表す
こととする。このように、AVコントローラ10aは図
3のステータスS3においてバス30a上のAV機器2
0a〜20fについてのリストを作成すると、ステータ
スS4に遷移し、コネクション制御要求待ち状態とな
る。When the collection of the device information as described above is completed, the AV controller 10a creates a list of controlled AV devices. The AV controller 10a shown in FIG.
3 shows an example of a list of control target AV devices created by. The list shown in FIG. 7 relates to the AV devices 20a to 20f connected to the bus 30a, and the physical ID, GUID, transfer rate capability, and oPCR of the node of each device.
And the number of iPCRs are listed respectively. The GUID is a 64-bit value as described above, but here, for simplicity, it will be represented by using alphabets A to F. In this way, the AV controller 10a determines that the AV device 2 on the bus 30a has the status S3 of FIG.
When the list for 0a to 20f is created, the status transits to status S4 and the connection control request waiting state is entered.
【0056】ステータスS4において、コネクション確
立要求を受け付けると、AVコントローラ10aはステ
ータスS5に遷移する。When the connection establishment request is accepted in status S4, the AV controller 10a transits to status S5.
【0057】まず、コネクションの確立について説明す
る前に、図8に示す管理表について説明する。コネクシ
ョンの確立はこの図8に示す管理表に基づいて管理され
る。この管理表には、管理番号により識別される各コネ
クションについて、優先度と送信機器のGUID、受信
機器のGUID、転送速度、ストリーム・パケットの帯
域、ストリーム・パケットのチャンネル番号、送信機器
が使用しているoPCRの番号、受信機器が使用してい
るiPCRの番号とが記載されている。First, before explaining the establishment of a connection, the management table shown in FIG. 8 will be described. The establishment of the connection is managed based on the management table shown in FIG. In this management table, for each connection identified by the management number, the priority and the GUID of the transmitting device, the GUID of the receiving device, the transfer rate, the bandwidth of the stream packet, the channel number of the stream packet, and the transmitting device are used. And the iPCR number used by the receiving device.
【0058】ここで、Activeと書かれた項目は、
その管理番号に記載されるコネクションが確立されて運
用中のものであるか否かを示し、この値が1ならばコネ
クションが運用中であることを示す。なお、ここで記載
されている帯域はIRMのBANDWIDTH_AVA
ILABLEレジスタに格納されているbw_rema
iningフィールドと同様にbandwidth a
llocation unitを単位としており、この
1bandwidth allocation unit
はS1600(将来の拡張規格で定義されるであろう転
送速度であり、毎秒1600メガビット)の転送速度で
32ビットのデータを転送するのに要する時間であり、
約20nSに相当する。Here, the item written as Active is
It indicates whether or not the connection described in the management number has been established and is in operation, and if this value is 1, it indicates that the connection is in operation. The band described here is the IRM BANDWIDTH_AVA.
Bw_rema stored in the ILABLE register
bandwidth a as in the ining field
The unit is the location unit, and this 1 bandwidth allocation unit
Is the time required to transfer 32-bit data at a transfer rate of S1600 (a transfer rate that will be defined in a future extended standard, 1600 megabits per second),
This corresponds to about 20 nS.
【0059】また、管理表に記載される優先度は、コネ
クションの優先順位を定めたものであり、0、1、2の
3段階の優先度が設定されており、この値が大きいほど
優先順位が高い。例えば、図8の管理表に記載される運
用中の2つのコネクションで比較すると、管理番号0番
のコネクションは優先度1、管理番号1番のコネクショ
ンは優先度0なので、管理番号1のコネクションの方が
管理番号0のコネクションよりも優先度が高いといえ
る。Further, the priority listed in the management table defines the priority of the connection, and three levels of priority of 0, 1, 2 are set, and the higher this value, the higher the priority. Is high. For example, when comparing the two operating connections described in the management table of FIG. 8, the connection with the management number 0 has the priority 1 and the connection with the management number 1 has the priority 0. It can be said that the priority is higher than the connection with the management number 0.
【0060】この優先度は、ユーザに対応して設定され
ており、あるユーザが設定するコネクションは例えば常
に2であり、他のユーザが設定するコネクションは例え
ば常に1であるという具合に定められている。続いて、
ステータスS5において行われるコネクション確立につ
いて説明する。まず、コネクションの確立要求はAVコ
ントローラ10aに対してユーザが制御したいコネクシ
ョンを入力することにより行われる。The priority is set corresponding to the user, and the connection set by a certain user is always 2, and the connection set by another user is always 1, for example. There is. continue,
The connection establishment performed in the status S5 will be described. First, a connection establishment request is made by the user inputting a connection to be controlled to the AV controller 10a.
【0061】まず、ユーザはAVコントローラ10aに
対し、端末装置から自分の名前を入力する。入力された
名前がAVコントローラ10aの記憶部に予め登録され
ていれば、端末装置の画面はコネクション制御入力画面
に変化する。それと同時に、入力された名前と予め定め
られた優先度とが対応づけられる。次に、ユーザは確立
したいコネクションを要求する。以下、図9を参照し説
明する。First, the user inputs his / her name into the AV controller 10a from the terminal device. If the input name is registered in the storage unit of the AV controller 10a in advance, the screen of the terminal device changes to the connection control input screen. At the same time, the input name is associated with the predetermined priority. The user then requests the connection he wants to establish. Hereinafter, description will be given with reference to FIG.
【0062】まず、ステップSP1においてユーザは送
信機器と受信機器とをAVコントローラ10aの端末装
置から指定する。なお、ユーザが指定するのはこの2つ
のみであり、以降の手順はAVコントローラ10aの記
憶部に格納されたソフトウェアによって実行される。次
に、ステップSP2ではユーザにより指定された受信機
器に未使用のiPCRが存在するか否かを判断する。具
体的には、図7に示したAV機器リストのiPCR数
と、図8に示した管理表に記載されている既存のコネク
ションとを参照することによって、ユーザによって指定
された受信機器に未使用のiPCRが存在するか否かを
判断する。First, in step SP1, the user specifies the transmitting device and the receiving device from the terminal device of the AV controller 10a. Note that the user specifies only these two, and the subsequent procedure is executed by the software stored in the storage unit of the AV controller 10a. Next, in step SP2, it is determined whether or not an unused iPCR exists in the receiving device designated by the user. Specifically, by referring to the number of iPCRs in the AV device list shown in FIG. 7 and the existing connections listed in the management table shown in FIG. 8, the unused device is not used for the receiving device designated by the user. It is determined whether or not the iPCR is present.
【0063】この結果、未使用のiPCRがない場合に
は、その受信機器のiPCRを使用している既存のコネ
クションが存在していることとなるため、ステップSP
3へ移行し、その既存コネクションと新規コネクション
の優先度を比較して、新規コネクションの優先度が高け
れば、ステップSP4へ移行して既存コネクションを解
消し、これに代わって新規コネクションがそのiPCR
を使用できるように設定する。As a result, when there is no unused iPCR, it means that there is an existing connection using the iPCR of the receiving device, and therefore, step SP
3, the priority of the existing connection is compared with that of the new connection, and if the priority of the new connection is high, the process proceeds to step SP4 to cancel the existing connection, and the new connection replaces the iPCR.
To be able to use.
【0064】一方、ステップSP3において既存コネク
ションの優先度の方が高かった場合には、ステップSP
5へ移行し要求された新規コネクションの確立は失敗し
たとして、コネクション確立失敗の旨を示すメッセージ
をAVコントローラ10aの端末装置の表示部(図示
略)に表示し、処理を終了する。また、ステップSP2
においてユーザによって指定された受信機器に未使用の
iPCRが存在した場合には、ステップSP6へ移行し
oPCRから所要帯域を算出する。具体的には、oPC
Rに記載されるoverhead IDフィールドとp
ayloadフィールドとに書かれた値を参照し、これ
らの値から必要な帯域を算出する。On the other hand, when the priority of the existing connection is higher in step SP3, step SP
It is assumed that the establishment of the requested new connection has failed and the message indicating the failure of connection establishment is displayed on the display unit (not shown) of the terminal device of the AV controller 10a, and the process ends. Also, step SP2
If there is an unused iPCR in the receiving device designated by the user in step 1, the process proceeds to step SP6 and the required band is calculated from oPCR. Specifically, oPC
The overhead ID field and p described in R
The required bandwidth is calculated from these values with reference to the values written in the ayload field.
【0065】ステップSP6において所要帯域を算出す
ると、続いてステップSP7に移行し、算出された帯域
が確保可能であるか否かを判断する。これは、図3にお
けるステータスS2においてAVコントローラ10aが
確保したバス帯域から既存のコネクションで使用されて
いる帯域を差し引いた値と、新規コネクションの所要帯
域とを比較することで行われる。この結果、帯域が不足
している場合、即ち、図3のステータスS2においてA
Vコントローラ10aによって確保されたバス帯域から
既存のコネクションで使用されている帯域を差し引いた
値が、新規コネクションの所要帯域よりも小さかった場
合には、ステップSP8へ移行し既存のコネクションの
中から新規コネクションより優先度が低いものを検索す
る。After the required bandwidth is calculated in step SP6, the process proceeds to step SP7 and it is determined whether or not the calculated bandwidth can be secured. This is performed by comparing the value obtained by subtracting the band used in the existing connection from the bus band secured by the AV controller 10a in status S2 in FIG. 3 with the required band of the new connection. As a result, when the bandwidth is insufficient, that is, when the status S2 in FIG.
If the value obtained by subtracting the bandwidth used by the existing connection from the bus bandwidth secured by the V controller 10a is smaller than the required bandwidth of the new connection, the process proceeds to step SP8 and the existing connection is newly created. Search for one with a lower priority than the connection.
【0066】この結果、新規コネクションよりも優先度
が低いものが既存のコネクションに存在していなかった
場合には、新規コネクション確立に必要な帯域が得られ
ないため、新規コネクションの確立は失敗となりステッ
プSP5へ移行し、処理を終了する。一方、ステップS
P8において、新規コネクションよりも優先度が低いも
のが既存のコネクションに存在していた場合には、ステ
ップSP9へ移行し、優先度が低い既存コネクションを
解消する。この結果、ステップSP10において、新規
コネクションに必要な帯域を確保することができる。こ
のようにして新規コネクション確立に必要な帯域の割当
が完了すると、ステップSP11においてチャンネル番
号をIRMから確保し、ステップSP12においてoP
CRとiPCRを設定し、この結果、新規コネクション
が確立され、ステップSP13において管理表を更新し
て処理を終了する。As a result, if the existing connection has a priority lower than that of the new connection, the bandwidth necessary for establishing the new connection cannot be obtained, and the establishment of the new connection fails. The process moves to SP5, and the process ends. On the other hand, step S
In P8, if the existing connection has a lower priority than the new connection, the process proceeds to step SP9, and the existing connection with a lower priority is canceled. As a result, in step SP10, the band required for a new connection can be secured. When the allocation of the band necessary for establishing a new connection is completed in this way, the channel number is secured from the IRM in step SP11, and the oP is established in step SP12.
CR and iPCR are set, and as a result, a new connection is established, the management table is updated in step SP13, and the processing ends.
【0067】次に、上述のコネクション確立について具
体例を挙げ簡単に説明する。まず、図8に示すような既
存コネクションが存在する状況において、ユーザにより
送信機器Bと受信機器Fとの間に新規コネクションの確
立が要求されたとする。今、この新規コネクションの所
要帯域が1800であるのに対し、帯域の残存量が10
00であるとすると、優先度が1であれば管理番号1の
コネクションを解消して帯域を確保し、新規コネクショ
ンが確立される。一方、新規コネクションの優先度が0
であった場合には、この新規コネクションの確立は失敗
に終わることとなる。Next, the above-mentioned connection establishment will be briefly described with a specific example. First, it is assumed that the user requests the establishment of a new connection between the transmitting device B and the receiving device F in the situation where the existing connection as shown in FIG. 8 exists. Now, while the required bandwidth of this new connection is 1800, the remaining bandwidth is 10
If the priority is 1, the connection with the management number 1 is canceled to secure the bandwidth, and a new connection is established. On the other hand, the priority of the new connection is 0
If this is the case, the establishment of this new connection will fail.
【0068】なお、図3に示した全てのステータス、即
ちステータスS1〜ステータスS5において、バスリセ
ットが発生すると、今までの情報をすべて破棄し、ステ
ータスS1から処理を再開する。なお、本実施形態にお
いては優先度をユーザに対応して設定しているが、これ
に限定されるものではない。他の例として、コネクショ
ンを確立する送受信機器の各々が備える機能の組み合わ
せに応じて優先度を設定するようにしてもよい。When a bus reset occurs in all the statuses shown in FIG. 3, that is, in statuses S1 to S5, all the information up to now is discarded and the processing is restarted from status S1. In the present embodiment, the priority is set corresponding to the user, but the present invention is not limited to this. As another example, the priority may be set according to the combination of the functions of each of the transmission / reception devices that establish a connection.
【0069】例えば、映像信号の視聴を示す、放送受信
機器あるいは録画機器とデジタルテレビとの組み合わせ
は優先度0、記録された映像信号のダビングを示す録画
機器間のコネクションは優先度1、放送番組の録画を示
す放送受信機器と録画機器との組み合わせは最も優先度
が高い優先度2というように優先度を3段階に設定す
る。ただし、接続される機器に複数の機能が備えられて
いる場合には、その機能に応じて優先度が設定される。
例えば、録画機器が受信された映像を復号化して再生す
るのみで録画動作を伴わない動作を行うことが可能な場
合には、その録画機器はデジタルテレビと同等の機能を
持った機器と見なされる。このように、録画機器同士を
接続する場合でも、受信側に録画動作が設定されていな
い場合においては、そのコネクションは優先度0とな
る。For example, a combination of a broadcast receiving device or a recording device and a digital television, which indicates viewing of a video signal, has a priority of 0, a connection between the recording devices showing dubbing of the recorded video signal has a priority of 1, and a broadcast program. In the combination of the broadcast receiving device and the recording device indicating the recording of, the priority is set to three levels such as the highest priority of 2. However, when the connected device has a plurality of functions, the priority is set according to the functions.
For example, if a recording device can perform an operation without a recording operation only by decoding and playing the received video, the recording device is regarded as a device having a function equivalent to that of a digital television. . In this way, even when the recording devices are connected to each other, the priority of the connection is 0 when the recording operation is not set on the receiving side.
【0070】また、本実施形態においては、バス資源の
競合のために新規あるいは既存コネクションのいずれか
をAVコントローラ10aが解消したが、これに代わり
次のような処理を用いることも可能である。まず、バス
資源の競合が発生すると、競合関係にあるコネクション
の情報及び、優先度の比較の結果解消されようとしてい
るコネクションの情報とをユーザに提示する。そして、
この解消手順の実行の可否をユーザに判断させる。この
ような仕様は、同じ優先度が設定された複数のコネクシ
ョンに優先順位をさらに付ける必要がある場合などに有
効となる。Further, in the present embodiment, the AV controller 10a eliminates either a new connection or an existing connection due to the competition of bus resources, but instead of this, the following processing can be used. First, when a bus resource conflict occurs, the user is presented with information about the connection in a competitive relationship and information about the connection that is about to be eliminated as a result of the comparison of priorities. And
The user is made to judge whether or not the resolution procedure can be executed. Such a specification is effective when it is necessary to further give priority to a plurality of connections having the same priority.
【0071】次に、図1に本発明のAVコントローラを
実現するためのシステム構成例を示す。この図におい
て、CPU8が接続されるホストバス30には、メイン
・ロム(Main ROM)1及び、コンフィグレーション・ロ
ム(Configuration ROM)2からなる2種類のROM
と、バス資源残量格納メモリ3、機器情報リストメモリ
4、コネクション管理メモリ5からなる3種類のRA
M、合計5種類のメモリが接続されている。具体的に
は、メイン・ロム1には、AVコントローラが実行する
プログラムが格納されており、コンフィグレーション・
ロム2には図5に示すような各ノードから受信した機器
リストが格納されている。また、バス資源残量格納メモ
リ3は、このAVコントローラが獲得しているバス資源
の残量が格納されているRAMであり、機器情報リスト
メモリ4は、図7に示すような各AV機器の機器情報が
記載されたリストが格納されているRAMであり、コネ
クション管理メモリ5は、図8に示したコネクション管
理表が格納されているRAMである。また、1394L
INK6、及び1394PHY7は、それぞれ1394
用の物理層LSIとリンク層LSIである。Next, FIG. 1 shows a system configuration example for realizing the AV controller of the present invention. In this figure, a host bus 30 to which the CPU 8 is connected has two types of ROMs, which are a main ROM (Main ROM) 1 and a configuration ROM (Configuration ROM) 2.
And three types of RAs including a bus resource remaining amount storage memory 3, a device information list memory 4, and a connection management memory 5.
M, a total of 5 types of memories are connected. Specifically, the main ROM 1 stores the program executed by the AV controller, and
The ROM 2 stores the device list received from each node as shown in FIG. The bus resource remaining amount storage memory 3 is a RAM in which the remaining amount of bus resources acquired by this AV controller is stored, and the device information list memory 4 is stored in each AV device as shown in FIG. The connection management memory 5 is a RAM that stores a list in which device information is described, and the connection management memory 5 is a RAM that stores the connection management table shown in FIG. Also, 1394L
INK6 and 1394PHY7 are 1394 respectively
There are a physical layer LSI and a link layer LSI for use.
【0072】なお、上述のメイン・ロム1及びコンフィ
グレーション・ロム2を1つのチップで実現しても良
く、またバス資源残量格納メモリ3、機器情報リストメ
モリ4、コネクション管理メモリ5からなる3種類のR
AMを2つ、あるいは1つのチップで実現しても良い。
また、上記構成からなるAVコントローラは、組み込み
機器としているが、パーソナルコンピュータなどで実現
しても良い。The main ROM 1 and the configuration ROM 2 described above may be realized by a single chip, and the bus resource remaining amount storage memory 3, the device information list memory 4, and the connection management memory 5 are provided. Kind of R
The AM may be realized by two or one chip.
Further, although the AV controller having the above-mentioned configuration is an embedded device, it may be realized by a personal computer or the like.
【0073】次に、本発明による第2の実施形態につい
て説明する。第2の実施形態は、第1の実施形態と同様
に図2に示される1394ネットワークにおいて行われ
るが第1の実施形態が図8に示した管理表に基づいてコ
ネクションの管理を行うのに対し、第2の実施形態で
は、図10に示した管理表に基づいてコネクションの管
理を行う。第2の実施形態における管理表は、図10に
示すように第1の実施形態で使用された図8に示す管理
表の管理項目に、コネクションの確立が開始される日付
(101)および時刻(102)と、それが終了される
日付(103)および時刻(104)が追加されてい
る。そして、これらを用いることにより、将来のある時
間帯におけるコネクションの確立を事前に予約しておく
ことが可能となる。Next, a second embodiment according to the present invention will be described. The second embodiment is performed in the 1394 network shown in FIG. 2 similarly to the first embodiment, whereas the first embodiment manages the connection based on the management table shown in FIG. In the second embodiment, the connection is managed based on the management table shown in FIG. As shown in FIG. 10, the management table in the second embodiment includes the management item of the management table shown in FIG. 8 used in the first embodiment as the date (101) and the time (( 102) and the date (103) and time (104) at which it ends are added. Then, by using these, it becomes possible to reserve in advance the establishment of a connection in a certain time zone in the future.
【0074】なお、コネクション確立の開始時間として
は、直ちにコネクション確立を要求する設定も可能であ
り、また終了の時点を未定とする設定も可能である。図
10における管理番号1のコネクションが、コネクショ
ン確立終了の時間が未定である際の管理表の表記を表し
ている。次に、図11は新規コネクションの確立あるい
は予約が要求された際に、既存のコネクションが存在す
るためにその新規コネクション用のバス資源が獲得でき
ない場合における管理仕様をまとめたものである。以
下、この管理仕様について説明する。It should be noted that the connection establishment start time can be set so that the connection establishment is immediately requested, or the end time can be set as undecided. The connection with the management number 1 in FIG. 10 represents the notation of the management table when the time for ending the connection establishment is undecided. Next, FIG. 11 is a summary of management specifications when a bus resource for a new connection cannot be acquired because an existing connection exists when the establishment or reservation of the new connection is requested. The management specifications will be described below.
【0075】同図に示される条件1〜5は、管理仕様を
決定するためのパラメータを表しており、表に示される
aあるいはbは、それぞれ図中の欄外下に示される意味
を表している。なお、欄に横棒(−)が示されるものに
関しては、その仕様番号に示される管理仕様が、その条
件には依存しないことを表す。また、本図には全部で1
7通りの管理仕様が示されている。この基本的な考え方
は、既存コネクションと新規コネクションが重複した時
間帯においては優先度に応じた選別が行われ、重複して
いない時間帯についてはできるだけ双方の要求に応じる
こと、終了時点が確定した要求については、重複してい
ない時間帯も優先度に応じた制御を行うことの2点であ
る。Conditions 1 to 5 shown in the figure represent parameters for determining the management specifications, and a or b shown in the table represent the meanings shown below the margins in the figure. . A horizontal bar (-) in the column indicates that the management specification indicated by the specification number does not depend on the condition. Also, in this figure, 1
Seven management specifications are shown. The basic idea is that in the time zone when the existing connection and the new connection overlap, the selection is performed according to the priority, and in the non-overlapping time zone, both requests should be accepted as much as possible, and the end time is fixed. Regarding the request, the two points are to perform control according to the priority even in non-overlapping time zones.
【0076】例えば、新規コネクション以上の優先度が
設定された既存コネクションが予約されている状況にお
いて、新規コネクションを直ちに確立する要求がなさ
れ、更に新規コネクションの終了時間が未定であった場
合に、どのような処理が行われるかを図11を参照して
説明する。For example, in a situation where an existing connection having a priority higher than that of a new connection is reserved, a request for immediately establishing a new connection is made, and when the end time of the new connection is undecided, Whether such processing is performed will be described with reference to FIG.
【0077】まず、条件1の「優先度の高低」に対して
は、確立させようとしている新規コネクションは、予約
されている既存コネクションよりも優先度が低いため、
条件1は「a」となる。次に、条件2の「既存コネクシ
ョンの開始状況」に対しては、既存コネクションは予約
されている状況でコネクションが確立されているわけで
はないので、条件2は「b」となる。続いて、条件3の
「新規コネクションの開始時期」に対しては、新規コネ
クションは直ちに確立する要求がなされているので、条
件3は「a」となる。条件4の「既存コネクションの終
了時点」に対しては、未定のため「b」となる。最後に
条件5の「新規コネクションの終了時点」に対しては、
新規コネクションの終了時間は未定であるから条件5は
「b」となる。First, with respect to the condition 1 "high or low priority", the new connection to be established has a lower priority than the reserved existing connection.
Condition 1 is “a”. Next, with respect to the condition 2 “start status of existing connection”, since the existing connection is not reserved and the connection is not established, the condition 2 becomes “b”. Subsequently, with respect to the condition 3 “start time of new connection”, since a request to immediately establish a new connection is made, condition 3 becomes “a”. The condition 4 “end point of existing connection” is “b” because it is undecided. Finally, for the condition 5 "end of new connection",
Condition 5 is “b” because the end time of the new connection is undecided.
【0078】この結果、条件1が「a」、条件2が
「b」、条件3が「a」、条件4が「b」、条件5が
「b」である仕様番号を検索すると、仕様番号5が当て
はまる。仕様番号5の管理仕様には、「新規を確立す
る。既存の開始時刻に新規が存在していたら新規を強制
解放する。」と記載されている。そして、AVコントロ
ーラ10aはこの仕様に基づいて、予約されている既存
のコネクションと、新規コネクションとを管理する。即
ち、直ちに新規コネクションを確立し、更に、既存コネ
クションが確立されるべき時刻にまだ新規コネクション
が確立され続けていた場合は、優先度の低い新規コネク
ションを強制的に解放した後、既存コネクションを確立
する。As a result, when a specification number in which condition 1 is "a", condition 2 is "b", condition 3 is "a", condition 4 is "b", and condition 5 is "b" is searched, the specification number is searched. 5 applies. The management specification of specification number 5 states that "new establishment is established. If a new one exists at an existing start time, the new release is forcibly released." Then, the AV controller 10a manages the reserved existing connection and the new connection based on this specification. That is, a new connection is immediately established, and if the new connection is still established at the time when the existing connection should be established, the new connection with a lower priority is forcibly released and then the existing connection is established. To do.
【0079】上述したように、本実施形態においては図
10に示した管理表、及び図11に示した管理仕様に基
づいて、コネクションの確立、解放を実施する。なお、
第2の実施形態では、ユーザにより要求されたコネクシ
ョン確立開始の時点に対し1分間早い時点を管理表に記
憶する。これは、ユーザが要求した時間帯には確実にコ
ネクションの確立が完了しているように、要求時刻の1
分前からコネクション確立の処理を実行するためであ
る。As described above, in this embodiment, the connection is established and released based on the management table shown in FIG. 10 and the management specifications shown in FIG. In addition,
In the second embodiment, the management table stores a point one minute earlier than the point in time when the connection establishment start requested by the user. This is set to 1 at the request time so that the connection is surely completed in the time zone requested by the user.
This is because the process of establishing a connection is executed from a minute before.
【0080】またこれに対し、コネクション確立の予約
がなされた直後からバス資源を獲得する動作を開始し、
バス資源を獲得することができた時点から、そのコネク
ションの終了時刻に至るまでその資源を獲得し続けても
よい。なお、第2の実施形態における優先度の設定は第
1の実施形態と同じく、ユーザにより設定するようにし
てもよく、また、コネクションを確立する送受信機器の
各々が備える機能の組み合わせに応じて優先度を設定す
るようにしてもよい。On the other hand, the operation of acquiring the bus resource is started immediately after the reservation for establishing the connection is made,
The resource may be continuously acquired from the time when the bus resource can be acquired until the end time of the connection. Note that the priority setting in the second embodiment may be set by the user as in the first embodiment, and the priority setting may be performed according to the combination of the functions of each transmitting / receiving device that establishes a connection. The degree may be set.
【0081】そして、競合する複数のコネクションが存
在した際に、優先度の低いコネクションのうちダビング
動作に限り、他と競合しない時間帯に変更させたり、あ
るいは、帯域が補償されない他の転送方式に切り替えて
データの転送を行うことも可能である。この帯域が補償
されない他の転送方式としては、アシンクロナス・スト
リーム転送か、アシンクロナス・パケット転送が挙げら
れる。Then, when there are a plurality of competing connections, only the dubbing operation of the connection with the lower priority is changed to a time zone in which it does not conflict with other connections, or another transfer method in which the band is not compensated. It is also possible to switch and transfer data. Other transfer methods in which this band is not compensated include asynchronous stream transfer and asynchronous packet transfer.
【0082】以下、優先度が低いコネクションをアシン
クロナス・ストリーム転送を用いて転送する方法の具体
例について説明する。なお、この具体例の説明に先立ち
IEC61883規格に規定されるAVストリームを転
送する際のアイソクロナス・ストリーム・パケットのフ
ォーマットについて図12を参照して簡単に説明する。A specific example of a method of transferring a connection having a low priority by using the asynchronous stream transfer will be described below. Prior to the description of this specific example, the format of an isochronous stream packet when transferring an AV stream specified by the IEC61883 standard will be briefly described with reference to FIG.
【0083】アイソクロナス・ストリーム・パケット
は、図12に示される通り1クワドレット(1クワドレ
ットは32ビット)のCRC(Cyclic Redundancy Chec
k)を含む2クワドレットのヘッダ(header)と、0ク
ワドレット以上のデータフィールド(Data field)と、
データCRC(Data_CRC)とから構成される。AVスト
リームを転送する際には、このアイソクロナス・ストリ
ーム・パケットのデータフィールドの先頭に2クワドレ
ットのCIPヘッダ(Common Isochronous Packetヘッ
ダ)が挿入される。このCIPヘッダは様々なフィール
ドから構成されているがその中にタイムスタンプを格納
するためのSYTフィールドがある。The isochronous stream packet is, as shown in FIG. 12, a CRC (Cyclic Redundancy Chec) of 1 quadlet (1 quadlet is 32 bits).
2 quadlet headers including k) and 0 quadlet or more data fields (Data field),
It is composed of a data CRC (Data_CRC). When the AV stream is transferred, a 2-quadlet CIP header (Common Isochronous Packet header) is inserted at the beginning of the data field of this isochronous stream packet. This CIP header is composed of various fields, and there is a SYT field for storing a time stamp therein.
【0084】タイムスタンプにはストリームの受信ノー
ドにおいて、パケットが復号化器に入力されるべき時刻
情報(以下、復号時刻とする)が格納されている。この
タイムスタンプは1394バスで生じる実態によりパケ
ットが復号化器に入力される時刻がばらついてしまうの
を防ぐために用いられる。受信されたパケットは受信バ
ッファに格納され、復号時刻になったらバッファから復
号化器に移される。即ち、復号時刻はジッタを吸収する
のに十分な時間(以下、差分時間と称する)を現在時刻
に加えた未来の時刻である。The time stamp stores time information (hereinafter referred to as decoding time) at which the packet should be input to the decoder at the stream receiving node. This time stamp is used in order to prevent the time when the packet is input to the decoder from varying due to the actual situation occurring in the 1394 bus. The received packet is stored in the reception buffer, and at the decoding time, it is moved from the buffer to the decoder. That is, the decoding time is a future time in which a time sufficient for absorbing the jitter (hereinafter referred to as a difference time) is added to the current time.
【0085】ダビング動作において、本来はアイソクロ
ナス・ストリーム・パケットで転送されるはずのAVス
トリームをアシンクロナス・ストリーム転送によって転
送する際には、アイソクロナス・ストリーム・パケット
のタイムスタンプの値を変換することが必要となる。先
ず、ダビング動作において、AVストリームを転送する
機器は、そのストリームを自分が記録する際に、タイム
スタンプの値を復号時刻から差分時間に変換しておく。
その記録されたストリームを通常通りアイソクロナス・
ストリームで転送する場合には、タイムスタンプの値を
復号時刻に再変換してから送信する。In the dubbing operation, it is necessary to convert the time stamp value of the isochronous stream packet when transferring the AV stream originally supposed to be transferred by the isochronous stream packet by the asynchronous stream transfer. Becomes First, in the dubbing operation, the device that transfers the AV stream converts the time stamp value from the decoding time to the difference time when the device itself records the stream.
The recorded stream is isochronous as usual.
When transferring in a stream, the time stamp value is converted back to the decoding time and then transmitted.
【0086】これに対し、アシンクロナス・ストリーム
で転送する場合には、タイムスタンプを変換せずに差分
時間のまま送信する。このストリームを受信する受信機
器は、差分時間が格納されているタイムスタンプには手
を加えずに自分の記録媒体にストリームを記録する。そ
れを再生する場合には、差分時間に現在時刻を加えて復
号時刻を算出してやれば良い。以上のような方法を用い
ることにより、本来はアイソクロナス・ストリームで転
送される情報を、ダビング動作などのリアルタイム性が
要求されない用途に限って、アシンクロナス・ストリー
ムで転送することが可能となる。On the other hand, when transferring by the asynchronous stream, the time stamp is not converted and the difference time is transmitted as it is. The receiving device that receives this stream records the stream on its own recording medium without modifying the time stamp in which the differential time is stored. When reproducing it, the decoding time may be calculated by adding the current time to the difference time. By using the method as described above, it is possible to transfer the information originally transferred by the isochronous stream by the asynchronous stream only for the use such as the dubbing operation where the real-time property is not required.
【0087】続いて、本発明による第3の実施形態につ
いて説明する。本実施形態は、図13に示す1394ネ
ットワークにおいて行われる。これは、1394バス3
0aと1394バス30bとが1394ブリッジ40に
より相互接続されて構成されたネットワークであり、1
394バス30aと30bとには、それぞれ0番と1番
のバスIDが割り当てられている。バス30aには、A
V機器20aと20b、AVコントローラ10aが、バ
ス30bには、AV機器20cと20d、AVコントロ
ーラ10bがそれぞれ接続され、図13に示されるフィ
ジカルIDが各機器に割り当てられている。Next, a third embodiment according to the present invention will be described. This embodiment is performed in the 1394 network shown in FIG. This is 1394 bus 3
0a and 1394 bus 30b are interconnected by a 1394 bridge 40, and
Bus IDs 0 and 1 are assigned to the 394 buses 30a and 30b, respectively. A for the bus 30a
The V devices 20a and 20b, the AV controller 10a, and the bus 30b are connected to the AV devices 20c and 20d and the AV controller 10b, respectively, and the physical IDs shown in FIG. 13 are assigned to the respective devices.
【0088】次に、本実施形態における動作を図14を
参照し説明する。まず、ステータスST1において、バ
スリセット後のツリーIDプロセスとセルフIDプロセ
スにより、各バスが構成される。更に、各バスにバスI
D(bus_ID)が割り当てられる。これらの手順が
完了すると、ステータスST2に遷移する。一方、他の
全てのステータスにおいてバスリセットが発生した場合
には、ステータスSA1へ再び遷移する。Next, the operation of this embodiment will be described with reference to FIG. First, in the status ST1, each bus is configured by the tree ID process and the self ID process after the bus reset. Furthermore, each bus has a bus I
D (bus_ID) is assigned. When these procedures are completed, the status transits to ST2. On the other hand, when the bus reset occurs in all other statuses, the status transits to the status SA1 again.
【0089】なお、上述のバスID割り当て手順は13
94ブリッジ40の電源投入時に一度だけ行われるもの
であり、その後バスリセットが発生し再びこのステータ
スST1に遷移された際にはバスID割り当て手順は行
われない。続いてステータスST2では、バス資源の獲
得を行う。ここでは、AVコントローラ10a及び10
bとが、それぞれ自分が接続されているバスのIRMに
対して、バス資源、即ち帯域資源とチャンネル番号を獲
得する処理を実行する。具体的には、AVコントローラ
10aは、バスIDが0番のバスにおける全ての残存帯
域資源とチャンネル番号63番とを獲得すべく動作し、
AVコントローラ10bはバスIDが1番のバスに対し
て同様の動作を行う。The above bus ID allocation procedure is 13
This is performed only once when the power of the 94 bridge 40 is turned on, and the bus ID allocation procedure is not performed when a bus reset occurs after that and the status changes to this status ST1 again. Subsequently, in status ST2, bus resources are acquired. Here, the AV controllers 10a and 10
b and the IRMs of the buses to which they are respectively connected, execute processing for acquiring bus resources, that is, band resources and channel numbers. Specifically, the AV controller 10a operates to acquire all the remaining band resources and the channel number 63 in the bus whose bus ID is 0,
The AV controller 10b performs the same operation for the bus whose bus ID is 1.
【0090】続いてステータスST3において、AVコ
ントローラ10a及び10bは機器検索を実行する。こ
れは第1の実施形態におけるステータスS3(図3参
照)と同様の処理であるが、ここでは自分が接続されて
いるバス上のAV機器だけではなく、図13に示した1
394ネットワークに接続される全てのAV機器をも同
様に検索する処理を行う。即ち、AVコントローラ10
a、10bはまず、自らが接続されているバス上の全て
のAV機器情報を読み取りコンフィグレーション・ロム
にこの情報を各々格納する。Subsequently, in status ST3, the AV controllers 10a and 10b execute device search. This is the same process as the status S3 (see FIG. 3) in the first embodiment, but here, not only the AV device on the bus to which the device is connected, but also the one shown in FIG.
All AV devices connected to the 394 network are similarly searched. That is, the AV controller 10
The a and 10b first read all the AV device information on the bus to which they are connected, and store this information in the configuration ROM.
【0091】そして、AVコントローラ10a、10b
は各々のコンフィグレーション・ロムに格納されている
機器情報を読み取ることにより、互いのバスに接続され
ている機器情報を交換し、これにより1394バス上に
接続されている全てのAV機器の機器情報を獲得すると
ともに、相手がAVコントローラであることを互いに認
識することが可能となる。AVコントローラ10a、1
0bはこのようにしてバス上に接続されている全てのA
V機器についての機器情報を取得すると、これらの機器
の機能リストを作成する処理を行う。Then, the AV controllers 10a and 10b
Exchanges the device information connected to each other's buses by reading the device information stored in each configuration ROM, and as a result, the device information of all AV devices connected on the 1394 bus. It becomes possible to mutually recognize that the other party is the AV controller. AV controller 10a, 1
0b is all A's connected on the bus in this way
When the device information about the V devices is obtained, the function list of these devices is created.
【0092】図15(a)に、AVコントローラ10a
が作成した機器リストを、また、図15(b)にAVコ
ントローラ10bが作成した機器リストを示す。本実施
形態では、1394ネットワークに接続される全てのA
V機器に関する機器情報が機器リストに記載される。即
ち、AVコントローラ10a、及びAVコントローラ1
0bが作成する機器の機能リストには、それぞれAV機
器20a〜20d、1394ブリッジ40、AVコント
ローラ10b計7機器についての機能が記載される。FIG. 15A shows the AV controller 10a.
FIG. 15B shows the device list created by the AV controller 10b. In this embodiment, all A's connected to the 1394 network are
The device information regarding the V device is described in the device list. That is, the AV controller 10a and the AV controller 1
The function list of the devices created by 0b describes the functions of the AV devices 20a to 20d, the 1394 bridge 40, and the AV controller 10b, which are seven devices in total.
【0093】また、図15(a)、図15(b)に示す
リスト中の機器種別に記載される0〜2の値は、2が制
御対象となるAV機器、1がAVコントローラ、0がそ
の他の機器であることを示している。そして、本実施形
態では、AVコントローラ同士がコネクションの管理情
報を共有することにより、他のコントローラにより確立
あるいは予約されたコネクションを考慮して、優先度に
応じたコネクション制御が可能となる。Further, regarding the values of 0 to 2 described in the device types in the lists shown in FIGS. 15A and 15B, 2 is an AV device to be controlled, 1 is an AV controller, and 0 is It indicates that the device is other device. In this embodiment, the AV controllers share the connection management information, so that the connection control according to the priority can be performed in consideration of the connection established or reserved by another controller.
【0094】管理情報を共有する仕様は、具体的には自
分が設定した情報を他のコントローラに送信する処理
と、他のコントローラから送信された管理情報を自分の
管理情報に追加する処理とにより構成される。上述の自
分が設定した情報を他のコントローラに送信する処理
は、周期的に値を減ずるタイマを導入することにより実
行する。即ち、例えば、AVコントローラ10aがAV
コントローラ10bへ情報を送信する場合には、ステー
タスST4において、上述のタイマーをセットし、この
タイマの値が0になると、ステータスST6に遷移し
て、コントローラ10aは管理情報を他のコントロー
ラ、即ちコントローラ10bへ送信する。そして、この
送信が完了すると、タイマの値を再びセットしてからス
テータスST4に戻る。The specification for sharing the management information is, concretely, the process of transmitting the information set by itself to the other controller and the process of adding the management information transmitted from the other controller to the own management information. Composed. The above-described process of transmitting the information set by the user to another controller is executed by introducing a timer that periodically decreases the value. That is, for example, if the AV controller 10a is an AV
When transmitting information to the controller 10b, in the status ST4, the above-mentioned timer is set, and when the value of this timer becomes 0, the controller 10a transits to the status ST6, and the controller 10a transmits the management information to another controller, that is, the controller. Send to 10b. Then, when this transmission is completed, the value of the timer is reset and then the status returns to ST4.
【0095】次に、本実施形態で用いられるコネクショ
ン管理表を図16に示す。この管理表には、図10に示
した管理表に、コネクションの予約を受け付けたコント
ローラのGUIDを記述する項目、及び経路情報を記述
する項目が追加されたメインテーブルと、また、複数の
バスを経由して転送されるストリーム・パケットに対応
するため、経路情報を示すサブテーブルを別途作成し、
メインの管理表にはこのサブテーブルのポインタを記載
する構成としている。経路情報を示すサブテーブルは、
それぞれ管理番号に対応して設けられており、更に、ス
トリーム・パケットが転送される経路上のバス毎にパケ
ットの転送速度、チャンネル番号、帯域が記載される。Next, FIG. 16 shows a connection management table used in this embodiment. The management table shown in FIG. 10 includes a main table to which an item describing the GUID of the controller that has accepted the reservation of the connection and an item describing the route information are added, and a plurality of buses. To correspond to stream packets transferred via, create a separate sub-table showing route information,
The main management table has a structure in which the pointer of this sub-table is described. The sub-table showing route information is
They are provided in correspondence with the respective management numbers, and further, the packet transfer rate, channel number, and band are described for each bus on the route through which the stream packet is transferred.
【0096】また、本実施形態では第2の実施形態と同
様に、図11に示される管理仕様に基づいてコネクショ
ンの管理を行う。ただし、他のAVコントローラが受け
付けた既存コネクションの解放あるいは予約破棄を行う
場合には、自らこれらの処理を行うのではなく、他のA
Vコントローラに対して処理を要求する。要求を受けた
他のAVコントローラは直ちにその要求に対する処理を
行うことにより、複数のコントローラが共存しながら
も、コネクション制御が適切に行うことが可能となる。Further, in the present embodiment, the connection is managed based on the management specification shown in FIG. 11, as in the second embodiment. However, when releasing or reserving the existing connection accepted by another AV controller, the other A controller does not perform these processes but other A
Request processing from the V controller. By receiving the request, the other AV controller immediately processes the request, so that the connection control can be appropriately performed even when a plurality of controllers coexist.
【0097】上述したように、図11の管理仕様に基づ
いて図14のステータスST5において、コネクション
の確立、解放が行われる度に、ステータスST7におい
て図16に示した管理表は更新される。なお、本発明の
バスとしては、IEEE1394バスに代わり、USB
(Universal-Serial-Bus)としてもよい。As described above, the management table shown in FIG. 16 is updated in status ST7 every time connection is established and released in status ST5 of FIG. 14 based on the management specifications of FIG. In addition, as the bus of the present invention, instead of the IEEE1394 bus, a USB
It may be (Universal-Serial-Bus).
【0098】[0098]
【発明の効果】以上述べたように、請求項1に記載の発
明によれば、ストリームを介したコネクション型の通信
を行う場合において、他のコネクション型通信に優先し
て確実に行いたいとユーザが考える通信を確実に行うこ
とが可能となる。また、請求項2の発明によれば、新規
コネクションの確立要求の結果、新規あるいは既存のコ
レクションのうちいずれかのコネクション確立を拒否す
ることとなった場合に、少なくとも確立が解消されるコ
ネクションを該新規コネクションの要求者に提示し、該
コネクション確立の取り消し実行の可否を該要求者に決
定させるので、優先度が同等ぐらいのコネクションにお
けるコネクション解消などにおいては、その微妙な判断
を要求者自らが判断することができ、より優先したいス
トリーム転送を実施することが可能となる。また、請求
項3の発明によれば、新規コネクションの確立要求は、
少なくともストリームの送信が開始される時点を指定す
ることにより予約されたコネクションの確立要求も含
み、予約されたコネクションに対応するストリームの送
信が開始される時点から所定時間前には、該コネクショ
ンは既に確立されているので、現在、未来の双方におい
て、ユーザが確実に行いたいと考える通信を確実に実行
することが可能となるとともに、要求者がストリームの
送信を予約した時刻には、確実にストリームの転送を開
始することができ、確実にストリームの転送を行うこと
ができる。また、請求項4に記載の発明によれば、コネ
クションの確立要求が予約された時点から、該コネクシ
ョンが確立されるまでに、該新規コネクションに必要と
されるコネクション資源が獲得可能であることが検出さ
れた場合、直ちに該コネクション資源を獲得するので、
コネクション確立を指向するチャンスが増加する。従っ
て、コネクションを確立させる確率も高くなり、より確
実にストリームの転送が行われる。また、請求項5に記
載の発明によれば、コネクションの優先度は、コネクシ
ョンの確立要求を行った要求者に応じて設定されるの
で、要求者がみずから優先度を決定する手間を省略する
ことができる。また、請求項6に記載の発明によれば、
コネクションの優先度は、コネクションにより対応づけ
られる送信機器と受信機器とが各々備える機能の組み合
わせに応じて設定されるので、要求者が自ら優先度を決
定する手間を省略することができる。また、リアルタイ
ム転送であるのか、ダビングなどのリアルタイム転送が
必要でないものなのかを、判別することができより優先
度の高いストリーム転送を確実に行うことができる。ま
た、請求項7に記載の発明によれば、バスの起動後、且
つ、請求項1〜6に記載されるコネクションの確立要求
を受け付ける以前の時間帯において、当該ネットワーク
上の所定の機器が、バス帯域の一部あるいは全てを獲得
するので、本来はIRMによって管理されているバス帯
域を、みずから管理することが可能となる。請求項8に
記載の発明によればバスの起動後、且つ、請求項1〜6
に記載されるコネクションの確立要求を受け付ける以前
の時間帯において、当該ネットワーク上の所定の機器
が、バス帯域の一部あるいは全てと、ブロードキャスト
用のチャンネル番号資源とを獲得するので、バス上で行
われるストリーム転送の全ての管理をみずからが行うこ
とができる。As described above, according to the first aspect of the present invention, when connection-oriented communication via a stream is to be performed, the user wants to preferentially and securely perform other connection-oriented communication. It is possible to reliably carry out the communication considered by. Further, according to the invention of claim 2, when the connection request of the new or existing collection is rejected as a result of the request for establishing the new connection, at least the connection whose establishment is canceled is Since it is presented to the requester of the new connection and the requester decides whether or not to cancel the establishment of the connection, the requester himself / herself makes a delicate judgment when canceling the connection in a connection having the same priority. Therefore, it is possible to carry out a stream transfer which is desired to be prioritized. According to the invention of claim 3, the request for establishing a new connection is:
At least a predetermined time before the start of the transmission of the stream corresponding to the reserved connection is included, including the request for establishing the reserved connection by designating at least the start of the stream transmission. Since it has been established, it will be possible to reliably execute the communication that the user wants to make surely, both at present and in the future, and at the time when the requester reserves the transmission of the stream, the Can be started, and the stream can be surely transferred. Further, according to the invention described in claim 4, the connection resource required for the new connection can be acquired from the time when the connection establishment request is reserved until the connection is established. If it is detected, the connection resource will be acquired immediately.
The chances of establishing a connection increase. Therefore, the probability of establishing a connection also increases, and the stream is transferred more reliably. Further, according to the invention of claim 5, since the priority of the connection is set according to the requester who has made the connection establishment request, the requester can omit the trouble of himself / herself to determine the priority. You can According to the invention of claim 6,
Since the priority of the connection is set according to the combination of the functions of the transmitting device and the receiving device which are associated with each other by the connection, it is possible to omit the labor of the requester to determine the priority by himself. Further, it is possible to determine whether it is real-time transfer or real-time transfer such as dubbing is not necessary, and it is possible to reliably perform stream transfer with higher priority. Further, according to the invention described in claim 7, in a time period after the bus is activated and before the connection establishment request described in claims 1 to 6 is received, the predetermined device on the network is Since a part or all of the bus band is acquired, the bus band originally managed by the IRM can be managed by itself. According to the invention described in claim 8, after the bus is activated,
In the time zone before accepting the connection establishment request described in, the specified device on the network acquires a part or all of the bus band and the channel number resource for broadcasting. All management of the stream transfer that is performed can be done by oneself.
【0099】[0099]
【0100】[0100]
【0101】[0101]
【0102】[0102]
【0103】[0103]
【0104】[0104]
【0105】[0105]
【0106】[0106]
【0107】[0107]
【0108】[0108]
【0109】[0109]
【図1】 本発明によるAVコントローラの内部構成図
である。FIG. 1 is an internal configuration diagram of an AV controller according to the present invention.
【図2】 本発明による第1の実施形態における139
4ネットワークの構成を示す図である。FIG. 2 is a perspective view of the first embodiment 139 according to the present invention.
It is a figure which shows the structure of four networks.
【図3】 本発明による第1の実施形態におけるAVコ
ントローラ10aにより行われるコネクション確立の手
順を示す状態遷移図である。FIG. 3 is a state transition diagram showing a procedure of connection establishment performed by the AV controller 10a according to the first embodiment of the present invention.
【図4】 図3のステータスS3において、AVコント
ローラ10aが実行する処理を説明するためのフローチ
ャートである。FIG. 4 is a flowchart for explaining processing executed by the AV controller 10a in status S3 of FIG.
【図5】 コンフィグレーション・ロムのフォーマット
例を示す図である。FIG. 5 is a diagram showing a format example of a configuration ROM.
【図6】 IEC61883規格に定められるプラグ・
コントロール・レジスタのフォーマットを示す図であ
る。FIG. 6 is a plug stipulated in the IEC61883 standard.
It is a figure which shows the format of a control register.
【図7】 本発明による第1の実施形態における機器リ
ストを示す図である。FIG. 7 is a diagram showing a device list according to the first embodiment of the present invention.
【図8】 本発明による第1の実施形態におけるコネク
ションの管理表を示す図である。FIG. 8 is a diagram showing a connection management table according to the first embodiment of the present invention.
【図9】 図3のステータスS5において、AVコント
ローラ10aが行う処理について説明するためのフロー
チャートである。FIG. 9 is a flowchart illustrating a process performed by the AV controller 10a in status S5 of FIG.
【図10】 本発明による第2の実施形態におけるコネ
クションの管理表を示す図である。FIG. 10 is a diagram showing a connection management table according to the second embodiment of the present invention.
【図11】 本発明による第2及び第3の実施形態にお
けるコネクション管理仕様を示す図である。FIG. 11 is a diagram showing connection management specifications in the second and third embodiments according to the present invention.
【図12】 IEC61883規格に規定されるアイソ
クロナス・ストリーム・パケットのフォーマットの一例
を示す図である。FIG. 12 is a diagram showing an example of an isochronous stream packet format defined in the IEC61883 standard.
【図13】 本発明による第3の実施形態における13
94ネットワークの構成を示す図である。FIG. 13 shows a third embodiment of the present invention.
It is a figure which shows the structure of 94 network.
【図14】 本発明による第3の実施形態においてAV
コントローラ10aおよびAVコントローラ10bによ
り行われるコネクション確立の手順を示す状態遷移図で
ある。FIG. 14 shows an AV in the third embodiment according to the present invention.
It is a state transition diagram which shows the procedure of the connection establishment performed by the controller 10a and the AV controller 10b.
【図15】 本発明による第3の実施形態においてAV
コントローラ10aおよびAVコントローラ10bが作
成した機器リストを示す図である。FIG. 15 shows an AV in the third embodiment according to the present invention.
It is a figure which shows the apparatus list which the controller 10a and the AV controller 10b created.
【図16】 本発明による第3の実施形態におけるコネ
クションの管理表を示す図である。FIG. 16 is a diagram showing a connection management table in the third exemplary embodiment of the present invention.
【図17】 IEC61883規格に定められる、po
int−to−pointコネクションのestabl
ishing手順を示す図である。FIG. 17 shows the po defined in the IEC61883 standard.
establ of int-to-point connection
It is a figure which shows the ishing procedure.
1 メイン・ロム
2 コンフィグレーション・ロム
3 バス資源残量格納メモリ
4 機器情報リストメモリ
5 コネクション管理メモリ
6 1394LINK
7 1394PHY
8 CPU
10a、10b: AVコントローラ
20a、20b、20c、20d、20e、20f:
AV機器
30、30a、30b: 1394バス
40: 1394ブリッジ1 Main ROM 2 Configuration ROM 3 Bus resource remaining amount storage memory 4 Device information list memory 5 Connection management memory 6 1394LINK 7 1394PHY 8 CPU 10a, 10b: AV controller 20a, 20b, 20c, 20d, 20e, 20f:
AV equipment 30, 30a, 30b: 1394 bus 40: 1394 bridge
フロントページの続き (56)参考文献 特開 昭63−185252(JP,A) 特開 平5−268250(JP,A) 特開 平2−159157(JP,A) 特開 平9−46367(JP,A) 特開 平8−16501(JP,A) 特開 平11−340990(JP,A) 特開 昭62−92639(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/40 Continuation of the front page (56) Reference JP-A-63-185252 (JP, A) JP-A-5-268250 (JP, A) JP-A-2-159157 (JP, A) JP-A-9-46367 (JP , A) JP-A-8-16501 (JP, A) JP-A-11-340990 (JP, A) JP-A-62-92639 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB) Name) H04L 12/40
Claims (14)
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効あるいは無効とするバス管理
方法であって、 前記既存コネクションと前記新規コネクションにおい
て、各々のコネクション確立時間帯の一部あるいは全部
が重複している場合には、重複している時間帯において
は、前記既存コネクションと前記新規コネクションのう
ち優先度が高いコネクションにおいてそのコネクション
の確立を有効とし、重複していない時間帯においては、
双方のコネクションの確立を有効とすることを特徴とす
るバス管理方法。1. A connection resource which manages connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses, and which connection resource remains at present when a request for establishing a new connection is made. And a connection management resource further required for establishing the new connection, a priority of the existing connection, and a bus management method for validating or invalidating the establishment of the new connection based on the priority of the new connection. If some or all of the connection establishment time zones of the existing connection and the new connection are overlapped, the priority of the existing connection and the new connection is set in the overlapping time zone. Connection with a high Was used as a valid, in the non-overlapping time periods,
A bus management method characterized by enabling establishment of both connections.
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効或いは無効にするかを判断す
るバス管理方法であって、 新規コネクションの確立要求の結果、新規あるいは既存
のコレクションのうちいずれかのコネクション確立を無
効にすることとなった場合に、 無効にされると判断されたコネクションを該新規コネク
ションの要求者に提示し、該コネクション確立の取り消
し実行の可否を該要求者に決定させることを特徴とする
バス管理方法。2. A connection resource that manages connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses and, at the time of request for establishment of a new connection, remaining connection resources at the present time. And bus management for determining whether to establish or invalidate the establishment of the new connection based on the connection resources further required for establishing the new connection, the priority of the existing connection, and the priority of the new connection. In the method, when a new connection establishment request results in invalidating the connection establishment of either a new collection or an existing collection, the connection determined to be invalid is set to the new connection. Present it to the requester and ask whether to cancel the connection establishment. Bus management method, characterized in that to determine the requester.
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効あるいは無効とするバス管理
方法であって、 前記新規コネクションの確立要求は、前記ストリームの
送信が開始される時点を指定することにより予約された
コネクションの確立要求も含み、一方、前記既存コネク
ションは、該新規コネクションの要求よりも以前の時点
で確立、あるいは予約されたコネクションであり、 前記予約されたコネクションに対応するストリームの送
信が開始される時点から所定時間前には、該コネクショ
ンは既に確立されていることを特徴とするバス管理方
法。3. A connection resource that manages connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses and, at the time of requesting establishment of a new connection, remaining connection resources at the present time. And a connection management resource further required for establishing the new connection, a priority of the existing connection, and a bus management method for validating or invalidating the establishment of the new connection based on the priority of the new connection. , The new connection establishment request includes a reserved connection establishment request by designating a time point when the transmission of the stream is started, while the existing connection point is earlier than the new connection request. Connection established or reserved in It has been in the predetermined time before the time when the transmission is initiated for the corresponding streams to the connection, a bus management method, characterized in that the connection is already established.
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効あるいは無効とするバス管理
方法であって、 前記新規コネクションの確立要求は、前記ストリームの
送信が開始される時点を指定することにより予約された
コネクションの確立要求も含み、 前記コネクションの確立要求が予約された時点から、該
コネクションが確立されるまでに、該新規コネクション
に必要とされる前記コネクション資源が獲得可能である
ことが検出された場合、直ちに該コネクション資源を獲
得することを特徴とするバス管理方法。4. A connection resource which manages connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses, and which connection resource remains at the present time when a request for establishing a new connection is made. And a connection management resource further required for establishing the new connection, a priority of the existing connection, and a bus management method for validating or invalidating the establishment of the new connection based on the priority of the new connection. The new connection establishment request also includes a connection establishment request reserved by designating a time point at which the stream transmission is started, and the connection is established from the time the connection establishment request is reserved. The connection required for the new connection. If it Deployment resources can be acquired is detected, the bus management method characterized in that immediately acquire the connection resource.
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効あるいは無効とするバス管理
方法であって、 前記コネクションの優先度は、前記コネクションの確立
要求を行った要求者に応じて設定されることを特徴とす
るバス管理方法。5. A connection resource which manages connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses, and when a request for establishing a new connection is made, the remaining connection resources at the present time. And a connection management resource further required for establishing the new connection, a priority of the existing connection, and a bus management method for validating or invalidating the establishment of the new connection based on the priority of the new connection. The bus management method, wherein the priority of the connection is set according to the requester who has issued the connection establishment request.
成されるネットワーク上でストリームを介したコネクシ
ョン型の通信を管理するとともに、新規コネクションの
確立要求がなされた場合に、現時点における残存のコネ
クション資源と、該新規コネクション確立にさらに必要
とされるコネクション資源と、既存コネクションの優先
度と、該新規コネクションの優先度とに基づいて該新規
コネクションの確立を有効あるいは無効とするバス管理
方法であって、 前記コネクションの優先度は、前記コネクションにより
対応づけられる前記送信機器と前記受信機器とが各々備
える機能の組み合わせに応じて設定されることを特徴と
するバス管理方法。6. A connection resource that manages connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses and, at the time of requesting establishment of a new connection, remaining connection resources at the present time. And a connection management resource further required for establishing the new connection, a priority of the existing connection, and a bus management method for validating or invalidating the establishment of the new connection based on the priority of the new connection. The bus management method is characterized in that the priority of the connection is set according to a combination of functions of the transmitting device and the receiving device which are associated with each other by the connection.
載されるコネクションの確立要求を受け付ける以前の時
間帯において、当該ネットワーク上の所定の機器が、前
記バス帯域の一部あるいは全てを獲得することを特徴と
するバス管理方法。7. A predetermined device on the network is part or all of the bus band after the bus is activated and before the connection establishment request according to any one of claims 1 to 6 is received. A bus management method, characterized in that
載されるコネクションの確立要求を受け付ける以前の時
間帯において、当該ネットワーク上の所定の機器が、前
記バス帯域の一部あるいは全てと、ブロードキャスト用
のチャンネル番号資源とを獲得することを特徴とするバ
ス管理方法。8. A predetermined device on the network is part or all of the bus band after the bus is activated and before the connection establishment request according to any one of claims 1 to 6 is received. And a channel number resource for broadcast, and a bus management method.
号資源は、チャンネル番号63番であることを特徴とす
る請求項8に記載のバス管理方法。9. The bus management method according to claim 8, wherein the channel number resource for broadcasting is channel number 63.
94規格に準拠したシリアルバスであることを特徴とす
る請求項1〜9のいずれかの項に記載のバス管理方法。10. The high-speed serial bus is IEEE13
The bus management method according to any one of claims 1 to 9, wherein the bus management method is a serial bus conforming to the 94 standard.
されたバス管理方法の各手順をコンピュータに実行させ
ることを特徴とするバス制御プログラムを記録した記録
媒体。11. A recording medium having a bus control program recorded thereon, which causes a computer to execute each procedure of the bus management method according to any one of claims 1 to 10.
構成されるネットワーク上でストリームを介したコネク
ション型の通信を管理するバス管理機器において、 新規コネクションの確立要求を判断する判断部と、 コネクション資源の使用状況と優先度とを記録する記録
手段と、 前記判断部により新規コネクションの確立要求の存在が
判断された時点で前記記録手段を参照して、前記時点に
おける残存のコネクション資源と、新規コネクション確
立にさらに必要なコネクション資源と、既存コネクショ
ンの優先度と、新規コネクションの優先度とに基づいて
前記新規コネクションの確立を有効または無効とする制
御部と、 を有することを特徴とするバス管理機器。12. A bus management device for managing connection-type communication via a stream on a network composed of one or a plurality of high-speed serial buses, and a judgment unit for judging a request to establish a new connection, and a connection resource. Recording means for recording the usage status and priority of the new connection, and referring to the recording means at the time when the presence of the new connection establishment request is judged by the judgment part, the remaining connection resources at the time and the new connection A bus management device comprising: a connection resource further required for establishment; a priority of an existing connection; and a control unit for enabling or disabling the establishment of the new connection based on the priority of the new connection. .
ネクションにより対応づけられる前記送信機器と前記受
信機器とが各々備える機能の組み合わせに応じて設定さ
れることを特徴とする請求項12に記載のバス管理機
器。13. The bus according to claim 12, wherein the priority of the connection is set according to a combination of functions provided in the transmitting device and the receiving device which are associated with each other by the connection. Management equipment.
94規格に準拠したシリアルバスであることを特徴とす
る請求項12又は請求項13に記載のバス管理機器。14. The high-speed serial bus is IEEE13
The bus management device according to claim 12 or 13, wherein the bus management device is a serial bus conforming to the 94 standard.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34139199A JP3452001B2 (en) | 1999-11-30 | 1999-11-30 | Bus management method, recording medium for bus control program, and bus management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34139199A JP3452001B2 (en) | 1999-11-30 | 1999-11-30 | Bus management method, recording medium for bus control program, and bus management device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001156813A JP2001156813A (en) | 2001-06-08 |
| JP3452001B2 true JP3452001B2 (en) | 2003-09-29 |
Family
ID=18345710
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34139199A Expired - Fee Related JP3452001B2 (en) | 1999-11-30 | 1999-11-30 | Bus management method, recording medium for bus control program, and bus management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3452001B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5484037B2 (en) | 2009-12-24 | 2014-05-07 | スパンション エルエルシー | Data transmission method, data transmission apparatus and network system |
-
1999
- 1999-11-30 JP JP34139199A patent/JP3452001B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001156813A (en) | 2001-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6389496B1 (en) | Bridge including portals with ability to redefine network topology | |
| US20010007118A1 (en) | Communication path control method for data networks using high-speed buses interconnected by bridges | |
| EP1150460A1 (en) | Electronic equipment, and method for controlling state of physical layer circuit thereof | |
| US6272114B1 (en) | Data processing apparatus/method and electronic apparatus with such apparatus/method | |
| KR100649340B1 (en) | Communication method, communication device, communication system and providing medium | |
| JP3444247B2 (en) | Packet rate converter | |
| US6408355B1 (en) | Method for releasing isochronous transaction in bus network, bus network utilizing the method thereof and information provision medium | |
| KR20010018894A (en) | method for controlling bus in digital interface | |
| US6389502B1 (en) | Synchronous communication setting method in bus network, bus network utilizing the method thereof and information provision medium | |
| JP3452001B2 (en) | Bus management method, recording medium for bus control program, and bus management device | |
| US20020004711A1 (en) | Control device and control method | |
| US7043542B2 (en) | Information processing method and system for reserving and information processing apparatus having globally unique identification information | |
| EP1499071A1 (en) | Apparatus, method, program and information recording medium for data rate setting | |
| JP2003229857A (en) | Serial bus system, device for managing band of serial bus, and communication equipment | |
| KR100763716B1 (en) | Information control method, information processor, and information control system | |
| WO2000057263A1 (en) | A method and system for a multi-phase net refresh on a bus bridge interconnect | |
| JP4129603B2 (en) | Information processing apparatus and method, and providing medium | |
| JP5618805B2 (en) | COMMUNICATION DEVICE, NETWORK SYSTEM, AND COMMUNICATION METHOD | |
| JP4502653B2 (en) | Packet transmitting / receiving apparatus and packet identification method used therefor | |
| JP2000358039A (en) | Information processing apparatus and method, and medium | |
| JPWO2000070841A1 (en) | Communication method, communication device, communication system, and provision medium | |
| JP2006324869A (en) | Communication processing method and communication equipment for network system | |
| EP1085760A2 (en) | Unit connection setting methods and apparatus | |
| JP2004129096A (en) | Method for realizing gateway between networks and gateway device | |
| WO2000057289A1 (en) | A method and system for message broadcast flow control on a bus bridge interconnect |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20030617 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070718 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080718 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090718 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |