A network relay device and connection path selection method

By using the PBR of the network relay device to select the connection path, combined with the transmission source information and model name, the problem of Internet connection for faulty terminal devices in IPv4 over IPv6 communication was solved, realizing fast and reliable multi-terminal connection and improving communication efficiency and functional adaptability.

CN115883284BActive Publication Date: 2024-11-15ELECOM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210962299.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-09-27
Filing Date
2022-08-11
Publication Date
2024-11-15
Estimated Expiration
2042-08-11

AI Technical Summary

Technical Problem

In IPv4 over IPv6 communication, the coexistence of faulty and non-faulty communication terminal devices makes it difficult for existing technologies to achieve a simple and fast Internet connection. Furthermore, traditional connection methods such as PPPoE and IPv4 over IPv6 each have their own advantages and disadvantages, resulting in limitations on communication speed and functionality.

Method used

By using network relay devices and PBR to select the connection path, and combining the IP address, MAC address, SSID and model name of the transmission source, the connection method of PPPoE or IPv4 over IPv6 is dynamically selected to ensure that the communication terminal device can connect to the IPv4 Internet quickly and reliably.

Benefits of technology

It enables fast and reliable internet connection in environments where faulty and non-faulty communication terminal devices coexist, avoiding the bottlenecks and functional limitations of traditional connection methods, and supporting flexible connection of various communication terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883284B_ABST
    Figure CN115883284B_ABST
Patent Text Reader

Abstract

The present invention provides a network relay device, which can usually quickly connect to the IPv4 Internet via IPv4overIPv6, and the communication of the communication terminal device that fails in IPv4overIPv6 can be connected to the IPv4 Internet via PPPoE connection. It has: a PPPoE connection part, which is connected to the IPv4 Internet with the help of a PPPoE server; an IPv4overIPv6 connection part, which is connected to a first router via an IPv4overIPv6 tunnel, and is connected to the IPv4 Internet with the help of the first router; a connection path selection part, which determines the connection path to the IPv4 Internet; and the connection path selection part selects the connection path through PBR (Policy Based Routing).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a network relay device for relaying an IPv4 communication terminal device and the IPv4 Internet, and a method for selecting a connection path of the network relay device. Background Art

[0002] The following patents have been applied for regarding a network relay device connected to an IPv4 communication terminal device in an IPv4 / IPv6 mixed network environment.

[0003] Patent Document 1 (Japanese Patent Application Laid-Open No. 2015-164287) discloses an apparatus and method for easily setting an appropriate operation mode for relaying an IPv4 packet.

[0004] The network relay device described in patent document 1 comprises: a data packet relay processing unit, which is set to any one of the first operation mode operating as a router function unit and the second operation mode operating as a bridge function unit and operates to relay IP data packets; an operation mode setting unit, which selectively sets any one of the first operation mode and the second operation mode as the operation mode of the data packet relay processing unit; a tunnel processing unit, which terminates the IPv4overIPv6 tunnel; a communication test unit, which performs a communication test with the help of a relevant tunnel between other network relay devices different from the network relay device that terminates the relevant tunnel; and the operation mode setting unit sets the operation mode of the data packet relay processing unit to the first operation mode when the communication test result shows that communication is possible.

[0005] Patent document 2 (Patent publication No. 6532975) discloses a connection service based on IPv4 over IPv6 that can be expanded with a small load.

[0006] The connection service described in Patent Document 2 comprises: a shared IP network connection control device, which is installed in a shared IP network managed by a telecommunications operator and composed of IPv6; an operator connection control device, which is installed in an ISP network managed by a connection operator; a gateway relay router, which is installed at the end of the shared IP network 2 side of the ISP network 3; and a client device, which is installed at the end of the shared IP network side of the user network; the client device is relayed to the shared IP network connection control device, and an IPv4 address is allocated by the operator connection control device, and a tunneling technology (Tunneling) using IPv6 encapsulation is performed between the client device and the gateway relay router, and the allocation of the connection operator should be performed by the non-terminal shared IP network connection control device.

[0007] Patent document 3 (Japanese Patent Application Laid-Open No. 2004-007412) discloses a method for selecting a plurality of PPPoE sessions at the same time as selecting a protocol to be used between PPPoE and IPoE by a connected terminal, regarding a gateway device compatible with PPPoE and a control method thereof.

[0008] The gateway device described in Patent Document 3 describes the following: an IPoE / PPPoE forwarding table is set up to register the network address, protocol type, destination IP address used in IPoE, and search index of the PPPoE session used in PPPoE; a protocol type that matches the destination IP address included in the IP data packet header information of the input frame is selected based on the network address on the IPoE / PPPoE forwarding table; if the selected protocol type is PPPoE, the PPPoE session will also be selected from the search index corresponding to the network address.

[0009] Prior art literature

[0010] Patent Literature

[0011] Patent Document 1: Japanese Patent Application Laid-Open No. 2015-164287

[0012] Patent Document 2: Patent No. 6532975

[0013] Patent Document 3: Japanese Patent Application Publication No. 2004-007412 Summary of the invention

[0014] Technical problem to be solved by the invention

[0015] Currently, in general households, by signing a contract with an ISP (Internet Service Provider), it is possible to connect to the IPv4 Internet via IPv4 or IPv4 over IPv6. IPv4 over IPv6 is a method of building an IPv6 tunnel between a home network relay device and a BR (Border Relay) installed in a VNE (Virtual Network Enabler) network, and connecting to the IPv4 Internet via the VNE.

[0016] Among them, when using PPPoE as a traditional connection method to connect to the IPv4 Internet, it is necessary to pass through the ISP's network terminal device. If the communication volume increases, the network terminal device will become congested and become a bottleneck, which may reduce the communication speed.

[0017] On the other hand, when connecting to the IPv4 Internet using IPv4 over IPv6, the communication speed is expected to be faster than when connecting to the IPv4 Internet using the PPPoE method. However, there are problems such as limited usable port numbers and inability to use fixed IP addresses when connecting to home communication terminal devices. Specifically, the following obstacles have been confirmed: some online games have obstacles, servers cannot be installed, some network cameras cannot be accessed from the outside of the home, and VPNs such as PPTP or L2TP / IPsec cannot be used.

[0018] In particular, in a network environment where malfunctioning communication terminal devices and non-malfunctioning communication terminal devices coexist in IPv4 over IPv6 communications, complex network configuration is required, such as installing two routers, one for IPv4 over IPv6 connection and one for PPPoE connection, setting up a PPPoE bridge for the router used for IPv4 over IPv6 connection, and allocating terminals connected to each router.

[0019] The network relay device described in Patent Document 1 has: a packet relay processing unit for relaying IPv4 packets, a tunnel processing unit for terminating an IPv4 over IPv6 tunnel, and a communication test unit for performing a communication test via the IPv4 over IPv6 tunnel, and selects an operation mode based on the communication test result. Therefore, it is possible to connect to the IPv4 Internet via PPPoE or to connect to the IPv4 Internet via IPv4 over IPv6.

[0020] However, the communication test described in Patent Document 1 is a test for determining which of the first to fourth connection forms is a network connection form provided with a network relay device, and once the connection form is determined, it is not considered possible to change the connection form during use.

[0021] Therefore, users of the network relay device described in Patent Document 1 must be prepared for slower communication speeds and must choose one of the following: either connect to the IPv4 Internet via PPPoE, or make concessions to obstacles such as obstacles to some online games, inability to install servers, and inability of some network cameras to access cameras installed at home from the outside, and connect to the IPv4 Internet via IPv4 over IPv6.

[0022] The invention described in Patent Document 2 is about a communication method when connecting to an IPv4 network operator in an IPv6 access network. When providing IPv4 over IPv6 via an IPv6 shared IP network, the load is small and network restrictions are reduced, providing an environment that is easy to improve user experience. However, there is no record of using the traditional PPPoE method to connect to the IPv4 Internet.

[0023] The invention described in Patent Document 3 is an invention of a gateway device for realizing communication between a network built within an enterprise and an external network, and is compatible with both IPoE and PPPoE, but does not specifically describe how to determine whether to use PPPoE or IPoE to connect to the Internet. In addition, Patent Document 3 does not describe IPv4 over IPv6.

[0024] A main object of the present invention is to provide a network relay device that can easily connect to the Internet even in a network environment where communication terminal devices that have failed in IPv4 over IPv6 communication and communication terminal devices that have not failed coexist.

[0025] Another object of the present invention is to provide a network relay device that relays a communication terminal device having an IPv4 communication interface and the IPv4 Internet, and can usually quickly connect to the IPv4 Internet via IPv4 over IPv6, and the communication of the communication terminal device where IPv4 over IPv6 fails can be connected to the IPv4 Internet via PPPoE connection.

[0026] Still another object of the present invention is to provide a network relay device that is capable of specifying the type of communication from a communication terminal device and connecting to the IPv4 Internet via a PPPoE connection for a type of communication that fails in IPv4 over IPv6.

[0027] Technical means of solving problems (1)

[0029] According to one aspect, a network relay device is a network relay device that relays between a communication terminal device having an IPv4 communication interface and the IPv4 Internet, and comprises: a PPPoE connection unit that is connected to the IPv4 Internet with the aid of a PPPoE server, an IPv4overIPv6 connection unit that is connected to a first router via an IPv4overIPv6 tunnel and is connected to the IPv4 Internet with the aid of the first router, and a connection path selection unit that determines a connection path to the IPv4 Internet; the connection path selection unit selects a connection path through PBR (Policy Based Routing).

[0030] Normally, a communication route is determined using the destination IP address and a routing table. However, if there are two types of routing paths to connect to the IPv4 Internet, routing with the help of a PPPoE server and routing via an IPv4 over IPv6 tunnel, it is not possible to determine which route to select based on the destination IP address.

[0031] However, the network relay device knows the IP address and MAC address of the transmission source, and can judge whether the communication comes from the communication terminal device that fails in IPv4 over IPv6 based on the IP address and / or MAC address of the transmission source. Then, in the case of communication from the communication terminal device that fails in IPv4 over IPv6, the network relay device can realize fast and trouble-free communication by connecting to the IPv4 Internet through the PPPoE server.

[0032] Furthermore, even when there are both communication terminal devices that have experienced communication failures over IPv4 over IPv6 and communication terminal devices that have not experienced communication failures, the router settings of each communication terminal device can be changed, and a special network can be constructed without using multiple routers to easily connect to the Internet.

[0033] In addition, the PBR (Policy Based Routing) in the present invention is not like ordinary IP routing that determines the transmission destination only based on the target IP address, but has the function of controlling the routing of data packets (unicast) using various other information. (2)

[0035] With respect to the network relay device according to the second invention, in the network relay device according to one aspect, the connection path can be selected at the PBR by the MAC address or SSID of the communication terminal device of the transmission source.

[0036] As information that can be used in PBR, for example, the IP address of the transmission source and the MAC address of the transmission source become candidates. However, even if it is the same communication terminal device, the IP address may change due to reconnection of the communication terminal device, etc. Therefore, when selecting a connection path using the IP address of the communication terminal device of the transmission source, it is necessary to assign a fixed IP by the MAC address through DHCP or manually assign a fixed IP on the client.

[0037] On the other hand, when the connection path is selected using the MAC address of the communication terminal device of the transmission source, it is sufficient to specify a unique MAC address for the communication terminal device of the transmission source, so the specification of the communication terminal device for selecting the connection path is simple and reliable.

[0038] In addition, if a wireless access point is connected to the LAN side interface of the network relay device, it is determined whether to use IPv4 over IPv6 connection or PPPoE connection for each SSID (Service Set Identifier) ​​of the wireless access point. In this case, the connection path can be selected by the SSID of the wireless access point instead of the MAC address of the transmission source. (3)

[0040] For the network relay device involved in the third invention, in the network relay device involved in the second invention, there is also a correspondence table between the MAC address and the model name of the communication terminal device, and the connection path can be selected based on the model name or SSID of the communication terminal device determined from the MAC address using the correspondence table.

[0041] When setting the MAC address of a communication terminal device that has failed in IPv4over IPv6 as a network relay device, the user can specify the communication terminal device that has failed and input its MAC address. However, it is difficult for a general user of a network relay device to find the MAC address of the communication terminal device that has failed and input it into the network relay device.

[0042] On the other hand, the correspondence between the MAC address and the model name of the communication terminal device is provided by, for example, network security software, and the model name can be specified based on the MAC address.

[0043] Alternatively, a correspondence table between MAC addresses and model names of communication terminal devices may exist on a server that can be connected to the Internet, and the network relay device may access the server having the correspondence table and perform a search. (4)

[0045] With respect to the network relay device involved in the fourth invention, in the network relay device involved in the third invention, there is also a model-specific path selection list for setting the relationship between the model name or SSID of the communication terminal device and the connection path, and the connection path can be selected by the model name or SSID and the model-specific path selection list.

[0046] Since the network relay device has a model-specific path selection list, when a data packet is sent from a communication terminal device to the network relay device, the network relay device first specifies the model name from the transmission source MAC address in the corresponding table, and then, based on the specified model name or SSID, it can specify the connection path to be selected from the model-specific path selection list. (5)

[0048] With respect to the network relay device according to the fifth invention, in the network relay device according to the fourth invention, the correspondence between the model name or SSID in the model specific path selection list and the selected connection path can be set by the user of the communication terminal device.

[0049] Users of communication terminal devices often understand whether the corresponding communication terminal should be connected via IPv4 over IPv6 or via PPPoE. In addition, when a wireless access point is connected to the LAN side interface of a network relay device, users usually understand which connection path should be selected for each SSID of the wireless access point.

[0050] In this case, the user can easily and reliably set the correspondence between the model name or SSID and the selected connection path. In the case of user setting, if a malfunction occurs during use, the setting can also be changed.

[0051] However, as for the initial values ​​of the model-specific path selection list, it is desirable that the network relay device sets initial values ​​deemed appropriate.

[0052] For example, some communication terminal devices such as servers and network cameras that require fixed IP addresses, as well as communication terminal devices that use PPTP or L2TP / IPsec for VPN connection, may have the inconvenience of certain functions being unavailable due to the IPoE mechanism, so PPPoE can be selected as the initial setting.

[0053] In this case, the model-specific routing can be performed using the set initial values, and the user can change the settings in the event of a malfunction. (6)

[0055] The network relay device according to the sixth invention further comprises a communication type designation unit for designating the type of communication sent from the communication terminal device, and a connection path can be selected based on the model name and the type of communication.

[0056] For example, in the case where the communication terminal device is a game console, in network games, even if it is the same game console, there are games that fail and games that do not fail when communicating via IPv4 over IPv6. This is because the types of communication used in network games are different. Therefore, by providing the network relay device with a communication type designation unit that identifies the type of communication and a communication specific path selection list, the connection function can be selected according to the game type rather than the game console unit.

[0057] In addition, from the perspective of accuracy and speed in selecting the connection function, when selecting the connection function, first determine whether it is a model that may fail based on the type of communication in the model-specific path selection list. It is best to activate the function of identifying the communication type only for models that may fail. (7)

[0059] For the network relay device involved in the seventh invention, in the network relay device involved in the sixth invention according to one aspect, it also has an IPv6 connection unit, which is connected to a communication terminal device with an IPv6 communication interface, and can be connected to the IPv6 Internet with the help of a second router of an ISP (Internet Service Provider) or via a network with an IPv6 closed network and a VNE (Vertual Network Enabler).

[0060] In the future, the number of communication terminal devices having IPv6 communication interfaces is expected to increase, and the number of users using IPv6 among communication terminal devices having both IPv4 and IPv6 is also expected to increase.

[0061] Therefore, the network relay device is expected to be connected to the communication terminal device having an IPv6 communication interface and the IPv6 Internet at the same time.

[0062] In addition, in connecting to the IPv6 Internet, there is a method of connecting via a network having an IPv6 closed network and a VNE, and there is also a method of connecting directly with the help of a second router of the ISP, but the network relay device involved in the fifth invention is expected to be able to cope with either method. (8)

[0064] For the network relay device involved in the eighth invention, in the network relay device involved in the seventh invention according to one aspect, the communication terminal device includes at least one of a personal computer, a smart phone, a game console, a network camera, an IoT appliance and a network server, and for the communication terminal device requiring a fixed IP address and the communication terminal device using PPTP or L2TP / IPsec for VPN connection, a PPPoE connection path can be selected.

[0065] Since the network relay device of the present invention can cope with communication terminal devices such as game consoles and network cameras that may malfunction when communicating via IPv4 over IPv6, it can not only achieve high-speed IPv4 over IPv6 communication, but also can be used in a wide range of communication terminal devices. (9)

[0067] With regard to a connection path selection method according to other aspects, a connection path selection method for a network relay device that relays between a communication terminal device having an IPv4 communication interface and the IPv4 Internet, the network relay device comprises: a PPPoE connection unit that is connected to the IPv4 Internet with the aid of a PPPoE server, an IPv4over IPv6 connection unit that is connected to a first router via an IPv4overIPv6 tunnel, and is connected to the IPv4 server with the aid of the first router; the connection path selection method comprises: a MAC address extraction step that extracts the MAC address of the communication terminal device of the transmission source; a communication terminal device designation step that uses the MAC address to designate the model name of the communication terminal device; a model-specific connection path determination step that determines whether a connection to a designated model name can be made via IPv4overIPv6; a connection path selection step that connects via IPv4overIPv6 if the connection can be made via IPv4overIPv6, and connects via PPPoE if the IPv4 over IPv6 connection is likely to fail.

[0068] With respect to the connection path selection method according to other aspects, the MAC address of the communication terminal device of the transmission source is extracted, and the type of the communication terminal device is specified using a correspondence table between the MAC address and the type of the communication terminal device. If the communication terminal can be connected via IPv4 over IPv6, it is connected via IPv4 over IPv6. If the connection via IPv4 overIPv6 may fail, the IPv4 Internet is connected with the aid of a PPPoE server, so that the user can be connected to the IPv4 Internet in a trouble-free state without adding a burden to the user.

[0069] In addition, a correspondence table between MAC addresses and types of communication terminal devices exists on a server that can be connected to the Internet, and the network relay device can access the server with the correspondence table and perform a search. (10)

[0071] With respect to the connection path selection method involved in the tenth invention, according to the connection path selection method in other aspects, the connection path selection method also has a communication type specifying step for specifying the type of communication sent from the communication terminal device, and in the model-specific connection path judgment step, whether a connection can be made via IPv4 over IPv6 can be judged by the model name of the communication terminal device and the type of communication sent from the communication terminal device.

[0072] For example, in the case where the communication terminal device is a game console, in network games, even if it is the same game console, there are games that fail and games that do not fail when communicating via IPv4 over IPv6. This is because the types of communication used in network games are different. Therefore, by identifying the type of communication for the network relay device and determining whether a failure occurs when the communication is connected via IPv4 over IPv6, it is possible to more accurately determine whether a failure exists.

[0073] In addition, from the perspective of accuracy and speed in selecting the connection function, when selecting the connection function, first, in the model-specific connection path judgment process, determine whether it is a model that may fail based on the type of communication. It is best to activate the function of identifying the communication type only for models that may fail. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 It is a schematic diagram showing the structure of the network relay device according to the first embodiment.

[0075] Figure 2 A schematic diagram showing a first network connection method using the network relay device according to the first embodiment.

[0076] Figure 3 A schematic diagram showing a second network connection method using the network relay device according to the first embodiment.

[0077] Figure 4 This is a schematic diagram showing the flow of connection path selection in the network relay device according to the first embodiment.

[0078] Figure 5 This is a table showing an example of the MAC address / device correspondence table 55 in the network relay device according to the first embodiment.

[0079] Figure 6 This is a table showing an example of a model-specific path selection list in the network relay device according to the first embodiment.

[0080] Figure 7 It is a schematic diagram showing the structure of the network relay device according to the second embodiment.

[0081] Figure 8 This is a schematic diagram showing the flow of connection path selection in the network relay device according to the second embodiment.

[0082] Description of Reference Numerals

[0083] 15 PPPoE Connection

[0084] 20 IPv4overIPv6 connection

[0085] 25 IPv6 Connection

[0086] 50 Connection path selection unit

[0087] 65 Communication type designation unit

[0088] 100 Network relay device

[0089] 110 Communication terminal device

[0090] 120 IPv4 Internet

[0091] 130 PPPoE Server

[0092] 140 IPv4overIPv6 Tunnel

[0093] 150 First Router

[0094] 160 IPv6 Internet

[0095] 170 Second Router

[0096] 180 IPv6 Closed Network

[0097] 190 VNE (VertualNetworkEnabler: virtual network provider) DETAILED DESCRIPTION

[0098] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, identical components are denoted by identical reference numerals. In addition, in the case of identical reference numerals, their names and functions are also identical. Therefore, their detailed description will not be repeated.

[0099] First embodiment

[0100] Figure 1 is a schematic diagram showing the structure of the network relay device 100 according to the first embodiment, Figure 2 is a schematic diagram showing a first network connection method using the network relay device 100, Figure 3 is a schematic diagram showing a second network connection method using the network relay device 100. In addition, Figure 4 is a schematic diagram showing the flow of connection path selection in the network relay device 100, Figure 5 is a table showing an example of the MAC address / device correspondence table 55 of the network relay device 100, Figure 6 _ is a table showing an example of the model-specific path selection list 57 in the network relay device 100 .

[0101] (Structure of Network Relay Device 100)

[0102] like Figure 1 As shown, the network relay device 100 is composed of a data relay processing unit 10 , an interface unit 30 , and a connection path selection unit 50 .

[0103] The data relay processing unit 10 includes: a PPPoE connection unit 15, which connects an IPv4 data packet to an IPv4 Internet 120 via a PPPoE server 130 of an ISP (Internet Service Provider) through a PPPoE connection; an IPv4 over IPv6 connection unit 20, which connects an IPv4 data packet to the IPv4 Internet 120 via an IPv4 over IPv6 tunnel 140 via a first router 150 of the ISP; and an IPv6 connection unit 25, which connects an IPv6 data packet to the IPv6 Internet 160 via a second router 170 of the ISP. In addition, the IPv4 over IPv6 connection unit 20 and the IPv6 connection unit 25 can be connected to the IPv4 Internet 120 and the IPv6 Internet 160 via an IPv6 closed network 180 and a VNE (Vertual Network Enabler) 190, respectively.

[0104] In this embodiment, the data relay processing unit 10, the interface unit 30 and the connection path selection unit 50 of the network relay device 100 are respectively configured as independent hardware, but at least a part of the functions of the network relay device 100 can be implemented by operating a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit) based on a predetermined program.

[0105] The interface unit 30 has a WAN side I / F 35 connected to the PPPoE server 130, the first router 150, the second router 170, etc.; and a LAN side I / F (interface) 40 connected to the communication terminal device 110 such as a personal computer, a smart phone, a game console, a network camera, a network server, etc.

[0106] The communication terminal device 110 includes at least one of a personal computer, a smart phone, a game console, a network camera, an IoT appliance, and a network server. For a communication terminal device 110 that requires a fixed IP address and a communication terminal device 110 that performs a VPN connection via PPTP or L2TP / IPsec, a PPPoE connection path needs to be selected.

[0107] Generally, the connection path selection in the network relay device 100 is performed based on the target IP address. However, the connection path selection between the PPPoE connection path and the IPv4 over IPv6 connection path cannot be performed based on the target IP address. Therefore, the connection path selection unit 50 selects the connection path based on the transmission source information through PBR (Policy Based Routing).

[0108] Specifically, it comprises: a control unit 60, which extracts information such as the IP address and MAC address of the IPv4 data sent from the communication terminal device 110, and selects whether to send the IPv4 data via a PPPoE connection path or via an IPv4 over IPv6 connection path; a MAC address / device correspondence table 55, which is used to specify the model name of the communication terminal device 110 based on the MAC address; and a model-specific path selection list 57, which is used to set the relationship between the model name or SSID of the communication terminal device 110 and the connection path.

[0109] (First network connection method)

[0110] Figure 2 A first network connection method using the network relay device 100 is shown.

[0111] A communication terminal device 110 having an IPv4 communication interface and / or a communication terminal device 110 having an IPv6 communication interface is connected to the LAN side of the network relay device 100. In addition, the communication terminal device 110 has both an IPv4 communication interface and an IPv6 communication interface, and can perform IPv4 communication or IPv6 communication as needed.

[0112] On the WAN side of the network relay device 100, an IPv4 connection path connected to the PPPoE server 130 of the ISP, an IPv4 over IPv6 connection path connected to the first router 150 of the ISP, and an IPv6 connection path connected to the second router 170 of the ISP are connected. The IPv4 over IPv6 tunnel 140 is provided between the network relay device 100 and the first router 150, and is terminated by the network relay device 100 and the first router 150. Terminating the tunnel means encapsulating an IPv4 data packet into an IPv6 data packet and extracting an IPv4 data packet from an IPv6 data packet.

[0113] In addition, the PPPoE server 130 and the first router 150 are connected to the IPv4 Internet 120 , and the second router 170 is connected to the IPv6 Internet 160 .

[0114] The network relay device 100 selects one connection unit in the data relay processing unit 10 according to the determination of the connection path selection unit 50 , and the selected connection unit transmits data to the IPv4 Internet 120 or the IPv6 Internet 160 via the corresponding connection path.

[0115] (Second network connection method)

[0116] Figure 3 This indicates a second network connection method using the network relay device 100 .

[0117] In the second connection mode, the IPv4 connection path connected to the PPPoE server 130 is the same as the first connection mode, except that the IPv4 over IPv6 connection path and the IPv6 connection path are connected to the Internet via an IPv6 closed network 180 such as NTT's FLET'S network and VNE190 (Vertual Network Enabler).

[0118] The IPv4 over IPv6 tunnel 140 is provided between the network relay device 100 and the fourth router 210, and is terminated by the network relay device 100 and the fourth router 210. The third router 200 is a router device at the entrance of the IPv6 closed network 180.

[0119] The fourth router 210 is a device that terminates the IPv4 over IPv6 tunnel 140, such as an AFTR (Address Family Translate Router). The fifth router 220 has a function of converting between IPv4 private addresses such as CGN (Carrier Grade NAT) and IPv4 global addresses.

[0120] The connection method of the LAN side of the network relay device 100 is the same as the first network connection method.

[0121] (Flowchart of connection path selection)

[0122] Figure 4 This is a flowchart showing the connection path selection in the network relay device 100 according to the first embodiment. Each step will be described below.

[0123] ( S1 ) Wait until transmission data is received from communication terminal device 110 .

[0124] (S2) When transmission data is received, the MAC address of the transmission source is extracted.

[0125] (S3) Using the extracted MAC address and MAC address / device correspondence table 55 (see Figure 5) specifies the model name of the communication terminal device 110 of the transmission source.

[0126] (S4) Referring to the model specific path selection list 57 (reference) which sets the relationship between the model name or SSID of the communication terminal device 110 and the connection path Figure 6 ) to confirm whether the transmission source communication terminal device 110 has a fault.

[0127] (S5) If the model of the communication terminal device 110 as the transmission source is likely to fail, select the PPPoE connection path. In addition, even if the type of communication in the model-specific path selection list 57 is likely to fail, it is desirable to select the PPPoE connection path.

[0128] (S6) If the model of the communication terminal device 110 of the transmission source is not faulty, an IPv4 over IPv6 connection path with a faster communication speed is selected.

[0129] (S7) The data is sent to the IPv4 Internet 120 through the selected connection path.

[0130] (MAC address / device correspondence table 55)

[0131] Figure 5 TABLE 55 shows an example of the MAC address / device correspondence table 55. In the MAC address / device correspondence table 55, the vendor and model name of the communication terminal device 110 can be searched for each MAC address.

[0132] In addition, the MAC address / device correspondence table 55 exists on a server that can be connected to the Internet, and the network relay device 100 can access the server having the correspondence table and search it.

[0133] (Model Specific Path Selection List 57)

[0134] Figure 6 FIG. 5 shows an example of a model-specific path selection list 57. Figure 6 In the , whether each device model name or SSID should be connected via IPv4 over IPv6 or via PPPoE is recorded. In addition, whether PPPoE connection is required depending on the type of communication is also recorded.

[0135] The model-specific path selection list 57 exists on a server that can be connected to the Internet, and the network relay device 100 can also access a server with a corresponding table to perform a search.

[0136] The user of the communication terminal device 110 generally understands whether the corresponding communication terminal device 110 should be connected via IPv4 over IPv6 or whether it should be connected via PPPoE. In addition, when a wireless access point is connected to the LAN side interface 40 of the network relay device 100, the user generally understands that a certain connection path should be selected for each SSID of the wireless access point.

[0137] In this case, the user can easily determine whether to connect via IPv4overIPv6 or PPPoE, and since the determination is reliable, the user can fill in the connection path column of the model specific path selection list 57. In the case of user setting, if a failure occurs during use, the setting can be changed.

[0138] However, it is desirable that the network relay device 100 automatically sets the initial value considered appropriate for each model as the initial value of the model-specific path selection list 57 .

[0139] For example, some communication terminal devices such as servers and cameras that require fixed IP addresses, as well as communication terminal devices that use PPTP or L2TP / IPsec for VPN connection, may have the inconvenience of certain functions being unavailable due to the IPoE mechanism, so PPPoE can be selected as the initial setting.

[0140] Second embodiment

[0141] Figure 7 is a schematic diagram showing the structure of a network relay device 100a according to the second embodiment. Figure 8 Schematic diagram showing the connection path selection process in the network relay device 100a of the second embodiment. The network connection method, MAC address / device correspondence table 55, and model-specific path selection list 57 are the same as those of the network relay device 100 of the first embodiment.

[0142] (Structure of Network Relay Device 100a)

[0143] Figure 7 The network relay device 100 a of the second embodiment described above is different from the network relay device 100 of the first embodiment in that a communication type specifying unit 65 and a communication specific path selection list 59 are added to the connection path selection unit 50 .

[0144] For example, when the communication terminal device 110 is a game console, in network games, even if it is the same game console, there are games that fail and games that do not fail when communicating via IPv4 over IPv6. This is because the types of communication used in network games are different. Therefore, by making the network relay device 100 have a function of identifying the type of communication, the connection function can be selected according to the game type rather than according to the game console unit.

[0145] The network relay device 100 a of the second embodiment includes a communication type specifying unit 65 in the connection path selecting unit 50 , and identifies the type of communication transmitted from the communication terminal device 110 as a transmission source.

[0146] Furthermore, in the case of a game machine, etc., a communication specific path selection list 59 recording the type of communication that failed when communicating via IPv4 over IPv6 is used to determine whether the type of communication identified is the communication that failed, and if it is the communication that failed, a PPPoE connection path is selected. When identifying the type of communication, parameters for determining the priority of a packet in QoS (Quality of Service) control by a router, such as a TCP / UDP port number or a TOS (Type of Service) field in an IPv4 header, etc., can be referenced.

[0147] In addition, from the perspective of the accuracy and speed of connection path selection, when selecting a connection path, first determine in the model-specific path selection list 57 whether the model needs to be connected via PPPoE based on the type of communication. Based on the type of communication, it is best to activate the function of identifying the type of communication only for the communication terminal device 110 that needs to be connected via PPPoE.

[0148] Furthermore, when the user selects a path in the model specific path selection list 57 , the path selected by the user may be connected in priority to the path selected by the communication type designation section 65 .

[0149] (Flowchart of connection path selection)

[0150] Figure 8 A flowchart showing connection path selection in the network relay device 100 a according to the second embodiment. Figure 8 The flowchart is relative to Figure 4 Flowchart of , adding steps S13-S15, the other steps are the same as Figure 4 The flowchart is the same as

[0151] In the first embodiment, in the case of a device where the IPv4 over IPv6 connection fails in step S4, the PPPoE connection path is selected, but in the second embodiment, even if it is determined in step S4 that the device fails, it is further determined whether it is a device that fails in all communications (step S13). For example, a network camera with a fixed IP address is required to correspond to a device that fails in all communications. On the other hand, in a network game console, depending on the type of communication, sometimes no failure occurs, so it is determined that it is not a device that fails in all communications. Then, in the case of a device that fails in all communications, the PPPoE connection path is selected (step S5).

[0152] If it is determined that the device does not fail in all communications, the communication type specifying section 65 specifies the type of communication (step S14).

[0153] If the designated communication type is a communication in which a failure occurs in IPv4 over IPv6, the PPPoE connection path is selected, and if not, the IPv4 over IPv6 connection path is selected (step S15).

[0154] In the present invention, the communication terminal device 110 is equivalent to the "communication terminal device", the network relay devices 100 and 100a are equivalent to the "network relay device", the PPPoE server 130 is equivalent to the "PPPoE server", the IPv4 Internet 120 is equivalent to the "IPv4 Internet", the PPPoE connection unit 15 is equivalent to the "PPPoE connection unit", the IPv4over IPv6 tunnel 140 is equivalent to the "IPv4overIPv6 tunnel", the first router 150 is equivalent to the "first router", the IPv4overIPv6 connection unit 20 is equivalent to the "IPv4overIPv6 connection unit", the connection path selection unit 50 is equivalent to the "connection path selection unit", the communication type designation unit 65 is equivalent to the "communication type designation unit", the IPv6 connection unit 25 is equivalent to the "IPv6 connection unit", the second router 170 is equivalent to the "second router", the IPv6 closed network 180 is equivalent to the "IPv6 closed network", the VNE 190 is equivalent to the "network with VNE", and the IPv6 Internet 160 is equivalent to the "IPv6 Internet".

[0155] A preferred embodiment of the present invention is as described above, but the present invention is not limited thereto. It should be understood that various embodiments that do not deviate from the spirit and scope of the present invention can also be made. In addition, in this embodiment, the effects and effects of the structure of the present invention are described, but these effects and effects are an example and are not intended to limit the present invention.

Claims

1. A network relay device that relays between a communication terminal device equipped with an IPv4 communication interface and the IPv4 Internet. It is characterized in that have: A PPPoE connection unit is connected to the IPv4 Internet via a PPPoE server. an IPv4overIPv6 connection unit connected to a first router via an IPv4overIPv6 tunnel, and connected to the IPv4 Internet via the first router, A connection path selection unit, which determines a connection path to the IPv4 Internet; wherein the connection path selection unit selects the connection path through PBR; in the PBR, the connection path is selected through the MAC address or SSID of the communication terminal device of the transmission source; The network relay device also has a correspondence table between the MAC address and the model name of the communication terminal device, The connection path is selected based on the model name or the SSID of the communication terminal device determined from the MAC address using the correspondence table.

2. The network relay device according to claim 1, It is characterized in that further comprising a model-specific path selection list for setting a relationship between the model name or the SSID of the communication terminal device and the connection path, The connection path is selected based on the model name or the SSID and the model-specific path selection list.

3. The network relay device according to claim 2, It is characterized in that The correspondence between the model name or the SSID in the model-specific path selection list and the selected connection path is set by the user of the communication terminal device.

4. The network relay device according to claim 2, It is characterized in that further comprising a communication type specifying unit that specifies the type of communication sent from the communication terminal device, The selection of the connection path is selected based on the model name and the type of the communication.

5. The network relay device according to claim 1, It is characterized in that It also has an IPv6 connection unit, and is connected to the communication terminal device having an IPv6 communication interface, and is connected to the IPv6 Internet via a second router of the ISP or a network having an IPv6 closed network and a VNE.

6. The network relay device according to claim 1, It is characterized in that The communication terminal device includes at least one of a personal computer, a smart phone, a game console, a network camera, an Internet of Things appliance, and a network server. The communication terminal device that needs a fixed IP address and the communication terminal device that performs VPN connection through PPTP or L2TP / IPsec selects the connection path of the PPPoE.

7. A connection path selection method for a network relay device, the network relay device relaying between a communication terminal device having an IPv4 communication interface and the IPv4 Internet, It is characterized in that The network relay device comprises: a PPPoE connection unit connected to the IPv4 Internet via a PPPoE server, an IPv4over IPv6 connection unit connected to a first router via an IPv4 over IPv6 tunnel, and connected to the IPv4 Internet via the first router; The connection path selection method has the following steps: A MAC address extraction step of extracting a MAC address of the communication terminal device as a transmission source; a communication terminal device specifying step of specifying a model name of the communication terminal device using the MAC address; A model-specific connection path determination step, determining whether a connection to the specified model name can be made via IPv4 over IPv6; In the connection path selection process, if the connection can be made via IPv4overIPv6, the connection is made via IPv4overIPv6; if there is a possibility of failure in the IPv4overIPv6 connection, the connection is made via PPPoE.

8. The connection path selection method according to claim 7, It is characterized in that The connection path selection method further comprises a communication type specifying step of specifying the type of communication transmitted from the communication terminal device. The model-specific connection path determination step determines whether or not a connection can be made via IPv4 over IPv6 based on the model name of the communication terminal device and the type of the communication sent from the communication terminal device.