Controlling a Device Using Tabular Data
20180007142 · 2018-01-04
Inventors
Cpc classification
H04L67/125
ELECTRICITY
H04L12/2827
ELECTRICITY
International classification
H04L12/28
ELECTRICITY
H04W4/00
ELECTRICITY
Abstract
A device controllable via tabular data and a computer-implemented method for interactively performing operations on tabular data. The method comprises providing an input array, an operations array, and an output array, wherein each array includes at least one cell, receiving, in the operations array, a first reference to a cell of the input array, receiving tabular data from an input source, and performing operations on multiple rows of the tabular data. The operations comprise inserting one of the rows of the tabular data into the input array, determining a value of a second cell of the operations array based on the referenced cell of the input array, and storing one of the following in a cell of the output array: the determined value of the operations array and a value of the referenced cell of the input array.
Claims
1. A device controllable via tabular data, the device comprising: a timer for generating events at a predetermined time; a sensor for generating events upon detection of specified changes in the device or in an environment of the device; a computing unit comprising: a memory for storing an input array, an operations array, and an output array, wherein each array includes at least one cell; a receiver for: receiving the operations array, the operations array including a first reference to a cell of the input array, and receiving tabular data from an input source; a processor configured to carry out the following: perform operations on multiple rows of the tabular data, wherein at least one of the rows of the tabular data was produced in response to an event generated by the sensor or the timer, the operations comprising: inserting one of the rows of the tabular data into the input array, determining a value of a second cell of the operations array based on the referenced cell of the input array, and storing one of the following in a cell of the output array: the determined value of the operations array, and a value of the referenced cell of the input array; and copy the output array to an output destination.
2. The device of claim 1, wherein the device is a household appliance, such as a refrigerator.
3. A computer-implemented method for interactively performing operations on tabular data, comprising: providing an input array, an operations array, and an output array, wherein each array includes at least one cell; receiving, in the operations array, a first reference to a cell of the input array; receiving tabular data from an input source; performing operations on multiple rows of the tabular data, the operations comprising: inserting one of the rows of the tabular data into the input array, determining a value of a second cell of the operations array based on the referenced cell of the input array; storing one of the following in a cell of the output array: the determined value of the operations array, and a value of the referenced cell of the input array; displaying the output array; and copying the output array to an output destination.
4. The method of claim 3, wherein the input source is a device, a file, a data stream, a file on the device, or a data stream received from the device.
5. The method of claim 3, further comprising recalculating the operations array after the inserting of one of the rows of the tabular data into the input array, wherein the recalculation comprises: the determination of the value of the second cell of the operations array based on the referenced cell of the input array; the storage of the determined value in the cell of the output array; the display of the output array; and copying of the output array to an output list.
6. The method of claim 3, wherein the first input is a formula referring to the referenced cell of the input array.
7. The method of claim 6, wherein the value of the second cell of the operations array is determined by: copying the value of the referenced cell to the first cell of the operations array, wherein the second cell in the operations array includes another formula specifying a calculation that refers to the first cell of the operations array, wherein the determined value is the result of applying the calculation to the copied value, and wherein the calculation includes at least one of the following: an arithmetic operation, a relational operation, and a function.
8. The method of claim 6, further comprising at least one of the following: displaying the content of each cell in the operations array before performing the operations, wherein displaying the content includes displaying each formula in the operations array, and displaying the values of each cell in the operations array after determining the value of the second cell of the operations array, wherein displaying the values comprises evaluating each formula in the operations array and displaying the results of the evaluations.
9. The method of claim 3, wherein the insertion of one of the rows of tabular data into the input array triggers the determination of the value of the second cell of the operations array, wherein the insertion of one of the rows of tabular data into the input array triggers evaluation of each cell in the operations array, and wherein the multiple rows of tabular data consist of all the rows of tabular data in the input source.
10. The method of claim 3: wherein performing the operations on the rows of tabular data comprises triggering recalculation of a further operations array from the operations array, wherein the recalculation of the further operations array comprises: performing operations according to a formula received in the further operations array on a single row of tabular data received from a further input source in a further input array, or performing operations according to a formula received in the further operations array on multiple rows of tabular data received from the further input source in the further input array, wherein the further operations array includes a reference to a cell of the operations array, wherein the cell contains a value, and wherein the value is copied to the further operations array during the recalculation.
11. The method of claim 3, wherein one or more of the following applies: each array includes multiple cells, each array includes a row and a column, the operations array includes multiple rows, each of the cells of the input array, the operations array, and the output array is addressable by any cell of the operations array, and each of the cells of the operations array is a placeholder for a value or a formula.
12. The method of claim 3, wherein inserting one of the rows of tabular data into the input array further comprises: when an existing row of the tabular data is in the input array, removing the existing row of tabular data from the input array before inserting the row of tabular data into the input array, or when a predetermined number of rows of tabular data are in the input array, removing one of the rows in the input array before inserting the row of tabular data into the input array.
13. The method of claim 3, wherein the input source is a device, the method further comprising: generating, by the device, an event, wherein a row of the tabular data inserted into the input array was produced in response to the event, and wherein each row of the tabular data may have been produced in response to events generated by the device.
14. The method of claim 13, wherein the event is generated in response to detection of a change in the device, a change in the environment of the device, or the occurrence of a specified time, and wherein the change comprises one of the following: a door of the device being opened, the door of the device being closed, an item being removed from the device, an item being added to the device, and an item being placed in the device.
15. A computer program product comprising computer-readable instructions, which, when loaded and executed on a computer system, cause the computer system to perform operations according to the method of claim 3.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
[0118] The present invention is described in detail below with reference to the attached drawing figures, wherein:
[0119]
[0120]
[0121]
[0122]
[0123]
[0124]
[0125]
[0126]
[0127]
[0128]
[0129]
[0130]
[0131]
[0132]
[0133]
[0134]
[0135]
[0136]
[0137]
[0138]
[0139]
[0140]
[0141]
[0142]
[0143]
[0144]
[0145]
[0146]
[0147]
[0148]
[0149]
[0150]
[0151]
[0152]
[0153]
[0154]
[0155]
[0156]
[0157]
[0158]
[0159]
[0160]
[0161]
[0162]
[0163]
[0164]
[0165]
[0166]
[0167]
[0168]
[0169]
[0170]
[0171]
[0172]
[0173]
[0174]
[0175]
[0176]
[0177]
[0178]
[0179]
[0180]
[0181]
[0182]
[0183]
DETAILED DESCRIPTION OF THE INVENTION
[0184] In the following text, a detailed description of examples will be given with reference to the drawings. It should be understood that various modifications to the examples may be made. In particular, one or more elements of one example may be combined and used in other examples to form new examples.
[0185] In some figures, a value view (i.e., a display of cell values) and a content view (display of cell formulas) are mixed in the interest of clarity and conciseness. Such a mixed view might not reflect what is actually displayed to a user.
[0186]
[0187] A second exemplary list 103 shows tabular data displayed in rows and columns and identified by a list name. In the second example 103, the list name is “sample”. The tabular data may be received from the input source as rows of delimited values. In particular, the tabular data may be received in the form of a set of comma separated values (CSV). For example, the tabular data may be received as a sample.csv file 105.
[0188] In addition, the tabular data may be received as a list 107 in XML format.
[0189]
[0190]
[0191] Tabular data may also be sent or distributed using other protocols suitable for transferring data between devices or processes, particularly Internet protocols such as hypertext transfer protocol (HTIP), file transfer protocol (FTP), rsync, secure shell (ssh), and secure copy (scp).
[0192]
[0193] The machine 401 may be a device or a process executing on a device. For example, the machine 401 may be a process executing on an electronic device, such as a household or office device.
[0194] The transactor 407 may perform processing of the machine 401. In particular, the transactor 407 may perform operations on multiple rows of tabular data received from the input source. The machine address 405 may be a unique address of the machine 401. The machine address 405 may be used to send or receive a list. The machine address 405 may function in much the same way that an email address functions. In particular, when a list is sent to the machine 401 via the machine address 405 the list may be added to the inbox 403. The inbox 403 may function like a queue.
[0195]
[0196]
[0197]
[0198]
[0199]
[0200]
[0201] The transactor 407 performs processing in the machine 401. The machine 401 can contain only the transactor 407 or multiple transactors. If there are multiple transactors in the machine 401, they may be attached to each other and interact with each other. Attaching transactors may be understood as providing a reference in one transactor to another transactor.
[0202] The input array 1001, the operations array 1003, and the output array 1005 each include at least one cell. In the example of
[0203] In order to perform operations on tabular data received from the input source, a row of the tabular data may be inserted into the input array 1001. After being received from the input source, the tabular data may first be stored in the inbox 403 before a row of the tabular data is inserted into the input array 1001. Functionality connected to the input array 1001 may read cells of the tabular data upon which operations are to be performed. Accordingly, the input array 1001 exposes values of a row of tabular data received from the input source to the operations array 1003 and the output array 1005.
[0204] The operations array 1003 is able to perform operations on cells in the input array 1001. In particular, the operations array 1003 is able to process and transpose values of cells in the input array 1001. The output array 1005 is connected to functionality that copies values from the cells of the output array 1005 to an output list and an output destination. Copying the output array to an output destination may include copying the output array to the output list and sending the output list to the output destination.
[0205] For example, the output array is connected to functionality that is able to write values from the output array 1005 back to a list currently being processed by the transactor 407. Accordingly, the input source may be the same as the output destination. Once the output list is complete, the output list may be sent back to the input source. Accordingly, values in a row of the tabular data received from the input source can be changed and result in a change of the tabular data at the input source. Further, new rows can be added to the received tabular data or inserted among rows of the received tabular data. In addition, rows can be deleted from the received tabular data, the additions, insertions, and deletions also resulting in changes to the tabular data at the input source.
[0206] The input array 1001, the operations array 1003, and the output array 1005 can each store tabular data. Further, tabular data in the input array 1001, the operations array 1003, and the output array 1005 can be displayed. In the example of
[0207] Each cell of the input array 1001, the operations array 1003, and the output array 1005 can be referenced via its cell ordinates. Each of the arrays may be labeled. For example, the input array 1001 is labelled “IN.” The operations array 1003 is labelled “T1.” The output array 1005 is labelled “OUT.”
[0208] Accordingly, cells in the input array 1001 can be referenced via the expression “=IN!” followed by the cell ordinates of the cell being referenced. For example, “=IN!A1” would reference the left-most cell of the input array 1001. Input received in the operations array 1003 can reference other cells of the operations array simply by referring to the cell ordinates. For example, “=A2” refers to row 2 column A of the operations array 1003. A reference to cell A2 of the operations array 1003 from a further operations array would need to include the name of the operations array 1003 before the ordinates of the cell. For example, since the operations array 1003 is identified with the label “T1,” cell A2 could be referred to from the further operations array with the reference “=T1 !A2.”
[0209] In the example of
[0210]
[0211]
[0212] For example, in order to process all lists with list names starting with “0010,” then the List Name Filter of the transactor settings 1201 should be set to “0010*.” If the processor should only process lists with list names “001” to “009,” then the List Name Filter of the transactor settings 1201 should be set to “00?” Other wild cards and regular expressions may also be used to specify list names of lists to be processed. If the transactor 407 should not accept lists from the inbox 403, then the List Name Filter of the transactor settings 1201 should be left blank.
[0213] An “Auto Execute” setting of the transactor settings 1201 determines whether the transactor 407 automatically starts processing when new lists arrive in the inbox 403 of the transactor 407. The Auto Execute setting may also control operation of other transactors in addition to the transactor 407.
[0214]
[0215]
[0216] The operations array 1003 may have the following functionality. Each cell of the operations array 1003 may be capable of storing a value and content. The value and the content of a cell may be identical, e.g., when the content of the cell is a number value or a string value. The value of each cell in the operations array 1003 may be initially set to empty, i.e., null. The content of each cell in the operations array 1003 may be a number value, a string value, another type of value, or a formula. Other types of content are also possible.
[0217] It may be possible for a user to display the value or the content of a cell in the operations array 1003. For example, when performing operations on tabular data, the operations array 1003 may typically display values of cells. When receiving input (e.g., a reference to a cell of the input array 1001), the operations array 1003 may typically display cell content (e.g., references and formulas). It may be possible for a user to switch between the display of values and content (e.g., by processing a combination of keys) in the operations array 1003 as desired.
[0218] Formulas may start with an “=” sign and may contain values, functions, mathematical operators, brackets, and cell references. Formulas may also start with a different symbol. Each cell in the operations array 1003 may be referable (i.e., addressable) by any other cell in the operations array 1003, even from itself. For example, the cell “A3” in the operations array 1003 may refer to the cell “A3” in the operations array 1003.
[0219] A recalculation cycle may be performed on the operations array 1003. Performing the recalculation cycle may include determining a value of a second cell in the operations array 1003 based on a referenced cell of the input array 1001 (e.g., deriving the value of the second cell by means of a calculation including the value of the referenced cell). Performing the recalculation cycle may also include storing the determined value in a cell of the output array 1005. Performing the recalculation cycle may further include displaying the output array 1005, e.g., so the user can verify an intermediate result.
[0220] Performing the recalculation cycle may also include copying the output array 1005 to an output destination, e.g., by copying the output array 1005 to an output list and then sending the output list to the output destination when performance of operations is finished. Performing the recalculation cycle may also include calculating the values of other cells in the operations array 1003. In particular, performing the recalculation cycle may include calculating the value of all cells in the operations array 1003 one after the other in a row-by-row order. Performing the recalculation cycle may be carried out by recalculating cells in left-to-right order.
[0221] In one example provided in
[0222] During recalculation, if a cell of the operations array 1003 has a numerical value, a string value, or something other than a formula as content, then the value of the cell is set to this value. If the cell of the operations array 1003 has formula content, then the formula is evaluated and the result of evaluating the formula is stored as the cell value of the cell. Row 1413 of the operations array 1003 shows four cells, each having a formula as cell content. Row 1415 of the operations array 1003 shows the corresponding values for the formulas in row 1413.
[0223] The operations array 1003 may be capable of processing a variety of functions. Each of these functions may be contained within a formula. An example of a function that can be processed by the operations array 1003 is the IF( ) function. The IF( ) function may have the following syntax “=IF(condition, then-expression, else-expression).”
[0224] Other exemplary functions that can be processed within the operations array 1003 are string functions, mathematical functions, statistical functions, and financial functions. Other types of functions are also possible. In particular, any function that excepts numerical or string input and returns a value may be received as input in the operations array and processed accordingly.
[0225] Recalculation of the operations array 1003 may be triggered by inserting a row of tabular data into the input array 1001. In particular, recalculation of the operations array 1003 may be triggered after inserting a first row of tabular data from the input source into the input array and again after insertion of each subsequent row of tabular data from the input source into the input array 1001 Accordingly, the operations array 1003 may be recalculated one time for each row of tabular data received from the input source. For example, for the list 1301 shown in
[0226]
[0227] A row 1505 of tabular data from the list 1501 is inserted into the input array 1001. A row 1507 shows the result of applying the formulas in the row 1503 of the operations array 1003 to the row of tabular data 1505 in the input array 1001. The values in the row 1507 may be determined as a result of performing a first recalculation of the operations array 1003.
[0228] A second row 1509 of the tabular data in the list 1501 is inserted into the input array 1001. Applying the formulas in the row 1503 results in values shown in row 1511. Recalculation of the operations array 1003 can also be triggered by a function in a cell of another operations array. In particular an execute function in a cell of another operations array can trigger recalculation of the operations array 1003.
[0229]
[0230] The copy function may be used to copy values from a source range of the operations array 1003 to a target range of cells in another array. The copying may be carried out between arrays on the same machine. A copy action carried out by the copy function may be performed when the operations array 1003 is recalculated. If the copy function is embedded in an IF function, then the copy function will only execute when the corresponding IF condition is TRUE. In the example, the values “454” and “100” are copied from cells C1 and 01 to cells A5 and 85. Accordingly, the copy function as shown in
[0231]
[0232] In some cases, the copy function may be used to copy cells from the operations array 1003 to the output array 1005 resulting in updated data for the row of tabular data currently being processed. According to the example, values that the copy function stores in the output array 1005 are written back to the output destination. When the output destination is the same as the input source, then the copy function results in the copying of values back to the input source.
[0233]
[0234]
[0235] According to one example, the eject function may have an optional argument to assign a new name to the list that is ejected. If this argument is omitted, the name of the list that is ejected stays unchanged. A second possible optional argument of the eject function is the name of the target machine to send a list to after it is ejected. It is also possible to send the list to the same transactor that it was ejected from.
[0236]
[0237] Via the execute function, it is possible that a primary transactor triggers the processing of all rows in a secondary transactor one time for each row in the primary transactor. Alternatively, the execute function can enable the processing of two lists in parallel with a primary transactor triggering processing of a single row of tabular data by a secondary transactor for each row in the list being processed by the primary transactor. The latter option is shown in the example depicted in
[0238] In some cases, the execute function may have three arguments. A first argument may identify a transactor for execution. In the example of
[0239]
[0240] Steps S2107, S2109, and S2111 show an alternative way to use the execute function to trigger recalculation of a further operations array from a first operations array. In particular, at step S2107, an operations array 2154 of a transactor 2150 triggers recalculation of an operations array 2156 of a transactor 21 As shown in steps S2109 and S2111, once recalculation of the operations array 2156 is triggered, the transactor 2152 processes all rows of tabular data from its input source before processing of tabular data by the transactor 2150 resumes. This processing can be triggered by calling the execute function with the argument “all.” When triggering recalculation of a further operations array from the operations array 1003 or the operations array 2154, a further input source may be selected. The further input source may be a machine. For example, the further input source may be specified as a third argument for the execute function. Other mechanisms for specifying the further input source are also possible.
[0241] The third argument for the execute function may specify a name or a list to be selected from the inbox 403. If a list having the specified name is in the inbox 403, then operations are performed on multiple rows of tabular data in the list, e.g., according to input received in the further operations array. If the specified list is not in the inbox 403, then execution may be stopped until the list arrives in the inbox 403. Other mechanisms for specifying the further input source can also be used. If a specific list is not specified for processing by the further operations array (e.g., the operations array 2001), then a list matching a List Name Filter specified in the transactor settings 1201 may be selected from the inbox 403. In particular, the first list in the inbox 403 matching the filter criteria specified in the transactor settings 1201 may be selected.
[0242]
[0243]
[0244] The add function includes a first argument specifying a row of the operations array 1003 and a second argument specifying a row of the output array 1005. By means of the add function, a row is first inserted into the output destination, and then the values in the cells of the operations array 1003 specified in the first argument of the add function are copied to the cells of the output array 1005 specified in the second argument of the add function. The add function differs from the copy function in that the add function causes a new row to be added to the output destination before writing the row in the output array 1005 to the output destination. In contrast, the copy function causes a row of the tabular data to be overwritten by the row in the output array 1005. The add function can also be used to cause data to be copied to the output destination even if an empty set of tabular data is received from the input source.
[0245]
[0246] Step S2452 shows values of the operations array 2001 after three recalculation cycles. The output array 2401 shows a further row of values to be copied to the output destination. At this stage, two rows have already been copied to the output destination.
[0247]
[0248]
[0249] In particular, a function in the operations array 1003 triggers recalculation of the further operations array 2001. In this example, the function is the execute function and it is called with an identifier of the operations array 2001 as an argument. Recalculation of the operations array 2001 will be triggered for each row of tabular data inserted into the input array 1001. Upon the completion of performance of operations on tabular data from the input source supplying tabular data to the transactor 407 and an input source supplying tabular data to the transactor 2005, the same number of rows will be provided to the output destination of the transactor 407 as are provided to the output destination of the transactor 2005. However, because the operations array 1003 has different formulas than the operations array 2001, different values will be sent to the output destination of the transactor 407 in comparison to the values sent to the output destination of the transactor 2005.
[0250]
[0251]
[0252]
[0253]
[0254]
[0255]
[0256]
[0257]
[0258] In the second example, four transactors are processing lists within the machine 401. In particular, in the second example, the transactor 407, the transactor 2005, the transactor 3201, and a transactor 3301 are each processing separate lists.
[0259] Processing in the transactors to the right of the transactor 407 may be triggered via an execute function in the previous transactor. As in the examples of
[0260]
[0261]
[0262]
[0263] The formulas in the operations array 1003 will swap the values in the third and fourth columns of the list 3501. In addition, the formulas in the operations array 1003 will cause the values in the third column of the list 3501 to be multiplied by two and the values in the fourth column of the list 3501 to be divided by two. This is shown in the first row of intermediate list 3503. After all the rows of tabular data in the list 3501 have been processed, i.e., after operations have been performed on the rows of tabular data in the list 3501 according to the formulas received as input in the operations array, a finished list will be ejected from the transactor 407 and processing will stop.
[0264]
[0265]
[0266]
[0267]
[0268]
[0269] After a second recalculation of the operations array 1003, step S3907 shows a new row being added to the output list. Step S3909 shows the values from the output array being copied to the new row at the output list. Step S3911 shows the output list after the second recalculation of the operations array 1003.
[0270]
[0271] Step S4001 shows formulas initially present as contents of the operations array 1003. Step S4003 shows the transactor 2005 after eight recalculations of the operations array 1003. A list 4001 is shown as the output list. Further, an additional row 4003 is copied from the output array 1005 to the list 4001. Since the IF condition in the operations array 1003 is met at step S4003, the output list 4001 is ejected at step S4003.
[0272]
[0273] At step S4103, no output is shown in the output array 2401.
[0274]
[0275] At step S4207, the functions in cells A2:02 (i.e., the cells in row 2) generate random numbers. In other words, the functions in the cells of the input array generate random numbers. The random numbers may be considered tabular data and may be inserted into the input array. At step S4209, the add function in cell A4 of the operations array 2001 causes the creation of a new output list. The new list has one row. At step S4211, values of cells of the input array referenced by the add function are stored in cells of the output array 2401. In particular, the add function in the operations array 2001 references four cells of the input array which are also cells of the operations array 2001. The value of the cell containing the add function is determined based on the cells referenced by the add function.
[0276]
[0277] Step S4301 is carried out after step S4211. At step S4301, the output array 2401 is copied to the output list 4001. Accordingly, copying the output array 2401 to an output destination may include copying the output array 2401 to then output list 4001 and copying the output list 4001 to the output destination.
[0278]
[0279] At step S4407, the add function in cell A4 of the operations array 2001 adds a new row to the output list 4001. At step S4409, the add function in cell A4 of the operations array 2001 copies values of cells of the input array referenced by the add function to the output array 2401. In other words, the add function stores values of cell of the input array referenced by the add function in the output array 2401.
[0280]
[0281] The steps of
[0282]
[0283] At step S4606, the add function in cell A4 adds an empty new row to the output list 4001. At step S4607, execution of the add function in the operations array 2001 also causes the values of the cells of the input array referenced by the add function to be stored in the output array 2401. The values are displayed, e.g., so that the user can verify that the values are correct.
[0284]
[0285]
[0286] Step S4801 shows the transactor 2005 after completion of performance of operations on the tabular data received from the input source and execution of the eject function. At step S4803, the output list 4001 is completed. At step S4805, the list 4001 is forwarded to machine “M2.” The machine M2 may be understood as the output destination. Thus, copying the output array 2401 to the output destination may include copying the output array 2401 to the output list 4001 and copying the output list 4001 to the output destination.
[0287] The list 4001 may undergo further processing at machine M2.
[0288]
[0289]
[0290] In the example discussed in connection with
[0291]
[0292] At step S5001, tabular data is received from an input source. The tabular data is received in the form of an input list 5050. At step S5002, a row of the tabular data is inserted into the input array 1001.
[0293]
[0294] At step S5101, insertion of a row of tabular data into the input array 1001 may trigger recalculation of the operations array 1003. At step S5103, an execute function in cell “A4” of the operations array 1003 may trigger recalculation of the operations array 2001. The execute function may be carried out in view of the recalculation of step S5101.
[0295] At step S5105 the operations array 2001 is recalculated. Step S5105 may be understood as an example of the recalculation of a further operations array triggered by performance of operations on the rows of tabular data, e.g., according to received input in the operations array 1003.
[0296] At step S5107, references in the operations array 2001 cause values to be copied from the operations array 1003 in response to the recalculation in step S5105. At step S5109, an add function in the operations array 2001 causes data from the operations array 2001 to be stored in cells of the output array 2401. Step S5111 is carried out in response to the add function called in step S5109. In step S5111, a new row is added to an output list 5150 as a result of calling the add function in step S5109. Step S5113 may be carried out in preparation for inserting the output array in the output list 5150.
[0297] The output list 5152 is identical to the input list 5050 because the operations array 1003 does not include the add function or the copy function. Accordingly, data from the input list 5050 is simply copied to the output list 5152.
[0298] In contrast, because the operations array 2001 of the transactor 2005 includes add function, the output list 5150 differs from the input list 5050.
[0299]
[0300] The output list 5152 is shown for the transactor 4007. The output 5152 includes unmodified tabular data as received from the input source.
[0301] The output list 5152 may be ejected from the transactor 407 if an IF function in the operations array 1003 evaluates to TRUE. The output list 5150 may be ejected if an IF function in the operations array 2001 evaluates to TRUE. The output list 5150 may be sent to an output destination. Accordingly, copying the output array 2401 to the output destination may include copying the output array 2401 to the output list 5150 and sending the output list 5150 to the output destination.
[0302]
[0303]
[0304]
[0305] Upon recalculation of the operations array 2001, tabular data is received from a further input source at step S5404. At step S5405, a row of the tabular data received from the further input source is inserted into a further input array 5450 and into the output array 2401.
[0306]
[0307]
[0308] Ejection of a list from a transactor means that processing on that list by the transactor ceases. The transactor may process another list or may stop processing altogether.
[0309]
[0310] Other practical implementations of the method for interactively performing operations on tabular data are also possible. For example, another possible implementation involves an automated system for grocery stores or retailers with a frequently changing range or products. The system may read order lists sent from consumers (generated by machines implementing the method for interactively performing operations on tabular data) and automatically send the order lists to a number of machines in a warehouse that each run the method for interactively performing operations on tabular data. The machines may act as automated order selection systems to carry out the instructions in the lists.
[0311] Another possible scenario involves a manufacturing plant with frequent product changes. In particular, the devices (e.g., devices controllable via tabular data) in the manufacturing plant must be frequently reconfigured to produce various products. The production devices in the plant process orders to produce a quantity of goods and simultaneously use machines for interactively performing operations on tabular data to order new material that is needed by devices in the plant.
[0312]
[0313] According to the example, the device is configured to automatically create a list or grocery orders based on consumption monitored via RFID at the device. Other technologies for monitoring consumption at the device are also possible.
[0314] According to the example, a refrigerator 5701 is provided as an example of a device controllable via tabular data. Other examples of smart kitchen devices controllable via tabular data are a cupboard and a freezer.
[0315] The refrigerator 5701 may be equipped with a sensor 5703 that detects near field movement of RFID equipped groceries. In particular, the refrigerator 5701 may be able to sense when RFID tagged items are put into or taken out of the refrigerator 5701. This may be accomplished via the sensor 5703. The sensor 5703 may be implemented as an RFID sensor. A container of yogurt 5705 is shown as an example of an RFID tagged grocery item that can be detected when it is placed inside or taken out of the refrigerator 5701.
[0316] The refrigerator 5701 may include a computing unit 5707. The computing unit 5707 may be capable of processing information from the sensor 5703. In particular, the computing unit 5707 may be capable of generating an event when the sensor 5703 detects that the yogurt 5705 (or another grocery item) is taken out of or placed inside of the refrigerator 5701. The event may cause a row of tabular data to be produced. This row of tabular data may be received along with other tabular data from an input source. In particular, the refrigerator 5701 is an example of the input source.
[0317] The refrigerator 5701 may also include a timer 5709 (e.g., a system clock). The timer 5709 may be used to trigger time based actions. Accordingly, the rows of tabular data operated on according to the method for interactively performing operations on tabular data may have been generated or produced in response to events generated by the refrigerator 5701, or a similar device.
[0318] Since grocery orders differ for every household, it would be impossible for standard software to provide all possible variations even when offering a wide variety of customization parameters. Accordingly, it may be advantageous to enable a user to provide input into an operations array, where the input may include references and calculations that can affect operations performed on rows of tabular data received from the input source, e.g., the refrigerator 5701 or the computing unit 5703.
[0319]
[0320] The refrigerator 5701 may be implemented as a specific refrigerator or as a generic kitchen device as shown in
[0321] Accordingly, the sensor 5703 may detect that an RFID equipped grocery item, such as the yogurt 5705, has been added to the refrigerator 5701. In particular, the sensor 5703 may detect that the yogurt 5705 has passed through the door of the refrigerator 5701. The sensor 5703 may read the identifier of the yogurt 5705 and determine the direction that the yogurt has passed, e.g., into the refrigerator 5701 or out of the refrigerator 5701.
[0322] According to the example of
[0323] In the example of
[0324]
[0325] The operations array 1003 includes received input (e.g., a reference to a cell of the input array 1001) used to control the performance of operations on the rows of tabular data produced in response to events generated by the refrigerator 5701. Each event may have been generated by an item passing through the door of the refrigerator 5701. In particular, each event may have been generated when the sensor 5703 detected an item passing through the door of the refrigerator 5701. Accordingly,
[0326]
[0327]
[0328] The procurement machine may be configured to accumulate incoming door actions from the refrigerator 5701 and other kitchen devices in order to create the order list 5815. The procurement machine 5801 may include two transactors.
[0329] The listcreate function called from the operations array 5809 may include a first argument specifying the name of a list. When the listcreate function is executed in the operations array 5809, the function checks whether a list with the name provided as an argument exists in the inbox 403. If such a list does not exist, the listcreate function creates an empty list with the name provided as an argument. If a list already exists with the list name provided as an argument to the listcreate function, the listcreate function does nothing.
[0330] Row 4 of the operations array 6101 includes a listindex function and a listcount function. The listindex function may be called without an argument. When the listindex function is executed in the operations array 6101, the function returns the index of the row of the list that is currently being processed in the operations array 6101. If there is no list being processed by the operations array 6101, then the listindex function returns −1. The listcount function may also be called with no argument. When the listcount function is executed in the operations array 6101, the function returns the number of elements in the current list that is being processed by the transactor of the operations array 6101. If there is no list in the current transactor, the listcount function returns −1.
[0331] An operations array 6101 of the second transactor may be configured to send the order list 5815 to a printer 6301 (as shown in
[0332] In addition or alternatively, the order list may be sent directly to a different output destination (e.g., a grocery store) for further processing.
[0333]
[0334]
[0335] The example discussed above in the context of
[0336] Conventionally, in order to provide a solution to the problem solved via the example of
Accordingly, the conventional implementation would require significant computing power and significant skilled programming resources. In other words, the conventional solution would be more expensive in terms of required equipment and training.
[0343]
[0344] In the first instance of the machine 401, the processing mode parameter of the execute function is changed from “single” to “all”. This means that the transactor 407 and the transactor 2005 will not process both input lists in parallel. Instead, the transactor 2005 will process all rows of its input list for each row processed by the transactor 407. The resulting list from the transactor 3201 will have as many rows as the product of the number of rows from the list processed by the transactor 407 and the list processed by the transactor 2005. The resulting list from the transactor 3201 has 9 rows since only 3 rows from each of the transactors 407 and 2005 have been processed.
[0345] In the second instance of the machine 401, the processing mode parameter of the first three left transactors is changed from “Single” to “All,” and the resulting list from the transactor 3301 will have as many rows as the product of the number of rows in the lists of the first three transactors 407, 2005, and 3201.
[0346]
[0347] At step S6401, processing may begin. In particular, the transactor 407 may begin processing. At step 86403, it is determined whether the transactor 407 accepts lists from the inbox 403. The lists in the inbox 403 may include tabular data received from an input source such as the refrigerator 5701. As discussed above, the transactor 407 may be configured not to accept lists from the inbox 403 if the List Name Filter of the transactor settings 1201 is set to a blank value. If the transactor 407 is not configured to accept lists from the inbox 403, step S6405 is carried out and the operations array 1003 is recalculated. After evaluating all formulas in the operations array 1003, the process ends.
[0348] If the transactor 407 is configured to accept lists from the inbox 403, step S6407 is carried out. The transactor 407 is configured to accept lists from the inbox 403 by setting the List Name Filter of the transactor settings 1201 to a non-blank value. If a list is currently being processed by the transactor 407, step S6409 is carried out. At step S6409, a determination is made as to whether the last row of the list being processed by the transactor 407 has been reached. If the last row of the list being processed by the transactor 407 has not been reached, a row of tabular data from the list is inserted into the input array 1001 at step S6411. Following that, the operations array 1003 is recalculated at step S6405.
[0349] If it is determined at step S6407 that there is no list currently being processed by the transactor 407, step S6413 is carried out. At step S6413, it is determined whether there is a list in the inbox 403. If there is no list in the inbox 403, the transactor 407 waits for a list to be inserted into the inbox 403 at 56414. In other words, the machine 401 waits to receive tabular data from an input source, such as the computing unit 5707.
[0350] Once a new list is received in the inbox 403, a row of tabular data from the list is inserted into the input array 1001 at step S6415. Following step S6415, the operations array 1003 is recalculated at step S6405. If the execute function was called with the argument “single”, as discussed above in the context of
[0351] If the execute function is called with the “all” argument, as discussed above in the context of
[0352] From the foregoing, it will be seen that this invention is one well adapted to attain all the ends and objects hereinabove set forth together with other advantages which are obvious and which are inherent to the structure.
[0353] It will be understood that certain features and subcombinations are of utility and may be employed without reference to other features and subcombinations. This is contemplated by and is within the scope of the claims.
[0354] Since many possible embodiments may be made of the invention without departing from the scope thereof, it is to be understood that all matter herein set forth or shown in the accompanying drawings is to be interpreted as illustrative and not in a limiting sense.