JP2000156709A - Address converter and recording medium - Google Patents

Address converter and recording medium

Info

Publication number
JP2000156709A
JP2000156709A JP10330875A JP33087598A JP2000156709A JP 2000156709 A JP2000156709 A JP 2000156709A JP 10330875 A JP10330875 A JP 10330875A JP 33087598 A JP33087598 A JP 33087598A JP 2000156709 A JP2000156709 A JP 2000156709A
Authority
JP
Japan
Prior art keywords
address
packet
global
local
conversion
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
JP10330875A
Other languages
Japanese (ja)
Inventor
Kenichi Tonomura
賢一 外村
Takahiro Shirakawa
貴浩 白川
Katsumi Funadogawa
克巳 船渡川
Eiji Nakamura
英二 中村
Susumu Okada
晋 岡田
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP10330875A priority Critical patent/JP2000156709A/en
Publication of JP2000156709A publication Critical patent/JP2000156709A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To convert packet addresses at high speed and to further reduce the overall job amounts, in comparison with the case for generating an entire address conversion structure by using an application gateway, so as to convert addresses of only address information of a user data part when converting the addresses of packets. SOLUTION: This address converter is provided with a 1st address conversion means 4 that converts an address part of a packet into a global address, upon the receipt of a packet to which a local address is set or inversely converts a global address of the address part of a packet into a local address, upon the receipt of the packet with the global address set thereto and with a 2nd address conversion means 5 that converts address information into global address information upon the receipt of a packet, to which a local address is set when address information is set to a user data part of the packet or inversely converts the address information into local address information, when the address information is set to the user address part of the packet upon the receipt of the packet to which the global address information is set.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パケットに設定さ
れたローカルアドレス情報とグローバルアドレス情報を
相互に変換するアドレス変換装置および記録媒体に関す
るものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an address translation device and a recording medium for mutually translating local address information and global address information set in a packet.

【0002】[0002]

【従来の技術】LANに接続された端末が当該LANと
インターネットとの間にルータを接続し、当該ルータを
介してインターネットに接続されている他の端末(更に
ルータを介して接続した端末)との間でIPアドレスを
設定したパケットを相互に送受信して通信する場合、L
ANとインターネットの間に接続したルータは、LAN
上の端末のローカルアドレス(プライベイトアドレス)
からインターネット上のグローバルアドレスに相互変換
してパケットを中継する必要がある。
2. Description of the Related Art A terminal connected to a LAN connects a router between the LAN and the Internet, and another terminal connected to the Internet via the router (further, a terminal connected via a router). When communication is performed by mutually transmitting and receiving a packet in which an IP address is set between
The router connected between the AN and the Internet is a LAN
Local address of the above terminal (private address)
To a global address on the Internet and relay the packet.

【0003】このため、従来、NAT機構で端末のロー
カルアドレス(IPアドレス)をインターネット上のグ
ローバルアドレスに自動変換してパケットを送信し、相
手端末からの返信パケットのグローバルアドレスをロー
カルアドレスに逆変換してLAN上の端末に向けて送信
し、端末が他の端末との間で相互に通信するようにして
いた。
Conventionally, a NAT mechanism automatically converts a local address (IP address) of a terminal into a global address on the Internet, transmits a packet, and reversely converts a global address of a reply packet from a partner terminal into a local address. And transmits the data to a terminal on the LAN, so that the terminal communicates with another terminal.

【0004】この際、パケットのユーザデータ部にアド
レス情報を含む場合(例えばITU−T勧告H.323
の場合)には、上記したNAT機構では当該ユーザデー
タ部にあるアドレス情報の変換ができず、そのために、
図5に示すように、アプリケーションゲートウェイを設
けてこれによってユーザデータ部にあるアドレス情報を
含めて全体を一括してアドレス変換し中継するようにし
ていた。
[0004] At this time, when address information is included in the user data portion of the packet (for example, ITU-T Recommendation H.323)
), The NAT mechanism described above cannot convert the address information in the user data part.
As shown in FIG. 5, an application gateway is provided so that the entire address including the address information in the user data section is collectively converted and relayed.

【0005】[0005]

【発明が解決しようとする課題】上述したようにパケッ
トのユーザデータ部にアドレス情報を含む場合には、図
5に示すアプリケーションゲートウェイを設けてアドレ
ス変換を行って中継する必要があり、中継に遅延が生じ
てしまうという問題が発生した。
As described above, when address information is included in the user data portion of a packet, it is necessary to provide an application gateway shown in FIG. 5 and perform address conversion for relaying. A problem has occurred.

【0006】本発明は、これらの問題を解決するため、
パケットのアドレス変換する際に、ユーザデータ部のア
ドレス情報のみをアプリケーションゲートウェイによっ
てアドレス変換し、パケットのアドレス変換を高速に行
うと共に全体のアドレス変換機構を作成する場合に比し
て作業量を軽減することを目的としている。
[0006] The present invention solves these problems,
When converting the address of a packet, only the address information of the user data section is converted by the application gateway, thereby performing the address conversion of the packet at high speed and reducing the amount of work as compared with the case of creating the entire address conversion mechanism. It is intended to be.

【0007】[0007]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、第1のア
ドレス変換手段4は、パケットに設定されたアドレス部
のローカルアドレスとグローバルアドレスを相互に変換
するものである。
Means for solving the problem will be described with reference to FIG. In FIG. 1, a first address translation means 4 translates a local address and a global address of an address portion set in a packet into and out of each other.

【0008】第2のアドレス変換手段5は、パケットに
設定されたユーザデータ部のアドレス情報のローカルア
ドレスとグローバルアドレスを相互に変換するものであ
る。次に、動作を説明する。
The second address translation means 5 translates the local address and the global address of the address information of the user data portion set in the packet into and out of each other. Next, the operation will be described.

【0009】第1のアドレス変換手段4がローカルアド
レスの設定されたパケットを受信すると当該パケットの
アドレス部のアドレスをグローバルアドレスに変換、あ
るいはグローバルアドレスの設定されたパケットを受信
すると当該パケットのアドレス部のアドレスをローカル
アドレスに逆変換すると共に、第2のアドレス変換手段
5がローカルアドレスの設定されたパケットを受信する
と当該パケットのユーザデータ部にアドレス情報が設定
されていたときにグローバルアドレス情報に変換、ある
いはグローバルアドレス情報の設定されたパケットを受
信すると当該パケットのユーザデータ部にアドレス情報
が設定されていたときにローカルアドレス情報に逆変換
し、変換後のパケットを送出するようにしている。
When the first address translation means 4 receives a packet in which a local address is set, it converts the address of the address portion of the packet into a global address, or when it receives a packet in which the global address is set, the address portion of the packet is Is converted back to a local address, and when the second address conversion means 5 receives a packet in which the local address is set, the address is converted to global address information when the address information is set in the user data portion of the packet. Alternatively, when a packet in which global address information is set is received, when address information is set in the user data portion of the packet, the address is inversely converted to local address information, and the converted packet is transmitted.

【0010】この際、通信元の端末と通信先の端末とが
接続あるいは接続を切断する呼制御は第1のアドレス変
換手段4および第2のアドレス変換手段5によってアド
レス変換あるいはアドレス逆変換を行ない、通話時のデ
ータの送受信は第1のアドレス変換手段によってアドレ
ス変換あるいはアドレス逆変換を行うようにしている。
At this time, in the call control for connecting or disconnecting the communication source terminal and the communication destination terminal, the first address conversion means 4 and the second address conversion means 5 perform address conversion or address reverse conversion. In transmitting and receiving data during a call, the first address conversion means performs address conversion or reverse address conversion.

【0011】従って、パケットのアドレス変換する際
に、ユーザデータ部のアドレス情報のみをアプリケーシ
ョンゲートウェイを構成する第2のアドレス変換手段5
によってアドレス変換/アドレス逆変換し、パケットの
アドレス変換/アドレス逆変換を高速に行うと共に全体
のアドレス変換機構を作成する場合に比して作業量を軽
減することが可能となる。
Therefore, when the address of the packet is translated, only the address information of the user data section is converted to the second address translation means 5 constituting the application gateway.
This makes it possible to perform address conversion / address reverse conversion, perform packet address conversion / address reverse conversion at high speed, and reduce the amount of work as compared with the case where the entire address conversion mechanism is created.

【0012】[0012]

【実施例】次に、図1から図4を用いて本発明の実施の
形態および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the embodiment and operation of the present invention will be described in detail sequentially with reference to FIGS.

【0013】図1は、本発明のシステム構成図を示す。
図1において、端末1は、LAN(1)2に接続した端
末(例えばパソコン)であって、ここでは、LAN
(1)2,ルータ/ゲートウェイ3を介してネットワー
ク(例えばインターネット)に接続し、当該ネットワー
クにルータ/ゲートウェイ7、LAN(2)9を介して
接続した端末(相手)8と相互に通信するものである。
FIG. 1 shows a system configuration diagram of the present invention.
In FIG. 1, a terminal 1 is a terminal (for example, a personal computer) connected to a LAN (1) 2;
(1) 2, connecting to a network (for example, the Internet) via a router / gateway 3 and communicating with a terminal (partner) 8 connected to the network via a router / gateway 7 and a LAN (2) 9 It is.

【0014】LAN(1)2,LAN(2)9は、端末
1,8などを接続して相互にデータ通信をパケットで行
うものである。LAN(1)2,LAN(2)9内で
は、端末はローカルアドレスやローカルアドレス情報を
もとに相互に接続してパケットでデータの送受信を行い
通信するようにしている。
The LAN (1) 2 and the LAN (2) 9 connect the terminals 1 and 8 and perform data communication with each other by packets. In the LAN (1) 2 and the LAN (2) 9, the terminals are connected to each other based on local addresses and local address information to transmit and receive data in packets for communication.

【0015】ルータ/ゲートウェイ3,7は、LANと
ネットワーク6の間に接続し、中継するパケットのアド
レス変換を行うものであって、第1のアドレス変換手段
4および第2のアドレス変換手段5などから構成される
ものである。
The routers / gateways 3 and 7 are connected between the LAN and the network 6 and perform the address conversion of packets to be relayed. The first address conversion means 4 and the second address conversion means 5 are provided. It is composed of

【0016】第1のアドレス変換手段4は、ローカルア
ドレスの設定されたパケットを受信したときにパケット
のアドレス部のアドレスをグローバルアドレスに変換、
あるいはグローバルアドレスの設定されたパケットを受
信したときにパケットのアドレス部のアドレスをローカ
ルアドレスに逆変換するものである。
The first address translation means 4 translates the address of the address portion of the packet into a global address when receiving the packet in which the local address is set,
Alternatively, when a packet having a global address set is received, the address in the address portion of the packet is inversely converted to a local address.

【0017】第2のアドレス変換手段5は、ローカルア
ドレスの設定されたパケットを受信時にパケットのユー
ザデータ部にアドレス情報が設定されていたときにグロ
ーバルアドレス情報に変換、あるいはグローバルアドレ
ス情報の設定されたパケットを受信時にパケットのユー
ザデータ部にアドレス情報が設定されていたときにロー
カルアドレス情報に逆変換するものである。
The second address conversion means 5 converts a packet having a local address set therein into global address information when address information is set in the user data portion of the packet at the time of reception, or sets the global address information. When address information is set in the user data portion of the packet at the time of reception, the packet is inversely converted to local address information.

【0018】ネットワーク6は、多数の端末を直接ある
いはルータ/ゲートウェイ3,7を介して接続し、パケ
ットのアドレス部およびユーザデータ部にアドレス情報
を設定して相互に接続してデータを送受信するためのネ
ットワークであって、例えばインターネットなどであ
る。このネットワーク6内では、端末はグローバルアド
レスやグローバルアドレス情報をもとに相互に接続して
パケットでデータの送受信を行い通信するようにしてい
る。このため、ローカルアドレスを用いて相互に接続し
て通信するLAN(1)2やLAN(2)9と、グロー
バルアドレスを用いて相互に接続して通信するネットワ
ーク(インターネット)6との間で、ルータ/ゲートウ
ェイ3,7がローカルアドレスおよびローカルアドレス
情報と、グローバルアドレスおよびグローバルアドレス
情報とを相互に変換/逆変換を、本発明に係る第1のア
ドレス変換手段4および第2のアドレス変換手段5を用
いて実現するものである。以下順次詳細に説明する。
The network 6 connects a large number of terminals directly or via the routers / gateways 3 and 7, sets address information in an address portion and a user data portion of a packet, and connects to each other to transmit and receive data. Network, for example, the Internet. In the network 6, the terminals are connected to each other based on the global address and the global address information to transmit and receive data in packets to perform communication. For this reason, between the LAN (1) 2 or LAN (2) 9 that connects and communicates with each other using the local address, and the network (Internet) 6 that connects and communicates with each other using the global address, The router / gateway 3, 7 translates / reverses a local address and local address information and a global address and global address information from each other, using a first address translation unit 4 and a second address translation unit 5 according to the present invention. This is realized using. The details will be sequentially described below.

【0019】図2は、本発明の動作説明図を示す。ここ
で、端末(T1)、ゲートウェイ(R1),相手の端末
(T2)は、図1の端末(T1)1、ルータ/ゲートウ
ェイ3、端末(T2)8をそれぞれ表す。
FIG. 2 is a diagram for explaining the operation of the present invention. Here, the terminal (T1), the gateway (R1), and the partner terminal (T2) represent the terminal (T1) 1, the router / gateway 3, and the terminal (T2) 8, respectively, in FIG.

【0020】図2において、S1は、端末(T1)がセ
ットアップのパケットを送信する。これは、例えば後述
する図3の(a)の変換前のパケット(セットアップ)
に示すように、下記の情報を設定したセットアップのパ
ケットをゲートウェイ(R1)に送信する。
In FIG. 2, at step S1, the terminal (T1) transmits a setup packet. This is, for example, a packet (setup) before conversion in FIG.
As shown in (1), a setup packet in which the following information is set is transmitted to the gateway (R1).

【0021】・アドレス部(第1のアドレス変換手段4
がアドレス変換する部分、以下同様): ・送信元IPアドレス:T1 ・宛先IPアドレス :T2 ・送信元ポート :任意 ・宛先ポート :固定 ・ユーザデータ部(第2のアドレス変換手段5がアドレ
ス変換する部分、以下同様): ・送信元IPアドレス:T1 ・宛先IPアドレス :T2 ・通話ポート :P1 ここで、 T1:T1のローカルIPアドレス T2:T2のグローバルIPアドレス P1:通話ポート番号(任意) である。尚、MACアドレスは省略する。
Address part (first address conversion means 4)
), The source IP address: T1, the destination IP address: T2, the source port: any, the destination port: fixed, and the user data section (the address conversion is performed by the second address conversion means 5). (The same applies to the following.):-Source IP address: T1-Destination IP address: T2-Communication port: P1 Here, T1: Local IP address of T1 T2: Global IP address of T2 P1: Communication port number (arbitrary) is there. The MAC address is omitted.

【0022】S2は、ゲートウェイ(R1)が呼制御ポ
ート番号が固定であるので、ローカルIPアドレスから
グローバルIPアドレスに変換、および通話ポート番号
を保存する(アプリ変換(第2のアドレス変換)+アド
レス変換(第1のアドレス変換))。これにより、後述
する図3の(a)の変換後のパケット(セットアップ)
に示す下記のようにアドレス変換される。
At S2, since the call control port number is fixed by the gateway (R1), the local IP address is converted to the global IP address, and the call port number is stored (application conversion (second address conversion) + address). Translation (first address translation)). Thereby, the converted packet (setup) of FIG.
Are converted as follows.

【0023】・アドレス部: ・送信元IPアドレス:T1’ ・宛先IPアドレス :T2 ・送信元ポート :任意 ・宛先ポート :固定 ・ユーザデータ部: ・送信元IPアドレス:T1’ ・宛先IPアドレス :T2 ・通話ポート :P1 ここで、 T1’:T1のグローバルIPアドレス である。Address part: Source IP address: T1 'Destination IP address: T2 Source port: Arbitrary Destination port: Fixed User data part: Source IP address: T1' Destination IP address: T2-Call port: P1 Here, T1 ': Global IP address of T1.

【0024】S3は、S2でアドレス変換された後のパ
ケットを端末(T2)がセットアップのパケットとして
受信する。S4は、コネクトのパケットを送信する。こ
れは、後述する図3の(b)の変換前のコネクトのパケ
ットに図示の下記のアドレスおよびアドレス情報を設定
して送信する。
At S3, the terminal (T2) receives the packet after the address conversion at S2 as a setup packet. In step S4, a connect packet is transmitted. This is done by setting the following address and address information shown in the connection packet before conversion in FIG.

【0025】・アドレス部: ・送信元IPアドレス:T2 ・宛先IPアドレス :T1’ ・送信元ポート :固定 ・宛先ポート :任意 ・ユーザデータ部: ・送信元IPアドレス:T2 ・宛先IPアドレス :T1’ ・通話ポート :P2 S5は、保存した通話ポート番号が固定であるので、グ
ローバルIPアドレスからローカルIPアドレスに変
換、および通話ポート番号を保存する(アプリ変換(第
2のアドレス変換手段)+アドレス変換(第1のアドレ
ス変換))。これにより、後述する図3の(b)の変換
後のパケット(コネクト)に示す下記のようにアドレス
変換される。
Address part: Source IP address: T2 Destination IP address: T1 'Source port: Fixed Destination port: Arbitrary User data part: Source IP address: T2 Destination IP address: T1 '・ Call port: Since the stored call port number of P2 S5 is fixed, it is converted from a global IP address to a local IP address and the call port number is stored (application conversion (second address conversion means) + address Translation (first address translation)). As a result, the address is converted as shown below in the converted packet (connect) of FIG.

【0026】・アドレス部: ・送信元IPアドレス:T2 ・宛先IPアドレス :T1 ・送信元ポート :固定 ・宛先ポート :任意 ・ユーザデータ部: ・送信元IPアドレス:T2 ・宛先IPアドレス :T1 ・通話ポート :P2 S6は、端末(T1)がコネクトのパケットを受信し、
呼制御完了し、端末(T1)と端末(T2)とが接続さ
れる。
Address part: Source IP address: T2 Destination IP address: T1 Source port: Fixed Destination port: Any User data part: Source IP address: T2 Destination IP address: T1 Communication port: P2 S6, the terminal (T1) receives the connect packet,
The call control is completed, and the terminal (T1) and the terminal (T2) are connected.

【0027】S7は、端末(T1)が通話を開始する。
これは、後述する図3の(c)のT1からT2へのパケ
ットの変換前に示す図示の下記のように設定して送信す
る。 ・アドレス部 : ・送信元IPアドレス:T1 ・宛先IPアドレス :T2 ・送信元ポート :P1 ・宛先ポート :P2 S8は、呼制御ポート番号が固定であるので、ローカル
IPアドレスからグローバルIPアドレスに変換する
(アドレス変換(第1のアドレス変換)のみ)。これに
より、後述する図3の(c)のT2からT1へのパケッ
トの変換後に示す下記のようにアドレス変換される。
At S7, the terminal (T1) starts a call.
This is set and transmitted as described below before conversion of a packet from T1 to T2 in FIG. Address part: Source IP address: T1 Destination IP address: T2 Source port: P1 Destination port: P2 Since S8 has a fixed call control port number, it is converted from a local IP address to a global IP address. (Only address translation (first address translation)). As a result, the following address conversion is performed after the conversion of the packet from T2 to T1 in FIG.

【0028】・アドレス部: ・送信元IPアドレス:T1’ ・宛先IPアドレス :T2 ・送信元ポート :P1 ・宛先ポート :P2 S9は、S8で変換されて送信されたパケット(通話)
を端末(T2)が受信して通話する。そして、端末(T
2)は、パケット(通話)を送信する。
Address part: Source IP address: T1 'Destination IP address: T2 Source port: P1 Destination port: P2 S9 is a packet converted and transmitted in S8 (call)
Is received by the terminal (T2) and a call is made. Then, the terminal (T
2) transmits a packet (call).

【0029】S10は、S9で送信されたパケット(通
話)を受信したゲートウェイ(R1)が保存した通話ポ
ート番号であるので、グローバルIPアドレスからロー
カルIPアドレスに変換する(アドレス変換(第1のア
ドレス変換)のみ)。これは、受信した後述する図3の
(c)のT2からT1へのパケットの変換前に示す下記
のアドレスを、変換後に示す下記のアドレスに変換す
る。
Since S10 is the call port number stored by the gateway (R1) that has received the packet (call) transmitted in S9, it is converted from a global IP address to a local IP address (address conversion (first address). Conversion) only). In this case, the following address shown before the conversion of the received packet from T2 to T1 in FIG. 3C described later is converted into the following address shown after the conversion.

【0030】・変換前: ・アドレス部: ・送信元IPアドレス:T2 ・宛先IPアドレス :T1’ ・送信元ポート :P2 ・宛先ポート :P1 ・変換後: ・アドレス部: ・送信元IPアドレス:T2 ・宛先IPアドレス :T1 ・送信元ポート :P2 ・宛先ポート :P1 S11は、通話終了する。Before conversion: Address part: Source IP address: T2 Destination IP address: T1 'Source port: P2 Destination port: P1 After conversion: Address part: Source IP address: T2 • Destination IP address: T1 • Source port: P2 • Destination port: P1 S11 ends the call.

【0031】S12は、ディスコネクトのパケットを送
信する。S13は、ゲートウェイ(R1)が呼制御ポー
ト番号が固定であるので、ローカルIPアドレスからグ
ローバルIPアドレスに変換、および通話ポート番号の
保存領域からの削除(アプリ変換(第2のアドレス変
換)+アドレス変換(第1のアドレス変換))。
In step S12, a disconnect packet is transmitted. In step S13, since the gateway (R1) has a fixed call control port number, the local IP address is converted to the global IP address, and the call port number is deleted from the storage area (application conversion (second address conversion) + address). Translation (first address translation)).

【0032】S14は、S13でアドレス変換された後
のパケット端末(T2)がディスコネクトのパケットと
して受信される。S15は、ディスコネクト応答のパケ
ットを送信する。
In S14, the packet terminal (T2) after the address conversion in S13 is received as a disconnect packet. In step S15, a disconnect response packet is transmitted.

【0033】S16は、呼制御用ポート番号が固定であ
るので、グローバルIPアドレスからローカルIPアド
レスに変換する(アプリ変換(第2のアドレス変換手
段)+アドレス変換(第1のアドレス変換))。
In step S16, since the call control port number is fixed, the global IP address is converted to the local IP address (application conversion (second address conversion means) + address conversion (first address conversion)).

【0034】S17は、端末(T1)がディスコネクト
応答のパケットを受信し、呼制御切断完了する。以上の
ように、パケット(セットアップ)およびパケット(コ
ネクト)を端末(T1)と端末(T2)との間で送受信
して接続し、パケット(通話)を相互に送受信して通話
し、パケット(ディスコネクト)およびパケット(ディ
スコネクト応答)を端末(T1)と端末(T2)との間
で送受信して切断するという一連の処理を行うときに、
第1のアドレス変換手段4によってパケットのアドレス
部のローカルIPアドレスとグローバルIPアドレスと
の変換/逆変換を行うと共に第2のアドレス変換手段5
によってパケットのユーザデータ部のローカルIPアド
レスとグローバルIPアドレスとの変換/逆変換を行う
ことが可能となる。
At S17, the terminal (T1) receives the disconnect response packet, and the call control disconnection is completed. As described above, the packet (setup) and the packet (connect) are transmitted and received between the terminal (T1) and the terminal (T2) and connected, the packet (call) is mutually transmitted and received, and the communication is performed. When performing a series of processing of transmitting and receiving a connection (connect) and a packet (disconnect response) between the terminal (T1) and the terminal (T2) and disconnecting the same,
The first address conversion means 4 performs conversion / reverse conversion between the local IP address and the global IP address in the address portion of the packet, and the second address conversion means 5
Thus, conversion / reverse conversion between the local IP address and the global IP address of the user data portion of the packet can be performed.

【0035】図3は、本発明のパケット例を示す。図3
の(a)は、パケット(セットアップ)例を示す。ここ
で、変換前のパケット(セットパップ)は、図2のS1
で端末(T1)がゲートウェイ(R1)に送信するもの
であり、変換後のパケット(セットアップ)はゲートウ
ェイ(R1)がアドレス変換した後のものであり、図示
の下記のように変換(設定)する。
FIG. 3 shows an example of a packet according to the present invention. FIG.
3A shows an example of a packet (setup). Here, the packet before conversion (set pup) is S1 in FIG.
Is transmitted from the terminal (T1) to the gateway (R1), and the converted packet (setup) is a packet after the gateway (R1) performs address conversion, and is converted (set) as shown in the figure below. .

【0036】 ここで、 T1:T1のローカルIPアドレス T1’:T1のグローバルIPアドレス T2:T2のグローバルIPアドレス P1:通話ポート番号(任意) 図3の(b)は、パケット(コネクト)例を示す。ここ
で、変換前のパケット(コネクト)は、図2のS4で端
末(T2)がゲートウェイ(R1)に送信するものであ
り、変換後のパケット(コネクト)はゲートウェイ(R
1)がアドレス変換した後のものであり、図示の下記の
ように変換(設定)する。
[0036] Here, T1: local IP address of T1 T1 ′: global IP address of T1 T2: global IP address of T2 P1: call port number (arbitrary) FIG. 3B shows an example of a packet (connect). Here, the packet (connect) before the conversion is the one that the terminal (T2) transmits to the gateway (R1) in S4 of FIG. 2, and the packet (connect) after the conversion is the gateway (R).
1) is the one after the address conversion, which is converted (set) as shown in the figure below.

【0037】 図3の(c)は、パケット(通話)例を示す。ここで、
T1からT2へのパケットの変換前は、図2のS7で端
末(T1)がゲートウェイ(R1)に送信するものであ
り、変換後はゲートウェイ(R1)がアドレス変換した
後のものであり、図示の下記のように変換(設定)す
る。
[0037] FIG. 3C shows an example of a packet (call). here,
Before the conversion of the packet from T1 to T2, the terminal (T1) transmits the packet to the gateway (R1) in S7 of FIG. 2, and after the conversion, the address is converted by the gateway (R1). Is converted (set) as shown below.

【0038】 また、T2からT1へのパケットの変換前は、図2のS
9で端末(T2)がゲートウェイ(R1)に送信するも
のであり、変換後はゲートウェイ(R1)がアドレス変
換した後のものであり、図示の下記のように変換(設
定)する。
[0038] Before the conversion of the packet from T2 to T1, S in FIG.
In step 9, the terminal (T2) transmits to the gateway (R1). After the conversion, the address is converted by the gateway (R1), and the address is converted (set) as shown in the figure below.

【0039】 図4は、本発明の説明図を示す。これは、ITU−T勧
告H.323に適用した例を示す。H.323のデータ
は、既述した図3の(c)のパケット(通話)に相当す
るので、パケット(通話)中のアドレス部を第1のアド
レス変換手段4がローカルIPアドレスとグローバルI
Pアドレスとを相互にアドレス変換/アドレス逆変換す
る(パケット(通話)のユーザデータ部にはアドレス情
報がないため、第2のアドレス変換手段5は動作する必
要がない)。
[0039] FIG. 4 shows an explanatory diagram of the present invention. This is described in ITU-T Recommendation H.264. An example applied to H.323 is shown. H. Since the data in H.323 corresponds to the packet (call) in FIG. 3C described above, the first address conversion means 4 converts the address portion in the packet (call) into the local IP address and the global I
The P-address and the P-address are mutually translated / reversed (there is no need to operate the second address translation means 5 because there is no address information in the user data portion of the packet (call)).

【0040】一方、H.323の呼制御は、既述した図
3の(a)、(c)のパケット(セットアップ)、パケ
ット(コネクト)に相当するので、パケット(セットア
ップ)、パケット(コネクト)中のアドレス部を第1の
アドレス変換手段4がローカルIPアドレスとグローバ
ルIPアドレスとを相互にアドレス変換/アドレス逆変
換すると共に、ユーザデータ部のアドレス情報を第2の
アドレス変換手段5がローカルIPアドレスとグローバ
ルIPアドレスとを相互にアドレス変換/アドレス逆変
換する。この際、第2のアドレス変換手段5はアプリケ
ーションプログラムによって行うので、第1のアドレス
変換手段4よりも時間が多く必要になるが、全部(第1
のアドレス変換手段4および第2のアドレス変換手段4
の両者)を一括してアプリケーションプログラムによっ
て行うよりも大幅に処理速度が速くなる。
On the other hand, H. Since the call control of H.323 corresponds to the packet (setup) and the packet (connect) in FIGS. 3A and 3C described above, the address part in the packet (setup) and the packet (connect) is set to the first. The address conversion means 4 performs the address conversion / address reverse conversion between the local IP address and the global IP address, and the second address conversion means 5 converts the address information of the user data portion into the local IP address and the global IP address. Address conversion / address reverse conversion is performed mutually. At this time, since the second address translation means 5 is performed by the application program, it requires more time than the first address translation means 4, but all of them (the first
Address conversion means 4 and second address conversion means 4
The processing speed is significantly higher than when both are performed collectively by the application program.

【0041】[0041]

【発明の効果】以上説明したように、本発明によれば、
パケットのアドレス変換する際に、ユーザデータ部のア
ドレス情報のみをアプリケーションゲートウェイの第2
のアドレス変換手段5によってアドレス変換/アドレス
逆変換する構成を採用しているため、パケットのアドレ
ス部およびユーザデータ部にあるアドレス情報をローカ
ルIPアドレスとグローバルIPアドレスとを相互変換
する必要がある場合に、アドレス変換/アドレス逆変換
を容易かつ高速に実行できると共に、全体をアプリケー
ションゲートウェイによって行うよりも設計作業量を大
幅に軽減できる。
As described above, according to the present invention,
When translating the address of the packet, only the address information of the user data part is transferred to the second application gateway.
In the case where it is necessary to convert the address information in the address portion and the user data portion of the packet between the local IP address and the global IP address because the address conversion / reverse address conversion is adopted by the address conversion means 5 of FIG. In addition, address conversion / address reverse conversion can be performed easily and at high speed, and the amount of design work can be greatly reduced as compared with the case where the whole is performed by the application gateway.

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

【図1】本発明のシステム構成図である。FIG. 1 is a system configuration diagram of the present invention.

【図2】本発明の動作説明図である。FIG. 2 is a diagram illustrating the operation of the present invention.

【図3】本発明のパケット例である。FIG. 3 is an example of a packet according to the present invention.

【図4】本発明の説明図である。FIG. 4 is an explanatory diagram of the present invention.

【図5】従来技術の説明図である。FIG. 5 is an explanatory diagram of a conventional technique.

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

1、8:端末 2、9:LAN 3、7:ルータ/ゲートウェイ 4:第1のアドレス変換手段 5:第2のアドレス変換手段 6:ネットワーク(インターネット) 1, 8: terminal 2, 9: LAN 3, 7: router / gateway 4: first address converter 5: second address converter 6: network (Internet)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 船渡川 克巳 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユー内 (72)発明者 中村 英二 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユー内 (72)発明者 岡田 晋 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユー内 Fターム(参考) 5K030 GA01 GA17 HB19 HC14 HD03 HD07 HD09 KA02 9A001 CC07 CC08 DD10 EZ02 JZ25 KK56  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Katsumi Funatogawa 98 Uno-Ki-nu, Unoki-cho, Kawakita-gun, Ishikawa Pref. No. 2 Inside PF Yu Co., Ltd. (72) Inventor Susumu Okada 98 Uno Ki-nu, Unoki-cho, Kawakita-gun, Ishikawa Prefecture F-term inside FU Yu Co., Ltd. 5Reference 030 GA01 GA17 HB19 HC14 HD03 HD07 HD09 KA02 9A001 CC07 CC08 CC10 DD10 EZ02 JZ25 KK56

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】パケットに設定されたローカルアドレス情
報とグローバルアドレス情報を相互に変換するアドレス
変換装置において、 ローカルアドレスの設定されたパケットを受信すると当
該パケットのアドレス部のアドレスをグローバルアドレ
スに変換、あるいはグローバルアドレスの設定されたパ
ケットを受信すると当該パケットのアドレス部のアドレ
スをローカルアドレスに逆変換する第1のアドレス変換
手段と、 上記ローカルアドレスの設定されたパケットを受信する
と当該パケットのユーザデータ部にアドレス情報が設定
されていたときにグローバルアドレス情報に変換、ある
いはグローバルアドレス情報の設定されたパケットを受
信すると当該パケットのユーザデータ部にアドレス情報
が設定されていたときにローカルアドレス情報に逆変換
する第2のアドレス変換手段とを備えたことを特徴とす
るアドレス変換装置。
An address translation device for mutually translating local address information and global address information set in a packet, when receiving a packet in which a local address is set, translates an address of an address portion of the packet into a global address, Alternatively, first address conversion means for reversely converting the address of the address portion of the packet to a local address when receiving a packet in which the global address is set, and user data portion of the packet when receiving the packet in which the local address is set If the address information is set in the address, it is converted to global address information, or if a packet in which the global address information is set is received, if the address information is set in the user data part of the packet, the local address is set. Address conversion device is characterized in that a second address conversion means for inversely converting the broadcast.
【請求項2】通信元の端末と通信先の端末とが接続ある
いは接続を切断するときの呼制御は上記第1のアドレス
変換手段および上記第2のアドレス変換手段によってア
ドレス変換およびアドレス逆変換を行ない、通話時のデ
ータの送受信は上記第1のアドレス変換手段によってア
ドレス変換およびアドレス逆変換を行うことを特徴とす
る請求項1記載のアドレス変換装置。
2. The call control when a communication source terminal and a communication destination terminal are connected or disconnected is performed by the first address conversion means and the second address conversion means by performing address conversion and reverse address conversion. 2. The address translator according to claim 1, wherein the first address translator performs address translation and reverse address translation for data transmission and reception during a call.
【請求項3】ローカルアドレスの設定されたパケットを
受信すると当該パケットのアドレス部のアドレスをグロ
ーバルアドレスに変換、あるいはグローバルアドレスの
設定されたパケットを受信すると当該パケットのアドレ
ス部のアドレスをローカルアドレスに逆変換する第1の
アドレス変換手段と、 上記ローカルアドレスの設定されたパケットを受信する
と当該パケットのユーザデータ部にアドレス情報が設定
されていたときにグローバルアドレス情報に変換、ある
いはグローバルアドレス情報の設定されたパケットを受
信すると当該パケットのユーザデータ部にアドレス情報
が設定されていたときにローカルアドレス情報に逆変換
する第2のアドレス変換手段として機能させるプログラ
ムを記録したコンピュータ読み取り可能な記録媒体。
3. When a packet with a local address set is received, the address of the address portion of the packet is converted to a global address, or when a packet with a global address set is received, the address of the address portion of the packet is changed to a local address. First address conversion means for performing reverse conversion, and when receiving a packet in which the local address is set, converting the address into global address information when address information is set in the user data portion of the packet, or setting global address information Computer-readable recording medium on which is recorded a program for functioning as second address conversion means for performing reverse conversion to local address information when address information is set in the user data portion of the received packet when the packet is received .
JP10330875A 1998-11-20 1998-11-20 Address converter and recording medium Pending JP2000156709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10330875A JP2000156709A (en) 1998-11-20 1998-11-20 Address converter and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10330875A JP2000156709A (en) 1998-11-20 1998-11-20 Address converter and recording medium

Publications (1)

Publication Number Publication Date
JP2000156709A true JP2000156709A (en) 2000-06-06

Family

ID=18237499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10330875A Pending JP2000156709A (en) 1998-11-20 1998-11-20 Address converter and recording medium

Country Status (1)

Country Link
JP (1) JP2000156709A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002152260A (en) * 2000-11-13 2002-05-24 Oki Electric Ind Co Ltd Communication apparatus having address conversion function and multimedia communication method
JP2002190810A (en) * 2000-12-21 2002-07-05 Hitachi Ltd Network management system
JP2004506385A (en) * 2000-08-08 2004-02-26 フランス テレコム Conversion of User Installation Terminal Identifier in Packet Network
JP2009207207A (en) * 2009-06-18 2009-09-10 Hitachi Ltd Address converter, method of processing message, and device
JP2009207206A (en) * 2009-06-18 2009-09-10 Hitachi Ltd Address converter, method of processing message, and device
US7761597B2 (en) 2001-12-07 2010-07-20 Hitachi, Ltd. Address translator, message processing method and equipment
JP2010166189A (en) * 2009-01-14 2010-07-29 Nec Corp Ip repeater, communication system, and tcp flow control method used for them
JP2011525306A (en) * 2008-04-02 2011-09-15 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Service distribution to consumer electronics devices using mobile communication units for access control and service control

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004506385A (en) * 2000-08-08 2004-02-26 フランス テレコム Conversion of User Installation Terminal Identifier in Packet Network
JP4696440B2 (en) * 2000-08-08 2011-06-08 フランス・テレコム Conversion of user installation terminal identifier in packet network
JP2002152260A (en) * 2000-11-13 2002-05-24 Oki Electric Ind Co Ltd Communication apparatus having address conversion function and multimedia communication method
JP4723077B2 (en) * 2000-11-13 2011-07-13 沖電気工業株式会社 Communication device with address conversion function and multimedia communication method
JP2002190810A (en) * 2000-12-21 2002-07-05 Hitachi Ltd Network management system
US8601161B2 (en) 2001-12-07 2013-12-03 Hitachi, Ltd. Address translator, message processing method and equipment
US9088525B2 (en) 2001-12-07 2015-07-21 Hitachi, Ltd. Address translator, message processing method and equipment
US7761597B2 (en) 2001-12-07 2010-07-20 Hitachi, Ltd. Address translator, message processing method and equipment
US7788408B2 (en) 2001-12-07 2010-08-31 Hitachi, Ltd. Address translator, message processing method and equipment
US8131863B2 (en) 2001-12-07 2012-03-06 Hitachi, Ltd. Address translator, message processing method and equipment
US8879524B2 (en) 2008-04-02 2014-11-04 Telefonaktiebolaget L M Ericsson (Publ) Service delivery to a consumer electronic device using a mobile communication unit for access and service control
JP2011525306A (en) * 2008-04-02 2011-09-15 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Service distribution to consumer electronics devices using mobile communication units for access control and service control
JP2010166189A (en) * 2009-01-14 2010-07-29 Nec Corp Ip repeater, communication system, and tcp flow control method used for them
JP2009207206A (en) * 2009-06-18 2009-09-10 Hitachi Ltd Address converter, method of processing message, and device
JP2009207207A (en) * 2009-06-18 2009-09-10 Hitachi Ltd Address converter, method of processing message, and device

Similar Documents

Publication Publication Date Title
EP0881812B1 (en) Telephone communication method capable of relating a telephone terminal and a speech channel IP address at the time of call connection
US7088726B1 (en) Translator for IP networks, network system using the translator, and IP network coupling method therefor
US8340089B2 (en) Apparatus and method for managing data transfer in VoIP gateway
JP2001230774A (en) Packet converter and packet conversion method
JPH11112577A (en) Interconnection system between lan systems and network service system
US20070097919A1 (en) Access point device and a communications system for effectively using a proxy ARP function
JPH10154995A (en) Gateway system and method for relaying packet
JPH098838A (en) Method and device for lan interconnection
JPH07307789A (en) Packet communication equipment
JP2000156709A (en) Address converter and recording medium
JPH07212404A (en) Inter-network data repeater
JP2001156852A (en) Network address conversion device
JP5070139B2 (en) Communication relay device, communication system, communication method, and program
JP2002101256A (en) Facsimile equipment for ip network communication
JP2003258836A (en) Method and system for communication in identical private address space, and repeater
JP4143479B2 (en) Communication system between subscriber terminals
JP3653033B2 (en) Communication system, relay node, conversion name resolution server, relay method and program
JP3468085B2 (en) Data conversion and transfer device
US20010000301A1 (en) Device and system for providing access to the internet
JP2004297556A (en) Internet telephone and internet telephone system
JP2003060871A (en) Communication equipment, its method and its program
JPH07154428A (en) Inter-lan connection system by isdn
JP3936319B2 (en) Communication confirmation method, data relay device, data relay system
JP3508060B2 (en) Infrared communication method
KR100269347B1 (en) Method for interfacing lan to atm