JP2009207206A - Address converter, method of processing message, and device - Google Patents

Address converter, method of processing message, and device Download PDF

Info

Publication number
JP2009207206A
JP2009207206A JP2009144879A JP2009144879A JP2009207206A JP 2009207206 A JP2009207206 A JP 2009207206A JP 2009144879 A JP2009144879 A JP 2009144879A JP 2009144879 A JP2009144879 A JP 2009144879A JP 2009207206 A JP2009207206 A JP 2009207206A
Authority
JP
Japan
Prior art keywords
address
conversion
information
sip
protocol
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
JP2009144879A
Other languages
Japanese (ja)
Other versions
JP4793476B2 (en
Inventor
Sachiko Takeda
幸子 武田
Hidenori Inai
秀則 井内
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2009144879A priority Critical patent/JP4793476B2/en
Publication of JP2009207206A publication Critical patent/JP2009207206A/en
Application granted granted Critical
Publication of JP4793476B2 publication Critical patent/JP4793476B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem wherein SIP communication cannot be performed between different regions since an address converter does not convert an address in an SIP message. <P>SOLUTION: The address converter 1 has an SIP message detection function. The address converter 1 transmits the SIP message to an SIP address converter 2, when detecting the SIP message. The SIP address converter 2 extracts an address to be converted for inquiring of the address converter 1. The SIP address converter 2 utilizes the conversion information of the address converter 1 to convert an IP address included in the SIP message. The address converter 1 cooperates with the SIP address converter 2 to enable SIP communication between terminals belonging to different regions. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、同じプロトコルに従う網、あるいは、異なるプロトコルに従う網を相互接続する方式に関する。 The present invention relates to a system for interconnecting networks according to the same protocol or networks according to different protocols.

インターネットをはじめとするIP(Internet Protocol)網が急速に発展している。インターネット利用者の急増に伴い、通信網におけるデータ通信の割合が増加している。通信事業者はIPベースの次世代通信網を構築し、データ通信と音声通信の融合を検討している。VoIP(Voice over IP)はIP網上で音声情報を送信する技術である。VoIPは、まず通信装置間に仮想的な通話路(セッション)を設定する。IPパケット化された音声データは、設定した通信路上で転送される。通信装置間のセッション確立、維持、切断を制御するため、セッション制御プロトコルが要求される。
IETF (Internet Engineering Task Force)は、IPマルチメディア通信のセッション確立および終了を行うため、SIP(Session Initiation Protocol) (IETF RFC2543)を仕様化した。SIPは機能の拡張性が高いため、VoIPのセッション制御プロトコルとして注目されている。SIPはTCP (Transmission Control Protocol)やUDP (User Datagram Protocol)などのトランスポートメカニズムを利用するアプリケーションプロトコルである。SIPはテキストベースのプロトコルであり、要求または応答を搬送するヘッダ部とセッションの内容を記述するメッセージボディから構成される。SIPのセッション記述には、例えばSDP(Session Description Protocol)(IETF RFC2327)が適用される。SIPはクライアント・サーバモデルのアーキテクチャを採用している。発信クライアントは、着信クライアントの代理(SIPサーバ)宛にSIP要求を送信する。SIPサーバは、DNS(Domain Name System)などを用いて通信先のアドレス解決を行い、端末間のセッションを確立する。SIPサーバは、その役割によりProxyモードとRedirectモードとがある。Proxyモードは、発信クライアントと着信クライアント間のセッション確立要求をProxy Serverが仲介する方法である。Redirectモードは、発信クライアントがSIP Redirectサーバから得た着信先の情報を利用して、着信クライアントに直接接続する方法である。以下、ProxyモードのSIPサーバを用いたSIP接続手順を説明する。IP網の端末xがIP網の端末yとSIPを用いて音声通信をはじめる場合、端末xがSIPサーバに対して呼設定要求(INVITE)を送信する。SIPサーバは端末yの位置情報を特定して呼設定要求を送信する。端末yは呼の受け付けを示す応答を送信する。この応答は、呼設定要求が通過したSIPサーバを経由して端末xに送信される。端末xが端末yにACK要求を送信することにより応答の受信を確認する。ACK要求はSIPサーバによって転送されるか、あるいは、端末yに直接送信される。以上で端末xと端末yの間の通信が可能になる。通常、呼設定要求と応答は、端末xと端末yの間でユーザ情報(音声パケット)を転送するための情報(セッション記述)を含む。セッション記述には、SDPなどが適用される。端末x(端末y)は端末y(端末x)が指定した宛先にユーザ情報を送付する。SIP及びSDPの仕様に従うと、端末やSIPサーバの情報はIPアドレスで指定することが可能である。
一方、IP網の急速な普及に伴い、アドレス体系が異なる領域を相互接続する技術が重要になっている。例えば、プライベートアドレスに従う網とパブリックアドレスに従う網を相互接続する技術として、 NAT(Network Address Translator)技術を使う方法(IETF RFC1631)が知られている。NATは、プライベートIPv4アドレスとパブリックIPv4アドレスの変換を行う。基本NATは、NATルータで接続された二つの領域間でデータグラムが通過する時点で、送信元アドレスもしくは着信先アドレスのどちらか一方を書き換える。プライベート網のアドレス空間とパブリック網のアドレス空間が衝突する場合には、アドレス衝突を解決するため、Twice NAT技術が使われることが多い。Twice NAT技術は、Twice NATルータで接続された二つの領域間でデータグラムが通過する時点で、送信元アドレスと着信先アドレスの両方を書き換える。アドレス衝突を解決するため、Twice NATは以下のように動作する。プライベート領域内のHost−Aがパブリック領域内のHost−Xと通信をはじめる場合には、Host−A はHost−XのDNSアドレス問い合わせパケットを送信する。DNS−ALG(Domain Name Service − Application Level Gateway)がこのパケットを捕捉し、かつHost−Xに対するアドレスをプライベート領域内でルーティング可能なアドレス(Host−XPRIME)に変換してHost−Aに返す。DNSアドレス解決が終了したらHost−AはHost−XPRIMEとの間で通信を開始する。このパケットがTwice NATを通過する時点で、送信元アドレスがNATの持つアドレスに書き換えられ、着信先アドレスはHost−Xに書き換わる。Host−Xからの返信パケットもこれと同様の変換が行われる。上記DNS−ALGの動作詳細については、IETF RFC2694に詳細が記載されている。以上の例は、ある端末が属する網と通信相手の端末が属する網の通信プロトコルが同一の場合に使われる技術である。ある端末が属する網と通信相手の端末が属する網の通信プロトコルが異なる場合には、例えばプロトコルとしてIPv4を用いる網(以下IPv4網と呼ぶ)とInternet Protocol version 6を使用する網(以下IPv6網と呼ぶ)を接続する変換方式としてNAT−PT(IETF RFC2766)、SOCKS64(IETF RFC3089)等が知られている。いずれも基本的にIPパケットのフォーマットをIPv4とIPv6とで相互に変換する。例えば、IPv4アドレスとIPv6アドレスの変換を行う。この変換を行う装置を以下トランスレータと呼ぶ。トランスレータでは変換のために、変換の前にIPv4アドレスとIPv6アドレスの対応関係を作成し、保持しておく必要がある。この対応関係を通信が発生するたびに動的に作成する場合に、そのきっかけとしてDNS(ドメインネームシステム)の名前解決が利用される(アスキー出版、インターネットRFC事典、pp323−329を参照)。DNSはウェブのURLのような人間にわかりやすい名前(文字列)を、IPアドレスに変換するシステムである。以下名前をIPアドレスに変換する操作を名前解決と呼ぶ。今日ではインターネット上のほぼすべてのアプリケーションがこのDNSを利用して通信相手のIPアドレスを取得している。NAT、及びトランスレータはこの事実を利用し、通信開始にあたってやり取りされるDNSのメッセージを常に監視しており、名前解決の要求メッセージを変換情報(IPアドレスの対応関係等)を作成するきっかけとする。具体的には、IPv6端末がある名前について名前解決を行ったとき、その応答であるIPアドレスがIPv4だった場合、このIPv4アドレスをIPv6アドレスに書き換えてIPv6端末に送り返す。そして、書き換える前のIPv4アドレスと書き換えたIPv6アドレスを対応付ける。つまりDNS−ALGは名前解決の応答メッセージを横取りして書き換え、この書き換える前と書き換えた後の情報をもとに変換情報を動的に作成する。
An IP (Internet Protocol) network including the Internet is rapidly developing. With the rapid increase in Internet users, the rate of data communication in the communication network is increasing. Telecommunications carriers are building next-generation IP-based communication networks and are considering the fusion of data and voice communications. VoIP (Voice over IP) is a technology for transmitting voice information over an IP network. VoIP first sets up a virtual speech path (session) between communication devices. The voice data converted into the IP packet is transferred on the set communication path. A session control protocol is required to control session establishment, maintenance, and disconnection between communication devices.
IETF (Internet Engineering Task Force) has specified SIP (Session Initiation Protocol) (IETF RFC2543) in order to establish and terminate a session of IP multimedia communication. SIP has attracted attention as a session control protocol for VoIP because of its high function expandability. SIP is an application protocol that uses a transport mechanism such as TCP (Transmission Control Protocol) or UDP (User Datagram Protocol). SIP is a text-based protocol and is composed of a header part that carries a request or a response and a message body that describes the contents of the session. For example, SDP (Session Description Protocol) (IETF RFC2327) is applied to the SIP session description. SIP employs a client-server model architecture. The outgoing client sends a SIP request to the proxy (SIP server) of the incoming client. The SIP server uses DNS (Domain Name System) or the like to resolve the address of the communication destination and establish a session between the terminals. The SIP server has a Proxy mode and a Redirect mode depending on its role. The Proxy mode is a method in which a Proxy Server mediates a session establishment request between an outgoing client and an incoming client. The redirect mode is a method in which the originating client uses the destination information obtained from the SIP redirect server to directly connect to the incoming client. Hereinafter, a SIP connection procedure using a proxy mode SIP server will be described. When the IP network terminal x starts voice communication with the IP network terminal y using SIP, the terminal x transmits a call setting request (INVITE) to the SIP server. The SIP server specifies the location information of the terminal y and transmits a call setting request. The terminal y transmits a response indicating acceptance of the call. This response is transmitted to the terminal x via the SIP server through which the call setting request has passed. Terminal x confirms receipt of the response by sending an ACK request to terminal y. The ACK request is transferred by the SIP server or directly sent to the terminal y. As described above, communication between the terminal x and the terminal y becomes possible. Usually, the call setup request and response include information (session description) for transferring user information (voice packet) between the terminal x and the terminal y. For the session description, SDP or the like is applied. The terminal x (terminal y) sends the user information to the destination designated by the terminal y (terminal x). According to the specifications of SIP and SDP, information on terminals and SIP servers can be specified by IP addresses.
On the other hand, with the rapid spread of IP networks, technology for interconnecting areas with different address systems is becoming important. For example, as a technique for interconnecting a network according to a private address and a network according to a public address, a method (IETF RFC1631) using a NAT (Network Address Translator) technique is known. NAT performs conversion between a private IPv4 address and a public IPv4 address. The basic NAT rewrites either the source address or the destination address when the datagram passes between the two areas connected by the NAT router. When the address space of the private network and the address space of the public network collide, the Twice NAT technology is often used to solve the address conflict. The Twice NAT technique rewrites both the source address and the destination address when a datagram passes between two areas connected by a Twice NAT router. In order to resolve the address conflict, Twice NAT operates as follows. When Host-A in the private area starts to communicate with Host-X in the public area, Host-A transmits a DNS address inquiry packet of Host-X. DNS-ALG (Domain Name Service-Application Level Gateway) captures this packet, converts the address for Host-X into an address (Host-XPRIME) routable in the private area, and returns it to Host-A. When the DNS address resolution is completed, Host-A starts communication with Host-XPRIME. When this packet passes through Twice NAT, the transmission source address is rewritten to the address possessed by NAT, and the destination address is rewritten to Host-X. The return packet from Host-X is also converted in the same manner. Details of the operation of the DNS-ALG are described in IETF RFC2694. The above example is a technique used when the communication protocol of the network to which a certain terminal belongs and the network to which the communication partner terminal belongs are the same. When the communication protocol of a network to which a certain terminal belongs and a network to which a communication partner terminal belongs are different, for example, a network using IPv4 as a protocol (hereinafter referred to as IPv4 network) and a network using Internet Protocol version 6 (hereinafter referred to as IPv6 network). NAT-PT (IETF RFC2766), SOCKS64 (IETF RFC3089), and the like are known as conversion methods for connecting the devices. In either case, the format of the IP packet is basically converted between IPv4 and IPv6. For example, an IPv4 address and an IPv6 address are converted. An apparatus that performs this conversion is hereinafter referred to as a translator. The translator needs to create and maintain a correspondence relationship between the IPv4 address and the IPv6 address before conversion for conversion. When this correspondence is dynamically created each time communication occurs, DNS (Domain Name System) name resolution is used as a trigger (see ASCII Publishing, Internet RFC Dictionary, pp 323-329). DNS is a system that converts human-friendly names (character strings) such as web URLs into IP addresses. Hereinafter, the operation of converting a name into an IP address is called name resolution. Today, almost all applications on the Internet use this DNS to obtain the IP address of the communication partner. Using this fact, the NAT and the translator constantly monitor the DNS message exchanged at the start of communication, and use the name resolution request message as a trigger for creating conversion information (IP address correspondence, etc.). Specifically, when name resolution is performed for a certain name of an IPv6 terminal, if the IP address as a response is IPv4, the IPv4 address is rewritten to an IPv6 address and sent back to the IPv6 terminal. Then, the IPv4 address before rewriting is associated with the rewritten IPv6 address. That is, the DNS-ALG intercepts and rewrites the name resolution response message, and dynamically creates conversion information based on the information before and after the rewriting.

IPパケットは、パケットの転送情報を含むIPヘッダ、TCP/UDPヘッダ、アプリケーションデータの構成をとる。NATやNAT−PTに代表されるトランスレータは、アプリケーションデータに含まれるIPアドレスを変換しない。   An IP packet has an IP header including packet transfer information, a TCP / UDP header, and application data. Translators represented by NAT and NAT-PT do not convert IP addresses included in application data.

一方、SIP及びSDPは上述した通り、アプリケーションデータにIPアドレスを設定することができる。   On the other hand, SIP and SDP can set an IP address in application data as described above.

しかし、領域Aと領域Bがアドレス変換装置で相互接続され、領域Aに属する端末と領域Bに属する端末がSIPによる通信を行う場合、従来のNATやトランスレータはSIP及びSDPに設定されたIPアドレスを変換しないため、SIPによる端末間通信ができないという課題がある。本発明の目的は、ある端末が属する網と通信相手の端末が属する網のアドレス体系が異なる場合でも、SIPによる端末どうしの通信を可能にするSIPメッセージ変換方式を提供することにある。   However, when the area A and the area B are interconnected by the address translation device, and the terminal belonging to the area A and the terminal belonging to the area B perform communication by SIP, the conventional NAT or translator uses the IP address set in SIP and SDP. There is a problem that communication between terminals by SIP cannot be performed. An object of the present invention is to provide a SIP message conversion method that enables communication between terminals by SIP even when a network to which a certain terminal belongs and a network to which a communication partner terminal belongs are different.

上記の問題を解決するために、本願発明は、第1の部分と第2の部分を含むメッセージを処理する方法であって、
第1の部分の情報を、第1のプロトコル(あるいはアドレス体系)に従う情報から第2のプロトコル(あるいはアドレス体系)に従う情報に変換する第1の変換処理と、
第2の部分に変換が必要か否かを判断する処理と、
変換が必要と判断された第2の部分の情報に対して、第1のプロトコルに従う情報から第2のプロトコルに従う情報に変換する第2の変換処理とを行うことを特徴とする。第1の変換処理と第2の変換処理の順序は任意である。
To solve the above problem, the present invention is a method for processing a message including a first part and a second part, comprising:
A first conversion process for converting information of the first portion from information according to the first protocol (or address system) to information according to the second protocol (or address system);
A process for determining whether the second part needs to be converted;
A second conversion process of converting information according to the first protocol into information according to the second protocol is performed on the information of the second portion determined to be necessary for conversion. The order of the first conversion process and the second conversion process is arbitrary.

これらの操作は、第1のサーバと第2のサーバを用い、第1の変換処理を第1のサーバで行い、少なくとも第2の部分の情報を、第1のサーバから第2のサーバへ転送し、第2のサーバは、変換が必要なパラメータを第2の部分から抽出し、抽出されたパラメータについて、第2の変換処理を第2のサーバで行い、第2の変換処理の施された第2の部分の情報を、第2のサーバから第1のサーバへ転送することとしてもよい。   These operations use the first server and the second server, perform the first conversion process on the first server, and transfer at least the second part information from the first server to the second server. Then, the second server extracts the parameter that needs to be converted from the second part, and the second server performs the second conversion process on the extracted parameter, and the second conversion process is performed. The information of the second part may be transferred from the second server to the first server.

あるいは、単一のサーバ内で内部バスにより繋がれた複数のプロセッサが共同で処理を行ってもよい。また、単一のサーバー内の単一のプロセッサ上で稼働する、複数のプログラムが共同で処理を行ってもよい。   Alternatively, a plurality of processors connected by an internal bus in a single server may jointly perform processing. A plurality of programs running on a single processor in a single server may perform processing together.

典型的な応用例としては、第1の部分はIPヘッダーであり、第2の部分はSIPメッセージを含むペイロードであり、第1のプロトコルおよび第2のプロトコルのうち一方はIPv4であり、他方はIPv6であり、変換される情報はアドレスである。   As a typical application, the first part is an IP header, the second part is a payload containing a SIP message, one of the first protocol and the second protocol is IPv4 and the other is In IPv6, the information to be converted is an address.

また、本願発明のアドレス変換装置は、第1のプロトコルに従う第1の網と第2のプロトコルに従う第2の網の両者に接続されるアドレス変換装置であって、第1のプロトコルと第2のプロトコルを相互に変換するための変換規則を保持する記憶部と、変換規則に基づいて、入力情報の第1のプロトコルに従う第1のアドレスと、第2のプロトコルに従う第2のアドレスを相互にプロトコル変換する変換部と、上記入力情報と変換規則を出力する機能と、を有する。   The address translation device according to the present invention is an address translation device connected to both the first network according to the first protocol and the second network according to the second protocol, and includes the first protocol and the second protocol. A storage unit that holds conversion rules for converting protocols to each other, a first address according to the first protocol of input information, and a second address according to the second protocol based on the conversion rules as protocols. A conversion unit for converting; and a function of outputting the input information and the conversion rule.

出力される先としては、装置外部の別のサーバー、内部バスでつながれた装置内の他のブロック、あるいは、同一プロセッサ内の他の処理ブロックである。   The output destination is another server outside the apparatus, another block in the apparatus connected by the internal bus, or another processing block in the same processor.

好ましい例においては、出力先で入力情報と変換規則を用いてプロトコル変換された入力情報は、アドレス変換装置に再入力される。本願発明においては、あるプロトコルPに従う網AとあるプロトコルQに従う網Bを接続するアドレス変換装置であって、アドレス変換装置はプロトコルPに従うアドレスとプロトコルQに従うアドレスを相互に変換するアドレス変換機能と、特定プロトコルに従う通信を検出する検出機能とを有し、アドレス変換機能により、通信データの第1の領域に記述されているアドレスをアドレス変換し、特定プロトコルに従う通信を検出した場合には、通信データの第2の領域に記述されているアドレスを変換するために、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成する。   In a preferred example, input information that has been subjected to protocol conversion using the input information and conversion rules at the output destination is re-input to the address conversion device. In the present invention, an address translation device for connecting a network A according to a certain protocol P and a network B according to a certain protocol Q, the address translation device having an address translation function for mutually converting an address according to the protocol P and an address according to the protocol Q And a detection function for detecting communication according to a specific protocol, the address conversion function converts the address described in the first area of the communication data, and communication is detected when communication according to the specific protocol is detected. In order to convert the address described in the second area of the data, conversion information including the correspondence between the address in the protocol P and the address in the protocol Q is created.

より詳細には、アドレス体系が異なる網を相互接続する通信網において、従来のNATやトランスレータに代表されるアドレス変換装置に加え、少なくとも以下の2点の手段を備える。すなわち、(1)アドレス変換装置が異なる領域間で送受信されるSIPメッセージを検出する手段と、(2)SIP及びSDPに設定されたIPアドレスをアドレス変換装置のアドレス変換方式に応じて変換するSIPメッセージ変換手段を備える。アドレス変換装置は、SIPメッセージを、SIPサーバのIPアドレス、あるいは、SIPサーバのIPアドレスとポート番号の組み合わせ、あるいは、ポート番号で検出する。アドレス体系が異なる網を相互接続するアドレス変換装置が端末またはSIPサーバから送信されたSIPメッセージを検出すると、SIPメッセージ検出手段を起動する。SIPメッセージ変換手段は少なくても以下の3つの機能を含む。(1)SIPメッセージの変換対象パラメータ検出機能、(2)アドレス変換装置が提供するアドレス変換方式に対応した変換規則、(3)SIPメッセージをアドレス変換装置の変換エントリを活用して書きかえる機能 である。アドレス変換装置は、SIPアドレス変換装置の要求に基づき、変換エントリを作成する。アドレス変換装置は、上記変換エントリをもとに通信端末間で送受信されるパケットのヘッダ情報を書きかえる。
上記SIPメッセージ変換手段の機能配備方法には、以下の3つの形態がある。第1の配備方法は、SIPメッセージ変換手段を備えるSIPアドレス変換装置を備える。SIPアドレス変換装置はアドレス変換装置の変換エントリを活用してSIPメッセージに含まれるIPアドレスを書きかえる。第2の配備方法では、アドレス変換装置がSIPメッセージの変換対象パラメータ検出機能を備え、変換対象パラメータに識別情報(タグ)を付与する。SIPアドレス変換装置が変換規則とSIPメッセージに含まれるIPアドレスを書きかえる機能を備える。SIPアドレス変換装置は、アドレス変換装置の変換エントリを活用してSIPメッセージに含まれるIPアドレスを書きかえる。第3の配備方法は、アドレス変換装置がSIPメッセージ変換手段を備える。本発明を適用すれば、異なる領域間で送受信されるSIPメッセージに含まれるIPアドレス情報がアドレス変換装置の変換エントリを活用して変換される。従って、異なる領域に属する端末どうしのVoIPによる音声通信サービスの提供が可能になる。本発明による通信網は以下の特徴を有する。
(1)あるプロトコルPに従う網AとあるプロトコルQに従う網Bをアドレス変換装置で接続する通信網において、
アドレス変換装置はプロトコルPをプロトコルQに相互に変換する機能と、SIP通信を検出する機能と、サーバ装置と通信するために必要な情報と通信手段と、SIP通信を検出した場合に上記サーバ装置と連携して、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成する機能とを備え、上記サーバ装置は、SIP通信に変換対象情報が含まれる場合に上記アドレス変換装置においてプロトコルP、Qを相互に変換するために必要な変換情報および手段と、上記アドレス変換装置と通信するために必要な情報と通信手段を備え、
プロトコルPに従う網AからプロトコルQに従う網BへのSIP通信は、上記アドレス変換装置がSIP通信を検出し、上記サーバ装置がSIP通信の情報を上記アドレス変換装置が備える変換情報を参照してプロトコルPに従うアドレスからプロトコルQに従うアドレスに変換し、さらに、プロトコルPに従う網AからプロトコルQに従う網Bへの通信は、上記アドレス変換装置が備える変換情報を参照してプロトコルPに従うアドレスからプロトコルQに従うアドレスに変換することを特徴とする通信網。
More specifically, in a communication network interconnecting networks having different address systems, at least the following two means are provided in addition to the conventional address translation device represented by NAT or translator. That is, (1) means for detecting an SIP message transmitted / received between different areas by the address translator, and (2) SIP for converting the IP address set in the SIP and SDP according to the address translation scheme of the address translator. Message conversion means is provided. The address translation device detects the SIP message by the IP address of the SIP server, the combination of the IP address of the SIP server and the port number, or the port number. When an address translation device interconnecting networks having different address systems detects a SIP message transmitted from a terminal or a SIP server, the SIP message detection means is activated. The SIP message conversion means includes at least the following three functions. (1) SIP message conversion target parameter detection function, (2) Conversion rule corresponding to the address conversion method provided by the address conversion device, and (3) Function to rewrite SIP message using the conversion entry of the address conversion device. is there. The address translation device creates a translation entry based on the request of the SIP address translation device. The address translation device rewrites the header information of the packet transmitted / received between the communication terminals based on the translation entry.
The function deployment method of the SIP message conversion means has the following three forms. The first deployment method includes a SIP address conversion device including SIP message conversion means. The SIP address translator rewrites the IP address included in the SIP message using the translation entry of the address translator. In the second deployment method, the address translation device has a SIP message conversion target parameter detection function, and adds identification information (tag) to the conversion target parameter. The SIP address translation device has a function of rewriting the translation rule and the IP address included in the SIP message. The SIP address translation device rewrites the IP address included in the SIP message using the translation entry of the address translation device. In the third deployment method, the address translation device includes SIP message translation means. If the present invention is applied, IP address information included in an SIP message transmitted / received between different areas is converted by using a translation entry of the address translation device. Accordingly, it is possible to provide a voice communication service by VoIP between terminals belonging to different areas. The communication network according to the present invention has the following features.
(1) In a communication network in which a network A according to a certain protocol P and a network B according to a certain protocol Q are connected by an address translation device,
The address translation device has a function of mutually converting protocol P to protocol Q, a function of detecting SIP communication, information and communication means necessary for communicating with the server device, and the server device when SIP communication is detected. And the function of creating the conversion information including the correspondence between the address in the protocol P and the address in the protocol Q, and the server device converts the address conversion when the SIP communication includes the conversion target information Conversion information and means necessary for mutually converting the protocols P and Q in the apparatus, and information and communication means necessary for communicating with the address conversion apparatus,
In the SIP communication from the network A according to the protocol P to the network B according to the protocol Q, the address conversion device detects the SIP communication, and the server device refers to the conversion information included in the address conversion device by referring to the conversion information included in the address conversion device. An address according to P is converted from an address according to protocol Q, and communication from network A according to protocol P to network B according to protocol Q refers to conversion information provided in the address conversion device, and addresses according to protocol P are determined according to protocol Q. A communication network characterized by converting to an address.

上記(1)のように、本発明によるアドレス変換装置がIPv4アドレスに従う網とIPv6アドレスに従う網を相互接続し、本発明によるSIPアドレス変換装置がSIPメッセージに含まれるIPアドレスを書きかえれば、IPv4網に属する端末とIPv6網に属する端末のSIPを用いた音声通信が可能になる。   As described in (1) above, if the address translation device according to the present invention interconnects a network according to the IPv4 address and a network according to the IPv6 address, and the SIP address translation device according to the present invention rewrites the IP address included in the SIP message, Voice communication using SIP between a terminal belonging to the network and a terminal belonging to the IPv6 network becomes possible.

本願発明の別の態様として、本発明によるアドレス変換装置がIPv4プライベートアドレスに従う網1とIPv4グローバルアドレスに従う網2を相互接続し、本発明によるSIPアドレス変換装置がSIPメッセージに含まれるIPアドレスを書きかえれば、網1に属する端末と網2に属する端末のSIPを用いた音声通信が可能になる。すなわち、以下の(2)のような構成である。
(2)あるプロトコルPに従う複数の網A1、A2をアドレス変換装置で接続する通信網において、
アドレス変換装置は網A1のプロトコルPを網A2のプロトコルPに相互に変換する機能と、SIP通信を検出する機能と、サーバ装置と通信するために必要な情報と通信手段と、SIP通信を検出した場合に上記サーバ装置と連携して、網A1でのアドレスと網A2でのアドレスの対応関係を含む変換情報を作成する機能とを備え、
上記サーバ装置は、SIP通信に変換対象情報が含まれる場合に上記アドレス変換装置において網A1でのアドレス、網A2でのアドレスを相互に変換するために必要な変換情報および手段と、上記アドレス変換装置と通信するために必要な情報と通信手段を備え、
網A1から網A2へのSIP通信は、上記アドレス変換装置がSIP通信を検出し、上記サーバ装置がSIP通信の情報を上記アドレス変換装置が備える変換情報を参照して網A1でのアドレスから網A2でのアドレスに変換し、さらに、プロトコルPに従う網A1からプロトコルPに従う網A2への通信は、上記アドレス変換装置が備える変換情報を参照して網A1でのアドレスから網A2でのアドレスに変換することを特徴とする通信網。
(3)上記アドレス変換装置がSIP通信に含まれる変換対象情報を検出し、識別情報を追加する機能をさらに有し、上記サーバ装置が上記識別情報を用いて変換対象を検出することを特徴とする(1)または(2)に記載の通信網。
(4)上記アドレス変換装置が識別情報とSIP通信情報を対応つける機能をさらに有し、上記アドレス変換装置がSIP通信終了時に識別情報に対応した変換情報を削除する機能をさらに有することを特徴とする(3)記載の通信網。
(5)上記アドレス変換装置が、着信先情報、あるいは、着信先情報とそのポート情報、あるいは、ポート情報に基づき、SIP通信を検出することを特徴とする
(1)−(4)記載の通信網。
(6)あるプロトコルPに従う網AとあるプロトコルQに従う網Bをアドレス変換装置で接続する通信網において、
アドレス変換装置はプロトコルPをプロトコルQに相互に変換する機能と、SIP通信を検出する機能と、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成する機能と、SIP通信に変換対象情報が含まれる場合にプロトコルP、Qを相互に変換するために必要な変換情報を生成する手段とを備え、
プロトコルPに従う網AからプロトコルQに従う網BへのSIP通信は、上記アドレス変換装置がSIP通信を検出し、SIP通信の情報は、上記変換情報を参照してプロトコルPに従うアドレスからプロトコルQに従うアドレスに変換し、さらに、プロトコルPに従う網AからプロトコルQに従う網Bへの通信は、上記アドレス変換装置が備える変換情報を参照してプロトコルPに従うアドレスからプロトコルQに従うアドレスに変換することを特徴とする通信網。
(7)あるプロトコルPに従う網A1と網A2をアドレス変換装置で接続する通信網において、
アドレス変換装置は網A1のプロトコルPを網A2のプロトコルPに相互に変換する機能と、SIP通信を検出する機能と、網A1のアドレスと網A2のアドレスの対応関係を含む変換情報を作成する機能と、SIP通信に変換対象情報が含まれる場合に網A1のアドレスと網A2のアドレスとを相互に変換するために必要な変換情報を生成する手段とを備え、
網A1から網A2へのSIP通信は、上記アドレス変換装置がSIP通信を検出し、 SIP通信の情報は、上記変換情報を参照して網A1のアドレスから網A2のアドレスに変換し、さらに、網A1から網A2への通信は、上記アドレス変換装置が備える変換情報を参照して網A1のアドレスから網A2のアドレスに変換することを特徴とする通信網。
As another aspect of the present invention, the address translator according to the present invention interconnects the network 1 according to the IPv4 private address and the network 2 according to the IPv4 global address, and the SIP address translator according to the present invention writes the IP address included in the SIP message. In other words, voice communication using SIP between terminals belonging to the network 1 and terminals belonging to the network 2 becomes possible. That is, the configuration is as shown in (2) below.
(2) In a communication network in which a plurality of networks A1 and A2 according to a certain protocol P are connected by an address translation device,
The address translation device detects the SIP communication, the function of mutually converting the protocol P of the network A1 into the protocol P of the network A2, the function of detecting the SIP communication, the information and communication means necessary for communicating with the server device A function to create conversion information including the correspondence between the address on the network A1 and the address on the network A2 in cooperation with the server device.
When the SIP communication includes conversion target information, the server apparatus includes conversion information and means necessary for mutually converting the address on the network A1 and the address on the network A2 in the address conversion apparatus, and the address conversion. It has necessary information and communication means to communicate with the device,
In the SIP communication from the network A1 to the network A2, the address conversion device detects the SIP communication, and the server device refers to the information on the SIP communication from the address in the network A1 by referring to the conversion information included in the address conversion device. The communication from the network A1 according to the protocol P to the network A2 according to the protocol P is converted from the address at the network A1 to the address at the network A2 by referring to the conversion information provided in the address conversion device. A communication network characterized by conversion.
(3) The address conversion device further has a function of detecting conversion target information included in SIP communication and adding identification information, and the server device detects a conversion target using the identification information. The communication network according to (1) or (2).
(4) The address conversion device further has a function of associating identification information with SIP communication information, and the address conversion device further has a function of deleting conversion information corresponding to the identification information when SIP communication ends. The communication network according to (3).
(5) The communication according to any one of (1) to (4), wherein the address translation device detects SIP communication based on destination information or destination information and its port information or port information. network.
(6) In a communication network in which a network A according to a certain protocol P and a network B according to a certain protocol Q are connected by an address translation device,
The address translation device has a function of mutually converting protocol P into protocol Q, a function of detecting SIP communication, a function of creating translation information including a correspondence between an address in protocol P and an address in protocol Q, and SIP Means for generating conversion information necessary for mutually converting the protocols P and Q when the communication includes conversion target information;
In the SIP communication from the network A according to the protocol P to the network B according to the protocol Q, the address conversion device detects the SIP communication, and the SIP communication information refers to the address according to the protocol Q from the address according to the protocol P with reference to the conversion information. Further, the communication from the network A according to the protocol P to the network B according to the protocol Q is characterized in that the address according to the protocol P is converted from the address according to the protocol P with reference to the conversion information included in the address conversion device. Communication network.
(7) In a communication network in which a network A1 and a network A2 conforming to a certain protocol P are connected by an address translation device,
The address conversion apparatus creates conversion information including a function of mutually converting the protocol P of the network A1 into the protocol P of the network A2, a function of detecting SIP communication, and a correspondence relationship between the address of the network A1 and the address of the network A2. A function and means for generating conversion information necessary for mutually converting the address of the network A1 and the address of the network A2 when conversion target information is included in the SIP communication,
In the SIP communication from the network A1 to the network A2, the address conversion device detects the SIP communication, and the information of the SIP communication is converted from the address of the network A1 to the address of the network A2 with reference to the conversion information. The communication from the network A1 to the network A2 is performed by converting the address of the network A1 into the address of the network A2 with reference to the conversion information included in the address conversion device.

本発明の他の側面を具体化するサーバ装置の特徴は、以下のようなものである。
(A)あるプロトコルPに従う網とあるプロトコルQに従う網をアドレス変換装置で接続する通信網において、
アドレス変換装置はプロトコルPをプロトコルQに相互に変換する機能と、SIP通信を検出する機能と、サーバ装置と通信するために必要な情報と通信手段と、SIP通信を検出した場合に上記サーバ装置と連携して、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成する機能とを備え、SIP通信に変換対象情報が含まれる場合に上記アドレス変換装置においてプロトコルP、Qを相互に変換するために必要な変換情報及び手段と、上記アドレス変換装置と通信するために必要な情報と通信手段を備えることを特徴とするサーバ装置。
(B)あるプロトコルPに従う複数の網A1、A2をアドレス変換装置で接続する通信網において、
アドレス変換装置は網A1のプロトコルPを網A2のプロトコルPに相互に変換する機能と、SIP通信を検出する機能と、サーバ装置と通信するために必要な情報と通信手段と、SIP通信を検出した場合に上記サーバ装置と連携して、網A1でのアドレスと網A2でのアドレスの対応関係を含む変換情報を作成する機能とを備え、SIP通信に変換対象情報が含まれる場合に上記アドレス変換装置において網A1でのアドレス、網A2でのアドレスを相互に変換するために必要な変換情報及び手段と、上記アドレス変換装置と通信するために必要な情報と通信手段を備えることを特徴とするサーバ装置。
Features of the server device embodying another aspect of the present invention are as follows.
(A) In a communication network in which a network conforming to a certain protocol P and a network conforming to a certain protocol Q are connected by an address translation device,
The address translation device has a function of mutually converting protocol P to protocol Q, a function of detecting SIP communication, information and communication means necessary for communicating with the server device, and the server device when SIP communication is detected. And the function of creating the conversion information including the correspondence between the address in the protocol P and the address in the protocol Q, and when the conversion target information is included in the SIP communication, the protocol P, A server apparatus comprising: conversion information and means necessary for mutually converting Q, and information and communication means necessary for communicating with the address conversion apparatus.
(B) In a communication network in which a plurality of networks A1 and A2 conforming to a certain protocol P are connected by an address translation device,
The address translation device detects the SIP communication, the function of mutually converting the protocol P of the network A1 into the protocol P of the network A2, the function of detecting the SIP communication, the information and communication means necessary for communicating with the server device In such a case, the server device has a function of creating conversion information including the correspondence between the address on the network A1 and the address on the network A2 in cooperation with the server device, and the address when the conversion target information is included in SIP communication. The conversion apparatus includes conversion information and means necessary for mutually converting the address on the network A1 and the address on the network A2, and information and communication means necessary for communicating with the address conversion apparatus. Server device.

また、本発明のアドレス変換装置は、
(1)あるプロトコルPに従う網AとあるプロトコルQに従う網Bを接続するアドレス変換装置であって、
上記プロトコルPと上記プロトコルQを相互に変換する変換機能と、サーバ装置と通信するための通信機能と、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成する変換情報作成機能とを有し、検出されたSIP通信データを上記サーバ装置に転送し、該サーバ装置で上記変換情報を元にプロトコルを相互に変換されたSIP通信データを受信することを特徴とするアドレス変換装置。
(2)あるプロトコルPに従う複数の網A1、A2をアドレス変換装置で接続する通信網において、サーバ装置は、SIP通信に変換対象情報が含まれる場合に上記アドレス変換装置において網A1でのアドレス、網A2でのアドレスを相互に変換するために必要な変換情報及び手段と、上記アドレス変換装置と通信するために必要な情報と通信手段を備え、
網A1のプロトコルPを網A2のプロトコルPに相互に変換する機能と、SIP通信を検出する機能と、サーバ装置と通信するために必要な情報と通信手段と、SIP通信を検出した場合に上記サーバ装置と連携して、網A1でのアドレスと網A2でのアドレスの対応関係を含む変換情報を作成する機能とを備えることを特徴とするアドレス変換装置。
(3)上記アドレス変換装置がSIP通信に含まれる変換対象情報を検出し、識別情報を追加する機能をさらに有することを特徴とする請求項1または請求項2に記載のアドレス変換装置。
(4)上記アドレス変換装置が識別情報とSIP通信情報を対応つける機能をさらに有し、上記アドレス変換装置がSIP通信終了時に識別情報に対応した変換情報を削除する機能をさらに有することを特徴とする(3)に記載のアドレス変換装置。
(5)SIP通信を着信先情報、あるいは、着信先情報とそのポート情報、あるいは、ポート情報に基づき検出することを特徴とする前記のアドレス変換装置。
(6)あるプロトコルPに従う網AとあるプロトコルQに従う網Bをアドレス変換装置で接続する通信網において、
プロトコルPをプロトコルQに相互に変換する機能と、SIP通信を検出する機能と、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成する機能とを備え、SIP通信に変換対象情報が含まれる場合にプロトコルP、Qを相互に変換するために必要な変換情報を生成し、通信の内容を上記変換情報を参照して書き換える手段を備えることを特徴とするアドレス変換装置。
(7)あるプロトコルPに従う網A1と網A2をアドレス変換装置で接続する通信網において、
網A1のプロトコルPを網A2のプロトコルPに相互に変換する機能と、SIP通信を検出する機能と、網A1のアドレスと網A2のアドレスの対応関係を含む変換情報を作成する機能とを備え、SIP通信に変換対象情報が含まれる場合に網A1のアドレスと網A2のアドレスとを相互に変換するために必要な変換情報を生成する手段を備え、SIP通信に変換対象情報が含まれる場合に網A1のアドレスと網A2のアドレスを相
互に変換するために必要な変換情報を生成し、通信の内容を上記変換情報を参照して書き換える手段を備えることを特徴とするアドレス変換装置。
(8)SIP通信を着信先情報、あるいは、着信先情報とそのポート情報、あるいは、ポート情報に基づき検出することを特徴とする(7)に記載のアドレス変換装置。
The address translation device of the present invention is
(1) An address translation device for connecting a network A conforming to a certain protocol P and a network B conforming to a certain protocol Q,
Conversion function for converting the protocol P and the protocol Q to each other, a communication function for communicating with the server device, and conversion information for creating conversion information including correspondence between addresses in the protocol P and addresses in the protocol Q An address having a creation function, wherein the detected SIP communication data is transferred to the server device, and the server device receives the SIP communication data in which protocols are mutually converted based on the conversion information. Conversion device.
(2) In a communication network in which a plurality of networks A1 and A2 conforming to a certain protocol P are connected by an address translation device, the server device, when SIP communication includes translation target information, the address on the network A1 in the address translation device, Conversion information and means necessary for mutual conversion of addresses in the network A2, and information and communication means necessary for communicating with the address conversion device,
The function of mutually converting the protocol P of the network A1 to the protocol P of the network A2, the function of detecting the SIP communication, the information and communication means necessary for communicating with the server device, and the above when the SIP communication is detected An address translation device comprising a function of creating translation information including a correspondence relationship between an address on the network A1 and an address on the network A2 in cooperation with the server device.
(3) The address translation device according to claim 1 or 2, further comprising a function of detecting conversion target information included in the SIP communication and adding identification information.
(4) The address conversion device further has a function of associating identification information with SIP communication information, and the address conversion device further has a function of deleting conversion information corresponding to the identification information when SIP communication ends. The address conversion device according to (3).
(5) The address conversion apparatus described above, wherein SIP communication is detected based on destination information or destination information and its port information or port information.
(6) In a communication network in which a network A according to a certain protocol P and a network B according to a certain protocol Q are connected by an address translation device,
SIP communication is provided with a function for mutually converting protocol P to protocol Q, a function for detecting SIP communication, and a function for creating conversion information including correspondence between addresses in protocol P and addresses in protocol Q. An address conversion apparatus comprising means for generating conversion information necessary for mutual conversion of protocols P and Q when conversion target information is included, and rewriting communication contents with reference to the conversion information .
(7) In a communication network in which a network A1 and a network A2 conforming to a certain protocol P are connected by an address translation device,
A function of mutually converting the protocol P of the network A1 into the protocol P of the network A2, a function of detecting SIP communication, and a function of creating conversion information including the correspondence between the addresses of the network A1 and the addresses of the network A2 In the case where conversion target information is included in the SIP communication, a means for generating conversion information necessary for mutually converting the address of the network A1 and the address of the network A2 is provided, and the conversion target information is included in the SIP communication An address conversion apparatus comprising: means for generating conversion information necessary for mutual conversion between the address of the network A1 and the address of the network A2, and rewriting communication contents with reference to the conversion information.
(8) The address converter according to (7), wherein SIP communication is detected based on destination information or destination information and its port information or port information.

以上の実施の形態から明らかなように、本発明はSIPアドレス変換装置2がSIPメッセージの中身をアドレス変換装置1の変換情報を活用して書きかえることにより、異なる領域に存在する端末間のSIPによる音声通信を可能にする。アドレス変換装置1が、SIPメッセージの変換対象パラメータを検出する機能を備え、変換対象パラメータに識別情報(タグ)を付与すれば、SIPアドレス変換装置2の処理を軽減できる。さらに、アドレス変換装置1が識別情報とcall legの対応関係と、SIPセッションの開始および終了を検出する機能を備えれば、アドレス変換装置1は通信終了時に該当エントリの削除が可能になる。よって、より細かなSIP通信制御が可能になる。   As is clear from the above embodiments, the present invention is such that the SIP address translation device 2 rewrites the contents of the SIP message by utilizing the translation information of the address translation device 1 so that the SIP between terminals existing in different areas can be changed. Enables voice communication. If the address translation device 1 has a function of detecting a conversion target parameter of the SIP message and adds identification information (tag) to the conversion target parameter, the processing of the SIP address conversion device 2 can be reduced. Furthermore, if the address translation device 1 has the function of detecting the correspondence between the identification information and the call leg and the start and end of the SIP session, the address translation device 1 can delete the entry when communication is completed. Therefore, finer SIP communication control is possible.

本発明におけるSIP通信網の構成例を示す構成図。The block diagram which shows the structural example of the SIP communication network in this invention. アドレス変換装置1のブロック図。1 is a block diagram of an address translation device 1. FIG. SIPアドレス変換装置2のブロック図。FIG. 3 is a block diagram of the SIP address conversion device 2. IPv4パケットのフォーマット図。The format figure of an IPv4 packet. IPv6パケットのフォーマット図。The format figure of an IPv6 packet. SIPのメッセージフォーマット図。SIP message format diagram. 本発明におけるプロトコルスタック図。The protocol stack figure in this invention. SIP INVITEメッセージ例1の図。The figure of Example 1 of a SIP INVITE message. SIP INVITEメッセージ例2の図。The figure of Example 2 of a SIP INVITE message. SIP INVITEメッセージ例3の図。The figure of Example 3 of a SIP INVITE message. SIP INVITEメッセージ例4の図。The figure of Example 4 of a SIP INVITE message. SIP 200 OKメッセージ例1の図。The figure of SIP 200 OK message example 1. FIG. SIP 200 OKメッセージ例2の図。The figure of Example 2 of a SIP 200 OK message. SIP 200 OKメッセージ例3の図。The figure of Example 3 of a SIP 200 OK message. SIP 200 OKメッセージ例4の図。The figure of Example 4 of a SIP 200 OK message. アドレス問い合わせ要求のメッセージフォーマット図。The message format figure of an address inquiry request. アドレス問い合わせ要求応答のメッセージフォーマット図。The message format figure of an address inquiry request response. SIPアドレス変換装置2が備えるSIPメッセージ変換処理ルーチン図。The SIP message conversion process routine figure with which the SIP address conversion apparatus 2 is provided. アドレス変換装置1が備える変換情報テーブル図。The conversion information table figure with which the address converter 1 is provided. 本発明の第2及び第3の実施例におけるアドレス変換装置1のブロック図。The block diagram of the address translation apparatus 1 in the 2nd and 3rd Example of this invention. 本発明の第2及び第3の実施例におけるタグ付きSIPメッセージ例図。FIG. 6 is a diagram showing an example of a tagged SIP message in the second and third embodiments of the present invention. 本発明の第2の実施例におけるアドレス変換装置1のタグ付与処理ルーチン図。The tag addition process routine figure of the address translation apparatus 1 in 2nd Example of this invention. 本発明の第2及び第3の実施例におけるSIPアドレス変換装置2のSIPメッセージ変換処理ルーチン図。The SIP message conversion process routine figure of the SIP address conversion apparatus 2 in the 2nd and 3rd Example of this invention. 本発明の第4の実施例におけるアドレス変換装置1のブロック図。The block diagram of the address translation apparatus 1 in the 4th Example of this invention. 本発明におけるSIP変換対象パラメータリスト例図。The SIP conversion object parameter list example figure in this invention. 本発明におけるSIPメッセージ変換規則例図。The SIP message conversion rule example figure in this invention. 本発明におけるSIP通信シーケンス図1。SIP communication sequence diagram 1 in the present invention. 本発明におけるSIP通信シーケンス図2。SIP communication sequence diagram 2 in the present invention. 本発明におけるSIP通信シーケンス図3。FIG. 3 is a SIP communication sequence in the present invention. 本発明の第3の実施例におけるアドレス変換装置1のタグ付与処理ルーチン図。The tag addition process routine figure of the address translation apparatus 1 in 3rd Example of this invention. 本発明の第3の実施例におけるタグ管理テーブルのテーブル図。The table figure of the tag management table in 3rd Example of this invention. 本発明の第3の実施例におけるメディア情報管理テーブルのテーブル図。The table figure of the media information management table in the 3rd Example of this invention. 本発明の第3の実施例におけるSIP通信シーケンス図1。FIG. 1 is a SIP communication sequence diagram 1 in a third embodiment of the present invention. 本発明の第3の実施例におけるSIP通信シーケンス図2。FIG. 2 is a SIP communication sequence diagram 2 in the third embodiment of the present invention. 本発明の第3の実施例におけるSIP通信シーケンス図3。FIG. 3 is a SIP communication sequence diagram according to the third embodiment of the present invention.

本発明の第1の実施の形態を図面を用いて説明する。   A first embodiment of the present invention will be described with reference to the drawings.

図1は、本発明によるSIP通信網の構成例を示す。本実施例において、SIP通信網は、網A7と網B8から構成される。各SIP通信網は、SIPサーバ5と端末6とDNSサーバ4を備える。本実施例では、網A7はIPv6アドレスを利用する。本実施例では、網B8はIPv4アドレスを利用する。網A7と網B8は、アドレス変換装置1で接続する。   FIG. 1 shows a configuration example of a SIP communication network according to the present invention. In this embodiment, the SIP communication network includes a network A7 and a network B8. Each SIP communication network includes a SIP server 5, a terminal 6, and a DNS server 4. In this embodiment, the network A7 uses an IPv6 address. In this embodiment, the network B8 uses an IPv4 address. The network A7 and the network B8 are connected by the address translation device 1.

アドレス変換装置1は、IPv6アドレスとIPv4アドレスの変換機能と、SIPメッセージ検出手段と、SIPアドレス変換装置2と通信する手段とDNS−ALG3と通信する手段を備える。   The address translation device 1 includes an IPv6 address / IPv4 address translation function, a SIP message detection means, a means for communicating with the SIP address translation apparatus 2, and a means for communicating with the DNS-ALG3.

SIPアドレス変換装置2は、SIPメッセージのアドレス変換に必要な情報を管理し、SIPメッセージの中身を書きかえる手段を備える。   The SIP address translation device 2 includes means for managing information necessary for address translation of the SIP message and rewriting the contents of the SIP message.

図6はSIPのプロトコルスタック及びメッセージフォーマットを示す。SIPを含むパケットは、IPヘッダ41とTCP/UDPヘッダ42とペイロード43で構成する。SIPはペイロード43に格納される。SIPは、start−line44とmessage−header45とmessage−body46で構成される。Start−line44は、SIPメッセージの種類と宛先を示す。Message−header45は、SIPのパラメータを含む。Message−body46は、端末間に論理的に設定されるコネクションの情報を示す。Message−bodyの記述には、SDPなどを利用する。   FIG. 6 shows the SIP protocol stack and message format. A packet including SIP includes an IP header 41, a TCP / UDP header 42, and a payload 43. The SIP is stored in the payload 43. The SIP includes a start-line 44, a message-header 45, and a message-body 46. The Start-line 44 indicates the type and destination of the SIP message. The Message-header 45 includes SIP parameters. Message-body 46 indicates information of a connection logically set between terminals. For the description of Message-body, SDP or the like is used.

図7は本発明による異なる領域に属する端末間SIP通信のプロトコルスタックを示す。SIPサーバ5と端末6は、図6に示すSIPプロトコルスタック(41、42、43)を備える。本実施の形態において、アドレス変換装置1がIPヘッダ41の変換処理を行い(47)、SIPアドレス変換装置2がSIPメッセージ変換処理(48)を行う。   FIG. 7 shows a protocol stack for SIP communication between terminals belonging to different areas according to the present invention. The SIP server 5 and the terminal 6 are provided with SIP protocol stacks (41, 42, 43) shown in FIG. In the present embodiment, the address translation device 1 performs the IP header 41 translation processing (47), and the SIP address translation device 2 performs the SIP message translation processing (48).

図2は、アドレス変換装置1の構成例を示す。アドレス変換装置1は、回線(18a、18b、18n)を収容するインタフェース部(IF)(19a、 19b、19n)と、パケット転送処理部14と、パケット転送制御部13とから構成される。   FIG. 2 shows a configuration example of the address translation device 1. The address translation device 1 includes an interface unit (IF) (19a, 19b, 19n) that accommodates lines (18a, 18b, 18n), a packet transfer processing unit 14, and a packet transfer control unit 13.

パケット転送処理部14は、SIPメッセージを検出する振り分け処理部15と、アドレスの変換に必要な情報を記憶する変換情報記憶部16と、データパケットを変換するためのパケット変換・処理部17とを備える。変換情報記憶部16は、変換情報テーブル500を備える。   The packet transfer processing unit 14 includes a distribution processing unit 15 that detects a SIP message, a conversion information storage unit 16 that stores information necessary for address conversion, and a packet conversion / processing unit 17 that converts a data packet. Prepare. The conversion information storage unit 16 includes a conversion information table 500.

図19に変換情報テーブル500のテーブル構成の一例を示す。変換情報テーブル500は、IPv4アドレス501とIPv6アドレス502の対応関係を格納する。   FIG. 19 shows an example of the table configuration of the conversion information table 500. The conversion information table 500 stores the correspondence between the IPv4 address 501 and the IPv6 address 502.

図2へ戻り、アドレス変換装置1の説明を続ける。SIPメッセージを検出する振り分け処理部15は、以下のいずれかの手段により網A7と網B8の間で送受信されるSIPメッセージを検出する。   Returning to FIG. 2, the description of the address translation device 1 will be continued. The distribution processing unit 15 that detects the SIP message detects the SIP message transmitted / received between the network A7 and the network B8 by any of the following means.

網A(網B)から網B(網A)に対するSIPメッセージの宛先が限られる場合、アドレス変換装置1は、パケットヘッダの着信先アドレスでSIPメッセージを検出する。アドレス変換装置1の振り分け処理部15は、SIPメッセージ着信先のアドレス情報を格納する。   When the destination of the SIP message from the network A (network B) to the network B (network A) is limited, the address translation device 1 detects the SIP message with the destination address of the packet header. The distribution processing unit 15 of the address translation device 1 stores address information of the SIP message destination.

アドレス変換装置1は、パケットヘッダの着信先アドレスと着信先ポート番号の組み合わせでSIPメッセージを検出してもよい。トランスポートメカニズムにTCP又はUDPを使う場合、SIPのデフォルトポート番号は5060である。   The address translation device 1 may detect the SIP message by a combination of the destination address and the destination port number in the packet header. If TCP or UDP is used for the transport mechanism, the default port number for SIP is 5060.

網A(網B)から網B(網A)に対するSIPメッセージの宛先が限定されない場合、アドレス変換装置1は、パケットヘッダの着信先ポート番号でSIPメッセージを検出する。アドレス変換装置1の振り分け処理部15は、SIP通信に利用するポート番号の情報を備える。   When the destination of the SIP message from the network A (network B) to the network B (network A) is not limited, the address translation device 1 detects the SIP message with the destination port number of the packet header. The distribution processing unit 15 of the address translation device 1 includes port number information used for SIP communication.

パケット変換・処理部17は、IPv4パケットを受信すると、変換情報記憶部16を検索し、IPv4アドレスをIPv6アドレスに書きかえる。また、パケット変換・処理部17は、IPv6パケットを受信すると、変換情報記憶部16を検索し、IPv6アドレスをIPv4アドレスに書きかえる。このとき、IPアドレスのほかにもさまざまな情報を書きかえることが可能である。図4にIPv4パケットフォーマットを示す。図5にIPv6パケットフォーマットを示す。変換のさいには、IPアドレスだけでなく、このフォーマットも変換する。   When receiving the IPv4 packet, the packet conversion / processing unit 17 searches the conversion information storage unit 16 and rewrites the IPv4 address into the IPv6 address. Further, when receiving the IPv6 packet, the packet conversion / processing unit 17 searches the conversion information storage unit 16 and rewrites the IPv6 address into the IPv4 address. At this time, various information other than the IP address can be rewritten. FIG. 4 shows the IPv4 packet format. FIG. 5 shows the IPv6 packet format. At the time of conversion, not only the IP address but also this format is converted.

図2に戻りアドレス変換装置1の説明を続ける。パケット転送制御部13は、変換エントリ登録処理部11と変換エントリ生成処理部12を備える。変換エントリ登録処理部11は、変換情報を変換情報記憶部16に登録する。変換エントリ生成処理部12は、アドレスの変換情報を生成する機能を備える。   Returning to FIG. 2, the description of the address translation device 1 will be continued. The packet transfer control unit 13 includes a conversion entry registration processing unit 11 and a conversion entry generation processing unit 12. The conversion entry registration processing unit 11 registers the conversion information in the conversion information storage unit 16. The conversion entry generation processing unit 12 has a function of generating address conversion information.

図3は、SIPアドレス変換装置2の構成例を示す。SIPアドレス変換装置2は、回線(24a、24b)を収容するインタフェース部(IF)(23a、23b)と、メモリ22と、CPU21とをバス25で接続する構成をとる。   FIG. 3 shows a configuration example of the SIP address translation device 2. The SIP address translation device 2 has a configuration in which an interface unit (IF) (23a, 23b) that accommodates lines (24a, 24b), a memory 22, and a CPU 21 are connected by a bus 25.

メモリ22は、SIPメッセージ変換処理プログラム26と、変換情報問い合わせ処理プログラム27と、変換規則記憶部28が格納される。   The memory 22 stores a SIP message conversion processing program 26, a conversion information inquiry processing program 27, and a conversion rule storage unit 28.

SIPメッセージ変換処理部26は、図25に示す変換対象パラメータの情報テーブル412と、図18に示すSIPメッセージ処理ルーチン60を含み、SIPメッセージに含まれるアドレス情報を変換する。   The SIP message conversion processing unit 26 includes a conversion target parameter information table 412 shown in FIG. 25 and a SIP message processing routine 60 shown in FIG. 18, and converts the address information included in the SIP message.

図25は、変換対象パラメータリストを含む情報テーブル412を示す。本テーブルには、IPアドレス及びポート番号が設定できるSIP及びSDPのパラメータを定義する。   FIG. 25 shows an information table 412 including a conversion target parameter list. In this table, SIP and SDP parameters that can set IP addresses and port numbers are defined.

変換規則記憶部28は、アドレス変換装置1が備えるアドレス変換方式毎にパラメータの変換規則を格納する。SIPメッセージに含まれるアドレスは、該変換規則に従って変換される。図26は、アドレス変換装置1がNAT−PT方式によりアドレス変換を行う場合の変換規則413を示す。SIPメッセージ変換に必要な変換規則413をメモリに記憶することにより、変換処理の高速化を図る。   The translation rule storage unit 28 stores parameter translation rules for each address translation method provided in the address translation device 1. The address included in the SIP message is converted according to the conversion rule. FIG. 26 shows a conversion rule 413 when the address conversion apparatus 1 performs address conversion by the NAT-PT method. By storing the conversion rules 413 necessary for SIP message conversion in the memory, the conversion process is speeded up.

変換情報問い合わせ部27は、アドレス変換装置1にIPアドレスの変換情報を問い合わせる処理を行う。   The conversion information inquiry unit 27 performs a process of inquiring the address conversion device 1 for IP address conversion information.

図27と図28と図29に示すシーケンスに従って、図1における網Aの端末6aが網Bの端末6bとSIPを用いた音声通信を行う場合について説明する。通信開始にあたり、端末6aと端末6bの間にセッションの確立が必要である。   The case where the terminal 6a of the network A in FIG. 1 performs voice communication using the SIP with the terminal 6b of the network B will be described in accordance with the sequences shown in FIGS. At the start of communication, it is necessary to establish a session between the terminal 6a and the terminal 6b.

ここで、端末6aには、SIPメッセージの送信先として、SIPサーバ5aが設定されているとする。   Here, it is assumed that the SIP server 5a is set as the transmission destination of the SIP message in the terminal 6a.

端末6aは端末6bとの間にセッションの確立を要求するINVITEをSIPサーバ5aに送信する(101)。図8は、端末6aがSIPサーバ5aに送信するINVITEメッセージ例401を示す。Start−Lineには、INVITEの宛先情報が設定される。Viaヘッダは、SIP Requestの経路を示す。SIP Requestに対する応答は、viaヘッダ情報をもとに着信端末から発信端末に送信される。ToヘッダはRequestの宛先を、FromヘッダはRequestの起動者を、Call−IDは呼識別子をそれぞれ示す。Message−bodyのcパラメータはコネクション情報を、mパラメータはデータを受信するポート番号をそれぞれ示す。セッション確立後、端末間の音声情報は、上記cパラメータ及びmパラメータ宛に送信される。   The terminal 6a transmits INVITE requesting establishment of a session with the terminal 6b to the SIP server 5a (101). FIG. 8 shows an example INVITE message 401 transmitted from the terminal 6a to the SIP server 5a. In the Start-Line, destination information of INVITE is set. The Via header indicates the route of the SIP request. A response to the SIP Request is transmitted from the receiving terminal to the calling terminal based on the via header information. The To header indicates the destination of the request, the From header indicates the initiator of the request, and the Call-ID indicates the call identifier. The c parameter of Message-body indicates connection information, and the m parameter indicates a port number for receiving data. After the session is established, the audio information between the terminals is transmitted to the c parameter and the m parameter.

図27へ戻りシーケンスの説明を続ける。SIPサーバ5aがINVITEを受信すると、INVITE送信先をStart−Lineの宛先情報から決定する。宛先情報にドメイン名が設定されている場合、SIPサーバ5aは、DNSサーバ4aにDNS問い合わせを送信する(102)。DNSサーバ4aは、DNS−ALG3及びDNSサーバ4bと連携してSIPサーバ5bの名前を解決する(103)。アドレス変換装置(TR)1とDNS−ALG3の連携方式には、例えば、特許公開公報2001−274419に記載のアドレス変換方式を適用する。DNS−ALG3は、SIPサーバ5bのドメイン名に対するIPv4アドレスb4を仮想IPv6アドレスvb6に変換する。該変換情報は、アドレス変換装置1の変換情報記憶部16の変換情報テーブル500に格納される。   Returning to FIG. 27, the description of the sequence is continued. When the SIP server 5a receives INVITE, the INVITE transmission destination is determined from the destination information of the Start-Line. When the domain name is set in the destination information, the SIP server 5a transmits a DNS inquiry to the DNS server 4a (102). The DNS server 4a resolves the name of the SIP server 5b in cooperation with the DNS-ALG 3 and the DNS server 4b (103). For example, an address conversion method described in Japanese Patent Application Laid-Open No. 2001-274419 is applied to a cooperation method between the address conversion device (TR) 1 and DNS-ALG3. The DNS-ALG 3 converts the IPv4 address b4 for the domain name of the SIP server 5b into a virtual IPv6 address vb6. The conversion information is stored in the conversion information table 500 of the conversion information storage unit 16 of the address conversion device 1.

SIPサーバ5aは、INVITE送信先情報として、SIPサーバ5bの仮想IPv6アドレスvb6を取得し(104)、仮想IPv6アドレスvb6宛にINVITEを送信する(105)。図9にSIPサーバ5aが送信するSIPメッセージ(INVITE)のメッセージ例を示す。   The SIP server 5a acquires the virtual IPv6 address vb6 of the SIP server 5b as the INVITE transmission destination information (104), and transmits INVITE to the virtual IPv6 address vb6 (105). FIG. 9 shows a message example of the SIP message (INVITE) transmitted by the SIP server 5a.

アドレス変換装置1は、SIPメッセージ(INVITE)をIPアドレス、あるいは、IPアドレスとポート番号の組み合わせ、あるいは、ポート番号で検出する(106)。アドレス変換装置1は、アドレス変換方式を示す情報とともに検出したSIPメッセージ(INVITE)をSIPアドレス変換装置(SIP−ALG)2に送信する(107)。アドレス変換装置1のアドレス変換方式が1つである場合は、予めSIPアドレス変換装置にアドレス変換方式の情報を設定してもよい。   The address translation device 1 detects the SIP message (INVITE) by an IP address, a combination of an IP address and a port number, or a port number (106). The address translation device 1 transmits the detected SIP message (INVITE) together with information indicating the address translation method to the SIP address translation device (SIP-ALG) 2 (107). When the address translation device 1 has one address translation method, information on the address translation method may be set in advance in the SIP address translation device.

SIPアドレス変換装置2はSIPメッセージを受信すると、図18に示すSIPメッセージ変換処理ルーチン60を起動する(108)。   When the SIP address conversion device 2 receives the SIP message, it starts the SIP message conversion processing routine 60 shown in FIG. 18 (108).

図18は第1の実施の形態におけるSIPメッセージ変換処理ルーチン60を示す。SIPアドレス変換装置2は、変換対象パラメータリスト412と受信したSIPメッセージを比較し、変換対象パラメータを抽出する(61)。   FIG. 18 shows a SIP message conversion processing routine 60 in the first embodiment. The SIP address conversion device 2 compares the conversion target parameter list 412 with the received SIP message and extracts the conversion target parameters (61).

変換対象パラメータがある場合、抽出したパラメータにIPアドレスが含まれているかをチェックする(62)。   If there is a conversion target parameter, it is checked whether the extracted parameter contains an IP address (62).

抽出したパラメータにIPアドレスが含まれる場合、アドレス変換方式を判別する(63)。次に変換規則記憶部28の変換規則413を参照し、変換対象IPアドレスを特定する(64)。例えば、図9に示すINVITEを受信した場合の変換対象IPアドレスは、SIPサーバ5aのIPv6アドレスsipa6と、端末6aのIPv6アドレスa6になる。   If the extracted parameter includes an IP address, the address conversion method is determined (63). Next, referring to the conversion rule 413 in the conversion rule storage unit 28, the IP address to be converted is specified (64). For example, the IP addresses to be converted when the INVITE shown in FIG. 9 is received are the IPv6 address sipa6 of the SIP server 5a and the IPv6 address a6 of the terminal 6a.

アドレス変換装置1のアドレス変換方式がマスカレードであれば、抽出したパラメータに含まれるポート番号も変換対象になる。   If the address translation method of the address translation device 1 is masquerading, the port number included in the extracted parameter is also subject to translation.

SIPアドレス変換装置2の変換情報問い合わせ部27が変換対象IPアドレス「sipa6、a6」を含むアドレス問い合わせ要求600をアドレス変換装置1に送信する(65、109)。   The translation information inquiry unit 27 of the SIP address translation device 2 transmits an address query request 600 including the translation target IP address “sipa6, a6” to the address translation device 1 (65, 109).

図16は、アドレス問い合わせ要求600のメッセージフォーマットを示す。アドレス問い合わせ要求は、ヘッダ部601と要求内容602で構成する。ヘッダ部601はID(605)を備え、アドレス問い合わせ要求とその応答を関連付ける。Count(608)には、変換対象IPアドレスの数を設定する。   FIG. 16 shows a message format of the address inquiry request 600. The address inquiry request is composed of a header portion 601 and request contents 602. The header portion 601 has an ID (605) and associates an address inquiry request with a response. In Count (608), the number of translation target IP addresses is set.

要求内容602は変換対象IPアドレス毎にIPアドレスタイプ(IPv4、 IPv6)(609)と、変換対象IPアドレス(610)と、変換対象ポート番号(611)を含む。ポート番号611は、ポート番号が変換対象である場合に設定する。   The request content 602 includes an IP address type (IPv4, IPv6) (609), a translation target IP address (610), and a translation target port number (611) for each translation target IP address. The port number 611 is set when the port number is a conversion target.

アドレス変換装置1は、アドレス問い合わせ要求600を受信し、変換対象IPアドレスで変換エントリ生成処理部12の変換情報テーブル500を検索する。変換対象IPアドレスが変換エントリ生成処理部12の変換情報テーブル500に存在すれば、アドレス変換装置1は変換後のIPアドレスを含むアドレス問い合わせ要求応答(110、66)をSIPアドレス変換装置2に送信する。変換対象IPアドレスが変換エントリ生成処理部12の変換情報テーブル500に存在しなければ、変換エントリ登録処理部11を起動し、変換情報記憶部16の変換情報テーブル500に変換エントリを設定する。アドレス変換装置1は、変換後のIPアドレス「vsipa4、va4」を含むアドレス問い合わせ要求応答(110、66)をSIPアドレス変換装置2に送信する。   The address translation device 1 receives the address inquiry request 600 and searches the translation information table 500 of the translation entry generation processing unit 12 with the translation target IP address. If the translation target IP address exists in the translation information table 500 of the translation entry generation processing unit 12, the address translation device 1 transmits an address inquiry request response (110, 66) including the translated IP address to the SIP address translation device 2. To do. If the conversion target IP address does not exist in the conversion information table 500 of the conversion entry generation processing unit 12, the conversion entry registration processing unit 11 is activated and a conversion entry is set in the conversion information table 500 of the conversion information storage unit 16. The address translation device 1 transmits an address inquiry request response (110, 66) including the translated IP address “vsipa4, va4” to the SIP address translation device 2.

図17は、アドレス問い合わせ要求応答650のメッセージフォーマットを示す。アドレス問い合わせ要求応答は、ヘッダ部601と応答内容603で構成する。応答内容603は、変換対象のIPアドレスタイプ(620)、IPアドレス(621)、ポート番号(622)と変換後のIPアドレスタイプ(623)、IPアドレス(624)、ポート番号(625)の組み合わせを含む。   FIG. 17 shows a message format of the address inquiry request response 650. The address inquiry request response includes a header portion 601 and response content 603. The response content 603 is a combination of the IP address type (620), the IP address (621), the port number (622) to be converted, the IP address type (623) after conversion, the IP address (624), and the port number (625). including.

SIPアドレス変換装置2はアドレス問い合わせ要求応答を受信し、SIPメッセージに含まれるIPアドレス情報を書きかえる(67、111)。より具体的には、sipa6をvsipa4に、a6をva4にそれぞれ書きかえる。   The SIP address translation device 2 receives the address inquiry request response and rewrites the IP address information included in the SIP message (67, 111). More specifically, sipa6 is rewritten to vsipa4, and a6 is rewritten to va4.

SIPアドレス変換装置2は、 IPアドレス情報を書き換えたSIPメッセージ(INVITE)をアドレス変換装置1に送信し、本ルーチンを終了する(68、112)。   The SIP address translation device 2 transmits a SIP message (INVITE) in which the IP address information is rewritten to the address translation device 1, and ends this routine (68, 112).

ステップ61で変換対象パラメータが抽出されなかった場合、及び、ステップ62で抽出パラメータにIPアドレス情報が含まれない場合、SIPアドレス変換装置2はSIPメッセージを書き換えない。SIPアドレス変換装置2がアドレス変換装置1にSIPメッセージを送信し(69)、本ルーチンを終了する。   If the conversion target parameter is not extracted in step 61, and if the IP address information is not included in the extraction parameter in step 62, the SIP address conversion device 2 does not rewrite the SIP message. The SIP address translator 2 sends a SIP message to the address translator 1 (69), and this routine is terminated.

図27に戻り、シーケンス図の説明を続ける。アドレス変換装置1は、SIPアドレス変換装置2からSIPメッセージ(INVITE)を受信すると(112)、SIPメッセージを含むIPパケットヘッダのアドレス変換を行う(113)。アドレス変換装置1の変換情報記憶部16の変換情報テーブル500を参照して、着信先アドレスをSIPサーバ5bの実IPv4アドレス「sipb4」に、送信元アドレスをSIPサーバ5aの仮想IPv4アドレス「vsipa4」にそれぞれ変換する。   Returning to FIG. 27, the description of the sequence diagram will be continued. When the address translator 1 receives the SIP message (INVITE) from the SIP address translator 2 (112), the address translator 1 performs address translation of the IP packet header including the SIP message (113). Referring to the translation information table 500 of the translation information storage unit 16 of the address translation device 1, the destination address is the real IPv4 address “sipb4” of the SIP server 5b, and the source address is the virtual IPv4 address “vsipa4” of the SIP server 5a. Respectively.

図10はSIPメッセージ(INVITE)の例である。   FIG. 10 shows an example of a SIP message (INVITE).

図11はSIPメッセージ(INVITE)の例である。   FIG. 11 shows an example of a SIP message (INVITE).

SIPサーバ5bは図10に示すSIPメッセージ(INVITE)を受信する(114)。図10は、図9に示す変換前のSIPメッセージ例と比較すると、via header、 Call−ID header、 Contact header、 cパラメータに設定されたIPアドレスがIPv6からIPv4に変換されている。   The SIP server 5b receives the SIP message (INVITE) shown in FIG. 10 (114). Compared with the SIP message example before conversion shown in FIG. 9 in FIG. 10, the IP address set in the via header, Call-ID header, Contact header, and c parameter is converted from IPv6 to IPv4.

SIPサーバ5bは、Start−Lineの宛先情報から着信端末6bの位置情報を特定し、端末6bに図11に示すSIPメッセージ(INVITE)を送信する(115)。   The SIP server 5b specifies the location information of the receiving terminal 6b from the destination information of the Start-Line, and transmits the SIP message (INVITE) shown in FIG. 11 to the terminal 6b (115).

端末6bはINVITEを許容する場合、200 OKで応答する。端末6bが端末6aに送信する音声情報は、INVITEのcパラメータで指定されたIPアドレス(端末6aの仮想IPv4アドレス「va4」)及びmパラメータで指定されたポート番号宛に送信される。   If the terminal 6b allows INVITE, the terminal 6b responds with 200 OK. The voice information transmitted from the terminal 6b to the terminal 6a is transmitted to the IP address specified by the INVITE c parameter (the virtual IPv4 address “va4” of the terminal 6a) and the port number specified by the m parameter.

SIP Response(200 OK)は、via headerの情報をもとに、SIP Requestが処理されたSIPサーバを経由して端末6aに送信される。図12はSIP 200 OKメッセージ例1である。図13はSIP 200 OKメッセージ例2である。図28に進み、SIPサーバ5bは、端末6bから図12に示すSIP Response(200 OK)を受信する(121)。SIPサーバ5bは、図13に示すSIP Response(200 OK)をSIPサーバ5aの仮想IPv4アドレス「vsipa4」宛に送信する(122)。アドレス変換装置1はSIPメッセージ(200 OK)を検出し(123)、SIPアドレス変換装置2に送信する(124)。SIPメッセージを受信したSIPアドレス変換装置2は、SIPメッセージ変換処理ルーチン60を起動する。SIPメッセージ変換処理の流れ(125から128)は、図27のステップ108から111と同様である。SIPアドレス変換装置2は、変換対象IPアドレスに「vsipa4、 va4、 b4」を設定したアドレス問い合わせ要求をアドレス変換装置1に送信する(126)。アドレス変換装置1は、変換対象IPアドレスで変換エントリ生成処理部12の変換情報テーブル500を検索し、ステップ109受信時に生成した「vsipa4‐sipa6」及び「va4‐a6」の変換エントリを検出する。アドレス変換装置1は、「b4」に対する仮想IPv6アドレス「vb6」を生成し、変換情報記憶部16の変換情報テーブル500に格納する。アドレス変換装置1は、変換対象IPアドレスと変換後のIPアドレスの組み合わせを含むアドレス問い合わせ要求応答をSIPアドレス変換装置2に送信する(127)。図14はSIP 200 OKメッセージ例3である。図15はSIP 200 OKメッセージ例4である。   The SIP Response (200 OK) is transmitted to the terminal 6a via the SIP server on which the SIP Request has been processed based on the via header information. FIG. 12 shows a SIP 200 OK message example 1. FIG. 13 is a SIP 200 OK message example 2. Proceeding to FIG. 28, the SIP server 5b receives the SIP Response (200 OK) shown in FIG. 12 from the terminal 6b (121). The SIP server 5b transmits the SIP Response (200 OK) shown in FIG. 13 to the virtual IPv4 address “vsipa4” of the SIP server 5a (122). The address translator 1 detects the SIP message (200 OK) (123) and sends it to the SIP address translator 2 (124). The SIP address conversion device 2 that has received the SIP message activates the SIP message conversion processing routine 60. The flow of SIP message conversion processing (125 to 128) is the same as steps 108 to 111 in FIG. The SIP address translation device 2 transmits an address inquiry request in which “vsipa4, va4, b4” is set as the translation target IP address to the address translation device 1 (126). The address translation device 1 searches the translation information table 500 of the translation entry generation processing unit 12 using the translation target IP address, and detects the translation entries of “vsipa4-sipa6” and “va4-a6” generated when receiving step 109. The address translation device 1 generates a virtual IPv6 address “vb6” for “b4” and stores it in the translation information table 500 of the translation information storage unit 16. The address translation device 1 transmits an address inquiry request response including a combination of the translation target IP address and the translated IP address to the SIP address translation device 2 (127). FIG. 14 shows a SIP 200 OK message example 3. FIG. 15 shows a SIP 200 OK message example 4.

SIPアドレス変換装置2は、IPアドレス情報を書き換え、SIP Response (200 OK)をアドレス変換装置1に送信する(128、129)。アドレス変換装置1は、SIP Responseを含むIPパケットヘッダのアドレス変換を行う(130)。アドレス変換装置1の変換情報記憶部16の変換情報テーブル500を参照して、着信先アドレスをSIPサーバ5aの実IPv6アドレス「sipa6」に、送信元アドレスをSIPサーバ5bの仮想IPv6アドレス「vsipb6」にそれぞれ変換する。アドレス変換装置1は、SIPサーバ5aに図14に示すSIP Response (200 OK)を送信する(131)。SIPサーバ5aは、端末6aに図15に示すSIP Response (200 OK)を送信する(132)。   The SIP address translation device 2 rewrites the IP address information and transmits SIP Response (200 OK) to the address translation device 1 (128, 129). The address translation device 1 performs address translation of the IP packet header including the SIP response (130). Referring to the translation information table 500 of the translation information storage unit 16 of the address translation device 1, the destination address is the real IPv6 address “sipa6” of the SIP server 5a, and the source address is the virtual IPv6 address “vsipb6” of the SIP server 5b. Respectively. The address translation device 1 transmits the SIP Response (200 OK) shown in FIG. 14 to the SIP server 5a (131). The SIP server 5a transmits the SIP Response (200 OK) shown in FIG. 15 to the terminal 6a (132).

端末6aが端末6bに送信する音声情報は、200 OKのcパラメータで指定されたIPアドレス(端末6bの仮想IPv4アドレス「vb6」)及びmパラメータで指定されたポート番号宛に送信する。図29に進み、端末6aは、INVITEに対するSIP Response(200 OK)を受信すると
、応答確認(ACK)をSIPサーバ5a宛に送信する(141)。SIPサーバ5aは、SIPサーバ5bの仮想IPv4アドレス「vsipb6」宛に応答確認(ACK)を送信する(142)。アドレス変換装置1が、SIPメッセージ(ACK)を検出し(143)、SIPアドレス変換装置2に送信する(144)。
The audio information transmitted from the terminal 6a to the terminal 6b is transmitted to the IP address specified by the 200 OK c parameter (the virtual IPv4 address “vb6” of the terminal 6b) and the port number specified by the m parameter. Proceeding to FIG. 29, when the terminal 6a receives the SIP response (200 OK) to INVITE, the terminal 6a transmits a response confirmation (ACK) to the SIP server 5a (141). The SIP server 5a transmits a response confirmation (ACK) to the virtual IPv4 address “vsipb6” of the SIP server 5b (142). The address translation device 1 detects the SIP message (ACK) (143) and transmits it to the SIP address translation device 2 (144).

SIPメッセージ変換処理の流れ(145から148)は、図27のステップ108から111と同様である。SIPアドレス変換装置2はアドレス変換装置1にIPアドレス情報を書き換えた応答確認 (ACK)を送信する(149)。アドレス変換装置1は、SIPメッセージ(ACK)を含むIPパケットヘッダのアドレスを変換する(150)。アドレス変換装置1は、SIPサーバ5bの実IPv4アドレス「sipb4」宛に応答確認(ACK)を送信する(151)。SIPサーバ5bは端末6bに応答確認(ACK)を送信する(152)。   The flow of SIP message conversion processing (145 to 148) is the same as steps 108 to 111 in FIG. The SIP address translation device 2 transmits a response confirmation (ACK) with the IP address information rewritten to the address translation device 1 (149). The address translation device 1 translates the address of the IP packet header including the SIP message (ACK) (150). The address translation device 1 transmits an acknowledgment (ACK) to the real IPv4 address “sipb4” of the SIP server 5b (151). The SIP server 5b transmits a response confirmation (ACK) to the terminal 6b (152).

以上の手順で、端末6aと端末6bの間に論理的なコネクションが設定され、端末間の音声通信が可能になる。端末6aは、端末6bのIPv4アドレスに対応する仮想IPv6アドレス(vb6)宛に音声情報を含むパケットを送信する(153)。アドレス変換装置1は、送信元IPアドレス「a6」と着信先IPアドレス「vb6」で変換情報記憶部16を検索する。すると、上記処理シーケンスのステップ109およびステップ126で登録した変換エントリが検出される。アドレス変換装置1は、変換エントリに基づきヘッダ情報を書きかえる(154)。送信元IPアドレスには、端末6aのIPv6アドレス「a6」に対応する仮想IPv4アドレス「va4」を設定する。着信先IPアドレスには、端末6bの実IPv4アドレス「b4」を設定する。アドレス変換装置1は、ヘッダ情報を変換したパケットを端末6b宛に送信する(155)。端末6bから端末6aに送信する音声情報を含むパケットも同様の処理を行う(156〜158)。   With the above procedure, a logical connection is set between the terminal 6a and the terminal 6b, and voice communication between the terminals becomes possible. The terminal 6a transmits a packet including voice information to the virtual IPv6 address (vb6) corresponding to the IPv4 address of the terminal 6b (153). The address translation device 1 searches the translation information storage unit 16 with the source IP address “a6” and the destination IP address “vb6”. Then, the conversion entry registered in step 109 and step 126 of the above processing sequence is detected. The address translator 1 rewrites the header information based on the translation entry (154). As the source IP address, a virtual IPv4 address “va4” corresponding to the IPv6 address “a6” of the terminal 6a is set. The real IPv4 address “b4” of the terminal 6b is set as the destination IP address. The address translation device 1 transmits the packet obtained by converting the header information to the terminal 6b (155). A packet including voice information transmitted from the terminal 6b to the terminal 6a is similarly processed (156 to 158).

本発明によるとアドレス変換装置の情報を用いてSIPメッセージのIPアドレスを変換することができる。よって異なる領域に属する端末どおしのSIP通信が可能になる。   According to the present invention, the IP address of the SIP message can be converted using the information of the address conversion device. Therefore, SIP communication between terminals belonging to different areas becomes possible.

本発明の第2の実施の形態を図面を用いて説明する。   A second embodiment of the present invention will be described with reference to the drawings.

第1の実施例と第2の実施例は、SIPメッセージ変換手段の機能配備方法が異なる。   The first embodiment and the second embodiment differ in the function deployment method of the SIP message conversion means.

第2の実施例では、アドレス変換装置1がSIPメッセージの変換対象パラメータを検出する機能を備える。   In the second embodiment, the address translation device 1 has a function of detecting a translation target parameter of the SIP message.

図20は、第2の実施例におけるアドレス変換装置1の構成例を示す。第2の実施例におけるアドレス変換装置1は、図2の構成例に加え、パケット転送制御部13にタグ処理部20を備える。   FIG. 20 shows a configuration example of the address translation device 1 in the second embodiment. The address translation device 1 in the second embodiment includes a tag processing unit 20 in the packet transfer control unit 13 in addition to the configuration example of FIG.

タグ処理部20は、図25に示す変換対象パラメータリスト412と、図22に示すタグ付与処理ルーチン80を備える。アドレス変換装置1はSIPメッセージを検出するとタグ付与処理ルーチン80を起動する。図22は、アドレス変換装置1のタグ付与処理ルーチン80を示す。アドレス変換装置1は、変換対象パラメータリスト412と受信したSIPメッセージを比較し、変換対象パラメータを抽出する(81)。変換対象パラメータがSIPメッセージに存在する場合、アドレス変換装置1は識別情報(タグ)を生成し、検出パラメータに追加する(82)。タグは、アドレス変換装置1が提供するアドレス変換方式と識別子とで構成する。アドレス変換装置1は、識別情報が付与されたSIPメッセージをSIPアドレス変換装置2に送信し(83)、本ルーチンを終了する。図21は、アドレス変換装置1がSIPアドレス変換装置2に送信するタグつきSIPメッセージ例410を示す。図8と比較すると、変換される行先頭にタグが付加されているのがわかる。ステップ81で変換対象パラメータが存在しない場合は、本ルーチンを終了する。変換対象パラメータがない場合、アドレス変換装置は受信したSIPメッセージを含むIPパケットヘッダのアドレス情報を変換し、SIPメッセージを転送する。SIPメッセージの中身は変換しない。   The tag processing unit 20 includes a conversion target parameter list 412 shown in FIG. 25 and a tag addition processing routine 80 shown in FIG. When the address translation device 1 detects the SIP message, it starts the tag assignment processing routine 80. FIG. 22 shows a tag assignment processing routine 80 of the address translation device 1. The address translation device 1 compares the translation target parameter list 412 with the received SIP message, and extracts a translation target parameter (81). When the conversion target parameter exists in the SIP message, the address conversion device 1 generates identification information (tag) and adds it to the detection parameter (82). The tag is composed of an address translation method and an identifier provided by the address translation device 1. The address translation device 1 transmits the SIP message to which the identification information is given to the SIP address translation device 2 (83), and ends this routine. FIG. 21 shows a tagged SIP message example 410 transmitted from the address translation device 1 to the SIP address translation device 2. Compared to FIG. 8, it can be seen that a tag is added to the head of the line to be converted. If the conversion target parameter does not exist in step 81, this routine ends. When there is no conversion target parameter, the address conversion device converts the address information of the IP packet header including the received SIP message, and transfers the SIP message. The contents of the SIP message are not converted.

第2の実施例において、SIPアドレス変換装置2は、SIPメッセージ変換処理部26にSIPメッセージ変換処理ルーチン70を備える。   In the second embodiment, the SIP address conversion device 2 includes a SIP message conversion processing routine 70 in the SIP message conversion processing unit 26.

図23は、第2の実施例において、SIPアドレス変換装置2がタグ付きSIPメッセージを受信したとき起動されるSIPメッセージ変換処理ルーチン70を示す。   FIG. 23 shows a SIP message conversion processing routine 70 that is started when the SIP address conversion device 2 receives a tagged SIP message in the second embodiment.

図23のSIPメッセージ変換処理ルーチン70と、第1の実施例におけるSIPメッセージ変換処理ルーチン60の違いは、ステップ61の代わりにTag付きパラメータ抽出ステップ69が存在することである。ステップ69では、受信したSIPメッセージからタグ付きパラメータを抽出する。   The difference between the SIP message conversion processing routine 70 of FIG. 23 and the SIP message conversion processing routine 60 in the first embodiment is that there is a parameter extraction step 69 with Tag instead of step 61. In step 69, tagged parameters are extracted from the received SIP message.

本発明の実施の形態によると、アドレス変換装置1がSIPメッセージの変換対象パラメータ検出機能を備えることにより、SIPアドレス変換装置2の処理負荷を軽減できる。また、受信したSIPメッセージに変換対象パラメータが含まれない場合、アドレス変換装置1はSIPアドレス変換装置2を起動せずにSIPメッセージを転送することが可能になる。   According to the embodiment of the present invention, the address translation device 1 has a SIP message translation target parameter detection function, so that the processing load on the SIP address translation device 2 can be reduced. If the received SIP message does not include the conversion target parameter, the address translation device 1 can transfer the SIP message without activating the SIP address translation device 2.

本発明の第3の実施の形態を図面を用いて説明する。   A third embodiment of the present invention will be described with reference to the drawings.

本実施例の特徴は、第2の実施の形態におけるタグ情報をSIP通信のcall legと対応つけることにある。Call legは、peer to peer SIP relationshipを示す。Call legは、To headerとFrom headerとCall−IDの組み合わせで一意に識別できる。上記ヘッダは、全てのSIPメッセージに含まれる。本実施例におけるアドレス変換装置1は、第2の実施例のアドレス変換装置1に、さらに、タグとcall legの対応関係を管理するテーブル情報300と、タグとメディア情報の対応関係を管理するテーブル情報310と、SIPセッションの開始及び終了を示すメソッド情報を備える。SIPセッションの終了要求を示すSIP メソッドとして、例えば、BYEがある。また、アドレス変換装置1の変換エントリ生成処理部12が備える変換情報テーブル500の各エントリにタグ情報を追加する。本実施例において、SIPアドレス変換装置2は、アドレス変換装置1に送信するアドレス問い合わせ要求600のIDに上記タグ情報を設定する。アドレス変換装置1が変換エントリ生成をするとき、上記タグ情報を変換情報テーブル500に格納する。通常、SIPのセッション終了要求はmessage−bodyを含まない。しかし、より細かなSIP通信を提供する場合、アドレス変換装置1がセッション終了時に該当セッションのアドレス変換情報を削除することが望まれる。本実施例は、アドレス変換装置1がcall legとタグの対応情報を備えることにより、SIPアドレス変換装置2にセッション状態管理機能を備えることなしに、セッション終了時に該当する変換情報を削除することを特徴とする。図31は、本実施例においてアドレス変換装置1のタグ処理部20が備えるタグ管理テーブル300を示す。タグ管理テーブル300の各エントリは、タグ(301)、IPv6 To header(302)、IPv6 From header (303)、 IPv6 Call−ID (304)、IPv4 To header(305)、IPv4 From header (306)、 IPv4 Call−ID (307)を定義する。To header、 From header、 Call−ID headerには、IPアドレス情報の設定が可能であるため、IPv6側とIPv4側のエントリを定義する。図32は、本実施例においてアドレス変換装置1の変換エントリ生成処理部12が備えるメディア情報管理テーブル310を示す。メディア情報管理テーブル310の各エントリは、タグ(311)、IPv6側cパラメータ(312)、IPv6側mパラメータ(313)、IPv4側cパラメータ(314)、IPv4側mパラメータ(315)を定義する。アドレス変換装置1は、メディア情報管理テーブル310を備えることにより、セッション終了後の音声情報をブロックする。   The feature of this example is that the tag information in the second embodiment is associated with the call leg of SIP communication. Call leg indicates peer to peer SIP relationship. The Call leg can be uniquely identified by a combination of To header, From header, and Call-ID. The header is included in all SIP messages. The address translation device 1 according to the present exemplary embodiment further includes, in addition to the address translation device 1 according to the second exemplary embodiment, table information 300 that manages the correspondence between tags and call legs, and a table that manages the correspondence between tags and media information. Information 310 and method information indicating the start and end of the SIP session are provided. For example, BYE is a SIP method indicating a SIP session end request. Further, tag information is added to each entry of the conversion information table 500 provided in the conversion entry generation processing unit 12 of the address conversion device 1. In this embodiment, the SIP address translation device 2 sets the tag information in the ID of the address inquiry request 600 transmitted to the address translation device 1. When the address translator 1 creates a translation entry, the tag information is stored in the translation information table 500. Normally, a SIP session end request does not include a message-body. However, when providing finer SIP communication, it is desired that the address translation device 1 deletes the address translation information of the corresponding session at the end of the session. In the present embodiment, when the address translation device 1 includes the correspondence information between the call leg and the tag, the corresponding translation information is deleted at the end of the session without the SIP address translation device 2 having a session state management function. Features. FIG. 31 shows a tag management table 300 provided in the tag processing unit 20 of the address translation device 1 in this embodiment. Each entry of the tag management table 300 includes a tag (301), an IPv6 To header (302), an IPv6 From header (303), an IPv6 Call-ID (304), an IPv4 To header (305), an IPv4 From header (306), Define IPv4 Call-ID (307). Since IP address information can be set in the To header, From header, and Call-ID header, entries on the IPv6 side and the IPv4 side are defined. FIG. 32 shows the media information management table 310 provided in the translation entry generation processing unit 12 of the address translation device 1 in this embodiment. Each entry of the media information management table 310 defines a tag (311), an IPv6 c parameter (312), an IPv6 m parameter (313), an IPv4 c parameter (314), and an IPv4 m parameter (315). The address translation device 1 includes the media information management table 310 to block the voice information after the session ends.

図30は、第3の実施例において、アドレス変換装置1が備えるタグ付与処理ルーチン90を示す。アドレス変換装置1は、SIPメッセージを検出するとタグ管理テーブル300を検索する(91)。検索キーは、受信したSIPメッセージのcall leg情報(To、From、Call−ID)である。   FIG. 30 shows a tag assignment processing routine 90 provided in the address translation device 1 in the third embodiment. When detecting the SIP message, the address translation device 1 searches the tag management table 300 (91). The search key is call leg information (To, From, Call-ID) of the received SIP message.

エントリが存在しない場合は、タグを生成する(92)。アドレス変換装置1は、SIPセッションの開始終了を示すメソッド情報と変換対象パラメータリスト412を参照し、受信メッセージに応じた処理を行う(93)。   If there is no entry, a tag is generated (92). The address translation device 1 refers to the method information indicating the start and end of the SIP session and the translation target parameter list 412 and performs processing according to the received message (93).

SIPメッセージがセッション終了を示し、SIPメッセージに変換対象パラメータが存在する場合、アドレス変換装置1はタグ情報を付与したSIPメッセージをSIPアドレス変換装置2に送信する(94)。アドレス変換装置1は、パラメータが書きかえられたSIPメッセージをSIPアドレス変換装置2から受信する(95)。ここで、変換エントリ生成処理部12の変換情報テーブル500に含まれる該当タグの変換エントリと、メディア情報管理テーブル310に含まれる該当タグのエントリを削除する。さらに、変換エントリ登録処理部11が変換情報記憶部16に該当エントリの削除を要求し、正常終了すると、本ルーチンを終了する(96)。   When the SIP message indicates the end of the session and the conversion target parameter exists in the SIP message, the address translation device 1 transmits the SIP message with the tag information to the SIP address translation device 2 (94). The address translation device 1 receives the SIP message with the parameters rewritten from the SIP address translation device 2 (95). Here, the conversion entry of the corresponding tag included in the conversion information table 500 of the conversion entry generation processing unit 12 and the entry of the corresponding tag included in the media information management table 310 are deleted. Further, the conversion entry registration processing unit 11 requests the conversion information storage unit 16 to delete the corresponding entry. When the conversion entry registration processing unit 11 ends normally, this routine ends (96).

SIPメッセージがセッション終了を示し、SIPメッセージに変換対象パラメータが存在しない場合、アドレス変換装置1は、上記ステップ96を実行する。   If the SIP message indicates the end of the session and no conversion target parameter exists in the SIP message, the address translation device 1 executes step 96 described above.

SIPメッセージがセッション開始を示す場合、アドレス変換装置1はメディア情報管理テーブル310にタグとcパラメータとmパラメータの対応情報を登録する(97)。SIPメッセージに変換対象パラメータが存在すれば、アドレス変換装置1はタグ情報を付与したSIPメッセージをSIPアドレス変換装置2に送信し(98)、本ルーチンを終了する。SIPメッセージに変換対象パラメータが存在なければ、本ルーチンを終了する。   If the SIP message indicates the start of a session, the address translation device 1 registers the correspondence information of the tag, c parameter, and m parameter in the media information management table 310 (97). If the conversion target parameter exists in the SIP message, the address conversion device 1 transmits the SIP message to which the tag information is added to the SIP address conversion device 2 (98), and ends this routine. If there is no conversion target parameter in the SIP message, this routine ends.

SIPメッセージが開始終了以外であり、SIPメッセージに変換対象パラメータが存在する場合、アドレス変換装置1はSIPアドレス変換装置2にタグ情報を付与したSIPメッセージを送信し(98)、本ルーチンを終了する。   When the SIP message is other than the start end and the conversion target parameter exists in the SIP message, the address translation device 1 transmits the SIP message with the tag information to the SIP address translation device 2 (98), and this routine is finished. .

SIPメッセージがセッション開始終了要求以外であり、SIPメッセージに変換対象パラメータが存在しない場合は本ルーチンを終了する。   When the SIP message is other than a session start / end request and the conversion target parameter does not exist in the SIP message, this routine ends.

図33と図34と図35に示すシーケンスに従って、第3の実施例においる網Aの端末6aが網Bの端末6bとSIPを用いた音声通信を行う場合について説明する。   A case where the terminal 6a of the network A in the third embodiment performs voice communication using the SIP with the terminal 6b of the network B according to the sequence shown in FIGS. 33, 34, and 35 will be described.

図33と図34はセッション確立シーケンスを示す。基本的な処理の流れは、図27及び図28と同じである。図33と図27の差分は、図33にステップ116が追加されたことである。図34と図28の差分は、図34にステップ133が追加されたことである。ステップ116及びステップ133において、アドレス変換装置1は、検出したSIPメッセージがセッション開始を示すことを識別し、タグ情報と検出したSIPメッセージに含まれるcパラメータとmパラメータの対応情報をメディア情報管理テーブル310に格納する。   33 and 34 show a session establishment sequence. The basic processing flow is the same as in FIGS. The difference between FIG. 33 and FIG. 27 is that step 116 is added to FIG. The difference between FIG. 34 and FIG. 28 is that step 133 is added to FIG. In Step 116 and Step 133, the address translation device 1 identifies that the detected SIP message indicates the start of a session, and shows correspondence information between the tag information and the c parameter and m parameter included in the detected SIP message in the media information management table. Stored in 310.

図35は、セッション終了シーケンスを示す。基本的な流れは、図27及び図28と同じである。端末6aは端末6bとの間のセッション終了を要求するSIPメッセージ(BYE)をSIPサーバ5aに送信する(161)。SIPサーバ5aは、SIPサーバ5bの仮想IPv6アドレス「vsipb6」宛にSIPメッセージ(BYE)を送信する(162)。アドレス変換装置1がこのSIPメッセージ(BYE)を検出し、タグつきSIPメッセージをSIPアドレス変換装置2に送信する(163、164)。SIPメッセージ変換処理の流れ(165から168)は図27のステップ108から111と同様である。   FIG. 35 shows a session end sequence. The basic flow is the same as in FIGS. The terminal 6a transmits a SIP message (BYE) requesting termination of the session with the terminal 6b to the SIP server 5a (161). The SIP server 5a transmits a SIP message (BYE) to the virtual IPv6 address “vsipb6” of the SIP server 5b (162). The address translation device 1 detects this SIP message (BYE) and transmits a tagged SIP message to the SIP address translation device 2 (163, 164). The flow of SIP message conversion processing (165 to 168) is the same as steps 108 to 111 in FIG.

アドレス変換装置1は、SIPアドレス変換装置2からIPアドレスを含むパラメータを書き換えたSIPメッセージ(BYE)を受信すると(169)、SIPメッセージを含むパケットヘッダのアドレスを変換する(170)。アドレス変換装置1は、SIPサーバ5bの実IPv4アドレス「sipb4」宛にSIPメッセージ(BYE)を送信する(171)。SIPサーバ5bは、端末6bにSIPメッセージ(BYE)を送信する(172)。   When receiving the SIP message (BYE) in which the parameter including the IP address is rewritten from the SIP address conversion device 2 (169), the address conversion device 1 converts the address of the packet header including the SIP message (170). The address translation device 1 transmits a SIP message (BYE) to the real IPv4 address “sipb4” of the SIP server 5b (171). The SIP server 5b transmits a SIP message (BYE) to the terminal 6b (172).

端末6bは、BYEを正常に処理すると、BYEに対する応答200 OKをSIPサーバ5bに送信する(173)。   When the terminal 6b normally processes the BYE, the terminal 6b transmits a response 200 OK to the BYE to the SIP server 5b (173).

SIPサーバ5bは、BYEに対する応答200 OKをSIPサーバ5aの仮想IPv4アドレス「vsipa4」宛に送信する(174)。
上記SIPメッセージを検出したアドレス変換装置1は、受信 SIPメッセージがセッション終了に対する応答であることを検出し(175)、タグ付きSIPメッセージをSIPアドレス変換装置2に送信する(176)。SIPメッセージ変換処理の流れ(177から180)は、図27のステップ108から111と同様である。
The SIP server 5b transmits a response 200 OK to BYE to the virtual IPv4 address “vsipa4” of the SIP server 5a (174).
The address translation device 1 that has detected the SIP message detects that the received SIP message is a response to the session termination (175), and transmits the tagged SIP message to the SIP address translation device 2 (176). The flow of SIP message conversion processing (177 to 180) is the same as steps 108 to 111 in FIG.

アドレス変換装置1は、SIPアドレス変換装置2からパラメータを書き換えられたSIPメッセージ(BYE)を受信すると(181)、SIPメッセージを含むパケットヘッダのアドレスを変換する。次に、アドレス変換装置1は、タグ管理テーブル300をSIPメッセージのcall leg情報を検索キーとしてタグを検索する。次に変換情報テーブル500に含まれる該当タグの変換エントリと、メディア情報管理テーブル310に含まれる該当タグのエントリを削除する(182)。アドレス変換装置1は、SIPサーバ5b経由で端末6bにSIPメッセージ(BYE)を送信する(183、184)。   When the address translator 1 receives the SIP message (BYE) whose parameters have been rewritten from the SIP address translator 2 (181), the address translator 1 translates the address of the packet header including the SIP message. Next, the address translation device 1 searches the tag management table 300 for tags using the call leg information of the SIP message as a search key. Next, the conversion entry of the corresponding tag included in the conversion information table 500 and the entry of the corresponding tag included in the media information management table 310 are deleted (182). The address translation device 1 transmits a SIP message (BYE) to the terminal 6b via the SIP server 5b (183, 184).

本発明の実施の形態によると、アドレス変換装置1がタグとcall legの対応関係を備えることにより、SIP通信終了時に変換エントリの削除が可能になる。   According to the embodiment of the present invention, the address translation device 1 has a correspondence relationship between a tag and a call leg, so that the translation entry can be deleted at the end of SIP communication.

本発明の第4の実施の形態を図面を用いて説明する。   A fourth embodiment of the present invention will be described with reference to the drawings.

本実施例は、IPアドレス変換装置1がSIPメッセージ変換手段を備えることを特徴とする。   This embodiment is characterized in that the IP address translation device 1 includes SIP message translation means.

図24は、本実施例におけるアドレス変換装置1の構成例を示す。   FIG. 24 shows a configuration example of the address translation device 1 in this embodiment.

パケット転送制御部13は、第1の実施の形態におけるアドレス変換装置1の機能ブロックに加え、SIPメッセージ変換処理部31と変換規則記憶部32を備える。   The packet transfer control unit 13 includes a SIP message conversion processing unit 31 and a conversion rule storage unit 32 in addition to the functional blocks of the address conversion device 1 in the first embodiment.

SIPメッセージ変換処理部31は、第1の実施の形態におけるSIPアドレス変換装置2のSIPメッセージ変換処理部26が備える機能を有する。   The SIP message conversion processing unit 31 has a function provided in the SIP message conversion processing unit 26 of the SIP address conversion device 2 in the first embodiment.

変換規則記憶部32は、第1の実施の形態におけるSIPアドレス変換装置2の変換規則記憶部28が備える機能を有する。   The conversion rule storage unit 32 has a function provided in the conversion rule storage unit 28 of the SIP address conversion device 2 in the first embodiment.

本発明の実施の形態によると、アドレス変換装置1がSIPメッセージ変換手段を備えることにより、SIPアドレス変換装置2との通信処理を省略できる。従って、 SIPメッセージ変換に伴う処理の高速化が可能になる。   According to the embodiment of the present invention, communication processing with the SIP address translation device 2 can be omitted by providing the address translation device 1 with SIP message translation means. Therefore, it is possible to increase the processing speed associated with SIP message conversion.

第5の実施の形態を説明する。   A fifth embodiment will be described.

図1において網A7がIPv4プライベートアドレスを利用する。網B8がIPv4グローバルアドレスを利用する。   In FIG. 1, network A7 uses an IPv4 private address. Network B8 uses an IPv4 global address.

アドレス変換装置1は、IPv4アドレスとIPv6アドレスの変換機能のかわりにIPv4プライベートアドレスとIPv4グローバルアドレスの変換機能を備える。   The address translation device 1 has an IPv4 private address and IPv4 global address translation function instead of an IPv4 address and IPv6 address translation function.

本実施例において、IPv4プライベート網7からSIPメッセージを受信したアドレス変換装置1は、SIPメッセージをSIPアドレス変換装置2に送信する。SIPアドレス変換装置2は、変換規則を参照し、変換対象IPアドレスを特定する。例えば、変換対象アドレスは、SIPサーバ5aのIPv4プライベートアドレスと端末6aのIPv4プライベートアドレスになる。   In this embodiment, the address translation device 1 that has received the SIP message from the IPv4 private network 7 transmits the SIP message to the SIP address translation device 2. The SIP address translation device 2 refers to the translation rule and identifies the translation target IP address. For example, the translation target addresses are the IPv4 private address of the SIP server 5a and the IPv4 private address of the terminal 6a.

SIPアドレス変換装置2は、変換対象IPアドレスを含むアドレス問い合わせ要求をアドレス変換装置1に送信する。   The SIP address translation device 2 transmits an address inquiry request including the translation target IP address to the address translation device 1.

アドレス問い合わせ要求を受信したアドレス変換装置1は、IPv4プライベートアドレスとIPv4グローバルアドレスの変換エントリを作成する。アドレス変換装置1はSIPアドレス変換装置2に変換前のIPv4プライベートアドレスと変換後のIPv4グローバルアドレスを含むアドレス問い合わせ要求応答を送信する。   The address translation device 1 that has received the address inquiry request creates a translation entry for the IPv4 private address and the IPv4 global address. The address translation device 1 transmits to the SIP address translation device 2 an address inquiry request response including the IPv4 private address before translation and the IPv4 global address after translation.

本発明の実施の形態によれば 、IPv4プロトコルに従う網A7と網B8をアドレス変換装置1で相互接続し、SIPアドレス変換装置2がSIPメッセージに含まれるIPアドレスを書きかえれば、網A7に属する端末と網B8に属する端末のSIPを用いた音声通信が可能になる。   According to the embodiment of the present invention, if the network A7 and the network B8 according to the IPv4 protocol are interconnected by the address translation device 1, and the SIP address translation device 2 rewrites the IP address included in the SIP message, it belongs to the network A7. Voice communication using SIP between the terminal and the terminal belonging to the network B8 becomes possible.

アドレス変換装置1がSIPメッセージ変換手段を備えれば、SIPメッセージ変換装置2との通信処理を省略できる。   If the address translation device 1 includes SIP message translation means, communication processing with the SIP message translation device 2 can be omitted.

1 アドレス変換装置、2 SIPアドレス変換装置、3 DNS−ALG、5 SIPサーバ、6 端末、41 IPヘッダ、42 TCP/UDPヘッダ、43 ペイロード、51 送信元IPv4アドレス、52 着信先IPv4アドレス、53 IPv4ペイロード、54 送信元IPv6アドレス、55 着信先IPv6アドレス、56 IPv6ペイロード、60 SIPメッセージ変換処理ルーチン1、70 SIPメッセージ変換処理ルーチン2、80 タグ付与処理ルーチン1、90 タグ付与処理ルーチン2。   1 address translator, 2 SIP address translator, 3 DNS-ALG, 5 SIP server, 6 terminal, 41 IP header, 42 TCP / UDP header, 43 payload, 51 source IPv4 address, 52 destination IPv4 address, 53 IPv4 Payload, 54 transmission source IPv6 address, 55 destination IPv6 address, 56 IPv6 payload, 60 SIP message conversion processing routine 1, 70 SIP message conversion processing routine 2, 80 tag addition processing routine 1, 90 tag addition processing routine 2.

Claims (19)

あるプロトコルPに従う網AとあるプロトコルQに従う網Bを接続するアドレス変換装置であって、
上記アドレス変換装置はプロトコルPに従うアドレスとプロトコルQに従うアドレスを相互に変換するアドレス変換機能と、特定プロトコルに従う通信を検出する検出機能とを有し、
上記アドレス変換機能により、通信データの第1の領域に記述されているアドレスをアドレス変換し、
上記特定プロトコルに従う通信を検出した場合には、通信データの第2の領域に記述されているアドレスを変換するために、プロトコルPでのアドレスとプロトコルQでのアドレスの対応関係を含む変換情報を作成することを特徴とするアドレス変換装置。
An address translation device for connecting a network A according to a protocol P and a network B according to a protocol Q,
The address translation device has an address translation function for mutually converting an address according to protocol P and an address according to protocol Q, and a detection function for detecting communication according to a specific protocol,
The address conversion function converts the address described in the first area of the communication data,
When communication according to the specific protocol is detected, conversion information including the correspondence between the address in the protocol P and the address in the protocol Q is used to convert the address described in the second area of the communication data. An address translator characterized by being created.
サーバ装置と通信するための通信手段を有し、
上記変換情報を上記サーバに送信し、該サーバ装置で変換処理を受けた上記第2の領域を含む情報を受信することを特徴とする請求項1記載のアドレス変換装置。
Having communication means for communicating with the server device;
2. The address translation apparatus according to claim 1, wherein the translation information is transmitted to the server, and the information including the second area subjected to the translation process by the server apparatus is received.
通信データの第2の領域に記述されているアドレスを変換する処理部を内蔵することを特徴とする請求項1記載のアドレス変換装置。   2. The address conversion apparatus according to claim 1, further comprising a processing unit for converting an address described in the second area of the communication data. 第1の部分と第2の部分を含むメッセージを処理する方法であって、
第1の部分の情報を、第1のプロトコルに従う情報から第2のプロトコルに従う情報に変換する第1の変換処理と、
第2の部分に変換が必要か否かを判定する判定処理と、
変換が必要と判断された第2の部分の情報に対して、第1のプロトコルに従う情報から第2のプロトコルに従う情報に変換する第2の変換処理とを行うことを特徴とするメッセージ処理方法。
A method for processing a message including a first part and a second part, comprising:
A first conversion process for converting information of the first portion from information according to the first protocol to information according to the second protocol;
A determination process for determining whether the second part needs to be converted;
A message processing method comprising: performing a second conversion process for converting information according to a first protocol from information according to a first protocol to information according to a second protocol, with respect to information of a second portion determined to be converted.
第1のサーバと第2のサーバを用い、
上記第1の変換処理を上記第1のサーバで行い、
上記第2の部分の情報を、上記第1のサーバから第2のサーバへ転送し、
上記第2のサーバは、変換が必要なパラメータを上記第2の部分から抽出し、
上記抽出されたパラメータについて、上記第2の変換処理を上記第2のサーバで行い、
上記第2の変換処理の施された上記第2の部分の情報を、上記第2のサーバから上記第1のサーバへ転送することを特徴とする請求項4記載のメッセージ処理方法。
Using a first server and a second server,
The first conversion process is performed on the first server,
Transferring the information of the second part from the first server to the second server;
The second server extracts parameters that need to be converted from the second part,
For the extracted parameters, the second conversion process is performed by the second server,
5. The message processing method according to claim 4, wherein the second part information subjected to the second conversion process is transferred from the second server to the first server.
上記第2のサーバは、変換が必要なパラメータを示すテーブルを有し、該テーブルを元に、変換が必要なパラメータを上記第2の部分から抽出することを特徴とする請求項5記載のメッセージ処理方法。   6. The message according to claim 5, wherein the second server has a table indicating parameters that need to be converted, and extracts parameters that need to be converted from the second part based on the table. Processing method. 上記第1のサーバは、上記第2の部分のうち、上記変換が必要と判断されたパラメータにタグを付して上記第2のサーバへ転送し、
上記第2のサーバは、上記タグを元に、変換が必要なパラメータを上記第2の部分から抽出することを特徴とする請求項5記載のメッセージ処理方法。
The first server attaches a tag to the parameter determined to be necessary to be converted in the second part and transfers it to the second server,
6. The message processing method according to claim 5, wherein the second server extracts parameters that need to be converted from the second part based on the tag.
上記第1の部分はIPヘッダーであり、上記第2の部分はSIPメッセージを含むペイロードであり、上記第1のプロトコルおよび第2のプロトコルのうち一方はIPv4であり、他方はIPv6であり、変換される情報はアドレスであることを特徴とする請求項4記載のメッセージ処理方法。   The first part is an IP header, the second part is a payload containing a SIP message, one of the first protocol and the second protocol is IPv4, the other is IPv6, 5. The message processing method according to claim 4, wherein the information to be processed is an address. 第1のアドレス体系に従う第1の網と第2のアドレス体系に従う第2の網の両者に接続されるアドレス変換装置であって、
上記第1のアドレス体系と上記第2のアドレス体系を相互に変換するための変換規則を保持する記憶部と、
上記変換規則に基づいて、入力情報の上記第1のアドレス体系に従う第1のアドレスと、上記第2のアドレス体系に従う第2のアドレスを相互にアドレス変換する変換部と、
上記入力情報と変換規則を出力する機能と、を有するアドレス変換装置。
An address translation device connected to both the first network according to the first address system and the second network according to the second address system,
A storage unit that holds conversion rules for converting the first address system and the second address system to each other;
Based on the conversion rule, a conversion unit that mutually converts the first address according to the first address system of the input information and the second address according to the second address system;
An address translation device having a function of outputting the input information and the translation rule.
上記出力された入力情報と変換規則を用いてアドレス変換された上記入力情報が、入力される機能をさらに有する請求項9記載のアドレス変換装置。   The address conversion apparatus according to claim 9, further comprising a function of inputting the output input information and the input information subjected to address conversion using a conversion rule. サーバ装置と通信するための通信機能を有し、
上記入力情報を上記サーバ装置に送信し、該サーバ装置でアドレス変換された上記入力情報を受信することを特徴とする請求項10記載のアドレス変換装置。
A communication function for communicating with the server device;
11. The address translation device according to claim 10, wherein the input information is transmitted to the server device, and the input information whose address is translated by the server device is received.
SIP通信を検出する機能と、SIP通信を検出した場合に上記サーバ装置と連携して、第1のアドレス体系に従う第1の網でのアドレスと第2のアドレス体系に従う第2の網でのアドレスの対応関係を含む変換情報を作成する機能とを備えることを特徴とする請求項11記載のアドレス変換装置。   A function for detecting SIP communication, and an address in the first network according to the first address system and an address in the second network according to the second address system in cooperation with the server device when SIP communication is detected The address conversion apparatus according to claim 11, further comprising: a function of creating conversion information including the correspondence relationship. SIP通信に含まれる変換対象情報を検出し、該変換対象情報に識別情報を付加する機能をさらに有することを特徴とする請求12に記載のアドレス変換装置。   13. The address translation device according to claim 12, further comprising a function of detecting conversion target information included in SIP communication and adding identification information to the conversion target information. SIP通信を、着信先情報,あるいは,着信先情報とそのポート情報,あるいは
,ポート情報に基づき検出することを特徴とする請求9に記載のアドレス変換装置。
10. The address translation device according to claim 9, wherein SIP communication is detected based on destination information or destination information and its port information or port information.
内部バスで接続された処理部を内蔵し、
上記入力情報を上記内部バスを介して上記処理部に送信し、該処理部でプロトコル変換された上記入力情報を上記内部バスを介して受信することを特徴とする請求項10記載のアドレス変換装置。
Built-in processing unit connected by internal bus,
11. The address conversion apparatus according to claim 10, wherein the input information is transmitted to the processing unit via the internal bus, and the input information subjected to protocol conversion by the processing unit is received via the internal bus. .
あるプロトコルPに従う網とあるプロトコルQに従う網をアドレス変換装置で接続する通信網において、上記アドレス変換装置と共同して動作するサーバ装置であって、
上記アドレス変換装置でアドレス変換を受けなかった所定部分に関して、アドレス変換を行うサーバ装置。
In a communication network in which a network conforming to a certain protocol P and a network conforming to a certain protocol Q are connected by an address translation device, the server device operates in cooperation with the address translation device,
A server device that performs address conversion on a predetermined portion that has not undergone address conversion by the address conversion device.
上記サーバ装置は、上記アドレス変換装置に記憶された変換情報を用いて、アドレス変換を行う請求項16記載のサーバ装置。   The server device according to claim 16, wherein the server device performs address conversion using conversion information stored in the address conversion device. 上記変換情報とは、プロトコルPとプロトコルQ間でのアドレス変換規則である請求項17記載のサーバ装置。   18. The server device according to claim 17, wherein the conversion information is an address conversion rule between protocol P and protocol Q. 上記変換情報は、さらに、上記所定部分を指定する情報を含む請求項18記載のサーバ装置。   The server device according to claim 18, wherein the conversion information further includes information specifying the predetermined portion.
JP2009144879A 2009-06-18 2009-06-18 Address translation apparatus, message processing method and apparatus Expired - Lifetime JP4793476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009144879A JP4793476B2 (en) 2009-06-18 2009-06-18 Address translation apparatus, message processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009144879A JP4793476B2 (en) 2009-06-18 2009-06-18 Address translation apparatus, message processing method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001373520A Division JP4349766B2 (en) 2001-12-07 2001-12-07 Address translation device

Publications (2)

Publication Number Publication Date
JP2009207206A true JP2009207206A (en) 2009-09-10
JP4793476B2 JP4793476B2 (en) 2011-10-12

Family

ID=41148923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009144879A Expired - Lifetime JP4793476B2 (en) 2009-06-18 2009-06-18 Address translation apparatus, message processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4793476B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730575A (en) * 1993-07-09 1995-01-31 Fujitsu Ltd Router having address conversion function
JPH11150566A (en) * 1997-11-14 1999-06-02 Hitachi Ltd Internetwork device
JP2000156709A (en) * 1998-11-20 2000-06-06 Pfu Ltd Address converter and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730575A (en) * 1993-07-09 1995-01-31 Fujitsu Ltd Router having address conversion function
JPH11150566A (en) * 1997-11-14 1999-06-02 Hitachi Ltd Internetwork device
JP2000156709A (en) * 1998-11-20 2000-06-06 Pfu Ltd Address converter and recording medium

Also Published As

Publication number Publication date
JP4793476B2 (en) 2011-10-12

Similar Documents

Publication Publication Date Title
JP4349766B2 (en) Address translation device
JP3972733B2 (en) Address translation device, address translation system, and SIP server
US20040246991A1 (en) IP address translator and packet transfer apparatus
US7684397B2 (en) Symmetric network address translation system using STUN technique and method for implementing the same
JP2005236824A (en) IPv6/IPv4 TRANSLATOR
JP3928664B2 (en) Address translation apparatus, message processing method and apparatus
JP2008258917A (en) Identical nat subordinate communication control system, nat device, identical nat subordinate communication control method, and program
JP4793477B2 (en) Address translation apparatus, message processing method and apparatus
JP4350030B2 (en) Address translation method
JP4350029B2 (en) Address translation system
JP3928663B2 (en) Address translation apparatus, message processing method and apparatus
JP3928662B2 (en) Address translation apparatus, message processing method and apparatus
JP4793476B2 (en) Address translation apparatus, message processing method and apparatus
KR20120009587A (en) System and method for providing sip service
JP3878538B2 (en) IP address translation device
JP4311471B2 (en) Address translation device, address translation system, and SIP server
JP2003046530A (en) Communication method among ip networks with different address spaces, and device with global ip address
JP2009130712A (en) Gateway device and communication control method
JP2010239516A (en) Information communication system
GB2419491A (en) Enabling communication between two network nodes

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110520

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4793476

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

EXPY Cancellation because of completion of term