Patent ID: 8830508

Claim:
A relay device that communicates with an external apparatus via a network, and mediates between an information processing apparatus which executes job processing according to an operation on an operation screen provided by the external apparatus and the external apparatus, the information processing apparatus including a display control unit configured to display the operation screen on a display section, and a job processing unit configured to execute the job processing, the relay device comprising: a transmission and reception unit configured to receive a request corresponding to an operation on the operation screen from the information processing apparatus, transmit the received request to the external apparatus, and receive a response to the request from the external apparatus; a determination unit configured to determine to which of the display control unit and the job processing unit the response is to be transmitted according to a content of the response; and a transmission unit configured to transmit the response to one of the display control unit and the job processing unit according to a result of the determination by said determination unit.