为广大币圈朋友提供币圈基础入门专业知识!
当前位置首页 > 区块链知识> 正文

计算信任区块链的软件,计算信任区块链的方法

发布时间:2023-12-06-06:49:00 来源:网络 区块链知识 区块

计算信任区块链的软件,计算信任区块链的方法


请查看相关英文文档

『一』 2. What is the difference between blockchain trust and traditional model trust?

The difference between blockchain trust and traditional model trust is as follows.
1. The most different thing about trust in the blockchain is that it uses mathematics, computer technology and encryption to make the record of information unchangeable, and writes the cooperation agreement on the blockchain through smart contracts, and finally in the conditions The contract is automatically executed after satisfaction. Blockchain eliminates trusted third parties. Through blockchain, people do not need to 100% trust each other or trust third-party institutions. It does not eliminate trust issues, nor does it completely eliminate the need to consider trust issues during the cooperation process. , people still need to trust, but the object of trust is changed from people and organizations to the blockchain network composed of consensus mechanism.
2. The traditional trust system mainly comes from two aspects: country and culture. The state uses its own credibility and public power to endorse the trust of both parties; culture refers to some implicit rules, such as the trust system of various regional customs and the possible emergence of private third-party institutions. The cost of state execution is too high, and it is impossible to rely on the state for everything. The cultivation of cultural trust takes too long and cannot meet everyone's needs. Society is very complex. It is impossible to sign a contract for everything, and it is impossible for the state to intervene in everything.

『二』How to understand the definition of blockchain technology

Chongqing Jinwowo analyzed the definition of blockchain technology as follows:
1. Blockchain is a Distributed database (system) placed in a non-secure environment.
2. Blockchain uses cryptography to ensure that existing data cannot be tampered with.
3. The blockchain uses a consensus algorithm to reach consensus on new data.
A system with the above three properties is a blockchain.

『三』What is the meaning of blockchain

Blockchain is a shared database. Blockchain is distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. New application models of computer technology.

Blockchain does not belong to any industry. Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. In a narrow sense, blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is a cryptographically guaranteed distributed ledger that cannot be tampered with or forged.

Features

Decentralization. Blockchain technology does not rely on additional third-party management agencies or hardware facilities, and there is no central control. In addition to the self-contained blockchain itself, each node realizes self-verification, transmission and management of information through distributed accounting and storage. Decentralization is the most prominent and essential feature of blockchain.

Openness. The foundation of blockchain technology is open source. In addition to the private information of the transaction parties being encrypted, the data of the blockchain is open to everyone and anyone can use it publicly.The interface queries blockchain data and develops related applications, so the entire system information is highly transparent.

『四』 Is blockchain technology expected to lead mankind into the era of machine trust?

Recently, the concept of blockchain has made a comeback. Since February, the U.S. House of Representatives has held two blockchain hearings in succession, elevating blockchain to a “revolutionary technology” and exploring its future applications and impact on finance, business and government. At the same time, Russian President Vladimir Putin also stated that Russia will focus on developing blockchain technology to strengthen Russia’s voice in international competition in the field of cutting-edge technology. In China, more and more industries are beginning to pay attention to the field of blockchain technology, and this concept has also become one of the hot topics discussed by representatives during this year's "Two Sessions".

In today's turbulent era of technological advancement, there are still many places for us to explore in depth as a new technology called blockchain. Especially in high-tech fields where others have formulated the "rules", we should take a long-term view, continue to innovate, digest and absorb the essence of blockchain technology, and strive to form core competitiveness with independent intellectual property rights. At the same time, in the face of various temptations, we need to be cautious at all times, see risks, avoid losses, and never let the light of economic interests obscure our understanding of the essence and deep value of blockchain.

『Wu』 Cloud Computing and Blockchain

Video loading...

Before understanding the specific relationship between cloud computing and blockchain, we Need to know what blockchain is?

We might as well first use an example to gradually understand the blockchain. It is said that in a village lacking trust, the old village chief invented a new accounting method in order to prevent villagers from denying each other when borrowing money from each other: if Zhang San borrowed 100 yuan from Li Si, the village loudspeaker would Announce the news to the whole village. The villagers each have an account book in their hands. At this time, they will separately write down "Zhang San borrowed 100 yuan from Li Si at such and such a time." It would be useless if Zhang San wanted to deny it when the time came to repay the loan, because this record was written in the account books of other people in the village. This is the prototype of blockchain.

With the above cases, it is not difficult to understand the meaning of blockchain when we describe it. Blockchain refers to a technical solution that collectively maintains a reliable database through decentralization and trustlessness. Take accounting as an example. There is no central ledger in the blockchain. Everyone has the opportunity to participate in accounting. Everyone is the center, and everyone in the system has a ledger. With the above foreshadowing, let’s get down to business.

With the widespread application of cloud services, the impact of cloud service provider equipment failures is increasing. Almost all centralized cloud service providers have experienced failures or even data loss. So, is it possible to cure this problem? A simple idea is "don't put all your eggs in one basket". A more professional one is "distributed cloud computing + blockchain".

Before the birth of blockchain technology, many cloud computing manufacturers used distributed cloud computing to solve the shortcomings of centralized cloud computing. Distributed cloud computing studies how to divide a problem that requires very large computing power into many small parts, and then allocate these small parts to many computers for processing, and finally combine these computer results to obtain the final result.

"Cloud computing + blockchain" is called BaaS, which means Blockchain Technology as a service, which translates to Blockchain as a Service. At present, many Internet giants have announced the launch of BaaS business. IBM announced the launch of a blockchain service platform in February 2016, where developers can access fully integrated development and operation tools for creating, deploying, running and monitoring blockchain applications on the IBM cloud. As a pioneer in the successful implementation of "distributed cloud computing and blockchain" in China, Xunlei has now achieved the combination of distributed cloud computing and blockchain technology.

『Lu』 How to interpret blockchain in the simplest way

Everyone hears the word blockchain every day recently, so what is blockchain? Explanations such as "distributed, difficult to tamper, and consistent storage" are too technical and dry. Let me give you some popular science here: Blockchain is mainly designed to solve the trust problem between individuals who do not trust each other.

To give a popular example: It is said that Lao Li and Lao Wang live in the same village. Lao Li is a little short of money recently and wants to borrow some money from Lao Wang. As for Lao Wang, he was worried about what would happen if he defaulted on the loan after borrowing money from Lao Li, so he called in the "highly respected" village chief. But thinking about it, the village chief couldn't be trusted either. The village chief had even stolen other people's sweet potatoes in the past! what to do?

The blockchain method is: After Lao Wang borrowed 1,000 yuan from Lao Li, he then used a loudspeaker to shout in the village, "I, Lao Wang, borrowed 1,000 yuan from Lao Li today. Everyone Record it quickly." So everyone in the village recorded it in their own account books and kept it carefully. This is good, Lao Li can't rely on him anymore. Even if there are dishonest people in the village, there are still many good people. Lao Li can't find everyone in the village to secretly erase his loan records. In this way, the blockchain solved the trust problem of borrowing money between Lao Wang and Lao Li, who did not trust each other.

Before the emergence of blockchain, how did we solve the problem of trust between individuals who did not trust each other? It's simple, just find a "witness" who is "highly respected" and trusted by both parties, such as the village chief in the story, such as Alipay between the buyer and seller, such as the notary office, etc. However, it is possible that such "witnesses" may not always be honest, so the blockchain simply allows everyone to act as a witness.

Lao Wang is relieved, but Lao Li has a headache! Lao Li has to wait until everyone in the village has recorded the money before he can get the money lent to him. There is no uncle or aunt in the family who is slower. Therefore, there is still a certain distance between blockchain and application, and the efficiencyThe problem needs to be significantly improved.

Recall how you usually trade with others: you can choose a beautiful dress in a physical store, confirm that the other party’s clothes are of good quality, and the other party confirms that your money is real money. , then we will pay and receive the goods face to face.

What if we are thousands of miles apart and neither know nor trust each other but still want to trade? Then there needs to be a third party that we all trust, which is the so-called consensus mechanism. For example: you can complete the transaction through a third-party witness guarantee on Taobao. The money is first given to Alipay - Alipay collects the payment and lets the seller deliver the goods - the seller delivers the goods - you confirm receipt - Alipay then gives the money to the seller.

However, what if this centralized organization does evil and Dad Ma tears up the account books and refuses to admit that you gave the money, or joins forces with the seller to defraud you of money?

Or maybe the government lends you 1 million, and finally pays you back by issuing extra currency. The 1 million shrinks to 10,000, and you bear the loss of inflation. What should you do? ?

Is there a third party that is not controlled by any government or organization, can complete arbitration in an open and transparent manner, has records that will not be tampered with, and has no risk of running away?

Don’t worry, our protagonist blockchain technology solves this problem - the transactions between you can be witnessed by everyone in this blockchain system, and everyone’s small ledger will be recorded Your deal. If B denies receiving money from A, or if A says that he borrowed 300 yuan, passers-by A, B, B, and D will question him. How exactly is it done?

1) The system issues a small ledger to everyone, so that everyone has the right to keep accounts. We call it distributed accounting.

2) In order to encourage everyone to help others keep accounts, the system code is set to reward tokens such as Bitcoin to the keepers. In order to prevent a group of people from being blocked in keeping accounts, the tokens are also set to There are only a limited number of A, B, C and D who need to be calculated through the mechanism specified by the system. Only the fastest and best calculation can obtain the right to keep accounts. After recording, it is broadcast to everyone through the system. Everyone copies the same ledger. This is obtained through calculation. The reward process is called mining, and passers-by A, B, C and D who keep accounts are the miners.

3) One day, A, who originally recorded the transaction, Game Over, but the ledger still exists in other people's ledgers. Neither A nor B can deny it. We have written in code how to arbitrate and distribute, without the need for banks, governments, enterprises and other centralized organizations to serve as third-party witnesses (decentralization), and the direct point-to-point (P2P) transaction method is called decentralization.

4) The system packages multiple transactions into blocks and links them in chronological order to become the final ledger that everyone has. This is blockchain technology

In fact, simply understanding the blockchain as a ledger is only the simplest interpretation. If you separate each of its characteristics, it can be applied in many fields.

Now the traditional financial industry, securities firms, and investment institutions are rushing to enter the Internet of Things, games, storage, copyright, anti-counterfeiting, credit reporting, payment, prediction markets (gambling, etc.), communities and many other fields. The exploration and application of blockchain has already begun.

The Internet allows everything to be connected. Can blockchain make everything connected trustworthy?

Let me explain the blockchain using the natural stones of heaven and earth:

All science, philosophy, morality... heaven and earth are included. Every thing and every culture is related to the Taoism of heaven and earth.

Blockchain naturally cannot escape the fate of heaven and earth: that is, smooth, random, infinite, and impermanent.

It is this strange stone, and the overall data movement on its surface. First, the whole is intangible. Second, the lines and points adhere to a pattern: the path of impermanence. That is to say, every line and every point they pursue is not a closed goal or a limited purpose. I can understand it better when I say this: when a painter paints a chicken, it has a purpose and an ending, while strange rocks, when created by nature, have no ending. Therefore, the phase is not closed, and the line and point data are not terminated. The technology of block connection is this way of destiny. Impermanence is invisible and has no end. (No centralization means formlessness, no closed form, no closed structure, no closed mind... just like "stone" to do things).

Confucius Lingshi Museum in Qufu, Shandong

Hello everyone, I am Pippi. I will use a few life examples to explain to you what blockchain is?

A decentralized, tamper-proof, distributed storage data block linking system that uses encrypted information as the link address is called blockchain

This thing is originally There are many high-tech composite products that cannot be simplified. No matter how simple it is, it takes a long paragraph, and it may not be clear.

The strict definition of blockchain refers to the design based on cryptography technology. Consensus mechanism, a distributed database technology in which multiple nodes in a peer-to-peer network jointly maintain a continuously growing, chained list ledger constructed of timestamps and ordered record data blocks. This technical solution allows any number of nodes participating in the system to calculate and record all information exchange data in the system over a period of time into a data block (block) through cryptographic algorithms, and generate the fingerprint of the data block for linking ( chain) and check the next data block, all participating nodes in the system jointly determine whether the record is true.

Blockchain is a general term for technical solutions similar to NoSQL (non-relational database). It is not a specific technology. Blockchain technology can be implemented through many programming languages ​​and architectures. . There are also many ways to implement blockchain. Common ones currently include POW (Proof of Work), POS (Proof of Stake), DPOS (Delegate Proof of Stake), etc.

The concept of blockchain was first proposed in the paper "Bitcoin: A Peer-to-Peer Electronic Cash System" by the author who calls himself Satoshi Nakamoto (Satoshi Nakamoto) individual (or group). Therefore, Bitcoin can be regarded as the first application of blockchain in the field of financial payments.

[Popular explanation]

No matter how big the system or how small the website, there is usually a database behind it. So who will maintain this database? Under normal circumstances, whoever is responsible for operating the network or system will maintain it. If it is a WeChat database, it must be maintained by Tencent's team, and Taobao's database must be maintained by Alibaba's team. Everyone must think that this approach is natural, but this is not the case with blockchain technology.

If we imagine the database as a ledger: Alipay, for example, is a typical ledger, and any change in data is an accounting type. We can think of database maintenance as a very simple accounting method. The same is true in the world of blockchain. Everyone in the blockchain system has the opportunity to participate in accounting. The system will select within a period of time, maybe within ten seconds, or maybe ten minutes, to select the person with the fastest and best accounting during this period. This person will do the accounting, and he will combine the changes in the database during this period with Changes in the ledger are recorded in a block. We can imagine this block as a page of paper. After confirming that the record is correct, the system will link (chain) the data fingerprint of the past ledger to this paper, and then This piece of paper is sent to everyone else in the entire system. Then the cycle starts over and the system looks for the next person who can do the accounting quickly and well, and everyone else in the system gets a copy of the entire ledger. This means that everyone in this system has exactly the same ledger. This technology is called blockchain technology, also known as distributed ledger technology.

Since everyone (computer) has exactly the same ledger, and everyone (computer) has exactly the same rights, there will be no problem due to a single person (computer) losing contact or going down. The entire system collapses. Since there isThe exact same ledger means that all data is open and transparent, and everyone can see the digital changes in each account. Its very interesting feature is that the data in it cannot be tampered with. Because the system will automatically compare, it will consider the account books with the largest number of the same number as the real account books, and the small number of account books with different numbers as others are false account books. In this case, it makes no sense for anyone to tamper with their own ledger, because unless you can tamper with most of the nodes in the entire system. If the entire system has only five or ten nodes, it may be easy to do, but if there are tens of thousands or even hundreds of thousands of nodes, and they are distributed in any corner of the Internet, unless someone can control most of the computers in the world , otherwise it would be unlikely to tamper with such a large blockchain.

[Elements]

Combined with the definition of blockchain, we believe that it must have the following four elements to be called a public blockchain technology. If it only has the first three points elements, which we will consider as private blockchain technology (private chain).

1. Point-to-point peer-to-peer network (peer-to-peer power, physical point-to-point connection)

2. Verifiable data structure (verifiable PKC system, non-tamperable database)

3. Distributed consensus mechanism (solve the Byzantine generals problem and double payment)

4. Nash equilibrium game design (cooperation is an evolutionarily stable strategy)
/>
[Characteristics]

Combined with the definition of blockchain, blockchain will realize four main characteristics: decentralized, trustless, Collectively maintained (Collectively maintained), reliable database (Reliable Database). And the four characteristics will lead to two other characteristics: open source (Open Source) and privacy protection (Anonymity). If a system does not possess these characteristics, it will not be considered an application based on blockchain technology.

Decentralized: The entire network has no centralized hardware or management organization. The rights and obligations between any nodes are equal, and the damage or loss of any node will not affect it. operation of the entire system. Therefore, the blockchain system can also be considered to have excellent robustness.

Trustless: Each node participating in the entire system does not need to trust each other for data exchange. The operating rules of the entire system are open and transparent, and all data contents are also public. , therefore within the rule range and time range specified by the system, nodes cannot and cannot deceive other nodes.

Collectively maintain: The data blocks in the system are jointly maintained by all nodes with maintenance functions in the entire system, and these nodes with maintenance functions can be participated by anyone.

Reliable Database: The entire system will be divided into databases so that each participating node can obtain a copy of the complete database. Unless more than 51% of the nodes in the entire system can be controlled at the same time, modifications to the database on a single node are invalid and cannot affect the data content on other nodes. Therefore, the more nodes and stronger computing power participating in the system, the higher the data security in the system.

Open Source: Since the operating rules of the entire system must be open and transparent, for the program, the entire system must be open source.

Privacy protection (Anonymity): Since nodes do not need to trust each other, there is no need to disclose their identities between nodes. The privacy of each participating node in the system is protected. protected.

[One of the meanings of blockchain: Solving the Byzantine Generals Problem]

The core problem solved by blockchain is not “digital currency”, but information asymmetry and inconsistency. Under a certain environment, how to establish a "trust" ecological system that satisfies the occurrence and development of economic activities. This problem is called the "Byzantine Generals Problem", also known as "Byzantine Fault Tolerance" or the "Two Armies Problem". This is a difficult problem faced when information machines interact in a distributed system, that is, any point in the entire network When nodes cannot trust the other party they are communicating with, how can they create a consensus basis for secure information exchange without worrying about data being tampered with. Blockchain uses an algorithmic proof mechanism to ensure the security of the entire network. With it, all nodes in the entire system can automatically and securely exchange data in a trustless environment. For more introduction, please see "Bitcoin and the Byzantine Generals Problem".

[The second meaning of blockchain: realizing cross-border value transfer]

At the beginning of the birth of the Internet, the earliest core problem to be solved was information production and transmission. We can transfer information through the Internet It can be quickly generated and copied to every corner of the world with a network, but it still cannot solve the value transfer and credit transfer. The so-called value transfer here refers to a method that everyone in the network can recognize and confirm, accurately transferring a certain part of the value from a certain address to another address, and it must be ensured that when the value is transferred, the original address is reduced The transferred portion, while the new address increases the value transferred. The value mentioned here can be a monetary asset, or some kind of physical asset or virtual asset (including securities, financial derivatives, etc.).The results of this operation must be recognized by all participating parties, and the results cannot be manipulated by any one party.

There are also various financial systems in the current Internet, and there are also many payment systems provided by government banks or third parties, but they still rely on centralized solutions. The so-called centralized solution is to put all value transfer calculations on a central server (cluster) through the endorsement of a certain company or government credit. Although all calculations are automatically completed by programs, this centralization must be trusted. person or institution. In fact, through centralized credit endorsement, credit can only be limited to certain institutions, regions or countries. It can be seen from this that the fundamental problem that must be solved is credit. Therefore, the core issue of value transfer is transnational credit consensus.

In such a complicated global system, it is difficult to establish a global credit consensus system out of thin air. Due to the different political, economic and cultural conditions of each country, it is difficult for two countries to It is almost impossible for enterprises and governments to completely trust each other. This means that whether it is endorsed by the credit of individuals or corporate governments, even if the value exchange between countries can be completed, there will be huge time and economic costs. But in the long history of mankind, no matter how different the religion, politics and culture of each country are, the only thing that can reach consensus is mathematics (basic science). Therefore, it is no exaggeration to say that mathematics (algorithms) is the greatest common denominator of global civilization and the basis for the greatest consensus among human beings around the world. If we use mathematical algorithms (programs) as endorsement, all rules are based on an open and transparent mathematical algorithm (program), which can allow all people with different political and cultural backgrounds to gain consensus.

[Future Development]

The Internet will make global interactions closer and closer, accompanied by a huge trust gap. Currently, the existing mainstream database technology architecture is private and centralized. On this architecture, the problems of value transfer and mutual trust can never be solved. Therefore, blockchain technology may become the next generation database architecture. Through decentralized technology, it will be possible to complete the huge progress of mathematical (algorithm) endorsement and global mutual trust on the basis of big data.

As a specific distributed access data technology, blockchain technology uses multiple nodes participating in calculations in the network to jointly participate in the calculation and recording of data, and mutually verify the validity of their information. (anti-counterfeiting). From this point of view, blockchain technology is also a specific database technology. The Internet has just entered the era of big data, but from the current point of view, big data is still in a very basic stage. But when it enters the blockchain database stage, it will enter the big data era of real strong trust endorsement. All the data here acquires an indestructible quality that no one has the ability or need toquestion.

Perhaps we are now at a major turning point - the early stages of a major transition that is almost as profound as the changes brought about by the Industrial Revolution. Not only are new technologies exponential, digital and combined, progress and changes, but more surprises may be ahead of us. In the next 24 months, the planet will grow more computing power and record more data than it has in all of history combined. In the past 24 months, this value increase may have exceeded 1,000 times. This digital data information is growing faster than Moore's Law. Blockchain technology will not only be used in the field of financial payments, but will expand to all current applications, such as decentralized Weibo, WeChat, search, renting, and even taxi-hailing software may appear. Because blockchain will allow humans to collaborate on a large scale in a trustless manner without geographical restrictions.

Blockchain is a technology based on which many applications have been produced, including all industry businesses related to data and information. Bitcoin is one of the most well-known applications. The popular explanation of blockchain is that if you buy a lipstick online, you first find the product you like and place an order with the seller. You first give the money to the intermediary platform. After the seller ships the goods and the buyer confirms receipt, the intermediary platform then transfers the money. Transfer it to the seller, because of the trust issue, both buyers and sellers rely on the intermediate platform, and the blockchain, as a decentralized distributed ledger database, focuses on removing this intermediate platform while solving the trust issue at the same time. In the blockchain, everyone has their own ledger to record everything that happens. If a seller takes money but does not deliver the goods during the transaction, this record will exist permanently and cannot be modified, and there is no need to interact with each other. To exchange information, the blockchain world will select the person's ledger that records the fastest and best quality at the same time node to copy, send and connect in series, and finally stack it up to form a block.

When everyone talks about virtual currencies, they often cannot do without the concept of blockchain. So what is the magic of blockchain?

Blockchain is an underlying technology, essentially a decentralized distributed ledger database. It sounds very high-end and out of reach, but it is actually very easy to understand.

For example, if you want to buy something on Taobao, the first thing you usually have to do is to open Taobao, find the product you want, place an order and pay the money to Taobao, which is the transaction intermediary. Taobao will pay the seller after receiving the goods and confirming receipt. This was originally just a transaction between me and the seller, but it has an additional "center", namely Taobao.

During the transaction process, this "center" has unlimited power and can even modify the bill at will. Therefore, the “center” often needs a strong backend to endorse it.

So, a man named Satoshi Nakamoto wanted to kill this powerInfinite center, he wants to create a decentralized system in which everyone is the center and has the power to keep accounts. So, he created Bitcoin.

In the Bitcoin system, everyone has a small ledger to record every transaction that occurs. A transaction is only valid after being confirmed by a majority of people. If the seller doesn't deliver the goods, everyone's little ledger will record it, leaving him nowhere to escape.

At this time, you may have questions. Since it is just a public ledger, why is it called a blockchain? This involves the issue of consensus. The blockchain system is a system composed of many "centers". The entire blockchain belongs to all individuals participating in accounting. At this time, new problems arise. A system must be in order to survive in the long term. If the bookkeeper can act recklessly regardless of the cost, it may happen that he originally just bought a mobile phone, but received a Tesla instead.

So, Satoshi Nakamoto invented a consensus method called PoW. This method increases the cost of bookkeeping for bookkeepers and prevents them from doing evil easily. PoW uses cryptography to require bookkeepers to compete for computing power to obtain accounting rights. The first bookkeeper to calculate the result can obtain the accounting rights of a block packaged from several transactions. At the same time, you will receive certain tokens as rewards. This is what we commonly call "mining".

Now that the bookkeeper has recorded a block containing several transactions, the system needs to be organized and sorted. It is impossible to have countless blocks distributed in the system in an orderly manner. So it is necessary to link all blocks end to end in chronological order. At this time, the blockchain was born. The core of blockchain is technology.

博客主人唯心底涂
男,单身,无聊上班族,闲着没事喜欢研究股票,无时无刻分享股票入门基础知识,资深技术宅。
  • 36479 文章总数
  • 3637265访问次数
  • 3078建站天数