Information processing apparatus, system, information processing method, and program
Abstract
To improve convenience in use of a web service in a secure communication environment, an information processing apparatus includes a conversion unit configured to convert a communication request according to a first format into a communication request according to a second format, a request transmission unit configured to transmit the communication request according to the second format that is converted by the conversion unit, a response reception unit configured to receive a communication response according to the second format returned in response to the communication request according to the second format transmitted by the request transmission unit, and an acquisition unit configured to acquire a communication response according to the first format converted from the communication response according to the second format received by the response reception unit as a response to the communication request according to the first format.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . An information processing apparatus comprising:
a conversion unit configured to convert a communication request according to a first format into a communication request according to a second format; a request transmission unit configured to transmit the communication request according to the second format; a response reception unit configured to receive a communication response according to the second format that is returned in response to the communication request according to the second format; and an acquisition unit configured to acquire a communication response according to the first format that is converted from the received communication response according to the second format, as a response to the communication request according to the first format.
2 . The information processing apparatus according to claim 1 , wherein the conversion unit is configured to add identification information to the communication request according to the first format to thereby convert the communication request according to the first format into the communication request according to the second format, and
wherein the acquisition unit is configured to acquire the communication response according to the first format as the response to the communication request according to the first format, in a case where identification information added to the communication response according to the first format matches the identification information added to the communication request according to the first format.
3 . The information processing apparatus according to claim 1 , wherein the response reception unit is configured to receive the communication response according to the second format that is identified based on address information notified in response to the transmitted communication request according to the second format.
4 . The information processing apparatus according to claim 1 , wherein the request transmission unit is configured to transmit the communication request according to the second format to another information processing apparatus via a server apparatus, and
wherein the response reception unit is configured to receive the communication response according to the second format from the other information processing apparatus via the server apparatus.
5 . An information processing apparatus comprising:
a request reception unit configured to receive a communication request according to a second format that has been converted from a communication request according to a first format; a first conversion unit configured to convert the received communication request according to the second format into the communication request according to the first format; a second conversion unit configured to convert a communication response according to the first format that is a response to the communication request according to the first format into a communication response according to the second format; and a response transmission unit configured to transmit the communication response according to the second format as a response to the communication request according to the second format.
6 . The information processing apparatus according to claim 5 , wherein the request reception unit is configured to receive the communication request according to the second format that has been converted by adding identification information to the communication request according to the first format, and
wherein the second conversion unit is configured to add the identification information added to the communication request according to the first format to the communication response according to the first format, to thereby convert the communication response according to the first format into the communication response according to the second format.
7 . The information processing apparatus according to claim 5 , wherein the request reception unit is configured to receive the communication request according to the second format that has been converted by adding address information to the communication request according to the first format, and
wherein the response transmission unit is configured to transmit the communication response according to the second format as the response to the communication request according to the second format based on the address information.
8 . The information processing apparatus according to claim 5 , wherein the request reception unit is configured to receive the communication request according to the second format from another information processing apparatus via a server apparatus, and
wherein the response transmission unit is configured to transmit the communication response according to the second format to the other information processing apparatus via the server apparatus.
9 . The information processing apparatus according to claim 5 , wherein the information processing apparatus is an image forming apparatus.
10 . The information processing apparatus according to claim 1 , wherein the first format is a communication format regarding HTTP, and
wherein the second format is a communication format regarding HTTP based on a URI scheme.
11 . The information processing apparatus according to claim 5 , wherein the first format is a communication format regarding HTTP, and
wherein the second format is a communication format regarding HTTP based on a URI scheme.
12 . A system comprising:
a first information processing apparatus; a second information processing apparatus; and a server apparatus, wherein the first information processing apparatus includes: a conversion unit configured to convert a communication request according to a first format into a communication request according to a second format, a request transmission unit configured to transmit to the server apparatus the communication request according to the second format that is converted by the conversion unit, a response reception unit configured to receive from the server apparatus a communication response according to the second format that is returned from the second information processing apparatus in response to the communication request according to the second format that is transmitted by the request transmission unit, and an acquisition unit configured to acquire a communication response according to the first format that is a response to the communication request according to the first format based on the communication response according to the second format that is received by the response reception unit, and wherein the second information processing apparatus includes: a request reception unit configured to receive from the server apparatus the communication request according to the second format that is transmitted from the first information processing apparatus to the server apparatus, a first conversion unit configured to convert the communication request according to the second format that is received by the request reception unit into the communication request according to the first format, a second conversion unit configured to convert the communication response according to the first format that is the response to the communication request according to the first format that is converted by the first conversion unit into the communication response according to the second format, and a response transmission unit configured to transmit to the server apparatus the communication response according to the second format that is converted by the second conversion unit.
13 . An information processing method performed by an information processing apparatus, comprising:
converting a communication request according to a first format into a communication request according to a second format; transmitting the communication request according to the converted second format; receiving a communication response according to the second format that is returned in response to the transmitted communication request according to the second format; and acquiring a communication response according to the first format that is converted from the received communication response according to the second format, as a response to the communication request according to the first format.
14 . An information processing method performed by an information processing apparatus, comprising:
receiving a communication request according to a second format that is converted from a communication request according to a first format; converting the received communication request according to the second format into the communication request according to the first format as a first conversion; converting a communication response according to the first format that is a response to the communication request according to the first format into a communication response according to the second format as a second conversion; and transmitting the communication response according to the second format as a response to the communication request according to the second format.
15 . A computer-readable storage medium storing a program for causing a computer to perform the information processing method according to claim 13 .
16 . A computer-readable storage medium storing a program for causing a computer to perform the information processing method according to claim 14 .Join the waitlist — get patent alerts
Track US2015271292A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.