Patent ID: 9110611
Filing Date: 2015-08-18
Classification: G06F

Abstract:
1. A non-transitory computer-readable medium storing a communication relay program including instructions that, when executed by a processor, cause an information processing apparatus connected to an image processing apparatus via a communication interface to: receive a processing request from a client application, wherein the client application performs multi-session communication; in response to a request for establishment of a session by the client application, establish a session between the communication relay program and the client application, the established session being a first session; after the first session has been established, determine whether communication through the first session is prohibited; wait to communicate through the first session in a case where the communication through the first session is prohibited, until communication through the first session is permitted; perform an exclusive communication process during the first session in which communication through a second session other than the first session is prohibited in a case where the communication through the first session is permitted; determine whether a notification of termination of communication has been received from the client application while the processing request is being received from the client application; in a case where reception of the processing request from the client application is completed without receiving the notification of termination of communication from the client application, transmit the processing request received from the client application to the image processing apparatus through the first session in a state in which communication through the second session other than the first session is prohibited; in a case where communication between the client application and the image processing apparatus through the first session is completed without receiving the notification of termination of communication from the client application, permit communication through the second session other than the first session; and in a case where the notification of termination of communication has been received from the client application while the processing request is being received from the client application for the first session, cancel transmission of the processing request received from the client application to the image processing apparatus for the first session and permit communication through the second session other than the first session.