System and method for passing messages to a web browser
First Claim
Patent Images
1. A computer-implemented method for passing messages to a Web browser, comprising:
- receiving one or more messages at a backend system comprising backend controller and a storage queue, to be delivered to a Web browser session on a frontend system comprising a frontend controller, wherein the one or more messages are received at the backend controller and stored in the storage queue;
providing notification by the backend controller of the backend system across a computer network to the Web browser session on the frontend system of the receipt of the one or more messages by changing a stored value in a server cache at the backend system by the backend controller, wherein the notification to the Web browser session is effected via a polling mechanism by the frontend controller in which the Web browser session monitors via HTTP requests sent over an HTTP connection formed for requesting the stored value, wherein the change in the stored value indicates that one or more messages are waiting to be delivered;
receiving, by the frontend controller, the stored value from the backend controller based on the HTTP requests sent over the HTTP connection;
determining by the frontend controller that the returned value has changed from a value returned in a previous polling cycle;
in response to the determination that the returned value has changed, creating an HTTP request by declaring at the frontend controller an iframe to transfer the messages referred to in the notification, wherein the HTTP request contains a form including data fields with instructions instructing the backend controller regarding delivery of the messages;
receiving at the backend controller of the backend system the HTTP request including the form from the Web browser session on the frontend system for the one or more messages in response to the provided notification, the HTTP request received across a computer network via an HTTP connection opened by the Web browser session on the frontend system by the frontend controller, wherein the form is dynamically created in a document object of the declared iframe with the instructions appended to the form in data fields of the form;
reading the data fields of the form to retrieve the instructions for delivering the one or more messages by reading posted data fields and deserializing the instructions; and
delivering the one or more messages from the backend system according to the instructions to the Web browser session on the frontend system via the HTTP connection in response to the HTTP request.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for passing messages to a Web browser. According to one embodiment, a controller receives one or more messages to be delivered to a Web browser session, provides notification to the Web browser session of the receipt of the one or more messages, receives a request by the Web browser session for the one or more messages in response to the notification, the request received via a connection opened by the Web browser session, and delivers the one or more messages to the Web browser session via the connection in response to the request.
-
Citations
22 Claims
-
1. A computer-implemented method for passing messages to a Web browser, comprising:
-
receiving one or more messages at a backend system comprising backend controller and a storage queue, to be delivered to a Web browser session on a frontend system comprising a frontend controller, wherein the one or more messages are received at the backend controller and stored in the storage queue; providing notification by the backend controller of the backend system across a computer network to the Web browser session on the frontend system of the receipt of the one or more messages by changing a stored value in a server cache at the backend system by the backend controller, wherein the notification to the Web browser session is effected via a polling mechanism by the frontend controller in which the Web browser session monitors via HTTP requests sent over an HTTP connection formed for requesting the stored value, wherein the change in the stored value indicates that one or more messages are waiting to be delivered; receiving, by the frontend controller, the stored value from the backend controller based on the HTTP requests sent over the HTTP connection; determining by the frontend controller that the returned value has changed from a value returned in a previous polling cycle; in response to the determination that the returned value has changed, creating an HTTP request by declaring at the frontend controller an iframe to transfer the messages referred to in the notification, wherein the HTTP request contains a form including data fields with instructions instructing the backend controller regarding delivery of the messages; receiving at the backend controller of the backend system the HTTP request including the form from the Web browser session on the frontend system for the one or more messages in response to the provided notification, the HTTP request received across a computer network via an HTTP connection opened by the Web browser session on the frontend system by the frontend controller, wherein the form is dynamically created in a document object of the declared iframe with the instructions appended to the form in data fields of the form; reading the data fields of the form to retrieve the instructions for delivering the one or more messages by reading posted data fields and deserializing the instructions; and delivering the one or more messages from the backend system according to the instructions to the Web browser session on the frontend system via the HTTP connection in response to the HTTP request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 17, 20)
-
-
8. An apparatus for passing messages to a Web browser, comprising:
-
a processor operating on a backend system, the backend system comprising a backend controller and a storage queue; and a memory, coupled to the processor, storing instructions to be executed by the processor to; receive one or more messages to be delivered to a Web browser session on a frontend system, the frontend system comprising a frontend controller; store the one or more received messages in the storage queue; provide notification across a computer network to the Web browser session of the receipt of the one or more messages by changing a stored value in a server cache at the backend system by the backend controller, wherein the notification to the Web browser session is effected via a polling mechanism by the frontend controller in which the Web browser session monitors via HTTP requests sent over an HTTP connection formed for requesting the stored value , wherein the change in the stored value indicates that one or more messages are waiting to be delivered; transmit the stored value from the server cache based on an HTTP request sent over an HTTP connection; in response to a determination by the frontend controller that the returned value has changed from a value returned in a previous polling cycle, receive at the processor a HTTP request having a form including data fields with instructions regarding delivery of the messages from the Web browser session on the frontend system for the one or more messages in response to the provided notification, the request received across a computer network via the HTTP connection opened by the Web browser session, wherein the form is dynamically created in a document object of a declared iframe with the instructions appended to the form in data fields of the form; open the form to obtain the instructions regarding delivery of the message; read the data fields of the opened form to retrieve the instructions for delivering the one or more messages by reading posted data fields and deserializing the instructions; and deliver the one or more messages to the Web browser session on the frontend system via the HTTP connection in response to the request. - View Dependent Claims (9, 10, 11, 18, 21)
-
-
12. A system for passing messages to a Web browser, comprising:
-
a backend system that receives one or more messages to be delivered to a Web browser session on a frontend system, the backend system comprising a backend controller and a storage queue, and the frontend system comprising a frontend controller; a database that stores a value; means for providing notification across a computer network to the Web browser session of the receipt of the one or more messages by changing the stored value in a server cache at the backend system by the backend controller, wherein the notification to the Web browser session is effected via polling mechanism by the frontend controller in which the Web browser session continually monitors via HTTP requests sent over an HTTP connection formed for requesting the stored value, wherein the change in the stored value indicates that one or more messages are waiting to be delivered; means for storing the one or more received messages in the storage queue; means for receiving the stored value from the backend controller based on an HTTP request sent over an HTTP connection; means for determining that the returned value has changed from a value returned in a previous polling cycle; in response to a determination by the determining means that the returned value has changed from a value returned in a previous polling cycle, means for receiving, executing on the backend system, that receives an HTTP request having a form including data fields with instructions regarding delivery of the messages by the Web browser session for the one or more messages in response to the provided notification, the request received across a computer network via an HTTP connection opened by the Web browser session, wherein the form is dynamically created in a document object of a declared iframe with the instructions appended to the form in data fields of the form; means for opening the form to obtain the instructions regarding delivery of the message; means for reading data fields of the opened form to retrieve the instructions for delivering the one or more messages by reading posted data fields and deserializing the instructions; and means for delivering the one or more messages to the Web browser session via the HTTP connection in response to the request. - View Dependent Claims (13, 14, 15)
-
-
16. A computer-implemented method for passing messages to a Web browser, comprising:
-
receiving by a first server, including a first controller and a storage queue, one or more messages to be delivered to a Web browser session executing on a second server including a second controller, wherein the one or more messages are received by the first controller and stored in the storage queue; providing notification by the first server across a computer network to the Web browser session of the receipt of the one or more messages by changing a stored value in a server cache on the first server, wherein the notification to the Web browser session is effected via a polling mechanism by the second controller in which the Web browser session continually monitors via HTTP requests sent over an HTTP connection formed for requesting the stored value, wherein the change in the stored value indicates that one or more messages are waiting to be delivered; receiving, by the second controller, the stored value from the backend controller based on the HTTP requests sent over the HTTP connection; determining, by the second controller, that the returned value has changed from a value returned in a previous polling cycle; in response to the determination that the returned value has changed, creating an HTTP request by declaring at the frontend controller an iframe to transfer the messages referred to in the notification, wherein the HTTP request contains a form including data fields with instructions instructing the first controller regarding delivery of the messages, wherein the form is dynamically created in a document object of a declared iframe with the instructions appended to the form in data fields of the form; receiving at the first controller the HTTP request including the form by the Web browser session for the one or more messages in response to the provided notification, the HTTP request received across a computer network via an HTTP connection opened by the Web browser session; reading the data fields of the form to retrieve the instructions for delivering the one or more messages by reading posted data fields and deserializing the instructions; and delivering the one or more messages to the Web browser session via the HTTP connection in response to the HTTP request. - View Dependent Claims (19, 22)
-
Specification