Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6101149B2 - Relay device, relay method, and computer program - Google Patents
[go: Go Back, main page]

JP6101149B2 - Relay device, relay method, and computer program - Google Patents

Relay device, relay method, and computer program Download PDF

Info

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
Application number
JP2013106507A
Other languages
Japanese (ja)
Other versions
JP2014229995A (en
Inventor
真也 崎野
真也 崎野
宮奥 健人
健人 宮奥
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.)
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone West Corp
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 Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone West Corp
Priority to JP2013106507A priority Critical patent/JP6101149B2/en
Publication of JP2014229995A publication Critical patent/JP2014229995A/en
Application granted granted Critical
Publication of JP6101149B2 publication Critical patent/JP6101149B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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).

特開2005−286948号公報JP 2005-286948 A

しかしながら、特許文献1の技術では、IPv4端末からの名前解決要求に対し、DNSプロキシとして機能するGW(Gate Way)装置が動的にIPv4の名前解決要求とIPv6の名前解決要求とでDNSサーバにIPアドレスの問い合わせを行う。その結果、GW装置が名前解決応答に応じてIPv4/IPv6トランスレータを利用した通信が必要であると判断した場合には、ユーザの意志に関係なく、IPv4/IPv6トランスレータを利用して通信が行われてしまう。そのため、ユーザは、IPv4/IPv6変換されて通信が行われていることに気付くことができないという問題があった。このような問題が発生すると、ユーザはIPv6接続の確立が必要であることも意識できない。その結果、IPv6接続が確立されていない場合には、通信が行えなくなってしまうおそれがあった。   However, in the technique of Patent Document 1, in response to a name resolution request from an IPv4 terminal, a GW (Gate Way) device functioning as a DNS proxy dynamically sends an IPv4 name resolution request and an IPv6 name resolution request to a DNS server. Inquires about the IP address. As a result, when the GW apparatus determines that communication using the IPv4 / IPv6 translator is necessary according to the name resolution response, communication is performed using the IPv4 / IPv6 translator regardless of the user's intention. End up. For this reason, there is a problem that the user cannot notice that communication is being performed after IPv4 / IPv6 conversion. When such a problem occurs, the user cannot recognize that it is necessary to establish an IPv6 connection. As a result, there is a possibility that communication cannot be performed when the IPv6 connection is not established.

上記事情に鑑み、本発明は、ユーザに対して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.

本実施形態における無線通信システムのシステム構成を示す図である。It is a figure which shows the system configuration | structure of the radio | wireless communications system in this embodiment. 本実施形態におけるHGW30の機能構成を表す概略ブロック図である。It is a schematic block diagram showing the functional composition of HGW30 in this embodiment. FQDNテーブル及び変換テーブルの具体例を示す図である。It is a figure which shows the specific example of a FQDN table and a conversion table. 利用確認画像の表示例の一例を示す図である。It is a figure which shows an example of the example of a display of a usage confirmation image. 接続通知画像の表示例の一例を示す図である。It is a figure which shows an example of the example of a display of a connection notification image. 本実施形態におけるDNSプロキシ部305の処理を示すフローチャートである。It is a flowchart which shows the process of the DNS proxy part 305 in this embodiment. 本実施形態における転送制御部303の処理を示すフローチャートである。It is a flowchart which shows the process of the transfer control part 303 in this embodiment. 本実施形態におけるIPv4/IPv6変換処理の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement of the IPv4 / IPv6 conversion process in this embodiment. 本実施形態におけるIPv4/IPv6変換処理の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement of the IPv4 / IPv6 conversion process in this embodiment. 本実施形態におけるIPv4/IPv6変換処理の動作を示すシーケンス図である。It is a sequence diagram which shows the operation | movement of the IPv4 / IPv6 conversion process in this embodiment.

以下、本発明の一実施形態を、図面を参照しながら説明する。
図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 HGW 30, a network 40, and A target server 50 is provided.

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 IPv4 terminal 10 is configured using an information processing device such as a smartphone, a mobile phone, a PDA (Personal Digital Assistant), a portable game device, a tablet device, or a notebook personal computer. The IPv4 terminal 10 communicates with the network 40 via the HGW 30. The IPv4 terminal 10 transmits an IPv4 name resolution request (hereinafter referred to as “v4 name resolution request”) to, for example, the HGW 30.
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 network 40. Specific examples of communication devices connected to the network 40 include a v4 DNS server 20-1, a v6 DNS server 20-2, and a target server 50. The HGW 30 performs a relay process for communication between the belonging terminal and the communication device connected to the network 40.

ネットワーク40は、どのように構成されたネットワークでもよい。例えば、ネットワーク40はIPv4網やIPv6網を用いて構成されてもよい。
対象サーバ50は、情報処理装置を用いて構成される。対象サーバ50は、IPv4端末10が接続を所望するIPv6のサーバである。
The network 40 may be a network configured in any way. For example, the network 40 may be configured using an IPv4 network or an IPv6 network.
The target server 50 is configured using an information processing apparatus. The target server 50 is an IPv6 server that the IPv4 terminal 10 desires to connect to.

図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 HGW 30 in the present embodiment.
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 HGW 30 causes the communication unit 301, conversion table storage unit 302, transfer control unit 303, FQDN (Fully Qualified Domain Name) table storage unit (destination identification information table storage unit) 304, DNS proxy unit 305, IPv4. / IPv6 conversion notification unit 306, IPv6 connection notification unit 307, IPv4 interface 308, and IPv6 interface 309. All or some of the functions of the HGW 30 may be realized using hardware such as an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a field programmable gate array (FPGA). The relay program may be recorded on a computer-readable recording medium. The computer-readable recording medium is, for example, a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or a storage device such as a hard disk built in the computer system. Further, the relay program may be transmitted / received via a telecommunication line.

通信部301は、IPv4端末10との間で通信を行う。例えば、通信部301は、IPv4端末10からv4名前解決要求を受信する。また、例えば、通信部301は、名前解決応答をIPv4端末10に送信する。
変換テーブル記憶部302は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。変換テーブル記憶部302は、変換テーブルを記憶している。
The communication unit 301 communicates with the IPv4 terminal 10. For example, the communication unit 301 receives a v4 name resolution request from the IPv4 terminal 10. For example, the communication unit 301 transmits a name resolution response to the IPv4 terminal 10.
The conversion table storage unit 302 is configured using a storage device such as a magnetic hard disk device or a semiconductor storage device. The conversion table storage unit 302 stores a conversion table.

転送制御部303は、受信されたパケットに応じて転送先の制御を行う。
FQDNテーブル記憶部304は、磁気ハードディスク装置や半導体記憶装置などの記憶装置を用いて構成される。FQDNテーブル記憶部304は、FQDNテーブルを記憶している。
DNSプロキシ部305は、IPv4端末10から送信された名前解決要求をv4DNSサーバ20−1やv6DNSサーバ20−2に転送し、名前解決応答をIPv4端末10に転送する。
The transfer control unit 303 controls the transfer destination according to the received packet.
The FQDN table storage unit 304 is configured using a storage device such as a magnetic hard disk device or a semiconductor storage device. The FQDN table storage unit 304 stores an FQDN table.
The DNS proxy unit 305 transfers the name resolution request transmitted from the IPv4 terminal 10 to the v4 DNS server 20-1 or v6 DNS server 20-2 and transfers the name resolution response to the IPv4 terminal 10.

IPv4/IPv6変換通知部306は、転送制御部303によってパケットが転送されると、パケットの送信元であるIPv4端末10に利用確認通知を送信する。利用確認通知は、IPv4/IPv6トランスレータ機能を利用するか否かをユーザに選択させるための通知である。利用確認通知には、後述する利用確認画像が格納される。
IPv6接続通知部307は、転送制御部303によってパケットが転送されると、パケットの送信元であるIPv4端末10に接続通知を送信する。接続通知は、IPv6接続が確立していないことを示す通知である。接続通知には、後述する接続通知画像が格納される。
When the packet is transferred by the transfer control unit 303, the IPv4 / IPv6 conversion notification unit 306 transmits a usage confirmation notification to the IPv4 terminal 10 that is the transmission source of the packet. The usage confirmation notification is a notification for allowing the user to select whether or not to use the IPv4 / IPv6 translator function. The usage confirmation image, which will be described later, is stored in the usage confirmation notification.
When the packet is transferred by the transfer control unit 303, the IPv6 connection notification unit 307 transmits a connection notification to the IPv4 terminal 10 that is the transmission source of the packet. The connection notification is a notification indicating that an IPv6 connection has not been established. In the connection notification, a connection notification image described later is stored.

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 IPv4 interface 308 is connected to a network 40 such as a LAN (Local Area Network) or a WAN (Wide Area Network) by wired connection or wireless connection. The IPv4 interface 308 inputs and outputs data between the HGW 30 and the network 40 using IPv4.
The IPv6 interface 309 is connected to a network 40 such as a LAN or WAN by wired connection or wireless connection. The IPv6 interface 309 inputs and outputs data between the HGW 30 and the network 40 using IPv6.

図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 table storage unit 304, numbers and FQDNs (destination identification information) are registered in association with each other. The number value represents the order in which FQDNs are recorded in the FQDN table. The FQDN value represents the FQDN recorded in the FQDN table.

図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 conversion notification unit 306 transmits a later-described use confirmation notification to the IPv4 terminal 10 and requests permission to apply IPv4 / IPv6 conversion from the user.

また、例えば、図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 IPv4 terminal 10 when the IPv4 terminal 10 receives the usage confirmation notification from the IPv4 / IPv6 conversion notification unit 306 of the HGW 30. In the example illustrated in FIG. 4, a “Yes” button that allows the user to select whether to perform communication using IPv4 / IPv6 conversion and a “No” button are displayed in the usage confirmation image. And based on a user's selection result, HGW30 performs the following processes. When the “Yes” button is pressed by the user, the HGW 30 performs communication using IPv4 / IPv6 conversion. On the other hand, when the “No” button is pressed by the user, the HGW 30 does not perform communication using IPv4 / IPv6 conversion, and deletes the corresponding item in the conversion table. More specifically, the HGW 30 deletes the record 60 of the conversion table in which the virtual IPv4 address that the IPv4 terminal 10 tried to access is recorded.

図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 IPv4 terminal 10 when the IPv4 terminal 10 receives a connection notification from the IPv6 connection notification unit 307 of the HGW 30. In the example illustrated in FIG. 5, the connection notification image includes a content indicating that communication is not possible because an IPv6 connection has not been established, and a “close” button used to close the connection notification image. ing. By viewing the connection notification image displayed on the screen of the IPv4 terminal 10, the user can know that the own apparatus (IPv4 terminal 10) cannot establish communication because the connection with IPv6 has not been established. Note that the connection notification image shown in FIG. 5 may display a “connection” button for executing the IPv6 connection. Then, when the user presses the “Connect” button, the connection with IPv6 is established. With this configuration, the IPv4 terminal 10 can make an IPv6 connection in accordance with a user operation.

図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 DNS proxy unit 305 in the present embodiment.
The communication unit 301 receives a v4 name resolution request from the IPv4 terminal 10 (step S101). The DNS proxy unit 305 determines whether or not the FQDN of the received v4 name resolution request is recorded in the FQDN table (step S102). If it is recorded in the FQDN table (step S102—YES), the DNS proxy unit 305 generates an IPv6 name resolution request (hereinafter referred to as “v6 name resolution request”) (step S103). Thereafter, the DNS proxy unit 305 performs name resolution of the generated v6 name resolution request (step S104). The DNS proxy unit 305 determines whether there is no IPv6 connection (step S105). That is, the DNS proxy unit 305 determines whether or not an IPv6 connection has been established.

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 DNS proxy unit 305 transmits a virtual IPv4 address for connection notification (for example, a predetermined IPv4 address such as 192.168.255.1) to the IPv6 connection notification unit 307. To instruct. The IPv6 connection notification unit 307 transmits a virtual IPv4 address for connection notification to the IPv4 terminal 10 as a response in response to an instruction from the DNS proxy unit 305 (step S106). Thereafter, the process ends.
On the other hand, when there is no IPv6 connection, that is, when IPv6 connection is established (step S105-NO), the DNS proxy unit 305 determines whether or not name resolution of the v6 name resolution request has been completed (step S107). Specifically, the DNS proxy unit 305 determines whether a resolved IPv6 address has been received from the v6 DNS server 20-2.

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 DNS proxy unit 305 generates a virtual IPv4 address (step S108). Next, the DNS proxy unit 305 records the generated virtual IPv4 address, the IPv6 address generated in the process of step S103, and the FQDN of the v4 name resolution request received in the process of step S101 in association with each other in the conversion table. (Step S109). At this time, the DNS proxy unit 305 sets the value of the initial flag to “0”.
Thereafter, the DNS proxy unit 305 transmits the virtual IPv4 address as a response to the IPv4 terminal 10 via the communication unit 301 (step S110). Thereafter, the process ends.

ステップ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 proxy unit 305 generates a v6 name resolution request (step S111).

DNSプロキシ部305は、受信されたv4名前解決要求の名前解決及び生成したv6名前解決要求を実行する。具体的には、DNSプロキシ部305は、IPv4インターフェース308を介してv4名前解決要求をv4DNSサーバ20−1に送信する。また、DNSプロキシ部305は、IPv6インターフェース309を介してv6名前解決要求をv6DNSサーバ20−2に送信する(ステップS112)。   The DNS proxy unit 305 executes name resolution of the received v4 name resolution request and the generated v6 name resolution request. Specifically, the DNS proxy unit 305 transmits a v4 name resolution request to the v4 DNS server 20-1 via the IPv4 interface 308. Also, the DNS proxy unit 305 transmits a v6 name resolution request to the v6 DNS server 20-2 via the IPv6 interface 309 (step S112).

その後、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 DNS proxy unit 305 determines whether or not the name resolution of the v4 name resolution request has been completed (step S113). When the name resolution of the v4 name resolution request cannot be performed (step S113-NO), the DNS proxy unit 305 determines whether the name resolution of the v6 name resolution request has been completed. (Step S114). When the name resolution of the v6 name resolution request cannot be performed (step S114-NO), or when the name resolution of the v6 name resolution request cannot be performed by the process of step S107 (step S107-NO), the DNS proxy unit 305 A name unresolved response indicating that the name could not be resolved is transmitted as a response to the IPv4 terminal 10 (step S115). Thereafter, the process ends.

ステップ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 proxy unit 305 generates a virtual IPv4 address (step S116). The DNS proxy unit 305 records the generated virtual IPv4 address, the IPv6 address generated in the process of step S111, and the FQDN of the v4 name resolution request received in the process of step S101 in association with each other (step). S117). At this time, the DNS proxy unit 305 sets the value of the initial flag to “1”.

その後、DNSプロキシ部305は、仮想IPv4アドレスを応答としてIPv4端末10に送信する(ステップS118)。その後、処理を終了する。
ステップS113の処理において、v4名前解決要求の名前解決ができた場合(ステップS113−YES)、DNSプロキシ部305は解決されたIPv4アドレスを応答としてIPv4端末10に送信する(ステップS119)。その後、処理を終了する。
Thereafter, the DNS proxy unit 305 transmits the virtual IPv4 address as a response to the IPv4 terminal 10 (step S118). Thereafter, the process ends.
If the name resolution of the v4 name resolution request is successful in the process of step S113 (step S113-YES), the DNS proxy unit 305 transmits the resolved IPv4 address to the IPv4 terminal 10 as a response (step S119). Thereafter, the process ends.

図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 transfer control unit 303 in this embodiment.
The communication unit 301 receives a packet transmitted from the IPv4 terminal 10 (step S201). The transfer control unit 303 determines whether the destination of the received packet is other than the connection notification virtual IPv4 address (step S202). When the destination of the packet is not other than the IPv4 address for connection notification, that is, when the destination is the virtual IPv4 address for connection notification (step S202—NO), the transfer control unit 303 transfers the packet to the IPv6 connection notification unit 307. . Thereafter, when the packet is transferred from the transfer control unit 303, the IPv6 connection notification unit 307 transmits a connection notification to the IPv4 terminal 10 (step S203). Thereafter, the process ends.

一方、パケットの宛先が接続通知用の仮想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 conversion notification unit 306 receives the virtual IPv4 in which the destination IPv4 address of the received packet is recorded in the conversion table. It is determined whether it is an address (step S204). Specifically, the IPv4 / IPv6 conversion notification unit 306 reads the conversion table stored in the conversion table storage unit 302. The IPv4 / IPv6 conversion notification unit 306 determines whether or not the destination IPv4 address of the packet received in the process of step S201 is recorded in the read conversion table.

受信されたパケットの宛先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 translation notification unit 306 sends the packet received via the transfer control unit 303 to the destination. Transfer to the IPv4 address (step S205). Thereafter, the process ends.
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 translation notification unit 306 refers to the translation table and sets the virtual IPv4 address. It is determined whether or not the value of the initial flag recorded in association is “1” (step S206).

初期フラグの値が“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 conversion notification unit 306 refers to the conversion table, and receives the destination of the received packet. The IPv4 address is converted to IPv4 / IPv6 and transmitted to the target server 50 (step S207). Specifically, first, the IPv4 / IPv6 conversion notification unit 306 refers to the conversion table and selects the record 60 in which the virtual IPv4 address is recorded. Next, the IPv4 / IPv6 conversion notification unit 306 acquires the value of the communication destination IPv6 address recorded in the selected record 60. Thereafter, the IPv4 / IPv6 conversion notifying unit 306 performs IPv4 / IPv6 conversion, and converts the destination IPv4 address of the received packet into a communication destination IPv6 address. Then, the IPv4 / IPv6 conversion notification unit 306 transmits the destination-converted packet to the target server 50 via the transfer control unit 303. Thereafter, the process ends.

一方、初期フラグの値が“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 conversion notification unit 306 transmits a usage confirmation notification to the IPv4 terminal 10 (step S208). The communication unit 301 receives a response to the usage confirmation notification transmitted from the IPv4 terminal 10. The transfer control unit 303 determines whether or not the received response is a use permission notification indicating that the IPv4 / IPv6 conversion is used (step S209). When the received response is not a use permission notification indicating that the IPv4 / IPv6 conversion is used (step S209—NO), the DNS proxy unit 305 deletes the corresponding item from the conversion table. More specifically, the DNS proxy unit 305 deletes the translation table record 60 in which the virtual IPv4 address that the IPv4 terminal 10 tried to access is recorded. Thereafter, the process ends.

一方、受信された応答が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 conversion notification unit 306 determines the FQDN of the packet received in the process of step S201. Record in the FQDN table (step S211). The IPv4 / IPv6 conversion notification unit 306 refers to the conversion table and changes the value of the initial flag recorded in the record 60 corresponding to the virtual IPv4 address that is the destination of the received packet to “0” (step S212). ). Thereafter, the IPv4 / IPv6 conversion notifying unit 306 performs IPv4 / IPv6 conversion and transmits the packet to the target server 50 (step S213). Thereafter, the process ends.

図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 IPv4 terminal 10 transmits a v4 name resolution request (IPv4, A record) to the HGW 30 in accordance with a user operation (step S301). The communication unit 301 of the HGW 30 receives the v4 name resolution request. The DNS proxy unit 305 determines whether or not the FQDN of the received v4 name resolution request is recorded in the FQDN table (step S302). As a result of the determination, since the FQDN of the received v4 name resolution request is not recorded in the FQDN table, the DNS proxy unit 305 generates a v6 name resolution request (step S303).

その後、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 DNS proxy unit 305 transmits a v4 name resolution request to the v4 DNS server 20-1 via the IPv4 interface 308 (step S304).
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 transfer control unit 303 of the HGW 30 receives the name resolution response from the v4 DNS server 20-1 via the IPv4 interface 308. Next, since the information stored in the received name resolution response indicates that there is no IPv4 address corresponding to the v4 name resolution request, the DNS proxy unit 305 then sends a v6 name resolution request (IPv6 via the IPv6 interface 309). , AAAA record) to the v6 DNS server 20-2. (Step S306).

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 transfer control unit 303 of the HGW 30 receives a name resolution response from the v6 DNS server 20-2 via the IPv6 interface 309. Since the resolved IPv6 address is stored in the information stored in the received name resolution response, the DNS proxy unit 305 acquires the resolved IPv6 address from the name resolution response. Thereafter, the DNS proxy unit 305 generates a virtual IPv4 address (step S308).

DNSプロキシ部305は、生成した仮想IPv4アドレスと、ステップS308の処理で取得したIPv6アドレスと、ステップS301の処理で受信されたv4名前解決要求のFQDNとを対応付けて変換テーブルに記録する(ステップS309)。この際、DNSプロキシ部305は、初期フラグの値を“1”に設定する。   The DNS proxy unit 305 records the generated virtual IPv4 address, the IPv6 address acquired in the process of step S308, and the FQDN of the v4 name resolution request received in the process of step S301 in association with each other (step). S309). At this time, the DNS proxy unit 305 sets the value of the initial flag to “1”.

通信部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 communication unit 301 transmits the generated virtual IPv4 address to the IPv4 terminal 10 as a name resolution response (step S310). Thereafter, the IPv4 terminal 10 performs a connection process with the HGW 30 by 3WHS (three-way handshaking) (step S311). The IPv4 terminal 10 transmits an HTTP (HyperText Transfer Protocol) request addressed to the virtual IPv4 address to the HGW 30 (step S312). The communication unit 301 of the HGW 30 receives an HTTP request. The transfer control unit 303 confirms the conversion table based on the received HTTP request (step S313).

具体的には、転送制御部303は、変換テーブルを参照し、受信されたHTTPリクエストの宛先が変換テーブルに記録されている仮想IPv4アドレスであるか否かを判定する。判定の結果、変換テーブルに記録されている仮想IPv4アドレスであるため、次に、転送制御部303は当該仮想IPv4アドレスに対応する初期フラグの値が“1”であるか否かを判定する。   Specifically, the transfer control unit 303 refers to the conversion table and determines whether or not the destination of the received HTTP request is a virtual IPv4 address recorded in the conversion table. As a result of the determination, since it is the virtual IPv4 address recorded in the conversion table, the transfer control unit 303 next determines whether or not the value of the initial flag corresponding to the virtual IPv4 address is “1”.

判定の結果、当該仮想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 transfer control unit 303 transfers the HTTP request to the IPv4 / IPv6 conversion notification unit 306. The IPv4 / IPv6 conversion notification unit 306 transmits a usage confirmation notification as an HTTP response to the IPv4 terminal 10 (step S314).

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 terminal 10 receives the HTTP response and displays a usage confirmation image (step S315). When the user presses the “Yes” button, the IPv4 terminal 10 transmits a use permission notification indicating that the IPv4 / IPv6 conversion is used to the HGW 30 (step S316). The communication unit 301 of the HGW 30 receives the use permission notification. The IPv4 / IPv6 conversion notification unit 306 records the FQDN of the v4 name resolution request received in the process of step S302 in the FQDN table in order to indicate that the received use confirmation notification uses IPv4 / IPv6 conversion (step 302). S317).

この際、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 conversion notification unit 306 refers to the conversion table and sets the value of the initial flag corresponding to the FQDN of the v4 name resolution request received in the process of step S302 to “0” (step S318). This makes it possible to convert a virtual IPv4 address into a communication destination IPv6 address. The IPv4 / IPv6 conversion notification unit 306 refers to the conversion table and acquires the value of the communication destination IPv6 address corresponding to the virtual IPv4 address that is the destination of the HTTP request. Thereafter, the IPv4 / IPv6 conversion notification unit 306 converts the destination of the HTTP request from the virtual IPv4 address to the value of the communication destination IPv6 address.

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 HGW 30 performs connection processing by 3WHS with the target server 50 (step S319). When the connection is completed, the IPv4 / IPv6 conversion notification unit 306 of the HGW 30 transmits an HTTP request to the target server 50 via the transfer control unit 303 (step S319). The target server 50 receives the HTTP request. Then, the target server 50 transmits information corresponding to the received HTTP request as an HTTP response to the HGW 30 (step S320). The transfer control unit 303 of the HGW 30 receives the HTTP response via the IPv6 interface 309.

そして、転送制御部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 transfer control unit 303 performs IPv4 / IPv6 conversion, and transmits the received HTTP response to the IPv4 terminal 10 (step S321). Specifically, the transfer control unit 303 acquires the destination IPv6 address from the received HTTP response. The transfer control unit 303 refers to the communication destination IPv6 address of the conversion table and selects the record 60 corresponding to the acquired IPv6 address. The transfer control unit 303 acquires the virtual IPv4 address recorded in the selected record 60. Thereafter, the transfer control unit 303 generates an HTTP response with the acquired virtual IPv4 address as a destination, and transmits the HTTP response to the IPv4 terminal 10.
When the communication between the IPv4 terminal 10 and the HGW 30 is disconnected after a predetermined time has elapsed, the process ends (step S322). Further, when the communication is disconnected between the HGW 30 and the target server 50, the process ends (step S323).

図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 IPv4 terminal 10 transmits a v4 name resolution request (IPv4, A record) to the HGW 30 according to the user's operation (step S401). The communication unit 301 of the HGW 30 receives the v4 name resolution request. The DNS proxy unit 305 determines whether or not the FQDN of the received v4 name resolution request is recorded in the FQDN table (step S402). As a result of the determination, since it is recorded in the FQDN table, the DNS proxy unit 305 generates a v6 name resolution request (IPv6, AAAA record) (step S403).

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 DNS proxy unit 305 transmits the generated v6 name resolution request to the v6 DNS server 20-2 (step S404).
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 transfer control unit 303 of the HGW 30 receives a name resolution response from the v6 DNS server 20-2 via the IPv6 interface 309. The DNS proxy unit 305 acquires the resolved IPv6 address from the received name resolution response. Thereafter, the DNS proxy unit 305 generates a virtual IPv4 address (step S406).
The DNS proxy unit 305 records the generated virtual IPv4 address, the acquired IPv6 address, and the FQDN of the v4 name resolution request received in step S401 in the conversion table (step S407). At this time, the DNS proxy unit 305 sets the value of the initial flag to “0”.

通信部301は、生成された仮想IPv4アドレスを名前解決応答としてIPv4端末10に送信する(ステップS408)。その後、IPv4端末10は、HGW30との間で3WHSによる接続処理を行う(ステップS409)。IPv4端末10は、仮想IPv4アドレス宛のHTTPリクエストをHGW30に送信する(ステップS410)。HGW30の通信部301は、HTTPリクエストを受信する。IPv4/IPv6変換通知部306は、受信されたHTTPリクエストに基づいて変換テーブルを確認する。   The communication unit 301 transmits the generated virtual IPv4 address to the IPv4 terminal 10 as a name resolution response (step S408). Thereafter, the IPv4 terminal 10 performs a connection process using 3WHS with the HGW 30 (step S409). The IPv4 terminal 10 transmits an HTTP request addressed to the virtual IPv4 address to the HGW 30 (step S410). The communication unit 301 of the HGW 30 receives an HTTP request. The IPv4 / IPv6 conversion notification unit 306 confirms the conversion table based on the received HTTP request.

具体的には、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 conversion notification unit 306 refers to the conversion table and determines whether or not the destination of the received HTTP request is a virtual IPv4 address recorded in the conversion table. As a result of the determination, since it is the virtual IPv4 address recorded in the conversion table, the IPv4 / IPv6 conversion notification unit 306 next determines whether or not the value of the initial flag corresponding to the virtual IPv4 address is “1”. judge. As a result of the determination, since the value of the initial flag corresponding to the virtual IPv4 address is “0”, the IPv4 / IPv6 conversion notification unit 306 refers to the conversion table and corresponds to the virtual IPv4 address that is the destination of the HTTP request. Get the value of the destination IPv6 address. Thereafter, the IPv4 / IPv6 conversion notification unit 306 converts the destination of the HTTP request from the virtual IPv4 address to the value of the communication destination IPv6 address.

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 HGW 30 performs connection processing by 3WHS with the target server 50 (step S411). When the connection is completed, the IPv4 / IPv6 conversion notification unit 306 of the HGW 30 transmits an HTTP request to the target server 50 via the transfer control unit 303 (step S412). The target server 50 receives the HTTP request. Then, the target server 50 transmits information corresponding to the received HTTP request as an HTTP response to the HGW 30 (step S413). The transfer control unit 303 of the HGW 30 receives the HTTP response via the IPv6 interface 309.

そして、転送制御部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 transfer control unit 303 performs IPv4 / IPv6 conversion, and transmits the received HTTP response to the IPv4 terminal 10 (step S414). Specifically, the transfer control unit 303 acquires the destination IPv6 address from the received HTTP response. The transfer control unit 303 refers to the communication destination IPv6 address of the conversion table and selects the record 60 corresponding to the acquired IPv6 address. The transfer control unit 303 acquires the virtual IPv4 address recorded in the selected record 60. Thereafter, the transfer control unit 303 generates an HTTP response with the acquired virtual IPv4 address as a destination, and transmits the HTTP response to the IPv4 terminal 10.
When the communication is disconnected between the IPv4 terminal 10 and the HGW 30 after a predetermined time has elapsed, the process ends (step S415). Further, when communication is disconnected between the HGW 30 and the target server 50, the process ends (step S416).

以上のように構成されたHGW30によれば、IPv4/IPv6変換が必要な場合、IPv4端末10に対して利用確認通知が送信される。IPv4端末10は、受信した利用確認通知に格納されている利用確認画像を画面上に表示させることでユーザに対してIPv4/IPv6変換を利用した通信を行うか否かを確認させることができる。したがって、ユーザの意志によりIPv4/IPv6変換を利用した通信を行うことができる。そのため、ユーザにIPv4/IPv6変換の利用を意識させることが可能になる。   According to the HGW 30 configured as described above, when IPv4 / IPv6 conversion is necessary, a usage confirmation notification is transmitted to the IPv4 terminal 10. The IPv4 terminal 10 can make the user confirm whether or not to perform communication using IPv4 / IPv6 conversion by displaying a usage confirmation image stored in the received usage confirmation notification on the screen. Therefore, communication using IPv4 / IPv6 conversion can be performed at the user's will. Therefore, it becomes possible to make the user aware of the use of IPv4 / IPv6 conversion.

また、従来、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 IPv4 terminal 10, there is a problem that unnecessary traffic occurs.
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 HGW 30 is configured to generate the v6 name resolution request, but the present invention is not limited to this. For example, when the HGW 30 receives a v6 name resolution request, the vGW name resolution request may be generated.
In the present embodiment, the IPv4 terminal 10 has been described as an example, but the same processing as in the present embodiment may be performed for an IPv6 terminal. In this case as well, as described with the IPv4 terminal 10 as an example, when the packet addressed to the FQDN stored in the FQDN table is received, the HGW 30 transmits to the IPv6 terminal if the IPv4 connection is not established. Connection notification indicating that an IPv4 connection is required.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   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) ... IPv4 terminal 10, 20-1 ... v4 DNS server, 20-2 ... v6 DNS server, 30 ... HGW, 40 ... network, 50 ... target server, 301 ... communication section, 302 ... conversion Table storage unit 303: Transfer control unit (relay unit) 304 ... FQDN table storage unit 305 ... DNS proxy unit (request unit) 306 ... IPv4 / IPv6 conversion notification unit (conversion notification unit) 307 ... IPv6 connection notification 308 ... IPv4 interface 309 ... IPv6 interface

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変換を利用した通信が有効ではない場合に前記通知を前記端末装置に送信し、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/IPv6変換を利用した通信を行う旨の通知が受信されると、前記データの宛先を示すFQDN(Fully Qualified Domain Name)を記録する宛先識別情報テーブル記憶部と、
前記端末装置から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:
前記宛先識別情報テーブル記憶部に記録されているFQDN宛のデータが受信された際に、IPv4又はIPv6の接続が確立していない場合には前記端末装置に接続が必要である旨を通知する接続通知部を更に備える請求項3に記載の中継装置。 A connection for notifying that the terminal device needs to be connected when an IPv4 or IPv6 connection is not established when data addressed to the FQDN recorded in the destination identification information table storage unit is received The relay device according to claim 3, further comprising a notification unit. 端末装置からデータを受信する通信ステップと、
前記通信ステップによって受信された前記データに基づいて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.
JP2013106507A 2013-05-20 2013-05-20 Relay device, relay method, and computer program Active JP6101149B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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