JP2005142843A - Method and system for master/slave communication - Google Patents
Method and system for master/slave communication Download PDFInfo
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
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を汎用スイッチ制御プロトコルとして利用する気運が高まっている。
マスタ装置とスレーブ装置とが、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
An IP that transmits a request IP packet for requesting the
A control
A
The
Path switching means 210 for switching the path of the main signal;
A control
In response to the request IP packet received from the
A path
A
また、本発明のマスタ機能ソフトウェア110は、GSMPのマスタとして動作し、スレーブ機能ソフトウェア230は、GSMPのスレーブとして動作する。
The
また、本発明のマスタ装置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
Before establishing a TCP connection for TCP / IP communication between the
Master setting means for receiving the response IP packet from the
The
Slave response means for returning a response IP packet including the IP address information of the slave interface for
また、本発明のスレーブ装置200のIPアドレス用スレーブ機能ソフトウェア230は、
マスタ装置100との間でTCP/IP通信するためのTCPコネクションを確立する前に、自スレーブ装置内の制御信号スレーブインタフェース240のIPアドレスの情報をマスタ装置100のマスタ機能ソフトウェア110に広告するための広告IPパケットをIPマルチキャストもしくは、IPブロードキャストするスレーブ広告手段を含み、
マスタ装置100のIPアドレス用マスタ機能ソフトウェア120は、
広告IPパケットを受信することで、広告IPパケットを送信した制御信号用スレーブインタフェース240のIPアドレスを認知してマスタ機能ソフトウェア110に設定するマスタ設定手段を含む。
The
In order to advertise the IP address information of the control
The
Master setting means for receiving the advertisement IP packet and recognizing the IP address of the control
また、本発明のマスタ装置100は、
要求IPパケットとして、ディスティネーションアドレスに特定のIPマルチやストアドレスを設定し、IPペイロード内に役割を明示する識別情報を設定する手段を含む。
Further, the
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
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
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
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
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
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
マスタ機能ソフトウェア110は、スレーブ装置を制御する。
The
IPアドレス用マスタ機能ソフトウェア120は、スレーブ装置に対してスレーブ装置のIPアドレスを返答することを要求し、スレーブ装置から応答されたIPアドレスをマスタ機能ソフトウェア110に通知する。
The IP address
制御信号用マスタインタフェース130は、IPアドレス用マスタ機能ソフトウェア120と、自身とスレーブ装置との間で制御信号の送受信を行う。
The control
マスタオペレーションシステム140は、各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行う。
The
図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
経路交換部210は、主信号の経路交換を行う。
The
スレーブ機能ソフトウェア220は、経路交換部210を制御し、また、マスタ装置100との間で制御信号を交換する。
The
IPアドレス用スレーブ機能ソフトウェア230は、マスタ装置100からの要求に応じて自身のIPアドレスを応答し、また、自主的に自身のIPアドレスをマスタ装置100に広告する。
The IP address
制御信号用スレーブインタフェース240は、自身とマスタ装置100との間で制御信号の送受信を行う。
The control
経路交換制御用インタフェース250は、スレーブ機能ソフトウェア220と経路交換部210との間で制御信号の送受信を行う。
The path
スレーブオペレーションシステム260は、各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行う。
The
また、上記のマスタ装置100のマスタ機能ソフトウェア110及び、スレーブ装置200のスレーブ機能ソフトウェア220として、GSMPを用いる。
Further, GSMP is used as the
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
図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
マスタ装置100が応答IPパケットを受信すると(ステップ105)、当該応答IPパケットのIPペイロードを確認すると共に、パケット機能を識別し(ステップ106)、スレーブ装置200のIPアドレスを認知して自マスタ装置100に設定する(ステップ107)。
When the
これにより、IPアドレス用マスタ機能ソフトウェア120は自身が送信したIPマルチキャストパケットもしくは、IPブロードキャストパケットが到達可能なIPアドレス用スレーブ機能ソフトウェア230全てに対してスレーブ装置の制御信号用スレーブインタフェース240のIPアドレスをIPアドレス用マスタ機能ソフトウェア120に応答することを自主的に要求可能となり、応答したIPアドレス用スレーブ機能ソフトウェア230の制御信号用スレーブインタフェース240のIPアドレスを自動的にマスタ機能ソフトウェア110に設定可能となる。
As a result, the IP address
図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
これにより、IPアドレス用スレーブ機能ソフトウェア230は、自身が送信したIPマルチキャストパケットもしくは、IPブロードキャストパケットが到達可能なIPアドレス用マスタ機能ソフトウェア120全てに対して制御信号用スレーブインタフェースのIPアドレスを自主的に広告可能となり、広告を受けたIPアドレス用マスタ機能ソフトウェア20は、制御信号用スレーブインタフェース240のIPアドレスを自動的に設定可能となる。例えば、マスタ装置100が存在するネットワークに新たなスレーブ装置200が接続された場合、このスレーブ装置200が自主的にマスタ装置100に自身のIPアドレスを広告できる。
As a result, the IP address
また、上記における要求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
上記の技術を実現するマスタ/スレーブ通信のため、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
また、要求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
さらに、要求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
上記の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
また、マスタ装置100のIPアドレスマスタ機能ソフトウェア120が、スレーブ装置200の制御信号用スレーブインタフェース240のIPアドレスを問い合わせるための要求IPパケットを、マルチキャストまたは、ブロードキャストする処理と、要求IPパケットを受信したIPアドレス用スレーブ機能ソフトウェア230が、IPアドレス用マスタ機能ソフトウェア120に対して応答IPパケットを返信する処理、IPアドレス用マスタ機能ソフトウェア120が応答IPパケットを受信することで制御信号用スレーブインタフェース240のIPアドレスを認知して、マスタ機能ソフトウェア110に設定する処理とを、定期的に実行する。
Further, the IP address
これにより、マスタ装置100が存在するネットワークに新たなスレーブ装置が接続された場合において、または、マスタ装置100とスレーブ装置200とのTCPコネクションが切断された場合において、マスタ装置100は、自主的、かつ、定期的に未知のスレーブ装置200を発見することができ、このスレーブ装置のIPアドレスを取得することが可能になる。
As a result, when a new slave device is connected to the network where the
以下、図面と共に本発明の実施例を説明する。 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
また、スレーブ装置200は、図4に示すように、経路交換部210、スレーブ機能ソフトウェア220、IPアドレス用スレーブ機能ソフトウェア230、制御信号用スレーブインタフェース240、経路交換制御用インタフェース250、スレーブオペレーションシステム260から構成されているが、これらの構成をソフトウェアと同等の動作を実現する論理回路で実現することも可能である。また、また、IPアドレス用スレーブ機能ソフトウェア230、スレーブ機能ソフトウェア220は、これらのソフトウェアを動作可能であり、かつ、TCP/IP通信可能なコンピュータもしくは、同等の機能を有する装置に実装される。
As shown in FIG. 4, the
図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
以下では、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
最初に、マスタ装置100からスレーブ装置200に対して要求IPパケットを送信し、スレーブ装置200から応答IPパケットを受信した場合について説明する。
First, a case where a request IP packet is transmitted from the
図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
まず、マスタ装置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
スレーブ装置200の制御信号用スレーブインタフェース240を介してIPアドレス用スレーブ機能ソフトウェア230が、マスタ装置100から送信された要求IPパケットを受信し、要求IPパケットの識別情報から当該パケットがIPアドレスを要求しているパケットであることを識別する(ステップ303)。
The IP address
スレーブ装置200のIPアドレス用スレーブ機能ソフトウェア230は、自IPマルチキャストアドレスをIPヘッダの応答IPパケットの送信元IPアドレスフィールドに設定し、要求IPパケットに設定されていたマスタ装置100のIPアドレスを宛先IPアドレスフィールドに設定すると共に、IPペイロードの識別情報フィールドに応答パケットであることを設定し(ステップ304)、スレーブオペレーションシステム260、制御信号用スレーブインタフェース240を介してマスタ装置100に送信する(ステップ305)。
The
マスタ装置100は、スレーブ装置200から応答IPパケットを受信すると、IPアドレス用マスタ機能ソフトウェア120は、当該IPパケットが先に送信した要求IPパケットに対する応答パケットであることを識別情報から認識し(ステップ306)、スレーブ装置のIPアドレスをマスタ機能ソフトウェア110に設定する(ステップ307)。
When the
なお、上記の例は、マルチキャストの例を示しているが、ブロードキャストである場合には、パケットをブロードキャストパケットとして扱うことを除いて同様の動作を行うものとする。 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
図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
スレーブ装置200は、IPアドレス用スレーブ機能ソフトウェア230において、広告IPパケットにディスティネーションアドレスとして、特定のIPマルチキャストアドレスを設定し(ステップ401)、スレーブオペレーションシステム260及び制御信号用スレーブインタフェース240を介して、マスタ装置100に送信する(ステップ402)。マスタ装置100は、前述のステップ306と同様の動作により、受信したIPパケットを識別し(ステップ403)、マスタ機能ソフトウェア110にスレーブ装置200のIPアドレスを設定する(ステップ404)。
In the
なお、上記の例は、マルチキャストの例を示しているが、ブロードキャストである場合には、パケットをブロードキャストパケットとして扱うことを除いて同様の動作を行うものとする。 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
なお、図3に示すマスタ装置100のマスタ機能ソフトウェア110を機能拡張して交換用マスタ機能ソフトウェアと一体化してマスタ装置100に実装してもよい。同様に、図4に示すスレーブ機能ソフトウェア220を機能拡張して交換用スレーブ機能ソフトウェアと一体化してスレーブ装置200に実装してもよい。
Note that the
また、制御信号用スレーブインタフェース240と経路交換制御用インタフェース250とを1つのインタフェースで共有してもよい。
The control
さらに、IPアドレス用マスタ機能ソフトウェア120は、定期的に要求IPパケットをスレーブ装置200に送信し、IPアドレス用スレーブ機能ソフトウェア230から応答された応答IPパケット内の制御信号用スレーブインタフェース240のIPアドレスをマスタ機能ソフトウェア110に送信してもよい。
Further, the IP address
なお、上記で特定のアドレスを利用するのは、オペレーションシステムにおいて、受信パケットをどのソフトウェアに渡してよいか判断できず、パケット廃棄してしまうことを回避するためである。特定の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.
100 マスタ装置
110 マスタ機能ソフトウェア
120 IPアドレス用マスタ機能ソフトウェア
130 制御信号用マスタインタフェース
140 マスタオペレーションシステム
200 スレーブ装置
210 経路交換手段、経路交換部
220 スレーブ機能ソフトウェア
230 IPアドレス用スレーブ機能ソフトウェア
240 制御信号用スレーブインタフェース
250 経路交換制御用インタフェース
260 スレーブオペレーションシステム
100
Claims (18)
前記マスタ装置は、
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.
前記要求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アドレスを認知して、前記マスタ機能ソフトウェアに設定する請求項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アドレス用マスタ機能ソフトウェアと、
自身と前記スレーブ装置との間で制御信号の送受信を行うための制御信号用マスタインタフェースと、
各インタフェース及び各ソフトウェアとの間で制御信号の仲介を行うマスタオペレーションシステムと、を有し、
前記スレーブ装置は、
主信号の経路交換を行う経路交換手段と、
前記経路交換手段を制御し、また、前記マスタ装置との間で制御信号を交換するスレーブ機能ソフトウェアと、
自身と前記マスタ装置との間で制御信号の送受信を行うための制御信号用スレーブインタフェースと、
前記マスタ装置から受信した前記要求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.
前記マスタ装置と前記スレーブ装置との間で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.
前記マスタ装置との間で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.
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)
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 |
-
2003
- 2003-11-06 JP JP2003377237A patent/JP2005142843A/en active Pending
Cited By (2)
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 |