JPH07231329A - Numbering device for network address - Google Patents

Numbering device for network address

Info

Publication number
JPH07231329A
JPH07231329A JP6043285A JP4328594A JPH07231329A JP H07231329 A JPH07231329 A JP H07231329A JP 6043285 A JP6043285 A JP 6043285A JP 4328594 A JP4328594 A JP 4328594A JP H07231329 A JPH07231329 A JP H07231329A
Authority
JP
Japan
Prior art keywords
address
node
new
slave node
numbering
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.)
Pending
Application number
JP6043285A
Other languages
Japanese (ja)
Inventor
Akira Ootsuyama
彰 大津山
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.)
CSK Corp
Original Assignee
CSK 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 CSK Corp filed Critical CSK Corp
Priority to JP6043285A priority Critical patent/JPH07231329A/en
Publication of JPH07231329A publication Critical patent/JPH07231329A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To provide a numbering device for network address to reduce the burden on network management by automatically managing network addresses. CONSTITUTION:A master node 11 is provided with a message transmitting means 14 for the address numbering reception message of a new slave node, an address information managing table 15, an address managing means 16 for retrieving the idle address of the address information managing table 15 corresponding to an address numbering request from the new slave node, selecting one address, turning it under use, confirming the separation of a provided slave node and turning the address under use in the address information managing table 15 to a non-issued state, and a new address transmitting means 17 for transmitting the new address selected by the address managing means 16 to the new slave node. On the other hand, a new slave node 13 is provided with an address numbering request means 18 for requesting address numbering to the master node 11, node address storage part 19 for storing the node address, and an address registering means 20 for registering the new address transmitted from the master node 11 onto the node address storage part 19.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークを構成す
るノードを識別するためのノードアドレスを管理するネ
ットワークアドレスの付番装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network address numbering device for managing a node address for identifying a node constituting a network.

【0002】[0002]

【従来の技術】ネットワークを構成する際、各々のノー
ドを認識するために固有の番号(ノードアドレス)が必
要になる。これらのノードアドレスは、ネットワークの
ノードが新設あるいは離脱して増減するとき、重複する
ことがないように何等かの形で管理する必要があり、従
来では人手によってノードアドレスをメンテナンスして
いた。
2. Description of the Related Art When configuring a network, a unique number (node address) is required to identify each node. It is necessary to manage these node addresses in some form so that they do not overlap when the number of nodes in the network is increased or decreased due to new installation or removal. Conventionally, the node addresses have been manually maintained.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
ネットワークでは、接続されるノードの数が多くなり、
またネットワークヘの新設あるいは離脱の頻度が高い場
合には、手続きが煩雑になりノードアドレスの管理が困
難になる欠点があった。
However, in the conventional network, the number of connected nodes increases,
In addition, if the frequency of new installation or removal from the network is high, the procedure becomes complicated and it becomes difficult to manage the node address.

【0004】なお、特開平2−224447号公報に
は、ネットワークのアドレス体系を自動設定するアドレ
ス設定装置が開示されているが、新設スレーブノードに
ノードアドレスを設定したり、あるいは既設スレーブノ
ードの離脱に対してノードアドレスを未発行状態にする
ものでない。
Japanese Patent Laid-Open No. 2-224447 discloses an address setting device for automatically setting a network address system. However, a node address is set in a new slave node or an existing slave node is separated. Does not leave the node address unissued.

【0005】そこで本発明は、ネットワークアドレスの
管理を自動的に行いネットワーク管理の負担を軽減でき
るネットワークアドレスの付番装置を提供することを目
的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a network address numbering device which can automatically manage network addresses and reduce the burden of network management.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明のネットワークアドレスの付番装置は、マス
タノードが伝送路を経由して接続されるスレーブノード
のノードアドレスを管理するネットワークアドレスの付
番装置において、前記マスタノードは、既設スレーブノ
ードへのメッセージ送信に含めて新設スレーブノードの
アドレス付番受付メッセージを送信するメッセージ送信
手段と、ノードアドレスを管理するためのアドレス情報
管理テーブルと、新設スレーブノードからのアドレス付
番要求により前記アドレス情報管理テーブルの空アドレ
スを検索しその一つを選択して使用中にするとともに、
既設スレーブノードの離脱を確認してアドレス情報管理
テーブルの使用中アドレスを未発行状態にするアドレス
管理手段と、前記アドレス管理手段で選択された新設ア
ドレスを前記新設スレーブノードに送信する新設アドレ
ス送信手段とを有し、前記新設スレーブノードは、前記
マスタノードにアドレス付番要求をするアドレス付番要
求手段と、ノードアドレスを格納するノードアドレス格
納部と、前記マスタノードから送信されてくる新設アド
レスを前記ノードアドレス格納部に登録するアドレス登
録手段とを有するものである。
In order to achieve the above object, a network address numbering device of the present invention is a network address for managing a node address of a slave node to which a master node is connected via a transmission line. In the numbering device, the master node includes a message transmitting means for transmitting an address numbering acceptance message of the new slave node in the message transmission to the existing slave node, and an address information management table for managing the node address. , In response to an address numbering request from the new slave node, search for an empty address in the address information management table and select one of them to put it in use, and
Address management means for confirming the departure of the existing slave node and setting the in-use address of the address information management table in an unissued state, and new address transmission means for transmitting the new address selected by the address management means to the new slave node The new slave node has an address numbering requesting means for making an address numbering request to the master node, a node address storage section for storing a node address, and a new address transmitted from the master node. Address registration means for registering in the node address storage unit.

【0007】前記スレーブノードはセンサ、前記マスタ
ノードはセンサで検出されるデータを集中管理する集中
管理装置であることが好ましい。前記アドレス付番要求
手段は、ノードアドレスを初期化しアドレス要求コマン
ドをセットすることが好ましい。前記アドレス管理手段
は、既設スレーブノードとの通信不能状態の一定時間の
継続でアドレス情報管理テーブルの使用中アドレスを未
発行状態にすることが好ましい。前記既設スレーブノー
ドは、電源の切断または物理的な回線である伝送路を切
断することによりネットワークから離脱することが好ま
しい。
It is preferable that the slave node is a sensor, and the master node is a centralized management device that centrally manages data detected by the sensor. It is preferable that the address number requesting means initializes a node address and sets an address request command. It is preferable that the address management unit sets the in-use address of the address information management table to the unissued state for a certain period of time while the communication with the existing slave node is disabled. It is preferable that the existing slave node is disconnected from the network by cutting off the power supply or cutting off a transmission line which is a physical line.

【0008】[0008]

【作用】本発明においては、新設スレーブノードを追加
するときには、マスタノードがメッセージ送信手段によ
り、既存スレーブノードへのポーリングだけでなく、ア
ドレス付番受付時間を持つタイムスケジュールのメッセ
ージを送信し、その新設スレーブのアドレス付番要求手
段により、アドレス付番要求コマンドを送信し、このコ
マンドを受け取ったマスタノードは、アドレス管理手段
により、アドレス情報管理テーブルのノードアドレスの
空き情報を検索して空きのノードアドレスの1つを選択
して新設アドレス送信手段によりアドレスを送信し、こ
のアドレスを受信したスレーブノードは、アドレス登録
手段によりノードアドレス格納部に格納する。また、既
設スレーブノードが離脱するときには、マスターノード
のアドレス管理手段がそのスレーブノードからの一定時
間の応答がないことで、アドレス情報管理テーブルのノ
ードアドレスを未使用状態にする。これにより、ネット
ワーク管理者がノードアドレスを意識しなくてもノード
の増減に対してアドレスの管理を自動的に行うことがで
き、ネットワークの柔軟性が向上し、ネットワーク管理
の負担が軽減される。
According to the present invention, when a new slave node is added, the master node uses the message sending means to send not only polling to the existing slave node but also a time schedule message having an address numbering acceptance time. The address numbering request command of the newly established slave transmits the address numbering request command, and the master node receiving this command searches the node address vacancy information of the address information management table by the address management means and searches the vacant node. One of the addresses is selected, the address is transmitted by the new address transmission means, and the slave node receiving this address stores it in the node address storage unit by the address registration means. When the existing slave node leaves, the address management means of the master node sets the node address in the address information management table to an unused state because the slave node does not receive a response from the slave node for a certain period of time. As a result, the network administrator can automatically manage the address when the number of nodes is increased or decreased without being aware of the node address, which improves the flexibility of the network and reduces the burden of network management.

【0009】また、スレーブノードをセンサ、マスタノ
ードを集中管理装置にすることで、センサで検出したデ
ータを集中管理できる。スレーブノードがノードアドレ
スを初期化しアドレス要求コマンドをセットすること
で、簡単にアドレス付番要求できる。通信不能状態の一
定時間の継続でアドレス情報管理テーブルの使用中アド
レスを未発行状態にすることで、アドレス管理ができ
る。既設スレーブノードの電源の切断または物理的な回
線で離脱が簡単に行える。
By using the slave node as a sensor and the master node as a centralized management device, the data detected by the sensor can be centrally managed. The slave node can easily request address numbering by initializing the node address and setting the address request command. Address management can be performed by setting the in-use address of the address information management table to the non-issued state for a certain period of time in the communication disabled state. You can easily disconnect the power of the existing slave node or disconnect it by a physical line.

【0010】[0010]

【実施例】以下、本発明を図示の一実施例により具体的
に説明する。図1は本発明実施例のネットワークアドレ
スの付番装置の全体構成を説明する図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to an embodiment shown in the drawings. FIG. 1 is a diagram for explaining the overall configuration of a network address numbering device according to an embodiment of the present invention.

【0011】同図において、本実施例のネットワークア
ドレスの付番装置10は、マスタノード11に分岐回線
である伝送路12を経由して複数個のスレーブノード1
3,…が接続され、通常、マスタノード11が各スレー
ブノード13,…にメッセージの受信を求め、一方マス
タノード11がスレーブノード13にメッセージがあれ
ば送信するよう求める、いわゆるポーリング/セレクテ
ィング方式等の制御によって伝送路12上のデータが衝
突しないように制御しているネットワークにおいて、マ
スタノード11は、メッセージ送信手段14、アドレス
情報管理テーブル15、アドレス管理手段16及び新設
アドレス送信手段17を有し、新設スレーブノード13
は、アドレス付番要求手段18、ノードアドレス格納部
19及びアドレス登録手段20を有する。
In the figure, a network address numbering device 10 of the present embodiment has a plurality of slave nodes 1 connected to a master node 11 via a transmission line 12 which is a branch line.
, So that the master node 11 normally asks each slave node 13, ... To receive a message, while the master node 11 requests the slave node 13 to send a message if any, so-called polling / selecting method. In the network in which the data on the transmission line 12 is controlled so as not to collide by the control such as the above, the master node 11 has a message transmitting means 14, an address information management table 15, an address managing means 16 and a new address transmitting means 17. The new slave node 13
Has an address numbering requesting means 18, a node address storing part 19, and an address registering means 20.

【0012】メッセージ送信手段14は、スレーブノー
ド13への通常のメッセージ送信に含めて、新設スレー
ブノード13のアドレス付番受付メッセージを送信する
部分である。アドレス情報管理テーブル15は、所定の
ノードアドレスが使用中か空き状態か等を含む管理情報
を格納する部分である。アドレス管理手段16は、新設
スレーブノード13からのアドレス付番要求によりアド
レス情報管理テーブル15の空きアドレスを検索しその
一つを選択して使用中にするとともに、既設スレーブノ
ード13からの離脱を確認してアドレス情報管理テーブ
ル15の使用中アドレスを未発行状態(空き状態)にす
る部分である。新設アドレス送信手段17は、アドレス
管理手段16で選択されたアドレスを新設スレーブノー
ド13に送信する部分である。
The message transmitting means 14 is a part for transmitting the address numbering acceptance message of the new slave node 13 in addition to the normal message transmission to the slave node 13. The address information management table 15 is a part for storing management information including whether a predetermined node address is in use or in an empty state. The address management means 16 searches for an empty address in the address information management table 15 in response to an address numbering request from the new slave node 13 and selects one of them to put it in use, and confirms that it has left the existing slave node 13. Then, the used address of the address information management table 15 is set to the unissued state (empty state). The new address transmission means 17 is a part for transmitting the address selected by the address management means 16 to the new slave node 13.

【0013】アドレス付番要求手段18は、例えば、初
期化したノードアドレスをマスタノード11に送信し
て、アドレス付番要求をする部分である。ノードアドレ
ス格納部19は、自己のノードアドレスを格納する部分
である。アドレス登録手段20は、マスタノード11か
ら送信されてくる新設アドレスをノードアドレス格納部
19に登録する部分である。
The address numbering requesting unit 18 is, for example, a unit that sends the initialized node address to the master node 11 to make an address numbering request. The node address storage unit 19 is a unit that stores its own node address. The address registration unit 20 is a part that registers the new address transmitted from the master node 11 in the node address storage unit 19.

【0014】次に、ネットワークアドレスの付番装置の
スレーブノード新設例を説明する。図2は本発明実施例
のネットワークアドレスの付番装置のスレーブノード新
設例を説明する図、図3は本発明実施例のマスタノード
のメッセージ送信手段で送信されるタイムスケジュール
を説明する図、図4は本発明実施例のマスタノード新設
後のアドレス情報管理テーブルの状態を説明する図であ
る。なお、図1に対応する部分は、同一の符号を記す。
Next, an example of newly installing a slave node of a network address numbering device will be described. FIG. 2 is a diagram for explaining an example of newly installing a slave node of a network address numbering device according to the embodiment of the present invention, and FIG. 3 is a diagram for explaining a time schedule transmitted by a message transmitting means of a master node according to the embodiment of the present invention. FIG. 4 is a diagram for explaining the state of the address information management table after newly installing the master node according to the embodiment of this invention. The parts corresponding to those in FIG. 1 are designated by the same reference numerals.

【0015】図2において、本実施例のネットワーク
は、例えば、複数のセンサを設置してそのデータを集中
管理装置で管理するシステムであり、集中管理装置はマ
スタノード11、複数のセンサはスレーブノード13,
…である。ここで既設のスレーブノード13a,13
b,13cは、それぞれ自己のノードアドレス1,2,
3を有し、新設のスレーブノード13dがマスタノード
11に伝送路12(点線で示す)で接続され、このスレ
ーブノード13dのノードアドレスが未定になってい
る。センサ(スレーブノード13d)新設の手順は、ま
ず、センサを所定の設置箇所に備え付け物理的な工事を
施し、次にセンサからアドレス付番要求コマンドを送信
する。このコマンド送信は、例えば、スイッチを押す等
でよい。
In FIG. 2, the network of this embodiment is, for example, a system in which a plurality of sensors are installed and the data is managed by a centralized management device, the centralized management device being a master node 11, and the plurality of sensors being slave nodes. 13,
Is ... Here, the existing slave nodes 13a, 13
b, 13c are their own node addresses 1, 2,
3, the new slave node 13d is connected to the master node 11 via the transmission line 12 (shown by the dotted line), and the node address of this slave node 13d is undecided. In the procedure for newly installing the sensor (slave node 13d), first, the sensor is installed at a predetermined installation location to perform physical work, and then the sensor sends an address numbering request command. This command transmission may be performed by pressing a switch, for example.

【0016】図3において、マスタノード11は、例え
ば、最小ノードアドレス1から順次最大ノードアドレス
3まですべての既設スレーブノード13a,13b,1
3cへのポーリングに続き、新設スレーブノード13d
の新規アドレス受付時間を持つメッセージ送信を繰り返
すタイムスケジュールを有する。
In FIG. 3, the master node 11 has, for example, all the existing slave nodes 13a, 13b, 1 from the minimum node address 1 to the maximum node address 3 sequentially.
Following polling to 3c, new slave node 13d
Has a time schedule for repeating the message transmission with the new address reception time.

【0017】図4において、アドレス情報管理テーブル
15は、新設スレーブノード13dに新しいノードアド
レス4が付番された後の状態を示しており、ノードアド
レス1,2,3,4は使用中(〇印で示す)その他のノ
ードアドレス5,6,7,…は未発行である空き(空で
示す)状態であることを示している。
In FIG. 4, the address information management table 15 shows a state after the new slave node 13d is numbered with the new node address 4, and the node addresses 1, 2, 3, 4 are in use (○). The other node addresses 5, 6, 7, ... (Indicated by a mark) indicate that they are in an unissued empty (indicated by empty) state.

【0018】次に、ネットワークアドレスの付番装置の
スレーブノード離脱例を説明する。図5は本発明実施例
のネットワークアドレスの付番装置のスレーブノード離
脱例を説明する図、図6は本発明実施例のマスタノード
離脱後のアドレス情報管理テーブルの状態を説明する図
である。なお、図1に対応する部分は、同一の符号を記
す。
Next, an example of leaving the slave node of the network address numbering device will be described. FIG. 5 is a diagram for explaining an example of leaving the slave node of the network address numbering device according to the embodiment of the present invention, and FIG. 6 is a diagram for explaining the state of the address information management table after leaving the master node according to the embodiment of the present invention. The parts corresponding to those in FIG. 1 are designated by the same reference numerals.

【0019】図5において、既設のスレーブノード13
a,13b,13c,13dは、それぞれ自己のノード
アドレス1,2,3,4を有しており、このうちスレー
ブノード13bが離脱する(点線で示している)。セン
サ(スレーブノード13b)離脱の手順は、例えば、セ
ンサの電源を切るか、あるいは物理的な回線である伝送
路を切る。
In FIG. 5, the existing slave node 13
Each of a, 13b, 13c, and 13d has its own node address 1, 2, 3, and 4, of which the slave node 13b leaves (indicated by a dotted line). As a procedure for detaching the sensor (slave node 13b), for example, the power of the sensor is turned off or the transmission line which is a physical line is turned off.

【0020】図6において、アドレス情報管理テーブル
15は、図4に示すノードアドレスの使用状態から、ノ
ードアドレス2のスレーブノード13bが離脱した後の
状態を示しており、ノードアドレス1,3,4は使用中
(〇印で示す)その他のノードアドレス2,5,6.
7,…は未発行である空き(空で示す)状態であること
を示している。
In FIG. 6, the address information management table 15 shows the state after the slave node 13b of the node address 2 has left from the use state of the node address shown in FIG. Are in use (indicated by circles) and other node addresses 2, 5, 6.
.. indicates that it has not been issued and is in a vacant (indicated by an empty) state.

【0021】次に、本発明実施例のネットワークアドレ
スの付番装置のマスタノード側及びスレーブノード側の
処理を具体的に説明する。図7は本発明実施例のマスタ
ノード側の処理を説明するフローチャート、図8は本発
明実施例の新設されるスレーブノード側の処理を説明す
るフローチャートである。
Next, the processing on the master node side and the slave node side of the network address numbering device according to the embodiment of the present invention will be specifically described. FIG. 7 is a flow chart for explaining the processing on the master node side of the embodiment of the present invention, and FIG. 8 is a flow chart for explaining the processing on the newly installed slave node side of the embodiment of the present invention.

【0022】図7において、マスタノード11は、ま
ず、メッセージ送信手段14により、アドレス情報管理
テーブル15の使用中のノードアドレスのうち最小のア
ドレスをアドレスカウンタに設定し(ST1)、次にア
ドレスカウンタの示すスレーブノード13に送信データ
があれば送信するよう求めるポーリングを行い(ST
2)、所定のデータ送受信を行う(ST3)。次に、マ
スタノード11は、アドレスカウンタを次のアドレスに
更新し(ST4)、続いてすべてのスレーブノード13
にポーリングが終了したか判断し(ST5)、終了して
いないときにはポーリング処理を繰り返し、終了してい
るときにはアドレス付番の処理に入り、アドレスカウン
タを初期化状態である0に設定する(ST6)。次に、
アドレスカウンタが0を示すスレーブノード13に対す
るポーリングを行い(ST7)、そのスレーブノード1
3からの新規アドレス受付要求に対する返事の有無を判
断し(ST8)、返事が無ければ終了し、返事が有れば
アドレス管理手段16がアドレス情報管理テーブル15
中の使用していないアドレスを捜してアドレスを発行
し、新設アドレス送信手段17によりアドレス要求をし
た新設スレーブノード13に送信する(ST9)。そし
て、マスタノード11は、アドレス管理手段16によ
り、新設スレーブノード13からのアドレス受信確認信
号を受信し(ST10)、アドレス情報管理テーブル1
5を更新して(ST11)、終了する。
In FIG. 7, the master node 11 first sets the minimum address of the node addresses in use in the address information management table 15 to the address counter by the message transmitting means 14 (ST1), and then the address counter. If there is transmission data in the slave node 13 indicated by, polling is requested to be transmitted (ST
2) The predetermined data is transmitted / received (ST3). Next, the master node 11 updates the address counter to the next address (ST4), and then all slave nodes 13
It is determined whether the polling has been completed (ST5), and if it is not completed, the polling process is repeated. If it is completed, the address numbering process is started, and the address counter is set to 0, which is the initialization state (ST6). . next,
The slave node 13 whose address counter indicates 0 is polled (ST7), and the slave node 1
It is judged whether or not there is a reply to the new address acceptance request from ST3 (ST8), and if there is no reply, the process ends.
An unused address is searched for, an address is issued, and the address is transmitted by the new address transmission means 17 to the new slave node 13 that has requested the address (ST9). Then, the master node 11 receives the address reception confirmation signal from the new slave node 13 by the address management means 16 (ST10), and the address information management table 1
5 is updated (ST11), and the process ends.

【0023】図8において、まず、新設されるスレーブ
ノード13は、アドレス付番要求手段18により、ノー
ドアドレスを初期化(0)し(ST21)、アドレス要
求コマンドをセットする(ST22)。次に、マスタノ
ード11からのポーリングに応答してアドレス要求し
(ST23)、送られてくる新規アドレスを受信する
(ST24)。新規アドレスを受信したスレーブノード
13は、アドレス登録手段20により、ノードアドレス
格納部19にアドレスを格納し(ST25)、アドレス
を受信したことを確認するアドレス受信確認信号をマス
タノード11に送信して(ST26)終了する。
In FIG. 8, first, in the newly established slave node 13, the address number requesting means 18 initializes the node address (0) (ST21) and sets an address request command (ST22). Next, an address request is made in response to the polling from the master node 11 (ST23), and the new address sent is received (ST24). The slave node 13 having received the new address stores the address in the node address storage unit 19 by the address registration means 20 (ST25), and sends an address reception confirmation signal confirming that the address has been received to the master node 11. (ST26) The process ends.

【0024】上記構成のネットワークアドレスの付番装
置10では、マスタノード11は、メッセージ送信手段
14により、既存スレーブノード13への通常のポーリ
ングだけでなく、アドレス付番受付時間を持つタイムス
ケジュールのメッセージをポーリングと同じ形式により
送信し、新設スレーブノード13を追加するときには、
その新設スレーブ13のアドレス付番要求手段18によ
り、アドレス付番要求コマンドを送信し、このコマンド
を受け取ったマスタノード11は、アドレス管理手段1
6により、アドレス情報管理テーブル15のノードアド
レスの空き情報を検索して空きのノードアドレスの1つ
を選択して新設アドレス送信手段17によりアドレスを
送信し、このアドレスを受信したスレーブノード13
は、アドレス登録手段20によりノードアドレス格納部
19に格納する。ノードアドレスが登録された新設スレ
ーブノード13は、以後既設スレーブノード13と同様
に動作する。また、既設スレーブノード13が離脱する
ときには、マスタノード11のアドレス管理手段16が
そのスレーブノード13からの一定時間の応答がないこ
と、例えば、通信不能な状態が一定時間継続したことを
確認してアドレス情報管理テーブル15のそのノードア
ドレスを未使用状態にする。従って、ネットワーク管理
者がノードアドレスを意識しなくてもノードの増減に対
してアドレスの管理を自動的に行うことができ、ネット
ワークの柔軟性が向上し、ネットワーク管理の負担が軽
減される。
In the network address numbering device 10 configured as described above, the master node 11 uses the message transmitting means 14 not only for normal polling of the existing slave node 13 but also for a time schedule message having an address number reception time. Is sent in the same format as polling, and when adding a new slave node 13,
The address numbering request means 18 of the new slave 13 transmits an address numbering request command, and the master node 11 which receives this command sends the address numbering request command to the address management means 1
6, the empty information of the node address of the address information management table 15 is searched, one of the empty node addresses is selected, the address is transmitted by the new address transmission means 17, and the slave node 13 which has received this address.
Is stored in the node address storage unit 19 by the address registration means 20. The new slave node 13 in which the node address is registered operates thereafter similarly to the existing slave node 13. Also, when the existing slave node 13 leaves, the address management means 16 of the master node 11 confirms that there is no response from the slave node 13 for a certain period of time, for example, confirms that the communication disabled state continues for a certain period of time. The node address of the address information management table 15 is made unused. Therefore, the network administrator can automatically manage the address when the number of nodes is increased or decreased without being aware of the node address, the flexibility of the network is improved, and the burden of network management is reduced.

【0025】なお、上記実施例において、集中管理装置
をマスタノード、センサをスレーブノードにした例を説
明したが、少なくともマスタノードが伝送路を経由して
接続されるスレーブノードのノードアドレスを管理する
ネットワークシステムに適用される。
In the above embodiment, an example in which the central management device is the master node and the sensor is the slave node has been described, but at least the master node manages the node address of the slave node connected via the transmission path. Applies to network systems.

【0026】本発明の好適な実施例について説明した
が、本発明の精神を逸脱しない範囲内において種々の改
良及び変更をなし得ることはもちろんである。
Although the preferred embodiment of the present invention has been described, it goes without saying that various improvements and modifications can be made without departing from the spirit of the present invention.

【0027】[0027]

【発明の効果】以上説明したように本発明では、新設ス
レーブノードを新設するときには、マスタノードがメッ
セージ送信手段により、既存スレーブノードへのポーリ
ングだけでなく、アドレス付番受付時間を持つタイムス
ケジュールのメッセージを送信し、その新設スレーブノ
ードのアドレス付番要求手段により、アドレス付番要求
コマンドを送信し、このコマンドを受け取ったマスタノ
ードは、アドレス管理手段により、アドレス情報管理テ
ーブルのノードアドレスの空き情報を検索して空きのノ
ードアドレスの1つを選択して新設アドレス送信手段に
よりアドレスを送信し、このアドレスを受信したスレー
ブノードは、アドレス登録手段によりノードアドレス格
納部に格納する。また、既設スレーブノードが離脱する
ときには、マスターノードのアドレス管理手段がそのス
レーブノードからの一定時間の応答がないことで、アド
レス情報管理テーブルのノードアドレスを未使用状態に
する。これにより、ネットワーク管理者がノードアドレ
スを意識しなくてもネットワークアドレスの管理を自動
的に行いネットワーク管理の負担を軽減できる効果があ
る。
As described above, according to the present invention, when a new slave node is newly installed, the master node is not limited to polling the existing slave node by means of the message transmitting means, and also the time schedule having the address numbering acceptance time is set. The master node which has sent the message, transmitted the address numbering request command by means of the address numbering request means of the newly established slave node, and has received this command, the master node which has received this command, uses the address management means to determine the availability information of the node address Is searched for, one of the vacant node addresses is selected, the address is transmitted by the new address transmission means, and the slave node which receives this address is stored in the node address storage section by the address registration means. When the existing slave node leaves, the address management means of the master node sets the node address in the address information management table to an unused state because the slave node does not receive a response from the slave node for a certain period of time. As a result, the network administrator can automatically manage the network address without being aware of the node address, and the burden of network management can be reduced.

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

【図1】本発明実施例のネットワークアドレスの付番装
置の全体構成を説明する図である。
FIG. 1 is a diagram illustrating an overall configuration of a network address numbering device according to an embodiment of the present invention.

【図2】本発明実施例のネットワークアドレスの付番装
置のスレーブノード新設例を説明する図である。
FIG. 2 is a diagram illustrating an example of newly installing a slave node in a network address numbering device according to an embodiment of the present invention.

【図3】本発明実施例のマスタノードのメッセージ送信
手段で送信されるタイムスケジュールを説明する図であ
る。
FIG. 3 is a diagram illustrating a time schedule transmitted by the message transmitting means of the master node according to the embodiment of this invention.

【図4】本発明実施例のマスタノード新設後のアドレス
情報管理テーブルの状態を説明する図である。
FIG. 4 is a diagram illustrating a state of an address information management table after newly establishing a master node according to the embodiment of this invention.

【図5】本発明実施例のネットワークアドレスの付番装
置のスレーブノード離脱例を説明する図である。
FIG. 5 is a diagram illustrating an example of leaving a slave node of a network address numbering device according to an embodiment of the present invention.

【図6】本発明実施例のマスタノード離脱後のアドレス
情報管理テーブルの状態を説明する図である。
FIG. 6 is a diagram illustrating the state of the address information management table after leaving the master node according to the embodiment of this invention.

【図7】本発明実施例のマスタノード側の処理を説明す
るフローチャートである。
FIG. 7 is a flowchart illustrating processing on the master node side according to the embodiment of this invention.

【図8】本発明実施例の新設されるスレーブノード側の
処理を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a process on the newly installed slave node side according to the embodiment of this invention.

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

10 ネットワークアドレスの付番装置 11 マスタノード 12 伝送路 13 スレーブノード 14 メッセージ送信手段 15 アドレス情報管理テーブル 16 アドレス管理手段 17 新設アドレス送信手段 18 アドレス付番要求手段 19 ノードアドレス格納部 20 アドレス登録手段 10 Network Address Numbering Device 11 Master Node 12 Transmission Line 13 Slave Node 14 Message Sending Means 15 Address Information Management Table 16 Address Managing Means 17 New Address Sending Means 18 Address Numbering Requesting Means 19 Node Address Storage 20 Address Registering Means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 マスタノードが伝送路を経由して接続さ
れるスレーブノードのノードアドレスを管理するネット
ワークアドレスの付番装置において、 前記マスタノードは、既設スレーブノードへのメッセー
ジ送信に含めて新設スレーブノードのアドレス付番受付
メッセージを送信するメッセージ送信手段と、ノードア
ドレスを管理するためのアドレス情報管理テーブルと、
新設スレーブノードからのアドレス付番要求により前記
アドレス情報管理テーブルの空アドレスを検索しその一
つを選択して使用中にするとともに、既設スレーブノー
ドの離脱を確認してアドレス情報管理テーブルの使用中
アドレスを未発行状態にするアドレス管理手段と、前記
アドレス管理手段で選択された新設アドレスを前記新設
スレーブノードに送信する新設アドレス送信手段とを有
し、 前記新設スレーブノードは、前記マスタノードにアドレ
ス付番要求をするアドレス付番要求手段と、ノードアド
レスを格納するノードアドレス格納部と、前記マスタノ
ードから送信されてくる新設アドレスを前記ノードアド
レス格納部に登録するアドレス登録手段とを有すること
を特徴とするネットワークアドレスの付番装置。
1. A network address numbering device for managing a node address of a slave node to which a master node is connected via a transmission line, wherein the master node includes a new slave in addition to message transmission to an existing slave node. Message sending means for sending a node address number acceptance message, an address information management table for managing node addresses,
In response to an address numbering request from the new slave node, it searches for an empty address in the address information management table and selects one of them to put it in use, and confirms that the existing slave node has left and is using the address information management table. Address management means for making an address in an unissued state, and new address transmission means for transmitting the new address selected by the address management means to the new slave node, wherein the new slave node addresses the master node. An address numbering request means for making a numbering request, a node address storage part for storing a node address, and an address registration means for registering a new address transmitted from the master node in the node address storage part. A numbering device with a characteristic network address.
【請求項2】 前記スレーブノードはセンサ、前記マス
タノードはセンサで検出されるデータを集中管理する集
中管理装置である請求項1記載のネットワークアドレス
の付番装置。
2. The network address numbering device according to claim 1, wherein the slave node is a sensor, and the master node is a centralized management device that centrally manages data detected by the sensor.
【請求項3】 前記アドレス付番要求手段は、ノードア
ドレスを初期化しアドレス要求コマンドをセットする請
求項1または2記載のネットワークアドレスの付番装
置。
3. The network address numbering device according to claim 1, wherein the address numbering request means initializes a node address and sets an address request command.
【請求項4】 前記アドレス管理手段は、既設スレーブ
ノードとの通信不能状態の一定時間の継続でアドレス情
報管理テーブルの使用中アドレスを未発行状態にする請
求項1、2または3記載のネットワークアドレスの付番
装置。
4. The network address according to claim 1, 2 or 3, wherein the address management means sets the in-use address of the address information management table to the unissued state after the communication with the existing slave node is disabled for a certain period of time. Numbering device.
【請求項5】 前記既設スレーブノードは、電源の切断
または物理的な回線である伝送路を切断することにより
ネットワークから離脱する請求項1、2、3または4記
載のネットワークアドレスの付番装置。
5. The network address numbering device according to claim 1, wherein the existing slave node is disconnected from the network by cutting off a power source or cutting a transmission line which is a physical line.
JP6043285A 1994-02-18 1994-02-18 Numbering device for network address Pending JPH07231329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6043285A JPH07231329A (en) 1994-02-18 1994-02-18 Numbering device for network address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6043285A JPH07231329A (en) 1994-02-18 1994-02-18 Numbering device for network address

Publications (1)

Publication Number Publication Date
JPH07231329A true JPH07231329A (en) 1995-08-29

Family

ID=12659540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6043285A Pending JPH07231329A (en) 1994-02-18 1994-02-18 Numbering device for network address

Country Status (1)

Country Link
JP (1) JPH07231329A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10151119A1 (en) * 2001-10-15 2003-04-24 Siemens Ag Detecting multiple field devices arranged e.g. in star coupler configuration, e.g. for energy system, by repeating polling and acquisition of responses until address polling
US7032018B2 (en) 2002-03-20 2006-04-18 Lg Electronics Inc. Home appliance networking system and method for controlling the same
JP2013077520A (en) * 2011-09-30 2013-04-25 Toshiba Corp Storage battery device, and method and program for controlling storage battery device
US8484323B2 (en) 2002-12-06 2013-07-09 Lg Electronics Inc. Network system connected with multiple master devices and method for operating the same
JP2019176318A (en) * 2018-03-28 2019-10-10 三菱電機エンジニアリング株式会社 Communication system, higher-level device, and lower-level device
CN116010299A (en) * 2023-03-29 2023-04-25 摩尔线程智能科技(北京)有限责任公司 Data processing method, device, equipment and readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10151119A1 (en) * 2001-10-15 2003-04-24 Siemens Ag Detecting multiple field devices arranged e.g. in star coupler configuration, e.g. for energy system, by repeating polling and acquisition of responses until address polling
DE10151119C2 (en) * 2001-10-15 2003-11-20 Siemens Ag Method for detecting multiple field devices in a device configuration
US7032018B2 (en) 2002-03-20 2006-04-18 Lg Electronics Inc. Home appliance networking system and method for controlling the same
US8484323B2 (en) 2002-12-06 2013-07-09 Lg Electronics Inc. Network system connected with multiple master devices and method for operating the same
JP2013077520A (en) * 2011-09-30 2013-04-25 Toshiba Corp Storage battery device, and method and program for controlling storage battery device
JP2019176318A (en) * 2018-03-28 2019-10-10 三菱電機エンジニアリング株式会社 Communication system, higher-level device, and lower-level device
CN116010299A (en) * 2023-03-29 2023-04-25 摩尔线程智能科技(北京)有限责任公司 Data processing method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
JPH0837538A (en) Method and device for automatically assigning id to network equipment
US20030101282A1 (en) Method and apparatus for assigning a network node address
JP2009104603A (en) Method of distributing data packet of system software
JP2006187438A (en) System for hall management
JPH07231329A (en) Numbering device for network address
JP5110998B2 (en) Distribution device, communication system, and communication method
JP3392651B2 (en) Communication terminal and method
JP2002016622A (en) Network managing system
CN103078837A (en) Method for establishing a communication link between a programming device and an automation technology field device
CN100459521C (en) System and method for determining a designated connection between components of computing devices
JPH0766829A (en) Electronic mail multiplexing system and communication control method in the system
JP4531545B2 (en) Network system
JP3517219B2 (en) Communication terminal accommodation device and communication terminal accommodation method
JP2001117899A (en) Multi-server system
CN100588205C (en) Method and device for identifying devices connected to communication network
JPH05316116A (en) Unified management equipment for server standby system
JP2001067279A (en) Information distribution system and recording medium
JP3813824B2 (en) Device startup interval management device, startup interval management system, and startup interval management method
JP3563301B2 (en) CUG shared IP packet communication device
JP2003179607A (en) Apparatus and method for communication control and communication terminal
JP2002374248A (en) Network system and data transfer method in network
JP2566350B2 (en) Data way device
JPH0514356A (en) Address setting system
JPH10154980A (en) Ip multi-cast service system and its address assignment method
JP2769276B2 (en) Industrial plant data distribution equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term