JP6101149B2 - Relay device, relay method, and computer program - Google Patents
Relay device, relay method, and computer program Download PDFInfo
- Publication number
- JP6101149B2 JP6101149B2 JP2013106507A JP2013106507A JP6101149B2 JP 6101149 B2 JP6101149 B2 JP 6101149B2 JP 2013106507 A JP2013106507 A JP 2013106507A JP 2013106507 A JP2013106507 A JP 2013106507A JP 6101149 B2 JP6101149 B2 JP 6101149B2
- Authority
- JP
- Japan
- Prior art keywords
- ipv4
- ipv6
- conversion
- communication
- notification
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、IPv4/IPv6変換技術に関する。 The present invention relates to an IPv4 / IPv6 conversion technology.
従来、IPv6(Internet Protocol Version 6)を利用して通信を行う端末装置(以下、「IPv6端末」という。)の普及に伴い、IPv4を利用して通信を行う端末装置(以下、「IPv4端末」という。)からでもIPv6サービスを利用できるようにすることが望まれている。このような要求を受けて、IPv4/IPv6トランスレータを利用して、IPv4−IPv6間でアドレスだけでなくプロトコルそのものを変換(以下、「IPv4/IPv6変換」という。)することによって、IPv4端末からでもIPv6サービスを利用させる技術が提案されている(例えば、特許文献1参照)。 2. Description of the Related Art Conventionally, with the widespread use of terminal devices that communicate using IPv6 (Internet Protocol Version 6) (hereinafter referred to as “IPv6 terminals”), terminal devices that perform communication using IPv4 (hereinafter referred to as “IPv4 terminals”). It is desired to make it possible to use the IPv6 service. In response to such a request, the IPv4 / IPv6 translator is used to translate not only the address but also the protocol itself between IPv4 and IPv6 (hereinafter referred to as “IPv4 / IPv6 translation”), even from an IPv4 terminal. A technique for using an IPv6 service has been proposed (see, for example, Patent Document 1).
しかしながら、特許文献1の技術では、IPv4端末からの名前解決要求に対し、DNSプロキシとして機能するGW(Gate Way)装置が動的にIPv4の名前解決要求とIPv6の名前解決要求とでDNSサーバにIPアドレスの問い合わせを行う。その結果、GW装置が名前解決応答に応じてIPv4/IPv6トランスレータを利用した通信が必要であると判断した場合には、ユーザの意志に関係なく、IPv4/IPv6トランスレータを利用して通信が行われてしまう。そのため、ユーザは、IPv4/IPv6変換されて通信が行われていることに気付くことができないという問題があった。このような問題が発生すると、ユーザはIPv6接続の確立が必要であることも意識できない。その結果、IPv6接続が確立されていない場合には、通信が行えなくなってしまうおそれがあった。
However, in the technique of
上記事情に鑑み、本発明は、ユーザに対してIPv4/IPv6変換の利用を意識させる技術の提供を目的としている。 In view of the above circumstances, an object of the present invention is to provide a technology that makes a user aware of the use of IPv4 / IPv6 conversion.
本発明の一態様は、端末装置からデータを受信する通信部と、前記通信部によって受信された前記データに基づいてIPv4/IPv6変換を利用して通信を行うか否か確認する通知を前記端末装置に送信する変換通知部と、を備え、前記変換通知部は、IPv4/IPv6変換を利用して通信を行う旨の通知が前記通信部によって受信されると、前記データに対して前記IPv4/IPv6変換を行い、変換後のデータを他の装置に送信する中継装置である。 One aspect of the present invention is a communication unit that receives data from a terminal device, and a notification that confirms whether to perform communication using IPv4 / IPv6 conversion based on the data received by the communication unit. comprising a conversion notifying unit for transmitting device, wherein the conversion notification section, when notification that performs communication using a IPv4 / IPv6 conversion is received by the communication unit, the relative said data IPv4 / This is a relay device that performs IPv6 conversion and transmits the converted data to another device .
本発明の一態様は、上記の中継装置であって、IPv4の識別情報とIPv6の識別情報とIPv4/IPv6変換を利用した通信が有効であるか否かを示す情報とを対応付けて記憶する変換テーブル記憶部をさらに備え、前記変換通知部は、IPv4/IPv6変換を利用した通信が有効ではない場合に前記通知を前記端末装置に送信し、IPv4/IPv6変換を利用した通信が有効である場合にIPv4/IPv6変換を行い、変換後のデータを他の装置に送信する。 One aspect of the present invention is the relay device described above, which stores IPv4 identification information, IPv6 identification information, and information indicating whether communication using IPv4 / IPv6 conversion is effective in association with each other. A conversion table storage unit, and the conversion notification unit transmits the notification to the terminal device when communication using IPv4 / IPv6 conversion is not effective, and communication using IPv4 / IPv6 conversion is effective In this case, IPv4 / IPv6 conversion is performed, and the converted data is transmitted to another device.
本発明の一態様は、上記の中継装置であって、前記端末装置から前記IPv4/IPv6変換を利用した通信を行う旨の通知が受信されると、前記データの宛先を示すFQDN(Fully Qualified Domain Name)を記録する宛先識別情報テーブル記憶部と、前記端末装置からIPv4の名前解決要求が受信されると、前記IPv4の名前解決要求のFQDNが前記宛先識別情報テーブル記憶部に記録されている否かを判定し、前記IPv4の名前解決要求のFQDNが記録されている場合にはIPv4の識別情報の問い合わせを行わず、前記IPv4の名前解決要求のFQDNが記録されていない場合にはIPv4の識別情報及びIPv6の識別情報の問い合わせを行う要求部と、を更に備える。 One aspect of the present invention is the relay device described above, and when a notification indicating that communication using the IPv4 / IPv6 conversion is performed is received from the terminal device, an FQDN (Fully Qualified Domain) indicating a destination of the data is provided. When the IPv4 name resolution request is received from the terminal device and the IPv4 name resolution request FQDN is recorded in the destination identification information table storage unit. If the IPv4 name resolution request FQDN is recorded, the IPv4 identification information is not queried. If the IPv4 name resolution request FQDN is not recorded, the IPv4 identification is not identified. And a request unit for inquiring information and IPv6 identification information.
本発明の一態様は、上記の中継装置であって、前記宛先識別情報テーブル記憶部に記録されているFQDN宛のデータが受信された際に、IPv4又はIPv6の接続が確立していない場合には前記端末装置に接続が必要である旨を通知する接続通知部を更に備える。 One aspect of the present invention is the relay device described above, in which, when data addressed to the FQDN recorded in the destination identification information table storage unit is received, an IPv4 or IPv6 connection is not established. Further includes a connection notification unit for notifying that the terminal device needs to be connected.
本発明の一態様は、端末装置からデータを受信する通信ステップと、前記通信ステップによって受信された前記データに基づいてIPv4/IPv6変換を利用して通信を行うか否か確認する通知を前記端末装置に送信する変換通知ステップと、を有し、前記変換通知ステップにおいて、IPv4/IPv6変換を利用して通信を行う旨の通知が前記通信ステップにおいて受信されると、前記データに対して前記IPv4/IPv6変換を行い、変換後のデータを他の装置に送信する中継方法である。 One aspect of the present invention is a communication step for receiving data from a terminal device, and a notification for confirming whether or not to perform communication using IPv4 / IPv6 conversion based on the data received by the communication step. possess a conversion notification transmitting device, and in the conversion notification step, the notification of performing communication using the IPv4 / IPv6 conversion is received in the communication step, the to the data IPv4 This is a relay method that performs / IPv6 conversion and transmits the converted data to another device .
本発明の一態様は、端末装置からデータを受信する通信ステップと、前記通信ステップによって受信された前記データに基づいてIPv4/IPv6変換を利用して通信を行うか否か確認する通知を前記端末装置に送信する変換通知ステップと、をコンピュータに実行させ、前記変換通知ステップにおいて、IPv4/IPv6変換を利用して通信を行う旨の通知が前記通信ステップにおいて受信されると、前記データに対して前記IPv4/IPv6変換を行い、変換後のデータを他の装置に送信するためのコンピュータプログラムである。 One aspect of the present invention is a communication step for receiving data from a terminal device, and a notification for confirming whether or not to perform communication using IPv4 / IPv6 conversion based on the data received by the communication step. A conversion notification step to be transmitted to the device; and in the conversion notification step, when a notification indicating that communication is performed using IPv4 / IPv6 conversion is received in the communication step, It performs the IPv4 / IPv6 conversion is because of a computer program to transmit the converted data to another device.
本発明により、ユーザに対してIPv4/IPv6変換の利用を意識させることが可能となる。 According to the present invention, it is possible to make the user aware of the use of IPv4 / IPv6 conversion.
以下、本発明の一実施形態を、図面を参照しながら説明する。
図1は、本実施形態における無線通信システムのシステム構成を示す図である。本実施形態の無線通信システムは、単数又は複数のIPv4端末10(10−1〜10−N:Nは1以上の整数)、v4DNSサーバ20−1、v6DNSサーバ20−2、HGW30、ネットワーク40及び対象サーバ50を備える。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a system configuration of a wireless communication system in the present embodiment. The wireless communication system of the present embodiment includes one or a plurality of IPv4 terminals 10 (10-1 to 10-N: N is an integer equal to or greater than 1), a v4 DNS server 20-1, a v6 DNS server 20-2, an
IPv4端末10は、例えばスマートフォン、携帯電話機、PDA(Personal Digital Assistant)、携帯ゲーム装置、タブレット装置、ノート型パーソナルコンピュータ等の情報処理装置を用いて構成される。IPv4端末10は、HGW30を介してネットワーク40との間で通信を行う。IPv4端末10は、例えばHGW30に、IPv4での名前解決要求(以下、「v4名前解決要求」という。)を送信する。
v4DNSサーバ20−1は、情報処理装置を用いて構成される。v4DNSサーバ20−1は、IPv4の名前解決を行う。
v6DNSサーバ20−2は、情報処理装置を用いて構成される。v6DNSサーバ20−1は、IPv6の名前解決を行う。
The
The v4 DNS server 20-1 is configured using an information processing device. The v4 DNS server 20-1 performs IPv4 name resolution.
The v6 DNS server 20-2 is configured using an information processing device. The v6 DNS server 20-1 performs IPv6 name resolution.
HGW30は、自装置(HGW30)に帰属するIPv4端末10(以下、「帰属端末」という。)との間で通信を行う。HGW30は、ネットワーク40に接続されている通信機器との間で通信を行う。ネットワーク40に接続している通信機器の具体例として、v4DNSサーバ20−1、v6DNSサーバ20−2及び対象サーバ50がある。HGW30は、帰属端末とネットワーク40に接続している通信機器との間で通信の中継処理を行う。
The HGW 30 communicates with the IPv4 terminal 10 (hereinafter referred to as “attached terminal”) belonging to the own apparatus (HGW 30). The HGW 30 performs communication with communication devices connected to the
ネットワーク40は、どのように構成されたネットワークでもよい。例えば、ネットワーク40はIPv4網やIPv6網を用いて構成されてもよい。
対象サーバ50は、情報処理装置を用いて構成される。対象サーバ50は、IPv4端末10が接続を所望するIPv6のサーバである。
The
The
図2は、本実施形態におけるHGW30の機能構成を表す概略ブロック図である。
HGW30は、バスで接続されたCPU(Central Processing Unit)やメモリや補助記憶装置などを備え、中継プログラムを実行する。中継プログラムの実行によって、HGW30は、通信部301、変換テーブル記憶部302、転送制御部303、FQDN(Fully Qualified Domain Name)テーブル記憶部(宛先識別情報テーブル記憶部)304、DNSプロキシ部305、IPv4/IPv6変換通知部306、IPv6接続通知部307、IPv4インターフェース308、IPv6インターフェース309を備える装置として機能する。なお、HGW30の各機能の全て又は一部は、ASIC(Application Specific Integrated Circuit)やPLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されてもよい。また、中継プログラムは、コンピュータ読み取り可能な記録媒体に記録されてもよい。コンピュータ読み取り可能な記録媒体とは、例えばフレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置である。また、中継プログラムは、電気通信回線を介して送受信されてもよい。
FIG. 2 is a schematic block diagram showing a functional configuration of the
The HGW 30 includes a CPU (Central Processing Unit), a memory, an auxiliary storage device, and the like connected by a bus, and executes a relay program. By executing the relay program, the
通信部301は、IPv4端末10との間で通信を行う。例えば、通信部301は、IPv4端末10からv4名前解決要求を受信する。また、例えば、通信部301は、名前解決応答をIPv4端末10に送信する。
変換テーブル記憶部302は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。変換テーブル記憶部302は、変換テーブルを記憶している。
The
The conversion
転送制御部303は、受信されたパケットに応じて転送先の制御を行う。
FQDNテーブル記憶部304は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。FQDNテーブル記憶部304は、FQDNテーブルを記憶している。
DNSプロキシ部305は、IPv4端末10から送信された名前解決要求をv4DNSサーバ20−1やv6DNSサーバ20−2に転送し、名前解決応答をIPv4端末10に転送する。
The
The FQDN
The
IPv4/IPv6変換通知部306は、転送制御部303によってパケットが転送されると、パケットの送信元であるIPv4端末10に利用確認通知を送信する。利用確認通知は、IPv4/IPv6トランスレータ機能を利用するか否かをユーザに選択させるための通知である。利用確認通知には、後述する利用確認画像が格納される。
IPv6接続通知部307は、転送制御部303によってパケットが転送されると、パケットの送信元であるIPv4端末10に接続通知を送信する。接続通知は、IPv6接続が確立していないことを示す通知である。接続通知には、後述する接続通知画像が格納される。
When the packet is transferred by the
When the packet is transferred by the
IPv4インターフェース308は、有線接続又は無線接続により、LAN(Local Area Network)やWAN(Wide Area Network)などのネットワーク40と接続する。IPv4インターフェース308は、HGW30とネットワーク40との間でIPv4によるデータの入出力を行う。
IPv6インターフェース309は、有線接続又は無線接続により、LANやWANなどのネットワーク40と接続する。IPv6インターフェース309は、HGW30とネットワーク40との間でIPv6によるデータの入出力を行う。
The
The
図3は、FQDNテーブル及び変換テーブルの具体例を示す図である。
図3(A)は、FQDNテーブルの構成図である。FQDNテーブル記憶部304によって記憶されているFQDNテーブルには、番号及びFQDN(宛先識別情報)が対応付けて登録されている。番号の値は、FQDNテーブルにFQDNが記録された順番を表す。FQDNの値は、FQDNテーブルに記録されたFQDNを表す。
FIG. 3 is a diagram illustrating specific examples of the FQDN table and the conversion table.
FIG. 3A is a configuration diagram of the FQDN table. In the FQDN table stored by the FQDN
図3(B)は、変換テーブルの構成図である。変換テーブルは、レコード60を複数有する。レコード60は、番号、変換元IPアドレス(仮想IPv4アドレス)、変換先IPアドレス(通信先IPv6アドレス)、FQDN、初期フラグの各値を有する。番号の値は、変換テーブルに変換元IPアドレス、変換先IPアドレス、FQDN、初期フラグの各値が記録された順番を表す。変換元IPアドレスの値は、IPv4/IPv6変換によって変換する変換元の仮想IPv4アドレスを表す。変換先IPアドレスの値は、IPv4/IPv6変換によって変換される変換後のIPv6アドレスを表す。FQDNの値は、名前解決要求されたFQDNを表す。 FIG. 3B is a configuration diagram of the conversion table. The conversion table has a plurality of records 60. The record 60 includes values of a number, a source IP address (virtual IPv4 address), a destination IP address (communication destination IPv6 address), an FQDN, and an initial flag. The number value represents the order in which the values of the conversion source IP address, the conversion destination IP address, the FQDN, and the initial flag are recorded in the conversion table. The value of the translation source IP address represents the translation source virtual IPv4 address to be translated by the IPv4 / IPv6 translation. The value of the conversion destination IP address represents the converted IPv6 address converted by the IPv4 / IPv6 conversion. The value of FQDN indicates the FQDN for which name resolution is requested.
初期フラグの値は、変換テーブルに初めて登録されたか否かを表す。具体的には、初期フラグの値が“1”の項目に対応する変換元IPアドレス、変換先IPアドレス、FQDNの各値は、変換テーブルに初めて登録された内容であり、ユーザによってIPv4/IPv6変換の適用が有効ではない(許可されていない)ことを表す。初期フラグの値が“0”の項目に対応する変換元IPアドレス、変換先IPアドレス、FQDNの各値は、初めて登録された内容ではなく、ユーザによってIPv4/IPv6変換の適用が有効である(許可されている)ことを表す。また、変換テーブルに記録されている各値は、一定時間(例えば、1分、10分)経過後に削除されるように構成されてもよい。 The value of the initial flag indicates whether it is registered for the first time in the conversion table. Specifically, the values of the conversion source IP address, conversion destination IP address, and FQDN corresponding to the item whose initial flag value is “1” are the contents registered for the first time in the conversion table, and are IPv4 / IPv6 by the user. Indicates that the application of the conversion is not valid (not allowed). The values of the source IP address, destination IP address, and FQDN corresponding to the item whose initial flag value is “0” are not registered for the first time, and it is effective to apply IPv4 / IPv6 conversion by the user ( Is allowed). Further, each value recorded in the conversion table may be deleted after a certain time (for example, 1 minute, 10 minutes) has elapsed.
図3(B)に示す例では、変換テーブルには記録された番号ごとに、変換元IPアドレス、変換先IPアドレス、FQDN及び初期フラグの各値が対応付けて記録されている。例えば、図3(B)において、変換テーブルの最上段の行は、番号の値が“1”、変換元IPアドレスの値が“XXX.XXX.XXX.1”、変換先IPアドレスの値が“AAAA:AAA::1”、FQDNの値が“XXX.XXX.XXX”、初期フラグの値が“1”である。即ち、変換テーブルに1番目に記録された仮想IPv4アドレスの値が“XXX.XXX.XXX.1”であり、仮想IPv4アドレスの変換後のIPv6アドレスの値が“AAAA:AAA::1”であり、FQDNの値が“XXX.XXX.XXX”であり、IPv4/IPv6変換の適用が許可されていないことを表す。この場合、変換通知部306は、後述する利用確認通知をIPv4端末10に送信し、ユーザからIPv4/IPv6変換の適用許可を要求する。
In the example shown in FIG. 3B, each value of the conversion source IP address, the conversion destination IP address, the FQDN, and the initial flag is recorded in association with each number recorded in the conversion table. For example, in FIG. 3B, the top row of the conversion table has a number value “1”, a source IP address value “XXX.XXX.XXX.1”, and a destination IP address value. “AAAA: AAA :: 1”, the value of FQDN is “XXX.XXX.XXX”, and the value of the initial flag is “1”. That is, the value of the virtual IPv4 address recorded first in the conversion table is “XXX.XXX.XXX.1”, and the value of the IPv6 address after conversion of the virtual IPv4 address is “AAA: AAA :: 1”. Yes, the value of FQDN is “XXX.XXX.XXX”, indicating that application of IPv4 / IPv6 conversion is not permitted. In this case, the
また、例えば、図3(B)において、変換テーブルの2段目の行は、番号の値が“2”、変換元IPアドレスの値が“XXX.XXX.XXX.2”、変換先IPアドレスの値が“AAAA:AAA::2”、FQDNの値が“YYY.YYY.YYY”、初期フラグの値が“0”である。即ち、変換テーブルに2番目に記録された仮想IPv4アドレスの値が“XXX.XXX.XXX.2”であり、仮想IPv4アドレスの変換後のIPv6アドレスの値が“AAAA:AAA::2”であり、FQDNの値が“YYY.YYY.YYY”であり、IPv4/IPv6変換の適用が許可されていることを表す。 Further, for example, in FIG. 3B, the second row of the conversion table has a number value “2”, a conversion source IP address value “XXX.XXX.XXX.2”, and a conversion destination IP address. The value of “AAAA: AAA :: 2”, the value of FQDN is “YYY.YYY.YYY”, and the value of the initial flag is “0”. That is, the value of the virtual IPv4 address recorded second in the conversion table is “XXX.XXX.XXX.2”, and the value of the IPv6 address after the conversion of the virtual IPv4 address is “AAA: AAA :: 2”. Yes, the value of FQDN is “YYY.YYY.YYY”, indicating that application of IPv4 / IPv6 conversion is permitted.
図4は、利用確認画像の表示例の一例を示す図である。
図4に示す利用確認画像は、IPv4端末10がHGW30のIPv4/IPv6変換通知部306から利用確認通知を受信した際にIPv4端末10の画面上に表示されるポップアップ画像である。図4に示す例では、利用確認画像には、ユーザにIPv4/IPv6変換を利用して通信を行うか否かを選択させる「Yes」ボタンと、「No」ボタンとが表示されている。そして、ユーザの選択結果に基づいてHGW30は、以下のような処理を行う。ユーザによって「Yes」ボタンが押下された場合、HGW30はIPv4/IPv6変換を利用して通信を行う。一方、ユーザによって「No」ボタンが押下された場合、HGW30はIPv4/IPv6変換を利用した通信を行わず、変換テーブルの対応する項目を削除する。より具体的には、HGW30は、IPv4端末10がアクセスしようとした仮想IPv4アドレスが記録されている変換テーブルのレコード60を削除する。
FIG. 4 is a diagram illustrating an example of a display example of a usage confirmation image.
The usage confirmation image shown in FIG. 4 is a pop-up image displayed on the screen of the
図5は、接続通知画像の表示例の一例を示す図である。
図5に示す接続通知画像は、IPv4端末10がHGW30のIPv6接続通知部307から接続通知を受信した際にIPv4端末10の画面上に表示されるポップアップ画像である。図5に示す例では、接続通知画像には、IPv6の接続が確立されていないため通信することができないことを示す内容と、接続通知画像を閉じる際に使用される「閉じる」ボタンが表示されている。ユーザは、IPv4端末10の画面上に表示されている接続通知画像を見ることによって自装置(IPv4端末10)がIPv6での接続が確立していないため、通信できないことを知ることができる。なお、図5に示す接続通知画像には、IPv6接続を実行させるための「接続」ボタンが表示されてもよい。そして、ユーザが「接続」ボタンを押下することによってIPv6での接続が確立される。このように構成されることによって、IPv4端末10はユーザの操作に応じてIPv6接続することができる。
FIG. 5 is a diagram illustrating an example of a display example of a connection notification image.
The connection notification image shown in FIG. 5 is a pop-up image displayed on the screen of the
図6は、本実施形態におけるDNSプロキシ部305の処理を示すフローチャートである。
通信部301は、IPv4端末10からv4名前解決要求を受信する(ステップS101)。DNSプロキシ部305は、受信されたv4名前解決要求のFQDNがFQDNテーブルに記録されているか否かを判定する(ステップS102)。FQDNテーブルに記録されている場合(ステップS102−YES)、DNSプロキシ部305は、IPv6での名前解決要求(以下、「v6名前解決要求」という。)を生成する(ステップS103)。その後、DNSプロキシ部305は、生成したv6名前解決要求の名前解決を実行する(ステップS104)。DNSプロキシ部305は、IPv6接続がないか否かを判定する(ステップS105)。即ち、DNSプロキシ部305は、IPv6の接続が確立されていないか否かを判定する。
FIG. 6 is a flowchart showing the processing of the
The
IPv6接続なしである場合(ステップS105−YES)、DNSプロキシ部305はIPv6接続通知部307に接続通知用の仮想IPv4アドレス(例えば、192.168.255.1などの所定のIPv4アドレス)を送信するように指示する。IPv6接続通知部307は、DNSプロキシ部305の指示に応じて接続通知用の仮想IPv4アドレスをIPv4端末10に応答として送信する(ステップS106)。その後、処理を終了する。
一方、IPv6接続なしではない場合、即ち、IPv6接続されている場合(ステップS105−NO)、DNSプロキシ部305はv6名前解決要求の名前解決ができたか否かを判定する(ステップS107)。具体的には、DNSプロキシ部305は、v6DNSサーバ20−2から解決されたIPv6アドレスが受信されたか否かを判定する。
If there is no IPv6 connection (YES in step S105), the
On the other hand, when there is no IPv6 connection, that is, when IPv6 connection is established (step S105-NO), the
v6名前解決要求の名前解決できた場合(ステップS107−YES)、DNSプロキシ部305は仮想IPv4アドレスを生成する(ステップS108)。次に、DNSプロキシ部305は、生成した仮想IPv4アドレスと、ステップS103の処理で生成したIPv6アドレスと、ステップS101の処理で受信されたv4名前解決要求のFQDNとを対応付けて変換テーブルに記録する(ステップS109)。この際、DNSプロキシ部305は、初期フラグの値を“0”に設定する。
その後、DNSプロキシ部305は、仮想IPv4アドレスを応答としてIPv4端末10に通信部301を介して送信する(ステップS110)。その後、処理を終了する。
When the name resolution of the v6 name resolution request is successful (step S107—YES), the
Thereafter, the
ステップS107の処理において、v6名前解決要求の名前解決できなかった場合(ステップS107−NO)の処理については後述する。
また、ステップS102の処理において、FQDNテーブルに記録されていない場合(ステップS102−NO)、DNSプロキシ部305はv6名前解決要求を生成する(ステップS111)。
In the process of step S107, the process when the name resolution of the v6 name resolution request cannot be performed (step S107—NO) will be described later.
Also, in the process of step S102, when not recorded in the FQDN table (step S102-NO), the
DNSプロキシ部305は、受信されたv4名前解決要求の名前解決及び生成したv6名前解決要求を実行する。具体的には、DNSプロキシ部305は、IPv4インターフェース308を介してv4名前解決要求をv4DNSサーバ20−1に送信する。また、DNSプロキシ部305は、IPv6インターフェース309を介してv6名前解決要求をv6DNSサーバ20−2に送信する(ステップS112)。
The
その後、DNSプロキシ部305は、v4名前解決要求の名前解決ができたか否かを判定する(ステップS113)。v4名前解決要求の名前解決ができなかった場合(ステップS113−NO)、DNSプロキシ部305はv6名前解決要求の名前解決ができたか否かを判定する。(ステップS114)。v6名前解決要求の名前解決ができなかった場合(ステップS114−NO)、又は、ステップS107の処理でv6名前解決要求の名前解決ができなかった場合(ステップS107−NO)、DNSプロキシ部305は名前解決できなかったことを示す名前未解決応答をIPv4端末10に応答として送信する(ステップS115)。その後、処理を終了する。
Thereafter, the
ステップS114の処理において、v6名前解決要求の名前解決ができた場合(ステップS114−YES)、DNSプロキシ部305は仮想IPv4アドレスを生成する(ステップS116)。DNSプロキシ部305は、生成した仮想IPv4アドレスと、ステップS111の処理で生成したIPv6アドレスと、ステップS101の処理で受信されたv4名前解決要求のFQDNとを対応付けて変換テーブルに記録する(ステップS117)。この際、DNSプロキシ部305は、初期フラグの値を“1”に設定する。
In the process of step S114, when the name resolution of the v6 name resolution request is completed (step S114-YES), the
その後、DNSプロキシ部305は、仮想IPv4アドレスを応答としてIPv4端末10に送信する(ステップS118)。その後、処理を終了する。
ステップS113の処理において、v4名前解決要求の名前解決ができた場合(ステップS113−YES)、DNSプロキシ部305は解決されたIPv4アドレスを応答としてIPv4端末10に送信する(ステップS119)。その後、処理を終了する。
Thereafter, the
If the name resolution of the v4 name resolution request is successful in the process of step S113 (step S113-YES), the
図7は、本実施形態における転送制御部303の処理を示すフローチャートである。
通信部301は、IPv4端末10から送信されたパケットを受信する(ステップS201)。転送制御部303は、受信されたパケットの宛先が接続通知用の仮想IPv4アドレス以外であるか否かを判定する(ステップS202)。パケットの宛先が接続通知用のIPv4アドレス以外ではない場合、即ち、接続通知用の仮想IPv4アドレス宛である場合(ステップS202−NO)、転送制御部303はパケットをIPv6接続通知部307に転送する。その後、転送制御部303からパケットが転送されると、IPv6接続通知部307はIPv4端末10に接続通知を送信する(ステップS203)。その後、処理を終了する。
FIG. 7 is a flowchart showing the processing of the
The
一方、パケットの宛先が接続通知用の仮想IPv4アドレス以外である場合(ステップS202−YES)、IPv4/IPv6変換通知部306は受信されたパケットの宛先IPv4アドレスが変換テーブルに記録されている仮想IPv4アドレスであるか否かを判定する(ステップS204)。具体的には、IPv4/IPv6変換通知部306は、変換テーブル記憶部302に記憶されている変換テーブルを読み出す。IPv4/IPv6変換通知部306は、読み出した変換テーブルにステップS201の処理で受信されたパケットの宛先IPv4アドレスが記録されているか否かを判定する。
On the other hand, when the destination of the packet is other than the virtual IPv4 address for connection notification (step S202—YES), the IPv4 / IPv6
受信されたパケットの宛先IPv4アドレスが変換テーブルに記録されている仮想IPv4アドレスではない場合(ステップS204−NO)、IPv4/IPv6変換通知部306は転送制御部303を介して受信されたパケットを宛先IPv4アドレスに転送する(ステップS205)。その後、処理を終了する。
一方、受信されたパケットの宛先IPv4アドレスが変換テーブルに記録されている仮想IPv4アドレスである場合(ステップS204−YES)、IPv4/IPv6変換通知部306は変換テーブルを参照し、当該仮想IPv4アドレスに対応付けて記録されている初期フラグの値が“1”であるか否かを判定する(ステップS206)。
When the destination IPv4 address of the received packet is not the virtual IPv4 address recorded in the translation table (NO in step S204), the IPv4 / IPv6
On the other hand, when the destination IPv4 address of the received packet is the virtual IPv4 address recorded in the translation table (step S204—YES), the IPv4 / IPv6
初期フラグの値が“1”ではない(例えば、初期フラグの値が“0”)場合(ステップS206−NO)、IPv4/IPv6変換通知部306は変換テーブルを参照し、受信されたパケットの宛先IPv4アドレスをIPv4/IPv6変換して対象サーバ50に送信する(ステップS207)。具体的には、まず、IPv4/IPv6変換通知部306は、変換テーブルを参照し、当該仮想IPv4アドレスが記録されているレコード60を選択する。次に、IPv4/IPv6変換通知部306は、選択したレコード60に記録されている通信先IPv6アドレスの値を取得する。その後、IPv4/IPv6変換通知部306は、IPv4/IPv6変換を行い、受信されたパケットの宛先IPv4アドレスを通信先IPv6アドレスに変換する。そして、IPv4/IPv6変換通知部306は、転送制御部303を介して宛先変換後のパケットを対象サーバ50に送信する。その後、処理を終了する。
When the value of the initial flag is not “1” (for example, the value of the initial flag is “0”) (NO in step S206), the IPv4 / IPv6
一方、初期フラグの値が“1”である場合(ステップS206−YES)、IPv4/IPv6変換通知部306は利用確認通知をIPv4端末10に送信する(ステップS208)。通信部301は、IPv4端末10から送信された利用確認通知に対する応答を受信する。転送制御部303は、受信された応答がIPv4/IPv6変換を利用することを示す利用許可通知であるか否かを判定する(ステップS209)。受信された応答がIPv4/IPv6変換を利用することを示す利用許可通知ではない場合(ステップS209−NO)、DNSプロキシ部305は変換テーブルから対応する項目を削除する。より具体的には、DNSプロキシ部305は、IPv4端末10がアクセスしようとした仮想IPv4アドレスが記録されている変換テーブルのレコード60を削除する。その後、処理を終了する。
On the other hand, when the value of the initial flag is “1” (step S206—YES), the IPv4 / IPv6
一方、受信された応答がIPv4/IPv6変換を利用することを示す利用許可通知である場合(ステップS209−YES)、IPv4/IPv6変換通知部306はステップS201の処理で受信されたパケットのFQDNをFQDNテーブルに記録する(ステップS211)。IPv4/IPv6変換通知部306は、変換テーブルを参照し、受信されたパケットの宛先である仮想IPv4アドレスに対応するレコード60に記録されている初期フラグの値を“0”に変更する(ステップS212)。その後、IPv4/IPv6変換通知部306は、IPv4/IPv6変換して対象サーバ50にパケットを送信する(ステップS213)。その後、処理を終了する。
On the other hand, when the received response is a use permission notification indicating that the IPv4 / IPv6 conversion is used (YES in step S209), the IPv4 / IPv6
図8及び図9は、本実施形態におけるIPv4/IPv6変換処理の動作を示すシーケンス図である。図8及び図9の説明では、FQDNテーブルにFQDNが未登録の場合について説明する。
IPv4端末10は、ユーザの操作に応じてv4名前解決要求(IPv4、Aレコード)をHGW30に送信する(ステップS301)。HGW30の通信部301は、v4名前解決要求を受信する。DNSプロキシ部305は、受信されたv4名前解決要求のFQDNがFQDNテーブルに記録されているか否かを判定する(ステップS302)。判定の結果、FQDNテーブルに受信されたv4名前解決要求のFQDNが記録されていないため、DNSプロキシ部305はv6名前解決要求を生成する(ステップS303)。
8 and 9 are sequence diagrams showing the operation of the IPv4 / IPv6 conversion processing in the present embodiment. In the description of FIG. 8 and FIG. 9, a case where the FQDN is not registered in the FQDN table will be described.
The
その後、DNSプロキシ部305は、IPv4インターフェース308を介してv4名前解決要求をv4DNSサーバ20−1に送信する(ステップS304)。
v4DNSサーバ20−1は、v4名前解決要求を受信する。v4DNSサーバ20−1は、受信したv4名前解決要求のAレコードに記録されたホスト名に対応するIPv4アドレスがあるか否かを判定する。判定の結果、Aレコードに記録されたホスト名に対応するIPv4アドレスが存在しないため、v4DNSサーバ20−1は要求されたIPv4アドレスが無いことを示す情報を含む名前解決応答をHGW30に送信する(ステップS305)。
Thereafter, the
The v4 DNS server 20-1 receives the v4 name resolution request. The v4 DNS server 20-1 determines whether there is an IPv4 address corresponding to the host name recorded in the A record of the received v4 name resolution request. As a result of the determination, since there is no IPv4 address corresponding to the host name recorded in the A record, the v4 DNS server 20-1 transmits a name resolution response including information indicating that there is no requested IPv4 address to the HGW 30 ( Step S305).
HGW30の転送制御部303は、IPv4インターフェース308を介してv4DNSサーバ20−1から名前解決応答を受信する。受信された名前解決応答に格納された情報がv4名前解決要求に対応するIPv4アドレスが存在しないことを示すため、次に、DNSプロキシ部305は、IPv6インターフェース309を介してv6名前解決要求(IPv6、AAAAレコード)をv6DNSサーバ20−2に送信する。(ステップS306)。
The
v6DNSサーバ20−2は、v6名前解決要求を受信する。v6DNSサーバ20−2は、受信したv6名前解決要求のAAAAレコードに記録されたホスト名に対応するIPv6アドレスがあるか否かを判定する。判定の結果、AAAAレコードに記録されたホスト名に対応するIPv6アドレスが存在するため、v6DNSサーバ20−2は解決されたIPv6アドレスをHGW30に送信する(ステップS307)。 The v6 DNS server 20-2 receives the v6 name resolution request. The v6 DNS server 20-2 determines whether there is an IPv6 address corresponding to the host name recorded in the AAAA record of the received v6 name resolution request. As a result of the determination, since there is an IPv6 address corresponding to the host name recorded in the AAAA record, the v6 DNS server 20-2 transmits the resolved IPv6 address to the HGW 30 (step S307).
HGW30の転送制御部303は、IPv6インターフェース309を介してv6DNSサーバ20−2から名前解決応答を受信する。受信された名前解決応答に格納された情報に解決されたIPv6アドレスが格納されているため、DNSプロキシ部305は名前解決応答から解決されたIPv6アドレスを取得する。その後、DNSプロキシ部305は、仮想IPv4アドレスを生成する(ステップS308)。
The
DNSプロキシ部305は、生成した仮想IPv4アドレスと、ステップS308の処理で取得したIPv6アドレスと、ステップS301の処理で受信されたv4名前解決要求のFQDNとを対応付けて変換テーブルに記録する(ステップS309)。この際、DNSプロキシ部305は、初期フラグの値を“1”に設定する。
The
通信部301は、生成された仮想IPv4アドレスを名前解決応答としてIPv4端末10に送信する(ステップS310)。その後、IPv4端末10は、HGW30との間で3WHS(three-way handshaking)による接続処理を行う(ステップS311)。IPv4端末10は、仮想IPv4アドレス宛のHTTP(HyperText Transfer Protocol)リクエストをHGW30に送信する(ステップS312)。HGW30の通信部301は、HTTPリクエストを受信する。転送制御部303は、受信されたHTTPリクエストに基づいて変換テーブルを確認する(ステップS313)。
The
具体的には、転送制御部303は、変換テーブルを参照し、受信されたHTTPリクエストの宛先が変換テーブルに記録されている仮想IPv4アドレスであるか否かを判定する。判定の結果、変換テーブルに記録されている仮想IPv4アドレスであるため、次に、転送制御部303は当該仮想IPv4アドレスに対応する初期フラグの値が“1”であるか否かを判定する。
Specifically, the
判定の結果、当該仮想IPv4アドレスに対応する初期フラグの値が“1”であるため、転送制御部303はHTTPリクエストをIPv4/IPv6変換通知部306に転送する。IPv4/IPv6変換通知部306は、利用確認通知をHTTPレスポンスとしてIPv4端末10に送信する(ステップS314)。
As a result of the determination, since the value of the initial flag corresponding to the virtual IPv4 address is “1”, the
IPv4端末10は、HTTPレスポンスを受信し、利用確認画像を表示する(ステップS315)。そして、ユーザによって「Yes」ボタンが押下されると、IPv4端末10はIPv4/IPv6変換を利用することを示す利用許可通知をHGW30に送信する(ステップS316)。HGW30の通信部301は、利用許可通知を受信する。IPv4/IPv6変換通知部306は、受信された利用確認通知がIPv4/IPv6変換を利用することを示すため、ステップS302の処理で受信されたv4名前解決要求のFQDNをFQDNテーブルに記録する(ステップS317)。
The
この際、IPv4/IPv6変換通知部306は、変換テーブルを参照し、ステップS302の処理で受信されたv4名前解決要求のFQDNに対応する初期フラグの値を“0”にする(ステップS318)。これにより、仮想IPv4アドレスを通信先IPv6アドレスに変換することが可能になる。IPv4/IPv6変換通知部306は、変換テーブルを参照し、HTTPリクエストの宛先である仮想IPv4アドレスに対応する通信先IPv6アドレスの値を取得する。その後、IPv4/IPv6変換通知部306は、HTTPリクエストの宛先を仮想IPv4アドレスから通信先IPv6アドレスの値に変換する。
At this time, the IPv4 / IPv6
HGW30は、対象サーバ50との間で3WHSによる接続処理を行う(ステップS319)。接続が完了すると、HGW30のIPv4/IPv6変換通知部306は、転送制御部303を介してHTTPリクエストを対象サーバ50に送信する(ステップS319)。対象サーバ50は、HTTPリクエストを受信する。そして、対象サーバ50は、受信したHTTPリクエストに応じた情報をHTTPレスポンスとしてHGW30に送信する(ステップS320)。HGW30の転送制御部303は、IPv6インターフェース309を介してHTTPレスポンスを受信する。
The
そして、転送制御部303は、IPv4/IPv6変換を行い、受信したHTTPレスポンスをIPv4端末10に送信する(ステップS321)。具体的には、転送制御部303は、受信したHTTPレスポンスから宛先IPv6アドレスを取得する。転送制御部303は、変換テーブルの通信先IPv6アドレスを参照し、取得したIPv6アドレスに対応するレコード60を選択する。転送制御部303は、選択したレコード60に記録されている仮想IPv4アドレスを取得する。その後、転送制御部303は、取得した仮想IPv4アドレスを宛先としてHTTPレスポンスを生成し、IPv4端末10に送信する。
所定の時間経過後、IPv4端末10とHGW30との間で通信が切断されると、処理が終了する(ステップS322)。また、HGW30と対象サーバ50との間で通信が切断されると、処理が終了する(ステップS323)。
Then, the
When the communication between the
図10は、本実施形態におけるIPv4/IPv6変換処理の動作を示すシーケンス図である。図10の説明では、FQDNテーブルにFQDNが登録されている場合について説明する。
IPv4端末10は、ユーザの操作に応じてv4名前解決要求(IPv4、Aレコード)をHGW30に送信する(ステップS401)。HGW30の通信部301は、v4名前解決要求を受信する。DNSプロキシ部305は、受信されたv4名前解決要求のFQDNがFQDNテーブルに記録されているか否かを判定する(ステップS402)。判定の結果、FQDNテーブルに記録されているため、DNSプロキシ部305は、v6名前解決要求(IPv6、AAAAレコード)を生成する(ステップS403)。
FIG. 10 is a sequence diagram showing the operation of the IPv4 / IPv6 conversion processing in the present embodiment. In the description of FIG. 10, a case where the FQDN is registered in the FQDN table will be described.
The
DNSプロキシ部305は、生成したv6名前解決要求をv6DNSサーバ20−2に送信する(ステップS404)。
v6DNSサーバ20−2は、v6名前解決要求を受信する。v6DNSサーバ20−2は、受信したv6名前解決要求のAAAAレコードに記録されたホスト名に対応するIPv6アドレスがあるか否かを判定する。判定の結果、AAAAレコードに記録されたホスト名に対応するIPv6アドレスが存在するため、v6DNSサーバ20−2は解決されたIPv6アドレスを含む名前解決応答をHGW30に送信する(ステップS405)。
The
The v6 DNS server 20-2 receives the v6 name resolution request. The v6 DNS server 20-2 determines whether there is an IPv6 address corresponding to the host name recorded in the AAAA record of the received v6 name resolution request. As a result of the determination, since there is an IPv6 address corresponding to the host name recorded in the AAAA record, the v6 DNS server 20-2 transmits a name resolution response including the resolved IPv6 address to the HGW 30 (step S405).
HGW30の転送制御部303は、IPv6インターフェース309を介してv6DNSサーバ20−2から名前解決応答を受信する。DNSプロキシ部305は、受信された名前解決応答から解決されたIPv6アドレスを取得する。その後、DNSプロキシ部305は、仮想IPv4アドレスを生成する(ステップS406)。
DNSプロキシ部305は生成した仮想IPv4アドレスと、取得したIPv6アドレスと、ステップS401の処理で受信されたv4名前解決要求のFQDNとを対応付けて変換テーブルに記録する(ステップS407)。この際、DNSプロキシ部305は、初期フラグの値を“0”に設定する。
The
The
通信部301は、生成された仮想IPv4アドレスを名前解決応答としてIPv4端末10に送信する(ステップS408)。その後、IPv4端末10は、HGW30との間で3WHSによる接続処理を行う(ステップS409)。IPv4端末10は、仮想IPv4アドレス宛のHTTPリクエストをHGW30に送信する(ステップS410)。HGW30の通信部301は、HTTPリクエストを受信する。IPv4/IPv6変換通知部306は、受信されたHTTPリクエストに基づいて変換テーブルを確認する。
The
具体的には、IPv4/IPv6変換通知部306は、変換テーブルを参照し、受信されたHTTPリクエストの宛先が変換テーブルに記録されている仮想IPv4アドレスであるか否かを判定する。判定の結果、変換テーブルに記録されている仮想IPv4アドレスであるため、次に、IPv4/IPv6変換通知部306は当該仮想IPv4アドレスに対応する初期フラグの値が“1”であるか否かを判定する。判定の結果、当該仮想IPv4アドレスに対応する初期フラグの値が“0”であるため、IPv4/IPv6変換通知部306は、変換テーブルを参照し、HTTPリクエストの宛先である仮想IPv4アドレスに対応する通信先IPv6アドレスの値を取得する。その後、IPv4/IPv6変換通知部306は、HTTPリクエストの宛先を仮想IPv4アドレスから通信先IPv6アドレスの値に変換する。
Specifically, the IPv4 / IPv6
HGW30は、対象サーバ50との間で3WHSによる接続処理を行う(ステップS411)。接続が完了すると、HGW30のIPv4/IPv6変換通知部306は、転送制御部303を介してHTTPリクエストを対象サーバ50に送信する(ステップS412)。対象サーバ50は、HTTPリクエストを受信する。そして、対象サーバ50は、受信したHTTPリクエストに応じた情報をHTTPレスポンスとしてHGW30に送信する(ステップS413)。HGW30の転送制御部303は、IPv6インターフェース309を介してHTTPレスポンスを受信する。
The
そして、転送制御部303は、IPv4/IPv6変換を行い、受信したHTTPレスポンスをIPv4端末10に送信する(ステップS414)。具体的には、転送制御部303は、受信したHTTPレスポンスから宛先IPv6アドレスを取得する。転送制御部303は、変換テーブルの通信先IPv6アドレスを参照し、取得したIPv6アドレスに対応するレコード60を選択する。転送制御部303は、選択したレコード60に記録されている仮想IPv4アドレスを取得する。その後、転送制御部303は、取得した仮想IPv4アドレスを宛先としてHTTPレスポンスを生成し、IPv4端末10に送信する。
所定の時間経過後、IPv4端末10とHGW30との間で通信が切断されると、処理が終了する(ステップS415)。また、HGW30と対象サーバ50との間で通信が切断されると、処理が終了する(ステップS416)。
Then, the
When the communication is disconnected between the
以上のように構成されたHGW30によれば、IPv4/IPv6変換が必要な場合、IPv4端末10に対して利用確認通知が送信される。IPv4端末10は、受信した利用確認通知に格納されている利用確認画像を画面上に表示させることでユーザに対してIPv4/IPv6変換を利用した通信を行うか否かを確認させることができる。したがって、ユーザの意志によりIPv4/IPv6変換を利用した通信を行うことができる。そのため、ユーザにIPv4/IPv6変換の利用を意識させることが可能になる。
According to the
また、従来、IPv4端末10からv4名前解決要求が受信される度、v4名前解決及びv6名前解決が実行されるため、不要なトラフィックが発生してしまうという問題があった。
本実施形態では、FQDNテーブルに記録されているFQDN宛ての名前解決要求に対しては、v6名前解決要求の名前解決のみが実行される。そのため、不要なトラフィックの発生を抑制することも可能になる。
Further, conventionally, since v4 name resolution and v6 name resolution are executed every time a v4 name resolution request is received from the
In the present embodiment, only the name resolution of the v6 name resolution request is executed for the name resolution request addressed to the FQDN recorded in the FQDN table. Therefore, it is possible to suppress the generation of unnecessary traffic.
<変形例>
接続通知の通知方法は、上述の方法(ポップアップ画像による表示)に限定される必要はない。例えば、音声報知によりユーザに対してIPv6接続が確立していないことを通知してもよいし、その他の方法で通知してもよい。
また、利用確認通知の通知方法は、上述の方法(ポップアップ画像による表示)に限定される必要はない。
また、本実施例では、HGW30は、v6名前解決要求を生成する構成を示したが、これに限定される必要はない。例えば、HGW30がv6名前解決要求を受信した場合には、v4名前解決要求を生成するように構成されてもよい。
本実施形態では、IPv4端末10を例にして説明したが、IPv6端末についても本実施形態と同様の処理が行われてもよい。この場合もIPv4端末10を例にして説明した時と同様に、HGW30は、FQDNテーブルに記憶されているFQDN宛てのパケットが受信された際に、IPv4接続が確立していなければIPv6端末に対してIPv4接続が必要であることを示す接続通知を送信する。
<Modification>
The notification method of the connection notification need not be limited to the above-described method (display by pop-up image). For example, the user may be notified by voice notification that the IPv6 connection has not been established, or may be notified by other methods.
Further, the notification method of the usage confirmation notification need not be limited to the above-described method (display by pop-up image).
In the present embodiment, the
In the present embodiment, the
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.
10(10−1〜10−N)…IPv4端末10, 20−1…v4DNSサーバ, 20−2…v6DNSサーバ, 30…HGW, 40…ネットワーク, 50…対象サーバ, 301…通信部, 302…変換テーブル記憶部, 303…転送制御部(中継部), 304…FQDNテーブル記憶部, 305…DNSプロキシ部(要求部), 306…IPv4/IPv6変換通知部(変換通知部), 307…IPv6接続通知部, 308…IPv4インターフェース, 309…IPv6インターフェース
10 (10-1 to 10-N) ...
Claims (6)
前記通信部によって受信された前記データに基づいてIPv4/IPv6変換を利用して通信を行うか否か確認する通知を前記端末装置に送信する変換通知部と、
を備え、
前記変換通知部は、IPv4/IPv6変換を利用して通信を行う旨の通知が前記通信部によって受信されると、前記データに対して前記IPv4/IPv6変換を行い、変換後のデータを他の装置に送信する中継装置。 A communication unit that receives data from the terminal device;
A conversion notification unit that transmits to the terminal device a notification for confirming whether to perform communication using IPv4 / IPv6 conversion based on the data received by the communication unit ;
Equipped with a,
The conversion notification unit performs the IPv4 / IPv6 conversion on the data when the notification that the communication is performed using the IPv4 / IPv6 conversion is received by the communication unit, and converts the converted data to another A relay device that transmits to a device.
前記変換通知部は、IPv4/IPv6変換を利用した通信が有効ではない場合に前記通知を前記端末装置に送信し、IPv4/IPv6変換を利用した通信が有効である場合にIPv4/IPv6変換を行い、変換後のデータを他の装置に送信する請求項1に記載の中継装置。 A conversion table storage unit that stores IPv4 identification information, IPv6 identification information, and information indicating whether communication using IPv4 / IPv6 conversion is effective in association with each other;
The conversion notification unit transmits the notification to the terminal device when communication using IPv4 / IPv6 conversion is not effective, and performs IPv4 / IPv6 conversion when communication using IPv4 / IPv6 conversion is effective. The relay apparatus according to claim 1, wherein the converted data is transmitted to another apparatus.
前記端末装置からIPv4の名前解決要求が受信されると、前記IPv4の名前解決要求のFQDNが前記宛先識別情報テーブル記憶部に記録されている否かを判定し、前記IPv4の名前解決要求のFQDNが記録されている場合にはIPv4の識別情報の問い合わせを行わず、前記IPv4の名前解決要求のFQDNが記録されていない場合にはIPv4の識別情報及びIPv6の識別情報の問い合わせを行う要求部と、
を更に備える請求項1又は2に記載の中継装置。 A destination identification information table storage unit that records an FQDN (Fully Qualified Domain Name) indicating a destination of the data when a notification indicating that communication using the IPv4 / IPv6 conversion is performed is received from the terminal device;
When the IPv4 name resolution request is received from the terminal device, it is determined whether or not the IPv4 name resolution request FQDN is recorded in the destination identification information table storage unit, and the IPv4 name resolution request FQDN is determined. A request unit for inquiring about IPv4 identification information and IPv6 identification information when the IPv4 name resolution request FQDN is not recorded. ,
The relay device according to claim 1, further comprising:
前記通信ステップによって受信された前記データに基づいてIPv4/IPv6変換を利用して通信を行うか否か確認する通知を前記端末装置に送信する変換通知ステップと、
を有し、
前記変換通知ステップにおいて、IPv4/IPv6変換を利用して通信を行う旨の通知が前記通信ステップにおいて受信されると、前記データに対して前記IPv4/IPv6変換を行い、変換後のデータを他の装置に送信する中継方法。 A communication step of receiving data from the terminal device;
A conversion notification step of transmitting to the terminal device a notification for confirming whether to perform communication using IPv4 / IPv6 conversion based on the data received in the communication step ;
I have a,
In the conversion notification step, when a notification indicating that communication is performed using IPv4 / IPv6 conversion is received in the communication step, the IPv4 / IPv6 conversion is performed on the data, and the converted data is transferred to another Relay method to send to the device .
前記通信ステップによって受信された前記データに基づいてIPv4/IPv6変換を利用して通信を行うか否か確認する通知を前記端末装置に送信する変換通知ステップと、
をコンピュータに実行させ、
前記変換通知ステップにおいて、IPv4/IPv6変換を利用して通信を行う旨の通知が前記通信ステップにおいて受信されると、前記データに対して前記IPv4/IPv6変換を行い、変換後のデータを他の装置に送信するためのコンピュータプログラム。 A communication step of receiving data from the terminal device;
A conversion notification step of transmitting to the terminal device a notification for confirming whether to perform communication using IPv4 / IPv6 conversion based on the data received in the communication step ;
To the computer ,
In the conversion notification step, when a notification indicating that communication is performed using IPv4 / IPv6 conversion is received in the communication step, the IPv4 / IPv6 conversion is performed on the data, and the converted data is transferred to another because of the computer program to the transmitting device to.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013106507A JP6101149B2 (en) | 2013-05-20 | 2013-05-20 | Relay device, relay method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013106507A JP6101149B2 (en) | 2013-05-20 | 2013-05-20 | Relay device, relay method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014229995A JP2014229995A (en) | 2014-12-08 |
| JP6101149B2 true JP6101149B2 (en) | 2017-03-22 |
Family
ID=52129497
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013106507A Active JP6101149B2 (en) | 2013-05-20 | 2013-05-20 | Relay device, relay method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6101149B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3344238B2 (en) * | 1996-11-01 | 2002-11-11 | 株式会社日立製作所 | IPv4-IPv6 communication method and IPv4-IPv6 translation device |
| JPH10154994A (en) * | 1996-11-20 | 1998-06-09 | Sumitomo Electric Ind Ltd | Address translation system |
| JP2968764B2 (en) * | 1997-06-26 | 1999-11-02 | 日本電気株式会社 | Protocol address information conversion system |
-
2013
- 2013-05-20 JP JP2013106507A patent/JP6101149B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014229995A (en) | 2014-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106664515B (en) | Method for transmitting content between terminals via a service control device link | |
| EP3592100A1 (en) | Session migration method and device | |
| JP2021533516A (en) | Node control methods in distributed systems, related equipment and computer programs | |
| CN105282733A (en) | Electronic device and network connection method of electronic device | |
| JP2004318532A (en) | Electronic mail management device and electronic mail transfer method | |
| CN106507414B (en) | Message forwarding method and device | |
| US9906910B2 (en) | Communication system, contents acquisition method, and recording medium storing contents acquisition program | |
| JP6728745B2 (en) | Server and system | |
| JP6101149B2 (en) | Relay device, relay method, and computer program | |
| CN108810180B (en) | Scheduling method, device and terminal for domain name resolution redirection | |
| JP7024247B2 (en) | Information processing equipment, communication systems, communication methods and programs | |
| JP6314500B2 (en) | COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM | |
| US9485801B1 (en) | Mobile communication device connected to home digital network | |
| JP6282697B2 (en) | Mobile communication terminal, control method, control program, and mobile communication system | |
| JP5213070B2 (en) | Wireless communication network connection system and wireless communication network connection method | |
| JP2011160226A (en) | Terminal, content data acquisition program and content data acquisition method | |
| JP5690008B1 (en) | Relay device, setting method, and computer program | |
| JP6002633B2 (en) | Information notification system, relay device, information notification method, relay method, and computer program | |
| JP6216751B2 (en) | Information providing server, access point, information providing system, information providing method, information sharing method, information providing program, and information sharing program | |
| JP5839742B2 (en) | Relay device, relay system, setting method, and computer program | |
| JP6191175B2 (en) | Network system, relay control device, communication control method, and program | |
| JP6330534B2 (en) | Network system, wireless LAN access point device, management device, and method | |
| JP3941562B2 (en) | Connection control method and recording medium | |
| JP6094448B2 (en) | Terminal device, communication system, registration method, and registration program | |
| JP5999834B2 (en) | COMMUNICATION SYSTEM, RELAY DEVICE, AND COMMUNICATION METHOD |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150629 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160629 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160712 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160908 |
|
| 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: 20170221 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170224 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6101149 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |