Communication device
First Claim
1. A communication device comprising:
- a network interface for communicating with a data processing device via a communication line, the data processing device including one or more client applications that execute communications by using multisession communication;
a processor coupled to the network interface; and
a memory storing computer-readable instructions that, when executed by the processor, cause the communication device to perform;
establishing a session with a specific client application among the one or more client applications via the communication line;
receiving an HTTP request from the specific client application via the established session; and
transmitting an HTTP response to the specific client application via the established session,the HTTP response being a response to the HTTP request received in the receiving,the HTTP response including an HTTP header containing first information,the first information being information for causing the data processing device to retain the established session even after transmitting of the HTTP response ends and to use the retained session in a second request and subsequent requests, andthe first information being information corresponding to Keep-Alive in accordance with an HTTP standard,wherein the transmitting the HTTP response includes;
rewriting the first information in a case where the communication line used to receive the HTTP request is a Universal Serial Bus (USB),the rewritten first information being information for causing the data processing device to disconnect the established session after transmitting the HTTP response to the specific client application via the established session,the rewritten first information being information corresponding to Close in accordance with the HTTP standard; and
not rewriting the first information in a case where the communication line used to receive the HTTP request is a line that is not the Universal Serial Bus and is capable of the multisession communication.
1 Assignment
0 Petitions
Accused Products
Abstract
A communication device may communicate with a data processing device via a communication line. The data processing device may include client applications configured to execute communications by using multisession communication. The communication device may establish a session with a specific client application among the client applications via the communication line, and receive an HTTP request from the specific client application. The communication device may transmit an HTTP response to the specific client application via the established session. The transmission may include transmitting first disconnection instruction information to the data processing device in a case where the communication line used to receive the HTTP request is a line that is not capable of the multisession communication. The first disconnection instruction information may be information for causing the data processing device to disconnect the established session after transmitting the HTTP response.
28 Citations
16 Claims
-
1. A communication device comprising:
-
a network interface for communicating with a data processing device via a communication line, the data processing device including one or more client applications that execute communications by using multisession communication; a processor coupled to the network interface; and a memory storing computer-readable instructions that, when executed by the processor, cause the communication device to perform; establishing a session with a specific client application among the one or more client applications via the communication line; receiving an HTTP request from the specific client application via the established session; and transmitting an HTTP response to the specific client application via the established session, the HTTP response being a response to the HTTP request received in the receiving, the HTTP response including an HTTP header containing first information, the first information being information for causing the data processing device to retain the established session even after transmitting of the HTTP response ends and to use the retained session in a second request and subsequent requests, and the first information being information corresponding to Keep-Alive in accordance with an HTTP standard, wherein the transmitting the HTTP response includes; rewriting the first information in a case where the communication line used to receive the HTTP request is a Universal Serial Bus (USB), the rewritten first information being information for causing the data processing device to disconnect the established session after transmitting the HTTP response to the specific client application via the established session, the rewritten first information being information corresponding to Close in accordance with the HTTP standard; and not rewriting the first information in a case where the communication line used to receive the HTTP request is a line that is not the Universal Serial Bus and is capable of the multisession communication. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium storing computer-readable instructions for a communication device,
the communication device comprising: -
a network interface for communicating with a data processing device via a communication line, the data processing device including one or more client applications that execute communications by using multisession communication; a processor coupled to the network interface; and a memory, wherein the computer-readable instructions, when executed by the processor, cause the communication device to perform; establishing a session with a specific client application among the one or more client applications via the communication line; receiving an HTTP request from the specific client application via the established session; and transmitting an HTTP response to the specific client application via the established session, the HTTP response being a response to the HTTP request received in the receiving, the HTTP response including an HTTP header containing first information, the first information being information for causing the data processing device to retain the established session even after transmitting of the HTTP response ends and to use the retained session in a second request and subsequent requests, and the first information being information corresponding to Keep-Alive in accordance with an HTTP standard, wherein the transmitting the HTTP response includes; rewriting the first information in a case where the communication line used to receive the HTTP request is a Universal Serial Bus (USB), the rewritten first information being information for causing the data processing device to disconnect the established session after transmitting the HTTP response to the specific client application via the established session, the rewritten first information being information corresponding to Close in accordance with the HTTP standard; and not rewriting the first information in a case where the communication line used to receive the HTTP request is a line that is not the Universal Serial Bus and is capable of the multisession communication. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification