JP2008271203A - Communication network system and program - Google Patents

Communication network system and program Download PDF

Info

Publication number
JP2008271203A
JP2008271203A JP2007111565A JP2007111565A JP2008271203A JP 2008271203 A JP2008271203 A JP 2008271203A JP 2007111565 A JP2007111565 A JP 2007111565A JP 2007111565 A JP2007111565 A JP 2007111565A JP 2008271203 A JP2008271203 A JP 2008271203A
Authority
JP
Japan
Prior art keywords
address
side router
terminal
router device
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007111565A
Other languages
Japanese (ja)
Inventor
Taiga Honma
大我 本間
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2007111565A priority Critical patent/JP2008271203A/en
Publication of JP2008271203A publication Critical patent/JP2008271203A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a router device having a mechanism for continuing a communication without breaking the connection of established communication right in the middle of the occurrence of a network failure sch thats it is impossible to be connected to an ISP and a communication throughput is reduced. <P>SOLUTION: When transmitting transmission data from a terminal device 10, a terminal side router device 30 changes a transmission source IP address included in an IP packet being the transmission data from a local address to a global address, and a server side router device 50 changes the transmission source IP address included in the received transmission data from the global address to the local address. The server side router device 50 changes a transmission destination IP address of reply data received from a server device 20 from a local address to a global address, and the terminal side router device 30 receiving the replay data changes the transmission destination IP address included in the replay data from the global address to the local address. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、インターネットサービスプロバイダ(以降、ISPと呼ぶ)に接続できない、通信スループットが低下した等のネットワーク障害等が発生した最中に確立している通信の接続が切れることが無く通信を継続することができる通信ネットワークシステムおよびプログラムに関する。   The present invention continues communication without disconnection of communication established during the occurrence of a network failure such as inability to connect to an Internet service provider (hereinafter referred to as an ISP) or a decrease in communication throughput. The present invention relates to a communication network system and program.

インターネット等のネットワークで利用されるネットワーク機器間の通信には、IP(Internet Protocol)というプロトコル(通信規約)が用いられ、これらネットワーク機器を識別するための識別子としてIPアドレスが用いられている。このIPアドレスをインターネットに接続される全世界のネットワーク機器に唯一に割り振ると、IPアドレスは枯渇してしまう。   For communication between network devices used in a network such as the Internet, a protocol (communication protocol) called IP (Internet Protocol) is used, and an IP address is used as an identifier for identifying these network devices. If this IP address is uniquely assigned to network devices all over the world connected to the Internet, the IP address will be exhausted.

そこで、インターネットに接続しないネットワーク機器には「プライベートアドレス」(会社内や家庭内のネットワーク機器で唯一のIPアドレス)を割り振り、このネットワーク機器がインターネットに接続する際に「グローバルアドレス」(全世界のネットワーク機器で唯一のIPアドレス)を割り振ることでIPアドレスを有効活用している。このプライベートアドレスからグローバルアドレスへのアドレス変換機能のことを「NAT(Network Address Translation)」や「IPマスカレード」と呼び、このアドレス変換は主としてルータ装置にて行われる。なお、一般に「DHCP(Dynamic Host Configuration Protocol)」というサーバ装置により、このグローバルアドレスは自動的に割り振られる。   Therefore, a “private address” (unique IP address for network devices in the company or home) is assigned to network devices that are not connected to the Internet, and when this network device connects to the Internet, a “global address” (global address) is assigned. The IP address is effectively utilized by allocating the only IP address in the network device. This address translation function from a private address to a global address is called “NAT (Network Address Translation)” or “IP masquerading”, and this address translation is mainly performed by a router device. In general, this global address is automatically assigned by a server apparatus called “DHCP (Dynamic Host Configuration Protocol)”.

ところでネットワークは、例えば物理的にネットワークケーブルが切断された又は停電等、様々な理由でネットワーク障害が発生する。ここでネットワーク障害が発生した場合には日常業務等に多大な支障をきたすため、バックアップ回線を準備し通信経路を二重化するという障害対策が取られている。例えば通信手段の変更や、接続先のISPを変更することによって通信経路を変更するという手法が取られている。   By the way, in the network, for example, a network failure occurs due to various reasons such as a physical disconnection of a network cable or a power failure. Here, when a network failure occurs, a great trouble is caused in daily work, and therefore, a countermeasure against the failure is prepared by preparing a backup line and duplicating the communication path. For example, a method of changing the communication path by changing the communication means or changing the connection destination ISP is used.

ところが通信経路が変更されると、ネットワーク機器は、例えば既に設定されている接続先のISPのサーバ装置(主回線ネットワーク)のアドレスから、バックアップ回線用のISPのサーバ装置(副回線のネットワーク)のアドレスへ設定変更するといったことや、既に設定されているDHCPサーバ装置のアドレスから、新しいDHCPサーバ装置のアドレスに設定変更するといった設定変更が必要となるという問題点が生じる。そこでこのような問題を解決するために、送信側のルータ装置にNAT機能を持たせ回線切り替え時にアドレス変換を行う事によって端末側ネットワーク装置の設定をやり直さなくてもよい手法が提案されている(例えば、特許文献1参照)。   However, when the communication path is changed, the network device, for example, from the address of the ISP server device (main line network) of the connection destination that has already been set, the ISP server device (sub-line network) for the backup line is used. There arises a problem that a setting change such as changing the setting to an address or changing the setting from an already set DHCP server address to a new DHCP server address is required. Therefore, in order to solve such a problem, a technique has been proposed in which the router device on the transmission side is provided with a NAT function and address conversion is performed at the time of line switching so that the setting of the terminal-side network device does not have to be performed again ( For example, see Patent Document 1).

特開2003−249950号公報JP 2003-249950 A

しかしこの先行技術の提案手法では、ISPに接続できない、通信スループットが低下した等のネットワーク障害等が発生した最中に確立していた通信は、送信元のIPアドレスが変わってしまうため通信を継続して行うことができないという問題点がある。   However, with this prior art proposed method, communication established while a network failure such as an inability to connect to the ISP or a decrease in communication throughput has occurred will continue because the IP address of the transmission source changes. There is a problem that it cannot be done.

つまりTCP等のセッションを維持する通信に於いて、回線切り替えに伴うIPアドレスの変更が発生した場合に、通信の不整合が発生しセッションが切断されるため再度TCPセッションを確立する必要がある。   In other words, in communication that maintains a session such as TCP, when an IP address change occurs due to line switching, a communication mismatch occurs and the session is disconnected, so it is necessary to reestablish the TCP session.

本発明の目的は、ISPに接続できない、通信スループットが低下した等のネットワーク障害等が発生した最中に確立している通信の接続が切れること無く通信を継続する仕組みを有する通信ネットワークシステムおよびプログラムを提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a communication network system and program having a mechanism for continuing communication without disconnection of communication established during the occurrence of a network failure such as inability to connect to an ISP or a decrease in communication throughput. Is to provide.

請求項1に記載の本発明の通信ネットワークシステムは、端末装置とサーバ装置が夫々端末側ルータ装置とサーバ側ルータ装置とを介してインターネットにより接続される通信ネットワークシステムであって、
前記端末側ルータ装置は、前記端末装置のローカルアドレスとグローバルアドレスを対応付けて記憶する第一の対応アドレス記憶手段と、前記端末装置から前記サーバ装置への送信データを受信する送信データ受信手段と、前記送信データに含まれる送信元アドレスに設定されている前記端末装置のローカルアドレスを、前記第一の対応アドレス記憶手段に記憶されているグローバルアドレスに変更するグローバルアドレス変更手段と、このグローバルアドレス変更手段により変更された送信データを前記サーバ側ルータ装置へ送信する送信手段とを有し、
前記サーバ側ルータ装置は、前記端末装置のグローバルアドレスとローカルアドレスを対応付けて記憶する第二の対応アドレス記憶手段と、前記送信手段より送信された送信データを受信する送信データ受信手段と、前記送信データに含まれる送信元アドレスに設定されている前記端末装置のグローバルアドレスを、前記第二の対応アドレス記憶手段に記憶されているローカルアドレスに変更するローカルアドレス変更手段と、このローカルアドレス変更手段により変更された送信データを前記サーバ装置に送信する送信手段とを有する。
The communication network system according to the first aspect of the present invention is a communication network system in which a terminal device and a server device are connected by the Internet via a terminal router device and a server router device, respectively.
The terminal-side router device includes first correspondence address storage means for storing a local address and a global address in association with each other, and transmission data reception means for receiving transmission data from the terminal device to the server device. A global address changing means for changing a local address of the terminal device set as a transmission source address included in the transmission data to a global address stored in the first corresponding address storage means, and the global address Transmission means for transmitting the transmission data changed by the changing means to the server side router device,
The server-side router device includes a second corresponding address storage unit that stores a global address and a local address of the terminal device in association with each other, a transmission data reception unit that receives transmission data transmitted from the transmission unit, Local address changing means for changing the global address of the terminal device set as the source address included in the transmission data to a local address stored in the second corresponding address storage means, and the local address changing means And transmission means for transmitting the transmission data changed by the above to the server device.

更に、コンピュータを上述した請求項1記載の発明に示した主要手段として機能させるためのプログラムを提供する(請求項5記載の発明)。   Furthermore, a program for causing a computer to function as the main means shown in the invention described in claim 1 is provided (the invention described in claim 5).

請求項2に記載の通信ネットワークシステムは、請求項1に記載の通信ネットワークシステムにおいて、
前記サーバ側ルータ装置は、前記サーバ装置より返信された返信データを受信する返信データ受信手段と、前記返信データに含まれる送信先アドレスに設定されている前記端末装置のローカルアドレスを、前記第二の対応アドレス記憶手段により記憶されているグローバルアドレスに変更するグローバルアドレス変更手段と、このグローバルアドレス変更手段により変更された返信データを前記端末側ルータ装置へ返信する返信手段とを有し、前記端末側ルータ装置は、前記返信データを受信する返信データ受信手段と、前記返信データに含まれる送信先アドレスを、前記第一の対応アドレス記憶手段により記憶されている前記端末装置のローカルアドレスに変更するローカルアドレス変更手段と、このローカルアドレス変更手段により変更された返信データを前記端末装置へ返信する返信手段と、を有することを特徴とする。
The communication network system according to claim 2 is the communication network system according to claim 1,
The server-side router device includes a reply data receiving unit that receives reply data returned from the server device, and a local address of the terminal device that is set as a transmission destination address included in the reply data. A global address changing means for changing to the global address stored by the corresponding address storage means, and a reply means for returning the reply data changed by the global address changing means to the terminal side router device. The router device on the side changes the reply data receiving means for receiving the reply data, and changes the destination address included in the reply data to the local address of the terminal device stored in the first corresponding address storage means Change by local address change means and this local address change means Characterized in that it has a return means for the return data back to the terminal device, the.

更に、コンピュータを上述した請求項2記載の発明に示した主要手段として機能させるためのプログラムを提供する(請求項6記載の発明)。   Furthermore, a program for causing a computer to function as the main means shown in the invention described in claim 2 is provided (the invention described in claim 6).

請求項3に記載の通信ネットワークシステムは、請求項1又は2記載の通信ネットワークシステムにおいて、
前記端末側ルータ装置は、前記端末装置のグローバルアドレスとローカルアドレスを対応付けるアドレス対応情報を前記サーバ側ルータ装置に送信するアドレス対応情報送信手段とを更に有し、
前記サーバ側ルータ装置の第ニの対応アドレス記憶手段は、前記アドレス対応情報送信手段により送信された前記アドレス対応情報を記憶することを特徴とする。
The communication network system according to claim 3 is the communication network system according to claim 1 or 2,
The terminal-side router device further includes address correspondence information transmitting means for transmitting address correspondence information associating a global address and a local address of the terminal device to the server-side router device,
The second correspondence address storage means of the server side router device stores the address correspondence information transmitted by the address correspondence information transmission means.

請求項4に記載の通信ネットワークシステムは、請求項1乃至3のいずれか1項に記載の通信ネットワークシステムにおいて、
前記端末側ルータ装置は、第一のネットワークへ接続する第一の接続手段と、この第一の接続手段により第一のネットワークに接続できなかった場合に、第ニのネットワークへ接続する第二の接続手段とを有し、
前記アドレス対応情報送信手段により送信されるグローバルアドレスは前記第一或いは第二のネットワークに接続するためのグローバルアドレスであることを特徴とする。
The communication network system according to claim 4 is the communication network system according to any one of claims 1 to 3,
The terminal side router device has a first connection means for connecting to the first network, and a second connection means for connecting to the second network when the first connection means fails to connect to the first network. Connecting means,
The global address transmitted by the address correspondence information transmitting means is a global address for connecting to the first or second network.

本発明によれば、ISPに接続できない、通信スループットが低下した等のネットワーク障害が発生した最中に確立している通信の接続が切れることが無く通信を継続することができる通信ネットワークシステムおよびプログラムを提供できる。   According to the present invention, a communication network system and a program capable of continuing communication without disconnection of a communication established during a network failure such as an inability to connect to an ISP or a decrease in communication throughput. Can provide.

以下、図面により本発明の実施の形態について説明する。
図1は、本発明の実施形態に係る通信ネットワークシステムの構成を示す。
この通信ネットワークシステムは、社内LANなどのネットワークN3上に設置された複数台の端末装置10…(本実施の形態を説明するためにIPアドレスを 210.150.1.1/24 … 210.150.1.254/24 とし、以下はIPアドレスのみ記載する)、端末側ルータ装置30(210.150.10.200/24)、送信先ネットワークN4に設置されたサーバ装置20(210.150.32.1/24)、サーバ側ルータ装置50(210.150.32.200/24)、端末側ルータ装置30とサーバ側ルータ装置50をつなぐ主回線ネットワークN1、DHCPサーバ装置40(210.150.10.0/24)、副回線(バックアップ回線)ネットワークN2、DHCPサーバ装置60(210.150.20.0/24)が接続されて構成される。なお、本発明の実施形態では、主回線ネットワークN1と副回線ネットワークN2の2回線のネットワークが構成されるが、それ以上の回線のネットワークで構成されてもよい。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration of a communication network system according to an embodiment of the present invention.
This communication network system includes a plurality of terminal devices 10 (installed on a network N3 such as an in-house LAN, etc. (IP addresses are 210.150.1.1/24, 210.150.1.254/24 in order to explain this embodiment) Only the IP address is described below), the terminal side router device 30 (210.150.10.200/24), the server device 20 (210.150.32.1/24) installed in the destination network N4, and the server side router device 50 (210.150.32.200). / 24), main line network N1, DHCP server apparatus 40 (210.150.10.0/24), secondary line (backup line) network N2, DHCP server apparatus 60 (210.150. 20.0 / 24) is connected. In the embodiment of the present invention, a two-line network of the main line network N1 and the sub-line network N2 is configured, but it may be configured by a network of more lines.

この通信ネットワークシステムでは、端末装置10…にて作成された送信データが端末側ルータ装置30を経由し、主回線ネットワークN1或いは副回線ネットワークN2を介してサーバ側ルータ装置50を経由し、サーバ装置20に送信される。   In this communication network system, transmission data created by the terminal devices 10... Passes through the terminal side router device 30, passes through the main line network N 1 or the sub line network N 2, and passes through the server side router device 50. 20 is transmitted.

また、この通信ネットワークシステムでは、サーバ装置20からの返信データがサーバ側ルータ装置50を経由し、主回線ネットワークN1或いは副回線ネットワークN2を介して端末側ルータ装置30を経由し、端末装置10…に返信される。   Further, in this communication network system, the reply data from the server device 20 passes through the server side router device 50, passes through the terminal side router device 30 via the main line network N1 or the sub line network N2, and passes through the terminal device 10 ... Will be replied to.

図2は、端末側ルータ装置30のハードウエア構成図である。この端末側ルータ装置30は、コンピュータであるCPU31を備えている。このCPU31は、フラッシュメモリなどの記憶部32に記憶されたプログラムに従い端末側ルータ装置30内の各部の動作を制御する。   FIG. 2 is a hardware configuration diagram of the terminal side router device 30. The terminal-side router device 30 includes a CPU 31 that is a computer. The CPU 31 controls the operation of each unit in the terminal-side router device 30 according to a program stored in the storage unit 32 such as a flash memory.

前記CPU31には、前記記憶部32をはじめ、送受信部34、この送受信部34を制御する送受信制御装置33などがバスライン35により接続される。前記送受信部34は、ネットワークN1、N2、N3に接続される。前記記憶部32は、初期設定データ記憶部32Aやアドレス変換テーブル32Bが含まれる。また、この端末側ルータ装置30からサーバ側ルータ装置50に送信される送信データ或いは受信する返信データは、CPU31が送受信制御装置33を制御することにより、送受信部34より送受信される。   The CPU 31 is connected by a bus line 35 to the storage unit 32, a transmission / reception unit 34, a transmission / reception control device 33 that controls the transmission / reception unit 34, and the like. The transmission / reception unit 34 is connected to the networks N1, N2, and N3. The storage unit 32 includes an initial setting data storage unit 32A and an address conversion table 32B. In addition, transmission data transmitted from the terminal side router device 30 to the server side router device 50 or received reply data is transmitted / received by the transmission / reception unit 34 by the CPU 31 controlling the transmission / reception control device 33.

初期設定データ記憶部32Aは図3に示すように、接続先テーブル32A(1)と、端末装置管理テーブル32A(2)からなる。接続先テーブル32A(1)は、接続先ネットワークの名前1a、接続アカウント1b、接続パスワード1cからなり、端末装置管理テーブル32A(2)は、端末側ルータ装置30の識別子ID(1d)、端末装置10のローカルアドレスと範囲1e、サーバ側ルータアドレス:ポート1fからなる。   As shown in FIG. 3, the initial setting data storage unit 32A includes a connection destination table 32A (1) and a terminal device management table 32A (2). The connection destination table 32A (1) includes a connection destination network name 1a, a connection account 1b, and a connection password 1c. The terminal device management table 32A (2) includes an identifier ID (1d) of the terminal side router device 30 and a terminal device. 10 local addresses and range 1e, and server side router address: port 1f.

接続先テーブル32A(1)には、前述の主回線ネットワークN1の名前1a、アカウント1b、パスワード1cを記憶し、副回線ネットワークN1の名前1a、アカウント1b、パスワード1cを記憶することにより、ISPに接続できない、通信スループットが低下した等のネットワーク障害等発生の際に、ネットワークの切り替えができるようになる。   In the connection destination table 32A (1), the name 1a, the account 1b, and the password 1c of the main line network N1 are stored, and the name 1a, the account 1b, and the password 1c of the sub-line network N1 are stored in the ISP. When a network failure or the like such as inability to connect or a decrease in communication throughput occurs, the network can be switched.

なお、端末装置管理テーブル32A(2)のサーバ側ルータアドレス:ポート1fでは一つのデータしか記憶されていないが、接続するサーバ装置20の数に応じて複数のデータを記憶することができる。   Note that only one piece of data is stored in the server side router address: port 1f of the terminal device management table 32A (2), but a plurality of pieces of data can be stored according to the number of server devices 20 to be connected.

また、端末装置管理テーブル32A(2)に識別子ID(1d)、ローカルアドレスと範囲1d、サーバ側ルータアドレス:ポート1fを記憶することにより、後述の識別子パケットp1を生成できるようになる。   Further, by storing the identifier ID (1d), the local address and range 1d, and the server side router address: port 1f in the terminal device management table 32A (2), an identifier packet p1 described later can be generated.

アドレス変換テーブル32Bを図4に示す。このアドレス変換テーブル32Bは、端末側ルータ識別子1d、前回回線状態3b、今回回線状態3c、ローカルアドレス1ea、主回線グローバルアドレス3ea、副回線グローバルアドレス3ebからなる。このアドレス変換テーブル32Bにより端末側ルータ装置30は、端末装置10のローカルアドレスとグローバルアドレスとの対応や、現在接続している回線は主回線なのか副回線なのかを判別することができる。なお実施例では、端末側ルータ識別子1dをCNET1としている。   The address conversion table 32B is shown in FIG. The address conversion table 32B includes a terminal side router identifier 1d, a previous line state 3b, a current line state 3c, a local address 1ea, a main line global address 3ea, and a sub line global address 3eb. From this address conversion table 32B, the terminal side router device 30 can determine the correspondence between the local address of the terminal device 10 and the global address, and whether the currently connected line is a main line or a sub line. In the embodiment, the terminal-side router identifier 1d is CNET1.

図5は、サーバ側ルータ装置50のハードウエア構成図である。このサーバ側ルータ装置30は、コンピュータであるCPU51を備えており、CPU51には、記憶部52をはじめ、送受信部54、送受信部54を制御する送受信制御装置53などがバスライン55により接続される。送受信部54は、ネットワークN1、N2、N4に接続される。前記記憶部52には初期設定データ記憶部52Aや識別子情報管理テーブル52Bが記憶される。   FIG. 5 is a hardware configuration diagram of the server side router device 50. The server-side router device 30 includes a CPU 51 that is a computer. The CPU 51 is connected to a storage unit 52, a transmission / reception unit 54, a transmission / reception control device 53 that controls the transmission / reception unit 54, and the like via a bus line 55. . The transmission / reception unit 54 is connected to the networks N1, N2, and N4. The storage unit 52 stores an initial setting data storage unit 52A and an identifier information management table 52B.

初期設定データ記憶部52Aは、図6に示すように、接続先管理テーブル52A(1)と、端末装置管理テーブル52A(2)からなる。接続先管理テーブル52A(1)は接続先ネットワークの名前1a、そのネットワークに接続するためのアカウント1b、パスワード1c及び、サーバ側ルータ装置50のIPアドレス1fa、受信ポート1fbからなり、端末装置管理テーブル52A(2)は、端末側ルータ識別子1d、端末装置10のローカルアドレスと範囲1eからなる。これにより、サーバ側ルータ装置50はネットワークN1又はN2から接続されるようになる。なお、この初期設定52Aは手動で設定してもよいし、端末側ルータ装置30等から自動で設定されるようにしてもよい。
だたし自動で設定する場合は、識別子に端末側ルータ装置30のローカルアドレスを埋め込む必要がある。
As shown in FIG. 6, the initial setting data storage unit 52A includes a connection destination management table 52A (1) and a terminal device management table 52A (2). The connection destination management table 52A (1) includes a connection destination network name 1a, an account 1b for connecting to the network, a password 1c, an IP address 1fa of the server side router device 50, and a reception port 1fb. 52A (2) includes a terminal-side router identifier 1d, a local address of the terminal device 10, and a range 1e. Thereby, the server side router apparatus 50 comes to be connected from the network N1 or N2. The initial setting 52A may be set manually or may be automatically set from the terminal side router device 30 or the like.
However, when setting automatically, it is necessary to embed the local address of the terminal side router device 30 in the identifier.

識別子管理テーブル52Bを図7に示す。この識別子管理テーブル52Bは、端末側識別子ID(1d)、ローカルアドレス1ea、グローバルアドレス3eを記憶する。この識別子管理テーブル52Bにより端末装置10のローカルアドレスとグローバルアドレスとの対応が可能となる。   The identifier management table 52B is shown in FIG. The identifier management table 52B stores a terminal-side identifier ID (1d), a local address 1ea, and a global address 3e. The identifier management table 52B enables correspondence between the local address of the terminal device 10 and the global address.

図8は、通信ネットワークシステムにおける端末装置10、端末側ルータ装置30、サーバ側ルータ装置50、サーバ装置20間の通信処理の流れを示すシーケンス図である。以下、図8について説明する。   FIG. 8 is a sequence diagram showing a flow of communication processing among the terminal device 10, the terminal side router device 30, the server side router device 50, and the server device 20 in the communication network system. Hereinafter, FIG. 8 will be described.

まず端末側ルータ装置30は、その記憶部32に初期設定データ記憶部32Aを記憶する(301)。
一方サーバ側ルータ装置50は、記憶部52に図6に示す初期設定データ記憶部52Aを記憶する(501)。
First, the terminal side router device 30 stores the initial setting data storage unit 32A in the storage unit 32 (301).
On the other hand, the server side router device 50 stores the initial setting data storage unit 52A shown in FIG. 6 in the storage unit 52 (501).

次に端末側ルータ装置30はISPに接続を行い、このISPよりグローバルアドレスを割り振られる。そしてこのISPより割り振られたグローバルアドレスを図4に示す記憶部32のアドレス変換テーブル32Bに記憶する(302)。これが本発明に係る請求項の第一の対応アドレス記憶手段である。   Next, the terminal side router device 30 connects to the ISP, and a global address is assigned by this ISP. The global address allocated by the ISP is stored in the address conversion table 32B of the storage unit 32 shown in FIG. 4 (302). This is the first corresponding address storage means in the claims according to the present invention.

次に端末側ルータ装置30は、記憶部32に記憶される初期設定データ記憶部32Aの識別子ID(1d)、ローカルアドレスと範囲1e、サーバ側ルータアドレスとポート1fを参照し、この端末側ルータ装置30の識別子1d等を含む識別子パケット(IPパケットp1)を生成し、サーバ側ルータ装置50に送信する(303)。この識別子パケットp1を図9に示す。この識別子パケットp1には識別子1dの他に、送信先アドレス1faにはサーバ側ルータ装置50のアドレスが、送信元アドレス4bには端末側ルータ装置30のアドレスが設定されており、またこのIPパケットはUDPプロトコルにより通信されるという情報、サーバ側ルータ装置の接続先ポート(例えばポート番号65432)の情報が含まれる。   Next, the terminal side router device 30 refers to the identifier ID (1d), the local address and range 1e, the server side router address and the port 1f of the initial setting data storage unit 32A stored in the storage unit 32. An identifier packet (IP packet p1) including the identifier 1d of the device 30 is generated and transmitted to the server side router device 50 (303). This identifier packet p1 is shown in FIG. In addition to the identifier 1d, the identifier packet p1 is set with the address of the server side router device 50 as the destination address 1fa and the address of the terminal side router device 30 as the source address 4b. Includes information that communication is performed using the UDP protocol, and information on a connection destination port (for example, port number 65432) of the server side router device.

この識別子パケットp1を端末側ルータ装置30からサーバ側ルータ装置50に送信することにより、サーバ側ルータ装置50は初期設定データ記憶部52Aに記憶される端末側ルータ識別子1d、ローカルアドレスと範囲1eと、識別子パケットに含まれる識別子1d、送信元アドレス4bにより、端末装置10のローカルアドレスとグローバルアドレスを対応付けることが可能になる。   By transmitting this identifier packet p1 from the terminal side router device 30 to the server side router device 50, the server side router device 50 stores the terminal side router identifier 1d, local address and range 1e stored in the initial setting data storage unit 52A. The local address and the global address of the terminal device 10 can be associated with each other by the identifier 1d and the source address 4b included in the identifier packet.

このローカルアドレスとグローバルアドレスを対応付けたテーブルをサーバ側ルータ装置50は、図7に示す識別子情報管理テーブル52Bとして記憶部52に記憶し(本発明に係る請求項の第二の対応アドレス記憶手段)、その旨端末側ルータ装置30に応答する。なおこの識別子情報管理テーブルは手動で設定してもよいし、自動で設定してもよい。ただし端末側ルータ装置30のアドレスと重複しないように留意する必要がある。   The server side router device 50 stores the table in which the local address and the global address are associated with each other in the storage unit 52 as the identifier information management table 52B illustrated in FIG. 7 (the second corresponding address storage unit according to the present invention) ), It responds to the terminal side router device 30 to that effect. This identifier information management table may be set manually or automatically. However, care must be taken not to overlap the address of the terminal side router device 30.

次に端末装置10が送信データを送信する(304)ところから説明する。
端末装置10は端末側ルータ装置30に、図10に示すIPパケットp2を送信する。このIPパケットp2の送信元アドレス4bには、端末装置10のローカルアドレスが設定されている。
Next, the terminal device 10 transmits the transmission data (304).
The terminal device 10 transmits the IP packet p2 shown in FIG. The local address of the terminal device 10 is set in the source address 4b of the IP packet p2.

このIPパケットp2を受信した端末側ルータ装置30は、記憶部32に記憶されるアドレス変換テーブル32Bを参照し、このIPパケットp2に含まれる送信元アドレス(ローカルアドレス)に対応する主回線グローバルアドレス3ea(或いは副回線グローバルアドレス3eb)に変更する。   The terminal-side router device 30 that has received this IP packet p2 refers to the address conversion table 32B stored in the storage unit 32 and refers to the main line global address corresponding to the source address (local address) included in this IP packet p2. 3ea (or sub-line global address 3eb).

そしてこの変更された図11に示すIPパケットp3を端末側ルータ装置30は、サーバ側ルータ装置50に送信する。このIPパケットp3に含まれる送信元アドレス4bには、端末装置10のグローバルアドレス(主回線グローバルアドレス3ea或いは副回線グローバルアドレス3eb)が設定されている。これにより、インターネット環境下での通信が可能となる。   Then, the terminal side router device 30 transmits the changed IP packet p3 shown in FIG. 11 to the server side router device 50. A global address (main line global address 3ea or subline global address 3eb) of the terminal device 10 is set in the source address 4b included in the IP packet p3. As a result, communication in the Internet environment becomes possible.

一方、サーバ側ルータ装置50は、端末側ルータ装置30より送信されたIPパケットp3を受信し(504)、記憶部52に記憶される図7に示す識別子情報管理テーブル52Bに基づき、受信したIPパケットp3に含まれる送信元アドレス4bのグローバルアドレスをローカルアドレスに変更し、そしてこのサーバ側ルータ装置50は、この変更された図12に示すIPパケットp4をサーバ装置20に送信する。   On the other hand, the server side router device 50 receives the IP packet p3 transmitted from the terminal side router device 30 (504), and receives the received IP packet based on the identifier information management table 52B shown in FIG. The global address of the source address 4b included in the packet p3 is changed to a local address, and the server side router device 50 transmits the changed IP packet p4 shown in FIG. 12 to the server device 20.

このIPパケットp4を受信したサーバ装置20は、要求に基づく返信データ(図13に示すIPパケットp5)をサーバ側ルータ装置50に返信する。なお、このIPパケットp5に含まれる送信先アドレス4aには、ローカルアドレスが設定されている。   The server device 20 that has received this IP packet p4 returns reply data (IP packet p5 shown in FIG. 13) based on the request to the server side router device 50. Note that a local address is set in the transmission destination address 4a included in the IP packet p5.

このIPパケットp5を受信したサーバ側ルータ装置50は、記憶部52に記憶される識別子情報管理テーブル52Bを参照し、送信先アドレス4aに設定されるローカルアドレスをグローバルアドレス3eに変更する。この変更された図14に示すIPパケットp6を端末側ルータ装置30に送信する。これによりインターネット環境下での通信が可能となる。   The server side router device 50 that has received this IP packet p5 refers to the identifier information management table 52B stored in the storage unit 52, and changes the local address set in the transmission destination address 4a to the global address 3e. The changed IP packet p6 shown in FIG. 14 is transmitted to the terminal side router device 30. This enables communication under the Internet environment.

一方IPパケットp6を受信した端末側ルータ装置30は、記憶部32に記憶されるアドレス変換テーブル32Bを参照し(305)、このIPパケットp6に含まれる送信先アドレス4aのグローバルアドレスをローカルアドレスに変更する。この変更された図15に示すIPパケットp7を端末装置10に送信する。   On the other hand, the terminal-side router device 30 that has received the IP packet p6 refers to the address conversion table 32B stored in the storage unit 32 (305), and uses the global address of the destination address 4a included in the IP packet p6 as a local address. change. The changed IP packet p7 shown in FIG. 15 is transmitted to the terminal device 10.

以上、図8にて各装置間の処理の流れについて説明した。次に、主回線ネットワークN1と副回線ネットワークN2が切り替わる場合について、端末側ルータ装置30とサーバ側ルータ装置50の処理を、フローチャート図16乃至図19をもとに説明する。   The flow of processing between the devices has been described above with reference to FIG. Next, the processing of the terminal side router device 30 and the server side router device 50 when the main line network N1 and the sub line network N2 are switched will be described with reference to the flowcharts of FIGS.

図16は端末側ルータ装置30の処理の流れを示すフローチャートである。図17は端末側ルータ装置30の処理の一部である接続処理ABについての処理の流れを示すフローチャートである。   FIG. 16 is a flowchart showing a processing flow of the terminal side router device 30. FIG. 17 is a flowchart showing a process flow of the connection process AB which is a part of the process of the terminal side router device 30.

図16について説明する。まず初期設定にて初期設定データ記憶部32Aが記憶部32に記憶される(ステップA1、図8の301)。
次にグローバルアドレスを取得するためにISPに接続処理ABを行う(ステップAB、図8の302)。この接続処理ABについては後述する。
FIG. 16 will be described. First, in the initial setting, the initial setting data storage unit 32A is stored in the storage unit 32 (step A1, 301 in FIG. 8).
Next, connection processing AB is performed on the ISP in order to obtain a global address (step AB, 302 in FIG. 8). This connection processing AB will be described later.

この接続処理ABの後、端末装置10はIPパケットp2のデータ送信を行い、このIPパケットp2を受信したか否かが判断される(ステップA2、図8の303)。ここで受信したと判断されると(ステップA2(Yes))、記憶部32に記憶されるアドレス変換テーブル32Bの今回回線状態3cが“1”か“2”(“1”ではない)かを判別する(ステップA3)。   After this connection process AB, the terminal apparatus 10 transmits data of the IP packet p2, and determines whether or not the IP packet p2 has been received (step A2, 303 in FIG. 8). If it is determined that it has been received (step A2 (Yes)), it is determined whether the current line state 3c of the address conversion table 32B stored in the storage unit 32 is “1” or “2” (not “1”). It discriminate | determines (step A3).

ここで、今回回線状態3cが“1”であった場合(ステップA3(Yes))は、主回線ネットワークN1に接続することを意味するので、受信したIPパケットp2に含まれる送信元アドレス4bを対応する主回線グローバルアドレス3eaに変更する(ステップA4)。今回回線状態3cが“2”であった場合(ステップA3(No))は、副回線ネットワークN2に接続することを意味するので、受信したIPパケットp2に含まれる送信元アドレス4bを対応する副回線グローバルアドレス3ebに変更する(ステップA5)。   Here, if the current line state 3c is “1” (step A3 (Yes)), it means that the connection is made to the main line network N1, and therefore the source address 4b included in the received IP packet p2 is changed. The corresponding main line global address 3ea is changed (step A4). If the line state 3c is “2” this time (step A3 (No)), it means that the line is connected to the sub-line network N2, and therefore the source address 4b included in the received IP packet p2 is associated with the corresponding sub-line 4b. The line global address is changed to 3eb (step A5).

そして、このIPパケットp3をサーバ側ルータ装置50に送信する(ステップA6、図8の304)。そして、サーバ側ルータ装置50から返信データ(IPパケットp6)を受信した場合には(ステップA7(Yes)、記憶部32に含まれるアドレス変換テーブル32Bを参照し、IPパケットp6に含まれる送信先アドレス4aのグローバルアドレスを対応するローカルアドレスに変更する(ステップA8、図8の305)。   Then, this IP packet p3 is transmitted to the server side router device 50 (step A6, 304 in FIG. 8). When the reply data (IP packet p6) is received from the server side router device 50 (step A7 (Yes)), the address conversion table 32B included in the storage unit 32 is referred to, and the transmission destination included in the IP packet p6 The global address of the address 4a is changed to the corresponding local address (step A8, 305 in FIG. 8).

そして、この変更されたIPパケットp7を端末装置10に送信する(ステップA9)。次に図17の接続処理(ステップAB)について説明する。
まず、ISPに接続をする際に、初期化処理として、記憶部32のアドレス変換テーブル32Bの今回回線状態3cに“0”を設定し(ステップB1)、前回回線状態3bに“0”を設定する(ステップB2)。
Then, the changed IP packet p7 is transmitted to the terminal device 10 (step A9). Next, the connection process (step AB) in FIG. 17 will be described.
First, when connecting to the ISP, as initialization processing, “0” is set in the current line state 3c of the address conversion table 32B of the storage unit 32 (step B1), and “0” is set in the previous line state 3b. (Step B2).

次に主回線ネットワークN1に接続ができるか(或いは通信スループットが低下したか)否かを判別する(ステップB3)。ここで主回線ネットワークN1に接続できた場合(ステップB3(Yes))、アドレス変換テーブル32Bの今回回線状態3cに主回線ネットワークN1を意味する“1”を設定する(ステップB4)。そして、前回線状態3bと今回回線状態3cの比較を行い、同じであれば(ステップB5(Yes))、アドレス変換テーブル32Bの前回回線状態3bに“1”を設定する(ステップB11)。なお、初めて接続する際は必ずステップB5(No)となり、後述するステップB6以降が実施される。   Next, it is determined whether or not connection to the main line network N1 can be established (or communication throughput has decreased) (step B3). If the connection to the main line network N1 is established (step B3 (Yes)), “1” indicating the main line network N1 is set in the current line state 3c of the address conversion table 32B (step B4). Then, the previous line state 3b and the current line state 3c are compared. If they are the same (step B5 (Yes)), “1” is set in the previous line state 3b of the address conversion table 32B (step B11). When connecting for the first time, step B5 (No) is always performed, and step B6 and subsequent steps described later are performed.

一方、前回線状態3bと今回回線状態3cの比較を行い、同じでなければ(ステップB5(No))、ISPより端末装置10及び端末側ルータ装置30のグローバルアドレスを取得し(ステップB6)、この取得した端末装置10のグローバルアドレスをアドレス変換テーブル32Bの主回線グローバルアドレス3eaに設定する(ステップB7)。なお、端末側ルータ装置30のグローバルアドレスは、前述の識別子パケットp1としてサーバ側ルータ装置50に送信される。   On the other hand, the previous line state 3b and the current line state 3c are compared. If they are not the same (step B5 (No)), the global addresses of the terminal device 10 and the terminal side router device 30 are acquired from the ISP (step B6). The acquired global address of the terminal device 10 is set to the main line global address 3ea of the address conversion table 32B (step B7). The global address of the terminal side router device 30 is transmitted to the server side router device 50 as the identifier packet p1.

そして、記憶部32に記憶される初期設定データ記憶部32Aよりサーバ側ルータアドレス及びポート番号1fを取得し(ステップB8)、次に端末側ルータ識別子情報1d等を識別子パケット(IPパケットp1)に含めサーバ側ルータ装置50に送信し(ステップB9)、サーバ側ルータ装置50からの応答を受信し(ステップB10)、アドレス変換テーブル32Bの前回回線状態1bに“1”を設定し(ステップB11)、本接続処理ABを終了する。   Then, the server side router address and the port number 1f are acquired from the initial setting data storage unit 32A stored in the storage unit 32 (step B8), and the terminal side router identifier information 1d and the like are then used as an identifier packet (IP packet p1). The server side router device 50 is transmitted (step B9), the response from the server side router device 50 is received (step B10), and “1” is set in the previous line state 1b of the address translation table 32B (step B11). The connection process AB is terminated.

ステップB3(No)の場合、すなわち主回線ネットワークN1に接続ができるか否かを判別し主回線ネットワークN1に接続できなかった場合は、副回線ネットワークN2に接続ができるか(或いは通信スループットが低下したか)否かを判別する(ステップB12)。ここで副回線ネットワークN2に接続できた場合(ステップB12(Yes))、記憶部32に記憶されるアドレス変換テーブル32Bの今回回線状態3cに副回線ネットワークN2を意味する“2”を設定する(ステップB13)。   In the case of step B3 (No), that is, whether or not connection to the main line network N1 is possible and connection to the main line network N1 is not possible, connection to the sub line network N2 is possible (or communication throughput decreases). It is determined whether or not (step B12). If connection to the sub-line network N2 is established (step B12 (Yes)), “2” meaning the sub-line network N2 is set in the current line state 3c of the address conversion table 32B stored in the storage unit 32 ( Step B13).

ステップB14(Yes)の場合、すなわち前回線状態3bと今回回線状態3cの比較を行い、同じであれば、アドレス変換テーブル32Bの前回回線状態3bに“2”を設定する(ステップB20)。一方、前回線状態3bと今回回線状態3cの比較を行い、同じでなければ(ステップB14(No))、ISPより端末装置10及び端末側ルータ装置30のグローバルアドレスを取得し(ステップB15)、この取得した端末装置10のグローバルアドレスをアドレス変換テーブル32Bの副回線グローバルアドレス3ebに設定する(ステップB16)。なお、端末側ルータ装置30のグローバルアドレスは、前述の識別子パケットp1としてサーバ側ルータ装置50に送信される。   In the case of Step B14 (Yes), that is, the previous line state 3b and the current line state 3c are compared. If they are the same, “2” is set in the previous line state 3b of the address conversion table 32B (Step B20). On the other hand, the previous line state 3b and the current line state 3c are compared. If they are not the same (step B14 (No)), the global addresses of the terminal device 10 and the terminal side router device 30 are acquired from the ISP (step B15). The acquired global address of the terminal device 10 is set to the sub-line global address 3eb of the address conversion table 32B (step B16). The global address of the terminal side router device 30 is transmitted to the server side router device 50 as the identifier packet p1.

そしてステップB17にて、記憶部32に記憶される初期設定データ記憶部32Aよりサーバ側ルータアドレス及びポート番号1fを取得し、次に端末側ルータ識別子情報1d等を識別子パケット(IPパケットp1)に含めサーバ側ルータ装置50に送信し(ステップB18)、サーバ側ルータ装置50からの応答を受信し(ステップB19)、アドレス変換テーブル32Bの前回回線状態1bに“2”を設定し(ステップB20)、本接続処理ABを終了する。   In step B17, the server side router address and port number 1f are obtained from the initial setting data storage unit 32A stored in the storage unit 32, and then the terminal side router identifier information 1d and the like are used as an identifier packet (IP packet p1). The server side router device 50 is transmitted (step B18), the response from the server side router device 50 is received (step B19), and “2” is set in the previous line state 1b of the address translation table 32B (step B20). The connection process AB is terminated.

以上で端末側ルータ装置30の動作のフローチャートによる説明が終了した。これにより主回線ネットワークN1と副回線のネットワークN2が障害により相互に切り替わったとしても、端末側ルータ装置は今どちらのネットワークに接続しているのか、前回どちらのネットワークに接続しているのかを把握することができ、ローカルアドレスからグローバルアドレスの変換や、グローバルアドレスからローカルアドレスの変換を正しく行え、ひいてはISPに接続できない、通信スループットが低下した等のネットワーク障害が発生した最中に確立している通信の接続が切れることが無く通信を継続することができるようになる。   This completes the description of the operation of the terminal side router device 30 according to the flowchart. As a result, even if the main line network N1 and the sub-line network N2 are switched to each other due to a failure, it is possible to grasp which network the terminal side router device is currently connected to and which network it was connected to last time. Established during the occurrence of a network failure, such as a local address to global address translation or a global address to local address translation that can not be connected to an ISP, or a reduced communication throughput. Communication can be continued without disconnecting communication.

次に、サーバ側ルータ装置50の動作を図18乃至19によるフローチャートにより説明する。
サーバ側ルータ装置50は、まず記憶部52に初期設定データ記憶部52Aを記憶する(ステップC1、図8の501)。この初期設定データ記憶部52Aに基づきISPに接続を行い(ステップC2、図8の502)、応答を受信する(ステップC3)。
Next, the operation of the server side router device 50 will be described with reference to the flowcharts of FIGS.
The server side router device 50 first stores the initial setting data storage unit 52A in the storage unit 52 (step C1, 501 in FIG. 8). Based on the initial setting data storage unit 52A, connection is made to the ISP (step C2, 502 in FIG. 8), and a response is received (step C3).

ここでステップC4(図8の503)にて、前述の端末側ルータ装置30により送信された識別子パケット(IPパケットp1)を受信したか否かを判別し、受信したと判別された場合は(ステップC4(Yes))、初期設定データ記憶部52A2から識別子1dに対応するローカルアドレスと範囲1eを検索し(ステップC5)、受信した識別子パケット(IPパケットp1)に含まれる送信元アドレス4bに基づき識別子情報管理テーブル52Bを作成する(ステップC6)。   Here, in step C4 (503 in FIG. 8), it is determined whether or not the identifier packet (IP packet p1) transmitted by the terminal-side router device 30 has been received. Step C4 (Yes)), the local address and range 1e corresponding to the identifier 1d are retrieved from the initial setting data storage unit 52A2 (Step C5), and based on the source address 4b included in the received identifier packet (IP packet p1). The identifier information management table 52B is created (step C6).

そしてステップC7にて、識別子パケット(IPパケットp1)を受信した旨を端末側ルータ装置30へ応答し、送受信処理CDに続く(ステップCD)。この送受信処理CDについて図19に示す。   In step C7, the terminal side router device 30 is responded to the fact that the identifier packet (IP packet p1) has been received, and the transmission / reception process CD is continued (step CD). This transmission / reception processing CD is shown in FIG.

ステップD1にて端末側ルータ装置30より送信データ(IPパケットp3)を受信したか否かを判別し、受信したと判別された場合(ステップD1(Yes)、図8の504)は、識別子管理テーブル52Bのローカルアドレス1eaをIPパケットの送信元アドレスに変更し(ステップD2)、IPパケットp5をサーバ装置20へ送信する(ステップD3)。   In step D1, it is determined whether or not transmission data (IP packet p3) has been received from the terminal side router device 30, and if it is determined that it has been received (step D1 (Yes), 504 in FIG. 8), identifier management is performed. The local address 1ea in the table 52B is changed to the source address of the IP packet (step D2), and the IP packet p5 is transmitted to the server device 20 (step D3).

それからステップD4にてサーバ装置20から返信データ(IPパケットp5)を受信したか否かを判別し、受信したと判別された場合(ステップD4(Yes))は、記憶部52に記憶される識別子管理テーブル52Bに記憶されるグローバルアドレス3eをIPパケットの送信先アドレスに設定し(ステップD5)、端末側ルータ装置30にIPパケットp6を送信し(ステップD6)、この送受信処理CDを終了する。   Then, in step D4, it is determined whether or not reply data (IP packet p5) has been received from the server device 20. If it is determined that it has been received (step D4 (Yes)), the identifier stored in the storage unit 52 is determined. The global address 3e stored in the management table 52B is set as the destination address of the IP packet (step D5), the IP packet p6 is transmitted to the terminal side router device 30 (step D6), and this transmission / reception process CD is terminated.

これにより、ISPに接続できない、通信スループットが低下した等のネットワーク障害が発生した最中に確立している通信の接続が切れることが無く通信を継続することができる通信ネットワークシステムおよびプログラムを提供できる。   As a result, it is possible to provide a communication network system and a program capable of continuing communication without disconnection of communication established during the occurrence of a network failure such as inability to connect to an ISP or a decrease in communication throughput. .

なお、本実施の形態では、端末装置10のグローバルアドレスとローカルアドレスはサーバ側ルータ装置の記憶部52に記憶される識別子情報管理テーブル52Bにより変換され、この識別子管理テーブル52Bは初期設定データ記憶部52Aのローカルアドレスと範囲1eに基づき作成されるが、このローカルアドレスと範囲1eは、端末装置10と同一のローカルアドレスであった場合は、重複しないように設定をする必要がある。もっとも初期設定されるローカルアドレス1eは、サーバ側ルータ装置50内でユニークに設定されていればよく、必ずしも端末装置10のローカルアドレスと同一である必要はない。さらに初期設定データ記憶部32A、52Aは予め設定されている必要はなく、必要な時点で生成されていればよい。   In the present embodiment, the global address and local address of the terminal device 10 are converted by the identifier information management table 52B stored in the storage unit 52 of the server side router device, and the identifier management table 52B is converted into the initial setting data storage unit. The local address and the range 1e are created based on the local address 52A and the range 1e. When the local address and the range 1e are the same local address as that of the terminal device 10, it is necessary to set the local address so as not to overlap. However, the local address 1e that is initially set only needs to be uniquely set in the server side router device 50, and is not necessarily the same as the local address of the terminal device 10. Furthermore, the initial setting data storage units 32A and 52A do not need to be set in advance, and may be generated at a necessary time.

なお、前記実施形態において記載した端末側ルータ装置30、サーバ側ルータ装置50の処理、すなわち図16乃至19のフローチャートに示す各処理は、何れもコンピュータが読み取り可能なプログラムとして、記憶部32、記憶部52に記憶されているが、その他に、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記録媒体に記憶してもよく、更に、プログラムの一部若しくは全部をサーバ装置やクライアント装置に備えられた記録媒体に記憶し、ネットワークを介して受信して読み取る構成にしてもよい。   Note that the processing of the terminal-side router device 30 and the server-side router device 50 described in the above-described embodiment, that is, each processing shown in the flowcharts of FIGS. It is stored in the unit 52, but in addition to recording media such as memory cards (ROM cards, RAM cards, etc.), magnetic disks (floppy disks, hard disks, etc.), optical disks (CD-ROMs, DVDs, etc.), semiconductor memories, etc. Further, a part or all of the program may be stored in a recording medium provided in the server device or the client device, and may be received and read via a network.

なお、本願発明は、前記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、これらの構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。   Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment or some constituent features are combined, the problem described in the column of the problem to be solved by the invention can be solved. When the effect described in the column of effect is obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.

本発明の実施形態に係る通信ネットワークシステムの構成を示す図。The figure which shows the structure of the communication network system which concerns on embodiment of this invention. 端末側ルータ装置30のハードウエア構成図。The hardware block diagram of the terminal side router apparatus 30. FIG. 端末側ルータ装置30の記憶部32に記憶される初期設定データ記憶部32Aを示す図。The figure which shows 32A of initial setting data memorize | stored in the memory | storage part 32 of the terminal side router apparatus 30. FIG. 端末側ルータ装置30の記憶部32に記憶される初期設定データ32Bを示す図。The figure which shows the initial setting data 32B memorize | stored in the memory | storage part 32 of the terminal side router apparatus 30. FIG. サーバ側ルータ装置50のハードウエア構成図。The hardware block diagram of the server side router apparatus 50. FIG. サーバ側ルータ装置50の記憶部52に記憶される初期設定データ記憶部52Aを示す図。The figure which shows 52 A of initialization data memorize | stored in the memory | storage part 52 of the server side router apparatus 50. FIG. サーバ側ルータ装置50の記憶部52に記憶される識別子情報管理テーブル52Bを示す図。The figure which shows the identifier information management table 52B memorize | stored in the memory | storage part 52 of the server side router apparatus 50. FIG. 通信ネットワークシステムの装置間のデータフロー。Data flow between devices in a communication network system. 端末側ルータ装置30からサーバ側ルータ装置50に送信される識別子パケットに係るIPパケットを示す図。The figure which shows the IP packet which concerns on the identifier packet transmitted to the server side router apparatus 50 from the terminal side router apparatus 30. FIG. 端末装置10から端末側ルータ装置30に送信されるIPパケットを示す図。The figure which shows the IP packet transmitted to the terminal side router apparatus 30 from the terminal device 10. FIG. 端末側ルータ装置30からサーバ側ルータ装置50に送信されるIPパケットを示す図。The figure which shows the IP packet transmitted to the server side router apparatus 50 from the terminal side router apparatus 30. FIG. サーバ側ルータ装置50からサーバ装置20に送信されるIPパケットを示す図。The figure which shows the IP packet transmitted to the server apparatus 20 from the server side router apparatus 50. サーバ装置20からサーバ側ルータ装置50に送信されるIPパケットを示す図。The figure which shows the IP packet transmitted to the server side router apparatus 50 from the server apparatus 20. FIG. サーバ側ルータ装置50から端末側ルータ装置30に送信されるIPパケットを示す図。The figure which shows the IP packet transmitted to the terminal side router apparatus 30 from the server side router apparatus 50. FIG. 端末側ルータ装置30から端末装置10に送信されるIPパケットを示す図。The figure which shows the IP packet transmitted to the terminal device 10 from the terminal side router apparatus 30. FIG. 端末側ルータ装置30の処理を示すフローチャート。5 is a flowchart showing processing of the terminal side router device 30. 端末側ルータ装置30の接続処理ABを示すフローチャート。The flowchart which shows the connection process AB of the terminal side router apparatus 30. FIG. サーバ側ルータ装置50の処理を示すフローチャート。The flowchart which shows the process of the server side router apparatus 50. FIG. サーバ側ルータ装置50の送受信処理CDを示すフローチャート。The flowchart which shows the transmission / reception process CD of the server side router apparatus 50. FIG.

符号の説明Explanation of symbols

10 …端末装置
20 …サーバ装置
30 …端末側ルータ装置
50 …サーバ側ルータ装置
31、51 …CPU
32、52 …記憶部
32A、32A(1)、32A(2)、52A(1)、52A(2)、…初期設定データ記憶部
32B …アドレス変換テーブル
52B …識別子情報管理テーブル
33、53 …送受信制御装置
34、54 …送受信部
35、55 …バスライン
40 …DHCPサーバ装置1
60 …DHCPサーバ装置2
N1、N2、N3、N4 …ネットワーク
p1、p2、p3、p4、p5、p6、p7 …IPパケット
DESCRIPTION OF SYMBOLS 10 ... Terminal device 20 ... Server device 30 ... Terminal side router device 50 ... Server side router device 31, 51 ... CPU
32, 52 ... storage unit 32A, 32A (1), 32A (2), 52A (1), 52A (2), ... initial setting data storage unit 32B ... address conversion table 52B ... identifier information management table 33, 53 ... transmission / reception Control device 34, 54 ... Transmission / reception unit 35, 55 ... Bus line 40 ... DHCP server device 1
60: DHCP server device 2
N1, N2, N3, N4 ... Network p1, p2, p3, p4, p5, p6, p7 ... IP packet

Claims (6)

端末装置とサーバ装置が夫々端末側ルータ装置とサーバ側ルータ装置とを介してインターネットにより接続される通信ネットワークシステムであって、
前記端末側ルータ装置は、
前記端末装置のローカルアドレスとグローバルアドレスを対応付けて記憶する第一の対応アドレス記憶手段と、
前記端末装置から前記サーバ装置への送信データを受信する送信データ受信手段と、
前記送信データに含まれる送信元アドレスに設定されている前記端末装置のローカルアドレスを、前記第一の対応アドレス記憶手段に記憶されているグローバルアドレスに変更するグローバルアドレス変更手段と、
このグローバルアドレス変更手段により変更された送信データを前記サーバ側ルータ装置へ送信する送信手段とを有し、
前記サーバ側ルータ装置は、
前記端末装置のグローバルアドレスとローカルアドレスを対応付けて記憶する第二の対応アドレス記憶手段と、
前記送信手段より送信された送信データを受信する送信データ受信手段と、
前記送信データに含まれる送信元アドレスに設定されている前記端末装置のグローバルアドレスを、前記第二の対応アドレス記憶手段に記憶されているローカルアドレスに変更するローカルアドレス変更手段と、
このローカルアドレス変更手段により変更された送信データを前記サーバ装置に送信する送信手段と、
を有する通信ネットワークシステム。
A communication network system in which a terminal device and a server device are connected by the Internet via a terminal side router device and a server side router device, respectively.
The terminal-side router device is
First corresponding address storage means for storing a local address and a global address of the terminal device in association with each other;
Transmission data receiving means for receiving transmission data from the terminal device to the server device;
Global address changing means for changing a local address of the terminal device set as a source address included in the transmission data to a global address stored in the first corresponding address storage means;
Transmission means for transmitting the transmission data changed by the global address changing means to the server side router device,
The server side router device is:
Second corresponding address storage means for storing the global address and local address of the terminal device in association with each other;
Transmission data receiving means for receiving transmission data transmitted from the transmission means;
Local address changing means for changing the global address of the terminal device set in the transmission source address included in the transmission data to a local address stored in the second corresponding address storage means;
Transmitting means for transmitting the transmission data changed by the local address changing means to the server device;
A communication network system.
前記サーバ側ルータ装置は、
前記サーバ装置より返信された返信データを受信する返信データ受信手段と、
前記返信データに含まれる送信先アドレスに設定されている前記端末装置のローカルアドレスを、前記第二の対応アドレス記憶手段により記憶されているグローバルアドレスに変更するグローバルアドレス変更手段と、
このグローバルアドレス変更手段により変更された返信データを前記端末側ルータ装置へ返信する返信手段とを有し、
前記端末側ルータ装置は、
前記返信データを受信する返信データ受信手段と、
前記返信データに含まれる送信先アドレスを、前記第一の対応アドレス記憶手段により記憶されている前記端末装置のローカルアドレスに変更するローカルアドレス変更手段と、
このローカルアドレス変更手段により変更された返信データを前記端末装置へ返信する返信手段と、
を有することを特徴とする請求項1記載の通信ネットワークシステム。
The server side router device is:
Reply data receiving means for receiving reply data returned from the server device;
A global address changing means for changing a local address of the terminal device set as a transmission destination address included in the reply data to a global address stored by the second corresponding address storage means;
A reply means for replying the reply data changed by the global address changing means to the router device on the terminal side,
The terminal-side router device is
Reply data receiving means for receiving the reply data;
Local address changing means for changing the destination address included in the reply data to the local address of the terminal device stored in the first corresponding address storage means;
A reply means for replying the reply data changed by the local address changing means to the terminal device;
The communication network system according to claim 1, further comprising:
前記端末側ルータ装置は、前記端末装置のグローバルアドレスとローカルアドレスを対応付けるアドレス対応情報を前記サーバ側ルータ装置に送信するアドレス対応情報送信手段とを更に有し、
前記サーバ側ルータ装置の第二の対応アドレス記憶手段は、
前記アドレス対応情報送信手段により送信された前記アドレス対応情報を記憶することを特徴とする請求項1又は2記載の通信ネットワークシステム。
The terminal-side router device further includes address correspondence information transmitting means for transmitting address correspondence information associating a global address and a local address of the terminal device to the server-side router device,
The second corresponding address storage means of the server side router device,
3. The communication network system according to claim 1, wherein the address correspondence information transmitted by the address correspondence information transmission means is stored.
前記端末側ルータ装置は、
第一のネットワークへ接続する第一の接続手段と、
この第一の接続手段により第一のネットワークに接続できなかった場合に、第ニのネットワークへ接続する第二の接続手段とを有し、
前記アドレス対応情報送信手段により送信されるグローバルアドレスは前記第一或いは第二のネットワークに接続するためのグローバルアドレスであることを特徴とする請求項1乃至3のいずれか1項に記載の通信ネットワークシステム。
The terminal-side router device is
A first connection means for connecting to a first network;
A second connection means for connecting to the second network when the first connection means fails to connect to the first network;
The communication network according to any one of claims 1 to 3, wherein the global address transmitted by the address correspondence information transmitting means is a global address for connecting to the first or second network. system.
端末装置とサーバ装置が夫々端末側ルータ装置とサーバ側ルータ装置とを介してインターネットにより接続される通信ネットワークシステムにおける前記端末側ルータ装置のコンピュータを、
前記端末装置のローカルアドレスとグローバルアドレスを対応付けて第一の対応アドレス記憶手段へ記憶する手段、
前記送信データに含まれる送信元アドレスに設定されている前記端末装置のローカルアドレスを、前記第一の対応アドレス記憶手段により記憶されるグローバルアドレスに変更するグローバルアドレス変更手段、
このグローバルアドレス変更手段により変更された送信データを前記サーバ側ルータ装置へ送信する送信手段、として機能させ
前記サーバ側ルータ装置のコンピュータを、
前記端末装置のグローバルアドレスとローカルアドレスを対応付けて第二の対応アドレス記憶手段へ記憶する手段、
前記送信手段より送信された送信データを受信する送信データ受信手段、
前記送信データに含まれる送信元アドレスに設定されている前記端末装置のグローバルアドレスを、前記第二の対応アドレス記憶手段に記憶されているローカルアドレスに変更するローカルアドレス変更手段、
このローカルアドレス変更手段により変更された送信データを前記サーバ装置に送信する送信手段、
として機能させるようにしたコンピュータ読み込み可能なプログラム。
A computer of the terminal-side router device in a communication network system in which the terminal device and the server device are connected via the Internet via the terminal-side router device and the server-side router device, respectively.
Means for associating a local address and a global address of the terminal device and storing them in a first corresponding address storage means;
Global address changing means for changing a local address of the terminal device set as a transmission source address included in the transmission data to a global address stored by the first corresponding address storage means;
A function of the transmission data changed by the global address changing means as transmitting means for transmitting to the server side router apparatus, and causing the computer of the server side router apparatus to
Means for associating a global address and a local address of the terminal device and storing them in a second corresponding address storage means;
Transmission data receiving means for receiving transmission data transmitted from the transmission means;
Local address changing means for changing the global address of the terminal device set in the transmission source address included in the transmission data to a local address stored in the second corresponding address storage means;
Transmitting means for transmitting the transmission data changed by the local address changing means to the server device;
A computer-readable program designed to function as a computer.
前記サーバ側ルータ装置のコンピュータを、
前記サーバ装置より返信された返信データを受信する返信データ受信手段、
前記返信データに含まれる送信先アドレスに設定されている前記端末装置のローカルアドレスを、前記第二の対応アドレス記憶手段に記憶されているグローバルアドレスに変更するグローバルアドレス変更手段、
このグローバルアドレス変更手段により変更された返信データを前記端末側ルータ装置へ返信する返信手段として機能させ、
前記端末側ルータ装置のコンピュータを、
前記返信データを受信する返信データ受信手段、
前記返信データに含まれる送信先アドレスを、前記第一の対応アドレス記憶手段に記憶されている前記端末装置のローカルアドレスに変更するローカルアドレス変更手段、
このローカルアドレス変更手段により変更された返信データを前記端末装置へ返信する返信手段、
として機能させるようにした請求項5に記載のコンピュータ読み込み可能なプログラム。
The server side router device computer,
Reply data receiving means for receiving reply data returned from the server device;
Global address changing means for changing a local address of the terminal device set as a transmission destination address included in the reply data to a global address stored in the second corresponding address storage means;
The reply data changed by the global address changing means is made to function as a reply means for returning to the terminal side router device,
A computer of the terminal side router device,
Reply data receiving means for receiving the reply data;
Local address changing means for changing a destination address included in the reply data to a local address of the terminal device stored in the first corresponding address storage means;
Reply means for replying the reply data changed by the local address changing means to the terminal device,
The computer-readable program according to claim 5, wherein the computer-readable program is made to function as:
JP2007111565A 2007-04-20 2007-04-20 Communication network system and program Pending JP2008271203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007111565A JP2008271203A (en) 2007-04-20 2007-04-20 Communication network system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007111565A JP2008271203A (en) 2007-04-20 2007-04-20 Communication network system and program

Publications (1)

Publication Number Publication Date
JP2008271203A true JP2008271203A (en) 2008-11-06

Family

ID=40050120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007111565A Pending JP2008271203A (en) 2007-04-20 2007-04-20 Communication network system and program

Country Status (1)

Country Link
JP (1) JP2008271203A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2180378A2 (en) 2008-10-21 2010-04-28 Konica Minolta Business Technologies, Inc. Image formation apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115219A (en) * 1998-09-30 2000-04-21 Oki Electric Ind Co Ltd Lan connection network with line managing function
JP2007074059A (en) * 2005-09-05 2007-03-22 Ntt Data Corp Communication support apparatus, system, communication method, and computer program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115219A (en) * 1998-09-30 2000-04-21 Oki Electric Ind Co Ltd Lan connection network with line managing function
JP2007074059A (en) * 2005-09-05 2007-03-22 Ntt Data Corp Communication support apparatus, system, communication method, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2180378A2 (en) 2008-10-21 2010-04-28 Konica Minolta Business Technologies, Inc. Image formation apparatus

Similar Documents

Publication Publication Date Title
US7518987B2 (en) Mechanisms for providing connectivity in NAT redundant/fail-over scenarios in unshared address-space
TWI448131B (en) Failover in a host concurrently supporting multiple virtual ip addresses across multiple adapters
US7139926B1 (en) Stateful failover protection among routers that provide load sharing using network address translation (LSNAT)
US8717884B2 (en) Address-sharing system
JP4411222B2 (en) Network, network terminal device, IP address management method used therefor, and program thereof
US20050066035A1 (en) Method and apparatus for connecting privately addressed networks
JP3688149B2 (en) Packet relay apparatus and packet relay method
US10574570B2 (en) Communication processing method and apparatus
JP2003298635A (en) Source address selection system, router equipment, communication node and source address selection method
RU2517312C2 (en) Link state identifier conflict resolution
US20140032782A1 (en) Method and apparatus for route selection of host in multihoming site
JP2008225644A (en) Gateway device, load balancing method for gateway device and load balancing program of gateway device
US9697173B2 (en) DNS proxy service for multi-core platforms
US8291111B1 (en) Responding to a DHCPLEASEQUERY message
JP6445408B2 (en) Communication system and setting method
JP2008118577A (en) Redundant method in communication network and router suitable for the method
US10999151B2 (en) Apparatus, system, and method for topology discovery across geographically redundant gateway devices
JP2008271203A (en) Communication network system and program
US8891518B2 (en) Routing device and method of translating addresses in cascade in a network
JP4365869B2 (en) ROUTE INFORMATION CHANGE METHOD, ROUTE INFORMATION CHANGE DEVICE, AND ROUTE INFORMATION CHANGE PROGRAM
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
JP2006054766A (en) Control data sharing method in redundant configuration network system
JP2010157857A (en) Vpn connection device, packet control method, and program
JP5506739B2 (en) Address translation device and log reduction device
JP2006042044A (en) Tunneling method, device, its program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110708

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110809

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120110