Blockchain sharding with parallel threads
AssigneeEzblock Ltd.
InventorRundong Huang
Life of this patent
Estimating the term…
Abstract
A method comprises receiving from a distributed app (dApp), a shard creation transaction in a blockchain block of a blockchain, the block comprising multiple shards; collecting, with a join block in the blockchain, transactions, the join block adjacent the blockchain block; encapsulating the shard creation transaction; applying the block including the shard creation transaction to yield a new shard in the block; and broadcasting the block.
Claims27
A computer-implemented method, comprising:
- receiving from a decentralized app (dApp), a shard creation transaction in a blockchain block of a blockchain, the blockchain block comprising pre-existing shard(s), the shard creation transaction creating shard processing resources;
- collecting, with a join block in the blockchain, transactions, the join block as a special blockchain block at an interval, the join block executing cross shard transactions without impacting parallel execution of intra-shard transactions with separate processing resources by separating inter-shard and intra-shard transactions into different blocks;
- ceasing, by all nodes, processing any intra-shard transactions;
- encapsulating the shard creation transaction;
- applying the join block including the shard creation transaction to yield a new shard in the blockchain block;
- and
- broadcasting the blockchain block having the new shard.
A system, comprising:
- one or more processors of a machine;
- a non-transitory memory storing instruction that, when executed by the one or more processors, cause the machine to perform operations comprising:
- receiving from a distributed app (dApp), a shard creation transaction in a blockchain block of a blockchain, the blockchain block comprising pre-existing shard(s), the shard creation transaction creating shard processing resources;
- collecting, with a join block in the blockchain, transactions, the join block adjacent the blockchain block, the join block executing cross shard transactions without impacting parallel execution of intra-shard transactions with separate processing resources by separating inter-shard and intra-shard transactions into different blocks;
- ceasing, by all nodes, processing any intra-shard transactions;
- encapsulating the shard creation transaction;
- applying the join block including the shard creation transaction to yield a new shard in the blockchain block;
- and
- broadcasting the blockchain block having the new block.
A non-transitory machine-readable medium embodying instructions that, when executed by a machine, cause the machine to perform operations comprising:
- receiving from a distributed app (dApp), a shard creation transaction in a blockchain block of a blockchain, the blockchain block comprising pre-existing shard(s), the shard creation transaction creating shard processing resources;
- collecting, with a join block in the blockchain, transactions, the join block adjacent the blockchain block, the join block executing cross shard transactions without impacting parallel execution of intra-shard transactions with separate processing resources by separating inter-shard and intra-shard transactions into different blocks;
- ceasing, by all nodes, processing any intra-shard transactions;
- encapsulating the shard creation transaction;
- applying the join block including the shard creation transaction to yield a new shard in the blockchain block;
- and
- broadcasting the blockchain block having the new block.
Dependencies are inferred from the claim text.