Bi-directional HTTP-based reliable messaging protocol and system utilizing same
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.
Latest Microsoft Patents:
This invention relates generally to messaging protocols for application-to-application messaging over distributed computer networks, and more particularly to bi-directional, HTTP-based messaging protocols enabling asynchronous messaging over both private and public computer networks such as the Internet.
BACKGROUND OF THE INVENTIONEnterprise messaging systems enable computer programs to exchange information. These applications may be distributed among various computers located within a particular physical location, or distributed across an enterprise computer network at disparate physical locations. These computers may be coupled through a Large Area Network (LAN), a Wide Area Network (WAN), etc. The enterprise messaging systems that enable such communication, such as Microsoft's Message Queuing (MSMQ) assume that senders and receivers are symmetrical in their messaging capabilities, and that there is seamless direct connectivity between the sending and the receiving applications. Such communication utilizes a peer-to-peer communication model that allows either peer to generate and transmit messages to the other peer.
As computer networks expand, and as business-to-business (B2B) e-commerce continues to grow, the need for messaging between computers located on separate private networks across the Internet becomes more and more important. Unfortunately, many private computer networks are protected from the public Internet by a firewall or proxy system. Typically, web proxies mandate the use of the Hyper-Text Transfer Protocol (HTTP) as an enabling protocol on top of which higher-level protocols may be built. Because web proxies mandate the use of HTTP as enabling protocol, they create a setting in which the sender and receiver do not have the same, or symmetrical, capabilities. Specifically, in the HTTP protocol environment, the Internet-deployed party cannot directly, and without assistance, send messages to the party within the corporate firewall. As a result, this changes the communication model from a peer-to-peer communication model to a client-server communication model. As such, the “server” is unable to communicate directly with the “client” unless and until the “client” has initiated a communication session through the web proxy or firewall. With this limitation on the client-server communication model dictated by the HTTP protocol, true peer-to-peer messaging is no longer possible.
By design, HTTP is a request-response protocol in which data exchanges are initiated by a web client. This is true for both direct client-to-server connections as well as for indirect connections facilitated by a web proxy server. HTTP requires that the web client send a request to the web server, and that the web server reply to the client. When a web proxy is utilized to isolate the public Internet from the private intranet or other private computer network, HTTP requires that the client send a request to the web proxy, which then forwards the request to the web server. In reply, the web server sends the web proxy a response to this forwarded request. It is then the web proxy that relays this server response to the client. Because of this web proxy limitation mandating the use of HTTP, communication protocols built on top of HTTP do not allow a web server to send unsolicited data to a client. In this context, unsolicited refers to data that is not sent as a reply to a client's request for information.
One system that has been devised to overcome the HTTP client-server model communications problem for messaging is known as polling. Under this polling system, the “client” processor periodically and frequently sends out an HTTP request for messages as illustrated in the timeline of
A protocol that does allow for a “server-push” model of communication whereby the server may provide unsolicited data to a client residing on the private side of a web proxy is known as the Real Time Trading Protocol (RTTP). This protocol is utilized to provide real-time stock quotes and other real-time financial information over the Internet. However, the RTTP protocol does not provide for bi-directional communication between the client and server, but instead merely provides updated information for display at the client location. RTTP utilizes a technology known as smart tunneling and secure tunneling to penetrate the network web proxy firewall. RTTP may tunnel through a web proxy because the type of information transmitted is lightweight and can be wrapped within HTTP packets when appropriate. While such may not present a security concern for some networks, many sophisticated corporate firewalls and web proxies may not allow for such tunneling.
In view of the above, there exists a need for a reliable bi-directional HTTP-based message system that will allow distributed computers on opposite sides of web proxies to communicate in a virtual peer-to-peer relationship.
SUMMARY OF THF INVENTIONThe system and method of the instant invention involve an HTTP-based, reliable messaging protocol that enables bi-directional reliable messaging through a Web Proxy Server. As discussed above, HTTP is a request-response protocol in which all data exchanges are initiated by the Web client. This is true for direct client to server connections and indirect connections facilitated by a Web Proxy Server. For direct client to server connections, the HTTP protocol directs that the Web client send a request to the Web server, and that the Web server reply to the client. The Web Proxy Protocol, on the other hand, directs that the client send a request to the web proxy and that the proxy forward the request to the web server. In response, the Web server sends the Web proxy a response to the request, and the Web proxy relays that response to the client. This protocol requirement does not allow a Web server using a communication protocol built on top of HTTP to send unsolicited data to the client. As a result, current messaging protocols require that the client periodically, and with great frequency, transmit requests for messages through the Web proxy to the Web server.
The protocol of the invention solves this problem and enables the sending of bi-directional unsolicited messages through a Web proxy server. The new protocol uses two client-initiated virtual channels to enable this bi-directional messaging. One channel is for client-to-server communication and server message delivery acknowledgments. The other virtual channel is for server-to-client communication and client message delivery acknowledgments.
In a preferred embodiment, 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 is presented. In this embodiment, the communication path includes 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 of this embodiment comprises the establishing of a first communication channel between the two processors through the proxy server to allow the transfer of messages from the first processor to the second processor. This channel also allows the delivery of message delivery acknowledgments from the second processor to the first processor. In accordance with the invention, this method further includes the establishing of a second communication channel between the two processors through the proxy server to allow the transfer of messages from the second processor to the first processor. This second channel also allows the delivery of message delivery acknowledgments from the first processor to the second processor.
A computer-readable medium having computer-executable instructions for performing the above method is also presented in another embodiment of the invention.
In an alternate embodiment of the instant invention, a method of enabling transmission of unsolicited messages from a server to a client is presented. In this embodiment, the client resides on a private computer network and has a proxy server positioned between the private computer network and a public computer network. Further, the server transmits the unsolicited messages over the public computer network. The method of this embodiment comprises the transmitting of an HTTP-based request to the server via the proxy server to open a persistent connection. This HTTP-based request requests a reply from the server only when the server has messages to send to the client.
A computer-readable medium having computer-executable instructions for performing the above method is also presented in another embodiment of the invention.
In a further alternate embodiment, a method of transmitting unsolicited HTTP-based messages via a public computer network to a client residing on a private computer network that includes a proxy server is presented. In this embodiment of the invention, the method comprises the receiving of an HTTP-based request originating from the client through the proxy server, and the parking of the HTTP-based request without responding thereto unless a message is generated that needs to be transmitted to the client. When the message is generated, the method of this embodiment generates an HTTP-based reply to the HTTP-based request parked for the client. This HTTP-based reply contains the message. Finally, the method of the invention transmits the HTTP-based reply.
A computer-readable medium having computer-executable instructions for performing the above method is also presented in another embodiment of the invention.
Additional features and advantages of the invention will be made apparent from the following detailed description of illustrative embodiments which proceeds with reference to the accompanying figures.
While the appended claims set forth the features of the present invention with particularity, the invention, together with its objects and advantages, may be best understood from the following detailed description taken in conjunction with the accompanying drawings of which:
Turning to the drawings, wherein like reference numerals refer to like elements, the invention is illustrated as being implemented in a suitable computing environment. Although not required, the invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a personal computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-held devices, multi-processor systems, microprocessor based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
With reference to
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computer readable media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be another personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the personal computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the personal computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the personal computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
In the description that follows, the invention will be described with reference to acts and symbolic representations of operations that are performed by one or more computer, unless indicated otherwise. As such, it will be understood that such acts and operations, which are at times referred to as being computer-executed, include the manipulation by the processing unit of the computer of electrical signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the memory system of the computer, which reconfigures or otherwise alters the operations of the computer in a manner well understood by those skilled in the art. The data structures where data is maintained are physical locations of the memory that have particular properties defined by the format of the data. However, while the invention is being described in the foregoing context, it is not meant to be limiting as those of skill in the art will appreciate that various of the acts and operation described hereinafter may also be implemented in hardware.
The protocol of the instant invention enables a system, such as that illustrated in
As may be seen from this
When an application 216 on the private-network side of the web proxy server 200 (executing on the client 204) wishes to engage in bi-directional messaging with an application 218 on the public network side of the web proxy server 200 (the server 202), the client 204 opens two virtual channels 208, 210. One channel 208 is established for outgoing traffic, and the other channel 210 is established for incoming traffic. While bi-directional messaging is the common situation, the client 204 may choose to open only the outgoing 208 or incoming 210 channels. In a preferred embodiment, the client 204 has sole responsibility when it comes to establishing and maintaining the connections, including but not limited to the reconnection policy in the channels it wishes to establish. This protects the client 204 from unwanted traffic, and gives the client 204 control of network usage and cost. This is advantageous for users that may have per minute connections fees and who wish to minimize the time that they are connected to the server 202. Those clients may prefer to work in bursts of communication, as opposed to message trickle. Administrators of large networks, on the other hand, may prefer network users to work in a trickle mode, since such a mode gives better network load distribution and helps prevent temporal network congestion resulting from multiple clients initiating burst communication during the same period of time.
The outbound communication channel 208 is intended for client-to-server messaging and server message delivery acknowledgements. This channel 208 uses the HTTP messaging pattern as illustrated in
The inbound communication channel 210 is for server-to-client communication and client message delivery acknowledgements. This channel 210 uses a messaging pattern that is reversed from the normal HTTP communication pattern as illustrated in
During this communication phase 234, the server 202 sends 236 an HTTP “reply” with the message content to the web proxy 200, which will forward 238 the “reply” with the message content to the client 204. This “reply” is in response to the parked “request” previously delivered during the connection setup phase 232, and embodies the message that needs to be sent from the server 202 to the client 204. In response to the receipt of this “reply”, the client 204 will send 240 a delivery acknowledgement as an HTTP “request” (i.e., a second, third, or subsequent HTTP-based “request”) in to the web proxy 200, which will then forward 242 the HTTP “request” with the message acknowledgement to the server 202. This acknowledgement will act as the parked request (i.e., a second, third, or subsequent HTTP-based “request”) to which the server may then respond with the next message whenever the server 202 generates such a message.
Unlike polling systems that only allow the server to send messages at the discrete times of the polling messages, under the protocol of the instant invention the HTTP “request” (i.e. the first, second, third, or subsequent HTTP-based “request”) is parked at the server 202 to enable the server to transmit messages at any point in time that the messages are generated. This significantly increases the efficiency of the message transfer since the messages must no longer be queued at the server 202 to await a polling request before they may be delivered to the client 204. Likewise, the client-generated HTTP message acknowledgement is embodied in a HTTP “request” (i.e., a second, third, or subsequent HTTP-based “request”) that serves to acknowledge that the previous message was successfully delivered, and servers as a parked “request.” This newly parked request once again allows the server 202 to transmit messages to the client 204 as soon as they are generated within the server 202.
Since messaging on the Internet is subject to varying network conditions, connections may be brought down, different networking layers may time out in cases where no data flows through them for prolonged periods of time, servers may become unavailable, etc., all resulting in a loss of the connection. In the event where the client and server connections are severed, it is the responsibility of the client to detect this and to try to reconnect to the server 202. That is, the client 204 is responsible for network state detection and session reconnection. If the connection is lost because the web proxy server 200 times out and closes the connection, the proxy 200 typically sends a connection closure message to the client 204. In such an event, the client 204 merely retransmits an HTTP “request” to the server 202 as illustrated by message transmission 228, 230, establishing the connection setup phase 232 of
While the web proxy 200 typically notifies the client 204 when it severs a connection, other disconnections may not provide such notification. To account for these connection losses, a preferred embodiment of the system and protocol of the instant invention periodically retransmits the HTTP “request” 228, 230 to ensure that the server 202 has a parked “request” to which it may respond whenever messages are generated therein. The time interval for these retransmissions may be established as desired, and may be in the realm of once every one to two minutes, or even as long as five minutes. For non-time-critical systems, this can safely be set to an hour or more. However, recognizing that TCP/IP will hold a connection open for approximately two days, the client 204 has wide latitude on selecting this retransmission interval as desired. These re-transmissions do not significantly increase network traffic because, unlike conventional polling systems, the server 202 does not respond to the “request” unless and until it has a message that it wishes to send to the client 204.
In an alternate embodiment of the system and protocol of the instant invention, the client generated “request” (e.g., a first request) that is sent to and parked at the server may include a request that the server send a reply after a period of time. This will ensure that the client's proxy server 200 will not time out and close the connection due to inactivity on the channel. In response to this “reply,” the client will again send a “request” (e.g., a second request) that will remain parked at the server until it has a message to send, or until the suggested time for transmission of a reply to avoid proxy connection closure, i.e., even if there are no messages to send the client. The time period that the client specifies for this connection maintaining reply may be dynamically adjusted based on the particular proxy 200 employed by the client's system, or may be sent to a discrete value. Setting a discrete value provides some assurance to the client that the connection has not failed for some undetectable reason, such as a TCP/IP drop, etc.
In order to adjust the time for the reply dynamically, the client may first request that a reply not be sent at all, or may include a long time period such as 5 minutes, for example. If the client receives a connection time out closure message from the proxy, the client can then calculate a retransmit period less than the time out period. The client can then use this time in the request that it sends to the server to re-open the connection. If the client receives another connection closure message from the proxy due to a time out, the client may reduce the retransmit period and include this new period in the next request that is transmitted to and parked at the server.
As will be recognized by those skilled in the art from the foregoing discussion, the protocol of the instant invention allows different message interaction patterns, including but not limited to single-sided client messages, single-sided server messages, bi-directional message exchange, and “conversation” (a “conversation” is a series of message exchanges that are related to one another). Further, the protocol of the instant invention does not limit the kind or number of message exchange patterns that can occur concurrently. For example, different conversations may be held between different applications at the same time using the same virtual sessions.
In view of the many possible embodiments to which the principles of this invention may be applied, it should be recognized that the embodiment described herein with respect to the drawing figures is meant to be illustrative only and should not be taken as limiting the scope of invention. For example, those of skill in the art will recognize that the elements of the illustrated embodiment shown in software may be implemented in hardware and vice versa or that the illustrated embodiment can be modified in arrangement and detail without departing from the spirit of the invention. Therefore, the invention as described herein contemplates all such embodiments as may come within the scope of the following claims and equivalents thereof.
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”; 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. The method of claim 1, wherein the first HTTP-based “request” includes at least one of the first messages therein.
3. The method of claim 1, wherein the first HTTP-based “reply” includes at least one of the second messages therein.
4. The method of claim 1, wherein the first processor only receives the first HTTP-based “reply” from the second processor on the persistent communication channel when the second processor has at least one of the second messages to send to the first processor.
5. The method of claim 1, further comprising setting the time period to be less than two days.
6. The method of claim 1, further comprising setting the time period to be approximately five minutes.
7. The method of claim 1, further comprising dynamically adjusting the time period based upon a connection time out closure controlled by the proxy server.
8. A computer-readable storage medium having computer-readable instructions that, when executed by a processor of a computing device, cause the computing device to perform the method of claim 1.
9. The method of claim 7, wherein the dynamically adjusting of the time period comprises:
- receiving a connection time out closure message from the proxy server;
- determining a first time between transmitting the second HTTP-based “request” and receiving a connection time out closure message from the proxy server; and
- calculating a new time period to be less than the first time and less than the time period.
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; and
- transmitting the parked HTTP-based “request” to the server via the proxy server to open a persistent connection therewith.
11. The method of claim 10, further comprising dynamically adjusting the connection time out period to avoid connection termination by the proxy server due to communication inactivity.
12. The method of claim 10, further comprising:
- receiving a connection time out closure message from the proxy server indicating that the proxy server has closed the persistent connection;
- calculating a connection time out period from the transmitting of the parked HTTP-based “request” to the receiving of the connection time out closure message; and
- transmitting a second parked HTTP-based “request” to the server via the proxy server to open a persistent connection therewith, the second parked HTTP-based “request” requesting a reply from the server when the server has messages to send to the client and after the expiration of the connection time out period if there are no messages to send to the client.
13. A computer-readable storage medium having computer-readable instructions that when executed by a processor of a computing device, cause the computing device to perform the method of claim 10.
14. The method of claim 11, wherein the step of dynamically adjusting the connection time out period comprises:
- receiving a connection time out closure message from the proxy server;
- upon receiving the time out closure message from the proxy server, calculating a new time period from the transmitting of the HTTP-based “request” to the receiving of the connection time out closure message;
- reducing the connection time out period to be less than the new time period and less than a current value of the connection time out period in order to create a new connection time out period;
- including the new connection time out period in a second parked HTTP-based “request” for requesting an HTTP-based “reply” from the server after the expiration of the new 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; and
- transmitting the second parked HTTP-based “request” to the server via the proxy server to maintain the persistent connection therewith.
15. The method of claim 12, further comprising:
- receiving a second connection time out closure message from the proxy server;
- reducing the connection time out period to form a new connection time out period shorter in duration than the connection time out period; and
- transmitting a third parked HTTP-based “request” to the server via the proxy server to open a persistent connection therewith, the third parked HTTP-based “request” requesting a reply from the server when the server has messages to send to the client and after the expiration of the new connection time out period if there are no messages to send to the client.
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; and
- parking 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; and
- when 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; and
- parking 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.
17. The method of claim 16, wherein the second connection time out period is different than the first connection time out period.
18. A computer-readable storage medium having computer-executable instructions that when executed by a processor of a computing device, cause the computing device to perform the method of claim 16.
5805804 | September 8, 1998 | Laursen et al. |
5941988 | August 24, 1999 | Bhagwat et al. |
6104716 | August 15, 2000 | Crichton et al. |
6119167 | September 12, 2000 | Boyle et al. |
6154465 | November 28, 2000 | Pickett |
6161130 | December 12, 2000 | Horvitz et al. |
6212565 | April 3, 2001 | Gupta |
6298045 | October 2, 2001 | Pang et al. |
6330561 | December 11, 2001 | Cohen et al. |
6360270 | March 19, 2002 | Cherkasova et al. |
6374300 | April 16, 2002 | Masters |
6389462 | May 14, 2002 | Cohen et al. |
6411986 | June 25, 2002 | Susai et al. |
6415027 | July 2, 2002 | Malik |
6457054 | September 24, 2002 | Bakshi |
6473437 | October 29, 2002 | Stumer |
6477150 | November 5, 2002 | Maggenti et al. |
6519646 | February 11, 2003 | Gupta et al. |
6546425 | April 8, 2003 | Hanson et al. |
6557038 | April 29, 2003 | Becker et al. |
6584321 | June 24, 2003 | Coan et al. |
6606645 | August 12, 2003 | Cohen et al. |
6631416 | October 7, 2003 | Bendinelli et al. |
6640241 | October 28, 2003 | Ozzie et al. |
6650621 | November 18, 2003 | Maki-Kullas |
6697847 | February 24, 2004 | Iwata |
6721288 | April 13, 2004 | King et al. |
6725272 | April 20, 2004 | Susai et al. |
6789119 | September 7, 2004 | Zhu et al. |
6910063 | June 21, 2005 | Ramanathan et al. |
6959327 | October 25, 2005 | Vogl et al. |
7062570 | June 13, 2006 | Hong et al. |
7120692 | October 10, 2006 | Hesselink et al. |
20010048683 | December 6, 2001 | Allan et al. |
20020016839 | February 7, 2002 | Smith et al. |
20020046294 | April 18, 2002 | Brodsky et al. |
20030137938 | July 24, 2003 | Belanger et al. |
20030208600 | November 6, 2003 | Cousins |
20030219029 | November 27, 2003 | Pickett |
- BEA, “BEA WebLogic Server 5.1: Setting up WebLogic as an HTTP server”, Feb. 23, 2000, BEA Systems, Inc., 28 pages.
- BEA, “BEA WebLogic Server 5.1: Setting WebLogic properties”, Feb. 23, 2000, BEA Systems, Inc., 47 pages.
- Cohn et al. , “Prefetching the Means for Document Transfer: A New Approach for Reducing Web Latency”, 2000 IEEE, pp. 854-863.
- Cohen et al., “Improving Enf-to-End Performance of the Web Using Server Volumes and Proxy Filters”, 1999ACM, pp. 241-253.
- Barford et al., “A Performance Evaluation of Hyper text Transfer Protocols”, 1999 ACM, pp. 188-197.
- Gettys et al., “HTTP Connection Management (draft-ietf-http-connection-00.txt) (fwd)”, Mar. 1997, 15 pages.
- Mogul Jeffrey, “The Case Persistent-Connection HTTP”, 1995 ACM, pp. 299-313.
- Gruber et al., “Protocol Considerations for a Prefix-Caching Proxy for Multimedia Streams”, AT&T Labs Research, 15 pages.
- Davison et al., “Implementing A Web Proxy Evaluation Architecture”, Lehigh University, 12 pages.
- Anderson et al., “Improving Web Availability for Clients with MONET”, Carnegie Mellon University, 14 pages.
- TIB/Rendezvous, World-class Messaging for e-Business Infrastructures, TIBCO Software, Palo Alto, CA, Copyright 2000, 2 pages.
- Message Queuing (MSMQ) Start Page at http://msdn.microsoft.com/library/psdk/msmg/msmg—overview—4ilh.htm (last visited Jul. 14, 2000), 2 pages.
- MQSeries: Message Oriented Middleware at http://www-4.com/software/ts/mqseries/library/whitepapers/mqover/ (last visited Jul. 13, 2000), 6 pages.
- RTTP White Paper, An Introduction to a Standard Internet Protocol for Streaming Market Data Citynet, 7 pages.
- High-Quality Netcasting Seen on the Horizon, Multimedia Monitor (Phillips Business Information), Mar. 1997, at 15, 3.
- Fielding, R., et al., “Hypertext Transfer Protocol—HTTP/1.1”, Network Working Group, RFC 2616, Jun. 1999, pp. 1-165.
Type: Grant
Filed: Oct 2, 2000
Date of Patent: Jul 14, 2009
Assignee: Microsoft Corporation (Redmond, WA)
Inventor: Shy Cohen (Bellevue, WA)
Primary Examiner: Andrew Caldwell
Assistant Examiner: Grant Ford
Attorney: Workman Nydegger
Application Number: 09/676,924
International Classification: G06F 15/16 (20060101);