System and procedures for storing data, in particular personal data

DE102023109178B3Active Publication Date: 2024-08-29ROCHE DIAGNOSTICS GMBH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
DE102023109178
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-08-29
Estimated Expiration
2043-04-12

Smart Images

  • Figure DE102023109178B3_0000_ABST
    Figure DE102023109178B3_0000_ABST
Patent Text Reader

Abstract

The invention relates to a system for storing data, in particular personal data, comprising: - an interface (105), in particular a REST API; - an authorization module (130); - at least one target database (30, 40) for storing the data; - a data access module (110) configured to: a) receive requests from a client computer (10) via the interface; b) query data from the at least one target database (30, 40) in response to the received request; c) determine whether the client computer and / or the user has authorization to query; and d) generate a response data set to answer the request and transmit it to the client computer, wherein at least some data of the response data set is anonymized if it is determined that restricted authorization exists.
Need to check novelty before this filing date? Find Prior Art

Description

The invention relates to a system for storing data, comprising an interface, an authorization module, at least one target database, and at least one data access module. Furthermore, the invention relates to a method for storing corresponding data using a corresponding system. In the medical sector, storing data is highly problematic. The data is often personal and highly sensitive. At the same time, there is a need for relevant data to be available to diverse groups of people and applications. Both making an accurate diagnosis and successfully treating diseases require reliable data. Data availability, especially over the long term, is also necessary for the further development of medical algorithms. In the healthcare sector, comprehensive systems are therefore being developed that provide relevant data, especially personal data. Managing such personal data is complex, as different rules and laws govern the handling of this data exist. These rules and laws govern the form of storage, the retention period, and the use for different purposes. Furthermore, connecting different applications to such data storage systems is complex. Many existing applications and systems attempt to implement the necessary algorithms for data protection locally—i.e., within the respective application—but this approach is very complex. Newer systems rely on centralized data management, but connecting existing applications is technically complex. Often, it is necessary to completely reimplement existing applications. US Patent No. 10,572,684 B2 describes a system in which personal data is stored in a distributed database, preferably in a blockchain. EP 1 226 524 A2 describes a system in which data can be shared between entities. This system also makes it possible to share data with the healthcare system, with data security ensured by encryption and appropriate certificates. EP 2 656 274 B1 describes a system for exchanging or making documents available. The system implements access restrictions that allow for the protection of personal data. The document "PostgreSQL Anonymizer, Dynamic Masking," Dalibo SARL SCOP, 2022, URL: https: / / postgresqlanonymizer.readthedocs.io / en / stable / dynamic_masking / P1, concerns the "postgresql_anonymizer" extension of the open source database management system PostgreSQL. Specifically, the document describes a dynamic masking approach that allows a user or role to be designated for masked access to a database. Masking rules can be defined for specific tables. A query from a user who has only restricted permissions to the requested database table is answered with a masked or anonymized record instead of the actual record. This is achieved by creating views. The document "PostgreSQL Anonymizer, Static Masking," Dalibo SARL SCOP, 2022. URL: https: / / postgresqlanonymizer.readthedocs.io / en / stable / static_masking also concerns the "postgresql_anonymizer" extension. This document describes a static masking approach for PostgreSQL in which the original data is irretrievably overwritten with masked or anonymized data. The Wikipedia article “Java Database Connectivity”, URL https: / / en.wikipedia.org / w / index.php?title=Java_Database_Connectivity&oldid=11 38424183 describes an API for the Java programming language that allows defined access of a client to a relational database. The Wikipedia articles “Database”, URL:https: / / en.wikipedia.org / w / index.php?title=Database&oldid=1148834229 and “Database encryption” URL:https: / / en.wikipedia.org / w / index.php?title=Database_encryption&oldid=11327770 51 describe general principles of different types of database systems and database encryption. Based on this prior art, in particular the aforementioned document "PostgreSQL Anonymizer, Dynamic Masking," the object of the present invention is to create an efficient and secure system for storing data. In particular, the system should enable the simple and efficient integration of existing applications. The object is achieved by a system according to claim 1, by a method according to claim 10 and by a computer-readable memory according to claim 11. In particular, the object is achieved by a system for storing data, in particular personal data, which comprises: - an interface, in particular a REST API; - an authorization module; - at least one target database for storing the data; - a configuration management module; and - a data access module which is designed to a) receive requests from a client computer by means of the interface; b) query data from the at least one target database in response to the received request; c) determine whether the client computer and / or the user is authorized to query; and d) generate a response data record to answer the request and transmit it to the client computer, wherein at least some data of the response data record is anonymized if it is determined that restricted authorization exists. The authorization module is designed to: - assign a role and / or a user to the request; - determine whether the target database is a relational database; - if the target database is a relational database, using the role or information about the user, select a view from a plurality of views that is used to answer the request; - determine whether the target database is a hash database; and - if the target database is a hash database, using the role or information about the user, select a copy hash database from a plurality of copy hash databases that is used to answer the request. The configuration management module is designed to - generate and save views for at least one target table for different users and / or roles depending on predefined and / or assigned authorizations for a relational target database, wherein the view is configured depending on the authorizations so that values from the target table are replaced with anonymized values; and - generate and save role-specific copies in the form of a copy hash database for different users and / or roles depending on predefined and / or assigned authorizations for a (distributed) target hash database that is used as the target database, wherein the copy hash database is modified depending on the authorizations so that (selectively) values from the target hash database are replaced with anonymized values. One idea of the present invention is to store the data in (central) target databases. A (central) data access module, which manages access to the data, is connected upstream of the target databases. Which application can access which data is regulated by the authorization module. With the invention, it is therefore no longer possible for applications to access the data directly. Instead, access must be via the data access module, which receives requests, for example from client computers, via a preferably predefined interface. The requested data can then be queried, at least in part, from the target databases. As already explained, a check is carried out to determine whether and to what extent authorization exists to access the queried or requested data.Such access control can be user- and / or role- and / or device-based, whereby, as is common in common operating systems, individual applications can be assigned user accounts. Other known authorization concepts are also conceivable according to the invention. According to the invention, the data access module is designed to generate a response data set to answer the query and transmit it to the client computer, with individual pieces of the data in the response data set being anonymized. Such anonymization can occur online—i.e., at the time of the query—or offline—at a time before the query, for example, when the data is being captured or during a nightly routine. In one embodiment of the invention, the interface used to query and / or provide the data is a REST (Representational State Transfer)-based interface. A corresponding REST API can be implemented as a web service and enables efficient processing of requests. In one embodiment, the system comprises a database driver, in particular installed on at least one client computer, which is configured to communicate with the interface. A corresponding database driver can be a JDBC driver. Many existing operating systems have very sophisticated database access modules. Many of these database access modules are ODBC-based. Thus, applications on client computers do not access the data source directly, but use installed ODBC drivers to implement corresponding access. Compared to conventional ODBC drivers, REST APIs are relatively new. The invention provides for the provision of ODBC drivers, in particular JDBC drivers, which enable applications to communicate with the interface of the system according to the invention via these drivers. Their access to the system is thus clearly structured and existing applications can be extended using the ODBC drivers orJDBC drivers communicate with the system. The effort required for migration is therefore extremely low, especially considering that the system according to the invention can behave like a conventional target database despite the additional functionalities of the authorization and data access modules. In one embodiment, the database access module comprises a parser unit configured to receive a character string containing an SQL expression and extract field names from the SQL expression. Furthermore, configurations can be applied to the SQL query in the database access module. It is possible to implement the database driver in such a way that it largely automatically translates an SQL query into a request that is transmitted to the interface. In one embodiment, for example, the SQL query is translated into a request that conforms to a REST standard. In one embodiment, a parser unit is used for this purpose, which, for example, extracts table names and / or column names from the SQL expression or the ODBC query. This data can be used to create specific data requests via the interface. For example, a GET request can be sent via HTTP, in which the table names and / or column names address the resource to be queried. In another embodiment, the SQL query is encapsulated as a string in a REST request or call that is sent to the interface. In one embodiment, the system comprises a database that stores a plurality of roles and / or users, each of which is assigned authorizations. It is possible to use the authorization concept of the individual target databases to enable access management for the system, particularly the authorization module. In a preferred embodiment, a (separate) database is used to manage roles and / or users across target databases and to assign authorizations to each of them. The authorization module can be designed to assign at least a selection of requests received via the interface to at least one role or user from the database and to determine, based on the assigned authorization, which data is transmitted via the interfaces in response to the respective request. In one embodiment, the authorization module can decide that a user or role is completely denied access to certain data. In another embodiment, the authorizations influence which target database and / or which subcomponents (e.g., tables and / or views) of a specific target database are queried. According to the invention, it is also possible for at least one anonymization function to be selected based on the authorization to anonymize certain data from a target database (online). The configuration management module is designed to generate and save target databases and / or views (e.g. so-called SQL views) for different users and / or roles depending on predefined and / or assigned authorizations. In one embodiment, there are multiple target databases and / or views for each original data set, with the individual target databases and / or views differing in that they are anonymized to varying degrees. For example, a first view can output the data originally captured by the configuration management module, while a second view shows only a portion of the originally captured data, with, for example, data records removed and / or entries anonymized. This implementation therefore uses offline anonymization, whereby the data may be duplicated or displayed differently depending on the view. This approach has the advantage of allowing queries to be answered very efficiently. Furthermore, it is possible to record and document the states and thus the different levels of anonymization of the individual tables / views / fields. As already explained, the system can be designed to select a target database from a plurality of target databases for queries on the interface, which target database contains the data to answer the query. The authorization module is configured to a) assign a role and / or a user to the request; b) determine whether the target database is a relational database; and c) if the target database is a relational database, select a view from a plurality of views using the role or information about the user; d) use the selected view to answer the request. The use of views has the advantage that, at least with regard to SQL databases, the data is not duplicated arbitrarily, while at the same time an effective access concept can be implemented. The configuration management module is designed to generate and store copies for different users and / or roles, depending on predefined and / or assigned permissions, for a (distributed) target hash database used as the target database. The copy hash databases created in this way can have different levels of anonymization, similar to the views or SQL tables discussed above. In one embodiment, there is a correlation between different permissions and different target hash databases. In one embodiment, there are correlations between different roles and the copy hash databases. These are therefore role-specific copies. A hash database, as defined in the present invention, is a non-SQL-based database. This can be a database that stores key-value pairs. The hash database can be a distributed database, such as Amazon's DynamoDB®. Hash databases of this type are highly efficient at responding to queries. Creating copies does not impair this performance. By cleverly distributing the individual copies across different servers, the system's performance can be further increased. The system is configured to select a target database from a plurality of target databases for queries on the interface, said target database containing the data to answer the query. In this context, the authorization module can be further configured to: a) assign a role and / or a user to the query; b) determine whether the target database is a hash database; and c) if the target database is a hash database or a hash table, using the role or information about the user, select a copy hash database from a plurality of copy hash databases to be used to answer the query. In one (preferred) embodiment, SQL databases and non-SQL databases, particularly hash databases, exist in parallel. The anonymization of SQL databases is achieved in this context using different approaches. For example, SQL databases can be anonymized by providing different views, and non-SQL databases can be anonymized by duplicating individual data (see copy hash databases). The system recognizes at least these two anonymization approaches and, when answering a query, determines the entity (view or copy) to be used given the given authorization. Thus, despite the necessary anonymization, different database implementations can be used. The different database implementations can be tailored, in particular, to how the data can be stored and queried most efficiently.Regardless of the specific implementation of the respective database, the necessary data protection can be implemented. The specific technology used to implement the respective databases is not transparent to external access (via the interfaces), allowing for uniform access. In one embodiment, the system comprises a data collection context module configured to store a data collection context for at least a selection of data records on the at least one target database. The data collection context can be, for example, a time of data collection, an objective of data collection, a data retention period, a legal basis for data collection, information on associated retention policies, etc. By recording the data collection context, it is possible to initiate various forms of anonymization based on this data. Partially or fully automated retention policies for individual data can also be implemented. For this purpose, the system, in particular the configuration management module, can be configured to select data based on the data collection context and to store the selected data in an anonymized form. In one embodiment, at least some of the data in at least one target database is encrypted, wherein the system is configured to receive a security token and, based on the security token, to determine whether the client computer submitting the request is authorized to communicate with the system and / or to receive the requested data. A key database may be provided for this purpose, wherein the system is configured to select a key using the key database, which key is used to decrypt encrypted data, in particular from the at least one target database. The system according to the invention can thus also perform a key management function, whereby a requesting client computer / user authenticates itself to the system, and the system selects keys for accessing individual encrypted data in the target databases based on its own authorization concept. Using the driver described above and the system according to the invention, it is thus also possible to implement an authorization system for older applications running on the client computers that is implemented uniformly across all access requests. The object mentioned at the outset is further achieved by a method for answering at least one request by means of a response data record, the method comprising the following steps: a) receiving at least one request via an interface, in particular a REST API; b) assigning a role and / or a user to the request; c) querying data from at least one target database in response to the received request; d) determining whether the target database is a relational database, wherein for a relational target database, views for at least one target table are generated and stored for different users and / or roles depending on predetermined and / or assigned authorizations, wherein the view is configured depending on the authorizations so that values from the target table are replaced with anonymized values;e) determining whether the target database is a hash database, wherein role-specific copies are generated and stored in the form of a copy hash database for a target hash database for different users and / or roles depending on predefined and / or assigned authorizations, wherein the copy hash database is modified depending on the authorizations so that values from the target hash database are (selectively) replaced with anonymized values; f) determining whether the client computer and / or the user is authorized to query; and g) transmitting at least one response data record to answer the request, wherein at least some data of the response data record is anonymized if it is determined that restricted authorization exists. If the target database is a relational database, a view is selected from a variety of views using the role or information about the user, which is used to answer the query. Furthermore, if the target database is a hash database, a copy hash database is selected from a plurality of copy hash databases using the role or information about the user, which is used to answer the query. The method offers advantages, as already explained in connection with the system. The method can be implemented on the system already explained. The description of the system results in implicit method steps for the method according to the invention, which further define it in various embodiments. The object mentioned above is further achieved by a computer-readable memory with instructions for implementing the aforementioned method, particularly if the instructions are executed on at least one computing unit. This also results in similar advantages to those already described in connection with the systems according to the invention. Further advantageous embodiments emerge from the subclaims. The invention is described below using several exemplary embodiments, which are explained in more detail with reference to the accompanying drawings. Figure 1 shows a schematic representation of the system according to the invention, which is communicatively connected to a client computer via the Internet; Figure 2 shows a detailed schematic representation of the system according to the invention according to Figure 1; and Figure 3 shows a schematic representation of variously anonymized data. In the following description, the same reference numbers are used for identical and equivalent parts. Fig. 1 shows a client computer 10 which is communicatively connected to an embodiment of the system 100 according to the invention via the Internet 1. At the level of abstraction shown, the system 100 includes a relational database 30 and a hash database, for example a DynamoDB® database from Amazon. Various applications can be installed on the client computer 10, which typically communicate with a database via an ODBC interface. In the illustrated embodiment, a database driver 12 is provided, which enables the applications to communicate with a REST API 105 (see Fig. 2) of the system 100 via a JDBC driver. Fig. 2 shows the system 100, with some software components highlighted schematically. These software components include: Data Import ModuleComponent responsible for supporting: - Authentication of external data providers (e.g. hospital systems) - Encryption of data provided by external data providers - Receiving and storing data provided by external data providers Data Export ModuleComponent responsible for supporting: - Authentication of external systems to which data is made available - the encryption of data made available to external systems, - Provision of persistent data for external systems Data Flow ModuleComponent responsible for: - the execution of data flows between different data stores - Support for the configurability of such data flows, where applicable - Supporting the operational monitoring and management of such data flows Data flows between the following data stores are managed by this component: - Data stores used by the data import module - Data stores used by the data export module become - SQL database - Hash database Data Access Module: A component that implements data access and supports anonymization. This component accesses data by, in one embodiment, always performing the same steps sequentially, taking the following points into account: - Data collection context of data access - Data authorization, security and data protection configurations of data access - security logic to be applied to data access - data protection technology logic to be applied to data access - audit trails to be applied for data access - physical data access operations for SQL and hash databases This component delegates much of its functionality to the corresponding modules via its defined endpoints. SQL Database Proxy (FRAPPiD-based Application SQL Data Store Proxy) component that intercepts calls to the SQL database to route data access through the logic of the data access module. This component may require client-side dependencies (e.g., libraries, packages, modules) for the supported runtimes (e.g., JVM, .NET, Python) and operating systems (e.g., Windows ".dll", Linux ".so", ".a"). Non-SQL database proxy (FRAPPiD-based Application NoSQL Data Store Proxy) component that intercepts calls to non-SQL databases to route data access through the logic of the Data Access Module. This component may require client-side dependencies (e.g., libraries, packages, modules) for the supported runtimes (e.g., JVM, .NET, Python) and operating systems (e.g., Windows ".dll", Linux ".so", ".a"). SQL database (“FRAPPiD based Application SQL Data Store”) component that stores application data in one of the supported SQL data stores. Access to this component is almost exclusively via the “Data Access Module.” Hash database ("FRAPPiD based component that stores data from applications in one of the supported non-SQL data stores, e.g. a Application NoSQL Data Store")hash database. In one embodiment, access to this component is (almost) exclusively via the data access module. Data Collection Context ModuleComponent responsible for providing: - Data collection context - Management UI for managing data collection context data - Persistence of data collection context information The legal basis for data collection may include, but is not limited to: - Data attributes related to the consent of the data subject - Data attributes related to the data processing agreement with the data controller - Data attributes related to a legal obligation requiring data collection - Data attributes related to the vital interest of the data subject - Data attributes related to the public interest Configuration Management ModuleComponent responsible for providing: - Application configuration via defined endpoints - UI for maintaining application configuration data - API for maintaining application configuration data - Persistence of application configuration data Authentication ModuleComponent responsible for: - Perform additional authentication with authentication factors (e.g., client certificates, one-time passwords, push notifications, confirmation emails, notification emails, security questions) - Manage, issue, deploy, verify these additional authentication factors Security Engineering ModulesComponent responsible for providing: - Wrapper for supported encryption methods via defined endpoints - Wrapper for supported hashing methods via defined endpoints - Functionality for managing, deploying and applying encryption keys - a set of APIs to make selected functions available to applications Audit Trail SystemComponent that supports irrefutable logging of data access, including endpoint and SQL access to various components along the data access path. One aspect of the invention is that the client computer 10 communicates with the data access module 110 via the REST API 105. The data access module represents a central component of the system 100 and essentially organizes the response to queries issued by the client computer 10. In the described embodiment, database connection modules or database proxies are located between the REST API 105 and the data access module 110. These can be used to forward queries to the data access module 110 in a target database-specific manner (cf. the relational database 30 or SQL database or the hash database 40). In the illustrated embodiment, the left-hand module is an SQL-specific database connection module 140, and the right-hand component is a database connection module for non-SQL target databases. In Fig. 2 it is illustrated by way of example that the data requests do not originally originate from the client computer 10, but from applications running on it. In one embodiment, the application is one that would typically communicate with a suitable target database via an ODBC interface. According to the invention, as already explained, the client computer 10 has a database driver 12 that translates a submitted SQL query into a REST request. For this purpose, the addressed table name from the query is parsed and specific field specifications are resolved. Non-specific field specifications, such as a wildcard symbol ("*"), can also be translated into individual field names, provided the target database is known. The typical SQL conditions that are set for a specific query (keyword: "WHERE") can also be translated. Essentially, the database driver 12 generates a REST request from the SQL query and sends this REST request via interface 105 to the system 100. There, the query is processed, among other things, by the data access module 110. The data access module 110 selects a target database, in the example the relational database 30, based on the data provided by the database connection module 140. In one embodiment, the data access module 110 also determines the extent to which original data or partially anonymized data can be made available in response to the request. For example, the requesting application on the client computer 10 can be assigned a specific role within the system 100 based on identification information. This role can be linked to a specific view of the relational database 30. Fig. 3 shows two different views, namely a complete database view 31 and an at least partially anonymized database view 32. For example, the tables or views shown may contain patient data. While the complete database view 31 contains the name, exact date of birth, and blood type, the anonymous database view 32 only contains the name, the year of birth, and no blood type information. To generate the anonymous database view 32, the blood type was simply set to a zero value ("NULL"). After selecting one of these views, the corresponding data can be returned from the data access module 110 to the application on the client computer 10 via the REST API 105. This makes it easy to provide clearly structured data in an anonymized form. The approach using views shown in Fig. 3 has the advantage that 30 records only need to exist once in the relational database and the necessary anonymization functions are performed online when querying the records. A significantly different approach can be used for non-SQL-based databases. Using the hash database 40 as an example, it is possible to create copies of an original hash database and permanently overwrite certain values there. Therefore, the data access module 110 will select the hash database associated with the user role of the querying application for a query directed to the hash database 40, depending on the assigned role. This approach has the advantage of achieving high performance. In the described embodiment, both approaches are pursued in parallel, depending on the technical implementation of the respective target database. However, according to the invention, it is also conceivable to implement only one of these approaches in a system 100. In one embodiment, system 100 includes a data collection context module 150. This data collection context module can be configured to collect data and store it in the target databases, for example, in relational database 30 or hash database 40. As part of this collection process, additional information indicating the context of data collection can be stored. A separate database can be provided for this purpose. The context data or data collection context can include: - unique identifier of a data collection context - scope of data collection - purpose of data collection - duration of data collection - legal basis of data collection - applicable regulations for compliance with data protection This context data can be used to initially determine the necessary anonymization steps for the stored data. In addition, the content of the target databases can be changed depending on temporal sequences. For example, it is conceivable that certain data can only be retained for a certain period of time. In this respect, the system 100 according to the invention allows data to be deleted based on the context at a certain point in time. Additionally or alternatively, it can be provided that certain data can be made available to the general public or to certain applications after a predetermined point in time. In this respect, it is not necessarily necessary for the degree of anonymization to increase over time. Theoretically, scenarios are also conceivable in which less anonymization information exists at a later point in time. The mechanisms described are also not limited to purely temporal information. For example, the context can indicate the purpose for which certain data was collected and thus influence which access roles are authorized to query certain data. Reference symbol 1 Internet 10 Client computer 12 Database driver 30 Relational database 31 Full database view 32 Anonymous database view 40 Hash database 100 System 105 REST API 110 Data access module 120 Configuration management module 130 Authentication module 140 Database binding module 150 Data collection context module

Claims

A system for storing data, in particular personal data, comprising:- an interface (105), in particular a REST API;- an authorization module (130);- at least one target database (30, 40) for storing the data;- a configuration management module (120); and- a data access module (110) designed to:a) receive requests from a client computer (10) via the interface;b) query data from the at least one target database (30, 40) in response to the received request;c) determine whether the client computer and / or the user are authorized to query;andd) to generate a response data record to answer the request and transmit it to the client computer, wherein at least some data of the response data record is anonymized if it is determined that restricted authorization exists, wherein the authorization module (130) is designed to:- assign a role and / or a user to the request;- determine whether the target database is a relational database;- if the target database is a relational database (30), using the role or information about the user, select a view from a plurality of views (31, 32) that is used to answer the request;- determine whether the target database is a hash database; and- if the target database is a hash database, using the role or information about the user, select a copy hash database from a plurality of copy hash databases that is used to answer the request;wherein the configuration management module (120) is designed to - generate and store the views (31, 32) for at least one target table for different users and / or roles depending on predefined and / or assigned authorizations for a relational target database (30, 40), wherein the view (31, 32) is configured depending on the authorizations so that values ​​from the target table are replaced with anonymized values; and - generate and store role-specific copies in the form of a copy hash database for different users and / or roles depending on predefined and / or assigned authorizations for a (distributed) target hash database used as the target database, wherein the copy hash database is modified depending on the authorizations so that (selectively) values ​​from the target hash database are replaced with anonymized values. System according to claim 1, comprising:a database driver (12), in particular a JDBC driver, installed on at least one client computer (10), which is configured to communicate with the interface (105). System according to one of the preceding claims, in particular according to claim 2, characterized in that the database driver (12) comprises a parser unit which is designed to receive a character string with an SQL expression and to extract field names, in particular of database tables, from the SQL expression in order to create a query for transmission to the interface (105) using at least a selection of the field names and / or the database driver (12) is designed to encapsulate the SQL expression, for example as a character string, in a REST request and to output the request on the interface (105). System according to one of the preceding claims, characterized by: a database that stores a plurality of roles and / or users, wherein authorizations are assigned to the roles / users, wherein an authorization module (130) is designed to assign at least one role or user from the database to at least one selection of requests received by means of the interface (105) and to determine, based on the assigned authorization, which data is transmitted by means of the interface (105) in response to the respective request. System according to one of the preceding claims, characterized in that the system is designed to select, for queries on the interface (105), a target database from a plurality of target databases (30, 40) which contains the data for answering the query. System according to one of the preceding claims, characterized by: a data collection context module (150) which is designed to store data collection context, for example a time of data collection, an objective of data collection, a data retention period, a legal basis for data collection, information on associated retention policies, for at least a selection of data records on the at least one target database. System according to one of the preceding claims, in particular according to claim 6, characterized in that the system, in particular a / the configuration management module (120), is designed to select data based on the data collection context and to store the selected data in an anonymized form. System according to one of the preceding claims, characterized in that at least some data of the at least one target database (30, 40) are encrypted, wherein the system, in particular an authorization module (top right), is designed to receive a security token and to determine on the basis of the security token whether the client computer (30) issuing the query is authorized to communicate with the system and / or to receive the queried data. System according to one of the preceding claims, in particular according to claim 8, characterized by: a key database, wherein the system is designed to select a key using the key database, which key is used to decrypt encrypted data, in particular from the at least one target database (30, 40). Method for answering at least one request by means of a response data record, preferably using a system according to one of the preceding claims, comprising the steps: a) receiving at least one request via an interface (105), in particular a REST API; b) assigning a role and / or a user to the request; c) querying data from at least one target database (30, 40) in response to the received request; d) determining whether the target database is a relational database (30), wherein for a relational target database (30) for different users and / or roles, views (31, 32) for at least one target table are generated and stored depending on predetermined and / or assigned authorizations, wherein the view (31, 32) is configured depending on the authorizations such that values ​​from the target table are replaced with anonymized values;e) determining whether the target database is a hash database (40), wherein role-specific copies are generated and stored in the form of a copy hash database for a target hash database for different users and / or roles depending on predetermined and / or assigned authorizations, wherein the copy hash database is modified depending on the authorizations such that (selectively) values ​​from the target hash database are replaced with anonymized values;f) determining whether the client computer (10) and / or the user have authorization to query;andg) transmitting at least one response data record to answer the request, wherein at least some data of the response data record is anonymized if it is determined that restricted authorization exists,wherein, if the target database is a relational database (30), using the role or information about the user, a view (30, 31) is selected from a plurality of views (31, 32) that is used to answer the request, andwherein, if the target database is a hash database (40), using the role or information about the user, a copy hash database is selected from a plurality of copy hash databases that is used to answer the request.; Computer-readable memory with instructions for implementing the method according to claim 10, when the instructions are executed on at least one computing unit.

Citation Information

Patent Citations

  • System for providing dynamic data informed consent to provide data privacy and security in database systems and in networked communications

    EP1226524A2

  • Creating an access control policy based on consumer privacy preferences

    EP2656274B1

  • Systems and methods for enforcing centralized privacy controls in de-centralized systems

    US10572684B2

  • US000010572684B2