WO2020042929A1 - Block chain system - Google Patents

Block chain system Download PDF

Info

Publication number
WO2020042929A1
WO2020042929A1 PCT/CN2019/101043 CN2019101043W WO2020042929A1 WO 2020042929 A1 WO2020042929 A1 WO 2020042929A1 CN 2019101043 W CN2019101043 W CN 2019101043W WO 2020042929 A1 WO2020042929 A1 WO 2020042929A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
network
chain
cross
blockchain
Prior art date
Application number
PCT/CN2019/101043
Other languages
French (fr)
Chinese (zh)
Inventor
白杰
吴先锋
李冬云
Original Assignee
白杰
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201811496869.4A external-priority patent/CN110868439B/en
Application filed by 白杰 filed Critical 白杰
Publication of WO2020042929A1 publication Critical patent/WO2020042929A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists

Definitions

  • This application relates to the field of network transaction technology, and in particular, to a blockchain system.
  • Blockchain technology is a decentralized system idea that can create a relatively objective anti-repudiation digital environment through public consensus.
  • Blockchain technology can ensure that network information cannot be changed once it is released. For example, if a transaction occurs in the blockchain network, nodes in the blockchain network will record the content of the transaction in the generated block, and Block data is broadcast throughout the network, and other nodes in the network store the block data synchronously or asynchronously to form an unchangeable blockchain.
  • the blockchain system includes a data layer, a network layer, a consensus layer, an incentive layer, a contract layer and an application layer.
  • the data layer encapsulates the underlying data blocks and basic data algorithms;
  • the network layer connects each network node to form a point-to-point network in the form of distributed networking to achieve data dissemination and verification;
  • the consensus layer encapsulates various consensus algorithms; incentive layer integration Economic factors to formulate the issuance and distribution mechanism;
  • the contract layer provides scripts, algorithms and smart contracts;
  • the application layer encapsulates specific application scenarios.
  • This application provides a blockchain system to solve the problem that traditional blockchain systems do not support cross-chain transactions and cannot complete communication and interaction between different chains.
  • This application provides a blockchain system, including a P2P network, where nodes in the P2P network are deployed as public chain nodes or various access chain nodes, respectively, in which, according to the role or function of the node in the blockchain , Deploying the node as one or more of the following logical layers:
  • the data block layer which includes a sequential collection based on physical data blocks, is used to provide distributed data storage and data reading for the entire blockchain network;
  • the network switching layer includes basic network facilities and multiple communication protocols for mutual discovery, networking, and communication of distributed nodes in the blockchain network;
  • Platform framework layer including multiple blockchain platforms connected to the blockchain network, to provide basic blockchain functions and architecture, as well as cross-chain mutual function registration and discovery;
  • Decentralized application layer including a collection of applications installed in a network environment and support for building third-party decentralized applications for application creation, deployment, docking, and use;
  • Cross-domain layer including transaction server, for managing cross-chain transactions, transaction verification, and providing cross-chain smart contracts.
  • each layer performs data operations independently of each other, and transmits data operation results through a formatted interface between layers.
  • the data block layer, network exchange layer, platform framework layer, and decentralized application layer are deployed in any node; the cross-domain layer is deployed in the maintenance of two or more blockchain networks On the public node.
  • the same level between any nodes and data operations at the same level are deployed through distributed applications; data operations at different levels within a node are deployed through different applications.
  • the data block layer is connected to the network switching layer through a data interface
  • the nodes deployed as the data block layer send the generated transaction information to the network exchange layer;
  • a node deployed as a data block layer also receives and reads transaction information from the network exchange layer through a data interface, and stores the transaction information in a memory.
  • the network switching layer is connected to the platform framework layer through a network interface.
  • the platform framework layer is connected to the decentralized application layer through a contract interface and / or an application programmable interface;
  • An application in the decentralized application layer uses the platform framework layer as a development environment, and accesses the platform framework layer through the application programmable interface;
  • the smart contract information is also sent to the platform framework layer through the contract interface to process the transaction information through an application program.
  • the decentralized application layer is connected to the cross-domain layer through the application interface;
  • the transaction server in the cross-domain layer invokes applications in the decentralized application layer through the application interface to implement cross-chain transactions.
  • the cross-domain layer is also connected to the platform framework layer through a contract interface and / or an application programmable interface;
  • the cross-domain layer When the cross-domain layer implements cross-chain transactions, it provides a cross-chain smart contract to the blockchain platform in the platform framework layer through a contract interface.
  • each of the access chain nodes belongs to the plurality of blockchain networks connected to the public chain
  • the blockchain network connected to the public chain includes a sub-chain, an industry chain, and an alliance chain based on the public chain node interface specification, and Third-party public chain, industry chain, alliance chain and private chain.
  • the present application provides a blockchain system, including a peer-to-peer P2P network.
  • Nodes in the P2P network are respectively deployed as public chain nodes or various access chain nodes.
  • the role or function assumed in the blockchain network is that the nodes are deployed as one or more logical layers in the data block layer, network exchange layer, platform framework layer, decentralized application layer, and cross-domain layer. Each layer performs data operations independently in this layer, and can complete block data generation, verification, and storage in transactions through data interaction between the layers.
  • the traditional blockchain system does not support cross-chain transactions.
  • FIG. 1 is a schematic structural diagram of an existing blockchain system
  • FIG. 2 is a schematic structural diagram of a blockchain system of the present application.
  • FIG. 3 is a schematic diagram of a connection structure between various logical levels in a blockchain system of this application.
  • FIG. 4 is a schematic diagram of the connection of the blockchain network of the present application.
  • FIG. 5 is a schematic flowchart of a transaction performed by this application.
  • FIG. 6 is a schematic flowchart of a cross-chain transaction in this application.
  • FIG. 7 is a schematic diagram of a public chain-based cross-chain transaction process.
  • the blockchain refers to the accounting data generated by transactions in the network system on the one hand, and the network running the blockchain technology, that is, the blockchain network on the other.
  • the blockchain network refers to a peer-to-peer (P2P) network with a decentralized application architecture.
  • the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification. That is, a trading platform that covers distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
  • Blockchain or blockchain information is the accounting information generated based on the transaction information when a transaction occurs in the blockchain network, that is, multiple specific transactions form a block, and multiple blocks form a block chain.
  • Blockchain networks include nodes that establish peer-to-peer network connections with each other. Each node is configured with a corresponding consensus mechanism, such as a smart contract, and has sufficient computing power to perform transaction verification and accounting procedures.
  • the nodes also have an interface specification that conforms to a certain unified standard to achieve access to more nodes or other types of blockchain networks through the interface specification.
  • FIG. 2 it is a schematic structural diagram of a blockchain system of the present application
  • FIG. 3 is a schematic structural diagram of connections between various logical levels in the blockchain system of the present application.
  • a blockchain system provided in this application includes a peer-to-peer P2P network.
  • the P2P network is composed of multiple nodes, and each node has computing capabilities, application running capabilities, storage capabilities, and the ability to provide human-computer interaction.
  • a node in a P2P network is not only a gateway device that provides network information transmission, but also any computer device certified by the blockchain network, such as personal computers, computer units, servers, and intelligent terminal devices.
  • the blockchain network includes a public chain network that provides a basic platform, and other blockchain networks that access the public chain network, that is, an access chain network.
  • the nodes in the P2P network described in this application are deployed as public chain nodes or various access chain nodes, respectively.
  • the public chain network and the access chain network according to the scale of the blockchain network, it can be further divided into public chain, sub-chain and private chain.
  • the application field of the blockchain network it can also be divided into public chains, industry chains and alliance chains, as well as third-party public chains (such as the Bitcoin network, Ethereum network, etc.), third-party industry chains, and third-party alliance chains.
  • each blockchain network is composed of a different number of nodes, and each blockchain network can independently complete transactions, verification, and storage within the network.
  • the public chain of the present application serves as a basic platform and has cross-chain transmission, information relay, and connection functions, nodes in the public chain are provided with a unified and standardized standard interface.
  • the access chain as a blockchain system with specific functions relative to the public chain, can be a sub-chain developed based on the public chain node interface specification, and a third-party blockchain network. Therefore, in some embodiments of the present application, the access chain nodes each belong to the multiple blockchain networks connected to the public chain.
  • the blockchain network connected to the public chain includes sub-chains and industries based on the public chain node interface specification. And alliance chains, as well as third-party public, industry, alliance, and private chains.
  • FIG. 2 and FIG. 3 it can be known from FIG. 2 and FIG. 3 that in the blockchain system provided by the present application, according to the role or function of a node in the blockchain, the node is deployed into one or more of the following logical levels:
  • the data block layer which includes a sequential collection based on physical data blocks, is used to provide distributed data storage and data reading for the entire blockchain network;
  • the network switching layer includes basic network facilities and multiple communication protocols for mutual discovery, networking, and communication of distributed nodes in the blockchain network;
  • Platform framework layer including multiple blockchain platforms connected to the blockchain network, to provide basic blockchain functions and architecture, as well as cross-chain mutual function registration and discovery;
  • Decentralized application layer including a collection of applications installed in a network environment and support for building third-party decentralized applications for application creation, deployment, docking, and use;
  • Cross-domain layer used to manage cross-chain transactions, transaction verification, and provide cross-chain smart contracts.
  • a data block layer, a network switching layer, a platform framework layer, a decentralized application layer, and a cross-domain layer maintain a many-to-many correspondence relationship with each node.
  • it can be deployed by one node alone or by multiple nodes.
  • a node it can be deployed as a layer of functions or roles, or it can be deployed as multiple layers of functions or roles simultaneously.
  • a data block layer, a network exchange layer, a platform framework layer, a decentralized application layer, and a cross-domain layer can be deployed at the same time.
  • such nodes will Participate in all data processing processes.
  • it can also be used as a data block layer alone, that is, in this node, only the sequential collection based on physical data blocks is deployed in order to distributed data storage and data read functions when transactions occur.
  • the data block layer is mainly used to provide distributed data storage and data reading of the entire blockchain network, that is, to generate formatted standard data according to transaction information, so as to Read and process between them; and store the data generated at each level or store the final result data of the transaction.
  • the data block layer mainly includes the following functions: data storage, data indexing, data reading, data backup, data security setting and authentication, data permission setting and authentication, data verification, and data division and other functions or Operation, correspondingly, the nodes deployed as the data block layer should include data storage devices, such as hard disks, for storing data files, and can be further configured to form a database.
  • data storage devices such as hard disks, for storing data files, and can be further configured to form a database.
  • network applications are deployed to implement network registration, network discovery, network authentication, network grouping, network routing, and network transmission. Therefore, for nodes configured as the network switching layer, various network protocols should be stored therein .
  • decentralized application layer As an application layer, applications that are applied in multiple fields are deployed, such as: e-commerce, crowdfunding platforms, game transactions, financial management, item transactions, market transactions, social systems, and small-scale DAOs. Systems and management platforms or applications such as the Internet of Things.
  • decentralized application refers to an application installed on a node configured as a decentralized application layer or installed in a network environment in a blockchain system. The basic algorithm and The specific processes are all consensus of the whole network, and its data processing process will not be controlled and modified by the central equipment, such as being controlled by a certain server.
  • the nodes configured as the cross-domain layer should store consensus contracts and have standardized access interfaces to complete cross-chain transactions, cross-chain verification, cross-chain contract configuration, cross-chain value discovery, Cross-chain services such as sub-chain / third-party access chain management.
  • each layer performs data operations independently of each other, and transmits the results of data operations through a formatted interface between layers.
  • the data is stored, read, and set independently.
  • the process of generating a data file is not subject to any other level of control and influence.
  • the data block layer is based on Specific application scenarios generate corresponding data such as transactions and contracts, and drive the results of data operations through formatted interfaces between layers.
  • the data block layer is connected to the network switching layer through a data interface.
  • the node deployed as the data block layer sends the generated transaction information to the network exchange layer; the node deployed as the data block layer also receives and reads the transaction information from the network exchange layer through the data interface, and sends the transaction information Stored in memory.
  • the data interface (DI, Data Interface) is a DI interface provided externally by the data block layer.
  • the remaining layers mainly the network switching layer and the platform framework layer, are directly based on the data interface DI to complete the docking with the data block layer And communication.
  • the data interface can provide the following types of interface sets, such as data generation (DIG), data storage (DIS), data query (DIQ), data read (DIR), and data delete (DID).
  • the network switching layer is connected to the platform framework layer through a network interface.
  • the network interface (NI, Network Interface) is the unified NI interface provided by the network switching layer.
  • the remaining layers such as the platform framework layer, directly perform network communication and data exchange based on this interface.
  • the network interface provides the following types of interface collections: NIQ), Network Registration (NIR), Network Access (NIC), Data Publishing (NIP), Data Synchronization (NIS), Network Grouping (NIG), etc.
  • the platform framework layer is connected to the decentralized application layer through a contract interface and / or an application programmable interface.
  • the application in the decentralized application layer uses the platform framework layer as a development environment, and accesses the platform framework layer through the application programmable interface, and if the data block layer generates the
  • the transaction information includes smart contract information, and the smart contract information is also sent to the platform framework layer through the contract interface to process the transaction information through an application program.
  • API application programmable interface
  • all decentralized applications in the decentralized application layer can be developed, implemented, and deployed based on the interface of the layer.
  • Application programmable interfaces mainly provide the following types of interface collections, such as cryptographic interfaces, consensus interfaces, account interfaces, status interfaces, message interfaces, channel interfaces, data structure interfaces, transaction interfaces, fee interfaces, and block interfaces.
  • Decentralized applications have specific operational forms that pass different types of data.
  • CI smart contract
  • it mainly provides the following types of interface collections, such as virtual machine interfaces, contract interfaces, and release management interfaces.
  • the decentralized application layer is connected to the cross-domain layer through an application interface; the transaction server in the cross-domain layer calls the application program in the decentralized application layer through the application interface to implement cross-chain transactions.
  • the application interface AI
  • the cross-domain layer in order to complete cross-chain transactions, also connects the platform framework layer through a contract interface and / or an application programmable interface; and the cross-domain layer is implementing cross-chain transactions At that time, cross-chain smart contracts are provided to the blockchain platform in the platform framework layer through the contract interface.
  • the data block layer, network exchange layer, platform framework layer, and decentralized application layer are deployed in any node; the cross-domain layer is deployed in the maintenance of two or Public nodes on more than two blockchain networks. That is, in the blockchain system of this application, any node can be used to deploy the data block layer, network exchange layer, platform framework layer, and decentralized application layer.
  • any node can be used to deploy the data block layer, network exchange layer, platform framework layer, and decentralized application layer.
  • At each level as long as the nodes in the system have the computing power and hardware configuration required by the corresponding levels.
  • nodes For the public chain network, when there is a sufficient number of nodes in the public chain network, all nodes can be divided into multiple parts, and the multiple parts are independent of each other, and there may also be some overlapping nodes. In addition, some nodes are used to configure one level, and other nodes are used to configure another level. By configuring different levels of functions for nodes in different parts, you can make full use of the computing power of each node in the public chain network and improve the efficiency of data generation, operation, verification, and storage.
  • the above data block layer, network exchange layer, platform framework layer, and decentralized application layer frequently transmit data to each other. Therefore, in order to speed up the data transmission efficiency, the above four levels can be deployed in a network environment and compared with each other.
  • Near nodes In addition, for nodes with higher hardware equipment configuration, it can be configured as a hierarchy of multiple roles or functions, for example, configured to have functions of the data block layer, network switching layer, platform framework layer, and decentralized application layer at the same time; and For nodes with lower configuration, it can be configured as a single-function level, for example, only as the network switching layer.
  • the cross-domain layer should be deployed on a public node responsible for maintaining two or more blockchain networks, that is, two blockchains Network-connected nodes are preferentially configured with cross-domain layer functions.
  • the function of configuring the cross-domain layer for the public nodes responsible for maintaining two or more blockchain networks can facilitate cross-chain data transfer and verification, and improve the processing efficiency of cross-chain transactions.
  • some nodes in the blockchain network system are randomly selected as the data block layer, network exchange layer, platform framework layer, and decentralized application.
  • the transaction data generated at each layer can be prevented from being artificially changed, and combined with the encryption algorithm, the anti-repudiation effect of the blockchain data can be greatly increased.
  • by randomly selecting and configuring the functions and roles of each node it is also possible to reduce the number of participating nodes in the broadcast verification process of block data under the premise of ensuring data security, improve the verification efficiency of transaction data, and speed up Accounting procedures.
  • DAPP Decentralized Application
  • DAPP Decentralized Application
  • data operations at the same level between any nodes can be deployed and completed through distributed applications to ensure uniformity of data operations within the deployed level and reduce the probability of data errors.
  • each level corresponds to an application. Therefore, when performing data operations, you can directly use the corresponding applications at different levels within the node. Complete the respective data operations. Therefore, data operations in one level are avoided, and frequent transfers are performed between different nodes, thereby improving data operation efficiency.
  • the blockchain network system runs the following program steps for transaction operations:
  • S11 The node acting as the transaction initiator generates data blocks according to the transaction information, and sends the data blocks to the platform framework layer through the network exchange layer;
  • the platform framework layer calls the application in the decentralized application layer and processes the data block through the application;
  • the platform framework layer uses the called application program to complete the transaction according to the data block, and generates accounting data at the platform framework layer;
  • the platform framework layer sends the accounting data to the data block layer for distributed storage through the network exchange layer.
  • a node acting as a transaction initiator first generates data blocks based on the transaction information, and passes the data blocks through the network exchange layer.
  • the platform framework layer sends the accounting data to the data block layer for distributed storage through the network exchange layer to complete the transaction.
  • the blockchain network system executes the following program steps:
  • S21 The node acting as the transaction initiator generates data blocks according to the transaction information, and sends the data blocks to the platform framework layer through the network exchange layer;
  • the platform framework layer calls the application to process data blocks from the decentralized application layer, and determines the corresponding blockchain platform of the transaction target party through the cross-domain layer;
  • the cross-domain layer uses the called application program to complete the transaction according to the blockchain platform corresponding to the data block and the target party, and generates accounting data in the platform framework layer;
  • the platform framework layer sends the accounting data to the data block layer for distributed storage through the network exchange layer.
  • a node acting as a transaction initiator first generates a data block according to the transaction information, and sends the data block to the platform framework layer through the network exchange layer; Then, through the platform framework layer, the application is called to process data blocks from the decentralized application layer.At the same time, the transaction target is determined through the cross-domain layer, that is, the public chain network or an access chain corresponding to the public chain network. Blockchain platform. After the transaction target chain is determined, the cross-domain layer uses the calling application to complete the transaction according to the block chain platform corresponding to the data block and the target party, and generates accounting data in the platform framework layer. Finally, the platform framework layer exchanges through the network Layer, sending accounting data to the data block layer for distributed storage.
  • the cross-domain layer needs to be called to find the transaction target chain and transfer the transaction data from the transaction initiator's blockchain network to the transaction target.
  • Blockchain network
  • the above-mentioned cross-chain transaction process can be performed once between the first industry chain and the public chain; then the above-mentioned cross-chain transaction process can be performed once between the public chain and the second industry chain to complete the final Cross-chain transactions.
  • S33 The transaction target chain verifies the transaction conditions, and returns the service content to the public chain according to the received service transaction after the verification is qualified;
  • S34 The public chain delivers the service content to the transaction initiation chain.
  • the present application provides a blockchain system, including a peer-to-peer P2P network.
  • Nodes in the P2P network are respectively deployed as public chain nodes or various access chain nodes.
  • the role or function assumed in the blockchain network is that the nodes are deployed as one or more logical layers in the data block layer, network exchange layer, platform framework layer, decentralized application layer, and cross-domain layer. Each layer performs data operations independently in this layer, and can complete block data generation, verification, and storage in transactions through data interaction between the layers.
  • the traditional blockchain system does not support cross-chain transactions.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present application provides a block chain system, comprising a peer-to-peer (P2P) network. Nodes in the P2P network are deployed as public chain nodes or various access chain nodes, respectively; the nodes are deployed as one or more logical layers in a data block layer, a network switching layer, a platform framework layer, a de-centralized application layer, and a cross-domain layer according to roles or functions of the nodes in a block chain network; the layers perform data operations in their own layers independently of one another, and generation, verification and storage of block data during transaction can be completed by means of data interaction among the layers. In addition, by deploying the cross-domain layer, managing cross-chain transactions, performing transaction verification, and providing a cross-chain intelligent contract, the problem that a conventional block chain system does not support the cross-chain transactions is solved.

Description

一种区块链系统Blockchain system
本申请要求在2018年8月28日提交中国专利局、申请号为201810986825.3、发明名称为“区块链标准应用模型及其应用方法”以及,在2018年12月7日提交中国专利局、申请号为201811496869.4、发明名称为“一种区块链系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the submission of the China Patent Office on August 28, 2018, application number 201810986825.3, the invention name as "Blockchain Standard Application Model and Application Method", and the submission of the China Patent Office, application on December 7, 2018 The priority of a Chinese patent application with the number of 201811496869.4 and the invention name of "a blockchain system" is incorporated herein by reference in its entirety.
技术领域Technical field
本申请涉及网络交易技术领域,尤其涉及一种区块链系统。This application relates to the field of network transaction technology, and in particular, to a blockchain system.
背景技术Background technique
区块链技术是一种去中心化的系统思想,能通过公众共识的方式,创建一个相对客观的抗抵赖数字环境。区块链技术可以保证网络信息一经发布即不可更改,例如,区块链网络中发生一笔交易,区块链网络中的节点会在生成的区块中记载该笔交易的内容,并将区块数据进行全网广播,网络中的其他节点以同步或异步的方式存储该区块数据,形成不可更改的区块链。Blockchain technology is a decentralized system idea that can create a relatively objective anti-repudiation digital environment through public consensus. Blockchain technology can ensure that network information cannot be changed once it is released. For example, if a transaction occurs in the blockchain network, nodes in the blockchain network will record the content of the transaction in the generated block, and Block data is broadcast throughout the network, and other nodes in the network store the block data synchronously or asynchronously to form an unchangeable blockchain.
区块链技术的应用依赖于区块链系统,如图1所示,所述区块链系统包括数据层、网络层、共识层、激励层、合约层和应用层。其中,数据层封装底层数据区块和基础数据算法;网络层以分布式组网形式使各个网络节点连接起来形成点对点网络,实现数据的传播与验证;共识层封装各类共识算法;激励层集成经济因素,以制定发行和分配机制;合约层提供脚本、算法以及智能合约;应用层封装具体应用场景。The application of blockchain technology depends on the blockchain system. As shown in Figure 1, the blockchain system includes a data layer, a network layer, a consensus layer, an incentive layer, a contract layer and an application layer. Among them, the data layer encapsulates the underlying data blocks and basic data algorithms; the network layer connects each network node to form a point-to-point network in the form of distributed networking to achieve data dissemination and verification; the consensus layer encapsulates various consensus algorithms; incentive layer integration Economic factors to formulate the issuance and distribution mechanism; the contract layer provides scripts, algorithms and smart contracts; the application layer encapsulates specific application scenarios.
系统中的实际交易过程要在区块链平台完成,而所有的区块链平台都是针对某一个应用场景而设计的,不同链(区块链平台)之间没有统一有效的机制来通讯和交互。多个区块链平台提供了不同的能力集,以实现不同的交易。区块链平台由于其内生性,所完成的工作和内容都是基于链内场景和链内应用,难以支持外部交易,即现有的区块链系统很难实现跨区块链平台(跨链)以及跨领域(跨域)交易。The actual transaction process in the system must be completed on the blockchain platform, and all blockchain platforms are designed for a certain application scenario. There is no unified and effective mechanism for communication and communication between different chains (blockchain platforms). Interaction. Multiple blockchain platforms provide different sets of capabilities to enable different transactions. Because of the endogenous nature of the blockchain platform, the work and content completed are based on in-chain scenarios and in-chain applications, and it is difficult to support external transactions, that is, it is difficult for existing blockchain systems to implement cross-blockchain platforms (cross-chain) ) And cross-domain (cross-domain) transactions.
为了实现跨链交易,现有区块链系统还可以提供中继服务,例如BTC Relay这种将比特币区块链和以太坊智能合约进行中继的解决方案。可见,现有的跨连解决方案都是针对特定的区块链,一对一的实现中继服务,而现实中的区块链平台种类和交易类型多种多样,新的区块链及平台不断涌现,导致跨链交易的类型和种类也千差万别。难以针对每种跨链交易都制定特定的一对一的中继方案。因此,如何提供一个统一的区块链系统,以支持各种类型的区块链平台及其支持跨链交易,完成不同链之间的通讯和交互,成为本领域亟待解决的技术问题。In order to achieve cross-chain transactions, existing blockchain systems can also provide relay services, such as BTC Relay, a solution that relays the Bitcoin blockchain and Ethereum smart contracts. It can be seen that the existing cross-connect solutions are specific to a specific blockchain, and one-to-one relay services are implemented. There are many types of blockchain platforms and transaction types in reality. New blockchains and platforms The continuous emergence of cross-chain transactions also results in very different types and types. It is difficult to formulate a specific one-to-one relay scheme for each type of cross-chain transaction. Therefore, how to provide a unified blockchain system to support various types of blockchain platforms and their support for cross-chain transactions, and to complete the communication and interaction between different chains, has become an urgent technical problem in this field.
发明内容Summary of the Invention
本申请提供了一种区块链系统,以解决传统区块链系统不支持跨链交易,无法完成不同链之间通讯和交互的问题。This application provides a blockchain system to solve the problem that traditional blockchain systems do not support cross-chain transactions and cannot complete communication and interaction between different chains.
本申请提供一种区块链系统,包括P2P网络,所述P2P网络中的节点分别被部署为公 链节点或各种接入链节点,其中,根据节点在区块链中承担的角色或功能,为所述节点部署为下述一个或多个逻辑层:This application provides a blockchain system, including a P2P network, where nodes in the P2P network are deployed as public chain nodes or various access chain nodes, respectively, in which, according to the role or function of the node in the blockchain , Deploying the node as one or more of the following logical layers:
数据区块层,包括基于物理数据块的顺序集合,用于提供整个区块链网络的分布式数据存储和数据读取;The data block layer, which includes a sequential collection based on physical data blocks, is used to provide distributed data storage and data reading for the entire blockchain network;
网络交换层,包括基础网络设施以及多种通讯协议,用于所述区块链网络中分布式节点的相互发现、组网和通信;The network switching layer includes basic network facilities and multiple communication protocols for mutual discovery, networking, and communication of distributed nodes in the blockchain network;
平台框架层,包括接入区块链网络的多个区块链平台,用于提供基础区块链功能和架构,以及跨链相互功能注册和发现;Platform framework layer, including multiple blockchain platforms connected to the blockchain network, to provide basic blockchain functions and architecture, as well as cross-chain mutual function registration and discovery;
去中心化应用层,包括安装在网络环境中的应用程序集合以及支持构建第三方去中心化应用程序,用于实现应用的创建、部署、对接和使用;Decentralized application layer, including a collection of applications installed in a network environment and support for building third-party decentralized applications for application creation, deployment, docking, and use;
跨域层,包括交易服务器,用于管理跨链交易、交易验证以及提供跨链智能合约。Cross-domain layer, including transaction server, for managing cross-chain transactions, transaction verification, and providing cross-chain smart contracts.
可选的,所述区块链系统中,各层次相互独立进行数据操作,以及通过层与层之间的格式化接口传递数据操作结果。Optionally, in the blockchain system, each layer performs data operations independently of each other, and transmits data operation results through a formatted interface between layers.
可选的,所述数据区块层、网络交换层、平台框架层以及去中心化应用层部署在任意的节点中;所述跨域层部署在承担维护两个或两个以上区块链网络的公共节点上。Optionally, the data block layer, network exchange layer, platform framework layer, and decentralized application layer are deployed in any node; the cross-domain layer is deployed in the maintenance of two or more blockchain networks On the public node.
可选的,任意节点之间的相同层次,以及同一层次的数据操作通过分布式应用部署;在节点内部不同层次的数据操作通过不同的应用部署。Optionally, the same level between any nodes and data operations at the same level are deployed through distributed applications; data operations at different levels within a node are deployed through different applications.
可选的,数据区块层通过数据接口连接网络交换层;Optionally, the data block layer is connected to the network switching layer through a data interface;
部署为数据区块层的节点将生成的交易信息发送至网络交换层;The nodes deployed as the data block layer send the generated transaction information to the network exchange layer;
部署为数据区块层的节点还通过数据接口接收并读取来自网络交换层的交易信息,以及将所述交易信息存储在存储器中。A node deployed as a data block layer also receives and reads transaction information from the network exchange layer through a data interface, and stores the transaction information in a memory.
可选的,网络交换层通过网络接口连接平台框架层。Optionally, the network switching layer is connected to the platform framework layer through a network interface.
可选的,平台框架层通过合约接口,和/或应用可编程接口,连接去中心化应用层;Optionally, the platform framework layer is connected to the decentralized application layer through a contract interface and / or an application programmable interface;
所述去中心化应用层中的应用程序以所述平台框架层为开发环境,以及通过所述应用可编程接口接入所述平台框架层;An application in the decentralized application layer uses the platform framework layer as a development environment, and accesses the platform framework layer through the application programmable interface;
如果所述数据区块层生成的交易信息包含智能合约信息,还通过所述合约接口将智能合约信息发送至所述平台框架层,以通过去应用程序处理所述交易信息。If the transaction information generated by the data block layer includes smart contract information, the smart contract information is also sent to the platform framework layer through the contract interface to process the transaction information through an application program.
可选的,去中心化应用层通过应用接口连接跨域层;Optionally, the decentralized application layer is connected to the cross-domain layer through the application interface;
所述跨域层中的交易服务器通过所述应用接口,调用去中心化应用层中的应用程序,实施跨链交易。The transaction server in the cross-domain layer invokes applications in the decentralized application layer through the application interface to implement cross-chain transactions.
可选的,跨域层还通过合约接口,和/或应用可编程接口,连接平台框架层;Optionally, the cross-domain layer is also connected to the platform framework layer through a contract interface and / or an application programmable interface;
所述跨域层在实施跨链交易时,通过合约接口向平台框架层中的区块链平台提供跨链智能合约。When the cross-domain layer implements cross-chain transactions, it provides a cross-chain smart contract to the blockchain platform in the platform framework layer through a contract interface.
可选的,接入链节点各自隶属于所述多个连接公链的区块链网络,连接公链的区块链网络包括基于公链节点接口规范的子链、行业链和联盟链,以及第三方公链、行业链、联盟链和私链。Optionally, each of the access chain nodes belongs to the plurality of blockchain networks connected to the public chain, and the blockchain network connected to the public chain includes a sub-chain, an industry chain, and an alliance chain based on the public chain node interface specification, and Third-party public chain, industry chain, alliance chain and private chain.
由以上技术方案可知,本申请提供一种区块链系统,包括点对点形式的P2P网络,所述P2P网络中的节点分别被部署为公链节点或各种接入链节点,其中,根据节点在区块链网络中承担的角色或功能,为所述节点部署为数据区块层、网络交换层、平台框架层、去 中心化应用层以及跨域层中的一个或多个逻辑层次。每个层次相互独立地在本层内进行数据操作,并且可以通过各层次之间的数据交互完成交易中区块数据生成、验证和存储。以及,通过部署跨域层,管理跨链交易、交易验证和提供跨链智能合约,解决传统区块链系统不支持跨链交易的问题。As can be known from the above technical solutions, the present application provides a blockchain system, including a peer-to-peer P2P network. Nodes in the P2P network are respectively deployed as public chain nodes or various access chain nodes. The role or function assumed in the blockchain network is that the nodes are deployed as one or more logical layers in the data block layer, network exchange layer, platform framework layer, decentralized application layer, and cross-domain layer. Each layer performs data operations independently in this layer, and can complete block data generation, verification, and storage in transactions through data interaction between the layers. And, by deploying a cross-domain layer, managing cross-chain transactions, transaction verification, and providing cross-chain smart contracts, the traditional blockchain system does not support cross-chain transactions.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solution of the present application more clearly, the drawings needed to be used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, without any creative effort, Other drawings can be obtained from these drawings.
图1为现有区块链系统的结构示意图;FIG. 1 is a schematic structural diagram of an existing blockchain system;
图2为本申请一种区块链系统的结构示意图;FIG. 2 is a schematic structural diagram of a blockchain system of the present application; FIG.
图3为本申请区块链系统中各逻辑层次之间的连接结构示意图;FIG. 3 is a schematic diagram of a connection structure between various logical levels in a blockchain system of this application;
图4为本申请区块链网络的连接示意图;FIG. 4 is a schematic diagram of the connection of the blockchain network of the present application;
图5为本申请进行交易的流程示意图;FIG. 5 is a schematic flowchart of a transaction performed by this application;
图6为本申请进行跨链交易的流程示意图;FIG. 6 is a schematic flowchart of a cross-chain transaction in this application;
图7为本申请基于公链的跨链交易流程示意图。FIG. 7 is a schematic diagram of a public chain-based cross-chain transaction process.
具体实施方式detailed description
下面将详细地对实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。仅是与权利要求书中所详述的、本申请的一些方面相一致的系统和方法的示例。The embodiments will be described in detail below, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following examples do not represent all implementations consistent with this application. These are merely examples of systems and methods consistent with some aspects of the application as detailed in the claims.
在本申请提供的技术方案中,区块链一方面指网络系统中交易产生的记账数据,另一方面指运行区块链技术的网络,即区块链网络。其中,区块链网络是指具有去中心化应用架构的点对点(P2P)网络,所述区块链网络能够进行分布式存储、公共共识、数字加密、交易记账以及验证。即涵盖了分布式技术、密码学、P2P网络架构以及各种可能被应用的共识算法的交易平台。In the technical solution provided in this application, the blockchain refers to the accounting data generated by transactions in the network system on the one hand, and the network running the blockchain technology, that is, the blockchain network on the other. The blockchain network refers to a peer-to-peer (P2P) network with a decentralized application architecture. The blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification. That is, a trading platform that covers distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
区块链或区块链信息是在区块链网络中发生交易时,根据交易信息生成的记账信息,即多笔具体的交易组成一个区块,多个区块形成一条区块链。区块链网络中,包括相互建立点对点网络连接的节点,每一个节点都配置有相应的共识机制,如智能合约,并且具有足够的运算能力,以进行交易验证和记账程序。节点上还具有符合某种统一标准的接口规范,以实现通过接口规范接入更多的节点或者其他类型的区块链网络。Blockchain or blockchain information is the accounting information generated based on the transaction information when a transaction occurs in the blockchain network, that is, multiple specific transactions form a block, and multiple blocks form a block chain. Blockchain networks include nodes that establish peer-to-peer network connections with each other. Each node is configured with a corresponding consensus mechanism, such as a smart contract, and has sufficient computing power to perform transaction verification and accounting procedures. The nodes also have an interface specification that conforms to a certain unified standard to achieve access to more nodes or other types of blockchain networks through the interface specification.
具体地,参见图2,为本申请一种区块链系统的结构示意图;参见图3为本申请区块链系统中各逻辑层次之间的连接结构示意图。本申请提供的一种区块链系统,包括点对点形式的P2P网络,P2P网络由多个节点组成,每个节点具有运算能力、应用运行能力、存储能力以及提供人机交互的能力。实际应用中,P2P网络中的节点不仅是提供网络信息传递的网关设备,而且可以是被区块链网络认证的任何计算机设备,如个人计算机、计算机机组、服务器以及智能终端设备等。Specifically, referring to FIG. 2, it is a schematic structural diagram of a blockchain system of the present application; FIG. 3 is a schematic structural diagram of connections between various logical levels in the blockchain system of the present application. A blockchain system provided in this application includes a peer-to-peer P2P network. The P2P network is composed of multiple nodes, and each node has computing capabilities, application running capabilities, storage capabilities, and the ability to provide human-computer interaction. In practical applications, a node in a P2P network is not only a gateway device that provides network information transmission, but also any computer device certified by the blockchain network, such as personal computers, computer units, servers, and intelligent terminal devices.
本申请提供的技术方案中,如图4所示,区块链网络包括提供基础平台的公链网络,以及其他接入公链网络的区块链网络,即接入链网络。为了实现上述形式,本申请中所述 P2P网络中的节点分别被部署为公链节点或各种接入链节点。对于公链网络和接入链网络,根据区块链网络的规模可以进一步划分为公链、子链和私链。根据区块链网络的应用领域,还可以划分为,公链、行业链和联盟链,以及第三方公链(如比特币网络,以太坊网络等)、第三方行业链和第三方联盟链等。本申请中,每个区块链网络由不同数量的节点组成,每个区块链网络之中能够独立完成网络内部的交易、验证和存储。In the technical solution provided in this application, as shown in FIG. 4, the blockchain network includes a public chain network that provides a basic platform, and other blockchain networks that access the public chain network, that is, an access chain network. In order to achieve the above form, the nodes in the P2P network described in this application are deployed as public chain nodes or various access chain nodes, respectively. For the public chain network and the access chain network, according to the scale of the blockchain network, it can be further divided into public chain, sub-chain and private chain. According to the application field of the blockchain network, it can also be divided into public chains, industry chains and alliance chains, as well as third-party public chains (such as the Bitcoin network, Ethereum network, etc.), third-party industry chains, and third-party alliance chains. . In this application, each blockchain network is composed of a different number of nodes, and each blockchain network can independently complete transactions, verification, and storage within the network.
进一步地,由于本申请公链作为基础平台,具有跨链传递,信息中继以及连接功能,公链其中的节点上布置有统一规范的标准接口。接入链作为相对于公链具有特定功能的区块链系统,可以是基于公链节点接口规范开发的子链,以及第三方区块链网络。因此在本申请的部分实施例中,接入链节点各自隶属于所述多个连接公链的区块链网络,连接公链的区块链网络包括基于公链节点接口规范的子链、行业链和联盟链,以及第三方公链、行业链、联盟链和私链。Further, since the public chain of the present application serves as a basic platform and has cross-chain transmission, information relay, and connection functions, nodes in the public chain are provided with a unified and standardized standard interface. The access chain, as a blockchain system with specific functions relative to the public chain, can be a sub-chain developed based on the public chain node interface specification, and a third-party blockchain network. Therefore, in some embodiments of the present application, the access chain nodes each belong to the multiple blockchain networks connected to the public chain. The blockchain network connected to the public chain includes sub-chains and industries based on the public chain node interface specification. And alliance chains, as well as third-party public, industry, alliance, and private chains.
由图2和图3可知,在本申请提供区块链系统中,根据节点在区块链中承担的角色或功能,为所述节点部署为下述一个或多个逻辑层次:It can be known from FIG. 2 and FIG. 3 that in the blockchain system provided by the present application, according to the role or function of a node in the blockchain, the node is deployed into one or more of the following logical levels:
数据区块层,包括基于物理数据块的顺序集合,用于提供整个区块链网络的分布式数据存储和数据读取;The data block layer, which includes a sequential collection based on physical data blocks, is used to provide distributed data storage and data reading for the entire blockchain network;
网络交换层,包括基础网络设施以及多种通讯协议,用于所述区块链网络中分布式节点的相互发现、组网和通信;The network switching layer includes basic network facilities and multiple communication protocols for mutual discovery, networking, and communication of distributed nodes in the blockchain network;
平台框架层,包括接入区块链网络的多个区块链平台,用于提供基础区块链功能和架构,以及跨链相互功能注册和发现;Platform framework layer, including multiple blockchain platforms connected to the blockchain network, to provide basic blockchain functions and architecture, as well as cross-chain mutual function registration and discovery;
去中心化应用层,包括安装在网络环境中的应用程序集合以及支持构建第三方去中心化应用程序,用于实现应用的创建、部署、对接和使用;Decentralized application layer, including a collection of applications installed in a network environment and support for building third-party decentralized applications for application creation, deployment, docking, and use;
跨域层,用于管理跨链交易、交易验证以及提供跨链智能合约。Cross-domain layer, used to manage cross-chain transactions, transaction verification, and provide cross-chain smart contracts.
本申请提供的技术方案中,数据区块层、网络交换层、平台框架层、去中心化应用层以及跨域层与各个节点之间保持一种多对多的对应关系,即对于一个层次而言,其既可由一个节点单独部署,也可以由多个节点共同部署;而对于一个节点而言,其既可以部署为一个层次的功能或角色,又可以同时部署为多个层次的功能或角色。例如,对于区块链系统中的节点,其中可同时部署数据区块层、网络交换层、平台框架层、去中心化应用层和跨域层,这样的节点在网络系统发生交易过程中,会参与所有数据处理流程。而对于一个节点也可以单独作为数据区块层,即在该节点中,仅部署基于物理数据块的顺序集合,以便在发生交易时分布式数据存储和数据读取功能。In the technical solution provided in this application, a data block layer, a network switching layer, a platform framework layer, a decentralized application layer, and a cross-domain layer maintain a many-to-many correspondence relationship with each node. In other words, it can be deployed by one node alone or by multiple nodes. For a node, it can be deployed as a layer of functions or roles, or it can be deployed as multiple layers of functions or roles simultaneously. . For example, for a node in a blockchain system, a data block layer, a network exchange layer, a platform framework layer, a decentralized application layer, and a cross-domain layer can be deployed at the same time. During the network system transaction, such nodes will Participate in all data processing processes. For a node, it can also be used as a data block layer alone, that is, in this node, only the sequential collection based on physical data blocks is deployed in order to distributed data storage and data read functions when transactions occur.
由以上记载的层次可知,在本申请中,数据区块层主要用于提供整个区块链网络的分布式数据存储和数据读取,即根据交易信息生成格式化的标准数据,以便在各层次之间进行读取和处理;以及将各层次生成的数据进行存储或者将交易最终的结果数据进行存储。It can be known from the above-mentioned levels that in this application, the data block layer is mainly used to provide distributed data storage and data reading of the entire blockchain network, that is, to generate formatted standard data according to transaction information, so as to Read and process between them; and store the data generated at each level or store the final result data of the transaction.
进一步地,对于所述数据区块层,主要包括以下功能:数据存储、数据索引、数据读取、数据备份、数据安全设置及认证、数据权限设置及认证、数据校验以及数据分割等功能或操作,相应的,部署为数据区块层的节点中,应包含数据存储装置,如硬盘等,用于存储数据文件,并可进一步配置形成数据库。Further, the data block layer mainly includes the following functions: data storage, data indexing, data reading, data backup, data security setting and authentication, data permission setting and authentication, data verification, and data division and other functions or Operation, correspondingly, the nodes deployed as the data block layer should include data storage devices, such as hard disks, for storing data files, and can be further configured to form a database.
对于网络交换层,其中部署网络应用程序,以实现网络登记、网络发现、网络验证、网络分组、网络路由以及网络传输,因此,对于配置为网络交换层的节点,其中应存储有 各种网络协议。For the network switching layer, network applications are deployed to implement network registration, network discovery, network authentication, network grouping, network routing, and network transmission. Therefore, for nodes configured as the network switching layer, various network protocols should be stored therein .
对于平台框架层,其中部署虚拟机和多种合约、账户。以提供开发环境和消息通道,对交易、费用、区块链格式、交易状态、交易共识、数据加解密、存储方式进行设定的控制相关操作,以确保数据交易的规范性和正确性。For the platform framework layer, virtual machines and various contracts and accounts are deployed. In order to provide a development environment and a message channel, control related operations for setting transactions, fees, blockchain format, transaction status, transaction consensus, data encryption and decryption, and storage methods to ensure the standardization and correctness of data transactions.
对于去中心化应用层,其作为应用层,部署有应用于多个领域的应用程序,例如:电子商务、众筹平台、游戏交易、金融管理、物品交易、市场交易、社交系统、小范围DAO系统以及物联网等管理平台或应用程序。本申请提供的技术方案中,去中心化应用是指,在区块链系统中,安装在配置为去中心化应用层的节点上或者网络环境中安装的应用程序,该应用程序的基础算法和具体流程都是全网共识的,并且其数据处理过程不会受到中心设备的控制和修改,如受到某一个服务器控制。As for the decentralized application layer, as an application layer, applications that are applied in multiple fields are deployed, such as: e-commerce, crowdfunding platforms, game transactions, financial management, item transactions, market transactions, social systems, and small-scale DAOs. Systems and management platforms or applications such as the Internet of Things. In the technical solution provided by this application, decentralized application refers to an application installed on a node configured as a decentralized application layer or installed in a network environment in a blockchain system. The basic algorithm and The specific processes are all consensus of the whole network, and its data processing process will not be controlled and modified by the central equipment, such as being controlled by a certain server.
对于跨域层,被配置为跨域层的节点内,应存储有共识合约,并且设有规范的接入接口,从而完成跨链交易、跨链验证、跨链合约配置、跨链价值发现、子链/第三方接入链管理等跨链服务。For the cross-domain layer, the nodes configured as the cross-domain layer should store consensus contracts and have standardized access interfaces to complete cross-chain transactions, cross-chain verification, cross-chain contract configuration, cross-chain value discovery, Cross-chain services such as sub-chain / third-party access chain management.
在本申请提供的区块链系统中,各层次相互独立进行数据操作,以及通过层与层之间的格式化接口传递数据操作结果。例如,对于数据区块层,其独立地将数据进行存储、读取以及设置等操作,生成数据文件的过程不会受到其他任何层次的控制和影响,并且在实际应用中,数据区块层基于具体的应用场景,产生如交易、合约等相应的数据,并通过层与层之间的格式化接口传动数据操作的结果。In the blockchain system provided by this application, each layer performs data operations independently of each other, and transmits the results of data operations through a formatted interface between layers. For example, for the data block layer, the data is stored, read, and set independently. The process of generating a data file is not subject to any other level of control and influence. In actual applications, the data block layer is based on Specific application scenarios generate corresponding data such as transactions and contracts, and drive the results of data operations through formatted interfaces between layers.
如图2所示,本申请的部分实施例中,数据区块层通过数据接口连接网络交换层。并且部署为数据区块层的节点将生成的交易信息发送至网络交换层;部署为数据区块层的节点还通过数据接口接收并读取来自网络交换层的交易信息,以及将所述交易信息存储在存储器中。本实施例中,数据接口(DI,Data Interface)是数据区块层对外统一提供的DI接口,其余层,主要是网络交换层和平台框架层直接基于数据接口DI完成和数据区块层的对接和通信。进一步地,数据接口可以提供以下类型的接口集合,如数据生成(DIG)、数据存储(DIS)、数据查询(DIQ)、数据读取(DIR)以及数据删除(DID)等类型。As shown in FIG. 2, in some embodiments of the present application, the data block layer is connected to the network switching layer through a data interface. And the node deployed as the data block layer sends the generated transaction information to the network exchange layer; the node deployed as the data block layer also receives and reads the transaction information from the network exchange layer through the data interface, and sends the transaction information Stored in memory. In this embodiment, the data interface (DI, Data Interface) is a DI interface provided externally by the data block layer. The remaining layers, mainly the network switching layer and the platform framework layer, are directly based on the data interface DI to complete the docking with the data block layer And communication. Further, the data interface can provide the following types of interface sets, such as data generation (DIG), data storage (DIS), data query (DIQ), data read (DIR), and data delete (DID).
网络交换层通过网络接口连接平台框架层。网络接口(NI,Network Interface)作为网络交换层对外统一提供的NI接口,其余层次,如平台框架层直接基于该接口完成网络通讯和数据交换,网络接口提供如下类型的接口集合:如网络发现(NIQ)、网络注册(NIR)、网络接入(NIC)、数据发布(NIP)、数据同步(NIS)、网络分组(NIG)等类型。The network switching layer is connected to the platform framework layer through a network interface. The network interface (NI, Network Interface) is the unified NI interface provided by the network switching layer. The remaining layers, such as the platform framework layer, directly perform network communication and data exchange based on this interface. The network interface provides the following types of interface collections: NIQ), Network Registration (NIR), Network Access (NIC), Data Publishing (NIP), Data Synchronization (NIS), Network Grouping (NIG), etc.
平台框架层通过合约接口,和/或应用可编程接口,连接去中心化应用层。其中,所述去中心化应用层中的应用程序以所述平台框架层为开发环境,以及通过所述应用可编程接口接入所述平台框架层,并且,如果所述数据区块层生成的交易信息包含智能合约信息,还通过所述合约接口将智能合约信息发送至所述平台框架层,以通过去应用程序处理所述交易信息。The platform framework layer is connected to the decentralized application layer through a contract interface and / or an application programmable interface. The application in the decentralized application layer uses the platform framework layer as a development environment, and accesses the platform framework layer through the application programmable interface, and if the data block layer generates the The transaction information includes smart contract information, and the smart contract information is also sent to the platform framework layer through the contract interface to process the transaction information through an application program.
对于应用可编程接口(API),作为平台框架层提供的接口统称,使去中心化应用层中的所有去中心化应用,均可基于该层的接口进行开发,实施和部署。应用可编程接口主要提供如下类型的接口集合,如密码接口、共识接口、账户接口、状态接口、消息接口、通道接口、数据结构接口、交易接口、费用接口以及区块接口等,从而根据每种去中心化应用所具有的具体操作形式,传递不同类型的数据。对于智能合约(CI)接口,主要提供如 下类型的接口集合,如虚拟机接口、合约接口以及发布管理接口等。As for the application programmable interface (API), as the interface provided by the platform framework layer, all decentralized applications in the decentralized application layer can be developed, implemented, and deployed based on the interface of the layer. Application programmable interfaces mainly provide the following types of interface collections, such as cryptographic interfaces, consensus interfaces, account interfaces, status interfaces, message interfaces, channel interfaces, data structure interfaces, transaction interfaces, fee interfaces, and block interfaces. Decentralized applications have specific operational forms that pass different types of data. For smart contract (CI) interfaces, it mainly provides the following types of interface collections, such as virtual machine interfaces, contract interfaces, and release management interfaces.
去中心化应用层通过应用接口连接跨域层;所述跨域层中的交易服务器通过所述应用接口,调用去中心化应用层中的应用程序,实施跨链交易。本申请中,应用接口(AI)可以以智能合约的形式存在,即一个去中心化应用或网络可通过标准的智能合约,提供价值和信息的交换能力。The decentralized application layer is connected to the cross-domain layer through an application interface; the transaction server in the cross-domain layer calls the application program in the decentralized application layer through the application interface to implement cross-chain transactions. In this application, the application interface (AI) can exist in the form of a smart contract, that is, a decentralized application or network can provide value and information exchange capabilities through standard smart contracts.
另外,在本申请的部分实施例中,为了完成跨链交易,跨域层还通过合约接口,和/或应用可编程接口,连接平台框架层;并且,所述跨域层在实施跨链交易时,通过合约接口向平台框架层中的区块链平台提供跨链智能合约。In addition, in some embodiments of the present application, in order to complete cross-chain transactions, the cross-domain layer also connects the platform framework layer through a contract interface and / or an application programmable interface; and the cross-domain layer is implementing cross-chain transactions At that time, cross-chain smart contracts are provided to the blockchain platform in the platform framework layer through the contract interface.
在本申请提供的区块链系统中,所述数据区块层、网络交换层、平台框架层以及去中心化应用层部署在任意的节点中;所述跨域层部署在承担维护两个或两个以上区块链网络的公共节点上。即在本申请区块链系统中,任意的节点都可以用来部署数据区块层、网络交换层、平台框架层以及去中心化应用层。各个层次只要系统中的节点具有相应层次需求的运算能力和硬件配置即可。In the blockchain system provided in this application, the data block layer, network exchange layer, platform framework layer, and decentralized application layer are deployed in any node; the cross-domain layer is deployed in the maintenance of two or Public nodes on more than two blockchain networks. That is, in the blockchain system of this application, any node can be used to deploy the data block layer, network exchange layer, platform framework layer, and decentralized application layer. At each level, as long as the nodes in the system have the computing power and hardware configuration required by the corresponding levels.
对于公链网络而言,当公链网络中具有足够多的数量节点时,可以将所有节点划分为多个部分,多个部分间相互独立,也可以具有部分节点重叠。并且,将其中部分节点用来配置一个层次,另一部分节点用来配置另一个层级。通过不同部分的节点配置不同功能的层次,可以充分利用公链网络中各个节点的计算能力,提高数据生成、操作、验证以及存储的效率。For the public chain network, when there is a sufficient number of nodes in the public chain network, all nodes can be divided into multiple parts, and the multiple parts are independent of each other, and there may also be some overlapping nodes. In addition, some nodes are used to configure one level, and other nodes are used to configure another level. By configuring different levels of functions for nodes in different parts, you can make full use of the computing power of each node in the public chain network and improve the efficiency of data generation, operation, verification, and storage.
上述数据区块层、网络交换层、平台框架层以及去中心化应用层由于相互之间数据传输较频繁,因此为了加快数据的传输效率,可以将上述4个层级部署在网络环境中距离相互较近的节点中。另外,对于硬件设备配置较高的节点,可以配置其为多个角色或功能的层级,例如配置为同时拥有数据区块层、网络交换层、平台框架层以及去中心化应用层的功能;而对于配置较低的节点,可以配置为单一功能的层级,例如仅配置为网络交换层。The above data block layer, network exchange layer, platform framework layer, and decentralized application layer frequently transmit data to each other. Therefore, in order to speed up the data transmission efficiency, the above four levels can be deployed in a network environment and compared with each other. Near nodes. In addition, for nodes with higher hardware equipment configuration, it can be configured as a hierarchy of multiple roles or functions, for example, configured to have functions of the data block layer, network switching layer, platform framework layer, and decentralized application layer at the same time; and For nodes with lower configuration, it can be configured as a single-function level, for example, only as the network switching layer.
由于跨域层的主要功能是实现跨链交易,因此在本申请中,所述跨域层应该部署在承担维护两个或两个以上区块链网络的公共节点上,即两个区块链网络连接的节点,优先配置有跨域层的功能。本实施例中,承担维护两个或两个以上区块链网络的公共节点配置跨域层的功能可以便于跨链数据传递和验证,以提高跨链交易的处理效率。Since the main function of the cross-domain layer is to implement cross-chain transactions, in this application, the cross-domain layer should be deployed on a public node responsible for maintaining two or more blockchain networks, that is, two blockchains Network-connected nodes are preferentially configured with cross-domain layer functions. In this embodiment, the function of configuring the cross-domain layer for the public nodes responsible for maintaining two or more blockchain networks can facilitate cross-chain data transfer and verification, and improve the processing efficiency of cross-chain transactions.
进一步地,所述区块链网络系统在进行交易操作时,通过随机选取所述区块链网络系统中的部分节点作为所述数据区块层、网络交换层、平台框架层、去中心化应用层以及跨域层的一个或多个逻辑层功能的组合。通过随机选取合适的节点作为对应的层级功能,可以避免各层次所生成的交易数据被人为更改,再结合加密算法,可以大大增加区块链数据的抗抵赖效果。并且,通过随机选取,配置各个节点的功能和角色,还可以在保证数据安全性的前提下,减少区块数据在广播验证过程中所需要的参与节点个数,提高交易数据的验证效率,加快记账程序。Further, during the transaction operation of the blockchain network system, some nodes in the blockchain network system are randomly selected as the data block layer, network exchange layer, platform framework layer, and decentralized application. A combination of layers and one or more logical layer functions across domain layers. By randomly selecting appropriate nodes as the corresponding layer function, the transaction data generated at each layer can be prevented from being artificially changed, and combined with the encryption algorithm, the anti-repudiation effect of the blockchain data can be greatly increased. In addition, by randomly selecting and configuring the functions and roles of each node, it is also possible to reduce the number of participating nodes in the broadcast verification process of block data under the premise of ensuring data security, improve the verification efficiency of transaction data, and speed up Accounting procedures.
在本申请的部分实施例中,任意节点之间的相同层次,以及同一层次的数据操作通过分布式应用部署;在节点内部不同层次的数据操作通过不同的应用部署。其中,去中心化应用(Decentralization Application,DAPP)是应用在网络环境中的应用程序,可以同时对多个网络节点实施配置。因此在本实施例中,任意节点之间的相同层次的数据操作可以通过分布式应用进行部署和完成数据操作,以保证部署的层级之内数据操作的统一性, 减少数据出错的概率。而对于一个节点内部而言,当一个节点同时部署有多个层级的角色和功能时,每一个层级对应一个应用程序,因此在进行数据操作时,可以直接通过节点内部不同层级对应的应用程序分别完成各自的数据操作。从而避免在一个层级内的数据操作,频繁的在不同节点之间在传递,提高数据操作效率。In some embodiments of the present application, data operations at the same level between any nodes and at the same level are deployed through distributed applications; data operations at different levels within a node are deployed through different applications. Among them, Decentralized Application (DAPP) is an application program that is applied in a network environment and can configure multiple network nodes at the same time. Therefore, in this embodiment, data operations at the same level between any nodes can be deployed and completed through distributed applications to ensure uniformity of data operations within the deployed level and reduce the probability of data errors. For a node, when a node has multiple levels of roles and functions deployed at the same time, each level corresponds to an application. Therefore, when performing data operations, you can directly use the corresponding applications at different levels within the node. Complete the respective data operations. Therefore, data operations in one level are avoided, and frequent transfers are performed between different nodes, thereby improving data operation efficiency.
根据上述提供的区块链网络系统,如图5所示,所述区块链网络系统对于交易操作,运行以下程序步骤:According to the blockchain network system provided above, as shown in FIG. 5, the blockchain network system runs the following program steps for transaction operations:
S11:作为交易发起方的节点根据交易信息生成数据区块,以及将数据区块通过网络交换层发送至平台框架层;S11: The node acting as the transaction initiator generates data blocks according to the transaction information, and sends the data blocks to the platform framework layer through the network exchange layer;
S12:平台框架层调用去中心化应用层中的应用程序,通过应用程序处理数据区块;S12: The platform framework layer calls the application in the decentralized application layer and processes the data block through the application;
S13:平台框架层利用调用的应用程序,根据数据区块完成交易,以及在平台框架层生成记账数据;S13: The platform framework layer uses the called application program to complete the transaction according to the data block, and generates accounting data at the platform framework layer;
S14:平台框架层通过网络交换层,将记账数据发送至数据区块层进行分布式存储。S14: The platform framework layer sends the accounting data to the data block layer for distributed storage through the network exchange layer.
由以上步骤可知,本申请提供的区块链网络系统,在实际应用中,对于一般交易操作,先由作为交易发起方的节点根据交易信息生成数据区块,以及将数据区块通过网络交换层发送至平台框架层;平台框架层再通过调用去中心化应用层中的应用程序,处理数据区块;再通过平台框架层根据数据区块完成交易,以及在平台框架层生成记账数据;其中,生成记账数据是指在各节点中广播和和验证,以形成区块链。最后,平台框架层再通过网络交换层,将记账数据发送至数据区块层进行分布式存储,完成交易。It can be known from the above steps that, in the practical application of the blockchain network system provided by the present application, for general transaction operations, a node acting as a transaction initiator first generates data blocks based on the transaction information, and passes the data blocks through the network exchange layer. Send to the platform framework layer; the platform framework layer then processes the data blocks by calling applications in the decentralized application layer; and then completes transactions based on the data blocks through the platform framework layer and generates accounting data at the platform framework layer; where The generation of accounting data refers to broadcasting and verification in each node to form a blockchain. Finally, the platform framework layer sends the accounting data to the data block layer for distributed storage through the network exchange layer to complete the transaction.
进一步地,如图6所示,所述区块链网络系统对于跨链交易操作,执行以下程序步骤:Further, as shown in FIG. 6, for the cross-chain transaction operation, the blockchain network system executes the following program steps:
S21:作为交易发起方的节点根据交易信息生成数据区块,以及将数据区块通过网络交换层发送至平台框架层;S21: The node acting as the transaction initiator generates data blocks according to the transaction information, and sends the data blocks to the platform framework layer through the network exchange layer;
S22:平台框架层从去中心化应用层调用应用程序处理数据区块,以及通过跨域层确定交易目标方对应的区块链平台;S22: The platform framework layer calls the application to process data blocks from the decentralized application layer, and determines the corresponding blockchain platform of the transaction target party through the cross-domain layer;
S23:跨域层利用调用的应用程序,根据数据区块与目标方对应的区块链平台完成交易,以及在平台框架层中生成记账数据;S23: The cross-domain layer uses the called application program to complete the transaction according to the blockchain platform corresponding to the data block and the target party, and generates accounting data in the platform framework layer;
S24:平台框架层通过网络交换层,将记账数据发送至数据区块层进行分布式存储。S24: The platform framework layer sends the accounting data to the data block layer for distributed storage through the network exchange layer.
由以上步骤可知,本申请在进行跨链交易时,作为交易发起方的节点先根据交易信息生成数据区块,以及将所述数据区块通过所述网络交换层发送至所述平台框架层;再通过平台框架层从去中心化应用层调用应用程序处理数据区块,与此同时,还通过跨域层确定交易目标方,即公链网络或者接入公链网络的一个接入链对应的区块链平台。确定交易目标链以后,跨域层利用调用的应用程序,根据数据区块与目标方对应的区块链平台完成交易,以及在平台框架层中生成记账数据,最后,平台框架层通过网络交换层,将记账数据发送至数据区块层进行分布式存储。It can be known from the above steps that when performing cross-chain transactions in this application, a node acting as a transaction initiator first generates a data block according to the transaction information, and sends the data block to the platform framework layer through the network exchange layer; Then, through the platform framework layer, the application is called to process data blocks from the decentralized application layer.At the same time, the transaction target is determined through the cross-domain layer, that is, the public chain network or an access chain corresponding to the public chain network. Blockchain platform. After the transaction target chain is determined, the cross-domain layer uses the calling application to complete the transaction according to the block chain platform corresponding to the data block and the target party, and generates accounting data in the platform framework layer. Finally, the platform framework layer exchanges through the network Layer, sending accounting data to the data block layer for distributed storage.
可见,本申请提供的技术方案中,对于交易需要跨越两个或两个以上的情况,需要调用跨域层以寻找交易目标链以及将交易数据从交易发起方区块链网络传递至交易目标方区块链网络。It can be seen that in the technical solution provided by the present application, for the case that the transaction needs to cross two or more, the cross-domain layer needs to be called to find the transaction target chain and transfer the transaction data from the transaction initiator's blockchain network to the transaction target. Blockchain network.
需要说明的是,在本申请提供的技术方案中,只要交易过程不是在一个区块链网络中完成的,即可确定为跨链交易。例如,第三方公链与公链之间发生的交易,行业链、联盟链与公链之间的交易,公链与子链之间的交易等,由于交易过程跨越了两个区块链网络, 因此可以根据上述步骤完成跨链交易。而对于部分交易,可能跨越两个以上区块链网络,例如一个行业链经过公链与另一个行业链进行跨链交易。对于这种跨链交易,可以先在第一行业链与公链之间执行一次上述跨链交易流程;再通过公链与第二行业链之间执行一次上述跨链交易流程,以完成最终的跨链交易。It should be noted that in the technical solution provided in this application, as long as the transaction process is not completed in a blockchain network, it can be determined as a cross-chain transaction. For example, transactions between third-party public chains and public chains, transactions between industry chains, alliance chains and public chains, transactions between public chains and sub-chains, etc., because the transaction process spans two blockchain networks Therefore, cross-chain transactions can be completed according to the above steps. For some transactions, it may cross more than two blockchain networks, for example, one industry chain cross-chain transactions with another industry chain through the public chain. For this type of cross-chain transaction, the above-mentioned cross-chain transaction process can be performed once between the first industry chain and the public chain; then the above-mentioned cross-chain transaction process can be performed once between the public chain and the second industry chain to complete the final Cross-chain transactions.
即在区块链系统整体上,如图7所示,通过以下步骤完成跨链交易:That is, on the overall blockchain system, as shown in Figure 7, the following steps are completed to complete cross-chain transactions:
S31:交易发起链向公链发起服务交易;S31: The transaction initiation chain initiates a service transaction to the public chain;
S32:公链传递服务交易至交易目标链;S32: The public chain passes the service transaction to the transaction target chain;
S33:交易目标链验证交易条件,以及在验证合格后根据接收到的服务交易向公链返回服务内容;S33: The transaction target chain verifies the transaction conditions, and returns the service content to the public chain according to the received service transaction after the verification is qualified;
S34:公链传递服务内容至交易发起链。S34: The public chain delivers the service content to the transaction initiation chain.
本实施例中,通过建立公链,实施跨链交易传递,从而在实际应用中,可以通过搭建全网公链,以及将参与交易的区块链网络接入公链,即可实现不同链之间的跨链交易。In this embodiment, by establishing a public chain and implementing cross-chain transaction transfer, in practice, the entire chain of the public network can be established and the blockchain network participating in the transaction can be connected to the public chain to achieve different chain Cross-chain transactions.
由以上技术方案可知,本申请提供一种区块链系统,包括点对点形式的P2P网络,所述P2P网络中的节点分别被部署为公链节点或各种接入链节点,其中,根据节点在区块链网络中承担的角色或功能,为所述节点部署为数据区块层、网络交换层、平台框架层、去中心化应用层以及跨域层中的一个或多个逻辑层次。每个层次相互独立地在本层内进行数据操作,并且可以通过各层次之间的数据交互完成交易中区块数据生成、验证和存储。以及,通过部署跨域层,管理跨链交易、交易验证和提供跨链智能合约,解决传统区块链系统不支持跨链交易的问题。As can be known from the above technical solutions, the present application provides a blockchain system, including a peer-to-peer P2P network. Nodes in the P2P network are respectively deployed as public chain nodes or various access chain nodes. The role or function assumed in the blockchain network is that the nodes are deployed as one or more logical layers in the data block layer, network exchange layer, platform framework layer, decentralized application layer, and cross-domain layer. Each layer performs data operations independently in this layer, and can complete block data generation, verification, and storage in transactions through data interaction between the layers. And, by deploying a cross-domain layer, managing cross-chain transactions, transaction verification, and providing cross-chain smart contracts, the traditional blockchain system does not support cross-chain transactions.
本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。Similar parts between the embodiments provided in this application can be referred to each other. The specific implementations provided above are just a few examples under the general concept of this application, and do not constitute a limitation of the protection scope of this application. For those skilled in the art, any other implementations extended according to the scheme of the present application under the premise of no creative labor belong to the protection scope of the present application.

Claims (10)

  1. 一种区块链系统,包括P2P网络,其特征在于,所述P2P网络中的节点分别被部署为公链节点或各种接入链节点,其中,根据节点在区块链中承担的角色或功能,为所述节点部署为下述一个或多个逻辑层:A blockchain system includes a P2P network, characterized in that the nodes in the P2P network are respectively deployed as public chain nodes or various access chain nodes, wherein according to the role of the node in the blockchain or Functions for the nodes deployed as one or more of the following logical layers:
    数据区块层,包括基于物理数据块的顺序集合,用于提供整个区块链网络的分布式数据存储和数据读取;The data block layer, which includes a sequential collection based on physical data blocks, is used to provide distributed data storage and data reading for the entire blockchain network;
    网络交换层,包括基础网络设施以及多种通讯协议,用于所述区块链网络中分布式节点的相互发现、组网和通信;The network switching layer includes basic network facilities and multiple communication protocols for mutual discovery, networking, and communication of distributed nodes in the blockchain network;
    平台框架层,包括接入区块链网络的多个区块链平台,用于提供基础区块链功能和架构,以及跨链相互功能注册和发现;Platform framework layer, including multiple blockchain platforms connected to the blockchain network, to provide basic blockchain functions and architecture, as well as cross-chain mutual function registration and discovery;
    去中心化应用层,包括安装在网络环境中的应用程序集合以及支持构建第三方去中心化应用程序,用于实现应用的创建、部署、对接和使用;Decentralized application layer, including a collection of applications installed in a network environment and support for building third-party decentralized applications for application creation, deployment, docking, and use;
    跨域层,包括交易服务器,用于管理跨链交易、交易验证以及提供跨链智能合约。Cross-domain layer, including transaction server, for managing cross-chain transactions, transaction verification, and providing cross-chain smart contracts.
  2. 根据权利要求1所述的区块链系统,其特征在于,所述区块链系统中,各层次相互独立进行数据操作,以及通过层与层之间的格式化接口传递数据操作结果。The blockchain system according to claim 1, characterized in that, in the blockchain system, each layer performs data operations independently of each other, and transfers data operation results through a formatted interface between layers.
  3. 根据权利要求2所述的区块链系统,其特征在于,所述数据区块层、网络交换层、平台框架层以及去中心化应用层部署在任意的节点中;所述跨域层部署在承担维护两个或两个以上区块链网络的公共节点上。The blockchain system according to claim 2, wherein the data block layer, network exchange layer, platform framework layer, and decentralized application layer are deployed in any node; the cross-domain layer is deployed in Public nodes responsible for maintaining two or more blockchain networks.
  4. 根据权利要求3所述的区块链系统,其特征在于,任意节点之间的相同层次,以及同一层次的数据操作通过分布式应用部署;在节点内部不同层次的数据操作通过不同的应用部署。The blockchain system according to claim 3, wherein the same level between any nodes and data operations at the same level are deployed through distributed applications; data operations at different levels within a node are deployed through different applications.
  5. 根据权利要求1所述的区块链系统,其特征在于,数据区块层通过数据接口连接网络交换层;The blockchain system according to claim 1, wherein the data block layer is connected to the network switching layer through a data interface;
    部署为数据区块层的节点将生成的交易信息发送至网络交换层;The nodes deployed as the data block layer send the generated transaction information to the network exchange layer;
    部署为数据区块层的节点还通过数据接口接收并读取来自网络交换层的交易信息,以及将所述交易信息存储在存储器中。A node deployed as a data block layer also receives and reads transaction information from the network exchange layer through a data interface, and stores the transaction information in a memory.
  6. 根据权利要求1所述的区块链系统,其特征在于,网络交换层通过网络接口连接平台框架层。The blockchain system according to claim 1, wherein the network switching layer is connected to the platform frame layer through a network interface.
  7. 根据权利要求1所述的区块链系统,其特征在于,平台框架层通过合约接口,和/或应用可编程接口,连接去中心化应用层;The blockchain system according to claim 1, wherein the platform framework layer is connected to the decentralized application layer through a contract interface and / or an application programmable interface;
    所述去中心化应用层中的应用程序以所述平台框架层为开发环境,以及通过所述应用可编程接口接入所述平台框架层;An application in the decentralized application layer uses the platform framework layer as a development environment, and accesses the platform framework layer through the application programmable interface;
    如果所述数据区块层生成的交易信息包含智能合约信息,还通过所述合约接口将 智能合约信息发送至所述平台框架层,以通过去应用程序处理所述交易信息。If the transaction information generated by the data block layer includes smart contract information, the smart contract information is also sent to the platform framework layer through the contract interface to process the transaction information through an application program.
  8. 根据权利要求1所述的区块链系统,其特征在于,去中心化应用层通过应用接口连接跨域层;The blockchain system according to claim 1, wherein the decentralized application layer is connected to the cross-domain layer through an application interface;
    所述跨域层中的交易服务器通过所述应用接口,调用去中心化应用层中的应用程序,实施跨链交易。The transaction server in the cross-domain layer invokes applications in the decentralized application layer through the application interface to implement cross-chain transactions.
  9. 根据权利要求1所述的区块链系统,其特征在于,跨域层还通过合约接口,和/或应用可编程接口,连接平台框架层;The blockchain system according to claim 1, wherein the cross-domain layer is further connected to the platform framework layer through a contract interface and / or an application programmable interface;
    所述跨域层在实施跨链交易时,通过合约接口向平台框架层中的区块链平台提供跨链智能合约。When the cross-domain layer implements cross-chain transactions, it provides a cross-chain smart contract to the blockchain platform in the platform framework layer through a contract interface.
  10. 根据权利要求1-9任一项所述的区块链系统,其特征在于,接入链节点各自隶属于所述多个连接公链的区块链网络,连接公链的区块链网络包括基于公链节点接口规范的子链、行业链和联盟链,以及第三方公链、行业链、联盟链和私链。The blockchain system according to any one of claims 1-9, wherein each of the access chain nodes belongs to the plurality of blockchain networks connected to the public chain, and the blockchain network connected to the public chain includes Sub-chains, industry chains, and alliance chains based on public chain node interface specifications, as well as third-party public, industry, alliance, and private chains.
PCT/CN2019/101043 2018-08-28 2019-08-16 Block chain system WO2020042929A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810986825.3 2018-08-28
CN201810986825 2018-08-28
CN201811496869.4A CN110868439B (en) 2018-08-28 2018-12-07 Block chain system
CN201811496869.4 2018-12-07

Publications (1)

Publication Number Publication Date
WO2020042929A1 true WO2020042929A1 (en) 2020-03-05

Family

ID=69643146

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/101043 WO2020042929A1 (en) 2018-08-28 2019-08-16 Block chain system

Country Status (1)

Country Link
WO (1) WO2020042929A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194469A (en) * 2021-04-28 2021-07-30 四川师范大学 5G unmanned aerial vehicle cross-domain identity authentication method, system and terminal based on block chain
CN113722285A (en) * 2021-11-03 2021-11-30 江苏荣泽信息科技股份有限公司 Multi-chain-based cross-chain distributed file storage and verification system
CN114760071A (en) * 2022-06-13 2022-07-15 深圳市永达电子信息股份有限公司 Zero-knowledge proof based cross-domain digital certificate management method, system and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372940A (en) * 2016-08-31 2017-02-01 江苏通付盾科技有限公司 Identity authentication method based on block chain network, server and terminal device
CN106796688A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Permission control method, device and system of block chain and node equipment
US20170352219A1 (en) * 2015-08-06 2017-12-07 Blockchain Technologies Corporation System and method for securely receiving and counting votes in an election

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170352219A1 (en) * 2015-08-06 2017-12-07 Blockchain Technologies Corporation System and method for securely receiving and counting votes in an election
CN106372940A (en) * 2016-08-31 2017-02-01 江苏通付盾科技有限公司 Identity authentication method based on block chain network, server and terminal device
CN106796688A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Permission control method, device and system of block chain and node equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BAI, JIE ET AL.: "The Standard of Blockchain Applications Model Publication and Deployment Technologies Research", INFORMATION TECHNOLOGY AND NETWORK SECURITY, vol. 37, no. 8, 10 August 2018 (2018-08-10) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194469A (en) * 2021-04-28 2021-07-30 四川师范大学 5G unmanned aerial vehicle cross-domain identity authentication method, system and terminal based on block chain
CN113722285A (en) * 2021-11-03 2021-11-30 江苏荣泽信息科技股份有限公司 Multi-chain-based cross-chain distributed file storage and verification system
CN114760071A (en) * 2022-06-13 2022-07-15 深圳市永达电子信息股份有限公司 Zero-knowledge proof based cross-domain digital certificate management method, system and medium
CN114760071B (en) * 2022-06-13 2022-10-28 深圳市永达电子信息股份有限公司 Zero-knowledge proof based cross-domain digital certificate management method, system and medium

Similar Documents

Publication Publication Date Title
CN110868439B (en) Block chain system
US11811910B2 (en) Blockchain maintenance method and apparatus, server, and computer-readable storage medium
CN107193490B (en) Distributed data storage system and method based on block chain
CN110417558B (en) Signature verification method and device, storage medium and electronic device
Collins et al. Online payments by merely broadcasting messages
CN111598566A (en) Network payment system based on mixed cross-chain
WO2021228102A1 (en) Method, device, and storage medium
TW201943250A (en) Cross-blockchain authentication method and apparatus, and electronic device
JP7228322B2 (en) Auto-commit transaction management in blockchain networks
WO2020042929A1 (en) Block chain system
US20130173747A1 (en) System, method and apparatus providing address invisibility to content provider/subscriber
WO2020173499A1 (en) Public chain-based sub-blockchain construction method and system
CN108234302A (en) Keep the consistency in the distributed operating system of network equipment
CN112231741B (en) Data processing method, device, medium and electronic equipment based on block chain system
CN112702402A (en) System, method, device, processor and storage medium for realizing government affair information resource sharing and exchange based on block chain technology
CN112866380B (en) Chain network architecture based on block chain
JP6920442B2 (en) Methods and devices for establishing communication between nodes in a blockchain system
CN105224385A (en) A kind of virtualization system based on cloud computing and method
CN114881648A (en) Block chain interconnection method and equipment based on prediction machine and oriented to cross-chain asset replacement scene
CN115328645A (en) Computing task scheduling method, computing task scheduling device and electronic equipment
Xiao et al. A multi-blockchain architecture supporting cross-blockchain communication
CN113326290B (en) Cross-network query control method
CN112565368B (en) Block chain based offshore equipment ad hoc network system, method and medium
KR20190086301A (en) System and method for distributed database using block chain
CN116258609A (en) Electric power system transaction cooperation method, device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19854046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19854046

Country of ref document: EP

Kind code of ref document: A1