Method for sharing and verifying blocks and electronic documents between nodes in blockchain
AssigneeSwempire Co., Ltd.
InventorMyoung Soo Choi
Life of this patent
Estimating the term…
Abstract
Various embodiments of the present disclosure relate to a method for sharing and verifying blocks between specific nodes in a blockchain. In addition, various embodiments of the present disclosure relate to a method for distributing an electronic document using a smart contract in a blockchain.
Claims12
A method for sharing and verifying blocks between specific nodes, among a plurality of nodes included in a blockchain, the method comprising:
- generating, with at least one first node among the plurality of nodes, at least one transaction including identification information and transaction information of the specific nodes;
- generating, with at least one second node among the plurality of nodes, at least one main block, including both a block header and a block body based on the identification information and the transaction information;
- generating, with the at least one second node among the plurality of nodes, at least one sub-block, including only a block header based on the identification information and the transaction information;
- and
- differentially sharing, with the at least one second node, the generated at least one main block or sub-block with the specific nodes based on the identification information and remaining nodes, except for the specific nodes,
- wherein the generating of the at least one sub-block comprises:
- after the generating of the at least one main block is completed, extracting a header of the generated at least one main block with the at least one second node;
- and
- generating, with the at least one second node, at least one sub-block, including only the header of the extracted block, and
- wherein the differentially sharing the block with the specific nodes and remaining nodes, except for the specific nodes, further comprises:
- sharing, with the at least one second node, the generated at least one main block, including both a block header and a block body with the specific nodes among the plurality of nodes;
- and
- sharing, with the at least one second node, the generated at least one sub-block, including only a block header with the remaining nodes, except for the specific nodes, among the plurality of nodes.
A method for distributing an electronic document using a smart contract in a blockchain including a plurality of nodes, the method comprising:
- dividing the electronic document into first divided data, including an electronic document format and a merging condition and second divided data, including an identifier and electronic document information;
- distributing and storing the first divided data in the plurality of nodes;
- generating a block, including the second divided data and distributing and storing the generated block in the plurality of nodes;
- and
- merging the first divided data and the second divided data based on the merging condition and the identifier by any one node among the plurality of nodes, wherein:
- the plurality of nodes comprises an electronic document management and distribution module, and
- the merging comprises:
- detecting a request to use an electronic document in any one node among the plurality of nodes;
- extracting the electronic document format and the merging condition from the first divided data using the electronic document management and distribution module;
- extracting the identifier and the electronic document information from the second divided data using the electronic document management and distribution module;
- checking the electronic document format corresponding to the identifier using the electronic document management and distribution module;
- and
- merging the electronic document information into the checked electronic document format using the electronic document management and distribution module.
A system for distributing an electronic document using a smart contract in a blockchain comprising a plurality of nodes,
- wherein the plurality of nodes comprises an electronic document management and distribution module, an electronic document division module, a block generation module, and a memory;
- wherein:
- by using the electronic document division module, any one node among the plurality of nodes divides the electronic document into first divided data, including an electronic document format and a merging condition and second divided data, including an identifier and electronic document information;
- the any one node distributes and stores the first divided data in the plurality of nodes;
- by using the block generation module, the any one node generates a block, including the second divided data and distributes and stores the generated block in the plurality of nodes;
- and
- by using the electronic document management and distribution module, any one node among the plurality of nodes merges the first divided data and the second divided data based on the merging condition and the identifier, and
- wherein the merging of the first divided data and the second divided data is performed by:
- detecting a request to use an electronic document in any one node among the plurality of nodes;
- extracting the electronic document format and the merging condition from the first divided data using the electronic document management and distribution module;
- extracting the identifier and the electronic document information from the second divided data using the electronic document management and distribution module;
- checking the electronic document format corresponding to the identifier using the electronic document management and distribution module;
- and
- merging the electronic document information into the checked electronic document format using the electronic document management and distribution module.
Dependencies are inferred from the claim text.