User Tools

Site Tools


pentominos:pentominos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pentominos:pentominos [2009/02/19 14:09] devapentominos:pentominos [2009/02/26 09:45] deva
Line 3: Line 3:
 The Pentominos project consists of several sub-projects, that all work together to produce a full circle of data gathering, data storage and data retrieval.\\ The Pentominos project consists of several sub-projects, that all work together to produce a full circle of data gathering, data storage and data retrieval.\\
 Here is a list of the current sub-projects: Here is a list of the current sub-projects:
-  * Artefact - The data storage server. +  * [[pentominos:Artefact]] - The data storage server. 
-  * Feed - A thin client data gathering application.+  * [[pentominos:Feed]] - A thin client data gathering application.
   * Upload Server - Journal writer.   * Upload Server - Journal writer.
   * Pidiod - The uid => patient ID mapper.   * Pidiod - The uid => patient ID mapper.
   * Pidio - The uid => patient ID mapper client (numpad/rfid).   * Pidio - The uid => patient ID mapper client (numpad/rfid).
 +
 +====LUA elements====
 +  LUADataValidator
 +  LUADataParser
 +  
 +
 +====Snaask====
 +When an apparatus is connected the following must be crafted:
 +  * Feed parser so file and conf.
 +  * Artefact validator / identifier.
 +    * Makes superficial parsing of the data to identify whether the data is valid.
 +    * Figure out what classes are contained in the data, and report this.
 +  * Artefact interpretation
 +    * Parses and interprets the data, translating it into some output language (eg. xml)
 +
 +(data, class) => [lua] Parser -> [lua] Interpretation -> [lua/c] Tree structure -> [c] language filter -> network
 +
  
 ====Patient registration==== ====Patient registration====
Line 13: Line 30:
 Getting the patient ID is a non-trivial task at best.\\ Getting the patient ID is a non-trivial task at best.\\
 See the [[pentominos:registration]] section for a description of the framework surrounding the registration system. See the [[pentominos:registration]] section for a description of the framework surrounding the registration system.
 +
 +====RFID tag project====
 +[[pentominos:rfid project]]
  
 ====Network communication (protocol)==== ====Network communication (protocol)====
Line 31: Line 51:
  
 [[pentominos:client]] [[pentominos:client]]
 +
  
 ====Data types==== ====Data types====
Line 36: Line 57:
 How to make a query that will hit this multi-data block?\\ How to make a query that will hit this multi-data block?\\
 Solutions: Solutions:
-  * Make client send data one time pr. data type, thus storing it in the db under two different classes. 
-    * //Pros//: 
-      * We don't need to make any changes to the server code. 
-    * //Cons:// 
-      * The client needs to parse the data (no longer thin). 
-      * The data are stored multiple times in the file system. 
- 
-  * Make validator detects which types of data are contained in the block, adding a list of type tags in the database. 
-    * //Pros:// 
-      * The data are only stored once in the file system. 
-    * //Cons:// 
-      * Needs to query an entry in a list in the db. 
- 
   * Make the validator insert one entry in the db for each data type, referring to the same data block (file).   * Make the validator insert one entry in the db for each data type, referring to the same data block (file).
-    * //Pros:// +    * The data are only stored once in the file system. 
-      * The data are only stored once in the file system. +    * We don't need to make drastic changes to the server code (or client for that matter).
-      * We don't need to make drastic changes to the server code (or client for that matter). +
-    * //Cons:// +
-      * bleh+
  
 ====Links==== ====Links====
pentominos/pentominos.txt · Last modified: 2010/01/29 08:46 by deva