JP3894252B2 - Information processing system and method, and providing medium - Google Patents

Information processing system and method, and providing medium Download PDF

Info

Publication number
JP3894252B2
JP3894252B2 JP15040598A JP15040598A JP3894252B2 JP 3894252 B2 JP3894252 B2 JP 3894252B2 JP 15040598 A JP15040598 A JP 15040598A JP 15040598 A JP15040598 A JP 15040598A JP 3894252 B2 JP3894252 B2 JP 3894252B2
Authority
JP
Japan
Prior art keywords
information processing
node
processing apparatus
data
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP15040598A
Other languages
Japanese (ja)
Other versions
JPH11346237A (en
Inventor
淳二 加藤
正男 水谷
幸彦 青木
道男 宮野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP15040598A priority Critical patent/JP3894252B2/en
Priority to TW088108466A priority patent/TW428396B/en
Priority to IDP990492A priority patent/ID22610A/en
Priority to BR9901682-6A priority patent/BR9901682A/en
Priority to KR1019990019589A priority patent/KR19990088674A/en
Publication of JPH11346237A publication Critical patent/JPH11346237A/en
Application granted granted Critical
Publication of JP3894252B2 publication Critical patent/JP3894252B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0012High speed serial bus, e.g. IEEE P1394

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は情報処理システムおよび方法、並びに提供媒体に関し、特に、接続管理を行う装置が、接続を行うのに必要なパラメータを設定し、そのパラメータを接続される装置に伝送し、伝送されたパラメータを受信した装置は、そのパラメータに基づいて、チャンネルと帯域を確保することによりデータの授受を行うようにした情報処理システムおよび方法、並びに提供媒体に関する。
【0002】
【従来の技術】
複数の機器により構成されるネットワークにおいて、そのネットワーク上に存在する機器間でデータの授受を行う場合、データを送信する機器と、データを受信する機器とを指定する必要がある。この指定は、このネットワーク上で設定された機器(ノード)IDを用いて行われる。
【0003】
例えば、所定の機器Aが、接続されているモニタ上に、ユーザに対して、ネットワーク上に接続されている機器の名前やアイコンなどを表示させ、ユーザが、その表示されたなかからデータを送信する機器Bと、そのデータを受信する機器Cとを指定し、これら指定された機器B,C間で行われるデータの送受信を制御する場合を想定した場合、制御する機器Aは、ユーザに対してモニタ上に機器のアイコンなどを表示するために、ネットワーク上に存在する機器の属性、制御に必要となるデータを、予めネットワーク上から取得していなくてはならない。
【0004】
また、ネットワークのデータ転送レートが、データを中継する機器の性能により変わる場合、目的とする機器間でのデータ通信の転送スピードを決定するためのデータを、ネットワーク上から取得する。
【0005】
ネットワークとしてIEEE1394を例に挙げて説明すると、デジタルカムコーダなどで映像データを伝送する場合、IEC1883に規定される Connection Management Protocol の Broadcast Connection 通信を用いてデータの伝送が行なわれている。この方式では、データを送信する相手の機器の機器IDを指定せずに、IEEE1394のアイソクロナス(Isochronous)通信のチャンネルを一定値に固定し、受信機と送信機は、そのチャンネルに合わせてデータの送受信を行うことにより、データの送受信を可能としている。
【0006】
【発明が解決しようとする課題】
しかしながら、上述したようにネットワーク上の機器のデータを取得する処理は、パーソナルコンピュータなど、高性能のCPU(Central Processing Unit)や、RAM(Random Access Memory)を搭載した機器においては可能な処理であるが、AV(Audio Visual)機器などのように、高性能のCPUやRAMを搭載していない機器において、同様の処理を行なわせるのは困難であるという課題があった。
【0007】
また、上述したIEEE1394により構成されているネットワークにおいて、IEC1883によりデータの送受信を行う場合、データを送信する側は、データを受信する側の存在の有無に関係なしに、データを送信するため、受信する機器が存在していない場合、バスの帯域を無駄に使用することになる。さらに、データの転送速度は、送信機と受信機の能力に関わらず最低速度の転送レートに設定されて行われるため、処理能力の高い機器間で行われるデータの送受信であっても、その能力を有効に生かして行えないといった課題があった。
【0008】
IEC1883では、通信相手を特定して、データの送受信(入出力)の制御を行う Point to Point Connection が定義されているが、これを用いてデータの送受信を行う場合、ネットワーク上の機器の構成や転送スピードなどのデータを取得する必要があるため、上述したような、処理能力の低いAV機器などにとっては、困難な処理となるという課題があった。
【0009】
本発明はこのような状況に鑑みてなされたものであり、接続管理を行う装置が、接続を行うのに必要なパラメータを設定し、そのパラメータを接続される装置に伝送し、伝送されたパラメータを受信した装置は、そのパラメータに基づいて、チャンネルと帯域を確保することによりデータの授受を行うようにするものである。
【0010】
【課題を解決するための手段】
請求項1に記載の情報処理システムは、第1の情報処理装置は、第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定手段と、設定手段により設定されたパラメータを、第2の情報処理装置に送信する送信手段とを備え、第2の情報処理装置は、送信手段により送信されたパラメータを受信する受信手段と、受信手段により受信されたパラメータに基づいて、他の情報処理装置との間に帯域とチャンネルを確保する確保手段とを備えることを特徴とする。
【0011】
請求項5に記載の情報処理方法は、第1の情報処理装置の情報処理方法は、第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定ステップと、設定ステップで設定されたパラメータを、第2の情報処理装置に送信する送信ステップとを含み、第2の情報処理装置の情報処理方法は、送信ステップで送信されたパラメータを受信する受信ステップと、受信ステップで受信されたパラメータに基づいて、他の情報処理装置との間に帯域とチャンネルを確保する確保ステップとを含むことを特徴とする。
【0012】
請求項6に記載の提供媒体は、理システムにコンピュータプログラムを提供する提供媒体において、第1の情報処理装置に、第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定ステップと、設定ステップで設定されたパラメータを、第2の情報処理装置に送信する送信ステップとを含み、第2の情報処理装置に、送信ステップで送信されたパラメータを受信する受信ステップと、受信ステップで受信されたパラメータに基づいて、他の情報処理装置との間に帯域とチャンネルを確保する確保ステップとを含む処理を実行させるコンピュータが読み取り可能なプログラムを提供することを特徴とする。
【0013】
請求項1に記載の情報処理システム、請求項5に記載の情報処理方法、および請求項6に記載の提供媒体においては、第1の情報処理装置は、第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータが第2の情報処理装置に送信され、第2の情報処理装置は、受信されたパラメータに基づいて、他の情報処理装置との間に帯域とチャンネルが確保される。
【0014】
【発明の実施の形態】
以下に本発明の実施の形態を説明するが、特許請求の範囲に記載の発明の各手段と以下の実施の形態との対応関係を明らかにするために、各手段の後の括弧内に、対応する実施の形態(但し一例)を付加して本発明の特徴を記述すると、次のようになる。但し勿論この記載は、各手段を記載したものに限定することを意味するものではない。
【0015】
請求項1に記載の情報処理システムは、 第1の情報処理装置は、第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定手段(例えば、図17のステップS101乃至S104)と、設定手段により設定されたパラメータを、第2の情報処理装置に送信する送信手段(例えば、2の1394インタフェース17)とを備え、第2の情報処理装置は、送信手段により送信されたパラメータを受信する受信手段(例えば、図3の1394インタフェース34)と、受信手段により受信されたパラメータに基づいて、他の情報処理装 置との間に帯域とチャンネルを確保する確保手段(例えば、図28のステップS112乃至S114)とを備えることを特徴とする。
【0016】
請求項4に記載の情報処理システムは、第1の情報処理装置は、複数の情報処理装置のうち接続可能な情報処理装置を表示する制御を行う表示制御手段(例えば、図15のステップS83)と、表示制御手段により表示された画面から、接続機器が選択される選択手段(例えば、図15のステップS88)をさらに備え、設定手段は、選択手段により選択された情報処理装置に対するパラメータを設定することを特徴とする。
【0017】
図1は、本発明の情報処理システムの一実施の形態の構成を表す図である。CSチューナ1は、モニタ2とVTR(ビデオカセットレコーダ)3と接続され、VTR3は他のVTR4と接続されている。CSチューナ1、VTR3、およびVTR4は、それぞれ1394バス5により接続されている。また、CSチューナ1、VTR3、およびVTR4は、モニタ2と、図示されていないケーブルにより接続されている。なお、本発明の情報処理装置は、CSチューナ1に組み込む必要はなく、単独に存在する機器としても良い。
【0018】
図2は、CSチューナ1の内部構成を示すブロック図である。アンテナ20で受信された信号は、CSチューナメイン部11に入力される。CSチューナメイン部11は、入力された信号の復調、スクランブルの解除などの処理を施し、処理したデータを加算器18を介してNTSCエンコーダ16に出力する。あるいは、CSチューナメイン部11は、処理した信号を1394インタフェース17に出力する。
【0019】
ユーザがリモートコントローラ21を操作して送信させた指令は、CSチューナ1の赤外線受光部15により受信される。受信された指令に基づいて、CPU12は、CSチューナメイン部11や1394インタフェース17を制御する。さらにCPU12は、GUI(Graphical User Interface)エンジン14を制御し、必要に応じ、メニュー画面等を作成し、加算器18に出力し、CSチューナメイン部11から出力された映像データと共に、NTSCエンコーダ16に出力させる。
【0020】
NTSCエンコーダ16に入力された映像データは、NTSC信号に変換され、モニタ2に対して出力される。CPU12は、必要に応じデータをRAM13に記録し、必要に応じ記憶されたデータを読み出す。
【0021】
図3は、VTR3またはVTR4の内部構成を示すブロック図である。ここでは、VTR3として説明する。VTR制御部31は、CPU33の指令により、映像の記録再生動作の制御を行う。VTR制御部31は、他の機器から送信されたデータを、1394インタフェース34を介して入力する。また逆に、VTR制御部31は、映像データを1394インタフェース34を介して、他の機器に出力する。さらにVTR制御部31は、制御した結果の映像データを、NTSCエンコーダ36を介してモニタ2に出力する。
【0022】
CPU33は、ユーザが、操作パネル部38、またはリモートコントローラ40を操作することにより指示したデータに基づいて、VTR制御部31の制御を行う。なお、リモートコントローラ40により指示されたデータは、赤外線受光部37により受信され、赤外線受光部37からCPU33に伝送される。
【0023】
さらにCPU33は、必要に応じ、RAM32にデータを記憶させたり、記憶させたデータを読み出したりする。CPU33は、表示部35に、図示されていないビデオテープの残量やフレームカウンタなどを表示させる。
【0024】
このような内部構造をもつCSチューナ1とVTR3,4が接続されているネットワークにおける機器間での、データの送受信について説明する。
【0025】
まず図4のフローチャートを参照して、既に構成されているネットワーク上から、接続されていた機器が取り外された場合、または新たに接続された場合など、すなわち、バスに接続されている機器の構成が変化した場合に、新たに機器構成を調査する場合の処理について説明する。このフローチャートの処理は、ネットワークの機器を管理するCSチューナ1が行う。
【0026】
1394バス5により構成されるネットワーク上の機器の構成が変化すると、バスリセットが起こる。CSチューナ1の1394インタフェース17に、ステップS1において、バスリセットの信号が入力されると、CPU12に、そのことが通知される。ステップS2において、各機器が1394バス5に対して送出するSelf IDパケットが受信される。このSelf IDパケットは、図5に示したようなフォーマットをもつパケットである。
【0027】
Self IDパケットは、Self IDプロセスにおいて、各機器(ノード)の物理層から、1個乃至4個のいずれかの数が出力される。図5(A)に示されたSelf IDパケットは、1個の場合、または最初に出力されるSelf IDパケットの例であり、図5(B)は、2個乃至4個目に出力されるSelf IDパケットの例である。Self IDパケットの最初の32ビットが有効なデータであり、残りの32ビットはエラー検出に用いられる。
【0028】
図6は、Self IDパケットの構成要素を説明する図である。最上行の名前と記載されたセルの下方向のセルに記載された内容は、図5のSelf IDパケットの構成要素の名前に対応する。最上行のフィールドと記載されたセルの下方向のセルに記載された内容の右方向への延長領域と、最上行の内容と記載された下方向への延長領域が交わる位置に配置されたセルは、図5のSelf IDパケットの構成要素の内容を示している。Self IDパケットを受け取ったノードは、伝送される先頭から10ビット目のフィールドLに格納された情報を読み、Self IDパケットを出力したノードのリンク層の動作状態を知ることができる。所定の機器のリンク層が動作していることを知った他の機器は、その所定の機器に対して、リンク層を介して通信を実行することができる。
【0029】
CPU12は、このようなフォーマットをもつSelf IDパケットを解析することにより、バス上の総機器数、各機器のリンク層が動作しているか否か、各機器のデータ信号転送スピード、およびバスの木構造などの情報を取得する。
【0030】
ステップS3において、CSチューナ1のCPU12は、受信したSelf IDパケットとから、バスの木構造を解析する。この木構造の解析は、以下に示す、1394バスで接続されたネットワークの、3つの特徴を利用する。まず第1に、ノード(機器)1つに対して親ノードは1つのみ存在する。第2に、所定のノードの子ノードは、そのノード番号よりも小さく、親ノードは、そのノード番号よりも大きい。第3にルートノードには、親ノードは存在しない。
【0031】
このような特徴を利用すると、所定のノードのノード番号(番号の範囲としては、0乃至62)と子ノードの数(範囲としては、0乃至27)がわかれば、木構造を解析することが可能である。
【0032】
ステップS3において、バスの木構造の解析が終了されると、ステップS4において、ネットワーク上に接続されている機器間のデータ転送スピードの解析が行われる。ステップS5において、ノードユニークIDの読み出しが行われる。ステップS6において、各機器のプラグ番号が調べられる。各処理において、得られたデータは、RAM13に記憶される。
【0033】
ここで、ステップS3におけるバスの木構造の解析、ステップS4におけるデータ転送スピードの解析、およびステップS5におけるノードユニークIDの読み出し処理について、以下に説明する。
【0034】
CPU12は、バスの木構造を解析する際に、図5に示したフォーマット形式を持つSelf IDパケット#0(1個目のパケット)に含まれる「sp」から、このパケットを送信してきたノード(機器)のデータ転送スピードのデータを得る。そして、Self IDパケット#0の「p0,p1,p2」、およびSelf IDパケット#1乃至3の「pa,pb,pc,pd,pe,pf,pg,ph」から、ポートの状態を調べ、チャンネルの数が数えられる。
【0035】
このようなデータが得られる時に、その時点でのノードの総数(nNode)とリーフノードの数(LNode)をカウントしておく。そして、得られたデータから、木構造を解析していく。この解析について、図7のフローチャートを参照して説明する。
【0036】
ここで、”p”は親ノードの候補となっているノードIDを示し、”c”は子ノードの候補となっているノードIDを示す。”Node”は、木ノードの配列を示し、添字はノードIDを示す。この添字の範囲は0乃至(nNode−1)である。”nNode”は、その時点でバス上に存在するノードの総数を示す。”nChild”は、木ノードのパラメータとして、そのノードがもつ子ノードの数を示す。”ParentID”は木ノードのパラメータとして、そのノードの親ノードのノードIDを示す。”カウンタ”は、未決定の子ノードの数を示す。”プッシュ”や”ポップ”は、ノードIDを蓄えておくためのスタック操作用の関数を示す。
【0037】
CPU12は、木構造を解析するために、図8に示したような情報を、上述したSelf IDパケットから読み出し、RAM13に記憶してあり、その状態から、図7に示したフローチャートの処理が開始される。
【0038】
ステップS1において、親ノードの候補となるノードIDの値pを初期値である0に設定する。また、0と設定されたノードIDの値pは、スタックにプッシュ(PUSH)される。ステップS2において、ノードIDpに対して、ノードの総数nNodeの数よりも小さいか否かが判断され、小さいと判断された場合、ステップS3に進む。ステップS3において、未決定の子ノードの数を表すカウンタの値が、ノードIDがpであるノードが持つ子ノードの数(nChild)として設定される。
【0039】
ステップS4において、ステップS3で設定されたカウンタの値、または後述するステップS7で設定されたカウンタの値が0であるか否かが判断される。カウンタの値が0ではないと判断された場合、換言すれば、ノードIDがpであるノードには、子ノードが存在している場合、ステップS5に進む。ステップS5において、スタックからノードIDをポップ(POP)し、そのポップされたノードIDの値を子ノードの候補のノードIDcとして設定する。そして、設定されたcに対して、ステップS6において、ノードIDがcであるノードの親ノードIDを、親ノードの候補のノードIDの値pとして設定する。
【0040】
そして、ステップS7において、カウンタの値から1減算された値が新たなカウンタの値として設定される。設定後、ステップS4に戻り、それ以降の処理が繰り返される。
【0041】
ステップS4において、カウンタの値が0であると判断された場合、ステップS8に進み、スタックにノードIDとしてpがプッシュされる。そして、ステップS9において、pの値が1加算され、新たなpに対してステップS2以下の処理が繰り返される。
【0042】
ステップS2において、pの値がnNodeの値よりも大きいと判断された場合、ステップS10に進み、スタックが空にされる。そして、このフローチャートの処理、すなわち、木構造の解析の処理は終了される。
【0043】
このような処理を、ROM13に記憶されている図8に示したようなデータを用いる場合を例にあげて説明する。この場合、ノードIDは、0乃至5まで設定されているので、バス上に存在するノードの総数nNodeは、6である。
【0044】
まずステップS1において、親ノードの候補としてのノードIDの値pが0と設定されるので、ステップS2からステップS3へと進む。ノードIDが0のノードの子ノード(nChild)は、図8より0であることがわかる。従って、ステップS4からステップS8へと進む。そして、ステップS8において、スタックに0がプッシュされ、ステップS9において、pの値が1と更新される。
【0045】
ノードIDが1,2の場合は、上述した処理の流れと同じになるので、その説明は省略し、ステップS9において、pの値が3に更新された場合から説明する。ノードIDが3の場合、ステップS2からステップS3に進む。そして、ステップS3において、ノードIDが3の子ノードの数2が、カウンタの値として設定される。そして、ステップS4から、ステップS5へと進む。
【0046】
ステップS5において、スタックからノードIDがポップされるわけだが、この場合、ポップされるノードIDは、2である。そして、ステップS6において、ノードID2の親ノードのID3が、pの値として設定される。
【0047】
ステップS7において、カウンタの値が2から1だけ減算され、1とされ、ステップS4以降の処理が繰り返される。いまの場合、カウンタの値は1なので、ステップS5に進む。ステップS5において、スタックからノードIDがポップされるわけだが、いまの場合、ポップされる値としては、1である。ノードIDが1であるノードの親ノードIDは、3である。そして、ステップS7において、カウンタの値が1減算され、0となる。従って、ステップS4に戻り、その後、ステップS8に進む。
【0048】
ステップS8において、スタックに、ノードIDとしてpの値、この場合、3がプッシュされる。そして、ステップS8において、pの値3が1だけインクリメントされ、4とされて、ステップS2以降の処理が繰り返される。
【0049】
上述したような処理が、ノードID4,5に対しても行われる。そして、ステップS9において、pの値が1だけインクリメントされ、その値が6となった時点で、ステップS2における処理で、nNodeの値6よりも小さくはないと判断され、ステップS10に進み、スタックが空にされる。
【0050】
このようにして、解析された木構造は、図9に示すようになっている。すなわち、ノードID5を親ノードとして、ノードID0とノードID4が子ノードとしてぶら下がっている。そして、ノードID4を親ノードとして、ノードID3のノードが子ノードとしてぶら下がっている。さらに、ノードID3のノードを親ノードとして、ノードID1とノードID2が子ノードとしてぶら下がっている。
【0051】
次に解析された木構造を用いて、所定の2つのノード間のホップ数を算出する処理を、図10のフローチャートを参照して説明する。ここで、”m”と”n”は、それぞれ所定のノードのノードIDを示し、”tmp”は、2つのノード間での交換用一時変数を示している。また、”top”は、ノードmからルートに向かって探索した時の頂点のノードIDを示し、"node”は、ノードnからルートに向かって探索した時のノードIDを示す。さらに”hop”は、ホップ数のカウンタを示すとする。
【0052】
ステップS21において、2つのノードIDの値mとnが、m>nの関係にあるか否かが判断される。mのほうがnよりも大きいと判断された場合、ステップS2に進み、mとnを交換する。すなわち、tmp=m,m=n,n=tmpとする。そして、ステップS23に進む。
【0053】
一方、ステップS21において、m>nの関係にないと判断された場合、ステップS23に進む。ステップS23において、hopが−1に設定される。これは、自分自身とのホップ数を0にするために、初期値として−1として設定する。そして、ステップS24において、ノードIDの値がmのノードからルートに向かって探索した時の頂点のノードIDを表すtopがmに設定される。
【0054】
ステップS25において、topがnよりも小さいか否かが判断され、小さいと判断された場合、ステップS26に進み、hopの値が1だけインクリメントされる。そしてステップS27において、ノードIDがtopの親ノードのID(ParentID)を、新たなtopの値とし、ステップS25以下の処理が繰り返される。
【0055】
ステップS25において、topの値がnよりも大きいと判断された場合、ステップS28に進む。ステップS28においては、nodeの値がnに設定される。そして値が設定されたnodeは、ステップS29において、top以下の値であるか否かが判断される。そして、nodeがtop以下であると判断された場合、ステップS30に進む。ステップS30において、ホップの値が1だけインクリメントされる。
【0056】
ステップS31において、ノードIDがnodeの親ノードのIDが、新たなnodeの値として設定され、ステップS29に戻り、それ以降の処理が繰り返される。そして、ステップS29において、nodeの値がtopの値以下ではないと判断された場合、このフローチャートの処理(所定の2つのノード間のホップ数を求める処理)は終了される。
【0057】
ここで、図9に示した木構造を持つネットワークにおいて、ノードIDが1と4であるノード間でのホップ数を求める場合を例にあげ、上述した図10のフローチャートの処理を説明する。ここでは、m=1、n=4として説明する。このように設定すると、ステップS21からステップS23に進む。そして、ステップS23において、hopの値が−1に設定される。
【0058】
ステップS24において、top=m=1と設定される。従って、ステップS25から、ステップS26へと進み、hopの値が1だけインクリメントされ、0と設定される。ステップS27において、ノードIDがtopであるノードの親ノードIDがtopの値に設定されるわけだが、この場合、ノードIDが0である親ノードのID、5がtopの値として設定される。
【0059】
ステップS27において設定されたtopの値5に対して、ステップS25において、nより小さいか否かが判断されるわけだが、この場合、nは4なので、小さくはないと判断され、ステップS28に進む。
【0060】
ステップS28において、nodeの値がn、すなわち4に設定される。そして、ステップS29において、nodeの値がtopの値以下であるか否かが判断されるわけだが、この場合、node=4、top=5なので、ステップS30に進む。ステップS30において、hopの値が1だけインクリメントされ、1と設定される。
【0061】
ステップS31において、ノードIDがnodeの親ノードIDが、新たなnodeとして設定されるわけだが、この場合、ノードIDが4の親ノードID、5が、新たなnodeの値として設定される。そして、設定された値5に対して、ステップS29の処理が施される。いまの場合、nodeの値は5であり、topの値も5であるので、同値であると判断され、ステップS30に進み、hopの値が1だけインクリメントされ、2とされる。
【0062】
ステップS31において、ノードIDが5であるノードの親ノードID、NONE(図8より)が、新たなnodeの値として設定される。そして、ステップS29において、nodeの値とtopの値が比較されるわけだが、nodeの値はNONEであるので、比較することはできない。このような場合、定義できないので、回避処理として、このフローチャートの処理は終了される。従って、ノードID1とノードID4とのホップ数は、ステップS30において設定された2となる。
【0063】
次に、ノード間のデータの転送スピードの決定の仕方について、図11と図12のフローチャートを参照して説明する。ここで、”S1”,”S2”は、データの転送スピードを示し、”LSpeed”はS1とS2のうち小さい方を示す。
【0064】
ステップS41において、ノードIDの値mまたは値nが、バス上に存在するノードの総数nNodeよりも大きいか否かが判断される。ノードIDは、バス上の存在するノードの総数nNodeよりも大きくなることはないので、このようなことが起こった場合、ステップS42に進み、アンディファインド(Undefined)を返す。
【0065】
ステップS41において、ノードIDmとnが、バス上に存在するノードの総数nNodeよりも大きくはないと判断された場合、もしくはステップS42の処理が終了された場合、ステップS43に進む。ステップS43において、ノードIDmまたはnが、63であるか否かが判断される。ノードIDは、最大で62なので、ノードIDmまたはnが、63である場合、ステップS44に進み、アンディファインドを返す。
【0066】
ステップS43において、ノードIDmとnが、両方とも63ではないと判断された場合、もしくはステップS44の処理が終了された場合、ステップS45に進む。ステップS45において、ノードIDmとnが、ともに62であるか否かが判断される。ともに62であると判断された場合、ステップS46に進み、アンディファインドが返される。ステップS46の処理が終了されるか、もしくはステップS45において、ノードIDmとnが、共に62ではないと判断された場合、ステップS47に進む。
【0067】
ステップS47において、ノードIDの値mは、ノードIDの値nよりも大きいか否かが判断される。mの方がnよりも大きいと判断された場合、ステップS48に進み、mとnが入れ替えられる。すなわち、tmp=m,m=n,n=tmpとされる。このステップS48の処理が終了されるか、もしくはステップS47において、ノードIDの値mの方がノードIDの値nよりも小さいと判断された場合、ステップS49に進む。
【0068】
ステップS49において、S1=S400、S2=S400と設定される。1394バスを用いて構成されたネットワークでは、データ転送速度として、S100、1200、およびS400の3つの転送スピードが用意されている。この速度は、ノードにより異なり、そのノードの能力に応じて設定されている。
【0069】
ステップS50において、ノードIDnの転送スピードがS100か否かが判断される。ノードIDnの転送スピードがS100であると判断された場合、ステップS51に進み、S100が返される。ステップS51の処理が終了された場合、もしくはステップS50において、ノードIDnの転送スピードがS100ではないと判断された場合、ステップS52に進む。
【0070】
ステップS52において、頂点のノードIDの値topがノードIDの値mと設定される。そして、このtopに対して、ステップS53において、ノードIDnよりも小さいか否かが判断される。この判断により、topがnよりも小さいと判断された場合、ステップS54に進む。ステップS54において、ノードIDtopのノードの転送スピードがS100であるか否かが判断される。そして、ノードIDtopのノードの転送スピードがS100であると判断された場合、ステップS55に進み、S100が返される。
【0071】
ステップS55の処理が終了した場合、もしくはステップS54において、ノードIDtopのノードの転送スピードがS100ではないと判断された場合、ステップS56に進む。ステップS56において、ノードIDtopの転送スピードがS1以下であるか否かが判断される。ノードIDtopのノードの転送スピードがS1以下であると判断された場合、ステップS57に進み、ノードIDtopのノードの転送スピードをS1に設定する。
【0072】
一方、ステップS56において、ノードIDがtopのノードの転送スピードがS1以下ではないと判断された場合、もしくはステップS57の処理が終了した場合、ステップS58に進む。ステップS58において、ノードIDtopの親ノードのノードIDが、新たなtopの値として設定される。そして、このステップS58の処理が終了されると、ステップS53に戻り、それ以降の処理が繰り返される。
【0073】
ステップS53において、topがn以下であると判断された場合、ステップS59に進む。ステップS59において、ノードIDnからルートに向かって探索した時のノードIDであるnodeが、nに設定される。そして、ステップS60に進み、nodeがtop以下であるか否かが判断される。nodeがtop以下であると判断された場合、ステップS61に進む。
【0074】
ステップS61において、ノードIDがnodeであるノードの転送スピードがS100か否かが判断される。ノードIDnの転送スピードがS100であると判断された場合、ステップS62に進み、S100が返される。ステップS62の処理が終了された場合、もしくはステップS61において、ノードIDnの転送スピードがS100ではないと判断された場合、ステップS63に進む。
【0075】
ステップS63において、ノードIDがnodeであるノードの転送スピードがS2以下であるか否かが判断される。ノードIDがnodeであるノードの転送スピードがS2以下であると判断された場合、ステップS64に進み、ノードIDがnodeのノードの転送スピードをS2に設定する。
【0076】
一方、ステップS63において、ノードIDがnodeであるノードの転送スピードがS2以下ではないと判断された場合、もしくはステップS64の処理が終了した場合、ステップS65に進む。ステップS65において、ノードIDがnodeである親ノードのノードIDが、新たなnodeの値として設定される。そして、このステップS65の処理が終了されると、ステップS60に戻り、それ以降の処理が繰り返される。
【0077】
ステップS60において、nodeがtop以下ではないと判断された場合、ステップS66に進む。ステップS66では、上述した処理において、決定されたS1とS2とを比較し、S1がS2よりも小さいと判断された場合は、ステップS67に、S1がS2よりも大きいと判断された場合は、ステップS68に、それぞれ進む。ステップS67およびステップS68においては、ステップS66において、小さいと判断された転送スピードが、LSpeedと設定される。
【0078】
上述した2つの機器間におけるデータ転送スピードの決定処理について、図9で示した木構造をもつネットワークのうち、2つの機器としてノードID2とノードID4とを例に挙げて説明する。ここでは、m=2、n=4とする。従って、ステップS41からステップS43、そして、ステップS45へと進み、さらにステップS47まで進む。
【0079】
ステップS47において、m>nの関係であるか否かが判断されるわけだが、この場合、m=2、n=4なので、m>nの関係ではないと判断され、ステップS49に進む。ステップS49において、S1=S2=S400と設定される。そして、ステップSS50において、ノードIDがnであるノードのスピードがS100であるか否かが判断されるわけだが、いまの場合、ノード4のスピードは、S200なので、ステップS52に進む。
【0080】
ステップS52において、topの値がm、すなわち2と設定される。ステップS53において、top<nの関係にあるか否かが判断されるわけだが、いまの場合、top=2、n=4なので、top<nの関係にあると判断され、ステップS54に進む。ステップS54において、ノードIDがtopのノードのスピードがS100であるか否かが判断されるわけだが、いまの場合、ノードIDが2のスピードはS200であるので、ステップS56に進む。
【0081】
ステップS56において、ノードIDがtopのノードのスピード、すなわち、ノードIDが2のノードのスピード、S200が、S1=S400以下であるか否かが判断され、その結果として、ステップS57に進む。ステップS57において、ノードIDがtopのスピード、S200が、S1として設定される。そして、ステップS58に進み、ノードtopの親ノードのIDが新たなtopの値として設定される。すなわち、新たなtopの値は、3である。
【0082】
新たなtopの値3に対して、ステップS53以降の処理が繰り返される。この場合、nの値は4なので、ステップS53からステップS54へと進む。ノードIDが3のスピードはS100なので、ステップS54からステップS55に進み、S100が返される。そして、ステップS56に進み、ノードIDが3のノードのスピード、S100は、S1よりも小さいか否かが判断される。いまの場合、S1は、ステップS57で設定されたS200であるので、ステップS56の処理により、ステップS57へと進む。
【0083】
ステップS57において、ノードIDが3のスピード、S100が、新たなS1として設定される。そして、ステップS58において、ノードIDが3のノードの親ノードIDである4が、新たなtopの値として設定される。この新たなtopの値4に対して、ステップS53以下の処理が繰り返される。
【0084】
ステップS53において、top=4、n=4なので、top<nではないと判断され、ステップS59へと進む。ステップS59において、nodeの値がn、すなわち4に設定される。ステップS60における判断は、いまの場合、node=4、top=4なので、node<=topの関係であると判断され、ステップS61に進む。ステップS61において、ノードIDがnodeであるノードのスピードがS100であるか否かが判断されるわけだが、この場合、node=4であり、ノードIDが4のノードのスピードはS200なので、S100ではないと判断され、ステップS63に進む。
【0085】
ステップS63において、ノードIDが4のノードのスピード、S200が、S2よりも小さいか否かが判断される。いまの場合、S2はステップS49で設定されたS400となっているので、S2よりも小さいと判断され、ステップS64に進む。ステップS64において、S2のスピードがノードIDが4のノードのスピードS200に設定される。そして、ステップS65に進み、ノードIDがnodeの親ノードIDが、新たなnodeの値とされるわけだが、いまの場合、ノードIDが4の親ノードID、5が、新たなnodeの値として設定される。
【0086】
新たに値が設定されたnodeに対してステップS60以下の処理が繰り返される。この場合、node=5、top=4なので、node<=nの関係にはないと判断され、ステップS66に進む。ステップS66において、S1とS2の大小関係が判断される。この場合、S1はステップS57で設定されたS100であり、S2はステップS64で設定されたS200である。従って、ステップS66において、S1の方がS2よりも小さい(S1<S2)と判断され、ステップS67に進む。
【0087】
ステップS67において、LSpeedがS100と設定される。このようにして、ノードIDが2のノードと、ノードIDが4のノードとの間での、データ転送スピードが設定される。
【0088】
次に、コンフィギュレーション(Configuration)ROM内に存在するノードユニークIDの読み出しについて説明する。ノードユニークIDは、図13に示したようなフォーマット形式をもち、このフォーマットの内、24ビットで構成される”node Vendor ID”、8ビットで構成される”chip id hi”、および32ビットで構成される”chip id lo”により、そのノード(機器)のベンダーや機種などのデータを示している。
【0089】
このようなノードユニークIDを、CSチューナ1のCPU12は、図14のフローチャートに従って、読み出す。まずステップS71において、ノード番号Nが0に設定される。ステップS2において、ステップS71で設定されたノード番号N、または後述するステップS74で設定されたノード番号NをもつノードのSelf IDパケットのフィールドL(図5)が1であるか否かが判断される。Self IDパケットのフィールドLが1であると言うことは、リンク層が動作していることを示している。リンク層が動作している場合は、そのノードとリンク層を介して通信を行うことが可能である。
【0090】
ステップS72において、Self IDパケットのフィールドLが1であると判断された場合、ステップS73に進む。ステップS73において、Self IDパケットのフィールドLが1であると判断されたノードのノードユニークIDをコンフィギュレーションROMから読み出す。読み出しが終了した場合、もしくはステップS72において、Self IDパケットのフィールドLが1ではないと判断された場合、ステップS74に進み、ノード番号Nが1だけインクリメントされる。
【0091】
ステップS75において、ノード番号Nが総ノード数と同数であるか否かが判断される。総ノード数と同数ではないと判断された場合、ステップS72に戻り、それ以降の処理が繰り返される。一方、ステップS75において、ノード番号Nが総ノード数と同数であると判断された場合、換言すれば、全てのノードに対して、このフローチャートの処理を行ったと判断された場合、このフローチャートの処理は終了される。このように読み出されたノードユニークIDのデータは、RAM13に記憶される。
【0092】
次に、ユーザがバス上に接続されている2つの機器を選択し、その選択された機器間において、データの送受信をさせる場合のCSチューナ1の処理について、図15のフローチャートを参照して説明する。まずステップS81において、ユーザが、機器を接続する際に、モニタ2上に表示される画面を表示させるための、所定の操作をする。その操作に対応して、CSチューナ1は、ステップS82において、まず、ノードユニークIDから、バスに接続されている機器名とメーカ名を決定する。この決定は、図14で説明したフローチャートに基づいて、既に読み出され、RAM13に記憶されているデータにより行われる。
【0093】
ステップS82における決定に基づいて、CSチューナ1のCPU12は、ステップS83において、GUIエンジン14を制御して、図16に示すような画面を、モニタ2上に表示させる。
【0094】
図16に示した表示画面は、図1で示した構成例に基づいて作成された画面である。データを送信する側(Output)を縦に、データを受信する側(Input)を横に、それぞれ表示している。そして、縦に表示された機器と横に表示された機器とが重なったところには、接続選択ボタン53a乃至53f(以下、各接続選択ボタン53a乃至fを個々に区別する必要がない場合、単に接続選択ボタン53と記述する)が表示されている。この接続選択ボタン53は、接続可能な機器間のところにしか表示されないので、例えば、OutputがCSチューナで、InputもCSチューナというところには表示されていない。
【0095】
ユーザは、接続したい機器間のところに表示されている接続選択ボタン53を、カーソル51を操作して選択する。その選択で良ければ、コマンドボタン52の”選択”を、同じくカーソル51により操作する。このことにより、機器間の接続の選択は終了される。また、選択をし直した場合などは、コマンドボタン52の”戻る”が、操作される。
【0096】
ステップS84において、ユーザの操作に対応して、カーソルの移動処理が行われる。その一方で、ステップS85において、接続選択ボタン53またはコマンドボタン52が操作されたか否かが判断される。いずれかのボタンが操作されるまで、ステップS84とステップS85の処理は繰り返される。そして、ステップS85において、いずれかのボタンが操作されたと判断された場合、ステップS86に進む。
【0097】
ステップS86においては、操作されたボタンがコマンドボタン52の”戻る”のボタンであるか否かが判断される。”戻る”のボタンが操作されたと判断された場合、ステップS87に進み、所定の処理が行われた後、このフローチャートの処理は終了される。
【0098】
一方、ステップS86において、操作されたボタンは、コマンドボタン52の”戻る”のボタンではないと判断された場合、ステップS88に進む。ステップS88において、操作されたボタンの色が反転される。勿論、色を反転させるのでは無く、他の色を用いたり、点滅させたりする処理でも良い。図16の表示例では、接続選択ボタン53aと53dが選択され、他の接続選択ボタンb,c,e,fとは、色が反転されて表示されている。
【0099】
ステップS88において、選択されたボタン、この場合、接続選択ボタン53内のボタンが、色を反転されて表示されたら、ステップS89に進む。ステップS89において、選択されたボタンの入力機器と出力機器とに関するデータが、RAM13に記憶される。例えば、図16の表示例では、選択接続ボタン53aと53dが選択されているので、RAM13には、まず第1の関係として出力機器としてCSチューナ1、それに対する入力機器がVTR3であり、第2の関係として出力機器としてVTR3、それに対する入力機器がVTR4であるという、2つの入力機器と出力機器とが、その関係と共に記憶される。
【0100】
ステップS89における処理が終了された場合、ステップS90に進み、コマンドボタン52の”設定”が操作されたか否かが判断される。”設定”が操作されるまで、ステップS84に戻り、それ以降の処理が繰り返される。そして、ステップS90において、コマンドボタン52の”設定”が操作されたと判断された場合、このフローチャートの処理(機器間の接続設定の処理)は終了される。
【0101】
このように接続が設定された機器間において、実際にデータを送受信させるようにするために、CSチューナ1が行う処理を、図17のフローチャートを参照して説明する。まず設定接続ボタン53aに対する接続処理が行われる。ステップS101において、Input Plug Noの設定が行われる。この設定は、図4のステップS6で調べられた、各機器のプラグ番号を用いて設定される。すなわち、VTR3のプラグ番号のうち、Inputプラグとして使用できる番号が設定される。
【0102】
ステップS102において、データの出力元のノードのPhysical IDが設定される。この場合、CSチューナ1のPhysical IDである。そして、ステップS103において、Output Plug Noの設定が行われる。この場合、CSチューナ1の出力用のプラグナンバである。
【0103】
ステップS104において、データ転送スピードの設定が行われる。このデータ転送スピードは、図11と図12のフローチャートを参照して説明した処理で、既に決定され、RAM13に記憶されているので、その記憶されているデータを用いる。この場合、CSチューナ1とVTR3の間でのデータ転送スピードである。
【0104】
ステップS105において、次のペア(入力機器と出力機器)があるか否かが判断される。この場合、接続選択ボタン53dで選択されたVTR3とVTR4とのペアがあるので、ステップS101に戻り、それ以降の処理が繰り返される。
【0105】
ステップS101において、Input Plug Noとして、VTR4のプラグナンバが設定される。ステップS102において、データの出力先であるVTR4のPhysical IDが設定される。上述したCSチューナ1とVTR3との接続を設定する時は、データの出力元であるCSチューナ1のPhysical IDが設定された。このように、接続される機器間により、データの出力先のPhysical IDが設定されるのか、データの出力元のPhysical IDが設定されるのかは異なり、詳細については後述する。
【0106】
ステップS103において、Output Plug Noとして、VTR3の出力用のプラグナンバが設定される。ステップS104において、VTR3とVTR4の間でのデータ転送スピードの設定が行われる。そして、ステップS105において、次のペアがあるか否かが判断されるわけだが、この場合、上述した機器間以外のペアは設定されていないので、次のペアはないと判断され、このフローチャートの処理は終了される。
【0107】
このように、接続機器間毎に設定された情報を、CSチューナ1は、VTR3に対して送信する際、図18に示したようなデフォルトコネクションコマンド(Default Connection Command)を用いて行う。opecodeにおいて、デフォルトコネクションのコマンドであることを示し、Operand「0」は、サブファンクション(subfunction)を示し、Operand「1」は、プラグナンバ(Plug No)を示し、Operand「2」乃至「n」は、プラグタイプ(Plug type dependent field)を示している。
【0108】
Operand「0」のサブファンクションには、図19に示すようなデータが書き込まれている。すなわち、Outputプラグをセットアップする、Outputプラグを保護設定してセットアップする、セットアップしたOutputプラグを解除するなどである。また同様に、Inputプラグについても定義されている。
【0109】
Operand「1」のプラグナンバは、コントロールの対象となるプラグを指定する。この指定は、図20に示した表に従って、定義されている。このプラグナンバでより設定されたプラグタイプで、Operand「2」以降のプラグタイプフィールドのフォーマットが決定される。
【0110】
Operand「2」乃至「n」のプラグタイプフィールドは、図21に示す表により定義される。ここは、上述したように、プラグタイプにより決定されるフィールドである。Operand「2」は、データレイトを指定するフィールドであり、図22に示す表により定義される。また、Operand「2」「3」は、node idでコネクションを設定する際に相手とプラグを持つノードのnode idを指定する。Operand「5」は、コネクションを設定する際に、Operand「1」で指令されたプラグの相手となるプラグのプラグナンバを指定する。プラグナンバは、Operand「1」の規定に従う。また、両プラグは、同じでなくてはならず、一方がInputプラグであり、他方がOutputプラグになる。
【0111】
IEEE1394においては、バスリセットが起こると、それ以前に設定してあったデフォルトコネクションは、全てクリアされる。図23に示すデフォルトコネクションステイタスコマンド(Default Connection Status Command)は、プラグに対してデフォルトコネクションの設定状態を応答する際に用いられる。
【0112】
このようなフォーマットをもつコマンドが受信された場合、受信した機器は、図24に示すようなフォーマットをもつデフォルトコネクションリスポンス(Default Connection Response)を、コマンドを送信してきた機器に対して送信する。プラグが設定されている場合には、Subfunctionに、対応するコードとして、図19に示した、Output Plug Setup,Output Plug Setup with Lock,Input Plug Setup,Input Plug Setup with Lockが書き込まれ、Plug type dependent fieldには、そのパラメータが書き込まれている。
【0113】
プラグが設定がされていない場合は、Subfunctionに、対応するコードとして図19に示した、Output Plug Clear,Input Plug Clearが書き込まれ、Plug type dependent fieldは値FFhが設定される。
【0114】
このようなデフォルトコネクションコマンドを用いて、上述したCSチューナ1とVTR3、およびVTR3とVTR4との接続は行われる。まず、CSチューナ1とVTR3との接続について、具体的に図25を参照して説明する。ここでは、CSチューナ1のPhysical IDを「0XFFC0」とし、VTR3のPhysical IDを「0XFFC1」とする。
【0115】
この接続では、CSチューナ1からデータが出力され、VTR3が、そのデータを入力するような接続であるので、CSチューナ1には、Outputプラグが設定され、VTR3にはInputプラグが設定される。このようにプラグを設定し、接続するために、図25(A)の例では、デフォルトコネクションコマンドとして、(Plug0,S200,0XFFC0,Plug0,U)が、CSチューナ1からVTR3へと伝送される。
【0116】
このデフォルトコネクションコマンドは、Input Plug Setupを用いておこなわれているので、その配列は(Input Plug No,データ転送スピード,データ出力元のPhysical ID,Output Plug No,Lock/Unlock)の順となっている。このようなコマンドの各データは、上述した図15に示したフローチャートに基づいて、CSチューナ1において設定され、VTR3に対して伝送される。すなわち、”Input Plug No”は、ステップS101において設定される、VTR3の入力プラグナンバであり、”データ転送スピード”は、ステップS104において、設定され、既に図11と図12のフローチャートの処理により、求められている、CSチューナ1とVTR3との間でのデータ伝送スピードである。
【0117】
”データ出力元のPhysical ID”は、ステップS102で設定されるCSチューナ1のPhysical IDであり、このPhysical IDが設定される際、出力先のPhysical IDか、出力元のPhysical IDかも設定される。換言すれば、Operand「0」に書き込まれるデータも設定される。”Output Plug No”は、ステップS103で設定される、CSチューナ1の出力プラグナンバである。”Lock/Unlock”は、このデフォルトコネクションコマンドで設定されたパラメータを保護するか否かを示すデータである。
【0118】
VTR3は、このようなデフォルトコネクションコマンドを受信すると、そのコマンドを受信したという、ACCEPT信号をCSチューナ1に対して返信する。このことにより、VTR3は、Point to Point Connectionを設定し、図25(B)に示したように、CSチューナ1に Output Plug 0 が設定され、そのプラグに対して、VTR3に Input Plug 0 が設定される。そして、この機器間においては、設定されたプラグを用いてデータの授受が行われる。
【0119】
次に、図26を参照して、VTR3とVTR4との接続について説明する。この場合、VTR3がデータを出力し、VTR4(Physical IDは、0XFFC2とする)がそのデータを入力するので、VTR3にはOutputプラグが設定され、VTR4にはInputプラグが設定される。このようにプラグが設定されるために、CSチューナ1は、デフォルトコネクションコマンドとして、(Plug1,S400,0XFFC2,Plug3,U)をVTR3に対して伝送する。
【0120】
このデフォルトコネクションコマンドは、Output Plug Setup(Operand「0」に書き込まれるデータ)により行われる。従って、上述したコマンドの配列は、(Output Plug No,データ転送スピード,データ出力先のPhysical ID,Input Plug No,Lock/Unlock)の順となっている。このようなコマンドをVTR3が受信すると、ACCEPT信号をCSチューナ1に対して送信する。そして、VTR3は、受信したコマンドに従い、Point to Point Connectionを設定する。
【0121】
すなわち、VTR3は、自分自身にOutput Plug1を設定し、VTR4(Physical IDが0XFFC2)にInput Plug3を設定させる。そして、これらの機器間でのデータ転送スピードは、S400である。また、この接続においては、デフォルトコネクションのパラメータは、保護されていない(Unlock)。
【0122】
次に、デフォルトコネクションのパラメータが保護された場合の例を、図27を参照して説明する。CSチューナ1から、デフォルトコネクションコマンドとして、(Plug1,S400,0XFFC4,Plug3,L)が、Output Plug Setup with Lockにより、VTR3に対して伝送される。ここでは、Physical IDとして0XFFC4をもつコントローラが存在している。
【0123】
上述したデフォルトコネクションコマンドは、VTR3にOutputプラグ1を設定し、コントローラにInputプラグ1を設定し、その間でのエータ転送スピードはS400で行うことを指定し、これらのパラメータを保護(Lock)することを指示している。従って、図27(B)に示したように、コントローラからVTR3に対して、新たにOutputプラグを設定しろという、例えば、(Plug0,S100,0XFFC2,Plug0,U)というデフォルトコネクションコマンドが送信されたとしても、VTR3はそのコマンドを受け入れられない(Reject)という信号が、コントローラに対して送信される。
【0124】
上述したように、CSチューナ1からVTR3に対してデフォルトコネクションコマンドを送信し、そのコマンドを基づいてVTR3がPoint to Point Connectionを張るわけだが、このVTR3の動作について、図28のフローチャートを参照して説明する。
【0125】
まずステップS111において、ユーザがVTR3のを操作し、入出力の設定を、デジタル入力に設定する。デジタル入力と設定が行われると、ステップS112において、アイソクロナス通信を行うために、チャンネルを取得する。このチャンネルは、接続先と同じ番号が設定される。そして、ステップS113において、指定されたデータ転送スピードにより、アイソクロナス通信に必要な帯域を計算し、計算されただけの帯域を取得する。
【0126】
ステップS114において、CMP(Connection Management Protocol)に基づくPoint to Point Connectionを設定する。このようにして、VTR3は、このようにして、CSチューナ1とVTR4に対して、CSチューナ1が送信してきたデフォルトコネクションコマンドのパラメータに従って、コネクションを設定する。このようにコネクションが張られることにより、データの授受が可能となる。
【0127】
次に、図16に示したモニタ2の表示画面から、ユーザが接続する機器を選択し、選択された機器にデフォルトコネクションコマンドが送信され、そして、コネクションが設定されるまでの処理を、図29乃至図33を参照して説明する。
【0128】
図16に示した画面から、ユーザが接続機器として、CSチューナ1とVTR3、VTR3とVTR4との接続を、それぞれ設定したとすると、まずCSチューナ1において、上述したデフォルトコネクションコマンドのパラメータを設定し、VTR1に送信する。図29では、CSチューナ1は、デフォルトを送信する側なので、デフォルトの指定はされていない。VTR3には、CSチューナ1から送信されたデフォルト指定が設定されている。また同様にVTR4にも、CSチューナ1からのデフォルト指定が設定されている。
【0129】
図30において、VTR3が、デジタル入力に切り換えられると、VTR3は、デフォルト指定の欄に設定されている通信相手(CSチューナ1)とPoint to Point Connectionを張る。コネクションを張る際、チャンネルと帯域が取得される。図30の例では、チャンネルとして62が設定されている。CSチューナ1は、データを出力する側なので、OPCR(Output Plug Control Register)の欄に62が設定される。VTR3はデータを入力する側なので、IPCR(Input Plug Control Register)の欄に62が設定される。
【0130】
さらに、図31において、VTR4もデジタル入力に切り換えられると、VTR3が行った動作と同様の動作により、VTR3とコネクションを張る。この場合、VTR3のOPCRの欄に61設定され、VTR2のIPCRの欄にも61が設定される。このように設定されることにより、CSチューナ1からの出力されたデータは、VTR3で受信可能な状態となり、VTR3から出力されたデータは、VTR4で入力可能な状態とされる。
【0131】
さらに図32において、VTR3のデジタル入力の設定を、ユーザが解除したとする。この解除に従って、VTR3は、CSチューナ1との間に張られていたコネクションを解除する。この際、チャンネルと帯域も解放する。従って、CSチューナ1から出力されたデータは、VTR3には入力されなくなる。
【0132】
さらに、図33において、VTR4のデジタル入力の設定も解除された場合、VTR3との間に張られていたコネクションも解除される。
【0133】
このように、CSチューナ1が、接続の際に必要となるパラメータを設定し、必要に応じ、そのパラメータを必要とする機器に送信し、さらにパラメータを受信した機器は、そのパラメータに応じて、機器間の間にコネクションを張るようにしたので、機器間の接続の処理が軽減させることが可能となる。
【0134】
なお、本明細書中において、上記処理を実行するコンピュータプログラムをユーザに提供する提供媒体には、磁気ディスク、CD-ROMなどの情報記録媒体の他、インターネット、デジタル衛星などのネットワークによる伝送媒体も含まれる。
【0135】
【発明の効果】
請求項1に記載の情報処理システム、請求項5に記載の情報処理方法、および請求項6に記載の提供媒体によれば、第1の情報処理装置は、第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを第2の情報処理装置に送信し、第2の情報処理装置は、受信されたパラメータに基づいて、他の情報処理装置との間に帯域とチャンネルを確保するようにしたので、装置間の接続処理を軽減することが可能となる。
【図面の簡単な説明】
【図1】本発明の情報処理装置を適用した情報処理システムの一実施の形態の構成を示す図である。
【図2】CSチューナの内部構成を示すブロック図である。
【図3】 VTRの内部構成を示すブロック図である。
【図4】バスリセット時の処理を説明するフローチャートである。
【図5】 Self IDパケットの構成の例を示す図である。
【図6】 Self IDパケットの構成要素を説明する図である。
【図7】木構造の解析処理を説明するフローチャートである。
【図8】CSチューナのRAMに記憶されるデータを示す図である。
【図9】バスの木構造を説明する図である。
【図10】ホップ数を求める処理を説明するフローチャートである。
【図11】データ転送スピードの決定処理を説明するフローチャートである。
【図12】図9に続くフローチャートである。
【図13】ノードユニークIDの構成を説明する図である。
【図14】ノードユニークIDの読み出し処理を説明するフローチャートである。
【図15】機器間の接続設定処理を説明するフローチャートである。
【図16】モニタ2上に表示される画面の表示例である。
【図17】CSチューナが行う接続設定処理を説明するフローチャートである。
【図18】デフォルトコネクションコマンドのフォーマットを示す図である。
【図19】 Subfunctionフィールドを説明する図である。
【図20】 Operand「1」に記載されるデータを説明する図である。
【図21】 Operand「2」に記載されるデータを説明する図である。
【図22】データレイトの内容を説明する図である。
【図23】デフォルトコネクションのステイタスコマンドのフォーマットを説明する図である。
【図24】デフォルトコマンドのレスポンスのフォーマットを説明する図である。
【図25】デフォルトコネクションコマンドを用いたコネクションの張り方を説明する図である。
【図26】デフォルトコネクションコマンドを用いた他のコネクションの張り方を説明する図である。
【図27】デフォルトコネクションコマンドを用いたさらに他のコネクションの張り方を説明する図である。
【図28】 VTR3が行うコネクションを張る処理を説明するフローチャートである。
【図29】CSチューナ、VTR3、およびVTR4の動作を説明する図である。
【図30】CSチューナ、VTR3、およびVTR4の動作を説明する図である。
【図31】CSチューナ、VTR3、およびVTR4の動作を説明する図である。
【図32】CSチューナ、VTR3、およびVTR4の動作を説明する図である。
【図33】CSチューナ、VTR3、およびVTR4の動作を説明する図である。
【符号の説明】
1 CSチューナ, 2 モニタ, 3,4 VTR, 5 1394バス, 11CSチューナメイン部, 12 CPU, 13 RAM, 14 GUIエンジン, 51 カーソル, 52 コマンドボタン, 53 接続選択ボタン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing system and method, and a provided medium, and in particular, a device that performs connection management sets parameters necessary for connection, transmits the parameters to the connected device, and transmits the transmitted parameters. The information processing system and method, and the providing medium are designed to exchange data by securing a channel and a band based on the parameters.
[0002]
[Prior art]
In a network composed of a plurality of devices, when data is exchanged between devices existing on the network, it is necessary to designate a device that transmits data and a device that receives data. This designation is performed using a device (node) ID set on this network.
[0003]
For example, a predetermined device A causes a user to display the name or icon of a device connected to the network on a connected monitor, and the user transmits data from the displayed device. When it is assumed that the device B and the device C that receives the data are designated and the transmission / reception of data performed between the designated devices B and C is controlled, the controlling device A In order to display a device icon or the like on the monitor, it is necessary to obtain in advance the attribute of the device existing on the network and data necessary for control from the network.
[0004]
Further, when the data transfer rate of the network changes depending on the performance of the device that relays data, data for determining the transfer speed of data communication between the target devices is acquired from the network.
[0005]
As an example of the network, IEEE1394 is used as an example. When video data is transmitted using a digital camcorder or the like, data is transmitted using Broadcast Connection communication of Connection Management Protocol defined by IEC1883. In this method, the IEEE1394 isochronous communication channel is fixed to a fixed value without specifying the device ID of the partner device to which the data is transmitted, and the receiver and the transmitter can transmit data according to the channel. Data can be transmitted and received by performing transmission and reception.
[0006]
[Problems to be solved by the invention]
However, as described above, the process of acquiring data of a device on the network is a process that can be performed in a device equipped with a high-performance CPU (Central Processing Unit) or RAM (Random Access Memory) such as a personal computer. However, there is a problem that it is difficult to perform the same processing in a device such as an AV (Audio Visual) device that does not have a high-performance CPU or RAM.
[0007]
In addition, when data is transmitted / received according to IEC1883 in the network configured by IEEE1394 described above, the data transmitting side transmits data regardless of the presence / absence of the data receiving side. If there is no device to be used, the bus bandwidth is wasted. Furthermore, since the data transfer rate is set to the lowest transfer rate regardless of the capabilities of the transmitter and receiver, even if data is sent and received between devices with high processing capabilities, There was a problem that it was not possible to make effective use of.
[0008]
In IEC1883, Point to Point Connection is defined to control the data transmission / reception (input / output) by specifying the communication partner, but when using this to send and receive data, Since it is necessary to acquire data such as the transfer speed, there has been a problem that it is difficult processing for the AV equipment with low processing capability as described above.
[0009]
The present invention has been made in view of such a situation, and a device that performs connection management sets parameters necessary for connection, transmits the parameters to the connected device, and transmits the transmitted parameters. The device that has received the data exchanges data by securing a channel and a band based on the parameters.
[0010]
[Means for Solving the Problems]
In the information processing system according to claim 1, the first information processing apparatus includes a setting unit that sets a parameter necessary for connecting the second information processing apparatus and another information processing apparatus, and a setting unit. A transmission unit configured to transmit the set parameter to the second information processing apparatus, the second information processing apparatus configured to receive the parameter transmitted by the transmission unit, and the parameter received by the reception unit. And securing means for securing a band and a channel with another information processing apparatus.
[0011]
The information processing method according to claim 5, wherein the information processing method of the first information processing apparatus is a setting step for setting parameters necessary for connecting the second information processing apparatus and another information processing apparatus. A transmission step of transmitting the parameter set in the setting step to the second information processing device, and the information processing method of the second information processing device includes a reception step of receiving the parameter transmitted in the transmission step; And a securing step of securing a band and a channel with another information processing apparatus based on the parameter received in the receiving step.
[0012]
The providing medium according to claim 6 is a providing medium for providing a computer program to a physical system, and is necessary for connecting the second information processing apparatus and another information processing apparatus to the first information processing apparatus. A setting step for setting a parameter; and a transmission step for transmitting the parameter set in the setting step to the second information processing apparatus. The second information processing apparatus receives the parameter transmitted in the transmission step. To provide a computer-readable program for executing processing including a receiving step and a securing step for securing a band and a channel with another information processing apparatus based on the parameters received in the receiving step. Features.
[0013]
In the information processing system according to claim 1, the information processing method according to claim 5, and the providing medium according to claim 6, the first information processing apparatus includes the second information processing apparatus and other information. Parameters necessary for connecting to the processing device are transmitted to the second information processing device, and the second information processing device uses the received parameters to determine the bandwidth and channel between the other information processing devices. Is secured.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below, but in order to clarify the correspondence between each means of the invention described in the claims and the following embodiments, in parentheses after each means, The features of the present invention will be described with the corresponding embodiment (however, an example) added. However, of course, this description does not mean that each means is limited to the description.
[0015]
The information processing system according to claim 1, wherein the first information processing apparatus is a setting unit (for example, FIG. 17) that sets parameters necessary for connecting the second information processing apparatus and another information processing apparatus. Steps S101 to S104) and transmission means (for example, two 1394 interfaces 17) for transmitting the parameters set by the setting means to the second information processing apparatus. The second information processing apparatus transmits A band and a channel are secured between the receiving means (for example, the 1394 interface 34 in FIG. 3) that receives the parameter transmitted by the means and the other information processing apparatus based on the parameter received by the receiving means. And securing means (for example, steps S112 to S114 in FIG. 28).
[0016]
In the information processing system according to claim 4, the first information processing apparatus performs display control means for performing control to display a connectable information processing apparatus among the plurality of information processing apparatuses (for example, step S83 in FIG. 15). And a selection means (for example, step S88 in FIG. 15) for selecting the connected device from the screen displayed by the display control means, and the setting means sets a parameter for the information processing apparatus selected by the selection means It is characterized by doing.
[0017]
FIG. 1 is a diagram showing the configuration of an embodiment of an information processing system of the present invention. The CS tuner 1 is connected to a monitor 2 and a VTR (video cassette recorder) 3, and the VTR 3 is connected to another VTR 4. The CS tuner 1, VTR 3, and VTR 4 are connected by a 1394 bus 5. The CS tuner 1, VTR3, and VTR4 are connected to the monitor 2 by a cable (not shown). Note that the information processing apparatus of the present invention does not need to be incorporated in the CS tuner 1 and may be a device that exists independently.
[0018]
FIG. 2 is a block diagram showing the internal configuration of the CS tuner 1. A signal received by the antenna 20 is input to the CS tuner main unit 11. The CS tuner main unit 11 performs processing such as demodulation of the input signal and descrambling, and outputs the processed data to the NTSC encoder 16 via the adder 18. Alternatively, the CS tuner main unit 11 outputs the processed signal to the 1394 interface 17.
[0019]
A command transmitted by the user operating the remote controller 21 is received by the infrared light receiving unit 15 of the CS tuner 1. Based on the received command, the CPU 12 controls the CS tuner main unit 11 and the 1394 interface 17. Further, the CPU 12 controls a GUI (Graphical User Interface) engine 14, creates a menu screen or the like as necessary, outputs it to the adder 18, and the NTSC encoder 16 together with the video data output from the CS tuner main unit 11. To output.
[0020]
The video data input to the NTSC encoder 16 is converted into an NTSC signal and output to the monitor 2. The CPU 12 records data in the RAM 13 as necessary, and reads out the stored data as necessary.
[0021]
FIG. 3 is a block diagram showing the internal configuration of the VTR 3 or VTR 4. Here, explanation will be made as VTR3. The VTR control unit 31 controls the video recording / reproducing operation according to a command from the CPU 33. The VTR control unit 31 inputs data transmitted from another device via the 1394 interface 34. Conversely, the VTR control unit 31 outputs the video data to other devices via the 1394 interface 34. Further, the VTR control unit 31 outputs the controlled video data to the monitor 2 via the NTSC encoder 36.
[0022]
The CPU 33 controls the VTR control unit 31 based on data instructed by the user operating the operation panel unit 38 or the remote controller 40. The data instructed by the remote controller 40 is received by the infrared light receiving unit 37 and transmitted from the infrared light receiving unit 37 to the CPU 33.
[0023]
Furthermore, the CPU 33 stores data in the RAM 32 and reads the stored data as necessary. The CPU 33 causes the display unit 35 to display the remaining amount of video tape, a frame counter, etc., not shown.
[0024]
Data transmission / reception between devices in a network to which the CS tuner 1 having such an internal structure and the VTRs 3 and 4 are connected will be described.
[0025]
First, referring to the flowchart of FIG. 4, when the connected device is removed from the already configured network or newly connected, that is, the configuration of the device connected to the bus. A description will be given of a process when a new device configuration is investigated in the case where a change occurs. The processing of this flowchart is performed by the CS tuner 1 that manages network devices.
[0026]
When the configuration of the devices on the network constituted by the 1394 bus 5 changes, a bus reset occurs. When a bus reset signal is input to the 1394 interface 17 of the CS tuner 1 in step S1, the CPU 12 is notified of this. In step S2, a Self ID packet sent from each device to the 1394 bus 5 is received. This Self ID packet is a packet having a format as shown in FIG.
[0027]
In the Self ID process, any number of 1 to 4 Self ID packets are output from the physical layer of each device (node). The Self ID packet shown in FIG. 5 (A) is an example of the Self ID packet that is output first or in the first case, and FIG. 5 (B) is output in the second to fourth packets. It is an example of a Self ID packet. The first 32 bits of the Self ID packet are valid data, and the remaining 32 bits are used for error detection.
[0028]
FIG. 6 is a diagram for explaining the components of the Self ID packet. The contents described in the cells in the downward direction of the cell described as the name of the top row correspond to the names of the components of the Self ID packet in FIG. The cell located at the position where the extended area in the right direction of the contents written in the cell in the lower direction of the cell described as the top row field and the extended area in the lower direction indicated by the contents of the top row intersect Shows the contents of the components of the Self ID packet of FIG. The node that has received the Self ID packet can read the information stored in the field L of the 10th bit from the beginning of transmission and know the operation state of the link layer of the node that has output the Self ID packet. Other devices that know that the link layer of a given device is operating can communicate with the given device via the link layer.
[0029]
The CPU 12 analyzes the Self ID packet having such a format to determine the total number of devices on the bus, whether or not the link layer of each device is operating, the data signal transfer speed of each device, and the bus tree. Get information such as structure.
[0030]
In step S3, the CPU 12 of the CS tuner 1 analyzes the bus tree structure from the received Self ID packet. This tree structure analysis utilizes the following three characteristics of a network connected by a 1394 bus. First, there is only one parent node for one node (device). Second, the child node of a given node is smaller than its node number, and the parent node is larger than its node number. Third, the root node has no parent node.
[0031]
If such a feature is used, the tree structure can be analyzed if the node number of the predetermined node (the number range is 0 to 62) and the number of child nodes (the range is 0 to 27) are known. Is possible.
[0032]
When the analysis of the tree structure of the bus is completed in step S3, the data transfer speed between devices connected on the network is analyzed in step S4. In step S5, the node unique ID is read. In step S6, the plug number of each device is checked. In each process, the obtained data is stored in the RAM 13.
[0033]
Here, the analysis of the tree structure of the bus in step S3, the analysis of the data transfer speed in step S4, and the process of reading the node unique ID in step S5 will be described below.
[0034]
When analyzing the tree structure of the bus, the CPU 12 transmits the packet from “sp” included in the Self ID packet # 0 (first packet) having the format shown in FIG. Device) data transfer speed data. Then, from “p0, p1, p2” of the Self ID packet # 0 and “pa, pb, pc, pd, pe, pf, pg, ph” of the Self ID packets # 1 to # 3, the state of the port is examined. The number of channels is counted.
[0035]
When such data is obtained, the total number of nodes (nNode) and the number of leaf nodes (LNode) at that time are counted. Then, the tree structure is analyzed from the obtained data. This analysis will be described with reference to the flowchart of FIG.
[0036]
Here, “p” indicates a node ID that is a candidate for a parent node, and “c” indicates a node ID that is a candidate for a child node. “Node” indicates an array of tree nodes, and the subscript indicates a node ID. The range of this subscript is 0 to (nNode-1). “NNode” indicates the total number of nodes existing on the bus at that time. “NChild” indicates the number of child nodes of the node as a parameter of the tree node. “ParentID” indicates the node ID of the parent node of the node as a parameter of the tree node. “Counter” indicates the number of undecided child nodes. “Push” and “Pop” indicate stack operation functions for storing node IDs.
[0037]
In order to analyze the tree structure, the CPU 12 reads the information as shown in FIG. 8 from the above Self ID packet and stores it in the RAM 13, and the processing of the flowchart shown in FIG. 7 starts from this state. Is done.
[0038]
In step S1, a node ID value p that is a candidate for the parent node is set to 0, which is an initial value. Also, the node ID value p set to 0 is pushed (PUSH) onto the stack. In step S2, it is determined whether or not the node IDp is smaller than the total number of nodes nNode. If it is determined that the node IDp is smaller, the process proceeds to step S3. In step S3, the value of the counter indicating the number of undecided child nodes is set as the number of child nodes (nChild) possessed by the node whose node ID is p.
[0039]
In step S4, it is determined whether or not the counter value set in step S3 or the counter value set in step S7 described later is zero. If it is determined that the value of the counter is not 0, in other words, if there is a child node in the node whose node ID is p, the process proceeds to step S5. In step S5, the node ID is popped from the stack (POP), and the value of the popped node ID is set as a child node candidate node IDc. Then, for the set c, in step S6, the parent node ID of the node whose node ID is c is set as the value p of the parent node candidate node ID.
[0040]
In step S7, a value obtained by subtracting 1 from the counter value is set as a new counter value. After the setting, the process returns to step S4, and the subsequent processing is repeated.
[0041]
In step S4, when it is determined that the value of the counter is 0, the process proceeds to step S8, and p is pushed as a node ID to the stack. In step S9, 1 is added to the value of p, and the processing in step S2 and subsequent steps is repeated for the new p.
[0042]
If it is determined in step S2 that the value of p is larger than the value of nNode, the process proceeds to step S10 and the stack is emptied. Then, the process of this flowchart, that is, the process of analyzing the tree structure is finished.
[0043]
Such processing will be described by taking as an example the case of using data as shown in FIG. 8 stored in the ROM 13. In this case, since the node ID is set from 0 to 5, the total number nNode of nodes existing on the bus is 6.
[0044]
First, in step S1, since the value p of the node ID as a parent node candidate is set to 0, the process proceeds from step S2 to step S3. It can be seen from FIG. 8 that the child node (nChild) of the node whose node ID is 0 is 0. Accordingly, the process proceeds from step S4 to step S8. In step S8, 0 is pushed onto the stack, and in step S9, the value of p is updated to 1.
[0045]
When the node ID is 1 or 2, the processing flow is the same as described above, and therefore the description thereof is omitted. The description starts from the case where the value of p is updated to 3 in step S9. When the node ID is 3, the process proceeds from step S2 to step S3. In step S3, the number of child nodes having a node ID of 3 is set as the counter value. Then, the process proceeds from step S4 to step S5.
[0046]
In step S5, the node ID is popped from the stack. In this case, the node ID to be popped is 2. In step S6, the parent node ID3 of the node ID2 is set as the value of p.
[0047]
In step S7, the counter value is subtracted by 1 from 2, and is set to 1, and the processes in and after step S4 are repeated. In this case, since the value of the counter is 1, the process proceeds to step S5. In step S5, the node ID is popped from the stack. In this case, the popped value is 1. The parent node ID of the node whose node ID is 1 is 3. In step S7, the counter value is decremented by 1 to 0. Therefore, the process returns to step S4, and then proceeds to step S8.
[0048]
In step S8, the value of p as a node ID, in this case, 3 is pushed onto the stack. In step S8, the value 3 of p is incremented by 1 and set to 4, and the processes in and after step S2 are repeated.
[0049]
The processing as described above is also performed for the node IDs 4 and 5. In step S9, when the value of p is incremented by 1 and becomes 6, it is determined in step S2 that the value is not smaller than nNode value 6, and the process proceeds to step S10. Is emptied.
[0050]
The tree structure analyzed in this way is as shown in FIG. That is, the node ID 5 is a parent node, and the node ID 0 and the node ID 4 are hanging as child nodes. Node ID 4 is the parent node, and node ID 3 is the child node. Further, node ID3 is a parent node, and node ID1 and node ID2 are hanging as child nodes.
[0051]
Next, a process for calculating the number of hops between two predetermined nodes using the analyzed tree structure will be described with reference to the flowchart of FIG. Here, “m” and “n” indicate node IDs of predetermined nodes, respectively, and “tmp” indicates a temporary variable for replacement between two nodes. “Top” indicates a node ID of a vertex when searching from the node m toward the root, and “node” indicates a node ID when searching from the node n toward the root. Further, “hop” represents a hop counter.
[0052]
In step S21, it is determined whether or not the values m and n of the two node IDs have a relationship of m> n. When it is determined that m is larger than n, the process proceeds to step S2, and m and n are exchanged. That is, tmp = m, m = n, and n = tmp. Then, the process proceeds to step S23.
[0053]
On the other hand, if it is determined in step S21 that there is no relationship of m> n, the process proceeds to step S23. In step S23, hop is set to -1. This is set to -1 as an initial value in order to set the number of hops with itself to zero. In step S24, the top representing the node ID of the vertex when searching from the node having the node ID value m toward the root is set to m.
[0054]
In step S25, it is determined whether or not top is smaller than n. If it is determined that top is small, the process proceeds to step S26, and the value of hop is incremented by one. In step S27, the ID (ParentID) of the parent node whose node ID is top is set as a new top value, and the processes in and after step S25 are repeated.
[0055]
If it is determined in step S25 that the value of top is larger than n, the process proceeds to step S28. In step S28, the value of node is set to n. Then, in step S29, it is determined whether the node for which the value is set is a value equal to or less than top. If it is determined that the node is equal to or less than top, the process proceeds to step S30. In step S30, the hop value is incremented by one.
[0056]
In step S31, the ID of the parent node whose node ID is node is set as a new node value, the process returns to step S29, and the subsequent processing is repeated. If it is determined in step S29 that the value of node is not less than or equal to the value of top, the processing of this flowchart (processing for obtaining the number of hops between two predetermined nodes) is terminated.
[0057]
Here, in the network having the tree structure shown in FIG. 9, a case where the number of hops between nodes having node IDs 1 and 4 is obtained will be described as an example, and the process of the flowchart of FIG. Here, it is assumed that m = 1 and n = 4. If it sets in this way, it will progress to step S23 from step S21. In step S23, the value of hop is set to -1.
[0058]
In step S24, top = m = 1 is set. Accordingly, the process proceeds from step S25 to step S26, where the value of hop is incremented by 1 and set to 0. In step S27, the parent node ID of the node whose node ID is top is set to the value of top. In this case, the ID of the parent node whose node ID is 0 is set to the value of top.
[0059]
Whether or not the top value 5 set in step S27 is smaller than n is determined in step S25. In this case, since n is 4, it is determined that the value is not small, and the process proceeds to step S28. .
[0060]
In step S28, the value of node is set to n, that is, 4. In step S29, it is determined whether or not the value of node is equal to or less than the value of top. In this case, since node = 4 and top = 5, the process proceeds to step S30. In step S30, the value of hop is incremented by 1 and set to 1.
[0061]
In step S31, the parent node ID whose node ID is “node” is set as a new node. In this case, the parent node ID “5” whose node ID is “4” is set as the new node value. Then, the process of step S29 is performed on the set value 5. In this case, since the value of node is 5 and the value of top is also 5, it is determined that the values are the same, and the process proceeds to step S30, where the value of hop is incremented by 1 and set to 2.
[0062]
In step S31, the parent node ID of the node whose node ID is 5, NONE (from FIG. 8) is set as the new node value. In step S29, the value of node is compared with the value of top. However, since the value of node is NONE, it cannot be compared. In such a case, since it cannot be defined, the process of this flowchart is ended as an avoidance process. Therefore, the number of hops between the node ID 1 and the node ID 4 is 2 set in step S30.
[0063]
Next, how to determine the data transfer speed between nodes will be described with reference to the flowcharts of FIGS. Here, “S1” and “S2” indicate the data transfer speed, and “LSpeed” indicates the smaller of S1 and S2.
[0064]
In step S41, it is determined whether or not the value m or the value n of the node ID is larger than the total number nNode of nodes existing on the bus. Since the node ID does not become larger than the total number nNode of existing nodes on the bus, when such a situation occurs, the process proceeds to step S42 and returns Undefined.
[0065]
If it is determined in step S41 that the node IDs m and n are not larger than the total number nNode of nodes existing on the bus, or if the process of step S42 is completed, the process proceeds to step S43. In step S43, it is determined whether or not the node ID m or n is 63. Since the node ID is 62 at the maximum, when the node ID m or n is 63, the process proceeds to step S44 and returns undefined.
[0066]
If it is determined in step S43 that both node IDs m and n are not 63, or if the process of step S44 is terminated, the process proceeds to step S45. In step S45, it is determined whether or not the node IDs m and n are both 62. If it is determined that both are 62, the process proceeds to step S46, where undefined is returned. When the process of step S46 is completed or when it is determined in step S45 that the node IDs m and n are not both 62, the process proceeds to step S47.
[0067]
In step S47, it is determined whether or not the node ID value m is greater than the node ID value n. When it is determined that m is larger than n, the process proceeds to step S48, and m and n are switched. That is, tmp = m, m = n, and n = tmp. If the process in step S48 is completed or if it is determined in step S47 that the node ID value m is smaller than the node ID value n, the process proceeds to step S49.
[0068]
In step S49, S1 = S400 and S2 = S400 are set. In a network configured using a 1394 bus, three transfer speeds S100, 1200, and S400 are prepared as data transfer speeds. This speed differs depending on the node, and is set according to the capability of the node.
[0069]
In step S50, it is determined whether or not the transfer speed of the node IDn is S100. If it is determined that the transfer speed of the node IDn is S100, the process proceeds to step S51, and S100 is returned. When the process of step S51 is completed, or when it is determined in step S50 that the transfer speed of the node IDn is not S100, the process proceeds to step S52.
[0070]
In step S52, the node ID value top of the vertex is set to the node ID value m. Then, in step S53, it is determined whether or not this top is smaller than the node IDn. If it is determined by this determination that top is smaller than n, the process proceeds to step S54. In step S54, it is determined whether or not the transfer speed of the node having the node ID top is S100. If it is determined that the transfer speed of the node with the node ID top is S100, the process proceeds to step S55, and S100 is returned.
[0071]
When the process of step S55 is completed, or when it is determined in step S54 that the transfer speed of the node with the node IDtop is not S100, the process proceeds to step S56. In step S56, it is determined whether or not the transfer speed of the node IDtop is S1 or less. If it is determined that the transfer speed of the node with the node IDtop is equal to or lower than S1, the process proceeds to step S57, and the transfer speed of the node with the node IDtop is set to S1.
[0072]
On the other hand, if it is determined in step S56 that the transfer speed of the node whose node ID is top is not less than or equal to S1, or if the process of step S57 ends, the process proceeds to step S58. In step S58, the node ID of the parent node of the node ID top is set as a new top value. Then, when the process of step S58 is completed, the process returns to step S53, and the subsequent processes are repeated.
[0073]
If it is determined in step S53 that top is n or less, the process proceeds to step S59. In step S59, node, which is the node ID when searching from the node ID n toward the route, is set to n. Then, the process proceeds to step S60, and it is determined whether or not the node is not more than top. If it is determined that node is equal to or lower than top, the process proceeds to step S61.
[0074]
In step S61, it is determined whether or not the transfer speed of the node whose node ID is node is S100. If it is determined that the transfer speed of the node IDn is S100, the process proceeds to step S62, and S100 is returned. When the process of step S62 is completed, or when it is determined in step S61 that the transfer speed of the node IDn is not S100, the process proceeds to step S63.
[0075]
In step S63, it is determined whether the transfer speed of the node whose node ID is node is S2 or less. If it is determined that the transfer speed of the node whose node ID is node is S2 or less, the process proceeds to step S64, and the transfer speed of the node whose node ID is node is set to S2.
[0076]
On the other hand, if it is determined in step S63 that the transfer speed of the node whose node ID is node is not equal to or lower than S2, or if the process of step S64 is completed, the process proceeds to step S65. In step S65, the node ID of the parent node whose node ID is node is set as the new node value. When the process of step S65 is completed, the process returns to step S60, and the subsequent processes are repeated.
[0077]
If it is determined in step S60 that the node is not equal to or less than top, the process proceeds to step S66. In step S66, in the process described above, the determined S1 and S2 are compared. If it is determined that S1 is smaller than S2, in step S67, if it is determined that S1 is larger than S2, The process proceeds to step S68. In step S67 and step S68, the transfer speed determined to be small in step S66 is set to LSpeed.
[0078]
The processing for determining the data transfer speed between the two devices described above will be described by taking node ID 2 and node ID 4 as examples of two devices in the network having the tree structure shown in FIG. Here, m = 2 and n = 4. Accordingly, the process proceeds from step S41 to step S43 and then to step S45, and further proceeds to step S47.
[0079]
In step S47, it is determined whether or not m> n, but in this case, since m = 2 and n = 4, it is determined that m> n is not satisfied, and the process proceeds to step S49. In step S49, S1 = S2 = S400 is set. In step SS50, it is determined whether or not the speed of the node whose node ID is n is S100. In this case, since the speed of the node 4 is S200, the process proceeds to step S52.
[0080]
In step S52, the value of top is set to m, that is, 2. In step S53, it is determined whether or not the relationship of top <n is satisfied. In this case, since top = 2 and n = 4, it is determined that the relationship of top <n is satisfied, and the process proceeds to step S54. In step S54, it is determined whether or not the speed of the node whose node ID is top is S100. In this case, since the speed of the node ID 2 is S200, the process proceeds to step S56.
[0081]
In step S56, it is determined whether or not the speed of the node having the node ID “top”, that is, the speed of the node having the node ID 2 and S200 is equal to or less than S1 = S400. As a result, the process proceeds to step S57. In step S57, the node ID is set to top speed, and S200 is set to S1. In step S58, the parent node ID of the node top is set as a new top value. That is, the new top value is 3.
[0082]
The process after step S53 is repeated for a new top value of 3. In this case, since the value of n is 4, the process proceeds from step S53 to step S54. Since the speed of the node ID 3 is S100, the process proceeds from step S54 to step S55, and S100 is returned. In step S56, it is determined whether or not the speed of the node whose node ID is 3 and S100 is smaller than S1. In this case, since S1 is S200 set in step S57, the process proceeds to step S57 by the process of step S56.
[0083]
In step S57, the node ID is set to a speed of 3, and S100 is set as a new S1. In step S58, 4 which is the parent node ID of the node whose node ID is 3 is set as a new top value. For this new top value 4, the processing from step S53 is repeated.
[0084]
In step S53, since top = 4 and n = 4, it is determined that top <n is not satisfied, and the process proceeds to step S59. In step S59, the value of node is set to n, that is, 4. The determination in step S60 is node = 4 and top = 4 in this case, so it is determined that node <= top, and the process proceeds to step S61. In step S61, it is determined whether or not the speed of the node whose node ID is node is S100. In this case, node = 4 and the speed of the node whose node ID is 4 is S200. It is determined that there is not, and the process proceeds to step S63.
[0085]
In step S63, it is determined whether or not the speed of the node whose node ID is 4 and S200 is smaller than S2. In this case, since S2 is S400 set in step S49, it is determined that S2 is smaller than S2, and the process proceeds to step S64. In step S64, the speed of S2 is set to the speed S200 of the node whose node ID is 4. In step S65, the parent node ID whose node ID is node is the new node value. In this case, the parent node ID 5 and the node ID 5 are the new node values. Is set.
[0086]
The processing from step S60 onward is repeated for the node for which a new value has been set. In this case, since node = 5 and top = 4, it is determined that there is no relationship of node <= n, and the process proceeds to step S66. In step S66, the magnitude relationship between S1 and S2 is determined. In this case, S1 is S100 set in step S57, and S2 is S200 set in step S64. Accordingly, in step S66, it is determined that S1 is smaller than S2 (S1 <S2), and the process proceeds to step S67.
[0087]
In step S67, LSpeed is set to S100. In this way, the data transfer speed between the node with node ID 2 and the node with node ID 4 is set.
[0088]
Next, reading of the node unique ID existing in the configuration ROM will be described. The node unique ID has a format as shown in FIG. 13. Among these formats, “node Vendor ID” composed of 24 bits, “chip id hi” composed of 8 bits, and 32 bits. The configured “chip id lo” indicates data such as the vendor and model of the node (device).
[0089]
The CPU 12 of the CS tuner 1 reads out such a node unique ID according to the flowchart of FIG. First, in step S71, the node number N is set to 0. In Step S2, it is determined whether or not the field L (FIG. 5) of the Self ID packet of the node having the node number N set in Step S71 or the node number N set in Step S74 described later is 1. The The fact that the field L of the Self ID packet is 1 indicates that the link layer is operating. When the link layer is operating, it is possible to communicate with the node via the link layer.
[0090]
If it is determined in step S72 that the field L of the Self ID packet is 1, the process proceeds to step S73. In step S73, the node unique ID of the node for which the field L of the Self ID packet is determined to be 1 is read from the configuration ROM. When reading is completed, or when it is determined in step S72 that the field L of the Self ID packet is not 1, the process proceeds to step S74, and the node number N is incremented by 1.
[0091]
In step S75, it is determined whether or not the node number N is the same as the total number of nodes. If it is determined that the number is not the same as the total number of nodes, the process returns to step S72, and the subsequent processing is repeated. On the other hand, if it is determined in step S75 that the node number N is the same as the total number of nodes, in other words, if it is determined that the processing of this flowchart has been performed for all nodes, the processing of this flowchart is performed. Is terminated. The node unique ID data read in this way is stored in the RAM 13.
[0092]
Next, the processing of the CS tuner 1 when the user selects two devices connected on the bus and transmits / receives data between the selected devices will be described with reference to the flowchart of FIG. To do. First, in step S81, the user performs a predetermined operation for displaying a screen displayed on the monitor 2 when the device is connected. In response to the operation, in step S82, the CS tuner 1 first determines the device name and manufacturer name connected to the bus from the node unique ID. This determination is performed based on the data already read and stored in the RAM 13 based on the flowchart described in FIG.
[0093]
Based on the determination in step S82, the CPU 12 of the CS tuner 1 controls the GUI engine 14 in step S83 to display a screen as shown in FIG.
[0094]
The display screen shown in FIG. 16 is a screen created based on the configuration example shown in FIG. The data transmission side (Output) is displayed vertically, and the data reception side (Input) is displayed horizontally. When the vertically displayed device and the horizontally displayed device overlap, the connection selection buttons 53a to 53f (hereinafter referred to as the connection selection buttons 53a to 53f are simply referred to when there is no need to distinguish them individually). The connection selection button 53 is described). Since this connection selection button 53 is displayed only between connectable devices, for example, Output is a CS tuner and Input is not displayed at a CS tuner.
[0095]
The user operates the cursor 51 to select the connection selection button 53 displayed between the devices to be connected. If the selection is acceptable, the “selection” of the command button 52 is also operated by the cursor 51. As a result, the selection of the connection between the devices is completed. In addition, when the selection is made again, “return” of the command button 52 is operated.
[0096]
In step S84, cursor movement processing is performed in response to a user operation. On the other hand, in step S85, it is determined whether or not the connection selection button 53 or the command button 52 has been operated. Until one of the buttons is operated, the processes in steps S84 and S85 are repeated. If it is determined in step S85 that any button has been operated, the process proceeds to step S86.
[0097]
In step S86, it is determined whether the operated button is a “return” button of the command button 52 or not. If it is determined that the “return” button has been operated, the process proceeds to step S87, and after predetermined processing is performed, the processing of this flowchart is terminated.
[0098]
On the other hand, if it is determined in step S86 that the operated button is not the “return” button of the command button 52, the process proceeds to step S88. In step S88, the color of the operated button is inverted. Of course, instead of reversing the color, processing using another color or blinking may be used. In the display example of FIG. 16, the connection selection buttons 53a and 53d are selected, and the other connection selection buttons b, c, e, and f are displayed with their colors inverted.
[0099]
In step S88, if the selected button, in this case, the button in the connection selection button 53 is displayed with the color reversed, the process proceeds to step S89. In step S89, data relating to the input device and output device of the selected button is stored in the RAM 13. For example, in the display example of FIG. 16, since the selection connection buttons 53a and 53d are selected, the RAM 13 first has the CS tuner 1 as the output device as the first relationship, and the input device corresponding thereto is the VTR 3. As a relationship, two input devices and an output device that are VTR3 as an output device and VTR4 as an input device are stored together with the relationship.
[0100]
When the process in step S89 is completed, the process proceeds to step S90, and it is determined whether or not “setting” of the command button 52 has been operated. Until “SETTING” is operated, the process returns to step S84, and the subsequent processing is repeated. If it is determined in step S90 that the “setting” of the command button 52 has been operated, the processing of this flowchart (processing for setting connection between devices) is terminated.
[0101]
A process performed by the CS tuner 1 in order to actually transmit and receive data between the devices set as described above will be described with reference to a flowchart of FIG. First, connection processing for the setting connection button 53a is performed. In step S101, Input Plug No is set. This setting is set using the plug number of each device checked in step S6 of FIG. That is, among the plug numbers of the VTR 3, a number that can be used as an input plug is set.
[0102]
In step S102, the physical ID of the data output source node is set. In this case, it is the physical ID of the CS tuner 1. In step S103, Output Plug No is set. In this case, it is a plug number for output of the CS tuner 1.
[0103]
In step S104, the data transfer speed is set. The data transfer speed is already determined and stored in the RAM 13 in the process described with reference to the flowcharts of FIGS. 11 and 12, and the stored data is used. In this case, it is the data transfer speed between the CS tuner 1 and the VTR 3.
[0104]
In step S105, it is determined whether there is a next pair (input device and output device). In this case, since there is a pair of VTR3 and VTR4 selected by the connection selection button 53d, the process returns to step S101, and the subsequent processing is repeated.
[0105]
In step S101, the plug number of VTR4 is set as Input Plug No. In step S102, the physical ID of the VTR 4 that is the data output destination is set. When the connection between the CS tuner 1 and the VTR 3 described above is set, the physical ID of the CS tuner 1 that is the data output source is set. As described above, whether the physical ID of the data output destination or the physical ID of the data output source is set differs depending on the connected devices, and details will be described later.
[0106]
In step S103, the output plug number of the VTR 3 is set as the Output Plug No. In step S104, the data transfer speed is set between VTR3 and VTR4. In step S105, it is determined whether or not there is a next pair. In this case, it is determined that there is no next pair because no pair other than the above-described device is set. Processing is terminated.
[0107]
As described above, when the CS tuner 1 transmits information set for each connected device to the VTR 3, it uses a default connection command as shown in FIG. In opecode, it indicates a command of a default connection, Operand “0” indicates a subfunction (subfunction), Operand “1” indicates a plug number (Plug No), and Operand “2” to “n”. Indicates a plug type dependent field.
[0108]
In the subfunction of Operand “0”, data as shown in FIG. 19 is written. In other words, setting up an Output plug, setting up an Output plug with protection settings, releasing the set up Output plug, and the like. Similarly, an Input plug is also defined.
[0109]
The plug number of Operand “1” designates a plug to be controlled. This designation is defined according to the table shown in FIG. With the plug type set by this plug number, the format of the plug type field after Operand “2” is determined.
[0110]
The plug type fields of Operand “2” to “n” are defined by the table shown in FIG. As described above, this is a field determined by the plug type. Operand “2” is a field for designating a data rate, and is defined by the table shown in FIG. Operand “2” and “3” specify the node id of the node having the plug with the partner when setting the connection with the node id. Operand “5” designates the plug number of the plug that is the counterpart of the plug instructed by Operand “1” when setting the connection. The plug number conforms to the rules of Operand “1”. Also, both plugs must be the same, one being an Input plug and the other being an Output plug.
[0111]
In IEEE1394, when a bus reset occurs, all the default connections previously set are cleared. The default connection status command (Default Connection Status Command) shown in FIG. 23 is used when a default connection setting state is returned to the plug.
[0112]
When a command having such a format is received, the received device transmits a default connection response having a format as shown in FIG. 24 to the device that has transmitted the command. If a plug is set, Output Plug Setup, Output Plug Setup with Lock, Input Plug Setup, and Input Plug Setup with Lock shown in FIG. 19 are written in Subfunction as corresponding codes, and Plug type dependent The parameter is written in field.
[0113]
When the plug is not set, Output Plug Clear and Input Plug Clear shown in FIG. 19 are written as the corresponding code in Subfunction, and the value FFh is set in Plug type dependent field.
[0114]
Using such a default connection command, the above-described CS tuner 1 and VTR 3 and VTR 3 and VTR 4 are connected. First, the connection between the CS tuner 1 and the VTR 3 will be specifically described with reference to FIG. Here, the physical ID of the CS tuner 1 is “0XFFC0”, and the physical ID of the VTR 3 is “0XFFC1”.
[0115]
In this connection, data is output from the CS tuner 1 and the VTR 3 is connected to input the data. Therefore, an output plug is set in the CS tuner 1 and an input plug is set in the VTR 3. In order to set and connect the plugs in this way, in the example of FIG. 25A, (Plug0, S200, 0XFFC0, Plug0, U) is transmitted from the CS tuner 1 to the VTR 3 as a default connection command. .
[0116]
Since this default connection command is performed using Input Plug Setup, the sequence is (Input Plug No, Data Transfer Speed, Physical ID of Data Output Source, Output Plug No, Lock / Unlock). Yes. Each data of such a command is set in the CS tuner 1 and transmitted to the VTR 3 based on the above-described flowchart shown in FIG. That is, “Input Plug No” is an input plug number of the VTR 3 set in step S101, and “data transfer speed” is set in step S104, and has already been processed by the processing of the flowcharts of FIGS. This is the required data transmission speed between the CS tuner 1 and the VTR 3.
[0117]
“Physical ID of data output source” is the physical ID of CS tuner 1 set in step S102. When this physical ID is set, either the output destination physical ID or the output source physical ID is set. . In other words, data written to Operand “0” is also set. “Output Plug No” is the output plug number of the CS tuner 1 set in step S103. “Lock / Unlock” is data indicating whether or not the parameter set by the default connection command is to be protected.
[0118]
When the VTR 3 receives such a default connection command, it returns an ACCEPT signal to the CS tuner 1 that the command has been received. As a result, VTR3 sets Point to Point Connection, and as shown in FIG. 25 (B), Output Plug 0 is set in CS tuner 1, and Input Plug 0 is set in VTR3 for that plug. Is done. Data is exchanged between the devices using the set plug.
[0119]
Next, the connection between the VTR 3 and the VTR 4 will be described with reference to FIG. In this case, since VTR3 outputs data and VTR4 (Physical ID is 0XFFC2) inputs the data, an Output plug is set for VTR3 and an Input plug is set for VTR4. Since the plug is set in this way, the CS tuner 1 transmits (Plug1, S400, 0XFFC2, Plug3, U) to the VTR 3 as a default connection command.
[0120]
This default connection command is performed by Output Plug Setup (data written to Operand “0”). Therefore, the above-described command arrangement is in the order of (Output Plug No, data transfer speed, data output destination Physical ID, Input Plug No, Lock / Unlock). When the VTR 3 receives such a command, an ACCEPT signal is transmitted to the CS tuner 1. The VTR 3 sets Point to Point Connection according to the received command.
[0121]
That is, the VTR 3 sets the Output Plug 1 for itself and causes the VTR 4 (Physical ID is 0XFFC2) to set the Input Plug 3. The data transfer speed between these devices is S400. In this connection, the parameter of the default connection is not protected (Unlock).
[0122]
Next, an example when the parameters of the default connection are protected will be described with reference to FIG. (Plug1, S400, 0XFFC4, Plug3, L) is transmitted from the CS tuner 1 to the VTR 3 by Output Plug Setup with Lock as a default connection command. Here, there is a controller having 0XFFC4 as the physical ID.
[0123]
The default connection command described above sets the Output plug 1 to the VTR 3, sets the Input plug 1 to the controller, specifies that the eta transfer speed between them is to be performed in S400, and protects (Locks) these parameters. Is instructing. Therefore, as shown in FIG. 27B, a default connection command such as (Plug0, S100, 0XFFC2, Plug0, U), for example, to set a new Output plug is transmitted from the controller to VTR3. However, a signal indicating that the VTR 3 cannot accept the command (Reject) is transmitted to the controller.
[0124]
As described above, a default connection command is transmitted from the CS tuner 1 to the VTR 3, and the VTR 3 establishes a Point to Point Connection based on the command. The operation of the VTR 3 is described with reference to the flowchart of FIG. explain.
[0125]
First, in step S111, the user operates the VTR 3 to set the input / output setting to digital input. When digital input and setting are performed, a channel is acquired in order to perform isochronous communication in step S112. This channel has the same number as the connection destination. In step S113, the bandwidth required for isochronous communication is calculated at the designated data transfer speed, and only the calculated bandwidth is acquired.
[0126]
In step S114, Point to Point Connection based on CMP (Connection Management Protocol) is set. In this way, the VTR 3 sets a connection according to the parameters of the default connection command transmitted from the CS tuner 1 to the CS tuner 1 and the VTR 4 in this way. By establishing a connection in this way, data can be exchanged.
[0127]
Next, from the display screen of the monitor 2 shown in FIG. 16, the user selects a device to be connected, the default connection command is transmitted to the selected device, and the processing until the connection is set is shown in FIG. This will be described with reference to FIG.
[0128]
If the user sets the connection between the CS tuner 1 and the VTR 3 and the VTR 3 and the VTR 4 as the connected devices from the screen shown in FIG. To VTR1. In FIG. 29, the CS tuner 1 is the side that transmits the default, so the default is not specified. The VTR 3 is set with a default designation transmitted from the CS tuner 1. Similarly, the default designation from the CS tuner 1 is also set in the VTR 4.
[0129]
In FIG. 30, when the VTR 3 is switched to digital input, the VTR 3 establishes a point-to-point connection with the communication partner (CS tuner 1) set in the default designation column. When establishing a connection, the channel and bandwidth are acquired. In the example of FIG. 30, 62 is set as the channel. Since CS tuner 1 is the data output side, 62 is set in the column of OPCR (Output Plug Control Register). Since VTR3 is the data input side, 62 is set in the IPCR (Input Plug Control Register) column.
[0130]
Further, in FIG. 31, when the VTR 4 is also switched to the digital input, the connection with the VTR 3 is established by the same operation as the operation performed by the VTR 3. In this case, 61 is set in the OPCR column of VTR3, and 61 is also set in the IPCR column of VTR2. By setting in this way, the data output from the CS tuner 1 can be received by the VTR 3, and the data output from the VTR 3 can be input by the VTR 4.
[0131]
Further, in FIG. 32, assume that the user cancels the digital input setting of the VTR 3. In accordance with this cancellation, the VTR 3 cancels the connection established with the CS tuner 1. At this time, the channel and bandwidth are also released. Therefore, the data output from the CS tuner 1 is not input to the VTR 3.
[0132]
Further, in FIG. 33, when the setting of the digital input of the VTR 4 is also released, the connection established with the VTR 3 is also released.
[0133]
In this way, the CS tuner 1 sets the parameters required for connection, transmits the parameters to the devices that need them as necessary, and the device that has received the parameters further Since connections are established between devices, connection processing between devices can be reduced.
[0134]
In the present specification, as a providing medium for providing a user with a computer program for executing the above processing, an information recording medium such as a magnetic disk or a CD-ROM, or a transmission medium via a network such as the Internet or a digital satellite may be used. included.
[0135]
【The invention's effect】
According to the information processing system according to claim 1, the information processing method according to claim 5, and the providing medium according to claim 6, the first information processing apparatus is different from the second information processing apparatus. A parameter necessary for connecting to the information processing apparatus is transmitted to the second information processing apparatus, and the second information processing apparatus transmits a bandwidth to another information processing apparatus based on the received parameter. Since the channel is secured, it is possible to reduce the connection processing between devices.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of an embodiment of an information processing system to which an information processing apparatus of the present invention is applied.
FIG. 2 is a block diagram showing an internal configuration of a CS tuner.
FIG. 3 is a block diagram showing an internal configuration of a VTR.
FIG. 4 is a flowchart illustrating processing at the time of bus reset.
FIG. 5 is a diagram illustrating an example of a configuration of a Self ID packet.
FIG. 6 is a diagram illustrating components of a Self ID packet.
FIG. 7 is a flowchart for explaining tree structure analysis processing;
FIG. 8 is a diagram showing data stored in a RAM of a CS tuner.
FIG. 9 is a diagram illustrating a tree structure of a bus.
FIG. 10 is a flowchart illustrating processing for obtaining the number of hops.
FIG. 11 is a flowchart illustrating a data transfer speed determination process.
FIG. 12 is a flowchart following FIG. 9;
FIG. 13 is a diagram illustrating the configuration of a node unique ID.
FIG. 14 is a flowchart illustrating a process for reading a node unique ID.
FIG. 15 is a flowchart illustrating a connection setting process between devices.
16 is a display example of a screen displayed on the monitor 2. FIG.
FIG. 17 is a flowchart illustrating connection setting processing performed by a CS tuner.
FIG. 18 is a diagram illustrating a format of a default connection command.
FIG. 19 is a diagram for explaining a Subfunction field.
FIG. 20 is a diagram illustrating data described in Operand “1”.
FIG. 21 is a diagram illustrating data described in Operand “2”.
FIG. 22 is a diagram for explaining the contents of a data rate.
FIG. 23 is a diagram for explaining the format of a status command of a default connection.
FIG. 24 is a diagram illustrating a response format of a default command.
FIG. 25 is a diagram for explaining how to establish a connection using a default connection command.
FIG. 26 is a diagram for explaining another connection extension method using a default connection command;
FIG. 27 is a diagram for explaining another way of establishing a connection using a default connection command.
FIG. 28 is a flowchart illustrating processing for establishing a connection performed by VTR3.
FIG. 29 is a diagram illustrating operations of the CS tuner, VTR3, and VTR4.
FIG. 30 is a diagram illustrating operations of the CS tuner, VTR3, and VTR4.
FIG. 31 is a diagram for explaining operations of the CS tuner, the VTR 3 and the VTR 4;
FIG. 32 is a diagram for explaining operations of the CS tuner, the VTR 3 and the VTR 4;
FIG. 33 is a diagram for explaining operations of a CS tuner, a VTR 3 and a VTR 4;
[Explanation of symbols]
1 CS tuner, 2 monitor, 3, 4 VTR, 5 1394 bus, 11 CS tuner main section, 12 CPU, 13 RAM, 14 GUI engine, 51 cursor, 52 command button, 53 connection selection button

Claims (6)

バスに接続されている複数の情報処理装置間の接続管理を行う第1の情報処理装置と、前記第1の情報処理装置により接続管理される第2の情報処理装置とから構成される情報処理システムにおいて、
前記第1の情報処理装置は、
前記第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定手段と、
前記設定手段により設定されたパラメータを、前記第2の情報処理装置に送信する送信手段と
を備え、
前記第2の情報処理装置は、
前記送信手段により送信されたパラメータを受信する受信手段と、
前記受信手段により受信されたパラメータに基づいて、前記他の情報処理装置との間に帯域とチャンネルを確保する確保手段と
を備える
ことを特徴とする情報処理システム。
Information processing composed of a first information processing device that manages connection between a plurality of information processing devices connected to a bus, and a second information processing device that is managed and managed by the first information processing device In the system,
The first information processing apparatus includes:
Setting means for setting parameters necessary for connecting the second information processing apparatus and another information processing apparatus;
Transmission means for transmitting the parameter set by the setting means to the second information processing apparatus,
The second information processing apparatus
Receiving means for receiving the parameter transmitted by the transmitting means;
An information processing system comprising: a securing unit that secures a band and a channel with the other information processing apparatus based on the parameter received by the receiving unit.
前記送信手段は、Default Connection コマンドを用いて送信を行う
ことを特徴とする請求項1に記載の情報処理システム。
The information processing system according to claim 1, wherein the transmission unit performs transmission using a Default Connection command.
前記パラメータは、バスリセット時に受信したSelf IDパケットから、バスの木構造を解析し、所定の情報処理装置間のデータ転送スピードを解析することにより決定される
ことを特徴とする請求項1に記載の情報処理システム。
2. The parameter according to claim 1, wherein the parameter is determined by analyzing a tree structure of a bus from a Self ID packet received at the time of bus reset and analyzing a data transfer speed between predetermined information processing apparatuses. Information processing system.
前記第1の情報処理装置は、前記複数の情報処理装置のうち接続可能な情報処理装置を表示する制御を行う表示制御手段と、
前記表示制御手段により表示された画面から、接続機器が選択される選択手段と
をさらに備え、
前記設定手段は、前記選択手段により選択された情報処理装置に対するパラメータを設定する
ことを特徴とする請求項1に記載の情報処理システム。
The first information processing apparatus includes: a display control unit that performs control to display a connectable information processing apparatus among the plurality of information processing apparatuses;
A selection means for selecting a connected device from the screen displayed by the display control means,
The information processing system according to claim 1, wherein the setting unit sets a parameter for the information processing apparatus selected by the selection unit.
バスに接続されている複数の情報処理装置間の接続管理を行う第1の情報処理装置と、前記第1の情報処理装置により接続管理される第2の情報処理装置とから構成される情報処理システムの情報処理方法において、
前記第1の情報処理装置の情報処理方法は、
前記第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定ステップと、
前記設定ステップで設定されたパラメータを、前記第2の情報処理装置に送信する送信ステップと
を含み、
前記第2の情報処理装置の情報処理方法は、
前記送信ステップで送信されたパラメータを受信する受信ステップと、
前記受信ステップで受信されたパラメータに基づいて、前記他の情報処理装置との間に帯域とチャンネルを確保する確保ステップと
を含む
ことを特徴とする情報処理方法。
Information processing composed of a first information processing device that manages connection between a plurality of information processing devices connected to a bus, and a second information processing device that is managed and managed by the first information processing device In the system information processing method,
The information processing method of the first information processing apparatus includes:
A setting step for setting parameters necessary for connecting the second information processing apparatus and another information processing apparatus;
A transmission step of transmitting the parameter set in the setting step to the second information processing apparatus,
The information processing method of the second information processing apparatus is:
A receiving step for receiving the parameter transmitted in the transmitting step;
An information processing method comprising: a securing step of securing a band and a channel with the other information processing device based on the parameter received in the receiving step.
バスに接続されている複数の情報処理装置間の接続管理を行う第1の情報処理装置と、前記第1の情報処理装置により接続管理される第2の情報処理装置とから構成される情報処理システムにコンピュータプログラムを提供する提供媒体において、
前記第1の情報処理装置に、
前記第2の情報処理装置と他の情報処理装置とを接続するために必要なパラメータを設定する設定ステップと、
前記設定ステップで設定されたパラメータを、前記第2の情報処理装置に送信する送信ステップと
を含み、
前記第2の情報処理装置に、
前記送信ステップで送信されたパラメータを受信する受信ステップと、
前記受信ステップで受信されたパラメータに基づいて、前記他の情報処理装置との間に帯域とチャンネルを確保する確保ステップと
を含む
処理を実行させるコンピュータが読み取り可能なプログラムを提供することを特徴とする提供媒体。
Information processing composed of a first information processing device that manages connection between a plurality of information processing devices connected to a bus, and a second information processing device that is managed and managed by the first information processing device In a providing medium for providing a computer program to a system,
In the first information processing apparatus,
A setting step for setting parameters necessary for connecting the second information processing apparatus and another information processing apparatus;
A transmission step of transmitting the parameter set in the setting step to the second information processing apparatus,
In the second information processing apparatus,
A receiving step for receiving the parameter transmitted in the transmitting step;
A computer-readable program for executing a process including a securing step for securing a band and a channel with the other information processing apparatus based on the parameter received in the receiving step is provided. Media to be provided.
JP15040598A 1998-05-29 1998-05-29 Information processing system and method, and providing medium Expired - Fee Related JP3894252B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP15040598A JP3894252B2 (en) 1998-05-29 1998-05-29 Information processing system and method, and providing medium
TW088108466A TW428396B (en) 1998-05-29 1999-05-24 Information processing system and method, and providing medium
IDP990492A ID22610A (en) 1998-05-29 1999-05-26 INFORMATION PROCESSING SYSTEMS AND METHODS, AND THE INFORMATION MEDIA
BR9901682-6A BR9901682A (en) 1998-05-29 1999-05-28 Network system, and process of connecting two of a plurality of information processing devices connected to a network with each other
KR1019990019589A KR19990088674A (en) 1998-05-29 1999-05-29 Information processing system and method, and provding medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15040598A JP3894252B2 (en) 1998-05-29 1998-05-29 Information processing system and method, and providing medium

Publications (2)

Publication Number Publication Date
JPH11346237A JPH11346237A (en) 1999-12-14
JP3894252B2 true JP3894252B2 (en) 2007-03-14

Family

ID=15496255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15040598A Expired - Fee Related JP3894252B2 (en) 1998-05-29 1998-05-29 Information processing system and method, and providing medium

Country Status (5)

Country Link
JP (1) JP3894252B2 (en)
KR (1) KR19990088674A (en)
BR (1) BR9901682A (en)
ID (1) ID22610A (en)
TW (1) TW428396B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842044B (en) * 2000-05-12 2013-06-12 汤姆森特许公司 Apparatus and method for improved device interoperability
JP3844218B2 (en) * 2002-04-03 2006-11-08 ソニー株式会社 Signal processing system, signal input device, and communication control method
JP3844217B2 (en) * 2002-04-03 2006-11-08 ソニー株式会社 Signal processing system, signal output device, signal input device, and communication control method
JP4561840B2 (en) * 2008-02-08 2010-10-13 ソニー株式会社 Wireless communication method, wireless communication apparatus, and wireless communication system
JP6321221B2 (en) * 2014-03-24 2018-05-09 イーエニエーエスセー テック − インスティチュート デ エンゲンハリア デ システマス エ コンピュータドレス テクノロジア エ シエンシアInesc Tec − Instituto De Engenharia De Sistemas E Computadores, Tecnologia E Ciencia Control module for resource management of multiple mixed signals

Also Published As

Publication number Publication date
TW428396B (en) 2001-04-01
JPH11346237A (en) 1999-12-14
BR9901682A (en) 2000-09-12
ID22610A (en) 1999-12-02
KR19990088674A (en) 1999-12-27

Similar Documents

Publication Publication Date Title
US6275889B1 (en) Connection control apparatus
US5883621A (en) Device control with topology map in a digital network
EP0909508B1 (en) Device user interface with topology map
US6498598B2 (en) Imaging device system, control method for the system, imaging device, control device, control method for the imaging device, control method for the control device, and storage medium
US7336300B2 (en) Image pickup control apparatus, image pickup control method, image pickup control system, and storage medium
US7007078B2 (en) Method and apparatus for re-securing resources after a detected bus reset
KR19990044988A (en) Connection status transmitter, connection status display data creation device and connection status display method
JPH06216917A (en) Multiplex device consumer electronics system
JP3175826B2 (en) Network configuration method and network management node
JP3894252B2 (en) Information processing system and method, and providing medium
JP2001203727A (en) Method and device for communication
KR100553867B1 (en) Bus reset processing method in network connected with IEEE 1394 bus
JP4336536B2 (en) Transmission speed setting device, transmission speed setting method, information transmission system, transmission speed setting program, and information recording medium
JPH0823584A (en) Electronic equipment control system
JP3952053B2 (en) Connection management program
KR100536765B1 (en) Network relay apparatus and network relay method
MXPA99004984A (en) System and method of information processing and means of aprovisionamie
CN100493016C (en) Device control method
JP2001356976A (en) User interface device for digital information consumer- electronic network, its control method and its recording medium
EP1521259A1 (en) Information recording device and information recording method
KR100763716B1 (en) Information control method, information processor, and information control system
JPH11205313A (en) Network system and network display method
KR100623020B1 (en) Control Method of Digital Camcoder in IEEE1394
JPH11168489A (en) Data communication equipment, its method and its system
KR100619684B1 (en) Method for selecting path of network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061117

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061205

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees