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
Last revisionBoth sides next revision
pentominos:pentominos [2008/10/08 11:56] devapentominos:pentominos [2009/04/24 14:08] deva
Line 1: Line 1:
-=====Pentominos - Data Collection System ===== +======Pentominos - Data Collection System ====== 
-====Network communication (protocol)==== +=====Overview===== 
-All network communication are done via XML documents.\\ +The Pentominos project consists of several sub-projectsthat all work together to produce full circle of data gatheringdata storage and data retrieval.\\ 
-<del>Every XML document is terminated by the zero character ('\0' in c/c++)\\ +Here is list of the current sub-projects: 
-Sending the zero character to a process will reset it, and thereby cleaning up all mess made by illegal documents.</del>\\ +  * [[pentominos:Artefact]] - The data storage server
-A connection can only be created in client-mode, and will exists as long as the client intends it to.\\ +  * [[pentominos:Feed]] - A thin client data gathering application
-A server listen will run in a read loop until the client terminates the connection.\\ +  * [[pentominos:Upload Server]] - Journal writer
-The server must reply to all request with an answer, no matter if the preceding processing went well or not. +  * [[pentominos:Pidiod]] The uid => patient ID mapper
- +  * [[pentominos:Pidio]] - The uid => patient ID mapper client (numpad/rfid).
-====The client==== +
-The client reads its config fileand forks for each config section it encounters.\\ +
-Every fork handles a single apparatus according to the attached config section.\\ +
-The main thread runs infinitely and makes sure to terminate all client forks upon termination.\\ +
-Every client is connected physically to a port on the host computer, and a LUA program runs to determine whether data is ready to be read or not.\\ +
-The LUA programs hereafter sends this data to the server indirectly through number of exposed c methods.\\ +
-Each LUA program must run in an infinite loop, terminating only when the function stop() returns true, and it must not hang waiting on read, but rather have a time-out, and loop again. +
- +
-====Links==== +
-  * http://xerces.apache.org/xerces-c/ +
- +
-====TODO==== +
-  * {{:drumgizmo:check.png?12}} Make SQL comm functions for the LUA programs (e.g. for the cpr server)+
-  * {{:drumgizmo:check.png?12}} Rewrite server to utilize read loop+
-  * {{:drumgizmo:check.png?12}} Replace xerces-c with eXpat+
-  * {{:drumgizmo:uncheck.png?12}} Make SQL comm functions for the LUA programs return all results and not just the first one. +
  
pentominos/pentominos.txt · Last modified: 2010/01/29 08:46 by deva