Method for client-server communications through a minimal interface
AssigneeYahoo! Inc.
InventorPaul Graham
Life of this patent
Estimating the term…
Abstract
The concept of a subroutine call is one of the basic ideas in computer science. The invention relates to a technique for achieving the effect of subroutine calls in certain situations where they would not otherwise be possible. The invention allows for the simulation of subroutine calls in applications where the interaction with a client is reduced to successive iterations in which the application sends the client a set of keys, and the client chooses one of the keys and sends it back to the application (i.e., a minimal interface). In one implementation, the invention is used to simulate subroutine calls in an application running on a Web server and communicating with the client through successive Web pages.
Claims10
A method for communicating between a client and a server through a limited communication interface, the method comprising:
- providing continuation functions associated with each of a plurality of links, wherein a continuation function includes a reference to a continuation argument representing a remaining sequence of instructions for subsequent execution;
- sending the plurality of links through the limited communication interface from the server to the client;
- sending a selected one of the plurality of links from the client to the server;
- and
- executing the continuation function associated with the selected link in the server including executing the remaining sequence of instructions.
A method for communicating between a plurality of clients and a web server through a limited communication interface, the method comprising:
- providing continuation functions associated with each of a plurality of links, wherein a continuation function includes a reference to a continuation argument representing a remaining sequence of instructions for subsequent execution;
- sending the plurality of links through the limited communications interface from the server to the plurality of clients;
- sending a selected one of the plurality of links from one of the plurality of clients to the server;
- and
- executing the continuation function associated with the selected link in the server including executing the remaining sequence of instructions.
Dependencies are inferred from the claim text.