Patent ID: 11893009
Assignee: NCHAIN LICENSING AG
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 9:
10. A DBMS system for managing access to data associated with one or more transactions pertaining to a distributed ledger, wherein the data managed by the DBMS is stored in a data structure, wherein the DBMS comprises:
a registration and access management system having one or more processors configured to execute instructions that perform a method comprising the steps of:
responsive to a request for registration with the DBMS, creating a record associated with a given user, the record including an identifier for the given user among a plurality of users;
obtaining a public key P associated with the given user; the public key being part of a cryptographic key pair associated with the given user, the cryptographic key pair including a private key V for the given user;
obtaining or assigning one or more attributes associated with the given user, wherein each attribute is associated with a setting relating to access to a database managed by the DBMS;
updating the record based on the obtained public key P and the one or more attributes associated with the given user; and
storing or providing the updated record in association with the DBMS;

a transaction execution system having one or more processors configured to execute instructions to perform; a method comprising the steps of:
receiving a message associated with a current instance of a user record for a given user among one or more users, and a request associated with the database, the request being provided by the given user;
parsing the request associated with a database, including:
retrieving one or more attributes associated with the given user from the current instance;
verifying that a setting for each of the retrieved attributes is valid for the request made by the given user; and
responsive to successful verification, performing one or more operations associated with the database based on the request, wherein the database is based on a data structure, and wherein the step of performing further includes:
if the request is associated with a read operation, obtaining one or more transaction identifiers (TTxID, ETxID) related to the request, each obtained transaction identifier pertaining to a transaction, whereby the data for said transaction is associated with the data structure; and
accessing the data relating to the obtained transaction identifier (TTxID, ETxID) from the data structure;

if the request is associated with a write or modify or delete operation, then in addition to the step of obtaining, the method further includes generating one or more transactions for spending or processing the transaction(s) associated with the obtained one or more transaction identifiers (TTxID, ETxID) based on the operation; and
updating the data structure with identifiers relating to the generated transactions;

one or more registers for storing a plurality of transaction identifiers associated with the database; and
a UTXO set or a memory for storing a copy of a plurality of UTXOs associated with the database.