US 12,316,769 B2
Method and apparatus for storing blockchain transaction data and distributed storage system using the same
Myung-Cheol Lee, Daejeon (KR)
Assigned to ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed by ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed on Nov. 22, 2022, as Appl. No. 18/058,061.
Claims priority of application No. 10-2021-0172413 (KR), filed on Dec. 3, 2021; and application No. 10-2022-0145312 (KR), filed on Nov. 3, 2022.
Prior Publication US 2023/0179423 A1, Jun. 8, 2023
Int. Cl. G06F 16/27 (2019.01); H04L 9/32 (2006.01); H04L 67/1097 (2022.01)
CPC H04L 9/3236 (2013.01) [G06F 16/27 (2019.01); H04L 9/3247 (2013.01); H04L 67/1097 (2013.01); H04L 2209/56 (2013.01)] 13 Claims
OG exemplary drawing
 
1. A method for storing blockchain transaction data, performed by an apparatus for storing blockchain transaction data, comprising:
selecting at least one block file storing blockchain transactions as an encoding block file target;
determining whether a number of blocks included in the encoding block file target is 2M+1 (M being a natural number):
when the number of blocks included in the encoding block file target is not equal to 2M+1, generating 2M+1 encoding target blocks using the blocks included in the encoding block file target and replicated blocks, the replicated blocks being part of the blocks included in the encoding block file target;
generating encoded chunks, including parity chunks, using the encoding target blocks; and
making at least one of the encoded chunks correspond to at least one of blockchain nodes to store at least one of the encoded chunks,
wherein a number of parity chunks is M, a number of blockchain nodes is 3M+1, a number of encoded chunks is 3M+1, and each of the encoded chunks is mapped to a respective one of the blockchain nodes, and
wherein each of the blockchain nodes stores a corresponding one of the encoded chunks and stores only hash values for at least part of remaining chunks excluding the corresponding one.