WO2020173501A1 - Block chain-based transaction system - Google Patents

Block chain-based transaction system Download PDF

Info

Publication number
WO2020173501A1
WO2020173501A1 PCT/CN2020/078672 CN2020078672W WO2020173501A1 WO 2020173501 A1 WO2020173501 A1 WO 2020173501A1 CN 2020078672 W CN2020078672 W CN 2020078672W WO 2020173501 A1 WO2020173501 A1 WO 2020173501A1
Authority
WO
WIPO (PCT)
Prior art keywords
nodes
node
core
supervisory
time period
Prior art date
Application number
PCT/CN2020/078672
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
Application filed by 白杰 filed Critical 白杰
Priority to JP2021545726A priority Critical patent/JP7041993B2/en
Publication of WO2020173501A1 publication Critical patent/WO2020173501A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • 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
    • G06Q20/401Transaction verification
    • 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/42Confirmation, e.g. check or permission by the legal debtor of payment

Definitions

  • a blockchain-based transaction system This application is required to be submitted to the Chinese Patent Office on February 26, 2019, the application number is 201910141898.7, the title of the invention is "Blockchain-based high-concurrency fast transaction and verification method" and in 2019 The priority of the Chinese patent application filed with the Chinese Patent Office on August 8th, the application number is 201910730056.5, and the invention title is "a blockchain-based transaction system", the entire content of which is incorporated into this application by reference.
  • This application relates to the field of blockchain technology, and in particular to a transaction system based on blockchain.
  • Blockchain is a chained data structure that combines data blocks in sequence in chronological order, and is a distributed system that cannot be tampered with or forged that is guaranteed by cryptography.
  • This application provides a blockchain-based transaction system, which is used to solve the technical problem that the existing technology cannot take into account the security, scalability, and decentralization of the blockchain system.
  • the embodiment of the present application provides a blockchain-based transaction system in which nodes in the system establish a network connection with each other; select some nodes from the system every preset time period, configure them as core nodes, and remove Selecting some nodes from the nodes other than the core nodes and configuring them as supervisory nodes;
  • the core node is further configured to: when a transaction occurs, receive a transaction request, and verify the transaction request, and after the verification is passed, generate the first blockchain data corresponding to the transaction request, and store and Broadcast the first blockchain data;
  • the supervision node is further configured to: verify the first blockchain data.
  • the first supervision node is further configured to: if the verification result of the first blockchain data is incorrect, mark the first blockchain data as illegal data, and The system broadcasts a message that the first blockchain data is illegal data; the first supervisory node is any one of the supervisory nodes; the second supervisory node is further configured to: upon receiving the After the news that the first blockchain data is illegal data, Verifying the first blockchain data, and if the verification result of the first blockchain data is wrong, configure the core node storing the first blockchain data as a participating node; The second supervision node is any node among the supervision nodes except the first supervision node.
  • nodes other than the core node and the supervisory node in the system are configured as participating nodes;
  • the supervisory node is further configured to: if the verification result of the first blockchain data stored by the core node is correct, broadcast a message in the system that the verification result of the first blockchain data is correct ;
  • the participating node is further configured to: after receiving a message indicating that the verification result of the first blockchain data is correct, generate summary information corresponding to the first blockchain data, and generate the first block chain data according to the summary information. Two block chain data, and storing the second block chain data.
  • the supervisory node is further configured to: if the verification result of the first blockchain data stored by the core node is correct, generate summary information corresponding to the first blockchain data , Generating third blockchain data according to the summary information, and storing the third blockchain data.
  • some nodes are selected from the system by random election through public chain smart contracts every preset time period, and some selected nodes are configured as core nodes; and, through the public chain
  • the smart contract randomly selects some nodes from nodes other than the core nodes, and configures some of the selected nodes as supervisory nodes; and, selects the nodes in the system other than the core nodes and the supervisory nodes
  • the node is configured as a participating node.
  • every preset time period select some nodes from the system, and configure some of the selected nodes as core nodes, and Select some nodes from the nodes other than the core node, and configure the selected some nodes as supervisory nodes, and configure the nodes other than the core node and the supervisory node in the system as participating nodes.
  • some nodes are selected from the core nodes in the previous time period, and some nodes are selected in the current time period.
  • the node is configured as a core node or a participating node; and, according to the node’s own resources and the distance between the node in the current time period, select some nodes from the participating nodes in the previous time period, and select the selected nodes in the current time period
  • Some nodes are configured as core nodes or supervisory nodes.
  • some nodes are selected from the system through competition and election, and some selected nodes are configured as core nodes; and, through competition and election Selecting some nodes from nodes other than the core node, and configuring the selected some nodes as supervisory nodes; and configuring nodes other than the core node and the supervisory node in the system as participating nodes.
  • the supervision node is further configured to: verify the configuration of the core node, and if there is a core node with a configuration error, configure the core node with the configuration error as a participating node.
  • the core node is further configured to: receive a transaction initiating node or the A transaction request sent by a neighboring node of the core node.
  • the core node when sending a transaction, can receive the transaction request, and after verifying the transaction request and the verification is passed, it can generate the first blockchain data corresponding to the transaction request, and store the first block chain data.
  • the supervisor node can verify the first blockchain data stored by the core node.
  • the nodes in the blockchain network can be transformed from absolute decentralization to effective decentralization, thereby greatly improving the efficiency of network operation, prompting the utilization of resources, and at the same time maintaining complete decentralization
  • the core node and the supervisory node can be reconfigured every preset end, that is, the nodes in the transaction system can periodically switch their roles, so as to meet the security and safety of the blockchain network Reliability requirements;
  • the transaction system is generated based on the blockchain, so it can inherit the scalability of the blockchain network.
  • Figure 1 is a schematic structural diagram of a blockchain-based transaction system to which an embodiment of the present application is applicable;
  • FIG. 2 is a schematic diagram of node configuration in the next time period to which the embodiment of the present application is applicable;
  • Fig. 3 is a schematic diagram of a transaction process of a blockchain-based transaction system provided by an embodiment of the present application
  • Fig. 4 is a schematic diagram of a transaction process of another blockchain-based transaction system provided by an embodiment of the present application
  • An embodiment of the application provides a schematic diagram of the workflow of a supervisory node.
  • the blockchain refers to the accounting data generated by transactions in the network system on the one hand, and refers to the network running blockchain technology, that is, the blockchain network.
  • the blockchain network refers to a point-to-point (P2P) network with a decentralized application architecture, and the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification. It is a trading platform covering distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
  • Blockchain or blockchain information is accounting information generated based on transaction data when transactions occur in a blockchain network, that is, multiple specific transactions form a block, and multiple blocks form a blockchain.
  • the blockchain network includes nodes that establish a peer-to-peer network connection with each other. Each node is equipped 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 interface specifications that comply with a certain unified standard, so as to realize access to more nodes or other types of blockchain networks through the interface specifications.
  • FIG. 1 exemplarily shows a schematic structural diagram of a blockchain-based transaction system provided by an embodiment of the present application.
  • the nodes in the transaction system provided by this application establish a network connection with each other.
  • some nodes can be selected from the trading system, and the selected nodes can be configured as core nodes, and some nodes can be selected from nodes other than the core nodes, and the selected nodes It is configured as a supervisory node, and nodes other than core nodes and supervisory nodes can be configured as participating nodes.
  • node 1, node 2, node 3, and node 4 can be configured as core nodes, and node 5, node 6, and node 7 can be configured as supervisory nodes. 8 and node 9 can be configured as participating nodes.
  • FIG. 1 is only an exemplary illustration, and this application does not limit the respective numbers of core nodes, supervisory nodes, and participating nodes.
  • FIG. 1 shows only the configuration of each node in the trading system in one time period. In another time period, the configuration of each node in the trading system can be changed or not changed. limited.
  • a node as a core node (or a supervisory node, or a participating node).
  • the node may be configured by random election. Through the random election mechanism, it is ensured that different nodes have the same opportunity to configure during the process of node configuration, which can guarantee the enthusiasm and activity of each node in the trading system to the greatest extent, thereby improving the ability of the trading system.
  • some nodes can be selected from the system by random election through public chain smart contracts, and some selected nodes can be configured as core nodes; and, through random election through public chain smart contracts Select some nodes from the nodes other than the core node, and configure the selected some nodes as supervisory nodes; and, configure the nodes other than the core node and the supervisory node in the system as participating nodes.
  • node 5, node 7 and node 9 can be configured as core nodes
  • node 1, node 2, and node 8 can be configured as supervisory nodes
  • node 3, node 4, and Node 6 can be configured as a participating node.
  • the number of core nodes, the number of supervisory nodes, and the number of participating nodes may all change; and the core node itself, the supervisory node itself, and the participating node itself may also change, as shown in Figure 1.
  • the illustrated node 1 is configured as a core node in the current time period, and in the next time period, it may be configured as a supervisory node as shown in FIG. 2.
  • the node may be configured according to its own resources and the distance between the nodes. Configuring in this way can improve the rationality of node configuration, narrow the gap between nodes configured for the same role, and thereby improve the efficiency of the trading system.
  • some nodes can be selected from the system according to the node's own resources and the distance between the nodes, and the selected nodes can be configured as core nodes, and some nodes can be selected from nodes other than the core nodes. And configure selected nodes as supervisory nodes, and configure nodes other than the core node and supervisory nodes in the system as participating nodes.
  • the nodes in the transaction system can be divided into three groups according to the distance between the nodes, where one group corresponds to the core node, the other group corresponds to the supervisory node, and another group corresponds to the participating nodes. Then, the average value of the resources corresponding to each group of nodes can be determined according to the resources of the nodes themselves. Finally, it can be configured according to the average value of resources corresponding to each group of nodes.
  • the core node can have all the functions of the network. Therefore, the group of nodes with the highest average value of resources can be configured as the core node; The results produced are supervised and managed, and corresponding network services are also required.
  • a group of nodes with an average resource average can be configured as supervisory nodes; participating nodes Will not participate in the maintenance and supervision of the network, and more appear as users of the network, so a group of nodes with the lowest average resource value can be configured as participating nodes.
  • the configuration of the core node, the supervisory node, and the participating node may change periodically, that is, the configuration of the core node (or supervisory node, or participating node) in the current time period may be different from that of the core node in the previous time period.
  • the configuration of nodes (or supervisory nodes, or participating nodes) is different.
  • some nodes can be selected from the core nodes in the previous time period according to the node’s own resources in the current time period and the distance between the nodes, and the current Configure selected nodes as supervisory nodes or participating nodes in the time period; and, according to the distance between the node's own resources and the nodes in the current time period, select some nodes from the supervisory nodes in the previous time period, and select Configure selected nodes as core nodes or participating nodes in the current time period; and, according to the node's own resources in the current time period and the distance between the nodes, select some nodes from the participating nodes in the previous time period, and Configure selected nodes as core nodes or supervisory nodes in the current time period.
  • nodes may be configured through competition and election.
  • some nodes can be selected from the system by means of competition and election, and some selected nodes can be configured as core nodes; and, by means of competition and election, from nodes other than the core nodes Select some nodes in the, and configure some selected nodes as supervisory nodes; and configure nodes in the system except the core node and the supervisory node as participating nodes.
  • FIG. 3 exemplarily shows a schematic diagram of a transaction process of a blockchain-based transaction system provided by an embodiment of the present application.
  • the core node (node 1 shown in Figure 3) can be further configured to: when a transaction occurs, receive a transaction request, and verify the transaction request, and after the verification is passed, generate a transaction request Corresponding to the first blockchain data, and storing and broadcasting the first blockchain data.
  • the core node may be further configured as follows: if the core node determines that the verification fails after verifying the transaction request, the transaction request may be ignored (not shown in FIG. 3).
  • the supervisory node (node 5 shown in Figure 3) can be further configured to: verify the first blockchain data.
  • the core node when sending a transaction, can receive the transaction request, and after verifying the transaction request and the verification is passed, it can generate the first blockchain data corresponding to the transaction request, and store the first blockchain data.
  • the supervisor node can verify the first blockchain data stored by the core node.
  • the nodes in the blockchain network can transform from absolute decentralization to effective decentralization, thereby greatly improving the efficiency of network operations, improving the utilization of resources, and maintaining integrity at the same time Decentralization; further, since the core node and the supervisory node can be reconfigured every preset end, that is, the nodes in the transaction system can periodically switch their roles, so as to meet the requirements of the blockchain network Safety and reliability requirements; furthermore, The transaction system is generated based on the blockchain, so it can inherit the scalability of the blockchain network.
  • the transaction request received by the core node originates from node 0.
  • Node 0 can be a transaction initiating node, or a neighboring node of the core node (ie, node 1).
  • the core node can be further configured to: receive a transaction request sent by the transaction initiating node or a neighboring node of the core node.
  • the core node may receive the transaction request sent by the transaction initiating node in the following two situations.
  • the transaction initiating node can conduct transaction or information interaction with the direct core node, it can directly send a transaction request to the core node through the transaction initiating node.
  • This method is most suitable for transactions where the transaction initiating node and the core node are in the same blockchain network, that is, the transaction initiating node is also a node in the transaction system.
  • the transaction request can be broadcast through the transaction initiating node. Specifically, the transaction request may be first broadcast to the neighboring node, and the neighboring node will determine whether to complete the transaction or continue broadcasting in combination with its own role until the core node receives the transaction request.
  • the core node receives the transaction data sent by the neighboring nodes of the core node.
  • the corresponding situation may be that the transaction initiating node does not know the location information of the core node and sends the transaction request in the blockchain through broadcast.
  • the core Nodes can receive transaction requests through their neighboring nodes.
  • the above two situations are only exemplary.
  • the core node can also be regarded as directly receiving the transaction from the transaction initiating node. Transaction request.
  • the supervisory node when the supervisory node verifies the first blockchain data stored by the core node, it may be verified that the first blockchain data stored by the core node is incorrect, or the core node may be verified. There are two cases where the first blockchain data is correct, and the subsequent execution processes corresponding to the two cases are different.
  • FIG. 4 Another block chain-based transaction system is provided for this embodiment of the application for a transaction flow diagram.
  • the core node (node 1 shown in Figure 4) can be further configured to: when a transaction occurs, receive a transaction request initiated by node 0, and verify the transaction request, and after the verification is passed, generate a transaction request Corresponding to the first blockchain data, and storing the first blockchain data.
  • the supervision node (node 5 as shown in Figure 4) can be further configured to: verify the first blockchain data stored by the core node (ie, node 1).
  • the first supervisory node may be further configured to: verify the first blockchain data, if the first blockchain data is verified If the result is incorrect, mark the first blockchain data as illegal data, and broadcast a message in the system that the first blockchain data is illegal data; wherein, the first supervisory node is a supervisory node Any node.
  • the second supervisory node (node 6 as shown in FIG. 4) may be further configured to: upon receiving the After the first block chain data is a message of illegal data, the first block chain data is verified. If the verification result of the first block chain data is incorrect, the first block chain data will be stored
  • the core node is configured as a participating node; wherein, the second supervisory node is any node among the supervisory nodes except the first supervisory node.
  • the core node storing the first blockchain data can be removed from the core Node group, and trigger the corresponding punishment and reward mechanism: that is, the deposit of the core node storing the first blockchain data will be fined, and rewards will be issued to the first supervision node.
  • the supervisory node (node 5 as shown in Fig. 4) can be further configured to: verify the first blockchain data stored by the core node, if the first blockchain data stored by the core node The verification result of a block chain data is correct, and a message that the verification result of the first block chain data is correct is broadcast to the system.
  • the participating node may be further configured to: after receiving a message that the verification result of the first blockchain data is correct, it may independently decide whether to store the first block If the summary information corresponding to the chain data is stored, the summary information corresponding to the first block chain data is generated, the second block chain data is generated according to the summary information, and the second block chain data is stored.
  • FIG. 5 it is a schematic diagram of a workflow of a supervisory node provided in an embodiment of this application.
  • the supervisory node (node 5 shown in Figure 5) can be further configured to: if the verification result of the first blockchain data stored by the core node is correct, generate summary information corresponding to the first blockchain data, according to The summary information generates third blockchain data and stores the third blockchain data.
  • the supervision node may also supervise the configuration of the core node.
  • the supervisory node may be further configured to: verify the configuration of the core node, and if there is a core node with a configuration error, configure the core node with the configuration error as a participating node.
  • the core node can have all the functions of the network, that is, it can receive the transaction request, and after the transaction request is verified and passed, the corresponding blockchain can be generated Data;
  • the supervisory node can supervise and manage the results produced by the core role, and provide corresponding network services at the same time;
  • the participating nodes will not participate in the maintenance and supervision of the network, and more appear as network users.
  • core nodes, supervisory nodes and participating nodes respectively assume different roles and have different functions. Core nodes, supervisory nodes, and participating nodes each complete corresponding work to jointly maintain the operation and stability of the trading system. However, the nodes included in the core node do not all have the same function at the same point in time, and there is also a relationship of competition and supervision between each other.
  • each node may receive a transaction request, but Not every node has the right to keep accounts. If node 1 obtains the accounting right, then the blockchain data corresponding to the transaction request will be generated and stored by node 1, and furthermore, node 1 can also obtain the corresponding income. In other words, node 1 wins the competition in this transaction, while node 2, node 3, and node 4 lose the competition.
  • a computer-readable storage medium in which a computer program or smart contract is stored, and the computer program or smart contract is loaded and executed by a node to implement the above-mentioned embodiments.
  • Transaction processing method may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc. .

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)
  • Small-Scale Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present application provides a block chain-based transaction system. Some nodes are selected from the system every preset time period, and the selected some nodes are configured as core nodes; some nodes are selected from nodes other than the core nodes, and the selected some nodes are configured as supervision nodes. When a transaction is sent, the core node may receive a transaction request, verify the transaction request, generate first block chain data corresponding to the transaction request after the verification is successful, and store the first block chain data. The supervision nodes may verify the first block chain data stored by the core node. By using the transaction system, nodes in the block chain network may transit from absolute decentralization to effective decentralization, so that the efficiency of the operation of the network is greatly improved, the resource utilization is improved, the decentralization property is completely maintained, and requirements of safety and reliability of the network are satisfied.

Description

一种基于区块链的交易系统 本申请要求在 2019年 2月 26日提交中国专利局、 申请号为 201910141898.7、 发 明名称为“基于区块链的高并发快速交易及验证方法”以及在 2019年 8月 8日提交中 国专利局、 申请号为 201910730056.5、 发明名称为“一种基于区块链的交易系统” 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 A blockchain-based transaction system. This application is required to be submitted to the Chinese Patent Office on February 26, 2019, the application number is 201910141898.7, the title of the invention is "Blockchain-based high-concurrency fast transaction and verification method" and in 2019 The priority of the Chinese patent application filed with the Chinese Patent Office on August 8th, the application number is 201910730056.5, and the invention title is "a blockchain-based transaction system", the entire content of which is incorporated into this application by reference.
技术领域 Technical field
本申请涉及区块链技术领域, 特别涉及一种基于区块链的交易系统。 This application relates to the field of blockchain technology, and in particular to a transaction system based on blockchain.
背景技术 Background technique
区块链是一种按照时间顺序将数据区块以顺序相连的方式组合成的一种链式数据 结构, 并以密码学方式保证的不可篡改和不可伪造的分布式系统。 Blockchain is a chained data structure that combines data blocks in sequence in chronological order, and is a distributed system that cannot be tampered with or forged that is guaranteed by cryptography.
在分布式系统的不可能三角的条件下, 现有的各个区块链系统在安全性、 扩展性 和去中心化性方面, 没有办法做到全面兼顾。 比如比特币网络, 该网络的去中心化性 和安全性得到了提升, 但由于网络本身的架构设计, 其单位时间内的事务处理量 ( Transaction Per Second, TPS ) 无法得到有效提高, 因此其扩展性较差; 又比如商用 分布式系统 ( Enterprise Operation System, EOS ) , 是在牺牲去中心化性和安全性的前 提下, 使得其 TPS数值达到百万级, 从而提高扩展性。 Under the conditions of the impossible triangle of distributed systems, there is no way to fully balance the security, scalability, and decentralization of existing blockchain systems. For example, the Bitcoin network. The decentralization and security of the network have been improved. However, due to the architecture design of the network itself, the transaction processing volume per unit time (Transaction Per Second, TPS) cannot be effectively improved, so its expansion The performance is poor; another example is a commercial distributed system (Enterprise Operation System, EOS), which makes its TPS value reach one million at the expense of decentralization and security, thereby improving scalability.
基于此, 目前亟需一种基于区块链的交易系统, 用于解决现有技术无法兼顾区块 链系统的安全性、 可扩展性和去中心化性的问题。 Based on this, there is an urgent need for a blockchain-based transaction system to solve the problem that the existing technology cannot take into account the security, scalability, and decentralization of the blockchain system.
发明内容 Summary of the invention
本申请提供了一种基于区块链的交易系统, 用于解决现有技术无法兼顾区块链系统的 安全性、 可扩展性和去中心化性的技术问题。 This application provides a blockchain-based transaction system, which is used to solve the technical problem that the existing technology cannot take into account the security, scalability, and decentralization of the blockchain system.
本申请实施例提供一种基于区块链的交易系统, 所述系统中的节点相互建立网络连 接; 每隔预设时间段从所述系统中选取部分节点, 配置为核心节点, 以及, 从除所述核心 节点以外的节点中选取部分节点, 配置为监督节点; The embodiment of the present application provides a blockchain-based transaction system in which nodes in the system establish a network connection with each other; select some nodes from the system every preset time period, configure them as core nodes, and remove Selecting some nodes from the nodes other than the core nodes and configuring them as supervisory nodes;
所述核心节点进一步被配置为: 在发生交易时, 接收交易请求, 以及对所述交易请求 进行验证, 并在验证通过后, 生成所述交易请求对应的第一区块链数据, 以及存储和广播 所述第一区块链数据; The core node is further configured to: when a transaction occurs, receive a transaction request, and verify the transaction request, and after the verification is passed, generate the first blockchain data corresponding to the transaction request, and store and Broadcast the first blockchain data;
所述监督节点进一步被配置为: 对所述第一区块链数据进行校验。 The supervision node is further configured to: verify the first blockchain data.
在一种可能的实施方式中, 第一监督节点进一步被配置为: 如果所述第一区块链数据 的校验结果有误, 将所述第一区块链数据标记为非法数据, 以及在所述系统中广播所述第 一区块链数据为非法数据的消息; 所述第一监督节点为所述监督节点中的任一节点; 第二监督节点进一步被配置为: 在接收到所述第一区块链数据为非法数据的消息后, 对所述第一区块链数据进行校验, 如果所述第一区块链数据的校验结果有误, 则将存储所 述第一区块链数据的核心节点配置为参与节点; 所述第二监督节点为所述监督节点中除所 述第一监督节点以外的任一节点。 In a possible implementation manner, the first supervision node is further configured to: if the verification result of the first blockchain data is incorrect, mark the first blockchain data as illegal data, and The system broadcasts a message that the first blockchain data is illegal data; the first supervisory node is any one of the supervisory nodes; the second supervisory node is further configured to: upon receiving the After the news that the first blockchain data is illegal data, Verifying the first blockchain data, and if the verification result of the first blockchain data is wrong, configure the core node storing the first blockchain data as a participating node; The second supervision node is any node among the supervision nodes except the first supervision node.
在一种可能的实施方式中, 将所述系统中除所述核心节点和所述监督节点以外的节点 配置为参与节点; In a possible implementation manner, nodes other than the core node and the supervisory node in the system are configured as participating nodes;
所述监督节点进一步被配置为: 如果所述核心节点存储的第一区块链数据的校验结果 无误, 向在所述系统中广播所述第一区块链数据的校验结果无误的消息; The supervisory node is further configured to: if the verification result of the first blockchain data stored by the core node is correct, broadcast a message in the system that the verification result of the first blockchain data is correct ;
所述参与节点进一步被配置为: 在接收到所述第一区块链数据的校验结果无误的消息 后, 生成所述第一区块链数据对应的摘要信息, 根据所述摘要信息生成第二区块链数据, 以及存储所述第二区块链数据。 The participating node is further configured to: after receiving a message indicating that the verification result of the first blockchain data is correct, generate summary information corresponding to the first blockchain data, and generate the first block chain data according to the summary information. Two block chain data, and storing the second block chain data.
在一种可能的实施方式中, 所述监督节点进一步被配置为: 如果所述核心节点存储的 第一区块链数据的校验结果无误, 生成所述第一区块链数据对应的摘要信息, 根据所述摘 要信息生成第三区块链数据, 以及存储所述第三区块链数据。 In a possible implementation manner, the supervisory node is further configured to: if the verification result of the first blockchain data stored by the core node is correct, generate summary information corresponding to the first blockchain data , Generating third blockchain data according to the summary information, and storing the third blockchain data.
在一种可能的实施方式中, 每隔预设时间段, 通过公链智能合约随机选举的方式从所 述系统中选取部分节点, 并将选取的部分节点配置为核心节点; 以及, 通过公链智能合约 随机选举的方式从除所述核心节点以外的节点中选取部分节点, 并将选取的部分节点配置 为监督节点; 以及, 将所述系统中除所述核心节点和所述监督节点以外的节点配置为参与 节点。 In a possible implementation manner, some nodes are selected from the system by random election through public chain smart contracts every preset time period, and some selected nodes are configured as core nodes; and, through the public chain The smart contract randomly selects some nodes from nodes other than the core nodes, and configures some of the selected nodes as supervisory nodes; and, selects the nodes in the system other than the core nodes and the supervisory nodes The node is configured as a participating node.
在一种可能的实施方式中,每隔预设时间段,根据节点自身的资源和节点之间的距离, 从所述系统中选取部分节点, 并将选取的部分节点配置为核心节点, 以及从除所述核心节 点以外节点中选取部分节点, 并将选取的部分节点配置为监督节点, 以及将所述系统中除 所述核心节点和所述监督节点以外的节点配置为参与节点。 In a possible implementation manner, every preset time period, according to the node's own resources and the distance between the nodes, select some nodes from the system, and configure some of the selected nodes as core nodes, and Select some nodes from the nodes other than the core node, and configure the selected some nodes as supervisory nodes, and configure the nodes other than the core node and the supervisory node in the system as participating nodes.
在一种可能的实施方式中, 根据当前时间段内节点自身的资源和节点之间的距离, 从 上一时间段内的核心节点中选取部分节点, 并在当前时间段内将选取的部分节点配置为监 督节点或参与节点; 以及, 根据当前时间段内节点自身的资源和节点之间的距离, 从上一 时间段内的监督节点中选取部分节点, 并在当前时间段内将选取的部分节点配置为核心节 点或参与节点; 以及, 根据当前时间段内节点自身的资源和节点之间的距离, 从上一时间 段内的参与节点中选取部分节点, 并在当前时间段内将选取的部分节点配置为核心节点或 监督节点。 In a possible implementation manner, according to the distance between the node's own resources and the node in the current time period, some nodes are selected from the core nodes in the previous time period, and some nodes are selected in the current time period. Configure as a supervisory node or participating node; and, according to the distance between the node's own resources and the node in the current time period, select some nodes from the supervisory nodes in the previous time period, and select the selected part in the current time period The node is configured as a core node or a participating node; and, according to the node’s own resources and the distance between the node in the current time period, select some nodes from the participating nodes in the previous time period, and select the selected nodes in the current time period Some nodes are configured as core nodes or supervisory nodes.
在一种可能的实施方式中, 每隔预设时间段, 通过竞争和选举的方式从所述系统中选 取部分节点, 并将选取的部分节点配置为核心节点; 以及, 通过竞争和选举的方式从除所 述核心节点以外的节点中选取部分节点, 并将选取的部分节点配置为监督节点; 以及, 将 所述系统中除所述核心节点和所述监督节点以外的节点配置为参与节点。 In a possible implementation manner, at intervals of a preset time period, some nodes are selected from the system through competition and election, and some selected nodes are configured as core nodes; and, through competition and election Selecting some nodes from nodes other than the core node, and configuring the selected some nodes as supervisory nodes; and configuring nodes other than the core node and the supervisory node in the system as participating nodes.
在一种可能的实施方式中, 所述监督节点进一步被配置为: 对所述核心节点的配置进 行校验, 如果存在配置出错的核心节点, 将所述配置出错的核心节点配置为参与节点。 In a possible implementation manner, the supervision node is further configured to: verify the configuration of the core node, and if there is a core node with a configuration error, configure the core node with the configuration error as a participating node.
在一种可能的实施方式中, 所述核心节点进一步被配置为: 接收交易发起节点或所述 核心节点的邻近节点发送的交易请求。 In a possible implementation manner, the core node is further configured to: receive a transaction initiating node or the A transaction request sent by a neighboring node of the core node.
如此, 上述基于区块的交易系统中, 在发送交易时, 核心节点可以接收交易请求, 在对交易请求进行验证且验证通过后, 可以生成交易请求对应的第一区块链数据, 以 及存储第一区块链数据。 监督节点可以对核心节点存储的第一区块链数据进行校验。 采用上述交易系统,区块链网络中的节点能从绝对去中心化向有效去中心化进行转变, 从而大幅度提高网络运行的效率, 提示资源的利用率, 同时又能完整的保持去中心化 性; 进一步地, 由于核心节点和监督节点每隔预设端可以重新配置, 也就是说, 该交 易系统中的节点可以周期性地转换自身的角色, 从而能够满足区块链网络的安全性和 可靠性的要求; 更进一步地, 该交易系统是基于区块链生成的, 因此能够继承区块链 网络的可扩展性。 In this way, in the above block-based transaction system, when sending a transaction, the core node can receive the transaction request, and after verifying the transaction request and the verification is passed, it can generate the first blockchain data corresponding to the transaction request, and store the first block chain data. One block chain data. The supervisor node can verify the first blockchain data stored by the core node. Using the above transaction system, the nodes in the blockchain network can be transformed from absolute decentralization to effective decentralization, thereby greatly improving the efficiency of network operation, prompting the utilization of resources, and at the same time maintaining complete decentralization Further, since the core node and the supervisory node can be reconfigured every preset end, that is, the nodes in the transaction system can periodically switch their roles, so as to meet the security and safety of the blockchain network Reliability requirements; Furthermore, the transaction system is generated based on the blockchain, so it can inherit the scalability of the blockchain network.
附图说明 Description of the drawings
图 1是本申请实施例适用的一种基于区块链的交易系统的结构示意图; Figure 1 is a schematic structural diagram of a blockchain-based transaction system to which an embodiment of the present application is applicable;
图 2是本申请实施例适用的下一时间段内节点配置的示意图; FIG. 2 is a schematic diagram of node configuration in the next time period to which the embodiment of the present application is applicable;
图 3是本申请实施例提供一种基于区块链的交易系统进行交易的流程示意图; 图 4是本申请实施例提供另一种基于区块链的交易系统进行交易的流程示意图; 图 5是本申请实施例提供的一种监督节点的工作流程示意图。 Fig. 3 is a schematic diagram of a transaction process of a blockchain-based transaction system provided by an embodiment of the present application; Fig. 4 is a schematic diagram of a transaction process of another blockchain-based transaction system provided by an embodiment of the present application; An embodiment of the application provides a schematic diagram of the workflow of a supervisory node.
具体实施方式 detailed description
为使本申请的目的、 技术方案和优点更加清楚, 下面将结合附图对本申请实施方式作 进一步地详细描述。 In order to make the objectives, technical solutions, and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below with reference to the accompanying drawings.
在本申请提供的技术方案中, 所述区块链一方面指网络系统中交易产生的记账数据, 另一方面指运行区块链技术的网络, 即区块链网络。 其中, 区块链网络是指具有去中心化 应用架构的点对点 (P2P ) 网络, 所述区块链网络能够进行分布式存储、 公共共识、 数字 加密、 交易记账以及验证。 即涵盖了分布式技术、 密码学、 P2P 网络架构以及各种可能被 应用的共识算法的交易平台。 In the technical solution provided by this application, the blockchain refers to the accounting data generated by transactions in the network system on the one hand, and refers to the network running blockchain technology, that is, the blockchain network. Among them, the blockchain network refers to a point-to-point (P2P) network with a decentralized application architecture, and the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification. It is a trading platform covering distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
区块链或区块链信息是在区块链网络中发生交易时, 根据交易数据生成的记账信息, 即多笔具体的交易组成一个区块, 多个区块形成一条区块链。 区块链网络中, 包括相互建 立点对点网络连接的节点, 每一个节点都配置有相应的共识机制, 如智能合约, 并且具有 足够的运算能力, 以进行交易验证和记账程序。 节点上还具有符合某种统一标准的接口规 范, 以实现通过接口规范接入更多的节点或者其他类型的区块链网络。 Blockchain or blockchain information is accounting information generated based on transaction data when transactions occur in a blockchain network, that is, multiple specific transactions form a block, and multiple blocks form a blockchain. The blockchain network includes nodes that establish a peer-to-peer network connection with each other. Each node is equipped 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 interface specifications that comply with a certain unified standard, so as to realize access to more nodes or other types of blockchain networks through the interface specifications.
下面首先结合图 1对本申请实施例适用的可能的系统架构进行介绍。 The following first introduces a possible system architecture applicable to the embodiment of the present application in conjunction with FIG. 1.
请参考图 1, 其示例性示出了本申请实施例提供的一种基于区块链的交易系统的结构 示意图。 由图 1可知, 本申请提供的交易系统中的节点相互建立网络连接。 并且, 每隔预 设时间段, 可以从该交易系统中选取部分节点, 并将选取的部分节点配置为核心节点, 以 及可以从除核心节点以外的节点中选取部分节点, 并将选取的部分节点配置为监督节点, 以及可以将除核心节点和监督节点以外的节点配置为参与节点。 以图 1示出的示意图为例, 在当前时间段内, 节点 1、 节点 2、 节点 3和节点 4可以 被配置为核心节点, 节点 5、 节点 6和节点 7可以被配置为监督节点, 节点 8和节点 9可 以被配置为参与节点。 Please refer to FIG. 1, which exemplarily shows a schematic structural diagram of a blockchain-based transaction system provided by an embodiment of the present application. It can be seen from Figure 1 that the nodes in the transaction system provided by this application establish a network connection with each other. Moreover, every preset time period, some nodes can be selected from the trading system, and the selected nodes can be configured as core nodes, and some nodes can be selected from nodes other than the core nodes, and the selected nodes It is configured as a supervisory node, and nodes other than core nodes and supervisory nodes can be configured as participating nodes. Taking the schematic diagram shown in FIG. 1 as an example, in the current time period, node 1, node 2, node 3, and node 4 can be configured as core nodes, and node 5, node 6, and node 7 can be configured as supervisory nodes. 8 and node 9 can be configured as participating nodes.
需要说明的是, 图 1仅为一种示例性说明, 本申请不对核心节点、 监督节点和参与节 点各自的数量进行限定。 此外, 图 1示出的仅为一个时间段内交易系统中各节点的配置情 况, 在另一时间段内, 交易系统中各节点的配置情况可以发送改变, 也可以不发生改变, 具体不做限定。 It should be noted that FIG. 1 is only an exemplary illustration, and this application does not limit the respective numbers of core nodes, supervisory nodes, and participating nodes. In addition, FIG. 1 shows only the configuration of each node in the trading system in one time period. In another time period, the configuration of each node in the trading system can be changed or not changed. limited.
本申请实施例中, 将节点配置为核心节点(或监督节点, 或参与节点)的方式有多种, 一个示例中, 每隔预设时间段, 可以通过随机选举的方式对节点进行配置。 通过随机选举 的机制, 保证节点的配置过程中, 不同节点享有相同的机会进行配置, 从而能够最大限度 保障交易系统中每个节点的积极性和活跃性, 进而可以提高交易系统的能力。 In the embodiment of the present application, there are multiple ways to configure a node as a core node (or a supervisory node, or a participating node). In one example, at intervals of a preset time period, the node may be configured by random election. Through the random election mechanism, it is ensured that different nodes have the same opportunity to configure during the process of node configuration, which can guarantee the enthusiasm and activity of each node in the trading system to the greatest extent, thereby improving the ability of the trading system.
具体地, 每隔预设时间段, 可以通过公链智能合约随机选举的方式从系统中选取部分 节点, 并将选取的部分节点配置为核心节点; 以及, 通过公链智能合约随机选举的方式从 除核心节点以外的节点中选取部分节点, 并将选取的部分节点配置为监督节点; 以及, 将 系统中除核心节点和监督节点以外的节点配置为参与节点。 Specifically, every preset time period, some nodes can be selected from the system by random election through public chain smart contracts, and some selected nodes can be configured as core nodes; and, through random election through public chain smart contracts Select some nodes from the nodes other than the core node, and configure the selected some nodes as supervisory nodes; and, configure the nodes other than the core node and the supervisory node in the system as participating nodes.
为了更加形象地描述交易系统中各节点的配置是可以周期性变化地, 假设图 1示出的 是交易系统中各节点在当前时间段内的配置情况, 采用随机选举的方式进行配置, 那么在 下一时间段内, 各节点的配置可以如图 2所示。 In order to more vividly describe that the configuration of each node in the trading system can be changed periodically, assuming that Figure 1 shows the configuration of each node in the trading system during the current time period, the configuration is performed by random election, then the following Within a period of time, the configuration of each node can be as shown in Figure 2.
从图 2中可以看出, 在下一时间段内, 节点 5、 节点 7和节点 9可以被配置为核心节 点, 节点 1、 节点 2和节点 8可以被配置为监督节点, 节点 3、 节点 4和节点 6可以被配 置为参与节点。 可见, 不同时间段之间, 核心节点的数量、 监督节点的数量和参与节点的 数量都可能发生变化; 并且, 核心节点本身、 监督节点本身和参与节点本身也可能发生变 化, 即在图 1中示出的节点 1在当前时间段内被配置为核心节点, 在下一时间段内, 可能 如图 2中示出的被配置为监督节点。 As can be seen from Figure 2, in the next time period, node 5, node 7 and node 9 can be configured as core nodes, node 1, node 2, and node 8 can be configured as supervisory nodes, and node 3, node 4, and Node 6 can be configured as a participating node. It can be seen that between different time periods, the number of core nodes, the number of supervisory nodes, and the number of participating nodes may all change; and the core node itself, the supervisory node itself, and the participating node itself may also change, as shown in Figure 1. The illustrated node 1 is configured as a core node in the current time period, and in the next time period, it may be configured as a supervisory node as shown in FIG. 2.
另一个示例中, 每隔预设时间段, 可以根据节点自身的资源和节点之间的距离对节点 进行配置。 采用这种方式进行配置, 能够提高节点配置的合理性, 缩小被配置为同一角色 的节点之间的差距, 从而提高交易系统的工作效率。 In another example, every preset time period, the node may be configured according to its own resources and the distance between the nodes. Configuring in this way can improve the rationality of node configuration, narrow the gap between nodes configured for the same role, and thereby improve the efficiency of the trading system.
具体地, 每隔预设时间段, 可以根据节点自身的资源和节点之间的距离从系统中选取 部分节点, 并将选取的部分节点配置为核心节点, 以及从除核心节点以外节点中选取部分 节点, 并将选取的部分节点配置为监督节点, 以及将系统中除核心节点和监督节点以外的 节点配置为参与节点。 Specifically, every preset time period, some nodes can be selected from the system according to the node's own resources and the distance between the nodes, and the selected nodes can be configured as core nodes, and some nodes can be selected from nodes other than the core nodes. And configure selected nodes as supervisory nodes, and configure nodes other than the core node and supervisory nodes in the system as participating nodes.
举个例子, 可以先根据节点之间的距离将交易系统中的节点分为三组, 其中, 一组对 应核心节点, 另一组对应监督节点, 还有一组对应参与节点。 然后, 可以根据节点自身的 资源, 确定每组节点对应的资源平均值。 最后, 可以根据每组节点对应的资源平均值来配 置, 比如, 核心节点可以完整拥有网络的所有功能, 因此可以将资源平均值最高的一组节 点配置为核心节点; 监督节点需要对核心节点所产生的结果进行监督和管理, 同时还需要 提供相应的网络服务, 因此可以将资源平均值中等的一组节点配置为监督节点; 参与节点 不会参与网络的维护和监督, 更多的作为网络的使用者出现, 因此可以将资源平均值最低 的一组节点配置为参与节点。 For example, the nodes in the transaction system can be divided into three groups according to the distance between the nodes, where one group corresponds to the core node, the other group corresponds to the supervisory node, and another group corresponds to the participating nodes. Then, the average value of the resources corresponding to each group of nodes can be determined according to the resources of the nodes themselves. Finally, it can be configured according to the average value of resources corresponding to each group of nodes. For example, the core node can have all the functions of the network. Therefore, the group of nodes with the highest average value of resources can be configured as the core node; The results produced are supervised and managed, and corresponding network services are also required. Therefore, a group of nodes with an average resource average can be configured as supervisory nodes; participating nodes Will not participate in the maintenance and supervision of the network, and more appear as users of the network, so a group of nodes with the lowest average resource value can be configured as participating nodes.
进一步地, 核心节点、 监督节点和参与节点的配置可以是周期性变化的, 也就是说, 当前时间段内核心节点 (或监督节点, 或参与节点) 的配置情况可能与上一时间段内核心 节点 (或监督节点, 或参与节点) 的配置情况不同。 Further, the configuration of the core node, the supervisory node, and the participating node may change periodically, that is, the configuration of the core node (or supervisory node, or participating node) in the current time period may be different from that of the core node in the previous time period. The configuration of nodes (or supervisory nodes, or participating nodes) is different.
具体地, 对于当前时间段内系统中各节点的配置情况, 可以根据当前时间段内节点自 身的资源和节点之间的距离, 从上一时间段内的核心节点中选取部分节点, 并在当前时间 段内将选取的部分节点配置为监督节点或参与节点; 以及, 根据当前时间段内节点自身的 资源和节点之间的距离, 从上一时间段内的监督节点中选取部分节点, 并在当前时间段内 将选取的部分节点配置为核心节点或参与节点; 以及, 根据当前时间段内节点自身的资源 和节点之间的距离, 从上一时间段内的参与节点中选取部分节点, 并在当前时间段内将选 取的部分节点配置为核心节点或监督节点。 Specifically, for the configuration of each node in the system in the current time period, some nodes can be selected from the core nodes in the previous time period according to the node’s own resources in the current time period and the distance between the nodes, and the current Configure selected nodes as supervisory nodes or participating nodes in the time period; and, according to the distance between the node's own resources and the nodes in the current time period, select some nodes from the supervisory nodes in the previous time period, and select Configure selected nodes as core nodes or participating nodes in the current time period; and, according to the node's own resources in the current time period and the distance between the nodes, select some nodes from the participating nodes in the previous time period, and Configure selected nodes as core nodes or supervisory nodes in the current time period.
又一个示例中, 每隔预设时间段, 可以通过竞争和选举的方式对节点进行配置。 In another example, every preset time period, nodes may be configured through competition and election.
具体地, 每隔预设时间段, 可以通过竞争和选举的方式从系统中选取部分节点, 并将 选取的部分节点配置为核心节点; 以及, 通过竞争和选举的方式从除核心节点以外的节点 中选取部分节点, 并将选取的部分节点配置为监督节点; 以及, 将系统中除核心节点和监 督节点以外的节点配置为参与节点。 Specifically, every preset time period, some nodes can be selected from the system by means of competition and election, and some selected nodes can be configured as core nodes; and, by means of competition and election, from nodes other than the core nodes Select some nodes in the, and configure some selected nodes as supervisory nodes; and configure nodes in the system except the core node and the supervisory node as participating nodes.
需要说明的是, 上述三个示例仅为节点配置的示例性说明, 本领域技术人员可以根据 经验和实际情况调整节点的配置方式, 具体不做限定。 It should be noted that the above three examples are only illustrative descriptions of node configuration, and those skilled in the art can adjust the node configuration mode according to experience and actual conditions, which are not specifically limited.
基于图 1所示的系统架构, 图 3示例性示出了本申请实施例提供一种基于区块链的交 易系统进行交易的流程示意图。 Based on the system architecture shown in FIG. 1, FIG. 3 exemplarily shows a schematic diagram of a transaction process of a blockchain-based transaction system provided by an embodiment of the present application.
如图 3所示, 核心节点 (如图 3中示出的节点 1) 可以进一步被配置为: 在发生交易 时, 接收交易请求, 以及对交易请求进行验证, 并在验证通过后, 生成交易请求对应的第 一区块链数据, 以及存储和广播第一区块链数据。 As shown in Figure 3, the core node (node 1 shown in Figure 3) can be further configured to: when a transaction occurs, receive a transaction request, and verify the transaction request, and after the verification is passed, generate a transaction request Corresponding to the first blockchain data, and storing and broadcasting the first blockchain data.
核心节点还可以进一步被配置为: 如果核心节点对交易请求进行验证后, 确定验证不 通过, 则可以忽略该交易请求 (在图 3中未示出)。 The core node may be further configured as follows: if the core node determines that the verification fails after verifying the transaction request, the transaction request may be ignored (not shown in FIG. 3).
监督节点 (如图 3中示出的节点 5) 可以进一步被配置为: 对第一区块链数据进行校 验。 The supervisory node (node 5 shown in Figure 3) can be further configured to: verify the first blockchain data.
如此, 上述基于区块的交易系统中, 在发送交易时, 核心节点可以接收交易请求, 在 对交易请求进行验证且验证通过后, 可以生成交易请求对应的第一区块链数据, 以及存储 第一区块链数据。 监督节点可以对核心节点存储的第一区块链数据进行校验。 采用上述交 易系统, 区块链网络中的节点能从绝对去中心化向有效去中心化进行转变, 从而大幅度提 网络运彳丁的效率, 提不资源的利用率, 同时又能完整的保持去中心化性; 进一步地, 由 于核心节点和监督节点每隔预设端可以重新配置, 也就是说, 该交易系统中的节点可以周 期性地转换自身的角色,从而能够满足区块链网络的安全性和可靠性的要求;更进一步地, 该交易系统是基于区块链生成的, 因此能够继承区块链网络的可扩展性。 In this way, in the above block-based transaction system, when sending a transaction, the core node can receive the transaction request, and after verifying the transaction request and the verification is passed, it can generate the first blockchain data corresponding to the transaction request, and store the first blockchain data. One block chain data. The supervisor node can verify the first blockchain data stored by the core node. Using the above-mentioned transaction system, the nodes in the blockchain network can transform from absolute decentralization to effective decentralization, thereby greatly improving the efficiency of network operations, improving the utilization of resources, and maintaining integrity at the same time Decentralization; further, since the core node and the supervisory node can be reconfigured every preset end, that is, the nodes in the transaction system can periodically switch their roles, so as to meet the requirements of the blockchain network Safety and reliability requirements; furthermore, The transaction system is generated based on the blockchain, so it can inherit the scalability of the blockchain network.
根据图 3示出的内容可知, 核心节点 (即节点 1) 接收到的交易请求来源于节点 0。 节点 0可以是交易发起节点, 也可以是核心节点 (即节点 1) 的邻近节点。 也就是说, 核 心节点 (如图 3中示出的节点 1) 可以进一步被配置为: 接收交易发起节点或核心节点的 邻近节点发送的交易请求。 According to the content shown in Figure 3, the transaction request received by the core node (ie node 1) originates from node 0. Node 0 can be a transaction initiating node, or a neighboring node of the core node (ie, node 1). In other words, the core node (node 1 as shown in Figure 3) can be further configured to: receive a transaction request sent by the transaction initiating node or a neighboring node of the core node.
根据实际应用环境的不同, 交易发起点与核心节点之间的交易形式也不同。 核心节点 接收交易发起节点发送的交易请求的情形可能有以下两种。 Depending on the actual application environment, the transaction form between the transaction initiation point and the core node is also different. The core node may receive the transaction request sent by the transaction initiating node in the following two situations.
一种情形是, 如果交易发起节点可以与直接核心节点进行交易或信息交互, 则可以直 接通过交易发起节点向核心节点发送交易请求。 这种方式最适合于交易发起节点与核心节 点处于同一个区块链网络内的交易, 即交易发起节点也是该交易系统内的节点。 In one situation, if the transaction initiating node can conduct transaction or information interaction with the direct core node, it can directly send a transaction request to the core node through the transaction initiating node. This method is most suitable for transactions where the transaction initiating node and the core node are in the same blockchain network, that is, the transaction initiating node is also a node in the transaction system.
另一种情形是, 如果交易发起节点不能直接与核心节点进行交易或信息交互, 则可以 通过交易发起节点广播交易请求。 具体可以为先向邻近节点广播该交易请求, 邻近节点再 结合自身的角色, 确定是完成交易还是继续广播, 直到核心节点接收到该交易请求。 Another situation is that if the transaction initiating node cannot directly conduct transactions or information interaction with the core node, the transaction request can be broadcast through the transaction initiating node. Specifically, the transaction request may be first broadcast to the neighboring node, and the neighboring node will determine whether to complete the transaction or continue broadcasting in combination with its own role until the core node receives the transaction request.
核心节点接收核心节点的邻近节点发送的交易数据对应的情形可以是, 交易发起节点 未知核心节点的位置信息, 通过广播的形式在区块链中发送交易请求, 如此, 随着信息的 扩散, 核心节点可以通过其邻近节点接受到交易请求。 The core node receives the transaction data sent by the neighboring nodes of the core node. The corresponding situation may be that the transaction initiating node does not know the location information of the core node and sends the transaction request in the blockchain through broadcast. Thus, as the information spreads, the core Nodes can receive transaction requests through their neighboring nodes.
需要说明的是, 上述两种情形仅为示例性说明, 在其他可能的示例中, 如果交易发起 节点是核心节点的邻近节点, 那么, 核心节点也可以看作是直接接收到交易发起节点发送 的交易请求。 It should be noted that the above two situations are only exemplary. In other possible examples, if the transaction initiating node is a neighboring node of the core node, then the core node can also be regarded as directly receiving the transaction from the transaction initiating node. Transaction request.
本申请实施例中, 监督节点对核心节点存储的第一区块链数据进行校验时, 可能出现 校验出核心节点存储的第一区块链数据有误, 或者校验出核心节点存储的第一区块链数据 无误两种情况, 这两种情况分别对应的后续执行流程是不同的。 In this embodiment of the application, when the supervisory node verifies the first blockchain data stored by the core node, it may be verified that the first blockchain data stored by the core node is incorrect, or the core node may be verified. There are two cases where the first blockchain data is correct, and the subsequent execution processes corresponding to the two cases are different.
如图 4所示, 为本申请实施例提供另一种基于区块链的交易系统进行交易的流程示意 图。 As shown in Fig. 4, another block chain-based transaction system is provided for this embodiment of the application for a transaction flow diagram.
其中, 核心节点 (如图 4中示出的节点 1) 可以进一步被配置为: 在发生交易时, 接 收节点 0发起的交易请求, 以及对交易请求进行验证, 并在验证通过后, 生成交易请求对 应的第一区块链数据, 以及存储第一区块链数据。 Among them, the core node (node 1 shown in Figure 4) can be further configured to: when a transaction occurs, receive a transaction request initiated by node 0, and verify the transaction request, and after the verification is passed, generate a transaction request Corresponding to the first blockchain data, and storing the first blockchain data.
监督节点 (如图 4中示出的节点 5) 可以进一步被配置为: 对核心节点 (即节点 1) 存储的第一区块链数据进行校验。 The supervision node (node 5 as shown in Figure 4) can be further configured to: verify the first blockchain data stored by the core node (ie, node 1).
进一步地, 根据校验结果的不同, 对应执行的流程也不同。 Further, according to the different verification results, the corresponding execution procedures are also different.
一种可能的实现方式为, 第一监督节点 (如图 4中示出的节点 5) 可以进一步被配置 为: 对第一区块链数据进行校验, 如果第一区块链数据的校验结果有误, 将所述第一区块 链数据标记为非法数据, 以及在所述系统中广播所述第一区块链数据为非法数据的消息; 其中, 第一监督节点为监督节点中的任一节点。 A possible implementation is that the first supervisory node (node 5 shown in Figure 4) may be further configured to: verify the first blockchain data, if the first blockchain data is verified If the result is incorrect, mark the first blockchain data as illegal data, and broadcast a message in the system that the first blockchain data is illegal data; wherein, the first supervisory node is a supervisory node Any node.
如此, 第二监督节点 (如图 4中示出的节点 6) 可以进一步被配置为: 在接收到所述 第一区块链数据为非法数据的消息后, 对第一区块链数据进行校验, 如果第一区块链数据 的校验结果有误, 则将存储所述第一区块链数据的核心节点配置为参与节点; 其中, 第二 监督节点为监督节点中除所述第一监督节点以外的任一节点。 In this way, the second supervisory node (node 6 as shown in FIG. 4) may be further configured to: upon receiving the After the first block chain data is a message of illegal data, the first block chain data is verified. If the verification result of the first block chain data is incorrect, the first block chain data will be stored The core node is configured as a participating node; wherein, the second supervisory node is any node among the supervisory nodes except the first supervisory node.
进一步地, 如果第二监督节点对第一区块链数据校验后, 确定第一区块链数据的校验 结果有误, 可以将存储该第一区块链数据的核心节点移除出核心节点组, 并触发对应的惩 罚和奖励机制: 即, 存储该第一区块链数据的核心节点的押金将被罚没, 且会向第一监督 节点发放奖励。 Further, if the second supervisory node determines that the verification result of the first blockchain data is incorrect after verifying the first blockchain data, the core node storing the first blockchain data can be removed from the core Node group, and trigger the corresponding punishment and reward mechanism: that is, the deposit of the core node storing the first blockchain data will be fined, and rewards will be issued to the first supervision node.
另一种可能的实现方式为, 监督节点 (如图 4中示出的节点 5) 还可以进一步被配置 为: 对核心节点存储的第一区块链数据进行校验, 如果核心节点存储的第一区块链数据的 校验结果无误, 向在所述系统中广播所述第一区块链数据的校验结果无误的消息。 Another possible implementation is that the supervisory node (node 5 as shown in Fig. 4) can be further configured to: verify the first blockchain data stored by the core node, if the first blockchain data stored by the core node The verification result of a block chain data is correct, and a message that the verification result of the first block chain data is correct is broadcast to the system.
如此, 参与节点 (如图 4中示出的节点 8) 可以进一步被配置为: 在接收到所述第一 区块链数据的校验结果无误的消息后, 可以自主决定是否存储第一区块链数据对应的摘要 信息, 如果存储, 则生成第一区块链数据对应的摘要信息, 根据摘要信息生成第二区块链 数据, 以及存储第二区块链数据。 In this way, the participating node (node 8 as shown in FIG. 4) may be further configured to: after receiving a message that the verification result of the first blockchain data is correct, it may independently decide whether to store the first block If the summary information corresponding to the chain data is stored, the summary information corresponding to the first block chain data is generated, the second block chain data is generated according to the summary information, and the second block chain data is stored.
更进一步地, 如图 5所示, 为本申请实施例提供的一种监督节点的工作流程示意图。 监督节点 (如图 5中示出的节点 5) 还可以进一步被配置为: 如果核心节点存储的第一区 块链数据的校验结果无误, 生成第一区块链数据对应的摘要信息, 根据所述摘要信息生成 第三区块链数据, 以及存储第三区块链数据。 Furthermore, as shown in FIG. 5, it is a schematic diagram of a workflow of a supervisory node provided in an embodiment of this application. The supervisory node (node 5 shown in Figure 5) can be further configured to: if the verification result of the first blockchain data stored by the core node is correct, generate summary information corresponding to the first blockchain data, according to The summary information generates third blockchain data and stores the third blockchain data.
本申请实施例中, 监督节点除了上文所述的对核心节点生成的第一区块链数据进行校 验之外, 还可以对核心节点的配置进行监督。 In this embodiment of the application, in addition to verifying the first blockchain data generated by the core node as described above, the supervision node may also supervise the configuration of the core node.
具体地, 监督节点可以进一步被配置为: 对核心节点的配置进行校验, 如果存在配置 出错的核心节点, 将配置出错的核心节点配置为参与节点。 Specifically, the supervisory node may be further configured to: verify the configuration of the core node, and if there is a core node with a configuration error, configure the core node with the configuration error as a participating node.
根据上文所描述的内容可以知, 本申请实施例中, 核心节点可以完整拥有网络的所有 功能, 即可以接收交易请求, 并在对交易请求进行验证且通过之后, 可以生成对应的区块 链数据; 监督节点可以对于核心角色所产生的结果进行监督和管理, 同时提供相应的网络 服务; 参与节点不会参与网络的维护和监督, 更多的作为网络的使用者出现。 According to the content described above, in this embodiment of the application, the core node can have all the functions of the network, that is, it can receive the transaction request, and after the transaction request is verified and passed, the corresponding blockchain can be generated Data; The supervisory node can supervise and manage the results produced by the core role, and provide corresponding network services at the same time; The participating nodes will not participate in the maintenance and supervision of the network, and more appear as network users.
需要说明的是, 核心节点、 监督节点与参与节点分别承担不同的角色, 具有不同的功 能。 核心节点、 监督节点与参与节点各自完成对应的工作, 共同维护交易系统的运行和稳 定。 但是, 核心节点中所包括的节点, 在相同的时间点, 并不是都具有相同的功能, 互相 之间同样存在竞争和监督的关系。 It should be noted that the core nodes, supervisory nodes and participating nodes respectively assume different roles and have different functions. Core nodes, supervisory nodes, and participating nodes each complete corresponding work to jointly maintain the operation and stability of the trading system. However, the nodes included in the core node do not all have the same function at the same point in time, and there is also a relationship of competition and supervision between each other.
举个例子, 以图 1中所示出的核心节点包括的节点 1、 节点 2、 节点 3和节点 4这四 个节点为例, 在发生交易时, 各节点都有可能接收到交易请求, 但并不是每个节点都具有 记账权的。 如果节点 1获得记账权, 那么, 该交易请求对应的区块链数据将由节点 1生成 并存储, 进而, 节点 1也可以获取对应的收益。也就是说, 节点 1在本次交易中竞争胜利, 而节点 2、 节点 3和节点 4竞争失败。 For example, taking the four nodes of the core node shown in Figure 1 including node 1, node 2, node 3, and node 4 as an example, when a transaction occurs, each node may receive a transaction request, but Not every node has the right to keep accounts. If node 1 obtains the accounting right, then the blockchain data corresponding to the transaction request will be generated and stored by node 1, and furthermore, node 1 can also obtain the corresponding income. In other words, node 1 wins the competition in this transaction, while node 2, node 3, and node 4 lose the competition.
类似地, 监督节点中也可以存在竞争的关系, 此处不再赘述。 在示例性实施例中, 还提供了一种计算机可读存储介质, 所述存储介质中存储有计算 机程序或智能合约, 所述计算机程序或智能合约被节点加载并执行以实现上述实施例提供 的事务处理方法。 可选地, 上述计算机可读存储介质可以是只读存储记忆体 (Read-Only Memory, ROM)、 随机存储记忆体 (Random Access Memory, RAM)、 CD-ROM、 磁带、 软盘和 光数据存储设备等。 Similarly, there may also be a competitive relationship in the supervisory node, which will not be repeated here. In an exemplary embodiment, a computer-readable storage medium is also provided, in which a computer program or smart contract is stored, and the computer program or smart contract is loaded and executed by a node to implement the above-mentioned embodiments. Transaction processing method. Optionally, the aforementioned computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc. .
本领域的技术人员可以清楚地了解到本申请实施例中的技术可借助软件加必需的通 用硬件平台的方式来实现。 基于这样的理解, 本申请实施例中的技术方案本质上或者说对 现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品可以存储在 存储介质中, 如 R0M/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台计算机设备 (可以是 个人计算机, 服务器, 或者网络设备等)执行本申请各个实施例或者实施例的某些部分所 述的方法。 Those skilled in the art can clearly understand that the technology in the embodiments of this application can be implemented by means of software plus a necessary universal hardware platform. Based on this understanding, the technical solutions in the embodiments of the present application can be embodied in the form of software products, which can be stored in a storage medium, such as ROM/RAM. , Magnetic disks, optical disks, etc., include a number of instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in each embodiment or some parts of the embodiment of the present application.
本领域技术人员在考虑说明书及实践这里公开的发明后, 将容易想到本公开的其它实 施方案。 本申请旨在涵盖本公开的任何变型、 用途或者适应性变化, 这些变型、 用途或者 适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或 惯用技术手段。 说明书和实施例仅被视为示例性的, 本公开的真正范围和精神由下面的权 利要求指出。 Those skilled in the art will easily think of other implementation schemes of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The description and the embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
应当理解的是, 本公开并不局限于上面已经描述并在附图中示出的精确结构, 并 且可以在不脱离其范围进行各种修改和改变。 本公开的范围仅由所附的权利要求来限 制。 It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

权 利 要 求 书 Claims
1、 一种基于区块链的交易系统, 所述系统中的节点相互建立网络连接; 其特征在 于, 每隔预设时间段从所述系统中选取部分节点, 配置为核心节点, 以及, 从除所述 核心节点以外的节点中选取部分节点, 其配置为监督节点; 1. A blockchain-based transaction system in which nodes in the system establish a network connection with each other; characterized in that some nodes are selected from the system every preset time period and configured as core nodes, and, from Select some nodes from the nodes other than the core node, and configure them as supervisory nodes;
所述核心节点进一步被配置为: 在发生交易时, 接收交易请求, 以及对所述交易 请求进行验证, 并在验证通过后, 生成所述交易请求对应的第一区块链数据, 以及存 储和广播所述第一区块链数据; The core node is further configured to: when a transaction occurs, receive a transaction request, and verify the transaction request, and after the verification is passed, generate the first blockchain data corresponding to the transaction request, and store and Broadcast the first blockchain data;
所述监督节点进一步被配置为: 对所述第一区块链数据进行校验。 The supervision node is further configured to: verify the first blockchain data.
2、 根据权利要求 1所述的系统, 其特征在于, 第一监督节点进一步被配置为: 如 果所述第一区块链数据的校验结果有误, 将所述第一区块链数据标记为非法数据, 以 及在所述系统中广播所述第一区块链数据为非法数据的消息; 所述第一监督节点为所 述监督节点中的任一节点; 2. The system according to claim 1, wherein the first supervisory node is further configured to: if the verification result of the first blockchain data is incorrect, mark the first blockchain data Is illegal data, and a message that the first blockchain data is illegal data is broadcast in the system; the first supervision node is any one of the supervision nodes;
第二监督节点进一步被配置为: 在接收到所述第一区块链数据为非法数据的消息 后, 对所述第一区块链数据进行校验, 如果所述第一区块链数据的校验结果有误, 则 将存储所述第一区块链数据的核心节点配置为参与节点; 所述第二监督节点为所述监 督节点中除所述第一监督节点以外的任一节点。 The second supervision node is further configured to: after receiving a message that the first blockchain data is illegal data, verify the first blockchain data, if the first blockchain data is If the verification result is incorrect, the core node storing the first blockchain data is configured as a participating node; the second supervision node is any node in the supervision nodes except the first supervision node.
3、 根据权利要求 1所述的系统, 其特征在于, 将所述系统中除所述核心节点和所 述监督节点以外的节点配置为参与节点; 3. The system according to claim 1, characterized in that nodes other than the core node and the supervisory node in the system are configured as participating nodes;
所述监督节点进一步被配置为: 如果所述核心节点存储的第一区块链数据的校验 结果无误, 向在所述系统中广播所述第一区块链数据的校验结果无误的消息; The supervisory node is further configured to: if the verification result of the first blockchain data stored by the core node is correct, broadcast a message in the system that the verification result of the first blockchain data is correct ;
所述参与节点进一步被配置为: 在接收到所述第一区块链数据的校验结果无误的 消息后, 生成所述第一区块链数据对应的摘要信息, 根据所述摘要信息生成第二区块 链数据, 以及存储所述第二区块链数据。 The participating node is further configured to: after receiving a message indicating that the verification result of the first blockchain data is correct, generate summary information corresponding to the first blockchain data, and generate the first block chain data according to the summary information. Two block chain data, and storing the second block chain data.
4、 根据权利要求 1所述的系统, 其特征在于, 所述监督节点进一步被配置为: 如 果所述核心节点存储的第一区块链数据的校验结果无误, 生成所述第一区块链数据对 应的摘要信息, 根据所述摘要信息生成第三区块链数据, 以及存储所述第三区块链数 据。 4. The system according to claim 1, wherein the supervisory node is further configured to: if the verification result of the first blockchain data stored by the core node is correct, generate the first block The summary information corresponding to the chain data generates third block chain data according to the summary information, and stores the third block chain data.
5、 根据权利要求 3所述的系统, 其特征在于, 每隔预设时间段, 通过公链智能合 约随机选举的方式从所述系统中选取部分节点,并将选取的部分节点配置为核心节点; 以及, 通过公链智能合约随机选举的方式从除所述核心节点以外的节点中选取部分节 点, 并将选取的部分节点配置为监督节点; 以及, 将所述系统中除所述核心节点和所 述监督节点以外的节点配置为参与节点。 5. The system according to claim 3, characterized in that, every preset time period, some nodes are selected from the system by means of random election through public chain smart contracts, and some selected nodes are configured as core nodes And, selecting some nodes from nodes other than the core nodes by means of random election through public chain smart contracts, and configuring some selected nodes as supervisory nodes; and, removing the core nodes and the core nodes from the system Nodes other than the supervisory node are configured as participating nodes.
6、 根据权利要求 3所述的系统, 其特征在于, 每隔预设时间段, 根据节点自身的 资源和节点之间的距离, 从所述系统中选取部分节点, 并将选取的部分节点配置为核 心节点, 以及从除所述核心节点以外节点中选取部分节点, 并将选取的部分节点配置 为监督节点, 以及将所述系统中除所述核心节点和所述监督节点以外的节点配置为参 与节点。 6. The system according to claim 3, characterized in that, at intervals of a preset time period, some nodes are selected from the system according to the node's own resources and the distance between the nodes, and the selected parts are configured Is a core node, and select some nodes from nodes other than the core node, and configure the selected partial nodes Is a supervisory node, and nodes other than the core node and the supervisory node in the system are configured as participating nodes.
7、 根据权利要求 6所述的系统, 其特征在于, 根据当前时间段内节点自身的资源 和节点之间的距离, 从上一时间段内的核心节点中选取部分节点, 并在当前时间段内 将选取的部分节点配置为监督节点或参与节点; 以及, 根据当前时间段内节点自身的 资源和节点之间的距离, 从上一时间段内的监督节点中选取部分节点, 并在当前时间 段内将选取的部分节点配置为核心节点或参与节点; 以及, 根据当前时间段内节点自 身的资源和节点之间的距离, 从上一时间段内的参与节点中选取部分节点, 并在当前 时间段内将选取的部分节点配置为核心节点或监督节点。 7. The system according to claim 6, characterized in that, according to the node's own resources and the distance between the nodes in the current time period, some nodes are selected from the core nodes in the previous time period, and in the current time period Configure selected nodes as supervisory nodes or participating nodes; and, according to the node’s own resources and the distance between the nodes in the current time period, select some nodes from the supervisory nodes in the previous time period, and select some nodes in the current time period. Configure selected nodes as core nodes or participating nodes in the segment; and, according to the node’s own resources and the distance between the nodes in the current time period, select part of the nodes from the participating nodes in the previous time period, and select some nodes in the current time period. Configure some selected nodes as core nodes or supervisory nodes during the time period.
8、 根据权利要求 3所述的系统, 其特征在于, 每隔预设时间段, 通过竞争和选举 的方式从所述系统中选取部分节点, 并将选取的部分节点配置为核心节点; 以及, 通 过竞争和选举的方式从除所述核心节点以外的节点中选取部分节点, 并将选取的部分 节点配置为监督节点; 以及, 将所述系统中除所述核心节点和所述监督节点以外的节 点配置为参与节点。 8. The system according to claim 3, characterized in that, every preset time period, some nodes are selected from the system by means of competition and election, and some selected nodes are configured as core nodes; and, Partial nodes are selected from nodes other than the core node through competition and election, and the selected part of the nodes are configured as supervisory nodes; and, in the system except for the core node and the supervisory node The node is configured as a participating node.
9、 根据权利要求 1所述的系统, 其特征在于, 所述监督节点进一步被配置为: 对 所述核心节点的配置进行校验, 如果存在配置出错的核心节点, 将所述配置出错的核 心节点配置为参与节点。 9. The system according to claim 1, wherein the supervisory node is further configured to: verify the configuration of the core node, and if there is a core node with a configuration error, check the configuration of the core node The node is configured as a participating node.
10、 根据权利要求 1至 9中任一项所述的系统, 其特征在于, 所述核心节点进一 步被配置为: 接收交易发起节点或所述核心节点的邻近节点发送的交易请求。 10. The system according to any one of claims 1 to 9, wherein the core node is further configured to: receive a transaction request sent by a transaction initiating node or a neighboring node of the core node.
PCT/CN2020/078672 2019-02-26 2020-03-10 Block chain-based transaction system WO2020173501A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021545726A JP7041993B2 (en) 2019-02-26 2020-03-10 Blockchain-based transaction system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910141898.7 2019-02-26
CN201910141898 2019-02-26
CN201910730056.5A CN111614708B (en) 2019-02-26 2019-08-08 Transaction system based on block chain
CN201910730056.5 2019-08-08

Publications (1)

Publication Number Publication Date
WO2020173501A1 true WO2020173501A1 (en) 2020-09-03

Family

ID=72197581

Family Applications (3)

Application Number Title Priority Date Filing Date
PCT/CN2020/078666 WO2020173498A1 (en) 2019-02-26 2020-03-10 Blockchain-based subnet transaction method and system
PCT/CN2020/078672 WO2020173501A1 (en) 2019-02-26 2020-03-10 Block chain-based transaction system
PCT/CN2020/078673 WO2020173502A1 (en) 2019-02-26 2020-03-10 Block chain-based transaction system and transaction method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/078666 WO2020173498A1 (en) 2019-02-26 2020-03-10 Blockchain-based subnet transaction method and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/078673 WO2020173502A1 (en) 2019-02-26 2020-03-10 Block chain-based transaction system and transaction method

Country Status (3)

Country Link
JP (1) JP7041993B2 (en)
CN (3) CN111614709B (en)
WO (3) WO2020173498A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112017051B (en) * 2020-10-29 2021-02-12 北京易真学思教育科技有限公司 Block chain system, related method, user node and storage medium
CN112232823B (en) * 2020-12-10 2021-04-23 腾讯科技(深圳)有限公司 Transaction processing method, device, medium and electronic equipment of block chain system
CN112688790B (en) * 2020-12-23 2021-09-28 网易(杭州)网络有限公司 Data processing method and device of alliance chain, electronic equipment and storage medium
CN112991058B (en) * 2021-02-19 2023-09-22 区块动力(广州)科技有限公司 Verification method and system for conducting transaction based on blockchain
CN112990895A (en) * 2021-03-11 2021-06-18 杭州复杂美科技有限公司 Method, equipment and storage medium for accelerating parallel execution of block chain transaction
CN113067895B (en) * 2021-06-02 2021-08-31 支付宝(杭州)信息技术有限公司 Method for building block chain sub-network and block chain system
CN113886124B (en) * 2021-10-04 2023-05-30 杭州复杂美科技有限公司 Illegal node identification method, computer device, and storage medium
CN117591303B (en) * 2024-01-18 2024-05-07 腾讯科技(深圳)有限公司 Business processing method based on block chain, block chain system, medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767134A (en) * 2017-01-22 2018-03-06 平安医疗健康管理股份有限公司 Medical care cost method and system based on block chain
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
CN108615153A (en) * 2018-04-28 2018-10-02 百度在线网络技术(北京)有限公司 Processing method, device, system, equipment and the storage medium of block chain data
CN109240900A (en) * 2018-08-16 2019-01-18 北京京东尚科信息技术有限公司 Block chain network service platform and its intelligent contract detection method, storage medium
CN109274692A (en) * 2018-11-14 2019-01-25 众安信息技术服务有限公司 A kind of identification block chain network is done evil the method and device of node

Family Cites Families (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101467131A (en) * 2005-07-20 2009-06-24 美国唯美安视国际有限公司 Network user authentication system and method
US10762504B2 (en) * 2016-02-22 2020-09-01 Bank Of America Corporation System for external secure access to process data network
CN105956923B (en) * 2016-04-20 2022-04-29 上海如鸽投资有限公司 Asset transaction system and digital authentication and transaction method of assets
US10097344B2 (en) * 2016-07-15 2018-10-09 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
KR102209781B1 (en) * 2016-07-21 2021-01-28 주식회사 케이티 Method for managing virtual currency and apparatus therefor
CN106446067B (en) * 2016-09-06 2020-02-18 联动优势科技有限公司 Method and device for acquiring transaction data
CN106682984B (en) * 2016-10-27 2019-09-10 深圳壹账通智能科技有限公司 Transaction business process method and system based on block chain
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN108665359B (en) * 2017-03-29 2020-08-18 中国移动通信有限公司研究院 Block chain processing method, accounting node and verification node
US11107048B2 (en) * 2017-04-17 2021-08-31 International Business Machines Corporation Providing out-of-band verification for blockchain transactions
CN107392040B (en) * 2017-04-28 2019-08-09 阿里巴巴集团控股有限公司 A kind of method and device of common recognition verifying
CN107317672A (en) * 2017-05-10 2017-11-03 广东网金控股股份有限公司 A kind of light weight terminating machine block catenary system
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107450981B (en) * 2017-05-31 2020-04-24 创新先进技术有限公司 Block chain consensus method and equipment
CN107528886B (en) * 2017-07-25 2020-07-31 中国科学院计算技术研究所 Block chain full-network splitting method and system
CN107507005B (en) * 2017-08-01 2020-09-11 众安信息技术服务有限公司 Off-link data access method and system based on alliance chain
CN107464117B (en) * 2017-08-04 2021-06-22 平安科技(深圳)有限公司 Block chain based data management method and block chain system
CN107679848B (en) * 2017-09-22 2021-02-26 郑州大学 Petty transaction time delay control method based on time delay control Petri network
CN108023729B (en) * 2017-10-13 2020-06-23 中国银联股份有限公司 Block chain network and transaction method thereof
CN107888562B (en) * 2017-10-13 2019-12-27 布比(北京)网络技术有限公司 Data verification and transceiving method, node and system for parallel link access to interconnection chain
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN108256859B (en) * 2018-01-02 2021-02-23 中国工商银行股份有限公司 Financial product transaction consensus method, node and system based on block chain
CN108596619B (en) * 2018-04-26 2022-11-01 深圳怡化电脑股份有限公司 Transaction method, device, central node and system for blockchain system
CN108647967B (en) * 2018-05-10 2021-09-14 北京京东尚科信息技术有限公司 Method and device for selecting block chain consensus mechanism and consensus node
CN108964905A (en) * 2018-07-18 2018-12-07 胡祥义 A kind of safe and efficient block chain implementation method
CN109033422B (en) * 2018-08-08 2020-05-22 云南天之游科技股份有限公司 Method and device for generating block chain and block chain
CN109447649A (en) * 2018-09-03 2019-03-08 深圳壹账通智能科技有限公司 The processing method and system of transaction request
CN109493223B (en) * 2018-11-07 2021-12-21 联动优势科技有限公司 Accounting method and device
CN109710627A (en) * 2018-12-29 2019-05-03 中国银联股份有限公司 A kind of Transaction Inquiries method and device based on block chain network
CN109949160A (en) * 2019-03-27 2019-06-28 上海优扬新媒信息技术有限公司 A kind of sharding method and device of block chain
CN111046437A (en) * 2019-10-31 2020-04-21 中国科学院计算技术研究所 Block chain parallel transaction processing method and system based on isomorphic multi-chain and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
CN107767134A (en) * 2017-01-22 2018-03-06 平安医疗健康管理股份有限公司 Medical care cost method and system based on block chain
CN108615153A (en) * 2018-04-28 2018-10-02 百度在线网络技术(北京)有限公司 Processing method, device, system, equipment and the storage medium of block chain data
CN109240900A (en) * 2018-08-16 2019-01-18 北京京东尚科信息技术有限公司 Block chain network service platform and its intelligent contract detection method, storage medium
CN109274692A (en) * 2018-11-14 2019-01-25 众安信息技术服务有限公司 A kind of identification block chain network is done evil the method and device of node

Also Published As

Publication number Publication date
JP7041993B2 (en) 2022-03-25
CN111614709A (en) 2020-09-01
CN111614707A (en) 2020-09-01
CN111614709B (en) 2022-12-16
JP2022517436A (en) 2022-03-08
CN111614708B (en) 2021-06-08
CN111614708A (en) 2020-09-01
WO2020173498A1 (en) 2020-09-03
WO2020173502A1 (en) 2020-09-03

Similar Documents

Publication Publication Date Title
WO2020173501A1 (en) Block chain-based transaction system
US11907174B2 (en) Systems and methods for managing data generation, storage, and verification in a distributed system having a committee of validator nodes
CN108055138B (en) Block chain-based application distribution recording method and system
US11343073B2 (en) Apparatus and method for achieving distributed consensus based on decentralized byzantine fault tolerance
AU2019203861B2 (en) System and method for ending view change protocol
KR102170347B1 (en) System and method for terminating view change protocol
JP2020521252A5 (en)
JP5033188B2 (en) Program, computer system, and computer-readable recording medium for rejoining second node group to first node group using shared group key
US11403091B1 (en) Application healthcheck communicator
US20230409450A1 (en) Consensus processing method and apparatus for blockchain network
CN111818152B (en) Leader election consensus method based on distributed network
US20210234667A1 (en) Method and system for proof of election on a blockchain
CN113824738A (en) Method and system for node communication management in block chain
KR100898734B1 (en) Method and system for initial connecting between media server and application server for call process service
WO2021175036A1 (en) Methods for preventing client node from invalidly occupying a connection resource for a long time and for guiding client node to reasonably select node bandwidth in p2p network
CN116633699A (en) Product anti-counterfeiting traceability information trusted processing method and system based on block chain

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: 20762242

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021545726

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20762242

Country of ref document: EP

Kind code of ref document: A1