1. A memory device, comprising:
a serial peripheral interface NAND controller configured to be coupled to a Chip Select (CS) line, a Serial Clock (SC) line, a Serial Data In (SI) line, and a Serial Data Out (SO) line;
a NAND memory; and
a cache memory coupled to the serial peripheral interface NAND controller and the NAND memory, wherein the memory device is characterized in that:
the serial peripheral interface NAND controller is further configured to:
cause a selected page of data to be transferred from the NAND memory to the cache memory in response to a page read command and a page address received on the SI line; and
cause selected data to be accessed from the selected page of data transferred to the cache memory and transmitted along the SO line in response to a data read command and a data address received on the SI line.
2. The memory device of claim 1, wherein the serial peripheral interface NAND controller is configured to cause the selected data to be accessed from the selected page of data transferred to the cache memory when the data address is received after the page address.
3. The memory device of claim 1, wherein the serial peripheral interface NAND controller is configured to send a status bit on the SO line in response to receiving a read status command on the SI line if the selected page of data has been transmitted to the cache memory.
4. The memory device of claim 1, wherein the selected data comprises one of a single byte of the selected page of data, a single word of the selected page of data, or the entire selected page of data.
5. The memory device of claim 1, wherein the serial peripheral interface NAND controller is configured to receive dummy bits as a header to the page address.
6. The memory device of claim 1, wherein the serial peripheral interface NAND controller is configured to receive dummy bits as a header to the data address.
7. The memory device of claim 1, wherein the serial peripheral interface NAND controller is configured to receive dummy bits as a trailer to the page address.
8. The memory device of claim 1, wherein the memory device is configured to read the selected page of data out of the NAND memory and transfer the selected page of data to the cache memory during a time that a signal on the CS line is inactive.
9. The memory device of claim 1, comprising an error correction status register coupled to the serial peripheral interface NAND controller, wherein the error correction status register is configured to store error correction enable and disable information.
10. The memory device of claim 1, comprising an error correction status register coupled to the serial peripheral interface NAND controller, wherein the error correction status register is configured to store information defining the size of the region on which the an error correction algorithm is to be performed.
11. A method for accessing a serial peripheral interface NAND memory device, comprising:
receiving a page read command on a Serial Data In (SI) line of the serial peripheral interface NAND memory device;
receiving a page address on the SI line of the serial peripheral interface NAND memory device,
causing, via a serial peripheral interface NAND controller of the serial peripheral interface NAND memory device, a selected page of data to be:
read out of a NAND memory of the serial peripheral interface NAND memory device; and
transmitted to a cache memory of the serial peripheral interface NAND memory device in response to the page read command and a page address received on the SI line; and
causing, via the serial peripheral interface NAND controller of the serial peripheral interface NAND memory device, selected data of the selected page of data to be read from the cache memory in a random access method.
12. The method of claim 11, comprising transmitting the selected data on a Serial Data Out (SO) line in response to a data read command and data address received on the SI line.
13. The method of claim 12, comprising receiving the data address subsequent to receiving the page address.
14. The method of claim 12, comprising transmitting a status bit on the SO line in response to receiving a read status command on the SI line if the selected page of data has been transmitted to the cache memory.
15. The method of claim 11, wherein the selected data comprises one of a single byte of the selected page of data, a single word of the selected page of data, or the entire selected page of data.
16. The method of claim 11, comprising checking the selected page of data by an error correction process.
17. A memory device, comprising:
a serial peripheral interface NAND controller configured to receive an activate signal, a timing signal, and a serial data in signal, wherein the serial peripheral interface NAND controller is further configured to transmit the serial in data signal without translation into standard NAND format.
18. The memory device of claim 17, comprising a NAND memory coupled to the serial peripheral interface NAND controller and configured to receive the serial data in signal transmitted from the serial peripheral interface NAND controller.
19. The memory device of claim 18, comprising a cache memory coupled to the serial peripheral interface NAND controller and the NAND memory, wherein the cache memory is configured to receive a selected page of data from the NAND memory in response to a page read command and a page address being received at the serial peripheral interface NAND controller.
20. The memory device of claim 19, wherein the cache memory is configured to allow selected data of the selected page of data to be read from the cache memory in a random access method.
21. The memory device of claim 20, wherein the serial peripheral interface NAND controller is configured to transmit the selected data on a Serial Data Out (SO) line in response to a received data read command and data address.
22. The memory device of claim 19, wherein the serial peripheral interface NAND controller is configured to perform error correction on data stored in the cache memory.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method comprising:
providing a coarse evaluation lock to ensure only one evaluation is run on selected data until completed; and
providing a fine exclusive lock on selected data to ensure only one user may change such selected data.
2. The method of claim 1 wherein the coarse exclusive lock corresponds to an employee.
3. The method of claim 2 wherein the fine exclusive lock corresponds to a primary data record of the employee.
4. The method of claim 3 and further comprising creating a lock argument which is a concatenation of an employee id and a primary data record of the corresponding employee.
5. The method of claim 3 and further comprising creating a lock argument which is a concatenation of an employee id and a wildcard for primary data records of the employee.
6. The method of claim 5 and further comprising modifying the lock argument to indicate a specific primary data record as an evaluation is evaluating specific data in the primary data record.
7. The method of claim 6 and further comprising repeating the modification of the lock argument for each primary data record as it is being accessed by the evaluation.
8. The method of claim 1 and further comprising applying the locks during an evaluation.
9. The method of claim 8 and further comprising releasing the locks upon completion of the evaluation.
10. A method comprising:
receiving a user request to modify a selected data record;
setting a fine data recording lock to ensure only one user may change such selected data record;
receiving a request to save changed data;
setting a first coarse evaluation lock corresponding to the changed data; and storing the changed data.
11. The method of claim 10 and further comprising:
starting an evaluation process for selected data;
setting a second coarse evaluation lock for the selected data;
evaluating the selected data; and
removing the second coarse evaluation lock.
12. The method of claim 11 wherein the fine data recording lock comprises an exclusive data recording lock.
13. The method of claim 10 wherein the coarse evaluation lock corresponds to plural records of an employee.
14. The method of claim 13 wherein the fine data recording lock corresponds to a single record of an employee.
15. The method of claim 10 wherein the fine data recording lock is an exclusive lock.
16. The method of claim 10 and further comprising releasing the fine data recording lock and the first coarse evaluation lock once the data is stored.
17. A system comprising:
an evaluation module that evaluates data; and
a locking module that creates a coarse exclusive lock to ensure only one evaluation is run until on coarsely selected data until completed and creates a fine exclusive lock on a selected data record to prevent modification of the record;
wherein the locking module applies the fine lock while a user changes a record, applies the fine lock and the evaluation lock while such a changed record is being stored, and applies the coarse lock to other evaluations.
18. The system of claim 17 wherein the modules are in a component of a distributed multi-user transaction based system.
19. The system of claim 17 wherein the locking module releases the locks upon completion of an evaluation or storing of records.
20. The system of claim 17 wherein the coarse exclusive lock functions to prevent other evaluations from running at the same time as the evaluation module performs an evaluation.