区块链的核心技术是什么?

资讯 2024-06-28 阅读:19 评论:0
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

什么是区块链呢,本质上讲,区块链是一种分布式、去中心化的网络数据库系统,这个系统会让数据的存储、更新、维护、操作变得不同。

What is a block chain? Essentially, the block chain is a distributed, decentralised web-based database system that makes data stored, updated, maintained and operated differently.

我们今天要讲的区块链呢,它有四项不可缺的核心技术,分别是:分布式存储、共识机制、密码学原理、智能合约。

What we are talking about today is the chain of blocks, with four essential core technologies: distributed storage, consensus mechanisms, cryptography, smart contracts.

那么我们今天就讲一讲,与传统数据处理相比,区块链到底有什么不同,帮助大家了解区块链是什么,让大家对区块链有一个总的认知。

So let us say today, how the chain of blocks is different from traditional data processing, helping to understand what the chain of blocks is and giving you a general understanding of the chain of blocks.

一、区块链中的数据存储:块链式数据结构

i. Data storage in block chains: block chain data structure

在数据存储方面,区块链技术利用的是“块链式数据结构”来验证与存储数据的。块链式结构是什么意思呢?铁链子大家都见过吧,一环套一环那种,其实,每一环我们可以看作是一个区块,很多环节扣在一起就形成了区块链。

In terms of data storage, block chain technology uses a "block-chained data structure" to verify and store data. What does a block-chain structure mean? The chain has been seen by everyone, in a chain of rings, and in fact, each ring can be seen as a block, and many links are tied together to form a chain of blocks.

区块里存储的是数据,和普通存储数据的不同之处在于:在区块链上,后一个区块里的数据是包含前一个区块里的数据的。

The difference between data stored in blocks and data stored in general is that, on the block chain, the data in the latter block contains the data in the previous block.

以读书为例:我们平时看书,看完第一页,接着读第二页、第三页……那在区块链里面呢,如果给每个区块标注上页码,那么第二页的内容是包含第一页的内容的,第三页的内容包含第一页和第二页的内容……第十页包含了前九页的内容,就是这样一个层层嵌套的链条。这样一来,就可以追溯到最本源的数据了,这就是区块链的可追溯性。

Take reading as an example: we read the book, read the first page, then the second page, then the third page in the block chain. If each block is marked with a page number, then the second page contains the first page, and the third page contains the first and the second page. Page 10 contains the first nine pages, which is a chain of layers. This allows us to trace the data from the most sources, which is the traceability of the block chain.

二、区块链中的数据更新:分布式节点共识算法

II. Data updates in block chains: distributed node consensus algorithm

在数据更新方面,区块链技术是利用“分布式节点共识算法”来生成和更新数据。

In terms of data updating, block chain technology uses the Distributed Node Consensus algorithm to generate and update data.

每每生成新的区块(也就是更新数据的时候),都需要通过一种算法获得全网51%以上节点的认可才能构成新的区块,说白了就是投票,超过半数人同意就可以生成。这就使得区块链上的数据不容篡改。

Every new block (i.e., when the data are updated) needs to be accepted by more than 51 per cent of the net through an algorithm to form a new block, which means voting, with more than half of the people agreeing to it. This makes the data on the block chain immutable.

我们还是打一个比喻来解释:我们把区块链比作一个账本,因为都是记录数据的嘛。传统世界里,记账权在于记账先生,账本属于记账先生一个人的;在区块链里面,每一个人都拥有这个账本,大家一起来记账,想要更新账目呢,就要投票,半数人以上赞成才可以去更新账目数据。

Let us explain by a metaphor: we compare the chain of blocks to a book of accounts, because it's all data records. In the traditional world, the book of accounts is left to Mr. Books, and the book of accounts belongs to Mr. Books alone. In the chain of blocks, everyone has the book of accounts, everyone takes it together, and if you want to update the accounts, you have to vote, and more than half are in favour of updating the account data.

在这个过程中,我们会涉及到这么几个名词:分布式、节点、共识算法:

In this process, we are dealing with the following terms: distribution, nodes, consensus algorithms:

每个人都记账(也就是人人拥有账本,账本分散在每个人手里)这就是所谓的“分布式”;大家讨论、投票产生的、一致赞同的记账办法,就是所谓的“共识算法”;节点就更简单了,参与记账的每一个人就可以看做是一个节点。

This is the so-called “distribution” of everyone's bookkeeping (i.e. everyone owns the book and the book is spread out in everyone's hands); the way in which you discuss, vote for and agree with the bookkeeping is the so-called “consensual algorithm”; the node is simpler, and everyone involved in the bookkeeping can see it as a node.

三、 区块链中的数据维护:密码学

III. Data maintenance in block chains: cryptography

接下来到了数据维护阶段,区块链的不同之处就在于:它利用密码学的方式来保证数据传输和访问的安全。

The next step in data maintenance is that the block chain is different: it uses cryptography to secure data transmission and access.

那么,区块链中所应用的密码学原理主要有以下这么几个:哈希算法、Merkle哈希树、椭圆曲线算法、Base58。这些原理,其实呢,他们都是通过一系列复杂的运算以及换算,来保证区块链上数据安全。

So the cryptography principles applied in the block chain are mainly the following: Hashi algorithms, Merkle-Hashi trees, elliptical curve algorithms, Base58. These principles, in fact, guarantee data security in the block chain through a series of complex calculations and conversions.

四、 区块链中的数据操作:智能合约

iv. Data operations in block chains: Smart Contract

最后就进入到了数据的操作阶段,也就是我们接着要说的“智能合约”。

And finally, we're at the operational stage of the data, which is what we're going to call “intellectual contracts”.

智能合约,是由计算机程序定义并自动执行的承诺协议,说白了,就是用代码执行的一套交易准则,类似于现在的信用卡自动还款功能,开启这个功能,你自己什么都不用管,到期银行会自动扣除你欠的钱。

Smart contracts, a commitment agreement defined by a computer program and automatically executed, are a set of transactional guidelines implemented by code, similar to the current credit card automatic repayment function, which opens up, you don't have to worry about anything, and the maturity bank automatically deducts the money you owe.

智能合约的突出优势就是,很大程度上避免了由信任产生的一系列问题。我们很多人,都遇到过被借钱的事情:朋友手头紧了跟你借2000块钱,承诺下个月发了工资还钱,到了下个月他又找别的借口不还,拖来托去这事儿就没谱了。本来没多少钱,还是朋友,虽然你很郁闷,这事也就算了。

The obvious advantage of a smart contract is that it largely avoids a series of problems that arise from trust. Many of us have experienced borrowed money: a friend who's got 2,000 dollars to borrow from you, promised to pay you his salary next month, and next month he's got another excuse not to pay it, and it's not going to work. It's not going to work. It's not going to be much, it's going to be a friend, even if you're upset.

那么,有了智能合约以后,他就不能赖账了,因为在智能合约上,一旦触发合约中的条款,代码就会自动执行,不管他愿不愿意,只要他发了工资、账户上有了钱,他就得还你。

So, with a smart contract, he can't afford it, because in a smart contract, once the terms of the contract are triggered, the code is automatically enforced, whether he wants or not, and he's gonna pay you back as long as he pays and he has money on the account.

最后总结一下今天的内容,今天呢我们主要通过数据存储操作的这么一个流程,介绍了区块链的基本情况。我们对此做一个总结,可以发现区块链中有四项不可缺的核心技术,分别是:分布式存储、共识机制、密码学原理、智能合约。

Finally, to sum up what we're doing today, we're doing, mainly through this process of data storage, to describe the basics of the block chain. To sum up, we can see that there are four essential core technologies in the block chain: distributed storage, consensus mechanisms, cryptography, smart contracts.

那么,我们可以这样理解:分布式存储对应的是数据存储这个阶段,共识机制对应的是数据的处理更新这个阶段,密码学对应的是数据安全,智能合约对应的是数据的操作问题。

So we can understand that distributed storage corresponds to the data storage phase, consensus mechanisms to the data processing update phase, cryptography to data security, and smart contracts to data operations.

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 0.00003374个比特币等于多少人民币/美金

    0.00003374个比特币等于多少人民币/美金
    0.00003374比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00003374比特币等于2.2826 1222美元/16.5261124728人民币。比特币(BTC)美元(USDT)人民币(CNY)0.00003374克洛克-0/22216.5261124728比特币对人民币的最新汇率为:489807.72 CNY(1比特币=489807.72人民币)(1美元=7.24人民币)(0.00003374USDT=0.0002442776 CNY)。汇率更新于2024...
  • 0.00006694个比特币等于多少人民币/美金

    0.00006694个比特币等于多少人民币/美金
    0.00006694比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00006694比特币等于4.53424784美元/32.5436 16人民币。比特币(BTC)美元(USDT)人民币(CNY)0.000066944.53424784【比特币密码】32.82795436 16比特币对人民币的最新汇率为:490408.64 CNY(1比特币=490408.64人民币)(1美元=7.24人民币)(0.00006694USDT=0.0004846456 CNY)汇率更新时...
  • 0.00015693个比特币等于多少人民币/美金

    0.00015693个比特币等于多少人民币/美金
    0.000 15693比特币等于多少人民币?根据比特币对人民币的最新汇率,0.000 15693比特币等于10.6 1678529美元/76.86554996人民币。比特币(BTC)【比特币价格翻倍】美元(USDT)人民币(CNY)0.000/克洛克-0/5693【数字货币矿机】10.6 167852976.8655254996比特币对人民币的最新汇率为:489,807.72 CNY(1比特币= 489,807.72人民币)(1美元=7.24人民币)(0.00015693 U...
  • 币圈院士:5.20比特币(BTC)以太坊(ETH)行情分析

    币圈院士:5.20比特币(BTC)以太坊(ETH)行情分析
    利空出尽?华尔街多头坚信美股将摆脱泥潭 经济衰退风险被夸大A lot of people on Wall Street believe that beauty will escape the quagmire; the risk of recession is exaggerated. 从目前美国经济的情况加上美股先有的走势来判断,确信通胀已经或即将见顶,这为价格压力回落铺平了道路,这最终将使美联储得以放缓...
  • 2000年美国GDP占世界的304%,中国GDP仅占35%,现在呢?

    2000年美国GDP占世界的304%,中国GDP仅占35%,现在呢?
    GDP作为全球公认的实力基准,就像是一个大国实力的代言人,它是布雷顿森林体系下全球团结的声音。它不仅仅是数字的累积,更是大国综合实力的人格化,默默诉说着每个国家的辉煌与荣耀。虽然GDP不是衡量一个国家综合实力的唯一标准,但无疑是最关键的指标之一。作为一面镜子,它反映了国家的经济实力和发展水平,是国家综合实力的重要体现,不容忽视。2000年,中国GDP迈过/克洛克-0/万亿美元的重要门槛,达到/克洛克-0/。2/克洛克-0/万亿美元(折合人民币7。7万亿元)。然而,在全球经济的...
标签列表