Patent ID: 8271582

Claim:
A relay device that is connected to a client device and a server via a network and functions as a relay between the client device and the server, the relay device comprising: a first communication unit that receives, from the client device via the network, a request including processing object data to be processed and destination information indicating the server; a data processing unit that obtains a first processing result by performing a relay-device-side process of equivalent algorithm to that of a server-side process, on the processing object data, the server-side process being performed on the processing object data by the server; a second communication unit that transmits the request to the server, and receives a second processing result from the server as a response to the request, the second processing result corresponding to the first processing result and being obtained by performance of the server-side process on the processing object data; and a control unit that determines whether the second processing result has been transmitted to the client device, wherein when it is determined that the second processing result has not been transmitted to the client device, the first communication unit transmits the first processing result of the relay-device-side process performed on the processing object data by the data processing unit of the relay device, as the response to the client device.