JP2003289320A - Address determination method and node in network - Google Patents

Address determination method and node in network

Info

Publication number
JP2003289320A
JP2003289320A JP2002092072A JP2002092072A JP2003289320A JP 2003289320 A JP2003289320 A JP 2003289320A JP 2002092072 A JP2002092072 A JP 2002092072A JP 2002092072 A JP2002092072 A JP 2002092072A JP 2003289320 A JP2003289320 A JP 2003289320A
Authority
JP
Japan
Prior art keywords
address
node
packet
initialization
lower layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002092072A
Other languages
Japanese (ja)
Other versions
JP3808793B2 (en
Inventor
Akira Toba
彰 鳥羽
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.)
Toshiba Carrier Corp
Original Assignee
Toshiba Carrier 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 Toshiba Carrier Corp filed Critical Toshiba Carrier Corp
Priority to JP2002092072A priority Critical patent/JP3808793B2/en
Priority to CNB031088619A priority patent/CN100423497C/en
Priority to TW92107148A priority patent/TWI254541B/en
Publication of JP2003289320A publication Critical patent/JP2003289320A/en
Application granted granted Critical
Publication of JP3808793B2 publication Critical patent/JP3808793B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To determine an address with a simple scheme without making a processing scheme remarkably different by the presence/absence of a server when determining the address required for initial setting of a network in accordance with the scale of the network and the allowable volume of traffic. <P>SOLUTION: In a predetermined designated mode, a novel node multicasts an initialized packet requesting responses from all nodes or requesting a response only from the server into a subnet and when there is a response packet from the server as an initialized response packet, the novel node determines a given low-order layer address contained therein as a low-order layer address of the present node but when there is no response from the server, error stop occurs according to the designated mode or based upon the information of existing low-order layer addresses contained in the initialized response packets returned from one or a plurality of started nodes, unused one value is selected and determined as a low-order layer address of the present node. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークにお
けるアドレス決定方法およびノードに関する。
TECHNICAL FIELD The present invention relates to an address determination method and node in a network.

【0002】[0002]

【従来の技術】一般にネットワークの初期設定に必要な
アドレスを決定する際には、ネットワークの規模、トラ
フィックの許容量に応じてアドレス決定方式を選択決定
するが、従来は、IPネットワークでRFCで記述されてい
るDHCPサーバやAutoIP等で示されるように、サーバの有
無によりアドレス決定の処理方式が大きく異なり、実装
の際複雑である問題点があった。またサブネット内にサ
ーバが存在する場合、そのサーバ自身が異常であったり
サーバとの通信が一時的に不通であれば、分散方式で動
作している時にはサーバの存在が無視されてアドレス配
布されてしまう問題点があり、さらに、アドレス決定ま
でに時間がかかる問題点もあった。
2. Description of the Related Art Generally, when deciding an address necessary for initial setting of a network, an address deciding method is selected and decided according to the size of the network and an allowable traffic amount. Conventionally, it is described by RFC in an IP network. As shown by the DHCP server and AutoIP, etc., there is a problem in that the processing method of address determination differs greatly depending on the presence or absence of a server, and the implementation is complicated. Also, if there is a server in the subnet, if the server itself is abnormal or communication with the server is temporarily disconnected, the existence of the server is ignored and the address is distributed when operating in the distributed mode. In addition, there is a problem that it takes time to determine an address.

【0003】[0003]

【発明が解決しようとする課題】本発明は、ネットワー
クの初期設定に必要なアドレスをネットワークの規模、
トラフィックの許容量に応じて決定する際、サーバの有
無によっても処理方式が大きく異なることがなく、シン
プルな方式でアドレスが決定できるアドレス決定技術を
提供することを目的とする。
SUMMARY OF THE INVENTION According to the present invention, the address required for initial setting of the network is set to the network scale,
It is an object of the present invention to provide an address determination technique capable of determining an address by a simple method, in which the processing method does not greatly differ depending on the presence or absence of a server when determining according to the traffic allowance.

【0004】本発明はまた、サブネット内に存在するサ
ーバ自身に異常が発生した時やサーバとの通信が一時的
に不通である時はにその、サーバの存在が無視されてア
ドレス配布されてしまうという従来の問題点を解消し、
アドレス決定までの時間を短縮することができるアドレ
ス決定技術を提供することを目的とする。
Further, according to the present invention, when an abnormality occurs in the server itself existing in the subnet or when communication with the server is temporarily interrupted, the existence of the server is ignored and the address is distributed. I solved the conventional problem that
It is an object of the present invention to provide an address determination technique capable of shortening the time until the address determination.

【0005】[0005]

【課題を解決するための手段】請求項1の発明のネット
ワークにおけるアドレス決定方法は、新規ノードがハー
ドウェアスイッチやソフトウェア的な設定方法等により
予め定められた指定モードにより、全ノード応答要求又
はサーバのみ応答要求のいずれかの初期化パケットをサ
ブネット内にマルチキャストし、前記新規ノードは初期
化応答パケットとしてサーバからの応答パケットがあれ
ばここに含まれる付与下位層アドレスを自ノードの下位
層アドレスと決定し、サーバからの応答がなければ指定
モードに従ってエラー停止、又は、1又は複数の起動済
みノード各々から返却されて来た初期化応答パケットに
含まれる既存の下位層アドレスの情報に基づき、使用さ
れていない1つの値を選択して自ノードの下位層アドレ
スと決定することを特徴とするものである。
According to a first aspect of the present invention, there is provided an address determination method in a network, wherein a new node is a response mode request for all nodes or a server according to a designation mode predetermined by a hardware switch or a software setting method. Only one of the initialization packets of the response request is multicast in the subnet, and if there is a response packet from the server as the initialization response packet, the new node assigns the assigned lower layer address as the lower layer address of the own node. Determined, if there is no response from the server, error stop according to the specified mode, or use based on the information of the existing lower layer address contained in the initialization response packet returned from each of one or more activated nodes Select one value that has not been set and determine it as the lower layer address of the local node It is an feature.

【0006】請求項2の発明は、請求項1のネットワー
クにおけるアドレス決定方法において、前記初期化パケ
ットには少なくとも宛先アドレス、自己アドレス、パケ
ットタイプ、自己ハードウェアアドレス、仮下位層アド
レスを含み、前記宛先アドレスにはサブネット内マルチ
キャスト宛先を指定し、前記指定モードをパケットタイ
プ又は付加ビットの情報により識別させることを特徴と
するものである。
According to a second aspect of the present invention, in the address determining method in the network according to the first aspect, the initialization packet includes at least a destination address, a self address, a packet type, a self hardware address, and a temporary lower layer address. A multicast address within a subnet is designated as a destination address, and the designated mode is identified by information of a packet type or additional bits.

【0007】請求項3の発明は、請求項1又は2のネッ
トワークにおけるアドレス決定方法において、前記初期
化応答パケットには宛先アドレス、自己アドレス、パケ
ットタイプ、自己ハードウェアアドレス、付与下位層ア
ドレス又は自己下位層アドレス及びサーバの応答か否か
のコードを含み、前記宛先アドレスには前記初期化パケ
ットの送信元アドレスを指定することを特徴とするもの
である。
According to a third aspect of the present invention, in the address determination method in the network according to the first or second aspect, the initialization response packet includes a destination address, a self address, a packet type, a self hardware address, an assigned lower layer address or a self address. It is characterized in that it includes a lower layer address and a code indicating whether or not it is a response from the server, and the source address of the initialization packet is designated as the destination address.

【0008】請求項4の発明は、請求項1〜3のネット
ワークにおけるアドレス決定方法において、前記ネット
ワークがMaster/Slave方式のネットワーク
であり、前記新規ノードからの初期化パケットを受信し
た起動済みのノードが、当該初期化パケットに対する初
期化応答パケットを初期化パケットの受信後の固定され
た所定時間が経過した時に送出することを特徴とするも
のである。
According to a fourth aspect of the present invention, in the address determination method in the network according to the first to third aspects, the network is a Master / Slave system network, and the activated node has received the initialization packet from the new node. However, the initialization response packet for the initialization packet is transmitted when a fixed predetermined time has elapsed after the initialization packet was received.

【0009】請求項5の発明は、請求項1〜3のネット
ワークにおけるアドレス決定方法において、前記ネット
ワークがCSMA/CD方式のネットワークであり、前
記新規ノードからの初期化パケットを受信した起動済み
のノードが、前記初期化パケットに対する初期化応答パ
ケットを、初期化パケットの受信後、当該ノードの保持
する下位層アドレス値に比例する所定時間が経過した時
に送出することを特徴とするものである。
According to a fifth aspect of the present invention, in the address determination method in the network according to the first to third aspects, the network is a CSMA / CD system network, and the activated node has received the initialization packet from the new node. However, the initialization response packet for the initialization packet is transmitted when a predetermined time proportional to the lower layer address value held by the node has elapsed after the initialization packet was received.

【0010】請求項6の発明は、請求項5のネットワー
クにおけるアドレス決定方法において、サーバノードの
下位層アドレス値には、アドレス値の設定可能範囲の最
小値を予約アドレスとして設定しておくことを特徴とす
るものである。
According to a sixth aspect of the invention, in the address determination method in the network of the fifth aspect, the minimum value of the settable range of the address value is set as the reserved address in the lower layer address value of the server node. It is a feature.

【0011】請求項7の発明は、請求項4のネットワー
クにおけるアドレス決定方法において、サブネット内の
サーバとなるべきSlaveノードには下位層アドレス
の予約値を決めておき、前記Masterノードが、ア
ドレス取得動作前に、管理するSlaveノード各々の
ハードウェアアドレス、下位層アドレス、Slave管
理番号を含むデータベースを生成し、新規のSlave
ノードから前記初期化パケットを受け取ったときには予
約値として定めた下位層アドレスに対応するSlave
管理番号のSlaveノード宛に転送し、当該Slav
eノードからの初期化応答パケットを初期化パケットの
送信元のSlaveノードに返却することを特徴とする
ものである。
According to a seventh aspect of the present invention, in the address determination method for a network according to the fourth aspect, a reserved value of a lower layer address is determined for a slave node to be a server in a subnet, and the Master node acquires the address. Before operation, a database including the hardware address, lower layer address, and slave management number of each slave node to be managed is generated, and a new slave is created.
When the initialization packet is received from the node, the slave corresponding to the lower layer address defined as the reserved value
Transfer to the slave node with the management number, and
The initialization response packet from the e-node is returned to the slave node that is the transmission source of the initialization packet.

【0012】請求項8の発明は、請求項1〜3のネット
ワークにおけるアドレス決定方法において、各ノード
が、受信したパケットの内容から得られる他のノード各
々の生死Bitとハードウェアアドレスとの組み要素か
ら成り、自ノードの再起動と共に値がクリアされ再作成
される管理テーブルを保持し、前記初期化応答パケット
に前記生死Bitを付加し、起動済みのノードの下位層
アドレス情報として前記新規ノード宛に送信することを
特徴とするものである。
According to the invention of claim 8, in the address determination method in the network of claims 1 to 3, each node is a combination element of a life and death Bit and a hardware address of each of the other nodes obtained from the contents of the received packet. It holds a management table whose value is cleared and recreated when the self-node is restarted, the life-and-death Bit is added to the initialization response packet, and it is addressed to the new node as lower layer address information of the started node. It is characterized by transmitting to.

【0013】請求項9の発明のノードは、ネットワーク
に新規に参入する際に、ネットワークの運用モードに基
づき、全ノード応答要求又はサーバのみ応答要求のいず
れかの識別データを含む初期化パケットをサブネット内
にマルチキャストする初期化パケット送信手段と、他の
ノードから初期化応答パケットを受信したときに、当該
初期化応答パケットがサブネット内のサーバからの応答
パケットがあればそれに含まれる付与下位層アドレスを
自ノードの下位層アドレスと決定し、前記初期化応答パ
ケットにサーバからのものがなく、1又は複数の起動済
みの一般ノード各々から返却されて来たものばかりであ
れば、各々の初期化応答パケットに含まれる既存の下位
層アドレスの情報に基づき、使用されていない1つの値
を選択して自ノードの下位層アドレスと決定する自己下
位層アドレス決定手段と、他のノードから初期化パケッ
トを受信したときに、自己下位層アドレスを含む初期化
応答パケットを当該初期化パケットの送信元のノードに
返却する初期化応答パケット送信手段とを備えたもので
ある。
According to a ninth aspect of the present invention, when a node newly enters the network, an initialization packet including identification data of either all-node response request or server-only response request is subnetted based on the operation mode of the network. When an initialization response packet is received from another node, when the initialization response is sent from another node, the initializing packet transmitting means for multicasting within the assigned lower layer address included in the response response from the server in the subnet. If it is determined to be the lower layer address of the own node, and there is no initialization response packet from the server, and only the ones returned from each of the one or more activated general nodes, each initialization response Select one unused value based on the information of the existing lower layer address contained in the packet Self-lower layer address determining means for determining the lower layer address of the above, and when receiving an initialization packet from another node, returns an initialization response packet including the self lower layer address to the node that is the source of the initialization packet. And an initialization response packet transmitting means for performing the same.

【0014】すなわち、請求項9の発明のノードでは、
当該ノードが新規ノードであれば、予め定められた指定
モードにより、全ノード応答要求又はサーバのみ応答要
求のいずれかの初期化パケットをサブネット内にマルチ
キャストし、初期化応答パケットとしてサーバからの応
答パケットがあればここに含まれる付与下位層アドレス
を自ノードの下位層アドレスと決定し、サーバからの応
答がなければ指定モードに従ってエラー停止、又は、1
又は複数の起動済みノード各々から返却されて来た初期
化応答パケットに含まれる既存の下位層アドレスの情報
に基づき、使用されていない1つの値を選択して自ノー
ドの下位層アドレスと決定する。また本発明のノードが
サブネット内の起動済みノードであれば、新規のノード
からマルチキャストされる初期化パケットを受信し、自
己下位層アドレスを含む初期化応答パケットを返却す
る。
That is, according to the node of the invention of claim 9,
If the node is a new node, an initialization packet for either all-node response request or server-only response request is multicast in the subnet according to a predetermined designated mode, and a response packet from the server is sent as an initialization response packet. If there is, the assigned lower layer address included here is determined as the lower layer address of the own node, and if there is no response from the server, error stop according to the designated mode, or 1
Or, based on the information of the existing lower layer address included in the initialization response packet returned from each of the plurality of activated nodes, one unused value is selected and determined as the lower layer address of the own node. . If the node of the present invention is an activated node in the subnet, it receives an initialization packet multicast from a new node and returns an initialization response packet including its own lower layer address.

【0015】これにより、本発明のノードがあるサブネ
ットに新規に参入する場合、サブネット内にサーバが存
在するネットワークあればそのサーバから下位層アドレ
スを直接取得し、サブネット内にサーバが存在しないネ
ットワークであれば、他のノードから返却されてくる下
位層アドレスには含まれないアドレス値を自己の下位層
アドレスとして自律的に決定することができる。
As a result, when the node of the present invention newly enters a subnet, if a network exists in the subnet, the lower layer address is directly acquired from the server, and in the network in which the server does not exist in the subnet. If so, an address value that is not included in the lower layer address returned from another node can be autonomously determined as its own lower layer address.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を図に
基づいて詳説する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0017】ネットワークシステムの中には、サブネッ
ト内に唯一存在するサーバがサブネット内の全ノードの
アドレスを配布管理する方式(サーバ方式)と、サーバ
レスで各ノードがサブネット内で自律的に自己のアドレ
スを決める方式(分散方式)とが存在する。
In a network system, there is a method (server method) in which a server uniquely existing in a subnet distributes and manages the addresses of all nodes in the subnet, and a serverless method in which each node autonomously manages its own node in the subnet. There is a method of determining an address (distributed method).

【0018】本実施の形態のネットワークにおけるアド
レス決定方法は、これらサーバ方式と分散方式のそれぞ
れにおいて新規ノードが自己下位層アドレスを決定する
方法と、下位層アドレス決定までの時間をできるだけ小
さくする方法に特徴を有する。なお、下位層アドレスと
は、図3に示すプロトコルスタックにおいて下位層L3
の保持すべきアドレスのことであり、サブネット内に起
動済みのノード全てに割り振られるサブネット内で世界
ユニークなアドレスである。また、上位アドレスは下位
層アドレスから一意に定められるが、ここでは問題にし
ない。さらに下位層アドレスの取得動作前にはサブネッ
ト内でユニークなIPアドレスの取得は終了し、この取
得終了をトリガとして下位層アドレスの取得動作に移
る。またさらに、ハードウェアアドレスは予め伝送メデ
ィア毎にユニークな値に製造時に設定済みの値である。
The address determination method in the network of the present embodiment is divided into a method in which a new node determines its own lower layer address in each of these server method and distributed method, and a method in which the time until the lower layer address is determined is made as small as possible. It has characteristics. The lower layer address means the lower layer L3 in the protocol stack shown in FIG.
It is an address that should be held, and is a globally unique address in the subnet that is assigned to all the nodes that have been started in the subnet. Further, the upper address is uniquely determined from the lower layer address, but this does not matter here. Further, before the operation of acquiring the lower layer address, the acquisition of the unique IP address in the subnet is completed, and the acquisition operation of the lower layer address is triggered by the completion of the acquisition. Furthermore, the hardware address is a value that is set in advance to a unique value for each transmission medium at the time of manufacture.

【0019】サーバを含めた各ノード100は、図4に
示すハードウェア構成であり、デジタル信号伝送のため
の伝送メディアおよび変復調回路1と、プログラムの実
行によりアドレス配布、管理、その他の所定の演算制御
を実行するマイクロ(μ)コンピュータ2、不揮発性メ
モリとしてのEPROM3、そしてROM4、RAM5
から構成される。そして後述するアドレス決定はソフト
ウェアプログラムにより実行される。
Each node 100 including the server has a hardware configuration shown in FIG. 4, and includes a transmission medium for digital signal transmission and a modulation / demodulation circuit 1, and address distribution, management, and other predetermined operations by executing a program. A micro computer 2 that executes control, an EPROM 3 as a non-volatile memory, and a ROM 4 and a RAM 5
Composed of. The address determination described below is executed by the software program.

【0020】ネットワーク内のノード間でデータを運ぶ
パケットは、図5〜図10に示す構造である。ここで
「自己」とあるのは各パケットを送信するノード(サー
バのノードも含めて)を意味し、各パケットの要素は1
バイト単位のビットで表現されるものである。
Packets carrying data between nodes in the network are of the structure shown in FIGS. Here, “self” means a node (including a server node) that transmits each packet, and the element of each packet is 1
It is expressed in bits in bytes.

【0021】新規ノードは立ち上がり時、図3に示す下
位層L3より初期化パケットAを出力する。初期化パケ
ットAは図5に示してあり、宛先アドレスA1、自己ア
ドレスA2、パケットタイプA3、応答タイプA4、自
己ハードウェアアドレスA5、仮下位層アドレスA6か
ら構成される。このうち、宛先アドレスA1としては、
サブネット内IPマルチキャスト宛先、自己アドレスA
2としては自己IPアドレスを書き込む。そして、パケ
ットタイプA3のみに書き込みがあり応答タイプA4に
書き込みがない場合とパケットタイプA3及び応答タイ
プA4に共に書き込みがある場合とにより、全ノード応
答要求かサーバのみ応答要求かを識別するようにしてい
る。なお、新規ノードが、全ノード応答要求を行なうの
かサーバのみ応答要求を行なうのかは、ハードウェアス
イッチやソフトウェア的な設定方法等により予め新規ノ
ードにおいて設定される。すなわち、各ノードは、ネッ
トワークに参入する際に、全ノード応答要求を行なうの
かサーバのみ応答要求を行なうかが使用者もしくは設置
者によって選択可能となっている。
When the new node rises, it outputs the initialization packet A from the lower layer L3 shown in FIG. The initialization packet A is shown in FIG. 5, and includes a destination address A1, a self address A2, a packet type A3, a response type A4, a self hardware address A5, and a temporary lower layer address A6. Of these, the destination address A1 is
IP multicast destination within subnet, self address A
For 2, the self IP address is written. Then, depending on whether the packet type A3 is written and the response type A4 is not written, or the packet type A3 and the response type A4 are both written, it is possible to identify whether the request is an all-node response request or a server only response request. ing. Whether the new node makes a response request to all nodes or only the server makes a response request is preset in the new node by a hardware switch, a software setting method, or the like. In other words, each node can be selected by the user or the installer when requesting the response of all nodes or only the server when entering the network.

【0022】初期化パケットAを受け取ったノードは、
その初期化パケットAの応答タイプに書き込みがあるか
否かによりサーバのみ応答か全ノード応答かを識別す
る。そして応答タイプがサーバのみ応答であれば、図7
に示す初期化応答パケットCを返却する。一方、受信し
た初期化パケットAの応答タイプに書き込みがなく、し
たがって全ノード応答であれば、サーバ以外のノードは
図6に示す初期化応答パケットBを返却し、サーバノー
ドは図7に示す初期化応答パケットCを返却する。
The node receiving the initialization packet A
Depending on whether or not the response type of the initialization packet A is written, it is identified whether the response is only the server or the all-node response. If the response type is server-only response, FIG.
The initialization response packet C shown in is returned. On the other hand, if there is no write in the response type of the received initialization packet A and therefore it is an all-node response, the nodes other than the server return the initialization response packet B shown in FIG. The encrypted response packet C is returned.

【0023】図6に示す初期化応答パケットBは、宛先
アドレスB1、自己アドレスB2、パケットタイプB
3、応答タイプB4、自己ハードウェアアドレスB5、
自己下位層アドレスB6から構成される。図7に示す初
期化応答パケットCは、宛先アドレスC1、自己アドレ
スC2、パケットタイプC3、応答タイプC4、自己ハ
ードウェアアドレスC5、自己下位層アドレスC6、付
与下位層アドレスC7から構成される。
The initialization response packet B shown in FIG. 6 includes a destination address B1, a self address B2, and a packet type B.
3, response type B4, own hardware address B5,
It is composed of the self lower layer address B6. The initialization response packet C shown in FIG. 7 includes a destination address C1, a self address C2, a packet type C3, a response type C4, a self hardware address C5, a self lower layer address C6, and an assigned lower layer address C7.

【0024】これらの初期化応答パケットB、Cでは、
宛先アドレスB1,C1は初期化パケットAの送信元ノ
ードのIPアドレス、自己アドレスB2,C2は自己I
Pアドレス、パケットタイプB3,C3又はパケットタ
イプ及び応答タイプB4,C4は、そこに書き込まれて
いるコードにより受信したパケットがサーバから返却さ
れてきたものか一般ノードから返却されてきたものかを
識別し、さらに初期化パケットAの応答であることを示
す。これらの初期化応答パケットB、Cは、自己のハー
ドウェアアドレスB5,C5と自己の下位層アドレスB
6,C6を含む。さらに初期化応答パケットがサーバか
らのものである場合には、その初期化応答パケットC
は、新規ノードに付与する下位層アドレスC7を含む。
In these initialization response packets B and C,
The destination addresses B1 and C1 are the IP addresses of the transmission source nodes of the initialization packet A, and the self addresses B2 and C2 are the self I
The P address, the packet type B3, C3 or the packet type and the response type B4, C4 identify whether the packet received by the code written therein is returned from the server or the general node. Further, it indicates that the response is the initialization packet A. These initialization response packets B and C are their own hardware addresses B5 and C5 and their own lower layer address B.
6, including C6. Furthermore, if the initialization response packet is from the server, the initialization response packet C
Includes the lower layer address C7 given to the new node.

【0025】図8に示すパケットDは、サーバからの下
位層アドレスに対して該当ノードが返却する受理応答で
あり、宛先アドレスD1、自己アドレスD2、パケット
タイプD3、応答タイプD4、自己ハードウェアアドレ
スD5、自己下位層アドレスD6から構成される。この
パケットDの宛先アドレスD1は、サーバのIPアドレ
スである。
The packet D shown in FIG. 8 is an acceptance response returned from the server to the lower layer address from the server, and includes a destination address D1, a self address D2, a packet type D3, a response type D4, and a self hardware address. D5 and self lower layer address D6. The destination address D1 of this packet D is the IP address of the server.

【0026】図9のパケットEは、仮下位層アドレスを
決めた後、サブネット内にマルチキャストされるもの
で、マルチキャストの宛先アドレスE1、送信元を示す
自己アドレスE2、パケットタイプE3、そして自己ハ
ードウェアアドレスE4と仮下位層アドレスE5を含
む。このパケットEにより仮下位層アドレスE5を受け
取ったノードは、自己の下位層アドレスと等しければ、
図10に示す重複通知用のパケットFを、送信元のIP
アドレスを宛先アドレスF1にして送信する。このパケ
ットFは、宛先アドレスF1、自己アドレスF2、パケ
ットタイプF3、自己ハードウェアアドレスF4、自己
下位層アドレスF5から構成される。
The packet E in FIG. 9 is multicast in the subnet after the provisional lower layer address is determined. The destination address E1 of the multicast, the self address E2 indicating the sender, the packet type E3, and the self hardware. The address E4 and the temporary lower layer address E5 are included. If the node receiving the provisional lower layer address E5 by this packet E is equal to its own lower layer address,
The duplicate notification packet F shown in FIG.
The address is transmitted with the destination address F1. This packet F is composed of a destination address F1, a self address F2, a packet type F3, a self hardware address F4, and a self lower layer address F5.

【0027】本発明の具体的な動作を、サーバ有無の如
何なる場合も何らかの下位層アドレスが決められる方法
(Aモード)とサーバにより確実に下位層アドレスが決
められる方法(SRモード)各々について以下に説明す
る。なお、Aモード、SRモードの指定は、ハードウェ
アスイッチやソフトウェア的な設定方法等により切替え
可能であるが、これらはネットワーク運用ルールに基づ
き決定することが望ましい。すなわち、ネットワーク運
用ルールであるネットワーク規模,トラフィック占有率
許容度、管理者有無に基づき決定される。一般的に、規
模大,トラフィック占有率許容度なし、管理者あり時は
SRモードを選ぶことが推奨され、これ以外の条件では
Aモードが推奨される。
The specific operation of the present invention will be described below for each of the method of determining some lower layer address (A mode) and the method of reliably determining the lower layer address by the server (SR mode) regardless of the presence or absence of a server. explain. The designation of the A mode and the SR mode can be switched by a hardware switch, a software setting method, or the like, but it is desirable to determine these based on the network operation rule. That is, it is determined based on the network operation rules such as the network scale, the traffic occupancy allowance, and the presence / absence of an administrator. Generally, it is recommended to select the SR mode when the scale is large, there is no traffic occupancy allowance, and there is an administrator. Under other conditions, the A mode is recommended.

【0028】図11は各ノードが実行するSRモードで
の下位層アドレスの決定手順のシーケンス図である。S
Rモードでは、必ず起動済みサーバにより下位層アドレ
スが配布される。起動済みサーバと新規ノードとの間で
通信が不通であったり、万が一サーバがダウンしたりし
ている場合にはサーバからの応答がなく、このモードは
エラーとして終了する。この場合、エラー復帰のために
管理者の介入が必要となる。
FIG. 11 is a sequence diagram of a lower layer address determination procedure in the SR mode executed by each node. S
In R mode, the lower layer address is always distributed by the activated server. If there is no communication between the started server and the new node, or if the server is down, there is no response from the server and this mode ends with an error. In this case, administrator intervention is required to recover from the error.

【0029】新規ノードは、図5に示す初期化パケット
Aをマルチキャストで送信する(S1)。これに対し
て、起動済みのサーバのみから、図7に示す初期化応答
パケットCが返却される(S2)。この初期化応答パケ
ットCを受信した新規ノードは、図8に示すパケットD
により応答し、下位層アドレスが確定する。
The new node multicasts the initialization packet A shown in FIG. 5 (S1). On the other hand, the initialization response packet C shown in FIG. 7 is returned only from the activated server (S2). The new node that has received this initialization response packet C receives the packet D shown in FIG.
And the lower layer address is determined.

【0030】図12は、各ノードが実行するAモードで
の下位層アドレスの決定手順のシーケンス図である。A
モードでは、新規ノードが初期化パケットAをマルチキ
ャストで送信すれば(S11)、サブネット内の起動済
みのすべてのノード(サーバノードも含む)から初期化
応答パケットB又はC(サーバの場合)が返ってくる
(S12)。
FIG. 12 is a sequence diagram of a lower layer address determination procedure in A mode executed by each node. A
In the mode, if the new node transmits the initialization packet A by multicast (S11), all the activated nodes (including the server node) in the subnet return the initialization response packet B or C (in the case of the server). Comes (S12).

【0031】そこで、サーバからの応答がなくても(こ
の場合、初期化応答パケットCはない)、新規ノード
は、受信した各ノードからの初期化応答パケットBに含
まれる自己下位層アドレスB6以外の下位層アドレスの
中から新規ノード用に仮下位層アドレスを決め、この値
を含む初期化応答パケットBを返却してきた起動済みノ
ードそれぞれを宛先アドレスにしたパケットEをマルチ
キャストで送信する(S13)。
Therefore, even if there is no response from the server (in this case, there is no initialization response packet C), the new node is not the self lower layer address B6 included in the received initialization response packet B from each node. The temporary lower layer address is determined for the new node from the lower layer addresses of the above, and the packet E having the destination address of each activated node that has returned the initialization response packet B including this value is transmitted by multicast (S13). .

【0032】このマルチキャストによるパケットEに対
して、いずれかの起動済みノードが自己下位層アドレス
と重複すると判断すれば、パケットFによりアドレス重
複通知を行う(S14)。新規ノードはこのアドレス重
複通知を受信すれば、前述の返信アドレス群とアドレス
重複通知のあったアドレスとを除外して仮下位層アドレ
スを再度決定し、S13のマルチキャストを行い、重複
通知の返却を待つ。
When it is determined that one of the activated nodes overlaps the self-lower layer address with respect to the packet E by the multicast, the address duplication is notified by the packet F (S14). When the new node receives this address duplication notification, it excludes the above-mentioned reply address group and the address for which the address duplication notification has been made, redetermines the temporary lower layer address, performs multicast in S13, and returns the duplication notification. wait.

【0033】S13のマルチキャストから一定時間が経
過しても重複通知が返却されてこなければ、仮下位層ア
ドレスを本アドレスとして決定する(S16)。
If the duplicate notification is not returned even after a certain time has passed from the multicast in S13, the temporary lower layer address is determined as the main address (S16).

【0034】一方、新規ノードからS11でマルチキャ
ストにより初期化パケットAを送信したときに、サブネ
ットの内の起動済みのサーバから初期化応答パケットC
による応答があれば(S12′)、新規ノードはこの初
期化応答パケットCに含まれる付与下位層アドレスC7
を自己下位層アドレスと決定する(S17)。この場合
には、パケットB,E,Fを送受信することなく直ちに
下位層アドレスを確定することができる。これにより、
Aモードであっても、迅速な下位層アドレスの配布が可
能になる。
On the other hand, when the new node transmits the initialization packet A by multicast in S11, the initialization response packet C is sent from the activated server in the subnet.
If there is a response (S12 ′), the new node gives the assigned lower layer address C7 included in this initialization response packet C.
Is determined as the self lower layer address (S17). In this case, the lower layer address can be immediately determined without transmitting / receiving the packets B, E, F. This allows
Even in the A mode, it is possible to quickly distribute the lower layer address.

【0035】本実施の形態のネットワークにおけるアド
レス決定方法では、如何なる場合も何らかの下位層アド
レスが決められる方法(Aモード)とサーバにより確実
に下位層アドレスが決められる方法(SRモード)を、
新規ノードがサブネット内マルチキャストするパケット
種別を2種類用意(初期化パケットAの一部コード番号
変更)することにより使い分けられる。そして、起動済
みノードがこの新規ノードからの初期化パケットに従っ
て応答するだけで、新規ノードはあらかじめ選択したS
Rモード又はAモードにより下位層アドレスを決めるこ
とができる。
In the network address determination method of this embodiment, a method of determining some lower layer address in any case (A mode) and a method of surely determining the lower layer address by the server (SR mode) are used.
The new node can be used properly by preparing two types of packet types for multicasting within the subnet (changing some code numbers of the initialization packet A). Then, the activated node only responds according to the initialization packet from this new node, and the new node selects the S
The lower layer address can be determined by the R mode or the A mode.

【0036】ここでSRモードにおけるアドレス決定方
法は、1つの新規ノードにつきサーバ間とのやり取りの
みで済むため、トラフィックが少なく安定した方法であ
り、多くのノードから成るネットワークでも破綻がな
い。一方、Aモードにおけるアドレス決定方法は、1つ
の新規ノードにつき全ノードからの応答が返るためトラ
フィック占有率が高く、多くのノードから成るネットワ
ークには相応しくない。しかし、本実施の形態によれ
ば、ネットワークの規模に応じて初期化パケットAのコ
ード番号を一部変更するのみで、アドレス決定の方式を
選択的にかつ簡単に変更対応できるのである。
The address determination method in the SR mode is a stable method with a small amount of traffic because only one new node needs to exchange data with the server, and there is no failure even in a network composed of many nodes. On the other hand, the address determination method in the A mode has a high traffic occupancy rate because responses from all the nodes are returned for one new node, and is not suitable for a network composed of many nodes. However, according to the present embodiment, it is possible to selectively and easily change the address determination method by only partially changing the code number of the initialization packet A according to the scale of the network.

【0037】またサーバの存在する時、新規ノードは下
位層アドレス配布をできるだけ早く受けたいのは当然で
ある。これを解決するために、図1、図13に示すMa
ster/Slave方式での通信、図2、図14に示
すCSMA/CD方式ノードでの通信の場合について説
明する。
When the server exists, it is natural that the new node wants to receive the lower layer address distribution as soon as possible. In order to solve this, Ma shown in FIGS. 1 and 13 is used.
The case of communication in the star / Slave system and the communication in the CSMA / CD system node shown in FIGS. 2 and 14 will be described.

【0038】図1、図13に示すMaster/Sla
ve方式では、タイムスロットで複数Slaveと1つ
のMasterが通信していて、Masterは各Sl
aveに順番にアクセスして特定Slaveとの間でパ
ケットを交換する。しかし、Slaveからパケットを
受け取ったMasterが、そのパケットをどのSla
veに転送するか予め分かっていれば最短時間で目的の
Slaveに当該パケットに渡すことができる。
Master / Sla shown in FIGS. 1 and 13.
In the ve method, a plurality of slaves and one master communicate with each other in a time slot, and the master is each Sl.
The ave is sequentially accessed to exchange packets with a specific Slave. However, the Master that received the packet from the Slave sends the packet to which Sl
If it is known in advance whether to transfer to ve, the packet can be passed to the target Slave in the shortest time.

【0039】サーバとなるべきノードはサブネット内で
唯一のため、そのサーバノード用の下位層アドレスとし
て1つの予約値を決めておく。そして、新規ノードがS
laveノードの場合、これが送信するパケットAを受
け取ったMasterノードは直ちに下位層アドレス予
約値を持つSlaveノードに転送し(又はMaste
rノード自身が予約値を持つ場合は転送不要)、その応
答として、下位層アドレス予約値を持つサーバノードか
ら直ちに送信元の新規ノードに初期化応答パケットCを
返すことができる。
Since only one node should be a server in the subnet, one reserved value is set as the lower layer address for the server node. And the new node is S
In the case of a love node, the Master node that receives the packet A transmitted by this is immediately transferred to the slave node having the lower layer address reservation value (or the Master node).
(If the r-node itself has a reserved value, transfer is unnecessary), and as a response, the initialization response packet C can be immediately returned from the server node having the lower-layer address reserved value to the new node as the transmission source.

【0040】Masterノードは、管理下のSlav
eノードの少なくともIPアドレス、ハードウェアアド
レス、下位層アドレス、Slave管理番号を含む管理
テーブル10A,10Bを下位層アドレス取得前に図1
5のように完成し、RAM5又はEPROM3上に保持
し、下位層アドレスの予約値に相当するSlaveノー
ド宛てに配布することができる。ここで、サーバノード
には予め下位層アドレス値として予約値が書き込まれて
いて、これをMasterがIPアドレス、ハードウェ
アアドレスと共に読み込み、図15の管理テーブル10
B上に反映する。図15の管理テーブル10Bでは、下
位層アドレスは0x00として書き込まれている。この
結果、Master自身がサーバノードであっても、直
ちに送信元に初期化応答パケットCを返すことができ
る。
The Master node is a Slav under management.
Before acquiring the lower layer address, the management tables 10A and 10B including at least the IP address, the hardware address, the lower layer address, and the slave management number of the e-node are shown in FIG.
5, it can be stored in the RAM 5 or the EPROM 3 and distributed to the slave node corresponding to the reserved value of the lower layer address. Here, a reserved value is written in advance as a lower layer address value in the server node, and the Master reads this together with the IP address and the hardware address, and the management table 10 in FIG.
Reflect on B. In the management table 10B of FIG. 15, the lower layer address is written as 0x00. As a result, even if the Master itself is a server node, the initialization response packet C can be immediately returned to the transmission source.

【0041】次に、図2、図14に示すCSMA/CD
方式ノードでの通信の場合について説明する。この方式
では、特にMaster/Slaveの概念はなく、送
信したいノードは送信直前にキャリアセンスを行ない、
キャリアが伝送メディア上になければ任意のノードに送
信する方式である。このようなネットワークでは、初期
化パケットAを受け取ってから初期化応答パケットB又
はCを送信するまでの時間を、下位層アドレス値*固定
時間とすることにより、複数のノードが同時にパケット
を送出する時に発生するパケット衝突が避けられる。こ
れと共に、サーバノードの下位層アドレス値を、予約値
として他の通常ノードよりも小さい最小値に決めておく
ことで、サーバノードが最も早く初期化応答パケットC
を送出できるようにする。すなわち、新規ノードは最短
で下位層アドレス値を得ることができる。
Next, the CSMA / CD shown in FIG. 2 and FIG.
A case of communication at the method node will be described. In this method, there is no particular concept of Master / Slave, and the node that wants to transmit performs carrier sense immediately before transmission,
In this method, if the carrier is not on the transmission medium, it is sent to any node. In such a network, the time from the reception of the initialization packet A to the transmission of the initialization response packet B or C is set to the lower layer address value * fixed time, so that a plurality of nodes send out packets at the same time. Sometimes packet collisions are avoided. At the same time, the lower layer address value of the server node is set to a minimum value smaller than other normal nodes as a reserved value, so that the server node can initialize the initialization response packet C earliest.
To be able to send. That is, the new node can obtain the lower layer address value in the shortest time.

【0042】したがって、サーバは下位層アドレス値
を、予約値として下位層アドレス設定可能範囲の最小値
に決めておき、かつ特にMaster/Slave方式
ではMasterが下位層アドレス値の予約値に直ちに
アクセスして初期化パケットAの送信、初期化応答パケ
ットCの受信を行うこと、CSMA/CD方式ノードで
は、各ノードは下位層アドレス値と固定時間の積でパケ
ット応答する通信規則とすることにより、新規ノードは
サーバが存在する時には短時間のうちに下位層アドレス
の配布を受けることが可能となる。
Therefore, the server determines the lower layer address value as the reserved value to the minimum value of the lower layer address settable range, and particularly in the Master / Slave system, the Master immediately accesses the reserved value of the lower layer address value. By transmitting the initialization packet A and receiving the initialization response packet C, and in the CSMA / CD system node, each node has a communication rule in which a packet response is made by the product of the lower layer address value and the fixed time. When the server exists, the node can receive the lower layer address distribution in a short time.

【0043】また、図6に示した初期化応答パケットB
は、以下の情報を付加することによってより確かな使用
済みアドレスを通知することができる。図16に示す他
ノード生死管理テーブル11は、各ノードが保持するデ
ータテーブルである。このデータテーブルは、生死Bi
t、各ノードハードウェアアドレス、タイマーの要素か
ら成る。生死Bitは下位層アドレス番号順にRAM5
上に格納されており、例えば、最初のメモリ番地は下位
層アドレス=0、次の番地は下位層アドレス=1を示
し、対応メモリ番地アドレスが存在していると、例え
ば、対応番地Bit=1、存在しないとBit=0等と
定義する。また各下位層アドレスに対応するノードのハ
ードウェアアドレスも合わせて保持される。また、各ノ
ードが最後に受け取ったパケットの送信元ハードウェア
アドレスの対応生死ビットは、各々カウントダウンタイ
マーを持ち、送信元ハードウェアアドレス相当パケット
を受信するたびにカウントダウンタイマー設定値が初期
値にリセットされ、タイマーがディクリメントされた結
果、カウントダウンタイマー値が所定値以下になったと
きにそのビットは存在しないとして、Bit=0とする
ように作用する。
Further, the initialization response packet B shown in FIG.
Can notify more reliable used address by adding the following information. The other node life and death management table 11 shown in FIG. 16 is a data table held by each node. This data table is
t, each node hardware address, and timer element. Life and death Bit is RAM5 in the order of lower layer address number
For example, the first memory address indicates the lower layer address = 0, the next address indicates the lower layer address = 1, and if the corresponding memory address exists, the corresponding address Bit = 1, for example. , And if it does not exist, Bit = 0 is defined. The hardware address of the node corresponding to each lower layer address is also held together. Also, the corresponding live / dead bit of the source hardware address of the packet that each node received last has a countdown timer, and the countdown timer setting value is reset to the initial value each time the packet corresponding to the source hardware address is received. As a result of the timer being decremented, when the countdown timer value becomes equal to or less than a predetermined value, it is determined that the bit does not exist, and Bit = 0 is set.

【0044】このように管理しているデータテーブル1
1の生死Bitを図17に示すように初期化応答パケッ
トBに付加し、使用済み下位層アドレス値を新規ノード
に通知することによって、より確かな使用済み下位層ア
ドレス値の情報を与えることができる。なお、これらの
データテーブル11のデータは、ノードの再起動と共に
クリアされ、再作成される。
Data table 1 managed in this way
It is possible to give more reliable information of the used lower layer address value by adding the life / death Bit of 1 to the initialization response packet B as shown in FIG. 17 and notifying the new node of the used lower layer address value. it can. The data in the data table 11 is cleared and recreated when the node is restarted.

【0045】[0045]

【発明の効果】以上のように本発明によれば、ネットワ
ークの初期設定に必要な下位層アドレスの決定の方式を
ネットワークの規模に応じて、初期化パケットの一部コ
ード番号変更によって指定モードを設定するだけでサー
バ方式、分散方式のいずれにも選択的に、かつ簡単に対
応でき、またアドレス決定に要する時間も短くできる。
As described above, according to the present invention, the method of determining the lower layer address required for the initial setting of the network can be changed according to the scale of the network by changing the partial code number of the initialization packet to the designated mode. Only by setting, it is possible to deal with both the server system and the distributed system selectively and easily, and the time required for address determination can be shortened.

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

【図1】Master/Slave方式のネットワーク
のトポロジー。
FIG. 1 is a topology of a Master / Slave type network.

【図2】CSMA/CD方式のトポロジー。FIG. 2 is a topology of the CSMA / CD system.

【図3】本発明の1つの実施の形態に用いるノードのプ
ロトコルスタック図。
FIG. 3 is a protocol stack diagram of a node used in one embodiment of the present invention.

【図4】本発明の1つの実施の形態に用いるノードの構
成を示すブロック図。
FIG. 4 is a block diagram showing a configuration of a node used in one embodiment of the present invention.

【図5】上記の実施の形態におけるパケットAの構成
図。
FIG. 5 is a configuration diagram of a packet A in the above embodiment.

【図6】上記の実施の形態におけるパケットBの構成
図。
FIG. 6 is a configuration diagram of a packet B in the above embodiment.

【図7】上記の実施の形態におけるパケットCの構成
図。
FIG. 7 is a configuration diagram of a packet C in the above embodiment.

【図8】上記の実施の形態におけるパケットDの構成
図。
FIG. 8 is a configuration diagram of a packet D in the above embodiment.

【図9】上記の実施の形態におけるパケットEの構成
図。
FIG. 9 is a configuration diagram of a packet E in the above embodiment.

【図10】上記の実施の形態におけるパケットFの構成
図。
FIG. 10 is a configuration diagram of a packet F in the above embodiment.

【図11】上記の実施の形態によるサーバ方式(SRモ
ード)での下位層アドレス決定のシーケンス図。
FIG. 11 is a sequence diagram of lower layer address determination in the server system (SR mode) according to the above embodiment.

【図12】上記の実施の形態による分散方式(Aモー
ド)での下位層アドレス決定のシーケンス図。
FIG. 12 is a sequence diagram of lower layer address determination in the distributed mode (A mode) according to the above embodiment.

【図13】Master/Slave方式のパケット送
受信のタイムチャート。
FIG. 13 is a time chart of packet transmission / reception in the Master / Slave system.

【図14】CSMA/CD方式のパケット送受信のタイ
ムチャート。
FIG. 14 is a time chart of CSMA / CD system packet transmission / reception.

【図15】Masterノードの保持するSlave管
理テーブルの説明図。
FIG. 15 is an explanatory diagram of a slave management table held by the Master node.

【図16】本発明の第3の実施の形態において用いる各
ノードが保持する他ノード生死管理テーブルの説明図。
FIG. 16 is an explanatory diagram of another-node life-and-death management table held by each node used in the third embodiment of the invention.

【図17】本発明の第3の実施の形態において用いるパ
ケットBの構成図。
FIG. 17 is a configuration diagram of a packet B used in the third embodiment of the invention.

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

1 マイクロコンピュータ 2 伝送メディア・変復調回路 3 EPROM 4 ROM 5 RAM 10A,10B Slave管理テーブル 11 他ノード生死管理テーブル 100 ノード L1 メディア処理層 L2 UDP/IP層 L3 下位層 L4 上位層 1 microcomputer 2 Transmission media / modulation / demodulation circuit 3 EPROM 4 ROM 5 RAM 10A, 10B Slave management table 11 Other node life and death management table 100 nodes L1 media processing layer L2 UDP / IP layer L3 lower layer L4 upper layer

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 新規ノードが予め定められた指定モード
により、全ノード応答要求又はサーバのみ応答要求のい
ずれかの初期化パケットをサブネット内にマルチキャス
トし、 前記新規ノードは初期化応答パケットとしてサーバから
の応答パケットがあればここに含まれる付与下位層アド
レスを自ノードの下位層アドレスと決定し、サーバから
の応答がなければ指定モードに従ってエラー停止、又
は、1又は複数の起動済みノード各々から返却されて来
た初期化応答パケットに含まれる既存の下位層アドレス
の情報に基づき、使用されていない1つの値を選択して
自ノードの下位層アドレスと決定することを特徴とする
ネットワークにおけるアドレス決定方法。
1. A new node multicasts an initialization packet of either an all-node response request or a server-only response request into a subnet in a predetermined designated mode, and the new node is sent from the server as an initialization response packet. If there is a response packet of the above, the assigned lower layer address included here is determined as the lower layer address of the own node, and if there is no response from the server, error stop according to the specified mode or return from one or more activated nodes respectively Address determination in a network characterized by selecting one unused value and determining it as the lower layer address of its own node based on the information of the existing lower layer address contained in the received initialization response packet Method.
【請求項2】 前記初期化パケットには少なくとも宛先
アドレス、自己アドレス、パケットタイプ、自己ハード
ウェアアドレス、仮下位層アドレスを含み、前記宛先ア
ドレスにはサブネット内マルチキャスト宛先を指定し、
前記指定モードをパケットタイプ又は付加ビットの情報
により識別させることを特徴とする請求項1に記載のネ
ットワークにおけるアドレス決定方法。
2. The initialization packet includes at least a destination address, a self address, a packet type, a self hardware address, and a temporary lower layer address, and the destination address specifies a multicast destination within a subnet,
The address determination method in a network according to claim 1, wherein the designated mode is identified by information of a packet type or additional bits.
【請求項3】 前記初期化応答パケットには宛先アドレ
ス、自己アドレス、パケットタイプ、自己ハードウェア
アドレス、付与下位層アドレス又は自己下位層アドレス
及びサーバの応答か否かのコードを含み、前記宛先アド
レスには前記初期化パケットの送信元アドレスを指定す
ることを特徴とする請求項1又は2に記載のネットワー
クにおけるアドレス決定方法。
3. The initialization response packet includes a destination address, a self address, a packet type, a self hardware address, an assigned lower layer address or a self lower layer address, and a code indicating whether or not a response from the server, and the destination address. The address determination method in the network according to claim 1 or 2, wherein a source address of the initialization packet is designated as the address.
【請求項4】 前記ネットワークがMaster/Sl
ave方式のネットワークであり、前記新規ノードから
の初期化パケットを受信した起動済みのノードが、当該
初期化パケットに対する初期化応答パケットを初期化パ
ケットの受信後の固定された所定時間が経過した時に送
出することを特徴とする請求項1〜3のいずれかに記載
のネットワークにおけるアドレス決定方法。
4. The network is Master / Sl.
In the ave system network, when the activated node that has received the initialization packet from the new node sends an initialization response packet for the initialization packet to a fixed predetermined time after the initialization packet is received. The address determining method in the network according to claim 1, wherein the address is transmitted.
【請求項5】 前記ネットワークがCSMA/CD方式
のネットワークであり、前記新規ノードからの初期化パ
ケットを受信した起動済みのノードが、前記初期化パケ
ットに対する初期化応答パケットを、初期化パケットの
受信後、当該ノードの保持する下位層アドレス値に比例
する所定時間が経過した時に送出することを特徴とする
請求項1〜3のいずれかに記載のネットワークにおける
アドレス決定方法。
5. The network is a CSMA / CD system network, and an activated node which has received the initialization packet from the new node receives an initialization response packet for the initialization packet and receives the initialization packet. 4. The address determination method in the network according to claim 1, further comprising the step of transmitting when a predetermined time proportional to the lower layer address value held by the node has elapsed.
【請求項6】 サーバノードの下位層アドレス値には、
アドレス値の設定可能範囲の最小値を予約アドレスとし
て設定しておくことを特徴とする請求項5に記載のネッ
トワークにおけるアドレス決定方法。
6. The lower layer address value of the server node includes:
The address determination method in a network according to claim 5, wherein the minimum value of the settable range of the address value is set as the reserved address.
【請求項7】 サブネット内のサーバとなるべきSla
veノードには下位層アドレスの予約値を決めておき、 前記Masterノードが、アドレス取得動作前に、管
理するSlaveノード各々のハードウェアアドレス、
下位層アドレス、Slave管理番号を含むデータベー
スを生成し、新規のSlaveノードから前記初期化パ
ケットを受け取ったときには予約値として定めた下位層
アドレスに対応するSlave管理番号のSlaveノ
ード宛に転送し、当該Slaveノードからの初期化応
答パケットを初期化パケットの送信元のSlaveノー
ドに返却することを特徴とする請求項4に記載のネット
ワークにおけるアドレス決定方法。
7. Sla to be a server in a subnet
The reserved value of the lower layer address is determined in advance for the ve node, and the Master node, before the address acquisition operation, the hardware address of each Slave node to be managed,
A database including a lower layer address and a slave management number is generated, and when the initialization packet is received from a new slave node, the database is transferred to the slave node having the slave management number corresponding to the lower layer address defined as a reserved value, The address determination method in a network according to claim 4, wherein the initialization response packet from the slave node is returned to the slave node that is the transmission source of the initialization packet.
【請求項8】 各ノードが、受信したパケットの内容か
ら得られる他のノード各々の生死Bitとハードウェア
アドレスとの組み要素から成り、自ノードの再起動と共
に値がクリアされ再作成される管理テーブルを保持し、 前記初期化応答パケットに前記生死Bitを付加し、起
動済みのノードの下位層アドレス情報として前記新規ノ
ード宛に送信することを特徴とする請求項1〜3のいず
れかに記載のネットワークにおけるアドレス決定方法。
8. A management in which each node is composed of a combination of a life and death Bit and a hardware address of each of the other nodes obtained from the contents of the received packet, and the value is cleared and recreated when the self node is restarted. The table is held, the life-and-death Bit is added to the initialization response packet, and the lower-layer address information of the activated node is transmitted to the new node. Method for address determination in the Internet.
【請求項9】 ネットワークに新規に参入する際に、ネ
ットワークの運用モードに基づき、全ノード応答要求又
はサーバのみ応答要求のいずれかの識別データを含む初
期化パケットをサブネット内にマルチキャストする初期
化パケット送信手段と、 他のノードから初期化応答パケットを受信したときに、
当該初期化応答パケットがサブネット内のサーバからの
応答パケットがあればそれに含まれる付与下位層アドレ
スを自ノードの下位層アドレスと決定し、前記初期化応
答パケットにサーバからのものがなく、1又は複数の起
動済みの一般ノード各々から返却されて来たものばかり
であれば、各々の初期化応答パケットに含まれる既存の
下位層アドレスの情報に基づき、使用されていない1つ
の値を選択して自ノードの下位層アドレスと決定する自
己下位層アドレス決定手段と、 他のノードから初期化パケットを受信したときに、自己
下位層アドレスを含む初期化応答パケットを当該初期化
パケットの送信元のノードに返却する初期化応答パケッ
ト送信手段とを備えたことを特徴とするノード。
9. An initialization packet for multicasting, within a subnet, an initialization packet containing identification data of either all-node response request or server-only response request based on the operation mode of the network when newly entering the network. When receiving the initialization response packet from the transmitting means and the other node,
If the initialization response packet includes a response packet from the server in the subnet, the assigned lower layer address included in the response packet is determined as the lower layer address of the own node, and the initialization response packet does not include the one from the server, or 1 or If only the general nodes that have been started have been returned, select one unused value based on the existing lower layer address information contained in each initialization response packet. A self lower layer address determining means for determining the lower layer address of the own node, and an initialization response packet including the self lower layer address when an initialization packet is received from another node, the node which is the source of the initialization packet. An initialization response packet transmitting means for returning to the node.
JP2002092072A 2002-03-28 2002-03-28 Address determination method and node in network Expired - Fee Related JP3808793B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2002092072A JP3808793B2 (en) 2002-03-28 2002-03-28 Address determination method and node in network
CNB031088619A CN100423497C (en) 2002-03-28 2003-03-27 Network address determining method and node thereof
TW92107148A TWI254541B (en) 2002-03-28 2003-03-28 IP address setting method and node of network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002092072A JP3808793B2 (en) 2002-03-28 2002-03-28 Address determination method and node in network

Publications (2)

Publication Number Publication Date
JP2003289320A true JP2003289320A (en) 2003-10-10
JP3808793B2 JP3808793B2 (en) 2006-08-16

Family

ID=28786157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002092072A Expired - Fee Related JP3808793B2 (en) 2002-03-28 2002-03-28 Address determination method and node in network

Country Status (3)

Country Link
JP (1) JP3808793B2 (en)
CN (1) CN100423497C (en)
TW (1) TWI254541B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI417737B (en) * 2006-10-25 2013-12-01 Hewlett Packard Development Co Real-time identification of an asset model and categorization of an asset to assist in computer network security
CN111200513B (en) * 2018-11-20 2022-03-04 杭州海康威视数字技术股份有限公司 Server starting method, server and cluster server system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5408618A (en) * 1992-07-31 1995-04-18 International Business Machines Corporation Automatic configuration mechanism
EP0682431B1 (en) * 1994-05-09 2002-10-02 Europlex Research Limited A ring network system
US5708655A (en) * 1996-06-14 1998-01-13 Telefonaktiebolaget L M Ericsson Publ Method and apparatus for addressing a wireless communication station with a dynamically-assigned address
ATE298489T1 (en) * 2000-01-26 2005-07-15 Telecom Italia Mobile Spa METHOD FOR CONDITIONAL ROUTING OF INTERNET ACCESS REQUIREMENTS

Also Published As

Publication number Publication date
JP3808793B2 (en) 2006-08-16
CN1449164A (en) 2003-10-15
TW200306726A (en) 2003-11-16
TWI254541B (en) 2006-05-01
CN100423497C (en) 2008-10-01

Similar Documents

Publication Publication Date Title
KR101810587B1 (en) System and method for automatic configuration of master/slave devices on a network
US6249814B1 (en) Method and apparatus for identifying devices on a network
JP3654554B2 (en) Network system and DHCP server selection method
EP2192722B1 (en) A method of operating a network subnet manager
RU2441331C2 (en) Connecting cellular networks with multiple relay nodes using media access control sublayer network bridge
US20060206611A1 (en) Method and system for managing programs with network address
JP4948839B2 (en) Method and apparatus for allocating network subscriber device addresses in a ProfitetIO network
JPWO2008152807A1 (en) MAC address deduplication method, network device management system, server and information device
CN110493366B (en) Method and device for adding access point into network management
KR20040065643A (en) Method for performing automatic registration of IP address and IP domain name in IP protocol version 6
US20050102384A1 (en) Routing device and startup method thereof
JP2008078887A (en) Shared system for i/o equipment, information-processor shared system and method used for its system
US20070223494A1 (en) Method for the resolution of addresses in a communication system
WO2016161564A1 (en) Gateway device automatic networking method and device
JP2002368763A (en) Network system, server unit and client unit, and method and program for providing network ip address
US7689679B2 (en) Method to enable infiniband network bootstrap
CN109842692B (en) VxLAN switch, system and method for obtaining host information in physical network
JP2003289320A (en) Address determination method and node in network
US7539739B2 (en) Self-configuring network system and routers for use therein
CN110495157B (en) Communication system for serial communication between communication devices
JP2003258878A (en) Method for deciding address for network system, and network terminal
US9306836B2 (en) Searching for multicast consumers in a network of interconnected nodes
JPH03127531A (en) Address setting method
JP2004064379A (en) Router and program
CN117793057A (en) Dynamic IP address allocation method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060406

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060518

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20090526

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100526

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120526

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130526

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140526

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees