JP2008301140A - Address acquisition system - Google Patents

Address acquisition system Download PDF

Info

Publication number
JP2008301140A
JP2008301140A JP2007144319A JP2007144319A JP2008301140A JP 2008301140 A JP2008301140 A JP 2008301140A JP 2007144319 A JP2007144319 A JP 2007144319A JP 2007144319 A JP2007144319 A JP 2007144319A JP 2008301140 A JP2008301140 A JP 2008301140A
Authority
JP
Japan
Prior art keywords
address
slave
unit
master
network
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
JP2007144319A
Other languages
Japanese (ja)
Inventor
Koichi Kataoka
浩一 片岡
Makoto Hosokawa
真 細川
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2007144319A priority Critical patent/JP2008301140A/en
Publication of JP2008301140A publication Critical patent/JP2008301140A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an address acquisition system in which an IP address of a slave machines can be recognized without troubling a master machine. <P>SOLUTION: In the system wherein at least one master machine and a plurality of slave machines are connected through a TCP/IP network and a signal line, the master machine includes a communication part for transmitting its own IP address to the plurality if slave machines through the TCP/IP network by broadcasting transmission and a trigger signal output part for outputting a trigger signal of an action including address notification through the signal line, and each slave machine includes a communication part for receiving the broadcast packet having the IP address added thereto, adding its own IP address to a transmission source address of broadcasting, and transmitting a reply packet through the TCP/IP network and a control part for controlling the operation of the communication part and judges that the trigger signal relating to timing of address notification has been input through the signal line. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、少なくとも一つのマスター機と複数のスレーブ機とが電気通信回線を介して接続されたアドレス取得システムに関し、特に、マスター機が手間をかけることなくスレーブ機のIPアドレスを認識することができるアドレス取得システムに関する。   The present invention relates to an address acquisition system in which at least one master machine and a plurality of slave machines are connected via an electric communication line, and in particular, the master machine can recognize the IP address of the slave machine without taking time and effort. It is related with the address acquisition system which can do.

複数の通信装置又は測定器がTCP/IP(Transmission Control Protocol/Internet Protocol)を介して接続され、これらの間で通信を行う状況においてはマスター機がスレーブ機のIPアドレスを認識していることが必要とされる。ここでいうマスター機とは、スレーブ機を自己の支配下で制御する機器を意味し、スレーブ機とは自己が持っている制御が使われずにマスター機の制御下に置かれるものをいう。   In a situation where multiple communication devices or measuring instruments are connected via TCP / IP (Transmission Control Protocol / Internet Protocol) and communication is performed between them, the master machine may recognize the IP address of the slave machine. Needed. The master machine here means a device that controls the slave machine under its control, and the slave machine is a machine that is placed under the control of the master machine without using its own control.

このようなマスター機とスレーブ機の間でアドレスの通知が行われるシステムの先行技術文献としては、下記のような特許文献が知られている。 The following patent documents are known as prior art documents of such a system in which an address is notified between a master machine and a slave machine.

特開2003−0283516号公報JP 2003-0283516 A

次に、従来のアドレス取得システムについて図7を参照して説明する。マスター機131とスレーブ機141はTCP/IPネットワークと信号線12を介して接続されており、マスター機131はスレーブ機141を自己の支配下で制御する。TCP/IPネットワーク11はマスター機131とスレーブ機141の間でパケットのやり取りが行われるものであり、信号線12はスレーブ機141がマスター機131とタイミング同期して所定のアクションを行うために両者を接続するものである。 Next, a conventional address acquisition system will be described with reference to FIG. The master machine 131 and the slave machine 141 are connected to the TCP / IP network via the signal line 12, and the master machine 131 controls the slave machine 141 under its own control. The TCP / IP network 11 is used to exchange packets between the master machine 131 and the slave machine 141. The signal line 12 is used for the slave machine 141 to perform a predetermined action in synchronization with the master machine 131. Are connected.

マスター機131は、通信部132、制御部134、機能選択部135、機能選択スイッチ136、アドレステーブル138、トリガ出力部139で構成されている。通信部132は自己のIPアドレス133をTCP/IPネットワーク11を介して出力する。 The master machine 131 includes a communication unit 132, a control unit 134, a function selection unit 135, a function selection switch 136, an address table 138, and a trigger output unit 139. The communication unit 132 outputs its own IP address 133 via the TCP / IP network 11.

制御部134はアクション137の選択を機能選択部135に指示する他、スレーブ・アドレス・テーブル138に記憶されたスレーブ機のIPアドレスを参照し、通信部132に対して通信を行うべきスレーブ機を指示すると共に、通信内容を制御する。ここで、スレーブ・アドレス・テーブル138の内容はユーザが事前にマスター機に登録する。機能選択スイッチ136は機能選択部135によって選択され、スイッチが切り替えられる。 In addition to instructing the function selection unit 135 to select the action 137, the control unit 134 refers to the IP address of the slave device stored in the slave address table 138, and determines the slave device to communicate with the communication unit 132. Instruct and control communication contents. Here, the contents of the slave address table 138 are registered in advance in the master machine by the user. The function selection switch 136 is selected by the function selection unit 135, and the switch is switched.

トリガ信号出力部139は制御部134の指示に基づいて、機能選択部135が選択したアクション137のトリガ信号を、トリガ信号出力部139が、信号線12を介してスレーブ機141に出力する。ここで、トリガ信号出力部139が出力するトリガ信号は、アクションの内容を通知するものではなく、そのタイミングのみを伝達するものである。つまり、スレーブ機141が行うべきアクションの種類の通知はTCP/IPネットワーク11経由で行われる。 The trigger signal output unit 139 outputs the trigger signal of the action 137 selected by the function selection unit 135 based on the instruction of the control unit 134, and the trigger signal output unit 139 outputs the trigger signal to the slave device 141 via the signal line 12. Here, the trigger signal output from the trigger signal output unit 139 does not notify the content of the action, but transmits only the timing. That is, notification of the type of action to be performed by the slave device 141 is performed via the TCP / IP network 11.

スレーブ機141は、通信部142、制御部144、機能選択部145、機能選択スイッチ146で構成されている。通信部142はTCP/IPネットワークを介してマスター機131の通信部132から入力されたパケットを受信する。制御部144は通信部142の制御を行う他、アクション147の選択を機能選択部145に指示する。また、アクションの選択方法はTCP/IPネットワーク11を介してスレーブ機141に入力されたトリガ信号の内容を制御部144が判断することにより行われる。機能選択スイッチ146は機能選択部145によって選択され、スイッチが切り替えられる。 The slave device 141 includes a communication unit 142, a control unit 144, a function selection unit 145, and a function selection switch 146. The communication unit 142 receives a packet input from the communication unit 132 of the master machine 131 via the TCP / IP network. The control unit 144 controls the communication unit 142 and instructs the function selection unit 145 to select the action 147. The action selection method is performed by the control unit 144 determining the contents of the trigger signal input to the slave device 141 via the TCP / IP network 11. The function selection switch 146 is selected by the function selection unit 145, and the switch is switched.

しかし、従来のアドレス取得システムでは、図8の様に、ユーザがスレーブ機のアドレスをいちいち把握してマスター機に入力する必要があり面倒である。また、図8のようにマスター機131とスレーブ機141、151のIPアドレスがDHCP(Dynamic Host Configuration Protocol)により動的に割り振られるネットワークで使用した場合、起動するたびにユーザがスレーブ機141、151にどのIPアドレスが割り振られたかを調べる必要があり、ユーザに多くの負担が必要である。 However, in the conventional address acquisition system, as shown in FIG. 8, the user needs to grasp the address of the slave device one by one and input it to the master device, which is troublesome. Also, as shown in FIG. 8, when used in a network in which the IP addresses of the master machine 131 and the slave machines 141 and 151 are dynamically allocated by DHCP (Dynamic Host Configuration Protocol), the user each time the user starts up the slave machines 141 and 151. It is necessary to check which IP address is assigned to each user, and it is necessary to burden the user.

上記解決方法として、マスター機131がTCP/IPネットワーク11上で認識用のパケットをブロードキャストし、それに反応したスレーブ機の応答パケットによりスレーブ機を自動判断する方法が安易に考えられる。しかし、この方法だと、同一ネットワーク上に複数のマスター機とスレーブ機の組み合わせが存在する場合、誤動作する場合がある。 As a solution to the above problem, a method in which the master machine 131 broadcasts a recognition packet on the TCP / IP network 11 and automatically determines the slave machine based on the response packet of the slave machine in response thereto can be considered easily. However, this method may malfunction if a combination of a plurality of master machines and slave machines exists on the same network.

本発明は、これらの問題点に鑑みてなされたものであり、マスター機がスレーブ機のネットワーク上のIPアドレスをユーザの手間をかけることなく、自動で知る方法を提供し、且つその場合に同一ネットワーク上に複数のマスター機とスレーブ機の組み合わせが存在しても誤動作を起こさないことを目的とする。 The present invention has been made in view of these problems, and provides a method in which a master machine automatically knows an IP address on a network of a slave machine without taking the user's trouble, and in that case, the same is provided. The purpose is to prevent malfunction even when a combination of a plurality of master machines and slave machines exists on the network.

このような問題を解決するため、請求項1記載の発明は、
少なくとも一つのマスター機と複数のスレーブ機とがTCP/IPネットワーク及び信号線を介して接続されたアドレス取得システムにおいて、
前記マスター機は、
自己のIPアドレスをパケットに付加して前記TCP/IPネットワークを介して複数の前記スレーブ機にブロードキャストを送信する通信部と、
前記信号線を介してアドレス通知を含むアクションのトリガ信号を出力するトリガ信号出力部と、
前記通信部と前記トリガ信号出力部の動作を制御する制御部とを備え、
前記スレーブ機は、
前記IPアドレスが付加されたブロードキャストのパケットを受信すると共に、前記TCP/IPネットワークを介してブロードキャストの送信元アドレスに対して自己のIPアドレスを付加してリプライパケットを送信する通信部と、
この通信部の動作を制御すると共に、前記信号線を介してアドレス通知のタイミングに関するトリガ信号が入力されたことを判断する制御部とを備える。
In order to solve such a problem, the invention of claim 1
In an address acquisition system in which at least one master machine and a plurality of slave machines are connected via a TCP / IP network and a signal line,
The master machine is
A communication unit that adds its own IP address to a packet and transmits a broadcast to the plurality of slave devices via the TCP / IP network;
A trigger signal output unit that outputs a trigger signal of an action including an address notification via the signal line;
A control unit for controlling the operation of the communication unit and the trigger signal output unit,
The slave machine is
A communication unit that receives the broadcast packet to which the IP address is added and transmits a reply packet by adding its own IP address to the broadcast source address via the TCP / IP network;
And a control unit that controls the operation of the communication unit and determines that a trigger signal related to the timing of address notification is input via the signal line.

また、請求項2記載の発明は、請求項1記載のアドレス取得システムにおいて、
前記マスター機はアドレス通知を含む複数のアクションから所望のアクションを選択する機能選択部を備え、前記スレーブ機は前記マスター機の前記機能選択部により選択されたアクションに対応するアクションを選択する機能選択部を備えることを特徴とする請求項1記載のアドレス取得システム。
The invention according to claim 2 is the address acquisition system according to claim 1,
The master machine includes a function selection unit that selects a desired action from a plurality of actions including address notification, and the slave machine selects a function corresponding to the action selected by the function selection unit of the master machine. The address acquisition system according to claim 1, further comprising a unit.

また、請求項3記載の発明は、請求項1又は2記載のアドレス取得システムにおいて、前記マスター機は前記トリガ信号を出力してから所定の時間内に前記スレーブ機からリプライパケットを受信しない場合はタイムアウトしてそのアクションを終了する。 The invention according to claim 3 is the address acquisition system according to claim 1 or 2, wherein the master unit does not receive a reply packet from the slave unit within a predetermined time after outputting the trigger signal. Timeout and end the action.

請求項4前記の発明は、請求項1〜3のいずれかに記載のアドレス取得システムにおいて、
前記マスター機と前記スレーブ機が非同一サブネットワークにある場合、ブロードキャストの代わりにマルチキャストを利用する。
(4) In the address acquisition system according to any one of (1) to (3),
When the master device and the slave device are in non-identical subnetworks, multicast is used instead of broadcast.

このように、マスター機に、自己のIPアドレスをパケットに付加して複数のスレーブ機にブロードキャストを送信する通信部を備え、スレーブ機に、このブロードキャストの送信元アドレスに対して自己のIPアドレスを付加してリプライパケットを送信する通信部を備えたので、マスター機はスレーブ機のIPアドレスを認識することができる。 As described above, the master unit includes a communication unit that adds its own IP address to a packet and transmits a broadcast to a plurality of slave units, and the slave unit sets its own IP address with respect to the broadcast source address. In addition, since the communication unit that transmits the reply packet is provided, the master machine can recognize the IP address of the slave machine.

以下、本発明のアドレス取得システムの構成例について図1を参照して説明する。ただし、図7と同一の構成については同一の符号を付して説明を省略する。マスター機200は、通信部132、制御部134、機能選択部135、機能選択スイッチ136、アドレステーブル138、トリガ出力部139の他、アドレス通知実行部210で構成されている。 A configuration example of the address acquisition system of the present invention will be described below with reference to FIG. However, the same components as those in FIG. The master device 200 includes a communication unit 132, a control unit 134, a function selection unit 135, a function selection switch 136, an address table 138, a trigger output unit 139, and an address notification execution unit 210.

アドレス通知実行部210は、アクション137と同様に、アドレス通知を行う旨のアクションが用意され、機能選択スイッチ136で選択されることによりアドレス通知のアクションが行われるものである。また、アドレス通知実行部210は通信部132と接続され、制御部134の制御により機能選択部135がアドレス制御のアクションを選択した場合に、通信部132に対してアドレス通知を行う旨の信号を出力する。この信号を受けた通信部132は後述する方法でブロードキャストを行う。 Similar to the action 137, the address notification execution unit 210 is provided with an action for notifying an address, and an address notification action is performed when selected by the function selection switch 136. The address notification execution unit 210 is connected to the communication unit 132, and when the function selection unit 135 selects an address control action under the control of the control unit 134, a signal to notify the communication unit 132 of an address notification. Output. Upon receiving this signal, the communication unit 132 performs broadcasting by a method described later.

スレーブ機300は、通信部142、制御部144、機能選択部145、機能選択スイッチ146の他、アドレス通知実行部310で構成されている。アドレス通知実行部310は、アドレス通知実行部210と同様に、アドレス通知を行う旨のアクションが用意され、機能選択スイッチ146で選択されることによりアドレス通信のアクションが行われるものである。 The slave device 300 includes an address notification execution unit 310 in addition to a communication unit 142, a control unit 144, a function selection unit 145, and a function selection switch 146. Similar to the address notification execution unit 210, the address notification execution unit 310 is provided with an action for performing address notification, and an address communication action is performed when selected by the function selection switch 146.

また、アドレス通知実行部310は通信部142と接続され、制御部144の制御により機能選択部145が機能選択スイッチ146を選択してアドレス制御のアクションが選択された場合に、通信部142に対してアドレス通知が行われる旨の信号を出力する。この信号を受けた通信部142は後述する方法でブロードキャストの受信待ちの状態となる。 The address notification execution unit 310 is connected to the communication unit 142. When the function selection unit 145 selects the function selection switch 146 and the address control action is selected under the control of the control unit 144, the address notification execution unit 310 is connected to the communication unit 142. To output a signal indicating that address notification is performed. Upon receiving this signal, the communication unit 142 waits for broadcast reception by a method described later.

次に、図1の動作の概要を図2、及び図3を参照して説明する。ここで、図2は本発明によるアドレス取得システムの動作概要説明図である。また、図3は本発明によるアドレス取得システムの処理シーケンスである。マスター機200の電源投入時に機能選択スイッチ136の選択をアドレス通知実行部210に切り替えるようにする。 Next, the outline of the operation of FIG. 1 will be described with reference to FIGS. Here, FIG. 2 is a diagram for explaining the outline of the operation of the address acquisition system according to the present invention. FIG. 3 is a processing sequence of the address acquisition system according to the present invention. When the master device 200 is turned on, the selection of the function selection switch 136 is switched to the address notification execution unit 210.

つづいて、マスター機200がTCP/IPネットワーク11に対してブロードキャストを送信する。その後、マスター機200のトリガ信号出力部139が信号線12を介してアドレス通知に関するトリガ信号を出力する。トリガ信号を受けたスレーブ機300、400はマスター機200に対してブロードキャストパケットに対するリプライを返す。なお、マスター機200は図3の様に所定の時間内にリプライがスレーブ機300、400から来ない場合にはタイムアウトし処理を終了する。 Subsequently, the master device 200 transmits a broadcast to the TCP / IP network 11. Thereafter, the trigger signal output unit 139 of the master device 200 outputs a trigger signal related to address notification via the signal line 12. Upon receiving the trigger signal, the slave devices 300 and 400 return a reply to the broadcast packet to the master device 200. As shown in FIG. 3, when the reply does not come from the slave devices 300 and 400 within a predetermined time, the master device 200 times out and ends the processing.

以下、マスター機200とスレーブ機300、400の動作を、フローチャートを参照して説明する。図4は、本発明によるマスター機のフローチャートである。マスター機200は配下となるスレーブ機300、400のアドレスを知りたいときにネットワークにブロードキャストパケットを送信する(ステップA1)。このとき、ブロードキャストパケットの送信元アドレスにはマスターのアドレス情報(IPアドレス)を正しく入れておく。 Hereinafter, operations of the master device 200 and the slave devices 300 and 400 will be described with reference to flowcharts. FIG. 4 is a flowchart of the master machine according to the present invention. The master device 200 transmits a broadcast packet to the network when it wants to know the address of the slave devices 300 and 400 under its control (step A1). At this time, the master address information (IP address) is correctly entered in the source address of the broadcast packet.

次に、信号線で信号を送信する(ステップA2)。ネットワークでリプライパケットをタイムアウト時間まで待つ(ステップA3、ステップA4)。タイムアウト時間はステップA2でトリガ信号を送信してからの一定時間とする。 Next, a signal is transmitted through the signal line (step A2). The network waits for a reply packet until the timeout time (step A3, step A4). The timeout time is set to a fixed time after the trigger signal is transmitted in step A2.

マスター機200は、ステップA3でタイムアウト時間までに来たリプライパケットの送信元情報(IPアドレス)から配下となるスレーブ機300、400のネットワークアドレスを得ることができる(ステップA5)。このアドレスを制御部134の制御により、スレーブ・アドレス・テーブル138に記憶する。 The master device 200 can obtain the network addresses of the slave devices 300 and 400 under control from the transmission source information (IP address) of the reply packet that has reached the timeout time in Step A3 (Step A5). This address is stored in the slave address table 138 under the control of the control unit 134.

次に、スレーブの動作について図5を参照して説明する。TCP/IPネットワーク11でブロードキャストパケットを受信するまでは待機状態とする(ステップB1)。TCP/IPネットワーク11でブロードキャストパケットを受信する(ステップB2)。通信部142は、ブロードキャストパケットを受信すると、制御部144の判断でマスター機200が配下となるスレーブ機のアドレスを探索していることを検知し、信号線12の信号待ち状態となる(ステップB3)。 Next, the operation of the slave will be described with reference to FIG. Until the broadcast packet is received in the TCP / IP network 11, the standby state is set (step B1). A broadcast packet is received by the TCP / IP network 11 (step B2). When the communication unit 142 receives the broadcast packet, the control unit 144 determines that the master unit 200 is searching for the address of the slave unit under its control, and enters the signal waiting state on the signal line 12 (step B3). ).

信号線12でアドレス通知のタイミングに関するトリガ信号を受信する(ステップB4)。通信部142は、TCP/IPネットワーク11でブロードキャストの送信元アドレスに対してリプライパケットを送信する(ステップB5)。このとき、リプライパケットの送信元アドレスにはリプライを送信するスレーブ機(自分)のアドレス情報を正しく入れておく。 A trigger signal related to the timing of address notification is received by the signal line 12 (step B4). The communication unit 142 transmits a reply packet to the broadcast source address in the TCP / IP network 11 (step B5). At this time, the address information of the slave device (self) that sends the reply is correctly entered in the source address of the reply packet.

このように、マスター機に、自己のIPアドレスをパケットに付加して複数のスレーブ機にブロードキャストを送信する通信部を備え、スレーブ機に、このブロードキャストの送信元アドレスに対して自己のIPアドレスを付加してリプライパケットを送信する通信部を備えたので、マスター機がスレーブ機のネットワーク上のIPアドレスをユーザの手間をかけることなく得ることができる。 As described above, the master unit includes a communication unit that adds its own IP address to a packet and transmits a broadcast to a plurality of slave units, and the slave unit sets its own IP address with respect to the broadcast source address. In addition, since the communication unit for transmitting the reply packet is provided, the master device can obtain the IP address on the network of the slave device without taking the user's trouble.

また、IPアドレスと信号線を利用してこれらのやりとりを行うので、同一ネットワーク上に複数のマスター機とスレーブ機の組み合わせが存在しても誤動作を起こさない。 Further, since these exchanges are performed using the IP address and the signal line, no malfunction occurs even if there are a plurality of combinations of master and slave devices on the same network.

次に、図6を参照して本発明の応用例を説明する。マスター機200とスレーブ500、600はそれぞれ別々のサブネットワークに配置されているものとする。マスター機200とスレーブ機500、600が同一サブネットワークになく、ブロードキャストが届かない場合、ブロードキャストの代わりにマルチキャストを利用する。ブロードキャストは同じセグメントにある全てのノードに送信を表すものである。従って、サブネットワークが異なる場合には使用することができない。そこで、ブロードキャストの代わりにマルチキャストを用いる。 Next, an application example of the present invention will be described with reference to FIG. Assume that the master device 200 and the slaves 500 and 600 are arranged in separate sub-networks. When the master device 200 and the slave devices 500 and 600 are not in the same subnetwork and the broadcast does not reach, multicast is used instead of the broadcast. Broadcast represents a transmission to all nodes in the same segment. Therefore, it cannot be used when the sub-networks are different. Therefore, multicast is used instead of broadcast.

この様に、ブロードキャストの代わりにマルチキャストを用いるので、マスター機200とスレーブ機500、600が同一サブネットワークにない場合でも、マスター機200は配下となるスレーブ機のIPアドレスを得ることができる。 In this way, since multicast is used instead of broadcast, even if the master device 200 and the slave devices 500 and 600 are not in the same subnetwork, the master device 200 can obtain the IP address of the slave device under its control.

本発明によるアドレス取得システムの構成例である。It is a structural example of the address acquisition system by this invention. 本発明によるアドレス取得システムの動作概要説明図である。It is operation | movement outline explanatory drawing of the address acquisition system by this invention. 本発明によるアドレス取得システムの処理シーケンスである。It is a processing sequence of the address acquisition system by this invention. 本発明によるマスター機のフローチャートである。3 is a flowchart of a master machine according to the present invention. 本発明によるスレーブ機のフローチャートである。4 is a flowchart of a slave device according to the present invention. スレーブ同士が同一サブネットワーク内に無い場合の動作説明図である。It is operation | movement explanatory drawing when slaves do not exist in the same subnetwork. 従来のアドレス取得システムの構成例である。It is a structural example of the conventional address acquisition system. ユーザがスレーブ機のアドレスを把握してマスター機に入力する場合の概念図である。It is a conceptual diagram in case a user grasps | ascertains the address of a slave machine and inputs it into a master machine.

符号の説明Explanation of symbols

11 TCP/IPネットワーク
12 信号線
132、142 通信部
133、143 IPアドレス
134、144 制御部
135、145 機能選択部
136、146 機能選択スイッチ
137、147 アクション
138 スレーブアドレステーブル
139 トリガ信号出力部
200 マスター機
210、310 アドレス通知実行部
300 スレーブ機
11 TCP / IP network 12 Signal line 132, 142 Communication unit 133, 143 IP address 134, 144 Control unit 135, 145 Function selection unit 136, 146 Function selection switch 137, 147 Action 138 Slave address table 139 Trigger signal output unit 200 Master Machine 210, 310 Address notification execution unit 300 Slave machine

Claims (4)

少なくとも一つのマスター機と複数のスレーブ機とがTCP/IPネットワーク及び信号線を介して接続されたアドレス取得システムにおいて、
前記マスター機は、
自己のIPアドレスをパケットに付加して前記TCP/IPネットワークを介して複数の前記スレーブ機にブロードキャストを送信する通信部と、
前記信号線を介してアドレス通知を含むアクションのトリガ信号を出力するトリガ信号出力部と、
前記通信部と前記トリガ信号出力部の動作を制御する制御部とを備え、
前記スレーブ機は、
前記IPアドレスが付加されたブロードキャストのパケットを受信すると共に、前記TCP/IPネットワークを介してブロードキャストの送信元アドレスに対して自己のIPアドレスを付加してリプライパケットを送信する通信部と、
この通信部の動作を制御すると共に、前記信号線を介してアドレス通知のタイミングに関するトリガ信号が入力されたことを判断する制御部とを備えたことを特徴とするアドレス取得システム。
In an address acquisition system in which at least one master machine and a plurality of slave machines are connected via a TCP / IP network and a signal line,
The master machine is
A communication unit that adds its own IP address to a packet and transmits a broadcast to the plurality of slave devices via the TCP / IP network;
A trigger signal output unit that outputs a trigger signal of an action including an address notification via the signal line;
A control unit for controlling the operation of the communication unit and the trigger signal output unit,
The slave machine is
A communication unit that receives the broadcast packet to which the IP address is added and transmits a reply packet by adding its own IP address to the broadcast source address via the TCP / IP network;
An address acquisition system comprising: a control unit that controls the operation of the communication unit and determines that a trigger signal related to the timing of address notification is input via the signal line.
前記マスター機はアドレス通知を含む複数のアクションから所望のアクションを選択する機能選択部を備え、前記スレーブ機は前記マスター機の前記機能選択部により選択されたアクションに対応するアクションを選択する機能選択部を備えることを特徴とする請求項1記載のアドレス取得システム。 The master machine includes a function selection unit that selects a desired action from a plurality of actions including address notification, and the slave machine selects a function corresponding to the action selected by the function selection unit of the master machine. The address acquisition system according to claim 1, further comprising a unit. 前記マスター機は前記トリガ信号を出力してから所定の時間内に前記スレーブ機からリプライパケットを受信しない場合はタイムアウトしてそのアクションを終了することを特徴とする請求項1又は2記載のアドレス取得システム。 3. The address acquisition according to claim 1, wherein when the master device does not receive a reply packet from the slave device within a predetermined time after outputting the trigger signal, the master device times out and ends the action. system. 前記マスター機と前記スレーブ機が非同一サブネットワークにある場合、ブロードキャストの代わりにマルチキャストを利用することを特徴とする請求項1〜3のいずれかに記載のアドレス取得システム。 4. The address acquisition system according to claim 1, wherein when the master device and the slave device are in non-identical sub-networks, multicast is used instead of broadcast.
JP2007144319A 2007-05-31 2007-05-31 Address acquisition system Pending JP2008301140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007144319A JP2008301140A (en) 2007-05-31 2007-05-31 Address acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007144319A JP2008301140A (en) 2007-05-31 2007-05-31 Address acquisition system

Publications (1)

Publication Number Publication Date
JP2008301140A true JP2008301140A (en) 2008-12-11

Family

ID=40174241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007144319A Pending JP2008301140A (en) 2007-05-31 2007-05-31 Address acquisition system

Country Status (1)

Country Link
JP (1) JP2008301140A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949689A (en) * 2021-09-30 2022-01-18 珠海格力电器股份有限公司 Multi-module lower computer address automatic allocation method and device and multi-module air conditioning system
CN114097588A (en) * 2021-10-29 2022-03-01 瀚云科技有限公司 Networking method and device for irrigation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949689A (en) * 2021-09-30 2022-01-18 珠海格力电器股份有限公司 Multi-module lower computer address automatic allocation method and device and multi-module air conditioning system
CN114097588A (en) * 2021-10-29 2022-03-01 瀚云科技有限公司 Networking method and device for irrigation device
CN114097588B (en) * 2021-10-29 2023-10-31 瀚云科技有限公司 Networking method and device of irrigation device

Similar Documents

Publication Publication Date Title
JP2011130205A (en) Information processing apparatus with multiple communication interfaces and control method
KR20140027593A (en) Home networking system and method for network setting method of router in the home network
JP6381211B2 (en) Image forming apparatus and control method thereof
JP2019036923A (en) Information processing apparatus, program, and control method
JP2009021921A (en) INFORMATION PRESENTATION SYSTEM FOR TERMINAL CORRESPONDING TO IPv4/IPv6 DUAL STACK
JP2015026917A (en) Communication device
KR101606831B1 (en) Image forming apparatus, host device and method for controlling print
JP2008301140A (en) Address acquisition system
JP6037446B2 (en) Network device and method for controlling network device
US8509402B2 (en) Communication device
JP2005136591A (en) Method and program of setting communication environment
JP2006197051A (en) Network communication control unit and method
JP2011118664A (en) Communication apparatus, control method thereof and program
US20160301755A1 (en) Method and apparatus for controlling scan of slave devices
JP5089476B2 (en) Communication start system
JP5334202B2 (en) Communication relay device, communication relay method, communication relay program
JP2007235826A (en) Ip address allocation system and method
JP2006211347A (en) Radio communication system
JP6035034B2 (en) Communication control device and communication control program
JP2020522910A (en) Handover processing
JP7218613B2 (en) Communication device and communication method
JP2013175938A (en) Communication apparatus, communication method and program
JP2005174195A (en) Method, apparatus, and program for automatic configuration of network device
JP6577718B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2012065151A (en) Communication terminal, communication method, relay device and relay method