Metadata-driven blockchain platform
It mainly describes a blockchain platform architecture, method and system implemented in a cloud computing environment using distributed ledger technology (DLT). The following is a summary of the key points of the document:
Platform architecture:
Blockchain interface: The system operates the blockchain interface on the host organization to interact with the blockchain on behalf of multiple tenants, and each tenant accesses the blockchain as a participating node.
Blockchain service interface: It provides components such as blockchain consensus manager and blockchain metadata definition manager for defining and creating metadata and pushing them to the blockchain.
Cloud computing environment: The host organization provides cloud computing services, including database systems, application servers, etc., to support the operation of the blockchain platform.
Metadata-driven blockchain:
Metadata definition: Users declare new applications, network participants, entity types and new field definitions through a graphical user interface (GUI) or application programming interface (API), and the system generates blockchain assets containing these metadata and trades them to the blockchain.
Smart contract verification: The system executes smart contracts to verify the updated values of data records on the blockchain to ensure that they meet the defined metadata requirements.
Data management and retrieval:
Index mechanism: Use Merkle tree index or Merkle DAG index to improve data retrieval efficiency, and store the address information of data records on the blockchain through index.
Data serialization: Convert data records into serialized byte streams through protobuf generator to improve storage efficiency and data security.
Incremental update: For data streams with high frequency updates, the system first buffers the updates in the index, and then writes them to the blockchain in batches regularly.
Event monitoring and triggers:
Event listener: Monitor changes on the blockchain, trigger defined events, and execute corresponding business processes or database transactions.
Triggers: Users can define triggers based on blockchain events to automatically perform preset operations, such as sending notifications, updating databases, etc.
Multi-tenant and permission management:
Multi-tenant support: The system supports multiple tenants operating on the blockchain, and each tenant can define their own applications and data.
Permission control: Define participant permissions through metadata to control access to blockchain data and applications.
Business rules and smart contracts:
Business rule definition: Users define business rules through the GUI, and the system converts them into smart contracts and deploys them on the blockchain.
Smart contract execution: Transactions on the blockchain trigger smart contract execution, verify data and update blockchain status according to defined rules.
System deployment and application:
Deployment process: Users declare applications, entities and fields through the GUI, the system generates blockchain assets and trades them to the blockchain to complete the deployment of the application.
Application scenarios: Applicable to various scenarios that require data transparency and immutability, such as supply chain management, financial transactions, and medical records.
These points outline the key features and implementation methods of the declarative and metadata-driven blockchain platform described in the document, emphasizing its advantages in improving data transparency, ensuring data integrity, and supporting complex business logic.