WO2020173498A1 - Blockchain-based subnet transaction method and system - Google Patents

Blockchain-based subnet transaction method and system Download PDF

Info

Publication number
WO2020173498A1
WO2020173498A1 PCT/CN2020/078666 CN2020078666W WO2020173498A1 WO 2020173498 A1 WO2020173498 A1 WO 2020173498A1 CN 2020078666 W CN2020078666 W CN 2020078666W WO 2020173498 A1 WO2020173498 A1 WO 2020173498A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
verification
network
verified
node
Prior art date
Application number
PCT/CN2020/078666
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 白杰
Publication of WO2020173498A1 publication Critical patent/WO2020173498A1/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

  • Blockchain-based partition transaction method and system This application requires that it 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 the priority of a Chinese patent application filed with the Chinese Patent Office on August 8, 2019, with application number 201910730535. 7.
  • the title of the invention is "Blockchain-based partition transaction method and system", the entire content of which is incorporated by reference in In this application.
  • This application relates to the field of blockchain transaction technology, and in particular to a partition transaction method and system based on blockchain. Background technique
  • the main task of blockchain technology is to create a relatively objective non-repudiation digital environment in accordance with the requirements of the decentralized system and based on public consensus.
  • the authenticity of network information can be guaranteed. For example, if a transaction occurs in the blockchain network, the nodes in the network will generate block data recording the transaction content based on the transaction information, and complete the block data. In network broadcasting, other nodes in the network store block data at the same time, forming unalterable block chain data.
  • the trading platform built for the implementation of blockchain technology can be local or global. If it is a global trading platform, the synchronization verification of related transactions will be delayed due to network transmission, bandwidth limitations, and node hardware computing capabilities. That is, after a transaction occurs, it needs to be synchronized, verified and accounted by all nodes in the transaction platform to form unalterable blockchain data in the entire network.
  • the valid blockchain data can only be stored after all nodes or a specified number of nodes have completed synchronization and verification. Moreover, the transaction is officially completed only after the corresponding blockchain data is stored. Therefore, the efficiency of the transaction process based on the blockchain technology is very low.
  • some nodes in the trading platform can be designated as verification nodes for synchronous verification of transactions.
  • the trading platform can designate 21 nodes as verification nodes for transactions on the entire network. When a transaction occurs in the network, the transaction to be verified will be broadcast to these 21 nodes, and the transactions to be verified will be simultaneously verified through these 21 nodes. To improve the efficiency of transaction verification.
  • the verification node needs to synchronously verify the transactions one by one in the order of initiation of the transaction. If the synchronization verification time of a transaction is long, the transaction with a later initiation time needs to wait for all transactions initiated earlier to be processed before entering the synchronization verification process, and the waiting time is longer. That is to say, the efficiency of the above verification method in processing large-scale and high concurrent transactions is still low.
  • This application provides a block chain-based partition transaction method and system to solve the problem of low block chain transaction efficiency.
  • this application provides a block chain-based partition transaction method, including:
  • the transaction initiating node broadcasts the transaction to be verified, and the transaction to be verified includes specified verification method information; the maintenance node locates the verification network according to the specified verification method information, and broadcasts the transaction to be verified to the verification network; the verification network Be the entire network or a sub-network corresponding to the specified verification method information; The verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction.
  • the verification method information is a transaction verification range specified by the transaction initiation node, including full network verification and partitioned network verification; the step of broadcasting the transaction to be verified by the transaction initiation node further includes:
  • the transaction initiation node obtains the transaction type of the transaction to be verified, where the transaction type includes block transactions and small transactions; the transaction initiation node generates designated verification method information according to the transaction type;
  • the transaction type is a block transaction, generate designated verification method information including full network verification; if the transaction type is a small transaction, generate designated verification method information including partition network verification.
  • the method further includes:
  • the transaction initiating node broadcasts the query transaction according to the transaction to be verified
  • the partition network node that receives the query transaction determines whether the partition network to which it belongs supports the transaction to be verified; if the partition network supports the transaction to be verified, feeds back the partition network identification information to the transaction initiating node;
  • the transaction initiating node adds the identification information to the designated verification method information.
  • the method further includes: synchronizing the blockchain data to all network nodes.
  • the method further includes:
  • the verification nodes in the entire network store the generated blockchain data, and broadcast the blockchain data within the entire network;
  • the participating nodes in the entire network store the blockchain data.
  • this application also provides a block chain-based partition transaction method, including:
  • the transaction initiation node broadcasts the transaction to be verified
  • the maintenance node in the public chain network judges the transaction type based on the transaction to be verified; the transaction type includes large transactions and small transactions;
  • the transaction type is a small transaction, broadcast the transaction to be verified to the partition network corresponding to the transaction to be verified;
  • the verification node in the partition network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified;
  • the partitioned network synchronizes the blockchain data to all network nodes.
  • the method further includes:
  • the maintenance node in the public chain network broadcasts the transaction to be verified to the entire network
  • the verification nodes in the entire network perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified.
  • the current network partition strategy table is stored in the maintenance node, and the maintenance node in the public chain network judges the transaction type according to the transaction to be verified, including:
  • the maintenance node calls the partition strategy table
  • this application also provides a block chain-based partition transaction system, including a block chain network established by multiple nodes, some of the nodes in the block chain network are configured as verification nodes, and multiple verification nodes The nodes form a verification network; the verification network is divided to form multiple sub-networks; some nodes in the blockchain network are configured as maintenance nodes; any node in the blockchain network can be used as a transaction initiation node;
  • the transaction initiation node is configured to: broadcast a transaction to be verified, and the transaction to be verified includes specified verification method information;
  • the maintenance node is configured to: locate a verification network according to designated verification mode information, and broadcast the to-be-verified transaction to the verification network; the verification network is the entire network or a sub-subnet corresponding to the designated verification mode information The internet;
  • the verification node in the verification network is configured to: perform verification and accounting on the transaction to be verified, and generate blockchain data according to the verified transaction.
  • the present application provides a block chain-based partitioned transaction system, including a public chain composed of multiple nodes, and an access chain connecting the public chain; some nodes in the public chain are configured as Maintenance node, some nodes in the public chain are configured as verification nodes; multiple verification nodes form a verification network, and the verification network is divided to form multiple partition networks; any node in the public chain and access chain can be used as Transaction initiation node;
  • the transaction initiation node is configured to: broadcast the transaction to be verified;
  • the maintenance node in the public chain network is configured to: determine the transaction type according to the transaction to be verified; the transaction type includes a block transaction and a small transaction; if the transaction type is a small transaction, report to the pending transaction
  • the district network corresponding to the verification transaction broadcasts the transaction to be verified;
  • the verification node in the partitioned network is configured to: perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; and synchronize the blockchain data to all network nodes.
  • this application provides a block chain-based partition transaction method and system.
  • the method first broadcasts the transaction to be verified by the transaction initiating node, and the transaction to be verified includes the specified verification method information, and then the maintenance
  • the node locates the verification network according to the designated verification method information, and broadcasts the transaction to be verified to the verification network, where the verification network is the entire network or a sub-network corresponding to the designated verification method information.
  • the verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction.
  • the method can perform full network verification and partition network verification respectively, so that when processing a specific type of transaction, the partition network can be quickly verified, and the entire network will synchronize the blockchain after the verification is completed. Data to improve transaction efficiency.
  • Figure 1 is a schematic diagram of the application process of a block chain-based partition transaction method
  • Figure 2 is a schematic diagram of the application process for specifying the scope of transaction verification
  • Figure 3 is a schematic diagram of the process of obtaining the identification information of the partition network by the application transaction initiating node
  • Figure 4 is a schematic diagram of the application process for the entire network to verify and store blockchain data
  • Figure 5 is a schematic diagram of the structure of a partitioned transaction system based on blockchain in this application.
  • Figure 6 is a schematic flow diagram of another partition transaction method based on blockchain in this application
  • Figure 7 is a schematic diagram of the application process for determining the transaction type
  • Figure 8 is a schematic diagram of the structure of another partitioned transaction system based on blockchain in this application.
  • 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. That is, a trading platform that covers distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
  • Blockchain or blockchain data refers to the accounting information generated according to transaction information when transactions occur in the blockchain network, that is, multiple specific transactions form a block, and multiple blocks form an ordered block chain.
  • 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 node also has an interface specification that meets a certain unified standard to realize access to more nodes or other types of blockchain networks through the interface specification.
  • the transaction is in a broad sense and does not refer to "commodity trading" or “item exchange” in the traditional sense, but refers to a certain data operation content or operation result on the blockchain network, for example, on the network
  • certain blockchain node A initiates a query request a for the performance of a certain type of communication device
  • the query request a is a transaction for the blockchain node B that undertakes the query service.
  • node B sends the performance table b of this type of communication device obtained by the query to node A.
  • Information A, a and information B, b will be written into the data block of the blockchain as transaction information.
  • FIG. 1 is a schematic flow diagram of a partitioned transaction method based on blockchain in this application.
  • the first aspect of this application provides a block chain-based partition transaction method, which includes the following steps:
  • the transaction initiating node broadcasts the transaction to be verified, and the transaction to be verified includes the specified verification method information.
  • the transaction initiation node can be any node on the current trading platform.
  • the node that is the transaction initiator that is, the transaction initiation node
  • the transaction initiating node can broadcast the transaction in the network so that the verification node in the network can verify the transaction and generate blockchain data.
  • the transaction broadcasted from the transaction initiating node has not been verified by the verification node, so it becomes the node to be verified.
  • the transaction to be verified may include the verification method information specified by the transaction. Since in traditional transaction applications, the verification of blockchain transactions requires full network verification, therefore, in the solution provided in this application, the transaction to be verified needs to include this full network verification method; and as a way of rapid verification In this application, the transaction to be verified may also include sub-network verification, that is, verification can be completed through some nodes in the transaction platform. Therefore, in order to complete the corresponding sub-network verification, the application network needs to be divided into multiple sub-networks (or partitioned networks) in this application.
  • sub-network division can be referred to.
  • the sub-network can be divided by region.
  • This division method is mainly for global trading platforms. If the transaction initiating node and the transaction target node are relatively close, or belong to the same region or adjacent regions, when trading , Can be in the broadcast pending transaction Specify the authentication method as the subnet corresponding to the region.
  • the network can also be divided according to the importance of transactions and the hardware conditions of the nodes. Since the more important transactions, the more complex the encryption algorithm and the greater the amount of calculation in the corresponding decryption process. Therefore, in practical applications, nodes with better hardware configuration can be specially partitioned on the same sub-network to quickly complete decryption and verification through hardware configuration.
  • the sub-networks are divided according to industries, that is, the transaction verification process in the same industry is verified by verification nodes in the same sub-network; another example, if the transaction method is a certificate exchange exchange, it can be verified in the same sub-network; the transaction method is Information exchange can be verified in the same subnet.
  • the verification method information is the transaction verification range specified by the transaction initiation node, including full network verification and partition network verification; the transaction initiation node broadcasts the step of the transaction to be verified , It also includes the following steps:
  • the transaction initiation node obtains the transaction type of the transaction to be verified, and the transaction type includes large transactions and small transactions;
  • the transaction initiating node generates designated verification method information according to the transaction type
  • the transaction type is a small-amount transaction, generate designated verification mode information including partition network verification.
  • the transaction types include large transactions involving a global scale, such as transactions between countries, regions and regions, organizations and organizations. However, the requirements for transaction efficiency are not high, and the transaction security The requirements for security and reliability are high. Such transactions can be designated for full network verification to improve the security and reliability of verification.
  • Transaction types also include small transactions involving individuals. For small transactions, the transaction pays more attention to the efficiency of the transaction, and the number of nodes participating in the verification meets a certain number, so the verification method can be specified as a partition network Ways of identifying.
  • the transaction types include but are not limited to the above-mentioned block transactions and small transactions.
  • the actual application situation can be further divided into transaction types, for example, according to the transaction amount: large-value transactions and small-value transactions; according to the real-time nature of transactions: instant transactions, deferred transactions, or other agreed transactions
  • transaction content transfer transactions (exchange transactions), payment transactions, smart contract transactions, option transactions, futures delivery transactions, etc. and according to transaction participants: institutional transactions, organization transactions and individual transactions.
  • the verification range of the transaction can be specified according to different transaction types, that is, to determine whether the transaction is verified on the whole network or on a partitioned network.
  • the transaction process is a transaction that uses different scopes for verification according to different transaction types, it belongs to the protection scope of this application.
  • the method further includes:
  • S115 The transaction initiating node broadcasts the query transaction according to the transaction to be verified
  • S116 The partition network node that receives the query transaction determines whether the partition network to which it belongs supports the transaction to be verified;
  • the transaction initiating node can broadcast the transaction to be verified according to the transaction type, if
  • the transaction type is a small transaction, that is, a transaction that is verified through a sub-network in the subsequent verification, and a sub-network address that can satisfy the transaction can be determined by broadcasting a query transaction.
  • any partition network node that receives the query transaction can respond according to the query transaction to determine whether the partition network where it is located can verify the transaction.
  • the network node determines that the partition network where it is located can satisfy the transaction, it will feed back the identification information corresponding to the partition network to the transaction initiating node.
  • the identification information may be address information corresponding to the network, or a location identification converted into a specific way according to the address information.
  • a stop feedback instruction can be broadcast to other nodes in the same partition network, so that other nodes in the partition network can stop responding to the query transaction after receiving the stop feedback instruction.
  • the node that first receives the query transaction can broadcast the stop feedback instruction.
  • a query node specifically for feeding back the identification information of the partition network in the verification network, that is, after the current network receives the query transaction, the ordinary verification node does not respond to the query transaction, but only the query node
  • the identification information of the current zoned network can be fed back for the query transaction. This is to avoid information redundancy caused by all nodes responding.
  • nodes near the location of the verification network interface can be configured as query nodes, so that the query nodes can receive the query transaction earlier.
  • the maintenance node locates the verification network according to the designated verification method information, and broadcasts the transaction to be verified to the verification network; the verification network is the entire network or a sub-network corresponding to the designated verification method information.
  • the maintenance node is only a general term for the nodes that process the transaction to be verified, that is, the node that locates the verification network according to the specified verification method information is called the maintenance node, and the maintenance node can be in the network platform
  • the pre-designated node may also be the node that first receives the transaction to be processed, or the transaction initiating node itself. Which node is actually suitable for use as a maintenance node can be determined by itself according to the actual network division.
  • the node for locating the verification network according to the specified verification mode information may be one of multiple nodes, or it may be completed by a common network application on multiple nodes.
  • the transaction to be verified can be directed and broadcast to the positioning verification network.
  • the specified verification method information includes full network verification and sub-network verification
  • the broadcast verification network includes the full network and the sub-network specified in the designated verification method information. That is: if the specified verification method is network-wide verification, broadcast to the entire network; if the specified verification method is sub-network verification, the transaction to be verified is broadcast to the specified sub-network.
  • the verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction.
  • the node in the verification network can perform synchronous verification of the transaction to be verified, and form block data after the verification is passed, and perform accounting to complete distributed storage.
  • the specific synchronization verification method can be the same as the existing verification method, but the distributed storage method is different from the existing storage method. That is, in some embodiments of this application, if the verification network is a sub-network, the method further includes : S14: Synchronize the blockchain data to all network nodes.
  • This embodiment can reduce the verification time by synchronizing the blockchain data, and at the same time, the generated blockchain data is stored in the entire network node. Therefore, its anti-repudiation effect is the same as that of traditional blockchain transactions. the same. That is, this embodiment can improve transaction efficiency under the premise of meeting the anti-repudiation effect.
  • the method further includes:
  • the verification nodes in the entire network store the generated blockchain data, and broadcast the blockchain data within the entire network;
  • S16 The participating nodes in the entire network store the blockchain data.
  • the nodes in the entire network can be pre-divided into multiple roles, including verification nodes, maintenance nodes, and participating nodes.
  • the verification node After the transaction that is verified by the whole network generates blockchain data, the verification node must first store the generated blockchain data.
  • the verification node can also broadcast the blockchain data across the entire network, so that all participating nodes in the entire network can receive the blockchain data and store the blockchain data, thereby improving The coverage of distributed storage ensures that blockchain data has a good anti-repudiation effect.
  • this application also provides a partitioned transaction system based on a blockchain, including a blockchain network established by multiple nodes, wherein part of the blockchain network
  • the node is configured as a verification node, and multiple verification nodes form a verification network; the verification network is divided to form multiple sub-networks; some nodes in the blockchain network are configured as maintenance nodes; any one of the blockchain networks Nodes can be used as transaction initiation nodes;
  • the transaction initiation node is configured to: broadcast a transaction to be verified, and the transaction to be verified includes specified verification method information;
  • the maintenance node is configured to: locate a verification network according to designated verification mode information, and broadcast the to-be-verified transaction to the verification network; the verification network is the entire network or a sub-subnet corresponding to the designated verification mode information The internet;
  • the verification node in the verification network is configured to: perform verification and accounting on the transaction to be verified, and generate blockchain data according to the verified transaction.
  • this application provides a block chain-based partition transaction method and system.
  • the method first broadcasts the transaction to be verified by the transaction initiating node, and the transaction to be verified includes the specified verification method information, and then the maintenance
  • the node locates the verification network according to the designated verification method information, and broadcasts the transaction to be verified to the verification network, where the verification network is the entire network or a sub-network corresponding to the designated verification method information.
  • the verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction.
  • the method can perform full network verification and partition network verification respectively, so that when processing a specific type of transaction, the partition network can be quickly verified, and the entire network will synchronize the blockchain after the verification is completed. Data to improve transaction efficiency.
  • FIG. 6 Another block chain-based partition transaction method is also provided, as shown in FIG. 6, including The following steps:
  • the verification method may not be specified in the transaction to be verified broadcasted by the transaction initiating node, but the transaction type of the broadcast to be verified transaction is judged by the maintenance node to determine the verification method according to the transaction type.
  • S22 The maintenance node in the public chain network judges the transaction type according to the transaction to be verified; the transaction type includes large transactions and small transactions.
  • the transaction to be verified must include transaction initiation node information, transaction target node information, and transaction summary, and the maintenance node can extract this information to determine the transaction type of the transaction to be verified.
  • transaction types include block transactions and small transactions.
  • large transactions can be transactions between countries, regions and regions, organizations and organizations (alliances and alliances) that occur on a global scale, while small transactions can be transactions between individuals and individuals in a small area.
  • Whether the actual transaction to be verified is a large transaction or a small transaction can be specified in the transaction to be verified, and it can be indirectly determined through the transaction summary and the initiating node information and the transaction target node information.
  • a public chain network can be pre-defined in the transaction platform, the public chain network can provide basic functions for transactions, and the transaction platform with each function can be used as an access link into the public chain network.
  • the maintainer node can be used as part of the public chain
  • the verification network can also be composed of part of the public chain network, can also be composed of some nodes in the access chain, and can also be composed of the public chain and the nodes of the access chain. .
  • this application uses the maintenance node in the public chain as an example to determine the transaction type.
  • the public chain network may not be defined in advance, and the nodes in the trading platform are directly used as the maintenance nodes, which is essentially
  • the data processing process is basically the same, and all belong to the protection scope of this application.
  • the current network partition strategy table is stored in the maintenance node.
  • the maintenance node in the public chain network judges the transaction type according to the transaction to be verified, including:
  • S223 Broadcast the transaction to be verified to all verification nodes according to the verification node address.
  • a partition strategy table can be built in the maintenance node.
  • the partition strategy table records the partition strategy of all verification networks in the current trading platform. Each partition network can be indicated by identification information. Corresponding to the supported verification functions.
  • By calling the partition strategy table it is possible to match the partition network that can satisfy the transaction to be verified in the partition strategy table, and obtain the addresses of all verification nodes in the partition network, so as to broadcast the verification transaction to the verification nodes according to the obtained node addresses.
  • one-to-many synchronous broadcasting can be adopted in practical applications.
  • the transaction type is a small-value transaction
  • it can meet the conditions for rapid verification through the sub-network, and therefore, the transaction to be verified can be broadcast to the sub-network.
  • the verification node in the sub-network can verify the transaction to be verified to generate blockchain data, namely:
  • the verification node in the partitioned network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified.
  • the maintenance node can determine the verification network situation corresponding to the exchange by extracting the information recorded in the transaction summary, so as to locate the sub-network that matches the transaction to be verified. For example, if the transaction to be verified is a certificate exchange exchange, after extracting the transaction summary information, it can be determined that the transaction needs to be verified by the sub-network responsible for the exchange function of the certificate exchange. Therefore, the transaction to be verified can be broadcast to the sub-network of the exchange function.
  • the molecular network can be further refined according to the actual application environment. For example, for the same exchange transaction, the sub-network that is more in line with the corresponding requirements can be further determined for verification according to the exchange type extracted from the transaction summary.
  • the block chain data After the block chain data is generated in the partition network, in order to increase the scope of distributed storage, the block chain data can be synchronized across the entire network to improve the anti-repudiation effect of the block chain data.
  • the method further includes the following steps:
  • S26 The maintenance node in the public chain network broadcasts the transaction to be verified to the entire network
  • S27 The verification node in the entire network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified.
  • this application provides a partitioned transaction system based on blockchain, as shown in FIG. 8, including a public chain composed of multiple nodes, and an access chain connecting the public chain; Some nodes in the chain are configured as maintenance nodes, and some nodes in the public chain are configured as verification nodes; multiple verification nodes form a verification network, and the verification network is divided to form multiple partition networks; the public chain and access Any node in the chain can be used as a transaction initiation node; the transaction initiation node is configured to: broadcast the transaction to be verified;
  • the maintenance node in the public chain network is configured to: determine the transaction type according to the transaction to be verified; the transaction type includes a block transaction and a small transaction; if the transaction type is a small transaction, report to the pending transaction
  • the district network corresponding to the verification transaction broadcasts the transaction to be verified;
  • the verification node in the partitioned network is configured to: perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; and synchronize the blockchain data to all network nodes.
  • this application provides a block chain-based partition transaction method and system.
  • the method first broadcasts the transaction to be verified by the transaction initiating node; and then the maintenance node in the public chain network according to the transaction to be verified , Determine the transaction type; the transaction types include large transactions and small transactions; if the transaction type is a small transaction, broadcast the transaction to be verified to the partition network corresponding to the transaction to be verified;
  • the verification node performs verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; finally, the partition network synchronizes the blockchain data to the entire network node.
  • the method can perform two modes of full network verification and partition network verification respectively, so that when a specific type of transaction is processed, the partition network can be quickly verified, and the entire network will synchronize the blockchain after the verification is completed. Data to improve transaction efficiency.

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

Provided are a blockchain-based subnet transaction method and system. Said blockchain comprises: first, a transaction initiation node broadcasts a transaction to be verified, said transaction to be verified including designated verification mode information; a maintenance node locates a verification network according to the designated verification mode information, and broadcasts to the verification network the transaction to be verified, the verification network being the whole network or a sub network corresponding to the designated verification mode information; last, a verification node in the verification network verifies and records the transaction to be verified, and generates blockchain data according to the transaction that has been verified. The method implements two modes, whole network verification or subnet verification, respectively according to different transaction types, such that when processing a certain type of transactions, the method can perform verifications quickly by means of subnet verification and synchronizes whole network blockchain data after verification, thereby improving transaction efficiency.

Description

基于区块链的分区交易方法及系统 本申请要求在 2019年 2月 26日提交中国专利局、 申请号为 201910141898. 7、 发明名 称为“基于区块链的高并发快速交易及验证方法”, 以及在 2019年 8月 8日提交中国专利 局、 申请号为 201910730535. 7、 发明名称为“基于区块链的分区交易方法及系统”的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 Blockchain-based partition transaction method and system. This application requires that it 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 the priority of a Chinese patent application filed with the Chinese Patent Office on August 8, 2019, with application number 201910730535. 7. The title of the invention is "Blockchain-based partition transaction method and system", the entire content of which is incorporated by reference in In this application.
技术领域 Technical field
本申请涉及区块链交易技术领域, 尤其涉及一种基于区块链的分区交易方法及系统。 背景技术 This application relates to the field of blockchain transaction technology, and in particular to a partition transaction method and system based on blockchain. Background technique
区块链技术的主要任务, 是按照去中心化的系统要求, 基于公众共识的方式, 创建一 个相对客观的抗抵赖数字环境。 基于区块链技术, 可以保证网络信息的真实性, 例如, 区 块链网络中发生一笔交易, 网络中的节点会根据交易信息生成记载交易内容的区块数据, 并将区块数据进行全网广播, 网络中的其他节点同时存储区块数据, 形成不可更改的区块 链数据。 The main task of blockchain technology is to create a relatively objective non-repudiation digital environment in accordance with the requirements of the decentralized system and based on public consensus. Based on blockchain technology, the authenticity of network information can be guaranteed. For example, if a transaction occurs in the blockchain network, the nodes in the network will generate block data recording the transaction content based on the transaction information, and complete the block data. In network broadcasting, other nodes in the network store block data at the same time, forming unalterable block chain data.
为实施区块链技术而搭建的交易平台可以是局域性的, 也可以是全球性的。 如果是一 个全球性的交易平台, 会因网络传输、 带宽限制以及节点硬件计算能力等原因, 使得相关 交易的同步验证发生延迟。即,一个交易发生后,要经过交易平台中的所有节点进行同步、 验证和记账, 以在全网形成不可更改的区块链数据。 而有效的区块链数据, 要在所有节点 或者指定数量的节点完成同步、 验证后, 才能被存储。 并且, 只有在相应的区块链数据被 存储后, 交易才正式完成, 因此, 基于区块链技术的交易过程效率很低。 The trading platform built for the implementation of blockchain technology can be local or global. If it is a global trading platform, the synchronization verification of related transactions will be delayed due to network transmission, bandwidth limitations, and node hardware computing capabilities. That is, after a transaction occurs, it needs to be synchronized, verified and accounted by all nodes in the transaction platform to form unalterable blockchain data in the entire network. The valid blockchain data can only be stored after all nodes or a specified number of nodes have completed synchronization and verification. Moreover, the transaction is officially completed only after the corresponding blockchain data is stored. Therefore, the efficiency of the transaction process based on the blockchain technology is very low.
为了提高验证交易的效率, 可以指定交易平台中的部分节点作为验证节点, 用于交易 的同步验证。 例如, 交易平台可以指定 21 个节点作为全网交易的验证节点, 当网络中发 生交易时, 待验证的交易会被广播给这 21个节点, 并通过这 21个节点同时对待验证交易 进行同步验证, 以提高交易验证的效率。 In order to improve the efficiency of verifying transactions, some nodes in the trading platform can be designated as verification nodes for synchronous verification of transactions. For example, the trading platform can designate 21 nodes as verification nodes for transactions on the entire network. When a transaction occurs in the network, the transaction to be verified will be broadcast to these 21 nodes, and the transactions to be verified will be simultaneously verified through these 21 nodes. To improve the efficiency of transaction verification.
但是, 如果交易平台在短时间内并发大量交易, 验证节点需要按交易的发起时间顺序 对交易逐一同步验证。 如果一个交易的同步验证时间较长, 导致发起时间靠后的交易需要 等待在先发起的所有交易都处理完毕后, 才能进入同步验证进程, 等待时间较长。 即上述 验证方式在处理大规模、 高并发交易时的效率仍然较低。 However, if the trading platform concurrently sends a large number of transactions in a short period of time, the verification node needs to synchronously verify the transactions one by one in the order of initiation of the transaction. If the synchronization verification time of a transaction is long, the transaction with a later initiation time needs to wait for all transactions initiated earlier to be processed before entering the synchronization verification process, and the waiting time is longer. That is to say, the efficiency of the above verification method in processing large-scale and high concurrent transactions is still low.
发明内容 Summary of the invention
本申请提供了一种基于区块链的分区交易方法及系统, 以解决区块链交易效率低的问 题。 This application provides a block chain-based partition transaction method and system to solve the problem of low block chain transaction efficiency.
第一方面, 本申请提供一种基于区块链的分区交易方法, 包括: In the first aspect, this application provides a block chain-based partition transaction method, including:
交易发起节点广播待验证交易, 所述待验证交易包括指定的验证方式信息; 维护节点根据指定的验证方式信息, 定位验证网络, 以及向所述验证网络广播所述待 验证交易; 所述验证网络为全网络或与所述指定验证方式信息对应的子网络; 验证网络中的验证节点对所述待验证交易实施验证和记账, 以及, 根据验证通过的交 易生成区块链数据。 The transaction initiating node broadcasts the transaction to be verified, and the transaction to be verified includes specified verification method information; the maintenance node locates the verification network according to the specified verification method information, and broadcasts the transaction to be verified to the verification network; the verification network Be the entire network or a sub-network corresponding to the specified verification method information; The verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction.
可选的, 所述验证方式信息为交易发起节点指定的交易验证范围, 包括全网络验证和 分区网络验证; 所述交易发起节点广播待验证交易的步骤, 还包括: Optionally, the verification method information is a transaction verification range specified by the transaction initiation node, including full network verification and partitioned network verification; the step of broadcasting the transaction to be verified by the transaction initiation node further includes:
交易发起节点获取待验证交易的交易类型, 所述交易类型包括大宗交易和小额交易; 交易发起节点根据所述交易类型生成指定验证方式信息; The transaction initiation node obtains the transaction type of the transaction to be verified, where the transaction type includes block transactions and small transactions; the transaction initiation node generates designated verification method information according to the transaction type;
如果所述交易类型为大宗交易, 生成包含全网络验证的指定验证方式信息; 如果所述交易类型为小额交易, 生成包含分区网络验证的指定验证方式信息。 If the transaction type is a block transaction, generate designated verification method information including full network verification; if the transaction type is a small transaction, generate designated verification method information including partition network verification.
可选的, 如果所述交易类型为小额交易, 所述方法还包括: Optionally, if the transaction type is a small transaction, the method further includes:
交易发起节点根据待验证交易广播查询交易; The transaction initiating node broadcasts the query transaction according to the transaction to be verified;
接收到所述查询交易的分区网络节点, 判断所属分区网络是否支持所述待验证交易; 如果所述分区网络支持所述待验证交易, 向所述交易发起节点反馈所述分区网络标识 信息; The partition network node that receives the query transaction determines whether the partition network to which it belongs supports the transaction to be verified; if the partition network supports the transaction to be verified, feeds back the partition network identification information to the transaction initiating node;
交易发起节点将所述标识信息, 添加至所述指定验证方式信息内。 The transaction initiating node adds the identification information to the designated verification method information.
可选的, 如果所述验证网络为子网络, 所述方法还包括: 向全网络节点同步所述区块 链数据。 Optionally, if the verification network is a sub-network, the method further includes: synchronizing the blockchain data to all network nodes.
可选的, 如果所述验证网络为全网络, 所述方法还包括: Optionally, if the verification network is a full network, the method further includes:
全网络中的验证节点存储所生成的区块链数据, 以及在全网络范围内广播所述区块链 数据; The verification nodes in the entire network store the generated blockchain data, and broadcast the blockchain data within the entire network;
全网络中的参与节点存储所述区块链数据。 The participating nodes in the entire network store the blockchain data.
第二方面, 本申请还提供一种基于区块链的分区交易方法, 包括: In the second aspect, this application also provides a block chain-based partition transaction method, including:
交易发起节点广播待验证交易; The transaction initiation node broadcasts the transaction to be verified;
公链网络中的维护节点根据所述待验证交易, 判断交易类型; 所述交易类型包括大宗 交易和小额交易; The maintenance node in the public chain network judges the transaction type based on the transaction to be verified; the transaction type includes large transactions and small transactions;
如果所述交易类型为小额交易, 向所述待验证交易对应的分区网络广播所述待验证交 易; If the transaction type is a small transaction, broadcast the transaction to be verified to the partition network corresponding to the transaction to be verified;
分区网络中的验证节点对所述待验证交易实施验证和记账, 以根据所述待验证交易生 成区块链数据; The verification node in the partition network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified;
所述分区网络向全网络节点同步所述区块链数据。 The partitioned network synchronizes the blockchain data to all network nodes.
可选的, 如果所述交易类型为大宗交易, 所述方法还包括: Optionally, if the transaction type is a block transaction, the method further includes:
公链网络中的维护节点向全网络广播所述待验证交易; The maintenance node in the public chain network broadcasts the transaction to be verified to the entire network;
全网络中的验证节点对所述待验证交易实施验证和记账, 以根据所述待验证交易生成 区块链数据。 The verification nodes in the entire network perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified.
可选的, 所述维护节点中存储有当前网络分区策略表, 公链网络中的维护节点根据所 述待验证交易, 判断交易类型的步骤, 包括: Optionally, the current network partition strategy table is stored in the maintenance node, and the maintenance node in the public chain network judges the transaction type according to the transaction to be verified, including:
维护节点调用所述分区策略表; The maintenance node calls the partition strategy table;
在所述分区策略表中匹配能够满足所述待验证交易的分区网络, 提取匹配的分区网络 中的全部验证节点地址; Matching the partition network that can satisfy the transaction to be verified in the partition strategy table, and extracting all verification node addresses in the matching partition network;
根据所述验证节点地址, 向全部所述验证节点广播所述待验证交易。 第三方面, 本申请还提供一种基于区块链的分区交易系统, 包括由多个节点建立的区 块链网络,所述区块链网络中的部分节点被配置为验证节点,多个验证节点组成验证网络; 验证网络被划分形成多个子网络; 所述区块链网络中的部分节点被配置为维护节点; 所述 区块链网络中的任一节点可作为交易发起节点; Broadcast the transaction to be verified to all the verification nodes according to the verification node address. In a third aspect, this application also provides a block chain-based partition transaction system, including a block chain network established by multiple nodes, some of the nodes in the block chain network are configured as verification nodes, and multiple verification nodes The nodes form a verification network; the verification network is divided to form multiple sub-networks; some nodes in the blockchain network are configured as maintenance nodes; any node in the blockchain network can be used as a transaction initiation node;
所述交易发起节点被配置为: 广播待验证交易, 所述待验证交易包括指定的验证方式 信息; The transaction initiation node is configured to: broadcast a transaction to be verified, and the transaction to be verified includes specified verification method information;
所述维护节点被配置为: 根据指定的验证方式信息, 定位验证网络, 以及向所述验证 网络广播所述待验证交易; 所述验证网络为全网络或与所述指定验证方式信息对应的子网 络; The maintenance node is configured to: locate a verification network according to designated verification mode information, and broadcast the to-be-verified transaction to the verification network; the verification network is the entire network or a sub-subnet corresponding to the designated verification mode information The internet;
所述验证网络中的验证节点被配置为: 对所述待验证交易实施验证和记账, 以及, 根 据验证通过的交易生成区块链数据。 The verification node in the verification network is configured to: perform verification and accounting on the transaction to be verified, and generate blockchain data according to the verified transaction.
第四方面,本申请提供一种基于区块链的分区交易系统,包括由多个节点组成的公链, 以及连接所述公链的接入链; 所述公链中的部分节点被配置为维护节点, 所述公链中的部 分节点被配置为验证节点; 多个验证节点组成验证网络, 验证网络被划分形成多个分区网 络; 所述公链和接入链中的任一节点可作为交易发起节点; In a fourth aspect, the present application provides a block chain-based partitioned transaction system, including a public chain composed of multiple nodes, and an access chain connecting the public chain; some nodes in the public chain are configured as Maintenance node, some nodes in the public chain are configured as verification nodes; multiple verification nodes form a verification network, and the verification network is divided to form multiple partition networks; any node in the public chain and access chain can be used as Transaction initiation node;
所述交易发起节点被配置为: 广播待验证交易; The transaction initiation node is configured to: broadcast the transaction to be verified;
所述公链网络中的维护节点被配置为: 根据所述待验证交易, 判断交易类型; 所述交 易类型包括大宗交易和小额交易; 如果所述交易类型为小额交易, 向所述待验证交易对应 的分区网络广播所述待验证交易; The maintenance node in the public chain network is configured to: determine the transaction type according to the transaction to be verified; the transaction type includes a block transaction and a small transaction; if the transaction type is a small transaction, report to the pending transaction The district network corresponding to the verification transaction broadcasts the transaction to be verified;
所述分区网络中的验证节点被配置为: 对所述待验证交易实施验证和记账, 以根据所 述待验证交易生成区块链数据; 以及向全网络节点同步所述区块链数据。 The verification node in the partitioned network is configured to: perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; and synchronize the blockchain data to all network nodes.
由以上技术方案可知, 本申请提供一种基于区块链的分区交易方法及系统, 所述方法 先由交易发起节点广播待验证交易, 所述待验证交易包括指定的验证方式信息, 再由维护 节点根据指定的验证方式信息, 定位验证网络, 并向所述验证网络广播所述待验证交易, 其中, 所述验证网络为全网络或与所述指定验证方式信息对应的子网络。 最后, 验证网络 中的验证节点对所述待验证交易实施验证和记账, 以及, 根据验证通过的交易生成区块链 数据。所述方法可以根据不同的交易类型,分别进行全网络验证和分区网络验证两种方式, 从而在处理特定类型交易时, 可以通过分区网络进行快速验证, 并在验证完成后全网络同 步区块链数据, 提高交易效率。 It can be seen from the above technical solutions that this application provides a block chain-based partition transaction method and system. The method first broadcasts the transaction to be verified by the transaction initiating node, and the transaction to be verified includes the specified verification method information, and then the maintenance The node locates the verification network according to the designated verification method information, and broadcasts the transaction to be verified to the verification network, where the verification network is the entire network or a sub-network corresponding to the designated verification method information. Finally, the verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction. According to different transaction types, the method can perform full network verification and partition network verification respectively, so that when processing a specific type of transaction, the partition network can be quickly verified, and the entire network will synchronize the blockchain after the verification is completed. Data to improve transaction efficiency.
附图说明 Description of the drawings
为了更清楚地说明本申请的技术方案, 下面将对实施例中所需要使用的附图作简单地 介绍, 显而易见地, 对于本领域普通技术人员而言, 在不付出创造性劳动的前提下, 还可 以根据这些附图获得其他的附图。 In order to explain the technical solution of the present application more clearly, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, for those of ordinary skill in the art, without creative work, Other drawings can be obtained from these drawings.
图 1为本申请一种基于区块链的分区交易方法流程示意图; Figure 1 is a schematic diagram of the application process of a block chain-based partition transaction method;
图 2为本申请指定交易验证范围的流程示意图; Figure 2 is a schematic diagram of the application process for specifying the scope of transaction verification;
图 3为本申请交易发起节点获取分区网络标识信息的流程示意图; Figure 3 is a schematic diagram of the process of obtaining the identification information of the partition network by the application transaction initiating node;
图 4为本申请全网络验证存储区块链数据的流程示意图; Figure 4 is a schematic diagram of the application process for the entire network to verify and store blockchain data;
图 5为本申请一种基于区块链的分区交易系统的结构示意图; Figure 5 is a schematic diagram of the structure of a partitioned transaction system based on blockchain in this application;
图 6为本申请另一种基于区块链的分区交易方法流程示意图; 图 7为本申请判断交易类型的流程示意图; Figure 6 is a schematic flow diagram of another partition transaction method based on blockchain in this application; Figure 7 is a schematic diagram of the application process for determining the transaction type;
图 8为本申请另一种基于区块链的分区交易系统的结构示意图。 Figure 8 is a schematic diagram of the structure of another partitioned transaction system based on blockchain in this application.
具体实施方式 detailed description
下面将详细地对实施例进行说明, 其示例表示在附图中。 下面的描述涉及附图时, 除 非另有表示, 不同附图中的相同数字表示相同或相似的要素。 以下实施例中描述的实施方 式并不代表与本申请相一致的所有实施方式。 仅是与权利要求书中所详述的、 本申请的一 些方面相一致的系统和方法的示例。 The embodiments will be described in detail below, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following examples do not represent all implementation manners consistent with this application. It is only an example of a system and method consistent with some aspects of the present application as detailed in the claims.
在本申请提供的技术方案中, 区块链网络是指具有去中心化应用架构的点对点 (P2P) 网络, 所述区块链网络能够进行分布式存储、 公共共识、 数字加密、 交易记账以及验证。 即涵盖了分布式技术、密码学、 P2P网络架构以及各种可能被应用的共识算法的交易平台。 区块链或区块链数据是指在区块链网络中发生交易时, 根据交易信息生成的记账信息, 即 多笔具体的交易组成一个区块, 多个区块形成一条有序区块链。 In the technical solution provided by this application, 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. That is, a trading platform that covers distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied. Blockchain or blockchain data refers to the accounting information generated according to transaction information when transactions occur in the blockchain network, that is, multiple specific transactions form a block, and multiple blocks form an ordered block chain.
区块链网络中, 包括相互建立点对点网络连接的节点, 每一个节点都配置有相应的共 识机制, 如智能合约, 并且具有足够的运算能力, 以进行交易验证和记账程序。 节点上还 具有符合某种统一标准的接口规范, 以实现通过接口规范接入更多的节点或者其他类型的 区块链网络。 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 node also has an interface specification that meets a certain unified standard to realize access to more nodes or other types of blockchain networks through the interface specification.
本申请中, 所述交易具有广义性, 不是指传统意义上的“商品买卖”、 “物品交换”, 而是指区块链网络上的某种数据操作内容或操作结果, 例如, 在网络上某个区块链节点 A 发起一个某型号通信设备性能的查询请求 a, 所述查询请求 a对于承担查询服务的区块链 节点 B来说就是一笔交易。 同理。 节点 B将查询得到的该型号通信设备的性能表 b发送给 节点 A也是一笔交易。 信息 A、 a和信息 B、 b作为交易信息会被写入区块链的数据块中。 In this application, the transaction is in a broad sense and does not refer to "commodity trading" or "item exchange" in the traditional sense, but refers to a certain data operation content or operation result on the blockchain network, for example, on the network A certain blockchain node A initiates a query request a for the performance of a certain type of communication device, and the query request a is a transaction for the blockchain node B that undertakes the query service. The same is true. It is also a transaction that node B sends the performance table b of this type of communication device obtained by the query to node A. Information A, a and information B, b will be written into the data block of the blockchain as transaction information.
参见图 1, 为本申请一种基于区块链的分区交易方法流程示意图。 由图 1可知, 本申 请第一方面提供一种基于区块链的分区交易方法, 包括以下步骤: Refer to Figure 1, which is a schematic flow diagram of a partitioned transaction method based on blockchain in this application. As shown in Figure 1, the first aspect of this application provides a block chain-based partition transaction method, which includes the following steps:
S11: 交易发起节点广播待验证交易, 所述待验证交易包括指定的验证方式信息。 实际应用中, 交易发起节点可以是当前交易平台上的任何节点, 在发生交易时, 作为 交易发起方的节点, 即交易发起节点, 可以根据交易需求触发生成一个交易, 这个交易中 包含了交易发起节点的信息, 交易目标节点的信息以及交易的具体内容等。 交易生成后, 交易发起节点可以在网络中将交易进行广播, 以使网络中的验证节点可以对该交易进行验 证后, 生成区块链数据。 本申请中, 从交易发起节点广播出去的交易由于还未被验证节点 所验证, 因此成为待验证节点。 S11: The transaction initiating node broadcasts the transaction to be verified, and the transaction to be verified includes the specified verification method information. In practical applications, the transaction initiation node can be any node on the current trading platform. When a transaction occurs, the node that is the transaction initiator, that is, the transaction initiation node, can trigger the generation of a transaction according to the transaction demand, and this transaction includes the transaction initiation The information of the node, the information of the target node of the transaction and the specific content of the transaction, etc. After the transaction is generated, the transaction initiating node can broadcast the transaction in the network so that the verification node in the network can verify the transaction and generate blockchain data. In this application, the transaction broadcasted from the transaction initiating node has not been verified by the verification node, so it becomes the node to be verified.
为了快速完成交易的验证, 本申请提供的技术方案中, 在待验证交易中可以包含该交 易指定的验证方式信息。由于在传统交易应用中, 区块链交易的验证需要进行全网络验证, 因此, 在本申请提供的方案中, 待验证交易需要包含这种全网络验证的方式; 而作为快速 验证的一种方式, 在本申请中, 待验证交易内还可以包含子网络验证, 即通过交易平台中 的部分节点完成验证即可。 因此, 为了完成相应的子网络验证, 本申请中需要对应用的网 络进行划分, 形成多个子网络 (或分区网络)。 In order to quickly complete the verification of the transaction, in the technical solution provided in this application, the transaction to be verified may include the verification method information specified by the transaction. Since in traditional transaction applications, the verification of blockchain transactions requires full network verification, therefore, in the solution provided in this application, the transaction to be verified needs to include this full network verification method; and as a way of rapid verification In this application, the transaction to be verified may also include sub-network verification, that is, verification can be completed through some nodes in the transaction platform. Therefore, in order to complete the corresponding sub-network verification, the application network needs to be divided into multiple sub-networks (or partitioned networks) in this application.
本申请中, 子网络的划分方式可以参考多种形式。 例如, 子网络可以按照地域进行划 分, 这种划分方式主要针对全球性的交易平台, 如果交易发起节点和交易目标节点相距距 离较近, 或者同属于一个地区或相邻的地区, 在进行交易时, 可以在广播的待验证交易中 指定验证方式为所在地区对应的子网络。 In this application, multiple forms of sub-network division can be referred to. For example, the sub-network can be divided by region. This division method is mainly for global trading platforms. If the transaction initiating node and the transaction target node are relatively close, or belong to the same region or adjacent regions, when trading , Can be in the broadcast pending transaction Specify the authentication method as the subnet corresponding to the region.
还可以根据交易的重要程度和节点的硬件情况对网络进行划分, 由于越是重要的交易, 其加密算法越复杂, 相应解密过程的计算量也越大。 因此, 在实际应用中, 可以将硬件配 置较好的节点专门分区在同一个子网络, 以通过硬件配置快速完成解密和验证。 The network can also be divided according to the importance of transactions and the hardware conditions of the nodes. Since the more important transactions, the more complex the encryption algorithm and the greater the amount of calculation in the corresponding decryption process. Therefore, in practical applications, nodes with better hardware configuration can be specially partitioned on the same sub-network to quickly complete decryption and verification through hardware configuration.
还可以根据交易的类型进行划分, 交易的类型可以包括行业、 交易方式等。 例如, 按 照行业进行子网络的划分, 即同一行业内的交易验证过程被同一个子网络内的验证节点进 行验证; 又例如, 交易方式为证通兑换的可以在同一子网络进行验证; 交易方式为信息交 换的可以在同一个子网络进行验证。 It can also be divided according to the type of transaction, which can include industry, transaction method, etc. For example, the sub-networks are divided according to industries, that is, the transaction verification process in the same industry is verified by verification nodes in the same sub-network; another example, if the transaction method is a certificate exchange exchange, it can be verified in the same sub-network; the transaction method is Information exchange can be verified in the same subnet.
在本申请的部分实施例中, 如图 2所示, 所述验证方式信息为交易发起节点指定的交 易验证范围,包括全网络验证和分区网络验证;所述交易发起节点广播待验证交易的步骤, 还包括以下步骤: In some embodiments of the present application, as shown in FIG. 2, the verification method information is the transaction verification range specified by the transaction initiation node, including full network verification and partition network verification; the transaction initiation node broadcasts the step of the transaction to be verified , It also includes the following steps:
Si l l: 交易发起节点获取待验证交易的交易类型, 所述交易类型包括大宗交易和小额 交易; Sill: The transaction initiation node obtains the transaction type of the transaction to be verified, and the transaction type includes large transactions and small transactions;
S112: 交易发起节点根据所述交易类型生成指定验证方式信息; S112: The transaction initiating node generates designated verification method information according to the transaction type;
S113: 如果所述交易类型为大宗交易, 生成包含全网络验证的指定验证方式信息; S113: If the transaction type is a block transaction, generate designated verification method information including full network verification;
S114: 如果所述交易类型为小额交易, 生成包含分区网络验证的指定验证方式信息。 本实施例中, 交易类型包括涉及到全球范围的大宗交易, 如国与国、 地区与地区、 组 织与组织之间的交易, 则其对交易效率的要求并不高, 而对于交易的安全性和可靠性的要 求较高, 这样的交易可以指定进行全网络验证, 以提高验证的安全性和可靠性。 交易类型 还包括涉及到个人与个人之间的小额交易, 而对于小额交易, 其交易更注重交易的效率, 而参与验证的节点数量满足一定数量即可, 因此可以指定验证方式为分区网络验证方式。 S114: If the transaction type is a small-amount transaction, generate designated verification mode information including partition network verification. In this embodiment, the transaction types include large transactions involving a global scale, such as transactions between countries, regions and regions, organizations and organizations. However, the requirements for transaction efficiency are not high, and the transaction security The requirements for security and reliability are high. Such transactions can be designated for full network verification to improve the security and reliability of verification. Transaction types also include small transactions involving individuals. For small transactions, the transaction pays more attention to the efficiency of the transaction, and the number of nodes participating in the verification meets a certain number, so the verification method can be specified as a partition network Ways of identifying.
需要说明的是, 在本申请提供的技术方案中, 所述交易类型包括但不限于上述大宗交 易和小额交易。 实际应用中, 还可以实际应用情况, 进一步划分交易类型, 例如, 按照交 易额度划分的: 大额交易和小额交易; 按照交易实时性划分的: 即时交易, 延期交易, 或 其他约定方式的交易等; 按照交易内容划分的: 转账交易 (兑换交易), 支付交易, 智能 合约交易, 期权交易, 期货交割交易等以及按照交易参与方进行划分的: 机构交易, 组织 交易以及个人交易。 It should be noted that in the technical solution provided by this application, the transaction types include but are not limited to the above-mentioned block transactions and small transactions. In actual application, the actual application situation can be further divided into transaction types, for example, according to the transaction amount: large-value transactions and small-value transactions; according to the real-time nature of transactions: instant transactions, deferred transactions, or other agreed transactions According to the transaction content: transfer transactions (exchange transactions), payment transactions, smart contract transactions, option transactions, futures delivery transactions, etc. and according to transaction participants: institutional transactions, organization transactions and individual transactions.
实际应用中, 可以根据不同的交易类型指定交易的验证范围, 即确定交易是全网验证 还是分区网络验证。只要交易过程中,是根据不同交易类型采用不同范围进行验证的交易, 都属于本申请的保护范围。 In practical applications, the verification range of the transaction can be specified according to different transaction types, that is, to determine whether the transaction is verified on the whole network or on a partitioned network. As long as the transaction process is a transaction that uses different scopes for verification according to different transaction types, it belongs to the protection scope of this application.
进一步地, 为了后续定位进行同步验证的子网络, 在本申请的部分实施例中, 如图 3 所示, 如果所述交易类型为小额交易, 所述方法还包括: Further, in order to subsequently locate the sub-network for synchronization verification, in some embodiments of the present application, as shown in FIG. 3, if the transaction type is a small transaction, the method further includes:
S115: 交易发起节点根据待验证交易广播查询交易; S115: The transaction initiating node broadcasts the query transaction according to the transaction to be verified;
S116: 接收到所述查询交易的分区网络节点, 判断所属分区网络是否支持所述待验证 交易; S116: The partition network node that receives the query transaction determines whether the partition network to which it belongs supports the transaction to be verified;
S117: 如果所述分区网络支持所述待验证交易, 向所述交易发起节点反馈所述分区网 络标识信息; S117: If the partition network supports the transaction to be verified, feed back the partition network identification information to the transaction initiating node;
S118: 交易发起节点将所述标识信息, 添加至所述指定验证方式信息内。 S118: The transaction initiating node adds the identification information to the specified verification method information.
由以上步骤可知, 交易发起节点可以在广播待验证交易前, 根据获悉交易类型, 如果 其交易类型为小额交易, 即在后续验证中通过子网络进行验证的交易, 可以通过广播一个 查询交易来确定能够满足该交易的子网络地址。 当查询交易被广播后, 接收到该查询交易 的任意一个分区网络节点可以根据该查询交易进行响应, 确定其所在的分区网络是否能够 对该交易进行验证。 It can be seen from the above steps that the transaction initiating node can broadcast the transaction to be verified according to the transaction type, if The transaction type is a small transaction, that is, a transaction that is verified through a sub-network in the subsequent verification, and a sub-network address that can satisfy the transaction can be determined by broadcasting a query transaction. After the query transaction is broadcast, any partition network node that receives the query transaction can respond according to the query transaction to determine whether the partition network where it is located can verify the transaction.
网络节点如果确定所在的分区网络能够满足该交易, 则向交易发起节点反馈分区网络 对应的标识信息。 所述标识信息, 可以是网络对应的地址信息, 或者根据地址信息按照特 定方式转化成的定位标识等。 If the network node determines that the partition network where it is located can satisfy the transaction, it will feed back the identification information corresponding to the partition network to the transaction initiating node. The identification information may be address information corresponding to the network, or a location identification converted into a specific way according to the address information.
本实施例中, 由于验证网络中的节点数量较多, 当查询交易被广播后, 可能有多个节 点都接收到了该交易, 为了防止重复进行信息处理, 提高效率, 在本申请中, 一个节点在 接收到查询交易后, 可以向同一个分区网络中的其他节点广播一个停止反馈指令, 使该分 区网络中的其他节点在接收到该停止反馈指令后, 可以停止对该查询交易作出反应。 为了 进一步提高处理效率, 可以让最先接收到查询交易的节点广播停止反馈指令。 In this embodiment, due to the large number of nodes in the verification network, after the query transaction is broadcast, multiple nodes may have received the transaction. In order to prevent repeated information processing and improve efficiency, in this application, one node After receiving the query transaction, a stop feedback instruction can be broadcast to other nodes in the same partition network, so that other nodes in the partition network can stop responding to the query transaction after receiving the stop feedback instruction. In order to further improve the processing efficiency, the node that first receives the query transaction can broadcast the stop feedback instruction.
另外, 也可以在验证网络中定义一个专门用于反馈所述分区网络标识信息的查询节点, 即在当前网络接收到查询交易后, 普通的验证节点不对该查询交易作出反应, 而只有查询 节点才可以针对该查询交易反馈当前分区网络的标识信息。 以此来避免所有节点都作出反 应而造成的信息冗余。 为了提高信息反馈的效率, 可以将靠近验证网络接口位置处的节点 配置为查询节点, 以使查询节点能够较早的接收到该查询交易。 需要说明的是, 为了防止 查询节点遭到非法侵害, 以及数据处理量过多造成网络拥堵, 实际应用中, 哪个节点作为 查询节点可以是随机的, 也可以在多个节点中周期性变化。 从而避免黑客定向攻击查询节 点, 使节点遭到非法侵害, 并且能够均衡节点的运算能力。 In addition, it is also possible to define a query node specifically for feeding back the identification information of the partition network in the verification network, that is, after the current network receives the query transaction, the ordinary verification node does not respond to the query transaction, but only the query node The identification information of the current zoned network can be fed back for the query transaction. This is to avoid information redundancy caused by all nodes responding. In order to improve the efficiency of information feedback, nodes near the location of the verification network interface can be configured as query nodes, so that the query nodes can receive the query transaction earlier. It should be noted that, in order to prevent the query node from being illegally infringed and network congestion caused by excessive data processing, in practical applications, which node serves as the query node may be random or may change periodically among multiple nodes. In this way, it is possible to prevent hackers from directional attack and query nodes, causing nodes to be illegally infringed, and to balance the computing power of nodes.
S12: 维护节点根据指定的验证方式信息, 定位验证网络, 以及向所述验证网络广播 所述待验证交易; 所述验证网络为全网络或与所述指定验证方式信息对应的子网络。 S12: The maintenance node locates the verification network according to the designated verification method information, and broadcasts the transaction to be verified to the verification network; the verification network is the entire network or a sub-network corresponding to the designated verification method information.
本申请提供的技术方案中, 所述维护节点仅仅是对处理所述待验证交易的节点的统称, 即根据指定的验证方式信息定位验证网络的节点被称为维护节点, 维护节点可以网络平台 中被预先指定的节点, 也可以是最先接收到待处理交易的节点, 还可以是交易发起节点本 身, 实际适应哪种节点作为维护节点可以根据实际网络划分情况自行确定。 In the technical solution provided in this application, the maintenance node is only a general term for the nodes that process the transaction to be verified, that is, the node that locates the verification network according to the specified verification method information is called the maintenance node, and the maintenance node can be in the network platform The pre-designated node may also be the node that first receives the transaction to be processed, or the transaction initiating node itself. Which node is actually suitable for use as a maintenance node can be determined by itself according to the actual network division.
实际应用中, 作为维护节点的节点可以有多个, 而根据指定验证方式信息定位验证网 络的节点可以为多个节点中的一个, 也可以由多个节点上共同的网络应用来完成。 在定位 验证网络之后, 可以将待验证交易向定位的验证网络定向进行广播。 由于在本申请中, 指 定的验证方式信息中包括全网络验证和子网络验证, 因此, 在这一步骤中, 广播的验证网 络包括全网络和指定验证方式信息中指定的子网络。 即: 如果指定的验证方式为全网络验 证, 则向全网络进行广播; 如果指定的验证方式为子网络验证, 则向指定的子网络广播待 验证交易。 In practical applications, there may be multiple nodes as maintenance nodes, and the node for locating the verification network according to the specified verification mode information may be one of multiple nodes, or it may be completed by a common network application on multiple nodes. After locating the verification network, the transaction to be verified can be directed and broadcast to the positioning verification network. Since in this application, the specified verification method information includes full network verification and sub-network verification, in this step, the broadcast verification network includes the full network and the sub-network specified in the designated verification method information. That is: if the specified verification method is network-wide verification, broadcast to the entire network; if the specified verification method is sub-network verification, the transaction to be verified is broadcast to the specified sub-network.
S13: 验证网络中的验证节点对所述待验证交易实施验证和记账, 以及, 根据验证通 过的交易生成区块链数据。 S13: The verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction.
本申请中, 待验证交易通过维护节点转发广播后, 可以通过验证网络中的节点对待验 证交易进行同步验证, 并在验证通过后形成区块数据, 并进行记账, 完成分布式存储。 具 体的同步验证方式可以与现有的验证方式相同, 但分布存储方式与现有存储方式存在差异, 即在本申请的部分实施例中, 如果所述验证网络为子网络, 所述方法还包括: S14: 向全网络节点同步所述区块链数据。 In this application, after the transaction to be verified is forwarded and broadcasted by the maintenance node, the node in the verification network can perform synchronous verification of the transaction to be verified, and form block data after the verification is passed, and perform accounting to complete distributed storage. The specific synchronization verification method can be the same as the existing verification method, but the distributed storage method is different from the existing storage method. That is, in some embodiments of this application, if the verification network is a sub-network, the method further includes : S14: Synchronize the blockchain data to all network nodes.
本申请方案中, 由于验证所占用的节点资源和时间消耗均较长, 并且验证通过的数量 满足一定要求后, 即代表该交易对应的数据具有意义, 因此在本申请中验证过程可以通过 子网络进行代替, 而分布式存储过程对于交易的进行没有直接影响, 其消耗的时间较长也 没有其他明显弊端。 但为了使记账数据能够得到全网共识, 以提高其抗抵赖效果, 因此在 实际应用中,在子网络中生成区块链数据后,还需要向全网络节点同步生成的区块链数据, 以进行全网范围的分布式存储。 In the solution of this application, since the node resources and time consumed for verification are relatively long, and the number of verification passes meets certain requirements, it means that the data corresponding to the transaction is meaningful. Therefore, the verification process in this application can pass through the sub-network Instead, the distributed storage process has no direct impact on the transaction, and it takes a long time and has no other obvious disadvantages. However, in order to make the accounting data obtain the consensus of the entire network and improve its anti-repudiation effect, in practical applications, after the blockchain data is generated in the sub-network, it is also necessary to synchronize the generated blockchain data to the nodes of the entire network. For distributed storage throughout the network.
本实施例通过同步区块链数据的方式可以减少对验证的时间, 同时在全网络节点中均 存储有生成的区块链数据, 因此, 其抗抵赖效果与传统区块链交易的抗抵赖效果相同。 即 本实施例在满足抗抵赖效果的前提下, 可以提高交易效率。 This embodiment can reduce the verification time by synchronizing the blockchain data, and at the same time, the generated blockchain data is stored in the entire network node. Therefore, its anti-repudiation effect is the same as that of traditional blockchain transactions. the same. That is, this embodiment can improve transaction efficiency under the premise of meeting the anti-repudiation effect.
相应的, 如图 4所示, 如果所述验证网络为全网络, 所述方法还包括: Correspondingly, as shown in FIG. 4, if the verification network is a full network, the method further includes:
S15: 全网络中的验证节点存储所生成的区块链数据, 以及在全网络范围内广播所述 区块链数据; S15: The verification nodes in the entire network store the generated blockchain data, and broadcast the blockchain data within the entire network;
S16: 全网络中的参与节点存储所述区块链数据。 S16: The participating nodes in the entire network store the blockchain data.
本实施例中,全网络中的节点可以预先被划分为多种角色,包括验证节点、维护节点、 参与节点等。 当进行全网络验证的交易生成区块链数据后, 验证节点首先要对所生成的区 块链数据进行存储。 同时, 验证节点还可以在全网络范围内针对该区块链数据进行广播, 使全网络范围内的所有参与节点都能够接收到该区块链数据, 并将区块链数据进行存储, 从而提高分布式存储的覆盖面, 保证区块链数据拥有良好的抗抵赖效果。 In this embodiment, the nodes in the entire network can be pre-divided into multiple roles, including verification nodes, maintenance nodes, and participating nodes. After the transaction that is verified by the whole network generates blockchain data, the verification node must first store the generated blockchain data. At the same time, the verification node can also broadcast the blockchain data across the entire network, so that all participating nodes in the entire network can receive the blockchain data and store the blockchain data, thereby improving The coverage of distributed storage ensures that blockchain data has a good anti-repudiation effect.
基于上述分区交易方法,如图 5所示,本申请还提供一种基于区块链的分区交易系统, 包括由多个节点建立的区块链网络, 其中, 所述区块链网络中的部分节点被配置为验证节 点, 多个验证节点组成验证网络; 验证网络被划分形成多个子网络; 所述区块链网络中的 部分节点被配置为维护节点; 所述区块链网络中的任一节点可作为交易发起节点; Based on the above partitioned transaction method, as shown in FIG. 5, this application also provides a partitioned transaction system based on a blockchain, including a blockchain network established by multiple nodes, wherein part of the blockchain network The node is configured as a verification node, and multiple verification nodes form a verification network; the verification network is divided to form multiple sub-networks; some nodes in the blockchain network are configured as maintenance nodes; any one of the blockchain networks Nodes can be used as transaction initiation nodes;
所述交易发起节点被配置为: 广播待验证交易, 所述待验证交易包括指定的验证方式 信息; The transaction initiation node is configured to: broadcast a transaction to be verified, and the transaction to be verified includes specified verification method information;
所述维护节点被配置为: 根据指定的验证方式信息, 定位验证网络, 以及向所述验证 网络广播所述待验证交易; 所述验证网络为全网络或与所述指定验证方式信息对应的子网 络; The maintenance node is configured to: locate a verification network according to designated verification mode information, and broadcast the to-be-verified transaction to the verification network; the verification network is the entire network or a sub-subnet corresponding to the designated verification mode information The internet;
所述验证网络中的验证节点被配置为: 对所述待验证交易实施验证和记账, 以及, 根 据验证通过的交易生成区块链数据。 The verification node in the verification network is configured to: perform verification and accounting on the transaction to be verified, and generate blockchain data according to the verified transaction.
由以上技术方案可知, 本申请提供一种基于区块链的分区交易方法及系统, 所述方法 先由交易发起节点广播待验证交易, 所述待验证交易包括指定的验证方式信息, 再由维护 节点根据指定的验证方式信息, 定位验证网络, 并向所述验证网络广播所述待验证交易, 其中, 所述验证网络为全网络或与所述指定验证方式信息对应的子网络。 最后, 验证网络 中的验证节点对所述待验证交易实施验证和记账, 以及, 根据验证通过的交易生成区块链 数据。所述方法可以根据不同的交易类型,分别进行全网络验证和分区网络验证两种方式, 从而在处理特定类型交易时, 可以通过分区网络进行快速验证, 并在验证完成后全网络同 步区块链数据, 提高交易效率。 It can be seen from the above technical solutions that this application provides a block chain-based partition transaction method and system. The method first broadcasts the transaction to be verified by the transaction initiating node, and the transaction to be verified includes the specified verification method information, and then the maintenance The node locates the verification network according to the designated verification method information, and broadcasts the transaction to be verified to the verification network, where the verification network is the entire network or a sub-network corresponding to the designated verification method information. Finally, the verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data according to the verified transaction. According to different transaction types, the method can perform full network verification and partition network verification respectively, so that when processing a specific type of transaction, the partition network can be quickly verified, and the entire network will synchronize the blockchain after the verification is completed. Data to improve transaction efficiency.
在本申请的第二方面, 还提供另一种基于区块链的分区交易方法, 如图 6所示, 包括 以下步骤: In the second aspect of the present application, another block chain-based partition transaction method is also provided, as shown in FIG. 6, including The following steps:
S21: 交易发起节点广播待验证交易。 S21: The transaction initiating node broadcasts the transaction to be verified.
本实施例中, 交易发起节点广播的待验证交易中可以不对验证方式进行指定, 而通过 维护节点对广播的待验证交易的交易类型进行判断, 以根据交易类型确定进行验证的方式。 In this embodiment, the verification method may not be specified in the transaction to be verified broadcasted by the transaction initiating node, but the transaction type of the broadcast to be verified transaction is judged by the maintenance node to determine the verification method according to the transaction type.
S22: 公链网络中的维护节点根据所述待验证交易, 判断交易类型; 所述交易类型包 括大宗交易和小额交易。 S22: The maintenance node in the public chain network judges the transaction type according to the transaction to be verified; the transaction type includes large transactions and small transactions.
实际应用中, 待验证交易必然包括交易发起节点信息、 交易目标节点信息以及交易的 摘要, 维护节点可以提取这些信息判断待验证交易的交易类型。 其中, 交易类型包括大宗 交易和小额交易。 同理, 大宗交易可以是发生在全球范围内的国与国、 地区与地区、 组织 与组织 (联盟与联盟) 之间的交易, 小额交易则可以是发生在小范围内的个人与个人、 个 人与小组织、 小组织与小组织 (公司与公司) 之间的交易。 实际待验证交易是大宗交易或 是小额交易可以在待验证交易中指定, 可以通过交易摘要以及发起节点信息和交易目标节 点信息间接判断获得。 In practical applications, the transaction to be verified must include transaction initiation node information, transaction target node information, and transaction summary, and the maintenance node can extract this information to determine the transaction type of the transaction to be verified. Among them, transaction types include block transactions and small transactions. In the same way, large transactions can be transactions between countries, regions and regions, organizations and organizations (alliances and alliances) that occur on a global scale, while small transactions can be transactions between individuals and individuals in a small area. Transactions between individuals and small organizations, small organizations and small organizations (company to company). Whether the actual transaction to be verified is a large transaction or a small transaction can be specified in the transaction to be verified, and it can be indirectly determined through the transaction summary and the initiating node information and the transaction target node information.
在本申请提供的技术方案中, 可以在交易平台中预先定义一个公链网络, 公链网络可 以提供交易的基础功能, 具有各功能的交易平台可以作为接入链接入到公链网络内。 维护 者节点可以作为公链中的部分节点, 验证网络也可以由公链网络中的部分节点组成, 也可 以由接入链的部分节点组成, 还可以由公链和接入链的节点共同组成。 In the technical solution provided by this application, a public chain network can be pre-defined in the transaction platform, the public chain network can provide basic functions for transactions, and the transaction platform with each function can be used as an access link into the public chain network. The maintainer node can be used as part of the public chain, and the verification network can also be composed of part of the public chain network, can also be composed of some nodes in the access chain, and can also be composed of the public chain and the nodes of the access chain. .
需要说明的是, 本申请以公链中的维护节点作为示例进行交易类型的判断, 实际应用 中, 还可以不预先定义公链网络, 而直接通过交易平台中的节点作为维护节点, 其本质上 的数据处理过程基本相同, 都属于本申请的保护范围。 It should be noted that this application uses the maintenance node in the public chain as an example to determine the transaction type. In actual applications, the public chain network may not be defined in advance, and the nodes in the trading platform are directly used as the maintenance nodes, which is essentially The data processing process is basically the same, and all belong to the protection scope of this application.
进一步地, 所述维护节点中存储有当前网络分区策略表, 如图 7所示, 公链网络中的 维护节点根据所述待验证交易, 判断交易类型的步骤, 包括: Further, the current network partition strategy table is stored in the maintenance node. As shown in FIG. 7, the maintenance node in the public chain network judges the transaction type according to the transaction to be verified, including:
S221: 维护节点调用所述分区策略表; S221: The maintenance node invokes the partition strategy table;
S222: 在所述分区策略表中匹配能够满足所述待验证交易的分区网络, 提取匹配的分 区网络中的全部验证节点地址; S222: Match the partition network that can satisfy the transaction to be verified in the partition strategy table, and extract all verification node addresses in the matched partition network;
S223: 根据所述验证节点地址, 向全部所述验证节点广播所述待验证交易。 S223: Broadcast the transaction to be verified to all verification nodes according to the verification node address.
由以上步骤可知, 为了便于对子网络进行快速定位, 可以在维护节点中内置分区策略 表, 分区策略表中记载有当前交易平台中全部验证网络的分区策略, 可以通过标识信息指 示每个分区网络对应支持的验证功能。 通过调用分区策略表, 可以在分区策略表中匹配能 够满足待验证交易的分区网络, 并获得该分区网络中所有验证节点的地址, 从而根据获取 的节点地址, 向验证节点广播该验证交易。 为了提高广播的效率, 实际应用中可以采用一 对多同步广播的方式。 It can be seen from the above steps that in order to facilitate rapid positioning of the sub-network, a partition strategy table can be built in the maintenance node. The partition strategy table records the partition strategy of all verification networks in the current trading platform. Each partition network can be indicated by identification information. Corresponding to the supported verification functions. By calling the partition strategy table, it is possible to match the partition network that can satisfy the transaction to be verified in the partition strategy table, and obtain the addresses of all verification nodes in the partition network, so as to broadcast the verification transaction to the verification nodes according to the obtained node addresses. In order to improve the efficiency of broadcasting, one-to-many synchronous broadcasting can be adopted in practical applications.
S23: 如果所述交易类型为小额交易, 向所述待验证交易对应的分区网络广播所述待 验证交易。 S23: If the transaction type is a small transaction, broadcast the transaction to be verified to the partition network corresponding to the transaction to be verified.
本实施例中, 如果交易类型为小额交易, 则其可以满足通过子网络进行快速验证的条 件, 因此可以向分区网络广播待验证交易。 子网络中的验证节点可以针对待验证交易进行 验证, 以生成区块链数据, 即: In this embodiment, if the transaction type is a small-value transaction, it can meet the conditions for rapid verification through the sub-network, and therefore, the transaction to be verified can be broadcast to the sub-network. The verification node in the sub-network can verify the transaction to be verified to generate blockchain data, namely:
S24: 分区网络中的验证节点对所述待验证交易实施验证和记账, 以根据所述待验证 交易生成区块链数据。 本实施例中, 维护节点在确定交易类型为小额交易后, 可以通过提取交易摘要中记载 的信息, 对交易所对应的验证网络情况进行判断, 以便定位符合待验证交易的子网络。 例 如, 所述待验证交易为证通兑换, 则通过提取交易摘要信息后, 可以确定该交易需要负责 证通兑换功能的子网络进行验证, 因此可以向兑换功能的子网络广播该待验证交易。另外, 实际应用中, 可以根据实际应用环境, 进一步细分子网络。 例如, 同样是兑换交易, 可以 根据交易摘要中提取的兑换双方证通类型, 进一步确定更符合对应要求的子网络进行验证。 S24: The verification node in the partitioned network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified. In this embodiment, after determining that the transaction type is a small transaction, the maintenance node can determine the verification network situation corresponding to the exchange by extracting the information recorded in the transaction summary, so as to locate the sub-network that matches the transaction to be verified. For example, if the transaction to be verified is a certificate exchange exchange, after extracting the transaction summary information, it can be determined that the transaction needs to be verified by the sub-network responsible for the exchange function of the certificate exchange. Therefore, the transaction to be verified can be broadcast to the sub-network of the exchange function. In addition, in actual applications, the molecular network can be further refined according to the actual application environment. For example, for the same exchange transaction, the sub-network that is more in line with the corresponding requirements can be further determined for verification according to the exchange type extracted from the transaction summary.
S25: 所述分区网络向全网络节点同步所述区块链数据。 S25: The partitioned network synchronizes the blockchain data to all network nodes.
在分区网络生成区块链数据后, 为了提高分布式存储的范围, 可以在全网络范围内对 区块链数据进行同步, 提高区块链数据的抗抵赖效果。 After the block chain data is generated in the partition network, in order to increase the scope of distributed storage, the block chain data can be synchronized across the entire network to improve the anti-repudiation effect of the block chain data.
在本申请的部分实施例中, 如图 6所示, 如果所述交易类型为大宗交易, 所述方法还 包括以下步骤: In some embodiments of the present application, as shown in FIG. 6, if the transaction type is a block transaction, the method further includes the following steps:
S26: 公链网络中的维护节点向全网络广播所述待验证交易; S26: The maintenance node in the public chain network broadcasts the transaction to be verified to the entire network;
S27: 全网络中的验证节点对所述待验证交易实施验证和记账, 以根据所述待验证交 易生成区块链数据。 S27: The verification node in the entire network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified.
基于上述分区交易方法, 本申请提供一种基于区块链的分区交易系统, 如图 8 所示, 包括由多个节点组成的公链, 以及连接所述公链的接入链; 所述公链中的部分节点被配置 为维护节点, 所述公链中的部分节点被配置为验证节点; 多个验证节点组成验证网络, 验 证网络被划分形成多个分区网络; 所述公链和接入链中的任一节点可作为交易发起节点; 所述交易发起节点被配置为: 广播待验证交易; Based on the above-mentioned partitioned transaction method, this application provides a partitioned transaction system based on blockchain, as shown in FIG. 8, including a public chain composed of multiple nodes, and an access chain connecting the public chain; Some nodes in the chain are configured as maintenance nodes, and some nodes in the public chain are configured as verification nodes; multiple verification nodes form a verification network, and the verification network is divided to form multiple partition networks; the public chain and access Any node in the chain can be used as a transaction initiation node; the transaction initiation node is configured to: broadcast the transaction to be verified;
所述公链网络中的维护节点被配置为: 根据所述待验证交易, 判断交易类型; 所述交 易类型包括大宗交易和小额交易; 如果所述交易类型为小额交易, 向所述待验证交易对应 的分区网络广播所述待验证交易; The maintenance node in the public chain network is configured to: determine the transaction type according to the transaction to be verified; the transaction type includes a block transaction and a small transaction; if the transaction type is a small transaction, report to the pending transaction The district network corresponding to the verification transaction broadcasts the transaction to be verified;
所述分区网络中的验证节点被配置为: 对所述待验证交易实施验证和记账, 以根据所 述待验证交易生成区块链数据; 以及向全网络节点同步所述区块链数据。 The verification node in the partitioned network is configured to: perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; and synchronize the blockchain data to all network nodes.
由以上技术方案可知, 本申请提供一种基于区块链的分区交易方法及系统, 所述方法 先由交易发起节点广播待验证交易; 再通过公链网络中的维护节点根据所述待验证交易, 判断交易类型; 所述交易类型包括大宗交易和小额交易; 如果所述交易类型为小额交易, 向所述待验证交易对应的分区网络广播所述待验证交易; 再通过分区网络中的验证节点对 所述待验证交易实施验证和记账, 以根据所述待验证交易生成区块链数据; 最后由所述分 区网络向全网络节点同步所述区块链数据。 所述方法可以根据不同的交易类型, 分别进行 全网络验证和分区网络验证两种方式, 从而在处理特定类型交易时, 可以通过分区网络进 行快速验证, 并在验证完成后全网络同步区块链数据, 提高交易效率。 It can be seen from the above technical solutions that this application provides a block chain-based partition transaction method and system. The method first broadcasts the transaction to be verified by the transaction initiating node; and then the maintenance node in the public chain network according to the transaction to be verified , Determine the transaction type; the transaction types include large transactions and small transactions; if the transaction type is a small transaction, broadcast the transaction to be verified to the partition network corresponding to the transaction to be verified; The verification node performs verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; finally, the partition network synchronizes the blockchain data to the entire network node. According to different transaction types, the method can perform two modes of full network verification and partition network verification respectively, so that when a specific type of transaction is processed, the partition network can be quickly verified, and the entire network will synchronize the blockchain after the verification is completed. Data to improve transaction efficiency.
本申请提供的实施例之间的相似部分相互参见即可, 以上提供的具体实施方式只是本 申请总的构思下的几个示例, 并不构成本申请保护范围的限定。 对于本领域的技术人员而 言, 在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本 申请的保护范围。 The similar parts between the embodiments provided in this application can be referred to each other. The specific implementation manners provided above are only a few examples under the general idea of this application, and do not constitute a limitation of the protection scope of this application. For those skilled in the art, any other implementation manners expanded according to the scheme of this application on the premise of not paying creative work belong to the protection scope of this application.

Claims

权 利 要 求 书 Claims
1、 一种基于区块链的分区交易方法, 其特征在于, 包括: 1. A partitioned transaction method based on blockchain, characterized in that it includes:
交易发起节点广播待验证交易, 所述待验证交易包括指定的验证方式信息; 维护节点根据指定的验证方式信息, 定位验证网络, 以及向所述验证网络广播所 述待验证交易; 所述验证网络为全网络或与所述指定验证方式信息对应的子网络; 验证网络中的验证节点对所述待验证交易实施验证和记账, 以及, 根据验证通过 的交易生成区块链数据。 The transaction initiation node broadcasts the transaction to be verified, and the transaction to be verified includes specified verification method information; the maintenance node locates the verification network according to the specified verification method information, and broadcasts the transaction to be verified to the verification network; the verification network It is the entire network or a sub-network corresponding to the specified verification method information; the verification node in the verification network performs verification and accounting on the transaction to be verified, and generates blockchain data based on the verified transaction.
2、 根据权利要求 1所述的分区交易方法, 其特征在于, 所述验证方式信息为交易 发起节点指定的交易验证范围, 包括全网络验证和分区网络验证; 所述交易发起节点 广播待验证交易的步骤, 还包括: 2. The partitioned transaction method according to claim 1, wherein the verification method information is a transaction verification range specified by a transaction initiating node, including full network verification and partitioned network verification; and the transaction initiating node broadcasts the transaction to be verified The steps also include:
交易发起节点获取待验证交易的交易类型, 所述交易类型包括大宗交易和小额交 易; The transaction initiating node obtains the transaction type of the transaction to be verified, and the transaction type includes block transactions and small transactions;
交易发起节点根据所述交易类型生成指定验证方式信息; The transaction initiating node generates designated verification method information according to the transaction type;
如果所述交易类型为大宗交易, 生成包含全网络验证的指定验证方式信息; 如果所述交易类型为小额交易, 生成包含分区网络验证的指定验证方式信息。 If the transaction type is a block transaction, generate designated verification method information including full network verification; if the transaction type is a small transaction, generate designated verification method information including partition network verification.
3、 根据权利要求 2所述的分区交易方法, 其特征在于, 如果所述交易类型为小额 交易, 所述方法还包括: 3. The partitioned transaction method according to claim 2, characterized in that, if the transaction type is a small transaction, the method further comprises:
交易发起节点根据待验证交易广播查询交易; The transaction initiating node broadcasts the query transaction according to the transaction to be verified;
接收到所述查询交易的分区网络节点, 判断所属分区网络是否支持所述待验证交 易; The partition network node that receives the query transaction determines whether the partition network to which it belongs supports the transaction to be verified;
如果所述分区网络支持所述待验证交易, 向所述交易发起节点反馈所述分区网络 标识信息; If the partition network supports the transaction to be verified, feed back the partition network identification information to the transaction initiating node;
交易发起节点将所述标识信息, 添加至所述指定验证方式信息内。 The transaction initiating node adds the identification information to the designated verification method information.
4、 根据权利要求 1所述的分区交易方法, 其特征在于, 如果所述验证网络为子网 络, 所述方法还包括: 向全网络节点同步所述区块链数据。 4. The partitioned transaction method according to claim 1, wherein if the verification network is a sub-network, the method further comprises: synchronizing the blockchain data to all network nodes.
5、 根据权利要求 1所述的分区交易方法, 其特征在于, 如果所述验证网络为全网 络, 所述方法还包括: 5. The partitioned transaction method according to claim 1, wherein if the verification network is a full network, the method further comprises:
全网络中的验证节点存储所生成的区块链数据, 以及在全网络范围内广播所述区 块链数据; The verification nodes in the entire network store the generated blockchain data, and broadcast the blockchain data within the entire network;
全网络中的参与节点存储所述区块链数据。 The participating nodes in the entire network store the blockchain data.
6、 一种基于区块链的分区交易方法, 其特征在于, 包括: 6. A partitioned transaction method based on blockchain, characterized in that it includes:
交易发起节点广播待验证交易; The transaction initiation node broadcasts the transaction to be verified;
公链网络中的维护节点根据所述待验证交易, 判断交易类型; 所述交易类型包括 大宗交易和小额交易; 如果所述交易类型为小额交易, 向所述待验证交易对应的分区网络广播所述待验 证交易; The maintenance node in the public chain network judges the transaction type based on the transaction to be verified; the transaction type includes block transactions and small transactions; If the transaction type is a small transaction, broadcast the transaction to be verified to the partition network corresponding to the transaction to be verified;
分区网络中的验证节点对所述待验证交易实施验证和记账, 以根据所述待验证交 易生成区块链数据; The verification node in the partition network performs verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified;
所述分区网络向全网络节点同步所述区块链数据。 The partitioned network synchronizes the blockchain data to all network nodes.
7、 根据权利要求 6所述的分区交易方法, 其特征在于, 如果所述交易类型为大宗 交易, 所述方法还包括: 7. The divisional transaction method according to claim 6, wherein if the transaction type is a block transaction, the method further comprises:
公链网络中的维护节点向全网络广播所述待验证交易; The maintenance node in the public chain network broadcasts the transaction to be verified to the entire network;
全网络中的验证节点对所述待验证交易实施验证和记账, 以根据所述待验证交易 生成区块链数据。 The verification nodes in the entire network perform verification and accounting on the transaction to be verified, so as to generate blockchain data according to the transaction to be verified.
8、 根据权利要求 6所述的分区交易方法, 其特征在于, 所述维护节点中存储有当 前网络分区策略表, 公链网络中的维护节点根据所述待验证交易, 判断交易类型的步 骤, 包括: 8. The partition transaction method according to claim 6, wherein the maintenance node stores a current network partition strategy table, and the maintenance node in the public chain network determines the transaction type according to the transaction to be verified. Include:
维护节点调用所述分区策略表; The maintenance node calls the partition strategy table;
在所述分区策略表中匹配能够满足所述待验证交易的分区网络, 提取匹配的分区 网络中的全部验证节点地址; Matching the partition network that can satisfy the transaction to be verified in the partition strategy table, and extracting all verification node addresses in the matching partition network;
根据所述验证节点地址, 向全部所述验证节点广播所述待验证交易。 Broadcast the transaction to be verified to all the verification nodes according to the verification node address.
9、 一种基于区块链的分区交易系统, 其特征在于, 包括由多个节点建立的区块链 网络,所述区块链网络中的部分节点被配置为验证节点,多个验证节点组成验证网络; 验证网络被划分形成多个子网络; 所述区块链网络中的部分节点被配置为维护节点; 所述区块链网络中的任一节点可作为交易发起节点; 9. A block chain-based partition transaction system, characterized in that it comprises a block chain network established by multiple nodes, some of the nodes in the block chain network are configured as verification nodes, and multiple verification nodes are formed Verification network; verification network is divided to form multiple sub-networks; some nodes in the blockchain network are configured as maintenance nodes; any node in the blockchain network can be used as a transaction initiation node;
所述交易发起节点被配置为: 广播待验证交易, 所述待验证交易包括指定的验证 方式信息; The transaction initiation node is configured to: broadcast a transaction to be verified, and the transaction to be verified includes specified verification mode information;
所述维护节点被配置为: 根据指定的验证方式信息, 定位验证网络, 以及向所述 验证网络广播所述待验证交易; 所述验证网络为全网络或与所述指定验证方式信息对 应的子网络; The maintenance node is configured to: locate a verification network according to designated verification mode information, and broadcast the to-be-verified transaction to the verification network; the verification network is the entire network or a sub-subnet corresponding to the designated verification mode information The internet;
所述验证网络中的验证节点被配置为:对所述待验证交易实施验证和记账,以及, 根据验证通过的交易生成区块链数据。 The verification node in the verification network is configured to perform verification and accounting on the transaction to be verified, and generate blockchain data according to the verified transaction.
10、一种基于区块链的分区交易系统,其特征在于,包括由多个节点组成的公链, 以及连接所述公链的接入链; 所述公链中的部分节点被配置为维护节点, 所述公链中 的部分节点被配置为验证节点; 多个验证节点组成验证网络, 验证网络被划分形成多 个分区网络; 所述公链和接入链中的任一节点可作为交易发起节点; 10. A block chain-based partitioned transaction system, characterized in that it includes a public chain composed of multiple nodes, and an access chain connecting the public chain; some nodes in the public chain are configured to maintain Nodes, some of the nodes in the public chain are configured as verification nodes; multiple verification nodes form a verification network, and the verification network is divided to form multiple partition networks; any node in the public chain and the access chain can be used as a transaction Initiating node
所述交易发起节点被配置为: 广播待验证交易; The transaction initiation node is configured to: broadcast the transaction to be verified;
所述公链网络中的维护节点被配置为: 根据所述待验证交易, 判断交易类型; 所 述交易类型包括大宗交易和小额交易; 如果所述交易类型为小额交易, 向所述待验证 交易对应的分区网络广播所述待验证交易; The maintenance node in the public chain network is configured to: determine the transaction type according to the transaction to be verified; the transaction type includes a block transaction and a small transaction; if the transaction type is a small transaction, report to the pending transaction Verify The district network corresponding to the transaction broadcasts the transaction to be verified;
所述分区网络中的验证节点被配置为: 对所述待验证交易实施验证和记账, 以根 据所述待验证交易生成区块链数据; 以及向全网络节点同步所述区块链数据。 The verification node in the partitioned network is configured to: perform verification and accounting on the transaction to be verified to generate blockchain data according to the transaction to be verified; and synchronize the blockchain data to the entire network node.
PCT/CN2020/078666 2019-02-26 2020-03-10 Blockchain-based subnet transaction method and system WO2020173498A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910141898.7 2019-02-26
CN201910141898 2019-02-26
CN201910730535.7 2019-08-08
CN201910730535.7A CN111614709B (en) 2019-02-26 2019-08-08 Partition transaction method and system based on block chain

Publications (1)

Publication Number Publication Date
WO2020173498A1 true WO2020173498A1 (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 After (2)

Application Number Title Priority Date Filing Date
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

Country Status (3)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112688790A (en) * 2020-12-23 2021-04-20 网易(杭州)网络有限公司 Data processing method and device of alliance chain, electronic equipment and storage medium
CN113067895A (en) * 2021-06-02 2021-07-02 支付宝(杭州)信息技术有限公司 Method for building block chain sub-network and block chain system
CN113886124A (en) * 2021-10-04 2022-01-04 杭州复杂美科技有限公司 Illegal node identification method, computer device and storage medium

Families Citing this family (5)

* 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
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
CN117591303B (en) * 2024-01-18 2024-05-07 腾讯科技(深圳)有限公司 Business processing method based on block chain, block chain system, medium and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682984A (en) * 2016-10-27 2017-05-17 上海亿账通区块链科技有限公司 Block chain-based transaction business processing method and system
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107450981A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and apparatus
WO2018013259A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
CN107679848A (en) * 2017-09-22 2018-02-09 郑州大学 A kind of penny ante delay control method based on timing_delay estimation Petri network
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN108596619A (en) * 2018-04-26 2018-09-28 深圳怡化电脑股份有限公司 For the method for commerce of block catenary system, device, Centroid and system
CN108647967A (en) * 2018-05-10 2018-10-12 北京京东尚科信息技术有限公司 Select the method, apparatus and common recognition node of block chain common recognition mechanism

Family Cites Families (28)

* 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
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
US10565570B2 (en) * 2016-09-27 2020-02-18 The Toronto-Dominion Bank Processing network architecture with companion database
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN107767134A (en) * 2017-01-22 2018-03-06 平安医疗健康管理股份有限公司 Medical care cost method and system based on block chain
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
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
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
CN108256859B (en) * 2018-01-02 2021-02-23 中国工商银行股份有限公司 Financial product transaction consensus method, node 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
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
CN109240900A (en) * 2018-08-16 2019-01-18 北京京东尚科信息技术有限公司 Block chain network service platform and its intelligent contract detection method, storage medium
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
CN109274692B (en) * 2018-11-14 2021-03-16 众安信息技术服务有限公司 Method and device for identifying malicious nodes of block chain network
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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018013259A1 (en) * 2016-07-15 2018-01-18 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
CN106682984A (en) * 2016-10-27 2017-05-17 上海亿账通区块链科技有限公司 Block chain-based transaction business processing method and system
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107450981A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and apparatus
CN107679848A (en) * 2017-09-22 2018-02-09 郑州大学 A kind of penny ante delay control method based on timing_delay estimation Petri network
CN107766540A (en) * 2017-10-31 2018-03-06 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing partitioned storage
CN108596619A (en) * 2018-04-26 2018-09-28 深圳怡化电脑股份有限公司 For the method for commerce of block catenary system, device, Centroid and system
CN108647967A (en) * 2018-05-10 2018-10-12 北京京东尚科信息技术有限公司 Select the method, apparatus and common recognition node of block chain common recognition mechanism

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112688790A (en) * 2020-12-23 2021-04-20 网易(杭州)网络有限公司 Data processing method and device of alliance chain, electronic equipment and storage medium
CN112688790B (en) * 2020-12-23 2021-09-28 网易(杭州)网络有限公司 Data processing method and device of alliance chain, electronic equipment and storage medium
CN113067895A (en) * 2021-06-02 2021-07-02 支付宝(杭州)信息技术有限公司 Method for building block chain sub-network and block chain system
CN113886124A (en) * 2021-10-04 2022-01-04 杭州复杂美科技有限公司 Illegal node identification method, computer device and storage medium
CN113886124B (en) * 2021-10-04 2023-05-30 杭州复杂美科技有限公司 Illegal node identification method, computer device, and storage medium

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
WO2020173501A1 (en) 2020-09-03
WO2020173502A1 (en) 2020-09-03

Similar Documents

Publication Publication Date Title
WO2020173498A1 (en) Blockchain-based subnet transaction method and system
Ekparinya et al. Impact of man-in-the-middle attacks on ethereum
CN110866823B (en) Public link-based transaction method and block chain system
CN110489486B (en) Method, seed node and medium for generating block chain network
JP7154234B6 (en) Methods and specialized network nodes for fast propagation in blockchain networks
KR101260188B1 (en) Secure node identifier assignment in a distributed hash table for peer-to-peer networks
US6275859B1 (en) Tree-based reliable multicast system where sessions are established by repair nodes that authenticate receiver nodes presenting participation certificates granted by a central authority
TWI591987B (en) Data exchange system, method and device under load balancing
US20130173747A1 (en) System, method and apparatus providing address invisibility to content provider/subscriber
CN112953821B (en) Message transmission method and device
CN110611564A (en) System and method for defending API replay attack based on timestamp
CN109451036B (en) Block chain secure communication method, service node and system
CN110380863B (en) Cross-border payment message notification processing method and device based on block chain architecture
CN110458539B (en) Method and system for automatically extracting encrypted currency
WO2007079677A9 (en) A metering system and method of data flow direction and quantity of p2p network and the business mode based on this technique
JP2022534311A (en) Blockchain network addressing method based on public chain
CN102148832A (en) High-efficiency method for identifying border gateway routing protocol path
CN112055048A (en) P2P network communication method and system for high-throughput distributed account book
CN108989022B (en) Intelligent object shared key establishment method and system based on block chain
CN111507747A (en) Block chain point exchange mileage system
US7233981B2 (en) System and method for multi-site load-balancing of encrypted traffic
KR20200086402A (en) Block chain system and method thereof
WO2020042930A1 (en) Parallel-chain-based transaction method and blockchain system
CN103139774B (en) Short message service processing method and short message service treatment system
CN101340402A (en) Network security reporting system

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

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

Country of ref document: EP

Kind code of ref document: A1