×

Method and apparatus for writing service data into block chain and method for determining service subset

  • US 10,642,643 B2
  • Filed: 08/07/2019
  • Issued: 05/05/2020
  • Est. Priority Date: 02/28/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method for adding transaction data into a blockchain, comprising:

  • obtaining a plurality of pieces of transaction data to be added into the blockchain;

    assigning the plurality of pieces of transaction data into one or more transaction subsets according to one or more criteria,wherein the one or more criteria comprise;

    each of the one or more transaction subsets is assigned with transaction data having at least one of;

    a same transaction type or an overlapping range of data change, anddifferent transaction subsets of the one or more transaction subsets are respectively assigned with transaction data having different transaction types and having no overlapping range of data change;

    wherein the assigning the plurality of pieces of transaction data into one or more transaction subsets comprises;

    assigning the plurality of pieces of transaction data into one or more level I transaction subsets according to the transaction type, andfor each of the one or more level I transaction subsets, assigning transaction data that is assigned under each of the one or more level I transaction subsets into one or more level II transaction subsets according to the range of data change, wherein pieces of transaction data with the overlapping range of data change are assigned in a same level II transaction subset, and pieces of the transaction data with no overlapping range of data change are assigned into different level II transaction subsets; and

    executing the one or more level II transaction subsets in parallel, and storing results of the execution into the blockchain.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×