JP4041453B2 - Communication equipment and system - Google Patents

Communication equipment and system Download PDF

Info

Publication number
JP4041453B2
JP4041453B2 JP2003377197A JP2003377197A JP4041453B2 JP 4041453 B2 JP4041453 B2 JP 4041453B2 JP 2003377197 A JP2003377197 A JP 2003377197A JP 2003377197 A JP2003377197 A JP 2003377197A JP 4041453 B2 JP4041453 B2 JP 4041453B2
Authority
JP
Japan
Prior art keywords
guid
information
avdev
ieee
devices
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
JP2003377197A
Other languages
Japanese (ja)
Other versions
JP2005142841A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2003377197A priority Critical patent/JP4041453B2/en
Publication of JP2005142841A publication Critical patent/JP2005142841A/en
Application granted granted Critical
Publication of JP4041453B2 publication Critical patent/JP4041453B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、IEEE1394(Institute of Electrical and Electronic Engineers 1394、以下、単に1394とする)規格による機器に接続される通信機器、及びこのような通信機器同士を接続して構成されるネットワークに関するものである。   The present invention relates to a communication device connected to a device according to the IEEE 1394 (Institute of Electrical and Electronic Engineers 1394), and a network configured by connecting such communication devices. .

特に、1以上の1394機器及び通信機器をバス型に接続した第1の1394バスと、1以上の1394機器及び通信機器をバス型に接続した第2の1394バスとがあり、上記通信機器同士がネットワークにより接続されているシステムにおいて、第1の1394バス上の1394機器及び第2の1394バス上の1394機器が互いに上記ネットワーク上のノードとして通信することを可能とする通信機器及びシステムに関するものである。   In particular, there are a first 1394 bus in which one or more 1394 devices and communication devices are connected in a bus type, and a second 1394 bus in which one or more 1394 devices and communication devices are connected in a bus type. Related to a communication apparatus and system in which 1394 devices on a first 1394 bus and 1394 devices on a second 1394 bus can communicate with each other as a node on the network It is.

近年、家庭用のAV機器をデジタル接続するための標準インターフェースとしてIEEE1394が注目されている。1394規格は、コンピュータと周辺機器とを接続し高速通信を実現する次世代SCSI規格として提案されているものであり、最大で63台の周辺機器をデイジーチェーン接続又はツリー接続することができ、100Mbps、200Mbps及び400Mbpsの3種類の転送速度が規格化されている。また、コンピュータ動作中においても周辺機器を抜き差しすることができ(ホットプラグ)、接続ケーブルによる電源の供給もできるといった特徴を有している。   In recent years, IEEE 1394 has attracted attention as a standard interface for digitally connecting home AV equipment. The 1394 standard is proposed as a next-generation SCSI standard that connects computers and peripheral devices to realize high-speed communication. Up to 63 peripheral devices can be daisy chained or tree-connected, and 100 Mbps. Three transfer rates of 200 Mbps and 400 Mbps are standardized. In addition, it is characterized in that peripheral devices can be inserted and removed even during computer operation (hot plug), and power can be supplied through a connection cable.

さらに、近年では、1394規格を利用してAV機器間をネットワーク接続したり、家電を相互にネットワーク接続したりといった利用方法も提案されており、既に、BSデジタルチューナ、DVHSデッキ、デジタルビデオカメラ等では、1394接続インターフェイスとして外部出力端子(DV端子等)を備えた様々な1394対応商品が発売されている。   Furthermore, in recent years, utilization methods such as network connection between AV devices using the 1394 standard and network connection of home appliances have been proposed, and already BS digital tuners, DVHS decks, digital video cameras, etc. Then, various 1394 compatible products having an external output terminal (DV terminal or the like) as a 1394 connection interface are on the market.

一方で、1394バスを広帯域無線上に実現しよという試みもされており、Wireless1394、1394over802.11などの無線通信プロトコルを用いることにより、無線上で1394バスを構築することが可能となっている。また、現在、ブリッジなどを介することにより、有線の1394バスと無線の1394バスとをネットワークとして接続するための方式が論じられている。   On the other hand, an attempt has been made to realize the 1394 bus on broadband wireless, and by using a wireless communication protocol such as Wireless 1394, 1394 over 802.11, it is possible to construct the 1394 bus wirelessly. . Currently, a system for connecting a wired 1394 bus and a wireless 1394 bus as a network via a bridge or the like is being discussed.

例えば、特許文献1に開示されている通信ノード及び通信端末では、無線端末を有線の1394バス上の1つの通信機器のサブユニットとしてエミュレートするとともに、このサブユニットの制御に連動して無線端末を制御することにより、有線の1394バス上から無線端末と通信することを可能にしている。
特開2000−156683号公報
For example, in the communication node and the communication terminal disclosed in Patent Document 1, the wireless terminal is emulated as a subunit of one communication device on a wired 1394 bus, and the wireless terminal is interlocked with the control of this subunit. By controlling this, it is possible to communicate with a wireless terminal from a wired 1394 bus.
JP 2000-156683 A

しかしながら、1394バス間に1394バス以外のネットワークが存在する場合などには、必ず、1394のブリッジを設置することが必要となるが、このとき、ブリッジ対応していない1394機器からは、異なるプロトコルのネットワークを間に挟んだ1394バス上の1394機器を操作することができない。   However, when there is a network other than the 1394 bus between the 1394 buses, it is always necessary to install a 1394 bridge. At this time, a 1394 device that does not support the bridge has a different protocol. A 1394 device on the 1394 bus with a network in between cannot be operated.

この場合、特許文献1に示すような方法を用いれば、遠隔側の1394機器のうち1つを操作することは可能であると考えられる。しかしながら、既存の機器では、ノードに対してBSデジタルチューナ、DVHSデッキなどの機器の内部構成を想定し、ノード又はサブユニットに対してAV/C(Audio / Video Compatibility)コマンド等を送信することにより制御を行っているため、通常、コマンド体系が異なると操作が行えなくなる。   In this case, if a method as shown in Patent Document 1 is used, it is considered possible to operate one of the remote 1394 devices. However, with existing equipment, the internal configuration of equipment such as a BS digital tuner and a DVHS deck is assumed for the node, and an AV / C (Audio / Video Compatibility) command or the like is transmitted to the node or subunit. Since control is being performed, operation is usually not possible if the command system is different.

ここで、AV/Cとは、1394上に搭載されるプロトコルのひとつで、主に1394対応のオーディオヴィジュアル機器を扱うための規格である。   Here, AV / C is one of the protocols mounted on 1394, and is a standard for mainly handling 1394-compatible audiovisual equipment.

また、上記の方法では、本来、ユニットとサブユニットの構成で存在していた機器の機能を1つのサブユニットにエミュレートするために、必然的にユニット又はサブユニットに対して従来のAV/Cコマンドとは異なるコマンドを送信する必要があり、既存の機器と同じようには制御できないことになる。   Further, in the above method, in order to emulate the function of a device that originally existed in the configuration of units and subunits into one subunit, it is inevitably necessary to use conventional AV / C for the unit or subunit. It is necessary to send a command different from the command, and control cannot be performed in the same manner as existing equipment.

特に、無線ネットワーク等を通じて接続された遠隔の通信機器を近隣の1394バス上の通信機器のサブユニットとしてエミュレートする場合には、前記無線ネットワーク等と接続可能な機器としか通信できないことになる。   In particular, when a remote communication device connected through a wireless network or the like is emulated as a subunit of a communication device on a nearby 1394 bus, it can communicate only with a device that can be connected to the wireless network or the like.

本発明は、このような課題に鑑みてなされたものであって、第1の1394バス上の1394機器及び第2の1394バス上の1394機器が互いに上記ネットワーク上のノードとして通信することを可能にする通信機器及びシステムを提供することを目的とする。   The present invention has been made in view of such problems, and enables 1394 devices on the first 1394 bus and 1394 devices on the second 1394 bus to communicate with each other as nodes on the network. An object of the present invention is to provide a communication device and a system.

また、本発明は、1つのPHYチップを実装した1つのノードで複数の機器をエミュレートすることができる通信機器及びシステムを提供することを目的とする。   It is another object of the present invention to provide a communication device and a system that can emulate a plurality of devices with one node on which one PHY chip is mounted.

本発明の通信機器は、IEEE1394バスにより1以上のIEEE1394機器に接続される通信機器であって、他の通信機器とネットワークを通じて通信を行う通信手段と、自機が固有に備える機器情報を記憶する固有機器情報記憶手段と、前記他の通信機器に接続されているIEEE1394機器の情報を前記通信手段を通して取得し、エミュレート機器情報として記憶するエミュレート機器情報記憶手段と、前記1以上のIEEE1394機器それぞれについて、前記固有機器情報と前記エミュレート機器情報とを関連付けて記憶する関連付け情報記憶手段と、前記エミュレート機器情報に基づいて、前記IEEE1394バス上において前記他の通信機器に接続されているIEEE1394機器をエミュレートするエミュレート手段と、前記1以上のIEEE1394機器のうち少なくとも1つを前記エミュレート機器を制御する制御機器として認識する認識手段とを備え、前記制御機器又は前記1以上のIEEE1394機器が接続されると、該接続された機器に応じた前記関連付け情報により関連付けられる機器情報を、自機の機器情報として現すことを特徴としている。   The communication device according to the present invention is a communication device connected to one or more IEEE 1394 devices via an IEEE 1394 bus, and stores communication information for communicating with other communication devices through a network, and device information inherently provided in the own device. Specific device information storage means, emulation device information storage means for acquiring information about IEEE 1394 devices connected to the other communication devices through the communication means, and storing the information as emulation device information, and the one or more IEEE 1394 devices An association information storage means for associating and storing the unique device information and the emulated device information, respectively, and IEEE 1394 connected to the other communication device on the IEEE 1394 bus based on the emulated device information. Emulator hands that emulate equipment And recognition means for recognizing at least one of the one or more IEEE 1394 devices as a control device for controlling the emulated device, and when the control device or the one or more IEEE 1394 devices are connected, The device information associated by the association information corresponding to the device that has been identified is expressed as device information of the own device.

これにより、前記1以上のIEEE1394機器は前記IEEE1394バスを通じて本発明の通信機器にアクセスすることにより、異なるネットワーク例えばIEEE1394以外のプロトコルを用いた前記ネットワークを通じて接続された遠方のIEEE1394バス上のIEEE1394機器と擬似的に通信することが可能となる。   As a result, the one or more IEEE 1394 devices access the communication device of the present invention through the IEEE 1394 bus, so that the IEEE 1394 device on a distant IEEE 1394 bus connected through the network using a protocol other than IEEE 1394 is different from the IEEE 1394 device. It becomes possible to perform pseudo communication.

特に、本発明の通信機器は制御する機器に応じて使用可能なプラグの見せ方を変えることで、プラグの共有を的確なものにすることが可能になり、1つのPHYチップで複数の機器をエミュレートすることが可能になる。   In particular, the communication device of the present invention makes it possible to accurately share the plug by changing the way the plug that can be used is displayed according to the device to be controlled, and a plurality of devices can be connected with one PHY chip. It becomes possible to emulate.

さらに、前記1以上のIEEE1394機器のうち少なくとも1つを前記エミュレート機器を制御する制御機器として認識する認識手段とを備え、前記制御機器又は前記1以上のIEEE1394機器が接続されると、該接続された機器に応じた前記関連付け情報により関連付けられる機器情報を、自機の機器情報として現すことがより好ましい。   Recognizing means for recognizing at least one of the one or more IEEE 1394 devices as a control device for controlling the emulated device, and when the control device or the one or more IEEE 1394 devices are connected, More preferably, the device information associated by the association information corresponding to the device that has been identified is represented as device information of the own device.

また、より好ましくは、前記エミュレート手段は、前記制御機器に応じて1394PHYチップに対してエミュレートノードを割り当てるものである。   More preferably, the emulation means allocates an emulation node to a 1394 PHY chip according to the control device.

ここで1394PHYチップとは、IEEE1394バスにおいて、リピート、ケーブルの状態認識、バスの初期化、アービトレーションなどIEEE1394の物理層の処理を行う基本機能を備えた既存の1394PHYチップであるものとする。   Here, it is assumed that the 1394 PHY chip is an existing 1394 PHY chip having basic functions for processing the IEEE 1394 physical layer such as repeat, cable status recognition, bus initialization, and arbitration in the IEEE 1394 bus.

さらに、前記1以上のIEEE1394機器の情報を記憶する内部機器情報記憶手段を備え、前記認識手段は、前記内部機器情報に基づいて、接続された前記1以上のIEEE1394機器を前記制御機器として認識することがより好ましい。   The information processing apparatus further includes an internal device information storage unit that stores information on the one or more IEEE 1394 devices, and the recognition unit recognizes the connected one or more IEEE 1394 devices as the control device based on the internal device information. It is more preferable.

より好ましい具体的な態様として、前記機器固有の機器情報及び/又は前記内部機器情報は、1394機器のプラグ情報を含んでいる。また、前記機器固有の機器情報及び/又は前記内部機器情報は、1394機器のGUIDを含んでいるものであってもよい。1394機器のGUIDは、世界中で重複しないよう一元管理されたIDであるから、各1394機器固有の識別情報として用いることができる。   As a more preferable specific aspect, the device information unique to the device and / or the internal device information includes plug information of a 1394 device. The device information unique to the device and / or the internal device information may include a GUID of a 1394 device. Since the GUID of the 1394 device is an ID that is centrally managed so as not to be duplicated around the world, it can be used as identification information unique to each 1394 device.

具体的な態様として、前記通信機器は、ゲートウェイ装置である。
具体的な態様として、前記ネットワークは、有線ネットワーク又は無線ネットワークである。
As a specific aspect, the communication device is a gateway device.
As a specific aspect, the network is a wired network or a wireless network.

より好ましい具体的な態様として、前記ネットワークは、IEEE1394ネットワーク以外のネットワークを含むものである。   As a more preferred specific aspect, the network includes a network other than the IEEE 1394 network.

本発明のシステムは、1以上のIEEE1394機器と上記に記載した通信機器とを含む第1のIEEE1394バスと、1以上のIEEE1394機器と上記に記載した通信機器とを含む第2のIEEE1394バスとを含んでおり、前記第1のIEEE1394バスの通信機器と前記第2のIEEE1394バスの通信機器とがネットワークを通じて通信可能であることを特徴としている。   The system of the present invention includes a first IEEE 1394 bus including one or more IEEE 1394 devices and the communication device described above, and a second IEEE 1394 bus including one or more IEEE 1394 devices and the communication device described above. In addition, the first IEEE 1394 bus communication device and the second IEEE 1394 bus communication device can communicate with each other through a network.

以上、詳述したように、本発明によれば、1つのPHYチップを実装した1つのノードで複数の機器をエミュレートすることができ、異なった制御先から異なったネットワークに接続された異なった機器を制御することができる。例えば、1394機器ネットワークにおいて本発明の通信機器を設置することにより、1394バス上の他のプロトコルとのブリッジに対応していない既存の1394機器から、別のプロトコルによりネットワーク接続されている他の1394バス上の複数の1394機器に対して、同じ1394バス上の機器と同様に操作することが低コストで実現可能になる。   As described above in detail, according to the present invention, it is possible to emulate a plurality of devices on one node mounted with one PHY chip, and different devices connected to different networks from different control destinations. The device can be controlled. For example, by installing the communication device of the present invention in a 1394 device network, another 1394 network connected by another protocol from an existing 1394 device that does not support bridging with another protocol on the 1394 bus. It becomes possible to operate a plurality of 1394 devices on the bus in the same manner as devices on the same 1394 bus at a low cost.

以下、添付図面を参照しながら本発明の好適な通信機器及びシステムの実施の形態について詳細に説明する。
〔本発明の背景技術〕
本発明者らは、第1の1394バス上の通信機器において、第2の1394バス上の機器をノードとしてエミュレートし、第2の1394バス上の通信機器において、第1の1394バス上の機器をノードとしてエミュレートすることにより、第1の1394バス上の1394機器及び第2の1394バス上の1394機器が互いに上記ネットワーク上のノードとして通信する通信機器について既に出願した(特願2003−65473号参照)。
Hereinafter, preferred embodiments of a communication device and system according to the present invention will be described in detail with reference to the accompanying drawings.
[Background Art of the Present Invention]
The present inventors emulate the device on the second 1394 bus as a node in the communication device on the first 1394 bus, and the communication device on the first 1394 bus in the communication device on the second 1394 bus. An application has already been filed for a communication device in which a 1394 device on the first 1394 bus and a 1394 device on the second 1394 bus communicate with each other as a node on the network by emulating the device as a node (Japanese Patent Application 2003-2003). No. 65473).

これにより、1394バス上の他のプロトコルとのブリッジに対応していない既存の1394機器から、別のプロトコルによりネットワーク接続されている他の1394バス上の複数の1394機器に対して、同じ1394バス上の機器と同様に操作することが可能になった。   As a result, the same 1394 bus can be used from an existing 1394 device that does not support bridging with other protocols on the 1394 bus to a plurality of 1394 devices on other 1394 buses that are network-connected by another protocol. It became possible to operate in the same way as the above equipment.

ところで、上記通信機器においては、エミュレートされた機器ごとにノードを持つことを前提としており、プラグは通信装置に固定的に存在するものを想定していた。この場合、あらかじめ複数のノードを上記通信機器に用意することになる。しかし、それではノードを複数持たせる仕組みとしてPHYチップを複数持つこととなりコストが高くなることが考えられる。   By the way, the communication device is assumed to have a node for each emulated device, and the plug is assumed to be fixedly present in the communication device. In this case, a plurality of nodes are prepared in advance in the communication device. However, it is conceivable that the cost increases due to having a plurality of PHY chips as a mechanism for providing a plurality of nodes.

また仮に、1つのノードで複数のエミュレートされた機器を制御できるようにできたとしても、プラグを共有する仕組みがないので、どのエミュレート機器がどのプラグを使用しているのかを知る手段がなかった。   Even if a single node can control multiple emulated devices, there is no mechanism for sharing plugs, so there is a way to know which emulated device uses which plug. There wasn't.

そこで本発明は、制御する機器に応じて使用可能なプラグの見せ方を変えることで、プラグの共有を的確なものにすることを可能にするものである。   Therefore, the present invention makes it possible to accurately share plugs by changing the appearance of plugs that can be used according to the device to be controlled.

図1は、本発明の実施の形態の通信機器、及び他の1394機器を含んだネットワークの構成を示す図である。本実施の形態は、IEEE1394バスの有線1394ネットワークと、異なるネットワークとしてワイヤレス1394ネットワークとがゲートウェイを介して接続されており、1394機器間で互いにデータの送受信が可能なデータ伝送システムに適用した場合の例である。伝送するリアルタイムデータには、例えばMPEG2−TSパケットがある。   FIG. 1 is a diagram showing a configuration of a network including a communication device according to an embodiment of the present invention and other 1394 devices. The present embodiment is applied to a data transmission system in which a wired 1394 network of an IEEE 1394 bus and a wireless 1394 network as different networks are connected via a gateway and data can be transmitted and received between 1394 devices. It is an example. Real-time data to be transmitted includes, for example, MPEG2-TS packets.

図1に示すネットワークは、有線1394ネットワークに属する第1の1394バス10に接続された1394機器AVDev_A(GUID_A)11及び1394機器AVDev_B(GUID_B)12と、第2の1394バス20に接続されたエミュレート機器(ターゲット機器)である1394機器AVDev_1(GUID_1)21及び1394機器AVDev_2(GUID_2)22と、第1の1394バス10に接続されたAVDev_A(GUID_A)11及び/又はAVDev_B(GUID_B)12とワイヤレス1394ネットワーク間で、リアルタイムデータ伝送のプロトコルの仲介を行うゲートウェイGW_A(GUID_GW_A)30(通信機器)と、第2の1394バス20に接続されたAVDev_1(GUID_1)21及び/又はAVDev_2(GUID_2)22とリアルタイムデータ伝送のプロトコルの仲介を行うゲートウェイGW_1(GUID_GW_1)40(通信機器)とを備えて構成される。また、ゲートウェイGW_A(GUID_GW_A)30とゲートウェイGW_1(GUID_GW_1)40はワイヤレス1394ネットワーク50で接続されている。   The network shown in FIG. 1 includes an 1394 device AVDev_A (GUID_A) 11 and a 1394 device AVDev_B (GUID_B) 12 connected to a first 1394 bus 10 belonging to a wired 1394 network, and an emulator connected to a second 1394 bus 20. 1394 device AVDev_1 (GUID_1) 21 and 1394 device AVDev_2 (GUID_2) 22 which are rate devices (target devices), AVDev_A (GUID_A) 11 and / or AVDev_B (GUID_B) 12 connected to the first 1394 bus 10 and wireless AVDe connected to the gateway GW_A (GUID_GW_A) 30 (communication device) that mediates the protocol for real-time data transmission between the 1394 networks and the second 1394 bus 20 _1 (GUID_1) 21 and / or AVDev_2 (GUID_2) 22 and a gateway GW_1 (GUID_GW_1) which mediates the real-time data transmission protocol 40 (communication apparatus) and configured with a. The gateway GW_A (GUID_GW_A) 30 and the gateway GW_1 (GUID_GW_1) 40 are connected by a wireless 1394 network 50.

図1では、第1の1394バス10に接続されたAVDev_A(GUID_A)11及びAVDev_B(GUID_B)12と、第2の1394バス20に接続されたAVDev_1(GUID_1)21及びAVDev_2(GUID_2)22とを1394ネットワークで接続することを想定している。この場合、この1394ネットワークが、本実施の形態のようにワイヤレス1394ネットワーク又は1394ネットワーク以外のネットワークの場合には、そのまま接続することはできず、ゲートウェイを介在させることになる。本実施の形態では、ワイヤレス1394ネットワーク50を経由することとしたため、AVDev_A(GUID_A)11及びAVDev_B(GUID_B)12とワイヤレス1394ネットワーク50間にゲートウェイGW_A(GUID_GW_A)30を介在させ、またAVDev_1(GUID_1)21及びAVDev_2(GUID_2)22とワイヤレス1394ネットワーク50間にゲートウェイGW_1(GUID_GW_1)40を介在させる。   In FIG. 1, AVDev_A (GUID_A) 11 and AVDev_B (GUID_B) 12 connected to the first 1394 bus 10 and AVDev_1 (GUID_1) 21 and AVDev_2 (GUID_2) 22 connected to the second 1394 bus 20 are shown. It is assumed that the connection is made through a 1394 network. In this case, when the 1394 network is a wireless 1394 network or a network other than the 1394 network as in the present embodiment, it cannot be connected as it is, and a gateway is interposed. In the present embodiment, since the wireless 1394 network 50 is routed, the gateway GW_A (GUID_GW_A) 30 is interposed between the AV Dev_A (GUID_A) 11 and AV Dev_B (GUID_B) 12 and the wireless 1394 network 50, and AVDev_1 (GUID_1). 21 and AVDev_2 (GUID_2) 22 and the wireless 1394 network 50, a gateway GW_1 (GUID_GW_1) 40 is interposed.

また、本実施の形態のゲートウェイGW_A(GUID_GW_A)30及びゲートウェイGW_1(GUID_GW_1)40は、ゲートウェイとしての機能、例えばプロトコルの変換や、同期周期の変換、再パケット化などのゲートウェイ機能のほかに、第1の1394バス上の通信機器において、第2の1394バス上の機器をノードとしてエミュレートし、第2の1394バス上の通信機器において、第1の1394バス上の機器をノードとしてエミュレートすることにより、第1の1394バス上の1394機器及び第2の1394バス上の1394機器が互いに上記ネットワーク上のノードとして通信することを可能にするエミュレート機能を備えている。   Further, the gateway GW_A (GUID_GW_A) 30 and the gateway GW_1 (GUID_GW_1) 40 of the present embodiment have functions as gateways, for example, gateway functions such as protocol conversion, synchronization period conversion, and repacketization. The communication device on the first 1394 bus emulates the device on the second 1394 bus as a node, and the communication device on the second 1394 bus emulates the device on the first 1394 bus as a node. Thus, an emulation function is provided that enables 1394 devices on the first 1394 bus and 1394 devices on the second 1394 bus to communicate with each other as nodes on the network.

ここでは、第1の1394バス10に接続されたAVDev_A(GUID_A)11又はAVDev_B(GUID_B)12から見た場合に、ゲートウェイGW_A(GUID_GW_A)30上に、第2の1394バス20に接続されたAVDev_1(GUID_1)21及び1394機器AVDev_2(GUID_2)22がエミュレート機器(ターゲット機器)としてエミュレートされる。また逆に、第2の1394バス20に接続されたAVDev_1(GUID_1)21又は1394機器AVDev_2(GUID_2)22から見た場合に、ゲートウェイGW_1(GUID_GW_1)40上に、第1の1394バス10に接続されたAVDev_A(GUID_A)11又はAVDev_B(GUID_B)12がエミュレート機器(ターゲット機器)としてエミュレートされる。   Here, when viewed from the AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 connected to the first 1394 bus 10, the AVDev_1 connected to the second 1394 bus 20 on the gateway GW_A (GUID_GW_A) 30 (GUID_1) 21 and 1394 device AVDev_2 (GUID_2) 22 are emulated as an emulated device (target device). Conversely, when viewed from the AVDev_1 (GUID_1) 21 or the 1394 device AVDev_2 (GUID_2) 22 connected to the second 1394 bus 20, it is connected to the first 1394 bus 10 on the gateway GW_1 (GUID_GW_1) 40. The AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 is emulated as an emulated device (target device).

ゲートウェイGW_A(GUID_GW_A)30は、AVDev_1(GUID_1)21をエミュレートしたエミュレート機器Emulate[0]110と、AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[1]120とを仮想的に備える。また、ゲートウェイGW_1(GUID_GW_1)40は、AVDev_A(GUID_A)11をエミュレートしたエミュレート機器Emulate[0]210と、AVDev_B(GUID_B)12をエミュレートしたエミュレート機器Emulate[1]220とを仮想的に備える。   The gateway GW_A (GUID_GW_A) 30 virtually includes an emulation device Emulate [0] 110 that emulates the AVDev_1 (GUID_1) 21 and an emulation device Emulate [1] 120 that emulates the AVDev_2 (GUID_2) 22. . Further, the gateway GW_1 (GUID_GW_1) 40 virtually emulates the emulation device Emulate [0] 210 that emulates the AVDev_A (GUID_A) 11 and the emulation device Emulate [1] 220 that emulates the AVDev_B (GUID_B) 12. Prepare for.

これにより、例えば、第1の1394バス10によりAVDev_A(GUID_A)11がゲートウェイGW_A(GUID_GW_A)30に接続されると、AVDev_A(GUID_A)11からは、ゲートウェイGW_A(GUID_GW_A)30上のEmulate[0]110,Emulate[1]120が、第2の1394バス20に接続されたAVDev_1(GUID_1)21,AVDev_2(GUID_2)22として見えており、制御等の対象として認識することができる。また、AVDev_B(GUID_B)12をゲートウェイGW_A(GUID_GW_A)30に接続した場合、AVDev_1(GUID_1)21又はAVDev_2(GUID_2)22をゲートウェイGW_1(GUID_GW_1)40に接続した場合も同様である。このようにして、第1の1394バス10に接続されたノードは、あたかも同じネットワーク上の機器をコントロールするようにゲートウェイGW_1(GUID_GW_1)40上の第2の1394バス20に接続されたノードに対してFCP(Function Control Protocol)フレームのAV/C(Audio / Video Compatibility)コマンドを送信することができる。なお、第1の1394バス10に接続されたAVDev_A(GUID_A)11,AVDev_B(GUID_B)12、第2の1394バス20に接続されたAVDev_1(GUID_1)21,AVDev_2(GUID_2)22自体は、従来のIEEE1394ネットワーク機器から変更はなく、既設の機器をそのまま用いることができる。   As a result, for example, when the AV Dev_A (GUID_A) 11 is connected to the gateway GW_A (GUID_GW_A) 30 by the first 1394 bus 10, the AV Dev_A (GUID_A) 11 is configured to execute [0] on the gateway GW_A (GUID_GW_A) 30. 110, Emulate [1] 120 are visible as AVDev_1 (GUID_1) 21 and AVDev_2 (GUID_2) 22 connected to the second 1394 bus 20, and can be recognized as targets for control and the like. Further, when AVDev_B (GUID_B) 12 is connected to gateway GW_A (GUID_GW_A) 30, AVDev_1 (GUID_1) 21 or AVDev_2 (GUID_2) 22 is connected to gateway GW_1 (GUID_GW_1) 40. In this way, a node connected to the first 1394 bus 10 is connected to a node connected to the second 1394 bus 20 on the gateway GW_1 (GUID_GW_1) 40 so as to control devices on the same network. Thus, an AV / C (Audio / Video Compatibility) command of an FCP (Function Control Protocol) frame can be transmitted. Note that AVDev_A (GUID_A) 11, AVDev_B (GUID_B) 12 connected to the first 1394 bus 10, AVDev_1 (GUID_1) 21, AVDev_2 (GUID_2) 22 connected to the second 1394 bus 20 itself are There is no change from the IEEE 1394 network device, and the existing device can be used as it is.

また、図1中のくさび形形状で示される矢印は、各機器のプラグを模式的に表している。このプラグに対するPCR(Plug Control Register)の詳細については図2により後述する。例えば図1では、AVDev_A(GUID_A)11,AVDev_B(GUID_B)12は、1つの出力プラグoPCR(Output Plug Control Register)[0]と1つの入力プラグiPCR(Input Plug Control Register)[0]を持つ。AVDev_1(GUID_1)21,AVDev_2(GUID_2)22についても同様に、1つの出力プラグoPCR[0]と1つの入力プラグiPCR[0]を持つ。   Moreover, the arrow shown by the wedge shape in FIG. 1 represents the plug of each apparatus typically. Details of the PCR (Plug Control Register) for this plug will be described later with reference to FIG. For example, in FIG. 1, AVDev_A (GUID_A) 11 and AVDev_B (GUID_B) 12 have one output plug oPCR (Output Plug Control Register) [0] and one input plug iPCR (Input Plug Control Register) [0]. Similarly, AVDev_1 (GUID_1) 21 and AVDev_2 (GUID_2) 22 have one output plug oPCR [0] and one input plug iPCR [0].

一方、ゲートウェイGW_A(GUID_GW_A)30,ゲートウェイGW_1(GUID_GW_1)40については、これらゲートウェイが1394機器として自機が本来固有に備えるPCRのプラグと、エミュレートした機器のプラグ情報と、制御する機器から見てゲートウェイがエミュレート機器(ターゲット機器)となるように、制御する機器に応じて、エミュレート機器のプラグ情報と自機固有のPCRのプラグとを対応付ける手段とを備える構成となっている。   On the other hand, for the gateway GW_A (GUID_GW_A) 30 and the gateway GW_1 (GUID_GW_1) 40, these gateways are inherently inherent as 1394 devices, the plugs of the PCR, the plug information of the emulated devices, and the devices to be controlled. Thus, the gateway is an emulated device (target device), and is configured to include means for associating the plug information of the emulated device and the PCR plug unique to the own device according to the device to be controlled.

例えば、図1のゲートウェイGW_A(GUID_GW_A)30は、1394機器として自機が本来固有に備える3つの出力プラグoPCR[0],oPCR[1],oPCR[2]及び入力プラグiPCR[0]i,PCR[1],iPCR[2]と、AVDev_1(GUID_1)21をエミュレートしたエミュレート機器Emulate[0]110のプラグ情報であるoPCR[0]及びiPCR[0]と、AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[1]120のプラグ情報であるoPCR[0]及びiPCR[0]と、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12から見て、ゲートウェイGW_A(GUID_GW_A)30がエミュレート機器(ターゲット機器)となるように、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12に応じて、エミュレート機器のプラグ情報oPCR[0]及びiPCR[0]と自機固有のPCRのプラグoPCR[0],oPCR[1],oPCR[2]及びiPCR[0]i,PCR[1],iPCR[2]とを対応付ける手段とを備える。   For example, the gateway GW_A (GUID_GW_A) 30 in FIG. 1 has three output plugs oPCR [0], oPCR [1], oPCR [2], and input plugs iPCR [0] i, which are inherently inherent in the own device as a 1394 device. OPCR [0], iPCR [0], and AVDev_2 (GUID_2) 22 which are plug information of the emulator [Emulate [0] 110 emulating the PCR [1], iPCR [2], AVDev_1 (GUID_1) 21 The oGW [0] and iPCR [0], which are plug information of the emulated emulated device Emulate [1] 120, and the controlling device AVDev_A (GUID_A) 11 or AVDdev_B (GUID_B) 12, the gateway GW_A (GUID_GW_A) 30 becomes an emulated device (target device) Depending on the device AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 to be controlled, plug information oPCR [0] and iPCR [0] of the emulated device and plugs oPCR [0], oPCR [1] of the PCR unique to the device itself , OPCR [2] and iPCR [0] i, PCR [1], iPCR [2].

上記エミュレート機器のプラグ情報oPCR[0]及びiPCR[0]と自機固有のPCRのプラグoPCR[0],oPCR[1],oPCR[2]及びiPCR[0]i,PCR[1],iPCR[2]とを対応付ける手段は、具体的には図2乃至図4により後述するプラグ制御及び割り付けデータベース(DB)により実現される。この対応付けは図1ではプラグ同士を線で結ぶことにより表されている。図1に示す対応付けは、一例であり、ゲートウェイGW_A(GUID_GW_A)30に接続される、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12、あるいは図示しないその他の1394機器により上記対応付けは変更される。この対応付けの変更は、ゲートウェイGW_A(GUID_GW_A)30内部のプラグ制御(図4により後述する)により実現されるものであり、制御する機器に応じてゲートウェイGW_A(GUID_GW_A)30内部の前記プラグ同士の接続対応付けは変わる。また、このプラグ制御は、ゲートウェイGW_A(GUID_GW_A)30内部で行われるもので、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12のoPCR[0]及びiPCR[0]と、ゲートウェイGW_A(GUID_GW_A)30のプラグoPCR[0],oPCR[1],oPCR[2]及びiPCR[0]i,PCR[1],iPCR[2]との、外側から見た場合の接続関係には変更はない。   Plug information oPCR [0] and iPCR [0] of the above-mentioned emulated device and plugs oPCR [0], oPCR [1], oPCR [2] and iPCR [0] i, PCR [1] of the device-specific PCR The means for associating the iPCR [2] is specifically realized by a plug control and allocation database (DB) described later with reference to FIGS. This association is shown in FIG. 1 by connecting the plugs with a line. The association shown in FIG. 1 is an example, and the association is performed by the controlled device AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 connected to the gateway GW_A (GUID_GW_A) 30, or other 1394 devices not shown. Be changed. This association change is realized by plug control (to be described later with reference to FIG. 4) in the gateway GW_A (GUID_GW_A) 30, and between the plugs in the gateway GW_A (GUID_GW_A) 30 depending on the device to be controlled. Connection association changes. This plug control is performed inside the gateway GW_A (GUID_GW_A) 30. The oPCR [0] and iPCR [0] of the device AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 to be controlled, and the gateway GW_A (GUID_GW_A) ) There is no change in the connection relationship of 30 plugs oPCR [0], oPCR [1], oPCR [2] and iPCR [0] i, PCR [1], iPCR [2] when viewed from the outside. .

したがって、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12から見た場合、ゲートウェイGW_A(GUID_GW_A)30には、AVDev_1(GUID_1)21をエミュレートしたエミュレート機器Emulate[0]110と、AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[1]120とが見えるという従来のエミュレート機能に加え、本実施の形態特有の機能として、ゲートウェイGW_A(GUID_GW_A)30は、エミュレート機器のプラグ情報を制御しにきた相手(制御する機器)に応じてプラグ情報の見せ方を変える機能を有する。以上は、ゲートウェイGW_A(GUID_GW_A)30についての説明であるが、ゲートウェイGW_1(GUID_GW_1)40と、制御する機器AVDev_1(GUID_1)21又はAVDev_2(GUID_2)22とについても同様であり、ゲートウェイGW_1(GUID_GW_1)40は、エミュレート機器のプラグ情報を制御しにきた相手(制御する機器)に応じてプラグ情報の見せ方を変える。これにより、プラグの共有を的確なものにすることが可能になるとともに、複数のノードに対応するために従来必要であった複数のPHYチップを1つにすることができ、大幅なコスト低減を図ることができる。   Therefore, when viewed from the controlled device AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12, the gateway GW_A (GUID_GW_A) 30 has an emulation device Emulate [0] 110 that emulates the AVDev_1 (GUID_1) 21, and AVDev_2. In addition to the conventional emulation function that the emulator device Emulate [1] 120 that emulates (GUID_2) 22 can be seen, as a function unique to the present embodiment, the gateway GW_A (GUID_GW_A) 30 is a plug of the emulator device. It has a function of changing how the plug information is displayed according to the other party (device to control) who has come to control the information. The above is a description of the gateway GW_A (GUID_GW_A) 30, but the same applies to the gateway GW_1 (GUID_GW_1) 40 and the controlled device AVDev_1 (GUID_1) 21 or AVDev_2 (GUID_2) 22, and the gateway GW_1 (GUID_GW_1). 40 changes the way the plug information is displayed according to the other party (control device) who came to control the plug information of the emulated device. As a result, sharing of plugs can be made accurate, and a plurality of PHY chips that have been conventionally required to support a plurality of nodes can be integrated into one, which greatly reduces the cost. Can be planned.

ところで、図1に示すような1394バスでは、接続機器の増減、バスリセット発生時などに、コンフィグレーションプロセスが起動され、バスの初期化、ツリーの識別、自己認識などを行い、各機器にはノードIDを割り当てるようになっている。これらの処理は、通常、各1394機器に内蔵されている1394PHYチップが行うようになっており、それぞれの1394PHYチップに対して1つのノードIDが割り当てられている。   By the way, with the 1394 bus as shown in FIG. 1, the configuration process is started when the number of connected devices increases or decreases, when a bus reset occurs, etc., and bus initialization, tree identification, self-recognition, etc. are performed. A node ID is assigned. These processes are normally performed by a 1394 PHY chip built in each 1394 device, and one node ID is assigned to each 1394 PHY chip.

また、各1394機器には、ノードIDとは別に、工場出荷時に世界中で一意に定められる64ビットのGUID(Global Unique ID)が割り当てられており、このGUIDは、通常、ConfigROMに格納されている。ConfigROMは1つのノードに必ず1つは存在するようになっている。   In addition to the node ID, each 1394 device is assigned a 64-bit GUID (Global Unique ID) that is uniquely determined all over the world at the time of factory shipment. This GUID is usually stored in the ConfigROM. Yes. There is always one ConfigROM per node.

ここでは、各1394機器、AVDev_A(GUID_A)11、AVDev_B(GUID_B)12、AVDev_1(GUID_1)21、AVDev_2(GUID_2)22、ゲートウェイGW_A(GUID_GW_A)30及びゲートウェイGW_1(GUID_GW_1)40は、それぞれ1つのConfigROMを備えており、それぞれがGUIDを格納している。   Here, each 1394 device, AVDev_A (GUID_A) 11, AVDev_B (GUID_B) 12, AVDev_1 (GUID_1) 21, AVDev_2 (GUID_2) 22, gateway GW_A (GUID_GW_A) 30, and gateway GW_1 (GUID_G_1_GUI_g_g_1_GUI_g_f_g_1_GUI_g_f_g_1_GUI_g_f_1_GUI_g_f_g_1_GUI_g_f_1) And each stores a GUID.

また、一方で、AVDev_A(GUID_A)11、AVDev_B(GUID_B)12及びゲートウェイGW_A(GUID_GW_A)30には第1の1394バス10におけるノードIDを割り当てており、AVDev_1(GUID_1)21、AVDev_2(GUID_2)22及びゲートウェイGW_1(GUID_GW_1)40には、第2の1394バス20におけるノードIDをそれぞれ割り当てている。   On the other hand, node IDs in the first 1394 bus 10 are assigned to AVDev_A (GUID_A) 11, AVDev_B (GUID_B) 12, and gateway GW_A (GUID_GW_A) 30, and AVDev_1 (GUID_1) 21, AVDev_2 (GUID_2) 22 And the gateway GW_1 (GUID_GW_1) 40 are assigned node IDs in the second 1394 bus 20, respectively.

以下、上述のように構成されたゲートウェイ及びこれを含む1394機器ネットワークのエミュレート動作を説明する。ここでは、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12が、ゲートウェイGW_A(GUID_GW_A)30に接続される場合の各機器におけるエミュレート動作を例にとる。   Hereinafter, the emulation operation of the gateway configured as described above and the 1394 equipment network including the gateway will be described. Here, the emulation operation in each device when the device AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 to be controlled is connected to the gateway GW_A (GUID_GW_A) 30 is taken as an example.

図2は、ゲートウェイGW_A(GUID_GW_A)30の内部構成を概略的に示す図である。ゲートウェイGW_1(GUID_GW_1)40についても同様であり、ゲートウェイGW_A(GUID_GW_A)30を代表して説明する。   FIG. 2 is a diagram schematically showing an internal configuration of the gateway GW_A (GUID_GW_A) 30. The same applies to the gateway GW_1 (GUID_GW_1) 40, and the gateway GW_A (GUID_GW_A) 30 will be described as a representative.

図2に示すように、ゲートウェイGW_A30のConfigROM300と、AVDev_1(GUID_1)21をエミュレートしたエミュレート機器Emulate[0]110のConfigROM310と、AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[1]120のConfigROM320とを備える。また、AVDev_A(GUID_A)11及びAVDev_B(GUID_B)12についても同様に、ノードIDとは別に、工場出荷時に世界中で一意に定められる64ビットのGUIDが割り当てられており、ConfigROMに格納されている。これにより、ゲートウェイGW_A(GUID_GW_A)30は、接続された1394機器、図2ではAVDev_A(GUID_A)11及びAVDev_B(GUID_B)12のConfigROMを確認することで、AVDev_A(GUID_A)11がエミュレート機器Emulate[0]110に接続される機器であり、また、AVDev_B(GUID_B)12がゲートウェイGW_A30に接続される機器であることが分る。このようにして、ゲートウェイGW_A(GUID_GW_A)30は、1394機器AVDev_A(GUID_A)11が接続された場合は、エミュレート機器Emulate[0]110を制御する機器としてAVDev_A(GUID_A)11を認識し、1394機器AVDev_B(GUID_B)12が接続された場合は、エミュレート機器を制御する機器としてではなく、ゲートウェイ接続機器として接続されたことを認識する。そして、接続される機器に応じて、図3に述べるようにゲートウェイGW_A(GUID_GW_A)30のプラグ情報とエミュレート機器のプラグ情報の見せ方を変える。ここでは、AVDev_A(GUID_A)11が接続された場合は、エミュレート機器Emulate[0]のプラグ情報を接続機器に見せ、AVDev_B(GUID_B)12が接続された場合は、ゲートウェイ固有のプラグ情報を見せる。   As shown in FIG. 2, the ConfigROM 300 of the gateway GW_A30, the ConfigROM 310 of the emulation device Emulate [0] 110 that emulates the AVDev_1 (GUID_1) 21, and the emulation device Emulate [1] that emulates the AVDev_2 (GUID_2) 22. 120 ConfigROMs 320. Similarly, for AVDev_A (GUID_A) 11 and AVDev_B (GUID_B) 12, apart from the node ID, a 64-bit GUID that is uniquely determined all over the world at the time of factory shipment is assigned and stored in the ConfigROM. . Accordingly, the gateway GW_A (GUID_GW_A) 30 confirms the ConfigROM of the connected 1394 device, that is, the AVDev_A (GUID_A) 11 and the AVDev_B (GUID_B) 12 in FIG. 2, so that the AVDev_A (GUID_A) 11 emulates 0] is connected to 110, and AVDev_B (GUID_B) 12 is a device connected to the gateway GW_A30. In this way, when the 1394 device AVDev_A (GUID_A) 11 is connected, the gateway GW_A (GUID_GW_A) 30 recognizes the AVDev_A (GUID_A) 11 as a device that controls the emulated device Emulate [0] 110, and 1394. When the device AVDev_B (GUID_B) 12 is connected, the device AVDev_B (GUID_B) 12 recognizes that it is connected as a gateway connection device, not as a device for controlling the emulation device. Then, depending on the connected device, as shown in FIG. 3, the way of displaying the plug information of the gateway GW_A (GUID_GW_A) 30 and the plug information of the emulated device is changed. Here, when AVDev_A (GUID_A) 11 is connected, the plug information of the emulated device Emulate [0] is shown to the connected device, and when AVDev_B (GUID_B) 12 is connected, the plug information specific to the gateway is shown. .

図3は、エミュレート時のゲートウェイGW_A(GUID_GW_A)30のPCRアドレスマップを示す図である。   FIG. 3 is a diagram illustrating a PCR address map of the gateway GW_A (GUID_GW_A) 30 at the time of emulation.

図3左側のGW_Aは、IEEE1394のアドレス空間にマッピングされるゲートウェイGW_A(GUID_GW_A)30の固有のプラグ情報(固有機器情報)であり、アドレス0x900はoMPR(Output Master Plug Register)、アドレス0x904はoPCR[0]、アドレス0x908はoPCR[1]、アドレス0x90CはoPCR[2]、アドレス0x980はiMPR(Input Master Plug Register)、アドレス0x984はiPCR[0]、アドレス0x988はiPCR[1]、アドレス0x98CはiPCR[2]である。なお、oPCRとiPCRは、機器のプラグ数に応じてそれぞれ最小0個から最大31個を持つことができる。また、oPCRとiPCRを持つことからoMPRとiMPRを1個持っている。   GW_A on the left side of FIG. 3 is unique plug information (unique device information) of the gateway GW_A (GUID_GW_A) 30 mapped in the IEEE 1394 address space, an address 0x900 is an oMPR (Output Master Plug Register), and an address 0x904 is an oPCR [ 0], address 0x908 is oPCR [1], address 0x90C is oPCR [2], address 0x980 is iMPR (Input Master Plug Register), address 0x984 is iPCR [0], address 0x988 is iPCR [1], and address 0x98C is iPCR [2]. The oPCR and iPCR can have a minimum of 0 to a maximum of 31 depending on the number of plugs of the device. Moreover, since it has oPCR and iPCR, it has one oMPR and iMPR.

一方、図3右側の2つのEmulate[0],Emulate[1]は、AVDev_1(GUID_1)21,AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[0]110,Emulate[1]120のプラグ情報(エミュレート機器情報)である。制御する機器又は接続される機器により、ゲートウェイGW_A内部におけるゲートウェイGW_A(GUID_GW_A)30の固有のプラグ情報と該エミュレート機器のプラグ情報との接続関係が異なることを示している。   On the other hand, two Emulate [0] and Emulate [1] on the right side of FIG. 3 are plugs of the emulated devices Emulate [0] 110 and Emulate [1] 120 that emulate AVDev_1 (GUID_1) 21 and AVDev_2 (GUID_2) 22. Information (emulated device information). This shows that the connection relationship between the plug information unique to the gateway GW_A (GUID_GW_A) 30 inside the gateway GW_A and the plug information of the emulator device differs depending on the device to be controlled or the device to be connected.

図3右上側のEmulate[0]は、ゲートウェイGW_A(GUID_GW_A)30に、制御する機器としてAVDev_A(GUID_A)11が接続された場合の、AVDev_1(GUID_1)21をエミュレートしたエミュレート機器Emulate[0]110のプラグ情報である。アドレス0x900はoMPR、アドレス0x904はoPCR[0]、アドレス0x980はiMPR、アドレス0x984はiPCR[0]である。また、図3右下側のEmulate[1]は、ゲートウェイGW_A(GUID_GW_A)30に、制御する機器としてAVDev_B(GUID_B)12が接続された場合の、AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[1]120のプラグ情報である。アドレス0x900はoMPR、アドレス0x904はoPCR[0]、アドレス0x980はiMPR、アドレス0x984はiPCR[0]である。   The Emulate [0] on the upper right side of FIG. 3 is an emulation device Emulate [0] that emulates the AVDev_1 (GUID_1) 21 when the AVDev_A (GUID_A) 11 is connected to the gateway GW_A (GUID_GW_A) 30 as a device to be controlled. ] 110 plug information. Address 0x900 is oMPR, address 0x904 is oPCR [0], address 0x980 is iMPR, and address 0x984 is iPCR [0]. 3 is an emulation device that emulates AVDev_2 (GUID_2) 22 when AVDev_B (GUID_B) 12 is connected to the gateway GW_A (GUID_GW_A) 30 as a device to be controlled. This is plug information of Emulate [1] 120. Address 0x900 is oMPR, address 0x904 is oPCR [0], address 0x980 is iMPR, and address 0x984 is iPCR [0].

次に、エミュレート時におけるゲートウェイGW_A(GUID_GW_A)30の固有のプラグ情報とエミュレート機器のプラグ情報との接続関係について説明する。   Next, a connection relationship between the unique plug information of the gateway GW_A (GUID_GW_A) 30 and the plug information of the emulated device at the time of emulation will be described.

図3のGW_Aに示すように、プラグ情報のアドレス0x904で指定されるoPCR[0]は、GW_AのoPCR[0]に関連付けることをTransaction層又はアプリケーションで設定している。またプラグ情報のアドレス0x908はoPCR[1]にリンクされている。   As shown in GW_A in FIG. 3, the oPCR [0] designated by the address 0x904 of the plug information is set in the Transaction layer or application to be associated with the oPCR [0] of GW_A. The plug information address 0x908 is linked to oPCR [1].

AVDev_A(GUID_A)11がゲートウェイGW_A(GUID_GW_A)30に接続された場合のように、ゲートウェイGW_A(GUID_GW_A)30がAVDev_1(GUID_1)21をエミュレートする場合には、エミュレート機器Emulate[0]110のプラグ情報のプラグ情報を見せるために、図3右上側のEmulate[0]のプラグ情報と図3左側のGW_Aに示すゲートウェイ固有のプラグ情報とを関連付けておく(図3実線矢印参照)。   When the gateway GW_A (GUID_GW_A) 30 emulates the AVDev_1 (GUID_1) 21 as when the AVDev_A (GUID_A) 11 is connected to the gateway GW_A (GUID_GW_A) 30, the emulation device Emulate [0] 110 In order to show the plug information of the plug information, the plug information of Emulate [0] on the upper right side of FIG. 3 is associated with the plug information specific to the gateway indicated by GW_A on the left side of FIG. 3 (see the solid line arrow in FIG. 3).

また、AVDev_B(GUID_B)12がゲートウェイGW_A(GUID_GW_A)30に接続された場合のように、ゲートウェイ固有のプラグ情報を見せるために、図3右下側のEmulate[1]のプラグ情報と図3左側のGW_Aに示すゲートウェイ固有のプラグ情報とを関連付けておく(図3実線矢印参照)。これらプラグ情報同士の関連付けは、Transaction層又はアプリケーションであらかじめ設定される。上記関連付けが、1以上のIEEE1394機器それぞれについて、固有機器情報とエミュレート機器情報とを関連付けて記憶する関連付け情報記憶手段に対応する。具体的には、図4で後述する割付DB520に蓄積された関連付け情報により実現される。そして、制御機器又は1以上のIEEE1394機器が接続されると、該接続された機器に応じた関連付け情報により関連付けられる機器情報を、自機の機器情報として見せる。   Further, in order to show the gateway-specific plug information as in the case where the AVDev_B (GUID_B) 12 is connected to the gateway GW_A (GUID_GW_A) 30, the plug information of the Emulate [1] on the lower right side of FIG. Is associated with the gateway-specific plug information indicated by GW_A (see the solid line arrow in FIG. 3). Association between these pieces of plug information is set in advance in the Transaction layer or application. The association corresponds to an association information storage unit that associates and stores unique device information and emulated device information for each of one or more IEEE 1394 devices. Specifically, this is realized by association information accumulated in an allocation DB 520 described later with reference to FIG. When the control device or one or more IEEE 1394 devices are connected, the device information associated by the association information corresponding to the connected device is displayed as the device information of the own device.

図3のGW_Aのプラグ情報とEmulate[1]のプラグ情報との関連付けを例にとり、プラグの見せ方を変える仕組みについて述べる。AVDev_B(GUID_B)12をゲートウェイGW_A(GUID_GW_A)30に接続した場合に対応するものである。   A mechanism for changing the appearance of the plug will be described by taking the association between the plug information of GW_A and the plug information of Emulate [1] in FIG. 3 as an example. This corresponds to the case where the AVDev_B (GUID_B) 12 is connected to the gateway GW_A (GUID_GW_A) 30.

いま、GW_Aのプラグ情報oPCR[0]に着目すると、本来はoPCR[0]のアドレス0x904が見えることになるが、ここではEmulate[1]のプラグ情報のアドレス0x904は、図3実線矢印に示すように、GW_Aのプラグ情報のアドレス0x908にリンクしてあるので、この場合におけるoPCR[0]は、実際にはoPCR[1]として見える。   If attention is paid to the plug information oPCR [0] of GW_A, the address 0x904 of oPCR [0] can be seen originally. Here, the address 0x904 of the plug information of Emulate [1] is indicated by the solid line arrow in FIG. Thus, since it is linked to the address 0x908 of the plug information of GW_A, oPCR [0] in this case actually appears as oPCR [1].

すなわち、AVDev_B(GUID_B)12をゲートウェイGW_A(GUID_GW_A)30に接続すると、本来であればGW_Aのプラグ情報がAVDev_B(GUID_B)12に渡されるはずであるが、ゲートウェイGW_A(GUID_GW_A)30は、関連付けしている機器であるAVDev_1(GUID_1)21,AVDev_2(GUID_2)22の制御に関しては、該機器をエミュレートしたエミュレート機器Emulate[0],Emulate[1]のプラグ情報を渡す(見せる)ことになる。例えば、AVDev_B(GUID_B)12がEmulate[1]のプラグ情報のoPCR[0]を見たい場合(oPCR[0]に対するリード要求がある場合)、本来であればGW_Aのプラグ情報のアドレス0x904のフラグ情報oPCR[0]を返すべきところであるが、ここではエミュレートされている機器のフラグ情報をリードしたいので、GW_Aのプラグ情報のアドレス0x904のフラグ情報oPCR[0]を返すのではなく、Emulate[1]のプラグ情報のアドレス0x904がGW_Aのプラグ情報と関連付けしているアドレス0x908のフラグ情報oPCR[1]を返すことなる。同様に、AVDev_B(GUID_B)12がEmulate[1]のプラグ情報のiPCR[0]を見たい場合(iPCR[0]に対するリード要求がある場合)、本来であればGW_Aのプラグ情報のアドレス0x984のフラグ情報iPCR[0]を返すべきところであるが、ここではエミュレートされている機器のフラグ情報をリードしたいので、GW_Aのプラグ情報のアドレス0x984のフラグ情報iPCR[0]を返すのではなく、Emulate[1]のプラグ情報のアドレス0x984がGW_Aのプラグ情報と関連付けしているアドレス0x988のフラグ情報iPCR[1]を返すことなる。   That is, when the AVDev_B (GUID_B) 12 is connected to the gateway GW_A (GUID_GW_A) 30, the plug information of the GW_A should normally be passed to the AVDev_B (GUID_B) 12, but the gateway GW_A (GUID_GW_A) 30 is associated. As for the control of AVDev_1 (GUID_1) 21 and AVDev_2 (GUID_2) 22 which are the connected devices, the plug information of the emulated devices Emulate [0] and Emulate [1] emulating the devices is passed (shown). . For example, when AVDev_B (GUID_B) 12 wants to see oPCR [0] of plug information of Emulate [1] (when there is a read request for oPCR [0]), it is originally a flag of address 0x904 of plug information of GW_A Information oPCR [0] should be returned, but here, since the flag information of the emulated device is to be read, instead of returning the flag information oPCR [0] of the address 0x904 of the plug information of GW_A, Emulate [ The plug information address 0x904 of [1] returns the flag information oPCR [1] of the address 0x908 associated with the plug information of GW_A. Similarly, when AVDev_B (GUID_B) 12 wants to see the iPCR [0] of the plug information of Emulate [1] (when there is a read request for iPCR [0]), it is originally the address of 0x984 of the plug information of GW_A The flag information iPCR [0] should be returned, but here, since it is desired to read the flag information of the emulated device, the flag information iPCR [0] of the address 0x984 of the plug information of the GW_A is not returned, but the Emulate The plug information address 0x984 of [1] returns the flag information iPCR [1] of the address 0x988 associated with the plug information of GW_A.

また、図3のGW_Aのプラグ情報とEmulate[0]のプラグ情報との関連付けの場合、すなわちAVDev_A(GUID_B)11をゲートウェイGW_A(GUID_GW_A)30に接続した場合も同様である。   The same applies to the case of associating the plug information of GW_A and the plug information of Emulate [0] in FIG. 3, that is, when AVDev_A (GUID_B) 11 is connected to gateway GW_A (GUID_GW_A) 30.

AVDev_A(GUID_B)11をゲートウェイGW_A(GUID_GW_A)30に接続すると、例えば、AVDev_A(GUID_B)11がEmulate[0]のプラグ情報のoPCR[0]を見たい場合(oPCR[0]に対するリード要求がある場合)、本来であればGW_Aのプラグ情報のアドレス0x904のフラグ情報oPCR[0]を返すべきところであるが、ここではエミュレートされている機器のフラグ情報をリードしたいので、Emulate[0]のプラグ情報のアドレス0x904がGW_Aのプラグ情報と関連付けしているアドレス0x904(この場合、たまたま両者のアドレスが一致している)のフラグ情報oPCR[0]を返すことなる。   When the AVDev_A (GUID_B) 11 is connected to the gateway GW_A (GUID_GW_A) 30, for example, when the AVDev_A (GUID_B) 11 wants to see the oPCR [0] of the plug information of the Emulate [0] (there is a read request for the oPCR [0]) ), The flag information oPCR [0] of the address 0x904 of the plug information of the GW_A should be returned. However, since the flag information of the emulated device is to be read here, the plug of the Emulate [0] The information address 0x904 returns the flag information oPCR [0] of the address 0x904 associated with the plug information of the GW_A (in this case, both addresses coincide with each other).

以上、図2及び図3において説明したように、あらかじめ関連付けられた1394機器AVDev_A(GUID_B)11,AVDev_B(GUID_B)12がゲートウェイGW_A(GUID_GW_A)30に接続されると、ゲートウェイGW_A(GUID_GW_A)30がエミュレート機器Emulate[0],Emulate[1]となって、AVDev_A(GUID_B)11,AVDev_B(GUID_B)12から見ると、ゲートウェイGW_A(GUID_GW_A)30は存在せず、あたかもAVDev_1(GUID_1)21,AVDev_2(GUID_2)22に直接接続されているように見える。また、上記関連付けがない1394機器がゲートウェイGW_A(GUID_GW_A)30に接続されると、ゲートウェイGW_A(GUID_GW_A)30のプラグ情報がそのまま見えることになる。特に、本実施の形態では、ゲートウェイGW_A(GUID_GW_A)30がエミュレート機器Emulate[0],Emulate[1]となる場合に複数のPHYチップを用いてエミュレート機器を実現するのではなく、あらかじめ関連付けられた1394機器のゲートウェイへの接続の仕方によって、ゲートウェイGW_A(GUID_GW_A)30は、図3で述べたようにエミュレート機器のプラグ情報を制御しにきた相手(制御する機器)に応じてプラグ情報の見せ方を変えるプラグ制御を行う。   As described above with reference to FIGS. 2 and 3, when the 1394 devices AVDev_A (GUID_B) 11 and AVDev_B (GUID_B) 12 associated in advance are connected to the gateway GW_A (GUID_GW_A) 30, the gateway GW_A (GUID_GW_A) 30 is When viewed from the AVDev_A (GUID_B) 11 and AVDev_B (GUID_B) 12 as the emulation devices Emulate [0] and Emulate [1], the gateway GW_A (GUID_GW_A) 30 does not exist, as if AVDev_1 (GUID_1) 21 and AVDev_1. It appears that it is directly connected to (GUID_2) 22. In addition, when a 1394 device having no association is connected to the gateway GW_A (GUID_GW_A) 30, the plug information of the gateway GW_A (GUID_GW_A) 30 is visible as it is. In particular, in the present embodiment, when the gateway GW_A (GUID_GW_A) 30 is an emulated device Emulate [0], Emulate [1], an emulated device is not realized using a plurality of PHY chips, but is associated in advance. Depending on how the 1394 device is connected to the gateway, the gateway GW_A (GUID_GW_A) 30 has plug information according to the other party (control device) that has come to control the plug information of the emulated device as described in FIG. Plug control that changes the way the image is displayed.

以上述べたエミュレート動作について、想定されるシナリオ例に従ってさらに詳細に説明する。想定する環境例は図1であり、図2及び図3に示すゲートウェイGW_Aとエミュレート機器との関連付けは既に行われているものとする。
(1)GW_AはAVDev_1をエミュレートしたEmulate[0]を保持する。
(2)GW_AはAVDev_2をエミュレートしたEmulate[1]を保持する。
(3)GW_AのエミュレートではAVDev_1、AVDev_2の各々のConfigROMとMRRレジスタとPCRレジスタの振舞いを模写する。
(4)GW_Aでは、エミュレートされたEmulate[0]、Emulate[1]の各々のPCRレジスタをGW_AのPCRレジスタに割り付ける。
(5)GW_AがGW_AのEmulate[0]とAVDev_Aを関連付ける。
(6)AVDev_AからGW_AのGUIDを見るとEmulate[0]のGUID_1が見える。
(7)AVDev_AからGW_AのMPRレジスタを見るとEmulate[0]のMPRレジスタが見える。
(8)AVDev_AからGW_AのPCRレジスタを見るとEmulate[0]のPCRレジスタが見える。実際には先に関連付けられたGW_AのPCRレジスタの値が見える。
(9)AVDev_AからGW_AのPCRレジスタの値を操作するとEmulate[0]のPCRレジスタの値が操作される。実際には先に関連付けられらGW_AのPCRレジスタの値が操作される。
(10)AVDev_BからGW_AのGUIDを見るとGUID_GW_Aが見える。
(11)AVDev_BからGW_AのMPRレジスタを見るとGW_AのMPRレジスタが見える。
(12)AVDev_BからGW_AのPCRレジスタを見るとGW_AのPCRレジスタが見える。
The emulation operation described above will be described in more detail according to an assumed scenario example. FIG. 1 shows an assumed environment example, and it is assumed that the gateway GW_A and the emulator device shown in FIGS. 2 and 3 have already been associated with each other.
(1) GW_A holds Emulate [0] that emulates AVDev_1.
(2) GW_A holds Emulate [1] emulating AVDev_2.
(3) In the emulation of GW_A, the behavior of each ConfigROM, MRR register, and PCR register of AVDev_1 and AVDev_2 is copied.
(4) In GW_A, each PCR register of Emulated [0] and Emulate [1] is assigned to the PCR register of GW_A.
(5) GW_A associates Emulate [0] of GW_A with AVDev_A.
(6) When the GUID of GW_A is seen from AVDev_A, GUID_1 of Emulate [0] is visible.
(7) When the MPR register of GW_A is seen from AVDev_A, the MPR register of Emulate [0] is visible.
(8) When the PCR register of GW_A is viewed from AVDev_A, the PCR register of Emulate [0] is visible. Actually, the value of the PCR register of GW_A previously associated is visible.
(9) When the value of the PCR register of GW_A is manipulated from AVDev_A, the value of the PCR register of Emulate [0] is manipulated. In practice, the value of the PCR register of GW_A is manipulated in association with the previous one.
(10) When the GUID of GW_A is viewed from AVDev_B, GUID_GW_A can be seen.
(11) When the MPR register of GW_A is viewed from AVDev_B, the MPR register of GW_A is visible.
(12) When the PCR register of GW_A is viewed from AVDev_B, the PCR register of GW_A can be seen.

図4は、図1に示す1394機器ネットワークにおいてゲートウェイのエミュレート動作を時系列的に示すフローチャートである。図中、Sはフローの各ステップを示す。   FIG. 4 is a flowchart showing, in time series, the gateway emulation operation in the 1394 device network shown in FIG. In the figure, S indicates each step of the flow.

まず、ステップS101でユーザにより機器のリスト取得要求があると、ステップS102でエミュレート機器の情報を取得し、レジスタデータベース(DB)500(固有機器情報記憶手段の一部,エミュレート機器情報記憶手段の一部)に機器リスト510として書き込む。具体的には、ユーザから機器のリスト取得要求を受けたゲートウェイが、異なるネットワークの通信機器400に対して機器リストの取得要求を発行し(番号1参照)、異なるネットワークの通信機器400はこの取得要求に応えて要求元のゲートウェイに機器リストを返す(番号2参照)。異なるネットワークとしては、図1のワイヤレス1394ネットワーク50や1394ネットワーク以外のネットワークがある。また、異なるネットワークに接続するためのゲートウェイが必要である。図1の場合は、ユーザがアクセスする1394機器は、例えば第1の1394バス10に接続されたAVDev_A(GUID_A)11,AVDev_B(GUID_B)12であり、ゲートウェイは、ゲートウェイGW_A(GUID_GW_A)30,ゲートウェイGW_1(GUID_GW_1)40である。また、異なるネットワークの通信機器400は、例えば第2の1394バス20に接続されたAVDev_1(GUID_1)21,AVDev_2(GUID_2)22である。なお、上記ステップS102のブロックとその下方に記述した各ステップのブロックは、主としてゲートウェイGW_A(GUID_GW_A)30のファームウェアにより実行される。また、データベースは、ゲートウェイ内部又は外部に設置されたEEPROM等の不揮発性メモリや電源バックアップされたRAM、HDDなどどのような記憶媒体でもよく、データベースはリスト形式、テーブル形式など構築は任意である。   First, when there is a device list acquisition request from the user in step S101, information on the emulated device is acquired in step S102, and a register database (DB) 500 (part of unique device information storage means, emulated device information storage means) is acquired. Is written as a device list 510. Specifically, the gateway that has received the device list acquisition request from the user issues a device list acquisition request to the communication device 400 of a different network (see number 1), and the communication device 400 of the different network acquires this acquisition. In response to the request, the device list is returned to the requesting gateway (see number 2). Different networks include networks other than the wireless 1394 network 50 and 1394 network of FIG. In addition, a gateway for connecting to different networks is required. In the case of FIG. 1, the 1394 devices accessed by the user are, for example, AVDev_A (GUID_A) 11 and AVDev_B (GUID_B) 12 connected to the first 1394 bus 10, and the gateway is gateway GW_A (GUID_GW_A) 30, gateway GW_1 (GUID_GW_1) 40. The communication devices 400 of different networks are, for example, AVDev_1 (GUID_1) 21 and AVDev_2 (GUID_2) 22 connected to the second 1394 bus 20. The block in step S102 and the block in each step described below are mainly executed by the firmware of the gateway GW_A (GUID_GW_A) 30. The database may be any storage medium such as a non-volatile memory such as an EEPROM installed inside or outside the gateway, a power-backed RAM, an HDD, etc., and the database may be arbitrarily constructed in a list format or a table format.

図4に戻って、ステップS201でユーザによりエミュレートする機器を選択すると、ステップS202で選択されたエミュレート機器の情報(ConfigROM,MPRレジスタ,PCRレジスタなど)を取得し、レジスタDB500に機器の情報として書き込む。具体的には、ユーザから機器のエミュレート要求を受けたゲートウェイが、異なるネットワークの通信機器400に対してConfigROM,MPRレジスタ,PCRレジスタなどの機器情報の取得要求を発行し(番号3参照)、異なるネットワークの通信機器400はこの取得要求に応えて要求元のゲートウェイに機器情報を返す(番号4参照)。ゲートウェイGW_A(GUID_GW_A)30は、選択されたエミュレート機器Emulate[n]をエミュレートするための機器情報(ConfigROM,MPRレジスタ,PCRレジスタなど)をレジスタDB500に格納する。   Returning to FIG. 4, when the device to be emulated is selected by the user in step S201, information on the emulated device selected in step S202 (ConfigROM, MPR register, PCR register, etc.) is acquired, and device information is stored in the register DB 500. Write as. Specifically, the gateway that has received the device emulation request from the user issues a device information acquisition request such as ConfigROM, MPR register, and PCR register to the communication device 400 of a different network (see number 3). In response to this acquisition request, the communication device 400 in a different network returns device information to the requesting gateway (see number 4). The gateway GW_A (GUID_GW_A) 30 stores device information (ConfigROM, MPR register, PCR register, etc.) for emulating the selected emulated device Emulate [n] in the register DB 500.

ステップS301でユーザにより割り付ける機器が選択されると、ステップS302で制御先の機器とエミュレート機器を選択して割り付け、割付DB520(関連付け情報記憶手段の一部)に制御先の機器とエミュレート機器を関連付けるデータとして記憶する。なお、この割付DB520は、レジスタDB500と同じ記憶媒体に構築されるものでもよい。上記制御先の機器とエミュレート機器を関連付けるデータは、例えば図3のGW_Aのプラグ情報とEmulate[0],Emulate[1]のプラグ情報に示される。より具体的に説明すると、ユーザがエミュレート時に1394機器(例えば、AVDev_A)をGW_Aに接続することで、上述したようにGW_AにEmulate[0]がエミュレートされるとともに、上記ステップS302で制御先の機器とエミュレート機器を関連付けるデータ(関連付け情報)が作成されて割付DB520に記憶される。このステップS302で作成されるデータが、図3の実線矢印で示される関連付け情報である。ここでは、エミュレート時には、制御先の機器とエミュレート機器を関連付ける関連付け情報が自動的に作成されて保存される例について述べているが、エミュレートできるノード数に上限がある場合が考えられる。そのために、例えばノード数に上限(例えば3つ)がある場合、ユーザにその旨を知らせユーザがエミュレートする機器を選択できる第1のエミュレートモード、ユーザにはこのような通知をせず時間的に後で接続された機器を優先してエミュレートする第2のエミュレートモードなどの態様をとることがより好ましい。   When the device to be assigned is selected by the user in step S301, the control-destination device and the emulation device are selected and assigned in step S302, and the control-destination device and the emulation device are assigned to the assignment DB 520 (part of the association information storage unit). Is stored as associated data. The allocation DB 520 may be constructed on the same storage medium as the register DB 500. The data associating the control target device with the emulated device is indicated in, for example, plug information of GW_A and plug information of Emulate [0] and Emulate [1] in FIG. More specifically, when a user connects a 1394 device (for example, AVDev_A) to GW_A at the time of emulation, Emulate [0] is emulated in GW_A as described above, and the control destination is controlled in step S302. Data (association information) for associating a device with an emulated device is created and stored in the assignment DB 520. The data created in step S302 is the association information indicated by the solid line arrow in FIG. Here, an example has been described in which association information for associating a control target device with an emulated device is automatically created and stored at the time of emulation, but there may be an upper limit on the number of nodes that can be emulated. For this reason, for example, when there is an upper limit (for example, three) in the number of nodes, the first emulation mode in which the user is informed of the fact and the user can select the device to be emulated, time is not given to the user without such notification. In particular, it is more preferable to adopt a mode such as a second emulation mode in which devices connected later are preferentially emulated.

ステップS401で1394AV機器からアクセスが発生すると、ステップS402で割付DB520に蓄積されたデータを基に制御先の機器よりアクセスするレジスタDB500のデータを判定する。   When access from the 1394AV device occurs in step S401, the data in the register DB 500 accessed from the control target device is determined based on the data stored in the allocation DB 520 in step S402.

また、ステップS501で割付DB520より取得した関連するエミュレート機器に従ってレジスタDB500のデータにアクセスする。   Further, the data in the register DB 500 is accessed according to the related emulation device acquired from the allocation DB 520 in step S501.

以上説明したように、本実施の形態に係る通信機器であるゲートウェイGW_A(GUID_GW_A)30は、1394機器として自機が本来固有に備えるプラグ情報と、AVDev_1(GUID_1)21,AVDev_2(GUID_2)22をエミュレートしたエミュレート機器Emulate[0],Emulate[1]のプラグ情報と、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12から見て、ゲートウェイGW_A(GUID_GW_A)30がエミュレート機器(ターゲット機器)となるように、制御する機器AVDev_A(GUID_A)11又はAVDev_B(GUID_B)12に応じて、エミュレート機器のプラグ情報と自機固有のプラグ情報とを関連付ける関連付け情報とを備え、エミュレート機器のプラグ情報を制御しにきた相手(制御する機器)に応じてプラグ情報の見せ方を変えるプラグ制御を行うので、プラグの共有を的確なものにすることが可能になるとともに、1つのPHYチップを実装した1つのノードで複数の機器をエミュレートすることが可能になる。したがって、異なった制御先から異なったネットワークに接続された異なった機器を制御するシステムを低コストで構築することができる。同様に、ネットワーク内で各通信機器と1394バスで接続された1394機器の全てを認識することが可能となる。   As described above, the gateway GW_A (GUID_GW_A) 30, which is a communication device according to the present embodiment, has plug information inherently included in itself as a 1394 device, AVDev_1 (GUID_1) 21, and AVDev_2 (GUID_2) 22. The gateway device GW_A (GUID_GW_A) 30 emulates the plug information of the emulated device Emulate [0], Emulate [1] and the device AVDdev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 to be controlled. To associate the plug information of the emulated device with the plug information unique to the own device according to the controlled device AVDev_A (GUID_A) 11 or AVDev_B (GUID_B) 12 Information, and plug control that changes the way the plug information is displayed depending on the other party (control device) that came to control the plug information of the emulated device, so that sharing of the plug can be made accurate At the same time, it becomes possible to emulate a plurality of devices with one node on which one PHY chip is mounted. Therefore, it is possible to construct a system that controls different devices connected to different networks from different control destinations at low cost. Similarly, it is possible to recognize all 1394 devices connected to each communication device via the 1394 bus in the network.

以上、本発明の通信機器及びこれを含む1394機器ネットワークについて実施の形態を例示して説明したが、本発明は、上記した実施の形態に限定されるものではない。当業者であれば、本発明の要旨を逸脱しない範囲内において、本発明に様々な変更を加えることが可能である。   The communication device of the present invention and the 1394 device network including the communication device have been described above by way of example, but the present invention is not limited to the above-described embodiment. Those skilled in the art can make various modifications to the present invention without departing from the scope of the present invention.

例えば、機器情報は、図2及び図3に示した例に限定されるものではなく、ConfigROM以外のデータや各種プラグ情報を格納してもよい。例えば、ConfigROM以外のレジスタも格納しておき、当該通信機器の属する1394バス上の1394機器から要求に対して、通信機器においてエミュレートしたノードから応答するようにすることも可能である。   For example, the device information is not limited to the examples shown in FIGS. 2 and 3, and data other than the ConfigROM and various plug information may be stored. For example, it is possible to store registers other than the ConfigROM and respond to a request from a 1394 device on the 1394 bus to which the communication device belongs, from a node emulated in the communication device.

また、図3のGW_Aのプラグ情報とEmulate[1]のプラグ情報との関連付けは一例であり、プラグの見せ方を変えることが可能な関連付けであればどのような手段であってもよい。   In addition, the association between the plug information of GW_A and the plug information of Emulate [1] in FIG. 3 is merely an example, and any means may be used as long as the association can change how the plug is displayed.

また、上記実施の形態では、通信機器をゲートウェイに適用した例であるが、1394バスで接続された1394機器であればどのような通信機器にも適用できる。また、ノードとゲートウェイを別体で構成した場合について説明したが、両者を一体化した場合でも同様に実現可能であり、同様の効果を得ることができる。また、ノード又はゲートウェイの種類、接続数は限定されない。   In the above embodiment, the communication device is applied to the gateway. However, the communication device can be applied to any communication device as long as it is a 1394 device connected by a 1394 bus. Moreover, although the case where a node and a gateway were comprised separately was demonstrated, even when both are integrated, it is realizable similarly and the same effect can be acquired. The type of node or gateway and the number of connections are not limited.

一例を挙げると、1394規格を利用した種々のAV機器、例えば、家電を相互にネットワーク接続したり、BSデジタルチューナ、DVHSデッキ、デジタルビデオカメラ等に適用することができる。さらに、有線の1394バスと無線の1394バスとをネットワークとして接続する方式の一例として、1394バスを広帯域無線上に実現する、Wireless1394、1394over802.11などの無線通信プロトコルを用いることにより、無線上で1394バスを構築するものに適用できる。また、パケット伝送によらないデータ伝送システムにも同様に適用可能である。   For example, various AV devices using the 1394 standard, for example, home appliances can be connected to each other via a network, or applied to a BS digital tuner, a DVHS deck, a digital video camera, or the like. Furthermore, as an example of a method of connecting a wired 1394 bus and a wireless 1394 bus as a network, wireless communication protocols such as Wireless 1394 and 1394 over 802.11 that realize the 1394 bus on a broadband wireless network can be used wirelessly. The present invention can be applied to a 1394 bus. Further, the present invention can be similarly applied to a data transmission system that does not use packet transmission.

また、本実施の形態では、通信機器及びシステムという名称を用いたが、これは説明の便宜上であり、ゲートウェイ装置、機器制御方法等であってもよい。   In the present embodiment, the names “communication device and system” are used. However, this is for convenience of explanation and may be a gateway device, a device control method, or the like.

本発明の実施の形態の通信機器、及び他の1394機器を含んだネットワークの構成を示す図である。It is a figure which shows the structure of the network containing the communication apparatus of embodiment of this invention, and another 1394 apparatus. 本実施の形態の通信機器の内部構成を概略的に示す図である。It is a figure which shows roughly the internal structure of the communication apparatus of this Embodiment. 本実施の形態の通信機器のエミュレート時のPCRアドレスマップを示す図である。It is a figure which shows the PCR address map at the time of emulation of the communication apparatus of this Embodiment. 本実施の形態の通信機器のエミュレート動作を時系列的に示すフローチャートである。It is a flowchart which shows the emulation operation of the communication apparatus of this Embodiment in time series.

符号の説明Explanation of symbols

10 第1の1394バス
11 AVDev_A(GUID_A)(1394機器)
12 AVDev_B(GUID_B)(1394機器)
20 第2の1394バス
21 AVDev_1(GUID_1)(1394機器,ターゲット機器)
22 AVDev_2(GUID_2)(1394機器,ターゲット機器)
30 GW_A(GUID_GW_A)(通信機器)
40 GW_1(GUID_GW_1)(通信機器)
50 ワイヤレス1394ネットワーク(異なるネットワーク)
110 Emulate[0](AVDev_1(GUID_1)をエミュレートしたエミュレート機器)
120 Emulate[1](AVDev_2(GUID_2)をエミュレートしたエミュレート機器)
210 Emulate[0](AVDev_A(GUID_A)をエミュレートしたエミュレート機器)
220 Emulate[1](AVDev_B(GUID_B)をエミュレートしたエミュレート機器)
310 Emulate[0]のConfigROM
320 Emulate[1]のConfigROM
400 異なるネットワークの通信機器
500 レジスタDB(固有機器情報記憶手段の一部,エミュレート機器情報記憶手段の一部)
510 機器リスト
520 割付DB(関連付け情報記憶手段の一部)
10 First 1394 bus 11 AVDev_A (GUID_A) (1394 device)
12 AVDev_B (GUID_B) (1394 equipment)
20 Second 1394 bus 21 AVDev_1 (GUID_1) (1394 device, target device)
22 AVDev_2 (GUID_2) (1394 equipment, target equipment)
30 GW_A (GUID_GW_A) (communication equipment)
40 GW_1 (GUID_GW_1) (communication equipment)
50 wireless 1394 networks (different networks)
110 Emulate [0] (emulated device emulating AVDev_1 (GUID_1))
120 Emulate [1] (emulated device emulating AVDev_2 (GUID_2))
210 Emulate [0] (emulated device that emulates AVDev_A (GUID_A))
220 Emulate [1] (emulated device emulating AVDev_B (GUID_B))
310 Configure [0] ConfigROM
320 Configure [1] ConfigROM
400 Communication device of different network 500 Register DB (part of unique device information storage means, part of emulated device information storage means)
510 device list 520 allocation DB (part of association information storage means)

Claims (9)

IEEE1394バスにより1以上のIEEE1394機器に接続される通信機器であって、
他の通信機器とネットワークを通じて通信を行う通信手段と、
自機が固有に備える機器情報を記憶する固有機器情報記憶手段と、
前記他の通信機器に接続されているIEEE1394機器の情報を前記通信手段を通して取得し、エミュレート機器情報として記憶するエミュレート機器情報記憶手段と、
前記エミュレート機器情報に基づいて、前記IEEE1394バス上において前記他の通信機器に接続されているIEEE1394機器をエミュレートするエミュレート手段と、
前記1以上のIEEE1394機器それぞれについて、前記固有機器情報と前記エミュレート機器情報とを関連付けて記憶する関連付け情報記憶手段と、
接続された1394機器に応じた前記関連付け情報により関連付けられる機器情報を、自機の機器情報として見せる手段と
前記1以上のIEEE1394機器のうち少なくとも1つを前記エミュレート機器を制御する制御機器として認識する認識手段とを備え、
前記制御機器又は前記1以上のIEEE1394機器が接続されると、該接続された機器に応じた前記関連付け情報により関連付けられる機器情報を、自機の機器情報として現すことを特徴とする通信機器。
A communication device connected to one or more IEEE 1394 devices by an IEEE 1394 bus,
A communication means for communicating with other communication devices through a network;
Unique device information storage means for storing device information inherently provided by the own device;
Emulated device information storage means for acquiring information of IEEE 1394 devices connected to the other communication devices through the communication means and storing the information as emulated device information;
Emulating means for emulating an IEEE 1394 device connected to the other communication device on the IEEE 1394 bus based on the emulated device information;
Association information storage means for associating and storing the unique device information and the emulated device information for each of the one or more IEEE 1394 devices;
Means for showing device information associated with the associated information according to the connected 1394 device as device information of the own device ;
Recognizing means for recognizing at least one of the one or more IEEE 1394 devices as a control device for controlling the emulated device;
When the control device or the one or more IEEE 1394 devices are connected, device information associated with the association information corresponding to the connected device is displayed as device information of the own device.
前記エミュレート手段は、前記制御機器に応じて1394PHYチップに対してエミュレートノードを割り当てることを特徴とする請求項1に記載の通信機器。   The communication device according to claim 1, wherein the emulation unit assigns an emulation node to a 1394 PHY chip according to the control device. さらに、前記1以上のIEEE1394機器の情報を記憶する内部機器情報記憶手段を備え、
前記認識手段は、前記内部機器情報に基づいて、接続された前記1以上のIEEE1394機器を前記制御機器として認識することを特徴とする請求項1又は2に記載の通信機器。
And an internal device information storage means for storing information of the one or more IEEE 1394 devices,
Said recognition means, on the basis of the internal device information, communication apparatus according to claim 1 or 2 wherein one or more IEEE1394 devices connected and recognizes as the control device.
前記機器固有の機器情報及び/又は前記内部機器情報は、1394機器のプラグ情報を含んでいることを特徴とする請求項1乃至のいずれか一項に記載の通信機器。 The device-specific device information and / or the internal device information, communication apparatus according to any one of claims 1 to 3, characterized in that it includes a plug information 1394 instrument. 前記機器固有の機器情報及び/又は前記内部機器情報は、1394機器のGUIDを含んでいることを特徴とする請求項1乃至のいずれか一項に記載の通信機器。 The device-specific device information and / or the internal device information, communication apparatus according to any one of claims 1 to 4, characterized in that it contains the GUID of the 1394 instrument. 前記通信機器は、ゲートウェイ装置であることを特徴とする請求項1乃至のいずれか一項に記載の通信機器。 The communication device according to any one of claims 1 to 5 , wherein the communication device is a gateway device. 前記ネットワークは、有線ネットワーク又は無線ネットワークであることを特徴とする請求項1乃至のいずれか一項に記載の通信機器。 The communication device according to any one of claims 1 to 6 , wherein the network is a wired network or a wireless network. 前記ネットワークは、IEEE1394ネットワーク以外のネットワークを含むことを特徴とする請求項1乃至のいずれか一項に記載の通信機器。 The communication device according to any one of claims 1 to 7 , wherein the network includes a network other than an IEEE 1394 network. 1以上のIEEE1394機器と請求項1からのいずれか一項に記載の通信機器とを含む第1のIEEE1394バスと、1以上のIEEE1394機器と請求項1から9のいずれか一項に記載の通信機器とを含む第2のIEEE1394バスとを含んでおり、前記第1のIEEE1394バスの通信機器と前記第2のIEEE1394バスの通信機器とがネットワークを通じて通信可能であることを特徴とするシステム。
The first IEEE 1394 bus including one or more IEEE 1394 devices and the communication device according to any one of claims 1 to 8 , the one or more IEEE 1394 devices, and any one of claims 1 to 9. And a second IEEE 1394 bus including a communication device, and the communication device of the first IEEE 1394 bus and the communication device of the second IEEE 1394 bus can communicate with each other through a network.
JP2003377197A 2003-11-06 2003-11-06 Communication equipment and system Expired - Fee Related JP4041453B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003377197A JP4041453B2 (en) 2003-11-06 2003-11-06 Communication equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003377197A JP4041453B2 (en) 2003-11-06 2003-11-06 Communication equipment and system

Publications (2)

Publication Number Publication Date
JP2005142841A JP2005142841A (en) 2005-06-02
JP4041453B2 true JP4041453B2 (en) 2008-01-30

Family

ID=34687997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003377197A Expired - Fee Related JP4041453B2 (en) 2003-11-06 2003-11-06 Communication equipment and system

Country Status (1)

Country Link
JP (1) JP4041453B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065737A (en) 2006-09-11 2008-03-21 Matsushita Electric Ind Co Ltd Data stream transmitting and receiving device
EP1921817A1 (en) 2006-11-09 2008-05-14 Thomson Licensing Methods and a device for associating a first device with a second device

Also Published As

Publication number Publication date
JP2005142841A (en) 2005-06-02

Similar Documents

Publication Publication Date Title
JP3277874B2 (en) IEEE 1394 bridge
JP2002111704A (en) Data transmission/reception device and method therefor
JPH10341247A (en) Data transmitter, data receiver, data transmission system and data transmission method
JP4041453B2 (en) Communication equipment and system
US20020004711A1 (en) Control device and control method
US7580420B2 (en) Interface circuit connecting a device with a bridge portal function to a communication bus
JP2002057683A (en) Control equipment and control method
JP4320955B2 (en) Information processing method, information processing system, and information processing apparatus
US6694198B2 (en) Control system, control device and control method
US6993022B1 (en) Method of and apparatus for directly mapping communications through a router between nodes on different buses within a network of buses
JPH1155297A (en) Transmission medium connection device and storage medium
KR100763716B1 (en) Information control method, information processor, and information control system
JP2001086419A (en) Electronic equipment
JP4102253B2 (en) Communication equipment
JP2004274608A (en) Communication apparatus
JP3882618B2 (en) Communication apparatus and network system
US20020041602A1 (en) Communication control method, communication system, and communication apparatus
EP1376987B1 (en) Communication apparatus capable of managing other nodes
JP4529231B2 (en) Electronics
JP4635290B2 (en) Control method and display device
JP2001136185A (en) Transmission method, transmission system and transmission controller
JP2003078537A (en) Equipment recognizing method and electronic equipment
JP4502653B2 (en) Packet transmitting / receiving apparatus and packet identification method used therefor
JP2005223545A (en) Apparatus for managing data transmission apparatus
JP2000358051A (en) Method and device for data transmission

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070731

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070928

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: 20071106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071109

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees