×

System and method for passing messages to a web browser

  • US 7,984,113 B2
  • Filed: 09/08/2004
  • Issued: 07/19/2011
  • Est. Priority Date: 09/08/2004
  • Status: Active Grant
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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×