摘要 |
PROBLEM TO BE SOLVED: To achieve switching of a communication path without making a user terminal recognize existence of a relay device and switching of a service path and without substantially changing a network.SOLUTION: A relay device transfers data between a terminal and a server. The relay device communicates with the terminal by using TCP connection established in a first network, and communicates with the server by using TCP connection established on one communication path included in a second network. The relay device comprises: a TCP management unit for managing packets transmitted and received using TCP connection; a determination unit for determining whether the communication path in the second network should be switched or not on the basis of an analysis result of a request packet; a request transmission unit for establishing new TCP connection on a new communication path and for transmitting a request packet to the server; and a data relay unit for transferring a packet to the terminal by using the new TCP connection. |