Personal Storage of User and Agent Data

path4734
The Kontekst concept for handling and storing User and Agent data let them control and own the data themselves directly. Stored locally on a device or at a service the owner provides. Access is granted run-time to Apps. With several levels of control, parts or full. The code is moved to run where the data is owned instead of moving the data to where the code is running.

The User or Agent data is never stored in a centralized location at each App provider, where administrators and other back-end or secondary systems can access it. This simplifies the over all system with handling access control, rules and regulations for personal data, risk of misuse or abuse of data, unauthorized access and complexity and cost of data storage for the App provider. He can focus on his core business of his App, leaving the complexity of securing, handling and storing personal data to an expert service provider in that area.

In its simplest implementation form the storage is locally as a file on a device (mobile, PC, pad, USB drive). A step further is a form of database running locally with an API for queries, transactions, backup and encryption. The local storage implementation has some advantages in certain cases but for most a cloud service would be better.

Take Google Drive as an example. It provides cloud file storage allowing users to access their data from any device or location. Authorization and access-control is managed by Google and the data-storage data-owner relationship is between Google and the user. At the same time a user can grant an App access to use his Google Drive (part or full) for storing files. The App provider only has to know the API for accessing data and the meta-data structure of the data, not needing direct access to the content.

In the same way a cloud service can be provided that goes beyond files to a full database depending on the needs (SQL, NoSql etc.) of an App. It can also extend to computing power and running agents in the cloud. All owned and controlled by the end-user of an App. The storage service provider is responsible for implementing all rules and regulations for data storage, ensuring security and integrity of data, scaling with demand and most important being trusted by the User.

Instead of the User having to trust multiple service and App providers and companies, across countries and different laws and regulations. He can rely on a single or a few trusted storage-handlers of his data.

Example case: Medical data in an analytics Agent
We have developed an Agent that can make predictions for the life expectancy of a person. The data required for the analysis is from different sources, one being the medical history of the person. Medical data is considered to be some the most sensitive data to handle and store. If a user were to submit his medical data to an Agent for analysis and the Agent wanted to access or store the data on a centralized server. The legal, technical and security requirements for the server would be enormous. Forcing the developers of the analytics Agent to spend time and resources on something outside their primary domain, possibly making it impossible to build the Agent at all.

With our concept the Agent runs as an App on the users mobile phone. Asking permission to use the users own database service for storing and processing data. The App collects over a period of time data about eating habits, exercise, body monitoring and other information about the person. In addition the App asks the user for authorization to access the medical records stored by the National Health Service (NHS). They are retrieved through an API provided by the NHS where citizens can access their own records. The API is used directly from the App and data is stored in the personal storage of the user along with the other data being collected.

At no point is any personal data stored or processed outside of the users own control and ownership – except in the storage service. The provider of the life expectancy Agent will never have access to any personal data or the results of its analysis. The User and Agent data is only stored and handled with direct control and authorization of the owner.

Leave a comment