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
JP4820780B2 - Connection destination migration method and connection destination migration system - Google Patents
[go: Go Back, main page]

JP4820780B2 - Connection destination migration method and connection destination migration system - Google Patents

Connection destination migration method and connection destination migration system Download PDF

Info

Publication number
JP4820780B2
JP4820780B2 JP2007165523A JP2007165523A JP4820780B2 JP 4820780 B2 JP4820780 B2 JP 4820780B2 JP 2007165523 A JP2007165523 A JP 2007165523A JP 2007165523 A JP2007165523 A JP 2007165523A JP 4820780 B2 JP4820780 B2 JP 4820780B2
Authority
JP
Japan
Prior art keywords
information
address
request data
server
server device
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
JP2007165523A
Other languages
Japanese (ja)
Other versions
JP2009005189A (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.)
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone West Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone West Corp
Priority to JP2007165523A priority Critical patent/JP4820780B2/en
Publication of JP2009005189A publication Critical patent/JP2009005189A/en
Application granted granted Critical
Publication of JP4820780B2 publication Critical patent/JP4820780B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、運用中の情報提供サーバから代替サーバへのシステム移行方法および接続先移行システムに関する。   The present invention relates to a system migration method and a connection destination migration system from an information providing server in operation to an alternative server.

コンピュータネットワークが発達した現在では、ネットワーク上に存在する多数(例えば、百万台を超える)のクライアント端末と、このようなクライアント端末からの情報要求に応答して情報提供する情報提供サーバとから成るネットワークシステムが存在する。
このようなネットワークシステムにおいて、例えば、システムの仕様変更やメンテナンス、バージョンアップなどのために、情報提供サーバの提供する機能を代替サーバに移行する場合がある。
At present, with the development of computer networks, it consists of a large number (for example, more than one million) of client terminals existing on the network and an information providing server that provides information in response to information requests from such client terminals. A network system exists.
In such a network system, for example, the function provided by the information providing server may be transferred to an alternative server for system specification change, maintenance, version upgrade, and the like.

このようなシステム移行の際、例えば、システムを長時間停止しても問題が無い場合は、システムを一旦停止して移行すれば良い。例えば、情報提供サーバがHTML(Hyper Text Markup Language)などで構成されるウェブページをクライアント端末に提供し、Webブラウザ(以下、ブラウザ)を用いて閲覧するネットワークシステムを考える。このような情報提供サーバのシステム移行時には、情報要求に対してメンテナンス中である旨を表示する静的なウェブページを送信しておき、その間にシステム移行を行う方法がある。また、Webブラウザに一般的に実装されているURL(Uniform Resource Locator)リダイレクトの機能を用いて、接続先の変更を行う方法もある(例えば、非特許文献1)。   At the time of such system transition, for example, if there is no problem even if the system is stopped for a long time, the system may be temporarily stopped and shifted. For example, consider a network system in which an information providing server provides a client terminal with a web page composed of HTML (Hyper Text Markup Language) or the like and browses it using a web browser (hereinafter referred to as a browser). There is a method of transmitting a static web page indicating that maintenance is being performed in response to an information request and transferring the system during the system transition of such an information providing server. Also, there is a method of changing the connection destination using a URL (Uniform Resource Locator) redirect function generally implemented in a Web browser (for example, Non-Patent Document 1).

また、システムを長時間停止できない場合は、予め代替サーバを構築しておき、クライアント端末からの接続先を代替サーバに変更することで、システム移行による停止時間を短縮できる。また、このような場合に、クライアント端末から情報提供サーバへのアクセスがFQDN(Fully Qualified Domain Name)を用いて行われる場合には、DNS(Domain Name System)サーバの設定を変更し、そのFQDNに対応するIPアドレスを代替サーバのIPアドレスに変更すれば、クライアント端末が一般的に行う名前解決処理によって、ユーザに意識させることなくシステム移行を行うことができる(例えば、非特許文献2)。
“.htaccess活用法”、[online]、[平成19年5月14日検索]、インターネット<http://www.shtml.jp/htaccess/redirect.html> “システム移行のためにコンピュータに複数の名前を付ける”、[online]、[平成19年5月14日検索]、インターネット<http://www.atmarkit.co.jp/fwin2k/win2ktips/373mltname/mltname.html>
If the system cannot be stopped for a long time, an alternative server is constructed in advance, and the connection destination from the client terminal is changed to the alternative server, so that the stop time due to system migration can be reduced. In such a case, when access from the client terminal to the information providing server is performed using FQDN (Fully Qualified Domain Name), the setting of the DNS (Domain Name System) server is changed and the FQDN is changed to the FQDN. If the corresponding IP address is changed to the IP address of the alternative server, system migration can be performed without making the user aware of the name resolution processing generally performed by the client terminal (for example, Non-Patent Document 2).
“How to use .htaccess”, [online], [Search May 14, 2007], Internet <http://www.shtml.jp/htaccess/redirect.html> “Multiple names for computers for system migration”, [online], [Search May 14, 2007], Internet <http://www.atmarkit.co.jp/fwin2k/win2ktips/373mltname/ mltname.html>

しかしながら、例えば、上述の非特許文献1に示される方法は、クライアント端末がブラウザの機能またはURLリダイレクトの機能を有していることが前提となっている。
ここで、ネットワークを介して自装置の設定情報を取得するアプライアンス装置であるクライアント端末は、例えば、接続されるPC(Personal Computer)のWebブラウザを用いて情報提供サーバから設定情報を受信する場合がある。このように、Webブラウザを用いたHTTP(Hyper Text Transfer Protocol)通信によって設定を行う場合には、一般的なWebブラウザが備えるURLリダイレクトの機能を利用して、アプライアンス装置の設定情報を取得するための接続先を代替サーバとすることも可能である。URLリダイレクトとは、サーバから送信するHTTP通信情報に、転送先のURL情報を含ませることで、ブラウザがその転送先URLに自動的にアクセスする機能である。しかしながら、Webブラウザを用いない場合には、URLリダイレクトにより接続先を変更することはできない。
すなわち、Webブラウザを用いず、かつURLリダイレクトの機能を有しないアプライアンス装置には、非特許文献1に示される方法は適用できない。
However, for example, the method disclosed in Non-Patent Document 1 described above is based on the premise that the client terminal has a browser function or a URL redirection function.
Here, a client terminal, which is an appliance device that acquires setting information of its own device via a network, may receive setting information from an information providing server using a Web browser of a connected PC (Personal Computer), for example. is there. As described above, when setting is performed by HTTP (Hyper Text Transfer Protocol) communication using a Web browser, the setting information of the appliance apparatus is acquired by using the URL redirection function of a general Web browser. It is also possible to use an alternative server as the connection destination. The URL redirection is a function in which the browser automatically accesses the transfer destination URL by including the URL information of the transfer destination in the HTTP communication information transmitted from the server. However, when a Web browser is not used, the connection destination cannot be changed by URL redirection.
That is, the method disclosed in Non-Patent Document 1 cannot be applied to an appliance that does not use a Web browser and does not have a URL redirection function.

また、上述の非特許文献2に示される方法は、DNS情報を変更することによりネットワーク上のIPパケットの転送経路を変更している。しかしながら、FQDNとIPアドレスの組み合わせであるDNS情報は、DNSキャッシュサーバ、またはパケット中継装置やクライアント端末自身でキャッシュされる場合がある。このような場合には、上述の非特許文献2に示される方法では接続先の切り替えに時間がかかったり、各装置の再起動が必要になったりする場合がある。DNSキャッシュサーバにおいてキャッシュを保持する期間に関する設定値であるTTL(Time to live)値を0(ゼロ)に設定しても、クライアント端末がキャッシュしている場合がある。すなわち、高いリアルタイム性が求められるネットワークシステムの情報提供サーバを移行する場合には、上述の非特許文献2に示される方法は適用できない。   In the method described in Non-Patent Document 2 described above, the transfer route of the IP packet on the network is changed by changing the DNS information. However, DNS information that is a combination of an FQDN and an IP address may be cached by the DNS cache server, the packet relay device, or the client terminal itself. In such a case, in the method described in Non-Patent Document 2 described above, it may take time to switch the connection destination, or it may be necessary to restart each device. Even if a TTL (Time to live) value, which is a setting value related to a period for holding the cache in the DNS cache server, is set to 0 (zero), the client terminal may still be caching. That is, when migrating an information providing server of a network system that requires high real-time properties, the method described in Non-Patent Document 2 described above cannot be applied.

また、例えば、上述のようなアプライアンス装置からシステムヘの定期的なポーリングが行われている場合には、例えば秒オーダなどの短い時間でサーバ切り替えを完了させなければならない場合がある。サーバ切り替えに長時間かかり、サーバの無応答期間が発生すると、その後のアプライアンス装置の動作が保証できない場合があるからである。
また、上述のようなアプライアンス装置は、ネットワーク越しに設定情報を取得するためのFQDNが出荷時などに予め記憶されているものがある。このような場合には、FQDNを変更することなく、情報提供サーバへの接続先を切り替える必要がある。
In addition, for example, when the above-mentioned appliance device is regularly polled from the appliance, the server switching may have to be completed in a short time such as a second order. This is because if the server switching takes a long time and a server non-response period occurs, the subsequent operation of the appliance apparatus cannot be guaranteed.
Some appliances as described above have an FQDN for acquiring setting information over a network stored in advance at the time of shipment. In such a case, it is necessary to switch the connection destination to the information providing server without changing the FQDN.

また、このようなシステム移行を行う場合には、稼働中のクライアント端末と同様の構成による試験用クライアント端末を用意し、予めネットワーク越しに代替サーバへの導通試験、動作試験を行うことが望ましい。すなわち、一般ユーザのクライアント端末からのアクセス(ポーリング)は運用中のサーバで行いつつ、一方で、試験用のアプライアンス装置からのアクセスは代替サーバが受信することが望ましい。
また、このようなシステム移行は、一般ユーザに移行を意識させずに完了することが望ましい。一般ユーザにとって、システム移行に伴ってサービスの利用停止があったり設定変更を行ったりすることは面倒だからである。
In addition, when performing such system migration, it is desirable to prepare a test client terminal having the same configuration as that of an operating client terminal and to conduct a continuity test and an operation test to an alternative server over the network in advance. That is, it is desirable that access (polling) from a client terminal of a general user is performed by an operating server, while access from a test appliance is received by an alternative server.
It is desirable that such system migration is completed without making general users aware of the migration. This is because it is troublesome for general users to stop using the service or change the settings when the system is migrated.

本発明は、このような状況に鑑みてなされたものであり、運用中の情報提供サーバから代替サーバへのシステム移行を、ユーザには意識させずに、効率良く完了させるための接続先移行方法及び接続先移行システムを提供する。   The present invention has been made in view of such a situation, and a connection destination migration method for efficiently completing system migration from an information providing server in operation to an alternative server without making the user aware of it. And a connection destination migration system.

上述した課題を解決するために、本発明は、IP通信可能なネットワークと、ネットワークを構成し、それぞれがネットワークにおける経路を制御するための経路情報を記憶するルーティングテーブルを有する複数の中継装置と、ネットワークに接続される第1のサーバ装置及び第2のサーバ装置と、ネットワークに接続され、情報提供IPアドレスに対して送信を行うことにより第1のサーバ装置または第2のサーバ装置から所定の情報を受信するアプライアンス装置と、を備えたネットワークシステムにおける、アプライアンス装置の接続先を第1のサーバ装置から第2のサーバ装置へ移行する接続先移行方法であって、第1の中継装置のルーティングテーブルに、情報提供IPアドレスに対応付けて情報提供IPアドレスを送信先とするデータを受信すると第1のサーバ装置への経路を有する第2の中継装置を転送先とする第1の経路情報と、情報提供IPアドレスに対応付けて情報提供IPアドレスを送信先とするデータを受信すると第2のサーバ装置への経路を有する第3の中継装置を転送先とする第2の経路情報と、第1の経路情報が第2の経路情報より優先度が高いことを示す優先度情報とを予め記憶させるステップと、アプライアンス装置が、情報提供IPアドレスを送信先とした第1の情報要求データを定期的に送信することにより、第1の中継装置及び第2の中継装置を通じて第1のサーバ装置から所定の情報を受信している状態にて、ネットワークに接続される試験アプライアンス装置が、自装置に予め付与されるIPアドレスを送信元とし、情報提供IPアドレスを送信先とした第2の情報要求データを送信するステップと、ネットワークに接続される転送手段が、情報要求データの送信元IPアドレスを参照することにより、第2の中継装置を通じて受信する第2の情報要求データを第2のサーバ装置に転送し、第2の中継装置を通じて受信する第1の情報要求データを第1のサーバ装置に転送するステップと、第2のサーバ装置が、第2の情報要求データを受信して、受信したことを示す履歴情報を出力した場合、第1の中継装置、または第2の中継装置が、第1の中継装置と第2の中継装置との間の通信を切断するステップと、第1の中継装置が、第2の中継装置との通信の切断を検出した場合に、アプライアンス装置から情報要求データを受信したとき、自装置が有するルーティングテーブルの経路情報を参照し、優先度情報に従って、第3の中継装置へ情報要求データを送信するステップと、アプライアンス装置が、情報提供IPアドレスを送信先とした第1の情報要求データを定期的に送信することにより、第1の中継装置及び第3の中継装置を通じて第2のサーバ装置から所定の情報を受信するステップと、を含むことを特徴とする。 In order to solve the above-described problem, the present invention provides a network capable of IP communication, a plurality of relay apparatuses having a routing table that stores path information for configuring a network and each controlling path in the network, The first server device and the second server device connected to the network, and the predetermined information from the first server device or the second server device connected to the network and transmitting to the information providing IP address A connection destination migration method for migrating a connection destination of an appliance device from a first server device to a second server device in a network system comprising: In addition, the information providing IP address is set as the transmission destination in association with the information providing IP address. When the data is received, the first route information having the second relay device having the route to the first server device as the transfer destination and the data having the information provision IP address as the transmission destination in association with the information provision IP address When received, the second route information having the third relay device having the route to the second server device as the transfer destination, and the priority indicating that the first route information has a higher priority than the second route information. Storing the information in advance, and the appliance device periodically transmitting the first information request data with the information providing IP address as the transmission destination, thereby allowing the first relay device and the second relay device to transmit the first information request data. in a state in which the first server apparatus is receiving the predetermined information, the test appliance device connected to the network, the transmission source IP address previously assigned to the own device, the information providing IP A step of transmitting the second information request data with the address as the transmission destination, and a transfer means connected to the network receiving the second information request data through the second relay device by referring to the transmission source IP address of the information request data The second information request data is transferred to the second server device, and the first information request data received through the second relay device is transferred to the first server device; When the information request data is received and history information indicating that the information is received is output, the first relay device or the second relay device is connected between the first relay device and the second relay device. When the information request data is received from the appliance when the first relay device detects the disconnection of the communication with the second relay device when the first relay device detects the disconnection of the communication with the second relay device. The information request data is transmitted to the third relay device according to the priority information, and the appliance device periodically transmits the first information request data with the information providing IP address as the transmission destination. Receiving the predetermined information from the second server device through the first relay device and the third relay device.

本発明は、転送手段が、情報要求データの送信元IPアドレスを参照することにより、第2の中継装置を通じて受信する第2の情報要求データを第2のサーバ装置に転送し、第2の中継装置を通じて受信する第1の情報要求データを第1のサーバ装置に転送するステップは、情報要求データが、第2の中継装置により第1のサーバ装置に送信され、第1のサーバ装置に具備される転送手段が、情報要求データの送信元IPアドレスを参照することにより、第1のサーバ装置と第2のサーバ装置との間に予め接続される専用回線を通じて第2の情報要求データを第2のサーバ装置へ転送することにより行われることを特徴とする。   In the present invention, the transfer means transfers the second information request data received through the second relay device to the second server device by referring to the transmission source IP address of the information request data, and the second relay device. In the step of transferring the first information request data received through the device to the first server device, the information request data is transmitted to the first server device by the second relay device and is provided in the first server device. The transfer means refers to the source IP address of the information request data, and sends the second information request data to the second information through a dedicated line connected in advance between the first server device and the second server device. It is performed by transferring to the server device.

本発明は、転送手段が、情報要求データの送信元IPアドレスを参照することにより、第2の中継装置を通じて受信する第2の情報要求データを第2のサーバ装置に転送し、第2の中継装置を通じて受信する第1の情報要求データを第1のサーバ装置に転送するステップは、第1のサーバ装置と第2のサーバ装置とに接続される、転送手段としての転送振分装置が、第2の中継装置から転送される情報要求データを受信して、情報要求データの送信元IPアドレスを参照することにより、第2の情報要求データを第2のサーバ装置に転送し、第1の情報要求データを第1のサーバ装置に転送することにより行なわれることを特徴とする。   In the present invention, the transfer means transfers the second information request data received through the second relay device to the second server device by referring to the transmission source IP address of the information request data, and the second relay device. The step of transferring the first information request data received through the device to the first server device is performed by a transfer distribution device as transfer means connected to the first server device and the second server device. The second information request data is transferred from the second relay device, and the second information request data is transferred to the second server device by referring to the transmission source IP address of the information request data. It is performed by transferring the request data to the first server device.

本発明は、IP通信可能なネットワークと、ネットワークを構成し、それぞれがネットワークにおける経路を制御するための経路情報を記憶するルーティングテーブルを有する複数の中継装置と、ネットワークに接続される第1のサーバ装置及び第2のサーバ装置と、ネットワークに接続され、情報提供IPアドレスに対して送信を行うことにより第1のサーバ装置または第2のサーバ装置から所定の情報を受信するアプライアンス装置と、ネットワークに接続され、自装置に予め付与されるIPアドレスを送信元とし、情報提供IPアドレスを送信先とした第2の情報要求データを送信する試験アプライアンス装置と、ネットワークに接続され、情報要求データの送信元IPアドレスを参照することにより、第2の中継装置を通じて受信する第2の情報要求データを第2のサーバ装置に転送し、第2の中継装置を通じて受信する第1の情報要求データを第1のサーバ装置に転送する転送手段と、を備え、アプライアンス装置の接続先を第1のサーバ装置から第2のサーバ装置へ移行する接続先移行システムであって、第1の中継装置は、情報提供IPアドレスに対応付けて情報提供IPアドレスを送信先とするデータを受信すると第1のサーバ装置への経路を有する第2の中継装置を転送先とする第1の経路情報と、情報提供IPアドレスに対応付けて情報提供IPアドレスを送信先とするデータを受信すると第2のサーバ装置への経路を有する第3の中継装置を転送先とする第2の経路情報と、第1の経路情報が第2の経路情報より優先度が高いことを示す優先度情報とを予め記憶する第1のルーティングテーブルと、他の中継装置との間で経路の制御を行う第1のルーティング制御部と、を備え、第2の中継装置は、他の中継装置との間で経路の制御を行う第2のルーティング制御部と、を備え、アプライアンス装置は、情報提供IPアドレスを送信先とした第1の情報要求データを第1の中継装置を通じて送信する送信手段と、第1の情報要求データの送信の応答として第1の中継装置を通じて所定の情報を受信する受信手段と、を備え、第2のサーバ装置は、第2の情報要求データを受信して、受信したことを示す履歴情報を出力する通信部を備え、アプライアンス装置が、情報提供IPアドレスを送信先とした第1の情報要求データを定期的に送信することにより、第1の中継装置及び第2の中継装置を通じて第1のサーバ装置から所定の情報を受信している状態にて、第1または第2のルーティング制御部は、通信部から履歴情報が出力された場合に、第1の中継装置と第2の中継装置の間の通信を切断し、第1のルーティング制御部は、第2の中継装置との通信の切断を検出した場合に、情報要求データを受信したとき、自装置が有するルーティングテーブルの経路情報を参照し、優先度情報に従って、第3の中継装置へ第1の情報要求データを送信することを特徴とする。 The present invention relates to a network capable of IP communication, a plurality of relay devices having a routing table for storing route information for configuring a network and controlling a route in the network, and a first server connected to the network A device and a second server device, an appliance device connected to the network, receiving predetermined information from the first server device or the second server device by transmitting to the information providing IP address, and the network Connected to the test appliance device that transmits the second information request data with the IP address assigned to the device in advance as the transmission source and the information providing IP address as the transmission destination, and connected to the network to transmit the information request data Receiving through the second relay device by referring to the original IP address The second information request data is transferred to the second server device, a transfer means for transferring the first information request data received through the second switching device to the first server device, comprising a connecting appliance device A connection destination migration system for migrating a destination from a first server device to a second server device, wherein the first relay device stores data having an information provision IP address as a transmission destination in association with the information provision IP address. When receiving, when receiving the first route information having the second relay device having the route to the first server device as the transfer destination and the data having the information providing IP address as the transmission destination in association with the information providing IP address Second route information having a third relay device having a route to the second server device as a transfer destination, and priority information indicating that the first route information has a higher priority than the second route information; In advance A first routing table that stores information and a first routing control unit that controls a route with another relay device, and the second relay device communicates a route with the other relay device. A second routing control unit that performs control, wherein the appliance device transmits first information request data having the information providing IP address as a transmission destination through the first relay device, and first information Receiving means for receiving predetermined information as a response to transmission of request data through the first relay device, and the second server device receives the second information request data and shows a history indicating that it has been received. A communication unit that outputs information, and the appliance device periodically transmits the first information request data with the information providing IP address as the transmission destination, thereby allowing the appliance to pass through the first relay device and the second relay device. In a state in which the predetermined information is received from the first server device, the first or second routing control unit, when the history information is output from the communication unit , When the communication between the relay devices is disconnected, and the first routing control unit detects the disconnection of the communication with the second relay device and receives the information request data, the route of the routing table possessed by the own device The information is referred to, and the first information request data is transmitted to the third relay device according to the priority information.

本発明は、第1のサーバ装置と、第2のサーバ装置を接続する専用回線を備え、転送手段は第1のサーバ装置に具備されており、転送手段は、第2の中継装置から受信する情報要求データの送信元IPアドレスを参照することにより、第2の情報要求データを専用回線を通じて第2のサーバ装置に転送し、第1の情報要求データを自装置内に転送することを特徴とする。   The present invention comprises a first line connecting a first server device and a second server device, the transfer means is provided in the first server device, and the transfer means receives from the second relay device. By referring to the source IP address of the information request data, the second information request data is transferred to the second server device through a dedicated line, and the first information request data is transferred to the own device. To do.

本発明は、転送手段としての転送振分装置を備え、転送振分装置は、情報要求データの送信元IPアドレスを参照することにより、第2の中継装置を通じて受信する第2の情報要求データを第2のサーバ装置に転送し、第2の中継装置を通じて受信する第1の情報要求データを第1のサーバ装置に転送することを特徴とする。   The present invention includes a transfer distribution device as a transfer unit, and the transfer distribution device refers to the transmission source IP address of the information request data, thereby obtaining the second information request data received through the second relay device. The first information request data transferred to the second server device and received through the second relay device is transferred to the first server device.

以上説明したように、本発明によれば、第1の中継装置のルーティングテーブルに、前記情報提供IPアドレスに対応付けて、当該情報提供IPアドレスを送信先とするデータを受信すると前記第1のサーバ装置への経路である第2の中継装置を転送先とする第1の経路情報と、前記情報提供IPアドレスに対応付けて、当該情報提供IPアドレスを送信先とするデータを受信すると前記第2のサーバ装置への経路である第3の中継装置を転送先とする第2の経路情報と、前記第1の経路情報が前記第2の経路情報より優先度が高いことを示す優先度情報とを予め記憶させるようにした。すなわち、情報提供IPアドレスを宛先とするIPパケットが、第1のサーバに転送されるようにし、第2の中継装置のポートを閉塞すれば、第2のサーバに転送されるようにした。このため、アプライアンス装置からネットワークを介して送信される情報提供IPアドレスを宛先とするIPパケットの転送先を、アプライアンス装置の設定を変更することなく、かつ、システムを停止することなく、第1のサーバから第2のサーバへ移行することができる。   As described above, according to the present invention, when data corresponding to the information providing IP address is received in the routing table of the first relay device and the destination is the information providing IP address, the first When the first route information having the second relay device, which is the route to the server device, as the transfer destination and the data having the information provision IP address as the transmission destination are received in association with the information provision IP address, the first information is received. Second route information having a third relay device that is a route to the second server device as a transfer destination, and priority information indicating that the first route information has a higher priority than the second route information. Was previously stored. That is, an IP packet destined for the information providing IP address is forwarded to the first server, and is forwarded to the second server if the port of the second relay device is blocked. For this reason, the transfer destination of the IP packet destined for the information providing IP address transmitted from the appliance device via the network can be changed without changing the setting of the appliance device and without stopping the system. It is possible to move from the server to the second server.

さらに、本発明によれば、ネットワークに接続されたアプライアンス装置から送信され、宛先を情報提供IPアドレスとするIPパケットは、第1のサーバに転送しながらも、試験端末から送信され、宛先を同じく情報提供IPアドレスとするIPパケットは、第2のサーバに転送されるようにしたので、試験端末から送信するIPパケットが、ネットワークを介して正常に第2のサーバへ転送されることを確認した後で、接続先の移行を行うことができる。   Further, according to the present invention, an IP packet transmitted from an appliance connected to a network and having a destination as an information providing IP address is transmitted from the test terminal while being transferred to the first server, and the destination is the same. The IP packet to be used as the information providing IP address was transferred to the second server, so it was confirmed that the IP packet transmitted from the test terminal was normally transferred to the second server via the network. Later, connection destinations can be migrated.

さらに、本発明によれば、情報提供IPアドレスを宛先とするIPパケットであって、第2の中継装置によって転送されるIPパケットを、専用線を介して転送制御するようにし、また、転送部にはL3スイッチなどを利用することで、より早い転送を行うことができる。   Further, according to the present invention, an IP packet destined for the information providing IP address and transferred by the second relay device is controlled to be transferred via the dedicated line, and the transfer unit By using an L3 switch or the like, faster transfer can be performed.

さらに、本発明によれば、情報提供IPアドレスを宛先とするIPパケットであって、第2の中継装置によって転送されるIPパケットを、転送振分装置によって転送されるようにしたので、移行元サーバである第1のサーバ装置と移行先である第2のサーバ装置との間を専用線で結ぶ必要はなく、試験端末から送信されるIPパケットを第2のサーバ装置に転送することができる。   Furthermore, according to the present invention, the IP packet destined for the information providing IP address and transferred by the second relay device is transferred by the transfer distribution device. There is no need to connect the first server device that is the server and the second server device that is the migration destination with a dedicated line, and an IP packet transmitted from the test terminal can be transferred to the second server device. .

以下、本発明の実施形態について、図面を参照して説明する。
<第1の実施形態>
図1は、本発明の第1の実施形態によるネットワークシステムの構成を示すブロック図である。
図1に示されるように、本実施形態によるネットワークシステムは、アプライアンス装置100と試験用アプライアンス装置200とが接続されるネットワーク10と、このネットワーク10に接続される第1のサーバ600と第2のサーバ700とを備えている。ここで、ネットワーク10は、IP通信によるIPパケットの送受信を行うネットワーク網であり、例えば、ルータによってIPパケットが中継されるコンピュータネットワークである。すなわち、ネットワーク10には複数のルータが備えられているが、本実施形態では、第1のルータ300と、第2のルータ400と、第3のルータ500とのルータを特に例として説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First Embodiment>
FIG. 1 is a block diagram showing a configuration of a network system according to the first embodiment of the present invention.
As shown in FIG. 1, the network system according to the present embodiment includes a network 10 to which an appliance 100 and a test appliance 200 are connected, a first server 600 and a second server connected to the network 10. And a server 700. Here, the network 10 is a network network that transmits and receives IP packets by IP communication, and is, for example, a computer network in which IP packets are relayed by a router. That is, the network 10 is provided with a plurality of routers. In the present embodiment, the first router 300, the second router 400, and the third router 500 will be specifically described as examples.

ここで、IPパケットとは、宛先ホストのIPアドレスと送信元ホストのIPアドレスとの情報が格納されるヘッダ部と、送信するデータが格納されるデータ部とを有している。また、「IPパケットを中継する」とは、宛先IPアドレスとして特定のIPアドレスをヘッダ部に有するIPパケットを、ルーティングテーブルに記憶された情報に基づいて、最適な転送先IPアドレスを判定し、その転送先IPアドレスにIPパケットを転送することである。ここで、「最適な転送先IPアドレス」とは、優先度情報の値に基づいて判定される。   Here, the IP packet has a header part in which information on the IP address of the destination host and the IP address of the transmission source host is stored, and a data part in which data to be transmitted is stored. Also, “relay IP packet” means determining an optimal transfer destination IP address for an IP packet having a specific IP address in the header part as a destination IP address based on information stored in the routing table, The IP packet is transferred to the transfer destination IP address. Here, the “optimum transfer destination IP address” is determined based on the value of the priority information.

アプライアンス装置100は、いわゆるネットワークアプライアンス装置である。いわゆるネットワークアプライアンス装置とは、PCサーバなどが汎用用途向けのネットワーク機器として用いられることに対して、例えば、Web、メール、DNS、DHCP(Dynamic Host Configuration Protocol)、HTTPキャッシュ、ルータ、ファイルサーバ、SSL(Secure Socket Layer)暗号化装置など特定の用途・通信を行うためにカスタマイズされた専用装置である。アプライアンス装置100は、例えば、特定用途向けソフトウェアを具備するハードウェアを組み込んだ筐体であり、ネットワークを介してその筐体の提供元などが運営するウェブサーバなどに自動的に接続し、自装置に固有の設定情報などを、ネットワークを介して設定できるように構成されている。   The appliance device 100 is a so-called network appliance device. A so-called network appliance device is a PC server or the like used as a network device for general purpose. For example, Web, mail, DNS, DHCP (Dynamic Host Configuration Protocol), HTTP cache, router, file server, SSL (Secure Socket Layer) This is a dedicated device customized for specific purposes and communications, such as an encryption device. The appliance device 100 is, for example, a housing incorporating hardware including software for a specific application, and automatically connects to a web server or the like operated by a provider of the housing via a network. Setting information unique to the network can be set via the network.

ここで、本実施形態では、アプライアンス装置100は、第1のサーバ600に定期的にアクセス(ポーリング)し、自装置に固有の設定情報を、第1のサーバ600から受信して設定する機能を有する。このとき、アプライアンス装置100は、自装置内に予め第1のサーバ600を示すFQDNを記憶しており、このFQDNに対応するIPアドレス(以下、情報提供IPアドレス)を、ネットワーク10に存在するDNSサーバから取得する。そして、アプライアンス装置100は、取得した情報提供IPアドレスを記憶しておき、定期的に(例えば、予め定められた時刻に1日に1回)、その情報提供IPアドレスに対してアクセスし、情報提供IPアドレスに対応するサーバから設定情報を受信する。   Here, in the present embodiment, the appliance device 100 has a function of periodically accessing (polling) the first server 600 and receiving and setting the setting information unique to the device itself from the first server 600. Have. At this time, the appliance 100 stores in advance a FQDN indicating the first server 600 in its own apparatus, and an IP address corresponding to the FQDN (hereinafter, an information providing IP address) is set in the DNS existing in the network 10. Obtain from the server. The appliance 100 stores the acquired information providing IP address, accesses the information providing IP address periodically (for example, once a day at a predetermined time), and Configuration information is received from the server corresponding to the provided IP address.

また、アプライアンス装置100は、ネットワーク10を介してウェブサーバに定期的にアクセス(例えば、ポーリング)する装置であれば、必ずしも上述のようなネットワークアプライアンス装置でなくとも良い。また、アプライアンス装置100は複数台接続されていても良い。本実施形態では、アプライアンス装置100として、特に、ネットワーク回線とPC等のデータ端末装置(DTE(Data Terminal Equipment))とを接続するためのいわゆる回線終端装置を想定して説明する。
試験用アプライアンス装置200は、ネットワーク10を介して、アプライアンス装置100が正常に情報提供IPアドレスに対応するサーバと通信が行えるか否かを判定するための装置であり、アプライアンス装置100と同様の構成をしている。
Further, the appliance device 100 is not necessarily a network appliance device as described above as long as it is a device that periodically accesses (for example, polls) a web server via the network 10. A plurality of appliance devices 100 may be connected. In the present embodiment, the appliance device 100 will be described assuming a so-called line termination device for connecting a network line and a data terminal device (DTE (Data Terminal Equipment)) such as a PC.
The test appliance 200 is a device for determining whether the appliance 100 can normally communicate with the server corresponding to the information providing IP address via the network 10, and has the same configuration as the appliance 100. I am doing.

第1のルータ300は、第1のルーティング制御部301と第1のルーティングテーブル302とを有する一般的なルータである。すなわち、第1のルータ300が、IPパケットを受信すると、第1のルーティング制御部301が、IPパケットのヘッダ部分に書き込まれている宛先IPアドレスを読み出して、読み出したIPアドレスに対応する最適な転送先IPアドレスを第1のルーティングテーブル302から検出する。第1のルーティング制御部301は、検出した転送先IPアドレスにIPパケットを転送する。   The first router 300 is a general router having a first routing control unit 301 and a first routing table 302. That is, when the first router 300 receives the IP packet, the first routing control unit 301 reads the destination IP address written in the header portion of the IP packet, and optimally corresponds to the read IP address. The transfer destination IP address is detected from the first routing table 302. The first routing control unit 301 transfers the IP packet to the detected transfer destination IP address.

ここで、第1のルーティングテーブル302は、例えば、図2に示されるように、宛先IPアドレスに対応づけて、転送先IPアドレスと、優先度情報とを記憶する。宛先IPアドレスは、IPアドレスのヘッダ部分に宛先IPアドレスとして格納されるアドレスである。転送先IPアドレスは、そのIPアドレスへIPパケットを転送可能なルータを示すIPアドレスである。優先度情報は、第1のルーティングテーブル302が同一の宛先IPアドレスへの経路を複数記憶している場合に、いずれの経路を選択するかを判定するための判断基準となる情報である。   Here, for example, as shown in FIG. 2, the first routing table 302 stores a transfer destination IP address and priority information in association with the destination IP address. The destination IP address is an address stored as a destination IP address in the header portion of the IP address. The transfer destination IP address is an IP address indicating a router capable of transferring an IP packet to the IP address. The priority information is information serving as a determination criterion for determining which route to select when the first routing table 302 stores a plurality of routes to the same destination IP address.

ここで、優先度情報とは、例えば、一般的なルータが記憶するルーティングテーブルにおける各ルートのメトリック属性によって示される。メトリック属性とは、宛先への最適なルートを判定するための情報であり、経路の優劣を比較する情報であれば良い。例えば、メトリック属性は、宛先IPアドレスまでの距離、ホップ数、帯域幅、遅延性、信頼性、負荷、回線速度、MTU(Maximum Transmission Unit、Maximum Transfer Unit)などが数値化された情報である。   Here, the priority information is indicated by, for example, a metric attribute of each route in a routing table stored in a general router. The metric attribute is information for determining the optimum route to the destination, and may be information that compares the superiority and inferiority of the routes. For example, the metric attribute is information in which the distance to the destination IP address, the number of hops, the bandwidth, the delay, the reliability, the load, the line speed, the MTU (Maximum Transmission Unit, Maximum Transfer Unit), and the like are digitized.

本実施形態におけるネットワークシステムでは、第1のサーバ600と、第2のサーバ700とに、自装置のIPアドレスとして、情報提供IPアドレスを記憶させる。ここで、第2のルータ400が第1のサーバ600と接続するネットワークセグメントと、第3のルータ500が第2のサーバ700と接続するネットワークセグメントは、同一のサブネット構成とする。そして、第1のサーバ600と第2のサーバ700とが通信可能な専用線20を接続する。このように、第1のサーバ600と第2のサーバ700とが同一の情報提供IPアドレスを有するネットワークが構成される。   In the network system according to the present embodiment, the information providing IP address is stored in the first server 600 and the second server 700 as the IP address of the own device. Here, the network segment in which the second router 400 is connected to the first server 600 and the network segment in which the third router 500 is connected to the second server 700 have the same subnet configuration. Then, the dedicated line 20 through which the first server 600 and the second server 700 can communicate is connected. In this way, a network in which the first server 600 and the second server 700 have the same information providing IP address is configured.

例えば、本実施形態におけるネットワークシステムには、図2に示されるようにIPアドレスが設定される。すなわち、情報提供IPアドレスが「1.1.1.1」である場合に、第2のルータ400のIPアドレスが「10.10.10.10」であり、第3のルータ500のIPアドレスが「20.20.20.20」であり、第2のルータ400が接続されるローカルセグメント内でのアドレスが「2.2.2.10」であり、第3のルータ500が接続されるローカルセグメント内でのIPアドレスが「1.1.1.10」であり、第1のサーバ600と第2のサーバ700とのIPアドレスが「1.1.1.1」となるように設定される。   For example, an IP address is set in the network system in this embodiment as shown in FIG. That is, when the information providing IP address is “1.1.1.1”, the IP address of the second router 400 is “10.10.10.10”, and the IP address of the third router 500 is Is “20.20.20.20”, the address in the local segment to which the second router 400 is connected is “2.2.2.10”, and the third router 500 is connected. Set so that the IP address in the local segment is “1.1.1.10” and the IP addresses of the first server 600 and the second server 700 are “1.1.1.1”. Is done.

ここで、第1のルーティングテーブル302は、例えば、情報提供IPアドレス(1.1.1.1)に対応付けて、第2のルータを転送先として示す転送先情報である第1の転送先IPアドレス(10.10.10.10)と、第2のルータへの経路の優劣を示す情報である第1の優先度情報(距離1)と、の経路情報を記憶し、さらに、情報提供IPアドレス(1.1.1.1)に対応付けて、第3のルータを転送先として示す転送先情報である第2の転送先IPアドレス(20.20.20.20)と、第3のルータへの経路の優劣を示す情報であって第1の優先度情報よりも低い優先度を示す情報である第2の優先度情報と(距離10)の経路情報を記憶する。   Here, the first routing table 302 is, for example, the first transfer destination that is transfer destination information indicating the second router as the transfer destination in association with the information providing IP address (1.1.1.1). Stores route information of IP address (10.10.10.10) and first priority information (distance 1) which is information indicating superiority or inferiority of the route to the second router, and further provides information A second transfer destination IP address (20.20.20.20), which is transfer destination information indicating the third router as a transfer destination, in association with the IP address (1.1.1.1), and a third The second priority information, which is information indicating the superiority or inferiority of the route to the router and indicating lower priority than the first priority information, and the route information of (distance 10) are stored.

第1のルーティングテーブル302がこのような経路情報を記憶する場合、例えば、アプライアンス装置100から、情報提供IPアドレスである「1.1.1.1」を宛先IPアドレスとするIPパケットがネットワーク10に送信されると、第1のルータ300がIPパケットを受信する。第1のルータ300の第1のルーティング制御部301は、第1のルーティングテーブル302に記憶された経路情報を参照し、IPパケットの転送先を判定する転送先判定処理を行う。図2に示されるように、第1のルーティングテーブル302に同一の宛先IPアドレス(1.1.1.1)が存在する場合は、優先度情報を参照し、より優先度が高い(距離が短い)転送先IPアドレスを、転送先IPアドレスとして検出する。すなわち、図2に示す例の場合は、「10.10.10.10」を転送先IPアドレスとして検出する。   When the first routing table 302 stores such route information, for example, an IP packet having the destination IP address “1.1.1.1” that is the information providing IP address is sent from the appliance 100 to the network 10. The first router 300 receives the IP packet. The first routing control unit 301 of the first router 300 refers to the route information stored in the first routing table 302 and performs a transfer destination determination process for determining the transfer destination of the IP packet. As shown in FIG. 2, when the same destination IP address (1.1.1.1) exists in the first routing table 302, the priority information is referred to and the priority is higher (distance is higher). The (short) transfer destination IP address is detected as the transfer destination IP address. That is, in the example shown in FIG. 2, “10.10.10.10” is detected as the transfer destination IP address.

また、本実施形態では、第1のルーティングテーブル302が記憶する値は、第1のルーティング制御部301が、RIP(Routing Information Protocol)、OSPF(Open Shortest Path First)、BGP(Border Gateway Protocol)などのルーティングプロトコルによるダイナミックルーティングによって動的に更新・記憶させることとする。   In the present embodiment, the value stored in the first routing table 302 is determined by the first routing control unit 301 such as RIP (Routing Information Protocol), OSPF (Open Shortest Path First), BGP (Border Gateway Protocol), or the like. It is assumed that the data is dynamically updated and stored by dynamic routing according to the routing protocol.

第2のルータ400は、第1のルータ300と同様の構成であり、第1のサーバ600と同一のセグメント内にあるルータである。ここで、セグメントとは、いわゆる同一のIPアドレス・クラス内に設置され、1つのネットワークアドレスによって示されるノードの集まりである。すなわち、第2のルータ400は、第1のサーバ600にIPパケットを到達させることが可能なルータである。
第3のルータ500は、第1のルータ300と同様の構成であり、第2のサーバ700と同一のセグメント内にあるルータである。すなわち、第3のルータ500は、第2のサーバ700にIPパケットを到達させることが可能なルータである。
The second router 400 has the same configuration as that of the first router 300 and is a router in the same segment as the first server 600. Here, a segment is a group of nodes that are installed in the same IP address class and indicated by one network address. That is, the second router 400 is a router that can cause the first server 600 to reach the IP packet.
The third router 500 has the same configuration as the first router 300 and is a router in the same segment as the second server 700. That is, the third router 500 is a router capable of causing the second server 700 to reach the IP packet.

第1のサーバ600は、ネットワーク10を介してアプライアンス装置100に設定情報を送信して提供するサーバであり、通信部601と、転送部602とを備えている。通信部601は、第2のルータ400を介してネットワーク10に接続される端末とIPパケットの送受信を行う。転送部602は、試験用アプライアンス装置200に対応するIPアドレスである試験IPアドレスを予め記憶しておき、第1のサーバ600に送信されるIPパケットを読み込んで、その送信元IPアドレスが試験IPアドレスと一致すれば、そのIPパケットを、専用線20を介して第2のサーバ700に転送する。ここで、専用線20は、ネットワーク10と通信を行うことができないように構成された閉じたネットワークによる接続線であれば良い。   The first server 600 is a server that transmits and provides setting information to the appliance apparatus 100 via the network 10, and includes a communication unit 601 and a transfer unit 602. The communication unit 601 transmits and receives IP packets to and from a terminal connected to the network 10 via the second router 400. The transfer unit 602 stores in advance a test IP address, which is an IP address corresponding to the test appliance 200, reads an IP packet transmitted to the first server 600, and the source IP address is the test IP address. If it matches the address, the IP packet is transferred to the second server 700 via the dedicated line 20. Here, the dedicated line 20 may be a connection line of a closed network configured so as not to communicate with the network 10.

ここで、転送部602は、例えば、L3(レイヤ)スイッチである。L3スイッチとは、例えば、ハードウェアによってルーティングを行う機器である。L3スイッチは、ハードウェアレベルでルーティング処理を行っているため、ルーティング速度は接続している回線のスピードと同等程度となり、ソフトウェアによるルーティングを行う一般的なルータと比べて桁違いに高いスループットを得ることができるネットワーク機器である。また、L3スイッチを利用すれば、第1のサーバ装置のリソースを使わずにルーティングを行うことができる。   Here, the transfer unit 602 is, for example, an L3 (layer) switch. The L3 switch is a device that performs routing by hardware, for example. Since the L3 switch performs routing processing at the hardware level, the routing speed is about the same as the speed of the connected line, and an extremely high throughput is obtained compared to a general router that performs routing by software. Network equipment that can. Further, if the L3 switch is used, routing can be performed without using the resources of the first server device.

第2のサーバ700は、ネットワーク10を介してアプライアンス装置100に設定情報を送信して提供するためのサーバであり、例えば、システムのバージョンアップや、エラー発生時や、第1のサーバ600のメンテナンス作業を行う場合などに、第1のサーバ600に代わってアプライアンス装置100に情報を提供するサーバである。第2のサーバ700は、通信部701と転送部702とを有している。通信部701は、第3のルータ500を介してネットワーク10に接続される端末とIPパケットの送受信を行う。転送部702は、転送部602から転送されてくるIPパケットを受信する。転送部702は、例えば、L3スイッチである。   The second server 700 is a server for transmitting and providing setting information to the appliance apparatus 100 via the network 10. For example, when the system is upgraded, an error occurs, or the first server 600 is maintained. The server provides information to the appliance 100 in place of the first server 600 when performing work or the like. The second server 700 has a communication unit 701 and a transfer unit 702. The communication unit 701 transmits / receives IP packets to / from terminals connected to the network 10 via the third router 500. The transfer unit 702 receives the IP packet transferred from the transfer unit 602. The transfer unit 702 is, for example, an L3 switch.

このように、図1に示されるように、第2のルータ400と第1のサーバ600との間には、セグメントAを割当て、第3のルータ500と第2のサーバ700との間には、セグメントAとは異なるセグメントBを割り当て、第1のサーバ600と第2のサーバ700との間には、セグメントAともセグメントBとも異なるセグメントCを割り当てる。   Thus, as shown in FIG. 1, segment A is allocated between the second router 400 and the first server 600, and between the third router 500 and the second server 700. A segment B different from the segment A is allocated, and a segment C different from the segment A and the segment B is allocated between the first server 600 and the second server 700.

次に、図3を参照して、本発明による第1の実施形態によるネットワークシステムにおける接続先移行の動作例を説明する。
まず、システム移行者は、第1のサーバ600の代替サーバとなる第2のサーバ700を用意し、ネットワーク10に接続させる。また、第2のサーバ700には、上述の情報提供IPアドレスが、自装置のIPアドレスとして予め記憶されている。
Next, with reference to FIG. 3, an operation example of connection destination migration in the network system according to the first embodiment of the present invention will be described.
First, the system transition person prepares a second server 700 as an alternative server for the first server 600 and connects it to the network 10. In addition, the information providing IP address described above is stored in advance in the second server 700 as the IP address of its own device.

複数のアプライアンス装置100は、予め定められた間隔で、定期的に情報提供IPアドレスに対して、例えば、ポーリングを行うためのIPパケットを送信する(ステップS101)。第1のルータ300は、IPパケットを受信する。第1のルータ300が備える第1のルーティング制御部301は、第1のルーティングテーブル302に記憶されたルーティング情報から、情報提供IPアドレスに対応する転送先IPアドレスを検出する。ここで、上述のように、第1のルータ300が有する第1のルーティングテーブル302には、情報提供IPアドレスへの転送可能な転送先として、第2のルータ400と第3のルータ500とのIPアドレスが記憶されている。第1のルーティングテーブル302には、第2のルータ400への経路は、第3のルータ500への経路よりも優先度が高く設定されているので、第1のルータ300は、第2のルータ400のIPアドレスを転送先として判定し、IPパケットを第2のルータ400に転送する(ステップS102)。   The plurality of appliances 100 periodically transmit, for example, IP packets for polling to the information providing IP address at predetermined intervals (step S101). The first router 300 receives an IP packet. The first routing control unit 301 included in the first router 300 detects the transfer destination IP address corresponding to the information providing IP address from the routing information stored in the first routing table 302. Here, as described above, the first routing table 302 included in the first router 300 includes the second router 400 and the third router 500 as transfer destinations that can be transferred to the information providing IP address. An IP address is stored. In the first routing table 302, the route to the second router 400 has a higher priority than the route to the third router 500, so the first router 300 is the second router. The IP address of 400 is determined as the transfer destination, and the IP packet is transferred to the second router 400 (step S102).

第2のルータ400は、IPパケットを受信する。第2のルーティング制御部401は、自セグメント内にある情報提供IPアドレスに、IPパケットを転送する(ステップS103)。第1のサーバ600の転送部602は、IPパケットを受信すると、ポーリングに対する応答として、応答IPパケットを、第2のルータ400に送信する(ステップS104)。   The second router 400 receives the IP packet. The second routing control unit 401 transfers the IP packet to the information providing IP address in its own segment (step S103). When receiving the IP packet, the transfer unit 602 of the first server 600 transmits a response IP packet to the second router 400 as a response to polling (step S104).

第2のルータ400は、応答IPパケットを受信すると、第1のルータ300に転送する(ステップS105)。第1のルータ300は、応答IPパケットを受信すると、アプライアンス装置100に転送する(ステップS106)。
このような、ステップS101からステップS106までに説明したポーリングを、ネットワーク10に接続される複数のアプライアンス装置100が、定期的に行う。本実施形態では、例えば、100万台程度のアプライアンス装置100が、1日に1回程度、このようなポーリングを行う。
Upon receiving the response IP packet, the second router 400 transfers the response IP packet to the first router 300 (step S105). Upon receiving the response IP packet, the first router 300 transfers the response IP packet to the appliance device 100 (step S106).
A plurality of appliances 100 connected to the network 10 periodically perform the polling described in steps S101 to S106. In the present embodiment, for example, about one million appliances 100 perform such polling once a day.

そして、試験用アプライアンス装置200は、第2のサーバ700とのポーリング通信試験処理を開始する(ステップS201)。すなわち、ネットワーク10を介して、情報提供IPアドレスに対してIPパケットを送信する(ステップS202)。第1のルータ300は、IPパケットを受信すると、第1のルーティングテーブル302に記憶された情報に基づいて、第2のルータ400に転送する(ステップS203)。第2のルータ400は、IPパケットを受信すると、第2のルーティングテーブル402に記憶された情報に基づいて、第1のサーバ600に転送する(ステップS204)。   Then, the test appliance 200 starts polling communication test processing with the second server 700 (step S201). That is, an IP packet is transmitted to the information providing IP address via the network 10 (step S202). When receiving the IP packet, the first router 300 transfers the IP packet to the second router 400 based on the information stored in the first routing table 302 (step S203). When receiving the IP packet, the second router 400 transfers the IP packet to the first server 600 based on the information stored in the second routing table 402 (step S204).

第1のサーバ600が、IPパケットを受信すると、転送部602が、このIPパケットのヘッダ部を読み込んで、送信元IPアドレスが試験用アプライアンス装置200に対応することを判定する。そして、転送部602は、IPパケットを、専用線20を介して第2のサーバ700に転送する(ステップS205)。   When the first server 600 receives the IP packet, the transfer unit 602 reads the header part of the IP packet and determines that the transmission source IP address corresponds to the test appliance 200. Then, the transfer unit 602 transfers the IP packet to the second server 700 via the dedicated line 20 (step S205).

第2のサーバ700の転送部702が、転送されてきたIPパケットを受信すると、通信部701は、ポーリングに対する応答として、応答IPパケットを、第1のサーバ600に送信する(ステップS206)。また、この際、第2のサーバ700は、IPパケットを受信し、応答IPパケットを送信すると、正常にポーリングに応答したことを示すアクセスログファイルを生成し、記憶する。また、第2のサーバ700は、受信するIPパケットが予め定められたフォーマットでないことなどの異常を検出すると、エラーが発生したことを示すアクセスログファイルを生成し、記憶する。   When the transfer unit 702 of the second server 700 receives the transferred IP packet, the communication unit 701 transmits a response IP packet to the first server 600 as a response to polling (step S206). At this time, when the second server 700 receives the IP packet and transmits the response IP packet, the second server 700 generates and stores an access log file indicating that the polling has been normally responded. When the second server 700 detects an abnormality such as that the received IP packet is not in a predetermined format, the second server 700 generates and stores an access log file indicating that an error has occurred.

第1のサーバ600は、応答IPパケットを受信すると、第2のルータ400に転送する(ステップS207)。第2のルータ400は、応答IPパケットを受信すると、第1のルータ300に転送する(ステップS208)。第1のルータ300は、応答IPパケットを受信すると、試験用アプライアンス装置200に転送する(ステップS209)。試験用アプライアンス装置200は、応答IPパケットを受信すると、試験用アプライアンス装置200からネットワーク10を介した第2のサーバ700への情報通信が正常に行われたと判定し、ポーリング試験処理を完了する(ステップS210)。   Upon receiving the response IP packet, the first server 600 transfers the response IP packet to the second router 400 (step S207). When receiving the response IP packet, the second router 400 transfers the response IP packet to the first router 300 (step S208). Upon receiving the response IP packet, the first router 300 transfers the response IP packet to the test appliance 200 (step S209). Upon receiving the response IP packet, the test appliance 200 determines that information communication from the test appliance 200 to the second server 700 via the network 10 has been performed normally, and completes the polling test process ( Step S210).

第2のルータ400が、試験用アプライアンス装置200から第2のサーバ700へのポーリング試験処理が完了したことを示すアクセスログが第2のサーバ700に存在することを検出すると、第2のルータ400は、情報通信が正常に行われたと判定し、第1のルータ300側のポート(ネットワーク10に対して開放されたポート)をシャットダウン(閉塞)する(ステップS301)。なお、ステップS301の処理は、第1のルータ300が、第2のルータ400に開放したポートを閉塞することで行っても良い。   When the second router 400 detects that the access log indicating that the polling test processing from the test appliance 200 to the second server 700 has been completed, the second router 400 Determines that the information communication has been normally performed, and shuts down (blocks) the port on the first router 300 side (the port opened to the network 10) (step S301). Note that the processing in step S301 may be performed by the first router 300 blocking the port opened to the second router 400.

ここで、ネットワーク10内の各ルータは、ダイナミックルーティングを行っている。すなわち、第1のルータ300は、ダイナミックルーティングプロトコルによって、第2のルータ400にルーティング情報を問い合わせる(ステップS302)。そして、第2のルータ400が、ポートをシャットダウンしたことを第1のルータ300に通知するか(ステップS303)、または応答をしなければ、第1のルータ300の第1のルーティング制御部301は、第1のルーティングテーブル302に記憶された第2のルータ400への経路を無効化するように更新する(ステップS304)。   Here, each router in the network 10 performs dynamic routing. That is, the first router 300 inquires routing information to the second router 400 using a dynamic routing protocol (step S302). If the second router 400 notifies the first router 300 that the port has been shut down (step S303) or does not respond, the first routing control unit 301 of the first router 300 Then, the route to the second router 400 stored in the first routing table 302 is updated to be invalidated (step S304).

そして、アプライアンス装置100が、情報提供IPアドレスを宛先として、第1のルータ300にIPパケットを送信する。そして、第1のルータ300が備える第1のルーティング制御部301は、第1のルーティングテーブル302に記憶されたルーティング情報から、情報提供IPアドレスに対応する転送先IPアドレスを検出する。ここで、上述のように、第2のルータ400への経路は無効化されているので、第1のルーティング制御部301は、第3のルータ500のIPアドレスを転送先として判定し、IPパケットを第3のルータ500に転送する。(ステップS402)。そして、第3のルータ500がIPパケットを受信すると、第3のルーティング制御部501は、第3のルーティングテーブル502に記憶された情報に基づいて、IPパケットを第2のサーバ700に転送する(ステップS403)。   Then, the appliance 100 transmits an IP packet to the first router 300 with the information providing IP address as the destination. Then, the first routing control unit 301 included in the first router 300 detects the transfer destination IP address corresponding to the information providing IP address from the routing information stored in the first routing table 302. Here, as described above, since the route to the second router 400 is invalidated, the first routing control unit 301 determines the IP address of the third router 500 as the transfer destination, and the IP packet. Are transferred to the third router 500. (Step S402). Then, when the third router 500 receives the IP packet, the third routing control unit 501 transfers the IP packet to the second server 700 based on the information stored in the third routing table 502 ( Step S403).

第2のサーバ700の通信部701は、IPパケットを受信すると、ポーリングに対する応答として、応答IPパケットを、第3のルータ500に送信する(ステップS404)。
第3のルータ500は、応答IPパケットを受信すると、第1のルータ300に転送する(ステップS405)。第1のルータ300は、応答IPパケットを受信すると、アプライアンス装置100に転送する(ステップS406)。アプライアンス装置100は、応答IPパケットを受信する。
When receiving the IP packet, the communication unit 701 of the second server 700 transmits a response IP packet to the third router 500 as a response to polling (step S404).
Upon receiving the response IP packet, the third router 500 transfers the response IP packet to the first router 300 (step S405). Upon receiving the response IP packet, the first router 300 transfers the response IP packet to the appliance apparatus 100 (step S406). The appliance device 100 receives the response IP packet.

このように、本実施形態によれば、第1のサーバ600が、アプライアンス装置100にネットワーク10を介して提供するサービスを、第2のサーバ700に移行する際の接続先変更方法において、運用中の情報提供サーバである第1のサーバ600から、代替サーバである第2のサーバ700へのシステム移行を、ユーザには意識させずに、効率良く完了させることができる。   As described above, according to the present embodiment, the first server 600 is operating in the connection destination changing method when the service provided to the appliance apparatus 100 via the network 10 is transferred to the second server 700. The system migration from the first server 600, which is the information providing server, to the second server 700, which is the alternative server, can be completed efficiently without the user being aware of it.

なお、本実施形態では、ネットワーク上の各ルータは、ダイナミックルーティングによってそれぞれのルーティングテーブルに記憶される情報を更新するとしたが、ルーティングテーブルの設定は、スタティックルーティングによって行っても良い。すなわち、ネットワーク10に接続され、第2のサーバ700にIPパケットを中継する全てのルータのルーティングテーブルに記憶される優先度情報を、予め第2のサーバ700の優先度情報よりも第1のサーバ600の優先度情報の方が、優先度が高くなるように記憶させておき、第2のルータ400のポートを閉塞させることとしても良い。   In the present embodiment, each router on the network updates the information stored in the routing table by dynamic routing. However, the routing table may be set by static routing. In other words, the priority information stored in the routing table of all routers connected to the network 10 and relaying IP packets to the second server 700 is set in advance to the first server more than the priority information of the second server 700. The priority information 600 may be stored so as to have a higher priority, and the port of the second router 400 may be blocked.

<第2の実施形態>
次に、第1のサーバ600の外部に設置された転送振分装置620が、上述の試験用アプライアンス装置200から情報提供IPアドレスに送信されるIPパケットの中継を行う実施形態を説明する。第2の実施形態によるネットワークシステムは、第1の実施形態と同様の構成をしており、同様の構成・処理については説明を省略する。以下、第2の実施形態に特有の構成・処理について説明する。本実施形態によれば、図6に示されるように、アプライアンス装置100から送信されるIPパケットは第1のサーバ600へ、試験用アプライアンス装置200から送信されるIPパケットは第2のサーバ700へ転送される。
<Second Embodiment>
Next, an embodiment will be described in which the transfer distribution device 620 installed outside the first server 600 relays an IP packet transmitted from the above-described test appliance device 200 to the information providing IP address. The network system according to the second embodiment has the same configuration as that of the first embodiment, and the description of the same configuration and processing is omitted. Hereinafter, the configuration and processing unique to the second embodiment will be described. According to the present embodiment, as shown in FIG. 6, IP packets transmitted from the appliance device 100 are sent to the first server 600, and IP packets sent from the test appliance device 200 are sent to the second server 700. Transferred.

図4は、本発明の第2の実施形態におけるネットワークシステムの構成を示すブロック図である。
図4に示されるように、第2のルータ400と転送振分装置620との間には、セグメントAを割当て、第3のルータ500と第2のサーバ700との間には、セグメントAとは異なるセグメントBを割り当て、転送振分装置620と、第1のサーバ600と、第2のサーバ700との間には、セグメントAともセグメントBとも異なるセグメントDを割り当てる。
FIG. 4 is a block diagram showing the configuration of the network system in the second embodiment of the present invention.
As shown in FIG. 4, a segment A is allocated between the second router 400 and the transfer distribution device 620, and a segment A is allocated between the third router 500 and the second server 700. A different segment B is allocated, and a segment D that is different from both the segment A and the segment B is allocated between the transfer distribution device 620, the first server 600, and the second server 700.

ここで、例えば、図7に示されるように、転送振分装置620と、第1のサーバ600とは、第4のルータ650を介して接続され、また、転送振分装置620と、第2のサーバ700とは、第5のルータ660を介して接続されることとしても良い。転送振分装置620は、例えば、IPパケットの送信元IPアドレスに対応させて、そのIPパケットを第4のルータ650か第5のルータ660かのいずれに転送するかを示す情報を予め転送情報記憶部622に記憶させておき、第4のルータ650か第5のルータ660かのIPアドレスに基づいてIPパケットを転送する。   Here, for example, as shown in FIG. 7, the transfer distribution device 620 and the first server 600 are connected via the fourth router 650, and the transfer distribution device 620 and the second server 600 are connected to each other. The server 700 may be connected via the fifth router 660. For example, the transfer distribution device 620 corresponds to the transmission source IP address of the IP packet, and previously indicates information indicating whether the IP packet is transferred to the fourth router 650 or the fifth router 660. The packet is stored in the storage unit 622, and the IP packet is transferred based on the IP address of the fourth router 650 or the fifth router 660.

転送振分装置620は、IPパケットの宛先や送信元などの情報によってIPパケットの転送先を振り分ける。転送振分装置620は、例えば、負荷分散装置であり、ロードバランサ、L/4スイッチ、L/7スイッチなどのネットワーク機器でも良く、WEBサービスの能力が不足してきたときの拡張性や、故障発生時の可用性などを高める機能を有している。このような転送振分装置620を利用すれば、その設定によってネットワークシステムに様々な付加価値を与えることができる。転送振分装置620は、転送部621と、転送情報記憶部622とを備えている。   The transfer distribution device 620 distributes the transfer destination of the IP packet according to information such as the destination and the transmission source of the IP packet. The transfer distribution device 620 is, for example, a load distribution device, and may be a network device such as a load balancer, L / 4 switch, L / 7 switch, etc., and expandability when a web service capability becomes insufficient or a failure occurs. It has a function to improve time availability. If such a transfer distribution device 620 is used, various added values can be given to the network system depending on the setting. The transfer distribution device 620 includes a transfer unit 621 and a transfer information storage unit 622.

転送部621は、例えば、転送情報記憶部622に記憶された情報に基づいて、IPパケットの転送を行う。転送情報記憶部622は、情報提供IPアドレスへのIPパケットの転送を行うための情報を記憶する。例えば、転送情報記憶部622には、情報提供IPアドレスと、第4のルータ650のIPアドレスと第1のサーバ600のIPアドレスとを対応付けた情報と、第5のルータ660のIPアドレスと第2のサーバ700のIPアドレスとを対応付けた情報と、試験用アプライアンス装置200のIPアドレスとが記憶される。   For example, the transfer unit 621 transfers the IP packet based on the information stored in the transfer information storage unit 622. The transfer information storage unit 622 stores information for transferring the IP packet to the information providing IP address. For example, in the transfer information storage unit 622, the information providing IP address, the information that associates the IP address of the fourth router 650 and the IP address of the first server 600, the IP address of the fifth router 660, and Information that associates the IP address of the second server 700 with the IP address of the test appliance 200 is stored.

次に、図5のシーケンス図を参照して、第2の実施形態によるネットワークシステムが、試験用アプライアンス装置200から送信されるIPパケットを第2のサーバ700に転送する動作例を説明する。
ステップS204で、情報提供IPアドレスを宛先とするIPパケットが第1のサーバ600に転送されると、転送振分装置620が、IPパケットを受信する。
Next, an operation example in which the network system according to the second embodiment transfers an IP packet transmitted from the test appliance 200 to the second server 700 will be described with reference to the sequence diagram of FIG.
In step S204, when the IP packet destined for the information providing IP address is transferred to the first server 600, the transfer distribution device 620 receives the IP packet.

転送振分装置620が、IPパケットを受信すると、転送部621は、IPパケットのヘッダ部から送信元IPアドレスを読み出す。転送部621は、転送情報記憶部622から検出する情報を参照して、IPパケットの宛先IPアドレスが、情報提供IPアドレスであり、かつ、IPパケットの送信元IPアドレスが試験用アプライアンス装置200に対応するIPアドレスと同一であることを判定すると、転送情報記憶部622から、第2のサーバ700に接続されるルータである第5のルータのIPアドレスを読み出す。   When the transfer distribution device 620 receives the IP packet, the transfer unit 621 reads the source IP address from the header portion of the IP packet. The transfer unit 621 refers to the information detected from the transfer information storage unit 622, the destination IP address of the IP packet is the information providing IP address, and the source IP address of the IP packet is sent to the test appliance 200. If it is determined that the IP address is the same as the corresponding IP address, the IP address of the fifth router, which is the router connected to the second server 700, is read from the transfer information storage unit 622.

そして、転送部621は、IPパケットを、第5のルータを介して第2のサーバ700に転送する(ステップS205−2)。第2のサーバ700が、転送されてきたIPパケットを受信すると、通信部701は、ポーリングに対する応答として、応答IPパケットを、第1のサーバ600に送信する(ステップS206−2)。接続先移行の完了後は、第1のサーバおよび転送振分装置620を撤去しても良い。そのために、予め、第2のサーバ700と第3のルータ500との間にさらに転送振分装置を備える構成としても良い。   Then, the transfer unit 621 transfers the IP packet to the second server 700 via the fifth router (step S205-2). When the second server 700 receives the transferred IP packet, the communication unit 701 transmits a response IP packet as a response to polling to the first server 600 (step S206-2). After the connection destination transfer is completed, the first server and the transfer distribution device 620 may be removed. For this purpose, a transfer distribution device may be further provided between the second server 700 and the third router 500 in advance.

なお、上述の構成以外に、転送振分装置620に、第1のサーバ600と第2のサーバ700とのMAC(Media Access Control address)アドレスを記憶するMACアドレス記憶部をさらに設け、転送部621は、MACアドレスにより宛先を識別して転送を行うこととしても良い。
また、上述の構成以外に、転送振分装置620に、仮想IPアドレスとして情報提供IPアドレスを割り振るように構成しても良い。この場合、図4に示すセグメントDにおける第1のサーバ600と第2のサーバ700とのIPアドレスには、セグメントD内のプライベートアドレスを割り振っておき、転送振分装置620がIPアドレスによってIPパケットの転送先を判定する。
In addition to the above-described configuration, the transfer distribution device 620 is further provided with a MAC address storage unit that stores MAC (Media Access Control address) addresses of the first server 600 and the second server 700, and the transfer unit 621 May identify the destination by the MAC address and perform the transfer.
In addition to the above-described configuration, the information distribution IP address may be allocated to the transfer distribution device 620 as a virtual IP address. In this case, the private addresses in the segment D are allocated to the IP addresses of the first server 600 and the second server 700 in the segment D shown in FIG. 4, and the transfer distribution device 620 uses the IP address to generate an IP packet. Determine the transfer destination.

このように、第2のルータ400と転送振分装置620とを接続し、情報提供IPアドレスへ送信されるIPパケットを転送すれば、専用線を用いずに、試験用アプライアンス装置200から送信されるIPパケットを第2のサーバ700に転送することができる。   In this way, if the second router 400 and the transfer distribution device 620 are connected and the IP packet transmitted to the information providing IP address is transferred, the packet is transmitted from the test appliance 200 without using the dedicated line. The IP packet can be transferred to the second server 700.

以上説明したように、本発明によれば、アプライアンス装置100から第1のサーバ600への通信と、試験用アプライアンス装置200から第2のサーバ700への通信を振り分けることで、サービス運用中に第2のサーバ700の動作の正常性確認ができ、また、試験後には第1のルータ300の設定を変更し、アプライアンス装置100から第1のサーバ600への通信を第2のサーバ700に切り替えることで、システムを停止することなく接続先の移行を行うことができる。   As described above, according to the present invention, the communication from the appliance apparatus 100 to the first server 600 and the communication from the test appliance apparatus 200 to the second server 700 are distributed, so that the first operation can be performed during service operation. The normality of the operation of the second server 700 can be confirmed, and after the test, the setting of the first router 300 is changed, and the communication from the appliance apparatus 100 to the first server 600 is switched to the second server 700. Thus, the connection destination can be migrated without stopping the system.

なお、本発明における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより接続先移行を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。   Note that the program for realizing the function of the processing unit in the present invention is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed, so that the connection destination is transferred. You may go. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer system” includes a WWW system having a homepage providing environment (or display environment). The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

本発明の第1の実施形態によるネットワークシステムを示すブロック図である。1 is a block diagram showing a network system according to a first embodiment of the present invention. 本発明の第1の実施形態によるネットワークシステムを示す概念図である。1 is a conceptual diagram showing a network system according to a first embodiment of the present invention. 本発明の第1の実施形態によるネットワークシステムの動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of the network system by the 1st Embodiment of this invention. 本発明の第2の実施形態によるネットワークシステムを示すブロック図である。It is a block diagram which shows the network system by the 2nd Embodiment of this invention. 本発明の第2の実施形態によるネットワークシステムの動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of the network system by the 2nd Embodiment of this invention. 本発明の第2の実施形態による通信の転送例を示す概念図である。It is a conceptual diagram which shows the example of transfer of communication by the 2nd Embodiment of this invention. 本発明の第2の実施形態による通信の転送例を示す概念図である。It is a conceptual diagram which shows the example of transfer of communication by the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

10 ネットワーク
20 専用線
100 アプライアンス装置
200 試験用アプライアンス装置
300 第1のルータ
301 第1のルーティング制御部
302 第1のルーティングテーブル
400 第2のルータ
401 第2のルーティング制御部
402 第2のルーティングテーブル
500 第3のルータ
501 第3のルーティング制御部
502 第3のルーティングテーブル
600 第1のサーバ
601 通信部
602 転送部
620 転送振分装置
621 転送部
622 転送情報記憶部
650 第4のルータ
660 第5のルータ
700 第2のサーバ
701 通信部
702 転送部
DESCRIPTION OF SYMBOLS 10 Network 20 Private line 100 Appliance apparatus 200 Test appliance apparatus 300 1st router 301 1st routing control part 302 1st routing table 400 2nd router 401 2nd routing control part 402 2nd routing table 500 Third router 501 Third routing control unit 502 Third routing table 600 First server 601 Communication unit 602 Transfer unit 620 Transfer distribution device 621 Transfer unit 622 Transfer information storage unit 650 Fourth router 660 Fifth router Router 700 Second server 701 Communication unit 702 Transfer unit

Claims (6)

IP通信可能なネットワークと、前記ネットワークを構成し、それぞれが前記ネットワークにおける経路を制御するための経路情報を記憶するルーティングテーブルを有する複数の中継装置と、前記ネットワークに接続される第1のサーバ装置及び第2のサーバ装置と、前記ネットワークに接続され、情報提供IPアドレスに対して送信を行うことにより第1のサーバ装置または第2のサーバ装置から所定の情報を受信するアプライアンス装置と、を備えたネットワークシステムにおける、前記アプライアンス装置の接続先を第1のサーバ装置から第2のサーバ装置へ移行する接続先移行方法であって、
第1の中継装置のルーティングテーブルに、前記情報提供IPアドレスに対応付けて当該情報提供IPアドレスを送信先とするデータを受信すると前記第1のサーバ装置への経路を有する第2の中継装置を転送先とする第1の経路情報と、前記情報提供IPアドレスに対応付けて当該情報提供IPアドレスを送信先とするデータを受信すると前記第2のサーバ装置への経路を有する第3の中継装置を転送先とする第2の経路情報と、前記第1の経路情報が前記第2の経路情報より優先度が高いことを示す優先度情報とを予め記憶させるステップと、
前記アプライアンス装置が、前記情報提供IPアドレスを送信先とした第1の情報要求データを定期的に送信することにより、前記第1の中継装置及び前記第2の中継装置を通じて前記第1のサーバ装置から前記所定の情報を受信している状態にて、前記ネットワークに接続される試験アプライアンス装置が、自装置に予め付与されるIPアドレスを送信元とし、前記情報提供IPアドレスを送信先とした第2の情報要求データを送信するステップと、
前記ネットワークに接続される転送手段が、前記情報要求データの送信元IPアドレスを参照することにより、前記第2の中継装置を通じて受信する前記第2の情報要求データを前記第2のサーバ装置に転送し、前記第2の中継装置を通じて受信する前記第1の情報要求データを前記第1のサーバ装置に転送するステップと、
前記第2のサーバ装置が、前記第2の情報要求データを受信して、受信したことを示す履歴情報を出力した場合、前記第1の中継装置、または前記第2の中継装置が、前記第1の中継装置と第2の中継装置との間の通信を切断するステップと、
前記第1の中継装置が、前記第2の中継装置との通信の切断を検出した場合に、前記アプライアンス装置から前記情報要求データを受信したとき、自装置が有するルーティングテーブルの経路情報を参照し、前記優先度情報に従って、前記第3の中継装置へ当該情報要求データを送信するステップと、
前記アプライアンス装置が、前記情報提供IPアドレスを送信先とした第1の情報要求データを定期的に送信することにより、前記第1の中継装置及び前記第3の中継装置を通じて前記第2のサーバ装置から前記所定の情報を受信するステップと、
を含むことを特徴とする接続先移行方法。
A network capable of IP communication, a plurality of relay devices that constitute the network, each having a routing table that stores route information for controlling a route in the network, and a first server device connected to the network And an appliance device that is connected to the network and receives predetermined information from the first server device or the second server device by transmitting to the information providing IP address. In the network system, the connection destination migration method for migrating the connection destination of the appliance device from the first server device to the second server device,
A second relay apparatus having a route to the first server apparatus when receiving data having the information provision IP address as a transmission destination in association with the information provision IP address in the routing table of the first relay apparatus The third relay device having a route to the second server device when receiving the first route information as a transfer destination and data having the information provision IP address as a transmission destination in association with the information provision IP address Preliminarily storing second route information having a transfer destination and priority information indicating that the first route information has higher priority than the second route information;
The appliance device periodically transmits the first information request data with the information providing IP address as a transmission destination, thereby allowing the first server device to pass through the first relay device and the second relay device. In a state where the predetermined information is received from the network, the test appliance device connected to the network uses an IP address given to the device in advance as a transmission source and uses the information providing IP address as a transmission destination. Transmitting the information request data of 2;
Transfer means connected to the network transfers the second information request data received through the second relay device to the second server device by referring to the source IP address of the information request data And transferring the first information request data received through the second relay device to the first server device;
When the second server device receives the second information request data and outputs history information indicating that it has been received, the first relay device or the second relay device receives the first information request data. Disconnecting communication between one relay device and a second relay device;
When the first relay device detects disconnection of communication with the second relay device and receives the information request data from the appliance device, it refers to the routing information of the routing table of the own device. Transmitting the information request data to the third relay device according to the priority information;
The appliance apparatus periodically transmits the first information request data with the information providing IP address as a transmission destination, whereby the second server apparatus is transmitted through the first relay apparatus and the third relay apparatus. Receiving the predetermined information from:
Including a connection destination migration method.
前記転送手段が、前記情報要求データの送信元IPアドレスを参照することにより、前記第2の中継装置を通じて受信する前記第2の情報要求データを前記第2のサーバ装置に転送し、前記第2の中継装置を通じて受信する前記第1の情報要求データを前記第1のサーバ装置に転送するステップは、
前記情報要求データが、前記第2の中継装置により前記第1のサーバ装置に送信され、前記第1のサーバ装置に具備される前記転送手段が、前記情報要求データの送信元IPアドレスを参照することにより、前記第1のサーバ装置と前記第2のサーバ装置との間に予め接続される専用回線を通じて前記第2の情報要求データを前記第2のサーバ装置へ転送することにより行われる
ことを特徴とする請求項に記載の接続先移行方法。
The transfer means transfers the second information request data received through the second relay device to the second server device by referring to a source IP address of the information request data, and the second server device Transferring the first information request data received through the relay device to the first server device,
The information request data is transmitted to the first server device by the second relay device, and the transfer means provided in the first server device refers to the source IP address of the information request data Thus, the second information request data is transferred to the second server device through a dedicated line connected in advance between the first server device and the second server device. The connection destination migration method according to claim 1 , wherein:
前記転送手段が、前記情報要求データの送信元IPアドレスを参照することにより、前記第2の中継装置を通じて受信する前記第2の情報要求データを前記第2のサーバ装置に転送し、前記第2の中継装置を通じて受信する前記第1の情報要求データを前記第1のサーバ装置に転送するステップは、
前記第1のサーバ装置と前記第2のサーバ装置とに接続される、前記転送手段としての転送振分装置が、
前記第2の中継装置から転送される情報要求データを受信して、前記情報要求データの送信元IPアドレスを参照することにより、前記第2の情報要求データを前記第2のサーバ装置に転送し、前記第1の情報要求データを前記第1のサーバ装置に転送することにより行なわれる
ことを特徴とする請求項に記載の接続先移行方法。
The transfer means transfers the second information request data received through the second relay device to the second server device by referring to a source IP address of the information request data, and the second server device Transferring the first information request data received through the relay device to the first server device,
A transfer distribution device as the transfer means connected to the first server device and the second server device,
By receiving the information request data transferred from the second relay device and referring to the source IP address of the information request data, the second information request data is transferred to the second server device. , destination migration method according to claim 1, characterized in that it is carried out by transferring the first information request data to the first server device.
IP通信可能なネットワークと、前記ネットワークを構成し、それぞれが前記ネットワークにおける経路を制御するための経路情報を記憶するルーティングテーブルを有する複数の中継装置と、前記ネットワークに接続される第1のサーバ装置及び第2のサーバ装置と、前記ネットワークに接続され、情報提供IPアドレスに対して送信を行うことにより第1のサーバ装置または第2のサーバ装置から所定の情報を受信するアプライアンス装置と、前記ネットワークに接続され、自装置に予め付与されるIPアドレスを送信元とし、前記情報提供IPアドレスを送信先とした第2の情報要求データを送信する試験アプライアンス装置と、前記ネットワークに接続され、情報要求データの送信元IPアドレスを参照することにより、第2の中継装置を通じて受信する前記第2の情報要求データを前記第2のサーバ装置に転送し、前記第2の中継装置を通じて受信する第1の情報要求データを前記第1のサーバ装置に転送する転送手段と、を備え、前記アプライアンス装置の接続先を第1のサーバ装置から第2のサーバ装置へ移行する接続先移行システムであって、
第1の中継装置は、
前記情報提供IPアドレスに対応付けて当該情報提供IPアドレスを送信先とするデータを受信すると前記第1のサーバ装置への経路を有する第2の中継装置を転送先とする第1の経路情報と、前記情報提供IPアドレスに対応付けて当該情報提供IPアドレスを送信先とするデータを受信すると前記第2のサーバ装置への経路を有する第3の中継装置を転送先とする第2の経路情報と、前記第1の経路情報が前記第2の経路情報より優先度が高いことを示す優先度情報とを予め記憶する第1のルーティングテーブルと、
他の中継装置との間で経路の制御を行う第1のルーティング制御部と、を備え、
前記第2の中継装置は、
他の中継装置との間で経路の制御を行う第2のルーティング制御部と、を備え、
前記アプライアンス装置は、
前記情報提供IPアドレスを送信先とした第1の情報要求データを前記第1の中継装置を通じて送信する送信手段と、
前記第1の情報要求データの送信の応答として前記第1の中継装置を通じて前記所定の情報を受信する受信手段と、を備え、
前記第2のサーバ装置は、
前記第2の情報要求データを受信して、受信したことを示す履歴情報を出力する通信部を備え、
前記アプライアンス装置が、前記情報提供IPアドレスを送信先とした第1の情報要求データを定期的に送信することにより、前記第1の中継装置及び前記第2の中継装置を通じて前記第1のサーバ装置から前記所定の情報を受信している状態にて、
前記第1または第2のルーティング制御部は、前記通信部から前記履歴情報が出力された場合に、前記第1の中継装置と前記第2の中継装置の間の通信を切断し、
前記第1のルーティング制御部は、前記第2の中継装置との通信の切断を検出した場合に、前記情報要求データを受信したとき、自装置が有するルーティングテーブルの経路情報を参照し、前記優先度情報に従って、前記第3の中継装置へ当該第1の情報要求データを送信する
ことを特徴とする接続先移行システム。
A network capable of IP communication, a plurality of relay devices that constitute the network, each having a routing table that stores route information for controlling a route in the network, and a first server device connected to the network And the second server device, the appliance device connected to the network and receiving predetermined information from the first server device or the second server device by transmitting to the information providing IP address, and the network Connected to the network, a test appliance device that transmits second information request data with the IP address pre-assigned to the device as a transmission source and the information provision IP address as a transmission destination, and an information request connected to the network By referring to the data source IP address, the second relay Transfer means for transferring the second information request data received through the device to the second server device, and transferring the first information request data received through the second relay device to the first server device; the provided, a connection destination migration system for migrating a connection destination of the appliance device from a first server device to the second server device,
The first relay device
When receiving data having the information provision IP address as a transmission destination in association with the information provision IP address, first route information having a second relay device having a route to the first server device as a transfer destination; When receiving data having the information provision IP address as a transmission destination in association with the information provision IP address, second route information having a third relay device having a route to the second server device as a transfer destination A first routing table that stores in advance priority information indicating that the first route information has a higher priority than the second route information;
A first routing control unit that controls a route with another relay device,
The second relay device is
A second routing control unit that controls a route with another relay device,
The appliance device is:
Transmitting means for transmitting first information request data having the information providing IP address as a transmission destination through the first relay device;
Receiving means for receiving the predetermined information through the first relay device as a response to the transmission of the first information request data;
The second server device is
A communication unit that receives the second information request data and outputs history information indicating reception;
The appliance device periodically transmits the first information request data with the information providing IP address as a transmission destination, thereby allowing the first server device to pass through the first relay device and the second relay device. In a state where the predetermined information is received from
The first or second routing control unit disconnects communication between the first relay device and the second relay device when the history information is output from the communication unit ,
When the first routing control unit detects disconnection of communication with the second relay device and receives the information request data, the first routing control unit refers to route information in a routing table of the own device, and According to the degree information, the first information request data is transmitted to the third relay device.
前記第1のサーバ装置と、前記第2のサーバ装置を接続する専用回線を備え、
前記転送手段は前記第1のサーバ装置に具備されており、
前記転送手段は、
前記第2の中継装置から受信する前記情報要求データの送信元IPアドレスを参照することにより、前記第2の情報要求データを前記専用回線を通じて前記第2のサーバ装置に転送し、前記第1の情報要求データを自装置内に転送する
ことを特徴とする請求項に記載の接続先移行システム。
A dedicated line connecting the first server device and the second server device;
The transfer means is provided in the first server device,
The transfer means includes
The second information request data is transferred to the second server device through the dedicated line by referring to the source IP address of the information request data received from the second relay device, and 5. The connection destination migration system according to claim 4 , wherein the information request data is transferred to the local apparatus.
前記転送手段としての転送振分装置を備え、
前記転送振分装置は、
前記情報要求データの送信元IPアドレスを参照することにより、前記第2の中継装置を通じて受信する前記第2の情報要求データを前記第2のサーバ装置に転送し、前記第2の中継装置を通じて受信する前記第1の情報要求データを前記第1のサーバ装置に転送する
ことを特徴とする請求項に記載の接続先移行システム。
A transfer distribution device as the transfer means;
The transfer distribution device includes:
By referring to the source IP address of the information request data, the second information request data received through the second relay device is transferred to the second server device and received through the second relay device. The connection destination migration system according to claim 4 , wherein the first information request data to be transferred is transferred to the first server device.
JP2007165523A 2007-06-22 2007-06-22 Connection destination migration method and connection destination migration system Expired - Fee Related JP4820780B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007165523A JP4820780B2 (en) 2007-06-22 2007-06-22 Connection destination migration method and connection destination migration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007165523A JP4820780B2 (en) 2007-06-22 2007-06-22 Connection destination migration method and connection destination migration system

Publications (2)

Publication Number Publication Date
JP2009005189A JP2009005189A (en) 2009-01-08
JP4820780B2 true JP4820780B2 (en) 2011-11-24

Family

ID=40321067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007165523A Expired - Fee Related JP4820780B2 (en) 2007-06-22 2007-06-22 Connection destination migration method and connection destination migration system

Country Status (1)

Country Link
JP (1) JP4820780B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2701432B1 (en) * 2012-08-23 2017-07-19 BlackBerry Limited Relay, method and computer program product with efficient service roaming handling

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5416596B2 (en) * 2010-01-07 2014-02-12 アラクサラネットワークス株式会社 Network relay device, network system, and control method thereof
JP5255006B2 (en) * 2010-02-19 2013-08-07 ヤフー株式会社 Web system, method and program
JP5190084B2 (en) * 2010-03-30 2013-04-24 株式会社日立製作所 Virtual machine migration method and system
JP5880701B2 (en) * 2012-06-06 2016-03-09 日本電気株式会社 Communication system, communication control method, communication relay system, and communication relay control method
WO2017068618A1 (en) * 2015-10-19 2017-04-27 三菱電機株式会社 Routing control device and network
KR101729887B1 (en) * 2016-01-25 2017-04-25 엔에이치엔엔터테인먼트 주식회사 Method and system for processing long polling
JP7585696B2 (en) * 2020-10-07 2024-11-19 日本電気株式会社 Network system, communication system, and communication method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242662A (en) * 2004-02-26 2005-09-08 Japan Telecom Co Ltd Communications system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2701432B1 (en) * 2012-08-23 2017-07-19 BlackBerry Limited Relay, method and computer program product with efficient service roaming handling

Also Published As

Publication number Publication date
JP2009005189A (en) 2009-01-08

Similar Documents

Publication Publication Date Title
JP4820780B2 (en) Connection destination migration method and connection destination migration system
US9130954B2 (en) Distributed health check for global server load balancing
EP1234246B1 (en) System and method for network access without reconfiguration
US10348571B2 (en) Methods and apparatus for accessing dynamic routing information from networks coupled to a wide area network (WAN) to determine optimized end-to-end routing paths
CN112913196B (en) Software-defined wide area network uplink selection with virtual IP addresses for cloud services
US12192094B2 (en) Method and apparatus of automatic route optimization in a private virtual network for client devices of a local network
US20050086385A1 (en) Passive connection backup
US20130332619A1 (en) Method of Seamless Integration and Independent Evolution of Information-Centric Networking via Software Defined Networking
US20080008183A1 (en) Communication Device, Storage Medium, Integrated Circuit, and Communication System
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
CN105340244A (en) Dynamic content distribution network selection based on context from transient criteria
WO2014118938A1 (en) Communication path management method
JP5726302B2 (en) Secret or protected access to a network of nodes distributed across a communication architecture using a topology server
JP2006086800A (en) Communication device for selecting source address
WO2022206667A1 (en) Routing method, and device
JP2012039188A (en) Communication system, control server, flow control method, and program thereof
Hamarsheh Examining the impact of link failures and network performance on a 6to4, 6rd, CHANC and D4across6 tunneling-based networks using various routing protocols
JP3864397B2 (en) User edge router, gateway router, multihoming communication system, multihoming communication method, and multihoming communication program
Jeong et al. Lisp controller: a centralized lisp management system for isp networks
JP2004135108A (en) Communication control method, communication terminal, router, communication terminal control program, and router control program
JP5889122B2 (en) Control node and communication control method
US8023407B2 (en) Redundancy in a communication network
WO2015145953A1 (en) Communication terminal, communication method, and program-containing storage medium
JP6898120B2 (en) Network system, network system address resolution method, and base-side connection device
JP2022047994A (en) Femtocell, mobile communication system, and mobile communication relay method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110524

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110722

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110809

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110905

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4820780

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees