JP2007281905A - Nat management system - Google Patents

Nat management system Download PDF

Info

Publication number
JP2007281905A
JP2007281905A JP2006105853A JP2006105853A JP2007281905A JP 2007281905 A JP2007281905 A JP 2007281905A JP 2006105853 A JP2006105853 A JP 2006105853A JP 2006105853 A JP2006105853 A JP 2006105853A JP 2007281905 A JP2007281905 A JP 2007281905A
Authority
JP
Japan
Prior art keywords
health check
packet
address
time
communication
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.)
Granted
Application number
JP2006105853A
Other languages
Japanese (ja)
Other versions
JP4796883B2 (en
Inventor
Koji Takeuchi
功治 竹内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2006105853A priority Critical patent/JP4796883B2/en
Publication of JP2007281905A publication Critical patent/JP2007281905A/en
Application granted granted Critical
Publication of JP4796883B2 publication Critical patent/JP4796883B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically set the updating interval of a NAT table which is optimum for a terminal apparatus even when a communication content is encrypted or an unspecified number of NAT devices exist. <P>SOLUTION: A portable terminal 1 transmits a health check signal to a GW server, by which the GW server 3 confirms a normality at prescribed health check interval in a non-communication time period. When the health check signal interval exceeds the registration address holding time of the NAT table 4 so as to fail the exchange of a communication packet with the portable terminal, the GW server records information which indicates a communication packet time from a health check signal reply time to a communication time, and adds it to the health check signal of a reply when the recording exists when the subsequent health check signal is returned. The portable terminal changes the health check signal interval in response to the content of the reply. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、IPアドレス形式の異なる2つのネットワーク間の通信におけるアドレス変換の管理に関する。   The present invention relates to management of address translation in communication between two networks having different IP address formats.

IPアドレス形式の異なる2つのネットワーク間で通信を行なう場合、送信元ネットワークのIPアドレス形式のIPアドレスに対し、送信先ネットワークのIPアドレス形式のIPアドレスを払い出し、双方のアドレスを管理テーブルで組みとして管理し、ネットワークアドレスのIPアドレス変換を行なうNAT(Network Address Translation)装置が設けられる(例えば、特許文献1参照)。   When communicating between two networks having different IP address formats, the IP address format IP address of the transmission destination network is assigned to the IP address format IP address of the transmission source network, and both addresses are grouped in the management table. A NAT (Network Address Translation) device that manages and converts IP addresses of network addresses is provided (see, for example, Patent Document 1).

NAT装置には、アプリケーションレイヤに記述されたIPアドレスの変換を行なうために、送信元形式のIPアドレスに対する送信先形式のIPアドレスの払出しと、それらのアドレス組の登録要求およびアドレス組が不要になった場合にアドレス組の解放要求を行なうアプリケーションレベルゲートウェイ(ALG)装置が接続される。   The NAT device eliminates the need to send out the IP address in the destination format to the IP address in the source format, the registration request for the address set, and the address set in order to convert the IP address described in the application layer. In this case, an application level gateway (ALG) device that requests release of the address set is connected.

そして、ALG装置はNAT装置に対してアドレス組を登録する場合、各アプリケーションレイヤのプロトコル情報に記述されたタイマー関連の情報を読み込みアドレス組の生存時間を取得し、NAT装置に対するアドレス組の登録要求に、取得した生存時間を含める。NAT装置においては、ALG装置から設定された生存時間に基づきアドレス組毎にタイマーを設定し、タイマー満了になり次第、アドレス組を解放する。   When the ALG device registers an address set for the NAT device, it reads the timer-related information described in the protocol information of each application layer, acquires the lifetime of the address set, and requests the NAT device to register the address set. Include the acquired survival time. In the NAT device, a timer is set for each address set based on the lifetime set by the ALG device, and the address set is released as soon as the timer expires.

これにより、NAT装置で一律に設定されるタイマー値によりアドレス組が解放されることはなく、また、ALG装置も、アプリケーションプロトレイヤに設定されたタイマー値の時間中、アドレス組登録・解放要求機能関連のプロセスを保持する必要がなくなる。   As a result, the address set is not released by the timer value uniformly set by the NAT device, and the ALG device also has an address set registration / release request function during the timer value set by the application protolayer. No need to keep related processes.

特開2004−166031号公報(第2頁−第3頁、図1)Japanese Patent Application Laid-Open No. 2004-166031 (page 2 to page 3, FIG. 1)

しかしながら、上述した従来技術では、ALG装置にてアプリケーションプロトコル上に設定されているタイマー関連の情報を読み込み、自動的にアドレス変換用テーブルの更新間隔を設定するため、通信内容が暗号化されている場合にはメッセージの内容が解析できず、タイマー関連の情報を読み込めないという第1の問題点がある。   However, in the above-described conventional technology, the content of communication is encrypted in order to read the timer-related information set on the application protocol in the ALG device and automatically set the update interval of the address conversion table. In this case, there is a first problem that the contents of the message cannot be analyzed and the timer-related information cannot be read.

また、端末間に不特定多数のNAT装置が存在し、NAT装置のアドレス変換用テーブルにアドレス変換情報を登録して通信を行う場合、アドレス変換用テーブル毎に情報登録の保持時間が違うため、アドレス変換用テーブル更新間隔が長が過ぎるとアドレス変換用テーブルへの登録が消えてパケット送信が失敗し、一方、アドレス変換用テーブル更新間隔が必要以上に短いとアドレス変換用テーブル更新動作による消費電流が増加するという第2の問題点がある。   In addition, there are many unspecified NAT devices between terminals, and when registering address translation information in the NAT device address translation table for communication, the information registration holding time differs for each address translation table. If the address translation table update interval is too long, registration in the address translation table disappears and packet transmission fails. On the other hand, if the address translation table update interval is shorter than necessary, the current consumption due to the address translation table update operation There is a second problem that increases.

そこで、本発明の第1の目的は、通信内容が暗号化されている場合であっても自動的にアドレス変換用テーブルの更新間隔を設定することができるNAT管理システムを提供することにある。   Accordingly, a first object of the present invention is to provide a NAT management system capable of automatically setting an update interval of an address conversion table even when communication contents are encrypted.

また、本発明の第2の目的は、不特定多数のNAT装置が存在する場合であっても、端末装置にとって最適なアドレス変換用テーブルの更新間隔を設定することができるNAT管理システムを提供することにある。   A second object of the present invention is to provide a NAT management system capable of setting an optimum address translation table update interval for a terminal device even when there are a large number of unspecified NAT devices. There is.

本発明のNAT管理システムは、IPアドレス形式の異なる2つのネットワーク間の通信におけるアドレス変換に使用されるアドレス変換テーブルを管理するNAT管理システムにおいて、一方のネットワークにおける端末装置(図1の1)は、通信をしていない時間帯に所定のヘルスチェック間隔で、ゲートウエイ(図1の3)が故障で不通になっていないかを確認するためのヘルスチェックパケットをアドレス変換装置(図1の2)経由でゲートウエイへ送信する手段と、ヘルスチェックパケットに対するゲートウエイからのアドレス変換装置を経由したヘルスチェック返信の内容によりヘルスチェック間隔を変更する手段(図1の6)を有し、ゲートウエイは、ヘルスチェック間隔がアドレス変換テーブル(図1の4)のアドレス保持時間を超えているために端末装置との間の通信パケットの送受信に失敗している場合には、ヘルスチェック返信時から通信時までの通信パケット時間を示す情報を記録する手段(図1の7)と、次のヘルスチェック返信時に記録が有る場合には記録を返信のヘルスチェックパケットに付加する手段(図1の7)を有し、アドレス変換装置はヘルスチェックパケットまたは通信パケットによりアドレス変換テーブルを更新する。   The NAT management system of the present invention is a NAT management system that manages an address translation table used for address translation in communication between two networks having different IP address formats. A terminal device (1 in FIG. 1) in one network is A health check packet for confirming whether the gateway (3 in FIG. 1) is out of order due to a failure at a predetermined health check interval in a non-communication time zone is sent to the address translation device (2 in FIG. 1). And a means for changing the health check interval according to the contents of the health check reply from the gateway via the address translation device to the health check packet (6 in FIG. 1). The interval exceeds the address holding time of the address conversion table (4 in FIG. 1). Means for recording information indicating the communication packet time from when the health check is replied to when communicating (7 in FIG. 1), When there is a record at the time of the next health check reply, there is means (7 in FIG. 1) for adding the record to the reply health check packet, and the address translation device updates the address translation table by the health check packet or the communication packet. .

なお、端末装置(図1の1)は、ゲートウエイからのヘルスチェック返信を受信したときに、通信パケット時間を示す情報が付加されている場合には、通信パケット時間より短い間隔でKeep Aliveパケットをアドレス変換装置経由でゲートウエイへ送信し、アドレス変換装置はKeep Aliveパケットによりアドレス変換テーブルを更新するようにしてもよい。   When the terminal device (1 in FIG. 1) receives a health check reply from the gateway and information indicating the communication packet time is added, the terminal device (1 in FIG. 1) sends a keep alive packet at an interval shorter than the communication packet time. The address translation device may be transmitted to the gateway via the address translation device, and the address translation device may update the address translation table with a Keep Alive packet.

また、端末装置(図1の1)は、ゲートウエイからのヘルスチェック返信を受信したときに、通信パケット時間を示す情報が付加されている場合には、ヘルスチェックを通信パケット時間より短い間隔で送信するようにしてもよい。   When the terminal device (1 in FIG. 1) receives the health check reply from the gateway, if the information indicating the communication packet time is added, the terminal device (1) transmits the health check at an interval shorter than the communication packet time. You may make it do.

本発明のNAT管理方法は、上記のNAT管理システムにおいて、一方のネットワークにおける端末装置は、通信をしていない時間帯に所定のヘルスチェック間隔で、ゲートウエイが故障で不通になっていないかを確認するためのヘルスチェックパケットをアドレス変換装置経由でゲートウエイへ送信する段階と、ゲートウエイは、正常であるときはヘルスチェックを受信すると直ちにヘルスチェックパケットを返信する段階と、ゲートウエイは、ヘルスチェック間隔がアドレス変換テーブルのアドレス保持時間を超えているために端末装置との間の通信パケットの送受信に失敗している場合には、ヘルスチェック返信時から通信時までの通信パケット時間を示す情報を記録する段階と、ゲートウエイは、次のヘルスチェック返信時に記録が有る場合には記録を返信のヘルスチェックパケットに付加する段階と、端末装置は、ヘルスチェック返信の内容によりヘルスチェック間隔を変更する段階と、アドレス変換装置はヘルスチェックパケットまたは通信パケットによりアドレス変換テーブルを更新する段階を有する。   According to the NAT management method of the present invention, in the above-described NAT management system, the terminal device in one network confirms whether the gateway is out of order due to a failure at a predetermined health check interval in a non-communication time zone. To send the health check packet to the gateway via the address translation device, to return the health check packet as soon as the gateway receives the health check when normal, and to the gateway, the health check interval is the address When the communication packet transmission / reception with the terminal device has failed because the address holding time of the conversion table has been exceeded, the step of recording information indicating the communication packet time from the health check return time to the communication time And the gateway has a record at the next health check reply Adds a record to the reply health check packet, the terminal device changes the health check interval according to the contents of the health check reply, and the address translation device updates the address translation table with the health check packet or communication packet. Having stages.

本発明の第1の効果は、ゲートウエイにおいて通信パケットの送受信に失敗した場合に通信パケット時間情報を記録しておき、次の返信のヘルスチェックパケットに通信パケット時間情報を付加し、返信のヘルスチェックパケットを受信した端末装置は通信パケット時間情報により登録アドレス保持時間を認識してヘルスチェック間隔を調整する構成としたため、ヘルスチェック間隔を調整するに当たってアプリケーションプロトコル上に設定されているタイマー関連の情報を読み込む必要がなくなるので、通信内容が暗号化されていたとしても、自動的にアドレス変換用テーブルの更新間隔を設定することができるということである。   The first effect of the present invention is that the communication packet time information is recorded when transmission / reception of the communication packet fails in the gateway, the communication packet time information is added to the next return health check packet, and the return health check is performed. The terminal device that received the packet recognizes the registered address holding time based on the communication packet time information and adjusts the health check interval. Therefore, when adjusting the health check interval, the timer-related information set in the application protocol is displayed. Since there is no need to read, the update interval of the address conversion table can be automatically set even if the communication content is encrypted.

本発明の第2の効果は、特定の端末装置とゲートウエイの間の通信が失敗したときの通信パケット時間情報によって、その端末装置に対応するNATテーブル更新時間を設定する構成としたため、ヘルスチェック間隔を調整するに当たって、複数のNAT装置が存在する場合であっても、当該NAT装置を経由した通信パケットの送受信の結果を反映させるので、端末装置にとって最適なアドレス変換用テーブルの更新間隔を設定することができるということである。   The second effect of the present invention is that the NAT table update time corresponding to the terminal device is set based on the communication packet time information when communication between the specific terminal device and the gateway fails. In the case where there are a plurality of NAT devices, the result of communication packet transmission / reception via the NAT device is reflected, so that an optimal address translation table update interval is set for the terminal device. Is that you can.

本発明のNATテーブル管理システムは、端末間のヘルスチェック間隔とNAT装置のアドレス変換用テーブルの情報登録の保持時間を認識し、ヘルスチェック間隔がNAT装置のアドレス変換用テーブルの情報登録の保持時間より長い場合、端末のアドレス変換用テーブル更新間隔を調整(短く)するためのKeep Aliveパケットを送信することで、以降の端末のパケット送信の失敗を減少させ、一方、ヘルスチェック間隔がNAT装置のアドレス変換用テーブル更新間隔より短い場合、端末のアドレス変換用テーブル更新間隔を調整(短く)するためのKeep Aliveパケットを送信させず、不特定多数のNAT装置のアドレス変換用テーブルの内で最短の情報登録の保持時間に更新時間のディフォルト値を合わせる必要をなくし、消費電力を減少させることを特徴とする。以下、本発明のNAT管理システムの実施の形態について図面を参照して詳細に説明する。   The NAT table management system of the present invention recognizes the health check interval between terminals and the information registration holding time of the NAT device address translation table, and the health check interval is the information registration holding time of the NAT device address translation table. If it is longer, sending a Keep Alive packet to adjust (shorten) the address translation table update interval of the terminal reduces subsequent packet transmission failures of the terminal, while the health check interval of the NAT device If it is shorter than the address translation table update interval, the keep alive packet for adjusting (shortening) the address translation table update interval of the terminal is not sent, and the shortest of the address translation tables of the unspecified number of NAT devices It eliminates the need to match the default value of the update time to the information registration hold time, and reduces power consumption.Hereinafter, embodiments of the NAT management system of the present invention will be described in detail with reference to the drawings.

[構成の説明]
図1は本発明のNAT管理システムの構成を示すブロック図である。図1を参照すると、携帯端末1とゲートウェイサーバ(以下、「GWサーバ」と記す)5が示されており、GWサーバ5の先(図示省略)には、携帯端末1が属するネットワークとはIPアドレス形式の異なるネットワークが存在する。携帯端末1は、このネットワークに属する端末と通信パケットを授受することにより通信を行なう。
[Description of configuration]
FIG. 1 is a block diagram showing the configuration of the NAT management system of the present invention. Referring to FIG. 1, a mobile terminal 1 and a gateway server (hereinafter referred to as “GW server”) 5 are shown. The network to which the mobile terminal 1 belongs is located at the end of the GW server 5 (not shown). There are networks with different address formats. The portable terminal 1 communicates with terminals belonging to this network by exchanging communication packets.

携帯端末1は、通信をしていない時間帯に所定の時間間隔(ヘルスチェック間隔)でGWサーバ5に向けて、GWサーバ5が故障で不通になっていないかを確認するためにヘルスチェックパケット(以下、「ヘルスチェック」と記す)を送信する。GWサーバ5は、ヘルスチェックを受信すると、直ちに返信のヘルスチェックを携帯端末1に向けて送信する。なお、携帯端末1と他の端末とがGWサーバ5を介して通信している間であれば、不通により故障を検出できるので、ヘルスチェックを交信する必要がない。   The mobile terminal 1 sends a health check packet to the GW server 5 at a predetermined time interval (health check interval) during a non-communication time period in order to check whether the GW server 5 is out of order due to a failure. (Hereinafter referred to as “health check”). Upon receiving the health check, the GW server 5 immediately sends a reply health check to the mobile terminal 1. Note that, while the mobile terminal 1 and another terminal are communicating with each other via the GW server 5, a failure can be detected due to the disconnection, and it is not necessary to communicate a health check.

携帯端末1とGWサーバ5との間にはNAT装置2が介在する。NAT装置2は、上記のようにIPアドレス形式の異なる2つのネットワーク間で通信を行なう場合、送信元ネットワークのIPアドレス形式のIPアドレスを送信先ネットワークのIPアドレス形式のIPアドレスに変換する。そのために、アドレス変換用テーブル(NATテーブル)4とNAT手段3を具備する。   A NAT device 2 is interposed between the mobile terminal 1 and the GW server 5. When performing communication between two networks having different IP address formats as described above, the NAT device 2 converts the IP address format IP address format of the source network into an IP address format IP address format of the destination network. For this purpose, an address conversion table (NAT table) 4 and NAT means 3 are provided.

NATテーブル4には、IPアドレス形式の異なる送信元IPアドレスと送信先IPアドレスの間の変換情報が組として登録され、所定の情報保持時間(登録アドレス保持時間)だけ保持する。NAT手段3は、NATテーブル4を管理し更新する。また、NATテーブル4を参照して送信元IPアドレスと送信先IPアドレスの間のアドレス変換を行ない、NAT手段3によってアドレス変換情報がNATテーブル4に登録される。従ってNATテーブル4の更新は、登録アドレス保持時間内に、通信パケット受信時の他、ヘルスチェックや後述のKeep Aliveパケット受信時にも行なわれる。NATテーブル4が更新される時間間隔をNATテーブル更新間隔といい、一定でない。   In the NAT table 4, translation information between a source IP address and a destination IP address having different IP address formats is registered as a pair, and held for a predetermined information holding time (registered address holding time). The NAT unit 3 manages and updates the NAT table 4. Further, the NAT table 4 is referred to perform address conversion between the transmission source IP address and the transmission destination IP address, and the address conversion information is registered in the NAT table 4 by the NAT means 3. Therefore, the NAT table 4 is updated within the registered address holding time not only when a communication packet is received but also when a health check or a keep alive packet described later is received. The time interval at which the NAT table 4 is updated is called the NAT table update interval and is not constant.

GWサーバ5は送信失敗検出/通知手段7を有する。送信失敗検出/通知手段7は、GWサーバ5が携帯端末1へ通信パケットを送信するときに送信に失敗すると、通信パケット送信直前の(返信の)ヘルスチェックの送信時刻から通信パケット送信時刻までの時間(通信パケット間隔)を示す情報(通信パケット時間情報)を記録する。そして、次にGWサーバ5が携帯端末1からヘルスチェックを受信したときに、通信パケット時間情報の記録があれば返信のヘルスチェックに付加する。なお、送信失敗検出/通知手段7に代って、携帯端末1からの通信パケットの受信失敗を検出する受信失敗検出/通知手段であってもよい。   The GW server 5 includes transmission failure detection / notification means 7. If the transmission failure is detected when the GW server 5 transmits a communication packet to the mobile terminal 1, the transmission failure detection / notification means 7 from the transmission time of the health check (reply) immediately before transmission of the communication packet to the communication packet transmission time. Information (communication packet time information) indicating time (communication packet interval) is recorded. Next, when the GW server 5 receives a health check from the mobile terminal 1, if there is a record of communication packet time information, it is added to the returned health check. Instead of the transmission failure detection / notification means 7, a reception failure detection / notification means for detecting a reception failure of the communication packet from the portable terminal 1 may be used.

携帯端末1はNATテーブル更新間隔調整手段6を有する。NATテーブル更新間隔調整手段6は、通信パケット時間情報付きのヘルスチェックを受信すると、所定の時間間隔(Keep Alive発信間隔)でKeep AliveパケットをGWサーバ5に向けて送信する。Keep Alive発信間隔は、通信パケット時間情報で示される通信パケット時間未満に定められる。   The portable terminal 1 has a NAT table update interval adjustment means 6. When receiving a health check with communication packet time information, the NAT table update interval adjusting means 6 transmits a Keep Alive packet to the GW server 5 at a predetermined time interval (Keep Alive transmission interval). The Keep Alive transmission interval is determined to be less than the communication packet time indicated by the communication packet time information.

NAT装置2にKeep Aliveパケットが受信されると、NAT手段3はNATテーブル4を更新する。送信パケット間隔はヘルスチェック間隔より短いため、Keep Aliveパケット受信によるNATテーブル4の更新によって、NATテーブル4の更新間隔が短縮されることになる。この結果、GWサーバ5における送信失敗を回避することができる。なお、Keep Aliveパケットは、NATテーブル4の更新のみに使用され、GWサーバ5に受信されると廃棄処分される。   When the keep alive packet is received by the NAT device 2, the NAT unit 3 updates the NAT table 4. Since the transmission packet interval is shorter than the health check interval, the update interval of the NAT table 4 is shortened by updating the NAT table 4 by receiving the keep alive packet. As a result, transmission failure in the GW server 5 can be avoided. The Keep Alive packet is used only for updating the NAT table 4 and is discarded when received by the GW server 5.

以上の記載では、説明を単純化するために携帯端末は1つのみとしているが、実際には複数の携帯端末が存在することになるので、NATテーブルには携帯端末毎のアドレス変換情報が登録される。また、同じ理由からGWサーバおよびNAT装置も一組としているが、特定の携帯端末が複数のGWサーバに接続され得る場合には、特定の携帯端末が複数のNAT装置と接続され、それぞれのNATテーブルに特定の携帯端末1についての異なるアドレス変換情報が登録される。   In the above description, to simplify the explanation, only one portable terminal is used. However, since there are actually a plurality of portable terminals, address translation information for each portable terminal is registered in the NAT table. Is done. Also, for the same reason, the GW server and the NAT device are also paired. However, when a specific mobile terminal can be connected to multiple GW servers, the specific mobile terminal is connected to multiple NAT devices and each NAT is connected. Different address conversion information for a specific mobile terminal 1 is registered in the table.

図2はGWサーバ5の送信失敗検出/通知手段7における処理を示すフローチャートであり、図2(1)はパケット送信失敗検出時の処理、図2(2)は通信パケット時間情付加時の処理をそれぞれ示す。ここでも、説明を単純化するために、携帯端末,NAT装置およびGWサーバを一組とする。   2 is a flowchart showing processing in the transmission failure detection / notification means 7 of the GW server 5, FIG. 2 (1) is processing when packet transmission failure is detected, and FIG. 2 (2) is processing when communication packet time information is added. Respectively. Also here, in order to simplify the explanation, a portable terminal, a NAT device, and a GW server are set as one set.

図2(1)において、GWサーバ5が通信パケットを送信したと、パケット送信失敗検出/通知手段7が判断した(図2のステップA1でY)が、所定の時間内に携帯端末1から返信が無いことを確認すると(ステップA2でN)、パケット送信失敗と判断して、通信パケット時間情報を記録する(ステップA3)。通信パケットの送信が無い場合(ステップA1でN)、および携帯端末1から返信がありパケット送信失敗と判断しない場合(ステップA2でY)は、次の通信パケット送信までアイドル状態となる。   In FIG. 2 (1), when the GW server 5 has transmitted a communication packet, the packet transmission failure detection / notification means 7 (Y in step A1 in FIG. 2) returns a reply from the portable terminal 1 within a predetermined time. If it is confirmed that there is no (N in step A2), it is determined that packet transmission has failed, and communication packet time information is recorded (step A3). When there is no transmission of a communication packet (N in step A1) and when there is a reply from the portable terminal 1 and it is not determined that the packet transmission has failed (Y in step A2), the idle state is kept until the next communication packet transmission.

図2(2)において、GWサーバ5が携帯端末1からのヘルスチェックを受信したと、パケット送信失敗検出/通知手段7が判断し(ステップB1でY)、かつ通信パケット送信失敗検出にて通信パケット時間情報が記録(ステップA3)されている場合(B2でY)、この通信パケット時間情報をヘルスチェックの返信情報に付加すると共に、通信パケット時間情報の記録を削除する(ステップB3)。   In FIG. 2 (2), when the GW server 5 receives a health check from the portable terminal 1, the packet transmission failure detection / notification means 7 determines (Y in step B1) and communication is performed when a communication packet transmission failure is detected. When packet time information is recorded (step A3) (Y in B2), the communication packet time information is added to the health check reply information and the communication packet time information record is deleted (step B3).

ヘルスチェックの受信が無い場合(ステップB1でN)、および通信パケット時間情報が記録されていない場合(ステップB2でN)は、次のヘルスチェック受信までアイドル状態なる。   When no health check is received (N in step B1) and when communication packet time information is not recorded (N in step B2), the idle state is kept until the next health check is received.

図3は携帯端末1のNATテーブル更新間隔調整手段6における処理を示すフローチャートである。携帯端末1がパケットを受信すると、NATテーブル更新間隔調整手段6はそのパケットがヘルスチェックであるか判断する(図3のステップC1)。ヘルスチェック受信の場合(ステップC1でY)は、更に、そのヘルスチェック中に、通信パケット時間情報の有無を確認する(ステップC2でY)。   FIG. 3 is a flowchart showing processing in the NAT table update interval adjusting means 6 of the portable terminal 1. When the mobile terminal 1 receives the packet, the NAT table update interval adjusting means 6 determines whether the packet is a health check (step C1 in FIG. 3). If the health check is received (Y in step C1), the presence / absence of communication packet time information is further confirmed during the health check (Y in step C2).

通信パケット時間情報の存在を確認できると、通信パケット時間情報で示される通信パケット時間未満にKeep Aliveパケット発信間隔を定め(ステップC3)、このKeep Aliveパケット発信間隔でKeep Aliveパケットの送信を開始する(ステップC4)。NAT手段3は、Keep Aliveパケットを受信するとNATテーブル4を更新する。これにより、NATテーブル4は登録アドレスの喪失を回避することが期待できる。   If the presence of the communication packet time information can be confirmed, a keep alive packet transmission interval is set to be less than the communication packet time indicated by the communication packet time information (step C3), and transmission of the keep alive packet is started at this keep alive packet transmission interval. (Step C4). The NAT means 3 updates the NAT table 4 when receiving the Keep Alive packet. Thereby, the NAT table 4 can be expected to avoid the loss of the registered address.

なお、受信パケットがヘルスチェックではない場合(ステップC1でN)、またはヘルスチェック中に通信パケット時間情報が付加されていない場合(ステップC2でN)は、次のパケット受信までアイドル状態となる。   If the received packet is not a health check (N in step C1), or if communication packet time information is not added during the health check (N in step C2), the idle state is kept until the next packet is received.

[動作の説明]
以上のように構成された本NAT管理システムの動作について図4〜図6を参照しながら説明する。ここでも、説明を単純化するために、携帯端末,NAT装置およびGWサーバを一組とする。また、携帯端末1のローカルアドレスを192.168.0.2、グローバルアドレスを200.10.10.5とし、GWサーバ5のグローバルアドレスを200.0.10.0とする。更に、GWサーバ5は正常であり、ヘルスチェックを受信するとヘルスチェックを返信するものとする。
[Description of operation]
The operation of the NAT management system configured as described above will be described with reference to FIGS. Also here, in order to simplify the explanation, a portable terminal, a NAT device, and a GW server are set as one set. The local address of the mobile terminal 1 is 192.168.0.2, the global address is 200.10.10.5, and the global address of the GW server 5 is 200.0.10.0. Furthermore, it is assumed that the GW server 5 is normal and returns a health check when a health check is received.

携帯端末1は、GWサーバ5の先に接続されている端末との間で通信パケットを授受することにより通信することができるが、通信をしていない時間帯にヘルスチェック間隔でGWサーバ5に向けて、GWサーバ5が故障で不通になっていないかを確認するためにヘルスチェックを送信する。   The mobile terminal 1 can communicate with a terminal connected to the end of the GW server 5 by exchanging communication packets. However, the mobile terminal 1 communicates with the GW server 5 at a health check interval during a non-communication time period. The health check is transmitted to confirm whether the GW server 5 is out of order due to a failure.

先ず、ヘルスチェック間隔が登録アドレス保持時間未満の場合におけるヘルスチェックの受け渡しについて図4により説明する。携帯端末1からヘルスチェックHC1が送信されNAT装置2に受け取られると(図4のA)、NAT手段3にて送信元のローカルアドレス(192.168.0.2)をグローバルアドレス(200.10.10.5)へ変換すると共にNATテーブル4にアドレス変換情報(192.168.0.2⇔200.10.10.5)を登録し(図4のB)、登録アドレス保持時間だけ保持する。これにより、NATテーブル4は更新されたことになる。NAT装置2は、送信元のアドレスを変換したヘルスチェックHC1をGWサーバ5へ送信する(図4のC)。   First, the delivery of the health check when the health check interval is less than the registered address holding time will be described with reference to FIG. When the health check HC1 is transmitted from the portable terminal 1 and received by the NAT device 2 (A in FIG. 4), the NAT means 3 converts the local address (192.168.0.2) of the transmission source to the global address (200.10.10.5). At the same time, the address translation information (192.168.0.2⇔200.10.10.5) is registered in the NAT table 4 (B in FIG. 4) and held for the registered address holding time. As a result, the NAT table 4 is updated. The NAT device 2 transmits the health check HC1 obtained by converting the source address to the GW server 5 (C in FIG. 4).

GWサーバ5はヘルスチェックHC1を受信する(図4のD)と、直ちにヘルスチェックHC2をNAT装置2へ返信する(図4のE)。ヘルスチェックHC2がNAT装置2に受け取られると(図4のF)、NAT手段3は送信先のグローバルアドレス(200.10.10.5)をローカルアドレス(192.168.0.2)へ変換すると共にNATテーブル4を更新(192.168.0.2⇔200.10.10.5)し(図4のG)登録アドレス保持時間だけ保持する。NAT装置2は、送信先のアドレスが変換されたヘルスチェックHC2を携帯端末1へ送信する(図4のH)。   Upon receiving the health check HC1 (D in FIG. 4), the GW server 5 immediately returns the health check HC2 to the NAT device 2 (E in FIG. 4). When the health check HC2 is received by the NAT device 2 (F in FIG. 4), the NAT means 3 converts the destination global address (200.10.10.5) into the local address (192.168.0.2) and updates the NAT table 4 ( (192.168.0.2⇔200.10.10.5) (G in Fig. 4) Hold for the registration address holding time. The NAT device 2 transmits the health check HC2 with the destination address converted to the portable terminal 1 (H in FIG. 4).

この場合、ヘルスチェック間隔が登録アドレス保持時間未満としているため、NATテーブル4が登録アドレスを喪失することはなく、GWサーバ5が通信パケットを送信すると、その送信は失敗しない(図2(1)のステップA2でY)。また、GWサーバ5の通信パケットの送信にてNATテーブル4が更新される。したがって、送信失敗検出/通知手段7は通信パケット時間情報が記録されていないことを確認するから(図2(2)のステップB2でN)、次に受信したヘルスチェックHC1に対する返信のヘルスチェックHC2に通信パケット時間情報を付加することはない。   In this case, since the health check interval is less than the registered address holding time, the NAT table 4 does not lose the registered address, and when the GW server 5 transmits a communication packet, the transmission does not fail (FIG. 2 (1)). Y in step A2). Further, the NAT table 4 is updated by transmission of the communication packet of the GW server 5. Therefore, since the transmission failure detection / notification means 7 confirms that the communication packet time information is not recorded (N in step B2 in FIG. 2 (2)), the return health check HC2 for the next received health check HC1 The communication packet time information is not added to.

携帯端末1のNATテーブル更新間隔調整手段6は受信したヘルスチェックHC2中に通信パケット時間情報が無いことを確認するので(図3のステップC2でN)、Keep AliveパケットKAの送信(図3のステップC4)は開始しない。NAT手段3は、これまでと同じNATテーブル更新間隔でNATテーブル4の更新を繰り返す。携帯端末1は、GWサーバ5は故障でないことが確認できたので支障なく通信することができる。   Since the NAT table update interval adjusting means 6 of the portable terminal 1 confirms that there is no communication packet time information in the received health check HC2 (N in step C2 in FIG. 3), transmission of the Keep Alive packet KA (in FIG. 3) Step C4) does not start. The NAT means 3 repeats the update of the NAT table 4 at the same NAT table update interval as before. Since it was confirmed that the GW server 5 was not out of order, the mobile terminal 1 can communicate without any problem.

図5は、上述のヘルスチェック間隔が登録アドレス保持時間未満の場合における時間関係を明示する。図5を参照すると、ヘルスチェックHC1とヘルスチェックHC1の間がヘルスチェック間隔HCTであり、ヘルスチェックHC1に対する返信のヘルスチェックHC2は直ちに送信されていることが分かる。また、ヘルスチェック間隔HCTは登録アドレス保持時間AHTより短く、送信パケット間隔HTTは登録アドレス保持時間AHTより短いこと、Keep AliveパケットKAは送信されていることが示されていない。   FIG. 5 clearly shows the time relationship when the above-described health check interval is less than the registered address holding time. Referring to FIG. 5, it can be seen that the health check interval HCT is between the health check HC1 and the health check HC1, and the return health check HC2 to the health check HC1 is immediately transmitted. Also, it is not shown that the health check interval HCT is shorter than the registered address holding time AHT, the transmission packet interval HTT is shorter than the registered address holding time AHT, and the keep alive packet KA is being transmitted.

さて、ヘルスチェック間隔が登録アドレス保持時間以上の場合について説明する。携帯端末1からヘルスチェックHC1が送信され(図4のA)てから、送信先のアドレスが変換されたヘルスチェックHC2が携帯端末1へ返信されてくる(図4のH)までは、ヘルスチェック間隔が登録アドレス保持時間未満の場合(図4)と異なるところがない。こ以降のヘルスチェックの受け渡しを図6に示す。   Now, a case where the health check interval is longer than the registered address holding time will be described. After the health check HC1 is transmitted from the mobile terminal 1 (A in FIG. 4), the health check HC2 in which the destination address is converted is returned to the mobile terminal 1 (H in FIG. 4). There is no difference from the case where the interval is less than the registered address holding time (FIG. 4). The subsequent health check delivery is shown in FIG.

この場合は、ヘルスチェック間隔が登録アドレス保持時間以上としているため、登録アドレス保持時間を経過した後にGWサーバ5が通信パケットを送信すると、この時点ではNATテーブル4の情報はアドレス変換作業により削除されているから、転送先が判らず通信パケットは廃棄される。送信失敗検出/通知手段7は、通信パケットの送信に対して、携帯端末1からの返信が所定の時間内に無いため、送信失敗と判断して(図2(1)のステップA2でN)、通信パケット時間情報を記録する(図2(1)のステップA3)。   In this case, since the health check interval is equal to or longer than the registered address holding time, when the GW server 5 transmits a communication packet after the registered address holding time elapses, the information in the NAT table 4 is deleted by the address conversion work at this time. Therefore, the communication packet is discarded without knowing the transfer destination. The transmission failure detection / notification means 7 determines that the transmission has failed because the reply from the portable terminal 1 is not received within a predetermined time with respect to the transmission of the communication packet (N in step A2 in FIG. 2 (1)). The communication packet time information is recorded (step A3 in FIG. 2 (1)).

このような状態下において、ヘルスチェックHC1に続くヘルスチェックHC3が携帯端末1から送信されたとする(図6のI)。ヘルスチェックHC3がNAT装置2に受け取られると、ヘルスチェックHC1のときと同様に、NAT手段3にて送信元のローカルアドレス(192.168.0.2)をグローバルアドレス(200.10.10.5)へ変換すると共にNATテーブル4にアドレス変換情報(192.168.0.2⇔200.10.10.5)を登録し(図6のJ)登録アドレス保持時間だけ保持する。これにより、NATテーブル4は更新されたことになる。NAT装置2は、送信元のアドレスを変換したヘルスチェックHC3をGWサーバ5へ送信する(図6のK)。   In such a state, it is assumed that a health check HC3 following the health check HC1 is transmitted from the mobile terminal 1 (I in FIG. 6). When the health check HC3 is received by the NAT device 2, as in the case of the health check HC1, the NAT means 3 converts the local address (192.168.0.2) of the transmission source to the global address (200.10.10.5) and the NAT table. Address translation information (192.168.0.2⇔200.10.10.5) is registered in 4 (J in FIG. 6) and held for the registered address holding time. As a result, the NAT table 4 is updated. The NAT device 2 transmits the health check HC3 obtained by converting the source address to the GW server 5 (K in FIG. 6).

GWサーバ5はヘルスチェックHC3を受信すると(図6のL)、この場合は、通信パケット時間情報の記録がある(図2(1)のステップA3)ので、受信したヘルスチェックHC3に対して、通信パケット時間情報を付加した(図2(2)のステップB3)ヘルスチェックHC4を返信する(図6のM)。   When the GW server 5 receives the health check HC3 (L in FIG. 6), in this case, there is a record of communication packet time information (step A3 in FIG. 2 (1)). The communication packet time information is added (step B3 in FIG. 2 (2)), and the health check HC4 is returned (M in FIG. 6).

ヘルスチェックHC4がNAT装置2に受け取られると(図6のN)、NAT手段3にて送信元のグローバルアドレス(200.10.10.5)をローカルアドレス(192.168.0.2)へ変換すると共にNATテーブル4にアドレス変換情報(192.168.0.2⇔200.10.10.5)を登録し(図6のO)登録アドレス保持時間だけ保持する。これにより、NATテーブル4は更新されたことになる。NAT装置2は、送信元のアドレスを変換したヘルスチェックHC4を携帯端末1へ送信する(図6のP)。   When the health check HC4 is received by the NAT device 2 (N in FIG. 6), the NAT means 3 converts the source global address (200.10.10.5) to the local address (192.168.0.2) and addresses to the NAT table 4 The conversion information (192.168.0.2⇔200.10.10.5) is registered (O in FIG. 6) and held for the registration address holding time. As a result, the NAT table 4 is updated. The NAT device 2 transmits the health check HC4 obtained by converting the source address to the mobile terminal 1 (P in FIG. 6).

携帯端末1のNATテーブル更新間隔調整手段6は受信したヘルスチェックHC4中に通信パケット時間情報が有ることを確認するので(図3のステップC2でY)、Keep AliveパケットKAの送信を開始する(図3のステップC4、図6のQ)。前述のように、Keep Aliveパケット発信間隔は、通信パケット時間情報で示される通信パケット時間未満に定められるため、NAT手段3は、これまでのNATテーブル更新間隔を短縮した間隔でNATテーブル4を更新する(図6のR)。これにより、GWサーバ5における通信パケットの送信失敗(図2(1)のステップA2でN)は解消することが期待できる。   Since the NAT table update interval adjusting means 6 of the portable terminal 1 confirms that there is communication packet time information in the received health check HC4 (Y in step C2 in FIG. 3), transmission of the Keep Alive packet KA is started ( Step C4 in FIG. 3, Q in FIG. As described above, the keep alive packet transmission interval is determined to be less than the communication packet time indicated by the communication packet time information. Therefore, the NAT means 3 updates the NAT table 4 at an interval obtained by shortening the conventional NAT table update interval. (R in FIG. 6). Thereby, it can be expected that the transmission failure of the communication packet in the GW server 5 (N in step A2 in FIG. 2 (1)) will be solved.

なお、Keep AliveパケットKAによるNATテーブル4の更新(図5のR)によっても、通信パケットの送信失敗が解消されないときは、NATテーブル更新間隔調整手段6はKeep Aliveパケット発信間隔を更に短縮することを続ける。Keep AliveパケットKAはNAT装置2からGWサーバ5へ送信され(図6のS)、そこで廃棄処分される(図6のT)。   Note that if the transmission failure of the communication packet is not resolved even by updating the NAT table 4 by the keep alive packet KA (R in FIG. 5), the NAT table update interval adjusting means 6 further shortens the keep alive packet transmission interval. Continue. The Keep Alive packet KA is transmitted from the NAT device 2 to the GW server 5 (S in FIG. 6) and discarded there (T in FIG. 6).

図7は、上述のヘルスチェック間隔が登録アドレス保持時間以上の場合における時間関係を明示する。図7を参照すると、ヘルスチェックHC1とヘルスチェックHC3の間がヘルスチェック間隔HCTであり、ヘルスチェックHC1に対する返信のヘルスチェックHC2、ヘルスチェックHC3に対する返信のヘルスチェックHC4は、直ちに送信されていることが分かる。   FIG. 7 clearly shows the time relationship when the above-described health check interval is equal to or longer than the registered address holding time. Referring to FIG. 7, the health check interval HCT is between the health check HC1 and the health check HC3, and the health check HC2 for the reply to the health check HC1 and the health check HC4 for the reply to the health check HC3 are immediately transmitted. I understand.

また、ヘルスチェック間隔HCTは登録アドレス保持時間AHTより長く、送信パケット間隔HTTは登録アドレス保持時間AHTより長いこと、Keep Aliveパケット間隔KATは登録アドレス保持時間AHTより短いこと、Keep AliveパケットKAがヘルスチェックHC4と2段目のヘルスチェックHC1の間に2回送信されていることが示されている。   In addition, the health check interval HCT is longer than the registered address holding time AHT, the transmission packet interval HTT is longer than the registered address holding time AHT, the keep alive packet interval KAT is shorter than the registered address holding time AHT, and the keep alive packet KA is healthy. It is shown that the data is transmitted twice between the check HC4 and the second-stage health check HC1.

2段目のヘルスチェックHC1以降は、1段目(1回目のヘルスチェックHC1〜2回目のKeep AliveパケットKA)の処理が繰り返される。1段目における通信パケット時間情報の記録は削除されているため、2段目におけるKeep Aliveパケット間隔KATは2段目における通信パケット時間情報により定められる。   After the second health check HC1, the processing of the first step (the first health check HC1 to the second keep alive packet KA) is repeated. Since the record of the communication packet time information at the first level has been deleted, the Keep Alive packet interval KAT at the second level is determined by the communication packet time information at the second level.

以上の説明では、説明を単純化するために、特定の携帯端末が接続されるNAT装置を1つとしているが、1つの携帯端末が複数のNAT装置に接続される場合がある。このような場合、通常はNAT装置における登録アドレス保持時間が異なるため、ヘルスチェック間隔をいずれかのNAT装置における登録アドレス保持時間に合わせて固定すると、他のNAT装置に対するヘルスチェック間隔に過不足が生じる。この結果、ヘルスチェック間隔が長すぎればNATテーブルの更新が間に合わず通信パケットの送受信が失敗することがある。一方、ヘルスチェック間隔が短すぎれば必要以上にアドレス変換を行なうこととなって消費電力を増加させる。   In the above description, in order to simplify the description, one NAT device is connected to a specific mobile terminal, but one mobile terminal may be connected to a plurality of NAT devices. In such a case, since the registered address retention time in the NAT device is usually different, if the health check interval is fixed according to the registered address retention time in any NAT device, the health check interval for other NAT devices will be excessive or insufficient. Arise. As a result, if the health check interval is too long, transmission and reception of communication packets may fail because the NAT table cannot be updated in time. On the other hand, if the health check interval is too short, address conversion is performed more than necessary, thereby increasing power consumption.

しかし、本発明によれば、通信パケットの送受信が失敗したときには返信のヘルスチェックに通信パケット時間情報を付加する構成としたため、これによって携帯端末において当該NAT装置における登録アドレス保持時間を認識でき、それまでのNATテーブル更新時間を短縮できるようなKeep AliveパケットをNAT装置へ送信するので、複数のNAT装置に接続する場合であっても、適切なヘルスチェック間隔を設定できる。   However, according to the present invention, since the communication packet time information is added to the return health check when the transmission / reception of the communication packet fails, the mobile terminal can recognize the registered address holding time in the NAT device. Since the Keep Alive packet that can shorten the NAT table update time until is transmitted to the NAT device, an appropriate health check interval can be set even when connecting to a plurality of NAT devices.

[発明の他の実施の形態]
次に、本発明の他の実施例として、その基本的構成は上記の実施例どおりであるが、携帯端末1が通信パケット時間情報付きのヘルスチェックを受信したときに、Keep AliveパケットKAを送信するのではなく、ストレートにヘルスチェック間隔を短縮するようにしてもよい。すなわち、NATテーブル更新間隔調整手段6は図3に示した処理に代って、図8に示す処理を行う。図9は、この実施例において、ヘルスチェック間隔が登録アドレス保持時間以上の場合における時間関係を明示する。通信パケットの送信失敗により、当初のヘルスチェック間隔HCT1からヘルスチェック間隔HCT2に短縮されている。
[Other Embodiments of the Invention]
Next, as another embodiment of the present invention, the basic configuration is the same as the above embodiment, but when the mobile terminal 1 receives a health check with communication packet time information, a keep alive packet KA is transmitted. Instead of doing this, the health check interval may be shortened straight. That is, the NAT table update interval adjusting means 6 performs the process shown in FIG. 8 instead of the process shown in FIG. FIG. 9 clearly shows the time relationship when the health check interval is longer than the registered address holding time in this embodiment. Due to the transmission failure of the communication packet, the original health check interval HCT1 is shortened to the health check interval HCT2.

本発明のNAT管理システムの構成を示すブロック図The block diagram which shows the structure of the NAT management system of this invention GWサーバ5の送信失敗検出/通知手段7における処理を示すフローチャートThe flowchart which shows the process in the transmission failure detection / notification means 7 of GW server 5 携帯端末1のNATテーブル更新間隔調整手段6における処理の例を示すフローチャートThe flowchart which shows the example of the process in the NAT table update space | interval adjustment means 6 of the portable terminal 1 ヘルスチェック間隔が登録アドレス保持時間未満の場合におけるヘルスチェックの受け渡しの例を示すシーケンス図Sequence diagram showing an example of health check delivery when the health check interval is less than the registered address retention time 図4のシーケンスにおける時間関係を明示する図The figure which clarifies the time relation in the sequence of FIG. ヘルスチェック間隔が登録アドレス保持時間以上の場合におけるヘルスチェックの受け渡し例を示すシーケンス図Sequence diagram showing an example of health check delivery when the health check interval is equal to or longer than the registered address retention time 図6のシーケンスにおける時間関係を明示する図The figure which clarifies the time relation in the sequence of FIG. 携帯端末1のNATテーブル更新間隔調整手段6における処理の他の例を示すフローチャートThe flowchart which shows the other example of the process in the NAT table update space | interval adjustment means 6 of the portable terminal 1. ヘルスチェック間隔が登録アドレス保持時間未満の場合におけるヘルスチェックの受け渡しの他の例を示すシーケンス図Sequence diagram showing another example of health check delivery when the health check interval is less than the registered address retention time

符号の説明Explanation of symbols

1 携帯端末
2 NAT装置
3 NAT手段
4 NATテーブル
5 GWサーバ
6 NATテーブル更新間隔調整手段
7 送信失敗検出/通知手段
HC ヘルスチェック
KA KeepAliveパケット
HCT ヘルスチェック間隔
AHT アドレス保持時間
KAT KeepAliveパケット発信間隔
HTT 通信パケット間隔
DESCRIPTION OF SYMBOLS 1 Mobile terminal 2 NAT apparatus 3 NAT means 4 NAT table 5 GW server 6 NAT table update interval adjustment means 7 Transmission failure detection / notification means
HC health check
KA KeepAlive packet
HCT health check interval
AHT address retention time
KAT KeepAlive packet transmission interval
HTT communication packet interval

Claims (4)

IPアドレス形式の異なる2つのネットワーク間の通信におけるアドレス変換に使用されるアドレス変換テーブルを管理するNAT管理システムにおいて、
一方のネットワークにおける端末装置は、
通信をしていない時間帯に所定のヘルスチェック間隔で、ゲートウエイが故障で不通になっていないかを確認するためのヘルスチェックパケットをアドレス変換装置経由で前記ゲートウエイへ送信する手段と、
前記ヘルスチェックパケットに対する前記ゲートウエイからの前記アドレス変換装置を経由したヘルスチェック返信の内容により前記ヘルスチェック間隔を変更する手段を有し、
前記ゲートウエイは、
前記ヘルスチェック間隔が前記アドレス変換テーブルのアドレス保持時間を超えているために前記端末装置との間の通信パケットの送受信に失敗している場合には、前記ヘルスチェック返信時から前記通信時までの通信パケット時間を示す情報を記録する手段と、
次の前記ヘルスチェック返信時に前記記録が有る場合には前記記録を返信のヘルスチェックパケットに付加する手段を有し、
前記アドレス変換装置は前記ヘルスチェックパケットまたは通信パケットにより前記アドレス変換テーブルを更新するNAT管理システム。
In a NAT management system that manages an address translation table used for address translation in communication between two networks with different IP address formats,
The terminal device in one network is
Means for transmitting a health check packet for confirming whether the gateway is out of order due to a failure at a predetermined health check interval in a time zone during which communication is not performed, to the gateway via the address translation device;
Means for changing the health check interval according to the content of the health check reply from the gateway via the address translation device to the health check packet;
The gateway is
If the transmission / reception of the communication packet with the terminal device has failed because the health check interval exceeds the address holding time of the address conversion table, the time from the health check reply to the communication time Means for recording information indicating a communication packet time;
Means for adding the record to the return health check packet if the record is present at the next health check reply;
The NAT management system in which the address translation device updates the address translation table with the health check packet or the communication packet.
前記端末装置は、前記ゲートウエイからのヘルスチェック返信を受信したときに、前記通信パケット時間を示す情報が付加されている場合には、前記通信パケット時間より短い間隔でKeep Aliveパケットを前記アドレス変換装置経由で前記ゲートウエイへ送信し、
前記アドレス変換装置は前記Keep Aliveパケットにより前記アドレス変換テーブルを更新することを特徴とする請求項1記載のNAT管理システム。
When the terminal device receives a health check reply from the gateway and information indicating the communication packet time is added, the terminal device transmits the keep alive packet at an interval shorter than the communication packet time. To the gateway via
2. The NAT management system according to claim 1, wherein the address translation device updates the address translation table with the keep alive packet.
前記端末装置は、前記ゲートウエイからのヘルスチェック返信を受信したときに、前記通信パケット時間を示す情報が付加されている場合には、前記ヘルスチェックを前記通信パケット時間より短い間隔で送信することを特徴とする請求項1記載のNAT管理システム。   When the terminal device receives a health check reply from the gateway and information indicating the communication packet time is added, the terminal device transmits the health check at an interval shorter than the communication packet time. The NAT management system according to claim 1, wherein: 請求項1記載のNAT管理システムにおけるNAT管理方法において、
一方のネットワークにおける端末装置は、通信をしていない時間帯に所定のヘルスチェック間隔で、ゲートウエイが故障で不通になっていないかを確認するためのヘルスチェックパケットをアドレス変換装置経由で前記ゲートウエイへ送信する段階と、
前記ゲートウエイは、正常であるときは前記ヘルスチェックを受信すると直ちにヘルスチェックパケットを返信する段階と、
前記ゲートウエイは、前記ヘルスチェック間隔が前記アドレス変換テーブルのアドレス保持時間を超えているために前記端末装置との間の通信パケットの送受信に失敗している場合には、前記ヘルスチェック返信時から前記通信時までの通信パケット時間を示す情報を記録する段階と、
前記ゲートウエイは、次の前記ヘルスチェック返信時に前記記録が有る場合には前記記録を返信のヘルスチェックパケットに付加する段階と、
前記端末装置は、ヘルスチェック返信の内容により前記ヘルスチェック間隔を変更する段階と、
前記アドレス変換装置は前記ヘルスチェックパケットまたは通信パケットにより前記アドレス変換テーブルを更新する段階を有するNAT管理方法。
In the NAT management method in the NAT management system according to claim 1,
The terminal device in one network sends a health check packet for confirming whether the gateway is out of order due to a failure at a predetermined health check interval during a non-communication period to the gateway via the address translation device. Sending, and
The gateway returns a health check packet immediately upon receiving the health check when it is normal; and
When the gateway has failed in transmission / reception of a communication packet with the terminal device because the health check interval exceeds the address holding time of the address conversion table, the gateway starts from the time of the health check reply. Recording information indicating communication packet time until communication; and
The gateway adds the record to a return health check packet if the record exists at the next health check reply;
The terminal device changes the health check interval according to the content of the health check reply;
The NAT management method, wherein the address translation device includes a step of updating the address translation table with the health check packet or the communication packet.
JP2006105853A 2006-04-07 2006-04-07 NAT management system Active JP4796883B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006105853A JP4796883B2 (en) 2006-04-07 2006-04-07 NAT management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006105853A JP4796883B2 (en) 2006-04-07 2006-04-07 NAT management system

Publications (2)

Publication Number Publication Date
JP2007281905A true JP2007281905A (en) 2007-10-25
JP4796883B2 JP4796883B2 (en) 2011-10-19

Family

ID=38682900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006105853A Active JP4796883B2 (en) 2006-04-07 2006-04-07 NAT management system

Country Status (1)

Country Link
JP (1) JP4796883B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010239399A (en) * 2009-03-31 2010-10-21 Saxa Inc Communication apparatus
JP2014199998A (en) * 2013-03-29 2014-10-23 株式会社東芝 Communication control device, server device, communication system, and program
JP2020014049A (en) * 2018-07-13 2020-01-23 ビッグローブ株式会社 Control system and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004023728A2 (en) * 2002-09-06 2004-03-18 Matsushita Electric Industrial Co., Ltd. Home terminal apparatus and communication system
WO2006013811A1 (en) * 2004-08-03 2006-02-09 Matsushita Electric Industrial Co., Ltd. Information processing system, information processing apparatus, server apparatus, information processing method and program
JP2006050126A (en) * 2004-08-03 2006-02-16 Matsushita Electric Ind Co Ltd Information processing system, information processing apparatus, server apparatus, and information processing method
JP2006050124A (en) * 2004-08-03 2006-02-16 Matsushita Electric Ind Co Ltd Information processing system, information processing apparatus, server apparatus, and information processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004023728A2 (en) * 2002-09-06 2004-03-18 Matsushita Electric Industrial Co., Ltd. Home terminal apparatus and communication system
WO2006013811A1 (en) * 2004-08-03 2006-02-09 Matsushita Electric Industrial Co., Ltd. Information processing system, information processing apparatus, server apparatus, information processing method and program
JP2006050126A (en) * 2004-08-03 2006-02-16 Matsushita Electric Ind Co Ltd Information processing system, information processing apparatus, server apparatus, and information processing method
JP2006050125A (en) * 2004-08-03 2006-02-16 Matsushita Electric Ind Co Ltd Information processing system, information processing apparatus, server apparatus, and information processing method
JP2006050124A (en) * 2004-08-03 2006-02-16 Matsushita Electric Ind Co Ltd Information processing system, information processing apparatus, server apparatus, and information processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010239399A (en) * 2009-03-31 2010-10-21 Saxa Inc Communication apparatus
JP2014199998A (en) * 2013-03-29 2014-10-23 株式会社東芝 Communication control device, server device, communication system, and program
JP2020014049A (en) * 2018-07-13 2020-01-23 ビッグローブ株式会社 Control system and control method

Also Published As

Publication number Publication date
JP4796883B2 (en) 2011-10-19

Similar Documents

Publication Publication Date Title
JP4425841B2 (en) Relay system and call relief method
US9032240B2 (en) Method and system for providing high availability SCTP applications
JP4411222B2 (en) Network, network terminal device, IP address management method used therefor, and program thereof
JP2002335583A5 (en)
US9077558B2 (en) Client/bridge failure recovery method and system
JP5930355B1 (en) Data diode device with specific packet relay function and setting method thereof
JP2008098813A (en) Information communication device, information communication method, and program
JP6558492B2 (en) Network address translation device, setting request device, communication system, communication method, and program
JP4796883B2 (en) NAT management system
JP4591338B2 (en) Communications system
JP4752722B2 (en) Packet transfer apparatus and packet transfer method
JP2007208570A (en) Network, media gateway device and internal resource managing method for use in same
CN107454178B (en) Data transmission method and device
JP2021520554A (en) Point-to-point database synchronization over the transport protocol
US20160006690A1 (en) Method of effective retaining of nat channel service
JP5889122B2 (en) Control node and communication control method
JP4428205B2 (en) Mobile router management system
JP2005244273A (en) Data communication control apparatus
JP5535757B2 (en) Client device and program
KR20100026721A (en) Apparatus and method for providing network interface information in stream control transmission protocol
JP5121780B2 (en) Communication network system
JP2009246687A (en) Communication system, communication analysis device and communication analysis method
JP2009055342A (en) Media gateway system compatible with sip
JP6033393B2 (en) Control node and communication control method
JP3861903B2 (en) Mobile terminal and packet transmission method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090313

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110705

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: 20110719

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: 20110801

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4796883

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350