JP2003283516A - Slave terminal control method and system - Google Patents

Slave terminal control method and system

Info

Publication number
JP2003283516A
JP2003283516A JP2002085405A JP2002085405A JP2003283516A JP 2003283516 A JP2003283516 A JP 2003283516A JP 2002085405 A JP2002085405 A JP 2002085405A JP 2002085405 A JP2002085405 A JP 2002085405A JP 2003283516 A JP2003283516 A JP 2003283516A
Authority
JP
Japan
Prior art keywords
address
terminal
slave terminal
slave
master
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
JP2002085405A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Aoyama
和義 青山
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2002085405A priority Critical patent/JP2003283516A/en
Publication of JP2003283516A publication Critical patent/JP2003283516A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To continue control from a master terminal even when the prescribed hierarchy address of a slave terminal is changed by any method except for the control from the master terminal. <P>SOLUTION: In a slave terminal control method and system in which the master terminal and the slave terminal are connected to the same network, the master terminal is equipped with a function for applying the prescribed hierarchy address of the slave terminal and the master terminal controls the slave terminal by transmitting control information thereto, the master terminal inserts a broadcast address as a destination of the control information with respect to a prescribed hierarchy and inserts an address peculiar for a slave terminal related to any hierarchy except for the prescribed hierarchy as well. The slave terminal captures communication information into which the broadcast address is inserted with respect to the prescribed hierarchy and the address peculiar for itself is inserted as an address related to any hierarchy except for the prescribed hierarchy as control information from the master terminal. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、スレーブ端末制御
方法及びシステムに関し、例えば、同一ネットワーク環
境下に設置される、マスター、スレーブと言う主従関係
がある機器間のマスターによるスレーブ制御の継続方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a slave terminal control method and system, for example, a method of continuing slave control by a master installed between devices having master-slave master-slave relationships installed in the same network environment. It is a thing.

【0002】[0002]

【従来の技術】従来、図2に示すように、同一ネットワ
ーク環境下に設置される機器(例えば、パソコンやルー
タなどの同一のLANインタフェースを有するLAN機
器が該当する)間で、マスター、スレーブと言う主従関
係の維持を必要とするシステムがある。すなわち、同一
のネットワーク1に、マスター端末(例えばパソコン)
2及びスレーブ端末(例えばルータ)3が接続され、マ
スター端末2がスレーブ端末3を制御するシステムがあ
る。なお、一般には、ネットワーク1には、マスター端
末2及びスレーブ端末3以外の主従関係に関係しない端
末4も存在する。
2. Description of the Related Art Conventionally, as shown in FIG. 2, a master and a slave are installed between devices installed in the same network environment (for example, LAN devices having the same LAN interface such as a personal computer and a router). There are systems that need to maintain a master-detail relationship. That is, a master terminal (for example, a personal computer) on the same network 1
There is a system in which the master terminal 2 controls the slave terminal 3 by connecting the slave terminal 3 to the slave terminal 3 (for example, a router). Note that, in general, the network 1 also includes terminals 4 other than the master terminal 2 and the slave terminal 3 that are not related to the master-slave relationship.

【0003】従来、マスター端末2がスレーブ端末3を
制御する方法は、例えば、TCP/IP(transm
ission control protocol/i
nternet protocol)に従うネットワー
クであれば、図3に示すシーケンスで行っていた。
Conventionally, a method of controlling the slave terminal 3 by the master terminal 2 is, for example, TCP / IP (transm).
session control protocol / i
If the network complies with the Internet protocol, the sequence shown in FIG. 3 is used.

【0004】マスター端末2は、例えば、自己端末の電
源が投入されたりリセット操作がなされたりしたときな
ど、所定のタイミングでスレーブ端末3にIPアドレス
を設定し、スレーブ端末3はIPアドレスを保持した
後、その付与応答をマスター端末2に返信する(T1
0、T11)。なお、IPアドレスをスレーブ端末3に
設定する方法は任意であって良く、例えば、SNMP
(simple network managemen
t protocol)設定方法を適用できる。
The master terminal 2 sets an IP address in the slave terminal 3 at a predetermined timing, for example, when the power of the self terminal is turned on or a reset operation is performed, and the slave terminal 3 holds the IP address. Then, the grant response is returned to the master terminal 2 (T1
0, T11). The method of setting the IP address in the slave terminal 3 may be arbitrary, for example, SNMP.
(Simple network management
t protocol) setting method can be applied.

【0005】マスター端末2は、スレーブ端末3を制御
する際には、宛先フィールドにスレーブ端末3に設定し
たIPアドレスを挿入した制御用パケットをネットワー
ク1へ送信する(T12)。
When controlling the slave terminal 3, the master terminal 2 transmits a control packet in which the IP address set for the slave terminal 3 is inserted in the destination field to the network 1 (T12).

【0006】スレーブ端末3は、ネットワーク1を流れ
ている制御用パケットの宛先フィールドを監視してお
り、宛先フィールドに、自己に付与されたIPアドレス
が挿入されている制御用パケットを取り込み、その取り
込んだタイミング、又は、そのパケットが示している制
御処理が終了したタイミングで、マスター端末2に制御
応答を返信し、マスター端末2は、今回の制御動作を完
了させる(T13)。
The slave terminal 3 monitors the destination field of the control packet flowing through the network 1, takes in the control packet in which the IP address given to itself is inserted in the destination field, and takes it in. At that timing, or at the timing when the control process indicated by the packet ends, a control response is returned to the master terminal 2 and the master terminal 2 completes the control operation this time (T13).

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
たマスター端末2によるスレーブ端末3の制御方法で
は、スレーブ端末3のIPアドレスがマスター端末2か
らの制御以外の方法で変更がされた場合に、マスター端
末2からスレーブ端末3への通信が不能となり、制御が
できなくなってしまうという課題があった。
However, in the control method of the slave terminal 3 by the master terminal 2 described above, when the IP address of the slave terminal 3 is changed by a method other than the control from the master terminal 2, the master terminal 2 is changed. There is a problem in that communication from the terminal 2 to the slave terminal 3 is disabled and control cannot be performed.

【0008】スレーブ端末3のIPアドレスが、マスタ
ー端末2からの制御以外の方法により設定変更される場
合としては、例えば、以下の2つのケースC1、C2が
考えられる。
As a case where the IP address of the slave terminal 3 is changed by a method other than the control from the master terminal 2, for example, the following two cases C1 and C2 can be considered.

【0009】ケースC1:スレーブ端末3がDHCP
(dynamic host configurati
on protocol;BOOTP(bootstr
approtocol))等のIPアドレス取得プロト
コルを装備し、スレーブ端末3に対する電源OFF/O
N動作又は操作のみが実行され(マスター端末2は実行
されず)、同一ネットワーク1に存在する外部のIP付
与装置(例えばDHCPサーバ)からのIP付与行為が
スレーブ端末3に対してなされた場合 ケースC2:スレーブ端末3へ、マスター端末2ではな
い他端末4からSNMP設定アプリケーションソフト等
を使用して変更制御された場合 図4は、問題となる上述したケースC1の場合における
シーケンスを示している。なお、図4に示すシーケンス
部分の前に、図3で説明したようなマスター端末2によ
るスレーブ端末3へのIPアドレス(xxx.xxx.
xxx.xxx)の設定動作がなされている。
Case C1: Slave terminal 3 is DHCP
(Dynamic host configurati
on protocol; BOOTP (bootstr
Equipped with an IP address acquisition protocol such as approtocol)), power supply OFF / O for the slave terminal 3
A case where only N operations or operations are executed (the master terminal 2 is not executed), and an IP granting action from an external IP granting device (for example, a DHCP server) existing in the same network 1 is performed on the slave terminal 3. C2: When the slave terminal 3 is subjected to change control from another terminal 4 which is not the master terminal 2 using the SNMP setting application software, etc. FIG. 4 shows a sequence in the case of the above-mentioned case C1 which causes a problem. Before the sequence part shown in FIG. 4, the IP address (xxx.xxx.xxx.x) from the master terminal 2 to the slave terminal 3 as described in FIG.
xxx. The setting operation of (xxx) is performed.

【0010】スレーブ端末3がマスター端末2によって
制御し得る状態にあったときに、スレーブ端末3に対し
てのみ電源のOFF動作及びそれに引き続いたON動作
がなされると(T20)、例えば、スレーブ端末3にお
けるIPアドレス取得プロトコルであるDHCPが起動
され、DHCPサーバ5からスレーブ端末3にIPアド
レス(yyy.yyy.yyy.yyy)が付与される
(T21、T22)。
When the slave terminal 3 is in a state in which it can be controlled by the master terminal 2, if the power off operation and the subsequent on operation are performed only for the slave terminal 3 (T20), for example, the slave terminal DHCP, which is an IP address acquisition protocol in 3, is activated, and the DHCP server 5 gives an IP address (yyy.yyy.yyy.yyy) to the slave terminal 3 (T21, T22).

【0011】その後、マスター端末2は、スレーブ端末
3の制御の必要性が生じた際には、宛先フィールドにス
レーブ端末3に設定したIPアドレス(xxx.xx
x.xxx.xxx)を挿入した制御用パケットをネッ
トワーク1へ送信する(T23)。
Thereafter, when the master terminal 2 needs to control the slave terminal 3, the IP address (xxx.xx) set in the slave terminal 3 is set in the destination field.
x. xxx. The control packet in which "xxx" is inserted is transmitted to the network 1 (T23).

【0012】スレーブ端末3は、この制御用パケットに
対しては、その宛先フィールドに挿入されているIPア
ドレス(xxx.xxx.xxx.xxx)が、その時
点で付与されているIPアドレス(yyy.yyy.y
yy.yyy)と異なるために取り込むことはなく、ま
た、マスター端末2に応答を返信することもない(T2
3)。
For the control packet, the slave terminal 3 receives the IP address (xxx.xxx.xxx.xxx) inserted in the destination field of the IP address (yyy. yyy.y
yy. Since it is different from (yyy), it is not captured and no response is returned to the master terminal 2 (T2
3).

【0013】すなわち、マスター端末2からスレーブ端
末3への通信が不能となり、制御できなくなっている。
なお、マスター端末2は、例えば、上述した制御用パケ
ットの送出後、所定時間を経過してもそれに対する応答
が返信されてこないことにより、スレーブ端末3へ制御
できなくなったことを認識し得る。
That is, the communication from the master terminal 2 to the slave terminal 3 is disabled and cannot be controlled.
It should be noted that the master terminal 2 can recognize that the slave terminal 3 cannot be controlled because, for example, after the control packet is transmitted, no response is returned even after a predetermined time has elapsed.

【0014】そのため、マスター端末がスレーブ端末を
制御し得る状況を一段と保証することができるスレーブ
端末制御方法及びシステムが望まれている。
Therefore, there is a demand for a slave terminal control method and system capable of further guaranteeing the situation in which the master terminal can control the slave terminals.

【0015】[0015]

【課題を解決するための手段】かかる課題を解決するた
め、第1の本発明は、マスター端末及びスレーブ端末が
同一ネットワークに接続され、上記マスター端末が上記
スレーブ端末の所定階層でのアドレスを付与する機能を
備えていると共に、上記マスター端末が上記スレーブ端
末に制御情報を送信して上記スレーブ端末を制御するス
レーブ端末制御方法において、(1)上記マスター端末
が、上記制御情報の宛先として、上記所定階層について
はブロードキャスト用のアドレスを挿入すると共に、上
記所定階層以外の階層に係る上記スレーブ端末に固有な
アドレスを挿入し、(2)上記スレーブ端末が、ネット
ワークを流れている通信情報のうち、上記所定階層につ
いてはブロードキャスト用のアドレスが挿入されている
と共に、上記所定階層以外の階層に係るアドレスとして
は、自己端末に固有なアドレスが挿入されている通信情
報を、上記マスター端末から自己への制御情報として取
り込むことを特徴とする。
In order to solve such a problem, the first aspect of the present invention is that a master terminal and a slave terminal are connected to the same network, and the master terminal assigns an address in a predetermined layer of the slave terminal. A slave terminal control method in which the master terminal transmits control information to the slave terminal to control the slave terminal, wherein (1) the master terminal is a destination of the control information, For the predetermined layer, an address for broadcast is inserted, and an address unique to the slave terminal related to a layer other than the predetermined layer is inserted. (2) The slave terminal has, among the communication information flowing in the network, For the above-mentioned predetermined layer, an address for broadcasting is inserted and The address related to the hierarchy other than the layer, the communication information unique address self terminal is inserted, and wherein the incorporation as the control information to the self from the master terminal.

【0016】また、第2の本発明は、マスター端末及び
スレーブ端末が同一ネットワークに接続され、上記マス
ター端末が上記スレーブ端末の所定階層でのアドレスを
付与する機能を備えていると共に、上記マスター端末が
上記スレーブ端末に制御情報を送信して上記スレーブ端
末を制御するスレーブ端末制御システムにおいて、
(1)上記マスター端末が、宛先として、上記所定階層
についてはブロードキャスト用のアドレスを挿入すると
共に、上記所定階層以外の階層に係る上記スレーブ端末
に固有なアドレスを挿入した上記制御情報を形成する制
御情報形成手段を備え、(2)上記スレーブ端末が、ネ
ットワークを流れている通信情報のうち、上記所定階層
についてはブロードキャスト用のアドレスが挿入されて
いると共に、上記所定階層以外の階層に係るアドレスと
しては、自己端末に固有なアドレスが挿入されている通
信情報を、上記マスター端末から自己への制御情報とし
て取り込む制御情報取り込み手段を備えたことを特徴と
する。
Further, in the second aspect of the present invention, the master terminal and the slave terminal are connected to the same network, and the master terminal has a function of giving an address in a predetermined hierarchy of the slave terminal, and the master terminal is also provided. In a slave terminal control system for controlling the slave terminal by transmitting control information to the slave terminal,
(1) Control in which the master terminal inserts a broadcast address for the predetermined layer as a destination and forms the control information in which an address unique to the slave terminal related to a layer other than the predetermined layer is inserted (2) In the communication information flowing through the network, the slave terminal is provided with an information forming means, and a broadcast address is inserted in the communication information flowing through the network, and an address relating to a layer other than the predetermined layer. Is characterized by comprising control information fetching means for fetching communication information in which a unique address is inserted into the self terminal as control information for the self from the master terminal.

【0017】[0017]

【発明の実施の形態】(A)第1の実施形態 以下、本発明によるスレーブ端末制御方法及びシステム
の第1の実施形態を図面を参照しながら詳述する。な
お、第1の実施形態は、TCP/IPに従うネットワー
クに係る場合である。
BEST MODE FOR CARRYING OUT THE INVENTION (A) First Embodiment Hereinafter, a first embodiment of a slave terminal control method and system according to the present invention will be described in detail with reference to the drawings. The first embodiment relates to a TCP / IP-compliant network.

【0018】(A−1)第1の実施形態の構成 第1の実施形態のスレーブ端末制御システムにおける各
機器のネットワーク上の配置そのものは、従来と同様で
あり、上述した図2で表すことができる。すなわち、ネ
ットワーク1に、主従関係を有するマスター端末2及び
スレーブ端末3や、他の端末4が接続されている。
(A-1) Configuration of the First Embodiment The arrangement itself of each device on the network in the slave terminal control system of the first embodiment is the same as the conventional one, and can be represented by FIG. 2 described above. it can. That is, a master terminal 2 and a slave terminal 3 having a master-slave relationship, and another terminal 4 are connected to the network 1.

【0019】図1は、第1の実施形態に係るマスター端
末2及びスレーブ端末3のネットワーク1との接続機能
を担うLANインタフェース部2R、3Rの概念的な内
部機能構成を示すブロック図である。
FIG. 1 is a block diagram showing a conceptual internal functional configuration of the LAN interface units 2R and 3R having a function of connecting the master terminal 2 and the slave terminal 3 to the network 1 according to the first embodiment.

【0020】図1(A)は、マスター端末2のLANイ
ンタフェース部2Rの構成を示し、図1(B)は、スレ
ーブ端末3のLANインタフェース部3Rの構成を示し
ている。
FIG. 1A shows the configuration of the LAN interface unit 2R of the master terminal 2, and FIG. 1B shows the configuration of the LAN interface unit 3R of the slave terminal 3.

【0021】マスター端末2のLANインタフェース部
2Rは、送受信部10、パケット組立分解部11、スレ
ーブアドレス記憶部12、MAC(media acc
ess control;媒体アクセス制御)アドレス
設定部13及び自端末アドレス記憶部14などを有す
る。
The LAN interface unit 2R of the master terminal 2 includes a transmitting / receiving unit 10, a packet assembling / disassembling unit 11, a slave address storage unit 12, and a MAC (media acc.
Ess control; medium access control) Address setting unit 13 and own terminal address storage unit 14 are provided.

【0022】送受信部10は、ネットワーク1に対して
制御用パケットなどを送信したり、ネットワーク1から
のパケットを一時的に保持し、そのパケットの宛先が自
端末アドレス記憶部14に記憶されているアドレスと合
致した場合に取り込んだりするものである。
The transmission / reception unit 10 transmits a control packet or the like to the network 1 and temporarily holds a packet from the network 1, and the destination of the packet is stored in its own terminal address storage unit 14. It is taken in when it matches with the address.

【0023】パケット組立分解部11は、例えば、スレ
ーブ端末3への制御用パケットを組み立てて送受信部1
0に与えたり、送受信部10から与えられたパケットを
分解したりするものである。パケット組立分解部11
は、スレーブ端末3への制御用パケットを組み立てる際
には、その制御用パケットの宛先として、スレーブアド
レス記憶部12に記憶されているスレーブ端末3のアド
レスを挿入する。
The packet assembling / disassembling unit 11 assembles, for example, a control packet to the slave terminal 3 and transmits / receives the data to / from the transmitting / receiving unit 1.
The packet is given to 0 or the packet given from the transmission / reception unit 10 is decomposed. Packet assembling / disassembling unit 11
Inserts the address of the slave terminal 3 stored in the slave address storage unit 12 as the destination of the control packet when assembling the control packet to the slave terminal 3.

【0024】この第1の実施形態の場合、制御用パケッ
トの宛先として挿入されるアドレスは、ネットワーク層
に係るブロードキャスト用のIPアドレス(255.2
55.255.255)と、データリンク層の下位副層
に係るスレーブ端末3のMACアドレス(ユニキャスト
MACアドレス)である。ブロードキャスト用のIPア
ドレスが挿入される制御用パケットにおける位置と、M
ACアドレスが挿入される制御用パケットにおける位置
とは、離れていても良く、また、後者は、複数が離散し
て挿入されていても良い。
In the case of the first embodiment, the address inserted as the destination of the control packet is the broadcast IP address (255.2) related to the network layer.
55.255.25) and the MAC address (unicast MAC address) of the slave terminal 3 in the lower sublayer of the data link layer. The position in the control packet in which the broadcast IP address is inserted, and M
It may be separated from the position in the control packet in which the AC address is inserted, and a plurality of the latter may be inserted discretely.

【0025】なお、スレーブ端末3への制御用パケット
ではない一般的なパケットの場合、宛先に挿入されるI
Pアドレスは、上記と同様であっても良く、また、スレ
ーブ端末3に付与されたIPアドレスであっても良い。
Incidentally, in the case of a general packet which is not a control packet to the slave terminal 3, I
The P address may be the same as the above, or may be the IP address given to the slave terminal 3.

【0026】以上のように、制御用パケットには、ブロ
ードキャスト用のIPアドレスと、スレーブ端末3のM
ACアドレスとが宛先として挿入されるので、スレーブ
端末3のMACアドレスをスレーブアドレス記憶部12
に記憶させるMACアドレス設定部13が設けられてい
る。
As described above, the control packet includes the broadcast IP address and the M of the slave terminal 3.
Since the AC address is inserted as the destination, the MAC address of the slave terminal 3 is set to the slave address storage unit 12
There is provided a MAC address setting unit 13 to be stored in.

【0027】MACアドレス設定部13は、例えば、オ
ペレータのマニュアル操作によるMACアドレスの入力
を取り込んで設定するものであっても良く、また、スレ
ーブ端末3との通信によってスレーブ端末3からMAC
アドレスを収集して設定するものであっても良い。すな
わち、MACアドレスの設定方法は問われないものであ
る。
The MAC address setting unit 13 may be, for example, one that takes in and sets the input of the MAC address by the manual operation of the operator, and by communicating with the slave terminal 3, the MAC address is set from the slave terminal 3 to the MAC address.
The address may be collected and set. That is, the method of setting the MAC address does not matter.

【0028】スレーブ端末3のLANインタフェース部
3Rは、送受信部20、パケット組立分解部21、MA
Cアドレス記憶部22及び自IPアドレス記憶部23な
どを有する。
The LAN interface section 3R of the slave terminal 3 includes a transmitting / receiving section 20, a packet assembling / disassembling section 21, and a MA.
It has a C address storage unit 22, an own IP address storage unit 23, and the like.

【0029】送受信部20は、ネットワーク1に対して
パケットを送信したり、ネットワーク1からの制御用パ
ケットなどを一時的に保持し、そのパケットの宛先が自
IPアドレス記憶部23に記憶されているものと合致し
た場合(但し、ブロードキャスト用のものは合致すると
扱う)に取り込んだりするものである。
The transmission / reception unit 20 transmits a packet to the network 1 and temporarily holds a control packet from the network 1, and the destination of the packet is stored in its own IP address storage unit 23. It is taken in when it matches with the one (however, the one for broadcasting is treated as matching).

【0030】パケット組立分解部21は、例えば、マス
ター端末2への応答パケットを組み立てて送受信部20
に与えたり、送受信部20から与えられたパケットを分
解したりするものである。パケット組立分解部21は、
ブロードキャスト用のIPアドレスが挿入されているパ
ケットが送受信部20から与えられた場合には、そのパ
ケットに、MACアドレス記憶部22に記憶されている
自己のMACアドレスが挿入されているか否か、言い換
えると、マスター端末2からの制御用パケットか否かを
判定するものである。なお、この判定機能をも送受信部
20に持たせるようにしても良い。
The packet assembling / disassembling unit 21 assembles, for example, a response packet to the master terminal 2 and transmits / receives the packet.
Or to decompose the packet given from the transmitting / receiving unit 20. The packet assembling / disassembling unit 21
When the packet in which the broadcast IP address is inserted is given from the transmission / reception unit 20, whether or not the own MAC address stored in the MAC address storage unit 22 is inserted in the packet is paraphrased. Then, it is determined whether the packet is a control packet from the master terminal 2. The transmitter / receiver 20 may also have this determination function.

【0031】(A−2)第1の実施形態の動作 図5は、スレーブ端末3のIPアドレスが途中で変更さ
れるケース(C1)での第1の実施形態におけるシーケ
ンス図である。なお、図5に示すシーケンス部分の前
に、図3で説明したようなマスター端末2によるスレー
ブ端末3へのIPアドレス(xxx.xxx.xxx.
xxx)の設定動作がなされている。
(A-2) Operation of the First Embodiment FIG. 5 is a sequence diagram in the first embodiment in the case (C1) in which the IP address of the slave terminal 3 is changed on the way. Before the sequence part shown in FIG. 5, the IP address (xxx.xxx.xxx.xxx.xxx.xxx) from the master terminal 2 to the slave terminal 3 as described in FIG.
The setting operation of (xxx) is performed.

【0032】マスター端末2は、スレーブ端末3を制御
する際には、宛先として、ブロードキャスト用のIPア
ドレス(255.255.255.255)と、スレー
ブ端末3のMACアドレスとを挿入した制御用パケット
をネットワーク1へ送信する(T31)。
When controlling the slave terminal 3, the master terminal 2 inserts the broadcast IP address (255.255.255.255) and the MAC address of the slave terminal 3 as a destination as a control packet. Is transmitted to the network 1 (T31).

【0033】スレーブ端末3は、ネットワーク1を流れ
ているパケットの宛先を監視しており、宛先として、ブ
ロードキャスト用のIPアドレスが挿入されているパケ
ットを取り込むと共に、さらに、自己のMACアドレス
が挿入されているかを確認し、挿入されていた場合に
は、そのパケットをマスター端末2からの制御用パケッ
トとして取り込み、その取り込んだタイミング、又は、
その制御用パケットが示している制御処理が終了したタ
イミングで、マスター端末2に制御応答(パケット)を
返信し、マスター端末2は、今回の制御動作を完了させ
る(T32)。
The slave terminal 3 monitors the destination of the packet flowing through the network 1. As the destination, the slave terminal 3 takes in the packet in which the IP address for broadcasting is inserted, and further, its own MAC address is inserted. If the packet is inserted, the packet is fetched as a control packet from the master terminal 2 and the timing of fetching it, or
At the timing when the control process indicated by the control packet is completed, a control response (packet) is returned to the master terminal 2, and the master terminal 2 completes the control operation this time (T32).

【0034】なお、マスター端末2から送信された制御
用パケットは、同一ネットワーク1上の全端末3、4へ
の同報通信(ブロードキャスト)であるが、MACアド
レスが一致しているスレーブ端末3のみが応答を送信す
ることになる。制御応答パケットの送信元情報として、
スレーブ端末3に付与されているIPアドレス(xx
x.xxx.xxx.xxx)やMACアドレスが挿入
される。
The control packet transmitted from the master terminal 2 is a broadcast communication (broadcast) to all the terminals 3 and 4 on the same network 1, but only the slave terminal 3 having the same MAC address. Will send a response. As the source information of the control response packet,
The IP address (xx
x. xxx. xxx. xxx) or MAC address is inserted.

【0035】その後、スレーブ端末3に対してのみ電源
のOFF動作及びそれに引き続いたON動作がなされる
と(T33)、例えば、スレーブ端末3におけるIPア
ドレス取得プロトコルであるDHCPが起動され、DH
CPサーバ5からスレーブ端末3にIPアドレス(yy
y.yyy.yyy.yyy)が付与される(T34、
T35)。これにより、スレーブ端末3に付与されてい
るIPアドレスが変更されたことになる。
After that, when the power supply OFF operation and the subsequent ON operation are performed only for the slave terminal 3 (T33), for example, DHCP which is an IP address acquisition protocol in the slave terminal 3 is activated and DH
From the CP server 5 to the slave terminal 3, the IP address (yy
y. yyy. yyy. yyy) is added (T34,
T35). As a result, the IP address given to the slave terminal 3 is changed.

【0036】スレーブ端末3の制御の必要性が再び生じ
ると、マスター端末2は、このときにも、宛先情報とし
て、ブロードキャスト用のIPアドレス(255.25
5.255.255)と、スレーブ端末3のMACアド
レスとを挿入した制御用パケットをネットワーク1へ送
信する(T36)。
When the need for control of the slave terminal 3 arises again, the master terminal 2 again uses the broadcast IP address (255.25) as the destination information.
5.25.255) and the MAC address of the slave terminal 3 are transmitted to the network 1 (T36).

【0037】スレーブ端末3だけが、上述の場合と同様
に、マスター端末2からのその制御用パケットを取り込
み、その取り込んだタイミング、又は、その制御用パケ
ットが示している制御処理が終了したタイミングで、マ
スター端末2に制御応答(パケット)を返信する(T3
7)。
As in the case described above, only the slave terminal 3 fetches the control packet from the master terminal 2 and at the timing of fetching it, or at the timing when the control process indicated by the control packet ends. Returns a control response (packet) to the master terminal 2 (T3
7).

【0038】なお、この際の制御応答パケットの送信元
情報として、スレーブ端末3にその時点で付与されてい
る変更後のIPアドレス(yyy.yyy.yyy.y
yy)やMACアドレスが挿入される。
As the transmission source information of the control response packet at this time, the changed IP address (yyy.yyy.yyy.y) given to the slave terminal 3 at that time.
yy) or MAC address is inserted.

【0039】マスター端末2は、返信されてきた制御応
答パケットの送信元のIPアドレスが、自己がスレーブ
端末3に付与したIPアドレス(xxx.xxx.xx
x.xxx)と異なることを認識できる。この場合、な
んらの処理も実行しなくても良く、また、IPアドレス
が変更されたことを表すフラグをセットするようにして
も良く、さらに、記憶しているスレーブ端末3のIPア
ドレスを書き換えるようにしても良い。
The master terminal 2 uses the IP address (xxx.xxx.xx.xx) assigned to the slave terminal 3 by itself as the source IP address of the returned control response packet.
x. It can be recognized that it is different from xxx). In this case, no processing needs to be executed, a flag indicating that the IP address has been changed may be set, and the stored IP address of the slave terminal 3 may be rewritten. You can

【0040】(A−3)第1の実施形態の効果 以上のように、第1の実施形態によれば、宛先をブロー
ドキャスト用のIPアドレスとした制御用パケットをマ
スター端末から送信することにより、スレーブ端末のI
Pアドレスがマスター端末からの制御以外の方法によっ
て変更されてもマスター端末からの制御を継続すること
ができる。
(A-3) Effects of the First Embodiment As described above, according to the first embodiment, the control packet having the IP address for broadcasting as the destination is transmitted from the master terminal. Slave terminal I
Even if the P address is changed by a method other than the control from the master terminal, the control from the master terminal can be continued.

【0041】(B)他の実施形態 第1の実施形態の動作説明では、スレーブ端末3のIP
アドレスが、マスター端末2からの制御以外の方法によ
り設定変更される場合が、DHCP等のIPアドレス取
得プロトコルの実行による場合であったが、スレーブ端
末3へ、マスター端末2ではない他端末4からSNMP
設定アプリケーションソフト等を使用して変更制御され
た場合であっても、マスター端末2からスレーブ端末3
への制御を継続することができる。
(B) Other Embodiments In the operation description of the first embodiment, the IP of the slave terminal 3
The case where the setting of the address is changed by a method other than the control from the master terminal 2 is due to the execution of the IP address acquisition protocol such as DHCP, but the slave terminal 3 is transmitted to the other terminal 4 other than the master terminal 2. SNMP
Even if the change control is performed using the setting application software or the like, the master terminal 2 to the slave terminal 3
Control can be continued.

【0042】上記第1の実施形態では、制御用パケット
の宛先のIPアドレスが常にブロードキャスト用のIP
アドレスとしたものであったが、制御に失敗するまで
は、スレーブ端末に付与したIPアドレスを挿入し、失
敗した以降、ブロードキャスト用のIPアドレスを挿入
するようにしても良い。また、制御用パケットを再送す
る場合における再送パケットのみ、宛先のIPアドレス
をブロードキャスト用のIPアドレスとするようにして
も良い。
In the first embodiment, the destination IP address of the control packet is always the broadcast IP address.
Although the address is used as the address, the IP address assigned to the slave terminal may be inserted until the control fails, and after the failure, the broadcast IP address may be inserted. Further, the IP address of the destination may be used as the broadcast IP address only for the retransmission packet when the control packet is retransmitted.

【0043】本発明は、上記第1の実施形態のようなネ
ットワークに限定されるものではなく、マスター、スレ
ーブという主従関係の維持を必要とする機器を有するシ
ステムへ広く適用することができる。例えば、ネットワ
ークがパケット転送方式でなくても良い。2種類のアド
レスのレイヤも他のレイヤのものであっても良い。
The present invention is not limited to the network as in the above-described first embodiment, but can be widely applied to a system having devices such as a master and a slave that need to maintain a master-slave relationship. For example, the network does not have to be a packet transfer system. The layers of the two types of addresses may be those of other layers.

【0044】[0044]

【発明の効果】以上のように、本発明のスレーブ端末制
御方法及びシステムによれば、宛先を、所定階層につい
ては、ブロードキャスト用のアドレスとした制御情報を
マスター端末から送信するようにしたので、スレーブ端
末の所定階層でのアドレスがマスター端末からの制御以
外の方法によって変更されてもマスター端末からの制御
を継続することができる。
As described above, according to the slave terminal control method and system of the present invention, the control information having the destination as the broadcast address for the predetermined layer is transmitted from the master terminal. Even if the address of the slave terminal in the predetermined layer is changed by a method other than the control from the master terminal, the control from the master terminal can be continued.

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

【図1】第1の実施形態のマスター端末及びスレーブ端
末のLANインタフェース部の機能的構成例を示す説明
図である。
FIG. 1 is an explanatory diagram illustrating a functional configuration example of LAN interface units of a master terminal and a slave terminal according to a first embodiment.

【図2】マスター端末及びスレーブ端末を有するネット
ワークシステムの概念構成を示すブロック図である。
FIG. 2 is a block diagram showing a conceptual configuration of a network system having a master terminal and a slave terminal.

【図3】従来のスレーブ端末制御方法を説明するための
シーケンス図である。
FIG. 3 is a sequence diagram for explaining a conventional slave terminal control method.

【図4】従来の課題を説明するためのシーケンス図であ
る。
FIG. 4 is a sequence diagram for explaining a conventional problem.

【図5】第1の実施形態のスレーブ端末制御方法を説明
するためのシーケンス図である。
FIG. 5 is a sequence diagram for explaining a slave terminal control method according to the first embodiment.

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

1…ネットワーク、2…マスター端末、3…スレーブ端
末。
1 ... Network, 2 ... Master terminal, 3 ... Slave terminal.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 マスター端末及びスレーブ端末が同一ネ
ットワークに接続され、上記マスター端末が上記スレー
ブ端末の所定階層でのアドレスを付与する機能を備えて
いると共に、上記マスター端末が上記スレーブ端末に制
御情報を送信して上記スレーブ端末を制御するスレーブ
端末制御方法において、 上記マスター端末が、上記制御情報の宛先として、上記
所定階層についてはブロードキャスト用のアドレスを挿
入すると共に、上記所定階層以外の階層に係る上記スレ
ーブ端末に固有なアドレスを挿入し、 上記スレーブ端末が、ネットワークを流れている通信情
報のうち、上記所定階層についてはブロードキャスト用
のアドレスが挿入されていると共に、上記所定階層以外
の階層に係るアドレスとしては、自己端末に固有なアド
レスが挿入されている通信情報を、上記マスター端末か
ら自己への制御情報として取り込むことを特徴とするス
レーブ端末制御方法。
1. A master terminal and a slave terminal are connected to the same network, the master terminal has a function of assigning an address in a predetermined layer of the slave terminal, and the master terminal has control information for the slave terminal. In a slave terminal control method for controlling the slave terminal by transmitting a broadcast address for the predetermined layer as a destination of the control information, in addition to a layer other than the predetermined layer. An address unique to the slave terminal is inserted, and the slave terminal has a broadcast address inserted for the predetermined layer in the communication information flowing through the network and is related to a layer other than the predetermined layer. As the address, the unique address of the self terminal is inserted. Is communication information is, slave terminal control method characterized by taking as control information to the self from the master terminal.
【請求項2】 上記所定階層でのアドレスがIPアドレ
スであり、上記所定階層以外の階層でのアドレスがMA
Cアドレスであることを特徴とする請求項1に記載のス
レーブ端末制御方法。
2. An address in the predetermined layer is an IP address, and an address in a layer other than the predetermined layer is MA.
The slave terminal control method according to claim 1, wherein the slave terminal control method is a C address.
【請求項3】 マスター端末及びスレーブ端末が同一ネ
ットワークに接続され、上記マスター端末が上記スレー
ブ端末の所定階層でのアドレスを付与する機能を備えて
いると共に、上記マスター端末が上記スレーブ端末に制
御情報を送信して上記スレーブ端末を制御するスレーブ
端末制御システムにおいて、 上記マスター端末が、宛先として、上記所定階層につい
てはブロードキャスト用のアドレスを挿入すると共に、
上記所定階層以外の階層に係る上記スレーブ端末に固有
なアドレスを挿入した上記制御情報を形成する制御情報
形成手段を備え、 上記スレーブ端末が、ネットワークを流れている通信情
報のうち、上記所定階層についてはブロードキャスト用
のアドレスが挿入されていると共に、上記所定階層以外
の階層に係るアドレスとしては、自己端末に固有なアド
レスが挿入されている通信情報を、上記マスター端末か
ら自己への制御情報として取り込む制御情報取り込み手
段を備えたことを特徴とするスレーブ端末制御システ
ム。
3. A master terminal and a slave terminal are connected to the same network, the master terminal has a function of giving an address in a predetermined layer of the slave terminal, and the master terminal sends control information to the slave terminal. In the slave terminal control system for controlling the slave terminal, the master terminal inserts a broadcast address for the predetermined layer as a destination,
The slave terminal is provided with control information forming means for forming the control information in which an address peculiar to the slave terminal related to a layer other than the predetermined layer is inserted. In addition to the broadcast address being inserted, the communication information in which the address unique to the self terminal is inserted as the address related to the layers other than the predetermined layer is taken in as control information from the master terminal to itself. A slave terminal control system comprising control information fetching means.
【請求項4】 上記所定階層でのアドレスがIPアドレ
スであり、上記所定階層以外の階層でのアドレスがMA
Cアドレスであることを特徴とする請求項1に記載のス
レーブ端末制御システム。
4. An address in the predetermined layer is an IP address, and an address in a layer other than the predetermined layer is MA.
The slave terminal control system according to claim 1, wherein the slave terminal control system is a C address.
JP2002085405A 2002-03-26 2002-03-26 Slave terminal control method and system Pending JP2003283516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002085405A JP2003283516A (en) 2002-03-26 2002-03-26 Slave terminal control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002085405A JP2003283516A (en) 2002-03-26 2002-03-26 Slave terminal control method and system

Publications (1)

Publication Number Publication Date
JP2003283516A true JP2003283516A (en) 2003-10-03

Family

ID=29232386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002085405A Pending JP2003283516A (en) 2002-03-26 2002-03-26 Slave terminal control method and system

Country Status (1)

Country Link
JP (1) JP2003283516A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095793A (en) * 2011-11-01 2013-05-08 新游网络科技有限公司 Method, system and service server for managing pc-room

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095793A (en) * 2011-11-01 2013-05-08 新游网络科技有限公司 Method, system and service server for managing pc-room
JP2013097778A (en) * 2011-11-01 2013-05-20 Neowiz Games Co Ltd Internet cafe management method, management system, and service server

Similar Documents

Publication Publication Date Title
US6061739A (en) Network address assignment using physical address resolution protocols
US5915119A (en) Proxy terminal for network controlling of power managed user terminals in suspend mode
US7412515B2 (en) Method and apparatus for dynamic assignment of network protocol addresses
US6219697B1 (en) Method and apparatus for operating the internet protocol over a high-speed serial bus
US5854901A (en) Method and apparatus for serverless internet protocol address discovery using source address of broadcast or unicast packet
US20040071148A1 (en) Information device, gateway device and control method
US6772420B1 (en) System for obtaining appropriate device drivers by accessing table having list of manufacturers and link-layer addresses assigned to device drivers
JPH1093597A (en) Communication control method and electronic equipment
US20060069836A1 (en) Communication system and method for upgrade of user terminal software and user terminal upgraded by the same
JP4411222B2 (en) Network, network terminal device, IP address management method used therefor, and program thereof
JP2008085687A (en) Remote control system, method and device, and control packet transmitter, and control method and program for them
US7881300B2 (en) Broadcasting between subnetworks connected via a router
US8363246B2 (en) Communication control apparatus communicatable with an external apparatus and a controller, and a method of controlling the communication control apparatus
JP2001101109A5 (en)
US8601271B2 (en) Method and system for power management using ICMPV6 options
KR20040029008A (en) Apparatus and method of coordinating network events
JP2006352719A (en) Apparatus, method for monitoring network, network system, network monitoring method and network communication method
JPH1117726A (en) Connection controller for ip network with built-in dns function
JP2007243825A (en) Controller to which programmable controller is applied
JP2006148813A (en) Analysis apparatus management system, and program and analysis apparatus for analysis apparatus management server
JP2003283516A (en) Slave terminal control method and system
JP5175474B2 (en) Device control system
EP1355476A1 (en) Processing device for address allocation
JP2003124935A (en) Apparatus, method and program for setting fixed address
JP2000316002A (en) Dynamic host configuration server and dynamic host configuration method