The present invention relates to electronic spreadsheets, and particularly to spreadsheets applied to processing continuous data streams.
The superior ease-of-use characteristics of electronic spreadsheets are well-known, especially in the field of office automation. The use of electronic spreadsheets in other fields is also known, although in the past, certain computer applications have been unable to take full advantage of the spreadsheet metaphor. One reason for this is that a large class of computer applications require algorithms that operate over time-based intervals of a continuous data stream, and conventional spreadsheets provide no intrinsic support for continuous data processing over more than one processing interval.
An electronic spreadsheet is, essentially, a means of graphically representing a set of expressions as a grid of cells. Each cell in the spreadsheet grid represents a parenthetical expression that can, in turn, be a function of some number of other cellular expressions.
A spreadsheet program updates its grid, as necessary, to maintain the programmed relationship between cellular expressions. Electronic spreadsheets are intended to provide immediate response to any modifications of the programmed expressions. However, in conventional electronic spreadsheets, cellular expressions have no means for accessing previously evaluated results from prior processing intervals. Absent this capability, it is impossible for a conventional spreadsheet to process a continuous data stream of incoming data on a time-based interval of a duration greater than one processing interval.
Although methods for implementing algorithms that operate on continuous data streams are well-known in computer programming, no methods are known for implementing this class of processing within the context of an electronic spreadsheet.
The invention provides an electronic spreadsheet adapted for programming the processing of continuous data streams. The invention also provides means and methods that, to a high degree, preserve the fundamental characteristics of conventional electronic spreadsheets. The invention also provides means and methods, which are uncomplicated and intuitive to use.
These benefits and features are accomplished by extending the spreadsheet paradigm to include apparatuses and methods of clocked data buffering, such as by using shift registers, delay lines, FIFOs, pipelines, and even random access memory. The use of shift registers is preferred because shift registers do not require addressing. Delay lines objects are instantiated (memory is allocated for each delay line object) and assigned to spreadsheet cells (each allocated memory is associated with the coordinates of a cell). A delay line object includes a data buffer configured as a variable length shift register, and a method for clocking data through the buffer. In a preferred embodiment, input data streams supply the clocking signals, and “tap functions” support random access of elements, and other analysis over the buffered interval.
The invention extends the conventional electronic spreadsheet paradigm to include the processing of continuous data streams on finite intervals.
The invention will be more fully understood from the following detailed description, in conjunction with the following figures, wherein:
Referring to
Cell B1 contains an external input function “INPUT(1)”. The input function “INPUT(1)” accesses a data source “1” external to the spreadsheet. In this example, we assume that cell B1 updates periodically as a function of some unspecified external event, e.g., in response to data on the lines of a parallel port whenever a line is toggled, or in response to a pixel value at specified coordinates in an image at a particular time.
Cell B2 contains an instance of a delay line object, and is parameterized with four parameters: the input data stream (B1*B1), the clock source (B1), the number of elements in the shift register (3), and the clock divider (1).
Referring to
Referring to
In the example of
Cells B3, B4, and B5 access the delay line instantiated in B2 to return the values of all three elements in the delay line data buffer. The tap function TAP(B2,0) in cell B3 accesses the last data item to be input to the delay line in cell B2. The tap functions TAP(B2,1) and TAP(B2,2) in cells B4 and B5, respectively, access data that was input on the previous two clock cycles 1 and 2.
Cell B6 completes the processing by referencing B3, B4, and B5 in a computation of the square root of the sum of the three values B3, B4, and B5 returned from the delay line's buffer.
{1.00,2.00,3.00,4.00,5.00,6.00}:
At time (T-3) cells B3, B4 and B5 display the values 9.00, 4.00, and 1.00, respectively, resulting from the squaring of the first three input data elements 3.00, 2.00, and 1.00;
At time (T-2) the value 16.00, the square of the input data value B1=4.00 (B1*B1), shifts into the delay line;
At time (T-1) the value 25.00, the square of the input data value B1=5.00 (B1*B1) shifts into the delay line; and
At time (T-0) the value 36.00, the square of the input data value B1=6.00 (B1*B1) shifts into the delay line.
For every cycle, the square root of the sum of the delay line contents (Mag) is computed by the expression assigned to cell B6: (B6=SQRT(B3+B4+B5)).
The input function INPUT(1) receives data from an external source and updates the value assigned to B1. The delay line object in B2 (B2=DELAY(B1*B1,B1,3,1) is clocked by the input function, and a new value is shifted into the data buffer upon each new input. The three tap functions TAP(B2,0Y, TAP(B2,1),and TAP(B2,2) are dependent on the contents of the delay line B2, and update in an unspecified order. Finally, the expression in B6 (SQRT(B3+B4+B5)) is dependent on B3, B4, and B5, and is evaluated, the result being assigned to B6. At this point, all dependencies have been satisfied, and the contents of the spreadsheet remain unchanged until the next input event occurs.
In the forgoing example, the delay line expression in B2 behaves in a way very different from a conventional spreadsheet expression. First, the delay line is not a function; rather, it is an object instance, i.e., there is data storage (memory) allocated. Delay line class objects combine data storage with a member function that implements the shift register, for example.
Second, unlike a conventional spreadsheet expression that is evaluated only as necessary to update the spreadsheet, according to the invention, the evaluation of the delay line member function is executed only upon triggering by a clock signal. The value of the input to the delay line member function does not need to change to force the evaluation of the delay line member function. The state of the source data argument is irrelevant; the shift register action can only be activated by a signal from a valid clock source, such as the input function in the example.
Referring to
The delay line object 30 also includes a plurality of parameters 40, as detailed in
Other modifications and implementations will occur to those skilled in the art without departing from the spirit and the scope of the invention as claimed. Accordingly, the above description is not intended to limit the invention except as indicated in the following claims.
This is a continuation of application Ser. No. 09/370,808, filed Aug. 9, 1999, now U.S. Pat. No. 6,490,600 B1.
Number | Name | Date | Kind |
---|---|---|---|
4689765 | Hooper | Aug 1987 | A |
5021973 | Hernandez et al. | Jun 1991 | A |
5121499 | McCaskill et al. | Jun 1992 | A |
5226118 | Baker et al. | Jul 1993 | A |
5252951 | Tannenbaum | Oct 1993 | A |
5410649 | Gove | Apr 1995 | A |
5455903 | Jolissaint et al. | Oct 1995 | A |
5481620 | Vaidyananthan | Jan 1996 | A |
5546525 | Wolf et al. | Aug 1996 | A |
5574930 | Halverson, Jr. et al. | Nov 1996 | A |
5633998 | Schlafly | May 1997 | A |
5721847 | Johnson | Feb 1998 | A |
5765037 | Morrison et al. | Jun 1998 | A |
5768158 | Adler et al. | Jun 1998 | A |
5774878 | Marshall | Jun 1998 | A |
5794020 | Tanaka et al. | Aug 1998 | A |
5815152 | Collier et al. | Sep 1998 | A |
5843128 | Wexler | Dec 1998 | A |
5883623 | Cseri | Mar 1999 | A |
5893128 | Nauckhoff | Apr 1999 | A |
5896301 | Barrientos | Apr 1999 | A |
5903472 | Barrientos | May 1999 | A |
5910895 | Proskauer et al. | Jun 1999 | A |
5910899 | Barrientos | Jun 1999 | A |
5915257 | Gartung et al. | Jun 1999 | A |
5926822 | Garman | Jul 1999 | A |
5933638 | Cencik | Aug 1999 | A |
5961831 | Lee et al. | Oct 1999 | A |
6032157 | Tamano et al. | Feb 2000 | A |
6078747 | Jewitt | Jun 2000 | A |
6138130 | Adler et al. | Oct 2000 | A |
6170051 | Dowling | Jan 2001 | B1 |
6199078 | Brittan et al. | Mar 2001 | B1 |
6298474 | Blowers et al. | Oct 2001 | B1 |
6360188 | Freidman et al. | Mar 2002 | B1 |
6366284 | McDonald | Apr 2002 | B1 |
6442538 | Nojima | Aug 2002 | B1 |
6490600 | McGarry | Dec 2002 | B1 |
6631497 | Jamshidi et al. | Oct 2003 | B1 |
Number | Date | Country | |
---|---|---|---|
Parent | 09370808 | Aug 1999 | US |
Child | 10244208 | US |