|
|
 |
Data Storage
Central database
- The central database is structures match the rehabilitation protocol. A simplified diagram of the database schema is presented in the figure below.
- The database stores besides the raw data (real-time sensor readings) the various data evaluations to avoid recomputing on each access.
- To speed up the access to the raw data, the tables storing it are partitioned, reducing the amount of data processed by the queries.
Local database
- The local database is necessary if the patient does not have a reliable Internet connection at home
- The structures necessary to run the rehabilitation sessions are replicated from the central database
- The local and central databases are synchronized periodically depending on the status of the network connection
- The rehabilitation site can function even without an Internet connection if the local databse is present
Monitoring server
- Since the database transactions do not work in real-time, the monitoring server is a short term fast storage solution.
- The rehabilitation site streams data to the monitoring server which stores only the last records.
- The stored data is sent upon request to monitoring applets.
|
|