区块链保存类型有哪些,区块链保存类型是什么
请查看相关英文文档
① Blockchain, 4 types, how much do you know
——Hello, I am mentality, focusing on sharing my understanding of blockchain and investment thinking. hope this helps.
Based on different usage requirements and scenarios, blockchain is divided into 4 types: public chain, alliance chain, private chain and hybrid chain.
1. Public chain
Public chain means that anyone at any node in the world and at any geographical location can enter the system to read data, send transactions, and compete. Blockchain that participates in consensus such as accounting. No institution or individual can tamper with the data in it, so the public chain is completely decentralized.
Bitcoin and Ethereum are both representatives of public chains. Public chains generally encourage participants to compete for accounting (i.e. mining) by issuing tokens to ensure data security and consensus updates.
Bitcoin generates one block every 10 minutes on average, and its POW mechanism is difficult to shorten the block time. The POS mechanism can shorten the block time relatively speaking, but it is more likely to cause forks. So the transaction needs to wait for more confirmations before it is considered safe.
It is generally believed that a block in Bitcoin is secure enough after 6 confirmations, which takes about an hour. Such a confirmation speed is difficult to meet commercial-level applications. Therefore, public chains such as ETH and EOS that support more writing speeds are constantly developing.
2. Alliance chain
Alliance chain refers to a blockchain that is jointly participated and managed by several institutions, with each institution running N nodes.
The data of the alliance chain only allows different institutions in the system to read, write and trade. The PKI-based identity management system transactions or proposals are initiated through digital certificates and are verified by the joint signature of the participants. A consensus is reached, so there is no need for proof of work (POW), and there is no digital currency (token), which improves the efficiency of transaction completion and saves a lot of computing costs (computing hardware investment and electricity energy consumption).
Normally, nodes participating in the alliance chain will be divided into different read and write permissions, which can support more than 1,000 data writes per second.
3. Private chain
Unlike the public chain, which is completely decentralized, the private chain’s access rights are controlled by an organization, and the participation qualifications of each node are controlled by the organization. Authorization control.
Since the participating nodes are limited and controllable, private chains often have fast processing speeds and can support more than 1,000 data writes per second, while reducing the transaction costs of internal nodes.
Nodes can participate under real names and therefore have financial attributes to confirm identity. The value of the private chain is mainly to provide a safe, traceable, non-tamperable, and automatically executed computing platform.It can prevent security attacks or tampering of data from both internal and external sources at the same time, which is difficult to achieve in traditional systems.
The application scenarios of private chains are generally within enterprises, such as inventory management of branches, summary statistics of data from various places, etc. It can also be used in areas that can be supervised by the public, such as government budgeting and execution. Large financial groups are also currently inclined to use private chain technology.
4. Hybrid chain
When the respective advantages of public and private chains are combined, a hybrid chain will appear. The development of hybrid chains is difficult, but the prospects are broad.
In the future market, there will definitely be giant companies that develop underlying technologies and protocols. These giant companies will set up public chains, private chains or alliance chains for different purposes, based on performance and security. and the different needs of application scenarios, and then grafted on applications in different industries. For example, a communication public chain that supports high concurrency, a payment alliance chain that focuses on security, etc.
(Thanks for reading)
A like and a follow are the greatest support for me. See you tomorrow.
② What is blockchain, how was it born, and what are the types of blockchain?
If you want to understand blockchain, you must first understand the basic structure of the program. Everything we see on the Internet is constructed through computer language. There are many kinds of computer languages, but the most basic characters that make up the language are codes, and blockchain technology is a way of applying codes, which is different from traditional centralization. The difference between the models is that the blockchain has the characteristics of immutability, privacy, security, and consensus.
There are many application scenarios for blockchain. The most successful case so far is Bitcoin, followed by electronic invoices, cross-border payments, etc. Based on the interoperability of data, it is impossible to With characteristics such as tampering, it can also be used to save some important data. As long as this data uses blockchain technology as the underlying technology, it can never be destroyed and will be saved forever. No person or institution has the ability to modify or delete it. In addition, there are certain intersections between blockchain payment and education, medical care, credit reporting, automobiles, transportation and other fields. It is a technology, not a certain product, so there is only one type of it, but with the application As the scene changes, its role is also different. It can be integrated with existing scenes in almost any field and then derive other applications.
③ What are the blockchains in total?
Blockchain mainly solves the trust and security issues of transactions, so it proposes four technological innovations to address this issue:
(1) Distributed ledger means that transaction accounting is completed by multiple nodes distributed in different places, and each node records a complete account, so they can all participate in supervising the legality of transactions, and can also work together for His testimony.
Different from traditional distributed storage, the distribution of blockchainThe uniqueness of distributed storage is mainly reflected in two aspects: First, each node of the blockchain stores complete data according to the block chain structure. Traditional distributed storage generally divides the data into multiple parts for storage according to certain rules. Second, the storage of each node in the blockchain is independent and has equal status, relying on the consensus mechanism to ensure the consistency of storage, while traditional distributed storage generally synchronizes data to other backup nodes through the central node. [8]
No node can record ledger data independently, thus avoiding the possibility of a single bookkeeper being controlled or bribed to record false accounts. Also because there are enough accounting nodes, theoretically speaking, the accounts will not be lost unless all nodes are destroyed, thereby ensuring the security of the accounting data.
(2) Asymmetric encryption and authorization technology. The transaction information stored on the blockchain is public, but the account identity information is highly encrypted and can only be accessed with the authorization of the data owner, thus Data security and personal privacy are guaranteed.
(3) Consensus mechanism is how all accounting nodes reach a consensus to determine the validity of a record. This is both a means of identification and a means of preventing tampering. Blockchain proposes four different consensus mechanisms, which are suitable for different application scenarios and strike a balance between efficiency and security.
The consensus mechanism of the blockchain has the characteristics of "the minority obeys the majority" and "everyone is equal". "The minority obeys the majority" does not entirely refer to the number of nodes, but can also be computing power, the number of shares, or other factors. A characteristic quantity that a computer can compare. "Everyone is equal" means that when a node meets the conditions, all nodes have the right to give priority to the consensus result, which will be directly recognized by other nodes and may eventually become the final consensus result. Taking Bitcoin as an example, it uses proof of work. Only when more than 51% of the accounting nodes in the entire network are controlled, it is possible to forge a non-existent record. When there are enough nodes joining the blockchain, this is basically impossible, thus eliminating the possibility of fraud.
(4) Smart contracts, smart contracts are based on these trustworthy and non-tamperable data and can be automated Enforce some predefined rules and terms. Take insurance as an example. If everyone's information (including medical information and risk occurrence information) is true and trustworthy, it will be easy to automate claims settlement in some standardized insurance products.
④ What is the concept of blockchain
Literally understood, blockchain includes two concepts: block and chain. The blockchain itself is composed of blocks, and the network built by linking different nodes together is the blockchain. The main function of the blockchain is to store information. Any information that needs to be saved can be written to the blockchain or read from it.
Each block stores: some valid record or transaction; information involving the block; links to the previous block and the next block through the hash of each block - which can be considered a block The unique code of the fingerprint.
Thus, each block has a specific and immovable position within the chain, as each block contains information from the hash of the previous block. The entire chain is stored in every network node that makes up the blockchain, so an exact copy of the chain is stored among all network participants.
Uses
Essentially, blockchain can be used to store any type of information that must remain intact and be more secure than going through a middleman. , decentralized and cheaper ways remain available. Additionally, since the stored information is encrypted, its confidentiality is guaranteed as only those with the encryption key can access it.
Using blockchain in healthcare. For example, health records can be consolidated and stored on the blockchain. This means that every patient's medical history is secure and, at the same time, available to every authorized doctor, regardless of the health center where the patient received treatment. Even the pharmaceutical industry could use this technology to authenticate medicines and prevent counterfeiting.
Blockchain is also very useful for managing digital assets and documents. The problem with digitization so far has been that everything is easily copied, but Blockchain allows you to record purchases, deeds, documents or any other type of online asset without it being counterfeited.
⑤ There are several classifications of blockchain
1. Decentralization
Due to the use of distributed computing and storage, there is no centralized hardware or management organization, and any The rights and obligations of nodes are equal, and the data blocks in the system are jointly maintained by nodes with maintenance functions in the entire system.
2. Openness
The system is open. In addition to the private information of the transaction parties being encrypted, the blockchain data is open to everyone, and anyone can query the blockchain through the public interface. Data and development related applications, so the entire system information is highly transparent.
3. Autonomy
The blockchain adopts consensus-based specifications and protocols (such as a set of open and transparent algorithms) to enable all nodes in the entire system to exchange data freely and securely in a trustless environment. , so that trust in "people" is changed to trust in machines, and any human intervention has no effect.
4. Anonymity
Since the exchange between nodes follows a fixed algorithm, the data interaction does not require trust (the program rules in the blockchain will judge whether the activity is valid by itself), so the counterparty does not need to Making the other party trust you by disclosing your identity is very helpful for the accumulation of credit.
Outstanding advantages:
Information cannot be tampered
Once the information is verified and added to the blockchain, it will be stored permanently. Unless more than 51% of the nodes in the system can be controlled at the same time, otherwise Modifications to the database on a single node are invalid, so the data stability and reliability of the blockchain are extremely high.
(5) Blockchain storage types Extended reading:
Blockchain originated from Bitcoin, marking the starting point of the last financial crisisTwo weeks after the collapse of Lehman Brothers, on November 1, 2008, a person claiming to be Satoshi Nakamoto published the article "Bitcoin: A Peer-to-Peer Electronic Cash System", explaining the technology based on P2P networks , encryption technology, time stamp technology, blockchain technology, etc., which marks the birth of Bitcoin.
Two months later, the theory came into practice, and on January 3, 2009, the first Bitcoin genesis block with serial number 0 was born. A few days later, block number 1 appeared on January 9, 2009, and was connected to the genesis block number 0 to form a chain, marking the birth of the blockchain.
In recent years, the world's attitude towards Bitcoin has been ups and downs, but blockchain technology, one of the underlying technologies of Bitcoin, has received increasing attention. In the formation process of Bitcoin, blocks are storage units one by one, recording all communication information of each block node within a certain period of time.
The links between each block are realized through random hashing (also called hash algorithm). The latter block contains the hash value of the previous block. With the expansion of information exchange, one block and Blocks are continued one after another, and the result is called a blockchain [3].
⑥ What is a blockchain
Blockchain is a term in the field of information technology. District Blockchain is an uninterrupted digital ledger of economic transactions that can be programmed to record not just financial transactions, but almost anything of value. Simply put, it is a decentralized, distributed database of immutable records, The database is managed by a computer cluster but does not belong to any single entity. The blockchain is stored as a database or a flat file.
⑦ Blockchain distributed storage: a new storage model for ecological big data
Blockchain is undoubtedly the most beautiful word in 2019, shining in the field of technology and shining in the real industry.
The 1024 speech in 2019 gave the word blockchain a new look. It has always been associated with pyramid schemes and fraud, and the word "blockchain" has always been cast in gray. But now, blockchain is closely connected with the integration of the real economy and has become a strategic technology for the country. The word instantly Shining with passionate red and vibrant green.
"Industrial blockchain" came into being in the context of this era. It is another hot word after "Internet", and its core is block. The chain must be integrated with the real industry, moving away from the virtual to the real, and allowing blockchain technology to find more business scenarios is the right way.
The essence of the blockchain is a database, and it uses distributed storage Method. As a blockchain practitioner, today I will talk about the sparks generated by the collision of distributed storage of blockchain and ecological big data.
Currently Most of the storage is centralized storage, which is stored in traditional centralized servers. If the server goes down or fails,If the server stops operating, a lot of data will be lost.
For example, the pictures we post in WeChat Moments, the videos uploaded on Douyin, etc. are all centralized storage. Many friends will store things on the Internet, but when they open it one day, the web page will display 404, which means that the stored things have disappeared.
Blockchain, as a distributed database, can solve this problem very well. This is determined by the technical characteristics of the blockchain. Digital records on the blockchain cannot be tampered with or forged. Smart contracts allow everyone to collaborate more efficiently to establish a credible digital economic order, which can improve the efficiency of data flow, break down data silos, and create a new storage model.
Ecological big data is actually closely related to our daily lives, such as daily weather forecasts, traceability data of agricultural products we eat, etc., which are all part of ecological big data. To talk about this combination, first let's take a look at the characteristics of ecological big data storage.
With the development of the Internet, currently, ecological big data has the following characteristics in terms of storage:
From the perspective of data scale, the volume of ecological data It’s huge, and data has jumped from the TB level to the PB level.
With the development of various sensor technologies, satellite remote sensing, radar and video sensing technologies, data not only comes from traditional manual monitoring data, but also includes aviation, aerospace and ground data. Together, they have generated a massive amount of ecological data. environmental data. In the past 10 years, ecological data has grown by hundreds of terabytes per year.
Ecological environment big data requires a combination of dynamic new data and historical data for processing, and real-time continuous observation is particularly important. Only by processing and analyzing these dynamic new data in real time and combining them with existing historical data can we unearth useful information and provide scientific decisions for solving ecological and environmental problems.
For example, in the current urban construction, the ecological environment restoration and ecological model construction advocated require a large amount of ecological big data to be used for analysis, modeling and plan formulation. However, currently a lot of historical data disappears due to improper storage, resulting in the loss of data value.
Since ecological big data has these characteristics, what are its storage requirements?
Currently, ecological big data is facing serious security risks, and strong secure storage is imperative for ecological big data.
The security of big data mainly includes the security of big data itself and the security of big data technology. For example, in the data storage of big data, data information leakage occurs due to external network attacks by hackers and improper human operations. External attacks include data transmission attacks on static and dynamic data, data content attacks, data management and cyber-physical attacks.
For example, many wild ecological environmentsMassive data for environmental monitoring requires network transmission, which increases the risk of cyber attacks. If it involves some ecological and environmental data used by the military, if these data are obtained by hackers, they may infer some information about our military or obtain sensitive ecological and environmental data, with disastrous consequences.
The commercial application of ecological big data requires the integration of data from multiple sources of society such as governments, enterprises, and scientific research institutes. Only when different types of ecological environment big data are connected, collided and shared can the value of ecological environment big data be released.
Taking the current smart city construction as an example, many cities are establishing agricultural information big data centers on intellectual property, germplasm resources, agricultural materials, agricultural products, pests and diseases in all aspects and dimensions to provide agricultural products with Supply and marketing provide full information services. The construction of such a big data center is inseparable from the sharing of ecological big data among various departments.
However, ecological big data sharing faces huge challenges. First of all, my country's ecological environment big data includes big data from meteorology, water conservancy, ecology, land, agriculture, forestry, transportation, social economy and other departments, involving multi-field, multi-sector and multi-source data. Although these departments have currently established their own data platforms, these platforms are not connected to each other and are just isolated data islands.
Secondly, the relevant departments cannot share the data because they are unable to track the trajectory of the data and are worried about the ownership of the data’s interests. Therefore, in order to explore the potential value hidden behind ecological big data, achieving secure data sharing is the key, and it is also the premise and basis for the value of ecological big data.
Ecological big data is hard-won and is the collective wisdom of research institutes, enterprises, individuals and other social sources.
Among them, many ecological big data involve the protection of intellectual property rights. However, the current centralized storage cannot guarantee the protection of intellectual property rights and cannot perform traceability management of data use, which can easily lead to the infringement of intellectual property rights and the leakage of private data.
These are the storage needs of ecological big data. Today, with the rapid development of industrial blockchain, the distributed storage of blockchain can provide a new storage method for ecological big data storage. This core premise is the distributed storage, non-tampering and data tracking characteristics of the blockchain.
Using blockchain as the underlying technology, build such a platform to specifically store ecological big data. You can set up node management, storage management, user management, license management, business channel management, etc. Implementation of the underlying services of the blockchain network that provides high availability and dynamic expansion for upper-layer business applications. In the application layer of this platform, API interfaces can be built to make the use of the entire platform flexible and scalable. Blockchain distributed storage has the following characteristics:
Utilizing the distributed storage of blockchain can achieve a truly ecological big dataData is stored securely.
First, data is never lost. This is particularly friendly to the historical data of ecological big data, making it easier to call and compare new and old data.
Secondly, data is not easily leaked or attacked. Because the data is stored in a distributed manner, if there is an attack, only the data fragments stored in some nodes can be obtained, and the complete data information or data segments cannot be completely obtained.
Blockchain can realize the storage and confirmation of ecological data, so as to avoid the infringement of intellectual property rights and achieve safe sharing. After all, the acquisition of ecological big data requires ecological workers to be stationed in the wild all year round to extract data.
Ecological big data is hard-won and is the hard work of many ecological workers. It needs to be protected by property rights, so that the data can reflect its application value and commercial value, and the work motivation of ecological workers can be protected. They can go deep into the front line and collect more high-quality big data.
At the same time, the use of blockchain's data security sharing mechanism can also break down data barriers in departments such as meteorology, forestry, and wetlands, and build a safe and reliable data sharing mechanism to make data flow more valuable.
Nowadays, some ecological workers will tamper with ecological data for personal gain. If you use blockchain technology, it is not so easy.
Using encryption technology, the stored data is placed on a distributed storage platform for encryption processing. If the ecological big data changes, the platform can record its different versions to facilitate subsequent tracing and verification.
This protection mechanism mainly takes advantage of the non-tamperability of data to meet the requirements for data security in various business processes that use ecological big data.
The blockchain can provide secure monitoring of data, record the operation logs of the application system and the operation log data of the database, encrypt and store them on the system, provide log warning functions, and browse through the blockchain for abnormal situations The device is displayed to facilitate timely detection of illegal operations and the provision of evidence.
The above is the role that distributed storage of blockchain can play in ecological big data. In the future, there will definitely be many platforms for ecological big data storage.
Ecological big data is an important basic data for the construction of smart cities. Using blockchain technology to create a relevant ecological big data storage and management platform can ensure the safe storage and effective sharing of ecological big data and provide wisdom for the future. Contribute to urban construction and promote the development of industrial blockchain.
Author: Justina, WeChat public account: Miaoyishenghua, engaged in blockchain operations, good at content operations and overseas media operations.
The title picture comes from Unsplash, based on the CC0 agreement.
⑧ How to store blockchain transaction information
Blockchain is a large distributed ledger. If detailed data is to be stored on the longest chain, the data must be verified through hashing. Only data verified by most nodes can be saved on the longest chain. On the chain, the latest data can be synchronized between nodes, while achieving distributed storage of data and making it difficult to tamper. Each transaction corresponds to a timestamp, and the status of each transaction can be queried based on the timestamp, which is traceability.
- 上一篇: 中央银行与区块链的关系,中央银行区块链数字货币
- 下一篇: 一起来捉妖是腾讯区块链游戏吗