简体   繁体   English

区块链数据结构

[英]Blockchain Data Structure

I am looking for a general view on blockchain technology in the terms of data management and structure to put on chain, my objective is to have as much data as possible legally to be on the chain to perform data analysis/visualisation, business intelligence etc. 我正在就链上的数据管理和结构方面寻找区块链技术的一般观点,我的目标是在链上合法地拥有尽可能多的数据以执行数据分析/可视化,商业智能等。

AFAIK blockchain is known ( or want to be known at least ) as the source of truth for data that is shared upon multiple parties, tending to this there is some Privacy Data Acts to protect individual data points of any individual, adding on there is multiple encryption techniques to be performed on the chain for encryption. AFAIK区块链被称为(或至少希望被人们知道)是在多方共享的数据的真实来源,因此,存在一些隐私数据法案来保护任何个人的个人数据点,此外还有多个在加密链上执行的加密技术。

Now if everything we would put on the chain is encrypted in a way how can it be related back to the 'source of truth' that we are trying to get adding on legal constraints available where do we draw the line on this? 现在,如果我们将要放在链上的所有内容都以某种方式进行加密,那么如何将其与“真相来源”相关联,我们试图在此基础上增加可用的法律约束条件,在此基础上划清界限? My Question would be then how do we structure the data to be placed on chain and what cryptography methods is recommended? 我的问题是,我们如何构造要放在链上的数据,建议使用哪种加密方法?

Traditional Blockchains are a ledger and are good for storing transactional data, smart contracts(code that is stored at a certain address on the chain that can be activated), or storing on chain permissions/access. 传统的区块链是一个分类账,非常适合存储交易数据,智能合约(存储在可以激活的链上某个地址的代码)或存储在链上的权限/访问权限。 Access to data on the chain can vary. 访问链上的数据可能会有所不同。 All users can view your transaction history, the main privacy there is that no one knows your address. 所有用户都可以查看您的交易历史记录,主要的隐私是没有人知道您的地址。 After that smart contracts can provide a greater window of privacy by limiting users by their public private key addresses. 之后,智能合约可以通过限制用户的公共私钥地址来提供更大的隐私窗口。

The issue though is that once something is deployed on a blockchain you can never take it down. 但是问题是,一旦将某种东西部署在区块链上,您就永远无法取下它。 That means if that encryption method is ever broken our you passwords/public-private keys are compromised, the data you stored up there is public information forever. 这意味着,如果这种加密方法遭到破坏,那么我们的密码/公钥/私钥都会受到威胁,那么您存储在那的数据将永远是公共信息。

If you are using a traditional blockchain I would, based on personal experience, suggest you use the chain to manage your data, but store your data off the chain for now. 如果您使用的是传统的区块链,我会根据个人经验,建议您使用链来管理数据,但暂时不在链上存储数据。 This field is still new, and I would take a bigger look at decentralized technology in general. 这个领域还是一个新领域,我将在总体上更深入地研究分散式技术。 There are many decentralized options which may better suit your needs than the standard blockchain. 与标准区块链相比,有许多分散式选项可能更适合您的需求。 Distributed Hash Tables(DHT) and IPFS are both decentralized data storage solutions that may make more sense for you to use, for example. 分布式哈希表(DHT)和IPFS都是分散式数据存储解决方案,例如,对于您来说,使用它们可能更有意义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM