Understanding 3 Paradigms of "Data" Flowing in Blockchain Networks?
Original source: White Plan
Blockchain is a technology in which multiple parties jointly complete the general ledger recording process. Multiple computing parties involved connect their devices into a network, forming an open blockchain network, such as Bitcoin, Ethereum, Poka, etc. All computing participants share resources and providedevelopersAnd the user.In such operation rules, "data flow" through each operation step.From the communication of the underlying nodes to block packaging, replication, validation, and then to the transaction transfer at the application layer. Balance, account data, and data links from transfer transactions in the network to each node.That's why the paradigm of blockchain for data processing is the biggest advantage over traditional databases.Here, have to say is, in a long cycle, Internet data has been identified as the value core, at the same time, a large amount of data processing and management problems to be solved, the good news is that many chain project is trying to use the block chain technology and combine with other technologies, formed based on the data block chain solutions.For example, a pluralistic structural design and a variety of computing forms have been added to the data structure of the blockchain.In this paper, Project White will explain the three paradigms of current blockchain project data processing, including: the most common blockchain data structure paradigm, and the case is the Prophet NetworkChainlink; Hardware based data flow paradigm, illustrated by the case of Japanese Internet of Things project Jasmy; And the data flow paradigm based on trusted computing which is the most difficult to realize at present, explains that the project is data trusted computing networkPlatON. These three paradigms are bound to change the data market on a large scale in the future.1. Basic and advanced data structure based on blockchain
The flow of data in a blockchain network works like this: nodes discover transactions (data), package transactions into blocks, broadcast by the packaging nodes, and the nodes participating in the consensus copy the blocks and save them (or, after the consensus node confirms the preservation, all other full nodes copy the blocks).In this way, the data on the blockchain becomes trustworthy (public and transparent, and cannot be tampered with).
The data is stored in blocks, which tend to be small bits of information due to the limited size of blocks, such as Bitcoin transfer transactions, Ethereum transfer and contract call messages.We can replace these transaction information with other information, such as product traceability flow information. It can also be replaced with any information that can be made public, such as AD clicks,Public welfareDonation usage, bank co-management account information, etc.But because other bits of information are larger, smaller bits of information like transaction data are more suitable for storage in blocks. After confirmation by multiple parties of the blockchain, these public data are trusted and can be read and used.The most commonly used example of this pattern today is the Oracle prophet. Such as Chainlink.2. ChainLink's Prophet Network Data Structure
We all know that Chainlink has become a lotDeFiThe application's price input source because the feed offered in its network is sufficientsecurityAccording to ChainLink's technical documentation, the ChainLink network is connected to many price input points, such as Karken Rates, and each price input is updated by multiple independent ChainLink Oracle operators connected to ChainLink, and then summarized for on-chain processing.Chainlink's price processing model
The on-chain processing results in trusted price data that can be discovered and used by the Defi app. Based on the number of times the data is used, the LINK token is paid to the network, and the price provider that provides the feed will receive an incentive income from that price.In this model, the data input from outside the Chainlink network is summarized and processed on the chain, and finally transferred to the demander to realize the value.There are also a number of key parts to this process, such as the fact that each price feed is updated by distributed Oracle. Each price feed takes prices that are scattered in many places and is ultimately aggregated for processing, and each price feed has a different number of scattered predictors. For example, in theETHIn the/USD price feed, there are 21 predictor feed sources.In order to update the most accurate data at any time, process the feed priceIntelligent contract, at least 14 out of the 21 forecasters received must provide the price data for the data to be updated successfully.It is extremely important that the data in the above operation is correct and reliable, otherwise there will be a case of hijacking the prognosticator to carry out price attack on the DEFI application.
Therefore, there should be certain rules to deal with exceptions, including: taking the average value of the price; The price deviation is very large and the price update will be resumed; There are specified price aggregation times, etc.ChainLink has created the best example of trusted data (simple data) based on blockchain consensus, and the rise of DEFI is a big part of the predictor's role in shaping the underlying security of DEFI, and in outputting the blockchain data structure into a commercial model of streaming payments, which is, of course, a decentralized commercial model.3. Data flow based on hardware acquisition
Chainlink's pattern is widely used, but in the most basic structure mentioned above, if we carefully examine it, we can clearly see some shortcomings. For example, the data becomes trusted after chaining, but the process of "data chaining" and before chaining is not controllable. The bigger problem is that ChainLink deals with simple data, small bits of data that are open to the public. Therefore, such data model can make some process transformation, and finally shape a data process like this:Encryption of terminal (source of data generation) -- data store -- store data hash on the chain -- data flow on the chainSuch a process can be described as the data flow based on the combination of hardware terminal, distributed storage and block chain network. At present, it is famous for the integration application of Internet of Things network. Today, our illustration is Jasmy, the Internet of Things network originated in Japan.The network once cooperated with TOYOTA and WITZ, a travel service provider, to process the terminal data of intelligent cars through the model of the platform, and to mine the data value on the basis of avoiding the compliance of personal information.Let's dissect the data processing paradigm.The first is the terminal of the Internet of Things. The device terminal of the Internet of Things includes devices with terminal computing capacity such as smart devices, mobile phones and computers, which can manage the data at the terminal by means of edge computing. Includes encryption and some administrative integration.
JASMY for hardware terminal management example
In this part, because a large number of terminal devices need to be managed, Internet of Things devices need to be connected to form an Internet of Things platform, which is mainly responsible for the management of devices.The next step is because the data category is complex and has been encrypted at the device end. In order to realize the data can be called, the data needs to be uploaded to an open network environment, and the data can be checked and downloaded at any time, but its ownership and use right need to be controlled.Therefore, in order to process large amounts of data, distributed storage will be applied. The most convenient example is the data storage structure based on IPFS.After the completion of the distributed storage of data, the binding conditions of ID, ownership and incentive in the blockchain network are met. The file hashes of the distributed storage can also be stored in the blockchain and made public and transparent.4. Data processing paradigm of Internet of Things technology integration
This process is different from the form realized by Oracle, the most different is that the Internet of Things terminal is used to complete the encryption at the edge end, and the encryption based on the end is used to complete the subsequent circulation.The process of Jasmy is as follows:1. The Internet of Things platform is responsible for the management of terminal Internet of Things devices, and the use of Jasmy's SKC service and SG service to realize terminal data encryption and management.2. The data of the terminal is stored in Jasmy's personal data cabinet for distributed storage. During this process, SKC and SG technologies can locate the data to personal ID or device ID.3. File hash on the chain of distributed storage, the ID on the chain is bound to the file hash.4. Data trading applications developed based on blockchain network can transfer data value, that is, exchange data ownership and data use right.5. Data users can call the data in the distributed storage personal data cabinet.Such a process benefits from several characteristics of Jasmy. Jasmy has the Japanese hardware manufacturer Sony's encryption technology in the field of hardware and the supply chain capability in the field of the Internet of Things. It can be easily realized on the advantages of the Internet of Things that other ordinary blockchain entrepreneurs cannot achieve. For example, the core technology of SKC is Felica, a contactless chip encryption technology that has been used in Japan for many years. This technology is providing security guarantee for Sony products. This is exactly the new calculation method added to the JASMY structure.In addition, Jasmy can cooperate with hardware manufacturers to launch devices with terminal security and computing capabilities, so as to participate in the network. For example, Jasmy launched Jasmy Secure PC.Such an architecture is already being used by Japanese companies, including Toyota Motor, Witz, Vaio and others.The data value realization model shaped by Jasmy
Compared with the previous form of Chainlink Oracle, Jasmy's advantage lies in the encryption of the Internet of Things terminal and the realization of distributed storage of personal data cabinet. If distributed data storage is not taken into account, Chainlink is also moving towards the network structure of hardware-assisted data source security. It is trying to use hardware with an executable security environment as the Oracle data source to achieve the trust of the data side. It is the same as Jasmy's practice on the hardware side.5. Data flow based on data trusted computing
It can be seen from the design model of Jasmy that a very prominent effect can be achieved after the simple model of blockchain is supported by some technologies. If more technologies are integrated, what can be achieved?For data, what data needs most is the ownership of ownership, and the reliable flow of data based on data ownership, that is, the availability of data implementation is not visible, and a series of requirements to ensure the equity of data owners.This paradigm, which we can define as data flow based on trusted computing model, can be broken down into distributed storage, data ownership definition, and trusted execution. We use Platon for this part.In Platon's network structure, there is a separate layer called Layer2 for trusted computing. Layer2 can be thought of as the "down chain" part, which is responsible for computing and storage. Therefore, Platon's data trusted computing also implements data processing outside of the Layer1 blockchain structure, and then utilizes the ownership of rights and incentives brought by the blockchain network.Platon's layered logic and function allocation
In the figure above, we can see that in the Layer2 computing network, the State is stored, which is the carrier node of the data storage. In this structure, the account model and the data storage are combined together.According to Platon's technical documentation, although Platon uses Ethereum's account model to store data in state fetching, due to the large amount of data, it chooses not to store the state data in Patricia Tree (Ethereum's storage structure), but separately in another SNAPDB (database) that does not store the historical state.
According to Platon, on-chain storage should take into account the cost, and only valuable information that needs to be agreed upon by all ledgers should be stored in the public ledger. Valuable information includes block, transaction, and account data.Platon's data storage model
So Platon's storage is divided into an account data store (statedb) and a snapshot store (snapshotdb), one obviously on the chain at layer1 and one at layer2.But in layer2, also to additional processing of data, computing characteristics, give full play to its data processing is done by the trusted computing equipment and technology, including verifiable calculation (VC) algorithm can realize the interactive proof, expansion and calculation scheme under the chain of secure multi-party computation (MPC) combined with secret sharing (SS) and homomorphic encryption (HE)Privacy calculationAgreement, etc.In addition, there are MPC virtual machines to perform trusted smart contract calculations, which are the basis for smart contract operations throughout the network.Through the implementation of these layer2 layers, when the data flow and data application are finally realized, the original data can not only be leaked, but also the calculation of collaborative calculation and result verification can be conducted.It is important to note that computing devices with Layer2 access need to have dedicated computing power to perform certain application scenarios. It requires super computing power, and have the ability to trust. Therefore, Platon will enable high performance computing devices such as FPGA/ASIC to connect to the network to meet the requirements of this process.Compared with the two paradigms of Chainlink and Jasmy, Platon has obvious differences. In terms of technology integration application, Platon has put a great research and development force into Layer2, and its technology implementation is more challenging.6. Application analysis of three data processing paradigms
The above three paradigms are the mainstream blockchain-based data processing methods, but how about their application?First of all, it's hard to argue that the first simple model is the most widely used, because it's so targetedfinancialDomain, as in the development of DEFI, where ChainLink played a huge role, represented by this model, as well as the application of chains such as traceability.Some of the Chainlink nodes are available to feed the display
However, Oracle is a paradigm oriented to simple high-frequency data. This model is simple and easy to apply, but it is not good at solving the problems left over from the Internet society.For example, when it comes to data privacy, Oracle is more about public data trust than specific data parts.Data flow based on the Internet of Things is a paradigm that is obviously oriented to life and commercial data processing. For example, the application of Jasmy has been targeted at Internet APP data, enterprise office data, and some hardware ecological data.This is a paradigm that is designed from the client to the platform and the business ecosystem flow. This is, by far, the most commonly used paradigm structure.The last trusted computing is a paradigm that is mainly oriented to the commercialization of data assets. The most difficult part to solve is that the data can not be seen in the cooperation scenario of commercial data, and the trust of a huge amount of data, which requires not only technology, but also the equal emphasis on trusted technology, computing power and storage.Therefore, each of the three paradigms has its advantages and disadvantages, and Oracle's paradigm is best suited to encryptioncurrencyDefi of the domain. Jasmy, as an example, has the widest application boundary and can be applied to fields other than simple financial data. The technology is relatively complete, but there is still a need for more detailed data definition and specification. A third paradigm trend can be developed.The third data paradigm is technically feasible, but it still needs a process to be applied to the ground. The more detailed definition and specification of the ownership of data rights and interests, as well as the technical realization of high concurrency and high-speed computing processing, are the more difficult parts to be applied to the ground.7. Write at the end
The data problem is bigger than the tiger, but the solutions are already well prepared in the innovator's practice. Once the implementation process of the blockchain project accelerates, the above three paradigms will create more business value.For example, Jasmy carries out confidential design and terminal data management of enterprise data, which can increase the exploitable value of edge data and increase the utilization rate of enterprise data. Platon implements the invisibility of data that is available, which can then be applied in the field of AI private computing to help with the application of data in the machine learning process, which is a lotindustry, such as AI+ medical care, AI+ travel, AI+ Internet applications, etc.A few years ago, we will be in the presence of exclamation AI technology saying "in the future have to", but the author thinks that, nowadays, solve the problem of the data, we can truly say "the future is to" safely, because this is a data to the owner of the new future, the Internet data chaotic era cannot represent the new future.The original link
Welcome to join the official BlockBeats community:
Telegram Subscription Group: https://t.me/theblockbeats
Telegram Discussion Group: https://t.me/BlockBeats_App
Official Twitter Account: https://twitter.com/BlockBeatsAsia