Home >Common Problem >What is the core of the blockchain centralized computing and processing model?
The core of the blockchain centralized computing and processing model is the centralized business processing system; blockchain technology is a new application model of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies. The business processing system is an information system that provides targeted support for the business processing process.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
The core of the centralized computing and processing model of the blockchain is the centralized business processing system
Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc.
Blockchain technology, after being questioned for so many years, has recently , has been included in the national key research directions, which shows that this technology is receiving more and more attention from people.
Blockchain, as the technology behind Bitcoin, seems to be an essential technology for the next generation of Internet, and also involves decentralized networks or WEB3.0. Blockchain offers an innovative solution to the age-old problem of trust among humans.
Blockchain: Like a table in the sky
Blockchain is a shared, mutually trusted, public transaction ledger that everyone can oversee and that no one can control alone. It is a distributed database that maintains growing records of transaction data, and encryption algorithms protect the data from tampering and modification.
Expand knowledge
Consensus algorithm
The consensus algorithm is the core of the blockchain and should Everyone will agree. However, in the actual operation and work of the blockchain system, in some blockchains, this core is often weakened or even discarded in order to pursue the speed of forming blockchain ledgers.
The so-called consensus algorithm is an algorithm used by different network nodes to reach a consensus operation, and the operation is determined by the calculation results. In other words, the consensus algorithm is a series of processes and rules executed to achieve distributed consistency.
When nodes distributed in different locations negotiate according to this algorithm or this set of rules, they will eventually be able to reach a consistent decision on one or more issues. From realizing the consistency of different nodes in the distributed system.
Bitcoin’s consensus algorithm is to calculate whether the Hash value (hash calculation) of several transaction (data items) data is smaller than a given value. Some people say that the rules for playing mahjong and Hu cards are the consensus algorithm at the end of a round.
For the blockchain system, the consensus algorithm ensures the consistency of transaction records between each node in the blockchain system. The consensus algorithm also includes the verification of the legality and correctness of the transaction, thus The consistency of transaction and block data of each node is maintained.
Decentralization
Blockchain has many features, including decentralization, distributed accounting, inconsistent changes, traceability, etc. The first of these characteristics should be decentralization. The concept of decentralization is relative to the concept of centrality. The so-called decentralization means that there is no central node in a computer network, all nodes have the same status, and there is no node that specifically commands and coordinates other nodes to do things. Both centralized and decentralized computer networks are built to adapt to different business processing needs.
Decentralization can bring three major advantages to the blockchain: fault tolerance, attack resistance and collusion prevention:
1. First fault tolerance. For a computer network with a central architecture, if there is a problem with the central node computer, continuous repairs are required to maintain the overall operation. In the blockchain system, due to the decentralized architecture, there is no problem with the central node, and problems with any node will not affect the entire network. This is fault tolerance.
2. Second resistance to attack. In a centrally structured computer network, directly attacking the central node computer will achieve the effect of efficiently destroying the network system. However, for a decentralized distributed operation blockchain, there is no central node computer, so it cannot achieve the purpose of attacking a whole and destroying it. In this way, the resistance to attacks can be effectively improved.
3. The third defense is conspiracy. Centralization or the centralization of a few operations, one or a few node computers can control the business work of the entire system and perform it according to their needs. If they can commit illegal acts, other node computers cannot stop them, which will cause some trust crises. The consensus algorithm makes it impossible for a small number of people to control the network system, thereby preventing a small number of people from colluding to commit illegal acts, or greatly reducing the possibility of a small number of people colluding to commit illegal acts.
The consensus algorithm determines decentralization
As the most fundamental feature of the blockchain, decentralization must be truly applicable to the application scenarios of the blockchain. Think about it from a decentralization perspective. Who realizes and guarantees decentralization? It is implemented and guaranteed by the consensus algorithm.
In a network, the result of the blockchain consensus determines which node will calculate the block. This node becomes the current accounting node, and other nodes will verify the calculation results of the accounting node, that is, the candidate block. If the calculation is correct, the block becomes the latest block in the blockchain.
What kind of consensus algorithm is an excellent consensus algorithm? An excellent consensus algorithm needs to meet at least two conditions: the consensus results are random and equally likely, and the consensus calculation efficiency is high. A good blockchain is decentralized. In the consensus mechanism, the consensus results are random and equally probable. In this way, the random probability of each node in the network becoming an accounting node is equally probable. Only in this way can the fairness of the blockchain be shown. impartiality.
The excellent consensus algorithm ensures that each node in the blockchain network has the same probability of obtaining accounting rights. Looking at the network as a whole, no node has more than other nodes. Opportunities are used for accounting, thus achieving a good decentralization effect.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the core of the blockchain centralized computing and processing model?. For more information, please follow other related articles on the PHP Chinese website!