Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3487430B2 - Server application multiplex communication system - Google Patents
[go: Go Back, main page]

JP3487430B2 - Server application multiplex communication system - Google Patents

Server application multiplex communication system

Info

Publication number
JP3487430B2
JP3487430B2 JP2001215448A JP2001215448A JP3487430B2 JP 3487430 B2 JP3487430 B2 JP 3487430B2 JP 2001215448 A JP2001215448 A JP 2001215448A JP 2001215448 A JP2001215448 A JP 2001215448A JP 3487430 B2 JP3487430 B2 JP 3487430B2
Authority
JP
Japan
Prior art keywords
address
server
server computer
application
correspondence table
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.)
Expired - Fee Related
Application number
JP2001215448A
Other languages
Japanese (ja)
Other versions
JP2003032256A (en
Inventor
俊之 秋山
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2001215448A priority Critical patent/JP3487430B2/en
Publication of JP2003032256A publication Critical patent/JP2003032256A/en
Application granted granted Critical
Publication of JP3487430B2 publication Critical patent/JP3487430B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は複数のサーバコンピ
ュータが接続された通信処理装置がTCP/IP(Tr
ansmission Control Protoc
ol/Internet Protocol)ネットワ
ークを介して1つ以上のクライアントコンピュータと接
続されている通信システムに関し、特に複数のサーバコ
ンピュータが同一のポート番号を割り当てられた同一の
サーバアプリケーションを搭載するサーバアプリケーシ
ョン多重化通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a TCP / IP (Tr.
enmission Control Protocol
(Internet / Internet Protocol) The present invention relates to a communication system connected to one or more client computers via a network, and in particular, server application multiplex communication in which a plurality of server computers have the same server application assigned the same port number. Regarding the system.

【0002】[0002]

【従来の技術】周知のように、TCP/IPプロトコル
では、アプリケーションレイヤで作成された送信データ
は、トランスポートレイヤで発信元アプリケーションを
特定するための発信元ポート番号および送信先アプリケ
ーションを特定するための送信先ポート番号をプロトコ
ルヘッダとして付加され、さらにインターネットレイヤ
で発信元コンピュータを特定するための発信元IP(I
nternet Protocol)アドレスおよび送
信先コンピュータを特定するための送信先IPアドレス
をプロトコルヘッダとして付加され、さらに加えてネッ
トワークインタフェースレイヤで発信元通信ハードウェ
アを特定するための発信元MAC(Media Acc
ess Control)アドレスおよび送信先通信ハ
ードウェアを特定するための送信先MACアドレスをプ
ロトコルヘッダとして付加されて、TCP/IPネット
ワークに送出される。
2. Description of the Related Art As is well known, in the TCP / IP protocol, transmission data created in an application layer is used to identify a source port number and a destination application for identifying a source application in a transport layer. Destination port number is added as a protocol header, and the source IP (I
network protocol) and a destination IP address for identifying a destination computer are added as a protocol header, and in addition, a source MAC (Media Acc) for identifying the source communication hardware at the network interface layer.
ess Control) address and the destination MAC address for identifying the destination communication hardware are added as a protocol header and sent to the TCP / IP network.

【0003】このため、TCP/IPプロトコルでは、
IPアドレスとポート番号との組み合わせによって1つ
のサーバアプリケーションが特定されるので、NIC
(Network Interface Card)等
の1つの通信ハードウェアに対して1つのIPアドレス
しか設定できない従来のサーバコンピュータにおいて
は、1つの通信ハードウェア上で、あるポート番号のポ
ートで着信を待つサーバアプリケーションも1つに制限
されていた。
Therefore, in the TCP / IP protocol,
Since one server application is specified by the combination of IP address and port number, NIC
In a conventional server computer in which only one IP address can be set for one communication hardware such as (Network Interface Card), a server application that waits for an incoming call at a port with a certain port number is also used on one communication hardware. Was limited to one.

【0004】しかし、たとえば、負荷の分散を図るた
め、あるいは不測の障害に備えるために、同一のポート
番号を割り当てられた同一のサーバアプリケーションを
複数動作させることが考えられるが、従来においては1
つのMACアドレスでは、同一のポート番号を割り当て
られたサーバアプリケーションは1つに限定されていた
ので、IPアドレスのみならず新たなMACアドレスを
追加して対処する必要があった。
However, for example, in order to distribute the load or to prepare for an unexpected failure, it is possible to operate a plurality of the same server applications to which the same port number is assigned.
With one MAC address, the number of server applications to which the same port number was assigned was limited to one, so it was necessary to handle not only the IP address but also a new MAC address.

【0005】このような点に鑑み、1つの通信ハードウ
ェアに対して複数のIPアドレスを設定できるようにし
たIPアドレスの多重化方式が、特開平10−1359
82号公報に記載されている。この従来のIPアドレス
多重化方式は、1つのMACアドレスに対して互いに異
なる2つのIPアドレスを割り当てるために、ネットワ
ークドライバとは別にループバックドライバを設け、2
つのIPアドレスの内の一方のIPアドレスをネットワ
ークドライバに、他方のIPアドレスをループバックド
ライバに割り当てるようにしたものである。
In view of such a point, an IP address multiplexing system that allows a plurality of IP addresses to be set for one communication hardware is disclosed in Japanese Patent Laid-Open No. 10-1359.
No. 82 publication. In this conventional IP address multiplexing method, a loopback driver is provided separately from the network driver in order to assign two different IP addresses to one MAC address.
One of the two IP addresses is assigned to the network driver, and the other IP address is assigned to the loopback driver.

【0006】[0006]

【発明が解決しようとする課題】しかし、この従来技術
には、次のような問題点があった。
However, this conventional technique has the following problems.

【0007】第1の問題点は、実装上の処理のオーバヘ
ッドが大きいということである。その理由は、ループバ
ックドライバによりIPアドレスの多重化を実装してい
るためである。
[0007] The first problem is that the processing overhead in mounting is large. The reason is that the IP address multiplexing is implemented by the loopback driver.

【0008】第2の問題点は、複数のサーバコンピュー
タ上で動作する同一のポート番号を割り当てられた同一
のサーバアプリケーションについては適用できないとい
うことである。その理由は、ネットワークドライバとル
ープバックドライバとが同一のサーバコンピュータ上で
動作することが前提となっているからである。
The second problem is that it cannot be applied to the same server application operating on a plurality of server computers and assigned the same port number. The reason is that it is premised that the network driver and the loopback driver operate on the same server computer.

【0009】本発明の目的は、複数のサーバコンピュー
タが通信処理装置の1枚のNICを共有し、サーバコン
ピュータ毎にIPアドレスを割り当てることにより、同
一のポート番号を割り当てられた同一のサーバアプリケ
ーションを複数のサーバコンピュータで利用できるよう
にしたサーバアプリケーション多重化通信システムを提
供することにある。
An object of the present invention is to allow a plurality of server computers to share one NIC of a communication processing device and to assign an IP address to each server computer so that the same server application to which the same port number is assigned is provided. Another object of the present invention is to provide a server application multiplexing communication system that can be used by a plurality of server computers.

【0010】また、本発明の他の目的は、複数のサーバ
コンピュータが通信処理装置の1枚のNICを共有し、
複数のサーバコンピュータに共通のIPアドレスを通信
処理装置に割り当てることにより、同一のポート番号を
割り当てられた同一のサーバアプリケーションを複数の
サーバコンピュータで利用できるようにしたサーバアプ
リケーション多重化通信システムを提供することにあ
る。
Another object of the present invention is that a plurality of server computers share one NIC of a communication processing device,
Provided is a server application multiplex communication system in which a common IP address is assigned to a plurality of server computers to a communication processing device so that the same server application assigned the same port number can be used in a plurality of server computers. Especially.

【0011】なお、その他の先行技術として、特開20
00―115225に記載された「ネットワークシステ
ムに適用されるネットワーク切り替え方法」があるが、
この方法はLAN(Local Area Netwo
rk)セグメントを二重化することにより高可用性を求
めるものであり、LANの構成に依存しない本発明とは
全く異なるものである。
As another prior art, Japanese Unexamined Patent Publication No. 20
There is a "network switching method applied to a network system" described in 00-115225.
This method is based on LAN (Local Area Network).
rk) High availability is required by duplicating the segment, which is completely different from the present invention which does not depend on the LAN configuration.

【0012】また、特開2000―307587に記載
された「複数IPアドレスをサポートするATM装置」
があるが、この装置はATM(Asynchronou
s Transfer Mode)―LANネットワー
クに特化したものであり、TCP/IPプロトコルを前
提にしているだけの本発明の方がより汎用性が高いもの
である。
Further, "ATM device supporting multiple IP addresses" described in Japanese Patent Laid-Open No. 2000-307587.
There is an ATM (Asyncronou
s Transfer Mode) —The present invention is specialized for a LAN network, and the present invention, which is based on the TCP / IP protocol, is more versatile.

【0013】さらに、特開平11―355322号公報
に記載された「無線端末装置をデータ伝送ネットワーク
と結合する方法及び無線端末装置」があるが、この方法
および装置は複数のNICを使用して無線通信を行う装
置および方法に関するものであり、1枚のNICに対し
て複数のIPアドレスを設定することにより複数のサー
バコンピュータとの通信を行う方式である本発明とは、
元々の構成からして全く異なるものである。
Further, there is a "method for connecting a wireless terminal device to a data transmission network and a wireless terminal device" described in Japanese Patent Laid-Open No. 11-355322. This method and device wirelessly use a plurality of NICs. The present invention relates to an apparatus and method for performing communication, and is a system for performing communication with a plurality of server computers by setting a plurality of IP addresses for one NIC.
It is completely different from the original configuration.

【0014】[0014]

【課題を解決するための手段】本発明のサーバアプリケ
ーション多重化通信システムは、複数のサーバコンピュ
ータが通信処理装置に接続され、該通信処理装置がTC
P/IPネットワークを介して1つ以上のクライアント
コンピュータと接続されている通信システムにおいて、
前記複数のサーバコンピュータが、それぞれ異なるIP
アドレスを割り当てられているとともに、同一のポート
番号を割り当てられた同一のサーバアプリケーションを
それぞれ搭載し、前記通信処理装置が、前記TCP/I
Pネットワークに接続され、MACアドレスが割り当て
られたNICと、サーバコンピュータとIPアドレスと
の対応を管理するサーバコンピュータ/IPアドレス対
応表と、IPアドレスとMACアドレスとの対応を管理
するIPアドレス/MACアドレス対応表と、前記サー
バアプリケーションの起動時に該サーバアプリケーショ
ンが起動されたサーバコンピュータから通知されたIP
アドレスを前記NICに割り当てられたMACアドレス
に対応させて前記IPアドレス/MACアドレス対応表
に登録するとともに、クライアントアプリケーションか
らのARPリクエストパケットの受信時に該ARPリク
エストパケット内の送信先IPアドレスを元に前記IP
アドレス/MACアドレス対応表からMACアドレスを
取得して該MACアドレスを含むARPレスポンスパケ
ットを前記クライアントアプリケーションに応答するT
CP/IP制御手段と、前記サーバアプリケーションの
起動時に該サーバアプリケーションが起動されたサーバ
コンピュータから通知されたIPアドレスを該サーバコ
ンピュータと対応させて前記サーバコンピュータ/IP
アドレス対応表に登録するとともに、前記クライアント
アプリケーションからの接続要求パケットの受信時に該
接続要求パケット内の送信先IPアドレスを元に前記サ
ーバコンピュータ/IPアドレス対応表からサーバコン
ピュータを特定して当該サーバコンピュータに接続要求
を振り分けるサーバ振り分け手段とを有することを特徴
とする。
In a server application multiplexed communication system of the present invention, a plurality of server computers are connected to a communication processing device, and the communication processing device is connected to a TC.
In a communication system connected to one or more client computers via a P / IP network,
Each of the plurality of server computers has a different IP
The communication processing device includes the same server application to which the address is assigned and the same port number is assigned,
A NIC connected to the P network and assigned a MAC address, a server computer / IP address correspondence table that manages the correspondence between the server computer and the IP address, and an IP address / MAC that manages the correspondence between the IP address and the MAC address. Address correspondence table and IP notified from the server computer on which the server application is started when the server application is started
The address is registered in the IP address / MAC address correspondence table in association with the MAC address assigned to the NIC, and based on the destination IP address in the ARP request packet when the ARP request packet is received from the client application. The IP
A MAC address is acquired from the address / MAC address correspondence table, and an ARP response packet including the MAC address is returned to the client application.
The CP / IP control means and the server computer / IP by associating the IP address notified from the server computer on which the server application is started at the time of starting the server application with the server computer.
The server computer is registered in the address correspondence table, and when the connection request packet is received from the client application, the server computer is specified from the server computer / IP address correspondence table based on the destination IP address in the connection request packet And server distribution means for distributing connection requests.

【0015】また、本発明のサーバアプリケーション多
重化通信システムは、複数のサーバコンピュータが通信
処理装置に接続され、該通信処理装置がTCP/IPネ
ットワークを介して1つ以上のクライアントコンピュー
タと接続されている通信システムにおいて、前記複数の
サーバコンピュータが、ポートの切り替えをコマンド指
示するポート切り替え手段を含むとともに、同一のポー
ト番号を割り当てられた同一のサーバアプリケーション
をそれぞれ搭載し、前記通信処理装置が、前記複数のサ
ーバコンピュータに共通に割り当てられたIPアドレス
と、前記TCP/IPネットワークに接続され、MAC
アドレスが割り当てられたNICと、ポート番号および
運用/待機状態とサーバコンピュータとの対応を管理す
るポート番号状態/サーバコンピュータ対応表と、前記
IPアドレスと前記MACアドレスとの対応を管理する
IPアドレス/MACアドレス対応表と、前記サーバア
プリケーションの起動時に接続要求の受付を開始すると
ともに、クライアントアプリケーションからのARPリ
クエストパケットの受信時に該ARPリクエストパケッ
ト内の送信先IPアドレスを元に前記IPアドレス/M
ACアドレス対応表からMACアドレスを取得して該M
ACアドレスを含むARPレスポンスパケットを前記ク
ライアントアプリケーションに応答するTCP/IP制
御手段と、前記ポート切り替え手段からのコマンド指示
によりポート番号および運用/待機状態とサーバコンピ
ュータとの対応を前記ポート番号状態/サーバコンピュ
ータ対応表に登録するとともに、前記クライアントアプ
リケーションからの接続要求パケットの受信時に該接続
要求パケット内の送信先ポート番号を元に前記ポート番
号状態/サーバコンピュータ対応表から運用状態のサー
バコンピュータを特定し、当該サーバコンピュータに接
続要求を振り分けるポート振り分け手段とを有すること
を特徴とする。
In the server application multiplexed communication system of the present invention, a plurality of server computers are connected to a communication processing device, and the communication processing device is connected to one or more client computers via a TCP / IP network. In the communication system, the plurality of server computers include port switching means for commanding port switching, and are equipped with the same server application to which the same port number is assigned. An IP address commonly assigned to a plurality of server computers and a MAC connected to the TCP / IP network.
An NIC to which an address is assigned, a port number / operation / standby state and a port number state / server computer correspondence table that manages correspondence between server computers, and an IP address / managing correspondence between the IP address and the MAC address / The MAC address correspondence table and the start of the connection request when the server application is started, and when the ARP request packet is received from the client application, the IP address / M is used based on the destination IP address in the ARP request packet.
The MAC address is acquired from the AC address correspondence table and the M
TCP / IP control means for responding to the client application with an ARP response packet including an AC address, and correspondence between port numbers and operating / standby states and server computers according to command instructions from the port switching means. While registering in the computer correspondence table, when the connection request packet is received from the client application, the operating state server computer is specified from the port number status / server computer correspondence table based on the destination port number in the connection request packet. , And port allocation means for allocating connection requests to the server computer.

【0016】一方、本発明のサーバアプリケーション多
重化通信方法は、サーバアプリケーションの起動時に該
サーバアプリケーションが起動されたサーバコンピュー
タから通知されたIPアドレスを該サーバコンピュータ
と対応させてサーバコンピュータ/IPアドレス対応表
に登録する工程と、前記サーバアプリケーションの起動
時に該サーバアプリケーションが起動されたサーバコン
ピュータから通知されたIPアドレスをNICに割り当
てられたMACアドレスに対応させてIPアドレス/M
ACアドレス対応表に登録する工程と、クライアントア
プリケーションからのARPリクエストパケットの受信
時に該ARPリクエストパケット内の送信先IPアドレ
スを元に前記IPアドレス/MACアドレス対応表から
MACアドレスを取得して該MACアドレスを含むAR
Pレスポンスパケットを前記クライアントアプリケーシ
ョンに応答する工程と、前記クライアントアプリケーシ
ョンからの接続要求パケットの受信時に該接続要求パケ
ット内の送信先IPアドレスを元に前記サーバコンピュ
ータ/IPアドレス対応表からサーバコンピュータを特
定して当該サーバコンピュータに接続要求を振り分ける
工程とを含むことを特徴とする。
On the other hand, in the server application multiplexed communication method of the present invention, when the server application is started, the IP address notified from the server computer where the server application is started is made to correspond to the server computer, and the server computer / IP address correspondence is made. The step of registering in the table, and the IP address notified from the server computer on which the server application is started at the time of starting the server application is made to correspond to the MAC address assigned to the NIC, and the IP address / M
The step of registering in the AC address correspondence table, and when the ARP request packet from the client application is received, the MAC address is obtained from the IP address / MAC address correspondence table based on the destination IP address in the ARP request packet AR including address
A step of responding to the client application with a P response packet, and specifying a server computer from the server computer / IP address correspondence table based on the destination IP address in the connection request packet when receiving the connection request packet from the client application And a step of allocating the connection request to the server computer.

【0017】また、本発明のサーバアプリケーション多
重化通信方法は、サーバコンピュータのポート切り替え
手段からのコマンド指示によりポート番号および運用/
待機状態と該サーバコンピュータとの対応をポート番号
状態/サーバコンピュータ対応表に登録する工程と、前
記サーバコンピュータでのサーバアプリケーションの起
動時に接続要求の受付を開始する工程と、クライアント
アプリケーションからのARPリクエストパケットの受
信時に該ARPリクエストパケット内の送信先IPアド
レスを元にIPアドレス/MACアドレス対応表からM
ACアドレスを取得して該MACアドレスを含むARP
レスポンスパケットを前記クライアントアプリケーショ
ンに応答する工程と、前記クライアントアプリケーショ
ンからの接続要求パケットの受信時に該接続要求パケッ
ト内の送信先ポート番号を元に前記ポート番号状態/サ
ーバコンピュータ対応表から運用状態のサーバコンピュ
ータを特定し、当該サーバコンピュータに接続要求を振
り分ける工程とを含むことを特徴とする。
Further, the server application multiplex communication method of the present invention uses the port number and the operation / operation according to the command instruction from the port switching means of the server computer.
The step of registering the correspondence between the standby state and the server computer in the port number state / server computer correspondence table, the step of starting the acceptance of the connection request when the server application is activated in the server computer, and the ARP request from the client application. When a packet is received, M is selected from the IP address / MAC address correspondence table based on the destination IP address in the ARP request packet.
ARP including AC address and MAC address
A step of responding a response packet to the client application, and a server in the operating state from the port number status / server computer correspondence table based on the destination port number in the connection request packet when the connection request packet is received from the client application Identifying the computer and allocating the connection request to the server computer.

【0018】他方、本発明のプログラムは、コンピュー
タを、サーバアプリケーションの起動時に該サーバアプ
リケーションが起動されたサーバコンピュータから通知
されたIPアドレスをNICに割り当てられたMACア
ドレスに対応させてIPアドレス/MACアドレス対応
表に登録するとともに、クライアントアプリケーション
からのARPリクエストパケットの受信時に該ARPリ
クエストパケット内の送信先IPアドレスを元に前記I
Pアドレス/MACアドレス対応表からMACアドレス
を取得して該MACアドレスを含むARPレスポンスパ
ケットを前記クライアントアプリケーションに応答する
TCP/IP制御手段と、前記サーバアプリケーション
の起動時に該サーバアプリケーションが起動されたサー
バコンピュータから通知されたIPアドレスを該サーバ
コンピュータと対応させて前記サーバコンピュータ/I
Pアドレス対応表に登録するとともに、前記クライアン
トアプリケーションからの接続要求パケットの受信時に
該接続要求パケット内の送信先IPアドレスを元に前記
サーバコンピュータ/IPアドレス対応表からサーバコ
ンピュータを特定して当該サーバコンピュータに接続要
求を振り分けるサーバ振り分け手段として機能させるこ
とを特徴とする。
On the other hand, the program of the present invention causes the computer to associate the IP address notified from the server computer on which the server application is started when the server application is started with the MAC address assigned to the NIC. The address is registered in the address correspondence table, and at the time of receiving the ARP request packet from the client application, the I address is based on the destination IP address in the ARP request packet.
TCP / IP control means for acquiring a MAC address from the P address / MAC address correspondence table and returning an ARP response packet containing the MAC address to the client application; and a server on which the server application is started when the server application is started. The IP address notified by the computer is associated with the server computer, and the server computer / I
The server is registered in the P address correspondence table, and at the time of receiving the connection request packet from the client application, the server computer is specified from the server computer / IP address correspondence table based on the destination IP address in the connection request packet, and the server concerned. It is characterized by causing a computer to function as a server distribution means for distributing connection requests.

【0019】また、本発明のプログラムは、コンピュー
タを、サーバアプリケーションの起動時に接続要求の受
付を開始するとともに、クライアントアプリケーション
からのARPリクエストパケットの受信時に該ARPリ
クエストパケット内の送信先IPアドレスを元にIPア
ドレス/MACアドレス対応表からMACアドレスを取
得して該MACアドレスを含むARPレスポンスパケッ
トを前記クライアントアプリケーションに応答するTC
P/IP制御手段と、ポート切り替え手段からのコマン
ド指示によりポート番号および運用/待機状態とサーバ
コンピュータとの対応をポート番号状態/サーバコンピ
ュータ対応表に登録するとともに、前記クライアントア
プリケーションからの接続要求パケットの受信時に該接
続要求パケット内の送信先ポート番号を元に前記ポート
番号状態/サーバコンピュータ対応表から運用状態のサ
ーバコンピュータを特定し、当該サーバコンピュータに
接続要求を振り分けるポート振り分け手段として機能さ
せることを特徴とする。
Further, the program of the present invention causes the computer to start accepting a connection request when the server application is activated, and at the time of receiving the ARP request packet from the client application, based on the destination IP address in the ARP request packet. TC that acquires a MAC address from the IP address / MAC address correspondence table and sends an ARP response packet including the MAC address to the client application
The P / IP control unit and the port switching unit register the correspondence between the port number and the operating / standby state and the server computer in the port number state / server computer correspondence table according to the command instruction, and the connection request packet from the client application. When receiving, the server computer in the operating state is identified from the port number status / server computer correspondence table based on the destination port number in the connection request packet, and it functions as a port distribution means that distributes the connection request to the server computer. Is characterized by.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0021】(1) 第1の実施の形態 図1を参照すると、本発明の第1の実施の形態に係るサ
ーバアプリケーション多重化通信システムは、複数のサ
ーバコンピュータ10,20と、複数のサーバコンピュ
ータ10,20が接続された通信処理装置30と、通信
処理装置30がTCP/IPネットワーク40を介して
接続された1つ以上のクライアントコンピュータ50と
から、その主要部が構成されている。
(1) First Embodiment Referring to FIG. 1, a server application multiplexing communication system according to a first embodiment of the present invention includes a plurality of server computers 10 and 20 and a plurality of server computers. The communication processing device 30 to which the units 10 and 20 are connected and one or more client computers 50 to which the communication processing device 30 is connected via a TCP / IP network 40 form a main part.

【0022】サーバコンピュータ10,20は、それぞ
れ異なるIPアドレス11,21と、同一のポート番号
1を割り当てられた同一のサーバアプリケーション1
2,22とを含む。IPアドレス11,21は、TCP
/IPネットワーク40上のサーバコンピュータ10,
20を特定するためのID(IDentificati
on)である。
The server computers 10 and 20 have different IP addresses 11 and 21 and the same server application 1 to which the same port number 1 is assigned.
2 and 22 are included. IP addresses 11 and 21 are TCP
/ Server computer 10 on the IP network 40,
ID for identifying 20 (IDentificati
on).

【0023】サーバアプリケーション12,22は、自
サーバコンピュータ10,20に割り当てられたIPア
ドレス11,21を用いて、通信処理装置30内のサー
バ振り分け手段34にIPアドレス11,21宛の接続
要求の受付開始を指示する。
The server applications 12 and 22 use the IP addresses 11 and 21 assigned to the server computers 10 and 20 to send a connection request addressed to the IP addresses 11 and 21 to the server distribution means 34 in the communication processing device 30. Instruct to start reception.

【0024】通信処理装置30は、TCP/IPネット
ワーク40に接続されたNIC31と、NIC31に一
意に割り当てられたMACアドレス32と、TCP/I
Pプロトコルでの通信制御を行うTCP/IP制御手段
33と、IPアドレスを用いて接続要求をサーバコンピ
ュータ10,20に振り分けるサーバ振り分け手段34
と、サーバコンピュータ10,20とIPアドレス1
1,12との対応が登録されるサーバコンピュータ/I
Pアドレス対応表35と、IPアドレス11,21とM
ACアドレス32との対応が登録されるIPアドレス/
MACアドレス対応表36とを含む。
The communication processing device 30 includes a NIC 31 connected to the TCP / IP network 40, a MAC address 32 uniquely assigned to the NIC 31, and a TCP / I.
TCP / IP control means 33 for controlling communication with the P protocol and server distribution means 34 for distributing connection requests to the server computers 10 and 20 using IP addresses.
And server computers 10 and 20 and IP address 1
Server computer / I in which correspondence with 1 and 12 is registered
P address correspondence table 35, IP addresses 11, 21 and M
IP address / correspondence with AC address 32 /
And a MAC address correspondence table 36.

【0025】TCP/IP制御手段33は、TCP/I
Pプロトコルに則したパケットを解釈し上位のアプリケ
ーションレイヤへ渡す機能を有する。また、TCP/I
P制御手段33は、MACアドレス32に対して複数の
IPアドレス11,12を割り当てるために、IPアド
レスに対応するMACアドレス32を要求するARP
(Address Resolution Proto
col)リクエストパケットに対してIPアドレス/M
ACアドレス対応表36を参照してMACアドレス32
を含むARPレスポンスパケットを応答する機能を有す
る。
The TCP / IP control means 33 uses the TCP / I
It has a function of interpreting a packet conforming to the P protocol and passing it to an upper application layer. In addition, TCP / I
The P control means 33 requests the MAC address 32 corresponding to the IP address in order to allocate the plurality of IP addresses 11 and 12 to the MAC address 32.
(Address Resolution Proto
col) IP address / M for request packet
MAC address 32 by referring to the AC address correspondence table 36
Has a function of responding to an ARP response packet including

【0026】クライアントコンピュータ50は、クライ
アントアプリケーション51を含む。
The client computer 50 includes a client application 51.

【0027】クライアントアプリケーション51は、接
続要求時に、サーバアプリケーション12,22のポー
ト番号(送信先ポート番号)1と、サーバコンピュータ
10,20のIPアドレス(送信先IPアドレス)1
1,21と、NIC31のMACアドレス(送信先MA
Cアドレス)とを指定する。
At the time of connection request, the client application 51 has port numbers (destination port numbers) 1 of the server applications 12 and 22 and IP addresses (destination IP address) 1 of the server computers 10 and 20.
1, 21 and the MAC address of the NIC 31 (destination MA
C address) and.

【0028】図2を参照すると、サーバコンピュータ/
IPアドレス対応表35は、サーバコンピュータ10,
20とIPアドレス11,21との対応を管理する。具
体的には、サーバコンピュータ10に対応してIPアド
レス11を、サーバコンピュータ20に対応してIPア
ドレス21をそれぞれ登録する。
Referring to FIG. 2, the server computer /
The IP address correspondence table 35 includes the server computer 10,
20 manages the correspondence between IP addresses 11 and 21. Specifically, the IP address 11 is registered for the server computer 10, and the IP address 21 is registered for the server computer 20.

【0029】図3を参照すると、IPアドレス/MAC
アドレス対応表36は、IPアドレス11,21とMA
Cアドレス32との対応を管理する。具体的には、IP
アドレス11およびIPアドレス21に対応してMAC
アドレス32を登録する。
Referring to FIG. 3, IP address / MAC
The address correspondence table 36 includes IP addresses 11 and 21 and MA.
The correspondence with the C address 32 is managed. Specifically, IP
MAC corresponding to address 11 and IP address 21
Register the address 32.

【0030】図4を参照すると、サーバコンピュータ1
0,20内のサーバアプリケーション12,22が起動
された場合の処理は、サーバアプリケーション起動ステ
ップS101と、IPアドレス登録指示ステップS10
2と、IPアドレスのサーバコンピュータ/IPアドレ
ス対応表への登録ステップS103と、IPアドレスの
IPアドレス/MACアドレス対応表への登録ステップ
S104とからなる。
Referring to FIG. 4, the server computer 1
The processing when the server applications 12 and 22 in 0 and 20 are started is performed by the server application starting step S101 and the IP address registration instruction step S10.
2, step S103 of registering the IP address in the server computer / IP address correspondence table, and step S104 of registering the IP address in the IP address / MAC address correspondence table.

【0031】図5を参照すると、クライアントアプリケ
ーション51での接続要求発生時の処理は、クライアン
トアプリケーションでの接続要求発生ステップS201
と、ARPリクエストパケットブロードキャストステッ
プS202と、ARPレスポンスパケット応答ステップ
S203と、クライアントアプリケーションからの接続
要求パケット送出ステップS204と、振り分け先サー
バコンピュータ特定および振り分けステップS205と
からなる。
Referring to FIG. 5, the process when a connection request is generated in the client application 51 is the connection request generation step S201 in the client application.
An ARP request packet broadcasting step S202, an ARP response packet response step S203, a connection request packet sending step S204 from the client application, and a distribution destination server computer identification and distribution step S205.

【0032】次に、このように構成された第1の実施の
形態に係るサーバアプリケーション多重化通信システム
の動作について、図1ないし図5を参照して詳細に説明
する。
Next, the operation of the server application multiplexing communication system according to the first embodiment configured as described above will be described in detail with reference to FIGS. 1 to 5.

【0033】まず、サーバコンピュータ10,20内の
サーバアプリケーション12,22が起動された場合の
動作を説明する(図4参照)。ここでは、サーバコンピ
ュータ10においてサーバアプリケーション12が起動
された場合を例にとって説明する。
First, the operation when the server applications 12 and 22 in the server computers 10 and 20 are activated will be described (see FIG. 4). Here, a case where the server application 12 is activated in the server computer 10 will be described as an example.

【0034】サーバコンピュータ10においてサーバア
プリケーション12が起動されると(ステップS10
1)、自サーバコンピュータ10のIPアドレス11の
登録を通信処理装置30へ指示する(ステップS10
2)。
When the server application 12 is activated in the server computer 10 (step S10)
1) Instruct the communication processing device 30 to register the IP address 11 of its own server computer 10 (step S10).
2).

【0035】通信処理装置30では、サーバ振り分け手
段34が、IPアドレス11を用いてTCP/IP制御
手段33に対して当該IPアドレス11宛の接続要求の
受付を開始させるとともに、IPアドレス11をサーバ
コンピュータ10に対応させてサーバコンピュータ/I
Pアドレス対応表35に登録する(ステップS10
3)。
In the communication processing device 30, the server distribution means 34 uses the IP address 11 to cause the TCP / IP control means 33 to start accepting a connection request addressed to the IP address 11, and the IP address 11 is sent to the server. Server computer / I corresponding to computer 10
Register in the P address correspondence table 35 (step S10)
3).

【0036】次に、TCP/IP制御手段33が、IP
アドレス11に対応してMACアドレス32をIPアド
レス/MACアドレス対応表36に登録する(ステップ
S104)。
Next, the TCP / IP control means 33 causes the IP
The MAC address 32 is registered in the IP address / MAC address correspondence table 36 corresponding to the address 11 (step S104).

【0037】なお、サーバコンピュータ20においてサ
ーバアプリケーション22が起動された場合も同様の動
作となる。
The same operation is performed when the server application 22 is activated in the server computer 20.

【0038】続いて、クライアントアプリケーション5
1での接続要求発生時の動作を説明する(図5参照)。
ただし、ここでは、送信先IPアドレスをIPアドレス
11とした場合を例にとって説明する。
Next, the client application 5
The operation when a connection request is generated in No. 1 will be described (see FIG. 5).
However, a case where the destination IP address is the IP address 11 will be described here as an example.

【0039】クライアントコンピュータ50では、クラ
イアントアプリケーション51のサーバアプリケーショ
ン12への接続要求の発生を契機として(ステップS2
01)、クライアントアプリケーション51が、送信先
IPアドレス11に対応するMACアドレスを要求する
ARPリクエストパケットをTCP/IPネットワーク
40にブロードキャストする(ステップS202)。
The client computer 50 is triggered by the generation of a connection request from the client application 51 to the server application 12 (step S2).
01), the client application 51 broadcasts an ARP request packet requesting the MAC address corresponding to the destination IP address 11 to the TCP / IP network 40 (step S202).

【0040】通信処理装置30では、TCP/IP制御
手段33が、ARPリクエストパケット内の送信先IP
アドレス11を元にIPアドレス/MACアドレス対応
表36からMACアドレス32を取得して、MACアド
レス32を含むARPレスポンスパケットをクライアン
トアプリケーション51に応答する(ステップS20
3)。
In the communication processing device 30, the TCP / IP control means 33 controls the destination IP in the ARP request packet.
The MAC address 32 is acquired from the IP address / MAC address correspondence table 36 based on the address 11 and an ARP response packet including the MAC address 32 is returned to the client application 51 (step S20).
3).

【0041】クライアントコンピュータ50では、AR
Pレスポンスパケットを受信すると、クライアントアプ
リケーション51が、送信先ポート番号1,送信先IP
アドレス11および送信先MACアドレス32を含む接
続要求のTCP/IPパケット(接続要求パケット)を
TCP/IPネットワーク40に送出する(ステップS
204)。
In the client computer 50, the AR
When the P response packet is received, the client application 51 sends the destination port number 1, the destination IP
A TCP / IP packet (connection request packet) of a connection request including the address 11 and the destination MAC address 32 is sent to the TCP / IP network 40 (step S).
204).

【0042】通信処理装置30では、TCP/IPネッ
トワーク40上の接続要求パケットをMACアドレス3
2のNIC31が受信し、サーバ振り分け手段34が、
該接続要求パケット内の送信先IPアドレス11を元に
サーバコンピュータ/IPアドレス対応表35から振り
分け先のサーバコンピュータ10を特定し、接続要求を
サーバコンピュータ10に振り分ける(ステップS20
5)。
In the communication processing device 30, the connection request packet on the TCP / IP network 40 is sent to the MAC address 3
The second NIC 31 receives, and the server distribution means 34
Based on the destination IP address 11 in the connection request packet, the server computer / IP address correspondence table 35 is used to identify the destination server computer 10, and the connection request is assigned to the server computer 10 (step S20).
5).

【0043】これにより、クライアントアプリケーショ
ン51は、サーバアプリケーション12と接続され、サ
ーバアプリケーション12と通信することが可能とな
る。
As a result, the client application 51 is connected to the server application 12 and can communicate with the server application 12.

【0044】なお、クライアントアプリケーション51
が、送信先IPアドレス21に対応するMACアドレス
を要求するARPリクエストパケットを送出した場合に
は、通信処理装置30が振り分け先のサーバコンピュー
タとしてサーバコンピュータ20を特定することにな
り、クライアントアプリケーション51は、サーバアプ
リケーション22と接続されることになる。
The client application 51
However, when the ARP request packet requesting the MAC address corresponding to the destination IP address 21 is transmitted, the communication processing device 30 specifies the server computer 20 as the distribution destination server computer, and the client application 51 , Will be connected to the server application 22.

【0045】第1の実施の形態によれば、複数のサーバ
コンピュータ10,20が接続された通信処理装置30
の1枚のNIC31に対して複数のIPアドレス11,
21を割り当てることができるようにしたので、複数の
サーバコンピュータ10,20で同一のポート番号1を
割り当てられた同一のサーバアプリケーション12,2
2をクライアントアプリケーション51から選択的に利
用することが可能になる。
According to the first embodiment, a communication processing device 30 to which a plurality of server computers 10 and 20 are connected.
A plurality of IP addresses 11 for one NIC 31 of
Since it has been made possible to assign the same port number 21, the same server application 12, 2 assigned the same port number 1 by a plurality of server computers 10, 20.
2 can be selectively used from the client application 51.

【0046】また、サーバコンピュータ10,20毎に
異なるIPアドレス11,21を割り当てることができ
るので、同一のポート番号1を割り当てられた同一のサ
ーバアプリケーション12,22を複数のサーバコンピ
ュータ10,20で利用することにより、複数のサーバ
コンピュータ10,20の負荷を分散させることが可能
になる。
Since different IP addresses 11 and 21 can be assigned to the server computers 10 and 20, the same server application 12 and 22 to which the same port number 1 is assigned can be assigned to a plurality of server computers 10 and 20. By using it, it becomes possible to distribute the loads on the plurality of server computers 10 and 20.

【0047】(2) 第2の実施の形態 図6を参照すると、本発明の第2の実施の形態に係るサ
ーバアプリケーション多重化通信システムは、複数のサ
ーバコンピュータ10,20と、複数のサーバコンピュ
ータ10,20が接続された通信処理装置30と、通信
処理装置30がTCP/IPネットワーク40を介して
接続された1つ以上のクライアントコンピュータ50と
から、その主要部が構成されている。
(2) Second Embodiment Referring to FIG. 6, a server application multiplexing communication system according to a second embodiment of the present invention includes a plurality of server computers 10 and 20 and a plurality of server computers. The communication processing device 30 to which the units 10 and 20 are connected and one or more client computers 50 to which the communication processing device 30 is connected via a TCP / IP network 40 form a main part.

【0048】サーバコンピュータ10,20は、同一の
ポート番号1を割り当てられた同一のサーバアプリケー
ション12,22と、ポート切り替え手段13,23と
を含む。
The server computers 10 and 20 include the same server applications 12 and 22 assigned the same port number 1, and port switching means 13 and 23.

【0049】サーバアプリケーション12,22は、起
動時にIPアドレス37宛の接続要求の受付開始を通信
処理装置30に指示する。
The server applications 12 and 22 instruct the communication processing device 30 to start accepting a connection request addressed to the IP address 37 at the time of activation.

【0050】ポート切り替え手段13,23は、運用状
態または待機状態のサーバアプリケーション12,22
のポートの切り替えを通信処理装置30へコマンド指示
する。
The port switching means 13 and 23 are the server applications 12 and 22 in the operating state or the standby state.
Command switching to the communication processing device 30.

【0051】通信処理装置30は、TCP/IPネット
ワーク40に接続されたNIC31と、NIC31に一
意に割り当てられたMACアドレス32と、TCP/I
Pプロトコルでの通信制御を行うTCP/IP制御手段
33と、IPアドレス/MACアドレス対応表36と、
複数のサーバコンピュータ10,20をまとめて通信処
理装置30に割り当てられたIPアドレス37と、ポー
ト振り分け手段38と、ポート番号状態/サーバコンピ
ュータ対応表39とを含む。
The communication processing device 30 includes a NIC 31 connected to the TCP / IP network 40, a MAC address 32 uniquely assigned to the NIC 31, and a TCP / I.
TCP / IP control means 33 for controlling communication by the P protocol, IP address / MAC address correspondence table 36,
It includes an IP address 37 that is assigned to the communication processing device 30 by grouping a plurality of server computers 10 and 20, a port allocation unit 38, and a port number status / server computer correspondence table 39.

【0052】ポート振り分け手段38は、TCP/IP
制御手段33にIPアドレス宛の接続要求の受付を開始
させるとともに、サーバコンピュータ10,20内のポ
ート切り替え手段13,23と連携してサーバアプリケ
ーション12,22のポート番号1および運用/待機状
態をポート番号状態/サーバコンピュータ対応表39に
て管理する。
The port allocating means 38 uses TCP / IP.
The control means 33 is made to start accepting the connection request addressed to the IP address, and in cooperation with the port switching means 13, 23 in the server computers 10, 20, the port number 1 of the server applications 12, 22 and the operating / standby state are set as ports. The number status / server computer correspondence table 39 is used for management.

【0053】図7を参照すると、ポート番号状態/サー
バコンピュータ対応表39は、ポート番号1および運用
/待機状態とサーバコンピュータ10,20との対応を
管理する。具体的には、サーバアプリケーション12,
22共通のポート番号1に対応して、運用状態およびサ
ーバコンピュータ10と、待機状態およびサーバコンピ
ュータ20とを登録する。
Referring to FIG. 7, the port number status / server computer correspondence table 39 manages the correspondence between the port number 1 and the operating / standby status and the server computers 10 and 20. Specifically, the server application 12,
The operating state and the server computer 10 and the standby state and the server computer 20 are registered in correspondence with the port number 1 common to all 22.

【0054】図8を参照すると、サーバコンピュータ1
0,20内のサーバアプリケーション12,22が起動
された場合の処理は、サーバアプリケーション起動ステ
ップS301と、通信処理装置への接続要求受付開始指
示ステップS302と、IPアドレス宛の接続要求受付
開始ステップS303とからなる。
Referring to FIG. 8, the server computer 1
When the server applications 12 and 22 in 0 and 20 are started, the server application starting step S301, the connection request reception start instruction step S302 to the communication processing device, and the connection request reception start step S303 to the IP address are executed. Consists of.

【0055】図9を参照すると、クライアントコンピュ
ータ50内のクライアントアプリケーション51からの
接続要求時の処理は、クライアントアプリケーションで
の接続要求発生ステップS401と、ARPリクエスト
パケットブロードキャストステップS402と、ARP
レスポンスパケット応答ステップS403と、クライア
ントアプリケーションからの接続要求パケット送出ステ
ップS404と、振り分け先サーバコンピュータ特定お
よび振り分けステップS405とからなる。
Referring to FIG. 9, the process when a connection request is issued from the client application 51 in the client computer 50 is as follows: connection request generation step S401 in client application, ARP request packet broadcast step S402, ARP
It includes a response packet response step S403, a connection request packet transmission step S404 from the client application, and a distribution destination server computer identification and distribution step S405.

【0056】なお、特に言及しなかった部分について
は、第1の実施の形態にかかるサーバアプリケーション
多重化通信システムと同様に構成されているものとす
る。
It should be noted that parts not specifically mentioned are configured similarly to the server application multiplex communication system according to the first embodiment.

【0057】次に、このように構成された第2の実施の
形態に係るサーバアプリケーション多重化通信システム
の動作について、図6から図12を参照して詳細に説明
する。
Next, the operation of the server application multiplexing communication system according to the second embodiment configured as described above will be described in detail with reference to FIGS. 6 to 12.

【0058】まず、サーバコンピュータ10,20内の
ポート切り替え手段13,23と通信処理装置30内の
ポート振り分け手段38との連携動作について説明する
(図10参照)。
First, the cooperative operation of the port switching means 13 and 23 in the server computers 10 and 20 and the port allocating means 38 in the communication processing device 30 will be described (see FIG. 10).

【0059】サーバコンピュータ10では、ポート切り
替え手段13が、サーバアプリケーション12のポート
番号1および状態(ここでは、運用状態とする)を通信
処理装置30へコマンド指示する。
In the server computer 10, the port switching means 13 gives a command instruction to the communication processing device 30 about the port number 1 and the state (here, the operating state) of the server application 12.

【0060】通信処理装置30では、ポート振り分け手
段38が、コマンド指示されたポート番号1および運用
状態とコマンド指示元のサーバコンピュータ10との対
応をポート番号状態/サーバコンピュータ対応表39に
登録する(図7参照)。
In the communication processing device 30, the port allocating means 38 registers the correspondence between the port number 1 designated by the command and the operating state and the server computer 10 which issued the command in the port number state / server computer correspondence table 39 ( (See FIG. 7).

【0061】また、サーバコンピュータ20では、ポー
ト切り替え手段23が、サーバアプリケーション22の
ポート番号1および状態(ここでは、待機状態とする)
を通信処理装置30へコマンド指示する。
Further, in the server computer 20, the port switching means 23 causes the port number 1 and the state of the server application 22 (here, the standby state).
Is commanded to the communication processing device 30.

【0062】通信処理装置30では、ポート振り分け手
段38が、コマンド指示されたポート番号1および待機
状態とコマンド指示元のサーバコンピュータ20との対
応をポート番号状態/サーバコンピュータ対応表39に
登録する(図7参照)。
In the communication processing device 30, the port allocating means 38 registers the correspondence between the commanded port number 1 and the standby state and the server computer 20 which issued the command in the port number state / server computer correspondence table 39 ( (See FIG. 7).

【0063】次に、サーバコンピュータ10,20内の
サーバアプリケーション12,22が起動された場合の
動作を説明する(図8参照)。ここでは、サーバコンピ
ュータ10のサーバアプリケーション12が起動される
場合を例にとって説明する。
Next, the operation when the server applications 12, 22 in the server computers 10, 20 are activated will be described (see FIG. 8). Here, a case where the server application 12 of the server computer 10 is started will be described as an example.

【0064】サーバコンピュータ10においてサーバア
プリケーション12が起動されると(ステップS30
1)、通信処理装置30へ接続要求の受付開始を指示す
る(ステップS302)。
When the server application 12 is started in the server computer 10 (step S30)
1) Instruct the communication processing device 30 to start accepting a connection request (step S302).

【0065】通信処理装置30では、接続要求の受付開
始指示を受けると、TCP/IP制御手段33が、IP
アドレス37宛の接続要求の受付を開始する(ステップ
S303)。
In the communication processing device 30, when the reception start instruction of the connection request is received, the TCP / IP control means 33 causes the IP
Reception of the connection request addressed to the address 37 is started (step S303).

【0066】なお、サーバコンピュータ20においてサ
ーバアプリケーション22が起動された場合も同様の動
作となる。
The same operation is performed when the server application 22 is activated in the server computer 20.

【0067】続いて、クライアントアプリケーション5
1での接続要求発生時の動作を説明する(図9参照)。
ただし、ここでは、送信先IPアドレスをIPアドレス
11とした場合を例にとって説明する。
Next, the client application 5
The operation when a connection request is generated in No. 1 will be described (see FIG. 9).
However, a case where the destination IP address is the IP address 11 will be described here as an example.

【0068】クライアントコンピュータ50では、クラ
イアントアプリケーション51のサーバアプリケーショ
ン12への接続要求の発生を契機として(ステップS4
01)、クライアントアプリケーション51が、送信先
IPアドレス11に対応するMACアドレスを要求する
ARPリクエストパケットをTCP/IPネットワーク
40にブロードキャストする(ステップS402)。
In the client computer 50, the client application 51 issues a connection request to the server application 12 (step S4).
01), the client application 51 broadcasts an ARP request packet requesting the MAC address corresponding to the destination IP address 11 to the TCP / IP network 40 (step S402).

【0069】通信処理装置30では、TCP/IP制御
手段33が、ARPリクエストパケット内の送信先IP
アドレス11を元にIPアドレス/MACアドレス対応
表36からMACアドレス32を取得して、MACアド
レス32を含むARPレスポンスパケットをクライアン
トアプリケーション51に応答する(ステップS40
3)。
In the communication processing device 30, the TCP / IP control means 33 controls the destination IP in the ARP request packet.
The MAC address 32 is acquired from the IP address / MAC address correspondence table 36 based on the address 11 and an ARP response packet including the MAC address 32 is returned to the client application 51 (step S40).
3).

【0070】クライアントコンピュータ50では、AR
Pレスポンスパケットを受信すると、クライアントアプ
リケーション51が、送信先ポート番号1,送信先IP
アドレス11および送信先MACアドレス32を含む接
続要求パケットをTCP/IPネットワーク40に送出
する(ステップS404)。
In the client computer 50, the AR
When the P response packet is received, the client application 51 sends the destination port number 1, the destination IP
A connection request packet including the address 11 and the destination MAC address 32 is sent to the TCP / IP network 40 (step S404).

【0071】通信処理装置30では、MACアドレス3
2のNIC31が、TCP/IPネットワーク40上の
接続要求パケットを受信し、ポート振り分け手段38
が、該接続要求パケット内の送信先ポート番号1を元に
ポート番号状態/サーバコンピュータ対応表39から運
用状態のサーバコンピュータ10を特定し、接続要求を
サーバコンピュータ10に振り分ける(ステップS40
5)。
In the communication processing device 30, the MAC address 3
The second NIC 31 receives the connection request packet on the TCP / IP network 40, and the port distribution unit 38
Identifies the active server computer 10 from the port number status / server computer correspondence table 39 based on the destination port number 1 in the connection request packet, and distributes the connection request to the server computer 10 (step S40).
5).

【0072】これにより、クライアントアプリケーショ
ン51は、サーバアプリケーション12と接続され、サ
ーバアプリケーション12と通信することが可能とな
る。
As a result, the client application 51 is connected to the server application 12 and can communicate with the server application 12.

【0073】なお、クライアントアプリケーション51
が、送信先IPアドレス21に対応するMACアドレス
を要求するARPリクエストパケットをブロードキャス
トした場合には、通信処理装置30が振り分け先のサー
バコンピュータとしてサーバコンピュータ20を特定す
ることになり、クライアントアプリケーション51は、
サーバアプリケーション22と接続されることになる。
The client application 51
However, when the ARP request packet requesting the MAC address corresponding to the destination IP address 21 is broadcast, the communication processing device 30 identifies the server computer 20 as the distribution destination server computer, and the client application 51 ,
It will be connected to the server application 22.

【0074】最後に、運用中のサーバコンピュータ10
においてポート番号1のサーバプリケーション21が障
害となった場合のサーバコンピュータ切り替え動作を説
明する(図11参照)。
Finally, the server computer 10 in operation
The server computer switching operation in the case where the server application 21 having the port number 1 has a failure will be described (see FIG. 11).

【0075】運用状態のサーバコンピュータ10におい
てポート番号1のサーバアプリケーション21が障害と
なった場合、待機状態のサーバコンピュータ20のコン
ソールからのコマンド指示にて、ポート切り替え手段2
3により、ポート番号1の運用状態のサーバアプリケー
ションがサーバコンピュータ12からサーバアプリケー
ション22に切り替わったことを通信処理装置30にコ
マンド指示する。
When the server application 21 with the port number 1 fails in the operating server computer 10, the port switching means 2 is operated by a command from the console of the server computer 20 in the standby state.
3, a command instruction is given to the communication processing device 30 that the server application in the operating state of the port number 1 is switched from the server computer 12 to the server application 22.

【0076】通信処理装置30では、ポート振り分け手
段38が、サーバコンピュータ20からのコマンド指示
に基づいてポート番号状態/サーバコンピュータ対応表
39を更新する。詳しくは、サーバコンピュータ10に
対応するポート番号1の状態を運用から待機に変更する
とともに、サーバコンピュータ20に対応するポート番
号1の状態を待機から運用に変更する(図12参照)。
In the communication processing device 30, the port allocating means 38 updates the port number status / server computer correspondence table 39 based on the command instruction from the server computer 20. Specifically, the state of port number 1 corresponding to the server computer 10 is changed from active to standby, and the state of port number 1 corresponding to the server computer 20 is changed from standby to active (see FIG. 12).

【0077】以降のクライアントアプリケーション51
からの接続要求は、ポート番号状態/サーバコンピュー
タ対応表39を参照して、サーバコンピュータ20内の
サーバアプリケーション22と接続されるようになる。
Subsequent client application 51
The connection request from is referred to the port number status / server computer correspondence table 39, and is connected to the server application 22 in the server computer 20.

【0078】第2の実施の形態によれば、複数のサーバ
アプリケーション12,22共通のIPアドレス37を
通信処理装置30に割り当てるとともにポート振り分け
手段38を設けることにより、クライアントアプリケー
ション51から1つのIPアドレス37で複数のサーバ
コンピュータ10,20上の同一のポート番号1を割り
当てられた同一のサーバアプリケーション12,22を
運用系と待機系とに振り分けて利用することが可能にな
る。
According to the second embodiment, the IP address 37 common to the plurality of server applications 12 and 22 is assigned to the communication processing device 30 and the port allocating means 38 is provided so that one IP address can be obtained from the client application 51. At 37, the same server application 12, 22 assigned the same port number 1 on a plurality of server computers 10, 20 can be distributed to the active system and the standby system for use.

【0079】(3) 第3の実施の形態 図13は、本発明の第3の実施の形態に係るサーバアプ
リケーション多重化通信システムの構成を示すブロック
図である。本実施の形態に係るサーバアプリケーション
多重化通信システムは、通信処理装置30にTCP/I
P制御手段33およびサーバ振り分け手段34の機能を
実現する通信処理プログラム100を備えるようにした
ものである。
(3) Third Embodiment FIG. 13 is a block diagram showing the configuration of a server application multiplexing communication system according to the third embodiment of the present invention. In the server application multiplexed communication system according to the present embodiment, the communication processing device 30 uses TCP / I.
The communication processing program 100 that realizes the functions of the P control unit 33 and the server distribution unit 34 is provided.

【0080】このような第3の実施の形態に係るサーバ
アプリケーション多重化通信システムでは、通信処理プ
ログラム100がコンピュータでなる通信処理装置30
に読み込まれ、TCP/IP制御手段33およびサーバ
振り分け手段34として動作する。これら各手段の詳し
い動作は、図1ないし図5に示した第1の実施の形態に
係るサーバアプリケーション多重化通信システムの場合
と全く同様になるので、その詳しい説明を割愛する。
In the server application multiplex communication system according to the third embodiment, the communication processing program 100 is a computer.
Read as the TCP / IP control means 33 and the server distribution means 34. The detailed operation of each of these means is exactly the same as in the case of the server application multiplexing communication system according to the first exemplary embodiment shown in FIGS. 1 to 5, so a detailed description thereof will be omitted.

【0081】(4) 第4の実施の形態 図14は、本発明の第4の実施の形態に係るサーバアプ
リケーション多重化通信システムの構成を示すブロック
図である。本実施の形態に係るサーバアプリケーション
多重化通信システムは、通信処理装置30にTCP/I
P制御手段33およびポート振り分け手段38の機能を
実現する通信処理プログラム200を備えるようにした
ものである。
(4) Fourth Embodiment FIG. 14 is a block diagram showing the configuration of a server application multiplexing communication system according to the fourth embodiment of the present invention. In the server application multiplexed communication system according to the present embodiment, the communication processing device 30 uses TCP / I.
A communication processing program 200 for realizing the functions of the P control means 33 and the port allocating means 38 is provided.

【0082】このような第4の実施の形態に係るサーバ
アプリケーション多重化通信システムでは、通信処理プ
ログラム200がコンピュータでなる通信処理装置30
に読み込まれ、TCP/IP制御手段33およびポート
振り分け手段38として動作する。これら各手段の詳し
い動作は、図6ないし図12に示した第2の実施の形態
に係るサーバアプリケーション多重化通信システムの場
合と全く同様になるので、その詳しい説明を割愛する。
In the server application multiplex communication system according to the fourth embodiment as described above, the communication processing device 30 is a computer in which the communication processing program 200 is a computer.
Read as the TCP / IP control means 33 and the port distribution means 38. The detailed operation of each of these means is exactly the same as in the case of the server application multiplexing communication system according to the second exemplary embodiment shown in FIGS. 6 to 12, and therefore its detailed description is omitted.

【0083】なお、上記各実施の形態では、通信処理装
置30に接続されるサーバコンピュータをサーバコンピ
ュータ10,20の2つとしたが、通信処理装置30に
接続されるサーバコンピュータが3つ以上の場合でも、
本発明が同様に適用可能であることはいうまでもない。
In each of the above embodiments, the server computers connected to the communication processing device 30 are two server computers 10 and 20, but when there are three or more server computers connected to the communication processing device 30. But
It goes without saying that the invention is likewise applicable.

【0084】[0084]

【発明の効果】第1の効果は、同一のポート番号を割り
当てられた同一のサーバアプリケーションを複数のサー
バコンピュータで利用できることである。その理由は、
1枚のNICに対して複数のIPアドレスを割り当てる
ことができるためである。
The first effect is that the same server application assigned the same port number can be used by a plurality of server computers. The reason is,
This is because a plurality of IP addresses can be assigned to one NIC.

【0085】第2の効果は、同一のポート番号を割り当
てられた同一のサーバアプリケーションを複数のサーバ
コンピュータで利用することにより、複数のサーバコン
ピュータの負荷を分散させることができることである。
その理由は、サーバコンピュータ毎にIPアドレスを割
り当てるとともに通信処理装置にサーバ振り分け手段を
設けることにより、接続するクライアントコンピュータ
の台数を分散させることができるためである。
The second effect is that the load of a plurality of server computers can be distributed by using the same server application assigned the same port number in a plurality of server computers.
The reason is that the number of client computers to be connected can be dispersed by assigning an IP address to each server computer and providing the communication processing device with a server distribution unit.

【0086】第3の効果は、1つのIPアドレスで複数
のサーバコンピュータ上における同一のポート番号を割
り当てられた同一のサーバアプリケーションを運用系と
待機系とに振り分けて利用することが可能になることで
ある。その理由は、複数のサーバコンピュータに共通に
1つのIPアドレスを割り当てるとともに、接続要求パ
ケット内の送信先ポート番号を元に運用状態のサーバコ
ンピュータを特定し、当該サーバコンピュータに接続要
求を振り分けるポート振り分け手段を設けるようにした
からである。
The third effect is that the same server application to which the same port number is assigned on a plurality of server computers by one IP address can be distributed and used for the active system and the standby system. Is. The reason is that one IP address is commonly assigned to a plurality of server computers, the operating server computer is specified based on the destination port number in the connection request packet, and the connection request is distributed to the server computer. This is because a means is provided.

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

【図1】本発明の第1の実施の形態に係るサーバアプリ
ケーション多重化通信システムの構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a server application multiplexing communication system according to a first exemplary embodiment of the present invention.

【図2】図1中のサーバコンピュータ/IPアドレス対
応表の内容を例示する図である。
FIG. 2 is a diagram showing an example of contents of a server computer / IP address correspondence table in FIG.

【図3】図1中のIPアドレス/MACアドレス対応表
の内容を例示する図である。
FIG. 3 is a diagram showing an example of contents of an IP address / MAC address correspondence table in FIG.

【図4】図1中のサーバコンピュータ内のサーバアプリ
ケーションが起動された場合の処理を示すフローチャー
トである。
4 is a flowchart showing a process when a server application in the server computer in FIG. 1 is activated.

【図5】図1中のクライアントアプリケーションでの接
続要求発生時の処理を示すフローチャートである。
5 is a flowchart showing a process when a connection request is generated in the client application shown in FIG.

【図6】本発明の第2の実施の形態に係るサーバアプリ
ケーション多重化通信システムの構成を示すブロック図
である。
FIG. 6 is a block diagram showing a configuration of a server application multiplexing communication system according to a second exemplary embodiment of the present invention.

【図7】図6中のポート番号状態/サーバコンピュータ
対応表の内容を例示する図である。
FIG. 7 is a diagram showing an example of the contents of a port number status / server computer correspondence table in FIG.

【図8】図6中のサーバコンピュータ内のサーバアプリ
ケーションが起動された場合の処理を示すフローチャー
トである。
8 is a flowchart showing a process when a server application in the server computer shown in FIG. 6 is activated.

【図9】図6中のクライアントコンピュータ内のクライ
アントアプリケーションからの接続要求発生時の処理を
示すフローチャートである。
9 is a flowchart showing a process when a connection request is generated from a client application in the client computer shown in FIG.

【図10】図6中のサーバコンピュータ内のポート切り
替え手段と通信処理装置内のポート振り分け手段の動作
を説明する図である。
10 is a diagram for explaining the operation of the port switching means in the server computer and the port allocating means in the communication processing device in FIG.

【図11】図6中の運用中のサーバコンピュータにおい
てサーバプリケーションが障害となった場合のサーバコ
ンピュータ切り替え動作を説明する図である。
FIG. 11 is a diagram illustrating a server computer switching operation when a server application fails in the operating server computer in FIG. 6;

【図12】図7のポート番号状態/サーバコンピュータ
対応表の内容の遷移を説明する図である。
FIG. 12 is a diagram for explaining the transition of the contents of the port number status / server computer correspondence table of FIG. 7.

【図13】本発明の第3の実施の形態に係るサーバアプ
リケーション多重化通信システムの構成を示すブロック
図である。
FIG. 13 is a block diagram showing a configuration of a server application multiplexing communication system according to a third exemplary embodiment of the present invention.

【図14】本発明の第4の実施の形態に係るサーバアプ
リケーション多重化通信システムの構成を示すブロック
図である。
FIG. 14 is a block diagram showing a configuration of a server application multiplexing communication system according to a fourth embodiment of the present invention.

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

10,20 サーバコンピュータ 11,21 IPアドレス 12,22 サーバアプリケーション 13,23 ポート切り替え手段 30 通信処理装置 31 NIC 32 MACアドレス 33 TCP/IP制御手段 34 サーバ振り分け手段 35 サーバコンピュータ/IPアドレス対応表 36 IPアドレス/MACアドレス対応表 40 TCP/IPネットワーク 50 クライアントコンピュータ 51 クライアントアプリケーション 100,200 通信処理プログラム S101 サーバアプリケーション起動ステップ S102 IPアドレス登録指示ステップ S103 IPアドレスのサーバコンピュータ/IPア
ドレス対応表への登録ステップ S104 IPアドレスのIPアドレス/MACアドレ
ス対応表への登録ステップ S201 クライアントアプリケーションでの接続要求
発生ステップ S202 ARPリクエストパケットブロードキャスト
ステップ S203 ARPレスポンスパケット応答ステップ S204 クライアントアプリケーションからの接続要
求パケット送出ステップ S205 振り分け先サーバコンピュータ特定および振
り分けステップ S301 サーバアプリケーション起動ステップ S302 通信処理装置への接続要求受付開始指示ステ
ップ S303 IPアドレス宛の接続要求受付開始ステップ S401 クライアントアプリケーションからの接続要
求ステップ S402 ARPリクエストパケットブロードキャスト
ステップ S403 ARPレスポンスパケット応答ステップ S404 クライアントアプリケーションからの接続要
求パケット送出ステップ S405 振り分け先サーバコンピュータ特定および振
り分けステップ
10, 20 Server computer 11, 21 IP address 12, 22 Server application 13, 23 Port switching means 30 Communication processing device 31 NIC 32 MAC address 33 TCP / IP control means 34 Server distribution means 35 Server computer / IP address correspondence table 36 IP Address / MAC address correspondence table 40 TCP / IP network 50 Client computer 51 Client application 100, 200 Communication processing program S101 Server application start step S102 IP address registration instruction step S103 IP address registration to server computer / IP address correspondence table S104 Step S201 Registration of IP Address in IP Address / MAC Address Correspondence Table Client Application Connection request generation step S202 ARP request packet broadcast step S203 ARP response packet response step S204 Connection request packet transmission step from client application step S205 Distribution destination server computer identification and distribution step S301 Server application startup step S302 Connection to communication processing device Request reception start instruction step S303 Connection request reception start step for the IP address S401 Connection request from client application step S402 ARP request packet broadcast step S403 ARP response packet response step S404 Connection request packet transmission from client application step S405 Distribution destination server Computer identification and sorting step

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 - 12/46 H04L 12/56 G06F 13/00 500 G06F 15/16 620 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 12/28-12/46 H04L 12/56 G06F 13/00 500 G06F 15/16 620

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のサーバコンピュータが通信処理装
置に接続され、該通信処理装置がTCP/IPネットワ
ークを介して1つ以上のクライアントコンピュータと接
続されている通信システムにおいて、前記複数のサーバ
コンピュータが、それぞれ異なるIPアドレスを割り当
てられているとともに、同一のポート番号を割り当てら
れた同一のサーバアプリケーションをそれぞれ搭載し、
前記通信処理装置が、前記TCP/IPネットワークに
接続され、MACアドレスが割り当てられたNICと、
サーバコンピュータとIPアドレスとの対応を管理する
サーバコンピュータ/IPアドレス対応表と、IPアド
レスとMACアドレスとの対応を管理するIPアドレス
/MACアドレス対応表と、前記サーバアプリケーショ
ンの起動時に該サーバアプリケーションが起動されたサ
ーバコンピュータから通知されたIPアドレスを前記N
ICに割り当てられたMACアドレスに対応させて前記
IPアドレス/MACアドレス対応表に登録するととも
に、クライアントアプリケーションからのARPリクエ
ストパケットの受信時に該ARPリクエストパケット内
の送信先IPアドレスを元に前記IPアドレス/MAC
アドレス対応表からMACアドレスを取得して該MAC
アドレスを含むARPレスポンスパケットを前記クライ
アントアプリケーションに応答するTCP/IP制御手
段と、前記サーバアプリケーションの起動時に該サーバ
アプリケーションが起動されたサーバコンピュータから
通知されたIPアドレスを該サーバコンピュータと対応
させて前記サーバコンピュータ/IPアドレス対応表に
登録するとともに、前記クライアントアプリケーション
からの接続要求パケットの受信時に該接続要求パケット
内の送信先IPアドレスを元に前記サーバコンピュータ
/IPアドレス対応表からサーバコンピュータを特定し
て当該サーバコンピュータに接続要求を振り分けるサー
バ振り分け手段とを有することを特徴とするサーバアプ
リケーション多重化通信システム。
1. A communication system in which a plurality of server computers are connected to a communication processing device, and the communication processing devices are connected to one or more client computers via a TCP / IP network, wherein the plurality of server computers are , Each has a different IP address, and has the same server application with the same port number.
A NIC to which the communication processing device is connected to the TCP / IP network and to which a MAC address is assigned;
A server computer / IP address correspondence table managing the correspondence between the server computer and the IP address, an IP address / MAC address correspondence table managing the correspondence between the IP address and the MAC address, and the server application when the server application is started. The IP address notified by the started server computer is set to the N
The IP address is registered in the IP address / MAC address correspondence table in association with the MAC address assigned to the IC, and the IP address is based on the destination IP address in the ARP request packet when the ARP request packet is received from the client application. / MAC
The MAC address is acquired from the address correspondence table and the MAC
The TCP / IP control means for responding to the client application with an ARP response packet including an address, and the IP address notified by the server computer on which the server application is activated when the server application is activated are associated with the server computer. While registering in the server computer / IP address correspondence table, at the time of receiving the connection request packet from the client application, the server computer is specified from the server computer / IP address correspondence table based on the destination IP address in the connection request packet. And a server distribution unit that distributes a connection request to the server computer.
【請求項2】 複数のサーバコンピュータが通信処理装
置に接続され、該通信処理装置がTCP/IPネットワ
ークを介して1つ以上のクライアントコンピュータと接
続されている通信システムにおいて、前記複数のサーバ
コンピュータが、ポートの切り替えをコマンド指示する
ポート切り替え手段を含むとともに、同一のポート番号
を割り当てられた同一のサーバアプリケーションをそれ
ぞれ搭載し、前記通信処理装置が、前記複数のサーバコ
ンピュータに共通に割り当てられたIPアドレスと、前
記TCP/IPネットワークに接続され、MACアドレ
スが割り当てられたNICと、ポート番号および運用/
待機状態とサーバコンピュータとの対応を管理するポー
ト番号状態/サーバコンピュータ対応表と、前記IPア
ドレスと前記MACアドレスとの対応を管理するIPア
ドレス/MACアドレス対応表と、前記サーバアプリケ
ーションの起動時に接続要求の受付を開始するととも
に、クライアントアプリケーションからのARPリクエ
ストパケットの受信時に該ARPリクエストパケット内
の送信先IPアドレスを元に前記IPアドレス/MAC
アドレス対応表からMACアドレスを取得して該MAC
アドレスを含むARPレスポンスパケットを前記クライ
アントアプリケーションに応答するTCP/IP制御手
段と、前記ポート切り替え手段からのコマンド指示によ
りポート番号および運用/待機状態とサーバコンピュー
タとの対応を前記ポート番号状態/サーバコンピュータ
対応表に登録するとともに、前記クライアントアプリケ
ーションからの接続要求パケットの受信時に該接続要求
パケット内の送信先ポート番号を元に前記ポート番号状
態/サーバコンピュータ対応表から運用状態のサーバコ
ンピュータを特定し、当該サーバコンピュータに接続要
求を振り分けるポート振り分け手段とを有することを特
徴とするサーバアプリケーション多重化通信システム。
2. A communication system in which a plurality of server computers are connected to a communication processing device, and the communication processing devices are connected to one or more client computers via a TCP / IP network, wherein the plurality of server computers are , An IP which includes port switching means for commanding port switching, and which is equipped with the same server application to which the same port number is allocated, and the communication processing device is commonly allocated to the plurality of server computers. Address, NIC connected to the TCP / IP network and assigned a MAC address, port number and operation /
Port number status / server computer correspondence table for managing correspondence between standby state and server computer, IP address / MAC address correspondence table for managing correspondence between IP address and MAC address, and connection at the time of starting the server application When the reception of an ARP request packet from a client application is started while receiving a request, the IP address / MAC is based on the destination IP address in the ARP request packet.
The MAC address is acquired from the address correspondence table and the MAC
TCP / IP control means for responding to the client application with an ARP response packet containing an address, and correspondence between port numbers and operating / standby states and server computers according to command instructions from the port switching means. While registering in the correspondence table, at the time of receiving the connection request packet from the client application, based on the destination port number in the connection request packet, identify the server computer in the operating state from the port number status / server computer correspondence table, A server application multiplexing communication system, comprising: a port distribution unit that distributes a connection request to the server computer.
【請求項3】サーバアプリケーションの起動時に該サー
バアプリケーションが起動されたサーバコンピュータか
ら通知されたIPアドレスを該サーバコンピュータと対
応させてサーバコンピュータ/IPアドレス対応表に登
録する工程と、前記サーバアプリケーションの起動時に
該サーバアプリケーションが起動されたサーバコンピュ
ータから通知されたIPアドレスをNICに割り当てら
れたMACアドレスに対応させてIPアドレス/MAC
アドレス対応表に登録する工程と、クライアントアプリ
ケーションからのARPリクエストパケットの受信時に
該ARPリクエストパケット内の送信先IPアドレスを
元に前記IPアドレス/MACアドレス対応表からMA
Cアドレスを取得して該MACアドレスを含むARPレ
スポンスパケットを前記クライアントアプリケーション
に応答する工程と、前記クライアントアプリケーション
からの接続要求パケットの受信時に該接続要求パケット
内の送信先IPアドレスを元に前記サーバコンピュータ
/IPアドレス対応表からサーバコンピュータを特定し
て当該サーバコンピュータに接続要求を振り分ける工程
とを含むことを特徴とするサーバアプリケーション多重
化通信方法。
3. A step of registering, in a server computer / IP address correspondence table, an IP address notified from a server computer on which the server application is started when the server application is started, and a step of registering the IP address with the server computer. The IP address / MAC that corresponds to the MAC address assigned to the NIC is associated with the IP address notified by the server computer on which the server application is started at the time of startup.
From the IP address / MAC address correspondence table based on the destination IP address in the ARP request packet when the ARP request packet is received from the client application
Obtaining a C address and responding to the client application with an ARP response packet including the MAC address; and upon receiving a connection request packet from the client application, the server based on the destination IP address in the connection request packet. A server application multiplex communication method comprising the step of identifying a server computer from a computer / IP address correspondence table and allocating a connection request to the server computer.
【請求項4】サーバコンピュータのポート切り替え手段
からのコマンド指示によりポート番号および運用/待機
状態と該サーバコンピュータとの対応をポート番号状態
/サーバコンピュータ対応表に登録する工程と、前記サ
ーバコンピュータでのサーバアプリケーションの起動時
に接続要求の受付を開始する工程と、クライアントアプ
リケーションからのARPリクエストパケットの受信時
に該ARPリクエストパケット内の送信先IPアドレス
を元にIPアドレス/MACアドレス対応表からMAC
アドレスを取得して該MACアドレスを含むARPレス
ポンスパケットを前記クライアントアプリケーションに
応答する工程と、前記クライアントアプリケーションか
らの接続要求パケットの受信時に該接続要求パケット内
の送信先ポート番号を元に前記ポート番号状態/サーバ
コンピュータ対応表から運用状態のサーバコンピュータ
を特定し、当該サーバコンピュータに接続要求を振り分
ける工程とを含むことを特徴とするサーバアプリケーシ
ョン多重化通信方法。
4. A step of registering a correspondence between a port number and an operating / standby state and the server computer in a port number state / server computer correspondence table according to a command instruction from a port switching means of the server computer; A step of starting acceptance of a connection request when the server application is activated, and a MAC from the IP address / MAC address correspondence table based on the destination IP address in the ARP request packet when the ARP request packet is received from the client application.
Obtaining the address and responding to the client application with an ARP response packet including the MAC address; and, upon receiving a connection request packet from the client application, the port number based on the destination port number in the connection request packet. A server application multiplex communication method, comprising the step of identifying a server computer in an operating state from a status / server computer correspondence table and allocating a connection request to the server computer.
【請求項5】 コンピュータを、サーバアプリケーショ
ンの起動時に該サーバアプリケーションが起動されたサ
ーバコンピュータから通知されたIPアドレスをNIC
に割り当てられたMACアドレスに対応させてIPアド
レス/MACアドレス対応表に登録するとともに、クラ
イアントアプリケーションからのARPリクエストパケ
ットの受信時に該ARPリクエストパケット内の送信先
IPアドレスを元に前記IPアドレス/MACアドレス
対応表からMACアドレスを取得して該MACアドレス
を含むARPレスポンスパケットを前記クライアントア
プリケーションに応答するTCP/IP制御手段と、前
記サーバアプリケーションの起動時に該サーバアプリケ
ーションが起動されたサーバコンピュータから通知され
たIPアドレスを該サーバコンピュータと対応させて前
記サーバコンピュータ/IPアドレス対応表に登録する
とともに、前記クライアントアプリケーションからの接
続要求パケットの受信時に該接続要求パケット内の送信
先IPアドレスを元に前記サーバコンピュータ/IPア
ドレス対応表からサーバコンピュータを特定して当該サ
ーバコンピュータに接続要求を振り分けるサーバ振り分
け手段として機能させるためのプログラム。
5. A computer is provided with an NIC which is an IP address notified from a server computer on which the server application is activated when the server application is activated.
Is registered in the IP address / MAC address correspondence table in association with the MAC address assigned to the IP address / MAC, and when the ARP request packet is received from the client application, the IP address / MAC is based on the destination IP address in the ARP request packet. TCP / IP control means for acquiring a MAC address from the address correspondence table and sending an ARP response packet including the MAC address to the client application, and a server computer on which the server application is started when the server application is started. Registered IP address in the server computer / IP address correspondence table in association with the server computer, and a connection request packet from the client application is registered. Program for functioning as a server distributing means for distributing a connection request from said server computer / IP address table of the destination IP address in the connection request packet based on the time signal to identify the server computer to the server computer.
【請求項6】 コンピュータを、サーバアプリケーショ
ンの起動時に接続要求の受付を開始するとともに、クラ
イアントアプリケーションからのARPリクエストパケ
ットの受信時に該ARPリクエストパケット内の送信先
IPアドレスを元にIPアドレス/MACアドレス対応
表からMACアドレスを取得して該MACアドレスを含
むARPレスポンスパケットを前記クライアントアプリ
ケーションに応答するTCP/IP制御手段と、ポート
切り替え手段からのコマンド指示によりポート番号およ
び運用/待機状態とサーバコンピュータとの対応をポー
ト番号状態/サーバコンピュータ対応表に登録するとと
もに、前記クライアントアプリケーションからの接続要
求パケットの受信時に該接続要求パケット内の送信先ポ
ート番号を元に前記ポート番号状態/サーバコンピュー
タ対応表から運用状態のサーバコンピュータを特定し、
当該サーバコンピュータに接続要求を振り分けるポート
振り分け手段として機能させるためのプログラム。
6. The computer starts accepting a connection request when the server application is activated, and at the time of receiving an ARP request packet from the client application, an IP address / MAC address based on a destination IP address in the ARP request packet. TCP / IP control means for obtaining a MAC address from the correspondence table and sending an ARP response packet containing the MAC address to the client application, and a port number and an operating / standby state and a server computer according to a command instruction from the port switching means. Is registered in the port number status / server computer correspondence table, and at the time of receiving the connection request packet from the client application, based on the destination port number in the connection request packet, Identify the operating server computer from the port number status / server computer correspondence table,
A program for causing the server computer to function as a port distribution unit that distributes a connection request.
JP2001215448A 2001-07-16 2001-07-16 Server application multiplex communication system Expired - Fee Related JP3487430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001215448A JP3487430B2 (en) 2001-07-16 2001-07-16 Server application multiplex communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001215448A JP3487430B2 (en) 2001-07-16 2001-07-16 Server application multiplex communication system

Publications (2)

Publication Number Publication Date
JP2003032256A JP2003032256A (en) 2003-01-31
JP3487430B2 true JP3487430B2 (en) 2004-01-19

Family

ID=19050086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001215448A Expired - Fee Related JP3487430B2 (en) 2001-07-16 2001-07-16 Server application multiplex communication system

Country Status (1)

Country Link
JP (1) JP3487430B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226400A (en) * 2006-02-22 2007-09-06 Hitachi Ltd Computer management method, computer management program, standby server for managing configuration of execution server, and computer system
JP5405415B2 (en) * 2010-08-18 2014-02-05 日本電信電話株式会社 Service distribution method and service distribution apparatus
JP5672899B2 (en) * 2010-09-27 2015-02-18 日本電気株式会社 Information processing apparatus, information processing system, message processing method, and message processing program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155736A (en) 1998-11-24 2000-06-06 Nec Corp Service request distribution method and address translator

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3847364B2 (en) * 1996-02-14 2006-11-22 富士通株式会社 Load share system
JP3484302B2 (en) * 1996-10-25 2004-01-06 東芝テック株式会社 Product sales data registration processing system and product sales registration terminal
JP3077607B2 (en) * 1996-10-28 2000-08-14 日本電気株式会社 IP address multiplexing method in server computer
JPH10198642A (en) * 1997-01-09 1998-07-31 Fujitsu Ltd Server device
JP2000076162A (en) * 1998-09-01 2000-03-14 Nippon Telegr & Teleph Corp <Ntt> Pre-processing device of reception processing server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155736A (en) 1998-11-24 2000-06-06 Nec Corp Service request distribution method and address translator

Also Published As

Publication number Publication date
JP2003032256A (en) 2003-01-31

Similar Documents

Publication Publication Date Title
US8429304B2 (en) Information processing apparatus and communication control method
US7412515B2 (en) Method and apparatus for dynamic assignment of network protocol addresses
JP3185762B2 (en) Network address setting method
US7401114B1 (en) Method and apparatus for making a computational service highly available
US20030126262A1 (en) Method for assigning setting information for conection to external network
US20060206611A1 (en) Method and system for managing programs with network address
US20090064180A1 (en) Interprocessor communication protocol
US7239643B2 (en) Method for assigning setting information for connection to external network
JP2004356920A (en) DHCP server system
CN114039945B (en) User IP address allocation management method, device and session management function entity
CN1719808A (en) Power saving in wireless packet based networks
JP3487430B2 (en) Server application multiplex communication system
JP3609948B2 (en) Multiprotocol network management method, multiprotocol network management proxy server system, multiprotocol address management server system, and multiprotocol network management system
JP4015770B2 (en) Cluster system, server computer, and load balancing method
EP1258127B1 (en) Method and apparatus for making a computational service highly available
EP1530320A1 (en) System and method for avoiding duplication of proxy functions in a home network
JP2002007091A (en) Print server system
JPH1013443A (en) Network system and network management method
JP3224876B2 (en) Multiplexed communication distributed processing system
JP2000252993A (en) server
US11706316B2 (en) Method for operating a distributed application
JP3856310B2 (en) Device monitoring apparatus and device monitoring system
KR100383588B1 (en) Apparatus and method for managing internet protocol address
JP2004193643A (en) IP address automatic allocation method / program, terminal device
KR101068207B1 (en) DHC Redundant System and Method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071031

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101031

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees