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

云可信区块链体系结构,云可信区块链体系是什么

发布时间:2023-12-11-07:14:00 来源:网络 比特币基础 区块   可信   体系

云可信区块链体系结构,云可信区块链体系是什么

云可信区块链体系结构是一种基于区块链技术的分布式数据库,它能够实现去中心化的数据存储和管理。本文将介绍关于云可信区块链体系结构的三个关键词:去中心化、区块链技术和智能合约。

去中心化是云可信区块链体系结构的核心理念。它是一种不依赖中心化数据库管理的分布式数据库,它使用区块链技术来存储和管理数据,以实现去中心化的管理。去中心化的优势在于,它可以使数据和交易更加安全,并且不受任何中心化机构的控制,因此可以有效减少数据泄露和恶意攻击的风险。

区块链技术是云可信区块链体系结构的基础技术。它是一种分布式数据库,可以让用户在不受任何中心化机构控制的情况下存储和管理数据。它能够实现去中心化的数据存储和管理,可以有效地保护数据的安全性和隐私性,并且可以跨越不同的网络环境,从而实现全球范围内的数据共享。

智能合约是构建在区块链技术上的一种特殊协议,可以自动执行特定的操作,在云可信区块链体系结构中起到重要作用。智能合约可以帮助用户实现自动化的交易和管理,从而有效地减少交易成本和时间成本。此外,它还可以有效地防止违规行为,提高交易的透明度,从而有效地保护用户的利益。

综上所述,云可信区块链体系结构是一种基于区块链技术的分布式数据库,它能够实现去中心化的数据存储和管理。它的优势在于它可以使用区块链技术来存储和管理数据,以及构建智能合约来实现自动化的交易和管理,从而有效地保护用户的数据安全性和隐私性,并有效地减少交易成本和时间成本。


请查看相关英文文档

⑴ What is the blockchain BaaS platform

As blockchain technology continues to be applied in the physical field, more and more technology companies have proposed their own underlying technology frameworks. As well as industry solutions in vertical fields,
The English name of the BaaS platform is Blockchain as a Service, and the direct translation is Blockchain as a Service, referred to as BaaS. In fact, BaaS is a new type of cloud service that combines blockchain technology, which refers to embedding the blockchain framework into the cloud computing platform.
Blockchain as a Service (BaaS) is a space created by companies such as Microsoft and IBM from their own cloud service networks to run a certain blockchain node. Compared with ordinary nodes and exchange nodes, the main purpose of BaaS nodes is to quickly establish the development environment you need and provide a series of operational services such as blockchain-based search queries, transaction submissions, and data analysis. These services can both It is centralized or decentralized, and is used to help developers verify their concepts and models faster. The serviceability of BaaS nodes is reflected in: stronger tools, making it easier to create, deploy, run and monitor blockchains.
The main technical features include:
Fast service construction: a multi-mode distributed ledger platform to facilitate the rapid construction of services;
Visual operation and maintenance management: providing visual operation and maintenance from the network, system and business levels Operation and maintenance management;
Comprehensive regulatory audit: Provide comprehensive monitoring and audit support to meet business compliance needs;
Smart contract management: Support programmable contract development and provide standardized contract templates;
Blockchain as a Service: Provides configurable enterprise-level blockchain cloud services for various industries;

The BaaS platform is easy to access, highly available, efficient and stable, safe and reliable, highly compatible, Personalized customization, intelligent operation and maintenance and other features. Currently, the blockchain service platform Baas has supported the implementation of multiple blockchain products and projects, such as commodity traceability systems, genealogy chains, etc.
The Xueshuo Innovation Blockchain Technology Workstation under Lianqiao Education Online is the only approved "Blockchain Technology Professional" pilot of the "Smart Learning Workshop 2020- Xueshuo Innovation Workstation" launched by the School Planning, Construction and Development Center of the Ministry of Education of China. workstation. The professional base is based on providing students with diversified growth paths, promoting the reform of the training model integrating professional degree research, production, and research, and building an applied and compound talent training system.

⑵ How to understand the definition of blockchain technology

Chongqing Jinwowo analyzed the definition of blockchain technology as follows:
1. Blockchain is a place where Distributed databases (systems) in non-secure environments.
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 the blockchain.

⑶ What signals does the Blockchain 3.0 era give us?

In 2020, blockchain was included in the category of "new infrastructure" by the country, and at least 7 provinces introduced district Blockchain support policy. In the same year, blockchain technology was gradually moving from concept to implementation, with many application scenarios blooming. Various industry applications of "blockchain" have become a symbol of the continuous maturity of blockchain.

The development status of "blockchain" in 2020

In 2020, the COVID-19 epidemic swept the world, and the uncertainty of world economic development increased significantly. Governments and enterprises of various countries are exploring the use of emerging technologies to reduce economic and social operating costs, improve the operating efficiency of the real economy, and further find new growth points for economic development.

At present, blockchain is cross-innovating with new technology infrastructure such as cloud computing and artificial intelligence. More and more vertical fields of the real economy are showing the development pattern of "blockchain" and the "elimination trend". "real" good momentum.

In order to avoid turning reality into fiction, in addition to continuing to severely crack down on speculation, we must also guide the deep integration of blockchain technology with practical application scenarios. Therefore, various industrial application scenarios of "blockchain" have become one of the inevitable trends in the development of blockchain.

According to the "Blockchain White Paper (2020)" recently released by the China Academy of Information and Communications Technology, as of October 2020, more than 262 listed companies have been involved in the blockchain field, each from insurance , real estate, commercial department stores, security equipment, packaging materials, telecommunications operations and other 39 fields. In the blockchain information service registration list released by the State Internet Information Office, there are 45 listed company blockchain projects.

Among them, finance is the most explored scenario among blockchain technology application scenarios, with specific projects implemented in subdivisions such as supply chain finance, trade finance, payment and settlement, and fund management. The white paper shows that as of November 2020, among the domestically registered blockchain information services, the number of projects in the financial (including supply chain finance) field ranks first, accounting for as high as 36%.

As the implementation of blockchain applications accelerates, "blockchain" business has become the focus of development for Internet backbone enterprises to enter the blockchain industry. In addition to financial business, they actively deploy the Internet, traceability, and supply. Applications in chain & logistics, digital assets, government affairs and public services, intellectual property, law, medical and other fields.

At the same time, the industry is gradually understanding that blockchain is the basic component of trusted transactions, but this does not mean that blockchain can conquer the world. Blockchain needs to be combined with other technologies such as artificial intelligence, Internet of Things, big data, 5G, etc. to use synergy to form integrated solutions to jointly promote digital transformation.

According to relevant data, the current application of blockchain is mainly in the field of certificate storage. Blockchain has entered into how to make it better from an engineering perspective, more credible, more stable, and more scalable. Well, a stage that can accommodate more nodes. middleHe Baohong, director of the Institute of Cloud Computing and Big Data of the National Academy of Information and Communications Technology, believes that this process will continue for some time or longer. In the next step, blockchain technology competition will shift from engineering optimization and improvement to technology ecology and business ecology.

In addition, it is understood that the blockchain industry is improving in the long term, and industry cognition has returned to rationality. With the central government's planning and guidance for the development of blockchain technology, my country's blockchain has clarified the development ideas based on the alliance chain, focusing on serving the real economy and optimizing public services, and the direction of industrial development has become clearer. At this stage, the confidence of the majority of practitioners in blockchain continues to improve, and the long-term strategic value of blockchain is generally recognized.

What is the prospect of "blockchain" in 2021?

As my country’s blockchain industry chain gradually improves, most blockchain companies not only focus on one aspect, but also show a trend of coordinated development in multiple fields. According to statistics, among the 801 blockchain information service registration lists released by the Cyberspace Administration of China, Beijing, Guangzhou, Shanghai, Zhejiang, Jiangsu, and Shandong are the provinces and cities with the most registered companies.

The core role of blockchain corresponding to its technical characteristics is mainly reflected in the three aspects of certificate storage, automated collaboration and value transfer. As its value potential is constantly being explored, application scenarios have evolved from the breakthrough point of finance. , and gradually expanded into many fields such as the real economy, government affairs and people's livelihood.

The core value of blockchain for the real economy is to promote efficient collaboration between upstream and downstream industries and improve the efficiency of industry-finance integration. In the early stages of development, the blockchain application model mainly focused on the storage of documents, contracts, etc. At this stage, blockchain industry applications are gradually moving towards automated collaboration and value interconnection such as government data sharing, supply chain sales collaboration, and cross-border trade.

2020 is the warm-up for 2021. In 2021, the use of blockchain, distributed ledgers, and smart contract tools will continue to grow as it did in 2020. With the continuous deepening of blockchain technology, the foundation of the blockchain industry will become better and better, the industrial ecology will also develop rapidly, and the industrial chain will become increasingly widespread.

From the perspective of industrial structure, the blockchain industry is mainly divided into four parts: underlying technology, platform services, industrial applications, and peripheral services.

The first three parts show a relatively obvious upstream and downstream relationship. The underlying technology part provides the necessary technical products and components of the blockchain respectively. The platform service part builds an area that can run corresponding industry applications based on the underlying technology. The industrial application part of the blockchain platform mainly uses blockchain technology to develop industry applications based on the actual scenarios of various industries and realize the innovation of business collaboration models within the industry.

The peripheral services part provides supporting services to the industry, including industry organizations, market research, standard formulation, system evaluation and certification, industry media, etc., to provide impetus for the development of industrial ecology.

Among them, as far as the industrial application of blockchain is concerned: Blockchain is the innovative development result of information technology, and it is also the main booster for the reconstruction of business processes and the innovation of industrial interaction models in various industries.

Blockchain has gradually evolved from digital finance toThe expansion of supply chain finance, product traceability and other fields has now been explored and applied in government affairs, people's livelihood, industrial management and other industries. Its application scenarios are becoming increasingly rich, showing a development trend of deep integration with other industries.

At present, domestic enterprises are focusing on the development of applications related to serving the real economy and improving government affairs and people's livelihood. Among them, supply chain finance and product traceability have accounted for half of all applications. Others, such as government affairs and people's livelihood, have become the future of manufacturers. Key layout areas are about to experience explosive growth.

After blockchain investment cooled down in 2020, the blockchain industry may begin to gradually become more rational in 2021. However, a relatively complete industrial chain and active market entities provide a good foundation for the integrated development of the blockchain industry. The blockchain industry will also show a positive development trend in terms of policy support, ecological construction, platform services, application implementation, and integrated innovation.

⑷ Cloud computing and blockchain

Video loading...

Before understanding the specific relationship between cloud computing and blockchain, we need to Do you 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.

We call "cloud computing + blockchain" 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.

⑸ What are the core blockchain technologies of blockchain technology?


What is the hottest topic on the Internet right now? You don’t need to explain it to me, it’s blockchain. Blockchain technology, but many friends have only heard of this technology and do not have much in-depth understanding of it. So what are the blockchain technologies? Below we will bring you an introduction to the core technology of blockchain for your reference.
What are the core elements of blockchain technology?
Blockchain technology, which can be a public ledger (visible by anyone) or a permissioned network (visible only by those authorized), solves supply chain challenges , because it is an immutable record that is shared among network participants and updated in real time.
Blockchain technology----data layer: designing the data structure of the ledger
Core technology 1. Block + chain:
Technically speaking, block is a data structure that records transactions. Reflects the flow of funds for a transaction. The blocks of transactions that have been reached in the system are connected together to form a main chain, and all nodes participating in the calculation record the main chain or part of the main chain.
Each block consists of a block header and a block body. The block body is only responsible for recording all transaction information in the previous period, mainly including the number of transactions and transaction details; the block header encapsulates the current version number, previous A block address, timestamp (recording the time when the block was generated, accurate to the second), random number (recording the value of decrypting the answer to the math question related to the block), the target hash value of the current block, and the Merkle number Root value and other information. From a structural point of view, most functions of the blockchain are implemented by the block header.
Core technology 2. Hash function:
The hash function can convert data of any length into a set of fixed-length codes through the Hash algorithm. The principle is based on a cryptographic one-way hash function. This kind of function is easy to verify, but difficult to crack. Usually, the industry uses y=hash(x) to represent it. This hash function implements operations on x to calculate a hash value y.
Commonly used hash algorithms include MD5, SHA-1, SHA-256, SHA-384 and SHA-512, etc. Taking the SHA256 algorithm as an example, inputting any string of data into SHA256 will result in a 256-bit Hash value (hash value). Its characteristics: The same data input will give the same result. As long as the input data changes slightly (for example, a 1 becomes a 0), a completely different result will be obtained, and the result cannot be predicted in advance. Forward calculation (calculating the corresponding Hash value from the data) is very easy. Reverse calculation (cracking) is extremely difficult and is considered impossible under current technological conditions.
Core technology 3. Merkle tree:
Merkle tree is a hash binary tree, which can be used to quickly verify the integrity of large-scale data. In the blockchain network, the Merkle tree is used to summarize all transaction information in a block, and ultimately generates a unified hash value of all transaction information in the block. Any change in transaction information in the block will cause Merkle tree changes.
Core technology 4. Asymmetric encryption algorithm:
Asymmetric encryption algorithm is a key secret method that requires two keys: public key and private key. The public key and the private key are a pair. If the public key is used to encrypt data, only the corresponding private key can be used to decrypt it, thereby obtaining the corresponding data value; if the private key is used to sign the data, then only the corresponding public key can be used to sign the data. In order to verify the signature, the sender of the verification information is the holder of the private key.
Because encryption and decryption use two different keys, this algorithm is called an asymmetric encryption algorithm, while symmetric encryption uses the same key in the encryption and decryption processes.
Blockchain technology----network layer: realize the decentralization of accounting nodes
Core technology 5. P2P network:
P2P network (peer-to-peer network), also known as point-to-point technology, is no Central server, Internet system that relies on user groups to exchange information. Unlike a centralized network system with a central server, each client in a peer-to-peer network acts as both a node and a server. Domestic Xunlei software uses P2P technology. The P2P network has the characteristics of decentralization and robustness.
Blockchain technology----Consensus layer: allocate the task load of accounting nodes
Core technology 6. Consensus mechanism:
Consensus mechanism is how to reach consensus among all accounting nodes to identify The validity of a record is both a means of identification and a means of preventing tampering. There are currently four main types of consensus mechanisms: PoW, PoS, DPoS and distributed consensus algorithms.
PoW (Proof of Work, proof of work): PoW mechanism, which is like Bitcoin’s mining mechanism, miners package existing transactions that have not been recorded by the network into a block, and then continue to traverse and try to find a random number , so that the hash value of the new block plus the random number meets certain difficulty conditions. Finding a random number that meets the conditions is equivalent to determining the latest block of the blockchain, and is also equivalent to obtaining the current round of accounting rights of the blockchain. Miners broadcast blocks that meet the mining difficulty conditions in the Yuanfu network. After other nodes in the entire network verify that the block meets the mining difficulty conditions and that the transaction data in the block meets the protocol specifications, they willEach links the block to its own version of the blockchain, thereby forming a consensus on the current network status in the entire network.
PoS (ProofofStake, Proof of Stake): PoS mechanism requires nodes to provide proof of a certain number of tokens to obtain a distributed consensus mechanism for competing for blockchain accounting rights. If you rely solely on the token balance to determine the bookkeeper, you will inevitably make the rich win, which will lead to the centralization of bookkeeping rights and reduce the fairness of the consensus. Therefore, different PoS mechanisms use different methods to increase the amount of money based on the proof of equity. The randomness of accounting rights avoids centralization. For example, in the PeerCoin PoS mechanism, the Bitcoin with the longest chain age has a greater chance of obtaining accounting rights. NXT and Blackcoin use a formula to predict the next accounting node. The more tokens you own, the greater the probability of being selected as an accounting node. In the future, Ethereum will also switch from the current PoW mechanism to a PoS mechanism. Judging from the information currently available, Ethereum's PoS mechanism will use nodes to place bets on the next block. The winner of the bet will receive an additional Ethereum currency award. Those who do not win will be deducted Ether coins to reach consensus on the next block.
DPoS (DelegatedProof-Of-Stake, share authorization certificate): DPoS is easy to understand and is similar to the modern corporate board of directors system. The DPoS mechanism adopted by BitShares is that shareholders vote to select a certain number of witnesses. Each witness has two seconds of authority to generate blocks in order. If the witness cannot generate a block within the given time slice, The block generation authority is given to the witness corresponding to the next time slice. Shareholders can replace these witnesses at any time by voting. This design of DPoS makes the generation of blocks faster and more energy-saving.
Distributed Consistency Algorithm: Distributed Consistency Algorithm is based on traditional distributed consistency technology. Among them are Byzantine fault-tolerant algorithms that solve the Byzantine Generals problem, such as PBFT (Byzantine fault-tolerant algorithm). In addition, distributed consensus algorithms (Pasox, Raft) that solve non-Byzantine problems are not explained in this article. This type of algorithm is currently a commonly used consensus mechanism in alliance chain and private chain scenarios.
Taken together, POW is suitable for public chains. If you build a private chain, it is more suitable to use POS because there is no trust problem in verification nodes; and because there are untrustworthy local nodes in the alliance chain, it is more suitable to use DPOS.
Blockchain technology----Incentive layer: Develop a "salary system" for accounting nodes
Core technology 7. Issuance mechanism and incentive mechanism:
Take Bitcoin as an example. Bitcoins are initially rewarded by the system to miners who create new blocks, and this reward is halved approximately every four years. At the beginning, miners were rewarded with 50 Bitcoins for each new block recorded, and this reward is halved approximately every four years. By analogy, by around AD 2140, newly created blocks will no longer receive rewards from the system. By then, the total number of Bitcoins will be approximately 21 million. This is the total number of Bitcoins., so it will not increase indefinitely.
Another source of incentives is transaction fees. When there are no system rewards for newly created blocks, the miners' income will change from system rewards to transaction fees. For example, when you transfer, you can specify 1% of it as a handling fee to be paid to the miner who records the block. If the output value of a transaction is less than the input value, the difference is the transaction fee, which will be added to the incentive for that block. As long as a given amount of electronic currency has entered circulation, the incentive mechanism can gradually be converted to rely entirely on transaction fees, so there is no need to issue new currency.
Blockchain technology----Contract layer: giving the ledger programmable features
Core technology 8. Smart contract:
Smart contract is a set of programmed rules and logic that respond to scenarios. Implemented by decentralized, trusted shared script code deployed on the blockchain. Usually, after the smart contract is signed by all parties, it is attached to the blockchain data in the form of program code, and is recorded in a specific block of the blockchain after being propagated through the P2P network and verified by nodes. Smart contracts encapsulate a number of predefined states and transition rules, scenarios that trigger contract execution, response actions under specific scenarios, etc. The blockchain can monitor the status of smart contracts in real time, and activate and execute the contract by checking external data sources and confirming that specific trigger conditions are met.
The above is what blockchain technologies the editor has brought to you? All content of the introduction to the core technology of blockchain.

⑹ What is the development trend of blockchain and the future development trend of blockchain

The dual-layer policy and market drive the blockchain industry with broad development prospects
The dual-layer policy and market Driven by the epidemic, China's blockchain-related industries are expected to move from reality to reality
In the context of the rapid development of blockchain, China conforms to the needs of globalization, keeps up with international pace, and actively promotes research and standardization in domestic blockchain-related fields. formulation and industrial development. Compared with the background of increasingly strict supervision of digital currencies such as Bitcoin, support and encouragement for blockchain technology has reached a global consensus, and domestic blockchain technology will also receive national and local policies in the next few years. support. Driven by the dual layers of policy and market, blockchain-related industries are expected to move from reality to reality, and blockchain technology will accelerate the exploration of possible application scenarios.
Forecast of global blockchain market size
According to the "In-depth Analysis Report on Business Model Innovation and Investment Opportunities in the Blockchain Industry" released by the Qianzhan Industry Research Institute, the global blockchain market size is expected to increase from 2017 to 2017. It will increase from US$411.5 million in 2022 to US$7.6837 billion in 2022, equivalent to a compound annual growth rate of 79.6%. Given the wide range of applications for distributed ledgers and the rising market value of cryptocurrencies, there is a strong need to improve transparency, security, efficiency and streamline processes, as well as blockchain as a service (
BaaS). As a hot topic of development, the blockchain market will expand rapidly. In addition, communication services, international trade, supply chain management, program platforms, payment,Smart contracts, digital identity verification, etc. are also in urgent need of blockchain technology and will create a large number of growth opportunities.
Blockchain, as an integrated application of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other technologies, has become a hot topic of research and discussion by international organizations such as the United Nations and the International Monetary Fund as well as many national governments in recent years. The industry has also increased investment. At present, the application of blockchain has extended to many fields such as the Internet of Things, intelligent manufacturing, supply chain management, and digital asset transactions, and will bring new opportunities to the development of new generation information technologies such as cloud computing, big data, and mobile Internet. , has the ability to trigger a new round of technological innovation and industrial change.
By 2022, the payment sector may occupy the largest share of the blockchain market
Relying on blockchain technology, instant payment of assets can be realized, which not only has the characteristics of non-tampering and digital identity verification, but also can provide Financial institutions and banks significantly save settlement costs. In addition, blockchain makes it possible to automate payments, eliminating the need for middlemen, saving labor costs and time for buyers and sellers. Thanks to the many advantages mentioned above, it is expected that the payment sector will be the most important segment in the entire blockchain market.
The fastest growing region will be Asia-Pacific
Blockchain service providers in the Asia-Pacific region are good at designing and developing user-friendly, cost-saving, and fast cryptocurrency platforms, extending blockchain to multiple Industry application tentacles. Both large enterprises and small and medium-sized enterprises are actively seeking venture financing and investing in the research and development of cutting-edge blockchain technology. In addition, the real estate industry in some countries in the Asia-Pacific region is expected to rapidly transform from semi-transparent to fully transparent, which will also help enhance the development prospects of blockchain in the Asia-Pacific region.

⑺ Blockchain technology concept

Blockchain technology concept

Blockchain technology concept, nowadays, blockchain has become the concern of most people In the field of blockchain, many companies have already studied this technology in depth, but there are still people who don’t know much about it. Below I will share an article about the concept of blockchain technology.

Blockchain technology concept 1

Basic concepts and working principles of blockchain

1. Basic concepts

Blockchain is a distributed data storage, point-to-point New application models of computer technologies such as transmission, consensus mechanisms, and encryption algorithms. The so-called consensus mechanism is a mathematical algorithm that establishes trust and obtains rights and interests between different nodes in the blockchain system.

Blockchain is an important concept of Bitcoin. It is essentially a decentralized database and serves as the underlying technology of Bitcoin. The blockchain is a series of data blocks generated using cryptographic methods. Each data block contains information about a Bitcoin network transaction, which is used to verify the validity of the information, prevent counterfeiting, and generate the next block.

In a narrow sense, blockchain is aIt is a chained data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be a distributed ledger that cannot be tampered with or forged.

Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and access. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.

2. Working principle

The blockchain system consists of data layer, network layer, consensus layer, incentive layer, contract layer and application layer. Among them, the data layer encapsulates the underlying data blocks and related basic data and algorithms such as data encryption and timestamps; the network layer includes distributed networking mechanisms, data dissemination mechanisms and data verification mechanisms; the consensus layer mainly encapsulates network nodes Various consensus algorithms; the incentive layer integrates economic factors into the blockchain technology system, mainly including the issuance mechanism and distribution mechanism of economic incentives; the contract layer mainly encapsulates various scripts, algorithms and smart contracts, and is the core of the blockchain The basis of programmable features; the application layer encapsulates various application scenarios and cases of the blockchain. In this model, the chain block structure based on timestamps, the consensus mechanism of distributed nodes, economic incentives based on consensus computing power, and flexible programmable smart contracts are the most representative innovations of blockchain technology.

Blockchain mainly solves the trust and security issues of transactions, so it proposes four technological innovations to address this issue:

1. Distributed The 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 the transaction and can also jointly testify for it.

Different from traditional distributed storage, the uniqueness of blockchain distributed storage is mainly reflected in two aspects: First, each node of the blockchain stores complete data according to the block chain structure. For data, 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 of equal status, relying on the consensus mechanism to ensure storage consistency, 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, unless all nodes are destroyed, the accounts will not be lost, thus ensuring the security of the accounting data.

2. Asymmetric encryption and authorization technology. Transaction information stored on the blockchain is public, but account identity information is highly encrypted and can only be accessed with authorization from the data owner. , thus ensuring data security and personalprivacy.

3. The 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". Among them, "the minority obeys the majority" does not entirely refer to the number of nodes, but can also be the computing power and the number of shares. Or other characteristic quantities that the 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. Some predefined rules and terms can be automatically executed. 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 implement automated claims settlement in some standardized insurance products.

3. Others

The Internet exchanges information, and the blockchain exchanges value. Human history and the history of the Internet can be understood in eight words: if they are divided for a long time, they must be combined. For a long time, they must be combined. In the era of long-term separation, all network information is scattered on the Internet. It is not easy for everyone to mine information. At this time, platforms such as Google and Facebook will appear. , the only thing it does is recombine all our information. In the Internet era, what the monopoly giants reorganize is information, rather than generating their own information. The information generated is entirely our own. Once the information is reorganized, a new monopoly giant will emerge, so it will be an era of long-lasting separation. Now, due to the emergence of blockchain technology, it has entered an era of integration and division. It is a new multi-centralization. After the new multi-centralization, new value will be generated. These data will be in our own hands, and personal data will generate value. It belongs to oneself. This is the most exciting era of this era.

What is the value of blockchain? A low-cost mechanism to establish trust, establish data rights, and resolve data property rights.

At present, blockchain technology continues to develop, including the current development of single chains to multi-chains, and the technology can be further expanded. I think there may still be disruptions in the future, especially in transactions and other aspects. , especially many disruptive scenarios for existing industries.

The essence of blockchain is to establish trusted information exchange on untrustworthy networks.

One Belt, One Road + One Chain. The bigger thing about blockchain is not to create trust.Rather, it allows trust to be transmitted losslessly, reducing social friction costs as a whole, thereby improving overall benefits.

Now the blockchain itself is still in its initial stage, so it includes the information transmission and encryption of the blockchain. Quantum encryption and other encryption appear in this process, which actually attacks the encryption algorithm used by the blockchain itself. This phenomenon also occurs from time to time. Including blockchain is also a recognition of assets, a recognition of digital assets, but now many of us use cryptographic algorithms, or as the key for us to decrypt, but if you forget the password, it is very likely that your current assets will be lost. If you lose them, you won't be able to get back your original assets. Therefore, there are still some hidden dangers in asset management, including information transmission and some security aspects. Of course, from a technical perspective, the processing speed of our blockchain itself, or its scalability, is because from the perspective of the working mechanism, the entire ledger must be copied to all participants, so in the blockchain Its operational efficiency and scalability are still relatively limited. We feel that these still need further development in terms of technology.

The underlying technologies of the blockchain platform also form blockchain wallets, blockchain browsers, node elections, mining machines, mining pools, development components, development modules, technical communities and project communities. and a series of ecosystems. The perfection of these ecosystems directly determines the efficiency and effectiveness of the underlying platform of the blockchain.

4. Mundell’s Impossible Triangle

It is impossible to achieve the ultimate in decentralization, efficiency, and security at the same time.

Blockchain technology concept 2

The essence of blockchain is a distributed accounting technology, as opposed to centralized accounting technology, which is widely used in our current lives. exist. Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.

Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. At the same time, as the underlying technology of Bitcoin, it is a series of related cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity and anti-counterfeiting of the information and generate the next block.

In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be non-tamperable and non-transformable. Fake distributed ledger.

Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and access. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.

The popular understanding of blockchain technology is: connecting the front, back, left and right blocks of "things" into a chain using one technology, but the original data of each block cannot be tampered with. It is a "module chaining" technology in the field of the Internet of Things that allows participants to trust. The application of blockchain technology is inseparable from the Internet and the Internet of Things. It is based on the integration and interaction of the two, but allows participants to remain independent, decentralized, and work together. With this set of value chain co-construction and sharing, technology.

Characteristics of blockchain: decentralization, openness, autonomy, information cannot be tampered with, and anonymity.

Blockchain is a network that can deliver value. The demand for a network that can deliver value is an important reason for the emergence of blockchain technology. Blockchain emerged driven by the need to protect information with ownership or other value. Through public and private key cryptography, distributed storage and other technical means, the blockchain ensures on the one hand the efficient transmission of valuable information, and on the other hand ensures that this information will not be easily copied and tampered with during the transmission process.

Understand the connotation of blockchain from the inevitability of its birth. Blockchain is a distributed accounting technology that solves the shortcomings of centralized accounting and solves the problem of distributed consistency. It is also The connected Internet is upgraded to a value network that ensures the safe and efficient transmission of valuable information.

Blockchain Technology Concept 3

Blockchain: Blockchain is like a globally unique account book, or database, which records the history of all transactions in the network.

Ethereum Virtual Machine (EVM): It allows you to write more powerful programs on Ethereum and script programs on Bitcoin. It is also sometimes used to refer to the Ethereum blockchain, which is responsible for executing smart contracts and everything.

Node: You can run a node to read and write to the Ethereum blockchain, that is, using the Ethereum Virtual Machine. Full nodes require downloading the entire blockchain. Light nodes are still under development.

Miner: Mining, that is, the node that processes blocks on the blockchain. You can see some of the currently active Ethereum miners on this page: stats.ethdev.com.

Proof of Work: Miners are always competing to solve some mathematical problem. The first one to solve the problem (calculate the next block) will be rewarded with Ether coins. All nodes then update their own blockchain. All miners who want to figure out the next block have an incentive to stay in sync with other nodes and maintain the same blockchain, so the entire network can always reach consensus. (Note: Ethereum is planning to move to a proof-of-stake system (POS) without miners, but that is beyond the scope of this article.)

Ethereum: Abbreviation ETH. A true digital currency that you can buy and use. Here is a chart from one of the exchanges where you can trade Ethereum. At the time of writing, 1 Ethereum is worth $65point.

Gas: Executing programs and saving data on Ethereum consumes a certain amount of Ethereum. Gas is converted from Ethereum. This mechanism is used to ensure efficiency.

DApp: The Ethereum community calls applications based on smart contracts decentralized applications (Decentralized App). The goal of DApp is (or should be) to have a friendly interface for your smart contracts, plus some extras, such as IPFS, a decentralized network that can store and read data, not from the Ethereum team but in a similar spirit ). DApp can run on a centralized server that can interact with Ethereum nodes, or it can run on any Ethereum equal node. (Take a minute to think about this: Unlike ordinary websites, DApps cannot run on ordinary servers. They need to submit transactions to the blockchain and read important data from the blockchain rather than a centralized database. Compared to typical users When logging into the system, the user may be represented as a wallet address and other user data is stored locally. Many things will be structured differently from current web applications.)

Ethereum client, smart contract language

p>

Writing and deploying smart contracts does not require you to run an Ethereum node. Browser-based IDEs and APIs are listed below. But if you are just learning, you should still run an Ethereum node to understand the basic components, and running a node is not difficult.

Clients available for running Ethereum nodes

Ethereum has many client implementations in different languages, that is, multiple methods of interacting with the Ethereum network. , including C++, Go, Python, Java, Haskell, etc. Why do we need so many implementations? Different implementations can meet different needs. For example, the goal of Haskell implementation is to be mathematically verifiable, to make Ethereum more secure, and to enrich the entire ecosystem.

At the time of writing this article, I am using the client geth (go-ethereum) implemented in the Go language. At other times, I also use a tool called testrpc, which uses the Python client pyethereum. Later examples will use these tools.

About mining: Mining is fun, a bit like caring for your houseplant, but also a way to learn about the entire system. Although the current price of Ethereum may not even cover the electricity bill, who knows in the future. People are creating many cool DApps that may make Ethereum more and more popular.

Interactive console: Once the client is running, you can synchronize the blockchain, create a wallet, and send and receive Ethereum. One way to use geth is through the Javascript console. In addition, you can also use cURL-like commands to pass JSON RPC to interact with clients. The goal of this article is to take you through the process of DApp development, so I won’t go into details about this. But we should remember that these command line tools are useful for debugging, configuring nodes, and using wallets.

Running the node on the test network: If you run the geth client on the official network, it will take quite a while to download the entire blockchain and synchronize with the network. You can determine if synchronization has occurred by comparing the last block number printed in the node logs with the latest block listed on stats.ethdev.com. ) Another problem is that running smart contracts on the official network requires real Ethereum. Running the node on the test network does not have this problem. At this time, there is no need to synchronize the entire blockchain. Just create your own private chain, which saves time for development.

Testrpc: Use geth to create a test network. Another faster way to create a test network is to use testrpc. Testrpc can help you create a bunch of test accounts with funds at startup. It also runs faster and is therefore better suited for development and testing. You can start with testrpc, and then as the contract slowly takes shape, move to the test network created by geth - the startup method is very simple, you only need to specify a networkid: geth --networkid "12345". Here is the code repository for testrpc, we will talk about it again below.

Next, let’s talk about the available programming languages, and then we can start the real programming. Solidity is the programming language used to write smart contracts.

There are several languages ​​to choose from when writing smart contracts: Solidity, which is somewhat similar to Javascript, has a file extension of .sol. Serpent, which is similar to Python, has a file name ending in .se. There is also a Lisp-like LLL. Serpent has been popular for a while, but now the most popular and stable one is Solidity, so just use Solidity. I heard you like Python? Use Solidity.

solc compiler: After writing the smart contract with Solidity, you need to use solc to compile it. It is a component from a C++ client implementation. Again, different implementations complement each other. Here is how to install it. If you don't want to install solc, you can also use a browser-based compiler, such as Solidity real-time compiler or Cosmo. The programming sections below will assume you have solc installed.

web3.js API. After the Solidity contract is compiled and sent to the network, you can use Ethereum's web3.js JavaScript API to call it and build web applications that can interact with it.

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