JP2005142843A - Method and system for master/slave communication - Google Patents

Method and system for master/slave communication Download PDF

Info

Publication number
JP2005142843A
JP2005142843A JP2003377237A JP2003377237A JP2005142843A JP 2005142843 A JP2005142843 A JP 2005142843A JP 2003377237 A JP2003377237 A JP 2003377237A JP 2003377237 A JP2003377237 A JP 2003377237A JP 2005142843 A JP2005142843 A JP 2005142843A
Authority
JP
Japan
Prior art keywords
master
slave
address
packet
function software
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
JP2003377237A
Other languages
Japanese (ja)
Inventor
Yukio Chikushima
幸男 築島
Atsushi Watanabe
篤 渡辺
Katsuhiro Shimano
勝弘 島野
Wataru Imayado
亙 今宿
Akio Sawara
明夫 佐原
Yasutaka Okazaki
康敬 岡崎
Yoshiaki Sone
由明 曽根
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003377237A priority Critical patent/JP2005142843A/en
Publication of JP2005142843A publication Critical patent/JP2005142843A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically set an IP address of a slave. <P>SOLUTION: When a master device transmits a request IP packet requesting a slave device to send back an IP address, the slave device receives the request IP packet from the master device and sends an answer IP packet answering the IP address of itself, and the master device discriminates the IP address of the slave device as to the received answer IP packet to set the IP address of the slave device. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、マスタ/スレーブ通信方法及びシステムに係り、特に、マスタ装置とスレーブ装置とのTCP/IP通信における、スレーブ装置のIPアドレスをマスタ装置に自動設定させるためのマスタ/スレーブ通信方法及びシステムに関する。   The present invention relates to a master / slave communication method and system, and more particularly to a master / slave communication method and system for automatically setting an IP address of a slave device in a TCP / IP communication between a master device and a slave device. About.

マルチメディア通信を実現するために、ATM(Asynchronous Transfer Mode)というトラフィック伝送方式が開発されている。ATMを実装したATMスイッチで構成されるATMネットワークでは、ITU−TQ.2931、もしくはPNNIに準拠したシグナリングを用いて、VC(Virtual Channel)を制御し、始点のATMスイッチと終点のATMスイッチとをVCで接続する。シグナリングを介してVCの制御を要求されたATMスイッチは、自身に実装されているスイッチ制御プロトコルに従ってスイッチやポートを制御する(例えば、非特許文献1参照)。   In order to realize multimedia communication, a traffic transmission system called ATM (Asynchronous Transfer Mode) has been developed. In an ATM network composed of ATM switches equipped with ATM, ITU-TQ. The virtual channel (VC) is controlled using signaling conforming to 2931 or PNNI, and the start point ATM switch and the end point ATM switch are connected by VC. The ATM switch requested to control the VC through signaling controls the switch and the port according to the switch control protocol installed in the ATM switch (see, for example, Non-Patent Document 1).

スイッチ制御プロトコルの1つとして、GSMP(General Switch Management Protocol)というものが開発された。GSMPにより、多数のベンダのATMスイッチを共通のシグナリングで制御可能となる。GSMPはマスタ装置及びスレーブ装置と呼ばれる二つの機能部で構成され、スレーブ装置は、ATMスイッチのことであり、マスタ装置とは、シグナリングの要求を受け付けてATMスイッチを制御するコントローラのことである。マスタ装置とスレーブ装置との通信形態は、サーバ・クライアント型通信であり、マスタ装置がクライアント機能を有し、スレーブ装置がサーバ機能を有する。また、マスタ装置とスレーブ装置間の通信では、伝送方式として、TCP/IP、または、Ethernet(登録商標)、または、ATMを用いることが定義され、さらに多対多接続を行うことが可能である。   As one of switch control protocols, GSMP (General Switch Management Protocol) has been developed. With GSMP, it is possible to control a large number of vendor ATM switches with common signaling. The GSMP is composed of two functional units called a master device and a slave device. The slave device is an ATM switch, and the master device is a controller that receives a signaling request and controls the ATM switch. The communication mode between the master device and the slave device is server / client type communication, where the master device has a client function and the slave device has a server function. In communication between a master device and a slave device, it is defined that TCP / IP, Ethernet (registered trademark), or ATM is used as a transmission method, and it is possible to perform many-to-many connection. .

最近、OXC装置(Optical Cross Connect System)のスイッチ及びポートの制御方法として、GSMPを利用することが考えられ、GSMPを汎用スイッチ制御プロトコルとして利用する気運が高まっている。
RFC3293
Recently, using GSMP as a method for controlling switches and ports of an OXC apparatus (Optical Cross Connect System) has been considered, and there is a growing tendency to use GSMP as a general-purpose switch control protocol.
RFC3293

マスタ装置とスレーブ装置とが、TCP/IPを用いて通信する場合、マスタ装置はスレーブ装置に対して、TCPコネクションの確立を要求するためのSYNメッセージを送信する必要がある。マスタ装置は、スレーブ装置に対してユニキャストでSYNメッセージを送信するため、マスタ装置は予めスレーブ装置のIPアドレスを認知している必要がある。このため、スレーブのIPアドレスをマスタ装置に予め設定しておく必要がある。   When the master device and the slave device communicate using TCP / IP, the master device needs to transmit a SYN message for requesting establishment of a TCP connection to the slave device. Since the master device transmits a SYN message by unicast to the slave device, the master device needs to recognize the IP address of the slave device in advance. For this reason, it is necessary to preset the IP address of the slave in the master device.

しかしながら、マスタ装置とスレーブ装置との接続状態は動的に変化するため、スレーブ装置のIPアドレスについては、マスタ装置に手動設定する必要がある。しかし、手動設定する場合、多数のスレーブ装置のIPアドレスをマスタ装置毎に設定する必要があり、非常に労力を必要とする他、設定間違いを引き起こし易い。   However, since the connection state between the master device and the slave device changes dynamically, it is necessary to manually set the IP address of the slave device in the master device. However, in the case of manual setting, it is necessary to set the IP addresses of a large number of slave devices for each master device, which is very labor intensive and tends to cause a setting error.

本発明は、上記の点に鑑みなされたもので、労力を減らし、設定間違いを抑止するため、スレーブ装置のIPアドレスを自動的にマスタ装置に設定することが可能なマスタ/スレーブ通信方法及びシステムを提供することを目的とする。   The present invention has been made in view of the above points, and a master / slave communication method and system capable of automatically setting an IP address of a slave device in a master device in order to reduce labor and suppress setting errors. The purpose is to provide.

図1は、本発明の原理を説明するための図である。   FIG. 1 is a diagram for explaining the principle of the present invention.

本発明は、マスタとなる通信装置(以下、マスタ装置と記す)とスレーブとなる通信装置(以下、スレーブ装置と記す)との間でTCP/IP通信し、TCPコネクションを確立する前に、該マスタ装置が未知のスレーブ装置のIPアドレスを設定するマスタ/スレーブ通信方法において、
マスタ装置は、
IPアドレス用マスタ機能ソフトウェアを用いて、スレーブ装置に対して制御信号用スレーブインタフェースのIPアドレスを返答することを要求する要求IPパケットを送信し(ステップ1)、
スレーブ装置は、
マスタ装置から要求IPパケット受信すると、IPアドレス用スレーブ機能ソフトウェアを用いて、自身の制御信号用スレーブインタフェースのIPアドレスを応答するための応答IPパケットを該マスタ装置に送信し(ステップ2)、
マスタ装置は、
スレーブ装置から応答IPパケットを受信すると、IPアドレス用マスタ機能ソフトウェアが該スレーブ装置のIPアドレスを識別して、マスタ機能ソフトウェアに通知し(ステップ3)、
マスタ機能ソフトウェアにおいて、スレーブ装置のIPアドレスを設定する(ステップ4)。
The present invention performs TCP / IP communication between a master communication device (hereinafter referred to as a master device) and a slave communication device (hereinafter referred to as a slave device), and before establishing a TCP connection, In the master / slave communication method in which the master device sets the IP address of an unknown slave device,
The master device
Using the IP address master function software, send a request IP packet requesting the slave device to return the IP address of the slave interface for the control signal (step 1).
Slave device
When the request IP packet is received from the master device, the response IP packet for responding the IP address of the slave interface for the control signal is transmitted to the master device using the slave function software for IP address (step 2).
The master device
When the response IP packet is received from the slave device, the master function software for IP address identifies the IP address of the slave device and notifies the master function software (step 3).
In the master function software, the IP address of the slave device is set (step 4).

また、本発明は、マスタ機能ソフトウェアがGSMP(のマスタであり、スレーブ機能ソフトウェアが、GSMPのスレーブである。   In the present invention, the master function software is a master of GSMP (and the slave function software is a slave of GSMP.

また、本発明は、マスタ装置において、IPアドレス用マスタ機能ソフトウェアが、スレーブ装置の制御信号用スレーブインタフェースのIPアドレスを問い合わせるための要求IPパケットをマルチキャストもしくは、ブロードキャストし、
要求IPパケットを受信したスレーブ装置のIPアドレス用スレーブ機能ソフトウェアが、自スレーブ装置内の制御信号用スレーブインタフェースのIPアドレスの情報を含んだ応答パケットを、マスタ装置のIPアドレス用マスタ機能ソフトウェアに対して返信し、
マスタ装置において、IPアドレス用マスタ機能ソフトウェアが、応答IPパケットを受信することにより、制御信号用スレーブインタフェースのIPアドレスを認知して、マスタ機能ソフトウェアに設定する。
Further, according to the present invention, in the master device, the master function software for IP address multicasts or broadcasts a request IP packet for inquiring the IP address of the slave interface for the control signal of the slave device,
The slave function software for the IP address of the slave device that has received the request IP packet sends a response packet including the IP address information of the slave interface for the control signal in the slave device to the master function software for the IP address of the master device. Reply
In the master device, the master function software for IP address receives the response IP packet, recognizes the IP address of the slave interface for control signal, and sets it in the master function software.

また、本発明は、スレーブ装置のIPアドレス用スレーブ機能ソフトウェアが自スレーブ装置内の制御信号用スレーブインタフェースのIPアドレスの情報を、マスタ装置のマスタ機能ソフトウェアに広告するための広告IPパケットを、IPマルチキャストもしくは、IPブロードキャストし、
マスタ装置のIPアドレス用マスタ機能ソフトウェアにおいて、広告IPパケットを受信し、該広告IPパケットを送信した制御信号用スレーブインタフェースのIPアドレスを認知して、マスタ機能ソフトウェアに設定する。
Further, the present invention provides an IP address advertisement packet for IP address slave function software of the slave device to advertise the IP address information of the slave interface for control signals in the slave device to the master function software of the master device. Multicast or IP broadcast,
The master function software for the IP address of the master device receives the advertisement IP packet, recognizes the IP address of the slave interface for the control signal that transmitted the advertisement IP packet, and sets it in the master function software.

また、本発明は、要求IPパケット、応答IPパケット及び広告IPパケットとして、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、IPペイロード内に該パケットの種別を明示する識別情報を設定する。   Further, according to the present invention, as a request IP packet, a response IP packet, and an advertisement IP packet, a specific IP multicast address is set in the destination address, and identification information that clearly indicates the type of the packet is set in the IP payload.

また、本発明は、要求IPパケット、応答IPパケット及び広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ/スレーブ通信方法のためのパケットであることを示すための特定ポート番号を有し、UDPペイロード内に該パケットの種別を明示する識別情報を設定する。   The present invention also accommodates UDP as a request IP packet, a response IP packet, and an advertisement IP packet, sets a specific IP multicast address as the destination address, and a packet for the master / slave communication method in the UDP header. ID information that clearly indicates the type of the packet is set in the UDP payload.

また、本発明は、要求IPパケット、応答IPパケット及び広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ/スレーブ通信方法のためのパケットであることを示すための特定ポート番号を有し、UDPペイロード内に該パケットの種別を明示する識別情報を設定する。   Further, the present invention accommodates UDP as a request IP packet, a response IP packet, and an advertisement IP packet, sets a specific IP broadcast address as the destination address, and a packet for the master / slave communication method in the UDP header. ID information that clearly indicates the type of the packet is set in the UDP payload.

また、本発明は、マスタ装置において、IPアドレス用マスタ機能ソフトウェアが、スレーブ装置の制御信号用スレーブインタフェースのIPアドレスを問い合わせるための要求IPパケットをマルチキャストもしくは、ブロードキャストし、
要求IPパケットを受信したスレーブ装置のIPアドレス用スレーブ機能ソフトウェアが、自スレーブ装置内の制御信号用スレーブインタフェースのIPアドレスの情報を含んだ応答パケットを、マスタ装置のIPアドレス用マスタ機能ソフトウェアに対して返信し、
マスタ装置において、IPアドレス用マスタ機能ソフトウェアが、応答IPパケットを受信することにより、制御信号用スレーブインタフェースのIPアドレスを認知して、マスタ機能ソフトウェアに設定する一連の処理を、定期的に実行する。
Further, according to the present invention, in the master device, the master function software for IP address multicasts or broadcasts a request IP packet for inquiring the IP address of the slave interface for the control signal of the slave device,
The slave function software for the IP address of the slave device that has received the request IP packet sends a response packet including the IP address information of the slave interface for the control signal in the slave device to the master function software for the IP address of the master device. Reply
In the master device, the master function software for IP address receives the response IP packet, thereby recognizing the IP address of the slave interface for control signals and periodically executing a series of processes set in the master function software. .

図2は、本発明の原理構成図である。   FIG. 2 is a principle configuration diagram of the present invention.

本発明は、マスタとなる通信装置(以下、マスタ装置と記す)とスレーブとなる通信装置(以下、スレーブ装置と記す)との間でTCP/IP通信し、TCPコネクションを確立する前に、該マスタ装置が未知のスレーブ装置のIPアドレスを設定するマスタ/スレーブ通信システムであって、
マスタ装置100は、
スレーブ装置200を制御するマスタ機能ソフトウェア110と、
スレーブ装置200に対して制御信号用スレーブインタフェースのIPアドレスを返答することを要求する要求IPパケットを送信し、該スレーブ装置200から応答された応答IPパケットのIPアドレスをマスタ機能ソフトウェアに通知するIPアドレス用マスタ機能ソフトウェア120と、
自身100とスレーブ装置200との間で制御信号の送受信を行うための制御信号用マスタインタフェース130と、
各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行うマスタオペレーションシステム140と、を有し、
スレーブ装置200は、
主信号の経路交換を行う経路交換手段210と、
経路交換手段210を制御し、また、マスタ装置との間で制御信号を交換するスレーブ機能ソフトウェア220と、
自身200とマスタ装置100との間で制御信号の送受信を行うための制御信号用スレーブインタフェース240と、
マスタ装置100から受信した要求IPパケットに応じて自身の制御信号用スレーブインタフェース240のIPアドレスを応答する応答IPパケットを送信し、また、自主的に制御信号用スレーブインタフェース240のIPアドレスをマスタ装置100に広告する広告IPパケットを送信するIPアドレス用スレーブ機能ソフトウェア230と、
スレーブ機能ソフトウェア220と経路交換手段210との間で制御信号の送受信を行うための経路交換制御用インタフェース250と、
各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行うスレーブオペレーションシステム260と、を有する。
The present invention performs TCP / IP communication between a master communication device (hereinafter referred to as a master device) and a slave communication device (hereinafter referred to as a slave device), and before establishing a TCP connection, A master / slave communication system in which the master device sets an IP address of an unknown slave device,
The master device 100
Master function software 110 for controlling the slave device 200;
An IP that transmits a request IP packet for requesting the slave device 200 to return the IP address of the slave interface for control signals, and notifies the master function software of the IP address of the response IP packet returned from the slave device 200 Master function software 120 for addresses;
A control signal master interface 130 for transmitting and receiving control signals between itself 100 and slave device 200;
A master operation system 140 that mediates control signals between each interface and each software,
The slave device 200
Path switching means 210 for switching the path of the main signal;
Slave function software 220 for controlling the path switching means 210 and exchanging control signals with the master device;
A control signal slave interface 240 for transmitting and receiving control signals between itself 200 and master device 100;
In response to the request IP packet received from the master device 100, a response IP packet is transmitted that responds with the IP address of its own control signal slave interface 240, and the IP address of the control signal slave interface 240 is voluntarily assigned to the master device. IP address slave function software 230 for transmitting an advertisement IP packet to be advertised to 100,
A path exchange control interface 250 for transmitting and receiving control signals between the slave function software 220 and the path exchange means 210;
A slave operation system 260 that mediates control signals between each interface and each software.

また、本発明のマスタ機能ソフトウェア110は、GSMPのマスタとして動作し、スレーブ機能ソフトウェア230は、GSMPのスレーブとして動作する。   The master function software 110 of the present invention operates as a GSMP master, and the slave function software 230 operates as a GSMP slave.

また、本発明のマスタ装置100のIPアドレス用マスタ機能ソフトウェア120は、
マスタ装置100とスレーブ装置200との間でTCP/IP通信するためのTCPコネクションを確立する前に、該スレーブ装置の制御信号用スレーブインタフェース240のIPアドレスを問い合わせるための要求IPパケットをマルチキャストもしくは、ブロードキャストするマスタ要求手段と、
スレーブ装置200から応答IPパケットを受信することで、制御信号用スレーブインタフェース240のIPアドレスを認知してマスタ機能ソフトウェア110に設定するマスタ設定手段と、を含み、
スレーブ装置200のIPアドレス用スレーブ機能ソフトウェア230は、
自スレーブ内の制御信号用スレーブインタフェース240のIPアドレスの情報を含んだ応答IPパケットを、マスタ装置100のIPアドレス用マスタ機能ソフトウェア120に対して返信するスレーブ応答手段を含む。
The master function software 120 for the IP address of the master device 100 of the present invention is
Before establishing a TCP connection for TCP / IP communication between the master device 100 and the slave device 200, a request IP packet for inquiring the IP address of the slave interface for control signal 240 of the slave device is multicast or A master request means for broadcasting;
Master setting means for receiving the response IP packet from the slave device 200 and recognizing the IP address of the slave interface for control signal 240 and setting it in the master function software 110,
The slave function software 230 for the IP address of the slave device 200 is
Slave response means for returning a response IP packet including the IP address information of the slave interface for control signal 240 in its own slave to the master function software 120 for IP address of the master device 100 is included.

また、本発明のスレーブ装置200のIPアドレス用スレーブ機能ソフトウェア230は、
マスタ装置100との間でTCP/IP通信するためのTCPコネクションを確立する前に、自スレーブ装置内の制御信号スレーブインタフェース240のIPアドレスの情報をマスタ装置100のマスタ機能ソフトウェア110に広告するための広告IPパケットをIPマルチキャストもしくは、IPブロードキャストするスレーブ広告手段を含み、
マスタ装置100のIPアドレス用マスタ機能ソフトウェア120は、
広告IPパケットを受信することで、広告IPパケットを送信した制御信号用スレーブインタフェース240のIPアドレスを認知してマスタ機能ソフトウェア110に設定するマスタ設定手段を含む。
The slave function software 230 for the IP address of the slave device 200 of the present invention is
In order to advertise the IP address information of the control signal slave interface 240 in its own slave device to the master function software 110 of the master device 100 before establishing a TCP connection for TCP / IP communication with the master device 100 Slave advertisement means for IP multicast or IP broadcast of the advertisement IP packet of
The master function software 120 for the IP address of the master device 100 is
Master setting means for receiving the advertisement IP packet and recognizing the IP address of the control signal slave interface 240 that has transmitted the advertisement IP packet and setting the master function software 110 is included.

また、本発明のマスタ装置100は、
要求IPパケットとして、ディスティネーションアドレスに特定のIPマルチやストアドレスを設定し、IPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the master device 100 of the present invention includes:
The request IP packet includes a means for setting a specific IP multi or a strike address as the destination address and setting identification information for clearly indicating the role in the IP payload.

また、本発明のスレーブ装置200は、
応答IPパケット、及び広告IPパケットとして、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、IPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the slave device 200 of the present invention includes:
The response IP packet and the advertisement IP packet include means for setting a specific IP multicast address as the destination address and setting identification information that clearly indicates the role in the IP payload.

また、本発明のマスタ装置100は、
要求IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通信方法のためのパケットであることを示すための特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the master device 100 of the present invention includes:
A specific port for accommodating UDP as a request IP packet, setting a specific IP multicast address as the destination address, and indicating that the packet is for a communication method between the master device and the slave device in the UDP header Means for setting identification information having a number and specifying a role in the UDP payload.

また、本発明のスレーブ装置200は、
応答IPパケット及び広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通信方法のためのパケットであることを示すための特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the slave device 200 of the present invention includes:
To accommodate UDP as a response IP packet and advertisement IP packet, set a specific IP multicast address as the destination address, and indicate that the packet is for the communication method between the master device and the slave device in the UDP header Means for setting identification information having a specific port number and specifying the role in the UDP payload.

また、本発明のマスタ装置100は、
要求IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通知方法のためのパケットであることを示す特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the master device 100 of the present invention includes:
UDP is accommodated as a request IP packet, a specific IP broadcast address is set as the destination address, and a specific port number indicating that the packet is for a notification method between the master device and the slave device in the UDP header. And means for setting identification information that clearly indicates the role in the UDP payload.

また、本発明のスレーブ装置200は、
応答IPパケット、及び広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通知方法のためのパケットであることを示す特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the slave device 200 of the present invention includes:
UDP is accommodated as a response IP packet and an advertisement IP packet, a specific IP broadcast address is set in the destination address, and the UDP header indicates a packet for a notification method between the master device and the slave device Means for setting identification information having a specific port number and specifying the role in the UDP payload is included.

上記のように、GSMPにおけるマスタ・スレーブとのTCP/IP通信において、マスタ装置は自身が送信したIPマルチキャストパケットもしくは、IPブロードキャストパケットが到達可能なスレーブ全てに対してスレーブのIPアドレスをマスタ装置に応答することを自主的に要求可能になり、応答したスレーブのIPアドレスを自動的に設定可能となる。   As described above, in the TCP / IP communication with the master / slave in GSMP, the master device sends the IP address of the slave to the master device for all the slaves that can be reached by the IP multicast packet or IP broadcast packet. It becomes possible to voluntarily request to respond, and the IP address of the responding slave can be automatically set.

また、スレーブ装置は、自身が送信したIPマルチキャストパケットもしくはIPブロードキャストパケットが到達可能なマスタ全てに対して自身のIPアドレスを自主的に広告可能となり、広告を受けたマスタ装置は、スレーブ装置のIPアドレスを自動的に設定可能となる。例えば、マスタ装置が存在するネットワークに新たなスレーブ装置が接続された場合、このスレーブ装置が自主的にマスタ装置に自身のIPアドレスを広告できる。   In addition, the slave device can independently advertise its own IP address to all the masters to which the IP multicast packet or IP broadcast packet transmitted by itself can reach, and the master device that has received the advertisement can receive the IP of the slave device. The address can be automatically set. For example, when a new slave device is connected to a network in which the master device exists, this slave device can independently advertise its own IP address to the master device.

また、IPアドレス用マスタ機能ソフトウェアは、自身が送信したIPマルチキャストパケットもしくはIPブロードキャストパケットが到達可能なIPアドレス用スレーブ機能ソフトウェア全てに対してスレーブ装置の制御信号用スレーブインタフェースのIPアドレスをIPアドレス用マスタ機能ソフトウェアに応答することが自主的に要求可能となり、応答したIPアドレス用スレーブ機能ソフトウェアの制御信号用スレーブインタフェースのIPアドレスを自動的にマスタ機能ソフトウェアに設定可能となる。   In addition, the IP address master function software uses the IP address of the slave interface for the control signal of the slave device for the IP address for all the IP address slave function software that can be reached by the IP multicast packet or IP broadcast packet transmitted by itself. It is possible to voluntarily request to respond to the master function software, and the IP address of the control signal slave interface of the responding IP address slave function software can be automatically set in the master function software.

また、IPアドレス用スレーブ機能ソフトウェアが、自身が送信したIPマルチキャストパケットもしくはIPブロードキャストパケットが到達可能なIPアドレス用マスタ機能ソフトウェア全てに対して制御信号用スレーブインタフェースのIPアドレスを自主的に広告可能となり、広告を受けたIPアドレス用マスタ機能ソフトウェアは制御信号用スレーブインタフェースのIPアドレスを自動的に設定可能となる。例えば、マスタ装置が存在するネットワークに新たなスレーブ装置が接続された場合、このスレーブ装置が自主的にマスタ装置に自身のIPアドレスを広告できる。   The IP address slave function software can independently advertise the IP address of the slave interface for the control signal to all the IP address master function software that can be reached by the IP multicast packet or IP broadcast packet sent by itself. Upon receiving the advertisement, the IP address master function software can automatically set the IP address of the control signal slave interface. For example, when a new slave device is connected to a network in which the master device exists, this slave device can independently advertise its own IP address to the master device.

また、マスタ装置及びスレーブ装置において、自身が受信したIPパケットが、要求IPパケット、または、応答IPパケット、または、広告IPパケットのいずれであるかを識別できる。   In addition, the master device and the slave device can identify whether the IP packet received by the master device is a request IP packet, a response IP packet, or an advertisement IP packet.

また、一連の処理を定期的に実行することにより、マスタ装置が存在するネットワークに新たなスレーブ装置が接続された場合において、または、マスタ装置とスレーブ装置とのTCPコネクションが切断された場合において、マスタ装置は自主的かつ定期的に未知のスレーブを発見可能となり、このスレーブ装置のIPアドレスを取得可能となる。   In addition, by executing a series of processes periodically, when a new slave device is connected to the network where the master device exists, or when the TCP connection between the master device and the slave device is disconnected, The master device can voluntarily and periodically find an unknown slave, and can acquire the IP address of this slave device.

以下、図面と共に本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図3は、本発明の一実施の形態におけるマスタ装置の構成を示す。   FIG. 3 shows a configuration of the master device in one embodiment of the present invention.

マスタ装置100は、スレーブ装置を制御する装置であり、マスタ機能ソフトウェア110、IPアドレス用マスタ機能ソフトウェア120、制御信号用マスタインタフェース130、及びマスタオペレーションシステム140から構成される。   The master device 100 is a device that controls a slave device, and includes a master function software 110, an IP address master function software 120, a control signal master interface 130, and a master operation system 140.

マスタ機能ソフトウェア110は、スレーブ装置を制御する。   The master function software 110 controls the slave device.

IPアドレス用マスタ機能ソフトウェア120は、スレーブ装置に対してスレーブ装置のIPアドレスを返答することを要求し、スレーブ装置から応答されたIPアドレスをマスタ機能ソフトウェア110に通知する。   The IP address master function software 120 requests the slave device to return the IP address of the slave device, and notifies the master function software 110 of the IP address returned from the slave device.

制御信号用マスタインタフェース130は、IPアドレス用マスタ機能ソフトウェア120と、自身とスレーブ装置との間で制御信号の送受信を行う。   The control signal master interface 130 transmits and receives control signals between the IP address master function software 120 and itself and the slave device.

マスタオペレーションシステム140は、各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行う。   The master operation system 140 mediates control signals between each interface and each software.

図4は、本発明の一実施の形態におけるスレーブ装置の構成を示す。   FIG. 4 shows the configuration of the slave device according to the embodiment of the present invention.

スレーブ装置200は、マスタ装置100の命令を受けて、主信号の経路交換を行う装置であり、経路交換部210、スレーブ機能ソフトウェア220、IPアドレス用スレーブ機能ソフトウェア230、制御信号用スレーブインタフェース240、経路交換制御用インタフェース250、スレーブオペレーションシステム260から構成される。   The slave device 200 is a device that receives a command from the master device 100 and performs route exchange of the main signal. The route exchange unit 210, slave function software 220, IP address slave function software 230, control signal slave interface 240, It comprises a path exchange control interface 250 and a slave operation system 260.

経路交換部210は、主信号の経路交換を行う。   The route exchange unit 210 performs route exchange of the main signal.

スレーブ機能ソフトウェア220は、経路交換部210を制御し、また、マスタ装置100との間で制御信号を交換する。   The slave function software 220 controls the path exchange unit 210 and exchanges control signals with the master device 100.

IPアドレス用スレーブ機能ソフトウェア230は、マスタ装置100からの要求に応じて自身のIPアドレスを応答し、また、自主的に自身のIPアドレスをマスタ装置100に広告する。   The IP address slave function software 230 responds to its own IP address in response to a request from the master device 100, and voluntarily advertises its own IP address to the master device 100.

制御信号用スレーブインタフェース240は、自身とマスタ装置100との間で制御信号の送受信を行う。   The control signal slave interface 240 transmits and receives control signals between itself and the master device 100.

経路交換制御用インタフェース250は、スレーブ機能ソフトウェア220と経路交換部210との間で制御信号の送受信を行う。   The path exchange control interface 250 transmits and receives control signals between the slave function software 220 and the path exchange unit 210.

スレーブオペレーションシステム260は、各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行う。   The slave operation system 260 mediates control signals between each interface and each software.

また、上記のマスタ装置100のマスタ機能ソフトウェア110及び、スレーブ装置200のスレーブ機能ソフトウェア220として、GSMPを用いる。   Further, GSMP is used as the master function software 110 of the master device 100 and the slave function software 220 of the slave device 200.

GSMPは、ATM及びOXC等のスイッチ装置を管理するためのプロトコルであり、通信キャリアのネットワークには、一般に数十台を越えるスイッチ装置が存在する。図5にマスタ装置100とスレーブ装置200との物理的な接続関係を示す。   GSMP is a protocol for managing switch devices such as ATM and OXC, and there are generally several tens of switch devices in a network of communication carriers. FIG. 5 shows a physical connection relationship between the master device 100 and the slave device 200.

図5に示すように、GSMPのような多対多接続するマスタ−スレーブ間通信に適用したほうが、1対1接続するマスタ−スレーブ通信の時よりも効果が大きい。   As shown in FIG. 5, the application to the master-slave communication with many-to-many connection such as GSMP is more effective than the master-slave communication with one-to-one connection.

また、図6は、本発明の一実施の形態におけるIPアドレス用マスタ機能ソフトウェア及びIPアドレス用スレーブ機能ソフトウェアの動作のフローチャートである。   FIG. 6 is a flowchart of operations of the IP address master function software and the IP address slave function software according to the embodiment of the present invention.

マスタ装置100とスレーブ装置200との間でTCPコネクションを確立する前に、マスタ装置100がスレーブ装置200のIPアドレスを問い合わせるための要求IPパケットをマルチキャストもしくはブロードキャストすることにより(ステップ101)、当該要求IPパケットを受信したスレーブ装置200が、当該要求IPパケットのペイロードを確認し(ステップ102,103)、マスタ装置100に対して応答IPパケットを返信する(ステップ104)。   Before establishing a TCP connection between the master device 100 and the slave device 200, the master device 100 multicasts or broadcasts a request IP packet for inquiring about the IP address of the slave device 200 (step 101). The slave device 200 that receives the IP packet confirms the payload of the request IP packet (steps 102 and 103), and returns a response IP packet to the master device 100 (step 104).

マスタ装置100が応答IPパケットを受信すると(ステップ105)、当該応答IPパケットのIPペイロードを確認すると共に、パケット機能を識別し(ステップ106)、スレーブ装置200のIPアドレスを認知して自マスタ装置100に設定する(ステップ107)。   When the master device 100 receives the response IP packet (step 105), the master device 100 confirms the IP payload of the response IP packet, identifies the packet function (step 106), recognizes the IP address of the slave device 200, and recognizes its own master device. 100 is set (step 107).

これにより、IPアドレス用マスタ機能ソフトウェア120は自身が送信したIPマルチキャストパケットもしくは、IPブロードキャストパケットが到達可能なIPアドレス用スレーブ機能ソフトウェア230全てに対してスレーブ装置の制御信号用スレーブインタフェース240のIPアドレスをIPアドレス用マスタ機能ソフトウェア120に応答することを自主的に要求可能となり、応答したIPアドレス用スレーブ機能ソフトウェア230の制御信号用スレーブインタフェース240のIPアドレスを自動的にマスタ機能ソフトウェア110に設定可能となる。   As a result, the IP address master function software 120 sends the IP address of the slave interface 240 for the control signal of the slave device to all the IP address slave function software 230 that can be reached by the IP multicast packet or IP broadcast packet transmitted by itself. Can be voluntarily requested to respond to the IP address master function software 120, and the IP address of the control signal slave interface 240 of the responding IP address slave function software 230 can be automatically set in the master function software 110. It becomes.

図7は、本発明の一実施の形態におけるIPアドレス用マスタ機能ソフトウェア及びIPアドレス用スレーブ機能ソフトウェアの動作のフローチャートである。   FIG. 7 is a flowchart of operations of the IP address master function software and the IP address slave function software according to the embodiment of the present invention.

マスタ装置100のマスタ機能ソフトウェア110と、スレーブ装置200のスレーブ機能ソフトウェア220との間でTCPコネクションを確立する前に、IPアドレス用スレーブ機能ソフトウェア230が、制御信号用スレーブインタフェース240のIPアドレスをIPアドレス用マスタ機能ソフトウェア230に広告するための広告IPパケットをマルチキャストもしくはブロードキャストし(ステップ201)、マスタ装置100のIPアドレスマスタ機能ソフトウェア120が、広告IPパケットを受信し(ステップ202)、スレーブ装置200の制御信号用スレーブインタフェース240のIPアドレスを認知して(ステップ203)、マスタ機能ソフトウェア110に設定する(ステップ204)。   Before establishing the TCP connection between the master function software 110 of the master device 100 and the slave function software 220 of the slave device 200, the IP address slave function software 230 sets the IP address of the control signal slave interface 240 to the IP address. The advertisement IP packet to be advertised to the address master function software 230 is multicast or broadcast (step 201), the IP address master function software 120 of the master apparatus 100 receives the advertisement IP packet (step 202), and the slave apparatus 200 The control signal slave interface 240 is recognized (step 203) and set in the master function software 110 (step 204).

これにより、IPアドレス用スレーブ機能ソフトウェア230は、自身が送信したIPマルチキャストパケットもしくは、IPブロードキャストパケットが到達可能なIPアドレス用マスタ機能ソフトウェア120全てに対して制御信号用スレーブインタフェースのIPアドレスを自主的に広告可能となり、広告を受けたIPアドレス用マスタ機能ソフトウェア20は、制御信号用スレーブインタフェース240のIPアドレスを自動的に設定可能となる。例えば、マスタ装置100が存在するネットワークに新たなスレーブ装置200が接続された場合、このスレーブ装置200が自主的にマスタ装置100に自身のIPアドレスを広告できる。   As a result, the IP address slave function software 230 autonomously assigns the IP address of the control signal slave interface to all the IP address master function software 120 to which the IP multicast packet or IP broadcast packet transmitted by itself can reach. The IP address master function software 20 that has received the advertisement can automatically set the IP address of the slave interface 240 for control signals. For example, when a new slave device 200 is connected to a network in which the master device 100 exists, the slave device 200 can voluntarily advertise its own IP address to the master device 100.

また、上記における要求IPパケット及び応答IPパケット及び広告IPパケットについて、ディスティネーションに特定のIPマルチキャストアドレスを設定し、IPペイロード内に役割を明示する識別情報を設定することで、上記のステップ103、ステップ106、及びステップ203において、それぞれ、マスタ装置100及びスレーブ装置200において、自身が受信したIPパケットが要求IPパケット、または、応答IPパケット、または、広告IPパケットであるかを認識することができる。   Further, for the request IP packet, the response IP packet, and the advertisement IP packet in the above, by setting a specific IP multicast address in the destination and setting identification information that clearly indicates the role in the IP payload, the above step 103, In steps 106 and 203, the master device 100 and the slave device 200 can recognize whether the IP packet received by the master device 100 and the slave device 200 is a request IP packet, a response IP packet, or an advertisement IP packet, respectively. .

上記の技術を実現するマスタ/スレーブ通信のため、IPマルチキャストアドレスを定義する必要がある。前述のIPマルチキャストアドレスをディスティネーションアドレスにもつIPパケットは、要求IPパケット、または、応答IPパケット、または、広告IPパケットである。マスタ装置100のマスタオペレーションシステム140及びスレーブ装置200のスレーブオペレーションシステム260は、図8に示すように、IPペイロード内の役割を明示する識別情報(識別情報フィールド)を用い、自身が受信したIPパケットが要求IPパケット、または、応答IPパケット、または、広告IPパケットであることを識別する。   It is necessary to define an IP multicast address for master / slave communication that implements the above technique. The IP packet having the above-mentioned IP multicast address as the destination address is a request IP packet, a response IP packet, or an advertisement IP packet. As shown in FIG. 8, the master operation system 140 of the master device 100 and the slave operation system 260 of the slave device 200 use the identification information (identification information field) specifying the role in the IP payload, as shown in FIG. Is a request IP packet, a response IP packet, or an advertisement IP packet.

また、要求IPパケット及び応答IPパケット及び広告IPパケットについて、図9に示すように、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ/スレーブ通信のためのパケットであることを示すための特定のポート番号を設定し、UDPペイロード内に役割を明示する識別情報を設定する。   For the request IP packet, response IP packet, and advertisement IP packet, as shown in FIG. 9, UDP is accommodated, a specific IP multicast address is set in the destination address, and master / slave communication is performed in the UDP header. A specific port number for indicating the packet is set, and identification information for specifying the role is set in the UDP payload.

これにより、マスタ装置100及びスレーブ装置200のオペレーションシステム140,260は、自身に到達したIPパケット要求が、IPパケットまたは、応答IPパケット、または、広告IPパケットであるかを認識して受信することができる。   As a result, the operation systems 140 and 260 of the master device 100 and the slave device 200 recognize and receive whether the IP packet request that has reached itself is an IP packet, a response IP packet, or an advertisement IP packet. Can do.

さらに、要求IPパケット及び応答IPパケット及び広告IPパケットについて、UDPを収容し、ディスティネーションアドレスにIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ/スレーブ通信のためのパケットを示すための特定のポート番号を設定し、UDPペイロード内に役割を明示する識別情報を設定する。   Further, for request IP packet, response IP packet and advertisement IP packet, a specific port for accommodating UDP, setting an IP broadcast address as the destination address, and indicating a packet for master / slave communication in the UDP header A number is set, and identification information that clearly indicates the role is set in the UDP payload.

これにより、マスタ装置100及びスレーブ装置200は、自身に到達したIPパケットが、要求IPパケット、応答IPパケット、または、広告IPパケットであると認識して受信することができる。   As a result, the master device 100 and the slave device 200 can recognize and receive the IP packet that has reached itself as a request IP packet, a response IP packet, or an advertisement IP packet.

上記のUDPを用いた技術を実現するために、マスタ/スレーブ通信のため、図9に示すように、ポート番号を定義する必要がある。ポートを有するUDP/IPパケットは、要求IPパケット、応答IPパケット、または、広告IPパケットであり、マスタ装置100及びスレーブ装置200は、UDPペイロード内の役割を明示する識別情報を用いて、自身が受信したUDP/IPパケットが要求IPパケット、応答IPパケット、または、広告IPパケットかを識別する。   In order to realize the above-described technology using UDP, it is necessary to define a port number for master / slave communication as shown in FIG. The UDP / IP packet having a port is a request IP packet, a response IP packet, or an advertisement IP packet, and the master device 100 and the slave device 200 use the identification information that clearly indicates the role in the UDP payload. It is identified whether the received UDP / IP packet is a request IP packet, a response IP packet, or an advertisement IP packet.

また、マスタ装置100のIPアドレスマスタ機能ソフトウェア120が、スレーブ装置200の制御信号用スレーブインタフェース240のIPアドレスを問い合わせるための要求IPパケットを、マルチキャストまたは、ブロードキャストする処理と、要求IPパケットを受信したIPアドレス用スレーブ機能ソフトウェア230が、IPアドレス用マスタ機能ソフトウェア120に対して応答IPパケットを返信する処理、IPアドレス用マスタ機能ソフトウェア120が応答IPパケットを受信することで制御信号用スレーブインタフェース240のIPアドレスを認知して、マスタ機能ソフトウェア110に設定する処理とを、定期的に実行する。   Further, the IP address master function software 120 of the master device 100 has received a request IP packet for multicasting or broadcasting a request IP packet for inquiring the IP address of the slave interface 240 for the control signal of the slave device 200, and the request IP packet. The IP address slave function software 230 returns a response IP packet to the IP address master function software 120, and the IP address master function software 120 receives the response IP packet. A process of recognizing the IP address and setting it in the master function software 110 is periodically executed.

これにより、マスタ装置100が存在するネットワークに新たなスレーブ装置が接続された場合において、または、マスタ装置100とスレーブ装置200とのTCPコネクションが切断された場合において、マスタ装置100は、自主的、かつ、定期的に未知のスレーブ装置200を発見することができ、このスレーブ装置のIPアドレスを取得することが可能になる。   As a result, when a new slave device is connected to the network where the master device 100 exists, or when the TCP connection between the master device 100 and the slave device 200 is disconnected, the master device 100 is autonomous. In addition, the unknown slave device 200 can be found periodically and the IP address of this slave device can be acquired.

以下、図面と共に本発明の実施例を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

マスタ装置100は、図3に示すように、マスタ機能ソフトウェア110、IPアドレス用マスタ機能ソフトウェア120、制御信号用マスタインタフェース130、及びマスタオペレーションシステム140から構成されているが、これらの構成をソフトウェアと同等の動作を実現する論理回路で実現することも可能である。また、IPアドレス用マスタ機能ソフトウェア120、マスタ機能ソフトウェア110は、これらのソフトウェアを動作可能であり、かつ、TCP/IP通信可能なコンピュータもしくは、同等の機能を有する装置に実装される。   As shown in FIG. 3, the master device 100 includes a master function software 110, an IP address master function software 120, a control signal master interface 130, and a master operation system 140. It can also be realized by a logic circuit that realizes an equivalent operation. The IP address master function software 120 and the master function software 110 are mounted on a computer that can operate these software and can perform TCP / IP communication, or a device having an equivalent function.

また、スレーブ装置200は、図4に示すように、経路交換部210、スレーブ機能ソフトウェア220、IPアドレス用スレーブ機能ソフトウェア230、制御信号用スレーブインタフェース240、経路交換制御用インタフェース250、スレーブオペレーションシステム260から構成されているが、これらの構成をソフトウェアと同等の動作を実現する論理回路で実現することも可能である。また、また、IPアドレス用スレーブ機能ソフトウェア230、スレーブ機能ソフトウェア220は、これらのソフトウェアを動作可能であり、かつ、TCP/IP通信可能なコンピュータもしくは、同等の機能を有する装置に実装される。   As shown in FIG. 4, the slave device 200 includes a path exchange unit 210, slave function software 220, IP address slave function software 230, control signal slave interface 240, path exchange control interface 250, slave operation system 260. However, these configurations can also be realized by a logic circuit that realizes an operation equivalent to that of software. Further, the IP address slave function software 230 and the slave function software 220 are mounted on a computer capable of operating these software and capable of TCP / IP communication or a device having an equivalent function.

図10は、本発明の一実施例のネットワーク構成を示しており、マスタ装置100はGSMPのマスタ装置として動作し、スレーブ装置200は同様にGSMPのスレーブ装置として動作する。GSMPは、ATM及びOXC等のスイッチ装置を管理するためのプロトコルであり、通信キャリアのネットワークには一般に数十台を越えるスイッチ装置が存在する。図10の構成は、図5で示したマスタ装置とスレーブ装置とのTCP/IPコネクションの接続関係を示している。スイッチ装置をスレーブ装置とし、マスタ装置から管理する場合、これらのスイッチ装置の制御信号用スレーブインタフェースのIPアドレスを手動でマスタ機能ソフトウェアに設定する必要があったが、本発明をGSMPのような多対多接続するマスタ/スレーブ通信に適用した方が、1対1接続するマスタ/スレーブ通信のときよりも効果が大きい。   FIG. 10 shows a network configuration according to an embodiment of the present invention. The master device 100 operates as a GSMP master device, and the slave device 200 similarly operates as a GSMP slave device. GSMP is a protocol for managing switch devices such as ATM and OXC, and there are generally several tens of switch devices in a network of communication carriers. The configuration of FIG. 10 shows the connection relationship of the TCP / IP connection between the master device and the slave device shown in FIG. When the switch device is a slave device and managed from the master device, it is necessary to manually set the IP address of the slave interface for the control signal of these switch devices in the master function software. The effect is greater when applied to master / slave communication with one-to-many connection than with master / slave communication with one-to-one connection.

以下では、GSMPを用いた構成を前提として説明する。また、マスタ装置100がスレーブ装置200を制御するためには、自身から送信したIPマルチキャストパケットがスレーブ装置200に到達可能なマスタ/スレーブ接続関係であることが前提である。さらに、IPマルチキャストアドレスが規定されており、IP アドレス用マスタ機能ソフトウェア120もしくは、IPアドレス用スレーブ機能ソフトウェア230が具備されたコンピュータのオペレーションシステムは、規定されたIPマルチキャストアドレスを有するIPパケットを受信すると、このIPパケットの情報をIPアドレス用マスタ機能ソフトウェア120もしくは、IPアドレス用スレーブ機能ソフトウェア230に送信する機能が必要である。   The following description is based on the premise of a configuration using GSMP. Further, in order for the master device 100 to control the slave device 200, it is premised that the IP multicast packet transmitted from the master device 100 has a master / slave connection relationship that can reach the slave device 200. Furthermore, when an IP multicast address is defined and the operation system of the computer provided with the IP address master function software 120 or the IP address slave function software 230 receives an IP packet having the defined IP multicast address. The function of transmitting the IP packet information to the IP address master function software 120 or the IP address slave function software 230 is required.

最初に、マスタ装置100からスレーブ装置200に対して要求IPパケットを送信し、スレーブ装置200から応答IPパケットを受信した場合について説明する。   First, a case where a request IP packet is transmitted from the master device 100 to the slave device 200 and a response IP packet is received from the slave device 200 will be described.

図11は、本発明の一実施例の第1の動作を示すシーケンスチャートである。   FIG. 11 is a sequence chart showing the first operation of the embodiment of the present invention.

同図では、マスタ装置100においてスレーブ装置200に対して、要求IPパケットを送信し、応答IPパケットを取得する動作を示している。   The figure shows an operation in which the master device 100 transmits a request IP packet to the slave device 200 and acquires a response IP packet.

まず、マスタ装置100は、IPアドレス用マスタ機能ソフトウェア120において、スレーブ装置200のIPアドレスを問い合わせるための要求パケットに、ディスティネーションアドレスとして特定のIPマルチキャストアドレス(例えば、224.0.0.0/24)をIPヘッダの宛先アドレスフィールドに設定し、自IPアドレスを送信元IPアドレスフィールドに設定し、IPペイロード内に当該パケットの役割を示す識別情報を設定し(ステップ301)、マスタオペレーションシステム140及び制御信号用マスタインタフェース130を介してスレーブ装置200に送信する(ステップ302)。   First, in the IP address master function software 120, the master device 100 uses a specific IP multicast address (for example, 224.0.0.0/24) as the destination address in the request packet for inquiring the IP address of the slave device 200. Set in the destination address field of the header, set the own IP address in the source IP address field, set identification information indicating the role of the packet in the IP payload (step 301), and for the master operation system 140 and the control signal The data is transmitted to the slave device 200 via the master interface 130 (step 302).

スレーブ装置200の制御信号用スレーブインタフェース240を介してIPアドレス用スレーブ機能ソフトウェア230が、マスタ装置100から送信された要求IPパケットを受信し、要求IPパケットの識別情報から当該パケットがIPアドレスを要求しているパケットであることを識別する(ステップ303)。   The IP address slave function software 230 receives the request IP packet transmitted from the master device 100 via the control signal slave interface 240 of the slave device 200, and the packet requests an IP address from the identification information of the request IP packet. (Step 303).

スレーブ装置200のIPアドレス用スレーブ機能ソフトウェア230は、自IPマルチキャストアドレスをIPヘッダの応答IPパケットの送信元IPアドレスフィールドに設定し、要求IPパケットに設定されていたマスタ装置100のIPアドレスを宛先IPアドレスフィールドに設定すると共に、IPペイロードの識別情報フィールドに応答パケットであることを設定し(ステップ304)、スレーブオペレーションシステム260、制御信号用スレーブインタフェース240を介してマスタ装置100に送信する(ステップ305)。   The slave function software 230 for the IP address of the slave device 200 sets its own IP multicast address in the source IP address field of the response IP packet in the IP header, and the IP address of the master device 100 set in the request IP packet is the destination In addition to setting in the IP address field, the response information packet is set in the identification information field of the IP payload (step 304), and transmitted to the master device 100 via the slave operation system 260 and the slave interface 240 for control signals (step). 305).

マスタ装置100は、スレーブ装置200から応答IPパケットを受信すると、IPアドレス用マスタ機能ソフトウェア120は、当該IPパケットが先に送信した要求IPパケットに対する応答パケットであることを識別情報から認識し(ステップ306)、スレーブ装置のIPアドレスをマスタ機能ソフトウェア110に設定する(ステップ307)。   When the master device 100 receives the response IP packet from the slave device 200, the IP address master function software 120 recognizes from the identification information that the IP packet is a response packet to the request IP packet transmitted earlier (step 306), the IP address of the slave device is set in the master function software 110 (step 307).

なお、上記の例は、マルチキャストの例を示しているが、ブロードキャストである場合には、パケットをブロードキャストパケットとして扱うことを除いて同様の動作を行うものとする。   The above example shows an example of multicast, but in the case of broadcast, the same operation is performed except that the packet is handled as a broadcast packet.

また、マスタ装置100がスレーブ装置200を制御するためには、自身から送信したIPブロードキャストパケットがスレーブ装置200に到達可能なマスタ/スレーブ接続関係であることが前提である。   In order for the master device 100 to control the slave device 200, it is premised that the IP broadcast packet transmitted from the master device 100 has a master / slave connection relationship that can reach the slave device 200.

図12は、本発明の一実施例の第2の動作のシーケンスチャートであり、広告IPパケットをスレーブ装置200からマスタ装置100に送信する例を示す。   FIG. 12 is a sequence chart of the second operation according to the embodiment of the present invention, and shows an example in which the advertisement IP packet is transmitted from the slave device 200 to the master device 100.

スレーブ装置200は、IPアドレス用スレーブ機能ソフトウェア230において、広告IPパケットにディスティネーションアドレスとして、特定のIPマルチキャストアドレスを設定し(ステップ401)、スレーブオペレーションシステム260及び制御信号用スレーブインタフェース240を介して、マスタ装置100に送信する(ステップ402)。マスタ装置100は、前述のステップ306と同様の動作により、受信したIPパケットを識別し(ステップ403)、マスタ機能ソフトウェア110にスレーブ装置200のIPアドレスを設定する(ステップ404)。   In the slave function software 230 for IP address, the slave device 200 sets a specific IP multicast address as a destination address in the advertisement IP packet (step 401), via the slave operation system 260 and the control signal slave interface 240. And transmitted to the master apparatus 100 (step 402). The master device 100 identifies the received IP packet (step 403) and sets the IP address of the slave device 200 in the master function software 110 by the same operation as in step 306 described above (step 404).

なお、上記の例は、マルチキャストの例を示しているが、ブロードキャストである場合には、パケットをブロードキャストパケットとして扱うことを除いて同様の動作を行うものとする。   The above example shows an example of multicast, but in the case of broadcast, the same operation is performed except that the packet is handled as a broadcast packet.

また、UDP/IPパケット情報の送受信の場合には、予めポート番号を規定しておき、当該ポートに到達するUDP/IPパケットの情報をIPアドレス用マスタ機能ソフトウェア120もしくは、IPアドレス用スレーブ機能ソフトウェア230に送信する。   In the case of transmission / reception of UDP / IP packet information, the port number is defined in advance, and the information of the UDP / IP packet reaching the port is designated as IP address master function software 120 or IP address slave function software. 230.

なお、図3に示すマスタ装置100のマスタ機能ソフトウェア110を機能拡張して交換用マスタ機能ソフトウェアと一体化してマスタ装置100に実装してもよい。同様に、図4に示すスレーブ機能ソフトウェア220を機能拡張して交換用スレーブ機能ソフトウェアと一体化してスレーブ装置200に実装してもよい。   Note that the master function software 110 of the master device 100 shown in FIG. 3 may be functionally expanded and integrated with the replacement master function software and installed in the master device 100. Similarly, the slave function software 220 shown in FIG. 4 may be expanded to be integrated with the replacement slave function software and mounted on the slave device 200.

また、制御信号用スレーブインタフェース240と経路交換制御用インタフェース250とを1つのインタフェースで共有してもよい。   The control signal slave interface 240 and the path exchange control interface 250 may be shared by one interface.

さらに、IPアドレス用マスタ機能ソフトウェア120は、定期的に要求IPパケットをスレーブ装置200に送信し、IPアドレス用スレーブ機能ソフトウェア230から応答された応答IPパケット内の制御信号用スレーブインタフェース240のIPアドレスをマスタ機能ソフトウェア110に送信してもよい。   Further, the IP address master function software 120 periodically transmits a request IP packet to the slave device 200, and the IP address of the control signal slave interface 240 in the response IP packet returned from the IP address slave function software 230 May be transmitted to the master function software 110.

なお、上記で特定のアドレスを利用するのは、オペレーションシステムにおいて、受信パケットをどのソフトウェアに渡してよいか判断できず、パケット廃棄してしまうことを回避するためである。特定のIPマルチキャストアドレスを持つパケットを受信したオペレーションシステムは、受信パケットの内容をIPアドレス用スレーブ機能ソフトウェア/マスタ機能ソフトウェアに渡すことができる。   The reason why the specific address is used in the above is to prevent the operation system from discarding the packet because it is not possible to determine to which software the received packet can be passed. The operation system that has received a packet having a specific IP multicast address can pass the contents of the received packet to the IP address slave function software / master function software.

また、UDPを利用しない場合に、特定IPマルチキャストアドレスを利用することは、UDPを使用した場合のIPマルチキャスト/ブロードキャストとUDPのポート番号を一度に利用したことと等価である。   Also, when not using UDP, using a specific IP multicast address is equivalent to using IP multicast / broadcast and UDP port numbers at the same time when UDP is used.

なお、本発明は、上記の実施の形態及び実施例に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。   The present invention is not limited to the above-described embodiments and examples, and various modifications and applications are possible within the scope of the claims.

本発明は、GSMPにおけるマスタとスレーブとのTCP/IP通信に適用可能である。   The present invention is applicable to TCP / IP communication between a master and a slave in GSMP.

本発明の原理を説明するための図である。It is a figure for demonstrating the principle of this invention. 本発明の原理構成図である。It is a principle block diagram of this invention. 本発明の一実施の形態におけるマスタ装置の構成図である。It is a block diagram of the master apparatus in one embodiment of this invention. 本発明の一実施の形態におけるスレーブ装置の構成図である。It is a block diagram of the slave apparatus in one embodiment of this invention. 本発明の一実施の形態におけるマスタ装置とスレーブ装置の物理的な接続関係を示す図である。It is a figure which shows the physical connection relationship of the master apparatus and slave apparatus in one embodiment of this invention. 本発明の一実施の形態におけるIPアドレス用マスタ機能ソフトウェア及びIPアドレス用スレーブ機能ソフトウェアの動作のフローチャートである。It is a flowchart of operation | movement of the master function software for IP addresses and the slave function software for IP addresses in one embodiment of this invention. 本発明の一実施の形態におけるIPアドレス用マスタ機能ソフトウェア及びIPアドレス用スレーブ機能ソフトウェアの動作のフローチャートである。It is a flowchart of operation | movement of the master function software for IP addresses and the slave function software for IP addresses in one embodiment of this invention. 本発明の一実施の形態における要求IPパケット、応答IPパケット、広告IPパケットのフォーマット(その1)である。It is a format (part 1) of a request IP packet, a response IP packet, and an advertisement IP packet in an embodiment of the present invention. 本発明の一実施の形態における要求IPパケット、応答IPパケット、広告IPパケットのフォーマット(その2)である。It is the format (the 2) of a request | requirement IP packet, a response IP packet, and an advertisement IP packet in one embodiment of this invention. 本発明の一実施例のTCP/IPコネクションの接続関係を示す図である。It is a figure which shows the connection relation of the TCP / IP connection of one Example of this invention. 本発明の一実施例の第1の動作のシーケンスチャートである。It is a sequence chart of the 1st operation of one example of the present invention. 本発明の一実施例の第2の動作のシーケンスチャートである。It is a sequence chart of the 2nd operation of one example of the present invention.

符号の説明Explanation of symbols

100 マスタ装置
110 マスタ機能ソフトウェア
120 IPアドレス用マスタ機能ソフトウェア
130 制御信号用マスタインタフェース
140 マスタオペレーションシステム
200 スレーブ装置
210 経路交換手段、経路交換部
220 スレーブ機能ソフトウェア
230 IPアドレス用スレーブ機能ソフトウェア
240 制御信号用スレーブインタフェース
250 経路交換制御用インタフェース
260 スレーブオペレーションシステム
100 Master device 110 Master function software 120 IP address master function software 130 Control signal master interface 140 Master operation system 200 Slave device 210 Path switching means, path switching unit 220 Slave function software 230 IP address slave function software 240 For control signals Slave interface 250 Path exchange control interface 260 Slave operation system

Claims (18)

マスタとなる通信装置(以下、マスタ装置と記す)とスレーブとなる通信装置(以下、スレーブ装置と記す)との間でTCP/IP(Transmission Control Protocol/Internet Protocol)通信し、TCPコネクションを確立する前に、該マスタ装置が未知のスレーブ装置のIPアドレスを設定するマスタ/スレーブ通信方法において、
前記マスタ装置は、
IPアドレス用マスタ機能ソフトウェアを用いて、前記スレーブ装置に対して制御信号用スレーブインタフェースのIPアドレスを返答することを要求する要求IPパケットを送信し、
前記スレーブ装置は、
前記マスタ装置からの前記要求IPパケット受信すると、IPアドレス用スレーブ機能ソフトウェアを用いて、自身の制御信号用スレーブインタフェースのIPアドレスを応答するための応答IPパケットを該マスタ装置に送信し、
前記マスタ装置は、
前記スレーブ装置から前記応答IPパケットを受信すると、IPアドレス用マスタ機能ソフトウェアが該スレーブ装置のIPアドレスを識別して、マスタ機能ソフトウェアに通知し、
前記マスタ機能ソフトウェアにおいて、前記スレーブ装置のIPアドレスを設定することを特徴とするマスタ/スレーブ通信方法。
TCP / IP (Transmission Control Protocol / Internet Protocol) communication is established between a master communication device (hereinafter referred to as a master device) and a slave communication device (hereinafter referred to as a slave device) to establish a TCP connection. Before, in the master / slave communication method in which the master device sets the IP address of an unknown slave device,
The master device is
Using the IP address master function software, send a request IP packet requesting the slave device to return the IP address of the slave interface for the control signal,
The slave device is
Upon receiving the request IP packet from the master device, using the slave function software for IP address, send a response IP packet for replying the IP address of the slave interface for its own control signal to the master device,
The master device is
When the response IP packet is received from the slave device, the master function software for IP address identifies the IP address of the slave device and notifies the master function software,
In the master function software, an IP address of the slave device is set.
前記マスタ機能ソフトウェアがGSMP(General Switch Management Protocol)のマスタであり、前記スレーブ機能ソフトウェアが、GSMPのスレーブである請求項1記載のマスタ/スレーブ通信方法。   2. The master / slave communication method according to claim 1, wherein the master function software is a GSMP (General Switch Management Protocol) master, and the slave function software is a GSMP slave. 前記マスタ装置において、前記IPアドレス用マスタ機能ソフトウェアが、前記スレーブ装置の制御信号用スレーブインタフェースのIPアドレスを問い合わせるための前記要求IPパケットをマルチキャストもしくは、ブロードキャストし、
前記要求IPパケットを受信したスレーブ装置のIPアドレス用スレーブ機能ソフトウェアが、自スレーブ装置内の制御信号用スレーブインタフェースのIPアドレスの情報を含んだ応答パケットを、前記マスタ装置の前記IPアドレス用マスタ機能ソフトウェアに対して返信し、
前記マスタ装置において、前記IPアドレス用マスタ機能ソフトウェアが、前記応答IPパケットを受信することにより、制御信号用スレーブインタフェースのIPアドレスを認知して、前記マスタ機能ソフトウェアに設定する請求項1または、2記載のマスタ/スレーブ通信方法。
In the master device, the master function software for the IP address multicasts or broadcasts the request IP packet for inquiring the IP address of the slave interface for the control signal of the slave device,
When the slave function software for the IP address of the slave device that has received the request IP packet receives a response packet including the IP address information of the slave interface for the control signal in the slave device, the master function for the IP address of the master device Reply to the software,
3. The master function software for the IP address in the master device recognizes the IP address of the slave interface for the control signal by receiving the response IP packet and sets the master address software in the master function software. The described master / slave communication method.
前記スレーブ装置の前記IPアドレス用スレーブ機能ソフトウェアが自スレーブ装置内の制御信号用スレーブインタフェースのIPアドレスの情報を、前記マスタ装置の前記マスタ機能ソフトウェアに広告するための広告IPパケットを、IPマルチキャストもしくは、IPブロードキャストし、
前記マスタ装置のIPアドレス用マスタ機能ソフトウェアにおいて、前記広告IPパケットを受信し、該広告IPパケットを送信した前記制御信号用スレーブインタフェースのIPアドレスを認知して、前記マスタ機能ソフトウェアに設定する請求項1または2記載のマスタ/スレーブ通信方法。
The IP address slave function software of the slave device sends an IP multicast advertisement packet for advertising the IP address information of the slave interface for control signals in the slave device to the master function software of the master device. IP broadcast,
The master function software for IP address of the master device receives the advertisement IP packet, recognizes the IP address of the slave interface for control signal that has transmitted the advertisement IP packet, and sets the master function software in the master function software. 3. The master / slave communication method according to 1 or 2.
前記要求IPパケット、前記応答IPパケット及び前記広告IPパケットとして、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、IPペイロード内に該パケットの種別を明示する識別情報を設定する請求項3または、4記載のマスタ/スレーブ通信方法。   A specific IP multicast address is set as a destination address as the request IP packet, the response IP packet, and the advertisement IP packet, and identification information that clearly indicates the type of the packet is set in an IP payload, or 4. The master / slave communication method according to 4. 前記要求IPパケット、前記応答IPパケット及び前記広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ/スレーブ通信方法のためのパケットであることを示すための特定ポート番号を有し、UDPペイロード内に該パケットの種別を明示する識別情報を設定する請求項3または、4記載のマスタ/スレーブ通信方法。   The request IP packet, the response IP packet, and the advertisement IP packet contain UDP, set a specific IP multicast address as the destination address, and are packets for the master / slave communication method in the UDP header 5. The master / slave communication method according to claim 3, wherein identification information for specifying the type of the packet is set in the UDP payload. 前記要求IPパケット、前記応答IPパケット及び前記広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ/スレーブ通信方法のためのパケットであることを示すための特定ポート番号を有し、UDPペイロード内に該パケットの種別を明示する識別情報を設定する請求項3または、4記載のマスタ/スレーブ通信方法。   The request IP packet, the response IP packet, and the advertisement IP packet contain UDP, set a specific IP broadcast address as the destination address, and are packets for the master / slave communication method in the UDP header 5. The master / slave communication method according to claim 3, wherein identification information for specifying the type of the packet is set in the UDP payload. 前記一連の処理を定期的に実行する請求項3記載のマスタ/スレーブ通信方法。   4. The master / slave communication method according to claim 3, wherein the series of processing is periodically executed. マスタとなる通信装置(以下、マスタ装置と記す)とスレーブとなる通信装置(以下、スレーブ装置と記す)との間でTCP/IP通信し、TCPコネクションを確立する前に、該マスタ装置が未知のスレーブ装置のIPアドレスを設定するマスタ/スレーブ通信システムであって、
前記マスタ装置は、
前記スレーブ装置を制御するマスタ機能ソフトウェアと、
前記スレーブ装置に対して制御信号用スレーブインタフェースのIPアドレスを返答することを要求する要求IPパケットを送信し、該スレーブ装置から応答された応答IPパケットのIPアドレスを前記マスタ機能ソフトウェアに通知するIPアドレス用マスタ機能ソフトウェアと、
自身と前記スレーブ装置との間で制御信号の送受信を行うための制御信号用マスタインタフェースと、
各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行うマスタオペレーションシステムと、を有し、
前記スレーブ装置は、
主信号の経路交換を行う経路交換手段と、
前記経路交換手段を制御し、また、前記マスタ装置との間で制御信号を交換するスレーブ機能ソフトウェアと、
自身と前記マスタ装置との間で制御信号の送受信を行うための制御信号用スレーブインタフェースと、
前記マスタ装置から受信した前記要求IPパケットに応じて自身の制御信号用スレーブインタフェースのIPアドレスを応答する応答IPパケットを送信し、また、自主的に制御信号用スレーブインタフェースのIPアドレスを前記マスタ装置に広告する広告IPパケットを送信するIPアドレス用スレーブ機能ソフトウェアと、
前記スレーブ機能ソフトウェアと前記経路交換手段との間で制御信号の送受信を行うための経路交換制御用インタフェースと、
各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行うスレーブオペレーションシステムと、を有することを特徴とするマスタ/スレーブ通信システム。
TCP / IP communication is performed between a master communication device (hereinafter referred to as a master device) and a slave communication device (hereinafter referred to as a slave device), and the master device is unknown before establishing a TCP connection. A master / slave communication system for setting an IP address of a slave device of
The master device is
Master function software for controlling the slave device;
An IP that sends a request IP packet requesting the slave device to return the IP address of the slave interface for the control signal, and notifies the master function software of the IP address of the response IP packet returned from the slave device Master function software for address,
A control signal master interface for transmitting and receiving control signals between itself and the slave device;
A master operation system that mediates control signals between each interface and each software,
The slave device is
Route exchange means for exchanging routes of the main signal;
Slave function software for controlling the path exchanging means and exchanging control signals with the master device;
A slave interface for control signals for transmitting and receiving control signals between itself and the master device;
In response to the request IP packet received from the master device, a response IP packet is transmitted that responds with the IP address of the slave interface for the control signal of itself, and the IP address of the slave interface for the control signal is voluntarily assigned to the master device. Slave function software for an IP address that transmits an advertisement IP packet to be advertised to,
A path switching control interface for transmitting and receiving control signals between the slave function software and the path switching means;
A master / slave communication system comprising: a slave operation system that mediates control signals between each interface and each software.
前記マスタ機能ソフトウェアは、GSMP(General Switch Management Protocol)のマスタとして動作し、前記スレーブ機能ソフトウェアは、GSMPのスレーブとして動作する請求項9記載のマスタ/スレーブ通信システム。   10. The master / slave communication system according to claim 9, wherein the master function software operates as a GSMP (General Switch Management Protocol) master, and the slave function software operates as a GSMP slave. 前記マスタ装置の前記IPアドレス用マスタ機能ソフトウェアは、
前記マスタ装置と前記スレーブ装置との間でTCP/IP通信するためのTCPコネクションを確立する前に、該スレーブ装置の制御信号用スレーブインタフェースのIPアドレスを問い合わせるための前記要求IPパケットをマルチキャストもしくは、ブロードキャストするマスタ要求手段と、
前記スレーブ装置から前記応答IPパケットを受信することで、前記制御信号用スレーブインタフェースのIPアドレスを認知して前記マスタ機能ソフトウェアに設定するマスタ設定手段と、を含み、
前記スレーブ装置の前記IPアドレス用スレーブ機能ソフトウェアは、
自スレーブ内の制御信号用スレーブインタフェースのIPアドレスの情報を含んだ前記応答IPパケットを、前記マスタ装置の前記IPアドレス用マスタ機能ソフトウェアに対して返信するスレーブ応答手段を含む請求項9または10記載のマスタ/スレーブ通信システム。
The master function software for the IP address of the master device is:
Before establishing a TCP connection for TCP / IP communication between the master device and the slave device, the request IP packet for inquiring the IP address of the slave interface for the control signal of the slave device is multicast, or A master request means for broadcasting;
A master setting unit that receives the response IP packet from the slave device, recognizes an IP address of the slave interface for the control signal, and sets the master function software;
The slave function software for the IP address of the slave device is:
11. The slave response means for returning the response IP packet including the IP address information of the slave interface for control signals in the slave to the master function software for the IP address of the master device. Master / slave communication system.
前記スレーブ装置の前記IPアドレス用スレーブ機能ソフトウェアは、
前記マスタ装置との間でTCP/IP通信するためのTCPコネクションを確立する前に、自スレーブ装置内の前記制御信号スレーブインタフェースのIPアドレスの情報を前記マスタ装置の前記マスタ機能ソフトウェアに広告するための広告IPパケットをIPマルチキャストもしくは、IPブロードキャストするスレーブ広告手段を含み、
前記マスタ装置の前記IPアドレス用マスタ機能ソフトウェアは、
前記広告IPパケットを受信することで、前記広告IPパケットを送信した制御信号用スレーブインタフェースのIPアドレスを認知して前記マスタ機能ソフトウェアに設定するマスタ設定手段を含む請求項9または10記載のマスタ/スレーブ通信システム。
The slave function software for the IP address of the slave device is:
Before establishing a TCP connection for TCP / IP communication with the master device, to advertise the IP address information of the control signal slave interface in the slave device to the master function software of the master device Slave advertisement means for IP multicast or IP broadcast of the advertisement IP packet of
The master function software for the IP address of the master device is:
11. The master / unit according to claim 9, further comprising: master setting means for recognizing an IP address of a slave interface for a control signal that has transmitted the advertisement IP packet by receiving the advertisement IP packet and setting the master function software. Slave communication system.
前記マスタ装置は、
前記要求IPパケットとして、ディスティネーションアドレスに特定のIPマルチやストアドレスを設定し、IPペイロード内に役割を明示する識別情報を設定する手段を含む請求項9または11記載のマスタ/スレーブ通信システム。
The master device is
12. The master / slave communication system according to claim 9, further comprising means for setting a specific IP multi or a strike address as a destination address as the request IP packet, and setting identification information for clearly indicating a role in the IP payload.
前記スレーブ装置は、
前記応答IPパケット、及び前記広告IPパケットとして、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、IPペイロード内に役割を明示する識別情報を設定する手段を含む請求項9、11または12記載のマスタ/スレーブ通信システム。
The slave device is
13. The means according to claim 9, 11 or 12, further comprising means for setting a specific IP multicast address as a destination address as the response IP packet and the advertisement IP packet, and setting identification information clearly indicating a role in the IP payload. Master / slave communication system.
前記マスタ装置は、
前記要求IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通信方法のためのパケットであることを示すための特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む請求項9または11記載のマスタ/スレーブ通信システム。
The master device is
As the request IP packet, a UDP is accommodated, a specific IP multicast address is set as a destination address, and a specific packet for indicating a packet for a communication method between a master device and a slave device in a UDP header 12. The master / slave communication system according to claim 9 or 11, further comprising means for setting identification information having a port number and specifying the role in the UDP payload.
前記スレーブ装置は、
前記応答IPパケット及び前記広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPマルチキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通信方法のためのパケットであることを示すための特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む請求項9、11または12記載のマスタ/スレーブ通信システム。
The slave device is
As the response IP packet and the advertisement IP packet, UDP is accommodated, a specific IP multicast address is set as the destination address, and the packet is for the communication method between the master device and the slave device in the UDP header. 13. The master / slave communication system according to claim 9, 11 or 12, further comprising means for setting identification information having a specific port number for indicating and clearly indicating a role in the UDP payload.
前記マスタ装置は、
前記要求IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通知方法のためのパケットであることを示す特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む請求項9または11記載のマスタ/スレーブ通信システム。
The master device is
As the request IP packet, UDP is accommodated, a specific IP broadcast address is set as the destination address, and a specific port number indicating that the packet is for a notification method between the master device and the slave device in the UDP header 12. The master / slave communication system according to claim 9, further comprising means for setting identification information that clearly indicates a role in the UDP payload.
前記スレーブ装置は、
前記応答IPパケット、及び前記広告IPパケットとして、UDPを収容し、ディスティネーションアドレスに特定のIPブロードキャストアドレスを設定し、UDPヘッダ内にマスタ装置とスレーブ装置間の通知方法のためのパケットであることを示す特定のポート番号を有し、UDPペイロード内に役割を明示する識別情報を設定する手段を含む請求項9、11または12記載のマスタ/スレーブ通信システム。
The slave device is
As the response IP packet and the advertisement IP packet, UDP is accommodated, a specific IP broadcast address is set as the destination address, and the packet is for a notification method between the master device and the slave device in the UDP header. 13. The master / slave communication system according to claim 9, 11 or 12, further comprising means for setting identification information having a specific port number indicating the role in the UDP payload.
JP2003377237A 2003-11-06 2003-11-06 Method and system for master/slave communication Pending JP2005142843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003377237A JP2005142843A (en) 2003-11-06 2003-11-06 Method and system for master/slave communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003377237A JP2005142843A (en) 2003-11-06 2003-11-06 Method and system for master/slave communication

Publications (1)

Publication Number Publication Date
JP2005142843A true JP2005142843A (en) 2005-06-02

Family

ID=34688027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003377237A Pending JP2005142843A (en) 2003-11-06 2003-11-06 Method and system for master/slave communication

Country Status (1)

Country Link
JP (1) JP2005142843A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110932970A (en) * 2019-12-04 2020-03-27 锐捷网络股份有限公司 Processing method and device of Transmission Control Protocol (TCP) session

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110932970A (en) * 2019-12-04 2020-03-27 锐捷网络股份有限公司 Processing method and device of Transmission Control Protocol (TCP) session
CN110932970B (en) * 2019-12-04 2022-03-18 锐捷网络股份有限公司 Processing method and device of Transmission Control Protocol (TCP) session

Similar Documents

Publication Publication Date Title
KR100310652B1 (en) Method and System for Improving Communications in Data Communications Networks that provide Network Emulation
JP4486902B2 (en) Network system and gateway device
US7158514B2 (en) Multicast routing method and apparatus for routing multicast packet
JP4292890B2 (en) Multicast distribution method, distribution apparatus and system
US7088689B2 (en) VLAN data switching method using ARP packet
JP2009094832A (en) Multicast data distribution apparatus, distribution method therefor, and distribution control program thereof
JP2004208302A (en) System and method for converting request between different multicast protocols in communication network
US7009974B1 (en) Method and apparatus for updating addresses in network processing device
JP2005167435A (en) Vrrp technology sustaining confidentiality of vr
WO2012173172A1 (en) Communication system, controller, switch, storage management device, and communication method
JPH11196112A (en) Multi-case transmission method
CN108989218B (en) Data forwarding device and method based on network convergence architecture
KR100450951B1 (en) Redundancy mechanization protocol for a massively parallel router
KR20030072878A (en) Method for identifying that devices on the same network could support MCAP(Multicast Channel Allocation Protocol) and method for multicast thereof
KR20050009914A (en) Gateway unit and control method thereof
KR101755829B1 (en) Method and apparatus for processing address resolution protocol in software defined networking environment
JP4775716B2 (en) Relay device, relay method, and relay program
JP4455521B2 (en) Multicast MPLS network construction method, multicast MPLS network system, router and program
JP2005142843A (en) Method and system for master/slave communication
JP4937004B2 (en) Communication system and station side communication device
JP2003348148A (en) Ip multicast control method and ip multicast control system employing the same
JP2005341199A (en) Dhcp packet congestion control system and method therefor
JP3791304B2 (en) Gateway device and multicast communication system
JP2005286681A (en) Relay equipment
CN104301231A (en) Management method for virtual links in FCoE network and FIP switch

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060414

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080715

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081111