计算机科学与探索 ›› 2020, Vol. 14 ›› Issue (10): 1621-1643.DOI: 10.3778/j.issn.1673-9418.2004029

• 综述·探索 • 上一篇    下一篇

区块链原理及关键技术

王群,李馥娟,王振力,梁广俊,徐杰   

  1. 江苏警官学院 计算机信息与网络安全系,南京 210031
  • 出版日期:2020-10-01 发布日期:2020-10-12

Principle and Core Technology of Blockchain

WANG Qun, LI Fujuan, WANG Zhenli, LIANG Guangjun, XU Jie   

  1. Department of Computer Information and Cybersecurity, Jiangsu Police Institute, Nanjing 210031, China
  • Online:2020-10-01 Published:2020-10-12

摘要:

区块链是综合运用密码学、分布式数据库、P2P通信、智能合约等的技术,在一个去中心化、去信任网络中,利用加密算法在链式数据结构中验证和存储数据。区块链技术是一项具有普适性的底层技术架构,它通过共识机制在分布式节点上生成和同步数据,借助可编程脚本实现合约条款的自动执行和数据操作。对区块链进行系统梳理并对其关键技术元素进行解构,在此前提下,从体系结构和实现协议入手分析了区块链系统的基础架构,以区块链技术的应用发展为脉络,主要结合比特币、以太坊和超级账本应用场景,对其技术原理、实现路径、应用现状和存在的挑战进行了阐述。力求为读者在系统学习区块链技术的基础上致力于更深入的研究提供帮助和借鉴。

关键词: 区块链, 比特币, 以太坊, 共识机制, 加密算法, 智能合约

Abstract:

Blockchain is a kind of technology which comprehensively uses cryptography, distributed databases, P2P communication, smart contracts and other technologies. In a decentralized and trustless network, it uses encryption algorithms to verify and store data in a chained data structure. Blockchain technology is a universal low-level technical architecture that generates and synchronizes data on distributed nodes through a consensus mechanism, and implements automatic execution of contract terms and data operations with the help of programmable scripts. This paper systematically sorts out the blockchain and deconstructs its key technical elements. Under this premise, the basic architecture of the blockchain system is analyzed starting from the architecture and the implementation protocol. Taking the application development of blockchain technology as the context and combining with the application scenarios of Bitcoin, Ethereum and Super Ledger, the technical principles, implementation paths, app-lication status and existing challenges are expounded. This paper seeks to provide readers with help and reference in the systematic learning and in-depth research of blockchain technology.

Key words: blockchain, Bitcoin, Ethereum, consensus mechanism, encryption algorithm, smart contract