[go: up one dir, main page]

JP2000013399A - Network device identification method - Google Patents

Network device identification method

Info

Publication number
JP2000013399A
JP2000013399A JP10179330A JP17933098A JP2000013399A JP 2000013399 A JP2000013399 A JP 2000013399A JP 10179330 A JP10179330 A JP 10179330A JP 17933098 A JP17933098 A JP 17933098A JP 2000013399 A JP2000013399 A JP 2000013399A
Authority
JP
Japan
Prior art keywords
network
tag
device identification
node
identification tag
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.)
Withdrawn
Application number
JP10179330A
Other languages
Japanese (ja)
Inventor
Hideyuki Watanabe
英行 渡辺
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10179330A priority Critical patent/JP2000013399A/en
Publication of JP2000013399A publication Critical patent/JP2000013399A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

(57)【要約】 【課題】 ID再設定前後でIDが変更されるようなケ
ースを回避した一元的なID管理を実現すること。 【解決手段】 ネットワーク上に接続されている複数台
の同種類のネットワーク機器を識別する識別方法におい
て、所定のカテゴリ内での同種類のネットワーク機器を
識別するための機器識別用タグをネットワーク機器の各
々に割り当てると共に、機器識別用タグに基づいて同種
類のネットワーク機器の個々を識別する。
(57) [Summary] [PROBLEMS] To realize centralized ID management avoiding a case where an ID is changed before and after resetting an ID. In an identification method for identifying a plurality of network devices of the same type connected on a network, a device identification tag for identifying the network devices of the same type within a predetermined category is assigned to the network device. Each of the network devices of the same type is identified based on the device identification tag while being assigned to each.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワーク機器
間のデータ転送に関するものであり、特に、ネットワー
ク上に同種類のネットワーク機器が少なくとも2個以上
あるときに、同種類のネットワーク機器の識別に関す
る。
The present invention relates to data transfer between network devices, and more particularly to the identification of network devices of the same type when there are at least two or more network devices of the same type on a network.

【0002】具体的には、ネットワーク上の機器の識
別、IEEE1212に準拠したアドレス構成を持つネ
ットワークに応用でき、特に、IEEE1394に準拠
したネットワーク機器の識別に適用できる。
[0002] More specifically, the present invention can be applied to the identification of devices on a network and a network having an address configuration conforming to IEEE1212, and particularly to the identification of network devices conforming to IEEE1394.

【0003】[0003]

【従来の技術】従来この種のネットワーク機器識別方法
としては、例えば、IEEE(米国電気電子技術者協
会)が規格化した新しい高速シリアルインタフェースで
あるIEEE1394がある。
2. Description of the Related Art Conventionally, as a network device identification method of this kind, there is, for example, IEEE 1394 which is a new high-speed serial interface standardized by IEEE (American Institute of Electrical and Electronics Engineers).

【0004】IEEE1394に準拠したネットワーク
機器は、バスリセットを検知した時には自動的に識別子
(ID)が付加されるが、その後に再度のバスリセット
が起こったときは、このネットワーク機器に再度のバス
リセット以前のIDと同じIDが付加される保証は定義
されていないため、再度のバスリセットの前後でIDが
変化してしまう可能性があった。従って、IEEE13
94に準拠したネットワーク上に同種類(例えば、プリ
ンタ、スキャナー、ハードディスク、パソコン(P
C)、ビデオカメラなど)のネットワーク機器が少なく
とも2個以上ある場合に新たにバスリセットが発生する
とIDが変更される可能性があるため、このバスリセッ
ト以前に使用してきたネットワーク機器が使用できなく
なる可能性があり、また別の同種類のネットワークに接
続される可能性がある。
When a bus reset is detected, an identifier (ID) is automatically added to a network device conforming to IEEE 1394, but when a bus reset occurs again, a bus reset is performed on the network device again. Since the guarantee that the same ID as the previous ID is added is not defined, the ID may change before and after the bus reset again. Therefore, IEEE13
The same type (for example, printer, scanner, hard disk, personal computer (P
C), a video camera, etc.), when there is at least two or more network devices, if a new bus reset occurs, the ID may be changed, so that the network devices used before the bus reset cannot be used. And may be connected to another similar network.

【0005】前述のようなID管理のみでは、バスリセ
ット後にIDが変化する可能性があるので、ネットワー
ク機器の統一されたIDを用いた管理が難しい。このた
めIEEE1394−1995の規格書では、コンフィ
グレーション(configuration)ROMで
64ビット構成のnode_vendor,chip_
id_hi,chip_id_loといった値が重複
(コンフリクト)しないように、ネットワークを供給す
るベンダー側でIDの一元的な管理しなければならない
と規定している。
[0005] With only the ID management as described above, there is a possibility that the ID may change after the bus reset, and it is difficult to manage the network devices using a unified ID. For this reason, in the IEEE 1394-1995 standard, the configuration ROM has a 64-bit configuration of node_vendor, chip_
It is stipulated that IDs such as id_hi and chip_id_lo must be unifiedly managed on the vendor side that supplies the network so as not to overlap (conflict).

【0006】[0006]

【発明が解決しようとする課題】しかしながら、ネット
ワーク上に同種類のネットワーク機器を複数台接続した
場合、ネットワークを供給するベンダー毎にID管理の
方法が異なるケースが一般的であると考えられ、ベンダ
ーが異なるネットワーク間を相互接続するような場合、
一方のネットワークに接続されていたネットワーク機器
を外して他方のネットワークに接続するような場合、あ
るいはバスリセットが随時発生するような場合にはID
の再設定が実行されるため、やはりID再設定前後でI
Dが変更される可能性があり、このID再設定以前に使
用してきたネットワーク機器が使用できなくなる可能性
があり、また別の同種類のネットワークに接続される可
能性があるといった問題が依然として解決されていな
い。
However, when a plurality of network devices of the same type are connected on a network, it is generally considered that the ID management method is different for each vendor supplying the network. May interconnect different networks,
If the network device connected to one network is disconnected and connected to the other network, or if a bus reset occurs at any time, the ID
Is reset, the ID is also changed before and after the ID is reset.
The problem that D may be changed, network equipment used before this ID reset may be unusable, and connection to another network of the same type is still solved. It has not been.

【0007】本発明は、このような従来の問題点を解決
することを課題としており、特に、ネットワーク上に同
種類のネットワーク機器を複数台接続する際、ベンダー
が異なるネットワーク間を相互接続するような場合、一
方のネットワークに接続されていたネットワーク機器を
外して他方のネットワークに接続するような場合、ある
いはバスリセットが随時発生するような場合に、ID再
設定前後でIDが変更されるようなケースを回避した一
元的なID管理を実現し、ID再設定以前に使用してき
たネットワーク機器が使用できなくなるケース、別の同
種類のネットワークに接続されるケースを回避できるネ
ットワーク機器の識別方法を提供することを目的として
いる。
SUMMARY OF THE INVENTION An object of the present invention is to solve such a conventional problem. In particular, when connecting a plurality of network devices of the same type on a network, different vendors interconnect the different networks. In such a case, if the network device connected to one network is disconnected and connected to the other network, or if a bus reset occurs at any time, the ID may be changed before and after resetting the ID. Provide a method for identifying network devices that realizes centralized ID management that avoids cases and prevents cases in which network devices used before ID resetting become unusable and cases that are connected to another network of the same type. It is intended to be.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
成された請求項1に記載の発明は、ネットワーク上に接
続されている複数台の同種類のネットワーク機器を識別
する識別方法において、所定のカテゴリ内での同種類の
ネットワーク機器を識別するための機器識別用タグを当
該ネットワーク機器の各々に割り当てると共に、当該機
器識別用タグに基づいて当該同種類のネットワーク機器
の個々を識別するネットワーク機器識別方法である。
According to a first aspect of the present invention, there is provided an identification method for identifying a plurality of network devices of the same type connected to a network. A device identification tag for identifying the same type of network device within the category of each of the network devices, and identifying each of the same type of network device based on the device identification tag. It is an identification method.

【0009】請求項1に記載の発明によれば、所定のカ
テゴリ内での同種類のネットワーク機器を識別するため
の機器識別用タグに基づいて同種類のネットワーク機器
の個々を識別するので、ネットワーク上に同種類のネッ
トワーク機器を複数台接続する際、ベンダーが異なるネ
ットワーク間を相互接続するような場合、一方のネット
ワークに接続されていたネットワーク機器を外して他方
のネットワークに接続するような場合、あるいはバスリ
セットが随時発生するような場合であっても、ID再設
定前後でIDが変更されるようなケースを回避した一元
的なID管理を実現できるようになり、その結果、ID
再設定以前に使用してきたネットワーク機器が使用でき
なくなるケース、別の同種類のネットワークに接続され
るケースを回避できるようになる。
According to the first aspect of the present invention, each of the same type of network device is identified based on a device identification tag for identifying the same type of network device within a predetermined category. When connecting multiple network devices of the same type on the top, when vendors interconnect different networks, when disconnecting network devices connected to one network and connecting to the other network, Alternatively, even when a bus reset occurs at any time, it is possible to realize centralized ID management that avoids the case where the ID is changed before and after resetting the ID.
This makes it possible to avoid the case where the network device used before the resetting becomes unusable or the case where the device is connected to another network of the same type.

【0010】また請求項2に記載の発明は、請求項1に
記載のネットワーク機器識別方法において、前記機器識
別用タグは、所定のトリガ信号がネットワーク内で発生
したとき当該トリガ信号に応じてネットワーク機器の各
々がネットワーク上で相互に交信して前記カテゴリ内で
ユニークに設定されるネットワーク機器識別方法であ
る。
According to a second aspect of the present invention, in the method for identifying a network device according to the first aspect, when the predetermined trigger signal is generated in the network, the device identification tag is used in response to the trigger signal. This is a network device identification method in which devices communicate with each other on a network and are uniquely set within the category.

【0011】請求項2に記載の発明によれば、請求項1
に記載の効果に加えて、カテゴリ内でユニークに設定さ
れる機器識別用タグに基づいて、一元的なID管理を実
現できるようになる。
According to the invention described in claim 2, according to claim 1,
In addition to the effects described in (1), unified ID management can be realized based on a device identification tag uniquely set within a category.

【0012】また請求項3に記載の発明は、請求項1に
記載のネットワーク機器識別方法において、前記機器識
別用タグの再設定は、前記トリガ信号が新たに発生しな
い限り実行されないネットワーク機器識別方法である。
According to a third aspect of the present invention, in the network device identification method according to the first aspect, the resetting of the device identification tag is not executed unless the trigger signal is newly generated. It is.

【0013】請求項3に記載の発明によれば、請求項1
に記載の効果に加えて、トリガ信号の発生に応じたタイ
ミングで一元的なID管理を実現できるようになる。
According to the third aspect of the present invention, the first aspect is provided.
In addition to the effects described in (1), unified ID management can be realized at a timing corresponding to the generation of a trigger signal.

【0014】また請求項4に記載の発明は、請求項1に
記載のネットワーク機器識別方法において、2つのネッ
トワークを相互接続する場合であって、当該2つのネッ
トワークにおいて同種類のネットワーク機器間で前記機
器識別用タグが同一であるようなコンフリクトが発生し
たとき、当該コンフリクトしているネットワーク機器に
対する前記機器識別用タグの再設定を実行するネットワ
ーク機器識別方法である。
According to a fourth aspect of the present invention, there is provided the network device identification method according to the first aspect, wherein the two networks are interconnected, and the network devices of the same type are connected in the two networks. This is a network device identification method in which when a conflict occurs in which the device identification tag is the same, the device identification tag is reset for the conflicting network device.

【0015】請求項4に記載の発明によれば、請求項1
に記載の効果に加えて、コンフリクトを解除するような
一元的なID管理を実現できるようになる。
According to the invention described in claim 4, according to claim 1 of the present invention,
In addition to the effects described in (1), it is possible to realize centralized ID management that eliminates conflicts.

【0016】また請求項5に記載の発明は、請求項4に
記載のネットワーク機器識別方法において、ネットワー
クに追加接続されたネットワーク機器に対して前記機器
識別用タグの再設定を行うネットワーク機器識別方法で
ある。
According to a fifth aspect of the present invention, in the network device identification method of the fourth aspect, a network device identification method for resetting the device identification tag for a network device additionally connected to a network. It is.

【0017】請求項5に記載の発明によれば、請求項4
に記載の効果に加えて、ネットワークに追加接続された
ネットワーク機器に対する一元的なかつ限定的なID管
理を実現できるようになる。
According to the invention described in claim 5, according to claim 4,
In addition to the effects described in (1), unified and limited ID management for network devices additionally connected to the network can be realized.

【0018】また請求項6に記載の発明は、請求項5に
記載のネットワーク機器識別方法において、前記ネット
ワークに追加接続されたネットワーク機器とは、機器の
電源リセット以降に前記機器識別用タグを再設定してい
ないネットワーク機器とするネットワーク機器識別方法
である。
According to a sixth aspect of the present invention, in the method for identifying a network device according to the fifth aspect, the network device additionally connected to the network re-connects the device identification tag after resetting the power of the device. This is a network device identification method for a network device that has not been set.

【0019】請求項6に記載の発明によれば、請求項5
に記載の効果に加えて、電源リセットの発生に応じたタ
イミングで一元的なID管理を実現できるようになる。
According to the invention described in claim 6, according to claim 5,
In addition to the effects described in (1), centralized ID management can be realized at a timing corresponding to the occurrence of a power reset.

【0020】[0020]

【発明の実施の形態】以下の各実施形態では、ネットワ
ークの実施形態として、IEEE(米国電気電子技術者
協会)が規格化した新しい高速シリアルインタフェース
であるIEEE1394−1995の通信プロトコルに
準拠したネットワーク(IEEE1394ネットワー
ク)を用いることにするが、これに特に限定されること
なく、シリアルデータ通信ができ、ノードであるネット
ワーク機器がツリー状に接続されているネットワークで
あれば、広く適用可能である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following embodiments, as a network embodiment, a network conforming to a communication protocol of IEEE 1394-1995, which is a new high-speed serial interface standardized by IEEE (American Institute of Electrical and Electronics Engineers). An IEEE 1394 network is used. However, the present invention is not limited to this, and can be widely applied to any network capable of performing serial data communication and connecting network devices as nodes in a tree shape.

【0021】以下の各実施形態は、IEEE1394ネ
ットワーク上に接続されている複数台の同種類のネット
ワーク機器を識別する識別方法であって、所定のカテゴ
リ内での同種類のネットワーク機器を識別するための機
器識別用タグTAGをネットワーク機器の各々に割り当
てると共に、機器識別用タグTAGに基づいて同種類の
ネットワーク機器の個々を識別する点に特徴を有してい
る。ここでネットワーク機器としては、AV機器、プリ
ンタ、ディジタルカメラ、パソコン等が考えられる。
Each of the following embodiments is a method for identifying a plurality of network devices of the same type connected to an IEEE 1394 network, and is used to identify network devices of the same type within a predetermined category. This is characterized in that the device identification tag TAG is assigned to each of the network devices, and the same type of network device is individually identified based on the device identification tag TAG. Here, examples of the network device include an AV device, a printer, a digital camera, and a personal computer.

【0022】また、第1実施形態及び第2実施形態のネ
ットワーク機器識別方法は、IEEE1394−199
5のプロトコルスタックで定義されている物理層(PH
Yレイヤ)、リンクレイヤ、BM(Bus Manag
er)、トランザクションレイヤなどにインプリメント
されて実行されている。ここで、PHYレイヤやリンク
レイヤは、シリコンでハードウェアで構成されており、
BMやトランザクションレイヤは、ソフトウェアで構成
されている。
The network device identification method according to the first and second embodiments is based on the IEEE 1394-199.
Physical layer (PH) defined in the protocol stack
Y layer), link layer, BM (Bus Manag)
er), and implemented and executed in a transaction layer or the like. Here, the PHY layer and the link layer are composed of hardware in silicon.
The BM and the transaction layer are configured by software.

【0023】このため、各ネットワーク機器は、PHY
レイヤを介してIEEE1394ネットワークに接続さ
れた状態で、パケットの送受信(例えば、アイソクロナ
ス転送やアシンクロナス転送)を他のネットワーク機器
との間で送受信することになる。
For this reason, each network device is a PHY
Packets are transmitted and received (for example, isochronous transfer and asynchronous transfer) to and from other network devices while being connected to the IEEE 1394 network via the layer.

【0024】(第1実施形態)図1、図2を用いて第1
実施形態について説明する。今、図1に示すように、機
器識別用タグTAGの異なるスキャナー(Scanne
r(ノードID?,TAG#1)、ネットワーク機器の
一形態)と、機器識別用タグTAGが同じプリンター
(Printer(ノードID?,TAG#0)、ネッ
トワーク機器の一形態)を、追加ノードとしてIEEE
1394で規定されているネットワーク(IEEE13
94ネットワーク)に接続しようとし、その結果、図2
に示すように、Scanner(ノードID#1,TA
G#1)とPrinter(ノードID#0,TAG#
0)をIEEE1394ネットワークに接続したので、
各機器のノードIDが変化している。具体的には、Sc
anner(ノードID#1,TAG#0)→Scan
ner(ノードID#3,TAG#0)、コンピュータ
(Computer(ノードID#0,TAG#0)、
ネットワーク機器の一形態)→Computer(ノー
ドID#2,TAG#0)、Printer(ノードI
D#2,TAG#0)→Printer(ノードID#
4,TAG#1)となるノードID再設定を行うノード
ID管理について考える。
(First Embodiment) A first embodiment will be described with reference to FIGS.
An embodiment will be described. Now, as shown in FIG. 1, a scanner (Scanner) having a different device identification tag TAG is used.
r (node ID ?, TAG # 1), one form of network equipment) and a printer (Printer (Node ID ?, TAG # 0), one form of network equipment) having the same device identification tag TAG as additional nodes IEEE
1394 network (IEEE13
94 network), and as a result, FIG.
As shown in the figure, Scanner (node ID # 1, TA
G # 1) and Printer (node ID # 0, TAG #)
0) was connected to the IEEE 1394 network,
The node ID of each device has changed. Specifically, Sc
anner (node ID # 1, TAG # 0) → Scan
ner (node ID # 3, TAG # 0), computer (Computer (node ID # 0, TAG # 0),
Network device) → Computer (Node ID # 2, TAG # 0), Printer (Node I
D # 2, TAG # 0) → Printer (node ID #)
4, TAG # 1) is considered.

【0025】本実施形態では、機器識別用タグTAGの
再設定は、バスリセットが新たに発生しない限り実行さ
れないようにしている。また機器識別用タグTAGは、
再度設定されない限り変更されないように、あるいはネ
ットワーク機器の電源が遮断されても保存されるように
設定している。これにより、バスリセットの発生に応じ
たタイミングで一元的なノードID管理を実現できるよ
うになる。
In this embodiment, resetting of the device identification tag TAG is not executed unless a new bus reset occurs. The device identification tag TAG is
It is set so that it will not be changed unless it is set again, or saved even if the power of the network device is cut off. As a result, unified node ID management can be realized at a timing corresponding to the occurrence of a bus reset.

【0026】また本実施形態では、2つのIEEE13
94ネットワークを相互接続する場合であって、2つの
IEEE1394ネットワークにおいて同種類のネット
ワーク機器間で機器識別用タグTAGが同一であるよう
なコンフリクトが発生したとき、コンフリクトしている
ネットワーク機器に対する機器識別用タグTAGの再設
定を実行するように設定している。これにより、コンフ
リクトを解除するような一元的なノードID管理を実現
できるようになる。
In this embodiment, two IEEE13
94, when a conflict occurs between two network devices of the same type in which the tag TAG for device identification is the same in two IEEE 1394 networks, the device identification for the conflicting network device is performed. The tag TAG is set to be reset. This makes it possible to implement centralized node ID management that releases conflicts.

【0027】また本実施形態では、IEEE1394ネ
ットワークに追加接続されたネットワーク機器に対して
機器識別用タグTAGの再設定を行うように設定してい
る。これにより、IEEE1394ネットワークに追加
接続されたネットワーク機器に対する一元的なかつ限定
的なノードID管理を実現できるようになる。
In the present embodiment, the setting is made so that the device identification tag TAG is reset for the network device additionally connected to the IEEE 1394 network. As a result, unified and limited node ID management for network devices additionally connected to the IEEE 1394 network can be realized.

【0028】ここで、IEEE1394ネットワークに
追加接続されたネットワーク機器とは、機器の電源リセ
ット以降に機器識別用タグTAGを再設定していないネ
ットワーク機器としている。これにより、電源リセット
の発生に応じたタイミングで一元的なノードID管理を
実現できるようになる。
Here, a network device additionally connected to the IEEE 1394 network is a network device in which the device identification tag TAG has not been reset since the device power was reset. As a result, unified node ID management can be realized at a timing corresponding to the occurrence of a power reset.

【0029】具体的に説明すると、機器識別用タグTA
Gの値は、IEEE1212で規定されているコンフィ
グレーション(configuration)ROM中
のチップノードIDに格納されている。本実施形態で
は、特に、IEEE1212のCSRアーキテクチャに
規定されている制御用レジスタであるControlS
tatus Register(CSR)のコンフィグ
レーション(configuration)ROMに格
納されている。
More specifically, the device identification tag TA
The value of G is stored in a chip node ID in a configuration ROM defined by IEEE1212. In the present embodiment, in particular, ControlS, which is a control register defined in the CSR architecture of IEEE1212, is used.
It is stored in the configuration ROM of the status register (CSR).

【0030】このようなコンフィグレーションROM内
には、Node_Unique_ID,Bus_Inf
o_Block中のNode_Vendor_ID(2
4ビット),chip_id_hi(8ビット),ch
ip_id_lo(32ビット)等のフィールドが設け
られている。
Node_Unique_ID, Bus_Inf are stored in such a configuration ROM.
Node_Vendor_ID in o_Block (2
4 bits), chip_id_hi (8 bits), ch
Fields such as ip_id_lo (32 bits) are provided.

【0031】図3は、第1実施形態のネットワーク機器
識別方法の動作を説明するためのフローチャートを示
す。
FIG. 3 is a flowchart for explaining the operation of the network device identification method according to the first embodiment.

【0032】ステップS100でタブの作成を開始する
と、まず、ステップS110の処理でローカルネットワ
ーク上のネットワーク機器の種類(Printer,S
canner,Computer)を検索する。
When tab creation is started in step S100, the type of the network device (Printer, S
(canner, Computer).

【0033】ネットワーク機器の検索では、CSR中の
コンフィグレーションROM内のデータフィールドであ
るNode_Unique_IDまたは、Bus_In
fo_Block中のNode_Vendor_ID
(24ビット),chip_id_hi(8ビット),
chip_id_lo(32ビット)が同じものを検索
する(図4参照)。
In the search for the network device, Node_Unique_ID or Bus_In which is a data field in the configuration ROM in the CSR.
Node_Vendor_ID in fo_Block
(24 bits), chip_id_hi (8 bits),
Search for the same chip_id_lo (32 bits) (see FIG. 4).

【0034】コンフィグレーションROMは、各ネット
ワーク機器のメモリ空間内のレジスタ空間内に保持され
ている。レジスタ空間には、その他に、CSRアーキテ
クチャに準拠したCSRコアレジスタ、シリアルバスレ
ジスタ、ユニット空間レジスタ用のメモリ空間が用意さ
れている。
The configuration ROM is held in a register space in a memory space of each network device. In the register space, a memory space for a CSR core register, a serial bus register, and a unit space register compliant with the CSR architecture is prepared.

【0035】第1実施形態で用いる機器識別用タグTA
Gは、図5、図6、図7に示すように、Node_Un
ique_IDリーフ内のchip_id_hi(8ビ
ット)またはchip_id_lo(32ビット)に実
装可能である。
Device identification tag TA used in the first embodiment
G is Node_Un as shown in FIG. 5, FIG. 6, and FIG.
It can be implemented in chip_id_hi (8 bits) or chip_id_lo (32 bits) in the equal_ID leaf.

【0036】ここで、機器識別用タグTAGの値は、ネ
ットワーク機器の電源が遮断されていても保存されてお
り、設定されない限り変更されないようになっている。
具体的には、バックアップ電源で保存されているかまた
は、不揮発性RAM上に保存されている。
Here, the value of the device identification tag TAG is stored even if the power of the network device is turned off, and is not changed unless it is set.
Specifically, it is stored on a backup power supply or stored on a nonvolatile RAM.

【0037】図5、図7のchip_id_hiに機器
識別用タグTAGを実装した場合には、Node_Ve
ndor_IDとchip_id_loを検索キーとし
てネットワーク機器を検索する。
When the device identification tag TAG is mounted on the chip_id_hi in FIGS. 5 and 7, Node_Ve
A network device is searched using ndor_ID and chip_id_lo as search keys.

【0038】一方、図6のchip_id_loに機器
識別用タグTAGを実装した場合には、Node_Ve
ndor_IDとchip_id_hiの内容を検索キ
ーとしてネットワーク機器を検索する。
On the other hand, when the device identification tag TAG is mounted on chip_id_lo in FIG. 6, Node_Ve
A network device is searched using the contents of ndor_ID and chip_id_hi as search keys.

【0039】次に、ステップS200の処理では、同じ
種類のネットワーク機器の機器識別用タグTAGを自動
的に設定する。ステップS200をすべてのネットワー
ク機器の種類に対して実行する。
Next, in step S200, the device identification tag TAG of the same type of network device is automatically set. Step S200 is executed for all types of network devices.

【0040】図8のフローチャートを用いて、ステップ
S200を更に詳しく述べる。
Step S200 will be described in more detail with reference to the flowchart of FIG.

【0041】ステップS200に入る時点で、IEEE
1394ネットワークの種類(図8では”タイプ”と記
述してある)がx(エックス)と指定されている。最初
にタイプxのネットワーク機器の個数Nを検索する(ス
テップS210)。
At the time when step S200 is entered, the IEEE
The type of the 1394 network (denoted as “type” in FIG. 8) is designated as x (X). First, the number N of network devices of type x is searched (step S210).

【0042】ステップS210で検索されたネットワー
ク機器の個数Nが1のとき(ステップS220のYE
S)は、(図2の例ではComputer装置)、同じ
種類のネットワーク機器が存在しない。従って、検索さ
れたネットワーク機器の機器識別用タグTAG(x,
0)の値を0とする(ステップS221)。
When the number N of network devices found in step S210 is 1 (YE in step S220)
S) (Computer device in the example of FIG. 2), the same type of network device does not exist. Therefore, the tag TAG (x,
0) is set to 0 (step S221).

【0043】図1に示すように2台のScannerを
接続するケースにおいて、一方のScannerがIE
EE1394ネットワーク上に既に接続されており、他
方のScannerを追加接続しようとしている場合、
追加接続しようとしているScanner(ノードID
?,TAG#1)はすでにIEEE1394ネットワー
ク上で使用されたことがあり、機器識別用タグTAGの
値が1に設定されている。各Scannerの機器識別
用タグTAGはすべて異なるので(ステップS230の
YES)、これら2台のScannerの機器識別用タ
グTAGは変化しない。すなわち、Scanner(ノ
ードID1,TAG#0)→Scanner(ノードI
D3,TAG#0)であり、Scanner(ノードI
D?,TAG#1)→Scanner(ノードID1,
TAG#1)となる。
In a case where two Scanners are connected as shown in FIG. 1, one Scanner is connected to the IE.
If you are already connected on the EE1394 network and want to add another Scanner,
Scanner (node ID to be added)
? , TAG # 1) has already been used on the IEEE 1394 network, and the value of the device identification tag TAG is set to 1. Since the device identification tags TAG of all Scanners are all different (YES in step S230), the device identification tags TAG of these two Scanners do not change. That is, Scanner (node ID1, TAG # 0) → Scanner (node I
D3, TAG # 0) and the Scanner (node I
D? , TAG # 1) → Scanner (node ID1,
TAG # 1).

【0044】一方、図1に示すPrinter(ノード
ID?,TAG#0)は、IEEE1394ネットワー
ク上に初めて接続しようとしている。従って、2台のP
rinterは機器識別用タグTAGの値が同じ(両方
ともTAG#0)であるので、機器識別用タグTAG
(x,i)の付け直し処理(ステップS240)を行
う。具体的には、最初に見つかったPrinterの機
器識別用タグTAGの値を0とする。次に見つかったP
rinterの値は先に見つかった機器識別用タグTA
Gの値より1だけ大きい値に設定する。
On the other hand, the Printer (node ID ?, TAG # 0) shown in FIG. 1 is trying to connect to the IEEE1394 network for the first time. Therefore, two P
Since the value of the device identification tag TAG is the same (both are TAG # 0), the device identification tag TAG
The (x, i) reattachment process (step S240) is performed. Specifically, the value of the device identification tag TAG of Printer found first is set to 0. Next found P
The value of writer is the device identification tag TA found earlier.
It is set to a value that is one greater than the value of G.

【0045】具体的には、Printer(ノードID
2,TAG#0)→Printer(ノードID4,T
AG#1)、Printer(ノードID?,TAG#
0)→Printer(ノードID0,TAG#0)と
なる。こうして、Printerの接続数だけ機器識別
用タグTAGの値が増える。
Specifically, Printer (node ID)
2, TAG # 0) → Printer (node ID 4, T)
AG # 1), Printer (node ID ?, TAG #)
0) → Printer (node ID 0, TAG # 0). Thus, the value of the device identification tag TAG increases by the number of connected Printers.

【0046】図9に本発明における機器識別用タグTA
Gの設定方法の他の実施形態のネットワーク構成図を示
す。図10、図11は、 バスリセットによる機器識別
用タグの設定の動作を説明するためのフローチャートで
ある。
FIG. 9 shows a device identification tag TA according to the present invention.
FIG. 9 shows a network configuration diagram of another embodiment of a G setting method. FIGS. 10 and 11 are flowcharts for explaining the operation of setting the device identification tag by bus reset.

【0047】図10、図11のフローの上位フローに
は、図8に示す前述のネットワーク識別フローの例と同
様に、図3のネットワーク識別フローを使用することが
できる。
The network identification flow of FIG. 3 can be used as an upper flow of the flow of FIGS. 10 and 11, similarly to the above-described example of the network identification flow shown in FIG.

【0048】図10に示すIEEE1394ネットワー
クの識別フローで使用する機器識別用タグTAGは、図
7で示したchip_id_hiへの実装に限るもので
はなく、chip_id_loにも実装可能である。
The device identification tag TAG used in the identification flow of the IEEE 1394 network shown in FIG. 10 is not limited to being mounted on chip_id_hi shown in FIG. 7, but can be mounted on chip_id_lo.

【0049】本実施形態の機器識別用タグTAGの値
は、ネットワーク機器の電源が遮断されてもバックアッ
プ電源もしくは不揮発性RAMでバックアップされてい
る。図7に示すEntryFlag(1ビット)とCh
eckFlag(1ビット)は、ネットワーク機器の電
源がオンになったとき0(ゼロ)に初期化(リセット)
される。
The value of the device identification tag TAG of this embodiment is backed up by a backup power supply or a nonvolatile RAM even when the power supply of the network device is cut off. EntryFlag (1 bit) and Ch shown in FIG.
eckFlag (1 bit) is initialized (reset) to 0 (zero) when the power of the network device is turned on.
Is done.

【0050】また機器識別用タグTAGは、所定のトリ
ガ信号がIEEE1394ネットワーク内で発生したと
きトリガ信号に応じてネットワーク機器の各々がIEE
E1394ネットワーク上で相互に交信してカテゴリ内
でユニークに設定されるように設定している。
Also, when a predetermined trigger signal is generated in the IEEE 1394 network, each of the network devices responds to the trigger signal by the device identification tag TAG.
It is set so that they can communicate with each other on the E1394 network and be set uniquely within a category.

【0051】具体的には、同種類のネットワーク機器の
機器識別用タグTAGは、IEEE1394ネットワー
ク内でバスリセット(トリガ信号)が発生後に設定する
ようにしている。バスリセットは、IEEE1394に
規定されているように、ネットワーク機器の初期電源投
入時、動作中に他のノードが接続された時、あるノード
が切り離された時、他のIEEE1394ネットワーク
が接続されて一体化したバスが形成された時、2つのI
EEE1394ネットワークに分割された時、ブランチ
が切り離された時、接続中のノードの電源がONまたは
OFFされた時等、つまりネットワークのツリー構造に
何らかの変化が起こったことが検出されたときに生起さ
れる特性を持っている。なお、IEEE1394−19
95の規格書には、バスリセットに応じてコンフィグレ
ーション機能が生起されることも規定されている。
Specifically, the device identification tag TAG of the same type of network device is set after a bus reset (trigger signal) occurs in the IEEE 1394 network. As specified in IEEE 1394, the bus reset is performed when the power of the network device is initially turned on, when another node is connected during operation, when a certain node is disconnected, or when another IEEE 1394 network is connected and integrated. When a simplified bus is formed, two I
Occurs when an EEE1394 network is divided, when a branch is disconnected, when a connected node is turned on or off, or when it is detected that some change has occurred in the tree structure of the network. Characteristics. In addition, IEEE1394-19
The 95 standard also specifies that a configuration function is generated in response to a bus reset.

【0052】これにより、カテゴリ内でユニークに設定
される機器識別用タグTAGに基づいて、一元的なノー
ドID管理を実現できるようになる。
This makes it possible to implement centralized node ID management based on the device identification tag TAG uniquely set in the category.

【0053】図9のネットワーク構成例及び前述の図1
0、図11のフローチャートに基づいて、このようなバ
スリセットによる機器識別用タグTAGの設定の動作を
説明する。
FIG. 9 shows an example of the network configuration shown in FIG.
The operation of setting the device identification tag TAG by such a bus reset will be described with reference to the flowchart of FIG.

【0054】図9は、3台のIEEE1394インタフ
ェース機能を有するネットワーク機器(例えば、図中の
1台のComputerと2台のPrinter)の電
源が入り、ネットワーク機器がIEEE1394ネット
ワークに接続されて、バスリセットが終了した状態を示
している。
FIG. 9 shows that three network devices having an IEEE 1394 interface function (for example, one computer and two printers in the figure) are turned on, the network devices are connected to an IEEE 1394 network, and a bus reset is performed. Indicates a state in which is ended.

【0055】ノードIDはIEEE1394ネットワー
クのノードIDである。TAG,EntryFlag,
CheckFlagの値は、前述の図7の値を示してお
り、ネットワーク機器の電源が入って、バスリセットが
終了した状態なので、EntryFlagとCheck
Flagの値は0(ゼロ)になっている。
The node ID is a node ID of the IEEE 1394 network. TAG, EntryFlag,
The value of CheckFlag indicates the value of FIG. 7 described above. Since the power of the network device has been turned on and the bus reset has been completed, the EntryFlag and the CheckFlag are checked.
The value of Flag is 0 (zero).

【0056】まず、IEEE1394ネットワークの種
類としてComputerが選択されたとする。このと
き、EntryFlagとCheckFlagの値は0
(ゼロ)になっているので、ステップS330の処理ま
で進む。
First, it is assumed that Computer is selected as the type of the IEEE 1394 network. At this time, the values of EntryFlag and CheckFlag are 0
Since it is (zero), the process proceeds to the process of step S330.

【0057】ネットワーク機器の種類がCompute
rである場合で、かつ機器識別用タグTAGの値が0の
ノードはIEEE1394ネットワーク上に存在しない
(ステップS340のNO)ので、ステップS350の
処理まで進み、EntryFlagの値が1に設定され
る。
If the type of the network device is Compute
In the case of r, the node whose value of the device identification tag TAG is 0 does not exist on the IEEE 1394 network (NO in step S340), so that the process proceeds to step S350, and the value of EntryFlag is set to 1.

【0058】さらにステップS350に続くステップS
360の処理では、機器識別用タグTAGの記述されて
いるタグマップに機器識別用タグTAG#0が登録され
る。
Step S following step S350
In the process of 360, the device identification tag TAG # 0 is registered in the tag map in which the device identification tag TAG is described.

【0059】ステップS360に続くステップS370
の処理では、CheckFlagの値を1に設定してノ
ードが’検査済み’の状態になる。
Step S370 following step S360
In the processing of (1), the value of CheckFlag is set to 1 and the node is in a state of “tested”.

【0060】さらにステップS370に続くステップS
310の処理では、EntryFlagの値が0のノー
ドはない(ステップS310のNO)ので、処理が図1
1に示すステップS390の処理に進む。
Further, step S following step S370
In the process of 310, since there is no node whose EntryFlag value is 0 (NO in step S310), the process is performed as shown in FIG.
The process proceeds to step S390 shown in FIG.

【0061】このときタグキューは空(ステップS39
0のYES)なので、ComputerというIEEE
1394ネットワークの種類の機器識別用タグTAGの
設定処理は終了する。
At this time, the tag queue is empty (step S39).
0 (YES), so IEEE called Computer
The setting processing of the device identification tag TAG of the type of the 1394 network ends.

【0062】続いて、機器識別用タグTAGの記述され
ているタグマップについて説明する。
Subsequently, a tag map in which the device identification tag TAG is described will be described.

【0063】機器識別用タグTAGの記述されているタ
グマップは、図12に示す機器識別用タグTAGの記述
されている64ビット長のタグマップレジスタに記述さ
れている。ここで、TagMapReg_loのLSB
(Least Significant Bit)で機
器識別用タグTAG#0を、MSB(Most Sig
nificant Bit)で機器識別用タグTAG#
31が登録済みかどうかを判定できる。またTagMa
pReg_hiのLSBで機器識別用タグTAG#32
を、MSB−1(MSBの隣のビット)で機器識別用タ
グTAG#62が登録済みかどうかを判定できる。バス
リセット後は、この機器識別用タグTAGの記述されて
いるマップレジスタの値は0に設定されており、すべて
の機器識別用タグTAGが未使用となっている。このマ
ップレジスタはネットワーク機器の種類ごとに用意され
ている。
The tag map in which the device identification tag TAG is described is described in a 64-bit tag map register in which the device identification tag TAG is described as shown in FIG. Here, LSB of TagMapReg_lo
(Least Significant Bit), tag TAG # 0 for device identification with MSB (Most Significant Bit).
nifant Bit) for device identification tag TAG #
It can be determined whether or not 31 has been registered. TagMa
Device identification tag TAG # 32 with LSB of pReg_hi
Can be determined by using MSB-1 (the bit next to the MSB) as to whether or not the device identification tag TAG # 62 has been registered. After the bus reset, the value of the map register in which the device identification tag TAG is described is set to 0, and all the device identification tags TAG are unused. This map register is prepared for each type of network device.

【0064】次にPrinterというネットワーク機
器の機器識別用タグTAGを設定する動作を、図10及
び図11に基づいて説明する。
Next, an operation of setting a device identification tag TAG of a network device named Printer will be described with reference to FIGS.

【0065】ステップS310において、EntryF
lagの値が0であるノードを検索する。図9のIEE
E1394ネットワークではPrinterが2個ある
が、ノードIDが小さい方(すなわち、ノードIDが1
のノード)から検索が開始される。
In step S310, EntryF
A node whose lag value is 0 is searched. IEEE of FIG. 9
In the E1394 network, there are two Printers, but the one with the smaller node ID (that is, the node ID is 1
The search is started from the node of ().

【0066】ノードID#1のノードの機器識別用タグ
TAGの値が0で、ノードID#2のノードの機器識別
用タグTAGと同じ値0なので(ステップS330のN
O)、ステップS340の処理に進む。
Since the value of the device identification tag TAG of the node having the node ID # 1 is 0 and the same value as the device identification tag TAG of the node having the node ID # 2 is 0 (N in step S330).
O), the process proceeds to step S340.

【0067】ステップS340に続くステップS350
の処理では、ノードID#2のEngryFlagの値
が1ではないので(ステップS340のNO)、Pri
nterの機器識別用タグTAGの記述されているタグ
マップの機器識別用タグTAG#0を登録及び設定する
(ステップS350のEntryFlag:=1→ステ
ップS360)。
Step S350 following step S340
In the process of (3), since the value of the Entry Flag of the node ID # 2 is not 1 (NO in step S340), Pri
Then, the device identification tag TAG # 0 of the tag map in which the device identification tag TAG is described is registered and set (EntryFlag: = 1 in step S350 → step S360).

【0068】ステップS360に続くステップS370
の処理では、CheckFlagの値を1に設定してス
テップS310に戻る。
Step S370 following step S360
In the process (1), the value of CheckFlag is set to 1, and the process returns to step S310.

【0069】ステップS370に続くステップS310
の処理では、ノードID#2のノードのEntryFl
ag,CheckFlagの値が0のままなので、処理
がステップS330の処理に進む(ステップS310の
YES→ステップS320→ステップS330)。
Step S310 following step S370
In the processing of EntryFl of the node with the node ID # 2
Since the values of ag and CheckFlag remain 0, the process proceeds to the process of step S330 (YES in step S310 → step S320 → step S330).

【0070】ここで、ノードID#2の機器識別用タグ
TAGと同じ機器識別用タグTAGの値を持つノード
は、ノードID#1のノードである。
Here, a node having the same value of the device identification tag TAG as the device identification tag TAG of the node ID # 2 is a node having the node ID # 1.

【0071】ステップS340の処理では、ノードID
#1のノードのEntryFlagの値が1なので(ス
テップS340のYES)、ステップS370の処理に
進む。
In the process of step S340, the node ID
Since the value of the EntryFlag of the node # 1 is 1 (YES in step S340), the process proceeds to step S370.

【0072】ステップS340のYESに続くステップ
S370の処理では、ノードID#2のCheckFl
agの値を1に設定して、ステップS310に再び戻
る。
In the processing of step S370 following YES of step S340, CheckFl of node ID # 2
The value of ag is set to 1, and the process returns to step S310.

【0073】ステップS370に続くステップS310
の処理では、ノードID#2のノードはまだEntry
Flagの値が0なので(ステップS310のYE
S)、処理がステップS320に移行する。
Step S310 following step S370
In the processing of the above, the node of the node ID # 2 is still Entry
Since the value of Flag is 0 (YE in step S310)
S), the process proceeds to step S320.

【0074】ステップS310に続くステップS320
の処理では、CheckFlagの値が1(ステップS
320のYES)なので、ステップS380へジャンプ
してノードID#2のノードをタグキューに入れる。
Step S320 following step S310
In the processing of (1), the value of CheckFlag is 1 (step S
Since it is 320 (YES), the process jumps to step S380 to put the node with the node ID # 2 into the tag queue.

【0075】ステップS380に続くステップS381
では、CheckFlagの値が0のノードはないので
(ステップS381のNO)、ステップS390の処理
に進む。
Step S381 following step S380
Since there is no node whose CheckFlag value is 0 (NO in step S381), the process proceeds to step S390.

【0076】図11に示すステップS391では、タグ
キューからノードID#2のノードを得る。ここでPr
interの機器識別用タグTAGの記述されているマ
ップを検索して未使用の機器識別用タグTAG#1を小
さい順から得る(ステップS391→ステップS392
→ステップS393のNO)。
In step S391 shown in FIG. 11, the node having the node ID # 2 is obtained from the tag queue. Where Pr
A map in which the device identification tag TAG of inter is described is searched to obtain unused device identification tags TAG # 1 in ascending order (step S391 → step S392).
→ NO in step S393).

【0077】ステップS393のNOに続くステップS
394の処理では、未使用の機器識別用タグTAG#1
をノードID#2の機器識別用タグTAGに設定して、
EntryFlagとCheckFlagの値を1に設
定(EntryFlag:=1,CheckFlag:
=1)してステップS390に戻る。
Step S following NO in step S393
In the process of 394, the unused device identification tag TAG # 1
Is set to the device identification tag TAG of the node ID # 2,
Set the values of EntryFlag and CheckFlag to 1 (EntryFlag: = 1, CheckFlag:
= 1), and the process returns to step S390.

【0078】ステップS394に続くステップS390
ではタグキューが空(ステップS390のYES)なの
で、処理は終了される。
Step S390 following step S394
Since the tag queue is empty (YES in step S390), the process ends.

【0079】一方、ステップS393において未使用タ
グがないと判定された場合(ステップS393のYE
S)、”未使用タグ無し”のエラー表示を行う処理が実
行された後に終了する。
On the other hand, when it is determined in step S393 that there is no unused tag (YE in step S393).
S), the process ends after the process of displaying the error “No unused tag” is executed.

【0080】(第2実施形態)次に、図13を用いて第
2実施形態について説明する。IEEE1394ネット
ワーク識別フローは、前述の図10のものを使用する。
なお、第1実施形態において既に記述したものと同一の
部分については、同一符号を付し、重複した説明は省略
する。
(Second Embodiment) Next, a second embodiment will be described with reference to FIG. The IEEE 1394 network identification flow uses the flow of FIG. 10 described above.
Note that the same parts as those already described in the first embodiment are denoted by the same reference numerals, and redundant description will be omitted.

【0081】図13は、前述の図9のIEEE1394
ネットワークにさらにPrinterを2台追加接続し
かつバスリセットが終了した状態を示している。
FIG. 13 shows the IEEE 1394 of FIG. 9 described above.
This shows a state in which two more printers are additionally connected to the network and the bus reset has been completed.

【0082】同図において、ステップS310の処理で
は、ノードID#0のノードでEntryFlagの値
が0なので、EntryFlagの値が0のノードがあ
ると判断され(ステップS310のYES)、ノードI
D#0のノードが検索される。
In the figure, in the process of step S310, since the value of the EntryFlag is 0 at the node of node ID # 0, it is determined that there is a node with the value of the EntryFlag of 0 (YES in step S310).
The node of D # 0 is searched.

【0083】ステップS310のYESに続くステップ
S320の処理では、ノードID#0のノードのChe
ckFlagの値が0なので、ノードのCheckFl
agの値が1でないと判断(ステップS320のNO)
してステップS330の処理に進む。
In the processing of step S320 following YES of step S310, the Che of the node of node ID # 0
Since the value of ckFlag is 0, CheckFl of the node
Judge that the value of ag is not 1 (NO in step S320)
Then, the process proceeds to step S330.

【0084】ステップS320のNOに続くステップS
330の処理では、ノードID#0と同じ機器識別用タ
グTAG#0を持つノードID#3のノードがあるの
で、ノードID#0と同じ機器識別用タグTAG#0を
持つノードID#3のノードがあると判断(ステップS
330のNO)してステップS340の処理に進む。
Step S following NO in step S320
In the process of 330, since there is a node having the node ID # 3 having the same device identification tag TAG # 0 as the node ID # 0, the node ID # 3 having the same device identification tag TAG # 0 as the node ID # 0 is present. Judge that there is a node (step S
(NO at 330), and then the process proceeds to step S340.

【0085】ステップS330のNOに続くステップS
340の処理では、ノードID#3のノードのEntr
yFlagの値が1なので、ノードID#3のノードの
EntryFlagの値が1と判断し(ステップS34
0のYES)、ステップS370の処理に進む。
Step S following NO in step S330
In the process of 340, the Entr of the node with the node ID # 3
Since the value of yFlag is 1, it is determined that the value of EntryFlag of the node having the node ID # 3 is 1 (step S34).
(YES at 0), the process proceeds to step S370.

【0086】ステップS370では、ノードID#0の
ノードのCheckFlagの値を1に設定して(Ch
eckFlag:=1)、ステップS310に戻る。
In step S370, the value of CheckFlag of the node with node ID # 0 is set to 1 (Ch
eckFlag: = 1), and returns to step S310.

【0087】ステップS370に続くステップS310
の処理では、ノードID#0のノードはまだ、Entr
yFlagの値が0なので、ステップS320の処理に
進む。
Step S310 following step S370
In the processing of the above, the node with the node ID # 0 is still Entr
Since the value of yFlag is 0, the process proceeds to step S320.

【0088】ステップS320の処理では、ノードID
#0のノードのCheckFlagの値が1なので、ノ
ードID#0のノードのCheckFlagの値が1で
あると判断し(ステップS320のYES)、ステップ
S380の処理に進み、ノードID#0をキューに入れ
る。
In the process of step S320, the node ID
Since the value of CheckFlag of the node # 0 is 1, it is determined that the value of CheckFlag of the node of node ID # 0 is 1 (YES in step S320), the process proceeds to step S380, and the node ID # 0 is stored in the queue. Put in.

【0089】ステップS380に続くステップS381
では、CheckFlagの値が0であるノード(ノー
ドID#1のノード)があるので(ステップS381の
YES)、再びステップS310に戻る(ステップS3
81→ステップS310)。
Step S381 following step S380
Since there is a node having a CheckFlag value of 0 (node with node ID # 1) (YES in step S381), the process returns to step S310 again (step S3).
81 → Step S310).

【0090】ステップS310の処理において、ノード
ID#1のノードに関してEntryFlag,Che
ckFlag共に0なので(ステップS310のYES
→ステップS320のNO)、ステップS330の処理
に進む。
In the process of step S310, EntryFlag, Che
Since both ckFlags are 0 (YES in step S310)
→ NO in step S320), and the process proceeds to step S330.

【0091】ステップS320のNOに続くステップS
330の処理では、ノードID#1と同じ機器識別用タ
グTAGを持つノードが存在しないので(ステップS3
30のNO)、ステップS350の処理に進む。
Step S following NO in step S320
In the process of 330, since no node having the same device identification tag TAG as the node ID # 1 exists (step S3).
(NO in S30), the process proceeds to step S350.

【0092】ステップS330のNOに続くステップS
350の処理では、ノードID#1のノードのEntr
yFlagの値を1に設定する。
Step S following NO in step S330
In the process of 350, the Entr of the node with the node ID # 1
Set the value of yFlag to 1.

【0093】さらに、ステップS350に続くステップ
S360の処理では、ノードID#1の機器識別用タグ
TAG(このときの値=2)をPrinterの機器識
別用タグTAGの記述されているマップに登録する。
Further, in the process of step S360 following step S350, the device identification tag TAG of node ID # 1 (the value at this time = 2) is registered in the map describing the device identification tag TAG of Printer. .

【0094】ステップS360に続くステップS370
では、CheckFlagの値を1に設定して、ステッ
プS310に戻る。
Step S370 following step S360
Then, the value of CheckFlag is set to 1, and the process returns to step S310.

【0095】ステップS370に続くステップS310
の処理では、EntryFlagの値が0のノードはな
いので(ステップS310のNO)、ステップS390
の処理に進む。
Step S310 following step S370
In the processing of (3), there is no node whose EntryFlag value is 0 (NO in step S310), so that step S390 is performed.
Proceed to processing.

【0096】ステップS310のNOに続くステップS
390の処理では、タグキューは空ではないので(ステ
ップS390のNO)、ステップS391の処理が実行
されてノードID#0の機器識別用タグTAGをタグキ
ューから得る。
Step S following NO in step S310
In the process of 390, since the tag queue is not empty (NO in step S390), the process of step S391 is executed to obtain the device identification tag TAG of node ID # 0 from the tag queue.

【0097】ステップS391に続くステップS392
では、Printerの機器識別用タグTAGの記述さ
れているマップを検索(ステップS392)して未使用
の機器識別用タグTAG(値=4)を得る。
Step S392 following step S391
Then, a map in which the device identification tag TAG of Printer is described is searched (step S392) to obtain an unused device identification tag TAG (value = 4).

【0098】ステップS392に続くステップS393
の処理では、未使用の機器識別用タグTAGがあるので
(ステップS393のNO)、ステップS394の処理
に進む。
Step S393 following step S392
In the processing of (3), since there is an unused device identification tag TAG (NO in step S393), the process proceeds to the processing in step S394.

【0099】ステップS393のNOに続くステップS
394の処理では、ノードID#0のノードのEntr
yFlag,CheckFlagの値を1に設定してス
テップS390に戻る。
Step S following NO in step S393
In the process of 394, the Entr of the node with the node ID # 0
The values of yFlag and CheckFlag are set to 1, and the process returns to step S390.

【0100】ステップS394に続くステップS390
では、タグキューが空になったので(ステップS390
のYES)、処理を終了する。
Step S390 following step S394
Then, since the tag queue is empty (step S390)
YES), the process ends.

【0101】以上説明したように、第1実施形態または
第2実施形態によれば、所定のカテゴリ内での同種類の
ネットワーク機器を識別するための機器識別用タグTA
Gに基づいて同種類のネットワーク機器の個々を識別す
るので、IEEE1394ネットワーク上に同種類のネ
ットワーク機器を複数台接続する際、ベンダーが異なる
IEEE1394ネットワーク間を相互接続するような
場合、一方のIEEE1394ネットワークに接続され
ていたネットワーク機器を外して他方のIEEE139
4ネットワークに接続するような場合、あるいはバスリ
セットが随時発生するような場合であっても、ノードI
D再設定前後でノードIDが変更されるようなケースを
回避した一元的なノードID管理を実現できるようにな
り、その結果、ノードID再設定以前に使用してきたネ
ットワーク機器が使用できなくなるケース、別の同種類
のIEEE1394ネットワークに接続されるケースを
回避できるようになる。
As described above, according to the first or second embodiment, the device identification tag TA for identifying the same type of network device within a predetermined category.
Since each of the network devices of the same type is identified based on G, when connecting a plurality of network devices of the same type on the IEEE 1394 network, if the vendors interconnect different IEEE 1394 networks, one of the IEEE 1394 networks is connected to the other. To remove the network device connected to the other IEEE 139
Even if the connection to the network 4 or the bus reset occurs at any time, the node I
D It is possible to realize centralized node ID management that avoids the case where the node ID is changed before and after resetting, and as a result, the network device used before the node ID resetting becomes unusable. It becomes possible to avoid the case of being connected to another same type of IEEE 1394 network.

【0102】[0102]

【発明の効果】ネットワーク上に同種類のネットワーク
機器を複数台接続する際、ベンダーが異なるネットワー
ク間を相互接続するような場合、一方のネットワークに
接続されていたネットワーク機器を外して他方のネット
ワークに接続するような場合、あるいはバスリセットが
随時発生するような場合あっても、ID再設定前後でI
Dが変更されるようなケースを回避した一元的なID管
理を実現し、ID再設定以前に使用してきたネットワー
ク機器が使用できなくなるケース、別の同種類のネット
ワークに接続されるケースを回避できるようになる。
According to the present invention, when connecting a plurality of network devices of the same type on a network, if the vendors interconnect different networks, the network device connected to one network is removed and the network device is connected to the other network. Even if connection is made or a bus reset occurs at any time, the I / O
By realizing centralized ID management that avoids the case where D is changed, it is possible to avoid the case where the network device used before the ID reset becomes unusable and the case where it is connected to another same type of network. Become like

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

【図1】本発明のネットワーク機器識別方法の第1実施
形態を説明するためのIEEE1394ネットワーク構
成図である。
FIG. 1 is an IEEE 1394 network configuration diagram for describing a first embodiment of a network device identification method according to the present invention.

【図2】図1のIEEE1394ネットワークにスキャ
ナとプリンタが追加接続された状態を示している。
FIG. 2 shows a state in which a scanner and a printer are additionally connected to the IEEE 1394 network of FIG. 1;

【図3】第1実施形態のネットワーク機器識別方法の動
作を説明するためのフローチャートである。
FIG. 3 is a flowchart illustrating an operation of the network device identification method according to the first embodiment.

【図4】CSR中のコンフィグレーションROM内のデ
ータフィールドであるNode_Unique_IDリ
ーフのデータ構造を示す図である。
FIG. 4 is a diagram showing a data structure of a Node_Unique_ID leaf which is a data field in a configuration ROM in CSR.

【図5】図4のNode_Unique_IDリーフ内
のchip_id_hiに機器識別用タグを実装したデ
ータ構造を説明するための図である。
5 is a diagram for explaining a data structure in which a device identification tag is mounted on chip_id_hi in a Node_Unique_ID leaf of FIG. 4;

【図6】図4のNode_Unique_IDリーフ内
のchip_id_loに機器識別用タグを実装したデ
ータ構造を説明するための図である。
FIG. 6 is a diagram for explaining a data structure in which a device identification tag is mounted on chip_id_lo in a Node_Unique_ID leaf of FIG. 4;

【図7】図4のNode_Unique_IDリーフ内
のchip_id_hiに機器識別用タグを実装した他
のデータ構造を説明するための図である。
FIG. 7 is a diagram for explaining another data structure in which a device identification tag is mounted on chip_id_hi in the Node_Unique_ID leaf of FIG. 4;

【図8】同じ種類のネットワーク機器の機器識別用タグ
を自動的に設定する処理を説明するためのフローチャー
トである。
FIG. 8 is a flowchart illustrating a process of automatically setting a device identification tag of the same type of network device.

【図9】同じ種類のネットワーク機器の機器識別用タグ
を自動的に設定する処理の他の実施形態のネットワーク
構成図である。
FIG. 9 is a network configuration diagram of another embodiment of a process for automatically setting a device identification tag of the same type of network device.

【図10】バスリセットによる機器識別用タグの設定の
動作を説明するためのフローチャートである。
FIG. 10 is a flowchart illustrating an operation of setting a device identification tag by a bus reset.

【図11】バスリセットによる機器識別用タグの設定の
動作を説明するためのフローチャートである。
FIG. 11 is a flowchart illustrating an operation of setting a device identification tag by a bus reset.

【図12】64ビット長のタグマップレジスタのデータ
構造を説明するための図である。
FIG. 12 is a diagram for explaining a data structure of a tag map register having a length of 64 bits.

【図13】図9のIEEE1394ネットワークにさら
にPrinterを2台追加接続しかつバスリセットが
終了した状態を示している。
FIG. 13 shows a state in which two more printers are additionally connected to the IEEE 1394 network of FIG. 9 and a bus reset has been completed.

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

TAG…機器識別用タグ TAG#…タグ番号 Printer…プリンター Scanner…スキャナー Computer…コンピュータ CSR…Control Status Regist
er
TAG: Device identification tag TAG #: Tag number Printer: Printer Scanner: Scanner Computer: Computer CSR: Control Status Register
er

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に接続されている複数台
の同種類のネットワーク機器を識別する識別方法におい
て、 所定のカテゴリ内での同種類のネットワーク機器を識別
するための機器識別用タグを当該ネットワーク機器の各
々に割り当てると共に、当該機器識別用タグに基づいて
当該同種類のネットワーク機器の個々を識別することを
特徴とするネットワーク機器識別方法。
1. An identification method for identifying a plurality of network devices of the same type connected to a network, the device comprising a device identification tag for identifying the network devices of the same type within a predetermined category. A network device identification method characterized by assigning to each device and identifying each of the same type of network device based on the device identification tag.
【請求項2】 前記機器識別用タグは、所定のトリガ信
号がネットワーク内で発生したとき当該トリガ信号に応
じてネットワーク機器の各々がネットワーク上で相互に
交信して前記カテゴリ内でユニークに設定されることを
特徴とする請求項1に記載のネットワーク機器識別方
法。
2. The device identification tag is configured such that when a predetermined trigger signal is generated in a network, each of the network devices communicates with each other on a network in response to the trigger signal and is uniquely set in the category. 2. The network device identification method according to claim 1, wherein:
【請求項3】 前記機器識別用タグの再設定は、前記ト
リガ信号が新たに発生しない限り実行されないことを特
徴とする請求項1に記載のネットワーク機器識別方法。
3. The network device identification method according to claim 1, wherein resetting of the device identification tag is not executed unless the trigger signal is newly generated.
【請求項4】 2つのネットワークを相互接続する場合
であって、当該2つのネットワークにおいて同種類のネ
ットワーク機器間で前記機器識別用タグが同一であるよ
うなコンフリクトが発生したとき、当該コンフリクトし
ているネットワーク機器に対する前記機器識別用タグの
再設定を実行することを特徴とする請求項1に記載のネ
ットワーク機器識別方法。
4. In a case where two networks are interconnected, when a conflict occurs in the two networks in which the same device identification tag is the same between network devices of the same type, the conflict occurs. 2. The network device identification method according to claim 1, wherein resetting of the device identification tag is performed for a network device.
【請求項5】 ネットワークに追加接続されたネットワ
ーク機器に対して前記機器識別用タグの再設定を行うこ
とを特徴とする請求項4に記載のネットワーク機器識別
方法。
5. The network device identification method according to claim 4, wherein the device identification tag is reset for a network device additionally connected to the network.
【請求項6】 前記ネットワークに追加接続されたネッ
トワーク機器とは、機器の電源リセット以降に前記機器
識別用タグを再設定していないネットワーク機器である
ことを特徴とする請求項5に記載のネットワーク機器識
別方法。
6. The network device according to claim 5, wherein the network device additionally connected to the network is a network device in which the device identification tag has not been reset after the power of the device is reset. Device identification method.
JP10179330A 1998-06-25 1998-06-25 Network device identification method Withdrawn JP2000013399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10179330A JP2000013399A (en) 1998-06-25 1998-06-25 Network device identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10179330A JP2000013399A (en) 1998-06-25 1998-06-25 Network device identification method

Publications (1)

Publication Number Publication Date
JP2000013399A true JP2000013399A (en) 2000-01-14

Family

ID=16063961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10179330A Withdrawn JP2000013399A (en) 1998-06-25 1998-06-25 Network device identification method

Country Status (1)

Country Link
JP (1) JP2000013399A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001099350A1 (en) * 2000-06-19 2001-12-27 Matsushita Electric Industrial Co., Ltd. Apparatus for managing identification number, system for managing identification number and method for managing identification number
US6658474B2 (en) 1998-11-26 2003-12-02 Samsung Electronics Co., Ltd. Home network system and method of allocating node identification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6658474B2 (en) 1998-11-26 2003-12-02 Samsung Electronics Co., Ltd. Home network system and method of allocating node identification
WO2001099350A1 (en) * 2000-06-19 2001-12-27 Matsushita Electric Industrial Co., Ltd. Apparatus for managing identification number, system for managing identification number and method for managing identification number

Similar Documents

Publication Publication Date Title
EP0933900B1 (en) Bridge for the IEEE 1394 bus
JP4278439B2 (en) Information communication apparatus, system thereof, method thereof, program thereof, and recording medium recording the program
US6374316B1 (en) Method and system for circumscribing a topology to form ring structures
JP2000165417A (en) Network configuration method and network management node
US6823408B2 (en) Electronic equipment, and method for controlling state of physical layer circuit therefor
WO2001071468A1 (en) A method and system for using a new bus identifier resulting from a bus topology change
US6775714B1 (en) Communication method, communication apparatus, communication system and providing medium
US6389502B1 (en) Synchronous communication setting method in bus network, bus network utilizing the method thereof and information provision medium
US6751697B1 (en) Method and system for a multi-phase net refresh on a bus bridge interconnect
US6584539B1 (en) Method and system for message broadcast flow control on a bus bridge interconnect
JP2000013399A (en) Network device identification method
US7580420B2 (en) Interface circuit connecting a device with a bridge portal function to a communication bus
US7043542B2 (en) Information processing method and system for reserving and information processing apparatus having globally unique identification information
US7352742B2 (en) Method and apparatus for transmitting to an upper layer of information included in a packet
US7139853B2 (en) Data transmission/reception system, connection establishing method and information transmission/reception apparatus
JP4213041B2 (en) Physical layer circuit and interface circuit
JP3667235B2 (en) Communication device
US20090031045A1 (en) Information relay device, information relay method, information relay program and information recording medium
JP5618805B2 (en) COMMUNICATION DEVICE, NETWORK SYSTEM, AND COMMUNICATION METHOD
JP4502653B2 (en) Packet transmitting / receiving apparatus and packet identification method used therefor
KR19990076150A (en) How to manage node IDs
JP2004229301A (en) Network operation method in interface node, and interfacing device
JP2000224193A (en) Device detection method on the network
JPH10283135A (en) Data processing method, data processor, printer and storage medium
KR20010105200A (en) Interface unit for digital serial data, bridge portal utilizing the same, and a method for transmitting digital data

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906