JPH07131470A - Communication system and communication equipment used for the same - Google Patents

Communication system and communication equipment used for the same

Info

Publication number
JPH07131470A
JPH07131470A JP5293997A JP29399793A JPH07131470A JP H07131470 A JPH07131470 A JP H07131470A JP 5293997 A JP5293997 A JP 5293997A JP 29399793 A JP29399793 A JP 29399793A JP H07131470 A JPH07131470 A JP H07131470A
Authority
JP
Japan
Prior art keywords
node
address
communication system
logical address
nodes
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.)
Granted
Application number
JP5293997A
Other languages
Japanese (ja)
Other versions
JP3396928B2 (en
Inventor
Harumi Kawamura
晴美 川村
Makoto Sato
真 佐藤
Yuko Iijima
祐子 飯島
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 JP29399793A priority Critical patent/JP3396928B2/en
Publication of JPH07131470A publication Critical patent/JPH07131470A/en
Application granted granted Critical
Publication of JP3396928B2 publication Critical patent/JP3396928B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a logical address from changing when the communication system is reset without altering the constitution of the communication system by providing each node with a means which stores the logical addresses of this node and other nodes. CONSTITUTION:The address table 6 of a digital VTR uses part of the RAM of a microcomputer 5 and stores the physical addresses of other nodes connected to the digital VTR and a P1394 bus, and logical addresses, etc., including article categories. The contents of the address table 6 are read and written by an addressing program 7. Further, the addressing program 7 inquires about the addresses of other nodes connected to the P1394 bus, sends and receives response commands, and confirms the physical address and logical address of this node thorugh a digital I/F. Therefore, when the communication system is reset, original logical addresses, e.g. numbers by article categories can automatically be allocated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタルVTR、テ
レビジョン受像機(以下、TVと略す)、チューナー等
のAV機器をバスに接続し、これらの間でディジタルビ
デオ信号、ディジタルオーディオ信号等を送受信する通
信システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention connects AV equipment such as a digital VTR, a television receiver (hereinafter abbreviated as TV), and a tuner to a bus, and transmits digital video signals, digital audio signals, and the like between them. The present invention relates to a communication system for transmitting and receiving.

【0002】[0002]

【従来の技術】ディジタルVTR、TV、チューナー等
のAV機器やパソコン等をIEEEP1394バス(以
下、P1394バスという)に接続し、これらの機器間
でディジタルビデオ信号、ディジタルオーディオ信号等
を送受信する通信システムが考えられている。
2. Description of the Related Art A communication system in which AV equipment such as digital VTR, TV, tuner, personal computer, etc. are connected to an IEEE 1394 bus (hereinafter referred to as P1394 bus), and digital video signals, digital audio signals, etc. are transmitted and received between these equipments. Is being considered.

【0003】図16はこのような通信システムの1例を
示す図である。この通信システムは、ルート(根)ノー
ドA、リーフ(葉)ノードB、ブランチ(枝)ノード
C、リーフノードD、リーフノードEを備えている。そ
して、ノードA−B間、A−C間、C−D間及びC−E
間の入出力ポートは、2組のツイストペアケーブルによ
り接続されている。ノードA〜Bは、前記したように、
ディジタルVTR、TV、チューナー、パソコン等であ
り、各々1個以上の入出力ポートを持っている。各ノー
ドにはアンプと中継器が内蔵されているので、図16の
通信システムは、図17に示されているような各ノード
がバスに接続されている通信システムと等価である。
FIG. 16 is a diagram showing an example of such a communication system. This communication system includes a root node A, a leaf node B, a branch node C, a leaf node D, and a leaf node E. Then, nodes A-B, A-C, C-D, and C-E.
The input / output ports between are connected by two twisted pair cables. The nodes A to B are, as described above,
A digital VTR, TV, tuner, personal computer, etc., each having one or more input / output ports. Since each node has an amplifier and a repeater built therein, the communication system in FIG. 16 is equivalent to the communication system in which each node is connected to the bus as shown in FIG.

【0004】図16においては、ノードAの下位にノー
ドBとノードCが接続され、さらにノードCの下位にノ
ードDとノードEが接続された階層構造になっている。
別の言い方をすれば、ノードAがノードB及びCの親ノ
ードであり、ノードCがノードD及びノードEの親ノー
ドである。まず、この階層構造を決定する手順について
説明する。
In FIG. 16, a hierarchical structure is formed in which nodes B and C are connected below node A, and nodes D and E are connected below node C.
In other words, node A is the parent node of nodes B and C, and node C is the parent node of nodes D and E. First, the procedure for determining this hierarchical structure will be described.

【0005】ノードA−B間、A−C間、C−D間及び
C−E間をケーブルで接続すると、1個の入出力ポート
のみが他のノードと接続されているノードは、自分と接
続されているノードに対して、相手が親ノードである旨
を伝達する。図14の場合、ノードD及びEがノードC
に対して、ノードCが親ノードである旨を伝達し、ノー
ドBはノードAに対して、ノードAが親ノードである旨
を伝達する。
When the nodes A-B, A-C, C-D, and C-E are connected by a cable, the node having only one input / output port connected to another node The fact that the other party is the parent node is transmitted to the connected node. In the case of FIG. 14, the nodes D and E are the nodes C.
To node A, node B transmits to node A that node A is a parent node.

【0006】また、複数個の入出力ポートが他のノード
と接続されているノードは、自分に対して親ノードであ
る旨を伝達してきたノード以外のノードに対して、相手
が親ノードである旨を伝達する。図16の場合、ノード
CがノードAに対して、ノードAが親ノードである旨を
伝達し、ノードAがノードCに対して、ノードCが親ノ
ードである旨を伝達する。この時、ノードAとノードC
の間では、互いに相手ノードが親ノードである旨を伝達
することになるので、先に親ノードである旨を伝達され
てしまったノードが親ノードとなる。図16はノードA
が親ノードとなった場合を示している。
A node having a plurality of input / output ports connected to another node is a parent node to a node other than the node that has transmitted the fact that it is a parent node to itself. Communicate to the effect. In the case of FIG. 16, the node C notifies the node A that the node A is the parent node, and the node A notifies the node C that the node C is the parent node. At this time, node A and node C
Between the two nodes, the fact that the partner node is the parent node is transmitted to each other, and the node that has been previously transmitted that the parent node is the parent node becomes the parent node. 16 shows node A
Shows the case where becomes a parent node.

【0007】次に、各ノードに物理アドレスを付与する
手順について説明する。ノードの物理アドレスは、基本
的には親ノードが子ノードに対してアドレスの付与を許
可することにより行う。子ノードが複数ある場合には、
例えば、ポート番号の若い方に接続されている子ノード
から順に許可をする。
Next, a procedure for giving a physical address to each node will be described. The physical address of a node is basically obtained by allowing the parent node to give the child node an address. If there are multiple child nodes,
For example, the permission is given in order from the child node connected to the smaller port number.

【0008】図16において、ノードAのポートにノ
ードBが接続され、ポートにノードCが接続されてい
る場合、ノードAはノードBに対して、アドレスの付与
を許可する。ノードBは自分にノードID#0を付与
し、自分にノードID#0を付与しことを示すデータを
バスに送出する。次に、ノードAはノードCに対してア
ドレスの決定を許可する。ノードCは、ポートに接続
されているノードDに対してアドレスの付与を許可す
る。ノードDは自分にノードID#1を付与する。次
に、ノードCは、ポートに接続されているノードEに
対してアドレスの付与を許可する。ノードEは自分にノ
ードID#2を付与する。ノードCは子ノードD及びE
のアドレス付与が終了したら、自分にノードID#3を
付与する。ノードAは子ノードB及びCのアドレス付与
が終了したら、自分にノードID#4を付与する。
In FIG. 16, when node B is connected to the port of node A and node C is connected to the port, node A permits node B to assign an address. The node B assigns itself the node ID # 0 and sends data indicating that it assigns the node ID # 0 to the bus. Next, the node A permits the node C to determine the address. The node C permits the node D connected to the port to assign an address. The node D gives itself a node ID # 1. Next, the node C permits the node E connected to the port to assign an address. The node E gives the node ID # 2 to itself. Node C is child node D and E
When the address assignment is completed, the node ID # 3 is assigned to itself. When the node A completes the address assignment of the child nodes B and C, it assigns the node ID # 4 to itself.

【0009】この通信システムでは、図18に示されて
いるように、所定の周期(例、125μs)を有する通
信サイクルで通信が行われる。通信サイクルの始めには
サイクルスタートパケットcspがあり、それに続いて
同期通信のためのパケットを送信する期間が設定され
る。同期通信を行うパケットそれぞれにチャンネル番号
1,2,3 ,・・・Nを付けることにより、複数の同期
通信を行うことが可能である。例えば、ノードBからノ
ードCに対する通信にチャンネル1が割り付けられてい
るとすると、ノードBはサイクルスタートパケットcs
pの直後にチャンネル番号1を付けた同期通信パケット
を送信し、ノードCはバスを監視し、チャンネル番号1
が付いた同期通信パケットを取り込むことで通信が行わ
れる。同様に、チャンネル2は、例えばノードDからノ
ードAに対する通信に割り付けることができる。また、
1つのチャンネルのパケットを複数のノードが受信する
こともできる。
In this communication system, as shown in FIG. 18, communication is performed in a communication cycle having a predetermined cycle (for example, 125 μs). There is a cycle start packet csp at the beginning of the communication cycle, and a period for transmitting a packet for synchronous communication is set subsequently to the cycle start packet csp. It is possible to perform a plurality of synchronous communications by assigning channel numbers 1, 2, 3, ... N to each packet for performing the synchronous communication. For example, if channel 1 is assigned to the communication from the node B to the node C, the node B sends the cycle start packet cs
Immediately after p, the synchronous communication packet with the channel number 1 is transmitted, and the node C monitors the bus, and the channel number 1
Communication is performed by capturing a synchronous communication packet with. Similarly, channel 2 can be allocated for communication from node D to node A, for example. Also,
It is also possible for multiple nodes to receive the packet of one channel.

【0010】複数の同期通信が行われる時は、サイクル
スタートパケットcspの直後に、複数のチャンネルの
同期通信パケットの送信が試みられるが、その場合はバ
スによって決まっている調停手段(例、CSMA/C
D)により、まず1つのチャンネルの同期通信パケット
が送信され、引続き他のチャンネルの同期通信パケット
が順次送信される。
When a plurality of synchronous communications are carried out, transmission of the synchronous communications packets of a plurality of channels is tried immediately after the cycle start packet csp. In that case, arbitration means (eg CSMA / C
According to D), the synchronous communication packet of one channel is transmitted first, and then the synchronous communication packets of the other channels are sequentially transmitted.

【0011】そして、すべてのチャンネルの同期通信パ
ケットの送信が終了した後、次のサイクルスタートパケ
ットcspまでの期間が非同期通信に使用される。非同
期通信パケット(図18ではパケットA,B)には送信
ノード及び受信ノードのアドレスが付いており、各ノー
ドは自分のアドレスが付いたパケットを取り込む。
After the transmission of the synchronous communication packets of all channels is completed, the period until the next cycle start packet csp is used for asynchronous communication. Asynchronous communication packets (packets A and B in FIG. 18) have addresses of the transmitting node and the receiving node, and each node takes in the packet having its own address.

【0012】以上説明したように、この通信システムで
は、ディジタルビデオ信号のように一定のデータレート
で連続的に通信を行う同期通信と、制御コマンドなどを
必要に応じて不定期に伝送する非同期通信の両方を行う
ことができる。なお、以上の通信の詳細や各ノードへの
アドレスの自動割り付け方法については、「IEEEP
1394シリアルバスの仕様書」として公開されている
ので、ここではこれ以上説明しない。
As described above, in this communication system, synchronous communication for continuously communicating at a constant data rate like a digital video signal, and asynchronous communication for transmitting control commands and the like irregularly as needed. You can do both. For details on the above communication and the method of automatically assigning addresses to each node, see "IEEEP".
Since it has been published as a "1394 serial bus specification," it will not be described further here.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、以上の
ように構成された通信システムにおいて、#0〜#4の
ような物理アドレスではなく、第1のディジタルVTR
(以下、VTR1という)、第2のディジタルVTR
(以下、VTR2という)、第1のTV(以下、TV1
という)等のような商品カテゴリーを含めた論理アドレ
スを付与することはできない。
However, in the communication system configured as described above, the first digital VTR is used instead of the physical addresses such as # 0 to # 4.
(Hereinafter referred to as VTR1), second digital VTR
(Hereinafter referred to as VTR2), the first TV (hereinafter referred to as TV1)
It is not possible to assign a logical address that includes a product category such as).

【0014】そして、通信システム内のノードに対して
商品カテゴリーを含めたアドレッシングを行うことので
きるシステムとしては、D2B(Domestic D
igital Bus)がある。
As a system capable of performing addressing including a product category for a node in a communication system, a D2B (Domestic D)
digital bus).

【0015】D2Bにおいては、各ノードは、例えばT
Vであれば10番台のアドレス、ディジタルVTRであ
れば20番台のアドレスを割り付けることを自分から宣
言するように構成されている。そして、通信システムに
リセットがかかった場合には、論理アドレスの割り付け
は早い者勝ちで行われる。例えばVTR1はバス上に論
理アドレス20のノードがあるかどうかを問い合わせる
コマンドを送信し、応答がなければ自分に論理アドレス
20を割り付け、応答があれば次に論理アドレス21の
ノードがあるかどうかを問い合わせるコマンドを送信し
て同様に処理する。そして、複数のノードが同時に宣言
しようとした場合には、ランダム時間待った後、再度宣
言する。このため、電源コンセントを抜いて通信システ
ムにリセットがかかった場合のようにノード間の物理的
接続状態が変化しない場合でも、各ノードにリセット前
と同じ論理アドレスが付与されるという保証はなかっ
た。
In D2B, each node is, for example, T
It is configured so that it declares from itself that it will assign an address in the 10's range for V and an address in the 20's range for a digital VTR. Then, when the communication system is reset, the logical address allocation is performed on a first-come-first-served basis. For example, the VTR 1 sends a command asking whether there is a node with the logical address 20 on the bus, assigns the logical address 20 to itself if there is no response, and if there is a response, asks if there is a node with the logical address 21 next. Send the inquiring command and process it in the same way. If multiple nodes try to declare at the same time, wait a random time and then declare again. Therefore, there is no guarantee that the same logical address as before reset will be given to each node even if the physical connection state between nodes does not change as in the case where the communication system is reset by unplugging the power outlet. .

【0016】また、D2Bにおいては、各ノードはバス
にどのような商品カテゴリーのノードが何台接続されて
いるかを把握していなかった。そのため、例えば論理ア
ドレス20のディジタルVTRが他のディジタルVTR
にコマンドを送信する場合には、相手から返答があるま
で、順次論理アドレスを21から1ずつインクリメント
したコマンドを送信することが必要であった。
Further, in D2B, each node does not know how many nodes of which product category are connected to the bus. Therefore, for example, the digital VTR of the logical address 20 is replaced with another digital VTR.
When sending a command to the device, it was necessary to sequentially send a command in which the logical address was incremented by 1 from 21 until a reply was received from the other party.

【0017】本発明はこのような問題点を解決するため
になされたものであって、ノード間の接続状態に応じて
各ノードに自動的に物理アドレスが割り付けられるよう
に構成された通信システムにおいて、電源コンセントを
抜いた時のように通信システムの構成を変更せずに通信
システムにリセットがかかった時には論理アドレスが変
化しないようにすることを目的とする。
The present invention has been made in order to solve such a problem, and provides a communication system configured such that a physical address is automatically assigned to each node according to a connection state between the nodes. The purpose is to prevent the logical address from changing when the communication system is reset without changing the configuration of the communication system such as when the power outlet is unplugged.

【0018】また、本発明は、ノード間の接続状態に応
じて各ノードに自動的に物理アドレスが割り付けられる
ように構成された通信システムにおいて、バスにどのよ
うな論理アドレスのノードが何台接続されているかを各
ノードが把握できるようにすることを目的とする。
Further, according to the present invention, in a communication system configured such that a physical address is automatically assigned to each node in accordance with a connection state between the nodes, how many nodes having any logical address are connected to a bus. The purpose is to make it possible for each node to know whether it is being done.

【0019】[0019]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、ノード間の接続状態に応じて自動的に各
ノードに物理アドレスが割り付けられるように構成され
た通信システムにおいて、各ノードに自分及び他のノー
ドの論理アドレスを格納する手段を設けたことを特徴と
する。
In order to solve the above-mentioned problems, the present invention provides a communication system configured so that a physical address is automatically assigned to each node according to a connection state between nodes. The node is provided with means for storing the logical addresses of itself and other nodes.

【0020】そして、通信システムにリセットがかかっ
た時に、各ノードが自分の論理アドレスを保持するよう
に構成することにより、各ノードにリセット前と同じ論
理アドレスを割り付けることを特徴とする。
When the communication system is reset, each node retains its own logical address, so that the same logical address as before the reset is assigned to each node.

【0021】[0021]

【作用】本発明によれば、各ノードは他のノードの物理
アドレス及び論理アドレスを格納する手段を持っている
ので、バスにどのような論理アドレスのノードが接続さ
れているのかを把握している。また、通信システムにリ
セットがかかった時に、各ノードは自分の論理アドレス
を保持する。
According to the present invention, since each node has means for storing the physical address and logical address of another node, it is necessary to grasp what logical address node is connected to the bus. There is. Also, each node retains its own logical address when the communication system is reset.

【0022】[0022]

【実施例】以下、本発明の実施例について図面を参照し
ながら、下記〔1〕〜〔4〕の順に詳細に説明する。 〔1〕通信システムの基本構成 〔2〕通信システムにノードを追加した場合 〔3〕複数の通信システムを結合した場合 〔4〕論理アドレスを基にした機器の制御
Embodiments of the present invention will now be described in detail in the order of [1] to [4] below with reference to the drawings. [1] Basic configuration of communication system [2] When node is added to communication system [3] When plural communication systems are combined [4] Control of device based on logical address

【0023】〔1〕通信システムの基本構成 図1は本発明においてノードとなる通信機器の1例であ
るディジタルVTRの基本構成を示すブロック図であっ
て、図1(a)はハードの構成を示し、図1(b)はア
ドレッシングに関する構成を示す。
[1] Basic Configuration of Communication System FIG. 1 is a block diagram showing a basic configuration of a digital VTR which is an example of a communication device serving as a node in the present invention. FIG. 1A shows a hardware configuration. FIG. 1B shows a configuration related to addressing.

【0024】図1(a)に示されているディジタルVT
Rは、VTRとしての基本的ブロックであるデッキ部1
とチューナー部2に加えて、P1394バスに対するデ
ィジタルインターフェース(以下、ディジタルI/Fと
いう)3、デッキ部1,チューナー部2,ディジタルI
/F3間の信号の切替を行うスイッチングボックス4及
びシステムコントロールを行うマイコン5を備えてい
る。
The digital VT shown in FIG. 1 (a)
R is a deck block 1 which is a basic block as a VTR
In addition to the tuner section 2, a digital interface (hereinafter referred to as a digital I / F) 3 for the P1394 bus, a deck section 1, a tuner section 2, a digital I
A switching box 4 for switching signals between F3 and F3 and a microcomputer 5 for system control are provided.

【0025】図1(b)に示されているように、このデ
ィジタルVTRはアドレステーブル4を持っている。こ
のアドレステーブル6はマイコン5のRAM(図示せ
ず)の一部を用いており、このディジタルVTR及びP
1394バスに接続されている他のノードの物理アドレ
スや商品カテゴリーを含めた論理アドレス等を記憶す
る。アドレステーブル6の内容はアドレッシングプログ
ラム7により読み書きされる。また、アドレシングプロ
グラム7はディジタルI/Fを介して、P1394バス
に接続されている他のノードに対するアドレスの問い合
わせ、返答コマンドの送受信、自己ノードの物理アドレ
スや論理アドレスの確認を行う。
As shown in FIG. 1B, this digital VTR has an address table 4. This address table 6 uses a part of the RAM (not shown) of the microcomputer 5, and the digital VTR and P
It stores physical addresses of other nodes connected to the 1394 bus, logical addresses including product categories, and the like. The contents of the address table 6 are read and written by the addressing program 7. In addition, the addressing program 7 inquires an address to another node connected to the P1394 bus, transmits / receives a reply command, and confirms the physical address and logical address of the self node via the digital I / F.

【0026】なお、通信機器がTVの場合には、デッキ
部1の代わりにモニター部とアンプ部を設ける。また、
通信機器に通信制御専用のマイコンを設け、これにアド
レステーブルを設けてもよい。
When the communication device is a TV, a monitor section and an amplifier section are provided instead of the deck section 1. Also,
A microcomputer dedicated to communication control may be provided in the communication device, and an address table may be provided in this.

【0027】図2は前記ディジタルI/Fにおけるパケ
ットの構成の1例を示す図である。このパケットは、送
信先ID、発信元ID、ディジタルI/Fメインアドレ
ス、ディジタルI/Fサブアドレス及びコマンド等から
構成されている。送信先IDは、送信先のP1394バ
ス上の物理アドレスであり、発信元IDは、発信元のP
1394バス上の物理アドレスである。また、ディジタ
ルI/Fメインアドレスは、発信元のディジタルI/F
上の論理アドレスであり、ディジタルI/Fサブアドレ
スは、送信先のディジタルI/F上の論理アドレスであ
る。そして、送信コマンド等は、送信先に論理アドレス
を問い合わせるコマンドや論理アドレスの問い合わせに
対する返答である。
FIG. 2 is a diagram showing an example of the structure of a packet in the digital I / F. This packet is composed of a destination ID, a source ID, a digital I / F main address, a digital I / F sub address, a command, and the like. The destination ID is the physical address on the destination P1394 bus, and the source ID is the source P
It is a physical address on the 1394 bus. The digital I / F main address is the digital I / F of the sender.
The digital I / F sub address is a logical address on the digital I / F of the transmission destination. Then, the transmission command or the like is a command for inquiring the destination of a logical address or a reply to an inquiry of the logical address.

【0028】〔2〕通信システムにノードを追加した場
合 図3は本発明を適用した通信システムの1例を示す図で
あって、図3(a)は当初のシステムであり、図3
(b)は図3(a)にディジタルVTRを1台追加した
システムである。
[2] When a Node is Added to the Communication System FIG. 3 is a diagram showing an example of a communication system to which the present invention is applied, and FIG. 3 (a) is the original system.
FIG. 3B shows a system in which one digital VTR is added to FIG.

【0029】まず、図3(a)の通信システムは、ノー
ドとして第1のパソコン(以下、PC1という)、TV
1、VTR1及びVTR2を持っており、それらがP1
394バスに接続されている。各ノードには図のような
#0〜#3のノードIDが割り付けられているものとす
る。また、PC1以外の各ノード、すなわちAV機器に
は、図示されているような商品カテゴリーを含めた論理
アドレスとして商品カテゴリー別番号TV1,VTR
1,VTR2が割り付けられているものとする(割り付
けの手順は後述する)。
First, in the communication system of FIG. 3A, a node is a first personal computer (hereinafter referred to as PC1), a TV.
1, VTR1 and VTR2, which are P1
It is connected to the 394 bus. It is assumed that the node IDs # 0 to # 3 as shown in the figure are assigned to each node. Each node other than the PC 1, that is, the AV device, has a product category number TV1, VTR as a logical address including the product category as shown in the figure.
1 and VTR2 are allocated (allocation procedure will be described later).

【0030】この時、TV1、VTR1及びVTR2の
アドレステーブルには、図4(a)に示されている内容
が記憶されている。ここで、ノードIDは前記した各ノ
ードの物理アドレスである。また、ディジタルI/F対
応とは各ノードがこの通信システム内でビデオデータや
オーディオデータの送受信を行うAV機器であるかどう
かを示すデータである。P1394バスに対応するAV
機器には、あらかじめROMのIDエリアのVendo
r IdにAV機器の発売元と商品名が書き込まれてい
るので、P1394バスのリードパケットでそれを読み
出すことによりディジタルI/F対応かどうかを識別す
る。さらに、カテゴリNo.は商品カテゴリー別番号で
ある。
At this time, the contents shown in FIG. 4A are stored in the address tables of the TV1, VTR1 and VTR2. Here, the node ID is the physical address of each node described above. The digital I / F support is data indicating whether or not each node is an AV device that transmits and receives video data and audio data in this communication system. AV compatible with P1394 bus
Vendo in the ID area of the ROM is pre-installed on the device.
Since the sales source and the product name of the AV device are written in r Id, it is identified by the read packet of the P1394 bus whether or not the digital I / F is supported. Further, the category No. Is a product category number.

【0031】次に、この状態からVTR2に他のディジ
タルVTRを接続した状態(図3(b))について考え
る。この時、バスにはリセットがかかり、各ノードに
は、図3(b)に示されているノードID#0〜#4が
自動的に割り付けられる。また、各ノードがディジタル
I/F対応かどうかを示すデータと商品カテゴリー別番
号は自分のデータのみ保持され、他のノードのデータは
クリアされる。したがって、バスにリセットがかかり、
物理アドレスが自動的に割り付けられて時点では、ノー
ドID=#1、すなわちリセット前のVTR1のアドレ
ステーブルの内容は図4(b)のようになっている。な
お、この実施例とは直接関係ないが、通信システムから
外された場合には、図4(c)のように、自分のノード
IDは#0になり、カテゴリNo.は商品カテゴリーの
み保持する。
Next, consider the state (FIG. 3B) in which another digital VTR is connected to the VTR 2 from this state. At this time, the bus is reset, and the node IDs # 0 to # 4 shown in FIG. 3B are automatically assigned to each node. Further, the data indicating whether or not each node is compatible with the digital I / F and the product category number are held only for the own data, and the data for the other nodes are cleared. Therefore, the bus is reset,
At the time when the physical address is automatically assigned, the node ID = # 1, that is, the contents of the address table of the VTR1 before reset are as shown in FIG. 4 (b). Although not directly related to this embodiment, when it is removed from the communication system, its own node ID is # 0 and the category number is # 0, as shown in FIG. Holds only product categories.

【0032】次に、各ノードには結果的に図3(b)に
示されている商品カテゴリ別ー番号が割り付けられるの
であるが、以下に割り付けの手順を説明する。なお、各
ノードはバスリセット後、それぞれ独自に以下に示す論
理アドレスの割り付け手順を実行するが、ここでは1例
としてリセット前のVTR1の動作を説明する。
Next, the product category-numbers shown in FIG. 3B are eventually assigned to each node. The assignment procedure will be described below. Although each node independently executes the following logical address allocation procedure after the bus reset, the operation of the VTR 1 before reset will be described here as an example.

【0033】まず、VTR1は前記したVendor
Idを読み出すことにより各ノードがディジタルI/F
対応かどうかを識別し、ディジタルI/F対応の全ノー
ドに対して論理アドレスを問い合わせるコマンドを持つ
パケットを送信する。図3(b)のノードIDが#4の
ノードに送信するパケットは図5(a)のようになる。
ここで、送信先の論理アドレスはまだわかっていないの
で、同報通信(broadcast)とする。この問い
合わせパケットに対して、ノードIDが#4のノードは
図5(b)に示されている返答パケットを送信する。同
様にして、VTR1はノードIDが#2のノード及び#
3のノードに対しても論理アドレスを問い合わせるパケ
ットを送信する。VTR1は各ノードから返答された論
理アドレスが想定された論理アドレスと等しければ、こ
の論理アドレスを相手の論理アドレスとして確定する。
First, the VTR1 is the above-mentioned Vendor.
Each node reads digital I / F by reading Id
A packet having a command for identifying the logical address and inquiring the logical address is transmitted to all the nodes corresponding to the digital I / F. The packet transmitted to the node having the node ID # 4 in FIG. 3B is as shown in FIG.
Here, since the logical address of the transmission destination is not yet known, it is assumed to be broadcast communication (broadcast). In response to this inquiry packet, the node whose node ID is # 4 transmits the reply packet shown in FIG. 5 (b). Similarly, the VTR 1 has a node ID # 2 and a node ID # 2.
A packet for inquiring the logical address is transmitted also to the node of 3. If the logical address returned from each node is equal to the expected logical address, the VTR 1 determines this logical address as the partner's logical address.

【0034】以上の手順により、VTR1はディジタル
I/F対応の各ノードの論理アドレスを知ることができ
るが、まだ論理アドレスが割り付けられていないノード
からはカテゴリー別アドレス未定コードが返送される。
図6はこのようにして調べた各ノードのアドレスを書き
込んだアドレステーブルの内容を示す。ここでは、ノー
ドIDが#2のノードからはカテゴリー別アドレス未定
コードが返送されてきた場合を示す。
According to the above procedure, the VTR 1 can know the logical address of each node corresponding to the digital I / F, but the category undetermined address is returned from the node to which the logical address is not yet assigned.
FIG. 6 shows the contents of the address table in which the addresses of the respective nodes thus examined are written. Here, a case is shown in which a category-specific address undetermined code is returned from the node whose node ID is # 2.

【0035】次に、ノードIDが#2のノードが自分の
論理アドレスを割り付ける手順について説明する。ノー
ドIDが#2 のノードも前記VTR1と同じ手順で、他
のノードがディジタルI/F対応かどうか識別し、ディ
ジタルI/F対応の全ノードに対して論理アドレスの問
い合わせを行う。そして、自分のアドレスが未定の場
合、同じ商品カテゴリー内の空き番号の小さい順に割り
付けていく。ただし、自分よりもノードIDの小さいノ
ードで、同じ商品カテゴリーでアドレスが未定のノード
があったなら、ノードIDが小さい順に論理アドレスが
割り付けられると想定し、自分のアドレスを決定する。
したたがって、他のノードの論理アドレスを問い合わせ
た結果、図7のようであれば、自分にVTR3を割り付
ける。
Next, a procedure in which the node having the node ID # 2 allocates its own logical address will be described. The node having the node ID # 2 also identifies whether or not the other nodes support digital I / F by the same procedure as the VTR 1, and inquires the logical addresses of all the nodes corresponding to digital I / F. Then, if the user's own address is undecided, the addresses are assigned in the ascending order of free numbers in the same product category. However, if there is a node whose node ID is smaller than that of its own and an address of which is undecided in the same product category, it is assumed that logical addresses are assigned in ascending order of the node ID, and its own address is determined.
Therefore, as a result of inquiring about the logical addresses of other nodes, if the result is as shown in FIG. 7, the VTR 3 is assigned to itself.

【0036】〔3〕複数の通信システムを結合した場合 次に、図8(a)のようなノードアドレスと論理アドレ
スが割り付けられている2個の通信システムを図8
(b)のように結合した場合の論理アドレスの割り付け
の手順について説明する。
[3] When a plurality of communication systems are combined Next, two communication systems in which a node address and a logical address are allocated as shown in FIG. 8A are shown in FIG.
A procedure for assigning logical addresses in the case of combining as shown in (b) will be described.

【0037】バスにリセットがかかると、図8(b)に
示されているノードアドレスが自動的に割り付けられ
る。この時、前記したように、各ノードは基本的には自
分の論理アドレスを保持している。ただし、システム内
に自分と同じ論理アドレスをであることを返答してきた
ノードが存在する場合には、自分のノードIDが一番小
さいかどうかを判断する。そして、ノードIDが一番小
さいノードにその論理アドレスを割り付け、他のノード
は番号未定として割り付け直す。
When the bus is reset, the node address shown in FIG. 8B is automatically assigned. At this time, as described above, each node basically holds its own logical address. However, when there is a node that has returned the same logical address as itself in the system, it judges whether or not its own node ID is the smallest. Then, the logical address is allocated to the node having the smallest node ID, and the other nodes are reallocated as the numbers are undecided.

【0038】例えば、図8(b)において、ノードID
が#3のノードとノードIDが#1のノードは、ともに
リセット後に商品カテゴリー別番号としてVTR1を保
持しているので、ノードIDが#1のノードがその商品
カテゴリー別番号を自分の論理アドレスとして確定し、
ノードIDが#3のノードはその商品カテゴリー別番号
をクリアし、同じ商品カテゴリーの空き番号の若い順に
割り付ける。
For example, in FIG. 8B, the node ID
Since the node with # 3 and the node with node ID # 1 both retain VTR1 as a product category number after reset, the node with a node ID # 1 uses the product category number as its logical address. Confirmed,
The node with the node ID # 3 clears the product category number and allocates the same product category in ascending order of the available numbers.

【0039】したがって、ノードIDが#3のノードの
アドレステーブルの内容は、図9(a)のようにノード
IDが#1のノードから返答された商品カテゴリー別番
号を有効とし、自分にはVTR3を割り付ける。もし、
各ノードの論理アドレスを問い合わせた時点で、図9
(b)のようにノードIDが#1のノードからカテゴリ
ー別アドレス未定コードが返送されてきており、かつ自
分の商品カテゴリー別番号としてVTR2が保持されて
いたなら、図9(c)のように自分よりもノードアドレ
スの小さい#2のノードの商品カテゴリ別ー番号である
VTR2を有効とし、かつ自分よりもノードアドレスの
小さい#1のノードにVTR1が割り付けられると想定
して、自分にVTR3を割り付ける。この結果、いずれ
にしても図8(b)に示されている商品カテゴリー別番
号が割り付けられる。
Therefore, as the content of the address table of the node with the node ID # 3, the product category number returned from the node with the node ID # 1 is valid as shown in FIG. Assign if,
When inquiring about the logical address of each node, FIG.
As shown in FIG. 9C, if the category-undetermined address undecided code is returned from the node having the node ID # 1 as in (b) and the VTR2 is held as the product category-specific number, as shown in FIG. 9C. Assuming that VTR2, which is the product category-number of the node # 2 having a smaller node address than itself, is valid, and that VTR1 is assigned to the node # 1 having a smaller node address than itself, VTR3 is assigned to itself. Allocate. As a result, the product category-specific numbers shown in FIG. 8B are assigned in any case.

【0040】以上説明した手順のフローチャートを図1
0〜図13に示す。図10及び図11は自分のノードの
論理アドレスを決定する手順であり、図12及び図13
は他のノードの論理アドレスを確定する手順である。
FIG. 1 is a flowchart of the procedure described above.
0 to 13 are shown. 10 and 11 show the procedure for determining the logical address of the own node.
Is a procedure for determining the logical address of another node.

【0041】〔4〕論理アドレスを基にした機器の制御 次に、このように定められた論理アドレスを基にシステ
ム内機器の制御を行う例を説明する。図14(a)に示
されている通信システムにおいて、CONT1をAVコ
ントローラとし、VTR1を再生機、VTR3を録画機
として編集制御を行っている途中で、VTR2をシステ
ムから外した場合を考える。
[4] Control of Device Based on Logical Address Next, an example of controlling the device in the system based on the logical address thus determined will be described. In the communication system shown in FIG. 14A, consider a case where VTR2 is removed from the system while editing control is being performed using CONT1 as an AV controller, VTR1 as a player and VTR3 as a recorder.

【0042】まず、図14(a)の状態で編集を開始す
ると、AVコントローラがVTR1及びVTR3へ送信
するパケットは、それぞれ図15(a),(b)に示さ
れているものとなる。編集の途中でVTR2がバスから
抜かれると、バスにリセットがかかり、図14(b)の
ようにノードIDの割り付けが行われる。この結果、V
TR3のノードIDは変化してしまうが、これまでの説
明から明らかなように論理アドレスは変化しないので、
ノードIDとの対応を調べさえすれば編集動作が影響を
受けることはない。編集を終了し、再生機及び録画機を
停止させる場合のパケットは図15(c),(d)のよ
うになる。図14(b)の状態で編集を開始し、編集途
中でVTR2をバスに接続して図14(a)の状態にし
た場合も同様に扱える。
First, when editing is started in the state of FIG. 14A, the packets transmitted by the AV controller to VTR1 and VTR3 are those shown in FIGS. 15A and 15B, respectively. When the VTR 2 is removed from the bus during editing, the bus is reset and node IDs are assigned as shown in FIG. 14 (b). As a result, V
Although the node ID of TR3 changes, the logical address does not change, as is clear from the above description.
The editing operation is not affected as long as the correspondence with the node ID is checked. Packets for ending the editing and stopping the player and the recorder are as shown in FIGS. 15 (c) and 15 (d). The same operation can be performed when the editing is started in the state of FIG. 14B and the VTR 2 is connected to the bus during the editing to bring the state of FIG. 14A.

【0043】このように、システムの末端の機器を抜き
挿ししても論理アドレスは変化しない。また、その機器
を何度抜き挿ししても、同じ論理アドレスが割り付けら
れる。
In this way, the logical address does not change even if the terminal device of the system is removed and inserted. Further, the same logical address is assigned no matter how many times the device is removed and inserted.

【0044】[0044]

【発明の効果】以上詳細に説明したように、本発明によ
れば下記の効果を奏する。 (1)通信システムにリセットがかかった時に自動的に
元の論理アドレス、例えば商品カテゴリー別番号の割り
付けを行うことができる。
As described in detail above, the present invention has the following effects. (1) When the communication system is reset, the original logical address, for example, the product category number can be automatically assigned.

【0045】(2)各ノードは通信システムにどのよう
な論理アドレスのノードが何台接続されているかを把握
できる。 (3)システム内のあるノードの抜き挿しを行ってリセ
ットがかかり、物理アドレスが変わったとしても、他の
ノードの論理アドレスは変わらない。
(2) Each node can grasp how many nodes with what logical address are connected to the communication system. (3) Even if a physical address is changed by removing and inserting a certain node in the system and resetting it, the logical addresses of other nodes do not change.

【0046】(4)1つのノードの抜き挿しでは、挿さ
れる度にそのノードは同じ論理アドレスが割り付けられ
る。 (5)論理アドレスを基にシステム内のノードの制御を
行うことにより、制御対象となっていないネットワーク
の末端のノードの抜き挿しがあったとしても、制御動作
に影響を及ぼさない。
(4) In the removal / insertion of one node, the same logical address is assigned to that node each time it is inserted. (5) By controlling the nodes in the system based on the logical address, even if the node at the end of the network that is not the control target is removed or inserted, the control operation is not affected.

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

【図1】本発明においてノードとなる通信機器の基本構
成の1例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a basic configuration of a communication device serving as a node in the present invention.

【図2】本発明のディジタルI/Fにおけるパケットの
構成の1例を示す図である。
FIG. 2 is a diagram showing an example of a packet configuration in a digital I / F of the present invention.

【図3】本発明を適用した通信システムの1例を示す図
である。
FIG. 3 is a diagram showing an example of a communication system to which the present invention is applied.

【図4】図3の通信システムにおけるアドレステーブル
の内容の例を示す図である。
4 is a diagram showing an example of contents of an address table in the communication system of FIG.

【図5】図3の通信システムで用いるパケットの例を示
す図である。
5 is a diagram showing an example of a packet used in the communication system of FIG.

【図6】図3の通信システムにおいてノードIDが#1
のノードにおけるアドレステーブルの内容の1例を示す
図である。
6 is a node ID of # 1 in the communication system of FIG. 3;
It is a figure which shows an example of the content of the address table in this node.

【図7】図3の通信システムにおいてノードIDが#2
のノードにおけるアドレステーブルの内容の1例を示す
図である。
7 is a node ID # 2 in the communication system of FIG. 3;
It is a figure which shows an example of the content of the address table in this node.

【図8】本発明を適用した通信システムの他の1例を示
す図である。
FIG. 8 is a diagram showing another example of a communication system to which the present invention has been applied.

【図9】図8の通信システムにおけるアドレステーブル
の内容の例を示す図である。
9 is a diagram showing an example of contents of an address table in the communication system of FIG.

【図10】本発明において自分のノードの論理アドレス
を決定する手順の一部を示すフローチャートである。
FIG. 10 is a flowchart showing a part of the procedure for determining the logical address of the own node in the present invention.

【図11】本発明において自分のノードの論理アドレス
を決定する手順の残りの一部を示すフローチャートであ
る。
FIG. 11 is a flowchart showing the remaining part of the procedure for determining the logical address of the own node in the present invention.

【図12】本発明において他のノードの論理アドレスを
確定する手順の一部を示すフローチャートである。
FIG. 12 is a flowchart showing a part of a procedure for deciding a logical address of another node in the present invention.

【図13】本発明において他のノードの論理アドレスを
確定する手順の残りの一部を示すフローチャートであ
る。
FIG. 13 is a flowchart showing the remaining part of the procedure for determining the logical address of another node in the present invention.

【図14】本発明の論理アドレスを基にシステム内機器
の制御を行う通信システムの例を示す図である。
FIG. 14 is a diagram showing an example of a communication system for controlling devices in the system based on a logical address of the present invention.

【図15】図14の通信システムにおいて用いるコマン
ドの例を示す図である。
15 is a diagram showing an example of commands used in the communication system of FIG.

【図16】バスに接続されたAV機器等の間でディジタ
ルビデオ信号等を送受信する通信システムの1例を示す
図である。
FIG. 16 is a diagram showing an example of a communication system for transmitting and receiving digital video signals and the like between AV devices and the like connected to a bus.

【図17】図16の通信システムを等価的に記載した図
である。
17 is a diagram equivalently describing the communication system of FIG.

【図18】図16の通信システムにおける通信サイクル
の1例を示す図である。
18 is a diagram showing an example of a communication cycle in the communication system of FIG.

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

3…ディジタルI/F、5…マイコン、6…アドレステ
ーブル、7…アドレッシングプログラム、
3 ... Digital I / F, 5 ... Microcomputer, 6 ... Address table, 7 ... Addressing program,

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成6年5月13日[Submission date] May 13, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】発明の名称[Name of item to be amended] Title of invention

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【発明の名称】 通信システム及びそれに用いる
通信機器
Title: Communication system and communication device used therefor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ノード間の接続状態に応じて各ノードに
自動的に物理アドレスが割り付けられるように構成され
た通信システムにおいて、 各ノードに自分及び他のノードの論理アドレスを格納す
る手段を設けたことを特徴とする通信システム。
1. A communication system configured such that a physical address is automatically assigned to each node according to a connection state between the nodes, and each node is provided with means for storing a logical address of itself and other nodes. A communication system characterized by the above.
【請求項2】 ノード間の接続状態に応じて各ノードに
自動的に物理アドレスが割り付けられるように構成され
た通信システムに用いる通信機器において、 自分及び他のノードの論理アドレスを格納する手段を設
けたことを特徴とする通信機器。
2. A communication device used in a communication system configured so that a physical address is automatically assigned to each node according to a connection state between the nodes, and means for storing logical addresses of itself and other nodes is provided. A communication device characterized by being provided.
JP29399793A 1993-10-29 1993-10-29 Communication system control method and communication device Expired - Fee Related JP3396928B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29399793A JP3396928B2 (en) 1993-10-29 1993-10-29 Communication system control method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29399793A JP3396928B2 (en) 1993-10-29 1993-10-29 Communication system control method and communication device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002306354A Division JP3659244B2 (en) 2002-10-21 2002-10-21 COMMUNICATION SYSTEM CONTROL METHOD AND COMMUNICATION DEVICE

Publications (2)

Publication Number Publication Date
JPH07131470A true JPH07131470A (en) 1995-05-19
JP3396928B2 JP3396928B2 (en) 2003-04-14

Family

ID=17801912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29399793A Expired - Fee Related JP3396928B2 (en) 1993-10-29 1993-10-29 Communication system control method and communication device

Country Status (1)

Country Link
JP (1) JP3396928B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240477B1 (en) 1997-07-29 2001-05-29 U.S. Philips Corporation Data bus device which requests additional information as well as apparatus information from devices attached to a data bush and which retains the additional information with the apparatus information for further use after a bus reset
US6658474B2 (en) 1998-11-26 2003-12-02 Samsung Electronics Co., Ltd. Home network system and method of allocating node identification
WO2005006740A1 (en) * 2003-07-14 2005-01-20 Matsushita Electric Industrial Co., Ltd. Signal switching device, signal distribution device, display device, and signal transmission system
JP2006345522A (en) * 2005-06-07 2006-12-21 Samsung Electronics Co Ltd Method and system for maintaining persistent unique identifier to device in network

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240477B1 (en) 1997-07-29 2001-05-29 U.S. Philips Corporation Data bus device which requests additional information as well as apparatus information from devices attached to a data bush and which retains the additional information with the apparatus information for further use after a bus reset
AU737632B2 (en) * 1997-07-29 2001-08-23 Koninklijke Philips Electronics N.V. Data bus device having means for the allocation of information after a bus reset
CN1113299C (en) * 1997-07-29 2003-07-02 皇家菲利浦电子有限公司 Data bus appts. of information distribution device suitable for bus reset
US6658474B2 (en) 1998-11-26 2003-12-02 Samsung Electronics Co., Ltd. Home network system and method of allocating node identification
WO2005006740A1 (en) * 2003-07-14 2005-01-20 Matsushita Electric Industrial Co., Ltd. Signal switching device, signal distribution device, display device, and signal transmission system
CN100423558C (en) * 2003-07-14 2008-10-01 松下电器产业株式会社 Signal switching device, signal distribution device, display device, and signal transmission system
US7725916B2 (en) 2003-07-14 2010-05-25 Panasonic Corporation Signal switching device, signal distribution device, display device, and signal transmission system
JP2006345522A (en) * 2005-06-07 2006-12-21 Samsung Electronics Co Ltd Method and system for maintaining persistent unique identifier to device in network

Also Published As

Publication number Publication date
JP3396928B2 (en) 2003-04-14

Similar Documents

Publication Publication Date Title
JP3318635B2 (en) Electronic equipment and communication method
KR100341707B1 (en) Interconnection of local communication bus systems
US6100812A (en) Communication control method, communication system and electronic equipment used for it
EP1049309B1 (en) Address mapping
US7484013B1 (en) Automatic ID allocation for AV/C entities
JP2001306428A (en) Network apparatus, network system, communication method, and recording medium
JP3194318B2 (en) Bus management method
JPH06232890A (en) Star-shaped network system
EP0537814A1 (en) Multi-station bus system having means for polling and updating of globally relevant information, in particular a station address, and station for use in such system
JP3396928B2 (en) Communication system control method and communication device
US5463619A (en) Local communication bus system comprising a set of interconnected devices, a control bus, and a set of signal interconnections, and a device and a switchbox for use in such system
WO2001022240A1 (en) A method and system for the simplification of leaf-limited bridges
CN1666468A (en) Method for establishing a default connection in network, and associated source and sink devices
JP2003143146A (en) Communication system controlling method and communication apparatus
JPH02285745A (en) Single channel communication bus system
US20030051017A1 (en) Internet apparatus automatically generating internet address
WO2001022237A1 (en) A method and system for the simplification of leaf-limited bridges
US5502436A (en) Method of identifying a signal path and signal processing apparatus
JPH10200555A (en) Transmission method, reception method and electronic device
JPH07212697A (en) Electronic equipment and its addressing system
JP3194380B2 (en) Electronics
JP3583811B2 (en) Input device selection method and electronic device
JP3194381B2 (en) Bus management method
JP3219085B2 (en) Bus management method
JP3221442B2 (en) Electronics

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020820

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030114

LAPS Cancellation because of no payment of annual fees