Bi-directional HTTP-based reliable messaging protocol and system utilizing same
First Claim
1. A method of bi-directionally communicating between an application residing on a first processor on a private computer network and an application residing on a second processor not on the private computer network in order to allow for the delivery of unsolicited messages to be received from the second processor, the communication path including a public computer network and a proxy server coupled to the private computer network and separating the private computer network from the public computer network, the method comprising:
- transmitting a first HTTP-based “
request”
from the first processor to the second processor for establishing a first communication channel between the first processor and the second processor through the proxy server to allow the transfer of first messages from the first processor to the second processor, and the delivery of first message delivery acknowledgments from the second processor to the first processor;
transmitting a first parked HTTP-based “
request”
from the first processor to be parked at the second processor for establishing a persistent communication channel between the first processor and the second processor through the proxy server to allow the transfer of second messages from the second processor to the first processor, and the delivery of second message delivery acknowledgments from the first processor to the second processor, and wherein the first parked HTTP-based “
request”
includes therein a request that the second processor transmit a reply after the expiration of a time period even if there are no messages to send to the first processor so that the first processor can assess a status of the connection thereto;
receiving a first HTTP-based “
reply”
from the second processor to the first processor in response to the first parked HTTP-based “
request”
; and
in response to receiving the first HTTP-based “
reply”
, transmitting a second parked HTTP-based “
request”
via the proxy to the second processor, the second parked HTTP “
request”
including an acknowledgment to the first HTTP-based “
reply”
in order to maintain the persistent HTTP-based connection between the first processor and the second processor through the proxy server, and wherein the second parked HTTP-based “
request”
includes therein a request that the second processor transmit a reply after the expiration of a time period even if there are no messages to send to the first processor in order to ensure persistent connectivity between the first and second processor.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and protocol for enabling bi-directional HTTP-based reliable messaging through a Web proxy server via the Internet is presented. The client processor residing on the private computer network side of the Web proxy establishes two virtual channels with a server. One of the channels is used for outgoing messages from the client to the server, and message delivery acknowledgments. The other channel is used for incoming messages from the server to the client, and message delivery acknowledgments. This incoming channel is established and maintained by the client through the Web proxy server so that the client has full control over the channel. The establishment is accomplished by the transmission of an HTTP-based “request” to the server. The server does not respond until and unless it has a message to be transmitted to the client. Once such a message is generated, the server generates an HTTP-based “reply” to this request, and transmits it to the client via the Web proxy server. The client then sends another HTTP-based request to the server with the message acknowledgment included therein. The client may request that the server reply to the request after some period of time to allow the client to assess the health of the connection and avoid connection time out disconnections by the Web proxy server. This period may be fixed or may be dynamically adjusted.
73 Citations
18 Claims
-
1. A method of bi-directionally communicating between an application residing on a first processor on a private computer network and an application residing on a second processor not on the private computer network in order to allow for the delivery of unsolicited messages to be received from the second processor, the communication path including a public computer network and a proxy server coupled to the private computer network and separating the private computer network from the public computer network, the method comprising:
-
transmitting a first HTTP-based “
request”
from the first processor to the second processor for establishing a first communication channel between the first processor and the second processor through the proxy server to allow the transfer of first messages from the first processor to the second processor, and the delivery of first message delivery acknowledgments from the second processor to the first processor;transmitting a first parked HTTP-based “
request”
from the first processor to be parked at the second processor for establishing a persistent communication channel between the first processor and the second processor through the proxy server to allow the transfer of second messages from the second processor to the first processor, and the delivery of second message delivery acknowledgments from the first processor to the second processor, and wherein the first parked HTTP-based “
request”
includes therein a request that the second processor transmit a reply after the expiration of a time period even if there are no messages to send to the first processor so that the first processor can assess a status of the connection thereto;receiving a first HTTP-based “
reply”
from the second processor to the first processor in response to the first parked HTTP-based “
request”
; andin response to receiving the first HTTP-based “
reply”
, transmitting a second parked HTTP-based “
request”
via the proxy to the second processor, the second parked HTTP “
request”
including an acknowledgment to the first HTTP-based “
reply”
in order to maintain the persistent HTTP-based connection between the first processor and the second processor through the proxy server, and wherein the second parked HTTP-based “
request”
includes therein a request that the second processor transmit a reply after the expiration of a time period even if there are no messages to send to the first processor in order to ensure persistent connectivity between the first and second processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of enabling transmission of unsolicited messages from a server to a client by ensuring that a persistent connection between the server and the client does not time out, wherein the client resides on a private computer network having a proxy server between the private computer network and a public computer network, and wherein the server transmits the unsolicited messages over the public computer network, the method comprising:
-
selecting by a client a connection time out period used in order to determine a time duration in which the client is to receive a “
reply”
message from a server in order to ensure persistent connectivity between the client and the server;allowing the client to include the connection time out period in a parked HTTP-based “
request”
sent from the client to be parked at the server for requesting an HTTP-based “
reply”
from the server after the expiration of the connection time out period even if there are no messages to send to the client in order to avoid connection termination by the proxy server due to communication inactivity; andtransmitting the parked HTTP-based “
request”
to the server via the proxy server to open a persistent connection therewith. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A method of transmitting unsolicited HTTP-based messages via a public computer network to a client residing on a private computer network, the private computer network including a proxy server, the method comprising:
-
receiving an HTTP-based “
request”
originating from the client through the proxy server, wherein the HTTP-based “
request”
includes a first connection time out period used in order to determine a time duration in which the client is to receive a “
reply”
message in order to ensure persistent connectivity between the client and a server; andparking the HTTP-based “
request”
without responding thereto unless a message is generated that needs to be transmitted to the client or unless the first connection time out period expires, the parking of the HTTP-based “
request”
establishing a persistent connection from the client through the proxy server; andwhen the message is generated or the first connection time out period expires, generating an HTTP-based “
reply”
to the HTTP-based “
request”
parked for the client, the HTTP-based “
reply”
containing the message therein;transmitting the HTTP-based “
reply”
;receiving a second HTTP-based “
request”
including a message acknowledgment from the client through the proxy server acknowledging the receipt of the HTTP-based “
reply” and
also including a second connection time out period; andparking the second HTTP-based request without responding thereto unless a message is generated that needs to be transmitted to the client or unless the second connection time out period expires, the parking the second HTTP-based request maintaining the persistent connection from the client through the proxy server. - View Dependent Claims (17, 18)
-
Specification