键保护是揸揸辉 发表于 2024-4-7 23:39:14

秒懂区块链:技术特点、应用价值、非对称加密与区块体结构


    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">区块链这一概念相信不少同学都已经听说过,那么,到底什么是区块链?区块链本身具有哪些技术特点和应用价值?这篇文章里,作者就做了分享和总结,一起来看看吧。</p><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-axegupay5k/213311276b19410d980ed6c4aaa4a699~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713032225&amp;x-signature=IpflxLNC23yT60FbznfXPxNIyOU%3D" style="width: 100%; margin-bottom: 20px;">
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">前言:</strong>作为HUST的MBA在读生,分享MBA课程“管理信息系统”中关于「区块链」技术的收获。</p>
    <h1 style="text-align: left; margin-bottom: 10px;">一、什么是区块链</h1>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">区块链本质上是:</p>点对点传输,<strong style="color: blue;">去中心化的数据库;</strong>密码学保证<strong style="color: blue;">不可篡改的分布式账本。</strong>
    <h1 style="text-align: left; margin-bottom: 10px;">二、区块链的关键要素</h1>
    <h2 style="text-align: left; margin-bottom: 10px;">1. 分布式存储</h2>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">Peer-to-Peer(P2P)技术,不再依赖于少数的中心化服务器;任何单一节点都无法控制或篡改整个系统。</p>
    <h2 style="text-align: left; margin-bottom: 10px;">2. 密码学(非对称加密技术+哈希算法)</h2>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">将信息以更高的效率转换为二进制,保证信息的安全;应用Merkle根的特性防篡改。</p>
    <h2 style="text-align: left; margin-bottom: 10px;">3. 共识机制</h2>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">通过多个节点交互对数据,行为达成一致,具备“少数服从多数”、“人人平等”的特点。</p>
    <h1 style="text-align: left; margin-bottom: 10px;">三、区块链的特点与应用价值</h1>
    <h2 style="text-align: left; margin-bottom: 10px;">1. 三大特点</h2><strong style="color: blue;">去中心化</strong>:防篡改,数据安全;<strong style="color: blue;">不可逆</strong>:数据留痕;<strong style="color: blue;">可溯源</strong>:数据定位。<h2 style="text-align: left; margin-bottom: 10px;">2. 应用价值</h2><strong style="color: blue;">数据共享</strong>:提高数据的透明度和可信度;<strong style="color: blue;">优化业务流程</strong>:优化和简化交易结算、合同签署、物流跟踪等;<strong style="color: blue;">降低运营成本</strong>:降低系统维护成本;<strong style="color: blue;">提高协同效率</strong>:促进多方协同合作;<strong style="color: blue;">建立可信体系</strong>:提高系统安全性。<h1 style="text-align: left; margin-bottom: 10px;">四、区块链的三种类型</h1><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/3c7b7dca0e8588b1bf927df91a0e5263~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713032225&amp;x-signature=Vo9hVZEnSxhPo7c2DrwBEvwDK%2FM%3D" style="width: 100%; margin-bottom: 20px;">
    <h1 style="text-align: left; margin-bottom: 10px;">五、零知识证明</h1>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">零知识证明(Zero-Knowledge Proof)</strong>区块链应用非对称加密,用公钥和私钥可以确保区块链中数据的安全性和有效性。</p><strong style="color: blue;">公钥</strong>用于加密数据和验证数字签名;<strong style="color: blue;">私钥</strong>用于解密数据和生成数字签名。<img src="https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/bf746e214b2c23ce664808f3b433f833~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713032225&amp;x-signature=y1bizFBm4oDf%2FEbBgYERJu19OY0%3D" style="width: 100%; margin-bottom: 20px;">
    <h1 style="text-align: left; margin-bottom: 10px;">六、区块链结构</h1>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">每个数据区块包含<strong style="color: blue;">区块头和区块体。</strong></p>
    <h2 style="text-align: left; margin-bottom: 10px;">1. 区块头封装</h2><strong style="color: blue;">当前版本号;</strong><strong style="color: blue;">前一区块哈希值;</strong><strong style="color: blue;">当前区块PoW要求的随机数(Nonce);</strong><strong style="color: blue;">时间戳;</strong><strong style="color: blue;">Merkle根信息。</strong>
    <h2 style="text-align: left; margin-bottom: 10px;">2. 区块体</h2>当前区块经过验证的、 区块创建过程中生成的<strong style="color: blue;">所有交易记录</strong>,通过 Merkle树的哈希过程生成唯一的<strong style="color: blue;">Merkle根</strong>并记入区块头。每个数据块都包含一个指向前一区块的<strong style="color: blue;">父哈希值</strong>,从而形成了数据块之间的链条。<h2 style="text-align: left; margin-bottom: 10px;">3. Tips:Merkle树的特性</h2>增加分支(即增加更多的数据块)不会改变Merkle根的值。改变了一个数据块的值,对应的哈希值也会改变,进而影响其父节点、祖父节点等的哈希值;最终导致Merkle根的值发生变化。<img src="https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/b1845160dc6681a41a26be7a1596d5f4~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713032225&amp;x-signature=bVN%2B9ayWniYiO6YPDOTOibajhAE%3D" style="width: 100%; margin-bottom: 20px;">
    <h1 style="text-align: left; margin-bottom: 10px;">七、区块链1.0与2.0的区别</h1><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/1a86d6f6b80e792326f62afdae33c089~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713032225&amp;x-signature=u1KlWAfXQzsu12MymdcbXlj7fY4%3D" style="width: 100%; margin-bottom: 20px;">
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">本文由 @陈皮Brian 原创发布于人人都是产品经理,未经授权,禁止转载</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">题图来自Unsplash,基于CC0协议</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">该文观点仅代表作者本人,人人都是产品经理平台仅提供信息存储空间服务。</p>


页: [1]
查看完整版本: 秒懂区块链:技术特点、应用价值、非对称加密与区块体结构